diff --git a/.github/workflows/build-go.yaml b/.github/workflows/build-go.yaml
index eb5130bf6..82c35c77d 100644
--- a/.github/workflows/build-go.yaml
+++ b/.github/workflows/build-go.yaml
@@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@v7
- name: Set up Go
- uses: actions/setup-go@v6
+ uses: actions/setup-go@v7
with:
go-version: '1.26'
diff --git a/.github/workflows/build-oci.yaml b/.github/workflows/build-oci.yaml
index 95536bd3b..b3712c07f 100644
--- a/.github/workflows/build-oci.yaml
+++ b/.github/workflows/build-oci.yaml
@@ -58,7 +58,7 @@ jobs:
run: echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV
- name: Log in quay.io
if: github.event_name == 'push'
- uses: redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # v1.7
+ uses: redhat-actions/podman-login@50c2d9a331bb67c8fdab99b86455fad05e2e3252 # v2.0
with:
registry: quay.io
username: ${{ secrets.QUAY_IO_USERNAME }}
@@ -126,7 +126,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
run: echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV
- name: Log in quay.io
- uses: redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # v1.7
+ uses: redhat-actions/podman-login@50c2d9a331bb67c8fdab99b86455fad05e2e3252 # v2.0
with:
registry: quay.io
username: ${{ secrets.QUAY_IO_USERNAME }}
diff --git a/.github/workflows/build-on-hosted-runner.yaml b/.github/workflows/build-on-hosted-runner.yaml
index a59dde6b5..b499e25d6 100644
--- a/.github/workflows/build-on-hosted-runner.yaml
+++ b/.github/workflows/build-on-hosted-runner.yaml
@@ -25,7 +25,7 @@ jobs:
- name: Code checkout
uses: actions/checkout@v7
- name: Set up Go
- uses: actions/setup-go@v6
+ uses: actions/setup-go@v7
with:
go-version: "1.26"
- name: Test
diff --git a/.github/workflows/push-oci-pr.yml b/.github/workflows/push-oci-pr.yml
index bf0482f4d..2f2ebb820 100644
--- a/.github/workflows/push-oci-pr.yml
+++ b/.github/workflows/push-oci-pr.yml
@@ -57,7 +57,7 @@ jobs:
echo "image=$(cat mapt-image)" >> "$GITHUB_ENV"
- name: Log in to ghcr.io
if: env.found == 'true'
- uses: redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # v1.7
+ uses: redhat-actions/podman-login@50c2d9a331bb67c8fdab99b86455fad05e2e3252 # v2.0
with:
registry: ghcr.io
username: ${{ github.actor }}
diff --git a/.github/workflows/tkn-bundle.yaml b/.github/workflows/tkn-bundle.yaml
index 8fe6cdf0f..c0a49dd19 100644
--- a/.github/workflows/tkn-bundle.yaml
+++ b/.github/workflows/tkn-bundle.yaml
@@ -36,7 +36,7 @@ jobs:
uses: actions/checkout@v7
- name: Log in to quay.io Registry
- uses: redhat-actions/podman-login@v1
+ uses: redhat-actions/podman-login@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_IO_USERNAME }}
diff --git a/Makefile b/Makefile
index 2ca2d9b20..70ed3cdd1 100644
--- a/Makefile
+++ b/Makefile
@@ -9,9 +9,9 @@ TKN_IMG ?= quay.io/redhat-developer/mapt:v${VERSION}-tkn
# renovate: datasource=github-releases depName=cirruslabs/cirrus-cli
CIRRUS_CLI ?= v1.0.0
# renovate: datasource=github-releases depName=actions/runner
-GITHUB_RUNNER ?= 2.335.1
+GITHUB_RUNNER ?= 2.336.0
# renovate: datasource=gitlab-releases depName=gitlab-org/gitlab-runner
-GITLAB_RUNNER ?= 19.1.1
+GITLAB_RUNNER ?= 19.2.1
# renovate: datasource=github-releases depName=open-telemetry/opentelemetry-collector-releases
OTELCOL_VERSION ?= 0.151.0
diff --git a/go.mod b/go.mod
index 1a9adffd6..085a326b7 100644
--- a/go.mod
+++ b/go.mod
@@ -13,7 +13,7 @@ require (
github.com/mapt-oss/pulumi-ibmcloud/sdk v0.0.12
github.com/pulumi/pulumi-command/sdk v1.2.1
github.com/pulumi/pulumi-random/sdk/v4 v4.21.1
- github.com/pulumi/pulumi/sdk/v3 v3.253.0
+ github.com/pulumi/pulumi/sdk/v3 v3.255.0
github.com/sirupsen/logrus v1.9.4
github.com/spf13/cobra v1.10.2
)
@@ -26,27 +26,27 @@ require (
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.2.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions v1.3.0
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.8.0
- github.com/IBM/go-sdk-core/v5 v5.22.1
+ github.com/IBM/go-sdk-core/v5 v5.23.2
github.com/aws/amazon-ec2-instance-selector/v3 v3.1.3
- github.com/aws/aws-sdk-go-v2 v1.43.0
+ github.com/aws/aws-sdk-go-v2 v1.43.2
github.com/aws/aws-sdk-go-v2/config v1.32.31
- github.com/aws/aws-sdk-go-v2/service/ec2 v1.316.1
- github.com/aws/aws-sdk-go-v2/service/s3 v1.105.2
+ github.com/aws/aws-sdk-go-v2/service/ec2 v1.318.0
+ github.com/aws/aws-sdk-go-v2/service/s3 v1.106.2
github.com/aws/aws-sdk-go-v2/service/sts v1.45.0
- github.com/pulumi/pulumi-aws-native/sdk v1.71.0
- github.com/pulumi/pulumi-aws/sdk/v7 v7.36.0
- github.com/pulumi/pulumi-awsx/sdk/v3 v3.7.0
- github.com/pulumi/pulumi-azure-native-sdk/authorization/v3 v3.20.0
- github.com/pulumi/pulumi-azure-native-sdk/compute/v3 v3.20.0
- github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3 v3.20.0
- github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v3 v3.20.0
- github.com/pulumi/pulumi-azure-native-sdk/network/v3 v3.20.0
- github.com/pulumi/pulumi-azure-native-sdk/resources/v3 v3.20.0
- github.com/pulumi/pulumi-azure-native-sdk/storage/v3 v3.20.0
+ github.com/pulumi/pulumi-aws-native/sdk v1.73.1
+ github.com/pulumi/pulumi-aws/sdk/v7 v7.39.0
+ github.com/pulumi/pulumi-awsx/sdk/v3 v3.8.0
+ github.com/pulumi/pulumi-azure-native-sdk/authorization/v3 v3.24.0
+ github.com/pulumi/pulumi-azure-native-sdk/compute/v3 v3.24.0
+ github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3 v3.24.0
+ github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v3 v3.24.0
+ github.com/pulumi/pulumi-azure-native-sdk/network/v3 v3.24.0
+ github.com/pulumi/pulumi-azure-native-sdk/resources/v3 v3.24.0
+ github.com/pulumi/pulumi-azure-native-sdk/storage/v3 v3.24.0
github.com/pulumi/pulumi-github/sdk/v6 v6.14.0
github.com/pulumi/pulumi-gitlab/sdk/v9 v9.11.1
github.com/pulumi/pulumi-tls/sdk/v5 v5.5.1
- golang.org/x/exp v0.0.0-20260709172345-9ea1abe57597
+ golang.org/x/exp v0.0.0-20260727155853-b88d891fe743
k8s.io/apimachinery v0.36.3
k8s.io/client-go v0.36.3
)
@@ -64,17 +64,18 @@ require (
github.com/charmbracelet/bubbles v1.0.0 // indirect
github.com/charmbracelet/bubbletea v1.3.10 // indirect
github.com/charmbracelet/lipgloss v1.1.0 // indirect
+ github.com/evertras/bubble-table v0.17.1 // indirect
github.com/gabriel-vasile/mimetype v1.4.15 // indirect
github.com/go-git/gcfg/v2 v2.0.2 // indirect
github.com/go-git/go-billy/v6 v6.0.0-alpha.2 // indirect
github.com/go-git/go-git/v6 v6.0.0-alpha.4 // indirect
- github.com/go-openapi/swag/pools v0.27.3 // indirect
+ github.com/go-openapi/swag/pools v0.28.0 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
- github.com/leodido/go-urn v1.4.0 // indirect
+ github.com/leodido/go-urn v1.5.0 // indirect
github.com/muesli/reflow v0.3.0 // indirect
github.com/pgavlin/fx v0.1.6 // indirect
- github.com/pulumi/pulumi-azure-native-sdk/v3 v3.20.0 // indirect
+ github.com/pulumi/pulumi-azure-native-sdk/v3 v3.24.0 // indirect
github.com/pulumi/pulumi-docker/sdk/v4 v4.5.8 // indirect
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
go.opentelemetry.io/contrib/bridges/otelslog v0.19.0 // indirect
@@ -85,14 +86,13 @@ require (
)
require (
- github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.14 // indirect
- github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.32 // indirect
- github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.24 // indirect
- github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.32 // indirect
- github.com/aws/aws-sdk-go-v2/service/pricing v1.43.1 // indirect
+ github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.15 // indirect
+ github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.34 // indirect
+ github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.26 // indirect
+ github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.34 // indirect
+ github.com/aws/aws-sdk-go-v2/service/pricing v1.44.2 // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
//keep bubble-table v0.19.2 to avoid breaking changes in bubble-table v0.20.0
- github.com/evertras/bubble-table v0.19.2 // indirect
github.com/hashicorp/hcl/v2 v2.24.0 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/oliveagle/jsonpath v0.1.4 // indirect
@@ -106,21 +106,21 @@ require (
dario.cat/mergo v1.0.2 // indirect
github.com/Azure/azure-sdk-for-go/sdk/internal v1.12.0 // indirect
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal/v3 v3.2.0 // indirect
- github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2 // indirect
+ github.com/AzureAD/microsoft-authentication-library-for-go v1.8.0 // indirect
github.com/BurntSushi/toml v1.6.0 // indirect
github.com/IBM/platform-services-go-sdk v0.101.0 // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/atotto/clipboard v0.1.4 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.19.30 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.31 // indirect
- github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.31 // indirect
- github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.31 // indirect
- github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.13 // indirect
- github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.31 // indirect
+ github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.33 // indirect
+ github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.33 // indirect
+ github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.14 // indirect
+ github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.33 // indirect
github.com/aws/aws-sdk-go-v2/service/signin v1.5.0 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.33.0 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.38.0 // indirect
- github.com/aws/smithy-go v1.27.4 // indirect
+ github.com/aws/smithy-go v1.27.5 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
// github.com/charmbracelet/bubbles v1.0.0 // indirect
@@ -128,7 +128,7 @@ require (
github.com/charmbracelet/colorprofile v0.4.3 // indirect
github.com/charmbracelet/x/ansi v0.11.7 // indirect
github.com/charmbracelet/x/cellbuf v0.0.15 // indirect
- github.com/charmbracelet/x/exp/golden v0.0.0-20260622092256-25656177ba8e // indirect
+ github.com/charmbracelet/x/exp/golden v0.0.0-20260730164118-7e2d3e6c5238 // indirect
github.com/charmbracelet/x/term v0.2.2 // indirect
github.com/clipperhouse/displaywidth v0.11.0 // indirect
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
@@ -143,21 +143,21 @@ require (
github.com/go-openapi/jsonpointer v1.0.0 // indirect
github.com/go-openapi/jsonreference v1.0.0 // indirect
github.com/go-openapi/loads v0.25.0 // indirect
- github.com/go-openapi/runtime v0.32.6 // indirect
- github.com/go-openapi/runtime/server-middleware v0.32.6 // indirect
+ github.com/go-openapi/runtime v0.33.0 // indirect
+ github.com/go-openapi/runtime/server-middleware v0.33.0 // indirect
github.com/go-openapi/spec v0.22.9 // indirect
github.com/go-openapi/strfmt v0.27.0 // indirect
- github.com/go-openapi/swag v0.27.3 // indirect
- github.com/go-openapi/swag/cmdutils v0.27.3 // indirect
- github.com/go-openapi/swag/conv v0.27.3 // indirect
- github.com/go-openapi/swag/fileutils v0.27.3 // indirect
- github.com/go-openapi/swag/jsonutils v0.27.3 // indirect
- github.com/go-openapi/swag/loading v0.27.3 // indirect
- github.com/go-openapi/swag/mangling v0.27.3 // indirect
- github.com/go-openapi/swag/netutils v0.27.3 // indirect
- github.com/go-openapi/swag/stringutils v0.27.3 // indirect
- github.com/go-openapi/swag/typeutils v0.27.3 // indirect
- github.com/go-openapi/swag/yamlutils v0.27.3 // indirect
+ github.com/go-openapi/swag v0.28.0 // indirect
+ github.com/go-openapi/swag/cmdutils v0.28.0 // indirect
+ github.com/go-openapi/swag/conv v0.28.0 // indirect
+ github.com/go-openapi/swag/fileutils v0.28.0 // indirect
+ github.com/go-openapi/swag/jsonutils v0.28.0 // indirect
+ github.com/go-openapi/swag/loading v0.28.0 // indirect
+ github.com/go-openapi/swag/mangling v0.28.0 // indirect
+ github.com/go-openapi/swag/netutils v0.28.0 // indirect
+ github.com/go-openapi/swag/stringutils v0.28.0 // indirect
+ github.com/go-openapi/swag/typeutils v0.28.0 // indirect
+ github.com/go-openapi/swag/yamlutils v0.28.0 // indirect
github.com/go-openapi/validate v0.26.1 // indirect
github.com/go-viper/mapstructure/v2 v2.5.0 // indirect
github.com/golang-jwt/jwt/v5 v5.3.1 // indirect
@@ -196,25 +196,25 @@ require (
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
github.com/zclconf/go-cty v1.19.0 // indirect
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
- go.opentelemetry.io/collector/featuregate v1.62.0 // indirect
- go.opentelemetry.io/collector/pdata v1.62.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.63.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.63.0 // indirect
go.opentelemetry.io/otel v1.44.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.44.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.44.0 // indirect
go.opentelemetry.io/otel/metric v1.44.0 // indirect
go.opentelemetry.io/otel/sdk v1.44.0 // indirect
go.opentelemetry.io/otel/trace v1.44.0 // indirect
- go.opentelemetry.io/proto/otlp v1.10.0 // indirect
+ go.opentelemetry.io/proto/otlp v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/oauth2 v0.36.0 // indirect
golang.org/x/sync v0.22.0 // indirect
golang.org/x/time v0.15.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20260713224248-f5fc221cf8c4 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20260713224248-f5fc221cf8c4 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20260729162451-8efbd57d26e0 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20260729162451-8efbd57d26e0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/klog/v2 v2.140.0 // indirect
- k8s.io/kube-openapi v0.0.0-20260706235625-cdb1db5517a0 // indirect
+ k8s.io/kube-openapi v0.0.0-20260721132016-d427ff9ee9ad // indirect
k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3 // indirect
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
sigs.k8s.io/randfill v1.0.0 // indirect
@@ -227,8 +227,8 @@ require (
github.com/IBM/vpc-go-sdk v0.87.1
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/ProtonMail/go-crypto v1.4.1 // indirect
- github.com/aws/aws-sdk-go-v2/service/ecs v1.88.1
- github.com/aws/aws-sdk-go-v2/service/iam v1.55.1
+ github.com/aws/aws-sdk-go-v2/service/ecs v1.89.2
+ github.com/aws/aws-sdk-go-v2/service/iam v1.57.0
github.com/blang/semver v3.5.1+incompatible // indirect
github.com/cheggaaa/pb v1.0.29 // indirect
github.com/djherbis/times v1.6.0 // indirect
@@ -263,7 +263,7 @@ require (
golang.org/x/sys v0.47.0 // indirect
golang.org/x/term v0.45.0 // indirect
golang.org/x/text v0.40.0 // indirect
- google.golang.org/grpc v1.82.1 // indirect
+ google.golang.org/grpc v1.83.0 // indirect
google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
lukechampine.com/frand v1.5.1 // indirect
diff --git a/go.sum b/go.sum
index 7efbd8c3d..d9c503064 100644
--- a/go.sum
+++ b/go.sum
@@ -32,16 +32,16 @@ github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.8.0 h1:irsmOWwkp0KCTTNS5
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.8.0/go.mod h1:GWcBkQj3MqN7ozHKLaCCAuNLiXoIGv2RtanfAwSjY/Y=
github.com/AzureAD/microsoft-authentication-extensions-for-go/cache v0.1.1 h1:WJTmL004Abzc5wDB5VtZG2PJk5ndYDgVacGqfirKxjM=
github.com/AzureAD/microsoft-authentication-extensions-for-go/cache v0.1.1/go.mod h1:tCcJZ0uHAmvjsVYzEFivsRTN00oz5BEsRgQHu5JZ9WE=
-github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2 h1:RHK7bS+HQMslb1sZpAokUt+zTVmue0hKSs2C791hhzU=
-github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2/go.mod h1:HKpQxkWaGLJ+D/5H8QRpyQXA1eKjxkFlOMwck5+33Jk=
+github.com/AzureAD/microsoft-authentication-library-for-go v1.8.0 h1:Nljr4q1GRA/5vCrMONS+g4u4LRHNgOXVSh3O43J2CnI=
+github.com/AzureAD/microsoft-authentication-library-for-go v1.8.0/go.mod h1:Y33QHnf0FfdVewFFISOGe20mkZbxX4H839o955/PoeI=
github.com/BurntSushi/toml v1.6.0 h1:dRaEfpa2VI55EwlIW72hMRHdWouJeRF7TPYhI+AUQjk=
github.com/BurntSushi/toml v1.6.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM=
github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo=
github.com/IBM-Cloud/power-go-client v1.16.2 h1:sXJyOHdHcd/aEc8vijEfCVtIG6HrdrOaF2snCcArf34=
github.com/IBM-Cloud/power-go-client v1.16.2/go.mod h1:H0KfeqNNKIu/hM7MZMFBJL3+jM2w6CxPA9wlgG3lxBY=
-github.com/IBM/go-sdk-core/v5 v5.22.1 h1:5eTGq4IFEMZnb7fRdk+oxQMFvj0cRAUJqdPxojpGtY8=
-github.com/IBM/go-sdk-core/v5 v5.22.1/go.mod h1:yO+OQpByKDLTvpEcsFFexgzpeR8eRfCFWAYzxkAu4bk=
+github.com/IBM/go-sdk-core/v5 v5.23.2 h1:wY+XtK9xnnaqwdOWE2m+1sn9sxfYrNbm9fcrB4uzBck=
+github.com/IBM/go-sdk-core/v5 v5.23.2/go.mod h1:NOPMhrdMNec7QBzY50gI0G7K1Y4O8lBrjjjO6C5eJ4A=
github.com/IBM/platform-services-go-sdk v0.101.0 h1:g5tRKp2GQCpEeX48obOC/hrMBiCqxw2Y414DylDC5JY=
github.com/IBM/platform-services-go-sdk v0.101.0/go.mod h1:9FeNezkqhc5RvcvDlvAYaeUjUDz9kZM2EiwZIVLnSjI=
github.com/IBM/vpc-go-sdk v0.87.1 h1:+2OYQ7bhxjaUU0avuf/vIw3y4y10MNQxY1igQDNTNU0=
@@ -66,40 +66,40 @@ github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z
github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI=
github.com/aws/amazon-ec2-instance-selector/v3 v3.1.3 h1:13qtG4reL2+2UiCm2U7gM9QJthDO8hPPzvn7hTjHask=
github.com/aws/amazon-ec2-instance-selector/v3 v3.1.3/go.mod h1:wdlMRtz9G4IO6H1yZPsqfGBxR8E6B/bdxHlGkls4kGQ=
-github.com/aws/aws-sdk-go-v2 v1.43.0 h1:fharf/WhbRAVZ1du0QL7roNFxZ6T/sWr+4Ni617bwSI=
-github.com/aws/aws-sdk-go-v2 v1.43.0/go.mod h1:5pKeft2eJj+gElQ38Jqg4ibCqh+/AK33/0X3hip7IjM=
-github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.14 h1:3IZY0XAJquT3aHzbkHfPzy4ACPcEjVG0x87KOwtpqGY=
-github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.14/go.mod h1:zwM6veDkhGgQFqkBy+uT28AAYpLu+uFMlPl+rCg/73E=
+github.com/aws/aws-sdk-go-v2 v1.43.2 h1:cl+IXwWb3qazClUcm08tGSsB6OiuV83JVJO9B0jQcPc=
+github.com/aws/aws-sdk-go-v2 v1.43.2/go.mod h1:WEzLKBh/mEjXvx1FtQMWgSxMSTVqxQzjkRtk5fa3wkg=
+github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.15 h1:rq/p1VNFfygoKEQ9hHMKsKBE98lspPvT8IxaFs5mFhw=
+github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.15/go.mod h1:bELIhlPfW8OkpDhP1MvCjHDtvv8NhiBTz+K4o26zrXA=
github.com/aws/aws-sdk-go-v2/config v1.32.31 h1:n4nY9O3QKoHIkL85EX+V8RcMFtOhlpTFhGArg915PXk=
github.com/aws/aws-sdk-go-v2/config v1.32.31/go.mod h1:PN0NYDCCoOpGGsZ2+elDUidmHfQBPyYzN2GCgl8HEBs=
github.com/aws/aws-sdk-go-v2/credentials v1.19.30 h1:TTCvvzFU6gXa4iJecNG/0F/B0oYTiazoRECr2XyLHrY=
github.com/aws/aws-sdk-go-v2/credentials v1.19.30/go.mod h1:jKxAp2AEncnliinzpgOSZDFv6+VjvWhjw/AtbfsWT9U=
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.31 h1:kfVL5wAunCJycL6MOQ6aNh6PlAYEymflcjuKmrWUA0o=
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.31/go.mod h1:nWfRNDAppujCQgOUd43lKT4yeLv9z3nJ3bw1G3BgQKo=
-github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.31 h1:Z8F3hfCY33IGpJjFAnv0wvtv1FIKj1GHmRDEYqy64tw=
-github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.31/go.mod h1:aVyUoytEyOViR6jhq6jula0xkc5NfBE2hgeF6BvOrao=
-github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.31 h1:hyOxUyXdh3AyjE93gBgsfziJag9ACwcs+ZpDBLzi8mw=
-github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.31/go.mod h1:OERqI9k0draSLB8O8woxY3q25ZWTELRK4RRoLMuMZFo=
-github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.32 h1:0MrUL35H/Y4kdFfItoR5jCgtDQ4Z/8LudAoIHRfA4hE=
-github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.32/go.mod h1:2tNZkuWz54arj8mHVf+8Y7cKkcD8Wr/fBpENgEXpjLc=
-github.com/aws/aws-sdk-go-v2/service/ec2 v1.316.1 h1:x3XE3BMK8aUpGx/m4CwmCmxc1LnN6saZujJ5K6pIFXU=
-github.com/aws/aws-sdk-go-v2/service/ec2 v1.316.1/go.mod h1:eoF0SIRbTgKWnTcTPYckiURPba/7ilfEkvwL4V1iHK4=
-github.com/aws/aws-sdk-go-v2/service/ecs v1.88.1 h1:J7tq3YG1h6Hb/Nui/RSBpGGMN43SywOM8JL6TaN9t/U=
-github.com/aws/aws-sdk-go-v2/service/ecs v1.88.1/go.mod h1:FZTiizNr2CG5myXP2I8pyCWM0/k4uwAnZXMkmjxgE3o=
-github.com/aws/aws-sdk-go-v2/service/iam v1.55.1 h1:4Jil4gopE1JjXR5ns70AoF+CYLAHllTDOaFs6sCg08A=
-github.com/aws/aws-sdk-go-v2/service/iam v1.55.1/go.mod h1:5H/UUroHvcKm6l2qaqh3CMM6R9K91ls8Y8rVX6cG3ts=
-github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.13 h1:mbRIur/BiHK6SKPjoBIXSE/hJ6g6JGRLuxQy1jGjlN4=
-github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.13/go.mod h1:ITg9em2KbJx1s0y4aqRX5OYWG6HBZ5TVR//OdpEZ2CQ=
-github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.24 h1:mdPwDQPqxlw9Sc62Nt15yjEcARaDbPXkjRYtXsUripo=
-github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.24/go.mod h1:ls5ytnwLTcQaUu32fMYXFI3MjpKuTwL840PAm9iqyEg=
-github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.31 h1:w2SIhW92DZPFrSL4ksVCr8IYff5OZwIcxg8+95tzvAI=
-github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.31/go.mod h1:wAhpCQbkov+IcvjozJbd2xRCoZybUEHNkcFunssNACg=
-github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.32 h1:jWXtZdCnhXa9sGFixRaU2AxT4DIVse9HS4E2f+/KwV0=
-github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.32/go.mod h1:9JS1UpfVvyD/ZPX8GsKb/Pq8scEM+7GP5fqh9SwH7po=
-github.com/aws/aws-sdk-go-v2/service/pricing v1.43.1 h1:jj0ESTD6wR5FNj663h7khDJhVd4C/TkwQJVV3fo98EA=
-github.com/aws/aws-sdk-go-v2/service/pricing v1.43.1/go.mod h1:fX2p8/1nehWSKdUTLWSp/gPCxOUSCaBk2r2wjDoyxf4=
-github.com/aws/aws-sdk-go-v2/service/s3 v1.105.2 h1:5C00eQYpTrgQXnp6V3P6P7zPElna3AXvlukbANE6nJI=
-github.com/aws/aws-sdk-go-v2/service/s3 v1.105.2/go.mod h1:zdmCoFO/dSI7GlrwsPqFJI+WlFnSU4Tc8TJnlXrM1Do=
+github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.33 h1:HAp1wLFZzch054uh3FK7rcVYg4v7J2FxVf3h3IGNZas=
+github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.33/go.mod h1:mJk5fmqnF+WUlMdPG37pR2Fh3oh6r8F6ZGUgPKvzu0c=
+github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.33 h1:0YA0aCKgsJyno6xkFfaIgjE3/wK08+Qxo9nQfe1UrWM=
+github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.33/go.mod h1:UZqj4WIdTH+ga8Y/DgpAuy/8cGjM3h7gDCliJYGg2SE=
+github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.34 h1:HQYnjFnXpX8EbPW5M1QT8mXzesRPwly0HEPTcFlS02Y=
+github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.34/go.mod h1:tGzj56niKYZBbDIRhwPGDqrULzmWv5b6uBQGqyNaFZw=
+github.com/aws/aws-sdk-go-v2/service/ec2 v1.318.0 h1:+jtItWSTMhuHmKKYwdjIZLwyq6mxryj8nE8q9Q5l8Cs=
+github.com/aws/aws-sdk-go-v2/service/ec2 v1.318.0/go.mod h1:JZSh40UkVtDPcC6QZ4rxqOTMyC1YtQi9sCrhD0FC9Rk=
+github.com/aws/aws-sdk-go-v2/service/ecs v1.89.2 h1:8OQdMdSecpeZECz/zaSmgtsodDkcYmeU1ahY//3qnV0=
+github.com/aws/aws-sdk-go-v2/service/ecs v1.89.2/go.mod h1:1AMXbi+8LXR7Ra1g6dQXMKlrRzzdt8wI+IGSkUFntPU=
+github.com/aws/aws-sdk-go-v2/service/iam v1.57.0 h1:n8wvZQGLzmMEz1y073wyxdN5uGAGb3fa/k8ZRxpzg4I=
+github.com/aws/aws-sdk-go-v2/service/iam v1.57.0/go.mod h1:vXOtv4pXRgGwWMyhblIp2+qI20iajYYlmrzMaIJF86s=
+github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.14 h1:SA43nfaY7+1jjMNIc2ywu99JLJLButtIdLP6j+bT870=
+github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.14/go.mod h1:Du3llKcwbQvHsTXSLzTOGQz0DTDBMEzdg7DAGu7inrY=
+github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.26 h1:Eflerh7atY6HN0yz60peNLOkJA2ZKUyYjZexMbqwMCE=
+github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.26/go.mod h1:dCAXNDmik9NuTjfsvCvW22S6ZFpxmtoliFoQu5XFkh8=
+github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.33 h1:mqI7OrxN/DUH85F5OqVn3cIfuZ3+HVcebUm2N8mLlgQ=
+github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.33/go.mod h1:eZ5jdEpvaaOU8nWWE4cTAJETSEA5FZoWxvNRao4piHY=
+github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.34 h1:Lercr2QB2rOrCwyOusmnQ7IiopfkGcZAgMJbjcSdK/s=
+github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.34/go.mod h1:W0xXPPCb2HAqa3cp2f/nRvE+jGgBmchiuXrfBRlfb1I=
+github.com/aws/aws-sdk-go-v2/service/pricing v1.44.2 h1:Uo7traFo3Cb48Idf3tzqjLoQnOmkM0fHbdw51eiOjIg=
+github.com/aws/aws-sdk-go-v2/service/pricing v1.44.2/go.mod h1:lQqaP/Lm6OlINrAf+D3OVdA/jhlw9Qqjsu/Cijcpebs=
+github.com/aws/aws-sdk-go-v2/service/s3 v1.106.2 h1:lFSYDEyC1JHucMH3fdczMTnDaghqNttyRXKM8JY9EJQ=
+github.com/aws/aws-sdk-go-v2/service/s3 v1.106.2/go.mod h1:aw1E7RCjxs5Sd8N6WdICMcMroff12Tzxte+ELXXNqRU=
github.com/aws/aws-sdk-go-v2/service/signin v1.5.0 h1:OHH5iTQvVGmfHjX/5Q+vFuA/Rf2x6/95aJ/75QCQSm4=
github.com/aws/aws-sdk-go-v2/service/signin v1.5.0/go.mod h1:mCF3AK9PpL49oOrhniUXWAfhVBVQ/XbytoE5eccZUIs=
github.com/aws/aws-sdk-go-v2/service/sso v1.33.0 h1:CaJyYhxBE0M/HJX/YvSaSmQlsI91VHB0lKU8LtLxL3A=
@@ -108,8 +108,8 @@ github.com/aws/aws-sdk-go-v2/service/ssooidc v1.38.0 h1:tC323YV77QdafeBr6LUhLDTs
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.38.0/go.mod h1:SfLK1sgviHmbI+MozR9iDwDjL4cdCVZtahsjoR+z7wg=
github.com/aws/aws-sdk-go-v2/service/sts v1.45.0 h1:Pd6PNlp4t8PTXxqzstICl52Wsy78vpjFZ7PRUj44mJc=
github.com/aws/aws-sdk-go-v2/service/sts v1.45.0/go.mod h1:rmQ0TnHzuLPmabgjPcsywhsSOmaBDgzR4zvDxSPsGdg=
-github.com/aws/smithy-go v1.27.4 h1:JQcphmBN4f0q/sPqXqROIItRNV/hy10cgu7CsFy616M=
-github.com/aws/smithy-go v1.27.4/go.mod h1:YE2RhdIuDbA5E5bTdciG9KrW3+TiEONeUWCqxX9i1Fc=
+github.com/aws/smithy-go v1.27.5 h1:d1ro7KpYOYwP6m73YFa+Kc/A130VsAdX68SpsJwARMM=
+github.com/aws/smithy-go v1.27.5/go.mod h1:YE2RhdIuDbA5E5bTdciG9KrW3+TiEONeUWCqxX9i1Fc=
github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k=
github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8=
github.com/aymanbagabas/go-udiff v0.4.1 h1:OEIrQ8maEeDBXQDoGCbbTTXYJMYRCRO1fnodZ12Gv5o=
@@ -136,8 +136,8 @@ github.com/charmbracelet/x/ansi v0.11.7 h1:kzv1kJvjg2S3r9KHo8hDdHFQLEqn4RBCb39dA
github.com/charmbracelet/x/ansi v0.11.7/go.mod h1:9qGpnAVYz+8ACONkZBUWPtL7lulP9No6p1epAihUZwQ=
github.com/charmbracelet/x/cellbuf v0.0.15 h1:ur3pZy0o6z/R7EylET877CBxaiE1Sp1GMxoFPAIztPI=
github.com/charmbracelet/x/cellbuf v0.0.15/go.mod h1:J1YVbR7MUuEGIFPCaaZ96KDl5NoS0DAWkskup+mOY+Q=
-github.com/charmbracelet/x/exp/golden v0.0.0-20260622092256-25656177ba8e h1:x7pKVbisrybuOyTq7CS0zQoKNrckmfBPXAgKK/Hkg1I=
-github.com/charmbracelet/x/exp/golden v0.0.0-20260622092256-25656177ba8e/go.mod h1:6fMpcW6iwN/kX+xJ52eqVWsDiBTe0UJD24JLoHFe+P0=
+github.com/charmbracelet/x/exp/golden v0.0.0-20260730164118-7e2d3e6c5238 h1:6eixvo/yc1QsdxYwBkbVu6khpCxoZ+Qgd8T2MQU9LsE=
+github.com/charmbracelet/x/exp/golden v0.0.0-20260730164118-7e2d3e6c5238/go.mod h1:6fMpcW6iwN/kX+xJ52eqVWsDiBTe0UJD24JLoHFe+P0=
github.com/charmbracelet/x/term v0.2.2 h1:xVRT/S2ZcKdhhOuSP4t5cLi5o+JxklsoEObBSgfgZRk=
github.com/charmbracelet/x/term v0.2.2/go.mod h1:kF8CY5RddLWrsgVwpw4kAa6TESp6EB5y3uxGLeCqzAI=
github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo=
@@ -163,8 +163,8 @@ github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc
github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ=
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f h1:Y/CXytFA4m6baUTXGLOoWe4PQhGxaX0KpnayAqC48p4=
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f/go.mod h1:vw97MGsxSvLiUE2X8qFplwetxpGLQrlU1Q9AUEIzCaM=
-github.com/evertras/bubble-table v0.19.2 h1:u77oiM6JlRR+CvS5FZc3Hz+J6iEsvEDcR5kO8OFb1Yw=
-github.com/evertras/bubble-table v0.19.2/go.mod h1:ifHujS1YxwnYSOgcR2+m3GnJ84f7CVU/4kUOxUCjEbQ=
+github.com/evertras/bubble-table v0.17.1 h1:HJwq3iQrZulXDE93ZcqJNiUVQCBbN4IJ2CkB/IxO3kk=
+github.com/evertras/bubble-table v0.17.1/go.mod h1:ifHujS1YxwnYSOgcR2+m3GnJ84f7CVU/4kUOxUCjEbQ=
github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU=
@@ -210,40 +210,40 @@ github.com/go-openapi/jsonreference v1.0.0 h1:jlmTr6torcd1YgDQvSfNmRtKzYDO4FGBkr
github.com/go-openapi/jsonreference v1.0.0/go.mod h1:jtwdyGbJk0Xhe5Y+rwtglQP6Sb1WZST4rT32LWB+sv0=
github.com/go-openapi/loads v0.25.0 h1:74Bc2snfaVlsHzwdQj/3gsA9XJz3daXTJVs+4ZaK7jI=
github.com/go-openapi/loads v0.25.0/go.mod h1:JFBw4SIB9+PTIFHDfcXuSSy5h6aWzjtUCrPYyx3qWU8=
-github.com/go-openapi/runtime v0.32.6 h1:hrcTTF8P7ZZr2Majzq11I65QtL/s85o7Q+zJf+AvFN4=
-github.com/go-openapi/runtime v0.32.6/go.mod h1:+rsupH3+TFKqmFysqkmgBOTxpVJV8eV+j9myvvea2Xw=
-github.com/go-openapi/runtime/server-middleware v0.32.6 h1:IGTYzybyFrUeSqQEwwO1y/9KnOk4QsabFNtAQtIHxDE=
-github.com/go-openapi/runtime/server-middleware v0.32.6/go.mod h1:OQHTBqMGquJShXhPYQ62yAqDMtC1rYpsEwldNWjYKhA=
+github.com/go-openapi/runtime v0.33.0 h1:Dd3Oj2ig+WH8ckK95l0Wn2V8a4bH/UqWPRZVT0vc8yU=
+github.com/go-openapi/runtime v0.33.0/go.mod h1:+rsupH3+TFKqmFysqkmgBOTxpVJV8eV+j9myvvea2Xw=
+github.com/go-openapi/runtime/server-middleware v0.33.0 h1:ZFUNyaa2eUs9DhLd6MTe/QRsuxeYn4Lq0C8iAoY13XE=
+github.com/go-openapi/runtime/server-middleware v0.33.0/go.mod h1:OQHTBqMGquJShXhPYQ62yAqDMtC1rYpsEwldNWjYKhA=
github.com/go-openapi/spec v0.22.9 h1:/vKIFDcGKp0ktZWGbym/tJEWbk6/XOEmAVU0kqKMH+w=
github.com/go-openapi/spec v0.22.9/go.mod h1:b/mNUYIOQOyIiUzUzXEE8xzyZqf93KvM9hQGP91yfl0=
github.com/go-openapi/strfmt v0.27.0 h1:kbcTeaD9TXuXD0hhMXzuYa1sdTo6+dWGvwjW93E80IM=
github.com/go-openapi/strfmt v0.27.0/go.mod h1:s/qhDqfY72irigXUGJmtgid2Rm+3tnz3k8hZaRmvWYc=
-github.com/go-openapi/swag v0.27.3 h1:i6oVKkGZeFgETHMiBHGtj9gIQ1aLtWDdJnT/SRZeets=
-github.com/go-openapi/swag v0.27.3/go.mod h1:qEXs3GcyyQTDCFQ4ykqnLPDh8qT+zBcjbVWdxCAW0Us=
-github.com/go-openapi/swag/cmdutils v0.27.3 h1:sjuL0TvW81i9R9GRMO/fy+c3mOW+7zxRYwy/7fobZt4=
-github.com/go-openapi/swag/cmdutils v0.27.3/go.mod h1:Sm1MVFMkF6guJJ+pQqHnQA3N0j9qALV3NxzDSv6bETM=
-github.com/go-openapi/swag/conv v0.27.3 h1:iqJFmGEjmX3AY0lSszABFqRVqOSt99XS0LzNIMJYuhU=
-github.com/go-openapi/swag/conv v0.27.3/go.mod h1:nPRmN6jgNme99hpf+nM0auDZGALWIqlwhisKPK/bQhQ=
-github.com/go-openapi/swag/fileutils v0.27.3 h1:3UVoZ2RLaIs1lt+2jcKzL8RM3Yk0rmsDE9FLA/HGxFE=
-github.com/go-openapi/swag/fileutils v0.27.3/go.mod h1:VvJFZLTZS0AI854gEQz5tk7dBESdLjiNUMSZ/th2ry8=
-github.com/go-openapi/swag/jsonutils v0.27.3 h1:1DEz+O82frtSMBcos/7XIn1GnpNTbsD4Bru4Dc/uhRc=
-github.com/go-openapi/swag/jsonutils v0.27.3/go.mod h1:qiDCoQvzkMxrV3G8FLEdIU5L+EFYc0zcDOHWT3Yofvo=
-github.com/go-openapi/swag/jsonutils/fixtures_test v0.27.3 h1:h/eT9kmGCDdFLJF29lOhzLtF0FmP1AX2MhLJWVebsb8=
-github.com/go-openapi/swag/jsonutils/fixtures_test v0.27.3/go.mod h1:mofwUWx70wvskwESqRJ//k/9kURmCgyJl5m5Ppoh5kY=
-github.com/go-openapi/swag/loading v0.27.3 h1:L9nQkEgzU7QgFQL+pLEMfGUKxeM4pWwGwbET9Z3weW0=
-github.com/go-openapi/swag/loading v0.27.3/go.mod h1:rJ0NeaKsF4CVPnMGjPQl7JlSHzvD0bc2DKXLss1hiuE=
-github.com/go-openapi/swag/mangling v0.27.3 h1:gRzzD1PAUoLTtGMgI3KpBmCSOlTuLTFWnviLxLcTnyg=
-github.com/go-openapi/swag/mangling v0.27.3/go.mod h1:jtBE2+V+3pILxOR7Vgce+Cwp6A2PgZbvVqfNntbVs0w=
-github.com/go-openapi/swag/netutils v0.27.3 h1:IoBvfCoprsE6E87kAIm9basnISqDDqB79mJ8MN+f5PU=
-github.com/go-openapi/swag/netutils v0.27.3/go.mod h1:J+WYyFMLtvtCGqa6jLv+YNUmIKI3ZRQRrvfNDMoQoEQ=
-github.com/go-openapi/swag/pools v0.27.3 h1:gXjImP3F6/56wRRcFgEPld084Y6u2gs21ikPBt8NKBk=
-github.com/go-openapi/swag/pools v0.27.3/go.mod h1:kVQefhSK5RWuRe7BXsL8htgBPAMpN7HDGpGEknqugeE=
-github.com/go-openapi/swag/stringutils v0.27.3 h1:Ru28hnbAvN5wycALQYy8IobHvASq+FUFMlp1QzLM0JI=
-github.com/go-openapi/swag/stringutils v0.27.3/go.mod h1:lzRN95CxXmA03XcDWHLOb6nOMcxCqR5rGY0lOgsfRoM=
-github.com/go-openapi/swag/typeutils v0.27.3 h1:l6SSrx5eR5/WVwrGNzN6bQ9WqL04mrxNBl9YgQ3rcJ4=
-github.com/go-openapi/swag/typeutils v0.27.3/go.mod h1:Srm0xFNRZ1Y+vCxJclo5qzx8aj+1pAKda/YfFPrG0dQ=
-github.com/go-openapi/swag/yamlutils v0.27.3 h1:cRFCAoYtslYn9L9T0xWryHy1t7c1MACC+DMj3CLvwvs=
-github.com/go-openapi/swag/yamlutils v0.27.3/go.mod h1:6JYBGj8sw/NawMllyZY+cTA8Mzk2etS3ZBASdcyPsiU=
+github.com/go-openapi/swag v0.28.0 h1:xkgbOSKj6DZziNpyqRRAOt3GJGtgjgsd2RoyT30VWuw=
+github.com/go-openapi/swag v0.28.0/go.mod h1:4qYnT3Cqr1p1VknOdPo70evN4rgQnAg6jwApHyxSGIg=
+github.com/go-openapi/swag/cmdutils v0.28.0 h1:7TOeNtkYru1SG8Y34tDh9WBbLsMqGnptuxWiHREPZ4Q=
+github.com/go-openapi/swag/cmdutils v0.28.0/go.mod h1:Sm1MVFMkF6guJJ+pQqHnQA3N0j9qALV3NxzDSv6bETM=
+github.com/go-openapi/swag/conv v0.28.0 h1:GtqqbyFe7vR5Y7ehxG9W6/OvrSFdf1OLeTGp40TqxH8=
+github.com/go-openapi/swag/conv v0.28.0/go.mod h1:mbUE+mzctnhxi864m0Q07SpN8OowD9JhxmxuYvZZD/k=
+github.com/go-openapi/swag/fileutils v0.28.0 h1:Z04XWQD7R8Eq+7GnOrjovBxPPmZzsS4gt2H2GPGIViU=
+github.com/go-openapi/swag/fileutils v0.28.0/go.mod h1:VvJFZLTZS0AI854gEQz5tk7dBESdLjiNUMSZ/th2ry8=
+github.com/go-openapi/swag/jsonutils v0.28.0 h1:YIch6FwO7RXzeAnbO8Tu7dWBZeUEH+4nA0HXltVTnv4=
+github.com/go-openapi/swag/jsonutils v0.28.0/go.mod h1:CYM3WlTUcagR2ZoHdz54di/cbBqt82tuxuXgAjxw+mg=
+github.com/go-openapi/swag/jsonutils/fixtures_test v0.28.0 h1:qV+VVUAx5Oro8WjVWpZeql7YReTKhT4smR4zhcOQZr0=
+github.com/go-openapi/swag/jsonutils/fixtures_test v0.28.0/go.mod h1:mofwUWx70wvskwESqRJ//k/9kURmCgyJl5m5Ppoh5kY=
+github.com/go-openapi/swag/loading v0.28.0 h1:td8QZdZC9MIYGGSnSPKShKiK22I2tU5UQvuUhIBPRLU=
+github.com/go-openapi/swag/loading v0.28.0/go.mod h1:rXB0QiQX5mMveXEA7ouM4KiiM9jVJe4K6BVbwhD1M4k=
+github.com/go-openapi/swag/mangling v0.28.0 h1:pH8eyeNO9SLYsTMWJrurnNfKmDa28XrlA+HePVD53VM=
+github.com/go-openapi/swag/mangling v0.28.0/go.mod h1:jtBE2+V+3pILxOR7Vgce+Cwp6A2PgZbvVqfNntbVs0w=
+github.com/go-openapi/swag/netutils v0.28.0 h1:YXN6TALEi2pzts8/8GNm6T61HTAZsieukGZidap989k=
+github.com/go-openapi/swag/netutils v0.28.0/go.mod h1:J+WYyFMLtvtCGqa6jLv+YNUmIKI3ZRQRrvfNDMoQoEQ=
+github.com/go-openapi/swag/pools v0.28.0 h1:HPMZWSAfce3rdVTFcjFiCIBtDg9h4x2QlRrHipwhxeU=
+github.com/go-openapi/swag/pools v0.28.0/go.mod h1:kVQefhSK5RWuRe7BXsL8htgBPAMpN7HDGpGEknqugeE=
+github.com/go-openapi/swag/stringutils v0.28.0 h1:ixsc9iYgDPubHL/8nSkbnryEHpD2VRlBMLKpQyPXcDU=
+github.com/go-openapi/swag/stringutils v0.28.0/go.mod h1:lzRN95CxXmA03XcDWHLOb6nOMcxCqR5rGY0lOgsfRoM=
+github.com/go-openapi/swag/typeutils v0.28.0 h1:nRBKSBXjDgf01VDPB3fWeD9nQuhCOVeIYAkUx2tbkyY=
+github.com/go-openapi/swag/typeutils v0.28.0/go.mod h1:Srm0xFNRZ1Y+vCxJclo5qzx8aj+1pAKda/YfFPrG0dQ=
+github.com/go-openapi/swag/yamlutils v0.28.0 h1:TV3JXH6DS46KUroDtMLAYHGkdWf5VDq3wVWFirmzROY=
+github.com/go-openapi/swag/yamlutils v0.28.0/go.mod h1:x0q/yndZHEgk9Rx3DyDqzFUmHy55KTvIZldvF2dTJXs=
github.com/go-openapi/testify/enable/yaml/v2 v2.6.0 h1:gGHwAJ0R/5jU8BEGDbfRNR3hL68dAVi84WuOApp29B0=
github.com/go-openapi/testify/enable/yaml/v2 v2.6.0/go.mod h1:tY+St1SGq4NFl0QIqdTY4aEdbChAHxhyB77XQi9iJCo=
github.com/go-openapi/testify/v2 v2.6.0 h1:5PKH2HE7YJ/LuRPQGvSxBRlFXNQhSetBLlGAgUEu3ug=
@@ -321,8 +321,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
-github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ=
-github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI=
+github.com/leodido/go-urn v1.5.0 h1:pLqT2kq1zpHW/1D18QMjMpdtX7cekxqtJJjg5ANyWw0=
+github.com/leodido/go-urn v1.5.0/go.mod h1:9BORnCDhdPBJNDEX+w1bJisa8yOKYi116VeO96s4ifE=
github.com/lucasb-eyer/go-colorful v1.4.0 h1:UtrWVfLdarDgc44HcS7pYloGHJUjHV/4FwW4TvVgFr4=
github.com/lucasb-eyer/go-colorful v1.4.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
github.com/mapt-oss/pulumi-ibmcloud/sdk v0.0.12 h1:F+Sr/Q2nZoEeb7epVFmtfkSIeYm59HO3uMJd4qLi6jQ=
@@ -399,28 +399,28 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRI
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0=
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE=
-github.com/pulumi/pulumi-aws-native/sdk v1.71.0 h1:3jTz3q01KXNLKYlGEueiID9I15SXr3mnJxPJfgOoW6E=
-github.com/pulumi/pulumi-aws-native/sdk v1.71.0/go.mod h1:08HfiYFanToWN1uRzHgjoXUNGyzKG3vHthcmZ/a1s5A=
-github.com/pulumi/pulumi-aws/sdk/v7 v7.36.0 h1:IEsJH9qTkK7tJUJm81zKQ4nsPHd97D88ymVWsuqi8zU=
-github.com/pulumi/pulumi-aws/sdk/v7 v7.36.0/go.mod h1:jgGcMiHJTSvFB1hHa1Bnc0JmHiCub2RSrTtBPZYfEz4=
-github.com/pulumi/pulumi-awsx/sdk/v3 v3.7.0 h1:rcBTxjaqkrKg5JQs0A6QP+tMHxle9fnrmO20mpEdgzU=
-github.com/pulumi/pulumi-awsx/sdk/v3 v3.7.0/go.mod h1:5IRij9mHJMZBjecVckf+xYMRMlyxBP4+OH0FpX3wUy0=
-github.com/pulumi/pulumi-azure-native-sdk/authorization/v3 v3.20.0 h1:7cvRN/Zk7Ge/lSMzKRYxT3hLcDDumNx0ILkfowvkL/M=
-github.com/pulumi/pulumi-azure-native-sdk/authorization/v3 v3.20.0/go.mod h1:Lfz11nnry5vNM92DPB9TURLi5/Qvd1CBzbg5v+FnrcM=
-github.com/pulumi/pulumi-azure-native-sdk/compute/v3 v3.20.0 h1:rjOPNcj/suqJ+TdDcb4t2+IR9hKOF9q6NKYpwhrSAo0=
-github.com/pulumi/pulumi-azure-native-sdk/compute/v3 v3.20.0/go.mod h1:7hN3yuBl6+JsE5ezK7lfQD7gBuQYLMSJPxpOIijsU1g=
-github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3 v3.20.0 h1:YORkyb2X4zs5Ots8YxytAome0bdIv4+u5PQK88VV88I=
-github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3 v3.20.0/go.mod h1:Kt4ujcJ4fgXJsMx+bQjt2P8D4ztrHnkPhJyypli0EtM=
-github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v3 v3.20.0 h1:3pw4xeoBpkjo5/Haz89hqwgeUanjZ6InrUWoHE6g9ng=
-github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v3 v3.20.0/go.mod h1:q1yMaqSp+06Ky64BGSzjy3oF9fuE3hRxSTVYDPOhF5g=
-github.com/pulumi/pulumi-azure-native-sdk/network/v3 v3.20.0 h1:VQU1DqGgv382Z+eUjsIMj4PQm5XPWeRBkI4n7e0DER0=
-github.com/pulumi/pulumi-azure-native-sdk/network/v3 v3.20.0/go.mod h1:VokQN/TLXelZNp3vMVTiguB4ZgnxxmxaWiLJn7pjVWo=
-github.com/pulumi/pulumi-azure-native-sdk/resources/v3 v3.20.0 h1:u5gZgjjReBBhtzjef5Vli3qfbfCMtnkdBFuY3NImaDo=
-github.com/pulumi/pulumi-azure-native-sdk/resources/v3 v3.20.0/go.mod h1:6dc9aUQ2xhnsY/WRdF54H/M3cwPBndCrX2gF5KcZqjE=
-github.com/pulumi/pulumi-azure-native-sdk/storage/v3 v3.20.0 h1:9YSyq5Jkztu+gV7BYi8NmEXrxhHEca08UYl/YQK3HX8=
-github.com/pulumi/pulumi-azure-native-sdk/storage/v3 v3.20.0/go.mod h1:MLsf/dAqW+lFtuSRBGcNjPP/QS+Mvx7LcLLD5bvedbY=
-github.com/pulumi/pulumi-azure-native-sdk/v3 v3.20.0 h1:5V6lxVbdN5kdYU+Rbq7bxSIEKMsOoT/IZ6QwTh+QuGw=
-github.com/pulumi/pulumi-azure-native-sdk/v3 v3.20.0/go.mod h1:yaXkiYMLLY/3L6E63wSd01xY6rG2nbcs+6aaWzaxkLI=
+github.com/pulumi/pulumi-aws-native/sdk v1.73.1 h1:C0iIIKPCdLZEaqPtDnJFQNEiCBp4+8/Fp/sZRJpuOi8=
+github.com/pulumi/pulumi-aws-native/sdk v1.73.1/go.mod h1:HV/8dvlGVD6T78TrUpYdcLWbLgduralbNJlugN0MkDI=
+github.com/pulumi/pulumi-aws/sdk/v7 v7.39.0 h1:PavMjaFYLl78IJSqWFnwj1bGGHQCCSzmskHAFrbq0Fs=
+github.com/pulumi/pulumi-aws/sdk/v7 v7.39.0/go.mod h1:5cYRNmFkGUHW0OCUWKH3yinOnOcOJAnBvqAiAsxcV9M=
+github.com/pulumi/pulumi-awsx/sdk/v3 v3.8.0 h1:7C6VZV3yBxxn39wsFDtA0D78Ayg9tDmnl80mxfed7EA=
+github.com/pulumi/pulumi-awsx/sdk/v3 v3.8.0/go.mod h1:5IRij9mHJMZBjecVckf+xYMRMlyxBP4+OH0FpX3wUy0=
+github.com/pulumi/pulumi-azure-native-sdk/authorization/v3 v3.24.0 h1:SeomiXZngLFpYoXpynD3gwXi/eQROXrUxOJQhA9ivxs=
+github.com/pulumi/pulumi-azure-native-sdk/authorization/v3 v3.24.0/go.mod h1:o+we0rF1xLTq8vs2a9sTYf0USIJHpa1MMlLv8JrP6RI=
+github.com/pulumi/pulumi-azure-native-sdk/compute/v3 v3.24.0 h1:FJN2+qALb/1ntyPWl4xZj1qUtVhg/1XESJI/mmwtzRg=
+github.com/pulumi/pulumi-azure-native-sdk/compute/v3 v3.24.0/go.mod h1:zQZpJ4JOpoJfkyaQgLIGxeCd4bfqMMKSdH/5+JdAyLc=
+github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3 v3.24.0 h1:83AC5hS6NaoKMBQgDB+yJ4HmnWZ86tbGX3dWDSBkyOo=
+github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3 v3.24.0/go.mod h1:S4OoX+QZqy7lTRIvlgQJ5TokEOSeV30lhKtkwpTnL0w=
+github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v3 v3.24.0 h1:qrCZp2gS9eymfo+Lr5J+KTDVJtb6kWIwO6dMNNg+8SE=
+github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v3 v3.24.0/go.mod h1:GpBdkkWsmOyprlzPRygbHg7zu2Lfk2jsmz1KyzF9bBk=
+github.com/pulumi/pulumi-azure-native-sdk/network/v3 v3.24.0 h1:llaRXJeeWC/E+YSon1dn1NbV1jswF4R/tBiQBvHe/H4=
+github.com/pulumi/pulumi-azure-native-sdk/network/v3 v3.24.0/go.mod h1:IpyS7VQ7eXEzFtfObG+7IK3ZGiH8DlJClAyGN9E1yxQ=
+github.com/pulumi/pulumi-azure-native-sdk/resources/v3 v3.24.0 h1:0owpxzg03gOHIlaosE+EmDL/5Ch7f/yYW3GN/N0kpbs=
+github.com/pulumi/pulumi-azure-native-sdk/resources/v3 v3.24.0/go.mod h1:ZzPf+QByy2mTnH4Xx4q6G2XKRYCLyfhrBKg/8A33mag=
+github.com/pulumi/pulumi-azure-native-sdk/storage/v3 v3.24.0 h1:CeZuv05wIh8V0gf52iIV5NzICe4IbQM/d3AmkBJHwQU=
+github.com/pulumi/pulumi-azure-native-sdk/storage/v3 v3.24.0/go.mod h1:Sk6XVDzpXLpft5ImCKzTXldfNosff9CZ4sQZrtMcURI=
+github.com/pulumi/pulumi-azure-native-sdk/v3 v3.24.0 h1:yN7pGO3lxmblK1ZSzsulPCSmJykorWKtgilTAB2SSfw=
+github.com/pulumi/pulumi-azure-native-sdk/v3 v3.24.0/go.mod h1:zy4qrCrgdY+pNrbOtGPBZWJY/Z6gbHsSiN3T+WJGtrY=
github.com/pulumi/pulumi-command/sdk v1.2.1 h1:mAziZ91a/9U+5IjZH5Skcar80OSmpBSYljeQNRblTWQ=
github.com/pulumi/pulumi-command/sdk v1.2.1/go.mod h1:hQxv9DXg6bFjcd9BEiNdMImQ/V1rnC9D115q5VXYNps=
github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild v0.0.21 h1:OgVpls9YVlZfegXzIxZed5BY1fqP6oYCpLGDXyE9tyM=
@@ -437,8 +437,8 @@ github.com/pulumi/pulumi-random/sdk/v4 v4.21.1 h1:pqvBaBMwFPP3DV8BYh/f45V4A62kFq
github.com/pulumi/pulumi-random/sdk/v4 v4.21.1/go.mod h1:4Q2jFqgCimgOQxvWntZSnV6u8+JhCkPHewloJQfLoeQ=
github.com/pulumi/pulumi-tls/sdk/v5 v5.5.1 h1:pL01s6xK/qc7tW/TYeAJX9bYpkd88RkMOG6no/85yaQ=
github.com/pulumi/pulumi-tls/sdk/v5 v5.5.1/go.mod h1:xE3qVFi5Nl9h5OAM6iHTQZzOCgbX50tE5oAej+mEZDk=
-github.com/pulumi/pulumi/sdk/v3 v3.253.0 h1:YWdKcZMZC7DtYSqNBn1Yv2UXmFMcgx7RqG3lhhBNZyE=
-github.com/pulumi/pulumi/sdk/v3 v3.253.0/go.mod h1:iTb2Yb9mn0kfUfMjwHgSuI5sxVUOcXRy0JcV7DLWsrc=
+github.com/pulumi/pulumi/sdk/v3 v3.255.0 h1:G872L4M1EPW3l60yEc52GgLpFRdXAVf0rn96q3MwDVQ=
+github.com/pulumi/pulumi/sdk/v3 v3.255.0/go.mod h1:b99ZkmEGjVyW55blOwL94IfPLcaajhOfV8OTePZrRJM=
github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
@@ -495,12 +495,12 @@ github.com/zclconf/go-cty v1.19.0 h1:IV8WdqYZc2c5rLX9bEoLNXKojBAp0MZPBHMIrCoa/s4
github.com/zclconf/go-cty v1.19.0/go.mod h1:12W89jGn3JCOIQi7infWr9m80rOkb5RNYJqXMZcN4c8=
go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64=
go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y=
-go.opentelemetry.io/collector/featuregate v1.62.0 h1:pYY7RlulSCTOS9mFWxasMLwYJCfNXHtnOkZlv3jg/V4=
-go.opentelemetry.io/collector/featuregate v1.62.0/go.mod h1:4ga1QBMPEejXXmpyJS8lmaRpknJ3Lb9Bvk6e420bUFU=
-go.opentelemetry.io/collector/internal/testutil v0.156.0 h1:Nu02vhHA2UQ3Yjyjisk3N24HHxwvw7PQiTz9O1PuiUY=
-go.opentelemetry.io/collector/internal/testutil v0.156.0/go.mod h1:Jkjs6rkqs973LqgZ0Fe3zrokQRKULYXPIf4HuqStiEE=
-go.opentelemetry.io/collector/pdata v1.62.0 h1:xGdwl2Cs5Rq5nKs0nYvAxm3Qq20HcySVAmUElATS8Es=
-go.opentelemetry.io/collector/pdata v1.62.0/go.mod h1:WFy5R6XGpz2Q4MaekeEm+qc4GY5V3+BhQIwGPkp+fj0=
+go.opentelemetry.io/collector/featuregate v1.63.0 h1:6EWX1C5AtmIh8hFH97DwK6R7R8Jk3fTLxAUfZPXGutY=
+go.opentelemetry.io/collector/featuregate v1.63.0/go.mod h1:4ga1QBMPEejXXmpyJS8lmaRpknJ3Lb9Bvk6e420bUFU=
+go.opentelemetry.io/collector/internal/testutil v0.157.0 h1:plojUQwFC5l1ex9KUDaLmCFY/mTxEmf3zrlP7M23IEw=
+go.opentelemetry.io/collector/internal/testutil v0.157.0/go.mod h1:Jkjs6rkqs973LqgZ0Fe3zrokQRKULYXPIf4HuqStiEE=
+go.opentelemetry.io/collector/pdata v1.63.0 h1:fY2xSG2MnyoBwA4GUhzoogGZMuNS0qHpCoODqaKwiVQ=
+go.opentelemetry.io/collector/pdata v1.63.0/go.mod h1:jzozYYhQEkTQ/CCbCBNC+hYUeju9S2J8HIqIDHdxZWk=
go.opentelemetry.io/contrib/bridges/otelslog v0.19.0 h1:5RgvxieNq9tS3ewrV1vnODvbHPfKUIJcYtF9Cvz+6aQ=
go.opentelemetry.io/contrib/bridges/otelslog v0.19.0/go.mod h1:iTBIdNwx/xmUhfgJs6+84S4dIK059811cO1eUBjKcHY=
go.opentelemetry.io/otel v1.44.0 h1:JjwHmHpA4iZ3wBxluu2fbbE7j4kqlE8jXyAyPXH7HqU=
@@ -525,8 +525,8 @@ go.opentelemetry.io/otel/sdk/metric v1.44.0 h1:3LlKgI+VjbVsjNRFZJZAJ30WjXC5VkNRk
go.opentelemetry.io/otel/sdk/metric v1.44.0/go.mod h1:5B5pMARnXxKhltooO4xUuCBorl65a4EpnTalObqOigA=
go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk=
go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE=
-go.opentelemetry.io/proto/otlp v1.10.0 h1:IQRWgT5srOCYfiWnpqUYz9CVmbO8bFmKcwYxpuCSL2g=
-go.opentelemetry.io/proto/otlp v1.10.0/go.mod h1:/CV4QoCR/S9yaPj8utp3lvQPoqMtxXdzn7ozvvozVqk=
+go.opentelemetry.io/proto/otlp v1.11.0 h1:5rrYs0Ykyj50sdU/JU0x8etU+LubXWb+gED6TbEdMIk=
+go.opentelemetry.io/proto/otlp v1.11.0/go.mod h1:SmVizdCOAm3XBtG1g1NnOdhW6jtddT72hLMhv8VwA8E=
go.opentelemetry.io/proto/slim/otlp v1.10.0 h1:iR97Vs/ZDR+y9TfuP9b1XBtdPWeC+OMslIBmhcLU7jM=
go.opentelemetry.io/proto/slim/otlp v1.10.0/go.mod h1:lV9250stpjYLPNA5viFabIgP2QlUGRT1GdTgAf8SIUk=
go.opentelemetry.io/proto/slim/otlp/collector/profiles/v1development v0.3.0 h1:RUF5rO0hAlgiJt1fzQVzcVs3vZVNHIcMLgOgG4rWNcQ=
@@ -549,8 +549,8 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.54.0 h1:YLIA59K4fiNzHzjnZt2tUJQjQtUWfWbeHBqKtk3eScw=
golang.org/x/crypto v0.54.0/go.mod h1:KWL8ny2AZdGR2cWmzeHrp2azQPGogOv+HeQaVEXC2dk=
-golang.org/x/exp v0.0.0-20260709172345-9ea1abe57597 h1:qLvzZeaANDgyVOA8pyHCOStGlXn0rseXma+GQjeuv2g=
-golang.org/x/exp v0.0.0-20260709172345-9ea1abe57597/go.mod h1:EdfpwwqSu+0Li0mzskwHU6FWDV3t9Q+RZDo3QMUtL3Q=
+golang.org/x/exp v0.0.0-20260727155853-b88d891fe743 h1:ex206bKw+v3K0dm3andkrIF+ijyQKJG1pLgwQ2PYdQM=
+golang.org/x/exp v0.0.0-20260727155853-b88d891fe743/go.mod h1:EdfpwwqSu+0Li0mzskwHU6FWDV3t9Q+RZDo3QMUtL3Q=
golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
@@ -606,12 +606,12 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4=
gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E=
-google.golang.org/genproto/googleapis/api v0.0.0-20260713224248-f5fc221cf8c4 h1:lI0NbdWVmT6lOJJNDd7vyeTdfxP/7ouCLSJUKNNXa0k=
-google.golang.org/genproto/googleapis/api v0.0.0-20260713224248-f5fc221cf8c4/go.mod h1:WRrQ7/7N19PypuT0fxLOL5Lq0waoiRri4FbtHDEKrGE=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20260713224248-f5fc221cf8c4 h1:7RtFDizMtT9eZzHzKxifoMGfcDBBy+LYZlgfg24ZmOM=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20260713224248-f5fc221cf8c4/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8=
-google.golang.org/grpc v1.82.1 h1:NnAxzGRA0677vCa4BUkOAnO5+FfQqVl9iUXeD0IqcGE=
-google.golang.org/grpc v1.82.1/go.mod h1:yzTZ1TB1Z3SG+LIYaI+WiE8D5+PZ3ArnrSp8zF3+/ZA=
+google.golang.org/genproto/googleapis/api v0.0.0-20260729162451-8efbd57d26e0 h1:ybvH/ZpOcpCrjtkb7oW/fdlzbEmRVeumw19SRQmNFKU=
+google.golang.org/genproto/googleapis/api v0.0.0-20260729162451-8efbd57d26e0/go.mod h1:HJ9MpJLeDSstBkx1LILTpd5f41ADSMZcTPypw02qEGw=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20260729162451-8efbd57d26e0 h1:mJiOtnGp0k/BcSgdu03G2NwnscCfCH+h2QKUBZr18KI=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20260729162451-8efbd57d26e0/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8=
+google.golang.org/grpc v1.83.0 h1:JeNZEKJFbQxArAMl+hiytHauacDNqJUllNfmIMmpqnQ=
+google.golang.org/grpc v1.83.0/go.mod h1:kDyl6SKsiHKt0uylY5gtn5cEjkrIOhQOGDgIc4JGwzQ=
google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af h1:+5/Sw3GsDNlEmu7TfklWKPdQ0Ykja5VEmq2i817+jbI=
google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
@@ -637,8 +637,8 @@ k8s.io/client-go v0.36.3 h1:M4JdVzXxYcZk4fGpfDdYnxSwhLKWCFoQsHW6t+z8Hfg=
k8s.io/client-go v0.36.3/go.mod h1:gcPwr0c87vjjG6HB6pWEqOeuYVoXSsREjzux2j6GF30=
k8s.io/klog/v2 v2.140.0 h1:Tf+J3AH7xnUzZyVVXhTgGhEKnFqye14aadWv7bzXdzc=
k8s.io/klog/v2 v2.140.0/go.mod h1:o+/RWfJ6PwpnFn7OyAG3QnO47BFsymfEfrz6XyYSSp0=
-k8s.io/kube-openapi v0.0.0-20260706235625-cdb1db5517a0 h1:CVjOUCTXINUThEmDs25FNSna0+vnGSoTleN+wiJu6hE=
-k8s.io/kube-openapi v0.0.0-20260706235625-cdb1db5517a0/go.mod h1:rcZ+P5cEvHQB+m154WBOatIGBgOEPjzmLkXjkHfg3ms=
+k8s.io/kube-openapi v0.0.0-20260721132016-d427ff9ee9ad h1:oXImqH8mQNk7PmvzKhmN3ddJoY6OnyM225MXwGHPm0A=
+k8s.io/kube-openapi v0.0.0-20260721132016-d427ff9ee9ad/go.mod h1:0/mqHCVhlumdJ3BhCfnjSZQE037nAhNodh1/hK0T8/I=
k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3 h1:jVkFFVfXdXP74B/zbO3hM3hpSFD0xvhQ5U686DPurkE=
k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3/go.mod h1:M2s5JB1lIYP3jzZdorPLHXIPJzt9vv2muW5a6L9DtNM=
lukechampine.com/frand v1.5.1 h1:fg0eRtdmGFIxhP5zQJzM1lFDbD6CUfu/f+7WgAZd5/w=
diff --git a/oci/Containerfile b/oci/Containerfile
index 3e7df61b2..2f7e54cbb 100644
--- a/oci/Containerfile
+++ b/oci/Containerfile
@@ -1,4 +1,4 @@
-FROM registry.access.redhat.com/ubi9/go-toolset@sha256:c6b19c92a8613bcfdf69ef00a6ea94ac689ec76d07758d71416c1faa6f35f431 as builder
+FROM registry.access.redhat.com/ubi9/go-toolset@sha256:272a3dd990bba320c2e246119a0019d10d627d0104938d5db77ba5ab3ae3a51d as builder
ARG TARGETARCH
USER root
SHELL ["/bin/bash", "-euo", "pipefail", "-c"]
@@ -6,7 +6,7 @@ WORKDIR /workspace
COPY . .
# renovate: datasource=github-releases depName=pulumi/pulumi
-ENV PULUMI_VERSION 3.252.0
+ENV PULUMI_VERSION 3.255.0
ENV PULUMI_BASE_URL="https://github.com/pulumi/pulumi/releases/download/v${PULUMI_VERSION}/pulumi-v${PULUMI_VERSION}"
ENV PULUMI_URL="${PULUMI_BASE_URL}-linux-x64.tar.gz"
@@ -20,11 +20,11 @@ RUN unset VERSION \
# Pulumi plugins — installed in build stage, copied into runtime
# renovate: datasource=github-releases depName=pulumi/pulumi-aws
-ARG PULUMI_AWS_VERSION=v7.36.0
+ARG PULUMI_AWS_VERSION=v7.39.0
# renovate: datasource=github-releases depName=pulumi/pulumi-awsx
-ARG PULUMI_AWSX_VERSION=v3.7.0
+ARG PULUMI_AWSX_VERSION=v3.8.0
# renovate: datasource=github-releases depName=pulumi/pulumi-azure-native
-ARG PULUMI_AZURE_NATIVE_VERSION=v3.20.0
+ARG PULUMI_AZURE_NATIVE_VERSION=v3.24.0
# renovate: datasource=github-releases depName=pulumi/pulumi-command
ARG PULUMI_COMMAND_VERSION=v1.2.1
# renovate: datasource=github-releases depName=pulumi/pulumi-tls
@@ -32,11 +32,11 @@ ARG PULUMI_TLS_VERSION=v5.5.1
# renovate: datasource=github-releases depName=pulumi/pulumi-random
ARG PULUMI_RANDOM_VERSION=v4.21.1
# renovate: datasource=github-releases depName=pulumi/pulumi-aws-native
-ARG PULUMI_AWS_NATIVE_VERSION=v1.71.0
+ARG PULUMI_AWS_NATIVE_VERSION=v1.73.1
# renovate: datasource=github-releases depName=pulumi/pulumi-github
ARG PULUMI_GITHUB_VERSION=v6.14.0
# renovate: datasource=github-releases depName=pulumi/pulumi-gitlab
-ARG PULUMI_GITLAB_VERSION=v10.0.0
+ARG PULUMI_GITLAB_VERSION=v10.1.1
# renovate: datasource=github-releases depName=mapt-oss/pulumi-ibmcloud
ARG PULUMI_IBMCLOUD_VERSION=v0.0.12
ENV IBMCLOUD_PLUGIN_URL https://github.com/mapt-oss/pulumi-ibmcloud/releases/download/${PULUMI_IBMCLOUD_VERSION}/pulumi-resource-ibmcloud-${PULUMI_IBMCLOUD_VERSION}-linux-${TARGETARCH}.tar.gz
@@ -59,7 +59,7 @@ RUN mkdir -p ${PULUMI_HOME} \
&& pulumi plugin install resource gitlab ${PULUMI_GITLAB_VERSION}
# Stage 2: Red Hat Hardened minimal runtime (glibc + coreutils, no toolchain)
-FROM registry.access.redhat.com/hi/core-runtime@sha256:809fd66403145e6e98be0f8cce601f4fd0a685ff9cd3d11795aa987250d15c42
+FROM registry.access.redhat.com/hi/core-runtime@sha256:b1cc97b3fee6c84407bea32d4d638a898c160f6682179ef03e56d90af44cfc1f
USER 0
ARG TARGETARCH
LABEL org.opencontainers.image.authors="Redhat Developer"
diff --git a/tools/go.mod b/tools/go.mod
index fe4c1bf24..2313b7198 100644
--- a/tools/go.mod
+++ b/tools/go.mod
@@ -13,29 +13,24 @@ require github.com/golangci/golangci-lint/v2 v2.12.2
require (
dev.gaijin.team/go/exhaustruct/v4 v4.0.0 // indirect
github.com/bombsimon/wsl/v4 v4.7.0 // indirect
- github.com/charmbracelet/ultraviolet v0.0.0-20251205161215-1948445e3318 // indirect
+ github.com/charmbracelet/ultraviolet v0.0.0-20260730003005-19049f296fa9 // indirect
github.com/denis-tingaikin/go-header v0.5.0 // indirect
- github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect
github.com/ryancurrah/gomodguard v1.4.1 // indirect
-// github.com/golangci/gofmt v0.0.0-20251215234548-e7be49a5ab4d // indirect
)
require (
github.com/bombsimon/wsl/v5 v5.8.0 // indirect
- // github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect
github.com/ryancurrah/gomodguard/v2 v2.1.3 // indirect
)
require (
charm.land/lipgloss/v2 v2.0.5 // indirect
github.com/ClickHouse/clickhouse-go-linter v1.2.1 // indirect
- // github.com/charmbracelet/ultraviolet v0.0.0-20260713092251-4bee1914c0cf // indirect
github.com/charmbracelet/x/termios v0.1.1 // indirect
github.com/charmbracelet/x/windows v0.2.2 // indirect
github.com/clipperhouse/displaywidth v0.11.0 // indirect
// github.com/denis-tingaikin/go-header v1.0.0 // indirect
github.com/dlclark/regexp2/v2 v2.5.2 // indirect
- // github.com/golangci/gofmt v0.0.0-20251215234548-e7be49a5ab4d // indirect
github.com/golangci/golines v0.15.0 // indirect
github.com/golangci/rowserrcheck v0.0.0-20260701145345-399602f983c8 // indirect
github.com/muesli/cancelreader v0.2.2 // indirect
@@ -52,7 +47,7 @@ require (
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
github.com/godoc-lint/godoc-lint v0.11.2 // indirect
github.com/golangci/asciicheck v0.5.0 // indirect
- // github.com/golangci/gofmt e7be49a5ab4d // indirect
+ github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect
github.com/gostaticanalysis/nilerr v0.1.2 // indirect
github.com/nunnatsa/ginkgolinter v0.23.1 // indirect
)
@@ -75,7 +70,6 @@ require (
github.com/alecthomas/chroma/v2 v2.27.0 // indirect
github.com/alecthomas/go-check-sumtype v0.3.1 // indirect
github.com/alexkohler/nakedret/v2 v2.0.6 // indirect
- // github.com/alexkohler/prealloc v1.1.0 // indirect
github.com/alingse/asasalint v0.0.11 // indirect
github.com/alingse/nilnesserr v0.2.0 // indirect
github.com/ashanbrown/forbidigo/v2 v2.3.1 // indirect
@@ -98,9 +92,7 @@ require (
github.com/curioswitch/go-reassign v0.3.0 // indirect
github.com/daixiang0/gci v0.14.0 // indirect
github.com/dave/dst v0.27.4 // indirect
- github.com/davecgh/go-spew v1.1.1 // indirect; indirectProvision the latest available GA version of OCP 4.21.x on AWS with sufficient resources: 3 m5.8xlarge master nodes and 3 m5.2xlarge worker nodes.
- // github.com/denis-tingaikin/go-header v1.0.0 // indirect
- // github.com/dlclark/regexp2/v2 v2.0.3 // indirect
+ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect; indirectProvision the latest available GA version of OCP 4.21.x on AWS with sufficient resources: 3 m5.8xlarge master nodes and 3 m5.2xlarge worker nodes.
github.com/ettle/strcase v0.2.0 // indirect
github.com/fatih/color v1.19.0 // indirect
github.com/fatih/structtag v1.2.0 // indirect
@@ -121,8 +113,7 @@ require (
github.com/gobwas/glob v0.2.3 // indirect
github.com/gofrs/flock v0.13.0 // indirect
github.com/golangci/dupl v0.0.0-20260401084720-c99c5cf5c202 // indirect
- github.com/golangci/go-printf-func-name v0.1.1 // indirect
- // github.com/golangci/gofmt e7be49a5ab4d // indirect
+ github.com/golangci/go-printf-func-name v0.1.1 // indirect; ind
github.com/golangci/misspell v0.8.0 // indirect
github.com/golangci/plugin-module-register v0.1.2 // indirect
github.com/golangci/revgrep v0.8.0 // indirect
@@ -138,7 +129,7 @@ require (
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
github.com/hexops/gotextdiff v1.0.3 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
- github.com/jgautheron/goconst v1.10.2 // indirect
+ github.com/jgautheron/goconst v1.11.0 // indirect
github.com/jjti/go-spancheck v0.6.5 // indirect
github.com/julz/importas v0.2.0 // indirect
github.com/karamaru-alpha/copyloopvar v1.2.2 // indirect
@@ -172,8 +163,8 @@ require (
github.com/nishanths/exhaustive v0.12.0 // indirect
github.com/nishanths/predeclared v0.2.2 // indirect
github.com/pelletier/go-toml/v2 v2.4.3 // indirect
- github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.23.2 // indirect
+ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
+ github.com/prometheus/client_golang v1.24.1 // indirect
github.com/prometheus/client_model v0.6.2 // indirect
github.com/prometheus/common v0.70.1 // indirect
github.com/prometheus/procfs v0.21.1 // indirect
@@ -191,7 +182,7 @@ require (
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 // indirect
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
github.com/sashamelentyev/usestdlibvars v1.29.0 // indirect
- github.com/securego/gosec/v2 v2.27.1 // indirect
+ github.com/securego/gosec/v2 v2.28.0 // indirect
github.com/sirupsen/logrus v1.9.4 // indirect
github.com/sivchari/containedctx v1.0.3 // indirect
github.com/sonatard/noctx v0.5.1 // indirect
@@ -207,7 +198,7 @@ require (
github.com/stretchr/testify v1.11.1 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/tetafro/godot v1.5.6 // indirect
- github.com/timakin/bodyclose v0.0.0-20260129054331-73d1f95b84b4 // indirect
+ github.com/timakin/bodyclose v0.0.0-20260723120731-857993a2939c // indirect
github.com/timonwong/loggercheck v0.11.0 // indirect
github.com/tomarrell/wrapcheck/v2 v2.12.0 // indirect
github.com/tommy-muehle/go-mnd/v2 v2.5.1 // indirect
@@ -226,7 +217,7 @@ require (
go.augendre.info/fatcontext v0.10.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.28.0 // indirect
- golang.org/x/exp/typeparams v0.0.0-20260718201538-764159d718ef // indirect
+ golang.org/x/exp/typeparams v0.0.0-20260727155853-b88d891fe743 // indirect
golang.org/x/mod v0.38.0 // indirect
golang.org/x/sync v0.22.0 // indirect
golang.org/x/sys v0.47.0 // indirect
@@ -235,6 +226,6 @@ require (
google.golang.org/protobuf v1.36.11 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
honnef.co/go/tools v0.7.0 // indirect
- mvdan.cc/gofumpt v0.10.0 // indirect
+ mvdan.cc/gofumpt v0.11.0 // indirect
mvdan.cc/unparam v0.0.0-20251027182757-5beb8c8f8f15 // indirect
)
diff --git a/tools/go.sum b/tools/go.sum
index 998fa4def..368c3dfe1 100644
--- a/tools/go.sum
+++ b/tools/go.sum
@@ -88,8 +88,8 @@ github.com/charithe/durationcheck v0.0.11 h1:g1/EX1eIiKS57NTWsYtHDZ/APfeXKhye1Di
github.com/charithe/durationcheck v0.0.11/go.mod h1:x5iZaixRNl8ctbM+3B2RrPG5t856TxRyVQEnbIEM2X4=
github.com/charmbracelet/colorprofile v0.4.3 h1:QPa1IWkYI+AOB+fE+mg/5/4HRMZcaXex9t5KX76i20Q=
github.com/charmbracelet/colorprofile v0.4.3/go.mod h1:/zT4BhpD5aGFpqQQqw7a+VtHCzu+zrQtt1zhMt9mR4Q=
-github.com/charmbracelet/ultraviolet v0.0.0-20251205161215-1948445e3318 h1:OqDqxQZliC7C8adA7KjelW3OjtAxREfeHkNcd66wpeI=
-github.com/charmbracelet/ultraviolet v0.0.0-20251205161215-1948445e3318/go.mod h1:Y6kE2GzHfkyQQVCSL9r2hwokSrIlHGzZG+71+wDYSZI=
+github.com/charmbracelet/ultraviolet v0.0.0-20260730003005-19049f296fa9 h1:4Hue6xu7UHYStXmrtNDX93FI2I9Ztjv8qa9tkMSQG30=
+github.com/charmbracelet/ultraviolet v0.0.0-20260730003005-19049f296fa9/go.mod h1:psnCZIfwwxVs6v6DhUc6NJ8AQ3ejvs2ejKwoOMeVmUk=
github.com/charmbracelet/x/ansi v0.11.7 h1:kzv1kJvjg2S3r9KHo8hDdHFQLEqn4RBCb39dAYC84jI=
github.com/charmbracelet/x/ansi v0.11.7/go.mod h1:9qGpnAVYz+8ACONkZBUWPtL7lulP9No6p1epAihUZwQ=
github.com/charmbracelet/x/term v0.2.2 h1:xVRT/S2ZcKdhhOuSP4t5cLi5o+JxklsoEObBSgfgZRk=
@@ -114,8 +114,9 @@ github.com/dave/dst v0.27.4/go.mod h1:jHh6EOibnHgcUW3WjKHisiooEkYwqpHLBSX1iOBhEy
github.com/dave/jennifer v1.7.1 h1:B4jJJDHelWcDhlRQxWeo0Npa/pYKBLrirAQoTN45txo=
github.com/dave/jennifer v1.7.1/go.mod h1:nXbxhEmQfOZhWml3D1cDK5M1FLnMSozpbFN/m3RmGZc=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
+github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/denis-tingaikin/go-header v0.5.0 h1:SRdnP5ZKvcO9KKRP1KJrhFR3RrlGuD+42t4429eC9k8=
github.com/denis-tingaikin/go-header v0.5.0/go.mod h1:mMenU5bWrok6Wl2UsZjy+1okegmwQ3UgWl4V1D8gjlY=
github.com/dlclark/regexp2 v1.12.0 h1:0j4c5qQmnC6XOWNjP3PIXURXN2gWx76rd3KvgdPkCz8=
@@ -204,8 +205,8 @@ github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
-github.com/google/pprof v0.0.0-20260507013755-92041b743c96 h1:YDDnaZ9afWajDboPMt9Vikqca/yWAX7KAxVzb4lJU1M=
-github.com/google/pprof v0.0.0-20260507013755-92041b743c96/go.mod h1:MxpfABSjhmINe3F1It9d+8exIHFvUqtLIRCdOGNXqiI=
+github.com/google/pprof v0.0.0-20260709232956-b9395ee17fa0 h1:du0WGc8xSKq/++e0cglxhS/mXVqsR7+c7jLEi5Vqduw=
+github.com/google/pprof v0.0.0-20260709232956-b9395ee17fa0/go.mod h1:MxpfABSjhmINe3F1It9d+8exIHFvUqtLIRCdOGNXqiI=
github.com/gordonklaus/ineffassign v0.2.0 h1:Uths4KnmwxNJNzq87fwQQDDnbNb7De00VOk9Nu0TySs=
github.com/gordonklaus/ineffassign v0.2.0/go.mod h1:TIpymnagPSexySzs7F9FnO1XFTy8IT3a59vmZp5Y9Lw=
github.com/gostaticanalysis/analysisutil v0.7.1 h1:ZMCjoue3DtDWQ5WyU16YbjbQEQ3VuzwxALrpYd+HeKk=
@@ -233,8 +234,8 @@ github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUq
github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
-github.com/jgautheron/goconst v1.10.2 h1:0wFg/DbpYB0ChoP94qUM+SuQpqj5oCzPEqAil5dV8Pg=
-github.com/jgautheron/goconst v1.10.2/go.mod h1:0p+wv1lFOiUr0IlNNT1nrm6+8DB8u2sU6KHGzFRXHDc=
+github.com/jgautheron/goconst v1.11.0 h1:KgN90z5qXt5f0Uzf3cWXev3hfMMFUyNeKdpkSBRvLDk=
+github.com/jgautheron/goconst v1.11.0/go.mod h1:0p+wv1lFOiUr0IlNNT1nrm6+8DB8u2sU6KHGzFRXHDc=
github.com/jjti/go-spancheck v0.6.5 h1:lmi7pKxa37oKYIMScialXUK6hP3iY5F1gu+mLBPgYB8=
github.com/jjti/go-spancheck v0.6.5/go.mod h1:aEogkeatBrbYsyW6y5TgDfihCulDYciL1B7rG2vSsrU=
github.com/julz/importas v0.2.0 h1:y+MJN/UdL63QbFJHws9BVC5RpA2iq0kpjrFajTGivjQ=
@@ -309,10 +310,10 @@ github.com/nishanths/predeclared v0.2.2 h1:V2EPdZPliZymNAn79T8RkNApBjMmVKh5XRpLm
github.com/nishanths/predeclared v0.2.2/go.mod h1:RROzoN6TnGQupbC+lqggsOlcgysk3LMK/HI84Mp280c=
github.com/nunnatsa/ginkgolinter v0.23.1 h1:1JOE+iDubBmH2YvP485w9AHBI8osHFBdVeMucRRvkDM=
github.com/nunnatsa/ginkgolinter v0.23.1/go.mod h1:jh1sHyjC5TzL24rFUJvxtXV0iD2/9S7C/8N4aQd/lag=
-github.com/onsi/ginkgo/v2 v2.29.0 h1:rfh+ZFjgJhYWRoIqVf3Uwx/W20yLrcrE2h2GmYVRaag=
-github.com/onsi/ginkgo/v2 v2.29.0/go.mod h1:+aXOY+vzZ5mu2iI2HpTZUPmM//oQfsNFX6gU9kNcA44=
-github.com/onsi/gomega v1.41.0 h1:OwKp4pXNgVxf6sCplzYo794OFNuoL2q2SBMU5NSWOjA=
-github.com/onsi/gomega v1.41.0/go.mod h1:M/Uqpu/8qTjtzCLUA2zJHX9Iilrau25x1PdoSRbWh5A=
+github.com/onsi/ginkgo/v2 v2.32.0 h1:Hw7s2pVrQo/8Yz5N77qdnpHaoc+c6cC9WIV1Jce+J6E=
+github.com/onsi/ginkgo/v2 v2.32.0/go.mod h1:+aXOY+vzZ5mu2iI2HpTZUPmM//oQfsNFX6gU9kNcA44=
+github.com/onsi/gomega v1.42.1 h1:iN1rCUX+44NZ1Dc97MPoeFYbFR0vh8zxoxMFwKdyZ6I=
+github.com/onsi/gomega v1.42.1/go.mod h1:REff/hsDsodHoKlWsP2mAPhu1+5/6hVYNf9rIEBpeSg=
github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw=
github.com/otiai10/copy v1.14.0 h1:dCI/t1iTdYGtkvCuBG2BgR6KZa83PTclw4U5n2wAllU=
github.com/otiai10/copy v1.14.0/go.mod h1:ECfuL02W+/FkTWZWgQqXPWZgW9oeKCSQ5qVfSc4qc4w=
@@ -322,10 +323,11 @@ github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT9
github.com/otiai10/mint v1.3.1/go.mod h1:/yxELlJQ0ufhjUwhshSj+wFjZ78CnZ48/1wtmBH1OTc=
github.com/pelletier/go-toml/v2 v2.4.3 h1:GTRvJQutkOSftxIFD5xw9aepkYNuPWmVJpffdDPYVpY=
github.com/pelletier/go-toml/v2 v2.4.3/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY=
-github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.23.2 h1:Je96obch5RDVy3FDMndoUsjAhG5Edi49h0RJWRi/o0o=
-github.com/prometheus/client_golang v1.23.2/go.mod h1:Tb1a6LWHB3/SPIzCoaDXI4I8UHKeFTEQ1YCr+0Gyqmg=
+github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
+github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/prometheus/client_golang v1.24.1 h1:JnJkREXzWxUdCuPFpIWZiPispT9xVV59uiuyR2bPlnU=
+github.com/prometheus/client_golang v1.24.1/go.mod h1:F+oSRECHg4sse5ucfYpYDeIv/hu68Zo0uoHKetWnzcE=
github.com/prometheus/client_model v0.6.2 h1:oBsgwpGs7iVziMvrGhE53c/GrLUsZdHnqNwqPLxwZyk=
github.com/prometheus/client_model v0.6.2/go.mod h1:y3m2F6Gdpfy6Ut/GBsUqTWZqCUvMVzSfMLjcu6wAwpE=
github.com/prometheus/common v0.70.1 h1:1HvjP4D5oL3t8RsPlwxA9onvvStjtIHYE5XuuwOi/PY=
@@ -365,8 +367,8 @@ github.com/sashamelentyev/interfacebloat v1.1.0 h1:xdRdJp0irL086OyW1H/RTZTr1h/tM
github.com/sashamelentyev/interfacebloat v1.1.0/go.mod h1:+Y9yU5YdTkrNvoX0xHc84dxiN1iBi9+G8zZIhPVoNjQ=
github.com/sashamelentyev/usestdlibvars v1.29.0 h1:8J0MoRrw4/NAXtjQqTHrbW9NN+3iMf7Knkq057v4XOQ=
github.com/sashamelentyev/usestdlibvars v1.29.0/go.mod h1:8PpnjHMk5VdeWlVb4wCdrB8PNbLqZ3wBZTZWkrpZZL8=
-github.com/securego/gosec/v2 v2.27.1 h1:bg4lZnpCCpC8e5l0K+ADF5gG91jmT2LQgOcOflwBfJI=
-github.com/securego/gosec/v2 v2.27.1/go.mod h1:lbgwsogcxq9aoN62Bk/vcdWwemFjlT5NPF/D/dH4+Ho=
+github.com/securego/gosec/v2 v2.28.0 h1:ZsSdiDb0AtTpLFVol5z91gbMei9ZiLEPG/pZjZujp7c=
+github.com/securego/gosec/v2 v2.28.0/go.mod h1:lb4/9AHe+lJy/kjWmWRWWsEipvbwGKuxf+tY1Pmjdnk=
github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w=
@@ -408,8 +410,8 @@ github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3 h1:f+jULpR
github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3/go.mod h1:ON8b8w4BN/kE1EOhwT0o+d62W65a6aPw1nouo9LMgyY=
github.com/tetafro/godot v1.5.6 h1:IEkrFCwXaYHlOn4mGzGS3F3dkP6m9t0jpwqBFPIkKiA=
github.com/tetafro/godot v1.5.6/go.mod h1:eOkMrVQurDui411nBY2FA05EYH01r14LuWY/NrVDVcU=
-github.com/timakin/bodyclose v0.0.0-20260129054331-73d1f95b84b4 h1:SiHe5XLTn9sFWJ5pBwJ5FN/4j34q9ZlOAD//kMoMYp0=
-github.com/timakin/bodyclose v0.0.0-20260129054331-73d1f95b84b4/go.mod h1:sDHLK7rb/59v/ZxZ7KtymgcoxuUMxjXq8gtu9VMOK8M=
+github.com/timakin/bodyclose v0.0.0-20260723120731-857993a2939c h1:d/FUP8GD4QiY/rdFzZmBu3KqL9eBNVzMu7W/5pGkaMM=
+github.com/timakin/bodyclose v0.0.0-20260723120731-857993a2939c/go.mod h1:sDHLK7rb/59v/ZxZ7KtymgcoxuUMxjXq8gtu9VMOK8M=
github.com/timonwong/loggercheck v0.11.0 h1:jdaMpYBl+Uq9mWPXv1r8jc5fC3gyXx4/WGwTnnNKn4M=
github.com/timonwong/loggercheck v0.11.0/go.mod h1:HEAWU8djynujaAVX7QI65Myb8qgfcZ1uKbdpg3ZzKl8=
github.com/tomarrell/wrapcheck/v2 v2.12.0 h1:H/qQ1aNWz/eeIhxKAFvkfIA+N7YDvq6TWVFL27Of9is=
@@ -470,8 +472,8 @@ golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b h1:M2rDM6z3Fhozi9O7NWsxAkg/y
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b/go.mod h1:3//PLf8L/X+8b4vuAfHzxeRUl04Adcb341+IGKfnqS8=
golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
golang.org/x/exp/typeparams v0.0.0-20230203172020-98cc5a0785f9/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
-golang.org/x/exp/typeparams v0.0.0-20260718201538-764159d718ef h1:HbgfnigKyfbszJsaFQE4IMPTcjdKZMNxyYlF00yVkf4=
-golang.org/x/exp/typeparams v0.0.0-20260718201538-764159d718ef/go.mod h1:PqrXSW65cXDZH0k4IeUbhmg/bcAZDbzNz3byBpKCsXo=
+golang.org/x/exp/typeparams v0.0.0-20260727155853-b88d891fe743 h1:ogNEn2vL7NvKSXPZP6qcD4ifx4IkyUbu4HMPOEbS/8s=
+golang.org/x/exp/typeparams v0.0.0-20260727155853-b88d891fe743/go.mod h1:PqrXSW65cXDZH0k4IeUbhmg/bcAZDbzNz3byBpKCsXo=
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
@@ -555,7 +557,7 @@ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
honnef.co/go/tools v0.7.0 h1:w6WUp1VbkqPEgLz4rkBzH/CSU6HkoqNLp6GstyTx3lU=
honnef.co/go/tools v0.7.0/go.mod h1:pm29oPxeP3P82ISxZDgIYeOaf9ta6Pi0EWvCFoLG2vc=
-mvdan.cc/gofumpt v0.10.0 h1:yGGpRS2pBN2OQIi7b21IXknJna7faPkFaVfHLrN6Euo=
-mvdan.cc/gofumpt v0.10.0/go.mod h1:sU2ElXHzOEmvoPqfutYG7uunlueR4K2T1JFml40SzP4=
+mvdan.cc/gofumpt v0.11.0 h1:0H01XB95PnN2QgCSR9ELdZyTlJqNZ7181B0BTMh5VZc=
+mvdan.cc/gofumpt v0.11.0/go.mod h1:BeT5wCsOJt6J9zT2MZIOGszjUHzFkn1/l9g6xAzqsXo=
mvdan.cc/unparam v0.0.0-20251027182757-5beb8c8f8f15 h1:ssMzja7PDPJV8FStj7hq9IKiuiKhgz9ErWw+m68e7DI=
mvdan.cc/unparam v0.0.0-20251027182757-5beb8c8f8f15/go.mod h1:4M5MMXl2kW6fivUT6yRGpLLPNfuGtU2Z0cPvFquGDYU=
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/.golangci.yml b/tools/vendor/github.com/charmbracelet/ultraviolet/.golangci.yml
index 929cb0ac9..64474889e 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/.golangci.yml
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/.golangci.yml
@@ -1,38 +1,42 @@
version: "2"
-run:
- tests: false
linters:
enable:
- bodyclose
- - exhaustive
- - goconst
- - godot
- - gomoddirectives
+ # - exhaustive
+ # - goconst
+ # - godot
+ # - godox
+ # - gomoddirectives
- goprintffuncname
- - gosec
+ # - gosec
- misspell
- - nakedret
- - nestif
- - nilerr
+ # - nakedret
+ # - nestif
+ # - nilerr
- noctx
- nolintlint
- - prealloc
- - revive
+ # - prealloc
+ # - revive
- rowserrcheck
- sqlclosecheck
+ - staticcheck
- tparallel
- - unconvert
- - unparam
+ # - unconvert
+ # - unparam
- whitespace
- - wrapcheck
+ # - wrapcheck
+ disable:
+ - errcheck
+ - ineffassign
+ - unused
exclusions:
+ generated: lax
+ presets:
+ - common-false-positives
rules:
- text: '(slog|log)\.\w+'
linters:
- noctx
- generated: lax
- presets:
- - common-false-positives
issues:
max-issues-per-linter: 0
max-same-issues: 0
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/README.md b/tools/vendor/github.com/charmbracelet/ultraviolet/README.md
index eb83cc5ef..b28ccdd61 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/README.md
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/README.md
@@ -7,108 +7,141 @@
-Ultraviolet is a set of primitives for manipulating terminal emulators, with a focus on terminal user interfaces (TUIs). It provides a set of tools and abstractions for interaction that can handle user input and display dynamic, cell-based content. It’s the product of many years of research, development, collaboration and ingenuity.
+Ultraviolet is a set of primitives for building terminal user interfaces in Go.
+It provides cell-based rendering, cross-platform input handling, and a diffing
+renderer inspired by [ncurses](https://invisible-island.net/ncurses/)—without
+the need for `terminfo` or `termcap` databases.
-Ultraviolet is not a framework by design, however it can be used standalone to create powerful terminal applications. It’s in use in production and powers critical portions of [Bubble Tea v2][bbt] and [Lip Gloss v2][lg], and was instrumental in the development of [Crush][crush].
+Ultraviolet powers [Bubble Tea v2][bbt] and [Lip Gloss v2][lg]. It replaces the
+ad-hoc terminal primitives from earlier versions with a cohesive, imperative API
+that can also be used standalone.
-[crush]: https://github.com/charmbracelet/crush
[bbt]: https://github.com/charmbracelet/bubbletea
[lg]: https://github.com/charmbracelet/lipgloss
-> [!CAUTION]
-> This project currently exists to serve internal use cases. API stability is a goal, but expect no stability guarantees as of now.
+## Install
-## Features
+```bash
+go get github.com/charmbracelet/ultraviolet@latest
+```
+
+## Quick Start
+
+```go
+package main
+
+import (
+ "log"
-Ultraviolet is built with several core features in mind to make terminal
-application development easy and performant:
+ uv "github.com/charmbracelet/ultraviolet"
+ "github.com/charmbracelet/ultraviolet/screen"
+)
-### 👺 The Cursed Renderer
+func main() {
+ t := uv.DefaultTerminal()
+ scr := t.Screen()
-The cell-based rendering model—called _The Cursed Render_—was inspired by the infamous
-[ncurses](https://invisible-island.net/ncurses/) library, which has been an
-essential part of terminal applications for decades. Ultraviolet takes this
-concept and modernizes it for the Go programming language, providing a more
-ergonomic and efficient way to work with terminal cells without the need for
-archaic technologies like `terminfo` or `termcap` databases.
+ scr.EnterAltScreen()
-Unlike ncurses, it supports both full-window and inline use-cases as we see inline TUIs as important in maintaining user context and flow.
+ if err := t.Start(); err != nil {
+ log.Fatalf("failed to start terminal: %v", err)
+ }
+ defer t.Stop()
-### 🏎️ High Speeds and Low Bandwidth
+ ctx := screen.NewContext(scr)
+ text := "Hello, World!"
+ textWidth := scr.StringWidth(text)
-The built-in terminal renderer efficiently handles content updates by utilizing
-a powerful cell-based diffing algorithm that minimizes the amount of data
-written to the terminal using various ANSI escape sequences to accomplish this.
-This allows applications to update only the parts of the terminal that have
-changed, significantly improving performance and responsiveness.
+ display := func() {
+ screen.Clear(scr)
+ bounds := scr.Bounds()
+ x := (bounds.Dx() - textWidth) / 2
+ y := bounds.Dy() / 2
+ ctx.DrawString(text, x, y)
+ scr.Render()
+ scr.Flush()
+ }
-In practical terms, Ultraviolet optimizes for fast redraws that use minimal data transfer. This is very important locally and critically important over the network (for example, via SSH).
+ for ev := range t.Events() {
+ switch ev := ev.(type) {
+ case uv.WindowSizeEvent:
+ scr.Resize(ev.Width, ev.Height)
+ display()
+ case uv.KeyPressEvent:
+ if ev.MatchString("q", "ctrl+c") {
+ return
+ }
+ }
+ }
+}
+```
-### 💬 Universal Input
+## Architecture
-Input handling in terminals can be complex, especially when dealing with
-multiple input sources, different platforms, and ancient terminal baggage.
-Ultraviolet simplifies this by providing a unified interface for handling user
-input, allowing developers to focus on building their applications without
-getting bogged down in the intricacies of terminal input handling.
+Ultraviolet is organized as a set of layered primitives:
-### 🎮 Cross-Platform Compatibility
+- **Terminal** — manages the application lifecycle: raw mode, input event loop,
+ start/stop. Create one with `DefaultTerminal()` or `NewTerminal(console, opts)`.
-Ultraviolet is designed to work seamlessly across different platforms and
-terminal emulators. It abstracts away the differences in terminal capabilities
-and provides a consistent API for developers to work with, ensuring that
-applications built with Ultraviolet will run smoothly on various systems.
+- **TerminalScreen** — the screen state manager. Handles rendering, alternate
+ screen buffer, cursor, mouse modes, keyboard enhancements, bracketed paste,
+ window title, and more. Access it via `terminal.Screen()`.
-On Windows, it uses the [Windows Console API](https://learn.microsoft.com/en-us/windows/console/console-functions) to
-provide a consistent experience, while on Unix-like systems, it relies on the
-standard Termios API along with ANSI escape sequences to manipulate the
-terminal.
+- **Screen** — a minimal interface (`Bounds`, `CellAt`, `SetCell`,
+ `WidthMethod`) implemented by `TerminalScreen`, `Buffer`, `Window`, and
+ `ScreenBuffer`. Write code against `Screen` to stay decoupled from the
+ terminal.
-In short: Ultraviolet provides first-class support for both Unix and Windows-based systems.
+- **Buffer / Window** — off-screen cell buffers. `Buffer` is a flat grid of
+ cells. `Window` adds parent/child relationships and shared-buffer views.
+ Both implement `Screen` and `Drawable`.
-### 🧩 Extensible Architecture
+- **screen package** — drawing helpers that operate on any `Screen`: a
+ `Context` for styled text rendering (`Print`, `DrawString`, etc.) and
+ utility functions like `Clear`, `Fill`, `Clone`.
+
+- **layout package** — a constraint-based layout solver built on the
+ [Cassowary algorithm][casso]. Partition screen space with `Len`, `Min`,
+ `Max`, `Percent`, `Ratio`, and `Fill` constraints.
+
+[casso]: https://en.wikipedia.org/wiki/Cassowary_(software)
+
+## Features
-Ultraviolet is built with extensibility in mind, providing a solid API that can
-be embedded into other applications or used as a foundation for building custom
-terminal user interfaces. It allows developers to create their own components,
-styles, and behaviors, making it a versatile tool for building terminal
-applications.
+- **Cell-based diffing renderer** — only redraws what changed. Optimizes
+ cursor movement, uses ECH/REP/ICH/DCH when available, and supports scroll
+ optimizations. Minimal bandwidth, critical for SSH.
-## FAQ
+- **Universal input** — unified keyboard and mouse event handling across
+ platforms. Supports legacy encodings, Kitty keyboard protocol, SGR mouse,
+ and Windows Console input.
-### 🐈 What about other Charm libraries?
+- **Inline and fullscreen** — works in both alternate screen (fullscreen) and
+ inline mode. Inline TUIs preserve terminal context and scrollback.
-Ultraviolet is not a replacement for existing libraries like [Bubble Tea](https://github.com/charmbracelet/bubbletea) or [Lip
-Gloss](https://github.com/charmbracelet/lipgloss). Instead, it serves as a
-foundation for the latest versions of both of these libraries and others like them, providing the
-underlying primitives and abstractions needed to build terminal user interfaces
-applications and frameworks.
+- **Cross-platform** — first-class support for Unix (termios + ANSI) and
+ Windows (Console API). Consistent behavior across terminal emulators.
-### 🛁 How is it different from Bubble Tea?
+- **Suspend/resume** — `Stop()` and `Start()` can be called repeatedly for
+ suspend/resume cycles, shelling out to editors, or process suspension
+ via `uv.Suspend()`.
-Ultraviolet is a lower-level library that focuses on the core primitives of
-terminal manipulation, rendering, and input handling. It provides the building
-blocks for creating terminal applications, while Bubble Tea is a higher-level
-framework that builds on top of Ultraviolet to provide a more structured and
-opinionated way to build terminal user interfaces.
+## Examples
-### 💋 Is it a replacement for Lip Gloss?
+See the [`examples/`](./examples/) directory for core examples and
+[`examples/advanced/`](./examples/advanced/) for more complex demos.
-Simply put, no. Ultraviolet is not a replacement for Lip Gloss. Instead, it
-provides the underlying rendering capabilities that Lip Gloss can use to create
-styled terminal content. Lip Gloss is a higher-level library that builds on top
-of Ultraviolet by utilizing the cell-based rendering model to provide a
-simplified and ergonomic way to create styled terminal content and composition
-of terminal user interfaces.
+## Tutorial
-## ✏️ Tutorial
+See [TUTORIAL.md](./TUTORIAL.md) for a step-by-step guide to building your
+first Ultraviolet application.
-You can find a simple tutorial on how to create a UV application that displays
-"Hello, World!" on the screen in the [TUTORIAL.md](./TUTORIAL.md) file.
+> [!NOTE]
+> Ultraviolet is in active development. The API may change.
-## Whatcha think?
+## Feedback
-We’d love to hear your thoughts on this project. Feel free to drop us a note!
+We'd love to hear your thoughts on this project. Feel free to drop us a note!
- [Twitter](https://twitter.com/charmcli)
- [Discord](https://charm.land/discord)
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/TUTORIAL.md b/tools/vendor/github.com/charmbracelet/ultraviolet/TUTORIAL.md
index 655617213..d456d5a49 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/TUTORIAL.md
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/TUTORIAL.md
@@ -1,199 +1,167 @@
-# Hello World!
+# Tutorial: Hello World
-This is a simple tutorial on how to create a UV application that displays
-"Hello, World!" on the screen. UV is a terminal UI toolkit that allows you to
-create terminal applications with ease. It provides a simple API to handle
-screen management, input handling, and rendering content.
+This tutorial walks through building a simple Ultraviolet application that
+displays centered "Hello, World!" text. You'll learn the core concepts:
+creating a terminal, managing a screen, handling input events, and rendering.
-## Tutorial
+## Creating a Terminal
-What does UV consist of? A UV application consists of a screen that displays
-content, has some sort of input sources that can be used to interact with the
-screen, and is meant to display content or programs on the screen.
-
-First, we need to create a screen that will display our program. UV comes with
-a `Terminal` screen that is used to display content on a terminal.
+A `Terminal` manages the console, input event loop, and screen state.
```go
-t := uv.NewTerminal(os.Stdin, os.Stdout, os.Environ())
-// Or simply use...
-// t := uv.DefaultTerminal()
+t := uv.DefaultTerminal()
```
-A terminal screen has a few properties that are unique to it. For example, a
-terminal screen can go into raw mode, which is important to disable echoing of
-input characters, and to disable signal handling so that we can receive things
-like ctrl+c without the terminal interfering with our program.
+You can also create a terminal with a custom console and options:
-Another important property of a terminal screen is the alternate screen buffer.
-This property puts the terminal screen into a special mode that allows us to
-display content without interfering with the normal screen buffer.
+```go
+con := uv.NewConsole(os.Stdin, os.Stdout, os.Environ())
+t := uv.NewTerminal(con, &uv.Options{
+ Logger: myLogger, // optional, for debugging I/O
+})
+```
-In this tutorial, we will use the alternate screen buffer to display our
-program so that we don't affect the normal screen buffer.
+## Getting the Screen
-```go
-// Set the terminal to raw mode.
-if err := t.MakeRaw(); err != nil {
- log.Fatal(err)
-}
+The terminal's screen is where you draw content, manage the alternate screen
+buffer, and set cells.
-// Enter the alternate screen buffer. This will
-// only take affect once we flush or display
-// our program on the terminal screen.
-t.EnterAltScreen()
+```go
+scr := t.Screen()
+```
-// My program
-// ...
+## Alternate Screen
-// Make sure we leave the alternate screen buffer when we
-// are done with our program. This will be called automatically
-// when we use [t.Shutdown(ctx)] later.
-t.LeaveAltScreen()
+The alternate screen buffer lets your application display content without
+affecting the user's scrollback. Most fullscreen TUIs use it.
-// Make sure we restore the terminal to its original state
-// before we exit. We don't care about errors here, but you
-// can handle them if you want. This will be called automatically
-// when we use [t.Shutdown(ctx)] later.
-_ = t.Restore() //nolint:errcheck
+```go
+scr.EnterAltScreen()
```
-Now that we have our screen set to raw mode and in the alternate screen buffer,
-we can create our program that will be displayed on the screen. A program is an
-abstraction layer that handles different screen types and implementations. It
-only cares about displaying content on the screen.
+## Starting the Terminal
-We need to start our program before we can display anything on the screen. This
-will ensure that the program and screen are initialized and ready to display
-content. Internally, this will also call `t.Start()` to start the terminal
-screen.
+Starting puts the console into raw mode (disabling echoing and line buffering
+so we receive individual keypresses like ctrl+c), initializes the
+input event loop, and prepares the screen for rendering.
```go
if err := t.Start(); err != nil {
- log.Fatalf("failed to start program: %v", err)
+ log.Fatalf("failed to start terminal: %v", err)
}
+defer t.Stop()
```
-Let's display a simple frame with some text in it. A frame is a container that
-holds the buffer we're displaying. The final cursor position we want our cursor
-to be at, and the viewport area we are working with to display our content.
+`Stop()` restores the console, exits the alternate screen, and cleans up. It
+is safe to call multiple times and supports suspend/resume cycles.
+
+## Drawing Text
+
+You can set individual cells directly:
```go
for i, r := range "Hello, World!" {
- // We iterate over the string to display each character
- // in a separate cell. Ideally, we want each cell
- // to have exactly one grapheme. In this case, since
- // we're using a simple ASCII string, we know that
- // each character is a single grapheme with a width of 1.
- var c uv.Cell
- c.Content = string(r)
- c.Width = 1
- t.SetCell(i, 0, &c)
+ scr.SetCell(i, 0, &uv.Cell{Content: string(r), Width: 1})
}
-// Now we simply render the changes and flush them
-// to the terminal screen.
-_ = p.Display()
```
-Different screen models have different ways to receive input. Some models have
-a remote control, while others have a touch screen. A terminal can receive
-input from various peripherals usually through control codes and escape
-sequences. Our terminal has a `t.Events(ctx)` method that returns a channel
-which will receive events from different terminal input sources.
+Or use the `screen` helper package for convenience:
```go
-// We want to be able to stop the terminal input loop
-// whenever we call cancel().
-ctx, cancel := context.WithCancel(context.Background())
-defer cancel()
-
-for ev := range t.Events(ctx) {
- switch ev := ev.(type) {
- case uv.WindowSizeEvent:
- // Our terminal screen is resizable. This is important
- // as we want to inform our terminal screen with the
- // size we'd like to display our program in.
- // When we're using the full terminal window size,
- // we can assume that the terminal screen will
- // also have the same size as our program.
- // However, with inline programs, usually we want
- // the height to be the height of our program.
- // So if our inline program takes 10 lines, we
- // want to resize the terminal screen to 10 lines
- // high.
- width, height := ev.Width, ev.Height
- if !altscreen {
- height = 10
- }
- t.Resize(width, height)
- case uv.KeyPressEvent:
- if ev.MatchStrings("q", "ctrl+c") {
- // This will stop the input loop and cancel the context.
- cancel()
- }
- }
+ctx := screen.NewContext(scr)
+ctx.DrawString("Hello, World!", 0, 0)
+```
+
+The `Context` supports styled text, links, and wrapping. It implements
+`io.Writer`, so you can use `fmt.Fprint` and friends.
+
+## Rendering
+
+Drawing to the screen is a two-step process:
+
+1. **Render** — computes the minimal diff between the current and new screen
+ state, writing ANSI escape sequences to an internal buffer.
+2. **Flush** — writes the buffer to the terminal. This is the only step that
+ performs real I/O and can return an error.
+
+```go
+scr.Render()
+if err := scr.Flush(); err != nil {
+ log.Fatalf("flush failed: %v", err)
}
```
-Now that we've handled displaying our program and receiving input from the
-terminal, we need to handle the program's lifecycle. We need to make sure that
-we restore the terminal to its original state when we exit the program. A
-terminal program can be stopped gracefully using the `t.Shutdown(ctx)` method.
+## Handling Events
+
+The terminal provides a channel of input events. Range over it to process
+keyboard, mouse, and resize events:
```go
-// We need to make sure we stop the program gracefully
-// after we exit the input loop.
-if err := t.Shutdown(ctx); err != nil {
- log.Fatal(err)
+for ev := range t.Events() {
+ switch ev := ev.(type) {
+ case uv.WindowSizeEvent:
+ scr.Resize(ev.Width, ev.Height)
+ case uv.KeyPressEvent:
+ if ev.MatchString("q", "ctrl+c") {
+ return
+ }
+ }
}
```
-Finally, let's put everything together and create a simple program that displays
-a frame with "Hello, World!" in it. The program will exit when we press
-ctrl+c or q.
+`MatchString` accepts key names and modifier combinations like `"ctrl+a"`,
+`"shift+enter"`, or `"alt+tab"`.
+
+## Putting It Together
+
+Here's the complete program—centered "Hello, World!" that redraws on resize
+and exits on `q` or `ctrl+c`:
```go
+package main
+
+import (
+ "log"
+
+ uv "github.com/charmbracelet/ultraviolet"
+ "github.com/charmbracelet/ultraviolet/screen"
+)
+
func main() {
- t := uv.NewTerminal(os.Stdin, os.Stdout, os.Environ())
+ t := uv.DefaultTerminal()
+ scr := t.Screen()
- if err := t.MakeRaw(); err != nil {
- log.Fatalf("failed to make terminal raw: %v", err)
- }
+ scr.EnterAltScreen()
if err := t.Start(); err != nil {
- log.Fatalf("failed to start program: %v", err)
+ log.Fatalf("failed to start terminal: %v", err)
+ }
+ defer t.Stop()
+
+ ctx := screen.NewContext(scr)
+ text := "Hello, World!"
+ textWidth := scr.StringWidth(text)
+
+ display := func() {
+ screen.Clear(scr)
+ bounds := scr.Bounds()
+ x := (bounds.Dx() - textWidth) / 2
+ y := bounds.Dy() / 2
+ ctx.DrawString(text, x, y)
+ scr.Render()
+ scr.Flush()
}
- t.EnterAltScreen()
-
- ctx, cancel := context.WithCancel(context.Background())
- defer cancel()
-
- for ev := range t.Events(ctx) {
+ for ev := range t.Events() {
switch ev := ev.(type) {
case uv.WindowSizeEvent:
- width, height := ev.Width, ev.Height
- t.Erase()
- t.Resize(width, height)
+ scr.Resize(ev.Width, ev.Height)
+ display()
case uv.KeyPressEvent:
- if ev.MatchStrings("q", "ctrl+c") {
- cancel()
+ if ev.MatchString("q", "ctrl+c") {
+ return
}
}
-
- for i, r := range "Hello, World!" {
- var c uv.Cell
- c.Content = string(r)
- c.Width = 1
- t.SetCell(i, 0, &c)
- }
- if err := t.Display(); err != nil {
- log.Fatal(err)
- }
- }
-
- if err := t.Shutdown(ctx); err != nil {
- log.Fatal(err)
}
}
```
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/buffer.go b/tools/vendor/github.com/charmbracelet/ultraviolet/buffer.go
index 30c770c76..5a83fc375 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/buffer.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/buffer.go
@@ -39,9 +39,6 @@ func NewLine(width int) Line {
// Set sets the cell at the given x position.
func (l Line) Set(x int, c *Cell) {
- // maxCellWidth is the maximum width a terminal cell is expected to have.
- const maxCellWidth = 5
-
lineWidth := len(l)
if x < 0 || x >= lineWidth {
return
@@ -60,10 +57,10 @@ func (l Line) Set(x int, c *Cell) {
}
} else if pw == 0 {
// Writing to wide cell placeholders
- for j := 1; j < maxCellWidth && x-j >= 0; j++ {
+ for j := 1; x-j >= 0; j++ {
if wide := l.At(x - j); wide != nil {
if ww := wide.Width; ww > 1 && j < ww {
- for k := 0; k < ww; k++ {
+ for k := range ww {
l[x-j+k] = *wide
l[x-j+k].Empty()
}
@@ -92,8 +89,7 @@ func (l Line) Set(x int, c *Cell) {
}
if cw > 1 {
- // Mark wide cells with an zero cells.
- // We set the wide cell down below
+ // Mark wide cells with zero-width placeholder cells.
for j := 1; j < cw && x+j < lineWidth; j++ {
l[x+j] = Cell{}
}
@@ -116,15 +112,13 @@ func (l Line) String() string {
var buf strings.Builder
var pending bytes.Buffer
for _, c := range l {
- if cellEqual(&c, nil) {
- pending.WriteByte(' ')
+ if c.IsZero() {
continue
}
-
- if c.IsZero() {
+ if c.Equal(&EmptyCell) {
+ pending.WriteByte(' ')
continue
}
-
if pending.Len() > 0 {
buf.WriteString(pending.String())
pending.Reset()
@@ -149,7 +143,10 @@ func renderLine(buf io.StringWriter, l Line) {
var pending bytes.Buffer
for _, c := range l {
- if cellEqual(&c, nil) {
+ if c.IsZero() {
+ continue
+ }
+ if c.Equal(&EmptyCell) {
if !pen.IsZero() {
_, _ = buf.WriteString(ansi.ResetStyle)
pen = Style{}
@@ -190,6 +187,9 @@ func renderLine(buf io.StringWriter, l Line) {
_, _ = buf.WriteString(c.String())
}
+ if pending.Len() > 0 {
+ _, _ = buf.WriteString(pending.String())
+ }
if link.URL != "" {
_, _ = buf.WriteString(ansi.ResetHyperlink())
}
@@ -198,15 +198,56 @@ func renderLine(buf io.StringWriter, l Line) {
}
}
+// Lines represents a slice of lines.
+type Lines []Line
+
+// Height returns the height of the lines.
+func (ls Lines) Height() int {
+ return len(ls)
+}
+
+// Width returns the width of the widest line.
+func (ls Lines) Width() int {
+ maxWidth := 0
+ for _, l := range ls {
+ maxWidth = max(maxWidth, len(l))
+ }
+ return maxWidth
+}
+
+// String returns the string representation of the lines.
+func (ls Lines) String() string {
+ var buf strings.Builder
+ for i, l := range ls {
+ buf.WriteString(l.String())
+ if i < len(ls)-1 {
+ _ = buf.WriteByte('\n')
+ }
+ }
+ return buf.String()
+}
+
+// Render renders the lines to a styled string with all the required attributes
+// and styles.
+func (ls Lines) Render() string {
+ var buf strings.Builder
+ for i, l := range ls {
+ renderLine(&buf, l)
+ if i < len(ls)-1 {
+ _ = buf.WriteByte('\n')
+ }
+ }
+ return buf.String()
+}
+
// Buffer represents a cell buffer that contains the contents of a screen.
type Buffer struct {
// Lines is a slice of lines that make up the cells of the buffer.
Lines []Line
- // Touched represents the lines that have been modified or touched. It is
- // used to track which lines need to be redrawn.
- Touched []*LineData
}
+var _ Drawable = (*Buffer)(nil)
+
// NewBuffer creates a new buffer with the given width and height.
// This is a convenience function that initializes a new buffer and resizes it.
func NewBuffer(width int, height int) *Buffer {
@@ -218,34 +259,19 @@ func NewBuffer(width int, height int) *Buffer {
b.Lines[i][j] = EmptyCell
}
}
- b.Touched = make([]*LineData, height)
b.Resize(width, height)
return b
}
// String returns the string representation of the buffer.
func (b *Buffer) String() string {
- var buf strings.Builder
- for i, l := range b.Lines {
- buf.WriteString(l.String())
- if i < len(b.Lines)-1 {
- _ = buf.WriteByte('\n')
- }
- }
- return buf.String()
+ return Lines(b.Lines).String()
}
// Render renders the buffer to a styled string with all the required
// attributes and styles.
func (b *Buffer) Render() string {
- var buf strings.Builder
- for i, l := range b.Lines {
- renderLine(&buf, l)
- if i < len(b.Lines)-1 {
- _ = buf.WriteByte('\n')
- }
- }
- return buf.String()
+ return Lines(b.Lines).Render()
}
// Line returns a pointer to the line at the given y position.
@@ -272,41 +298,9 @@ func (b *Buffer) SetCell(x, y int, c *Cell) {
return
}
- if !cellEqual(b.CellAt(x, y), c) {
- width := 1
- if c != nil && c.Width > 0 {
- width = c.Width
- }
- b.TouchLine(x, y, width)
- }
b.Lines[y].Set(x, c)
}
-// Touch marks the cell at the given x, y position as touched.
-func (b *Buffer) Touch(x, y int) {
- b.TouchLine(x, y, 0)
-}
-
-// TouchLine marks a line n times starting at the given x position as touched.
-func (b *Buffer) TouchLine(x, y, n int) {
- if y < 0 || y >= len(b.Lines) {
- return
- }
-
- if y >= len(b.Touched) {
- b.Touched = append(b.Touched, make([]*LineData, y-len(b.Touched)+1)...)
- }
-
- ch := b.Touched[y]
- if ch == nil {
- ch = &LineData{FirstCell: x, LastCell: x + n}
- } else {
- ch.FirstCell = min(ch.FirstCell, x)
- ch.LastCell = max(ch.LastCell, x+n)
- }
- b.Touched[y] = ch
-}
-
// Height implements Screen.
func (b *Buffer) Height() int {
return len(b.Lines)
@@ -317,16 +311,12 @@ func (b *Buffer) Width() int {
if len(b.Lines) == 0 {
return 0
}
- w := len(b.Lines[0])
- for _, l := range b.Lines {
- if len(l) > w {
- w = len(l)
- }
- }
- return w
+ return len(b.Lines[0])
}
// Bounds returns the bounds of the buffer.
+// The origin is always at (0, 0) and the maximum coordinates are determined by
+// the width and height of the buffer.
func (b *Buffer) Bounds() Rectangle {
return Rect(0, 0, b.Width(), b.Height())
}
@@ -386,7 +376,12 @@ func (b *Buffer) FillArea(c *Cell, area Rectangle) {
// Clear clears the buffer with space cells and rectangle.
func (b *Buffer) Clear() {
- b.ClearArea(b.Bounds())
+ area := b.Bounds()
+ for y := area.Min.Y; y < area.Max.Y; y++ {
+ for x := area.Min.X; x < area.Max.X; x++ {
+ b.Lines[y][x] = EmptyCell
+ }
+ }
}
// ClearArea clears the buffer with space cells within the specified
@@ -404,12 +399,14 @@ func (b *Buffer) CloneArea(area Rectangle) *Buffer {
}
n := NewBuffer(area.Dx(), area.Dy())
for y := area.Min.Y; y < area.Max.Y; y++ {
- for x := area.Min.X; x < area.Max.X; x++ {
+ for x := area.Min.X; x < area.Max.X; {
c := b.CellAt(x, y)
if c == nil || c.IsZero() {
+ x++
continue
}
n.SetCell(x-area.Min.X, y-area.Min.Y, c)
+ x += max(c.Width, 1)
}
}
return n
@@ -429,7 +426,7 @@ func (b *Buffer) Draw(scr Screen, area Rectangle) {
// Ensure the area is within the bounds of the screen.
bounds := scr.Bounds()
- if !area.In(bounds) {
+ if !area.Overlaps(bounds) {
return
}
@@ -441,7 +438,11 @@ func (b *Buffer) Draw(scr Screen, area Rectangle) {
continue
}
scr.SetCell(x, y, c)
- x += c.Width
+ width := c.Width
+ if width <= 0 {
+ width = 1
+ }
+ x += width
}
}
}
@@ -476,8 +477,6 @@ func (b *Buffer) InsertLineArea(y, n int, c *Cell, area Rectangle) {
// We don't need to clone c here because we're just moving lines down.
b.Lines[i][x] = b.Lines[i-n][x]
}
- b.TouchLine(area.Min.X, i, area.Max.X-area.Min.X)
- b.TouchLine(area.Min.X, i-n, area.Max.X-area.Min.X)
}
// Clear the newly inserted lines within bounds
@@ -510,8 +509,6 @@ func (b *Buffer) DeleteLineArea(y, n int, c *Cell, area Rectangle) {
// We don't need to clone c here because we're just moving cells up.
b.Lines[dst][x] = b.Lines[src][x]
}
- b.TouchLine(area.Min.X, dst, area.Max.X-area.Min.X)
- b.TouchLine(area.Min.X, src, area.Max.X-area.Min.X)
}
// Fill the bottom n lines with blank cells
@@ -557,8 +554,6 @@ func (b *Buffer) InsertCellArea(x, y, n int, c *Cell, area Rectangle) {
// right.
b.Lines[y][i] = b.Lines[y][i-n]
}
- // Touch the lines that were moved
- b.TouchLine(x, y, n)
// Clear the newly inserted cells within rectangle bounds
for i := x; i < x+n && i < area.Max.X; i++ {
@@ -597,8 +592,6 @@ func (b *Buffer) DeleteCellArea(x, y, n int, c *Cell, area Rectangle) {
b.SetCell(i, y, b.CellAt(i+n, y))
}
}
- // Touch the line that was modified
- b.TouchLine(x, y, n)
// Fill the vacated positions with the given cell
for i := area.Max.X - n; i < area.Max.X; i++ {
@@ -608,17 +601,20 @@ func (b *Buffer) DeleteCellArea(x, y, n int, c *Cell, area Rectangle) {
// ScreenBuffer is a buffer that can be used as a [Screen].
type ScreenBuffer struct {
- *Buffer
+ *RenderBuffer
Method ansi.Method
}
-var _ Screen = ScreenBuffer{}
+var (
+ _ Screen = ScreenBuffer{}
+ _ Drawable = ScreenBuffer{}
+)
// NewScreenBuffer creates a new ScreenBuffer with the given width and height.
func NewScreenBuffer(width, height int) ScreenBuffer {
return ScreenBuffer{
- Buffer: NewBuffer(width, height),
- Method: ansi.WcWidth,
+ RenderBuffer: NewRenderBuffer(width, height),
+ Method: ansi.WcWidth,
}
}
@@ -646,3 +642,193 @@ func TrimSpace(s string) string {
}
return strings.Join(lines, "\n")
}
+
+// RenderBuffer represents a buffer that keeps track of the current and new
+// state of the screen, allowing for efficient rendering by only updating the
+// parts of the screen that have changed.
+type RenderBuffer struct {
+ *Buffer
+ Touched []*LineData
+}
+
+// NewRenderBuffer creates a new [RenderBuffer] with the given width and height.
+func NewRenderBuffer(width, height int) *RenderBuffer {
+ return &RenderBuffer{
+ Buffer: NewBuffer(width, height),
+ Touched: make([]*LineData, height),
+ }
+}
+
+// TouchLine marks a line n times starting at the given x position as touched.
+func (b *RenderBuffer) TouchLine(x, y, n int) {
+ if y < 0 || y >= len(b.Lines) {
+ return
+ }
+
+ if y >= len(b.Touched) {
+ b.Touched = append(b.Touched, make([]*LineData, y-len(b.Touched)+1)...)
+ }
+
+ // Re-check bounds: a concurrent resize may have cleared Touched
+ if y >= len(b.Touched) {
+ return
+ }
+
+ ch := b.Touched[y]
+ if ch == nil {
+ ch = &LineData{FirstCell: x, LastCell: x + n}
+ } else {
+ ch.FirstCell = min(ch.FirstCell, x)
+ ch.LastCell = max(ch.LastCell, x+n)
+ }
+ b.Touched[y] = ch
+}
+
+// Touch marks the cell at the given x, y position as touched.
+func (b *RenderBuffer) Touch(x, y int) {
+ b.TouchLine(x, y, 0)
+}
+
+// TouchedLines returns the number of touched lines in the buffer.
+func (b *RenderBuffer) TouchedLines() int {
+ if b.Touched == nil {
+ return 0
+ }
+ count := 0
+ for _, t := range b.Touched {
+ if t != nil {
+ count++
+ }
+ }
+ return count
+}
+
+// SetCell sets the cell at the given x, y position and marks the line as
+// touched.
+func (b *RenderBuffer) SetCell(x, y int, c *Cell) {
+ if p := b.CellAt(x, y); !cellEqual(p, c) {
+ width := 1
+ if c != nil && c.Width > 0 {
+ width = c.Width
+ }
+ if p != nil && p.Width > 0 {
+ width = max(width, p.Width)
+ }
+ b.TouchLine(x, y, width)
+ }
+ b.Buffer.SetCell(x, y, c)
+}
+
+// InsertLine inserts n lines at the given line position, with the given
+// optional cell, within the specified rectangles. If no rectangles are
+// specified, it inserts lines in the entire buffer. Only cells within the
+// rectangle's horizontal bounds are affected. Lines are pushed out of the
+// rectangle bounds and lost. This follows terminal [ansi.IL] behavior.
+func (b *RenderBuffer) InsertLine(y, n int, c *Cell) {
+ b.InsertLineArea(y, n, c, b.Bounds())
+}
+
+// InsertLineArea inserts new lines at the given line position, with the given
+// optional cell, within the rectangle bounds. Only cells within the
+// rectangle's horizontal bounds are affected. Lines are pushed out of the
+// rectangle bounds and lost. This follows terminal [ansi.IL] behavior.
+func (b *RenderBuffer) InsertLineArea(y, n int, c *Cell, area Rectangle) {
+ b.Buffer.InsertLineArea(y, n, c, area)
+ for i := area.Min.Y; i < area.Max.Y; i++ {
+ b.TouchLine(area.Min.X, i, area.Max.X-area.Min.X)
+ b.TouchLine(area.Min.X, i-n, area.Max.X-area.Min.X)
+ }
+}
+
+// DeleteLine deletes n lines at the given line position, with the given
+// optional cell, within the specified rectangles. If no rectangles are
+// specified, it deletes lines in the entire buffer.
+func (b *RenderBuffer) DeleteLine(y, n int, c *Cell) {
+ b.DeleteLineArea(y, n, c, b.Bounds())
+}
+
+// DeleteLineArea deletes lines at the given line position, with the given
+// optional cell, within the rectangle bounds. Only cells within the
+// rectangle's bounds are affected. Lines are shifted up within the bounds and
+// new blank lines are created at the bottom. This follows terminal [ansi.DL]
+// behavior.
+func (b *RenderBuffer) DeleteLineArea(y, n int, c *Cell, area Rectangle) {
+ b.Buffer.DeleteLineArea(y, n, c, area)
+ for i := area.Min.Y; i < area.Max.Y; i++ {
+ b.TouchLine(area.Min.X, i, area.Max.X-area.Min.X)
+ b.TouchLine(area.Min.X, i+n, area.Max.X-area.Min.X)
+ }
+}
+
+// InsertCell inserts new cells at the given position, with the given optional
+// cell, within the specified rectangles. If no rectangles are specified, it
+// inserts cells in the entire buffer. This follows terminal [ansi.ICH]
+// behavior.
+func (b *RenderBuffer) InsertCell(x, y, n int, c *Cell) {
+ b.InsertCellArea(x, y, n, c, b.Bounds())
+}
+
+// InsertCellArea inserts new cells at the given position, with the given
+// optional cell, within the rectangle bounds. Only cells within the
+// rectangle's bounds are affected, following terminal [ansi.ICH] behavior.
+func (b *RenderBuffer) InsertCellArea(x, y, n int, c *Cell, area Rectangle) {
+ b.Buffer.InsertCellArea(x, y, n, c, area)
+ if x+n > area.Max.X {
+ n = area.Max.X - x
+ }
+ b.TouchLine(x, y, n)
+}
+
+// DeleteCell deletes cells at the given position, with the given optional
+// cell, within the specified rectangles. If no rectangles are specified, it
+// deletes cells in the entire buffer. This follows terminal [ansi.DCH]
+// behavior.
+func (b *RenderBuffer) DeleteCell(x, y, n int, c *Cell) {
+ b.DeleteCellArea(x, y, n, c, b.Bounds())
+}
+
+// DeleteCellArea deletes cells at the given position, with the given
+// optional cell, within the rectangle bounds. Only cells within the
+// rectangle's bounds are affected, following terminal [ansi.DCH] behavior.
+func (b *RenderBuffer) DeleteCellArea(x, y, n int, c *Cell, area Rectangle) {
+ b.Buffer.DeleteCellArea(x, y, n, c, area)
+ remainingCells := area.Max.X - x
+ if n > remainingCells {
+ n = remainingCells
+ }
+ b.TouchLine(x, y, n)
+}
+
+// Clear clears the buffer with space cells and marks all lines as touched.
+func (b *RenderBuffer) Clear() {
+ b.Buffer.Clear()
+ w := b.Width()
+ for y := range b.Lines {
+ b.TouchLine(0, y, w)
+ }
+}
+
+// ClearArea clears the buffer with space cells within the specified rectangle
+// and marks the affected lines as touched.
+func (b *RenderBuffer) ClearArea(area Rectangle) {
+ b.Buffer.ClearArea(area)
+ w := area.Max.X - area.Min.X
+ for y := area.Min.Y; y < area.Max.Y; y++ {
+ b.TouchLine(area.Min.X, y, w)
+ }
+}
+
+// Fill fills the buffer with the given cell and marks all lines as touched.
+func (b *RenderBuffer) Fill(c *Cell) {
+ b.FillArea(c, b.Bounds())
+}
+
+// FillArea fills the buffer with the given cell within the specified rectangle
+// and marks the affected lines as touched.
+func (b *RenderBuffer) FillArea(c *Cell, area Rectangle) {
+ b.Buffer.FillArea(c, area)
+ w := area.Max.X - area.Min.X
+ for y := area.Min.Y; y < area.Max.Y; y++ {
+ b.TouchLine(area.Min.X, y, w)
+ }
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/cell.go b/tools/vendor/github.com/charmbracelet/ultraviolet/cell.go
index ea89b553a..a5d9e823c 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/cell.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/cell.go
@@ -65,6 +65,12 @@ func (c *Cell) IsZero() bool {
return *c == Cell{}
}
+// isWidePlaceholder reports whether the cell is the continuation column of a
+// wide cell, marked with a zero display width.
+func (c *Cell) isWidePlaceholder() bool {
+ return c != nil && c.Width == 0
+}
+
// Clone returns a copy of the cell.
func (c *Cell) Clone() (n *Cell) {
n = new(Cell)
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/console.go b/tools/vendor/github.com/charmbracelet/ultraviolet/console.go
new file mode 100644
index 000000000..7ef37fd60
--- /dev/null
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/console.go
@@ -0,0 +1,219 @@
+package uv
+
+import (
+ "io"
+ "os"
+ "runtime"
+
+ "github.com/charmbracelet/x/term"
+)
+
+var isWindows = runtime.GOOS == "windows"
+
+// File is an interface that represents a file with a file descriptor.
+//
+// This is typically an [os.File] like [os.Stdin] and [os.Stdout].
+type File interface {
+ io.ReadWriteCloser
+ term.File
+
+ // Name returns the name of the file.
+ Name() string
+}
+
+// Winsize represents the size of a terminal in cells and pixels.
+//
+// This is the same as [unix.Winsize], but defined here for cross-platform compatibility.
+type Winsize struct {
+ Row uint16
+ Col uint16
+ Xpixel uint16
+ Ypixel uint16
+}
+
+// Console represents a cross-platform console I/O interface.
+type Console interface {
+ io.ReadWriteCloser
+
+ // Environ returns the console's environment variables.
+ Environ() []string
+
+ // Getenv retrieves the value of the environment variable named by the key.
+ Getenv(key string) string
+
+ // LookupEnv retrieves the value of the environment variable named by the key
+ // and a boolean indicating whether the variable is present.
+ LookupEnv(key string) (string, bool)
+
+ // Reader returns the input reader of the console.
+ Reader() io.Reader
+
+ // Writer returns the output writer of the console.
+ Writer() io.Writer
+
+ // MakeRaw puts the console input side into raw mode.
+ MakeRaw() (state *term.State, err error)
+
+ // Restore restores the console to its previous state.
+ Restore() error
+
+ // GetSize returns the current size of the console.
+ GetSize() (width, height int, err error)
+
+ // GetWinsize returns the current size of the console in cells and pixels.
+ GetWinsize() (*Winsize, error)
+}
+
+// TTY represents a Unix TTY device. It implements the [Console] interface.
+type TTY struct {
+ *console
+}
+
+var _ Console = (*TTY)(nil)
+
+// WinCon represents a Windows Console. It implements the [Console] interface.
+type WinCon struct {
+ *console
+}
+
+var _ Console = (*WinCon)(nil)
+
+// Console is a cross-platform console I/O.
+type console struct {
+ input File
+ inputState *term.State
+ output File
+ outputState *term.State
+ environ Environ
+}
+
+// DefaultConsole returns a new default console instance that uses standard I/O
+// [os.Stdin], [os.Stdout], and [os.Environ].
+//
+// To use [os.Stderr] as the output, you can create a new console with
+// [NewConsole] and pass [os.Stderr] as the output parameter.
+func DefaultConsole() Console {
+ return NewConsole(os.Stdin, os.Stdout, os.Environ())
+}
+
+// ControllingConsole returns a new console instance that uses the current
+// controlling terminal's input and output file descriptors.
+func ControllingConsole() (Console, error) {
+ inTty, outTty, err := OpenTTY()
+ if err != nil {
+ return nil, err
+ }
+ return NewConsole(inTty, outTty, os.Environ()), nil
+}
+
+// NewConsole creates a new [Console] with the given input, output, and
+// environment variables.
+//
+// You can use [OpenTTY] to open the current controlling console files and pass
+// them to this function. Use [ControllingConsole] for a convenience function
+// that does this for you.
+//
+// Use this to create a new terminal for PTY processes by passing the PTY slave
+// file as the input and output and any environment variables the process
+// needs.
+func NewConsole(input, output File, environ []string) Console {
+ if input == nil {
+ input = os.Stdin
+ }
+ if output == nil {
+ output = os.Stdout
+ }
+ if environ == nil {
+ environ = os.Environ()
+ }
+ return newConsole(input, output, environ)
+}
+
+// Environ returns the console's environment variables.
+func (t *console) Environ() []string {
+ return t.environ
+}
+
+// Writer returns the output writer of the console.
+func (t *console) Writer() io.Writer {
+ return t.output
+}
+
+// Reader returns the input reader of the console.
+func (t *console) Reader() io.Reader {
+ return t.input
+}
+
+// Write writes data to the console's output.
+func (t *console) Write(p []byte) (n int, err error) {
+ return t.output.Write(p)
+}
+
+// Read reads data from the console's input.
+func (t *console) Read(p []byte) (n int, err error) {
+ return t.input.Read(p)
+}
+
+// Getenv retrieves the value of the environment variable named by the key.
+func (t *console) Getenv(key string) string {
+ return t.environ.Getenv(key)
+}
+
+// LookupEnv retrieves the value of the environment variable named by the key
+// and a boolean indicating whether the variable is present.
+func (t *console) LookupEnv(key string) (string, bool) {
+ return t.environ.LookupEnv(key)
+}
+
+// MakeRaw puts the console input side into raw mode.
+func (t *console) MakeRaw() (state *term.State, err error) {
+ inState, outState, err := makeRaw(t.input, t.output)
+ if err != nil {
+ return nil, err
+ }
+ t.inputState = inState
+ t.outputState = outState
+ if inState != nil {
+ return inState, nil
+ }
+ return outState, nil
+}
+
+// Restore restores the console to its previous state.
+func (t *console) Restore() error {
+ if t.inputState != nil {
+ if err := term.Restore(t.input.Fd(), t.inputState); err != nil {
+ return err
+ }
+ t.inputState = nil
+ }
+ if t.outputState != nil {
+ if err := term.Restore(t.output.Fd(), t.outputState); err != nil {
+ return err
+ }
+ t.outputState = nil
+ }
+ return nil
+}
+
+// Close restores the console to its previous state and releases resources.
+func (t *console) Close() error {
+ if err := t.Restore(); err != nil {
+ return err
+ }
+ return nil
+}
+
+// GetSize returns the current size of the console.
+func (t *console) GetSize() (width, height int, err error) {
+ return getSize(t.input, t.output)
+}
+
+// GetWinsize returns the current size of the console in cells and pixels.
+func (t *console) GetWinsize() (*Winsize, error) {
+ ws, err := getWinsize(t.input, t.output)
+ if err != nil {
+ return nil, err
+ }
+ return &ws, nil
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/console_unix.go b/tools/vendor/github.com/charmbracelet/ultraviolet/console_unix.go
new file mode 100644
index 000000000..5460effff
--- /dev/null
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/console_unix.go
@@ -0,0 +1,13 @@
+//go:build !windows
+// +build !windows
+
+package uv
+
+func newConsole(in File, out File, env Environ) *TTY {
+ c := &console{
+ input: in,
+ output: out,
+ environ: env,
+ }
+ return &TTY{console: c}
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/console_windows.go b/tools/vendor/github.com/charmbracelet/ultraviolet/console_windows.go
new file mode 100644
index 000000000..0836f1c38
--- /dev/null
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/console_windows.go
@@ -0,0 +1,13 @@
+//go:build windows
+// +build windows
+
+package uv
+
+func newConsole(in File, out File, env Environ) *WinCon {
+ c := &console{
+ input: in,
+ output: out,
+ environ: env,
+ }
+ return &WinCon{console: c}
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/decoder.go b/tools/vendor/github.com/charmbracelet/ultraviolet/decoder.go
index 6d4ffc67c..a891dc27d 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/decoder.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/decoder.go
@@ -642,7 +642,7 @@ func (p *EventDecoder) parseCsi(b []byte) (int, Event) {
if !hOk || !wOk {
break
}
- return i, WindowPixelSizeEvent{Width: width, Height: height}
+ return i, PixelSizeEvent{Width: width, Height: height}
}
case 6: // Report Terminal character cell size.
if paramsLen == 3 {
@@ -673,7 +673,7 @@ func (p *EventDecoder) parseCsi(b []byte) (int, Event) {
}
return i, MultiEvent{
WindowSizeEvent{Width: cellWidth, Height: cellHeight},
- WindowPixelSizeEvent{Width: pixelWidth, Height: pixelHeight},
+ PixelSizeEvent{Width: pixelWidth, Height: pixelHeight},
}
}
}
@@ -1530,7 +1530,6 @@ func parseKittyKeyboard(params ansi.Params) (Event Event) {
func parseKittyKeyboardExt(params ansi.Params, k KeyPressEvent) Event {
// Handle Kitty keyboard protocol
if len(params) > 2 && // We have at least 3 parameters
- params[0].Param(1) == 1 && // The first parameter is 1 (defaults to 1)
params[1].HasMore() { // The second parameter is a subparameter (separated by a ":")
switch params[2].Param(1) { // The third parameter is the event type (defaults to 1)
case 2:
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/doc.go b/tools/vendor/github.com/charmbracelet/ultraviolet/doc.go
index af352053c..27b8a25c3 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/doc.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/doc.go
@@ -1,3 +1,46 @@
-// Package uv (Ultraviolet) is a library for creating terminal-based user
+// Package uv (Ultraviolet) provides primitives for building terminal user
// interfaces in Go.
+//
+// It offers cell-based screen buffers, a diffing terminal renderer, cross-platform
+// input decoding (keyboard, mouse, paste, focus, resize), and a windowing model
+// with off-screen buffers. Ultraviolet powers Bubble Tea v2 and Lip Gloss v2.
+//
+// # Getting Started
+//
+// Create a terminal, get its screen, and run an event loop:
+//
+// t := uv.DefaultTerminal()
+// scr := t.Screen()
+// scr.EnterAltScreen()
+//
+// if err := t.Start(); err != nil {
+// log.Fatal(err)
+// }
+// defer t.Stop()
+//
+// for ev := range t.Events() {
+// switch ev := ev.(type) {
+// case uv.WindowSizeEvent:
+// scr.Resize(ev.Width, ev.Height)
+// case uv.KeyPressEvent:
+// if ev.MatchString("q") { return }
+// }
+// }
+//
+// # Rendering
+//
+// Drawing is a two-step process. [TerminalScreen.Render] diffs the screen and
+// writes escape sequences to an internal buffer. [TerminalScreen.Flush] sends
+// the buffer to the terminal—this is the only method that performs real I/O.
+//
+// scr.Render()
+// scr.Flush()
+//
+// Use the screen package for high-level drawing helpers like
+// [screen.Context.DrawString] and [screen.Clear].
+//
+// # Packages
+//
+// - screen — drawing context and screen manipulation helpers
+// - layout — constraint-based layout solver (Cassowary algorithm)
package uv
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/event.go b/tools/vendor/github.com/charmbracelet/ultraviolet/event.go
index d3492c5e4..2d0d8cf20 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/event.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/event.go
@@ -94,7 +94,7 @@ type MultiEvent []Event
func (e MultiEvent) String() string {
var sb strings.Builder
for _, ev := range e {
- sb.WriteString(fmt.Sprintf("%v\n", ev))
+ fmt.Fprintf(&sb, "%v\n", ev)
}
return sb.String()
}
@@ -121,11 +121,11 @@ func (s WindowSizeEvent) Bounds() Rectangle {
return Size(s).Bounds()
}
-// WindowPixelSizeEvent represents the window size in pixels.
-type WindowPixelSizeEvent Size
+// PixelSizeEvent represents the window size in pixels.
+type PixelSizeEvent Size
// Bounds returns the bounds corresponding to the size.
-func (s WindowPixelSizeEvent) Bounds() Rectangle {
+func (s PixelSizeEvent) Bounds() Rectangle {
return Size(s).Bounds()
}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/layout.go b/tools/vendor/github.com/charmbracelet/ultraviolet/layout.go
deleted file mode 100644
index a246e06cc..000000000
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/layout.go
+++ /dev/null
@@ -1,137 +0,0 @@
-package uv
-
-import "image"
-
-// Constraint represents a size constraint for layout purposes.
-type Constraint interface {
- // Apply applies the constraint to the given size and returns the
- // constrained size.
- Apply(size int) int
-}
-
-// Percent is a constraint that represents a percentage of the available size.
-type Percent int
-
-// Apply applies the percentage constraint to the given size.
-func (p Percent) Apply(size int) int {
- if p < 0 {
- return 0
- }
- if p > 100 {
- return size
- }
- return size * int(p) / 100
-}
-
-// Ratio is a constraint that represents a ratio of the available size. It is a
-// syntactic sugar for [Percent].
-func Ratio(numerator, denominator int) Percent {
- if denominator == 0 {
- return 0
- }
- return Percent(numerator * 100 / denominator)
-}
-
-// Fixed is a constraint that represents a fixed size.
-type Fixed int
-
-// Apply applies the fixed size constraint to the given size.
-func (f Fixed) Apply(size int) int {
- if f < 0 {
- return 0
- }
- if int(f) > size {
- return size
- }
- return int(f)
-}
-
-// SplitVertical splits the area vertically into two parts based on the given
-// [Constraint].
-//
-// It returns the top and bottom rectangles.
-func SplitVertical(area Rectangle, constraint Constraint) (top Rectangle, bottom Rectangle) {
- height := min(constraint.Apply(area.Dy()), area.Dy())
- top = Rectangle{Min: area.Min, Max: Position{X: area.Max.X, Y: area.Min.Y + height}}
- bottom = Rectangle{Min: Position{X: area.Min.X, Y: area.Min.Y + height}, Max: area.Max}
- return
-}
-
-// SplitHorizontal splits the area horizontally into two parts based on the
-// given [Constraint].
-//
-// It returns the left and right rectangles.
-func SplitHorizontal(area Rectangle, constraint Constraint) (left Rectangle, right Rectangle) {
- width := min(constraint.Apply(area.Dx()), area.Dx())
- left = Rectangle{Min: area.Min, Max: Position{X: area.Min.X + width, Y: area.Max.Y}}
- right = Rectangle{Min: Position{X: area.Min.X + width, Y: area.Min.Y}, Max: area.Max}
- return
-}
-
-// CenterRect returns a new [Rectangle] centered within the given area with the
-// specified width and height.
-func CenterRect(area Rectangle, width, height int) Rectangle {
- centerX := area.Min.X + area.Dx()/2
- centerY := area.Min.Y + area.Dy()/2
- minX := centerX - width/2
- minY := centerY - height/2
- maxX := minX + width
- maxY := minY + height
- return image.Rect(minX, minY, maxX, maxY)
-}
-
-// TopLeftRect returns a new [Rectangle] positioned at the top-left corner of the
-// given area with the specified width and height.
-func TopLeftRect(area Rectangle, width, height int) Rectangle {
- return image.Rect(area.Min.X, area.Min.Y, area.Min.X+width, area.Min.Y+height).Intersect(area)
-}
-
-// TopCenterRect returns a new [Rectangle] positioned at the top-center of the
-// given area with the specified width and height.
-func TopCenterRect(area Rectangle, width, height int) Rectangle {
- centerX := area.Min.X + area.Dx()/2
- minX := centerX - width/2
- return image.Rect(minX, area.Min.Y, minX+width, area.Min.Y+height).Intersect(area)
-}
-
-// TopRightRect returns a new [Rectangle] positioned at the top-right corner of
-// the given area with the specified width and height.
-func TopRightRect(area Rectangle, width, height int) Rectangle {
- return image.Rect(area.Max.X-width, area.Min.Y, area.Max.X, area.Min.Y+height).Intersect(area)
-}
-
-// RightCenterRect returns a new [Rectangle] positioned at the right-center of
-// the given area with the specified width and height.
-func RightCenterRect(area Rectangle, width, height int) Rectangle {
- centerY := area.Min.Y + area.Dy()/2
- minY := centerY - height/2
- return image.Rect(area.Max.X-width, minY, area.Max.X, minY+height).Intersect(area)
-}
-
-// LeftCenterRect returns a new [Rectangle] positioned at the left-center of the
-// given area with the specified width and height.
-func LeftCenterRect(area Rectangle, width, height int) Rectangle {
- centerY := area.Min.Y + area.Dy()/2
- minY := centerY - height/2
- return image.Rect(area.Min.X, minY, area.Min.X+width, minY+height).Intersect(area)
-}
-
-// BottomLeftRect returns a new [Rectangle] positioned at the bottom-left corner
-// of the given area with the specified width and height.
-func BottomLeftRect(area Rectangle, width, height int) Rectangle {
- return image.Rect(area.Min.X, area.Max.Y-height, area.Min.X+width, area.Max.Y).Intersect(area)
-}
-
-// BottomCenterRect returns a new [Rectangle] positioned at the bottom-center of
-// the given area with the specified width and height.
-func BottomCenterRect(area Rectangle, width, height int) Rectangle {
- centerX := area.Min.X + area.Dx()/2
- minX := centerX - width/2
- return image.Rect(minX, area.Max.Y-height, minX+width, area.Max.Y).Intersect(area)
-}
-
-// BottomRightRect returns a new [Rectangle] positioned at the bottom-right
-// corner of the given area with the specified width and height.
-func BottomRightRect(area Rectangle, width, height int) Rectangle {
- return image.Rect(area.Max.X-width, area.Max.Y-height, area.Max.X, area.Max.Y).Intersect(area)
-}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/mouse.go b/tools/vendor/github.com/charmbracelet/ultraviolet/mouse.go
index e86d94b8d..a74cdf992 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/mouse.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/mouse.go
@@ -4,16 +4,37 @@ import (
"github.com/charmbracelet/x/ansi"
)
-// MouseMode represents the mouse mode for the terminal. It is used to enable
-// or disable mouse support on the terminal.
-type MouseMode byte
+// MouseMode represents the mouse tracking mode for the terminal.
+type MouseMode uint8
-// Mouse modes.
+// Mouse tracking modes.
+//
+// These determine which mouse events the terminal reports.
+const (
+ MouseModeNone MouseMode = iota // Disable mouse tracking.
+ MouseModePress // Press only (DEC mode 9). Reports button press events.
+ MouseModeClick // Click tracking (DEC mode 1000). Reports button press and release.
+ MouseModeDrag // Drag tracking (DEC mode 1002). Reports press, release, and drag.
+ MouseModeMotion // Motion tracking (DEC mode 1003). Reports all mouse events including motion.
+)
+
+// MouseEncoding represents the encoding used for mouse events.
+type MouseEncoding uint8
+
+// Mouse encodings.
+//
+// These determine how mouse coordinates and buttons are encoded in the
+// terminal's escape sequences. The encoding is only meaningful when mouse
+// tracking is enabled via [MouseMode].
const (
- MouseModeNone MouseMode = iota
- MouseModeClick
- MouseModeDrag
- MouseModeMotion
+ MouseEncodingLegacy MouseEncoding = iota // Legacy X10-compatible encoding. Coordinates limited to 223.
+ MouseEncodingSGR // SGR encoding (DEC mode 1006). No coordinate limit, distinguishes press/release.
+ MouseEncodingSGRPixel // SGR-pixel encoding (DEC mode 1016). Reports pixel coordinates.
+
+ // TODO: support these additional encodings in the future.
+ // MouseEncodingUTF8 // UTF-8 encoding (DEC mode 1005). Coordinates limited to 223.
+ // MouseEncodingUrxvt // urxvt encoding (DEC mode 1015). No coordinate limit.
+ // MouseEncodingSGRPixel // SGR-pixel encoding (DEC mode 1016). Reports pixel coordinates.
)
// MouseButton represents the button that was pressed during a mouse message.
@@ -55,7 +76,8 @@ const (
// messages.
//
// The X and Y coordinates are zero-based, with (0,0) being the upper left
-// corner of the terminal.
+// corner of the terminal. When using [MouseEncodingSGRPixel] (DEC mode 1016),
+// X and Y are in pixel coordinates; otherwise they are in cell coordinates.
//
// // Catch all mouse events
// switch Event := Event.(type) {
@@ -96,3 +118,33 @@ func (m Mouse) String() (s string) {
return s
}
+
+// MousePixelToCell converts a mouse event with pixel coordinates to cell
+// coordinates.
+//
+// This is only meaningful when using [MouseEncodingSGRPixel] encoding, which
+// reports mouse coordinates in pixels rather than cell units. The conversion
+// is based on the terminal's reported pixel dimensions and cell dimensions.
+//
+// On Windows, or other platforms where [Terminal.GetWinsize] doesn't report
+// pixel dimensions, you can query for the terminal window pixel dimensions via
+// [ansi.WindowOp](4) and get back a [PixelSizeEvent] with the pixel
+// dimensions. You can then construct a [Winsize] struct with the pixel
+// dimensions and the cell dimensions from [Terminal.GetWinsize] and pass it to
+// this function.
+func MousePixelToCell(m Mouse, ws *Winsize) Mouse {
+ var col, row int
+ if ws.Xpixel > 0 {
+ col = m.X * int(ws.Col) / int(ws.Xpixel)
+ }
+ if ws.Ypixel > 0 {
+ row = m.Y * int(ws.Row) / int(ws.Ypixel)
+ }
+
+ return Mouse{
+ X: col,
+ Y: row,
+ Button: m.Button,
+ Mod: m.Mod,
+ }
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/poll.go b/tools/vendor/github.com/charmbracelet/ultraviolet/poll.go
new file mode 100644
index 000000000..209211f58
--- /dev/null
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/poll.go
@@ -0,0 +1,38 @@
+package uv
+
+import (
+ "fmt"
+ "time"
+)
+
+// pollReader reads data from an [io.Reader] using different native poll APIs
+// depending on the operating system.
+//
+// On Linux, it uses the epoll API.
+// On Windows, it uses The Windows I/O and Console APIs.
+// On macOS and other BSD-based systems, it will try to use the kqueue API and
+// fall back to Unix select if kqueue is not available (e.g., on TTY).
+// On other Unix-like systems, it uses the select API.
+// On all other systems, it falls back to a simple read loop with a timeout.
+type pollReader interface {
+ // Read reads data from the underlying [io.Reader]. It blocks until data is
+ // available or an error occurs.
+ //
+ // Use [pollReader] to check for data availability before calling Read to
+ // avoid blocking.
+ Read(p []byte) (n int, err error)
+
+ // Poll notifies when data is available to read with the given timeout. Use
+ // a negative duration to wait indefinitely.
+ Poll(timeout time.Duration) (ready bool, err error)
+
+ // Cancel cancels any ongoing poll or read operations. It returns true if
+ // an operation was canceled, false otherwise.
+ Cancel() bool
+
+ // Close closes the reader and releases any resources associated with it.
+ Close() error
+}
+
+// ErrCanceled is returned when a poll or read operation is canceled.
+var ErrCanceled = fmt.Errorf("poll canceled")
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/poll_bsd.go b/tools/vendor/github.com/charmbracelet/ultraviolet/poll_bsd.go
new file mode 100644
index 000000000..947448750
--- /dev/null
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/poll_bsd.go
@@ -0,0 +1,165 @@
+//go:build darwin || freebsd || netbsd || openbsd || dragonfly
+// +build darwin freebsd netbsd openbsd dragonfly
+
+package uv
+
+import (
+ "errors"
+ "fmt"
+ "io"
+ "os"
+ "strings"
+ "sync"
+ "time"
+
+ "golang.org/x/sys/unix"
+)
+
+// newPollReader creates a new pollReader for the given io.Reader.
+func newPollReader(reader io.Reader) (pollReader, error) {
+ file, ok := reader.(File)
+ if !ok {
+ return newFallbackReader(reader)
+ }
+
+ // kqueue returns instantly when polling /dev/tty so fallback to select
+ if file.Name() == "/dev/tty" {
+ return newSelectPollReader(reader)
+ }
+
+ kQueue, err := unix.Kqueue()
+ if err != nil {
+ return nil, fmt.Errorf("create kqueue: %w", err)
+ }
+
+ r := &kqueueReader{
+ reader: reader,
+ file: file,
+ kQueue: kQueue,
+ }
+
+ r.cancelSignalReader, r.cancelSignalWriter, err = os.Pipe()
+ if err != nil {
+ _ = unix.Close(kQueue)
+ return nil, err
+ }
+
+ unix.SetKevent(&r.kQueueEvents[0], int(file.Fd()), unix.EVFILT_READ, unix.EV_ADD)
+ unix.SetKevent(&r.kQueueEvents[1], int(r.cancelSignalReader.Fd()), unix.EVFILT_READ, unix.EV_ADD)
+
+ return r, nil
+}
+
+// kqueueReader implements pollReader using the BSD kqueue API.
+type kqueueReader struct {
+ reader io.Reader
+ file File
+ cancelSignalReader *os.File
+ cancelSignalWriter *os.File
+ kQueue int
+ kQueueEvents [2]unix.Kevent_t
+ mu sync.Mutex
+ canceled bool
+}
+
+// Read reads data from the underlying reader.
+func (r *kqueueReader) Read(p []byte) (int, error) {
+ r.mu.Lock()
+ if r.canceled {
+ r.mu.Unlock()
+ return 0, ErrCanceled
+ }
+ r.mu.Unlock()
+
+ return r.reader.Read(p)
+}
+
+// Poll waits for data to be available to read with the given timeout.
+func (r *kqueueReader) Poll(timeout time.Duration) (bool, error) {
+ r.mu.Lock()
+ if r.canceled {
+ r.mu.Unlock()
+ return false, ErrCanceled
+ }
+ r.mu.Unlock()
+
+ events := make([]unix.Kevent_t, 1)
+
+ var ts *unix.Timespec
+ if timeout >= 0 {
+ t := unix.NsecToTimespec(timeout.Nanoseconds())
+ ts = &t
+ }
+
+ for {
+ n, err := unix.Kevent(r.kQueue, r.kQueueEvents[:], events, ts)
+ if errors.Is(err, unix.EINTR) {
+ continue // try again if the syscall was interrupted
+ }
+
+ if err != nil {
+ return false, fmt.Errorf("kevent: %w", err)
+ }
+
+ if n == 0 {
+ return false, nil // timeout
+ }
+
+ break
+ }
+
+ ident := uint64(events[0].Ident)
+ switch ident {
+ case uint64(r.file.Fd()):
+ return true, nil
+ case uint64(r.cancelSignalReader.Fd()):
+ // remove signal from pipe
+ var b [1]byte
+ _, errRead := r.cancelSignalReader.Read(b[:])
+ if errRead != nil {
+ return false, fmt.Errorf("reading cancel signal: %w", errRead)
+ }
+ return false, ErrCanceled
+ }
+
+ return false, fmt.Errorf("unknown error")
+}
+
+// Cancel cancels any ongoing poll or read operations.
+func (r *kqueueReader) Cancel() bool {
+ r.mu.Lock()
+ r.canceled = true
+ r.mu.Unlock()
+
+ // send cancel signal
+ _, err := r.cancelSignalWriter.Write([]byte{'c'})
+ return err == nil
+}
+
+// Close closes the reader and releases any resources.
+func (r *kqueueReader) Close() error {
+ var errMsgs []string
+
+ // close kqueue
+ err := unix.Close(r.kQueue)
+ if err != nil {
+ errMsgs = append(errMsgs, fmt.Sprintf("closing kqueue: %v", err))
+ }
+
+ // close pipe
+ err = r.cancelSignalWriter.Close()
+ if err != nil {
+ errMsgs = append(errMsgs, fmt.Sprintf("closing cancel signal writer: %v", err))
+ }
+
+ err = r.cancelSignalReader.Close()
+ if err != nil {
+ errMsgs = append(errMsgs, fmt.Sprintf("closing cancel signal reader: %v", err))
+ }
+
+ if len(errMsgs) > 0 {
+ return fmt.Errorf("%s", strings.Join(errMsgs, ", "))
+ }
+
+ return nil
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/poll_default.go b/tools/vendor/github.com/charmbracelet/ultraviolet/poll_default.go
new file mode 100644
index 000000000..464c70fb6
--- /dev/null
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/poll_default.go
@@ -0,0 +1,12 @@
+//go:build !linux && !windows && !darwin && !freebsd && !netbsd && !openbsd && !dragonfly && !solaris
+// +build !linux,!windows,!darwin,!freebsd,!netbsd,!openbsd,!dragonfly,!solaris
+
+package uv
+
+import "io"
+
+// newPollReader creates a new pollReader for the given io.Reader.
+// This is the default implementation for unsupported platforms.
+func newPollReader(reader io.Reader) (pollReader, error) {
+ return newFallbackReader(reader)
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/poll_fallback.go b/tools/vendor/github.com/charmbracelet/ultraviolet/poll_fallback.go
new file mode 100644
index 000000000..187a1ed85
--- /dev/null
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/poll_fallback.go
@@ -0,0 +1,158 @@
+package uv
+
+import (
+ "bufio"
+ "io"
+ "sync"
+ "time"
+)
+
+// newFallbackReader creates a new fallbackReader for the given io.Reader.
+func newFallbackReader(reader io.Reader) (pollReader, error) {
+ return &fallbackReader{
+ reader: bufio.NewReader(reader),
+ cancelChan: make(chan struct{}),
+ dataChan: make(chan struct{}, 1),
+ }, nil
+}
+
+// fallbackReader implements pollReader using goroutines and buffered I/O.
+// This is a fallback implementation that works on all platforms.
+type fallbackReader struct {
+ reader *bufio.Reader
+ cancelChan chan struct{}
+ dataChan chan struct{}
+ mu sync.Mutex
+ canceled bool
+ started bool
+}
+
+// Read reads data from the underlying reader.
+func (r *fallbackReader) Read(p []byte) (int, error) {
+ r.mu.Lock()
+ if r.canceled {
+ r.mu.Unlock()
+ return 0, ErrCanceled
+ }
+ r.mu.Unlock()
+
+ n, err := r.reader.Read(p)
+ // If we get an error during a concurrent cancel, prefer ErrCanceled
+ if err != nil {
+ r.mu.Lock()
+ if r.canceled {
+ r.mu.Unlock()
+ return 0, ErrCanceled
+ }
+ r.mu.Unlock()
+ }
+ return n, err
+}
+
+// Poll waits for data to be available to read with the given timeout.
+// This implementation starts a background goroutine to check for buffered
+// data availability.
+func (r *fallbackReader) Poll(timeout time.Duration) (bool, error) {
+ r.mu.Lock()
+ if r.canceled {
+ r.mu.Unlock()
+ return false, ErrCanceled
+ }
+
+ // Start the background reader goroutine if not already started
+ if !r.started {
+ r.started = true
+ go r.checkBuffered()
+ }
+ r.mu.Unlock()
+
+ if timeout < 0 {
+ // Wait indefinitely
+ select {
+ case <-r.dataChan:
+ // Put it back for next poll/read
+ select {
+ case r.dataChan <- struct{}{}:
+ default:
+ }
+ return true, nil
+ case <-r.cancelChan:
+ return false, ErrCanceled
+ }
+ }
+
+ // Wait with timeout
+ timer := time.NewTimer(timeout)
+ defer timer.Stop()
+
+ select {
+ case <-r.dataChan:
+ // Put it back for next poll/read
+ select {
+ case r.dataChan <- struct{}{}:
+ default:
+ }
+ return true, nil
+ case <-timer.C:
+ return false, nil
+ case <-r.cancelChan:
+ return false, ErrCanceled
+ }
+}
+
+// checkBuffered runs in a background goroutine to signal when data is available.
+func (r *fallbackReader) checkBuffered() {
+ for {
+ select {
+ case <-r.cancelChan:
+ return
+ default:
+ }
+
+ // Check if data is buffered
+ r.mu.Lock()
+ if r.canceled {
+ r.mu.Unlock()
+ return
+ }
+ r.mu.Unlock()
+
+ // Peek at one byte to check if data is available
+ // This will block until data arrives
+ _, err := r.reader.Peek(1)
+ if err != nil {
+ // If error (including EOF), stop the goroutine
+ return
+ }
+
+ // Signal that data is available
+ select {
+ case r.dataChan <- struct{}{}:
+ case <-r.cancelChan:
+ return
+ }
+
+ // Wait a bit before checking again to avoid busy loop
+ time.Sleep(10 * time.Millisecond)
+ }
+}
+
+// Cancel cancels any ongoing poll or read operations.
+func (r *fallbackReader) Cancel() bool {
+ r.mu.Lock()
+ if r.canceled {
+ r.mu.Unlock()
+ return false
+ }
+ r.canceled = true
+ r.mu.Unlock()
+
+ close(r.cancelChan)
+ return true
+}
+
+// Close closes the reader and releases any resources.
+func (r *fallbackReader) Close() error {
+ r.Cancel()
+ return nil
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/poll_linux.go b/tools/vendor/github.com/charmbracelet/ultraviolet/poll_linux.go
new file mode 100644
index 000000000..bbe2c9fa4
--- /dev/null
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/poll_linux.go
@@ -0,0 +1,175 @@
+//go:build linux
+// +build linux
+
+package uv
+
+import (
+ "errors"
+ "fmt"
+ "io"
+ "os"
+ "sync"
+ "time"
+
+ "golang.org/x/sys/unix"
+)
+
+// newPollReader creates a new pollReader for the given io.Reader.
+func newPollReader(reader io.Reader) (pollReader, error) {
+ file, ok := reader.(File)
+ if !ok {
+ return newFallbackReader(reader)
+ }
+
+ epoll, err := unix.EpollCreate1(0)
+ if err != nil {
+ return nil, fmt.Errorf("create epoll: %w", err)
+ }
+
+ r := &epollReader{
+ reader: reader,
+ file: file,
+ epoll: epoll,
+ }
+
+ r.cancelSignalReader, r.cancelSignalWriter, err = os.Pipe()
+ if err != nil {
+ _ = unix.Close(epoll)
+ return nil, err
+ }
+
+ err = unix.EpollCtl(epoll, unix.EPOLL_CTL_ADD, int(file.Fd()), &unix.EpollEvent{
+ Events: unix.EPOLLIN,
+ Fd: int32(file.Fd()),
+ })
+ if err != nil {
+ _ = unix.Close(epoll)
+ _ = r.cancelSignalReader.Close()
+ _ = r.cancelSignalWriter.Close()
+ return nil, fmt.Errorf("add reader to epoll interest list: %w", err)
+ }
+
+ err = unix.EpollCtl(epoll, unix.EPOLL_CTL_ADD, int(r.cancelSignalReader.Fd()), &unix.EpollEvent{
+ Events: unix.EPOLLIN,
+ Fd: int32(r.cancelSignalReader.Fd()),
+ })
+ if err != nil {
+ _ = unix.Close(epoll)
+ _ = r.cancelSignalReader.Close()
+ _ = r.cancelSignalWriter.Close()
+ return nil, fmt.Errorf("add cancel signal to epoll interest list: %w", err)
+ }
+
+ return r, nil
+}
+
+// epollReader implements pollReader using the Linux epoll API.
+type epollReader struct {
+ reader io.Reader
+ file File
+ cancelSignalReader *os.File
+ cancelSignalWriter *os.File
+ epoll int
+ mu sync.Mutex
+ canceled bool
+}
+
+// Read reads data from the underlying reader.
+func (r *epollReader) Read(p []byte) (int, error) {
+ r.mu.Lock()
+ if r.canceled {
+ r.mu.Unlock()
+ return 0, ErrCanceled
+ }
+ r.mu.Unlock()
+
+ return r.reader.Read(p)
+}
+
+// Poll waits for data to be available to read with the given timeout.
+func (r *epollReader) Poll(timeout time.Duration) (bool, error) {
+ r.mu.Lock()
+ if r.canceled {
+ r.mu.Unlock()
+ return false, ErrCanceled
+ }
+ r.mu.Unlock()
+
+ events := make([]unix.EpollEvent, 1)
+
+ timeoutMs := -1
+ if timeout >= 0 {
+ timeoutMs = int(timeout.Milliseconds())
+ }
+
+ for {
+ n, err := unix.EpollWait(r.epoll, events, timeoutMs)
+ if errors.Is(err, unix.EINTR) {
+ continue // try again if the syscall was interrupted
+ }
+
+ if err != nil {
+ return false, fmt.Errorf("epoll wait: %w", err)
+ }
+
+ if n == 0 {
+ return false, nil // timeout
+ }
+
+ break
+ }
+
+ switch events[0].Fd {
+ case int32(r.file.Fd()):
+ return true, nil
+ case int32(r.cancelSignalReader.Fd()):
+ // remove signal from pipe
+ var b [1]byte
+ _, readErr := r.cancelSignalReader.Read(b[:])
+ if readErr != nil {
+ return false, fmt.Errorf("reading cancel signal: %w", readErr)
+ }
+ return false, ErrCanceled
+ }
+
+ return false, fmt.Errorf("unknown error")
+}
+
+// Cancel cancels any ongoing poll or read operations.
+func (r *epollReader) Cancel() bool {
+ r.mu.Lock()
+ r.canceled = true
+ r.mu.Unlock()
+
+ // send cancel signal
+ _, err := r.cancelSignalWriter.Write([]byte{'c'})
+ return err == nil
+}
+
+// Close closes the reader and releases any resources.
+func (r *epollReader) Close() error {
+ var errMsgs []error
+
+ // close epoll
+ err := unix.Close(r.epoll)
+ if err != nil {
+ errMsgs = append(errMsgs, fmt.Errorf("closing epoll: %w", err))
+ }
+
+ // close pipe
+ err = r.cancelSignalWriter.Close()
+ if err != nil {
+ errMsgs = append(errMsgs, fmt.Errorf("closing cancel signal writer: %w", err))
+ }
+
+ err = r.cancelSignalReader.Close()
+ if err != nil {
+ errMsgs = append(errMsgs, fmt.Errorf("closing cancel signal reader: %w", err))
+ }
+
+ if len(errMsgs) > 0 {
+ return errors.Join(errMsgs...)
+ }
+
+ return nil
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/poll_select.go b/tools/vendor/github.com/charmbracelet/ultraviolet/poll_select.go
new file mode 100644
index 000000000..ff7756a14
--- /dev/null
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/poll_select.go
@@ -0,0 +1,156 @@
+//go:build solaris || darwin || freebsd || netbsd || openbsd || dragonfly
+// +build solaris darwin freebsd netbsd openbsd dragonfly
+
+package uv
+
+import (
+ "errors"
+ "fmt"
+ "io"
+ "os"
+ "strings"
+ "sync"
+ "time"
+
+ "golang.org/x/sys/unix"
+)
+
+// newSelectPollReader creates a new SelectReader for the given io.Reader.
+func newSelectPollReader(reader io.Reader) (pollReader, error) {
+ file, ok := reader.(File)
+ if !ok || file.Fd() >= unix.FD_SETSIZE {
+ return newFallbackReader(reader)
+ }
+
+ r := &selectReader{
+ reader: reader,
+ file: file,
+ }
+
+ var err error
+ r.cancelSignalReader, r.cancelSignalWriter, err = os.Pipe()
+ if err != nil {
+ return nil, err
+ }
+
+ return r, nil
+}
+
+// selectReader implements pollReader using the POSIX select API.
+type selectReader struct {
+ reader io.Reader
+ file File
+ cancelSignalReader *os.File
+ cancelSignalWriter *os.File
+ mu sync.Mutex
+ canceled bool
+}
+
+// Read reads data from the underlying reader.
+func (r *selectReader) Read(p []byte) (int, error) {
+ r.mu.Lock()
+ if r.canceled {
+ r.mu.Unlock()
+ return 0, ErrCanceled
+ }
+ r.mu.Unlock()
+
+ return r.reader.Read(p)
+}
+
+// Poll waits for data to be available to read with the given timeout.
+func (r *selectReader) Poll(timeout time.Duration) (bool, error) {
+ r.mu.Lock()
+ if r.canceled {
+ r.mu.Unlock()
+ return false, ErrCanceled
+ }
+ r.mu.Unlock()
+
+ for {
+ readerFd := int(r.file.Fd())
+ abortFd := int(r.cancelSignalReader.Fd())
+
+ maxFd := readerFd
+ if abortFd > maxFd {
+ maxFd = abortFd
+ }
+
+ // this is a limitation of the select syscall
+ if maxFd >= unix.FD_SETSIZE {
+ return false, fmt.Errorf("cannot select on file descriptor %d which is larger than %d", maxFd, unix.FD_SETSIZE)
+ }
+
+ fdSet := &unix.FdSet{}
+ fdSet.Set(readerFd)
+ fdSet.Set(abortFd)
+
+ var tv *unix.Timeval
+ if timeout >= 0 {
+ t := unix.NsecToTimeval(timeout.Nanoseconds())
+ tv = &t
+ }
+
+ n, err := unix.Select(maxFd+1, fdSet, nil, nil, tv)
+ if errors.Is(err, unix.EINTR) {
+ continue // try again if the syscall was interrupted
+ }
+
+ if err != nil {
+ return false, fmt.Errorf("select: %w", err)
+ }
+
+ if n == 0 {
+ return false, nil // timeout
+ }
+
+ if fdSet.IsSet(abortFd) {
+ // remove signal from pipe
+ var b [1]byte
+ _, readErr := r.cancelSignalReader.Read(b[:])
+ if readErr != nil {
+ return false, fmt.Errorf("reading cancel signal: %w", readErr)
+ }
+ return false, ErrCanceled
+ }
+
+ if fdSet.IsSet(readerFd) {
+ return true, nil
+ }
+
+ return false, fmt.Errorf("select returned without setting a file descriptor")
+ }
+}
+
+// Cancel cancels any ongoing poll or read operations.
+func (r *selectReader) Cancel() bool {
+ r.mu.Lock()
+ r.canceled = true
+ r.mu.Unlock()
+
+ // send cancel signal
+ _, err := r.cancelSignalWriter.Write([]byte{'c'})
+ return err == nil
+}
+
+// Close closes the reader and releases any resources.
+func (r *selectReader) Close() error {
+ var errMsgs []string
+
+ // close pipe
+ err := r.cancelSignalWriter.Close()
+ if err != nil {
+ errMsgs = append(errMsgs, fmt.Sprintf("closing cancel signal writer: %v", err))
+ }
+
+ err = r.cancelSignalReader.Close()
+ if err != nil {
+ errMsgs = append(errMsgs, fmt.Sprintf("closing cancel signal reader: %v", err))
+ }
+
+ if len(errMsgs) > 0 {
+ return fmt.Errorf("%s", strings.Join(errMsgs, ", "))
+ }
+
+ return nil
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/poll_solaris.go b/tools/vendor/github.com/charmbracelet/ultraviolet/poll_solaris.go
new file mode 100644
index 000000000..7a753da45
--- /dev/null
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/poll_solaris.go
@@ -0,0 +1,12 @@
+//go:build solaris
+// +build solaris
+
+package uv
+
+import "io"
+
+// newPollReader creates a new pollReader for the given io.Reader.
+// On Solaris, we use the select API.
+func newPollReader(reader io.Reader) (pollReader, error) {
+ return newSelectPollReader(reader)
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/poll_windows.go b/tools/vendor/github.com/charmbracelet/ultraviolet/poll_windows.go
new file mode 100644
index 000000000..2e1922eb2
--- /dev/null
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/poll_windows.go
@@ -0,0 +1,217 @@
+//go:build windows
+// +build windows
+
+package uv
+
+import (
+ "fmt"
+ "io"
+ "os"
+ "sync"
+ "time"
+
+ "golang.org/x/sys/windows"
+)
+
+var fileShareValidFlags uint32 = windows.FILE_SHARE_DELETE | windows.FILE_SHARE_WRITE | windows.FILE_SHARE_READ
+
+// newPollReader creates a new pollReader for the given io.Reader.
+func newPollReader(reader io.Reader) (pollReader, error) {
+ f, ok := reader.(File)
+ if !ok || f.Fd() != os.Stdin.Fd() {
+ return newFallbackReader(reader)
+ }
+
+ // it is necessary to open CONIN$ (NOT windows.STD_INPUT_HANDLE) in
+ // overlapped mode to be able to use it with WaitForMultipleObjects.
+ coninPath, err := windows.UTF16PtrFromString("CONIN$")
+ if err != nil {
+ return nil, fmt.Errorf("convert CONIN$ to UTF16: %w", err)
+ }
+
+ conin, err := windows.CreateFile(
+ coninPath,
+ windows.GENERIC_READ|windows.GENERIC_WRITE,
+ fileShareValidFlags,
+ nil,
+ windows.OPEN_EXISTING,
+ windows.FILE_FLAG_OVERLAPPED,
+ 0)
+ if err != nil {
+ return nil, fmt.Errorf("open CONIN$ in overlapping mode: %w", err)
+ }
+
+ resetConsole, err := preparePollConsole(conin)
+ if err != nil {
+ _ = windows.CloseHandle(conin)
+ return nil, fmt.Errorf("prepare console: %w", err)
+ }
+
+ // flush input, otherwise it can contain events which trigger
+ // WaitForMultipleObjects but which ReadFile cannot read, resulting in an
+ // un-cancelable read
+ err = windows.FlushConsoleInputBuffer(conin)
+ if err != nil {
+ _ = windows.CloseHandle(conin)
+ return nil, fmt.Errorf("flush console input buffer: %w", err)
+ }
+
+ cancelEvent, err := windows.CreateEvent(nil, 0, 0, nil)
+ if err != nil {
+ _ = windows.CloseHandle(conin)
+ return nil, fmt.Errorf("create cancel event: %w", err)
+ }
+
+ return &conReader{
+ reader: reader,
+ conin: conin,
+ cancelEvent: cancelEvent,
+ resetConsole: resetConsole,
+ blockingReadSignal: make(chan struct{}, 1),
+ }, nil
+}
+
+// conReader implements pollReader using Windows I/O and Console APIs.
+type conReader struct {
+ reader io.Reader
+ conin windows.Handle
+ cancelEvent windows.Handle
+ resetConsole func() error
+ blockingReadSignal chan struct{}
+ mu sync.Mutex
+ canceled bool
+}
+
+// Read reads data from the underlying reader.
+func (r *conReader) Read(p []byte) (int, error) {
+ r.mu.Lock()
+ if r.canceled {
+ r.mu.Unlock()
+ return 0, ErrCanceled
+ }
+ r.mu.Unlock()
+
+ return r.reader.Read(p)
+}
+
+// Poll waits for data to be available to read with the given timeout.
+func (r *conReader) Poll(timeout time.Duration) (bool, error) {
+ r.mu.Lock()
+ if r.canceled {
+ r.mu.Unlock()
+ return false, ErrCanceled
+ }
+ r.mu.Unlock()
+
+ timeoutMs := uint32(windows.INFINITE)
+ if timeout >= 0 {
+ timeoutMs = uint32(timeout.Milliseconds())
+ }
+
+ event, err := windows.WaitForMultipleObjects([]windows.Handle{r.conin, r.cancelEvent}, false, timeoutMs)
+ switch {
+ case windows.WAIT_OBJECT_0 <= event && event < windows.WAIT_OBJECT_0+2:
+ if event == windows.WAIT_OBJECT_0+1 {
+ return false, ErrCanceled
+ }
+
+ if event == windows.WAIT_OBJECT_0 {
+ return true, nil
+ }
+
+ return false, fmt.Errorf("unexpected wait object is ready: %d", event-windows.WAIT_OBJECT_0)
+ case windows.WAIT_ABANDONED <= event && event < windows.WAIT_ABANDONED+2:
+ return false, fmt.Errorf("abandoned")
+ case event == uint32(windows.WAIT_TIMEOUT):
+ return false, nil
+ case event == windows.WAIT_FAILED:
+ return false, fmt.Errorf("failed")
+ default:
+ return false, fmt.Errorf("unexpected error: %w", error(err))
+ }
+}
+
+// Cancel cancels any ongoing poll or read operations.
+// On Windows Terminal, WaitForMultipleObjects sometimes immediately returns
+// without input being available. In this case, graceful cancelation is not
+// possible and Cancel() returns false.
+func (r *conReader) Cancel() bool {
+ r.mu.Lock()
+ r.canceled = true
+ r.mu.Unlock()
+
+ select {
+ case r.blockingReadSignal <- struct{}{}:
+ err := windows.SetEvent(r.cancelEvent)
+ if err != nil {
+ return false
+ }
+ <-r.blockingReadSignal
+ case <-time.After(100 * time.Millisecond):
+ // Read() hangs in a GetOverlappedResult which is likely due to
+ // WaitForMultipleObjects returning without input being available
+ // so we cannot cancel this ongoing read.
+ return false
+ }
+
+ return true
+}
+
+// Close closes the reader and releases any resources.
+func (r *conReader) Close() error {
+ err := windows.CloseHandle(r.cancelEvent)
+ if err != nil {
+ return fmt.Errorf("closing cancel event handle: %w", err)
+ }
+
+ err = r.resetConsole()
+ if err != nil {
+ return err
+ }
+
+ err = windows.CloseHandle(r.conin)
+ if err != nil {
+ return fmt.Errorf("closing CONIN$: %w", err)
+ }
+
+ return nil
+}
+
+func preparePollConsole(input windows.Handle) (reset func() error, err error) {
+ var originalMode uint32
+
+ err = windows.GetConsoleMode(input, &originalMode)
+ if err != nil {
+ return nil, fmt.Errorf("get console mode: %w", err)
+ }
+
+ var newMode uint32
+ newMode &^= windows.ENABLE_ECHO_INPUT
+ newMode &^= windows.ENABLE_LINE_INPUT
+ newMode &^= windows.ENABLE_MOUSE_INPUT
+ newMode &^= windows.ENABLE_PROCESSED_INPUT
+
+ newMode |= windows.ENABLE_EXTENDED_FLAGS
+ newMode |= windows.ENABLE_INSERT_MODE
+ newMode |= windows.ENABLE_QUICK_EDIT_MODE
+ newMode |= windows.ENABLE_WINDOW_INPUT // Enable window input events
+
+ // Enabling virtual terminal input is necessary for processing certain
+ // types of input like X10 mouse events and arrows keys with the current
+ // bytes-based input reader.
+ newMode |= windows.ENABLE_VIRTUAL_TERMINAL_INPUT
+
+ err = windows.SetConsoleMode(input, newMode)
+ if err != nil {
+ return nil, fmt.Errorf("set console mode: %w", err)
+ }
+
+ return func() error {
+ err := windows.SetConsoleMode(input, originalMode)
+ if err != nil {
+ return fmt.Errorf("reset console mode: %w", err)
+ }
+
+ return nil
+ }, nil
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/styled.go b/tools/vendor/github.com/charmbracelet/ultraviolet/styled.go
index 5118bd663..540f6463a 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/styled.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/styled.go
@@ -4,7 +4,6 @@ import (
"bytes"
"image/color"
"strings"
- "sync"
"github.com/charmbracelet/x/ansi"
)
@@ -41,6 +40,11 @@ func (s *StyledString) String() string {
return s.Text
}
+// Lines returns the styled string decomposed into a slice of [Line]s.
+func (s *StyledString) Lines(m ansi.Method) []Line {
+ return printString(nil, m, 0, 0, Rectangle{}, s.Text, false, "")
+}
+
// Draw renders the styled string to the given buffer at the
// specified area.
func (s *StyledString) Draw(buf Screen, area Rectangle) {
@@ -92,26 +96,17 @@ func (s *StyledString) Bounds() Rectangle {
return Rect(0, 0, w, h)
}
-var parserPool = &sync.Pool{
- New: func() any {
- return ansi.NewParser()
- },
-}
-
-// printString draws a string starting at the given position.
+// printString draws a string starting at the given position. If s is nil, it
+// will build and return a slice of [Line]s instead (unwrapped, ignoring bounds).
func printString[T []byte | string](
s Screen,
m WidthMethod,
x, y int,
bounds Rectangle, str T,
truncate bool, tail string,
-) {
- // We don't need to use a large buffer parser here. [ansi.GetParser]
- // returns a 4MB parsers which are too large for our use case. We use our
- // own pool of parsers that are smaller and more efficient for our use
- // case.
- p := parserPool.Get().(*ansi.Parser)
- defer parserPool.Put(p)
+) (lines []Line) {
+ p := ansi.GetParser()
+ defer ansi.PutParser(p)
var tailc Cell
if truncate && len(tail) > 0 {
@@ -123,6 +118,10 @@ func printString[T []byte | string](
decoder = ansi.DecodeSequence[T]
}
+ if s == nil {
+ lines = []Line{}
+ }
+
var cell Cell
var style Style
var link Link
@@ -133,33 +132,42 @@ func printString[T []byte | string](
case 1, 2, 3, 4: // wide cells can go up to 4 cells wide
cell.Width = width
cell.Content = string(seq)
+ cell.Style = style
+ cell.Link = link
- if !truncate && x+cell.Width > bounds.Max.X && y+1 < bounds.Max.Y {
- // Wrap the string to the width of the window
- x = bounds.Min.X
- y++
- }
+ if s == nil {
+ // Building lines: unwrapped, no bounds
+ if y >= len(lines) {
+ lines = append(lines, Line{})
+ }
+ lines[y] = append(lines[y], cell)
+ x += width
+ } else {
+ // Drawing to screen: handle wrapping, truncation, and bounds
+ if !truncate && x+cell.Width > bounds.Max.X && y+1 < bounds.Max.Y {
+ // Wrap the string to the width of the window
+ x = bounds.Min.X
+ y++
+ }
- pos := Pos(x, y)
- if pos.In(bounds) {
- if truncate && tailc.Width > 0 && x+cell.Width > bounds.Max.X-tailc.Width {
- // Truncate the string and append the tail if any.
- cell = tailc
- cell.Style = style
- cell.Link = link
- s.SetCell(x, y, &cell)
- x += tailc.Width
- } else {
- // Print the cell to the screen
- cell.Style = style
- cell.Link = link
- s.SetCell(x, y, &cell)
- x += width
+ pos := Pos(x, y)
+ if pos.In(bounds) {
+ if truncate && tailc.Width > 0 && x+cell.Width > bounds.Max.X-tailc.Width {
+ // Truncate the string and append the tail if any.
+ cell = tailc
+ cell.Style = style
+ cell.Link = link
+ s.SetCell(x, y, &cell)
+ x += tailc.Width
+ } else {
+ // Print the cell to the screen
+ s.SetCell(x, y, &cell)
+ x += width
+ }
}
}
- // String is too long for the line, truncate it.
- // Make sure we reset the cell for the next iteration.
+ // Reset cell for next iteration
cell = Cell{}
default:
// Valid sequences always have a non-zero Cmd.
@@ -172,11 +180,21 @@ func printString[T []byte | string](
// Hyperlinks
ReadLink(p.Data(), &link)
case ansi.Equal(seq, T("\n")):
+ if s == nil {
+ // When building lines, we need to ensure empty lines are represented.
+ if y >= len(lines) {
+ lines = append(lines, Line{})
+ }
+ }
y++
// Always treat a NL as CR-LF similar to Termios ONLCR.
fallthrough
case ansi.Equal(seq, T("\r")):
- x = bounds.Min.X
+ if s == nil {
+ x = 0
+ } else {
+ x = bounds.Min.X
+ }
default:
cell.Content += string(seq)
}
@@ -185,13 +203,20 @@ func printString[T []byte | string](
// Advance the state and data
state = newState
str = str[n:]
+
+ if y >= bounds.Max.Y {
+ // We've reached the bottom of the bounds, stop processing further
+ // lines.
+ break
+ }
}
// Make sure to set the last cell if it's not empty.
- if !cell.IsZero() {
+ if !cell.IsZero() && s != nil {
s.SetCell(x, y, &cell)
- cell = Cell{}
}
+
+ return lines
}
// ReadStyle reads a Select Graphic Rendition (SGR) escape sequences from a
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal.go b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal.go
index ba67edbcf..a9fb45380 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal.go
@@ -1,968 +1,394 @@
package uv
import (
- "context"
"fmt"
- "image/color"
- "io"
- "log"
"os"
- "strings"
- "sync"
- "sync/atomic"
+ "os/signal"
"time"
- "github.com/charmbracelet/colorprofile"
"github.com/charmbracelet/x/ansi"
- "github.com/charmbracelet/x/term"
- "github.com/muesli/cancelreader"
"golang.org/x/sync/errgroup"
)
-var (
- // ErrNotTerminal is returned when one of the I/O streams is not a terminal.
- ErrNotTerminal = fmt.Errorf("not a terminal")
-
- // ErrPlatformNotSupported is returned when the platform is not supported.
- ErrPlatformNotSupported = fmt.Errorf("platform not supported")
-
- // ErrRunning is returned when the terminal is already running.
- ErrRunning = fmt.Errorf("terminal is running")
-
- // ErrNotRunning is returned when the terminal is not running.
- ErrNotRunning = fmt.Errorf("terminal not running")
-)
-
-// Terminal represents a terminal screen that can be manipulated and drawn to.
-// It handles reading events from the terminal using [TerminalReader].
+// DefaultBufferSize is the default size of the input buffer used for reading
+// terminal events.
+const DefaultBufferSize = 4096
+
+// DefaultEventTimeout is the default duration to wait for input events before
+// timing out.
+const DefaultEventTimeout = 100 * time.Millisecond
+
+// Options represents options for creating a new [Terminal].
+type Options struct {
+ // BufferSize is the size of the input buffer used for reading terminal
+ // events. If zero, [DefaultBufferSize] is used.
+ BufferSize int
+
+ // EventTimeout is the duration to wait for input events before timing out.
+ // If zero, a default of 100 milliseconds is used.
+ EventTimeout time.Duration
+
+ // LegacyKeyEncoding represents any legacy key encoding ambiguities. By
+ // default, the terminal will use its preferred key encoding settings.
+ LegacyKeyEncoding LegacyKeyEncoding
+
+ // LookupKeys whether to use a lookup table for common key sequences. If
+ // true, the terminal will use a lookup table to quickly identify common
+ // key sequences, reducing the need for more complex decoding logic. This
+ // can improve performance for common key sequences at the cost of
+ // increased memory usage.
+ //
+ // This is enabled by default.
+ LookupKeys bool
+
+ // UseTerminfoKeys whether to use terminfo databases key definitions to
+ // build up the keys lookup table. If true, the terminal will use terminfo
+ // databases key definitions to build up the keys lookup table, which can
+ // provide more accurate key mappings for legacy non-xterm like terminals.
+ //
+ // This won't take effect if [TerminalOptions.LookupKeys] is false, since
+ // the lookup table won't be used.
+ //
+ // This is disabled by default.
+ UseTerminfoKeys bool
+
+ // Logger is an optional logger for tracing terminal I/O operations.
+ // If nil, no logging is performed.
+ Logger Logger
+}
+
+// DefaultOptions returns the default [Terminal] options.
+func DefaultOptions() *Options {
+ return &Options{
+ BufferSize: DefaultBufferSize,
+ EventTimeout: DefaultEventTimeout,
+ LookupKeys: true,
+ }
+}
+
+// Terminal represents an interactive terminal application.
type Terminal struct {
- // Terminal I/O streams and state.
- in io.Reader
- out io.Writer
- inTty term.File
- inTtyState *term.State
- outTty term.File
- outTtyState *term.State
- running atomic.Bool // Indicates if the terminal is running
-
- // Terminal type, screen and buffer.
- termtype string // The $TERM type.
- environ Environ // The environment variables.
- buf *Buffer // Reference to the last buffer used.
- scr *TerminalRenderer // The actual screen to be drawn to.
- size Size // The last known full size of the terminal.
- pixSize Size // The last known pixel size of the terminal.
- method ansi.Method // The width method used by the terminal.
- profile colorprofile.Profile
- useTabs bool // Whether to use hard tabs or not.
- useBspace bool // Whether to use backspace or not.
-
- // Terminal input stream.
- cr cancelreader.CancelReader
- rd *TerminalReader
- winchn *SizeNotifier // The window size notifier for the terminal.
- evs chan Event // receiving event channel.
- evch chan Event // event loop channel
- evctx context.Context // context for the event channel.
- evcancel context.CancelFunc // The cancel function for the event channel.
- evloop chan struct{} // Channel to signal the event loop has exited.
- once sync.Once
- errg *errgroup.Group
- m sync.RWMutex // Mutex to protect the terminal state.
-
- // Renderer state.
- state state
- lastState *state
- prepend []string
-
- logger Logger // The debug logger for I/O.
-}
-
-type state struct {
- altscreen bool
- curHidden bool
- cur Position
-}
-
-// DefaultTerminal returns a new default terminal instance that uses
-// [os.Stdin], [os.Stdout], and [os.Environ].
-func DefaultTerminal() *Terminal {
- return NewTerminal(os.Stdin, os.Stdout, os.Environ())
-}
-
-// NewTerminal creates a new [Terminal] instance with the given I/O streams and
-// environment variables.
-func NewTerminal(in io.Reader, out io.Writer, env []string) *Terminal {
- t := new(Terminal)
- t.in = in
- t.out = out
- if f, ok := in.(term.File); ok {
- t.inTty = f
- }
- if f, ok := out.(term.File); ok {
- t.outTty = f
- }
- t.environ = env
- t.termtype = t.environ.Getenv("TERM")
- t.scr = NewTerminalRenderer(t.out, t.environ)
- t.buf = NewBuffer(0, 0)
- t.method = ansi.WcWidth // Default width method.
- t.SetColorProfile(colorprofile.Detect(out, env))
- t.evs = make(chan Event)
- t.evch = make(chan Event)
- t.once = sync.Once{}
-
- // Create a new context to manage input events.
- t.evctx, t.evcancel = context.WithCancel(context.Background())
- t.errg, t.evctx = errgroup.WithContext(t.evctx)
-
- // Window size changes only for non-Windows platforms.
- if !isWindows {
- // Create default input receivers.
- winchTty := t.inTty
- if winchTty == nil {
- winchTty = t.outTty
- }
- t.winchn = NewSizeNotifier(winchTty)
- }
-
- // Handle debugging I/O.
- debug, ok := os.LookupEnv("UV_DEBUG")
- if ok && len(debug) > 0 {
- f, err := os.OpenFile(debug, os.O_RDWR|os.O_CREATE|os.O_APPEND, 0o600)
- if err != nil {
- panic("failed to open debug file: " + err.Error())
- }
-
- logger := log.New(f, "uv: ", log.LstdFlags|log.Lshortfile)
- t.SetLogger(logger)
- }
- return t
-}
-
-// SetLogger sets the debug logger for the terminal. This is used to log debug
-// information about the terminal I/O. By default, it is set to a no-op logger.
-func (t *Terminal) SetLogger(logger Logger) {
- t.logger = logger
-}
-
-// ColorProfile returns the currently used color profile for the terminal.
-func (t *Terminal) ColorProfile() colorprofile.Profile {
- return t.profile
-}
-
-// SetColorProfile sets a custom color profile for the terminal. This is useful
-// for forcing a specific color output. By default, the terminal will use the
-// system's color profile inferred by the environment variables.
-func (t *Terminal) SetColorProfile(p colorprofile.Profile) {
- t.profile = p
-}
-
-// ColorModel returns the color model of the terminal screen.
-func (t *Terminal) ColorModel() color.Model {
- return t.ColorProfile()
-}
-
-// SetWidthMethod sets the width method used by the terminal. This is typically
-// used to determine how the terminal calculates the width of a single
-// grapheme.
-// The default method is [ansi.WcWidth].
-func (t *Terminal) SetWidthMethod(method ansi.Method) {
- t.method = method
-}
-
-// WidthMethod returns the width method used by the terminal. This is typically
-// used to determine how the terminal calculates the width of a single
-// grapheme.
-func (t *Terminal) WidthMethod() WidthMethod {
- return t.method
-}
-
-var _ color.Model = (*Terminal)(nil)
-
-// Convert converts the given color to the terminal's color profile. This
-// implements the [color.Model] interface, allowing you to convert any color to
-// the terminal's preferred color model.
-func (t *Terminal) Convert(c color.Color) color.Color {
- return t.profile.Convert(c)
-}
-
-// GetSize returns the size of the terminal screen. It errors if the size
-// cannot be determined.
-func (t *Terminal) GetSize() (width, height int, err error) {
- w, h, err := t.getSize()
- if err != nil {
- return 0, 0, fmt.Errorf("error getting terminal size: %w", err)
- }
- // Cache the last known size.
- t.m.Lock()
- t.size.Width = w
- t.size.Height = h
- t.m.Unlock()
- return w, h, nil
-}
-
-// Size returns the last known size of the terminal screen. This is updated
-// whenever a window size change event is received. If you need to get the
-// current size of the terminal, use [Terminal.GetSize].
-func (t *Terminal) Size() Size {
- t.m.RLock()
- defer t.m.RUnlock()
- return t.size
-}
-
-// Bounds returns the bounds of the terminal screen buffer. This is the
-// rectangle that contains start and end points of the screen buffer.
-// This is different from [Terminal.GetSize] which queries the size of the
-// terminal window. The screen buffer can occupy a portion or all of the
-// terminal window. Use [Terminal.Resize] to change the size of the screen
-// buffer.
-func (t *Terminal) Bounds() Rectangle {
- return Rect(0, 0, t.buf.Width(), t.buf.Height())
-}
-
-// SetCell sets the cell at the given x, y position in the terminal buffer.
-func (t *Terminal) SetCell(x int, y int, c *Cell) {
- t.buf.SetCell(x, y, c)
-}
-
-// CellAt returns the cell at the given x, y position in the terminal buffer.
-func (t *Terminal) CellAt(x int, y int) *Cell {
- return t.buf.CellAt(x, y)
-}
-
-var _ Screen = (*Terminal)(nil)
-
-// Clear fills the terminal screen with empty cells, and clears the
-// terminal screen.
-//
-// This is different from [Terminal.Erase], which only fills the screen
-// buffer with empty cells without erasing the terminal screen first.
-func (t *Terminal) Clear() {
- t.buf.Clear()
-}
-
-// ClearArea fills the given area of the terminal screen with empty cells.
-func (t *Terminal) ClearArea(area Rectangle) {
- t.buf.ClearArea(area)
-}
-
-// Fill fills the terminal screen with the given cell. If the cell is nil, it
-// fills the screen with empty cells.
-func (t *Terminal) Fill(c *Cell) {
- t.buf.Fill(c)
-}
-
-// FillArea fills the given area of the terminal screen with the given cell.
-// If the cell is nil, it fills the area with empty cells.
-func (t *Terminal) FillArea(c *Cell, area Rectangle) {
- t.buf.FillArea(c, area)
-}
-
-// Clone returns a copy of the terminal screen buffer. This is useful for
-// creating a snapshot of the current terminal state without modifying the
-// original buffer.
-func (t *Terminal) Clone() *Buffer {
- return t.buf.Clone()
-}
-
-// CloneArea clones the given area of the terminal screen and returns a new
-// buffer with the same size as the area. The new buffer will contain the
-// same cells as the area in the terminal screen.
-func (t *Terminal) CloneArea(area Rectangle) *Buffer {
- return t.buf.CloneArea(area)
-}
-
-// Position returns the last known position of the cursor in the terminal.
-func (t *Terminal) Position() (int, int) {
- return t.scr.Position()
-}
-
-// SetPosition sets the position of the cursor in the terminal. This is
-// typically used when the cursor was moved manually outside of the [Terminal]
-// context.
-func (t *Terminal) SetPosition(x, y int) {
- t.scr.SetPosition(x, y)
-}
-
-// MoveTo moves the cursor to the given x, y position in the terminal. This
-// won't take any effect until the next [Terminal.Display] call.
-func (t *Terminal) MoveTo(x, y int) {
- t.state.cur = Pos(x, y)
-}
-
-func (t *Terminal) configureRenderer() {
- t.scr.SetColorProfile(t.profile)
- if t.useTabs {
- t.m.RLock()
- t.scr.SetTabStops(t.size.Width)
- t.m.RUnlock()
- }
- t.scr.SetBackspace(t.useBspace)
- t.scr.SetLogger(t.logger)
-}
-
-// Erase fills the screen buffer with empty cells, and wipe the terminal
-// screen. This is different from [Terminal.Clear], which only fills the
-// terminal with empty cells.
+ con Console
+ opts *Options
+ scr *TerminalScreen
+ pr pollReader
+ buf []byte
+ evc chan Event
+ errg errgroup.Group
+ winch chan os.Signal
+ donec chan struct{}
+}
+
+// DefaultTerminal creates a new [Terminal] instance using the default standard
+// console and the given options. Options can be nil to use the default
+// options.
//
-// This won't take any effect until the next [Terminal.Display].
-func (t *Terminal) Erase() {
- t.buf.Touched = nil
- t.scr.Erase()
- t.Clear()
+// This is a convenience function for creating a terminal that uses the
+// standard input and output file descriptors.
+func DefaultTerminal() *Terminal {
+ return NewTerminal(nil, nil)
}
-// Draw draws the given drawable component to the terminal screen buffer. It
-// automatically resizes the screen buffer to match the size of the drawable
-// component.
+// ControllingTerminal creates a new [Terminal] instance using the controlling
+// terminal's input and output file descriptors.
+// Options can be nil to use the default options.
//
-// This won't take any effect until the next [Terminal.Display].
-func (t *Terminal) Draw(d Drawable) {
- frameArea := t.size.Bounds()
- if d == nil {
- // If the component is nil, we should clear the screen buffer.
- frameArea.Max.Y = 0
- }
-
- // We need to resizes the screen based on the frame height and
- // terminal width. This is because the frame height can change based on
- // the content of the frame. For example, if the frame contains a list
- // of items, the height of the frame will be the number of items in the
- // list. This is different from the alt screen buffer, which has a
- // fixed height and width.
- frameHeight := frameArea.Dy()
- switch layer := d.(type) {
- case *StyledString:
- frameHeight = layer.Height()
- case interface{ Height() int }:
- frameHeight = layer.Height()
- case interface{ Bounds() Rectangle }:
- frameHeight = layer.Bounds().Dy()
- }
-
- if frameHeight != frameArea.Dy() {
- frameArea.Max.Y = frameHeight
- }
-
- // Resize the screen buffer to match the frame area. This is necessary
- // to ensure that the screen buffer is the same size as the frame area
- // and to avoid rendering issues when the frame area is smaller than
- // the screen buffer.
- t.buf.Resize(frameArea.Dx(), frameArea.Dy())
-
- // Clear our screen buffer before copying the new frame into it to ensure
- // we erase any old content.
- t.buf.Clear()
- if d != nil {
- d.Draw(t, t.buf.Bounds())
- }
-
- // If the frame height is greater than the screen height, we drop the
- // lines from the top of the buffer.
- if frameHeight := frameArea.Dy(); frameHeight > t.size.Height {
- t.buf.Lines = t.buf.Lines[frameHeight-t.size.Height:]
+// This is a convenience function for creating a terminal that uses the
+// controlling TTY of the current process.
+func ControllingTerminal() (*Terminal, error) {
+ con, err := ControllingConsole()
+ if err != nil {
+ return nil, err
}
+ return NewTerminal(con, nil), nil
}
-// Display computes the necessary changes to the terminal screen and renders
-// the current buffer to the terminal screen.
-//
-// Typically, you would call this after modifying the terminal buffer using
-// [Terminal.SetCell] or [Terminal.PrependString].
-func (t *Terminal) Display() error {
- state := t.state // Capture the current state.
-
- // alternate screen buffer.
- altscreenChanged := t.lastState == nil || t.lastState.altscreen != state.altscreen
- if altscreenChanged {
- setAltScreen(t, state.altscreen)
+// NewTerminal creates a new [Terminal] instance with the given console and
+// options.
+// Options can be nil to use the default options.
+func NewTerminal(con Console, opts *Options) *Terminal {
+ t := &Terminal{}
+ if con == nil {
+ con = DefaultConsole()
}
-
- // cursor visibility.
- cursorVisChanged := t.lastState == nil || t.lastState.curHidden != state.curHidden
- if cursorVisChanged || altscreenChanged {
- if state.curHidden {
- _, _ = t.scr.WriteString(ansi.ResetModeTextCursorEnable)
- } else {
- _, _ = t.scr.WriteString(ansi.SetModeTextCursorEnable)
- }
+ if opts == nil {
+ opts = DefaultOptions()
}
-
- // render the buffer.
- t.scr.Render(t.buf)
-
- // add any prepended strings.
- if len(t.prepend) > 0 {
- for _, line := range t.prepend {
- prependLine(t, line)
- }
- t.prepend = t.prepend[:0]
- }
-
- if state.cur != Pos(-1, -1) {
- // MoveTo must come after [TerminalRenderer.Render] because the cursor
- // position might get updated during rendering.
- t.scr.MoveTo(state.cur.X, state.cur.Y)
+ if opts.BufferSize <= 0 {
+ opts.BufferSize = DefaultBufferSize
}
-
- if err := t.Flush(); err != nil {
- return fmt.Errorf("error flushing terminal: %w", err)
+ if opts.EventTimeout <= 0 {
+ opts.EventTimeout = DefaultEventTimeout
}
-
- t.lastState = &state // Save the last state.
-
- return nil
-}
-
-// Flush flushes any pending renders to the terminal screen. This is typically
-// used to flush the underlying screen buffer to the terminal.
-//
-// Use [Terminal.Buffered] to check how many bytes pending to be flushed.
-func (t *Terminal) Flush() error {
- if err := t.scr.Flush(); err != nil {
- return fmt.Errorf("error flushing terminal: %w", err)
+ t.con = con
+ t.opts = opts
+ t.scr = NewTerminalScreen(t.con.Writer(), t.con.Environ())
+ t.buf = make([]byte, opts.BufferSize)
+ // These channels never close during the terminal's lifetime.
+ t.evc = make(chan Event)
+ t.winch = make(chan os.Signal, 1) // buffered to avoid missing signals
+ if opts.Logger != nil {
+ t.scr.rend.SetLogger(opts.Logger)
}
- return nil
+ return t
}
-func prependLine(t *Terminal, line string) {
- strLines := strings.Split(line, "\n")
- for i, line := range strLines {
- // If the line is wider than the screen, truncate it.
- strLines[i] = ansi.Truncate(line, t.size.Width, "")
+// GetSize returns the current size of the terminal in characters and pixels.
+func (t *Terminal) GetSize() (width, height int, err error) {
+ w, h, err := t.con.GetSize()
+ if err != nil {
+ return 0, 0, fmt.Errorf("getting terminal size: %w", err)
}
- t.scr.PrependString(t.buf, strings.Join(strLines, "\n"))
-}
-
-// Buffered returns the number of bytes buffered for the flush operation.
-func (t *Terminal) Buffered() int {
- return t.scr.Buffered()
-}
-
-// Touched returns the number of touched lines in the terminal buffer.
-func (t *Terminal) Touched() int {
- return t.scr.Touched(t.buf)
+ return int(w), int(h), nil
}
-// EnterAltScreen enters the alternate screen buffer. This is typically used
-// for applications that want to take over the entire terminal screen.
-//
-// Note that this won't take any effect until the next [Terminal.Display] call.
-func (t *Terminal) EnterAltScreen() {
- t.state.altscreen = true
-}
-
-// ExitAltScreen exits the alternate screen buffer and returns to the normal
-// screen buffer.
-//
-// The [Terminal] manages the alternate screen buffer for you based on the
-// [Viewport] used during [Terminal.Display]. This means that you don't need to
-// call this unless you know what you're doing.
+// GetWinsize returns the current size of the terminal as a [Winsize] struct.
+// This includes both character dimensions (columns and rows) and pixel
+// dimensions (xpixel and ypixel).
//
-// Note that this won't take any effect until the next [Terminal.Display] call.
-func (t *Terminal) ExitAltScreen() {
- t.state.altscreen = false
-}
-
-// ShowCursor shows the terminal cursor.
-//
-// The [Terminal] manages the visibility of the cursor for you based on the
-// [Viewport] used during [Terminal.Display]. This means that you don't need to
-// call this unless you know what you're doing.
-//
-// Note that this won't take any effect until the next [Terminal.Display] call.
-func (t *Terminal) ShowCursor() {
- t.state.curHidden = false
-}
-
-// HideCursor hides the terminal cursor.
-//
-// The [Terminal] manages the visibility of the cursor for you based on the
-// [Viewport] used during [Terminal.Display]. This means that you don't need to
-// call this unless you know what you're doing.
-//
-// Note that this won't take any effect until the next [Terminal.Display] call.
-func (t *Terminal) HideCursor() {
- t.state.curHidden = true
-}
-
-// Resize resizes the terminal screen buffer to the given width and height.
-// This won't affect [Terminal.Size] or the terminal size, but it will resize
-// the screen buffer used by the terminal.
-func (t *Terminal) Resize(width, height int) error {
- // We need to reset the touched lines buffer to match the new height.
- t.buf.Touched = nil
- t.buf.Resize(width, height)
- if t.scr != nil {
- t.scr.Resize(width, height)
- }
- return nil
-}
-
-// Start prepares the terminal for use. It starts the input reader and
-// initializes the terminal state. This should be called before using the
-// terminal.
-func (t *Terminal) Start() error {
- if t.running.Load() {
- return ErrRunning
- }
-
- if t.inTty == nil && t.outTty == nil {
- return ErrNotTerminal
- }
-
- // Create a new terminal renderer.
- t.scr = NewTerminalRenderer(t.out, t.environ)
-
- // First run, add some default states.
- if t.lastState == nil {
- t.EnterAltScreen()
- t.HideCursor()
- t.state.cur = Pos(-1, -1)
- }
-
- // Store the initial terminal size.
- w, h, err := t.GetSize()
+// Note that this only returns the pixel dimensions on Unix-like systems that
+// support the TIOCGWINSZ ioctl. On other platforms, the pixel dimensions may
+// be zero or not available.
+func (t *Terminal) GetWinsize() (*Winsize, error) {
+ ws, err := t.con.GetWinsize()
if err != nil {
- return fmt.Errorf("error getting initial terminal size: %w", err)
- }
-
- t.size = Size{Width: w, Height: h}
-
- if t.buf.Width() == 0 && t.buf.Height() == 0 {
- // If the buffer is not initialized, set it to the terminal size.
- t.buf.Resize(t.size.Width, t.size.Height)
- t.scr.Erase()
- }
-
- t.scr.Resize(t.buf.Width(), t.buf.Height())
-
- if err := t.initialize(); err != nil {
- _ = t.restore()
- return err
- }
-
- // We need to call [Terminal.optimizeMovements] before creating the screen
- // to populate [Terminal.useBspace] and [Terminal.useTabs].
- t.optimizeMovements()
- t.configureRenderer()
-
- t.running.Store(true)
-
- return t.initializeState()
-}
-
-// Pause pauses the terminal input reader. This is typically used to pause the
-// terminal input reader when the terminal is not in use, such as when
-// switching to another application.
-func (t *Terminal) Pause() error {
- if !t.running.Load() {
- return ErrNotRunning
- }
-
- t.running.Store(false)
-
- if err := t.restore(); err != nil {
- return fmt.Errorf("error restoring terminal: %w", err)
+ return nil, fmt.Errorf("getting terminal winsize: %w", err)
}
- return nil
-}
-
-// Resume resumes the terminal input reader. This is typically used to resume
-// the terminal input reader when the terminal is in use again, such as when
-// switching back to the terminal application.
-func (t *Terminal) Resume() error {
- if t.running.Load() {
- return ErrRunning
- }
-
- t.running.Store(true)
-
- if err := t.initialize(); err != nil {
- return fmt.Errorf("error entering raw mode: %w", err)
- }
-
- return t.initializeState()
-}
-
-// Stop stops the terminal and restores the terminal to its original state.
-// This is typically used to stop the terminal gracefully.
-func (t *Terminal) Stop() error {
- return t.stop()
-}
-
-// Teardown is similar to [Terminal.Stop], but it also closes the input reader
-// and the event channel as well as any other resources used by the terminal.
-// This is typically used to completely shutdown the application.
-func (t *Terminal) Teardown() error {
- if err := t.stop(); err != nil {
- return fmt.Errorf("error stopping terminal: %w", err)
- }
- _ = t.cr.Close()
- t.evcancel()
- return nil
-}
-
-// Wait waits for the terminal to shutdown and all pending events to be
-// processed. This is typically used to wait for the terminal to shutdown
-// gracefully.
-func (t *Terminal) Wait() error {
- if err := t.errg.Wait(); err != nil {
- return fmt.Errorf("error waiting for terminal: %w", err)
- }
- return nil
+ return ws, nil
}
-// Shutdown gracefully tears down the terminal, restoring its original state
-// and stopping the event channel. It waits for any pending events to be
-// processed or the context to be done before closing the event channel.
-func (t *Terminal) Shutdown(ctx context.Context) error {
- if err := t.Teardown(); err != nil {
- return err
- }
- errc := make(chan error, 1)
- go func() {
- errc <- t.Wait()
- }()
- select {
- case <-ctx.Done():
- return ctx.Err() //nolint:wrapcheck
- case err := <-errc:
- return err
- }
+// Screen returns the terminal's screen.
+func (t *Terminal) Screen() *TerminalScreen {
+ return t.scr
}
-// Events returns the event channel used by the terminal to send input events.
-// Use [Terminal.SendEvent] to send events to the terminal event loop.
+// Events returns the terminal's event channel.
func (t *Terminal) Events() <-chan Event {
- return t.evs
+ return t.evc
}
-// SendEvent sends the given event to the terminal event loop. This is
-// typically used to send custom events to the terminal, such as
-// application-specific events.
-func (t *Terminal) SendEvent(ev Event) {
- select {
- case <-t.evctx.Done():
- case t.evch <- ev:
- }
-}
-
-// PrependString adds the given string to the top of the terminal screen. The
-// string is split into lines and each line is added as a new line at the top
-// of the screen. The added lines are not managed by the terminal and will not
-// be cleared or updated by the [Terminal].
-//
-// This will truncate each line to the terminal width, so if the string is
-// longer than the terminal width, it will be truncated to fit.
-//
-// Using this when the terminal is using the alternate screen or when occupying
-// the whole screen may not produce any visible effects. This is because once
-// the terminal writes the prepended lines, they will get overwritten by the
-// next frame.
-//
-// Note that this won't take any effect until the next [Terminal.Display] call.
-func (t *Terminal) PrependString(str string) {
- t.prepend = append(t.prepend, str)
-}
-
-// PrependLines adds lines of cells to the top of the terminal screen. The
-// added line is unmanaged and will not be cleared or updated by the
-// [Terminal].
-//
-// This will truncate each line to the terminal width, so if the string is
-// longer than the terminal width, it will be truncated to fit.
-//
-// Using this when the terminal is using the alternate screen or when occupying
-// the whole screen may not produce any visible effects. This is because once
-// the terminal writes the prepended lines, they will get overwritten by the
-// next frame.
-//
-// Note that this won't take any effect until the next [Terminal.Display] call.
-func (t *Terminal) PrependLines(lines ...Line) {
- for _, l := range lines {
- t.prepend = append(t.prepend, l.Render())
- }
-}
-
-// Write writes the given bytes to the underlying terminal renderer.
-// This is typically used to write arbitrary data to the terminal, usually
-// escape sequences or control characters.
-//
-// This can affect the renderer state and the terminal screen, so it should be
-// used with caution.
-//
-// Note that this won't take any effect until the next [Terminal.Display] or
-// [Terminal.Flush] call.
-func (t *Terminal) Write(p []byte) (n int, err error) {
- return t.scr.Write(p)
-}
-
-// WriteString writes the given string to the underlying terminal renderer.
-// This is typically used to write arbitrary data to the terminal, usually
-// escape sequences or control characters.
-//
-// This can affect the renderer state and the terminal screen, so it should be
-// used with caution.
-//
-// Note that this won't take any effect until the next [Terminal.Display] or
-// [Terminal.Flush] call.
-func (t *Terminal) WriteString(s string) (n int, err error) {
- return t.scr.WriteString(s)
-}
-
-func (t *Terminal) stop() error {
- if !t.running.Load() {
- return ErrNotRunning
- }
-
- if err := t.restore(); err != nil {
- return fmt.Errorf("error restoring terminal: %w", err)
- }
-
- t.running.Store(false)
- return nil
-}
-
-func setAltScreen(t *Terminal, enable bool) {
- if enable {
- t.scr.EnterAltScreen()
- } else {
- t.scr.ExitAltScreen()
- }
-}
-
-func (t *Terminal) initializeState() error {
- if t.lastState == nil {
- setAltScreen(t, true)
- return nil
- }
-
- setAltScreen(t, t.lastState.altscreen)
-
- if t.lastState.curHidden {
- _, _ = t.scr.WriteString(ansi.ResetModeTextCursorEnable)
- } else {
- _, _ = t.scr.WriteString(ansi.SetModeTextCursorEnable)
- }
- if t.lastState.cur != Pos(-1, -1) {
- t.MoveTo(t.lastState.cur.X, t.lastState.cur.Y)
- }
-
- return t.scr.Flush()
-}
-
-func (t *Terminal) initialize() error {
- // Initialize the terminal IO streams.
- if err := t.makeRaw(); err != nil {
- return fmt.Errorf("error entering raw mode: %w", err)
- }
-
- // Initialize input.
- cr, err := NewCancelReader(t.in)
+// Start starts the terminal application event loop. This is a non-blocking
+// call. Use [Terminal.Wait] to wait for the terminal to exit.
+func (t *Terminal) Start() error {
+ _, err := t.con.MakeRaw()
if err != nil {
- return fmt.Errorf("error creating cancel reader: %w", err)
+ return fmt.Errorf("failed to set terminal to raw mode: %w", err)
}
- t.cr = cr
- t.rd = NewTerminalReader(t.cr, t.termtype)
- t.rd.SetLogger(t.logger)
- t.evloop = make(chan struct{})
-
- // Send the initial window size to the event channel.
- t.errg.Go(t.initialResizeEvent)
-
- // Start the window size notifier if it is available.
- if t.winchn != nil {
- if err := t.winchn.Start(); err != nil {
- return fmt.Errorf("error starting window size notifier: %w", err)
- }
- // Start SIGWINCH listener if available.
- t.errg.Go(t.resizeLoop)
+ evs := newEventScanner()
+ evs.lookup = t.opts.LookupKeys
+ if evs.lookup {
+ evs.table = buildKeysTable(t.opts.LegacyKeyEncoding, t.con.Getenv("TERM"), t.opts.UseTerminfoKeys)
}
-
- // Input and event loops
- t.errg.Go(t.inputLoop)
- t.errg.Go(t.eventLoop)
-
- return nil
-}
-
-func (t *Terminal) initialResizeEvent() error {
- var cells, pixels Size
- var err error
- if t.winchn == nil {
- cells.Width, cells.Height, err = t.GetSize()
- } else {
- cells, pixels, err = t.winchn.GetWindowSize()
+ if t.opts.Logger != nil {
+ evs.setLogger(t.opts.Logger)
}
+ bufc := make(chan []byte)
+ t.donec = make(chan struct{})
+ t.pr, err = newPollReader(t.con.Reader())
if err != nil {
- return err
- }
-
- events := []Event{
- WindowSizeEvent(cells),
- }
- if pixels.Width > 0 && pixels.Height > 0 {
- events = append(events, WindowPixelSizeEvent(pixels))
- }
- for _, e := range events {
- select {
- case <-t.evctx.Done():
- return nil
- case t.evch <- e:
- }
+ return fmt.Errorf("failed to create poll reader: %w", err)
}
- return nil
-}
-func (t *Terminal) resizeLoop() error {
- if t.winchn == nil {
- return nil
- }
- for {
- select {
- case <-t.evctx.Done():
- return nil
- case <-t.winchn.C:
- cells, pixels, err := t.winchn.GetWindowSize()
+ // input loop
+ t.errg.Go(func() error {
+ for {
+ n, err := t.pr.Read(t.buf)
if err != nil {
- return err
+ return fmt.Errorf("reading terminal input: %w", err)
}
+ select {
+ case bufc <- t.buf[:n]:
+ case <-t.donec:
+ return nil
+ }
+ }
+ })
+
+ // event loop
+ sendEvents := func(buf []byte, expired bool) int {
+ n, events := evs.scanEvents(buf, expired)
+ for _, ev := range events {
+ t.handleEvent(ev)
+ t.SendEvent(ev)
+ }
+ return n
+ }
+ t.errg.Go(func() error {
+ var buf []byte
+ timer := time.NewTimer(t.opts.EventTimeout)
+ timeout := time.Now().Add(t.opts.EventTimeout)
- t.m.RLock()
- size, pixSize := t.size, t.pixSize
- t.m.RUnlock()
-
- if cells != size {
- select {
- case <-t.evctx.Done():
- return nil
- case t.evch <- WindowSizeEvent(cells):
+ for {
+ select {
+ case <-t.donec:
+ return nil
+ case <-timer.C:
+ expired := len(buf) > 0 && time.Now().After(timeout)
+ n := sendEvents(buf, expired)
+ if n > 0 {
+ buf = buf[min(n, len(buf)):]
}
- }
- if pixels != pixSize && pixels.Width > 0 && pixels.Height > 0 {
- select {
- case <-t.evctx.Done():
- return nil
- case t.evch <- WindowPixelSizeEvent(pixels):
+ if len(buf) > 0 {
+ timer.Reset(t.opts.EventTimeout)
+ }
+ case data := <-bufc:
+ buf = append(buf, data...)
+ n := sendEvents(buf, false)
+ timeout = time.Now().Add(t.opts.EventTimeout)
+ timer.Stop()
+ if n > 0 {
+ buf = buf[min(n, len(buf)):]
+ }
+ if len(buf) > 0 {
+ timer.Reset(t.opts.EventTimeout)
}
}
-
- t.m.Lock()
- t.size = cells
- if pixels.Width > 0 && pixels.Height > 0 {
- t.pixSize = pixels
- }
- t.m.Unlock()
}
- }
-}
-
-func (t *Terminal) inputLoop() error {
- defer close(t.evloop)
+ })
- if err := t.rd.StreamEvents(t.evctx, t.evch); err != nil {
- return err
+ sendWinsize := func() error {
+ ws, err := t.con.GetWinsize()
+ if err != nil {
+ return fmt.Errorf("getting terminal size: %w", err)
+ }
+ if ws.Col > 0 && ws.Row > 0 {
+ t.SendEvent(WindowSizeEvent{
+ Width: int(ws.Col),
+ Height: int(ws.Row),
+ })
+ }
+ if ws.Xpixel > 0 && ws.Ypixel > 0 {
+ t.SendEvent(PixelSizeEvent{
+ Width: int(ws.Xpixel),
+ Height: int(ws.Ypixel),
+ })
+ }
+ return nil
}
- return nil
-}
-func (t *Terminal) eventLoop() error {
- for {
- select {
- case <-t.evctx.Done():
- return nil
- case ev, ok := <-t.evch:
- if !ok {
- return nil
- }
- switch ev := ev.(type) {
- case WindowSizeEvent:
- t.m.Lock()
- t.size = Size(ev)
- t.m.Unlock()
- case WindowPixelSizeEvent:
- t.m.Lock()
- t.pixSize = Size(ev)
- t.m.Unlock()
- }
+ // winch handler
+ NotifyWinch(t.winch)
+ t.errg.Go(func() error {
+ for {
select {
- case <-t.evctx.Done():
+ case <-t.donec:
return nil
- case t.evs <- ev:
+ case <-t.winch:
+ if err := sendWinsize(); err != nil {
+ return err
+ }
}
}
- }
-}
+ })
-// restoreTTY restores the terminal TTY to its original state.
-func (t *Terminal) restoreTTY() error {
- if t.inTtyState != nil {
- if err := term.Restore(t.inTty.Fd(), t.inTtyState); err != nil {
- return fmt.Errorf("error restoring input terminal state: %w", err)
+ // init window size
+ t.errg.Go(func() error {
+ if err := sendWinsize(); err != nil {
+ return err
}
- t.inTtyState = nil
- }
- if t.outTtyState != nil {
- if err := term.Restore(t.outTty.Fd(), t.outTtyState); err != nil {
- return fmt.Errorf("error restoring output terminal state: %w", err)
- }
- t.outTtyState = nil
+ return nil
+ })
+
+ // Restore any previous screen state.
+ t.scr.Restore()
+ // Query whether the terminal supports Unicode core mode (DEC mode 2027) so
+ // we can negotiate grapheme-cluster width. The response is handled in the
+ // event loop.
+ t.scr.requestGraphemeWidth()
+ if err := t.scr.Flush(); err != nil {
+ return fmt.Errorf("failed to flush terminal screen: %w", err)
}
- if t.winchn != nil {
- if err := t.winchn.Stop(); err != nil {
- return fmt.Errorf("error stopping window size notifier: %w", err)
+
+ return nil
+}
+
+// handleEvent reacts to internal events before they are forwarded to the
+// application. It negotiates Unicode core mode (DEC mode 2027): when the
+// terminal reports the mode is in a settable or active state, it enables
+// grapheme-cluster width so wide-glyph measurement matches the terminal. The
+// event is still forwarded to the application.
+//
+// The mode is only enabled for settable/active states (mode set, reset but
+// settable, or permanently set). It is explicitly not enabled when the mode is
+// not recognized or permanently reset, since those terminals cannot honor it.
+// Enabling goes through the screen's locked write path so it cannot race with
+// the application's Render/Flush.
+func (t *Terminal) handleEvent(ev Event) {
+ if mr, ok := ev.(ModeReportEvent); ok {
+ if mr.Mode == ansi.ModeUnicodeCore &&
+ (mr.Value.IsSet() || mr.Value == ansi.ModeReset) {
+ t.scr.enableGraphemeWidth()
}
}
+}
+// Wait waits for the terminal event loop to exit and returns any error that
+// occurred.
+func (t *Terminal) Wait() error {
+ if err := t.errg.Wait(); err != nil {
+ return fmt.Errorf("terminal event loop error: %w", err)
+ }
return nil
}
-// restoreState restores the terminal state, including modes, colors, and
-// cursor position. If flush is false, it won't commit the changes to the
-// terminal immediately.
-func (t *Terminal) restoreState() error {
- if t.cr != nil {
- t.cr.Cancel()
+// Stop stops the terminal event loop. It is safe to call Stop without a
+// prior [Terminal.Start], and safe to call Stop multiple times in a row.
+// After Stop returns, [Terminal.Start] may be called again to resume.
+func (t *Terminal) Stop() error {
+ if t.donec != nil {
select {
- case <-t.evloop:
- case <-time.After(500 * time.Millisecond):
- // Timeout waiting for the event loop to exit.
+ case <-t.donec:
+ // Already closed.
+ default:
+ close(t.donec)
}
}
- if ls := t.lastState; ls != nil {
- if ls.altscreen {
- setAltScreen(t, false)
- } else {
- // Go to the bottom of the screen.
- t.scr.MoveTo(0, t.buf.Height()-1)
- _, _ = t.WriteString("\r" + ansi.EraseScreenBelow)
- }
- if ls.curHidden {
- _, _ = t.scr.WriteString(ansi.SetModeTextCursorEnable)
- }
+ if t.winch != nil {
+ signal.Stop(t.winch)
}
-
+ if t.pr != nil {
+ t.pr.Cancel()
+ _ = t.pr.Close()
+ t.pr = nil
+ }
+ t.scr.Reset()
if err := t.scr.Flush(); err != nil {
- return fmt.Errorf("error flushing terminal: %w", err)
+ _ = t.con.Restore()
+ return fmt.Errorf("failed to flush terminal screen: %w", err)
+ }
+ if err := t.con.Restore(); err != nil {
+ return fmt.Errorf("failed to restore terminal state: %w", err)
}
-
- // Reset cursor position for next start.
- t.scr.SetPosition(-1, -1)
-
return nil
}
-// restore is a helper function that restores the terminal TTY and state. It also moves the cursor
-// to the bottom of the screen to avoid overwriting any terminal content.
-func (t *Terminal) restore() error {
- if err := t.restoreState(); err != nil {
- return err
- }
- if err := t.restoreTTY(); err != nil {
- return err
+// SendEvent sends an event to the terminal's event channel.
+//
+// This can be used to inject custom events into the terminal's event loop,
+// such as timer events, signals, or application-specific events.
+func (t *Terminal) SendEvent(e Event) {
+ select {
+ case t.evc <- e:
+ case <-t.donec:
}
- return nil
+}
+
+// Write writes data directly to the terminal's console output.
+//
+// This is a low-level operation that bypasses the terminal screen buffering
+// and writes directly to the console output handler, usually [os.Stdout] or
+// the controlling TTY.
+func (t *Terminal) Write(p []byte) (n int, err error) {
+ return t.con.Write(p)
+}
+
+// Read reads data from the terminal's console input.
+//
+// This is a low-level operation that bypasses the terminal event processing
+// and reads directly from the console input handler, usually [os.Stdin] or the
+// controlling TTY. Use this method with caution, as it may interfere with the
+// terminal's event loop and screen management.
+func (t *Terminal) Read(p []byte) (n int, err error) {
+ return t.con.Read(p)
}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_other.go b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_other.go
index ccd115690..9130fcc4c 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_other.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_other.go
@@ -3,15 +3,20 @@
package uv
-func (*Terminal) makeRaw() error {
- return ErrPlatformNotSupported
+import "github.com/charmbracelet/x/term"
+
+func makeRaw(_, _ term.File) (inTtyState, outTtyState *term.State, err error) {
+ return nil, nil, ErrPlatformNotSupported
}
-func (*Terminal) getSize() (int, int, error) {
+func getSize(_, _ term.File) (w, h int, err error) {
return 0, 0, ErrPlatformNotSupported
}
-func (t *Terminal) optimizeMovements() {}
+func getWinsize(_, _ term.File) (ws Winsize, err error) {
+ return Winsize{}, ErrPlatformNotSupported
+}
-func (*Terminal) enableWindowsMouse() error { return ErrPlatformNotSupported }
-func (*Terminal) disableWindowsMouse() error { return ErrPlatformNotSupported }
+func optimizeMovements(*term.State) (useTabs, useBspace bool) {
+ return false, false
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_reader.go b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_reader.go
index 4cb1b34e2..b3b79cd00 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_reader.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_reader.go
@@ -8,6 +8,7 @@ import (
"io"
"strconv"
"strings"
+ "sync"
"time"
"unicode"
"unicode/utf16"
@@ -62,6 +63,8 @@ type TerminalReader struct {
//nolint:unused,nolintlint
vtInput bool
+ eventScanner *eventScanner
+
// We use these buffers to decode UTF-16 sequences and graphemes from the
// Windows Console API and Win32-Input-Mode events.
utf16Half [2]bool // 0 key up, 1 key down
@@ -101,6 +104,12 @@ func NewTerminalReader(r io.Reader, termType string) *TerminalReader {
if d.table == nil {
d.table = buildKeysTable(d.Legacy, d.term, d.UseTerminfo)
}
+ evs := newEventScanner()
+ evs.EventDecoder = d.EventDecoder
+ evs.table = d.table
+ evs.lookup = d.lookup
+ evs.setLogger(d.logger)
+ d.eventScanner = evs
return d
}
@@ -134,7 +143,11 @@ func (d *TerminalReader) StreamEvents(ctx context.Context, eventc chan<- Event)
timeout := time.NewTimer(d.EscTimeout)
ttimeout := time.Now().Add(d.EscTimeout)
+ var wg sync.WaitGroup
+ wg.Add(1)
+
go func() {
+ defer wg.Done()
if err := d.streamData(ctx, readc); err != nil {
if errors.Is(err, io.EOF) || errors.Is(err, cancelreader.ErrCanceled) {
errc <- nil
@@ -148,10 +161,12 @@ func (d *TerminalReader) StreamEvents(ctx context.Context, eventc chan<- Event)
for {
select {
case <-ctx.Done():
- d.sendEvents(buf.Bytes(), true, eventc)
+ d.sendEvents(eventc, buf.Bytes(), true)
+ wg.Wait()
return nil
case err := <-errc:
- d.sendEvents(buf.Bytes(), true, eventc)
+ d.sendEvents(eventc, buf.Bytes(), true)
+ wg.Wait()
return err // return the first error encountered
case <-timeout.C:
d.logf("timeout reached")
@@ -161,7 +176,7 @@ func (d *TerminalReader) StreamEvents(ctx context.Context, eventc chan<- Event)
timedout := time.Now().After(ttimeout)
if buf.Len() > 0 && timedout {
d.logf("timeout expired, processing buffer")
- n = d.sendEvents(buf.Bytes(), true, eventc)
+ n = d.sendEvents(eventc, buf.Bytes(), true)
}
if n > 0 {
@@ -185,7 +200,7 @@ func (d *TerminalReader) StreamEvents(ctx context.Context, eventc chan<- Event)
d.logf("input: %q", read)
buf.Write(read)
ttimeout = time.Now().Add(d.EscTimeout)
- n := d.sendEvents(buf.Bytes(), false, eventc)
+ n := d.sendEvents(eventc, buf.Bytes(), false)
if !timeout.Stop() {
// drain the channel if it was already running
select {
@@ -213,15 +228,43 @@ func (d *TerminalReader) SetLogger(logger Logger) {
d.logger = logger
}
-func (d *TerminalReader) sendEvents(buf []byte, expired bool, eventc chan<- Event) int {
- n, events := d.scanEvents(buf, expired)
+func (d *TerminalReader) sendEvents(eventc chan<- Event, buf []byte, expired bool) int {
+ n, events := d.eventScanner.scanEvents(buf, expired)
for _, event := range events {
eventc <- event
}
return n
}
-func (d *TerminalReader) scanEvents(buf []byte, expired bool) (total int, events []Event) {
+// eventScanner scans the buffer for events and sends them to the event channel.
+type eventScanner struct {
+ EventDecoder
+
+ utf16Half [2]bool // 0 key up, 1 key down
+ utf16Buf [2][2]rune // 0 key up, 1 key down
+ graphemeBuf [2][]rune // 0 key up, 1 key down
+ paste []byte
+ table map[string]Key
+ lookup bool
+ logger Logger
+}
+
+// newEventScanner creates a new event scanner.
+func newEventScanner() *eventScanner {
+ return &eventScanner{}
+}
+
+// setLogger sets the logger to use for debugging. If nil, no logging will be
+// performed.
+func (d *eventScanner) setLogger(logger Logger) {
+ d.logger = logger
+}
+
+func (d *eventScanner) logf(format string, v ...interface{}) {
+ logf(d.logger, format, v...)
+}
+
+func (d *eventScanner) scanEvents(buf []byte, expired bool) (total int, events []Event) {
if len(buf) == 0 {
return 0, nil
}
@@ -344,7 +387,7 @@ func (d *TerminalReader) scanEvents(buf []byte, expired bool) (total int, events
return total, events
}
-func (d *TerminalReader) encodeGraphemeBufs() []byte {
+func (d *eventScanner) encodeGraphemeBufs() []byte {
var b []byte
for kd := range d.graphemeBuf {
if len(d.graphemeBuf[kd]) > 0 {
@@ -387,7 +430,7 @@ func (d *TerminalReader) encodeGraphemeBufs() []byte {
return b
}
-func (d *TerminalReader) storeGraphemeRune(kd int, r rune) {
+func (d *eventScanner) storeGraphemeRune(kd int, r rune) {
if d.utf16Half[kd] {
// We have a half pair that needs to be decoded.
d.utf16Half[kd] = false
@@ -408,9 +451,9 @@ func (d *TerminalReader) storeGraphemeRune(kd int, r rune) {
// deserializeWin32Input deserializes the Win32 input events converting
// KeyEventRecrods to bytes. Before returning the bytes, it will also try to
// decode any UTF-16 pairs that might be present in the input buffer.
-func (d *TerminalReader) deserializeWin32Input(buf []byte) (int, []byte) {
- p := parserPool.Get().(*ansi.Parser)
- defer parserPool.Put(p)
+func (d *eventScanner) deserializeWin32Input(buf []byte) (int, []byte) {
+ p := ansi.GetParser()
+ defer ansi.PutParser(p)
var processed int
var state byte
@@ -449,8 +492,12 @@ func (d *TerminalReader) deserializeWin32Input(buf []byte) (int, []byte) {
}
func (d *TerminalReader) logf(format string, v ...interface{}) {
- if d.logger == nil {
+ logf(d.logger, format, v...)
+}
+
+func logf(logger Logger, format string, v ...interface{}) {
+ if logger == nil {
return
}
- d.logger.Printf(format, v...)
+ logger.Printf(format, v...)
}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_reader_windows.go b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_reader_windows.go
index deacc8b97..8a526b956 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_reader_windows.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_reader_windows.go
@@ -108,9 +108,9 @@ func (d *TerminalReader) serializeWin32InputRecords(records []xwindows.InputReco
} else {
// We encode the key to Win32 Input Mode if it is a known key.
if kevent.VirtualKeyCode == 0 {
- d.storeGraphemeRune(kd, kevent.Char)
+ d.eventScanner.storeGraphemeRune(kd, kevent.Char)
} else {
- buf.Write(d.encodeGraphemeBufs())
+ buf.Write(d.eventScanner.encodeGraphemeBufs())
fmt.Fprintf(buf,
"\x1b[%d;%d;%d;%d;%d;%d_",
kevent.VirtualKeyCode,
@@ -200,7 +200,7 @@ func (d *TerminalReader) serializeWin32InputRecords(records []xwindows.InputReco
}
// Flush any remaining grapheme buffers.
- buf.Write(d.encodeGraphemeBufs())
+ buf.Write(d.eventScanner.encodeGraphemeBufs())
}
func mouseEventButton(p, s uint32) (MouseButton, bool) {
@@ -295,13 +295,13 @@ func peekNConsoleInputs(console windows.Handle, maxEvents uint32) ([]xwindows.In
func keyEventString(vkc, sc uint16, r rune, keyDown bool, cks uint32, repeatCount uint16) string {
var s strings.Builder
s.WriteString("vkc: ")
- s.WriteString(fmt.Sprintf("%d, 0x%02x", vkc, vkc))
+ fmt.Fprintf(&s, "%d, 0x%02x", vkc, vkc)
s.WriteString(", sc: ")
- s.WriteString(fmt.Sprintf("%d, 0x%02x", sc, sc))
+ fmt.Fprintf(&s, "%d, 0x%02x", sc, sc)
s.WriteString(", r: ")
- s.WriteString(fmt.Sprintf("%q 0x%x", r, r))
+ fmt.Fprintf(&s, "%q 0x%x", r, r)
s.WriteString(", down: ")
- s.WriteString(fmt.Sprintf("%v", keyDown))
+ fmt.Fprintf(&s, "%v", keyDown)
s.WriteString(", cks: [")
if cks&xwindows.LEFT_ALT_PRESSED != 0 {
s.WriteString("left alt, ")
@@ -331,6 +331,6 @@ func keyEventString(vkc, sc uint16, r rune, keyDown bool, cks uint32, repeatCoun
s.WriteString("enhanced key, ")
}
s.WriteString("], repeat count: ")
- s.WriteString(fmt.Sprintf("%d", repeatCount))
+ fmt.Fprintf(&s, "%d", repeatCount)
return s.String()
}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_renderer.go b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_renderer.go
index 6c0ef22ca..d7c2fbfcb 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_renderer.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_renderer.go
@@ -87,6 +87,10 @@ const (
tRelativeCursor tFlag = 1 << iota
tFullscreen
tMapNewline
+ tScrollOptim
+ // tGraphemeWidth indicates the terminal measures cell width using Unicode
+ // grapheme clustering (DEC mode 2027 / Unicode core).
+ tGraphemeWidth
)
// Set sets the given flags.
@@ -127,7 +131,7 @@ func (v tFlag) Contains(c tFlag) bool {
type TerminalRenderer struct {
w io.Writer
buf *bytes.Buffer // buffer for writing to the screen
- curbuf *Buffer // the current buffer
+ curbuf *RenderBuffer // the current buffer
tabs *TabStops
hasher maphash.Hash
oldhash, newhash []uint64 // the old and new hash values for each line
@@ -135,11 +139,12 @@ type TerminalRenderer struct {
oldnum []int // old indices from previous hash
cur, saved cursor // the current and saved cursors
flags tFlag // terminal writer flags.
+ method ansi.Method // the width method used to measure cell width
term string // the terminal type
- scrollHeight int // keeps track of how many lines we've scrolled down (inline mode)
clear bool // whether to force clear the screen
caps capabilities // terminal control sequence capabilities
atPhantom bool // whether the cursor is out of bounds and at a phantom cell
+ lineHadWide bool // whether the line currently being transformed contained a wide cell
logger Logger // The logger used for debugging.
// profile is the color profile to use when downsampling colors. This is
@@ -166,7 +171,6 @@ func NewTerminalRenderer(w io.Writer, env []string) (s *TerminalRenderer) {
s.caps = xtermCaps(s.term)
s.cur = cursor{Cell: EmptyCell, Position: Pos(-1, -1)} // start at -1 to force a move
s.saved = s.cur
- s.scrollHeight = 0
s.oldhash, s.newhash = nil, nil
return
}
@@ -183,6 +187,15 @@ func (s *TerminalRenderer) SetColorProfile(profile colorprofile.Profile) {
s.profile = profile
}
+// SetScrollOptim sets whether to use hard scroll optimizations.
+func (s *TerminalRenderer) SetScrollOptim(v bool) {
+ if v {
+ s.flags.Set(tScrollOptim)
+ } else {
+ s.flags.Reset(tScrollOptim)
+ }
+}
+
// SetMapNewline sets whether the terminal is currently mapping newlines to
// CRLF or carriage return and line feed. This is used to correctly determine
// how to move the cursor when writing to the screen.
@@ -194,6 +207,28 @@ func (s *TerminalRenderer) SetMapNewline(v bool) {
}
}
+// SetWidthMethod sets the width method the renderer uses to measure the
+// display width of strings. This should match the width method configured on
+// the screen so that the renderer doesn't disagree with the cell widths it is
+// asked to draw.
+func (s *TerminalRenderer) SetWidthMethod(method ansi.Method) {
+ s.method = method
+}
+
+// SetGraphemeWidth sets whether the terminal measures cell width using Unicode
+// grapheme clustering (DEC mode 2027 / Unicode core). When enabled, the
+// renderer measures string width using [ansi.GraphemeWidth]; otherwise it
+// falls back to [ansi.WcWidth].
+func (s *TerminalRenderer) SetGraphemeWidth(v bool) {
+ if v {
+ s.flags.Set(tGraphemeWidth)
+ s.method = ansi.GraphemeWidth
+ } else {
+ s.flags.Reset(tGraphemeWidth)
+ s.method = ansi.WcWidth
+ }
+}
+
// SetBackspace sets whether to use backspace as a movement optimization.
func (s *TerminalRenderer) SetBackspace(v bool) {
if v {
@@ -307,7 +342,7 @@ func (s *TerminalRenderer) ExitAltScreen() {
// the whole screen may not produce any visible effects. This is because
// once the terminal writes the prepended lines, they will get overwritten
// by the next frame.
-func (s *TerminalRenderer) PrependString(newbuf *Buffer, str string) {
+func (s *TerminalRenderer) PrependString(newbuf *RenderBuffer, str string) {
if len(str) == 0 {
return
}
@@ -323,7 +358,7 @@ func (s *TerminalRenderer) PrependString(newbuf *Buffer, str string) {
lines := strings.Split(str, "\n")
offset := 0
for _, line := range lines {
- lineWidth := ansi.StringWidth(line)
+ lineWidth := s.method.StringWidth(line)
if w > 0 && lineWidth > w {
offset += (lineWidth / w)
}
@@ -350,7 +385,7 @@ func (s *TerminalRenderer) PrependString(newbuf *Buffer, str string) {
//
// It is safe to call this function with a nil [Buffer], in that case, it won't
// be using any optimizations that depend on the buffer.
-func (s *TerminalRenderer) moveCursor(newbuf *Buffer, x, y int, overwrite bool) {
+func (s *TerminalRenderer) moveCursor(newbuf *RenderBuffer, x, y int, overwrite bool) {
if !s.flags.Contains(tFullscreen) && s.flags.Contains(tRelativeCursor) &&
s.cur.X == -1 && s.cur.Y == -1 {
// First cursor movement in inline mode, move the cursor to the first
@@ -358,9 +393,7 @@ func (s *TerminalRenderer) moveCursor(newbuf *Buffer, x, y int, overwrite bool)
_ = s.buf.WriteByte('\r')
s.cur.X, s.cur.Y = 0, 0
}
- seq, scrollHeight := moveCursor(s, newbuf, x, y, overwrite)
- // If we scrolled the screen, we need to update the scroll height.
- s.scrollHeight = max(s.scrollHeight, scrollHeight)
+ seq := moveCursor(s, newbuf, x, y, overwrite)
_, _ = s.buf.WriteString(seq)
s.cur.X, s.cur.Y = x, y
}
@@ -369,7 +402,7 @@ func (s *TerminalRenderer) moveCursor(newbuf *Buffer, x, y int, overwrite bool)
//
// It is safe to call this function with a nil [Buffer], in that case, it won't
// be using any optimizations that depend on the buffer.
-func (s *TerminalRenderer) move(newbuf *Buffer, x, y int) {
+func (s *TerminalRenderer) move(newbuf *RenderBuffer, x, y int) {
// XXX: Make sure we use the max height and width of the buffer in case
// we're in the middle of a resize operation.
var width, height int
@@ -446,17 +479,20 @@ func cellEqual(a, b *Cell) bool {
if a == b {
return true
}
- if a == nil {
- a = &EmptyCell
- }
- if b == nil {
- b = &EmptyCell
+ // TODO: This is needed to handle empty lines correctly when scroll
+ // optimizations are enabled. Instead, a nil check should be equivalent to
+ // checking for an [EmptyCell], should it?
+ // Investigate why when we assign the pointers to &[EmptyCell], this causes
+ // scroll optimization related artifacts where excess lines are left behind
+ // in empty lines after scrolling.
+ if a == nil || b == nil {
+ return false
}
return a.Equal(b)
}
// putCell draws a cell at the current cursor position.
-func (s *TerminalRenderer) putCell(newbuf *Buffer, cell *Cell) {
+func (s *TerminalRenderer) putCell(newbuf *RenderBuffer, cell *Cell) {
width, height := newbuf.Width(), newbuf.Height()
if s.flags.Contains(tFullscreen) && s.cur.X == width-1 && s.cur.Y == height-1 {
s.putCellLR(newbuf, cell)
@@ -477,8 +513,8 @@ func (s *TerminalRenderer) wrapCursor() {
}
}
-func (s *TerminalRenderer) putAttrCell(newbuf *Buffer, cell *Cell) {
- if cell != nil && cell.IsZero() {
+func (s *TerminalRenderer) putAttrCell(newbuf *RenderBuffer, cell *Cell) {
+ if cell != nil && cell.Width == 0 {
// XXX: Zero width cells are special and should not be written to the
// screen no matter what other attributes they have.
// Zero width cells are used for wide characters that are split into
@@ -506,13 +542,17 @@ func (s *TerminalRenderer) putAttrCell(newbuf *Buffer, cell *Cell) {
if s.cur.X >= newbuf.Width() {
s.atPhantom = true
}
+
+ if cellWidth > 1 {
+ s.lineHadWide = true
+ }
}
// putCellLR draws a cell at the lower right corner of the screen.
-func (s *TerminalRenderer) putCellLR(newbuf *Buffer, cell *Cell) {
+func (s *TerminalRenderer) putCellLR(newbuf *RenderBuffer, cell *Cell) {
// Optimize for the lower right corner cell.
curX := s.cur.X
- if cell == nil || !cell.IsZero() {
+ if !cell.isWidePlaceholder() {
_, _ = s.buf.WriteString(ansi.ResetModeAutoWrap)
s.putAttrCell(newbuf, cell)
// Writing to lower-right corner cell should not wrap.
@@ -579,7 +619,7 @@ func canClearWith(c *Cell) bool {
// [ansi.ECH] and [ansi.REP].
// Returns whether the cursor is at the end of interval or somewhere in the
// middle.
-func (s *TerminalRenderer) emitRange(newbuf *Buffer, line Line, n int) (eoi bool) {
+func (s *TerminalRenderer) emitRange(newbuf *RenderBuffer, line Line, n int) (eoi bool) {
hasECH := s.caps.Contains(capECH)
hasREP := s.caps.Contains(capREP)
if hasECH || hasREP { //nolint:nestif
@@ -661,7 +701,7 @@ func (s *TerminalRenderer) emitRange(newbuf *Buffer, line Line, n int) (eoi bool
// putRange puts a range of cells from the old line to the new line.
// Returns whether the cursor is at the end of interval or somewhere in the
// middle.
-func (s *TerminalRenderer) putRange(newbuf *Buffer, oldLine, newLine Line, y, start, end int) (eoi bool) {
+func (s *TerminalRenderer) putRange(newbuf *RenderBuffer, oldLine, newLine Line, y, start, end int) (eoi bool) {
inline := min(len(ansi.CursorPosition(start+1, y+1)),
min(len(ansi.HorizontalPositionAbsolute(start+1)),
len(ansi.CursorForward(start+1))))
@@ -669,7 +709,7 @@ func (s *TerminalRenderer) putRange(newbuf *Buffer, oldLine, newLine Line, y, st
var j, same int
for j, same = start, 0; j <= end; j++ {
oldCell, newCell := oldLine.At(j), newLine.At(j)
- if same == 0 && oldCell != nil && oldCell.IsZero() {
+ if same == 0 && oldCell.isWidePlaceholder() && newCell.isWidePlaceholder() {
continue
}
if cellEqual(oldCell, newCell) {
@@ -700,7 +740,7 @@ func (s *TerminalRenderer) putRange(newbuf *Buffer, oldLine, newLine Line, y, st
// clearToEnd clears the screen from the current cursor position to the end of
// line.
-func (s *TerminalRenderer) clearToEnd(newbuf *Buffer, blank *Cell, force bool) {
+func (s *TerminalRenderer) clearToEnd(newbuf *RenderBuffer, blank *Cell, force bool) {
if s.cur.Y >= 0 {
curline := s.curbuf.Line(s.cur.Y)
// We use the newbuf width because the current buffer might be smaller
@@ -737,7 +777,7 @@ func (s *TerminalRenderer) clearBlank() *Cell {
// insertCells inserts the count cells pointed by the given line at the current
// cursor position.
-func (s *TerminalRenderer) insertCells(newbuf *Buffer, line Line, count int) {
+func (s *TerminalRenderer) insertCells(newbuf *RenderBuffer, line Line, count int) {
supportsICH := s.caps.Contains(capICH)
if supportsICH {
// Use [ansi.ICH] as an optimization.
@@ -771,11 +811,14 @@ func (s *TerminalRenderer) el0Cost() int {
// transformLine transforms the given line in the current window to the
// corresponding line in the new window. It uses [ansi.ICH] and [ansi.DCH] to
// insert or delete characters.
-func (s *TerminalRenderer) transformLine(newbuf *Buffer, y int) {
+func (s *TerminalRenderer) transformLine(newbuf *RenderBuffer, y int) {
var firstCell, oLastCell, nLastCell int // first, old last, new last index
oldLine := s.curbuf.Line(y)
newLine := newbuf.Line(y)
+ s.lineHadWide = false
+ defer s.reanchorWideLine(newbuf)
+
// Find the first changed cell in the line
blank := newLine.At(0)
@@ -917,7 +960,7 @@ func (s *TerminalRenderer) transformLine(newbuf *Buffer, y int) {
if n != 0 {
for n > 0 {
wide := newLine.At(n + 1)
- if wide == nil || !wide.IsZero() {
+ if !wide.isWidePlaceholder() {
break
}
n--
@@ -925,18 +968,18 @@ func (s *TerminalRenderer) transformLine(newbuf *Buffer, y int) {
}
} else if n >= firstCell && newLine.At(n) != nil && newLine.At(n).Width > 1 {
next := newLine.At(n + 1)
- for next != nil && next.IsZero() {
+ for next.isWidePlaceholder() {
n++
oLastCell++
+ next = newLine.At(n + 1)
}
}
- if oLastCell >= 0 && nLastCell >= 0 {
- // Only move the cursor when we actually have changes to make.
- // This prevents unnecessary cursor movements when we're adding
- // new columns with blank cells.
- s.move(newbuf, n+1, y)
- }
+ // TODO: This can sometimes send unnecessary cursor movements with
+ // negative or zero ranges. This could happen on a screen resize
+ // where oLastCell < nLastCell and oLastCell is -1 or less.
+ // Investigate and fix.
+ s.move(newbuf, n+1, y)
ichCost := 3 + nLastCell - oLastCell
if s.caps.Contains(capICH) && (nLastCell < nLastNonBlank || ichCost > (m-n)) {
s.putRange(newbuf, oldLine, newLine, y, n+1, m)
@@ -966,6 +1009,22 @@ func (s *TerminalRenderer) transformLine(newbuf *Buffer, y int) {
}
}
+// reanchorWideLine re-anchors the cursor with a single absolute horizontal
+// move after a line that contained a wide cell. This is a best-effort fallback
+// that bounds cursor desync to one line on terminals whose width model
+// disagrees with ours. When the terminal negotiated Unicode grapheme width
+// (mode 2027) the models agree, so no re-anchor is needed.
+func (s *TerminalRenderer) reanchorWideLine(newbuf *RenderBuffer) {
+ if !s.lineHadWide || s.flags.Contains(tGraphemeWidth) {
+ return
+ }
+ s.lineHadWide = false
+ if s.atPhantom || s.cur.X < 0 || s.cur.X >= newbuf.Width() {
+ return
+ }
+ _, _ = s.buf.WriteString(ansi.CursorHorizontalAbsolute(s.cur.X + 1))
+}
+
// deleteCells deletes the count cells at the current cursor position and moves
// the rest of the line to the left. This is equivalent to [ansi.DCH].
func (s *TerminalRenderer) deleteCells(count int) {
@@ -994,7 +1053,7 @@ func (s *TerminalRenderer) clearToBottom(blank *Cell) {
// the screen update. Scan backwards through lines in the screen checking if
// each is blank and one or more are changed.
// It returns the top line.
-func (s *TerminalRenderer) clearBottom(newbuf *Buffer, total int) (top int) {
+func (s *TerminalRenderer) clearBottom(newbuf *RenderBuffer, total int) (top int) {
if total <= 0 {
return 0
}
@@ -1052,13 +1111,13 @@ func (s *TerminalRenderer) clearScreen(blank *Cell) {
}
// clearBelow clears everything below and including the row.
-func (s *TerminalRenderer) clearBelow(newbuf *Buffer, blank *Cell, row int) {
+func (s *TerminalRenderer) clearBelow(newbuf *RenderBuffer, blank *Cell, row int) {
s.move(newbuf, 0, row)
s.clearToBottom(blank)
}
// clearUpdate forces a screen redraw.
-func (s *TerminalRenderer) clearUpdate(newbuf *Buffer) {
+func (s *TerminalRenderer) clearUpdate(newbuf *RenderBuffer) {
blank := s.clearBlank()
var nonEmpty int
if s.flags.Contains(tFullscreen) {
@@ -1106,38 +1165,25 @@ func (s *TerminalRenderer) Flush() (err error) {
return
}
-// Touched returns the number of lines that have been touched or changed.
-func (s *TerminalRenderer) Touched(buf *Buffer) (n int) {
- if buf.Touched == nil {
- return buf.Height()
- }
- for _, ch := range buf.Touched {
- if ch != nil {
- n++
- }
- }
- return
-}
-
// Redraw forces a full redraw of the screen. It's equivalent to calling
// [TerminalRenderer.Erase] and [TerminalRenderer.Render].
-func (s *TerminalRenderer) Redraw(newbuf *Buffer) {
+func (s *TerminalRenderer) Redraw(newbuf *RenderBuffer) {
s.clear = true
s.Render(newbuf)
}
// Render renders changes of the screen to the internal buffer. Call
// [terminalWriter.Flush] to flush pending changes to the screen.
-func (s *TerminalRenderer) Render(newbuf *Buffer) {
+func (s *TerminalRenderer) Render(newbuf *RenderBuffer) {
// Do we need to render anything?
- touchedLines := s.Touched(newbuf)
+ touchedLines := newbuf.TouchedLines()
if !s.clear && touchedLines == 0 {
return
}
if s.curbuf == nil || s.curbuf.Bounds().Empty() {
// Initialize the current buffer
- s.curbuf = NewBuffer(newbuf.Width(), newbuf.Height())
+ s.curbuf = NewRenderBuffer(newbuf.Width(), newbuf.Height())
}
newWidth, newHeight := newbuf.Width(), newbuf.Height()
@@ -1181,7 +1227,7 @@ func (s *TerminalRenderer) Render(newbuf *Buffer) {
// misbehaves and moves the cursor outside of the scrolling region. For
// now, we disable the optimizations completely on Windows.
// See https://github.com/microsoft/terminal/issues/19016
- if s.flags.Contains(tFullscreen) && !isWindows {
+ if s.flags.Contains(tScrollOptim) && s.flags.Contains(tFullscreen) {
// Optimize scrolling for the alternate screen buffer.
// TODO: Should we optimize for inline mode as well? If so, we need
// to know the actual cursor position to use [ansi.DECSTBM].
@@ -1219,7 +1265,7 @@ func (s *TerminalRenderer) Render(newbuf *Buffer) {
}
}
- if !s.flags.Contains(tFullscreen) && s.scrollHeight < newHeight-1 {
+ if !s.flags.Contains(tFullscreen) && (curWidth != newWidth || curHeight != newHeight) {
s.move(newbuf, 0, newHeight-1)
}
@@ -1259,7 +1305,6 @@ func (s *TerminalRenderer) Resize(width, _ int) {
if s.tabs != nil {
s.tabs.Resize(width)
}
- s.scrollHeight = 0
}
// Position returns the cursor position in the screen buffer after applying any
@@ -1315,9 +1360,8 @@ func notLocal(cols, fx, fy, tx, ty int) bool {
//
// It is safe to call this function with a nil [Buffer]. In that case, it won't
// use any optimizations that require the new buffer such as overwrite.
-func relativeCursorMove(s *TerminalRenderer, newbuf *Buffer, fx, fy, tx, ty int, overwrite, useTabs, useBackspace bool) (string, int) {
+func relativeCursorMove(s *TerminalRenderer, newbuf *RenderBuffer, fx, fy, tx, ty int, overwrite, useTabs, useBackspace bool) string {
var seq strings.Builder
- var scrollHeight int
if newbuf == nil {
overwrite = false // We can't overwrite the current buffer.
}
@@ -1333,10 +1377,8 @@ func relativeCursorMove(s *TerminalRenderer, newbuf *Buffer, fx, fy, tx, ty int,
if cud := ansi.CursorDown(n); yseq == "" || len(cud) < len(yseq) {
yseq = cud
}
- shouldScroll := !s.flags.Contains(tFullscreen) && ty > s.scrollHeight
- if shouldScroll || n < len(yseq) { // n is the cost of using newline characters
+ if !s.flags.Contains(tFullscreen) || n < len(yseq) { // n is the cost of using newline characters
yseq = strings.Repeat("\n", n)
- scrollHeight = ty
if s.flags.Contains(tMapNewline) {
fx = 0
}
@@ -1420,8 +1462,6 @@ func relativeCursorMove(s *TerminalRenderer, newbuf *Buffer, fx, fy, tx, ty int,
if cell != nil && cell.Width > 0 {
ovw += cell.String()
i += cell.Width - 1
- } else {
- ovw += " "
}
}
}
@@ -1463,7 +1503,7 @@ func relativeCursorMove(s *TerminalRenderer, newbuf *Buffer, fx, fy, tx, ty int,
seq.WriteString(xseq)
}
- return seq.String(), scrollHeight
+ return seq.String()
}
// moveCursor moves and returns the cursor movement sequence to move the cursor
@@ -1473,7 +1513,7 @@ func relativeCursorMove(s *TerminalRenderer, newbuf *Buffer, fx, fy, tx, ty int,
//
// It is safe to call this function with a nil [Buffer]. In that case, it won't
// use any optimizations that require the new buffer such as overwrite.
-func moveCursor(s *TerminalRenderer, newbuf *Buffer, x, y int, overwrite bool) (seq string, scrollHeight int) {
+func moveCursor(s *TerminalRenderer, newbuf *RenderBuffer, x, y int, overwrite bool) (seq string) {
fx, fy := s.cur.X, s.cur.Y
if !s.flags.Contains(tRelativeCursor) {
@@ -1491,7 +1531,7 @@ func moveCursor(s *TerminalRenderer, newbuf *Buffer, x, y int, overwrite bool) (
// Method #0: Use [ansi.CUP] if the distance is long.
seq = ansi.CursorPosition(x+1, y+1)
if fx == -1 || fy == -1 || width == -1 || notLocal(width, fx, fy, x, y) {
- return seq, 0
+ return seq
}
}
@@ -1515,32 +1555,29 @@ func moveCursor(s *TerminalRenderer, newbuf *Buffer, x, y int, overwrite bool) (
useBackspace := i&1 != 0
// Method #1: Use local movement sequences.
- nseq1, nscrollHeight1 := relativeCursorMove(s, newbuf, fx, fy, x, y, overwrite, useHardTabs, useBackspace)
+ nseq1 := relativeCursorMove(s, newbuf, fx, fy, x, y, overwrite, useHardTabs, useBackspace)
if (i == 0 && len(seq) == 0) || len(nseq1) < len(seq) {
seq = nseq1
- scrollHeight = max(scrollHeight, nscrollHeight1)
}
// Method #2: Use [ansi.CR] and local movement sequences.
- nseq2, nscrollHeight2 := relativeCursorMove(s, newbuf, 0, fy, x, y, overwrite, useHardTabs, useBackspace)
+ nseq2 := relativeCursorMove(s, newbuf, 0, fy, x, y, overwrite, useHardTabs, useBackspace)
nseq2 = "\r" + nseq2
if len(nseq2) < len(seq) {
seq = nseq2
- scrollHeight = max(scrollHeight, nscrollHeight2)
}
if !s.flags.Contains(tRelativeCursor) {
// Method #3: Use [ansi.CursorHomePosition] and local movement sequences.
- nseq3, nscrollHeight3 := relativeCursorMove(s, newbuf, 0, 0, x, y, overwrite, useHardTabs, useBackspace)
+ nseq3 := relativeCursorMove(s, newbuf, 0, 0, x, y, overwrite, useHardTabs, useBackspace)
nseq3 = ansi.CursorHomePosition + nseq3
if len(nseq3) < len(seq) {
seq = nseq3
- scrollHeight = max(scrollHeight, nscrollHeight3)
}
}
}
- return seq, scrollHeight
+ return seq
}
// xtermCaps returns whether the terminal is xterm-like. This means that the
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_renderer_hardscroll.go b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_renderer_hardscroll.go
index 58dd4ad7e..3b7eb00e4 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_renderer_hardscroll.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_renderer_hardscroll.go
@@ -8,7 +8,7 @@ import (
// scrollOptimize optimizes the screen to transform the old buffer into the new
// buffer.
-func (s *TerminalRenderer) scrollOptimize(newbuf *Buffer) {
+func (s *TerminalRenderer) scrollOptimize(newbuf *RenderBuffer) {
height := newbuf.Height()
if s.oldnum == nil || len(s.oldnum) < height {
s.oldnum = append(s.oldnum, make([]int, height-len(s.oldnum))...)
@@ -68,7 +68,7 @@ func (s *TerminalRenderer) scrollOptimize(newbuf *Buffer) {
}
// scrolln scrolls the screen up by n lines.
-func (s *TerminalRenderer) scrolln(newbuf *Buffer, n, top, bot, maxY int) (v bool) { //nolint:unparam
+func (s *TerminalRenderer) scrolln(newbuf *RenderBuffer, n, top, bot, maxY int) (v bool) { //nolint:unparam
blank := s.clearBlank()
if n > 0 { //nolint:nestif
// Scroll up (forward)
@@ -117,7 +117,7 @@ func (s *TerminalRenderer) scrolln(newbuf *Buffer, n, top, bot, maxY int) (v boo
}
// scrollBuffer scrolls the buffer by n lines.
-func (s *TerminalRenderer) scrollBuffer(b *Buffer, n, top, bot int, blank *Cell) {
+func (s *TerminalRenderer) scrollBuffer(b *RenderBuffer, n, top, bot int, blank *Cell) {
if top < 0 || bot < top || bot >= b.Height() {
// Nothing to scroll
return
@@ -149,7 +149,7 @@ func (s *TerminalRenderer) scrollBuffer(b *Buffer, n, top, bot int, blank *Cell)
}
// touchLine marks the line as touched.
-func (s *TerminalRenderer) touchLine(newbuf *Buffer, y, n int, changed bool) {
+func (s *TerminalRenderer) touchLine(newbuf *RenderBuffer, y, n int, changed bool) {
height := newbuf.Height()
if n < 0 || y < 0 || y >= height || newbuf.Touched == nil || len(newbuf.Touched) < height {
return // Nothing to touch
@@ -166,7 +166,7 @@ func (s *TerminalRenderer) touchLine(newbuf *Buffer, y, n int, changed bool) {
}
// scrollUp scrolls the screen up by n lines.
-func (s *TerminalRenderer) scrollUp(newbuf *Buffer, n, top, bot, minY, maxY int, blank *Cell) bool {
+func (s *TerminalRenderer) scrollUp(newbuf *RenderBuffer, n, top, bot, minY, maxY int, blank *Cell) bool {
if n == 1 && top == minY && bot == maxY { //nolint:nestif
s.move(newbuf, 0, bot)
s.updatePen(blank)
@@ -195,7 +195,7 @@ func (s *TerminalRenderer) scrollUp(newbuf *Buffer, n, top, bot, minY, maxY int,
}
// scrollDown scrolls the screen down by n lines.
-func (s *TerminalRenderer) scrollDown(newbuf *Buffer, n, top, bot, minY, maxY int, blank *Cell) bool {
+func (s *TerminalRenderer) scrollDown(newbuf *RenderBuffer, n, top, bot, minY, maxY int, blank *Cell) bool {
if n == 1 && top == minY && bot == maxY { //nolint:nestif
s.move(newbuf, 0, top)
s.updatePen(blank)
@@ -224,7 +224,7 @@ func (s *TerminalRenderer) scrollDown(newbuf *Buffer, n, top, bot, minY, maxY in
// scrollIdl scrolls the screen n lines by using [ansi.DL] at del and using
// [ansi.IL] at ins.
-func (s *TerminalRenderer) scrollIdl(newbuf *Buffer, n, del, ins int, blank *Cell) bool {
+func (s *TerminalRenderer) scrollIdl(newbuf *RenderBuffer, n, del, ins int, blank *Cell) bool {
if n < 0 {
return false
}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_renderer_hashmap.go b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_renderer_hashmap.go
index 15984eebe..ad776ff83 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_renderer_hashmap.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_renderer_hashmap.go
@@ -24,7 +24,7 @@ type hashmap struct {
const newIndex = -1
// updateHashmap updates the hashmap with the new hash value.
-func (s *TerminalRenderer) updateHashmap(newbuf *Buffer) {
+func (s *TerminalRenderer) updateHashmap(newbuf *RenderBuffer) {
height := newbuf.Height()
if len(s.oldhash) >= height && len(s.newhash) >= height {
@@ -149,7 +149,7 @@ func (s *TerminalRenderer) scrollOldhash(n, top, bot int) {
}
}
-func (s *TerminalRenderer) growHunks(newbuf *Buffer) {
+func (s *TerminalRenderer) growHunks(newbuf *RenderBuffer) {
var (
backLimit int // limits for cells to fill
backRefLimit int // limit for references
@@ -232,7 +232,7 @@ func (s *TerminalRenderer) growHunks(newbuf *Buffer) {
// costEffective returns true if the cost of moving line 'from' to line 'to' seems to be
// cost effective. 'blank' indicates whether the line 'to' would become blank.
-func (s *TerminalRenderer) costEffective(newbuf *Buffer, from, to int, blank bool) bool {
+func (s *TerminalRenderer) costEffective(newbuf *RenderBuffer, from, to int, blank bool) bool {
if from == to {
return false
}
@@ -275,9 +275,9 @@ func (s *TerminalRenderer) costEffective(newbuf *Buffer, from, to int, blank boo
return costBeforeMove >= costAfterMove
}
-func (s *TerminalRenderer) updateCost(newbuf *Buffer, from, to Line) (cost int) {
+func (s *TerminalRenderer) updateCost(_ *RenderBuffer, from, to Line) (cost int) {
var fidx, tidx int
- for i := newbuf.Width() - 1; i > 0; i, fidx, tidx = i-1, fidx+1, tidx+1 {
+ for i := s.curbuf.Width(); i > 0; i, fidx, tidx = i-1, fidx+1, tidx+1 {
if !cellEqual(from.At(fidx), to.At(tidx)) {
cost++
}
@@ -285,11 +285,11 @@ func (s *TerminalRenderer) updateCost(newbuf *Buffer, from, to Line) (cost int)
return
}
-func (s *TerminalRenderer) updateCostBlank(newbuf *Buffer, to Line) (cost int) {
+func (s *TerminalRenderer) updateCostBlank(_ *RenderBuffer, to Line) (cost int) {
// This assumes bce capability.
blank := s.clearBlank()
var tidx int
- for i := newbuf.Width() - 1; i > 0; i, tidx = i-1, tidx+1 {
+ for i := s.curbuf.Width(); i > 0; i, tidx = i-1, tidx+1 {
if !cellEqual(blank, to.At(tidx)) {
cost++
}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_screen.go b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_screen.go
new file mode 100644
index 000000000..4078ce3e8
--- /dev/null
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_screen.go
@@ -0,0 +1,837 @@
+package uv
+
+import (
+ "bytes"
+ "image/color"
+ "io"
+ "log"
+ "os"
+ "strings"
+ "sync"
+
+ "github.com/charmbracelet/colorprofile"
+ "github.com/charmbracelet/x/ansi"
+ "github.com/charmbracelet/x/term"
+)
+
+// TerminalScreen represents a terminal screen, providing methods for managing
+// the screen state and rendering content.
+type TerminalScreen struct {
+ win *Window
+ w io.Writer
+ buf *bytes.Buffer
+ rend *TerminalRenderer
+ rbuf *RenderBuffer
+ env Environ
+ profile colorprofile.Profile
+
+ // Terminal state
+ altScreen bool
+ keyboardEnhancements *KeyboardEnhancements
+ bracketedPaste bool
+ mouseMode MouseMode
+ mouseEncoding MouseEncoding
+ cursor *Cursor // initial state is cursor hidden
+ backgroundColor color.Color
+ foregroundColor color.Color
+ progressBar *ProgressBar
+ windowTitle string
+ syncUpdates bool // mode 2026
+ resetTabs bool // DECST8C - reset terminal tabs on start
+
+ // mu serializes access to the render buffer, output buffer, and
+ // width-method state so the terminal event loop (which negotiates
+ // grapheme-cluster width) cannot race with the application's own
+ // Render/Flush goroutine.
+ mu sync.Mutex
+ // widthMethodOverride is set when the application explicitly calls
+ // [TerminalScreen.SetWidthMethod]. An explicit override suppresses the
+ // automatic mode-2027 width-method negotiation.
+ widthMethodOverride bool
+}
+
+var _ Screen = (*TerminalScreen)(nil)
+
+// NewTerminalScreen creates a new [TerminalScreen] with the given writer and environment.
+func NewTerminalScreen(w io.Writer, env Environ) *TerminalScreen {
+ s := &TerminalScreen{}
+ s.buf = &bytes.Buffer{}
+ s.win = NewWindow(0, 0, nil)
+ s.w = w
+ s.profile = colorprofile.Detect(w, env)
+ s.rend = NewTerminalRenderer(s.buf, env)
+ s.rend.SetFullscreen(false) // by default, we start in inline mode
+ s.rend.SetRelativeCursor(true) // by default, we start in inline mode
+ s.rend.SetColorProfile(s.profile)
+ s.rbuf = NewRenderBuffer(0, 0)
+ s.env = env
+
+ if debugFile := env.Getenv("UV_DEBUG"); debugFile != "" {
+ if f, err := os.OpenFile(debugFile, os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0o644); err == nil {
+ log.SetOutput(f)
+ s.rend.SetLogger(log.Default())
+ }
+ }
+
+ // Configure renderer optimizations based on console settings.
+ f, ok := w.(term.File)
+ if ok {
+ state, err := term.GetState(f.Fd())
+ if err == nil || isWindows { // Windows supports tabs and backspace by default, so we can ignore errors here.
+ useTabs, useBspace := optimizeMovements(state)
+ if useTabs {
+ s.rend.SetTabStops(0) // the width will be set after calling [TerminalScreen.Resize]
+ } else {
+ s.rend.SetTabStops(-1)
+ }
+ s.rend.SetBackspace(useBspace)
+ s.resetTabs = useTabs
+ }
+ }
+ // XXX: Do we still need map nl to crlf handling in the renderer?
+ s.rend.SetMapNewline(false)
+ return s
+}
+
+// CellAt returns the cell at the specified x and y coordinates.
+func (s *TerminalScreen) CellAt(x, y int) *Cell {
+ return s.win.CellAt(x, y)
+}
+
+// SetCell sets the cell at the specified x and y coordinates.
+func (s *TerminalScreen) SetCell(x, y int, cell *Cell) {
+ s.win.SetCell(x, y, cell)
+}
+
+// Bounds returns the bounds of the terminal screen as a rectangle.
+func (s *TerminalScreen) Bounds() Rectangle {
+ return s.win.Bounds()
+}
+
+// Width returns the width of the terminal screen.
+//
+// Note that this is not the actual width of the terminal window, but rather
+// the width of the screen we're managing. The actual width of the terminal
+// window can be obtained using [Terminal.GetSize] or by reading the "COLUMNS"
+// environment variable.
+func (s *TerminalScreen) Width() int {
+ return s.win.Width()
+}
+
+// Height returns the height of the terminal screen.
+//
+// Note that this is not the actual height of the terminal window, but rather
+// the height of the screen we're managing. The actual height of the terminal
+// window can be obtained using [Terminal.GetSize] or by reading the "LINES"
+// environment variable.
+func (s *TerminalScreen) Height() int {
+ return s.win.Height()
+}
+
+// StringWidth returns the cell width of the given string using the terminal
+// screen's width method. This accounts for the configured [WidthMethod]
+// (e.g. wcwidth vs grapheme width) so callers don't need to import ansi
+// directly.
+func (s *TerminalScreen) StringWidth(str string) int {
+ return s.win.WidthMethod().StringWidth(str)
+}
+
+// WidthMethod returns the width method used by the terminal screen.
+func (s *TerminalScreen) WidthMethod() WidthMethod {
+ return s.win.WidthMethod()
+}
+
+// SetWidthMethod sets the width method for the terminal screen. This is an
+// override that propagates to the window/buffer and the renderer so that all
+// width measurements use the same method. Calling this marks the width method
+// as explicitly overridden, which disables automatic mode-2027 negotiation.
+func (s *TerminalScreen) SetWidthMethod(method ansi.Method) {
+ s.mu.Lock()
+ defer s.mu.Unlock()
+ s.widthMethodOverride = true
+ s.setWidthMethod(method)
+}
+
+// setWidthMethod propagates the width method to the window/buffer and the
+// renderer. Callers must hold s.mu.
+func (s *TerminalScreen) setWidthMethod(method ansi.Method) {
+ s.win.SetWidthMethod(method)
+ s.rend.SetWidthMethod(method)
+}
+
+// requestGraphemeWidth queues a DECRQM request for Unicode core mode (DEC mode
+// 2027) so the terminal reports whether it measures cell width using grapheme
+// clustering. The response arrives as a [ModeReportEvent].
+func (s *TerminalScreen) requestGraphemeWidth() {
+ s.mu.Lock()
+ defer s.mu.Unlock()
+ s.buf.WriteString(ansi.RequestMode(ansi.ModeUnicodeCore))
+}
+
+// enableGraphemeWidth enables Unicode core mode (DEC mode 2027) on the terminal
+// and switches the screen's width method to [ansi.GraphemeWidth] so wide-glyph
+// measurement matches the terminal. The change propagates to the
+// window/buffer and renderer.
+//
+// If the application has explicitly set a width method via
+// [TerminalScreen.SetWidthMethod], the explicit choice is preserved and this is
+// a no-op. The change is committed to the underlying writer through the
+// screen's normal locked write path so it cannot race with Render/Flush.
+func (s *TerminalScreen) enableGraphemeWidth() {
+ s.mu.Lock()
+ if s.widthMethodOverride {
+ s.mu.Unlock()
+ return
+ }
+ s.buf.WriteString(ansi.SetMode(ansi.ModeUnicodeCore))
+ s.setWidthMethod(ansi.GraphemeWidth)
+ s.rend.SetGraphemeWidth(true)
+ s.mu.Unlock()
+ _ = s.Flush()
+}
+
+// SetColorProfile sets the color profile for the terminal screen.
+// This is automatically detected when creating the terminal screen. However,
+// you can override it using this method.
+func (s *TerminalScreen) SetColorProfile(profile colorprofile.Profile) {
+ s.profile = profile
+ s.rend.SetColorProfile(profile)
+}
+
+// Resize resizes the terminal screen to the specified width and height,
+// updating the render buffer and renderer accordingly.
+func (s *TerminalScreen) Resize(width, height int) {
+ s.win.Resize(width, height)
+ s.rbuf.Resize(width, height)
+ s.rend.Resize(width, height)
+ s.rend.Erase()
+ s.rbuf.Touched = nil
+}
+
+// Display clears the screen and draws the given [Drawable] onto the terminal
+// screen and flushes the changes to the underlying writer.
+//
+// This is a convenience method that combines [TerminalScreen.Render] and
+// [TerminalScreen.Flush].
+func (s *TerminalScreen) Display(d Drawable) error {
+ if d != nil {
+ s.win.Clear()
+ d.Draw(s, s.win.Bounds())
+ }
+ s.Render()
+ return s.Flush()
+}
+
+// Render renders changes that transform the screen from its current state to
+// the state represented by the [TerminalScreen].
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) Render() {
+ s.mu.Lock()
+ defer s.mu.Unlock()
+ for y := 0; y < s.win.Height(); y++ {
+ for x := 0; x < s.win.Width(); {
+ cell := s.win.CellAt(x, y)
+ if cell == nil || cell.IsZero() {
+ x++
+ continue
+ }
+ s.rbuf.SetCell(x, y, cell)
+ width := cell.Width
+ if width <= 0 {
+ width = 1
+ }
+ x += width
+ }
+ }
+ s.rend.Render(s.rbuf)
+ _ = s.rend.Flush()
+}
+
+// Flush writes any pending output to the underlying writer.
+func (s *TerminalScreen) Flush() error {
+ s.mu.Lock()
+ defer s.mu.Unlock()
+ if s.cursor != nil && !s.cursor.Hidden && s.cursor.X >= 0 && s.cursor.Y >= 0 {
+ s.rend.MoveTo(s.cursor.X, s.cursor.Y)
+ } else if !s.altScreen {
+ // We don't want the cursor to be dangling at the end of the line in
+ // inline mode because it can cause unwanted line wraps in some
+ // terminals. So we move it to the beginning of the next line if
+ // necessary.
+ // This is only needed when the cursor is hidden because when it's
+ // visible, we already set its position above.
+ x, y := s.rend.Position()
+ if x >= s.win.Width()-1 {
+ s.rend.MoveTo(0, y)
+ }
+ }
+
+ var buf bytes.Buffer
+ buf.Grow(s.buf.Len())
+
+ if s.buf.Len() > 0 {
+ if s.syncUpdates {
+ buf.Grow(len(ansi.SetModeSynchronizedOutput) + len(ansi.ResetModeSynchronizedOutput))
+
+ // If synchronized updates are enabled, we need to wrap the output in
+ // the appropriate control sequences to ensure that the terminal treats
+ // it as a single atomic update. This is necessary to prevent flickering
+ // and other visual artifacts that can occur when multiple updates are sent
+ // separately.
+ buf.WriteString(ansi.SetModeSynchronizedOutput)
+ } else if s.cursor != nil && !s.cursor.Hidden {
+ buf.Grow(len(ansi.HideCursor) + len(ansi.ShowCursor))
+
+ // If synchronized updates are not enabled, we need to ensure that
+ // the cursor is hidden before writing any output to prevent
+ // unwanted cursor visual artifacts.
+ buf.WriteString(ansi.HideCursor)
+ }
+
+ buf.Write(s.buf.Bytes())
+
+ if s.syncUpdates {
+ buf.WriteString(ansi.ResetModeSynchronizedOutput)
+ } else if s.cursor != nil && !s.cursor.Hidden {
+ buf.WriteString(ansi.ShowCursor)
+ }
+ }
+
+ _, err := s.w.Write(buf.Bytes())
+ if err != nil {
+ return err
+ }
+ s.buf.Reset()
+ return nil
+}
+
+// EnterAltScreen switches the terminal to the alternate screen buffer, allowing
+// applications to use a separate screen for their output without affecting the
+// main screen.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) EnterAltScreen() {
+ var sb strings.Builder
+ sb.WriteString(ansi.SetModeAltScreenSaveCursor)
+ if s.cursor == nil || s.cursor.Hidden {
+ sb.WriteString(ansi.HideCursor)
+ } else if s.cursor != nil && !s.cursor.Hidden {
+ sb.WriteString(ansi.ShowCursor)
+ }
+ if s.keyboardEnhancements != nil {
+ EncodeKeyboardEnhancements(&sb, s.keyboardEnhancements)
+ }
+ s.buf.WriteString(sb.String())
+
+ if !s.altScreen {
+ s.rend.SaveCursor()
+ s.rend.Erase()
+ s.rend.SetFullscreen(true)
+ s.rend.SetRelativeCursor(false)
+ s.altScreen = true
+ }
+}
+
+// ExitAltScreen switches the terminal back to the main screen buffer, restoring
+// the previous screen state.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) ExitAltScreen() {
+ var sb strings.Builder
+ sb.WriteString(ansi.ResetModeAltScreenSaveCursor)
+ if s.cursor == nil || s.cursor.Hidden {
+ sb.WriteString(ansi.HideCursor)
+ } else if s.cursor != nil && !s.cursor.Hidden {
+ sb.WriteString(ansi.ShowCursor)
+ }
+ if s.keyboardEnhancements != nil {
+ EncodeKeyboardEnhancements(&sb, s.keyboardEnhancements)
+ }
+ s.buf.WriteString(sb.String())
+
+ if s.altScreen {
+ s.rend.RestoreCursor()
+ s.rend.Erase()
+ s.rend.SetFullscreen(false)
+ s.rend.SetRelativeCursor(true)
+ s.altScreen = false
+ }
+}
+
+// AltScreen returns whether the terminal is currently in the alternate screen
+// buffer.
+func (s *TerminalScreen) AltScreen() bool {
+ return s.altScreen
+}
+
+// HideCursor hides the terminal cursor.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) HideCursor() {
+ s.buf.WriteString(ansi.HideCursor)
+ if s.cursor != nil {
+ s.cursor.Hidden = true
+ }
+}
+
+// ShowCursor shows the terminal cursor.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) ShowCursor() {
+ s.buf.WriteString(ansi.ShowCursor)
+ if s.cursor != nil {
+ s.cursor.Hidden = false
+ } else {
+ s.cursor = NewCursor(-1, -1)
+ }
+}
+
+// CursorVisible returns whether the terminal cursor is currently visible.
+func (s *TerminalScreen) CursorVisible() bool {
+ return s.cursor != nil && !s.cursor.Hidden
+}
+
+// SetCursorPosition sets the position of the terminal cursor to the specified
+// coordinates.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) SetCursorPosition(x, y int) {
+ if s.cursor == nil {
+ s.cursor = NewCursor(x, y)
+ s.cursor.Hidden = true
+ } else {
+ s.cursor.X = x
+ s.cursor.Y = y
+ }
+}
+
+// CursorPosition returns the last set cursor position of the terminal. If the
+// cursor position is not set, it returns (-1, -1).
+//
+// This can be affected by [TerminalScreen.Render] and
+// [TerminalScreen.SetCursorPosition] calls.
+func (s *TerminalScreen) CursorPosition() (x, y int) {
+ if s.cursor != nil {
+ return s.cursor.X, s.cursor.Y
+ }
+ return -1, -1
+}
+
+// SetCursorStyle sets the style of the terminal cursor.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) SetCursorStyle(shape CursorShape, blink bool) {
+ EncodeCursorStyle(s.buf, shape, blink)
+ if s.cursor == nil {
+ s.cursor = NewCursor(-1, -1)
+ }
+ s.cursor.Shape = shape
+ s.cursor.Blink = blink
+}
+
+// CursorStyle returns the current style of the terminal cursor.
+func (s *TerminalScreen) CursorStyle() (shape CursorShape, blink bool) {
+ if s.cursor != nil {
+ return s.cursor.Shape, s.cursor.Blink
+ }
+ return CursorBlock, true
+}
+
+// SetCursorColor sets the color of the terminal cursor.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) SetCursorColor(c color.Color) {
+ EncodeCursorColor(s.buf, c)
+ if s.cursor == nil {
+ s.cursor = NewCursor(-1, -1)
+ }
+ s.cursor.Color = c
+}
+
+// CursorColor returns the current color of the terminal cursor.
+//
+// A nil color indicates that the cursor color is the default terminal cursor
+// color.
+func (s *TerminalScreen) CursorColor() color.Color {
+ if s.cursor != nil {
+ return s.cursor.Color
+ }
+ return nil
+}
+
+// SetBackgroundColor sets the background color of the terminal.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) SetBackgroundColor(c color.Color) {
+ EncodeBackgroundColor(s.buf, c)
+ s.backgroundColor = c
+}
+
+// BackgroundColor returns the current background color of the terminal.
+//
+// A nil color indicates that the background color is the default terminal
+// background color.
+func (s *TerminalScreen) BackgroundColor() color.Color {
+ return s.backgroundColor
+}
+
+// SetForegroundColor sets the foreground color of the terminal.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) SetForegroundColor(c color.Color) {
+ EncodeForegroundColor(s.buf, c)
+ s.foregroundColor = c
+}
+
+// ForegroundColor returns the current foreground color of the terminal.
+//
+// A nil color indicates that the foreground color is the default terminal
+// foreground color.
+func (s *TerminalScreen) ForegroundColor() color.Color {
+ return s.foregroundColor
+}
+
+// EnableBracketedPaste enables bracketed paste mode, allowing the terminal to
+// distinguish between pasted content and user input.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) EnableBracketedPaste() {
+ s.buf.WriteString(ansi.SetModeBracketedPaste)
+ s.bracketedPaste = true
+}
+
+// DisableBracketedPaste disables bracketed paste mode.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) DisableBracketedPaste() {
+ s.buf.WriteString(ansi.ResetModeBracketedPaste)
+ s.bracketedPaste = false
+}
+
+// BracketedPaste returns whether bracketed paste mode is currently enabled.
+func (s *TerminalScreen) BracketedPaste() bool {
+ return s.bracketedPaste
+}
+
+// SetSynchronizedUpdates sets whether to use synchronized updates (mode 2026),
+// which allows applications to batch updates to the terminal screen and flush
+// them all at once for improved performance.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) SetSynchronizedUpdates(enabled bool) {
+ s.syncUpdates = enabled
+}
+
+// SynchronizedUpdates returns whether synchronized updates (mode 2026) are
+// currently enabled.
+func (s *TerminalScreen) SynchronizedUpdates() bool {
+ return s.syncUpdates
+}
+
+// SetMouseMode sets the mouse tracking mode for the terminal, allowing
+// applications to receive mouse events.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) SetMouseMode(mode MouseMode) {
+ EncodeMouseMode(s.buf, mode)
+ s.mouseMode = mode
+}
+
+// MouseMode returns the current mouse tracking mode of the terminal.
+func (s *TerminalScreen) MouseMode() MouseMode {
+ return s.mouseMode
+}
+
+// SetMouseEncoding sets the mouse encoding for the terminal.
+// The encoding determines how mouse coordinates and buttons are reported.
+// This is only meaningful when mouse tracking is enabled via [TerminalScreen.SetMouseMode].
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) SetMouseEncoding(enc MouseEncoding) {
+ EncodeMouseEncoding(s.buf, enc)
+ s.mouseEncoding = enc
+}
+
+// MouseEncoding returns the current mouse encoding of the terminal.
+func (s *TerminalScreen) MouseEncoding() MouseEncoding {
+ return s.mouseEncoding
+}
+
+// SetWindowTitle sets the title of the terminal window.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) SetWindowTitle(title string) {
+ EncodeWindowTitle(s.buf, title)
+ s.windowTitle = title
+}
+
+// WindowTitle returns the current title of the terminal window.
+func (s *TerminalScreen) WindowTitle() string {
+ return s.windowTitle
+}
+
+// SetKeyboardEnhancements sets the keyboard enhancements for the terminal,
+// allowing applications to receive enhanced keyboard input.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) SetKeyboardEnhancements(enh *KeyboardEnhancements) {
+ EncodeKeyboardEnhancements(s.buf, enh)
+ s.keyboardEnhancements = enh
+}
+
+// KeyboardEnhancements returns the current keyboard enhancements of the terminal.
+//
+// A nil value indicates that no keyboard enhancements are currently enabled.
+func (s *TerminalScreen) KeyboardEnhancements() *KeyboardEnhancements {
+ return s.keyboardEnhancements
+}
+
+// SetProgressBar sets the progress bar for the terminal, allowing applications
+// to display progress information.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) SetProgressBar(pb *ProgressBar) {
+ EncodeProgressBar(s.buf, pb)
+ s.progressBar = pb
+}
+
+// ProgressBar returns the current progress bar of the terminal.
+//
+// A nil value indicates that no progress bar is currently set.
+func (s *TerminalScreen) ProgressBar() *ProgressBar {
+ return s.progressBar
+}
+
+// Reset resets the terminal screen to its default state, clearing the screen,
+// switching back to the main screen buffer if necessary, and resetting all
+// terminal settings to their defaults.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) Reset() {
+ var sb strings.Builder
+
+ hasKeyboardEnhancements := s.keyboardEnhancements != nil
+
+ if s.altScreen {
+ if hasKeyboardEnhancements {
+ sb.WriteString(ansi.KittyKeyboard(0, 1))
+ }
+ sb.WriteString(ansi.ResetModeAltScreenSaveCursor)
+ }
+ if hasKeyboardEnhancements {
+ sb.WriteString(ansi.KittyKeyboard(0, 1))
+ }
+ if s.mouseMode != MouseModeNone {
+ EncodeMouseMode(&sb, MouseModeNone)
+ }
+ if s.mouseEncoding != MouseEncodingLegacy {
+ EncodeMouseEncoding(&sb, MouseEncodingLegacy)
+ }
+
+ if s.cursor == nil || !s.cursor.Hidden {
+ sb.WriteString(ansi.ShowCursor)
+ }
+ if s.cursor != nil {
+ if s.cursor.Shape != CursorBlock || !s.cursor.Blink {
+ sb.WriteString(ansi.SetCursorStyle(0))
+ }
+ if s.cursor.Color != nil {
+ sb.WriteString(ansi.ResetCursorColor)
+ }
+ }
+ if s.backgroundColor != nil {
+ sb.WriteString(ansi.ResetBackgroundColor)
+ }
+ if s.foregroundColor != nil {
+ sb.WriteString(ansi.ResetForegroundColor)
+ }
+ if s.bracketedPaste {
+ sb.WriteString(ansi.ResetModeBracketedPaste)
+ }
+ if s.windowTitle != "" {
+ sb.WriteString(ansi.SetWindowTitle(""))
+ }
+ if s.progressBar != nil && s.progressBar.State != ProgressBarNone {
+ sb.WriteString(ansi.ResetProgressBar)
+ }
+
+ s.buf.WriteString(sb.String())
+
+ // Go to the bottom of the screen.
+ // We need to go to the bottom of the screen regardless of whether
+ // we're in alt screen mode or not to avoid leaving the cursor in the
+ // middle in terminals that don't support alt screen mode.
+ //
+ // This comes after resetting the screen state to ensure that moving the
+ // cursor is the last thing we do, preventing any unwanted cursor movements
+ // after resetting the screen.
+ //
+ // Note that both [TerminalScreen.rend] writes to [TerminalScreen.buf].
+ s.rend.MoveTo(0, s.win.Height()-1)
+}
+
+// Restore restores the terminal screen to its previous state, applying any
+// previous settings and state that were reset by the [TerminalScreen.Reset] method.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) Restore() {
+ var sb strings.Builder
+
+ if s.resetTabs {
+ sb.WriteString(ansi.SetTabEvery8Columns)
+ }
+ if s.altScreen {
+ sb.WriteString(ansi.SetModeAltScreenSaveCursor)
+ }
+ if s.cursor != nil && !s.cursor.Hidden {
+ sb.WriteString(ansi.ShowCursor)
+ } else {
+ // Hide the cursor by default.
+ sb.WriteString(ansi.HideCursor)
+ }
+ if s.keyboardEnhancements != nil {
+ EncodeKeyboardEnhancements(&sb, s.keyboardEnhancements)
+ }
+ if s.mouseMode != MouseModeNone {
+ EncodeMouseMode(&sb, s.mouseMode)
+ }
+ if s.mouseEncoding != MouseEncodingLegacy {
+ EncodeMouseEncoding(&sb, s.mouseEncoding)
+ }
+ if s.cursor != nil {
+ if s.cursor.Shape != CursorBlock || !s.cursor.Blink {
+ EncodeCursorStyle(&sb, s.cursor.Shape, s.cursor.Blink)
+ }
+ if s.cursor.Color != nil {
+ EncodeCursorColor(&sb, s.cursor.Color)
+ }
+ }
+ if s.backgroundColor != nil {
+ EncodeBackgroundColor(&sb, s.backgroundColor)
+ }
+ if s.foregroundColor != nil {
+ EncodeForegroundColor(&sb, s.foregroundColor)
+ }
+ if s.bracketedPaste {
+ sb.WriteString(ansi.SetModeBracketedPaste)
+ }
+ if s.windowTitle != "" {
+ EncodeWindowTitle(&sb, s.windowTitle)
+ }
+ if s.progressBar != nil && s.progressBar.State != ProgressBarNone {
+ EncodeProgressBar(&sb, s.progressBar)
+ }
+
+ s.buf.WriteString(sb.String())
+
+ // This needs to be called after restoring the screen state and writing to
+ // the buffer.
+ //
+ // [TerminalScreen.Render] will write to [TerminalScreen.buf], so we need
+ // to call it after writing the restore commands to the buffer to ensure
+ // that the restore commands are included in the render output. This
+ // ensures that the screen is properly restored before rendering any
+ // changes.
+ s.Render()
+
+ // Cursor position will be restored by the caller after calling
+ // [TerminalScreen.Flush].
+}
+
+// Write writes data to the underlying buffer queuing it for output.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) Write(p []byte) (n int, err error) {
+ return s.buf.Write(p)
+}
+
+// WriteString writes a string to the underlying buffer queuing it for output.
+//
+// The changes can be committed to the underlying writer by calling the
+// [TerminalScreen.Flush] method.
+func (s *TerminalScreen) WriteString(str string) (n int, err error) {
+ return s.buf.WriteString(str)
+}
+
+// InsertAbove inserts content above the screen pushing the current content
+// down.
+//
+// This is useful for inserting content above the current screen content
+// without affecting the current cursor position or screen state.
+//
+// Note that this won't have any visible effect if the screen is in alt screen
+// mode, as the content will be inserted above the alt screen buffer, which is
+// not visible. However, if the screen is in inline mode, the content will be
+// inserted above and will not be managed by the renderer.
+//
+// Unlike other methods that modify the screen state, this method writes
+// directly to the underlying writer, so there is no need to call
+// [TerminalScreen.Flush] after calling this method.
+func (s *TerminalScreen) InsertAbove(content string) error {
+ if len(content) == 0 {
+ return nil
+ }
+
+ var sb strings.Builder
+ w, h := s.win.Width(), s.win.Height()
+ _, y := s.rend.Position()
+
+ // We need to scroll the screen up by the number of lines in the queue.
+ sb.WriteByte('\r')
+ down := h - y - 1
+ if down > 0 {
+ sb.WriteString(ansi.CursorDown(down))
+ }
+
+ lines := strings.Split(content, "\n")
+ offset := len(lines)
+ for _, line := range lines {
+ lineWidth := s.win.WidthMethod().StringWidth(line)
+ if w > 0 && lineWidth > w {
+ offset += (lineWidth / w)
+ }
+ }
+
+ // Scroll the screen up by the offset to make room for the new lines.
+ sb.WriteString(strings.Repeat("\n", offset))
+
+ // XXX: Now go to the top of the screen, insert new lines, and write
+ // the queued strings. It is important to use [Screen.moveCursor]
+ // instead of [Screen.move] because we don't want to perform any checks
+ // on the cursor position.
+ up := offset + h - 1
+ sb.WriteString(ansi.CursorUp(up))
+ sb.WriteString(ansi.InsertLine(offset))
+ for _, line := range lines {
+ sb.WriteString(line)
+ sb.WriteString(ansi.EraseLineRight)
+ sb.WriteString("\r\n")
+ }
+
+ s.rend.SetPosition(0, 0)
+
+ _, err := io.WriteString(s.w, sb.String())
+ return err
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_unix.go b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_unix.go
index eea42beb5..04ed3e3f6 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_unix.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_unix.go
@@ -5,73 +5,52 @@ package uv
import (
"github.com/charmbracelet/x/term"
+ "github.com/charmbracelet/x/termios"
)
-func (t *Terminal) makeRaw() error {
- var err error
-
- if t.inTty == nil && t.outTty == nil {
- return ErrNotTerminal
+func makeRaw(inTty, outTty term.File) (inTtyState, outTtyState *term.State, err error) {
+ if inTty == nil && outTty == nil {
+ return nil, nil, ErrNotTerminal
}
// Check if we have a terminal.
- for _, f := range []term.File{t.inTty, t.outTty} {
+ for _, f := range []term.File{inTty, outTty} {
if f == nil {
continue
}
- t.inTtyState, err = term.MakeRaw(f.Fd())
+ inTtyState, err = term.MakeRaw(f.Fd())
if err == nil {
break
}
}
if err != nil {
- return err //nolint:wrapcheck
+ return nil, nil, err //nolint:wrapcheck
}
- return nil
+ return inTtyState, outTtyState, nil
}
-func (t *Terminal) getSize() (w, h int, err error) {
+func getWinsize(inTty, outTty term.File) (ws Winsize, err error) {
// Try both inTty and outTty to get the size.
err = ErrNotTerminal
- for _, f := range []term.File{t.inTty, t.outTty} {
+ for _, f := range []term.File{inTty, outTty} {
if f == nil {
continue
}
- w, h, err = term.GetSize(f.Fd())
+ size, err := termios.GetWinsize(int(f.Fd()))
if err == nil {
- return w, h, nil
+ return Winsize(*size), nil
}
}
return
}
-func (t *Terminal) optimizeMovements() {
- // Try both inTty and outTty to get the size.
- var state *term.State
- var err error
- for _, s := range []*term.State{t.inTtyState, t.outTtyState} {
- if s == nil {
- continue
- }
- state = s
- break
- }
- if state == nil {
- for _, f := range []term.File{t.inTty, t.outTty} {
- if f == nil {
- continue
- }
- state, err = term.GetState(f.Fd())
- if err == nil {
- break
- }
- }
- }
- if state == nil {
- return
- }
- t.useTabs = supportsHardTabs(uint64(state.Oflag)) //nolint:unconvert,nolintlint
- t.useBspace = supportsBackspace(uint64(state.Lflag)) //nolint:unconvert,nolintlint
+func getSize(inTty, outTty term.File) (w, h int, err error) {
+ ws, err := getWinsize(inTty, outTty)
+ return int(ws.Col), int(ws.Row), err
+}
+
+func optimizeMovements(state *term.State) (useTabs, useBspace bool) {
+ return supportsHardTabs(uint64(state.Oflag)), supportsBackspace(uint64(state.Lflag)) //nolint:unconvert,nolintlint
}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_windows.go b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_windows.go
index 31a7eeda4..a899ba486 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_windows.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/terminal_windows.go
@@ -10,58 +10,62 @@ import (
"golang.org/x/sys/windows"
)
-func (t *Terminal) makeRaw() (err error) {
- if t.inTty == nil || t.outTty == nil || !term.IsTerminal(t.inTty.Fd()) || !term.IsTerminal(t.outTty.Fd()) {
- return ErrNotTerminal
+func makeRaw(inTty, outTty term.File) (inTtyState, outTtyState *term.State, err error) {
+ if inTty == nil || outTty == nil || !term.IsTerminal(inTty.Fd()) || !term.IsTerminal(outTty.Fd()) {
+ return nil, nil, ErrNotTerminal
}
- // Save stdin state and enable VT input.
+ // Save stdin state and enable VT inpu
// We also need to enable VT input here.
- t.inTtyState, err = term.MakeRaw(t.inTty.Fd())
+ inTtyState, err = term.MakeRaw(inTty.Fd())
if err != nil {
- return fmt.Errorf("error making terminal raw: %w", err)
+ return nil, nil, fmt.Errorf("error making terminal raw: %w", err)
}
// Enable VT input
var imode uint32
- if err := windows.GetConsoleMode(windows.Handle(t.inTty.Fd()), &imode); err != nil {
- return fmt.Errorf("error getting console mode: %w", err)
+ if err := windows.GetConsoleMode(windows.Handle(inTty.Fd()), &imode); err != nil {
+ return nil, nil, fmt.Errorf("error getting console mode: %w", err)
}
- if err := windows.SetConsoleMode(windows.Handle(t.inTty.Fd()), imode|windows.ENABLE_VIRTUAL_TERMINAL_INPUT); err != nil {
- return fmt.Errorf("error setting console mode: %w", err)
+ if err := windows.SetConsoleMode(windows.Handle(inTty.Fd()), imode|windows.ENABLE_VIRTUAL_TERMINAL_INPUT); err != nil {
+ return nil, nil, fmt.Errorf("error setting console mode: %w", err)
}
// Save output screen buffer state and enable VT processing.
- t.outTtyState, err = term.GetState(t.outTty.Fd())
+ outTtyState, err = term.GetState(outTty.Fd())
if err != nil {
- return fmt.Errorf("error getting terminal state: %w", err)
+ return nil, nil, fmt.Errorf("error getting terminal state: %w", err)
}
var omode uint32
- if err := windows.GetConsoleMode(windows.Handle(t.outTty.Fd()), &omode); err != nil {
- return fmt.Errorf("error getting console mode: %w", err)
+ if err := windows.GetConsoleMode(windows.Handle(outTty.Fd()), &omode); err != nil {
+ return nil, nil, fmt.Errorf("error getting console mode: %w", err)
}
- if err := windows.SetConsoleMode(windows.Handle(t.outTty.Fd()),
+ if err := windows.SetConsoleMode(windows.Handle(outTty.Fd()),
omode|windows.ENABLE_VIRTUAL_TERMINAL_PROCESSING|
windows.DISABLE_NEWLINE_AUTO_RETURN); err != nil {
- return fmt.Errorf("error setting console mode: %w", err)
+ return nil, nil, fmt.Errorf("error setting console mode: %w", err)
}
- return //nolint:nakedret
+ return inTtyState, outTtyState, nil
}
-func (t *Terminal) getSize() (w, h int, err error) {
- if t.outTty != nil {
- return term.GetSize(t.outTty.Fd()) //nolint:wrapcheck
+func getSize(_, outTty term.File) (w, h int, err error) {
+ if outTty != nil {
+ return term.GetSize(outTty.Fd()) //nolint:wrapcheck
}
return 0, 0, ErrNotTerminal
}
-func (t *Terminal) optimizeMovements() {
- t.useBspace = supportsBackspace(0)
- t.useTabs = supportsHardTabs(0)
+func getWinsize(inTty, outTty term.File) (ws Winsize, err error) {
+ w, h, err := getSize(inTty, outTty)
+ return Winsize{Col: uint16(w), Row: uint16(h)}, err
+}
+
+func optimizeMovements(*term.State) (useTabs, useBspace bool) {
+ return supportsBackspace(0), supportsHardTabs(0)
}
func supportsBackspace(uint64) bool {
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/tty.go b/tools/vendor/github.com/charmbracelet/ultraviolet/tty.go
index 1f1496e67..7e7bd9945 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/tty.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/tty.go
@@ -1,6 +1,9 @@
package uv
-import "os"
+import (
+ "context"
+ "os"
+)
// OpenTTY opens the terminal's input and output file descriptors.
// It returns the input and output files, or an error if the terminal is not
@@ -16,3 +19,24 @@ func OpenTTY() (inTty, outTty *os.File, err error) {
func Suspend() error {
return suspend()
}
+
+// NotifyWinch sets up a channel to receive window size change signals and any
+// other signals needed. This is a drop-in replacement for os/signal.Notify to
+// ensure that SIGWINCH is included.
+//
+// On Windows, this will be a no-op for SIGWINCH, but other signals may still
+// be handled.
+func NotifyWinch(c chan os.Signal, sigs ...os.Signal) {
+ notifyWinch(c, sigs...)
+}
+
+// NotifyWinchContext sets up a channel to receive window size change signals
+// and any other signals needed, with context cancellation support. This is a
+// drop-in replacement for os/signal.NotifyContext to ensure that SIGWINCH is
+// included.
+//
+// On Windows, this will be a no-op for SIGWINCH, but other signals may still
+// be handled.
+func NotifyWinchContext(ctx context.Context, sigs ...os.Signal) (context.Context, context.CancelFunc) {
+ return notifyWinchContext(ctx, sigs...)
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/tty_other.go b/tools/vendor/github.com/charmbracelet/ultraviolet/tty_other.go
index 5ca079545..c4c986ce9 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/tty_other.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/tty_other.go
@@ -3,7 +3,11 @@
package uv
-import "os"
+import (
+ "context"
+ "os"
+ "os/signal"
+)
func openTTY() (*os.File, *os.File, error) {
return nil, nil, ErrPlatformNotSupported
@@ -12,3 +16,11 @@ func openTTY() (*os.File, *os.File, error) {
func suspend() error {
return ErrPlatformNotSupported
}
+
+func notifyWinch(c chan os.Signal, sigs ...os.Signal) {
+ signal.Notify(c, sigs...)
+}
+
+func notifyWinchContext(ctx context.Context, sigs ...os.Signal) (context.Context, context.CancelFunc) {
+ return signal.NotifyContext(ctx, sigs...)
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/tty_unix.go b/tools/vendor/github.com/charmbracelet/ultraviolet/tty_unix.go
index 2b272d172..328552cb1 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/tty_unix.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/tty_unix.go
@@ -4,9 +4,12 @@
package uv
import (
+ "context"
"os"
"os/signal"
"syscall"
+
+ "golang.org/x/sys/unix"
)
func openTTY() (inTty, outTty *os.File, err error) {
@@ -26,3 +29,11 @@ func suspend() (err error) {
<-c
return
}
+
+func notifyWinch(c chan os.Signal, sigs ...os.Signal) {
+ signal.Notify(c, append(sigs, unix.SIGWINCH)...)
+}
+
+func notifyWinchContext(ctx context.Context, sigs ...os.Signal) (context.Context, context.CancelFunc) {
+ return signal.NotifyContext(ctx, append(sigs, unix.SIGWINCH)...)
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/tty_windows.go b/tools/vendor/github.com/charmbracelet/ultraviolet/tty_windows.go
index 32fecd3ed..4ad0ecb80 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/tty_windows.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/tty_windows.go
@@ -3,7 +3,11 @@
package uv
-import "os"
+import (
+ "context"
+ "os"
+ "os/signal"
+)
func openTTY() (inTty, outTty *os.File, err error) {
// On Windows, when the input/output is redirected or piped, we need to
@@ -25,3 +29,11 @@ func suspend() (err error) {
// way as Unix-like systems.
return nil
}
+
+func notifyWinch(c chan os.Signal, sigs ...os.Signal) {
+ signal.Notify(c, sigs...)
+}
+
+func notifyWinchContext(ctx context.Context, sigs ...os.Signal) (context.Context, context.CancelFunc) {
+ return signal.NotifyContext(ctx, sigs...)
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/uv.go b/tools/vendor/github.com/charmbracelet/ultraviolet/uv.go
index a7c2890e2..dac088a9c 100644
--- a/tools/vendor/github.com/charmbracelet/ultraviolet/uv.go
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/uv.go
@@ -1,11 +1,20 @@
package uv
import (
+ "fmt"
"image/color"
- "runtime"
+ "io"
+
+ "github.com/charmbracelet/x/ansi"
+ "github.com/lucasb-eyer/go-colorful"
)
-var isWindows = runtime.GOOS == "windows"
+var (
+ // ErrNotTerminal is an error that indicates that the file is not a terminal.
+ ErrNotTerminal = fmt.Errorf("not a terminal")
+ // ErrPlatformNotSupported is an error that indicates that the platform is not supported.
+ ErrPlatformNotSupported = fmt.Errorf("platform not supported")
+)
// Drawable represents a drawable component on a [Screen].
type Drawable interface {
@@ -13,6 +22,16 @@ type Drawable interface {
Draw(scr Screen, area Rectangle)
}
+// DrawableFunc is a function that implements the [Drawable] interface.
+type DrawableFunc func(scr Screen, rect Rectangle)
+
+var _ Drawable = (DrawableFunc)(nil)
+
+// Draw implements the [Drawable] interface.
+func (f DrawableFunc) Draw(scr Screen, rect Rectangle) {
+ f(scr, rect)
+}
+
// WidthMethod determines how many columns a grapheme occupies on the screen.
type WidthMethod interface {
StringWidth(s string) int
@@ -51,6 +70,11 @@ type Cursor struct {
// Blink is a boolean that determines whether the cursor should blink.
Blink bool
+
+ // Hidden is a boolean that determines whether the cursor is hidden. You
+ // can use this if you want to hide the cursor but still want to change its
+ // position.
+ Hidden bool
}
// NewCursor returns a new cursor with the default settings and the given
@@ -111,3 +135,272 @@ func NewProgressBar(state ProgressBarState, value int) *ProgressBar {
Value: min(max(value, 0), 100),
}
}
+
+// KeyboardEnhancements defines different keyboard enhancement features that
+// can be requested from the terminal.
+type KeyboardEnhancements struct {
+ // DisambiguateEscapeCodes requests the terminal to report ambiguous keys
+ // such as Ctrl+i and Tab, and Ctrl+m and Enter, and others as distinct key
+ // code sequences.
+ // If supported, your program will receive distinct [KeyPressEvent]s for
+ // these keys.
+ DisambiguateEscapeCodes bool
+
+ // ReportEventTypes requests the terminal to report key repeat and release
+ // events.
+ // If supported, your program will receive [KeyReleaseEvent]s and
+ // [KeyPressEvent] with the [Key.IsRepeat] field set indicating that this
+ // is a it's part of a key repeat sequence.
+ ReportEventTypes bool
+
+ // ReportAlternateKeys requests the terminal to report alternate key values
+ // in addition to the main ones.
+ // Note that only key events represented as escape codes will affected by
+ // this enhancement.
+ ReportAlternateKeys bool
+
+ // ReportAllKeysAsEscapeCodes requests the terminal to report all key
+ // events, including plain text keys, as escape codes.
+ // When this is enabled, text won't be sent as plain text but instead as
+ // escape codes that encode the key value and modifiers.
+ ReportAllKeysAsEscapeCodes bool
+
+ // ReportAssociatedText requests the terminal to report the text associated
+ // with key events.
+ // Note that this is an enhancement to
+ // [KeyboardEnhancements.ReportAllKeysAsEscapeCodes] and only has an effect
+ // if that is enabled.
+ ReportAssociatedText bool
+}
+
+// NewKeyboardEnhancements returns a new [KeyboardEnhancements] with the given
+// options as flags.
+//
+// A zero, or negative, flags value is treated as no enhancements.
+//
+// See [ansi.KittyKeyboard] for more details on the supported keyboard enhancements.
+func NewKeyboardEnhancements(flags int) *KeyboardEnhancements {
+ if flags <= 0 {
+ return &KeyboardEnhancements{}
+ }
+
+ return &KeyboardEnhancements{
+ DisambiguateEscapeCodes: flags&ansi.KittyDisambiguateEscapeCodes != 0,
+ ReportEventTypes: flags&ansi.KittyReportEventTypes != 0,
+ }
+}
+
+// Flags returns the keyboard enhancements as bits that can be used to set the
+// appropriate terminal modes.
+func (ke KeyboardEnhancements) Flags() int {
+ bits := 0
+ if ke.DisambiguateEscapeCodes {
+ bits |= ansi.KittyDisambiguateEscapeCodes
+ }
+ if ke.ReportEventTypes {
+ bits |= ansi.KittyReportEventTypes
+ }
+ if ke.ReportAlternateKeys {
+ bits |= ansi.KittyReportAlternateKeys
+ }
+ if ke.ReportAllKeysAsEscapeCodes {
+ bits |= ansi.KittyReportAllKeysAsEscapeCodes
+ }
+ if ke.ReportAssociatedText {
+ bits |= ansi.KittyReportAssociatedKeys
+ }
+
+ return bits
+}
+
+// EncodeBackgroundColor encodes the background color to the given writer. Use
+// nil to reset the background color to the default.
+func EncodeBackgroundColor(w io.Writer, c color.Color) error {
+ var seq string
+ if c == nil {
+ seq = ansi.ResetBackgroundColor
+ } else if col, ok := colorful.MakeColor(c); ok {
+ seq = ansi.SetBackgroundColor(col.Hex())
+ } else {
+ return fmt.Errorf("invalid color: %v", c)
+ }
+
+ _, err := io.WriteString(w, seq)
+ if err != nil {
+ return fmt.Errorf("failed to set background color: %w", err)
+ }
+
+ return nil
+}
+
+// EncodeForegroundColor encodes the foreground color to the given writer. Use
+// nil to reset the foreground color to the default.
+func EncodeForegroundColor(w io.Writer, c color.Color) error {
+ var seq string
+ if c == nil {
+ seq = ansi.ResetForegroundColor
+ } else if col, ok := colorful.MakeColor(c); ok {
+ seq = ansi.SetForegroundColor(col.Hex())
+ } else {
+ return fmt.Errorf("invalid color: %v", c)
+ }
+
+ _, err := io.WriteString(w, seq)
+ if err != nil {
+ return fmt.Errorf("failed to set foreground color: %w", err)
+ }
+
+ return nil
+}
+
+// EncodeCursorColor encodes the cursor color to the given writer. Use nil to
+// reset the cursor color to the default.
+func EncodeCursorColor(w io.Writer, c color.Color) error {
+ var seq string
+ if c == nil {
+ seq = ansi.ResetCursorColor
+ } else if col, ok := colorful.MakeColor(c); ok {
+ seq = ansi.SetCursorColor(col.Hex())
+ } else {
+ return fmt.Errorf("invalid color: %v", c)
+ }
+
+ _, err := io.WriteString(w, seq)
+ if err != nil {
+ return fmt.Errorf("failed to set cursor color: %w", err)
+ }
+
+ return nil
+}
+
+// EncodeCursorStyle encodes the cursor style to the given writer.
+func EncodeCursorStyle(w io.Writer, shape CursorShape, blink bool) error {
+ seq := ansi.SetCursorStyle(shape.Encode(blink))
+ _, err := io.WriteString(w, seq)
+ if err != nil {
+ return fmt.Errorf("failed to set cursor style: %w", err)
+ }
+
+ return nil
+}
+
+// EncodeBracketedPaste encodes the bracketed paste mode to the given writer.
+func EncodeBracketedPaste(w io.Writer, enable bool) error {
+ var seq string
+ if enable {
+ seq = ansi.SetModeBracketedPaste
+ } else {
+ seq = ansi.ResetModeBracketedPaste
+ }
+
+ _, err := io.WriteString(w, seq)
+ if err != nil {
+ return fmt.Errorf("failed to set bracketed paste mode: %w", err)
+ }
+
+ return nil
+}
+
+// EncodeMouseMode encodes the mouse tracking mode to the given writer.
+func EncodeMouseMode(w io.Writer, mode MouseMode) error {
+ var seq string
+ switch mode {
+ case MouseModeNone:
+ seq = ansi.ResetModeMouseX10 +
+ ansi.ResetModeMouseNormal +
+ ansi.ResetModeMouseButtonEvent +
+ ansi.ResetModeMouseAnyEvent
+ case MouseModePress:
+ seq = ansi.SetModeMouseX10
+ case MouseModeClick:
+ seq = ansi.SetModeMouseNormal
+ case MouseModeDrag:
+ seq = ansi.SetModeMouseButtonEvent
+ case MouseModeMotion:
+ seq = ansi.SetModeMouseAnyEvent
+ }
+
+ _, err := io.WriteString(w, seq) //nolint:errcheck
+ if err != nil {
+ return fmt.Errorf("failed to set mouse mode: %w", err)
+ }
+
+ return nil
+}
+
+// EncodeMouseEncoding encodes the mouse encoding mode to the given writer.
+// When enc is [MouseEncodingLegacy], all extended encodings are reset.
+func EncodeMouseEncoding(w io.Writer, enc MouseEncoding) error {
+ var seq string
+ switch enc {
+ case MouseEncodingLegacy:
+ seq = ansi.ResetModeMouseExtSgr +
+ ansi.ResetModeMouseExtUrxvt +
+ ansi.ResetModeMouseExtSgrPixel
+ case MouseEncodingSGR:
+ seq = ansi.SetModeMouseExtSgr
+ case MouseEncodingSGRPixel:
+ seq = ansi.SetModeMouseExtSgrPixel
+ }
+
+ _, err := io.WriteString(w, seq) //nolint:errcheck
+ if err != nil {
+ return fmt.Errorf("failed to set mouse encoding: %w", err)
+ }
+
+ return nil
+}
+
+// EncodeProgressBar encodes the progress bar to the given writer.
+func EncodeProgressBar(w io.Writer, pb *ProgressBar) error {
+ if pb == nil {
+ pb = &ProgressBar{State: ProgressBarNone}
+ }
+
+ var seq string
+ percent := clamp(pb.Value, 0, 100)
+ switch pb.State {
+ case ProgressBarNone:
+ seq = ansi.ResetProgressBar
+ case ProgressBarDefault:
+ seq = ansi.SetProgressBar(percent)
+ case ProgressBarError:
+ seq = ansi.SetErrorProgressBar(percent)
+ case ProgressBarIndeterminate:
+ seq = ansi.SetIndeterminateProgressBar
+ case ProgressBarWarning:
+ seq = ansi.SetWarningProgressBar(percent)
+ default:
+ return fmt.Errorf("invalid progress bar state: %d", pb.State)
+ }
+
+ _, err := io.WriteString(w, seq)
+ if err != nil {
+ return fmt.Errorf("failed to set progress bar: %w", err)
+ }
+
+ return nil
+}
+
+// EncodeKeyboardEnhancements encodes the keyboard enhancements to the given
+// writer.
+func EncodeKeyboardEnhancements(w io.Writer, ke *KeyboardEnhancements) error {
+ var flags int
+ if ke != nil {
+ flags = ke.Flags()
+ }
+ _, err := io.WriteString(w, ansi.KittyKeyboard(flags, 1))
+ if err != nil {
+ return fmt.Errorf("failed to set keyboard enhancements: %w", err)
+ }
+ return nil
+}
+
+// EncodeWindowTitle encodes the window title to the given writer.
+func EncodeWindowTitle(w io.Writer, title string) error {
+ _, err := io.WriteString(w, ansi.SetWindowTitle(title))
+ if err != nil {
+ return fmt.Errorf("failed to set window title: %w", err)
+ }
+ return nil
+}
diff --git a/tools/vendor/github.com/charmbracelet/ultraviolet/window.go b/tools/vendor/github.com/charmbracelet/ultraviolet/window.go
new file mode 100644
index 000000000..e90bef28b
--- /dev/null
+++ b/tools/vendor/github.com/charmbracelet/ultraviolet/window.go
@@ -0,0 +1,147 @@
+package uv
+
+import "github.com/charmbracelet/x/ansi"
+
+// Window represents a rectangular area on the screen. It can be a root window
+// with no parent, or a sub-window with a parent window. A window can have its
+// own buffer or share the buffer of its parent window (view).
+type Window struct {
+ *Buffer
+
+ method *WidthMethod
+ parent *Window
+ bounds Rectangle
+}
+
+var (
+ _ Screen = (*Window)(nil)
+ _ Drawable = (*Window)(nil)
+)
+
+// HasParent returns whether the window has a parent window. This can be used
+// to determine if the window is a root window or a sub-window.
+func (w *Window) HasParent() bool {
+ return w.parent != nil
+}
+
+// Parent returns the parent window of the current window.
+// If the window does not have a parent, it returns nil.
+func (w *Window) Parent() *Window {
+ return w.parent
+}
+
+// MoveTo moves the window to the specified x and y coordinates.
+func (w *Window) MoveTo(x, y int) {
+ size := w.bounds.Size()
+ w.bounds.Min.X = x
+ w.bounds.Min.Y = y
+ w.bounds.Max.X = x + size.X
+ w.bounds.Max.Y = y + size.Y
+}
+
+// MoveBy moves the window by the specified delta x and delta y.
+func (w *Window) MoveBy(dx, dy int) {
+ w.bounds.Min.X += dx
+ w.bounds.Min.Y += dy
+ w.bounds.Max.X += dx
+ w.bounds.Max.Y += dy
+}
+
+// Clone creates an exact copy of the window, including its buffer and values.
+// The cloned window will have the same parent and method as the original
+// window.
+func (w *Window) Clone() *Window {
+ return w.CloneArea(w.Buffer.Bounds())
+}
+
+// CloneArea creates an exact copy of the window, including its buffer and
+// values, but only within the specified area. The cloned window will have the
+// same parent and method as the original window, but its bounds will be
+// limited to the specified area.
+func (w *Window) CloneArea(area Rectangle) *Window {
+ clone := new(Window)
+ clone.Buffer = w.Buffer.CloneArea(area)
+ clone.parent = w.parent
+ clone.method = w.method
+ clone.bounds = area
+ return clone
+}
+
+// Resize resizes the window to the specified width and height.
+func (w *Window) Resize(width, height int) {
+ // Only resize the buffer if this window owns its buffer.
+ if w.parent == nil || w.Buffer != w.parent.Buffer {
+ w.Buffer.Resize(width, height)
+ }
+ w.bounds.Max.X = w.bounds.Min.X + width
+ w.bounds.Max.Y = w.bounds.Min.Y + height
+}
+
+// WidthMethod returns the method used to calculate the width of characters in
+// the window.
+func (w *Window) WidthMethod() WidthMethod {
+ return *w.method
+}
+
+// Bounds returns the bounds of the window as a rectangle.
+func (w *Window) Bounds() Rectangle {
+ return w.bounds
+}
+
+// NewWindow creates a new window with its own buffer relative to the parent
+// window at the specified position and size.
+//
+// This will panic if width or height is negative.
+func (w *Window) NewWindow(x, y, width, height int) *Window {
+ return newWindow(w, x, y, width, height, w.method, false)
+}
+
+// NewView creates a new view into the parent window at the specified position
+// and size. Unlike [Window.NewWindow], this view shares the same buffer as the
+// parent window.
+func (w *Window) NewView(x, y, width, height int) *Window {
+ return newWindow(w, x, y, width, height, w.method, true)
+}
+
+// NewWindow creates a new root [Window] with the given size and width method.
+// If the method is nil, it defaults to [ansi.WcWidth].
+//
+// The [WidthMethod] is used to calculate the width of characters in the
+// window, which is important for correctly rendering text, especially when
+// dealing with wide characters, combining characters, emojis, and other
+// Unicode characters that may have varying widths.
+//
+// Use [ansi.WcWidth] as the default width method, which is a common
+// implementation that handles a wide range of Unicode characters according to
+// the Unicode Standard. Use [ansi.GraphemeWidth] if you know that your
+// terminal supports grapheme clusters and proper rendering of combining
+// characters and emojis, and you want to ensure that the width calculations
+// are based on grapheme clusters rather than individual code points.
+//
+// This will panic if width or height is negative.
+func NewWindow(width, height int, method WidthMethod) *Window {
+ if method == nil {
+ method = ansi.WcWidth
+ }
+ return newWindow(nil, 0, 0, width, height, &method, false)
+}
+
+// SetWidthMethod sets the width method for the window.
+func (w *Window) SetWidthMethod(method WidthMethod) {
+ w.method = &method
+}
+
+// newWindow creates a new [Window] with the specified parent, position,
+// method, and size.
+func newWindow(parent *Window, x, y, width, height int, method *WidthMethod, view bool) *Window {
+ w := new(Window)
+ if view {
+ w.Buffer = parent.Buffer
+ } else {
+ w.Buffer = NewBuffer(width, height)
+ }
+ w.parent = parent
+ w.method = method
+ w.bounds = Rect(x, y, width, height)
+ return w
+}
diff --git a/tools/vendor/github.com/jgautheron/goconst/README.md b/tools/vendor/github.com/jgautheron/goconst/README.md
index 2b31154a3..61f8e781f 100644
--- a/tools/vendor/github.com/jgautheron/goconst/README.md
+++ b/tools/vendor/github.com/jgautheron/goconst/README.md
@@ -42,6 +42,7 @@ Flags:
-eval-const-expr enable evaluation of constant expressions (e.g., Prefix + "suffix")
-ignore-calls ignore string literals in calls to these functions (comma separated)
-ignore-composite-literals ignore string literals inside composite literals
+ -ignore-map-keys ignore string literals used as map keys
-numbers search also for duplicated numbers
-min minimum value, only works with -numbers
-max maximum value, only works with -numbers
diff --git a/tools/vendor/github.com/jgautheron/goconst/api.go b/tools/vendor/github.com/jgautheron/goconst/api.go
index 88982a9fb..454108e71 100644
--- a/tools/vendor/github.com/jgautheron/goconst/api.go
+++ b/tools/vendor/github.com/jgautheron/goconst/api.go
@@ -50,6 +50,9 @@ type Config struct {
// IgnoreFunctions is a list of function names whose string arguments should be ignored.
// Supports direct calls (e.g., "println") and one-level qualified calls (e.g., "slog.Info").
IgnoreFunctions []string
+ // IgnoreMapKeys ignores string literals used as keys in map literals
+ // (e.g., the "key" in map[string]any{"key": "value"}).
+ IgnoreMapKeys bool
}
// NewWithIgnorePatterns creates a new instance of the parser with support for multiple ignore patterns.
@@ -117,6 +120,10 @@ func RunWithConfig(files []*ast.File, fset *token.FileSet, typeInfo *types.Info,
p.SetIgnoreFunctions(cfg.IgnoreFunctions)
}
+ if cfg.IgnoreMapKeys {
+ p.SetIgnoreMapKeys(true)
+ }
+
// Pre-allocate slice based on estimated result size
expectedIssues := len(files) * 5 // Assuming average of 5 issues per file
if expectedIssues > 1000 {
diff --git a/tools/vendor/github.com/jgautheron/goconst/parser.go b/tools/vendor/github.com/jgautheron/goconst/parser.go
index 62327c2b1..25e267a54 100644
--- a/tools/vendor/github.com/jgautheron/goconst/parser.go
+++ b/tools/vendor/github.com/jgautheron/goconst/parser.go
@@ -121,6 +121,7 @@ type Parser struct {
numberMin, numberMax int
excludeTypes map[Type]bool
ignoreFunctions map[string]struct{}
+ ignoreMapKeys bool // Whether to ignore string literals used as map keys
maxConcurrency int
evalConstExpressions bool // Whether to evaluate constant expressions
@@ -283,6 +284,12 @@ func (p *Parser) SetIgnoreFunctions(names []string) {
p.ignoreFunctions = m
}
+// SetIgnoreMapKeys configures whether string literals used as keys in map
+// literals should be ignored. The corresponding values are still reported.
+func (p *Parser) SetIgnoreMapKeys(ignore bool) {
+ p.ignoreMapKeys = ignore
+}
+
// ParseTree will search the given path for occurrences that could be moved into constants.
// If "..." is appended, the search will be recursive.
//
diff --git a/tools/vendor/github.com/jgautheron/goconst/visitor.go b/tools/vendor/github.com/jgautheron/goconst/visitor.go
index 31c80a718..4c3fba69d 100644
--- a/tools/vendor/github.com/jgautheron/goconst/visitor.go
+++ b/tools/vendor/github.com/jgautheron/goconst/visitor.go
@@ -18,6 +18,12 @@ type treeVisitor struct {
packageName string
p *Parser
ignoreRegex *regexp.Regexp
+
+ // skipNodes holds map-key expression subtrees to skip entirely while
+ // walking, used by -ignore-map-keys for keys that are not plain literals
+ // (e.g. NamedString("key")). Populated per file; the walk is single
+ // threaded so no synchronization is needed.
+ skipNodes map[ast.Node]struct{}
}
// Visit browses the AST tree for strings that could be potentially
@@ -28,6 +34,12 @@ func (v *treeVisitor) Visit(node ast.Node) ast.Visitor {
return v
}
+ // Prune map-key expression subtrees flagged by -ignore-map-keys so their
+ // string literals are never recorded (e.g. the "key" in K("key")).
+ if _, skip := v.skipNodes[node]; skip {
+ return nil
+ }
+
// A single case with "ast.BasicLit" would be much easier
// but then we wouldn't be able to tell in which context
// the string is defined (could be a constant definition).
@@ -143,8 +155,14 @@ func (v *treeVisitor) Visit(node ast.Node) ast.Visitor {
// []string{"foo"}, map[string]string{"k": "v"}, struct{A string}{A: "foo"}
case *ast.CompositeLit:
+ // isMap is only consulted for pruning expression keys, which matters
+ // only when -ignore-map-keys is set.
+ isMap := false
+ if v.p.ignoreMapKeys {
+ isMap = v.isMapLiteral(t)
+ }
for _, item := range t.Elts {
- v.addCompositeLiteralElement(item)
+ v.addCompositeLiteralElement(item, isMap)
}
}
@@ -158,7 +176,22 @@ func constValueStrings(val constant.Value) (string, string) {
return val.String(), val.Kind().String() + ":" + val.ExactString()
}
-func (v *treeVisitor) addCompositeLiteralElement(node ast.Expr) {
+// isMapLiteral reports whether a composite literal is a map. It prefers type
+// information (which resolves named map types and elided nested literals) and
+// falls back to the syntactic type when none is available (e.g. the CLI path,
+// where only explicit map[...]... literals can be recognized).
+func (v *treeVisitor) isMapLiteral(t *ast.CompositeLit) bool {
+ if v.typeInfo != nil {
+ if tv, ok := v.typeInfo.Types[t]; ok && tv.Type != nil {
+ _, isMap := tv.Type.Underlying().(*types.Map)
+ return isMap
+ }
+ }
+ _, ok := t.Type.(*ast.MapType)
+ return ok
+}
+
+func (v *treeVisitor) addCompositeLiteralElement(node ast.Expr, isMap bool) {
if lit, ok := node.(*ast.BasicLit); ok && v.isSupported(lit.Kind) {
v.addString(lit.Value, lit.Pos(), CompositeLit)
return
@@ -169,8 +202,19 @@ func (v *treeVisitor) addCompositeLiteralElement(node ast.Expr) {
return
}
- if keyLit, ok := kv.Key.(*ast.BasicLit); ok && v.isSupported(keyLit.Kind) {
- v.addString(keyLit.Value, keyLit.Pos(), CompositeLit)
+ if keyLit, ok := kv.Key.(*ast.BasicLit); ok {
+ // Direct literal key. A string literal can only be a map key (struct
+ // keys are identifiers, array indices are integers), so it is dropped
+ // when requested with no type information; numeric keys are out of
+ // scope and kept.
+ if v.isSupported(keyLit.Kind) && (!v.p.ignoreMapKeys || keyLit.Kind != token.STRING) {
+ v.addString(keyLit.Value, keyLit.Pos(), CompositeLit)
+ }
+ } else if v.p.ignoreMapKeys && isMap {
+ // Key is an expression (e.g. NamedString("key")); any string literal it
+ // contains is part of the map key, so skip the whole subtree. Gated on
+ // isMap so array indices such as [10]int{int(2): 1} are left alone.
+ v.markSkip(kv.Key)
}
if valueLit, ok := kv.Value.(*ast.BasicLit); ok && v.isSupported(valueLit.Kind) {
@@ -178,6 +222,14 @@ func (v *treeVisitor) addCompositeLiteralElement(node ast.Expr) {
}
}
+// markSkip flags an AST node so the walk prunes it and its subtree.
+func (v *treeVisitor) markSkip(node ast.Node) {
+ if v.skipNodes == nil {
+ v.skipNodes = make(map[ast.Node]struct{})
+ }
+ v.skipNodes[node] = struct{}{}
+}
+
// shouldIgnoreCall returns true if the call expression matches a function
// name in the ignoreFunctions set. Supports direct calls (e.g., "println")
// and one-level qualified calls (e.g., "slog.Info").
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/counter.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/counter.go
index 4ce84e7a8..7d963d3af 100644
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/counter.go
+++ b/tools/vendor/github.com/prometheus/client_golang/prometheus/counter.go
@@ -85,11 +85,12 @@ type CounterVecOpts struct {
// Both internal tracking values are added up in the Write method. This has to
// be taken into account when it comes to precision and overflow behavior.
func NewCounter(opts CounterOpts) Counter {
- desc := NewDesc(
+ desc := V2.NewDesc(
BuildFQName(opts.Namespace, opts.Subsystem, opts.Name),
opts.Help,
- nil,
+ UnconstrainedLabels(nil),
opts.ConstLabels,
+ WithUnit(opts.Unit),
)
if opts.now == nil {
opts.now = time.Now
@@ -205,6 +206,7 @@ func (v2) NewCounterVec(opts CounterVecOpts) *CounterVec {
opts.Help,
opts.VariableLabels,
opts.ConstLabels,
+ WithUnit(opts.Unit),
)
if opts.now == nil {
opts.now = time.Now
@@ -349,10 +351,11 @@ type CounterFunc interface {
//
// Check out the ExampleGaugeFunc examples for the similar GaugeFunc.
func NewCounterFunc(opts CounterOpts, function func() float64) CounterFunc {
- return newValueFunc(NewDesc(
+ return newValueFunc(V2.NewDesc(
BuildFQName(opts.Namespace, opts.Subsystem, opts.Name),
opts.Help,
- nil,
+ UnconstrainedLabels(nil),
opts.ConstLabels,
+ WithUnit(opts.Unit),
), CounterValue, function)
}
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/desc.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/desc.go
index 2331b8b4f..a3c92e7a4 100644
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/desc.go
+++ b/tools/vendor/github.com/prometheus/client_golang/prometheus/desc.go
@@ -47,6 +47,8 @@ type Desc struct {
fqName string
// help provides some helpful information about this metric.
help string
+ // unit provides the unit of this metric.
+ unit string
// constLabelPairs contains precalculated DTO label pairs based on
// the constant labels.
constLabelPairs []*dto.LabelPair
@@ -66,6 +68,16 @@ type Desc struct {
err error
}
+// DescOpt allows setting optional fields for NewDesc.
+type DescOpt func(*Desc)
+
+// WithUnit sets the unit for a Desc.
+func WithUnit(unit string) DescOpt {
+ return func(d *Desc) {
+ d.unit = unit
+ }
+}
+
// NewDesc allocates and initializes a new Desc. Errors are recorded in the Desc
// and will be reported on registration time. variableLabels and constLabels can
// be nil if no such labels should be set. fqName must not be empty.
@@ -89,14 +101,17 @@ func NewDesc(fqName, help string, variableLabels []string, constLabels Labels) *
//
// For constLabels, the label values are constant. Therefore, they are fully
// specified in the Desc. See the Collector example for a usage pattern.
-func (v2) NewDesc(fqName, help string, variableLabels ConstrainableLabels, constLabels Labels) *Desc {
+func (v2) NewDesc(fqName, help string, variableLabels ConstrainableLabels, constLabels Labels, opts ...DescOpt) *Desc {
d := &Desc{
fqName: fqName,
help: help,
variableLabels: variableLabels.compile(),
}
- //nolint:staticcheck // TODO: Don't use deprecated model.NameValidationScheme.
- if !model.NameValidationScheme.IsValidMetricName(fqName) {
+
+ for _, opt := range opts {
+ opt(d)
+ }
+ if !model.UTF8Validation.IsValidMetricName(fqName) {
d.err = fmt.Errorf("%q is not a valid metric name", fqName)
return d
}
@@ -150,11 +165,13 @@ func (v2) NewDesc(fqName, help string, variableLabels ConstrainableLabels, const
d.id = xxh.Sum64()
// Sort labelNames so that order doesn't matter for the hash.
sort.Strings(labelNames)
- // Now hash together (in this order) the help string and the sorted
+ // Now hash together (in this order) the help string, the unit string and the sorted
// label names.
xxh.Reset()
xxh.WriteString(help)
xxh.Write(separatorByteSlice)
+ xxh.WriteString(d.unit)
+ xxh.Write(separatorByteSlice)
for _, labelName := range labelNames {
xxh.WriteString(labelName)
xxh.Write(separatorByteSlice)
@@ -182,6 +199,15 @@ func NewInvalidDesc(err error) *Desc {
}
}
+// Err returns an error that occurred during construction, if any.
+//
+// Calling this method is optional. It can be used to detect construction
+// errors early, before invoking other methods on the Desc. If an error is
+// present, later operations may not behave as expected.
+func (d *Desc) Err() error {
+ return d.err
+}
+
func (d *Desc) String() string {
lpStrings := make([]string, 0, len(d.constLabelPairs))
for _, lp := range d.constLabelPairs {
@@ -202,9 +228,10 @@ func (d *Desc) String() string {
}
}
return fmt.Sprintf(
- "Desc{fqName: %q, help: %q, constLabels: {%s}, variableLabels: {%s}}",
+ "Desc{fqName: %q, help: %q, unit: %q, constLabels: {%s}, variableLabels: {%s}}",
d.fqName,
d.help,
+ d.unit,
strings.Join(lpStrings, ","),
strings.Join(vlStrings, ","),
)
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/expvar_collector.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/expvar_collector.go
index de5a85629..327746f43 100644
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/expvar_collector.go
+++ b/tools/vendor/github.com/prometheus/client_golang/prometheus/expvar_collector.go
@@ -47,14 +47,14 @@ func (e *expvarCollector) Collect(ch chan<- Metric) {
if expVar == nil {
continue
}
- var v interface{}
+ var v any
labels := make([]string, len(desc.variableLabels.names))
if err := json.Unmarshal([]byte(expVar.String()), &v); err != nil {
ch <- NewInvalidMetric(desc, err)
continue
}
- var processValue func(v interface{}, i int)
- processValue = func(v interface{}, i int) {
+ var processValue func(v any, i int)
+ processValue = func(v any, i int) {
if i >= len(labels) {
copiedLabels := append(make([]string, 0, len(labels)), labels...)
switch v := v.(type) {
@@ -72,7 +72,7 @@ func (e *expvarCollector) Collect(ch chan<- Metric) {
ch <- m
return
}
- vm, ok := v.(map[string]interface{})
+ vm, ok := v.(map[string]any)
if !ok {
return
}
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/gauge.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/gauge.go
index dd2eac940..41e54bf27 100644
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/gauge.go
+++ b/tools/vendor/github.com/prometheus/client_golang/prometheus/gauge.go
@@ -76,11 +76,12 @@ type GaugeVecOpts struct {
// scenarios for Gauges and Counters, where the former tends to be Set-heavy and
// the latter Inc-heavy.
func NewGauge(opts GaugeOpts) Gauge {
- desc := NewDesc(
+ desc := V2.NewDesc(
BuildFQName(opts.Namespace, opts.Subsystem, opts.Name),
opts.Help,
- nil,
+ UnconstrainedLabels(nil),
opts.ConstLabels,
+ WithUnit(opts.Unit),
)
result := &gauge{desc: desc, labelPairs: desc.constLabelPairs}
result.init(result) // Init self-collection.
@@ -163,6 +164,7 @@ func (v2) NewGaugeVec(opts GaugeVecOpts) *GaugeVec {
opts.Help,
opts.VariableLabels,
opts.ConstLabels,
+ WithUnit(opts.Unit),
)
return &GaugeVec{
MetricVec: NewMetricVec(desc, func(lvs ...string) Metric {
@@ -302,10 +304,11 @@ type GaugeFunc interface {
// value of 1. Example:
// https://github.com/prometheus/common/blob/8558a5b7db3c84fa38b4766966059a7bd5bfa2ee/version/info.go#L36-L56
func NewGaugeFunc(opts GaugeOpts, function func() float64) GaugeFunc {
- return newValueFunc(NewDesc(
+ return newValueFunc(V2.NewDesc(
BuildFQName(opts.Namespace, opts.Subsystem, opts.Name),
opts.Help,
- nil,
+ UnconstrainedLabels(nil),
opts.ConstLabels,
+ WithUnit(opts.Unit),
), GaugeValue, function)
}
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/go_collector_go116.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/go_collector_go116.go
deleted file mode 100644
index 897a6e906..000000000
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/go_collector_go116.go
+++ /dev/null
@@ -1,122 +0,0 @@
-// Copyright 2021 The Prometheus Authors
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-//go:build !go1.17
-// +build !go1.17
-
-package prometheus
-
-import (
- "runtime"
- "sync"
- "time"
-)
-
-type goCollector struct {
- base baseGoCollector
-
- // ms... are memstats related.
- msLast *runtime.MemStats // Previously collected memstats.
- msLastTimestamp time.Time
- msMtx sync.Mutex // Protects msLast and msLastTimestamp.
- msMetrics memStatsMetrics
- msRead func(*runtime.MemStats) // For mocking in tests.
- msMaxWait time.Duration // Wait time for fresh memstats.
- msMaxAge time.Duration // Maximum allowed age of old memstats.
-}
-
-// NewGoCollector is the obsolete version of collectors.NewGoCollector.
-// See there for documentation.
-//
-// Deprecated: Use collectors.NewGoCollector instead.
-func NewGoCollector() Collector {
- msMetrics := goRuntimeMemStats()
- msMetrics = append(msMetrics, struct {
- desc *Desc
- eval func(*runtime.MemStats) float64
- valType ValueType
- }{
- // This metric is omitted in Go1.17+, see https://github.com/prometheus/client_golang/issues/842#issuecomment-861812034
- desc: NewDesc(
- memstatNamespace("gc_cpu_fraction"),
- "The fraction of this program's available CPU time used by the GC since the program started.",
- nil, nil,
- ),
- eval: func(ms *runtime.MemStats) float64 { return ms.GCCPUFraction },
- valType: GaugeValue,
- })
- return &goCollector{
- base: newBaseGoCollector(),
- msLast: &runtime.MemStats{},
- msRead: runtime.ReadMemStats,
- msMaxWait: time.Second,
- msMaxAge: 5 * time.Minute,
- msMetrics: msMetrics,
- }
-}
-
-// Describe returns all descriptions of the collector.
-func (c *goCollector) Describe(ch chan<- *Desc) {
- c.base.Describe(ch)
- for _, i := range c.msMetrics {
- ch <- i.desc
- }
-}
-
-// Collect returns the current state of all metrics of the collector.
-func (c *goCollector) Collect(ch chan<- Metric) {
- var (
- ms = &runtime.MemStats{}
- done = make(chan struct{})
- )
- // Start reading memstats first as it might take a while.
- go func() {
- c.msRead(ms)
- c.msMtx.Lock()
- c.msLast = ms
- c.msLastTimestamp = time.Now()
- c.msMtx.Unlock()
- close(done)
- }()
-
- // Collect base non-memory metrics.
- c.base.Collect(ch)
-
- timer := time.NewTimer(c.msMaxWait)
- select {
- case <-done: // Our own ReadMemStats succeeded in time. Use it.
- timer.Stop() // Important for high collection frequencies to not pile up timers.
- c.msCollect(ch, ms)
- return
- case <-timer.C: // Time out, use last memstats if possible. Continue below.
- }
- c.msMtx.Lock()
- if time.Since(c.msLastTimestamp) < c.msMaxAge {
- // Last memstats are recent enough. Collect from them under the lock.
- c.msCollect(ch, c.msLast)
- c.msMtx.Unlock()
- return
- }
- // If we are here, the last memstats are too old or don't exist. We have
- // to wait until our own ReadMemStats finally completes. For that to
- // happen, we have to release the lock.
- c.msMtx.Unlock()
- <-done
- c.msCollect(ch, ms)
-}
-
-func (c *goCollector) msCollect(ch chan<- Metric, ms *runtime.MemStats) {
- for _, i := range c.msMetrics {
- ch <- MustNewConstMetric(i.desc, i.valType, i.eval(ms))
- }
-}
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/go_collector_latest.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/go_collector_latest.go
index 6b8684731..1db1c4be0 100644
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/go_collector_latest.go
+++ b/tools/vendor/github.com/prometheus/client_golang/prometheus/go_collector_latest.go
@@ -98,7 +98,7 @@ type goCollector struct {
// snapshot is always produced by Collect.
mu sync.Mutex
- // Contains all samples that has to retrieved from runtime/metrics (not all of them will be exposed).
+ // Contains all samples that have to be retrieved from runtime/metrics (not all of them will be exposed).
sampleBuf []metrics.Sample
// sampleMap allows lookup for MemStats metrics and runtime/metrics histograms for exact sums.
sampleMap map[string]*metrics.Sample
@@ -210,16 +210,26 @@ func NewGoCollector(opts ...func(o *internal.GoCollectorOptions)) Collector {
sampleBuf = append(sampleBuf, metrics.Sample{Name: d.Name})
sampleMap[d.Name] = &sampleBuf[len(sampleBuf)-1]
+ // Extract unit from the runtime/metrics name (e.g., "/gc/heap/allocs:bytes" -> "bytes")
+ // and sanitize to match Prometheus naming conventions (e.g., "cpu-seconds" -> "cpu_seconds")
+ var unit string
+ if idx := strings.IndexRune(d.Name, ':'); idx >= 0 {
+ unit = d.Name[idx+1:]
+ unit = strings.ReplaceAll(unit, "-", "_")
+ unit = strings.ReplaceAll(unit, "*", "_")
+ unit = strings.ReplaceAll(unit, "/", "_per_")
+ }
+
var m collectorMetric
if d.Kind == metrics.KindFloat64Histogram {
_, hasSum := opt.RuntimeMetricSumForHist[d.Name]
- unit := d.Name[strings.IndexRune(d.Name, ':')+1:]
m = newBatchHistogram(
- NewDesc(
+ V2.NewDesc(
BuildFQName(namespace, subsystem, name),
help,
+ UnconstrainedLabels(nil),
nil,
- nil,
+ WithUnit(unit),
),
internal.RuntimeMetricsBucketsForUnit(bucketsMap[d.Name], unit),
hasSum,
@@ -230,6 +240,7 @@ func NewGoCollector(opts ...func(o *internal.GoCollectorOptions)) Collector {
Subsystem: subsystem,
Name: name,
Help: help,
+ Unit: unit,
},
)
} else {
@@ -238,6 +249,7 @@ func NewGoCollector(opts ...func(o *internal.GoCollectorOptions)) Collector {
Subsystem: subsystem,
Name: name,
Help: help,
+ Unit: unit,
})
}
metricSet = append(metricSet, m)
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/histogram.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/histogram.go
index c453b754a..88bae3b32 100644
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/histogram.go
+++ b/tools/vendor/github.com/prometheus/client_golang/prometheus/histogram.go
@@ -378,6 +378,9 @@ type HistogramOpts struct {
// string.
Help string
+ // Unit provides the unit of this Histogram.
+ Unit string
+
// ConstLabels are used to attach fixed labels to this metric. Metrics
// with the same fully-qualified name must have the same label names in
// their ConstLabels.
@@ -522,11 +525,12 @@ type HistogramVecOpts struct {
// for each bucket.
func NewHistogram(opts HistogramOpts) Histogram {
return newHistogram(
- NewDesc(
+ V2.NewDesc(
BuildFQName(opts.Namespace, opts.Subsystem, opts.Name),
opts.Help,
- nil,
+ UnconstrainedLabels(nil),
opts.ConstLabels,
+ WithUnit(opts.Unit),
),
opts,
)
@@ -966,7 +970,7 @@ func (h *histogram) maybeReset(
// We are using the possibly mocked h.now() rather than
// time.Since(h.lastResetTime) to enable testing.
if h.nativeHistogramMinResetDuration == 0 || // No reset configured.
- h.resetScheduled || // Do not interefere if a reset is already scheduled.
+ h.resetScheduled || // Do not interfere if a reset is already scheduled.
h.now().Sub(h.lastResetTime) < h.nativeHistogramMinResetDuration {
return false
}
@@ -1053,8 +1057,8 @@ func (h *histogram) maybeWidenZeroBucket(hot, cold *histogramCounts) bool {
atomic.StoreUint64(&cold.nativeHistogramZeroThresholdBits, math.Float64bits(newZeroThreshold))
// ...and then merge the newly deleted buckets into the wider zero
// bucket.
- mergeAndDeleteOrAddAndReset := func(hotBuckets, coldBuckets *sync.Map) func(k, v interface{}) bool {
- return func(k, v interface{}) bool {
+ mergeAndDeleteOrAddAndReset := func(hotBuckets, coldBuckets *sync.Map) func(k, v any) bool {
+ return func(k, v any) bool {
key := k.(int)
bucket := v.(*int64)
if key == smallestKey {
@@ -1107,8 +1111,8 @@ func (h *histogram) doubleBucketWidth(hot, cold *histogramCounts) {
// ...adjust the schema in the cold counts, too...
atomic.StoreInt32(&cold.nativeHistogramSchema, coldSchema)
// ...and then merge the cold buckets into the wider hot buckets.
- merge := func(hotBuckets *sync.Map) func(k, v interface{}) bool {
- return func(k, v interface{}) bool {
+ merge := func(hotBuckets *sync.Map) func(k, v any) bool {
+ return func(k, v any) bool {
key := k.(int)
bucket := v.(*int64)
// Adjust key to match the bucket to merge into.
@@ -1190,6 +1194,7 @@ func (v2) NewHistogramVec(opts HistogramVecOpts) *HistogramVec {
opts.Help,
opts.VariableLabels,
opts.ConstLabels,
+ WithUnit(opts.Unit),
)
return &HistogramVec{
MetricVec: NewMetricVec(desc, func(lvs ...string) Metric {
@@ -1476,7 +1481,7 @@ func pickSchema(bucketFactor float64) int32 {
func makeBuckets(buckets *sync.Map) ([]*dto.BucketSpan, []int64) {
var ii []int
- buckets.Range(func(k, v interface{}) bool {
+ buckets.Range(func(k, v any) bool {
ii = append(ii, k.(int))
return true
})
@@ -1553,8 +1558,8 @@ func addToBucket(buckets *sync.Map, key int, increment int64) bool {
// according to the buckets ranged through. It then resets all buckets ranged
// through to 0 (but leaves them in place so that they don't need to get
// recreated on the next scrape).
-func addAndReset(hotBuckets *sync.Map, bucketNumber *uint32) func(k, v interface{}) bool {
- return func(k, v interface{}) bool {
+func addAndReset(hotBuckets *sync.Map, bucketNumber *uint32) func(k, v any) bool {
+ return func(k, v any) bool {
bucket := v.(*int64)
if addToBucket(hotBuckets, k.(int), atomic.LoadInt64(bucket)) {
atomic.AddUint32(bucketNumber, 1)
@@ -1565,7 +1570,7 @@ func addAndReset(hotBuckets *sync.Map, bucketNumber *uint32) func(k, v interface
}
func deleteSyncMap(m *sync.Map) {
- m.Range(func(k, v interface{}) bool {
+ m.Range(func(k, v any) bool {
m.Delete(k)
return true
})
@@ -1573,7 +1578,7 @@ func deleteSyncMap(m *sync.Map) {
func findSmallestKey(m *sync.Map) int {
result := math.MaxInt32
- m.Range(func(k, v interface{}) bool {
+ m.Range(func(k, v any) bool {
key := k.(int)
if key < result {
result = key
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/internal/difflib.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/internal/difflib.go
index 7bac0da33..2db270f21 100644
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/internal/difflib.go
+++ b/tools/vendor/github.com/prometheus/client_golang/prometheus/internal/difflib.go
@@ -78,7 +78,7 @@ type OpCode struct {
// notion, pairing up elements that appear uniquely in each sequence.
// That, and the method here, appear to yield more intuitive difference
// reports than does diff. This method appears to be the least vulnerable
-// to synching up on blocks of "junk lines", though (like blank lines in
+// to syncing up on blocks of "junk lines", though (like blank lines in
// ordinary text files, or maybe "" lines in HTML files). That may be
// because this is the only method of the 3 that has a *concept* of
// "junk" .
@@ -567,7 +567,7 @@ type UnifiedDiff struct {
func WriteUnifiedDiff(writer io.Writer, diff UnifiedDiff) error {
buf := bufio.NewWriter(writer)
defer buf.Flush()
- wf := func(format string, args ...interface{}) error {
+ wf := func(format string, args ...any) error {
_, err := fmt.Fprintf(buf, format, args...)
return err
}
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/labels.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/labels.go
index 5fe8d3b4d..a0285489a 100644
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/labels.go
+++ b/tools/vendor/github.com/prometheus/client_golang/prometheus/labels.go
@@ -184,6 +184,5 @@ func validateLabelValues(vals []string, expectedNumberOfValues int) error {
}
func checkLabelName(l string) bool {
- //nolint:staticcheck // TODO: Don't use deprecated model.NameValidationScheme.
- return model.NameValidationScheme.IsValidLabelName(l) && !strings.HasPrefix(l, reservedLabelPrefix)
+ return model.UTF8Validation.IsValidLabelName(l) && !strings.HasPrefix(l, reservedLabelPrefix)
}
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/metric.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/metric.go
index 76e59f128..c5cb90adf 100644
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/metric.go
+++ b/tools/vendor/github.com/prometheus/client_golang/prometheus/metric.go
@@ -81,6 +81,9 @@ type Opts struct {
// string.
Help string
+ // Unit provides the unit of this metric as per https://prometheus.io/docs/specs/om
+ Unit string
+
// ConstLabels are used to attach fixed labels to this metric. Metrics
// with the same fully-qualified name must have the same label names in
// their ConstLabels.
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/process_collector_darwin.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/process_collector_darwin.go
index b32c95fa3..2b16298f4 100644
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/process_collector_darwin.go
+++ b/tools/vendor/github.com/prometheus/client_golang/prometheus/process_collector_darwin.go
@@ -72,7 +72,13 @@ func getOpenFileCount() (float64, error) {
}
func (c *processCollector) processCollect(ch chan<- Metric) {
- if procs, err := unix.SysctlKinfoProcSlice("kern.proc.pid", os.Getpid()); err == nil {
+ pid, err := c.pidFn()
+ if err != nil {
+ c.reportError(ch, nil, err)
+ return
+ }
+
+ if procs, err := unix.SysctlKinfoProcSlice("kern.proc.pid", pid); err == nil {
if len(procs) == 1 {
startTime := float64(procs[0].Proc.P_starttime.Nano() / 1e9)
ch <- MustNewConstMetric(c.startTime, GaugeValue, startTime)
@@ -84,6 +90,11 @@ func (c *processCollector) processCollect(ch chan<- Metric) {
c.reportError(ch, c.startTime, err)
}
+ if pid != os.Getpid() {
+ c.reportError(ch, nil, fmt.Errorf("collecting metrics for pid %d is not supported on darwin: process metrics collection is limited to the current process (pid %d)", pid, os.Getpid()))
+ return
+ }
+
// The proc structure returned by kern.proc.pid above has an Rusage member,
// but it is not filled in, so it needs to be fetched by getrusage(2). For
// that call, the UTime, STime, and Maxrss members are filled out, but not
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/process_collector_windows.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/process_collector_windows.go
index fa474289e..c08dd05f0 100644
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/process_collector_windows.go
+++ b/tools/vendor/github.com/prometheus/client_golang/prometheus/process_collector_windows.go
@@ -30,6 +30,10 @@ var (
procGetProcessMemoryInfo = modpsapi.NewProc("GetProcessMemoryInfo")
procGetProcessHandleCount = modkernel32.NewProc("GetProcessHandleCount")
+
+ openProcess = windows.OpenProcess
+ closeHandle = windows.CloseHandle
+ getProcessTimes = windows.GetProcessTimes
)
type processMemoryCounters struct {
@@ -79,10 +83,21 @@ func getProcessHandleCount(handle windows.Handle) (uint32, error) {
}
func (c *processCollector) processCollect(ch chan<- Metric) {
- h := windows.CurrentProcess()
+ pid, err := c.pidFn()
+ if err != nil {
+ c.reportError(ch, nil, err)
+ return
+ }
+
+ h, err := openProcess(windows.PROCESS_QUERY_INFORMATION|windows.PROCESS_VM_READ, false, uint32(pid))
+ if err != nil {
+ c.reportError(ch, nil, err)
+ return
+ }
+ defer closeHandle(h)
var startTime, exitTime, kernelTime, userTime windows.Filetime
- err := windows.GetProcessTimes(h, &startTime, &exitTime, &kernelTime, &userTime)
+ err = getProcessTimes(h, &startTime, &exitTime, &kernelTime, &userTime)
if err != nil {
c.reportError(ch, nil, err)
return
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/registry.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/registry.go
index c6fd2f58b..ed0681c8b 100644
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/registry.go
+++ b/tools/vendor/github.com/prometheus/client_golang/prometheus/registry.go
@@ -214,6 +214,19 @@ func (err AlreadyRegisteredError) Error() string {
// by a Gatherer to report multiple errors during MetricFamily gathering.
type MultiError []error
+// SafeMultiError is a thread-safe wrapper around MultiError using a mutex.
+type SafeMultiError struct {
+ mu sync.Mutex
+ errs MultiError
+}
+
+// Appends the provided error to the contained MultiError in a thread-safe way.
+func (s *SafeMultiError) Append(err error) {
+ s.mu.Lock()
+ s.errs.Append(err)
+ s.mu.Unlock()
+}
+
// Error formats the contained errors as a bullet point list, preceded by the
// total number of errors. Note that this results in a multi-line string.
func (errs MultiError) Error() string {
@@ -408,6 +421,16 @@ func (r *Registry) MustRegister(cs ...Collector) {
}
}
+// MustGather implements Gatherer.
+// Wraps around Gather and panics if Gather fails for any reason.
+func (r *Registry) MustGather() []*dto.MetricFamily {
+ mfs, err := r.Gather()
+ if err != nil {
+ panic(err)
+ }
+ return mfs
+}
+
// Gather implements Gatherer.
func (r *Registry) Gather() ([]*dto.MetricFamily, error) {
r.mtx.RLock()
@@ -423,7 +446,7 @@ func (r *Registry) Gather() ([]*dto.MetricFamily, error) {
uncheckedMetricChan = make(chan Metric, capMetricChan)
metricHashes = map[uint64]struct{}{}
wg sync.WaitGroup
- errs MultiError // The collected errors to return in the end.
+ safeErrs = &SafeMultiError{} // To collect errors in a threadsafe way
registeredDescIDs map[uint64]struct{} // Only used for pedantic checks
)
@@ -453,9 +476,9 @@ func (r *Registry) Gather() ([]*dto.MetricFamily, error) {
for {
select {
case collector := <-checkedCollectors:
- collector.Collect(checkedMetricChan)
+ safeErrs.Append((safeCollect(collector, checkedMetricChan)))
case collector := <-uncheckedCollectors:
- collector.Collect(uncheckedMetricChan)
+ safeErrs.Append(safeCollect(collector, uncheckedMetricChan))
default:
return
}
@@ -499,7 +522,7 @@ func (r *Registry) Gather() ([]*dto.MetricFamily, error) {
cmc = nil
break
}
- errs.Append(processMetric(
+ safeErrs.Append(processMetric(
metric, metricFamiliesByName,
metricHashes,
registeredDescIDs,
@@ -509,7 +532,7 @@ func (r *Registry) Gather() ([]*dto.MetricFamily, error) {
umc = nil
break
}
- errs.Append(processMetric(
+ safeErrs.Append(processMetric(
metric, metricFamiliesByName,
metricHashes,
nil,
@@ -526,7 +549,7 @@ func (r *Registry) Gather() ([]*dto.MetricFamily, error) {
cmc = nil
break
}
- errs.Append(processMetric(
+ safeErrs.Append(processMetric(
metric, metricFamiliesByName,
metricHashes,
registeredDescIDs,
@@ -536,7 +559,7 @@ func (r *Registry) Gather() ([]*dto.MetricFamily, error) {
umc = nil
break
}
- errs.Append(processMetric(
+ safeErrs.Append(processMetric(
metric, metricFamiliesByName,
metricHashes,
nil,
@@ -556,7 +579,8 @@ func (r *Registry) Gather() ([]*dto.MetricFamily, error) {
break
}
}
- return internal.NormalizeMetricFamilies(metricFamiliesByName), errs.MaybeUnwrap()
+
+ return internal.NormalizeMetricFamilies(metricFamiliesByName), safeErrs.errs.MaybeUnwrap()
}
// Describe implements Collector.
@@ -571,6 +595,24 @@ func (r *Registry) Describe(ch chan<- *Desc) {
}
}
+// Helper wrapper around Collector.Collect.
+// It tries to collect from the channel, recovers on panic and
+// if it has recovered from a panic, then it sends an InvalidMetric into
+// the channel with an InvalidDesc, and an error that includes a stack trace.
+func safeCollect(c Collector, ch chan<- Metric) (err error) {
+ defer func() {
+ if r := recover(); r != nil {
+ buf := make([]byte, 64<<10) // 64 KB
+ n := runtime.Stack(buf, false)
+ err = fmt.Errorf("prometheus collector panic recovered: type=%T: error=%v\nstack trace=%s", c, r, buf[:n])
+ ch <- NewInvalidMetric(NewInvalidDesc(err), err)
+ }
+ }()
+ c.Collect(ch)
+
+ return err
+}
+
// Collect implements Collector.
func (r *Registry) Collect(ch chan<- Metric) {
r.mtx.RLock()
@@ -599,10 +641,12 @@ func WriteToTextfile(filename string, g Gatherer) error {
mfs, err := g.Gather()
if err != nil {
+ tmp.Close()
return err
}
for _, mf := range mfs {
if _, err := expfmt.MetricFamilyToText(tmp, mf); err != nil {
+ tmp.Close()
return err
}
}
@@ -685,6 +729,9 @@ func processMetric(
metricFamily = &dto.MetricFamily{}
metricFamily.Name = proto.String(desc.fqName)
metricFamily.Help = proto.String(desc.help)
+ if desc.unit != "" {
+ metricFamily.Unit = proto.String(desc.unit)
+ }
// TODO(beorn7): Simplify switch once Desc has type.
switch {
case dtoMetric.Gauge != nil:
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/summary.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/summary.go
index ac5203c6f..c12b8d13d 100644
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/summary.go
+++ b/tools/vendor/github.com/prometheus/client_golang/prometheus/summary.go
@@ -101,6 +101,9 @@ type SummaryOpts struct {
// string.
Help string
+ // Unit provides the unit of this Summary.
+ Unit string
+
// ConstLabels are used to attach fixed labels to this metric. Metrics
// with the same fully-qualified name must have the same label names in
// their ConstLabels.
@@ -181,11 +184,12 @@ type SummaryVecOpts struct {
// NewSummary creates a new Summary based on the provided SummaryOpts.
func NewSummary(opts SummaryOpts) Summary {
return newSummary(
- NewDesc(
+ V2.NewDesc(
BuildFQName(opts.Namespace, opts.Subsystem, opts.Name),
opts.Help,
- nil,
+ UnconstrainedLabels(nil),
opts.ConstLabels,
+ WithUnit(opts.Unit),
),
opts,
)
@@ -578,6 +582,7 @@ func (v2) NewSummaryVec(opts SummaryVecOpts) *SummaryVec {
opts.Help,
opts.VariableLabels,
opts.ConstLabels,
+ WithUnit(opts.Unit),
)
return &SummaryVec{
MetricVec: NewMetricVec(desc, func(lvs ...string) Metric {
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/timer.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/timer.go
index 52344fef5..c1318ffb5 100644
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/timer.go
+++ b/tools/vendor/github.com/prometheus/client_golang/prometheus/timer.go
@@ -37,10 +37,10 @@ type Timer struct {
// or
//
// func TimeMeWithExemplar() {
-// timer := NewTimer(myHistogram)
-// defer timer.ObserveDurationWithExemplar(exemplar)
-// // Do actual work.
-// }
+// timer := NewTimer(myHistogram)
+// defer timer.ObserveDurationWithExemplar(exemplar)
+// // Do actual work.
+// }
func NewTimer(o Observer) *Timer {
return &Timer{
begin: time.Now(),
@@ -66,7 +66,7 @@ func (t *Timer) ObserveDuration() time.Duration {
// ObserveDurationWithExemplar is like ObserveDuration, but it will also
// observe exemplar with the duration unless exemplar is nil or provided Observer can't
-// be casted to ExemplarObserver.
+// be cast to ExemplarObserver.
func (t *Timer) ObserveDurationWithExemplar(exemplar Labels) time.Duration {
d := time.Since(t.begin)
eo, ok := t.observer.(ExemplarObserver)
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/vec.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/vec.go
index 487b46656..121d2a963 100644
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/vec.go
+++ b/tools/vendor/github.com/prometheus/client_golang/prometheus/vec.go
@@ -193,9 +193,11 @@ func (m *MetricVec) CurryWith(labels Labels) (*MetricVec, error) {
//
// Keeping the Metric for later use is possible (and should be considered if
// performance is critical), but keep in mind that Reset, DeleteLabelValues and
-// Delete can be used to delete the Metric from the MetricVec. In that case, the
-// Metric will still exist, but it will not be exported anymore, even if a
-// Metric with the same label values is created later.
+// Delete can be used to delete the Metric from the MetricVec. In that case, if
+// you have previously kept a reference to that Metric, the Metric object still
+// exists and can be used, but it will not be exported anymore. If a Metric with
+// the same label values is created later, updates to the old Metric reference
+// will not be exported.
//
// An error is returned if the number of label values is not the same as the
// number of variable labels in Desc (minus any curried labels).
@@ -657,7 +659,7 @@ func inlineLabelValues(lvs []string, curry []curriedLabelValue) []string {
}
var labelsPool = &sync.Pool{
- New: func() interface{} {
+ New: func() any {
return make(Labels)
},
}
diff --git a/tools/vendor/github.com/prometheus/client_golang/prometheus/wrap.go b/tools/vendor/github.com/prometheus/client_golang/prometheus/wrap.go
index 2ed128506..697f55558 100644
--- a/tools/vendor/github.com/prometheus/client_golang/prometheus/wrap.go
+++ b/tools/vendor/github.com/prometheus/client_golang/prometheus/wrap.go
@@ -230,6 +230,7 @@ func wrapDesc(desc *Desc, prefix string, labels Labels) *Desc {
return &Desc{
fqName: desc.fqName,
help: desc.help,
+ unit: desc.unit,
variableLabels: desc.variableLabels,
constLabelPairs: desc.constLabelPairs,
err: fmt.Errorf("attempted wrapping with already existing label name %q", ln),
@@ -238,8 +239,8 @@ func wrapDesc(desc *Desc, prefix string, labels Labels) *Desc {
constLabels[ln] = lv
}
// NewDesc will do remaining validations.
- newDesc := V2.NewDesc(prefix+desc.fqName, desc.help, desc.variableLabels, constLabels)
- // Propagate errors if there was any. This will override any errer
+ newDesc := V2.NewDesc(prefix+desc.fqName, desc.help, desc.variableLabels, constLabels, WithUnit(desc.unit))
+ // Propagate errors if there was any. This will override any error
// created by NewDesc above, i.e. earlier errors get precedence.
if desc.err != nil {
newDesc.err = desc.err
diff --git a/tools/vendor/github.com/securego/gosec/v2/action.yml b/tools/vendor/github.com/securego/gosec/v2/action.yml
index 42a74ea28..62848c718 100644
--- a/tools/vendor/github.com/securego/gosec/v2/action.yml
+++ b/tools/vendor/github.com/securego/gosec/v2/action.yml
@@ -10,7 +10,7 @@ inputs:
runs:
using: "docker"
- image: "docker://ghcr.io/securego/gosec@sha256:fc67681613e14384a6cd35498f6df3e566ef099777246c53a4deb0178e98e1a2" # 2.26.1
+ image: "docker://ghcr.io/securego/gosec@sha256:d0859f242774504d57b17442b2dc77d4ffd2f4d30fbdf92c7eb612b2a394f477" # 2.27.1
args:
- ${{ inputs.args }}
diff --git a/tools/vendor/github.com/securego/gosec/v2/analyzers/range_analyzer.go b/tools/vendor/github.com/securego/gosec/v2/analyzers/range_analyzer.go
index 93f77666b..962f189ba 100644
--- a/tools/vendor/github.com/securego/gosec/v2/analyzers/range_analyzer.go
+++ b/tools/vendor/github.com/securego/gosec/v2/analyzers/range_analyzer.go
@@ -1009,7 +1009,7 @@ func (ra *RangeAnalyzer) ComputeRange(v ssa.Value, block *ssa.BasicBlock) *range
res.minValue = minBounds(res.minValue, res.minValueSet, argRes.minValue, argRes.minValueSet, isSrcUnsigned)
res.minValueSet = res.minValueSet && argRes.minValueSet
res.maxValue = minBounds(res.maxValue, res.maxValueSet, argRes.maxValue, argRes.maxValueSet, isSrcUnsigned)
- res.maxValueSet = res.maxValueSet && argRes.maxValueSet
+ res.maxValueSet = res.maxValueSet || argRes.maxValueSet
}
ra.releaseResult(argRes)
}
@@ -1023,7 +1023,7 @@ func (ra *RangeAnalyzer) ComputeRange(v ssa.Value, block *ssa.BasicBlock) *range
res.CopyFrom(argRes)
} else {
res.minValue = maxBounds(res.minValue, res.minValueSet, argRes.minValue, argRes.minValueSet, isSrcUnsigned)
- res.minValueSet = res.minValueSet && argRes.minValueSet
+ res.minValueSet = res.minValueSet || argRes.minValueSet
res.maxValue = maxBounds(res.maxValue, res.maxValueSet, argRes.maxValue, argRes.maxValueSet, isSrcUnsigned)
res.maxValueSet = res.maxValueSet && argRes.maxValueSet
}
diff --git a/tools/vendor/github.com/securego/gosec/v2/rules/hardcoded_credentials.go b/tools/vendor/github.com/securego/gosec/v2/rules/hardcoded_credentials.go
index b0d5fdad5..c0639a3d2 100644
--- a/tools/vendor/github.com/securego/gosec/v2/rules/hardcoded_credentials.go
+++ b/tools/vendor/github.com/securego/gosec/v2/rules/hardcoded_credentials.go
@@ -63,6 +63,10 @@ var secretsPatterns = [...]secretPattern{
name: "AWS API Key",
regexp: regexp.MustCompile(`AKIA[0-9A-Z]{16}`),
},
+ {
+ name: "AWS Temporary Access Key",
+ regexp: regexp.MustCompile(`ASIA[0-9A-Z]{16}`),
+ },
{
name: "Amazon MWS Auth Token",
regexp: regexp.MustCompile(`amzn\.mws\.[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}`),
@@ -163,6 +167,19 @@ var secretsPatterns = [...]secretPattern{
name: "Twitter OAuth",
regexp: regexp.MustCompile(`[tT][wW][iI][tT][tT][eE][rR].*[''|"][0-9a-zA-Z]{35,44}[''|"]`),
},
+
+ {
+ name: "GitHub personal access token",
+ regexp: regexp.MustCompile(`ghp_[a-zA-Z0-9]{36}`),
+ },
+ {
+ name: "GitHub fine-grained access token",
+ regexp: regexp.MustCompile(`github_pat_[a-zA-Z0-9]{22}_[a-zA-Z0-9]{59}`),
+ },
+ {
+ name: "GitHub action temporary token",
+ regexp: regexp.MustCompile(`ghs_[a-zA-Z0-9]{36}`),
+ },
}
type credentials struct {
diff --git a/tools/vendor/github.com/securego/gosec/v2/rules/rand.go b/tools/vendor/github.com/securego/gosec/v2/rules/rand.go
index a1d3508a0..e41969f76 100644
--- a/tools/vendor/github.com/securego/gosec/v2/rules/rand.go
+++ b/tools/vendor/github.com/securego/gosec/v2/rules/rand.go
@@ -30,10 +30,10 @@ func NewWeakRandCheck(id string, _ gosec.Config) (gosec.Rule, []ast.Node) {
rule := &weakRand{newCallListRule(id,
"Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand)",
issue.High, issue.Medium)}
- rule.AddAll("math/rand", "New", "Read", "Float32", "Float64", "Int", "Int31", "Int31n",
- "Int63", "Int63n", "Intn", "NormFloat64", "Uint32", "Uint64")
- rule.AddAll("math/rand/v2", "New", "Float32", "Float64", "Int", "Int32", "Int32N",
- "Int64", "Int64N", "IntN", "N", "NormFloat64", "Uint32", "Uint32N", "Uint64", "Uint64N", "UintN")
+ rule.AddAll("math/rand", "New", "Read", "ExpFloat64", "Float32", "Float64", "Int", "Int31", "Int31n",
+ "Int63", "Int63n", "Intn", "NormFloat64", "Perm", "Shuffle", "Uint32", "Uint64")
+ rule.AddAll("math/rand/v2", "New", "ExpFloat64", "Float32", "Float64", "Int", "Int32", "Int32N",
+ "Int64", "Int64N", "IntN", "N", "NormFloat64", "Perm", "Shuffle", "Uint", "Uint32", "Uint32N", "Uint64", "Uint64N", "UintN")
return rule, []ast.Node{(*ast.CallExpr)(nil)}
}
diff --git a/tools/vendor/github.com/timakin/bodyclose/passes/bodyclose/bodyclose.go b/tools/vendor/github.com/timakin/bodyclose/passes/bodyclose/bodyclose.go
index 4a862521f..022a13353 100644
--- a/tools/vendor/github.com/timakin/bodyclose/passes/bodyclose/bodyclose.go
+++ b/tools/vendor/github.com/timakin/bodyclose/passes/bodyclose/bodyclose.go
@@ -3,6 +3,8 @@ package bodyclose
import (
"fmt"
"go/ast"
+ "go/parser"
+ "go/token"
"go/types"
"strconv"
"strings"
@@ -31,27 +33,30 @@ var checkConsumptionFlag bool
const (
Doc = "checks whether HTTP response body is closed successfully"
- nethttpPath = "net/http"
- closeMethod = "Close"
+ nethttpPath = "net/http"
+ closeMethod = "Close"
+ responseHandledDirective = "bodyclose:handled"
)
type runner struct {
- pass *analysis.Pass
- resObj types.Object
- resTyp *types.Pointer
- bodyObj types.Object
- closeMthd *types.Func
- skipFile map[*ast.File]bool
- checkConsumption bool
+ pass *analysis.Pass
+ resObj types.Object
+ resTyp *types.Pointer
+ bodyObj types.Object
+ closeMthd *types.Func
+ skipFile map[*ast.File]bool
+ responseHandledDirectives map[string]map[int]struct{}
+ checkConsumption bool
}
// run executes an analysis for the pass
func run(pass *analysis.Pass) (interface{}, error) {
r := runner{
- pass: pass,
- checkConsumption: checkConsumptionFlag,
+ pass: pass,
+ skipFile: make(map[*ast.File]bool),
+ responseHandledDirectives: make(map[string]map[int]struct{}),
+ checkConsumption: checkConsumptionFlag,
}
- funcs := pass.ResultOf[buildssa.Analyzer].(*buildssa.SSA).SrcFuncs
r.resObj = analysisutil.LookupFromImports(pass.Pkg.Imports(), nethttpPath, "Response")
if r.resObj == nil {
@@ -91,7 +96,7 @@ func run(pass *analysis.Pass) (interface{}, error) {
}
}
- r.skipFile = map[*ast.File]bool{}
+ funcs := pass.ResultOf[buildssa.Analyzer].(*buildssa.SSA).SrcFuncs
FuncLoop:
for _, f := range funcs {
// skip if the function is just referenced
@@ -118,12 +123,64 @@ FuncLoop:
return nil, nil
}
+func (r *runner) responseHandledByDirective(call *ssa.Call) bool {
+ callee := call.Call.StaticCallee()
+ if callee == nil {
+ return false
+ }
+ fn, ok := callee.Object().(*types.Func)
+ if !ok {
+ return false
+ }
+
+ pos := r.pass.Fset.PositionFor(fn.Pos(), false)
+ if !pos.IsValid() || pos.Filename == "" {
+ return false
+ }
+
+ lines, ok := r.responseHandledDirectives[pos.Filename]
+ if !ok {
+ lines = responseHandledDirectiveLines(pos.Filename)
+ r.responseHandledDirectives[pos.Filename] = lines
+ }
+ _, ok = lines[pos.Line]
+ return ok
+}
+
+func responseHandledDirectiveLines(filename string) map[int]struct{} {
+ fset := token.NewFileSet()
+ file, err := parser.ParseFile(fset, filename, nil, parser.ParseComments)
+ if err != nil {
+ return nil
+ }
+
+ lines := make(map[int]struct{})
+ for _, decl := range file.Decls {
+ fn, ok := decl.(*ast.FuncDecl)
+ if !ok || fn.Doc == nil {
+ continue
+ }
+ for _, comment := range fn.Doc.List {
+ text := strings.TrimSpace(strings.TrimPrefix(comment.Text, "//"))
+ if text == responseHandledDirective {
+ lines[fset.Position(fn.Name.Pos()).Line] = struct{}{}
+ break
+ }
+ }
+ }
+ return lines
+}
+
func (r *runner) isopen(b *ssa.BasicBlock, i int) bool {
call, ok := r.getReqCall(b.Instrs[i])
if !ok {
return false
}
+ if r.responseHandledByDirective(call) {
+ return false
+ }
+
if len(*call.Referrers()) == 0 {
return true
}
diff --git a/tools/vendor/modules.txt b/tools/vendor/modules.txt
index e693a5160..1312fa973 100644
--- a/tools/vendor/modules.txt
+++ b/tools/vendor/modules.txt
@@ -162,8 +162,8 @@ github.com/charithe/durationcheck
# github.com/charmbracelet/colorprofile v0.4.3
## explicit; go 1.25.0
github.com/charmbracelet/colorprofile
-# github.com/charmbracelet/ultraviolet v0.0.0-20251205161215-1948445e3318
-## explicit; go 1.24.2
+# github.com/charmbracelet/ultraviolet v0.0.0-20260730003005-19049f296fa9
+## explicit; go 1.25.0
github.com/charmbracelet/ultraviolet
# github.com/charmbracelet/x/ansi v0.11.7
## explicit; go 1.24.2
@@ -211,7 +211,7 @@ github.com/dave/dst/decorator/resolver
github.com/dave/dst/decorator/resolver/gopackages
github.com/dave/dst/decorator/resolver/gotypes
github.com/dave/dst/dstutil
-# github.com/davecgh/go-spew v1.1.1
+# github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
## explicit
github.com/davecgh/go-spew/spew
# github.com/denis-tingaikin/go-header v0.5.0
@@ -564,7 +564,7 @@ github.com/hexops/gotextdiff/span
# github.com/inconshreveable/mousetrap v1.1.0
## explicit; go 1.18
github.com/inconshreveable/mousetrap
-# github.com/jgautheron/goconst v1.10.2
+# github.com/jgautheron/goconst v1.11.0
## explicit; go 1.23
github.com/jgautheron/goconst
# github.com/jjti/go-spancheck v0.6.5
@@ -711,11 +711,11 @@ github.com/pelletier/go-toml/v2
github.com/pelletier/go-toml/v2/internal/parserbridge
github.com/pelletier/go-toml/v2/internal/tracker
github.com/pelletier/go-toml/v2/unstable
-# github.com/pmezard/go-difflib v1.0.0
+# github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
## explicit
github.com/pmezard/go-difflib/difflib
-# github.com/prometheus/client_golang v1.23.2
-## explicit; go 1.23.0
+# github.com/prometheus/client_golang v1.24.1
+## explicit; go 1.25.0
github.com/prometheus/client_golang/prometheus
github.com/prometheus/client_golang/prometheus/internal
github.com/prometheus/client_golang/prometheus/testutil/promlint
@@ -805,8 +805,8 @@ github.com/sashamelentyev/interfacebloat/pkg/analyzer
## explicit; go 1.23.0
github.com/sashamelentyev/usestdlibvars/pkg/analyzer
github.com/sashamelentyev/usestdlibvars/pkg/analyzer/internal/mapping
-# github.com/securego/gosec/v2 v2.27.1
-## explicit; go 1.25.0
+# github.com/securego/gosec/v2 v2.28.0
+## explicit; go 1.25.8
github.com/securego/gosec/v2
github.com/securego/gosec/v2/analyzers
github.com/securego/gosec/v2/cwe
@@ -869,7 +869,7 @@ github.com/subosito/gotenv
# github.com/tetafro/godot v1.5.6
## explicit; go 1.22
github.com/tetafro/godot
-# github.com/timakin/bodyclose v0.0.0-20260129054331-73d1f95b84b4
+# github.com/timakin/bodyclose v0.0.0-20260723120731-857993a2939c
## explicit; go 1.22
github.com/timakin/bodyclose/passes/bodyclose
# github.com/timonwong/loggercheck v0.11.0
@@ -953,7 +953,7 @@ go.uber.org/zap/zapcore
# go.yaml.in/yaml/v3 v3.0.5
## explicit; go 1.16
go.yaml.in/yaml/v3
-# golang.org/x/exp/typeparams v0.0.0-20260718201538-764159d718ef
+# golang.org/x/exp/typeparams v0.0.0-20260727155853-b88d891fe743
## explicit; go 1.25.0
golang.org/x/exp/typeparams
# golang.org/x/mod v0.38.0
@@ -1321,7 +1321,7 @@ honnef.co/go/tools/stylecheck/st1021
honnef.co/go/tools/stylecheck/st1022
honnef.co/go/tools/stylecheck/st1023
honnef.co/go/tools/unused
-# mvdan.cc/gofumpt v0.10.0
+# mvdan.cc/gofumpt v0.11.0
## explicit; go 1.25.0
mvdan.cc/gofumpt/format
mvdan.cc/gofumpt/internal/govendor/go/doc/comment
diff --git a/tools/vendor/mvdan.cc/gofumpt/format/format.go b/tools/vendor/mvdan.cc/gofumpt/format/format.go
index 8f45bd4c5..438a73b53 100644
--- a/tools/vendor/mvdan.cc/gofumpt/format/format.go
+++ b/tools/vendor/mvdan.cc/gofumpt/format/format.go
@@ -83,6 +83,10 @@ type Extra struct {
// ClotheReturns clothes naked returns in functions with named results.
ClotheReturns bool
+
+ // BalanceCalls places a multi-line call's closing parenthesis on its
+ // own line when the opening parenthesis ends a line.
+ BalanceCalls bool
}
func (e *Extra) String() string {
@@ -93,6 +97,9 @@ func (e *Extra) String() string {
if e.ClotheReturns {
active = append(active, "clothe_returns")
}
+ if e.BalanceCalls {
+ active = append(active, "balance_calls")
+ }
return strings.Join(active, ",")
}
@@ -100,6 +107,7 @@ func (e *Extra) Set(v string) error {
if v == "true" {
e.GroupParams = true
e.ClotheReturns = true
+ e.BalanceCalls = true
return nil
}
*e = Extra{}
@@ -112,6 +120,8 @@ func (e *Extra) Set(v string) error {
e.GroupParams = true
case "clothe_returns":
e.ClotheReturns = true
+ case "balance_calls":
+ e.BalanceCalls = true
default:
return fmt.Errorf("unknown rule: %q", s)
}
@@ -321,6 +331,37 @@ func (f *fumpter) removeLinesBetween(from, to token.Pos) {
f.removeLines(f.Line(from)+1, f.Line(to))
}
+// removeParens unwraps a single-spec var group like "var (\n\tx = 1\n)" into a
+// lone "var x = 1". It only acts on such groups without a doc comment.
+func (f *fumpter) removeParens(node *ast.GenDecl) {
+ if node.Tok != token.VAR || len(node.Specs) != 1 ||
+ !node.Lparen.IsValid() || node.Doc != nil {
+ return
+ }
+ specPos := node.Specs[0].Pos()
+ specEnd := node.Specs[0].End()
+
+ if len(f.commentsBetween(node.TokPos, specPos)) > 0 {
+ // If the single spec has a comment on the line above,
+ // the comment must go before the entire declaration now.
+ node.TokPos = specPos
+ } else {
+ f.removeLines(f.Line(node.TokPos), f.Line(specPos))
+ }
+ if len(f.commentsBetween(specEnd, node.Rparen)) > 0 {
+ // Leave one newline to not force a comment on the next line to
+ // become an inline comment.
+ f.removeLines(f.Line(specEnd)+1, f.Line(node.Rparen))
+ } else {
+ f.removeLines(f.Line(specEnd), f.Line(node.Rparen))
+ }
+
+ // Remove the parentheses. go/printer will automatically
+ // get rid of the newlines.
+ node.Lparen = token.NoPos
+ node.Rparen = token.NoPos
+}
+
func (f *fumpter) Position(p token.Pos) token.Position {
return f.file.PositionFor(p, false)
}
@@ -409,7 +450,9 @@ var rxShebangComment = regexp.MustCompile(`^//[^ /].*\bbin/`)
// "// foo" or "// TODO: bar" parses but is not commented-out code.
func commentGroupLooksLikeCode(group *ast.CommentGroup) bool {
src := "package p\nfunc _() {\n" + group.Text() + "}\n"
- file, err := parser.ParseFile(token.NewFileSet(), "", src, parser.SkipObjectResolution)
+ // AllErrors avoids the parser's panic/recover bailout on too many errors,
+ // which crashes under tinygo's Wasm target as it lacks recover support.
+ file, err := parser.ParseFile(token.NewFileSet(), "", src, parser.SkipObjectResolution|parser.AllErrors)
if err != nil {
return false
}
@@ -452,6 +495,14 @@ func (f *fumpter) applyPre(c *astutil.Cursor) {
switch node := c.Node().(type) {
case *ast.File:
+ // Unwrap single-spec var groups before the joining below,
+ // so an adjacent var line and var group merge in one pass.
+ for _, decl := range node.Decls {
+ if decl, ok := decl.(*ast.GenDecl); ok {
+ f.removeParens(decl)
+ }
+ }
+
// Join contiguous lone var/const/import lines.
// Abort if there are empty lines in between,
// including a leading comment if it's a directive.
@@ -489,14 +540,15 @@ func (f *fumpter) applyPre(c *astutil.Cursor) {
start.Specs = append(start.Specs, cont.Specs...)
merged = true
+ end := cont.End()
if c := f.inlineComment(cont.End()); c != nil {
// don't move an inline comment outside
- start.Rparen = c.End()
- } else {
- // so the code below treats the joined
- // decl group as multi-line
- start.Rparen = cont.End()
+ end = c.End()
}
+ // Point Rparen at the last content character, like a real
+ // ')', so start.End() stays on the content's final line and
+ // the empty-line separator below is idempotent in one pass.
+ start.Rparen = end - 1
lastPos = cont.Pos()
i++
}
@@ -628,31 +680,7 @@ func (f *fumpter) applyPre(c *astutil.Cursor) {
// Single var declarations shouldn't use parentheses, unless
// there's a comment on the grouped declaration.
- if node.Tok == token.VAR && len(node.Specs) == 1 &&
- node.Lparen.IsValid() && node.Doc == nil {
- specPos := node.Specs[0].Pos()
- specEnd := node.Specs[0].End()
-
- if len(f.commentsBetween(node.TokPos, specPos)) > 0 {
- // If the single spec has a comment on the line above,
- // the comment must go before the entire declaration now.
- node.TokPos = specPos
- } else {
- f.removeLines(f.Line(node.TokPos), f.Line(specPos))
- }
- if len(f.commentsBetween(specEnd, node.Rparen)) > 0 {
- // Leave one newline to not force a comment on the next line to
- // become an inline comment.
- f.removeLines(f.Line(specEnd)+1, f.Line(node.Rparen))
- } else {
- f.removeLines(f.Line(specEnd), f.Line(node.Rparen))
- }
-
- // Remove the parentheses. go/printer will automatically
- // get rid of the newlines.
- node.Lparen = token.NoPos
- node.Rparen = token.NoPos
- }
+ f.removeParens(node)
case *ast.InterfaceType:
if len(node.Methods.List) > 0 {
@@ -976,10 +1004,13 @@ func (f *fumpter) applyPost(c *astutil.Cursor) {
}
}
- // In a multi-line call, the opening parenthesis at the end of a line
- // should be matched by a closing parenthesis at the start of a line,
- // and vice versa. See https://github.com/mvdan/gofumpt/issues/74.
+ // In a multi-line call, if the opening parenthesis is at the end of a
+ // line, the closing parenthesis should be at the start of a line.
+ // See https://github.com/mvdan/gofumpt/issues/74.
case *ast.CallExpr:
+ if !f.Extra.BalanceCalls {
+ break
+ }
if len(node.Args) == 0 {
break
}
@@ -998,8 +1029,6 @@ func (f *fumpter) applyPost(c *astutil.Cursor) {
closeAtBOL := closeLine != lastLine
if openAtEOL && !closeAtBOL {
f.addNewline(node.Rparen)
- } else if closeAtBOL && !openAtEOL {
- f.addNewline(node.Lparen + 1)
}
}
}
@@ -1090,21 +1119,41 @@ func (f *fumpter) splitLongLine(c *astutil.Cursor) {
// canRemoveParens reports whether the parentheses around node are definitely
// useless and can be safely removed without changing intent.
func (f *fumpter) canRemoveParens(node *ast.ParenExpr) bool {
- // Keep parens around expressions where they can help readability
- // or be required by surrounding syntax. Binary and unary expressions
- // are kept for readability; composite literals can be required by an
- // `if` or `for` condition; type expressions can be required by a
- // conversion such as `(<-chan T)(v)` or `chan (<-chan T)`.
- switch node.X.(type) {
+ // Don't drop parens which contain comments,
+ // as the printer may not place them well without the parens.
+ if len(f.commentsBetween(node.Lparen, node.Rparen)) > 0 {
+ return false
+ }
+ return !keepParens(node.X, true)
+}
+
+// keepParens reports whether the parentheses directly around expr should be
+// kept: around binary, unary, and type expressions for readability and for
+// conversions like `(<-chan T)(v)`, but only when outermost; and around an
+// expression whose leftmost operand is a composite literal, whose brace would
+// otherwise open an if, for, or switch body.
+func keepParens(expr ast.Expr, outermost bool) bool {
+ switch expr := expr.(type) {
+ case *ast.CompositeLit:
+ return true
+ case *ast.CallExpr:
+ return keepParens(expr.Fun, false)
+ case *ast.SelectorExpr:
+ return keepParens(expr.X, false)
+ case *ast.IndexExpr:
+ return keepParens(expr.X, false)
+ case *ast.IndexListExpr:
+ return keepParens(expr.X, false)
+ case *ast.SliceExpr:
+ return keepParens(expr.X, false)
+ case *ast.TypeAssertExpr:
+ return keepParens(expr.X, false)
case *ast.BinaryExpr, *ast.UnaryExpr, *ast.StarExpr,
- *ast.CompositeLit,
*ast.ChanType, *ast.ArrayType, *ast.MapType,
*ast.FuncType, *ast.InterfaceType, *ast.StructType:
- return false
+ return outermost
}
- // Don't drop parens which contain comments,
- // as the printer may not place them well without the parens.
- return len(f.commentsBetween(node.Lparen, node.Rparen)) == 0
+ return false
}
func isComposite(node ast.Node) *ast.CompositeLit {
@@ -1313,7 +1362,7 @@ func (f *fumpter) shouldMergeAdjacentFields(f1, f2 *ast.Field) bool {
return bytes.Equal(b1.Bytes(), b2.Bytes())
}
-var posType = reflect.TypeOf(token.NoPos)
+var posType = reflect.TypeFor[token.Pos]()
// setPos recursively sets all position fields in the node v to pos.
func setPos(v reflect.Value, pos token.Pos) {
diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/confidential/confidential.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/confidential/confidential.go
index 1b3e599b1..fe4599e3d 100644
--- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/confidential/confidential.go
+++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/confidential/confidential.go
@@ -57,6 +57,10 @@ As such I've put a PEM decoder into here.
// TODO(msal): This should have example code for each method on client using Go's example doc framework.
// base usage details should be include in the package documentation.
+// clientClaimsCacheKey is the CacheKeyComponents key used to partition the token cache by
+// client-originated claims (see WithClaimsFromClient). The component value is the raw claims string.
+const clientClaimsCacheKey = "client_claims"
+
// AuthResult contains the results of one token acquisition operation.
// For details see https://aka.ms/msal-net-authenticationresult
type AuthResult = base.AuthResult
@@ -465,6 +469,7 @@ func WithClaims(claims string) interface {
AcquireByUsernamePasswordOption
AcquireSilentOption
AuthCodeURLOption
+ AcquireByUserFICOption
options.CallOption
} {
return struct {
@@ -474,6 +479,7 @@ func WithClaims(claims string) interface {
AcquireByUsernamePasswordOption
AcquireSilentOption
AuthCodeURLOption
+ AcquireByUserFICOption
options.CallOption
}{
CallOption: options.NewCallOption(
@@ -491,6 +497,84 @@ func WithClaims(claims string) interface {
t.claims = claims
case *authCodeURLOptions:
t.claims = claims
+ case *acquireTokenByUserFICOptions:
+ t.claims = claims
+ default:
+ return fmt.Errorf("unexpected options type %T", a)
+ }
+ return nil
+ },
+ ),
+ }
+}
+
+// WithClaimsFromClient specifies client-originated claims (a JSON object) to include in the token
+// request.
+//
+// Unlike [WithClaims] (for server-issued claims challenges, which bypass the token cache), tokens
+// acquired with client claims ARE cached and the cache entry is keyed on the claims value. Different
+// claims values produce separate cache entries, so callers should pass stable, non-dynamic values to
+// avoid unbounded cache growth. The exact same string MUST be included on every request: the raw
+// string is used verbatim as part of the cache key (MSAL does not normalize it), so omitting it or
+// changing it on a later call silently moves to a different cache partition.
+//
+// The claims are sent to the authority as the standard OAuth "claims" body parameter (merged with any
+// server-issued claims and client capabilities); they are not embedded in the client assertion JWT.
+//
+// The argument must be a JSON object, but the confidential client does not enforce this locally in all
+// cases: the value is forwarded to the authority verbatim and is validated locally only when it is
+// merged with server-issued claims or client capabilities. Otherwise a malformed or non-object value
+// is not rejected locally and instead surfaces as a server-side error. An empty or whitespace-only
+// value is ignored.
+func WithClaimsFromClient(claims string) interface {
+ AcquireByAuthCodeOption
+ AcquireByCredentialOption
+ AcquireOnBehalfOfOption
+ AcquireByUsernamePasswordOption
+ AcquireSilentOption
+ AcquireByUserFICOption
+ options.CallOption
+} {
+ return struct {
+ AcquireByAuthCodeOption
+ AcquireByCredentialOption
+ AcquireOnBehalfOfOption
+ AcquireByUsernamePasswordOption
+ AcquireSilentOption
+ AcquireByUserFICOption
+ options.CallOption
+ }{
+ CallOption: options.NewCallOption(
+ func(a any) error {
+ if strings.TrimSpace(claims) == "" {
+ // Ignore empty/whitespace claims so callers can pass a value unconditionally.
+ return nil
+ }
+ addCacheKey := func(m *map[string]string) {
+ if *m == nil {
+ *m = make(map[string]string)
+ }
+ (*m)[clientClaimsCacheKey] = claims
+ }
+ switch t := a.(type) {
+ case *acquireTokenByAuthCodeOptions:
+ t.clientClaims = claims
+ addCacheKey(&t.cacheKeyComponents)
+ case *acquireTokenByCredentialOptions:
+ t.clientClaims = claims
+ addCacheKey(&t.cacheKeyComponents)
+ case *acquireTokenOnBehalfOfOptions:
+ t.clientClaims = claims
+ addCacheKey(&t.cacheKeyComponents)
+ case *acquireTokenByUsernamePasswordOptions:
+ t.clientClaims = claims
+ addCacheKey(&t.cacheKeyComponents)
+ case *acquireTokenSilentOptions:
+ t.clientClaims = claims
+ addCacheKey(&t.cacheKeyComponents)
+ case *acquireTokenByUserFICOptions:
+ t.clientClaims = claims
+ addCacheKey(&t.cacheKeyComponents)
default:
return fmt.Errorf("unexpected options type %T", a)
}
@@ -500,7 +584,6 @@ func WithClaims(claims string) interface {
}
}
-// WithAuthenticationScheme is an extensibility mechanism designed to be used only by Azure Arc for proof of possession access tokens.
func WithAuthenticationScheme(authnScheme AuthenticationScheme) interface {
AcquireSilentOption
AcquireByCredentialOption
@@ -536,6 +619,7 @@ func WithTenantID(tenantID string) interface {
AcquireByUsernamePasswordOption
AcquireSilentOption
AuthCodeURLOption
+ AcquireByUserFICOption
options.CallOption
} {
return struct {
@@ -545,6 +629,7 @@ func WithTenantID(tenantID string) interface {
AcquireByUsernamePasswordOption
AcquireSilentOption
AuthCodeURLOption
+ AcquireByUserFICOption
options.CallOption
}{
CallOption: options.NewCallOption(
@@ -562,6 +647,8 @@ func WithTenantID(tenantID string) interface {
t.tenantID = tenantID
case *authCodeURLOptions:
t.tenantID = tenantID
+ case *acquireTokenByUserFICOptions:
+ t.tenantID = tenantID
default:
return fmt.Errorf("unexpected options type %T", a)
}
@@ -574,9 +661,11 @@ func WithTenantID(tenantID string) interface {
// acquireTokenSilentOptions are all the optional settings to an AcquireTokenSilent() call.
// These are set by using various AcquireTokenSilentOption functions.
type acquireTokenSilentOptions struct {
- account Account
- claims, tenantID string
- authnScheme AuthenticationScheme
+ account Account
+ claims, tenantID string
+ clientClaims string
+ authnScheme AuthenticationScheme
+ cacheKeyComponents map[string]string
}
// AcquireSilentOption is implemented by options for AcquireTokenSilent
@@ -609,7 +698,7 @@ func WithSilentAccount(account Account) interface {
// AcquireTokenSilent acquires a token from either the cache or using a refresh token.
//
-// Options: [WithClaims], [WithSilentAccount], [WithTenantID]
+// Options: [WithClaims], [WithClaimsFromClient], [WithSilentAccount], [WithTenantID]
func (cca Client) AcquireTokenSilent(ctx context.Context, scopes []string, opts ...AcquireSilentOption) (AuthResult, error) {
o := acquireTokenSilentOptions{}
if err := options.ApplyOptions(&o, opts); err != nil {
@@ -626,14 +715,16 @@ func (cca Client) AcquireTokenSilent(ctx context.Context, scopes []string, opts
}
silentParameters := base.AcquireTokenSilentParameters{
- Scopes: scopes,
- Account: o.account,
- RequestType: accesstokens.ATConfidential,
- Credential: cca.cred,
- IsAppCache: o.account.IsZero(),
- TenantID: o.tenantID,
- AuthnScheme: o.authnScheme,
- Claims: o.claims,
+ Scopes: scopes,
+ Account: o.account,
+ RequestType: accesstokens.ATConfidential,
+ Credential: cca.cred,
+ IsAppCache: o.account.IsZero(),
+ TenantID: o.tenantID,
+ AuthnScheme: o.authnScheme,
+ Claims: o.claims,
+ ClientClaims: o.clientClaims,
+ CacheKeyComponents: o.cacheKeyComponents,
}
return cca.acquireTokenSilentInternal(ctx, silentParameters)
@@ -647,8 +738,10 @@ func (cca Client) acquireTokenSilentInternal(ctx context.Context, silentParamete
// acquireTokenByUsernamePasswordOptions contains optional configuration for AcquireTokenByUsernamePassword
type acquireTokenByUsernamePasswordOptions struct {
- claims, tenantID string
- authnScheme AuthenticationScheme
+ claims, tenantID string
+ clientClaims string
+ authnScheme AuthenticationScheme
+ cacheKeyComponents map[string]string
}
// AcquireByUsernamePasswordOption is implemented by options for AcquireTokenByUsernamePassword
@@ -659,7 +752,7 @@ type AcquireByUsernamePasswordOption interface {
// AcquireTokenByUsernamePassword acquires a security token from the authority, via Username/Password Authentication.
// NOTE: this flow is NOT recommended.
//
-// Options: [WithClaims], [WithTenantID]
+// Options: [WithClaims], [WithClaimsFromClient], [WithTenantID]
func (cca Client) AcquireTokenByUsernamePassword(ctx context.Context, scopes []string, username, password string, opts ...AcquireByUsernamePasswordOption) (AuthResult, error) {
o := acquireTokenByUsernamePasswordOptions{}
if err := options.ApplyOptions(&o, opts); err != nil {
@@ -672,8 +765,12 @@ func (cca Client) AcquireTokenByUsernamePassword(ctx context.Context, scopes []s
authParams.Scopes = scopes
authParams.AuthorizationType = authority.ATUsernamePassword
authParams.Claims = o.claims
+ authParams.ClientClaims = o.clientClaims
authParams.Username = username
authParams.Password = password
+ if o.cacheKeyComponents != nil {
+ authParams.CacheKeyComponents = o.cacheKeyComponents
+ }
if o.authnScheme != nil {
authParams.AuthnScheme = o.authnScheme
}
@@ -688,6 +785,8 @@ func (cca Client) AcquireTokenByUsernamePassword(ctx context.Context, scopes []s
// acquireTokenByAuthCodeOptions contains the optional parameters used to acquire an access token using the authorization code flow.
type acquireTokenByAuthCodeOptions struct {
challenge, claims, tenantID string
+ clientClaims string
+ cacheKeyComponents map[string]string
}
// AcquireByAuthCodeOption is implemented by options for AcquireTokenByAuthCode
@@ -721,7 +820,7 @@ func WithChallenge(challenge string) interface {
// AcquireTokenByAuthCode is a request to acquire a security token from the authority, using an authorization code.
// The specified redirect URI must be the same URI that was used when the authorization code was requested.
//
-// Options: [WithChallenge], [WithClaims], [WithTenantID]
+// Options: [WithChallenge], [WithClaims], [WithClaimsFromClient], [WithTenantID]
func (cca Client) AcquireTokenByAuthCode(ctx context.Context, code string, redirectURI string, scopes []string, opts ...AcquireByAuthCodeOption) (AuthResult, error) {
o := acquireTokenByAuthCodeOptions{}
if err := options.ApplyOptions(&o, opts); err != nil {
@@ -729,14 +828,16 @@ func (cca Client) AcquireTokenByAuthCode(ctx context.Context, code string, redir
}
params := base.AcquireTokenAuthCodeParameters{
- Scopes: scopes,
- Code: code,
- Challenge: o.challenge,
- Claims: o.claims,
- AppType: accesstokens.ATConfidential,
- Credential: cca.cred, // This setting differs from public.Client.AcquireTokenByAuthCode
- RedirectURI: redirectURI,
- TenantID: o.tenantID,
+ Scopes: scopes,
+ Code: code,
+ Challenge: o.challenge,
+ Claims: o.claims,
+ ClientClaims: o.clientClaims,
+ AppType: accesstokens.ATConfidential,
+ Credential: cca.cred, // This setting differs from public.Client.AcquireTokenByAuthCode
+ RedirectURI: redirectURI,
+ TenantID: o.tenantID,
+ CacheKeyComponents: o.cacheKeyComponents,
}
return cca.base.AcquireTokenByAuthCode(ctx, params)
@@ -745,6 +846,7 @@ func (cca Client) AcquireTokenByAuthCode(ctx context.Context, code string, redir
// acquireTokenByCredentialOptions contains optional configuration for AcquireTokenByCredential
type acquireTokenByCredentialOptions struct {
claims, tenantID string
+ clientClaims string
authnScheme AuthenticationScheme
extraBodyParameters map[string]string
cacheKeyComponents map[string]string
@@ -757,7 +859,7 @@ type AcquireByCredentialOption interface {
// AcquireTokenByCredential acquires a security token from the authority, using the client credentials grant.
//
-// Options: [WithClaims], [WithTenantID], [WithFMIPath], [WithAttribute]
+// Options: [WithClaims], [WithClaimsFromClient], [WithTenantID], [WithFMIPath], [WithAttribute]
func (cca Client) AcquireTokenByCredential(ctx context.Context, scopes []string, opts ...AcquireByCredentialOption) (AuthResult, error) {
o := acquireTokenByCredentialOptions{}
err := options.ApplyOptions(&o, opts)
@@ -771,6 +873,7 @@ func (cca Client) AcquireTokenByCredential(ctx context.Context, scopes []string,
authParams.Scopes = scopes
authParams.AuthorizationType = authority.ATClientCredentials
authParams.Claims = o.claims
+ authParams.ClientClaims = o.clientClaims
if o.authnScheme != nil {
authParams.AuthnScheme = o.authnScheme
}
@@ -786,6 +889,7 @@ func (cca Client) AcquireTokenByCredential(ctx context.Context, scopes []string,
TenantID: o.tenantID,
AuthnScheme: o.authnScheme,
Claims: o.claims,
+ ClientClaims: o.clientClaims,
ExtraBodyParameters: o.extraBodyParameters,
CacheKeyComponents: o.cacheKeyComponents,
}
@@ -806,7 +910,9 @@ func (cca Client) AcquireTokenByCredential(ctx context.Context, scopes []string,
// acquireTokenOnBehalfOfOptions contains optional configuration for AcquireTokenOnBehalfOf
type acquireTokenOnBehalfOfOptions struct {
- claims, tenantID string
+ claims, tenantID string
+ clientClaims string
+ cacheKeyComponents map[string]string
}
// AcquireOnBehalfOfOption is implemented by options for AcquireTokenOnBehalfOf
@@ -817,18 +923,20 @@ type AcquireOnBehalfOfOption interface {
// AcquireTokenOnBehalfOf acquires a security token for an app using middle tier apps access token.
// Refer https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-on-behalf-of-flow.
//
-// Options: [WithClaims], [WithTenantID]
+// Options: [WithClaims], [WithClaimsFromClient], [WithTenantID]
func (cca Client) AcquireTokenOnBehalfOf(ctx context.Context, userAssertion string, scopes []string, opts ...AcquireOnBehalfOfOption) (AuthResult, error) {
o := acquireTokenOnBehalfOfOptions{}
if err := options.ApplyOptions(&o, opts); err != nil {
return AuthResult{}, err
}
params := base.AcquireTokenOnBehalfOfParameters{
- Scopes: scopes,
- UserAssertion: userAssertion,
- Claims: o.claims,
- Credential: cca.cred,
- TenantID: o.tenantID,
+ Scopes: scopes,
+ UserAssertion: userAssertion,
+ Claims: o.claims,
+ ClientClaims: o.clientClaims,
+ Credential: cca.cred,
+ TenantID: o.tenantID,
+ CacheKeyComponents: o.cacheKeyComponents,
}
return cca.base.AcquireTokenOnBehalfOf(ctx, params)
}
@@ -902,3 +1010,111 @@ func WithAttribute(attrValue string) interface {
),
}
}
+
+// AcquireByUserFICOption is implemented by options for AcquireTokenByUserFederatedIdentityCredential.
+type AcquireByUserFICOption interface {
+ acquireByUserFICOption()
+}
+
+// acquireTokenByUserFICOptions contains optional configuration for AcquireTokenByUserFederatedIdentityCredential.
+type acquireTokenByUserFICOptions struct {
+ claims, tenantID string
+ clientClaims string
+ username string
+ userObjectID string
+ cacheKeyComponents map[string]string
+}
+
+// acquireByUserFICOption is a marker method that restricts option types to the user_fic API.
+func (acquireTokenByUserFICOptions) acquireByUserFICOption() {}
+
+// WithUserObjectID specifies the target user by their object ID (OID) for the user_fic flow.
+// This is mutually exclusive with WithUserFICUsername.
+func WithUserObjectID(oid string) interface {
+ AcquireByUserFICOption
+ options.CallOption
+} {
+ return struct {
+ AcquireByUserFICOption
+ options.CallOption
+ }{
+ CallOption: options.NewCallOption(
+ func(a any) error {
+ switch t := a.(type) {
+ case *acquireTokenByUserFICOptions:
+ t.userObjectID = oid
+ default:
+ return fmt.Errorf("unexpected options type %T", a)
+ }
+ return nil
+ },
+ ),
+ }
+}
+
+// WithUserFICUsername specifies the target user by their UPN (username) for the user_fic flow.
+// This is mutually exclusive with WithUserObjectID.
+func WithUserFICUsername(username string) interface {
+ AcquireByUserFICOption
+ options.CallOption
+} {
+ return struct {
+ AcquireByUserFICOption
+ options.CallOption
+ }{
+ CallOption: options.NewCallOption(
+ func(a any) error {
+ switch t := a.(type) {
+ case *acquireTokenByUserFICOptions:
+ t.username = username
+ default:
+ return fmt.Errorf("unexpected options type %T", a)
+ }
+ return nil
+ },
+ ),
+ }
+}
+
+// AcquireTokenByUserFederatedIdentityCredential acquires a user-scoped token using the user_fic grant type.
+// This exchanges a federated identity credential (assertion) for a user token, enabling an agent
+// to act on behalf of a user. The result includes an Account that can be used with
+// [Client.AcquireTokenSilent] for subsequent cached access.
+//
+// Parameters:
+// - ctx: Context for the request.
+// - scopes: Scopes requested for the token.
+// - assertion: The federated identity credential (instance token) to exchange.
+// - opts: Options including user identification (exactly one of WithUserObjectID or WithUserFICUsername
+// is required), [WithClaims], [WithClaimsFromClient], [WithTenantID].
+//
+// Options: [WithUserObjectID], [WithUserFICUsername], [WithClaims], [WithClaimsFromClient], [WithTenantID]
+func (cca Client) AcquireTokenByUserFederatedIdentityCredential(ctx context.Context, scopes []string, assertion string, opts ...AcquireByUserFICOption) (AuthResult, error) {
+ o := acquireTokenByUserFICOptions{}
+ if err := options.ApplyOptions(&o, opts); err != nil {
+ return AuthResult{}, err
+ }
+
+ if assertion == "" {
+ return AuthResult{}, errors.New("assertion must not be empty")
+ }
+ if o.username == "" && o.userObjectID == "" {
+ return AuthResult{}, errors.New("exactly one of WithUserObjectID or WithUserFICUsername must be specified")
+ }
+ if o.username != "" && o.userObjectID != "" {
+ return AuthResult{}, errors.New("WithUserObjectID and WithUserFICUsername are mutually exclusive")
+ }
+
+ params := base.AcquireTokenByUserFICParameters{
+ Scopes: scopes,
+ Claims: o.claims,
+ ClientClaims: o.clientClaims,
+ Credential: cca.cred,
+ TenantID: o.tenantID,
+ UserFederatedIdentityCredential: assertion,
+ Username: o.username,
+ UserObjectID: o.userObjectID,
+ CacheKeyComponents: o.cacheKeyComponents,
+ }
+ return cca.base.AcquireTokenByUserFIC(ctx, params)
+}
diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/base.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/base.go
index 9bd96090e..ed622e5ec 100644
--- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/base.go
+++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/base.go
@@ -55,6 +55,7 @@ type AcquireTokenSilentParameters struct {
UserAssertion string
AuthorizationType authority.AuthorizeType
Claims string
+ ClientClaims string
AuthnScheme authority.AuthenticationScheme
ExtraBodyParameters map[string]string
CacheKeyComponents map[string]string
@@ -65,22 +66,39 @@ type AcquireTokenSilentParameters struct {
// Code challenges are used to secure authorization code grants; for more information, visit
// https://tools.ietf.org/html/rfc7636.
type AcquireTokenAuthCodeParameters struct {
- Scopes []string
- Code string
- Challenge string
- Claims string
- RedirectURI string
- AppType accesstokens.AppType
- Credential *accesstokens.Credential
- TenantID string
+ Scopes []string
+ Code string
+ Challenge string
+ Claims string
+ ClientClaims string
+ RedirectURI string
+ AppType accesstokens.AppType
+ Credential *accesstokens.Credential
+ TenantID string
+ CacheKeyComponents map[string]string
}
type AcquireTokenOnBehalfOfParameters struct {
- Scopes []string
- Claims string
- Credential *accesstokens.Credential
- TenantID string
- UserAssertion string
+ Scopes []string
+ Claims string
+ ClientClaims string
+ Credential *accesstokens.Credential
+ TenantID string
+ UserAssertion string
+ CacheKeyComponents map[string]string
+}
+
+// AcquireTokenByUserFICParameters contains the parameters to acquire a user token via the user_fic flow.
+type AcquireTokenByUserFICParameters struct {
+ Scopes []string
+ Claims string
+ ClientClaims string
+ Credential *accesstokens.Credential
+ TenantID string
+ UserFederatedIdentityCredential string
+ Username string
+ UserObjectID string
+ CacheKeyComponents map[string]string
}
// AuthResult contains the results of one token acquisition operation in PublicClientApplication
@@ -322,7 +340,9 @@ func (b Client) AcquireTokenSilent(ctx context.Context, silent AcquireTokenSilen
authParams.HomeAccountID = silent.Account.HomeAccountID
authParams.AuthorizationType = silent.AuthorizationType
authParams.Claims = silent.Claims
+ authParams.ClientClaims = silent.ClientClaims
authParams.UserAssertion = silent.UserAssertion
+ authParams.IsAppTokenCache = silent.IsAppCache
if silent.AuthnScheme != nil {
authParams.AuthnScheme = silent.AuthnScheme
}
@@ -414,6 +434,10 @@ func (b Client) AcquireTokenByAuthCode(ctx context.Context, authCodeParams Acqui
return AuthResult{}, err
}
authParams.Claims = authCodeParams.Claims
+ authParams.ClientClaims = authCodeParams.ClientClaims
+ if authCodeParams.CacheKeyComponents != nil {
+ authParams.CacheKeyComponents = authCodeParams.CacheKeyComponents
+ }
authParams.Scopes = authCodeParams.Scopes
authParams.Redirecturi = authCodeParams.RedirectURI
authParams.AuthorizationType = authority.ATAuthCode
@@ -441,13 +465,15 @@ func (b Client) AcquireTokenByAuthCode(ctx context.Context, authCodeParams Acqui
func (b Client) AcquireTokenOnBehalfOf(ctx context.Context, onBehalfOfParams AcquireTokenOnBehalfOfParameters) (AuthResult, error) {
var ar AuthResult
silentParameters := AcquireTokenSilentParameters{
- Scopes: onBehalfOfParams.Scopes,
- RequestType: accesstokens.ATConfidential,
- Credential: onBehalfOfParams.Credential,
- UserAssertion: onBehalfOfParams.UserAssertion,
- AuthorizationType: authority.ATOnBehalfOf,
- TenantID: onBehalfOfParams.TenantID,
- Claims: onBehalfOfParams.Claims,
+ Scopes: onBehalfOfParams.Scopes,
+ RequestType: accesstokens.ATConfidential,
+ Credential: onBehalfOfParams.Credential,
+ UserAssertion: onBehalfOfParams.UserAssertion,
+ AuthorizationType: authority.ATOnBehalfOf,
+ TenantID: onBehalfOfParams.TenantID,
+ Claims: onBehalfOfParams.Claims,
+ ClientClaims: onBehalfOfParams.ClientClaims,
+ CacheKeyComponents: onBehalfOfParams.CacheKeyComponents,
}
ar, err := b.AcquireTokenSilent(ctx, silentParameters)
if err == nil {
@@ -459,8 +485,12 @@ func (b Client) AcquireTokenOnBehalfOf(ctx context.Context, onBehalfOfParams Acq
}
authParams.AuthorizationType = authority.ATOnBehalfOf
authParams.Claims = onBehalfOfParams.Claims
+ authParams.ClientClaims = onBehalfOfParams.ClientClaims
authParams.Scopes = onBehalfOfParams.Scopes
authParams.UserAssertion = onBehalfOfParams.UserAssertion
+ if onBehalfOfParams.CacheKeyComponents != nil {
+ authParams.CacheKeyComponents = onBehalfOfParams.CacheKeyComponents
+ }
if authParams.ExtraBodyParameters != nil {
authParams.ExtraBodyParameters = silentParameters.ExtraBodyParameters
}
@@ -471,6 +501,30 @@ func (b Client) AcquireTokenOnBehalfOf(ctx context.Context, onBehalfOfParams Acq
return ar, err
}
+// AcquireTokenByUserFIC acquires a user-scoped token using the user_fic grant type.
+func (b Client) AcquireTokenByUserFIC(ctx context.Context, params AcquireTokenByUserFICParameters) (AuthResult, error) {
+ authParams, err := b.AuthParams.WithTenant(params.TenantID)
+ if err != nil {
+ return AuthResult{}, err
+ }
+ authParams.AuthorizationType = authority.ATUserFIC
+ authParams.Claims = params.Claims
+ authParams.ClientClaims = params.ClientClaims
+ if params.CacheKeyComponents != nil {
+ authParams.CacheKeyComponents = params.CacheKeyComponents
+ }
+ authParams.Scopes = params.Scopes
+ authParams.UserFederatedIdentityCredential = params.UserFederatedIdentityCredential
+ authParams.Username = params.Username
+ authParams.UserObjectID = params.UserObjectID
+
+ token, err := b.Token.UserFederatedIdentityCredential(ctx, authParams, params.Credential)
+ if err != nil {
+ return AuthResult{}, err
+ }
+ return b.AuthResultFromToken(ctx, authParams, token)
+}
+
func (b Client) AuthResultFromToken(ctx context.Context, authParams authority.AuthParams, token accesstokens.TokenResponse) (AuthResult, error) {
var m manager = b.manager
if authParams.AuthorizationType == authority.ATOnBehalfOf {
@@ -525,7 +579,7 @@ func (b Client) Account(ctx context.Context, homeAccountID string) (shared.Accou
authParams := b.AuthParams // This is a copy, as we don't have a pointer receiver and .AuthParams is not a pointer.
authParams.AuthorizationType = authority.AccountByID
authParams.HomeAccountID = homeAccountID
- key := b.AuthParams.CacheKey(false)
+ key := authParams.CacheKey(false)
err := b.cacheAccessor.Replace(ctx, b.manager, cache.ReplaceHints{PartitionKey: key})
if err != nil {
return shared.Account{}, err
diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/storage/partitioned_storage.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/storage/partitioned_storage.go
index 5d018e117..0042a1e96 100644
--- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/storage/partitioned_storage.go
+++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/base/storage/partitioned_storage.go
@@ -59,7 +59,7 @@ func (m *PartitionedManager) Read(ctx context.Context, authParameters authority.
// errors returned by read* methods indicate a cache miss and are therefore non-fatal. We continue populating
// TokenResponse fields so that e.g. lack of an ID token doesn't prevent the caller from receiving a refresh token.
- accessToken, err := m.readAccessToken(aliases, realm, clientID, userAssertionHash, scopes, partitionKeyFromRequest, tokenType, authnSchemeKeyID)
+ accessToken, err := m.readAccessToken(aliases, realm, clientID, userAssertionHash, scopes, partitionKeyFromRequest, tokenType, authnSchemeKeyID, authParameters.CacheExtKeyGenerator())
if err == nil {
tr.AccessToken = accessToken
}
@@ -125,6 +125,7 @@ func (m *PartitionedManager) Write(authParameters authority.AuthParams, tokenRes
if authParameters.AuthorizationType == authority.ATOnBehalfOf {
accessToken.UserAssertionHash = userAssertionHash // get Hash method on this
}
+ accessToken.ExtCacheKey = authParameters.CacheExtKeyGenerator()
// Since we have a valid access token, cache it before moving on.
if err := accessToken.Validate(); err == nil {
@@ -250,7 +251,7 @@ func (m *PartitionedManager) fallbackMetadata(host string) authority.InstanceDis
return fallback
}
-func (m *PartitionedManager) readAccessToken(envAliases []string, realm, clientID, userAssertionHash string, scopes []string, partitionKey, tokenType, authnSchemeKeyID string) (AccessToken, error) {
+func (m *PartitionedManager) readAccessToken(envAliases []string, realm, clientID, userAssertionHash string, scopes []string, partitionKey, tokenType, authnSchemeKeyID, extCacheKey string) (AccessToken, error) {
m.contractMu.RLock()
defer m.contractMu.RUnlock()
if accessTokens, ok := m.contract.AccessTokensPartition[partitionKey]; ok {
@@ -262,6 +263,13 @@ func (m *PartitionedManager) readAccessToken(envAliases []string, realm, clientI
if at.TokenType == tokenType && at.AuthnSchemeKeyID == authnSchemeKeyID {
if checkAlias(at.Environment, envAliases) {
if isMatchingScopes(scopes, at.Scopes) {
+ // Tokens acquired with extra cache-key components (e.g. client claims
+ // via WithClaimsFromClient) are partitioned by ExtCacheKey. Only return a
+ // token whose ExtCacheKey matches the request's; this also ensures a
+ // request without extra components never returns a hashed token.
+ if at.ExtCacheKey != extCacheKey {
+ continue
+ }
return at, nil
}
}
diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/exported/exported.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/exported/exported.go
index de1bf381f..a1c6ed4da 100644
--- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/exported/exported.go
+++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/exported/exported.go
@@ -11,6 +11,10 @@ type AssertionRequestOptions struct {
// TokenEndpoint is the intended token endpoint. Used as the assertion's "aud" claim.
TokenEndpoint string
+
+ // FMIPath is the federated managed identity path for the current request, if any.
+ // Assertion providers can use this to scope the credential they return.
+ FMIPath string
}
// TokenProviderParameters is the authentication parameters passed to token providers
diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/json/json.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/json/json.go
index 2134e57c9..b0311ca6d 100644
--- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/json/json.go
+++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/json/json.go
@@ -58,7 +58,26 @@ func Marshal(i interface{}) ([]byte, error) {
// Unmarshal unmarshals a []byte representing JSON into i, which must be a *struct. In addition, if the struct has
// a field called AdditionalFields of type map[string]interface{}, JSON data representing fields not in the struct
// will be written as key/value pairs to AdditionalFields.
-func Unmarshal(b []byte, i interface{}) error {
+//
+// Any panic that escapes the underlying reflect-based decoder (for example
+// "reflect: New of type that may not be allocated in heap") is recovered and
+// returned as an error so that callers are not crashed by malformed or
+// otherwise unexpected input.
+//
+// IMPORTANT: when Unmarshal returns a non-nil error, the destination i may
+// have been partially populated (the decoder writes fields sequentially and a
+// panic mid-decode does not roll back earlier writes). Callers that need
+// all-or-nothing semantics — particularly those handling untrusted input —
+// must decode into a temporary value and only copy/assign it on success.
+// MSAL's own token-cache callers already follow this pattern (see
+// apps/internal/base/storage.Manager.Unmarshal).
+func Unmarshal(b []byte, i interface{}) (err error) {
+ defer func() {
+ if r := recover(); r != nil {
+ err = fmt.Errorf("json: panic during Unmarshal: %v", r)
+ }
+ }()
+
if len(b) == 0 {
return nil
}
diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/oauth.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/oauth.go
index 738a29eb9..9b7d3a5f4 100644
--- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/oauth.go
+++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/oauth.go
@@ -39,6 +39,7 @@ type AccessTokens interface {
FromUserAssertionClientCertificate(ctx context.Context, authParameters authority.AuthParams, userAssertion string, assertion string) (accesstokens.TokenResponse, error)
FromDeviceCodeResult(ctx context.Context, authParameters authority.AuthParams, deviceCodeResult accesstokens.DeviceCodeResult) (accesstokens.TokenResponse, error)
FromSamlGrant(ctx context.Context, authParameters authority.AuthParams, samlGrant wstrust.SamlTokenInfo) (accesstokens.TokenResponse, error)
+ FromUserFederatedIdentityCredential(ctx context.Context, authParameters authority.AuthParams, cred *accesstokens.Credential) (accesstokens.TokenResponse, error)
}
// FetchAuthority will be implemented by authority.Authority.
@@ -170,6 +171,17 @@ func (t *Client) OnBehalfOf(ctx context.Context, authParams authority.AuthParams
return tr, nil
}
+// UserFederatedIdentityCredential acquires a user-scoped token using the user_fic grant type.
+func (t *Client) UserFederatedIdentityCredential(ctx context.Context, authParams authority.AuthParams, cred *accesstokens.Credential) (accesstokens.TokenResponse, error) {
+ if err := scopeError(authParams); err != nil {
+ return accesstokens.TokenResponse{}, err
+ }
+ if err := t.resolveEndpoint(ctx, &authParams, ""); err != nil {
+ return accesstokens.TokenResponse{}, err
+ }
+ return t.AccessTokens.FromUserFederatedIdentityCredential(ctx, authParams, cred)
+}
+
func (t *Client) Refresh(ctx context.Context, reqType accesstokens.AppType, authParams authority.AuthParams, cc *accesstokens.Credential, refreshToken accesstokens.RefreshToken) (accesstokens.TokenResponse, error) {
if err := scopeError(authParams); err != nil {
return accesstokens.TokenResponse{}, err
diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/accesstokens/accesstokens.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/accesstokens/accesstokens.go
index 481f9e434..dc07c558d 100644
--- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/accesstokens/accesstokens.go
+++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/accesstokens/accesstokens.go
@@ -110,6 +110,7 @@ func (c *Credential) JWT(ctx context.Context, authParams authority.AuthParams) (
options := exported.AssertionRequestOptions{
ClientID: authParams.ClientID,
TokenEndpoint: authParams.Endpoints.TokenEndpoint,
+ FMIPath: authParams.ExtraBodyParameters["fmi_path"],
}
return c.AssertionCallback(ctx, options)
}
@@ -340,6 +341,44 @@ func (c Client) FromUserAssertionClientCertificate(ctx context.Context, authPara
return c.doTokenResp(ctx, authParameters, qv)
}
+// FromUserFederatedIdentityCredential acquires a user-scoped token using the user_fic grant type.
+// This exchanges a federated identity credential for a user token.
+func (c Client) FromUserFederatedIdentityCredential(ctx context.Context, authParameters authority.AuthParams, cred *Credential) (TokenResponse, error) {
+ if cred.Secret == "" && cred.Cert == nil && cred.AssertionCallback == nil {
+ return TokenResponse{}, fmt.Errorf("user_fic requires a client secret or assertion credential; token provider credentials are not supported")
+ }
+ qv := url.Values{}
+ if err := addClaims(qv, authParameters); err != nil {
+ return TokenResponse{}, err
+ }
+ qv.Set(grantType, grant.UserFIC)
+ qv.Set(clientID, authParameters.ClientID)
+ qv.Set("user_federated_identity_credential", authParameters.UserFederatedIdentityCredential)
+ qv.Set(clientInfo, clientInfoVal)
+
+ // Set user identifier: either user_id (OID) or username (UPN)
+ if authParameters.UserObjectID != "" {
+ qv.Set("user_id", authParameters.UserObjectID)
+ } else if authParameters.Username != "" {
+ qv.Set("username", authParameters.Username)
+ }
+
+ addScopeQueryParam(qv, authParameters)
+ addExtraBodyParameters(ctx, qv, authParameters)
+
+ credParams, err := prepURLVals(ctx, cred, authParameters)
+ if err != nil {
+ return TokenResponse{}, err
+ }
+ for k, vs := range credParams {
+ for _, v := range vs {
+ qv.Set(k, v)
+ }
+ }
+
+ return c.doTokenResp(ctx, authParameters, qv)
+}
+
func (c Client) DeviceCodeResult(ctx context.Context, authParameters authority.AuthParams) (DeviceCodeResult, error) {
qv := url.Values{}
if err := addClaims(qv, authParameters); err != nil {
diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/accesstokens/tokens.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/accesstokens/tokens.go
index 32dde7b76..eeb149697 100644
--- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/accesstokens/tokens.go
+++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/accesstokens/tokens.go
@@ -292,7 +292,11 @@ func (tr *TokenResponse) CacheKey(authParams authority.AuthParams) string {
if authParams.AuthorizationType == authority.ATOnBehalfOf {
return authParams.AssertionHash()
}
- if authParams.AuthorizationType == authority.ATClientCredentials {
+ // An app-only (client credentials) request keys on the app-token-cache partition.
+ // AcquireTokenSilent overrides AuthorizationType to ATRefreshToken before the
+ // proactive-refresh write-back, so check IsAppTokenCache here to keep the write key
+ // aligned with the read key (authParams.CacheKey). See issue #630.
+ if authParams.AuthorizationType == authority.ATClientCredentials || authParams.IsAppTokenCache {
return authParams.AppKey()
}
if authParams.IsConfidentialClient || authParams.AuthorizationType == authority.ATRefreshToken {
diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority/authority.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority/authority.go
index db6f8b42e..07702ef77 100644
--- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority/authority.go
+++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority/authority.go
@@ -14,7 +14,7 @@ import (
"net/http"
"net/url"
"os"
- "path"
+ "regexp"
"sort"
"strings"
"time"
@@ -29,8 +29,8 @@ const (
aadInstanceDiscoveryEndpoint = "https://%v/common/discovery/instance"
tenantDiscoveryEndpointWithRegion = "https://%s.%s/%s/v2.0/.well-known/openid-configuration"
regionName = "REGION_NAME"
- defaultAPIVersion = "2021-10-01"
- imdsEndpoint = "http://169.254.169.254/metadata/instance/compute/location?format=text&api-version=" + defaultAPIVersion
+ defaultAPIVersion = "2021-02-01"
+ imdsEndpoint = "http://169.254.169.254/metadata/instance/compute?api-version=" + defaultAPIVersion
autoDetectRegion = "TryAutoDetect"
AccessTokenTypeBearer = "Bearer"
)
@@ -44,6 +44,9 @@ const (
loginMicrosoftOnline = defaultHost
)
+// validRegion matches Azure region names: lowercase alphanumeric and hyphens only.
+var validRegion = regexp.MustCompile(`^[a-z][a-z0-9-]*$`)
+
// jsonCaller is an interface that allows us to mock the JSONCall method.
type jsonCaller interface {
JSONCall(ctx context.Context, endpoint string, headers http.Header, qv url.Values, body, resp interface{}) error
@@ -188,6 +191,7 @@ const (
ATRefreshToken
AccountByID
ATOnBehalfOf
+ ATUserFIC
)
// These are all authority types
@@ -269,6 +273,11 @@ type AuthParams struct {
Capabilities ClientCapabilities
// Claims required for an access token to satisfy a conditional access policy
Claims string
+ // ClientClaims are client-originated claims set via the request-level WithClaimsFromClient option.
+ // Unlike Claims (server-issued challenge claims, which bypass the cache), ClientClaims participate
+ // in the token cache and are keyed on the raw claims string as passed by the caller. They are merged
+ // with Claims and Capabilities into the request's "claims" parameter.
+ ClientClaims string
// KnownAuthorityHosts don't require metadata discovery because they're known to the user
KnownAuthorityHosts []string
// LoginHint is a username with which to pre-populate account selection during interactive auth
@@ -283,6 +292,15 @@ type AuthParams struct {
ExtraBodyParameters map[string]string
// CacheKeyComponents are additional components to include in the cache key.
CacheKeyComponents map[string]string
+ // IsAppTokenCache indicates the request targets the app-only (client credentials)
+ // token cache partition. It is propagated onto silent requests so the proactive-refresh
+ // write-back computes the same partition key as the read path, even though
+ // AcquireTokenSilent overrides AuthorizationType to ATRefreshToken. See issue #630.
+ IsAppTokenCache bool
+ // UserFederatedIdentityCredential is the federated credential token for user_fic flow.
+ UserFederatedIdentityCredential string
+ // UserObjectID is the target user's object ID for user_fic flow (mutually exclusive with Username).
+ UserObjectID string
}
// NewAuthParams creates an authorization parameters object.
@@ -316,7 +334,11 @@ func (p AuthParams) WithTenant(ID string) (AuthParams, error) {
if p.AuthorityInfo.Tenant == "consumers" {
return p, errors.New(`client is configured to authenticate only personal Microsoft accounts, via the "consumers" endpoint`)
}
- authority = "https://" + path.Join(p.AuthorityInfo.Host, ID)
+ authority = (&url.URL{
+ Scheme: "https",
+ Host: p.AuthorityInfo.Host,
+ Path: "/",
+ }).ResolveReference(&url.URL{Path: ID}).String()
case ADFS:
return p, errors.New("ADFS authority doesn't support tenants")
case DSTS:
@@ -331,9 +353,15 @@ func (p AuthParams) WithTenant(ID string) (AuthParams, error) {
return p, err
}
-// MergeCapabilitiesAndClaims combines client capabilities and challenge claims into a value suitable for an authentication request's "claims" parameter.
+// MergeCapabilitiesAndClaims combines client capabilities, server-issued challenge claims and
+// client-originated claims into a value suitable for an authentication request's "claims" parameter.
func (p AuthParams) MergeCapabilitiesAndClaims() (string, error) {
- claims := p.Claims
+ // Combine server-issued claims (from WithClaims) with client-originated claims
+ // (from WithClaimsFromClient). When both set the same key, the client claims win.
+ claims, err := mergeClaims(p.Claims, p.ClientClaims)
+ if err != nil {
+ return "", err
+ }
if len(p.Capabilities.asMap) > 0 {
if claims == "" {
// without claims the result is simply the capabilities
@@ -357,6 +385,65 @@ func (p AuthParams) MergeCapabilitiesAndClaims() (string, error) {
return claims, nil
}
+// mergeClaims merges two JSON claims objects into one. If either side is empty the other is returned
+// verbatim and unvalidated (the common case; this keeps the value byte-for-byte identical to what the
+// caller passed and mirrors MSAL .NET's MergeClaimsObjects). Only when both sides are present are they
+// parsed as JSON objects (anything that is not a JSON object is an error), deep-merged with the second
+// object's values winning on conflicting keys, and re-serialized.
+func mergeClaims(claims1, claims2 string) (string, error) {
+ if claims1 == "" {
+ return claims2, nil
+ }
+ if claims2 == "" {
+ return claims1, nil
+ }
+ m1, err := parseClaimsObject(claims1)
+ if err != nil {
+ return "", err
+ }
+ m2, err := parseClaimsObject(claims2)
+ if err != nil {
+ return "", err
+ }
+ b, err := json.Marshal(deepMergeClaims(m1, m2))
+ if err != nil {
+ return "", err
+ }
+ return string(b), nil
+}
+
+// parseClaimsObject unmarshals a non-empty claims string into a JSON object. A value that is valid
+// JSON but not an object (e.g. an array, a scalar, or the literal "null") is rejected, mirroring the
+// behavior of the other MSAL libraries.
+func parseClaimsObject(claims string) (map[string]any, error) {
+ var m map[string]any
+ if err := json.Unmarshal([]byte(claims), &m); err != nil {
+ // Don't include the parser error or the raw value in the message: claims may carry sensitive data.
+ return nil, errors.New("claims must be a JSON object")
+ }
+ if m == nil {
+ return nil, errors.New("claims must be a JSON object")
+ }
+ return m, nil
+}
+
+// deepMergeClaims merges src into dst, with src's values winning on conflicting keys. When both
+// values for a key are JSON objects the merge recurses; otherwise src's value overwrites dst's.
+func deepMergeClaims(dst, src map[string]any) map[string]any {
+ for k, sv := range src {
+ if dv, ok := dst[k]; ok {
+ if dm, dok := dv.(map[string]any); dok {
+ if sm, sok := sv.(map[string]any); sok {
+ dst[k] = deepMergeClaims(dm, sm)
+ continue
+ }
+ }
+ }
+ dst[k] = sv
+ }
+ return dst
+}
+
// merges a into b without overwriting b's values. Returns an error when a and b share a key for which either has a non-object value.
func merge(a, b map[string]any) error {
for k, av := range a {
@@ -587,6 +674,9 @@ func (c Client) AADInstanceDiscovery(ctx context.Context, authorityInfo Info) (I
region = detectRegion(ctx)
}
if region != "" {
+ if !validRegion.MatchString(region) {
+ return resp, fmt.Errorf("invalid region %q: region must contain only lowercase alphanumeric characters and hyphens", region)
+ }
environment := authorityInfo.Host
switch environment {
case loginMicrosoft, loginWindows, loginSTSWindows, defaultHost:
@@ -653,7 +743,24 @@ func detectRegion(ctx context.Context) string {
if err != nil {
return ""
}
- return string(response)
+ return parseRegionFromIMDSResponse(response)
+}
+
+// imdsComputeResponse models the subset of the IMDS compute metadata response
+// (http://169.254.169.254/metadata/instance/compute) used for region detection.
+type imdsComputeResponse struct {
+ Location string `json:"location"`
+}
+
+// parseRegionFromIMDSResponse extracts the Azure region from an IMDS compute
+// metadata JSON response body. It returns an empty string when the body cannot
+// be parsed or the location field is absent.
+func parseRegionFromIMDSResponse(body []byte) string {
+ var parsed imdsComputeResponse
+ if err := json.Unmarshal(body, &parsed); err != nil {
+ return ""
+ }
+ return parsed.Location
}
func (a *AuthParams) CacheKey(isAppCache bool) string {
@@ -663,7 +770,7 @@ func (a *AuthParams) CacheKey(isAppCache bool) string {
if a.AuthorizationType == ATClientCredentials || isAppCache {
return a.AppKey()
}
- if a.AuthorizationType == ATRefreshToken || a.AuthorizationType == AccountByID {
+ if a.AuthorizationType == ATRefreshToken || a.AuthorizationType == AccountByID || a.AuthorizationType == ATUserFIC {
return a.HomeAccountID
}
return ""
@@ -706,13 +813,18 @@ func (a *AuthParams) CacheExtKeyGenerator() string {
}
sort.Strings(keys)
- // Create a string by concatenating key+value pairs
- keyStr := ""
+ // Concatenate length-prefixed key/value pairs so the boundaries between
+ // components are unambiguous. A plain key+value concatenation with no
+ // separators can collide when a value happens to contain another component's
+ // key or value (client_claims, for example, is arbitrary caller-supplied
+ // JSON), which would map two distinct component sets to the same hash and
+ // return the wrong cached token. Length prefixes make the encoding injective.
+ var sb strings.Builder
for _, key := range keys {
- // Append key followed by its value with no separator
- keyStr += key + a.CacheKeyComponents[key]
+ val := a.CacheKeyComponents[key]
+ fmt.Fprintf(&sb, "%d:%s%d:%s", len(key), key, len(val), val)
}
- hash := sha256.Sum256([]byte(keyStr))
+ hash := sha256.Sum256([]byte(sb.String()))
return strings.ToLower(base64.RawURLEncoding.EncodeToString(hash[:]))
}
diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority/authorizetype_string.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority/authorizetype_string.go
index 10039773b..7d93930cc 100644
--- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority/authorizetype_string.go
+++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority/authorizetype_string.go
@@ -16,15 +16,19 @@ func _() {
_ = x[ATClientCredentials-5]
_ = x[ATDeviceCode-6]
_ = x[ATRefreshToken-7]
+ _ = x[AccountByID-8]
+ _ = x[ATOnBehalfOf-9]
+ _ = x[ATUserFIC-10]
}
-const _AuthorizeType_name = "ATUnknownATUsernamePasswordATWindowsIntegratedATAuthCodeATInteractiveATClientCredentialsATDeviceCodeATRefreshToken"
+const _AuthorizeType_name = "ATUnknownATUsernamePasswordATWindowsIntegratedATAuthCodeATInteractiveATClientCredentialsATDeviceCodeATRefreshTokenAccountByIDATOnBehalfOfATUserFIC"
-var _AuthorizeType_index = [...]uint8{0, 9, 27, 46, 56, 69, 88, 100, 114}
+var _AuthorizeType_index = [...]uint8{0, 9, 27, 46, 56, 69, 88, 100, 114, 125, 137, 146}
func (i AuthorizeType) String() string {
- if i < 0 || i >= AuthorizeType(len(_AuthorizeType_index)-1) {
+ idx := int(i) - 0
+ if i < 0 || idx >= len(_AuthorizeType_index)-1 {
return "AuthorizeType(" + strconv.FormatInt(int64(i), 10) + ")"
}
- return _AuthorizeType_name[_AuthorizeType_index[i]:_AuthorizeType_index[i+1]]
+ return _AuthorizeType_name[_AuthorizeType_index[idx]:_AuthorizeType_index[idx+1]]
}
diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/internal/grant/grant.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/internal/grant/grant.go
index b628f61ac..f09bff390 100644
--- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/internal/grant/grant.go
+++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/internal/grant/grant.go
@@ -14,4 +14,5 @@ const (
RefreshToken = "refresh_token"
ClientCredential = "client_credentials"
ClientAssertion = "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"
+ UserFIC = "user_fic"
)
diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/resolvers.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/resolvers.go
index d220a9946..92170a762 100644
--- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/resolvers.go
+++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/resolvers.go
@@ -16,6 +16,7 @@ import (
"github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops"
"github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority"
+ "golang.org/x/sync/singleflight"
)
type cacheEntry struct {
@@ -35,6 +36,8 @@ type authorityEndpoint struct {
mu sync.Mutex
cache map[string]cacheEntry
+
+ resolveGroup singleflight.Group
}
// newAuthorityEndpoint is the constructor for AuthorityEndpoint.
@@ -50,35 +53,49 @@ func (m *authorityEndpoint) ResolveEndpoints(ctx context.Context, authorityInfo
return endpoints, nil
}
- endpoint, err := m.openIDConfigurationEndpoint(ctx, authorityInfo)
- if err != nil {
- return authority.Endpoints{}, err
- }
+ key := authorityInfo.CanonicalAuthorityURI
+ v, err, _ := m.resolveGroup.Do(key, func() (interface{}, error) {
+ // Double-check inside the singleflight group: another goroutine may
+ // have populated the cache while we were waiting.
+ if endpoints, found := m.cachedEndpoints(authorityInfo, userPrincipalName); found {
+ return endpoints, nil
+ }
- resp, err := m.rest.Authority().GetTenantDiscoveryResponse(ctx, endpoint)
- if err != nil {
- return authority.Endpoints{}, err
- }
- if err := resp.Validate(); err != nil {
- return authority.Endpoints{}, fmt.Errorf("ResolveEndpoints(): %w", err)
- }
+ endpoint, err := m.openIDConfigurationEndpoint(ctx, authorityInfo)
+ if err != nil {
+ return authority.Endpoints{}, err
+ }
+
+ resp, err := m.rest.Authority().GetTenantDiscoveryResponse(ctx, endpoint)
+ if err != nil {
+ return authority.Endpoints{}, err
+ }
+ if err := resp.Validate(); err != nil {
+ return authority.Endpoints{}, fmt.Errorf("ResolveEndpoints(): %w", err)
+ }
- tenant := authorityInfo.Tenant
+ tenant := authorityInfo.Tenant
- endpoints := authority.NewEndpoints(
- strings.Replace(resp.AuthorizationEndpoint, "{tenant}", tenant, -1),
- strings.Replace(resp.TokenEndpoint, "{tenant}", tenant, -1),
- strings.Replace(resp.Issuer, "{tenant}", tenant, -1),
- authorityInfo.Host)
+ endpoints := authority.NewEndpoints(
+ strings.Replace(resp.AuthorizationEndpoint, "{tenant}", tenant, -1),
+ strings.Replace(resp.TokenEndpoint, "{tenant}", tenant, -1),
+ strings.Replace(resp.Issuer, "{tenant}", tenant, -1),
+ authorityInfo.Host)
- m.addCachedEndpoints(authorityInfo, userPrincipalName, endpoints)
+ aliases := m.addCachedEndpoints(authorityInfo, userPrincipalName, endpoints)
- if err := resp.ValidateIssuerMatchesAuthority(authorityInfo.CanonicalAuthorityURI,
- m.cache[authorityInfo.CanonicalAuthorityURI].Aliases); err != nil {
- return authority.Endpoints{}, fmt.Errorf("ResolveEndpoints(): %w", err)
+ if err := resp.ValidateIssuerMatchesAuthority(authorityInfo.CanonicalAuthorityURI,
+ aliases); err != nil {
+ return authority.Endpoints{}, fmt.Errorf("ResolveEndpoints(): %w", err)
+ }
+
+ return endpoints, nil
+ })
+ if err != nil {
+ return authority.Endpoints{}, err
}
- return endpoints, nil
+ return v.(authority.Endpoints), nil
}
// cachedEndpoints returns the cached endpoints if they exist. If not, we return false.
@@ -100,7 +117,7 @@ func (m *authorityEndpoint) cachedEndpoints(authorityInfo authority.Info, userPr
return authority.Endpoints{}, false
}
-func (m *authorityEndpoint) addCachedEndpoints(authorityInfo authority.Info, userPrincipalName string, endpoints authority.Endpoints) {
+func (m *authorityEndpoint) addCachedEndpoints(authorityInfo authority.Info, userPrincipalName string, endpoints authority.Endpoints) map[string]bool {
m.mu.Lock()
defer m.mu.Unlock()
@@ -128,6 +145,7 @@ func (m *authorityEndpoint) addCachedEndpoints(authorityInfo authority.Info, use
}
m.cache[authorityInfo.CanonicalAuthorityURI] = updatedCacheEntry
+ return updatedCacheEntry.Aliases
}
func (m *authorityEndpoint) openIDConfigurationEndpoint(ctx context.Context, authorityInfo authority.Info) (string, error) {
diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/version/version.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/version/version.go
index 40da7d5d1..d19d8376a 100644
--- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/version/version.go
+++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/version/version.go
@@ -8,4 +8,4 @@ package version
const SKU = "MSAL.Go"
// Version is the version of this client package that is communicated to the server.
-const Version = "1.7.2"
+const Version = "1.8.0"
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/base_service.go b/vendor/github.com/IBM/go-sdk-core/v5/core/base_service.go
index 558549457..b5252853e 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/base_service.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/base_service.go
@@ -180,7 +180,7 @@ func (service *BaseService) ConfigureService(serviceName string) error {
if enableRetries, ok := serviceProps[PROPNAME_SVC_ENABLE_RETRIES]; ok && enableRetries != "" {
boolValue, err := strconv.ParseBool(enableRetries)
if boolValue && err == nil {
- var maxRetries int = 0
+ var maxRetries = 0
var retryInterval time.Duration = 0
var s string
@@ -356,7 +356,7 @@ func (service *BaseService) SetUserAgent(userAgent string) {
// detailedResponse: a DetailedResponse instance containing the status code, headers, etc.
//
// err: a non-nil error object if an error occurred
-func (service *BaseService) Request(req *http.Request, result interface{}) (detailedResponse *DetailedResponse, err error) {
+func (service *BaseService) Request(req *http.Request, result any) (detailedResponse *DetailedResponse, err error) {
// Set default headers on the request.
if service.DefaultHeaders != nil {
for k, v := range service.DefaultHeaders {
@@ -419,7 +419,7 @@ func (service *BaseService) Request(req *http.Request, result interface{}) (deta
// Invoke the request, then check for errors during the invocation.
GetLogger().Debug("Sending HTTP request message...")
var httpResponse *http.Response
- httpResponse, err = service.Client.Do(req)
+ httpResponse, err = service.Client.Do(req) // #nosec G704
if err != nil {
if strings.Contains(err.Error(), SSL_CERTIFICATION_ERROR) {
err = errors.New(ERRORMSG_SSL_VERIFICATION_FAILED + "\n" + err.Error())
@@ -495,20 +495,21 @@ func (service *BaseService) Request(req *http.Request, result interface{}) (deta
// Check to see if the caller wanted the response body as a string.
// If the caller passed in 'result' as the address of *string,
// then we'll reflectively set result to point to it.
- if resultType == "**string" {
+ switch resultType {
+ case "**string":
responseString := string(responseBody)
rResult := reflect.ValueOf(result).Elem()
rResult.Set(reflect.ValueOf(&responseString))
// And set the string in the Result field.
detailedResponse.Result = &responseString
- } else if resultType == "*[]uint8" { // byte is an alias for uint8
+ case "*[]uint8": // byte is an alias for uint8
rResult := reflect.ValueOf(result).Elem()
rResult.Set(reflect.ValueOf(responseBody))
// And set the byte slice in the Result field.
detailedResponse.Result = responseBody
- } else {
+ default:
// At this point, we don't know how to set the result field, so we have to return an error.
// But make sure we save the bytes we read in the DetailedResponse for debugging purposes
detailedResponse.Result = responseBody
@@ -611,7 +612,7 @@ type Error struct {
// b) the string form of the byte-stream if the byte-stream could not be successfully
// decoded as JSON.
// 3. This function will close the io.ReadCloser before returning.
-func decodeAsMap(byteBuffer []byte) (result map[string]interface{}, err error) {
+func decodeAsMap(byteBuffer []byte) (result map[string]any, err error) {
err = json.NewDecoder(bytes.NewReader(byteBuffer)).Decode(&result)
if err != nil {
err = SDKErrorf(err, "", "decode-error", getComponentInfo())
@@ -620,7 +621,7 @@ func decodeAsMap(byteBuffer []byte) (result map[string]interface{}, err error) {
}
// getErrorMessage: try to retrieve an error message from the decoded response body (map).
-func getErrorMessage(responseMap map[string]interface{}, statusCode int) string {
+func getErrorMessage(responseMap map[string]any, statusCode int) string {
// If the response contained the "errors" field, then try to deserialize responseMap
// into an array of Error structs, then return the first entry's "Message" field.
if _, ok := responseMap["errors"]; ok {
@@ -665,7 +666,7 @@ func getErrorMessage(responseMap map[string]interface{}, statusCode int) string
}
// getErrorCode tries to retrieve an error code from the decoded response body (map).
-func getErrorCode(responseMap map[string]interface{}) string {
+func getErrorCode(responseMap map[string]any) string {
// If the response contained the "errors" field, then try to deserialize responseMap
// into an array of Error structs, then return the first entry's "Message" field.
if _, ok := responseMap["errors"]; ok {
@@ -701,7 +702,7 @@ func getErrorCode(responseMap map[string]interface{}) string {
// A retryable client is a client whose transport is a
// retryablehttp.RoundTripper instance.
func isRetryableClient(client *http.Client) bool {
- var isRetryable bool = false
+ var isRetryable = false
if client != nil && client.Transport != nil {
_, isRetryable = client.Transport.(*retryablehttp.RoundTripper)
}
@@ -787,7 +788,7 @@ func DefaultHTTPClient() *http.Client {
// httpLogger is a shim layer used to allow the Go core's logger to be used with the retryablehttp interfaces.
type httpLogger struct{}
-func (l *httpLogger) Printf(format string, inserts ...interface{}) {
+func (l *httpLogger) Printf(format string, inserts ...any) {
if GetLogger().IsLogLevelEnabled(LevelDebug) {
msg := fmt.Sprintf(format, inserts...)
GetLogger().Log(LevelDebug, RedactSecrets(msg))
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/config_utils.go b/vendor/github.com/IBM/go-sdk-core/v5/core/config_utils.go
index 39e720701..58b6d5758 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/config_utils.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/config_utils.go
@@ -96,7 +96,7 @@ func getServicePropertiesFromCredentialFile(credentialKey string) map[string]str
// 1) ${IBM_CREDENTIALS_FILE}
envPath := os.Getenv(IBM_CREDENTIAL_FILE_ENVVAR)
- if _, err := os.Stat(envPath); err == nil {
+ if _, err := os.Stat(envPath); err == nil { // #nosec G703
credentialFilePath = envPath
}
@@ -119,7 +119,7 @@ func getServicePropertiesFromCredentialFile(credentialKey string) map[string]str
// If we found a file to load, then load it.
if credentialFilePath != "" {
- file, err := os.Open(credentialFilePath) // #nosec G304
+ file, err := os.Open(credentialFilePath) // #nosec G304 G703
if err != nil {
return nil
}
@@ -198,7 +198,7 @@ func parsePropertyStrings(credentialKey string, propertyStrings []string) map[st
props := make(map[string]string)
credentialKey = strings.ToUpper(credentialKey)
- credentialKey = strings.Replace(credentialKey, "-", "_", -1)
+ credentialKey = strings.ReplaceAll(credentialKey, "-", "_")
credentialKey += "_"
for _, propertyString := range propertyStrings {
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/constants.go b/vendor/github.com/IBM/go-sdk-core/v5/core/constants.go
index d86487f5d..6bac1a38b 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/constants.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/constants.go
@@ -72,7 +72,7 @@ const (
ERRORMSG_PROP_INVALID = "The %s property is invalid. Please remove any surrounding {, }, or \" characters."
ERRORMSG_EXCLUSIVE_PROPS_ERROR = "Exactly one of %s or %s must be specified."
ERRORMSG_ATLEAST_ONE_PROP_ERROR = "At least one of %s or %s must be specified."
- ERRORMSG_ATMOST_ONE_PROP_ERROR = "At most one of %s or %s may be specified."
+ ERRORMSG_ATMOST_ONE_PROP_ERROR = "At most one of %s, %s, or %s may be specified."
ERRORMSG_NO_AUTHENTICATOR = "Authentication information was not properly configured."
ERRORMSG_AUTHTYPE_UNKNOWN = "Unrecognized authentication type: %s"
ERRORMSG_PROPS_MAP_NIL = "The 'properties' map cannot be nil."
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/container_authenticator.go b/vendor/github.com/IBM/go-sdk-core/v5/core/container_authenticator.go
index 2a47409f4..dc45b2300 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/container_authenticator.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/container_authenticator.go
@@ -119,63 +119,63 @@ func NewContainerAuthenticatorBuilder() *ContainerAuthenticatorBuilder {
// SetCRTokenFilename sets the CRTokenFilename field in the builder.
func (builder *ContainerAuthenticatorBuilder) SetCRTokenFilename(s string) *ContainerAuthenticatorBuilder {
- builder.ContainerAuthenticator.CRTokenFilename = s
+ builder.CRTokenFilename = s
return builder
}
// SetIAMProfileName sets the IAMProfileName field in the builder.
func (builder *ContainerAuthenticatorBuilder) SetIAMProfileName(s string) *ContainerAuthenticatorBuilder {
- builder.ContainerAuthenticator.IAMProfileName = s
+ builder.IAMProfileName = s
return builder
}
// SetIAMProfileID sets the IAMProfileID field in the builder.
func (builder *ContainerAuthenticatorBuilder) SetIAMProfileID(s string) *ContainerAuthenticatorBuilder {
- builder.ContainerAuthenticator.IAMProfileID = s
+ builder.IAMProfileID = s
return builder
}
// SetURL sets the URL field in the builder.
func (builder *ContainerAuthenticatorBuilder) SetURL(s string) *ContainerAuthenticatorBuilder {
- builder.ContainerAuthenticator.URL = s
+ builder.URL = s
return builder
}
// SetClientIDSecret sets the ClientID and ClientSecret fields in the builder.
func (builder *ContainerAuthenticatorBuilder) SetClientIDSecret(clientID, clientSecret string) *ContainerAuthenticatorBuilder {
- builder.ContainerAuthenticator.ClientID = clientID
- builder.ContainerAuthenticator.ClientSecret = clientSecret
+ builder.ClientID = clientID
+ builder.ClientSecret = clientSecret
return builder
}
// SetDisableSSLVerification sets the DisableSSLVerification field in the builder.
func (builder *ContainerAuthenticatorBuilder) SetDisableSSLVerification(b bool) *ContainerAuthenticatorBuilder {
- builder.ContainerAuthenticator.DisableSSLVerification = b
+ builder.DisableSSLVerification = b
return builder
}
// SetScope sets the Scope field in the builder.
func (builder *ContainerAuthenticatorBuilder) SetScope(s string) *ContainerAuthenticatorBuilder {
- builder.ContainerAuthenticator.Scope = s
+ builder.Scope = s
return builder
}
// SetHeaders sets the Headers field in the builder.
func (builder *ContainerAuthenticatorBuilder) SetHeaders(headers map[string]string) *ContainerAuthenticatorBuilder {
- builder.ContainerAuthenticator.Headers = headers
+ builder.Headers = headers
return builder
}
// SetClient sets the Client field in the builder.
func (builder *ContainerAuthenticatorBuilder) SetClient(client *http.Client) *ContainerAuthenticatorBuilder {
- builder.ContainerAuthenticator.Client = client
+ builder.Client = client
return builder
}
// Build() returns a validated instance of the ContainerAuthenticator with the config that was set in the builder.
func (builder *ContainerAuthenticatorBuilder) Build() (*ContainerAuthenticator, error) {
// Make sure the config is valid.
- err := builder.ContainerAuthenticator.Validate()
+ err := builder.Validate()
if err != nil {
return nil, RepurposeSDKProblem(err, "validation-failed")
}
@@ -529,7 +529,7 @@ func (authenticator *ContainerAuthenticator) readFile(filename string) (crToken
// Read the entire file into a byte slice, then convert to string.
var bytes []byte
- bytes, err = os.ReadFile(filename) // #nosec G304
+ bytes, err = os.ReadFile(filename) // #nosec G304 G703
if err != nil {
err = SDKErrorf(err, "", "read-file-error", getComponentInfo())
GetLogger().Debug(err.(*SDKProblem).GetDebugMessage())
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/detailed_response.go b/vendor/github.com/IBM/go-sdk-core/v5/core/detailed_response.go
index 5163af70b..d99ecf0b4 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/detailed_response.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/detailed_response.go
@@ -50,7 +50,7 @@ type DetailedResponse struct {
// response body as a "generic" JSON object.
// If the JSON response for an unsuccessful operation could not be properly un-marshalled, then the
// RawResult field will contain the raw response body.
- Result interface{} `yaml:"result,omitempty"`
+ Result any `yaml:"result,omitempty"`
// This field will contain the raw response body as a byte array under these conditions:
// 1) there was a problem un-marshalling a JSON response body -
@@ -70,14 +70,14 @@ func (response *DetailedResponse) GetStatusCode() int {
}
// GetResult returns the result from the service
-func (response *DetailedResponse) GetResult() interface{} {
+func (response *DetailedResponse) GetResult() any {
return response.Result
}
// GetResultAsMap returns the result as a map (generic JSON object), if the
// DetailedResponse.Result field contains an instance of a map.
-func (response *DetailedResponse) GetResultAsMap() (map[string]interface{}, bool) {
- m, ok := response.Result.(map[string]interface{})
+func (response *DetailedResponse) GetResultAsMap() (map[string]any, bool) {
+ m, ok := response.Result.(map[string]any)
return m, ok
}
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/file_with_metadata.go b/vendor/github.com/IBM/go-sdk-core/v5/core/file_with_metadata.go
index 5118a2e7f..e6d82acd0 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/file_with_metadata.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/file_with_metadata.go
@@ -45,7 +45,7 @@ func NewFileWithMetadata(data io.ReadCloser) (model *FileWithMetadata, err error
// UnmarshalFileWithMetadata unmarshals an instance of FileWithMetadata from the specified map of raw messages.
// The "data" field is assumed to be a string, the value of which is assumed to be a path to the file that
// contains the data intended for the FileWithMetadata struct.
-func UnmarshalFileWithMetadata(m map[string]json.RawMessage, result interface{}) (err error) {
+func UnmarshalFileWithMetadata(m map[string]json.RawMessage, result any) (err error) {
obj := new(FileWithMetadata)
// unmarshal the data field as a filename and read the contents
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/http_problem.go b/vendor/github.com/IBM/go-sdk-core/v5/core/http_problem.go
index c6e2ac700..25130c9c0 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/http_problem.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/http_problem.go
@@ -68,7 +68,7 @@ func (e *HTTPProblem) getErrorCode() string {
// If the error response was a standard JSON body, the result will
// be a map and we can do a decent job of guessing the code.
if e.Response.Result != nil {
- if resultMap, ok := e.Response.Result.(map[string]interface{}); ok {
+ if resultMap, ok := e.Response.Result.(map[string]any); ok {
return getErrorCode(resultMap)
}
}
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/iam_assume_authenticator.go b/vendor/github.com/IBM/go-sdk-core/v5/core/iam_assume_authenticator.go
index 634f30a10..aca86e37a 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/iam_assume_authenticator.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/iam_assume_authenticator.go
@@ -111,71 +111,71 @@ func NewIamAssumeAuthenticatorBuilder() *IamAssumeAuthenticatorBuilder {
// SetIAMProfileID sets the iamProfileID field in the builder.
func (builder *IamAssumeAuthenticatorBuilder) SetIAMProfileID(s string) *IamAssumeAuthenticatorBuilder {
- builder.IamAssumeAuthenticator.iamProfileID = s
+ builder.iamProfileID = s
return builder
}
// SetIAMProfileCRN sets the iamProfileCRN field in the builder.
func (builder *IamAssumeAuthenticatorBuilder) SetIAMProfileCRN(s string) *IamAssumeAuthenticatorBuilder {
- builder.IamAssumeAuthenticator.iamProfileCRN = s
+ builder.iamProfileCRN = s
return builder
}
// SetIAMProfileName sets the iamProfileName field in the builder.
func (builder *IamAssumeAuthenticatorBuilder) SetIAMProfileName(s string) *IamAssumeAuthenticatorBuilder {
- builder.IamAssumeAuthenticator.iamProfileName = s
+ builder.iamProfileName = s
return builder
}
// SetIAMAccountID sets the iamAccountID field in the builder.
func (builder *IamAssumeAuthenticatorBuilder) SetIAMAccountID(s string) *IamAssumeAuthenticatorBuilder {
- builder.IamAssumeAuthenticator.iamAccountID = s
+ builder.iamAccountID = s
return builder
}
// SetApiKey sets the ApiKey field in the builder.
func (builder *IamAssumeAuthenticatorBuilder) SetApiKey(s string) *IamAssumeAuthenticatorBuilder {
- builder.IamAuthenticator.ApiKey = s
+ builder.ApiKey = s
return builder
}
// SetURL sets the url field in the builder.
func (builder *IamAssumeAuthenticatorBuilder) SetURL(s string) *IamAssumeAuthenticatorBuilder {
- builder.IamAuthenticator.URL = s
+ builder.URL = s
builder.IamAssumeAuthenticator.url = s
return builder
}
// SetClientIDSecret sets the ClientId and ClientSecret fields in the builder.
func (builder *IamAssumeAuthenticatorBuilder) SetClientIDSecret(clientID, clientSecret string) *IamAssumeAuthenticatorBuilder {
- builder.IamAuthenticator.ClientId = clientID
- builder.IamAuthenticator.ClientSecret = clientSecret
+ builder.ClientId = clientID
+ builder.ClientSecret = clientSecret
return builder
}
// SetDisableSSLVerification sets the DisableSSLVerification field in the builder.
func (builder *IamAssumeAuthenticatorBuilder) SetDisableSSLVerification(b bool) *IamAssumeAuthenticatorBuilder {
- builder.IamAuthenticator.DisableSSLVerification = b
- builder.IamAssumeAuthenticator.disableSSLVerification = b
+ builder.DisableSSLVerification = b
+ builder.disableSSLVerification = b
return builder
}
// SetScope sets the Scope field in the builder.
func (builder *IamAssumeAuthenticatorBuilder) SetScope(s string) *IamAssumeAuthenticatorBuilder {
- builder.IamAuthenticator.Scope = s
+ builder.Scope = s
return builder
}
// SetHeaders sets the Headers field in the builder.
func (builder *IamAssumeAuthenticatorBuilder) SetHeaders(headers map[string]string) *IamAssumeAuthenticatorBuilder {
- builder.IamAuthenticator.Headers = headers
- builder.IamAssumeAuthenticator.headers = headers
+ builder.Headers = headers
+ builder.headers = headers
return builder
}
// SetClient sets the Client field in the builder.
func (builder *IamAssumeAuthenticatorBuilder) SetClient(client *http.Client) *IamAssumeAuthenticatorBuilder {
- builder.IamAuthenticator.Client = client
+ builder.Client = client
builder.IamAssumeAuthenticator.client = client
return builder
}
@@ -193,7 +193,7 @@ func (builder *IamAssumeAuthenticatorBuilder) Build() (*IamAssumeAuthenticator,
}
// If we passed validation, then save our IamAuthenticator instance.
- builder.IamAssumeAuthenticator.iamDelegate = &builder.IamAuthenticator
+ builder.iamDelegate = &builder.IamAuthenticator
return &builder.IamAssumeAuthenticator, nil
}
@@ -202,24 +202,24 @@ func (builder *IamAssumeAuthenticatorBuilder) Build() (*IamAssumeAuthenticator,
func (authenticator *IamAssumeAuthenticator) NewBuilder() *IamAssumeAuthenticatorBuilder {
builder := &IamAssumeAuthenticatorBuilder{}
- builder.IamAssumeAuthenticator.iamProfileCRN = authenticator.iamProfileCRN
- builder.IamAssumeAuthenticator.iamProfileID = authenticator.iamProfileID
- builder.IamAssumeAuthenticator.iamProfileName = authenticator.iamProfileName
- builder.IamAssumeAuthenticator.iamAccountID = authenticator.iamAccountID
+ builder.iamProfileCRN = authenticator.iamProfileCRN
+ builder.iamProfileID = authenticator.iamProfileID
+ builder.iamProfileName = authenticator.iamProfileName
+ builder.iamAccountID = authenticator.iamAccountID
builder.IamAssumeAuthenticator.url = authenticator.url
- builder.IamAssumeAuthenticator.headers = authenticator.headers
- builder.IamAssumeAuthenticator.disableSSLVerification = authenticator.disableSSLVerification
+ builder.headers = authenticator.headers
+ builder.disableSSLVerification = authenticator.disableSSLVerification
builder.IamAssumeAuthenticator.client = authenticator.client
- builder.IamAuthenticator.URL = authenticator.url
- builder.IamAuthenticator.Client = authenticator.client
- builder.IamAuthenticator.Headers = authenticator.headers
- builder.IamAuthenticator.DisableSSLVerification = authenticator.disableSSLVerification
+ builder.URL = authenticator.url
+ builder.Client = authenticator.client
+ builder.Headers = authenticator.headers
+ builder.DisableSSLVerification = authenticator.disableSSLVerification
if authenticator.iamDelegate != nil {
- builder.IamAuthenticator.ApiKey = authenticator.iamDelegate.ApiKey
- builder.IamAuthenticator.ClientId = authenticator.iamDelegate.ClientId
- builder.IamAuthenticator.ClientSecret = authenticator.iamDelegate.ClientSecret
- builder.IamAuthenticator.Scope = authenticator.iamDelegate.Scope
+ builder.ApiKey = authenticator.iamDelegate.ApiKey
+ builder.ClientId = authenticator.iamDelegate.ClientId
+ builder.ClientSecret = authenticator.iamDelegate.ClientSecret
+ builder.Scope = authenticator.iamDelegate.Scope
}
return builder
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/iam_authenticator.go b/vendor/github.com/IBM/go-sdk-core/v5/core/iam_authenticator.go
index aea048411..f938d1e37 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/iam_authenticator.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/iam_authenticator.go
@@ -117,57 +117,57 @@ func NewIamAuthenticatorBuilder() *IamAuthenticatorBuilder {
// SetApiKey sets the ApiKey field in the builder.
func (builder *IamAuthenticatorBuilder) SetApiKey(s string) *IamAuthenticatorBuilder {
- builder.IamAuthenticator.ApiKey = s
+ builder.ApiKey = s
return builder
}
// SetRefreshToken sets the RefreshToken field in the builder.
func (builder *IamAuthenticatorBuilder) SetRefreshToken(s string) *IamAuthenticatorBuilder {
- builder.IamAuthenticator.RefreshToken = s
+ builder.RefreshToken = s
return builder
}
// SetURL sets the URL field in the builder.
func (builder *IamAuthenticatorBuilder) SetURL(s string) *IamAuthenticatorBuilder {
- builder.IamAuthenticator.URL = s
+ builder.URL = s
return builder
}
// SetClientIDSecret sets the ClientId and ClientSecret fields in the builder.
func (builder *IamAuthenticatorBuilder) SetClientIDSecret(clientID, clientSecret string) *IamAuthenticatorBuilder {
- builder.IamAuthenticator.ClientId = clientID
- builder.IamAuthenticator.ClientSecret = clientSecret
+ builder.ClientId = clientID
+ builder.ClientSecret = clientSecret
return builder
}
// SetDisableSSLVerification sets the DisableSSLVerification field in the builder.
func (builder *IamAuthenticatorBuilder) SetDisableSSLVerification(b bool) *IamAuthenticatorBuilder {
- builder.IamAuthenticator.DisableSSLVerification = b
+ builder.DisableSSLVerification = b
return builder
}
// SetScope sets the Scope field in the builder.
func (builder *IamAuthenticatorBuilder) SetScope(s string) *IamAuthenticatorBuilder {
- builder.IamAuthenticator.Scope = s
+ builder.Scope = s
return builder
}
// SetHeaders sets the Headers field in the builder.
func (builder *IamAuthenticatorBuilder) SetHeaders(headers map[string]string) *IamAuthenticatorBuilder {
- builder.IamAuthenticator.Headers = headers
+ builder.Headers = headers
return builder
}
// SetClient sets the Client field in the builder.
func (builder *IamAuthenticatorBuilder) SetClient(client *http.Client) *IamAuthenticatorBuilder {
- builder.IamAuthenticator.Client = client
+ builder.Client = client
return builder
}
// Build() returns a validated instance of the IamAuthenticator with the config that was set in the builder.
func (builder *IamAuthenticatorBuilder) Build() (*IamAuthenticator, error) {
// Make sure the config is valid.
- err := builder.IamAuthenticator.Validate()
+ err := builder.Validate()
if err != nil {
return nil, RepurposeSDKProblem(err, "validation-failed")
}
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/log.go b/vendor/github.com/IBM/go-sdk-core/v5/core/log.go
index 0ac5fa0e0..25975a153 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/log.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/log.go
@@ -35,11 +35,11 @@ const (
// Logger is the logging interface implemented and used by the Go core library.
// Users of the library can supply their own implementation by calling SetLogger().
type Logger interface {
- Log(level LogLevel, format string, inserts ...interface{})
- Error(format string, inserts ...interface{})
- Warn(format string, inserts ...interface{})
- Info(format string, inserts ...interface{})
- Debug(format string, inserts ...interface{})
+ Log(level LogLevel, format string, inserts ...any)
+ Error(format string, inserts ...any)
+ Warn(format string, inserts ...any)
+ Info(format string, inserts ...any)
+ Debug(format string, inserts ...any)
SetLogLevel(level LogLevel)
GetLogLevel() LogLevel
@@ -111,7 +111,7 @@ func (l *SDKLoggerImpl) errorLog() *log.Logger {
}
// Log will log the specified message on the appropriate log.Logger instance if "level" is currently enabled.
-func (l *SDKLoggerImpl) Log(level LogLevel, format string, inserts ...interface{}) {
+func (l *SDKLoggerImpl) Log(level LogLevel, format string, inserts ...any) {
if l.IsLogLevelEnabled(level) {
var goLogger *log.Logger
switch level {
@@ -125,22 +125,22 @@ func (l *SDKLoggerImpl) Log(level LogLevel, format string, inserts ...interface{
}
// Error logs a message at level "Error"
-func (l *SDKLoggerImpl) Error(format string, inserts ...interface{}) {
+func (l *SDKLoggerImpl) Error(format string, inserts ...any) {
l.Log(LevelError, "[Error] "+format, inserts...)
}
// Warn logs a message at level "Warn"
-func (l *SDKLoggerImpl) Warn(format string, inserts ...interface{}) {
+func (l *SDKLoggerImpl) Warn(format string, inserts ...any) {
l.Log(LevelWarn, "[Warn] "+format, inserts...)
}
// Info logs a message at level "Info"
-func (l *SDKLoggerImpl) Info(format string, inserts ...interface{}) {
+func (l *SDKLoggerImpl) Info(format string, inserts ...any) {
l.Log(LevelInfo, "[Info] "+format, inserts...)
}
// Debug logs a message at level "Debug"
-func (l *SDKLoggerImpl) Debug(format string, inserts ...interface{}) {
+func (l *SDKLoggerImpl) Debug(format string, inserts ...any) {
l.Log(LevelDebug, "[Debug] "+format, inserts...)
}
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/mcsp_v1_authenticator.go b/vendor/github.com/IBM/go-sdk-core/v5/core/mcsp_v1_authenticator.go
index 0bf05c88c..cfa4b76e4 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/mcsp_v1_authenticator.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/mcsp_v1_authenticator.go
@@ -82,38 +82,38 @@ func NewMCSPAuthenticatorBuilder() *MCSPAuthenticatorBuilder {
// SetApiKey sets the ApiKey field in the builder.
func (builder *MCSPAuthenticatorBuilder) SetApiKey(s string) *MCSPAuthenticatorBuilder {
- builder.MCSPAuthenticator.ApiKey = s
+ builder.ApiKey = s
return builder
}
// SetURL sets the URL field in the builder.
func (builder *MCSPAuthenticatorBuilder) SetURL(s string) *MCSPAuthenticatorBuilder {
- builder.MCSPAuthenticator.URL = s
+ builder.URL = s
return builder
}
// SetDisableSSLVerification sets the DisableSSLVerification field in the builder.
func (builder *MCSPAuthenticatorBuilder) SetDisableSSLVerification(b bool) *MCSPAuthenticatorBuilder {
- builder.MCSPAuthenticator.DisableSSLVerification = b
+ builder.DisableSSLVerification = b
return builder
}
// SetHeaders sets the Headers field in the builder.
func (builder *MCSPAuthenticatorBuilder) SetHeaders(headers map[string]string) *MCSPAuthenticatorBuilder {
- builder.MCSPAuthenticator.Headers = headers
+ builder.Headers = headers
return builder
}
// SetClient sets the Client field in the builder.
func (builder *MCSPAuthenticatorBuilder) SetClient(client *http.Client) *MCSPAuthenticatorBuilder {
- builder.MCSPAuthenticator.Client = client
+ builder.Client = client
return builder
}
// Build() returns a validated instance of the MCSPAuthenticator with the config that was set in the builder.
func (builder *MCSPAuthenticatorBuilder) Build() (*MCSPAuthenticator, error) {
// Make sure the config is valid.
- err := builder.MCSPAuthenticator.Validate()
+ err := builder.Validate()
if err != nil {
return nil, RepurposeSDKProblem(err, "validation-failed")
}
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/mcsp_v2_authenticator.go b/vendor/github.com/IBM/go-sdk-core/v5/core/mcsp_v2_authenticator.go
index ec88a6d47..922a6660d 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/mcsp_v2_authenticator.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/mcsp_v2_authenticator.go
@@ -104,87 +104,87 @@ func NewMCSPV2AuthenticatorBuilder() *MCSPV2AuthenticatorBuilder {
auth := &MCSPV2AuthenticatorBuilder{}
// Set fields whose default value is not the "zero value".
- auth.MCSPV2Authenticator.IncludeRoles = true
+ auth.IncludeRoles = true
return auth
}
// SetApiKey sets the ApiKey field in the builder.
func (builder *MCSPV2AuthenticatorBuilder) SetApiKey(s string) *MCSPV2AuthenticatorBuilder {
- builder.MCSPV2Authenticator.ApiKey = s
+ builder.ApiKey = s
return builder
}
// SetURL sets the URL field in the builder.
func (builder *MCSPV2AuthenticatorBuilder) SetURL(s string) *MCSPV2AuthenticatorBuilder {
- builder.MCSPV2Authenticator.URL = s
+ builder.URL = s
return builder
}
// SetScopeCollectionType sets the ScopeCollectionType field in the builder.
func (builder *MCSPV2AuthenticatorBuilder) SetScopeCollectionType(s string) *MCSPV2AuthenticatorBuilder {
- builder.MCSPV2Authenticator.ScopeCollectionType = s
+ builder.ScopeCollectionType = s
return builder
}
// SetScopeID sets the ScopeID field in the builder.
func (builder *MCSPV2AuthenticatorBuilder) SetScopeID(s string) *MCSPV2AuthenticatorBuilder {
- builder.MCSPV2Authenticator.ScopeID = s
+ builder.ScopeID = s
return builder
}
// SetIncludeBuiltinActions sets the IncludeBuiltinActions field in the builder.
func (builder *MCSPV2AuthenticatorBuilder) SetIncludeBuiltinActions(b bool) *MCSPV2AuthenticatorBuilder {
- builder.MCSPV2Authenticator.IncludeBuiltinActions = b
+ builder.IncludeBuiltinActions = b
return builder
}
// SetIncludeCustomActions sets the IncludeCustomActions field in the builder.
func (builder *MCSPV2AuthenticatorBuilder) SetIncludeCustomActions(b bool) *MCSPV2AuthenticatorBuilder {
- builder.MCSPV2Authenticator.IncludeCustomActions = b
+ builder.IncludeCustomActions = b
return builder
}
// SetIncludeRoles sets the IncludeRoles field in the builder.
func (builder *MCSPV2AuthenticatorBuilder) SetIncludeRoles(b bool) *MCSPV2AuthenticatorBuilder {
- builder.MCSPV2Authenticator.IncludeRoles = b
+ builder.IncludeRoles = b
return builder
}
// SetPrefixRoles sets the PrefixRoles field in the builder.
func (builder *MCSPV2AuthenticatorBuilder) SetPrefixRoles(b bool) *MCSPV2AuthenticatorBuilder {
- builder.MCSPV2Authenticator.PrefixRoles = b
+ builder.PrefixRoles = b
return builder
}
// SetCallerExtClaim sets the CallerExtClaim field in the builder.
func (builder *MCSPV2AuthenticatorBuilder) SetCallerExtClaim(m map[string]string) *MCSPV2AuthenticatorBuilder {
- builder.MCSPV2Authenticator.CallerExtClaim = m
+ builder.CallerExtClaim = m
return builder
}
// SetDisableSSLVerification sets the DisableSSLVerification field in the builder.
func (builder *MCSPV2AuthenticatorBuilder) SetDisableSSLVerification(b bool) *MCSPV2AuthenticatorBuilder {
- builder.MCSPV2Authenticator.DisableSSLVerification = b
+ builder.DisableSSLVerification = b
return builder
}
// SetHeaders sets the Headers field in the builder.
func (builder *MCSPV2AuthenticatorBuilder) SetHeaders(headers map[string]string) *MCSPV2AuthenticatorBuilder {
- builder.MCSPV2Authenticator.Headers = headers
+ builder.Headers = headers
return builder
}
// SetClient sets the Client field in the builder.
func (builder *MCSPV2AuthenticatorBuilder) SetClient(client *http.Client) *MCSPV2AuthenticatorBuilder {
- builder.MCSPV2Authenticator.Client = client
+ builder.Client = client
return builder
}
// Build returns a validated instance of the MCSPV2Authenticator with the config that was set in the builder.
func (builder *MCSPV2AuthenticatorBuilder) Build() (*MCSPV2Authenticator, error) {
// Make sure the config is valid.
- err := builder.MCSPV2Authenticator.Validate()
+ err := builder.Validate()
if err != nil {
return nil, RepurposeSDKProblem(err, "validation-failed")
}
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/noauth_authenticator.go b/vendor/github.com/IBM/go-sdk-core/v5/core/noauth_authenticator.go
index f77565a6a..1a250af0c 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/noauth_authenticator.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/noauth_authenticator.go
@@ -35,7 +35,7 @@ func (NoAuthAuthenticator) Validate() error {
return nil
}
-func (this *NoAuthAuthenticator) Authenticate(request *http.Request) error {
+func (noAuthenticator *NoAuthAuthenticator) Authenticate(request *http.Request) error {
// Nothing to do since we're not providing any authentication.
return nil
}
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/ordered_maps.go b/vendor/github.com/IBM/go-sdk-core/v5/core/ordered_maps.go
index 2420b3007..12c34a7d5 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/ordered_maps.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/ordered_maps.go
@@ -28,7 +28,7 @@ type OrderedMaps struct {
}
// Add appends a key/value pair to the ordered list of maps.
-func (m *OrderedMaps) Add(key string, value interface{}) {
+func (m *OrderedMaps) Add(key string, value any) {
m.maps = append(m.maps, yaml.MapItem{
Key: key,
Value: value,
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/request_builder.go b/vendor/github.com/IBM/go-sdk-core/v5/core/request_builder.go
index df9b4c13e..fa72a6d1d 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/request_builder.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/request_builder.go
@@ -59,7 +59,7 @@ const (
type FormData struct {
fileName string
contentType string
- contents interface{}
+ contents any
}
// RequestBuilder is used to build an HTTP Request instance.
@@ -219,10 +219,10 @@ func (requestBuilder *RequestBuilder) AddHeader(name string, value string) *Requ
// AddFormData adds a new mime part (constructed from the input parameters)
// to the request's multi-part form.
func (requestBuilder *RequestBuilder) AddFormData(fieldName string, fileName string, contentType string,
- contents interface{}) *RequestBuilder {
+ contents any) *RequestBuilder {
if fileName == "" {
if file, ok := contents.(*os.File); ok {
- if !((os.File{}) == *file) { // if file is not empty
+ if (os.File{}) != *file { // if file is not empty
name := filepath.Base(file.Name())
fileName = name
}
@@ -237,7 +237,7 @@ func (requestBuilder *RequestBuilder) AddFormData(fieldName string, fileName str
}
// SetBodyContentJSON sets the body content from a JSON structure.
-func (requestBuilder *RequestBuilder) SetBodyContentJSON(bodyContent interface{}) (*RequestBuilder, error) {
+func (requestBuilder *RequestBuilder) SetBodyContentJSON(bodyContent any) (*RequestBuilder, error) {
requestBuilder.Body = new(bytes.Buffer)
err := json.NewEncoder(requestBuilder.Body.(io.Writer)).Encode(bodyContent)
if err != nil {
@@ -281,7 +281,7 @@ func createFormFile(formWriter *multipart.Writer, fieldname string, filename str
}
// SetBodyContentForMultipart sets the body content for a part in a multi-part form.
-func (requestBuilder *RequestBuilder) SetBodyContentForMultipart(contentType string, content interface{}, writer io.Writer) error {
+func (requestBuilder *RequestBuilder) SetBodyContentForMultipart(contentType string, content any, writer io.Writer) error {
var err error
if stream, ok := content.(io.Reader); ok {
_, err = io.Copy(writer, stream)
@@ -483,8 +483,8 @@ func (requestBuilder *RequestBuilder) createMultipartFormRequestBody() (bodyRead
}
// SetBodyContent sets the body content from one of three different sources.
-func (requestBuilder *RequestBuilder) SetBodyContent(contentType string, jsonContent interface{}, jsonPatchContent interface{},
- nonJSONContent interface{}) (builder *RequestBuilder, err error) {
+func (requestBuilder *RequestBuilder) SetBodyContent(contentType string, jsonContent any, jsonPatchContent any,
+ nonJSONContent any) (builder *RequestBuilder, err error) {
if !IsNil(jsonContent) {
builder, err = requestBuilder.SetBodyContentJSON(jsonContent)
if err != nil {
@@ -529,7 +529,7 @@ func (requestBuilder *RequestBuilder) SetBodyContent(contentType string, jsonCon
// AddQuerySlice converts the passed in slice 'slice' by calling the ConverSlice method,
// and adds the converted slice to the request's query string. An error is returned when
// conversion fails.
-func (requestBuilder *RequestBuilder) AddQuerySlice(param string, slice interface{}) (err error) {
+func (requestBuilder *RequestBuilder) AddQuerySlice(param string, slice any) (err error) {
convertedSlice, err := ConvertSlice(slice)
if err != nil {
err = RepurposeSDKProblem(err, "convert-slice-error")
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/unmarshal_v2.go b/vendor/github.com/IBM/go-sdk-core/v5/core/unmarshal_v2.go
index eaf22791b..aff3ec855 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/unmarshal_v2.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/unmarshal_v2.go
@@ -77,7 +77,7 @@ const (
// var err error
// err = UnmarshalPrimitive(rawMessageMap, "field1", &myStruct.Field1)
// err = UnmarshalPrimitive(rawMessageMap, "field2", &myString.Field2)
-func UnmarshalPrimitive(rawInput map[string]json.RawMessage, propertyName string, result interface{}) (err error) {
+func UnmarshalPrimitive(rawInput map[string]json.RawMessage, propertyName string, result any) (err error) {
if propertyName == "" {
err = errors.New(errorPropertyNameMissing)
err = SDKErrorf(err, "", "no-prop-name", getComponentInfo())
@@ -103,7 +103,7 @@ func UnmarshalPrimitive(rawInput map[string]json.RawMessage, propertyName string
// result: the unmarshal destination. This should be a ** (i.e. a ptr to a ptr to a model instance).
// A new instance of the model is constructed by the unmarshaller function and is returned through the ptr
// passed in as 'result'.
-type ModelUnmarshaller func(rawInput map[string]json.RawMessage, result interface{}) error
+type ModelUnmarshaller func(rawInput map[string]json.RawMessage, result any) error
// UnmarshalModel unmarshals 'rawInput' into 'result' while using 'unmarshaller' to unmarshal model instances.
// This function is the single public interface to the various flavors of model-related unmarshal functions.
@@ -186,7 +186,7 @@ type ModelUnmarshaller func(rawInput map[string]json.RawMessage, result interfac
// | | contains an instance of map[string][]Foo
//
// -------------------+--------------------------+------------------------------------------------------------------
-func UnmarshalModel(rawInput interface{}, propertyName string, result interface{}, unmarshaller ModelUnmarshaller) (err error) {
+func UnmarshalModel(rawInput any, propertyName string, result any, unmarshaller ModelUnmarshaller) (err error) {
// Make sure some input is provided. Otherwise return an error.
if IsNil(rawInput) {
err = errors.New(errorUnmarshallInputIsNil)
@@ -285,7 +285,7 @@ func UnmarshalModel(rawInput interface{}, propertyName string, result interface{
// that 'result' points to (i.e. it is legal for 'result' to point to a nil pointer).
//
// 'unmarshaller' is the generated unmarshal function used to unmarshal a single instance of the model.
-func unmarshalModelInstance(rawInput interface{}, propertyName string, result interface{}, unmarshaller ModelUnmarshaller) (err error) {
+func unmarshalModelInstance(rawInput any, propertyName string, result any, unmarshaller ModelUnmarshaller) (err error) {
var rawMap map[string]json.RawMessage
var foundInput bool
@@ -340,7 +340,7 @@ func unmarshalModelInstance(rawInput interface{}, propertyName string, result in
// This function will construct a new slice and return it through 'result'.
//
// 'unmarshaller' is the function used to unmarshal a single instance of the model.
-func unmarshalModelSlice(rawInput interface{}, propertyName string, result interface{}, unmarshaller ModelUnmarshaller) (err error) {
+func unmarshalModelSlice(rawInput any, propertyName string, result any, unmarshaller ModelUnmarshaller) (err error) {
var rawSlice []json.RawMessage
var foundInput bool
@@ -433,7 +433,7 @@ func unmarshalModelSlice(rawInput interface{}, propertyName string, result inter
// This function will construct a new slice of slices and return it through 'result'.
//
// 'unmarshaller' is the function used to unmarshal a single instance of the model.
-func unmarshalModelSliceSlice(rawInput interface{}, propertyName string, result interface{}, unmarshaller ModelUnmarshaller) (err error) {
+func unmarshalModelSliceSlice(rawInput any, propertyName string, result any, unmarshaller ModelUnmarshaller) (err error) {
var rawSlice []json.RawMessage
var foundInput bool
@@ -511,7 +511,7 @@ func unmarshalModelSliceSlice(rawInput interface{}, propertyName string, result
// If 'result' points to a nil map, this function will construct the map prior to adding entries to it.
//
// unmarshaller: the function used to unmarshal a single instance of the model.
-func unmarshalModelMap(rawInput interface{}, propertyName string, result interface{}, unmarshaller ModelUnmarshaller) (err error) {
+func unmarshalModelMap(rawInput any, propertyName string, result any, unmarshaller ModelUnmarshaller) (err error) {
var rawMap map[string]json.RawMessage
var foundInput bool
@@ -592,7 +592,7 @@ func unmarshalModelMap(rawInput interface{}, propertyName string, result interfa
// If 'result' points to a nil map, this function will construct the map prior to adding entries to it.
//
// unmarshaller: the function used to unmarshal a single instance of the model.
-func unmarshalModelSliceMap(rawInput interface{}, propertyName string, result interface{}, unmarshaller ModelUnmarshaller) (err error) {
+func unmarshalModelSliceMap(rawInput any, propertyName string, result any, unmarshaller ModelUnmarshaller) (err error) {
var rawMap map[string]json.RawMessage
var foundInput bool
@@ -657,7 +657,7 @@ func unmarshalModelSliceMap(rawInput interface{}, propertyName string, result in
//
// propertyName: (optional) the name of the property (map entry) within 'rawInput' that contains the
// unmarshal input source. If specified as "", then 'rawInput' is assumed to contain the entire input source directly.
-func getUnmarshalInputSourceMap(rawInput interface{}, propertyName string) (foundInput bool, inputSource map[string]json.RawMessage, err error) {
+func getUnmarshalInputSourceMap(rawInput any, propertyName string) (foundInput bool, inputSource map[string]json.RawMessage, err error) {
foundInput = true
// rawInput should be a map[string]json.RawMessage.
@@ -702,7 +702,7 @@ func getUnmarshalInputSourceMap(rawInput interface{}, propertyName string) (foun
// unmarshal input source. The specified map entry should contain a []json.RawMessage which
// will be used as the unmarshal input source. If 'propertyName' is specified as "", then 'rawInput'
// is assumed to be a []json.RawMessage and contains the entire input source directly.
-func getUnmarshalInputSourceSlice(rawInput interface{}, propertyName string) (foundInput bool, inputSource []json.RawMessage, err error) {
+func getUnmarshalInputSourceSlice(rawInput any, propertyName string) (foundInput bool, inputSource []json.RawMessage, err error) {
// If propertyName was specified, then retrieve that entry from 'rawInput' (assumed to be a map[string]json.RawMessage)
// as our unmarshal input source. Otherwise, just use 'rawInput' directly.
if propertyName != "" {
@@ -768,7 +768,7 @@ func propInsert(propertyName string) string {
// getUnmarshalResultType returns the type associated with an unmarshal result.
// The resulting type can be constructed with the reflect.New() function.
-func getUnmarshalResultType(result interface{}) (ptrType reflect.Type, err error) {
+func getUnmarshalResultType(result any) (ptrType reflect.Type, err error) {
rResultType := reflect.TypeOf(result).Elem().Elem()
switch rResultType.Kind() {
case reflect.Struct, reflect.Slice:
@@ -786,7 +786,7 @@ func getUnmarshalResultType(result interface{}) (ptrType reflect.Type, err error
// getModelResultType returns the type of the 'result' parameter as a string.
// This will be something like "mypackagev1.Foo" or "mypackagev1.FooIntf"
-func getModelResultType(result interface{}) string {
+func getModelResultType(result any) string {
rResultType := reflect.TypeOf(result).Elem()
if rResultType.Kind() == reflect.Pointer {
rResultType = rResultType.Elem()
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/utils.go b/vendor/github.com/IBM/go-sdk-core/v5/core/utils.go
index e3d1fa850..ec09ca49e 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/utils.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/utils.go
@@ -23,6 +23,7 @@ import (
"reflect"
"regexp"
"runtime"
+ "slices"
"strconv"
"strings"
"time"
@@ -44,7 +45,7 @@ const (
)
// IsNil checks if the specified object is nil or not.
-func IsNil(object interface{}) bool {
+func IsNil(object any) bool {
if object == nil {
return true
}
@@ -58,7 +59,7 @@ func IsNil(object interface{}) bool {
}
// ValidateNotNil returns the specified error if 'object' is nil, nil otherwise.
-func ValidateNotNil(object interface{}, errorMsg string) error {
+func ValidateNotNil(object any, errorMsg string) error {
if IsNil(object) {
err := errors.New(errorMsg)
return SDKErrorf(err, "", "obj-is-nil", getComponentInfo())
@@ -68,7 +69,7 @@ func ValidateNotNil(object interface{}, errorMsg string) error {
// ValidateStruct validates 'param' (assumed to be a ptr to a struct) according to the
// annotations attached to its fields.
-func ValidateStruct(param interface{}, paramName string) error {
+func ValidateStruct(param any, paramName string) error {
err := ValidateNotNil(param, paramName+" cannot be nil")
if err != nil {
err = RepurposeSDKProblem(err, "struct-is-nil")
@@ -183,7 +184,7 @@ func SystemInfo() string {
}
// PrettyPrint print pretty.
-func PrettyPrint(result interface{}, resultName string) {
+func PrettyPrint(result any, resultName string) {
output, err := json.MarshalIndent(result, "", " ")
if err == nil {
@@ -204,7 +205,7 @@ var reJsonSlice = regexp.MustCompile(`(?s)\[(\S*)\]`)
// string manipulation on the resulting string, and converts
// the string to a '[]string'. If 'slice' is nil, not a 'slice' type,
// or an error occurred during conversion, an error will be returned
-func ConvertSlice(slice interface{}) (s []string, err error) {
+func ConvertSlice(slice any) (s []string, err error) {
inputIsSlice := false
if IsNil(slice) {
@@ -270,12 +271,7 @@ func ConvertSlice(slice interface{}) (s []string, err error) {
// SliceContains returns true iff "contains" is an element of "slice"
func SliceContains(slice []string, contains string) bool {
- for _, elem := range slice {
- if elem == contains {
- return true
- }
- }
- return false
+ return slices.Contains(slice, contains)
}
// GetQueryParam returns a pointer to the value of query parameter `param` from urlStr,
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/version.go b/vendor/github.com/IBM/go-sdk-core/v5/core/version.go
index 70e7ed10f..47578887d 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/version.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/version.go
@@ -15,4 +15,4 @@ package core
// limitations under the License.
// Version of the SDK
-const __VERSION__ = "5.22.1"
+const __VERSION__ = "5.23.2"
diff --git a/vendor/github.com/IBM/go-sdk-core/v5/core/vpc_instance_authenticator.go b/vendor/github.com/IBM/go-sdk-core/v5/core/vpc_instance_authenticator.go
index 4df928320..1019c4cb7 100644
--- a/vendor/github.com/IBM/go-sdk-core/v5/core/vpc_instance_authenticator.go
+++ b/vendor/github.com/IBM/go-sdk-core/v5/core/vpc_instance_authenticator.go
@@ -39,17 +39,23 @@ import (
// Authorization: Bearer
type VpcInstanceAuthenticator struct {
// [optional] The CRN of the linked trusted IAM profile to be used as the identity of the compute resource.
- // At most one of IAMProfileCRN or IAMProfileID may be specified. If neither one is specified, then
+ // At most one of IAMProfileCRN, IAMProfileID or IAMProfileName may be specified. If neither one is specified, then
// the default IAM profile defined for the compute resource will be used.
// Default value: ""
IAMProfileCRN string
// [optional] The ID of the linked trusted IAM profile to be used when obtaining the IAM access token.
- // At most one of IAMProfileCRN or IAMProfileID may be specified. If neither one is specified, then
+ // At most one of IAMProfileCRN, IAMProfileID or IAMProfileName may be specified. If neither one is specified, then
// the default IAM profile defined for the compute resource will be used.
// Default value: ""
IAMProfileID string
+ // [optional] The name of the linked trusted IAM profile to be used when obtaining the IAM access token.
+ // At most one of IAMProfileCRN, IAMProfileID or IAMProfileName may be specified. If neither one is specified, then
+ // the default IAM profile defined for the compute resource will be used.
+ // Default value: ""
+ IAMProfileName string
+
// [optional] The VPC Instance Metadata Service's base endpoint URL.
// Default value: "http://169.254.169.254"
URL string
@@ -109,44 +115,50 @@ func NewVpcInstanceAuthenticatorBuilder() *VpcInstanceAuthenticatorBuilder {
// SetIAMProfileCRN sets the IAMProfileCRN field in the builder.
func (builder *VpcInstanceAuthenticatorBuilder) SetIAMProfileCRN(s string) *VpcInstanceAuthenticatorBuilder {
- builder.VpcInstanceAuthenticator.IAMProfileCRN = s
+ builder.IAMProfileCRN = s
return builder
}
// SetIAMProfileID sets the IAMProfileID field in the builder.
func (builder *VpcInstanceAuthenticatorBuilder) SetIAMProfileID(s string) *VpcInstanceAuthenticatorBuilder {
- builder.VpcInstanceAuthenticator.IAMProfileID = s
+ builder.IAMProfileID = s
+ return builder
+}
+
+// SetIAMProfileName sets the IAMProfileName field in the builder.
+func (builder *VpcInstanceAuthenticatorBuilder) SetIAMProfileName(s string) *VpcInstanceAuthenticatorBuilder {
+ builder.IAMProfileName = s
return builder
}
// SetURL sets the URL field in the builder.
func (builder *VpcInstanceAuthenticatorBuilder) SetURL(s string) *VpcInstanceAuthenticatorBuilder {
- builder.VpcInstanceAuthenticator.URL = s
+ builder.URL = s
return builder
}
// SetClient sets the Client field in the builder.
func (builder *VpcInstanceAuthenticatorBuilder) SetClient(client *http.Client) *VpcInstanceAuthenticatorBuilder {
- builder.VpcInstanceAuthenticator.Client = client
+ builder.Client = client
return builder
}
// SetServiceVersion sets the ServiceVersion field in the builder.
func (builder *VpcInstanceAuthenticatorBuilder) SetServiceVersion(s string) *VpcInstanceAuthenticatorBuilder {
- builder.VpcInstanceAuthenticator.ServiceVersion = s
+ builder.ServiceVersion = s
return builder
}
// SetTokenLifetime sets the TokenLifetime field in the builder.
func (builder *VpcInstanceAuthenticatorBuilder) SetTokenLifetime(lifetime int) *VpcInstanceAuthenticatorBuilder {
- builder.VpcInstanceAuthenticator.TokenLifetime = lifetime
+ builder.TokenLifetime = lifetime
return builder
}
// Build() returns a validated instance of the VpcInstanceAuthenticator with the config that was set in the builder.
func (builder *VpcInstanceAuthenticatorBuilder) Build() (*VpcInstanceAuthenticator, error) {
// Make sure the config is valid.
- err := builder.VpcInstanceAuthenticator.Validate()
+ err := builder.Validate()
if err != nil {
return nil, RepurposeSDKProblem(err, "validation-failed")
}
@@ -230,6 +242,7 @@ func newVpcInstanceAuthenticatorFromMap(properties map[string]string) (authentic
authenticator, err = NewVpcInstanceAuthenticatorBuilder().
SetIAMProfileCRN(properties[PROPNAME_IAM_PROFILE_CRN]).
SetIAMProfileID(properties[PROPNAME_IAM_PROFILE_ID]).
+ SetIAMProfileName(properties[PROPNAME_IAM_PROFILE_NAME]).
SetURL(properties[PROPNAME_AUTH_URL]).
SetServiceVersion(properties[PROPNAME_VPC_IMS_VERSION]).
Build()
@@ -276,12 +289,21 @@ func (authenticator *VpcInstanceAuthenticator) setTokenData(tokenData *iamTokenD
// Validate the authenticator's configuration.
//
-// Ensures that one of IAMProfileName or IAMProfileID are specified, and the ClientId and ClientSecret pair are
-// mutually inclusive.
+// Ensures that at most one of IAMProfileCRN, IAMProfileID, or IAMProfileName is specified.
func (authenticator *VpcInstanceAuthenticator) Validate() error {
- // Check to make sure that at most one of IAMProfileCRN or IAMProfileID are specified.
- if authenticator.IAMProfileCRN != "" && authenticator.IAMProfileID != "" {
- err := fmt.Errorf(ERRORMSG_ATMOST_ONE_PROP_ERROR, "IAMProfileCRN", "IAMProfileID")
+ // Check to make sure that at most one of IAMProfileCRN, IAMProfileID, or IAMProfileName are specified.
+ counter := 0
+ if authenticator.IAMProfileCRN != "" {
+ counter++
+ }
+ if authenticator.IAMProfileID != "" {
+ counter++
+ }
+ if authenticator.IAMProfileName != "" {
+ counter++
+ }
+ if counter > 1 {
+ err := fmt.Errorf(ERRORMSG_ATMOST_ONE_PROP_ERROR, "IAMProfileCRN", "IAMProfileID", "IAMProfileName")
return SDKErrorf(err, "", "both-props", getComponentInfo())
}
@@ -431,6 +453,9 @@ func (authenticator *VpcInstanceAuthenticator) retrieveIamAccessToken(
if authenticator.IAMProfileID != "" {
requestBody = fmt.Sprintf(`{"trusted_profile": {"id": "%s"}}`, authenticator.IAMProfileID)
}
+ if authenticator.IAMProfileName != "" {
+ requestBody = fmt.Sprintf(`{"trusted_profile": {"name": "%s"}}`, authenticator.IAMProfileName)
+ }
if requestBody != "" {
_, _ = builder.SetBodyContentString(requestBody)
}
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go
index ba7e7270d..7222e27d6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go
@@ -3,4 +3,4 @@
package aws
// goModuleVersion is the tagged release for this module
-const goModuleVersion = "1.43.0"
+const goModuleVersion = "1.43.2"
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/CHANGELOG.md
index b4782971d..7be426c3c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/CHANGELOG.md
+++ b/vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/CHANGELOG.md
@@ -1,3 +1,7 @@
+# v1.7.15 (2026-07-28)
+
+* **Dependency Update**: Update to smithy-go v1.27.5.
+
# v1.7.14 (2026-07-01)
* No change notes available for this release.
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/go_module_metadata.go
index 10135bbb3..db48194cf 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/go_module_metadata.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/go_module_metadata.go
@@ -3,4 +3,4 @@
package eventstream
// goModuleVersion is the tagged release for this module
-const goModuleVersion = "1.7.14"
+const goModuleVersion = "1.7.15"
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.md
index 03d1578b1..afcd57dd3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.md
+++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.md
@@ -1,3 +1,12 @@
+# v1.4.33 (2026-07-29)
+
+* **Dependency Update**: Updated to the latest SDK module versions
+
+# v1.4.32 (2026-07-28)
+
+* **Dependency Update**: Update to smithy-go v1.27.5.
+* **Dependency Update**: Updated to the latest SDK module versions
+
# v1.4.31 (2026-07-21)
* **Dependency Update**: Updated to the latest SDK module versions
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go
index 29af65010..f38ccca23 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.go
@@ -3,4 +3,4 @@
package configsources
// goModuleVersion is the tagged release for this module
-const goModuleVersion = "1.4.31"
+const goModuleVersion = "1.4.33"
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.md
index ab7609799..ae09aa2d0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.md
+++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.md
@@ -1,3 +1,12 @@
+# v2.7.33 (2026-07-29)
+
+* **Dependency Update**: Updated to the latest SDK module versions
+
+# v2.7.32 (2026-07-28)
+
+* **Dependency Update**: Update to smithy-go v1.27.5.
+* **Dependency Update**: Updated to the latest SDK module versions
+
# v2.7.31 (2026-07-21)
* **Dependency Update**: Updated to the latest SDK module versions
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go
index 29f2aedc7..98755086c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.go
@@ -3,4 +3,4 @@
package endpoints
// goModuleVersion is the tagged release for this module
-const goModuleVersion = "2.7.31"
+const goModuleVersion = "2.7.33"
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/CHANGELOG.md
index fecf8ec48..19ff9fc68 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/CHANGELOG.md
+++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/CHANGELOG.md
@@ -1,3 +1,12 @@
+# v1.4.34 (2026-07-29)
+
+* **Dependency Update**: Updated to the latest SDK module versions
+
+# v1.4.33 (2026-07-28)
+
+* **Dependency Update**: Update to smithy-go v1.27.5.
+* **Dependency Update**: Updated to the latest SDK module versions
+
# v1.4.32 (2026-07-21)
* **Dependency Update**: Updated to the latest SDK module versions
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/go_module_metadata.go
index cd7be2fd2..1eb67f426 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/go_module_metadata.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/go_module_metadata.go
@@ -3,4 +3,4 @@
package v4a
// goModuleVersion is the tagged release for this module
-const goModuleVersion = "1.4.32"
+const goModuleVersion = "1.4.34"
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/CHANGELOG.md
index d7b2b9f76..2b164ce8d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/CHANGELOG.md
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/CHANGELOG.md
@@ -1,3 +1,18 @@
+# v1.318.0 (2026-07-29)
+
+* **Feature**: This release adds support for policy-based routing on AWS Transit Gateway, enabling you to route traffic based on 5-tuple matching (source IP, destination IP, source port, destination port, and protocol) using new policy table entry APIs that direct matching traffic to a target route table.
+* **Dependency Update**: Updated to the latest SDK module versions
+
+# v1.317.1 (2026-07-28)
+
+* **Dependency Update**: Update to smithy-go v1.27.5.
+* **Dependency Update**: Updated to the latest SDK module versions
+
+# v1.317.0 (2026-07-21)
+
+* **Feature**: Add an option to clients to disable clock skew
+* **Dependency Update**: Updated to the latest SDK module versions
+
# v1.316.1 (2026-07-13)
* No change notes available for this release.
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_client.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_client.go
index 6a9824a57..38d99881f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_client.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_client.go
@@ -491,16 +491,17 @@ func setResolvedDefaultsMode(o *Options) {
// NewFromConfig returns a new client from the provided config.
func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client {
opts := Options{
- Region: cfg.Region,
- DefaultsMode: cfg.DefaultsMode,
- RuntimeEnvironment: cfg.RuntimeEnvironment,
- HTTPClient: cfg.HTTPClient,
- Credentials: cfg.Credentials,
- APIOptions: cfg.APIOptions,
- Logger: cfg.Logger,
- ClientLogMode: cfg.ClientLogMode,
- AppID: cfg.AppID,
- AuthSchemePreference: cfg.AuthSchemePreference,
+ Region: cfg.Region,
+ DefaultsMode: cfg.DefaultsMode,
+ RuntimeEnvironment: cfg.RuntimeEnvironment,
+ HTTPClient: cfg.HTTPClient,
+ Credentials: cfg.Credentials,
+ APIOptions: cfg.APIOptions,
+ Logger: cfg.Logger,
+ ClientLogMode: cfg.ClientLogMode,
+ AppID: cfg.AppID,
+ DisableClockSkewCorrection: cfg.DisableClockSkewCorrection,
+ AuthSchemePreference: cfg.AuthSchemePreference,
}
resolveAWSRetryerProvider(cfg, &opts)
resolveAWSRetryMaxAttempts(cfg, &opts)
@@ -697,8 +698,10 @@ func addRawResponseToMetadata(stack *middleware.Stack) error {
return stack.Deserialize.Add(&awsmiddleware.AddRawResponse{}, middleware.Before)
}
-func addRecordResponseTiming(stack *middleware.Stack) error {
- return stack.Deserialize.Add(&awsmiddleware.RecordResponseTiming{}, middleware.After)
+func addRecordResponseTiming(stack *middleware.Stack, options Options) error {
+ return stack.Deserialize.Add(&awsmiddleware.RecordResponseTiming{
+ DisableClockSkewCorrection: options.DisableClockSkewCorrection,
+ }, middleware.After)
}
func addSpanRetryLoop(stack *middleware.Stack, options Options) error {
@@ -776,6 +779,7 @@ func addRetry(stack *middleware.Stack, o Options, c *Client) error {
m.LogAttempts = o.ClientLogMode.IsRetries()
m.OperationMeter = o.MeterProvider.Meter("github.com/aws/aws-sdk-go-v2/service/ec2")
m.ClientSkew = c.timeOffset
+ m.DisableClockSkewCorrection = o.DisableClockSkewCorrection
})
if err := stack.Finalize.Insert(attempt, "ResolveAuthScheme", middleware.Before); err != nil {
return err
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptAddressTransfer.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptAddressTransfer.go
index fa1f9237b..af5088cb2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptAddressTransfer.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptAddressTransfer.go
@@ -83,7 +83,7 @@ func (c *Client) addOperationAcceptAddressTransferMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptCapacityReservationBillingOwnership.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptCapacityReservationBillingOwnership.go
index c6f194bf3..9f4650a95 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptCapacityReservationBillingOwnership.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptCapacityReservationBillingOwnership.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationAcceptCapacityReservationBillingOwnershipMiddleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go
index c3ae65907..d3f513548 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationAcceptReservedInstancesExchangeQuoteMiddlewares(sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptTransitGatewayClientVpnAttachment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptTransitGatewayClientVpnAttachment.go
index f9a4d46da..73a33a5f0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptTransitGatewayClientVpnAttachment.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptTransitGatewayClientVpnAttachment.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationAcceptTransitGatewayClientVpnAttachmentMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go
index 6087eca40..8e3daacf4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationAcceptTransitGatewayMulticastDomainAssociationsMidd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go
index 685735e9c..a18f8e457 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go
@@ -75,7 +75,7 @@ func (c *Client) addOperationAcceptTransitGatewayPeeringAttachmentMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go
index 27c66e983..52ae7c053 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationAcceptTransitGatewayVpcAttachmentMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptVpcEndpointConnections.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptVpcEndpointConnections.go
index 0695147b9..3db0dd527 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptVpcEndpointConnections.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptVpcEndpointConnections.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationAcceptVpcEndpointConnectionsMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptVpcPeeringConnection.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptVpcPeeringConnection.go
index c4598f159..88af37b6a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptVpcPeeringConnection.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AcceptVpcPeeringConnection.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationAcceptVpcPeeringConnectionMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AdvertiseByoipCidr.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AdvertiseByoipCidr.go
index 00a54fb51..22d3e45c2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AdvertiseByoipCidr.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AdvertiseByoipCidr.go
@@ -111,7 +111,7 @@ func (c *Client) addOperationAdvertiseByoipCidrMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AllocateAddress.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AllocateAddress.go
index b2a3f67ea..7acf7d998 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AllocateAddress.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AllocateAddress.go
@@ -154,7 +154,7 @@ func (c *Client) addOperationAllocateAddressMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AllocateHosts.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AllocateHosts.go
index 81b699e1d..ab58dc12a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AllocateHosts.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AllocateHosts.go
@@ -156,7 +156,7 @@ func (c *Client) addOperationAllocateHostsMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AllocateIpamPoolCidr.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AllocateIpamPoolCidr.go
index cce84aa3b..7a5614b16 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AllocateIpamPoolCidr.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AllocateIpamPoolCidr.go
@@ -141,7 +141,7 @@ func (c *Client) addOperationAllocateIpamPoolCidrMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go
index 5a5d65591..195dc320f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationApplySecurityGroupsToClientVpnTargetNetworkMiddlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssignIpv6Addresses.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssignIpv6Addresses.go
index 15c66f004..db2a38c3b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssignIpv6Addresses.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssignIpv6Addresses.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationAssignIpv6AddressesMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssignPrivateIpAddresses.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssignPrivateIpAddresses.go
index 0b4283f6d..e7e005f7c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssignPrivateIpAddresses.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssignPrivateIpAddresses.go
@@ -125,7 +125,7 @@ func (c *Client) addOperationAssignPrivateIpAddressesMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssignPrivateNatGatewayAddress.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssignPrivateNatGatewayAddress.go
index 6b685a5ce..d71e8b0c4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssignPrivateNatGatewayAddress.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssignPrivateNatGatewayAddress.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationAssignPrivateNatGatewayAddressMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateAddress.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateAddress.go
index d3550af62..70c509588 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateAddress.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateAddress.go
@@ -117,7 +117,7 @@ func (c *Client) addOperationAssociateAddressMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateCapacityReservationBillingOwner.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateCapacityReservationBillingOwner.go
index 42695d306..eaa4118ff 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateCapacityReservationBillingOwner.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateCapacityReservationBillingOwner.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationAssociateCapacityReservationBillingOwnerMiddlewares
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateClientVpnTargetNetwork.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateClientVpnTargetNetwork.go
index 2434e52b2..ad75fbeb2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateClientVpnTargetNetwork.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateClientVpnTargetNetwork.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationAssociateClientVpnTargetNetworkMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateDhcpOptions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateDhcpOptions.go
index 42b99ae80..376558f04 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateDhcpOptions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateDhcpOptions.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationAssociateDhcpOptionsMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go
index 4a16202af..2fb111bda 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationAssociateEnclaveCertificateIamRoleMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateIamInstanceProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateIamInstanceProfile.go
index 8d47b73b8..526ab0cbc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateIamInstanceProfile.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateIamInstanceProfile.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationAssociateIamInstanceProfileMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateInstanceEventWindow.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateInstanceEventWindow.go
index a58dfb6b8..bfc8c2304 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateInstanceEventWindow.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateInstanceEventWindow.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationAssociateInstanceEventWindowMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateIpamByoasn.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateIpamByoasn.go
index b9ce5356b..9dd016d80 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateIpamByoasn.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateIpamByoasn.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationAssociateIpamByoasnMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateIpamResourceDiscovery.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateIpamResourceDiscovery.go
index 456746023..82f36fa68 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateIpamResourceDiscovery.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateIpamResourceDiscovery.go
@@ -89,7 +89,7 @@ func (c *Client) addOperationAssociateIpamResourceDiscoveryMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateNatGatewayAddress.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateNatGatewayAddress.go
index bace3b8af..58810d155 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateNatGatewayAddress.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateNatGatewayAddress.go
@@ -123,7 +123,7 @@ func (c *Client) addOperationAssociateNatGatewayAddressMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateRouteServer.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateRouteServer.go
index 5f3ce2802..5b8f24438 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateRouteServer.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateRouteServer.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationAssociateRouteServerMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateRouteTable.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateRouteTable.go
index f9bbd2f5e..6babbe9e6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateRouteTable.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateRouteTable.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationAssociateRouteTableMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateSecurityGroupVpc.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateSecurityGroupVpc.go
index fe9b5a9be..51051d9b4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateSecurityGroupVpc.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateSecurityGroupVpc.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationAssociateSecurityGroupVpcMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateSubnetCidrBlock.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateSubnetCidrBlock.go
index 973c1d225..33ffdca68 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateSubnetCidrBlock.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateSubnetCidrBlock.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationAssociateSubnetCidrBlockMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go
index a79fe02c6..6ab0633d5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationAssociateTransitGatewayMulticastDomainMiddlewares(s
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateTransitGatewayPolicyTable.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateTransitGatewayPolicyTable.go
index 55d8c2174..d15fa2d03 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateTransitGatewayPolicyTable.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateTransitGatewayPolicyTable.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationAssociateTransitGatewayPolicyTableMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateTransitGatewayRouteTable.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateTransitGatewayRouteTable.go
index 9c5b210d2..4098181d5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateTransitGatewayRouteTable.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateTransitGatewayRouteTable.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationAssociateTransitGatewayRouteTableMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateTrunkInterface.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateTrunkInterface.go
index dd74e4b91..8ca49638a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateTrunkInterface.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateTrunkInterface.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationAssociateTrunkInterfaceMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateVpcCidrBlock.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateVpcCidrBlock.go
index 80b0df80b..351c91ca6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateVpcCidrBlock.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AssociateVpcCidrBlock.go
@@ -138,7 +138,7 @@ func (c *Client) addOperationAssociateVpcCidrBlockMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachClassicLinkVpc.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachClassicLinkVpc.go
index 2c6abfef7..98a3b8617 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachClassicLinkVpc.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachClassicLinkVpc.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationAttachClassicLinkVpcMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachImageWatermark.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachImageWatermark.go
index c5ada9bb8..d246eb736 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachImageWatermark.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachImageWatermark.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationAttachImageWatermarkMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachInternetGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachInternetGateway.go
index 42cba3f8a..16b8bce46 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachInternetGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachInternetGateway.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationAttachInternetGatewayMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachNetworkInterface.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachNetworkInterface.go
index 5a16a7053..c1e801d83 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachNetworkInterface.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachNetworkInterface.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationAttachNetworkInterfaceMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachVerifiedAccessTrustProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachVerifiedAccessTrustProvider.go
index a972990c9..4011764c7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachVerifiedAccessTrustProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachVerifiedAccessTrustProvider.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationAttachVerifiedAccessTrustProviderMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachVolume.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachVolume.go
index 1bb20e329..58318d952 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachVolume.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachVolume.go
@@ -155,7 +155,7 @@ func (c *Client) addOperationAttachVolumeMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachVpnGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachVpnGateway.go
index 1e650d7f4..e5bfdc230 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachVpnGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AttachVpnGateway.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationAttachVpnGatewayMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AuthorizeClientVpnIngress.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AuthorizeClientVpnIngress.go
index 563dd58d0..18d0b9333 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AuthorizeClientVpnIngress.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AuthorizeClientVpnIngress.go
@@ -103,7 +103,7 @@ func (c *Client) addOperationAuthorizeClientVpnIngressMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AuthorizeSecurityGroupEgress.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AuthorizeSecurityGroupEgress.go
index 375038aa4..b7c4ab855 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AuthorizeSecurityGroupEgress.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AuthorizeSecurityGroupEgress.go
@@ -124,7 +124,7 @@ func (c *Client) addOperationAuthorizeSecurityGroupEgressMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AuthorizeSecurityGroupIngress.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AuthorizeSecurityGroupIngress.go
index acfa7db3d..888f6c4ef 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AuthorizeSecurityGroupIngress.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_AuthorizeSecurityGroupIngress.go
@@ -172,7 +172,7 @@ func (c *Client) addOperationAuthorizeSecurityGroupIngressMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_BundleInstance.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_BundleInstance.go
index 00c5718a9..fd4ba3801 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_BundleInstance.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_BundleInstance.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationBundleInstanceMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelBundleTask.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelBundleTask.go
index c71557cfe..5e16083c1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelBundleTask.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelBundleTask.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationCancelBundleTaskMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelCapacityReservation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelCapacityReservation.go
index d241c693b..bf360e05c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelCapacityReservation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelCapacityReservation.go
@@ -116,7 +116,7 @@ func (c *Client) addOperationCancelCapacityReservationMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelCapacityReservationFleets.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelCapacityReservationFleets.go
index 42651510d..dff2419cf 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelCapacityReservationFleets.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelCapacityReservationFleets.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationCancelCapacityReservationFleetsMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelConversionTask.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelConversionTask.go
index 62b351fb9..60b6bfc33 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelConversionTask.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelConversionTask.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationCancelConversionTaskMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelDeclarativePoliciesReport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelDeclarativePoliciesReport.go
index 1dc2f6c1b..d77d94712 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelDeclarativePoliciesReport.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelDeclarativePoliciesReport.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationCancelDeclarativePoliciesReportMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelExportTask.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelExportTask.go
index c8fae65e0..6843a846a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelExportTask.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelExportTask.go
@@ -67,7 +67,7 @@ func (c *Client) addOperationCancelExportTaskMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelImageLaunchPermission.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelImageLaunchPermission.go
index b99b058f8..74d0fa419 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelImageLaunchPermission.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelImageLaunchPermission.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationCancelImageLaunchPermissionMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelImportTask.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelImportTask.go
index c3e26c4cc..68c71e75f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelImportTask.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelImportTask.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationCancelImportTaskMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelReservedInstancesListing.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelReservedInstancesListing.go
index b5662d554..2d3288326 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelReservedInstancesListing.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelReservedInstancesListing.go
@@ -75,7 +75,7 @@ func (c *Client) addOperationCancelReservedInstancesListingMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelSpotFleetRequests.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelSpotFleetRequests.go
index 99eb0d3d4..af5e6c3ba 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelSpotFleetRequests.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelSpotFleetRequests.go
@@ -116,7 +116,7 @@ func (c *Client) addOperationCancelSpotFleetRequestsMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelSpotInstanceRequests.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelSpotInstanceRequests.go
index e92f6f6e7..2b9cd51c1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelSpotInstanceRequests.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelSpotInstanceRequests.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationCancelSpotInstanceRequestsMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ConfirmProductInstance.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ConfirmProductInstance.go
index 99cfa590a..d6ac4ec3c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ConfirmProductInstance.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ConfirmProductInstance.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationConfirmProductInstanceMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CopyFpgaImage.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CopyFpgaImage.go
index 5f1e0b6fd..54f16599a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CopyFpgaImage.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CopyFpgaImage.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationCopyFpgaImageMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CopyImage.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CopyImage.go
index c842748ba..22c619514 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CopyImage.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CopyImage.go
@@ -268,7 +268,7 @@ func (c *Client) addOperationCopyImageMiddlewares(stack *middleware.Stack, optio
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CopySnapshot.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CopySnapshot.go
index ca27b4eb3..776ef3444 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CopySnapshot.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CopySnapshot.go
@@ -197,7 +197,7 @@ func (c *Client) addOperationCopySnapshotMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CopyVolumes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CopyVolumes.go
index 1dddaeeec..91cb9971c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CopyVolumes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CopyVolumes.go
@@ -144,7 +144,7 @@ func (c *Client) addOperationCopyVolumesMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityManagerDataExport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityManagerDataExport.go
index 4432ff9c9..a484e5ae9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityManagerDataExport.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityManagerDataExport.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationCreateCapacityManagerDataExportMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservation.go
index cd50f1090..502204faf 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservation.go
@@ -254,7 +254,7 @@ func (c *Client) addOperationCreateCapacityReservationMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservationBySplitting.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservationBySplitting.go
index 2fa4dcede..5eac57c91 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservationBySplitting.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservationBySplitting.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationCreateCapacityReservationBySplittingMiddlewares(sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservationCancellationQuote.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservationCancellationQuote.go
index 07c7b3f9d..dc2135a6f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservationCancellationQuote.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservationCancellationQuote.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationCreateCapacityReservationCancellationQuoteMiddlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservationFleet.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservationFleet.go
index e16dd3557..139519beb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservationFleet.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservationFleet.go
@@ -170,7 +170,7 @@ func (c *Client) addOperationCreateCapacityReservationFleetMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCarrierGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCarrierGateway.go
index fdd9e67d5..c999932e2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCarrierGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCarrierGateway.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationCreateCarrierGatewayMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateClientVpnEndpoint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateClientVpnEndpoint.go
index 44fa4a096..99dad2289 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateClientVpnEndpoint.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateClientVpnEndpoint.go
@@ -216,7 +216,7 @@ func (c *Client) addOperationCreateClientVpnEndpointMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateClientVpnRoute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateClientVpnRoute.go
index 4c49bd1bf..fe086281b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateClientVpnRoute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateClientVpnRoute.go
@@ -110,7 +110,7 @@ func (c *Client) addOperationCreateClientVpnRouteMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCoipCidr.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCoipCidr.go
index 6d442c647..8359a85a5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCoipCidr.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCoipCidr.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationCreateCoipCidrMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCoipPool.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCoipPool.go
index fcf8dbc06..218ec6754 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCoipPool.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCoipPool.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationCreateCoipPoolMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCustomerGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCustomerGateway.go
index 00070fb2f..4ded61a3e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCustomerGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCustomerGateway.go
@@ -130,7 +130,7 @@ func (c *Client) addOperationCreateCustomerGatewayMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDefaultSubnet.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDefaultSubnet.go
index f48e5924d..77a3d40ac 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDefaultSubnet.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDefaultSubnet.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationCreateDefaultSubnetMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDefaultVpc.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDefaultVpc.go
index d1ef681ad..b39145722 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDefaultVpc.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDefaultVpc.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationCreateDefaultVpcMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDelegateMacVolumeOwnershipTask.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDelegateMacVolumeOwnershipTask.go
index d1f7d1caf..112e94d8b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDelegateMacVolumeOwnershipTask.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDelegateMacVolumeOwnershipTask.go
@@ -112,7 +112,7 @@ func (c *Client) addOperationCreateDelegateMacVolumeOwnershipTaskMiddlewares(sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDhcpOptions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDhcpOptions.go
index e9482505f..c01a5bdd4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDhcpOptions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateDhcpOptions.go
@@ -121,7 +121,7 @@ func (c *Client) addOperationCreateDhcpOptionsMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateEgressOnlyInternetGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateEgressOnlyInternetGateway.go
index 2ecd13b25..b4f284068 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateEgressOnlyInternetGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateEgressOnlyInternetGateway.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationCreateEgressOnlyInternetGatewayMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateFleet.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateFleet.go
index f397c0551..8d1b7cf5d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateFleet.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateFleet.go
@@ -185,7 +185,7 @@ func (c *Client) addOperationCreateFleetMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateFlowLogs.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateFlowLogs.go
index 72bcb875d..8bc96d595 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateFlowLogs.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateFlowLogs.go
@@ -197,7 +197,7 @@ func (c *Client) addOperationCreateFlowLogsMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateFpgaImage.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateFpgaImage.go
index 8ea06c5c8..8682ead37 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateFpgaImage.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateFpgaImage.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationCreateFpgaImageMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateImage.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateImage.go
index c1e6a6192..f38ccb320 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateImage.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateImage.go
@@ -170,7 +170,7 @@ func (c *Client) addOperationCreateImageMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateImageUsageReport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateImageUsageReport.go
index 3ff1f03cc..f29b54fcc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateImageUsageReport.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateImageUsageReport.go
@@ -103,7 +103,7 @@ func (c *Client) addOperationCreateImageUsageReportMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInstanceConnectEndpoint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInstanceConnectEndpoint.go
index e9571042d..9bc7c173f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInstanceConnectEndpoint.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInstanceConnectEndpoint.go
@@ -125,7 +125,7 @@ func (c *Client) addOperationCreateInstanceConnectEndpointMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInstanceEventWindow.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInstanceEventWindow.go
index 44065330a..201ba8705 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInstanceEventWindow.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInstanceEventWindow.go
@@ -127,7 +127,7 @@ func (c *Client) addOperationCreateInstanceEventWindowMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInstanceExportTask.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInstanceExportTask.go
index bf220dd9d..6a470124a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInstanceExportTask.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInstanceExportTask.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationCreateInstanceExportTaskMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInternetGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInternetGateway.go
index 66d378ef4..3a8bf1a6f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInternetGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInternetGateway.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationCreateInternetGatewayMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInterruptibleCapacityReservationAllocation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInterruptibleCapacityReservationAllocation.go
index 351c52836..74cdb945c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInterruptibleCapacityReservationAllocation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateInterruptibleCapacityReservationAllocation.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationCreateInterruptibleCapacityReservationAllocationMid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpam.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpam.go
index 400d2f418..b7b6addbc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpam.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpam.go
@@ -129,7 +129,7 @@ func (c *Client) addOperationCreateIpamMiddlewares(stack *middleware.Stack, opti
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamExternalResourceVerificationToken.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamExternalResourceVerificationToken.go
index 47b48caea..f6f7bbf89 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamExternalResourceVerificationToken.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamExternalResourceVerificationToken.go
@@ -89,7 +89,7 @@ func (c *Client) addOperationCreateIpamExternalResourceVerificationTokenMiddlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamPolicy.go
index 9b8de4726..5726c93fd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamPolicy.go
@@ -103,7 +103,7 @@ func (c *Client) addOperationCreateIpamPolicyMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamPool.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamPool.go
index 860fd0216..7e812aa21 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamPool.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamPool.go
@@ -183,7 +183,7 @@ func (c *Client) addOperationCreateIpamPoolMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamPrefixListResolver.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamPrefixListResolver.go
index c3de281b0..dec1f6138 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamPrefixListResolver.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamPrefixListResolver.go
@@ -117,7 +117,7 @@ func (c *Client) addOperationCreateIpamPrefixListResolverMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamPrefixListResolverTarget.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamPrefixListResolverTarget.go
index 38978c88b..543c7ce21 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamPrefixListResolverTarget.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamPrefixListResolverTarget.go
@@ -130,7 +130,7 @@ func (c *Client) addOperationCreateIpamPrefixListResolverTargetMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamResourceDiscovery.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamResourceDiscovery.go
index d6d2e3887..db43cd209 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamResourceDiscovery.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamResourceDiscovery.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationCreateIpamResourceDiscoveryMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamScope.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamScope.go
index 7ac6da2d2..313f20811 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamScope.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateIpamScope.go
@@ -110,7 +110,7 @@ func (c *Client) addOperationCreateIpamScopeMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateKeyPair.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateKeyPair.go
index a9314b4d1..20866624d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateKeyPair.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateKeyPair.go
@@ -122,7 +122,7 @@ func (c *Client) addOperationCreateKeyPairMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLaunchTemplate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLaunchTemplate.go
index 6004585f8..aa847541f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLaunchTemplate.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLaunchTemplate.go
@@ -123,7 +123,7 @@ func (c *Client) addOperationCreateLaunchTemplateMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLaunchTemplateVersion.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLaunchTemplateVersion.go
index ee7a3362f..e4085eff4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLaunchTemplateVersion.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLaunchTemplateVersion.go
@@ -142,7 +142,7 @@ func (c *Client) addOperationCreateLaunchTemplateVersionMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayRoute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayRoute.go
index b26c1301e..9afdb5b1e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayRoute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayRoute.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationCreateLocalGatewayRouteMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayRouteTable.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayRouteTable.go
index df63c3e3c..72465feca 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayRouteTable.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayRouteTable.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationCreateLocalGatewayRouteTableMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go
index 39a2e1e47..961e2ac3c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationCreateLocalGatewayRouteTableVirtualInterfaceGroupAs
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go
index 286ca561a..789a0b10a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationCreateLocalGatewayRouteTableVpcAssociationMiddlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayVirtualInterface.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayVirtualInterface.go
index cfc410644..bcd40515d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayVirtualInterface.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayVirtualInterface.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationCreateLocalGatewayVirtualInterfaceMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayVirtualInterfaceGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayVirtualInterfaceGroup.go
index 5b7f6f2a5..8fdff3b49 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayVirtualInterfaceGroup.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateLocalGatewayVirtualInterfaceGroup.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationCreateLocalGatewayVirtualInterfaceGroupMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateMacSystemIntegrityProtectionModificationTask.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateMacSystemIntegrityProtectionModificationTask.go
index 4897595ff..ae30df28d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateMacSystemIntegrityProtectionModificationTask.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateMacSystemIntegrityProtectionModificationTask.go
@@ -155,7 +155,7 @@ func (c *Client) addOperationCreateMacSystemIntegrityProtectionModificationTaskM
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateManagedPrefixList.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateManagedPrefixList.go
index a070d425e..0316ef319 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateManagedPrefixList.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateManagedPrefixList.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationCreateManagedPrefixListMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNatGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNatGateway.go
index f68f81de3..d38c02409 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNatGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNatGateway.go
@@ -182,7 +182,7 @@ func (c *Client) addOperationCreateNatGatewayMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkAcl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkAcl.go
index dbfbbb950..74a8dacbb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkAcl.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkAcl.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationCreateNetworkAclMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkAclEntry.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkAclEntry.go
index 2fb53766f..2d1ba5d12 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkAclEntry.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkAclEntry.go
@@ -135,7 +135,7 @@ func (c *Client) addOperationCreateNetworkAclEntryMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkInsightsAccessScope.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkInsightsAccessScope.go
index deecd2caf..248d37b98 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkInsightsAccessScope.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkInsightsAccessScope.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationCreateNetworkInsightsAccessScopeMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkInsightsPath.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkInsightsPath.go
index a43538731..78f816f52 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkInsightsPath.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkInsightsPath.go
@@ -121,7 +121,7 @@ func (c *Client) addOperationCreateNetworkInsightsPathMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkInterface.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkInterface.go
index 81bbdd316..7d27339f6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkInterface.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkInterface.go
@@ -203,7 +203,7 @@ func (c *Client) addOperationCreateNetworkInterfaceMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkInterfacePermission.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkInterfacePermission.go
index c0efb199d..34f362cf2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkInterfacePermission.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateNetworkInterfacePermission.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationCreateNetworkInterfacePermissionMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreatePlacementGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreatePlacementGroup.go
index 673572a18..7fa22b2aa 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreatePlacementGroup.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreatePlacementGroup.go
@@ -114,7 +114,7 @@ func (c *Client) addOperationCreatePlacementGroupMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreatePublicIpv4Pool.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreatePublicIpv4Pool.go
index dff1eacfa..0f2bc704b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreatePublicIpv4Pool.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreatePublicIpv4Pool.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationCreatePublicIpv4PoolMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateReplaceRootVolumeTask.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateReplaceRootVolumeTask.go
index c7f040099..2a901716e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateReplaceRootVolumeTask.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateReplaceRootVolumeTask.go
@@ -152,7 +152,7 @@ func (c *Client) addOperationCreateReplaceRootVolumeTaskMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateReservedInstancesListing.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateReservedInstancesListing.go
index 0c1e30e87..c18573d07 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateReservedInstancesListing.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateReservedInstancesListing.go
@@ -115,7 +115,7 @@ func (c *Client) addOperationCreateReservedInstancesListingMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRestoreImageTask.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRestoreImageTask.go
index 63fa86c83..9f5a59da6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRestoreImageTask.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRestoreImageTask.go
@@ -103,7 +103,7 @@ func (c *Client) addOperationCreateRestoreImageTaskMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRoute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRoute.go
index 061a817d4..59a72f301 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRoute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRoute.go
@@ -145,7 +145,7 @@ func (c *Client) addOperationCreateRouteMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRouteServer.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRouteServer.go
index 871bc7d62..ee2de118c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRouteServer.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRouteServer.go
@@ -129,7 +129,7 @@ func (c *Client) addOperationCreateRouteServerMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRouteServerEndpoint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRouteServerEndpoint.go
index 3a872291f..8107deeb7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRouteServerEndpoint.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRouteServerEndpoint.go
@@ -95,7 +95,7 @@ func (c *Client) addOperationCreateRouteServerEndpointMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRouteServerPeer.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRouteServerPeer.go
index 0a0abd6fc..519aa733c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRouteServerPeer.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRouteServerPeer.go
@@ -103,7 +103,7 @@ func (c *Client) addOperationCreateRouteServerPeerMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRouteTable.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRouteTable.go
index 200d4b8bc..981317af9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRouteTable.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateRouteTable.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationCreateRouteTableMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSecondaryNetwork.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSecondaryNetwork.go
index f74e48d79..bbb2ece4e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSecondaryNetwork.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSecondaryNetwork.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationCreateSecondaryNetworkMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSecondarySubnet.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSecondarySubnet.go
index c047134ed..90c05fede 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSecondarySubnet.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSecondarySubnet.go
@@ -113,7 +113,7 @@ func (c *Client) addOperationCreateSecondarySubnetMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSecurityGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSecurityGroup.go
index 5d0ad2d5a..22e28478a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSecurityGroup.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSecurityGroup.go
@@ -120,7 +120,7 @@ func (c *Client) addOperationCreateSecurityGroupMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSnapshot.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSnapshot.go
index 46825731a..32e3f9566 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSnapshot.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSnapshot.go
@@ -251,7 +251,7 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSnapshots.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSnapshots.go
index b0519a6fc..c0cf10e0c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSnapshots.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSnapshots.go
@@ -127,7 +127,7 @@ func (c *Client) addOperationCreateSnapshotsMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSpotDatafeedSubscription.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSpotDatafeedSubscription.go
index 3ad9c1caf..a9d7e8104 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSpotDatafeedSubscription.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSpotDatafeedSubscription.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationCreateSpotDatafeedSubscriptionMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateStoreImageTask.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateStoreImageTask.go
index 9d0cd24a0..92472c1a8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateStoreImageTask.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateStoreImageTask.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationCreateStoreImageTaskMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSubnet.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSubnet.go
index adbae29c8..4facfab82 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSubnet.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSubnet.go
@@ -152,7 +152,7 @@ func (c *Client) addOperationCreateSubnetMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSubnetCidrReservation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSubnetCidrReservation.go
index b13c6088d..7035d54b1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSubnetCidrReservation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateSubnetCidrReservation.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationCreateSubnetCidrReservationMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTags.go
index fc047a5a2..fe18baa5a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTags.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTags.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationCreateTagsMiddlewares(stack *middleware.Stack, opti
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTrafficMirrorFilter.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTrafficMirrorFilter.go
index 7fb8bc10d..3dbcbef81 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTrafficMirrorFilter.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTrafficMirrorFilter.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationCreateTrafficMirrorFilterMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTrafficMirrorFilterRule.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTrafficMirrorFilterRule.go
index a4515a883..2fcfe08ee 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTrafficMirrorFilterRule.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTrafficMirrorFilterRule.go
@@ -138,7 +138,7 @@ func (c *Client) addOperationCreateTrafficMirrorFilterRuleMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTrafficMirrorSession.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTrafficMirrorSession.go
index 8c55be914..540c7ec1d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTrafficMirrorSession.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTrafficMirrorSession.go
@@ -146,7 +146,7 @@ func (c *Client) addOperationCreateTrafficMirrorSessionMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTrafficMirrorTarget.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTrafficMirrorTarget.go
index 730faf5d9..0487f4c69 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTrafficMirrorTarget.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTrafficMirrorTarget.go
@@ -110,7 +110,7 @@ func (c *Client) addOperationCreateTrafficMirrorTargetMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGateway.go
index 4571faea9..a51c707f0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGateway.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationCreateTransitGatewayMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayConnect.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayConnect.go
index 73f912164..239c7e3a0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayConnect.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayConnect.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationCreateTransitGatewayConnectMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayConnectPeer.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayConnectPeer.go
index e24cc5a65..08ba4adc1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayConnectPeer.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayConnectPeer.go
@@ -109,7 +109,7 @@ func (c *Client) addOperationCreateTransitGatewayConnectPeerMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayMeteringPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayMeteringPolicy.go
index f877bbcb3..524cb128e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayMeteringPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayMeteringPolicy.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationCreateTransitGatewayMeteringPolicyMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayMeteringPolicyEntry.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayMeteringPolicyEntry.go
index 04d69f2f0..bca4a0353 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayMeteringPolicyEntry.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayMeteringPolicyEntry.go
@@ -118,7 +118,7 @@ func (c *Client) addOperationCreateTransitGatewayMeteringPolicyEntryMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go
index d2c274138..6b5620326 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationCreateTransitGatewayMulticastDomainMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go
index a97775fe4..54a0cd6d2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationCreateTransitGatewayPeeringAttachmentMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayPolicyTable.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayPolicyTable.go
index c851b4146..454234de8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayPolicyTable.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayPolicyTable.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationCreateTransitGatewayPolicyTableMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayPolicyTableEntry.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayPolicyTableEntry.go
new file mode 100644
index 000000000..2a28f7560
--- /dev/null
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayPolicyTableEntry.go
@@ -0,0 +1,126 @@
+// Code generated by smithy-go-codegen DO NOT EDIT.
+
+package ec2
+
+import (
+ "context"
+ "github.com/aws/aws-sdk-go-v2/service/ec2/types"
+ "github.com/aws/smithy-go/middleware"
+ smithyhttp "github.com/aws/smithy-go/transport/http"
+)
+
+// Creates an entry in a transit gateway policy table to route matching traffic to
+// a specified route table.
+func (c *Client) CreateTransitGatewayPolicyTableEntry(ctx context.Context, params *CreateTransitGatewayPolicyTableEntryInput, optFns ...func(*Options)) (*CreateTransitGatewayPolicyTableEntryOutput, error) {
+ if params == nil {
+ params = &CreateTransitGatewayPolicyTableEntryInput{}
+ }
+
+ result, metadata, err := c.invokeOperation(ctx, "CreateTransitGatewayPolicyTableEntry", params, optFns, c.addOperationCreateTransitGatewayPolicyTableEntryMiddlewares)
+ if err != nil {
+ return nil, err
+ }
+
+ out := result.(*CreateTransitGatewayPolicyTableEntryOutput)
+ out.ResultMetadata = metadata
+ return out, nil
+}
+
+type CreateTransitGatewayPolicyTableEntryInput struct {
+
+ // The rule number for the policy table entry. Lower rule numbers are evaluated
+ // first and take precedence.
+ //
+ // This member is required.
+ PolicyRuleNumber *string
+
+ // The ID of the transit gateway route table to use for traffic matching this rule.
+ //
+ // This member is required.
+ TargetRouteTableId *string
+
+ // The ID of the transit gateway policy table.
+ //
+ // This member is required.
+ TransitGatewayPolicyTableId *string
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have the
+ // required permissions, the error response is DryRunOperation . Otherwise, it is
+ // UnauthorizedOperation .
+ DryRun *bool
+
+ // The matching criteria for the policy table entry.
+ PolicyRule *types.TransitGatewayRequestPolicyRule
+
+ noSmithyDocumentSerde
+}
+
+type CreateTransitGatewayPolicyTableEntryOutput struct {
+
+ // Describes a transit gateway policy table entry
+ TransitGatewayPolicyTableEntry *types.TransitGatewayPolicyTableEntry
+
+ // Metadata pertaining to the operation's result.
+ ResultMetadata middleware.Metadata
+
+ noSmithyDocumentSerde
+}
+
+func (c *Client) addOperationCreateTransitGatewayPolicyTableEntryMiddlewares(stack *middleware.Stack, options Options) (err error) {
+ err = stack.Serialize.Add(&awsEc2query_serializeOpCreateTransitGatewayPolicyTableEntry{}, middleware.After)
+ if err != nil {
+ return err
+ }
+ err = stack.Deserialize.Add(&awsEc2query_deserializeOpCreateTransitGatewayPolicyTableEntry{}, middleware.After)
+ if err != nil {
+ return err
+ }
+
+ if err = addlegacyEndpointContextSetter(stack, options); err != nil {
+ return err
+ }
+ if err = addComputeContentLength(stack); err != nil {
+ return err
+ }
+ if err = addResolveEndpointMiddleware(stack, options); err != nil {
+ return err
+ }
+ if err = addComputePayloadSHA256(stack); err != nil {
+ return err
+ }
+ if err = addRecordResponseTiming(stack, options); err != nil {
+ return err
+ }
+ if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
+ return err
+ }
+ if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil {
+ return err
+ }
+ if err = addCredentialSource(stack, options); err != nil {
+ return err
+ }
+ if err = addOpCreateTransitGatewayPolicyTableEntryValidationMiddleware(stack); err != nil {
+ return err
+ }
+ if err = stack.Initialize.Add(newServiceMetadataMiddleware(options.Region, "CreateTransitGatewayPolicyTableEntry"), middleware.Before); err != nil {
+ return err
+ }
+ if err = addRequestIDRetrieverMiddleware(stack); err != nil {
+ return err
+ }
+ if err = addResponseErrorMiddleware(stack); err != nil {
+ return err
+ }
+ if err = addRequestResponseLogging(stack, options); err != nil {
+ return err
+ }
+ if err = addDisableHTTPSMiddleware(stack, options); err != nil {
+ return err
+ }
+ if err = addInterceptors(stack, options); err != nil {
+ return err
+ }
+ return nil
+}
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go
index 5eb869803..57b7b313e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationCreateTransitGatewayPrefixListReferenceMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayRoute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayRoute.go
index a14ca7e11..06f41d84d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayRoute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayRoute.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationCreateTransitGatewayRouteMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayRouteTable.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayRouteTable.go
index 99fa4e4d7..f74e20a5d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayRouteTable.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayRouteTable.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationCreateTransitGatewayRouteTableMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayRouteTableAnnouncement.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayRouteTableAnnouncement.go
index 41e195e30..d112cd24e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayRouteTableAnnouncement.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayRouteTableAnnouncement.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationCreateTransitGatewayRouteTableAnnouncementMiddlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go
index a57a961a6..38e4ce313 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationCreateTransitGatewayVpcAttachmentMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVerifiedAccessEndpoint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVerifiedAccessEndpoint.go
index 7733ee36e..b317e8722 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVerifiedAccessEndpoint.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVerifiedAccessEndpoint.go
@@ -134,7 +134,7 @@ func (c *Client) addOperationCreateVerifiedAccessEndpointMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVerifiedAccessGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVerifiedAccessGroup.go
index 605098e9b..e3854f75e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVerifiedAccessGroup.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVerifiedAccessGroup.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationCreateVerifiedAccessGroupMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVerifiedAccessInstance.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVerifiedAccessInstance.go
index 7096b98a6..4ac6ca1e7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVerifiedAccessInstance.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVerifiedAccessInstance.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationCreateVerifiedAccessInstanceMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVerifiedAccessTrustProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVerifiedAccessTrustProvider.go
index 21b198766..1a3fed659 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVerifiedAccessTrustProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVerifiedAccessTrustProvider.go
@@ -117,7 +117,7 @@ func (c *Client) addOperationCreateVerifiedAccessTrustProviderMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVolume.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVolume.go
index a567ca1b1..46e144903 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVolume.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVolume.go
@@ -332,7 +332,7 @@ func (c *Client) addOperationCreateVolumeMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpc.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpc.go
index 0170a46d1..def7d1e44 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpc.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpc.go
@@ -167,7 +167,7 @@ func (c *Client) addOperationCreateVpcMiddlewares(stack *middleware.Stack, optio
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcBlockPublicAccessExclusion.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcBlockPublicAccessExclusion.go
index 26d1b0e3f..884933e33 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcBlockPublicAccessExclusion.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcBlockPublicAccessExclusion.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationCreateVpcBlockPublicAccessExclusionMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcEncryptionControl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcEncryptionControl.go
index 0cec9b01a..f490df1db 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcEncryptionControl.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcEncryptionControl.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationCreateVpcEncryptionControlMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcEndpoint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcEndpoint.go
index 0a6bb9c96..45153cbdc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcEndpoint.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcEndpoint.go
@@ -151,7 +151,7 @@ func (c *Client) addOperationCreateVpcEndpointMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go
index 8eda29768..4110cfc47 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go
@@ -103,7 +103,7 @@ func (c *Client) addOperationCreateVpcEndpointConnectionNotificationMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go
index 5345e9fd5..9ab54a20b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go
@@ -120,7 +120,7 @@ func (c *Client) addOperationCreateVpcEndpointServiceConfigurationMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcPeeringConnection.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcPeeringConnection.go
index 5f503fe51..357a7a9be 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcPeeringConnection.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpcPeeringConnection.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationCreateVpcPeeringConnectionMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpnConcentrator.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpnConcentrator.go
index e4fbd331e..63300f171 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpnConcentrator.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpnConcentrator.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationCreateVpnConcentratorMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpnConnection.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpnConnection.go
index 6661be524..7b4518a3e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpnConnection.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpnConnection.go
@@ -123,7 +123,7 @@ func (c *Client) addOperationCreateVpnConnectionMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpnConnectionRoute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpnConnectionRoute.go
index 500912b5d..6f256bfd3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpnConnectionRoute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpnConnectionRoute.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationCreateVpnConnectionRouteMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpnGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpnGateway.go
index 42272c5a7..07e7bed70 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpnGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateVpnGateway.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationCreateVpnGatewayMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCapacityManagerDataExport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCapacityManagerDataExport.go
index bc083984c..826a55452 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCapacityManagerDataExport.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCapacityManagerDataExport.go
@@ -75,7 +75,7 @@ func (c *Client) addOperationDeleteCapacityManagerDataExportMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCarrierGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCarrierGateway.go
index 866ea6918..f80903b24 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCarrierGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCarrierGateway.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationDeleteCarrierGatewayMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteClientVpnEndpoint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteClientVpnEndpoint.go
index 225f4739f..ce42fc8f9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteClientVpnEndpoint.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteClientVpnEndpoint.go
@@ -75,7 +75,7 @@ func (c *Client) addOperationDeleteClientVpnEndpointMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteClientVpnRoute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteClientVpnRoute.go
index 48b030ed5..1055a3ebb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteClientVpnRoute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteClientVpnRoute.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationDeleteClientVpnRouteMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCoipCidr.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCoipCidr.go
index ddd9e96b2..f31bcfbbc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCoipCidr.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCoipCidr.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationDeleteCoipCidrMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCoipPool.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCoipPool.go
index c490b4a8a..d991d462f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCoipPool.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCoipPool.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteCoipPoolMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCustomerGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCustomerGateway.go
index d82647a1b..9477e6b46 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCustomerGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteCustomerGateway.go
@@ -71,7 +71,7 @@ func (c *Client) addOperationDeleteCustomerGatewayMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteDhcpOptions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteDhcpOptions.go
index da4853a5f..8f5499b7f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteDhcpOptions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteDhcpOptions.go
@@ -72,7 +72,7 @@ func (c *Client) addOperationDeleteDhcpOptionsMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go
index 329c017b5..20c862df9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go
@@ -73,7 +73,7 @@ func (c *Client) addOperationDeleteEgressOnlyInternetGatewayMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteFleets.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteFleets.go
index 39cd69c0c..325517dd5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteFleets.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteFleets.go
@@ -136,7 +136,7 @@ func (c *Client) addOperationDeleteFleetsMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteFlowLogs.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteFlowLogs.go
index 5100a8b1e..fecf1818a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteFlowLogs.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteFlowLogs.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDeleteFlowLogsMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteFpgaImage.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteFpgaImage.go
index 8b57f56f0..3cd41cd76 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteFpgaImage.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteFpgaImage.go
@@ -73,7 +73,7 @@ func (c *Client) addOperationDeleteFpgaImageMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteImageUsageReport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteImageUsageReport.go
index ed93a1fe1..64502f0bc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteImageUsageReport.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteImageUsageReport.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationDeleteImageUsageReportMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteInstanceConnectEndpoint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteInstanceConnectEndpoint.go
index 1c84c19bd..de9ce1b11 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteInstanceConnectEndpoint.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteInstanceConnectEndpoint.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteInstanceConnectEndpointMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteInstanceEventWindow.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteInstanceEventWindow.go
index 9abd0d4e6..4c20ed987 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteInstanceEventWindow.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteInstanceEventWindow.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationDeleteInstanceEventWindowMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteInternetGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteInternetGateway.go
index fdbee19f5..30db7795f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteInternetGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteInternetGateway.go
@@ -70,7 +70,7 @@ func (c *Client) addOperationDeleteInternetGatewayMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpam.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpam.go
index 85fbac075..63c4d5efc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpam.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpam.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationDeleteIpamMiddlewares(stack *middleware.Stack, opti
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamExternalResourceVerificationToken.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamExternalResourceVerificationToken.go
index 05b652e10..29502ff67 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamExternalResourceVerificationToken.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamExternalResourceVerificationToken.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationDeleteIpamExternalResourceVerificationTokenMiddlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamPolicy.go
index 1c4ee2442..cf932d867 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamPolicy.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationDeleteIpamPolicyMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamPool.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamPool.go
index da674fa9b..1cd9e72a5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamPool.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamPool.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationDeleteIpamPoolMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamPrefixListResolver.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamPrefixListResolver.go
index 7865c0403..bf2f8ae8d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamPrefixListResolver.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamPrefixListResolver.go
@@ -75,7 +75,7 @@ func (c *Client) addOperationDeleteIpamPrefixListResolverMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamPrefixListResolverTarget.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamPrefixListResolverTarget.go
index a934e0997..a4310ead1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamPrefixListResolverTarget.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamPrefixListResolverTarget.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationDeleteIpamPrefixListResolverTargetMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamResourceDiscovery.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamResourceDiscovery.go
index 24a21f008..3d5d5c769 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamResourceDiscovery.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamResourceDiscovery.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDeleteIpamResourceDiscoveryMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamScope.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamScope.go
index aff4b0016..5bb0a16fc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamScope.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteIpamScope.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationDeleteIpamScopeMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteKeyPair.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteKeyPair.go
index 164d7fa7d..70594718f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteKeyPair.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteKeyPair.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationDeleteKeyPairMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLaunchTemplate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLaunchTemplate.go
index 83d693e56..9a0d2f351 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLaunchTemplate.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLaunchTemplate.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationDeleteLaunchTemplateMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLaunchTemplateVersions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLaunchTemplateVersions.go
index b40f04ac7..0988b124e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLaunchTemplateVersions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLaunchTemplateVersions.go
@@ -103,7 +103,7 @@ func (c *Client) addOperationDeleteLaunchTemplateVersionsMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayRoute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayRoute.go
index 13bbd45ab..534dc1f57 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayRoute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayRoute.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationDeleteLocalGatewayRouteMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayRouteTable.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayRouteTable.go
index 03d504255..607947bb0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayRouteTable.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayRouteTable.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteLocalGatewayRouteTableMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go
index ea20de569..0de79b2a7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteLocalGatewayRouteTableVirtualInterfaceGroupAs
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go
index 1e7c18edd..f139b9eb5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteLocalGatewayRouteTableVpcAssociationMiddlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayVirtualInterface.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayVirtualInterface.go
index e2ffa0658..a4a40d7c1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayVirtualInterface.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayVirtualInterface.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteLocalGatewayVirtualInterfaceMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayVirtualInterfaceGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayVirtualInterfaceGroup.go
index ff650e188..49143f1b1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayVirtualInterfaceGroup.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteLocalGatewayVirtualInterfaceGroup.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteLocalGatewayVirtualInterfaceGroupMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteManagedPrefixList.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteManagedPrefixList.go
index 444cee651..0e0665762 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteManagedPrefixList.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteManagedPrefixList.go
@@ -75,7 +75,7 @@ func (c *Client) addOperationDeleteManagedPrefixListMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNatGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNatGateway.go
index d4d2d5a1a..8041fd88a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNatGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNatGateway.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDeleteNatGatewayMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkAcl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkAcl.go
index 89d617cbf..0d1a44e4a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkAcl.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkAcl.go
@@ -70,7 +70,7 @@ func (c *Client) addOperationDeleteNetworkAclMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkAclEntry.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkAclEntry.go
index 07a6da078..dc7b88d1b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkAclEntry.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkAclEntry.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationDeleteNetworkAclEntryMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInsightsAccessScope.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInsightsAccessScope.go
index fbd48b8a8..0b5fb9011 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInsightsAccessScope.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInsightsAccessScope.go
@@ -73,7 +73,7 @@ func (c *Client) addOperationDeleteNetworkInsightsAccessScopeMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInsightsAccessScopeAnalysis.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInsightsAccessScopeAnalysis.go
index d7a71c334..71231a4ab 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInsightsAccessScopeAnalysis.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInsightsAccessScopeAnalysis.go
@@ -73,7 +73,7 @@ func (c *Client) addOperationDeleteNetworkInsightsAccessScopeAnalysisMiddlewares
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go
index 46cdae5e8..8a63c115f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go
@@ -73,7 +73,7 @@ func (c *Client) addOperationDeleteNetworkInsightsAnalysisMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInsightsPath.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInsightsPath.go
index fe84a59de..d95d89f96 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInsightsPath.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInsightsPath.go
@@ -73,7 +73,7 @@ func (c *Client) addOperationDeleteNetworkInsightsPathMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInterface.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInterface.go
index 8165ef3c9..51e611079 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInterface.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInterface.go
@@ -71,7 +71,7 @@ func (c *Client) addOperationDeleteNetworkInterfaceMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInterfacePermission.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInterfacePermission.go
index 53e7ecf6c..15a15deed 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInterfacePermission.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteNetworkInterfacePermission.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationDeleteNetworkInterfacePermissionMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeletePlacementGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeletePlacementGroup.go
index d8b938cc5..7cbf870e0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeletePlacementGroup.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeletePlacementGroup.go
@@ -75,7 +75,7 @@ func (c *Client) addOperationDeletePlacementGroupMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeletePublicIpv4Pool.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeletePublicIpv4Pool.go
index 5e611f662..cff019a93 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeletePublicIpv4Pool.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeletePublicIpv4Pool.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationDeletePublicIpv4PoolMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteQueuedReservedInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteQueuedReservedInstances.go
index cd31665db..3a16ba082 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteQueuedReservedInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteQueuedReservedInstances.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationDeleteQueuedReservedInstancesMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRoute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRoute.go
index 694372b31..5f3db4c8d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRoute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRoute.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationDeleteRouteMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRouteServer.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRouteServer.go
index 8d8e27f3c..94c007d1f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRouteServer.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRouteServer.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationDeleteRouteServerMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRouteServerEndpoint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRouteServerEndpoint.go
index 6434fdf39..9d4525bcd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRouteServerEndpoint.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRouteServerEndpoint.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationDeleteRouteServerEndpointMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRouteServerPeer.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRouteServerPeer.go
index 6961a0eea..c67de01d3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRouteServerPeer.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRouteServerPeer.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationDeleteRouteServerPeerMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRouteTable.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRouteTable.go
index 1e7c1f2e0..79b54082c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRouteTable.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteRouteTable.go
@@ -70,7 +70,7 @@ func (c *Client) addOperationDeleteRouteTableMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSecondaryNetwork.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSecondaryNetwork.go
index 58adfb073..0b9f2b2e2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSecondaryNetwork.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSecondaryNetwork.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationDeleteSecondaryNetworkMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSecondarySubnet.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSecondarySubnet.go
index a1a9c15f2..d84e705b0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSecondarySubnet.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSecondarySubnet.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationDeleteSecondarySubnetMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSecurityGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSecurityGroup.go
index bc0de3e1d..36c593f4f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSecurityGroup.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSecurityGroup.go
@@ -83,7 +83,7 @@ func (c *Client) addOperationDeleteSecurityGroupMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSnapshot.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSnapshot.go
index 51446ac3c..07e461932 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSnapshot.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSnapshot.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSpotDatafeedSubscription.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSpotDatafeedSubscription.go
index e9b5e99f1..058926280 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSpotDatafeedSubscription.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSpotDatafeedSubscription.go
@@ -65,7 +65,7 @@ func (c *Client) addOperationDeleteSpotDatafeedSubscriptionMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSubnet.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSubnet.go
index 8e2b3857c..271e49771 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSubnet.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSubnet.go
@@ -70,7 +70,7 @@ func (c *Client) addOperationDeleteSubnetMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSubnetCidrReservation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSubnetCidrReservation.go
index d2107cc60..1122f6ff6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSubnetCidrReservation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteSubnetCidrReservation.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteSubnetCidrReservationMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTags.go
index cb17afd95..aebd1ca6d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTags.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTags.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTrafficMirrorFilter.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTrafficMirrorFilter.go
index ebca1abc1..0a574145d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTrafficMirrorFilter.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTrafficMirrorFilter.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDeleteTrafficMirrorFilterMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go
index 8ac44364f..5033297ae 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go
@@ -73,7 +73,7 @@ func (c *Client) addOperationDeleteTrafficMirrorFilterRuleMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTrafficMirrorSession.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTrafficMirrorSession.go
index 4a03de271..278ba1d84 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTrafficMirrorSession.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTrafficMirrorSession.go
@@ -73,7 +73,7 @@ func (c *Client) addOperationDeleteTrafficMirrorSessionMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTrafficMirrorTarget.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTrafficMirrorTarget.go
index cab50ee2e..352f752d1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTrafficMirrorTarget.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTrafficMirrorTarget.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDeleteTrafficMirrorTargetMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGateway.go
index d902a4905..503ee6383 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGateway.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteTransitGatewayMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayClientVpnAttachment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayClientVpnAttachment.go
index 33ff95d3b..dcef7c823 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayClientVpnAttachment.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayClientVpnAttachment.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDeleteTransitGatewayClientVpnAttachmentMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayConnect.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayConnect.go
index 7f8204ed4..486ba560b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayConnect.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayConnect.go
@@ -75,7 +75,7 @@ func (c *Client) addOperationDeleteTransitGatewayConnectMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go
index 7ac77a8d8..0b034ba6a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteTransitGatewayConnectPeerMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayMeteringPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayMeteringPolicy.go
index 081d63312..a4806dc14 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayMeteringPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayMeteringPolicy.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteTransitGatewayMeteringPolicyMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayMeteringPolicyEntry.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayMeteringPolicyEntry.go
index 5489ac4e7..b6c2fd1aa 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayMeteringPolicyEntry.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayMeteringPolicyEntry.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationDeleteTransitGatewayMeteringPolicyEntryMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go
index 0dac85af3..c5734f47e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteTransitGatewayMulticastDomainMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go
index f93f2cf20..afddab487 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteTransitGatewayPeeringAttachmentMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayPolicyTable.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayPolicyTable.go
index b7097a15e..899707dc8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayPolicyTable.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayPolicyTable.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteTransitGatewayPolicyTableMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayPolicyTableEntry.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayPolicyTableEntry.go
new file mode 100644
index 000000000..41762ba14
--- /dev/null
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayPolicyTableEntry.go
@@ -0,0 +1,116 @@
+// Code generated by smithy-go-codegen DO NOT EDIT.
+
+package ec2
+
+import (
+ "context"
+ "github.com/aws/aws-sdk-go-v2/service/ec2/types"
+ "github.com/aws/smithy-go/middleware"
+ smithyhttp "github.com/aws/smithy-go/transport/http"
+)
+
+// Deletes the specified transit gateway policy table entry.
+func (c *Client) DeleteTransitGatewayPolicyTableEntry(ctx context.Context, params *DeleteTransitGatewayPolicyTableEntryInput, optFns ...func(*Options)) (*DeleteTransitGatewayPolicyTableEntryOutput, error) {
+ if params == nil {
+ params = &DeleteTransitGatewayPolicyTableEntryInput{}
+ }
+
+ result, metadata, err := c.invokeOperation(ctx, "DeleteTransitGatewayPolicyTableEntry", params, optFns, c.addOperationDeleteTransitGatewayPolicyTableEntryMiddlewares)
+ if err != nil {
+ return nil, err
+ }
+
+ out := result.(*DeleteTransitGatewayPolicyTableEntryOutput)
+ out.ResultMetadata = metadata
+ return out, nil
+}
+
+type DeleteTransitGatewayPolicyTableEntryInput struct {
+
+ // The rule number of the policy table entry to delete.
+ //
+ // This member is required.
+ PolicyRuleNumber *string
+
+ // The ID of the transit gateway policy table.
+ //
+ // This member is required.
+ TransitGatewayPolicyTableId *string
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have the
+ // required permissions, the error response is DryRunOperation . Otherwise, it is
+ // UnauthorizedOperation .
+ DryRun *bool
+
+ noSmithyDocumentSerde
+}
+
+type DeleteTransitGatewayPolicyTableEntryOutput struct {
+
+ // Describes a transit gateway policy table entry
+ TransitGatewayPolicyTableEntry *types.TransitGatewayPolicyTableEntry
+
+ // Metadata pertaining to the operation's result.
+ ResultMetadata middleware.Metadata
+
+ noSmithyDocumentSerde
+}
+
+func (c *Client) addOperationDeleteTransitGatewayPolicyTableEntryMiddlewares(stack *middleware.Stack, options Options) (err error) {
+ err = stack.Serialize.Add(&awsEc2query_serializeOpDeleteTransitGatewayPolicyTableEntry{}, middleware.After)
+ if err != nil {
+ return err
+ }
+ err = stack.Deserialize.Add(&awsEc2query_deserializeOpDeleteTransitGatewayPolicyTableEntry{}, middleware.After)
+ if err != nil {
+ return err
+ }
+
+ if err = addlegacyEndpointContextSetter(stack, options); err != nil {
+ return err
+ }
+ if err = addComputeContentLength(stack); err != nil {
+ return err
+ }
+ if err = addResolveEndpointMiddleware(stack, options); err != nil {
+ return err
+ }
+ if err = addComputePayloadSHA256(stack); err != nil {
+ return err
+ }
+ if err = addRecordResponseTiming(stack, options); err != nil {
+ return err
+ }
+ if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
+ return err
+ }
+ if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil {
+ return err
+ }
+ if err = addCredentialSource(stack, options); err != nil {
+ return err
+ }
+ if err = addOpDeleteTransitGatewayPolicyTableEntryValidationMiddleware(stack); err != nil {
+ return err
+ }
+ if err = stack.Initialize.Add(newServiceMetadataMiddleware(options.Region, "DeleteTransitGatewayPolicyTableEntry"), middleware.Before); err != nil {
+ return err
+ }
+ if err = addRequestIDRetrieverMiddleware(stack); err != nil {
+ return err
+ }
+ if err = addResponseErrorMiddleware(stack); err != nil {
+ return err
+ }
+ if err = addRequestResponseLogging(stack, options); err != nil {
+ return err
+ }
+ if err = addDisableHTTPSMiddleware(stack, options); err != nil {
+ return err
+ }
+ if err = addInterceptors(stack, options); err != nil {
+ return err
+ }
+ return nil
+}
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go
index d9c8ffb5d..228f253e5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationDeleteTransitGatewayPrefixListReferenceMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayRoute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayRoute.go
index e3ea516f5..dcba45e3f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayRoute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayRoute.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationDeleteTransitGatewayRouteMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayRouteTable.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayRouteTable.go
index b85e81fa6..7628c8f6d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayRouteTable.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayRouteTable.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationDeleteTransitGatewayRouteTableMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayRouteTableAnnouncement.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayRouteTableAnnouncement.go
index ccf084d5a..c761a00d7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayRouteTableAnnouncement.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayRouteTableAnnouncement.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteTransitGatewayRouteTableAnnouncementMiddlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go
index fb2fab0ad..3a17b457e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteTransitGatewayVpcAttachmentMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVerifiedAccessEndpoint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVerifiedAccessEndpoint.go
index c0651e660..f520a271f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVerifiedAccessEndpoint.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVerifiedAccessEndpoint.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationDeleteVerifiedAccessEndpointMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVerifiedAccessGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVerifiedAccessGroup.go
index cf008af40..161fadc1f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVerifiedAccessGroup.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVerifiedAccessGroup.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationDeleteVerifiedAccessGroupMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVerifiedAccessInstance.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVerifiedAccessInstance.go
index e266a074d..8b4e88e03 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVerifiedAccessInstance.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVerifiedAccessInstance.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationDeleteVerifiedAccessInstanceMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVerifiedAccessTrustProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVerifiedAccessTrustProvider.go
index 438b78db0..ed65c21fd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVerifiedAccessTrustProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVerifiedAccessTrustProvider.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationDeleteVerifiedAccessTrustProviderMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVolume.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVolume.go
index da9d8193c..befd0ea4f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVolume.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVolume.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDeleteVolumeMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpc.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpc.go
index fdb1670be..ae2534256 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpc.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpc.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationDeleteVpcMiddlewares(stack *middleware.Stack, optio
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcBlockPublicAccessExclusion.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcBlockPublicAccessExclusion.go
index 54b547db9..6439f4e6d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcBlockPublicAccessExclusion.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcBlockPublicAccessExclusion.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationDeleteVpcBlockPublicAccessExclusionMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcEncryptionControl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcEncryptionControl.go
index 237dab48a..bd6658406 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcEncryptionControl.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcEncryptionControl.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationDeleteVpcEncryptionControlMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go
index 5e96ff66c..89989da4c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteVpcEndpointConnectionNotificationsMiddlewares
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go
index d4682edd8..2c42e071b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationDeleteVpcEndpointServiceConfigurationsMiddlewares(s
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcEndpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcEndpoints.go
index e2e0c6639..5d4753546 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcEndpoints.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcEndpoints.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationDeleteVpcEndpointsMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcPeeringConnection.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcPeeringConnection.go
index 42c4c93bd..beb89fb53 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcPeeringConnection.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpcPeeringConnection.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationDeleteVpcPeeringConnectionMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpnConcentrator.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpnConcentrator.go
index 1e1e5c05a..882367650 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpnConcentrator.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpnConcentrator.go
@@ -73,7 +73,7 @@ func (c *Client) addOperationDeleteVpnConcentratorMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpnConnection.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpnConnection.go
index a69d2e969..41dde3b3f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpnConnection.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpnConnection.go
@@ -83,7 +83,7 @@ func (c *Client) addOperationDeleteVpnConnectionMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpnConnectionRoute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpnConnectionRoute.go
index 4dde3c8e3..a3b5549e5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpnConnectionRoute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpnConnectionRoute.go
@@ -72,7 +72,7 @@ func (c *Client) addOperationDeleteVpnConnectionRouteMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpnGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpnGateway.go
index 93e97fee4..6ef7a18d4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpnGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeleteVpnGateway.go
@@ -73,7 +73,7 @@ func (c *Client) addOperationDeleteVpnGatewayMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionByoipCidr.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionByoipCidr.go
index 76414ff05..71072a0c0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionByoipCidr.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionByoipCidr.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationDeprovisionByoipCidrMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionIpamByoasn.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionIpamByoasn.go
index e90c39d5e..a2bbf1473 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionIpamByoasn.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionIpamByoasn.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationDeprovisionIpamByoasnMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionIpamPoolCidr.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionIpamPoolCidr.go
index 17384c33d..92825f9aa 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionIpamPoolCidr.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionIpamPoolCidr.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationDeprovisionIpamPoolCidrMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionPublicIpv4PoolCidr.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionPublicIpv4PoolCidr.go
index 13d3f69ca..b4a36b0d2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionPublicIpv4PoolCidr.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeprovisionPublicIpv4PoolCidr.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationDeprovisionPublicIpv4PoolCidrMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeregisterImage.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeregisterImage.go
index d3ee62c76..1b1263380 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeregisterImage.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeregisterImage.go
@@ -116,7 +116,7 @@ func (c *Client) addOperationDeregisterImageMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go
index 38da1dc98..df9c0f5c0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go
@@ -75,7 +75,7 @@ func (c *Client) addOperationDeregisterInstanceEventNotificationAttributesMiddle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go
index f0299bd84..018ba54a8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationDeregisterTransitGatewayMulticastGroupMembersMiddle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go
index 5dec69165..819581ef5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationDeregisterTransitGatewayMulticastGroupSourcesMiddle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAccountAttributes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAccountAttributes.go
index 3a6659dcb..482a0ac92 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAccountAttributes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAccountAttributes.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationDescribeAccountAttributesMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAccountVpcEncryptionControl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAccountVpcEncryptionControl.go
index 827e64ca8..654d684ee 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAccountVpcEncryptionControl.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAccountVpcEncryptionControl.go
@@ -75,7 +75,7 @@ func (c *Client) addOperationDescribeAccountVpcEncryptionControlMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAddressTransfers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAddressTransfers.go
index 3294ba75b..10331a513 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAddressTransfers.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAddressTransfers.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationDescribeAddressTransfersMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAddresses.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAddresses.go
index 14b4d2d41..2b03162d5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAddresses.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAddresses.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationDescribeAddressesMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAddressesAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAddressesAttribute.go
index f2fb22d40..9df58c27c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAddressesAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAddressesAttribute.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationDescribeAddressesAttributeMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAggregateIdFormat.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAggregateIdFormat.go
index ff49d9950..80a82bddb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAggregateIdFormat.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAggregateIdFormat.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationDescribeAggregateIdFormatMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAvailabilityZones.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAvailabilityZones.go
index a2686c4a9..a9c6dd9db 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAvailabilityZones.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAvailabilityZones.go
@@ -131,7 +131,7 @@ func (c *Client) addOperationDescribeAvailabilityZonesMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAwsNetworkPerformanceMetricSubscriptions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAwsNetworkPerformanceMetricSubscriptions.go
index 133c0ad5b..b88712e3a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAwsNetworkPerformanceMetricSubscriptions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeAwsNetworkPerformanceMetricSubscriptions.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationDescribeAwsNetworkPerformanceMetricSubscriptionsMid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeBundleTasks.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeBundleTasks.go
index 476afe80f..de7979ee7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeBundleTasks.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeBundleTasks.go
@@ -112,7 +112,7 @@ func (c *Client) addOperationDescribeBundleTasksMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeByoipCidrs.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeByoipCidrs.go
index 7f5ff88b4..1d63737b2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeByoipCidrs.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeByoipCidrs.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationDescribeByoipCidrsMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlockExtensionHistory.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlockExtensionHistory.go
index c94d0c1b1..12ed5357e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlockExtensionHistory.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlockExtensionHistory.go
@@ -106,7 +106,7 @@ func (c *Client) addOperationDescribeCapacityBlockExtensionHistoryMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlockExtensionOfferings.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlockExtensionOfferings.go
index 144942143..3c76ae235 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlockExtensionOfferings.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlockExtensionOfferings.go
@@ -95,7 +95,7 @@ func (c *Client) addOperationDescribeCapacityBlockExtensionOfferingsMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlockOfferings.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlockOfferings.go
index 74d9d80d2..5f0060643 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlockOfferings.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlockOfferings.go
@@ -122,7 +122,7 @@ func (c *Client) addOperationDescribeCapacityBlockOfferingsMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlockStatus.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlockStatus.go
index 86bfa9dd1..f1d98deed 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlockStatus.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlockStatus.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationDescribeCapacityBlockStatusMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlocks.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlocks.go
index b612f6f7b..b45567d49 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlocks.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityBlocks.go
@@ -110,7 +110,7 @@ func (c *Client) addOperationDescribeCapacityBlocksMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityManagerDataExports.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityManagerDataExports.go
index 6dc37995a..b00c5788a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityManagerDataExports.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityManagerDataExports.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationDescribeCapacityManagerDataExportsMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationBillingRequests.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationBillingRequests.go
index f6a9871cd..498e355c2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationBillingRequests.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationBillingRequests.go
@@ -116,7 +116,7 @@ func (c *Client) addOperationDescribeCapacityReservationBillingRequestsMiddlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationCancellationQuotes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationCancellationQuotes.go
index 150280886..a2765f8a5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationCancellationQuotes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationCancellationQuotes.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationDescribeCapacityReservationCancellationQuotesMiddle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationFleets.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationFleets.go
index c56689e9a..209eebb8b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationFleets.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationFleets.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationDescribeCapacityReservationFleetsMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationTopology.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationTopology.go
index 74293fbb0..88b36d514 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationTopology.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationTopology.go
@@ -128,7 +128,7 @@ func (c *Client) addOperationDescribeCapacityReservationTopologyMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservations.go
index fe333d099..1ccc504f6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservations.go
@@ -167,7 +167,7 @@ func (c *Client) addOperationDescribeCapacityReservationsMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCarrierGateways.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCarrierGateways.go
index 27d5fcedd..4b330a15d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCarrierGateways.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCarrierGateways.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationDescribeCarrierGatewaysMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClassicLinkInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClassicLinkInstances.go
index 3b0dd2c61..7576f4324 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClassicLinkInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClassicLinkInstances.go
@@ -112,7 +112,7 @@ func (c *Client) addOperationDescribeClassicLinkInstancesMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go
index dac1835ad..f750c30af 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationDescribeClientVpnAuthorizationRulesMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnConnections.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnConnections.go
index 072fb7a80..c28e4bd45 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnConnections.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnConnections.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationDescribeClientVpnConnectionsMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnEndpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnEndpoints.go
index 2454bea3f..91ad6cb41 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnEndpoints.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnEndpoints.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationDescribeClientVpnEndpointsMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnRoutes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnRoutes.go
index 706e91cb7..5b281326c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnRoutes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnRoutes.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationDescribeClientVpnRoutesMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnTargetNetworks.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnTargetNetworks.go
index 4f6cf265b..de7e886dd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnTargetNetworks.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeClientVpnTargetNetworks.go
@@ -99,7 +99,7 @@ func (c *Client) addOperationDescribeClientVpnTargetNetworksMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCoipPools.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCoipPools.go
index 85fa6fbfb..b16c0d59d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCoipPools.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCoipPools.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationDescribeCoipPoolsMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeConversionTasks.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeConversionTasks.go
index bb0a03139..8cbf703a4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeConversionTasks.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeConversionTasks.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationDescribeConversionTasksMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCustomerGateways.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCustomerGateways.go
index 1c08a840f..229117ab8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCustomerGateways.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCustomerGateways.go
@@ -110,7 +110,7 @@ func (c *Client) addOperationDescribeCustomerGatewaysMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeDeclarativePoliciesReports.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeDeclarativePoliciesReports.go
index 5e826ca5d..c9956b228 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeDeclarativePoliciesReports.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeDeclarativePoliciesReports.go
@@ -99,7 +99,7 @@ func (c *Client) addOperationDescribeDeclarativePoliciesReportsMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeDhcpOptions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeDhcpOptions.go
index 52bd76aa2..a65c17d75 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeDhcpOptions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeDhcpOptions.go
@@ -115,7 +115,7 @@ func (c *Client) addOperationDescribeDhcpOptionsMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go
index ec6651e9c..aa767e305 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationDescribeEgressOnlyInternetGatewaysMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeElasticGpus.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeElasticGpus.go
index c43b2d526..14c5c55b5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeElasticGpus.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeElasticGpus.go
@@ -109,7 +109,7 @@ func (c *Client) addOperationDescribeElasticGpusMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeExportImageTasks.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeExportImageTasks.go
index 42c4bc057..b2e9defe9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeExportImageTasks.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeExportImageTasks.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationDescribeExportImageTasksMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeExportTasks.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeExportTasks.go
index 842d37289..09ae8704e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeExportTasks.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeExportTasks.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDescribeExportTasksMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFastLaunchImages.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFastLaunchImages.go
index b03e4e0a0..b5a878bf1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFastLaunchImages.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFastLaunchImages.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationDescribeFastLaunchImagesMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFastSnapshotRestores.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFastSnapshotRestores.go
index bf8272807..33fd0a5a8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFastSnapshotRestores.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFastSnapshotRestores.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationDescribeFastSnapshotRestoresMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFleetHistory.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFleetHistory.go
index c662653f7..d51900bcb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFleetHistory.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFleetHistory.go
@@ -120,7 +120,7 @@ func (c *Client) addOperationDescribeFleetHistoryMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFleetInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFleetInstances.go
index 7ee2cd6be..d5981bf7d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFleetInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFleetInstances.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationDescribeFleetInstancesMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFleets.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFleets.go
index c5ed20017..af60eef38 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFleets.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFleets.go
@@ -116,7 +116,7 @@ func (c *Client) addOperationDescribeFleetsMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFlowLogs.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFlowLogs.go
index 12efba378..b6fa85c8e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFlowLogs.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFlowLogs.go
@@ -118,7 +118,7 @@ func (c *Client) addOperationDescribeFlowLogsMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFpgaImageAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFpgaImageAttribute.go
index 9e5b18ed9..fe140b793 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFpgaImageAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFpgaImageAttribute.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationDescribeFpgaImageAttributeMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFpgaImages.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFpgaImages.go
index 6d39ba4a1..5e56b1372 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFpgaImages.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeFpgaImages.go
@@ -120,7 +120,7 @@ func (c *Client) addOperationDescribeFpgaImagesMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeHostReservationOfferings.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeHostReservationOfferings.go
index 28680b829..9e598aba5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeHostReservationOfferings.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeHostReservationOfferings.go
@@ -111,7 +111,7 @@ func (c *Client) addOperationDescribeHostReservationOfferingsMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeHostReservations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeHostReservations.go
index daa52eb84..93b968989 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeHostReservations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeHostReservations.go
@@ -99,7 +99,7 @@ func (c *Client) addOperationDescribeHostReservationsMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeHosts.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeHosts.go
index 469f1d12b..fac1dd93d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeHosts.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeHosts.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationDescribeHostsMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go
index 3a702f28b..9d1fe29f8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationDescribeIamInstanceProfileAssociationsMiddlewares(s
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIdFormat.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIdFormat.go
index a81c61db1..a5f91b291 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIdFormat.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIdFormat.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationDescribeIdFormatMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIdentityIdFormat.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIdentityIdFormat.go
index 9490d8fee..48ae800fa 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIdentityIdFormat.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIdentityIdFormat.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationDescribeIdentityIdFormatMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImageAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImageAttribute.go
index 7f533bff8..bf3431947 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImageAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImageAttribute.go
@@ -148,7 +148,7 @@ func (c *Client) addOperationDescribeImageAttributeMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImageReferences.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImageReferences.go
index 77efdfab9..22945a2cf 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImageReferences.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImageReferences.go
@@ -114,7 +114,7 @@ func (c *Client) addOperationDescribeImageReferencesMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImageUsageReportEntries.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImageUsageReportEntries.go
index 516866756..36e59fdde 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImageUsageReportEntries.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImageUsageReportEntries.go
@@ -109,7 +109,7 @@ func (c *Client) addOperationDescribeImageUsageReportEntriesMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImageUsageReports.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImageUsageReports.go
index 94977765a..d4afa2695 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImageUsageReports.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImageUsageReports.go
@@ -118,7 +118,7 @@ func (c *Client) addOperationDescribeImageUsageReportsMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImages.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImages.go
index 4e94b279d..1d3a703ba 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImages.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImages.go
@@ -290,7 +290,7 @@ func (c *Client) addOperationDescribeImagesMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImportImageTasks.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImportImageTasks.go
index ef77a9a97..aef50d916 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImportImageTasks.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImportImageTasks.go
@@ -89,7 +89,7 @@ func (c *Client) addOperationDescribeImportImageTasksMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImportSnapshotTasks.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImportSnapshotTasks.go
index 35a825394..b865f4c24 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImportSnapshotTasks.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeImportSnapshotTasks.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationDescribeImportSnapshotTasksMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceAttribute.go
index 62389b148..46146eb4e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceAttribute.go
@@ -137,7 +137,7 @@ func (c *Client) addOperationDescribeInstanceAttributeMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceConnectEndpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceConnectEndpoints.go
index 49e87e103..6ff4c37ad 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceConnectEndpoints.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceConnectEndpoints.go
@@ -115,7 +115,7 @@ func (c *Client) addOperationDescribeInstanceConnectEndpointsMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceCreditSpecifications.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceCreditSpecifications.go
index c8add0509..dd1a085f8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceCreditSpecifications.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceCreditSpecifications.go
@@ -124,7 +124,7 @@ func (c *Client) addOperationDescribeInstanceCreditSpecificationsMiddlewares(sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go
index 2f34750eb..7eb28aad5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go
@@ -70,7 +70,7 @@ func (c *Client) addOperationDescribeInstanceEventNotificationAttributesMiddlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceEventWindows.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceEventWindows.go
index 1f50cc6dd..9eb841a35 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceEventWindows.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceEventWindows.go
@@ -130,7 +130,7 @@ func (c *Client) addOperationDescribeInstanceEventWindowsMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceImageMetadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceImageMetadata.go
index e608d4c6e..227087f3f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceImageMetadata.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceImageMetadata.go
@@ -158,7 +158,7 @@ func (c *Client) addOperationDescribeInstanceImageMetadataMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceSqlHaHistoryStates.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceSqlHaHistoryStates.go
index e3d05d2ae..7632d06eb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceSqlHaHistoryStates.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceSqlHaHistoryStates.go
@@ -123,7 +123,7 @@ func (c *Client) addOperationDescribeInstanceSqlHaHistoryStatesMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceSqlHaStates.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceSqlHaStates.go
index a3a47ffd2..92d3955a9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceSqlHaStates.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceSqlHaStates.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationDescribeInstanceSqlHaStatesMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceStatus.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceStatus.go
index c09bd4fa2..a6c6daa8d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceStatus.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceStatus.go
@@ -196,7 +196,7 @@ func (c *Client) addOperationDescribeInstanceStatusMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceTopology.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceTopology.go
index 1af043662..777120515 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceTopology.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceTopology.go
@@ -135,7 +135,7 @@ func (c *Client) addOperationDescribeInstanceTopologyMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceTypeOfferings.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceTypeOfferings.go
index 8c6dfa1a7..9b2de0450 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceTypeOfferings.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceTypeOfferings.go
@@ -112,7 +112,7 @@ func (c *Client) addOperationDescribeInstanceTypeOfferingsMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceTypes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceTypes.go
index a97ffc6b9..e58ad247a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceTypes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstanceTypes.go
@@ -258,7 +258,7 @@ func (c *Client) addOperationDescribeInstanceTypesMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstances.go
index 26608182d..c8dec7325 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInstances.go
@@ -546,7 +546,7 @@ func (c *Client) addOperationDescribeInstancesMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInternetGateways.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInternetGateways.go
index f26759239..363eae375 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInternetGateways.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeInternetGateways.go
@@ -119,7 +119,7 @@ func (c *Client) addOperationDescribeInternetGatewaysMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamByoasn.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamByoasn.go
index 11d1a8101..653f597de 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamByoasn.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamByoasn.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationDescribeIpamByoasnMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamExternalResourceVerificationTokens.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamExternalResourceVerificationTokens.go
index 970c02eff..bfc103d73 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamExternalResourceVerificationTokens.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamExternalResourceVerificationTokens.go
@@ -112,7 +112,7 @@ func (c *Client) addOperationDescribeIpamExternalResourceVerificationTokensMiddl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPolicies.go
index e058d6913..a8686c482 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPolicies.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPolicies.go
@@ -103,7 +103,7 @@ func (c *Client) addOperationDescribeIpamPoliciesMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPoolAllocations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPoolAllocations.go
index 20aeff85b..49f177e67 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPoolAllocations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPoolAllocations.go
@@ -103,7 +103,7 @@ func (c *Client) addOperationDescribeIpamPoolAllocationsMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPools.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPools.go
index b8f6e4e58..ebb3ee195 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPools.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPools.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationDescribeIpamPoolsMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPrefixListResolverTargets.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPrefixListResolverTargets.go
index ea0dafa68..650f66e0e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPrefixListResolverTargets.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPrefixListResolverTargets.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationDescribeIpamPrefixListResolverTargetsMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPrefixListResolvers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPrefixListResolvers.go
index aefeea959..0c4bfc3e4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPrefixListResolvers.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamPrefixListResolvers.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationDescribeIpamPrefixListResolversMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamResourceDiscoveries.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamResourceDiscoveries.go
index da5f9fbc0..b97199679 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamResourceDiscoveries.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamResourceDiscoveries.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationDescribeIpamResourceDiscoveriesMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamResourceDiscoveryAssociations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamResourceDiscoveryAssociations.go
index dc021cff6..2bc8d7532 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamResourceDiscoveryAssociations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamResourceDiscoveryAssociations.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationDescribeIpamResourceDiscoveryAssociationsMiddleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamScopes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamScopes.go
index 2e421e53b..1cbb20f36 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamScopes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpamScopes.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationDescribeIpamScopesMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpams.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpams.go
index 59b60c6d4..fba349f63 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpams.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpams.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationDescribeIpamsMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpv6Pools.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpv6Pools.go
index 3edc6c1de..f5afbea5f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpv6Pools.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeIpv6Pools.go
@@ -95,7 +95,7 @@ func (c *Client) addOperationDescribeIpv6PoolsMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeKeyPairs.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeKeyPairs.go
index 39d75d01c..e9b281783 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeKeyPairs.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeKeyPairs.go
@@ -110,7 +110,7 @@ func (c *Client) addOperationDescribeKeyPairsMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLaunchTemplateVersions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLaunchTemplateVersions.go
index 5f2c0207c..2dd444215 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLaunchTemplateVersions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLaunchTemplateVersions.go
@@ -178,7 +178,7 @@ func (c *Client) addOperationDescribeLaunchTemplateVersionsMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLaunchTemplates.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLaunchTemplates.go
index 4db55487c..aace67793 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLaunchTemplates.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLaunchTemplates.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationDescribeLaunchTemplatesMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go
index 1582dc121..518fdef06 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go
@@ -106,7 +106,7 @@ func (c *Client) addOperationDescribeLocalGatewayRouteTableVirtualInterfaceGroup
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go
index cdfc41b60..60474734c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go
@@ -104,7 +104,7 @@ func (c *Client) addOperationDescribeLocalGatewayRouteTableVpcAssociationsMiddle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayRouteTables.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayRouteTables.go
index d44131e9d..df8ccde83 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayRouteTables.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayRouteTables.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationDescribeLocalGatewayRouteTablesMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go
index 42297d550..95c5a3e80 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationDescribeLocalGatewayVirtualInterfaceGroupsMiddlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go
index 856196b04..8b989f285 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationDescribeLocalGatewayVirtualInterfacesMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGateways.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGateways.go
index e8d4c5a0a..8a1f1fb2b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGateways.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLocalGateways.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationDescribeLocalGatewaysMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLockedSnapshots.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLockedSnapshots.go
index 7f0b5421f..c0611c67e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLockedSnapshots.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeLockedSnapshots.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationDescribeLockedSnapshotsMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeMacHosts.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeMacHosts.go
index 7906d49d4..0865ed91a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeMacHosts.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeMacHosts.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationDescribeMacHostsMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeMacModificationTasks.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeMacModificationTasks.go
index 3e7641fa1..537d0ee81 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeMacModificationTasks.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeMacModificationTasks.go
@@ -106,7 +106,7 @@ func (c *Client) addOperationDescribeMacModificationTasksMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeManagedPrefixLists.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeManagedPrefixLists.go
index 793605fb5..dab5eb81b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeManagedPrefixLists.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeManagedPrefixLists.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationDescribeManagedPrefixListsMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeMovingAddresses.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeMovingAddresses.go
index 4821b6e42..a3c597d19 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeMovingAddresses.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeMovingAddresses.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationDescribeMovingAddressesMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNatGateways.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNatGateways.go
index 832f311a1..7783cc51d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNatGateways.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNatGateways.go
@@ -115,7 +115,7 @@ func (c *Client) addOperationDescribeNatGatewaysMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkAcls.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkAcls.go
index 9d205f374..7b7b73a80 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkAcls.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkAcls.go
@@ -144,7 +144,7 @@ func (c *Client) addOperationDescribeNetworkAclsMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInsightsAccessScopeAnalyses.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInsightsAccessScopeAnalyses.go
index bdbe6bf84..0ed57cf55 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInsightsAccessScopeAnalyses.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInsightsAccessScopeAnalyses.go
@@ -99,7 +99,7 @@ func (c *Client) addOperationDescribeNetworkInsightsAccessScopeAnalysesMiddlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInsightsAccessScopes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInsightsAccessScopes.go
index 0f3867b61..9e19b25b0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInsightsAccessScopes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInsightsAccessScopes.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationDescribeNetworkInsightsAccessScopesMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go
index 451fca0c4..45e56ad30 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go
@@ -103,7 +103,7 @@ func (c *Client) addOperationDescribeNetworkInsightsAnalysesMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInsightsPaths.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInsightsPaths.go
index 6fc1e547f..5c86eaa94 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInsightsPaths.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInsightsPaths.go
@@ -115,7 +115,7 @@ func (c *Client) addOperationDescribeNetworkInsightsPathsMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go
index e3eaba541..d0e9fb7d2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationDescribeNetworkInterfaceAttributeMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInterfacePermissions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInterfacePermissions.go
index 92ca64048..0ff4f4df6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInterfacePermissions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInterfacePermissions.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationDescribeNetworkInterfacePermissionsMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInterfaces.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInterfaces.go
index 737914ca4..cb5575b40 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInterfaces.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeNetworkInterfaces.go
@@ -223,7 +223,7 @@ func (c *Client) addOperationDescribeNetworkInterfacesMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeOutpostLags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeOutpostLags.go
index 9f8920428..e18a3a37d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeOutpostLags.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeOutpostLags.go
@@ -115,7 +115,7 @@ func (c *Client) addOperationDescribeOutpostLagsMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribePlacementGroups.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribePlacementGroups.go
index 0682fcc91..77ffa0323 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribePlacementGroups.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribePlacementGroups.go
@@ -114,7 +114,7 @@ func (c *Client) addOperationDescribePlacementGroupsMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribePrefixLists.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribePrefixLists.go
index 1fa246119..89fb467ca 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribePrefixLists.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribePrefixLists.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationDescribePrefixListsMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribePrincipalIdFormat.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribePrincipalIdFormat.go
index 2949023a2..95e50a019 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribePrincipalIdFormat.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribePrincipalIdFormat.go
@@ -106,7 +106,7 @@ func (c *Client) addOperationDescribePrincipalIdFormatMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribePublicIpv4Pools.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribePublicIpv4Pools.go
index f1a0855c0..c48cfe158 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribePublicIpv4Pools.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribePublicIpv4Pools.go
@@ -89,7 +89,7 @@ func (c *Client) addOperationDescribePublicIpv4PoolsMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRegions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRegions.go
index ed70d3d92..84979f4f5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRegions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRegions.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationDescribeRegionsMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReplaceRootVolumeTasks.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReplaceRootVolumeTasks.go
index 9658712b9..db23dfb1f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReplaceRootVolumeTasks.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReplaceRootVolumeTasks.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationDescribeReplaceRootVolumeTasksMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReservedInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReservedInstances.go
index 3c07401bd..6f9184d6e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReservedInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReservedInstances.go
@@ -141,7 +141,7 @@ func (c *Client) addOperationDescribeReservedInstancesMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReservedInstancesListings.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReservedInstancesListings.go
index 6fcfb1af7..55659381e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReservedInstancesListings.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReservedInstancesListings.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationDescribeReservedInstancesListingsMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReservedInstancesModifications.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReservedInstancesModifications.go
index e89dab974..258529030 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReservedInstancesModifications.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReservedInstancesModifications.go
@@ -123,7 +123,7 @@ func (c *Client) addOperationDescribeReservedInstancesModificationsMiddlewares(s
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReservedInstancesOfferings.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReservedInstancesOfferings.go
index dfd0420a3..bd967dc09 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReservedInstancesOfferings.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeReservedInstancesOfferings.go
@@ -196,7 +196,7 @@ func (c *Client) addOperationDescribeReservedInstancesOfferingsMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRouteServerEndpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRouteServerEndpoints.go
index 315040645..b0fc686a4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRouteServerEndpoints.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRouteServerEndpoints.go
@@ -95,7 +95,7 @@ func (c *Client) addOperationDescribeRouteServerEndpointsMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRouteServerPeers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRouteServerPeers.go
index 2e5136ea2..bd80f1e0f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRouteServerPeers.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRouteServerPeers.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationDescribeRouteServerPeersMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRouteServers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRouteServers.go
index 2cb8b8fe3..1b61be3b1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRouteServers.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRouteServers.go
@@ -110,7 +110,7 @@ func (c *Client) addOperationDescribeRouteServersMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRouteTables.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRouteTables.go
index f9d276836..ce4819ded 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRouteTables.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeRouteTables.go
@@ -166,7 +166,7 @@ func (c *Client) addOperationDescribeRouteTablesMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeScheduledInstanceAvailability.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeScheduledInstanceAvailability.go
index f6d891aae..7e5ff22ff 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeScheduledInstanceAvailability.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeScheduledInstanceAvailability.go
@@ -121,7 +121,7 @@ func (c *Client) addOperationDescribeScheduledInstanceAvailabilityMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeScheduledInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeScheduledInstances.go
index 5c69a49ec..9eeb3ea31 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeScheduledInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeScheduledInstances.go
@@ -99,7 +99,7 @@ func (c *Client) addOperationDescribeScheduledInstancesMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecondaryInterfaces.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecondaryInterfaces.go
index 53b8eb983..6ea57dda1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecondaryInterfaces.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecondaryInterfaces.go
@@ -126,7 +126,7 @@ func (c *Client) addOperationDescribeSecondaryInterfacesMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecondaryNetworks.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecondaryNetworks.go
index 1455563cb..dffcc1af2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecondaryNetworks.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecondaryNetworks.go
@@ -122,7 +122,7 @@ func (c *Client) addOperationDescribeSecondaryNetworksMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecondarySubnets.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecondarySubnets.go
index 7dedc660b..9886bbe08 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecondarySubnets.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecondarySubnets.go
@@ -124,7 +124,7 @@ func (c *Client) addOperationDescribeSecondarySubnetsMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecurityGroupReferences.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecurityGroupReferences.go
index bbe39b882..2a8a90c0e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecurityGroupReferences.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecurityGroupReferences.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDescribeSecurityGroupReferencesMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecurityGroupRules.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecurityGroupRules.go
index 68e5236cf..1336cac40 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecurityGroupRules.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecurityGroupRules.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationDescribeSecurityGroupRulesMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecurityGroupVpcAssociations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecurityGroupVpcAssociations.go
index 677d1034f..189368588 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecurityGroupVpcAssociations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecurityGroupVpcAssociations.go
@@ -104,7 +104,7 @@ func (c *Client) addOperationDescribeSecurityGroupVpcAssociationsMiddlewares(sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecurityGroups.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecurityGroups.go
index 3de664744..d997f68cc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecurityGroups.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSecurityGroups.go
@@ -181,7 +181,7 @@ func (c *Client) addOperationDescribeSecurityGroupsMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeServiceLinkVirtualInterfaces.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeServiceLinkVirtualInterfaces.go
index 1f0353a8c..bca265933 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeServiceLinkVirtualInterfaces.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeServiceLinkVirtualInterfaces.go
@@ -104,7 +104,7 @@ func (c *Client) addOperationDescribeServiceLinkVirtualInterfacesMiddlewares(sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSnapshotAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSnapshotAttribute.go
index 5ef753cfc..92eb7b1d9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSnapshotAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSnapshotAttribute.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationDescribeSnapshotAttributeMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSnapshotTierStatus.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSnapshotTierStatus.go
index be4d34ebb..aaac1b9e5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSnapshotTierStatus.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSnapshotTierStatus.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationDescribeSnapshotTierStatusMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSnapshots.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSnapshots.go
index 439d06971..31ee51239 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSnapshots.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSnapshots.go
@@ -190,7 +190,7 @@ func (c *Client) addOperationDescribeSnapshotsMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotDatafeedSubscription.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotDatafeedSubscription.go
index cd436318b..dcbd869ab 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotDatafeedSubscription.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotDatafeedSubscription.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDescribeSpotDatafeedSubscriptionMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotFleetInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotFleetInstances.go
index 9df5d0876..40e73f389 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotFleetInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotFleetInstances.go
@@ -95,7 +95,7 @@ func (c *Client) addOperationDescribeSpotFleetInstancesMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotFleetRequestHistory.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotFleetRequestHistory.go
index 661cb8cb3..505b6a726 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotFleetRequestHistory.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotFleetRequestHistory.go
@@ -123,7 +123,7 @@ func (c *Client) addOperationDescribeSpotFleetRequestHistoryMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotFleetRequests.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotFleetRequests.go
index 401fb4b99..cda375e3c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotFleetRequests.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotFleetRequests.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationDescribeSpotFleetRequestsMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotInstanceRequests.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotInstanceRequests.go
index 93d98bb46..cc2f0e9f1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotInstanceRequests.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotInstanceRequests.go
@@ -222,7 +222,7 @@ func (c *Client) addOperationDescribeSpotInstanceRequestsMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotPriceHistory.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotPriceHistory.go
index 30348c40b..cba7d8c41 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotPriceHistory.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSpotPriceHistory.go
@@ -142,7 +142,7 @@ func (c *Client) addOperationDescribeSpotPriceHistoryMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeStaleSecurityGroups.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeStaleSecurityGroups.go
index 72561e172..d76432943 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeStaleSecurityGroups.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeStaleSecurityGroups.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationDescribeStaleSecurityGroupsMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeStoreImageTasks.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeStoreImageTasks.go
index b318a96c4..756b58f01 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeStoreImageTasks.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeStoreImageTasks.go
@@ -123,7 +123,7 @@ func (c *Client) addOperationDescribeStoreImageTasksMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSubnets.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSubnets.go
index 5ab2565ae..a1f2e3e75 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSubnets.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeSubnets.go
@@ -182,7 +182,7 @@ func (c *Client) addOperationDescribeSubnetsMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTags.go
index 2f2cd2a34..006e2569a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTags.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTags.go
@@ -114,7 +114,7 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrafficMirrorFilterRules.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrafficMirrorFilterRules.go
index e07fc4f0c..82342d138 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrafficMirrorFilterRules.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrafficMirrorFilterRules.go
@@ -113,7 +113,7 @@ func (c *Client) addOperationDescribeTrafficMirrorFilterRulesMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrafficMirrorFilters.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrafficMirrorFilters.go
index d6380371c..52e5267fb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrafficMirrorFilters.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrafficMirrorFilters.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationDescribeTrafficMirrorFiltersMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrafficMirrorSessions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrafficMirrorSessions.go
index 97096475e..7ee67e07d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrafficMirrorSessions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrafficMirrorSessions.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationDescribeTrafficMirrorSessionsMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrafficMirrorTargets.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrafficMirrorTargets.go
index 97abe67c1..466d4d0ad 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrafficMirrorTargets.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrafficMirrorTargets.go
@@ -99,7 +99,7 @@ func (c *Client) addOperationDescribeTrafficMirrorTargetsMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayAttachments.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayAttachments.go
index 5926563d4..c1dd75bb7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayAttachments.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayAttachments.go
@@ -114,7 +114,7 @@ func (c *Client) addOperationDescribeTransitGatewayAttachmentsMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go
index 440bbff94..b6dc8025e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationDescribeTransitGatewayConnectPeersMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayConnects.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayConnects.go
index 9b5e70477..61ed665be 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayConnects.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayConnects.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationDescribeTransitGatewayConnectsMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayMeteringPolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayMeteringPolicies.go
index 8afa10d91..7e04901fb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayMeteringPolicies.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayMeteringPolicies.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationDescribeTransitGatewayMeteringPoliciesMiddlewares(s
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go
index a87b9cc68..6bd1c6639 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go
@@ -95,7 +95,7 @@ func (c *Client) addOperationDescribeTransitGatewayMulticastDomainsMiddlewares(s
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go
index 5c840d0ae..b617f83ab 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationDescribeTransitGatewayPeeringAttachmentsMiddlewares
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayPolicyTables.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayPolicyTables.go
index b1b3a6cc9..f94956f08 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayPolicyTables.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayPolicyTables.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationDescribeTransitGatewayPolicyTablesMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayRouteTableAnnouncements.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayRouteTableAnnouncements.go
index 47e29cc56..b0635ce8b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayRouteTableAnnouncements.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayRouteTableAnnouncements.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationDescribeTransitGatewayRouteTableAnnouncementsMiddle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayRouteTables.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayRouteTables.go
index abd5bd7aa..f4f52c398 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayRouteTables.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayRouteTables.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationDescribeTransitGatewayRouteTablesMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go
index 1326d127d..67e2b76e0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationDescribeTransitGatewayVpcAttachmentsMiddlewares(sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGateways.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGateways.go
index f88cfb710..2ba0973cc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGateways.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTransitGateways.go
@@ -128,7 +128,7 @@ func (c *Client) addOperationDescribeTransitGatewaysMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrunkInterfaceAssociations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrunkInterfaceAssociations.go
index bef23ae73..4819a52ea 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrunkInterfaceAssociations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeTrunkInterfaceAssociations.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationDescribeTrunkInterfaceAssociationsMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessEndpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessEndpoints.go
index 8d7f7215e..646364e29 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessEndpoints.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessEndpoints.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationDescribeVerifiedAccessEndpointsMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessGroups.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessGroups.go
index d94f58313..2b12c7609 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessGroups.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessGroups.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationDescribeVerifiedAccessGroupsMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessInstanceLoggingConfigurations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessInstanceLoggingConfigurations.go
index e53b9cf5d..bd84368d2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessInstanceLoggingConfigurations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessInstanceLoggingConfigurations.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationDescribeVerifiedAccessInstanceLoggingConfigurations
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessInstances.go
index c10e95497..9c3d374d8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessInstances.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationDescribeVerifiedAccessInstancesMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessTrustProviders.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessTrustProviders.go
index 5d6ffec38..695d655e8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessTrustProviders.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVerifiedAccessTrustProviders.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationDescribeVerifiedAccessTrustProvidersMiddlewares(sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumeAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumeAttribute.go
index 4cfbd0f25..8968de1e4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumeAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumeAttribute.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationDescribeVolumeAttributeMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumeStatus.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumeStatus.go
index bcbcc3e57..eac1bd54d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumeStatus.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumeStatus.go
@@ -168,7 +168,7 @@ func (c *Client) addOperationDescribeVolumeStatusMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumes.go
index 1cf36bafd..f58150e2d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumes.go
@@ -169,7 +169,7 @@ func (c *Client) addOperationDescribeVolumesMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumesModifications.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumesModifications.go
index 13ad5187e..f10e4aac9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumesModifications.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVolumesModifications.go
@@ -127,7 +127,7 @@ func (c *Client) addOperationDescribeVolumesModificationsMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcAttribute.go
index 38bd84680..582ab1618 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcAttribute.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationDescribeVpcAttributeMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcBlockPublicAccessExclusions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcBlockPublicAccessExclusions.go
index a37485f25..d9d5559a2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcBlockPublicAccessExclusions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcBlockPublicAccessExclusions.go
@@ -118,7 +118,7 @@ func (c *Client) addOperationDescribeVpcBlockPublicAccessExclusionsMiddlewares(s
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcBlockPublicAccessOptions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcBlockPublicAccessOptions.go
index c0e8b17f0..22a35f1ff 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcBlockPublicAccessOptions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcBlockPublicAccessOptions.go
@@ -75,7 +75,7 @@ func (c *Client) addOperationDescribeVpcBlockPublicAccessOptionsMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcClassicLink.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcClassicLink.go
index ab2626a98..48c93a3c0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcClassicLink.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcClassicLink.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationDescribeVpcClassicLinkMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go
index af75e632b..3b5fbe5c3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationDescribeVpcClassicLinkDnsSupportMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEncryptionControls.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEncryptionControls.go
index 78b6384d9..1cf2fa8aa 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEncryptionControls.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEncryptionControls.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationDescribeVpcEncryptionControlsMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointAssociations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointAssociations.go
index 38aeb54ff..fa8befb1a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointAssociations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointAssociations.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationDescribeVpcEndpointAssociationsMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go
index 36fe95c48..c3a58031d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationDescribeVpcEndpointConnectionNotificationsMiddlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointConnections.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointConnections.go
index 662d1d76a..10f47811c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointConnections.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointConnections.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationDescribeVpcEndpointConnectionsMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go
index c1a93476e..32cdd5a85 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go
@@ -107,7 +107,7 @@ func (c *Client) addOperationDescribeVpcEndpointServiceConfigurationsMiddlewares
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go
index 230910aac..9e8d5d69d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationDescribeVpcEndpointServicePermissionsMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointServices.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointServices.go
index c8994f63a..64aa0fc9a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointServices.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpointServices.go
@@ -122,7 +122,7 @@ func (c *Client) addOperationDescribeVpcEndpointServicesMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpoints.go
index d74781513..3b969f5de 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpoints.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcEndpoints.go
@@ -116,7 +116,7 @@ func (c *Client) addOperationDescribeVpcEndpointsMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcPeeringConnections.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcPeeringConnections.go
index b4d98f486..c4d1ebbea 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcPeeringConnections.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcPeeringConnections.go
@@ -134,7 +134,7 @@ func (c *Client) addOperationDescribeVpcPeeringConnectionsMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcs.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcs.go
index 38b9d4284..eca8310b9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcs.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpcs.go
@@ -141,7 +141,7 @@ func (c *Client) addOperationDescribeVpcsMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpnConcentrators.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpnConcentrators.go
index f40a7d038..8025311c5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpnConcentrators.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpnConcentrators.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationDescribeVpnConcentratorsMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpnConnections.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpnConnections.go
index 9d00d6751..e800d6a79 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpnConnections.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpnConnections.go
@@ -125,7 +125,7 @@ func (c *Client) addOperationDescribeVpnConnectionsMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpnGateways.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpnGateways.go
index 76ed50ff2..f736849e9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpnGateways.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeVpnGateways.go
@@ -111,7 +111,7 @@ func (c *Client) addOperationDescribeVpnGatewaysMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachClassicLinkVpc.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachClassicLinkVpc.go
index 96ea8e5cc..a5f2ad635 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachClassicLinkVpc.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachClassicLinkVpc.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationDetachClassicLinkVpcMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachImageWatermark.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachImageWatermark.go
index 47f11ef56..cd245cf46 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachImageWatermark.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachImageWatermark.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationDetachImageWatermarkMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachInternetGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachInternetGateway.go
index 74c42897f..e2d340fce 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachInternetGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachInternetGateway.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDetachInternetGatewayMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachNetworkInterface.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachNetworkInterface.go
index 98718ee04..fd071b784 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachNetworkInterface.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachNetworkInterface.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationDetachNetworkInterfaceMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachVerifiedAccessTrustProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachVerifiedAccessTrustProvider.go
index 01993ee9d..61c51e3ad 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachVerifiedAccessTrustProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachVerifiedAccessTrustProvider.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationDetachVerifiedAccessTrustProviderMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachVolume.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachVolume.go
index 328f7a509..f53428f58 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachVolume.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachVolume.go
@@ -145,7 +145,7 @@ func (c *Client) addOperationDetachVolumeMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachVpnGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachVpnGateway.go
index 83f73f385..df01e8ac4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachVpnGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DetachVpnGateway.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationDetachVpnGatewayMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableAddressTransfer.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableAddressTransfer.go
index 1663ad284..e83f9db02 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableAddressTransfer.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableAddressTransfer.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationDisableAddressTransferMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableAllowedImagesSettings.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableAllowedImagesSettings.go
index 2b0a67d43..4452d86a3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableAllowedImagesSettings.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableAllowedImagesSettings.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationDisableAllowedImagesSettingsMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableAwsNetworkPerformanceMetricSubscription.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableAwsNetworkPerformanceMetricSubscription.go
index 298d624e2..106c678a2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableAwsNetworkPerformanceMetricSubscription.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableAwsNetworkPerformanceMetricSubscription.go
@@ -83,7 +83,7 @@ func (c *Client) addOperationDisableAwsNetworkPerformanceMetricSubscriptionMiddl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableCapacityManager.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableCapacityManager.go
index 3ceadce3c..3eabe1831 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableCapacityManager.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableCapacityManager.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationDisableCapacityManagerMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableEbsEncryptionByDefault.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableEbsEncryptionByDefault.go
index d4cedd909..31bbff7df 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableEbsEncryptionByDefault.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableEbsEncryptionByDefault.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationDisableEbsEncryptionByDefaultMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableFastLaunch.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableFastLaunch.go
index 067bc4744..73d6da558 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableFastLaunch.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableFastLaunch.go
@@ -114,7 +114,7 @@ func (c *Client) addOperationDisableFastLaunchMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableFastSnapshotRestores.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableFastSnapshotRestores.go
index 105e742c4..80d46175c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableFastSnapshotRestores.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableFastSnapshotRestores.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationDisableFastSnapshotRestoresMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableImage.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableImage.go
index 04a5a7ba0..fbdeeae35 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableImage.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableImage.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationDisableImageMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableImageBlockPublicAccess.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableImageBlockPublicAccess.go
index bd2215aa9..4bd2307e3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableImageBlockPublicAccess.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableImageBlockPublicAccess.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDisableImageBlockPublicAccessMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableImageDeprecation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableImageDeprecation.go
index 27f440d42..97fca8dc7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableImageDeprecation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableImageDeprecation.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationDisableImageDeprecationMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableImageDeregistrationProtection.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableImageDeregistrationProtection.go
index cacc1b9b3..f3a1bd8c8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableImageDeregistrationProtection.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableImageDeregistrationProtection.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationDisableImageDeregistrationProtectionMiddlewares(sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableInstanceSqlHaStandbyDetections.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableInstanceSqlHaStandbyDetections.go
index 3258f549e..4a3067c8c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableInstanceSqlHaStandbyDetections.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableInstanceSqlHaStandbyDetections.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationDisableInstanceSqlHaStandbyDetectionsMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableIpamOrganizationAdminAccount.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableIpamOrganizationAdminAccount.go
index 24040888c..41e16162e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableIpamOrganizationAdminAccount.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableIpamOrganizationAdminAccount.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDisableIpamOrganizationAdminAccountMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableIpamPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableIpamPolicy.go
index 8326886bc..fd4de9079 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableIpamPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableIpamPolicy.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationDisableIpamPolicyMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableRouteServerPropagation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableRouteServerPropagation.go
index d21455d83..a4c6ec560 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableRouteServerPropagation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableRouteServerPropagation.go
@@ -107,7 +107,7 @@ func (c *Client) addOperationDisableRouteServerPropagationMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableSerialConsoleAccess.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableSerialConsoleAccess.go
index e49b398ee..8e73094f1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableSerialConsoleAccess.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableSerialConsoleAccess.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDisableSerialConsoleAccessMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableSnapshotBlockPublicAccess.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableSnapshotBlockPublicAccess.go
index 292a17da3..41421083b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableSnapshotBlockPublicAccess.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableSnapshotBlockPublicAccess.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationDisableSnapshotBlockPublicAccessMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go
index 72f5c8f8d..7b671a219 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationDisableTransitGatewayRouteTablePropagationMiddlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableVgwRoutePropagation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableVgwRoutePropagation.go
index 330c0096d..03a30ed1a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableVgwRoutePropagation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableVgwRoutePropagation.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDisableVgwRoutePropagationMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableVpcClassicLink.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableVpcClassicLink.go
index 96adea59a..c090c2f40 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableVpcClassicLink.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableVpcClassicLink.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDisableVpcClassicLinkMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go
index 84fa84c94..9cd41d3b6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go
@@ -71,7 +71,7 @@ func (c *Client) addOperationDisableVpcClassicLinkDnsSupportMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateAddress.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateAddress.go
index a1820de06..3cf2ab7a3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateAddress.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateAddress.go
@@ -83,7 +83,7 @@ func (c *Client) addOperationDisassociateAddressMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateCapacityReservationBillingOwner.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateCapacityReservationBillingOwner.go
index 240cbb9e0..338fef147 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateCapacityReservationBillingOwner.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateCapacityReservationBillingOwner.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationDisassociateCapacityReservationBillingOwnerMiddlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go
index 0e3087f3d..89fb1cf07 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationDisassociateClientVpnTargetNetworkMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go
index 83911efa9..8da72d545 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go
@@ -83,7 +83,7 @@ func (c *Client) addOperationDisassociateEnclaveCertificateIamRoleMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateIamInstanceProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateIamInstanceProfile.go
index 4eaa53c59..f6a772cc1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateIamInstanceProfile.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateIamInstanceProfile.go
@@ -70,7 +70,7 @@ func (c *Client) addOperationDisassociateIamInstanceProfileMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateInstanceEventWindow.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateInstanceEventWindow.go
index e28c195f3..00f2d62dd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateInstanceEventWindow.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateInstanceEventWindow.go
@@ -83,7 +83,7 @@ func (c *Client) addOperationDisassociateInstanceEventWindowMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateIpamByoasn.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateIpamByoasn.go
index a844a958a..88b51ae64 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateIpamByoasn.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateIpamByoasn.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationDisassociateIpamByoasnMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateIpamResourceDiscovery.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateIpamResourceDiscovery.go
index 74384e63e..6b47947c9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateIpamResourceDiscovery.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateIpamResourceDiscovery.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDisassociateIpamResourceDiscoveryMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateNatGatewayAddress.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateNatGatewayAddress.go
index 675f1c5a1..6cd96a7c3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateNatGatewayAddress.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateNatGatewayAddress.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationDisassociateNatGatewayAddressMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateRouteServer.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateRouteServer.go
index ce49043a3..a4989a100 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateRouteServer.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateRouteServer.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationDisassociateRouteServerMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateRouteTable.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateRouteTable.go
index 6136dfdda..3bde185c5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateRouteTable.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateRouteTable.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDisassociateRouteTableMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateSecurityGroupVpc.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateSecurityGroupVpc.go
index 75df0231e..9ef15854c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateSecurityGroupVpc.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateSecurityGroupVpc.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationDisassociateSecurityGroupVpcMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateSubnetCidrBlock.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateSubnetCidrBlock.go
index 95289327e..86df993e0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateSubnetCidrBlock.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateSubnetCidrBlock.go
@@ -73,7 +73,7 @@ func (c *Client) addOperationDisassociateSubnetCidrBlockMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go
index 19c6a2fda..7d11d8685 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationDisassociateTransitGatewayMulticastDomainMiddleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateTransitGatewayPolicyTable.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateTransitGatewayPolicyTable.go
index dd8b6e820..e5d26f82b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateTransitGatewayPolicyTable.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateTransitGatewayPolicyTable.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationDisassociateTransitGatewayPolicyTableMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go
index 26a250a7a..64184f1ad 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationDisassociateTransitGatewayRouteTableMiddlewares(sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateTrunkInterface.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateTrunkInterface.go
index 458c22999..698533931 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateTrunkInterface.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateTrunkInterface.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationDisassociateTrunkInterfaceMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateVpcCidrBlock.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateVpcCidrBlock.go
index 5ec419bfb..630587ff4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateVpcCidrBlock.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DisassociateVpcCidrBlock.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationDisassociateVpcCidrBlockMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableAddressTransfer.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableAddressTransfer.go
index 36dee85b5..d716248e3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableAddressTransfer.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableAddressTransfer.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationEnableAddressTransferMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableAllowedImagesSettings.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableAllowedImagesSettings.go
index c07016b36..a3d1bd2ed 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableAllowedImagesSettings.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableAllowedImagesSettings.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationEnableAllowedImagesSettingsMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableAwsNetworkPerformanceMetricSubscription.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableAwsNetworkPerformanceMetricSubscription.go
index 71c2c3abe..ca1d6099d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableAwsNetworkPerformanceMetricSubscription.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableAwsNetworkPerformanceMetricSubscription.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationEnableAwsNetworkPerformanceMetricSubscriptionMiddle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableCapacityManager.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableCapacityManager.go
index 886a57375..1c388a60a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableCapacityManager.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableCapacityManager.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationEnableCapacityManagerMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableEbsEncryptionByDefault.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableEbsEncryptionByDefault.go
index e14bd8b21..6fdaed4a1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableEbsEncryptionByDefault.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableEbsEncryptionByDefault.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationEnableEbsEncryptionByDefaultMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableFastLaunch.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableFastLaunch.go
index 9f8b64d08..535c2312d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableFastLaunch.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableFastLaunch.go
@@ -132,7 +132,7 @@ func (c *Client) addOperationEnableFastLaunchMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableFastSnapshotRestores.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableFastSnapshotRestores.go
index 25f0ebfce..7f2c1ae25 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableFastSnapshotRestores.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableFastSnapshotRestores.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationEnableFastSnapshotRestoresMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableImage.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableImage.go
index d5483a13e..e1d87433a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableImage.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableImage.go
@@ -83,7 +83,7 @@ func (c *Client) addOperationEnableImageMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableImageBlockPublicAccess.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableImageBlockPublicAccess.go
index 1495caf2a..81efb3f50 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableImageBlockPublicAccess.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableImageBlockPublicAccess.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationEnableImageBlockPublicAccessMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableImageDeprecation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableImageDeprecation.go
index 95a4c6a55..3a56580c4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableImageDeprecation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableImageDeprecation.go
@@ -89,7 +89,7 @@ func (c *Client) addOperationEnableImageDeprecationMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableImageDeregistrationProtection.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableImageDeregistrationProtection.go
index 0b9423d21..3bd1f4355 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableImageDeregistrationProtection.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableImageDeregistrationProtection.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationEnableImageDeregistrationProtectionMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableInstanceSqlHaStandbyDetections.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableInstanceSqlHaStandbyDetections.go
index 979be5da2..ce9560c39 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableInstanceSqlHaStandbyDetections.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableInstanceSqlHaStandbyDetections.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationEnableInstanceSqlHaStandbyDetectionsMiddlewares(sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableIpamOrganizationAdminAccount.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableIpamOrganizationAdminAccount.go
index 58fa9325f..95a5275bf 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableIpamOrganizationAdminAccount.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableIpamOrganizationAdminAccount.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationEnableIpamOrganizationAdminAccountMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableIpamPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableIpamPolicy.go
index b0483af08..4c67d238d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableIpamPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableIpamPolicy.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationEnableIpamPolicyMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableReachabilityAnalyzerOrganizationSharing.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableReachabilityAnalyzerOrganizationSharing.go
index d9fef24da..3eade3105 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableReachabilityAnalyzerOrganizationSharing.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableReachabilityAnalyzerOrganizationSharing.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationEnableReachabilityAnalyzerOrganizationSharingMiddle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableRouteServerPropagation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableRouteServerPropagation.go
index d5e314af7..c5ea551b8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableRouteServerPropagation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableRouteServerPropagation.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationEnableRouteServerPropagationMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableSerialConsoleAccess.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableSerialConsoleAccess.go
index 856e156a7..f4110edd8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableSerialConsoleAccess.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableSerialConsoleAccess.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationEnableSerialConsoleAccessMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableSnapshotBlockPublicAccess.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableSnapshotBlockPublicAccess.go
index ea20b59d2..add343564 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableSnapshotBlockPublicAccess.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableSnapshotBlockPublicAccess.go
@@ -106,7 +106,7 @@ func (c *Client) addOperationEnableSnapshotBlockPublicAccessMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go
index f1bfd2783..9f0d9ee14 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationEnableTransitGatewayRouteTablePropagationMiddleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableVgwRoutePropagation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableVgwRoutePropagation.go
index 2fa095575..d4ef2e25e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableVgwRoutePropagation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableVgwRoutePropagation.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationEnableVgwRoutePropagationMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableVolumeIO.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableVolumeIO.go
index 4d351481c..418baf8e1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableVolumeIO.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableVolumeIO.go
@@ -70,7 +70,7 @@ func (c *Client) addOperationEnableVolumeIOMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableVpcClassicLink.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableVpcClassicLink.go
index fb37e5c66..ff4bf7be2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableVpcClassicLink.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableVpcClassicLink.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationEnableVpcClassicLinkMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go
index 615f42a45..3b677a006 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go
@@ -73,7 +73,7 @@ func (c *Client) addOperationEnableVpcClassicLinkDnsSupportMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go
index e85d90690..e510a7895 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationExportClientVpnClientCertificateRevocationListMiddl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportClientVpnClientConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportClientVpnClientConfiguration.go
index 7e90833ac..4f2b9d504 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportClientVpnClientConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportClientVpnClientConfiguration.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationExportClientVpnClientConfigurationMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportImage.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportImage.go
index f7d738c7e..5499c5e03 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportImage.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportImage.go
@@ -132,7 +132,7 @@ func (c *Client) addOperationExportImageMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportTransitGatewayRoutes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportTransitGatewayRoutes.go
index b491f5064..b0ffe2f23 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportTransitGatewayRoutes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportTransitGatewayRoutes.go
@@ -114,7 +114,7 @@ func (c *Client) addOperationExportTransitGatewayRoutesMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportVerifiedAccessInstanceClientConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportVerifiedAccessInstanceClientConfiguration.go
index 6df265ca5..0ec29c1cd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportVerifiedAccessInstanceClientConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ExportVerifiedAccessInstanceClientConfiguration.go
@@ -89,7 +89,7 @@ func (c *Client) addOperationExportVerifiedAccessInstanceClientConfigurationMidd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetActiveVpnTunnelStatus.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetActiveVpnTunnelStatus.go
index c1712ca19..23050d4c9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetActiveVpnTunnelStatus.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetActiveVpnTunnelStatus.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationGetActiveVpnTunnelStatusMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetAllowedImagesSettings.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetAllowedImagesSettings.go
index bcfa01dc7..6f74c57f8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetAllowedImagesSettings.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetAllowedImagesSettings.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationGetAllowedImagesSettingsMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go
index f1bab0d6d..8c6f81e24 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationGetAssociatedEnclaveCertificateIamRolesMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go
index c8a45310f..3b9bb3994 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationGetAssociatedIpv6PoolCidrsMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetAwsNetworkPerformanceData.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetAwsNetworkPerformanceData.go
index ac12bc265..3cc36dfbf 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetAwsNetworkPerformanceData.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetAwsNetworkPerformanceData.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationGetAwsNetworkPerformanceDataMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityManagerAttributes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityManagerAttributes.go
index 4b527586e..831724e51 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityManagerAttributes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityManagerAttributes.go
@@ -99,7 +99,7 @@ func (c *Client) addOperationGetCapacityManagerAttributesMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityManagerMetricData.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityManagerMetricData.go
index 8dc7cd7b7..23f82e813 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityManagerMetricData.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityManagerMetricData.go
@@ -119,7 +119,7 @@ func (c *Client) addOperationGetCapacityManagerMetricDataMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityManagerMetricDimensions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityManagerMetricDimensions.go
index fd91fb463..d056d9d15 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityManagerMetricDimensions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityManagerMetricDimensions.go
@@ -117,7 +117,7 @@ func (c *Client) addOperationGetCapacityManagerMetricDimensionsMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityManagerMonitoredTagKeys.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityManagerMonitoredTagKeys.go
index 0e60b4498..ca3800cd7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityManagerMonitoredTagKeys.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityManagerMonitoredTagKeys.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationGetCapacityManagerMonitoredTagKeysMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityReservationUsage.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityReservationUsage.go
index 94c30f1db..2822af8fc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityReservationUsage.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityReservationUsage.go
@@ -165,7 +165,7 @@ func (c *Client) addOperationGetCapacityReservationUsageMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCoipPoolUsage.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCoipPoolUsage.go
index db44e9d5e..9a8627416 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCoipPoolUsage.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCoipPoolUsage.go
@@ -104,7 +104,7 @@ func (c *Client) addOperationGetCoipPoolUsageMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetConsoleOutput.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetConsoleOutput.go
index 2c2d98f8d..1fc880c61 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetConsoleOutput.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetConsoleOutput.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationGetConsoleOutputMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetConsoleScreenshot.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetConsoleScreenshot.go
index 9af3c3c47..0beb318e9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetConsoleScreenshot.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetConsoleScreenshot.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationGetConsoleScreenshotMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetDeclarativePoliciesReportSummary.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetDeclarativePoliciesReportSummary.go
index 3c48f03b9..90c46006a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetDeclarativePoliciesReportSummary.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetDeclarativePoliciesReportSummary.go
@@ -118,7 +118,7 @@ func (c *Client) addOperationGetDeclarativePoliciesReportSummaryMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetDefaultCreditSpecification.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetDefaultCreditSpecification.go
index 802b35d31..20d80845d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetDefaultCreditSpecification.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetDefaultCreditSpecification.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationGetDefaultCreditSpecificationMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetEbsDefaultKmsKeyId.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetEbsDefaultKmsKeyId.go
index cda6c796c..6a3e2418a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetEbsDefaultKmsKeyId.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetEbsDefaultKmsKeyId.go
@@ -73,7 +73,7 @@ func (c *Client) addOperationGetEbsDefaultKmsKeyIdMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetEbsEncryptionByDefault.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetEbsEncryptionByDefault.go
index 72fbefc6f..0fa6d1609 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetEbsEncryptionByDefault.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetEbsEncryptionByDefault.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationGetEbsEncryptionByDefaultMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetEnabledIpamPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetEnabledIpamPolicy.go
index c1f09751d..65a3a2997 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetEnabledIpamPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetEnabledIpamPolicy.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationGetEnabledIpamPolicyMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetFlowLogsIntegrationTemplate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetFlowLogsIntegrationTemplate.go
index 66a579780..b7ad6a7ea 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetFlowLogsIntegrationTemplate.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetFlowLogsIntegrationTemplate.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationGetFlowLogsIntegrationTemplateMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetGroupsForCapacityReservation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetGroupsForCapacityReservation.go
index 827125c7f..3365eb214 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetGroupsForCapacityReservation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetGroupsForCapacityReservation.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationGetGroupsForCapacityReservationMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetHostReservationPurchasePreview.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetHostReservationPurchasePreview.go
index c386bacd7..42d3f2a68 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetHostReservationPurchasePreview.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetHostReservationPurchasePreview.go
@@ -89,7 +89,7 @@ func (c *Client) addOperationGetHostReservationPurchasePreviewMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetImageAncestry.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetImageAncestry.go
index d82d5c091..2ebf9761c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetImageAncestry.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetImageAncestry.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationGetImageAncestryMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetImageBlockPublicAccessState.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetImageBlockPublicAccessState.go
index 2ddc49746..d8f843baa 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetImageBlockPublicAccessState.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetImageBlockPublicAccessState.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationGetImageBlockPublicAccessStateMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetInstanceMetadataDefaults.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetInstanceMetadataDefaults.go
index bf2151479..e10fa1221 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetInstanceMetadataDefaults.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetInstanceMetadataDefaults.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationGetInstanceMetadataDefaultsMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetInstanceTpmEkPub.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetInstanceTpmEkPub.go
index 907d37a61..c8f80f106 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetInstanceTpmEkPub.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetInstanceTpmEkPub.go
@@ -95,7 +95,7 @@ func (c *Client) addOperationGetInstanceTpmEkPubMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetInstanceTypesFromInstanceRequirements.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetInstanceTypesFromInstanceRequirements.go
index 2d54f04db..b97bdb3ef 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetInstanceTypesFromInstanceRequirements.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetInstanceTypesFromInstanceRequirements.go
@@ -117,7 +117,7 @@ func (c *Client) addOperationGetInstanceTypesFromInstanceRequirementsMiddlewares
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetInstanceUefiData.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetInstanceUefiData.go
index f2aceac2d..431e13b2b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetInstanceUefiData.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetInstanceUefiData.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationGetInstanceUefiDataMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamAddressHistory.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamAddressHistory.go
index 1da225e40..883be1516 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamAddressHistory.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamAddressHistory.go
@@ -110,7 +110,7 @@ func (c *Client) addOperationGetIpamAddressHistoryMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamDiscoveredAccounts.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamDiscoveredAccounts.go
index 37f5433c0..60f682894 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamDiscoveredAccounts.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamDiscoveredAccounts.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationGetIpamDiscoveredAccountsMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamDiscoveredPublicAddresses.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamDiscoveredPublicAddresses.go
index 6fb755b02..fad14e26e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamDiscoveredPublicAddresses.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamDiscoveredPublicAddresses.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationGetIpamDiscoveredPublicAddressesMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamDiscoveredResourceCidrs.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamDiscoveredResourceCidrs.go
index 5dcd756e4..82c4e2cdd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamDiscoveredResourceCidrs.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamDiscoveredResourceCidrs.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationGetIpamDiscoveredResourceCidrsMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPolicyAllocationRules.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPolicyAllocationRules.go
index 8dc800163..956ac97d3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPolicyAllocationRules.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPolicyAllocationRules.go
@@ -114,7 +114,7 @@ func (c *Client) addOperationGetIpamPolicyAllocationRulesMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPolicyOrganizationTargets.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPolicyOrganizationTargets.go
index 2d8c8fe59..a46fa079f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPolicyOrganizationTargets.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPolicyOrganizationTargets.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationGetIpamPolicyOrganizationTargetsMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPoolAllocations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPoolAllocations.go
index dabecaab6..14b61c5de 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPoolAllocations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPoolAllocations.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationGetIpamPoolAllocationsMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPoolCidrs.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPoolCidrs.go
index 0eab3e408..306fc99b9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPoolCidrs.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPoolCidrs.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationGetIpamPoolCidrsMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPrefixListResolverRules.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPrefixListResolverRules.go
index 226eee3f3..8ae5fa180 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPrefixListResolverRules.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPrefixListResolverRules.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationGetIpamPrefixListResolverRulesMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPrefixListResolverVersionEntries.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPrefixListResolverVersionEntries.go
index 1096c97ad..ce286c256 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPrefixListResolverVersionEntries.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPrefixListResolverVersionEntries.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationGetIpamPrefixListResolverVersionEntriesMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPrefixListResolverVersions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPrefixListResolverVersions.go
index d70f391db..5c61f6c7e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPrefixListResolverVersions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamPrefixListResolverVersions.go
@@ -124,7 +124,7 @@ func (c *Client) addOperationGetIpamPrefixListResolverVersionsMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamResourceCidrs.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamResourceCidrs.go
index df4d48e21..d4940a67c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamResourceCidrs.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetIpamResourceCidrs.go
@@ -113,7 +113,7 @@ func (c *Client) addOperationGetIpamResourceCidrsMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetLaunchTemplateData.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetLaunchTemplateData.go
index acfa50324..79f3c4230 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetLaunchTemplateData.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetLaunchTemplateData.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationGetLaunchTemplateDataMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetManagedPrefixListAssociations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetManagedPrefixListAssociations.go
index a789335f7..95b3b7e4c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetManagedPrefixListAssociations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetManagedPrefixListAssociations.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationGetManagedPrefixListAssociationsMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetManagedPrefixListEntries.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetManagedPrefixListEntries.go
index 7f7025a49..f8bd65410 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetManagedPrefixListEntries.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetManagedPrefixListEntries.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationGetManagedPrefixListEntriesMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetManagedResourceVisibility.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetManagedResourceVisibility.go
index c81480417..4b062d9c0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetManagedResourceVisibility.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetManagedResourceVisibility.go
@@ -70,7 +70,7 @@ func (c *Client) addOperationGetManagedResourceVisibilityMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetNetworkInsightsAccessScopeAnalysisFindings.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetNetworkInsightsAccessScopeAnalysisFindings.go
index 03f928f19..913dbddb1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetNetworkInsightsAccessScopeAnalysisFindings.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetNetworkInsightsAccessScopeAnalysisFindings.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationGetNetworkInsightsAccessScopeAnalysisFindingsMiddle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetNetworkInsightsAccessScopeContent.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetNetworkInsightsAccessScopeContent.go
index e00f762d2..bcf9d8628 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetNetworkInsightsAccessScopeContent.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetNetworkInsightsAccessScopeContent.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationGetNetworkInsightsAccessScopeContentMiddlewares(sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetPasswordData.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetPasswordData.go
index 2b210e72e..8381f763f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetPasswordData.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetPasswordData.go
@@ -104,7 +104,7 @@ func (c *Client) addOperationGetPasswordDataMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetReservedInstancesExchangeQuote.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetReservedInstancesExchangeQuote.go
index 44c9d2c42..40659aed9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetReservedInstancesExchangeQuote.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetReservedInstancesExchangeQuote.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationGetReservedInstancesExchangeQuoteMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetRouteServerAssociations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetRouteServerAssociations.go
index e2b137f1a..a048c020a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetRouteServerAssociations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetRouteServerAssociations.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationGetRouteServerAssociationsMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetRouteServerPropagations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetRouteServerPropagations.go
index 0c5aac3ca..78a1cd87b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetRouteServerPropagations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetRouteServerPropagations.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationGetRouteServerPropagationsMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetRouteServerRoutingDatabase.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetRouteServerRoutingDatabase.go
index c0eb63cf6..151d25a61 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetRouteServerRoutingDatabase.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetRouteServerRoutingDatabase.go
@@ -117,7 +117,7 @@ func (c *Client) addOperationGetRouteServerRoutingDatabaseMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSecurityGroupsForVpc.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSecurityGroupsForVpc.go
index b553f223e..f6d5e98b8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSecurityGroupsForVpc.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSecurityGroupsForVpc.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationGetSecurityGroupsForVpcMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSerialConsoleAccessStatus.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSerialConsoleAccessStatus.go
index ea21702e3..7eac36fe5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSerialConsoleAccessStatus.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSerialConsoleAccessStatus.go
@@ -83,7 +83,7 @@ func (c *Client) addOperationGetSerialConsoleAccessStatusMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSnapshotBlockPublicAccessState.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSnapshotBlockPublicAccessState.go
index de82257ad..a9f8c37b7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSnapshotBlockPublicAccessState.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSnapshotBlockPublicAccessState.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationGetSnapshotBlockPublicAccessStateMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSpotPlacementScores.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSpotPlacementScores.go
index b0732b8fa..3bbfea751 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSpotPlacementScores.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSpotPlacementScores.go
@@ -147,7 +147,7 @@ func (c *Client) addOperationGetSpotPlacementScoresMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSubnetCidrReservations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSubnetCidrReservations.go
index c1de59b39..0c1d23a29 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSubnetCidrReservations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetSubnetCidrReservations.go
@@ -103,7 +103,7 @@ func (c *Client) addOperationGetSubnetCidrReservationsMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go
index c6b0cfe53..f3abff7d1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationGetTransitGatewayAttachmentPropagationsMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayMeteringPolicyEntries.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayMeteringPolicyEntries.go
index 45ec6ab49..c932f0534 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayMeteringPolicyEntries.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayMeteringPolicyEntries.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationGetTransitGatewayMeteringPolicyEntriesMiddlewares(s
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go
index 78cea4aa5..bf7044c19 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationGetTransitGatewayMulticastDomainAssociationsMiddlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayPolicyTableAssociations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayPolicyTableAssociations.go
index d3644ca22..3d5b18b09 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayPolicyTableAssociations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayPolicyTableAssociations.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationGetTransitGatewayPolicyTableAssociationsMiddlewares
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayPolicyTableEntries.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayPolicyTableEntries.go
index cd872a9fa..a2585780a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayPolicyTableEntries.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayPolicyTableEntries.go
@@ -4,6 +4,7 @@ package ec2
import (
"context"
+ "fmt"
"github.com/aws/aws-sdk-go-v2/service/ec2/types"
"github.com/aws/smithy-go/middleware"
smithyhttp "github.com/aws/smithy-go/transport/http"
@@ -38,7 +39,27 @@ type GetTransitGatewayPolicyTableEntriesInput struct {
// UnauthorizedOperation .
DryRun *bool
- // The filters associated with the transit gateway policy table.
+ // One or more filters. The possible values are:
+ //
+ // - policy-rule-number - The rule number for the transit gateway policy table
+ // entry.
+ //
+ // - target-route-table-id - The ID of the target route table.
+ //
+ // - policy-rule.source-ip - The source CIDR block for the policy rule.
+ //
+ // - policy-rule.destination-ip - The destination CIDR block for the policy rule.
+ //
+ // - policy-rule.source-port - The source port or port range for the policy rule.
+ //
+ // - policy-rule.destination-port - The destination port or port range for the
+ // policy rule.
+ //
+ // - policy-rule.protocol - The protocol for the policy rule.
+ //
+ // - policy-rule.meta-data.key - The metadata key for the policy rule.
+ //
+ // - policy-rule.meta-data.value - The metadata value for the policy rule.
Filters []types.Filter
// The maximum number of results to return with a single call. To retrieve the
@@ -53,6 +74,10 @@ type GetTransitGatewayPolicyTableEntriesInput struct {
type GetTransitGatewayPolicyTableEntriesOutput struct {
+ // The token to use to retrieve the next page of results. This value is null when
+ // there are no more results to return.
+ NextToken *string
+
// The entries for the transit gateway policy table.
TransitGatewayPolicyTableEntries []types.TransitGatewayPolicyTableEntry
@@ -84,7 +109,7 @@ func (c *Client) addOperationGetTransitGatewayPolicyTableEntriesMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
@@ -119,3 +144,100 @@ func (c *Client) addOperationGetTransitGatewayPolicyTableEntriesMiddlewares(stac
}
return nil
}
+
+// GetTransitGatewayPolicyTableEntriesPaginatorOptions is the paginator options
+// for GetTransitGatewayPolicyTableEntries
+type GetTransitGatewayPolicyTableEntriesPaginatorOptions struct {
+ // The maximum number of results to return with a single call. To retrieve the
+ // remaining results, make another call with the returned nextToken value.
+ Limit int32
+
+ // Set to true if pagination should stop if the service returns a pagination token
+ // that matches the most recent token provided to the service.
+ StopOnDuplicateToken bool
+}
+
+// GetTransitGatewayPolicyTableEntriesPaginator is a paginator for
+// GetTransitGatewayPolicyTableEntries
+type GetTransitGatewayPolicyTableEntriesPaginator struct {
+ options GetTransitGatewayPolicyTableEntriesPaginatorOptions
+ client GetTransitGatewayPolicyTableEntriesAPIClient
+ params *GetTransitGatewayPolicyTableEntriesInput
+ nextToken *string
+ firstPage bool
+}
+
+// NewGetTransitGatewayPolicyTableEntriesPaginator returns a new
+// GetTransitGatewayPolicyTableEntriesPaginator
+func NewGetTransitGatewayPolicyTableEntriesPaginator(client GetTransitGatewayPolicyTableEntriesAPIClient, params *GetTransitGatewayPolicyTableEntriesInput, optFns ...func(*GetTransitGatewayPolicyTableEntriesPaginatorOptions)) *GetTransitGatewayPolicyTableEntriesPaginator {
+ if params == nil {
+ params = &GetTransitGatewayPolicyTableEntriesInput{}
+ }
+
+ options := GetTransitGatewayPolicyTableEntriesPaginatorOptions{}
+ if params.MaxResults != nil {
+ options.Limit = *params.MaxResults
+ }
+
+ for _, fn := range optFns {
+ fn(&options)
+ }
+
+ return &GetTransitGatewayPolicyTableEntriesPaginator{
+ options: options,
+ client: client,
+ params: params,
+ firstPage: true,
+ nextToken: params.NextToken,
+ }
+}
+
+// HasMorePages returns a boolean indicating whether more pages are available
+func (p *GetTransitGatewayPolicyTableEntriesPaginator) HasMorePages() bool {
+ return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0)
+}
+
+// NextPage retrieves the next GetTransitGatewayPolicyTableEntries page.
+func (p *GetTransitGatewayPolicyTableEntriesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetTransitGatewayPolicyTableEntriesOutput, error) {
+ if !p.HasMorePages() {
+ return nil, fmt.Errorf("no more pages available")
+ }
+
+ params := *p.params
+ params.NextToken = p.nextToken
+
+ var limit *int32
+ if p.options.Limit > 0 {
+ limit = &p.options.Limit
+ }
+ params.MaxResults = limit
+
+ optFns = append([]func(*Options){
+ addIsPaginatorUserAgent,
+ }, optFns...)
+ result, err := p.client.GetTransitGatewayPolicyTableEntries(ctx, ¶ms, optFns...)
+ if err != nil {
+ return nil, err
+ }
+ p.firstPage = false
+
+ prevToken := p.nextToken
+ p.nextToken = result.NextToken
+
+ if p.options.StopOnDuplicateToken &&
+ prevToken != nil &&
+ p.nextToken != nil &&
+ *prevToken == *p.nextToken {
+ p.nextToken = nil
+ }
+
+ return result, nil
+}
+
+// GetTransitGatewayPolicyTableEntriesAPIClient is a client that implements the
+// GetTransitGatewayPolicyTableEntries operation.
+type GetTransitGatewayPolicyTableEntriesAPIClient interface {
+ GetTransitGatewayPolicyTableEntries(context.Context, *GetTransitGatewayPolicyTableEntriesInput, ...func(*Options)) (*GetTransitGatewayPolicyTableEntriesOutput, error)
+}
+
+var _ GetTransitGatewayPolicyTableEntriesAPIClient = (*Client)(nil)
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go
index edbe88291..5204732b6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go
@@ -107,7 +107,7 @@ func (c *Client) addOperationGetTransitGatewayPrefixListReferencesMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go
index d68265299..d7278e262 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationGetTransitGatewayRouteTableAssociationsMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go
index f93fc1330..32515da67 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationGetTransitGatewayRouteTablePropagationsMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVerifiedAccessEndpointPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVerifiedAccessEndpointPolicy.go
index 3b2cc02f4..06cfe6e4d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVerifiedAccessEndpointPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVerifiedAccessEndpointPolicy.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationGetVerifiedAccessEndpointPolicyMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVerifiedAccessEndpointTargets.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVerifiedAccessEndpointTargets.go
index 9be441f82..b1362f477 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVerifiedAccessEndpointTargets.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVerifiedAccessEndpointTargets.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationGetVerifiedAccessEndpointTargetsMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVerifiedAccessGroupPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVerifiedAccessGroupPolicy.go
index 200a9b562..dcebfc4bb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVerifiedAccessGroupPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVerifiedAccessGroupPolicy.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationGetVerifiedAccessGroupPolicyMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVpcResourcesBlockingEncryptionEnforcement.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVpcResourcesBlockingEncryptionEnforcement.go
index 3b3d6bf8a..d3e6896a5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVpcResourcesBlockingEncryptionEnforcement.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVpcResourcesBlockingEncryptionEnforcement.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationGetVpcResourcesBlockingEncryptionEnforcementMiddlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVpnConnectionDeviceSampleConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVpnConnectionDeviceSampleConfiguration.go
index 83a97e12f..f22cdad35 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVpnConnectionDeviceSampleConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVpnConnectionDeviceSampleConfiguration.go
@@ -89,7 +89,7 @@ func (c *Client) addOperationGetVpnConnectionDeviceSampleConfigurationMiddleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVpnConnectionDeviceTypes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVpnConnectionDeviceTypes.go
index 328cb1d75..8f7e7d0a2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVpnConnectionDeviceTypes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVpnConnectionDeviceTypes.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationGetVpnConnectionDeviceTypesMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVpnTunnelReplacementStatus.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVpnTunnelReplacementStatus.go
index e46ca2f3b..57565e48a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVpnTunnelReplacementStatus.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetVpnTunnelReplacementStatus.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationGetVpnTunnelReplacementStatusMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go
index 535e82dcb..c990cc26e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationImportClientVpnClientCertificateRevocationListMiddl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportImage.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportImage.go
index a68459f34..a6bccdd31 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportImage.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportImage.go
@@ -236,7 +236,7 @@ func (c *Client) addOperationImportImageMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportInstance.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportInstance.go
index 0f6f20e4b..c42108c29 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportInstance.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportInstance.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationImportInstanceMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportKeyPair.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportKeyPair.go
index 7d05de945..16d83a89f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportKeyPair.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportKeyPair.go
@@ -104,7 +104,7 @@ func (c *Client) addOperationImportKeyPairMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportSnapshot.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportSnapshot.go
index 279558a1c..58faeab3f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportSnapshot.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportSnapshot.go
@@ -139,7 +139,7 @@ func (c *Client) addOperationImportSnapshotMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportVolume.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportVolume.go
index 0fdf83af3..0b6a33a66 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportVolume.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ImportVolume.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationImportVolumeMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ListImagesInRecycleBin.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ListImagesInRecycleBin.go
index 43b801bf2..d1b8240b0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ListImagesInRecycleBin.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ListImagesInRecycleBin.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationListImagesInRecycleBinMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ListSnapshotsInRecycleBin.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ListSnapshotsInRecycleBin.go
index 0ec52c070..fba798bb0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ListSnapshotsInRecycleBin.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ListSnapshotsInRecycleBin.go
@@ -89,7 +89,7 @@ func (c *Client) addOperationListSnapshotsInRecycleBinMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ListVolumesInRecycleBin.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ListVolumesInRecycleBin.go
index e08c6b35e..d0b760feb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ListVolumesInRecycleBin.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ListVolumesInRecycleBin.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationListVolumesInRecycleBinMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_LockSnapshot.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_LockSnapshot.go
index f33c96f76..d7c7e55f9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_LockSnapshot.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_LockSnapshot.go
@@ -192,7 +192,7 @@ func (c *Client) addOperationLockSnapshotMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyAccountVpcEncryptionControl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyAccountVpcEncryptionControl.go
index 1fa0b3ef1..819bfeb6c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyAccountVpcEncryptionControl.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyAccountVpcEncryptionControl.go
@@ -111,7 +111,7 @@ func (c *Client) addOperationModifyAccountVpcEncryptionControlMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyAddressAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyAddressAttribute.go
index 962bb6249..5d068a1c0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyAddressAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyAddressAttribute.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationModifyAddressAttributeMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyAvailabilityZoneGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyAvailabilityZoneGroup.go
index 4257c24c0..6df4031d7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyAvailabilityZoneGroup.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyAvailabilityZoneGroup.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationModifyAvailabilityZoneGroupMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyCapacityReservation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyCapacityReservation.go
index 424a77177..4351dd051 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyCapacityReservation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyCapacityReservation.go
@@ -142,7 +142,7 @@ func (c *Client) addOperationModifyCapacityReservationMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyCapacityReservationFleet.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyCapacityReservationFleet.go
index 1073047c8..41ca83ea0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyCapacityReservationFleet.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyCapacityReservationFleet.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationModifyCapacityReservationFleetMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyClientVpnEndpoint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyClientVpnEndpoint.go
index cbeb49012..21117cba3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyClientVpnEndpoint.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyClientVpnEndpoint.go
@@ -160,7 +160,7 @@ func (c *Client) addOperationModifyClientVpnEndpointMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyDefaultCreditSpecification.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyDefaultCreditSpecification.go
index 0ad5843c7..54afe64f2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyDefaultCreditSpecification.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyDefaultCreditSpecification.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationModifyDefaultCreditSpecificationMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go
index 30c679f8d..114841942 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go
@@ -106,7 +106,7 @@ func (c *Client) addOperationModifyEbsDefaultKmsKeyIdMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyFleet.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyFleet.go
index a02a5459d..4a44afdee 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyFleet.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyFleet.go
@@ -119,7 +119,7 @@ func (c *Client) addOperationModifyFleetMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyFpgaImageAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyFpgaImageAttribute.go
index 4877b0cf2..9d32eec5d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyFpgaImageAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyFpgaImageAttribute.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationModifyFpgaImageAttributeMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyHosts.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyHosts.go
index 8500b53e2..4f045e6f7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyHosts.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyHosts.go
@@ -114,7 +114,7 @@ func (c *Client) addOperationModifyHostsMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIdFormat.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIdFormat.go
index 103bda962..d77135b51 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIdFormat.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIdFormat.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationModifyIdFormatMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIdentityIdFormat.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIdentityIdFormat.go
index 91c9f83cb..8342914fe 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIdentityIdFormat.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIdentityIdFormat.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationModifyIdentityIdFormatMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyImageAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyImageAttribute.go
index b5609bf48..95a1f2c41 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyImageAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyImageAttribute.go
@@ -132,7 +132,7 @@ func (c *Client) addOperationModifyImageAttributeMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceAttribute.go
index 52b9f893d..2caa9c193 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceAttribute.go
@@ -195,7 +195,7 @@ func (c *Client) addOperationModifyInstanceAttributeMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go
index db22368d4..fb1a7a74d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationModifyInstanceCapacityReservationAttributesMiddlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceConnectEndpoint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceConnectEndpoint.go
index 42581c29f..6665a0bc6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceConnectEndpoint.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceConnectEndpoint.go
@@ -99,7 +99,7 @@ func (c *Client) addOperationModifyInstanceConnectEndpointMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceCpuOptions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceCpuOptions.go
index a0c3e4ebc..50d57f9cc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceCpuOptions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceCpuOptions.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationModifyInstanceCpuOptionsMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceCreditSpecification.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceCreditSpecification.go
index 6662d05ef..5f4d92b16 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceCreditSpecification.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceCreditSpecification.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationModifyInstanceCreditSpecificationMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceEventStartTime.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceEventStartTime.go
index adb8bb6db..9d2db67b0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceEventStartTime.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceEventStartTime.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationModifyInstanceEventStartTimeMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceEventWindow.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceEventWindow.go
index ddb389c7e..6e492bc19 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceEventWindow.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceEventWindow.go
@@ -116,7 +116,7 @@ func (c *Client) addOperationModifyInstanceEventWindowMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceMaintenanceOptions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceMaintenanceOptions.go
index 157bc850b..4bc44b1e8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceMaintenanceOptions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceMaintenanceOptions.go
@@ -122,7 +122,7 @@ func (c *Client) addOperationModifyInstanceMaintenanceOptionsMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceMetadataDefaults.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceMetadataDefaults.go
index ae179bfb0..6b4564722 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceMetadataDefaults.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceMetadataDefaults.go
@@ -111,7 +111,7 @@ func (c *Client) addOperationModifyInstanceMetadataDefaultsMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceMetadataOptions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceMetadataOptions.go
index 65e78673e..96f35eab9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceMetadataOptions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceMetadataOptions.go
@@ -138,7 +138,7 @@ func (c *Client) addOperationModifyInstanceMetadataOptionsMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceNetworkPerformanceOptions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceNetworkPerformanceOptions.go
index aa80ea1e3..1f8bc9070 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceNetworkPerformanceOptions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstanceNetworkPerformanceOptions.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationModifyInstanceNetworkPerformanceOptionsMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstancePlacement.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstancePlacement.go
index 16e85a72a..b8962ea91 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstancePlacement.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyInstancePlacement.go
@@ -127,7 +127,7 @@ func (c *Client) addOperationModifyInstancePlacementMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpam.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpam.go
index 23f71f54c..5ecd523c5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpam.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpam.go
@@ -117,7 +117,7 @@ func (c *Client) addOperationModifyIpamMiddlewares(stack *middleware.Stack, opti
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPolicyAllocationRules.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPolicyAllocationRules.go
index b05455f92..5b55f10b1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPolicyAllocationRules.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPolicyAllocationRules.go
@@ -109,7 +109,7 @@ func (c *Client) addOperationModifyIpamPolicyAllocationRulesMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPool.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPool.go
index 119e71cfb..eadb34e31 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPool.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPool.go
@@ -123,7 +123,7 @@ func (c *Client) addOperationModifyIpamPoolMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPoolAllocation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPoolAllocation.go
index 2ed78f90a..d1d0482d2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPoolAllocation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPoolAllocation.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationModifyIpamPoolAllocationMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPrefixListResolver.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPrefixListResolver.go
index 2763f0646..ae761625f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPrefixListResolver.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPrefixListResolver.go
@@ -83,7 +83,7 @@ func (c *Client) addOperationModifyIpamPrefixListResolverMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPrefixListResolverTarget.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPrefixListResolverTarget.go
index 3f595d5d4..6dc160fb1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPrefixListResolverTarget.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamPrefixListResolverTarget.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationModifyIpamPrefixListResolverTargetMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamResourceCidr.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamResourceCidr.go
index bd8b9cd6a..18dc82885 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamResourceCidr.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamResourceCidr.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationModifyIpamResourceCidrMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamResourceDiscovery.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamResourceDiscovery.go
index 10d26b470..6d1d60096 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamResourceDiscovery.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamResourceDiscovery.go
@@ -117,7 +117,7 @@ func (c *Client) addOperationModifyIpamResourceDiscoveryMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamScope.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamScope.go
index d64a5cdd6..5f427dfb0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamScope.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyIpamScope.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationModifyIpamScopeMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyLaunchTemplate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyLaunchTemplate.go
index b81c5e3e8..89b2831ae 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyLaunchTemplate.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyLaunchTemplate.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationModifyLaunchTemplateMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyLocalGatewayRoute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyLocalGatewayRoute.go
index fba2361f7..75eb54638 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyLocalGatewayRoute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyLocalGatewayRoute.go
@@ -89,7 +89,7 @@ func (c *Client) addOperationModifyLocalGatewayRouteMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyManagedPrefixList.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyManagedPrefixList.go
index a39ea1983..702a6f201 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyManagedPrefixList.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyManagedPrefixList.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationModifyManagedPrefixListMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyManagedResourceVisibility.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyManagedResourceVisibility.go
index 9c97da20b..51065a0e4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyManagedResourceVisibility.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyManagedResourceVisibility.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationModifyManagedResourceVisibilityMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go
index 8ba53615e..10f18483c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go
@@ -124,7 +124,7 @@ func (c *Client) addOperationModifyNetworkInterfaceAttributeMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyPrivateDnsNameOptions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyPrivateDnsNameOptions.go
index 7444a2084..9164c2e85 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyPrivateDnsNameOptions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyPrivateDnsNameOptions.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationModifyPrivateDnsNameOptionsMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyPublicIpDnsNameOptions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyPublicIpDnsNameOptions.go
index 69e11071f..ae3f31055 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyPublicIpDnsNameOptions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyPublicIpDnsNameOptions.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationModifyPublicIpDnsNameOptionsMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyReservedInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyReservedInstances.go
index 58bcafbde..b08b4ab20 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyReservedInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyReservedInstances.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationModifyReservedInstancesMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyRouteServer.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyRouteServer.go
index 1c53670f4..1e3c54462 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyRouteServer.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyRouteServer.go
@@ -129,7 +129,7 @@ func (c *Client) addOperationModifyRouteServerMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySecurityGroupRules.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySecurityGroupRules.go
index ec573204d..40155ca4f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySecurityGroupRules.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySecurityGroupRules.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationModifySecurityGroupRulesMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySnapshotAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySnapshotAttribute.go
index 36876ae28..f774d03cc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySnapshotAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySnapshotAttribute.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationModifySnapshotAttributeMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySnapshotTier.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySnapshotTier.go
index 3ae0441e6..52eaba236 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySnapshotTier.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySnapshotTier.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationModifySnapshotTierMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySpotFleetRequest.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySpotFleetRequest.go
index 46cad6571..5b5cf8a0c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySpotFleetRequest.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySpotFleetRequest.go
@@ -121,7 +121,7 @@ func (c *Client) addOperationModifySpotFleetRequestMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySubnetAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySubnetAttribute.go
index 07bc28391..a6b6510ad 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySubnetAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifySubnetAttribute.go
@@ -149,7 +149,7 @@ func (c *Client) addOperationModifySubnetAttributeMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go
index bab0c20b9..dbfdbddde 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationModifyTrafficMirrorFilterNetworkServicesMiddlewares
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go
index 9e93fefbb..0c7ef5259 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go
@@ -114,7 +114,7 @@ func (c *Client) addOperationModifyTrafficMirrorFilterRuleMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTrafficMirrorSession.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTrafficMirrorSession.go
index 022225987..7900adcfe 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTrafficMirrorSession.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTrafficMirrorSession.go
@@ -111,7 +111,7 @@ func (c *Client) addOperationModifyTrafficMirrorSessionMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGateway.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGateway.go
index 3546ea07c..486bbc5dd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGateway.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGateway.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationModifyTransitGatewayMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGatewayMeteringPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGatewayMeteringPolicy.go
index 558e0f2f3..68661ee4e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGatewayMeteringPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGatewayMeteringPolicy.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationModifyTransitGatewayMeteringPolicyMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGatewayPolicyTableEntry.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGatewayPolicyTableEntry.go
new file mode 100644
index 000000000..0365193e9
--- /dev/null
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGatewayPolicyTableEntry.go
@@ -0,0 +1,123 @@
+// Code generated by smithy-go-codegen DO NOT EDIT.
+
+package ec2
+
+import (
+ "context"
+ "github.com/aws/aws-sdk-go-v2/service/ec2/types"
+ "github.com/aws/smithy-go/middleware"
+ smithyhttp "github.com/aws/smithy-go/transport/http"
+)
+
+// Modifies the specified transit gateway policy table entry.
+func (c *Client) ModifyTransitGatewayPolicyTableEntry(ctx context.Context, params *ModifyTransitGatewayPolicyTableEntryInput, optFns ...func(*Options)) (*ModifyTransitGatewayPolicyTableEntryOutput, error) {
+ if params == nil {
+ params = &ModifyTransitGatewayPolicyTableEntryInput{}
+ }
+
+ result, metadata, err := c.invokeOperation(ctx, "ModifyTransitGatewayPolicyTableEntry", params, optFns, c.addOperationModifyTransitGatewayPolicyTableEntryMiddlewares)
+ if err != nil {
+ return nil, err
+ }
+
+ out := result.(*ModifyTransitGatewayPolicyTableEntryOutput)
+ out.ResultMetadata = metadata
+ return out, nil
+}
+
+type ModifyTransitGatewayPolicyTableEntryInput struct {
+
+ // The rule number of the policy table entry to modify.
+ //
+ // This member is required.
+ PolicyRuleNumber *string
+
+ // The ID of the transit gateway policy table.
+ //
+ // This member is required.
+ TransitGatewayPolicyTableId *string
+
+ // Checks whether you have the required permissions for the action, without
+ // actually making the request, and provides an error response. If you have the
+ // required permissions, the error response is DryRunOperation . Otherwise, it is
+ // UnauthorizedOperation .
+ DryRun *bool
+
+ // The updated matching criteria for the policy table entry. Unspecified fields
+ // retain their current values.
+ PolicyRule *types.TransitGatewayRequestPolicyRule
+
+ // The ID of the transit gateway route table to use for traffic matching this rule.
+ TargetRouteTableId *string
+
+ noSmithyDocumentSerde
+}
+
+type ModifyTransitGatewayPolicyTableEntryOutput struct {
+
+ // Describes a transit gateway policy table entry
+ TransitGatewayPolicyTableEntry *types.TransitGatewayPolicyTableEntry
+
+ // Metadata pertaining to the operation's result.
+ ResultMetadata middleware.Metadata
+
+ noSmithyDocumentSerde
+}
+
+func (c *Client) addOperationModifyTransitGatewayPolicyTableEntryMiddlewares(stack *middleware.Stack, options Options) (err error) {
+ err = stack.Serialize.Add(&awsEc2query_serializeOpModifyTransitGatewayPolicyTableEntry{}, middleware.After)
+ if err != nil {
+ return err
+ }
+ err = stack.Deserialize.Add(&awsEc2query_deserializeOpModifyTransitGatewayPolicyTableEntry{}, middleware.After)
+ if err != nil {
+ return err
+ }
+
+ if err = addlegacyEndpointContextSetter(stack, options); err != nil {
+ return err
+ }
+ if err = addComputeContentLength(stack); err != nil {
+ return err
+ }
+ if err = addResolveEndpointMiddleware(stack, options); err != nil {
+ return err
+ }
+ if err = addComputePayloadSHA256(stack); err != nil {
+ return err
+ }
+ if err = addRecordResponseTiming(stack, options); err != nil {
+ return err
+ }
+ if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
+ return err
+ }
+ if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil {
+ return err
+ }
+ if err = addCredentialSource(stack, options); err != nil {
+ return err
+ }
+ if err = addOpModifyTransitGatewayPolicyTableEntryValidationMiddleware(stack); err != nil {
+ return err
+ }
+ if err = stack.Initialize.Add(newServiceMetadataMiddleware(options.Region, "ModifyTransitGatewayPolicyTableEntry"), middleware.Before); err != nil {
+ return err
+ }
+ if err = addRequestIDRetrieverMiddleware(stack); err != nil {
+ return err
+ }
+ if err = addResponseErrorMiddleware(stack); err != nil {
+ return err
+ }
+ if err = addRequestResponseLogging(stack, options); err != nil {
+ return err
+ }
+ if err = addDisableHTTPSMiddleware(stack, options); err != nil {
+ return err
+ }
+ if err = addInterceptors(stack, options); err != nil {
+ return err
+ }
+ return nil
+}
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go
index f03ab3195..00aebfbbe 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationModifyTransitGatewayPrefixListReferenceMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go
index f2f7a277b..19432b23d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationModifyTransitGatewayVpcAttachmentMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessEndpoint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessEndpoint.go
index d15eade81..079a4de0c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessEndpoint.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessEndpoint.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationModifyVerifiedAccessEndpointMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessEndpointPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessEndpointPolicy.go
index d8df8aa38..80bd44198 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessEndpointPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessEndpointPolicy.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationModifyVerifiedAccessEndpointPolicyMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessGroup.go
index 74ba0e30e..10b02af0c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessGroup.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessGroup.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationModifyVerifiedAccessGroupMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessGroupPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessGroupPolicy.go
index 8ee1a14f1..297bcc4d3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessGroupPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessGroupPolicy.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationModifyVerifiedAccessGroupPolicyMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessInstance.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessInstance.go
index 7775cddb1..95bce519b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessInstance.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessInstance.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationModifyVerifiedAccessInstanceMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessInstanceLoggingConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessInstanceLoggingConfiguration.go
index bceb2c4e9..884cbdc70 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessInstanceLoggingConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessInstanceLoggingConfiguration.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationModifyVerifiedAccessInstanceLoggingConfigurationMid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessTrustProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessTrustProvider.go
index 86a36495f..5e340a892 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessTrustProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVerifiedAccessTrustProvider.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationModifyVerifiedAccessTrustProviderMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVolume.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVolume.go
index b866d8198..66e2415d6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVolume.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVolume.go
@@ -164,7 +164,7 @@ func (c *Client) addOperationModifyVolumeMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVolumeAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVolumeAttribute.go
index fb50bd0ac..3bcf741b9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVolumeAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVolumeAttribute.go
@@ -83,7 +83,7 @@ func (c *Client) addOperationModifyVolumeAttributeMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcAttribute.go
index c63a8f63f..e007355df 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcAttribute.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationModifyVpcAttributeMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcBlockPublicAccessExclusion.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcBlockPublicAccessExclusion.go
index 8563a3338..b5cc67415 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcBlockPublicAccessExclusion.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcBlockPublicAccessExclusion.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationModifyVpcBlockPublicAccessExclusionMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcBlockPublicAccessOptions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcBlockPublicAccessOptions.go
index 0fab95a2e..fd6a176a9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcBlockPublicAccessOptions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcBlockPublicAccessOptions.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationModifyVpcBlockPublicAccessOptionsMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEncryptionControl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEncryptionControl.go
index bef3ccd83..d28a7dc4f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEncryptionControl.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEncryptionControl.go
@@ -113,7 +113,7 @@ func (c *Client) addOperationModifyVpcEncryptionControlMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpoint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpoint.go
index fd2721c4a..e2f764c2e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpoint.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpoint.go
@@ -122,7 +122,7 @@ func (c *Client) addOperationModifyVpcEndpointMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go
index a3cb30e3b..040044943 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationModifyVpcEndpointConnectionNotificationMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointPayerResponsibility.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointPayerResponsibility.go
index e8c14a0fc..e728f73f3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointPayerResponsibility.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointPayerResponsibility.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationModifyVpcEndpointPayerResponsibilityMiddlewares(sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go
index 6fae9418d..c82bf130c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go
@@ -116,7 +116,7 @@ func (c *Client) addOperationModifyVpcEndpointServiceConfigurationMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointServicePayerResponsibility.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointServicePayerResponsibility.go
index 1bc9889f5..aeef41bc1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointServicePayerResponsibility.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointServicePayerResponsibility.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationModifyVpcEndpointServicePayerResponsibilityMiddlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go
index 19c036ea9..2134c59bd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationModifyVpcEndpointServicePermissionsMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go
index 189da75f0..7c2530fa6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationModifyVpcPeeringConnectionOptionsMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcTenancy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcTenancy.go
index 2b227af53..dcb374ec6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcTenancy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpcTenancy.go
@@ -89,7 +89,7 @@ func (c *Client) addOperationModifyVpcTenancyMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpnConnection.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpnConnection.go
index 7f7791196..0e06de26c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpnConnection.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpnConnection.go
@@ -125,7 +125,7 @@ func (c *Client) addOperationModifyVpnConnectionMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpnConnectionOptions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpnConnectionOptions.go
index 55b7239d0..33fb6967d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpnConnectionOptions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpnConnectionOptions.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationModifyVpnConnectionOptionsMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpnTunnelCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpnTunnelCertificate.go
index f021f6569..25b84fbaa 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpnTunnelCertificate.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpnTunnelCertificate.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationModifyVpnTunnelCertificateMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpnTunnelOptions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpnTunnelOptions.go
index cef8160b4..5a803c716 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpnTunnelOptions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ModifyVpnTunnelOptions.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationModifyVpnTunnelOptionsMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_MonitorInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_MonitorInstances.go
index 3aeb9c136..4b06f8314 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_MonitorInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_MonitorInstances.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationMonitorInstancesMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_MoveAddressToVpc.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_MoveAddressToVpc.go
index 3ab8d1488..d12bcac13 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_MoveAddressToVpc.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_MoveAddressToVpc.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationMoveAddressToVpcMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_MoveByoipCidrToIpam.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_MoveByoipCidrToIpam.go
index 730657c7b..07b2a69b6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_MoveByoipCidrToIpam.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_MoveByoipCidrToIpam.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationMoveByoipCidrToIpamMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_MoveCapacityReservationInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_MoveCapacityReservationInstances.go
index c580d21ad..3c37491f2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_MoveCapacityReservationInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_MoveCapacityReservationInstances.go
@@ -114,7 +114,7 @@ func (c *Client) addOperationMoveCapacityReservationInstancesMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ProvisionByoipCidr.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ProvisionByoipCidr.go
index 3aaa36fe9..47d636cd9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ProvisionByoipCidr.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ProvisionByoipCidr.go
@@ -133,7 +133,7 @@ func (c *Client) addOperationProvisionByoipCidrMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ProvisionIpamByoasn.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ProvisionIpamByoasn.go
index ba52fbc55..30e14de6b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ProvisionIpamByoasn.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ProvisionIpamByoasn.go
@@ -89,7 +89,7 @@ func (c *Client) addOperationProvisionIpamByoasnMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ProvisionIpamPoolCidr.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ProvisionIpamPoolCidr.go
index 064d1078f..1be9e5fd1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ProvisionIpamPoolCidr.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ProvisionIpamPoolCidr.go
@@ -112,7 +112,7 @@ func (c *Client) addOperationProvisionIpamPoolCidrMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ProvisionPublicIpv4PoolCidr.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ProvisionPublicIpv4PoolCidr.go
index 5a235054b..7f8ee5b5f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ProvisionPublicIpv4PoolCidr.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ProvisionPublicIpv4PoolCidr.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationProvisionPublicIpv4PoolCidrMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseCapacityBlock.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseCapacityBlock.go
index 064cb9066..ca24dfcb3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseCapacityBlock.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseCapacityBlock.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationPurchaseCapacityBlockMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseCapacityBlockExtension.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseCapacityBlockExtension.go
index eadb19ece..570c3c8d7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseCapacityBlockExtension.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseCapacityBlockExtension.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationPurchaseCapacityBlockExtensionMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseHostReservation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseHostReservation.go
index b9023754a..643c31bc9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseHostReservation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseHostReservation.go
@@ -113,7 +113,7 @@ func (c *Client) addOperationPurchaseHostReservationMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseReservedInstancesOffering.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseReservedInstancesOffering.go
index 48d51d638..aee45738e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseReservedInstancesOffering.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseReservedInstancesOffering.go
@@ -107,7 +107,7 @@ func (c *Client) addOperationPurchaseReservedInstancesOfferingMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseScheduledInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseScheduledInstances.go
index abf5e3065..30999ffb2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseScheduledInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_PurchaseScheduledInstances.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationPurchaseScheduledInstancesMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RebootInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RebootInstances.go
index 77e0743f8..cf558015e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RebootInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RebootInstances.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationRebootInstancesMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RegisterImage.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RegisterImage.go
index 6b5f7b2f1..11db2a160 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RegisterImage.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RegisterImage.go
@@ -249,7 +249,7 @@ func (c *Client) addOperationRegisterImageMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go
index fb84c23fc..1b91cc066 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationRegisterInstanceEventNotificationAttributesMiddlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go
index e02beebf9..1053ec52c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationRegisterTransitGatewayMulticastGroupMembersMiddlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go
index fdea183cc..d89181c67 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationRegisterTransitGatewayMulticastGroupSourcesMiddlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectCapacityReservationBillingOwnership.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectCapacityReservationBillingOwnership.go
index 032e78f63..8617dce21 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectCapacityReservationBillingOwnership.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectCapacityReservationBillingOwnership.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationRejectCapacityReservationBillingOwnershipMiddleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectTransitGatewayClientVpnAttachment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectTransitGatewayClientVpnAttachment.go
index 2dd2c1085..178c780a2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectTransitGatewayClientVpnAttachment.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectTransitGatewayClientVpnAttachment.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationRejectTransitGatewayClientVpnAttachmentMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go
index abb5aea0e..5831919ee 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationRejectTransitGatewayMulticastDomainAssociationsMidd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go
index f084fd4e6..780227b7e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationRejectTransitGatewayPeeringAttachmentMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go
index 4ed3ecb90..67e344d66 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationRejectTransitGatewayVpcAttachmentMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectVpcEndpointConnections.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectVpcEndpointConnections.go
index ad7cc6f90..2ae33553b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectVpcEndpointConnections.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectVpcEndpointConnections.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationRejectVpcEndpointConnectionsMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectVpcPeeringConnection.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectVpcPeeringConnection.go
index dc735e742..ef77c73a3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectVpcPeeringConnection.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RejectVpcPeeringConnection.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationRejectVpcPeeringConnectionMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReleaseAddress.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReleaseAddress.go
index 086e5d1e2..22d7a1d64 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReleaseAddress.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReleaseAddress.go
@@ -95,7 +95,7 @@ func (c *Client) addOperationReleaseAddressMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReleaseHosts.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReleaseHosts.go
index 929f398f8..e6dbf5cf3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReleaseHosts.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReleaseHosts.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationReleaseHostsMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReleaseIpamPoolAllocation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReleaseIpamPoolAllocation.go
index 35944afe1..00f297a0b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReleaseIpamPoolAllocation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReleaseIpamPoolAllocation.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationReleaseIpamPoolAllocationMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceIamInstanceProfileAssociation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceIamInstanceProfileAssociation.go
index bf28d589b..a2fe19e93 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceIamInstanceProfileAssociation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceIamInstanceProfileAssociation.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationReplaceIamInstanceProfileAssociationMiddlewares(sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceImageCriteriaInAllowedImagesSettings.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceImageCriteriaInAllowedImagesSettings.go
index e1a41076d..bee299338 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceImageCriteriaInAllowedImagesSettings.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceImageCriteriaInAllowedImagesSettings.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationReplaceImageCriteriaInAllowedImagesSettingsMiddlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceNetworkAclAssociation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceNetworkAclAssociation.go
index 8bfec64d7..dd12d0d68 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceNetworkAclAssociation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceNetworkAclAssociation.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationReplaceNetworkAclAssociationMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceNetworkAclEntry.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceNetworkAclEntry.go
index 7eddf9a4d..e68f8197b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceNetworkAclEntry.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceNetworkAclEntry.go
@@ -117,7 +117,7 @@ func (c *Client) addOperationReplaceNetworkAclEntryMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceRoute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceRoute.go
index 44049e47c..b8d639a55 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceRoute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceRoute.go
@@ -127,7 +127,7 @@ func (c *Client) addOperationReplaceRouteMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceRouteTableAssociation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceRouteTableAssociation.go
index 2309713bf..1cf0b3c2e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceRouteTableAssociation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceRouteTableAssociation.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationReplaceRouteTableAssociationMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceTransitGatewayRoute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceTransitGatewayRoute.go
index 067d81ffd..33bd80a74 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceTransitGatewayRoute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceTransitGatewayRoute.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationReplaceTransitGatewayRouteMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceVpnTunnel.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceVpnTunnel.go
index 0518a91e6..fe342878b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceVpnTunnel.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReplaceVpnTunnel.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationReplaceVpnTunnelMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReportInstanceStatus.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReportInstanceStatus.go
index 1c771a843..b8e36b8e4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReportInstanceStatus.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ReportInstanceStatus.go
@@ -118,7 +118,7 @@ func (c *Client) addOperationReportInstanceStatusMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RequestSpotFleet.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RequestSpotFleet.go
index 07450497f..5e6e9cca1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RequestSpotFleet.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RequestSpotFleet.go
@@ -106,7 +106,7 @@ func (c *Client) addOperationRequestSpotFleetMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RequestSpotInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RequestSpotInstances.go
index bedb58798..f0c8c0346 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RequestSpotInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RequestSpotInstances.go
@@ -174,7 +174,7 @@ func (c *Client) addOperationRequestSpotInstancesMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetAddressAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetAddressAttribute.go
index 43434e947..2f51857ea 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetAddressAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetAddressAttribute.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationResetAddressAttributeMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go
index 50b0144b8..150674bbc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationResetEbsDefaultKmsKeyIdMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetFpgaImageAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetFpgaImageAttribute.go
index 625b7b2f1..2c24a2669 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetFpgaImageAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetFpgaImageAttribute.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationResetFpgaImageAttributeMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetImageAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetImageAttribute.go
index 1dd3d9527..14dce8b1b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetImageAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetImageAttribute.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationResetImageAttributeMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetInstanceAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetInstanceAttribute.go
index 726dcfa98..9fd754608 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetInstanceAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetInstanceAttribute.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationResetInstanceAttributeMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetNetworkInterfaceAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetNetworkInterfaceAttribute.go
index d26651742..133df17c8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetNetworkInterfaceAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetNetworkInterfaceAttribute.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationResetNetworkInterfaceAttributeMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetSnapshotAttribute.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetSnapshotAttribute.go
index 38bde7b68..3b94004c1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetSnapshotAttribute.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_ResetSnapshotAttribute.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationResetSnapshotAttributeMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreAddressToClassic.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreAddressToClassic.go
index 75f2cf823..bbfa9f032 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreAddressToClassic.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreAddressToClassic.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationRestoreAddressToClassicMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreImageFromRecycleBin.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreImageFromRecycleBin.go
index 74398c26c..79132f8a4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreImageFromRecycleBin.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreImageFromRecycleBin.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationRestoreImageFromRecycleBinMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreManagedPrefixListVersion.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreManagedPrefixListVersion.go
index c3f7c6f92..6be8b38b4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreManagedPrefixListVersion.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreManagedPrefixListVersion.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationRestoreManagedPrefixListVersionMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreSnapshotFromRecycleBin.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreSnapshotFromRecycleBin.go
index 8d6bf1956..beba69683 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreSnapshotFromRecycleBin.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreSnapshotFromRecycleBin.go
@@ -111,7 +111,7 @@ func (c *Client) addOperationRestoreSnapshotFromRecycleBinMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreSnapshotTier.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreSnapshotTier.go
index e77089a48..1f0b6616c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreSnapshotTier.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreSnapshotTier.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationRestoreSnapshotTierMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreVolumeFromRecycleBin.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreVolumeFromRecycleBin.go
index d4de15a9e..c9e0f47de 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreVolumeFromRecycleBin.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RestoreVolumeFromRecycleBin.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationRestoreVolumeFromRecycleBinMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RevokeClientVpnIngress.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RevokeClientVpnIngress.go
index 33a3df718..4a56ddaf4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RevokeClientVpnIngress.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RevokeClientVpnIngress.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationRevokeClientVpnIngressMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RevokeSecurityGroupEgress.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RevokeSecurityGroupEgress.go
index 65a20200c..9649bfdde 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RevokeSecurityGroupEgress.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RevokeSecurityGroupEgress.go
@@ -129,7 +129,7 @@ func (c *Client) addOperationRevokeSecurityGroupEgressMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RevokeSecurityGroupIngress.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RevokeSecurityGroupIngress.go
index 3ba002cb8..b5dde5d77 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RevokeSecurityGroupIngress.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RevokeSecurityGroupIngress.go
@@ -143,7 +143,7 @@ func (c *Client) addOperationRevokeSecurityGroupIngressMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RunInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RunInstances.go
index 2ca9021ff..b655d0ae7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RunInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RunInstances.go
@@ -444,7 +444,7 @@ func (c *Client) addOperationRunInstancesMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RunScheduledInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RunScheduledInstances.go
index c8ecc9c46..10e605b5d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RunScheduledInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_RunScheduledInstances.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationRunScheduledInstancesMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_SearchLocalGatewayRoutes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_SearchLocalGatewayRoutes.go
index 86d75060d..7d5788b79 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_SearchLocalGatewayRoutes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_SearchLocalGatewayRoutes.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationSearchLocalGatewayRoutesMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go
index cc84bf672..190c05acf 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go
@@ -111,7 +111,7 @@ func (c *Client) addOperationSearchTransitGatewayMulticastGroupsMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_SearchTransitGatewayRoutes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_SearchTransitGatewayRoutes.go
index bbe7c0eaf..44f4fc948 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_SearchTransitGatewayRoutes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_SearchTransitGatewayRoutes.go
@@ -121,7 +121,7 @@ func (c *Client) addOperationSearchTransitGatewayRoutesMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_SendDiagnosticInterrupt.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_SendDiagnosticInterrupt.go
index 0b39ac8c8..46a48be1f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_SendDiagnosticInterrupt.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_SendDiagnosticInterrupt.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationSendDiagnosticInterruptMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartDeclarativePoliciesReport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartDeclarativePoliciesReport.go
index 995583be1..aec4f0c94 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartDeclarativePoliciesReport.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartDeclarativePoliciesReport.go
@@ -134,7 +134,7 @@ func (c *Client) addOperationStartDeclarativePoliciesReportMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartInstances.go
index 307b3ffb6..408dcce1d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartInstances.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationStartInstancesMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartNetworkInsightsAccessScopeAnalysis.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartNetworkInsightsAccessScopeAnalysis.go
index 948944b32..0494f48f9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartNetworkInsightsAccessScopeAnalysis.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartNetworkInsightsAccessScopeAnalysis.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationStartNetworkInsightsAccessScopeAnalysisMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartNetworkInsightsAnalysis.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartNetworkInsightsAnalysis.go
index feb885679..6189f728d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartNetworkInsightsAnalysis.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartNetworkInsightsAnalysis.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationStartNetworkInsightsAnalysisMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go
index 27ab3400b..7025eb772 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationStartVpcEndpointServicePrivateDnsVerificationMiddle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StopInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StopInstances.go
index f88261a79..681279059 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StopInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_StopInstances.go
@@ -147,7 +147,7 @@ func (c *Client) addOperationStopInstancesMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_TerminateClientVpnConnections.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_TerminateClientVpnConnections.go
index bb04b2fc5..49c812290 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_TerminateClientVpnConnections.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_TerminateClientVpnConnections.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationTerminateClientVpnConnectionsMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_TerminateInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_TerminateInstances.go
index 3c0cce41e..e8e480378 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_TerminateInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_TerminateInstances.go
@@ -165,7 +165,7 @@ func (c *Client) addOperationTerminateInstancesMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnassignIpv6Addresses.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnassignIpv6Addresses.go
index 214ec9f29..5004ffe6c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnassignIpv6Addresses.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnassignIpv6Addresses.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationUnassignIpv6AddressesMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnassignPrivateIpAddresses.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnassignPrivateIpAddresses.go
index c34175a2f..925018b1e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnassignPrivateIpAddresses.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnassignPrivateIpAddresses.go
@@ -72,7 +72,7 @@ func (c *Client) addOperationUnassignPrivateIpAddressesMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnassignPrivateNatGatewayAddress.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnassignPrivateNatGatewayAddress.go
index 98d6f0415..09218a820 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnassignPrivateNatGatewayAddress.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnassignPrivateNatGatewayAddress.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationUnassignPrivateNatGatewayAddressMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnlockSnapshot.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnlockSnapshot.go
index cec041cb8..124416410 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnlockSnapshot.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnlockSnapshot.go
@@ -75,7 +75,7 @@ func (c *Client) addOperationUnlockSnapshotMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnmonitorInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnmonitorInstances.go
index d554358fd..e18d82793 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnmonitorInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UnmonitorInstances.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationUnmonitorInstancesMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateCapacityManagerMonitoredTagKeys.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateCapacityManagerMonitoredTagKeys.go
index 59b2d3cae..d04863ceb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateCapacityManagerMonitoredTagKeys.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateCapacityManagerMonitoredTagKeys.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationUpdateCapacityManagerMonitoredTagKeysMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateCapacityManagerOrganizationsAccess.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateCapacityManagerOrganizationsAccess.go
index f209ae904..78a532b61 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateCapacityManagerOrganizationsAccess.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateCapacityManagerOrganizationsAccess.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationUpdateCapacityManagerOrganizationsAccessMiddlewares
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateInterruptibleCapacityReservationAllocation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateInterruptibleCapacityReservationAllocation.go
index 0038277de..f9040d4c1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateInterruptibleCapacityReservationAllocation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateInterruptibleCapacityReservationAllocation.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationUpdateInterruptibleCapacityReservationAllocationMid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go
index 483ebc26a..6928884ac 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go
@@ -89,7 +89,7 @@ func (c *Client) addOperationUpdateSecurityGroupRuleDescriptionsEgressMiddleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go
index 37da91012..39dc953f0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationUpdateSecurityGroupRuleDescriptionsIngressMiddlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_WithdrawByoipCidr.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_WithdrawByoipCidr.go
index 844d9968c..2ead72028 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_WithdrawByoipCidr.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_WithdrawByoipCidr.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationWithdrawByoipCidrMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/deserializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/deserializers.go
index 9be8dc1ac..a7cd3a2de 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/deserializers.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/deserializers.go
@@ -13851,6 +13851,101 @@ func awsEc2query_deserializeOpErrorCreateTransitGatewayPolicyTable(response *smi
}
}
+type awsEc2query_deserializeOpCreateTransitGatewayPolicyTableEntry struct {
+}
+
+func (*awsEc2query_deserializeOpCreateTransitGatewayPolicyTableEntry) ID() string {
+ return "OperationDeserializer"
+}
+
+func (m *awsEc2query_deserializeOpCreateTransitGatewayPolicyTableEntry) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) (
+ out middleware.DeserializeOutput, metadata middleware.Metadata, err error,
+) {
+ out, metadata, err = next.HandleDeserialize(ctx, in)
+ if err != nil {
+ return out, metadata, err
+ }
+
+ _, span := tracing.StartSpan(ctx, "OperationDeserializer")
+ endTimer := startMetricTimer(ctx, "client.call.deserialization_duration")
+ defer endTimer()
+ defer span.End()
+ response, ok := out.RawResponse.(*smithyhttp.Response)
+ if !ok {
+ return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)}
+ }
+
+ if response.StatusCode < 200 || response.StatusCode >= 300 {
+ return out, metadata, awsEc2query_deserializeOpErrorCreateTransitGatewayPolicyTableEntry(response, &metadata)
+ }
+ output := &CreateTransitGatewayPolicyTableEntryOutput{}
+ out.Result = output
+
+ var buff [1024]byte
+ ringBuffer := smithyio.NewRingBuffer(buff[:])
+ body := io.TeeReader(response.Body, ringBuffer)
+ rootDecoder := xml.NewDecoder(body)
+ t, err := smithyxml.FetchRootElement(rootDecoder)
+ if err == io.EOF {
+ return out, metadata, nil
+ }
+ if err != nil {
+ var snapshot bytes.Buffer
+ io.Copy(&snapshot, ringBuffer)
+ return out, metadata, &smithy.DeserializationError{
+ Err: fmt.Errorf("failed to decode response body, %w", err),
+ Snapshot: snapshot.Bytes(),
+ }
+ }
+
+ decoder := smithyxml.WrapNodeDecoder(rootDecoder, t)
+ err = awsEc2query_deserializeOpDocumentCreateTransitGatewayPolicyTableEntryOutput(&output, decoder)
+ if err != nil {
+ var snapshot bytes.Buffer
+ io.Copy(&snapshot, ringBuffer)
+ err = &smithy.DeserializationError{
+ Err: fmt.Errorf("failed to decode response body, %w", err),
+ Snapshot: snapshot.Bytes(),
+ }
+ return out, metadata, err
+ }
+
+ return out, metadata, err
+}
+
+func awsEc2query_deserializeOpErrorCreateTransitGatewayPolicyTableEntry(response *smithyhttp.Response, metadata *middleware.Metadata) error {
+ var errorBuffer bytes.Buffer
+ if _, err := io.Copy(&errorBuffer, response.Body); err != nil {
+ return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)}
+ }
+ errorBody := bytes.NewReader(errorBuffer.Bytes())
+
+ errorCode := "UnknownError"
+ errorMessage := errorCode
+
+ errorComponents, err := ec2query.GetErrorResponseComponents(errorBody)
+ if err != nil {
+ return err
+ }
+ awsmiddleware.SetRequestIDMetadata(metadata, errorComponents.RequestID)
+ if len(errorComponents.Code) != 0 {
+ errorCode = errorComponents.Code
+ }
+ if len(errorComponents.Message) != 0 {
+ errorMessage = errorComponents.Message
+ }
+ errorBody.Seek(0, io.SeekStart)
+ switch {
+ default:
+ genericError := &smithy.GenericAPIError{
+ Code: errorCode,
+ Message: errorMessage,
+ }
+ return genericError
+
+ }
+}
+
type awsEc2query_deserializeOpCreateTransitGatewayPrefixListReference struct {
}
@@ -22364,6 +22459,101 @@ func awsEc2query_deserializeOpErrorDeleteTransitGatewayPolicyTable(response *smi
}
}
+type awsEc2query_deserializeOpDeleteTransitGatewayPolicyTableEntry struct {
+}
+
+func (*awsEc2query_deserializeOpDeleteTransitGatewayPolicyTableEntry) ID() string {
+ return "OperationDeserializer"
+}
+
+func (m *awsEc2query_deserializeOpDeleteTransitGatewayPolicyTableEntry) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) (
+ out middleware.DeserializeOutput, metadata middleware.Metadata, err error,
+) {
+ out, metadata, err = next.HandleDeserialize(ctx, in)
+ if err != nil {
+ return out, metadata, err
+ }
+
+ _, span := tracing.StartSpan(ctx, "OperationDeserializer")
+ endTimer := startMetricTimer(ctx, "client.call.deserialization_duration")
+ defer endTimer()
+ defer span.End()
+ response, ok := out.RawResponse.(*smithyhttp.Response)
+ if !ok {
+ return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)}
+ }
+
+ if response.StatusCode < 200 || response.StatusCode >= 300 {
+ return out, metadata, awsEc2query_deserializeOpErrorDeleteTransitGatewayPolicyTableEntry(response, &metadata)
+ }
+ output := &DeleteTransitGatewayPolicyTableEntryOutput{}
+ out.Result = output
+
+ var buff [1024]byte
+ ringBuffer := smithyio.NewRingBuffer(buff[:])
+ body := io.TeeReader(response.Body, ringBuffer)
+ rootDecoder := xml.NewDecoder(body)
+ t, err := smithyxml.FetchRootElement(rootDecoder)
+ if err == io.EOF {
+ return out, metadata, nil
+ }
+ if err != nil {
+ var snapshot bytes.Buffer
+ io.Copy(&snapshot, ringBuffer)
+ return out, metadata, &smithy.DeserializationError{
+ Err: fmt.Errorf("failed to decode response body, %w", err),
+ Snapshot: snapshot.Bytes(),
+ }
+ }
+
+ decoder := smithyxml.WrapNodeDecoder(rootDecoder, t)
+ err = awsEc2query_deserializeOpDocumentDeleteTransitGatewayPolicyTableEntryOutput(&output, decoder)
+ if err != nil {
+ var snapshot bytes.Buffer
+ io.Copy(&snapshot, ringBuffer)
+ err = &smithy.DeserializationError{
+ Err: fmt.Errorf("failed to decode response body, %w", err),
+ Snapshot: snapshot.Bytes(),
+ }
+ return out, metadata, err
+ }
+
+ return out, metadata, err
+}
+
+func awsEc2query_deserializeOpErrorDeleteTransitGatewayPolicyTableEntry(response *smithyhttp.Response, metadata *middleware.Metadata) error {
+ var errorBuffer bytes.Buffer
+ if _, err := io.Copy(&errorBuffer, response.Body); err != nil {
+ return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)}
+ }
+ errorBody := bytes.NewReader(errorBuffer.Bytes())
+
+ errorCode := "UnknownError"
+ errorMessage := errorCode
+
+ errorComponents, err := ec2query.GetErrorResponseComponents(errorBody)
+ if err != nil {
+ return err
+ }
+ awsmiddleware.SetRequestIDMetadata(metadata, errorComponents.RequestID)
+ if len(errorComponents.Code) != 0 {
+ errorCode = errorComponents.Code
+ }
+ if len(errorComponents.Message) != 0 {
+ errorMessage = errorComponents.Message
+ }
+ errorBody.Seek(0, io.SeekStart)
+ switch {
+ default:
+ genericError := &smithy.GenericAPIError{
+ Code: errorCode,
+ Message: errorMessage,
+ }
+ return genericError
+
+ }
+}
+
type awsEc2query_deserializeOpDeleteTransitGatewayPrefixListReference struct {
}
@@ -62279,6 +62469,101 @@ func awsEc2query_deserializeOpErrorModifyTransitGatewayMeteringPolicy(response *
}
}
+type awsEc2query_deserializeOpModifyTransitGatewayPolicyTableEntry struct {
+}
+
+func (*awsEc2query_deserializeOpModifyTransitGatewayPolicyTableEntry) ID() string {
+ return "OperationDeserializer"
+}
+
+func (m *awsEc2query_deserializeOpModifyTransitGatewayPolicyTableEntry) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) (
+ out middleware.DeserializeOutput, metadata middleware.Metadata, err error,
+) {
+ out, metadata, err = next.HandleDeserialize(ctx, in)
+ if err != nil {
+ return out, metadata, err
+ }
+
+ _, span := tracing.StartSpan(ctx, "OperationDeserializer")
+ endTimer := startMetricTimer(ctx, "client.call.deserialization_duration")
+ defer endTimer()
+ defer span.End()
+ response, ok := out.RawResponse.(*smithyhttp.Response)
+ if !ok {
+ return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)}
+ }
+
+ if response.StatusCode < 200 || response.StatusCode >= 300 {
+ return out, metadata, awsEc2query_deserializeOpErrorModifyTransitGatewayPolicyTableEntry(response, &metadata)
+ }
+ output := &ModifyTransitGatewayPolicyTableEntryOutput{}
+ out.Result = output
+
+ var buff [1024]byte
+ ringBuffer := smithyio.NewRingBuffer(buff[:])
+ body := io.TeeReader(response.Body, ringBuffer)
+ rootDecoder := xml.NewDecoder(body)
+ t, err := smithyxml.FetchRootElement(rootDecoder)
+ if err == io.EOF {
+ return out, metadata, nil
+ }
+ if err != nil {
+ var snapshot bytes.Buffer
+ io.Copy(&snapshot, ringBuffer)
+ return out, metadata, &smithy.DeserializationError{
+ Err: fmt.Errorf("failed to decode response body, %w", err),
+ Snapshot: snapshot.Bytes(),
+ }
+ }
+
+ decoder := smithyxml.WrapNodeDecoder(rootDecoder, t)
+ err = awsEc2query_deserializeOpDocumentModifyTransitGatewayPolicyTableEntryOutput(&output, decoder)
+ if err != nil {
+ var snapshot bytes.Buffer
+ io.Copy(&snapshot, ringBuffer)
+ err = &smithy.DeserializationError{
+ Err: fmt.Errorf("failed to decode response body, %w", err),
+ Snapshot: snapshot.Bytes(),
+ }
+ return out, metadata, err
+ }
+
+ return out, metadata, err
+}
+
+func awsEc2query_deserializeOpErrorModifyTransitGatewayPolicyTableEntry(response *smithyhttp.Response, metadata *middleware.Metadata) error {
+ var errorBuffer bytes.Buffer
+ if _, err := io.Copy(&errorBuffer, response.Body); err != nil {
+ return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)}
+ }
+ errorBody := bytes.NewReader(errorBuffer.Bytes())
+
+ errorCode := "UnknownError"
+ errorMessage := errorCode
+
+ errorComponents, err := ec2query.GetErrorResponseComponents(errorBody)
+ if err != nil {
+ return err
+ }
+ awsmiddleware.SetRequestIDMetadata(metadata, errorComponents.RequestID)
+ if len(errorComponents.Code) != 0 {
+ errorCode = errorComponents.Code
+ }
+ if len(errorComponents.Message) != 0 {
+ errorMessage = errorComponents.Message
+ }
+ errorBody.Seek(0, io.SeekStart)
+ switch {
+ default:
+ genericError := &smithy.GenericAPIError{
+ Code: errorCode,
+ Message: errorMessage,
+ }
+ return genericError
+
+ }
+}
+
type awsEc2query_deserializeOpModifyTransitGatewayPrefixListReference struct {
}
@@ -163428,6 +163713,19 @@ func awsEc2query_deserializeDocumentTransitGatewayAttachmentAssociation(v **type
sv.State = types.TransitGatewayAssociationState(xtv)
}
+ case strings.EqualFold("transitGatewayPolicyTableId", t.Name.Local):
+ val, err := decoder.Value()
+ if err != nil {
+ return err
+ }
+ if val == nil {
+ break
+ }
+ {
+ xtv := string(val)
+ sv.TransitGatewayPolicyTableId = ptr.String(xtv)
+ }
+
case strings.EqualFold("transitGatewayRouteTableId", t.Name.Local):
val, err := decoder.Value()
if err != nil {
@@ -167052,6 +167350,19 @@ func awsEc2query_deserializeDocumentTransitGatewayPolicyTableEntry(v **types.Tra
sv.PolicyRuleNumber = ptr.String(xtv)
}
+ case strings.EqualFold("state", t.Name.Local):
+ val, err := decoder.Value()
+ if err != nil {
+ return err
+ }
+ if val == nil {
+ break
+ }
+ {
+ xtv := string(val)
+ sv.State = types.TransitGatewayPolicyTableEntryState(xtv)
+ }
+
case strings.EqualFold("targetRouteTableId", t.Name.Local):
val, err := decoder.Value()
if err != nil {
@@ -187980,6 +188291,48 @@ func awsEc2query_deserializeOpDocumentCreateTransitGatewayPeeringAttachmentOutpu
return nil
}
+func awsEc2query_deserializeOpDocumentCreateTransitGatewayPolicyTableEntryOutput(v **CreateTransitGatewayPolicyTableEntryOutput, decoder smithyxml.NodeDecoder) error {
+ if v == nil {
+ return fmt.Errorf("unexpected nil of type %T", v)
+ }
+ var sv *CreateTransitGatewayPolicyTableEntryOutput
+ if *v == nil {
+ sv = &CreateTransitGatewayPolicyTableEntryOutput{}
+ } else {
+ sv = *v
+ }
+
+ for {
+ t, done, err := decoder.Token()
+ if err != nil {
+ return err
+ }
+ if done {
+ break
+ }
+ originalDecoder := decoder
+ decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t)
+ switch {
+ case strings.EqualFold("transitGatewayPolicyTableEntry", t.Name.Local):
+ nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t)
+ if err := awsEc2query_deserializeDocumentTransitGatewayPolicyTableEntry(&sv.TransitGatewayPolicyTableEntry, nodeDecoder); err != nil {
+ return err
+ }
+
+ default:
+ // Do nothing and ignore the unexpected tag element
+ err = decoder.Decoder.Skip()
+ if err != nil {
+ return err
+ }
+
+ }
+ decoder = originalDecoder
+ }
+ *v = sv
+ return nil
+}
+
func awsEc2query_deserializeOpDocumentCreateTransitGatewayPolicyTableOutput(v **CreateTransitGatewayPolicyTableOutput, decoder smithyxml.NodeDecoder) error {
if v == nil {
return fmt.Errorf("unexpected nil of type %T", v)
@@ -191822,6 +192175,48 @@ func awsEc2query_deserializeOpDocumentDeleteTransitGatewayPeeringAttachmentOutpu
return nil
}
+func awsEc2query_deserializeOpDocumentDeleteTransitGatewayPolicyTableEntryOutput(v **DeleteTransitGatewayPolicyTableEntryOutput, decoder smithyxml.NodeDecoder) error {
+ if v == nil {
+ return fmt.Errorf("unexpected nil of type %T", v)
+ }
+ var sv *DeleteTransitGatewayPolicyTableEntryOutput
+ if *v == nil {
+ sv = &DeleteTransitGatewayPolicyTableEntryOutput{}
+ } else {
+ sv = *v
+ }
+
+ for {
+ t, done, err := decoder.Token()
+ if err != nil {
+ return err
+ }
+ if done {
+ break
+ }
+ originalDecoder := decoder
+ decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t)
+ switch {
+ case strings.EqualFold("transitGatewayPolicyTableEntry", t.Name.Local):
+ nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t)
+ if err := awsEc2query_deserializeDocumentTransitGatewayPolicyTableEntry(&sv.TransitGatewayPolicyTableEntry, nodeDecoder); err != nil {
+ return err
+ }
+
+ default:
+ // Do nothing and ignore the unexpected tag element
+ err = decoder.Decoder.Skip()
+ if err != nil {
+ return err
+ }
+
+ }
+ decoder = originalDecoder
+ }
+ *v = sv
+ return nil
+}
+
func awsEc2query_deserializeOpDocumentDeleteTransitGatewayPolicyTableOutput(v **DeleteTransitGatewayPolicyTableOutput, decoder smithyxml.NodeDecoder) error {
if v == nil {
return fmt.Errorf("unexpected nil of type %T", v)
@@ -210834,6 +211229,19 @@ func awsEc2query_deserializeOpDocumentGetTransitGatewayPolicyTableEntriesOutput(
originalDecoder := decoder
decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t)
switch {
+ case strings.EqualFold("nextToken", t.Name.Local):
+ val, err := decoder.Value()
+ if err != nil {
+ return err
+ }
+ if val == nil {
+ break
+ }
+ {
+ xtv := string(val)
+ sv.NextToken = ptr.String(xtv)
+ }
+
case strings.EqualFold("transitGatewayPolicyTableEntries", t.Name.Local):
nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t)
if err := awsEc2query_deserializeDocumentTransitGatewayPolicyTableEntryList(&sv.TransitGatewayPolicyTableEntries, nodeDecoder); err != nil {
@@ -214590,6 +214998,48 @@ func awsEc2query_deserializeOpDocumentModifyTransitGatewayOutput(v **ModifyTrans
return nil
}
+func awsEc2query_deserializeOpDocumentModifyTransitGatewayPolicyTableEntryOutput(v **ModifyTransitGatewayPolicyTableEntryOutput, decoder smithyxml.NodeDecoder) error {
+ if v == nil {
+ return fmt.Errorf("unexpected nil of type %T", v)
+ }
+ var sv *ModifyTransitGatewayPolicyTableEntryOutput
+ if *v == nil {
+ sv = &ModifyTransitGatewayPolicyTableEntryOutput{}
+ } else {
+ sv = *v
+ }
+
+ for {
+ t, done, err := decoder.Token()
+ if err != nil {
+ return err
+ }
+ if done {
+ break
+ }
+ originalDecoder := decoder
+ decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t)
+ switch {
+ case strings.EqualFold("transitGatewayPolicyTableEntry", t.Name.Local):
+ nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t)
+ if err := awsEc2query_deserializeDocumentTransitGatewayPolicyTableEntry(&sv.TransitGatewayPolicyTableEntry, nodeDecoder); err != nil {
+ return err
+ }
+
+ default:
+ // Do nothing and ignore the unexpected tag element
+ err = decoder.Decoder.Skip()
+ if err != nil {
+ return err
+ }
+
+ }
+ decoder = originalDecoder
+ }
+ *v = sv
+ return nil
+}
+
func awsEc2query_deserializeOpDocumentModifyTransitGatewayPrefixListReferenceOutput(v **ModifyTransitGatewayPrefixListReferenceOutput, decoder smithyxml.NodeDecoder) error {
if v == nil {
return fmt.Errorf("unexpected nil of type %T", v)
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/generated.json b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/generated.json
index a3d3e4533..1acbf555e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/generated.json
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/generated.json
@@ -158,6 +158,7 @@
"api_op_CreateTransitGatewayMulticastDomain.go",
"api_op_CreateTransitGatewayPeeringAttachment.go",
"api_op_CreateTransitGatewayPolicyTable.go",
+ "api_op_CreateTransitGatewayPolicyTableEntry.go",
"api_op_CreateTransitGatewayPrefixListReference.go",
"api_op_CreateTransitGatewayRoute.go",
"api_op_CreateTransitGatewayRouteTable.go",
@@ -251,6 +252,7 @@
"api_op_DeleteTransitGatewayMulticastDomain.go",
"api_op_DeleteTransitGatewayPeeringAttachment.go",
"api_op_DeleteTransitGatewayPolicyTable.go",
+ "api_op_DeleteTransitGatewayPolicyTableEntry.go",
"api_op_DeleteTransitGatewayPrefixListReference.go",
"api_op_DeleteTransitGatewayRoute.go",
"api_op_DeleteTransitGatewayRouteTable.go",
@@ -676,6 +678,7 @@
"api_op_ModifyTrafficMirrorSession.go",
"api_op_ModifyTransitGateway.go",
"api_op_ModifyTransitGatewayMeteringPolicy.go",
+ "api_op_ModifyTransitGatewayPolicyTableEntry.go",
"api_op_ModifyTransitGatewayPrefixListReference.go",
"api_op_ModifyTransitGatewayVpcAttachment.go",
"api_op_ModifyVerifiedAccessEndpoint.go",
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/go_module_metadata.go
index d2d431adb..1247cfcaf 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/go_module_metadata.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/go_module_metadata.go
@@ -3,4 +3,4 @@
package ec2
// goModuleVersion is the tagged release for this module
-const goModuleVersion = "1.316.1"
+const goModuleVersion = "1.318.0"
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/options.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/options.go
index 6bb1d113c..8d5edaa0d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/options.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/options.go
@@ -44,6 +44,11 @@ type Options struct {
// clients initial default settings.
DefaultsMode aws.DefaultsMode
+ // Disables SDK clock skew correction. When set, the SDK will not adjust request
+ // signing timestamps to compensate for clock drift between the client and the
+ // service.
+ DisableClockSkewCorrection bool
+
// The endpoint options to be used when attempting to resolve an endpoint.
EndpointOptions EndpointResolverOptions
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/serializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/serializers.go
index 1335f9df3..75f6f885b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/serializers.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/serializers.go
@@ -10308,6 +10308,76 @@ func (m *awsEc2query_serializeOpCreateTransitGatewayPolicyTable) HandleSerialize
return next.HandleSerialize(ctx, in)
}
+type awsEc2query_serializeOpCreateTransitGatewayPolicyTableEntry struct {
+}
+
+func (*awsEc2query_serializeOpCreateTransitGatewayPolicyTableEntry) ID() string {
+ return "OperationSerializer"
+}
+
+func (m *awsEc2query_serializeOpCreateTransitGatewayPolicyTableEntry) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
+ out middleware.SerializeOutput, metadata middleware.Metadata, err error,
+) {
+ _, span := tracing.StartSpan(ctx, "OperationSerializer")
+ endTimer := startMetricTimer(ctx, "client.call.serialization_duration")
+ defer endTimer()
+ defer span.End()
+ request, ok := in.Request.(*smithyhttp.Request)
+ if !ok {
+ return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
+ }
+
+ input, ok := in.Parameters.(*CreateTransitGatewayPolicyTableEntryInput)
+ _ = input
+ if !ok {
+ return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
+ }
+
+ operationPath := "/"
+ if len(request.Request.URL.Path) == 0 {
+ request.Request.URL.Path = operationPath
+ } else {
+ request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath)
+ if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' {
+ request.Request.URL.Path += "/"
+ }
+ }
+ request.Request.Method = "POST"
+ httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
+ if err != nil {
+ return out, metadata, &smithy.SerializationError{Err: err}
+ }
+ httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded")
+
+ bodyWriter := bytes.NewBuffer(nil)
+ bodyEncoder := query.NewEncoder(bodyWriter)
+ body := bodyEncoder.Object()
+ body.Key("Action").String("CreateTransitGatewayPolicyTableEntry")
+ body.Key("Version").String("2016-11-15")
+
+ if err := awsEc2query_serializeOpDocumentCreateTransitGatewayPolicyTableEntryInput(input, bodyEncoder.Value); err != nil {
+ return out, metadata, &smithy.SerializationError{Err: err}
+ }
+
+ err = bodyEncoder.Encode()
+ if err != nil {
+ return out, metadata, &smithy.SerializationError{Err: err}
+ }
+
+ if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil {
+ return out, metadata, &smithy.SerializationError{Err: err}
+ }
+
+ if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
+ return out, metadata, &smithy.SerializationError{Err: err}
+ }
+ in.Request = request
+
+ endTimer()
+ span.End()
+ return next.HandleSerialize(ctx, in)
+}
+
type awsEc2query_serializeOpCreateTransitGatewayPrefixListReference struct {
}
@@ -16818,6 +16888,76 @@ func (m *awsEc2query_serializeOpDeleteTransitGatewayPolicyTable) HandleSerialize
return next.HandleSerialize(ctx, in)
}
+type awsEc2query_serializeOpDeleteTransitGatewayPolicyTableEntry struct {
+}
+
+func (*awsEc2query_serializeOpDeleteTransitGatewayPolicyTableEntry) ID() string {
+ return "OperationSerializer"
+}
+
+func (m *awsEc2query_serializeOpDeleteTransitGatewayPolicyTableEntry) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
+ out middleware.SerializeOutput, metadata middleware.Metadata, err error,
+) {
+ _, span := tracing.StartSpan(ctx, "OperationSerializer")
+ endTimer := startMetricTimer(ctx, "client.call.serialization_duration")
+ defer endTimer()
+ defer span.End()
+ request, ok := in.Request.(*smithyhttp.Request)
+ if !ok {
+ return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
+ }
+
+ input, ok := in.Parameters.(*DeleteTransitGatewayPolicyTableEntryInput)
+ _ = input
+ if !ok {
+ return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
+ }
+
+ operationPath := "/"
+ if len(request.Request.URL.Path) == 0 {
+ request.Request.URL.Path = operationPath
+ } else {
+ request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath)
+ if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' {
+ request.Request.URL.Path += "/"
+ }
+ }
+ request.Request.Method = "POST"
+ httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
+ if err != nil {
+ return out, metadata, &smithy.SerializationError{Err: err}
+ }
+ httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded")
+
+ bodyWriter := bytes.NewBuffer(nil)
+ bodyEncoder := query.NewEncoder(bodyWriter)
+ body := bodyEncoder.Object()
+ body.Key("Action").String("DeleteTransitGatewayPolicyTableEntry")
+ body.Key("Version").String("2016-11-15")
+
+ if err := awsEc2query_serializeOpDocumentDeleteTransitGatewayPolicyTableEntryInput(input, bodyEncoder.Value); err != nil {
+ return out, metadata, &smithy.SerializationError{Err: err}
+ }
+
+ err = bodyEncoder.Encode()
+ if err != nil {
+ return out, metadata, &smithy.SerializationError{Err: err}
+ }
+
+ if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil {
+ return out, metadata, &smithy.SerializationError{Err: err}
+ }
+
+ if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
+ return out, metadata, &smithy.SerializationError{Err: err}
+ }
+ in.Request = request
+
+ endTimer()
+ span.End()
+ return next.HandleSerialize(ctx, in)
+}
+
type awsEc2query_serializeOpDeleteTransitGatewayPrefixListReference struct {
}
@@ -46568,6 +46708,76 @@ func (m *awsEc2query_serializeOpModifyTransitGatewayMeteringPolicy) HandleSerial
return next.HandleSerialize(ctx, in)
}
+type awsEc2query_serializeOpModifyTransitGatewayPolicyTableEntry struct {
+}
+
+func (*awsEc2query_serializeOpModifyTransitGatewayPolicyTableEntry) ID() string {
+ return "OperationSerializer"
+}
+
+func (m *awsEc2query_serializeOpModifyTransitGatewayPolicyTableEntry) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
+ out middleware.SerializeOutput, metadata middleware.Metadata, err error,
+) {
+ _, span := tracing.StartSpan(ctx, "OperationSerializer")
+ endTimer := startMetricTimer(ctx, "client.call.serialization_duration")
+ defer endTimer()
+ defer span.End()
+ request, ok := in.Request.(*smithyhttp.Request)
+ if !ok {
+ return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
+ }
+
+ input, ok := in.Parameters.(*ModifyTransitGatewayPolicyTableEntryInput)
+ _ = input
+ if !ok {
+ return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
+ }
+
+ operationPath := "/"
+ if len(request.Request.URL.Path) == 0 {
+ request.Request.URL.Path = operationPath
+ } else {
+ request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath)
+ if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' {
+ request.Request.URL.Path += "/"
+ }
+ }
+ request.Request.Method = "POST"
+ httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
+ if err != nil {
+ return out, metadata, &smithy.SerializationError{Err: err}
+ }
+ httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded")
+
+ bodyWriter := bytes.NewBuffer(nil)
+ bodyEncoder := query.NewEncoder(bodyWriter)
+ body := bodyEncoder.Object()
+ body.Key("Action").String("ModifyTransitGatewayPolicyTableEntry")
+ body.Key("Version").String("2016-11-15")
+
+ if err := awsEc2query_serializeOpDocumentModifyTransitGatewayPolicyTableEntryInput(input, bodyEncoder.Value); err != nil {
+ return out, metadata, &smithy.SerializationError{Err: err}
+ }
+
+ err = bodyEncoder.Encode()
+ if err != nil {
+ return out, metadata, &smithy.SerializationError{Err: err}
+ }
+
+ if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil {
+ return out, metadata, &smithy.SerializationError{Err: err}
+ }
+
+ if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
+ return out, metadata, &smithy.SerializationError{Err: err}
+ }
+ in.Request = request
+
+ endTimer()
+ span.End()
+ return next.HandleSerialize(ctx, in)
+}
+
type awsEc2query_serializeOpModifyTransitGatewayPrefixListReference struct {
}
@@ -65240,6 +65450,62 @@ func awsEc2query_serializeDocumentTransitGatewayRequestOptions(v *types.TransitG
return nil
}
+func awsEc2query_serializeDocumentTransitGatewayRequestPolicyRule(v *types.TransitGatewayRequestPolicyRule, value query.Value) error {
+ object := value.Object()
+ _ = object
+
+ if v.DestinationCidrBlock != nil {
+ objectKey := object.Key("DestinationCidrBlock")
+ objectKey.String(*v.DestinationCidrBlock)
+ }
+
+ if v.DestinationPortRange != nil {
+ objectKey := object.Key("DestinationPortRange")
+ objectKey.String(*v.DestinationPortRange)
+ }
+
+ if v.MetaData != nil {
+ objectKey := object.Key("MetaData")
+ if err := awsEc2query_serializeDocumentTransitGatewayRequestPolicyRuleMetaData(v.MetaData, objectKey); err != nil {
+ return err
+ }
+ }
+
+ if v.Protocol != nil {
+ objectKey := object.Key("Protocol")
+ objectKey.String(*v.Protocol)
+ }
+
+ if v.SourceCidrBlock != nil {
+ objectKey := object.Key("SourceCidrBlock")
+ objectKey.String(*v.SourceCidrBlock)
+ }
+
+ if v.SourcePortRange != nil {
+ objectKey := object.Key("SourcePortRange")
+ objectKey.String(*v.SourcePortRange)
+ }
+
+ return nil
+}
+
+func awsEc2query_serializeDocumentTransitGatewayRequestPolicyRuleMetaData(v *types.TransitGatewayRequestPolicyRuleMetaData, value query.Value) error {
+ object := value.Object()
+ _ = object
+
+ if v.MetaDataKey != nil {
+ objectKey := object.Key("MetaDataKey")
+ objectKey.String(*v.MetaDataKey)
+ }
+
+ if v.MetaDataValue != nil {
+ objectKey := object.Key("MetaDataValue")
+ objectKey.String(*v.MetaDataValue)
+ }
+
+ return nil
+}
+
func awsEc2query_serializeDocumentTransitGatewayRouteTableAnnouncementIdStringList(v []string, value query.Value) error {
if len(v) == 0 {
return nil
@@ -71845,6 +72111,40 @@ func awsEc2query_serializeOpDocumentCreateTransitGatewayPeeringAttachmentInput(v
return nil
}
+func awsEc2query_serializeOpDocumentCreateTransitGatewayPolicyTableEntryInput(v *CreateTransitGatewayPolicyTableEntryInput, value query.Value) error {
+ object := value.Object()
+ _ = object
+
+ if v.DryRun != nil {
+ objectKey := object.Key("DryRun")
+ objectKey.Boolean(*v.DryRun)
+ }
+
+ if v.PolicyRule != nil {
+ objectKey := object.Key("PolicyRule")
+ if err := awsEc2query_serializeDocumentTransitGatewayRequestPolicyRule(v.PolicyRule, objectKey); err != nil {
+ return err
+ }
+ }
+
+ if v.PolicyRuleNumber != nil {
+ objectKey := object.Key("PolicyRuleNumber")
+ objectKey.String(*v.PolicyRuleNumber)
+ }
+
+ if v.TargetRouteTableId != nil {
+ objectKey := object.Key("TargetRouteTableId")
+ objectKey.String(*v.TargetRouteTableId)
+ }
+
+ if v.TransitGatewayPolicyTableId != nil {
+ objectKey := object.Key("TransitGatewayPolicyTableId")
+ objectKey.String(*v.TransitGatewayPolicyTableId)
+ }
+
+ return nil
+}
+
func awsEc2query_serializeOpDocumentCreateTransitGatewayPolicyTableInput(v *CreateTransitGatewayPolicyTableInput, value query.Value) error {
object := value.Object()
_ = object
@@ -74241,6 +74541,28 @@ func awsEc2query_serializeOpDocumentDeleteTransitGatewayPeeringAttachmentInput(v
return nil
}
+func awsEc2query_serializeOpDocumentDeleteTransitGatewayPolicyTableEntryInput(v *DeleteTransitGatewayPolicyTableEntryInput, value query.Value) error {
+ object := value.Object()
+ _ = object
+
+ if v.DryRun != nil {
+ objectKey := object.Key("DryRun")
+ objectKey.Boolean(*v.DryRun)
+ }
+
+ if v.PolicyRuleNumber != nil {
+ objectKey := object.Key("PolicyRuleNumber")
+ objectKey.String(*v.PolicyRuleNumber)
+ }
+
+ if v.TransitGatewayPolicyTableId != nil {
+ objectKey := object.Key("TransitGatewayPolicyTableId")
+ objectKey.String(*v.TransitGatewayPolicyTableId)
+ }
+
+ return nil
+}
+
func awsEc2query_serializeOpDocumentDeleteTransitGatewayPolicyTableInput(v *DeleteTransitGatewayPolicyTableInput, value query.Value) error {
object := value.Object()
_ = object
@@ -87489,6 +87811,40 @@ func awsEc2query_serializeOpDocumentModifyTransitGatewayMeteringPolicyInput(v *M
return nil
}
+func awsEc2query_serializeOpDocumentModifyTransitGatewayPolicyTableEntryInput(v *ModifyTransitGatewayPolicyTableEntryInput, value query.Value) error {
+ object := value.Object()
+ _ = object
+
+ if v.DryRun != nil {
+ objectKey := object.Key("DryRun")
+ objectKey.Boolean(*v.DryRun)
+ }
+
+ if v.PolicyRule != nil {
+ objectKey := object.Key("PolicyRule")
+ if err := awsEc2query_serializeDocumentTransitGatewayRequestPolicyRule(v.PolicyRule, objectKey); err != nil {
+ return err
+ }
+ }
+
+ if v.PolicyRuleNumber != nil {
+ objectKey := object.Key("PolicyRuleNumber")
+ objectKey.String(*v.PolicyRuleNumber)
+ }
+
+ if v.TargetRouteTableId != nil {
+ objectKey := object.Key("TargetRouteTableId")
+ objectKey.String(*v.TargetRouteTableId)
+ }
+
+ if v.TransitGatewayPolicyTableId != nil {
+ objectKey := object.Key("TransitGatewayPolicyTableId")
+ objectKey.String(*v.TransitGatewayPolicyTableId)
+ }
+
+ return nil
+}
+
func awsEc2query_serializeOpDocumentModifyTransitGatewayPrefixListReferenceInput(v *ModifyTransitGatewayPrefixListReferenceInput, value query.Value) error {
object := value.Object()
_ = object
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/enums.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/enums.go
index 53cf77fa8..b77cfc954 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/enums.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/enums.go
@@ -12262,6 +12262,26 @@ func (TransitGatewayMulticastDomainState) Values() []TransitGatewayMulticastDoma
}
}
+type TransitGatewayPolicyTableEntryState string
+
+// Enum values for TransitGatewayPolicyTableEntryState
+const (
+ TransitGatewayPolicyTableEntryStateActive TransitGatewayPolicyTableEntryState = "active"
+ TransitGatewayPolicyTableEntryStateDeleted TransitGatewayPolicyTableEntryState = "deleted"
+)
+
+// Values returns all known values for TransitGatewayPolicyTableEntryState. Note
+// that this can be expanded in the future, and so it is only as up to date as the
+// client.
+//
+// The ordering of this slice is not guaranteed to be stable across updates.
+func (TransitGatewayPolicyTableEntryState) Values() []TransitGatewayPolicyTableEntryState {
+ return []TransitGatewayPolicyTableEntryState{
+ "active",
+ "deleted",
+ }
+}
+
type TransitGatewayPolicyTableState string
// Enum values for TransitGatewayPolicyTableState
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go
index cf2bee971..14e0a159a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go
@@ -3657,7 +3657,12 @@ type CreateTransitGatewayVpcAttachmentRequestOptions struct {
// Enable or disable DNS support. The default is enable .
DnsSupport DnsSupportValue
- // Enable or disable IPv6 support. The default is disable .
+ // Specifies whether IPv6 support is enabled for the attachment. When enabled, the
+ // transit gateway network interface receives an IPv6 address. When you enable
+ // route propagation, IPv6 VPC CIDRs propagate to the transit gateway route tables.
+ // When disabled, the network interface does not receive an IPv6 address, and IPv6
+ // routes do not propagate. The setting does not filter IPv6 traffic. The default
+ // is disable .
Ipv6Support Ipv6SupportValue
// Enables you to reference a security group across VPCs attached to a transit
@@ -15407,7 +15412,11 @@ type ModifyTransitGatewayVpcAttachmentRequestOptions struct {
// Enable or disable DNS support. The default is enable .
DnsSupport DnsSupportValue
- // Enable or disable IPv6 support. The default is enable .
+ // Specifies whether IPv6 support is enabled for the attachment. When enabled, the
+ // transit gateway network interface receives an IPv6 address. When you enable
+ // route propagation, IPv6 VPC CIDRs propagate to the transit gateway route tables.
+ // When disabled, the network interface does not receive an IPv6 address, and IPv6
+ // routes do not propagate. The setting does not filter IPv6 traffic.
Ipv6Support Ipv6SupportValue
// Enables you to reference a security group across VPCs attached to a transit
@@ -23342,6 +23351,9 @@ type TransitGatewayAttachmentAssociation struct {
// The state of the association.
State TransitGatewayAssociationState
+ // The ID of the transit gateway policy table associated with the attachment.
+ TransitGatewayPolicyTableId *string
+
// The ID of the route table for the transit gateway.
TransitGatewayRouteTableId *string
@@ -23918,8 +23930,7 @@ type TransitGatewayPolicyRule struct {
// The destination CIDR block for the transit gateway policy rule.
DestinationCidrBlock *string
- // The port range for the transit gateway policy rule. Currently this is set to *
- // (all).
+ // The destination port or port range for the transit gateway policy rule.
DestinationPortRange *string
// The meta data tags used for the transit gateway policy rule.
@@ -23931,8 +23942,7 @@ type TransitGatewayPolicyRule struct {
// The source CIDR block for the transit gateway policy rule.
SourceCidrBlock *string
- // The port range for the transit gateway policy rule. Currently this is set to *
- // (all).
+ // The source port or port range for the transit gateway policy rule.
SourcePortRange *string
noSmithyDocumentSerde
@@ -24001,6 +24011,9 @@ type TransitGatewayPolicyTableEntry struct {
// The rule number for the transit gateway policy table entry.
PolicyRuleNumber *string
+ // The state of the transit gateway policy table entry.
+ State TransitGatewayPolicyTableEntryState
+
// The ID of the target route table.
TargetRouteTableId *string
@@ -24117,6 +24130,47 @@ type TransitGatewayRequestOptions struct {
noSmithyDocumentSerde
}
+// The matching criteria for a transit gateway policy table entry.
+type TransitGatewayRequestPolicyRule struct {
+
+ // The destination CIDR block for the policy rule.
+ DestinationCidrBlock *string
+
+ // The destination port or port range for the policy rule. You can specify a port
+ // range only when Protocol is 6 (TCP) or 17 (UDP); for all other protocols, this
+ // value must be * .
+ DestinationPortRange *string
+
+ // The metadata key-value pair for the policy rule.
+ MetaData *TransitGatewayRequestPolicyRuleMetaData
+
+ // The protocol for the policy rule. Valid values are 1 (ICMP), 6 (TCP), 17 (UDP),
+ // 47 (GRE), or * for all protocols.
+ Protocol *string
+
+ // The source CIDR block for the policy rule.
+ SourceCidrBlock *string
+
+ // The source port or port range for the policy rule. You can specify a port range
+ // only when Protocol is 6 (TCP) or 17 (UDP); for all other protocols, this value
+ // must be * .
+ SourcePortRange *string
+
+ noSmithyDocumentSerde
+}
+
+// A metadata key-value pair for a transit gateway policy rule.
+type TransitGatewayRequestPolicyRuleMetaData struct {
+
+ // The key of the metadata pair for the policy rule.
+ MetaDataKey *string
+
+ // The value of the metadata pair for the policy rule.
+ MetaDataValue *string
+
+ noSmithyDocumentSerde
+}
+
// Describes a route for a transit gateway route table.
type TransitGatewayRoute struct {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/validators.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/validators.go
index d0520c2f8..81254eb28 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/validators.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/validators.go
@@ -2570,6 +2570,26 @@ func (m *validateOpCreateTransitGatewayPeeringAttachment) HandleInitialize(ctx c
return next.HandleInitialize(ctx, in)
}
+type validateOpCreateTransitGatewayPolicyTableEntry struct {
+}
+
+func (*validateOpCreateTransitGatewayPolicyTableEntry) ID() string {
+ return "OperationInputValidation"
+}
+
+func (m *validateOpCreateTransitGatewayPolicyTableEntry) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
+ out middleware.InitializeOutput, metadata middleware.Metadata, err error,
+) {
+ input, ok := in.Parameters.(*CreateTransitGatewayPolicyTableEntryInput)
+ if !ok {
+ return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
+ }
+ if err := validateOpCreateTransitGatewayPolicyTableEntryInput(input); err != nil {
+ return out, metadata, err
+ }
+ return next.HandleInitialize(ctx, in)
+}
+
type validateOpCreateTransitGatewayPolicyTable struct {
}
@@ -4290,6 +4310,26 @@ func (m *validateOpDeleteTransitGatewayPeeringAttachment) HandleInitialize(ctx c
return next.HandleInitialize(ctx, in)
}
+type validateOpDeleteTransitGatewayPolicyTableEntry struct {
+}
+
+func (*validateOpDeleteTransitGatewayPolicyTableEntry) ID() string {
+ return "OperationInputValidation"
+}
+
+func (m *validateOpDeleteTransitGatewayPolicyTableEntry) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
+ out middleware.InitializeOutput, metadata middleware.Metadata, err error,
+) {
+ input, ok := in.Parameters.(*DeleteTransitGatewayPolicyTableEntryInput)
+ if !ok {
+ return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
+ }
+ if err := validateOpDeleteTransitGatewayPolicyTableEntryInput(input); err != nil {
+ return out, metadata, err
+ }
+ return next.HandleInitialize(ctx, in)
+}
+
type validateOpDeleteTransitGatewayPolicyTable struct {
}
@@ -8790,6 +8830,26 @@ func (m *validateOpModifyTransitGatewayMeteringPolicy) HandleInitialize(ctx cont
return next.HandleInitialize(ctx, in)
}
+type validateOpModifyTransitGatewayPolicyTableEntry struct {
+}
+
+func (*validateOpModifyTransitGatewayPolicyTableEntry) ID() string {
+ return "OperationInputValidation"
+}
+
+func (m *validateOpModifyTransitGatewayPolicyTableEntry) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
+ out middleware.InitializeOutput, metadata middleware.Metadata, err error,
+) {
+ input, ok := in.Parameters.(*ModifyTransitGatewayPolicyTableEntryInput)
+ if !ok {
+ return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
+ }
+ if err := validateOpModifyTransitGatewayPolicyTableEntryInput(input); err != nil {
+ return out, metadata, err
+ }
+ return next.HandleInitialize(ctx, in)
+}
+
type validateOpModifyTransitGatewayPrefixListReference struct {
}
@@ -11282,6 +11342,10 @@ func addOpCreateTransitGatewayPeeringAttachmentValidationMiddleware(stack *middl
return stack.Initialize.Add(&validateOpCreateTransitGatewayPeeringAttachment{}, middleware.After)
}
+func addOpCreateTransitGatewayPolicyTableEntryValidationMiddleware(stack *middleware.Stack) error {
+ return stack.Initialize.Add(&validateOpCreateTransitGatewayPolicyTableEntry{}, middleware.After)
+}
+
func addOpCreateTransitGatewayPolicyTableValidationMiddleware(stack *middleware.Stack) error {
return stack.Initialize.Add(&validateOpCreateTransitGatewayPolicyTable{}, middleware.After)
}
@@ -11626,6 +11690,10 @@ func addOpDeleteTransitGatewayPeeringAttachmentValidationMiddleware(stack *middl
return stack.Initialize.Add(&validateOpDeleteTransitGatewayPeeringAttachment{}, middleware.After)
}
+func addOpDeleteTransitGatewayPolicyTableEntryValidationMiddleware(stack *middleware.Stack) error {
+ return stack.Initialize.Add(&validateOpDeleteTransitGatewayPolicyTableEntry{}, middleware.After)
+}
+
func addOpDeleteTransitGatewayPolicyTableValidationMiddleware(stack *middleware.Stack) error {
return stack.Initialize.Add(&validateOpDeleteTransitGatewayPolicyTable{}, middleware.After)
}
@@ -12526,6 +12594,10 @@ func addOpModifyTransitGatewayMeteringPolicyValidationMiddleware(stack *middlewa
return stack.Initialize.Add(&validateOpModifyTransitGatewayMeteringPolicy{}, middleware.After)
}
+func addOpModifyTransitGatewayPolicyTableEntryValidationMiddleware(stack *middleware.Stack) error {
+ return stack.Initialize.Add(&validateOpModifyTransitGatewayPolicyTableEntry{}, middleware.After)
+}
+
func addOpModifyTransitGatewayPrefixListReferenceValidationMiddleware(stack *middleware.Stack) error {
return stack.Initialize.Add(&validateOpModifyTransitGatewayPrefixListReference{}, middleware.After)
}
@@ -16254,6 +16326,27 @@ func validateOpCreateTransitGatewayPeeringAttachmentInput(v *CreateTransitGatewa
}
}
+func validateOpCreateTransitGatewayPolicyTableEntryInput(v *CreateTransitGatewayPolicyTableEntryInput) error {
+ if v == nil {
+ return nil
+ }
+ invalidParams := smithy.InvalidParamsError{Context: "CreateTransitGatewayPolicyTableEntryInput"}
+ if v.TransitGatewayPolicyTableId == nil {
+ invalidParams.Add(smithy.NewErrParamRequired("TransitGatewayPolicyTableId"))
+ }
+ if v.PolicyRuleNumber == nil {
+ invalidParams.Add(smithy.NewErrParamRequired("PolicyRuleNumber"))
+ }
+ if v.TargetRouteTableId == nil {
+ invalidParams.Add(smithy.NewErrParamRequired("TargetRouteTableId"))
+ }
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ } else {
+ return nil
+ }
+}
+
func validateOpCreateTransitGatewayPolicyTableInput(v *CreateTransitGatewayPolicyTableInput) error {
if v == nil {
return nil
@@ -17597,6 +17690,24 @@ func validateOpDeleteTransitGatewayPeeringAttachmentInput(v *DeleteTransitGatewa
}
}
+func validateOpDeleteTransitGatewayPolicyTableEntryInput(v *DeleteTransitGatewayPolicyTableEntryInput) error {
+ if v == nil {
+ return nil
+ }
+ invalidParams := smithy.InvalidParamsError{Context: "DeleteTransitGatewayPolicyTableEntryInput"}
+ if v.TransitGatewayPolicyTableId == nil {
+ invalidParams.Add(smithy.NewErrParamRequired("TransitGatewayPolicyTableId"))
+ }
+ if v.PolicyRuleNumber == nil {
+ invalidParams.Add(smithy.NewErrParamRequired("PolicyRuleNumber"))
+ }
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ } else {
+ return nil
+ }
+}
+
func validateOpDeleteTransitGatewayPolicyTableInput(v *DeleteTransitGatewayPolicyTableInput) error {
if v == nil {
return nil
@@ -21301,6 +21412,24 @@ func validateOpModifyTransitGatewayMeteringPolicyInput(v *ModifyTransitGatewayMe
}
}
+func validateOpModifyTransitGatewayPolicyTableEntryInput(v *ModifyTransitGatewayPolicyTableEntryInput) error {
+ if v == nil {
+ return nil
+ }
+ invalidParams := smithy.InvalidParamsError{Context: "ModifyTransitGatewayPolicyTableEntryInput"}
+ if v.TransitGatewayPolicyTableId == nil {
+ invalidParams.Add(smithy.NewErrParamRequired("TransitGatewayPolicyTableId"))
+ }
+ if v.PolicyRuleNumber == nil {
+ invalidParams.Add(smithy.NewErrParamRequired("PolicyRuleNumber"))
+ }
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ } else {
+ return nil
+ }
+}
+
func validateOpModifyTransitGatewayPrefixListReferenceInput(v *ModifyTransitGatewayPrefixListReferenceInput) error {
if v == nil {
return nil
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/CHANGELOG.md
index dd2c32c9c..a0638d4b2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/CHANGELOG.md
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/CHANGELOG.md
@@ -1,3 +1,17 @@
+# v1.89.2 (2026-07-29)
+
+* **Dependency Update**: Updated to the latest SDK module versions
+
+# v1.89.1 (2026-07-28)
+
+* **Dependency Update**: Update to smithy-go v1.27.5.
+* **Dependency Update**: Updated to the latest SDK module versions
+
+# v1.89.0 (2026-07-21)
+
+* **Feature**: Add an option to clients to disable clock skew
+* **Dependency Update**: Updated to the latest SDK module versions
+
# v1.88.1 (2026-07-13)
* No change notes available for this release.
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_client.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_client.go
index e347a310f..b51629ab5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_client.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_client.go
@@ -488,16 +488,17 @@ func setResolvedDefaultsMode(o *Options) {
// NewFromConfig returns a new client from the provided config.
func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client {
opts := Options{
- Region: cfg.Region,
- DefaultsMode: cfg.DefaultsMode,
- RuntimeEnvironment: cfg.RuntimeEnvironment,
- HTTPClient: cfg.HTTPClient,
- Credentials: cfg.Credentials,
- APIOptions: cfg.APIOptions,
- Logger: cfg.Logger,
- ClientLogMode: cfg.ClientLogMode,
- AppID: cfg.AppID,
- AuthSchemePreference: cfg.AuthSchemePreference,
+ Region: cfg.Region,
+ DefaultsMode: cfg.DefaultsMode,
+ RuntimeEnvironment: cfg.RuntimeEnvironment,
+ HTTPClient: cfg.HTTPClient,
+ Credentials: cfg.Credentials,
+ APIOptions: cfg.APIOptions,
+ Logger: cfg.Logger,
+ ClientLogMode: cfg.ClientLogMode,
+ AppID: cfg.AppID,
+ DisableClockSkewCorrection: cfg.DisableClockSkewCorrection,
+ AuthSchemePreference: cfg.AuthSchemePreference,
}
resolveAWSRetryerProvider(cfg, &opts)
resolveAWSRetryMaxAttempts(cfg, &opts)
@@ -694,8 +695,10 @@ func addRawResponseToMetadata(stack *middleware.Stack) error {
return stack.Deserialize.Add(&awsmiddleware.AddRawResponse{}, middleware.Before)
}
-func addRecordResponseTiming(stack *middleware.Stack) error {
- return stack.Deserialize.Add(&awsmiddleware.RecordResponseTiming{}, middleware.After)
+func addRecordResponseTiming(stack *middleware.Stack, options Options) error {
+ return stack.Deserialize.Add(&awsmiddleware.RecordResponseTiming{
+ DisableClockSkewCorrection: options.DisableClockSkewCorrection,
+ }, middleware.After)
}
func addSpanRetryLoop(stack *middleware.Stack, options Options) error {
@@ -773,6 +776,7 @@ func addRetry(stack *middleware.Stack, o Options, c *Client) error {
m.LogAttempts = o.ClientLogMode.IsRetries()
m.OperationMeter = o.MeterProvider.Meter("github.com/aws/aws-sdk-go-v2/service/ecs")
m.ClientSkew = c.timeOffset
+ m.DisableClockSkewCorrection = o.DisableClockSkewCorrection
})
if err := stack.Finalize.Insert(attempt, "ResolveAuthScheme", middleware.Before); err != nil {
return err
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ContinueServiceDeployment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ContinueServiceDeployment.go
index cf7a25a4d..fdf96c41a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ContinueServiceDeployment.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ContinueServiceDeployment.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationContinueServiceDeploymentMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateCapacityProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateCapacityProvider.go
index acb8647f5..b7dffff04 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateCapacityProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateCapacityProvider.go
@@ -117,7 +117,7 @@ func (c *Client) addOperationCreateCapacityProviderMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateCluster.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateCluster.go
index 03af70618..5c6e0bf7e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateCluster.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateCluster.go
@@ -171,7 +171,7 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateDaemon.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateDaemon.go
index c2e3c397a..edc3ac8b3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateDaemon.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateDaemon.go
@@ -166,7 +166,7 @@ func (c *Client) addOperationCreateDaemonMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateExpressGatewayService.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateExpressGatewayService.go
index aa27a2ed9..d89be7243 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateExpressGatewayService.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateExpressGatewayService.go
@@ -192,7 +192,7 @@ func (c *Client) addOperationCreateExpressGatewayServiceMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateService.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateService.go
index b1f2d0be1..f34029443 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateService.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateService.go
@@ -599,7 +599,7 @@ func (c *Client) addOperationCreateServiceMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateTaskSet.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateTaskSet.go
index f269e69b6..4d3cd2600 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateTaskSet.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_CreateTaskSet.go
@@ -194,7 +194,7 @@ func (c *Client) addOperationCreateTaskSetMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteAccountSetting.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteAccountSetting.go
index 61e27f705..754de3ea4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteAccountSetting.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteAccountSetting.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationDeleteAccountSettingMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteAttributes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteAttributes.go
index 8a46ecdd7..08cb44c2e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteAttributes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteAttributes.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDeleteAttributesMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteCapacityProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteCapacityProvider.go
index fc053a638..82f2b40e7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteCapacityProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteCapacityProvider.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationDeleteCapacityProviderMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteCluster.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteCluster.go
index e26203013..3fff06993 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteCluster.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteCluster.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteDaemon.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteDaemon.go
index b91cdbe26..946d163a2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteDaemon.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteDaemon.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationDeleteDaemonMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteDaemonTaskDefinition.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteDaemonTaskDefinition.go
index 08581425b..a80c28962 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteDaemonTaskDefinition.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteDaemonTaskDefinition.go
@@ -72,7 +72,7 @@ func (c *Client) addOperationDeleteDaemonTaskDefinitionMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteExpressGatewayService.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteExpressGatewayService.go
index 6a9e7d2c4..665db132a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteExpressGatewayService.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteExpressGatewayService.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationDeleteExpressGatewayServiceMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteService.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteService.go
index c3605f7c2..c129a1161 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteService.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteService.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationDeleteServiceMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteTaskDefinitions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteTaskDefinitions.go
index 3a6503a55..e437a39b6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteTaskDefinitions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteTaskDefinitions.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationDeleteTaskDefinitionsMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteTaskSet.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteTaskSet.go
index 1ca7d13fd..cf5795f71 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteTaskSet.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeleteTaskSet.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationDeleteTaskSetMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeregisterContainerInstance.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeregisterContainerInstance.go
index ce5d3d7da..e9f09a2cb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeregisterContainerInstance.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeregisterContainerInstance.go
@@ -106,7 +106,7 @@ func (c *Client) addOperationDeregisterContainerInstanceMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeregisterTaskDefinition.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeregisterTaskDefinition.go
index 49af05db3..c52077ef9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeregisterTaskDefinition.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DeregisterTaskDefinition.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationDeregisterTaskDefinitionMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeCapacityProviders.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeCapacityProviders.go
index 3f5944d94..d60d160c9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeCapacityProviders.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeCapacityProviders.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationDescribeCapacityProvidersMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeClusters.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeClusters.go
index 172fb7d99..1798f4e76 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeClusters.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeClusters.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationDescribeClustersMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeContainerInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeContainerInstances.go
index 695f81929..21df1e949 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeContainerInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeContainerInstances.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationDescribeContainerInstancesMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeDaemon.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeDaemon.go
index cbdbc6a4b..a9f1d27e0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeDaemon.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeDaemon.go
@@ -73,7 +73,7 @@ func (c *Client) addOperationDescribeDaemonMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeDaemonDeployments.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeDaemonDeployments.go
index 43b21085e..ca0ae6014 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeDaemonDeployments.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeDaemonDeployments.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationDescribeDaemonDeploymentsMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeDaemonRevisions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeDaemonRevisions.go
index aef560b6f..0e7990254 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeDaemonRevisions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeDaemonRevisions.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDescribeDaemonRevisionsMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeDaemonTaskDefinition.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeDaemonTaskDefinition.go
index 79dedbe47..1b29b27a3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeDaemonTaskDefinition.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeDaemonTaskDefinition.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationDescribeDaemonTaskDefinitionMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeExpressGatewayService.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeExpressGatewayService.go
index c157137db..13dc9bdb7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeExpressGatewayService.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeExpressGatewayService.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationDescribeExpressGatewayServiceMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeServiceDeployments.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeServiceDeployments.go
index 29913a454..78136f936 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeServiceDeployments.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeServiceDeployments.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationDescribeServiceDeploymentsMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeServiceRevisions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeServiceRevisions.go
index 8070e9a3b..d5f9bb0d9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeServiceRevisions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeServiceRevisions.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationDescribeServiceRevisionsMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeServices.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeServices.go
index f7fbf40aa..da10992ce 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeServices.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeServices.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationDescribeServicesMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeTaskDefinition.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeTaskDefinition.go
index b812cb4f9..b2036254a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeTaskDefinition.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeTaskDefinition.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationDescribeTaskDefinitionMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeTaskSets.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeTaskSets.go
index 9c2c4e040..eb9b47ce0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeTaskSets.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeTaskSets.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationDescribeTaskSetsMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeTasks.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeTasks.go
index ba0663688..510846c31 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeTasks.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DescribeTasks.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationDescribeTasksMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DiscoverPollEndpoint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DiscoverPollEndpoint.go
index d9efe6c43..531203d9f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DiscoverPollEndpoint.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_DiscoverPollEndpoint.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationDiscoverPollEndpointMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ExecuteCommand.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ExecuteCommand.go
index 4ffe6592f..e3036a402 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ExecuteCommand.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ExecuteCommand.go
@@ -114,7 +114,7 @@ func (c *Client) addOperationExecuteCommandMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_GetTaskProtection.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_GetTaskProtection.go
index 3c6cf27ae..9d8a0b1f3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_GetTaskProtection.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_GetTaskProtection.go
@@ -83,7 +83,7 @@ func (c *Client) addOperationGetTaskProtectionMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListAccountSettings.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListAccountSettings.go
index ff8a52606..8f7a9cccd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListAccountSettings.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListAccountSettings.go
@@ -112,7 +112,7 @@ func (c *Client) addOperationListAccountSettingsMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListAttributes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListAttributes.go
index bebe79a97..7ef48cb81 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListAttributes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListAttributes.go
@@ -110,7 +110,7 @@ func (c *Client) addOperationListAttributesMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListClusters.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListClusters.go
index 4faa19227..a254141ae 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListClusters.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListClusters.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListContainerInstances.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListContainerInstances.go
index 4fba79a7d..ba83ae400 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListContainerInstances.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListContainerInstances.go
@@ -115,7 +115,7 @@ func (c *Client) addOperationListContainerInstancesMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListDaemonDeployments.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListDaemonDeployments.go
index fa5d83b12..30755e13c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListDaemonDeployments.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListDaemonDeployments.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationListDaemonDeploymentsMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListDaemonTaskDefinitions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListDaemonTaskDefinitions.go
index f92fe76e5..a2dd7beda 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListDaemonTaskDefinitions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListDaemonTaskDefinitions.go
@@ -113,7 +113,7 @@ func (c *Client) addOperationListDaemonTaskDefinitionsMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListDaemons.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListDaemons.go
index 329497ddd..4971ab806 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListDaemons.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListDaemons.go
@@ -95,7 +95,7 @@ func (c *Client) addOperationListDaemonsMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListServiceDeployments.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListServiceDeployments.go
index 205b8011f..a195fe93f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListServiceDeployments.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListServiceDeployments.go
@@ -131,7 +131,7 @@ func (c *Client) addOperationListServiceDeploymentsMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListServices.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListServices.go
index 9eb348c76..91c0562e0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListServices.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListServices.go
@@ -104,7 +104,7 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListServicesByNamespace.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListServicesByNamespace.go
index 7e0ebd929..f43ef3895 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListServicesByNamespace.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListServicesByNamespace.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationListServicesByNamespaceMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListTagsForResource.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListTagsForResource.go
index d78843d3a..553f949e6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListTagsForResource.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListTagsForResource.go
@@ -70,7 +70,7 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListTaskDefinitionFamilies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListTaskDefinitionFamilies.go
index c95db76b1..823582792 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListTaskDefinitionFamilies.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListTaskDefinitionFamilies.go
@@ -110,7 +110,7 @@ func (c *Client) addOperationListTaskDefinitionFamiliesMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListTaskDefinitions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListTaskDefinitions.go
index 7f1b010a9..7814be928 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListTaskDefinitions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListTaskDefinitions.go
@@ -112,7 +112,7 @@ func (c *Client) addOperationListTaskDefinitionsMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListTasks.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListTasks.go
index acbe24240..cdad3bfe7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListTasks.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_ListTasks.go
@@ -137,7 +137,7 @@ func (c *Client) addOperationListTasksMiddlewares(stack *middleware.Stack, optio
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_PutAccountSetting.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_PutAccountSetting.go
index 2936a537e..2a1368581 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_PutAccountSetting.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_PutAccountSetting.go
@@ -213,7 +213,7 @@ func (c *Client) addOperationPutAccountSettingMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_PutAccountSettingDefault.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_PutAccountSettingDefault.go
index 0e88a3c1e..02eb3a450 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_PutAccountSettingDefault.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_PutAccountSettingDefault.go
@@ -197,7 +197,7 @@ func (c *Client) addOperationPutAccountSettingDefaultMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_PutAttributes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_PutAttributes.go
index c5fb3551a..925717e71 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_PutAttributes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_PutAttributes.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationPutAttributesMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_PutClusterCapacityProviders.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_PutClusterCapacityProviders.go
index 8053481e1..570f252cf 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_PutClusterCapacityProviders.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_PutClusterCapacityProviders.go
@@ -132,7 +132,7 @@ func (c *Client) addOperationPutClusterCapacityProvidersMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_RegisterContainerInstance.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_RegisterContainerInstance.go
index d6072fb4a..528e3878e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_RegisterContainerInstance.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_RegisterContainerInstance.go
@@ -127,7 +127,7 @@ func (c *Client) addOperationRegisterContainerInstanceMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_RegisterDaemonTaskDefinition.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_RegisterDaemonTaskDefinition.go
index 256bae3a2..ac11687b9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_RegisterDaemonTaskDefinition.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_RegisterDaemonTaskDefinition.go
@@ -157,7 +157,7 @@ func (c *Client) addOperationRegisterDaemonTaskDefinitionMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_RegisterTaskDefinition.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_RegisterTaskDefinition.go
index c42607740..051f3e173 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_RegisterTaskDefinition.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_RegisterTaskDefinition.go
@@ -347,7 +347,7 @@ func (c *Client) addOperationRegisterTaskDefinitionMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_RunTask.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_RunTask.go
index d25d6d318..5880fdb0b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_RunTask.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_RunTask.go
@@ -339,7 +339,7 @@ func (c *Client) addOperationRunTaskMiddlewares(stack *middleware.Stack, options
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_StartTask.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_StartTask.go
index ce3dfc9c9..33d63f20d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_StartTask.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_StartTask.go
@@ -188,7 +188,7 @@ func (c *Client) addOperationStartTaskMiddlewares(stack *middleware.Stack, optio
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_StopServiceDeployment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_StopServiceDeployment.go
index 249548915..7b494303c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_StopServiceDeployment.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_StopServiceDeployment.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationStopServiceDeploymentMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_StopTask.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_StopTask.go
index ceb8f56ba..d7fa69ea2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_StopTask.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_StopTask.go
@@ -99,7 +99,7 @@ func (c *Client) addOperationStopTaskMiddlewares(stack *middleware.Stack, option
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_SubmitAttachmentStateChanges.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_SubmitAttachmentStateChanges.go
index 0856b95e2..f609dc1d5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_SubmitAttachmentStateChanges.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_SubmitAttachmentStateChanges.go
@@ -75,7 +75,7 @@ func (c *Client) addOperationSubmitAttachmentStateChangesMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_SubmitContainerStateChange.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_SubmitContainerStateChange.go
index 62b3e49fc..9bb97335d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_SubmitContainerStateChange.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_SubmitContainerStateChange.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationSubmitContainerStateChangeMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_SubmitTaskStateChange.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_SubmitTaskStateChange.go
index 606e8ce40..182a6b5e2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_SubmitTaskStateChange.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_SubmitTaskStateChange.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationSubmitTaskStateChangeMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_TagResource.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_TagResource.go
index e36211db6..e7cfb005d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_TagResource.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_TagResource.go
@@ -113,7 +113,7 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UntagResource.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UntagResource.go
index 8b2be8a59..a854bdbb7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UntagResource.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UntagResource.go
@@ -70,7 +70,7 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateCapacityProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateCapacityProvider.go
index 519ed70ab..1c96dc0c3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateCapacityProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateCapacityProvider.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationUpdateCapacityProviderMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateCluster.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateCluster.go
index 7e1b657da..81a1f59ef 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateCluster.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateCluster.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationUpdateClusterMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateClusterSettings.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateClusterSettings.go
index 55264b9f0..1ee24b0dd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateClusterSettings.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateClusterSettings.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationUpdateClusterSettingsMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateContainerAgent.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateContainerAgent.go
index 9285b1ffa..a6000508a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateContainerAgent.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateContainerAgent.go
@@ -95,7 +95,7 @@ func (c *Client) addOperationUpdateContainerAgentMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateContainerInstancesState.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateContainerInstancesState.go
index baa79c48a..f65323813 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateContainerInstancesState.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateContainerInstancesState.go
@@ -136,7 +136,7 @@ func (c *Client) addOperationUpdateContainerInstancesStateMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateDaemon.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateDaemon.go
index 0534d293e..da6906bbb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateDaemon.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateDaemon.go
@@ -130,7 +130,7 @@ func (c *Client) addOperationUpdateDaemonMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateExpressGatewayService.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateExpressGatewayService.go
index b84c7d007..8108426ca 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateExpressGatewayService.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateExpressGatewayService.go
@@ -116,7 +116,7 @@ func (c *Client) addOperationUpdateExpressGatewayServiceMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateService.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateService.go
index 1de511d6e..ab0b0fc82 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateService.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateService.go
@@ -463,7 +463,7 @@ func (c *Client) addOperationUpdateServiceMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateServicePrimaryTaskSet.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateServicePrimaryTaskSet.go
index ea95c4005..b619e39a4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateServicePrimaryTaskSet.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateServicePrimaryTaskSet.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationUpdateServicePrimaryTaskSetMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateTaskProtection.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateTaskProtection.go
index 95f27bc11..f7febdf59 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateTaskProtection.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateTaskProtection.go
@@ -129,7 +129,7 @@ func (c *Client) addOperationUpdateTaskProtectionMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateTaskSet.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateTaskSet.go
index 41fb7fbe8..a95b26464 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateTaskSet.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/api_op_UpdateTaskSet.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationUpdateTaskSetMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/go_module_metadata.go
index a04c9f359..b16a71eb3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/go_module_metadata.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/go_module_metadata.go
@@ -3,4 +3,4 @@
package ecs
// goModuleVersion is the tagged release for this module
-const goModuleVersion = "1.88.1"
+const goModuleVersion = "1.89.2"
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/options.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/options.go
index 14ab29ad5..665523433 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/options.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ecs/options.go
@@ -44,6 +44,11 @@ type Options struct {
// clients initial default settings.
DefaultsMode aws.DefaultsMode
+ // Disables SDK clock skew correction. When set, the SDK will not adjust request
+ // signing timestamps to compensate for clock drift between the client and the
+ // service.
+ DisableClockSkewCorrection bool
+
// The endpoint options to be used when attempting to resolve an endpoint.
EndpointOptions EndpointResolverOptions
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/CHANGELOG.md
index c19d5e376..e32142085 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/CHANGELOG.md
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/CHANGELOG.md
@@ -1,3 +1,21 @@
+# v1.57.0 (2026-07-30)
+
+* **Feature**: Improved IAM Policy Simulator accuracy. Simulator now evaluates SCP conditions and resource scoping, returns explicitDeny for explicit SCP denials, and reports accurate cross-account decisions.
+
+# v1.56.2 (2026-07-29)
+
+* **Dependency Update**: Updated to the latest SDK module versions
+
+# v1.56.1 (2026-07-28)
+
+* **Dependency Update**: Update to smithy-go v1.27.5.
+* **Dependency Update**: Updated to the latest SDK module versions
+
+# v1.56.0 (2026-07-21)
+
+* **Feature**: Add an option to clients to disable clock skew
+* **Dependency Update**: Updated to the latest SDK module versions
+
# v1.55.1 (2026-07-13)
* No change notes available for this release.
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_client.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_client.go
index 1eb6db97a..459f35f8a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_client.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_client.go
@@ -484,16 +484,17 @@ func setResolvedDefaultsMode(o *Options) {
// NewFromConfig returns a new client from the provided config.
func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client {
opts := Options{
- Region: cfg.Region,
- DefaultsMode: cfg.DefaultsMode,
- RuntimeEnvironment: cfg.RuntimeEnvironment,
- HTTPClient: cfg.HTTPClient,
- Credentials: cfg.Credentials,
- APIOptions: cfg.APIOptions,
- Logger: cfg.Logger,
- ClientLogMode: cfg.ClientLogMode,
- AppID: cfg.AppID,
- AuthSchemePreference: cfg.AuthSchemePreference,
+ Region: cfg.Region,
+ DefaultsMode: cfg.DefaultsMode,
+ RuntimeEnvironment: cfg.RuntimeEnvironment,
+ HTTPClient: cfg.HTTPClient,
+ Credentials: cfg.Credentials,
+ APIOptions: cfg.APIOptions,
+ Logger: cfg.Logger,
+ ClientLogMode: cfg.ClientLogMode,
+ AppID: cfg.AppID,
+ DisableClockSkewCorrection: cfg.DisableClockSkewCorrection,
+ AuthSchemePreference: cfg.AuthSchemePreference,
}
resolveAWSRetryerProvider(cfg, &opts)
resolveAWSRetryMaxAttempts(cfg, &opts)
@@ -690,8 +691,10 @@ func addRawResponseToMetadata(stack *middleware.Stack) error {
return stack.Deserialize.Add(&awsmiddleware.AddRawResponse{}, middleware.Before)
}
-func addRecordResponseTiming(stack *middleware.Stack) error {
- return stack.Deserialize.Add(&awsmiddleware.RecordResponseTiming{}, middleware.After)
+func addRecordResponseTiming(stack *middleware.Stack, options Options) error {
+ return stack.Deserialize.Add(&awsmiddleware.RecordResponseTiming{
+ DisableClockSkewCorrection: options.DisableClockSkewCorrection,
+ }, middleware.After)
}
func addSpanRetryLoop(stack *middleware.Stack, options Options) error {
@@ -762,6 +765,7 @@ func addRetry(stack *middleware.Stack, o Options, c *Client) error {
m.LogAttempts = o.ClientLogMode.IsRetries()
m.OperationMeter = o.MeterProvider.Meter("github.com/aws/aws-sdk-go-v2/service/iam")
m.ClientSkew = c.timeOffset
+ m.DisableClockSkewCorrection = o.DisableClockSkewCorrection
})
if err := stack.Finalize.Insert(attempt, "ResolveAuthScheme", middleware.Before); err != nil {
return err
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AcceptDelegationRequest.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AcceptDelegationRequest.go
index 60745d101..7a3793b05 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AcceptDelegationRequest.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AcceptDelegationRequest.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationAcceptDelegationRequestMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go
index 58258d2a9..ec55e8077 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go
@@ -77,7 +77,7 @@ func (c *Client) addOperationAddClientIDToOpenIDConnectProviderMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddRoleToInstanceProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddRoleToInstanceProfile.go
index 6cd999386..a9e0adb6f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddRoleToInstanceProfile.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddRoleToInstanceProfile.go
@@ -106,7 +106,7 @@ func (c *Client) addOperationAddRoleToInstanceProfileMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddUserToGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddUserToGroup.go
index 9c86c1887..35cd0cf61 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddUserToGroup.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AddUserToGroup.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationAddUserToGroupMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AssociateDelegationRequest.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AssociateDelegationRequest.go
index ca292cb9b..b4f2fc9b1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AssociateDelegationRequest.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AssociateDelegationRequest.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationAssociateDelegationRequestMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachGroupPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachGroupPolicy.go
index 55577a41f..c6a869084 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachGroupPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachGroupPolicy.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationAttachGroupPolicyMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachRolePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachRolePolicy.go
index ade5bd30c..4655e934f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachRolePolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachRolePolicy.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationAttachRolePolicyMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachUserPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachUserPolicy.go
index cb22196d5..8e2ef4f7b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachUserPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_AttachUserPolicy.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationAttachUserPolicyMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ChangePassword.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ChangePassword.go
index 09f1e685e..c2e2a9dff 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ChangePassword.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ChangePassword.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationChangePasswordMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateAccessKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateAccessKey.go
index 59ceac6e0..e01cc67e6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateAccessKey.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateAccessKey.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationCreateAccessKeyMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateAccountAlias.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateAccountAlias.go
index c320d337d..73e8ea68b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateAccountAlias.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateAccountAlias.go
@@ -73,7 +73,7 @@ func (c *Client) addOperationCreateAccountAliasMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateDelegationRequest.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateDelegationRequest.go
index aa8e45c71..ffc9c537a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateDelegationRequest.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateDelegationRequest.go
@@ -152,7 +152,7 @@ func (c *Client) addOperationCreateDelegationRequestMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateGroup.go
index 93793c449..107853cba 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateGroup.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateGroup.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateInstanceProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateInstanceProfile.go
index f47f33066..75474b9ea 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateInstanceProfile.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateInstanceProfile.go
@@ -114,7 +114,7 @@ func (c *Client) addOperationCreateInstanceProfileMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateLoginProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateLoginProfile.go
index f113aa26c..49cbc71cb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateLoginProfile.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateLoginProfile.go
@@ -115,7 +115,7 @@ func (c *Client) addOperationCreateLoginProfileMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateOpenIDConnectProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateOpenIDConnectProvider.go
index 063434952..cce5ea633 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateOpenIDConnectProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateOpenIDConnectProvider.go
@@ -181,7 +181,7 @@ func (c *Client) addOperationCreateOpenIDConnectProviderMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreatePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreatePolicy.go
index 0b4543d10..d94a57037 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreatePolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreatePolicy.go
@@ -158,7 +158,7 @@ func (c *Client) addOperationCreatePolicyMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreatePolicyVersion.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreatePolicyVersion.go
index a4b342cee..bca969aec 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreatePolicyVersion.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreatePolicyVersion.go
@@ -130,7 +130,7 @@ func (c *Client) addOperationCreatePolicyVersionMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateRole.go
index 206987eb1..dea31dfde 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateRole.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateRole.go
@@ -178,7 +178,7 @@ func (c *Client) addOperationCreateRoleMiddlewares(stack *middleware.Stack, opti
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateSAMLProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateSAMLProvider.go
index 52b516f14..7f87b8eec 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateSAMLProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateSAMLProvider.go
@@ -137,7 +137,7 @@ func (c *Client) addOperationCreateSAMLProviderMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateServiceLinkedRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateServiceLinkedRole.go
index 9775c25c2..8a429893a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateServiceLinkedRole.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateServiceLinkedRole.go
@@ -104,7 +104,7 @@ func (c *Client) addOperationCreateServiceLinkedRoleMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateServiceSpecificCredential.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateServiceSpecificCredential.go
index 2f5633806..fac592bec 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateServiceSpecificCredential.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateServiceSpecificCredential.go
@@ -123,7 +123,7 @@ func (c *Client) addOperationCreateServiceSpecificCredentialMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateUser.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateUser.go
index 92c3c35d2..d3cb69e2b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateUser.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateUser.go
@@ -120,7 +120,7 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateVirtualMFADevice.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateVirtualMFADevice.go
index 85b64e0e1..f1bd62e6a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateVirtualMFADevice.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_CreateVirtualMFADevice.go
@@ -121,7 +121,7 @@ func (c *Client) addOperationCreateVirtualMFADeviceMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeactivateMFADevice.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeactivateMFADevice.go
index 9df578a5f..2522c3bdc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeactivateMFADevice.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeactivateMFADevice.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationDeactivateMFADeviceMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccessKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccessKey.go
index db6ab465a..f89e1db6a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccessKey.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccessKey.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationDeleteAccessKeyMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccountAlias.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccountAlias.go
index c6d59f0da..0cbd37c60 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccountAlias.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccountAlias.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteAccountAliasMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccountPasswordPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccountPasswordPolicy.go
index a54edac33..58c9de42f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccountPasswordPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteAccountPasswordPolicy.go
@@ -58,7 +58,7 @@ func (c *Client) addOperationDeleteAccountPasswordPolicyMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteGroup.go
index 0cdd1917a..e0b51eb5f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteGroup.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteGroup.go
@@ -70,7 +70,7 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteGroupPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteGroupPolicy.go
index f0e8c8a7f..adf757130 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteGroupPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteGroupPolicy.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationDeleteGroupPolicyMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteInstanceProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteInstanceProfile.go
index 1027f09be..6cc5f0e43 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteInstanceProfile.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteInstanceProfile.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationDeleteInstanceProfileMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteLoginProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteLoginProfile.go
index fd36c3af1..bcba26492 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteLoginProfile.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteLoginProfile.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationDeleteLoginProfileMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteOpenIDConnectProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteOpenIDConnectProvider.go
index b8f21c534..130a733e1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteOpenIDConnectProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteOpenIDConnectProvider.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationDeleteOpenIDConnectProviderMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeletePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeletePolicy.go
index c5ce10ca1..9664307d3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeletePolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeletePolicy.go
@@ -95,7 +95,7 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeletePolicyVersion.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeletePolicyVersion.go
index 96b46bdda..e16a65afc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeletePolicyVersion.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeletePolicyVersion.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationDeletePolicyVersionMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRole.go
index a88fd1c1f..cb6d32eea 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRole.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRole.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationDeleteRoleMiddlewares(stack *middleware.Stack, opti
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRolePermissionsBoundary.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRolePermissionsBoundary.go
index 859bbb20c..4b7f3ef3d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRolePermissionsBoundary.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRolePermissionsBoundary.go
@@ -70,7 +70,7 @@ func (c *Client) addOperationDeleteRolePermissionsBoundaryMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRolePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRolePolicy.go
index 6cb3cde09..b946f5aa5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRolePolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteRolePolicy.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationDeleteRolePolicyMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSAMLProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSAMLProvider.go
index 32ccbef69..273a52cbc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSAMLProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSAMLProvider.go
@@ -72,7 +72,7 @@ func (c *Client) addOperationDeleteSAMLProviderMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSSHPublicKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSSHPublicKey.go
index da9fabd9e..de31276cf 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSSHPublicKey.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSSHPublicKey.go
@@ -86,7 +86,7 @@ func (c *Client) addOperationDeleteSSHPublicKeyMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServerCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServerCertificate.go
index 21456d76f..114dd4f19 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServerCertificate.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServerCertificate.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationDeleteServerCertificateMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServiceLinkedRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServiceLinkedRole.go
index d1f9771ad..9f1e061f4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServiceLinkedRole.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServiceLinkedRole.go
@@ -90,7 +90,7 @@ func (c *Client) addOperationDeleteServiceLinkedRoleMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServiceSpecificCredential.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServiceSpecificCredential.go
index 786949029..cd924ded0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServiceSpecificCredential.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteServiceSpecificCredential.go
@@ -81,7 +81,7 @@ func (c *Client) addOperationDeleteServiceSpecificCredentialMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSigningCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSigningCertificate.go
index 844329b2a..e84d06013 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSigningCertificate.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteSigningCertificate.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationDeleteSigningCertificateMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUser.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUser.go
index 7d34868f1..9d30c51aa 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUser.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUser.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUserPermissionsBoundary.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUserPermissionsBoundary.go
index d3bbf1dd6..dd6273a2c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUserPermissionsBoundary.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUserPermissionsBoundary.go
@@ -68,7 +68,7 @@ func (c *Client) addOperationDeleteUserPermissionsBoundaryMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUserPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUserPolicy.go
index 57f1354c6..f27d22717 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUserPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteUserPolicy.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationDeleteUserPolicyMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteVirtualMFADevice.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteVirtualMFADevice.go
index 7acc2094c..7144371d5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteVirtualMFADevice.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DeleteVirtualMFADevice.go
@@ -75,7 +75,7 @@ func (c *Client) addOperationDeleteVirtualMFADeviceMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachGroupPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachGroupPolicy.go
index d664fc72a..b6d6f018e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachGroupPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachGroupPolicy.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationDetachGroupPolicyMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachRolePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachRolePolicy.go
index 3786a2df3..afb2dddd9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachRolePolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachRolePolicy.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationDetachRolePolicyMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachUserPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachUserPolicy.go
index 862710d8c..92bdb900b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachUserPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DetachUserPolicy.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationDetachUserPolicyMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOrganizationsRootCredentialsManagement.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOrganizationsRootCredentialsManagement.go
index b5d47344d..19c7becf1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOrganizationsRootCredentialsManagement.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOrganizationsRootCredentialsManagement.go
@@ -69,7 +69,7 @@ func (c *Client) addOperationDisableOrganizationsRootCredentialsManagementMiddle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOrganizationsRootSessions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOrganizationsRootSessions.go
index eb9bb0147..dba02b209 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOrganizationsRootSessions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOrganizationsRootSessions.go
@@ -69,7 +69,7 @@ func (c *Client) addOperationDisableOrganizationsRootSessionsMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOutboundWebIdentityFederation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOutboundWebIdentityFederation.go
index 48c3b39f9..77cb1c99d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOutboundWebIdentityFederation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_DisableOutboundWebIdentityFederation.go
@@ -61,7 +61,7 @@ func (c *Client) addOperationDisableOutboundWebIdentityFederationMiddlewares(sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableMFADevice.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableMFADevice.go
index 47e46c807..dde6a7197 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableMFADevice.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableMFADevice.go
@@ -113,7 +113,7 @@ func (c *Client) addOperationEnableMFADeviceMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOrganizationsRootCredentialsManagement.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOrganizationsRootCredentialsManagement.go
index 9fecee103..64a32b515 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOrganizationsRootCredentialsManagement.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOrganizationsRootCredentialsManagement.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationEnableOrganizationsRootCredentialsManagementMiddlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOrganizationsRootSessions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOrganizationsRootSessions.go
index 8abc96772..2920d8172 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOrganizationsRootSessions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOrganizationsRootSessions.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationEnableOrganizationsRootSessionsMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOutboundWebIdentityFederation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOutboundWebIdentityFederation.go
index e01eac0f9..49a5c100c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOutboundWebIdentityFederation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_EnableOutboundWebIdentityFederation.go
@@ -68,7 +68,7 @@ func (c *Client) addOperationEnableOutboundWebIdentityFederationMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateCredentialReport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateCredentialReport.go
index 3578c4dab..a71145b41 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateCredentialReport.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateCredentialReport.go
@@ -72,7 +72,7 @@ func (c *Client) addOperationGenerateCredentialReportMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateOrganizationsAccessReport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateOrganizationsAccessReport.go
index 0da43d5fc..35c5f08b0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateOrganizationsAccessReport.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateOrganizationsAccessReport.go
@@ -193,7 +193,7 @@ func (c *Client) addOperationGenerateOrganizationsAccessReportMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateServiceLastAccessedDetails.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateServiceLastAccessedDetails.go
index aecb01ad9..2969a3f66 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateServiceLastAccessedDetails.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GenerateServiceLastAccessedDetails.go
@@ -145,7 +145,7 @@ func (c *Client) addOperationGenerateServiceLastAccessedDetailsMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccessKeyLastUsed.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccessKeyLastUsed.go
index fd51d1f9d..003feea0a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccessKeyLastUsed.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccessKeyLastUsed.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationGetAccessKeyLastUsedMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountAuthorizationDetails.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountAuthorizationDetails.go
index 55a0a9db4..d53608f46 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountAuthorizationDetails.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountAuthorizationDetails.go
@@ -128,7 +128,7 @@ func (c *Client) addOperationGetAccountAuthorizationDetailsMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountPasswordPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountPasswordPolicy.go
index c63fd9a84..bbf27a41e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountPasswordPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountPasswordPolicy.go
@@ -72,7 +72,7 @@ func (c *Client) addOperationGetAccountPasswordPolicyMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountSummary.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountSummary.go
index 8e8e22457..cc1f35efa 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountSummary.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetAccountSummary.go
@@ -70,7 +70,7 @@ func (c *Client) addOperationGetAccountSummaryMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetContextKeysForCustomPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetContextKeysForCustomPolicy.go
index a05602bb7..7ab0c7402 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetContextKeysForCustomPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetContextKeysForCustomPolicy.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationGetContextKeysForCustomPolicyMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetContextKeysForPrincipalPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetContextKeysForPrincipalPolicy.go
index f1324d3bb..eb3d14818 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetContextKeysForPrincipalPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetContextKeysForPrincipalPolicy.go
@@ -24,7 +24,10 @@ import (
// Context keys are variables maintained by Amazon Web Services and its services
// that provide details about the context of an API query request. Context keys can
// be evaluated by testing against a value in an IAM policy. Use [GetContextKeysForPrincipalPolicy]to understand
-// what key names and values you must supply when you call [SimulatePrincipalPolicy].
+// what key names and values you must supply when you call [SimulatePrincipalPolicy]. This operation
+// doesn't return context keys referenced by service control policies (SCPs). Only
+// context keys referenced by the identity-based policies attached to the specified
+// entity, and any additional policies that you provide, are included.
//
// [GetContextKeysForPrincipalPolicy]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html
// [GetContextKeysForCustomPolicy]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html
@@ -120,7 +123,7 @@ func (c *Client) addOperationGetContextKeysForPrincipalPolicyMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetCredentialReport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetCredentialReport.go
index 0c14ef822..8e69cd52e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetCredentialReport.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetCredentialReport.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationGetCredentialReportMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetDelegationRequest.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetDelegationRequest.go
index 947f3ad06..678220518 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetDelegationRequest.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetDelegationRequest.go
@@ -117,7 +117,7 @@ func (c *Client) addOperationGetDelegationRequestMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetGroup.go
index af83eae3b..a395e6792 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetGroup.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetGroup.go
@@ -116,7 +116,7 @@ func (c *Client) addOperationGetGroupMiddlewares(stack *middleware.Stack, option
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetGroupPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetGroupPolicy.go
index c183daed1..24e9168cb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetGroupPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetGroupPolicy.go
@@ -121,7 +121,7 @@ func (c *Client) addOperationGetGroupPolicyMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetHumanReadableSummary.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetHumanReadableSummary.go
index ab7cd6197..58beb3544 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetHumanReadableSummary.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetHumanReadableSummary.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationGetHumanReadableSummaryMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetInstanceProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetInstanceProfile.go
index 7392e2b34..a7b057ee4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetInstanceProfile.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetInstanceProfile.go
@@ -89,7 +89,7 @@ func (c *Client) addOperationGetInstanceProfileMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetLoginProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetLoginProfile.go
index 46dd80ede..61b546dfd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetLoginProfile.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetLoginProfile.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationGetLoginProfileMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetMFADevice.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetMFADevice.go
index 9551d2c43..56b98321d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetMFADevice.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetMFADevice.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationGetMFADeviceMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOpenIDConnectProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOpenIDConnectProvider.go
index 0cb62dbc3..934306989 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOpenIDConnectProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOpenIDConnectProvider.go
@@ -107,7 +107,7 @@ func (c *Client) addOperationGetOpenIDConnectProviderMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOrganizationsAccessReport.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOrganizationsAccessReport.go
index 0afd37b56..1419c9d03 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOrganizationsAccessReport.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOrganizationsAccessReport.go
@@ -164,7 +164,7 @@ func (c *Client) addOperationGetOrganizationsAccessReportMiddlewares(stack *midd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOutboundWebIdentityFederationInfo.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOutboundWebIdentityFederationInfo.go
index 1764906d4..ba8061f79 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOutboundWebIdentityFederationInfo.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetOutboundWebIdentityFederationInfo.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationGetOutboundWebIdentityFederationInfoMiddlewares(sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetPolicy.go
index 5eb03aac9..bca54ca1b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetPolicy.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetPolicyVersion.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetPolicyVersion.go
index ba2f96c14..90f61f1fd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetPolicyVersion.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetPolicyVersion.go
@@ -113,7 +113,7 @@ func (c *Client) addOperationGetPolicyVersionMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetRole.go
index 50003108b..e50e77439 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetRole.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetRole.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationGetRoleMiddlewares(stack *middleware.Stack, options
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetRolePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetRolePolicy.go
index d87dd1052..4f5b02ad7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetRolePolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetRolePolicy.go
@@ -124,7 +124,7 @@ func (c *Client) addOperationGetRolePolicyMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetSAMLProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetSAMLProvider.go
index 9d32d10ef..4ceea8df0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetSAMLProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetSAMLProvider.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationGetSAMLProviderMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetSSHPublicKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetSSHPublicKey.go
index 09b04d74c..1ddd99eea 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetSSHPublicKey.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetSSHPublicKey.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationGetSSHPublicKeyMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServerCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServerCertificate.go
index c37e39581..085a79fe8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServerCertificate.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServerCertificate.go
@@ -85,7 +85,7 @@ func (c *Client) addOperationGetServerCertificateMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLastAccessedDetails.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLastAccessedDetails.go
index c23d33e1d..bb9cd58f0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLastAccessedDetails.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLastAccessedDetails.go
@@ -182,7 +182,7 @@ func (c *Client) addOperationGetServiceLastAccessedDetailsMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go
index e8b926e7f..b42b0370a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go
@@ -165,7 +165,7 @@ func (c *Client) addOperationGetServiceLastAccessedDetailsWithEntitiesMiddleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go
index 5ef956ae9..f3a9e3552 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go
@@ -82,7 +82,7 @@ func (c *Client) addOperationGetServiceLinkedRoleDeletionStatusMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetUser.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetUser.go
index 40bb2100e..c11d5cde4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetUser.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetUser.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationGetUserMiddlewares(stack *middleware.Stack, options
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetUserPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetUserPolicy.go
index d5ff28b3e..46b9eec5f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetUserPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_GetUserPolicy.go
@@ -121,7 +121,7 @@ func (c *Client) addOperationGetUserPolicyMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAccessKeys.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAccessKeys.go
index 220c3d1c1..1f91d265c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAccessKeys.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAccessKeys.go
@@ -123,7 +123,7 @@ func (c *Client) addOperationListAccessKeysMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAccountAliases.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAccountAliases.go
index 2cec78036..ad43b722e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAccountAliases.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAccountAliases.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationListAccountAliasesMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedGroupPolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedGroupPolicies.go
index b12b60896..aef08d7cd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedGroupPolicies.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedGroupPolicies.go
@@ -132,7 +132,7 @@ func (c *Client) addOperationListAttachedGroupPoliciesMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedRolePolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedRolePolicies.go
index a91177f1f..8028c9080 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedRolePolicies.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedRolePolicies.go
@@ -132,7 +132,7 @@ func (c *Client) addOperationListAttachedRolePoliciesMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedUserPolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedUserPolicies.go
index 56d9aa25a..0761a12d1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedUserPolicies.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListAttachedUserPolicies.go
@@ -132,7 +132,7 @@ func (c *Client) addOperationListAttachedUserPoliciesMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListDelegationRequests.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListDelegationRequests.go
index eda9096dc..762863916 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListDelegationRequests.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListDelegationRequests.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationListDelegationRequestsMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListEntitiesForPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListEntitiesForPolicy.go
index 4053cd65c..e2241a9b1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListEntitiesForPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListEntitiesForPolicy.go
@@ -149,7 +149,7 @@ func (c *Client) addOperationListEntitiesForPolicyMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroupPolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroupPolicies.go
index fadea08af..9034db4b4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroupPolicies.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroupPolicies.go
@@ -126,7 +126,7 @@ func (c *Client) addOperationListGroupPoliciesMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroups.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroups.go
index 2ed70a411..89a00899c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroups.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroups.go
@@ -114,7 +114,7 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroupsForUser.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroupsForUser.go
index f0dda3e33..9add37b33 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroupsForUser.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListGroupsForUser.go
@@ -111,7 +111,7 @@ func (c *Client) addOperationListGroupsForUserMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfileTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfileTags.go
index ffdb6fdc5..dcd96be3c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfileTags.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfileTags.go
@@ -112,7 +112,7 @@ func (c *Client) addOperationListInstanceProfileTagsMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfiles.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfiles.go
index 8f0797dac..dc1940043 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfiles.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfiles.go
@@ -124,7 +124,7 @@ func (c *Client) addOperationListInstanceProfilesMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfilesForRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfilesForRole.go
index 2dd986127..0decd57cd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfilesForRole.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListInstanceProfilesForRole.go
@@ -115,7 +115,7 @@ func (c *Client) addOperationListInstanceProfilesForRoleMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListMFADeviceTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListMFADeviceTags.go
index 446477739..0cae366c3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListMFADeviceTags.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListMFADeviceTags.go
@@ -113,7 +113,7 @@ func (c *Client) addOperationListMFADeviceTagsMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListMFADevices.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListMFADevices.go
index 3c90d5c0a..ef4b8d32e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListMFADevices.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListMFADevices.go
@@ -113,7 +113,7 @@ func (c *Client) addOperationListMFADevicesMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOpenIDConnectProviderTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOpenIDConnectProviderTags.go
index 94ecca01b..bc743420a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOpenIDConnectProviderTags.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOpenIDConnectProviderTags.go
@@ -117,7 +117,7 @@ func (c *Client) addOperationListOpenIDConnectProviderTagsMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOpenIDConnectProviders.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOpenIDConnectProviders.go
index 8c23854bd..c703dfa99 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOpenIDConnectProviders.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOpenIDConnectProviders.go
@@ -74,7 +74,7 @@ func (c *Client) addOperationListOpenIDConnectProvidersMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOrganizationsFeatures.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOrganizationsFeatures.go
index cd3d15837..a5a7d3642 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOrganizationsFeatures.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListOrganizationsFeatures.go
@@ -68,7 +68,7 @@ func (c *Client) addOperationListOrganizationsFeaturesMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicies.go
index c311e34f5..0cc4e8011 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicies.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicies.go
@@ -152,7 +152,7 @@ func (c *Client) addOperationListPoliciesMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPoliciesGrantingServiceAccess.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPoliciesGrantingServiceAccess.go
index c5fa0a8a6..e1aaa1c5a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPoliciesGrantingServiceAccess.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPoliciesGrantingServiceAccess.go
@@ -138,7 +138,7 @@ func (c *Client) addOperationListPoliciesGrantingServiceAccessMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicyTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicyTags.go
index f5279ca88..6b5377716 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicyTags.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicyTags.go
@@ -112,7 +112,7 @@ func (c *Client) addOperationListPolicyTagsMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicyVersions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicyVersions.go
index 3f1e5cadb..72ae35ae8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicyVersions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListPolicyVersions.go
@@ -116,7 +116,7 @@ func (c *Client) addOperationListPolicyVersionsMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRolePolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRolePolicies.go
index d19159fff..b61bc5057 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRolePolicies.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRolePolicies.go
@@ -120,7 +120,7 @@ func (c *Client) addOperationListRolePoliciesMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRoleTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRoleTags.go
index db5e74d2b..0a8b37309 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRoleTags.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRoleTags.go
@@ -112,7 +112,7 @@ func (c *Client) addOperationListRoleTagsMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRoles.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRoles.go
index 077635d94..314fa8220 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRoles.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListRoles.go
@@ -131,7 +131,7 @@ func (c *Client) addOperationListRolesMiddlewares(stack *middleware.Stack, optio
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSAMLProviderTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSAMLProviderTags.go
index d7f46c1d0..6180a3a95 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSAMLProviderTags.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSAMLProviderTags.go
@@ -117,7 +117,7 @@ func (c *Client) addOperationListSAMLProviderTagsMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSAMLProviders.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSAMLProviders.go
index 8178432ec..4269bb2aa 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSAMLProviders.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSAMLProviders.go
@@ -75,7 +75,7 @@ func (c *Client) addOperationListSAMLProvidersMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSSHPublicKeys.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSSHPublicKeys.go
index 86a1188d8..1acf35997 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSSHPublicKeys.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSSHPublicKeys.go
@@ -118,7 +118,7 @@ func (c *Client) addOperationListSSHPublicKeysMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServerCertificateTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServerCertificateTags.go
index 5cf83e74e..9ff81cfd3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServerCertificateTags.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServerCertificateTags.go
@@ -118,7 +118,7 @@ func (c *Client) addOperationListServerCertificateTagsMiddlewares(stack *middlew
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServerCertificates.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServerCertificates.go
index 7fff3cc49..2146e41a0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServerCertificates.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServerCertificates.go
@@ -127,7 +127,7 @@ func (c *Client) addOperationListServerCertificatesMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServiceSpecificCredentials.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServiceSpecificCredentials.go
index 3d4b66014..bcc8c14bb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServiceSpecificCredentials.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListServiceSpecificCredentials.go
@@ -123,7 +123,7 @@ func (c *Client) addOperationListServiceSpecificCredentialsMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSigningCertificates.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSigningCertificates.go
index c276cdba4..61268df50 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSigningCertificates.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListSigningCertificates.go
@@ -118,7 +118,7 @@ func (c *Client) addOperationListSigningCertificatesMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUserPolicies.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUserPolicies.go
index e1e473a50..df8be9351 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUserPolicies.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUserPolicies.go
@@ -119,7 +119,7 @@ func (c *Client) addOperationListUserPoliciesMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUserTags.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUserTags.go
index 248ed42f9..0c1f8da4d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUserTags.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUserTags.go
@@ -112,7 +112,7 @@ func (c *Client) addOperationListUserTagsMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUsers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUsers.go
index 1b49e7e46..3196e6aaf 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUsers.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListUsers.go
@@ -128,7 +128,7 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListVirtualMFADevices.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListVirtualMFADevices.go
index a79aba3d3..14a19de8d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListVirtualMFADevices.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ListVirtualMFADevices.go
@@ -116,7 +116,7 @@ func (c *Client) addOperationListVirtualMFADevicesMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutGroupPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutGroupPolicy.go
index 8713abd2e..e29342038 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutGroupPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutGroupPolicy.go
@@ -122,7 +122,7 @@ func (c *Client) addOperationPutGroupPolicyMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutRolePermissionsBoundary.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutRolePermissionsBoundary.go
index 084a0669c..cc098c8f4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutRolePermissionsBoundary.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutRolePermissionsBoundary.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationPutRolePermissionsBoundaryMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutRolePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutRolePolicy.go
index 08b10021f..d45f9feee 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutRolePolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutRolePolicy.go
@@ -131,7 +131,7 @@ func (c *Client) addOperationPutRolePolicyMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutUserPermissionsBoundary.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutUserPermissionsBoundary.go
index 5850d4f5e..d6dc01eeb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutUserPermissionsBoundary.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutUserPermissionsBoundary.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationPutUserPermissionsBoundaryMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutUserPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutUserPolicy.go
index 3aae145c5..b050d552c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutUserPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_PutUserPolicy.go
@@ -122,7 +122,7 @@ func (c *Client) addOperationPutUserPolicyMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RejectDelegationRequest.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RejectDelegationRequest.go
index ab641394d..1867fefbc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RejectDelegationRequest.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RejectDelegationRequest.go
@@ -76,7 +76,7 @@ func (c *Client) addOperationRejectDelegationRequestMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go
index ecd80e0a4..20b9af929 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go
@@ -83,7 +83,7 @@ func (c *Client) addOperationRemoveClientIDFromOpenIDConnectProviderMiddlewares(
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveRoleFromInstanceProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveRoleFromInstanceProfile.go
index 7e513f3bf..d29935f76 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveRoleFromInstanceProfile.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveRoleFromInstanceProfile.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationRemoveRoleFromInstanceProfileMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveUserFromGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveUserFromGroup.go
index 5cde9caaa..385ba2180 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveUserFromGroup.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_RemoveUserFromGroup.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationRemoveUserFromGroupMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ResetServiceSpecificCredential.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ResetServiceSpecificCredential.go
index 7e63dba63..af2e42792 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ResetServiceSpecificCredential.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ResetServiceSpecificCredential.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationResetServiceSpecificCredentialMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ResyncMFADevice.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ResyncMFADevice.go
index 69c2acc2e..85cbc44ca 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ResyncMFADevice.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_ResyncMFADevice.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationResyncMFADeviceMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SendDelegationToken.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SendDelegationToken.go
index 3020fbfaa..864e13bbf 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SendDelegationToken.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SendDelegationToken.go
@@ -75,7 +75,7 @@ func (c *Client) addOperationSendDelegationTokenMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SetDefaultPolicyVersion.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SetDefaultPolicyVersion.go
index 26cb06d75..624a1d137 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SetDefaultPolicyVersion.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SetDefaultPolicyVersion.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationSetDefaultPolicyVersionMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SetSecurityTokenServicePreferences.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SetSecurityTokenServicePreferences.go
index 31821fb54..9dd1505c0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SetSecurityTokenServicePreferences.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SetSecurityTokenServicePreferences.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationSetSecurityTokenServicePreferencesMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SimulateCustomPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SimulateCustomPolicy.go
index a98c7278b..6c59f22b9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SimulateCustomPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SimulateCustomPolicy.go
@@ -30,13 +30,14 @@ import (
// If the output is long, you can use MaxItems and Marker parameters to paginate
// the results.
//
-// The IAM policy simulator evaluates statements in the identity-based policy and
-// the inputs that you provide during simulation. The policy simulator results can
-// differ from your live Amazon Web Services environment. We recommend that you
-// check your policies against your live Amazon Web Services environment after
-// testing using the policy simulator to confirm that you have the desired results.
-// For more information about using the policy simulator, see [Testing IAM policies with the IAM policy simulator]in the IAM User
-// Guide.
+// The IAM policy simulator evaluates statements in identity-based policies,
+// service control policies (SCPs) including their condition keys and resource
+// scoping, and the inputs that you provide during simulation. The policy simulator
+// results can differ from your live Amazon Web Services environment. We recommend
+// that you check your policies against your live Amazon Web Services environment
+// after testing using the policy simulator to confirm that you have the desired
+// results. For more information about using the policy simulator, see [Testing IAM policies with the IAM policy simulator]in the IAM
+// User Guide.
//
// [GetContextKeysForCustomPolicy]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html
// [Testing IAM policies with the IAM policy simulator]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_testing-policies.html
@@ -98,12 +99,13 @@ type SimulateCustomPolicyInput struct {
// This member is required.
PolicyInputList []string
- // The ARN of the IAM user that you want to use as the simulated caller of the API
- // operations. CallerArn is required if you include a ResourcePolicy so that the
- // policy's Principal element has a value to use in evaluating the policy.
+ // The ARN of the IAM user, group, or role that you want to use as the simulated
+ // caller of the API operations. CallerArn is required if you include a
+ // ResourcePolicy so that the policy's Principal element has a value to use in
+ // evaluating the policy.
//
- // You can specify only the ARN of an IAM user. You cannot specify the ARN of an
- // assumed role, federated user, or a service principal.
+ // You cannot specify the ARN of an assumed role, federated user, or a service
+ // principal.
CallerArn *string
// A list of context keys and corresponding values for the simulation to use.
@@ -128,6 +130,20 @@ type SimulateCustomPolicyInput struct {
// to continue from.
MaxItems *int32
+ // An ordered list of service control policies (SCPs) to include in the
+ // simulation. Each element represents one level of an Organizations hierarchy,
+ // from the organization root to the account.
+ //
+ // The simulator evaluates SCPs in the order that you provide, consistent with how
+ // Organizations enforces SCPs. The first element must represent the organization
+ // root, and the last element must represent the account. Any elements between them
+ // represent organizational units (OUs) in descending order.
+ //
+ // Use this parameter to simulate the effect of an SCP hierarchy without calling [SimulatePrincipalPolicy].
+ //
+ // [SimulatePrincipalPolicy]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html
+ OrderedOrganizationPolicyInputList []types.OrderedOrganizationPolicyType
+
// The IAM permissions boundary policy to simulate. The permissions boundary sets
// the maximum permissions that an IAM entity can have. You can input only one
// permissions boundary when you pass a policy to this operation. For more
@@ -305,7 +321,7 @@ func (c *Client) addOperationSimulateCustomPolicyMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SimulatePrincipalPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SimulatePrincipalPolicy.go
index 962e58ad7..f38ecfdec 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SimulatePrincipalPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_SimulatePrincipalPolicy.go
@@ -28,6 +28,11 @@ import (
// authorization to determine if the simulated policies allow or deny the
// operations.
//
+// For cross-account simulations, EvalDecisionDetails returns the decision for
+// each policy type (identity-based policy, resource-based policy, and permissions
+// boundary). This helps you identify which policy type is responsible for an allow
+// or deny decision when policies span multiple accounts.
+//
// Note: This operation discloses information about the permissions granted to
// other users. If you do not want users to see other user's permissions, then
// consider allowing them to use [SimulateCustomPolicy]instead.
@@ -40,13 +45,14 @@ import (
// If the output is long, you can use the MaxItems and Marker parameters to
// paginate the results.
//
-// The IAM policy simulator evaluates statements in the identity-based policy and
-// the inputs that you provide during simulation. The policy simulator results can
-// differ from your live Amazon Web Services environment. We recommend that you
-// check your policies against your live Amazon Web Services environment after
-// testing using the policy simulator to confirm that you have the desired results.
-// For more information about using the policy simulator, see [Testing IAM policies with the IAM policy simulator]in the IAM User
-// Guide.
+// The IAM policy simulator evaluates statements in identity-based policies,
+// service control policies (SCPs) including their condition keys and resource
+// scoping, and the inputs that you provide during simulation. The policy simulator
+// results can differ from your live Amazon Web Services environment. We recommend
+// that you check your policies against your live Amazon Web Services environment
+// after testing using the policy simulator to confirm that you have the desired
+// results. For more information about using the policy simulator, see [Testing IAM policies with the IAM policy simulator]in the IAM
+// User Guide.
//
// [GetContextKeysForPrincipalPolicy]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html
// [Testing IAM policies with the IAM policy simulator]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_testing-policies.html
@@ -94,20 +100,21 @@ type SimulatePrincipalPolicyInput struct {
// This member is required.
PolicySourceArn *string
- // The ARN of the IAM user that you want to specify as the simulated caller of the
- // API operations. If you do not specify a CallerArn , it defaults to the ARN of
- // the user that you specify in PolicySourceArn , if you specified a user. If you
- // include both a PolicySourceArn (for example,
+ // The ARN of the IAM user, group, or role that you want to specify as the
+ // simulated caller of the API operations. If you do not specify a CallerArn , it
+ // defaults to the ARN of the user, group, or role that you specify in
+ // PolicySourceArn . If you include both a PolicySourceArn (for example,
// arn:aws:iam::123456789012:user/David ) and a CallerArn (for example,
// arn:aws:iam::123456789012:user/Bob ), the result is that you simulate calling
// the API operations as Bob, as if Bob had David's policies.
//
- // You can specify only the ARN of an IAM user. You cannot specify the ARN of an
- // assumed role, federated user, or a service principal.
+ // You can specify the ARN of an IAM user, group, or role. You cannot specify the
+ // ARN of an assumed role, federated user, or a service principal.
//
// CallerArn is required if you include a ResourcePolicy and the PolicySourceArn
- // is not the ARN for an IAM user. This is required so that the resource-based
- // policy's Principal element has a value to use in evaluating the policy.
+ // is not the ARN for an IAM user, group, or role. This is required so that the
+ // resource-based policy's Principal element has a value to use in evaluating the
+ // policy.
//
// For more information about ARNs, see [Amazon Resource Names (ARNs)] in the Amazon Web Services General
// Reference.
@@ -169,6 +176,24 @@ type SimulatePrincipalPolicyInput struct {
// [Permissions boundaries for IAM entities]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html
PermissionsBoundaryPolicyInputList []string
+ // A list of policies to exclude from the simulation. Use this parameter to test
+ // what the simulation result would be if a policy were removed, without changing
+ // which policies are actually attached to the principal identified by
+ // PolicySourceArn .
+ //
+ // Each entry is a [PolicyIdentifier] that identifies one or more policies to exclude by policy
+ // type, by Amazon Resource Name (ARN), or by the name of an inline policy and the
+ // entity it is attached to.
+ //
+ // Syntactically invalid identifiers, such as malformed ARNs or wildcards in
+ // disallowed positions, cause the request to fail with an InvalidInput error.
+ // Syntactically valid identifiers that don't match any attached policy are
+ // ignored. Resource control policies (RCPs) are not supported in this release;
+ // identifiers that target RCPs are also ignored.
+ //
+ // [PolicyIdentifier]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_PolicyIdentifier.html
+ PolicyExclusionList []types.PolicyIdentifier
+
// An optional list of additional policy documents to include in the simulation.
// Each document is specified as a string containing the complete, valid JSON text
// of an IAM policy.
@@ -330,7 +355,7 @@ func (c *Client) addOperationSimulatePrincipalPolicyMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagInstanceProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagInstanceProfile.go
index 5c16fe638..0fae521bc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagInstanceProfile.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagInstanceProfile.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationTagInstanceProfileMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagMFADevice.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagMFADevice.go
index 3bb09fe32..50896c32e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagMFADevice.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagMFADevice.go
@@ -103,7 +103,7 @@ func (c *Client) addOperationTagMFADeviceMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagOpenIDConnectProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagOpenIDConnectProvider.go
index dae688537..4573ee6c6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagOpenIDConnectProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagOpenIDConnectProvider.go
@@ -103,7 +103,7 @@ func (c *Client) addOperationTagOpenIDConnectProviderMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagPolicy.go
index 3a9f4ae57..806465a7a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagPolicy.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationTagPolicyMiddlewares(stack *middleware.Stack, optio
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagRole.go
index 687e01e15..580f62dc0 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagRole.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagRole.go
@@ -109,7 +109,7 @@ func (c *Client) addOperationTagRoleMiddlewares(stack *middleware.Stack, options
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagSAMLProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagSAMLProvider.go
index c147baa62..97a711d38 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagSAMLProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagSAMLProvider.go
@@ -103,7 +103,7 @@ func (c *Client) addOperationTagSAMLProviderMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagServerCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagServerCertificate.go
index b8f0aa922..60e8041fc 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagServerCertificate.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagServerCertificate.go
@@ -110,7 +110,7 @@ func (c *Client) addOperationTagServerCertificateMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagUser.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagUser.go
index ab223685a..952a31f7b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagUser.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_TagUser.go
@@ -108,7 +108,7 @@ func (c *Client) addOperationTagUserMiddlewares(stack *middleware.Stack, options
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagInstanceProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagInstanceProfile.go
index ddcf5549c..0a627d0e1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagInstanceProfile.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagInstanceProfile.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationUntagInstanceProfileMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagMFADevice.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagMFADevice.go
index 6a6c369df..420ccd04e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagMFADevice.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagMFADevice.go
@@ -79,7 +79,7 @@ func (c *Client) addOperationUntagMFADeviceMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagOpenIDConnectProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagOpenIDConnectProvider.go
index 107f818a8..371b3bbee 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagOpenIDConnectProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagOpenIDConnectProvider.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationUntagOpenIDConnectProviderMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagPolicy.go
index e714413dd..e3f7550f6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagPolicy.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationUntagPolicyMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagRole.go
index 09758cdbe..a4ad6cbfe 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagRole.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagRole.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationUntagRoleMiddlewares(stack *middleware.Stack, optio
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagSAMLProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagSAMLProvider.go
index d6a8037e0..c192aa03e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagSAMLProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagSAMLProvider.go
@@ -80,7 +80,7 @@ func (c *Client) addOperationUntagSAMLProviderMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagServerCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagServerCertificate.go
index cf6ed0ad5..47b21dee7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagServerCertificate.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagServerCertificate.go
@@ -84,7 +84,7 @@ func (c *Client) addOperationUntagServerCertificateMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagUser.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagUser.go
index 957766fe6..9df96aa31 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagUser.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UntagUser.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationUntagUserMiddlewares(stack *middleware.Stack, optio
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAccessKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAccessKey.go
index 17352236f..db0c9ab46 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAccessKey.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAccessKey.go
@@ -99,7 +99,7 @@ func (c *Client) addOperationUpdateAccessKeyMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAccountPasswordPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAccountPasswordPolicy.go
index 61f3de99e..070df5144 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAccountPasswordPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAccountPasswordPolicy.go
@@ -152,7 +152,7 @@ func (c *Client) addOperationUpdateAccountPasswordPolicyMiddlewares(stack *middl
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAssumeRolePolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAssumeRolePolicy.go
index 72bb0773e..acc09e47d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAssumeRolePolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateAssumeRolePolicy.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationUpdateAssumeRolePolicyMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateDelegationRequest.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateDelegationRequest.go
index 15b9b4765..98a7bc833 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateDelegationRequest.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateDelegationRequest.go
@@ -72,7 +72,7 @@ func (c *Client) addOperationUpdateDelegationRequestMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateGroup.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateGroup.go
index f5c215ac8..4cd4fb373 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateGroup.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateGroup.go
@@ -101,7 +101,7 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateLoginProfile.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateLoginProfile.go
index 2679b1222..9880f3e02 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateLoginProfile.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateLoginProfile.go
@@ -103,7 +103,7 @@ func (c *Client) addOperationUpdateLoginProfileMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go
index 49a0b7ba0..408fe54a2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go
@@ -98,7 +98,7 @@ func (c *Client) addOperationUpdateOpenIDConnectProviderThumbprintMiddlewares(st
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateRole.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateRole.go
index ba3ac85fa..7ff3d4f40 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateRole.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateRole.go
@@ -87,7 +87,7 @@ func (c *Client) addOperationUpdateRoleMiddlewares(stack *middleware.Stack, opti
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateRoleDescription.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateRoleDescription.go
index 1b873abab..23a9e530f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateRoleDescription.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateRoleDescription.go
@@ -78,7 +78,7 @@ func (c *Client) addOperationUpdateRoleDescriptionMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSAMLProvider.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSAMLProvider.go
index bd4541e29..f7c28d80e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSAMLProvider.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSAMLProvider.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationUpdateSAMLProviderMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSSHPublicKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSSHPublicKey.go
index ab5b83cfa..f9552ca33 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSSHPublicKey.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSSHPublicKey.go
@@ -97,7 +97,7 @@ func (c *Client) addOperationUpdateSSHPublicKeyMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateServerCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateServerCertificate.go
index 3108e0ded..3933914c6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateServerCertificate.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateServerCertificate.go
@@ -112,7 +112,7 @@ func (c *Client) addOperationUpdateServerCertificateMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateServiceSpecificCredential.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateServiceSpecificCredential.go
index d42f5eab8..46cdd89cd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateServiceSpecificCredential.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateServiceSpecificCredential.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationUpdateServiceSpecificCredentialMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSigningCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSigningCertificate.go
index 655c95665..fc2e39d40 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSigningCertificate.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateSigningCertificate.go
@@ -94,7 +94,7 @@ func (c *Client) addOperationUpdateSigningCertificateMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateUser.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateUser.go
index 8951e2732..5517c414c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateUser.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UpdateUser.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadSSHPublicKey.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadSSHPublicKey.go
index b16a7c5c8..e70fc756b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadSSHPublicKey.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadSSHPublicKey.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationUploadSSHPublicKeyMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadServerCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadServerCertificate.go
index 92b54280d..cb8e9f5ad 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadServerCertificate.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadServerCertificate.go
@@ -200,7 +200,7 @@ func (c *Client) addOperationUploadServerCertificateMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadSigningCertificate.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadSigningCertificate.go
index fdcbaadfb..42e4f27b1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadSigningCertificate.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/api_op_UploadSigningCertificate.go
@@ -119,7 +119,7 @@ func (c *Client) addOperationUploadSigningCertificateMiddlewares(stack *middlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/generated.json b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/generated.json
index bf958f140..17932d828 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/generated.json
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/generated.json
@@ -202,6 +202,7 @@
"types/enums.go",
"types/errors.go",
"types/types.go",
+ "types/types_exported_test.go",
"validators.go"
],
"go": "1.24",
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/go_module_metadata.go
index 5c823adc8..f01b3ec4d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/go_module_metadata.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/go_module_metadata.go
@@ -3,4 +3,4 @@
package iam
// goModuleVersion is the tagged release for this module
-const goModuleVersion = "1.55.1"
+const goModuleVersion = "1.57.0"
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/options.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/options.go
index fc96c5fa3..568df41e2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/options.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/options.go
@@ -44,6 +44,11 @@ type Options struct {
// clients initial default settings.
DefaultsMode aws.DefaultsMode
+ // Disables SDK clock skew correction. When set, the SDK will not adjust request
+ // signing timestamps to compensate for clock drift between the client and the
+ // service.
+ DisableClockSkewCorrection bool
+
// The endpoint options to be used when attempting to resolve an endpoint.
EndpointOptions EndpointResolverOptions
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/serializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/serializers.go
index adb0d2679..681fd1ce6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/serializers.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/serializers.go
@@ -12370,6 +12370,94 @@ func awsAwsquery_serializeDocumentEntityListType(v []types.EntityType, value que
return nil
}
+func awsAwsquery_serializeDocumentInlinePolicyIdentifierType(v *types.InlinePolicyIdentifierType, value query.Value) error {
+ object := value.Object()
+ _ = object
+
+ if v.AttachmentName != nil {
+ objectKey := object.Key("AttachmentName")
+ objectKey.String(*v.AttachmentName)
+ }
+
+ if len(v.AttachmentType) > 0 {
+ objectKey := object.Key("AttachmentType")
+ objectKey.String(string(v.AttachmentType))
+ }
+
+ if v.PolicyName != nil {
+ objectKey := object.Key("PolicyName")
+ objectKey.String(*v.PolicyName)
+ }
+
+ return nil
+}
+
+func awsAwsquery_serializeDocumentOrderedOrganizationPolicyType(v *types.OrderedOrganizationPolicyType, value query.Value) error {
+ object := value.Object()
+ _ = object
+
+ if v.ServiceControlPolicyInputList != nil {
+ objectKey := object.Key("ServiceControlPolicyInputList")
+ if err := awsAwsquery_serializeDocumentSimulationPolicyListType(v.ServiceControlPolicyInputList, objectKey); err != nil {
+ return err
+ }
+ }
+
+ return nil
+}
+
+func awsAwsquery_serializeDocumentOrganizationPolicyListType(v []types.OrderedOrganizationPolicyType, value query.Value) error {
+ array := value.Array("member")
+
+ for i := range v {
+ av := array.Value()
+ if err := awsAwsquery_serializeDocumentOrderedOrganizationPolicyType(&v[i], av); err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+func awsAwsquery_serializeDocumentPolicyExclusionsListType(v []types.PolicyIdentifier, value query.Value) error {
+ array := value.Array("member")
+
+ for i := range v {
+ if vv := v[i]; vv == nil {
+ continue
+ }
+ av := array.Value()
+ if err := awsAwsquery_serializeDocumentPolicyIdentifier(v[i], av); err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+func awsAwsquery_serializeDocumentPolicyIdentifier(v types.PolicyIdentifier, value query.Value) error {
+ object := value.Object()
+
+ switch uv := v.(type) {
+ case *types.PolicyIdentifierMemberInlinePolicyIdentifier:
+ objectKey := object.Key("InlinePolicyIdentifier")
+ if err := awsAwsquery_serializeDocumentInlinePolicyIdentifierType(&uv.Value, objectKey); err != nil {
+ return err
+ }
+
+ case *types.PolicyIdentifierMemberPolicyArn:
+ objectKey := object.Key("PolicyArn")
+ objectKey.String(uv.Value)
+
+ case *types.PolicyIdentifierMemberPolicyType:
+ objectKey := object.Key("PolicyType")
+ objectKey.String(string(uv.Value))
+
+ default:
+ return fmt.Errorf("attempted to serialize unknown member type %T for union %T", uv, v)
+
+ }
+ return nil
+}
+
func awsAwsquery_serializeDocumentPolicyParameter(v *types.PolicyParameter, value query.Value) error {
object := value.Object()
_ = object
@@ -15005,6 +15093,13 @@ func awsAwsquery_serializeOpDocumentSimulateCustomPolicyInput(v *SimulateCustomP
objectKey.Integer(*v.MaxItems)
}
+ if v.OrderedOrganizationPolicyInputList != nil {
+ objectKey := object.Key("OrderedOrganizationPolicyInputList")
+ if err := awsAwsquery_serializeDocumentOrganizationPolicyListType(v.OrderedOrganizationPolicyInputList, objectKey); err != nil {
+ return err
+ }
+ }
+
if v.PermissionsBoundaryPolicyInputList != nil {
objectKey := object.Key("PermissionsBoundaryPolicyInputList")
if err := awsAwsquery_serializeDocumentSimulationPolicyListType(v.PermissionsBoundaryPolicyInputList, objectKey); err != nil {
@@ -15084,6 +15179,13 @@ func awsAwsquery_serializeOpDocumentSimulatePrincipalPolicyInput(v *SimulatePrin
}
}
+ if v.PolicyExclusionList != nil {
+ objectKey := object.Key("PolicyExclusionList")
+ if err := awsAwsquery_serializeDocumentPolicyExclusionsListType(v.PolicyExclusionList, objectKey); err != nil {
+ return err
+ }
+ }
+
if v.PolicyInputList != nil {
objectKey := object.Key("PolicyInputList")
if err := awsAwsquery_serializeDocumentSimulationPolicyListType(v.PolicyInputList, objectKey); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/enums.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/enums.go
index bc9bda74f..84e7c23e8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/enums.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/enums.go
@@ -62,6 +62,27 @@ func (AssignmentStatusType) Values() []AssignmentStatusType {
}
}
+type AttachmentType string
+
+// Enum values for AttachmentType
+const (
+ AttachmentTypeUser AttachmentType = "user"
+ AttachmentTypeGroup AttachmentType = "group"
+ AttachmentTypeRole AttachmentType = "role"
+)
+
+// Values returns all known values for AttachmentType. Note that this can be
+// expanded in the future, and so it is only as up to date as the client.
+//
+// The ordering of this slice is not guaranteed to be stable across updates.
+func (AttachmentType) Values() []AttachmentType {
+ return []AttachmentType{
+ "user",
+ "group",
+ "role",
+ }
+}
+
type ContextKeyTypeEnum string
// Enum values for ContextKeyTypeEnum
@@ -309,6 +330,33 @@ func (PolicyEvaluationDecisionType) Values() []PolicyEvaluationDecisionType {
}
}
+type PolicyIdentifierPolicyType string
+
+// Enum values for PolicyIdentifierPolicyType
+const (
+ PolicyIdentifierPolicyTypeInline PolicyIdentifierPolicyType = "inline"
+ PolicyIdentifierPolicyTypeAwsManaged PolicyIdentifierPolicyType = "aws-managed"
+ PolicyIdentifierPolicyTypeUserManaged PolicyIdentifierPolicyType = "user-managed"
+ PolicyIdentifierPolicyTypePermissionBoundary PolicyIdentifierPolicyType = "permission-boundary"
+ PolicyIdentifierPolicyTypeScp PolicyIdentifierPolicyType = "scp"
+ PolicyIdentifierPolicyTypeRcp PolicyIdentifierPolicyType = "rcp"
+)
+
+// Values returns all known values for PolicyIdentifierPolicyType. Note that this
+// can be expanded in the future, and so it is only as up to date as the client.
+//
+// The ordering of this slice is not guaranteed to be stable across updates.
+func (PolicyIdentifierPolicyType) Values() []PolicyIdentifierPolicyType {
+ return []PolicyIdentifierPolicyType{
+ "inline",
+ "aws-managed",
+ "user-managed",
+ "permission-boundary",
+ "scp",
+ "rcp",
+ }
+}
+
type PolicyOwnerEntityType string
// Enum values for PolicyOwnerEntityType
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/types.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/types.go
index 32d9d370b..09d81b502 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/types.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/types/types.go
@@ -504,6 +504,20 @@ type ErrorDetails struct {
//
// This data type is used by the return parameter of [SimulateCustomPolicy] and [SimulatePrincipalPolicy].
//
+// The simulator now returns a single EvaluationResult per action, regardless of
+// how many resource ARNs are provided. Previously, simulating one action against N
+// resources returned N evaluation results, each containing the same aggregate
+// decision. The top-level fields ( EvalDecision , MatchedStatements ,
+// MissingContextValues , EvalDecisionDetails ) now represent the aggregate
+// decision across all requested resources. The top-level EvalDecision reflects
+// the most restrictive decision across all resources (for example, if any resource
+// produces explicitDeny , the top-level decision is explicitDeny ).
+//
+// To see the decision for each individual resource, use ResourceSpecificResults .
+// If your application parses evaluation results per resource ARN, update your code
+// to read per-resource decisions from ResourceSpecificResults rather than from
+// the top-level result.
+//
// [SimulatePrincipalPolicy]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html
// [SimulateCustomPolicy]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html
type EvaluationResult struct {
@@ -523,6 +537,9 @@ type EvaluationResult struct {
// brief summary of how each policy type contributes to the final evaluation
// decision.
//
+ // In the top-level result, this map reports the most restrictive decision per
+ // policy type across all requested resources.
+ //
// If the simulation evaluates policies within the same account and includes a
// resource ARN, then the parameter is present but the response is empty. If the
// simulation evaluates policies within the same account and specifies all
@@ -540,7 +557,14 @@ type EvaluationResult struct {
// [Evaluating policies within a single account]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics
EvalDecisionDetails map[string]PolicyEvaluationDecisionType
- // The ARN of the resource that the indicated API operation was tested on.
+ // The ARN template for the simulated resource type (for example,
+ // arn:${Partition}:s3:::${BucketName}/${KeyName} ), or * if no ARN format is
+ // defined for the action. This is not a specific customer-provided resource ARN.
+ // To find the decision for a specific resource, use ResourceSpecificResults .
+ //
+ // If you previously relied on EvalResourceName to identify which specific
+ // resource a result applies to, you must now use the EvalResourceName field
+ // within individual entries in ResourceSpecificResults instead.
EvalResourceName *string
// A list of the statements in the input policies that determine the result for
@@ -548,6 +572,13 @@ type EvaluationResult struct {
// the resource, if only one statement denies that operation, then the explicit
// deny overrides any allow. In addition, the deny statement is the only entry
// included in the result.
+ //
+ // In the top-level result, this field contains the union of matched statements
+ // across all requested resources. Only statements that contributed to the reported
+ // decision are included. For per-resource matched statements, see
+ // ResourceSpecificResults . This field doesn't include statements from service
+ // control policies (SCPs). Only statements from identity-based and resource-based
+ // policies appear here.
MatchedStatements []Statement
// A list of context keys that are required by the included input policies but
@@ -557,6 +588,11 @@ type EvaluationResult struct {
// values are instead included under the ResourceSpecificResults section. To
// discover the context keys used by a set of policies, you can call [GetContextKeysForCustomPolicy]or [GetContextKeysForPrincipalPolicy].
//
+ // In the top-level result, this field contains the deduplicated set of missing
+ // context values across all requested resources. This field doesn't include
+ // context keys referenced by service control policies (SCPs). Only context keys
+ // referenced by identity-based and resource-based policies appear here.
+ //
// [GetContextKeysForPrincipalPolicy]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html
// [GetContextKeysForCustomPolicy]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html
MissingContextValues []string
@@ -564,6 +600,10 @@ type EvaluationResult struct {
// A structure that details how Organizations and its service control policies
// affect the results of the simulation. Only applies if the simulated user's
// account is part of an organization.
+ //
+ // For resources that don't support organization-level evaluation, this field is
+ // omitted from the top-level result. For per-resource details, see
+ // ResourceSpecificResults .
OrganizationsDecisionDetail *OrganizationsDecisionDetail
// Contains information about the effect that a permissions boundary has on a
@@ -676,6 +716,34 @@ type GroupDetail struct {
noSmithyDocumentSerde
}
+// Identifies one or more inline policies that are embedded in IAM users, groups,
+// or roles, by the name of the policy together with the type and name of the
+// entity that it is attached to. Wildcard characters in the entity name can match
+// multiple entities, so a single identifier can select more than one attached
+// inline policy.
+type InlinePolicyIdentifierType struct {
+
+ // The name of the IAM user, group, or role that the inline policy is attached to.
+ // Wildcard characters are supported to match multiple entities: use at most one *
+ // (matches any sequence of characters, including none), and any number of ? (each
+ // matches exactly one character).
+ //
+ // This member is required.
+ AttachmentName *string
+
+ // The type of IAM entity that the inline policy is attached to.
+ //
+ // This member is required.
+ AttachmentType AttachmentType
+
+ // The name of the inline policy.
+ //
+ // This member is required.
+ PolicyName *string
+
+ noSmithyDocumentSerde
+}
+
// Contains information about an instance profile.
//
// This data type is used as a response element in the following operations:
@@ -919,6 +987,25 @@ type OpenIDConnectProviderListEntry struct {
noSmithyDocumentSerde
}
+// Represents one level of an Organizations hierarchy—the organization root, an
+// organizational unit (OU), or an account—together with the service control
+// policies (SCPs) that apply at that level. Each element in the list represents
+// one level of the hierarchy, ordered from the organization root down to the
+// account.
+//
+// For more information about SCPs, see [Service control policies (SCPs)] in the Organizations User Guide.
+//
+// [Service control policies (SCPs)]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html
+type OrderedOrganizationPolicyType struct {
+
+ // A list of SCP documents that apply at this level of the Organizations
+ // hierarchy. Each document is specified as a string containing the complete, valid
+ // JSON text of an SCP.
+ ServiceControlPolicyInputList []string
+
+ noSmithyDocumentSerde
+}
+
// Contains information about the effect that Organizations has on a policy
// simulation.
type OrganizationsDecisionDetail struct {
@@ -1180,6 +1267,59 @@ type PolicyGroup struct {
noSmithyDocumentSerde
}
+// Identifies one or more policies as a union type. Specify exactly one of
+// PolicyType , PolicyArn , or InlinePolicyIdentifier to identify policies by
+// their type, by Amazon Resource Name (ARN), or by the name of an inline policy
+// and the entity it is attached to.
+//
+// The following types satisfy this interface:
+//
+// PolicyIdentifierMemberInlinePolicyIdentifier
+// PolicyIdentifierMemberPolicyArn
+// PolicyIdentifierMemberPolicyType
+type PolicyIdentifier interface {
+ isPolicyIdentifier()
+}
+
+// An inline policy identifier consisting of a policy name and the entity it is
+// attached to. Wildcard characters ( * and ? ) in the entity name can match
+// multiple entities.
+type PolicyIdentifierMemberInlinePolicyIdentifier struct {
+ Value InlinePolicyIdentifierType
+
+ noSmithyDocumentSerde
+}
+
+func (*PolicyIdentifierMemberInlinePolicyIdentifier) isPolicyIdentifier() {}
+
+// The Amazon Resource Name (ARN) of an Amazon Web Services managed policy or a
+// customer managed policy that is attached to an IAM user, group, or role.
+// Wildcard characters are supported in the resource name portion of the ARN to
+// match multiple managed policies: use at most one * (matches any sequence of
+// characters, including none), and any number of ? (each matches exactly one
+// character).
+//
+// For more information about ARNs, see [Amazon Resource Names (ARNs)] in the Amazon Web Services General
+// Reference.
+//
+// [Amazon Resource Names (ARNs)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
+type PolicyIdentifierMemberPolicyArn struct {
+ Value string
+
+ noSmithyDocumentSerde
+}
+
+func (*PolicyIdentifierMemberPolicyArn) isPolicyIdentifier() {}
+
+// The policy type to identify. All policies of the specified type are matched.
+type PolicyIdentifierMemberPolicyType struct {
+ Value PolicyIdentifierPolicyType
+
+ noSmithyDocumentSerde
+}
+
+func (*PolicyIdentifierMemberPolicyType) isPolicyIdentifier() {}
+
// Contains information about a policy parameter used to customize delegated
// permissions.
type PolicyParameter struct {
@@ -2247,3 +2387,14 @@ type VirtualMFADevice struct {
}
type noSmithyDocumentSerde = smithydocument.NoSerde
+
+// UnknownUnionMember is returned when a union member is returned over the wire,
+// but has an unknown tag.
+type UnknownUnionMember struct {
+ Tag string
+ Value []byte
+
+ noSmithyDocumentSerde
+}
+
+func (*UnknownUnionMember) isPolicyIdentifier() {}
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/validators.go b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/validators.go
index 08ab7d9c1..2700f31c5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/iam/validators.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/iam/validators.go
@@ -3370,6 +3370,63 @@ func addOpUploadSSHPublicKeyValidationMiddleware(stack *middleware.Stack) error
return stack.Initialize.Add(&validateOpUploadSSHPublicKey{}, middleware.After)
}
+func validateInlinePolicyIdentifierType(v *types.InlinePolicyIdentifierType) error {
+ if v == nil {
+ return nil
+ }
+ invalidParams := smithy.InvalidParamsError{Context: "InlinePolicyIdentifierType"}
+ if v.PolicyName == nil {
+ invalidParams.Add(smithy.NewErrParamRequired("PolicyName"))
+ }
+ if len(v.AttachmentType) == 0 {
+ invalidParams.Add(smithy.NewErrParamRequired("AttachmentType"))
+ }
+ if v.AttachmentName == nil {
+ invalidParams.Add(smithy.NewErrParamRequired("AttachmentName"))
+ }
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ } else {
+ return nil
+ }
+}
+
+func validatePolicyExclusionsListType(v []types.PolicyIdentifier) error {
+ if v == nil {
+ return nil
+ }
+ invalidParams := smithy.InvalidParamsError{Context: "PolicyExclusionsListType"}
+ for i := range v {
+ if err := validatePolicyIdentifier(v[i]); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError))
+ }
+ }
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ } else {
+ return nil
+ }
+}
+
+func validatePolicyIdentifier(v types.PolicyIdentifier) error {
+ if v == nil {
+ return nil
+ }
+ invalidParams := smithy.InvalidParamsError{Context: "PolicyIdentifier"}
+ switch uv := v.(type) {
+ case *types.PolicyIdentifierMemberInlinePolicyIdentifier:
+ if err := validateInlinePolicyIdentifierType(&uv.Value); err != nil {
+ invalidParams.AddNested("[InlinePolicyIdentifier]", err.(smithy.InvalidParamsError))
+ }
+
+ }
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ } else {
+ return nil
+ }
+}
+
func validateTag(v *types.Tag) error {
if v == nil {
return nil
@@ -5191,6 +5248,11 @@ func validateOpSimulatePrincipalPolicyInput(v *SimulatePrincipalPolicyInput) err
if v.PolicySourceArn == nil {
invalidParams.Add(smithy.NewErrParamRequired("PolicySourceArn"))
}
+ if v.PolicyExclusionList != nil {
+ if err := validatePolicyExclusionsListType(v.PolicyExclusionList); err != nil {
+ invalidParams.AddNested("PolicyExclusionList", err.(smithy.InvalidParamsError))
+ }
+ }
if v.ActionNames == nil {
invalidParams.Add(smithy.NewErrParamRequired("ActionNames"))
}
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/CHANGELOG.md
index 33bb21035..44b208900 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/CHANGELOG.md
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/CHANGELOG.md
@@ -1,3 +1,7 @@
+# v1.13.14 (2026-07-28)
+
+* **Dependency Update**: Update to smithy-go v1.27.5.
+
# v1.13.13 (2026-07-01)
* No change notes available for this release.
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/go_module_metadata.go
index b02fbce7f..2898c5e52 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/go_module_metadata.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/go_module_metadata.go
@@ -3,4 +3,4 @@
package acceptencoding
// goModuleVersion is the tagged release for this module
-const goModuleVersion = "1.13.13"
+const goModuleVersion = "1.13.14"
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/CHANGELOG.md
index c4c61acc2..90bc137a6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/CHANGELOG.md
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/CHANGELOG.md
@@ -1,3 +1,12 @@
+# v1.9.26 (2026-07-29)
+
+* **Dependency Update**: Updated to the latest SDK module versions
+
+# v1.9.25 (2026-07-28)
+
+* **Dependency Update**: Update to smithy-go v1.27.5.
+* **Dependency Update**: Updated to the latest SDK module versions
+
# v1.9.24 (2026-07-21)
* **Dependency Update**: Updated to the latest SDK module versions
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/go_module_metadata.go
index 83f76acfc..ee0fb6b15 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/go_module_metadata.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/go_module_metadata.go
@@ -3,4 +3,4 @@
package checksum
// goModuleVersion is the tagged release for this module
-const goModuleVersion = "1.9.24"
+const goModuleVersion = "1.9.26"
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.md
index 529402980..90dcc45c9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.md
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.md
@@ -1,3 +1,12 @@
+# v1.13.33 (2026-07-29)
+
+* **Dependency Update**: Updated to the latest SDK module versions
+
+# v1.13.32 (2026-07-28)
+
+* **Dependency Update**: Update to smithy-go v1.27.5.
+* **Dependency Update**: Updated to the latest SDK module versions
+
# v1.13.31 (2026-07-21)
* **Dependency Update**: Updated to the latest SDK module versions
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/go_module_metadata.go
index d180642c3..8a073d248 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/go_module_metadata.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/go_module_metadata.go
@@ -3,4 +3,4 @@
package presignedurl
// goModuleVersion is the tagged release for this module
-const goModuleVersion = "1.13.31"
+const goModuleVersion = "1.13.33"
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/CHANGELOG.md
index 30fbafa6e..7f94d7cf7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/CHANGELOG.md
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/CHANGELOG.md
@@ -1,3 +1,12 @@
+# v1.19.34 (2026-07-29)
+
+* **Dependency Update**: Updated to the latest SDK module versions
+
+# v1.19.33 (2026-07-28)
+
+* **Dependency Update**: Update to smithy-go v1.27.5.
+* **Dependency Update**: Updated to the latest SDK module versions
+
# v1.19.32 (2026-07-21)
* **Dependency Update**: Updated to the latest SDK module versions
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/go_module_metadata.go
index 5fb83d6b0..5a604c778 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/go_module_metadata.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/go_module_metadata.go
@@ -3,4 +3,4 @@
package s3shared
// goModuleVersion is the tagged release for this module
-const goModuleVersion = "1.19.32"
+const goModuleVersion = "1.19.34"
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/CHANGELOG.md
index c738547fe..39a55e62a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/CHANGELOG.md
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/CHANGELOG.md
@@ -1,3 +1,17 @@
+# v1.44.2 (2026-07-29)
+
+* **Dependency Update**: Updated to the latest SDK module versions
+
+# v1.44.1 (2026-07-28)
+
+* **Dependency Update**: Update to smithy-go v1.27.5.
+* **Dependency Update**: Updated to the latest SDK module versions
+
+# v1.44.0 (2026-07-21)
+
+* **Feature**: Add an option to clients to disable clock skew
+* **Dependency Update**: Updated to the latest SDK module versions
+
# v1.43.1 (2026-07-13)
* No change notes available for this release.
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_client.go b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_client.go
index 27c5a81c9..82ed6806d 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_client.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_client.go
@@ -484,16 +484,17 @@ func setResolvedDefaultsMode(o *Options) {
// NewFromConfig returns a new client from the provided config.
func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client {
opts := Options{
- Region: cfg.Region,
- DefaultsMode: cfg.DefaultsMode,
- RuntimeEnvironment: cfg.RuntimeEnvironment,
- HTTPClient: cfg.HTTPClient,
- Credentials: cfg.Credentials,
- APIOptions: cfg.APIOptions,
- Logger: cfg.Logger,
- ClientLogMode: cfg.ClientLogMode,
- AppID: cfg.AppID,
- AuthSchemePreference: cfg.AuthSchemePreference,
+ Region: cfg.Region,
+ DefaultsMode: cfg.DefaultsMode,
+ RuntimeEnvironment: cfg.RuntimeEnvironment,
+ HTTPClient: cfg.HTTPClient,
+ Credentials: cfg.Credentials,
+ APIOptions: cfg.APIOptions,
+ Logger: cfg.Logger,
+ ClientLogMode: cfg.ClientLogMode,
+ AppID: cfg.AppID,
+ DisableClockSkewCorrection: cfg.DisableClockSkewCorrection,
+ AuthSchemePreference: cfg.AuthSchemePreference,
}
resolveAWSRetryerProvider(cfg, &opts)
resolveAWSRetryMaxAttempts(cfg, &opts)
@@ -690,8 +691,10 @@ func addRawResponseToMetadata(stack *middleware.Stack) error {
return stack.Deserialize.Add(&awsmiddleware.AddRawResponse{}, middleware.Before)
}
-func addRecordResponseTiming(stack *middleware.Stack) error {
- return stack.Deserialize.Add(&awsmiddleware.RecordResponseTiming{}, middleware.After)
+func addRecordResponseTiming(stack *middleware.Stack, options Options) error {
+ return stack.Deserialize.Add(&awsmiddleware.RecordResponseTiming{
+ DisableClockSkewCorrection: options.DisableClockSkewCorrection,
+ }, middleware.After)
}
func addSpanRetryLoop(stack *middleware.Stack, options Options) error {
@@ -762,6 +765,7 @@ func addRetry(stack *middleware.Stack, o Options, c *Client) error {
m.LogAttempts = o.ClientLogMode.IsRetries()
m.OperationMeter = o.MeterProvider.Meter("github.com/aws/aws-sdk-go-v2/service/pricing")
m.ClientSkew = c.timeOffset
+ m.DisableClockSkewCorrection = o.DisableClockSkewCorrection
})
if err := stack.Finalize.Insert(attempt, "ResolveAuthScheme", middleware.Before); err != nil {
return err
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_DescribeServices.go b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_DescribeServices.go
index 2c2e87627..d1fb8810f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_DescribeServices.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_DescribeServices.go
@@ -93,7 +93,7 @@ func (c *Client) addOperationDescribeServicesMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_GetAttributeValues.go b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_GetAttributeValues.go
index 7fe1733b9..4cd153b5e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_GetAttributeValues.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_GetAttributeValues.go
@@ -91,7 +91,7 @@ func (c *Client) addOperationGetAttributeValuesMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_GetPriceListFileUrl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_GetPriceListFileUrl.go
index a77d7b332..ea0b37562 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_GetPriceListFileUrl.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_GetPriceListFileUrl.go
@@ -88,7 +88,7 @@ func (c *Client) addOperationGetPriceListFileUrlMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_GetProducts.go b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_GetProducts.go
index 9bbcdfddc..45e2862a8 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_GetProducts.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_GetProducts.go
@@ -92,7 +92,7 @@ func (c *Client) addOperationGetProductsMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_ListPriceLists.go b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_ListPriceLists.go
index af967d277..ecce47522 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_ListPriceLists.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/api_op_ListPriceLists.go
@@ -124,7 +124,7 @@ func (c *Client) addOperationListPriceListsMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/go_module_metadata.go
index 8004fcc8c..9cdbbb343 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/go_module_metadata.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/go_module_metadata.go
@@ -3,4 +3,4 @@
package pricing
// goModuleVersion is the tagged release for this module
-const goModuleVersion = "1.43.1"
+const goModuleVersion = "1.44.2"
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/options.go b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/options.go
index 54200d869..7460365d6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/options.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/options.go
@@ -44,6 +44,11 @@ type Options struct {
// clients initial default settings.
DefaultsMode aws.DefaultsMode
+ // Disables SDK clock skew correction. When set, the SDK will not adjust request
+ // signing timestamps to compensate for clock drift between the client and the
+ // service.
+ DisableClockSkewCorrection bool
+
// The endpoint options to be used when attempting to resolve an endpoint.
EndpointOptions EndpointResolverOptions
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.md
index 98464e619..d677f4519 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.md
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.md
@@ -1,3 +1,17 @@
+# v1.106.2 (2026-07-29)
+
+* **Dependency Update**: Updated to the latest SDK module versions
+
+# v1.106.1 (2026-07-28)
+
+* **Dependency Update**: Update to smithy-go v1.27.5.
+* **Dependency Update**: Updated to the latest SDK module versions
+
+# v1.106.0 (2026-07-21)
+
+* **Feature**: Add an option to clients to disable clock skew
+* **Dependency Update**: Updated to the latest SDK module versions
+
# v1.105.2 (2026-07-16)
* **Documentation**: Documentation update for removing the 30 day minimum restriction for transition to Standard-IA or OneZone-IA storage classes
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_client.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_client.go
index 1db0e336a..4dbfd40af 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_client.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_client.go
@@ -526,6 +526,7 @@ func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client {
Logger: cfg.Logger,
ClientLogMode: cfg.ClientLogMode,
AppID: cfg.AppID,
+ DisableClockSkewCorrection: cfg.DisableClockSkewCorrection,
RequestChecksumCalculation: cfg.RequestChecksumCalculation,
ResponseChecksumValidation: cfg.ResponseChecksumValidation,
AuthSchemePreference: cfg.AuthSchemePreference,
@@ -729,8 +730,10 @@ func addRawResponseToMetadata(stack *middleware.Stack) error {
return stack.Deserialize.Add(&awsmiddleware.AddRawResponse{}, middleware.Before)
}
-func addRecordResponseTiming(stack *middleware.Stack) error {
- return stack.Deserialize.Add(&awsmiddleware.RecordResponseTiming{}, middleware.After)
+func addRecordResponseTiming(stack *middleware.Stack, options Options) error {
+ return stack.Deserialize.Add(&awsmiddleware.RecordResponseTiming{
+ DisableClockSkewCorrection: options.DisableClockSkewCorrection,
+ }, middleware.After)
}
func addSpanRetryLoop(stack *middleware.Stack, options Options) error {
@@ -808,6 +811,7 @@ func addRetry(stack *middleware.Stack, o Options, c *Client) error {
m.LogAttempts = o.ClientLogMode.IsRetries()
m.OperationMeter = o.MeterProvider.Meter("github.com/aws/aws-sdk-go-v2/service/s3")
m.ClientSkew = c.timeOffset
+ m.DisableClockSkewCorrection = o.DisableClockSkewCorrection
})
if err := stack.Finalize.Insert(attempt, "ResolveAuthScheme", middleware.Before); err != nil {
return err
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_AbortMultipartUpload.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_AbortMultipartUpload.go
index d749135db..ae39e7c1e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_AbortMultipartUpload.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_AbortMultipartUpload.go
@@ -223,7 +223,7 @@ func (c *Client) addOperationAbortMultipartUploadMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CompleteMultipartUpload.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CompleteMultipartUpload.go
index a82fd9bc0..f800620bd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CompleteMultipartUpload.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CompleteMultipartUpload.go
@@ -574,7 +574,7 @@ func (c *Client) addOperationCompleteMultipartUploadMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CopyObject.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CopyObject.go
index 1526eb5f2..cea8046b7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CopyObject.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CopyObject.go
@@ -996,7 +996,7 @@ func (c *Client) addOperationCopyObjectMiddlewares(stack *middleware.Stack, opti
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucket.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucket.go
index 6381a9a3d..819a66c1b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucket.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucket.go
@@ -325,7 +325,7 @@ func (c *Client) addOperationCreateBucketMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataConfiguration.go
index f93a509fb..e4840a63e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataConfiguration.go
@@ -160,7 +160,7 @@ func (c *Client) addOperationCreateBucketMetadataConfigurationMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataTableConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataTableConfiguration.go
index c38465a75..e601579a1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataTableConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataTableConfiguration.go
@@ -138,7 +138,7 @@ func (c *Client) addOperationCreateBucketMetadataTableConfigurationMiddlewares(s
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateMultipartUpload.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateMultipartUpload.go
index 702644208..93a2179ea 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateMultipartUpload.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateMultipartUpload.go
@@ -881,7 +881,7 @@ func (c *Client) addOperationCreateMultipartUploadMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateSession.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateSession.go
index 694f98333..d9187874a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateSession.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateSession.go
@@ -310,7 +310,7 @@ func (c *Client) addOperationCreateSessionMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucket.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucket.go
index b639d23b2..29ffdddc9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucket.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucket.go
@@ -136,7 +136,7 @@ func (c *Client) addOperationDeleteBucketMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go
index 0ddf400e3..dccc1e605 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go
@@ -111,7 +111,7 @@ func (c *Client) addOperationDeleteBucketAnalyticsConfigurationMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketCors.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketCors.go
index 62945f172..029410851 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketCors.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketCors.go
@@ -99,7 +99,7 @@ func (c *Client) addOperationDeleteBucketCorsMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketEncryption.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketEncryption.go
index 3cd191247..c1614a387 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketEncryption.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketEncryption.go
@@ -136,7 +136,7 @@ func (c *Client) addOperationDeleteBucketEncryptionMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go
index 4968c7fd7..ec05fd36c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go
@@ -118,7 +118,7 @@ func (c *Client) addOperationDeleteBucketIntelligentTieringConfigurationMiddlewa
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketInventoryConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketInventoryConfiguration.go
index f4eea1339..b1fb4f3e9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketInventoryConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketInventoryConfiguration.go
@@ -151,7 +151,7 @@ func (c *Client) addOperationDeleteBucketInventoryConfigurationMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketLifecycle.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketLifecycle.go
index a1d7dcf1d..11e5ae483 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketLifecycle.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketLifecycle.go
@@ -138,7 +138,7 @@ func (c *Client) addOperationDeleteBucketLifecycleMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataConfiguration.go
index 911bba610..24f733002 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataConfiguration.go
@@ -111,7 +111,7 @@ func (c *Client) addOperationDeleteBucketMetadataConfigurationMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataTableConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataTableConfiguration.go
index 5112e10fd..3538c25ff 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataTableConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataTableConfiguration.go
@@ -118,7 +118,7 @@ func (c *Client) addOperationDeleteBucketMetadataTableConfigurationMiddlewares(s
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetricsConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetricsConfiguration.go
index fd5d95df7..62465870b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetricsConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetricsConfiguration.go
@@ -153,7 +153,7 @@ func (c *Client) addOperationDeleteBucketMetricsConfigurationMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketOwnershipControls.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketOwnershipControls.go
index 409ec9ffd..9ce2dfb81 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketOwnershipControls.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketOwnershipControls.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationDeleteBucketOwnershipControlsMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketPolicy.go
index 9aec1cd97..2f0db4c33 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketPolicy.go
@@ -148,7 +148,7 @@ func (c *Client) addOperationDeleteBucketPolicyMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketReplication.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketReplication.go
index f3417556d..4fcee5c90 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketReplication.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketReplication.go
@@ -106,7 +106,7 @@ func (c *Client) addOperationDeleteBucketReplicationMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketTagging.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketTagging.go
index 765814a0b..90c13c0cf 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketTagging.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketTagging.go
@@ -100,7 +100,7 @@ func (c *Client) addOperationDeleteBucketTaggingMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketWebsite.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketWebsite.go
index 610a12c58..4840d4b48 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketWebsite.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketWebsite.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationDeleteBucketWebsiteMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObject.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObject.go
index c557564f2..3f98df3e1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObject.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObject.go
@@ -311,7 +311,7 @@ func (c *Client) addOperationDeleteObjectMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjectAnnotation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjectAnnotation.go
index 85a4f527c..80e56f948 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjectAnnotation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjectAnnotation.go
@@ -145,7 +145,7 @@ func (c *Client) addOperationDeleteObjectAnnotationMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjectTagging.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjectTagging.go
index ff36f6e64..0af5ec22b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjectTagging.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjectTagging.go
@@ -133,7 +133,7 @@ func (c *Client) addOperationDeleteObjectTaggingMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjects.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjects.go
index 0f22647a6..be399b528 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjects.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjects.go
@@ -320,7 +320,7 @@ func (c *Client) addOperationDeleteObjectsMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeletePublicAccessBlock.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeletePublicAccessBlock.go
index a5f5007f7..933807891 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeletePublicAccessBlock.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeletePublicAccessBlock.go
@@ -105,7 +105,7 @@ func (c *Client) addOperationDeletePublicAccessBlockMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAbac.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAbac.go
index 4ea5517e1..816a42e5b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAbac.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAbac.go
@@ -83,7 +83,7 @@ func (c *Client) addOperationGetBucketAbacMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAccelerateConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAccelerateConfiguration.go
index 22c753392..10a441ac5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAccelerateConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAccelerateConfiguration.go
@@ -135,7 +135,7 @@ func (c *Client) addOperationGetBucketAccelerateConfigurationMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAcl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAcl.go
index c58ae48e2..263a20a8b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAcl.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAcl.go
@@ -128,7 +128,7 @@ func (c *Client) addOperationGetBucketAclMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAnalyticsConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAnalyticsConfiguration.go
index f87963c8d..6fd8dffa9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAnalyticsConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAnalyticsConfiguration.go
@@ -117,7 +117,7 @@ func (c *Client) addOperationGetBucketAnalyticsConfigurationMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketCors.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketCors.go
index a0f524ca1..829c529b6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketCors.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketCors.go
@@ -127,7 +127,7 @@ func (c *Client) addOperationGetBucketCorsMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketEncryption.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketEncryption.go
index 4b3dd838f..f731a5c25 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketEncryption.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketEncryption.go
@@ -145,7 +145,7 @@ func (c *Client) addOperationGetBucketEncryptionMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go
index fb295136b..f57610e1a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go
@@ -123,7 +123,7 @@ func (c *Client) addOperationGetBucketIntelligentTieringConfigurationMiddlewares
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketInventoryConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketInventoryConfiguration.go
index e67dcbabd..5a94d6062 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketInventoryConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketInventoryConfiguration.go
@@ -152,7 +152,7 @@ func (c *Client) addOperationGetBucketInventoryConfigurationMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLifecycleConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLifecycleConfiguration.go
index e7fff55d0..74e373d77 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLifecycleConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLifecycleConfiguration.go
@@ -182,7 +182,7 @@ func (c *Client) addOperationGetBucketLifecycleConfigurationMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLocation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLocation.go
index e038c096f..16b83b6d5 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLocation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLocation.go
@@ -147,7 +147,7 @@ func (c *Client) addOperationGetBucketLocationMiddlewares(stack *middleware.Stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLogging.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLogging.go
index 51934fc1c..5af6416c1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLogging.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLogging.go
@@ -102,7 +102,7 @@ func (c *Client) addOperationGetBucketLoggingMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataConfiguration.go
index d2710840d..ac206da20 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataConfiguration.go
@@ -115,7 +115,7 @@ func (c *Client) addOperationGetBucketMetadataConfigurationMiddlewares(stack *mi
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataTableConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataTableConfiguration.go
index 17615ccfa..372f09b5c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataTableConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataTableConfiguration.go
@@ -123,7 +123,7 @@ func (c *Client) addOperationGetBucketMetadataTableConfigurationMiddlewares(stac
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetricsConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetricsConfiguration.go
index 7a72c62d9..b7de91161 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetricsConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetricsConfiguration.go
@@ -157,7 +157,7 @@ func (c *Client) addOperationGetBucketMetricsConfigurationMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketNotificationConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketNotificationConfiguration.go
index f1d6f4641..d12d5219c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketNotificationConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketNotificationConfiguration.go
@@ -142,7 +142,7 @@ func (c *Client) addOperationGetBucketNotificationConfigurationMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketOwnershipControls.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketOwnershipControls.go
index a90b6ff73..db68f3fd6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketOwnershipControls.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketOwnershipControls.go
@@ -112,7 +112,7 @@ func (c *Client) addOperationGetBucketOwnershipControlsMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicy.go
index 91a33aa4d..f8019e647 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicy.go
@@ -168,7 +168,7 @@ func (c *Client) addOperationGetBucketPolicyMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicyStatus.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicyStatus.go
index f28fe572d..51bc80d85 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicyStatus.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicyStatus.go
@@ -110,7 +110,7 @@ func (c *Client) addOperationGetBucketPolicyStatusMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketReplication.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketReplication.go
index a98539086..bf6818a44 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketReplication.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketReplication.go
@@ -117,7 +117,7 @@ func (c *Client) addOperationGetBucketReplicationMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketRequestPayment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketRequestPayment.go
index 051c44fd2..d6ce52cfb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketRequestPayment.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketRequestPayment.go
@@ -96,7 +96,7 @@ func (c *Client) addOperationGetBucketRequestPaymentMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketTagging.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketTagging.go
index 5e07b86e5..314059a01 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketTagging.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketTagging.go
@@ -109,7 +109,7 @@ func (c *Client) addOperationGetBucketTaggingMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketVersioning.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketVersioning.go
index 46b899420..0303e6322 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketVersioning.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketVersioning.go
@@ -111,7 +111,7 @@ func (c *Client) addOperationGetBucketVersioningMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketWebsite.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketWebsite.go
index 0cfbbf584..ff5197a89 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketWebsite.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketWebsite.go
@@ -115,7 +115,7 @@ func (c *Client) addOperationGetBucketWebsiteMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObject.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObject.go
index bd3cec5ca..87da87d94 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObject.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObject.go
@@ -724,7 +724,7 @@ func (c *Client) addOperationGetObjectMiddlewares(stack *middleware.Stack, optio
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAcl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAcl.go
index fe2adca84..61574e655 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAcl.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAcl.go
@@ -164,7 +164,7 @@ func (c *Client) addOperationGetObjectAclMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAnnotation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAnnotation.go
index 3a8a6e407..527998ce3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAnnotation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAnnotation.go
@@ -194,7 +194,7 @@ func (c *Client) addOperationGetObjectAnnotationMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAttributes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAttributes.go
index 82f676daf..168dfe475 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAttributes.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAttributes.go
@@ -390,7 +390,7 @@ func (c *Client) addOperationGetObjectAttributesMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLegalHold.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLegalHold.go
index 43a86b83c..9107bed82 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLegalHold.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLegalHold.go
@@ -129,7 +129,7 @@ func (c *Client) addOperationGetObjectLegalHoldMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLockConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLockConfiguration.go
index ad4681033..bee5a6c96 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLockConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLockConfiguration.go
@@ -109,7 +109,7 @@ func (c *Client) addOperationGetObjectLockConfigurationMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectRetention.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectRetention.go
index ff8dc9823..ac87e81ef 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectRetention.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectRetention.go
@@ -129,7 +129,7 @@ func (c *Client) addOperationGetObjectRetentionMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTagging.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTagging.go
index 72be7b6d5..cf2edcb68 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTagging.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTagging.go
@@ -158,7 +158,7 @@ func (c *Client) addOperationGetObjectTaggingMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTorrent.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTorrent.go
index 9cab751d4..a0c2d6be7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTorrent.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTorrent.go
@@ -128,7 +128,7 @@ func (c *Client) addOperationGetObjectTorrentMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetPublicAccessBlock.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetPublicAccessBlock.go
index b1d7141a3..a862e21b3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetPublicAccessBlock.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetPublicAccessBlock.go
@@ -123,7 +123,7 @@ func (c *Client) addOperationGetPublicAccessBlockMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadBucket.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadBucket.go
index ae19b1730..96ed06aaf 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadBucket.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadBucket.go
@@ -218,7 +218,7 @@ func (c *Client) addOperationHeadBucketMiddlewares(stack *middleware.Stack, opti
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadObject.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadObject.go
index 8226b20e8..804b6bb52 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadObject.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadObject.go
@@ -730,7 +730,7 @@ func (c *Client) addOperationHeadObjectMiddlewares(stack *middleware.Stack, opti
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketAnalyticsConfigurations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketAnalyticsConfigurations.go
index 19e878951..d47d2dbee 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketAnalyticsConfigurations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketAnalyticsConfigurations.go
@@ -137,7 +137,7 @@ func (c *Client) addOperationListBucketAnalyticsConfigurationsMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go
index 1b7a04ced..c3ddf6644 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go
@@ -136,7 +136,7 @@ func (c *Client) addOperationListBucketIntelligentTieringConfigurationsMiddlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketInventoryConfigurations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketInventoryConfigurations.go
index 2726f81c4..584ebb1bd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketInventoryConfigurations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketInventoryConfigurations.go
@@ -175,7 +175,7 @@ func (c *Client) addOperationListBucketInventoryConfigurationsMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketMetricsConfigurations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketMetricsConfigurations.go
index a56e78b3f..988bc50db 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketMetricsConfigurations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketMetricsConfigurations.go
@@ -180,7 +180,7 @@ func (c *Client) addOperationListBucketMetricsConfigurationsMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBuckets.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBuckets.go
index ddfbf70c5..8d6127293 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBuckets.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBuckets.go
@@ -137,7 +137,7 @@ func (c *Client) addOperationListBucketsMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListDirectoryBuckets.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListDirectoryBuckets.go
index 3016e411e..ad457f16a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListDirectoryBuckets.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListDirectoryBuckets.go
@@ -117,7 +117,7 @@ func (c *Client) addOperationListDirectoryBucketsMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListMultipartUploads.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListMultipartUploads.go
index d3723a55a..43e058114 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListMultipartUploads.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListMultipartUploads.go
@@ -377,7 +377,7 @@ func (c *Client) addOperationListMultipartUploadsMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectAnnotations.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectAnnotations.go
index b29c482e4..55804e03b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectAnnotations.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectAnnotations.go
@@ -161,7 +161,7 @@ func (c *Client) addOperationListObjectAnnotationsMiddlewares(stack *middleware.
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectVersions.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectVersions.go
index 0672cdb41..67ff24716 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectVersions.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectVersions.go
@@ -242,7 +242,7 @@ func (c *Client) addOperationListObjectVersionsMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjects.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjects.go
index d7a6934f2..2b85e912c 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjects.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjects.go
@@ -267,7 +267,7 @@ func (c *Client) addOperationListObjectsMiddlewares(stack *middleware.Stack, opt
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectsV2.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectsV2.go
index 41f30b62d..2a54784ed 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectsV2.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectsV2.go
@@ -362,7 +362,7 @@ func (c *Client) addOperationListObjectsV2Middlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListParts.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListParts.go
index 7d8245df3..4d79ff5d9 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListParts.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListParts.go
@@ -341,7 +341,7 @@ func (c *Client) addOperationListPartsMiddlewares(stack *middleware.Stack, optio
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAbac.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAbac.go
index b57f60fb7..13c1d881f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAbac.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAbac.go
@@ -110,7 +110,7 @@ func (c *Client) addOperationPutBucketAbacMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAccelerateConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAccelerateConfiguration.go
index 98148acc2..21dc7d131 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAccelerateConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAccelerateConfiguration.go
@@ -139,7 +139,7 @@ func (c *Client) addOperationPutBucketAccelerateConfigurationMiddlewares(stack *
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAcl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAcl.go
index d8f2d0cba..d0f0d58f6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAcl.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAcl.go
@@ -296,7 +296,7 @@ func (c *Client) addOperationPutBucketAclMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAnalyticsConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAnalyticsConfiguration.go
index e3af36769..57af06df4 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAnalyticsConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAnalyticsConfiguration.go
@@ -152,7 +152,7 @@ func (c *Client) addOperationPutBucketAnalyticsConfigurationMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketCors.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketCors.go
index 21f3a7c0c..af9805c5f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketCors.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketCors.go
@@ -161,7 +161,7 @@ func (c *Client) addOperationPutBucketCorsMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketEncryption.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketEncryption.go
index 51f6549fa..9919309d6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketEncryption.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketEncryption.go
@@ -239,7 +239,7 @@ func (c *Client) addOperationPutBucketEncryptionMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go
index 5afdad736..58895bd89 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go
@@ -144,7 +144,7 @@ func (c *Client) addOperationPutBucketIntelligentTieringConfigurationMiddlewares
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketInventoryConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketInventoryConfiguration.go
index 2cee244ea..5c7171083 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketInventoryConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketInventoryConfiguration.go
@@ -197,7 +197,7 @@ func (c *Client) addOperationPutBucketInventoryConfigurationMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLifecycleConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLifecycleConfiguration.go
index dae8b0b31..c567a7274 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLifecycleConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLifecycleConfiguration.go
@@ -248,7 +248,7 @@ func (c *Client) addOperationPutBucketLifecycleConfigurationMiddlewares(stack *m
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLogging.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLogging.go
index 60e4d857f..5f3fee52a 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLogging.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLogging.go
@@ -181,7 +181,7 @@ func (c *Client) addOperationPutBucketLoggingMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketMetricsConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketMetricsConfiguration.go
index b687ceef9..e75fd2261 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketMetricsConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketMetricsConfiguration.go
@@ -168,7 +168,7 @@ func (c *Client) addOperationPutBucketMetricsConfigurationMiddlewares(stack *mid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketNotificationConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketNotificationConfiguration.go
index 09a043a45..e0d0f9fa6 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketNotificationConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketNotificationConfiguration.go
@@ -144,7 +144,7 @@ func (c *Client) addOperationPutBucketNotificationConfigurationMiddlewares(stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketOwnershipControls.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketOwnershipControls.go
index 925950647..695cf8524 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketOwnershipControls.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketOwnershipControls.go
@@ -123,7 +123,7 @@ func (c *Client) addOperationPutBucketOwnershipControlsMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketPolicy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketPolicy.go
index 386b38550..aee764527 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketPolicy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketPolicy.go
@@ -221,7 +221,7 @@ func (c *Client) addOperationPutBucketPolicyMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketReplication.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketReplication.go
index 6f571519a..4856cdb06 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketReplication.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketReplication.go
@@ -179,7 +179,7 @@ func (c *Client) addOperationPutBucketReplicationMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketRequestPayment.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketRequestPayment.go
index b4996f5f9..317c76139 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketRequestPayment.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketRequestPayment.go
@@ -126,7 +126,7 @@ func (c *Client) addOperationPutBucketRequestPaymentMiddlewares(stack *middlewar
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketTagging.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketTagging.go
index a93a36fff..6432f0ccb 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketTagging.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketTagging.go
@@ -163,7 +163,7 @@ func (c *Client) addOperationPutBucketTaggingMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketVersioning.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketVersioning.go
index 47593c2ab..f293226e7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketVersioning.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketVersioning.go
@@ -169,7 +169,7 @@ func (c *Client) addOperationPutBucketVersioningMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketWebsite.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketWebsite.go
index 519ac938e..83579f6bd 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketWebsite.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketWebsite.go
@@ -181,7 +181,7 @@ func (c *Client) addOperationPutBucketWebsiteMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObject.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObject.go
index dfe4c960d..b7ed334ab 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObject.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObject.go
@@ -950,7 +950,7 @@ func (c *Client) addOperationPutObjectMiddlewares(stack *middleware.Stack, optio
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectAcl.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectAcl.go
index 0f2bd87ea..e81ff153b 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectAcl.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectAcl.go
@@ -351,7 +351,7 @@ func (c *Client) addOperationPutObjectAclMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectAnnotation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectAnnotation.go
index b43c49666..a48defc1f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectAnnotation.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectAnnotation.go
@@ -241,7 +241,7 @@ func (c *Client) addOperationPutObjectAnnotationMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectLegalHold.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectLegalHold.go
index a51ee9287..b07b419af 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectLegalHold.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectLegalHold.go
@@ -154,7 +154,7 @@ func (c *Client) addOperationPutObjectLegalHoldMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectLockConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectLockConfiguration.go
index 3089b9293..49d626436 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectLockConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectLockConfiguration.go
@@ -143,7 +143,7 @@ func (c *Client) addOperationPutObjectLockConfigurationMiddlewares(stack *middle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectRetention.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectRetention.go
index 2b814b66e..b1a3a10c1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectRetention.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectRetention.go
@@ -161,7 +161,7 @@ func (c *Client) addOperationPutObjectRetentionMiddlewares(stack *middleware.Sta
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectTagging.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectTagging.go
index 319dac212..8f7e612b3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectTagging.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutObjectTagging.go
@@ -187,7 +187,7 @@ func (c *Client) addOperationPutObjectTaggingMiddlewares(stack *middleware.Stack
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutPublicAccessBlock.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutPublicAccessBlock.go
index 518997b7d..692bd92f2 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutPublicAccessBlock.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutPublicAccessBlock.go
@@ -145,7 +145,7 @@ func (c *Client) addOperationPutPublicAccessBlockMiddlewares(stack *middleware.S
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_RenameObject.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_RenameObject.go
index 728859e69..b5ebe71ef 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_RenameObject.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_RenameObject.go
@@ -193,7 +193,7 @@ func (c *Client) addOperationRenameObjectMiddlewares(stack *middleware.Stack, op
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_RestoreObject.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_RestoreObject.go
index a2fccc027..3df8ccece 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_RestoreObject.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_RestoreObject.go
@@ -297,7 +297,7 @@ func (c *Client) addOperationRestoreObjectMiddlewares(stack *middleware.Stack, o
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_SelectObjectContent.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_SelectObjectContent.go
index fc8139b71..6078ecf48 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_SelectObjectContent.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_SelectObjectContent.go
@@ -255,7 +255,7 @@ func (c *Client) addOperationSelectObjectContentMiddlewares(stack *middleware.St
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = addPutBucketContextMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataAnnotationTableConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataAnnotationTableConfiguration.go
index f0eaaf49f..3ac6671d3 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataAnnotationTableConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataAnnotationTableConfiguration.go
@@ -114,7 +114,7 @@ func (c *Client) addOperationUpdateBucketMetadataAnnotationTableConfigurationMid
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataInventoryTableConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataInventoryTableConfiguration.go
index b0a15008c..3cf8d7f46 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataInventoryTableConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataInventoryTableConfiguration.go
@@ -137,7 +137,7 @@ func (c *Client) addOperationUpdateBucketMetadataInventoryTableConfigurationMidd
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataJournalTableConfiguration.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataJournalTableConfiguration.go
index 1c57981ca..29d204f45 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataJournalTableConfiguration.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateBucketMetadataJournalTableConfiguration.go
@@ -119,7 +119,7 @@ func (c *Client) addOperationUpdateBucketMetadataJournalTableConfigurationMiddle
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateObjectEncryption.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateObjectEncryption.go
index 1dacd0114..0aeb2704f 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateObjectEncryption.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UpdateObjectEncryption.go
@@ -263,7 +263,7 @@ func (c *Client) addOperationUpdateObjectEncryptionMiddlewares(stack *middleware
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UploadPart.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UploadPart.go
index 680be1fab..e928e12d1 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UploadPart.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UploadPart.go
@@ -552,7 +552,7 @@ func (c *Client) addOperationUploadPartMiddlewares(stack *middleware.Stack, opti
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UploadPartCopy.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UploadPartCopy.go
index e21619013..b0bab92a7 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UploadPartCopy.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_UploadPartCopy.go
@@ -533,7 +533,7 @@ func (c *Client) addOperationUploadPartCopyMiddlewares(stack *middleware.Stack,
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_WriteGetObjectResponse.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_WriteGetObjectResponse.go
index 08cfdeb67..8b7b6fc7e 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_WriteGetObjectResponse.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_WriteGetObjectResponse.go
@@ -420,7 +420,7 @@ func (c *Client) addOperationWriteGetObjectResponseMiddlewares(stack *middleware
if err = addContentSHA256Header(stack); err != nil {
return err
}
- if err = addRecordResponseTiming(stack); err != nil {
+ if err = addRecordResponseTiming(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/go_module_metadata.go
index bd9b369d2..0850d2afe 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/go_module_metadata.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/go_module_metadata.go
@@ -3,4 +3,4 @@
package s3
// goModuleVersion is the tagged release for this module
-const goModuleVersion = "1.105.2"
+const goModuleVersion = "1.106.2"
diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/options.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/options.go
index 7ad36bb1a..a5cadae52 100644
--- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/options.go
+++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/options.go
@@ -52,6 +52,11 @@ type Options struct {
// clients initial default settings.
DefaultsMode aws.DefaultsMode
+ // Disables SDK clock skew correction. When set, the SDK will not adjust request
+ // signing timestamps to compensate for clock drift between the client and the
+ // service.
+ DisableClockSkewCorrection bool
+
// Disables logging when the client skips output checksum validation due to lack
// of algorithm support.
DisableLogOutputChecksumValidationSkipped bool
diff --git a/vendor/github.com/aws/smithy-go/AGENTS.md b/vendor/github.com/aws/smithy-go/AGENTS.md
index e2a75b8ea..de1e3b2bb 100644
--- a/vendor/github.com/aws/smithy-go/AGENTS.md
+++ b/vendor/github.com/aws/smithy-go/AGENTS.md
@@ -68,8 +68,9 @@ cd codegen && ./gradlew build
cd codegen && ./gradlew publishToMavenLocal
```
-The codegen artifact version is fixed at `0.1.0` and is not published to
-Maven Central — you **MUST** `publishToMavenLocal`.
+The codegen artifact version is published to Maven Central and bumped on each
+release. For local development against unreleased codegen changes, use
+`publishToMavenLocal` and point consumers at `mavenLocal()`.
## Runtime architecture
diff --git a/vendor/github.com/aws/smithy-go/CHANGELOG.md b/vendor/github.com/aws/smithy-go/CHANGELOG.md
index e5844fa77..0140cf10e 100644
--- a/vendor/github.com/aws/smithy-go/CHANGELOG.md
+++ b/vendor/github.com/aws/smithy-go/CHANGELOG.md
@@ -1,3 +1,12 @@
+# Release (2026-07-27)
+
+## General Highlights
+* **Dependency Update**: Updated to the latest SDK module versions
+
+## Module Highlights
+* `github.com/aws/smithy-go`: v1.27.5
+ * **Bug Fix**: Fix a performance issue in awsQuery with large response payloads.
+
# Release (2026-07-16)
## General Highlights
diff --git a/vendor/github.com/aws/smithy-go/README.md b/vendor/github.com/aws/smithy-go/README.md
index c5e14564b..ac5a0a613 100644
--- a/vendor/github.com/aws/smithy-go/README.md
+++ b/vendor/github.com/aws/smithy-go/README.md
@@ -11,8 +11,8 @@ The smithy-go runtime requires a minimum version of Go 1.24.
## :warning: Client codegen is unstable
The client code generator in this repository powers the aws-sdk-go-v2.
-Arbitrary client generation, while technically possible, is in an early stage
-of development:
+Arbitrary client generation, while possible, is in an early stage of
+development:
* Generated clients are missing certain features that were originally
implemented SDK-side (e.g. retries)
@@ -32,8 +32,6 @@ This repository implements the following Smithy build plugins:
| `go-server-codegen` | `software.amazon.smithy.go:smithy-go-codegen` | Implements Go server code generation for Smithy models. |
| `go-shape-codegen` | `software.amazon.smithy.go:smithy-go-codegen` | Implements Go shape code generation (types only) for Smithy models. |
-**NOTE: Build plugins are not currently published to mavenCentral. You must publish to mavenLocal to make the build plugins visible to the Smithy CLI. The artifact version is currently fixed at 0.1.0.**
-
## `go-codegen`
### Configuration
@@ -79,7 +77,7 @@ example created from `smithy init`:
],
"maven": {
"dependencies": [
- "software.amazon.smithy.go:smithy-go-codegen:0.1.0"
+ "software.amazon.smithy.go:smithy-go-codegen:[0.1.0,2.0)"
]
},
"plugins": {
diff --git a/vendor/github.com/aws/smithy-go/go_module_metadata.go b/vendor/github.com/aws/smithy-go/go_module_metadata.go
index 65d2b6ded..4277e6869 100644
--- a/vendor/github.com/aws/smithy-go/go_module_metadata.go
+++ b/vendor/github.com/aws/smithy-go/go_module_metadata.go
@@ -3,4 +3,4 @@
package smithy
// goModuleVersion is the tagged release for this module
-const goModuleVersion = "1.27.4"
+const goModuleVersion = "1.27.5"
diff --git a/vendor/github.com/evertras/bubble-table/table/calc.go b/vendor/github.com/evertras/bubble-table/table/calc.go
index 21b7a7d7f..3f0db046b 100644
--- a/vendor/github.com/evertras/bubble-table/table/calc.go
+++ b/vendor/github.com/evertras/bubble-table/table/calc.go
@@ -1,8 +1,5 @@
package table
-// Keep compatibility with Go 1.21 by re-declaring min.
-//
-//nolint:predeclared
func min(x, y int) int {
if x < y {
return x
@@ -11,9 +8,6 @@ func min(x, y int) int {
return y
}
-// Keep compatibility with Go 1.21 by re-declaring max.
-//
-//nolint:predeclared
func max(x, y int) int {
if x > y {
return x
diff --git a/vendor/github.com/evertras/bubble-table/table/cell.go b/vendor/github.com/evertras/bubble-table/table/cell.go
index ac9e5c40d..55156e76f 100644
--- a/vendor/github.com/evertras/bubble-table/table/cell.go
+++ b/vendor/github.com/evertras/bubble-table/table/cell.go
@@ -8,53 +8,12 @@ import "github.com/charmbracelet/lipgloss"
// limited to colors, font style, and alignments - spacing style such as margin
// will break the table format.
type StyledCell struct {
- // Data is the content of the cell.
- Data any
-
- // Style is the specific style to apply. This is ignored if StyleFunc is not nil.
+ Data interface{}
Style lipgloss.Style
-
- // StyleFunc is a function that takes the row/column of the cell and
- // returns a lipgloss.Style allowing for dynamic styling based on the cell's
- // content or position. Overrides Style if set.
- StyleFunc StyledCellFunc
-}
-
-// StyledCellFuncInput is the input to the StyledCellFunc. Sent as a struct
-// to allow for future additions without breaking changes.
-type StyledCellFuncInput struct {
- // Data is the data in the cell.
- Data any
-
- // Column is the column that the cell belongs to.
- Column Column
-
- // Row is the row that the cell belongs to.
- Row Row
-
- // GlobalMetadata is the global table metadata that's been set by WithGlobalMetadata
- GlobalMetadata map[string]any
}
-// StyledCellFunc is a function that takes various information about the cell and
-// returns a lipgloss.Style allowing for easier dynamic styling based on the cell's
-// content or position.
-type StyledCellFunc = func(input StyledCellFuncInput) lipgloss.Style
-
// NewStyledCell creates an entry that can be set in the row data and show as
// styled with the given style.
-func NewStyledCell(data any, style lipgloss.Style) StyledCell {
- return StyledCell{
- Data: data,
- Style: style,
- }
-}
-
-// NewStyledCellWithStyleFunc creates an entry that can be set in the row data and show as
-// styled with the given style function.
-func NewStyledCellWithStyleFunc(data any, styleFunc StyledCellFunc) StyledCell {
- return StyledCell{
- Data: data,
- StyleFunc: styleFunc,
- }
+func NewStyledCell(data interface{}, style lipgloss.Style) StyledCell {
+ return StyledCell{data, style}
}
diff --git a/vendor/github.com/evertras/bubble-table/table/column.go b/vendor/github.com/evertras/bubble-table/table/column.go
index 447147557..9a55fddb2 100644
--- a/vendor/github.com/evertras/bubble-table/table/column.go
+++ b/vendor/github.com/evertras/bubble-table/table/column.go
@@ -64,7 +64,7 @@ func (c Column) WithFiltered(filterable bool) Column {
// If not set, the default is "%v" for all data types. Intended mainly for
// numeric formatting.
//
-// Since data is of the any type, make sure that all data in the column
+// Since data is of the interface{} type, make sure that all data in the column
// is of the expected type or the format may fail. For example, hardcoding '3'
// instead of '3.0' and using '%.2f' will fail because '3' is an integer.
func (c Column) WithFormatString(fmtString string) Column {
diff --git a/vendor/github.com/evertras/bubble-table/table/data.go b/vendor/github.com/evertras/bubble-table/table/data.go
index 901a4f4be..73d558a04 100644
--- a/vendor/github.com/evertras/bubble-table/table/data.go
+++ b/vendor/github.com/evertras/bubble-table/table/data.go
@@ -5,7 +5,7 @@ import "time"
// This is just a bunch of data type checks, so... no linting here
//
//nolint:cyclop
-func asInt(data any) (int64, bool) {
+func asInt(data interface{}) (int64, bool) {
switch val := data.(type) {
case int:
return int64(val), true
@@ -23,7 +23,6 @@ func asInt(data any) (int64, bool) {
return val, true
case uint:
- // #nosec: G115
return int64(val), true
case uint8:
@@ -36,7 +35,6 @@ func asInt(data any) (int64, bool) {
return int64(val), true
case uint64:
- // #nosec: G115
return int64(val), true
case time.Duration:
@@ -49,7 +47,7 @@ func asInt(data any) (int64, bool) {
return 0, false
}
-func asNumber(data any) (float64, bool) {
+func asNumber(data interface{}) (float64, bool) {
switch val := data.(type) {
case float32:
return float64(val), true
diff --git a/vendor/github.com/evertras/bubble-table/table/events.go b/vendor/github.com/evertras/bubble-table/table/events.go
index b519623dc..4b5e2b09d 100644
--- a/vendor/github.com/evertras/bubble-table/table/events.go
+++ b/vendor/github.com/evertras/bubble-table/table/events.go
@@ -3,7 +3,7 @@ package table
// UserEvent is some state change that has occurred due to user input. These will
// ONLY be generated when a user has interacted directly with the table. These
// will NOT be generated when code programmatically changes values in the table.
-type UserEvent any
+type UserEvent interface{}
func (m *Model) appendUserEvent(e UserEvent) {
m.lastUpdateUserEvents = append(m.lastUpdateUserEvents, e)
diff --git a/vendor/github.com/evertras/bubble-table/table/filter.go b/vendor/github.com/evertras/bubble-table/table/filter.go
index 765e5b33e..0ba233b86 100644
--- a/vendor/github.com/evertras/bubble-table/table/filter.go
+++ b/vendor/github.com/evertras/bubble-table/table/filter.go
@@ -5,26 +5,6 @@ import (
"strings"
)
-// FilterFuncInput is the input to a FilterFunc. It's a struct so we can add more things later
-// without breaking compatibility.
-type FilterFuncInput struct {
- // Columns is a list of the columns of the table
- Columns []Column
-
- // Row is the row that's being considered for filtering
- Row Row
-
- // GlobalMetadata is an arbitrary set of metadata from the table set by WithGlobalMetadata
- GlobalMetadata map[string]any
-
- // Filter is the filter string input to consider
- Filter string
-}
-
-// FilterFunc takes a FilterFuncInput and returns true if the row should be visible,
-// or false if the row should be hidden.
-type FilterFunc func(FilterFuncInput) bool
-
func (m Model) getFilteredRows(rows []Row) []Row {
filterInputValue := m.filterTextInput.Value()
if !m.filtered || filterInputValue == "" {
@@ -34,20 +14,7 @@ func (m Model) getFilteredRows(rows []Row) []Row {
filteredRows := make([]Row, 0)
for _, row := range rows {
- var availableFilterFunc FilterFunc
-
- if m.filterFunc != nil {
- availableFilterFunc = m.filterFunc
- } else {
- availableFilterFunc = filterFuncContains
- }
-
- if availableFilterFunc(FilterFuncInput{
- Columns: m.columns,
- Row: row,
- Filter: filterInputValue,
- GlobalMetadata: m.metadata,
- }) {
+ if isRowMatched(m.columns, row, filterInputValue) {
filteredRows = append(filteredRows, row)
}
}
@@ -55,25 +22,23 @@ func (m Model) getFilteredRows(rows []Row) []Row {
return filteredRows
}
-// filterFuncContains returns a filterFunc that performs case-insensitive
-// "contains" matching over all filterable columns in a row.
-func filterFuncContains(input FilterFuncInput) bool {
- if input.Filter == "" {
+func isRowMatched(columns []Column, row Row, filter string) bool {
+ if filter == "" {
return true
}
checkedAny := false
- filterLower := strings.ToLower(input.Filter)
+ filterLower := strings.ToLower(filter)
- for _, column := range input.Columns {
+ for _, column := range columns {
if !column.filterable {
continue
}
checkedAny = true
- data, ok := input.Row.Data[column.key]
+ data, ok := row.Data[column.key]
if !ok {
continue
@@ -104,61 +69,3 @@ func filterFuncContains(input FilterFuncInput) bool {
return !checkedAny
}
-
-// filterFuncFuzzy returns a filterFunc that performs case-insensitive fuzzy
-// matching (subsequence) over the concatenation of all filterable column values.
-func filterFuncFuzzy(input FilterFuncInput) bool {
- filter := strings.TrimSpace(input.Filter)
- if filter == "" {
- return true
- }
-
- var builder strings.Builder
- for _, col := range input.Columns {
- if !col.filterable {
- continue
- }
- value, ok := input.Row.Data[col.key]
- if !ok {
- continue
- }
- if sc, ok := value.(StyledCell); ok {
- value = sc.Data
- }
- builder.WriteString(fmt.Sprint(value)) // uses Stringer if implemented
- builder.WriteByte(' ')
- }
-
- haystack := strings.ToLower(builder.String())
- if haystack == "" {
- return false
- }
-
- for _, token := range strings.Fields(strings.ToLower(filter)) {
- if !fuzzySubsequenceMatch(haystack, token) {
- return false
- }
- }
-
- return true
-}
-
-// fuzzySubsequenceMatch returns true if all runes in needle appear in order
-// within haystack (not necessarily contiguously). Case must be normalized by caller.
-func fuzzySubsequenceMatch(haystack, needle string) bool {
- if needle == "" {
- return true
- }
- haystackIndex, needleIndex := 0, 0
- haystackRunes := []rune(haystack)
- needleRunes := []rune(needle)
-
- for haystackIndex < len(haystackRunes) && needleIndex < len(needleRunes) {
- if haystackRunes[haystackIndex] == needleRunes[needleIndex] {
- needleIndex++
- }
- haystackIndex++
- }
-
- return needleIndex == len(needleRunes)
-}
diff --git a/vendor/github.com/evertras/bubble-table/table/model.go b/vendor/github.com/evertras/bubble-table/table/model.go
index 33e1458cf..d39b6604c 100644
--- a/vendor/github.com/evertras/bubble-table/table/model.go
+++ b/vendor/github.com/evertras/bubble-table/table/model.go
@@ -18,16 +18,15 @@ var (
// Model is the main table model. Create using New().
type Model struct {
// Data
- columns []Column
- rows []Row
- metadata map[string]any
+ columns []Column
+ rows []Row
// Caches for optimizations
visibleRowCacheUpdated bool
visibleRowCache []Row
// Shown when data is missing from a row
- missingDataIndicator any
+ missingDataIndicator interface{}
// Interaction
focused bool
@@ -79,7 +78,6 @@ type Model struct {
// Filter
filtered bool
filterTextInput textinput.Model
- filterFunc FilterFunc
// For flex columns
targetTotalWidth int
@@ -117,7 +115,6 @@ func New(columns []Column) Model {
filterInput.Prompt = "/"
model := Model{
columns: make([]Column, len(columns)),
- metadata: make(map[string]any),
highlightStyle: defaultHighlightStyle.Copy(),
border: borderDefault,
headerVisible: true,
@@ -128,7 +125,6 @@ func New(columns []Column) Model {
unselectedText: "[ ]",
filterTextInput: filterInput,
- filterFunc: filterFuncContains,
baseStyle: lipgloss.NewStyle().Align(lipgloss.Right),
paginationWrapping: true,
diff --git a/vendor/github.com/evertras/bubble-table/table/options.go b/vendor/github.com/evertras/bubble-table/table/options.go
index c35fc1e79..95119549f 100644
--- a/vendor/github.com/evertras/bubble-table/table/options.go
+++ b/vendor/github.com/evertras/bubble-table/table/options.go
@@ -364,23 +364,6 @@ func (m Model) WithFilterInputValue(value string) Model {
return m
}
-// WithFilterFunc adds a filter function to the model. If the function returns
-// true, the row will be included in the filtered results. If the function
-// is nil, the function won't be used and instead the default filtering will be applied,
-// if any.
-func (m Model) WithFilterFunc(shouldInclude FilterFunc) Model {
- m.filterFunc = shouldInclude
-
- m.visibleRowCacheUpdated = false
-
- return m
-}
-
-// WithFuzzyFilter enables fuzzy filtering for the table.
-func (m Model) WithFuzzyFilter() Model {
- return m.WithFilterFunc(filterFuncFuzzy)
-}
-
// WithFooterVisibility sets the visibility of the footer.
func (m Model) WithFooterVisibility(visibility bool) Model {
m.footerVisible = visibility
@@ -499,12 +482,3 @@ func (m Model) WithAdditionalFullHelpKeys(keys []key.Binding) Model {
return m
}
-
-// WithGlobalMetadata applies the given metadata to the table. This metadata is passed to
-// some functions in FilterFuncInput and StyleFuncInput to enable more advanced decisions,
-// such as setting some global theme variable to reference, etc. Has no effect otherwise.
-func (m Model) WithGlobalMetadata(metadata map[string]any) Model {
- m.metadata = metadata
-
- return m
-}
diff --git a/vendor/github.com/evertras/bubble-table/table/row.go b/vendor/github.com/evertras/bubble-table/table/row.go
index b9a5d6bbd..2ba451973 100644
--- a/vendor/github.com/evertras/bubble-table/table/row.go
+++ b/vendor/github.com/evertras/bubble-table/table/row.go
@@ -8,12 +8,12 @@ import (
"github.com/muesli/reflow/wordwrap"
)
-// RowData is a map of string column keys to arbitrary data. Data with a key
+// RowData is a map of string column keys to interface{} data. Data with a key
// that matches a column key will be displayed. Data with a key that does not
// match a column key will not be displayed, but will remain attached to the Row.
// This can be useful for attaching hidden metadata for future reference when
// retrieving rows.
-type RowData map[string]any
+type RowData map[string]interface{}
// Row represents a row in the table with some data keyed to the table columns>
// Can have a style applied to it such as color/bold. Create using NewRow().
@@ -32,7 +32,7 @@ var lastRowID uint32 = 1
// NewRow creates a new row and copies the given row data.
func NewRow(data RowData) Row {
row := Row{
- Data: make(map[string]any),
+ Data: make(map[string]interface{}),
id: lastRowID,
}
@@ -53,28 +53,27 @@ func (r Row) WithStyle(style lipgloss.Style) Row {
return r
}
-//nolint:cyclop,funlen // Breaking this up will be more complicated than it's worth for now
+//nolint:nestif,cyclop // This has many ifs, but they're short
func (m Model) renderRowColumnData(row Row, column Column, rowStyle lipgloss.Style, borderStyle lipgloss.Style) string {
cellStyle := rowStyle.Copy().Inherit(column.style).Inherit(m.baseStyle)
var str string
- switch column.key {
- case columnKeySelect:
+ if column.key == columnKeySelect {
if row.selected {
str = m.selectedText
} else {
str = m.unselectedText
}
- case columnKeyOverflowRight:
+ } else if column.key == columnKeyOverflowRight {
cellStyle = cellStyle.Align(lipgloss.Right)
str = ">"
- case columnKeyOverflowLeft:
+ } else if column.key == columnKeyOverflowLeft {
str = "<"
- default:
+ } else {
fmtString := "%v"
- var data any
+ var data interface{}
if entry, exists := row.Data[column.key]; exists {
data = entry
@@ -91,17 +90,7 @@ func (m Model) renderRowColumnData(row Row, column Column, rowStyle lipgloss.Sty
switch entry := data.(type) {
case StyledCell:
str = fmt.Sprintf(fmtString, entry.Data)
-
- if entry.StyleFunc != nil {
- cellStyle = entry.StyleFunc(StyledCellFuncInput{
- Column: column,
- Data: entry.Data,
- Row: row,
- GlobalMetadata: m.metadata,
- }).Copy().Inherit(cellStyle)
- } else {
- cellStyle = entry.Style.Copy().Inherit(cellStyle)
- }
+ cellStyle = entry.Style.Copy().Inherit(cellStyle)
default:
str = fmt.Sprintf(fmtString, entry)
}
@@ -148,7 +137,7 @@ func (m Model) renderBlankRow(last bool) string {
// This is long and could use some refactoring in the future, but not quite sure
// how to pick it apart yet.
//
-//nolint:funlen, cyclop
+//nolint:funlen, cyclop, gocognit
func (m Model) renderRowData(row Row, rowStyle lipgloss.Style, last bool) string {
numColumns := len(m.columns)
diff --git a/vendor/github.com/evertras/bubble-table/table/strlimit.go b/vendor/github.com/evertras/bubble-table/table/strlimit.go
index 9889d8316..1b656625e 100644
--- a/vendor/github.com/evertras/bubble-table/table/strlimit.go
+++ b/vendor/github.com/evertras/bubble-table/table/strlimit.go
@@ -18,7 +18,6 @@ func limitStr(str string, maxLen int) string {
}
if ansi.PrintableRuneWidth(str) > maxLen {
- // #nosec: G115
return truncate.StringWithTail(str, uint(maxLen), "…")
}
diff --git a/vendor/github.com/evertras/bubble-table/table/view.go b/vendor/github.com/evertras/bubble-table/table/view.go
index 7be99c233..5ef545cb9 100644
--- a/vendor/github.com/evertras/bubble-table/table/view.go
+++ b/vendor/github.com/evertras/bubble-table/table/view.go
@@ -30,7 +30,7 @@ func (m Model) View() string {
if m.headerVisible {
rowStrs = append(rowStrs, headers)
} else if numRows > 0 || padding > 0 {
- //nolint: mnd // This is just getting the first newlined substring
+ //nolint: gomnd // This is just getting the first newlined substring
split := strings.SplitN(headers, "\n", 2)
rowStrs = append(rowStrs, split[0])
}
diff --git a/vendor/github.com/go-openapi/runtime/form.go b/vendor/github.com/go-openapi/runtime/form.go
index b4b36f147..213757f1f 100644
--- a/vendor/github.com/go-openapi/runtime/form.go
+++ b/vendor/github.com/go-openapi/runtime/form.go
@@ -71,11 +71,16 @@ type FileBinder func(file multipart.File, header *multipart.FileHeader) error
// behaviour) be added without breaking the signature.
type BindOption func(*bindConfig)
-type bindConfig struct {
- maxParseMemory int64
+type multipartFormLimits struct {
maxBody int64
maxFiles int
maxFilenameLen int
+}
+
+type bindConfig struct {
+ multipartFormLimits
+
+ maxParseMemory int64
files []formFileSpec
}
@@ -198,7 +203,9 @@ func BindFormFile(name string, required bool, bind FileBinder) BindOption {
// it directly as a filesystem path.
func BindForm(r *http.Request, opts ...BindOption) (fatal bool, err error) {
cfg := bindConfig{
- maxFilenameLen: DefaultMaxUploadFilenameLength,
+ multipartFormLimits: multipartFormLimits{
+ maxFilenameLen: DefaultMaxUploadFilenameLength,
+ },
}
for _, opt := range opts {
opt(&cfg)
diff --git a/vendor/github.com/go-openapi/runtime/multipart_stream.go b/vendor/github.com/go-openapi/runtime/multipart_stream.go
new file mode 100644
index 000000000..76e1bf460
--- /dev/null
+++ b/vendor/github.com/go-openapi/runtime/multipart_stream.go
@@ -0,0 +1,556 @@
+// SPDX-FileCopyrightText: Copyright 2015-2026 go-swagger maintainers
+// SPDX-License-Identifier: Apache-2.0
+
+package runtime
+
+import (
+ "context"
+ stderrors "errors"
+ "fmt"
+ "io"
+ "mime"
+ "mime/multipart"
+ "net/http"
+ "net/textproto"
+ "net/url"
+
+ "github.com/go-openapi/errors"
+)
+
+// MultipartFormStreamOption configures [NewMultipartFormStream].
+type MultipartFormStreamOption func(*multipartFormStreamConfig)
+
+const defaultMultipartFormStreamMaxParts = 1000
+
+type multipartFormStreamConfig struct {
+ multipartFormLimits
+
+ maxParts int
+}
+
+// MultipartFormStreamMaxBody caps the total number of request-body bytes read
+// by a [MultipartFormStream].
+//
+// A value of 0 applies [DefaultMaxUploadBodySize]. A negative value disables
+// the cap when the caller has already limited the request body upstream.
+func MultipartFormStreamMaxBody(n int64) MultipartFormStreamOption {
+ return func(c *multipartFormStreamConfig) { c.maxBody = n }
+}
+
+// MultipartFormStreamMaxFiles rejects a multipart stream after more than n
+// file parts have been encountered. A value of 0 means no file-count cap.
+func MultipartFormStreamMaxFiles(n int) MultipartFormStreamOption {
+ return func(c *multipartFormStreamConfig) { c.maxFiles = n }
+}
+
+// MultipartFormStreamMaxParts rejects a multipart stream after more than n
+// total parts have been encountered. The default is 1000, matching
+// [multipart.Reader.ReadForm]. A value of 0 disables the limit.
+func MultipartFormStreamMaxParts(n int) MultipartFormStreamOption {
+ return func(c *multipartFormStreamConfig) { c.maxParts = n }
+}
+
+// MultipartFormStreamMaxFilenameLen rejects file parts whose filename exceeds
+// n bytes. A value of 0 disables the limit. When this option is not supplied,
+// [DefaultMaxUploadFilenameLength] is used.
+func MultipartFormStreamMaxFilenameLen(n int) MultipartFormStreamOption {
+ return func(c *multipartFormStreamConfig) { c.maxFilenameLen = n }
+}
+
+// StreamedFile exposes a file part directly from the multipart request body.
+//
+// Reads block until bytes arrive from the client. StreamedFile is not seekable
+// and is not safe for concurrent use. Its form name, filename and MIME headers
+// are available before the payload is consumed. The underlying [multipart.Part]
+// remains private so callers cannot bypass Close and its error-preserving drain
+// semantics; Header exposes the part metadata without exposing that lifecycle.
+//
+// Closing a StreamedFile drains only the unread remainder of that file part.
+// Close may therefore block while the client is still uploading the current
+// part. The owning [MultipartFormStream] may then advance to the next part.
+type StreamedFile struct {
+ FieldName string
+ Filename string
+ Header textproto.MIMEHeader
+ part *multipart.Part
+ closeErr error
+}
+
+// MultipartFileInfo describes a file part discovered by [MultipartFormStream].
+//
+// The payload reader is intentionally omitted. File parts remain sequential and
+// are consumed through [MultipartFormStream.NextFile]. Header is a snapshot of
+// the client-supplied MIME headers and must be treated as untrusted input.
+type MultipartFileInfo struct {
+ FieldName string
+ Filename string
+ Header textproto.MIMEHeader
+}
+
+// Read reads file payload bytes directly from the request body.
+func (f *StreamedFile) Read(p []byte) (int, error) {
+ if f == nil || f.part == nil {
+ return 0, io.ErrClosedPipe
+ }
+
+ return f.part.Read(p)
+}
+
+// Close discards the unread remainder of this file part.
+//
+// Close does not close the underlying HTTP request body and does not consume
+// subsequent multipart parts. After Close returns successfully, the parent
+// MultipartFormStream may advance to the next part.
+//
+// Any error encountered while discarding the unread payload is returned.
+func (f *StreamedFile) Close() error {
+ if f == nil {
+ return nil
+ }
+ if f.part == nil {
+ return f.closeErr
+ }
+
+ part := f.part
+ f.part = nil
+ // multipart.Part.Close drains with io.Copy but intentionally discards the
+ // resulting error, so drain explicitly to preserve error propagation.
+ _, f.closeErr = io.Copy(io.Discard, part)
+
+ return f.closeErr
+}
+
+// MultipartFormStream reads multipart/form-data sequentially without parsing
+// the complete request body before exposing file payloads.
+//
+// [MultipartFormStream.NextFile] consumes ordinary form fields until it reaches
+// the next file part. Fields are appended to request.PostForm and request.Form
+// as they are encountered. Consequently, fields after a file become visible
+// only after the caller consumes or closes that file and advances the stream.
+//
+// A stream and its returned files are not safe for concurrent use. There is at
+// most one active file part. Calling [MultipartFormStream.NextFile] closes and
+// drains an unread active file before advancing, and may therefore block until
+// the current part finishes arriving. No background goroutines are started.
+//
+// The caller owns the stream. Call [MultipartFormStream.Drain] to consume the
+// remaining body, collect trailing fields and allow HTTP connection reuse when
+// possible. Call [MultipartFormStream.Close] to stop multipart processing
+// without explicitly draining the remaining parts.
+//
+// [MultipartFormStream.Fields] and [MultipartFormStream.Files] expose snapshots
+// of the multipart fields and file metadata discovered so far. They never read
+// ahead: fields or files after the active file become visible only after the
+// stream advances.
+type MultipartFormStream struct {
+ multipartFormStreamConfig
+
+ request *http.Request
+ reader *multipart.Reader
+ current *StreamedFile
+
+ fields url.Values
+ fileInfos []MultipartFileInfo
+ parts int
+ closed bool
+ done bool
+}
+
+// NewMultipartFormStream creates a sequential multipart/form-data stream over
+// r.Body.
+//
+// For POST, PUT and PATCH requests, the constructor accepts only
+// multipart/form-data, validates that a non-empty boundary is present, but does
+// not consume multipart parts. For other methods, it returns an empty stream
+// whose NextFile method reports io.EOF without reading the request body.
+//
+// The constructor initializes request.Form and request.PostForm in the same way
+// as [http.Request.ParseForm], then populates multipart values incrementally as
+// [MultipartFormStream.NextFile] advances.
+//
+// For POST, PUT and PATCH requests, NewMultipartFormStream marks the request
+// as handled by MultipartReader. Callers must not subsequently call
+// [http.Request.ParseMultipartForm] or [BindForm] for the same request.
+//
+// File payloads are exposed directly from the request body and are not buffered
+// in memory or temporary files. Ordinary form values are read into memory as
+// they are encountered. Parts are processed in wire order.
+//
+// At most one StreamedFile may be active at a time. Calling
+// [MultipartFormStream.NextFile] automatically closes and drains an unread
+// current file before advancing. No background goroutines are started.
+//
+// MultipartFormStream is not safe for concurrent use.
+//
+// File names and MIME headers are supplied by the client and remain untrusted.
+func NewMultipartFormStream(r *http.Request, opts ...MultipartFormStreamOption) (*MultipartFormStream, error) {
+ cfg := multipartFormStreamConfig{
+ multipartFormLimits: multipartFormLimits{
+ maxFilenameLen: DefaultMaxUploadFilenameLength,
+ },
+ maxParts: defaultMultipartFormStreamMaxParts,
+ }
+ for _, opt := range opts {
+ opt(&cfg)
+ }
+
+ if r == nil {
+ return nil, errors.NewParseError("body", "formData", "", stderrors.New("nil request"))
+ }
+
+ if !supportsMultipartFormStream(r.Method) {
+ if err := r.ParseForm(); err != nil {
+ return nil, errors.NewParseError("body", "formData", "", err)
+ }
+
+ return &MultipartFormStream{
+ request: r,
+ multipartFormStreamConfig: cfg,
+ fields: make(url.Values),
+ done: true,
+ }, nil
+ }
+
+ if r.Body == nil {
+ return nil, errors.NewParseError("body", "formData", "", stderrors.New("nil request body"))
+ }
+
+ contentType := r.Header.Get(HeaderContentType)
+ mediaType, params, err := mime.ParseMediaType(contentType)
+ if err != nil {
+ return nil, errors.NewParseError(HeaderContentType, "header", contentType, err)
+ }
+ if mediaType != MultipartFormMime {
+ return nil, errors.NewParseError(HeaderContentType, "header", mediaType, http.ErrNotMultipart)
+ }
+ if params["boundary"] == "" {
+ return nil, errors.NewParseError(HeaderContentType, "header", contentType, http.ErrMissingBoundary)
+ }
+ if err = r.ParseForm(); err != nil {
+ return nil, errors.NewParseError("body", "formData", "", err)
+ }
+
+ body := r.Body
+ if cfg.maxBody >= 0 {
+ maxBody := cfg.maxBody
+ if maxBody == 0 {
+ maxBody = DefaultMaxUploadBodySize
+ }
+ body = http.MaxBytesReader(nil, body, maxBody)
+ }
+ body = &contextReadCloser{ctx: r.Context(), ReadCloser: body}
+ r.Body = body
+
+ reader, err := r.MultipartReader()
+ if err != nil {
+ return nil, errors.NewParseError("body", "formData", "", err)
+ }
+
+ return &MultipartFormStream{
+ request: r,
+ reader: reader,
+ multipartFormStreamConfig: cfg,
+ fields: make(url.Values),
+ }, nil
+}
+
+// Fields returns a snapshot of ordinary multipart form fields discovered so far.
+//
+// URL query values are not included. Repeated multipart fields preserve their
+// encounter order. Fields after the active file are not visible until that file
+// is consumed or closed and the stream advances. Mutating the returned values
+// does not affect the stream or the request.
+func (s *MultipartFormStream) Fields() url.Values {
+ if s == nil {
+ return nil
+ }
+
+ return cloneMultipartValues(s.fields)
+}
+
+// Files returns snapshots of file metadata discovered so far in wire order.
+//
+// The currently active file is included as soon as NextFile returns it. Payload
+// readers are not retained in the index. Mutating the returned slice or MIME
+// headers does not affect the stream.
+func (s *MultipartFormStream) Files() []MultipartFileInfo {
+ if s == nil {
+ return nil
+ }
+
+ files := make([]MultipartFileInfo, len(s.fileInfos))
+ for i, file := range s.fileInfos {
+ files[i] = MultipartFileInfo{
+ FieldName: file.FieldName,
+ Filename: file.Filename,
+ Header: cloneMultipartMIMEHeader(file.Header),
+ }
+ }
+
+ return files
+}
+
+// NextFile advances through the multipart body and returns the next file part.
+// Ordinary form fields encountered before that file are added to request.Form
+// and request.PostForm.
+//
+// If the previously returned file is still open, NextFile closes and drains it
+// before advancing. This may block while the client is still uploading that
+// part. Any drain error is returned and the stream is aborted.
+//
+// NextFile returns io.EOF when no file parts remain. At that point all trailing
+// ordinary fields have been collected.
+func (s *MultipartFormStream) NextFile() (*StreamedFile, error) {
+ if err := s.prepareNextFile(); err != nil {
+ return nil, err
+ }
+
+ return s.readNextFile()
+}
+
+// Drain consumes the rest of the multipart body.
+//
+// Unread file payloads are discarded. Non-file form fields encountered while
+// draining are collected in the request form values.
+//
+// Drain closes the underlying request body after reaching EOF. Subsequent calls
+// to NextFile return io.EOF. Drain returns any multipart parsing, payload drain
+// or request-body close error.
+func (s *MultipartFormStream) Drain() error {
+ if s == nil || s.closed {
+ return nil
+ }
+
+ for {
+ file, err := s.NextFile()
+ if stderrors.Is(err, io.EOF) {
+ return s.Close()
+ }
+ if err != nil {
+ return stderrors.Join(err, s.Close())
+ }
+ if err = file.Close(); err != nil {
+ return stderrors.Join(err, s.Close())
+ }
+ }
+}
+
+// Close stops multipart processing and closes the underlying HTTP request body
+// without explicitly draining the remaining multipart parts.
+//
+// The concrete request body may perform its own work during Close. In
+// particular, a net/http server request body may discard a limited amount of
+// unread data to allow connection reuse, so Close is not guaranteed to return
+// immediately. Call Drain when trailing form fields must be collected.
+func (s *MultipartFormStream) Close() error {
+ if s == nil || s.closed {
+ return nil
+ }
+
+ s.closed = true
+ if s.current != nil {
+ s.current.part = nil
+ s.current = nil
+ }
+
+ if s.request == nil || s.request.Body == nil {
+ return nil
+ }
+
+ return s.request.Body.Close()
+}
+
+func supportsMultipartFormStream(method string) bool {
+ switch method {
+ case http.MethodPost, http.MethodPut, http.MethodPatch:
+ return true
+ default:
+ return false
+ }
+}
+
+func (s *MultipartFormStream) abort(err error) error {
+ return stderrors.Join(err, s.Close())
+}
+
+func (s *MultipartFormStream) closeCurrent() error {
+ if s.current == nil {
+ return nil
+ }
+
+ err := s.current.Close()
+ s.current = nil
+
+ return err
+}
+
+func (s *MultipartFormStream) bindValue(part *multipart.Part, name string) error {
+ value, err := io.ReadAll(part)
+ if err != nil {
+ return err
+ }
+
+ s.fields.Add(name, string(value))
+ s.request.PostForm.Add(name, string(value))
+ // Match net/http.ParseMultipartForm: query values already present in Form
+ // keep precedence over multipart body values, which are appended.
+ s.request.Form.Add(name, string(value))
+
+ return nil
+}
+
+func discardPart(part *multipart.Part) error {
+ _, err := io.Copy(io.Discard, part)
+
+ return err
+}
+
+func cloneMultipartValues(values url.Values) url.Values {
+ cloned := make(url.Values, len(values))
+ for name, entries := range values {
+ cloned[name] = append([]string(nil), entries...)
+ }
+
+ return cloned
+}
+
+func cloneMultipartMIMEHeader(header textproto.MIMEHeader) textproto.MIMEHeader {
+ cloned := make(textproto.MIMEHeader, len(header))
+ for name, entries := range header {
+ cloned[name] = append([]string(nil), entries...)
+ }
+
+ return cloned
+}
+
+type contextReadCloser struct {
+ io.ReadCloser
+
+ ctx context.Context //nolint:containedctx // Read has no context parameter, so the wrapper must retain it
+}
+
+func (r *contextReadCloser) Read(p []byte) (int, error) {
+ if err := r.ctx.Err(); err != nil {
+ return 0, err
+ }
+
+ return r.ReadCloser.Read(p)
+}
+
+func (s *MultipartFormStream) prepareNextFile() error {
+ if s == nil {
+ return io.ErrClosedPipe
+ }
+ if s.done {
+ return io.EOF
+ }
+ if s.closed {
+ return io.ErrClosedPipe
+ }
+ if err := s.closeCurrent(); err != nil {
+ return s.abort(err)
+ }
+
+ return nil
+}
+
+func (s *MultipartFormStream) readNextFile() (*StreamedFile, error) {
+ for {
+ part, err := s.reader.NextPart()
+ if err != nil {
+ return nil, s.handleNextPartError(err)
+ }
+
+ s.parts++
+ if s.maxParts > 0 && s.parts > s.maxParts {
+ err := errors.NewParseError(
+ "body",
+ "formData",
+ "",
+ fmt.Errorf(
+ "multipart form contains %d parts, exceeds limit %d",
+ s.parts,
+ s.maxParts,
+ ),
+ )
+
+ return nil, s.abort(err)
+ }
+
+ fieldName := part.FormName()
+ if fieldName == "" {
+ if err := discardPart(part); err != nil {
+ return nil, s.abort(err)
+ }
+
+ continue
+ }
+
+ filename := part.FileName()
+ if filename == "" {
+ if err := s.bindValue(part, fieldName); err != nil {
+ return nil, s.abort(err)
+ }
+
+ continue
+ }
+
+ return s.openFile(part, fieldName, filename)
+ }
+}
+
+func (s *MultipartFormStream) handleNextPartError(err error) error {
+ if stderrors.Is(err, io.EOF) {
+ s.done = true
+
+ return io.EOF
+ }
+
+ return s.abort(err)
+}
+
+func (s *MultipartFormStream) openFile(
+ part *multipart.Part,
+ fieldName string,
+ filename string,
+) (*StreamedFile, error) {
+ fileCount := len(s.fileInfos) + 1
+ if s.maxFiles > 0 && fileCount > s.maxFiles {
+ err := errors.NewParseError(
+ "body",
+ "formData",
+ "",
+ fmt.Errorf(
+ "multipart form contains %d file parts, exceeds limit %d",
+ fileCount,
+ s.maxFiles,
+ ),
+ )
+
+ return nil, s.abort(err)
+ }
+
+ if err := ValidateFilenameLength(
+ fieldName,
+ "formData",
+ filename,
+ s.maxFilenameLen,
+ ); err != nil {
+ return nil, s.abort(err)
+ }
+
+ file := &StreamedFile{
+ FieldName: fieldName,
+ Filename: filename,
+ Header: part.Header,
+ part: part,
+ }
+ s.fileInfos = append(s.fileInfos, MultipartFileInfo{
+ FieldName: fieldName,
+ Filename: filename,
+ Header: cloneMultipartMIMEHeader(part.Header),
+ })
+ s.current = file
+
+ return file, nil
+}
diff --git a/vendor/github.com/go-openapi/swag/conv/format.go b/vendor/github.com/go-openapi/swag/conv/format.go
index 5b87b8e14..e14e5bfcf 100644
--- a/vendor/github.com/go-openapi/swag/conv/format.go
+++ b/vendor/github.com/go-openapi/swag/conv/format.go
@@ -7,14 +7,16 @@ import (
"strconv"
)
+const baseDecimal = 10
+
// FormatInteger turns an integer type into a string.
func FormatInteger[T Signed](value T) string {
- return strconv.FormatInt(int64(value), 10)
+ return strconv.FormatInt(int64(value), baseDecimal)
}
// FormatUinteger turns an unsigned integer type into a string.
func FormatUinteger[T Unsigned](value T) string {
- return strconv.FormatUint(uint64(value), 10)
+ return strconv.FormatUint(uint64(value), baseDecimal)
}
// FormatFloat turns a floating point numerical value into a string.
@@ -26,3 +28,23 @@ func FormatFloat[T Float](value T) string {
func FormatBool(value bool) string {
return strconv.FormatBool(value)
}
+
+// AppendInteger appends the decimal representation of an integer to a slice of bytes.
+func AppendInteger[T Signed](dst []byte, value T) []byte {
+ return strconv.AppendInt(dst, int64(value), baseDecimal)
+}
+
+// AppendUinteger appends the decimal representation of an unsigned integer to a slice of bytes.
+func AppendUinteger[T Unsigned](dst []byte, value T) []byte {
+ return strconv.AppendUint(dst, uint64(value), baseDecimal)
+}
+
+// AppendFloat appends the decimal representation of a floating point number to a slice of bytes.
+func AppendFloat[T Float](dst []byte, value T) []byte {
+ return strconv.AppendFloat(dst, float64(value), 'g', -1, bitsize(value))
+}
+
+// AppendBool appends the text representation of a boolean to a slice of bytes.
+func AppendBool(dst []byte, value bool) []byte {
+ return strconv.AppendBool(dst, value)
+}
diff --git a/vendor/github.com/leodido/go-urn/machine.go b/vendor/github.com/leodido/go-urn/machine.go
index aec1ba69c..82d058673 100644
--- a/vendor/github.com/leodido/go-urn/machine.go
+++ b/vendor/github.com/leodido/go-urn/machine.go
@@ -24,6 +24,7 @@ var (
err8141QComponentStart = "expecting only one q-component (starting with the ?= sequence) [col %d]"
err8141MalformedRComp = "expecting a non-empty r-component containing alnum, hex, or others ([~&()+,-.:=@;$_!*'] or [/?] but not at its beginning) [col %d]"
err8141MalformedQComp = "expecting a non-empty q-component containing alnum, hex, or others ([~&()+,-.:=@;$_!*'] or [/?] but not at its beginning) [col %d]"
+ errInvalidSyntax = "invalid URN syntax [col %d]"
)
var _toStateActions []byte = []byte{
0, 0, 0, 0, 0, 0, 0, 0,
@@ -4358,7 +4359,7 @@ func (m *machine) Parse(input []byte) (*URN, error) {
if m.parsingMode != RFC8141Only {
// Throw an error when:
- // - we are entering here matching the the prefix in the namespace identifier part
+ // - we are entering here matching the prefix in the namespace identifier part
// - looking ahead (3 chars) we find a colon
if pos := m.p + 3; pos < m.pe && m.data[pos] == 58 && output.prefix != "" {
m.err = fmt.Errorf(errNoUrnWithinID, pos)
@@ -5026,6 +5027,9 @@ func (m *machine) Parse(input []byte) (*URN, error) {
}
if m.cs < firstFinal || m.cs == enFail {
+ if m.err == nil {
+ m.err = fmt.Errorf(errInvalidSyntax, m.p)
+ }
return nil, m.err
}
diff --git a/vendor/github.com/leodido/go-urn/machine.go.rl b/vendor/github.com/leodido/go-urn/machine.go.rl
index 0a1742199..481e12fd5 100644
--- a/vendor/github.com/leodido/go-urn/machine.go.rl
+++ b/vendor/github.com/leodido/go-urn/machine.go.rl
@@ -24,6 +24,7 @@ var (
err8141QComponentStart = "expecting only one q-component (starting with the ?= sequence) [col %d]"
err8141MalformedRComp = "expecting a non-empty r-component containing alnum, hex, or others ([~&()+,-.:=@;$_!*'] or [/?] but not at its beginning) [col %d]"
err8141MalformedQComp = "expecting a non-empty q-component containing alnum, hex, or others ([~&()+,-.:=@;$_!*'] or [/?] but not at its beginning) [col %d]"
+ errInvalidSyntax = "invalid URN syntax [col %d]"
)
%%{
@@ -48,7 +49,7 @@ action set_pre {
action throw_pre_urn_err {
if m.parsingMode != RFC8141Only {
// Throw an error when:
- // - we are entering here matching the the prefix in the namespace identifier part
+ // - we are entering here matching the prefix in the namespace identifier part
// - looking ahead (3 chars) we find a colon
if pos := m.p + 3; pos < m.pe && m.data[pos] == 58 && output.prefix != "" {
m.err = fmt.Errorf(errNoUrnWithinID, pos)
@@ -366,6 +367,9 @@ func (m *machine) Parse(input []byte) (*URN, error) {
%% write exec;
if m.cs < first_final || m.cs == en_fail {
+ if m.err == nil {
+ m.err = fmt.Errorf(errInvalidSyntax, m.p)
+ }
return nil, m.err
}
@@ -383,4 +387,4 @@ func (m *machine) WithParsingMode(x ParsingMode) {
m.startParsingAt = en_scim_only
}
m.parsingModeSet = true
-}
\ No newline at end of file
+}
diff --git a/vendor/github.com/leodido/go-urn/urn.go b/vendor/github.com/leodido/go-urn/urn.go
index 894d6258d..3c2110dc2 100644
--- a/vendor/github.com/leodido/go-urn/urn.go
+++ b/vendor/github.com/leodido/go-urn/urn.go
@@ -8,7 +8,7 @@ import (
const errInvalidURN = "invalid URN: %s"
-// URN represents an Uniform Resource Name.
+// URN represents a Uniform Resource Name.
//
// The general form represented is:
//
@@ -32,7 +32,7 @@ type URN struct {
// Normalize turns the receiving URN into its norm version.
//
-// Which means: lowercase prefix, lowercase namespace identifier, and immutate namespace specific string chars (except tokens which are lowercased).
+// Which means: lowercase prefix, lowercase namespace identifier, and leave namespace-specific string chars unchanged (except tokens which are lowercased).
func (u *URN) Normalize() *URN {
return &URN{
prefix: "urn",
@@ -82,10 +82,10 @@ func (u *URN) String() string {
return res
}
-// Parse is responsible to create an URN instance from a byte array matching the correct URN syntax (RFC 2141).
+// Parse is responsible for creating a URN instance from a byte array matching the correct URN syntax (RFC 2141).
func Parse(u []byte, options ...Option) (*URN, bool) {
urn, err := NewMachine(options...).Parse(u)
- if err != nil {
+ if err != nil || urn == nil {
return nil, false
}
diff --git a/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal/pulumiUtilities.go b/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal/pulumiUtilities.go
index ae20fd450..b3986eb70 100644
--- a/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal/pulumiUtilities.go
+++ b/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal/pulumiUtilities.go
@@ -165,7 +165,7 @@ func callPlainInner(
func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption {
defaults := []pulumi.ResourceOption{}
- version := semver.MustParse("1.71.0")
+ version := semver.MustParse("1.73.1")
if !version.Equals(semver.Version{}) {
defaults = append(defaults, pulumi.Version(version.String()))
}
@@ -176,7 +176,7 @@ func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOptio
func PkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption {
defaults := []pulumi.InvokeOption{}
- version := semver.MustParse("1.71.0")
+ version := semver.MustParse("1.73.1")
if !version.Equals(semver.Version{}) {
defaults = append(defaults, pulumi.Version(version.String()))
}
diff --git a/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/pulumi-plugin.json
index c31e8b9a2..be9459f68 100644
--- a/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/pulumi-plugin.json
+++ b/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/pulumi-plugin.json
@@ -1,5 +1,5 @@
{
"resource": true,
"name": "aws-native",
- "version": "1.71.0"
+ "version": "1.73.1"
}
diff --git a/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm/getOpsItem.go b/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm/getOpsItem.go
new file mode 100644
index 000000000..95325867b
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm/getOpsItem.go
@@ -0,0 +1,173 @@
+// Code generated by pulumi-language-go DO NOT EDIT.
+// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
+
+package ssm
+
+import (
+ "context"
+ "reflect"
+
+ "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
+ "github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal"
+ "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+)
+
+// Resource schema for AWS::SSM::OpsItem.
+func LookupOpsItem(ctx *pulumi.Context, args *LookupOpsItemArgs, opts ...pulumi.InvokeOption) (*LookupOpsItemResult, error) {
+ opts = internal.PkgInvokeDefaultOpts(opts)
+ var rv LookupOpsItemResult
+ err := ctx.Invoke("aws-native:ssm:getOpsItem", args, &rv, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return &rv, nil
+}
+
+type LookupOpsItemArgs struct {
+ // The ARN of the OpsItem.
+ OpsItemArn string `pulumi:"opsItemArn"`
+}
+
+type LookupOpsItemResult struct {
+ // The category of the OpsItem.
+ Category *string `pulumi:"category"`
+ // The user who created the OpsItem.
+ CreatedBy *string `pulumi:"createdBy"`
+ // The time the OpsItem was created.
+ CreatedTime *string `pulumi:"createdTime"`
+ // The description of the OpsItem.
+ Description *string `pulumi:"description"`
+ // The user who last modified the OpsItem.
+ LastModifiedBy *string `pulumi:"lastModifiedBy"`
+ // The time the OpsItem was last modified.
+ LastModifiedTime *string `pulumi:"lastModifiedTime"`
+ // The ARN of the OpsItem.
+ OpsItemArn *string `pulumi:"opsItemArn"`
+ // The ID of the OpsItem.
+ OpsItemId *string `pulumi:"opsItemId"`
+ // The type of OpsItem.
+ OpsItemType *string `pulumi:"opsItemType"`
+ // The priority of the OpsItem.
+ Priority *int `pulumi:"priority"`
+ // The severity of the OpsItem.
+ Severity *string `pulumi:"severity"`
+ // The status of the OpsItem.
+ Status *string `pulumi:"status"`
+ // Tags for the OpsItem.
+ Tags []aws.Tag `pulumi:"tags"`
+ // The title of the OpsItem.
+ Title *string `pulumi:"title"`
+ // The version of the OpsItem.
+ Version *string `pulumi:"version"`
+}
+
+func LookupOpsItemOutput(ctx *pulumi.Context, args LookupOpsItemOutputArgs, opts ...pulumi.InvokeOption) LookupOpsItemResultOutput {
+ return pulumi.ToOutputWithContext(ctx.Context(), args).
+ ApplyT(func(v interface{}) (LookupOpsItemResultOutput, error) {
+ args := v.(LookupOpsItemArgs)
+ options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)}
+ return ctx.InvokeOutput("aws-native:ssm:getOpsItem", args, LookupOpsItemResultOutput{}, options).(LookupOpsItemResultOutput), nil
+ }).(LookupOpsItemResultOutput)
+}
+
+type LookupOpsItemOutputArgs struct {
+ // The ARN of the OpsItem.
+ OpsItemArn pulumi.StringInput `pulumi:"opsItemArn"`
+}
+
+func (LookupOpsItemOutputArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*LookupOpsItemArgs)(nil)).Elem()
+}
+
+type LookupOpsItemResultOutput struct{ *pulumi.OutputState }
+
+func (LookupOpsItemResultOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*LookupOpsItemResult)(nil)).Elem()
+}
+
+func (o LookupOpsItemResultOutput) ToLookupOpsItemResultOutput() LookupOpsItemResultOutput {
+ return o
+}
+
+func (o LookupOpsItemResultOutput) ToLookupOpsItemResultOutputWithContext(ctx context.Context) LookupOpsItemResultOutput {
+ return o
+}
+
+// The category of the OpsItem.
+func (o LookupOpsItemResultOutput) Category() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LookupOpsItemResult) *string { return v.Category }).(pulumi.StringPtrOutput)
+}
+
+// The user who created the OpsItem.
+func (o LookupOpsItemResultOutput) CreatedBy() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LookupOpsItemResult) *string { return v.CreatedBy }).(pulumi.StringPtrOutput)
+}
+
+// The time the OpsItem was created.
+func (o LookupOpsItemResultOutput) CreatedTime() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LookupOpsItemResult) *string { return v.CreatedTime }).(pulumi.StringPtrOutput)
+}
+
+// The description of the OpsItem.
+func (o LookupOpsItemResultOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LookupOpsItemResult) *string { return v.Description }).(pulumi.StringPtrOutput)
+}
+
+// The user who last modified the OpsItem.
+func (o LookupOpsItemResultOutput) LastModifiedBy() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LookupOpsItemResult) *string { return v.LastModifiedBy }).(pulumi.StringPtrOutput)
+}
+
+// The time the OpsItem was last modified.
+func (o LookupOpsItemResultOutput) LastModifiedTime() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LookupOpsItemResult) *string { return v.LastModifiedTime }).(pulumi.StringPtrOutput)
+}
+
+// The ARN of the OpsItem.
+func (o LookupOpsItemResultOutput) OpsItemArn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LookupOpsItemResult) *string { return v.OpsItemArn }).(pulumi.StringPtrOutput)
+}
+
+// The ID of the OpsItem.
+func (o LookupOpsItemResultOutput) OpsItemId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LookupOpsItemResult) *string { return v.OpsItemId }).(pulumi.StringPtrOutput)
+}
+
+// The type of OpsItem.
+func (o LookupOpsItemResultOutput) OpsItemType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LookupOpsItemResult) *string { return v.OpsItemType }).(pulumi.StringPtrOutput)
+}
+
+// The priority of the OpsItem.
+func (o LookupOpsItemResultOutput) Priority() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v LookupOpsItemResult) *int { return v.Priority }).(pulumi.IntPtrOutput)
+}
+
+// The severity of the OpsItem.
+func (o LookupOpsItemResultOutput) Severity() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LookupOpsItemResult) *string { return v.Severity }).(pulumi.StringPtrOutput)
+}
+
+// The status of the OpsItem.
+func (o LookupOpsItemResultOutput) Status() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LookupOpsItemResult) *string { return v.Status }).(pulumi.StringPtrOutput)
+}
+
+// Tags for the OpsItem.
+func (o LookupOpsItemResultOutput) Tags() aws.TagArrayOutput {
+ return o.ApplyT(func(v LookupOpsItemResult) []aws.Tag { return v.Tags }).(aws.TagArrayOutput)
+}
+
+// The title of the OpsItem.
+func (o LookupOpsItemResultOutput) Title() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LookupOpsItemResult) *string { return v.Title }).(pulumi.StringPtrOutput)
+}
+
+// The version of the OpsItem.
+func (o LookupOpsItemResultOutput) Version() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LookupOpsItemResult) *string { return v.Version }).(pulumi.StringPtrOutput)
+}
+
+func init() {
+ pulumi.RegisterOutputType(LookupOpsItemResultOutput{})
+}
diff --git a/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm/init.go b/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm/init.go
index 542d69810..c91ca2ab3 100644
--- a/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm/init.go
+++ b/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm/init.go
@@ -31,6 +31,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi
r = &MaintenanceWindowTarget{}
case "aws-native:ssm:MaintenanceWindowTask":
r = &MaintenanceWindowTask{}
+ case "aws-native:ssm:OpsItem":
+ r = &OpsItem{}
case "aws-native:ssm:Parameter":
r = &Parameter{}
case "aws-native:ssm:PatchBaseline":
diff --git a/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm/opsItem.go b/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm/opsItem.go
new file mode 100644
index 000000000..716855e25
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm/opsItem.go
@@ -0,0 +1,261 @@
+// Code generated by pulumi-language-go DO NOT EDIT.
+// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
+
+package ssm
+
+import (
+ "context"
+ "reflect"
+
+ "errors"
+ "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
+ "github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal"
+ "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+)
+
+// Resource schema for AWS::SSM::OpsItem.
+type OpsItem struct {
+ pulumi.CustomResourceState
+
+ // The category of the OpsItem.
+ Category pulumi.StringPtrOutput `pulumi:"category"`
+ // The user who created the OpsItem.
+ CreatedBy pulumi.StringOutput `pulumi:"createdBy"`
+ // The time the OpsItem was created.
+ CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
+ // The description of the OpsItem.
+ Description pulumi.StringOutput `pulumi:"description"`
+ // The user who last modified the OpsItem.
+ LastModifiedBy pulumi.StringOutput `pulumi:"lastModifiedBy"`
+ // The time the OpsItem was last modified.
+ LastModifiedTime pulumi.StringOutput `pulumi:"lastModifiedTime"`
+ // The ARN of the OpsItem.
+ OpsItemArn pulumi.StringOutput `pulumi:"opsItemArn"`
+ // The ID of the OpsItem.
+ OpsItemId pulumi.StringOutput `pulumi:"opsItemId"`
+ // The type of OpsItem.
+ OpsItemType pulumi.StringOutput `pulumi:"opsItemType"`
+ // The priority of the OpsItem.
+ Priority pulumi.IntPtrOutput `pulumi:"priority"`
+ // The severity of the OpsItem.
+ Severity pulumi.StringPtrOutput `pulumi:"severity"`
+ // The origin of the OpsItem.
+ Source pulumi.StringOutput `pulumi:"source"`
+ // The status of the OpsItem.
+ Status pulumi.StringOutput `pulumi:"status"`
+ // Tags for the OpsItem.
+ Tags aws.TagArrayOutput `pulumi:"tags"`
+ // The title of the OpsItem.
+ Title pulumi.StringOutput `pulumi:"title"`
+ // The version of the OpsItem.
+ Version pulumi.StringOutput `pulumi:"version"`
+}
+
+// NewOpsItem registers a new resource with the given unique name, arguments, and options.
+func NewOpsItem(ctx *pulumi.Context,
+ name string, args *OpsItemArgs, opts ...pulumi.ResourceOption) (*OpsItem, error) {
+ if args == nil {
+ return nil, errors.New("missing one or more required arguments")
+ }
+
+ if args.Description == nil {
+ return nil, errors.New("invalid value for required argument 'Description'")
+ }
+ if args.Source == nil {
+ return nil, errors.New("invalid value for required argument 'Source'")
+ }
+ if args.Title == nil {
+ return nil, errors.New("invalid value for required argument 'Title'")
+ }
+ replaceOnChanges := pulumi.ReplaceOnChanges([]string{
+ "source",
+ })
+ opts = append(opts, replaceOnChanges)
+ opts = internal.PkgResourceDefaultOpts(opts)
+ var resource OpsItem
+ err := ctx.RegisterResource("aws-native:ssm:OpsItem", name, args, &resource, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return &resource, nil
+}
+
+// GetOpsItem gets an existing OpsItem resource's state with the given name, ID, and optional
+// state properties that are used to uniquely qualify the lookup (nil if not required).
+func GetOpsItem(ctx *pulumi.Context,
+ name string, id pulumi.IDInput, state *OpsItemState, opts ...pulumi.ResourceOption) (*OpsItem, error) {
+ var resource OpsItem
+ err := ctx.ReadResource("aws-native:ssm:OpsItem", name, id, state, &resource, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return &resource, nil
+}
+
+// Input properties used for looking up and filtering OpsItem resources.
+type opsItemState struct {
+}
+
+type OpsItemState struct {
+}
+
+func (OpsItemState) ElementType() reflect.Type {
+ return reflect.TypeOf((*opsItemState)(nil)).Elem()
+}
+
+type opsItemArgs struct {
+ // The category of the OpsItem.
+ Category *string `pulumi:"category"`
+ // The description of the OpsItem.
+ Description string `pulumi:"description"`
+ // The priority of the OpsItem.
+ Priority *int `pulumi:"priority"`
+ // The severity of the OpsItem.
+ Severity *string `pulumi:"severity"`
+ // The origin of the OpsItem.
+ Source string `pulumi:"source"`
+ // Tags for the OpsItem.
+ Tags []aws.Tag `pulumi:"tags"`
+ // The title of the OpsItem.
+ Title string `pulumi:"title"`
+}
+
+// The set of arguments for constructing a OpsItem resource.
+type OpsItemArgs struct {
+ // The category of the OpsItem.
+ Category pulumi.StringPtrInput
+ // The description of the OpsItem.
+ Description pulumi.StringInput
+ // The priority of the OpsItem.
+ Priority pulumi.IntPtrInput
+ // The severity of the OpsItem.
+ Severity pulumi.StringPtrInput
+ // The origin of the OpsItem.
+ Source pulumi.StringInput
+ // Tags for the OpsItem.
+ Tags aws.TagArrayInput
+ // The title of the OpsItem.
+ Title pulumi.StringInput
+}
+
+func (OpsItemArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*opsItemArgs)(nil)).Elem()
+}
+
+type OpsItemInput interface {
+ pulumi.Input
+
+ ToOpsItemOutput() OpsItemOutput
+ ToOpsItemOutputWithContext(ctx context.Context) OpsItemOutput
+}
+
+func (*OpsItem) ElementType() reflect.Type {
+ return reflect.TypeOf((**OpsItem)(nil)).Elem()
+}
+
+func (i *OpsItem) ToOpsItemOutput() OpsItemOutput {
+ return i.ToOpsItemOutputWithContext(context.Background())
+}
+
+func (i *OpsItem) ToOpsItemOutputWithContext(ctx context.Context) OpsItemOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(OpsItemOutput)
+}
+
+type OpsItemOutput struct{ *pulumi.OutputState }
+
+func (OpsItemOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**OpsItem)(nil)).Elem()
+}
+
+func (o OpsItemOutput) ToOpsItemOutput() OpsItemOutput {
+ return o
+}
+
+func (o OpsItemOutput) ToOpsItemOutputWithContext(ctx context.Context) OpsItemOutput {
+ return o
+}
+
+// The category of the OpsItem.
+func (o OpsItemOutput) Category() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *OpsItem) pulumi.StringPtrOutput { return v.Category }).(pulumi.StringPtrOutput)
+}
+
+// The user who created the OpsItem.
+func (o OpsItemOutput) CreatedBy() pulumi.StringOutput {
+ return o.ApplyT(func(v *OpsItem) pulumi.StringOutput { return v.CreatedBy }).(pulumi.StringOutput)
+}
+
+// The time the OpsItem was created.
+func (o OpsItemOutput) CreatedTime() pulumi.StringOutput {
+ return o.ApplyT(func(v *OpsItem) pulumi.StringOutput { return v.CreatedTime }).(pulumi.StringOutput)
+}
+
+// The description of the OpsItem.
+func (o OpsItemOutput) Description() pulumi.StringOutput {
+ return o.ApplyT(func(v *OpsItem) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput)
+}
+
+// The user who last modified the OpsItem.
+func (o OpsItemOutput) LastModifiedBy() pulumi.StringOutput {
+ return o.ApplyT(func(v *OpsItem) pulumi.StringOutput { return v.LastModifiedBy }).(pulumi.StringOutput)
+}
+
+// The time the OpsItem was last modified.
+func (o OpsItemOutput) LastModifiedTime() pulumi.StringOutput {
+ return o.ApplyT(func(v *OpsItem) pulumi.StringOutput { return v.LastModifiedTime }).(pulumi.StringOutput)
+}
+
+// The ARN of the OpsItem.
+func (o OpsItemOutput) OpsItemArn() pulumi.StringOutput {
+ return o.ApplyT(func(v *OpsItem) pulumi.StringOutput { return v.OpsItemArn }).(pulumi.StringOutput)
+}
+
+// The ID of the OpsItem.
+func (o OpsItemOutput) OpsItemId() pulumi.StringOutput {
+ return o.ApplyT(func(v *OpsItem) pulumi.StringOutput { return v.OpsItemId }).(pulumi.StringOutput)
+}
+
+// The type of OpsItem.
+func (o OpsItemOutput) OpsItemType() pulumi.StringOutput {
+ return o.ApplyT(func(v *OpsItem) pulumi.StringOutput { return v.OpsItemType }).(pulumi.StringOutput)
+}
+
+// The priority of the OpsItem.
+func (o OpsItemOutput) Priority() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *OpsItem) pulumi.IntPtrOutput { return v.Priority }).(pulumi.IntPtrOutput)
+}
+
+// The severity of the OpsItem.
+func (o OpsItemOutput) Severity() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *OpsItem) pulumi.StringPtrOutput { return v.Severity }).(pulumi.StringPtrOutput)
+}
+
+// The origin of the OpsItem.
+func (o OpsItemOutput) Source() pulumi.StringOutput {
+ return o.ApplyT(func(v *OpsItem) pulumi.StringOutput { return v.Source }).(pulumi.StringOutput)
+}
+
+// The status of the OpsItem.
+func (o OpsItemOutput) Status() pulumi.StringOutput {
+ return o.ApplyT(func(v *OpsItem) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput)
+}
+
+// Tags for the OpsItem.
+func (o OpsItemOutput) Tags() aws.TagArrayOutput {
+ return o.ApplyT(func(v *OpsItem) aws.TagArrayOutput { return v.Tags }).(aws.TagArrayOutput)
+}
+
+// The title of the OpsItem.
+func (o OpsItemOutput) Title() pulumi.StringOutput {
+ return o.ApplyT(func(v *OpsItem) pulumi.StringOutput { return v.Title }).(pulumi.StringOutput)
+}
+
+// The version of the OpsItem.
+func (o OpsItemOutput) Version() pulumi.StringOutput {
+ return o.ApplyT(func(v *OpsItem) pulumi.StringOutput { return v.Version }).(pulumi.StringOutput)
+}
+
+func init() {
+ pulumi.RegisterInputType(reflect.TypeOf((*OpsItemInput)(nil)).Elem(), &OpsItem{})
+ pulumi.RegisterOutputType(OpsItemOutput{})
+}
diff --git a/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm/pulumiTypes.go
index d6da58f9e..32f34f913 100644
--- a/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm/pulumiTypes.go
+++ b/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm/pulumiTypes.go
@@ -2488,6 +2488,11 @@ func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) MaintenanceWindo
}).(MaintenanceWindowTaskMaintenanceWindowStepFunctionsParametersPtrOutput)
}
+type OpsItemTag struct {
+ Key string `pulumi:"key"`
+ Value string `pulumi:"value"`
+}
+
// Defines which patches should be included in a patch baseline.
type PatchBaselinePatchFilter struct {
// The key for the filter.
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/arnBuild.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/arnBuild.go
new file mode 100644
index 000000000..1e46a5eb7
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/arnBuild.go
@@ -0,0 +1,91 @@
+// Code generated by pulumi-language-go DO NOT EDIT.
+// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
+
+package aws
+
+import (
+ "reflect"
+
+ "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal"
+ "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+)
+
+// Builds an ARN from its constituent parts.
+//
+// See the [AWS documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html) for additional information on Amazon Resource Names.
+//
+// ## Signature
+func ArnBuild(ctx *pulumi.Context, partition string, service string, region string, accountId string, resource string, opts ...pulumi.InvokeOption) (string, error) {
+ args := arnBuildArgs{
+ Partition: partition,
+ Service: service,
+ Region: region,
+ AccountId: accountId,
+ Resource: resource,
+ }
+ opts = internal.PkgInvokeDefaultOpts(opts)
+ var rv map[string]string
+ err := ctx.Invoke("aws:index/arnBuild:arnBuild", args, &rv, opts...)
+ var result string
+ if err != nil {
+ return result, err
+ }
+ for _, v := range rv {
+ result = v
+ break
+ }
+ return result, nil
+}
+
+type arnBuildArgs struct {
+ // Partition in which the resource is located
+ Partition string `pulumi:"partition"`
+ // Service namespace
+ Service string `pulumi:"service"`
+ // Region code
+ Region string `pulumi:"region"`
+ // AWS account identifier
+ AccountId string `pulumi:"accountId"`
+ // Resource section, typically composed of a resource type and identifier
+ Resource string `pulumi:"resource"`
+}
+
+func ArnBuildOutput(ctx *pulumi.Context, partition pulumi.StringInput, service pulumi.StringInput, region pulumi.StringInput, accountId pulumi.StringInput, resource pulumi.StringInput, opts ...pulumi.InvokeOption) pulumi.StringOutput {
+ args := arnBuildOutputArgs{
+ Partition: partition,
+ Service: service,
+ Region: region,
+ AccountId: accountId,
+ Resource: resource,
+ }
+ return pulumi.ToOutputWithContext(ctx.Context(), args).
+ ApplyT(func(v interface{}) (pulumi.StringOutput, error) {
+ args := v.(arnBuildArgs)
+ options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)}
+ rv := ctx.InvokeOutput("aws:index/arnBuild:arnBuild", args, pulumi.StringMapOutput{}, options).(pulumi.StringMapOutput)
+ return rv.ApplyT(func(rv map[string]string) string {
+ var result string
+ for _, v := range rv {
+ result = v
+ }
+ return result
+ }).(pulumi.StringOutput), nil
+ }).(pulumi.StringOutput)
+}
+
+type arnBuildOutputArgs struct {
+ // Partition in which the resource is located
+ Partition pulumi.StringInput `pulumi:"partition"`
+ // Service namespace
+ Service pulumi.StringInput `pulumi:"service"`
+ // Region code
+ Region pulumi.StringInput `pulumi:"region"`
+ // AWS account identifier
+ AccountId pulumi.StringInput `pulumi:"accountId"`
+ // Resource section, typically composed of a resource type and identifier
+ Resource pulumi.StringInput `pulumi:"resource"`
+}
+
+func (arnBuildOutputArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*arnBuildArgs)(nil)).Elem()
+}
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/arnParse.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/arnParse.go
new file mode 100644
index 000000000..2ffd31d72
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/arnParse.go
@@ -0,0 +1,102 @@
+// Code generated by pulumi-language-go DO NOT EDIT.
+// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
+
+package aws
+
+import (
+ "context"
+ "reflect"
+
+ "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal"
+ "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+)
+
+// Parses an ARN into its constituent parts.
+//
+// See the [AWS documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html) for additional information on Amazon Resource Names.
+//
+// ## Signature
+func ArnParse(ctx *pulumi.Context, arn string, opts ...pulumi.InvokeOption) (*ArnParseResult, error) {
+ args := arnParseArgs{
+ Arn: arn,
+ }
+ opts = internal.PkgInvokeDefaultOpts(opts)
+ var rv ArnParseResult
+ err := ctx.Invoke("aws:index/arnParse:arnParse", args, &rv, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return &rv, nil
+}
+
+type arnParseArgs struct {
+ // ARN (Amazon Resource Name) to parse
+ Arn string `pulumi:"arn"`
+}
+
+type ArnParseResult struct {
+ AccountId string `pulumi:"accountId"`
+ Partition string `pulumi:"partition"`
+ Region string `pulumi:"region"`
+ Resource string `pulumi:"resource"`
+ Service string `pulumi:"service"`
+}
+
+func ArnParseOutput(ctx *pulumi.Context, arn pulumi.StringInput, opts ...pulumi.InvokeOption) ArnParseResultOutput {
+ args := arnParseOutputArgs{
+ Arn: arn,
+ }
+ return pulumi.ToOutputWithContext(ctx.Context(), args).
+ ApplyT(func(v interface{}) (ArnParseResultOutput, error) {
+ args := v.(arnParseArgs)
+ options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)}
+ return ctx.InvokeOutput("aws:index/arnParse:arnParse", args, ArnParseResultOutput{}, options).(ArnParseResultOutput), nil
+ }).(ArnParseResultOutput)
+}
+
+type arnParseOutputArgs struct {
+ // ARN (Amazon Resource Name) to parse
+ Arn pulumi.StringInput `pulumi:"arn"`
+}
+
+func (arnParseOutputArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*arnParseArgs)(nil)).Elem()
+}
+
+type ArnParseResultOutput struct{ *pulumi.OutputState }
+
+func (ArnParseResultOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ArnParseResult)(nil)).Elem()
+}
+
+func (o ArnParseResultOutput) ToArnParseResultOutput() ArnParseResultOutput {
+ return o
+}
+
+func (o ArnParseResultOutput) ToArnParseResultOutputWithContext(ctx context.Context) ArnParseResultOutput {
+ return o
+}
+
+func (o ArnParseResultOutput) AccountId() pulumi.StringOutput {
+ return o.ApplyT(func(v ArnParseResult) string { return v.AccountId }).(pulumi.StringOutput)
+}
+
+func (o ArnParseResultOutput) Partition() pulumi.StringOutput {
+ return o.ApplyT(func(v ArnParseResult) string { return v.Partition }).(pulumi.StringOutput)
+}
+
+func (o ArnParseResultOutput) Region() pulumi.StringOutput {
+ return o.ApplyT(func(v ArnParseResult) string { return v.Region }).(pulumi.StringOutput)
+}
+
+func (o ArnParseResultOutput) Resource() pulumi.StringOutput {
+ return o.ApplyT(func(v ArnParseResult) string { return v.Resource }).(pulumi.StringOutput)
+}
+
+func (o ArnParseResultOutput) Service() pulumi.StringOutput {
+ return o.ApplyT(func(v ArnParseResult) string { return v.Service }).(pulumi.StringOutput)
+}
+
+func init() {
+ pulumi.RegisterOutputType(ArnParseResultOutput{})
+}
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling/group.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling/group.go
index 3aae8d2fc..4f38404ba 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling/group.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling/group.go
@@ -711,6 +711,8 @@ type Group struct {
// resource, without the `autoscalingGroupName` attribute. Please note that this will only work when creating
// a new Auto Scaling Group. For all other use-cases, please use `autoscaling.LifecycleHook` resource.
InitialLifecycleHooks GroupInitialLifecycleHookArrayOutput `pulumi:"initialLifecycleHooks"`
+ // If this block is configured, adds an instance lifecycle policy to the specified Auto Scaling Group. Defined below.
+ InstanceLifecyclePolicy GroupInstanceLifecyclePolicyOutput `pulumi:"instanceLifecyclePolicy"`
// If this block is configured, add a instance maintenance policy to the specified Auto Scaling group. Defined below.
InstanceMaintenancePolicy GroupInstanceMaintenancePolicyPtrOutput `pulumi:"instanceMaintenancePolicy"`
// If this block is configured, start an
@@ -873,6 +875,8 @@ type groupState struct {
// resource, without the `autoscalingGroupName` attribute. Please note that this will only work when creating
// a new Auto Scaling Group. For all other use-cases, please use `autoscaling.LifecycleHook` resource.
InitialLifecycleHooks []GroupInitialLifecycleHook `pulumi:"initialLifecycleHooks"`
+ // If this block is configured, adds an instance lifecycle policy to the specified Auto Scaling Group. Defined below.
+ InstanceLifecyclePolicy *GroupInstanceLifecyclePolicy `pulumi:"instanceLifecyclePolicy"`
// If this block is configured, add a instance maintenance policy to the specified Auto Scaling group. Defined below.
InstanceMaintenancePolicy *GroupInstanceMaintenancePolicy `pulumi:"instanceMaintenancePolicy"`
// If this block is configured, start an
@@ -1000,6 +1004,8 @@ type GroupState struct {
// resource, without the `autoscalingGroupName` attribute. Please note that this will only work when creating
// a new Auto Scaling Group. For all other use-cases, please use `autoscaling.LifecycleHook` resource.
InitialLifecycleHooks GroupInitialLifecycleHookArrayInput
+ // If this block is configured, adds an instance lifecycle policy to the specified Auto Scaling Group. Defined below.
+ InstanceLifecyclePolicy GroupInstanceLifecyclePolicyPtrInput
// If this block is configured, add a instance maintenance policy to the specified Auto Scaling group. Defined below.
InstanceMaintenancePolicy GroupInstanceMaintenancePolicyPtrInput
// If this block is configured, start an
@@ -1129,6 +1135,8 @@ type groupArgs struct {
// resource, without the `autoscalingGroupName` attribute. Please note that this will only work when creating
// a new Auto Scaling Group. For all other use-cases, please use `autoscaling.LifecycleHook` resource.
InitialLifecycleHooks []GroupInitialLifecycleHook `pulumi:"initialLifecycleHooks"`
+ // If this block is configured, adds an instance lifecycle policy to the specified Auto Scaling Group. Defined below.
+ InstanceLifecyclePolicy *GroupInstanceLifecyclePolicy `pulumi:"instanceLifecyclePolicy"`
// If this block is configured, add a instance maintenance policy to the specified Auto Scaling group. Defined below.
InstanceMaintenancePolicy *GroupInstanceMaintenancePolicy `pulumi:"instanceMaintenancePolicy"`
// If this block is configured, start an
@@ -1251,6 +1259,8 @@ type GroupArgs struct {
// resource, without the `autoscalingGroupName` attribute. Please note that this will only work when creating
// a new Auto Scaling Group. For all other use-cases, please use `autoscaling.LifecycleHook` resource.
InitialLifecycleHooks GroupInitialLifecycleHookArrayInput
+ // If this block is configured, adds an instance lifecycle policy to the specified Auto Scaling Group. Defined below.
+ InstanceLifecyclePolicy GroupInstanceLifecyclePolicyPtrInput
// If this block is configured, add a instance maintenance policy to the specified Auto Scaling group. Defined below.
InstanceMaintenancePolicy GroupInstanceMaintenancePolicyPtrInput
// If this block is configured, start an
@@ -1511,6 +1521,11 @@ func (o GroupOutput) InitialLifecycleHooks() GroupInitialLifecycleHookArrayOutpu
return o.ApplyT(func(v *Group) GroupInitialLifecycleHookArrayOutput { return v.InitialLifecycleHooks }).(GroupInitialLifecycleHookArrayOutput)
}
+// If this block is configured, adds an instance lifecycle policy to the specified Auto Scaling Group. Defined below.
+func (o GroupOutput) InstanceLifecyclePolicy() GroupInstanceLifecyclePolicyOutput {
+ return o.ApplyT(func(v *Group) GroupInstanceLifecyclePolicyOutput { return v.InstanceLifecyclePolicy }).(GroupInstanceLifecyclePolicyOutput)
+}
+
// If this block is configured, add a instance maintenance policy to the specified Auto Scaling group. Defined below.
func (o GroupOutput) InstanceMaintenancePolicy() GroupInstanceMaintenancePolicyPtrOutput {
return o.ApplyT(func(v *Group) GroupInstanceMaintenancePolicyPtrOutput { return v.InstanceMaintenancePolicy }).(GroupInstanceMaintenancePolicyPtrOutput)
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling/pulumiTypes.go
index e8849803f..76fbe0c80 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling/pulumiTypes.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling/pulumiTypes.go
@@ -601,6 +601,282 @@ func (o GroupInitialLifecycleHookArrayOutput) Index(i pulumi.IntInput) GroupInit
}).(GroupInitialLifecycleHookOutput)
}
+type GroupInstanceLifecyclePolicy struct {
+ // Conditions that trigger instance retention behavior. Defined below.
+ RetentionTriggers *GroupInstanceLifecyclePolicyRetentionTriggers `pulumi:"retentionTriggers"`
+}
+
+// GroupInstanceLifecyclePolicyInput is an input type that accepts GroupInstanceLifecyclePolicyArgs and GroupInstanceLifecyclePolicyOutput values.
+// You can construct a concrete instance of `GroupInstanceLifecyclePolicyInput` via:
+//
+// GroupInstanceLifecyclePolicyArgs{...}
+type GroupInstanceLifecyclePolicyInput interface {
+ pulumi.Input
+
+ ToGroupInstanceLifecyclePolicyOutput() GroupInstanceLifecyclePolicyOutput
+ ToGroupInstanceLifecyclePolicyOutputWithContext(context.Context) GroupInstanceLifecyclePolicyOutput
+}
+
+type GroupInstanceLifecyclePolicyArgs struct {
+ // Conditions that trigger instance retention behavior. Defined below.
+ RetentionTriggers GroupInstanceLifecyclePolicyRetentionTriggersPtrInput `pulumi:"retentionTriggers"`
+}
+
+func (GroupInstanceLifecyclePolicyArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GroupInstanceLifecyclePolicy)(nil)).Elem()
+}
+
+func (i GroupInstanceLifecyclePolicyArgs) ToGroupInstanceLifecyclePolicyOutput() GroupInstanceLifecyclePolicyOutput {
+ return i.ToGroupInstanceLifecyclePolicyOutputWithContext(context.Background())
+}
+
+func (i GroupInstanceLifecyclePolicyArgs) ToGroupInstanceLifecyclePolicyOutputWithContext(ctx context.Context) GroupInstanceLifecyclePolicyOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GroupInstanceLifecyclePolicyOutput)
+}
+
+func (i GroupInstanceLifecyclePolicyArgs) ToGroupInstanceLifecyclePolicyPtrOutput() GroupInstanceLifecyclePolicyPtrOutput {
+ return i.ToGroupInstanceLifecyclePolicyPtrOutputWithContext(context.Background())
+}
+
+func (i GroupInstanceLifecyclePolicyArgs) ToGroupInstanceLifecyclePolicyPtrOutputWithContext(ctx context.Context) GroupInstanceLifecyclePolicyPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GroupInstanceLifecyclePolicyOutput).ToGroupInstanceLifecyclePolicyPtrOutputWithContext(ctx)
+}
+
+// GroupInstanceLifecyclePolicyPtrInput is an input type that accepts GroupInstanceLifecyclePolicyArgs, GroupInstanceLifecyclePolicyPtr and GroupInstanceLifecyclePolicyPtrOutput values.
+// You can construct a concrete instance of `GroupInstanceLifecyclePolicyPtrInput` via:
+//
+// GroupInstanceLifecyclePolicyArgs{...}
+//
+// or:
+//
+// nil
+type GroupInstanceLifecyclePolicyPtrInput interface {
+ pulumi.Input
+
+ ToGroupInstanceLifecyclePolicyPtrOutput() GroupInstanceLifecyclePolicyPtrOutput
+ ToGroupInstanceLifecyclePolicyPtrOutputWithContext(context.Context) GroupInstanceLifecyclePolicyPtrOutput
+}
+
+type groupInstanceLifecyclePolicyPtrType GroupInstanceLifecyclePolicyArgs
+
+func GroupInstanceLifecyclePolicyPtr(v *GroupInstanceLifecyclePolicyArgs) GroupInstanceLifecyclePolicyPtrInput {
+ return (*groupInstanceLifecyclePolicyPtrType)(v)
+}
+
+func (*groupInstanceLifecyclePolicyPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**GroupInstanceLifecyclePolicy)(nil)).Elem()
+}
+
+func (i *groupInstanceLifecyclePolicyPtrType) ToGroupInstanceLifecyclePolicyPtrOutput() GroupInstanceLifecyclePolicyPtrOutput {
+ return i.ToGroupInstanceLifecyclePolicyPtrOutputWithContext(context.Background())
+}
+
+func (i *groupInstanceLifecyclePolicyPtrType) ToGroupInstanceLifecyclePolicyPtrOutputWithContext(ctx context.Context) GroupInstanceLifecyclePolicyPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GroupInstanceLifecyclePolicyPtrOutput)
+}
+
+type GroupInstanceLifecyclePolicyOutput struct{ *pulumi.OutputState }
+
+func (GroupInstanceLifecyclePolicyOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GroupInstanceLifecyclePolicy)(nil)).Elem()
+}
+
+func (o GroupInstanceLifecyclePolicyOutput) ToGroupInstanceLifecyclePolicyOutput() GroupInstanceLifecyclePolicyOutput {
+ return o
+}
+
+func (o GroupInstanceLifecyclePolicyOutput) ToGroupInstanceLifecyclePolicyOutputWithContext(ctx context.Context) GroupInstanceLifecyclePolicyOutput {
+ return o
+}
+
+func (o GroupInstanceLifecyclePolicyOutput) ToGroupInstanceLifecyclePolicyPtrOutput() GroupInstanceLifecyclePolicyPtrOutput {
+ return o.ToGroupInstanceLifecyclePolicyPtrOutputWithContext(context.Background())
+}
+
+func (o GroupInstanceLifecyclePolicyOutput) ToGroupInstanceLifecyclePolicyPtrOutputWithContext(ctx context.Context) GroupInstanceLifecyclePolicyPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v GroupInstanceLifecyclePolicy) *GroupInstanceLifecyclePolicy {
+ return &v
+ }).(GroupInstanceLifecyclePolicyPtrOutput)
+}
+
+// Conditions that trigger instance retention behavior. Defined below.
+func (o GroupInstanceLifecyclePolicyOutput) RetentionTriggers() GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput {
+ return o.ApplyT(func(v GroupInstanceLifecyclePolicy) *GroupInstanceLifecyclePolicyRetentionTriggers {
+ return v.RetentionTriggers
+ }).(GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput)
+}
+
+type GroupInstanceLifecyclePolicyPtrOutput struct{ *pulumi.OutputState }
+
+func (GroupInstanceLifecyclePolicyPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**GroupInstanceLifecyclePolicy)(nil)).Elem()
+}
+
+func (o GroupInstanceLifecyclePolicyPtrOutput) ToGroupInstanceLifecyclePolicyPtrOutput() GroupInstanceLifecyclePolicyPtrOutput {
+ return o
+}
+
+func (o GroupInstanceLifecyclePolicyPtrOutput) ToGroupInstanceLifecyclePolicyPtrOutputWithContext(ctx context.Context) GroupInstanceLifecyclePolicyPtrOutput {
+ return o
+}
+
+func (o GroupInstanceLifecyclePolicyPtrOutput) Elem() GroupInstanceLifecyclePolicyOutput {
+ return o.ApplyT(func(v *GroupInstanceLifecyclePolicy) GroupInstanceLifecyclePolicy {
+ if v != nil {
+ return *v
+ }
+ var ret GroupInstanceLifecyclePolicy
+ return ret
+ }).(GroupInstanceLifecyclePolicyOutput)
+}
+
+// Conditions that trigger instance retention behavior. Defined below.
+func (o GroupInstanceLifecyclePolicyPtrOutput) RetentionTriggers() GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput {
+ return o.ApplyT(func(v *GroupInstanceLifecyclePolicy) *GroupInstanceLifecyclePolicyRetentionTriggers {
+ if v == nil {
+ return nil
+ }
+ return v.RetentionTriggers
+ }).(GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput)
+}
+
+type GroupInstanceLifecyclePolicyRetentionTriggers struct {
+ // Action to take when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment. Valid values are `retain` and `terminate`. Set to `retain` to move instances to a retained state instead of terminating them. Retained instances don't count toward desired capacity and remain until you terminate them.
+ TerminateHookAbandon *string `pulumi:"terminateHookAbandon"`
+}
+
+// GroupInstanceLifecyclePolicyRetentionTriggersInput is an input type that accepts GroupInstanceLifecyclePolicyRetentionTriggersArgs and GroupInstanceLifecyclePolicyRetentionTriggersOutput values.
+// You can construct a concrete instance of `GroupInstanceLifecyclePolicyRetentionTriggersInput` via:
+//
+// GroupInstanceLifecyclePolicyRetentionTriggersArgs{...}
+type GroupInstanceLifecyclePolicyRetentionTriggersInput interface {
+ pulumi.Input
+
+ ToGroupInstanceLifecyclePolicyRetentionTriggersOutput() GroupInstanceLifecyclePolicyRetentionTriggersOutput
+ ToGroupInstanceLifecyclePolicyRetentionTriggersOutputWithContext(context.Context) GroupInstanceLifecyclePolicyRetentionTriggersOutput
+}
+
+type GroupInstanceLifecyclePolicyRetentionTriggersArgs struct {
+ // Action to take when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment. Valid values are `retain` and `terminate`. Set to `retain` to move instances to a retained state instead of terminating them. Retained instances don't count toward desired capacity and remain until you terminate them.
+ TerminateHookAbandon pulumi.StringPtrInput `pulumi:"terminateHookAbandon"`
+}
+
+func (GroupInstanceLifecyclePolicyRetentionTriggersArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GroupInstanceLifecyclePolicyRetentionTriggers)(nil)).Elem()
+}
+
+func (i GroupInstanceLifecyclePolicyRetentionTriggersArgs) ToGroupInstanceLifecyclePolicyRetentionTriggersOutput() GroupInstanceLifecyclePolicyRetentionTriggersOutput {
+ return i.ToGroupInstanceLifecyclePolicyRetentionTriggersOutputWithContext(context.Background())
+}
+
+func (i GroupInstanceLifecyclePolicyRetentionTriggersArgs) ToGroupInstanceLifecyclePolicyRetentionTriggersOutputWithContext(ctx context.Context) GroupInstanceLifecyclePolicyRetentionTriggersOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GroupInstanceLifecyclePolicyRetentionTriggersOutput)
+}
+
+func (i GroupInstanceLifecyclePolicyRetentionTriggersArgs) ToGroupInstanceLifecyclePolicyRetentionTriggersPtrOutput() GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput {
+ return i.ToGroupInstanceLifecyclePolicyRetentionTriggersPtrOutputWithContext(context.Background())
+}
+
+func (i GroupInstanceLifecyclePolicyRetentionTriggersArgs) ToGroupInstanceLifecyclePolicyRetentionTriggersPtrOutputWithContext(ctx context.Context) GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GroupInstanceLifecyclePolicyRetentionTriggersOutput).ToGroupInstanceLifecyclePolicyRetentionTriggersPtrOutputWithContext(ctx)
+}
+
+// GroupInstanceLifecyclePolicyRetentionTriggersPtrInput is an input type that accepts GroupInstanceLifecyclePolicyRetentionTriggersArgs, GroupInstanceLifecyclePolicyRetentionTriggersPtr and GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput values.
+// You can construct a concrete instance of `GroupInstanceLifecyclePolicyRetentionTriggersPtrInput` via:
+//
+// GroupInstanceLifecyclePolicyRetentionTriggersArgs{...}
+//
+// or:
+//
+// nil
+type GroupInstanceLifecyclePolicyRetentionTriggersPtrInput interface {
+ pulumi.Input
+
+ ToGroupInstanceLifecyclePolicyRetentionTriggersPtrOutput() GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput
+ ToGroupInstanceLifecyclePolicyRetentionTriggersPtrOutputWithContext(context.Context) GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput
+}
+
+type groupInstanceLifecyclePolicyRetentionTriggersPtrType GroupInstanceLifecyclePolicyRetentionTriggersArgs
+
+func GroupInstanceLifecyclePolicyRetentionTriggersPtr(v *GroupInstanceLifecyclePolicyRetentionTriggersArgs) GroupInstanceLifecyclePolicyRetentionTriggersPtrInput {
+ return (*groupInstanceLifecyclePolicyRetentionTriggersPtrType)(v)
+}
+
+func (*groupInstanceLifecyclePolicyRetentionTriggersPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**GroupInstanceLifecyclePolicyRetentionTriggers)(nil)).Elem()
+}
+
+func (i *groupInstanceLifecyclePolicyRetentionTriggersPtrType) ToGroupInstanceLifecyclePolicyRetentionTriggersPtrOutput() GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput {
+ return i.ToGroupInstanceLifecyclePolicyRetentionTriggersPtrOutputWithContext(context.Background())
+}
+
+func (i *groupInstanceLifecyclePolicyRetentionTriggersPtrType) ToGroupInstanceLifecyclePolicyRetentionTriggersPtrOutputWithContext(ctx context.Context) GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput)
+}
+
+type GroupInstanceLifecyclePolicyRetentionTriggersOutput struct{ *pulumi.OutputState }
+
+func (GroupInstanceLifecyclePolicyRetentionTriggersOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GroupInstanceLifecyclePolicyRetentionTriggers)(nil)).Elem()
+}
+
+func (o GroupInstanceLifecyclePolicyRetentionTriggersOutput) ToGroupInstanceLifecyclePolicyRetentionTriggersOutput() GroupInstanceLifecyclePolicyRetentionTriggersOutput {
+ return o
+}
+
+func (o GroupInstanceLifecyclePolicyRetentionTriggersOutput) ToGroupInstanceLifecyclePolicyRetentionTriggersOutputWithContext(ctx context.Context) GroupInstanceLifecyclePolicyRetentionTriggersOutput {
+ return o
+}
+
+func (o GroupInstanceLifecyclePolicyRetentionTriggersOutput) ToGroupInstanceLifecyclePolicyRetentionTriggersPtrOutput() GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput {
+ return o.ToGroupInstanceLifecyclePolicyRetentionTriggersPtrOutputWithContext(context.Background())
+}
+
+func (o GroupInstanceLifecyclePolicyRetentionTriggersOutput) ToGroupInstanceLifecyclePolicyRetentionTriggersPtrOutputWithContext(ctx context.Context) GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v GroupInstanceLifecyclePolicyRetentionTriggers) *GroupInstanceLifecyclePolicyRetentionTriggers {
+ return &v
+ }).(GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput)
+}
+
+// Action to take when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment. Valid values are `retain` and `terminate`. Set to `retain` to move instances to a retained state instead of terminating them. Retained instances don't count toward desired capacity and remain until you terminate them.
+func (o GroupInstanceLifecyclePolicyRetentionTriggersOutput) TerminateHookAbandon() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v GroupInstanceLifecyclePolicyRetentionTriggers) *string { return v.TerminateHookAbandon }).(pulumi.StringPtrOutput)
+}
+
+type GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput struct{ *pulumi.OutputState }
+
+func (GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**GroupInstanceLifecyclePolicyRetentionTriggers)(nil)).Elem()
+}
+
+func (o GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput) ToGroupInstanceLifecyclePolicyRetentionTriggersPtrOutput() GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput {
+ return o
+}
+
+func (o GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput) ToGroupInstanceLifecyclePolicyRetentionTriggersPtrOutputWithContext(ctx context.Context) GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput {
+ return o
+}
+
+func (o GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput) Elem() GroupInstanceLifecyclePolicyRetentionTriggersOutput {
+ return o.ApplyT(func(v *GroupInstanceLifecyclePolicyRetentionTriggers) GroupInstanceLifecyclePolicyRetentionTriggers {
+ if v != nil {
+ return *v
+ }
+ var ret GroupInstanceLifecyclePolicyRetentionTriggers
+ return ret
+ }).(GroupInstanceLifecyclePolicyRetentionTriggersOutput)
+}
+
+// Action to take when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment. Valid values are `retain` and `terminate`. Set to `retain` to move instances to a retained state instead of terminating them. Retained instances don't count toward desired capacity and remain until you terminate them.
+func (o GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput) TerminateHookAbandon() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *GroupInstanceLifecyclePolicyRetentionTriggers) *string {
+ if v == nil {
+ return nil
+ }
+ return v.TerminateHookAbandon
+ }).(pulumi.StringPtrOutput)
+}
+
type GroupInstanceMaintenancePolicy struct {
// Specifies the upper limit on the number of instances that are in the InService or Pending state with a healthy status during an instance replacement activity.
MaxHealthyPercentage int `pulumi:"maxHealthyPercentage"`
@@ -13144,6 +13420,10 @@ func init() {
pulumi.RegisterInputType(reflect.TypeOf((*GroupCapacityReservationSpecificationCapacityReservationTargetPtrInput)(nil)).Elem(), GroupCapacityReservationSpecificationCapacityReservationTargetArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GroupInitialLifecycleHookInput)(nil)).Elem(), GroupInitialLifecycleHookArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GroupInitialLifecycleHookArrayInput)(nil)).Elem(), GroupInitialLifecycleHookArray{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GroupInstanceLifecyclePolicyInput)(nil)).Elem(), GroupInstanceLifecyclePolicyArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GroupInstanceLifecyclePolicyPtrInput)(nil)).Elem(), GroupInstanceLifecyclePolicyArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GroupInstanceLifecyclePolicyRetentionTriggersInput)(nil)).Elem(), GroupInstanceLifecyclePolicyRetentionTriggersArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GroupInstanceLifecyclePolicyRetentionTriggersPtrInput)(nil)).Elem(), GroupInstanceLifecyclePolicyRetentionTriggersArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GroupInstanceMaintenancePolicyInput)(nil)).Elem(), GroupInstanceMaintenancePolicyArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GroupInstanceMaintenancePolicyPtrInput)(nil)).Elem(), GroupInstanceMaintenancePolicyArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GroupInstanceRefreshInput)(nil)).Elem(), GroupInstanceRefreshArgs{})
@@ -13310,6 +13590,10 @@ func init() {
pulumi.RegisterOutputType(GroupCapacityReservationSpecificationCapacityReservationTargetPtrOutput{})
pulumi.RegisterOutputType(GroupInitialLifecycleHookOutput{})
pulumi.RegisterOutputType(GroupInitialLifecycleHookArrayOutput{})
+ pulumi.RegisterOutputType(GroupInstanceLifecyclePolicyOutput{})
+ pulumi.RegisterOutputType(GroupInstanceLifecyclePolicyPtrOutput{})
+ pulumi.RegisterOutputType(GroupInstanceLifecyclePolicyRetentionTriggersOutput{})
+ pulumi.RegisterOutputType(GroupInstanceLifecyclePolicyRetentionTriggersPtrOutput{})
pulumi.RegisterOutputType(GroupInstanceMaintenancePolicyOutput{})
pulumi.RegisterOutputType(GroupInstanceMaintenancePolicyPtrOutput{})
pulumi.RegisterOutputType(GroupInstanceRefreshOutput{})
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/compositeAlarm.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/compositeAlarm.go
index 8afda8a02..796189ff7 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/compositeAlarm.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/compositeAlarm.go
@@ -53,10 +53,21 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import a CloudWatch Composite Alarm using the `alarmName`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `alarmName` (String) Name of the composite alarm.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Composite Alarms using `alarmName`. For example:
//
// ```sh
-// $ pulumi import aws:cloudwatch/compositeAlarm:CompositeAlarm test my-alarm
+// $ pulumi import aws:cloudwatch/compositeAlarm:CompositeAlarm example example-alarm
// ```
type CompositeAlarm struct {
pulumi.CustomResourceState
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/contributorInsightRule.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/contributorInsightRule.go
index 7ef834ce0..3a8bb3cd7 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/contributorInsightRule.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/contributorInsightRule.go
@@ -46,10 +46,21 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import CloudWatch Contributor Insight Rule using the `ruleName`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `ruleName` (String) Name of the rule.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Contributor Insight Rules using `ruleName`. For example:
//
// ```sh
-// $ pulumi import aws:cloudwatch/contributorInsightRule:ContributorInsightRule example contributor_insight_rule-name
+// $ pulumi import aws:cloudwatch/contributorInsightRule:ContributorInsightRule example example-rule
// ```
type ContributorInsightRule struct {
pulumi.CustomResourceState
@@ -65,7 +76,7 @@ type ContributorInsightRule struct {
// The following arguments are optional:
RuleName pulumi.StringOutput `pulumi:"ruleName"`
// State of the rule. Valid values are `ENABLED` and `DISABLED`.
- RuleState pulumi.StringPtrOutput `pulumi:"ruleState"`
+ RuleState pulumi.StringOutput `pulumi:"ruleState"`
Tags pulumi.StringMapOutput `pulumi:"tags"`
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
@@ -282,8 +293,8 @@ func (o ContributorInsightRuleOutput) RuleName() pulumi.StringOutput {
}
// State of the rule. Valid values are `ENABLED` and `DISABLED`.
-func (o ContributorInsightRuleOutput) RuleState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ContributorInsightRule) pulumi.StringPtrOutput { return v.RuleState }).(pulumi.StringPtrOutput)
+func (o ContributorInsightRuleOutput) RuleState() pulumi.StringOutput {
+ return o.ApplyT(func(v *ContributorInsightRule) pulumi.StringOutput { return v.RuleState }).(pulumi.StringOutput)
}
func (o ContributorInsightRuleOutput) Tags() pulumi.StringMapOutput {
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/contributorManagedInsightRule.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/contributorManagedInsightRule.go
index 7386c421f..db20d723a 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/contributorManagedInsightRule.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/contributorManagedInsightRule.go
@@ -46,10 +46,22 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import CloudWatch Contributor Managed Insight Rule using the `resourceArn`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `resourceArn` (String) ARN of the resource.
+// * `templateName` (String) Name of the template.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Contributor Managed Insight Rules using `resourceArn` and `templateName` separated by a comma (`,`). For example:
//
// ```sh
-// $ pulumi import aws:cloudwatch/contributorManagedInsightRule:ContributorManagedInsightRule example contributor_managed_insight_rule-id-12345678
+// $ pulumi import aws:cloudwatch/contributorManagedInsightRule:ContributorManagedInsightRule example arn:aws:ec2:us-east-1:123456789012:vpc-endpoint-service/vpce-svc-0123456789abcdef0,VpcEndpointService-BytesByEndpointId-v1
// ```
type ContributorManagedInsightRule struct {
pulumi.CustomResourceState
@@ -59,11 +71,12 @@ type ContributorManagedInsightRule struct {
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
// ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
- ResourceArn pulumi.StringOutput `pulumi:"resourceArn"`
- RuleName pulumi.StringOutput `pulumi:"ruleName"`
- State pulumi.StringOutput `pulumi:"state"`
- Tags pulumi.StringMapOutput `pulumi:"tags"`
- TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
+ ResourceArn pulumi.StringOutput `pulumi:"resourceArn"`
+ // Name of the Contributor Insights rule that contains data for the specified AWS resource.
+ RuleName pulumi.StringOutput `pulumi:"ruleName"`
+ State pulumi.StringOutput `pulumi:"state"`
+ Tags pulumi.StringMapOutput `pulumi:"tags"`
+ TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// Template name for the managed Contributor Insights rule, as returned by ListManagedInsightRules.
//
// The following arguments are optional:
@@ -111,11 +124,12 @@ type contributorManagedInsightRuleState struct {
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region *string `pulumi:"region"`
// ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
- ResourceArn *string `pulumi:"resourceArn"`
- RuleName *string `pulumi:"ruleName"`
- State *string `pulumi:"state"`
- Tags map[string]string `pulumi:"tags"`
- TagsAll map[string]string `pulumi:"tagsAll"`
+ ResourceArn *string `pulumi:"resourceArn"`
+ // Name of the Contributor Insights rule that contains data for the specified AWS resource.
+ RuleName *string `pulumi:"ruleName"`
+ State *string `pulumi:"state"`
+ Tags map[string]string `pulumi:"tags"`
+ TagsAll map[string]string `pulumi:"tagsAll"`
// Template name for the managed Contributor Insights rule, as returned by ListManagedInsightRules.
//
// The following arguments are optional:
@@ -129,10 +143,11 @@ type ContributorManagedInsightRuleState struct {
Region pulumi.StringPtrInput
// ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
ResourceArn pulumi.StringPtrInput
- RuleName pulumi.StringPtrInput
- State pulumi.StringPtrInput
- Tags pulumi.StringMapInput
- TagsAll pulumi.StringMapInput
+ // Name of the Contributor Insights rule that contains data for the specified AWS resource.
+ RuleName pulumi.StringPtrInput
+ State pulumi.StringPtrInput
+ Tags pulumi.StringMapInput
+ TagsAll pulumi.StringMapInput
// Template name for the managed Contributor Insights rule, as returned by ListManagedInsightRules.
//
// The following arguments are optional:
@@ -272,6 +287,7 @@ func (o ContributorManagedInsightRuleOutput) ResourceArn() pulumi.StringOutput {
return o.ApplyT(func(v *ContributorManagedInsightRule) pulumi.StringOutput { return v.ResourceArn }).(pulumi.StringOutput)
}
+// Name of the Contributor Insights rule that contains data for the specified AWS resource.
func (o ContributorManagedInsightRuleOutput) RuleName() pulumi.StringOutput {
return o.ApplyT(func(v *ContributorManagedInsightRule) pulumi.StringOutput { return v.RuleName }).(pulumi.StringOutput)
}
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/dashboard.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/dashboard.go
index b772299e4..2f6922cca 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/dashboard.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/dashboard.go
@@ -84,10 +84,21 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import CloudWatch dashboards using the `dashboardName`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `dashboardName` (String) Name of the dashboard.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Dashboards using `dashboardName`. For example:
//
// ```sh
-// $ pulumi import aws:cloudwatch/dashboard:Dashboard sample dashboard_name
+// $ pulumi import aws:cloudwatch/dashboard:Dashboard example example-dashboard
// ```
type Dashboard struct {
pulumi.CustomResourceState
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventApiDestination.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventApiDestination.go
index 552d9c306..0bd826b59 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventApiDestination.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventApiDestination.go
@@ -49,10 +49,21 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import EventBridge API Destinations using the `name`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `name` (String) Name of the API destination.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import API Destinations using `name`. For example:
//
// ```sh
-// $ pulumi import aws:cloudwatch/eventApiDestination:EventApiDestination test api-destination
+// $ pulumi import aws:cloudwatch/eventApiDestination:EventApiDestination example example-destination
// ```
type EventApiDestination struct {
pulumi.CustomResourceState
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventArchive.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventArchive.go
index aed97eee8..cef6a5195 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventArchive.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventArchive.go
@@ -206,10 +206,21 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import an EventBridge archive using the `name`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `name` (String) Name of the archive.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Archives using `name`. For example:
//
// ```sh
-// $ pulumi import aws:cloudwatch/eventArchive:EventArchive imported_event_archive order-archive
+// $ pulumi import aws:cloudwatch/eventArchive:EventArchive example example-archive
// ```
type EventArchive struct {
pulumi.CustomResourceState
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventBus.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventBus.go
index cdcaf5a23..91c7700ee 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventBus.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventBus.go
@@ -426,10 +426,21 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import EventBridge event buses using the name of the event bus (which can also be a partner event source name). For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `name` (String) Name of the event bus.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Buses using `name` (which can also be a partner event source name). For example:
//
// ```sh
-// $ pulumi import aws:cloudwatch/eventBus:EventBus messenger chat-messages
+// $ pulumi import aws:cloudwatch/eventBus:EventBus example example-event-bus
// ```
type EventBus struct {
pulumi.CustomResourceState
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventBusPolicy.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventBusPolicy.go
index 0aa1bd04b..33ea92fa5 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventBusPolicy.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventBusPolicy.go
@@ -225,10 +225,21 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import an EventBridge policy using the `eventBusName`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `eventBusName` (String) Name of the event bus.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Bus Policies using `eventBusName`. For example:
//
// ```sh
-// $ pulumi import aws:cloudwatch/eventBusPolicy:EventBusPolicy DevAccountAccess example-event-bus
+// $ pulumi import aws:cloudwatch/eventBusPolicy:EventBusPolicy example example-event-bus
// ```
type EventBusPolicy struct {
pulumi.CustomResourceState
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventConnection.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventConnection.go
index ad10f9a8a..5c5828bf0 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventConnection.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventConnection.go
@@ -359,10 +359,21 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import EventBridge EventBridge connection using the `name`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `name` (String) Name of the connection.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Connections using `name`. For example:
//
// ```sh
-// $ pulumi import aws:cloudwatch/eventConnection:EventConnection test ngrok-connection
+// $ pulumi import aws:cloudwatch/eventConnection:EventConnection example example-connection
// ```
type EventConnection struct {
pulumi.CustomResourceState
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventEndpoint.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventEndpoint.go
index 52076ce94..4e0c6ba23 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventEndpoint.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventEndpoint.go
@@ -66,10 +66,21 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import EventBridge Global Endpoints using the `name`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `name` (String) Name of the global endpoint.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Global Endpoints using `name`. For example:
//
// ```sh
-// $ pulumi import aws:cloudwatch/eventEndpoint:EventEndpoint imported_endpoint example-endpoint
+// $ pulumi import aws:cloudwatch/eventEndpoint:EventEndpoint example example-endpoint
// ```
type EventEndpoint struct {
pulumi.CustomResourceState
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventPermission.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventPermission.go
index 2b20b1d0a..4713f6d15 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventPermission.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventPermission.go
@@ -81,10 +81,21 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import EventBridge permissions using the `event_bus_name/statement_id` (if you omit `eventBusName`, the `default` event bus will be used). For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `statementId` (String) Statement ID of the EventBridge permission.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Permissions `eventBusName` and `statementId` separated by a forward slash (`/`) (if you omit `eventBusName`, the `default` event bus will be used). For example:
//
// ```sh
-// $ pulumi import aws:cloudwatch/eventPermission:EventPermission DevAccountAccess example-event-bus/DevAccountAccess
+// $ pulumi import aws:cloudwatch/eventPermission:EventPermission example example-event-bus/DevAccountAccess
// ```
type EventPermission struct {
pulumi.CustomResourceState
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventRule.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventRule.go
index 630c013df..2047cbb84 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventRule.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventRule.go
@@ -111,7 +111,6 @@ import (
// #### Optional
//
// * `accountId` (String) AWS Account where this resource is managed.
-// * `eventBusName` (String) Name of the event bus.
// * `region` (String) Region where this resource is managed.
//
// Using `pulumi import`, import EventBridge Rules using the `event_bus_name/rule_name` (if you omit `eventBusName`, the `default` event bus will be used). For example:
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventTarget.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventTarget.go
index dd6ef6563..e587788fa 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventTarget.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventTarget.go
@@ -313,105 +313,111 @@ import (
// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
//
// )
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
-// Statements: []iam.GetPolicyDocumentStatement{
-// {
-// Effect: pulumi.StringRef("Allow"),
-// Principals: []iam.GetPolicyDocumentStatementPrincipal{
-// {
-// Type: "Service",
-// Identifiers: []string{
-// "events.amazonaws.com",
-// },
-// },
-// },
-// Actions: []string{
-// "sts:AssumeRole",
-// },
-// },
-// },
-// }, nil);
-// if err != nil {
-// return err
-// }
-// ecsEvents, err := iam.NewRole(ctx, "ecs_events", &iam.RoleArgs{
-// Name: pulumi.String("ecs_events"),
-// AssumeRolePolicy: pulumi.String(assumeRole.Json),
-// })
-// if err != nil {
-// return err
-// }
-// ecsEventsRunTaskWithAnyRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
-// Statements: []iam.GetPolicyDocumentStatement{
-// {
-// Effect: pulumi.StringRef("Allow"),
-// Actions: []string{
-// "iam:PassRole",
-// },
-// Resources: []string{
-// "*",
-// },
-// },
-// {
-// Effect: pulumi.StringRef("Allow"),
-// Actions: []string{
-// "ecs:RunTask",
-// },
-// Resources: pulumi.StringArray{
-// std.Replace(ctx, {
-// Text: taskName.Arn,
-// Search: "/:\\d+$/",
-// Replace: ":*",
-// }, nil).Result,
-// },
-// },
-// },
-// }, nil);
-// if err != nil {
-// return err
-// }
-// _, err = iam.NewRolePolicy(ctx, "ecs_events_run_task_with_any_role", &iam.RolePolicyArgs{
-// Name: pulumi.String("ecs_events_run_task_with_any_role"),
-// Role: ecsEvents.ID(),
-// Policy: pulumi.String(ecsEventsRunTaskWithAnyRole.Json),
-// })
-// if err != nil {
-// return err
-// }
-// tmpJSON0, err := json.Marshal(map[string]interface{}{
-// "containerOverrides": []map[string]interface{}{
-// map[string]interface{}{
-// "name": "name-of-container-to-override",
-// "command": []string{
-// "bin/console",
-// "scheduled-task",
-// },
-// },
-// },
-// })
-// if err != nil {
-// return err
-// }
-// json0 := string(tmpJSON0)
-// _, err = cloudwatch.NewEventTarget(ctx, "ecs_scheduled_task", &cloudwatch.EventTargetArgs{
-// TargetId: pulumi.String("run-scheduled-task-every-hour"),
-// Arn: pulumi.Any(clusterName.Arn),
-// Rule: pulumi.Any(everyHour.Name),
-// RoleArn: ecsEvents.Arn,
-// EcsTarget: &cloudwatch.EventTargetEcsTargetArgs{
-// TaskCount: pulumi.Int(1),
-// TaskDefinitionArn: pulumi.Any(taskName.Arn),
-// },
-// Input: pulumi.String(json0),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
+//
+// func main() {
+// pulumi.Run(func(ctx *pulumi.Context) error {
+// assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
+// Statements: []iam.GetPolicyDocumentStatement{
+// {
+// Effect: pulumi.StringRef("Allow"),
+// Principals: []iam.GetPolicyDocumentStatementPrincipal{
+// {
+// Type: "Service",
+// Identifiers: []string{
+// "events.amazonaws.com",
+// },
+// },
+// },
+// Actions: []string{
+// "sts:AssumeRole",
+// },
+// },
+// },
+// }, nil)
+// if err != nil {
+// return err
+// }
+// ecsEvents, err := iam.NewRole(ctx, "ecs_events", &iam.RoleArgs{
+// Name: pulumi.String("ecs_events"),
+// AssumeRolePolicy: pulumi.String(assumeRole.Json),
+// })
+// if err != nil {
+// return err
+// }
+// invokeReplace, err := std.Replace(ctx, &std.ReplaceArgs{
+// Text: taskName.Arn,
+// Search: "/:\\d+$/",
+// Replace: ":*",
+// }, nil)
+// if err != nil {
+// return err
+// }
+// ecsEventsRunTaskWithAnyRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
+// Statements: []iam.GetPolicyDocumentStatement{
+// {
+// Effect: pulumi.StringRef("Allow"),
+// Actions: []string{
+// "iam:PassRole",
+// },
+// Resources: []string{
+// "*",
+// },
+// },
+// {
+// Effect: pulumi.StringRef("Allow"),
+// Actions: []string{
+// "ecs:RunTask",
+// },
+// Resources: pulumi.StringArray{
+// invokeReplace.Result,
+// },
+// },
+// },
+// }, nil)
+// if err != nil {
+// return err
+// }
+// _, err = iam.NewRolePolicy(ctx, "ecs_events_run_task_with_any_role", &iam.RolePolicyArgs{
+// Name: pulumi.String("ecs_events_run_task_with_any_role"),
+// Role: ecsEvents.ID(),
+// Policy: pulumi.String(ecsEventsRunTaskWithAnyRole.Json),
+// })
+// if err != nil {
+// return err
+// }
+// tmpJSON0, err := json.Marshal(map[string]interface{}{
+// "containerOverrides": []map[string]interface{}{
+// map[string]interface{}{
+// "name": "name-of-container-to-override",
+// "command": []string{
+// "bin/console",
+// "scheduled-task",
+// },
+// },
+// },
+// })
+// if err != nil {
+// return err
+// }
+// json0 := string(tmpJSON0)
+// _, err = cloudwatch.NewEventTarget(ctx, "ecs_scheduled_task", &cloudwatch.EventTargetArgs{
+// TargetId: pulumi.String("run-scheduled-task-every-hour"),
+// Arn: pulumi.Any(clusterName.Arn),
+// Rule: pulumi.Any(everyHour.Name),
+// RoleArn: ecsEvents.Arn,
+// EcsTarget: &cloudwatch.EventTargetEcsTargetArgs{
+// TaskCount: pulumi.Int(1),
+// TaskDefinitionArn: pulumi.Any(taskName.Arn),
+// },
+// Input: pulumi.String(json0),
+// })
+// if err != nil {
+// return err
+// }
+// return nil
+// })
+// }
+//
// ```
//
// ### API Gateway target
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logAccountPolicy.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logAccountPolicy.go
index cb256b226..8058474f6 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logAccountPolicy.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logAccountPolicy.go
@@ -159,7 +159,19 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import this resource using the `policyName` and `policyType` separated by `:`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `policyName` (String) Name of the account policy.
+// * `policyType` (String) Type of account policy.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Account Policies using `policyName` and `policyType` separated by a colon (`:`). For example:
//
// ```sh
// $ pulumi import aws:cloudwatch/logAccountPolicy:LogAccountPolicy example "my-account-policy:SUBSCRIPTION_FILTER_POLICY"
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logAnomalyDetector.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logAnomalyDetector.go
index d61507665..22307677d 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logAnomalyDetector.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logAnomalyDetector.go
@@ -64,10 +64,16 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import CloudWatch Log Anomaly Detector using the `arn`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// - `arn` (String) ARN of the anomaly detector.
+//
+// Using `pulumi import`, import Anomaly Detectors using `arn`. For example:
//
// ```sh
-// $ pulumi import aws:cloudwatch/logAnomalyDetector:LogAnomalyDetector example log_anomaly_detector-arn-12345678
+// $ pulumi import aws:cloudwatch/logAnomalyDetector:LogAnomalyDetector example arn:aws:logs:us-east-1:123456789012:anomaly-detector:1a2b3c4d-5e6f-7890-abcd-ef1234567890
// ```
type LogAnomalyDetector struct {
pulumi.CustomResourceState
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDataProtectionPolicy.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDataProtectionPolicy.go
index 70d8d8dbd..7a9fcade8 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDataProtectionPolicy.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDataProtectionPolicy.go
@@ -99,7 +99,18 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import this resource using the `logGroupName`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `logGroupName` (String) Name of the log group.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Data Protection Policies using `logGroupName`. For example:
//
// ```sh
// $ pulumi import aws:cloudwatch/logDataProtectionPolicy:LogDataProtectionPolicy example my-log-group
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDelivery.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDelivery.go
index 2a7b86831..4ee5ac7ec 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDelivery.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDelivery.go
@@ -50,7 +50,18 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import CloudWatch Logs Delivery using the `id`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `id` (String) ID of the delivery.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Deliveries using `id`. For example:
//
// ```sh
// $ pulumi import aws:cloudwatch/logDelivery:LogDelivery example jsoGVi4Zq8VlYp9n
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDeliveryDestination.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDeliveryDestination.go
index c7bfa64b1..569f9e0bf 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDeliveryDestination.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDeliveryDestination.go
@@ -73,7 +73,18 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import CloudWatch Logs Delivery Destination using the `name`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `name` (String) Name of the delivery destination.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Delivery Destinations using `name`. For example:
//
// ```sh
// $ pulumi import aws:cloudwatch/logDeliveryDestination:LogDeliveryDestination example example
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDeliveryDestinationPolicy.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDeliveryDestinationPolicy.go
index 988e89a69..6810d93b5 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDeliveryDestinationPolicy.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDeliveryDestinationPolicy.go
@@ -45,7 +45,18 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import CloudWatch Logs Delivery Destination Policy using the `deliveryDestinationName`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `deliveryDestinationName` (String) Name of the delivery destination
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Delivery Destination Policies using `deliveryDestinationName`. For example:
//
// ```sh
// $ pulumi import aws:cloudwatch/logDeliveryDestinationPolicy:LogDeliveryDestinationPolicy example example
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDeliverySource.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDeliverySource.go
index f12fc9ac9..c7c39c31a 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDeliverySource.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDeliverySource.go
@@ -46,7 +46,18 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import CloudWatch Logs Delivery Source using the `name`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `name` (String) Name of the delivery source.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Delivery Sources using `name`. For example:
//
// ```sh
// $ pulumi import aws:cloudwatch/logDeliverySource:LogDeliverySource example example
@@ -56,7 +67,7 @@ type LogDeliverySource struct {
// The Amazon Resource Name (ARN) of the delivery source.
Arn pulumi.StringOutput `pulumi:"arn"`
- // The type of log that the source is sending. For Amazon Bedrock, the valid value is `APPLICATION_LOGS`. For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`. For IAM Identity Center, the valid value is `ERROR_LOGS`. For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`, `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and `WORKMAIL_MAILBOX_ACCESS_LOGS`.
+ // The type of log that the source is sending. For Amazon Bedrock, the valid value is `APPLICATION_LOGS`. For Amazon Bedrock AgentCore, the valid values are `APPLICATION_LOGS`, `TRACES`, and `USAGE_LOGS`. For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`. For IAM Identity Center, the valid value is `ERROR_LOGS`. For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`, `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and `WORKMAIL_MAILBOX_ACCESS_LOGS`. See [Enable logging from AWS services](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html) for the log types supported by each service.
LogType pulumi.StringOutput `pulumi:"logType"`
// The name for this delivery source.
Name pulumi.StringOutput `pulumi:"name"`
@@ -110,7 +121,7 @@ func GetLogDeliverySource(ctx *pulumi.Context,
type logDeliverySourceState struct {
// The Amazon Resource Name (ARN) of the delivery source.
Arn *string `pulumi:"arn"`
- // The type of log that the source is sending. For Amazon Bedrock, the valid value is `APPLICATION_LOGS`. For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`. For IAM Identity Center, the valid value is `ERROR_LOGS`. For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`, `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and `WORKMAIL_MAILBOX_ACCESS_LOGS`.
+ // The type of log that the source is sending. For Amazon Bedrock, the valid value is `APPLICATION_LOGS`. For Amazon Bedrock AgentCore, the valid values are `APPLICATION_LOGS`, `TRACES`, and `USAGE_LOGS`. For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`. For IAM Identity Center, the valid value is `ERROR_LOGS`. For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`, `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and `WORKMAIL_MAILBOX_ACCESS_LOGS`. See [Enable logging from AWS services](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html) for the log types supported by each service.
LogType *string `pulumi:"logType"`
// The name for this delivery source.
Name *string `pulumi:"name"`
@@ -129,7 +140,7 @@ type logDeliverySourceState struct {
type LogDeliverySourceState struct {
// The Amazon Resource Name (ARN) of the delivery source.
Arn pulumi.StringPtrInput
- // The type of log that the source is sending. For Amazon Bedrock, the valid value is `APPLICATION_LOGS`. For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`. For IAM Identity Center, the valid value is `ERROR_LOGS`. For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`, `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and `WORKMAIL_MAILBOX_ACCESS_LOGS`.
+ // The type of log that the source is sending. For Amazon Bedrock, the valid value is `APPLICATION_LOGS`. For Amazon Bedrock AgentCore, the valid values are `APPLICATION_LOGS`, `TRACES`, and `USAGE_LOGS`. For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`. For IAM Identity Center, the valid value is `ERROR_LOGS`. For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`, `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and `WORKMAIL_MAILBOX_ACCESS_LOGS`. See [Enable logging from AWS services](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html) for the log types supported by each service.
LogType pulumi.StringPtrInput
// The name for this delivery source.
Name pulumi.StringPtrInput
@@ -150,7 +161,7 @@ func (LogDeliverySourceState) ElementType() reflect.Type {
}
type logDeliverySourceArgs struct {
- // The type of log that the source is sending. For Amazon Bedrock, the valid value is `APPLICATION_LOGS`. For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`. For IAM Identity Center, the valid value is `ERROR_LOGS`. For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`, `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and `WORKMAIL_MAILBOX_ACCESS_LOGS`.
+ // The type of log that the source is sending. For Amazon Bedrock, the valid value is `APPLICATION_LOGS`. For Amazon Bedrock AgentCore, the valid values are `APPLICATION_LOGS`, `TRACES`, and `USAGE_LOGS`. For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`. For IAM Identity Center, the valid value is `ERROR_LOGS`. For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`, `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and `WORKMAIL_MAILBOX_ACCESS_LOGS`. See [Enable logging from AWS services](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html) for the log types supported by each service.
LogType string `pulumi:"logType"`
// The name for this delivery source.
Name *string `pulumi:"name"`
@@ -164,7 +175,7 @@ type logDeliverySourceArgs struct {
// The set of arguments for constructing a LogDeliverySource resource.
type LogDeliverySourceArgs struct {
- // The type of log that the source is sending. For Amazon Bedrock, the valid value is `APPLICATION_LOGS`. For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`. For IAM Identity Center, the valid value is `ERROR_LOGS`. For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`, `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and `WORKMAIL_MAILBOX_ACCESS_LOGS`.
+ // The type of log that the source is sending. For Amazon Bedrock, the valid value is `APPLICATION_LOGS`. For Amazon Bedrock AgentCore, the valid values are `APPLICATION_LOGS`, `TRACES`, and `USAGE_LOGS`. For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`. For IAM Identity Center, the valid value is `ERROR_LOGS`. For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`, `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and `WORKMAIL_MAILBOX_ACCESS_LOGS`. See [Enable logging from AWS services](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html) for the log types supported by each service.
LogType pulumi.StringInput
// The name for this delivery source.
Name pulumi.StringPtrInput
@@ -268,7 +279,7 @@ func (o LogDeliverySourceOutput) Arn() pulumi.StringOutput {
return o.ApplyT(func(v *LogDeliverySource) pulumi.StringOutput { return v.Arn }).(pulumi.StringOutput)
}
-// The type of log that the source is sending. For Amazon Bedrock, the valid value is `APPLICATION_LOGS`. For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`. For IAM Identity Center, the valid value is `ERROR_LOGS`. For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`, `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and `WORKMAIL_MAILBOX_ACCESS_LOGS`.
+// The type of log that the source is sending. For Amazon Bedrock, the valid value is `APPLICATION_LOGS`. For Amazon Bedrock AgentCore, the valid values are `APPLICATION_LOGS`, `TRACES`, and `USAGE_LOGS`. For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`. For IAM Identity Center, the valid value is `ERROR_LOGS`. For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`, `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and `WORKMAIL_MAILBOX_ACCESS_LOGS`. See [Enable logging from AWS services](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html) for the log types supported by each service.
func (o LogDeliverySourceOutput) LogType() pulumi.StringOutput {
return o.ApplyT(func(v *LogDeliverySource) pulumi.StringOutput { return v.LogType }).(pulumi.StringOutput)
}
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDestination.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDestination.go
index 8600db8cf..6ffa061e7 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDestination.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDestination.go
@@ -44,7 +44,18 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import CloudWatch Logs destinations using the `name`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `name` (String) Name of the destination.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Destinations using `name`. For example:
//
// ```sh
// $ pulumi import aws:cloudwatch/logDestination:LogDestination test_destination test_destination
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDestinationPolicy.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDestinationPolicy.go
index 2d2538fd8..d9f36153e 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDestinationPolicy.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logDestinationPolicy.go
@@ -75,7 +75,18 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import CloudWatch Logs destination policies using the `destinationName`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `destinationName` (String) Name of the destination.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Destination Policies using `destinationName`. For example:
//
// ```sh
// $ pulumi import aws:cloudwatch/logDestinationPolicy:LogDestinationPolicy test_destination_policy test_destination
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logIndexPolicy.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logIndexPolicy.go
index 28a816569..3e8786e53 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logIndexPolicy.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logIndexPolicy.go
@@ -62,7 +62,18 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import CloudWatch Logs Index Policy using the `logGroupName`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `logGroupName` (String) Name of the log group.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Index Policies using `logGroupName`. For example:
//
// ```sh
// $ pulumi import aws:cloudwatch/logIndexPolicy:LogIndexPolicy example /aws/log/group/name
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logResourcePolicy.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logResourcePolicy.go
index 146b9e794..4a9a3574a 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logResourcePolicy.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logResourcePolicy.go
@@ -123,7 +123,18 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import CloudWatch log resource policies using the policy name for account-scoped policies, or the ARN of the CloudWatch Logs resource to which the policy is attached for resource-scoped policies. For example:
+// ### Identity Schema
+//
+// Exactly one of `policyName` or `resourceArn` must be configured.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `policyName` (String) Name of the resource policy.
+// * `region` (String) Region where this resource is managed.
+// * `resourceArn` (String) ARN of the resource to which the policy is attached.
+//
+// Using `pulumi import`, import Resource Policies using `policyName` for account-scoped policies, or `resourceArn` for resource-scoped policies. For example:
//
// ```sh
// $ pulumi import aws:cloudwatch/logResourcePolicy:LogResourcePolicy my_policy_account_scoped my_policy
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logStream.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logStream.go
index 43b6e390c..56e444ca5 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logStream.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logStream.go
@@ -49,10 +49,22 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import Cloudwatch Log Stream using the stream's `logGroupName` and `name`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `logGroupName` (String) Name of the log group.
+// * `name` (String) Name of the stream.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Log Streams using `logGroupName` and `name` separated by a colon (`:`). For example:
//
// ```sh
-// $ pulumi import aws:cloudwatch/logStream:LogStream foo Yada:SampleLogStream1234
+// $ pulumi import aws:cloudwatch/logStream:LogStream example example-group:example-stream
// ```
type LogStream struct {
pulumi.CustomResourceState
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logSubscriptionFilter.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logSubscriptionFilter.go
index 9c05ea2be..3bc9bbea8 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logSubscriptionFilter.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logSubscriptionFilter.go
@@ -73,7 +73,7 @@ type LogSubscriptionFilter struct {
DestinationArn pulumi.StringOutput `pulumi:"destinationArn"`
// Method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
Distribution pulumi.StringPtrOutput `pulumi:"distribution"`
- // List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
+ // List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`, `"@source.log"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
EmitSystemFields pulumi.StringArrayOutput `pulumi:"emitSystemFields"`
// Valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
FilterPattern pulumi.StringOutput `pulumi:"filterPattern"`
@@ -132,7 +132,7 @@ type logSubscriptionFilterState struct {
DestinationArn *string `pulumi:"destinationArn"`
// Method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
Distribution *string `pulumi:"distribution"`
- // List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
+ // List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`, `"@source.log"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
EmitSystemFields []string `pulumi:"emitSystemFields"`
// Valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
FilterPattern *string `pulumi:"filterPattern"`
@@ -153,7 +153,7 @@ type LogSubscriptionFilterState struct {
DestinationArn pulumi.StringPtrInput
// Method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
Distribution pulumi.StringPtrInput
- // List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
+ // List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`, `"@source.log"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
EmitSystemFields pulumi.StringArrayInput
// Valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
FilterPattern pulumi.StringPtrInput
@@ -178,7 +178,7 @@ type logSubscriptionFilterArgs struct {
DestinationArn string `pulumi:"destinationArn"`
// Method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
Distribution *string `pulumi:"distribution"`
- // List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
+ // List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`, `"@source.log"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
EmitSystemFields []string `pulumi:"emitSystemFields"`
// Valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
FilterPattern string `pulumi:"filterPattern"`
@@ -200,7 +200,7 @@ type LogSubscriptionFilterArgs struct {
DestinationArn pulumi.StringInput
// Method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
Distribution pulumi.StringPtrInput
- // List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
+ // List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`, `"@source.log"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
EmitSystemFields pulumi.StringArrayInput
// Valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
FilterPattern pulumi.StringInput
@@ -316,7 +316,7 @@ func (o LogSubscriptionFilterOutput) Distribution() pulumi.StringPtrOutput {
return o.ApplyT(func(v *LogSubscriptionFilter) pulumi.StringPtrOutput { return v.Distribution }).(pulumi.StringPtrOutput)
}
-// List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
+// List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`, `"@source.log"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
func (o LogSubscriptionFilterOutput) EmitSystemFields() pulumi.StringArrayOutput {
return o.ApplyT(func(v *LogSubscriptionFilter) pulumi.StringArrayOutput { return v.EmitSystemFields }).(pulumi.StringArrayOutput)
}
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logTransformer.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logTransformer.go
index 56951a587..87fcf5b83 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logTransformer.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/logTransformer.go
@@ -57,6 +57,12 @@ import (
//
// ## Import
//
+// ### Identity Schema
+//
+// #### Required
+//
+// - `logGroupArn` (String) Amazon Resource Name (ARN) of the CloudWatch Logs log group.
+//
// Using `pulumi import`, import CloudWatch Logs Transformer using the `logGroupArn`. For example:
//
// ```sh
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/metricStream.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/metricStream.go
index 44f49ac1c..9bb28784f 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/metricStream.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/metricStream.go
@@ -255,10 +255,21 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import CloudWatch metric streams using the `name`. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `name` (String) Name of the metric stream.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Metric Streams using `name`. For example:
//
// ```sh
-// $ pulumi import aws:cloudwatch/metricStream:MetricStream sample sample-stream-name
+// $ pulumi import aws:cloudwatch/metricStream:MetricStream example example-stream
// ```
type MetricStream struct {
pulumi.CustomResourceState
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/queryDefinition.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/queryDefinition.go
index a12985286..10cd4f64f 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/queryDefinition.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/queryDefinition.go
@@ -47,7 +47,18 @@ import (
//
// ## Import
//
-// Using `pulumi import`, import CloudWatch query definitions using the query definition ARN. The ARN can be found on the "Edit Query" page for the query in the AWS Console. For example:
+// ### Identity Schema
+//
+// #### Required
+//
+// * `queryDefinitionId` (String) ID of the query definition.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
+// Using `pulumi import`, import Query Definitions using `arn`. The ARN can be found on the "Edit Query" page for the query in the AWS Console. For example:
//
// ```sh
// $ pulumi import aws:cloudwatch/queryDefinition:QueryDefinition example arn:aws:logs:us-west-2:123456789012:query-definition:269951d7-6f75-496d-9d7b-6b7a5486bdbd
@@ -55,6 +66,8 @@ import (
type QueryDefinition struct {
pulumi.CustomResourceState
+ // The query definition ARN.
+ Arn pulumi.StringOutput `pulumi:"arn"`
// Specific log groups to use with the query.
LogGroupNames pulumi.StringArrayOutput `pulumi:"logGroupNames"`
// The name of the query.
@@ -100,6 +113,8 @@ func GetQueryDefinition(ctx *pulumi.Context,
// Input properties used for looking up and filtering QueryDefinition resources.
type queryDefinitionState struct {
+ // The query definition ARN.
+ Arn *string `pulumi:"arn"`
// Specific log groups to use with the query.
LogGroupNames []string `pulumi:"logGroupNames"`
// The name of the query.
@@ -113,6 +128,8 @@ type queryDefinitionState struct {
}
type QueryDefinitionState struct {
+ // The query definition ARN.
+ Arn pulumi.StringPtrInput
// Specific log groups to use with the query.
LogGroupNames pulumi.StringArrayInput
// The name of the query.
@@ -239,6 +256,11 @@ func (o QueryDefinitionOutput) ToQueryDefinitionOutputWithContext(ctx context.Co
return o
}
+// The query definition ARN.
+func (o QueryDefinitionOutput) Arn() pulumi.StringOutput {
+ return o.ApplyT(func(v *QueryDefinition) pulumi.StringOutput { return v.Arn }).(pulumi.StringOutput)
+}
+
// Specific log groups to use with the query.
func (o QueryDefinitionOutput) LogGroupNames() pulumi.StringArrayOutput {
return o.ApplyT(func(v *QueryDefinition) pulumi.StringArrayOutput { return v.LogGroupNames }).(pulumi.StringArrayOutput)
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/capacityBlockReservation.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/capacityBlockReservation.go
index ba1507220..f619eb353 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/capacityBlockReservation.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/capacityBlockReservation.go
@@ -36,7 +36,7 @@ import (
// CapacityDurationHours: 24,
// EndDateRange: pulumi.StringRef("2024-05-30T15:04:05Z"),
// InstanceCount: 1,
-// InstanceType: "p4d.24xlarge",
+// InstanceType: "p5.4xlarge",
// StartDateRange: pulumi.StringRef("2024-04-28T15:04:05Z"),
// }, nil)
// if err != nil {
@@ -45,9 +45,6 @@ import (
// _, err = ec2.NewCapacityBlockReservation(ctx, "example", &ec2.CapacityBlockReservationArgs{
// CapacityBlockOfferingId: pulumi.String(test.CapacityBlockOfferingId),
// InstancePlatform: pulumi.String("Linux/UNIX"),
-// Tags: pulumi.StringMap{
-// "Environment": pulumi.String("dev"),
-// },
// })
// if err != nil {
// return err
@@ -75,6 +72,8 @@ type CapacityBlockReservation struct {
// Indicates the way in which the Capacity Reservation ends.
EndDateType pulumi.StringOutput `pulumi:"endDateType"`
// The number of instances for which to reserve capacity.
+ // This value will not be set until the Capacity Block Reservation is active.
+ // The requested instance count is set in the tag `aws:ec2capacityreservation:incrementalRequestedQuantity`.
InstanceCount pulumi.IntOutput `pulumi:"instanceCount"`
// The type of operating system for which to reserve capacity. Valid options are `Linux/UNIX`, `Red Hat Enterprise Linux`, `SUSE Linux`, `Windows`, `Windows with SQL Server`, `Windows with SQL Server Enterprise`, `Windows with SQL Server Standard` or `Windows with SQL Server Web`.
InstancePlatform pulumi.StringOutput `pulumi:"instancePlatform"`
@@ -150,6 +149,8 @@ type capacityBlockReservationState struct {
// Indicates the way in which the Capacity Reservation ends.
EndDateType *string `pulumi:"endDateType"`
// The number of instances for which to reserve capacity.
+ // This value will not be set until the Capacity Block Reservation is active.
+ // The requested instance count is set in the tag `aws:ec2capacityreservation:incrementalRequestedQuantity`.
InstanceCount *int `pulumi:"instanceCount"`
// The type of operating system for which to reserve capacity. Valid options are `Linux/UNIX`, `Red Hat Enterprise Linux`, `SUSE Linux`, `Windows`, `Windows with SQL Server`, `Windows with SQL Server Enterprise`, `Windows with SQL Server Standard` or `Windows with SQL Server Web`.
InstancePlatform *string `pulumi:"instancePlatform"`
@@ -190,6 +191,8 @@ type CapacityBlockReservationState struct {
// Indicates the way in which the Capacity Reservation ends.
EndDateType pulumi.StringPtrInput
// The number of instances for which to reserve capacity.
+ // This value will not be set until the Capacity Block Reservation is active.
+ // The requested instance count is set in the tag `aws:ec2capacityreservation:incrementalRequestedQuantity`.
InstanceCount pulumi.IntPtrInput
// The type of operating system for which to reserve capacity. Valid options are `Linux/UNIX`, `Red Hat Enterprise Linux`, `SUSE Linux`, `Windows`, `Windows with SQL Server`, `Windows with SQL Server Enterprise`, `Windows with SQL Server Standard` or `Windows with SQL Server Web`.
InstancePlatform pulumi.StringPtrInput
@@ -366,6 +369,8 @@ func (o CapacityBlockReservationOutput) EndDateType() pulumi.StringOutput {
}
// The number of instances for which to reserve capacity.
+// This value will not be set until the Capacity Block Reservation is active.
+// The requested instance count is set in the tag `aws:ec2capacityreservation:incrementalRequestedQuantity`.
func (o CapacityBlockReservationOutput) InstanceCount() pulumi.IntOutput {
return o.ApplyT(func(v *CapacityBlockReservation) pulumi.IntOutput { return v.InstanceCount }).(pulumi.IntOutput)
}
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/defaultVpc.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/defaultVpc.go
index 51029bdd9..344443bbb 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/defaultVpc.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/defaultVpc.go
@@ -55,6 +55,17 @@ import (
//
// ## Import
//
+// ### Identity Schema
+//
+// #### Required
+//
+// * `id` (String) VPC ID.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS account ID for this resource.
+// * `region` (String) AWS Region for this resource.
+//
// Using `pulumi import`, import Default VPCs using the VPC `id`. For example:
//
// ```sh
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/flowLog.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/flowLog.go
index de40d36fe..05af9d376 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/flowLog.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/flowLog.go
@@ -413,6 +413,8 @@ type FlowLog struct {
RegionalNatGatewayId pulumi.StringPtrOutput `pulumi:"regionalNatGatewayId"`
// Subnet ID to attach to.
SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"`
+ // Tag configuration for the Flow Logs Amazon EC2 Tags feature fields (e.g., `$${instance-tag}`) used in `logFormat`. More details below.
+ TagFieldSpecifications FlowLogTagFieldSpecificationArrayOutput `pulumi:"tagFieldSpecifications"`
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
@@ -485,6 +487,8 @@ type flowLogState struct {
RegionalNatGatewayId *string `pulumi:"regionalNatGatewayId"`
// Subnet ID to attach to.
SubnetId *string `pulumi:"subnetId"`
+ // Tag configuration for the Flow Logs Amazon EC2 Tags feature fields (e.g., `$${instance-tag}`) used in `logFormat`. More details below.
+ TagFieldSpecifications []FlowLogTagFieldSpecification `pulumi:"tagFieldSpecifications"`
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags map[string]string `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
@@ -528,6 +532,8 @@ type FlowLogState struct {
RegionalNatGatewayId pulumi.StringPtrInput
// Subnet ID to attach to.
SubnetId pulumi.StringPtrInput
+ // Tag configuration for the Flow Logs Amazon EC2 Tags feature fields (e.g., `$${instance-tag}`) used in `logFormat`. More details below.
+ TagFieldSpecifications FlowLogTagFieldSpecificationArrayInput
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
@@ -573,6 +579,8 @@ type flowLogArgs struct {
RegionalNatGatewayId *string `pulumi:"regionalNatGatewayId"`
// Subnet ID to attach to.
SubnetId *string `pulumi:"subnetId"`
+ // Tag configuration for the Flow Logs Amazon EC2 Tags feature fields (e.g., `$${instance-tag}`) used in `logFormat`. More details below.
+ TagFieldSpecifications []FlowLogTagFieldSpecification `pulumi:"tagFieldSpecifications"`
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags map[string]string `pulumi:"tags"`
// The type of traffic to capture. Valid values: `ACCEPT`,`REJECT`, `ALL`. Required if `eniId`, `regionalNatGatewayId`, `subnetId`, or `vpcId` is specified.
@@ -613,6 +621,8 @@ type FlowLogArgs struct {
RegionalNatGatewayId pulumi.StringPtrInput
// Subnet ID to attach to.
SubnetId pulumi.StringPtrInput
+ // Tag configuration for the Flow Logs Amazon EC2 Tags feature fields (e.g., `$${instance-tag}`) used in `logFormat`. More details below.
+ TagFieldSpecifications FlowLogTagFieldSpecificationArrayInput
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// The type of traffic to capture. Valid values: `ACCEPT`,`REJECT`, `ALL`. Required if `eniId`, `regionalNatGatewayId`, `subnetId`, or `vpcId` is specified.
@@ -776,6 +786,11 @@ func (o FlowLogOutput) SubnetId() pulumi.StringPtrOutput {
return o.ApplyT(func(v *FlowLog) pulumi.StringPtrOutput { return v.SubnetId }).(pulumi.StringPtrOutput)
}
+// Tag configuration for the Flow Logs Amazon EC2 Tags feature fields (e.g., `$${instance-tag}`) used in `logFormat`. More details below.
+func (o FlowLogOutput) TagFieldSpecifications() FlowLogTagFieldSpecificationArrayOutput {
+ return o.ApplyT(func(v *FlowLog) FlowLogTagFieldSpecificationArrayOutput { return v.TagFieldSpecifications }).(FlowLogTagFieldSpecificationArrayOutput)
+}
+
// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (o FlowLogOutput) Tags() pulumi.StringMapOutput {
return o.ApplyT(func(v *FlowLog) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput)
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getCapacityBlockReservation.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getCapacityBlockReservation.go
new file mode 100644
index 000000000..205db3034
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getCapacityBlockReservation.go
@@ -0,0 +1,379 @@
+// Code generated by pulumi-language-go DO NOT EDIT.
+// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
+
+package ec2
+
+import (
+ "context"
+ "reflect"
+
+ "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal"
+ "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+)
+
+// Information about an existing EC2 Capacity Block reservation.
+//
+// This data source returns only Capacity Reservations whose `reservationType` is `capacity-block`. Use the `ec2.CapacityReservation` data source to look up On-Demand Capacity Reservations (ODCR).
+//
+// At least one of `id` or `filter` must be specified. Filter combinations that match multiple Capacity Block reservations will return an error.
+//
+// ## Example Usage
+//
+// ### Lookup by ID
+//
+// ```go
+// package main
+//
+// import (
+//
+// "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2"
+// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+//
+// )
+//
+// func main() {
+// pulumi.Run(func(ctx *pulumi.Context) error {
+// _, err := ec2.LookupCapacityBlockReservation(ctx, &ec2.LookupCapacityBlockReservationArgs{
+// Id: pulumi.StringRef("cr-0123456789abcdef0"),
+// }, nil)
+// if err != nil {
+// return err
+// }
+// return nil
+// })
+// }
+//
+// ```
+//
+// ### Lookup by filter
+//
+// ```go
+// package main
+//
+// import (
+//
+// "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2"
+// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+//
+// )
+//
+// func main() {
+// pulumi.Run(func(ctx *pulumi.Context) error {
+// _, err := ec2.LookupCapacityBlockReservation(ctx, &ec2.LookupCapacityBlockReservationArgs{
+// Filters: []ec2.GetCapacityBlockReservationFilter{
+// {
+// Name: "instance-type",
+// Values: []string{
+// "p4d.24xlarge",
+// },
+// },
+// {
+// Name: "state",
+// Values: []string{
+// "active",
+// },
+// },
+// },
+// }, nil)
+// if err != nil {
+// return err
+// }
+// return nil
+// })
+// }
+//
+// ```
+//
+// ### Lookup by tag
+//
+// ```go
+// package main
+//
+// import (
+//
+// "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2"
+// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+//
+// )
+//
+// func main() {
+// pulumi.Run(func(ctx *pulumi.Context) error {
+// _, err := ec2.LookupCapacityBlockReservation(ctx, &ec2.LookupCapacityBlockReservationArgs{
+// Filters: []ec2.GetCapacityBlockReservationFilter{
+// {
+// Name: "tag:Project",
+// Values: []string{
+// "ml-training",
+// },
+// },
+// },
+// }, nil)
+// if err != nil {
+// return err
+// }
+// return nil
+// })
+// }
+//
+// ```
+func LookupCapacityBlockReservation(ctx *pulumi.Context, args *LookupCapacityBlockReservationArgs, opts ...pulumi.InvokeOption) (*LookupCapacityBlockReservationResult, error) {
+ opts = internal.PkgInvokeDefaultOpts(opts)
+ var rv LookupCapacityBlockReservationResult
+ err := ctx.Invoke("aws:ec2/getCapacityBlockReservation:getCapacityBlockReservation", args, &rv, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return &rv, nil
+}
+
+// A collection of arguments for invoking getCapacityBlockReservation.
+type LookupCapacityBlockReservationArgs struct {
+ // Configuration block(s) for filtering. Detailed below.
+ Filters []GetCapacityBlockReservationFilter `pulumi:"filters"`
+ // ID of the Capacity Block reservation to retrieve.
+ Id *string `pulumi:"id"`
+ // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
+ Region *string `pulumi:"region"`
+}
+
+// A collection of values returned by getCapacityBlockReservation.
+type LookupCapacityBlockReservationResult struct {
+ // ARN of the Capacity Block reservation.
+ Arn string `pulumi:"arn"`
+ // Availability Zone in which the capacity is reserved.
+ AvailabilityZone string `pulumi:"availabilityZone"`
+ // ID of the Availability Zone in which the capacity is reserved.
+ AvailabilityZoneId string `pulumi:"availabilityZoneId"`
+ // Remaining capacity, indicating the number of instances that can still be launched into the Capacity Block reservation.
+ AvailableInstanceCount int `pulumi:"availableInstanceCount"`
+ // ID of the underlying Capacity Block.
+ CapacityBlockId string `pulumi:"capacityBlockId"`
+ // Information about your commitment for a future-dated Capacity Block reservation. See `commitmentInfo` Attribute Reference below.
+ CommitmentInfo GetCapacityBlockReservationCommitmentInfo `pulumi:"commitmentInfo"`
+ // Date and time the Capacity Block reservation was created in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
+ CreatedDate string `pulumi:"createdDate"`
+ // Delivery method for a future-dated Capacity Block reservation. Either `fixed` or `incremental`.
+ DeliveryPreference string `pulumi:"deliveryPreference"`
+ // Whether the Capacity Block reservation supports EBS-optimized instances.
+ EbsOptimized bool `pulumi:"ebsOptimized"`
+ // Date and time the Capacity Block reservation expires in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
+ EndDate string `pulumi:"endDate"`
+ // End type of the Capacity Block reservation. Either `limited` or `unlimited`.
+ EndDateType string `pulumi:"endDateType"`
+ Filters []GetCapacityBlockReservationFilter `pulumi:"filters"`
+ Id string `pulumi:"id"`
+ // Number of instances allocated as interruptible capacity within the Capacity Block reservation.
+ InstanceCount int `pulumi:"instanceCount"`
+ // Type of instance launches that the Capacity Block accepts. Either `open` or `targeted`.
+ InstanceMatchCriteria string `pulumi:"instanceMatchCriteria"`
+ // Operating system platform for which the Capacity Block reserves capacity.
+ InstancePlatform string `pulumi:"instancePlatform"`
+ // Instance type for which the Capacity Block reserves capacity.
+ InstanceType string `pulumi:"instanceType"`
+ // Information about the interruptible capacity allocation, if applicable. See `interruptibleCapacityAllocation` Attribute Reference below.
+ InterruptibleCapacityAllocation GetCapacityBlockReservationInterruptibleCapacityAllocation `pulumi:"interruptibleCapacityAllocation"`
+ // Information about an interrupted Capacity Block reservation, if applicable. See `interruptionInfo` Attribute Reference below.
+ InterruptionInfo GetCapacityBlockReservationInterruptionInfo `pulumi:"interruptionInfo"`
+ // ARN of the Outpost on which the Capacity Block was created, if applicable.
+ OutpostArn string `pulumi:"outpostArn"`
+ // ID of the AWS account that owns the Capacity Block reservation.
+ OwnerId string `pulumi:"ownerId"`
+ // ARN of the cluster placement group in which the Capacity Block was created, if applicable.
+ PlacementGroupArn string `pulumi:"placementGroupArn"`
+ Region string `pulumi:"region"`
+ // Type of Capacity Reservation. Always `capacity-block` for this data source.
+ ReservationType string `pulumi:"reservationType"`
+ // Date and time the Capacity Block reservation was started in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
+ StartDate string `pulumi:"startDate"`
+ // Current state of the Capacity Block reservation. One of `active`, `expired`, `cancelled`, `pending`, `failed`, `scheduled`, `payment-pending`, `payment-failed`, or `assessing`.
+ State string `pulumi:"state"`
+ // Map of tags assigned to the Capacity Block reservation.
+ Tags map[string]string `pulumi:"tags"`
+ // Tenancy of the Capacity Block. Either `default` or `dedicated`.
+ Tenancy string `pulumi:"tenancy"`
+}
+
+func LookupCapacityBlockReservationOutput(ctx *pulumi.Context, args LookupCapacityBlockReservationOutputArgs, opts ...pulumi.InvokeOption) LookupCapacityBlockReservationResultOutput {
+ return pulumi.ToOutputWithContext(ctx.Context(), args).
+ ApplyT(func(v interface{}) (LookupCapacityBlockReservationResultOutput, error) {
+ args := v.(LookupCapacityBlockReservationArgs)
+ options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)}
+ return ctx.InvokeOutput("aws:ec2/getCapacityBlockReservation:getCapacityBlockReservation", args, LookupCapacityBlockReservationResultOutput{}, options).(LookupCapacityBlockReservationResultOutput), nil
+ }).(LookupCapacityBlockReservationResultOutput)
+}
+
+// A collection of arguments for invoking getCapacityBlockReservation.
+type LookupCapacityBlockReservationOutputArgs struct {
+ // Configuration block(s) for filtering. Detailed below.
+ Filters GetCapacityBlockReservationFilterArrayInput `pulumi:"filters"`
+ // ID of the Capacity Block reservation to retrieve.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
+ Region pulumi.StringPtrInput `pulumi:"region"`
+}
+
+func (LookupCapacityBlockReservationOutputArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*LookupCapacityBlockReservationArgs)(nil)).Elem()
+}
+
+// A collection of values returned by getCapacityBlockReservation.
+type LookupCapacityBlockReservationResultOutput struct{ *pulumi.OutputState }
+
+func (LookupCapacityBlockReservationResultOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*LookupCapacityBlockReservationResult)(nil)).Elem()
+}
+
+func (o LookupCapacityBlockReservationResultOutput) ToLookupCapacityBlockReservationResultOutput() LookupCapacityBlockReservationResultOutput {
+ return o
+}
+
+func (o LookupCapacityBlockReservationResultOutput) ToLookupCapacityBlockReservationResultOutputWithContext(ctx context.Context) LookupCapacityBlockReservationResultOutput {
+ return o
+}
+
+// ARN of the Capacity Block reservation.
+func (o LookupCapacityBlockReservationResultOutput) Arn() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.Arn }).(pulumi.StringOutput)
+}
+
+// Availability Zone in which the capacity is reserved.
+func (o LookupCapacityBlockReservationResultOutput) AvailabilityZone() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.AvailabilityZone }).(pulumi.StringOutput)
+}
+
+// ID of the Availability Zone in which the capacity is reserved.
+func (o LookupCapacityBlockReservationResultOutput) AvailabilityZoneId() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.AvailabilityZoneId }).(pulumi.StringOutput)
+}
+
+// Remaining capacity, indicating the number of instances that can still be launched into the Capacity Block reservation.
+func (o LookupCapacityBlockReservationResultOutput) AvailableInstanceCount() pulumi.IntOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) int { return v.AvailableInstanceCount }).(pulumi.IntOutput)
+}
+
+// ID of the underlying Capacity Block.
+func (o LookupCapacityBlockReservationResultOutput) CapacityBlockId() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.CapacityBlockId }).(pulumi.StringOutput)
+}
+
+// Information about your commitment for a future-dated Capacity Block reservation. See `commitmentInfo` Attribute Reference below.
+func (o LookupCapacityBlockReservationResultOutput) CommitmentInfo() GetCapacityBlockReservationCommitmentInfoOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) GetCapacityBlockReservationCommitmentInfo {
+ return v.CommitmentInfo
+ }).(GetCapacityBlockReservationCommitmentInfoOutput)
+}
+
+// Date and time the Capacity Block reservation was created in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
+func (o LookupCapacityBlockReservationResultOutput) CreatedDate() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.CreatedDate }).(pulumi.StringOutput)
+}
+
+// Delivery method for a future-dated Capacity Block reservation. Either `fixed` or `incremental`.
+func (o LookupCapacityBlockReservationResultOutput) DeliveryPreference() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.DeliveryPreference }).(pulumi.StringOutput)
+}
+
+// Whether the Capacity Block reservation supports EBS-optimized instances.
+func (o LookupCapacityBlockReservationResultOutput) EbsOptimized() pulumi.BoolOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) bool { return v.EbsOptimized }).(pulumi.BoolOutput)
+}
+
+// Date and time the Capacity Block reservation expires in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
+func (o LookupCapacityBlockReservationResultOutput) EndDate() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.EndDate }).(pulumi.StringOutput)
+}
+
+// End type of the Capacity Block reservation. Either `limited` or `unlimited`.
+func (o LookupCapacityBlockReservationResultOutput) EndDateType() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.EndDateType }).(pulumi.StringOutput)
+}
+
+func (o LookupCapacityBlockReservationResultOutput) Filters() GetCapacityBlockReservationFilterArrayOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) []GetCapacityBlockReservationFilter { return v.Filters }).(GetCapacityBlockReservationFilterArrayOutput)
+}
+
+func (o LookupCapacityBlockReservationResultOutput) Id() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.Id }).(pulumi.StringOutput)
+}
+
+// Number of instances allocated as interruptible capacity within the Capacity Block reservation.
+func (o LookupCapacityBlockReservationResultOutput) InstanceCount() pulumi.IntOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) int { return v.InstanceCount }).(pulumi.IntOutput)
+}
+
+// Type of instance launches that the Capacity Block accepts. Either `open` or `targeted`.
+func (o LookupCapacityBlockReservationResultOutput) InstanceMatchCriteria() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.InstanceMatchCriteria }).(pulumi.StringOutput)
+}
+
+// Operating system platform for which the Capacity Block reserves capacity.
+func (o LookupCapacityBlockReservationResultOutput) InstancePlatform() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.InstancePlatform }).(pulumi.StringOutput)
+}
+
+// Instance type for which the Capacity Block reserves capacity.
+func (o LookupCapacityBlockReservationResultOutput) InstanceType() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.InstanceType }).(pulumi.StringOutput)
+}
+
+// Information about the interruptible capacity allocation, if applicable. See `interruptibleCapacityAllocation` Attribute Reference below.
+func (o LookupCapacityBlockReservationResultOutput) InterruptibleCapacityAllocation() GetCapacityBlockReservationInterruptibleCapacityAllocationOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) GetCapacityBlockReservationInterruptibleCapacityAllocation {
+ return v.InterruptibleCapacityAllocation
+ }).(GetCapacityBlockReservationInterruptibleCapacityAllocationOutput)
+}
+
+// Information about an interrupted Capacity Block reservation, if applicable. See `interruptionInfo` Attribute Reference below.
+func (o LookupCapacityBlockReservationResultOutput) InterruptionInfo() GetCapacityBlockReservationInterruptionInfoOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) GetCapacityBlockReservationInterruptionInfo {
+ return v.InterruptionInfo
+ }).(GetCapacityBlockReservationInterruptionInfoOutput)
+}
+
+// ARN of the Outpost on which the Capacity Block was created, if applicable.
+func (o LookupCapacityBlockReservationResultOutput) OutpostArn() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.OutpostArn }).(pulumi.StringOutput)
+}
+
+// ID of the AWS account that owns the Capacity Block reservation.
+func (o LookupCapacityBlockReservationResultOutput) OwnerId() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.OwnerId }).(pulumi.StringOutput)
+}
+
+// ARN of the cluster placement group in which the Capacity Block was created, if applicable.
+func (o LookupCapacityBlockReservationResultOutput) PlacementGroupArn() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.PlacementGroupArn }).(pulumi.StringOutput)
+}
+
+func (o LookupCapacityBlockReservationResultOutput) Region() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.Region }).(pulumi.StringOutput)
+}
+
+// Type of Capacity Reservation. Always `capacity-block` for this data source.
+func (o LookupCapacityBlockReservationResultOutput) ReservationType() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.ReservationType }).(pulumi.StringOutput)
+}
+
+// Date and time the Capacity Block reservation was started in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
+func (o LookupCapacityBlockReservationResultOutput) StartDate() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.StartDate }).(pulumi.StringOutput)
+}
+
+// Current state of the Capacity Block reservation. One of `active`, `expired`, `cancelled`, `pending`, `failed`, `scheduled`, `payment-pending`, `payment-failed`, or `assessing`.
+func (o LookupCapacityBlockReservationResultOutput) State() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.State }).(pulumi.StringOutput)
+}
+
+// Map of tags assigned to the Capacity Block reservation.
+func (o LookupCapacityBlockReservationResultOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+}
+
+// Tenancy of the Capacity Block. Either `default` or `dedicated`.
+func (o LookupCapacityBlockReservationResultOutput) Tenancy() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupCapacityBlockReservationResult) string { return v.Tenancy }).(pulumi.StringOutput)
+}
+
+func init() {
+ pulumi.RegisterOutputType(LookupCapacityBlockReservationResultOutput{})
+}
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/imageBlockPublicAccess.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/imageBlockPublicAccess.go
index 292759c8b..e355dda36 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/imageBlockPublicAccess.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/imageBlockPublicAccess.go
@@ -46,7 +46,12 @@ import (
//
// ## Import
//
-// You cannot import this resource.
+// ### Identity Schema
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
type ImageBlockPublicAccess struct {
pulumi.CustomResourceState
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/launchTemplate.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/launchTemplate.go
index 7fb053585..7b707ec3d 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/launchTemplate.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/launchTemplate.go
@@ -40,7 +40,7 @@ type LaunchTemplate struct {
CreditSpecification LaunchTemplateCreditSpecificationPtrOutput `pulumi:"creditSpecification"`
// Default Version of the launch template.
DefaultVersion pulumi.IntOutput `pulumi:"defaultVersion"`
- // Description of the launch template.
+ // Description of the launch template version (`VersionDescription` in the [EC2 API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplateVersion.html)). Launch templates in AWS do not have a template-level description; whenever a change to this resource creates a new version, the new version is created with this description. To give each version a distinct description, update this argument in the same apply as the other changes.
Description pulumi.StringPtrOutput `pulumi:"description"`
// If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html).
DisableApiStop pulumi.BoolPtrOutput `pulumi:"disableApiStop"`
@@ -162,7 +162,7 @@ type launchTemplateState struct {
CreditSpecification *LaunchTemplateCreditSpecification `pulumi:"creditSpecification"`
// Default Version of the launch template.
DefaultVersion *int `pulumi:"defaultVersion"`
- // Description of the launch template.
+ // Description of the launch template version (`VersionDescription` in the [EC2 API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplateVersion.html)). Launch templates in AWS do not have a template-level description; whenever a change to this resource creates a new version, the new version is created with this description. To give each version a distinct description, update this argument in the same apply as the other changes.
Description *string `pulumi:"description"`
// If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html).
DisableApiStop *bool `pulumi:"disableApiStop"`
@@ -255,7 +255,7 @@ type LaunchTemplateState struct {
CreditSpecification LaunchTemplateCreditSpecificationPtrInput
// Default Version of the launch template.
DefaultVersion pulumi.IntPtrInput
- // Description of the launch template.
+ // Description of the launch template version (`VersionDescription` in the [EC2 API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplateVersion.html)). Launch templates in AWS do not have a template-level description; whenever a change to this resource creates a new version, the new version is created with this description. To give each version a distinct description, update this argument in the same apply as the other changes.
Description pulumi.StringPtrInput
// If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html).
DisableApiStop pulumi.BoolPtrInput
@@ -350,7 +350,7 @@ type launchTemplateArgs struct {
CreditSpecification *LaunchTemplateCreditSpecification `pulumi:"creditSpecification"`
// Default Version of the launch template.
DefaultVersion *int `pulumi:"defaultVersion"`
- // Description of the launch template.
+ // Description of the launch template version (`VersionDescription` in the [EC2 API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplateVersion.html)). Launch templates in AWS do not have a template-level description; whenever a change to this resource creates a new version, the new version is created with this description. To give each version a distinct description, update this argument in the same apply as the other changes.
Description *string `pulumi:"description"`
// If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html).
DisableApiStop *bool `pulumi:"disableApiStop"`
@@ -438,7 +438,7 @@ type LaunchTemplateArgs struct {
CreditSpecification LaunchTemplateCreditSpecificationPtrInput
// Default Version of the launch template.
DefaultVersion pulumi.IntPtrInput
- // Description of the launch template.
+ // Description of the launch template version (`VersionDescription` in the [EC2 API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplateVersion.html)). Launch templates in AWS do not have a template-level description; whenever a change to this resource creates a new version, the new version is created with this description. To give each version a distinct description, update this argument in the same apply as the other changes.
Description pulumi.StringPtrInput
// If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html).
DisableApiStop pulumi.BoolPtrInput
@@ -633,7 +633,7 @@ func (o LaunchTemplateOutput) DefaultVersion() pulumi.IntOutput {
return o.ApplyT(func(v *LaunchTemplate) pulumi.IntOutput { return v.DefaultVersion }).(pulumi.IntOutput)
}
-// Description of the launch template.
+// Description of the launch template version (`VersionDescription` in the [EC2 API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplateVersion.html)). Launch templates in AWS do not have a template-level description; whenever a change to this resource creates a new version, the new version is created with this description. To give each version a distinct description, update this argument in the same apply as the other changes.
func (o LaunchTemplateOutput) Description() pulumi.StringPtrOutput {
return o.ApplyT(func(v *LaunchTemplate) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput)
}
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/networkInterface.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/networkInterface.go
index 1a787d7b2..c9e2ae2ff 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/networkInterface.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/networkInterface.go
@@ -71,6 +71,17 @@ import (
//
// ## Import
//
+// ### Identity Schema
+//
+// #### Required
+//
+// * `id` (String) ID of the network interface.
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
// Using `pulumi import`, import Network Interfaces using the `id`. For example:
//
// ```sh
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/pulumiTypes.go
index 44999a9e9..f26d0e602 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/pulumiTypes.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/pulumiTypes.go
@@ -8361,6 +8361,112 @@ func (o FlowLogDestinationOptionsPtrOutput) PerHourPartition() pulumi.BoolPtrOut
}).(pulumi.BoolPtrOutput)
}
+type FlowLogTagFieldSpecification struct {
+ // Resource type to associate the tag keys with. Valid values: `instance`, `network-interface`, `auto-scaling-group`.
+ ResourceType string `pulumi:"resourceType"`
+ // Ordered list of tag keys, on resources of `resourceType`, to display in Flow Log records. The position of each key determines which field it populates in `logFormat` (e.g., the first `instance` tag key populates `$${instance-tag}` and the second populates `$${instance-tag-2}`).
+ TagKeys []string `pulumi:"tagKeys"`
+}
+
+// FlowLogTagFieldSpecificationInput is an input type that accepts FlowLogTagFieldSpecificationArgs and FlowLogTagFieldSpecificationOutput values.
+// You can construct a concrete instance of `FlowLogTagFieldSpecificationInput` via:
+//
+// FlowLogTagFieldSpecificationArgs{...}
+type FlowLogTagFieldSpecificationInput interface {
+ pulumi.Input
+
+ ToFlowLogTagFieldSpecificationOutput() FlowLogTagFieldSpecificationOutput
+ ToFlowLogTagFieldSpecificationOutputWithContext(context.Context) FlowLogTagFieldSpecificationOutput
+}
+
+type FlowLogTagFieldSpecificationArgs struct {
+ // Resource type to associate the tag keys with. Valid values: `instance`, `network-interface`, `auto-scaling-group`.
+ ResourceType pulumi.StringInput `pulumi:"resourceType"`
+ // Ordered list of tag keys, on resources of `resourceType`, to display in Flow Log records. The position of each key determines which field it populates in `logFormat` (e.g., the first `instance` tag key populates `$${instance-tag}` and the second populates `$${instance-tag-2}`).
+ TagKeys pulumi.StringArrayInput `pulumi:"tagKeys"`
+}
+
+func (FlowLogTagFieldSpecificationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FlowLogTagFieldSpecification)(nil)).Elem()
+}
+
+func (i FlowLogTagFieldSpecificationArgs) ToFlowLogTagFieldSpecificationOutput() FlowLogTagFieldSpecificationOutput {
+ return i.ToFlowLogTagFieldSpecificationOutputWithContext(context.Background())
+}
+
+func (i FlowLogTagFieldSpecificationArgs) ToFlowLogTagFieldSpecificationOutputWithContext(ctx context.Context) FlowLogTagFieldSpecificationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FlowLogTagFieldSpecificationOutput)
+}
+
+// FlowLogTagFieldSpecificationArrayInput is an input type that accepts FlowLogTagFieldSpecificationArray and FlowLogTagFieldSpecificationArrayOutput values.
+// You can construct a concrete instance of `FlowLogTagFieldSpecificationArrayInput` via:
+//
+// FlowLogTagFieldSpecificationArray{ FlowLogTagFieldSpecificationArgs{...} }
+type FlowLogTagFieldSpecificationArrayInput interface {
+ pulumi.Input
+
+ ToFlowLogTagFieldSpecificationArrayOutput() FlowLogTagFieldSpecificationArrayOutput
+ ToFlowLogTagFieldSpecificationArrayOutputWithContext(context.Context) FlowLogTagFieldSpecificationArrayOutput
+}
+
+type FlowLogTagFieldSpecificationArray []FlowLogTagFieldSpecificationInput
+
+func (FlowLogTagFieldSpecificationArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FlowLogTagFieldSpecification)(nil)).Elem()
+}
+
+func (i FlowLogTagFieldSpecificationArray) ToFlowLogTagFieldSpecificationArrayOutput() FlowLogTagFieldSpecificationArrayOutput {
+ return i.ToFlowLogTagFieldSpecificationArrayOutputWithContext(context.Background())
+}
+
+func (i FlowLogTagFieldSpecificationArray) ToFlowLogTagFieldSpecificationArrayOutputWithContext(ctx context.Context) FlowLogTagFieldSpecificationArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FlowLogTagFieldSpecificationArrayOutput)
+}
+
+type FlowLogTagFieldSpecificationOutput struct{ *pulumi.OutputState }
+
+func (FlowLogTagFieldSpecificationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FlowLogTagFieldSpecification)(nil)).Elem()
+}
+
+func (o FlowLogTagFieldSpecificationOutput) ToFlowLogTagFieldSpecificationOutput() FlowLogTagFieldSpecificationOutput {
+ return o
+}
+
+func (o FlowLogTagFieldSpecificationOutput) ToFlowLogTagFieldSpecificationOutputWithContext(ctx context.Context) FlowLogTagFieldSpecificationOutput {
+ return o
+}
+
+// Resource type to associate the tag keys with. Valid values: `instance`, `network-interface`, `auto-scaling-group`.
+func (o FlowLogTagFieldSpecificationOutput) ResourceType() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogTagFieldSpecification) string { return v.ResourceType }).(pulumi.StringOutput)
+}
+
+// Ordered list of tag keys, on resources of `resourceType`, to display in Flow Log records. The position of each key determines which field it populates in `logFormat` (e.g., the first `instance` tag key populates `$${instance-tag}` and the second populates `$${instance-tag-2}`).
+func (o FlowLogTagFieldSpecificationOutput) TagKeys() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FlowLogTagFieldSpecification) []string { return v.TagKeys }).(pulumi.StringArrayOutput)
+}
+
+type FlowLogTagFieldSpecificationArrayOutput struct{ *pulumi.OutputState }
+
+func (FlowLogTagFieldSpecificationArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FlowLogTagFieldSpecification)(nil)).Elem()
+}
+
+func (o FlowLogTagFieldSpecificationArrayOutput) ToFlowLogTagFieldSpecificationArrayOutput() FlowLogTagFieldSpecificationArrayOutput {
+ return o
+}
+
+func (o FlowLogTagFieldSpecificationArrayOutput) ToFlowLogTagFieldSpecificationArrayOutputWithContext(ctx context.Context) FlowLogTagFieldSpecificationArrayOutput {
+ return o
+}
+
+func (o FlowLogTagFieldSpecificationArrayOutput) Index(i pulumi.IntInput) FlowLogTagFieldSpecificationOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FlowLogTagFieldSpecification {
+ return vs[0].([]FlowLogTagFieldSpecification)[vs[1].(int)]
+ }).(FlowLogTagFieldSpecificationOutput)
+}
+
type InstanceCapacityReservationSpecification struct {
// Indicates the instance's Capacity Reservation preferences. Can be `"open"` or `"none"`. (Default: `"open"`).
CapacityReservationPreference *string `pulumi:"capacityReservationPreference"`
@@ -33653,6 +33759,106 @@ func (o NetworkInterfaceEnaSrdSpecificationEnaSrdUdpSpecificationPtrOutput) EnaS
}).(pulumi.BoolPtrOutput)
}
+type NetworkInterfaceFilter struct {
+ Name string `pulumi:"name"`
+ Values []string `pulumi:"values"`
+}
+
+// NetworkInterfaceFilterInput is an input type that accepts NetworkInterfaceFilterArgs and NetworkInterfaceFilterOutput values.
+// You can construct a concrete instance of `NetworkInterfaceFilterInput` via:
+//
+// NetworkInterfaceFilterArgs{...}
+type NetworkInterfaceFilterInput interface {
+ pulumi.Input
+
+ ToNetworkInterfaceFilterOutput() NetworkInterfaceFilterOutput
+ ToNetworkInterfaceFilterOutputWithContext(context.Context) NetworkInterfaceFilterOutput
+}
+
+type NetworkInterfaceFilterArgs struct {
+ Name pulumi.StringInput `pulumi:"name"`
+ Values pulumi.StringArrayInput `pulumi:"values"`
+}
+
+func (NetworkInterfaceFilterArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceFilter)(nil)).Elem()
+}
+
+func (i NetworkInterfaceFilterArgs) ToNetworkInterfaceFilterOutput() NetworkInterfaceFilterOutput {
+ return i.ToNetworkInterfaceFilterOutputWithContext(context.Background())
+}
+
+func (i NetworkInterfaceFilterArgs) ToNetworkInterfaceFilterOutputWithContext(ctx context.Context) NetworkInterfaceFilterOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceFilterOutput)
+}
+
+// NetworkInterfaceFilterArrayInput is an input type that accepts NetworkInterfaceFilterArray and NetworkInterfaceFilterArrayOutput values.
+// You can construct a concrete instance of `NetworkInterfaceFilterArrayInput` via:
+//
+// NetworkInterfaceFilterArray{ NetworkInterfaceFilterArgs{...} }
+type NetworkInterfaceFilterArrayInput interface {
+ pulumi.Input
+
+ ToNetworkInterfaceFilterArrayOutput() NetworkInterfaceFilterArrayOutput
+ ToNetworkInterfaceFilterArrayOutputWithContext(context.Context) NetworkInterfaceFilterArrayOutput
+}
+
+type NetworkInterfaceFilterArray []NetworkInterfaceFilterInput
+
+func (NetworkInterfaceFilterArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceFilter)(nil)).Elem()
+}
+
+func (i NetworkInterfaceFilterArray) ToNetworkInterfaceFilterArrayOutput() NetworkInterfaceFilterArrayOutput {
+ return i.ToNetworkInterfaceFilterArrayOutputWithContext(context.Background())
+}
+
+func (i NetworkInterfaceFilterArray) ToNetworkInterfaceFilterArrayOutputWithContext(ctx context.Context) NetworkInterfaceFilterArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceFilterArrayOutput)
+}
+
+type NetworkInterfaceFilterOutput struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceFilterOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceFilter)(nil)).Elem()
+}
+
+func (o NetworkInterfaceFilterOutput) ToNetworkInterfaceFilterOutput() NetworkInterfaceFilterOutput {
+ return o
+}
+
+func (o NetworkInterfaceFilterOutput) ToNetworkInterfaceFilterOutputWithContext(ctx context.Context) NetworkInterfaceFilterOutput {
+ return o
+}
+
+func (o NetworkInterfaceFilterOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceFilter) string { return v.Name }).(pulumi.StringOutput)
+}
+
+func (o NetworkInterfaceFilterOutput) Values() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
+}
+
+type NetworkInterfaceFilterArrayOutput struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceFilterArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceFilter)(nil)).Elem()
+}
+
+func (o NetworkInterfaceFilterArrayOutput) ToNetworkInterfaceFilterArrayOutput() NetworkInterfaceFilterArrayOutput {
+ return o
+}
+
+func (o NetworkInterfaceFilterArrayOutput) ToNetworkInterfaceFilterArrayOutputWithContext(ctx context.Context) NetworkInterfaceFilterArrayOutput {
+ return o
+}
+
+func (o NetworkInterfaceFilterArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceFilterOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceFilter {
+ return vs[0].([]NetworkInterfaceFilter)[vs[1].(int)]
+ }).(NetworkInterfaceFilterOutput)
+}
+
type NetworkInterfacePermissionTimeouts struct {
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Create *string `pulumi:"create"`
@@ -47289,6 +47495,324 @@ func (o GetAmiProductCodeArrayOutput) Index(i pulumi.IntInput) GetAmiProductCode
}).(GetAmiProductCodeOutput)
}
+type GetCapacityBlockReservationCommitmentInfo struct {
+ // Date and time the commitment duration ends in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
+ CommitmentEndDate string `pulumi:"commitmentEndDate"`
+ // Number of instances committed to the Capacity Block reservation.
+ CommittedInstanceCount int `pulumi:"committedInstanceCount"`
+}
+
+// GetCapacityBlockReservationCommitmentInfoInput is an input type that accepts GetCapacityBlockReservationCommitmentInfoArgs and GetCapacityBlockReservationCommitmentInfoOutput values.
+// You can construct a concrete instance of `GetCapacityBlockReservationCommitmentInfoInput` via:
+//
+// GetCapacityBlockReservationCommitmentInfoArgs{...}
+type GetCapacityBlockReservationCommitmentInfoInput interface {
+ pulumi.Input
+
+ ToGetCapacityBlockReservationCommitmentInfoOutput() GetCapacityBlockReservationCommitmentInfoOutput
+ ToGetCapacityBlockReservationCommitmentInfoOutputWithContext(context.Context) GetCapacityBlockReservationCommitmentInfoOutput
+}
+
+type GetCapacityBlockReservationCommitmentInfoArgs struct {
+ // Date and time the commitment duration ends in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
+ CommitmentEndDate pulumi.StringInput `pulumi:"commitmentEndDate"`
+ // Number of instances committed to the Capacity Block reservation.
+ CommittedInstanceCount pulumi.IntInput `pulumi:"committedInstanceCount"`
+}
+
+func (GetCapacityBlockReservationCommitmentInfoArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetCapacityBlockReservationCommitmentInfo)(nil)).Elem()
+}
+
+func (i GetCapacityBlockReservationCommitmentInfoArgs) ToGetCapacityBlockReservationCommitmentInfoOutput() GetCapacityBlockReservationCommitmentInfoOutput {
+ return i.ToGetCapacityBlockReservationCommitmentInfoOutputWithContext(context.Background())
+}
+
+func (i GetCapacityBlockReservationCommitmentInfoArgs) ToGetCapacityBlockReservationCommitmentInfoOutputWithContext(ctx context.Context) GetCapacityBlockReservationCommitmentInfoOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetCapacityBlockReservationCommitmentInfoOutput)
+}
+
+type GetCapacityBlockReservationCommitmentInfoOutput struct{ *pulumi.OutputState }
+
+func (GetCapacityBlockReservationCommitmentInfoOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetCapacityBlockReservationCommitmentInfo)(nil)).Elem()
+}
+
+func (o GetCapacityBlockReservationCommitmentInfoOutput) ToGetCapacityBlockReservationCommitmentInfoOutput() GetCapacityBlockReservationCommitmentInfoOutput {
+ return o
+}
+
+func (o GetCapacityBlockReservationCommitmentInfoOutput) ToGetCapacityBlockReservationCommitmentInfoOutputWithContext(ctx context.Context) GetCapacityBlockReservationCommitmentInfoOutput {
+ return o
+}
+
+// Date and time the commitment duration ends in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
+func (o GetCapacityBlockReservationCommitmentInfoOutput) CommitmentEndDate() pulumi.StringOutput {
+ return o.ApplyT(func(v GetCapacityBlockReservationCommitmentInfo) string { return v.CommitmentEndDate }).(pulumi.StringOutput)
+}
+
+// Number of instances committed to the Capacity Block reservation.
+func (o GetCapacityBlockReservationCommitmentInfoOutput) CommittedInstanceCount() pulumi.IntOutput {
+ return o.ApplyT(func(v GetCapacityBlockReservationCommitmentInfo) int { return v.CommittedInstanceCount }).(pulumi.IntOutput)
+}
+
+type GetCapacityBlockReservationFilter struct {
+ // Name of the filter field. See the [DescribeCapacityReservations API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCapacityReservations.html) for valid values. Common filters include `instance-type`, `availability-zone`, `state`, `instance-platform`, `tenancy`, `outpost-arn`, `placement-group-arn`, `instance-match-criteria`, and `tag:`.
+ Name string `pulumi:"name"`
+ // Set of values that are accepted for the given filter field. A Capacity Block reservation will be selected if any one of the given values matches.
+ Values []string `pulumi:"values"`
+}
+
+// GetCapacityBlockReservationFilterInput is an input type that accepts GetCapacityBlockReservationFilterArgs and GetCapacityBlockReservationFilterOutput values.
+// You can construct a concrete instance of `GetCapacityBlockReservationFilterInput` via:
+//
+// GetCapacityBlockReservationFilterArgs{...}
+type GetCapacityBlockReservationFilterInput interface {
+ pulumi.Input
+
+ ToGetCapacityBlockReservationFilterOutput() GetCapacityBlockReservationFilterOutput
+ ToGetCapacityBlockReservationFilterOutputWithContext(context.Context) GetCapacityBlockReservationFilterOutput
+}
+
+type GetCapacityBlockReservationFilterArgs struct {
+ // Name of the filter field. See the [DescribeCapacityReservations API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCapacityReservations.html) for valid values. Common filters include `instance-type`, `availability-zone`, `state`, `instance-platform`, `tenancy`, `outpost-arn`, `placement-group-arn`, `instance-match-criteria`, and `tag:`.
+ Name pulumi.StringInput `pulumi:"name"`
+ // Set of values that are accepted for the given filter field. A Capacity Block reservation will be selected if any one of the given values matches.
+ Values pulumi.StringArrayInput `pulumi:"values"`
+}
+
+func (GetCapacityBlockReservationFilterArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetCapacityBlockReservationFilter)(nil)).Elem()
+}
+
+func (i GetCapacityBlockReservationFilterArgs) ToGetCapacityBlockReservationFilterOutput() GetCapacityBlockReservationFilterOutput {
+ return i.ToGetCapacityBlockReservationFilterOutputWithContext(context.Background())
+}
+
+func (i GetCapacityBlockReservationFilterArgs) ToGetCapacityBlockReservationFilterOutputWithContext(ctx context.Context) GetCapacityBlockReservationFilterOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetCapacityBlockReservationFilterOutput)
+}
+
+// GetCapacityBlockReservationFilterArrayInput is an input type that accepts GetCapacityBlockReservationFilterArray and GetCapacityBlockReservationFilterArrayOutput values.
+// You can construct a concrete instance of `GetCapacityBlockReservationFilterArrayInput` via:
+//
+// GetCapacityBlockReservationFilterArray{ GetCapacityBlockReservationFilterArgs{...} }
+type GetCapacityBlockReservationFilterArrayInput interface {
+ pulumi.Input
+
+ ToGetCapacityBlockReservationFilterArrayOutput() GetCapacityBlockReservationFilterArrayOutput
+ ToGetCapacityBlockReservationFilterArrayOutputWithContext(context.Context) GetCapacityBlockReservationFilterArrayOutput
+}
+
+type GetCapacityBlockReservationFilterArray []GetCapacityBlockReservationFilterInput
+
+func (GetCapacityBlockReservationFilterArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetCapacityBlockReservationFilter)(nil)).Elem()
+}
+
+func (i GetCapacityBlockReservationFilterArray) ToGetCapacityBlockReservationFilterArrayOutput() GetCapacityBlockReservationFilterArrayOutput {
+ return i.ToGetCapacityBlockReservationFilterArrayOutputWithContext(context.Background())
+}
+
+func (i GetCapacityBlockReservationFilterArray) ToGetCapacityBlockReservationFilterArrayOutputWithContext(ctx context.Context) GetCapacityBlockReservationFilterArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetCapacityBlockReservationFilterArrayOutput)
+}
+
+type GetCapacityBlockReservationFilterOutput struct{ *pulumi.OutputState }
+
+func (GetCapacityBlockReservationFilterOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetCapacityBlockReservationFilter)(nil)).Elem()
+}
+
+func (o GetCapacityBlockReservationFilterOutput) ToGetCapacityBlockReservationFilterOutput() GetCapacityBlockReservationFilterOutput {
+ return o
+}
+
+func (o GetCapacityBlockReservationFilterOutput) ToGetCapacityBlockReservationFilterOutputWithContext(ctx context.Context) GetCapacityBlockReservationFilterOutput {
+ return o
+}
+
+// Name of the filter field. See the [DescribeCapacityReservations API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCapacityReservations.html) for valid values. Common filters include `instance-type`, `availability-zone`, `state`, `instance-platform`, `tenancy`, `outpost-arn`, `placement-group-arn`, `instance-match-criteria`, and `tag:`.
+func (o GetCapacityBlockReservationFilterOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v GetCapacityBlockReservationFilter) string { return v.Name }).(pulumi.StringOutput)
+}
+
+// Set of values that are accepted for the given filter field. A Capacity Block reservation will be selected if any one of the given values matches.
+func (o GetCapacityBlockReservationFilterOutput) Values() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetCapacityBlockReservationFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
+}
+
+type GetCapacityBlockReservationFilterArrayOutput struct{ *pulumi.OutputState }
+
+func (GetCapacityBlockReservationFilterArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetCapacityBlockReservationFilter)(nil)).Elem()
+}
+
+func (o GetCapacityBlockReservationFilterArrayOutput) ToGetCapacityBlockReservationFilterArrayOutput() GetCapacityBlockReservationFilterArrayOutput {
+ return o
+}
+
+func (o GetCapacityBlockReservationFilterArrayOutput) ToGetCapacityBlockReservationFilterArrayOutputWithContext(ctx context.Context) GetCapacityBlockReservationFilterArrayOutput {
+ return o
+}
+
+func (o GetCapacityBlockReservationFilterArrayOutput) Index(i pulumi.IntInput) GetCapacityBlockReservationFilterOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCapacityBlockReservationFilter {
+ return vs[0].([]GetCapacityBlockReservationFilter)[vs[1].(int)]
+ }).(GetCapacityBlockReservationFilterOutput)
+}
+
+type GetCapacityBlockReservationInterruptibleCapacityAllocation struct {
+ // Number of instances allocated as interruptible capacity within the Capacity Block reservation.
+ InstanceCount int `pulumi:"instanceCount"`
+ // ID of the interruptible Capacity Reservation associated with this allocation.
+ InterruptibleCapacityReservationId string `pulumi:"interruptibleCapacityReservationId"`
+ // Type of interruption that occurred. Either `spot-interruption` or `capacity-block-interruption`.
+ InterruptionType string `pulumi:"interruptionType"`
+ // Status of the interruptible capacity allocation. One of `pending`, `confirmed`, or `cancelled`.
+ Status string `pulumi:"status"`
+ // Target number of interruptible instances for the allocation.
+ TargetInstanceCount int `pulumi:"targetInstanceCount"`
+}
+
+// GetCapacityBlockReservationInterruptibleCapacityAllocationInput is an input type that accepts GetCapacityBlockReservationInterruptibleCapacityAllocationArgs and GetCapacityBlockReservationInterruptibleCapacityAllocationOutput values.
+// You can construct a concrete instance of `GetCapacityBlockReservationInterruptibleCapacityAllocationInput` via:
+//
+// GetCapacityBlockReservationInterruptibleCapacityAllocationArgs{...}
+type GetCapacityBlockReservationInterruptibleCapacityAllocationInput interface {
+ pulumi.Input
+
+ ToGetCapacityBlockReservationInterruptibleCapacityAllocationOutput() GetCapacityBlockReservationInterruptibleCapacityAllocationOutput
+ ToGetCapacityBlockReservationInterruptibleCapacityAllocationOutputWithContext(context.Context) GetCapacityBlockReservationInterruptibleCapacityAllocationOutput
+}
+
+type GetCapacityBlockReservationInterruptibleCapacityAllocationArgs struct {
+ // Number of instances allocated as interruptible capacity within the Capacity Block reservation.
+ InstanceCount pulumi.IntInput `pulumi:"instanceCount"`
+ // ID of the interruptible Capacity Reservation associated with this allocation.
+ InterruptibleCapacityReservationId pulumi.StringInput `pulumi:"interruptibleCapacityReservationId"`
+ // Type of interruption that occurred. Either `spot-interruption` or `capacity-block-interruption`.
+ InterruptionType pulumi.StringInput `pulumi:"interruptionType"`
+ // Status of the interruptible capacity allocation. One of `pending`, `confirmed`, or `cancelled`.
+ Status pulumi.StringInput `pulumi:"status"`
+ // Target number of interruptible instances for the allocation.
+ TargetInstanceCount pulumi.IntInput `pulumi:"targetInstanceCount"`
+}
+
+func (GetCapacityBlockReservationInterruptibleCapacityAllocationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetCapacityBlockReservationInterruptibleCapacityAllocation)(nil)).Elem()
+}
+
+func (i GetCapacityBlockReservationInterruptibleCapacityAllocationArgs) ToGetCapacityBlockReservationInterruptibleCapacityAllocationOutput() GetCapacityBlockReservationInterruptibleCapacityAllocationOutput {
+ return i.ToGetCapacityBlockReservationInterruptibleCapacityAllocationOutputWithContext(context.Background())
+}
+
+func (i GetCapacityBlockReservationInterruptibleCapacityAllocationArgs) ToGetCapacityBlockReservationInterruptibleCapacityAllocationOutputWithContext(ctx context.Context) GetCapacityBlockReservationInterruptibleCapacityAllocationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetCapacityBlockReservationInterruptibleCapacityAllocationOutput)
+}
+
+type GetCapacityBlockReservationInterruptibleCapacityAllocationOutput struct{ *pulumi.OutputState }
+
+func (GetCapacityBlockReservationInterruptibleCapacityAllocationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetCapacityBlockReservationInterruptibleCapacityAllocation)(nil)).Elem()
+}
+
+func (o GetCapacityBlockReservationInterruptibleCapacityAllocationOutput) ToGetCapacityBlockReservationInterruptibleCapacityAllocationOutput() GetCapacityBlockReservationInterruptibleCapacityAllocationOutput {
+ return o
+}
+
+func (o GetCapacityBlockReservationInterruptibleCapacityAllocationOutput) ToGetCapacityBlockReservationInterruptibleCapacityAllocationOutputWithContext(ctx context.Context) GetCapacityBlockReservationInterruptibleCapacityAllocationOutput {
+ return o
+}
+
+// Number of instances allocated as interruptible capacity within the Capacity Block reservation.
+func (o GetCapacityBlockReservationInterruptibleCapacityAllocationOutput) InstanceCount() pulumi.IntOutput {
+ return o.ApplyT(func(v GetCapacityBlockReservationInterruptibleCapacityAllocation) int { return v.InstanceCount }).(pulumi.IntOutput)
+}
+
+// ID of the interruptible Capacity Reservation associated with this allocation.
+func (o GetCapacityBlockReservationInterruptibleCapacityAllocationOutput) InterruptibleCapacityReservationId() pulumi.StringOutput {
+ return o.ApplyT(func(v GetCapacityBlockReservationInterruptibleCapacityAllocation) string {
+ return v.InterruptibleCapacityReservationId
+ }).(pulumi.StringOutput)
+}
+
+// Type of interruption that occurred. Either `spot-interruption` or `capacity-block-interruption`.
+func (o GetCapacityBlockReservationInterruptibleCapacityAllocationOutput) InterruptionType() pulumi.StringOutput {
+ return o.ApplyT(func(v GetCapacityBlockReservationInterruptibleCapacityAllocation) string { return v.InterruptionType }).(pulumi.StringOutput)
+}
+
+// Status of the interruptible capacity allocation. One of `pending`, `confirmed`, or `cancelled`.
+func (o GetCapacityBlockReservationInterruptibleCapacityAllocationOutput) Status() pulumi.StringOutput {
+ return o.ApplyT(func(v GetCapacityBlockReservationInterruptibleCapacityAllocation) string { return v.Status }).(pulumi.StringOutput)
+}
+
+// Target number of interruptible instances for the allocation.
+func (o GetCapacityBlockReservationInterruptibleCapacityAllocationOutput) TargetInstanceCount() pulumi.IntOutput {
+ return o.ApplyT(func(v GetCapacityBlockReservationInterruptibleCapacityAllocation) int { return v.TargetInstanceCount }).(pulumi.IntOutput)
+}
+
+type GetCapacityBlockReservationInterruptionInfo struct {
+ // Type of interruption that occurred. Either `spot-interruption` or `capacity-block-interruption`.
+ InterruptionType string `pulumi:"interruptionType"`
+ // ID of the source Capacity Reservation that originally held the capacity, if the reservation was created as a result of an interruption.
+ SourceCapacityReservationId string `pulumi:"sourceCapacityReservationId"`
+}
+
+// GetCapacityBlockReservationInterruptionInfoInput is an input type that accepts GetCapacityBlockReservationInterruptionInfoArgs and GetCapacityBlockReservationInterruptionInfoOutput values.
+// You can construct a concrete instance of `GetCapacityBlockReservationInterruptionInfoInput` via:
+//
+// GetCapacityBlockReservationInterruptionInfoArgs{...}
+type GetCapacityBlockReservationInterruptionInfoInput interface {
+ pulumi.Input
+
+ ToGetCapacityBlockReservationInterruptionInfoOutput() GetCapacityBlockReservationInterruptionInfoOutput
+ ToGetCapacityBlockReservationInterruptionInfoOutputWithContext(context.Context) GetCapacityBlockReservationInterruptionInfoOutput
+}
+
+type GetCapacityBlockReservationInterruptionInfoArgs struct {
+ // Type of interruption that occurred. Either `spot-interruption` or `capacity-block-interruption`.
+ InterruptionType pulumi.StringInput `pulumi:"interruptionType"`
+ // ID of the source Capacity Reservation that originally held the capacity, if the reservation was created as a result of an interruption.
+ SourceCapacityReservationId pulumi.StringInput `pulumi:"sourceCapacityReservationId"`
+}
+
+func (GetCapacityBlockReservationInterruptionInfoArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetCapacityBlockReservationInterruptionInfo)(nil)).Elem()
+}
+
+func (i GetCapacityBlockReservationInterruptionInfoArgs) ToGetCapacityBlockReservationInterruptionInfoOutput() GetCapacityBlockReservationInterruptionInfoOutput {
+ return i.ToGetCapacityBlockReservationInterruptionInfoOutputWithContext(context.Background())
+}
+
+func (i GetCapacityBlockReservationInterruptionInfoArgs) ToGetCapacityBlockReservationInterruptionInfoOutputWithContext(ctx context.Context) GetCapacityBlockReservationInterruptionInfoOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetCapacityBlockReservationInterruptionInfoOutput)
+}
+
+type GetCapacityBlockReservationInterruptionInfoOutput struct{ *pulumi.OutputState }
+
+func (GetCapacityBlockReservationInterruptionInfoOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetCapacityBlockReservationInterruptionInfo)(nil)).Elem()
+}
+
+func (o GetCapacityBlockReservationInterruptionInfoOutput) ToGetCapacityBlockReservationInterruptionInfoOutput() GetCapacityBlockReservationInterruptionInfoOutput {
+ return o
+}
+
+func (o GetCapacityBlockReservationInterruptionInfoOutput) ToGetCapacityBlockReservationInterruptionInfoOutputWithContext(ctx context.Context) GetCapacityBlockReservationInterruptionInfoOutput {
+ return o
+}
+
+// Type of interruption that occurred. Either `spot-interruption` or `capacity-block-interruption`.
+func (o GetCapacityBlockReservationInterruptionInfoOutput) InterruptionType() pulumi.StringOutput {
+ return o.ApplyT(func(v GetCapacityBlockReservationInterruptionInfo) string { return v.InterruptionType }).(pulumi.StringOutput)
+}
+
+// ID of the source Capacity Reservation that originally held the capacity, if the reservation was created as a result of an interruption.
+func (o GetCapacityBlockReservationInterruptionInfoOutput) SourceCapacityReservationId() pulumi.StringOutput {
+ return o.ApplyT(func(v GetCapacityBlockReservationInterruptionInfo) string { return v.SourceCapacityReservationId }).(pulumi.StringOutput)
+}
+
type GetCoipPoolFilter struct {
// Name of the field to filter by, as defined by
// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCoipPools.html).
@@ -69297,657 +69821,6 @@ func (o GetSecurityGroupsFilterArrayOutput) Index(i pulumi.IntInput) GetSecurity
}).(GetSecurityGroupsFilterOutput)
}
-type GetServiceLinkVirtualInterfaceFilter struct {
- // Name of the filter.
- Name string `pulumi:"name"`
- // List of one or more values for the filter.
- Values []string `pulumi:"values"`
-}
-
-// GetServiceLinkVirtualInterfaceFilterInput is an input type that accepts GetServiceLinkVirtualInterfaceFilterArgs and GetServiceLinkVirtualInterfaceFilterOutput values.
-// You can construct a concrete instance of `GetServiceLinkVirtualInterfaceFilterInput` via:
-//
-// GetServiceLinkVirtualInterfaceFilterArgs{...}
-type GetServiceLinkVirtualInterfaceFilterInput interface {
- pulumi.Input
-
- ToGetServiceLinkVirtualInterfaceFilterOutput() GetServiceLinkVirtualInterfaceFilterOutput
- ToGetServiceLinkVirtualInterfaceFilterOutputWithContext(context.Context) GetServiceLinkVirtualInterfaceFilterOutput
-}
-
-type GetServiceLinkVirtualInterfaceFilterArgs struct {
- // Name of the filter.
- Name pulumi.StringInput `pulumi:"name"`
- // List of one or more values for the filter.
- Values pulumi.StringArrayInput `pulumi:"values"`
-}
-
-func (GetServiceLinkVirtualInterfaceFilterArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*GetServiceLinkVirtualInterfaceFilter)(nil)).Elem()
-}
-
-func (i GetServiceLinkVirtualInterfaceFilterArgs) ToGetServiceLinkVirtualInterfaceFilterOutput() GetServiceLinkVirtualInterfaceFilterOutput {
- return i.ToGetServiceLinkVirtualInterfaceFilterOutputWithContext(context.Background())
-}
-
-func (i GetServiceLinkVirtualInterfaceFilterArgs) ToGetServiceLinkVirtualInterfaceFilterOutputWithContext(ctx context.Context) GetServiceLinkVirtualInterfaceFilterOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetServiceLinkVirtualInterfaceFilterOutput)
-}
-
-// GetServiceLinkVirtualInterfaceFilterArrayInput is an input type that accepts GetServiceLinkVirtualInterfaceFilterArray and GetServiceLinkVirtualInterfaceFilterArrayOutput values.
-// You can construct a concrete instance of `GetServiceLinkVirtualInterfaceFilterArrayInput` via:
-//
-// GetServiceLinkVirtualInterfaceFilterArray{ GetServiceLinkVirtualInterfaceFilterArgs{...} }
-type GetServiceLinkVirtualInterfaceFilterArrayInput interface {
- pulumi.Input
-
- ToGetServiceLinkVirtualInterfaceFilterArrayOutput() GetServiceLinkVirtualInterfaceFilterArrayOutput
- ToGetServiceLinkVirtualInterfaceFilterArrayOutputWithContext(context.Context) GetServiceLinkVirtualInterfaceFilterArrayOutput
-}
-
-type GetServiceLinkVirtualInterfaceFilterArray []GetServiceLinkVirtualInterfaceFilterInput
-
-func (GetServiceLinkVirtualInterfaceFilterArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GetServiceLinkVirtualInterfaceFilter)(nil)).Elem()
-}
-
-func (i GetServiceLinkVirtualInterfaceFilterArray) ToGetServiceLinkVirtualInterfaceFilterArrayOutput() GetServiceLinkVirtualInterfaceFilterArrayOutput {
- return i.ToGetServiceLinkVirtualInterfaceFilterArrayOutputWithContext(context.Background())
-}
-
-func (i GetServiceLinkVirtualInterfaceFilterArray) ToGetServiceLinkVirtualInterfaceFilterArrayOutputWithContext(ctx context.Context) GetServiceLinkVirtualInterfaceFilterArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetServiceLinkVirtualInterfaceFilterArrayOutput)
-}
-
-type GetServiceLinkVirtualInterfaceFilterOutput struct{ *pulumi.OutputState }
-
-func (GetServiceLinkVirtualInterfaceFilterOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GetServiceLinkVirtualInterfaceFilter)(nil)).Elem()
-}
-
-func (o GetServiceLinkVirtualInterfaceFilterOutput) ToGetServiceLinkVirtualInterfaceFilterOutput() GetServiceLinkVirtualInterfaceFilterOutput {
- return o
-}
-
-func (o GetServiceLinkVirtualInterfaceFilterOutput) ToGetServiceLinkVirtualInterfaceFilterOutputWithContext(ctx context.Context) GetServiceLinkVirtualInterfaceFilterOutput {
- return o
-}
-
-// Name of the filter.
-func (o GetServiceLinkVirtualInterfaceFilterOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v GetServiceLinkVirtualInterfaceFilter) string { return v.Name }).(pulumi.StringOutput)
-}
-
-// List of one or more values for the filter.
-func (o GetServiceLinkVirtualInterfaceFilterOutput) Values() pulumi.StringArrayOutput {
- return o.ApplyT(func(v GetServiceLinkVirtualInterfaceFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
-}
-
-type GetServiceLinkVirtualInterfaceFilterArrayOutput struct{ *pulumi.OutputState }
-
-func (GetServiceLinkVirtualInterfaceFilterArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GetServiceLinkVirtualInterfaceFilter)(nil)).Elem()
-}
-
-func (o GetServiceLinkVirtualInterfaceFilterArrayOutput) ToGetServiceLinkVirtualInterfaceFilterArrayOutput() GetServiceLinkVirtualInterfaceFilterArrayOutput {
- return o
-}
-
-func (o GetServiceLinkVirtualInterfaceFilterArrayOutput) ToGetServiceLinkVirtualInterfaceFilterArrayOutputWithContext(ctx context.Context) GetServiceLinkVirtualInterfaceFilterArrayOutput {
- return o
-}
-
-func (o GetServiceLinkVirtualInterfaceFilterArrayOutput) Index(i pulumi.IntInput) GetServiceLinkVirtualInterfaceFilterOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceLinkVirtualInterfaceFilter {
- return vs[0].([]GetServiceLinkVirtualInterfaceFilter)[vs[1].(int)]
- }).(GetServiceLinkVirtualInterfaceFilterOutput)
-}
-
-type GetServiceLinkVirtualInterfacesFilter struct {
- // Name of the filter.
- Name string `pulumi:"name"`
- // List of one or more values for the filter.
- Values []string `pulumi:"values"`
-}
-
-// GetServiceLinkVirtualInterfacesFilterInput is an input type that accepts GetServiceLinkVirtualInterfacesFilterArgs and GetServiceLinkVirtualInterfacesFilterOutput values.
-// You can construct a concrete instance of `GetServiceLinkVirtualInterfacesFilterInput` via:
-//
-// GetServiceLinkVirtualInterfacesFilterArgs{...}
-type GetServiceLinkVirtualInterfacesFilterInput interface {
- pulumi.Input
-
- ToGetServiceLinkVirtualInterfacesFilterOutput() GetServiceLinkVirtualInterfacesFilterOutput
- ToGetServiceLinkVirtualInterfacesFilterOutputWithContext(context.Context) GetServiceLinkVirtualInterfacesFilterOutput
-}
-
-type GetServiceLinkVirtualInterfacesFilterArgs struct {
- // Name of the filter.
- Name pulumi.StringInput `pulumi:"name"`
- // List of one or more values for the filter.
- Values pulumi.StringArrayInput `pulumi:"values"`
-}
-
-func (GetServiceLinkVirtualInterfacesFilterArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*GetServiceLinkVirtualInterfacesFilter)(nil)).Elem()
-}
-
-func (i GetServiceLinkVirtualInterfacesFilterArgs) ToGetServiceLinkVirtualInterfacesFilterOutput() GetServiceLinkVirtualInterfacesFilterOutput {
- return i.ToGetServiceLinkVirtualInterfacesFilterOutputWithContext(context.Background())
-}
-
-func (i GetServiceLinkVirtualInterfacesFilterArgs) ToGetServiceLinkVirtualInterfacesFilterOutputWithContext(ctx context.Context) GetServiceLinkVirtualInterfacesFilterOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetServiceLinkVirtualInterfacesFilterOutput)
-}
-
-// GetServiceLinkVirtualInterfacesFilterArrayInput is an input type that accepts GetServiceLinkVirtualInterfacesFilterArray and GetServiceLinkVirtualInterfacesFilterArrayOutput values.
-// You can construct a concrete instance of `GetServiceLinkVirtualInterfacesFilterArrayInput` via:
-//
-// GetServiceLinkVirtualInterfacesFilterArray{ GetServiceLinkVirtualInterfacesFilterArgs{...} }
-type GetServiceLinkVirtualInterfacesFilterArrayInput interface {
- pulumi.Input
-
- ToGetServiceLinkVirtualInterfacesFilterArrayOutput() GetServiceLinkVirtualInterfacesFilterArrayOutput
- ToGetServiceLinkVirtualInterfacesFilterArrayOutputWithContext(context.Context) GetServiceLinkVirtualInterfacesFilterArrayOutput
-}
-
-type GetServiceLinkVirtualInterfacesFilterArray []GetServiceLinkVirtualInterfacesFilterInput
-
-func (GetServiceLinkVirtualInterfacesFilterArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GetServiceLinkVirtualInterfacesFilter)(nil)).Elem()
-}
-
-func (i GetServiceLinkVirtualInterfacesFilterArray) ToGetServiceLinkVirtualInterfacesFilterArrayOutput() GetServiceLinkVirtualInterfacesFilterArrayOutput {
- return i.ToGetServiceLinkVirtualInterfacesFilterArrayOutputWithContext(context.Background())
-}
-
-func (i GetServiceLinkVirtualInterfacesFilterArray) ToGetServiceLinkVirtualInterfacesFilterArrayOutputWithContext(ctx context.Context) GetServiceLinkVirtualInterfacesFilterArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetServiceLinkVirtualInterfacesFilterArrayOutput)
-}
-
-type GetServiceLinkVirtualInterfacesFilterOutput struct{ *pulumi.OutputState }
-
-func (GetServiceLinkVirtualInterfacesFilterOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GetServiceLinkVirtualInterfacesFilter)(nil)).Elem()
-}
-
-func (o GetServiceLinkVirtualInterfacesFilterOutput) ToGetServiceLinkVirtualInterfacesFilterOutput() GetServiceLinkVirtualInterfacesFilterOutput {
- return o
-}
-
-func (o GetServiceLinkVirtualInterfacesFilterOutput) ToGetServiceLinkVirtualInterfacesFilterOutputWithContext(ctx context.Context) GetServiceLinkVirtualInterfacesFilterOutput {
- return o
-}
-
-// Name of the filter.
-func (o GetServiceLinkVirtualInterfacesFilterOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v GetServiceLinkVirtualInterfacesFilter) string { return v.Name }).(pulumi.StringOutput)
-}
-
-// List of one or more values for the filter.
-func (o GetServiceLinkVirtualInterfacesFilterOutput) Values() pulumi.StringArrayOutput {
- return o.ApplyT(func(v GetServiceLinkVirtualInterfacesFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
-}
-
-type GetServiceLinkVirtualInterfacesFilterArrayOutput struct{ *pulumi.OutputState }
-
-func (GetServiceLinkVirtualInterfacesFilterArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GetServiceLinkVirtualInterfacesFilter)(nil)).Elem()
-}
-
-func (o GetServiceLinkVirtualInterfacesFilterArrayOutput) ToGetServiceLinkVirtualInterfacesFilterArrayOutput() GetServiceLinkVirtualInterfacesFilterArrayOutput {
- return o
-}
-
-func (o GetServiceLinkVirtualInterfacesFilterArrayOutput) ToGetServiceLinkVirtualInterfacesFilterArrayOutputWithContext(ctx context.Context) GetServiceLinkVirtualInterfacesFilterArrayOutput {
- return o
-}
-
-func (o GetServiceLinkVirtualInterfacesFilterArrayOutput) Index(i pulumi.IntInput) GetServiceLinkVirtualInterfacesFilterOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceLinkVirtualInterfacesFilter {
- return vs[0].([]GetServiceLinkVirtualInterfacesFilter)[vs[1].(int)]
- }).(GetServiceLinkVirtualInterfacesFilterOutput)
-}
-
-type GetSpotPriceFilter struct {
- // Name of the filter.
- Name string `pulumi:"name"`
- // List of one or more values for the filter.
- Values []string `pulumi:"values"`
-}
-
-// GetSpotPriceFilterInput is an input type that accepts GetSpotPriceFilterArgs and GetSpotPriceFilterOutput values.
-// You can construct a concrete instance of `GetSpotPriceFilterInput` via:
-//
-// GetSpotPriceFilterArgs{...}
-type GetSpotPriceFilterInput interface {
- pulumi.Input
-
- ToGetSpotPriceFilterOutput() GetSpotPriceFilterOutput
- ToGetSpotPriceFilterOutputWithContext(context.Context) GetSpotPriceFilterOutput
-}
-
-type GetSpotPriceFilterArgs struct {
- // Name of the filter.
- Name pulumi.StringInput `pulumi:"name"`
- // List of one or more values for the filter.
- Values pulumi.StringArrayInput `pulumi:"values"`
-}
-
-func (GetSpotPriceFilterArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*GetSpotPriceFilter)(nil)).Elem()
-}
-
-func (i GetSpotPriceFilterArgs) ToGetSpotPriceFilterOutput() GetSpotPriceFilterOutput {
- return i.ToGetSpotPriceFilterOutputWithContext(context.Background())
-}
-
-func (i GetSpotPriceFilterArgs) ToGetSpotPriceFilterOutputWithContext(ctx context.Context) GetSpotPriceFilterOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetSpotPriceFilterOutput)
-}
-
-// GetSpotPriceFilterArrayInput is an input type that accepts GetSpotPriceFilterArray and GetSpotPriceFilterArrayOutput values.
-// You can construct a concrete instance of `GetSpotPriceFilterArrayInput` via:
-//
-// GetSpotPriceFilterArray{ GetSpotPriceFilterArgs{...} }
-type GetSpotPriceFilterArrayInput interface {
- pulumi.Input
-
- ToGetSpotPriceFilterArrayOutput() GetSpotPriceFilterArrayOutput
- ToGetSpotPriceFilterArrayOutputWithContext(context.Context) GetSpotPriceFilterArrayOutput
-}
-
-type GetSpotPriceFilterArray []GetSpotPriceFilterInput
-
-func (GetSpotPriceFilterArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GetSpotPriceFilter)(nil)).Elem()
-}
-
-func (i GetSpotPriceFilterArray) ToGetSpotPriceFilterArrayOutput() GetSpotPriceFilterArrayOutput {
- return i.ToGetSpotPriceFilterArrayOutputWithContext(context.Background())
-}
-
-func (i GetSpotPriceFilterArray) ToGetSpotPriceFilterArrayOutputWithContext(ctx context.Context) GetSpotPriceFilterArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetSpotPriceFilterArrayOutput)
-}
-
-type GetSpotPriceFilterOutput struct{ *pulumi.OutputState }
-
-func (GetSpotPriceFilterOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GetSpotPriceFilter)(nil)).Elem()
-}
-
-func (o GetSpotPriceFilterOutput) ToGetSpotPriceFilterOutput() GetSpotPriceFilterOutput {
- return o
-}
-
-func (o GetSpotPriceFilterOutput) ToGetSpotPriceFilterOutputWithContext(ctx context.Context) GetSpotPriceFilterOutput {
- return o
-}
-
-// Name of the filter.
-func (o GetSpotPriceFilterOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v GetSpotPriceFilter) string { return v.Name }).(pulumi.StringOutput)
-}
-
-// List of one or more values for the filter.
-func (o GetSpotPriceFilterOutput) Values() pulumi.StringArrayOutput {
- return o.ApplyT(func(v GetSpotPriceFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
-}
-
-type GetSpotPriceFilterArrayOutput struct{ *pulumi.OutputState }
-
-func (GetSpotPriceFilterArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GetSpotPriceFilter)(nil)).Elem()
-}
-
-func (o GetSpotPriceFilterArrayOutput) ToGetSpotPriceFilterArrayOutput() GetSpotPriceFilterArrayOutput {
- return o
-}
-
-func (o GetSpotPriceFilterArrayOutput) ToGetSpotPriceFilterArrayOutputWithContext(ctx context.Context) GetSpotPriceFilterArrayOutput {
- return o
-}
-
-func (o GetSpotPriceFilterArrayOutput) Index(i pulumi.IntInput) GetSpotPriceFilterOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSpotPriceFilter {
- return vs[0].([]GetSpotPriceFilter)[vs[1].(int)]
- }).(GetSpotPriceFilterOutput)
-}
-
-type GetSubnetFilter struct {
- // Name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html).
- Name string `pulumi:"name"`
- // Set of values that are accepted for the given field. A subnet will be selected if any one of the given values matches.
- Values []string `pulumi:"values"`
-}
-
-// GetSubnetFilterInput is an input type that accepts GetSubnetFilterArgs and GetSubnetFilterOutput values.
-// You can construct a concrete instance of `GetSubnetFilterInput` via:
-//
-// GetSubnetFilterArgs{...}
-type GetSubnetFilterInput interface {
- pulumi.Input
-
- ToGetSubnetFilterOutput() GetSubnetFilterOutput
- ToGetSubnetFilterOutputWithContext(context.Context) GetSubnetFilterOutput
-}
-
-type GetSubnetFilterArgs struct {
- // Name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html).
- Name pulumi.StringInput `pulumi:"name"`
- // Set of values that are accepted for the given field. A subnet will be selected if any one of the given values matches.
- Values pulumi.StringArrayInput `pulumi:"values"`
-}
-
-func (GetSubnetFilterArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*GetSubnetFilter)(nil)).Elem()
-}
-
-func (i GetSubnetFilterArgs) ToGetSubnetFilterOutput() GetSubnetFilterOutput {
- return i.ToGetSubnetFilterOutputWithContext(context.Background())
-}
-
-func (i GetSubnetFilterArgs) ToGetSubnetFilterOutputWithContext(ctx context.Context) GetSubnetFilterOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetSubnetFilterOutput)
-}
-
-// GetSubnetFilterArrayInput is an input type that accepts GetSubnetFilterArray and GetSubnetFilterArrayOutput values.
-// You can construct a concrete instance of `GetSubnetFilterArrayInput` via:
-//
-// GetSubnetFilterArray{ GetSubnetFilterArgs{...} }
-type GetSubnetFilterArrayInput interface {
- pulumi.Input
-
- ToGetSubnetFilterArrayOutput() GetSubnetFilterArrayOutput
- ToGetSubnetFilterArrayOutputWithContext(context.Context) GetSubnetFilterArrayOutput
-}
-
-type GetSubnetFilterArray []GetSubnetFilterInput
-
-func (GetSubnetFilterArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GetSubnetFilter)(nil)).Elem()
-}
-
-func (i GetSubnetFilterArray) ToGetSubnetFilterArrayOutput() GetSubnetFilterArrayOutput {
- return i.ToGetSubnetFilterArrayOutputWithContext(context.Background())
-}
-
-func (i GetSubnetFilterArray) ToGetSubnetFilterArrayOutputWithContext(ctx context.Context) GetSubnetFilterArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetSubnetFilterArrayOutput)
-}
-
-type GetSubnetFilterOutput struct{ *pulumi.OutputState }
-
-func (GetSubnetFilterOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GetSubnetFilter)(nil)).Elem()
-}
-
-func (o GetSubnetFilterOutput) ToGetSubnetFilterOutput() GetSubnetFilterOutput {
- return o
-}
-
-func (o GetSubnetFilterOutput) ToGetSubnetFilterOutputWithContext(ctx context.Context) GetSubnetFilterOutput {
- return o
-}
-
-// Name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html).
-func (o GetSubnetFilterOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v GetSubnetFilter) string { return v.Name }).(pulumi.StringOutput)
-}
-
-// Set of values that are accepted for the given field. A subnet will be selected if any one of the given values matches.
-func (o GetSubnetFilterOutput) Values() pulumi.StringArrayOutput {
- return o.ApplyT(func(v GetSubnetFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
-}
-
-type GetSubnetFilterArrayOutput struct{ *pulumi.OutputState }
-
-func (GetSubnetFilterArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GetSubnetFilter)(nil)).Elem()
-}
-
-func (o GetSubnetFilterArrayOutput) ToGetSubnetFilterArrayOutput() GetSubnetFilterArrayOutput {
- return o
-}
-
-func (o GetSubnetFilterArrayOutput) ToGetSubnetFilterArrayOutputWithContext(ctx context.Context) GetSubnetFilterArrayOutput {
- return o
-}
-
-func (o GetSubnetFilterArrayOutput) Index(i pulumi.IntInput) GetSubnetFilterOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubnetFilter {
- return vs[0].([]GetSubnetFilter)[vs[1].(int)]
- }).(GetSubnetFilterOutput)
-}
-
-type GetSubnetsFilter struct {
- // Name of the field to filter by, as defined by
- // [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html).
- // For example, if matching against tag `Name`, use:
- Name string `pulumi:"name"`
- // Set of values that are accepted for the given field.
- // Subnet IDs will be selected if any one of the given values match.
- Values []string `pulumi:"values"`
-}
-
-// GetSubnetsFilterInput is an input type that accepts GetSubnetsFilterArgs and GetSubnetsFilterOutput values.
-// You can construct a concrete instance of `GetSubnetsFilterInput` via:
-//
-// GetSubnetsFilterArgs{...}
-type GetSubnetsFilterInput interface {
- pulumi.Input
-
- ToGetSubnetsFilterOutput() GetSubnetsFilterOutput
- ToGetSubnetsFilterOutputWithContext(context.Context) GetSubnetsFilterOutput
-}
-
-type GetSubnetsFilterArgs struct {
- // Name of the field to filter by, as defined by
- // [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html).
- // For example, if matching against tag `Name`, use:
- Name pulumi.StringInput `pulumi:"name"`
- // Set of values that are accepted for the given field.
- // Subnet IDs will be selected if any one of the given values match.
- Values pulumi.StringArrayInput `pulumi:"values"`
-}
-
-func (GetSubnetsFilterArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*GetSubnetsFilter)(nil)).Elem()
-}
-
-func (i GetSubnetsFilterArgs) ToGetSubnetsFilterOutput() GetSubnetsFilterOutput {
- return i.ToGetSubnetsFilterOutputWithContext(context.Background())
-}
-
-func (i GetSubnetsFilterArgs) ToGetSubnetsFilterOutputWithContext(ctx context.Context) GetSubnetsFilterOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetSubnetsFilterOutput)
-}
-
-// GetSubnetsFilterArrayInput is an input type that accepts GetSubnetsFilterArray and GetSubnetsFilterArrayOutput values.
-// You can construct a concrete instance of `GetSubnetsFilterArrayInput` via:
-//
-// GetSubnetsFilterArray{ GetSubnetsFilterArgs{...} }
-type GetSubnetsFilterArrayInput interface {
- pulumi.Input
-
- ToGetSubnetsFilterArrayOutput() GetSubnetsFilterArrayOutput
- ToGetSubnetsFilterArrayOutputWithContext(context.Context) GetSubnetsFilterArrayOutput
-}
-
-type GetSubnetsFilterArray []GetSubnetsFilterInput
-
-func (GetSubnetsFilterArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GetSubnetsFilter)(nil)).Elem()
-}
-
-func (i GetSubnetsFilterArray) ToGetSubnetsFilterArrayOutput() GetSubnetsFilterArrayOutput {
- return i.ToGetSubnetsFilterArrayOutputWithContext(context.Background())
-}
-
-func (i GetSubnetsFilterArray) ToGetSubnetsFilterArrayOutputWithContext(ctx context.Context) GetSubnetsFilterArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetSubnetsFilterArrayOutput)
-}
-
-type GetSubnetsFilterOutput struct{ *pulumi.OutputState }
-
-func (GetSubnetsFilterOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GetSubnetsFilter)(nil)).Elem()
-}
-
-func (o GetSubnetsFilterOutput) ToGetSubnetsFilterOutput() GetSubnetsFilterOutput {
- return o
-}
-
-func (o GetSubnetsFilterOutput) ToGetSubnetsFilterOutputWithContext(ctx context.Context) GetSubnetsFilterOutput {
- return o
-}
-
-// Name of the field to filter by, as defined by
-// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html).
-// For example, if matching against tag `Name`, use:
-func (o GetSubnetsFilterOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v GetSubnetsFilter) string { return v.Name }).(pulumi.StringOutput)
-}
-
-// Set of values that are accepted for the given field.
-// Subnet IDs will be selected if any one of the given values match.
-func (o GetSubnetsFilterOutput) Values() pulumi.StringArrayOutput {
- return o.ApplyT(func(v GetSubnetsFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
-}
-
-type GetSubnetsFilterArrayOutput struct{ *pulumi.OutputState }
-
-func (GetSubnetsFilterArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GetSubnetsFilter)(nil)).Elem()
-}
-
-func (o GetSubnetsFilterArrayOutput) ToGetSubnetsFilterArrayOutput() GetSubnetsFilterArrayOutput {
- return o
-}
-
-func (o GetSubnetsFilterArrayOutput) ToGetSubnetsFilterArrayOutputWithContext(ctx context.Context) GetSubnetsFilterArrayOutput {
- return o
-}
-
-func (o GetSubnetsFilterArrayOutput) Index(i pulumi.IntInput) GetSubnetsFilterOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubnetsFilter {
- return vs[0].([]GetSubnetsFilter)[vs[1].(int)]
- }).(GetSubnetsFilterOutput)
-}
-
-type GetTransitGatewayRouteTablesFilter struct {
- // Name of the field to filter by, as defined by
- // [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayRouteTables.html).
- Name string `pulumi:"name"`
- // Set of values that are accepted for the given field.
- // A Transit Gateway Route Table will be selected if any one of the given values matches.
- Values []string `pulumi:"values"`
-}
-
-// GetTransitGatewayRouteTablesFilterInput is an input type that accepts GetTransitGatewayRouteTablesFilterArgs and GetTransitGatewayRouteTablesFilterOutput values.
-// You can construct a concrete instance of `GetTransitGatewayRouteTablesFilterInput` via:
-//
-// GetTransitGatewayRouteTablesFilterArgs{...}
-type GetTransitGatewayRouteTablesFilterInput interface {
- pulumi.Input
-
- ToGetTransitGatewayRouteTablesFilterOutput() GetTransitGatewayRouteTablesFilterOutput
- ToGetTransitGatewayRouteTablesFilterOutputWithContext(context.Context) GetTransitGatewayRouteTablesFilterOutput
-}
-
-type GetTransitGatewayRouteTablesFilterArgs struct {
- // Name of the field to filter by, as defined by
- // [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayRouteTables.html).
- Name pulumi.StringInput `pulumi:"name"`
- // Set of values that are accepted for the given field.
- // A Transit Gateway Route Table will be selected if any one of the given values matches.
- Values pulumi.StringArrayInput `pulumi:"values"`
-}
-
-func (GetTransitGatewayRouteTablesFilterArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*GetTransitGatewayRouteTablesFilter)(nil)).Elem()
-}
-
-func (i GetTransitGatewayRouteTablesFilterArgs) ToGetTransitGatewayRouteTablesFilterOutput() GetTransitGatewayRouteTablesFilterOutput {
- return i.ToGetTransitGatewayRouteTablesFilterOutputWithContext(context.Background())
-}
-
-func (i GetTransitGatewayRouteTablesFilterArgs) ToGetTransitGatewayRouteTablesFilterOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesFilterOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetTransitGatewayRouteTablesFilterOutput)
-}
-
-// GetTransitGatewayRouteTablesFilterArrayInput is an input type that accepts GetTransitGatewayRouteTablesFilterArray and GetTransitGatewayRouteTablesFilterArrayOutput values.
-// You can construct a concrete instance of `GetTransitGatewayRouteTablesFilterArrayInput` via:
-//
-// GetTransitGatewayRouteTablesFilterArray{ GetTransitGatewayRouteTablesFilterArgs{...} }
-type GetTransitGatewayRouteTablesFilterArrayInput interface {
- pulumi.Input
-
- ToGetTransitGatewayRouteTablesFilterArrayOutput() GetTransitGatewayRouteTablesFilterArrayOutput
- ToGetTransitGatewayRouteTablesFilterArrayOutputWithContext(context.Context) GetTransitGatewayRouteTablesFilterArrayOutput
-}
-
-type GetTransitGatewayRouteTablesFilterArray []GetTransitGatewayRouteTablesFilterInput
-
-func (GetTransitGatewayRouteTablesFilterArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GetTransitGatewayRouteTablesFilter)(nil)).Elem()
-}
-
-func (i GetTransitGatewayRouteTablesFilterArray) ToGetTransitGatewayRouteTablesFilterArrayOutput() GetTransitGatewayRouteTablesFilterArrayOutput {
- return i.ToGetTransitGatewayRouteTablesFilterArrayOutputWithContext(context.Background())
-}
-
-func (i GetTransitGatewayRouteTablesFilterArray) ToGetTransitGatewayRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesFilterArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GetTransitGatewayRouteTablesFilterArrayOutput)
-}
-
-type GetTransitGatewayRouteTablesFilterOutput struct{ *pulumi.OutputState }
-
-func (GetTransitGatewayRouteTablesFilterOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GetTransitGatewayRouteTablesFilter)(nil)).Elem()
-}
-
-func (o GetTransitGatewayRouteTablesFilterOutput) ToGetTransitGatewayRouteTablesFilterOutput() GetTransitGatewayRouteTablesFilterOutput {
- return o
-}
-
-func (o GetTransitGatewayRouteTablesFilterOutput) ToGetTransitGatewayRouteTablesFilterOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesFilterOutput {
- return o
-}
-
-// Name of the field to filter by, as defined by
-// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayRouteTables.html).
-func (o GetTransitGatewayRouteTablesFilterOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v GetTransitGatewayRouteTablesFilter) string { return v.Name }).(pulumi.StringOutput)
-}
-
-// Set of values that are accepted for the given field.
-// A Transit Gateway Route Table will be selected if any one of the given values matches.
-func (o GetTransitGatewayRouteTablesFilterOutput) Values() pulumi.StringArrayOutput {
- return o.ApplyT(func(v GetTransitGatewayRouteTablesFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
-}
-
-type GetTransitGatewayRouteTablesFilterArrayOutput struct{ *pulumi.OutputState }
-
-func (GetTransitGatewayRouteTablesFilterArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GetTransitGatewayRouteTablesFilter)(nil)).Elem()
-}
-
-func (o GetTransitGatewayRouteTablesFilterArrayOutput) ToGetTransitGatewayRouteTablesFilterArrayOutput() GetTransitGatewayRouteTablesFilterArrayOutput {
- return o
-}
-
-func (o GetTransitGatewayRouteTablesFilterArrayOutput) ToGetTransitGatewayRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesFilterArrayOutput {
- return o
-}
-
-func (o GetTransitGatewayRouteTablesFilterArrayOutput) Index(i pulumi.IntInput) GetTransitGatewayRouteTablesFilterOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTransitGatewayRouteTablesFilter {
- return vs[0].([]GetTransitGatewayRouteTablesFilter)[vs[1].(int)]
- }).(GetTransitGatewayRouteTablesFilterOutput)
-}
-
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*AllowedImagesSettingsImageCriterionInput)(nil)).Elem(), AllowedImagesSettingsImageCriterionArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*AllowedImagesSettingsImageCriterionArrayInput)(nil)).Elem(), AllowedImagesSettingsImageCriterionArray{})
@@ -70045,6 +69918,8 @@ func init() {
pulumi.RegisterInputType(reflect.TypeOf((*FleetTargetCapacitySpecificationPtrInput)(nil)).Elem(), FleetTargetCapacitySpecificationArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*FlowLogDestinationOptionsInput)(nil)).Elem(), FlowLogDestinationOptionsArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*FlowLogDestinationOptionsPtrInput)(nil)).Elem(), FlowLogDestinationOptionsArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*FlowLogTagFieldSpecificationInput)(nil)).Elem(), FlowLogTagFieldSpecificationArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*FlowLogTagFieldSpecificationArrayInput)(nil)).Elem(), FlowLogTagFieldSpecificationArray{})
pulumi.RegisterInputType(reflect.TypeOf((*InstanceCapacityReservationSpecificationInput)(nil)).Elem(), InstanceCapacityReservationSpecificationArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*InstanceCapacityReservationSpecificationPtrInput)(nil)).Elem(), InstanceCapacityReservationSpecificationArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*InstanceCapacityReservationSpecificationCapacityReservationTargetInput)(nil)).Elem(), InstanceCapacityReservationSpecificationCapacityReservationTargetArgs{})
@@ -70387,6 +70262,8 @@ func init() {
pulumi.RegisterInputType(reflect.TypeOf((*NetworkInterfaceEnaSrdSpecificationPtrInput)(nil)).Elem(), NetworkInterfaceEnaSrdSpecificationArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*NetworkInterfaceEnaSrdSpecificationEnaSrdUdpSpecificationInput)(nil)).Elem(), NetworkInterfaceEnaSrdSpecificationEnaSrdUdpSpecificationArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*NetworkInterfaceEnaSrdSpecificationEnaSrdUdpSpecificationPtrInput)(nil)).Elem(), NetworkInterfaceEnaSrdSpecificationEnaSrdUdpSpecificationArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*NetworkInterfaceFilterInput)(nil)).Elem(), NetworkInterfaceFilterArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*NetworkInterfaceFilterArrayInput)(nil)).Elem(), NetworkInterfaceFilterArray{})
pulumi.RegisterInputType(reflect.TypeOf((*NetworkInterfacePermissionTimeoutsInput)(nil)).Elem(), NetworkInterfacePermissionTimeoutsArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*NetworkInterfacePermissionTimeoutsPtrInput)(nil)).Elem(), NetworkInterfacePermissionTimeoutsArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*PeeringConnectionOptionsAccepterInput)(nil)).Elem(), PeeringConnectionOptionsAccepterArgs{})
@@ -70560,6 +70437,11 @@ func init() {
pulumi.RegisterInputType(reflect.TypeOf((*GetAmiIdsFilterArrayInput)(nil)).Elem(), GetAmiIdsFilterArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetAmiProductCodeInput)(nil)).Elem(), GetAmiProductCodeArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetAmiProductCodeArrayInput)(nil)).Elem(), GetAmiProductCodeArray{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetCapacityBlockReservationCommitmentInfoInput)(nil)).Elem(), GetCapacityBlockReservationCommitmentInfoArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetCapacityBlockReservationFilterInput)(nil)).Elem(), GetCapacityBlockReservationFilterArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetCapacityBlockReservationFilterArrayInput)(nil)).Elem(), GetCapacityBlockReservationFilterArray{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetCapacityBlockReservationInterruptibleCapacityAllocationInput)(nil)).Elem(), GetCapacityBlockReservationInterruptibleCapacityAllocationArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetCapacityBlockReservationInterruptionInfoInput)(nil)).Elem(), GetCapacityBlockReservationInterruptionInfoArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetCoipPoolFilterInput)(nil)).Elem(), GetCoipPoolFilterArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetCoipPoolFilterArrayInput)(nil)).Elem(), GetCoipPoolFilterArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetCoipPoolsFilterInput)(nil)).Elem(), GetCoipPoolsFilterArgs{})
@@ -70936,18 +70818,6 @@ func init() {
pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupFilterArrayInput)(nil)).Elem(), GetSecurityGroupFilterArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupsFilterInput)(nil)).Elem(), GetSecurityGroupsFilterArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetSecurityGroupsFilterArrayInput)(nil)).Elem(), GetSecurityGroupsFilterArray{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetServiceLinkVirtualInterfaceFilterInput)(nil)).Elem(), GetServiceLinkVirtualInterfaceFilterArgs{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetServiceLinkVirtualInterfaceFilterArrayInput)(nil)).Elem(), GetServiceLinkVirtualInterfaceFilterArray{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetServiceLinkVirtualInterfacesFilterInput)(nil)).Elem(), GetServiceLinkVirtualInterfacesFilterArgs{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetServiceLinkVirtualInterfacesFilterArrayInput)(nil)).Elem(), GetServiceLinkVirtualInterfacesFilterArray{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetSpotPriceFilterInput)(nil)).Elem(), GetSpotPriceFilterArgs{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetSpotPriceFilterArrayInput)(nil)).Elem(), GetSpotPriceFilterArray{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetFilterInput)(nil)).Elem(), GetSubnetFilterArgs{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetFilterArrayInput)(nil)).Elem(), GetSubnetFilterArray{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetsFilterInput)(nil)).Elem(), GetSubnetsFilterArgs{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetsFilterArrayInput)(nil)).Elem(), GetSubnetsFilterArray{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetTransitGatewayRouteTablesFilterInput)(nil)).Elem(), GetTransitGatewayRouteTablesFilterArgs{})
- pulumi.RegisterInputType(reflect.TypeOf((*GetTransitGatewayRouteTablesFilterArrayInput)(nil)).Elem(), GetTransitGatewayRouteTablesFilterArray{})
pulumi.RegisterOutputType(AllowedImagesSettingsImageCriterionOutput{})
pulumi.RegisterOutputType(AllowedImagesSettingsImageCriterionArrayOutput{})
pulumi.RegisterOutputType(AllowedImagesSettingsImageCriterionCreationDateConditionOutput{})
@@ -71044,6 +70914,8 @@ func init() {
pulumi.RegisterOutputType(FleetTargetCapacitySpecificationPtrOutput{})
pulumi.RegisterOutputType(FlowLogDestinationOptionsOutput{})
pulumi.RegisterOutputType(FlowLogDestinationOptionsPtrOutput{})
+ pulumi.RegisterOutputType(FlowLogTagFieldSpecificationOutput{})
+ pulumi.RegisterOutputType(FlowLogTagFieldSpecificationArrayOutput{})
pulumi.RegisterOutputType(InstanceCapacityReservationSpecificationOutput{})
pulumi.RegisterOutputType(InstanceCapacityReservationSpecificationPtrOutput{})
pulumi.RegisterOutputType(InstanceCapacityReservationSpecificationCapacityReservationTargetOutput{})
@@ -71386,6 +71258,8 @@ func init() {
pulumi.RegisterOutputType(NetworkInterfaceEnaSrdSpecificationPtrOutput{})
pulumi.RegisterOutputType(NetworkInterfaceEnaSrdSpecificationEnaSrdUdpSpecificationOutput{})
pulumi.RegisterOutputType(NetworkInterfaceEnaSrdSpecificationEnaSrdUdpSpecificationPtrOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceFilterOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceFilterArrayOutput{})
pulumi.RegisterOutputType(NetworkInterfacePermissionTimeoutsOutput{})
pulumi.RegisterOutputType(NetworkInterfacePermissionTimeoutsPtrOutput{})
pulumi.RegisterOutputType(PeeringConnectionOptionsAccepterOutput{})
@@ -71559,6 +71433,11 @@ func init() {
pulumi.RegisterOutputType(GetAmiIdsFilterArrayOutput{})
pulumi.RegisterOutputType(GetAmiProductCodeOutput{})
pulumi.RegisterOutputType(GetAmiProductCodeArrayOutput{})
+ pulumi.RegisterOutputType(GetCapacityBlockReservationCommitmentInfoOutput{})
+ pulumi.RegisterOutputType(GetCapacityBlockReservationFilterOutput{})
+ pulumi.RegisterOutputType(GetCapacityBlockReservationFilterArrayOutput{})
+ pulumi.RegisterOutputType(GetCapacityBlockReservationInterruptibleCapacityAllocationOutput{})
+ pulumi.RegisterOutputType(GetCapacityBlockReservationInterruptionInfoOutput{})
pulumi.RegisterOutputType(GetCoipPoolFilterOutput{})
pulumi.RegisterOutputType(GetCoipPoolFilterArrayOutput{})
pulumi.RegisterOutputType(GetCoipPoolsFilterOutput{})
@@ -71935,16 +71814,4 @@ func init() {
pulumi.RegisterOutputType(GetSecurityGroupFilterArrayOutput{})
pulumi.RegisterOutputType(GetSecurityGroupsFilterOutput{})
pulumi.RegisterOutputType(GetSecurityGroupsFilterArrayOutput{})
- pulumi.RegisterOutputType(GetServiceLinkVirtualInterfaceFilterOutput{})
- pulumi.RegisterOutputType(GetServiceLinkVirtualInterfaceFilterArrayOutput{})
- pulumi.RegisterOutputType(GetServiceLinkVirtualInterfacesFilterOutput{})
- pulumi.RegisterOutputType(GetServiceLinkVirtualInterfacesFilterArrayOutput{})
- pulumi.RegisterOutputType(GetSpotPriceFilterOutput{})
- pulumi.RegisterOutputType(GetSpotPriceFilterArrayOutput{})
- pulumi.RegisterOutputType(GetSubnetFilterOutput{})
- pulumi.RegisterOutputType(GetSubnetFilterArrayOutput{})
- pulumi.RegisterOutputType(GetSubnetsFilterOutput{})
- pulumi.RegisterOutputType(GetSubnetsFilterArrayOutput{})
- pulumi.RegisterOutputType(GetTransitGatewayRouteTablesFilterOutput{})
- pulumi.RegisterOutputType(GetTransitGatewayRouteTablesFilterArrayOutput{})
}
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/pulumiTypes1.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/pulumiTypes1.go
index bbef48b37..9bd6359b0 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/pulumiTypes1.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/pulumiTypes1.go
@@ -13,6 +13,657 @@ import (
var _ = internal.GetEnvOrDefault
+type GetServiceLinkVirtualInterfaceFilter struct {
+ // Name of the filter.
+ Name string `pulumi:"name"`
+ // List of one or more values for the filter.
+ Values []string `pulumi:"values"`
+}
+
+// GetServiceLinkVirtualInterfaceFilterInput is an input type that accepts GetServiceLinkVirtualInterfaceFilterArgs and GetServiceLinkVirtualInterfaceFilterOutput values.
+// You can construct a concrete instance of `GetServiceLinkVirtualInterfaceFilterInput` via:
+//
+// GetServiceLinkVirtualInterfaceFilterArgs{...}
+type GetServiceLinkVirtualInterfaceFilterInput interface {
+ pulumi.Input
+
+ ToGetServiceLinkVirtualInterfaceFilterOutput() GetServiceLinkVirtualInterfaceFilterOutput
+ ToGetServiceLinkVirtualInterfaceFilterOutputWithContext(context.Context) GetServiceLinkVirtualInterfaceFilterOutput
+}
+
+type GetServiceLinkVirtualInterfaceFilterArgs struct {
+ // Name of the filter.
+ Name pulumi.StringInput `pulumi:"name"`
+ // List of one or more values for the filter.
+ Values pulumi.StringArrayInput `pulumi:"values"`
+}
+
+func (GetServiceLinkVirtualInterfaceFilterArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetServiceLinkVirtualInterfaceFilter)(nil)).Elem()
+}
+
+func (i GetServiceLinkVirtualInterfaceFilterArgs) ToGetServiceLinkVirtualInterfaceFilterOutput() GetServiceLinkVirtualInterfaceFilterOutput {
+ return i.ToGetServiceLinkVirtualInterfaceFilterOutputWithContext(context.Background())
+}
+
+func (i GetServiceLinkVirtualInterfaceFilterArgs) ToGetServiceLinkVirtualInterfaceFilterOutputWithContext(ctx context.Context) GetServiceLinkVirtualInterfaceFilterOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetServiceLinkVirtualInterfaceFilterOutput)
+}
+
+// GetServiceLinkVirtualInterfaceFilterArrayInput is an input type that accepts GetServiceLinkVirtualInterfaceFilterArray and GetServiceLinkVirtualInterfaceFilterArrayOutput values.
+// You can construct a concrete instance of `GetServiceLinkVirtualInterfaceFilterArrayInput` via:
+//
+// GetServiceLinkVirtualInterfaceFilterArray{ GetServiceLinkVirtualInterfaceFilterArgs{...} }
+type GetServiceLinkVirtualInterfaceFilterArrayInput interface {
+ pulumi.Input
+
+ ToGetServiceLinkVirtualInterfaceFilterArrayOutput() GetServiceLinkVirtualInterfaceFilterArrayOutput
+ ToGetServiceLinkVirtualInterfaceFilterArrayOutputWithContext(context.Context) GetServiceLinkVirtualInterfaceFilterArrayOutput
+}
+
+type GetServiceLinkVirtualInterfaceFilterArray []GetServiceLinkVirtualInterfaceFilterInput
+
+func (GetServiceLinkVirtualInterfaceFilterArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetServiceLinkVirtualInterfaceFilter)(nil)).Elem()
+}
+
+func (i GetServiceLinkVirtualInterfaceFilterArray) ToGetServiceLinkVirtualInterfaceFilterArrayOutput() GetServiceLinkVirtualInterfaceFilterArrayOutput {
+ return i.ToGetServiceLinkVirtualInterfaceFilterArrayOutputWithContext(context.Background())
+}
+
+func (i GetServiceLinkVirtualInterfaceFilterArray) ToGetServiceLinkVirtualInterfaceFilterArrayOutputWithContext(ctx context.Context) GetServiceLinkVirtualInterfaceFilterArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetServiceLinkVirtualInterfaceFilterArrayOutput)
+}
+
+type GetServiceLinkVirtualInterfaceFilterOutput struct{ *pulumi.OutputState }
+
+func (GetServiceLinkVirtualInterfaceFilterOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetServiceLinkVirtualInterfaceFilter)(nil)).Elem()
+}
+
+func (o GetServiceLinkVirtualInterfaceFilterOutput) ToGetServiceLinkVirtualInterfaceFilterOutput() GetServiceLinkVirtualInterfaceFilterOutput {
+ return o
+}
+
+func (o GetServiceLinkVirtualInterfaceFilterOutput) ToGetServiceLinkVirtualInterfaceFilterOutputWithContext(ctx context.Context) GetServiceLinkVirtualInterfaceFilterOutput {
+ return o
+}
+
+// Name of the filter.
+func (o GetServiceLinkVirtualInterfaceFilterOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v GetServiceLinkVirtualInterfaceFilter) string { return v.Name }).(pulumi.StringOutput)
+}
+
+// List of one or more values for the filter.
+func (o GetServiceLinkVirtualInterfaceFilterOutput) Values() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetServiceLinkVirtualInterfaceFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
+}
+
+type GetServiceLinkVirtualInterfaceFilterArrayOutput struct{ *pulumi.OutputState }
+
+func (GetServiceLinkVirtualInterfaceFilterArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetServiceLinkVirtualInterfaceFilter)(nil)).Elem()
+}
+
+func (o GetServiceLinkVirtualInterfaceFilterArrayOutput) ToGetServiceLinkVirtualInterfaceFilterArrayOutput() GetServiceLinkVirtualInterfaceFilterArrayOutput {
+ return o
+}
+
+func (o GetServiceLinkVirtualInterfaceFilterArrayOutput) ToGetServiceLinkVirtualInterfaceFilterArrayOutputWithContext(ctx context.Context) GetServiceLinkVirtualInterfaceFilterArrayOutput {
+ return o
+}
+
+func (o GetServiceLinkVirtualInterfaceFilterArrayOutput) Index(i pulumi.IntInput) GetServiceLinkVirtualInterfaceFilterOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceLinkVirtualInterfaceFilter {
+ return vs[0].([]GetServiceLinkVirtualInterfaceFilter)[vs[1].(int)]
+ }).(GetServiceLinkVirtualInterfaceFilterOutput)
+}
+
+type GetServiceLinkVirtualInterfacesFilter struct {
+ // Name of the filter.
+ Name string `pulumi:"name"`
+ // List of one or more values for the filter.
+ Values []string `pulumi:"values"`
+}
+
+// GetServiceLinkVirtualInterfacesFilterInput is an input type that accepts GetServiceLinkVirtualInterfacesFilterArgs and GetServiceLinkVirtualInterfacesFilterOutput values.
+// You can construct a concrete instance of `GetServiceLinkVirtualInterfacesFilterInput` via:
+//
+// GetServiceLinkVirtualInterfacesFilterArgs{...}
+type GetServiceLinkVirtualInterfacesFilterInput interface {
+ pulumi.Input
+
+ ToGetServiceLinkVirtualInterfacesFilterOutput() GetServiceLinkVirtualInterfacesFilterOutput
+ ToGetServiceLinkVirtualInterfacesFilterOutputWithContext(context.Context) GetServiceLinkVirtualInterfacesFilterOutput
+}
+
+type GetServiceLinkVirtualInterfacesFilterArgs struct {
+ // Name of the filter.
+ Name pulumi.StringInput `pulumi:"name"`
+ // List of one or more values for the filter.
+ Values pulumi.StringArrayInput `pulumi:"values"`
+}
+
+func (GetServiceLinkVirtualInterfacesFilterArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetServiceLinkVirtualInterfacesFilter)(nil)).Elem()
+}
+
+func (i GetServiceLinkVirtualInterfacesFilterArgs) ToGetServiceLinkVirtualInterfacesFilterOutput() GetServiceLinkVirtualInterfacesFilterOutput {
+ return i.ToGetServiceLinkVirtualInterfacesFilterOutputWithContext(context.Background())
+}
+
+func (i GetServiceLinkVirtualInterfacesFilterArgs) ToGetServiceLinkVirtualInterfacesFilterOutputWithContext(ctx context.Context) GetServiceLinkVirtualInterfacesFilterOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetServiceLinkVirtualInterfacesFilterOutput)
+}
+
+// GetServiceLinkVirtualInterfacesFilterArrayInput is an input type that accepts GetServiceLinkVirtualInterfacesFilterArray and GetServiceLinkVirtualInterfacesFilterArrayOutput values.
+// You can construct a concrete instance of `GetServiceLinkVirtualInterfacesFilterArrayInput` via:
+//
+// GetServiceLinkVirtualInterfacesFilterArray{ GetServiceLinkVirtualInterfacesFilterArgs{...} }
+type GetServiceLinkVirtualInterfacesFilterArrayInput interface {
+ pulumi.Input
+
+ ToGetServiceLinkVirtualInterfacesFilterArrayOutput() GetServiceLinkVirtualInterfacesFilterArrayOutput
+ ToGetServiceLinkVirtualInterfacesFilterArrayOutputWithContext(context.Context) GetServiceLinkVirtualInterfacesFilterArrayOutput
+}
+
+type GetServiceLinkVirtualInterfacesFilterArray []GetServiceLinkVirtualInterfacesFilterInput
+
+func (GetServiceLinkVirtualInterfacesFilterArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetServiceLinkVirtualInterfacesFilter)(nil)).Elem()
+}
+
+func (i GetServiceLinkVirtualInterfacesFilterArray) ToGetServiceLinkVirtualInterfacesFilterArrayOutput() GetServiceLinkVirtualInterfacesFilterArrayOutput {
+ return i.ToGetServiceLinkVirtualInterfacesFilterArrayOutputWithContext(context.Background())
+}
+
+func (i GetServiceLinkVirtualInterfacesFilterArray) ToGetServiceLinkVirtualInterfacesFilterArrayOutputWithContext(ctx context.Context) GetServiceLinkVirtualInterfacesFilterArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetServiceLinkVirtualInterfacesFilterArrayOutput)
+}
+
+type GetServiceLinkVirtualInterfacesFilterOutput struct{ *pulumi.OutputState }
+
+func (GetServiceLinkVirtualInterfacesFilterOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetServiceLinkVirtualInterfacesFilter)(nil)).Elem()
+}
+
+func (o GetServiceLinkVirtualInterfacesFilterOutput) ToGetServiceLinkVirtualInterfacesFilterOutput() GetServiceLinkVirtualInterfacesFilterOutput {
+ return o
+}
+
+func (o GetServiceLinkVirtualInterfacesFilterOutput) ToGetServiceLinkVirtualInterfacesFilterOutputWithContext(ctx context.Context) GetServiceLinkVirtualInterfacesFilterOutput {
+ return o
+}
+
+// Name of the filter.
+func (o GetServiceLinkVirtualInterfacesFilterOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v GetServiceLinkVirtualInterfacesFilter) string { return v.Name }).(pulumi.StringOutput)
+}
+
+// List of one or more values for the filter.
+func (o GetServiceLinkVirtualInterfacesFilterOutput) Values() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetServiceLinkVirtualInterfacesFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
+}
+
+type GetServiceLinkVirtualInterfacesFilterArrayOutput struct{ *pulumi.OutputState }
+
+func (GetServiceLinkVirtualInterfacesFilterArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetServiceLinkVirtualInterfacesFilter)(nil)).Elem()
+}
+
+func (o GetServiceLinkVirtualInterfacesFilterArrayOutput) ToGetServiceLinkVirtualInterfacesFilterArrayOutput() GetServiceLinkVirtualInterfacesFilterArrayOutput {
+ return o
+}
+
+func (o GetServiceLinkVirtualInterfacesFilterArrayOutput) ToGetServiceLinkVirtualInterfacesFilterArrayOutputWithContext(ctx context.Context) GetServiceLinkVirtualInterfacesFilterArrayOutput {
+ return o
+}
+
+func (o GetServiceLinkVirtualInterfacesFilterArrayOutput) Index(i pulumi.IntInput) GetServiceLinkVirtualInterfacesFilterOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceLinkVirtualInterfacesFilter {
+ return vs[0].([]GetServiceLinkVirtualInterfacesFilter)[vs[1].(int)]
+ }).(GetServiceLinkVirtualInterfacesFilterOutput)
+}
+
+type GetSpotPriceFilter struct {
+ // Name of the filter.
+ Name string `pulumi:"name"`
+ // List of one or more values for the filter.
+ Values []string `pulumi:"values"`
+}
+
+// GetSpotPriceFilterInput is an input type that accepts GetSpotPriceFilterArgs and GetSpotPriceFilterOutput values.
+// You can construct a concrete instance of `GetSpotPriceFilterInput` via:
+//
+// GetSpotPriceFilterArgs{...}
+type GetSpotPriceFilterInput interface {
+ pulumi.Input
+
+ ToGetSpotPriceFilterOutput() GetSpotPriceFilterOutput
+ ToGetSpotPriceFilterOutputWithContext(context.Context) GetSpotPriceFilterOutput
+}
+
+type GetSpotPriceFilterArgs struct {
+ // Name of the filter.
+ Name pulumi.StringInput `pulumi:"name"`
+ // List of one or more values for the filter.
+ Values pulumi.StringArrayInput `pulumi:"values"`
+}
+
+func (GetSpotPriceFilterArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetSpotPriceFilter)(nil)).Elem()
+}
+
+func (i GetSpotPriceFilterArgs) ToGetSpotPriceFilterOutput() GetSpotPriceFilterOutput {
+ return i.ToGetSpotPriceFilterOutputWithContext(context.Background())
+}
+
+func (i GetSpotPriceFilterArgs) ToGetSpotPriceFilterOutputWithContext(ctx context.Context) GetSpotPriceFilterOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetSpotPriceFilterOutput)
+}
+
+// GetSpotPriceFilterArrayInput is an input type that accepts GetSpotPriceFilterArray and GetSpotPriceFilterArrayOutput values.
+// You can construct a concrete instance of `GetSpotPriceFilterArrayInput` via:
+//
+// GetSpotPriceFilterArray{ GetSpotPriceFilterArgs{...} }
+type GetSpotPriceFilterArrayInput interface {
+ pulumi.Input
+
+ ToGetSpotPriceFilterArrayOutput() GetSpotPriceFilterArrayOutput
+ ToGetSpotPriceFilterArrayOutputWithContext(context.Context) GetSpotPriceFilterArrayOutput
+}
+
+type GetSpotPriceFilterArray []GetSpotPriceFilterInput
+
+func (GetSpotPriceFilterArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetSpotPriceFilter)(nil)).Elem()
+}
+
+func (i GetSpotPriceFilterArray) ToGetSpotPriceFilterArrayOutput() GetSpotPriceFilterArrayOutput {
+ return i.ToGetSpotPriceFilterArrayOutputWithContext(context.Background())
+}
+
+func (i GetSpotPriceFilterArray) ToGetSpotPriceFilterArrayOutputWithContext(ctx context.Context) GetSpotPriceFilterArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetSpotPriceFilterArrayOutput)
+}
+
+type GetSpotPriceFilterOutput struct{ *pulumi.OutputState }
+
+func (GetSpotPriceFilterOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetSpotPriceFilter)(nil)).Elem()
+}
+
+func (o GetSpotPriceFilterOutput) ToGetSpotPriceFilterOutput() GetSpotPriceFilterOutput {
+ return o
+}
+
+func (o GetSpotPriceFilterOutput) ToGetSpotPriceFilterOutputWithContext(ctx context.Context) GetSpotPriceFilterOutput {
+ return o
+}
+
+// Name of the filter.
+func (o GetSpotPriceFilterOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v GetSpotPriceFilter) string { return v.Name }).(pulumi.StringOutput)
+}
+
+// List of one or more values for the filter.
+func (o GetSpotPriceFilterOutput) Values() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetSpotPriceFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
+}
+
+type GetSpotPriceFilterArrayOutput struct{ *pulumi.OutputState }
+
+func (GetSpotPriceFilterArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetSpotPriceFilter)(nil)).Elem()
+}
+
+func (o GetSpotPriceFilterArrayOutput) ToGetSpotPriceFilterArrayOutput() GetSpotPriceFilterArrayOutput {
+ return o
+}
+
+func (o GetSpotPriceFilterArrayOutput) ToGetSpotPriceFilterArrayOutputWithContext(ctx context.Context) GetSpotPriceFilterArrayOutput {
+ return o
+}
+
+func (o GetSpotPriceFilterArrayOutput) Index(i pulumi.IntInput) GetSpotPriceFilterOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSpotPriceFilter {
+ return vs[0].([]GetSpotPriceFilter)[vs[1].(int)]
+ }).(GetSpotPriceFilterOutput)
+}
+
+type GetSubnetFilter struct {
+ // Name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html).
+ Name string `pulumi:"name"`
+ // Set of values that are accepted for the given field. A subnet will be selected if any one of the given values matches.
+ Values []string `pulumi:"values"`
+}
+
+// GetSubnetFilterInput is an input type that accepts GetSubnetFilterArgs and GetSubnetFilterOutput values.
+// You can construct a concrete instance of `GetSubnetFilterInput` via:
+//
+// GetSubnetFilterArgs{...}
+type GetSubnetFilterInput interface {
+ pulumi.Input
+
+ ToGetSubnetFilterOutput() GetSubnetFilterOutput
+ ToGetSubnetFilterOutputWithContext(context.Context) GetSubnetFilterOutput
+}
+
+type GetSubnetFilterArgs struct {
+ // Name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html).
+ Name pulumi.StringInput `pulumi:"name"`
+ // Set of values that are accepted for the given field. A subnet will be selected if any one of the given values matches.
+ Values pulumi.StringArrayInput `pulumi:"values"`
+}
+
+func (GetSubnetFilterArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetSubnetFilter)(nil)).Elem()
+}
+
+func (i GetSubnetFilterArgs) ToGetSubnetFilterOutput() GetSubnetFilterOutput {
+ return i.ToGetSubnetFilterOutputWithContext(context.Background())
+}
+
+func (i GetSubnetFilterArgs) ToGetSubnetFilterOutputWithContext(ctx context.Context) GetSubnetFilterOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetSubnetFilterOutput)
+}
+
+// GetSubnetFilterArrayInput is an input type that accepts GetSubnetFilterArray and GetSubnetFilterArrayOutput values.
+// You can construct a concrete instance of `GetSubnetFilterArrayInput` via:
+//
+// GetSubnetFilterArray{ GetSubnetFilterArgs{...} }
+type GetSubnetFilterArrayInput interface {
+ pulumi.Input
+
+ ToGetSubnetFilterArrayOutput() GetSubnetFilterArrayOutput
+ ToGetSubnetFilterArrayOutputWithContext(context.Context) GetSubnetFilterArrayOutput
+}
+
+type GetSubnetFilterArray []GetSubnetFilterInput
+
+func (GetSubnetFilterArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetSubnetFilter)(nil)).Elem()
+}
+
+func (i GetSubnetFilterArray) ToGetSubnetFilterArrayOutput() GetSubnetFilterArrayOutput {
+ return i.ToGetSubnetFilterArrayOutputWithContext(context.Background())
+}
+
+func (i GetSubnetFilterArray) ToGetSubnetFilterArrayOutputWithContext(ctx context.Context) GetSubnetFilterArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetSubnetFilterArrayOutput)
+}
+
+type GetSubnetFilterOutput struct{ *pulumi.OutputState }
+
+func (GetSubnetFilterOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetSubnetFilter)(nil)).Elem()
+}
+
+func (o GetSubnetFilterOutput) ToGetSubnetFilterOutput() GetSubnetFilterOutput {
+ return o
+}
+
+func (o GetSubnetFilterOutput) ToGetSubnetFilterOutputWithContext(ctx context.Context) GetSubnetFilterOutput {
+ return o
+}
+
+// Name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html).
+func (o GetSubnetFilterOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v GetSubnetFilter) string { return v.Name }).(pulumi.StringOutput)
+}
+
+// Set of values that are accepted for the given field. A subnet will be selected if any one of the given values matches.
+func (o GetSubnetFilterOutput) Values() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetSubnetFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
+}
+
+type GetSubnetFilterArrayOutput struct{ *pulumi.OutputState }
+
+func (GetSubnetFilterArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetSubnetFilter)(nil)).Elem()
+}
+
+func (o GetSubnetFilterArrayOutput) ToGetSubnetFilterArrayOutput() GetSubnetFilterArrayOutput {
+ return o
+}
+
+func (o GetSubnetFilterArrayOutput) ToGetSubnetFilterArrayOutputWithContext(ctx context.Context) GetSubnetFilterArrayOutput {
+ return o
+}
+
+func (o GetSubnetFilterArrayOutput) Index(i pulumi.IntInput) GetSubnetFilterOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubnetFilter {
+ return vs[0].([]GetSubnetFilter)[vs[1].(int)]
+ }).(GetSubnetFilterOutput)
+}
+
+type GetSubnetsFilter struct {
+ // Name of the field to filter by, as defined by
+ // [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html).
+ // For example, if matching against tag `Name`, use:
+ Name string `pulumi:"name"`
+ // Set of values that are accepted for the given field.
+ // Subnet IDs will be selected if any one of the given values match.
+ Values []string `pulumi:"values"`
+}
+
+// GetSubnetsFilterInput is an input type that accepts GetSubnetsFilterArgs and GetSubnetsFilterOutput values.
+// You can construct a concrete instance of `GetSubnetsFilterInput` via:
+//
+// GetSubnetsFilterArgs{...}
+type GetSubnetsFilterInput interface {
+ pulumi.Input
+
+ ToGetSubnetsFilterOutput() GetSubnetsFilterOutput
+ ToGetSubnetsFilterOutputWithContext(context.Context) GetSubnetsFilterOutput
+}
+
+type GetSubnetsFilterArgs struct {
+ // Name of the field to filter by, as defined by
+ // [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html).
+ // For example, if matching against tag `Name`, use:
+ Name pulumi.StringInput `pulumi:"name"`
+ // Set of values that are accepted for the given field.
+ // Subnet IDs will be selected if any one of the given values match.
+ Values pulumi.StringArrayInput `pulumi:"values"`
+}
+
+func (GetSubnetsFilterArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetSubnetsFilter)(nil)).Elem()
+}
+
+func (i GetSubnetsFilterArgs) ToGetSubnetsFilterOutput() GetSubnetsFilterOutput {
+ return i.ToGetSubnetsFilterOutputWithContext(context.Background())
+}
+
+func (i GetSubnetsFilterArgs) ToGetSubnetsFilterOutputWithContext(ctx context.Context) GetSubnetsFilterOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetSubnetsFilterOutput)
+}
+
+// GetSubnetsFilterArrayInput is an input type that accepts GetSubnetsFilterArray and GetSubnetsFilterArrayOutput values.
+// You can construct a concrete instance of `GetSubnetsFilterArrayInput` via:
+//
+// GetSubnetsFilterArray{ GetSubnetsFilterArgs{...} }
+type GetSubnetsFilterArrayInput interface {
+ pulumi.Input
+
+ ToGetSubnetsFilterArrayOutput() GetSubnetsFilterArrayOutput
+ ToGetSubnetsFilterArrayOutputWithContext(context.Context) GetSubnetsFilterArrayOutput
+}
+
+type GetSubnetsFilterArray []GetSubnetsFilterInput
+
+func (GetSubnetsFilterArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetSubnetsFilter)(nil)).Elem()
+}
+
+func (i GetSubnetsFilterArray) ToGetSubnetsFilterArrayOutput() GetSubnetsFilterArrayOutput {
+ return i.ToGetSubnetsFilterArrayOutputWithContext(context.Background())
+}
+
+func (i GetSubnetsFilterArray) ToGetSubnetsFilterArrayOutputWithContext(ctx context.Context) GetSubnetsFilterArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetSubnetsFilterArrayOutput)
+}
+
+type GetSubnetsFilterOutput struct{ *pulumi.OutputState }
+
+func (GetSubnetsFilterOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetSubnetsFilter)(nil)).Elem()
+}
+
+func (o GetSubnetsFilterOutput) ToGetSubnetsFilterOutput() GetSubnetsFilterOutput {
+ return o
+}
+
+func (o GetSubnetsFilterOutput) ToGetSubnetsFilterOutputWithContext(ctx context.Context) GetSubnetsFilterOutput {
+ return o
+}
+
+// Name of the field to filter by, as defined by
+// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html).
+// For example, if matching against tag `Name`, use:
+func (o GetSubnetsFilterOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v GetSubnetsFilter) string { return v.Name }).(pulumi.StringOutput)
+}
+
+// Set of values that are accepted for the given field.
+// Subnet IDs will be selected if any one of the given values match.
+func (o GetSubnetsFilterOutput) Values() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetSubnetsFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
+}
+
+type GetSubnetsFilterArrayOutput struct{ *pulumi.OutputState }
+
+func (GetSubnetsFilterArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetSubnetsFilter)(nil)).Elem()
+}
+
+func (o GetSubnetsFilterArrayOutput) ToGetSubnetsFilterArrayOutput() GetSubnetsFilterArrayOutput {
+ return o
+}
+
+func (o GetSubnetsFilterArrayOutput) ToGetSubnetsFilterArrayOutputWithContext(ctx context.Context) GetSubnetsFilterArrayOutput {
+ return o
+}
+
+func (o GetSubnetsFilterArrayOutput) Index(i pulumi.IntInput) GetSubnetsFilterOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSubnetsFilter {
+ return vs[0].([]GetSubnetsFilter)[vs[1].(int)]
+ }).(GetSubnetsFilterOutput)
+}
+
+type GetTransitGatewayRouteTablesFilter struct {
+ // Name of the field to filter by, as defined by
+ // [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayRouteTables.html).
+ Name string `pulumi:"name"`
+ // Set of values that are accepted for the given field.
+ // A Transit Gateway Route Table will be selected if any one of the given values matches.
+ Values []string `pulumi:"values"`
+}
+
+// GetTransitGatewayRouteTablesFilterInput is an input type that accepts GetTransitGatewayRouteTablesFilterArgs and GetTransitGatewayRouteTablesFilterOutput values.
+// You can construct a concrete instance of `GetTransitGatewayRouteTablesFilterInput` via:
+//
+// GetTransitGatewayRouteTablesFilterArgs{...}
+type GetTransitGatewayRouteTablesFilterInput interface {
+ pulumi.Input
+
+ ToGetTransitGatewayRouteTablesFilterOutput() GetTransitGatewayRouteTablesFilterOutput
+ ToGetTransitGatewayRouteTablesFilterOutputWithContext(context.Context) GetTransitGatewayRouteTablesFilterOutput
+}
+
+type GetTransitGatewayRouteTablesFilterArgs struct {
+ // Name of the field to filter by, as defined by
+ // [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayRouteTables.html).
+ Name pulumi.StringInput `pulumi:"name"`
+ // Set of values that are accepted for the given field.
+ // A Transit Gateway Route Table will be selected if any one of the given values matches.
+ Values pulumi.StringArrayInput `pulumi:"values"`
+}
+
+func (GetTransitGatewayRouteTablesFilterArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetTransitGatewayRouteTablesFilter)(nil)).Elem()
+}
+
+func (i GetTransitGatewayRouteTablesFilterArgs) ToGetTransitGatewayRouteTablesFilterOutput() GetTransitGatewayRouteTablesFilterOutput {
+ return i.ToGetTransitGatewayRouteTablesFilterOutputWithContext(context.Background())
+}
+
+func (i GetTransitGatewayRouteTablesFilterArgs) ToGetTransitGatewayRouteTablesFilterOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesFilterOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetTransitGatewayRouteTablesFilterOutput)
+}
+
+// GetTransitGatewayRouteTablesFilterArrayInput is an input type that accepts GetTransitGatewayRouteTablesFilterArray and GetTransitGatewayRouteTablesFilterArrayOutput values.
+// You can construct a concrete instance of `GetTransitGatewayRouteTablesFilterArrayInput` via:
+//
+// GetTransitGatewayRouteTablesFilterArray{ GetTransitGatewayRouteTablesFilterArgs{...} }
+type GetTransitGatewayRouteTablesFilterArrayInput interface {
+ pulumi.Input
+
+ ToGetTransitGatewayRouteTablesFilterArrayOutput() GetTransitGatewayRouteTablesFilterArrayOutput
+ ToGetTransitGatewayRouteTablesFilterArrayOutputWithContext(context.Context) GetTransitGatewayRouteTablesFilterArrayOutput
+}
+
+type GetTransitGatewayRouteTablesFilterArray []GetTransitGatewayRouteTablesFilterInput
+
+func (GetTransitGatewayRouteTablesFilterArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetTransitGatewayRouteTablesFilter)(nil)).Elem()
+}
+
+func (i GetTransitGatewayRouteTablesFilterArray) ToGetTransitGatewayRouteTablesFilterArrayOutput() GetTransitGatewayRouteTablesFilterArrayOutput {
+ return i.ToGetTransitGatewayRouteTablesFilterArrayOutputWithContext(context.Background())
+}
+
+func (i GetTransitGatewayRouteTablesFilterArray) ToGetTransitGatewayRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesFilterArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetTransitGatewayRouteTablesFilterArrayOutput)
+}
+
+type GetTransitGatewayRouteTablesFilterOutput struct{ *pulumi.OutputState }
+
+func (GetTransitGatewayRouteTablesFilterOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetTransitGatewayRouteTablesFilter)(nil)).Elem()
+}
+
+func (o GetTransitGatewayRouteTablesFilterOutput) ToGetTransitGatewayRouteTablesFilterOutput() GetTransitGatewayRouteTablesFilterOutput {
+ return o
+}
+
+func (o GetTransitGatewayRouteTablesFilterOutput) ToGetTransitGatewayRouteTablesFilterOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesFilterOutput {
+ return o
+}
+
+// Name of the field to filter by, as defined by
+// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayRouteTables.html).
+func (o GetTransitGatewayRouteTablesFilterOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v GetTransitGatewayRouteTablesFilter) string { return v.Name }).(pulumi.StringOutput)
+}
+
+// Set of values that are accepted for the given field.
+// A Transit Gateway Route Table will be selected if any one of the given values matches.
+func (o GetTransitGatewayRouteTablesFilterOutput) Values() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetTransitGatewayRouteTablesFilter) []string { return v.Values }).(pulumi.StringArrayOutput)
+}
+
+type GetTransitGatewayRouteTablesFilterArrayOutput struct{ *pulumi.OutputState }
+
+func (GetTransitGatewayRouteTablesFilterArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetTransitGatewayRouteTablesFilter)(nil)).Elem()
+}
+
+func (o GetTransitGatewayRouteTablesFilterArrayOutput) ToGetTransitGatewayRouteTablesFilterArrayOutput() GetTransitGatewayRouteTablesFilterArrayOutput {
+ return o
+}
+
+func (o GetTransitGatewayRouteTablesFilterArrayOutput) ToGetTransitGatewayRouteTablesFilterArrayOutputWithContext(ctx context.Context) GetTransitGatewayRouteTablesFilterArrayOutput {
+ return o
+}
+
+func (o GetTransitGatewayRouteTablesFilterArrayOutput) Index(i pulumi.IntInput) GetTransitGatewayRouteTablesFilterOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetTransitGatewayRouteTablesFilter {
+ return vs[0].([]GetTransitGatewayRouteTablesFilter)[vs[1].(int)]
+ }).(GetTransitGatewayRouteTablesFilterOutput)
+}
+
type GetVpcCidrBlockAssociation struct {
// Association ID for the IPv4 CIDR block.
AssociationId string `pulumi:"associationId"`
@@ -3297,6 +3948,18 @@ func (o GetVpnGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetVpnGatewayFi
}
func init() {
+ pulumi.RegisterInputType(reflect.TypeOf((*GetServiceLinkVirtualInterfaceFilterInput)(nil)).Elem(), GetServiceLinkVirtualInterfaceFilterArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetServiceLinkVirtualInterfaceFilterArrayInput)(nil)).Elem(), GetServiceLinkVirtualInterfaceFilterArray{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetServiceLinkVirtualInterfacesFilterInput)(nil)).Elem(), GetServiceLinkVirtualInterfacesFilterArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetServiceLinkVirtualInterfacesFilterArrayInput)(nil)).Elem(), GetServiceLinkVirtualInterfacesFilterArray{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetSpotPriceFilterInput)(nil)).Elem(), GetSpotPriceFilterArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetSpotPriceFilterArrayInput)(nil)).Elem(), GetSpotPriceFilterArray{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetFilterInput)(nil)).Elem(), GetSubnetFilterArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetFilterArrayInput)(nil)).Elem(), GetSubnetFilterArray{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetsFilterInput)(nil)).Elem(), GetSubnetsFilterArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetSubnetsFilterArrayInput)(nil)).Elem(), GetSubnetsFilterArray{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetTransitGatewayRouteTablesFilterInput)(nil)).Elem(), GetTransitGatewayRouteTablesFilterArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetTransitGatewayRouteTablesFilterArrayInput)(nil)).Elem(), GetTransitGatewayRouteTablesFilterArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetVpcCidrBlockAssociationInput)(nil)).Elem(), GetVpcCidrBlockAssociationArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetVpcCidrBlockAssociationArrayInput)(nil)).Elem(), GetVpcCidrBlockAssociationArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetVpcDhcpOptionsFilterInput)(nil)).Elem(), GetVpcDhcpOptionsFilterArgs{})
@@ -3353,6 +4016,18 @@ func init() {
pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionVgwTelemetryArrayInput)(nil)).Elem(), GetVpnConnectionVgwTelemetryArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetVpnGatewayFilterInput)(nil)).Elem(), GetVpnGatewayFilterArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetVpnGatewayFilterArrayInput)(nil)).Elem(), GetVpnGatewayFilterArray{})
+ pulumi.RegisterOutputType(GetServiceLinkVirtualInterfaceFilterOutput{})
+ pulumi.RegisterOutputType(GetServiceLinkVirtualInterfaceFilterArrayOutput{})
+ pulumi.RegisterOutputType(GetServiceLinkVirtualInterfacesFilterOutput{})
+ pulumi.RegisterOutputType(GetServiceLinkVirtualInterfacesFilterArrayOutput{})
+ pulumi.RegisterOutputType(GetSpotPriceFilterOutput{})
+ pulumi.RegisterOutputType(GetSpotPriceFilterArrayOutput{})
+ pulumi.RegisterOutputType(GetSubnetFilterOutput{})
+ pulumi.RegisterOutputType(GetSubnetFilterArrayOutput{})
+ pulumi.RegisterOutputType(GetSubnetsFilterOutput{})
+ pulumi.RegisterOutputType(GetSubnetsFilterArrayOutput{})
+ pulumi.RegisterOutputType(GetTransitGatewayRouteTablesFilterOutput{})
+ pulumi.RegisterOutputType(GetTransitGatewayRouteTablesFilterArrayOutput{})
pulumi.RegisterOutputType(GetVpcCidrBlockAssociationOutput{})
pulumi.RegisterOutputType(GetVpcCidrBlockAssociationArrayOutput{})
pulumi.RegisterOutputType(GetVpcDhcpOptionsFilterOutput{})
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/serialConsoleAccess.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/serialConsoleAccess.go
index 771aecf17..33061fec0 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/serialConsoleAccess.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/serialConsoleAccess.go
@@ -43,6 +43,13 @@ import (
//
// ## Import
//
+// ### Identity Schema
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+// * `region` (String) Region where this resource is managed.
+//
// Using `pulumi import`, import serial console access state. For example:
//
// ```sh
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs/capacityProvider.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs/capacityProvider.go
index 05c9bdc24..05468645f 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs/capacityProvider.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs/capacityProvider.go
@@ -17,6 +17,8 @@ import (
//
// > **NOTE:** You must specify exactly one of `autoScalingGroupProvider` or `managedInstancesProvider`. When using `managedInstancesProvider`, the `cluster` parameter is required. When using `autoScalingGroupProvider`, the `cluster` parameter must not be set.
//
+// > **NOTE:** AWS cannot delete a capacity provider that is still associated with a cluster through `ecs.ClusterCapacityProviders`. When a change forces replacement, add a `replaceTriggeredBy` lifecycle rule to the `ecs.ClusterCapacityProviders` resource so the association is recreated before the old capacity provider is deleted.
+//
// ## Example Usage
//
// ### Auto Scaling Group Provider
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs/clusterCapacityProviders.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs/clusterCapacityProviders.go
index 72ceb56ea..1412a0f43 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs/clusterCapacityProviders.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs/clusterCapacityProviders.go
@@ -16,6 +16,8 @@ import (
//
// More information about capacity providers can be found in the [ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-capacity-providers.html).
//
+// > **NOTE:** When an associated `ecs.CapacityProvider` must be replaced, add a `replaceTriggeredBy` lifecycle rule referencing the capacity provider. This recreates the association so the old capacity provider is detached from the cluster before it is deleted, which AWS otherwise disallows.
+//
// ## Example Usage
//
// ```go
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/getNodeGroup.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/getNodeGroup.go
index 92f9fcdf8..b009cc340 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/getNodeGroup.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/getNodeGroup.go
@@ -103,6 +103,8 @@ type LookupNodeGroupResult struct {
UpdateConfigs []GetNodeGroupUpdateConfig `pulumi:"updateConfigs"`
// Kubernetes version.
Version string `pulumi:"version"`
+ // Configuration block with EC2 Auto Scaling warm pool settings.
+ WarmPoolConfigs []GetNodeGroupWarmPoolConfig `pulumi:"warmPoolConfigs"`
}
func LookupNodeGroupOutput(ctx *pulumi.Context, args LookupNodeGroupOutputArgs, opts ...pulumi.InvokeOption) LookupNodeGroupResultOutput {
@@ -251,6 +253,11 @@ func (o LookupNodeGroupResultOutput) Version() pulumi.StringOutput {
return o.ApplyT(func(v LookupNodeGroupResult) string { return v.Version }).(pulumi.StringOutput)
}
+// Configuration block with EC2 Auto Scaling warm pool settings.
+func (o LookupNodeGroupResultOutput) WarmPoolConfigs() GetNodeGroupWarmPoolConfigArrayOutput {
+ return o.ApplyT(func(v LookupNodeGroupResult) []GetNodeGroupWarmPoolConfig { return v.WarmPoolConfigs }).(GetNodeGroupWarmPoolConfigArrayOutput)
+}
+
func init() {
pulumi.RegisterOutputType(LookupNodeGroupResultOutput{})
}
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/nodeGroup.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/nodeGroup.go
index 8751076ef..d1f505c87 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/nodeGroup.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/nodeGroup.go
@@ -286,6 +286,8 @@ type NodeGroup struct {
UpdateConfig NodeGroupUpdateConfigOutput `pulumi:"updateConfig"`
// Kubernetes version. Defaults to EKS Cluster Kubernetes version. The provider will only perform drift detection if a configuration value is provided.
Version pulumi.StringOutput `pulumi:"version"`
+ // Configuration block with EC2 Auto Scaling warm pool settings. Including this block enables the warm pool; removing it disables and removes the warm pool. See `warmPoolConfig` below for details.
+ WarmPoolConfig NodeGroupWarmPoolConfigPtrOutput `pulumi:"warmPoolConfig"`
}
// NewNodeGroup registers a new resource with the given unique name, arguments, and options.
@@ -382,6 +384,8 @@ type nodeGroupState struct {
UpdateConfig *NodeGroupUpdateConfig `pulumi:"updateConfig"`
// Kubernetes version. Defaults to EKS Cluster Kubernetes version. The provider will only perform drift detection if a configuration value is provided.
Version *string `pulumi:"version"`
+ // Configuration block with EC2 Auto Scaling warm pool settings. Including this block enables the warm pool; removing it disables and removes the warm pool. See `warmPoolConfig` below for details.
+ WarmPoolConfig *NodeGroupWarmPoolConfig `pulumi:"warmPoolConfig"`
}
type NodeGroupState struct {
@@ -437,6 +441,8 @@ type NodeGroupState struct {
UpdateConfig NodeGroupUpdateConfigPtrInput
// Kubernetes version. Defaults to EKS Cluster Kubernetes version. The provider will only perform drift detection if a configuration value is provided.
Version pulumi.StringPtrInput
+ // Configuration block with EC2 Auto Scaling warm pool settings. Including this block enables the warm pool; removing it disables and removes the warm pool. See `warmPoolConfig` below for details.
+ WarmPoolConfig NodeGroupWarmPoolConfigPtrInput
}
func (NodeGroupState) ElementType() reflect.Type {
@@ -488,6 +494,8 @@ type nodeGroupArgs struct {
UpdateConfig *NodeGroupUpdateConfig `pulumi:"updateConfig"`
// Kubernetes version. Defaults to EKS Cluster Kubernetes version. The provider will only perform drift detection if a configuration value is provided.
Version *string `pulumi:"version"`
+ // Configuration block with EC2 Auto Scaling warm pool settings. Including this block enables the warm pool; removing it disables and removes the warm pool. See `warmPoolConfig` below for details.
+ WarmPoolConfig *NodeGroupWarmPoolConfig `pulumi:"warmPoolConfig"`
}
// The set of arguments for constructing a NodeGroup resource.
@@ -536,6 +544,8 @@ type NodeGroupArgs struct {
UpdateConfig NodeGroupUpdateConfigPtrInput
// Kubernetes version. Defaults to EKS Cluster Kubernetes version. The provider will only perform drift detection if a configuration value is provided.
Version pulumi.StringPtrInput
+ // Configuration block with EC2 Auto Scaling warm pool settings. Including this block enables the warm pool; removing it disables and removes the warm pool. See `warmPoolConfig` below for details.
+ WarmPoolConfig NodeGroupWarmPoolConfigPtrInput
}
func (NodeGroupArgs) ElementType() reflect.Type {
@@ -752,6 +762,11 @@ func (o NodeGroupOutput) Version() pulumi.StringOutput {
return o.ApplyT(func(v *NodeGroup) pulumi.StringOutput { return v.Version }).(pulumi.StringOutput)
}
+// Configuration block with EC2 Auto Scaling warm pool settings. Including this block enables the warm pool; removing it disables and removes the warm pool. See `warmPoolConfig` below for details.
+func (o NodeGroupOutput) WarmPoolConfig() NodeGroupWarmPoolConfigPtrOutput {
+ return o.ApplyT(func(v *NodeGroup) NodeGroupWarmPoolConfigPtrOutput { return v.WarmPoolConfig }).(NodeGroupWarmPoolConfigPtrOutput)
+}
+
type NodeGroupArrayOutput struct{ *pulumi.OutputState }
func (NodeGroupArrayOutput) ElementType() reflect.Type {
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/pulumiTypes.go
index 5bf2d3523..980a287d1 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/pulumiTypes.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/pulumiTypes.go
@@ -4308,6 +4308,8 @@ func (o ClusterUpgradePolicyPtrOutput) SupportType() pulumi.StringPtrOutput {
type ClusterVpcConfig struct {
// Cluster security group that is created by Amazon EKS for the cluster. Managed node groups use this security group for control-plane-to-data-plane communication.
ClusterSecurityGroupId *string `pulumi:"clusterSecurityGroupId"`
+ // Egress mode for the EKS control plane. Valid values are `AWS_MANAGED` and `CUSTOMER_ROUTED`. Defaults to `AWS_MANAGED`. Changing from `CUSTOMER_ROUTED` back to `AWS_MANAGED` forces a new resource.
+ ControlPlaneEgressMode *string `pulumi:"controlPlaneEgressMode"`
// Whether the Amazon EKS private API server endpoint is enabled. Default is `false`.
EndpointPrivateAccess *bool `pulumi:"endpointPrivateAccess"`
// Whether the Amazon EKS public API server endpoint is enabled. Default is `true`.
@@ -4336,6 +4338,8 @@ type ClusterVpcConfigInput interface {
type ClusterVpcConfigArgs struct {
// Cluster security group that is created by Amazon EKS for the cluster. Managed node groups use this security group for control-plane-to-data-plane communication.
ClusterSecurityGroupId pulumi.StringPtrInput `pulumi:"clusterSecurityGroupId"`
+ // Egress mode for the EKS control plane. Valid values are `AWS_MANAGED` and `CUSTOMER_ROUTED`. Defaults to `AWS_MANAGED`. Changing from `CUSTOMER_ROUTED` back to `AWS_MANAGED` forces a new resource.
+ ControlPlaneEgressMode pulumi.StringPtrInput `pulumi:"controlPlaneEgressMode"`
// Whether the Amazon EKS private API server endpoint is enabled. Default is `false`.
EndpointPrivateAccess pulumi.BoolPtrInput `pulumi:"endpointPrivateAccess"`
// Whether the Amazon EKS public API server endpoint is enabled. Default is `true`.
@@ -4432,6 +4436,11 @@ func (o ClusterVpcConfigOutput) ClusterSecurityGroupId() pulumi.StringPtrOutput
return o.ApplyT(func(v ClusterVpcConfig) *string { return v.ClusterSecurityGroupId }).(pulumi.StringPtrOutput)
}
+// Egress mode for the EKS control plane. Valid values are `AWS_MANAGED` and `CUSTOMER_ROUTED`. Defaults to `AWS_MANAGED`. Changing from `CUSTOMER_ROUTED` back to `AWS_MANAGED` forces a new resource.
+func (o ClusterVpcConfigOutput) ControlPlaneEgressMode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ClusterVpcConfig) *string { return v.ControlPlaneEgressMode }).(pulumi.StringPtrOutput)
+}
+
// Whether the Amazon EKS private API server endpoint is enabled. Default is `false`.
func (o ClusterVpcConfigOutput) EndpointPrivateAccess() pulumi.BoolPtrOutput {
return o.ApplyT(func(v ClusterVpcConfig) *bool { return v.EndpointPrivateAccess }).(pulumi.BoolPtrOutput)
@@ -4496,6 +4505,16 @@ func (o ClusterVpcConfigPtrOutput) ClusterSecurityGroupId() pulumi.StringPtrOutp
}).(pulumi.StringPtrOutput)
}
+// Egress mode for the EKS control plane. Valid values are `AWS_MANAGED` and `CUSTOMER_ROUTED`. Defaults to `AWS_MANAGED`. Changing from `CUSTOMER_ROUTED` back to `AWS_MANAGED` forces a new resource.
+func (o ClusterVpcConfigPtrOutput) ControlPlaneEgressMode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ClusterVpcConfig) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ControlPlaneEgressMode
+ }).(pulumi.StringPtrOutput)
+}
+
// Whether the Amazon EKS private API server endpoint is enabled. Default is `false`.
func (o ClusterVpcConfigPtrOutput) EndpointPrivateAccess() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *ClusterVpcConfig) *bool {
@@ -6432,6 +6451,200 @@ func (o NodeGroupUpdateConfigPtrOutput) UpdateStrategy() pulumi.StringPtrOutput
}).(pulumi.StringPtrOutput)
}
+type NodeGroupWarmPoolConfig struct {
+ // Maximum number of instances that are allowed to be in the warm pool combined with the Auto Scaling Group. Use `-1` to specify an unlimited capacity.
+ MaxGroupPreparedCapacity *int `pulumi:"maxGroupPreparedCapacity"`
+ // Minimum number of instances to maintain in the warm pool. Defaults to `0`.
+ MinSize *int `pulumi:"minSize"`
+ // Instance state to transition warm pool instances to. Valid values: `STOPPED`, `RUNNING`, `HIBERNATED`. Defaults to `STOPPED`.
+ PoolState *string `pulumi:"poolState"`
+ // Whether to return instances in the Auto Scaling Group to the warm pool on scale in. Not supported on Bottlerocket. Defaults to `false`.
+ ReuseOnScaleIn *bool `pulumi:"reuseOnScaleIn"`
+}
+
+// NodeGroupWarmPoolConfigInput is an input type that accepts NodeGroupWarmPoolConfigArgs and NodeGroupWarmPoolConfigOutput values.
+// You can construct a concrete instance of `NodeGroupWarmPoolConfigInput` via:
+//
+// NodeGroupWarmPoolConfigArgs{...}
+type NodeGroupWarmPoolConfigInput interface {
+ pulumi.Input
+
+ ToNodeGroupWarmPoolConfigOutput() NodeGroupWarmPoolConfigOutput
+ ToNodeGroupWarmPoolConfigOutputWithContext(context.Context) NodeGroupWarmPoolConfigOutput
+}
+
+type NodeGroupWarmPoolConfigArgs struct {
+ // Maximum number of instances that are allowed to be in the warm pool combined with the Auto Scaling Group. Use `-1` to specify an unlimited capacity.
+ MaxGroupPreparedCapacity pulumi.IntPtrInput `pulumi:"maxGroupPreparedCapacity"`
+ // Minimum number of instances to maintain in the warm pool. Defaults to `0`.
+ MinSize pulumi.IntPtrInput `pulumi:"minSize"`
+ // Instance state to transition warm pool instances to. Valid values: `STOPPED`, `RUNNING`, `HIBERNATED`. Defaults to `STOPPED`.
+ PoolState pulumi.StringPtrInput `pulumi:"poolState"`
+ // Whether to return instances in the Auto Scaling Group to the warm pool on scale in. Not supported on Bottlerocket. Defaults to `false`.
+ ReuseOnScaleIn pulumi.BoolPtrInput `pulumi:"reuseOnScaleIn"`
+}
+
+func (NodeGroupWarmPoolConfigArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NodeGroupWarmPoolConfig)(nil)).Elem()
+}
+
+func (i NodeGroupWarmPoolConfigArgs) ToNodeGroupWarmPoolConfigOutput() NodeGroupWarmPoolConfigOutput {
+ return i.ToNodeGroupWarmPoolConfigOutputWithContext(context.Background())
+}
+
+func (i NodeGroupWarmPoolConfigArgs) ToNodeGroupWarmPoolConfigOutputWithContext(ctx context.Context) NodeGroupWarmPoolConfigOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NodeGroupWarmPoolConfigOutput)
+}
+
+func (i NodeGroupWarmPoolConfigArgs) ToNodeGroupWarmPoolConfigPtrOutput() NodeGroupWarmPoolConfigPtrOutput {
+ return i.ToNodeGroupWarmPoolConfigPtrOutputWithContext(context.Background())
+}
+
+func (i NodeGroupWarmPoolConfigArgs) ToNodeGroupWarmPoolConfigPtrOutputWithContext(ctx context.Context) NodeGroupWarmPoolConfigPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NodeGroupWarmPoolConfigOutput).ToNodeGroupWarmPoolConfigPtrOutputWithContext(ctx)
+}
+
+// NodeGroupWarmPoolConfigPtrInput is an input type that accepts NodeGroupWarmPoolConfigArgs, NodeGroupWarmPoolConfigPtr and NodeGroupWarmPoolConfigPtrOutput values.
+// You can construct a concrete instance of `NodeGroupWarmPoolConfigPtrInput` via:
+//
+// NodeGroupWarmPoolConfigArgs{...}
+//
+// or:
+//
+// nil
+type NodeGroupWarmPoolConfigPtrInput interface {
+ pulumi.Input
+
+ ToNodeGroupWarmPoolConfigPtrOutput() NodeGroupWarmPoolConfigPtrOutput
+ ToNodeGroupWarmPoolConfigPtrOutputWithContext(context.Context) NodeGroupWarmPoolConfigPtrOutput
+}
+
+type nodeGroupWarmPoolConfigPtrType NodeGroupWarmPoolConfigArgs
+
+func NodeGroupWarmPoolConfigPtr(v *NodeGroupWarmPoolConfigArgs) NodeGroupWarmPoolConfigPtrInput {
+ return (*nodeGroupWarmPoolConfigPtrType)(v)
+}
+
+func (*nodeGroupWarmPoolConfigPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**NodeGroupWarmPoolConfig)(nil)).Elem()
+}
+
+func (i *nodeGroupWarmPoolConfigPtrType) ToNodeGroupWarmPoolConfigPtrOutput() NodeGroupWarmPoolConfigPtrOutput {
+ return i.ToNodeGroupWarmPoolConfigPtrOutputWithContext(context.Background())
+}
+
+func (i *nodeGroupWarmPoolConfigPtrType) ToNodeGroupWarmPoolConfigPtrOutputWithContext(ctx context.Context) NodeGroupWarmPoolConfigPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NodeGroupWarmPoolConfigPtrOutput)
+}
+
+type NodeGroupWarmPoolConfigOutput struct{ *pulumi.OutputState }
+
+func (NodeGroupWarmPoolConfigOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NodeGroupWarmPoolConfig)(nil)).Elem()
+}
+
+func (o NodeGroupWarmPoolConfigOutput) ToNodeGroupWarmPoolConfigOutput() NodeGroupWarmPoolConfigOutput {
+ return o
+}
+
+func (o NodeGroupWarmPoolConfigOutput) ToNodeGroupWarmPoolConfigOutputWithContext(ctx context.Context) NodeGroupWarmPoolConfigOutput {
+ return o
+}
+
+func (o NodeGroupWarmPoolConfigOutput) ToNodeGroupWarmPoolConfigPtrOutput() NodeGroupWarmPoolConfigPtrOutput {
+ return o.ToNodeGroupWarmPoolConfigPtrOutputWithContext(context.Background())
+}
+
+func (o NodeGroupWarmPoolConfigOutput) ToNodeGroupWarmPoolConfigPtrOutputWithContext(ctx context.Context) NodeGroupWarmPoolConfigPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeGroupWarmPoolConfig) *NodeGroupWarmPoolConfig {
+ return &v
+ }).(NodeGroupWarmPoolConfigPtrOutput)
+}
+
+// Maximum number of instances that are allowed to be in the warm pool combined with the Auto Scaling Group. Use `-1` to specify an unlimited capacity.
+func (o NodeGroupWarmPoolConfigOutput) MaxGroupPreparedCapacity() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v NodeGroupWarmPoolConfig) *int { return v.MaxGroupPreparedCapacity }).(pulumi.IntPtrOutput)
+}
+
+// Minimum number of instances to maintain in the warm pool. Defaults to `0`.
+func (o NodeGroupWarmPoolConfigOutput) MinSize() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v NodeGroupWarmPoolConfig) *int { return v.MinSize }).(pulumi.IntPtrOutput)
+}
+
+// Instance state to transition warm pool instances to. Valid values: `STOPPED`, `RUNNING`, `HIBERNATED`. Defaults to `STOPPED`.
+func (o NodeGroupWarmPoolConfigOutput) PoolState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NodeGroupWarmPoolConfig) *string { return v.PoolState }).(pulumi.StringPtrOutput)
+}
+
+// Whether to return instances in the Auto Scaling Group to the warm pool on scale in. Not supported on Bottlerocket. Defaults to `false`.
+func (o NodeGroupWarmPoolConfigOutput) ReuseOnScaleIn() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NodeGroupWarmPoolConfig) *bool { return v.ReuseOnScaleIn }).(pulumi.BoolPtrOutput)
+}
+
+type NodeGroupWarmPoolConfigPtrOutput struct{ *pulumi.OutputState }
+
+func (NodeGroupWarmPoolConfigPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NodeGroupWarmPoolConfig)(nil)).Elem()
+}
+
+func (o NodeGroupWarmPoolConfigPtrOutput) ToNodeGroupWarmPoolConfigPtrOutput() NodeGroupWarmPoolConfigPtrOutput {
+ return o
+}
+
+func (o NodeGroupWarmPoolConfigPtrOutput) ToNodeGroupWarmPoolConfigPtrOutputWithContext(ctx context.Context) NodeGroupWarmPoolConfigPtrOutput {
+ return o
+}
+
+func (o NodeGroupWarmPoolConfigPtrOutput) Elem() NodeGroupWarmPoolConfigOutput {
+ return o.ApplyT(func(v *NodeGroupWarmPoolConfig) NodeGroupWarmPoolConfig {
+ if v != nil {
+ return *v
+ }
+ var ret NodeGroupWarmPoolConfig
+ return ret
+ }).(NodeGroupWarmPoolConfigOutput)
+}
+
+// Maximum number of instances that are allowed to be in the warm pool combined with the Auto Scaling Group. Use `-1` to specify an unlimited capacity.
+func (o NodeGroupWarmPoolConfigPtrOutput) MaxGroupPreparedCapacity() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *NodeGroupWarmPoolConfig) *int {
+ if v == nil {
+ return nil
+ }
+ return v.MaxGroupPreparedCapacity
+ }).(pulumi.IntPtrOutput)
+}
+
+// Minimum number of instances to maintain in the warm pool. Defaults to `0`.
+func (o NodeGroupWarmPoolConfigPtrOutput) MinSize() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *NodeGroupWarmPoolConfig) *int {
+ if v == nil {
+ return nil
+ }
+ return v.MinSize
+ }).(pulumi.IntPtrOutput)
+}
+
+// Instance state to transition warm pool instances to. Valid values: `STOPPED`, `RUNNING`, `HIBERNATED`. Defaults to `STOPPED`.
+func (o NodeGroupWarmPoolConfigPtrOutput) PoolState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NodeGroupWarmPoolConfig) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PoolState
+ }).(pulumi.StringPtrOutput)
+}
+
+// Whether to return instances in the Auto Scaling Group to the warm pool on scale in. Not supported on Bottlerocket. Defaults to `false`.
+func (o NodeGroupWarmPoolConfigPtrOutput) ReuseOnScaleIn() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *NodeGroupWarmPoolConfig) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.ReuseOnScaleIn
+ }).(pulumi.BoolPtrOutput)
+}
+
type GetAddonPodIdentityAssociation struct {
// ARN of the IAM role associated with the EKS add-on.
RoleArn string `pulumi:"roleArn"`
@@ -8481,6 +8694,8 @@ func (o GetClusterVersionsClusterVersionArrayOutput) Index(i pulumi.IntInput) Ge
type GetClusterVpcConfig struct {
// The cluster security group that was created by Amazon EKS for the cluster.
ClusterSecurityGroupId string `pulumi:"clusterSecurityGroupId"`
+ // The egress mode for the EKS control plane. Possible values are `AWS_MANAGED` and `CUSTOMER_ROUTED`.
+ ControlPlaneEgressMode string `pulumi:"controlPlaneEgressMode"`
// Indicates whether or not the Amazon EKS private API server endpoint is enabled.
EndpointPrivateAccess bool `pulumi:"endpointPrivateAccess"`
// Indicates whether or not the Amazon EKS public API server endpoint is enabled.
@@ -8509,6 +8724,8 @@ type GetClusterVpcConfigInput interface {
type GetClusterVpcConfigArgs struct {
// The cluster security group that was created by Amazon EKS for the cluster.
ClusterSecurityGroupId pulumi.StringInput `pulumi:"clusterSecurityGroupId"`
+ // The egress mode for the EKS control plane. Possible values are `AWS_MANAGED` and `CUSTOMER_ROUTED`.
+ ControlPlaneEgressMode pulumi.StringInput `pulumi:"controlPlaneEgressMode"`
// Indicates whether or not the Amazon EKS private API server endpoint is enabled.
EndpointPrivateAccess pulumi.BoolInput `pulumi:"endpointPrivateAccess"`
// Indicates whether or not the Amazon EKS public API server endpoint is enabled.
@@ -8554,6 +8771,11 @@ func (o GetClusterVpcConfigOutput) ClusterSecurityGroupId() pulumi.StringOutput
return o.ApplyT(func(v GetClusterVpcConfig) string { return v.ClusterSecurityGroupId }).(pulumi.StringOutput)
}
+// The egress mode for the EKS control plane. Possible values are `AWS_MANAGED` and `CUSTOMER_ROUTED`.
+func (o GetClusterVpcConfigOutput) ControlPlaneEgressMode() pulumi.StringOutput {
+ return o.ApplyT(func(v GetClusterVpcConfig) string { return v.ControlPlaneEgressMode }).(pulumi.StringOutput)
+}
+
// Indicates whether or not the Amazon EKS private API server endpoint is enabled.
func (o GetClusterVpcConfigOutput) EndpointPrivateAccess() pulumi.BoolOutput {
return o.ApplyT(func(v GetClusterVpcConfig) bool { return v.EndpointPrivateAccess }).(pulumi.BoolOutput)
@@ -9110,7 +9332,7 @@ type GetNodeGroupScalingConfig struct {
DesiredSize int `pulumi:"desiredSize"`
// Maximum number of worker nodes.
MaxSize int `pulumi:"maxSize"`
- // Minimum number of worker nodes.
+ // Minimum number of instances maintained in the warm pool.
MinSize int `pulumi:"minSize"`
}
@@ -9130,7 +9352,7 @@ type GetNodeGroupScalingConfigArgs struct {
DesiredSize pulumi.IntInput `pulumi:"desiredSize"`
// Maximum number of worker nodes.
MaxSize pulumi.IntInput `pulumi:"maxSize"`
- // Minimum number of worker nodes.
+ // Minimum number of instances maintained in the warm pool.
MinSize pulumi.IntInput `pulumi:"minSize"`
}
@@ -9195,7 +9417,7 @@ func (o GetNodeGroupScalingConfigOutput) MaxSize() pulumi.IntOutput {
return o.ApplyT(func(v GetNodeGroupScalingConfig) int { return v.MaxSize }).(pulumi.IntOutput)
}
-// Minimum number of worker nodes.
+// Minimum number of instances maintained in the warm pool.
func (o GetNodeGroupScalingConfigOutput) MinSize() pulumi.IntOutput {
return o.ApplyT(func(v GetNodeGroupScalingConfig) int { return v.MinSize }).(pulumi.IntOutput)
}
@@ -9441,6 +9663,130 @@ func (o GetNodeGroupUpdateConfigArrayOutput) Index(i pulumi.IntInput) GetNodeGro
}).(GetNodeGroupUpdateConfigOutput)
}
+type GetNodeGroupWarmPoolConfig struct {
+ // Maximum number of instances allowed to be in the warm pool combined with the Auto Scaling Group.
+ MaxGroupPreparedCapacity int `pulumi:"maxGroupPreparedCapacity"`
+ // Minimum number of instances maintained in the warm pool.
+ MinSize int `pulumi:"minSize"`
+ // Instance state that warm pool instances are transitioned to.
+ PoolState string `pulumi:"poolState"`
+ // Whether instances in the Auto Scaling Group are returned to the warm pool on scale in.
+ ReuseOnScaleIn bool `pulumi:"reuseOnScaleIn"`
+}
+
+// GetNodeGroupWarmPoolConfigInput is an input type that accepts GetNodeGroupWarmPoolConfigArgs and GetNodeGroupWarmPoolConfigOutput values.
+// You can construct a concrete instance of `GetNodeGroupWarmPoolConfigInput` via:
+//
+// GetNodeGroupWarmPoolConfigArgs{...}
+type GetNodeGroupWarmPoolConfigInput interface {
+ pulumi.Input
+
+ ToGetNodeGroupWarmPoolConfigOutput() GetNodeGroupWarmPoolConfigOutput
+ ToGetNodeGroupWarmPoolConfigOutputWithContext(context.Context) GetNodeGroupWarmPoolConfigOutput
+}
+
+type GetNodeGroupWarmPoolConfigArgs struct {
+ // Maximum number of instances allowed to be in the warm pool combined with the Auto Scaling Group.
+ MaxGroupPreparedCapacity pulumi.IntInput `pulumi:"maxGroupPreparedCapacity"`
+ // Minimum number of instances maintained in the warm pool.
+ MinSize pulumi.IntInput `pulumi:"minSize"`
+ // Instance state that warm pool instances are transitioned to.
+ PoolState pulumi.StringInput `pulumi:"poolState"`
+ // Whether instances in the Auto Scaling Group are returned to the warm pool on scale in.
+ ReuseOnScaleIn pulumi.BoolInput `pulumi:"reuseOnScaleIn"`
+}
+
+func (GetNodeGroupWarmPoolConfigArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetNodeGroupWarmPoolConfig)(nil)).Elem()
+}
+
+func (i GetNodeGroupWarmPoolConfigArgs) ToGetNodeGroupWarmPoolConfigOutput() GetNodeGroupWarmPoolConfigOutput {
+ return i.ToGetNodeGroupWarmPoolConfigOutputWithContext(context.Background())
+}
+
+func (i GetNodeGroupWarmPoolConfigArgs) ToGetNodeGroupWarmPoolConfigOutputWithContext(ctx context.Context) GetNodeGroupWarmPoolConfigOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetNodeGroupWarmPoolConfigOutput)
+}
+
+// GetNodeGroupWarmPoolConfigArrayInput is an input type that accepts GetNodeGroupWarmPoolConfigArray and GetNodeGroupWarmPoolConfigArrayOutput values.
+// You can construct a concrete instance of `GetNodeGroupWarmPoolConfigArrayInput` via:
+//
+// GetNodeGroupWarmPoolConfigArray{ GetNodeGroupWarmPoolConfigArgs{...} }
+type GetNodeGroupWarmPoolConfigArrayInput interface {
+ pulumi.Input
+
+ ToGetNodeGroupWarmPoolConfigArrayOutput() GetNodeGroupWarmPoolConfigArrayOutput
+ ToGetNodeGroupWarmPoolConfigArrayOutputWithContext(context.Context) GetNodeGroupWarmPoolConfigArrayOutput
+}
+
+type GetNodeGroupWarmPoolConfigArray []GetNodeGroupWarmPoolConfigInput
+
+func (GetNodeGroupWarmPoolConfigArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetNodeGroupWarmPoolConfig)(nil)).Elem()
+}
+
+func (i GetNodeGroupWarmPoolConfigArray) ToGetNodeGroupWarmPoolConfigArrayOutput() GetNodeGroupWarmPoolConfigArrayOutput {
+ return i.ToGetNodeGroupWarmPoolConfigArrayOutputWithContext(context.Background())
+}
+
+func (i GetNodeGroupWarmPoolConfigArray) ToGetNodeGroupWarmPoolConfigArrayOutputWithContext(ctx context.Context) GetNodeGroupWarmPoolConfigArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetNodeGroupWarmPoolConfigArrayOutput)
+}
+
+type GetNodeGroupWarmPoolConfigOutput struct{ *pulumi.OutputState }
+
+func (GetNodeGroupWarmPoolConfigOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetNodeGroupWarmPoolConfig)(nil)).Elem()
+}
+
+func (o GetNodeGroupWarmPoolConfigOutput) ToGetNodeGroupWarmPoolConfigOutput() GetNodeGroupWarmPoolConfigOutput {
+ return o
+}
+
+func (o GetNodeGroupWarmPoolConfigOutput) ToGetNodeGroupWarmPoolConfigOutputWithContext(ctx context.Context) GetNodeGroupWarmPoolConfigOutput {
+ return o
+}
+
+// Maximum number of instances allowed to be in the warm pool combined with the Auto Scaling Group.
+func (o GetNodeGroupWarmPoolConfigOutput) MaxGroupPreparedCapacity() pulumi.IntOutput {
+ return o.ApplyT(func(v GetNodeGroupWarmPoolConfig) int { return v.MaxGroupPreparedCapacity }).(pulumi.IntOutput)
+}
+
+// Minimum number of instances maintained in the warm pool.
+func (o GetNodeGroupWarmPoolConfigOutput) MinSize() pulumi.IntOutput {
+ return o.ApplyT(func(v GetNodeGroupWarmPoolConfig) int { return v.MinSize }).(pulumi.IntOutput)
+}
+
+// Instance state that warm pool instances are transitioned to.
+func (o GetNodeGroupWarmPoolConfigOutput) PoolState() pulumi.StringOutput {
+ return o.ApplyT(func(v GetNodeGroupWarmPoolConfig) string { return v.PoolState }).(pulumi.StringOutput)
+}
+
+// Whether instances in the Auto Scaling Group are returned to the warm pool on scale in.
+func (o GetNodeGroupWarmPoolConfigOutput) ReuseOnScaleIn() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetNodeGroupWarmPoolConfig) bool { return v.ReuseOnScaleIn }).(pulumi.BoolOutput)
+}
+
+type GetNodeGroupWarmPoolConfigArrayOutput struct{ *pulumi.OutputState }
+
+func (GetNodeGroupWarmPoolConfigArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetNodeGroupWarmPoolConfig)(nil)).Elem()
+}
+
+func (o GetNodeGroupWarmPoolConfigArrayOutput) ToGetNodeGroupWarmPoolConfigArrayOutput() GetNodeGroupWarmPoolConfigArrayOutput {
+ return o
+}
+
+func (o GetNodeGroupWarmPoolConfigArrayOutput) ToGetNodeGroupWarmPoolConfigArrayOutputWithContext(ctx context.Context) GetNodeGroupWarmPoolConfigArrayOutput {
+ return o
+}
+
+func (o GetNodeGroupWarmPoolConfigArrayOutput) Index(i pulumi.IntInput) GetNodeGroupWarmPoolConfigOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNodeGroupWarmPoolConfig {
+ return vs[0].([]GetNodeGroupWarmPoolConfig)[vs[1].(int)]
+ }).(GetNodeGroupWarmPoolConfigOutput)
+}
+
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*AccessPolicyAssociationAccessScopeInput)(nil)).Elem(), AccessPolicyAssociationAccessScopeArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*AccessPolicyAssociationAccessScopePtrInput)(nil)).Elem(), AccessPolicyAssociationAccessScopeArgs{})
@@ -9526,6 +9872,8 @@ func init() {
pulumi.RegisterInputType(reflect.TypeOf((*NodeGroupTaintArrayInput)(nil)).Elem(), NodeGroupTaintArray{})
pulumi.RegisterInputType(reflect.TypeOf((*NodeGroupUpdateConfigInput)(nil)).Elem(), NodeGroupUpdateConfigArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*NodeGroupUpdateConfigPtrInput)(nil)).Elem(), NodeGroupUpdateConfigArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*NodeGroupWarmPoolConfigInput)(nil)).Elem(), NodeGroupWarmPoolConfigArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*NodeGroupWarmPoolConfigPtrInput)(nil)).Elem(), NodeGroupWarmPoolConfigArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetAddonPodIdentityAssociationInput)(nil)).Elem(), GetAddonPodIdentityAssociationArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetAddonPodIdentityAssociationArrayInput)(nil)).Elem(), GetAddonPodIdentityAssociationArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetClusterAccessConfigInput)(nil)).Elem(), GetClusterAccessConfigArgs{})
@@ -9581,6 +9929,8 @@ func init() {
pulumi.RegisterInputType(reflect.TypeOf((*GetNodeGroupTaintArrayInput)(nil)).Elem(), GetNodeGroupTaintArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetNodeGroupUpdateConfigInput)(nil)).Elem(), GetNodeGroupUpdateConfigArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetNodeGroupUpdateConfigArrayInput)(nil)).Elem(), GetNodeGroupUpdateConfigArray{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetNodeGroupWarmPoolConfigInput)(nil)).Elem(), GetNodeGroupWarmPoolConfigArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetNodeGroupWarmPoolConfigArrayInput)(nil)).Elem(), GetNodeGroupWarmPoolConfigArray{})
pulumi.RegisterOutputType(AccessPolicyAssociationAccessScopeOutput{})
pulumi.RegisterOutputType(AccessPolicyAssociationAccessScopePtrOutput{})
pulumi.RegisterOutputType(AddonNamespaceConfigOutput{})
@@ -9665,6 +10015,8 @@ func init() {
pulumi.RegisterOutputType(NodeGroupTaintArrayOutput{})
pulumi.RegisterOutputType(NodeGroupUpdateConfigOutput{})
pulumi.RegisterOutputType(NodeGroupUpdateConfigPtrOutput{})
+ pulumi.RegisterOutputType(NodeGroupWarmPoolConfigOutput{})
+ pulumi.RegisterOutputType(NodeGroupWarmPoolConfigPtrOutput{})
pulumi.RegisterOutputType(GetAddonPodIdentityAssociationOutput{})
pulumi.RegisterOutputType(GetAddonPodIdentityAssociationArrayOutput{})
pulumi.RegisterOutputType(GetClusterAccessConfigOutput{})
@@ -9720,4 +10072,6 @@ func init() {
pulumi.RegisterOutputType(GetNodeGroupTaintArrayOutput{})
pulumi.RegisterOutputType(GetNodeGroupUpdateConfigOutput{})
pulumi.RegisterOutputType(GetNodeGroupUpdateConfigArrayOutput{})
+ pulumi.RegisterOutputType(GetNodeGroupWarmPoolConfigOutput{})
+ pulumi.RegisterOutputType(GetNodeGroupWarmPoolConfigArrayOutput{})
}
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/outboundWebIdentityFederation.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/outboundWebIdentityFederation.go
index e97e56c4a..c15087807 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/outboundWebIdentityFederation.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/outboundWebIdentityFederation.go
@@ -41,6 +41,12 @@ import (
//
// ## Import
//
+// ### Identity Schema
+//
+// #### Optional
+//
+// * `accountId` (String) AWS Account where this resource is managed.
+//
// Using `pulumi import`, import IAM Outbound Web Identity Federation resources using the AWS account ID. For example:
//
// ```sh
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/policyAttachment.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/policyAttachment.go
index 2c962d8fa..74944f63d 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/policyAttachment.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/policyAttachment.go
@@ -37,7 +37,7 @@ import (
// func main() {
// pulumi.Run(func(ctx *pulumi.Context) error {
// user, err := iam.NewUser(ctx, "user", &iam.UserArgs{
-// Name: pulumi.String("test-user"),
+// Name: pulumi.String("example-user"),
// })
// if err != nil {
// return err
@@ -64,14 +64,14 @@ import (
// return err
// }
// role, err := iam.NewRole(ctx, "role", &iam.RoleArgs{
-// Name: pulumi.String("test-role"),
+// Name: pulumi.String("example-role"),
// AssumeRolePolicy: pulumi.String(assumeRole.Json),
// })
// if err != nil {
// return err
// }
// group, err := iam.NewGroup(ctx, "group", &iam.GroupArgs{
-// Name: pulumi.String("test-group"),
+// Name: pulumi.String("example-group"),
// })
// if err != nil {
// return err
@@ -93,15 +93,15 @@ import (
// return err
// }
// policyPolicy, err := iam.NewPolicy(ctx, "policy", &iam.PolicyArgs{
-// Name: pulumi.String("test-policy"),
-// Description: pulumi.String("A test policy"),
+// Name: pulumi.String("example-policy"),
+// Description: pulumi.String("An example policy"),
// Policy: pulumi.String(policy.Json),
// })
// if err != nil {
// return err
// }
-// _, err = iam.NewPolicyAttachment(ctx, "test-attach", &iam.PolicyAttachmentArgs{
-// Name: pulumi.String("test-attachment"),
+// _, err = iam.NewPolicyAttachment(ctx, "example-attach", &iam.PolicyAttachmentArgs{
+// Name: pulumi.String("example-attachment"),
// Users: pulumi.Array{
// user.Name,
// },
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal/pulumiUtilities.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal/pulumiUtilities.go
index 94f825717..226e23f50 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal/pulumiUtilities.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal/pulumiUtilities.go
@@ -165,7 +165,7 @@ func callPlainInner(
func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption {
defaults := []pulumi.ResourceOption{}
- version := semver.MustParse("7.36.0")
+ version := semver.MustParse("7.39.0")
if !version.Equals(semver.Version{}) {
defaults = append(defaults, pulumi.Version(version.String()))
}
@@ -176,7 +176,7 @@ func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOptio
func PkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption {
defaults := []pulumi.InvokeOption{}
- version := semver.MustParse("7.36.0")
+ version := semver.MustParse("7.39.0")
if !version.Equals(semver.Version{}) {
defaults = append(defaults, pulumi.Version(version.String()))
}
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lb/targetGroupAttachment.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lb/targetGroupAttachment.go
index 2adf29d81..bb0742de0 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lb/targetGroupAttachment.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lb/targetGroupAttachment.go
@@ -161,6 +161,7 @@ import (
//
// * `port` - (Number) Port on which targets receive traffic.
// * `availabilityZone` - (String) Availability zone where the target is registered.
+// * `quicServerId` - (String) QUIC server ID for the target.
// * `accountId` - (String) AWS Account where this resource is managed.
// * `region` - (String) Region where this resource is managed.
//
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/pulumi-plugin.json
index 7c978a42f..aa395d4fd 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/pulumi-plugin.json
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/pulumi-plugin.json
@@ -1,5 +1,5 @@
{
"resource": true,
"name": "aws",
- "version": "7.36.0"
+ "version": "7.39.0"
}
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/pulumiTypes.go
index 377794dfb..8bfbba8e7 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/pulumiTypes.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/pulumiTypes.go
@@ -906,6 +906,8 @@ type ProviderEndpoint struct {
// Use this to override the default service endpoint URL
Lambda *string `pulumi:"lambda"`
// Use this to override the default service endpoint URL
+ Lambdamicrovms *string `pulumi:"lambdamicrovms"`
+ // Use this to override the default service endpoint URL
Launchwizard *string `pulumi:"launchwizard"`
// Use this to override the default service endpoint URL
Lex *string `pulumi:"lex"`
@@ -934,6 +936,8 @@ type ProviderEndpoint struct {
// Use this to override the default service endpoint URL
Macie2 *string `pulumi:"macie2"`
// Use this to override the default service endpoint URL
+ Mailmanager *string `pulumi:"mailmanager"`
+ // Use this to override the default service endpoint URL
Managedgrafana *string `pulumi:"managedgrafana"`
// Use this to override the default service endpoint URL
Mediaconnect *string `pulumi:"mediaconnect"`
@@ -1546,6 +1550,8 @@ type ProviderEndpointArgs struct {
// Use this to override the default service endpoint URL
Lambda pulumi.StringPtrInput `pulumi:"lambda"`
// Use this to override the default service endpoint URL
+ Lambdamicrovms pulumi.StringPtrInput `pulumi:"lambdamicrovms"`
+ // Use this to override the default service endpoint URL
Launchwizard pulumi.StringPtrInput `pulumi:"launchwizard"`
// Use this to override the default service endpoint URL
Lex pulumi.StringPtrInput `pulumi:"lex"`
@@ -1574,6 +1580,8 @@ type ProviderEndpointArgs struct {
// Use this to override the default service endpoint URL
Macie2 pulumi.StringPtrInput `pulumi:"macie2"`
// Use this to override the default service endpoint URL
+ Mailmanager pulumi.StringPtrInput `pulumi:"mailmanager"`
+ // Use this to override the default service endpoint URL
Managedgrafana pulumi.StringPtrInput `pulumi:"managedgrafana"`
// Use this to override the default service endpoint URL
Mediaconnect pulumi.StringPtrInput `pulumi:"mediaconnect"`
@@ -2737,6 +2745,11 @@ func (o ProviderEndpointOutput) Lambda() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProviderEndpoint) *string { return v.Lambda }).(pulumi.StringPtrOutput)
}
+// Use this to override the default service endpoint URL
+func (o ProviderEndpointOutput) Lambdamicrovms() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ProviderEndpoint) *string { return v.Lambdamicrovms }).(pulumi.StringPtrOutput)
+}
+
// Use this to override the default service endpoint URL
func (o ProviderEndpointOutput) Launchwizard() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProviderEndpoint) *string { return v.Launchwizard }).(pulumi.StringPtrOutput)
@@ -2807,6 +2820,11 @@ func (o ProviderEndpointOutput) Macie2() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProviderEndpoint) *string { return v.Macie2 }).(pulumi.StringPtrOutput)
}
+// Use this to override the default service endpoint URL
+func (o ProviderEndpointOutput) Mailmanager() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ProviderEndpoint) *string { return v.Mailmanager }).(pulumi.StringPtrOutput)
+}
+
// Use this to override the default service endpoint URL
func (o ProviderEndpointOutput) Managedgrafana() pulumi.StringPtrOutput {
return o.ApplyT(func(v ProviderEndpoint) *string { return v.Managedgrafana }).(pulumi.StringPtrOutput)
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/bucketNotification.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/bucketNotification.go
index e55c1a694..b8b1731fe 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/bucketNotification.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/bucketNotification.go
@@ -14,7 +14,7 @@ import (
// Manages a S3 Bucket Notification Configuration. For additional information, see the [Configuring S3 Event Notifications section in the Amazon S3 Developer Guide](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html).
//
-// > **NOTE:** S3 Buckets only support a single notification configuration resource. Declaring multiple `s3.BucketNotification` resources to the same S3 Bucket will cause a perpetual difference in configuration. This resource will overwrite any existing event notifications configured for the S3 bucket it's associated with. See the example "Trigger multiple Lambda functions" for an option of how to configure multiple triggers within this resource.
+// > **NOTE:** The S3 [`PutBucketNotificationConfiguration`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketNotificationConfiguration.html) API is atomic — it replaces the bucket's entire notification configuration on every call. Only one `s3.BucketNotification` resource can manage a bucket; declaring more than one causes a perpetual diff, and applying this resource will overwrite any notifications already on the bucket. To configure multiple destinations on the same bucket, declare them all as nested blocks within a single resource (see Trigger multiple Lambda functions below). To let independent teams or Pulumi configurations subscribe to the same bucket without stepping on each other, prefer the Emit events to EventBridge pattern below. To bring existing notifications under management without losing them, see the `s3.BucketNotification` data source.
//
// > This resource cannot be used with S3 directory buckets.
//
@@ -495,11 +495,16 @@ import (
//
// ### Emit events to EventBridge
//
+// For a bucket shared by multiple independent consumers — different teams, different Pulumi configurations, different applications — EventBridge is the recommended pattern. Each consumer subscribes to the bucket through its own `cloudwatch.EventRule`, so they cannot overwrite one another the way notification configurations would.
+//
// ```go
// package main
//
// import (
//
+// "encoding/json"
+//
+// "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch"
// "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3"
// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
//
@@ -507,25 +512,116 @@ import (
//
// func main() {
// pulumi.Run(func(ctx *pulumi.Context) error {
-// bucket, err := s3.NewBucket(ctx, "bucket", &s3.BucketArgs{
-// Bucket: pulumi.String("your-bucket-name"),
+// shared, err := s3.NewBucket(ctx, "shared", &s3.BucketArgs{
+// Bucket: pulumi.String("shared-bucket"),
// })
// if err != nil {
// return err
// }
-// _, err = s3.NewBucketNotification(ctx, "bucket_notification", &s3.BucketNotificationArgs{
-// Bucket: bucket.ID(),
+// _, err = s3.NewBucketNotification(ctx, "shared", &s3.BucketNotificationArgs{
+// Bucket: shared.ID(),
// Eventbridge: pulumi.Bool(true),
// })
// if err != nil {
// return err
// }
+// // Team A: process new uploads under uploads/
+// teamA, err := cloudwatch.NewEventRule(ctx, "team_a", &cloudwatch.EventRuleArgs{
+// Name: pulumi.String("team-a-uploads"),
+// EventPattern: shared.Bucket.ApplyT(func(bucket string) (pulumi.String, error) {
+// var _zero pulumi.String
+// tmpJSON0, err := json.Marshal(map[string]interface{}{
+// "source": []string{
+// "aws.s3",
+// },
+// "detail-type": []string{
+// "Object Created",
+// },
+// "detail": map[string]interface{}{
+// "bucket": map[string]interface{}{
+// "name": []string{
+// bucket,
+// },
+// },
+// "object": map[string]interface{}{
+// "key": []map[string]interface{}{
+// map[string]interface{}{
+// "prefix": "uploads/",
+// },
+// },
+// },
+// },
+// })
+// if err != nil {
+// return _zero, err
+// }
+// json0 := string(tmpJSON0)
+// return pulumi.String(json0), nil
+// }).(pulumi.StringOutput),
+// })
+// if err != nil {
+// return err
+// }
+// _, err = cloudwatch.NewEventTarget(ctx, "team_a", &cloudwatch.EventTargetArgs{
+// Rule: teamA.Name,
+// Arn: pulumi.Any(teamAProcessor.Arn),
+// })
+// if err != nil {
+// return err
+// }
+// // Team B: archive deletions under archive/, declared in a separate
+// // Pulumi configuration that knows nothing about Team A.
+// teamB, err := cloudwatch.NewEventRule(ctx, "team_b", &cloudwatch.EventRuleArgs{
+// Name: pulumi.String("team-b-deletions"),
+// EventPattern: shared.Bucket.ApplyT(func(bucket string) (pulumi.String, error) {
+// var _zero pulumi.String
+// tmpJSON1, err := json.Marshal(map[string]interface{}{
+// "source": []string{
+// "aws.s3",
+// },
+// "detail-type": []string{
+// "Object Deleted",
+// },
+// "detail": map[string]interface{}{
+// "bucket": map[string]interface{}{
+// "name": []string{
+// bucket,
+// },
+// },
+// "object": map[string]interface{}{
+// "key": []map[string]interface{}{
+// map[string]interface{}{
+// "prefix": "archive/",
+// },
+// },
+// },
+// },
+// })
+// if err != nil {
+// return _zero, err
+// }
+// json1 := string(tmpJSON1)
+// return pulumi.String(json1), nil
+// }).(pulumi.StringOutput),
+// })
+// if err != nil {
+// return err
+// }
+// _, err = cloudwatch.NewEventTarget(ctx, "team_b", &cloudwatch.EventTargetArgs{
+// Rule: teamB.Name,
+// Arn: pulumi.Any(teamBArchive.Arn),
+// })
+// if err != nil {
+// return err
+// }
// return nil
// })
// }
//
// ```
//
+// For sharing a bucket between Pulumi configurations when EventBridge is not an option, use the `s3.BucketNotification` data source to read existing notifications and re-emit them in your own resource.
+//
// ## Import
//
// ### Identity Schema
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/getBucketNotification.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/getBucketNotification.go
new file mode 100644
index 000000000..99a3f0932
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/getBucketNotification.go
@@ -0,0 +1,262 @@
+// Code generated by pulumi-language-go DO NOT EDIT.
+// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
+
+package s3
+
+import (
+ "context"
+ "reflect"
+
+ "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal"
+ "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+)
+
+// Provides details about the notification configuration of an S3 bucket.
+//
+// Useful when `s3.BucketNotification` is the right resource but the bucket already has notifications you do not manage. Read the existing notifications with this data source and re-emit them — alongside your own — in a single `s3.BucketNotification` resource. See issue #501 for the longer story. For sharing a bucket across many independent consumers, enabling EventBridge on the resource is usually a better fit.
+//
+// ## Example Usage
+//
+// ### Basic Usage
+//
+// ```go
+// package main
+//
+// import (
+//
+// "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3"
+// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+//
+// )
+//
+// func main() {
+// pulumi.Run(func(ctx *pulumi.Context) error {
+// _, err := s3.LookupBucketNotification(ctx, &s3.LookupBucketNotificationArgs{
+// Bucket: "example-bucket",
+// }, nil)
+// if err != nil {
+// return err
+// }
+// return nil
+// })
+// }
+//
+// ```
+//
+// ### Conditionally Subscribe via EventBridge
+//
+// When the bucket forwards events to Amazon EventBridge, independent consumers can subscribe with their own `cloudwatch.EventRule` resources. Use this data source to subscribe only when EventBridge is in fact enabled on the bucket.
+//
+// ```go
+// package main
+//
+// import (
+//
+// "encoding/json"
+// "fmt"
+//
+// "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch"
+// "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3"
+// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+//
+// )
+//
+// func main() {
+// pulumi.Run(func(ctx *pulumi.Context) error {
+// shared, err := s3.LookupBucketNotification(ctx, &s3.LookupBucketNotificationArgs{
+// Bucket: "shared-bucket",
+// }, nil)
+// if err != nil {
+// return err
+// }
+// tmpJSON0, err := json.Marshal(map[string]interface{}{
+// "source": []string{
+// "aws.s3",
+// },
+// "detail-type": []string{
+// "Object Created",
+// },
+// "detail": map[string]interface{}{
+// "bucket": map[string]interface{}{
+// "name": []*string{
+// shared.Bucket,
+// },
+// },
+// },
+// })
+// if err != nil {
+// return err
+// }
+// json0 := string(tmpJSON0)
+// var tmp0 int
+// if pulumi.Bool(shared.Eventbridge) {
+// tmp0 = 1
+// } else {
+// tmp0 = 0
+// }
+// var s3ObjectCreated []*cloudwatch.EventRule
+// for index := 0; index < tmp0; index++ {
+// key0 := index
+// _ := index
+// __res, err := cloudwatch.NewEventRule(ctx, fmt.Sprintf("s3_object_created-%v", key0), &cloudwatch.EventRuleArgs{
+// Name: pulumi.String("shared-bucket-object-created"),
+// Description: pulumi.String("S3 object-created events from the shared bucket."),
+// EventPattern: json0,
+// })
+// if err != nil {
+// return err
+// }
+// s3ObjectCreated = append(s3ObjectCreated, __res)
+// }
+// return nil
+// })
+// }
+//
+// ```
+//
+// ### Read Existing Notifications and Re-emit Them
+//
+// The S3 [`PutBucketNotificationConfiguration`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketNotificationConfiguration.html) API replaces the entire notification configuration on every call, so a single `s3.BucketNotification` resource owns the bucket. To preserve notifications already on the bucket — or to mirror one bucket's configuration onto another — read them with this data source and pass them through `dynamic` blocks. The data source's output shape matches the resource's input shape, so each block forwards directly.
+//
+// To add a new rule alongside existing ones, exclude IDs your resource owns from the iteration to avoid duplicates, and declare those rules separately:
+//
+// ```go
+// package main
+//
+// import (
+//
+// "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3"
+// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+//
+// )
+//
+// func main() {
+// pulumi.Run(func(ctx *pulumi.Context) error {
+// _, err := s3.NewBucketNotification(ctx, "example", &s3.BucketNotificationArgs{
+// LambdaFunctions: s3.BucketNotificationLambdaFunctionArray{
+// &s3.BucketNotificationLambdaFunctionArgs{
+// Id: pulumi.String("my-team-rule"),
+// LambdaFunctionArn: pulumi.Any(mine.Arn),
+// Events: pulumi.StringArray{
+// pulumi.String("s3:ObjectRemoved:*"),
+// },
+// },
+// },
+// Bucket: pulumi.Any(exampleAwsS3Bucket.Id),
+// })
+// if err != nil {
+// return err
+// }
+// return nil
+// })
+// }
+//
+// ```
+//
+// > **Note:** The S3 API has no per-rule mutation primitive and no compare-and-swap, so two `pulumi up` runs from different state files writing to the same bucket can still race. For independent consumers of one bucket, EventBridge is generally a better fit.
+func LookupBucketNotification(ctx *pulumi.Context, args *LookupBucketNotificationArgs, opts ...pulumi.InvokeOption) (*LookupBucketNotificationResult, error) {
+ opts = internal.PkgInvokeDefaultOpts(opts)
+ var rv LookupBucketNotificationResult
+ err := ctx.Invoke("aws:s3/getBucketNotification:getBucketNotification", args, &rv, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return &rv, nil
+}
+
+// A collection of arguments for invoking getBucketNotification.
+type LookupBucketNotificationArgs struct {
+ // Name of the bucket.
+ Bucket string `pulumi:"bucket"`
+ // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
+ Region *string `pulumi:"region"`
+}
+
+// A collection of values returned by getBucketNotification.
+type LookupBucketNotificationResult struct {
+ Bucket string `pulumi:"bucket"`
+ // Whether Amazon EventBridge notifications are enabled on this bucket.
+ Eventbridge bool `pulumi:"eventbridge"`
+ // The provider-assigned unique ID for this managed resource.
+ Id string `pulumi:"id"`
+ // List of Lambda function notification configurations. See `lambdaFunction` below.
+ LambdaFunctions []GetBucketNotificationLambdaFunction `pulumi:"lambdaFunctions"`
+ // List of SQS queue notification configurations. See `queue` below.
+ Queues []GetBucketNotificationQueue `pulumi:"queues"`
+ Region string `pulumi:"region"`
+ // List of SNS topic notification configurations. See `topic` below.
+ Topics []GetBucketNotificationTopic `pulumi:"topics"`
+}
+
+func LookupBucketNotificationOutput(ctx *pulumi.Context, args LookupBucketNotificationOutputArgs, opts ...pulumi.InvokeOption) LookupBucketNotificationResultOutput {
+ return pulumi.ToOutputWithContext(ctx.Context(), args).
+ ApplyT(func(v interface{}) (LookupBucketNotificationResultOutput, error) {
+ args := v.(LookupBucketNotificationArgs)
+ options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)}
+ return ctx.InvokeOutput("aws:s3/getBucketNotification:getBucketNotification", args, LookupBucketNotificationResultOutput{}, options).(LookupBucketNotificationResultOutput), nil
+ }).(LookupBucketNotificationResultOutput)
+}
+
+// A collection of arguments for invoking getBucketNotification.
+type LookupBucketNotificationOutputArgs struct {
+ // Name of the bucket.
+ Bucket pulumi.StringInput `pulumi:"bucket"`
+ // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
+ Region pulumi.StringPtrInput `pulumi:"region"`
+}
+
+func (LookupBucketNotificationOutputArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*LookupBucketNotificationArgs)(nil)).Elem()
+}
+
+// A collection of values returned by getBucketNotification.
+type LookupBucketNotificationResultOutput struct{ *pulumi.OutputState }
+
+func (LookupBucketNotificationResultOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*LookupBucketNotificationResult)(nil)).Elem()
+}
+
+func (o LookupBucketNotificationResultOutput) ToLookupBucketNotificationResultOutput() LookupBucketNotificationResultOutput {
+ return o
+}
+
+func (o LookupBucketNotificationResultOutput) ToLookupBucketNotificationResultOutputWithContext(ctx context.Context) LookupBucketNotificationResultOutput {
+ return o
+}
+
+func (o LookupBucketNotificationResultOutput) Bucket() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupBucketNotificationResult) string { return v.Bucket }).(pulumi.StringOutput)
+}
+
+// Whether Amazon EventBridge notifications are enabled on this bucket.
+func (o LookupBucketNotificationResultOutput) Eventbridge() pulumi.BoolOutput {
+ return o.ApplyT(func(v LookupBucketNotificationResult) bool { return v.Eventbridge }).(pulumi.BoolOutput)
+}
+
+// The provider-assigned unique ID for this managed resource.
+func (o LookupBucketNotificationResultOutput) Id() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupBucketNotificationResult) string { return v.Id }).(pulumi.StringOutput)
+}
+
+// List of Lambda function notification configurations. See `lambdaFunction` below.
+func (o LookupBucketNotificationResultOutput) LambdaFunctions() GetBucketNotificationLambdaFunctionArrayOutput {
+ return o.ApplyT(func(v LookupBucketNotificationResult) []GetBucketNotificationLambdaFunction { return v.LambdaFunctions }).(GetBucketNotificationLambdaFunctionArrayOutput)
+}
+
+// List of SQS queue notification configurations. See `queue` below.
+func (o LookupBucketNotificationResultOutput) Queues() GetBucketNotificationQueueArrayOutput {
+ return o.ApplyT(func(v LookupBucketNotificationResult) []GetBucketNotificationQueue { return v.Queues }).(GetBucketNotificationQueueArrayOutput)
+}
+
+func (o LookupBucketNotificationResultOutput) Region() pulumi.StringOutput {
+ return o.ApplyT(func(v LookupBucketNotificationResult) string { return v.Region }).(pulumi.StringOutput)
+}
+
+// List of SNS topic notification configurations. See `topic` below.
+func (o LookupBucketNotificationResultOutput) Topics() GetBucketNotificationTopicArrayOutput {
+ return o.ApplyT(func(v LookupBucketNotificationResult) []GetBucketNotificationTopic { return v.Topics }).(GetBucketNotificationTopicArrayOutput)
+}
+
+func init() {
+ pulumi.RegisterOutputType(LookupBucketNotificationResultOutput{})
+}
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/getBuckets.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/getBuckets.go
new file mode 100644
index 000000000..8fe2c6c93
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/getBuckets.go
@@ -0,0 +1,173 @@
+// Code generated by pulumi-language-go DO NOT EDIT.
+// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
+
+package s3
+
+import (
+ "context"
+ "reflect"
+
+ "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal"
+ "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+)
+
+// Provides details about AWS S3 (Simple Storage) buckets with optional filters.
+//
+// ## Example Usage
+//
+// ### Basic Usage
+//
+// ```go
+// package main
+//
+// import (
+//
+// "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3"
+// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+//
+// )
+//
+// func main() {
+// pulumi.Run(func(ctx *pulumi.Context) error {
+// _, err := s3.GetBuckets(ctx, &s3.GetBucketsArgs{}, nil)
+// if err != nil {
+// return err
+// }
+// return nil
+// })
+// }
+//
+// ```
+//
+// ### Full Usage
+//
+// ```go
+// package main
+//
+// import (
+//
+// "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3"
+// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+//
+// )
+//
+// func main() {
+// pulumi.Run(func(ctx *pulumi.Context) error {
+// _, err := s3.GetBuckets(ctx, &s3.GetBucketsArgs{
+// BucketRegion: pulumi.StringRef("us-west-2"),
+// MaxBuckets: pulumi.IntRef(3),
+// Prefix: pulumi.StringRef("tf-"),
+// }, nil)
+// if err != nil {
+// return err
+// }
+// return nil
+// })
+// }
+//
+// ```
+func GetBuckets(ctx *pulumi.Context, args *GetBucketsArgs, opts ...pulumi.InvokeOption) (*GetBucketsResult, error) {
+ opts = internal.PkgInvokeDefaultOpts(opts)
+ var rv GetBucketsResult
+ err := ctx.Invoke("aws:s3/getBuckets:getBuckets", args, &rv, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return &rv, nil
+}
+
+// A collection of arguments for invoking getBuckets.
+type GetBucketsArgs struct {
+ // Limits the response to buckets that are located in the specified AWS Region. The AWS Region must be expressed according to the AWS Region code.
+ BucketRegion *string `pulumi:"bucketRegion"`
+ // Maximum number of buckets returned. Unlike the AWS API parameter, this is a provider-level total cap.
+ MaxBuckets *int `pulumi:"maxBuckets"`
+ // Limits the response to bucket names that begin with the specified bucket name prefix.
+ Prefix *string `pulumi:"prefix"`
+ // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
+ Region *string `pulumi:"region"`
+}
+
+// A collection of values returned by getBuckets.
+type GetBucketsResult struct {
+ // Bucket region.
+ BucketRegion *string `pulumi:"bucketRegion"`
+ // List of bucket objects:
+ Buckets []GetBucketsBucket `pulumi:"buckets"`
+ // The provider-assigned unique ID for this managed resource.
+ Id string `pulumi:"id"`
+ MaxBuckets *int `pulumi:"maxBuckets"`
+ Prefix *string `pulumi:"prefix"`
+ Region string `pulumi:"region"`
+}
+
+func GetBucketsOutput(ctx *pulumi.Context, args GetBucketsOutputArgs, opts ...pulumi.InvokeOption) GetBucketsResultOutput {
+ return pulumi.ToOutputWithContext(ctx.Context(), args).
+ ApplyT(func(v interface{}) (GetBucketsResultOutput, error) {
+ args := v.(GetBucketsArgs)
+ options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)}
+ return ctx.InvokeOutput("aws:s3/getBuckets:getBuckets", args, GetBucketsResultOutput{}, options).(GetBucketsResultOutput), nil
+ }).(GetBucketsResultOutput)
+}
+
+// A collection of arguments for invoking getBuckets.
+type GetBucketsOutputArgs struct {
+ // Limits the response to buckets that are located in the specified AWS Region. The AWS Region must be expressed according to the AWS Region code.
+ BucketRegion pulumi.StringPtrInput `pulumi:"bucketRegion"`
+ // Maximum number of buckets returned. Unlike the AWS API parameter, this is a provider-level total cap.
+ MaxBuckets pulumi.IntPtrInput `pulumi:"maxBuckets"`
+ // Limits the response to bucket names that begin with the specified bucket name prefix.
+ Prefix pulumi.StringPtrInput `pulumi:"prefix"`
+ // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
+ Region pulumi.StringPtrInput `pulumi:"region"`
+}
+
+func (GetBucketsOutputArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetBucketsArgs)(nil)).Elem()
+}
+
+// A collection of values returned by getBuckets.
+type GetBucketsResultOutput struct{ *pulumi.OutputState }
+
+func (GetBucketsResultOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetBucketsResult)(nil)).Elem()
+}
+
+func (o GetBucketsResultOutput) ToGetBucketsResultOutput() GetBucketsResultOutput {
+ return o
+}
+
+func (o GetBucketsResultOutput) ToGetBucketsResultOutputWithContext(ctx context.Context) GetBucketsResultOutput {
+ return o
+}
+
+// Bucket region.
+func (o GetBucketsResultOutput) BucketRegion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v GetBucketsResult) *string { return v.BucketRegion }).(pulumi.StringPtrOutput)
+}
+
+// List of bucket objects:
+func (o GetBucketsResultOutput) Buckets() GetBucketsBucketArrayOutput {
+ return o.ApplyT(func(v GetBucketsResult) []GetBucketsBucket { return v.Buckets }).(GetBucketsBucketArrayOutput)
+}
+
+// The provider-assigned unique ID for this managed resource.
+func (o GetBucketsResultOutput) Id() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketsResult) string { return v.Id }).(pulumi.StringOutput)
+}
+
+func (o GetBucketsResultOutput) MaxBuckets() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v GetBucketsResult) *int { return v.MaxBuckets }).(pulumi.IntPtrOutput)
+}
+
+func (o GetBucketsResultOutput) Prefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v GetBucketsResult) *string { return v.Prefix }).(pulumi.StringPtrOutput)
+}
+
+func (o GetBucketsResultOutput) Region() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketsResult) string { return v.Region }).(pulumi.StringOutput)
+}
+
+func init() {
+ pulumi.RegisterOutputType(GetBucketsResultOutput{})
+}
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/pulumiTypes.go
index 10368ef21..433e18a35 100644
--- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/pulumiTypes.go
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/pulumiTypes.go
@@ -24928,6 +24928,405 @@ func (o GetAccessPointVpcConfigurationArrayOutput) Index(i pulumi.IntInput) GetA
}).(GetAccessPointVpcConfigurationOutput)
}
+type GetBucketNotificationLambdaFunction struct {
+ // [Events](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-event-types-and-destinations.html) for which Amazon S3 sends notifications.
+ Events []string `pulumi:"events"`
+ // Object key name prefix.
+ FilterPrefix string `pulumi:"filterPrefix"`
+ // Object key name suffix.
+ FilterSuffix string `pulumi:"filterSuffix"`
+ // Unique identifier for the notification configuration.
+ Id string `pulumi:"id"`
+ // ARN of the Lambda function.
+ LambdaFunctionArn string `pulumi:"lambdaFunctionArn"`
+}
+
+// GetBucketNotificationLambdaFunctionInput is an input type that accepts GetBucketNotificationLambdaFunctionArgs and GetBucketNotificationLambdaFunctionOutput values.
+// You can construct a concrete instance of `GetBucketNotificationLambdaFunctionInput` via:
+//
+// GetBucketNotificationLambdaFunctionArgs{...}
+type GetBucketNotificationLambdaFunctionInput interface {
+ pulumi.Input
+
+ ToGetBucketNotificationLambdaFunctionOutput() GetBucketNotificationLambdaFunctionOutput
+ ToGetBucketNotificationLambdaFunctionOutputWithContext(context.Context) GetBucketNotificationLambdaFunctionOutput
+}
+
+type GetBucketNotificationLambdaFunctionArgs struct {
+ // [Events](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-event-types-and-destinations.html) for which Amazon S3 sends notifications.
+ Events pulumi.StringArrayInput `pulumi:"events"`
+ // Object key name prefix.
+ FilterPrefix pulumi.StringInput `pulumi:"filterPrefix"`
+ // Object key name suffix.
+ FilterSuffix pulumi.StringInput `pulumi:"filterSuffix"`
+ // Unique identifier for the notification configuration.
+ Id pulumi.StringInput `pulumi:"id"`
+ // ARN of the Lambda function.
+ LambdaFunctionArn pulumi.StringInput `pulumi:"lambdaFunctionArn"`
+}
+
+func (GetBucketNotificationLambdaFunctionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetBucketNotificationLambdaFunction)(nil)).Elem()
+}
+
+func (i GetBucketNotificationLambdaFunctionArgs) ToGetBucketNotificationLambdaFunctionOutput() GetBucketNotificationLambdaFunctionOutput {
+ return i.ToGetBucketNotificationLambdaFunctionOutputWithContext(context.Background())
+}
+
+func (i GetBucketNotificationLambdaFunctionArgs) ToGetBucketNotificationLambdaFunctionOutputWithContext(ctx context.Context) GetBucketNotificationLambdaFunctionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetBucketNotificationLambdaFunctionOutput)
+}
+
+// GetBucketNotificationLambdaFunctionArrayInput is an input type that accepts GetBucketNotificationLambdaFunctionArray and GetBucketNotificationLambdaFunctionArrayOutput values.
+// You can construct a concrete instance of `GetBucketNotificationLambdaFunctionArrayInput` via:
+//
+// GetBucketNotificationLambdaFunctionArray{ GetBucketNotificationLambdaFunctionArgs{...} }
+type GetBucketNotificationLambdaFunctionArrayInput interface {
+ pulumi.Input
+
+ ToGetBucketNotificationLambdaFunctionArrayOutput() GetBucketNotificationLambdaFunctionArrayOutput
+ ToGetBucketNotificationLambdaFunctionArrayOutputWithContext(context.Context) GetBucketNotificationLambdaFunctionArrayOutput
+}
+
+type GetBucketNotificationLambdaFunctionArray []GetBucketNotificationLambdaFunctionInput
+
+func (GetBucketNotificationLambdaFunctionArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetBucketNotificationLambdaFunction)(nil)).Elem()
+}
+
+func (i GetBucketNotificationLambdaFunctionArray) ToGetBucketNotificationLambdaFunctionArrayOutput() GetBucketNotificationLambdaFunctionArrayOutput {
+ return i.ToGetBucketNotificationLambdaFunctionArrayOutputWithContext(context.Background())
+}
+
+func (i GetBucketNotificationLambdaFunctionArray) ToGetBucketNotificationLambdaFunctionArrayOutputWithContext(ctx context.Context) GetBucketNotificationLambdaFunctionArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetBucketNotificationLambdaFunctionArrayOutput)
+}
+
+type GetBucketNotificationLambdaFunctionOutput struct{ *pulumi.OutputState }
+
+func (GetBucketNotificationLambdaFunctionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetBucketNotificationLambdaFunction)(nil)).Elem()
+}
+
+func (o GetBucketNotificationLambdaFunctionOutput) ToGetBucketNotificationLambdaFunctionOutput() GetBucketNotificationLambdaFunctionOutput {
+ return o
+}
+
+func (o GetBucketNotificationLambdaFunctionOutput) ToGetBucketNotificationLambdaFunctionOutputWithContext(ctx context.Context) GetBucketNotificationLambdaFunctionOutput {
+ return o
+}
+
+// [Events](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-event-types-and-destinations.html) for which Amazon S3 sends notifications.
+func (o GetBucketNotificationLambdaFunctionOutput) Events() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetBucketNotificationLambdaFunction) []string { return v.Events }).(pulumi.StringArrayOutput)
+}
+
+// Object key name prefix.
+func (o GetBucketNotificationLambdaFunctionOutput) FilterPrefix() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketNotificationLambdaFunction) string { return v.FilterPrefix }).(pulumi.StringOutput)
+}
+
+// Object key name suffix.
+func (o GetBucketNotificationLambdaFunctionOutput) FilterSuffix() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketNotificationLambdaFunction) string { return v.FilterSuffix }).(pulumi.StringOutput)
+}
+
+// Unique identifier for the notification configuration.
+func (o GetBucketNotificationLambdaFunctionOutput) Id() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketNotificationLambdaFunction) string { return v.Id }).(pulumi.StringOutput)
+}
+
+// ARN of the Lambda function.
+func (o GetBucketNotificationLambdaFunctionOutput) LambdaFunctionArn() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketNotificationLambdaFunction) string { return v.LambdaFunctionArn }).(pulumi.StringOutput)
+}
+
+type GetBucketNotificationLambdaFunctionArrayOutput struct{ *pulumi.OutputState }
+
+func (GetBucketNotificationLambdaFunctionArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetBucketNotificationLambdaFunction)(nil)).Elem()
+}
+
+func (o GetBucketNotificationLambdaFunctionArrayOutput) ToGetBucketNotificationLambdaFunctionArrayOutput() GetBucketNotificationLambdaFunctionArrayOutput {
+ return o
+}
+
+func (o GetBucketNotificationLambdaFunctionArrayOutput) ToGetBucketNotificationLambdaFunctionArrayOutputWithContext(ctx context.Context) GetBucketNotificationLambdaFunctionArrayOutput {
+ return o
+}
+
+func (o GetBucketNotificationLambdaFunctionArrayOutput) Index(i pulumi.IntInput) GetBucketNotificationLambdaFunctionOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetBucketNotificationLambdaFunction {
+ return vs[0].([]GetBucketNotificationLambdaFunction)[vs[1].(int)]
+ }).(GetBucketNotificationLambdaFunctionOutput)
+}
+
+type GetBucketNotificationQueue struct {
+ // [Events](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-event-types-and-destinations.html) for which Amazon S3 sends notifications.
+ Events []string `pulumi:"events"`
+ // Object key name prefix.
+ FilterPrefix string `pulumi:"filterPrefix"`
+ // Object key name suffix.
+ FilterSuffix string `pulumi:"filterSuffix"`
+ // Unique identifier for the notification configuration.
+ Id string `pulumi:"id"`
+ // ARN of the SQS queue.
+ QueueArn string `pulumi:"queueArn"`
+}
+
+// GetBucketNotificationQueueInput is an input type that accepts GetBucketNotificationQueueArgs and GetBucketNotificationQueueOutput values.
+// You can construct a concrete instance of `GetBucketNotificationQueueInput` via:
+//
+// GetBucketNotificationQueueArgs{...}
+type GetBucketNotificationQueueInput interface {
+ pulumi.Input
+
+ ToGetBucketNotificationQueueOutput() GetBucketNotificationQueueOutput
+ ToGetBucketNotificationQueueOutputWithContext(context.Context) GetBucketNotificationQueueOutput
+}
+
+type GetBucketNotificationQueueArgs struct {
+ // [Events](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-event-types-and-destinations.html) for which Amazon S3 sends notifications.
+ Events pulumi.StringArrayInput `pulumi:"events"`
+ // Object key name prefix.
+ FilterPrefix pulumi.StringInput `pulumi:"filterPrefix"`
+ // Object key name suffix.
+ FilterSuffix pulumi.StringInput `pulumi:"filterSuffix"`
+ // Unique identifier for the notification configuration.
+ Id pulumi.StringInput `pulumi:"id"`
+ // ARN of the SQS queue.
+ QueueArn pulumi.StringInput `pulumi:"queueArn"`
+}
+
+func (GetBucketNotificationQueueArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetBucketNotificationQueue)(nil)).Elem()
+}
+
+func (i GetBucketNotificationQueueArgs) ToGetBucketNotificationQueueOutput() GetBucketNotificationQueueOutput {
+ return i.ToGetBucketNotificationQueueOutputWithContext(context.Background())
+}
+
+func (i GetBucketNotificationQueueArgs) ToGetBucketNotificationQueueOutputWithContext(ctx context.Context) GetBucketNotificationQueueOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetBucketNotificationQueueOutput)
+}
+
+// GetBucketNotificationQueueArrayInput is an input type that accepts GetBucketNotificationQueueArray and GetBucketNotificationQueueArrayOutput values.
+// You can construct a concrete instance of `GetBucketNotificationQueueArrayInput` via:
+//
+// GetBucketNotificationQueueArray{ GetBucketNotificationQueueArgs{...} }
+type GetBucketNotificationQueueArrayInput interface {
+ pulumi.Input
+
+ ToGetBucketNotificationQueueArrayOutput() GetBucketNotificationQueueArrayOutput
+ ToGetBucketNotificationQueueArrayOutputWithContext(context.Context) GetBucketNotificationQueueArrayOutput
+}
+
+type GetBucketNotificationQueueArray []GetBucketNotificationQueueInput
+
+func (GetBucketNotificationQueueArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetBucketNotificationQueue)(nil)).Elem()
+}
+
+func (i GetBucketNotificationQueueArray) ToGetBucketNotificationQueueArrayOutput() GetBucketNotificationQueueArrayOutput {
+ return i.ToGetBucketNotificationQueueArrayOutputWithContext(context.Background())
+}
+
+func (i GetBucketNotificationQueueArray) ToGetBucketNotificationQueueArrayOutputWithContext(ctx context.Context) GetBucketNotificationQueueArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetBucketNotificationQueueArrayOutput)
+}
+
+type GetBucketNotificationQueueOutput struct{ *pulumi.OutputState }
+
+func (GetBucketNotificationQueueOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetBucketNotificationQueue)(nil)).Elem()
+}
+
+func (o GetBucketNotificationQueueOutput) ToGetBucketNotificationQueueOutput() GetBucketNotificationQueueOutput {
+ return o
+}
+
+func (o GetBucketNotificationQueueOutput) ToGetBucketNotificationQueueOutputWithContext(ctx context.Context) GetBucketNotificationQueueOutput {
+ return o
+}
+
+// [Events](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-event-types-and-destinations.html) for which Amazon S3 sends notifications.
+func (o GetBucketNotificationQueueOutput) Events() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetBucketNotificationQueue) []string { return v.Events }).(pulumi.StringArrayOutput)
+}
+
+// Object key name prefix.
+func (o GetBucketNotificationQueueOutput) FilterPrefix() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketNotificationQueue) string { return v.FilterPrefix }).(pulumi.StringOutput)
+}
+
+// Object key name suffix.
+func (o GetBucketNotificationQueueOutput) FilterSuffix() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketNotificationQueue) string { return v.FilterSuffix }).(pulumi.StringOutput)
+}
+
+// Unique identifier for the notification configuration.
+func (o GetBucketNotificationQueueOutput) Id() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketNotificationQueue) string { return v.Id }).(pulumi.StringOutput)
+}
+
+// ARN of the SQS queue.
+func (o GetBucketNotificationQueueOutput) QueueArn() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketNotificationQueue) string { return v.QueueArn }).(pulumi.StringOutput)
+}
+
+type GetBucketNotificationQueueArrayOutput struct{ *pulumi.OutputState }
+
+func (GetBucketNotificationQueueArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetBucketNotificationQueue)(nil)).Elem()
+}
+
+func (o GetBucketNotificationQueueArrayOutput) ToGetBucketNotificationQueueArrayOutput() GetBucketNotificationQueueArrayOutput {
+ return o
+}
+
+func (o GetBucketNotificationQueueArrayOutput) ToGetBucketNotificationQueueArrayOutputWithContext(ctx context.Context) GetBucketNotificationQueueArrayOutput {
+ return o
+}
+
+func (o GetBucketNotificationQueueArrayOutput) Index(i pulumi.IntInput) GetBucketNotificationQueueOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetBucketNotificationQueue {
+ return vs[0].([]GetBucketNotificationQueue)[vs[1].(int)]
+ }).(GetBucketNotificationQueueOutput)
+}
+
+type GetBucketNotificationTopic struct {
+ // [Events](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-event-types-and-destinations.html) for which Amazon S3 sends notifications.
+ Events []string `pulumi:"events"`
+ // Object key name prefix.
+ FilterPrefix string `pulumi:"filterPrefix"`
+ // Object key name suffix.
+ FilterSuffix string `pulumi:"filterSuffix"`
+ // Unique identifier for the notification configuration.
+ Id string `pulumi:"id"`
+ // ARN of the SNS topic.
+ TopicArn string `pulumi:"topicArn"`
+}
+
+// GetBucketNotificationTopicInput is an input type that accepts GetBucketNotificationTopicArgs and GetBucketNotificationTopicOutput values.
+// You can construct a concrete instance of `GetBucketNotificationTopicInput` via:
+//
+// GetBucketNotificationTopicArgs{...}
+type GetBucketNotificationTopicInput interface {
+ pulumi.Input
+
+ ToGetBucketNotificationTopicOutput() GetBucketNotificationTopicOutput
+ ToGetBucketNotificationTopicOutputWithContext(context.Context) GetBucketNotificationTopicOutput
+}
+
+type GetBucketNotificationTopicArgs struct {
+ // [Events](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-event-types-and-destinations.html) for which Amazon S3 sends notifications.
+ Events pulumi.StringArrayInput `pulumi:"events"`
+ // Object key name prefix.
+ FilterPrefix pulumi.StringInput `pulumi:"filterPrefix"`
+ // Object key name suffix.
+ FilterSuffix pulumi.StringInput `pulumi:"filterSuffix"`
+ // Unique identifier for the notification configuration.
+ Id pulumi.StringInput `pulumi:"id"`
+ // ARN of the SNS topic.
+ TopicArn pulumi.StringInput `pulumi:"topicArn"`
+}
+
+func (GetBucketNotificationTopicArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetBucketNotificationTopic)(nil)).Elem()
+}
+
+func (i GetBucketNotificationTopicArgs) ToGetBucketNotificationTopicOutput() GetBucketNotificationTopicOutput {
+ return i.ToGetBucketNotificationTopicOutputWithContext(context.Background())
+}
+
+func (i GetBucketNotificationTopicArgs) ToGetBucketNotificationTopicOutputWithContext(ctx context.Context) GetBucketNotificationTopicOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetBucketNotificationTopicOutput)
+}
+
+// GetBucketNotificationTopicArrayInput is an input type that accepts GetBucketNotificationTopicArray and GetBucketNotificationTopicArrayOutput values.
+// You can construct a concrete instance of `GetBucketNotificationTopicArrayInput` via:
+//
+// GetBucketNotificationTopicArray{ GetBucketNotificationTopicArgs{...} }
+type GetBucketNotificationTopicArrayInput interface {
+ pulumi.Input
+
+ ToGetBucketNotificationTopicArrayOutput() GetBucketNotificationTopicArrayOutput
+ ToGetBucketNotificationTopicArrayOutputWithContext(context.Context) GetBucketNotificationTopicArrayOutput
+}
+
+type GetBucketNotificationTopicArray []GetBucketNotificationTopicInput
+
+func (GetBucketNotificationTopicArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetBucketNotificationTopic)(nil)).Elem()
+}
+
+func (i GetBucketNotificationTopicArray) ToGetBucketNotificationTopicArrayOutput() GetBucketNotificationTopicArrayOutput {
+ return i.ToGetBucketNotificationTopicArrayOutputWithContext(context.Background())
+}
+
+func (i GetBucketNotificationTopicArray) ToGetBucketNotificationTopicArrayOutputWithContext(ctx context.Context) GetBucketNotificationTopicArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetBucketNotificationTopicArrayOutput)
+}
+
+type GetBucketNotificationTopicOutput struct{ *pulumi.OutputState }
+
+func (GetBucketNotificationTopicOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetBucketNotificationTopic)(nil)).Elem()
+}
+
+func (o GetBucketNotificationTopicOutput) ToGetBucketNotificationTopicOutput() GetBucketNotificationTopicOutput {
+ return o
+}
+
+func (o GetBucketNotificationTopicOutput) ToGetBucketNotificationTopicOutputWithContext(ctx context.Context) GetBucketNotificationTopicOutput {
+ return o
+}
+
+// [Events](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-event-types-and-destinations.html) for which Amazon S3 sends notifications.
+func (o GetBucketNotificationTopicOutput) Events() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetBucketNotificationTopic) []string { return v.Events }).(pulumi.StringArrayOutput)
+}
+
+// Object key name prefix.
+func (o GetBucketNotificationTopicOutput) FilterPrefix() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketNotificationTopic) string { return v.FilterPrefix }).(pulumi.StringOutput)
+}
+
+// Object key name suffix.
+func (o GetBucketNotificationTopicOutput) FilterSuffix() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketNotificationTopic) string { return v.FilterSuffix }).(pulumi.StringOutput)
+}
+
+// Unique identifier for the notification configuration.
+func (o GetBucketNotificationTopicOutput) Id() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketNotificationTopic) string { return v.Id }).(pulumi.StringOutput)
+}
+
+// ARN of the SNS topic.
+func (o GetBucketNotificationTopicOutput) TopicArn() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketNotificationTopic) string { return v.TopicArn }).(pulumi.StringOutput)
+}
+
+type GetBucketNotificationTopicArrayOutput struct{ *pulumi.OutputState }
+
+func (GetBucketNotificationTopicArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetBucketNotificationTopic)(nil)).Elem()
+}
+
+func (o GetBucketNotificationTopicArrayOutput) ToGetBucketNotificationTopicArrayOutput() GetBucketNotificationTopicArrayOutput {
+ return o
+}
+
+func (o GetBucketNotificationTopicArrayOutput) ToGetBucketNotificationTopicArrayOutputWithContext(ctx context.Context) GetBucketNotificationTopicArrayOutput {
+ return o
+}
+
+func (o GetBucketNotificationTopicArrayOutput) Index(i pulumi.IntInput) GetBucketNotificationTopicOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetBucketNotificationTopic {
+ return vs[0].([]GetBucketNotificationTopic)[vs[1].(int)]
+ }).(GetBucketNotificationTopicOutput)
+}
+
type GetBucketObjectLockConfigurationRule struct {
// Default object lock retention settings for new objects placed in the bucket. See Default Retention below.
DefaultRetentions []GetBucketObjectLockConfigurationRuleDefaultRetention `pulumi:"defaultRetentions"`
@@ -26942,6 +27341,130 @@ func (o GetBucketReplicationConfigurationRuleSourceSelectionCriteriaSseKmsEncryp
}).(GetBucketReplicationConfigurationRuleSourceSelectionCriteriaSseKmsEncryptedObjectOutput)
}
+type GetBucketsBucket struct {
+ // Bucket ARN.
+ BucketArn string `pulumi:"bucketArn"`
+ // Limits the response to buckets that are located in the specified AWS Region. The AWS Region must be expressed according to the AWS Region code.
+ BucketRegion string `pulumi:"bucketRegion"`
+ // Bucket creation date.
+ CreationDate string `pulumi:"creationDate"`
+ // Bucket name.
+ Name string `pulumi:"name"`
+}
+
+// GetBucketsBucketInput is an input type that accepts GetBucketsBucketArgs and GetBucketsBucketOutput values.
+// You can construct a concrete instance of `GetBucketsBucketInput` via:
+//
+// GetBucketsBucketArgs{...}
+type GetBucketsBucketInput interface {
+ pulumi.Input
+
+ ToGetBucketsBucketOutput() GetBucketsBucketOutput
+ ToGetBucketsBucketOutputWithContext(context.Context) GetBucketsBucketOutput
+}
+
+type GetBucketsBucketArgs struct {
+ // Bucket ARN.
+ BucketArn pulumi.StringInput `pulumi:"bucketArn"`
+ // Limits the response to buckets that are located in the specified AWS Region. The AWS Region must be expressed according to the AWS Region code.
+ BucketRegion pulumi.StringInput `pulumi:"bucketRegion"`
+ // Bucket creation date.
+ CreationDate pulumi.StringInput `pulumi:"creationDate"`
+ // Bucket name.
+ Name pulumi.StringInput `pulumi:"name"`
+}
+
+func (GetBucketsBucketArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetBucketsBucket)(nil)).Elem()
+}
+
+func (i GetBucketsBucketArgs) ToGetBucketsBucketOutput() GetBucketsBucketOutput {
+ return i.ToGetBucketsBucketOutputWithContext(context.Background())
+}
+
+func (i GetBucketsBucketArgs) ToGetBucketsBucketOutputWithContext(ctx context.Context) GetBucketsBucketOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetBucketsBucketOutput)
+}
+
+// GetBucketsBucketArrayInput is an input type that accepts GetBucketsBucketArray and GetBucketsBucketArrayOutput values.
+// You can construct a concrete instance of `GetBucketsBucketArrayInput` via:
+//
+// GetBucketsBucketArray{ GetBucketsBucketArgs{...} }
+type GetBucketsBucketArrayInput interface {
+ pulumi.Input
+
+ ToGetBucketsBucketArrayOutput() GetBucketsBucketArrayOutput
+ ToGetBucketsBucketArrayOutputWithContext(context.Context) GetBucketsBucketArrayOutput
+}
+
+type GetBucketsBucketArray []GetBucketsBucketInput
+
+func (GetBucketsBucketArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetBucketsBucket)(nil)).Elem()
+}
+
+func (i GetBucketsBucketArray) ToGetBucketsBucketArrayOutput() GetBucketsBucketArrayOutput {
+ return i.ToGetBucketsBucketArrayOutputWithContext(context.Background())
+}
+
+func (i GetBucketsBucketArray) ToGetBucketsBucketArrayOutputWithContext(ctx context.Context) GetBucketsBucketArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GetBucketsBucketArrayOutput)
+}
+
+type GetBucketsBucketOutput struct{ *pulumi.OutputState }
+
+func (GetBucketsBucketOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetBucketsBucket)(nil)).Elem()
+}
+
+func (o GetBucketsBucketOutput) ToGetBucketsBucketOutput() GetBucketsBucketOutput {
+ return o
+}
+
+func (o GetBucketsBucketOutput) ToGetBucketsBucketOutputWithContext(ctx context.Context) GetBucketsBucketOutput {
+ return o
+}
+
+// Bucket ARN.
+func (o GetBucketsBucketOutput) BucketArn() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketsBucket) string { return v.BucketArn }).(pulumi.StringOutput)
+}
+
+// Limits the response to buckets that are located in the specified AWS Region. The AWS Region must be expressed according to the AWS Region code.
+func (o GetBucketsBucketOutput) BucketRegion() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketsBucket) string { return v.BucketRegion }).(pulumi.StringOutput)
+}
+
+// Bucket creation date.
+func (o GetBucketsBucketOutput) CreationDate() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketsBucket) string { return v.CreationDate }).(pulumi.StringOutput)
+}
+
+// Bucket name.
+func (o GetBucketsBucketOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v GetBucketsBucket) string { return v.Name }).(pulumi.StringOutput)
+}
+
+type GetBucketsBucketArrayOutput struct{ *pulumi.OutputState }
+
+func (GetBucketsBucketArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GetBucketsBucket)(nil)).Elem()
+}
+
+func (o GetBucketsBucketArrayOutput) ToGetBucketsBucketArrayOutput() GetBucketsBucketArrayOutput {
+ return o
+}
+
+func (o GetBucketsBucketArrayOutput) ToGetBucketsBucketArrayOutputWithContext(ctx context.Context) GetBucketsBucketArrayOutput {
+ return o
+}
+
+func (o GetBucketsBucketArrayOutput) Index(i pulumi.IntInput) GetBucketsBucketOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetBucketsBucket {
+ return vs[0].([]GetBucketsBucket)[vs[1].(int)]
+ }).(GetBucketsBucketOutput)
+}
+
type GetFilesAccessPointPosixUser struct {
// POSIX group ID.
Gid int `pulumi:"gid"`
@@ -27802,6 +28325,12 @@ func init() {
pulumi.RegisterInputType(reflect.TypeOf((*GetAccessPointPublicAccessBlockConfigurationArrayInput)(nil)).Elem(), GetAccessPointPublicAccessBlockConfigurationArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetAccessPointVpcConfigurationInput)(nil)).Elem(), GetAccessPointVpcConfigurationArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetAccessPointVpcConfigurationArrayInput)(nil)).Elem(), GetAccessPointVpcConfigurationArray{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetBucketNotificationLambdaFunctionInput)(nil)).Elem(), GetBucketNotificationLambdaFunctionArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetBucketNotificationLambdaFunctionArrayInput)(nil)).Elem(), GetBucketNotificationLambdaFunctionArray{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetBucketNotificationQueueInput)(nil)).Elem(), GetBucketNotificationQueueArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetBucketNotificationQueueArrayInput)(nil)).Elem(), GetBucketNotificationQueueArray{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetBucketNotificationTopicInput)(nil)).Elem(), GetBucketNotificationTopicArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetBucketNotificationTopicArrayInput)(nil)).Elem(), GetBucketNotificationTopicArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetBucketObjectLockConfigurationRuleInput)(nil)).Elem(), GetBucketObjectLockConfigurationRuleArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetBucketObjectLockConfigurationRuleArrayInput)(nil)).Elem(), GetBucketObjectLockConfigurationRuleArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetBucketObjectLockConfigurationRuleDefaultRetentionInput)(nil)).Elem(), GetBucketObjectLockConfigurationRuleDefaultRetentionArgs{})
@@ -27840,6 +28369,8 @@ func init() {
pulumi.RegisterInputType(reflect.TypeOf((*GetBucketReplicationConfigurationRuleSourceSelectionCriteriaReplicaModificationArrayInput)(nil)).Elem(), GetBucketReplicationConfigurationRuleSourceSelectionCriteriaReplicaModificationArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetBucketReplicationConfigurationRuleSourceSelectionCriteriaSseKmsEncryptedObjectInput)(nil)).Elem(), GetBucketReplicationConfigurationRuleSourceSelectionCriteriaSseKmsEncryptedObjectArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetBucketReplicationConfigurationRuleSourceSelectionCriteriaSseKmsEncryptedObjectArrayInput)(nil)).Elem(), GetBucketReplicationConfigurationRuleSourceSelectionCriteriaSseKmsEncryptedObjectArray{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetBucketsBucketInput)(nil)).Elem(), GetBucketsBucketArgs{})
+ pulumi.RegisterInputType(reflect.TypeOf((*GetBucketsBucketArrayInput)(nil)).Elem(), GetBucketsBucketArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetFilesAccessPointPosixUserInput)(nil)).Elem(), GetFilesAccessPointPosixUserArgs{})
pulumi.RegisterInputType(reflect.TypeOf((*GetFilesAccessPointPosixUserArrayInput)(nil)).Elem(), GetFilesAccessPointPosixUserArray{})
pulumi.RegisterInputType(reflect.TypeOf((*GetFilesAccessPointRootDirectoryInput)(nil)).Elem(), GetFilesAccessPointRootDirectoryArgs{})
@@ -28191,6 +28722,12 @@ func init() {
pulumi.RegisterOutputType(GetAccessPointPublicAccessBlockConfigurationArrayOutput{})
pulumi.RegisterOutputType(GetAccessPointVpcConfigurationOutput{})
pulumi.RegisterOutputType(GetAccessPointVpcConfigurationArrayOutput{})
+ pulumi.RegisterOutputType(GetBucketNotificationLambdaFunctionOutput{})
+ pulumi.RegisterOutputType(GetBucketNotificationLambdaFunctionArrayOutput{})
+ pulumi.RegisterOutputType(GetBucketNotificationQueueOutput{})
+ pulumi.RegisterOutputType(GetBucketNotificationQueueArrayOutput{})
+ pulumi.RegisterOutputType(GetBucketNotificationTopicOutput{})
+ pulumi.RegisterOutputType(GetBucketNotificationTopicArrayOutput{})
pulumi.RegisterOutputType(GetBucketObjectLockConfigurationRuleOutput{})
pulumi.RegisterOutputType(GetBucketObjectLockConfigurationRuleArrayOutput{})
pulumi.RegisterOutputType(GetBucketObjectLockConfigurationRuleDefaultRetentionOutput{})
@@ -28229,6 +28766,8 @@ func init() {
pulumi.RegisterOutputType(GetBucketReplicationConfigurationRuleSourceSelectionCriteriaReplicaModificationArrayOutput{})
pulumi.RegisterOutputType(GetBucketReplicationConfigurationRuleSourceSelectionCriteriaSseKmsEncryptedObjectOutput{})
pulumi.RegisterOutputType(GetBucketReplicationConfigurationRuleSourceSelectionCriteriaSseKmsEncryptedObjectArrayOutput{})
+ pulumi.RegisterOutputType(GetBucketsBucketOutput{})
+ pulumi.RegisterOutputType(GetBucketsBucketArrayOutput{})
pulumi.RegisterOutputType(GetFilesAccessPointPosixUserOutput{})
pulumi.RegisterOutputType(GetFilesAccessPointPosixUserArrayOutput{})
pulumi.RegisterOutputType(GetFilesAccessPointRootDirectoryOutput{})
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/trimIamRolePath.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/trimIamRolePath.go
new file mode 100644
index 000000000..42aff87bb
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/trimIamRolePath.go
@@ -0,0 +1,68 @@
+// Code generated by pulumi-language-go DO NOT EDIT.
+// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
+
+package aws
+
+import (
+ "reflect"
+
+ "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal"
+ "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+)
+
+// Trims the path prefix from an IAM role Amazon Resource Name (ARN).
+// This function can be used when services require role ARNs to be passed without a path.
+//
+// See the [AWS IAM documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awsidentityandaccessmanagementiam.html#awsidentityandaccessmanagementiam-resources-for-iam-policies) for additional information on IAM role ARNs.
+//
+// ## Signature
+func TrimIamRolePath(ctx *pulumi.Context, arn string, opts ...pulumi.InvokeOption) (string, error) {
+ args := trimIamRolePathArgs{
+ Arn: arn,
+ }
+ opts = internal.PkgInvokeDefaultOpts(opts)
+ var rv map[string]string
+ err := ctx.Invoke("aws:index/trimIamRolePath:trimIamRolePath", args, &rv, opts...)
+ var result string
+ if err != nil {
+ return result, err
+ }
+ for _, v := range rv {
+ result = v
+ break
+ }
+ return result, nil
+}
+
+type trimIamRolePathArgs struct {
+ // IAM role Amazon Resource Name (ARN)
+ Arn string `pulumi:"arn"`
+}
+
+func TrimIamRolePathOutput(ctx *pulumi.Context, arn pulumi.StringInput, opts ...pulumi.InvokeOption) pulumi.StringOutput {
+ args := trimIamRolePathOutputArgs{
+ Arn: arn,
+ }
+ return pulumi.ToOutputWithContext(ctx.Context(), args).
+ ApplyT(func(v interface{}) (pulumi.StringOutput, error) {
+ args := v.(trimIamRolePathArgs)
+ options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)}
+ rv := ctx.InvokeOutput("aws:index/trimIamRolePath:trimIamRolePath", args, pulumi.StringMapOutput{}, options).(pulumi.StringMapOutput)
+ return rv.ApplyT(func(rv map[string]string) string {
+ var result string
+ for _, v := range rv {
+ result = v
+ }
+ return result
+ }).(pulumi.StringOutput), nil
+ }).(pulumi.StringOutput)
+}
+
+type trimIamRolePathOutputArgs struct {
+ // IAM role Amazon Resource Name (ARN)
+ Arn pulumi.StringInput `pulumi:"arn"`
+}
+
+func (trimIamRolePathOutputArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*trimIamRolePathArgs)(nil)).Elem()
+}
diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/userAgent.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/userAgent.go
new file mode 100644
index 000000000..f47e9189e
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/userAgent.go
@@ -0,0 +1,79 @@
+// Code generated by pulumi-language-go DO NOT EDIT.
+// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
+
+package aws
+
+import (
+ "reflect"
+
+ "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal"
+ "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+)
+
+// Formats a User-Agent product for use with the `userAgent` argument in the `provider` block.
+//
+// > Functions cannot be used in the `terraform` block, meaning this utility cannot be used with the `providerMeta` `userAgent` argument.
+//
+// ## Signature
+func UserAgent(ctx *pulumi.Context, productName string, productVersion string, comment string, opts ...pulumi.InvokeOption) (string, error) {
+ args := userAgentArgs{
+ ProductName: productName,
+ ProductVersion: productVersion,
+ Comment: comment,
+ }
+ opts = internal.PkgInvokeDefaultOpts(opts)
+ var rv map[string]string
+ err := ctx.Invoke("aws:index/userAgent:userAgent", args, &rv, opts...)
+ var result string
+ if err != nil {
+ return result, err
+ }
+ for _, v := range rv {
+ result = v
+ break
+ }
+ return result, nil
+}
+
+type userAgentArgs struct {
+ // Product name.
+ ProductName string `pulumi:"productName"`
+ // Product version.
+ ProductVersion string `pulumi:"productVersion"`
+ // Comment describing any additional product details.
+ Comment string `pulumi:"comment"`
+}
+
+func UserAgentOutput(ctx *pulumi.Context, productName pulumi.StringInput, productVersion pulumi.StringInput, comment pulumi.StringInput, opts ...pulumi.InvokeOption) pulumi.StringOutput {
+ args := userAgentOutputArgs{
+ ProductName: productName,
+ ProductVersion: productVersion,
+ Comment: comment,
+ }
+ return pulumi.ToOutputWithContext(ctx.Context(), args).
+ ApplyT(func(v interface{}) (pulumi.StringOutput, error) {
+ args := v.(userAgentArgs)
+ options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)}
+ rv := ctx.InvokeOutput("aws:index/userAgent:userAgent", args, pulumi.StringMapOutput{}, options).(pulumi.StringMapOutput)
+ return rv.ApplyT(func(rv map[string]string) string {
+ var result string
+ for _, v := range rv {
+ result = v
+ }
+ return result
+ }).(pulumi.StringOutput), nil
+ }).(pulumi.StringOutput)
+}
+
+type userAgentOutputArgs struct {
+ // Product name.
+ ProductName pulumi.StringInput `pulumi:"productName"`
+ // Product version.
+ ProductVersion pulumi.StringInput `pulumi:"productVersion"`
+ // Comment describing any additional product details.
+ Comment pulumi.StringInput `pulumi:"comment"`
+}
+
+func (userAgentOutputArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*userAgentArgs)(nil)).Elem()
+}
diff --git a/vendor/github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/ecs/ec2service.go b/vendor/github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/ecs/ec2service.go
index 8ed3c911f..9b6bac4e7 100644
--- a/vendor/github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/ecs/ec2service.go
+++ b/vendor/github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/ecs/ec2service.go
@@ -109,6 +109,8 @@ type ec2serviceArgs struct {
TaskDefinitionArgs *EC2ServiceTaskDefinition `pulumi:"taskDefinitionArgs"`
// Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. When using the triggers property you also need to set the forceNewDeployment property to True.
Triggers map[string]string `pulumi:"triggers"`
+ // If `true`, this service will use the cluster's default capacity provider strategy. When enabled, this provider omits both `launchType` and `capacityProviderStrategies` from the ECS service. Only one of [useClusterDefaultCapacityProviderStrategy] or [capacityProviderStrategies] can be provided. The cluster must have a default capacity provider strategy configured, or ECS service creation or update will fail.
+ UseClusterDefaultCapacityProviderStrategy *bool `pulumi:"useClusterDefaultCapacityProviderStrategy"`
// Configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume. See below.
VolumeConfiguration *ecs.ServiceVolumeConfiguration `pulumi:"volumeConfiguration"`
// The VPC Lattice configuration for your service that allows Lattice to connect, secure, and monitor your service across multiple accounts and VPCs. See below.
@@ -186,6 +188,8 @@ type EC2ServiceArgs struct {
TaskDefinitionArgs *EC2ServiceTaskDefinitionArgs
// Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. When using the triggers property you also need to set the forceNewDeployment property to True.
Triggers pulumi.StringMapInput
+ // If `true`, this service will use the cluster's default capacity provider strategy. When enabled, this provider omits both `launchType` and `capacityProviderStrategies` from the ECS service. Only one of [useClusterDefaultCapacityProviderStrategy] or [capacityProviderStrategies] can be provided. The cluster must have a default capacity provider strategy configured, or ECS service creation or update will fail.
+ UseClusterDefaultCapacityProviderStrategy *bool
// Configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume. See below.
VolumeConfiguration ecs.ServiceVolumeConfigurationPtrInput
// The VPC Lattice configuration for your service that allows Lattice to connect, secure, and monitor your service across multiple accounts and VPCs. See below.
diff --git a/vendor/github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/ecs/fargateService.go b/vendor/github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/ecs/fargateService.go
index e6c85b304..7dcc9573f 100644
--- a/vendor/github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/ecs/fargateService.go
+++ b/vendor/github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/ecs/fargateService.go
@@ -46,6 +46,8 @@ type fargateServiceArgs struct {
AssignPublicIp *bool `pulumi:"assignPublicIp"`
// ECS automatically redistributes tasks within a service across Availability Zones (AZs) to mitigate the risk of impaired application availability due to underlying infrastructure failures and task lifecycle activities. The valid values are `ENABLED` and `DISABLED`. When creating a new service, if no value is specified, it defaults to `ENABLED` if the service is compatible with AvailabilityZoneRebalancing. When updating an existing service, if no value is specified it defaults to the existing service's AvailabilityZoneRebalancing value. If the service never had an AvailabilityZoneRebalancing value set, Amazon ECS treats this as `DISABLED`.
AvailabilityZoneRebalancing *string `pulumi:"availabilityZoneRebalancing"`
+ // Capacity provider strategies to use for the service. Can be one or more. Updating this argument requires `forceNewDeployment = true`. See below. Conflicts with `launchType`.
+ CapacityProviderStrategies []ecs.ServiceCapacityProviderStrategy `pulumi:"capacityProviderStrategies"`
// ARN of an ECS cluster.
Cluster *string `pulumi:"cluster"`
// If `true`, this provider will not wait for the service to reach a steady state (like [`aws ecs wait services-stable`](https://docs.aws.amazon.com/cli/latest/reference/ecs/wait/services-stable.html)) before continuing. Default `false`.
@@ -107,6 +109,8 @@ type fargateServiceArgs struct {
TaskDefinitionArgs *FargateServiceTaskDefinition `pulumi:"taskDefinitionArgs"`
// Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. When using the triggers property you also need to set the forceNewDeployment property to True.
Triggers map[string]string `pulumi:"triggers"`
+ // If `true`, this service will use the cluster's default capacity provider strategy. When enabled, this provider omits both `launchType` and `capacityProviderStrategies` from the ECS service. Only one of [useClusterDefaultCapacityProviderStrategy] or [capacityProviderStrategies] can be provided. The cluster must have a default capacity provider strategy configured, or ECS service creation or update will fail.
+ UseClusterDefaultCapacityProviderStrategy *bool `pulumi:"useClusterDefaultCapacityProviderStrategy"`
// Configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume. See below.
VolumeConfiguration *ecs.ServiceVolumeConfiguration `pulumi:"volumeConfiguration"`
// The VPC Lattice configuration for your service that allows Lattice to connect, secure, and monitor your service across multiple accounts and VPCs. See below.
@@ -121,6 +125,8 @@ type FargateServiceArgs struct {
AssignPublicIp pulumi.BoolPtrInput
// ECS automatically redistributes tasks within a service across Availability Zones (AZs) to mitigate the risk of impaired application availability due to underlying infrastructure failures and task lifecycle activities. The valid values are `ENABLED` and `DISABLED`. When creating a new service, if no value is specified, it defaults to `ENABLED` if the service is compatible with AvailabilityZoneRebalancing. When updating an existing service, if no value is specified it defaults to the existing service's AvailabilityZoneRebalancing value. If the service never had an AvailabilityZoneRebalancing value set, Amazon ECS treats this as `DISABLED`.
AvailabilityZoneRebalancing pulumi.StringPtrInput
+ // Capacity provider strategies to use for the service. Can be one or more. Updating this argument requires `forceNewDeployment = true`. See below. Conflicts with `launchType`.
+ CapacityProviderStrategies ecs.ServiceCapacityProviderStrategyArrayInput
// ARN of an ECS cluster.
Cluster pulumi.StringPtrInput
// If `true`, this provider will not wait for the service to reach a steady state (like [`aws ecs wait services-stable`](https://docs.aws.amazon.com/cli/latest/reference/ecs/wait/services-stable.html)) before continuing. Default `false`.
@@ -182,6 +188,8 @@ type FargateServiceArgs struct {
TaskDefinitionArgs *FargateServiceTaskDefinitionArgs
// Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. When using the triggers property you also need to set the forceNewDeployment property to True.
Triggers pulumi.StringMapInput
+ // If `true`, this service will use the cluster's default capacity provider strategy. When enabled, this provider omits both `launchType` and `capacityProviderStrategies` from the ECS service. Only one of [useClusterDefaultCapacityProviderStrategy] or [capacityProviderStrategies] can be provided. The cluster must have a default capacity provider strategy configured, or ECS service creation or update will fail.
+ UseClusterDefaultCapacityProviderStrategy *bool
// Configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume. See below.
VolumeConfiguration ecs.ServiceVolumeConfigurationPtrInput
// The VPC Lattice configuration for your service that allows Lattice to connect, secure, and monitor your service across multiple accounts and VPCs. See below.
diff --git a/vendor/github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/internal/pulumiUtilities.go b/vendor/github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/internal/pulumiUtilities.go
index 11a7a0742..e9517d8b1 100644
--- a/vendor/github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/internal/pulumiUtilities.go
+++ b/vendor/github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/internal/pulumiUtilities.go
@@ -165,7 +165,7 @@ func callPlainInner(
func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption {
defaults := []pulumi.ResourceOption{}
- version := semver.MustParse("3.7.0")
+ version := semver.MustParse("3.8.0")
if !version.Equals(semver.Version{}) {
defaults = append(defaults, pulumi.Version(version.String()))
}
@@ -176,7 +176,7 @@ func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOptio
func PkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption {
defaults := []pulumi.InvokeOption{}
- version := semver.MustParse("3.7.0")
+ version := semver.MustParse("3.8.0")
if !version.Equals(semver.Version{}) {
defaults = append(defaults, pulumi.Version(version.String()))
}
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v3/getRoleManagementPolicy.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v3/getRoleManagementPolicy.go
index 491711070..07025995c 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v3/getRoleManagementPolicy.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v3/getRoleManagementPolicy.go
@@ -48,7 +48,7 @@ type LookupRoleManagementPolicyResult struct {
// The role management policy is default policy.
IsOrganizationDefault *bool `pulumi:"isOrganizationDefault"`
// The name of the entity last modified it
- LastModifiedBy MicrosoftCommonPrincipalResponse `pulumi:"lastModifiedBy"`
+ LastModifiedBy PrincipalResponse `pulumi:"lastModifiedBy"`
// The last modified date time.
LastModifiedDateTime string `pulumi:"lastModifiedDateTime"`
// The name of the resource
@@ -131,8 +131,8 @@ func (o LookupRoleManagementPolicyResultOutput) IsOrganizationDefault() pulumi.B
}
// The name of the entity last modified it
-func (o LookupRoleManagementPolicyResultOutput) LastModifiedBy() MicrosoftCommonPrincipalResponseOutput {
- return o.ApplyT(func(v LookupRoleManagementPolicyResult) MicrosoftCommonPrincipalResponse { return v.LastModifiedBy }).(MicrosoftCommonPrincipalResponseOutput)
+func (o LookupRoleManagementPolicyResultOutput) LastModifiedBy() PrincipalResponseOutput {
+ return o.ApplyT(func(v LookupRoleManagementPolicyResult) PrincipalResponse { return v.LastModifiedBy }).(PrincipalResponseOutput)
}
// The last modified date time.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v3/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v3/pulumi-plugin.json
index 690917d0f..a94227cae 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v3/pulumi-plugin.json
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v3/pulumi-plugin.json
@@ -1,5 +1,5 @@
{
"resource": true,
"name": "azure-native",
- "version": "3.20.0"
+ "version": "3.24.0"
}
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v3/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v3/pulumiTypes.go
index c36a32bd6..1a42080f8 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v3/pulumiTypes.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v3/pulumiTypes.go
@@ -3037,117 +3037,6 @@ func (o ManagementLockOwnerResponseArrayOutput) Index(i pulumi.IntInput) Managem
}).(ManagementLockOwnerResponseOutput)
}
-// The name of the entity last modified it
-type MicrosoftCommonPrincipalResponse struct {
- // The name of the principal made changes
- DisplayName *string `pulumi:"displayName"`
- // Email of principal
- Email *string `pulumi:"email"`
- // The id of the principal made changes
- Id *string `pulumi:"id"`
- // Type of principal such as user , group etc
- Type *string `pulumi:"type"`
-}
-
-// The name of the entity last modified it
-type MicrosoftCommonPrincipalResponseOutput struct{ *pulumi.OutputState }
-
-func (MicrosoftCommonPrincipalResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*MicrosoftCommonPrincipalResponse)(nil)).Elem()
-}
-
-func (o MicrosoftCommonPrincipalResponseOutput) ToMicrosoftCommonPrincipalResponseOutput() MicrosoftCommonPrincipalResponseOutput {
- return o
-}
-
-func (o MicrosoftCommonPrincipalResponseOutput) ToMicrosoftCommonPrincipalResponseOutputWithContext(ctx context.Context) MicrosoftCommonPrincipalResponseOutput {
- return o
-}
-
-// The name of the principal made changes
-func (o MicrosoftCommonPrincipalResponseOutput) DisplayName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v MicrosoftCommonPrincipalResponse) *string { return v.DisplayName }).(pulumi.StringPtrOutput)
-}
-
-// Email of principal
-func (o MicrosoftCommonPrincipalResponseOutput) Email() pulumi.StringPtrOutput {
- return o.ApplyT(func(v MicrosoftCommonPrincipalResponse) *string { return v.Email }).(pulumi.StringPtrOutput)
-}
-
-// The id of the principal made changes
-func (o MicrosoftCommonPrincipalResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v MicrosoftCommonPrincipalResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// Type of principal such as user , group etc
-func (o MicrosoftCommonPrincipalResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v MicrosoftCommonPrincipalResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
-}
-
-type MicrosoftCommonPrincipalResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (MicrosoftCommonPrincipalResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**MicrosoftCommonPrincipalResponse)(nil)).Elem()
-}
-
-func (o MicrosoftCommonPrincipalResponsePtrOutput) ToMicrosoftCommonPrincipalResponsePtrOutput() MicrosoftCommonPrincipalResponsePtrOutput {
- return o
-}
-
-func (o MicrosoftCommonPrincipalResponsePtrOutput) ToMicrosoftCommonPrincipalResponsePtrOutputWithContext(ctx context.Context) MicrosoftCommonPrincipalResponsePtrOutput {
- return o
-}
-
-func (o MicrosoftCommonPrincipalResponsePtrOutput) Elem() MicrosoftCommonPrincipalResponseOutput {
- return o.ApplyT(func(v *MicrosoftCommonPrincipalResponse) MicrosoftCommonPrincipalResponse {
- if v != nil {
- return *v
- }
- var ret MicrosoftCommonPrincipalResponse
- return ret
- }).(MicrosoftCommonPrincipalResponseOutput)
-}
-
-// The name of the principal made changes
-func (o MicrosoftCommonPrincipalResponsePtrOutput) DisplayName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *MicrosoftCommonPrincipalResponse) *string {
- if v == nil {
- return nil
- }
- return v.DisplayName
- }).(pulumi.StringPtrOutput)
-}
-
-// Email of principal
-func (o MicrosoftCommonPrincipalResponsePtrOutput) Email() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *MicrosoftCommonPrincipalResponse) *string {
- if v == nil {
- return nil
- }
- return v.Email
- }).(pulumi.StringPtrOutput)
-}
-
-// The id of the principal made changes
-func (o MicrosoftCommonPrincipalResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *MicrosoftCommonPrincipalResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
-}
-
-// Type of principal such as user , group etc
-func (o MicrosoftCommonPrincipalResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *MicrosoftCommonPrincipalResponse) *string {
- if v == nil {
- return nil
- }
- return v.Type
- }).(pulumi.StringPtrOutput)
-}
-
// A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results.
type NonComplianceMessage struct {
// A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results.
@@ -4639,7 +4528,7 @@ type PolicyAssignmentPropertiesPolicyResponse struct {
// Id of the policy
Id *string `pulumi:"id"`
// The name of the entity last modified it
- LastModifiedBy MicrosoftCommonPrincipalResponse `pulumi:"lastModifiedBy"`
+ LastModifiedBy PrincipalResponse `pulumi:"lastModifiedBy"`
// The last modified date time.
LastModifiedDateTime *string `pulumi:"lastModifiedDateTime"`
}
@@ -4665,10 +4554,8 @@ func (o PolicyAssignmentPropertiesPolicyResponseOutput) Id() pulumi.StringPtrOut
}
// The name of the entity last modified it
-func (o PolicyAssignmentPropertiesPolicyResponseOutput) LastModifiedBy() MicrosoftCommonPrincipalResponseOutput {
- return o.ApplyT(func(v PolicyAssignmentPropertiesPolicyResponse) MicrosoftCommonPrincipalResponse {
- return v.LastModifiedBy
- }).(MicrosoftCommonPrincipalResponseOutput)
+func (o PolicyAssignmentPropertiesPolicyResponseOutput) LastModifiedBy() PrincipalResponseOutput {
+ return o.ApplyT(func(v PolicyAssignmentPropertiesPolicyResponse) PrincipalResponse { return v.LastModifiedBy }).(PrincipalResponseOutput)
}
// The last modified date time.
@@ -4711,13 +4598,13 @@ func (o PolicyAssignmentPropertiesPolicyResponsePtrOutput) Id() pulumi.StringPtr
}
// The name of the entity last modified it
-func (o PolicyAssignmentPropertiesPolicyResponsePtrOutput) LastModifiedBy() MicrosoftCommonPrincipalResponsePtrOutput {
- return o.ApplyT(func(v *PolicyAssignmentPropertiesPolicyResponse) *MicrosoftCommonPrincipalResponse {
+func (o PolicyAssignmentPropertiesPolicyResponsePtrOutput) LastModifiedBy() PrincipalResponsePtrOutput {
+ return o.ApplyT(func(v *PolicyAssignmentPropertiesPolicyResponse) *PrincipalResponse {
if v == nil {
return nil
}
return &v.LastModifiedBy
- }).(MicrosoftCommonPrincipalResponsePtrOutput)
+ }).(PrincipalResponsePtrOutput)
}
// The last modified date time.
@@ -6035,6 +5922,117 @@ func (o PolicyVariableValueColumnValueResponseArrayOutput) Index(i pulumi.IntInp
}).(PolicyVariableValueColumnValueResponseOutput)
}
+// The name of the entity last modified it
+type PrincipalResponse struct {
+ // The name of the principal made changes
+ DisplayName *string `pulumi:"displayName"`
+ // Email of principal
+ Email *string `pulumi:"email"`
+ // The id of the principal made changes
+ Id *string `pulumi:"id"`
+ // Type of principal such as user , group etc
+ Type *string `pulumi:"type"`
+}
+
+// The name of the entity last modified it
+type PrincipalResponseOutput struct{ *pulumi.OutputState }
+
+func (PrincipalResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrincipalResponse)(nil)).Elem()
+}
+
+func (o PrincipalResponseOutput) ToPrincipalResponseOutput() PrincipalResponseOutput {
+ return o
+}
+
+func (o PrincipalResponseOutput) ToPrincipalResponseOutputWithContext(ctx context.Context) PrincipalResponseOutput {
+ return o
+}
+
+// The name of the principal made changes
+func (o PrincipalResponseOutput) DisplayName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrincipalResponse) *string { return v.DisplayName }).(pulumi.StringPtrOutput)
+}
+
+// Email of principal
+func (o PrincipalResponseOutput) Email() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrincipalResponse) *string { return v.Email }).(pulumi.StringPtrOutput)
+}
+
+// The id of the principal made changes
+func (o PrincipalResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrincipalResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
+
+// Type of principal such as user , group etc
+func (o PrincipalResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrincipalResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+}
+
+type PrincipalResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (PrincipalResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrincipalResponse)(nil)).Elem()
+}
+
+func (o PrincipalResponsePtrOutput) ToPrincipalResponsePtrOutput() PrincipalResponsePtrOutput {
+ return o
+}
+
+func (o PrincipalResponsePtrOutput) ToPrincipalResponsePtrOutputWithContext(ctx context.Context) PrincipalResponsePtrOutput {
+ return o
+}
+
+func (o PrincipalResponsePtrOutput) Elem() PrincipalResponseOutput {
+ return o.ApplyT(func(v *PrincipalResponse) PrincipalResponse {
+ if v != nil {
+ return *v
+ }
+ var ret PrincipalResponse
+ return ret
+ }).(PrincipalResponseOutput)
+}
+
+// The name of the principal made changes
+func (o PrincipalResponsePtrOutput) DisplayName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrincipalResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DisplayName
+ }).(pulumi.StringPtrOutput)
+}
+
+// Email of principal
+func (o PrincipalResponsePtrOutput) Email() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrincipalResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Email
+ }).(pulumi.StringPtrOutput)
+}
+
+// The id of the principal made changes
+func (o PrincipalResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrincipalResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
+}
+
+// Type of principal such as user , group etc
+func (o PrincipalResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrincipalResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Type
+ }).(pulumi.StringPtrOutput)
+}
+
type PrivateLinkAssociationProperties struct {
// The rmpl Resource ID.
PrivateLink *string `pulumi:"privateLink"`
@@ -9341,8 +9339,6 @@ func init() {
pulumi.RegisterOutputType(ManagementLockOwnerArrayOutput{})
pulumi.RegisterOutputType(ManagementLockOwnerResponseOutput{})
pulumi.RegisterOutputType(ManagementLockOwnerResponseArrayOutput{})
- pulumi.RegisterOutputType(MicrosoftCommonPrincipalResponseOutput{})
- pulumi.RegisterOutputType(MicrosoftCommonPrincipalResponsePtrOutput{})
pulumi.RegisterOutputType(NonComplianceMessageOutput{})
pulumi.RegisterOutputType(NonComplianceMessageArrayOutput{})
pulumi.RegisterOutputType(NonComplianceMessageResponseOutput{})
@@ -9400,6 +9396,8 @@ func init() {
pulumi.RegisterOutputType(PolicyVariableValueColumnValueArrayOutput{})
pulumi.RegisterOutputType(PolicyVariableValueColumnValueResponseOutput{})
pulumi.RegisterOutputType(PolicyVariableValueColumnValueResponseArrayOutput{})
+ pulumi.RegisterOutputType(PrincipalResponseOutput{})
+ pulumi.RegisterOutputType(PrincipalResponsePtrOutput{})
pulumi.RegisterOutputType(PrivateLinkAssociationPropertiesOutput{})
pulumi.RegisterOutputType(PrivateLinkAssociationPropertiesPtrOutput{})
pulumi.RegisterOutputType(PrivateLinkAssociationPropertiesExpandedResponseOutput{})
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v3/roleManagementPolicy.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v3/roleManagementPolicy.go
index 841380871..d93eb0c49 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v3/roleManagementPolicy.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v3/roleManagementPolicy.go
@@ -31,7 +31,7 @@ type RoleManagementPolicy struct {
// The role management policy is default policy.
IsOrganizationDefault pulumi.BoolPtrOutput `pulumi:"isOrganizationDefault"`
// The name of the entity last modified it
- LastModifiedBy MicrosoftCommonPrincipalResponseOutput `pulumi:"lastModifiedBy"`
+ LastModifiedBy PrincipalResponseOutput `pulumi:"lastModifiedBy"`
// The last modified date time.
LastModifiedDateTime pulumi.StringOutput `pulumi:"lastModifiedDateTime"`
// The name of the resource
@@ -199,8 +199,8 @@ func (o RoleManagementPolicyOutput) IsOrganizationDefault() pulumi.BoolPtrOutput
}
// The name of the entity last modified it
-func (o RoleManagementPolicyOutput) LastModifiedBy() MicrosoftCommonPrincipalResponseOutput {
- return o.ApplyT(func(v *RoleManagementPolicy) MicrosoftCommonPrincipalResponseOutput { return v.LastModifiedBy }).(MicrosoftCommonPrincipalResponseOutput)
+func (o RoleManagementPolicyOutput) LastModifiedBy() PrincipalResponseOutput {
+ return o.ApplyT(func(v *RoleManagementPolicy) PrincipalResponseOutput { return v.LastModifiedBy }).(PrincipalResponseOutput)
}
// The last modified date time.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v3/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v3/pulumi-plugin.json
index 690917d0f..a94227cae 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v3/pulumi-plugin.json
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v3/pulumi-plugin.json
@@ -1,5 +1,5 @@
{
"resource": true,
"name": "azure-native",
- "version": "3.20.0"
+ "version": "3.24.0"
}
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v3/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v3/pulumiTypes.go
index 55d8fc021..38d0166c6 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v3/pulumiTypes.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v3/pulumiTypes.go
@@ -4254,57 +4254,6 @@ func (o CapacityReservationUtilizationResponsePtrOutput) VirtualMachinesAllocate
}).(SubResourceReadOnlyResponseArrayOutput)
}
-type CommonUserAssignedIdentitiesValueResponse struct {
- // The client id of user assigned identity.
- ClientId string `pulumi:"clientId"`
- // The principal id of user assigned identity.
- PrincipalId string `pulumi:"principalId"`
-}
-
-type CommonUserAssignedIdentitiesValueResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonUserAssignedIdentitiesValueResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonUserAssignedIdentitiesValueResponse)(nil)).Elem()
-}
-
-func (o CommonUserAssignedIdentitiesValueResponseOutput) ToCommonUserAssignedIdentitiesValueResponseOutput() CommonUserAssignedIdentitiesValueResponseOutput {
- return o
-}
-
-func (o CommonUserAssignedIdentitiesValueResponseOutput) ToCommonUserAssignedIdentitiesValueResponseOutputWithContext(ctx context.Context) CommonUserAssignedIdentitiesValueResponseOutput {
- return o
-}
-
-// The client id of user assigned identity.
-func (o CommonUserAssignedIdentitiesValueResponseOutput) ClientId() pulumi.StringOutput {
- return o.ApplyT(func(v CommonUserAssignedIdentitiesValueResponse) string { return v.ClientId }).(pulumi.StringOutput)
-}
-
-// The principal id of user assigned identity.
-func (o CommonUserAssignedIdentitiesValueResponseOutput) PrincipalId() pulumi.StringOutput {
- return o.ApplyT(func(v CommonUserAssignedIdentitiesValueResponse) string { return v.PrincipalId }).(pulumi.StringOutput)
-}
-
-type CommonUserAssignedIdentitiesValueResponseMapOutput struct{ *pulumi.OutputState }
-
-func (CommonUserAssignedIdentitiesValueResponseMapOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*map[string]CommonUserAssignedIdentitiesValueResponse)(nil)).Elem()
-}
-
-func (o CommonUserAssignedIdentitiesValueResponseMapOutput) ToCommonUserAssignedIdentitiesValueResponseMapOutput() CommonUserAssignedIdentitiesValueResponseMapOutput {
- return o
-}
-
-func (o CommonUserAssignedIdentitiesValueResponseMapOutput) ToCommonUserAssignedIdentitiesValueResponseMapOutputWithContext(ctx context.Context) CommonUserAssignedIdentitiesValueResponseMapOutput {
- return o
-}
-
-func (o CommonUserAssignedIdentitiesValueResponseMapOutput) MapIndex(k pulumi.StringInput) CommonUserAssignedIdentitiesValueResponseOutput {
- return pulumi.All(o, k).ApplyT(func(vs []interface{}) CommonUserAssignedIdentitiesValueResponse {
- return vs[0].(map[string]CommonUserAssignedIdentitiesValueResponse)[vs[1].(string)]
- }).(CommonUserAssignedIdentitiesValueResponseOutput)
-}
-
// Information of community gallery if current gallery is shared to community
type CommunityGalleryInfo struct {
// End-user license agreement for community gallery image.
@@ -9324,7 +9273,7 @@ type EncryptionSetIdentityResponse struct {
// The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys.
Type *string `pulumi:"type"`
// The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- UserAssignedIdentities map[string]CommonUserAssignedIdentitiesValueResponse `pulumi:"userAssignedIdentities"`
+ UserAssignedIdentities map[string]UserAssignedIdentitiesValueResponse `pulumi:"userAssignedIdentities"`
}
// The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.
@@ -9358,10 +9307,10 @@ func (o EncryptionSetIdentityResponseOutput) Type() pulumi.StringPtrOutput {
}
// The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
-func (o EncryptionSetIdentityResponseOutput) UserAssignedIdentities() CommonUserAssignedIdentitiesValueResponseMapOutput {
- return o.ApplyT(func(v EncryptionSetIdentityResponse) map[string]CommonUserAssignedIdentitiesValueResponse {
+func (o EncryptionSetIdentityResponseOutput) UserAssignedIdentities() UserAssignedIdentitiesValueResponseMapOutput {
+ return o.ApplyT(func(v EncryptionSetIdentityResponse) map[string]UserAssignedIdentitiesValueResponse {
return v.UserAssignedIdentities
- }).(CommonUserAssignedIdentitiesValueResponseMapOutput)
+ }).(UserAssignedIdentitiesValueResponseMapOutput)
}
type EncryptionSetIdentityResponsePtrOutput struct{ *pulumi.OutputState }
@@ -9419,13 +9368,13 @@ func (o EncryptionSetIdentityResponsePtrOutput) Type() pulumi.StringPtrOutput {
}
// The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
-func (o EncryptionSetIdentityResponsePtrOutput) UserAssignedIdentities() CommonUserAssignedIdentitiesValueResponseMapOutput {
- return o.ApplyT(func(v *EncryptionSetIdentityResponse) map[string]CommonUserAssignedIdentitiesValueResponse {
+func (o EncryptionSetIdentityResponsePtrOutput) UserAssignedIdentities() UserAssignedIdentitiesValueResponseMapOutput {
+ return o.ApplyT(func(v *EncryptionSetIdentityResponse) map[string]UserAssignedIdentitiesValueResponse {
if v == nil {
return nil
}
return v.UserAssignedIdentities
- }).(CommonUserAssignedIdentitiesValueResponseMapOutput)
+ }).(UserAssignedIdentitiesValueResponseMapOutput)
}
// Encryption settings for disk or snapshot
@@ -12456,7 +12405,7 @@ type GalleryIdentityResponse struct {
// The type of identity used for the gallery. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove all identities from the gallery.
Type *string `pulumi:"type"`
// The list of user identities associated with the gallery. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- UserAssignedIdentities map[string]CommonUserAssignedIdentitiesValueResponse `pulumi:"userAssignedIdentities"`
+ UserAssignedIdentities map[string]UserAssignedIdentitiesValueResponse `pulumi:"userAssignedIdentities"`
}
// Identity for the virtual machine.
@@ -12490,10 +12439,10 @@ func (o GalleryIdentityResponseOutput) Type() pulumi.StringPtrOutput {
}
// The list of user identities associated with the gallery. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
-func (o GalleryIdentityResponseOutput) UserAssignedIdentities() CommonUserAssignedIdentitiesValueResponseMapOutput {
- return o.ApplyT(func(v GalleryIdentityResponse) map[string]CommonUserAssignedIdentitiesValueResponse {
+func (o GalleryIdentityResponseOutput) UserAssignedIdentities() UserAssignedIdentitiesValueResponseMapOutput {
+ return o.ApplyT(func(v GalleryIdentityResponse) map[string]UserAssignedIdentitiesValueResponse {
return v.UserAssignedIdentities
- }).(CommonUserAssignedIdentitiesValueResponseMapOutput)
+ }).(UserAssignedIdentitiesValueResponseMapOutput)
}
type GalleryIdentityResponsePtrOutput struct{ *pulumi.OutputState }
@@ -12551,13 +12500,13 @@ func (o GalleryIdentityResponsePtrOutput) Type() pulumi.StringPtrOutput {
}
// The list of user identities associated with the gallery. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
-func (o GalleryIdentityResponsePtrOutput) UserAssignedIdentities() CommonUserAssignedIdentitiesValueResponseMapOutput {
- return o.ApplyT(func(v *GalleryIdentityResponse) map[string]CommonUserAssignedIdentitiesValueResponse {
+func (o GalleryIdentityResponsePtrOutput) UserAssignedIdentities() UserAssignedIdentitiesValueResponseMapOutput {
+ return o.ApplyT(func(v *GalleryIdentityResponse) map[string]UserAssignedIdentitiesValueResponse {
if v == nil {
return nil
}
return v.UserAssignedIdentities
- }).(CommonUserAssignedIdentitiesValueResponseMapOutput)
+ }).(UserAssignedIdentitiesValueResponseMapOutput)
}
// A feature for gallery image.
@@ -38067,6 +38016,57 @@ func (o UserArtifactSourceResponseOutput) MediaLink() pulumi.StringOutput {
return o.ApplyT(func(v UserArtifactSourceResponse) string { return v.MediaLink }).(pulumi.StringOutput)
}
+type UserAssignedIdentitiesValueResponse struct {
+ // The client id of user assigned identity.
+ ClientId string `pulumi:"clientId"`
+ // The principal id of user assigned identity.
+ PrincipalId string `pulumi:"principalId"`
+}
+
+type UserAssignedIdentitiesValueResponseOutput struct{ *pulumi.OutputState }
+
+func (UserAssignedIdentitiesValueResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*UserAssignedIdentitiesValueResponse)(nil)).Elem()
+}
+
+func (o UserAssignedIdentitiesValueResponseOutput) ToUserAssignedIdentitiesValueResponseOutput() UserAssignedIdentitiesValueResponseOutput {
+ return o
+}
+
+func (o UserAssignedIdentitiesValueResponseOutput) ToUserAssignedIdentitiesValueResponseOutputWithContext(ctx context.Context) UserAssignedIdentitiesValueResponseOutput {
+ return o
+}
+
+// The client id of user assigned identity.
+func (o UserAssignedIdentitiesValueResponseOutput) ClientId() pulumi.StringOutput {
+ return o.ApplyT(func(v UserAssignedIdentitiesValueResponse) string { return v.ClientId }).(pulumi.StringOutput)
+}
+
+// The principal id of user assigned identity.
+func (o UserAssignedIdentitiesValueResponseOutput) PrincipalId() pulumi.StringOutput {
+ return o.ApplyT(func(v UserAssignedIdentitiesValueResponse) string { return v.PrincipalId }).(pulumi.StringOutput)
+}
+
+type UserAssignedIdentitiesValueResponseMapOutput struct{ *pulumi.OutputState }
+
+func (UserAssignedIdentitiesValueResponseMapOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*map[string]UserAssignedIdentitiesValueResponse)(nil)).Elem()
+}
+
+func (o UserAssignedIdentitiesValueResponseMapOutput) ToUserAssignedIdentitiesValueResponseMapOutput() UserAssignedIdentitiesValueResponseMapOutput {
+ return o
+}
+
+func (o UserAssignedIdentitiesValueResponseMapOutput) ToUserAssignedIdentitiesValueResponseMapOutputWithContext(ctx context.Context) UserAssignedIdentitiesValueResponseMapOutput {
+ return o
+}
+
+func (o UserAssignedIdentitiesValueResponseMapOutput) MapIndex(k pulumi.StringInput) UserAssignedIdentitiesValueResponseOutput {
+ return pulumi.All(o, k).ApplyT(func(vs []interface{}) UserAssignedIdentitiesValueResponse {
+ return vs[0].(map[string]UserAssignedIdentitiesValueResponse)[vs[1].(string)]
+ }).(UserAssignedIdentitiesValueResponseOutput)
+}
+
// Specifies Reboot related Scheduled Event related configurations.
type UserInitiatedReboot struct {
// Specifies Reboot Scheduled Event related configurations.
@@ -40612,7 +40612,7 @@ type VirtualMachineIdentityResponse struct {
// The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
Type *string `pulumi:"type"`
// The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- UserAssignedIdentities map[string]CommonUserAssignedIdentitiesValueResponse `pulumi:"userAssignedIdentities"`
+ UserAssignedIdentities map[string]UserAssignedIdentitiesValueResponse `pulumi:"userAssignedIdentities"`
}
// Identity for the virtual machine.
@@ -40646,10 +40646,10 @@ func (o VirtualMachineIdentityResponseOutput) Type() pulumi.StringPtrOutput {
}
// The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
-func (o VirtualMachineIdentityResponseOutput) UserAssignedIdentities() CommonUserAssignedIdentitiesValueResponseMapOutput {
- return o.ApplyT(func(v VirtualMachineIdentityResponse) map[string]CommonUserAssignedIdentitiesValueResponse {
+func (o VirtualMachineIdentityResponseOutput) UserAssignedIdentities() UserAssignedIdentitiesValueResponseMapOutput {
+ return o.ApplyT(func(v VirtualMachineIdentityResponse) map[string]UserAssignedIdentitiesValueResponse {
return v.UserAssignedIdentities
- }).(CommonUserAssignedIdentitiesValueResponseMapOutput)
+ }).(UserAssignedIdentitiesValueResponseMapOutput)
}
type VirtualMachineIdentityResponsePtrOutput struct{ *pulumi.OutputState }
@@ -40707,13 +40707,13 @@ func (o VirtualMachineIdentityResponsePtrOutput) Type() pulumi.StringPtrOutput {
}
// The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
-func (o VirtualMachineIdentityResponsePtrOutput) UserAssignedIdentities() CommonUserAssignedIdentitiesValueResponseMapOutput {
- return o.ApplyT(func(v *VirtualMachineIdentityResponse) map[string]CommonUserAssignedIdentitiesValueResponse {
+func (o VirtualMachineIdentityResponsePtrOutput) UserAssignedIdentities() UserAssignedIdentitiesValueResponseMapOutput {
+ return o.ApplyT(func(v *VirtualMachineIdentityResponse) map[string]UserAssignedIdentitiesValueResponse {
if v == nil {
return nil
}
return v.UserAssignedIdentities
- }).(CommonUserAssignedIdentitiesValueResponseMapOutput)
+ }).(UserAssignedIdentitiesValueResponseMapOutput)
}
// The instance view of a virtual machine.
@@ -44596,7 +44596,7 @@ type VirtualMachineScaleSetIdentityResponse struct {
// The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.
Type *string `pulumi:"type"`
// The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- UserAssignedIdentities map[string]CommonUserAssignedIdentitiesValueResponse `pulumi:"userAssignedIdentities"`
+ UserAssignedIdentities map[string]UserAssignedIdentitiesValueResponse `pulumi:"userAssignedIdentities"`
}
// Identity for the virtual machine scale set.
@@ -44630,10 +44630,10 @@ func (o VirtualMachineScaleSetIdentityResponseOutput) Type() pulumi.StringPtrOut
}
// The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
-func (o VirtualMachineScaleSetIdentityResponseOutput) UserAssignedIdentities() CommonUserAssignedIdentitiesValueResponseMapOutput {
- return o.ApplyT(func(v VirtualMachineScaleSetIdentityResponse) map[string]CommonUserAssignedIdentitiesValueResponse {
+func (o VirtualMachineScaleSetIdentityResponseOutput) UserAssignedIdentities() UserAssignedIdentitiesValueResponseMapOutput {
+ return o.ApplyT(func(v VirtualMachineScaleSetIdentityResponse) map[string]UserAssignedIdentitiesValueResponse {
return v.UserAssignedIdentities
- }).(CommonUserAssignedIdentitiesValueResponseMapOutput)
+ }).(UserAssignedIdentitiesValueResponseMapOutput)
}
type VirtualMachineScaleSetIdentityResponsePtrOutput struct{ *pulumi.OutputState }
@@ -44691,13 +44691,13 @@ func (o VirtualMachineScaleSetIdentityResponsePtrOutput) Type() pulumi.StringPtr
}
// The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
-func (o VirtualMachineScaleSetIdentityResponsePtrOutput) UserAssignedIdentities() CommonUserAssignedIdentitiesValueResponseMapOutput {
- return o.ApplyT(func(v *VirtualMachineScaleSetIdentityResponse) map[string]CommonUserAssignedIdentitiesValueResponse {
+func (o VirtualMachineScaleSetIdentityResponsePtrOutput) UserAssignedIdentities() UserAssignedIdentitiesValueResponseMapOutput {
+ return o.ApplyT(func(v *VirtualMachineScaleSetIdentityResponse) map[string]UserAssignedIdentitiesValueResponse {
if v == nil {
return nil
}
return v.UserAssignedIdentities
- }).(CommonUserAssignedIdentitiesValueResponseMapOutput)
+ }).(UserAssignedIdentitiesValueResponseMapOutput)
}
// Contains the IP tag associated with the public IP address.
@@ -50543,8 +50543,6 @@ func init() {
pulumi.RegisterOutputType(CapacityReservationProfileResponsePtrOutput{})
pulumi.RegisterOutputType(CapacityReservationUtilizationResponseOutput{})
pulumi.RegisterOutputType(CapacityReservationUtilizationResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonUserAssignedIdentitiesValueResponseOutput{})
- pulumi.RegisterOutputType(CommonUserAssignedIdentitiesValueResponseMapOutput{})
pulumi.RegisterOutputType(CommunityGalleryInfoOutput{})
pulumi.RegisterOutputType(CommunityGalleryInfoPtrOutput{})
pulumi.RegisterOutputType(CommunityGalleryInfoResponseOutput{})
@@ -51088,6 +51086,8 @@ func init() {
pulumi.RegisterOutputType(UserArtifactSettingsResponsePtrOutput{})
pulumi.RegisterOutputType(UserArtifactSourceOutput{})
pulumi.RegisterOutputType(UserArtifactSourceResponseOutput{})
+ pulumi.RegisterOutputType(UserAssignedIdentitiesValueResponseOutput{})
+ pulumi.RegisterOutputType(UserAssignedIdentitiesValueResponseMapOutput{})
pulumi.RegisterOutputType(UserInitiatedRebootOutput{})
pulumi.RegisterOutputType(UserInitiatedRebootPtrOutput{})
pulumi.RegisterOutputType(UserInitiatedRebootResponseOutput{})
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/getLoadBalancer.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/getLoadBalancer.go
index 2ba21fefb..704759e8d 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/getLoadBalancer.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/getLoadBalancer.go
@@ -46,15 +46,15 @@ type LookupLoadBalancerResult struct {
// The name of the resource
Name string `pulumi:"name"`
// Nodes that match this selector will be possible members of this load balancer.
- NodeSelector *LabelSelectorResponse `pulumi:"nodeSelector"`
+ NodeSelector *LabelSelectorLoadBalancerResponse `pulumi:"nodeSelector"`
// Required field. A string value that must specify the ID of an existing agent pool. All nodes in the given pool will always be added to this load balancer. This agent pool must have at least one node and minCount>=1 for autoscaling operations. An agent pool can only be the primary pool for a single load balancer.
PrimaryAgentPoolName string `pulumi:"primaryAgentPoolName"`
// The current provisioning state.
ProvisioningState string `pulumi:"provisioningState"`
// Only services that must match this selector can be placed on this load balancer.
- ServiceLabelSelector *LabelSelectorResponse `pulumi:"serviceLabelSelector"`
+ ServiceLabelSelector *LabelSelectorLoadBalancerResponse `pulumi:"serviceLabelSelector"`
// Services created in namespaces that match the selector can be placed on this load balancer.
- ServiceNamespaceSelector *LabelSelectorResponse `pulumi:"serviceNamespaceSelector"`
+ ServiceNamespaceSelector *LabelSelectorLoadBalancerResponse `pulumi:"serviceNamespaceSelector"`
// Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData SystemDataResponse `pulumi:"systemData"`
// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
@@ -119,8 +119,8 @@ func (o LookupLoadBalancerResultOutput) Name() pulumi.StringOutput {
}
// Nodes that match this selector will be possible members of this load balancer.
-func (o LookupLoadBalancerResultOutput) NodeSelector() LabelSelectorResponsePtrOutput {
- return o.ApplyT(func(v LookupLoadBalancerResult) *LabelSelectorResponse { return v.NodeSelector }).(LabelSelectorResponsePtrOutput)
+func (o LookupLoadBalancerResultOutput) NodeSelector() LabelSelectorLoadBalancerResponsePtrOutput {
+ return o.ApplyT(func(v LookupLoadBalancerResult) *LabelSelectorLoadBalancerResponse { return v.NodeSelector }).(LabelSelectorLoadBalancerResponsePtrOutput)
}
// Required field. A string value that must specify the ID of an existing agent pool. All nodes in the given pool will always be added to this load balancer. This agent pool must have at least one node and minCount>=1 for autoscaling operations. An agent pool can only be the primary pool for a single load balancer.
@@ -134,13 +134,13 @@ func (o LookupLoadBalancerResultOutput) ProvisioningState() pulumi.StringOutput
}
// Only services that must match this selector can be placed on this load balancer.
-func (o LookupLoadBalancerResultOutput) ServiceLabelSelector() LabelSelectorResponsePtrOutput {
- return o.ApplyT(func(v LookupLoadBalancerResult) *LabelSelectorResponse { return v.ServiceLabelSelector }).(LabelSelectorResponsePtrOutput)
+func (o LookupLoadBalancerResultOutput) ServiceLabelSelector() LabelSelectorLoadBalancerResponsePtrOutput {
+ return o.ApplyT(func(v LookupLoadBalancerResult) *LabelSelectorLoadBalancerResponse { return v.ServiceLabelSelector }).(LabelSelectorLoadBalancerResponsePtrOutput)
}
// Services created in namespaces that match the selector can be placed on this load balancer.
-func (o LookupLoadBalancerResultOutput) ServiceNamespaceSelector() LabelSelectorResponsePtrOutput {
- return o.ApplyT(func(v LookupLoadBalancerResult) *LabelSelectorResponse { return v.ServiceNamespaceSelector }).(LabelSelectorResponsePtrOutput)
+func (o LookupLoadBalancerResultOutput) ServiceNamespaceSelector() LabelSelectorLoadBalancerResponsePtrOutput {
+ return o.ApplyT(func(v LookupLoadBalancerResult) *LabelSelectorLoadBalancerResponse { return v.ServiceNamespaceSelector }).(LabelSelectorLoadBalancerResponsePtrOutput)
}
// Azure Resource Manager metadata containing createdBy and modifiedBy information.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/getManagedCluster.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/getManagedCluster.go
index c67df7827..6568e78c4 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/getManagedCluster.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/getManagedCluster.go
@@ -82,7 +82,7 @@ type LookupManagedClusterResult struct {
// The identity of the managed cluster, if configured.
Identity *ManagedClusterIdentityResponse `pulumi:"identity"`
// The user identity associated with the managed cluster. This identity will be used by the kubelet. Only one user assigned identity is allowed. The only accepted key is "kubeletidentity", with value of "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}".
- IdentityProfile map[string]UserAssignedIdentityResponse `pulumi:"identityProfile"`
+ IdentityProfile map[string]UserAssignedIdentityManagedClusterResponse `pulumi:"identityProfile"`
// Ingress profile for the managed cluster.
IngressProfile *ManagedClusterIngressProfileResponse `pulumi:"ingressProfile"`
// This is primarily used to expose different UI experiences in the portal for different kinds
@@ -334,8 +334,10 @@ func (o LookupManagedClusterResultOutput) Identity() ManagedClusterIdentityRespo
}
// The user identity associated with the managed cluster. This identity will be used by the kubelet. Only one user assigned identity is allowed. The only accepted key is "kubeletidentity", with value of "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}".
-func (o LookupManagedClusterResultOutput) IdentityProfile() UserAssignedIdentityResponseMapOutput {
- return o.ApplyT(func(v LookupManagedClusterResult) map[string]UserAssignedIdentityResponse { return v.IdentityProfile }).(UserAssignedIdentityResponseMapOutput)
+func (o LookupManagedClusterResultOutput) IdentityProfile() UserAssignedIdentityManagedClusterResponseMapOutput {
+ return o.ApplyT(func(v LookupManagedClusterResult) map[string]UserAssignedIdentityManagedClusterResponse {
+ return v.IdentityProfile
+ }).(UserAssignedIdentityManagedClusterResponseMapOutput)
}
// Ingress profile for the managed cluster.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/getNamespace.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/getNamespace.go
index 5e5db6fe5..38ec21498 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/getNamespace.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/getNamespace.go
@@ -46,7 +46,7 @@ type LookupNamespaceResult struct {
// The name of the resource that is unique within a resource group. This name can be used to access the resource.
Name string `pulumi:"name"`
// Properties of a namespace.
- Properties NamespacePropertiesResponse `pulumi:"properties"`
+ Properties NamespacePropertiesNamespaceResponse `pulumi:"properties"`
// The system metadata relating to this resource.
SystemData SystemDataResponse `pulumi:"systemData"`
// The tags to be persisted on the managed cluster namespace.
@@ -128,8 +128,8 @@ func (o LookupNamespaceResultOutput) Name() pulumi.StringOutput {
}
// Properties of a namespace.
-func (o LookupNamespaceResultOutput) Properties() NamespacePropertiesResponseOutput {
- return o.ApplyT(func(v LookupNamespaceResult) NamespacePropertiesResponse { return v.Properties }).(NamespacePropertiesResponseOutput)
+func (o LookupNamespaceResultOutput) Properties() NamespacePropertiesNamespaceResponseOutput {
+ return o.ApplyT(func(v LookupNamespaceResult) NamespacePropertiesNamespaceResponse { return v.Properties }).(NamespacePropertiesNamespaceResponseOutput)
}
// The system metadata relating to this resource.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/loadBalancer.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/loadBalancer.go
index 1b8fe2137..ee3b548dd 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/loadBalancer.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/loadBalancer.go
@@ -27,15 +27,15 @@ type LoadBalancer struct {
// The name of the resource
Name pulumi.StringOutput `pulumi:"name"`
// Nodes that match this selector will be possible members of this load balancer.
- NodeSelector LabelSelectorResponsePtrOutput `pulumi:"nodeSelector"`
+ NodeSelector LabelSelectorLoadBalancerResponsePtrOutput `pulumi:"nodeSelector"`
// Required field. A string value that must specify the ID of an existing agent pool. All nodes in the given pool will always be added to this load balancer. This agent pool must have at least one node and minCount>=1 for autoscaling operations. An agent pool can only be the primary pool for a single load balancer.
PrimaryAgentPoolName pulumi.StringOutput `pulumi:"primaryAgentPoolName"`
// The current provisioning state.
ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"`
// Only services that must match this selector can be placed on this load balancer.
- ServiceLabelSelector LabelSelectorResponsePtrOutput `pulumi:"serviceLabelSelector"`
+ ServiceLabelSelector LabelSelectorLoadBalancerResponsePtrOutput `pulumi:"serviceLabelSelector"`
// Services created in namespaces that match the selector can be placed on this load balancer.
- ServiceNamespaceSelector LabelSelectorResponsePtrOutput `pulumi:"serviceNamespaceSelector"`
+ ServiceNamespaceSelector LabelSelectorLoadBalancerResponsePtrOutput `pulumi:"serviceNamespaceSelector"`
// Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData SystemDataResponseOutput `pulumi:"systemData"`
// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
@@ -255,8 +255,8 @@ func (o LoadBalancerOutput) Name() pulumi.StringOutput {
}
// Nodes that match this selector will be possible members of this load balancer.
-func (o LoadBalancerOutput) NodeSelector() LabelSelectorResponsePtrOutput {
- return o.ApplyT(func(v *LoadBalancer) LabelSelectorResponsePtrOutput { return v.NodeSelector }).(LabelSelectorResponsePtrOutput)
+func (o LoadBalancerOutput) NodeSelector() LabelSelectorLoadBalancerResponsePtrOutput {
+ return o.ApplyT(func(v *LoadBalancer) LabelSelectorLoadBalancerResponsePtrOutput { return v.NodeSelector }).(LabelSelectorLoadBalancerResponsePtrOutput)
}
// Required field. A string value that must specify the ID of an existing agent pool. All nodes in the given pool will always be added to this load balancer. This agent pool must have at least one node and minCount>=1 for autoscaling operations. An agent pool can only be the primary pool for a single load balancer.
@@ -270,13 +270,13 @@ func (o LoadBalancerOutput) ProvisioningState() pulumi.StringOutput {
}
// Only services that must match this selector can be placed on this load balancer.
-func (o LoadBalancerOutput) ServiceLabelSelector() LabelSelectorResponsePtrOutput {
- return o.ApplyT(func(v *LoadBalancer) LabelSelectorResponsePtrOutput { return v.ServiceLabelSelector }).(LabelSelectorResponsePtrOutput)
+func (o LoadBalancerOutput) ServiceLabelSelector() LabelSelectorLoadBalancerResponsePtrOutput {
+ return o.ApplyT(func(v *LoadBalancer) LabelSelectorLoadBalancerResponsePtrOutput { return v.ServiceLabelSelector }).(LabelSelectorLoadBalancerResponsePtrOutput)
}
// Services created in namespaces that match the selector can be placed on this load balancer.
-func (o LoadBalancerOutput) ServiceNamespaceSelector() LabelSelectorResponsePtrOutput {
- return o.ApplyT(func(v *LoadBalancer) LabelSelectorResponsePtrOutput { return v.ServiceNamespaceSelector }).(LabelSelectorResponsePtrOutput)
+func (o LoadBalancerOutput) ServiceNamespaceSelector() LabelSelectorLoadBalancerResponsePtrOutput {
+ return o.ApplyT(func(v *LoadBalancer) LabelSelectorLoadBalancerResponsePtrOutput { return v.ServiceNamespaceSelector }).(LabelSelectorLoadBalancerResponsePtrOutput)
}
// Azure Resource Manager metadata containing createdBy and modifiedBy information.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/managedCluster.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/managedCluster.go
index 4c09232b8..6f18c511d 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/managedCluster.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/managedCluster.go
@@ -67,7 +67,7 @@ type ManagedCluster struct {
// The identity of the managed cluster, if configured.
Identity ManagedClusterIdentityResponsePtrOutput `pulumi:"identity"`
// The user identity associated with the managed cluster. This identity will be used by the kubelet. Only one user assigned identity is allowed. The only accepted key is "kubeletidentity", with value of "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}".
- IdentityProfile UserAssignedIdentityResponseV1MapOutput `pulumi:"identityProfile"`
+ IdentityProfile UserAssignedIdentityManagedClusterResponseMapOutput `pulumi:"identityProfile"`
// Ingress profile for the managed cluster.
IngressProfile ManagedClusterIngressProfileResponsePtrOutput `pulumi:"ingressProfile"`
// This is primarily used to expose different UI experiences in the portal for different kinds
@@ -872,8 +872,8 @@ func (o ManagedClusterOutput) Identity() ManagedClusterIdentityResponsePtrOutput
}
// The user identity associated with the managed cluster. This identity will be used by the kubelet. Only one user assigned identity is allowed. The only accepted key is "kubeletidentity", with value of "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}".
-func (o ManagedClusterOutput) IdentityProfile() UserAssignedIdentityResponseV1MapOutput {
- return o.ApplyT(func(v *ManagedCluster) UserAssignedIdentityResponseV1MapOutput { return v.IdentityProfile }).(UserAssignedIdentityResponseV1MapOutput)
+func (o ManagedClusterOutput) IdentityProfile() UserAssignedIdentityManagedClusterResponseMapOutput {
+ return o.ApplyT(func(v *ManagedCluster) UserAssignedIdentityManagedClusterResponseMapOutput { return v.IdentityProfile }).(UserAssignedIdentityManagedClusterResponseMapOutput)
}
// Ingress profile for the managed cluster.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/namespace.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/namespace.go
index de939948b..94613a584 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/namespace.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/namespace.go
@@ -27,7 +27,7 @@ type Namespace struct {
// The name of the resource that is unique within a resource group. This name can be used to access the resource.
Name pulumi.StringOutput `pulumi:"name"`
// Properties of a namespace.
- Properties NamespacePropertiesResponseV1Output `pulumi:"properties"`
+ Properties NamespacePropertiesNamespaceResponseOutput `pulumi:"properties"`
// The system metadata relating to this resource.
SystemData SystemDataResponseOutput `pulumi:"systemData"`
// The tags to be persisted on the managed cluster namespace.
@@ -179,8 +179,8 @@ func (o NamespaceOutput) Name() pulumi.StringOutput {
}
// Properties of a namespace.
-func (o NamespaceOutput) Properties() NamespacePropertiesResponseV1Output {
- return o.ApplyT(func(v *Namespace) NamespacePropertiesResponseV1Output { return v.Properties }).(NamespacePropertiesResponseV1Output)
+func (o NamespaceOutput) Properties() NamespacePropertiesNamespaceResponseOutput {
+ return o.ApplyT(func(v *Namespace) NamespacePropertiesNamespaceResponseOutput { return v.Properties }).(NamespacePropertiesNamespaceResponseOutput)
}
// The system metadata relating to this resource.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/pulumi-plugin.json
index 690917d0f..a94227cae 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/pulumi-plugin.json
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/pulumi-plugin.json
@@ -1,5 +1,5 @@
{
"resource": true,
"name": "azure-native",
- "version": "3.20.0"
+ "version": "3.24.0"
}
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/pulumiTypes.go
index e5bb00c6b..272664760 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/pulumiTypes.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3/pulumiTypes.go
@@ -1229,6 +1229,66 @@ func (o AdvancedNetworkingSecurityResponsePtrOutput) Enabled() pulumi.BoolPtrOut
}).(pulumi.BoolPtrOutput)
}
+// Affinity is a group of cluster affinity scheduling rules. More to be added.
+type AffinityResponse struct {
+ // ClusterAffinity contains cluster affinity scheduling rules for the selected resources.
+ ClusterAffinity *ClusterAffinityResponse `pulumi:"clusterAffinity"`
+}
+
+// Affinity is a group of cluster affinity scheduling rules. More to be added.
+type AffinityResponseOutput struct{ *pulumi.OutputState }
+
+func (AffinityResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*AffinityResponse)(nil)).Elem()
+}
+
+func (o AffinityResponseOutput) ToAffinityResponseOutput() AffinityResponseOutput {
+ return o
+}
+
+func (o AffinityResponseOutput) ToAffinityResponseOutputWithContext(ctx context.Context) AffinityResponseOutput {
+ return o
+}
+
+// ClusterAffinity contains cluster affinity scheduling rules for the selected resources.
+func (o AffinityResponseOutput) ClusterAffinity() ClusterAffinityResponsePtrOutput {
+ return o.ApplyT(func(v AffinityResponse) *ClusterAffinityResponse { return v.ClusterAffinity }).(ClusterAffinityResponsePtrOutput)
+}
+
+type AffinityResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (AffinityResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**AffinityResponse)(nil)).Elem()
+}
+
+func (o AffinityResponsePtrOutput) ToAffinityResponsePtrOutput() AffinityResponsePtrOutput {
+ return o
+}
+
+func (o AffinityResponsePtrOutput) ToAffinityResponsePtrOutputWithContext(ctx context.Context) AffinityResponsePtrOutput {
+ return o
+}
+
+func (o AffinityResponsePtrOutput) Elem() AffinityResponseOutput {
+ return o.ApplyT(func(v *AffinityResponse) AffinityResponse {
+ if v != nil {
+ return *v
+ }
+ var ret AffinityResponse
+ return ret
+ }).(AffinityResponseOutput)
+}
+
+// ClusterAffinity contains cluster affinity scheduling rules for the selected resources.
+func (o AffinityResponsePtrOutput) ClusterAffinity() ClusterAffinityResponsePtrOutput {
+ return o.ApplyT(func(v *AffinityResponse) *ClusterAffinityResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ClusterAffinity
+ }).(ClusterAffinityResponsePtrOutput)
+}
+
// Profile of the managed cluster gateway agent pool.
type AgentPoolGatewayProfile struct {
// The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
@@ -3395,6 +3455,241 @@ func (o AzureKeyVaultKmsResponsePtrOutput) KeyVaultResourceId() pulumi.StringPtr
}).(pulumi.StringPtrOutput)
}
+// ClusterAffinity contains cluster affinity scheduling rules for the selected resources.
+type ClusterAffinityResponse struct {
+ // If the affinity requirements specified by this field are not met at scheduling time, the resource will not be scheduled onto the cluster. If the affinity requirements specified by this field cease to be met at some point after the placement (e.g. due to an update), the system may or may not try to eventually remove the resource from the cluster.
+ RequiredDuringSchedulingIgnoredDuringExecution *ClusterSelectorResponse `pulumi:"requiredDuringSchedulingIgnoredDuringExecution"`
+}
+
+// ClusterAffinity contains cluster affinity scheduling rules for the selected resources.
+type ClusterAffinityResponseOutput struct{ *pulumi.OutputState }
+
+func (ClusterAffinityResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ClusterAffinityResponse)(nil)).Elem()
+}
+
+func (o ClusterAffinityResponseOutput) ToClusterAffinityResponseOutput() ClusterAffinityResponseOutput {
+ return o
+}
+
+func (o ClusterAffinityResponseOutput) ToClusterAffinityResponseOutputWithContext(ctx context.Context) ClusterAffinityResponseOutput {
+ return o
+}
+
+// If the affinity requirements specified by this field are not met at scheduling time, the resource will not be scheduled onto the cluster. If the affinity requirements specified by this field cease to be met at some point after the placement (e.g. due to an update), the system may or may not try to eventually remove the resource from the cluster.
+func (o ClusterAffinityResponseOutput) RequiredDuringSchedulingIgnoredDuringExecution() ClusterSelectorResponsePtrOutput {
+ return o.ApplyT(func(v ClusterAffinityResponse) *ClusterSelectorResponse {
+ return v.RequiredDuringSchedulingIgnoredDuringExecution
+ }).(ClusterSelectorResponsePtrOutput)
+}
+
+type ClusterAffinityResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (ClusterAffinityResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ClusterAffinityResponse)(nil)).Elem()
+}
+
+func (o ClusterAffinityResponsePtrOutput) ToClusterAffinityResponsePtrOutput() ClusterAffinityResponsePtrOutput {
+ return o
+}
+
+func (o ClusterAffinityResponsePtrOutput) ToClusterAffinityResponsePtrOutputWithContext(ctx context.Context) ClusterAffinityResponsePtrOutput {
+ return o
+}
+
+func (o ClusterAffinityResponsePtrOutput) Elem() ClusterAffinityResponseOutput {
+ return o.ApplyT(func(v *ClusterAffinityResponse) ClusterAffinityResponse {
+ if v != nil {
+ return *v
+ }
+ var ret ClusterAffinityResponse
+ return ret
+ }).(ClusterAffinityResponseOutput)
+}
+
+// If the affinity requirements specified by this field are not met at scheduling time, the resource will not be scheduled onto the cluster. If the affinity requirements specified by this field cease to be met at some point after the placement (e.g. due to an update), the system may or may not try to eventually remove the resource from the cluster.
+func (o ClusterAffinityResponsePtrOutput) RequiredDuringSchedulingIgnoredDuringExecution() ClusterSelectorResponsePtrOutput {
+ return o.ApplyT(func(v *ClusterAffinityResponse) *ClusterSelectorResponse {
+ if v == nil {
+ return nil
+ }
+ return v.RequiredDuringSchedulingIgnoredDuringExecution
+ }).(ClusterSelectorResponsePtrOutput)
+}
+
+// ClusterResourcePlacementSpec defines the desired state of ClusterResourcePlacement.
+type ClusterResourcePlacementSpecResponse struct {
+ // Policy defines how to select member clusters to place the selected resources. If unspecified, all the joined member clusters are selected.
+ Policy *PlacementPolicyResponse `pulumi:"policy"`
+}
+
+// ClusterResourcePlacementSpec defines the desired state of ClusterResourcePlacement.
+type ClusterResourcePlacementSpecResponseOutput struct{ *pulumi.OutputState }
+
+func (ClusterResourcePlacementSpecResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ClusterResourcePlacementSpecResponse)(nil)).Elem()
+}
+
+func (o ClusterResourcePlacementSpecResponseOutput) ToClusterResourcePlacementSpecResponseOutput() ClusterResourcePlacementSpecResponseOutput {
+ return o
+}
+
+func (o ClusterResourcePlacementSpecResponseOutput) ToClusterResourcePlacementSpecResponseOutputWithContext(ctx context.Context) ClusterResourcePlacementSpecResponseOutput {
+ return o
+}
+
+// Policy defines how to select member clusters to place the selected resources. If unspecified, all the joined member clusters are selected.
+func (o ClusterResourcePlacementSpecResponseOutput) Policy() PlacementPolicyResponsePtrOutput {
+ return o.ApplyT(func(v ClusterResourcePlacementSpecResponse) *PlacementPolicyResponse { return v.Policy }).(PlacementPolicyResponsePtrOutput)
+}
+
+type ClusterResourcePlacementSpecResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (ClusterResourcePlacementSpecResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ClusterResourcePlacementSpecResponse)(nil)).Elem()
+}
+
+func (o ClusterResourcePlacementSpecResponsePtrOutput) ToClusterResourcePlacementSpecResponsePtrOutput() ClusterResourcePlacementSpecResponsePtrOutput {
+ return o
+}
+
+func (o ClusterResourcePlacementSpecResponsePtrOutput) ToClusterResourcePlacementSpecResponsePtrOutputWithContext(ctx context.Context) ClusterResourcePlacementSpecResponsePtrOutput {
+ return o
+}
+
+func (o ClusterResourcePlacementSpecResponsePtrOutput) Elem() ClusterResourcePlacementSpecResponseOutput {
+ return o.ApplyT(func(v *ClusterResourcePlacementSpecResponse) ClusterResourcePlacementSpecResponse {
+ if v != nil {
+ return *v
+ }
+ var ret ClusterResourcePlacementSpecResponse
+ return ret
+ }).(ClusterResourcePlacementSpecResponseOutput)
+}
+
+// Policy defines how to select member clusters to place the selected resources. If unspecified, all the joined member clusters are selected.
+func (o ClusterResourcePlacementSpecResponsePtrOutput) Policy() PlacementPolicyResponsePtrOutput {
+ return o.ApplyT(func(v *ClusterResourcePlacementSpecResponse) *PlacementPolicyResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Policy
+ }).(PlacementPolicyResponsePtrOutput)
+}
+
+// ClusterSelector
+type ClusterSelectorResponse struct {
+ // ClusterSelectorTerms is a list of cluster selector terms. The terms are `ORed`.
+ ClusterSelectorTerms []ClusterSelectorTermResponse `pulumi:"clusterSelectorTerms"`
+}
+
+// ClusterSelector
+type ClusterSelectorResponseOutput struct{ *pulumi.OutputState }
+
+func (ClusterSelectorResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ClusterSelectorResponse)(nil)).Elem()
+}
+
+func (o ClusterSelectorResponseOutput) ToClusterSelectorResponseOutput() ClusterSelectorResponseOutput {
+ return o
+}
+
+func (o ClusterSelectorResponseOutput) ToClusterSelectorResponseOutputWithContext(ctx context.Context) ClusterSelectorResponseOutput {
+ return o
+}
+
+// ClusterSelectorTerms is a list of cluster selector terms. The terms are `ORed`.
+func (o ClusterSelectorResponseOutput) ClusterSelectorTerms() ClusterSelectorTermResponseArrayOutput {
+ return o.ApplyT(func(v ClusterSelectorResponse) []ClusterSelectorTermResponse { return v.ClusterSelectorTerms }).(ClusterSelectorTermResponseArrayOutput)
+}
+
+type ClusterSelectorResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (ClusterSelectorResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ClusterSelectorResponse)(nil)).Elem()
+}
+
+func (o ClusterSelectorResponsePtrOutput) ToClusterSelectorResponsePtrOutput() ClusterSelectorResponsePtrOutput {
+ return o
+}
+
+func (o ClusterSelectorResponsePtrOutput) ToClusterSelectorResponsePtrOutputWithContext(ctx context.Context) ClusterSelectorResponsePtrOutput {
+ return o
+}
+
+func (o ClusterSelectorResponsePtrOutput) Elem() ClusterSelectorResponseOutput {
+ return o.ApplyT(func(v *ClusterSelectorResponse) ClusterSelectorResponse {
+ if v != nil {
+ return *v
+ }
+ var ret ClusterSelectorResponse
+ return ret
+ }).(ClusterSelectorResponseOutput)
+}
+
+// ClusterSelectorTerms is a list of cluster selector terms. The terms are `ORed`.
+func (o ClusterSelectorResponsePtrOutput) ClusterSelectorTerms() ClusterSelectorTermResponseArrayOutput {
+ return o.ApplyT(func(v *ClusterSelectorResponse) []ClusterSelectorTermResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ClusterSelectorTerms
+ }).(ClusterSelectorTermResponseArrayOutput)
+}
+
+// ClusterSelectorTerm
+type ClusterSelectorTermResponse struct {
+ // LabelSelector is a label query over all the joined member clusters. Clusters matching the query are selected. If you specify both label and property selectors in the same term, the results are AND'd.
+ LabelSelector *LabelSelectorResponse `pulumi:"labelSelector"`
+ // PropertySelector is a property query over all joined member clusters. Clusters matching the query are selected. If you specify both label and property selectors in the same term, the results are AND'd. At this moment, PropertySelector can only be used with `RequiredDuringSchedulingIgnoredDuringExecution` affinity terms. This field is beta-level; it is for the property-based scheduling feature and is only functional when a property provider is enabled in the deployment.
+ PropertySelector *PropertySelectorResponse `pulumi:"propertySelector"`
+}
+
+// ClusterSelectorTerm
+type ClusterSelectorTermResponseOutput struct{ *pulumi.OutputState }
+
+func (ClusterSelectorTermResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ClusterSelectorTermResponse)(nil)).Elem()
+}
+
+func (o ClusterSelectorTermResponseOutput) ToClusterSelectorTermResponseOutput() ClusterSelectorTermResponseOutput {
+ return o
+}
+
+func (o ClusterSelectorTermResponseOutput) ToClusterSelectorTermResponseOutputWithContext(ctx context.Context) ClusterSelectorTermResponseOutput {
+ return o
+}
+
+// LabelSelector is a label query over all the joined member clusters. Clusters matching the query are selected. If you specify both label and property selectors in the same term, the results are AND'd.
+func (o ClusterSelectorTermResponseOutput) LabelSelector() LabelSelectorResponsePtrOutput {
+ return o.ApplyT(func(v ClusterSelectorTermResponse) *LabelSelectorResponse { return v.LabelSelector }).(LabelSelectorResponsePtrOutput)
+}
+
+// PropertySelector is a property query over all joined member clusters. Clusters matching the query are selected. If you specify both label and property selectors in the same term, the results are AND'd. At this moment, PropertySelector can only be used with `RequiredDuringSchedulingIgnoredDuringExecution` affinity terms. This field is beta-level; it is for the property-based scheduling feature and is only functional when a property provider is enabled in the deployment.
+func (o ClusterSelectorTermResponseOutput) PropertySelector() PropertySelectorResponsePtrOutput {
+ return o.ApplyT(func(v ClusterSelectorTermResponse) *PropertySelectorResponse { return v.PropertySelector }).(PropertySelectorResponsePtrOutput)
+}
+
+type ClusterSelectorTermResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ClusterSelectorTermResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ClusterSelectorTermResponse)(nil)).Elem()
+}
+
+func (o ClusterSelectorTermResponseArrayOutput) ToClusterSelectorTermResponseArrayOutput() ClusterSelectorTermResponseArrayOutput {
+ return o
+}
+
+func (o ClusterSelectorTermResponseArrayOutput) ToClusterSelectorTermResponseArrayOutputWithContext(ctx context.Context) ClusterSelectorTermResponseArrayOutput {
+ return o
+}
+
+func (o ClusterSelectorTermResponseArrayOutput) Index(i pulumi.IntInput) ClusterSelectorTermResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterSelectorTermResponse {
+ return vs[0].([]ClusterSelectorTermResponse)[vs[1].(int)]
+ }).(ClusterSelectorTermResponseOutput)
+}
+
// Settings for upgrading a cluster.
type ClusterUpgradeSettings struct {
// Settings for overrides.
@@ -10756,6 +11051,85 @@ func (o LabelSelectorPtrOutput) MatchLabels() pulumi.StringArrayOutput {
}).(pulumi.StringArrayOutput)
}
+// A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
+type LabelSelectorLoadBalancerResponse struct {
+ // matchExpressions is a list of label selector requirements. The requirements are ANDed.
+ MatchExpressions []LabelSelectorRequirementLoadBalancerResponse `pulumi:"matchExpressions"`
+ // matchLabels is an array of {key=value} pairs. A single {key=value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is `key`, the operator is `In`, and the values array contains only `value`. The requirements are ANDed.
+ MatchLabels []string `pulumi:"matchLabels"`
+}
+
+// A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
+type LabelSelectorLoadBalancerResponseOutput struct{ *pulumi.OutputState }
+
+func (LabelSelectorLoadBalancerResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*LabelSelectorLoadBalancerResponse)(nil)).Elem()
+}
+
+func (o LabelSelectorLoadBalancerResponseOutput) ToLabelSelectorLoadBalancerResponseOutput() LabelSelectorLoadBalancerResponseOutput {
+ return o
+}
+
+func (o LabelSelectorLoadBalancerResponseOutput) ToLabelSelectorLoadBalancerResponseOutputWithContext(ctx context.Context) LabelSelectorLoadBalancerResponseOutput {
+ return o
+}
+
+// matchExpressions is a list of label selector requirements. The requirements are ANDed.
+func (o LabelSelectorLoadBalancerResponseOutput) MatchExpressions() LabelSelectorRequirementLoadBalancerResponseArrayOutput {
+ return o.ApplyT(func(v LabelSelectorLoadBalancerResponse) []LabelSelectorRequirementLoadBalancerResponse {
+ return v.MatchExpressions
+ }).(LabelSelectorRequirementLoadBalancerResponseArrayOutput)
+}
+
+// matchLabels is an array of {key=value} pairs. A single {key=value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is `key`, the operator is `In`, and the values array contains only `value`. The requirements are ANDed.
+func (o LabelSelectorLoadBalancerResponseOutput) MatchLabels() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v LabelSelectorLoadBalancerResponse) []string { return v.MatchLabels }).(pulumi.StringArrayOutput)
+}
+
+type LabelSelectorLoadBalancerResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (LabelSelectorLoadBalancerResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**LabelSelectorLoadBalancerResponse)(nil)).Elem()
+}
+
+func (o LabelSelectorLoadBalancerResponsePtrOutput) ToLabelSelectorLoadBalancerResponsePtrOutput() LabelSelectorLoadBalancerResponsePtrOutput {
+ return o
+}
+
+func (o LabelSelectorLoadBalancerResponsePtrOutput) ToLabelSelectorLoadBalancerResponsePtrOutputWithContext(ctx context.Context) LabelSelectorLoadBalancerResponsePtrOutput {
+ return o
+}
+
+func (o LabelSelectorLoadBalancerResponsePtrOutput) Elem() LabelSelectorLoadBalancerResponseOutput {
+ return o.ApplyT(func(v *LabelSelectorLoadBalancerResponse) LabelSelectorLoadBalancerResponse {
+ if v != nil {
+ return *v
+ }
+ var ret LabelSelectorLoadBalancerResponse
+ return ret
+ }).(LabelSelectorLoadBalancerResponseOutput)
+}
+
+// matchExpressions is a list of label selector requirements. The requirements are ANDed.
+func (o LabelSelectorLoadBalancerResponsePtrOutput) MatchExpressions() LabelSelectorRequirementLoadBalancerResponseArrayOutput {
+ return o.ApplyT(func(v *LabelSelectorLoadBalancerResponse) []LabelSelectorRequirementLoadBalancerResponse {
+ if v == nil {
+ return nil
+ }
+ return v.MatchExpressions
+ }).(LabelSelectorRequirementLoadBalancerResponseArrayOutput)
+}
+
+// matchLabels is an array of {key=value} pairs. A single {key=value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is `key`, the operator is `In`, and the values array contains only `value`. The requirements are ANDed.
+func (o LabelSelectorLoadBalancerResponsePtrOutput) MatchLabels() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *LabelSelectorLoadBalancerResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.MatchLabels
+ }).(pulumi.StringArrayOutput)
+}
+
// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
type LabelSelectorRequirement struct {
// key is the label key that the selector applies to.
@@ -10875,7 +11249,7 @@ func (o LabelSelectorRequirementArrayOutput) Index(i pulumi.IntInput) LabelSelec
}
// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
-type LabelSelectorRequirementResponse struct {
+type LabelSelectorRequirementLoadBalancerResponse struct {
// key is the label key that the selector applies to.
Key *string `pulumi:"key"`
// operator represents a key's relationship to a set of values. Valid operators are In and NotIn
@@ -10884,6 +11258,66 @@ type LabelSelectorRequirementResponse struct {
Values []string `pulumi:"values"`
}
+// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
+type LabelSelectorRequirementLoadBalancerResponseOutput struct{ *pulumi.OutputState }
+
+func (LabelSelectorRequirementLoadBalancerResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*LabelSelectorRequirementLoadBalancerResponse)(nil)).Elem()
+}
+
+func (o LabelSelectorRequirementLoadBalancerResponseOutput) ToLabelSelectorRequirementLoadBalancerResponseOutput() LabelSelectorRequirementLoadBalancerResponseOutput {
+ return o
+}
+
+func (o LabelSelectorRequirementLoadBalancerResponseOutput) ToLabelSelectorRequirementLoadBalancerResponseOutputWithContext(ctx context.Context) LabelSelectorRequirementLoadBalancerResponseOutput {
+ return o
+}
+
+// key is the label key that the selector applies to.
+func (o LabelSelectorRequirementLoadBalancerResponseOutput) Key() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LabelSelectorRequirementLoadBalancerResponse) *string { return v.Key }).(pulumi.StringPtrOutput)
+}
+
+// operator represents a key's relationship to a set of values. Valid operators are In and NotIn
+func (o LabelSelectorRequirementLoadBalancerResponseOutput) Operator() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LabelSelectorRequirementLoadBalancerResponse) *string { return v.Operator }).(pulumi.StringPtrOutput)
+}
+
+// values is an array of string values, the values array must be non-empty.
+func (o LabelSelectorRequirementLoadBalancerResponseOutput) Values() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v LabelSelectorRequirementLoadBalancerResponse) []string { return v.Values }).(pulumi.StringArrayOutput)
+}
+
+type LabelSelectorRequirementLoadBalancerResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (LabelSelectorRequirementLoadBalancerResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]LabelSelectorRequirementLoadBalancerResponse)(nil)).Elem()
+}
+
+func (o LabelSelectorRequirementLoadBalancerResponseArrayOutput) ToLabelSelectorRequirementLoadBalancerResponseArrayOutput() LabelSelectorRequirementLoadBalancerResponseArrayOutput {
+ return o
+}
+
+func (o LabelSelectorRequirementLoadBalancerResponseArrayOutput) ToLabelSelectorRequirementLoadBalancerResponseArrayOutputWithContext(ctx context.Context) LabelSelectorRequirementLoadBalancerResponseArrayOutput {
+ return o
+}
+
+func (o LabelSelectorRequirementLoadBalancerResponseArrayOutput) Index(i pulumi.IntInput) LabelSelectorRequirementLoadBalancerResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) LabelSelectorRequirementLoadBalancerResponse {
+ return vs[0].([]LabelSelectorRequirementLoadBalancerResponse)[vs[1].(int)]
+ }).(LabelSelectorRequirementLoadBalancerResponseOutput)
+}
+
+// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
+type LabelSelectorRequirementResponse struct {
+ // key is the label key that the selector applies to.
+ Key string `pulumi:"key"`
+ // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
+ Operator string `pulumi:"operator"`
+ // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
+ Values []string `pulumi:"values"`
+}
+
// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
type LabelSelectorRequirementResponseOutput struct{ *pulumi.OutputState }
@@ -10900,16 +11334,16 @@ func (o LabelSelectorRequirementResponseOutput) ToLabelSelectorRequirementRespon
}
// key is the label key that the selector applies to.
-func (o LabelSelectorRequirementResponseOutput) Key() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LabelSelectorRequirementResponse) *string { return v.Key }).(pulumi.StringPtrOutput)
+func (o LabelSelectorRequirementResponseOutput) Key() pulumi.StringOutput {
+ return o.ApplyT(func(v LabelSelectorRequirementResponse) string { return v.Key }).(pulumi.StringOutput)
}
-// operator represents a key's relationship to a set of values. Valid operators are In and NotIn
-func (o LabelSelectorRequirementResponseOutput) Operator() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LabelSelectorRequirementResponse) *string { return v.Operator }).(pulumi.StringPtrOutput)
+// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
+func (o LabelSelectorRequirementResponseOutput) Operator() pulumi.StringOutput {
+ return o.ApplyT(func(v LabelSelectorRequirementResponse) string { return v.Operator }).(pulumi.StringOutput)
}
-// values is an array of string values, the values array must be non-empty.
+// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
func (o LabelSelectorRequirementResponseOutput) Values() pulumi.StringArrayOutput {
return o.ApplyT(func(v LabelSelectorRequirementResponse) []string { return v.Values }).(pulumi.StringArrayOutput)
}
@@ -10938,8 +11372,8 @@ func (o LabelSelectorRequirementResponseArrayOutput) Index(i pulumi.IntInput) La
type LabelSelectorResponse struct {
// matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions []LabelSelectorRequirementResponse `pulumi:"matchExpressions"`
- // matchLabels is an array of {key=value} pairs. A single {key=value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is `key`, the operator is `In`, and the values array contains only `value`. The requirements are ANDed.
- MatchLabels []string `pulumi:"matchLabels"`
+ // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
+ MatchLabels map[string]string `pulumi:"matchLabels"`
}
// A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
@@ -10962,9 +11396,9 @@ func (o LabelSelectorResponseOutput) MatchExpressions() LabelSelectorRequirement
return o.ApplyT(func(v LabelSelectorResponse) []LabelSelectorRequirementResponse { return v.MatchExpressions }).(LabelSelectorRequirementResponseArrayOutput)
}
-// matchLabels is an array of {key=value} pairs. A single {key=value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is `key`, the operator is `In`, and the values array contains only `value`. The requirements are ANDed.
-func (o LabelSelectorResponseOutput) MatchLabels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v LabelSelectorResponse) []string { return v.MatchLabels }).(pulumi.StringArrayOutput)
+// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
+func (o LabelSelectorResponseOutput) MatchLabels() pulumi.StringMapOutput {
+ return o.ApplyT(func(v LabelSelectorResponse) map[string]string { return v.MatchLabels }).(pulumi.StringMapOutput)
}
type LabelSelectorResponsePtrOutput struct{ *pulumi.OutputState }
@@ -11001,14 +11435,14 @@ func (o LabelSelectorResponsePtrOutput) MatchExpressions() LabelSelectorRequirem
}).(LabelSelectorRequirementResponseArrayOutput)
}
-// matchLabels is an array of {key=value} pairs. A single {key=value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is `key`, the operator is `In`, and the values array contains only `value`. The requirements are ANDed.
-func (o LabelSelectorResponsePtrOutput) MatchLabels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *LabelSelectorResponse) []string {
+// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
+func (o LabelSelectorResponsePtrOutput) MatchLabels() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *LabelSelectorResponse) map[string]string {
if v == nil {
return nil
}
return v.MatchLabels
- }).(pulumi.StringArrayOutput)
+ }).(pulumi.StringMapOutput)
}
// OS configurations of Linux agent nodes. See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
@@ -17333,7 +17767,7 @@ type ManagedClusterIngressProfileWebAppRoutingResponse struct {
// Whether to enable the Application Routing add-on.
Enabled *bool `pulumi:"enabled"`
// Managed identity of the Application Routing add-on. This is the identity that should be granted permissions, for example, to manage the associated Azure DNS resource and get certificates from Azure Key Vault. See [this overview of the add-on](https://learn.microsoft.com/en-us/azure/aks/web-app-routing?tabs=with-osm) for more instructions.
- Identity UserAssignedIdentityResponse `pulumi:"identity"`
+ Identity UserAssignedIdentityManagedClusterResponse `pulumi:"identity"`
// Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.
Nginx *ManagedClusterIngressProfileNginxResponse `pulumi:"nginx"`
}
@@ -17364,10 +17798,10 @@ func (o ManagedClusterIngressProfileWebAppRoutingResponseOutput) Enabled() pulum
}
// Managed identity of the Application Routing add-on. This is the identity that should be granted permissions, for example, to manage the associated Azure DNS resource and get certificates from Azure Key Vault. See [this overview of the add-on](https://learn.microsoft.com/en-us/azure/aks/web-app-routing?tabs=with-osm) for more instructions.
-func (o ManagedClusterIngressProfileWebAppRoutingResponseOutput) Identity() UserAssignedIdentityResponseOutput {
- return o.ApplyT(func(v ManagedClusterIngressProfileWebAppRoutingResponse) UserAssignedIdentityResponse {
+func (o ManagedClusterIngressProfileWebAppRoutingResponseOutput) Identity() UserAssignedIdentityManagedClusterResponseOutput {
+ return o.ApplyT(func(v ManagedClusterIngressProfileWebAppRoutingResponse) UserAssignedIdentityManagedClusterResponse {
return v.Identity
- }).(UserAssignedIdentityResponseOutput)
+ }).(UserAssignedIdentityManagedClusterResponseOutput)
}
// Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.
@@ -17422,13 +17856,13 @@ func (o ManagedClusterIngressProfileWebAppRoutingResponsePtrOutput) Enabled() pu
}
// Managed identity of the Application Routing add-on. This is the identity that should be granted permissions, for example, to manage the associated Azure DNS resource and get certificates from Azure Key Vault. See [this overview of the add-on](https://learn.microsoft.com/en-us/azure/aks/web-app-routing?tabs=with-osm) for more instructions.
-func (o ManagedClusterIngressProfileWebAppRoutingResponsePtrOutput) Identity() UserAssignedIdentityResponsePtrOutput {
- return o.ApplyT(func(v *ManagedClusterIngressProfileWebAppRoutingResponse) *UserAssignedIdentityResponse {
+func (o ManagedClusterIngressProfileWebAppRoutingResponsePtrOutput) Identity() UserAssignedIdentityManagedClusterResponsePtrOutput {
+ return o.ApplyT(func(v *ManagedClusterIngressProfileWebAppRoutingResponse) *UserAssignedIdentityManagedClusterResponse {
if v == nil {
return nil
}
return &v.Identity
- }).(UserAssignedIdentityResponsePtrOutput)
+ }).(UserAssignedIdentityManagedClusterResponsePtrOutput)
}
// Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.
@@ -20886,7 +21320,7 @@ type ManagedClusterPodIdentityResponse struct {
// The binding selector to use for the AzureIdentityBinding resource.
BindingSelector *string `pulumi:"bindingSelector"`
// The user assigned identity details.
- Identity UserAssignedIdentityResponse `pulumi:"identity"`
+ Identity UserAssignedIdentityManagedClusterResponse `pulumi:"identity"`
// The name of the pod identity.
Name string `pulumi:"name"`
// The namespace of the pod identity.
@@ -20917,8 +21351,10 @@ func (o ManagedClusterPodIdentityResponseOutput) BindingSelector() pulumi.String
}
// The user assigned identity details.
-func (o ManagedClusterPodIdentityResponseOutput) Identity() UserAssignedIdentityResponseOutput {
- return o.ApplyT(func(v ManagedClusterPodIdentityResponse) UserAssignedIdentityResponse { return v.Identity }).(UserAssignedIdentityResponseOutput)
+func (o ManagedClusterPodIdentityResponseOutput) Identity() UserAssignedIdentityManagedClusterResponseOutput {
+ return o.ApplyT(func(v ManagedClusterPodIdentityResponse) UserAssignedIdentityManagedClusterResponse {
+ return v.Identity
+ }).(UserAssignedIdentityManagedClusterResponseOutput)
}
// The name of the pod identity.
@@ -27560,145 +27996,6 @@ func (o MetaV1LabelSelectorRequirementArrayOutput) Index(i pulumi.IntInput) Meta
}).(MetaV1LabelSelectorRequirementOutput)
}
-// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
-type MetaV1LabelSelectorRequirementResponse struct {
- // key is the label key that the selector applies to.
- Key string `pulumi:"key"`
- // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
- Operator string `pulumi:"operator"`
- // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- Values []string `pulumi:"values"`
-}
-
-// A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
-type MetaV1LabelSelectorRequirementResponseOutput struct{ *pulumi.OutputState }
-
-func (MetaV1LabelSelectorRequirementResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*MetaV1LabelSelectorRequirementResponse)(nil)).Elem()
-}
-
-func (o MetaV1LabelSelectorRequirementResponseOutput) ToMetaV1LabelSelectorRequirementResponseOutput() MetaV1LabelSelectorRequirementResponseOutput {
- return o
-}
-
-func (o MetaV1LabelSelectorRequirementResponseOutput) ToMetaV1LabelSelectorRequirementResponseOutputWithContext(ctx context.Context) MetaV1LabelSelectorRequirementResponseOutput {
- return o
-}
-
-// key is the label key that the selector applies to.
-func (o MetaV1LabelSelectorRequirementResponseOutput) Key() pulumi.StringOutput {
- return o.ApplyT(func(v MetaV1LabelSelectorRequirementResponse) string { return v.Key }).(pulumi.StringOutput)
-}
-
-// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-func (o MetaV1LabelSelectorRequirementResponseOutput) Operator() pulumi.StringOutput {
- return o.ApplyT(func(v MetaV1LabelSelectorRequirementResponse) string { return v.Operator }).(pulumi.StringOutput)
-}
-
-// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
-func (o MetaV1LabelSelectorRequirementResponseOutput) Values() pulumi.StringArrayOutput {
- return o.ApplyT(func(v MetaV1LabelSelectorRequirementResponse) []string { return v.Values }).(pulumi.StringArrayOutput)
-}
-
-type MetaV1LabelSelectorRequirementResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (MetaV1LabelSelectorRequirementResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]MetaV1LabelSelectorRequirementResponse)(nil)).Elem()
-}
-
-func (o MetaV1LabelSelectorRequirementResponseArrayOutput) ToMetaV1LabelSelectorRequirementResponseArrayOutput() MetaV1LabelSelectorRequirementResponseArrayOutput {
- return o
-}
-
-func (o MetaV1LabelSelectorRequirementResponseArrayOutput) ToMetaV1LabelSelectorRequirementResponseArrayOutputWithContext(ctx context.Context) MetaV1LabelSelectorRequirementResponseArrayOutput {
- return o
-}
-
-func (o MetaV1LabelSelectorRequirementResponseArrayOutput) Index(i pulumi.IntInput) MetaV1LabelSelectorRequirementResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetaV1LabelSelectorRequirementResponse {
- return vs[0].([]MetaV1LabelSelectorRequirementResponse)[vs[1].(int)]
- }).(MetaV1LabelSelectorRequirementResponseOutput)
-}
-
-// A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
-type MetaV1LabelSelectorResponse struct {
- // matchExpressions is a list of label selector requirements. The requirements are ANDed.
- MatchExpressions []MetaV1LabelSelectorRequirementResponse `pulumi:"matchExpressions"`
- // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- MatchLabels map[string]string `pulumi:"matchLabels"`
-}
-
-// A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
-type MetaV1LabelSelectorResponseOutput struct{ *pulumi.OutputState }
-
-func (MetaV1LabelSelectorResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*MetaV1LabelSelectorResponse)(nil)).Elem()
-}
-
-func (o MetaV1LabelSelectorResponseOutput) ToMetaV1LabelSelectorResponseOutput() MetaV1LabelSelectorResponseOutput {
- return o
-}
-
-func (o MetaV1LabelSelectorResponseOutput) ToMetaV1LabelSelectorResponseOutputWithContext(ctx context.Context) MetaV1LabelSelectorResponseOutput {
- return o
-}
-
-// matchExpressions is a list of label selector requirements. The requirements are ANDed.
-func (o MetaV1LabelSelectorResponseOutput) MatchExpressions() MetaV1LabelSelectorRequirementResponseArrayOutput {
- return o.ApplyT(func(v MetaV1LabelSelectorResponse) []MetaV1LabelSelectorRequirementResponse {
- return v.MatchExpressions
- }).(MetaV1LabelSelectorRequirementResponseArrayOutput)
-}
-
-// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
-func (o MetaV1LabelSelectorResponseOutput) MatchLabels() pulumi.StringMapOutput {
- return o.ApplyT(func(v MetaV1LabelSelectorResponse) map[string]string { return v.MatchLabels }).(pulumi.StringMapOutput)
-}
-
-type MetaV1LabelSelectorResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (MetaV1LabelSelectorResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**MetaV1LabelSelectorResponse)(nil)).Elem()
-}
-
-func (o MetaV1LabelSelectorResponsePtrOutput) ToMetaV1LabelSelectorResponsePtrOutput() MetaV1LabelSelectorResponsePtrOutput {
- return o
-}
-
-func (o MetaV1LabelSelectorResponsePtrOutput) ToMetaV1LabelSelectorResponsePtrOutputWithContext(ctx context.Context) MetaV1LabelSelectorResponsePtrOutput {
- return o
-}
-
-func (o MetaV1LabelSelectorResponsePtrOutput) Elem() MetaV1LabelSelectorResponseOutput {
- return o.ApplyT(func(v *MetaV1LabelSelectorResponse) MetaV1LabelSelectorResponse {
- if v != nil {
- return *v
- }
- var ret MetaV1LabelSelectorResponse
- return ret
- }).(MetaV1LabelSelectorResponseOutput)
-}
-
-// matchExpressions is a list of label selector requirements. The requirements are ANDed.
-func (o MetaV1LabelSelectorResponsePtrOutput) MatchExpressions() MetaV1LabelSelectorRequirementResponseArrayOutput {
- return o.ApplyT(func(v *MetaV1LabelSelectorResponse) []MetaV1LabelSelectorRequirementResponse {
- if v == nil {
- return nil
- }
- return v.MatchExpressions
- }).(MetaV1LabelSelectorRequirementResponseArrayOutput)
-}
-
-// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
-func (o MetaV1LabelSelectorResponsePtrOutput) MatchLabels() pulumi.StringMapOutput {
- return o.ApplyT(func(v *MetaV1LabelSelectorResponse) map[string]string {
- if v == nil {
- return nil
- }
- return v.MatchLabels
- }).(pulumi.StringMapOutput)
-}
-
// Properties of a namespace managed by ARM
type NamespaceProperties struct {
// Action if Kubernetes namespace with same name already exists.
@@ -27955,27 +28252,25 @@ func (o NamespacePropertiesPtrOutput) Labels() pulumi.StringMapOutput {
}
// Properties of a namespace managed by ARM
-type NamespacePropertiesResponse struct {
+type NamespacePropertiesNamespaceResponse struct {
// Action if Kubernetes namespace with same name already exists.
AdoptionPolicy *string `pulumi:"adoptionPolicy"`
// The annotations of managed namespace.
Annotations map[string]string `pulumi:"annotations"`
- // The default network policy enforced upon the namespace. Customers can have other Kubernetes network policy objects under the namespace. Network policies are additive; if a policy or policies apply to a given pod for a given direction, the connections allowed in that direction for the pod is the union of what all applicable policies allow.
+ // The default network policy enforced upon the namespace. Customers can have other Kubernetes network policy objects under the namespace. All the network policies will be enforced.
DefaultNetworkPolicy *NetworkPoliciesResponse `pulumi:"defaultNetworkPolicy"`
- // The default resource quota enforced upon the namespace. Customers can have other Kubernetes resource quota objects under the namespace. Resource quotas are additive; if multiple resource quotas are applied to a given namespace, then the effective limit will be one such that all quotas on the namespace can be satisfied.
+ // The default resource quota enforced upon the namespace. Customers can have other Kubernetes resource quota objects under the namespace. All the resource quotas will be enforced.
DefaultResourceQuota *ResourceQuotaResponse `pulumi:"defaultResourceQuota"`
// Delete options of a namespace.
DeletePolicy *string `pulumi:"deletePolicy"`
// The labels of managed namespace.
Labels map[string]string `pulumi:"labels"`
- // The special FQDN used by the Azure Portal to access the Managed Cluster. This FQDN is for use only by the Azure Portal and should not be used by other clients. The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly.
- PortalFqdn string `pulumi:"portalFqdn"`
// The current provisioning state of the namespace.
ProvisioningState string `pulumi:"provisioningState"`
}
-// Defaults sets the appropriate defaults for NamespacePropertiesResponse
-func (val *NamespacePropertiesResponse) Defaults() *NamespacePropertiesResponse {
+// Defaults sets the appropriate defaults for NamespacePropertiesNamespaceResponse
+func (val *NamespacePropertiesNamespaceResponse) Defaults() *NamespacePropertiesNamespaceResponse {
if val == nil {
return nil
}
@@ -27986,80 +28281,77 @@ func (val *NamespacePropertiesResponse) Defaults() *NamespacePropertiesResponse
}
// Properties of a namespace managed by ARM
-type NamespacePropertiesResponseOutput struct{ *pulumi.OutputState }
+type NamespacePropertiesNamespaceResponseOutput struct{ *pulumi.OutputState }
-func (NamespacePropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NamespacePropertiesResponse)(nil)).Elem()
+func (NamespacePropertiesNamespaceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NamespacePropertiesNamespaceResponse)(nil)).Elem()
}
-func (o NamespacePropertiesResponseOutput) ToNamespacePropertiesResponseOutput() NamespacePropertiesResponseOutput {
+func (o NamespacePropertiesNamespaceResponseOutput) ToNamespacePropertiesNamespaceResponseOutput() NamespacePropertiesNamespaceResponseOutput {
return o
}
-func (o NamespacePropertiesResponseOutput) ToNamespacePropertiesResponseOutputWithContext(ctx context.Context) NamespacePropertiesResponseOutput {
+func (o NamespacePropertiesNamespaceResponseOutput) ToNamespacePropertiesNamespaceResponseOutputWithContext(ctx context.Context) NamespacePropertiesNamespaceResponseOutput {
return o
}
// Action if Kubernetes namespace with same name already exists.
-func (o NamespacePropertiesResponseOutput) AdoptionPolicy() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NamespacePropertiesResponse) *string { return v.AdoptionPolicy }).(pulumi.StringPtrOutput)
+func (o NamespacePropertiesNamespaceResponseOutput) AdoptionPolicy() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NamespacePropertiesNamespaceResponse) *string { return v.AdoptionPolicy }).(pulumi.StringPtrOutput)
}
// The annotations of managed namespace.
-func (o NamespacePropertiesResponseOutput) Annotations() pulumi.StringMapOutput {
- return o.ApplyT(func(v NamespacePropertiesResponse) map[string]string { return v.Annotations }).(pulumi.StringMapOutput)
+func (o NamespacePropertiesNamespaceResponseOutput) Annotations() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NamespacePropertiesNamespaceResponse) map[string]string { return v.Annotations }).(pulumi.StringMapOutput)
}
-// The default network policy enforced upon the namespace. Customers can have other Kubernetes network policy objects under the namespace. Network policies are additive; if a policy or policies apply to a given pod for a given direction, the connections allowed in that direction for the pod is the union of what all applicable policies allow.
-func (o NamespacePropertiesResponseOutput) DefaultNetworkPolicy() NetworkPoliciesResponsePtrOutput {
- return o.ApplyT(func(v NamespacePropertiesResponse) *NetworkPoliciesResponse { return v.DefaultNetworkPolicy }).(NetworkPoliciesResponsePtrOutput)
+// The default network policy enforced upon the namespace. Customers can have other Kubernetes network policy objects under the namespace. All the network policies will be enforced.
+func (o NamespacePropertiesNamespaceResponseOutput) DefaultNetworkPolicy() NetworkPoliciesResponsePtrOutput {
+ return o.ApplyT(func(v NamespacePropertiesNamespaceResponse) *NetworkPoliciesResponse { return v.DefaultNetworkPolicy }).(NetworkPoliciesResponsePtrOutput)
}
-// The default resource quota enforced upon the namespace. Customers can have other Kubernetes resource quota objects under the namespace. Resource quotas are additive; if multiple resource quotas are applied to a given namespace, then the effective limit will be one such that all quotas on the namespace can be satisfied.
-func (o NamespacePropertiesResponseOutput) DefaultResourceQuota() ResourceQuotaResponsePtrOutput {
- return o.ApplyT(func(v NamespacePropertiesResponse) *ResourceQuotaResponse { return v.DefaultResourceQuota }).(ResourceQuotaResponsePtrOutput)
+// The default resource quota enforced upon the namespace. Customers can have other Kubernetes resource quota objects under the namespace. All the resource quotas will be enforced.
+func (o NamespacePropertiesNamespaceResponseOutput) DefaultResourceQuota() ResourceQuotaResponsePtrOutput {
+ return o.ApplyT(func(v NamespacePropertiesNamespaceResponse) *ResourceQuotaResponse { return v.DefaultResourceQuota }).(ResourceQuotaResponsePtrOutput)
}
// Delete options of a namespace.
-func (o NamespacePropertiesResponseOutput) DeletePolicy() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NamespacePropertiesResponse) *string { return v.DeletePolicy }).(pulumi.StringPtrOutput)
+func (o NamespacePropertiesNamespaceResponseOutput) DeletePolicy() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NamespacePropertiesNamespaceResponse) *string { return v.DeletePolicy }).(pulumi.StringPtrOutput)
}
// The labels of managed namespace.
-func (o NamespacePropertiesResponseOutput) Labels() pulumi.StringMapOutput {
- return o.ApplyT(func(v NamespacePropertiesResponse) map[string]string { return v.Labels }).(pulumi.StringMapOutput)
-}
-
-// The special FQDN used by the Azure Portal to access the Managed Cluster. This FQDN is for use only by the Azure Portal and should not be used by other clients. The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly.
-func (o NamespacePropertiesResponseOutput) PortalFqdn() pulumi.StringOutput {
- return o.ApplyT(func(v NamespacePropertiesResponse) string { return v.PortalFqdn }).(pulumi.StringOutput)
+func (o NamespacePropertiesNamespaceResponseOutput) Labels() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NamespacePropertiesNamespaceResponse) map[string]string { return v.Labels }).(pulumi.StringMapOutput)
}
// The current provisioning state of the namespace.
-func (o NamespacePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v NamespacePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o NamespacePropertiesNamespaceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NamespacePropertiesNamespaceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
// Properties of a namespace managed by ARM
-type NamespacePropertiesResponseV1 struct {
+type NamespacePropertiesResponse struct {
// Action if Kubernetes namespace with same name already exists.
AdoptionPolicy *string `pulumi:"adoptionPolicy"`
// The annotations of managed namespace.
Annotations map[string]string `pulumi:"annotations"`
- // The default network policy enforced upon the namespace. Customers can have other Kubernetes network policy objects under the namespace. All the network policies will be enforced.
+ // The default network policy enforced upon the namespace. Customers can have other Kubernetes network policy objects under the namespace. Network policies are additive; if a policy or policies apply to a given pod for a given direction, the connections allowed in that direction for the pod is the union of what all applicable policies allow.
DefaultNetworkPolicy *NetworkPoliciesResponse `pulumi:"defaultNetworkPolicy"`
- // The default resource quota enforced upon the namespace. Customers can have other Kubernetes resource quota objects under the namespace. All the resource quotas will be enforced.
+ // The default resource quota enforced upon the namespace. Customers can have other Kubernetes resource quota objects under the namespace. Resource quotas are additive; if multiple resource quotas are applied to a given namespace, then the effective limit will be one such that all quotas on the namespace can be satisfied.
DefaultResourceQuota *ResourceQuotaResponse `pulumi:"defaultResourceQuota"`
// Delete options of a namespace.
DeletePolicy *string `pulumi:"deletePolicy"`
// The labels of managed namespace.
Labels map[string]string `pulumi:"labels"`
+ // The special FQDN used by the Azure Portal to access the Managed Cluster. This FQDN is for use only by the Azure Portal and should not be used by other clients. The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly.
+ PortalFqdn string `pulumi:"portalFqdn"`
// The current provisioning state of the namespace.
ProvisioningState string `pulumi:"provisioningState"`
}
-// Defaults sets the appropriate defaults for NamespacePropertiesResponseV1
-func (val *NamespacePropertiesResponseV1) Defaults() *NamespacePropertiesResponseV1 {
+// Defaults sets the appropriate defaults for NamespacePropertiesResponse
+func (val *NamespacePropertiesResponse) Defaults() *NamespacePropertiesResponse {
if val == nil {
return nil
}
@@ -28070,53 +28362,58 @@ func (val *NamespacePropertiesResponseV1) Defaults() *NamespacePropertiesRespons
}
// Properties of a namespace managed by ARM
-type NamespacePropertiesResponseV1Output struct{ *pulumi.OutputState }
+type NamespacePropertiesResponseOutput struct{ *pulumi.OutputState }
-func (NamespacePropertiesResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*NamespacePropertiesResponseV1)(nil)).Elem()
+func (NamespacePropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NamespacePropertiesResponse)(nil)).Elem()
}
-func (o NamespacePropertiesResponseV1Output) ToNamespacePropertiesResponseV1Output() NamespacePropertiesResponseV1Output {
+func (o NamespacePropertiesResponseOutput) ToNamespacePropertiesResponseOutput() NamespacePropertiesResponseOutput {
return o
}
-func (o NamespacePropertiesResponseV1Output) ToNamespacePropertiesResponseV1OutputWithContext(ctx context.Context) NamespacePropertiesResponseV1Output {
+func (o NamespacePropertiesResponseOutput) ToNamespacePropertiesResponseOutputWithContext(ctx context.Context) NamespacePropertiesResponseOutput {
return o
}
// Action if Kubernetes namespace with same name already exists.
-func (o NamespacePropertiesResponseV1Output) AdoptionPolicy() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NamespacePropertiesResponseV1) *string { return v.AdoptionPolicy }).(pulumi.StringPtrOutput)
+func (o NamespacePropertiesResponseOutput) AdoptionPolicy() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NamespacePropertiesResponse) *string { return v.AdoptionPolicy }).(pulumi.StringPtrOutput)
}
// The annotations of managed namespace.
-func (o NamespacePropertiesResponseV1Output) Annotations() pulumi.StringMapOutput {
- return o.ApplyT(func(v NamespacePropertiesResponseV1) map[string]string { return v.Annotations }).(pulumi.StringMapOutput)
+func (o NamespacePropertiesResponseOutput) Annotations() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NamespacePropertiesResponse) map[string]string { return v.Annotations }).(pulumi.StringMapOutput)
}
-// The default network policy enforced upon the namespace. Customers can have other Kubernetes network policy objects under the namespace. All the network policies will be enforced.
-func (o NamespacePropertiesResponseV1Output) DefaultNetworkPolicy() NetworkPoliciesResponsePtrOutput {
- return o.ApplyT(func(v NamespacePropertiesResponseV1) *NetworkPoliciesResponse { return v.DefaultNetworkPolicy }).(NetworkPoliciesResponsePtrOutput)
+// The default network policy enforced upon the namespace. Customers can have other Kubernetes network policy objects under the namespace. Network policies are additive; if a policy or policies apply to a given pod for a given direction, the connections allowed in that direction for the pod is the union of what all applicable policies allow.
+func (o NamespacePropertiesResponseOutput) DefaultNetworkPolicy() NetworkPoliciesResponsePtrOutput {
+ return o.ApplyT(func(v NamespacePropertiesResponse) *NetworkPoliciesResponse { return v.DefaultNetworkPolicy }).(NetworkPoliciesResponsePtrOutput)
}
-// The default resource quota enforced upon the namespace. Customers can have other Kubernetes resource quota objects under the namespace. All the resource quotas will be enforced.
-func (o NamespacePropertiesResponseV1Output) DefaultResourceQuota() ResourceQuotaResponsePtrOutput {
- return o.ApplyT(func(v NamespacePropertiesResponseV1) *ResourceQuotaResponse { return v.DefaultResourceQuota }).(ResourceQuotaResponsePtrOutput)
+// The default resource quota enforced upon the namespace. Customers can have other Kubernetes resource quota objects under the namespace. Resource quotas are additive; if multiple resource quotas are applied to a given namespace, then the effective limit will be one such that all quotas on the namespace can be satisfied.
+func (o NamespacePropertiesResponseOutput) DefaultResourceQuota() ResourceQuotaResponsePtrOutput {
+ return o.ApplyT(func(v NamespacePropertiesResponse) *ResourceQuotaResponse { return v.DefaultResourceQuota }).(ResourceQuotaResponsePtrOutput)
}
// Delete options of a namespace.
-func (o NamespacePropertiesResponseV1Output) DeletePolicy() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NamespacePropertiesResponseV1) *string { return v.DeletePolicy }).(pulumi.StringPtrOutput)
+func (o NamespacePropertiesResponseOutput) DeletePolicy() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NamespacePropertiesResponse) *string { return v.DeletePolicy }).(pulumi.StringPtrOutput)
}
// The labels of managed namespace.
-func (o NamespacePropertiesResponseV1Output) Labels() pulumi.StringMapOutput {
- return o.ApplyT(func(v NamespacePropertiesResponseV1) map[string]string { return v.Labels }).(pulumi.StringMapOutput)
+func (o NamespacePropertiesResponseOutput) Labels() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NamespacePropertiesResponse) map[string]string { return v.Labels }).(pulumi.StringMapOutput)
+}
+
+// The special FQDN used by the Azure Portal to access the Managed Cluster. This FQDN is for use only by the Azure Portal and should not be used by other clients. The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly.
+func (o NamespacePropertiesResponseOutput) PortalFqdn() pulumi.StringOutput {
+ return o.ApplyT(func(v NamespacePropertiesResponse) string { return v.PortalFqdn }).(pulumi.StringOutput)
}
// The current provisioning state of the namespace.
-func (o NamespacePropertiesResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v NamespacePropertiesResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o NamespacePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NamespacePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
// Default network policy of the namespace, specifying ingress and egress rules.
@@ -28825,6 +29122,117 @@ func (o NodeImageVersionResponseArrayOutput) Index(i pulumi.IntInput) NodeImageV
}).(NodeImageVersionResponseOutput)
}
+// PlacementPolicy contains the rules to select target member clusters to place the selected resources. Note that only clusters that are both joined and satisfying the rules will be selected. You can only specify at most one of the two fields: ClusterNames and Affinity. If none is specified, all the joined clusters are selected.
+type PlacementPolicyResponse struct {
+ // Affinity contains cluster affinity scheduling rules. Defines which member clusters to place the selected resources. Only valid if the placement type is "PickAll" or "PickN".
+ Affinity *AffinityResponse `pulumi:"affinity"`
+ // ClusterNames contains a list of names of MemberCluster to place the selected resources. Only valid if the placement type is "PickFixed"
+ ClusterNames []string `pulumi:"clusterNames"`
+ // Type of placement. Can be "PickAll", "PickN" or "PickFixed". Default is PickAll.
+ PlacementType *string `pulumi:"placementType"`
+ // If specified, the ClusterResourcePlacement's Tolerations. Tolerations cannot be updated or deleted. This field is beta-level and is for the taints and tolerations feature.
+ Tolerations []TolerationResponse `pulumi:"tolerations"`
+}
+
+// PlacementPolicy contains the rules to select target member clusters to place the selected resources. Note that only clusters that are both joined and satisfying the rules will be selected. You can only specify at most one of the two fields: ClusterNames and Affinity. If none is specified, all the joined clusters are selected.
+type PlacementPolicyResponseOutput struct{ *pulumi.OutputState }
+
+func (PlacementPolicyResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PlacementPolicyResponse)(nil)).Elem()
+}
+
+func (o PlacementPolicyResponseOutput) ToPlacementPolicyResponseOutput() PlacementPolicyResponseOutput {
+ return o
+}
+
+func (o PlacementPolicyResponseOutput) ToPlacementPolicyResponseOutputWithContext(ctx context.Context) PlacementPolicyResponseOutput {
+ return o
+}
+
+// Affinity contains cluster affinity scheduling rules. Defines which member clusters to place the selected resources. Only valid if the placement type is "PickAll" or "PickN".
+func (o PlacementPolicyResponseOutput) Affinity() AffinityResponsePtrOutput {
+ return o.ApplyT(func(v PlacementPolicyResponse) *AffinityResponse { return v.Affinity }).(AffinityResponsePtrOutput)
+}
+
+// ClusterNames contains a list of names of MemberCluster to place the selected resources. Only valid if the placement type is "PickFixed"
+func (o PlacementPolicyResponseOutput) ClusterNames() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PlacementPolicyResponse) []string { return v.ClusterNames }).(pulumi.StringArrayOutput)
+}
+
+// Type of placement. Can be "PickAll", "PickN" or "PickFixed". Default is PickAll.
+func (o PlacementPolicyResponseOutput) PlacementType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PlacementPolicyResponse) *string { return v.PlacementType }).(pulumi.StringPtrOutput)
+}
+
+// If specified, the ClusterResourcePlacement's Tolerations. Tolerations cannot be updated or deleted. This field is beta-level and is for the taints and tolerations feature.
+func (o PlacementPolicyResponseOutput) Tolerations() TolerationResponseArrayOutput {
+ return o.ApplyT(func(v PlacementPolicyResponse) []TolerationResponse { return v.Tolerations }).(TolerationResponseArrayOutput)
+}
+
+type PlacementPolicyResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (PlacementPolicyResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PlacementPolicyResponse)(nil)).Elem()
+}
+
+func (o PlacementPolicyResponsePtrOutput) ToPlacementPolicyResponsePtrOutput() PlacementPolicyResponsePtrOutput {
+ return o
+}
+
+func (o PlacementPolicyResponsePtrOutput) ToPlacementPolicyResponsePtrOutputWithContext(ctx context.Context) PlacementPolicyResponsePtrOutput {
+ return o
+}
+
+func (o PlacementPolicyResponsePtrOutput) Elem() PlacementPolicyResponseOutput {
+ return o.ApplyT(func(v *PlacementPolicyResponse) PlacementPolicyResponse {
+ if v != nil {
+ return *v
+ }
+ var ret PlacementPolicyResponse
+ return ret
+ }).(PlacementPolicyResponseOutput)
+}
+
+// Affinity contains cluster affinity scheduling rules. Defines which member clusters to place the selected resources. Only valid if the placement type is "PickAll" or "PickN".
+func (o PlacementPolicyResponsePtrOutput) Affinity() AffinityResponsePtrOutput {
+ return o.ApplyT(func(v *PlacementPolicyResponse) *AffinityResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Affinity
+ }).(AffinityResponsePtrOutput)
+}
+
+// ClusterNames contains a list of names of MemberCluster to place the selected resources. Only valid if the placement type is "PickFixed"
+func (o PlacementPolicyResponsePtrOutput) ClusterNames() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PlacementPolicyResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.ClusterNames
+ }).(pulumi.StringArrayOutput)
+}
+
+// Type of placement. Can be "PickAll", "PickN" or "PickFixed". Default is PickAll.
+func (o PlacementPolicyResponsePtrOutput) PlacementType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PlacementPolicyResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PlacementType
+ }).(pulumi.StringPtrOutput)
+}
+
+// If specified, the ClusterResourcePlacement's Tolerations. Tolerations cannot be updated or deleted. This field is beta-level and is for the taints and tolerations feature.
+func (o PlacementPolicyResponsePtrOutput) Tolerations() TolerationResponseArrayOutput {
+ return o.ApplyT(func(v *PlacementPolicyResponse) []TolerationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Tolerations
+ }).(TolerationResponseArrayOutput)
+}
+
// The configuration profile for default ClusterResourcePlacement for placement.
type PlacementProfile struct {
// The default ClusterResourcePlacement policy configuration.
@@ -28970,7 +29378,7 @@ func (o PlacementProfilePtrOutput) DefaultClusterResourcePlacement() PlacementV1
// The configuration profile for default ClusterResourcePlacement for placement.
type PlacementProfileResponse struct {
// The default ClusterResourcePlacement policy configuration.
- DefaultClusterResourcePlacement *PlacementV1ClusterResourcePlacementSpecResponse `pulumi:"defaultClusterResourcePlacement"`
+ DefaultClusterResourcePlacement *ClusterResourcePlacementSpecResponse `pulumi:"defaultClusterResourcePlacement"`
}
// The configuration profile for default ClusterResourcePlacement for placement.
@@ -28989,10 +29397,10 @@ func (o PlacementProfileResponseOutput) ToPlacementProfileResponseOutputWithCont
}
// The default ClusterResourcePlacement policy configuration.
-func (o PlacementProfileResponseOutput) DefaultClusterResourcePlacement() PlacementV1ClusterResourcePlacementSpecResponsePtrOutput {
- return o.ApplyT(func(v PlacementProfileResponse) *PlacementV1ClusterResourcePlacementSpecResponse {
+func (o PlacementProfileResponseOutput) DefaultClusterResourcePlacement() ClusterResourcePlacementSpecResponsePtrOutput {
+ return o.ApplyT(func(v PlacementProfileResponse) *ClusterResourcePlacementSpecResponse {
return v.DefaultClusterResourcePlacement
- }).(PlacementV1ClusterResourcePlacementSpecResponsePtrOutput)
+ }).(ClusterResourcePlacementSpecResponsePtrOutput)
}
type PlacementProfileResponsePtrOutput struct{ *pulumi.OutputState }
@@ -29020,13 +29428,13 @@ func (o PlacementProfileResponsePtrOutput) Elem() PlacementProfileResponseOutput
}
// The default ClusterResourcePlacement policy configuration.
-func (o PlacementProfileResponsePtrOutput) DefaultClusterResourcePlacement() PlacementV1ClusterResourcePlacementSpecResponsePtrOutput {
- return o.ApplyT(func(v *PlacementProfileResponse) *PlacementV1ClusterResourcePlacementSpecResponse {
+func (o PlacementProfileResponsePtrOutput) DefaultClusterResourcePlacement() ClusterResourcePlacementSpecResponsePtrOutput {
+ return o.ApplyT(func(v *PlacementProfileResponse) *ClusterResourcePlacementSpecResponse {
if v == nil {
return nil
}
return v.DefaultClusterResourcePlacement
- }).(PlacementV1ClusterResourcePlacementSpecResponsePtrOutput)
+ }).(ClusterResourcePlacementSpecResponsePtrOutput)
}
// Affinity is a group of cluster affinity scheduling rules. More to be added.
@@ -29169,66 +29577,6 @@ func (o PlacementV1AffinityPtrOutput) ClusterAffinity() PlacementV1ClusterAffini
}).(PlacementV1ClusterAffinityPtrOutput)
}
-// Affinity is a group of cluster affinity scheduling rules. More to be added.
-type PlacementV1AffinityResponse struct {
- // ClusterAffinity contains cluster affinity scheduling rules for the selected resources.
- ClusterAffinity *PlacementV1ClusterAffinityResponse `pulumi:"clusterAffinity"`
-}
-
-// Affinity is a group of cluster affinity scheduling rules. More to be added.
-type PlacementV1AffinityResponseOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1AffinityResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PlacementV1AffinityResponse)(nil)).Elem()
-}
-
-func (o PlacementV1AffinityResponseOutput) ToPlacementV1AffinityResponseOutput() PlacementV1AffinityResponseOutput {
- return o
-}
-
-func (o PlacementV1AffinityResponseOutput) ToPlacementV1AffinityResponseOutputWithContext(ctx context.Context) PlacementV1AffinityResponseOutput {
- return o
-}
-
-// ClusterAffinity contains cluster affinity scheduling rules for the selected resources.
-func (o PlacementV1AffinityResponseOutput) ClusterAffinity() PlacementV1ClusterAffinityResponsePtrOutput {
- return o.ApplyT(func(v PlacementV1AffinityResponse) *PlacementV1ClusterAffinityResponse { return v.ClusterAffinity }).(PlacementV1ClusterAffinityResponsePtrOutput)
-}
-
-type PlacementV1AffinityResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1AffinityResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PlacementV1AffinityResponse)(nil)).Elem()
-}
-
-func (o PlacementV1AffinityResponsePtrOutput) ToPlacementV1AffinityResponsePtrOutput() PlacementV1AffinityResponsePtrOutput {
- return o
-}
-
-func (o PlacementV1AffinityResponsePtrOutput) ToPlacementV1AffinityResponsePtrOutputWithContext(ctx context.Context) PlacementV1AffinityResponsePtrOutput {
- return o
-}
-
-func (o PlacementV1AffinityResponsePtrOutput) Elem() PlacementV1AffinityResponseOutput {
- return o.ApplyT(func(v *PlacementV1AffinityResponse) PlacementV1AffinityResponse {
- if v != nil {
- return *v
- }
- var ret PlacementV1AffinityResponse
- return ret
- }).(PlacementV1AffinityResponseOutput)
-}
-
-// ClusterAffinity contains cluster affinity scheduling rules for the selected resources.
-func (o PlacementV1AffinityResponsePtrOutput) ClusterAffinity() PlacementV1ClusterAffinityResponsePtrOutput {
- return o.ApplyT(func(v *PlacementV1AffinityResponse) *PlacementV1ClusterAffinityResponse {
- if v == nil {
- return nil
- }
- return v.ClusterAffinity
- }).(PlacementV1ClusterAffinityResponsePtrOutput)
-}
-
// ClusterAffinity contains cluster affinity scheduling rules for the selected resources.
type PlacementV1ClusterAffinity struct {
// If the affinity requirements specified by this field are not met at scheduling time, the resource will not be scheduled onto the cluster. If the affinity requirements specified by this field cease to be met at some point after the placement (e.g. due to an update), the system may or may not try to eventually remove the resource from the cluster.
@@ -29371,68 +29719,6 @@ func (o PlacementV1ClusterAffinityPtrOutput) RequiredDuringSchedulingIgnoredDuri
}).(PlacementV1ClusterSelectorPtrOutput)
}
-// ClusterAffinity contains cluster affinity scheduling rules for the selected resources.
-type PlacementV1ClusterAffinityResponse struct {
- // If the affinity requirements specified by this field are not met at scheduling time, the resource will not be scheduled onto the cluster. If the affinity requirements specified by this field cease to be met at some point after the placement (e.g. due to an update), the system may or may not try to eventually remove the resource from the cluster.
- RequiredDuringSchedulingIgnoredDuringExecution *PlacementV1ClusterSelectorResponse `pulumi:"requiredDuringSchedulingIgnoredDuringExecution"`
-}
-
-// ClusterAffinity contains cluster affinity scheduling rules for the selected resources.
-type PlacementV1ClusterAffinityResponseOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1ClusterAffinityResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PlacementV1ClusterAffinityResponse)(nil)).Elem()
-}
-
-func (o PlacementV1ClusterAffinityResponseOutput) ToPlacementV1ClusterAffinityResponseOutput() PlacementV1ClusterAffinityResponseOutput {
- return o
-}
-
-func (o PlacementV1ClusterAffinityResponseOutput) ToPlacementV1ClusterAffinityResponseOutputWithContext(ctx context.Context) PlacementV1ClusterAffinityResponseOutput {
- return o
-}
-
-// If the affinity requirements specified by this field are not met at scheduling time, the resource will not be scheduled onto the cluster. If the affinity requirements specified by this field cease to be met at some point after the placement (e.g. due to an update), the system may or may not try to eventually remove the resource from the cluster.
-func (o PlacementV1ClusterAffinityResponseOutput) RequiredDuringSchedulingIgnoredDuringExecution() PlacementV1ClusterSelectorResponsePtrOutput {
- return o.ApplyT(func(v PlacementV1ClusterAffinityResponse) *PlacementV1ClusterSelectorResponse {
- return v.RequiredDuringSchedulingIgnoredDuringExecution
- }).(PlacementV1ClusterSelectorResponsePtrOutput)
-}
-
-type PlacementV1ClusterAffinityResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1ClusterAffinityResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PlacementV1ClusterAffinityResponse)(nil)).Elem()
-}
-
-func (o PlacementV1ClusterAffinityResponsePtrOutput) ToPlacementV1ClusterAffinityResponsePtrOutput() PlacementV1ClusterAffinityResponsePtrOutput {
- return o
-}
-
-func (o PlacementV1ClusterAffinityResponsePtrOutput) ToPlacementV1ClusterAffinityResponsePtrOutputWithContext(ctx context.Context) PlacementV1ClusterAffinityResponsePtrOutput {
- return o
-}
-
-func (o PlacementV1ClusterAffinityResponsePtrOutput) Elem() PlacementV1ClusterAffinityResponseOutput {
- return o.ApplyT(func(v *PlacementV1ClusterAffinityResponse) PlacementV1ClusterAffinityResponse {
- if v != nil {
- return *v
- }
- var ret PlacementV1ClusterAffinityResponse
- return ret
- }).(PlacementV1ClusterAffinityResponseOutput)
-}
-
-// If the affinity requirements specified by this field are not met at scheduling time, the resource will not be scheduled onto the cluster. If the affinity requirements specified by this field cease to be met at some point after the placement (e.g. due to an update), the system may or may not try to eventually remove the resource from the cluster.
-func (o PlacementV1ClusterAffinityResponsePtrOutput) RequiredDuringSchedulingIgnoredDuringExecution() PlacementV1ClusterSelectorResponsePtrOutput {
- return o.ApplyT(func(v *PlacementV1ClusterAffinityResponse) *PlacementV1ClusterSelectorResponse {
- if v == nil {
- return nil
- }
- return v.RequiredDuringSchedulingIgnoredDuringExecution
- }).(PlacementV1ClusterSelectorResponsePtrOutput)
-}
-
// ClusterResourcePlacementSpec defines the desired state of ClusterResourcePlacement.
type PlacementV1ClusterResourcePlacementSpec struct {
// Policy defines how to select member clusters to place the selected resources. If unspecified, all the joined member clusters are selected.
@@ -29573,68 +29859,6 @@ func (o PlacementV1ClusterResourcePlacementSpecPtrOutput) Policy() PlacementV1Pl
}).(PlacementV1PlacementPolicyPtrOutput)
}
-// ClusterResourcePlacementSpec defines the desired state of ClusterResourcePlacement.
-type PlacementV1ClusterResourcePlacementSpecResponse struct {
- // Policy defines how to select member clusters to place the selected resources. If unspecified, all the joined member clusters are selected.
- Policy *PlacementV1PlacementPolicyResponse `pulumi:"policy"`
-}
-
-// ClusterResourcePlacementSpec defines the desired state of ClusterResourcePlacement.
-type PlacementV1ClusterResourcePlacementSpecResponseOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1ClusterResourcePlacementSpecResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PlacementV1ClusterResourcePlacementSpecResponse)(nil)).Elem()
-}
-
-func (o PlacementV1ClusterResourcePlacementSpecResponseOutput) ToPlacementV1ClusterResourcePlacementSpecResponseOutput() PlacementV1ClusterResourcePlacementSpecResponseOutput {
- return o
-}
-
-func (o PlacementV1ClusterResourcePlacementSpecResponseOutput) ToPlacementV1ClusterResourcePlacementSpecResponseOutputWithContext(ctx context.Context) PlacementV1ClusterResourcePlacementSpecResponseOutput {
- return o
-}
-
-// Policy defines how to select member clusters to place the selected resources. If unspecified, all the joined member clusters are selected.
-func (o PlacementV1ClusterResourcePlacementSpecResponseOutput) Policy() PlacementV1PlacementPolicyResponsePtrOutput {
- return o.ApplyT(func(v PlacementV1ClusterResourcePlacementSpecResponse) *PlacementV1PlacementPolicyResponse {
- return v.Policy
- }).(PlacementV1PlacementPolicyResponsePtrOutput)
-}
-
-type PlacementV1ClusterResourcePlacementSpecResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1ClusterResourcePlacementSpecResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PlacementV1ClusterResourcePlacementSpecResponse)(nil)).Elem()
-}
-
-func (o PlacementV1ClusterResourcePlacementSpecResponsePtrOutput) ToPlacementV1ClusterResourcePlacementSpecResponsePtrOutput() PlacementV1ClusterResourcePlacementSpecResponsePtrOutput {
- return o
-}
-
-func (o PlacementV1ClusterResourcePlacementSpecResponsePtrOutput) ToPlacementV1ClusterResourcePlacementSpecResponsePtrOutputWithContext(ctx context.Context) PlacementV1ClusterResourcePlacementSpecResponsePtrOutput {
- return o
-}
-
-func (o PlacementV1ClusterResourcePlacementSpecResponsePtrOutput) Elem() PlacementV1ClusterResourcePlacementSpecResponseOutput {
- return o.ApplyT(func(v *PlacementV1ClusterResourcePlacementSpecResponse) PlacementV1ClusterResourcePlacementSpecResponse {
- if v != nil {
- return *v
- }
- var ret PlacementV1ClusterResourcePlacementSpecResponse
- return ret
- }).(PlacementV1ClusterResourcePlacementSpecResponseOutput)
-}
-
-// Policy defines how to select member clusters to place the selected resources. If unspecified, all the joined member clusters are selected.
-func (o PlacementV1ClusterResourcePlacementSpecResponsePtrOutput) Policy() PlacementV1PlacementPolicyResponsePtrOutput {
- return o.ApplyT(func(v *PlacementV1ClusterResourcePlacementSpecResponse) *PlacementV1PlacementPolicyResponse {
- if v == nil {
- return nil
- }
- return v.Policy
- }).(PlacementV1PlacementPolicyResponsePtrOutput)
-}
-
// ClusterSelector
type PlacementV1ClusterSelector struct {
// ClusterSelectorTerms is a list of cluster selector terms. The terms are `ORed`.
@@ -29775,68 +29999,6 @@ func (o PlacementV1ClusterSelectorPtrOutput) ClusterSelectorTerms() PlacementV1C
}).(PlacementV1ClusterSelectorTermArrayOutput)
}
-// ClusterSelector
-type PlacementV1ClusterSelectorResponse struct {
- // ClusterSelectorTerms is a list of cluster selector terms. The terms are `ORed`.
- ClusterSelectorTerms []PlacementV1ClusterSelectorTermResponse `pulumi:"clusterSelectorTerms"`
-}
-
-// ClusterSelector
-type PlacementV1ClusterSelectorResponseOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1ClusterSelectorResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PlacementV1ClusterSelectorResponse)(nil)).Elem()
-}
-
-func (o PlacementV1ClusterSelectorResponseOutput) ToPlacementV1ClusterSelectorResponseOutput() PlacementV1ClusterSelectorResponseOutput {
- return o
-}
-
-func (o PlacementV1ClusterSelectorResponseOutput) ToPlacementV1ClusterSelectorResponseOutputWithContext(ctx context.Context) PlacementV1ClusterSelectorResponseOutput {
- return o
-}
-
-// ClusterSelectorTerms is a list of cluster selector terms. The terms are `ORed`.
-func (o PlacementV1ClusterSelectorResponseOutput) ClusterSelectorTerms() PlacementV1ClusterSelectorTermResponseArrayOutput {
- return o.ApplyT(func(v PlacementV1ClusterSelectorResponse) []PlacementV1ClusterSelectorTermResponse {
- return v.ClusterSelectorTerms
- }).(PlacementV1ClusterSelectorTermResponseArrayOutput)
-}
-
-type PlacementV1ClusterSelectorResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1ClusterSelectorResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PlacementV1ClusterSelectorResponse)(nil)).Elem()
-}
-
-func (o PlacementV1ClusterSelectorResponsePtrOutput) ToPlacementV1ClusterSelectorResponsePtrOutput() PlacementV1ClusterSelectorResponsePtrOutput {
- return o
-}
-
-func (o PlacementV1ClusterSelectorResponsePtrOutput) ToPlacementV1ClusterSelectorResponsePtrOutputWithContext(ctx context.Context) PlacementV1ClusterSelectorResponsePtrOutput {
- return o
-}
-
-func (o PlacementV1ClusterSelectorResponsePtrOutput) Elem() PlacementV1ClusterSelectorResponseOutput {
- return o.ApplyT(func(v *PlacementV1ClusterSelectorResponse) PlacementV1ClusterSelectorResponse {
- if v != nil {
- return *v
- }
- var ret PlacementV1ClusterSelectorResponse
- return ret
- }).(PlacementV1ClusterSelectorResponseOutput)
-}
-
-// ClusterSelectorTerms is a list of cluster selector terms. The terms are `ORed`.
-func (o PlacementV1ClusterSelectorResponsePtrOutput) ClusterSelectorTerms() PlacementV1ClusterSelectorTermResponseArrayOutput {
- return o.ApplyT(func(v *PlacementV1ClusterSelectorResponse) []PlacementV1ClusterSelectorTermResponse {
- if v == nil {
- return nil
- }
- return v.ClusterSelectorTerms
- }).(PlacementV1ClusterSelectorTermResponseArrayOutput)
-}
-
// ClusterSelectorTerm
type PlacementV1ClusterSelectorTerm struct {
// LabelSelector is a label query over all the joined member clusters. Clusters matching the query are selected. If you specify both label and property selectors in the same term, the results are AND'd.
@@ -29946,61 +30108,6 @@ func (o PlacementV1ClusterSelectorTermArrayOutput) Index(i pulumi.IntInput) Plac
}).(PlacementV1ClusterSelectorTermOutput)
}
-// ClusterSelectorTerm
-type PlacementV1ClusterSelectorTermResponse struct {
- // LabelSelector is a label query over all the joined member clusters. Clusters matching the query are selected. If you specify both label and property selectors in the same term, the results are AND'd.
- LabelSelector *MetaV1LabelSelectorResponse `pulumi:"labelSelector"`
- // PropertySelector is a property query over all joined member clusters. Clusters matching the query are selected. If you specify both label and property selectors in the same term, the results are AND'd. At this moment, PropertySelector can only be used with `RequiredDuringSchedulingIgnoredDuringExecution` affinity terms. This field is beta-level; it is for the property-based scheduling feature and is only functional when a property provider is enabled in the deployment.
- PropertySelector *PlacementV1PropertySelectorResponse `pulumi:"propertySelector"`
-}
-
-// ClusterSelectorTerm
-type PlacementV1ClusterSelectorTermResponseOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1ClusterSelectorTermResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PlacementV1ClusterSelectorTermResponse)(nil)).Elem()
-}
-
-func (o PlacementV1ClusterSelectorTermResponseOutput) ToPlacementV1ClusterSelectorTermResponseOutput() PlacementV1ClusterSelectorTermResponseOutput {
- return o
-}
-
-func (o PlacementV1ClusterSelectorTermResponseOutput) ToPlacementV1ClusterSelectorTermResponseOutputWithContext(ctx context.Context) PlacementV1ClusterSelectorTermResponseOutput {
- return o
-}
-
-// LabelSelector is a label query over all the joined member clusters. Clusters matching the query are selected. If you specify both label and property selectors in the same term, the results are AND'd.
-func (o PlacementV1ClusterSelectorTermResponseOutput) LabelSelector() MetaV1LabelSelectorResponsePtrOutput {
- return o.ApplyT(func(v PlacementV1ClusterSelectorTermResponse) *MetaV1LabelSelectorResponse { return v.LabelSelector }).(MetaV1LabelSelectorResponsePtrOutput)
-}
-
-// PropertySelector is a property query over all joined member clusters. Clusters matching the query are selected. If you specify both label and property selectors in the same term, the results are AND'd. At this moment, PropertySelector can only be used with `RequiredDuringSchedulingIgnoredDuringExecution` affinity terms. This field is beta-level; it is for the property-based scheduling feature and is only functional when a property provider is enabled in the deployment.
-func (o PlacementV1ClusterSelectorTermResponseOutput) PropertySelector() PlacementV1PropertySelectorResponsePtrOutput {
- return o.ApplyT(func(v PlacementV1ClusterSelectorTermResponse) *PlacementV1PropertySelectorResponse {
- return v.PropertySelector
- }).(PlacementV1PropertySelectorResponsePtrOutput)
-}
-
-type PlacementV1ClusterSelectorTermResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1ClusterSelectorTermResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PlacementV1ClusterSelectorTermResponse)(nil)).Elem()
-}
-
-func (o PlacementV1ClusterSelectorTermResponseArrayOutput) ToPlacementV1ClusterSelectorTermResponseArrayOutput() PlacementV1ClusterSelectorTermResponseArrayOutput {
- return o
-}
-
-func (o PlacementV1ClusterSelectorTermResponseArrayOutput) ToPlacementV1ClusterSelectorTermResponseArrayOutputWithContext(ctx context.Context) PlacementV1ClusterSelectorTermResponseArrayOutput {
- return o
-}
-
-func (o PlacementV1ClusterSelectorTermResponseArrayOutput) Index(i pulumi.IntInput) PlacementV1ClusterSelectorTermResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PlacementV1ClusterSelectorTermResponse {
- return vs[0].([]PlacementV1ClusterSelectorTermResponse)[vs[1].(int)]
- }).(PlacementV1ClusterSelectorTermResponseOutput)
-}
-
// PlacementPolicy contains the rules to select target member clusters to place the selected resources. Note that only clusters that are both joined and satisfying the rules will be selected. You can only specify at most one of the two fields: ClusterNames and Affinity. If none is specified, all the joined clusters are selected.
type PlacementV1PlacementPolicy struct {
// Affinity contains cluster affinity scheduling rules. Defines which member clusters to place the selected resources. Only valid if the placement type is "PickAll" or "PickN".
@@ -30198,117 +30305,6 @@ func (o PlacementV1PlacementPolicyPtrOutput) Tolerations() PlacementV1Toleration
}).(PlacementV1TolerationArrayOutput)
}
-// PlacementPolicy contains the rules to select target member clusters to place the selected resources. Note that only clusters that are both joined and satisfying the rules will be selected. You can only specify at most one of the two fields: ClusterNames and Affinity. If none is specified, all the joined clusters are selected.
-type PlacementV1PlacementPolicyResponse struct {
- // Affinity contains cluster affinity scheduling rules. Defines which member clusters to place the selected resources. Only valid if the placement type is "PickAll" or "PickN".
- Affinity *PlacementV1AffinityResponse `pulumi:"affinity"`
- // ClusterNames contains a list of names of MemberCluster to place the selected resources. Only valid if the placement type is "PickFixed"
- ClusterNames []string `pulumi:"clusterNames"`
- // Type of placement. Can be "PickAll", "PickN" or "PickFixed". Default is PickAll.
- PlacementType *string `pulumi:"placementType"`
- // If specified, the ClusterResourcePlacement's Tolerations. Tolerations cannot be updated or deleted. This field is beta-level and is for the taints and tolerations feature.
- Tolerations []PlacementV1TolerationResponse `pulumi:"tolerations"`
-}
-
-// PlacementPolicy contains the rules to select target member clusters to place the selected resources. Note that only clusters that are both joined and satisfying the rules will be selected. You can only specify at most one of the two fields: ClusterNames and Affinity. If none is specified, all the joined clusters are selected.
-type PlacementV1PlacementPolicyResponseOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1PlacementPolicyResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PlacementV1PlacementPolicyResponse)(nil)).Elem()
-}
-
-func (o PlacementV1PlacementPolicyResponseOutput) ToPlacementV1PlacementPolicyResponseOutput() PlacementV1PlacementPolicyResponseOutput {
- return o
-}
-
-func (o PlacementV1PlacementPolicyResponseOutput) ToPlacementV1PlacementPolicyResponseOutputWithContext(ctx context.Context) PlacementV1PlacementPolicyResponseOutput {
- return o
-}
-
-// Affinity contains cluster affinity scheduling rules. Defines which member clusters to place the selected resources. Only valid if the placement type is "PickAll" or "PickN".
-func (o PlacementV1PlacementPolicyResponseOutput) Affinity() PlacementV1AffinityResponsePtrOutput {
- return o.ApplyT(func(v PlacementV1PlacementPolicyResponse) *PlacementV1AffinityResponse { return v.Affinity }).(PlacementV1AffinityResponsePtrOutput)
-}
-
-// ClusterNames contains a list of names of MemberCluster to place the selected resources. Only valid if the placement type is "PickFixed"
-func (o PlacementV1PlacementPolicyResponseOutput) ClusterNames() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PlacementV1PlacementPolicyResponse) []string { return v.ClusterNames }).(pulumi.StringArrayOutput)
-}
-
-// Type of placement. Can be "PickAll", "PickN" or "PickFixed". Default is PickAll.
-func (o PlacementV1PlacementPolicyResponseOutput) PlacementType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PlacementV1PlacementPolicyResponse) *string { return v.PlacementType }).(pulumi.StringPtrOutput)
-}
-
-// If specified, the ClusterResourcePlacement's Tolerations. Tolerations cannot be updated or deleted. This field is beta-level and is for the taints and tolerations feature.
-func (o PlacementV1PlacementPolicyResponseOutput) Tolerations() PlacementV1TolerationResponseArrayOutput {
- return o.ApplyT(func(v PlacementV1PlacementPolicyResponse) []PlacementV1TolerationResponse { return v.Tolerations }).(PlacementV1TolerationResponseArrayOutput)
-}
-
-type PlacementV1PlacementPolicyResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1PlacementPolicyResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PlacementV1PlacementPolicyResponse)(nil)).Elem()
-}
-
-func (o PlacementV1PlacementPolicyResponsePtrOutput) ToPlacementV1PlacementPolicyResponsePtrOutput() PlacementV1PlacementPolicyResponsePtrOutput {
- return o
-}
-
-func (o PlacementV1PlacementPolicyResponsePtrOutput) ToPlacementV1PlacementPolicyResponsePtrOutputWithContext(ctx context.Context) PlacementV1PlacementPolicyResponsePtrOutput {
- return o
-}
-
-func (o PlacementV1PlacementPolicyResponsePtrOutput) Elem() PlacementV1PlacementPolicyResponseOutput {
- return o.ApplyT(func(v *PlacementV1PlacementPolicyResponse) PlacementV1PlacementPolicyResponse {
- if v != nil {
- return *v
- }
- var ret PlacementV1PlacementPolicyResponse
- return ret
- }).(PlacementV1PlacementPolicyResponseOutput)
-}
-
-// Affinity contains cluster affinity scheduling rules. Defines which member clusters to place the selected resources. Only valid if the placement type is "PickAll" or "PickN".
-func (o PlacementV1PlacementPolicyResponsePtrOutput) Affinity() PlacementV1AffinityResponsePtrOutput {
- return o.ApplyT(func(v *PlacementV1PlacementPolicyResponse) *PlacementV1AffinityResponse {
- if v == nil {
- return nil
- }
- return v.Affinity
- }).(PlacementV1AffinityResponsePtrOutput)
-}
-
-// ClusterNames contains a list of names of MemberCluster to place the selected resources. Only valid if the placement type is "PickFixed"
-func (o PlacementV1PlacementPolicyResponsePtrOutput) ClusterNames() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PlacementV1PlacementPolicyResponse) []string {
- if v == nil {
- return nil
- }
- return v.ClusterNames
- }).(pulumi.StringArrayOutput)
-}
-
-// Type of placement. Can be "PickAll", "PickN" or "PickFixed". Default is PickAll.
-func (o PlacementV1PlacementPolicyResponsePtrOutput) PlacementType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PlacementV1PlacementPolicyResponse) *string {
- if v == nil {
- return nil
- }
- return v.PlacementType
- }).(pulumi.StringPtrOutput)
-}
-
-// If specified, the ClusterResourcePlacement's Tolerations. Tolerations cannot be updated or deleted. This field is beta-level and is for the taints and tolerations feature.
-func (o PlacementV1PlacementPolicyResponsePtrOutput) Tolerations() PlacementV1TolerationResponseArrayOutput {
- return o.ApplyT(func(v *PlacementV1PlacementPolicyResponse) []PlacementV1TolerationResponse {
- if v == nil {
- return nil
- }
- return v.Tolerations
- }).(PlacementV1TolerationResponseArrayOutput)
-}
-
// PropertySelector helps user specify property requirements when picking clusters for resource placement.
type PlacementV1PropertySelector struct {
// MatchExpressions is an array of PropertySelectorRequirements. The requirements are AND'd.
@@ -30569,128 +30565,6 @@ func (o PlacementV1PropertySelectorRequirementArrayOutput) Index(i pulumi.IntInp
}).(PlacementV1PropertySelectorRequirementOutput)
}
-// PropertySelectorRequirement is a specific property requirement when picking clusters for resource placement.
-type PlacementV1PropertySelectorRequirementResponse struct {
- // Name is the name of the property; it should be a Kubernetes label name.
- Name string `pulumi:"name"`
- // Operator specifies the relationship between a cluster's observed value of the specified property and the values given in the requirement.
- Operator string `pulumi:"operator"`
- // Values are a list of values of the specified property which Fleet will compare against the observed values of individual member clusters in accordance with the given operator. At this moment, each value should be a Kubernetes quantity. For more information, see https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#Quantity. If the operator is Gt (greater than), Ge (greater than or equal to), Lt (less than), or `Le` (less than or equal to), Eq (equal to), or Ne (ne), exactly one value must be specified in the list.
- Values []string `pulumi:"values"`
-}
-
-// PropertySelectorRequirement is a specific property requirement when picking clusters for resource placement.
-type PlacementV1PropertySelectorRequirementResponseOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1PropertySelectorRequirementResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PlacementV1PropertySelectorRequirementResponse)(nil)).Elem()
-}
-
-func (o PlacementV1PropertySelectorRequirementResponseOutput) ToPlacementV1PropertySelectorRequirementResponseOutput() PlacementV1PropertySelectorRequirementResponseOutput {
- return o
-}
-
-func (o PlacementV1PropertySelectorRequirementResponseOutput) ToPlacementV1PropertySelectorRequirementResponseOutputWithContext(ctx context.Context) PlacementV1PropertySelectorRequirementResponseOutput {
- return o
-}
-
-// Name is the name of the property; it should be a Kubernetes label name.
-func (o PlacementV1PropertySelectorRequirementResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v PlacementV1PropertySelectorRequirementResponse) string { return v.Name }).(pulumi.StringOutput)
-}
-
-// Operator specifies the relationship between a cluster's observed value of the specified property and the values given in the requirement.
-func (o PlacementV1PropertySelectorRequirementResponseOutput) Operator() pulumi.StringOutput {
- return o.ApplyT(func(v PlacementV1PropertySelectorRequirementResponse) string { return v.Operator }).(pulumi.StringOutput)
-}
-
-// Values are a list of values of the specified property which Fleet will compare against the observed values of individual member clusters in accordance with the given operator. At this moment, each value should be a Kubernetes quantity. For more information, see https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#Quantity. If the operator is Gt (greater than), Ge (greater than or equal to), Lt (less than), or `Le` (less than or equal to), Eq (equal to), or Ne (ne), exactly one value must be specified in the list.
-func (o PlacementV1PropertySelectorRequirementResponseOutput) Values() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PlacementV1PropertySelectorRequirementResponse) []string { return v.Values }).(pulumi.StringArrayOutput)
-}
-
-type PlacementV1PropertySelectorRequirementResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1PropertySelectorRequirementResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PlacementV1PropertySelectorRequirementResponse)(nil)).Elem()
-}
-
-func (o PlacementV1PropertySelectorRequirementResponseArrayOutput) ToPlacementV1PropertySelectorRequirementResponseArrayOutput() PlacementV1PropertySelectorRequirementResponseArrayOutput {
- return o
-}
-
-func (o PlacementV1PropertySelectorRequirementResponseArrayOutput) ToPlacementV1PropertySelectorRequirementResponseArrayOutputWithContext(ctx context.Context) PlacementV1PropertySelectorRequirementResponseArrayOutput {
- return o
-}
-
-func (o PlacementV1PropertySelectorRequirementResponseArrayOutput) Index(i pulumi.IntInput) PlacementV1PropertySelectorRequirementResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PlacementV1PropertySelectorRequirementResponse {
- return vs[0].([]PlacementV1PropertySelectorRequirementResponse)[vs[1].(int)]
- }).(PlacementV1PropertySelectorRequirementResponseOutput)
-}
-
-// PropertySelector helps user specify property requirements when picking clusters for resource placement.
-type PlacementV1PropertySelectorResponse struct {
- // MatchExpressions is an array of PropertySelectorRequirements. The requirements are AND'd.
- MatchExpressions []PlacementV1PropertySelectorRequirementResponse `pulumi:"matchExpressions"`
-}
-
-// PropertySelector helps user specify property requirements when picking clusters for resource placement.
-type PlacementV1PropertySelectorResponseOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1PropertySelectorResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PlacementV1PropertySelectorResponse)(nil)).Elem()
-}
-
-func (o PlacementV1PropertySelectorResponseOutput) ToPlacementV1PropertySelectorResponseOutput() PlacementV1PropertySelectorResponseOutput {
- return o
-}
-
-func (o PlacementV1PropertySelectorResponseOutput) ToPlacementV1PropertySelectorResponseOutputWithContext(ctx context.Context) PlacementV1PropertySelectorResponseOutput {
- return o
-}
-
-// MatchExpressions is an array of PropertySelectorRequirements. The requirements are AND'd.
-func (o PlacementV1PropertySelectorResponseOutput) MatchExpressions() PlacementV1PropertySelectorRequirementResponseArrayOutput {
- return o.ApplyT(func(v PlacementV1PropertySelectorResponse) []PlacementV1PropertySelectorRequirementResponse {
- return v.MatchExpressions
- }).(PlacementV1PropertySelectorRequirementResponseArrayOutput)
-}
-
-type PlacementV1PropertySelectorResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1PropertySelectorResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PlacementV1PropertySelectorResponse)(nil)).Elem()
-}
-
-func (o PlacementV1PropertySelectorResponsePtrOutput) ToPlacementV1PropertySelectorResponsePtrOutput() PlacementV1PropertySelectorResponsePtrOutput {
- return o
-}
-
-func (o PlacementV1PropertySelectorResponsePtrOutput) ToPlacementV1PropertySelectorResponsePtrOutputWithContext(ctx context.Context) PlacementV1PropertySelectorResponsePtrOutput {
- return o
-}
-
-func (o PlacementV1PropertySelectorResponsePtrOutput) Elem() PlacementV1PropertySelectorResponseOutput {
- return o.ApplyT(func(v *PlacementV1PropertySelectorResponse) PlacementV1PropertySelectorResponse {
- if v != nil {
- return *v
- }
- var ret PlacementV1PropertySelectorResponse
- return ret
- }).(PlacementV1PropertySelectorResponseOutput)
-}
-
-// MatchExpressions is an array of PropertySelectorRequirements. The requirements are AND'd.
-func (o PlacementV1PropertySelectorResponsePtrOutput) MatchExpressions() PlacementV1PropertySelectorRequirementResponseArrayOutput {
- return o.ApplyT(func(v *PlacementV1PropertySelectorResponse) []PlacementV1PropertySelectorRequirementResponse {
- if v == nil {
- return nil
- }
- return v.MatchExpressions
- }).(PlacementV1PropertySelectorRequirementResponseArrayOutput)
-}
-
// Toleration allows ClusterResourcePlacement to tolerate any taint that matches the triple using the matching operator .
type PlacementV1Toleration struct {
// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, only allowed value is NoSchedule.
@@ -30818,73 +30692,6 @@ func (o PlacementV1TolerationArrayOutput) Index(i pulumi.IntInput) PlacementV1To
}).(PlacementV1TolerationOutput)
}
-// Toleration allows ClusterResourcePlacement to tolerate any taint that matches the triple using the matching operator .
-type PlacementV1TolerationResponse struct {
- // Effect indicates the taint effect to match. Empty means match all taint effects. When specified, only allowed value is NoSchedule.
- Effect *string `pulumi:"effect"`
- // Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- Key *string `pulumi:"key"`
- // Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ClusterResourcePlacement can tolerate all taints of a particular category.
- Operator *string `pulumi:"operator"`
- // Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- Value *string `pulumi:"value"`
-}
-
-// Toleration allows ClusterResourcePlacement to tolerate any taint that matches the triple using the matching operator .
-type PlacementV1TolerationResponseOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1TolerationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PlacementV1TolerationResponse)(nil)).Elem()
-}
-
-func (o PlacementV1TolerationResponseOutput) ToPlacementV1TolerationResponseOutput() PlacementV1TolerationResponseOutput {
- return o
-}
-
-func (o PlacementV1TolerationResponseOutput) ToPlacementV1TolerationResponseOutputWithContext(ctx context.Context) PlacementV1TolerationResponseOutput {
- return o
-}
-
-// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, only allowed value is NoSchedule.
-func (o PlacementV1TolerationResponseOutput) Effect() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PlacementV1TolerationResponse) *string { return v.Effect }).(pulumi.StringPtrOutput)
-}
-
-// Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
-func (o PlacementV1TolerationResponseOutput) Key() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PlacementV1TolerationResponse) *string { return v.Key }).(pulumi.StringPtrOutput)
-}
-
-// Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ClusterResourcePlacement can tolerate all taints of a particular category.
-func (o PlacementV1TolerationResponseOutput) Operator() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PlacementV1TolerationResponse) *string { return v.Operator }).(pulumi.StringPtrOutput)
-}
-
-// Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
-func (o PlacementV1TolerationResponseOutput) Value() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PlacementV1TolerationResponse) *string { return v.Value }).(pulumi.StringPtrOutput)
-}
-
-type PlacementV1TolerationResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (PlacementV1TolerationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PlacementV1TolerationResponse)(nil)).Elem()
-}
-
-func (o PlacementV1TolerationResponseArrayOutput) ToPlacementV1TolerationResponseArrayOutput() PlacementV1TolerationResponseArrayOutput {
- return o
-}
-
-func (o PlacementV1TolerationResponseArrayOutput) ToPlacementV1TolerationResponseArrayOutputWithContext(ctx context.Context) PlacementV1TolerationResponseArrayOutput {
- return o
-}
-
-func (o PlacementV1TolerationResponseArrayOutput) Index(i pulumi.IntInput) PlacementV1TolerationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PlacementV1TolerationResponse {
- return vs[0].([]PlacementV1TolerationResponse)[vs[1].(int)]
- }).(PlacementV1TolerationResponseOutput)
-}
-
// The port range.
type PortRange struct {
// The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
@@ -32013,6 +31820,126 @@ func (o PropagationPolicyResponsePtrOutput) Type() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
+// PropertySelectorRequirement is a specific property requirement when picking clusters for resource placement.
+type PropertySelectorRequirementResponse struct {
+ // Name is the name of the property; it should be a Kubernetes label name.
+ Name string `pulumi:"name"`
+ // Operator specifies the relationship between a cluster's observed value of the specified property and the values given in the requirement.
+ Operator string `pulumi:"operator"`
+ // Values are a list of values of the specified property which Fleet will compare against the observed values of individual member clusters in accordance with the given operator. At this moment, each value should be a Kubernetes quantity. For more information, see https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#Quantity. If the operator is Gt (greater than), Ge (greater than or equal to), Lt (less than), or `Le` (less than or equal to), Eq (equal to), or Ne (ne), exactly one value must be specified in the list.
+ Values []string `pulumi:"values"`
+}
+
+// PropertySelectorRequirement is a specific property requirement when picking clusters for resource placement.
+type PropertySelectorRequirementResponseOutput struct{ *pulumi.OutputState }
+
+func (PropertySelectorRequirementResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PropertySelectorRequirementResponse)(nil)).Elem()
+}
+
+func (o PropertySelectorRequirementResponseOutput) ToPropertySelectorRequirementResponseOutput() PropertySelectorRequirementResponseOutput {
+ return o
+}
+
+func (o PropertySelectorRequirementResponseOutput) ToPropertySelectorRequirementResponseOutputWithContext(ctx context.Context) PropertySelectorRequirementResponseOutput {
+ return o
+}
+
+// Name is the name of the property; it should be a Kubernetes label name.
+func (o PropertySelectorRequirementResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v PropertySelectorRequirementResponse) string { return v.Name }).(pulumi.StringOutput)
+}
+
+// Operator specifies the relationship between a cluster's observed value of the specified property and the values given in the requirement.
+func (o PropertySelectorRequirementResponseOutput) Operator() pulumi.StringOutput {
+ return o.ApplyT(func(v PropertySelectorRequirementResponse) string { return v.Operator }).(pulumi.StringOutput)
+}
+
+// Values are a list of values of the specified property which Fleet will compare against the observed values of individual member clusters in accordance with the given operator. At this moment, each value should be a Kubernetes quantity. For more information, see https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#Quantity. If the operator is Gt (greater than), Ge (greater than or equal to), Lt (less than), or `Le` (less than or equal to), Eq (equal to), or Ne (ne), exactly one value must be specified in the list.
+func (o PropertySelectorRequirementResponseOutput) Values() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PropertySelectorRequirementResponse) []string { return v.Values }).(pulumi.StringArrayOutput)
+}
+
+type PropertySelectorRequirementResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (PropertySelectorRequirementResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PropertySelectorRequirementResponse)(nil)).Elem()
+}
+
+func (o PropertySelectorRequirementResponseArrayOutput) ToPropertySelectorRequirementResponseArrayOutput() PropertySelectorRequirementResponseArrayOutput {
+ return o
+}
+
+func (o PropertySelectorRequirementResponseArrayOutput) ToPropertySelectorRequirementResponseArrayOutputWithContext(ctx context.Context) PropertySelectorRequirementResponseArrayOutput {
+ return o
+}
+
+func (o PropertySelectorRequirementResponseArrayOutput) Index(i pulumi.IntInput) PropertySelectorRequirementResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PropertySelectorRequirementResponse {
+ return vs[0].([]PropertySelectorRequirementResponse)[vs[1].(int)]
+ }).(PropertySelectorRequirementResponseOutput)
+}
+
+// PropertySelector helps user specify property requirements when picking clusters for resource placement.
+type PropertySelectorResponse struct {
+ // MatchExpressions is an array of PropertySelectorRequirements. The requirements are AND'd.
+ MatchExpressions []PropertySelectorRequirementResponse `pulumi:"matchExpressions"`
+}
+
+// PropertySelector helps user specify property requirements when picking clusters for resource placement.
+type PropertySelectorResponseOutput struct{ *pulumi.OutputState }
+
+func (PropertySelectorResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PropertySelectorResponse)(nil)).Elem()
+}
+
+func (o PropertySelectorResponseOutput) ToPropertySelectorResponseOutput() PropertySelectorResponseOutput {
+ return o
+}
+
+func (o PropertySelectorResponseOutput) ToPropertySelectorResponseOutputWithContext(ctx context.Context) PropertySelectorResponseOutput {
+ return o
+}
+
+// MatchExpressions is an array of PropertySelectorRequirements. The requirements are AND'd.
+func (o PropertySelectorResponseOutput) MatchExpressions() PropertySelectorRequirementResponseArrayOutput {
+ return o.ApplyT(func(v PropertySelectorResponse) []PropertySelectorRequirementResponse { return v.MatchExpressions }).(PropertySelectorRequirementResponseArrayOutput)
+}
+
+type PropertySelectorResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (PropertySelectorResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PropertySelectorResponse)(nil)).Elem()
+}
+
+func (o PropertySelectorResponsePtrOutput) ToPropertySelectorResponsePtrOutput() PropertySelectorResponsePtrOutput {
+ return o
+}
+
+func (o PropertySelectorResponsePtrOutput) ToPropertySelectorResponsePtrOutputWithContext(ctx context.Context) PropertySelectorResponsePtrOutput {
+ return o
+}
+
+func (o PropertySelectorResponsePtrOutput) Elem() PropertySelectorResponseOutput {
+ return o.ApplyT(func(v *PropertySelectorResponse) PropertySelectorResponse {
+ if v != nil {
+ return *v
+ }
+ var ret PropertySelectorResponse
+ return ret
+ }).(PropertySelectorResponseOutput)
+}
+
+// MatchExpressions is an array of PropertySelectorRequirements. The requirements are AND'd.
+func (o PropertySelectorResponsePtrOutput) MatchExpressions() PropertySelectorRequirementResponseArrayOutput {
+ return o.ApplyT(func(v *PropertySelectorResponse) []PropertySelectorRequirementResponse {
+ if v == nil {
+ return nil
+ }
+ return v.MatchExpressions
+ }).(PropertySelectorRequirementResponseArrayOutput)
+}
+
// For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
type RelativeMonthlySchedule struct {
// Specifies on which day of the week the maintenance occurs.
@@ -35040,6 +34967,73 @@ func (o TimeSpanResponseArrayOutput) Index(i pulumi.IntInput) TimeSpanResponseOu
}).(TimeSpanResponseOutput)
}
+// Toleration allows ClusterResourcePlacement to tolerate any taint that matches the triple using the matching operator .
+type TolerationResponse struct {
+ // Effect indicates the taint effect to match. Empty means match all taint effects. When specified, only allowed value is NoSchedule.
+ Effect *string `pulumi:"effect"`
+ // Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
+ Key *string `pulumi:"key"`
+ // Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ClusterResourcePlacement can tolerate all taints of a particular category.
+ Operator *string `pulumi:"operator"`
+ // Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
+ Value *string `pulumi:"value"`
+}
+
+// Toleration allows ClusterResourcePlacement to tolerate any taint that matches the triple using the matching operator .
+type TolerationResponseOutput struct{ *pulumi.OutputState }
+
+func (TolerationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*TolerationResponse)(nil)).Elem()
+}
+
+func (o TolerationResponseOutput) ToTolerationResponseOutput() TolerationResponseOutput {
+ return o
+}
+
+func (o TolerationResponseOutput) ToTolerationResponseOutputWithContext(ctx context.Context) TolerationResponseOutput {
+ return o
+}
+
+// Effect indicates the taint effect to match. Empty means match all taint effects. When specified, only allowed value is NoSchedule.
+func (o TolerationResponseOutput) Effect() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v TolerationResponse) *string { return v.Effect }).(pulumi.StringPtrOutput)
+}
+
+// Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
+func (o TolerationResponseOutput) Key() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v TolerationResponse) *string { return v.Key }).(pulumi.StringPtrOutput)
+}
+
+// Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ClusterResourcePlacement can tolerate all taints of a particular category.
+func (o TolerationResponseOutput) Operator() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v TolerationResponse) *string { return v.Operator }).(pulumi.StringPtrOutput)
+}
+
+// Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
+func (o TolerationResponseOutput) Value() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v TolerationResponse) *string { return v.Value }).(pulumi.StringPtrOutput)
+}
+
+type TolerationResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (TolerationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]TolerationResponse)(nil)).Elem()
+}
+
+func (o TolerationResponseArrayOutput) ToTolerationResponseArrayOutput() TolerationResponseArrayOutput {
+ return o
+}
+
+func (o TolerationResponseArrayOutput) ToTolerationResponseArrayOutputWithContext(ctx context.Context) TolerationResponseArrayOutput {
+ return o
+}
+
+func (o TolerationResponseArrayOutput) Index(i pulumi.IntInput) TolerationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) TolerationResponse {
+ return vs[0].([]TolerationResponse)[vs[1].(int)]
+ }).(TolerationResponseOutput)
+}
+
// A group to be updated.
type UpdateGroup struct {
// Name of the group.
@@ -36167,161 +36161,171 @@ func (o UserAssignedIdentityMapOutput) MapIndex(k pulumi.StringInput) UserAssign
}).(UserAssignedIdentityOutput)
}
-// User assigned identity properties
-type UserAssignedIdentityResponse struct {
- // The client ID of the assigned identity.
- ClientId string `pulumi:"clientId"`
- // The principal ID of the assigned identity.
- PrincipalId string `pulumi:"principalId"`
+// Details about a user assigned identity.
+type UserAssignedIdentityManagedClusterResponse struct {
+ // The client ID of the user assigned identity.
+ ClientId *string `pulumi:"clientId"`
+ // The object ID of the user assigned identity.
+ ObjectId *string `pulumi:"objectId"`
+ // The resource ID of the user assigned identity.
+ ResourceId *string `pulumi:"resourceId"`
}
-// User assigned identity properties
-type UserAssignedIdentityResponseOutput struct{ *pulumi.OutputState }
+// Details about a user assigned identity.
+type UserAssignedIdentityManagedClusterResponseOutput struct{ *pulumi.OutputState }
-func (UserAssignedIdentityResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*UserAssignedIdentityResponse)(nil)).Elem()
+func (UserAssignedIdentityManagedClusterResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*UserAssignedIdentityManagedClusterResponse)(nil)).Elem()
}
-func (o UserAssignedIdentityResponseOutput) ToUserAssignedIdentityResponseOutput() UserAssignedIdentityResponseOutput {
+func (o UserAssignedIdentityManagedClusterResponseOutput) ToUserAssignedIdentityManagedClusterResponseOutput() UserAssignedIdentityManagedClusterResponseOutput {
return o
}
-func (o UserAssignedIdentityResponseOutput) ToUserAssignedIdentityResponseOutputWithContext(ctx context.Context) UserAssignedIdentityResponseOutput {
+func (o UserAssignedIdentityManagedClusterResponseOutput) ToUserAssignedIdentityManagedClusterResponseOutputWithContext(ctx context.Context) UserAssignedIdentityManagedClusterResponseOutput {
return o
}
-// The client ID of the assigned identity.
-func (o UserAssignedIdentityResponseOutput) ClientId() pulumi.StringOutput {
- return o.ApplyT(func(v UserAssignedIdentityResponse) string { return v.ClientId }).(pulumi.StringOutput)
+// The client ID of the user assigned identity.
+func (o UserAssignedIdentityManagedClusterResponseOutput) ClientId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v UserAssignedIdentityManagedClusterResponse) *string { return v.ClientId }).(pulumi.StringPtrOutput)
}
-// The principal ID of the assigned identity.
-func (o UserAssignedIdentityResponseOutput) PrincipalId() pulumi.StringOutput {
- return o.ApplyT(func(v UserAssignedIdentityResponse) string { return v.PrincipalId }).(pulumi.StringOutput)
+// The object ID of the user assigned identity.
+func (o UserAssignedIdentityManagedClusterResponseOutput) ObjectId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v UserAssignedIdentityManagedClusterResponse) *string { return v.ObjectId }).(pulumi.StringPtrOutput)
+}
+
+// The resource ID of the user assigned identity.
+func (o UserAssignedIdentityManagedClusterResponseOutput) ResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v UserAssignedIdentityManagedClusterResponse) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
}
-type UserAssignedIdentityResponsePtrOutput struct{ *pulumi.OutputState }
+type UserAssignedIdentityManagedClusterResponsePtrOutput struct{ *pulumi.OutputState }
-func (UserAssignedIdentityResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**UserAssignedIdentityResponse)(nil)).Elem()
+func (UserAssignedIdentityManagedClusterResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**UserAssignedIdentityManagedClusterResponse)(nil)).Elem()
}
-func (o UserAssignedIdentityResponsePtrOutput) ToUserAssignedIdentityResponsePtrOutput() UserAssignedIdentityResponsePtrOutput {
+func (o UserAssignedIdentityManagedClusterResponsePtrOutput) ToUserAssignedIdentityManagedClusterResponsePtrOutput() UserAssignedIdentityManagedClusterResponsePtrOutput {
return o
}
-func (o UserAssignedIdentityResponsePtrOutput) ToUserAssignedIdentityResponsePtrOutputWithContext(ctx context.Context) UserAssignedIdentityResponsePtrOutput {
+func (o UserAssignedIdentityManagedClusterResponsePtrOutput) ToUserAssignedIdentityManagedClusterResponsePtrOutputWithContext(ctx context.Context) UserAssignedIdentityManagedClusterResponsePtrOutput {
return o
}
-func (o UserAssignedIdentityResponsePtrOutput) Elem() UserAssignedIdentityResponseOutput {
- return o.ApplyT(func(v *UserAssignedIdentityResponse) UserAssignedIdentityResponse {
+func (o UserAssignedIdentityManagedClusterResponsePtrOutput) Elem() UserAssignedIdentityManagedClusterResponseOutput {
+ return o.ApplyT(func(v *UserAssignedIdentityManagedClusterResponse) UserAssignedIdentityManagedClusterResponse {
if v != nil {
return *v
}
- var ret UserAssignedIdentityResponse
+ var ret UserAssignedIdentityManagedClusterResponse
return ret
- }).(UserAssignedIdentityResponseOutput)
+ }).(UserAssignedIdentityManagedClusterResponseOutput)
}
-// The client ID of the assigned identity.
-func (o UserAssignedIdentityResponsePtrOutput) ClientId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *UserAssignedIdentityResponse) *string {
+// The client ID of the user assigned identity.
+func (o UserAssignedIdentityManagedClusterResponsePtrOutput) ClientId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *UserAssignedIdentityManagedClusterResponse) *string {
if v == nil {
return nil
}
- return &v.ClientId
+ return v.ClientId
}).(pulumi.StringPtrOutput)
}
-// The principal ID of the assigned identity.
-func (o UserAssignedIdentityResponsePtrOutput) PrincipalId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *UserAssignedIdentityResponse) *string {
+// The object ID of the user assigned identity.
+func (o UserAssignedIdentityManagedClusterResponsePtrOutput) ObjectId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *UserAssignedIdentityManagedClusterResponse) *string {
if v == nil {
return nil
}
- return &v.PrincipalId
+ return v.ObjectId
}).(pulumi.StringPtrOutput)
}
-type UserAssignedIdentityResponseMapOutput struct{ *pulumi.OutputState }
+// The resource ID of the user assigned identity.
+func (o UserAssignedIdentityManagedClusterResponsePtrOutput) ResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *UserAssignedIdentityManagedClusterResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ResourceId
+ }).(pulumi.StringPtrOutput)
+}
-func (UserAssignedIdentityResponseMapOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*map[string]UserAssignedIdentityResponse)(nil)).Elem()
+type UserAssignedIdentityManagedClusterResponseMapOutput struct{ *pulumi.OutputState }
+
+func (UserAssignedIdentityManagedClusterResponseMapOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*map[string]UserAssignedIdentityManagedClusterResponse)(nil)).Elem()
}
-func (o UserAssignedIdentityResponseMapOutput) ToUserAssignedIdentityResponseMapOutput() UserAssignedIdentityResponseMapOutput {
+func (o UserAssignedIdentityManagedClusterResponseMapOutput) ToUserAssignedIdentityManagedClusterResponseMapOutput() UserAssignedIdentityManagedClusterResponseMapOutput {
return o
}
-func (o UserAssignedIdentityResponseMapOutput) ToUserAssignedIdentityResponseMapOutputWithContext(ctx context.Context) UserAssignedIdentityResponseMapOutput {
+func (o UserAssignedIdentityManagedClusterResponseMapOutput) ToUserAssignedIdentityManagedClusterResponseMapOutputWithContext(ctx context.Context) UserAssignedIdentityManagedClusterResponseMapOutput {
return o
}
-func (o UserAssignedIdentityResponseMapOutput) MapIndex(k pulumi.StringInput) UserAssignedIdentityResponseOutput {
- return pulumi.All(o, k).ApplyT(func(vs []interface{}) UserAssignedIdentityResponse {
- return vs[0].(map[string]UserAssignedIdentityResponse)[vs[1].(string)]
- }).(UserAssignedIdentityResponseOutput)
+func (o UserAssignedIdentityManagedClusterResponseMapOutput) MapIndex(k pulumi.StringInput) UserAssignedIdentityManagedClusterResponseOutput {
+ return pulumi.All(o, k).ApplyT(func(vs []interface{}) UserAssignedIdentityManagedClusterResponse {
+ return vs[0].(map[string]UserAssignedIdentityManagedClusterResponse)[vs[1].(string)]
+ }).(UserAssignedIdentityManagedClusterResponseOutput)
}
-// Details about a user assigned identity.
-type UserAssignedIdentityResponseV1 struct {
- // The client ID of the user assigned identity.
- ClientId *string `pulumi:"clientId"`
- // The object ID of the user assigned identity.
- ObjectId *string `pulumi:"objectId"`
- // The resource ID of the user assigned identity.
- ResourceId *string `pulumi:"resourceId"`
+// User assigned identity properties
+type UserAssignedIdentityResponse struct {
+ // The client ID of the assigned identity.
+ ClientId string `pulumi:"clientId"`
+ // The principal ID of the assigned identity.
+ PrincipalId string `pulumi:"principalId"`
}
-// Details about a user assigned identity.
-type UserAssignedIdentityResponseV1Output struct{ *pulumi.OutputState }
+// User assigned identity properties
+type UserAssignedIdentityResponseOutput struct{ *pulumi.OutputState }
-func (UserAssignedIdentityResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*UserAssignedIdentityResponseV1)(nil)).Elem()
+func (UserAssignedIdentityResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*UserAssignedIdentityResponse)(nil)).Elem()
}
-func (o UserAssignedIdentityResponseV1Output) ToUserAssignedIdentityResponseV1Output() UserAssignedIdentityResponseV1Output {
+func (o UserAssignedIdentityResponseOutput) ToUserAssignedIdentityResponseOutput() UserAssignedIdentityResponseOutput {
return o
}
-func (o UserAssignedIdentityResponseV1Output) ToUserAssignedIdentityResponseV1OutputWithContext(ctx context.Context) UserAssignedIdentityResponseV1Output {
+func (o UserAssignedIdentityResponseOutput) ToUserAssignedIdentityResponseOutputWithContext(ctx context.Context) UserAssignedIdentityResponseOutput {
return o
}
-// The client ID of the user assigned identity.
-func (o UserAssignedIdentityResponseV1Output) ClientId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v UserAssignedIdentityResponseV1) *string { return v.ClientId }).(pulumi.StringPtrOutput)
-}
-
-// The object ID of the user assigned identity.
-func (o UserAssignedIdentityResponseV1Output) ObjectId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v UserAssignedIdentityResponseV1) *string { return v.ObjectId }).(pulumi.StringPtrOutput)
+// The client ID of the assigned identity.
+func (o UserAssignedIdentityResponseOutput) ClientId() pulumi.StringOutput {
+ return o.ApplyT(func(v UserAssignedIdentityResponse) string { return v.ClientId }).(pulumi.StringOutput)
}
-// The resource ID of the user assigned identity.
-func (o UserAssignedIdentityResponseV1Output) ResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v UserAssignedIdentityResponseV1) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
+// The principal ID of the assigned identity.
+func (o UserAssignedIdentityResponseOutput) PrincipalId() pulumi.StringOutput {
+ return o.ApplyT(func(v UserAssignedIdentityResponse) string { return v.PrincipalId }).(pulumi.StringOutput)
}
-type UserAssignedIdentityResponseV1MapOutput struct{ *pulumi.OutputState }
+type UserAssignedIdentityResponseMapOutput struct{ *pulumi.OutputState }
-func (UserAssignedIdentityResponseV1MapOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*map[string]UserAssignedIdentityResponseV1)(nil)).Elem()
+func (UserAssignedIdentityResponseMapOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*map[string]UserAssignedIdentityResponse)(nil)).Elem()
}
-func (o UserAssignedIdentityResponseV1MapOutput) ToUserAssignedIdentityResponseV1MapOutput() UserAssignedIdentityResponseV1MapOutput {
+func (o UserAssignedIdentityResponseMapOutput) ToUserAssignedIdentityResponseMapOutput() UserAssignedIdentityResponseMapOutput {
return o
}
-func (o UserAssignedIdentityResponseV1MapOutput) ToUserAssignedIdentityResponseV1MapOutputWithContext(ctx context.Context) UserAssignedIdentityResponseV1MapOutput {
+func (o UserAssignedIdentityResponseMapOutput) ToUserAssignedIdentityResponseMapOutputWithContext(ctx context.Context) UserAssignedIdentityResponseMapOutput {
return o
}
-func (o UserAssignedIdentityResponseV1MapOutput) MapIndex(k pulumi.StringInput) UserAssignedIdentityResponseV1Output {
- return pulumi.All(o, k).ApplyT(func(vs []interface{}) UserAssignedIdentityResponseV1 {
- return vs[0].(map[string]UserAssignedIdentityResponseV1)[vs[1].(string)]
- }).(UserAssignedIdentityResponseV1Output)
+func (o UserAssignedIdentityResponseMapOutput) MapIndex(k pulumi.StringInput) UserAssignedIdentityResponseOutput {
+ return pulumi.All(o, k).ApplyT(func(vs []interface{}) UserAssignedIdentityResponse {
+ return vs[0].(map[string]UserAssignedIdentityResponse)[vs[1].(string)]
+ }).(UserAssignedIdentityResponseOutput)
}
// Current status on a group of nodes of the same vm size.
@@ -37248,6 +37252,8 @@ func init() {
pulumi.RegisterOutputType(AdvancedNetworkingSecurityPtrOutput{})
pulumi.RegisterOutputType(AdvancedNetworkingSecurityResponseOutput{})
pulumi.RegisterOutputType(AdvancedNetworkingSecurityResponsePtrOutput{})
+ pulumi.RegisterOutputType(AffinityResponseOutput{})
+ pulumi.RegisterOutputType(AffinityResponsePtrOutput{})
pulumi.RegisterOutputType(AgentPoolGatewayProfileOutput{})
pulumi.RegisterOutputType(AgentPoolGatewayProfilePtrOutput{})
pulumi.RegisterOutputType(AgentPoolGatewayProfileResponseOutput{})
@@ -37282,6 +37288,14 @@ func init() {
pulumi.RegisterOutputType(AzureKeyVaultKmsPtrOutput{})
pulumi.RegisterOutputType(AzureKeyVaultKmsResponseOutput{})
pulumi.RegisterOutputType(AzureKeyVaultKmsResponsePtrOutput{})
+ pulumi.RegisterOutputType(ClusterAffinityResponseOutput{})
+ pulumi.RegisterOutputType(ClusterAffinityResponsePtrOutput{})
+ pulumi.RegisterOutputType(ClusterResourcePlacementSpecResponseOutput{})
+ pulumi.RegisterOutputType(ClusterResourcePlacementSpecResponsePtrOutput{})
+ pulumi.RegisterOutputType(ClusterSelectorResponseOutput{})
+ pulumi.RegisterOutputType(ClusterSelectorResponsePtrOutput{})
+ pulumi.RegisterOutputType(ClusterSelectorTermResponseOutput{})
+ pulumi.RegisterOutputType(ClusterSelectorTermResponseArrayOutput{})
pulumi.RegisterOutputType(ClusterUpgradeSettingsOutput{})
pulumi.RegisterOutputType(ClusterUpgradeSettingsPtrOutput{})
pulumi.RegisterOutputType(ClusterUpgradeSettingsResponseOutput{})
@@ -37402,8 +37416,12 @@ func init() {
pulumi.RegisterOutputType(KubeletConfigResponsePtrOutput{})
pulumi.RegisterOutputType(LabelSelectorOutput{})
pulumi.RegisterOutputType(LabelSelectorPtrOutput{})
+ pulumi.RegisterOutputType(LabelSelectorLoadBalancerResponseOutput{})
+ pulumi.RegisterOutputType(LabelSelectorLoadBalancerResponsePtrOutput{})
pulumi.RegisterOutputType(LabelSelectorRequirementOutput{})
pulumi.RegisterOutputType(LabelSelectorRequirementArrayOutput{})
+ pulumi.RegisterOutputType(LabelSelectorRequirementLoadBalancerResponseOutput{})
+ pulumi.RegisterOutputType(LabelSelectorRequirementLoadBalancerResponseArrayOutput{})
pulumi.RegisterOutputType(LabelSelectorRequirementResponseOutput{})
pulumi.RegisterOutputType(LabelSelectorRequirementResponseArrayOutput{})
pulumi.RegisterOutputType(LabelSelectorResponseOutput{})
@@ -37649,14 +37667,10 @@ func init() {
pulumi.RegisterOutputType(MetaV1LabelSelectorPtrOutput{})
pulumi.RegisterOutputType(MetaV1LabelSelectorRequirementOutput{})
pulumi.RegisterOutputType(MetaV1LabelSelectorRequirementArrayOutput{})
- pulumi.RegisterOutputType(MetaV1LabelSelectorRequirementResponseOutput{})
- pulumi.RegisterOutputType(MetaV1LabelSelectorRequirementResponseArrayOutput{})
- pulumi.RegisterOutputType(MetaV1LabelSelectorResponseOutput{})
- pulumi.RegisterOutputType(MetaV1LabelSelectorResponsePtrOutput{})
pulumi.RegisterOutputType(NamespacePropertiesOutput{})
pulumi.RegisterOutputType(NamespacePropertiesPtrOutput{})
+ pulumi.RegisterOutputType(NamespacePropertiesNamespaceResponseOutput{})
pulumi.RegisterOutputType(NamespacePropertiesResponseOutput{})
- pulumi.RegisterOutputType(NamespacePropertiesResponseV1Output{})
pulumi.RegisterOutputType(NetworkPoliciesOutput{})
pulumi.RegisterOutputType(NetworkPoliciesPtrOutput{})
pulumi.RegisterOutputType(NetworkPoliciesResponseOutput{})
@@ -37671,46 +37685,30 @@ func init() {
pulumi.RegisterOutputType(NodeImageSelectionStatusResponseOutput{})
pulumi.RegisterOutputType(NodeImageVersionResponseOutput{})
pulumi.RegisterOutputType(NodeImageVersionResponseArrayOutput{})
+ pulumi.RegisterOutputType(PlacementPolicyResponseOutput{})
+ pulumi.RegisterOutputType(PlacementPolicyResponsePtrOutput{})
pulumi.RegisterOutputType(PlacementProfileOutput{})
pulumi.RegisterOutputType(PlacementProfilePtrOutput{})
pulumi.RegisterOutputType(PlacementProfileResponseOutput{})
pulumi.RegisterOutputType(PlacementProfileResponsePtrOutput{})
pulumi.RegisterOutputType(PlacementV1AffinityOutput{})
pulumi.RegisterOutputType(PlacementV1AffinityPtrOutput{})
- pulumi.RegisterOutputType(PlacementV1AffinityResponseOutput{})
- pulumi.RegisterOutputType(PlacementV1AffinityResponsePtrOutput{})
pulumi.RegisterOutputType(PlacementV1ClusterAffinityOutput{})
pulumi.RegisterOutputType(PlacementV1ClusterAffinityPtrOutput{})
- pulumi.RegisterOutputType(PlacementV1ClusterAffinityResponseOutput{})
- pulumi.RegisterOutputType(PlacementV1ClusterAffinityResponsePtrOutput{})
pulumi.RegisterOutputType(PlacementV1ClusterResourcePlacementSpecOutput{})
pulumi.RegisterOutputType(PlacementV1ClusterResourcePlacementSpecPtrOutput{})
- pulumi.RegisterOutputType(PlacementV1ClusterResourcePlacementSpecResponseOutput{})
- pulumi.RegisterOutputType(PlacementV1ClusterResourcePlacementSpecResponsePtrOutput{})
pulumi.RegisterOutputType(PlacementV1ClusterSelectorOutput{})
pulumi.RegisterOutputType(PlacementV1ClusterSelectorPtrOutput{})
- pulumi.RegisterOutputType(PlacementV1ClusterSelectorResponseOutput{})
- pulumi.RegisterOutputType(PlacementV1ClusterSelectorResponsePtrOutput{})
pulumi.RegisterOutputType(PlacementV1ClusterSelectorTermOutput{})
pulumi.RegisterOutputType(PlacementV1ClusterSelectorTermArrayOutput{})
- pulumi.RegisterOutputType(PlacementV1ClusterSelectorTermResponseOutput{})
- pulumi.RegisterOutputType(PlacementV1ClusterSelectorTermResponseArrayOutput{})
pulumi.RegisterOutputType(PlacementV1PlacementPolicyOutput{})
pulumi.RegisterOutputType(PlacementV1PlacementPolicyPtrOutput{})
- pulumi.RegisterOutputType(PlacementV1PlacementPolicyResponseOutput{})
- pulumi.RegisterOutputType(PlacementV1PlacementPolicyResponsePtrOutput{})
pulumi.RegisterOutputType(PlacementV1PropertySelectorOutput{})
pulumi.RegisterOutputType(PlacementV1PropertySelectorPtrOutput{})
pulumi.RegisterOutputType(PlacementV1PropertySelectorRequirementOutput{})
pulumi.RegisterOutputType(PlacementV1PropertySelectorRequirementArrayOutput{})
- pulumi.RegisterOutputType(PlacementV1PropertySelectorRequirementResponseOutput{})
- pulumi.RegisterOutputType(PlacementV1PropertySelectorRequirementResponseArrayOutput{})
- pulumi.RegisterOutputType(PlacementV1PropertySelectorResponseOutput{})
- pulumi.RegisterOutputType(PlacementV1PropertySelectorResponsePtrOutput{})
pulumi.RegisterOutputType(PlacementV1TolerationOutput{})
pulumi.RegisterOutputType(PlacementV1TolerationArrayOutput{})
- pulumi.RegisterOutputType(PlacementV1TolerationResponseOutput{})
- pulumi.RegisterOutputType(PlacementV1TolerationResponseArrayOutput{})
pulumi.RegisterOutputType(PortRangeOutput{})
pulumi.RegisterOutputType(PortRangeArrayOutput{})
pulumi.RegisterOutputType(PortRangeResponseOutput{})
@@ -37733,6 +37731,10 @@ func init() {
pulumi.RegisterOutputType(PropagationPolicyPtrOutput{})
pulumi.RegisterOutputType(PropagationPolicyResponseOutput{})
pulumi.RegisterOutputType(PropagationPolicyResponsePtrOutput{})
+ pulumi.RegisterOutputType(PropertySelectorRequirementResponseOutput{})
+ pulumi.RegisterOutputType(PropertySelectorRequirementResponseArrayOutput{})
+ pulumi.RegisterOutputType(PropertySelectorResponseOutput{})
+ pulumi.RegisterOutputType(PropertySelectorResponsePtrOutput{})
pulumi.RegisterOutputType(RelativeMonthlyScheduleOutput{})
pulumi.RegisterOutputType(RelativeMonthlySchedulePtrOutput{})
pulumi.RegisterOutputType(RelativeMonthlyScheduleResponseOutput{})
@@ -37770,6 +37772,8 @@ func init() {
pulumi.RegisterOutputType(TimeSpanArrayOutput{})
pulumi.RegisterOutputType(TimeSpanResponseOutput{})
pulumi.RegisterOutputType(TimeSpanResponseArrayOutput{})
+ pulumi.RegisterOutputType(TolerationResponseOutput{})
+ pulumi.RegisterOutputType(TolerationResponseArrayOutput{})
pulumi.RegisterOutputType(UpdateGroupOutput{})
pulumi.RegisterOutputType(UpdateGroupArrayOutput{})
pulumi.RegisterOutputType(UpdateGroupResponseOutput{})
@@ -37794,11 +37798,11 @@ func init() {
pulumi.RegisterOutputType(UpgradeOverrideSettingsResponsePtrOutput{})
pulumi.RegisterOutputType(UserAssignedIdentityOutput{})
pulumi.RegisterOutputType(UserAssignedIdentityMapOutput{})
+ pulumi.RegisterOutputType(UserAssignedIdentityManagedClusterResponseOutput{})
+ pulumi.RegisterOutputType(UserAssignedIdentityManagedClusterResponsePtrOutput{})
+ pulumi.RegisterOutputType(UserAssignedIdentityManagedClusterResponseMapOutput{})
pulumi.RegisterOutputType(UserAssignedIdentityResponseOutput{})
- pulumi.RegisterOutputType(UserAssignedIdentityResponsePtrOutput{})
pulumi.RegisterOutputType(UserAssignedIdentityResponseMapOutput{})
- pulumi.RegisterOutputType(UserAssignedIdentityResponseV1Output{})
- pulumi.RegisterOutputType(UserAssignedIdentityResponseV1MapOutput{})
pulumi.RegisterOutputType(VirtualMachineNodesOutput{})
pulumi.RegisterOutputType(VirtualMachineNodesArrayOutput{})
pulumi.RegisterOutputType(VirtualMachineNodesResponseOutput{})
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v3/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v3/pulumi-plugin.json
index 690917d0f..a94227cae 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v3/pulumi-plugin.json
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v3/pulumi-plugin.json
@@ -1,5 +1,5 @@
{
"resource": true,
"name": "azure-native",
- "version": "3.20.0"
+ "version": "3.24.0"
}
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/expressRouteConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/expressRouteConnection.go
index b1ab205d0..fbaa7e9d5 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/expressRouteConnection.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/expressRouteConnection.go
@@ -37,7 +37,7 @@ type ExpressRouteConnection struct {
// The provisioning state of the express route connection resource.
ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"`
// The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration RoutingConfigurationResponseV1PtrOutput `pulumi:"routingConfiguration"`
+ RoutingConfiguration RoutingConfigurationExpressRouteConnectionResponsePtrOutput `pulumi:"routingConfiguration"`
// The routing weight associated to the connection.
RoutingWeight pulumi.IntPtrOutput `pulumi:"routingWeight"`
}
@@ -247,7 +247,7 @@ type expressRouteConnectionArgs struct {
// The name of the resource group.
ResourceGroupName string `pulumi:"resourceGroupName"`
// The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationV1 `pulumi:"routingConfiguration"`
+ RoutingConfiguration *RoutingConfigurationType `pulumi:"routingConfiguration"`
// The routing weight associated to the connection.
RoutingWeight *int `pulumi:"routingWeight"`
}
@@ -275,7 +275,7 @@ type ExpressRouteConnectionArgs struct {
// The name of the resource group.
ResourceGroupName pulumi.StringInput
// The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration RoutingConfigurationV1PtrInput
+ RoutingConfiguration RoutingConfigurationTypePtrInput
// The routing weight associated to the connection.
RoutingWeight pulumi.IntPtrInput
}
@@ -360,8 +360,10 @@ func (o ExpressRouteConnectionOutput) ProvisioningState() pulumi.StringOutput {
}
// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o ExpressRouteConnectionOutput) RoutingConfiguration() RoutingConfigurationResponseV1PtrOutput {
- return o.ApplyT(func(v *ExpressRouteConnection) RoutingConfigurationResponseV1PtrOutput { return v.RoutingConfiguration }).(RoutingConfigurationResponseV1PtrOutput)
+func (o ExpressRouteConnectionOutput) RoutingConfiguration() RoutingConfigurationExpressRouteConnectionResponsePtrOutput {
+ return o.ApplyT(func(v *ExpressRouteConnection) RoutingConfigurationExpressRouteConnectionResponsePtrOutput {
+ return v.RoutingConfiguration
+ }).(RoutingConfigurationExpressRouteConnectionResponsePtrOutput)
}
// The routing weight associated to the connection.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getExpressRouteConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getExpressRouteConnection.go
index 2c50710d5..89b8a1c1c 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getExpressRouteConnection.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getExpressRouteConnection.go
@@ -56,7 +56,7 @@ type LookupExpressRouteConnectionResult struct {
// The provisioning state of the express route connection resource.
ProvisioningState string `pulumi:"provisioningState"`
// The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationResponse `pulumi:"routingConfiguration"`
+ RoutingConfiguration *RoutingConfigurationExpressRouteConnectionResponse `pulumi:"routingConfiguration"`
// The routing weight associated to the connection.
RoutingWeight *int `pulumi:"routingWeight"`
}
@@ -146,10 +146,10 @@ func (o LookupExpressRouteConnectionResultOutput) ProvisioningState() pulumi.Str
}
// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o LookupExpressRouteConnectionResultOutput) RoutingConfiguration() RoutingConfigurationResponsePtrOutput {
- return o.ApplyT(func(v LookupExpressRouteConnectionResult) *RoutingConfigurationResponse {
+func (o LookupExpressRouteConnectionResultOutput) RoutingConfiguration() RoutingConfigurationExpressRouteConnectionResponsePtrOutput {
+ return o.ApplyT(func(v LookupExpressRouteConnectionResult) *RoutingConfigurationExpressRouteConnectionResponse {
return v.RoutingConfiguration
- }).(RoutingConfigurationResponsePtrOutput)
+ }).(RoutingConfigurationExpressRouteConnectionResponsePtrOutput)
}
// The routing weight associated to the connection.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getHubVirtualNetworkConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getHubVirtualNetworkConnection.go
index 9f645a360..4c60afcde 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getHubVirtualNetworkConnection.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getHubVirtualNetworkConnection.go
@@ -56,7 +56,7 @@ type LookupHubVirtualNetworkConnectionResult struct {
// Reference to the remote virtual network.
RemoteVirtualNetwork *SubResourceResponse `pulumi:"remoteVirtualNetwork"`
// The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationResponse `pulumi:"routingConfiguration"`
+ RoutingConfiguration *RoutingConfigurationHubVirtualNetworkConnectionResponse `pulumi:"routingConfiguration"`
}
func LookupHubVirtualNetworkConnectionOutput(ctx *pulumi.Context, args LookupHubVirtualNetworkConnectionOutputArgs, opts ...pulumi.InvokeOption) LookupHubVirtualNetworkConnectionResultOutput {
@@ -142,10 +142,10 @@ func (o LookupHubVirtualNetworkConnectionResultOutput) RemoteVirtualNetwork() Su
}
// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o LookupHubVirtualNetworkConnectionResultOutput) RoutingConfiguration() RoutingConfigurationResponsePtrOutput {
- return o.ApplyT(func(v LookupHubVirtualNetworkConnectionResult) *RoutingConfigurationResponse {
+func (o LookupHubVirtualNetworkConnectionResultOutput) RoutingConfiguration() RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput {
+ return o.ApplyT(func(v LookupHubVirtualNetworkConnectionResult) *RoutingConfigurationHubVirtualNetworkConnectionResponse {
return v.RoutingConfiguration
- }).(RoutingConfigurationResponsePtrOutput)
+ }).(RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput)
}
func init() {
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getInterfaceEndpoint.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getInterfaceEndpoint.go
index d441365a4..02648e857 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getInterfaceEndpoint.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getInterfaceEndpoint.go
@@ -23,7 +23,7 @@ func LookupInterfaceEndpoint(ctx *pulumi.Context, args *LookupInterfaceEndpointA
if err != nil {
return nil, err
}
- return rv.Defaults(), nil
+ return &rv, nil
}
type LookupInterfaceEndpointArgs struct {
@@ -52,29 +52,19 @@ type LookupInterfaceEndpointResult struct {
// Resource name.
Name string `pulumi:"name"`
// Gets an array of references to the network interfaces created for this interface endpoint.
- NetworkInterfaces []NetworkInterfaceResponse `pulumi:"networkInterfaces"`
+ NetworkInterfaces []NetworkInterfaceInterfaceEndpointResponse `pulumi:"networkInterfaces"`
// A read-only property that identifies who created this interface endpoint.
Owner string `pulumi:"owner"`
// The provisioning state of the interface endpoint. Possible values are: 'Updating', 'Deleting', and 'Failed'.
ProvisioningState string `pulumi:"provisioningState"`
// The ID of the subnet from which the private IP will be allocated.
- Subnet *SubnetResponse `pulumi:"subnet"`
+ Subnet *SubnetInterfaceEndpointResponse `pulumi:"subnet"`
// Resource tags.
Tags map[string]string `pulumi:"tags"`
// Resource type.
Type string `pulumi:"type"`
}
-// Defaults sets the appropriate defaults for LookupInterfaceEndpointResult
-func (val *LookupInterfaceEndpointResult) Defaults() *LookupInterfaceEndpointResult {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.Subnet = tmp.Subnet.Defaults()
-
- return &tmp
-}
func LookupInterfaceEndpointOutput(ctx *pulumi.Context, args LookupInterfaceEndpointOutputArgs, opts ...pulumi.InvokeOption) LookupInterfaceEndpointResultOutput {
return pulumi.ToOutputWithContext(ctx.Context(), args).
ApplyT(func(v interface{}) (LookupInterfaceEndpointResultOutput, error) {
@@ -148,8 +138,10 @@ func (o LookupInterfaceEndpointResultOutput) Name() pulumi.StringOutput {
}
// Gets an array of references to the network interfaces created for this interface endpoint.
-func (o LookupInterfaceEndpointResultOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
- return o.ApplyT(func(v LookupInterfaceEndpointResult) []NetworkInterfaceResponse { return v.NetworkInterfaces }).(NetworkInterfaceResponseArrayOutput)
+func (o LookupInterfaceEndpointResultOutput) NetworkInterfaces() NetworkInterfaceInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v LookupInterfaceEndpointResult) []NetworkInterfaceInterfaceEndpointResponse {
+ return v.NetworkInterfaces
+ }).(NetworkInterfaceInterfaceEndpointResponseArrayOutput)
}
// A read-only property that identifies who created this interface endpoint.
@@ -163,8 +155,8 @@ func (o LookupInterfaceEndpointResultOutput) ProvisioningState() pulumi.StringOu
}
// The ID of the subnet from which the private IP will be allocated.
-func (o LookupInterfaceEndpointResultOutput) Subnet() SubnetResponsePtrOutput {
- return o.ApplyT(func(v LookupInterfaceEndpointResult) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
+func (o LookupInterfaceEndpointResultOutput) Subnet() SubnetInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v LookupInterfaceEndpointResult) *SubnetInterfaceEndpointResponse { return v.Subnet }).(SubnetInterfaceEndpointResponsePtrOutput)
}
// Resource tags.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getP2sVpnGatewayP2sVpnConnectionHealth.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getP2sVpnGatewayP2sVpnConnectionHealth.go
index 158d1ba25..26332a4bc 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getP2sVpnGatewayP2sVpnConnectionHealth.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getP2sVpnGatewayP2sVpnConnectionHealth.go
@@ -48,7 +48,7 @@ type GetP2sVpnGatewayP2sVpnConnectionHealthResult struct {
// Resource name.
Name string `pulumi:"name"`
// List of all p2s connection configurations of the gateway.
- P2SConnectionConfigurations []P2SConnectionConfigurationResponseV2 `pulumi:"p2SConnectionConfigurations"`
+ P2SConnectionConfigurations []P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse `pulumi:"p2SConnectionConfigurations"`
// The provisioning state of the P2S VPN gateway resource.
ProvisioningState string `pulumi:"provisioningState"`
// Resource tags.
@@ -131,10 +131,10 @@ func (o GetP2sVpnGatewayP2sVpnConnectionHealthResultOutput) Name() pulumi.String
}
// List of all p2s connection configurations of the gateway.
-func (o GetP2sVpnGatewayP2sVpnConnectionHealthResultOutput) P2SConnectionConfigurations() P2SConnectionConfigurationResponseV2ArrayOutput {
- return o.ApplyT(func(v GetP2sVpnGatewayP2sVpnConnectionHealthResult) []P2SConnectionConfigurationResponseV2 {
+func (o GetP2sVpnGatewayP2sVpnConnectionHealthResultOutput) P2SConnectionConfigurations() P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseArrayOutput {
+ return o.ApplyT(func(v GetP2sVpnGatewayP2sVpnConnectionHealthResult) []P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse {
return v.P2SConnectionConfigurations
- }).(P2SConnectionConfigurationResponseV2ArrayOutput)
+ }).(P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseArrayOutput)
}
// The provisioning state of the P2S VPN gateway resource.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getServiceGateway.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getServiceGateway.go
index 3c65f19f7..82b08585d 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getServiceGateway.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getServiceGateway.go
@@ -62,7 +62,7 @@ type LookupServiceGatewayResult struct {
// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type string `pulumi:"type"`
// Reference to an existing virtual network.
- VirtualNetwork *CommonVirtualNetworkResponse `pulumi:"virtualNetwork"`
+ VirtualNetwork *VirtualNetworkResponse `pulumi:"virtualNetwork"`
// A list of availability zones denoting the zone in which service gateway should be deployed.
//
// - The zone values must be provided as strings representing numeric identifiers like "1", "2", "3" etc.
@@ -188,8 +188,8 @@ func (o LookupServiceGatewayResultOutput) Type() pulumi.StringOutput {
}
// Reference to an existing virtual network.
-func (o LookupServiceGatewayResultOutput) VirtualNetwork() CommonVirtualNetworkResponsePtrOutput {
- return o.ApplyT(func(v LookupServiceGatewayResult) *CommonVirtualNetworkResponse { return v.VirtualNetwork }).(CommonVirtualNetworkResponsePtrOutput)
+func (o LookupServiceGatewayResultOutput) VirtualNetwork() VirtualNetworkResponsePtrOutput {
+ return o.ApplyT(func(v LookupServiceGatewayResult) *VirtualNetworkResponse { return v.VirtualNetwork }).(VirtualNetworkResponsePtrOutput)
}
// A list of availability zones denoting the zone in which service gateway should be deployed.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getVirtualNetwork.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getVirtualNetwork.go
index fcf6e28e2..b014c4120 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getVirtualNetwork.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getVirtualNetwork.go
@@ -82,7 +82,7 @@ type LookupVirtualNetworkResult struct {
// Resource type.
Type string `pulumi:"type"`
// A list of peerings in a Virtual Network.
- VirtualNetworkPeerings []VirtualNetworkPeeringResponse `pulumi:"virtualNetworkPeerings"`
+ VirtualNetworkPeerings []VirtualNetworkPeeringVirtualNetworkResponse `pulumi:"virtualNetworkPeerings"`
}
// Defaults sets the appropriate defaults for LookupVirtualNetworkResult
@@ -249,8 +249,10 @@ func (o LookupVirtualNetworkResultOutput) Type() pulumi.StringOutput {
}
// A list of peerings in a Virtual Network.
-func (o LookupVirtualNetworkResultOutput) VirtualNetworkPeerings() VirtualNetworkPeeringResponseArrayOutput {
- return o.ApplyT(func(v LookupVirtualNetworkResult) []VirtualNetworkPeeringResponse { return v.VirtualNetworkPeerings }).(VirtualNetworkPeeringResponseArrayOutput)
+func (o LookupVirtualNetworkResultOutput) VirtualNetworkPeerings() VirtualNetworkPeeringVirtualNetworkResponseArrayOutput {
+ return o.ApplyT(func(v LookupVirtualNetworkResult) []VirtualNetworkPeeringVirtualNetworkResponse {
+ return v.VirtualNetworkPeerings
+ }).(VirtualNetworkPeeringVirtualNetworkResponseArrayOutput)
}
func init() {
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getVirtualNetworkAppliance.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getVirtualNetworkAppliance.go
index 62960be31..3d2980b54 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getVirtualNetworkAppliance.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getVirtualNetworkAppliance.go
@@ -54,7 +54,7 @@ type LookupVirtualNetworkApplianceResult struct {
// The resource GUID property of the virtual network appliance resource.
ResourceGuid string `pulumi:"resourceGuid"`
// The reference to the subnet resource.
- Subnet *CommonSubnetResponse `pulumi:"subnet"`
+ Subnet *SubnetResponseV2 `pulumi:"subnet"`
// Resource tags.
Tags map[string]string `pulumi:"tags"`
// Resource type.
@@ -154,8 +154,8 @@ func (o LookupVirtualNetworkApplianceResultOutput) ResourceGuid() pulumi.StringO
}
// The reference to the subnet resource.
-func (o LookupVirtualNetworkApplianceResultOutput) Subnet() CommonSubnetResponsePtrOutput {
- return o.ApplyT(func(v LookupVirtualNetworkApplianceResult) *CommonSubnetResponse { return v.Subnet }).(CommonSubnetResponsePtrOutput)
+func (o LookupVirtualNetworkApplianceResultOutput) Subnet() SubnetResponseV2PtrOutput {
+ return o.ApplyT(func(v LookupVirtualNetworkApplianceResult) *SubnetResponseV2 { return v.Subnet }).(SubnetResponseV2PtrOutput)
}
// Resource tags.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getVpnConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getVpnConnection.go
index 06dc4a4d2..b0849a86b 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getVpnConnection.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/getVpnConnection.go
@@ -68,7 +68,7 @@ type LookupVpnConnectionResult struct {
// Id of the connected vpn site.
RemoteVpnSite *SubResourceResponse `pulumi:"remoteVpnSite"`
// The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationResponse `pulumi:"routingConfiguration"`
+ RoutingConfiguration *RoutingConfigurationVpnConnectionResponse `pulumi:"routingConfiguration"`
// Routing weight for vpn connection.
RoutingWeight *int `pulumi:"routingWeight"`
// SharedKey for the vpn connection.
@@ -198,8 +198,10 @@ func (o LookupVpnConnectionResultOutput) RemoteVpnSite() SubResourceResponsePtrO
}
// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o LookupVpnConnectionResultOutput) RoutingConfiguration() RoutingConfigurationResponsePtrOutput {
- return o.ApplyT(func(v LookupVpnConnectionResult) *RoutingConfigurationResponse { return v.RoutingConfiguration }).(RoutingConfigurationResponsePtrOutput)
+func (o LookupVpnConnectionResultOutput) RoutingConfiguration() RoutingConfigurationVpnConnectionResponsePtrOutput {
+ return o.ApplyT(func(v LookupVpnConnectionResult) *RoutingConfigurationVpnConnectionResponse {
+ return v.RoutingConfiguration
+ }).(RoutingConfigurationVpnConnectionResponsePtrOutput)
}
// Routing weight for vpn connection.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/hubVirtualNetworkConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/hubVirtualNetworkConnection.go
index b6a927257..d09ca6947 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/hubVirtualNetworkConnection.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/hubVirtualNetworkConnection.go
@@ -37,7 +37,7 @@ type HubVirtualNetworkConnection struct {
// Reference to the remote virtual network.
RemoteVirtualNetwork SubResourceResponsePtrOutput `pulumi:"remoteVirtualNetwork"`
// The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration RoutingConfigurationResponseV3PtrOutput `pulumi:"routingConfiguration"`
+ RoutingConfiguration RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput `pulumi:"routingConfiguration"`
}
// NewHubVirtualNetworkConnection registers a new resource with the given unique name, arguments, and options.
@@ -193,7 +193,7 @@ type hubVirtualNetworkConnectionArgs struct {
// The resource group name of the HubVirtualNetworkConnection.
ResourceGroupName string `pulumi:"resourceGroupName"`
// The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationV3 `pulumi:"routingConfiguration"`
+ RoutingConfiguration *RoutingConfigurationType `pulumi:"routingConfiguration"`
// The name of the VirtualHub.
VirtualHubName string `pulumi:"virtualHubName"`
}
@@ -217,7 +217,7 @@ type HubVirtualNetworkConnectionArgs struct {
// The resource group name of the HubVirtualNetworkConnection.
ResourceGroupName pulumi.StringInput
// The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration RoutingConfigurationV3PtrInput
+ RoutingConfiguration RoutingConfigurationTypePtrInput
// The name of the VirtualHub.
VirtualHubName pulumi.StringInput
}
@@ -302,10 +302,10 @@ func (o HubVirtualNetworkConnectionOutput) RemoteVirtualNetwork() SubResourceRes
}
// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o HubVirtualNetworkConnectionOutput) RoutingConfiguration() RoutingConfigurationResponseV3PtrOutput {
- return o.ApplyT(func(v *HubVirtualNetworkConnection) RoutingConfigurationResponseV3PtrOutput {
+func (o HubVirtualNetworkConnectionOutput) RoutingConfiguration() RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput {
+ return o.ApplyT(func(v *HubVirtualNetworkConnection) RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput {
return v.RoutingConfiguration
- }).(RoutingConfigurationResponseV3PtrOutput)
+ }).(RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput)
}
func init() {
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/interfaceEndpoint.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/interfaceEndpoint.go
index c01ae562f..4ac79e055 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/interfaceEndpoint.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/interfaceEndpoint.go
@@ -33,13 +33,13 @@ type InterfaceEndpoint struct {
// Resource name.
Name pulumi.StringOutput `pulumi:"name"`
// Gets an array of references to the network interfaces created for this interface endpoint.
- NetworkInterfaces NetworkInterfaceResponseV1ArrayOutput `pulumi:"networkInterfaces"`
+ NetworkInterfaces NetworkInterfaceInterfaceEndpointResponseArrayOutput `pulumi:"networkInterfaces"`
// A read-only property that identifies who created this interface endpoint.
Owner pulumi.StringOutput `pulumi:"owner"`
// The provisioning state of the interface endpoint. Possible values are: 'Updating', 'Deleting', and 'Failed'.
ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"`
// The ID of the subnet from which the private IP will be allocated.
- Subnet SubnetResponsePtrOutput `pulumi:"subnet"`
+ Subnet SubnetInterfaceEndpointResponsePtrOutput `pulumi:"subnet"`
// Resource tags.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// Resource type.
@@ -363,8 +363,10 @@ func (o InterfaceEndpointOutput) Name() pulumi.StringOutput {
}
// Gets an array of references to the network interfaces created for this interface endpoint.
-func (o InterfaceEndpointOutput) NetworkInterfaces() NetworkInterfaceResponseV1ArrayOutput {
- return o.ApplyT(func(v *InterfaceEndpoint) NetworkInterfaceResponseV1ArrayOutput { return v.NetworkInterfaces }).(NetworkInterfaceResponseV1ArrayOutput)
+func (o InterfaceEndpointOutput) NetworkInterfaces() NetworkInterfaceInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v *InterfaceEndpoint) NetworkInterfaceInterfaceEndpointResponseArrayOutput {
+ return v.NetworkInterfaces
+ }).(NetworkInterfaceInterfaceEndpointResponseArrayOutput)
}
// A read-only property that identifies who created this interface endpoint.
@@ -378,8 +380,8 @@ func (o InterfaceEndpointOutput) ProvisioningState() pulumi.StringOutput {
}
// The ID of the subnet from which the private IP will be allocated.
-func (o InterfaceEndpointOutput) Subnet() SubnetResponsePtrOutput {
- return o.ApplyT(func(v *InterfaceEndpoint) SubnetResponsePtrOutput { return v.Subnet }).(SubnetResponsePtrOutput)
+func (o InterfaceEndpointOutput) Subnet() SubnetInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v *InterfaceEndpoint) SubnetInterfaceEndpointResponsePtrOutput { return v.Subnet }).(SubnetInterfaceEndpointResponsePtrOutput)
}
// Resource tags.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/listActiveConnectivityConfigurations.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/listActiveConnectivityConfigurations.go
index a5ab2f196..2d00df150 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/listActiveConnectivityConfigurations.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/listActiveConnectivityConfigurations.go
@@ -44,7 +44,7 @@ type ListActiveConnectivityConfigurationsResult struct {
// When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
SkipToken *string `pulumi:"skipToken"`
// Gets a page of active connectivity configurations.
- Value []ActiveConnectivityConfigurationResponseV1 `pulumi:"value"`
+ Value []ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse `pulumi:"value"`
}
func ListActiveConnectivityConfigurationsOutput(ctx *pulumi.Context, args ListActiveConnectivityConfigurationsOutputArgs, opts ...pulumi.InvokeOption) ListActiveConnectivityConfigurationsResultOutput {
@@ -94,10 +94,10 @@ func (o ListActiveConnectivityConfigurationsResultOutput) SkipToken() pulumi.Str
}
// Gets a page of active connectivity configurations.
-func (o ListActiveConnectivityConfigurationsResultOutput) Value() ActiveConnectivityConfigurationResponseV1ArrayOutput {
- return o.ApplyT(func(v ListActiveConnectivityConfigurationsResult) []ActiveConnectivityConfigurationResponseV1 {
+func (o ListActiveConnectivityConfigurationsResultOutput) Value() ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseArrayOutput {
+ return o.ApplyT(func(v ListActiveConnectivityConfigurationsResult) []ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse {
return v.Value
- }).(ActiveConnectivityConfigurationResponseV1ArrayOutput)
+ }).(ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseArrayOutput)
}
func init() {
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/listNetworkManagerEffectiveConnectivityConfigurations.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/listNetworkManagerEffectiveConnectivityConfigurations.go
index 99e1b1012..72289a470 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/listNetworkManagerEffectiveConnectivityConfigurations.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/listNetworkManagerEffectiveConnectivityConfigurations.go
@@ -42,7 +42,7 @@ type ListNetworkManagerEffectiveConnectivityConfigurationsResult struct {
// When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
SkipToken *string `pulumi:"skipToken"`
// Gets a page of NetworkManagerEffectiveConnectivityConfiguration
- Value []EffectiveConnectivityConfigurationResponseV1 `pulumi:"value"`
+ Value []EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse `pulumi:"value"`
}
func ListNetworkManagerEffectiveConnectivityConfigurationsOutput(ctx *pulumi.Context, args ListNetworkManagerEffectiveConnectivityConfigurationsOutputArgs, opts ...pulumi.InvokeOption) ListNetworkManagerEffectiveConnectivityConfigurationsResultOutput {
@@ -90,10 +90,10 @@ func (o ListNetworkManagerEffectiveConnectivityConfigurationsResultOutput) SkipT
}
// Gets a page of NetworkManagerEffectiveConnectivityConfiguration
-func (o ListNetworkManagerEffectiveConnectivityConfigurationsResultOutput) Value() EffectiveConnectivityConfigurationResponseV1ArrayOutput {
- return o.ApplyT(func(v ListNetworkManagerEffectiveConnectivityConfigurationsResult) []EffectiveConnectivityConfigurationResponseV1 {
+func (o ListNetworkManagerEffectiveConnectivityConfigurationsResultOutput) Value() EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput {
+ return o.ApplyT(func(v ListNetworkManagerEffectiveConnectivityConfigurationsResult) []EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse {
return v.Value
- }).(EffectiveConnectivityConfigurationResponseV1ArrayOutput)
+ }).(EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput)
}
func init() {
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/pulumi-plugin.json
index 690917d0f..a94227cae 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/pulumi-plugin.json
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/pulumi-plugin.json
@@ -1,5 +1,5 @@
{
"resource": true,
"name": "azure-native",
- "version": "3.20.0"
+ "version": "3.24.0"
}
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/pulumiTypes.go
index aba23066e..4cf9bc6e0 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/pulumiTypes.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/pulumiTypes.go
@@ -450,7 +450,7 @@ func (o ActionResponseArrayOutput) Index(i pulumi.IntInput) ActionResponseOutput
// Active connectivity configuration.
type ActiveConnectivityConfigurationResponse struct {
// Groups for configuration
- AppliesToGroups []ConnectivityGroupItemResponseV1 `pulumi:"appliesToGroups"`
+ AppliesToGroups []ConnectivityGroupItemlistActiveConnectivityConfigurationResponse `pulumi:"appliesToGroups"`
// Deployment time string.
CommitTime *string `pulumi:"commitTime"`
// Effective configuration groups.
@@ -491,10 +491,10 @@ func (o ActiveConnectivityConfigurationResponseOutput) ToActiveConnectivityConfi
}
// Groups for configuration
-func (o ActiveConnectivityConfigurationResponseOutput) AppliesToGroups() ConnectivityGroupItemResponseV1ArrayOutput {
- return o.ApplyT(func(v ActiveConnectivityConfigurationResponse) []ConnectivityGroupItemResponseV1 {
+func (o ActiveConnectivityConfigurationResponseOutput) AppliesToGroups() ConnectivityGroupItemlistActiveConnectivityConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v ActiveConnectivityConfigurationResponse) []ConnectivityGroupItemlistActiveConnectivityConfigurationResponse {
return v.AppliesToGroups
- }).(ConnectivityGroupItemResponseV1ArrayOutput)
+ }).(ConnectivityGroupItemlistActiveConnectivityConfigurationResponseArrayOutput)
}
// Deployment time string.
@@ -575,13 +575,13 @@ func (o ActiveConnectivityConfigurationResponseArrayOutput) Index(i pulumi.IntIn
}
// Active connectivity configuration.
-type ActiveConnectivityConfigurationResponseV1 struct {
+type ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse struct {
// Groups for configuration
AppliesToGroups []ConnectivityGroupItemResponse `pulumi:"appliesToGroups"`
// Deployment time string.
CommitTime *string `pulumi:"commitTime"`
// Effective configuration groups.
- ConfigurationGroups []ConfigurationGroupResponseV1 `pulumi:"configurationGroups"`
+ ConfigurationGroups []ConfigurationGrouplistActiveConnectivityConfigurationsResponse `pulumi:"configurationGroups"`
// Connectivity topology type.
ConnectivityTopology string `pulumi:"connectivityTopology"`
// Flag if need to remove current existing peerings.
@@ -603,102 +603,122 @@ type ActiveConnectivityConfigurationResponseV1 struct {
}
// Active connectivity configuration.
-type ActiveConnectivityConfigurationResponseV1Output struct{ *pulumi.OutputState }
+type ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput struct{ *pulumi.OutputState }
-func (ActiveConnectivityConfigurationResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ActiveConnectivityConfigurationResponseV1)(nil)).Elem()
+func (ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse)(nil)).Elem()
}
-func (o ActiveConnectivityConfigurationResponseV1Output) ToActiveConnectivityConfigurationResponseV1Output() ActiveConnectivityConfigurationResponseV1Output {
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput) ToActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput() ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput {
return o
}
-func (o ActiveConnectivityConfigurationResponseV1Output) ToActiveConnectivityConfigurationResponseV1OutputWithContext(ctx context.Context) ActiveConnectivityConfigurationResponseV1Output {
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput) ToActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutputWithContext(ctx context.Context) ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput {
return o
}
// Groups for configuration
-func (o ActiveConnectivityConfigurationResponseV1Output) AppliesToGroups() ConnectivityGroupItemResponseArrayOutput {
- return o.ApplyT(func(v ActiveConnectivityConfigurationResponseV1) []ConnectivityGroupItemResponse {
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput) AppliesToGroups() ConnectivityGroupItemResponseArrayOutput {
+ return o.ApplyT(func(v ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse) []ConnectivityGroupItemResponse {
return v.AppliesToGroups
}).(ConnectivityGroupItemResponseArrayOutput)
}
// Deployment time string.
-func (o ActiveConnectivityConfigurationResponseV1Output) CommitTime() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveConnectivityConfigurationResponseV1) *string { return v.CommitTime }).(pulumi.StringPtrOutput)
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput) CommitTime() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse) *string {
+ return v.CommitTime
+ }).(pulumi.StringPtrOutput)
}
// Effective configuration groups.
-func (o ActiveConnectivityConfigurationResponseV1Output) ConfigurationGroups() ConfigurationGroupResponseV1ArrayOutput {
- return o.ApplyT(func(v ActiveConnectivityConfigurationResponseV1) []ConfigurationGroupResponseV1 {
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput) ConfigurationGroups() ConfigurationGrouplistActiveConnectivityConfigurationsResponseArrayOutput {
+ return o.ApplyT(func(v ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse) []ConfigurationGrouplistActiveConnectivityConfigurationsResponse {
return v.ConfigurationGroups
- }).(ConfigurationGroupResponseV1ArrayOutput)
+ }).(ConfigurationGrouplistActiveConnectivityConfigurationsResponseArrayOutput)
}
// Connectivity topology type.
-func (o ActiveConnectivityConfigurationResponseV1Output) ConnectivityTopology() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveConnectivityConfigurationResponseV1) string { return v.ConnectivityTopology }).(pulumi.StringOutput)
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput) ConnectivityTopology() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse) string {
+ return v.ConnectivityTopology
+ }).(pulumi.StringOutput)
}
// Flag if need to remove current existing peerings.
-func (o ActiveConnectivityConfigurationResponseV1Output) DeleteExistingPeering() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveConnectivityConfigurationResponseV1) *string { return v.DeleteExistingPeering }).(pulumi.StringPtrOutput)
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput) DeleteExistingPeering() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse) *string {
+ return v.DeleteExistingPeering
+ }).(pulumi.StringPtrOutput)
}
// A description of the connectivity configuration.
-func (o ActiveConnectivityConfigurationResponseV1Output) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveConnectivityConfigurationResponseV1) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse) *string {
+ return v.Description
+ }).(pulumi.StringPtrOutput)
}
// List of hubItems
-func (o ActiveConnectivityConfigurationResponseV1Output) Hubs() HubResponseArrayOutput {
- return o.ApplyT(func(v ActiveConnectivityConfigurationResponseV1) []HubResponse { return v.Hubs }).(HubResponseArrayOutput)
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput) Hubs() HubResponseArrayOutput {
+ return o.ApplyT(func(v ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse) []HubResponse {
+ return v.Hubs
+ }).(HubResponseArrayOutput)
}
// Connectivity configuration ID.
-func (o ActiveConnectivityConfigurationResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveConnectivityConfigurationResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse) *string {
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
// Flag if global mesh is supported.
-func (o ActiveConnectivityConfigurationResponseV1Output) IsGlobal() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveConnectivityConfigurationResponseV1) *string { return v.IsGlobal }).(pulumi.StringPtrOutput)
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput) IsGlobal() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse) *string {
+ return v.IsGlobal
+ }).(pulumi.StringPtrOutput)
}
// The provisioning state of the connectivity configuration resource.
-func (o ActiveConnectivityConfigurationResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveConnectivityConfigurationResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse) string {
+ return v.ProvisioningState
+ }).(pulumi.StringOutput)
}
// Deployment region.
-func (o ActiveConnectivityConfigurationResponseV1Output) Region() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveConnectivityConfigurationResponseV1) *string { return v.Region }).(pulumi.StringPtrOutput)
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput) Region() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse) *string {
+ return v.Region
+ }).(pulumi.StringPtrOutput)
}
// Unique identifier for this resource.
-func (o ActiveConnectivityConfigurationResponseV1Output) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveConnectivityConfigurationResponseV1) string { return v.ResourceGuid }).(pulumi.StringOutput)
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse) string {
+ return v.ResourceGuid
+ }).(pulumi.StringOutput)
}
-type ActiveConnectivityConfigurationResponseV1ArrayOutput struct{ *pulumi.OutputState }
+type ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseArrayOutput struct{ *pulumi.OutputState }
-func (ActiveConnectivityConfigurationResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ActiveConnectivityConfigurationResponseV1)(nil)).Elem()
+func (ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse)(nil)).Elem()
}
-func (o ActiveConnectivityConfigurationResponseV1ArrayOutput) ToActiveConnectivityConfigurationResponseV1ArrayOutput() ActiveConnectivityConfigurationResponseV1ArrayOutput {
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseArrayOutput) ToActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseArrayOutput() ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseArrayOutput {
return o
}
-func (o ActiveConnectivityConfigurationResponseV1ArrayOutput) ToActiveConnectivityConfigurationResponseV1ArrayOutputWithContext(ctx context.Context) ActiveConnectivityConfigurationResponseV1ArrayOutput {
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseArrayOutput) ToActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseArrayOutputWithContext(ctx context.Context) ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseArrayOutput {
return o
}
-func (o ActiveConnectivityConfigurationResponseV1ArrayOutput) Index(i pulumi.IntInput) ActiveConnectivityConfigurationResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ActiveConnectivityConfigurationResponseV1 {
- return vs[0].([]ActiveConnectivityConfigurationResponseV1)[vs[1].(int)]
- }).(ActiveConnectivityConfigurationResponseV1Output)
+func (o ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseArrayOutput) Index(i pulumi.IntInput) ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse {
+ return vs[0].([]ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponse)[vs[1].(int)]
+ }).(ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput)
}
// Network default admin rule.
@@ -737,7 +757,7 @@ type ActiveDefaultSecurityAdminRuleResponse struct {
// Deployment region.
Region *string `pulumi:"region"`
// Groups for rule collection
- RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemResponseV1 `pulumi:"ruleCollectionAppliesToGroups"`
+ RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponse `pulumi:"ruleCollectionAppliesToGroups"`
// A description of the rule collection.
RuleCollectionDescription *string `pulumi:"ruleCollectionDescription"`
// A display name of the rule collection.
@@ -847,10 +867,10 @@ func (o ActiveDefaultSecurityAdminRuleResponseOutput) Region() pulumi.StringPtrO
}
// Groups for rule collection
-func (o ActiveDefaultSecurityAdminRuleResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseV1ArrayOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponse) []NetworkManagerSecurityGroupItemResponseV1 {
+func (o ActiveDefaultSecurityAdminRuleResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseArrayOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponse) []NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponse {
return v.RuleCollectionAppliesToGroups
- }).(NetworkManagerSecurityGroupItemResponseV1ArrayOutput)
+ }).(NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseArrayOutput)
}
// A description of the rule collection.
@@ -879,7 +899,7 @@ func (o ActiveDefaultSecurityAdminRuleResponseOutput) Sources() AddressPrefixIte
}
// Network default admin rule.
-type ActiveDefaultSecurityAdminRuleResponseV1 struct {
+type ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse struct {
// Indicates the access allowed for this particular rule
Access string `pulumi:"access"`
// Deployment time string.
@@ -916,7 +936,7 @@ type ActiveDefaultSecurityAdminRuleResponseV1 struct {
// A description of the rule collection.
RuleCollectionDescription *string `pulumi:"ruleCollectionDescription"`
// Effective configuration groups.
- RuleGroups []ConfigurationGroupResponseV2 `pulumi:"ruleGroups"`
+ RuleGroups []ConfigurationGrouplistActiveSecurityAdminRulesResponse `pulumi:"ruleGroups"`
// The source port ranges.
SourcePortRanges []string `pulumi:"sourcePortRanges"`
// The CIDR or source IP ranges.
@@ -924,121 +944,143 @@ type ActiveDefaultSecurityAdminRuleResponseV1 struct {
}
// Network default admin rule.
-type ActiveDefaultSecurityAdminRuleResponseV1Output struct{ *pulumi.OutputState }
+type ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput struct{ *pulumi.OutputState }
-func (ActiveDefaultSecurityAdminRuleResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ActiveDefaultSecurityAdminRuleResponseV1)(nil)).Elem()
+func (ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse)(nil)).Elem()
}
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) ToActiveDefaultSecurityAdminRuleResponseV1Output() ActiveDefaultSecurityAdminRuleResponseV1Output {
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) ToActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput() ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput {
return o
}
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) ToActiveDefaultSecurityAdminRuleResponseV1OutputWithContext(ctx context.Context) ActiveDefaultSecurityAdminRuleResponseV1Output {
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) ToActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutputWithContext(ctx context.Context) ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput {
return o
}
// Indicates the access allowed for this particular rule
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) Access() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) string { return v.Access }).(pulumi.StringOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Access() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) string { return v.Access }).(pulumi.StringOutput)
}
// Deployment time string.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) CommitTime() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) *string { return v.CommitTime }).(pulumi.StringPtrOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) CommitTime() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) *string {
+ return v.CommitTime
+ }).(pulumi.StringPtrOutput)
}
// A description of the security admin configuration.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) ConfigurationDescription() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) *string { return v.ConfigurationDescription }).(pulumi.StringPtrOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) ConfigurationDescription() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) *string {
+ return v.ConfigurationDescription
+ }).(pulumi.StringPtrOutput)
}
// A description for this rule. Restricted to 140 chars.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) Description() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) string { return v.Description }).(pulumi.StringOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Description() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) string {
+ return v.Description
+ }).(pulumi.StringOutput)
}
// The destination port ranges.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) DestinationPortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) DestinationPortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) []string {
+ return v.DestinationPortRanges
+ }).(pulumi.StringArrayOutput)
}
// The destination address prefixes. CIDR or destination IP ranges.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) Destinations() AddressPrefixItemResponseArrayOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) []AddressPrefixItemResponse { return v.Destinations }).(AddressPrefixItemResponseArrayOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Destinations() AddressPrefixItemResponseArrayOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) []AddressPrefixItemResponse {
+ return v.Destinations
+ }).(AddressPrefixItemResponseArrayOutput)
}
// Indicates if the traffic matched against the rule in inbound or outbound.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) Direction() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) string { return v.Direction }).(pulumi.StringOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Direction() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) string { return v.Direction }).(pulumi.StringOutput)
}
// Default rule flag.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) Flag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) *string { return v.Flag }).(pulumi.StringPtrOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Flag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) *string { return v.Flag }).(pulumi.StringPtrOutput)
}
// Resource ID.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
// Whether the rule is custom or default.
// Expected value is 'Default'.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) Kind() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) string { return v.Kind }).(pulumi.StringOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Kind() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) string { return v.Kind }).(pulumi.StringOutput)
}
// The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) Priority() pulumi.IntOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) int { return v.Priority }).(pulumi.IntOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Priority() pulumi.IntOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) int { return v.Priority }).(pulumi.IntOutput)
}
// Network protocol this rule applies to.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) string { return v.Protocol }).(pulumi.StringOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) string { return v.Protocol }).(pulumi.StringOutput)
}
// The provisioning state of the resource.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) string {
+ return v.ProvisioningState
+ }).(pulumi.StringOutput)
}
// Deployment region.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) Region() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) *string { return v.Region }).(pulumi.StringPtrOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Region() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) *string { return v.Region }).(pulumi.StringPtrOutput)
}
// Unique identifier for this resource.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) string { return v.ResourceGuid }).(pulumi.StringOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) string {
+ return v.ResourceGuid
+ }).(pulumi.StringOutput)
}
// Groups for rule collection
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseArrayOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) []NetworkManagerSecurityGroupItemResponse {
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseArrayOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) []NetworkManagerSecurityGroupItemResponse {
return v.RuleCollectionAppliesToGroups
}).(NetworkManagerSecurityGroupItemResponseArrayOutput)
}
// A description of the rule collection.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) RuleCollectionDescription() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) *string { return v.RuleCollectionDescription }).(pulumi.StringPtrOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) RuleCollectionDescription() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) *string {
+ return v.RuleCollectionDescription
+ }).(pulumi.StringPtrOutput)
}
// Effective configuration groups.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) RuleGroups() ConfigurationGroupResponseV2ArrayOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) []ConfigurationGroupResponseV2 { return v.RuleGroups }).(ConfigurationGroupResponseV2ArrayOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) RuleGroups() ConfigurationGrouplistActiveSecurityAdminRulesResponseArrayOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) []ConfigurationGrouplistActiveSecurityAdminRulesResponse {
+ return v.RuleGroups
+ }).(ConfigurationGrouplistActiveSecurityAdminRulesResponseArrayOutput)
}
// The source port ranges.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) SourcePortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) SourcePortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) []string {
+ return v.SourcePortRanges
+ }).(pulumi.StringArrayOutput)
}
// The CIDR or source IP ranges.
-func (o ActiveDefaultSecurityAdminRuleResponseV1Output) Sources() AddressPrefixItemResponseArrayOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityAdminRuleResponseV1) []AddressPrefixItemResponse { return v.Sources }).(AddressPrefixItemResponseArrayOutput)
+func (o ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Sources() AddressPrefixItemResponseArrayOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponse) []AddressPrefixItemResponse {
+ return v.Sources
+ }).(AddressPrefixItemResponseArrayOutput)
}
// Network security default user rule.
@@ -1073,7 +1115,7 @@ type ActiveDefaultSecurityUserRuleResponse struct {
// Deployment region.
Region *string `pulumi:"region"`
// Groups for rule collection
- RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemResponseV2 `pulumi:"ruleCollectionAppliesToGroups"`
+ RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponse `pulumi:"ruleCollectionAppliesToGroups"`
// A description of the rule collection.
RuleCollectionDescription *string `pulumi:"ruleCollectionDescription"`
// A display name of the rule collection.
@@ -1173,10 +1215,10 @@ func (o ActiveDefaultSecurityUserRuleResponseOutput) Region() pulumi.StringPtrOu
}
// Groups for rule collection
-func (o ActiveDefaultSecurityUserRuleResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseV2ArrayOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponse) []NetworkManagerSecurityGroupItemResponseV2 {
+func (o ActiveDefaultSecurityUserRuleResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseArrayOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponse) []NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponse {
return v.RuleCollectionAppliesToGroups
- }).(NetworkManagerSecurityGroupItemResponseV2ArrayOutput)
+ }).(NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseArrayOutput)
}
// A description of the rule collection.
@@ -1205,7 +1247,7 @@ func (o ActiveDefaultSecurityUserRuleResponseOutput) Sources() AddressPrefixItem
}
// Network security default user rule.
-type ActiveDefaultSecurityUserRuleResponseV1 struct {
+type ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse struct {
// Deployment time string.
CommitTime *string `pulumi:"commitTime"`
// A description of the security user configuration.
@@ -1236,7 +1278,7 @@ type ActiveDefaultSecurityUserRuleResponseV1 struct {
// A description of the rule collection.
RuleCollectionDescription *string `pulumi:"ruleCollectionDescription"`
// Effective configuration groups.
- RuleGroups []ConfigurationGroupResponseV3 `pulumi:"ruleGroups"`
+ RuleGroups []ConfigurationGrouplistActiveSecurityUserRulesResponse `pulumi:"ruleGroups"`
// The source port ranges.
SourcePortRanges []string `pulumi:"sourcePortRanges"`
// The CIDR or source IP ranges.
@@ -1244,106 +1286,122 @@ type ActiveDefaultSecurityUserRuleResponseV1 struct {
}
// Network security default user rule.
-type ActiveDefaultSecurityUserRuleResponseV1Output struct{ *pulumi.OutputState }
+type ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput struct{ *pulumi.OutputState }
-func (ActiveDefaultSecurityUserRuleResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ActiveDefaultSecurityUserRuleResponseV1)(nil)).Elem()
+func (ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse)(nil)).Elem()
}
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) ToActiveDefaultSecurityUserRuleResponseV1Output() ActiveDefaultSecurityUserRuleResponseV1Output {
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) ToActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput() ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput {
return o
}
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) ToActiveDefaultSecurityUserRuleResponseV1OutputWithContext(ctx context.Context) ActiveDefaultSecurityUserRuleResponseV1Output {
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) ToActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutputWithContext(ctx context.Context) ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput {
return o
}
// Deployment time string.
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) CommitTime() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) *string { return v.CommitTime }).(pulumi.StringPtrOutput)
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) CommitTime() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) *string { return v.CommitTime }).(pulumi.StringPtrOutput)
}
// A description of the security user configuration.
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) ConfigurationDescription() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) *string { return v.ConfigurationDescription }).(pulumi.StringPtrOutput)
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) ConfigurationDescription() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) *string {
+ return v.ConfigurationDescription
+ }).(pulumi.StringPtrOutput)
}
// A description for this rule. Restricted to 140 chars.
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) Description() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) string { return v.Description }).(pulumi.StringOutput)
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Description() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) string { return v.Description }).(pulumi.StringOutput)
}
// The destination port ranges.
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) DestinationPortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) DestinationPortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) []string {
+ return v.DestinationPortRanges
+ }).(pulumi.StringArrayOutput)
}
// The destination address prefixes. CIDR or destination IP ranges.
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) Destinations() AddressPrefixItemResponseArrayOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) []AddressPrefixItemResponse { return v.Destinations }).(AddressPrefixItemResponseArrayOutput)
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Destinations() AddressPrefixItemResponseArrayOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) []AddressPrefixItemResponse {
+ return v.Destinations
+ }).(AddressPrefixItemResponseArrayOutput)
}
// Indicates if the traffic matched against the rule in inbound or outbound.
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) Direction() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) string { return v.Direction }).(pulumi.StringOutput)
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Direction() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) string { return v.Direction }).(pulumi.StringOutput)
}
// Default rule flag.
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) Flag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) *string { return v.Flag }).(pulumi.StringPtrOutput)
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Flag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) *string { return v.Flag }).(pulumi.StringPtrOutput)
}
// Resource ID.
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
// Whether the rule is custom or default.
// Expected value is 'Default'.
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) Kind() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) string { return v.Kind }).(pulumi.StringOutput)
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Kind() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) string { return v.Kind }).(pulumi.StringOutput)
}
// Network protocol this rule applies to.
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) string { return v.Protocol }).(pulumi.StringOutput)
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) string { return v.Protocol }).(pulumi.StringOutput)
}
// The provisioning state of the security configuration user rule resource.
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) string {
+ return v.ProvisioningState
+ }).(pulumi.StringOutput)
}
// Deployment region.
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) Region() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) *string { return v.Region }).(pulumi.StringPtrOutput)
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Region() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) *string { return v.Region }).(pulumi.StringPtrOutput)
}
// Groups for rule collection
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseArrayOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) []NetworkManagerSecurityGroupItemResponse {
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseArrayOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) []NetworkManagerSecurityGroupItemResponse {
return v.RuleCollectionAppliesToGroups
}).(NetworkManagerSecurityGroupItemResponseArrayOutput)
}
// A description of the rule collection.
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) RuleCollectionDescription() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) *string { return v.RuleCollectionDescription }).(pulumi.StringPtrOutput)
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) RuleCollectionDescription() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) *string {
+ return v.RuleCollectionDescription
+ }).(pulumi.StringPtrOutput)
}
// Effective configuration groups.
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) RuleGroups() ConfigurationGroupResponseV3ArrayOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) []ConfigurationGroupResponseV3 { return v.RuleGroups }).(ConfigurationGroupResponseV3ArrayOutput)
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) RuleGroups() ConfigurationGrouplistActiveSecurityUserRulesResponseArrayOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) []ConfigurationGrouplistActiveSecurityUserRulesResponse {
+ return v.RuleGroups
+ }).(ConfigurationGrouplistActiveSecurityUserRulesResponseArrayOutput)
}
// The source port ranges.
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) SourcePortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) SourcePortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) []string {
+ return v.SourcePortRanges
+ }).(pulumi.StringArrayOutput)
}
// The CIDR or source IP ranges.
-func (o ActiveDefaultSecurityUserRuleResponseV1Output) Sources() AddressPrefixItemResponseArrayOutput {
- return o.ApplyT(func(v ActiveDefaultSecurityUserRuleResponseV1) []AddressPrefixItemResponse { return v.Sources }).(AddressPrefixItemResponseArrayOutput)
+func (o ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Sources() AddressPrefixItemResponseArrayOutput {
+ return o.ApplyT(func(v ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponse) []AddressPrefixItemResponse {
+ return v.Sources
+ }).(AddressPrefixItemResponseArrayOutput)
}
// Network admin rule.
@@ -1380,7 +1438,7 @@ type ActiveSecurityAdminRuleResponse struct {
// Deployment region.
Region *string `pulumi:"region"`
// Groups for rule collection
- RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemResponse `pulumi:"ruleCollectionAppliesToGroups"`
+ RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponse `pulumi:"ruleCollectionAppliesToGroups"`
// A description of the rule collection.
RuleCollectionDescription *string `pulumi:"ruleCollectionDescription"`
// A display name of the rule collection.
@@ -1485,10 +1543,10 @@ func (o ActiveSecurityAdminRuleResponseOutput) Region() pulumi.StringPtrOutput {
}
// Groups for rule collection
-func (o ActiveSecurityAdminRuleResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseArrayOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponse) []NetworkManagerSecurityGroupItemResponse {
+func (o ActiveSecurityAdminRuleResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseArrayOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRuleResponse) []NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponse {
return v.RuleCollectionAppliesToGroups
- }).(NetworkManagerSecurityGroupItemResponseArrayOutput)
+ }).(NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseArrayOutput)
}
// A description of the rule collection.
@@ -1517,7 +1575,7 @@ func (o ActiveSecurityAdminRuleResponseOutput) Sources() AddressPrefixItemRespon
}
// Network admin rule.
-type ActiveSecurityAdminRuleResponseV1 struct {
+type ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse struct {
// Indicates the access allowed for this particular rule
Access string `pulumi:"access"`
// Deployment time string.
@@ -1552,7 +1610,7 @@ type ActiveSecurityAdminRuleResponseV1 struct {
// A description of the rule collection.
RuleCollectionDescription *string `pulumi:"ruleCollectionDescription"`
// Effective configuration groups.
- RuleGroups []ConfigurationGroupResponse `pulumi:"ruleGroups"`
+ RuleGroups []ConfigurationGrouplistActiveSecurityAdminRulesResponse `pulumi:"ruleGroups"`
// The source port ranges.
SourcePortRanges []string `pulumi:"sourcePortRanges"`
// The CIDR or source IP ranges.
@@ -1560,116 +1618,130 @@ type ActiveSecurityAdminRuleResponseV1 struct {
}
// Network admin rule.
-type ActiveSecurityAdminRuleResponseV1Output struct{ *pulumi.OutputState }
+type ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput struct{ *pulumi.OutputState }
-func (ActiveSecurityAdminRuleResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ActiveSecurityAdminRuleResponseV1)(nil)).Elem()
+func (ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse)(nil)).Elem()
}
-func (o ActiveSecurityAdminRuleResponseV1Output) ToActiveSecurityAdminRuleResponseV1Output() ActiveSecurityAdminRuleResponseV1Output {
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) ToActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput() ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput {
return o
}
-func (o ActiveSecurityAdminRuleResponseV1Output) ToActiveSecurityAdminRuleResponseV1OutputWithContext(ctx context.Context) ActiveSecurityAdminRuleResponseV1Output {
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) ToActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutputWithContext(ctx context.Context) ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput {
return o
}
// Indicates the access allowed for this particular rule
-func (o ActiveSecurityAdminRuleResponseV1Output) Access() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) string { return v.Access }).(pulumi.StringOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Access() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) string { return v.Access }).(pulumi.StringOutput)
}
// Deployment time string.
-func (o ActiveSecurityAdminRuleResponseV1Output) CommitTime() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) *string { return v.CommitTime }).(pulumi.StringPtrOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) CommitTime() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) *string { return v.CommitTime }).(pulumi.StringPtrOutput)
}
// A description of the security admin configuration.
-func (o ActiveSecurityAdminRuleResponseV1Output) ConfigurationDescription() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) *string { return v.ConfigurationDescription }).(pulumi.StringPtrOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) ConfigurationDescription() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) *string {
+ return v.ConfigurationDescription
+ }).(pulumi.StringPtrOutput)
}
// A description for this rule. Restricted to 140 chars.
-func (o ActiveSecurityAdminRuleResponseV1Output) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
// The destination port ranges.
-func (o ActiveSecurityAdminRuleResponseV1Output) DestinationPortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) DestinationPortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) []string {
+ return v.DestinationPortRanges
+ }).(pulumi.StringArrayOutput)
}
// The destination address prefixes. CIDR or destination IP ranges.
-func (o ActiveSecurityAdminRuleResponseV1Output) Destinations() AddressPrefixItemResponseArrayOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) []AddressPrefixItemResponse { return v.Destinations }).(AddressPrefixItemResponseArrayOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Destinations() AddressPrefixItemResponseArrayOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) []AddressPrefixItemResponse {
+ return v.Destinations
+ }).(AddressPrefixItemResponseArrayOutput)
}
// Indicates if the traffic matched against the rule in inbound or outbound.
-func (o ActiveSecurityAdminRuleResponseV1Output) Direction() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) string { return v.Direction }).(pulumi.StringOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Direction() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) string { return v.Direction }).(pulumi.StringOutput)
}
// Resource ID.
-func (o ActiveSecurityAdminRuleResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
// Whether the rule is custom or default.
// Expected value is 'Custom'.
-func (o ActiveSecurityAdminRuleResponseV1Output) Kind() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) string { return v.Kind }).(pulumi.StringOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Kind() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) string { return v.Kind }).(pulumi.StringOutput)
}
// The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
-func (o ActiveSecurityAdminRuleResponseV1Output) Priority() pulumi.IntOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) int { return v.Priority }).(pulumi.IntOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Priority() pulumi.IntOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) int { return v.Priority }).(pulumi.IntOutput)
}
// Network protocol this rule applies to.
-func (o ActiveSecurityAdminRuleResponseV1Output) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) string { return v.Protocol }).(pulumi.StringOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) string { return v.Protocol }).(pulumi.StringOutput)
}
// The provisioning state of the resource.
-func (o ActiveSecurityAdminRuleResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
// Deployment region.
-func (o ActiveSecurityAdminRuleResponseV1Output) Region() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) *string { return v.Region }).(pulumi.StringPtrOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Region() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) *string { return v.Region }).(pulumi.StringPtrOutput)
}
// Unique identifier for this resource.
-func (o ActiveSecurityAdminRuleResponseV1Output) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) string { return v.ResourceGuid }).(pulumi.StringOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
// Groups for rule collection
-func (o ActiveSecurityAdminRuleResponseV1Output) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseArrayOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) []NetworkManagerSecurityGroupItemResponse {
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseArrayOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) []NetworkManagerSecurityGroupItemResponse {
return v.RuleCollectionAppliesToGroups
}).(NetworkManagerSecurityGroupItemResponseArrayOutput)
}
// A description of the rule collection.
-func (o ActiveSecurityAdminRuleResponseV1Output) RuleCollectionDescription() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) *string { return v.RuleCollectionDescription }).(pulumi.StringPtrOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) RuleCollectionDescription() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) *string {
+ return v.RuleCollectionDescription
+ }).(pulumi.StringPtrOutput)
}
// Effective configuration groups.
-func (o ActiveSecurityAdminRuleResponseV1Output) RuleGroups() ConfigurationGroupResponseArrayOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) []ConfigurationGroupResponse { return v.RuleGroups }).(ConfigurationGroupResponseArrayOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) RuleGroups() ConfigurationGrouplistActiveSecurityAdminRulesResponseArrayOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) []ConfigurationGrouplistActiveSecurityAdminRulesResponse {
+ return v.RuleGroups
+ }).(ConfigurationGrouplistActiveSecurityAdminRulesResponseArrayOutput)
}
// The source port ranges.
-func (o ActiveSecurityAdminRuleResponseV1Output) SourcePortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) SourcePortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) []string {
+ return v.SourcePortRanges
+ }).(pulumi.StringArrayOutput)
}
// The CIDR or source IP ranges.
-func (o ActiveSecurityAdminRuleResponseV1Output) Sources() AddressPrefixItemResponseArrayOutput {
- return o.ApplyT(func(v ActiveSecurityAdminRuleResponseV1) []AddressPrefixItemResponse { return v.Sources }).(AddressPrefixItemResponseArrayOutput)
+func (o ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput) Sources() AddressPrefixItemResponseArrayOutput {
+ return o.ApplyT(func(v ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponse) []AddressPrefixItemResponse {
+ return v.Sources
+ }).(AddressPrefixItemResponseArrayOutput)
}
// Network security user rule.
@@ -1702,7 +1774,7 @@ type ActiveSecurityUserRuleResponse struct {
// Deployment region.
Region *string `pulumi:"region"`
// Groups for rule collection
- RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemResponse `pulumi:"ruleCollectionAppliesToGroups"`
+ RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponse `pulumi:"ruleCollectionAppliesToGroups"`
// A description of the rule collection.
RuleCollectionDescription *string `pulumi:"ruleCollectionDescription"`
// A display name of the rule collection.
@@ -1797,10 +1869,10 @@ func (o ActiveSecurityUserRuleResponseOutput) Region() pulumi.StringPtrOutput {
}
// Groups for rule collection
-func (o ActiveSecurityUserRuleResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseArrayOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponse) []NetworkManagerSecurityGroupItemResponse {
+func (o ActiveSecurityUserRuleResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseArrayOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRuleResponse) []NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponse {
return v.RuleCollectionAppliesToGroups
- }).(NetworkManagerSecurityGroupItemResponseArrayOutput)
+ }).(NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseArrayOutput)
}
// A description of the rule collection.
@@ -1829,7 +1901,7 @@ func (o ActiveSecurityUserRuleResponseOutput) Sources() AddressPrefixItemRespons
}
// Network security user rule.
-type ActiveSecurityUserRuleResponseV1 struct {
+type ActiveSecurityUserRulelistActiveSecurityUserRulesResponse struct {
// Deployment time string.
CommitTime *string `pulumi:"commitTime"`
// A description of the security user configuration.
@@ -1858,7 +1930,7 @@ type ActiveSecurityUserRuleResponseV1 struct {
// A description of the rule collection.
RuleCollectionDescription *string `pulumi:"ruleCollectionDescription"`
// Effective configuration groups.
- RuleGroups []ConfigurationGroupResponse `pulumi:"ruleGroups"`
+ RuleGroups []ConfigurationGrouplistActiveSecurityUserRulesResponse `pulumi:"ruleGroups"`
// The source port ranges.
SourcePortRanges []string `pulumi:"sourcePortRanges"`
// The CIDR or source IP ranges.
@@ -1866,101 +1938,113 @@ type ActiveSecurityUserRuleResponseV1 struct {
}
// Network security user rule.
-type ActiveSecurityUserRuleResponseV1Output struct{ *pulumi.OutputState }
+type ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput struct{ *pulumi.OutputState }
-func (ActiveSecurityUserRuleResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ActiveSecurityUserRuleResponseV1)(nil)).Elem()
+func (ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ActiveSecurityUserRulelistActiveSecurityUserRulesResponse)(nil)).Elem()
}
-func (o ActiveSecurityUserRuleResponseV1Output) ToActiveSecurityUserRuleResponseV1Output() ActiveSecurityUserRuleResponseV1Output {
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) ToActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput() ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput {
return o
}
-func (o ActiveSecurityUserRuleResponseV1Output) ToActiveSecurityUserRuleResponseV1OutputWithContext(ctx context.Context) ActiveSecurityUserRuleResponseV1Output {
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) ToActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutputWithContext(ctx context.Context) ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput {
return o
}
// Deployment time string.
-func (o ActiveSecurityUserRuleResponseV1Output) CommitTime() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponseV1) *string { return v.CommitTime }).(pulumi.StringPtrOutput)
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) CommitTime() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRulelistActiveSecurityUserRulesResponse) *string { return v.CommitTime }).(pulumi.StringPtrOutput)
}
// A description of the security user configuration.
-func (o ActiveSecurityUserRuleResponseV1Output) ConfigurationDescription() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponseV1) *string { return v.ConfigurationDescription }).(pulumi.StringPtrOutput)
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) ConfigurationDescription() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRulelistActiveSecurityUserRulesResponse) *string {
+ return v.ConfigurationDescription
+ }).(pulumi.StringPtrOutput)
}
// A description for this rule.
-func (o ActiveSecurityUserRuleResponseV1Output) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponseV1) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRulelistActiveSecurityUserRulesResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
// The destination port ranges.
-func (o ActiveSecurityUserRuleResponseV1Output) DestinationPortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponseV1) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) DestinationPortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRulelistActiveSecurityUserRulesResponse) []string {
+ return v.DestinationPortRanges
+ }).(pulumi.StringArrayOutput)
}
// The destination address prefixes. CIDR or destination IP ranges.
-func (o ActiveSecurityUserRuleResponseV1Output) Destinations() AddressPrefixItemResponseArrayOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponseV1) []AddressPrefixItemResponse { return v.Destinations }).(AddressPrefixItemResponseArrayOutput)
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Destinations() AddressPrefixItemResponseArrayOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRulelistActiveSecurityUserRulesResponse) []AddressPrefixItemResponse {
+ return v.Destinations
+ }).(AddressPrefixItemResponseArrayOutput)
}
// Indicates if the traffic matched against the rule in inbound or outbound.
-func (o ActiveSecurityUserRuleResponseV1Output) Direction() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponseV1) string { return v.Direction }).(pulumi.StringOutput)
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Direction() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRulelistActiveSecurityUserRulesResponse) string { return v.Direction }).(pulumi.StringOutput)
}
// Resource ID.
-func (o ActiveSecurityUserRuleResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRulelistActiveSecurityUserRulesResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
// Whether the rule is custom or default.
// Expected value is 'Custom'.
-func (o ActiveSecurityUserRuleResponseV1Output) Kind() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponseV1) string { return v.Kind }).(pulumi.StringOutput)
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Kind() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRulelistActiveSecurityUserRulesResponse) string { return v.Kind }).(pulumi.StringOutput)
}
// Network protocol this rule applies to.
-func (o ActiveSecurityUserRuleResponseV1Output) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponseV1) string { return v.Protocol }).(pulumi.StringOutput)
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRulelistActiveSecurityUserRulesResponse) string { return v.Protocol }).(pulumi.StringOutput)
}
// The provisioning state of the security configuration user rule resource.
-func (o ActiveSecurityUserRuleResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRulelistActiveSecurityUserRulesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
// Deployment region.
-func (o ActiveSecurityUserRuleResponseV1Output) Region() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponseV1) *string { return v.Region }).(pulumi.StringPtrOutput)
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Region() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRulelistActiveSecurityUserRulesResponse) *string { return v.Region }).(pulumi.StringPtrOutput)
}
// Groups for rule collection
-func (o ActiveSecurityUserRuleResponseV1Output) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseArrayOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponseV1) []NetworkManagerSecurityGroupItemResponse {
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseArrayOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRulelistActiveSecurityUserRulesResponse) []NetworkManagerSecurityGroupItemResponse {
return v.RuleCollectionAppliesToGroups
}).(NetworkManagerSecurityGroupItemResponseArrayOutput)
}
// A description of the rule collection.
-func (o ActiveSecurityUserRuleResponseV1Output) RuleCollectionDescription() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponseV1) *string { return v.RuleCollectionDescription }).(pulumi.StringPtrOutput)
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) RuleCollectionDescription() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRulelistActiveSecurityUserRulesResponse) *string {
+ return v.RuleCollectionDescription
+ }).(pulumi.StringPtrOutput)
}
// Effective configuration groups.
-func (o ActiveSecurityUserRuleResponseV1Output) RuleGroups() ConfigurationGroupResponseArrayOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponseV1) []ConfigurationGroupResponse { return v.RuleGroups }).(ConfigurationGroupResponseArrayOutput)
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) RuleGroups() ConfigurationGrouplistActiveSecurityUserRulesResponseArrayOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRulelistActiveSecurityUserRulesResponse) []ConfigurationGrouplistActiveSecurityUserRulesResponse {
+ return v.RuleGroups
+ }).(ConfigurationGrouplistActiveSecurityUserRulesResponseArrayOutput)
}
// The source port ranges.
-func (o ActiveSecurityUserRuleResponseV1Output) SourcePortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponseV1) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) SourcePortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRulelistActiveSecurityUserRulesResponse) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
}
// The CIDR or source IP ranges.
-func (o ActiveSecurityUserRuleResponseV1Output) Sources() AddressPrefixItemResponseArrayOutput {
- return o.ApplyT(func(v ActiveSecurityUserRuleResponseV1) []AddressPrefixItemResponse { return v.Sources }).(AddressPrefixItemResponseArrayOutput)
+func (o ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput) Sources() AddressPrefixItemResponseArrayOutput {
+ return o.ApplyT(func(v ActiveSecurityUserRulelistActiveSecurityUserRulesResponse) []AddressPrefixItemResponse {
+ return v.Sources
+ }).(AddressPrefixItemResponseArrayOutput)
}
// Address prefix item.
@@ -3025,6 +3109,100 @@ func (o ApplicationGatewayBackendAddressPoolArrayOutput) Index(i pulumi.IntInput
}).(ApplicationGatewayBackendAddressPoolOutput)
}
+// Backend Address Pool of an application gateway.
+type ApplicationGatewayBackendAddressPoolInterfaceEndpointResponse struct {
+ // Backend addresses
+ BackendAddresses []ApplicationGatewayBackendAddressResponse `pulumi:"backendAddresses"`
+ // Collection of references to IPs defined in network interfaces.
+ BackendIPConfigurations []NetworkInterfaceIPConfigurationInterfaceEndpointResponse `pulumi:"backendIPConfigurations"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Name of the backend address pool that is unique within an Application Gateway.
+ Name *string `pulumi:"name"`
+ // Provisioning state of the backend address pool resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState *string `pulumi:"provisioningState"`
+ // Type of the resource.
+ Type *string `pulumi:"type"`
+}
+
+// Backend Address Pool of an application gateway.
+type ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
+
+func (ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ApplicationGatewayBackendAddressPoolInterfaceEndpointResponse)(nil)).Elem()
+}
+
+func (o ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput) ToApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput() ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput {
+ return o
+}
+
+func (o ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput) ToApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutputWithContext(ctx context.Context) ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput {
+ return o
+}
+
+// Backend addresses
+func (o ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput) BackendAddresses() ApplicationGatewayBackendAddressResponseArrayOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolInterfaceEndpointResponse) []ApplicationGatewayBackendAddressResponse {
+ return v.BackendAddresses
+ }).(ApplicationGatewayBackendAddressResponseArrayOutput)
+}
+
+// Collection of references to IPs defined in network interfaces.
+func (o ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput) BackendIPConfigurations() NetworkInterfaceIPConfigurationInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolInterfaceEndpointResponse) []NetworkInterfaceIPConfigurationInterfaceEndpointResponse {
+ return v.BackendIPConfigurations
+ }).(NetworkInterfaceIPConfigurationInterfaceEndpointResponseArrayOutput)
+}
+
+// A unique read-only string that changes whenever the resource is updated.
+func (o ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
+}
+
+// Resource ID.
+func (o ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
+
+// Name of the backend address pool that is unique within an Application Gateway.
+func (o ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolInterfaceEndpointResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
+
+// Provisioning state of the backend address pool resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolInterfaceEndpointResponse) *string {
+ return v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
+}
+
+// Type of the resource.
+func (o ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolInterfaceEndpointResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+}
+
+type ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ApplicationGatewayBackendAddressPoolInterfaceEndpointResponse)(nil)).Elem()
+}
+
+func (o ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseArrayOutput) ToApplicationGatewayBackendAddressPoolInterfaceEndpointResponseArrayOutput() ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseArrayOutput {
+ return o
+}
+
+func (o ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseArrayOutput) ToApplicationGatewayBackendAddressPoolInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseArrayOutput {
+ return o
+}
+
+func (o ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApplicationGatewayBackendAddressPoolInterfaceEndpointResponse {
+ return vs[0].([]ApplicationGatewayBackendAddressPoolInterfaceEndpointResponse)[vs[1].(int)]
+ }).(ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput)
+}
+
// Backend Address Pool of an application gateway.
type ApplicationGatewayBackendAddressPoolResponse struct {
// Backend addresses.
@@ -3212,95 +3390,189 @@ func (o ApplicationGatewayBackendAddressPoolResponseArrayOutput) Index(i pulumi.
}
// Backend Address Pool of an application gateway.
-type ApplicationGatewayBackendAddressPoolResponseV1 struct {
- // Backend addresses
+type ApplicationGatewayBackendAddressPoolServiceGatewayResponse struct {
+ // Backend addresses.
BackendAddresses []ApplicationGatewayBackendAddressResponse `pulumi:"backendAddresses"`
// Collection of references to IPs defined in network interfaces.
- BackendIPConfigurations []NetworkInterfaceIPConfigurationResponse `pulumi:"backendIPConfigurations"`
+ BackendIPConfigurations []NetworkInterfaceIPConfigurationServiceGatewayResponse `pulumi:"backendIPConfigurations"`
// A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
+ Etag string `pulumi:"etag"`
// Resource ID.
Id *string `pulumi:"id"`
// Name of the backend address pool that is unique within an Application Gateway.
Name *string `pulumi:"name"`
- // Provisioning state of the backend address pool resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState *string `pulumi:"provisioningState"`
+ // The provisioning state of the backend address pool resource.
+ ProvisioningState string `pulumi:"provisioningState"`
// Type of the resource.
- Type *string `pulumi:"type"`
+ Type string `pulumi:"type"`
}
// Backend Address Pool of an application gateway.
-type ApplicationGatewayBackendAddressPoolResponseV1Output struct{ *pulumi.OutputState }
+type ApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput struct{ *pulumi.OutputState }
-func (ApplicationGatewayBackendAddressPoolResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ApplicationGatewayBackendAddressPoolResponseV1)(nil)).Elem()
+func (ApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ApplicationGatewayBackendAddressPoolServiceGatewayResponse)(nil)).Elem()
}
-func (o ApplicationGatewayBackendAddressPoolResponseV1Output) ToApplicationGatewayBackendAddressPoolResponseV1Output() ApplicationGatewayBackendAddressPoolResponseV1Output {
+func (o ApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput) ToApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput() ApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput {
return o
}
-func (o ApplicationGatewayBackendAddressPoolResponseV1Output) ToApplicationGatewayBackendAddressPoolResponseV1OutputWithContext(ctx context.Context) ApplicationGatewayBackendAddressPoolResponseV1Output {
+func (o ApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput) ToApplicationGatewayBackendAddressPoolServiceGatewayResponseOutputWithContext(ctx context.Context) ApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput {
return o
}
-// Backend addresses
-func (o ApplicationGatewayBackendAddressPoolResponseV1Output) BackendAddresses() ApplicationGatewayBackendAddressResponseArrayOutput {
- return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolResponseV1) []ApplicationGatewayBackendAddressResponse {
+// Backend addresses.
+func (o ApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput) BackendAddresses() ApplicationGatewayBackendAddressResponseArrayOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolServiceGatewayResponse) []ApplicationGatewayBackendAddressResponse {
return v.BackendAddresses
}).(ApplicationGatewayBackendAddressResponseArrayOutput)
}
// Collection of references to IPs defined in network interfaces.
-func (o ApplicationGatewayBackendAddressPoolResponseV1Output) BackendIPConfigurations() NetworkInterfaceIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolResponseV1) []NetworkInterfaceIPConfigurationResponse {
+func (o ApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput) BackendIPConfigurations() NetworkInterfaceIPConfigurationServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolServiceGatewayResponse) []NetworkInterfaceIPConfigurationServiceGatewayResponse {
return v.BackendIPConfigurations
- }).(NetworkInterfaceIPConfigurationResponseArrayOutput)
+ }).(NetworkInterfaceIPConfigurationServiceGatewayResponseArrayOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o ApplicationGatewayBackendAddressPoolResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (o ApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
// Resource ID.
-func (o ApplicationGatewayBackendAddressPoolResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o ApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
// Name of the backend address pool that is unique within an Application Gateway.
-func (o ApplicationGatewayBackendAddressPoolResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o ApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolServiceGatewayResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Provisioning state of the backend address pool resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o ApplicationGatewayBackendAddressPoolResponseV1Output) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolResponseV1) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+// The provisioning state of the backend address pool resource.
+func (o ApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
+
+// Type of the resource.
+func (o ApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
+}
+
+type ApplicationGatewayBackendAddressPoolServiceGatewayResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ApplicationGatewayBackendAddressPoolServiceGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ApplicationGatewayBackendAddressPoolServiceGatewayResponse)(nil)).Elem()
+}
+
+func (o ApplicationGatewayBackendAddressPoolServiceGatewayResponseArrayOutput) ToApplicationGatewayBackendAddressPoolServiceGatewayResponseArrayOutput() ApplicationGatewayBackendAddressPoolServiceGatewayResponseArrayOutput {
+ return o
+}
+
+func (o ApplicationGatewayBackendAddressPoolServiceGatewayResponseArrayOutput) ToApplicationGatewayBackendAddressPoolServiceGatewayResponseArrayOutputWithContext(ctx context.Context) ApplicationGatewayBackendAddressPoolServiceGatewayResponseArrayOutput {
+ return o
+}
+
+func (o ApplicationGatewayBackendAddressPoolServiceGatewayResponseArrayOutput) Index(i pulumi.IntInput) ApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApplicationGatewayBackendAddressPoolServiceGatewayResponse {
+ return vs[0].([]ApplicationGatewayBackendAddressPoolServiceGatewayResponse)[vs[1].(int)]
+ }).(ApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput)
+}
+
+// Backend Address Pool of an application gateway.
+type ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponse struct {
+ // Backend addresses.
+ BackendAddresses []ApplicationGatewayBackendAddressResponse `pulumi:"backendAddresses"`
+ // Collection of references to IPs defined in network interfaces.
+ BackendIPConfigurations []NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse `pulumi:"backendIPConfigurations"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Name of the backend address pool that is unique within an Application Gateway.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the backend address pool resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Type of the resource.
+ Type string `pulumi:"type"`
+}
+
+// Backend Address Pool of an application gateway.
+type ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
+
+func (ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponse)(nil)).Elem()
+}
+
+func (o ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput) ToApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput() ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput {
+ return o
+}
+
+func (o ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput) ToApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput {
+ return o
+}
+
+// Backend addresses.
+func (o ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput) BackendAddresses() ApplicationGatewayBackendAddressResponseArrayOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponse) []ApplicationGatewayBackendAddressResponse {
+ return v.BackendAddresses
+ }).(ApplicationGatewayBackendAddressResponseArrayOutput)
+}
+
+// Collection of references to IPs defined in network interfaces.
+func (o ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput) BackendIPConfigurations() NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponse) []NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse {
+ return v.BackendIPConfigurations
+ }).(NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseArrayOutput)
+}
+
+// A unique read-only string that changes whenever the resource is updated.
+func (o ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
+}
+
+// Resource ID.
+func (o ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
+
+// Name of the backend address pool that is unique within an Application Gateway.
+func (o ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
+
+// The provisioning state of the backend address pool resource.
+func (o ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponse) string {
+ return v.ProvisioningState
+ }).(pulumi.StringOutput)
}
// Type of the resource.
-func (o ApplicationGatewayBackendAddressPoolResponseV1Output) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolResponseV1) *string { return v.Type }).(pulumi.StringPtrOutput)
+func (o ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type ApplicationGatewayBackendAddressPoolResponseV1ArrayOutput struct{ *pulumi.OutputState }
+type ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseArrayOutput struct{ *pulumi.OutputState }
-func (ApplicationGatewayBackendAddressPoolResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ApplicationGatewayBackendAddressPoolResponseV1)(nil)).Elem()
+func (ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o ApplicationGatewayBackendAddressPoolResponseV1ArrayOutput) ToApplicationGatewayBackendAddressPoolResponseV1ArrayOutput() ApplicationGatewayBackendAddressPoolResponseV1ArrayOutput {
+func (o ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseArrayOutput) ToApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseArrayOutput() ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o ApplicationGatewayBackendAddressPoolResponseV1ArrayOutput) ToApplicationGatewayBackendAddressPoolResponseV1ArrayOutputWithContext(ctx context.Context) ApplicationGatewayBackendAddressPoolResponseV1ArrayOutput {
+func (o ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseArrayOutput) ToApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseArrayOutputWithContext(ctx context.Context) ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o ApplicationGatewayBackendAddressPoolResponseV1ArrayOutput) Index(i pulumi.IntInput) ApplicationGatewayBackendAddressPoolResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApplicationGatewayBackendAddressPoolResponseV1 {
- return vs[0].([]ApplicationGatewayBackendAddressPoolResponseV1)[vs[1].(int)]
- }).(ApplicationGatewayBackendAddressPoolResponseV1Output)
+func (o ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseArrayOutput) Index(i pulumi.IntInput) ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponse {
+ return vs[0].([]ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponse)[vs[1].(int)]
+ }).(ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput)
}
// Backend address of an application gateway.
@@ -18139,6 +18411,103 @@ func (o BackendAddressPoolArrayOutput) Index(i pulumi.IntInput) BackendAddressPo
}).(BackendAddressPoolOutput)
}
+// Pool of backend IP addresses.
+type BackendAddressPoolInterfaceEndpointResponse struct {
+ // Gets collection of references to IP addresses defined in network interfaces.
+ BackendIPConfigurations []NetworkInterfaceIPConfigurationResponse `pulumi:"backendIPConfigurations"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Gets load balancing rules that use this backend address pool.
+ LoadBalancingRules []SubResourceResponse `pulumi:"loadBalancingRules"`
+ // Gets name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Gets outbound rules that use this backend address pool.
+ OutboundRule SubResourceResponse `pulumi:"outboundRule"`
+ // Gets outbound rules that use this backend address pool.
+ OutboundRules []SubResourceResponse `pulumi:"outboundRules"`
+ // Get provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState *string `pulumi:"provisioningState"`
+}
+
+// Pool of backend IP addresses.
+type BackendAddressPoolInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
+
+func (BackendAddressPoolInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*BackendAddressPoolInterfaceEndpointResponse)(nil)).Elem()
+}
+
+func (o BackendAddressPoolInterfaceEndpointResponseOutput) ToBackendAddressPoolInterfaceEndpointResponseOutput() BackendAddressPoolInterfaceEndpointResponseOutput {
+ return o
+}
+
+func (o BackendAddressPoolInterfaceEndpointResponseOutput) ToBackendAddressPoolInterfaceEndpointResponseOutputWithContext(ctx context.Context) BackendAddressPoolInterfaceEndpointResponseOutput {
+ return o
+}
+
+// Gets collection of references to IP addresses defined in network interfaces.
+func (o BackendAddressPoolInterfaceEndpointResponseOutput) BackendIPConfigurations() NetworkInterfaceIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v BackendAddressPoolInterfaceEndpointResponse) []NetworkInterfaceIPConfigurationResponse {
+ return v.BackendIPConfigurations
+ }).(NetworkInterfaceIPConfigurationResponseArrayOutput)
+}
+
+// A unique read-only string that changes whenever the resource is updated.
+func (o BackendAddressPoolInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v BackendAddressPoolInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
+}
+
+// Resource ID.
+func (o BackendAddressPoolInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v BackendAddressPoolInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
+
+// Gets load balancing rules that use this backend address pool.
+func (o BackendAddressPoolInterfaceEndpointResponseOutput) LoadBalancingRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v BackendAddressPoolInterfaceEndpointResponse) []SubResourceResponse { return v.LoadBalancingRules }).(SubResourceResponseArrayOutput)
+}
+
+// Gets name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o BackendAddressPoolInterfaceEndpointResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v BackendAddressPoolInterfaceEndpointResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
+
+// Gets outbound rules that use this backend address pool.
+func (o BackendAddressPoolInterfaceEndpointResponseOutput) OutboundRule() SubResourceResponseOutput {
+ return o.ApplyT(func(v BackendAddressPoolInterfaceEndpointResponse) SubResourceResponse { return v.OutboundRule }).(SubResourceResponseOutput)
+}
+
+// Gets outbound rules that use this backend address pool.
+func (o BackendAddressPoolInterfaceEndpointResponseOutput) OutboundRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v BackendAddressPoolInterfaceEndpointResponse) []SubResourceResponse { return v.OutboundRules }).(SubResourceResponseArrayOutput)
+}
+
+// Get provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o BackendAddressPoolInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v BackendAddressPoolInterfaceEndpointResponse) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+}
+
+type BackendAddressPoolInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (BackendAddressPoolInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]BackendAddressPoolInterfaceEndpointResponse)(nil)).Elem()
+}
+
+func (o BackendAddressPoolInterfaceEndpointResponseArrayOutput) ToBackendAddressPoolInterfaceEndpointResponseArrayOutput() BackendAddressPoolInterfaceEndpointResponseArrayOutput {
+ return o
+}
+
+func (o BackendAddressPoolInterfaceEndpointResponseArrayOutput) ToBackendAddressPoolInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) BackendAddressPoolInterfaceEndpointResponseArrayOutput {
+ return o
+}
+
+func (o BackendAddressPoolInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) BackendAddressPoolInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendAddressPoolInterfaceEndpointResponse {
+ return vs[0].([]BackendAddressPoolInterfaceEndpointResponse)[vs[1].(int)]
+ }).(BackendAddressPoolInterfaceEndpointResponseOutput)
+}
+
// Pool of backend IP addresses.
type BackendAddressPoolResponse struct {
// An array of references to IP addresses defined in network interfaces.
@@ -18296,103 +18665,6 @@ func (o BackendAddressPoolResponseArrayOutput) Index(i pulumi.IntInput) BackendA
}).(BackendAddressPoolResponseOutput)
}
-// Pool of backend IP addresses.
-type BackendAddressPoolResponseV1 struct {
- // Gets collection of references to IP addresses defined in network interfaces.
- BackendIPConfigurations []NetworkInterfaceIPConfigurationResponse `pulumi:"backendIPConfigurations"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Gets load balancing rules that use this backend address pool.
- LoadBalancingRules []SubResourceResponse `pulumi:"loadBalancingRules"`
- // Gets name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // Gets outbound rules that use this backend address pool.
- OutboundRule SubResourceResponse `pulumi:"outboundRule"`
- // Gets outbound rules that use this backend address pool.
- OutboundRules []SubResourceResponse `pulumi:"outboundRules"`
- // Get provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState *string `pulumi:"provisioningState"`
-}
-
-// Pool of backend IP addresses.
-type BackendAddressPoolResponseV1Output struct{ *pulumi.OutputState }
-
-func (BackendAddressPoolResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*BackendAddressPoolResponseV1)(nil)).Elem()
-}
-
-func (o BackendAddressPoolResponseV1Output) ToBackendAddressPoolResponseV1Output() BackendAddressPoolResponseV1Output {
- return o
-}
-
-func (o BackendAddressPoolResponseV1Output) ToBackendAddressPoolResponseV1OutputWithContext(ctx context.Context) BackendAddressPoolResponseV1Output {
- return o
-}
-
-// Gets collection of references to IP addresses defined in network interfaces.
-func (o BackendAddressPoolResponseV1Output) BackendIPConfigurations() NetworkInterfaceIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v BackendAddressPoolResponseV1) []NetworkInterfaceIPConfigurationResponse {
- return v.BackendIPConfigurations
- }).(NetworkInterfaceIPConfigurationResponseArrayOutput)
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o BackendAddressPoolResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v BackendAddressPoolResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
-}
-
-// Resource ID.
-func (o BackendAddressPoolResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v BackendAddressPoolResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// Gets load balancing rules that use this backend address pool.
-func (o BackendAddressPoolResponseV1Output) LoadBalancingRules() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v BackendAddressPoolResponseV1) []SubResourceResponse { return v.LoadBalancingRules }).(SubResourceResponseArrayOutput)
-}
-
-// Gets name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o BackendAddressPoolResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v BackendAddressPoolResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-// Gets outbound rules that use this backend address pool.
-func (o BackendAddressPoolResponseV1Output) OutboundRule() SubResourceResponseOutput {
- return o.ApplyT(func(v BackendAddressPoolResponseV1) SubResourceResponse { return v.OutboundRule }).(SubResourceResponseOutput)
-}
-
-// Gets outbound rules that use this backend address pool.
-func (o BackendAddressPoolResponseV1Output) OutboundRules() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v BackendAddressPoolResponseV1) []SubResourceResponse { return v.OutboundRules }).(SubResourceResponseArrayOutput)
-}
-
-// Get provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o BackendAddressPoolResponseV1Output) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v BackendAddressPoolResponseV1) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
-}
-
-type BackendAddressPoolResponseV1ArrayOutput struct{ *pulumi.OutputState }
-
-func (BackendAddressPoolResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]BackendAddressPoolResponseV1)(nil)).Elem()
-}
-
-func (o BackendAddressPoolResponseV1ArrayOutput) ToBackendAddressPoolResponseV1ArrayOutput() BackendAddressPoolResponseV1ArrayOutput {
- return o
-}
-
-func (o BackendAddressPoolResponseV1ArrayOutput) ToBackendAddressPoolResponseV1ArrayOutputWithContext(ctx context.Context) BackendAddressPoolResponseV1ArrayOutput {
- return o
-}
-
-func (o BackendAddressPoolResponseV1ArrayOutput) Index(i pulumi.IntInput) BackendAddressPoolResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendAddressPoolResponseV1 {
- return vs[0].([]BackendAddressPoolResponseV1)[vs[1].(int)]
- }).(BackendAddressPoolResponseV1Output)
-}
-
// The session detail for a target.
type BastionActiveSessionResponse struct {
// The protocol used to connect to the target.
@@ -20285,230 +20557,6 @@ func (o CommonAddressSpacePtrOutput) IpamPoolPrefixAllocations() CommonIpamPoolP
}).(CommonIpamPoolPrefixAllocationArrayOutput)
}
-// AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
-type CommonAddressSpaceResponse struct {
- // A list of address blocks reserved for this virtual network in CIDR notation.
- AddressPrefixes []string `pulumi:"addressPrefixes"`
- // A list of IPAM Pools allocating IP address prefixes.
- IpamPoolPrefixAllocations []CommonIpamPoolPrefixAllocationResponse `pulumi:"ipamPoolPrefixAllocations"`
-}
-
-// AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
-type CommonAddressSpaceResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonAddressSpaceResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonAddressSpaceResponse)(nil)).Elem()
-}
-
-func (o CommonAddressSpaceResponseOutput) ToCommonAddressSpaceResponseOutput() CommonAddressSpaceResponseOutput {
- return o
-}
-
-func (o CommonAddressSpaceResponseOutput) ToCommonAddressSpaceResponseOutputWithContext(ctx context.Context) CommonAddressSpaceResponseOutput {
- return o
-}
-
-// A list of address blocks reserved for this virtual network in CIDR notation.
-func (o CommonAddressSpaceResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonAddressSpaceResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
-}
-
-// A list of IPAM Pools allocating IP address prefixes.
-func (o CommonAddressSpaceResponseOutput) IpamPoolPrefixAllocations() CommonIpamPoolPrefixAllocationResponseArrayOutput {
- return o.ApplyT(func(v CommonAddressSpaceResponse) []CommonIpamPoolPrefixAllocationResponse {
- return v.IpamPoolPrefixAllocations
- }).(CommonIpamPoolPrefixAllocationResponseArrayOutput)
-}
-
-type CommonAddressSpaceResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (CommonAddressSpaceResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonAddressSpaceResponse)(nil)).Elem()
-}
-
-func (o CommonAddressSpaceResponsePtrOutput) ToCommonAddressSpaceResponsePtrOutput() CommonAddressSpaceResponsePtrOutput {
- return o
-}
-
-func (o CommonAddressSpaceResponsePtrOutput) ToCommonAddressSpaceResponsePtrOutputWithContext(ctx context.Context) CommonAddressSpaceResponsePtrOutput {
- return o
-}
-
-func (o CommonAddressSpaceResponsePtrOutput) Elem() CommonAddressSpaceResponseOutput {
- return o.ApplyT(func(v *CommonAddressSpaceResponse) CommonAddressSpaceResponse {
- if v != nil {
- return *v
- }
- var ret CommonAddressSpaceResponse
- return ret
- }).(CommonAddressSpaceResponseOutput)
-}
-
-// A list of address blocks reserved for this virtual network in CIDR notation.
-func (o CommonAddressSpaceResponsePtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *CommonAddressSpaceResponse) []string {
- if v == nil {
- return nil
- }
- return v.AddressPrefixes
- }).(pulumi.StringArrayOutput)
-}
-
-// A list of IPAM Pools allocating IP address prefixes.
-func (o CommonAddressSpaceResponsePtrOutput) IpamPoolPrefixAllocations() CommonIpamPoolPrefixAllocationResponseArrayOutput {
- return o.ApplyT(func(v *CommonAddressSpaceResponse) []CommonIpamPoolPrefixAllocationResponse {
- if v == nil {
- return nil
- }
- return v.IpamPoolPrefixAllocations
- }).(CommonIpamPoolPrefixAllocationResponseArrayOutput)
-}
-
-// Backend Address Pool of an application gateway.
-type CommonApplicationGatewayBackendAddressPoolResponse struct {
- // Backend addresses.
- BackendAddresses []CommonApplicationGatewayBackendAddressResponse `pulumi:"backendAddresses"`
- // Collection of references to IPs defined in network interfaces.
- BackendIPConfigurations []CommonNetworkInterfaceIPConfigurationResponse `pulumi:"backendIPConfigurations"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Name of the backend address pool that is unique within an Application Gateway.
- Name *string `pulumi:"name"`
- // The provisioning state of the backend address pool resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Type of the resource.
- Type string `pulumi:"type"`
-}
-
-// Backend Address Pool of an application gateway.
-type CommonApplicationGatewayBackendAddressPoolResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonApplicationGatewayBackendAddressPoolResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonApplicationGatewayBackendAddressPoolResponse)(nil)).Elem()
-}
-
-func (o CommonApplicationGatewayBackendAddressPoolResponseOutput) ToCommonApplicationGatewayBackendAddressPoolResponseOutput() CommonApplicationGatewayBackendAddressPoolResponseOutput {
- return o
-}
-
-func (o CommonApplicationGatewayBackendAddressPoolResponseOutput) ToCommonApplicationGatewayBackendAddressPoolResponseOutputWithContext(ctx context.Context) CommonApplicationGatewayBackendAddressPoolResponseOutput {
- return o
-}
-
-// Backend addresses.
-func (o CommonApplicationGatewayBackendAddressPoolResponseOutput) BackendAddresses() CommonApplicationGatewayBackendAddressResponseArrayOutput {
- return o.ApplyT(func(v CommonApplicationGatewayBackendAddressPoolResponse) []CommonApplicationGatewayBackendAddressResponse {
- return v.BackendAddresses
- }).(CommonApplicationGatewayBackendAddressResponseArrayOutput)
-}
-
-// Collection of references to IPs defined in network interfaces.
-func (o CommonApplicationGatewayBackendAddressPoolResponseOutput) BackendIPConfigurations() CommonNetworkInterfaceIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v CommonApplicationGatewayBackendAddressPoolResponse) []CommonNetworkInterfaceIPConfigurationResponse {
- return v.BackendIPConfigurations
- }).(CommonNetworkInterfaceIPConfigurationResponseArrayOutput)
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonApplicationGatewayBackendAddressPoolResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonApplicationGatewayBackendAddressPoolResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
-
-// Resource ID.
-func (o CommonApplicationGatewayBackendAddressPoolResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonApplicationGatewayBackendAddressPoolResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// Name of the backend address pool that is unique within an Application Gateway.
-func (o CommonApplicationGatewayBackendAddressPoolResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonApplicationGatewayBackendAddressPoolResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-// The provisioning state of the backend address pool resource.
-func (o CommonApplicationGatewayBackendAddressPoolResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonApplicationGatewayBackendAddressPoolResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
-
-// Type of the resource.
-func (o CommonApplicationGatewayBackendAddressPoolResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonApplicationGatewayBackendAddressPoolResponse) string { return v.Type }).(pulumi.StringOutput)
-}
-
-type CommonApplicationGatewayBackendAddressPoolResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (CommonApplicationGatewayBackendAddressPoolResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonApplicationGatewayBackendAddressPoolResponse)(nil)).Elem()
-}
-
-func (o CommonApplicationGatewayBackendAddressPoolResponseArrayOutput) ToCommonApplicationGatewayBackendAddressPoolResponseArrayOutput() CommonApplicationGatewayBackendAddressPoolResponseArrayOutput {
- return o
-}
-
-func (o CommonApplicationGatewayBackendAddressPoolResponseArrayOutput) ToCommonApplicationGatewayBackendAddressPoolResponseArrayOutputWithContext(ctx context.Context) CommonApplicationGatewayBackendAddressPoolResponseArrayOutput {
- return o
-}
-
-func (o CommonApplicationGatewayBackendAddressPoolResponseArrayOutput) Index(i pulumi.IntInput) CommonApplicationGatewayBackendAddressPoolResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonApplicationGatewayBackendAddressPoolResponse {
- return vs[0].([]CommonApplicationGatewayBackendAddressPoolResponse)[vs[1].(int)]
- }).(CommonApplicationGatewayBackendAddressPoolResponseOutput)
-}
-
-// Backend address of an application gateway.
-type CommonApplicationGatewayBackendAddressResponse struct {
- // Fully qualified domain name (FQDN).
- Fqdn *string `pulumi:"fqdn"`
- // IP address.
- IpAddress *string `pulumi:"ipAddress"`
-}
-
-// Backend address of an application gateway.
-type CommonApplicationGatewayBackendAddressResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonApplicationGatewayBackendAddressResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonApplicationGatewayBackendAddressResponse)(nil)).Elem()
-}
-
-func (o CommonApplicationGatewayBackendAddressResponseOutput) ToCommonApplicationGatewayBackendAddressResponseOutput() CommonApplicationGatewayBackendAddressResponseOutput {
- return o
-}
-
-func (o CommonApplicationGatewayBackendAddressResponseOutput) ToCommonApplicationGatewayBackendAddressResponseOutputWithContext(ctx context.Context) CommonApplicationGatewayBackendAddressResponseOutput {
- return o
-}
-
-// Fully qualified domain name (FQDN).
-func (o CommonApplicationGatewayBackendAddressResponseOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonApplicationGatewayBackendAddressResponse) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
-}
-
-// IP address.
-func (o CommonApplicationGatewayBackendAddressResponseOutput) IpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonApplicationGatewayBackendAddressResponse) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
-}
-
-type CommonApplicationGatewayBackendAddressResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (CommonApplicationGatewayBackendAddressResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonApplicationGatewayBackendAddressResponse)(nil)).Elem()
-}
-
-func (o CommonApplicationGatewayBackendAddressResponseArrayOutput) ToCommonApplicationGatewayBackendAddressResponseArrayOutput() CommonApplicationGatewayBackendAddressResponseArrayOutput {
- return o
-}
-
-func (o CommonApplicationGatewayBackendAddressResponseArrayOutput) ToCommonApplicationGatewayBackendAddressResponseArrayOutputWithContext(ctx context.Context) CommonApplicationGatewayBackendAddressResponseArrayOutput {
- return o
-}
-
-func (o CommonApplicationGatewayBackendAddressResponseArrayOutput) Index(i pulumi.IntInput) CommonApplicationGatewayBackendAddressResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonApplicationGatewayBackendAddressResponse {
- return vs[0].([]CommonApplicationGatewayBackendAddressResponse)[vs[1].(int)]
- }).(CommonApplicationGatewayBackendAddressResponseOutput)
-}
-
// IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed.
type CommonApplicationGatewayIPConfiguration struct {
// Resource ID.
@@ -20516,7 +20564,7 @@ type CommonApplicationGatewayIPConfiguration struct {
// Name of the IP configuration that is unique within an Application Gateway.
Name *string `pulumi:"name"`
// Reference to the subnet resource. A subnet from where application gateway gets its private address.
- Subnet *CommonSubResource `pulumi:"subnet"`
+ Subnet *SubResource `pulumi:"subnet"`
}
// CommonApplicationGatewayIPConfigurationInput is an input type that accepts CommonApplicationGatewayIPConfigurationArgs and CommonApplicationGatewayIPConfigurationOutput values.
@@ -20537,7 +20585,7 @@ type CommonApplicationGatewayIPConfigurationArgs struct {
// Name of the IP configuration that is unique within an Application Gateway.
Name pulumi.StringPtrInput `pulumi:"name"`
// Reference to the subnet resource. A subnet from where application gateway gets its private address.
- Subnet CommonSubResourcePtrInput `pulumi:"subnet"`
+ Subnet SubResourcePtrInput `pulumi:"subnet"`
}
func (CommonApplicationGatewayIPConfigurationArgs) ElementType() reflect.Type {
@@ -20603,8 +20651,8 @@ func (o CommonApplicationGatewayIPConfigurationOutput) Name() pulumi.StringPtrOu
}
// Reference to the subnet resource. A subnet from where application gateway gets its private address.
-func (o CommonApplicationGatewayIPConfigurationOutput) Subnet() CommonSubResourcePtrOutput {
- return o.ApplyT(func(v CommonApplicationGatewayIPConfiguration) *CommonSubResource { return v.Subnet }).(CommonSubResourcePtrOutput)
+func (o CommonApplicationGatewayIPConfigurationOutput) Subnet() SubResourcePtrOutput {
+ return o.ApplyT(func(v CommonApplicationGatewayIPConfiguration) *SubResource { return v.Subnet }).(SubResourcePtrOutput)
}
type CommonApplicationGatewayIPConfigurationArrayOutput struct{ *pulumi.OutputState }
@@ -20627,87 +20675,6 @@ func (o CommonApplicationGatewayIPConfigurationArrayOutput) Index(i pulumi.IntIn
}).(CommonApplicationGatewayIPConfigurationOutput)
}
-// IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed.
-type CommonApplicationGatewayIPConfigurationResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Name of the IP configuration that is unique within an Application Gateway.
- Name *string `pulumi:"name"`
- // The provisioning state of the application gateway IP configuration resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Reference to the subnet resource. A subnet from where application gateway gets its private address.
- Subnet *CommonSubResourceResponse `pulumi:"subnet"`
- // Type of the resource.
- Type string `pulumi:"type"`
-}
-
-// IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed.
-type CommonApplicationGatewayIPConfigurationResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonApplicationGatewayIPConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonApplicationGatewayIPConfigurationResponse)(nil)).Elem()
-}
-
-func (o CommonApplicationGatewayIPConfigurationResponseOutput) ToCommonApplicationGatewayIPConfigurationResponseOutput() CommonApplicationGatewayIPConfigurationResponseOutput {
- return o
-}
-
-func (o CommonApplicationGatewayIPConfigurationResponseOutput) ToCommonApplicationGatewayIPConfigurationResponseOutputWithContext(ctx context.Context) CommonApplicationGatewayIPConfigurationResponseOutput {
- return o
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonApplicationGatewayIPConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonApplicationGatewayIPConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
-
-// Resource ID.
-func (o CommonApplicationGatewayIPConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonApplicationGatewayIPConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// Name of the IP configuration that is unique within an Application Gateway.
-func (o CommonApplicationGatewayIPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonApplicationGatewayIPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-// The provisioning state of the application gateway IP configuration resource.
-func (o CommonApplicationGatewayIPConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonApplicationGatewayIPConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
-
-// Reference to the subnet resource. A subnet from where application gateway gets its private address.
-func (o CommonApplicationGatewayIPConfigurationResponseOutput) Subnet() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonApplicationGatewayIPConfigurationResponse) *CommonSubResourceResponse { return v.Subnet }).(CommonSubResourceResponsePtrOutput)
-}
-
-// Type of the resource.
-func (o CommonApplicationGatewayIPConfigurationResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonApplicationGatewayIPConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
-}
-
-type CommonApplicationGatewayIPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (CommonApplicationGatewayIPConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonApplicationGatewayIPConfigurationResponse)(nil)).Elem()
-}
-
-func (o CommonApplicationGatewayIPConfigurationResponseArrayOutput) ToCommonApplicationGatewayIPConfigurationResponseArrayOutput() CommonApplicationGatewayIPConfigurationResponseArrayOutput {
- return o
-}
-
-func (o CommonApplicationGatewayIPConfigurationResponseArrayOutput) ToCommonApplicationGatewayIPConfigurationResponseArrayOutputWithContext(ctx context.Context) CommonApplicationGatewayIPConfigurationResponseArrayOutput {
- return o
-}
-
-func (o CommonApplicationGatewayIPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) CommonApplicationGatewayIPConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonApplicationGatewayIPConfigurationResponse {
- return vs[0].([]CommonApplicationGatewayIPConfigurationResponse)[vs[1].(int)]
- }).(CommonApplicationGatewayIPConfigurationResponseOutput)
-}
-
// An application security group in a resource group.
type CommonApplicationSecurityGroup struct {
// Resource ID.
@@ -20826,388 +20793,6 @@ func (o CommonApplicationSecurityGroupArrayOutput) Index(i pulumi.IntInput) Comm
}).(CommonApplicationSecurityGroupOutput)
}
-// An application security group in a resource group.
-type CommonApplicationSecurityGroupResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // The provisioning state of the application security group resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.
- ResourceGuid string `pulumi:"resourceGuid"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
-}
-
-// An application security group in a resource group.
-type CommonApplicationSecurityGroupResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonApplicationSecurityGroupResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonApplicationSecurityGroupResponse)(nil)).Elem()
-}
-
-func (o CommonApplicationSecurityGroupResponseOutput) ToCommonApplicationSecurityGroupResponseOutput() CommonApplicationSecurityGroupResponseOutput {
- return o
-}
-
-func (o CommonApplicationSecurityGroupResponseOutput) ToCommonApplicationSecurityGroupResponseOutputWithContext(ctx context.Context) CommonApplicationSecurityGroupResponseOutput {
- return o
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonApplicationSecurityGroupResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonApplicationSecurityGroupResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
-
-// Resource ID.
-func (o CommonApplicationSecurityGroupResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonApplicationSecurityGroupResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// Resource location.
-func (o CommonApplicationSecurityGroupResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonApplicationSecurityGroupResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
-}
-
-// Resource name.
-func (o CommonApplicationSecurityGroupResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v CommonApplicationSecurityGroupResponse) string { return v.Name }).(pulumi.StringOutput)
-}
-
-// The provisioning state of the application security group resource.
-func (o CommonApplicationSecurityGroupResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonApplicationSecurityGroupResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
-
-// The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.
-func (o CommonApplicationSecurityGroupResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v CommonApplicationSecurityGroupResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
-}
-
-// Resource tags.
-func (o CommonApplicationSecurityGroupResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v CommonApplicationSecurityGroupResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
-}
-
-// Resource type.
-func (o CommonApplicationSecurityGroupResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonApplicationSecurityGroupResponse) string { return v.Type }).(pulumi.StringOutput)
-}
-
-type CommonApplicationSecurityGroupResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (CommonApplicationSecurityGroupResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonApplicationSecurityGroupResponse)(nil)).Elem()
-}
-
-func (o CommonApplicationSecurityGroupResponseArrayOutput) ToCommonApplicationSecurityGroupResponseArrayOutput() CommonApplicationSecurityGroupResponseArrayOutput {
- return o
-}
-
-func (o CommonApplicationSecurityGroupResponseArrayOutput) ToCommonApplicationSecurityGroupResponseArrayOutputWithContext(ctx context.Context) CommonApplicationSecurityGroupResponseArrayOutput {
- return o
-}
-
-func (o CommonApplicationSecurityGroupResponseArrayOutput) Index(i pulumi.IntInput) CommonApplicationSecurityGroupResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonApplicationSecurityGroupResponse {
- return vs[0].([]CommonApplicationSecurityGroupResponse)[vs[1].(int)]
- }).(CommonApplicationSecurityGroupResponseOutput)
-}
-
-// Pool of backend IP addresses.
-type CommonBackendAddressPoolResponse struct {
- // An array of references to IP addresses defined in network interfaces.
- BackendIPConfigurations []CommonNetworkInterfaceIPConfigurationResponse `pulumi:"backendIPConfigurations"`
- // Amount of seconds Load Balancer waits for before sending RESET to client and backend address.
- DrainPeriodInSeconds *int `pulumi:"drainPeriodInSeconds"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // An array of references to inbound NAT rules that use this backend address pool.
- InboundNatRules []CommonSubResourceResponse `pulumi:"inboundNatRules"`
- // An array of backend addresses.
- LoadBalancerBackendAddresses []CommonLoadBalancerBackendAddressResponse `pulumi:"loadBalancerBackendAddresses"`
- // An array of references to load balancing rules that use this backend address pool.
- LoadBalancingRules []CommonSubResourceResponse `pulumi:"loadBalancingRules"`
- // The location of the backend address pool.
- Location *string `pulumi:"location"`
- // Name of the resource.
- Name *string `pulumi:"name"`
- // A reference to an outbound rule that uses this backend address pool.
- OutboundRule CommonSubResourceResponse `pulumi:"outboundRule"`
- // An array of references to outbound rules that use this backend address pool.
- OutboundRules []CommonSubResourceResponse `pulumi:"outboundRules"`
- // The provisioning state of the backend address pool resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Backend address synchronous mode for the backend pool
- SyncMode *string `pulumi:"syncMode"`
- // An array of gateway load balancer tunnel interfaces.
- TunnelInterfaces []CommonGatewayLoadBalancerTunnelInterfaceResponse `pulumi:"tunnelInterfaces"`
- // Resource type.
- Type string `pulumi:"type"`
- // A reference to a virtual network.
- VirtualNetwork *CommonSubResourceResponse `pulumi:"virtualNetwork"`
-}
-
-// Pool of backend IP addresses.
-type CommonBackendAddressPoolResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonBackendAddressPoolResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonBackendAddressPoolResponse)(nil)).Elem()
-}
-
-func (o CommonBackendAddressPoolResponseOutput) ToCommonBackendAddressPoolResponseOutput() CommonBackendAddressPoolResponseOutput {
- return o
-}
-
-func (o CommonBackendAddressPoolResponseOutput) ToCommonBackendAddressPoolResponseOutputWithContext(ctx context.Context) CommonBackendAddressPoolResponseOutput {
- return o
-}
-
-// An array of references to IP addresses defined in network interfaces.
-func (o CommonBackendAddressPoolResponseOutput) BackendIPConfigurations() CommonNetworkInterfaceIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v CommonBackendAddressPoolResponse) []CommonNetworkInterfaceIPConfigurationResponse {
- return v.BackendIPConfigurations
- }).(CommonNetworkInterfaceIPConfigurationResponseArrayOutput)
-}
-
-// Amount of seconds Load Balancer waits for before sending RESET to client and backend address.
-func (o CommonBackendAddressPoolResponseOutput) DrainPeriodInSeconds() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonBackendAddressPoolResponse) *int { return v.DrainPeriodInSeconds }).(pulumi.IntPtrOutput)
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonBackendAddressPoolResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonBackendAddressPoolResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
-
-// Resource ID.
-func (o CommonBackendAddressPoolResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonBackendAddressPoolResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// An array of references to inbound NAT rules that use this backend address pool.
-func (o CommonBackendAddressPoolResponseOutput) InboundNatRules() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v CommonBackendAddressPoolResponse) []CommonSubResourceResponse { return v.InboundNatRules }).(CommonSubResourceResponseArrayOutput)
-}
-
-// An array of backend addresses.
-func (o CommonBackendAddressPoolResponseOutput) LoadBalancerBackendAddresses() CommonLoadBalancerBackendAddressResponseArrayOutput {
- return o.ApplyT(func(v CommonBackendAddressPoolResponse) []CommonLoadBalancerBackendAddressResponse {
- return v.LoadBalancerBackendAddresses
- }).(CommonLoadBalancerBackendAddressResponseArrayOutput)
-}
-
-// An array of references to load balancing rules that use this backend address pool.
-func (o CommonBackendAddressPoolResponseOutput) LoadBalancingRules() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v CommonBackendAddressPoolResponse) []CommonSubResourceResponse { return v.LoadBalancingRules }).(CommonSubResourceResponseArrayOutput)
-}
-
-// The location of the backend address pool.
-func (o CommonBackendAddressPoolResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonBackendAddressPoolResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
-}
-
-// Name of the resource.
-func (o CommonBackendAddressPoolResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonBackendAddressPoolResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-// A reference to an outbound rule that uses this backend address pool.
-func (o CommonBackendAddressPoolResponseOutput) OutboundRule() CommonSubResourceResponseOutput {
- return o.ApplyT(func(v CommonBackendAddressPoolResponse) CommonSubResourceResponse { return v.OutboundRule }).(CommonSubResourceResponseOutput)
-}
-
-// An array of references to outbound rules that use this backend address pool.
-func (o CommonBackendAddressPoolResponseOutput) OutboundRules() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v CommonBackendAddressPoolResponse) []CommonSubResourceResponse { return v.OutboundRules }).(CommonSubResourceResponseArrayOutput)
-}
-
-// The provisioning state of the backend address pool resource.
-func (o CommonBackendAddressPoolResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonBackendAddressPoolResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
-
-// Backend address synchronous mode for the backend pool
-func (o CommonBackendAddressPoolResponseOutput) SyncMode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonBackendAddressPoolResponse) *string { return v.SyncMode }).(pulumi.StringPtrOutput)
-}
-
-// An array of gateway load balancer tunnel interfaces.
-func (o CommonBackendAddressPoolResponseOutput) TunnelInterfaces() CommonGatewayLoadBalancerTunnelInterfaceResponseArrayOutput {
- return o.ApplyT(func(v CommonBackendAddressPoolResponse) []CommonGatewayLoadBalancerTunnelInterfaceResponse {
- return v.TunnelInterfaces
- }).(CommonGatewayLoadBalancerTunnelInterfaceResponseArrayOutput)
-}
-
-// Resource type.
-func (o CommonBackendAddressPoolResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonBackendAddressPoolResponse) string { return v.Type }).(pulumi.StringOutput)
-}
-
-// A reference to a virtual network.
-func (o CommonBackendAddressPoolResponseOutput) VirtualNetwork() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonBackendAddressPoolResponse) *CommonSubResourceResponse { return v.VirtualNetwork }).(CommonSubResourceResponsePtrOutput)
-}
-
-type CommonBackendAddressPoolResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (CommonBackendAddressPoolResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonBackendAddressPoolResponse)(nil)).Elem()
-}
-
-func (o CommonBackendAddressPoolResponseArrayOutput) ToCommonBackendAddressPoolResponseArrayOutput() CommonBackendAddressPoolResponseArrayOutput {
- return o
-}
-
-func (o CommonBackendAddressPoolResponseArrayOutput) ToCommonBackendAddressPoolResponseArrayOutputWithContext(ctx context.Context) CommonBackendAddressPoolResponseArrayOutput {
- return o
-}
-
-func (o CommonBackendAddressPoolResponseArrayOutput) Index(i pulumi.IntInput) CommonBackendAddressPoolResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonBackendAddressPoolResponse {
- return vs[0].([]CommonBackendAddressPoolResponse)[vs[1].(int)]
- }).(CommonBackendAddressPoolResponseOutput)
-}
-
-// Contains custom Dns resolution configuration from customer.
-type CommonCustomDnsConfigPropertiesFormatResponse struct {
- // Fqdn that resolves to private endpoint ip address.
- Fqdn *string `pulumi:"fqdn"`
- // A list of private ip addresses of the private endpoint.
- IpAddresses []string `pulumi:"ipAddresses"`
-}
-
-// Contains custom Dns resolution configuration from customer.
-type CommonCustomDnsConfigPropertiesFormatResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonCustomDnsConfigPropertiesFormatResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonCustomDnsConfigPropertiesFormatResponse)(nil)).Elem()
-}
-
-func (o CommonCustomDnsConfigPropertiesFormatResponseOutput) ToCommonCustomDnsConfigPropertiesFormatResponseOutput() CommonCustomDnsConfigPropertiesFormatResponseOutput {
- return o
-}
-
-func (o CommonCustomDnsConfigPropertiesFormatResponseOutput) ToCommonCustomDnsConfigPropertiesFormatResponseOutputWithContext(ctx context.Context) CommonCustomDnsConfigPropertiesFormatResponseOutput {
- return o
-}
-
-// Fqdn that resolves to private endpoint ip address.
-func (o CommonCustomDnsConfigPropertiesFormatResponseOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonCustomDnsConfigPropertiesFormatResponse) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
-}
-
-// A list of private ip addresses of the private endpoint.
-func (o CommonCustomDnsConfigPropertiesFormatResponseOutput) IpAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonCustomDnsConfigPropertiesFormatResponse) []string { return v.IpAddresses }).(pulumi.StringArrayOutput)
-}
-
-type CommonCustomDnsConfigPropertiesFormatResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (CommonCustomDnsConfigPropertiesFormatResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonCustomDnsConfigPropertiesFormatResponse)(nil)).Elem()
-}
-
-func (o CommonCustomDnsConfigPropertiesFormatResponseArrayOutput) ToCommonCustomDnsConfigPropertiesFormatResponseArrayOutput() CommonCustomDnsConfigPropertiesFormatResponseArrayOutput {
- return o
-}
-
-func (o CommonCustomDnsConfigPropertiesFormatResponseArrayOutput) ToCommonCustomDnsConfigPropertiesFormatResponseArrayOutputWithContext(ctx context.Context) CommonCustomDnsConfigPropertiesFormatResponseArrayOutput {
- return o
-}
-
-func (o CommonCustomDnsConfigPropertiesFormatResponseArrayOutput) Index(i pulumi.IntInput) CommonCustomDnsConfigPropertiesFormatResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonCustomDnsConfigPropertiesFormatResponse {
- return vs[0].([]CommonCustomDnsConfigPropertiesFormatResponse)[vs[1].(int)]
- }).(CommonCustomDnsConfigPropertiesFormatResponseOutput)
-}
-
-// Contains the DDoS protection settings of the public IP.
-type CommonDdosSettingsResponse struct {
- // The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
- DdosProtectionPlan *CommonSubResourceResponse `pulumi:"ddosProtectionPlan"`
- // The DDoS protection mode of the public IP
- ProtectionMode *string `pulumi:"protectionMode"`
-}
-
-// Contains the DDoS protection settings of the public IP.
-type CommonDdosSettingsResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonDdosSettingsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonDdosSettingsResponse)(nil)).Elem()
-}
-
-func (o CommonDdosSettingsResponseOutput) ToCommonDdosSettingsResponseOutput() CommonDdosSettingsResponseOutput {
- return o
-}
-
-func (o CommonDdosSettingsResponseOutput) ToCommonDdosSettingsResponseOutputWithContext(ctx context.Context) CommonDdosSettingsResponseOutput {
- return o
-}
-
-// The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
-func (o CommonDdosSettingsResponseOutput) DdosProtectionPlan() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonDdosSettingsResponse) *CommonSubResourceResponse { return v.DdosProtectionPlan }).(CommonSubResourceResponsePtrOutput)
-}
-
-// The DDoS protection mode of the public IP
-func (o CommonDdosSettingsResponseOutput) ProtectionMode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonDdosSettingsResponse) *string { return v.ProtectionMode }).(pulumi.StringPtrOutput)
-}
-
-type CommonDdosSettingsResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (CommonDdosSettingsResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonDdosSettingsResponse)(nil)).Elem()
-}
-
-func (o CommonDdosSettingsResponsePtrOutput) ToCommonDdosSettingsResponsePtrOutput() CommonDdosSettingsResponsePtrOutput {
- return o
-}
-
-func (o CommonDdosSettingsResponsePtrOutput) ToCommonDdosSettingsResponsePtrOutputWithContext(ctx context.Context) CommonDdosSettingsResponsePtrOutput {
- return o
-}
-
-func (o CommonDdosSettingsResponsePtrOutput) Elem() CommonDdosSettingsResponseOutput {
- return o.ApplyT(func(v *CommonDdosSettingsResponse) CommonDdosSettingsResponse {
- if v != nil {
- return *v
- }
- var ret CommonDdosSettingsResponse
- return ret
- }).(CommonDdosSettingsResponseOutput)
-}
-
-// The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
-func (o CommonDdosSettingsResponsePtrOutput) DdosProtectionPlan() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v *CommonDdosSettingsResponse) *CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.DdosProtectionPlan
- }).(CommonSubResourceResponsePtrOutput)
-}
-
-// The DDoS protection mode of the public IP
-func (o CommonDdosSettingsResponsePtrOutput) ProtectionMode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonDdosSettingsResponse) *string {
- if v == nil {
- return nil
- }
- return v.ProtectionMode
- }).(pulumi.StringPtrOutput)
-}
-
// Details the service to which the subnet is delegated.
type CommonDelegation struct {
// Resource ID.
@@ -21335,94 +20920,6 @@ func (o CommonDelegationArrayOutput) Index(i pulumi.IntInput) CommonDelegationOu
}).(CommonDelegationOutput)
}
-// Details the service to which the subnet is delegated.
-type CommonDelegationResponse struct {
- // The actions permitted to the service upon delegation.
- Actions []string `pulumi:"actions"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a subnet. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the service delegation resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
- ServiceName *string `pulumi:"serviceName"`
- // Resource type.
- Type *string `pulumi:"type"`
-}
-
-// Details the service to which the subnet is delegated.
-type CommonDelegationResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonDelegationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonDelegationResponse)(nil)).Elem()
-}
-
-func (o CommonDelegationResponseOutput) ToCommonDelegationResponseOutput() CommonDelegationResponseOutput {
- return o
-}
-
-func (o CommonDelegationResponseOutput) ToCommonDelegationResponseOutputWithContext(ctx context.Context) CommonDelegationResponseOutput {
- return o
-}
-
-// The actions permitted to the service upon delegation.
-func (o CommonDelegationResponseOutput) Actions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonDelegationResponse) []string { return v.Actions }).(pulumi.StringArrayOutput)
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonDelegationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonDelegationResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
-
-// Resource ID.
-func (o CommonDelegationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonDelegationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// The name of the resource that is unique within a subnet. This name can be used to access the resource.
-func (o CommonDelegationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonDelegationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-// The provisioning state of the service delegation resource.
-func (o CommonDelegationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonDelegationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
-
-// The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
-func (o CommonDelegationResponseOutput) ServiceName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonDelegationResponse) *string { return v.ServiceName }).(pulumi.StringPtrOutput)
-}
-
-// Resource type.
-func (o CommonDelegationResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonDelegationResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
-}
-
-type CommonDelegationResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (CommonDelegationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonDelegationResponse)(nil)).Elem()
-}
-
-func (o CommonDelegationResponseArrayOutput) ToCommonDelegationResponseArrayOutput() CommonDelegationResponseArrayOutput {
- return o
-}
-
-func (o CommonDelegationResponseArrayOutput) ToCommonDelegationResponseArrayOutputWithContext(ctx context.Context) CommonDelegationResponseArrayOutput {
- return o
-}
-
-func (o CommonDelegationResponseArrayOutput) Index(i pulumi.IntInput) CommonDelegationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonDelegationResponse {
- return vs[0].([]CommonDelegationResponse)[vs[1].(int)]
- }).(CommonDelegationResponseOutput)
-}
-
// DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.
type CommonDhcpOptions struct {
// The list of DNS servers IP addresses.
@@ -21563,66 +21060,6 @@ func (o CommonDhcpOptionsPtrOutput) DnsServers() pulumi.StringArrayOutput {
}).(pulumi.StringArrayOutput)
}
-// DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.
-type CommonDhcpOptionsResponse struct {
- // The list of DNS servers IP addresses.
- DnsServers []string `pulumi:"dnsServers"`
-}
-
-// DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.
-type CommonDhcpOptionsResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonDhcpOptionsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonDhcpOptionsResponse)(nil)).Elem()
-}
-
-func (o CommonDhcpOptionsResponseOutput) ToCommonDhcpOptionsResponseOutput() CommonDhcpOptionsResponseOutput {
- return o
-}
-
-func (o CommonDhcpOptionsResponseOutput) ToCommonDhcpOptionsResponseOutputWithContext(ctx context.Context) CommonDhcpOptionsResponseOutput {
- return o
-}
-
-// The list of DNS servers IP addresses.
-func (o CommonDhcpOptionsResponseOutput) DnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonDhcpOptionsResponse) []string { return v.DnsServers }).(pulumi.StringArrayOutput)
-}
-
-type CommonDhcpOptionsResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (CommonDhcpOptionsResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonDhcpOptionsResponse)(nil)).Elem()
-}
-
-func (o CommonDhcpOptionsResponsePtrOutput) ToCommonDhcpOptionsResponsePtrOutput() CommonDhcpOptionsResponsePtrOutput {
- return o
-}
-
-func (o CommonDhcpOptionsResponsePtrOutput) ToCommonDhcpOptionsResponsePtrOutputWithContext(ctx context.Context) CommonDhcpOptionsResponsePtrOutput {
- return o
-}
-
-func (o CommonDhcpOptionsResponsePtrOutput) Elem() CommonDhcpOptionsResponseOutput {
- return o.ApplyT(func(v *CommonDhcpOptionsResponse) CommonDhcpOptionsResponse {
- if v != nil {
- return *v
- }
- var ret CommonDhcpOptionsResponse
- return ret
- }).(CommonDhcpOptionsResponseOutput)
-}
-
-// The list of DNS servers IP addresses.
-func (o CommonDhcpOptionsResponsePtrOutput) DnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *CommonDhcpOptionsResponse) []string {
- if v == nil {
- return nil
- }
- return v.DnsServers
- }).(pulumi.StringArrayOutput)
-}
-
// ExtendedLocation complex type.
type CommonExtendedLocation struct {
// The name of the extended location.
@@ -21782,2627 +21219,2260 @@ func (o CommonExtendedLocationPtrOutput) Type() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-// ExtendedLocation complex type.
-type CommonExtendedLocationResponse struct {
- // The name of the extended location.
- Name *string `pulumi:"name"`
- // The type of the extended location.
- Type *string `pulumi:"type"`
-}
-
-// ExtendedLocation complex type.
-type CommonExtendedLocationResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonExtendedLocationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonExtendedLocationResponse)(nil)).Elem()
+// IpamPool prefix allocation reference.
+type CommonIpamPoolPrefixAllocation struct {
+ // Resource id of the associated Azure IpamPool resource.
+ Id *string `pulumi:"id"`
+ // Number of IP addresses to allocate.
+ NumberOfIpAddresses *string `pulumi:"numberOfIpAddresses"`
}
-func (o CommonExtendedLocationResponseOutput) ToCommonExtendedLocationResponseOutput() CommonExtendedLocationResponseOutput {
- return o
-}
+// CommonIpamPoolPrefixAllocationInput is an input type that accepts CommonIpamPoolPrefixAllocationArgs and CommonIpamPoolPrefixAllocationOutput values.
+// You can construct a concrete instance of `CommonIpamPoolPrefixAllocationInput` via:
+//
+// CommonIpamPoolPrefixAllocationArgs{...}
+type CommonIpamPoolPrefixAllocationInput interface {
+ pulumi.Input
-func (o CommonExtendedLocationResponseOutput) ToCommonExtendedLocationResponseOutputWithContext(ctx context.Context) CommonExtendedLocationResponseOutput {
- return o
+ ToCommonIpamPoolPrefixAllocationOutput() CommonIpamPoolPrefixAllocationOutput
+ ToCommonIpamPoolPrefixAllocationOutputWithContext(context.Context) CommonIpamPoolPrefixAllocationOutput
}
-// The name of the extended location.
-func (o CommonExtendedLocationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonExtendedLocationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// IpamPool prefix allocation reference.
+type CommonIpamPoolPrefixAllocationArgs struct {
+ // Resource id of the associated Azure IpamPool resource.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Number of IP addresses to allocate.
+ NumberOfIpAddresses pulumi.StringPtrInput `pulumi:"numberOfIpAddresses"`
}
-// The type of the extended location.
-func (o CommonExtendedLocationResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonExtendedLocationResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+func (CommonIpamPoolPrefixAllocationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonIpamPoolPrefixAllocation)(nil)).Elem()
}
-type CommonExtendedLocationResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (CommonExtendedLocationResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonExtendedLocationResponse)(nil)).Elem()
+func (i CommonIpamPoolPrefixAllocationArgs) ToCommonIpamPoolPrefixAllocationOutput() CommonIpamPoolPrefixAllocationOutput {
+ return i.ToCommonIpamPoolPrefixAllocationOutputWithContext(context.Background())
}
-func (o CommonExtendedLocationResponsePtrOutput) ToCommonExtendedLocationResponsePtrOutput() CommonExtendedLocationResponsePtrOutput {
- return o
+func (i CommonIpamPoolPrefixAllocationArgs) ToCommonIpamPoolPrefixAllocationOutputWithContext(ctx context.Context) CommonIpamPoolPrefixAllocationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonIpamPoolPrefixAllocationOutput)
}
-func (o CommonExtendedLocationResponsePtrOutput) ToCommonExtendedLocationResponsePtrOutputWithContext(ctx context.Context) CommonExtendedLocationResponsePtrOutput {
- return o
-}
+// CommonIpamPoolPrefixAllocationArrayInput is an input type that accepts CommonIpamPoolPrefixAllocationArray and CommonIpamPoolPrefixAllocationArrayOutput values.
+// You can construct a concrete instance of `CommonIpamPoolPrefixAllocationArrayInput` via:
+//
+// CommonIpamPoolPrefixAllocationArray{ CommonIpamPoolPrefixAllocationArgs{...} }
+type CommonIpamPoolPrefixAllocationArrayInput interface {
+ pulumi.Input
-func (o CommonExtendedLocationResponsePtrOutput) Elem() CommonExtendedLocationResponseOutput {
- return o.ApplyT(func(v *CommonExtendedLocationResponse) CommonExtendedLocationResponse {
- if v != nil {
- return *v
- }
- var ret CommonExtendedLocationResponse
- return ret
- }).(CommonExtendedLocationResponseOutput)
+ ToCommonIpamPoolPrefixAllocationArrayOutput() CommonIpamPoolPrefixAllocationArrayOutput
+ ToCommonIpamPoolPrefixAllocationArrayOutputWithContext(context.Context) CommonIpamPoolPrefixAllocationArrayOutput
}
-// The name of the extended location.
-func (o CommonExtendedLocationResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonExtendedLocationResponse) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
-}
+type CommonIpamPoolPrefixAllocationArray []CommonIpamPoolPrefixAllocationInput
-// The type of the extended location.
-func (o CommonExtendedLocationResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonExtendedLocationResponse) *string {
- if v == nil {
- return nil
- }
- return v.Type
- }).(pulumi.StringPtrOutput)
+func (CommonIpamPoolPrefixAllocationArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CommonIpamPoolPrefixAllocation)(nil)).Elem()
}
-// Parameters that define the flow log format.
-type CommonFlowLogFormatParametersResponse struct {
- // The file type of flow log.
- Type *string `pulumi:"type"`
- // The version (revision) of the flow log.
- Version *int `pulumi:"version"`
+func (i CommonIpamPoolPrefixAllocationArray) ToCommonIpamPoolPrefixAllocationArrayOutput() CommonIpamPoolPrefixAllocationArrayOutput {
+ return i.ToCommonIpamPoolPrefixAllocationArrayOutputWithContext(context.Background())
}
-// Defaults sets the appropriate defaults for CommonFlowLogFormatParametersResponse
-func (val *CommonFlowLogFormatParametersResponse) Defaults() *CommonFlowLogFormatParametersResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.Version == nil {
- version_ := 0
- tmp.Version = &version_
- }
- return &tmp
+func (i CommonIpamPoolPrefixAllocationArray) ToCommonIpamPoolPrefixAllocationArrayOutputWithContext(ctx context.Context) CommonIpamPoolPrefixAllocationArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonIpamPoolPrefixAllocationArrayOutput)
}
-// Parameters that define the flow log format.
-type CommonFlowLogFormatParametersResponseOutput struct{ *pulumi.OutputState }
+// IpamPool prefix allocation reference.
+type CommonIpamPoolPrefixAllocationOutput struct{ *pulumi.OutputState }
-func (CommonFlowLogFormatParametersResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonFlowLogFormatParametersResponse)(nil)).Elem()
+func (CommonIpamPoolPrefixAllocationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonIpamPoolPrefixAllocation)(nil)).Elem()
}
-func (o CommonFlowLogFormatParametersResponseOutput) ToCommonFlowLogFormatParametersResponseOutput() CommonFlowLogFormatParametersResponseOutput {
+func (o CommonIpamPoolPrefixAllocationOutput) ToCommonIpamPoolPrefixAllocationOutput() CommonIpamPoolPrefixAllocationOutput {
return o
}
-func (o CommonFlowLogFormatParametersResponseOutput) ToCommonFlowLogFormatParametersResponseOutputWithContext(ctx context.Context) CommonFlowLogFormatParametersResponseOutput {
+func (o CommonIpamPoolPrefixAllocationOutput) ToCommonIpamPoolPrefixAllocationOutputWithContext(ctx context.Context) CommonIpamPoolPrefixAllocationOutput {
return o
}
-// The file type of flow log.
-func (o CommonFlowLogFormatParametersResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonFlowLogFormatParametersResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Resource id of the associated Azure IpamPool resource.
+func (o CommonIpamPoolPrefixAllocationOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonIpamPoolPrefixAllocation) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The version (revision) of the flow log.
-func (o CommonFlowLogFormatParametersResponseOutput) Version() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonFlowLogFormatParametersResponse) *int { return v.Version }).(pulumi.IntPtrOutput)
+// Number of IP addresses to allocate.
+func (o CommonIpamPoolPrefixAllocationOutput) NumberOfIpAddresses() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonIpamPoolPrefixAllocation) *string { return v.NumberOfIpAddresses }).(pulumi.StringPtrOutput)
}
-type CommonFlowLogFormatParametersResponsePtrOutput struct{ *pulumi.OutputState }
+type CommonIpamPoolPrefixAllocationArrayOutput struct{ *pulumi.OutputState }
-func (CommonFlowLogFormatParametersResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonFlowLogFormatParametersResponse)(nil)).Elem()
+func (CommonIpamPoolPrefixAllocationArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CommonIpamPoolPrefixAllocation)(nil)).Elem()
}
-func (o CommonFlowLogFormatParametersResponsePtrOutput) ToCommonFlowLogFormatParametersResponsePtrOutput() CommonFlowLogFormatParametersResponsePtrOutput {
+func (o CommonIpamPoolPrefixAllocationArrayOutput) ToCommonIpamPoolPrefixAllocationArrayOutput() CommonIpamPoolPrefixAllocationArrayOutput {
return o
}
-func (o CommonFlowLogFormatParametersResponsePtrOutput) ToCommonFlowLogFormatParametersResponsePtrOutputWithContext(ctx context.Context) CommonFlowLogFormatParametersResponsePtrOutput {
+func (o CommonIpamPoolPrefixAllocationArrayOutput) ToCommonIpamPoolPrefixAllocationArrayOutputWithContext(ctx context.Context) CommonIpamPoolPrefixAllocationArrayOutput {
return o
}
-func (o CommonFlowLogFormatParametersResponsePtrOutput) Elem() CommonFlowLogFormatParametersResponseOutput {
- return o.ApplyT(func(v *CommonFlowLogFormatParametersResponse) CommonFlowLogFormatParametersResponse {
- if v != nil {
- return *v
- }
- var ret CommonFlowLogFormatParametersResponse
- return ret
- }).(CommonFlowLogFormatParametersResponseOutput)
-}
-
-// The file type of flow log.
-func (o CommonFlowLogFormatParametersResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonFlowLogFormatParametersResponse) *string {
- if v == nil {
- return nil
- }
- return v.Type
- }).(pulumi.StringPtrOutput)
-}
-
-// The version (revision) of the flow log.
-func (o CommonFlowLogFormatParametersResponsePtrOutput) Version() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *CommonFlowLogFormatParametersResponse) *int {
- if v == nil {
- return nil
- }
- return v.Version
- }).(pulumi.IntPtrOutput)
+func (o CommonIpamPoolPrefixAllocationArrayOutput) Index(i pulumi.IntInput) CommonIpamPoolPrefixAllocationOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonIpamPoolPrefixAllocation {
+ return vs[0].([]CommonIpamPoolPrefixAllocation)[vs[1].(int)]
+ }).(CommonIpamPoolPrefixAllocationOutput)
}
-// A flow log resource.
-type CommonFlowLogResponse struct {
- // Flag to enable/disable flow logging.
- Enabled *bool `pulumi:"enabled"`
- // Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged.
- EnabledFilteringCriteria *string `pulumi:"enabledFilteringCriteria"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Parameters that define the configuration of traffic analytics.
- FlowAnalyticsConfiguration *CommonTrafficAnalyticsPropertiesResponse `pulumi:"flowAnalyticsConfiguration"`
- // Parameters that define the flow log format.
- Format *CommonFlowLogFormatParametersResponse `pulumi:"format"`
+// NetworkSecurityGroup resource.
+type CommonNetworkSecurityGroup struct {
+ // When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+ FlushConnection *bool `pulumi:"flushConnection"`
// Resource ID.
Id *string `pulumi:"id"`
- // FlowLog resource Managed Identity
- Identity *CommonManagedServiceIdentityResponse `pulumi:"identity"`
// Resource location.
Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // The provisioning state of the flow log.
- ProvisioningState string `pulumi:"provisioningState"`
- // Optional field to filter network traffic logs based on flow states. Value of this field could be any comma separated combination string of letters B,C,E or D. B represents Begin, when a flow is created. C represents Continue for an ongoing flow generated at every five-minute interval. E represents End, when a flow is terminated. D represents Deny, when a flow is denied. If not specified, all network traffic will be logged.
- RecordTypes *string `pulumi:"recordTypes"`
- // Parameters that define the retention policy for flow log.
- RetentionPolicy *CommonRetentionPolicyParametersResponse `pulumi:"retentionPolicy"`
- // ID of the storage account which is used to store the flow log.
- StorageId string `pulumi:"storageId"`
+ // A collection of security rules of the network security group.
+ SecurityRules []CommonSecurityRule `pulumi:"securityRules"`
// Resource tags.
Tags map[string]string `pulumi:"tags"`
- // Guid of network security group to which flow log will be applied.
- TargetResourceGuid string `pulumi:"targetResourceGuid"`
- // ID of network security group to which flow log will be applied.
- TargetResourceId string `pulumi:"targetResourceId"`
- // Resource type.
- Type string `pulumi:"type"`
}
-// Defaults sets the appropriate defaults for CommonFlowLogResponse
-func (val *CommonFlowLogResponse) Defaults() *CommonFlowLogResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.Format = tmp.Format.Defaults()
-
- tmp.RetentionPolicy = tmp.RetentionPolicy.Defaults()
+// CommonNetworkSecurityGroupInput is an input type that accepts CommonNetworkSecurityGroupArgs and CommonNetworkSecurityGroupOutput values.
+// You can construct a concrete instance of `CommonNetworkSecurityGroupInput` via:
+//
+// CommonNetworkSecurityGroupArgs{...}
+type CommonNetworkSecurityGroupInput interface {
+ pulumi.Input
- return &tmp
+ ToCommonNetworkSecurityGroupOutput() CommonNetworkSecurityGroupOutput
+ ToCommonNetworkSecurityGroupOutputWithContext(context.Context) CommonNetworkSecurityGroupOutput
}
-// A flow log resource.
-type CommonFlowLogResponseOutput struct{ *pulumi.OutputState }
+// NetworkSecurityGroup resource.
+type CommonNetworkSecurityGroupArgs struct {
+ // When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+ FlushConnection pulumi.BoolPtrInput `pulumi:"flushConnection"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Resource location.
+ Location pulumi.StringPtrInput `pulumi:"location"`
+ // A collection of security rules of the network security group.
+ SecurityRules CommonSecurityRuleArrayInput `pulumi:"securityRules"`
+ // Resource tags.
+ Tags pulumi.StringMapInput `pulumi:"tags"`
+}
-func (CommonFlowLogResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonFlowLogResponse)(nil)).Elem()
+func (CommonNetworkSecurityGroupArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonNetworkSecurityGroup)(nil)).Elem()
}
-func (o CommonFlowLogResponseOutput) ToCommonFlowLogResponseOutput() CommonFlowLogResponseOutput {
- return o
+func (i CommonNetworkSecurityGroupArgs) ToCommonNetworkSecurityGroupOutput() CommonNetworkSecurityGroupOutput {
+ return i.ToCommonNetworkSecurityGroupOutputWithContext(context.Background())
}
-func (o CommonFlowLogResponseOutput) ToCommonFlowLogResponseOutputWithContext(ctx context.Context) CommonFlowLogResponseOutput {
- return o
+func (i CommonNetworkSecurityGroupArgs) ToCommonNetworkSecurityGroupOutputWithContext(ctx context.Context) CommonNetworkSecurityGroupOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonNetworkSecurityGroupOutput)
}
-// Flag to enable/disable flow logging.
-func (o CommonFlowLogResponseOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) *bool { return v.Enabled }).(pulumi.BoolPtrOutput)
+func (i CommonNetworkSecurityGroupArgs) ToCommonNetworkSecurityGroupPtrOutput() CommonNetworkSecurityGroupPtrOutput {
+ return i.ToCommonNetworkSecurityGroupPtrOutputWithContext(context.Background())
}
-// Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged.
-func (o CommonFlowLogResponseOutput) EnabledFilteringCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) *string { return v.EnabledFilteringCriteria }).(pulumi.StringPtrOutput)
+func (i CommonNetworkSecurityGroupArgs) ToCommonNetworkSecurityGroupPtrOutputWithContext(ctx context.Context) CommonNetworkSecurityGroupPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonNetworkSecurityGroupOutput).ToCommonNetworkSecurityGroupPtrOutputWithContext(ctx)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonFlowLogResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) string { return v.Etag }).(pulumi.StringOutput)
+// CommonNetworkSecurityGroupPtrInput is an input type that accepts CommonNetworkSecurityGroupArgs, CommonNetworkSecurityGroupPtr and CommonNetworkSecurityGroupPtrOutput values.
+// You can construct a concrete instance of `CommonNetworkSecurityGroupPtrInput` via:
+//
+// CommonNetworkSecurityGroupArgs{...}
+//
+// or:
+//
+// nil
+type CommonNetworkSecurityGroupPtrInput interface {
+ pulumi.Input
+
+ ToCommonNetworkSecurityGroupPtrOutput() CommonNetworkSecurityGroupPtrOutput
+ ToCommonNetworkSecurityGroupPtrOutputWithContext(context.Context) CommonNetworkSecurityGroupPtrOutput
}
-// Parameters that define the configuration of traffic analytics.
-func (o CommonFlowLogResponseOutput) FlowAnalyticsConfiguration() CommonTrafficAnalyticsPropertiesResponsePtrOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) *CommonTrafficAnalyticsPropertiesResponse {
- return v.FlowAnalyticsConfiguration
- }).(CommonTrafficAnalyticsPropertiesResponsePtrOutput)
+type commonNetworkSecurityGroupPtrType CommonNetworkSecurityGroupArgs
+
+func CommonNetworkSecurityGroupPtr(v *CommonNetworkSecurityGroupArgs) CommonNetworkSecurityGroupPtrInput {
+ return (*commonNetworkSecurityGroupPtrType)(v)
}
-// Parameters that define the flow log format.
-func (o CommonFlowLogResponseOutput) Format() CommonFlowLogFormatParametersResponsePtrOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) *CommonFlowLogFormatParametersResponse { return v.Format }).(CommonFlowLogFormatParametersResponsePtrOutput)
+func (*commonNetworkSecurityGroupPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**CommonNetworkSecurityGroup)(nil)).Elem()
}
-// Resource ID.
-func (o CommonFlowLogResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (i *commonNetworkSecurityGroupPtrType) ToCommonNetworkSecurityGroupPtrOutput() CommonNetworkSecurityGroupPtrOutput {
+ return i.ToCommonNetworkSecurityGroupPtrOutputWithContext(context.Background())
}
-// FlowLog resource Managed Identity
-func (o CommonFlowLogResponseOutput) Identity() CommonManagedServiceIdentityResponsePtrOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) *CommonManagedServiceIdentityResponse { return v.Identity }).(CommonManagedServiceIdentityResponsePtrOutput)
+func (i *commonNetworkSecurityGroupPtrType) ToCommonNetworkSecurityGroupPtrOutputWithContext(ctx context.Context) CommonNetworkSecurityGroupPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonNetworkSecurityGroupPtrOutput)
}
-// Resource location.
-func (o CommonFlowLogResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+// NetworkSecurityGroup resource.
+type CommonNetworkSecurityGroupOutput struct{ *pulumi.OutputState }
+
+func (CommonNetworkSecurityGroupOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonNetworkSecurityGroup)(nil)).Elem()
}
-// Resource name.
-func (o CommonFlowLogResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) string { return v.Name }).(pulumi.StringOutput)
+func (o CommonNetworkSecurityGroupOutput) ToCommonNetworkSecurityGroupOutput() CommonNetworkSecurityGroupOutput {
+ return o
}
-// The provisioning state of the flow log.
-func (o CommonFlowLogResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o CommonNetworkSecurityGroupOutput) ToCommonNetworkSecurityGroupOutputWithContext(ctx context.Context) CommonNetworkSecurityGroupOutput {
+ return o
}
-// Optional field to filter network traffic logs based on flow states. Value of this field could be any comma separated combination string of letters B,C,E or D. B represents Begin, when a flow is created. C represents Continue for an ongoing flow generated at every five-minute interval. E represents End, when a flow is terminated. D represents Deny, when a flow is denied. If not specified, all network traffic will be logged.
-func (o CommonFlowLogResponseOutput) RecordTypes() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) *string { return v.RecordTypes }).(pulumi.StringPtrOutput)
+func (o CommonNetworkSecurityGroupOutput) ToCommonNetworkSecurityGroupPtrOutput() CommonNetworkSecurityGroupPtrOutput {
+ return o.ToCommonNetworkSecurityGroupPtrOutputWithContext(context.Background())
}
-// Parameters that define the retention policy for flow log.
-func (o CommonFlowLogResponseOutput) RetentionPolicy() CommonRetentionPolicyParametersResponsePtrOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) *CommonRetentionPolicyParametersResponse { return v.RetentionPolicy }).(CommonRetentionPolicyParametersResponsePtrOutput)
+func (o CommonNetworkSecurityGroupOutput) ToCommonNetworkSecurityGroupPtrOutputWithContext(ctx context.Context) CommonNetworkSecurityGroupPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v CommonNetworkSecurityGroup) *CommonNetworkSecurityGroup {
+ return &v
+ }).(CommonNetworkSecurityGroupPtrOutput)
}
-// ID of the storage account which is used to store the flow log.
-func (o CommonFlowLogResponseOutput) StorageId() pulumi.StringOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) string { return v.StorageId }).(pulumi.StringOutput)
+// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+func (o CommonNetworkSecurityGroupOutput) FlushConnection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v CommonNetworkSecurityGroup) *bool { return v.FlushConnection }).(pulumi.BoolPtrOutput)
}
-// Resource tags.
-func (o CommonFlowLogResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// Resource ID.
+func (o CommonNetworkSecurityGroupOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonNetworkSecurityGroup) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Guid of network security group to which flow log will be applied.
-func (o CommonFlowLogResponseOutput) TargetResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) string { return v.TargetResourceGuid }).(pulumi.StringOutput)
+// Resource location.
+func (o CommonNetworkSecurityGroupOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonNetworkSecurityGroup) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// ID of network security group to which flow log will be applied.
-func (o CommonFlowLogResponseOutput) TargetResourceId() pulumi.StringOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) string { return v.TargetResourceId }).(pulumi.StringOutput)
+// A collection of security rules of the network security group.
+func (o CommonNetworkSecurityGroupOutput) SecurityRules() CommonSecurityRuleArrayOutput {
+ return o.ApplyT(func(v CommonNetworkSecurityGroup) []CommonSecurityRule { return v.SecurityRules }).(CommonSecurityRuleArrayOutput)
}
-// Resource type.
-func (o CommonFlowLogResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonFlowLogResponse) string { return v.Type }).(pulumi.StringOutput)
+// Resource tags.
+func (o CommonNetworkSecurityGroupOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v CommonNetworkSecurityGroup) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-type CommonFlowLogResponseArrayOutput struct{ *pulumi.OutputState }
+type CommonNetworkSecurityGroupPtrOutput struct{ *pulumi.OutputState }
-func (CommonFlowLogResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonFlowLogResponse)(nil)).Elem()
+func (CommonNetworkSecurityGroupPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**CommonNetworkSecurityGroup)(nil)).Elem()
}
-func (o CommonFlowLogResponseArrayOutput) ToCommonFlowLogResponseArrayOutput() CommonFlowLogResponseArrayOutput {
+func (o CommonNetworkSecurityGroupPtrOutput) ToCommonNetworkSecurityGroupPtrOutput() CommonNetworkSecurityGroupPtrOutput {
return o
}
-func (o CommonFlowLogResponseArrayOutput) ToCommonFlowLogResponseArrayOutputWithContext(ctx context.Context) CommonFlowLogResponseArrayOutput {
+func (o CommonNetworkSecurityGroupPtrOutput) ToCommonNetworkSecurityGroupPtrOutputWithContext(ctx context.Context) CommonNetworkSecurityGroupPtrOutput {
return o
}
-func (o CommonFlowLogResponseArrayOutput) Index(i pulumi.IntInput) CommonFlowLogResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonFlowLogResponse {
- return vs[0].([]CommonFlowLogResponse)[vs[1].(int)]
- }).(CommonFlowLogResponseOutput)
+func (o CommonNetworkSecurityGroupPtrOutput) Elem() CommonNetworkSecurityGroupOutput {
+ return o.ApplyT(func(v *CommonNetworkSecurityGroup) CommonNetworkSecurityGroup {
+ if v != nil {
+ return *v
+ }
+ var ret CommonNetworkSecurityGroup
+ return ret
+ }).(CommonNetworkSecurityGroupOutput)
}
-// Frontend IP address of the load balancer.
-type CommonFrontendIPConfigurationResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The reference to gateway load balancer frontend IP.
- GatewayLoadBalancer *CommonSubResourceResponse `pulumi:"gatewayLoadBalancer"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // An array of references to inbound pools that use this frontend IP.
- InboundNatPools []CommonSubResourceResponse `pulumi:"inboundNatPools"`
- // An array of references to inbound rules that use this frontend IP.
- InboundNatRules []CommonSubResourceResponse `pulumi:"inboundNatRules"`
- // An array of references to load balancing rules that use this frontend IP.
- LoadBalancingRules []CommonSubResourceResponse `pulumi:"loadBalancingRules"`
- // Name of the resource.
- Name *string `pulumi:"name"`
- // An array of references to outbound rules that use this frontend IP.
- OutboundRules []CommonSubResourceResponse `pulumi:"outboundRules"`
- // The private IP address of the IP configuration.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
- PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
- // The Private IP allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // The provisioning state of the frontend IP configuration resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The reference to the Public IP resource.
- PublicIPAddress *CommonPublicIPAddressResponse `pulumi:"publicIPAddress"`
- // The reference to the Public IP Prefix resource.
- PublicIPPrefix *CommonSubResourceResponse `pulumi:"publicIPPrefix"`
- // The reference to the subnet resource.
- Subnet *CommonSubnetResponse `pulumi:"subnet"`
- // Resource type.
- Type string `pulumi:"type"`
- // A list of availability zones denoting the IP allocated for the resource needs to come from.
- Zones []string `pulumi:"zones"`
+// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+func (o CommonNetworkSecurityGroupPtrOutput) FlushConnection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *CommonNetworkSecurityGroup) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.FlushConnection
+ }).(pulumi.BoolPtrOutput)
}
-// Defaults sets the appropriate defaults for CommonFrontendIPConfigurationResponse
-func (val *CommonFrontendIPConfigurationResponse) Defaults() *CommonFrontendIPConfigurationResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
-
- tmp.Subnet = tmp.Subnet.Defaults()
-
- return &tmp
+// Resource ID.
+func (o CommonNetworkSecurityGroupPtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *CommonNetworkSecurityGroup) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// Frontend IP address of the load balancer.
-type CommonFrontendIPConfigurationResponseOutput struct{ *pulumi.OutputState }
+// Resource location.
+func (o CommonNetworkSecurityGroupPtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *CommonNetworkSecurityGroup) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
+}
-func (CommonFrontendIPConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonFrontendIPConfigurationResponse)(nil)).Elem()
+// A collection of security rules of the network security group.
+func (o CommonNetworkSecurityGroupPtrOutput) SecurityRules() CommonSecurityRuleArrayOutput {
+ return o.ApplyT(func(v *CommonNetworkSecurityGroup) []CommonSecurityRule {
+ if v == nil {
+ return nil
+ }
+ return v.SecurityRules
+ }).(CommonSecurityRuleArrayOutput)
}
-func (o CommonFrontendIPConfigurationResponseOutput) ToCommonFrontendIPConfigurationResponseOutput() CommonFrontendIPConfigurationResponseOutput {
- return o
+// Resource tags.
+func (o CommonNetworkSecurityGroupPtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *CommonNetworkSecurityGroup) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-func (o CommonFrontendIPConfigurationResponseOutput) ToCommonFrontendIPConfigurationResponseOutputWithContext(ctx context.Context) CommonFrontendIPConfigurationResponseOutput {
- return o
+// Route resource.
+type CommonRoute struct {
+ // The destination CIDR to which the route applies.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
+ NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
+ // The type of Azure hop the packet should be sent to.
+ NextHopType string `pulumi:"nextHopType"`
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonFrontendIPConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
+// CommonRouteInput is an input type that accepts CommonRouteArgs and CommonRouteOutput values.
+// You can construct a concrete instance of `CommonRouteInput` via:
+//
+// CommonRouteArgs{...}
+type CommonRouteInput interface {
+ pulumi.Input
+
+ ToCommonRouteOutput() CommonRouteOutput
+ ToCommonRouteOutputWithContext(context.Context) CommonRouteOutput
}
-// The reference to gateway load balancer frontend IP.
-func (o CommonFrontendIPConfigurationResponseOutput) GatewayLoadBalancer() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) *CommonSubResourceResponse { return v.GatewayLoadBalancer }).(CommonSubResourceResponsePtrOutput)
+// Route resource.
+type CommonRouteArgs struct {
+ // The destination CIDR to which the route applies.
+ AddressPrefix pulumi.StringPtrInput `pulumi:"addressPrefix"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Name of the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
+ NextHopIpAddress pulumi.StringPtrInput `pulumi:"nextHopIpAddress"`
+ // The type of Azure hop the packet should be sent to.
+ NextHopType pulumi.StringInput `pulumi:"nextHopType"`
}
-// Resource ID.
-func (o CommonFrontendIPConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (CommonRouteArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonRoute)(nil)).Elem()
}
-// An array of references to inbound pools that use this frontend IP.
-func (o CommonFrontendIPConfigurationResponseOutput) InboundNatPools() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) []CommonSubResourceResponse { return v.InboundNatPools }).(CommonSubResourceResponseArrayOutput)
+func (i CommonRouteArgs) ToCommonRouteOutput() CommonRouteOutput {
+ return i.ToCommonRouteOutputWithContext(context.Background())
}
-// An array of references to inbound rules that use this frontend IP.
-func (o CommonFrontendIPConfigurationResponseOutput) InboundNatRules() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) []CommonSubResourceResponse { return v.InboundNatRules }).(CommonSubResourceResponseArrayOutput)
+func (i CommonRouteArgs) ToCommonRouteOutputWithContext(ctx context.Context) CommonRouteOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonRouteOutput)
}
-// An array of references to load balancing rules that use this frontend IP.
-func (o CommonFrontendIPConfigurationResponseOutput) LoadBalancingRules() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) []CommonSubResourceResponse { return v.LoadBalancingRules }).(CommonSubResourceResponseArrayOutput)
+// CommonRouteArrayInput is an input type that accepts CommonRouteArray and CommonRouteArrayOutput values.
+// You can construct a concrete instance of `CommonRouteArrayInput` via:
+//
+// CommonRouteArray{ CommonRouteArgs{...} }
+type CommonRouteArrayInput interface {
+ pulumi.Input
+
+ ToCommonRouteArrayOutput() CommonRouteArrayOutput
+ ToCommonRouteArrayOutputWithContext(context.Context) CommonRouteArrayOutput
}
-// Name of the resource.
-func (o CommonFrontendIPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+type CommonRouteArray []CommonRouteInput
+
+func (CommonRouteArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CommonRoute)(nil)).Elem()
}
-// An array of references to outbound rules that use this frontend IP.
-func (o CommonFrontendIPConfigurationResponseOutput) OutboundRules() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) []CommonSubResourceResponse { return v.OutboundRules }).(CommonSubResourceResponseArrayOutput)
+func (i CommonRouteArray) ToCommonRouteArrayOutput() CommonRouteArrayOutput {
+ return i.ToCommonRouteArrayOutputWithContext(context.Background())
}
-// The private IP address of the IP configuration.
-func (o CommonFrontendIPConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+func (i CommonRouteArray) ToCommonRouteArrayOutputWithContext(ctx context.Context) CommonRouteArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonRouteArrayOutput)
}
-// Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
-func (o CommonFrontendIPConfigurationResponseOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
+// Route resource.
+type CommonRouteOutput struct{ *pulumi.OutputState }
+
+func (CommonRouteOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonRoute)(nil)).Elem()
}
-// The Private IP allocation method.
-func (o CommonFrontendIPConfigurationResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+func (o CommonRouteOutput) ToCommonRouteOutput() CommonRouteOutput {
+ return o
}
-// The provisioning state of the frontend IP configuration resource.
-func (o CommonFrontendIPConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o CommonRouteOutput) ToCommonRouteOutputWithContext(ctx context.Context) CommonRouteOutput {
+ return o
}
-// The reference to the Public IP resource.
-func (o CommonFrontendIPConfigurationResponseOutput) PublicIPAddress() CommonPublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) *CommonPublicIPAddressResponse { return v.PublicIPAddress }).(CommonPublicIPAddressResponsePtrOutput)
+// The destination CIDR to which the route applies.
+func (o CommonRouteOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonRoute) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-// The reference to the Public IP Prefix resource.
-func (o CommonFrontendIPConfigurationResponseOutput) PublicIPPrefix() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) *CommonSubResourceResponse { return v.PublicIPPrefix }).(CommonSubResourceResponsePtrOutput)
+// Resource ID.
+func (o CommonRouteOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonRoute) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The reference to the subnet resource.
-func (o CommonFrontendIPConfigurationResponseOutput) Subnet() CommonSubnetResponsePtrOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) *CommonSubnetResponse { return v.Subnet }).(CommonSubnetResponsePtrOutput)
+// Name of the resource.
+func (o CommonRouteOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonRoute) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Resource type.
-func (o CommonFrontendIPConfigurationResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
+// The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
+func (o CommonRouteOutput) NextHopIpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonRoute) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
}
-// A list of availability zones denoting the IP allocated for the resource needs to come from.
-func (o CommonFrontendIPConfigurationResponseOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonFrontendIPConfigurationResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
+// The type of Azure hop the packet should be sent to.
+func (o CommonRouteOutput) NextHopType() pulumi.StringOutput {
+ return o.ApplyT(func(v CommonRoute) string { return v.NextHopType }).(pulumi.StringOutput)
}
-type CommonFrontendIPConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
+type CommonRouteArrayOutput struct{ *pulumi.OutputState }
-func (CommonFrontendIPConfigurationResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonFrontendIPConfigurationResponse)(nil)).Elem()
+func (CommonRouteArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CommonRoute)(nil)).Elem()
}
-func (o CommonFrontendIPConfigurationResponsePtrOutput) ToCommonFrontendIPConfigurationResponsePtrOutput() CommonFrontendIPConfigurationResponsePtrOutput {
+func (o CommonRouteArrayOutput) ToCommonRouteArrayOutput() CommonRouteArrayOutput {
return o
}
-func (o CommonFrontendIPConfigurationResponsePtrOutput) ToCommonFrontendIPConfigurationResponsePtrOutputWithContext(ctx context.Context) CommonFrontendIPConfigurationResponsePtrOutput {
+func (o CommonRouteArrayOutput) ToCommonRouteArrayOutputWithContext(ctx context.Context) CommonRouteArrayOutput {
return o
}
-func (o CommonFrontendIPConfigurationResponsePtrOutput) Elem() CommonFrontendIPConfigurationResponseOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) CommonFrontendIPConfigurationResponse {
- if v != nil {
- return *v
- }
- var ret CommonFrontendIPConfigurationResponse
- return ret
- }).(CommonFrontendIPConfigurationResponseOutput)
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Etag
- }).(pulumi.StringPtrOutput)
+func (o CommonRouteArrayOutput) Index(i pulumi.IntInput) CommonRouteOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonRoute {
+ return vs[0].([]CommonRoute)[vs[1].(int)]
+ }).(CommonRouteOutput)
}
-// The reference to gateway load balancer frontend IP.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) GatewayLoadBalancer() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) *CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.GatewayLoadBalancer
- }).(CommonSubResourceResponsePtrOutput)
+// Route table resource.
+type CommonRouteTable struct {
+ // Whether to disable the routes learned by BGP on that route table. True means disable.
+ DisableBgpRoutePropagation *bool `pulumi:"disableBgpRoutePropagation"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Collection of routes contained within a route table.
+ Routes []CommonRoute `pulumi:"routes"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
}
-// Resource ID.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
-}
+// CommonRouteTableInput is an input type that accepts CommonRouteTableArgs and CommonRouteTableOutput values.
+// You can construct a concrete instance of `CommonRouteTableInput` via:
+//
+// CommonRouteTableArgs{...}
+type CommonRouteTableInput interface {
+ pulumi.Input
-// An array of references to inbound pools that use this frontend IP.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) InboundNatPools() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) []CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.InboundNatPools
- }).(CommonSubResourceResponseArrayOutput)
+ ToCommonRouteTableOutput() CommonRouteTableOutput
+ ToCommonRouteTableOutputWithContext(context.Context) CommonRouteTableOutput
}
-// An array of references to inbound rules that use this frontend IP.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) InboundNatRules() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) []CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.InboundNatRules
- }).(CommonSubResourceResponseArrayOutput)
+// Route table resource.
+type CommonRouteTableArgs struct {
+ // Whether to disable the routes learned by BGP on that route table. True means disable.
+ DisableBgpRoutePropagation pulumi.BoolPtrInput `pulumi:"disableBgpRoutePropagation"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Resource location.
+ Location pulumi.StringPtrInput `pulumi:"location"`
+ // Collection of routes contained within a route table.
+ Routes CommonRouteArrayInput `pulumi:"routes"`
+ // Resource tags.
+ Tags pulumi.StringMapInput `pulumi:"tags"`
}
-// An array of references to load balancing rules that use this frontend IP.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) LoadBalancingRules() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) []CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.LoadBalancingRules
- }).(CommonSubResourceResponseArrayOutput)
+func (CommonRouteTableArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonRouteTable)(nil)).Elem()
}
-// Name of the resource.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+func (i CommonRouteTableArgs) ToCommonRouteTableOutput() CommonRouteTableOutput {
+ return i.ToCommonRouteTableOutputWithContext(context.Background())
}
-// An array of references to outbound rules that use this frontend IP.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) OutboundRules() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) []CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.OutboundRules
- }).(CommonSubResourceResponseArrayOutput)
+func (i CommonRouteTableArgs) ToCommonRouteTableOutputWithContext(ctx context.Context) CommonRouteTableOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonRouteTableOutput)
}
-// The private IP address of the IP configuration.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddress
- }).(pulumi.StringPtrOutput)
+func (i CommonRouteTableArgs) ToCommonRouteTablePtrOutput() CommonRouteTablePtrOutput {
+ return i.ToCommonRouteTablePtrOutputWithContext(context.Background())
}
-// Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddressVersion
- }).(pulumi.StringPtrOutput)
+func (i CommonRouteTableArgs) ToCommonRouteTablePtrOutputWithContext(ctx context.Context) CommonRouteTablePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonRouteTableOutput).ToCommonRouteTablePtrOutputWithContext(ctx)
}
-// The Private IP allocation method.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAllocationMethod
- }).(pulumi.StringPtrOutput)
-}
+// CommonRouteTablePtrInput is an input type that accepts CommonRouteTableArgs, CommonRouteTablePtr and CommonRouteTablePtrOutput values.
+// You can construct a concrete instance of `CommonRouteTablePtrInput` via:
+//
+// CommonRouteTableArgs{...}
+//
+// or:
+//
+// nil
+type CommonRouteTablePtrInput interface {
+ pulumi.Input
-// The provisioning state of the frontend IP configuration resource.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+ ToCommonRouteTablePtrOutput() CommonRouteTablePtrOutput
+ ToCommonRouteTablePtrOutputWithContext(context.Context) CommonRouteTablePtrOutput
}
-// The reference to the Public IP resource.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) PublicIPAddress() CommonPublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) *CommonPublicIPAddressResponse {
- if v == nil {
- return nil
- }
- return v.PublicIPAddress
- }).(CommonPublicIPAddressResponsePtrOutput)
-}
+type commonRouteTablePtrType CommonRouteTableArgs
-// The reference to the Public IP Prefix resource.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) PublicIPPrefix() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) *CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.PublicIPPrefix
- }).(CommonSubResourceResponsePtrOutput)
+func CommonRouteTablePtr(v *CommonRouteTableArgs) CommonRouteTablePtrInput {
+ return (*commonRouteTablePtrType)(v)
}
-// The reference to the subnet resource.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) Subnet() CommonSubnetResponsePtrOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) *CommonSubnetResponse {
- if v == nil {
- return nil
- }
- return v.Subnet
- }).(CommonSubnetResponsePtrOutput)
+func (*commonRouteTablePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**CommonRouteTable)(nil)).Elem()
}
-// Resource type.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Type
- }).(pulumi.StringPtrOutput)
+func (i *commonRouteTablePtrType) ToCommonRouteTablePtrOutput() CommonRouteTablePtrOutput {
+ return i.ToCommonRouteTablePtrOutputWithContext(context.Background())
}
-// A list of availability zones denoting the IP allocated for the resource needs to come from.
-func (o CommonFrontendIPConfigurationResponsePtrOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *CommonFrontendIPConfigurationResponse) []string {
- if v == nil {
- return nil
- }
- return v.Zones
- }).(pulumi.StringArrayOutput)
+func (i *commonRouteTablePtrType) ToCommonRouteTablePtrOutputWithContext(ctx context.Context) CommonRouteTablePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonRouteTablePtrOutput)
}
-type CommonFrontendIPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+// Route table resource.
+type CommonRouteTableOutput struct{ *pulumi.OutputState }
-func (CommonFrontendIPConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonFrontendIPConfigurationResponse)(nil)).Elem()
+func (CommonRouteTableOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonRouteTable)(nil)).Elem()
}
-func (o CommonFrontendIPConfigurationResponseArrayOutput) ToCommonFrontendIPConfigurationResponseArrayOutput() CommonFrontendIPConfigurationResponseArrayOutput {
+func (o CommonRouteTableOutput) ToCommonRouteTableOutput() CommonRouteTableOutput {
return o
}
-func (o CommonFrontendIPConfigurationResponseArrayOutput) ToCommonFrontendIPConfigurationResponseArrayOutputWithContext(ctx context.Context) CommonFrontendIPConfigurationResponseArrayOutput {
+func (o CommonRouteTableOutput) ToCommonRouteTableOutputWithContext(ctx context.Context) CommonRouteTableOutput {
return o
}
-func (o CommonFrontendIPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) CommonFrontendIPConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonFrontendIPConfigurationResponse {
- return vs[0].([]CommonFrontendIPConfigurationResponse)[vs[1].(int)]
- }).(CommonFrontendIPConfigurationResponseOutput)
+func (o CommonRouteTableOutput) ToCommonRouteTablePtrOutput() CommonRouteTablePtrOutput {
+ return o.ToCommonRouteTablePtrOutputWithContext(context.Background())
}
-// Gateway load balancer tunnel interface of a load balancer backend address pool.
-type CommonGatewayLoadBalancerTunnelInterfaceResponse struct {
- // Identifier of gateway load balancer tunnel interface.
- Identifier *int `pulumi:"identifier"`
- // Port of gateway load balancer tunnel interface.
- Port *int `pulumi:"port"`
- // Protocol of gateway load balancer tunnel interface.
- Protocol *string `pulumi:"protocol"`
- // Traffic type of gateway load balancer tunnel interface.
- Type *string `pulumi:"type"`
+func (o CommonRouteTableOutput) ToCommonRouteTablePtrOutputWithContext(ctx context.Context) CommonRouteTablePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v CommonRouteTable) *CommonRouteTable {
+ return &v
+ }).(CommonRouteTablePtrOutput)
}
-// Gateway load balancer tunnel interface of a load balancer backend address pool.
-type CommonGatewayLoadBalancerTunnelInterfaceResponseOutput struct{ *pulumi.OutputState }
+// Whether to disable the routes learned by BGP on that route table. True means disable.
+func (o CommonRouteTableOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v CommonRouteTable) *bool { return v.DisableBgpRoutePropagation }).(pulumi.BoolPtrOutput)
+}
-func (CommonGatewayLoadBalancerTunnelInterfaceResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonGatewayLoadBalancerTunnelInterfaceResponse)(nil)).Elem()
+// Resource ID.
+func (o CommonRouteTableOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonRouteTable) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o CommonGatewayLoadBalancerTunnelInterfaceResponseOutput) ToCommonGatewayLoadBalancerTunnelInterfaceResponseOutput() CommonGatewayLoadBalancerTunnelInterfaceResponseOutput {
- return o
+// Resource location.
+func (o CommonRouteTableOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonRouteTable) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o CommonGatewayLoadBalancerTunnelInterfaceResponseOutput) ToCommonGatewayLoadBalancerTunnelInterfaceResponseOutputWithContext(ctx context.Context) CommonGatewayLoadBalancerTunnelInterfaceResponseOutput {
- return o
+// Collection of routes contained within a route table.
+func (o CommonRouteTableOutput) Routes() CommonRouteArrayOutput {
+ return o.ApplyT(func(v CommonRouteTable) []CommonRoute { return v.Routes }).(CommonRouteArrayOutput)
}
-// Identifier of gateway load balancer tunnel interface.
-func (o CommonGatewayLoadBalancerTunnelInterfaceResponseOutput) Identifier() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonGatewayLoadBalancerTunnelInterfaceResponse) *int { return v.Identifier }).(pulumi.IntPtrOutput)
+// Resource tags.
+func (o CommonRouteTableOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v CommonRouteTable) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// Port of gateway load balancer tunnel interface.
-func (o CommonGatewayLoadBalancerTunnelInterfaceResponseOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonGatewayLoadBalancerTunnelInterfaceResponse) *int { return v.Port }).(pulumi.IntPtrOutput)
+type CommonRouteTablePtrOutput struct{ *pulumi.OutputState }
+
+func (CommonRouteTablePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**CommonRouteTable)(nil)).Elem()
}
-// Protocol of gateway load balancer tunnel interface.
-func (o CommonGatewayLoadBalancerTunnelInterfaceResponseOutput) Protocol() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonGatewayLoadBalancerTunnelInterfaceResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput)
+func (o CommonRouteTablePtrOutput) ToCommonRouteTablePtrOutput() CommonRouteTablePtrOutput {
+ return o
}
-// Traffic type of gateway load balancer tunnel interface.
-func (o CommonGatewayLoadBalancerTunnelInterfaceResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonGatewayLoadBalancerTunnelInterfaceResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+func (o CommonRouteTablePtrOutput) ToCommonRouteTablePtrOutputWithContext(ctx context.Context) CommonRouteTablePtrOutput {
+ return o
}
-type CommonGatewayLoadBalancerTunnelInterfaceResponseArrayOutput struct{ *pulumi.OutputState }
+func (o CommonRouteTablePtrOutput) Elem() CommonRouteTableOutput {
+ return o.ApplyT(func(v *CommonRouteTable) CommonRouteTable {
+ if v != nil {
+ return *v
+ }
+ var ret CommonRouteTable
+ return ret
+ }).(CommonRouteTableOutput)
+}
-func (CommonGatewayLoadBalancerTunnelInterfaceResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonGatewayLoadBalancerTunnelInterfaceResponse)(nil)).Elem()
+// Whether to disable the routes learned by BGP on that route table. True means disable.
+func (o CommonRouteTablePtrOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *CommonRouteTable) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DisableBgpRoutePropagation
+ }).(pulumi.BoolPtrOutput)
}
-func (o CommonGatewayLoadBalancerTunnelInterfaceResponseArrayOutput) ToCommonGatewayLoadBalancerTunnelInterfaceResponseArrayOutput() CommonGatewayLoadBalancerTunnelInterfaceResponseArrayOutput {
- return o
+// Resource ID.
+func (o CommonRouteTablePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *CommonRouteTable) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (o CommonGatewayLoadBalancerTunnelInterfaceResponseArrayOutput) ToCommonGatewayLoadBalancerTunnelInterfaceResponseArrayOutputWithContext(ctx context.Context) CommonGatewayLoadBalancerTunnelInterfaceResponseArrayOutput {
- return o
+// Resource location.
+func (o CommonRouteTablePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *CommonRouteTable) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-func (o CommonGatewayLoadBalancerTunnelInterfaceResponseArrayOutput) Index(i pulumi.IntInput) CommonGatewayLoadBalancerTunnelInterfaceResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonGatewayLoadBalancerTunnelInterfaceResponse {
- return vs[0].([]CommonGatewayLoadBalancerTunnelInterfaceResponse)[vs[1].(int)]
- }).(CommonGatewayLoadBalancerTunnelInterfaceResponseOutput)
+// Collection of routes contained within a route table.
+func (o CommonRouteTablePtrOutput) Routes() CommonRouteArrayOutput {
+ return o.ApplyT(func(v *CommonRouteTable) []CommonRoute {
+ if v == nil {
+ return nil
+ }
+ return v.Routes
+ }).(CommonRouteArrayOutput)
}
-// IP configuration profile child resource.
-type CommonIPConfigurationProfileResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
+// Resource tags.
+func (o CommonRouteTablePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *CommonRouteTable) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
+}
+
+// Network security rule.
+type CommonSecurityRule struct {
+ // The network traffic is allowed or denied.
+ Access string `pulumi:"access"`
+ // A description for this rule. Restricted to 140 chars.
+ Description *string `pulumi:"description"`
+ // The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
+ DestinationAddressPrefix *string `pulumi:"destinationAddressPrefix"`
+ // The destination address prefixes. CIDR or destination IP ranges.
+ DestinationAddressPrefixes []string `pulumi:"destinationAddressPrefixes"`
+ // The application security group specified as destination.
+ DestinationApplicationSecurityGroups []CommonApplicationSecurityGroup `pulumi:"destinationApplicationSecurityGroups"`
+ // The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+ DestinationPortRange *string `pulumi:"destinationPortRange"`
+ // The destination port ranges.
+ DestinationPortRanges []string `pulumi:"destinationPortRanges"`
+ // The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
+ Direction string `pulumi:"direction"`
// Resource ID.
Id *string `pulumi:"id"`
- // The name of the resource. This name can be used to access the resource.
+ // Name of the resource.
Name *string `pulumi:"name"`
- // The provisioning state of the IP configuration profile resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The reference to the subnet resource to create a container network interface ip configuration.
- Subnet *CommonSubnetResponse `pulumi:"subnet"`
- // Sub Resource type.
- Type string `pulumi:"type"`
+ // The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+ Priority int `pulumi:"priority"`
+ // Network protocol this rule applies to.
+ Protocol string `pulumi:"protocol"`
+ // The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
+ SourceAddressPrefix *string `pulumi:"sourceAddressPrefix"`
+ // The CIDR or source IP ranges.
+ SourceAddressPrefixes []string `pulumi:"sourceAddressPrefixes"`
+ // The application security group specified as source.
+ SourceApplicationSecurityGroups []CommonApplicationSecurityGroup `pulumi:"sourceApplicationSecurityGroups"`
+ // The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+ SourcePortRange *string `pulumi:"sourcePortRange"`
+ // The source port ranges.
+ SourcePortRanges []string `pulumi:"sourcePortRanges"`
}
-// Defaults sets the appropriate defaults for CommonIPConfigurationProfileResponse
-func (val *CommonIPConfigurationProfileResponse) Defaults() *CommonIPConfigurationProfileResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.Subnet = tmp.Subnet.Defaults()
+// CommonSecurityRuleInput is an input type that accepts CommonSecurityRuleArgs and CommonSecurityRuleOutput values.
+// You can construct a concrete instance of `CommonSecurityRuleInput` via:
+//
+// CommonSecurityRuleArgs{...}
+type CommonSecurityRuleInput interface {
+ pulumi.Input
- return &tmp
+ ToCommonSecurityRuleOutput() CommonSecurityRuleOutput
+ ToCommonSecurityRuleOutputWithContext(context.Context) CommonSecurityRuleOutput
}
-// IP configuration profile child resource.
-type CommonIPConfigurationProfileResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonIPConfigurationProfileResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonIPConfigurationProfileResponse)(nil)).Elem()
+// Network security rule.
+type CommonSecurityRuleArgs struct {
+ // The network traffic is allowed or denied.
+ Access pulumi.StringInput `pulumi:"access"`
+ // A description for this rule. Restricted to 140 chars.
+ Description pulumi.StringPtrInput `pulumi:"description"`
+ // The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
+ DestinationAddressPrefix pulumi.StringPtrInput `pulumi:"destinationAddressPrefix"`
+ // The destination address prefixes. CIDR or destination IP ranges.
+ DestinationAddressPrefixes pulumi.StringArrayInput `pulumi:"destinationAddressPrefixes"`
+ // The application security group specified as destination.
+ DestinationApplicationSecurityGroups CommonApplicationSecurityGroupArrayInput `pulumi:"destinationApplicationSecurityGroups"`
+ // The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+ DestinationPortRange pulumi.StringPtrInput `pulumi:"destinationPortRange"`
+ // The destination port ranges.
+ DestinationPortRanges pulumi.StringArrayInput `pulumi:"destinationPortRanges"`
+ // The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
+ Direction pulumi.StringInput `pulumi:"direction"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Name of the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+ Priority pulumi.IntInput `pulumi:"priority"`
+ // Network protocol this rule applies to.
+ Protocol pulumi.StringInput `pulumi:"protocol"`
+ // The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
+ SourceAddressPrefix pulumi.StringPtrInput `pulumi:"sourceAddressPrefix"`
+ // The CIDR or source IP ranges.
+ SourceAddressPrefixes pulumi.StringArrayInput `pulumi:"sourceAddressPrefixes"`
+ // The application security group specified as source.
+ SourceApplicationSecurityGroups CommonApplicationSecurityGroupArrayInput `pulumi:"sourceApplicationSecurityGroups"`
+ // The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+ SourcePortRange pulumi.StringPtrInput `pulumi:"sourcePortRange"`
+ // The source port ranges.
+ SourcePortRanges pulumi.StringArrayInput `pulumi:"sourcePortRanges"`
}
-func (o CommonIPConfigurationProfileResponseOutput) ToCommonIPConfigurationProfileResponseOutput() CommonIPConfigurationProfileResponseOutput {
- return o
+func (CommonSecurityRuleArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonSecurityRule)(nil)).Elem()
}
-func (o CommonIPConfigurationProfileResponseOutput) ToCommonIPConfigurationProfileResponseOutputWithContext(ctx context.Context) CommonIPConfigurationProfileResponseOutput {
- return o
+func (i CommonSecurityRuleArgs) ToCommonSecurityRuleOutput() CommonSecurityRuleOutput {
+ return i.ToCommonSecurityRuleOutputWithContext(context.Background())
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonIPConfigurationProfileResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonIPConfigurationProfileResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (i CommonSecurityRuleArgs) ToCommonSecurityRuleOutputWithContext(ctx context.Context) CommonSecurityRuleOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonSecurityRuleOutput)
}
-// Resource ID.
-func (o CommonIPConfigurationProfileResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonIPConfigurationProfileResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
+// CommonSecurityRuleArrayInput is an input type that accepts CommonSecurityRuleArray and CommonSecurityRuleArrayOutput values.
+// You can construct a concrete instance of `CommonSecurityRuleArrayInput` via:
+//
+// CommonSecurityRuleArray{ CommonSecurityRuleArgs{...} }
+type CommonSecurityRuleArrayInput interface {
+ pulumi.Input
-// The name of the resource. This name can be used to access the resource.
-func (o CommonIPConfigurationProfileResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonIPConfigurationProfileResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+ ToCommonSecurityRuleArrayOutput() CommonSecurityRuleArrayOutput
+ ToCommonSecurityRuleArrayOutputWithContext(context.Context) CommonSecurityRuleArrayOutput
}
-// The provisioning state of the IP configuration profile resource.
-func (o CommonIPConfigurationProfileResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonIPConfigurationProfileResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+type CommonSecurityRuleArray []CommonSecurityRuleInput
+
+func (CommonSecurityRuleArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CommonSecurityRule)(nil)).Elem()
}
-// The reference to the subnet resource to create a container network interface ip configuration.
-func (o CommonIPConfigurationProfileResponseOutput) Subnet() CommonSubnetResponsePtrOutput {
- return o.ApplyT(func(v CommonIPConfigurationProfileResponse) *CommonSubnetResponse { return v.Subnet }).(CommonSubnetResponsePtrOutput)
+func (i CommonSecurityRuleArray) ToCommonSecurityRuleArrayOutput() CommonSecurityRuleArrayOutput {
+ return i.ToCommonSecurityRuleArrayOutputWithContext(context.Background())
}
-// Sub Resource type.
-func (o CommonIPConfigurationProfileResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonIPConfigurationProfileResponse) string { return v.Type }).(pulumi.StringOutput)
+func (i CommonSecurityRuleArray) ToCommonSecurityRuleArrayOutputWithContext(ctx context.Context) CommonSecurityRuleArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonSecurityRuleArrayOutput)
}
-type CommonIPConfigurationProfileResponseArrayOutput struct{ *pulumi.OutputState }
+// Network security rule.
+type CommonSecurityRuleOutput struct{ *pulumi.OutputState }
-func (CommonIPConfigurationProfileResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonIPConfigurationProfileResponse)(nil)).Elem()
+func (CommonSecurityRuleOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonSecurityRule)(nil)).Elem()
}
-func (o CommonIPConfigurationProfileResponseArrayOutput) ToCommonIPConfigurationProfileResponseArrayOutput() CommonIPConfigurationProfileResponseArrayOutput {
+func (o CommonSecurityRuleOutput) ToCommonSecurityRuleOutput() CommonSecurityRuleOutput {
return o
}
-func (o CommonIPConfigurationProfileResponseArrayOutput) ToCommonIPConfigurationProfileResponseArrayOutputWithContext(ctx context.Context) CommonIPConfigurationProfileResponseArrayOutput {
+func (o CommonSecurityRuleOutput) ToCommonSecurityRuleOutputWithContext(ctx context.Context) CommonSecurityRuleOutput {
return o
}
-func (o CommonIPConfigurationProfileResponseArrayOutput) Index(i pulumi.IntInput) CommonIPConfigurationProfileResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonIPConfigurationProfileResponse {
- return vs[0].([]CommonIPConfigurationProfileResponse)[vs[1].(int)]
- }).(CommonIPConfigurationProfileResponseOutput)
+// The network traffic is allowed or denied.
+func (o CommonSecurityRuleOutput) Access() pulumi.StringOutput {
+ return o.ApplyT(func(v CommonSecurityRule) string { return v.Access }).(pulumi.StringOutput)
}
-// IP configuration.
-type CommonIPConfigurationResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The private IP address of the IP configuration.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // The private IP address allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // The provisioning state of the IP configuration resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The reference to the public IP resource.
- PublicIPAddress *CommonPublicIPAddressResponse `pulumi:"publicIPAddress"`
- // The reference to the subnet resource.
- Subnet *CommonSubnetResponse `pulumi:"subnet"`
+// A description for this rule. Restricted to 140 chars.
+func (o CommonSecurityRuleOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonSecurityRule) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// Defaults sets the appropriate defaults for CommonIPConfigurationResponse
-func (val *CommonIPConfigurationResponse) Defaults() *CommonIPConfigurationResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
+// The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
+func (o CommonSecurityRuleOutput) DestinationAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonSecurityRule) *string { return v.DestinationAddressPrefix }).(pulumi.StringPtrOutput)
+}
- tmp.Subnet = tmp.Subnet.Defaults()
+// The destination address prefixes. CIDR or destination IP ranges.
+func (o CommonSecurityRuleOutput) DestinationAddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CommonSecurityRule) []string { return v.DestinationAddressPrefixes }).(pulumi.StringArrayOutput)
+}
- return &tmp
+// The application security group specified as destination.
+func (o CommonSecurityRuleOutput) DestinationApplicationSecurityGroups() CommonApplicationSecurityGroupArrayOutput {
+ return o.ApplyT(func(v CommonSecurityRule) []CommonApplicationSecurityGroup {
+ return v.DestinationApplicationSecurityGroups
+ }).(CommonApplicationSecurityGroupArrayOutput)
}
-// IP configuration.
-type CommonIPConfigurationResponseOutput struct{ *pulumi.OutputState }
+// The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+func (o CommonSecurityRuleOutput) DestinationPortRange() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonSecurityRule) *string { return v.DestinationPortRange }).(pulumi.StringPtrOutput)
+}
-func (CommonIPConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonIPConfigurationResponse)(nil)).Elem()
+// The destination port ranges.
+func (o CommonSecurityRuleOutput) DestinationPortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CommonSecurityRule) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
}
-func (o CommonIPConfigurationResponseOutput) ToCommonIPConfigurationResponseOutput() CommonIPConfigurationResponseOutput {
- return o
+// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
+func (o CommonSecurityRuleOutput) Direction() pulumi.StringOutput {
+ return o.ApplyT(func(v CommonSecurityRule) string { return v.Direction }).(pulumi.StringOutput)
}
-func (o CommonIPConfigurationResponseOutput) ToCommonIPConfigurationResponseOutputWithContext(ctx context.Context) CommonIPConfigurationResponseOutput {
- return o
+// Resource ID.
+func (o CommonSecurityRuleOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonSecurityRule) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonIPConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonIPConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
+// Name of the resource.
+func (o CommonSecurityRuleOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonSecurityRule) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Resource ID.
-func (o CommonIPConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonIPConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+func (o CommonSecurityRuleOutput) Priority() pulumi.IntOutput {
+ return o.ApplyT(func(v CommonSecurityRule) int { return v.Priority }).(pulumi.IntOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o CommonIPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonIPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Network protocol this rule applies to.
+func (o CommonSecurityRuleOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v CommonSecurityRule) string { return v.Protocol }).(pulumi.StringOutput)
}
-// The private IP address of the IP configuration.
-func (o CommonIPConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonIPConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+// The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
+func (o CommonSecurityRuleOutput) SourceAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonSecurityRule) *string { return v.SourceAddressPrefix }).(pulumi.StringPtrOutput)
}
-// The private IP address allocation method.
-func (o CommonIPConfigurationResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonIPConfigurationResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+// The CIDR or source IP ranges.
+func (o CommonSecurityRuleOutput) SourceAddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CommonSecurityRule) []string { return v.SourceAddressPrefixes }).(pulumi.StringArrayOutput)
}
-// The provisioning state of the IP configuration resource.
-func (o CommonIPConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonIPConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The application security group specified as source.
+func (o CommonSecurityRuleOutput) SourceApplicationSecurityGroups() CommonApplicationSecurityGroupArrayOutput {
+ return o.ApplyT(func(v CommonSecurityRule) []CommonApplicationSecurityGroup { return v.SourceApplicationSecurityGroups }).(CommonApplicationSecurityGroupArrayOutput)
}
-// The reference to the public IP resource.
-func (o CommonIPConfigurationResponseOutput) PublicIPAddress() CommonPublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v CommonIPConfigurationResponse) *CommonPublicIPAddressResponse { return v.PublicIPAddress }).(CommonPublicIPAddressResponsePtrOutput)
+// The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+func (o CommonSecurityRuleOutput) SourcePortRange() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonSecurityRule) *string { return v.SourcePortRange }).(pulumi.StringPtrOutput)
}
-// The reference to the subnet resource.
-func (o CommonIPConfigurationResponseOutput) Subnet() CommonSubnetResponsePtrOutput {
- return o.ApplyT(func(v CommonIPConfigurationResponse) *CommonSubnetResponse { return v.Subnet }).(CommonSubnetResponsePtrOutput)
+// The source port ranges.
+func (o CommonSecurityRuleOutput) SourcePortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CommonSecurityRule) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
}
-type CommonIPConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
+type CommonSecurityRuleArrayOutput struct{ *pulumi.OutputState }
-func (CommonIPConfigurationResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonIPConfigurationResponse)(nil)).Elem()
+func (CommonSecurityRuleArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CommonSecurityRule)(nil)).Elem()
}
-func (o CommonIPConfigurationResponsePtrOutput) ToCommonIPConfigurationResponsePtrOutput() CommonIPConfigurationResponsePtrOutput {
+func (o CommonSecurityRuleArrayOutput) ToCommonSecurityRuleArrayOutput() CommonSecurityRuleArrayOutput {
return o
}
-func (o CommonIPConfigurationResponsePtrOutput) ToCommonIPConfigurationResponsePtrOutputWithContext(ctx context.Context) CommonIPConfigurationResponsePtrOutput {
+func (o CommonSecurityRuleArrayOutput) ToCommonSecurityRuleArrayOutputWithContext(ctx context.Context) CommonSecurityRuleArrayOutput {
return o
}
-func (o CommonIPConfigurationResponsePtrOutput) Elem() CommonIPConfigurationResponseOutput {
- return o.ApplyT(func(v *CommonIPConfigurationResponse) CommonIPConfigurationResponse {
- if v != nil {
- return *v
- }
- var ret CommonIPConfigurationResponse
- return ret
- }).(CommonIPConfigurationResponseOutput)
+func (o CommonSecurityRuleArrayOutput) Index(i pulumi.IntInput) CommonSecurityRuleOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonSecurityRule {
+ return vs[0].([]CommonSecurityRule)[vs[1].(int)]
+ }).(CommonSecurityRuleOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonIPConfigurationResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Etag
- }).(pulumi.StringPtrOutput)
-}
-
-// Resource ID.
-func (o CommonIPConfigurationResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
-}
-
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o CommonIPConfigurationResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
-}
-
-// The private IP address of the IP configuration.
-func (o CommonIPConfigurationResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddress
- }).(pulumi.StringPtrOutput)
-}
-
-// The private IP address allocation method.
-func (o CommonIPConfigurationResponsePtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAllocationMethod
- }).(pulumi.StringPtrOutput)
-}
-
-// The provisioning state of the IP configuration resource.
-func (o CommonIPConfigurationResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ProvisioningState
- }).(pulumi.StringPtrOutput)
-}
-
-// The reference to the public IP resource.
-func (o CommonIPConfigurationResponsePtrOutput) PublicIPAddress() CommonPublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v *CommonIPConfigurationResponse) *CommonPublicIPAddressResponse {
- if v == nil {
- return nil
- }
- return v.PublicIPAddress
- }).(CommonPublicIPAddressResponsePtrOutput)
-}
-
-// The reference to the subnet resource.
-func (o CommonIPConfigurationResponsePtrOutput) Subnet() CommonSubnetResponsePtrOutput {
- return o.ApplyT(func(v *CommonIPConfigurationResponse) *CommonSubnetResponse {
- if v == nil {
- return nil
- }
- return v.Subnet
- }).(CommonSubnetResponsePtrOutput)
-}
-
-type CommonIPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (CommonIPConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonIPConfigurationResponse)(nil)).Elem()
-}
-
-func (o CommonIPConfigurationResponseArrayOutput) ToCommonIPConfigurationResponseArrayOutput() CommonIPConfigurationResponseArrayOutput {
- return o
-}
-
-func (o CommonIPConfigurationResponseArrayOutput) ToCommonIPConfigurationResponseArrayOutputWithContext(ctx context.Context) CommonIPConfigurationResponseArrayOutput {
- return o
-}
-
-func (o CommonIPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) CommonIPConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonIPConfigurationResponse {
- return vs[0].([]CommonIPConfigurationResponse)[vs[1].(int)]
- }).(CommonIPConfigurationResponseOutput)
-}
-
-// Inbound NAT rule of the load balancer.
-type CommonInboundNatRuleResponse struct {
- // A reference to backendAddressPool resource.
- BackendAddressPool *CommonSubResourceResponse `pulumi:"backendAddressPool"`
- // A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP.
- BackendIPConfiguration CommonNetworkInterfaceIPConfigurationResponse `pulumi:"backendIPConfiguration"`
- // The port used for the internal endpoint. Acceptable values range from 1 to 65535.
- BackendPort *int `pulumi:"backendPort"`
- // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
- EnableFloatingIP *bool `pulumi:"enableFloatingIP"`
- // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
- EnableTcpReset *bool `pulumi:"enableTcpReset"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // A reference to frontend IP addresses.
- FrontendIPConfiguration *CommonSubResourceResponse `pulumi:"frontendIPConfiguration"`
- // The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
- FrontendPort *int `pulumi:"frontendPort"`
- // The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
- FrontendPortRangeEnd *int `pulumi:"frontendPortRangeEnd"`
- // The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
- FrontendPortRangeStart *int `pulumi:"frontendPortRangeStart"`
+// Service End point policy resource.
+type CommonServiceEndpointPolicy struct {
+ // A collection of contextual service endpoint policy.
+ ContextualServiceEndpointPolicies []string `pulumi:"contextualServiceEndpointPolicies"`
// Resource ID.
Id *string `pulumi:"id"`
- // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
- // Name of the resource.
- Name *string `pulumi:"name"`
- // The reference to the transport protocol used by the load balancing rule.
- Protocol *string `pulumi:"protocol"`
- // The provisioning state of the inbound NAT rule resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Resource type.
- Type string `pulumi:"type"`
-}
-
-// Defaults sets the appropriate defaults for CommonInboundNatRuleResponse
-func (val *CommonInboundNatRuleResponse) Defaults() *CommonInboundNatRuleResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.BackendIPConfiguration = *tmp.BackendIPConfiguration.Defaults()
-
- return &tmp
-}
-
-// Inbound NAT rule of the load balancer.
-type CommonInboundNatRuleResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonInboundNatRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonInboundNatRuleResponse)(nil)).Elem()
-}
-
-func (o CommonInboundNatRuleResponseOutput) ToCommonInboundNatRuleResponseOutput() CommonInboundNatRuleResponseOutput {
- return o
-}
-
-func (o CommonInboundNatRuleResponseOutput) ToCommonInboundNatRuleResponseOutputWithContext(ctx context.Context) CommonInboundNatRuleResponseOutput {
- return o
-}
-
-// A reference to backendAddressPool resource.
-func (o CommonInboundNatRuleResponseOutput) BackendAddressPool() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonInboundNatRuleResponse) *CommonSubResourceResponse { return v.BackendAddressPool }).(CommonSubResourceResponsePtrOutput)
-}
-
-// A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP.
-func (o CommonInboundNatRuleResponseOutput) BackendIPConfiguration() CommonNetworkInterfaceIPConfigurationResponseOutput {
- return o.ApplyT(func(v CommonInboundNatRuleResponse) CommonNetworkInterfaceIPConfigurationResponse {
- return v.BackendIPConfiguration
- }).(CommonNetworkInterfaceIPConfigurationResponseOutput)
-}
-
-// The port used for the internal endpoint. Acceptable values range from 1 to 65535.
-func (o CommonInboundNatRuleResponseOutput) BackendPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonInboundNatRuleResponse) *int { return v.BackendPort }).(pulumi.IntPtrOutput)
-}
-
-// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
-func (o CommonInboundNatRuleResponseOutput) EnableFloatingIP() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonInboundNatRuleResponse) *bool { return v.EnableFloatingIP }).(pulumi.BoolPtrOutput)
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // The alias indicating if the policy belongs to a service
+ ServiceAlias *string `pulumi:"serviceAlias"`
+ // A collection of service endpoint policy definitions of the service endpoint policy.
+ ServiceEndpointPolicyDefinitions []CommonServiceEndpointPolicyDefinition `pulumi:"serviceEndpointPolicyDefinitions"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
}
-// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
-func (o CommonInboundNatRuleResponseOutput) EnableTcpReset() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonInboundNatRuleResponse) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
-}
+// CommonServiceEndpointPolicyInput is an input type that accepts CommonServiceEndpointPolicyArgs and CommonServiceEndpointPolicyOutput values.
+// You can construct a concrete instance of `CommonServiceEndpointPolicyInput` via:
+//
+// CommonServiceEndpointPolicyArgs{...}
+type CommonServiceEndpointPolicyInput interface {
+ pulumi.Input
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonInboundNatRuleResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonInboundNatRuleResponse) string { return v.Etag }).(pulumi.StringOutput)
+ ToCommonServiceEndpointPolicyOutput() CommonServiceEndpointPolicyOutput
+ ToCommonServiceEndpointPolicyOutputWithContext(context.Context) CommonServiceEndpointPolicyOutput
}
-// A reference to frontend IP addresses.
-func (o CommonInboundNatRuleResponseOutput) FrontendIPConfiguration() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonInboundNatRuleResponse) *CommonSubResourceResponse { return v.FrontendIPConfiguration }).(CommonSubResourceResponsePtrOutput)
+// Service End point policy resource.
+type CommonServiceEndpointPolicyArgs struct {
+ // A collection of contextual service endpoint policy.
+ ContextualServiceEndpointPolicies pulumi.StringArrayInput `pulumi:"contextualServiceEndpointPolicies"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Resource location.
+ Location pulumi.StringPtrInput `pulumi:"location"`
+ // The alias indicating if the policy belongs to a service
+ ServiceAlias pulumi.StringPtrInput `pulumi:"serviceAlias"`
+ // A collection of service endpoint policy definitions of the service endpoint policy.
+ ServiceEndpointPolicyDefinitions CommonServiceEndpointPolicyDefinitionArrayInput `pulumi:"serviceEndpointPolicyDefinitions"`
+ // Resource tags.
+ Tags pulumi.StringMapInput `pulumi:"tags"`
}
-// The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
-func (o CommonInboundNatRuleResponseOutput) FrontendPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonInboundNatRuleResponse) *int { return v.FrontendPort }).(pulumi.IntPtrOutput)
+func (CommonServiceEndpointPolicyArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonServiceEndpointPolicy)(nil)).Elem()
}
-// The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
-func (o CommonInboundNatRuleResponseOutput) FrontendPortRangeEnd() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonInboundNatRuleResponse) *int { return v.FrontendPortRangeEnd }).(pulumi.IntPtrOutput)
+func (i CommonServiceEndpointPolicyArgs) ToCommonServiceEndpointPolicyOutput() CommonServiceEndpointPolicyOutput {
+ return i.ToCommonServiceEndpointPolicyOutputWithContext(context.Background())
}
-// The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
-func (o CommonInboundNatRuleResponseOutput) FrontendPortRangeStart() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonInboundNatRuleResponse) *int { return v.FrontendPortRangeStart }).(pulumi.IntPtrOutput)
+func (i CommonServiceEndpointPolicyArgs) ToCommonServiceEndpointPolicyOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonServiceEndpointPolicyOutput)
}
-// Resource ID.
-func (o CommonInboundNatRuleResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonInboundNatRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
+// CommonServiceEndpointPolicyArrayInput is an input type that accepts CommonServiceEndpointPolicyArray and CommonServiceEndpointPolicyArrayOutput values.
+// You can construct a concrete instance of `CommonServiceEndpointPolicyArrayInput` via:
+//
+// CommonServiceEndpointPolicyArray{ CommonServiceEndpointPolicyArgs{...} }
+type CommonServiceEndpointPolicyArrayInput interface {
+ pulumi.Input
-// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
-func (o CommonInboundNatRuleResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonInboundNatRuleResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+ ToCommonServiceEndpointPolicyArrayOutput() CommonServiceEndpointPolicyArrayOutput
+ ToCommonServiceEndpointPolicyArrayOutputWithContext(context.Context) CommonServiceEndpointPolicyArrayOutput
}
-// Name of the resource.
-func (o CommonInboundNatRuleResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonInboundNatRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
+type CommonServiceEndpointPolicyArray []CommonServiceEndpointPolicyInput
-// The reference to the transport protocol used by the load balancing rule.
-func (o CommonInboundNatRuleResponseOutput) Protocol() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonInboundNatRuleResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput)
+func (CommonServiceEndpointPolicyArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CommonServiceEndpointPolicy)(nil)).Elem()
}
-// The provisioning state of the inbound NAT rule resource.
-func (o CommonInboundNatRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonInboundNatRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (i CommonServiceEndpointPolicyArray) ToCommonServiceEndpointPolicyArrayOutput() CommonServiceEndpointPolicyArrayOutput {
+ return i.ToCommonServiceEndpointPolicyArrayOutputWithContext(context.Background())
}
-// Resource type.
-func (o CommonInboundNatRuleResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonInboundNatRuleResponse) string { return v.Type }).(pulumi.StringOutput)
+func (i CommonServiceEndpointPolicyArray) ToCommonServiceEndpointPolicyArrayOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonServiceEndpointPolicyArrayOutput)
}
-type CommonInboundNatRuleResponseArrayOutput struct{ *pulumi.OutputState }
+// Service End point policy resource.
+type CommonServiceEndpointPolicyOutput struct{ *pulumi.OutputState }
-func (CommonInboundNatRuleResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonInboundNatRuleResponse)(nil)).Elem()
+func (CommonServiceEndpointPolicyOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonServiceEndpointPolicy)(nil)).Elem()
}
-func (o CommonInboundNatRuleResponseArrayOutput) ToCommonInboundNatRuleResponseArrayOutput() CommonInboundNatRuleResponseArrayOutput {
+func (o CommonServiceEndpointPolicyOutput) ToCommonServiceEndpointPolicyOutput() CommonServiceEndpointPolicyOutput {
return o
}
-func (o CommonInboundNatRuleResponseArrayOutput) ToCommonInboundNatRuleResponseArrayOutputWithContext(ctx context.Context) CommonInboundNatRuleResponseArrayOutput {
+func (o CommonServiceEndpointPolicyOutput) ToCommonServiceEndpointPolicyOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyOutput {
return o
}
-func (o CommonInboundNatRuleResponseArrayOutput) Index(i pulumi.IntInput) CommonInboundNatRuleResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonInboundNatRuleResponse {
- return vs[0].([]CommonInboundNatRuleResponse)[vs[1].(int)]
- }).(CommonInboundNatRuleResponseOutput)
-}
-
-// Contains the IpTag associated with the object.
-type CommonIpTagResponse struct {
- // The IP tag type. Example: FirstPartyUsage.
- IpTagType *string `pulumi:"ipTagType"`
- // The value of the IP tag associated with the public IP. Example: SQL.
- Tag *string `pulumi:"tag"`
+// A collection of contextual service endpoint policy.
+func (o CommonServiceEndpointPolicyOutput) ContextualServiceEndpointPolicies() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CommonServiceEndpointPolicy) []string { return v.ContextualServiceEndpointPolicies }).(pulumi.StringArrayOutput)
}
-// Contains the IpTag associated with the object.
-type CommonIpTagResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonIpTagResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonIpTagResponse)(nil)).Elem()
+// Resource ID.
+func (o CommonServiceEndpointPolicyOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonServiceEndpointPolicy) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o CommonIpTagResponseOutput) ToCommonIpTagResponseOutput() CommonIpTagResponseOutput {
- return o
+// Resource location.
+func (o CommonServiceEndpointPolicyOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonServiceEndpointPolicy) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o CommonIpTagResponseOutput) ToCommonIpTagResponseOutputWithContext(ctx context.Context) CommonIpTagResponseOutput {
- return o
+// The alias indicating if the policy belongs to a service
+func (o CommonServiceEndpointPolicyOutput) ServiceAlias() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonServiceEndpointPolicy) *string { return v.ServiceAlias }).(pulumi.StringPtrOutput)
}
-// The IP tag type. Example: FirstPartyUsage.
-func (o CommonIpTagResponseOutput) IpTagType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonIpTagResponse) *string { return v.IpTagType }).(pulumi.StringPtrOutput)
+// A collection of service endpoint policy definitions of the service endpoint policy.
+func (o CommonServiceEndpointPolicyOutput) ServiceEndpointPolicyDefinitions() CommonServiceEndpointPolicyDefinitionArrayOutput {
+ return o.ApplyT(func(v CommonServiceEndpointPolicy) []CommonServiceEndpointPolicyDefinition {
+ return v.ServiceEndpointPolicyDefinitions
+ }).(CommonServiceEndpointPolicyDefinitionArrayOutput)
}
-// The value of the IP tag associated with the public IP. Example: SQL.
-func (o CommonIpTagResponseOutput) Tag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonIpTagResponse) *string { return v.Tag }).(pulumi.StringPtrOutput)
+// Resource tags.
+func (o CommonServiceEndpointPolicyOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v CommonServiceEndpointPolicy) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-type CommonIpTagResponseArrayOutput struct{ *pulumi.OutputState }
+type CommonServiceEndpointPolicyArrayOutput struct{ *pulumi.OutputState }
-func (CommonIpTagResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonIpTagResponse)(nil)).Elem()
+func (CommonServiceEndpointPolicyArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CommonServiceEndpointPolicy)(nil)).Elem()
}
-func (o CommonIpTagResponseArrayOutput) ToCommonIpTagResponseArrayOutput() CommonIpTagResponseArrayOutput {
+func (o CommonServiceEndpointPolicyArrayOutput) ToCommonServiceEndpointPolicyArrayOutput() CommonServiceEndpointPolicyArrayOutput {
return o
}
-func (o CommonIpTagResponseArrayOutput) ToCommonIpTagResponseArrayOutputWithContext(ctx context.Context) CommonIpTagResponseArrayOutput {
+func (o CommonServiceEndpointPolicyArrayOutput) ToCommonServiceEndpointPolicyArrayOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyArrayOutput {
return o
}
-func (o CommonIpTagResponseArrayOutput) Index(i pulumi.IntInput) CommonIpTagResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonIpTagResponse {
- return vs[0].([]CommonIpTagResponse)[vs[1].(int)]
- }).(CommonIpTagResponseOutput)
+func (o CommonServiceEndpointPolicyArrayOutput) Index(i pulumi.IntInput) CommonServiceEndpointPolicyOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonServiceEndpointPolicy {
+ return vs[0].([]CommonServiceEndpointPolicy)[vs[1].(int)]
+ }).(CommonServiceEndpointPolicyOutput)
}
-// IpamPool prefix allocation reference.
-type CommonIpamPoolPrefixAllocation struct {
- // Resource id of the associated Azure IpamPool resource.
+// Service Endpoint policy definitions.
+type CommonServiceEndpointPolicyDefinition struct {
+ // A description for this rule. Restricted to 140 chars.
+ Description *string `pulumi:"description"`
+ // Resource ID.
Id *string `pulumi:"id"`
- // Number of IP addresses to allocate.
- NumberOfIpAddresses *string `pulumi:"numberOfIpAddresses"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // Service endpoint name.
+ Service *string `pulumi:"service"`
+ // A list of service resources.
+ ServiceResources []string `pulumi:"serviceResources"`
}
-// CommonIpamPoolPrefixAllocationInput is an input type that accepts CommonIpamPoolPrefixAllocationArgs and CommonIpamPoolPrefixAllocationOutput values.
-// You can construct a concrete instance of `CommonIpamPoolPrefixAllocationInput` via:
+// CommonServiceEndpointPolicyDefinitionInput is an input type that accepts CommonServiceEndpointPolicyDefinitionArgs and CommonServiceEndpointPolicyDefinitionOutput values.
+// You can construct a concrete instance of `CommonServiceEndpointPolicyDefinitionInput` via:
//
-// CommonIpamPoolPrefixAllocationArgs{...}
-type CommonIpamPoolPrefixAllocationInput interface {
+// CommonServiceEndpointPolicyDefinitionArgs{...}
+type CommonServiceEndpointPolicyDefinitionInput interface {
pulumi.Input
- ToCommonIpamPoolPrefixAllocationOutput() CommonIpamPoolPrefixAllocationOutput
- ToCommonIpamPoolPrefixAllocationOutputWithContext(context.Context) CommonIpamPoolPrefixAllocationOutput
+ ToCommonServiceEndpointPolicyDefinitionOutput() CommonServiceEndpointPolicyDefinitionOutput
+ ToCommonServiceEndpointPolicyDefinitionOutputWithContext(context.Context) CommonServiceEndpointPolicyDefinitionOutput
}
-// IpamPool prefix allocation reference.
-type CommonIpamPoolPrefixAllocationArgs struct {
- // Resource id of the associated Azure IpamPool resource.
+// Service Endpoint policy definitions.
+type CommonServiceEndpointPolicyDefinitionArgs struct {
+ // A description for this rule. Restricted to 140 chars.
+ Description pulumi.StringPtrInput `pulumi:"description"`
+ // Resource ID.
Id pulumi.StringPtrInput `pulumi:"id"`
- // Number of IP addresses to allocate.
- NumberOfIpAddresses pulumi.StringPtrInput `pulumi:"numberOfIpAddresses"`
+ // Name of the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Service endpoint name.
+ Service pulumi.StringPtrInput `pulumi:"service"`
+ // A list of service resources.
+ ServiceResources pulumi.StringArrayInput `pulumi:"serviceResources"`
}
-func (CommonIpamPoolPrefixAllocationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonIpamPoolPrefixAllocation)(nil)).Elem()
+func (CommonServiceEndpointPolicyDefinitionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonServiceEndpointPolicyDefinition)(nil)).Elem()
}
-func (i CommonIpamPoolPrefixAllocationArgs) ToCommonIpamPoolPrefixAllocationOutput() CommonIpamPoolPrefixAllocationOutput {
- return i.ToCommonIpamPoolPrefixAllocationOutputWithContext(context.Background())
+func (i CommonServiceEndpointPolicyDefinitionArgs) ToCommonServiceEndpointPolicyDefinitionOutput() CommonServiceEndpointPolicyDefinitionOutput {
+ return i.ToCommonServiceEndpointPolicyDefinitionOutputWithContext(context.Background())
}
-func (i CommonIpamPoolPrefixAllocationArgs) ToCommonIpamPoolPrefixAllocationOutputWithContext(ctx context.Context) CommonIpamPoolPrefixAllocationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonIpamPoolPrefixAllocationOutput)
+func (i CommonServiceEndpointPolicyDefinitionArgs) ToCommonServiceEndpointPolicyDefinitionOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyDefinitionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonServiceEndpointPolicyDefinitionOutput)
}
-// CommonIpamPoolPrefixAllocationArrayInput is an input type that accepts CommonIpamPoolPrefixAllocationArray and CommonIpamPoolPrefixAllocationArrayOutput values.
-// You can construct a concrete instance of `CommonIpamPoolPrefixAllocationArrayInput` via:
+// CommonServiceEndpointPolicyDefinitionArrayInput is an input type that accepts CommonServiceEndpointPolicyDefinitionArray and CommonServiceEndpointPolicyDefinitionArrayOutput values.
+// You can construct a concrete instance of `CommonServiceEndpointPolicyDefinitionArrayInput` via:
//
-// CommonIpamPoolPrefixAllocationArray{ CommonIpamPoolPrefixAllocationArgs{...} }
-type CommonIpamPoolPrefixAllocationArrayInput interface {
+// CommonServiceEndpointPolicyDefinitionArray{ CommonServiceEndpointPolicyDefinitionArgs{...} }
+type CommonServiceEndpointPolicyDefinitionArrayInput interface {
pulumi.Input
- ToCommonIpamPoolPrefixAllocationArrayOutput() CommonIpamPoolPrefixAllocationArrayOutput
- ToCommonIpamPoolPrefixAllocationArrayOutputWithContext(context.Context) CommonIpamPoolPrefixAllocationArrayOutput
+ ToCommonServiceEndpointPolicyDefinitionArrayOutput() CommonServiceEndpointPolicyDefinitionArrayOutput
+ ToCommonServiceEndpointPolicyDefinitionArrayOutputWithContext(context.Context) CommonServiceEndpointPolicyDefinitionArrayOutput
}
-type CommonIpamPoolPrefixAllocationArray []CommonIpamPoolPrefixAllocationInput
+type CommonServiceEndpointPolicyDefinitionArray []CommonServiceEndpointPolicyDefinitionInput
-func (CommonIpamPoolPrefixAllocationArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonIpamPoolPrefixAllocation)(nil)).Elem()
+func (CommonServiceEndpointPolicyDefinitionArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CommonServiceEndpointPolicyDefinition)(nil)).Elem()
}
-func (i CommonIpamPoolPrefixAllocationArray) ToCommonIpamPoolPrefixAllocationArrayOutput() CommonIpamPoolPrefixAllocationArrayOutput {
- return i.ToCommonIpamPoolPrefixAllocationArrayOutputWithContext(context.Background())
+func (i CommonServiceEndpointPolicyDefinitionArray) ToCommonServiceEndpointPolicyDefinitionArrayOutput() CommonServiceEndpointPolicyDefinitionArrayOutput {
+ return i.ToCommonServiceEndpointPolicyDefinitionArrayOutputWithContext(context.Background())
}
-func (i CommonIpamPoolPrefixAllocationArray) ToCommonIpamPoolPrefixAllocationArrayOutputWithContext(ctx context.Context) CommonIpamPoolPrefixAllocationArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonIpamPoolPrefixAllocationArrayOutput)
+func (i CommonServiceEndpointPolicyDefinitionArray) ToCommonServiceEndpointPolicyDefinitionArrayOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyDefinitionArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonServiceEndpointPolicyDefinitionArrayOutput)
}
-// IpamPool prefix allocation reference.
-type CommonIpamPoolPrefixAllocationOutput struct{ *pulumi.OutputState }
+// Service Endpoint policy definitions.
+type CommonServiceEndpointPolicyDefinitionOutput struct{ *pulumi.OutputState }
-func (CommonIpamPoolPrefixAllocationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonIpamPoolPrefixAllocation)(nil)).Elem()
+func (CommonServiceEndpointPolicyDefinitionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonServiceEndpointPolicyDefinition)(nil)).Elem()
}
-func (o CommonIpamPoolPrefixAllocationOutput) ToCommonIpamPoolPrefixAllocationOutput() CommonIpamPoolPrefixAllocationOutput {
+func (o CommonServiceEndpointPolicyDefinitionOutput) ToCommonServiceEndpointPolicyDefinitionOutput() CommonServiceEndpointPolicyDefinitionOutput {
return o
}
-func (o CommonIpamPoolPrefixAllocationOutput) ToCommonIpamPoolPrefixAllocationOutputWithContext(ctx context.Context) CommonIpamPoolPrefixAllocationOutput {
+func (o CommonServiceEndpointPolicyDefinitionOutput) ToCommonServiceEndpointPolicyDefinitionOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyDefinitionOutput {
return o
}
-// Resource id of the associated Azure IpamPool resource.
-func (o CommonIpamPoolPrefixAllocationOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonIpamPoolPrefixAllocation) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// Number of IP addresses to allocate.
-func (o CommonIpamPoolPrefixAllocationOutput) NumberOfIpAddresses() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonIpamPoolPrefixAllocation) *string { return v.NumberOfIpAddresses }).(pulumi.StringPtrOutput)
-}
-
-type CommonIpamPoolPrefixAllocationArrayOutput struct{ *pulumi.OutputState }
-
-func (CommonIpamPoolPrefixAllocationArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonIpamPoolPrefixAllocation)(nil)).Elem()
+// A description for this rule. Restricted to 140 chars.
+func (o CommonServiceEndpointPolicyDefinitionOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonServiceEndpointPolicyDefinition) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-func (o CommonIpamPoolPrefixAllocationArrayOutput) ToCommonIpamPoolPrefixAllocationArrayOutput() CommonIpamPoolPrefixAllocationArrayOutput {
- return o
+// Resource ID.
+func (o CommonServiceEndpointPolicyDefinitionOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonServiceEndpointPolicyDefinition) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o CommonIpamPoolPrefixAllocationArrayOutput) ToCommonIpamPoolPrefixAllocationArrayOutputWithContext(ctx context.Context) CommonIpamPoolPrefixAllocationArrayOutput {
- return o
+// Name of the resource.
+func (o CommonServiceEndpointPolicyDefinitionOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonServiceEndpointPolicyDefinition) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o CommonIpamPoolPrefixAllocationArrayOutput) Index(i pulumi.IntInput) CommonIpamPoolPrefixAllocationOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonIpamPoolPrefixAllocation {
- return vs[0].([]CommonIpamPoolPrefixAllocation)[vs[1].(int)]
- }).(CommonIpamPoolPrefixAllocationOutput)
+// Service endpoint name.
+func (o CommonServiceEndpointPolicyDefinitionOutput) Service() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonServiceEndpointPolicyDefinition) *string { return v.Service }).(pulumi.StringPtrOutput)
}
-// IpamPool prefix allocation reference.
-type CommonIpamPoolPrefixAllocationResponse struct {
- // List of assigned IP address prefixes in the IpamPool of the associated resource.
- AllocatedAddressPrefixes []string `pulumi:"allocatedAddressPrefixes"`
- // Resource id of the associated Azure IpamPool resource.
- Id *string `pulumi:"id"`
- // Number of IP addresses to allocate.
- NumberOfIpAddresses *string `pulumi:"numberOfIpAddresses"`
+// A list of service resources.
+func (o CommonServiceEndpointPolicyDefinitionOutput) ServiceResources() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CommonServiceEndpointPolicyDefinition) []string { return v.ServiceResources }).(pulumi.StringArrayOutput)
}
-// IpamPool prefix allocation reference.
-type CommonIpamPoolPrefixAllocationResponseOutput struct{ *pulumi.OutputState }
+type CommonServiceEndpointPolicyDefinitionArrayOutput struct{ *pulumi.OutputState }
-func (CommonIpamPoolPrefixAllocationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonIpamPoolPrefixAllocationResponse)(nil)).Elem()
+func (CommonServiceEndpointPolicyDefinitionArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CommonServiceEndpointPolicyDefinition)(nil)).Elem()
}
-func (o CommonIpamPoolPrefixAllocationResponseOutput) ToCommonIpamPoolPrefixAllocationResponseOutput() CommonIpamPoolPrefixAllocationResponseOutput {
+func (o CommonServiceEndpointPolicyDefinitionArrayOutput) ToCommonServiceEndpointPolicyDefinitionArrayOutput() CommonServiceEndpointPolicyDefinitionArrayOutput {
return o
}
-func (o CommonIpamPoolPrefixAllocationResponseOutput) ToCommonIpamPoolPrefixAllocationResponseOutputWithContext(ctx context.Context) CommonIpamPoolPrefixAllocationResponseOutput {
+func (o CommonServiceEndpointPolicyDefinitionArrayOutput) ToCommonServiceEndpointPolicyDefinitionArrayOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyDefinitionArrayOutput {
return o
}
-// List of assigned IP address prefixes in the IpamPool of the associated resource.
-func (o CommonIpamPoolPrefixAllocationResponseOutput) AllocatedAddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonIpamPoolPrefixAllocationResponse) []string { return v.AllocatedAddressPrefixes }).(pulumi.StringArrayOutput)
-}
-
-// Resource id of the associated Azure IpamPool resource.
-func (o CommonIpamPoolPrefixAllocationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonIpamPoolPrefixAllocationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// Number of IP addresses to allocate.
-func (o CommonIpamPoolPrefixAllocationResponseOutput) NumberOfIpAddresses() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonIpamPoolPrefixAllocationResponse) *string { return v.NumberOfIpAddresses }).(pulumi.StringPtrOutput)
-}
-
-type CommonIpamPoolPrefixAllocationResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (CommonIpamPoolPrefixAllocationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonIpamPoolPrefixAllocationResponse)(nil)).Elem()
+func (o CommonServiceEndpointPolicyDefinitionArrayOutput) Index(i pulumi.IntInput) CommonServiceEndpointPolicyDefinitionOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonServiceEndpointPolicyDefinition {
+ return vs[0].([]CommonServiceEndpointPolicyDefinition)[vs[1].(int)]
+ }).(CommonServiceEndpointPolicyDefinitionOutput)
}
-func (o CommonIpamPoolPrefixAllocationResponseArrayOutput) ToCommonIpamPoolPrefixAllocationResponseArrayOutput() CommonIpamPoolPrefixAllocationResponseArrayOutput {
- return o
+// The service endpoint properties.
+type CommonServiceEndpointPropertiesFormat struct {
+ // A list of locations.
+ Locations []string `pulumi:"locations"`
+ // SubResource as network identifier.
+ NetworkIdentifier *SubResource `pulumi:"networkIdentifier"`
+ // The type of the endpoint service.
+ Service *string `pulumi:"service"`
}
-func (o CommonIpamPoolPrefixAllocationResponseArrayOutput) ToCommonIpamPoolPrefixAllocationResponseArrayOutputWithContext(ctx context.Context) CommonIpamPoolPrefixAllocationResponseArrayOutput {
- return o
-}
+// CommonServiceEndpointPropertiesFormatInput is an input type that accepts CommonServiceEndpointPropertiesFormatArgs and CommonServiceEndpointPropertiesFormatOutput values.
+// You can construct a concrete instance of `CommonServiceEndpointPropertiesFormatInput` via:
+//
+// CommonServiceEndpointPropertiesFormatArgs{...}
+type CommonServiceEndpointPropertiesFormatInput interface {
+ pulumi.Input
-func (o CommonIpamPoolPrefixAllocationResponseArrayOutput) Index(i pulumi.IntInput) CommonIpamPoolPrefixAllocationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonIpamPoolPrefixAllocationResponse {
- return vs[0].([]CommonIpamPoolPrefixAllocationResponse)[vs[1].(int)]
- }).(CommonIpamPoolPrefixAllocationResponseOutput)
+ ToCommonServiceEndpointPropertiesFormatOutput() CommonServiceEndpointPropertiesFormatOutput
+ ToCommonServiceEndpointPropertiesFormatOutputWithContext(context.Context) CommonServiceEndpointPropertiesFormatOutput
}
-// Load balancer backend addresses.
-type CommonLoadBalancerBackendAddressResponse struct {
- // A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.
- AdminState *string `pulumi:"adminState"`
- // Collection of inbound NAT rule port mappings.
- InboundNatRulesPortMapping []CommonNatRulePortMappingResponse `pulumi:"inboundNatRulesPortMapping"`
- // IP Address belonging to the referenced virtual network.
- IpAddress *string `pulumi:"ipAddress"`
- // Reference to the frontend ip address configuration defined in regional loadbalancer.
- LoadBalancerFrontendIPConfiguration *CommonSubResourceResponse `pulumi:"loadBalancerFrontendIPConfiguration"`
- // Name of the backend address.
- Name *string `pulumi:"name"`
- // Reference to IP address defined in network interfaces.
- NetworkInterfaceIPConfiguration CommonSubResourceResponse `pulumi:"networkInterfaceIPConfiguration"`
- // Reference to an existing subnet.
- Subnet *CommonSubResourceResponse `pulumi:"subnet"`
- // Reference to an existing virtual network.
- VirtualNetwork *CommonSubResourceResponse `pulumi:"virtualNetwork"`
+// The service endpoint properties.
+type CommonServiceEndpointPropertiesFormatArgs struct {
+ // A list of locations.
+ Locations pulumi.StringArrayInput `pulumi:"locations"`
+ // SubResource as network identifier.
+ NetworkIdentifier SubResourcePtrInput `pulumi:"networkIdentifier"`
+ // The type of the endpoint service.
+ Service pulumi.StringPtrInput `pulumi:"service"`
}
-// Load balancer backend addresses.
-type CommonLoadBalancerBackendAddressResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonLoadBalancerBackendAddressResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonLoadBalancerBackendAddressResponse)(nil)).Elem()
+func (CommonServiceEndpointPropertiesFormatArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonServiceEndpointPropertiesFormat)(nil)).Elem()
}
-func (o CommonLoadBalancerBackendAddressResponseOutput) ToCommonLoadBalancerBackendAddressResponseOutput() CommonLoadBalancerBackendAddressResponseOutput {
- return o
+func (i CommonServiceEndpointPropertiesFormatArgs) ToCommonServiceEndpointPropertiesFormatOutput() CommonServiceEndpointPropertiesFormatOutput {
+ return i.ToCommonServiceEndpointPropertiesFormatOutputWithContext(context.Background())
}
-func (o CommonLoadBalancerBackendAddressResponseOutput) ToCommonLoadBalancerBackendAddressResponseOutputWithContext(ctx context.Context) CommonLoadBalancerBackendAddressResponseOutput {
- return o
+func (i CommonServiceEndpointPropertiesFormatArgs) ToCommonServiceEndpointPropertiesFormatOutputWithContext(ctx context.Context) CommonServiceEndpointPropertiesFormatOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonServiceEndpointPropertiesFormatOutput)
}
-// A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.
-func (o CommonLoadBalancerBackendAddressResponseOutput) AdminState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonLoadBalancerBackendAddressResponse) *string { return v.AdminState }).(pulumi.StringPtrOutput)
-}
+// CommonServiceEndpointPropertiesFormatArrayInput is an input type that accepts CommonServiceEndpointPropertiesFormatArray and CommonServiceEndpointPropertiesFormatArrayOutput values.
+// You can construct a concrete instance of `CommonServiceEndpointPropertiesFormatArrayInput` via:
+//
+// CommonServiceEndpointPropertiesFormatArray{ CommonServiceEndpointPropertiesFormatArgs{...} }
+type CommonServiceEndpointPropertiesFormatArrayInput interface {
+ pulumi.Input
-// Collection of inbound NAT rule port mappings.
-func (o CommonLoadBalancerBackendAddressResponseOutput) InboundNatRulesPortMapping() CommonNatRulePortMappingResponseArrayOutput {
- return o.ApplyT(func(v CommonLoadBalancerBackendAddressResponse) []CommonNatRulePortMappingResponse {
- return v.InboundNatRulesPortMapping
- }).(CommonNatRulePortMappingResponseArrayOutput)
+ ToCommonServiceEndpointPropertiesFormatArrayOutput() CommonServiceEndpointPropertiesFormatArrayOutput
+ ToCommonServiceEndpointPropertiesFormatArrayOutputWithContext(context.Context) CommonServiceEndpointPropertiesFormatArrayOutput
}
-// IP Address belonging to the referenced virtual network.
-func (o CommonLoadBalancerBackendAddressResponseOutput) IpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonLoadBalancerBackendAddressResponse) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
-}
+type CommonServiceEndpointPropertiesFormatArray []CommonServiceEndpointPropertiesFormatInput
-// Reference to the frontend ip address configuration defined in regional loadbalancer.
-func (o CommonLoadBalancerBackendAddressResponseOutput) LoadBalancerFrontendIPConfiguration() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonLoadBalancerBackendAddressResponse) *CommonSubResourceResponse {
- return v.LoadBalancerFrontendIPConfiguration
- }).(CommonSubResourceResponsePtrOutput)
+func (CommonServiceEndpointPropertiesFormatArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CommonServiceEndpointPropertiesFormat)(nil)).Elem()
}
-// Name of the backend address.
-func (o CommonLoadBalancerBackendAddressResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonLoadBalancerBackendAddressResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (i CommonServiceEndpointPropertiesFormatArray) ToCommonServiceEndpointPropertiesFormatArrayOutput() CommonServiceEndpointPropertiesFormatArrayOutput {
+ return i.ToCommonServiceEndpointPropertiesFormatArrayOutputWithContext(context.Background())
}
-// Reference to IP address defined in network interfaces.
-func (o CommonLoadBalancerBackendAddressResponseOutput) NetworkInterfaceIPConfiguration() CommonSubResourceResponseOutput {
- return o.ApplyT(func(v CommonLoadBalancerBackendAddressResponse) CommonSubResourceResponse {
- return v.NetworkInterfaceIPConfiguration
- }).(CommonSubResourceResponseOutput)
+func (i CommonServiceEndpointPropertiesFormatArray) ToCommonServiceEndpointPropertiesFormatArrayOutputWithContext(ctx context.Context) CommonServiceEndpointPropertiesFormatArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonServiceEndpointPropertiesFormatArrayOutput)
}
-// Reference to an existing subnet.
-func (o CommonLoadBalancerBackendAddressResponseOutput) Subnet() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonLoadBalancerBackendAddressResponse) *CommonSubResourceResponse { return v.Subnet }).(CommonSubResourceResponsePtrOutput)
-}
+// The service endpoint properties.
+type CommonServiceEndpointPropertiesFormatOutput struct{ *pulumi.OutputState }
-// Reference to an existing virtual network.
-func (o CommonLoadBalancerBackendAddressResponseOutput) VirtualNetwork() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonLoadBalancerBackendAddressResponse) *CommonSubResourceResponse { return v.VirtualNetwork }).(CommonSubResourceResponsePtrOutput)
+func (CommonServiceEndpointPropertiesFormatOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonServiceEndpointPropertiesFormat)(nil)).Elem()
}
-type CommonLoadBalancerBackendAddressResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (CommonLoadBalancerBackendAddressResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonLoadBalancerBackendAddressResponse)(nil)).Elem()
+func (o CommonServiceEndpointPropertiesFormatOutput) ToCommonServiceEndpointPropertiesFormatOutput() CommonServiceEndpointPropertiesFormatOutput {
+ return o
}
-func (o CommonLoadBalancerBackendAddressResponseArrayOutput) ToCommonLoadBalancerBackendAddressResponseArrayOutput() CommonLoadBalancerBackendAddressResponseArrayOutput {
+func (o CommonServiceEndpointPropertiesFormatOutput) ToCommonServiceEndpointPropertiesFormatOutputWithContext(ctx context.Context) CommonServiceEndpointPropertiesFormatOutput {
return o
}
-func (o CommonLoadBalancerBackendAddressResponseArrayOutput) ToCommonLoadBalancerBackendAddressResponseArrayOutputWithContext(ctx context.Context) CommonLoadBalancerBackendAddressResponseArrayOutput {
- return o
+// A list of locations.
+func (o CommonServiceEndpointPropertiesFormatOutput) Locations() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CommonServiceEndpointPropertiesFormat) []string { return v.Locations }).(pulumi.StringArrayOutput)
}
-func (o CommonLoadBalancerBackendAddressResponseArrayOutput) Index(i pulumi.IntInput) CommonLoadBalancerBackendAddressResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonLoadBalancerBackendAddressResponse {
- return vs[0].([]CommonLoadBalancerBackendAddressResponse)[vs[1].(int)]
- }).(CommonLoadBalancerBackendAddressResponseOutput)
+// SubResource as network identifier.
+func (o CommonServiceEndpointPropertiesFormatOutput) NetworkIdentifier() SubResourcePtrOutput {
+ return o.ApplyT(func(v CommonServiceEndpointPropertiesFormat) *SubResource { return v.NetworkIdentifier }).(SubResourcePtrOutput)
}
-// Identity for the resource.
-type CommonManagedServiceIdentityResponse struct {
- // The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- PrincipalId string `pulumi:"principalId"`
- // The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
- TenantId string `pulumi:"tenantId"`
- // The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- Type *string `pulumi:"type"`
- // The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- UserAssignedIdentities map[string]ManagedServiceIdentityUserAssignedIdentitiesResponse `pulumi:"userAssignedIdentities"`
+// The type of the endpoint service.
+func (o CommonServiceEndpointPropertiesFormatOutput) Service() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonServiceEndpointPropertiesFormat) *string { return v.Service }).(pulumi.StringPtrOutput)
}
-// Identity for the resource.
-type CommonManagedServiceIdentityResponseOutput struct{ *pulumi.OutputState }
+type CommonServiceEndpointPropertiesFormatArrayOutput struct{ *pulumi.OutputState }
-func (CommonManagedServiceIdentityResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonManagedServiceIdentityResponse)(nil)).Elem()
+func (CommonServiceEndpointPropertiesFormatArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CommonServiceEndpointPropertiesFormat)(nil)).Elem()
}
-func (o CommonManagedServiceIdentityResponseOutput) ToCommonManagedServiceIdentityResponseOutput() CommonManagedServiceIdentityResponseOutput {
+func (o CommonServiceEndpointPropertiesFormatArrayOutput) ToCommonServiceEndpointPropertiesFormatArrayOutput() CommonServiceEndpointPropertiesFormatArrayOutput {
return o
}
-func (o CommonManagedServiceIdentityResponseOutput) ToCommonManagedServiceIdentityResponseOutputWithContext(ctx context.Context) CommonManagedServiceIdentityResponseOutput {
+func (o CommonServiceEndpointPropertiesFormatArrayOutput) ToCommonServiceEndpointPropertiesFormatArrayOutputWithContext(ctx context.Context) CommonServiceEndpointPropertiesFormatArrayOutput {
return o
}
-// The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
-func (o CommonManagedServiceIdentityResponseOutput) PrincipalId() pulumi.StringOutput {
- return o.ApplyT(func(v CommonManagedServiceIdentityResponse) string { return v.PrincipalId }).(pulumi.StringOutput)
+func (o CommonServiceEndpointPropertiesFormatArrayOutput) Index(i pulumi.IntInput) CommonServiceEndpointPropertiesFormatOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonServiceEndpointPropertiesFormat {
+ return vs[0].([]CommonServiceEndpointPropertiesFormat)[vs[1].(int)]
+ }).(CommonServiceEndpointPropertiesFormatOutput)
}
-// The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
-func (o CommonManagedServiceIdentityResponseOutput) TenantId() pulumi.StringOutput {
- return o.ApplyT(func(v CommonManagedServiceIdentityResponse) string { return v.TenantId }).(pulumi.StringOutput)
+// Subnet in a virtual network resource.
+type CommonSubnet struct {
+ // The address prefix for the subnet.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // List of address prefixes for the subnet.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ // Application gateway IP configurations of virtual network resource.
+ ApplicationGatewayIPConfigurations []CommonApplicationGatewayIPConfiguration `pulumi:"applicationGatewayIPConfigurations"`
+ // Set this property to false to disable default outbound connectivity for all VMs in the subnet.
+ DefaultOutboundAccess *bool `pulumi:"defaultOutboundAccess"`
+ // An array of references to the delegations on the subnet.
+ Delegations []CommonDelegation `pulumi:"delegations"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Array of IpAllocation which reference this subnet.
+ IpAllocations []SubResource `pulumi:"ipAllocations"`
+ // A list of IPAM Pools for allocating IP address prefixes.
+ IpamPoolPrefixAllocations []CommonIpamPoolPrefixAllocation `pulumi:"ipamPoolPrefixAllocations"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // Nat gateway associated with this subnet.
+ NatGateway *SubResource `pulumi:"natGateway"`
+ // The reference to the NetworkSecurityGroup resource.
+ NetworkSecurityGroup *CommonNetworkSecurityGroup `pulumi:"networkSecurityGroup"`
+ // Enable or Disable apply network policies on private end point in the subnet.
+ PrivateEndpointNetworkPolicies *string `pulumi:"privateEndpointNetworkPolicies"`
+ // Enable or Disable apply network policies on private link service in the subnet.
+ PrivateLinkServiceNetworkPolicies *string `pulumi:"privateLinkServiceNetworkPolicies"`
+ // The reference to the RouteTable resource.
+ RouteTable *CommonRouteTable `pulumi:"routeTable"`
+ // An array of service endpoint policies.
+ ServiceEndpointPolicies []CommonServiceEndpointPolicy `pulumi:"serviceEndpointPolicies"`
+ // An array of service endpoints.
+ ServiceEndpoints []CommonServiceEndpointPropertiesFormat `pulumi:"serviceEndpoints"`
+ // Reference to an existing service gateway.
+ ServiceGateway *SubResource `pulumi:"serviceGateway"`
+ // Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+ SharingScope *string `pulumi:"sharingScope"`
}
-// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
-func (o CommonManagedServiceIdentityResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonManagedServiceIdentityResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Defaults sets the appropriate defaults for CommonSubnet
+func (val *CommonSubnet) Defaults() *CommonSubnet {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.PrivateEndpointNetworkPolicies == nil {
+ privateEndpointNetworkPolicies_ := "Disabled"
+ tmp.PrivateEndpointNetworkPolicies = &privateEndpointNetworkPolicies_
+ }
+ if tmp.PrivateLinkServiceNetworkPolicies == nil {
+ privateLinkServiceNetworkPolicies_ := "Enabled"
+ tmp.PrivateLinkServiceNetworkPolicies = &privateLinkServiceNetworkPolicies_
+ }
+ return &tmp
}
-// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
-func (o CommonManagedServiceIdentityResponseOutput) UserAssignedIdentities() ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput {
- return o.ApplyT(func(v CommonManagedServiceIdentityResponse) map[string]ManagedServiceIdentityUserAssignedIdentitiesResponse {
- return v.UserAssignedIdentities
- }).(ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput)
+// CommonSubnetInput is an input type that accepts CommonSubnetArgs and CommonSubnetOutput values.
+// You can construct a concrete instance of `CommonSubnetInput` via:
+//
+// CommonSubnetArgs{...}
+type CommonSubnetInput interface {
+ pulumi.Input
+
+ ToCommonSubnetOutput() CommonSubnetOutput
+ ToCommonSubnetOutputWithContext(context.Context) CommonSubnetOutput
}
-type CommonManagedServiceIdentityResponsePtrOutput struct{ *pulumi.OutputState }
+// Subnet in a virtual network resource.
+type CommonSubnetArgs struct {
+ // The address prefix for the subnet.
+ AddressPrefix pulumi.StringPtrInput `pulumi:"addressPrefix"`
+ // List of address prefixes for the subnet.
+ AddressPrefixes pulumi.StringArrayInput `pulumi:"addressPrefixes"`
+ // Application gateway IP configurations of virtual network resource.
+ ApplicationGatewayIPConfigurations CommonApplicationGatewayIPConfigurationArrayInput `pulumi:"applicationGatewayIPConfigurations"`
+ // Set this property to false to disable default outbound connectivity for all VMs in the subnet.
+ DefaultOutboundAccess pulumi.BoolPtrInput `pulumi:"defaultOutboundAccess"`
+ // An array of references to the delegations on the subnet.
+ Delegations CommonDelegationArrayInput `pulumi:"delegations"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Array of IpAllocation which reference this subnet.
+ IpAllocations SubResourceArrayInput `pulumi:"ipAllocations"`
+ // A list of IPAM Pools for allocating IP address prefixes.
+ IpamPoolPrefixAllocations CommonIpamPoolPrefixAllocationArrayInput `pulumi:"ipamPoolPrefixAllocations"`
+ // Name of the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Nat gateway associated with this subnet.
+ NatGateway SubResourcePtrInput `pulumi:"natGateway"`
+ // The reference to the NetworkSecurityGroup resource.
+ NetworkSecurityGroup CommonNetworkSecurityGroupPtrInput `pulumi:"networkSecurityGroup"`
+ // Enable or Disable apply network policies on private end point in the subnet.
+ PrivateEndpointNetworkPolicies pulumi.StringPtrInput `pulumi:"privateEndpointNetworkPolicies"`
+ // Enable or Disable apply network policies on private link service in the subnet.
+ PrivateLinkServiceNetworkPolicies pulumi.StringPtrInput `pulumi:"privateLinkServiceNetworkPolicies"`
+ // The reference to the RouteTable resource.
+ RouteTable CommonRouteTablePtrInput `pulumi:"routeTable"`
+ // An array of service endpoint policies.
+ ServiceEndpointPolicies CommonServiceEndpointPolicyArrayInput `pulumi:"serviceEndpointPolicies"`
+ // An array of service endpoints.
+ ServiceEndpoints CommonServiceEndpointPropertiesFormatArrayInput `pulumi:"serviceEndpoints"`
+ // Reference to an existing service gateway.
+ ServiceGateway SubResourcePtrInput `pulumi:"serviceGateway"`
+ // Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+ SharingScope pulumi.StringPtrInput `pulumi:"sharingScope"`
+}
-func (CommonManagedServiceIdentityResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonManagedServiceIdentityResponse)(nil)).Elem()
+// Defaults sets the appropriate defaults for CommonSubnetArgs
+func (val *CommonSubnetArgs) Defaults() *CommonSubnetArgs {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.PrivateEndpointNetworkPolicies == nil {
+ tmp.PrivateEndpointNetworkPolicies = pulumi.StringPtr("Disabled")
+ }
+ if tmp.PrivateLinkServiceNetworkPolicies == nil {
+ tmp.PrivateLinkServiceNetworkPolicies = pulumi.StringPtr("Enabled")
+ }
+ return &tmp
+}
+func (CommonSubnetArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonSubnet)(nil)).Elem()
}
-func (o CommonManagedServiceIdentityResponsePtrOutput) ToCommonManagedServiceIdentityResponsePtrOutput() CommonManagedServiceIdentityResponsePtrOutput {
- return o
+func (i CommonSubnetArgs) ToCommonSubnetOutput() CommonSubnetOutput {
+ return i.ToCommonSubnetOutputWithContext(context.Background())
}
-func (o CommonManagedServiceIdentityResponsePtrOutput) ToCommonManagedServiceIdentityResponsePtrOutputWithContext(ctx context.Context) CommonManagedServiceIdentityResponsePtrOutput {
- return o
+func (i CommonSubnetArgs) ToCommonSubnetOutputWithContext(ctx context.Context) CommonSubnetOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonSubnetOutput)
}
-func (o CommonManagedServiceIdentityResponsePtrOutput) Elem() CommonManagedServiceIdentityResponseOutput {
- return o.ApplyT(func(v *CommonManagedServiceIdentityResponse) CommonManagedServiceIdentityResponse {
- if v != nil {
- return *v
- }
- var ret CommonManagedServiceIdentityResponse
- return ret
- }).(CommonManagedServiceIdentityResponseOutput)
+func (i CommonSubnetArgs) ToCommonSubnetPtrOutput() CommonSubnetPtrOutput {
+ return i.ToCommonSubnetPtrOutputWithContext(context.Background())
}
-// The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
-func (o CommonManagedServiceIdentityResponsePtrOutput) PrincipalId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonManagedServiceIdentityResponse) *string {
- if v == nil {
- return nil
- }
- return &v.PrincipalId
- }).(pulumi.StringPtrOutput)
+func (i CommonSubnetArgs) ToCommonSubnetPtrOutputWithContext(ctx context.Context) CommonSubnetPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonSubnetOutput).ToCommonSubnetPtrOutputWithContext(ctx)
}
-// The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
-func (o CommonManagedServiceIdentityResponsePtrOutput) TenantId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonManagedServiceIdentityResponse) *string {
- if v == nil {
- return nil
- }
- return &v.TenantId
- }).(pulumi.StringPtrOutput)
+// CommonSubnetPtrInput is an input type that accepts CommonSubnetArgs, CommonSubnetPtr and CommonSubnetPtrOutput values.
+// You can construct a concrete instance of `CommonSubnetPtrInput` via:
+//
+// CommonSubnetArgs{...}
+//
+// or:
+//
+// nil
+type CommonSubnetPtrInput interface {
+ pulumi.Input
+
+ ToCommonSubnetPtrOutput() CommonSubnetPtrOutput
+ ToCommonSubnetPtrOutputWithContext(context.Context) CommonSubnetPtrOutput
}
-// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
-func (o CommonManagedServiceIdentityResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonManagedServiceIdentityResponse) *string {
- if v == nil {
- return nil
- }
- return v.Type
- }).(pulumi.StringPtrOutput)
+type commonSubnetPtrType CommonSubnetArgs
+
+func CommonSubnetPtr(v *CommonSubnetArgs) CommonSubnetPtrInput {
+ return (*commonSubnetPtrType)(v)
}
-// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
-func (o CommonManagedServiceIdentityResponsePtrOutput) UserAssignedIdentities() ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput {
- return o.ApplyT(func(v *CommonManagedServiceIdentityResponse) map[string]ManagedServiceIdentityUserAssignedIdentitiesResponse {
- if v == nil {
- return nil
- }
- return v.UserAssignedIdentities
- }).(ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput)
+func (*commonSubnetPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**CommonSubnet)(nil)).Elem()
}
-// Nat Gateway resource.
-type CommonNatGatewayResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The idle timeout of the nat gateway.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // The provisioning state of the NAT gateway resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // An array of public ip addresses V4 associated with the nat gateway resource.
- PublicIpAddresses []CommonSubResourceResponse `pulumi:"publicIpAddresses"`
- // An array of public ip addresses V6 associated with the nat gateway resource.
- PublicIpAddressesV6 []CommonSubResourceResponse `pulumi:"publicIpAddressesV6"`
- // An array of public ip prefixes V4 associated with the nat gateway resource.
- PublicIpPrefixes []CommonSubResourceResponse `pulumi:"publicIpPrefixes"`
- // An array of public ip prefixes V6 associated with the nat gateway resource.
- PublicIpPrefixesV6 []CommonSubResourceResponse `pulumi:"publicIpPrefixesV6"`
- // The resource GUID property of the NAT gateway resource.
- ResourceGuid string `pulumi:"resourceGuid"`
- // Reference to an existing service gateway.
- ServiceGateway *CommonSubResourceResponse `pulumi:"serviceGateway"`
- // The nat gateway SKU.
- Sku *CommonNatGatewaySkuResponse `pulumi:"sku"`
- // A reference to the source virtual network using this nat gateway resource.
- SourceVirtualNetwork *CommonSubResourceResponse `pulumi:"sourceVirtualNetwork"`
- // An array of references to the subnets using this nat gateway resource.
- Subnets []CommonSubResourceResponse `pulumi:"subnets"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
- // A list of availability zones denoting the zone in which Nat Gateway should be deployed.
- Zones []string `pulumi:"zones"`
+func (i *commonSubnetPtrType) ToCommonSubnetPtrOutput() CommonSubnetPtrOutput {
+ return i.ToCommonSubnetPtrOutputWithContext(context.Background())
}
-// Nat Gateway resource.
-type CommonNatGatewayResponseOutput struct{ *pulumi.OutputState }
+func (i *commonSubnetPtrType) ToCommonSubnetPtrOutputWithContext(ctx context.Context) CommonSubnetPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonSubnetPtrOutput)
+}
+
+// CommonSubnetArrayInput is an input type that accepts CommonSubnetArray and CommonSubnetArrayOutput values.
+// You can construct a concrete instance of `CommonSubnetArrayInput` via:
+//
+// CommonSubnetArray{ CommonSubnetArgs{...} }
+type CommonSubnetArrayInput interface {
+ pulumi.Input
+
+ ToCommonSubnetArrayOutput() CommonSubnetArrayOutput
+ ToCommonSubnetArrayOutputWithContext(context.Context) CommonSubnetArrayOutput
+}
+
+type CommonSubnetArray []CommonSubnetInput
+
+func (CommonSubnetArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CommonSubnet)(nil)).Elem()
+}
+
+func (i CommonSubnetArray) ToCommonSubnetArrayOutput() CommonSubnetArrayOutput {
+ return i.ToCommonSubnetArrayOutputWithContext(context.Background())
+}
+
+func (i CommonSubnetArray) ToCommonSubnetArrayOutputWithContext(ctx context.Context) CommonSubnetArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonSubnetArrayOutput)
+}
+
+// Subnet in a virtual network resource.
+type CommonSubnetOutput struct{ *pulumi.OutputState }
-func (CommonNatGatewayResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonNatGatewayResponse)(nil)).Elem()
+func (CommonSubnetOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonSubnet)(nil)).Elem()
}
-func (o CommonNatGatewayResponseOutput) ToCommonNatGatewayResponseOutput() CommonNatGatewayResponseOutput {
+func (o CommonSubnetOutput) ToCommonSubnetOutput() CommonSubnetOutput {
return o
}
-func (o CommonNatGatewayResponseOutput) ToCommonNatGatewayResponseOutputWithContext(ctx context.Context) CommonNatGatewayResponseOutput {
+func (o CommonSubnetOutput) ToCommonSubnetOutputWithContext(ctx context.Context) CommonSubnetOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonNatGatewayResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o CommonSubnetOutput) ToCommonSubnetPtrOutput() CommonSubnetPtrOutput {
+ return o.ToCommonSubnetPtrOutputWithContext(context.Background())
}
-// Resource ID.
-func (o CommonNatGatewayResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o CommonSubnetOutput) ToCommonSubnetPtrOutputWithContext(ctx context.Context) CommonSubnetPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v CommonSubnet) *CommonSubnet {
+ return &v
+ }).(CommonSubnetPtrOutput)
}
-// The idle timeout of the nat gateway.
-func (o CommonNatGatewayResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+// The address prefix for the subnet.
+func (o CommonSubnetOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonSubnet) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-// Resource location.
-func (o CommonNatGatewayResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+// List of address prefixes for the subnet.
+func (o CommonSubnetOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CommonSubnet) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
-// Resource name.
-func (o CommonNatGatewayResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
+// Application gateway IP configurations of virtual network resource.
+func (o CommonSubnetOutput) ApplicationGatewayIPConfigurations() CommonApplicationGatewayIPConfigurationArrayOutput {
+ return o.ApplyT(func(v CommonSubnet) []CommonApplicationGatewayIPConfiguration {
+ return v.ApplicationGatewayIPConfigurations
+ }).(CommonApplicationGatewayIPConfigurationArrayOutput)
}
-// The provisioning state of the NAT gateway resource.
-func (o CommonNatGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Set this property to false to disable default outbound connectivity for all VMs in the subnet.
+func (o CommonSubnetOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v CommonSubnet) *bool { return v.DefaultOutboundAccess }).(pulumi.BoolPtrOutput)
}
-// An array of public ip addresses V4 associated with the nat gateway resource.
-func (o CommonNatGatewayResponseOutput) PublicIpAddresses() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) []CommonSubResourceResponse { return v.PublicIpAddresses }).(CommonSubResourceResponseArrayOutput)
+// An array of references to the delegations on the subnet.
+func (o CommonSubnetOutput) Delegations() CommonDelegationArrayOutput {
+ return o.ApplyT(func(v CommonSubnet) []CommonDelegation { return v.Delegations }).(CommonDelegationArrayOutput)
}
-// An array of public ip addresses V6 associated with the nat gateway resource.
-func (o CommonNatGatewayResponseOutput) PublicIpAddressesV6() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) []CommonSubResourceResponse { return v.PublicIpAddressesV6 }).(CommonSubResourceResponseArrayOutput)
+// Resource ID.
+func (o CommonSubnetOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonSubnet) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// An array of public ip prefixes V4 associated with the nat gateway resource.
-func (o CommonNatGatewayResponseOutput) PublicIpPrefixes() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) []CommonSubResourceResponse { return v.PublicIpPrefixes }).(CommonSubResourceResponseArrayOutput)
+// Array of IpAllocation which reference this subnet.
+func (o CommonSubnetOutput) IpAllocations() SubResourceArrayOutput {
+ return o.ApplyT(func(v CommonSubnet) []SubResource { return v.IpAllocations }).(SubResourceArrayOutput)
}
-// An array of public ip prefixes V6 associated with the nat gateway resource.
-func (o CommonNatGatewayResponseOutput) PublicIpPrefixesV6() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) []CommonSubResourceResponse { return v.PublicIpPrefixesV6 }).(CommonSubResourceResponseArrayOutput)
+// A list of IPAM Pools for allocating IP address prefixes.
+func (o CommonSubnetOutput) IpamPoolPrefixAllocations() CommonIpamPoolPrefixAllocationArrayOutput {
+ return o.ApplyT(func(v CommonSubnet) []CommonIpamPoolPrefixAllocation { return v.IpamPoolPrefixAllocations }).(CommonIpamPoolPrefixAllocationArrayOutput)
}
-// The resource GUID property of the NAT gateway resource.
-func (o CommonNatGatewayResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// Name of the resource.
+func (o CommonSubnetOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonSubnet) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Reference to an existing service gateway.
-func (o CommonNatGatewayResponseOutput) ServiceGateway() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) *CommonSubResourceResponse { return v.ServiceGateway }).(CommonSubResourceResponsePtrOutput)
+// Nat gateway associated with this subnet.
+func (o CommonSubnetOutput) NatGateway() SubResourcePtrOutput {
+ return o.ApplyT(func(v CommonSubnet) *SubResource { return v.NatGateway }).(SubResourcePtrOutput)
}
-// The nat gateway SKU.
-func (o CommonNatGatewayResponseOutput) Sku() CommonNatGatewaySkuResponsePtrOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) *CommonNatGatewaySkuResponse { return v.Sku }).(CommonNatGatewaySkuResponsePtrOutput)
+// The reference to the NetworkSecurityGroup resource.
+func (o CommonSubnetOutput) NetworkSecurityGroup() CommonNetworkSecurityGroupPtrOutput {
+ return o.ApplyT(func(v CommonSubnet) *CommonNetworkSecurityGroup { return v.NetworkSecurityGroup }).(CommonNetworkSecurityGroupPtrOutput)
}
-// A reference to the source virtual network using this nat gateway resource.
-func (o CommonNatGatewayResponseOutput) SourceVirtualNetwork() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) *CommonSubResourceResponse { return v.SourceVirtualNetwork }).(CommonSubResourceResponsePtrOutput)
+// Enable or Disable apply network policies on private end point in the subnet.
+func (o CommonSubnetOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonSubnet) *string { return v.PrivateEndpointNetworkPolicies }).(pulumi.StringPtrOutput)
}
-// An array of references to the subnets using this nat gateway resource.
-func (o CommonNatGatewayResponseOutput) Subnets() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) []CommonSubResourceResponse { return v.Subnets }).(CommonSubResourceResponseArrayOutput)
+// Enable or Disable apply network policies on private link service in the subnet.
+func (o CommonSubnetOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonSubnet) *string { return v.PrivateLinkServiceNetworkPolicies }).(pulumi.StringPtrOutput)
}
-// Resource tags.
-func (o CommonNatGatewayResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// The reference to the RouteTable resource.
+func (o CommonSubnetOutput) RouteTable() CommonRouteTablePtrOutput {
+ return o.ApplyT(func(v CommonSubnet) *CommonRouteTable { return v.RouteTable }).(CommonRouteTablePtrOutput)
}
-// Resource type.
-func (o CommonNatGatewayResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
+// An array of service endpoint policies.
+func (o CommonSubnetOutput) ServiceEndpointPolicies() CommonServiceEndpointPolicyArrayOutput {
+ return o.ApplyT(func(v CommonSubnet) []CommonServiceEndpointPolicy { return v.ServiceEndpointPolicies }).(CommonServiceEndpointPolicyArrayOutput)
}
-// A list of availability zones denoting the zone in which Nat Gateway should be deployed.
-func (o CommonNatGatewayResponseOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonNatGatewayResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
+// An array of service endpoints.
+func (o CommonSubnetOutput) ServiceEndpoints() CommonServiceEndpointPropertiesFormatArrayOutput {
+ return o.ApplyT(func(v CommonSubnet) []CommonServiceEndpointPropertiesFormat { return v.ServiceEndpoints }).(CommonServiceEndpointPropertiesFormatArrayOutput)
+}
+
+// Reference to an existing service gateway.
+func (o CommonSubnetOutput) ServiceGateway() SubResourcePtrOutput {
+ return o.ApplyT(func(v CommonSubnet) *SubResource { return v.ServiceGateway }).(SubResourcePtrOutput)
+}
+
+// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+func (o CommonSubnetOutput) SharingScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonSubnet) *string { return v.SharingScope }).(pulumi.StringPtrOutput)
}
-type CommonNatGatewayResponsePtrOutput struct{ *pulumi.OutputState }
+type CommonSubnetPtrOutput struct{ *pulumi.OutputState }
-func (CommonNatGatewayResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonNatGatewayResponse)(nil)).Elem()
+func (CommonSubnetPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**CommonSubnet)(nil)).Elem()
}
-func (o CommonNatGatewayResponsePtrOutput) ToCommonNatGatewayResponsePtrOutput() CommonNatGatewayResponsePtrOutput {
+func (o CommonSubnetPtrOutput) ToCommonSubnetPtrOutput() CommonSubnetPtrOutput {
return o
}
-func (o CommonNatGatewayResponsePtrOutput) ToCommonNatGatewayResponsePtrOutputWithContext(ctx context.Context) CommonNatGatewayResponsePtrOutput {
+func (o CommonSubnetPtrOutput) ToCommonSubnetPtrOutputWithContext(ctx context.Context) CommonSubnetPtrOutput {
return o
}
-func (o CommonNatGatewayResponsePtrOutput) Elem() CommonNatGatewayResponseOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) CommonNatGatewayResponse {
+func (o CommonSubnetPtrOutput) Elem() CommonSubnetOutput {
+ return o.ApplyT(func(v *CommonSubnet) CommonSubnet {
if v != nil {
return *v
}
- var ret CommonNatGatewayResponse
+ var ret CommonSubnet
return ret
- }).(CommonNatGatewayResponseOutput)
+ }).(CommonSubnetOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonNatGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) *string {
+// The address prefix for the subnet.
+func (o CommonSubnetPtrOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *CommonSubnet) *string {
if v == nil {
return nil
}
- return &v.Etag
+ return v.AddressPrefix
}).(pulumi.StringPtrOutput)
}
-// Resource ID.
-func (o CommonNatGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) *string {
+// List of address prefixes for the subnet.
+func (o CommonSubnetPtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *CommonSubnet) []string {
if v == nil {
return nil
}
- return v.Id
- }).(pulumi.StringPtrOutput)
+ return v.AddressPrefixes
+ }).(pulumi.StringArrayOutput)
}
-// The idle timeout of the nat gateway.
-func (o CommonNatGatewayResponsePtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) *int {
+// Application gateway IP configurations of virtual network resource.
+func (o CommonSubnetPtrOutput) ApplicationGatewayIPConfigurations() CommonApplicationGatewayIPConfigurationArrayOutput {
+ return o.ApplyT(func(v *CommonSubnet) []CommonApplicationGatewayIPConfiguration {
if v == nil {
return nil
}
- return v.IdleTimeoutInMinutes
- }).(pulumi.IntPtrOutput)
+ return v.ApplicationGatewayIPConfigurations
+ }).(CommonApplicationGatewayIPConfigurationArrayOutput)
}
-// Resource location.
-func (o CommonNatGatewayResponsePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) *string {
+// Set this property to false to disable default outbound connectivity for all VMs in the subnet.
+func (o CommonSubnetPtrOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *CommonSubnet) *bool {
if v == nil {
return nil
}
- return v.Location
- }).(pulumi.StringPtrOutput)
+ return v.DefaultOutboundAccess
+ }).(pulumi.BoolPtrOutput)
}
-// Resource name.
-func (o CommonNatGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) *string {
+// An array of references to the delegations on the subnet.
+func (o CommonSubnetPtrOutput) Delegations() CommonDelegationArrayOutput {
+ return o.ApplyT(func(v *CommonSubnet) []CommonDelegation {
if v == nil {
return nil
}
- return &v.Name
- }).(pulumi.StringPtrOutput)
+ return v.Delegations
+ }).(CommonDelegationArrayOutput)
}
-// The provisioning state of the NAT gateway resource.
-func (o CommonNatGatewayResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) *string {
+// Resource ID.
+func (o CommonSubnetPtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *CommonSubnet) *string {
if v == nil {
return nil
}
- return &v.ProvisioningState
+ return v.Id
}).(pulumi.StringPtrOutput)
}
-// An array of public ip addresses V4 associated with the nat gateway resource.
-func (o CommonNatGatewayResponsePtrOutput) PublicIpAddresses() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) []CommonSubResourceResponse {
+// Array of IpAllocation which reference this subnet.
+func (o CommonSubnetPtrOutput) IpAllocations() SubResourceArrayOutput {
+ return o.ApplyT(func(v *CommonSubnet) []SubResource {
if v == nil {
return nil
}
- return v.PublicIpAddresses
- }).(CommonSubResourceResponseArrayOutput)
+ return v.IpAllocations
+ }).(SubResourceArrayOutput)
}
-// An array of public ip addresses V6 associated with the nat gateway resource.
-func (o CommonNatGatewayResponsePtrOutput) PublicIpAddressesV6() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) []CommonSubResourceResponse {
+// A list of IPAM Pools for allocating IP address prefixes.
+func (o CommonSubnetPtrOutput) IpamPoolPrefixAllocations() CommonIpamPoolPrefixAllocationArrayOutput {
+ return o.ApplyT(func(v *CommonSubnet) []CommonIpamPoolPrefixAllocation {
if v == nil {
return nil
}
- return v.PublicIpAddressesV6
- }).(CommonSubResourceResponseArrayOutput)
+ return v.IpamPoolPrefixAllocations
+ }).(CommonIpamPoolPrefixAllocationArrayOutput)
}
-// An array of public ip prefixes V4 associated with the nat gateway resource.
-func (o CommonNatGatewayResponsePtrOutput) PublicIpPrefixes() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) []CommonSubResourceResponse {
+// Name of the resource.
+func (o CommonSubnetPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *CommonSubnet) *string {
if v == nil {
return nil
}
- return v.PublicIpPrefixes
- }).(CommonSubResourceResponseArrayOutput)
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// An array of public ip prefixes V6 associated with the nat gateway resource.
-func (o CommonNatGatewayResponsePtrOutput) PublicIpPrefixesV6() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) []CommonSubResourceResponse {
+// Nat gateway associated with this subnet.
+func (o CommonSubnetPtrOutput) NatGateway() SubResourcePtrOutput {
+ return o.ApplyT(func(v *CommonSubnet) *SubResource {
if v == nil {
return nil
}
- return v.PublicIpPrefixesV6
- }).(CommonSubResourceResponseArrayOutput)
+ return v.NatGateway
+ }).(SubResourcePtrOutput)
}
-// The resource GUID property of the NAT gateway resource.
-func (o CommonNatGatewayResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) *string {
+// The reference to the NetworkSecurityGroup resource.
+func (o CommonSubnetPtrOutput) NetworkSecurityGroup() CommonNetworkSecurityGroupPtrOutput {
+ return o.ApplyT(func(v *CommonSubnet) *CommonNetworkSecurityGroup {
if v == nil {
return nil
}
- return &v.ResourceGuid
- }).(pulumi.StringPtrOutput)
+ return v.NetworkSecurityGroup
+ }).(CommonNetworkSecurityGroupPtrOutput)
}
-// Reference to an existing service gateway.
-func (o CommonNatGatewayResponsePtrOutput) ServiceGateway() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) *CommonSubResourceResponse {
+// Enable or Disable apply network policies on private end point in the subnet.
+func (o CommonSubnetPtrOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *CommonSubnet) *string {
if v == nil {
return nil
}
- return v.ServiceGateway
- }).(CommonSubResourceResponsePtrOutput)
+ return v.PrivateEndpointNetworkPolicies
+ }).(pulumi.StringPtrOutput)
}
-// The nat gateway SKU.
-func (o CommonNatGatewayResponsePtrOutput) Sku() CommonNatGatewaySkuResponsePtrOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) *CommonNatGatewaySkuResponse {
+// Enable or Disable apply network policies on private link service in the subnet.
+func (o CommonSubnetPtrOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *CommonSubnet) *string {
if v == nil {
return nil
}
- return v.Sku
- }).(CommonNatGatewaySkuResponsePtrOutput)
+ return v.PrivateLinkServiceNetworkPolicies
+ }).(pulumi.StringPtrOutput)
}
-// A reference to the source virtual network using this nat gateway resource.
-func (o CommonNatGatewayResponsePtrOutput) SourceVirtualNetwork() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) *CommonSubResourceResponse {
+// The reference to the RouteTable resource.
+func (o CommonSubnetPtrOutput) RouteTable() CommonRouteTablePtrOutput {
+ return o.ApplyT(func(v *CommonSubnet) *CommonRouteTable {
if v == nil {
return nil
}
- return v.SourceVirtualNetwork
- }).(CommonSubResourceResponsePtrOutput)
+ return v.RouteTable
+ }).(CommonRouteTablePtrOutput)
}
-// An array of references to the subnets using this nat gateway resource.
-func (o CommonNatGatewayResponsePtrOutput) Subnets() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) []CommonSubResourceResponse {
+// An array of service endpoint policies.
+func (o CommonSubnetPtrOutput) ServiceEndpointPolicies() CommonServiceEndpointPolicyArrayOutput {
+ return o.ApplyT(func(v *CommonSubnet) []CommonServiceEndpointPolicy {
if v == nil {
return nil
}
- return v.Subnets
- }).(CommonSubResourceResponseArrayOutput)
+ return v.ServiceEndpointPolicies
+ }).(CommonServiceEndpointPolicyArrayOutput)
}
-// Resource tags.
-func (o CommonNatGatewayResponsePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) map[string]string {
+// An array of service endpoints.
+func (o CommonSubnetPtrOutput) ServiceEndpoints() CommonServiceEndpointPropertiesFormatArrayOutput {
+ return o.ApplyT(func(v *CommonSubnet) []CommonServiceEndpointPropertiesFormat {
if v == nil {
return nil
}
- return v.Tags
- }).(pulumi.StringMapOutput)
+ return v.ServiceEndpoints
+ }).(CommonServiceEndpointPropertiesFormatArrayOutput)
}
-// Resource type.
-func (o CommonNatGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) *string {
+// Reference to an existing service gateway.
+func (o CommonSubnetPtrOutput) ServiceGateway() SubResourcePtrOutput {
+ return o.ApplyT(func(v *CommonSubnet) *SubResource {
if v == nil {
return nil
}
- return &v.Type
- }).(pulumi.StringPtrOutput)
+ return v.ServiceGateway
+ }).(SubResourcePtrOutput)
}
-// A list of availability zones denoting the zone in which Nat Gateway should be deployed.
-func (o CommonNatGatewayResponsePtrOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *CommonNatGatewayResponse) []string {
+// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+func (o CommonSubnetPtrOutput) SharingScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *CommonSubnet) *string {
if v == nil {
return nil
}
- return v.Zones
- }).(pulumi.StringArrayOutput)
-}
-
-// SKU of nat gateway.
-type CommonNatGatewaySkuResponse struct {
- // Name of Nat Gateway SKU.
- Name *string `pulumi:"name"`
+ return v.SharingScope
+ }).(pulumi.StringPtrOutput)
}
-// SKU of nat gateway.
-type CommonNatGatewaySkuResponseOutput struct{ *pulumi.OutputState }
+type CommonSubnetArrayOutput struct{ *pulumi.OutputState }
-func (CommonNatGatewaySkuResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonNatGatewaySkuResponse)(nil)).Elem()
+func (CommonSubnetArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CommonSubnet)(nil)).Elem()
}
-func (o CommonNatGatewaySkuResponseOutput) ToCommonNatGatewaySkuResponseOutput() CommonNatGatewaySkuResponseOutput {
+func (o CommonSubnetArrayOutput) ToCommonSubnetArrayOutput() CommonSubnetArrayOutput {
return o
}
-func (o CommonNatGatewaySkuResponseOutput) ToCommonNatGatewaySkuResponseOutputWithContext(ctx context.Context) CommonNatGatewaySkuResponseOutput {
+func (o CommonSubnetArrayOutput) ToCommonSubnetArrayOutputWithContext(ctx context.Context) CommonSubnetArrayOutput {
return o
}
-// Name of Nat Gateway SKU.
-func (o CommonNatGatewaySkuResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNatGatewaySkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-type CommonNatGatewaySkuResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (CommonNatGatewaySkuResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonNatGatewaySkuResponse)(nil)).Elem()
+func (o CommonSubnetArrayOutput) Index(i pulumi.IntInput) CommonSubnetOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonSubnet {
+ return vs[0].([]CommonSubnet)[vs[1].(int)]
+ }).(CommonSubnetOutput)
}
-func (o CommonNatGatewaySkuResponsePtrOutput) ToCommonNatGatewaySkuResponsePtrOutput() CommonNatGatewaySkuResponsePtrOutput {
- return o
+// Virtual Network resource.
+type CommonVirtualNetwork struct {
+ // The AddressSpace that contains an array of IP address ranges that can be used by subnets.
+ AddressSpace *CommonAddressSpace `pulumi:"addressSpace"`
+ // Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
+ BgpCommunities *CommonVirtualNetworkBgpCommunities `pulumi:"bgpCommunities"`
+ // The DDoS protection plan associated with the virtual network.
+ DdosProtectionPlan *SubResource `pulumi:"ddosProtectionPlan"`
+ // The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
+ DhcpOptions *CommonDhcpOptions `pulumi:"dhcpOptions"`
+ // Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
+ EnableDdosProtection *bool `pulumi:"enableDdosProtection"`
+ // Indicates if VM protection is enabled for all the subnets in the virtual network.
+ EnableVmProtection *bool `pulumi:"enableVmProtection"`
+ // Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
+ Encryption *CommonVirtualNetworkEncryption `pulumi:"encryption"`
+ // The extended location of the virtual network.
+ ExtendedLocation *CommonExtendedLocation `pulumi:"extendedLocation"`
+ // The FlowTimeout value (in minutes) for the Virtual Network
+ FlowTimeoutInMinutes *int `pulumi:"flowTimeoutInMinutes"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Array of IpAllocation which reference this VNET.
+ IpAllocations []SubResource `pulumi:"ipAllocations"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Private Endpoint VNet Policies.
+ PrivateEndpointVNetPolicies *string `pulumi:"privateEndpointVNetPolicies"`
+ // A list of subnets in a Virtual Network.
+ Subnets []CommonSubnet `pulumi:"subnets"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // A list of peerings in a Virtual Network.
+ VirtualNetworkPeerings []CommonVirtualNetworkPeering `pulumi:"virtualNetworkPeerings"`
}
-func (o CommonNatGatewaySkuResponsePtrOutput) ToCommonNatGatewaySkuResponsePtrOutputWithContext(ctx context.Context) CommonNatGatewaySkuResponsePtrOutput {
- return o
-}
-
-func (o CommonNatGatewaySkuResponsePtrOutput) Elem() CommonNatGatewaySkuResponseOutput {
- return o.ApplyT(func(v *CommonNatGatewaySkuResponse) CommonNatGatewaySkuResponse {
- if v != nil {
- return *v
- }
- var ret CommonNatGatewaySkuResponse
- return ret
- }).(CommonNatGatewaySkuResponseOutput)
+// Defaults sets the appropriate defaults for CommonVirtualNetwork
+func (val *CommonVirtualNetwork) Defaults() *CommonVirtualNetwork {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.EnableDdosProtection == nil {
+ enableDdosProtection_ := false
+ tmp.EnableDdosProtection = &enableDdosProtection_
+ }
+ if tmp.EnableVmProtection == nil {
+ enableVmProtection_ := false
+ tmp.EnableVmProtection = &enableVmProtection_
+ }
+ return &tmp
}
-// Name of Nat Gateway SKU.
-func (o CommonNatGatewaySkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNatGatewaySkuResponse) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
-}
+// CommonVirtualNetworkInput is an input type that accepts CommonVirtualNetworkArgs and CommonVirtualNetworkOutput values.
+// You can construct a concrete instance of `CommonVirtualNetworkInput` via:
+//
+// CommonVirtualNetworkArgs{...}
+type CommonVirtualNetworkInput interface {
+ pulumi.Input
-// Individual port mappings for inbound NAT rule created for backend pool.
-type CommonNatRulePortMappingResponse struct {
- // Backend port.
- BackendPort *int `pulumi:"backendPort"`
- // Frontend port.
- FrontendPort *int `pulumi:"frontendPort"`
- // Name of inbound NAT rule.
- InboundNatRuleName *string `pulumi:"inboundNatRuleName"`
+ ToCommonVirtualNetworkOutput() CommonVirtualNetworkOutput
+ ToCommonVirtualNetworkOutputWithContext(context.Context) CommonVirtualNetworkOutput
}
-// Individual port mappings for inbound NAT rule created for backend pool.
-type CommonNatRulePortMappingResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonNatRulePortMappingResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonNatRulePortMappingResponse)(nil)).Elem()
+// Virtual Network resource.
+type CommonVirtualNetworkArgs struct {
+ // The AddressSpace that contains an array of IP address ranges that can be used by subnets.
+ AddressSpace CommonAddressSpacePtrInput `pulumi:"addressSpace"`
+ // Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
+ BgpCommunities CommonVirtualNetworkBgpCommunitiesPtrInput `pulumi:"bgpCommunities"`
+ // The DDoS protection plan associated with the virtual network.
+ DdosProtectionPlan SubResourcePtrInput `pulumi:"ddosProtectionPlan"`
+ // The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
+ DhcpOptions CommonDhcpOptionsPtrInput `pulumi:"dhcpOptions"`
+ // Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
+ EnableDdosProtection pulumi.BoolPtrInput `pulumi:"enableDdosProtection"`
+ // Indicates if VM protection is enabled for all the subnets in the virtual network.
+ EnableVmProtection pulumi.BoolPtrInput `pulumi:"enableVmProtection"`
+ // Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
+ Encryption CommonVirtualNetworkEncryptionPtrInput `pulumi:"encryption"`
+ // The extended location of the virtual network.
+ ExtendedLocation CommonExtendedLocationPtrInput `pulumi:"extendedLocation"`
+ // The FlowTimeout value (in minutes) for the Virtual Network
+ FlowTimeoutInMinutes pulumi.IntPtrInput `pulumi:"flowTimeoutInMinutes"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Array of IpAllocation which reference this VNET.
+ IpAllocations SubResourceArrayInput `pulumi:"ipAllocations"`
+ // Resource location.
+ Location pulumi.StringPtrInput `pulumi:"location"`
+ // Private Endpoint VNet Policies.
+ PrivateEndpointVNetPolicies pulumi.StringPtrInput `pulumi:"privateEndpointVNetPolicies"`
+ // A list of subnets in a Virtual Network.
+ Subnets CommonSubnetArrayInput `pulumi:"subnets"`
+ // Resource tags.
+ Tags pulumi.StringMapInput `pulumi:"tags"`
+ // A list of peerings in a Virtual Network.
+ VirtualNetworkPeerings CommonVirtualNetworkPeeringArrayInput `pulumi:"virtualNetworkPeerings"`
}
-func (o CommonNatRulePortMappingResponseOutput) ToCommonNatRulePortMappingResponseOutput() CommonNatRulePortMappingResponseOutput {
- return o
+// Defaults sets the appropriate defaults for CommonVirtualNetworkArgs
+func (val *CommonVirtualNetworkArgs) Defaults() *CommonVirtualNetworkArgs {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.EnableDdosProtection == nil {
+ tmp.EnableDdosProtection = pulumi.BoolPtr(false)
+ }
+ if tmp.EnableVmProtection == nil {
+ tmp.EnableVmProtection = pulumi.BoolPtr(false)
+ }
+ return &tmp
+}
+func (CommonVirtualNetworkArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonVirtualNetwork)(nil)).Elem()
}
-func (o CommonNatRulePortMappingResponseOutput) ToCommonNatRulePortMappingResponseOutputWithContext(ctx context.Context) CommonNatRulePortMappingResponseOutput {
- return o
+func (i CommonVirtualNetworkArgs) ToCommonVirtualNetworkOutput() CommonVirtualNetworkOutput {
+ return i.ToCommonVirtualNetworkOutputWithContext(context.Background())
}
-// Backend port.
-func (o CommonNatRulePortMappingResponseOutput) BackendPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonNatRulePortMappingResponse) *int { return v.BackendPort }).(pulumi.IntPtrOutput)
+func (i CommonVirtualNetworkArgs) ToCommonVirtualNetworkOutputWithContext(ctx context.Context) CommonVirtualNetworkOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkOutput)
}
-// Frontend port.
-func (o CommonNatRulePortMappingResponseOutput) FrontendPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonNatRulePortMappingResponse) *int { return v.FrontendPort }).(pulumi.IntPtrOutput)
+func (i CommonVirtualNetworkArgs) ToCommonVirtualNetworkPtrOutput() CommonVirtualNetworkPtrOutput {
+ return i.ToCommonVirtualNetworkPtrOutputWithContext(context.Background())
}
-// Name of inbound NAT rule.
-func (o CommonNatRulePortMappingResponseOutput) InboundNatRuleName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNatRulePortMappingResponse) *string { return v.InboundNatRuleName }).(pulumi.StringPtrOutput)
+func (i CommonVirtualNetworkArgs) ToCommonVirtualNetworkPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkOutput).ToCommonVirtualNetworkPtrOutputWithContext(ctx)
}
-type CommonNatRulePortMappingResponseArrayOutput struct{ *pulumi.OutputState }
+// CommonVirtualNetworkPtrInput is an input type that accepts CommonVirtualNetworkArgs, CommonVirtualNetworkPtr and CommonVirtualNetworkPtrOutput values.
+// You can construct a concrete instance of `CommonVirtualNetworkPtrInput` via:
+//
+// CommonVirtualNetworkArgs{...}
+//
+// or:
+//
+// nil
+type CommonVirtualNetworkPtrInput interface {
+ pulumi.Input
-func (CommonNatRulePortMappingResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonNatRulePortMappingResponse)(nil)).Elem()
+ ToCommonVirtualNetworkPtrOutput() CommonVirtualNetworkPtrOutput
+ ToCommonVirtualNetworkPtrOutputWithContext(context.Context) CommonVirtualNetworkPtrOutput
}
-func (o CommonNatRulePortMappingResponseArrayOutput) ToCommonNatRulePortMappingResponseArrayOutput() CommonNatRulePortMappingResponseArrayOutput {
- return o
+type commonVirtualNetworkPtrType CommonVirtualNetworkArgs
+
+func CommonVirtualNetworkPtr(v *CommonVirtualNetworkArgs) CommonVirtualNetworkPtrInput {
+ return (*commonVirtualNetworkPtrType)(v)
}
-func (o CommonNatRulePortMappingResponseArrayOutput) ToCommonNatRulePortMappingResponseArrayOutputWithContext(ctx context.Context) CommonNatRulePortMappingResponseArrayOutput {
- return o
+func (*commonVirtualNetworkPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**CommonVirtualNetwork)(nil)).Elem()
}
-func (o CommonNatRulePortMappingResponseArrayOutput) Index(i pulumi.IntInput) CommonNatRulePortMappingResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonNatRulePortMappingResponse {
- return vs[0].([]CommonNatRulePortMappingResponse)[vs[1].(int)]
- }).(CommonNatRulePortMappingResponseOutput)
+func (i *commonVirtualNetworkPtrType) ToCommonVirtualNetworkPtrOutput() CommonVirtualNetworkPtrOutput {
+ return i.ToCommonVirtualNetworkPtrOutputWithContext(context.Background())
}
-// DNS settings of a network interface.
-type CommonNetworkInterfaceDnsSettingsResponse struct {
- // If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.
- AppliedDnsServers []string `pulumi:"appliedDnsServers"`
- // List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
- DnsServers []string `pulumi:"dnsServers"`
- // Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
- InternalDnsNameLabel *string `pulumi:"internalDnsNameLabel"`
- // Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
- InternalDomainNameSuffix string `pulumi:"internalDomainNameSuffix"`
- // Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
- InternalFqdn string `pulumi:"internalFqdn"`
+func (i *commonVirtualNetworkPtrType) ToCommonVirtualNetworkPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkPtrOutput)
}
-// DNS settings of a network interface.
-type CommonNetworkInterfaceDnsSettingsResponseOutput struct{ *pulumi.OutputState }
+// Virtual Network resource.
+type CommonVirtualNetworkOutput struct{ *pulumi.OutputState }
-func (CommonNetworkInterfaceDnsSettingsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonNetworkInterfaceDnsSettingsResponse)(nil)).Elem()
+func (CommonVirtualNetworkOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonVirtualNetwork)(nil)).Elem()
}
-func (o CommonNetworkInterfaceDnsSettingsResponseOutput) ToCommonNetworkInterfaceDnsSettingsResponseOutput() CommonNetworkInterfaceDnsSettingsResponseOutput {
+func (o CommonVirtualNetworkOutput) ToCommonVirtualNetworkOutput() CommonVirtualNetworkOutput {
return o
}
-func (o CommonNetworkInterfaceDnsSettingsResponseOutput) ToCommonNetworkInterfaceDnsSettingsResponseOutputWithContext(ctx context.Context) CommonNetworkInterfaceDnsSettingsResponseOutput {
+func (o CommonVirtualNetworkOutput) ToCommonVirtualNetworkOutputWithContext(ctx context.Context) CommonVirtualNetworkOutput {
return o
}
-// If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.
-func (o CommonNetworkInterfaceDnsSettingsResponseOutput) AppliedDnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceDnsSettingsResponse) []string { return v.AppliedDnsServers }).(pulumi.StringArrayOutput)
-}
-
-// List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
-func (o CommonNetworkInterfaceDnsSettingsResponseOutput) DnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceDnsSettingsResponse) []string { return v.DnsServers }).(pulumi.StringArrayOutput)
-}
-
-// Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
-func (o CommonNetworkInterfaceDnsSettingsResponseOutput) InternalDnsNameLabel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceDnsSettingsResponse) *string { return v.InternalDnsNameLabel }).(pulumi.StringPtrOutput)
-}
-
-// Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
-func (o CommonNetworkInterfaceDnsSettingsResponseOutput) InternalDomainNameSuffix() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceDnsSettingsResponse) string { return v.InternalDomainNameSuffix }).(pulumi.StringOutput)
+func (o CommonVirtualNetworkOutput) ToCommonVirtualNetworkPtrOutput() CommonVirtualNetworkPtrOutput {
+ return o.ToCommonVirtualNetworkPtrOutputWithContext(context.Background())
}
-// Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
-func (o CommonNetworkInterfaceDnsSettingsResponseOutput) InternalFqdn() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceDnsSettingsResponse) string { return v.InternalFqdn }).(pulumi.StringOutput)
+func (o CommonVirtualNetworkOutput) ToCommonVirtualNetworkPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v CommonVirtualNetwork) *CommonVirtualNetwork {
+ return &v
+ }).(CommonVirtualNetworkPtrOutput)
}
-type CommonNetworkInterfaceDnsSettingsResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (CommonNetworkInterfaceDnsSettingsResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonNetworkInterfaceDnsSettingsResponse)(nil)).Elem()
+// The AddressSpace that contains an array of IP address ranges that can be used by subnets.
+func (o CommonVirtualNetworkOutput) AddressSpace() CommonAddressSpacePtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetwork) *CommonAddressSpace { return v.AddressSpace }).(CommonAddressSpacePtrOutput)
}
-func (o CommonNetworkInterfaceDnsSettingsResponsePtrOutput) ToCommonNetworkInterfaceDnsSettingsResponsePtrOutput() CommonNetworkInterfaceDnsSettingsResponsePtrOutput {
- return o
+// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
+func (o CommonVirtualNetworkOutput) BgpCommunities() CommonVirtualNetworkBgpCommunitiesPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetwork) *CommonVirtualNetworkBgpCommunities { return v.BgpCommunities }).(CommonVirtualNetworkBgpCommunitiesPtrOutput)
}
-func (o CommonNetworkInterfaceDnsSettingsResponsePtrOutput) ToCommonNetworkInterfaceDnsSettingsResponsePtrOutputWithContext(ctx context.Context) CommonNetworkInterfaceDnsSettingsResponsePtrOutput {
- return o
+// The DDoS protection plan associated with the virtual network.
+func (o CommonVirtualNetworkOutput) DdosProtectionPlan() SubResourcePtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetwork) *SubResource { return v.DdosProtectionPlan }).(SubResourcePtrOutput)
}
-func (o CommonNetworkInterfaceDnsSettingsResponsePtrOutput) Elem() CommonNetworkInterfaceDnsSettingsResponseOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceDnsSettingsResponse) CommonNetworkInterfaceDnsSettingsResponse {
- if v != nil {
- return *v
- }
- var ret CommonNetworkInterfaceDnsSettingsResponse
- return ret
- }).(CommonNetworkInterfaceDnsSettingsResponseOutput)
+// The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
+func (o CommonVirtualNetworkOutput) DhcpOptions() CommonDhcpOptionsPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetwork) *CommonDhcpOptions { return v.DhcpOptions }).(CommonDhcpOptionsPtrOutput)
}
-// If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.
-func (o CommonNetworkInterfaceDnsSettingsResponsePtrOutput) AppliedDnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceDnsSettingsResponse) []string {
- if v == nil {
- return nil
- }
- return v.AppliedDnsServers
- }).(pulumi.StringArrayOutput)
+// Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
+func (o CommonVirtualNetworkOutput) EnableDdosProtection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetwork) *bool { return v.EnableDdosProtection }).(pulumi.BoolPtrOutput)
}
-// List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
-func (o CommonNetworkInterfaceDnsSettingsResponsePtrOutput) DnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceDnsSettingsResponse) []string {
- if v == nil {
- return nil
- }
- return v.DnsServers
- }).(pulumi.StringArrayOutput)
+// Indicates if VM protection is enabled for all the subnets in the virtual network.
+func (o CommonVirtualNetworkOutput) EnableVmProtection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetwork) *bool { return v.EnableVmProtection }).(pulumi.BoolPtrOutput)
}
-// Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
-func (o CommonNetworkInterfaceDnsSettingsResponsePtrOutput) InternalDnsNameLabel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceDnsSettingsResponse) *string {
- if v == nil {
- return nil
- }
- return v.InternalDnsNameLabel
- }).(pulumi.StringPtrOutput)
+// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
+func (o CommonVirtualNetworkOutput) Encryption() CommonVirtualNetworkEncryptionPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetwork) *CommonVirtualNetworkEncryption { return v.Encryption }).(CommonVirtualNetworkEncryptionPtrOutput)
}
-// Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
-func (o CommonNetworkInterfaceDnsSettingsResponsePtrOutput) InternalDomainNameSuffix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceDnsSettingsResponse) *string {
- if v == nil {
- return nil
- }
- return &v.InternalDomainNameSuffix
- }).(pulumi.StringPtrOutput)
+// The extended location of the virtual network.
+func (o CommonVirtualNetworkOutput) ExtendedLocation() CommonExtendedLocationPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetwork) *CommonExtendedLocation { return v.ExtendedLocation }).(CommonExtendedLocationPtrOutput)
}
-// Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
-func (o CommonNetworkInterfaceDnsSettingsResponsePtrOutput) InternalFqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceDnsSettingsResponse) *string {
- if v == nil {
- return nil
- }
- return &v.InternalFqdn
- }).(pulumi.StringPtrOutput)
+// The FlowTimeout value (in minutes) for the Virtual Network
+func (o CommonVirtualNetworkOutput) FlowTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetwork) *int { return v.FlowTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-// PrivateLinkConnection properties for the network interface.
-type CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse struct {
- // List of FQDNs for current private link connection.
- Fqdns []string `pulumi:"fqdns"`
- // The group ID for current private link connection.
- GroupId string `pulumi:"groupId"`
- // The required member name for current private link connection.
- RequiredMemberName string `pulumi:"requiredMemberName"`
+// Resource ID.
+func (o CommonVirtualNetworkOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetwork) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// PrivateLinkConnection properties for the network interface.
-type CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse)(nil)).Elem()
+// Array of IpAllocation which reference this VNET.
+func (o CommonVirtualNetworkOutput) IpAllocations() SubResourceArrayOutput {
+ return o.ApplyT(func(v CommonVirtualNetwork) []SubResource { return v.IpAllocations }).(SubResourceArrayOutput)
}
-func (o CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) ToCommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput() CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput {
- return o
+// Resource location.
+func (o CommonVirtualNetworkOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetwork) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) ToCommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutputWithContext(ctx context.Context) CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput {
- return o
+// Private Endpoint VNet Policies.
+func (o CommonVirtualNetworkOutput) PrivateEndpointVNetPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetwork) *string { return v.PrivateEndpointVNetPolicies }).(pulumi.StringPtrOutput)
}
-// List of FQDNs for current private link connection.
-func (o CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) Fqdns() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) []string {
- return v.Fqdns
- }).(pulumi.StringArrayOutput)
+// A list of subnets in a Virtual Network.
+func (o CommonVirtualNetworkOutput) Subnets() CommonSubnetArrayOutput {
+ return o.ApplyT(func(v CommonVirtualNetwork) []CommonSubnet { return v.Subnets }).(CommonSubnetArrayOutput)
}
-// The group ID for current private link connection.
-func (o CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) GroupId() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) string {
- return v.GroupId
- }).(pulumi.StringOutput)
+// Resource tags.
+func (o CommonVirtualNetworkOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v CommonVirtualNetwork) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// The required member name for current private link connection.
-func (o CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) RequiredMemberName() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) string {
- return v.RequiredMemberName
- }).(pulumi.StringOutput)
+// A list of peerings in a Virtual Network.
+func (o CommonVirtualNetworkOutput) VirtualNetworkPeerings() CommonVirtualNetworkPeeringArrayOutput {
+ return o.ApplyT(func(v CommonVirtualNetwork) []CommonVirtualNetworkPeering { return v.VirtualNetworkPeerings }).(CommonVirtualNetworkPeeringArrayOutput)
}
-type CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+type CommonVirtualNetworkPtrOutput struct{ *pulumi.OutputState }
-func (CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse)(nil)).Elem()
+func (CommonVirtualNetworkPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**CommonVirtualNetwork)(nil)).Elem()
}
-func (o CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) ToCommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput() CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput {
+func (o CommonVirtualNetworkPtrOutput) ToCommonVirtualNetworkPtrOutput() CommonVirtualNetworkPtrOutput {
return o
}
-func (o CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) ToCommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutputWithContext(ctx context.Context) CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput {
+func (o CommonVirtualNetworkPtrOutput) ToCommonVirtualNetworkPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkPtrOutput {
return o
}
-func (o CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) Elem() CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse {
+func (o CommonVirtualNetworkPtrOutput) Elem() CommonVirtualNetworkOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) CommonVirtualNetwork {
if v != nil {
return *v
}
- var ret CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse
+ var ret CommonVirtualNetwork
return ret
- }).(CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput)
+ }).(CommonVirtualNetworkOutput)
}
-// List of FQDNs for current private link connection.
-func (o CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) Fqdns() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) []string {
+// The AddressSpace that contains an array of IP address ranges that can be used by subnets.
+func (o CommonVirtualNetworkPtrOutput) AddressSpace() CommonAddressSpacePtrOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) *CommonAddressSpace {
if v == nil {
return nil
}
- return v.Fqdns
- }).(pulumi.StringArrayOutput)
+ return v.AddressSpace
+ }).(CommonAddressSpacePtrOutput)
}
-// The group ID for current private link connection.
-func (o CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) GroupId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) *string {
+// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
+func (o CommonVirtualNetworkPtrOutput) BgpCommunities() CommonVirtualNetworkBgpCommunitiesPtrOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) *CommonVirtualNetworkBgpCommunities {
if v == nil {
return nil
}
- return &v.GroupId
- }).(pulumi.StringPtrOutput)
+ return v.BgpCommunities
+ }).(CommonVirtualNetworkBgpCommunitiesPtrOutput)
}
-// The required member name for current private link connection.
-func (o CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) RequiredMemberName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) *string {
+// The DDoS protection plan associated with the virtual network.
+func (o CommonVirtualNetworkPtrOutput) DdosProtectionPlan() SubResourcePtrOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) *SubResource {
if v == nil {
return nil
}
- return &v.RequiredMemberName
- }).(pulumi.StringPtrOutput)
-}
-
-// IPConfiguration in a network interface.
-type CommonNetworkInterfaceIPConfigurationResponse struct {
- // The reference to ApplicationGatewayBackendAddressPool resource.
- ApplicationGatewayBackendAddressPools []CommonApplicationGatewayBackendAddressPoolResponse `pulumi:"applicationGatewayBackendAddressPools"`
- // Application security groups in which the IP configuration is included.
- ApplicationSecurityGroups []CommonApplicationSecurityGroupResponse `pulumi:"applicationSecurityGroups"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The reference to gateway load balancer frontend IP.
- GatewayLoadBalancer *CommonSubResourceResponse `pulumi:"gatewayLoadBalancer"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The reference to LoadBalancerBackendAddressPool resource.
- LoadBalancerBackendAddressPools []CommonBackendAddressPoolResponse `pulumi:"loadBalancerBackendAddressPools"`
- // A list of references of LoadBalancerInboundNatRules.
- LoadBalancerInboundNatRules []CommonInboundNatRuleResponse `pulumi:"loadBalancerInboundNatRules"`
- // Name of the resource.
- Name *string `pulumi:"name"`
- // Whether this is a primary customer address on the network interface.
- Primary *bool `pulumi:"primary"`
- // Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
- PrivateIPAddressPrefixLength *int `pulumi:"privateIPAddressPrefixLength"`
- // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
- PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
- // The private IP address allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // PrivateLinkConnection properties for the network interface.
- PrivateLinkConnectionProperties CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse `pulumi:"privateLinkConnectionProperties"`
- // The provisioning state of the network interface IP configuration.
- ProvisioningState string `pulumi:"provisioningState"`
- // Public IP address bound to the IP configuration.
- PublicIPAddress *CommonPublicIPAddressResponse `pulumi:"publicIPAddress"`
- // Subnet bound to the IP configuration.
- Subnet *CommonSubnetResponse `pulumi:"subnet"`
- // Resource type.
- Type string `pulumi:"type"`
- // The reference to Virtual Network Taps.
- VirtualNetworkTaps []CommonVirtualNetworkTapResponse `pulumi:"virtualNetworkTaps"`
-}
-
-// Defaults sets the appropriate defaults for CommonNetworkInterfaceIPConfigurationResponse
-func (val *CommonNetworkInterfaceIPConfigurationResponse) Defaults() *CommonNetworkInterfaceIPConfigurationResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
-
- tmp.Subnet = tmp.Subnet.Defaults()
-
- return &tmp
-}
-
-// IPConfiguration in a network interface.
-type CommonNetworkInterfaceIPConfigurationResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonNetworkInterfaceIPConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonNetworkInterfaceIPConfigurationResponse)(nil)).Elem()
-}
-
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) ToCommonNetworkInterfaceIPConfigurationResponseOutput() CommonNetworkInterfaceIPConfigurationResponseOutput {
- return o
-}
-
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) ToCommonNetworkInterfaceIPConfigurationResponseOutputWithContext(ctx context.Context) CommonNetworkInterfaceIPConfigurationResponseOutput {
- return o
-}
-
-// The reference to ApplicationGatewayBackendAddressPool resource.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) ApplicationGatewayBackendAddressPools() CommonApplicationGatewayBackendAddressPoolResponseArrayOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) []CommonApplicationGatewayBackendAddressPoolResponse {
- return v.ApplicationGatewayBackendAddressPools
- }).(CommonApplicationGatewayBackendAddressPoolResponseArrayOutput)
-}
-
-// Application security groups in which the IP configuration is included.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) ApplicationSecurityGroups() CommonApplicationSecurityGroupResponseArrayOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) []CommonApplicationSecurityGroupResponse {
- return v.ApplicationSecurityGroups
- }).(CommonApplicationSecurityGroupResponseArrayOutput)
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
-
-// The reference to gateway load balancer frontend IP.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) GatewayLoadBalancer() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) *CommonSubResourceResponse {
- return v.GatewayLoadBalancer
- }).(CommonSubResourceResponsePtrOutput)
-}
-
-// Resource ID.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// The reference to LoadBalancerBackendAddressPool resource.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) LoadBalancerBackendAddressPools() CommonBackendAddressPoolResponseArrayOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) []CommonBackendAddressPoolResponse {
- return v.LoadBalancerBackendAddressPools
- }).(CommonBackendAddressPoolResponseArrayOutput)
-}
-
-// A list of references of LoadBalancerInboundNatRules.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) LoadBalancerInboundNatRules() CommonInboundNatRuleResponseArrayOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) []CommonInboundNatRuleResponse {
- return v.LoadBalancerInboundNatRules
- }).(CommonInboundNatRuleResponseArrayOutput)
-}
-
-// Name of the resource.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-// Whether this is a primary customer address on the network interface.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) Primary() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
-}
-
-// Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
-}
-
-// The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) PrivateIPAddressPrefixLength() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) *int { return v.PrivateIPAddressPrefixLength }).(pulumi.IntPtrOutput)
-}
-
-// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
-}
-
-// The private IP address allocation method.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
-}
-
-// PrivateLinkConnection properties for the network interface.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) PrivateLinkConnectionProperties() CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse {
- return v.PrivateLinkConnectionProperties
- }).(CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput)
-}
-
-// The provisioning state of the network interface IP configuration.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
-
-// Public IP address bound to the IP configuration.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) PublicIPAddress() CommonPublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) *CommonPublicIPAddressResponse {
- return v.PublicIPAddress
- }).(CommonPublicIPAddressResponsePtrOutput)
-}
-
-// Subnet bound to the IP configuration.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) Subnet() CommonSubnetResponsePtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) *CommonSubnetResponse { return v.Subnet }).(CommonSubnetResponsePtrOutput)
-}
-
-// Resource type.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
-}
-
-// The reference to Virtual Network Taps.
-func (o CommonNetworkInterfaceIPConfigurationResponseOutput) VirtualNetworkTaps() CommonVirtualNetworkTapResponseArrayOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceIPConfigurationResponse) []CommonVirtualNetworkTapResponse {
- return v.VirtualNetworkTaps
- }).(CommonVirtualNetworkTapResponseArrayOutput)
-}
-
-type CommonNetworkInterfaceIPConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (CommonNetworkInterfaceIPConfigurationResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonNetworkInterfaceIPConfigurationResponse)(nil)).Elem()
-}
-
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) ToCommonNetworkInterfaceIPConfigurationResponsePtrOutput() CommonNetworkInterfaceIPConfigurationResponsePtrOutput {
- return o
+ return v.DdosProtectionPlan
+ }).(SubResourcePtrOutput)
}
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) ToCommonNetworkInterfaceIPConfigurationResponsePtrOutputWithContext(ctx context.Context) CommonNetworkInterfaceIPConfigurationResponsePtrOutput {
- return o
+// The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
+func (o CommonVirtualNetworkPtrOutput) DhcpOptions() CommonDhcpOptionsPtrOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) *CommonDhcpOptions {
+ if v == nil {
+ return nil
+ }
+ return v.DhcpOptions
+ }).(CommonDhcpOptionsPtrOutput)
}
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) Elem() CommonNetworkInterfaceIPConfigurationResponseOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) CommonNetworkInterfaceIPConfigurationResponse {
- if v != nil {
- return *v
+// Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
+func (o CommonVirtualNetworkPtrOutput) EnableDdosProtection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) *bool {
+ if v == nil {
+ return nil
}
- var ret CommonNetworkInterfaceIPConfigurationResponse
- return ret
- }).(CommonNetworkInterfaceIPConfigurationResponseOutput)
+ return v.EnableDdosProtection
+ }).(pulumi.BoolPtrOutput)
}
-// The reference to ApplicationGatewayBackendAddressPool resource.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) ApplicationGatewayBackendAddressPools() CommonApplicationGatewayBackendAddressPoolResponseArrayOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) []CommonApplicationGatewayBackendAddressPoolResponse {
+// Indicates if VM protection is enabled for all the subnets in the virtual network.
+func (o CommonVirtualNetworkPtrOutput) EnableVmProtection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) *bool {
if v == nil {
return nil
}
- return v.ApplicationGatewayBackendAddressPools
- }).(CommonApplicationGatewayBackendAddressPoolResponseArrayOutput)
+ return v.EnableVmProtection
+ }).(pulumi.BoolPtrOutput)
}
-// Application security groups in which the IP configuration is included.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) ApplicationSecurityGroups() CommonApplicationSecurityGroupResponseArrayOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) []CommonApplicationSecurityGroupResponse {
+// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
+func (o CommonVirtualNetworkPtrOutput) Encryption() CommonVirtualNetworkEncryptionPtrOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) *CommonVirtualNetworkEncryption {
if v == nil {
return nil
}
- return v.ApplicationSecurityGroups
- }).(CommonApplicationSecurityGroupResponseArrayOutput)
+ return v.Encryption
+ }).(CommonVirtualNetworkEncryptionPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) *string {
+// The extended location of the virtual network.
+func (o CommonVirtualNetworkPtrOutput) ExtendedLocation() CommonExtendedLocationPtrOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) *CommonExtendedLocation {
if v == nil {
return nil
}
- return &v.Etag
- }).(pulumi.StringPtrOutput)
+ return v.ExtendedLocation
+ }).(CommonExtendedLocationPtrOutput)
}
-// The reference to gateway load balancer frontend IP.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) GatewayLoadBalancer() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) *CommonSubResourceResponse {
+// The FlowTimeout value (in minutes) for the Virtual Network
+func (o CommonVirtualNetworkPtrOutput) FlowTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) *int {
if v == nil {
return nil
}
- return v.GatewayLoadBalancer
- }).(CommonSubResourceResponsePtrOutput)
+ return v.FlowTimeoutInMinutes
+ }).(pulumi.IntPtrOutput)
}
// Resource ID.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) *string {
+func (o CommonVirtualNetworkPtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) *string {
if v == nil {
return nil
}
@@ -24410,19842 +23480,18418 @@ func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) Id() pulumi.Stri
}).(pulumi.StringPtrOutput)
}
-// The reference to LoadBalancerBackendAddressPool resource.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) LoadBalancerBackendAddressPools() CommonBackendAddressPoolResponseArrayOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) []CommonBackendAddressPoolResponse {
+// Array of IpAllocation which reference this VNET.
+func (o CommonVirtualNetworkPtrOutput) IpAllocations() SubResourceArrayOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) []SubResource {
if v == nil {
return nil
}
- return v.LoadBalancerBackendAddressPools
- }).(CommonBackendAddressPoolResponseArrayOutput)
+ return v.IpAllocations
+ }).(SubResourceArrayOutput)
}
-// A list of references of LoadBalancerInboundNatRules.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) LoadBalancerInboundNatRules() CommonInboundNatRuleResponseArrayOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) []CommonInboundNatRuleResponse {
+// Resource location.
+func (o CommonVirtualNetworkPtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) *string {
if v == nil {
return nil
}
- return v.LoadBalancerInboundNatRules
- }).(CommonInboundNatRuleResponseArrayOutput)
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-// Name of the resource.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) *string {
+// Private Endpoint VNet Policies.
+func (o CommonVirtualNetworkPtrOutput) PrivateEndpointVNetPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) *string {
if v == nil {
return nil
}
- return v.Name
+ return v.PrivateEndpointVNetPolicies
}).(pulumi.StringPtrOutput)
}
-// Whether this is a primary customer address on the network interface.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) Primary() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) *bool {
+// A list of subnets in a Virtual Network.
+func (o CommonVirtualNetworkPtrOutput) Subnets() CommonSubnetArrayOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) []CommonSubnet {
if v == nil {
return nil
}
- return v.Primary
- }).(pulumi.BoolPtrOutput)
+ return v.Subnets
+ }).(CommonSubnetArrayOutput)
}
-// Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) *string {
+// Resource tags.
+func (o CommonVirtualNetworkPtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) map[string]string {
if v == nil {
return nil
}
- return v.PrivateIPAddress
- }).(pulumi.StringPtrOutput)
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-// The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) PrivateIPAddressPrefixLength() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) *int {
+// A list of peerings in a Virtual Network.
+func (o CommonVirtualNetworkPtrOutput) VirtualNetworkPeerings() CommonVirtualNetworkPeeringArrayOutput {
+ return o.ApplyT(func(v *CommonVirtualNetwork) []CommonVirtualNetworkPeering {
if v == nil {
return nil
}
- return v.PrivateIPAddressPrefixLength
- }).(pulumi.IntPtrOutput)
-}
+ return v.VirtualNetworkPeerings
+ }).(CommonVirtualNetworkPeeringArrayOutput)
+}
-// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddressVersion
- }).(pulumi.StringPtrOutput)
+// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
+type CommonVirtualNetworkBgpCommunities struct {
+ // The BGP community associated with the virtual network.
+ VirtualNetworkCommunity string `pulumi:"virtualNetworkCommunity"`
}
-// The private IP address allocation method.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAllocationMethod
- }).(pulumi.StringPtrOutput)
+// CommonVirtualNetworkBgpCommunitiesInput is an input type that accepts CommonVirtualNetworkBgpCommunitiesArgs and CommonVirtualNetworkBgpCommunitiesOutput values.
+// You can construct a concrete instance of `CommonVirtualNetworkBgpCommunitiesInput` via:
+//
+// CommonVirtualNetworkBgpCommunitiesArgs{...}
+type CommonVirtualNetworkBgpCommunitiesInput interface {
+ pulumi.Input
+
+ ToCommonVirtualNetworkBgpCommunitiesOutput() CommonVirtualNetworkBgpCommunitiesOutput
+ ToCommonVirtualNetworkBgpCommunitiesOutputWithContext(context.Context) CommonVirtualNetworkBgpCommunitiesOutput
}
-// PrivateLinkConnection properties for the network interface.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) PrivateLinkConnectionProperties() CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) *CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse {
- if v == nil {
- return nil
- }
- return &v.PrivateLinkConnectionProperties
- }).(CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput)
+// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
+type CommonVirtualNetworkBgpCommunitiesArgs struct {
+ // The BGP community associated with the virtual network.
+ VirtualNetworkCommunity pulumi.StringInput `pulumi:"virtualNetworkCommunity"`
}
-// The provisioning state of the network interface IP configuration.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+func (CommonVirtualNetworkBgpCommunitiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonVirtualNetworkBgpCommunities)(nil)).Elem()
}
-// Public IP address bound to the IP configuration.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) PublicIPAddress() CommonPublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) *CommonPublicIPAddressResponse {
- if v == nil {
- return nil
- }
- return v.PublicIPAddress
- }).(CommonPublicIPAddressResponsePtrOutput)
+func (i CommonVirtualNetworkBgpCommunitiesArgs) ToCommonVirtualNetworkBgpCommunitiesOutput() CommonVirtualNetworkBgpCommunitiesOutput {
+ return i.ToCommonVirtualNetworkBgpCommunitiesOutputWithContext(context.Background())
}
-// Subnet bound to the IP configuration.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) Subnet() CommonSubnetResponsePtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) *CommonSubnetResponse {
- if v == nil {
- return nil
- }
- return v.Subnet
- }).(CommonSubnetResponsePtrOutput)
+func (i CommonVirtualNetworkBgpCommunitiesArgs) ToCommonVirtualNetworkBgpCommunitiesOutputWithContext(ctx context.Context) CommonVirtualNetworkBgpCommunitiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkBgpCommunitiesOutput)
}
-// Resource type.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Type
- }).(pulumi.StringPtrOutput)
+func (i CommonVirtualNetworkBgpCommunitiesArgs) ToCommonVirtualNetworkBgpCommunitiesPtrOutput() CommonVirtualNetworkBgpCommunitiesPtrOutput {
+ return i.ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(context.Background())
}
-// The reference to Virtual Network Taps.
-func (o CommonNetworkInterfaceIPConfigurationResponsePtrOutput) VirtualNetworkTaps() CommonVirtualNetworkTapResponseArrayOutput {
- return o.ApplyT(func(v *CommonNetworkInterfaceIPConfigurationResponse) []CommonVirtualNetworkTapResponse {
- if v == nil {
- return nil
- }
- return v.VirtualNetworkTaps
- }).(CommonVirtualNetworkTapResponseArrayOutput)
+func (i CommonVirtualNetworkBgpCommunitiesArgs) ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkBgpCommunitiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkBgpCommunitiesOutput).ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx)
}
-type CommonNetworkInterfaceIPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+// CommonVirtualNetworkBgpCommunitiesPtrInput is an input type that accepts CommonVirtualNetworkBgpCommunitiesArgs, CommonVirtualNetworkBgpCommunitiesPtr and CommonVirtualNetworkBgpCommunitiesPtrOutput values.
+// You can construct a concrete instance of `CommonVirtualNetworkBgpCommunitiesPtrInput` via:
+//
+// CommonVirtualNetworkBgpCommunitiesArgs{...}
+//
+// or:
+//
+// nil
+type CommonVirtualNetworkBgpCommunitiesPtrInput interface {
+ pulumi.Input
-func (CommonNetworkInterfaceIPConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonNetworkInterfaceIPConfigurationResponse)(nil)).Elem()
+ ToCommonVirtualNetworkBgpCommunitiesPtrOutput() CommonVirtualNetworkBgpCommunitiesPtrOutput
+ ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(context.Context) CommonVirtualNetworkBgpCommunitiesPtrOutput
}
-func (o CommonNetworkInterfaceIPConfigurationResponseArrayOutput) ToCommonNetworkInterfaceIPConfigurationResponseArrayOutput() CommonNetworkInterfaceIPConfigurationResponseArrayOutput {
- return o
-}
+type commonVirtualNetworkBgpCommunitiesPtrType CommonVirtualNetworkBgpCommunitiesArgs
-func (o CommonNetworkInterfaceIPConfigurationResponseArrayOutput) ToCommonNetworkInterfaceIPConfigurationResponseArrayOutputWithContext(ctx context.Context) CommonNetworkInterfaceIPConfigurationResponseArrayOutput {
- return o
+func CommonVirtualNetworkBgpCommunitiesPtr(v *CommonVirtualNetworkBgpCommunitiesArgs) CommonVirtualNetworkBgpCommunitiesPtrInput {
+ return (*commonVirtualNetworkBgpCommunitiesPtrType)(v)
}
-func (o CommonNetworkInterfaceIPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) CommonNetworkInterfaceIPConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonNetworkInterfaceIPConfigurationResponse {
- return vs[0].([]CommonNetworkInterfaceIPConfigurationResponse)[vs[1].(int)]
- }).(CommonNetworkInterfaceIPConfigurationResponseOutput)
+func (*commonVirtualNetworkBgpCommunitiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**CommonVirtualNetworkBgpCommunities)(nil)).Elem()
}
-// A network interface in a resource group.
-type CommonNetworkInterfaceResponse struct {
- // Auxiliary mode of Network Interface resource.
- AuxiliaryMode *string `pulumi:"auxiliaryMode"`
- // Auxiliary sku of Network Interface resource.
- AuxiliarySku *string `pulumi:"auxiliarySku"`
- // Whether default outbound connectivity for nic was configured or not.
- DefaultOutboundConnectivityEnabled bool `pulumi:"defaultOutboundConnectivityEnabled"`
- // Indicates whether to disable tcp state tracking.
- DisableTcpStateTracking *bool `pulumi:"disableTcpStateTracking"`
- // The DNS settings in network interface.
- DnsSettings *CommonNetworkInterfaceDnsSettingsResponse `pulumi:"dnsSettings"`
- // A reference to the dscp configuration to which the network interface is linked.
- DscpConfiguration CommonSubResourceResponse `pulumi:"dscpConfiguration"`
- // If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking.
- EnableAcceleratedNetworking *bool `pulumi:"enableAcceleratedNetworking"`
- // Indicates whether IP forwarding is enabled on this network interface.
- EnableIPForwarding *bool `pulumi:"enableIPForwarding"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The extended location of the network interface.
- ExtendedLocation *CommonExtendedLocationResponse `pulumi:"extendedLocation"`
- // A list of references to linked BareMetal resources.
- HostedWorkloads []string `pulumi:"hostedWorkloads"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // A list of IPConfigurations of the network interface.
- IpConfigurations []CommonNetworkInterfaceIPConfigurationResponse `pulumi:"ipConfigurations"`
- // Resource location.
- Location *string `pulumi:"location"`
- // The MAC address of the network interface.
- MacAddress string `pulumi:"macAddress"`
- // Migration phase of Network Interface resource.
- MigrationPhase *string `pulumi:"migrationPhase"`
- // Resource name.
- Name string `pulumi:"name"`
- // The reference to the NetworkSecurityGroup resource.
- NetworkSecurityGroup *CommonNetworkSecurityGroupResponse `pulumi:"networkSecurityGroup"`
- // Type of Network Interface resource.
- NicType *string `pulumi:"nicType"`
- // Whether this is a primary network interface on a virtual machine.
- Primary bool `pulumi:"primary"`
- // A reference to the private endpoint to which the network interface is linked.
- PrivateEndpoint CommonPrivateEndpointResponse `pulumi:"privateEndpoint"`
- // Privatelinkservice of the network interface resource.
- PrivateLinkService *CommonPrivateLinkServiceResponse `pulumi:"privateLinkService"`
- // The provisioning state of the network interface resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The resource GUID property of the network interface resource.
- ResourceGuid string `pulumi:"resourceGuid"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // A list of TapConfigurations of the network interface.
- TapConfigurations []CommonNetworkInterfaceTapConfigurationResponse `pulumi:"tapConfigurations"`
- // Resource type.
- Type string `pulumi:"type"`
- // The reference to a virtual machine.
- VirtualMachine CommonSubResourceResponse `pulumi:"virtualMachine"`
- // Whether the virtual machine this nic is attached to supports encryption.
- VnetEncryptionSupported bool `pulumi:"vnetEncryptionSupported"`
- // WorkloadType of the NetworkInterface for BareMetal resources
- WorkloadType *string `pulumi:"workloadType"`
+func (i *commonVirtualNetworkBgpCommunitiesPtrType) ToCommonVirtualNetworkBgpCommunitiesPtrOutput() CommonVirtualNetworkBgpCommunitiesPtrOutput {
+ return i.ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(context.Background())
}
-// Defaults sets the appropriate defaults for CommonNetworkInterfaceResponse
-func (val *CommonNetworkInterfaceResponse) Defaults() *CommonNetworkInterfaceResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.PrivateEndpoint = *tmp.PrivateEndpoint.Defaults()
-
- return &tmp
+func (i *commonVirtualNetworkBgpCommunitiesPtrType) ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkBgpCommunitiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkBgpCommunitiesPtrOutput)
}
-// A network interface in a resource group.
-type CommonNetworkInterfaceResponseOutput struct{ *pulumi.OutputState }
+// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
+type CommonVirtualNetworkBgpCommunitiesOutput struct{ *pulumi.OutputState }
-func (CommonNetworkInterfaceResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonNetworkInterfaceResponse)(nil)).Elem()
+func (CommonVirtualNetworkBgpCommunitiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonVirtualNetworkBgpCommunities)(nil)).Elem()
}
-func (o CommonNetworkInterfaceResponseOutput) ToCommonNetworkInterfaceResponseOutput() CommonNetworkInterfaceResponseOutput {
+func (o CommonVirtualNetworkBgpCommunitiesOutput) ToCommonVirtualNetworkBgpCommunitiesOutput() CommonVirtualNetworkBgpCommunitiesOutput {
return o
}
-func (o CommonNetworkInterfaceResponseOutput) ToCommonNetworkInterfaceResponseOutputWithContext(ctx context.Context) CommonNetworkInterfaceResponseOutput {
+func (o CommonVirtualNetworkBgpCommunitiesOutput) ToCommonVirtualNetworkBgpCommunitiesOutputWithContext(ctx context.Context) CommonVirtualNetworkBgpCommunitiesOutput {
return o
}
-// Auxiliary mode of Network Interface resource.
-func (o CommonNetworkInterfaceResponseOutput) AuxiliaryMode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) *string { return v.AuxiliaryMode }).(pulumi.StringPtrOutput)
+func (o CommonVirtualNetworkBgpCommunitiesOutput) ToCommonVirtualNetworkBgpCommunitiesPtrOutput() CommonVirtualNetworkBgpCommunitiesPtrOutput {
+ return o.ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(context.Background())
}
-// Auxiliary sku of Network Interface resource.
-func (o CommonNetworkInterfaceResponseOutput) AuxiliarySku() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) *string { return v.AuxiliarySku }).(pulumi.StringPtrOutput)
+func (o CommonVirtualNetworkBgpCommunitiesOutput) ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkBgpCommunitiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v CommonVirtualNetworkBgpCommunities) *CommonVirtualNetworkBgpCommunities {
+ return &v
+ }).(CommonVirtualNetworkBgpCommunitiesPtrOutput)
}
-// Whether default outbound connectivity for nic was configured or not.
-func (o CommonNetworkInterfaceResponseOutput) DefaultOutboundConnectivityEnabled() pulumi.BoolOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) bool { return v.DefaultOutboundConnectivityEnabled }).(pulumi.BoolOutput)
+// The BGP community associated with the virtual network.
+func (o CommonVirtualNetworkBgpCommunitiesOutput) VirtualNetworkCommunity() pulumi.StringOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkBgpCommunities) string { return v.VirtualNetworkCommunity }).(pulumi.StringOutput)
}
-// Indicates whether to disable tcp state tracking.
-func (o CommonNetworkInterfaceResponseOutput) DisableTcpStateTracking() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) *bool { return v.DisableTcpStateTracking }).(pulumi.BoolPtrOutput)
-}
+type CommonVirtualNetworkBgpCommunitiesPtrOutput struct{ *pulumi.OutputState }
-// The DNS settings in network interface.
-func (o CommonNetworkInterfaceResponseOutput) DnsSettings() CommonNetworkInterfaceDnsSettingsResponsePtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) *CommonNetworkInterfaceDnsSettingsResponse {
- return v.DnsSettings
- }).(CommonNetworkInterfaceDnsSettingsResponsePtrOutput)
+func (CommonVirtualNetworkBgpCommunitiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**CommonVirtualNetworkBgpCommunities)(nil)).Elem()
}
-// A reference to the dscp configuration to which the network interface is linked.
-func (o CommonNetworkInterfaceResponseOutput) DscpConfiguration() CommonSubResourceResponseOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) CommonSubResourceResponse { return v.DscpConfiguration }).(CommonSubResourceResponseOutput)
+func (o CommonVirtualNetworkBgpCommunitiesPtrOutput) ToCommonVirtualNetworkBgpCommunitiesPtrOutput() CommonVirtualNetworkBgpCommunitiesPtrOutput {
+ return o
}
-// If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking.
-func (o CommonNetworkInterfaceResponseOutput) EnableAcceleratedNetworking() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) *bool { return v.EnableAcceleratedNetworking }).(pulumi.BoolPtrOutput)
+func (o CommonVirtualNetworkBgpCommunitiesPtrOutput) ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkBgpCommunitiesPtrOutput {
+ return o
}
-// Indicates whether IP forwarding is enabled on this network interface.
-func (o CommonNetworkInterfaceResponseOutput) EnableIPForwarding() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) *bool { return v.EnableIPForwarding }).(pulumi.BoolPtrOutput)
+func (o CommonVirtualNetworkBgpCommunitiesPtrOutput) Elem() CommonVirtualNetworkBgpCommunitiesOutput {
+ return o.ApplyT(func(v *CommonVirtualNetworkBgpCommunities) CommonVirtualNetworkBgpCommunities {
+ if v != nil {
+ return *v
+ }
+ var ret CommonVirtualNetworkBgpCommunities
+ return ret
+ }).(CommonVirtualNetworkBgpCommunitiesOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonNetworkInterfaceResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) string { return v.Etag }).(pulumi.StringOutput)
+// The BGP community associated with the virtual network.
+func (o CommonVirtualNetworkBgpCommunitiesPtrOutput) VirtualNetworkCommunity() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *CommonVirtualNetworkBgpCommunities) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.VirtualNetworkCommunity
+ }).(pulumi.StringPtrOutput)
}
-// The extended location of the network interface.
-func (o CommonNetworkInterfaceResponseOutput) ExtendedLocation() CommonExtendedLocationResponsePtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) *CommonExtendedLocationResponse { return v.ExtendedLocation }).(CommonExtendedLocationResponsePtrOutput)
+// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
+type CommonVirtualNetworkEncryption struct {
+ // Indicates if encryption is enabled on the virtual network.
+ Enabled bool `pulumi:"enabled"`
+ // If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
+ Enforcement *string `pulumi:"enforcement"`
}
-// A list of references to linked BareMetal resources.
-func (o CommonNetworkInterfaceResponseOutput) HostedWorkloads() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) []string { return v.HostedWorkloads }).(pulumi.StringArrayOutput)
-}
+// CommonVirtualNetworkEncryptionInput is an input type that accepts CommonVirtualNetworkEncryptionArgs and CommonVirtualNetworkEncryptionOutput values.
+// You can construct a concrete instance of `CommonVirtualNetworkEncryptionInput` via:
+//
+// CommonVirtualNetworkEncryptionArgs{...}
+type CommonVirtualNetworkEncryptionInput interface {
+ pulumi.Input
-// Resource ID.
-func (o CommonNetworkInterfaceResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+ ToCommonVirtualNetworkEncryptionOutput() CommonVirtualNetworkEncryptionOutput
+ ToCommonVirtualNetworkEncryptionOutputWithContext(context.Context) CommonVirtualNetworkEncryptionOutput
}
-// A list of IPConfigurations of the network interface.
-func (o CommonNetworkInterfaceResponseOutput) IpConfigurations() CommonNetworkInterfaceIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) []CommonNetworkInterfaceIPConfigurationResponse {
- return v.IpConfigurations
- }).(CommonNetworkInterfaceIPConfigurationResponseArrayOutput)
+// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
+type CommonVirtualNetworkEncryptionArgs struct {
+ // Indicates if encryption is enabled on the virtual network.
+ Enabled pulumi.BoolInput `pulumi:"enabled"`
+ // If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
+ Enforcement pulumi.StringPtrInput `pulumi:"enforcement"`
}
-// Resource location.
-func (o CommonNetworkInterfaceResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+func (CommonVirtualNetworkEncryptionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonVirtualNetworkEncryption)(nil)).Elem()
}
-// The MAC address of the network interface.
-func (o CommonNetworkInterfaceResponseOutput) MacAddress() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) string { return v.MacAddress }).(pulumi.StringOutput)
+func (i CommonVirtualNetworkEncryptionArgs) ToCommonVirtualNetworkEncryptionOutput() CommonVirtualNetworkEncryptionOutput {
+ return i.ToCommonVirtualNetworkEncryptionOutputWithContext(context.Background())
}
-// Migration phase of Network Interface resource.
-func (o CommonNetworkInterfaceResponseOutput) MigrationPhase() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) *string { return v.MigrationPhase }).(pulumi.StringPtrOutput)
+func (i CommonVirtualNetworkEncryptionArgs) ToCommonVirtualNetworkEncryptionOutputWithContext(ctx context.Context) CommonVirtualNetworkEncryptionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkEncryptionOutput)
}
-// Resource name.
-func (o CommonNetworkInterfaceResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) string { return v.Name }).(pulumi.StringOutput)
+func (i CommonVirtualNetworkEncryptionArgs) ToCommonVirtualNetworkEncryptionPtrOutput() CommonVirtualNetworkEncryptionPtrOutput {
+ return i.ToCommonVirtualNetworkEncryptionPtrOutputWithContext(context.Background())
}
-// The reference to the NetworkSecurityGroup resource.
-func (o CommonNetworkInterfaceResponseOutput) NetworkSecurityGroup() CommonNetworkSecurityGroupResponsePtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) *CommonNetworkSecurityGroupResponse {
- return v.NetworkSecurityGroup
- }).(CommonNetworkSecurityGroupResponsePtrOutput)
+func (i CommonVirtualNetworkEncryptionArgs) ToCommonVirtualNetworkEncryptionPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkEncryptionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkEncryptionOutput).ToCommonVirtualNetworkEncryptionPtrOutputWithContext(ctx)
}
-// Type of Network Interface resource.
-func (o CommonNetworkInterfaceResponseOutput) NicType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) *string { return v.NicType }).(pulumi.StringPtrOutput)
+// CommonVirtualNetworkEncryptionPtrInput is an input type that accepts CommonVirtualNetworkEncryptionArgs, CommonVirtualNetworkEncryptionPtr and CommonVirtualNetworkEncryptionPtrOutput values.
+// You can construct a concrete instance of `CommonVirtualNetworkEncryptionPtrInput` via:
+//
+// CommonVirtualNetworkEncryptionArgs{...}
+//
+// or:
+//
+// nil
+type CommonVirtualNetworkEncryptionPtrInput interface {
+ pulumi.Input
+
+ ToCommonVirtualNetworkEncryptionPtrOutput() CommonVirtualNetworkEncryptionPtrOutput
+ ToCommonVirtualNetworkEncryptionPtrOutputWithContext(context.Context) CommonVirtualNetworkEncryptionPtrOutput
}
-// Whether this is a primary network interface on a virtual machine.
-func (o CommonNetworkInterfaceResponseOutput) Primary() pulumi.BoolOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) bool { return v.Primary }).(pulumi.BoolOutput)
+type commonVirtualNetworkEncryptionPtrType CommonVirtualNetworkEncryptionArgs
+
+func CommonVirtualNetworkEncryptionPtr(v *CommonVirtualNetworkEncryptionArgs) CommonVirtualNetworkEncryptionPtrInput {
+ return (*commonVirtualNetworkEncryptionPtrType)(v)
}
-// A reference to the private endpoint to which the network interface is linked.
-func (o CommonNetworkInterfaceResponseOutput) PrivateEndpoint() CommonPrivateEndpointResponseOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) CommonPrivateEndpointResponse { return v.PrivateEndpoint }).(CommonPrivateEndpointResponseOutput)
+func (*commonVirtualNetworkEncryptionPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**CommonVirtualNetworkEncryption)(nil)).Elem()
}
-// Privatelinkservice of the network interface resource.
-func (o CommonNetworkInterfaceResponseOutput) PrivateLinkService() CommonPrivateLinkServiceResponsePtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) *CommonPrivateLinkServiceResponse { return v.PrivateLinkService }).(CommonPrivateLinkServiceResponsePtrOutput)
+func (i *commonVirtualNetworkEncryptionPtrType) ToCommonVirtualNetworkEncryptionPtrOutput() CommonVirtualNetworkEncryptionPtrOutput {
+ return i.ToCommonVirtualNetworkEncryptionPtrOutputWithContext(context.Background())
}
-// The provisioning state of the network interface resource.
-func (o CommonNetworkInterfaceResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (i *commonVirtualNetworkEncryptionPtrType) ToCommonVirtualNetworkEncryptionPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkEncryptionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkEncryptionPtrOutput)
}
-// The resource GUID property of the network interface resource.
-func (o CommonNetworkInterfaceResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
+type CommonVirtualNetworkEncryptionOutput struct{ *pulumi.OutputState }
+
+func (CommonVirtualNetworkEncryptionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonVirtualNetworkEncryption)(nil)).Elem()
}
-// Resource tags.
-func (o CommonNetworkInterfaceResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+func (o CommonVirtualNetworkEncryptionOutput) ToCommonVirtualNetworkEncryptionOutput() CommonVirtualNetworkEncryptionOutput {
+ return o
}
-// A list of TapConfigurations of the network interface.
-func (o CommonNetworkInterfaceResponseOutput) TapConfigurations() CommonNetworkInterfaceTapConfigurationResponseArrayOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) []CommonNetworkInterfaceTapConfigurationResponse {
- return v.TapConfigurations
- }).(CommonNetworkInterfaceTapConfigurationResponseArrayOutput)
+func (o CommonVirtualNetworkEncryptionOutput) ToCommonVirtualNetworkEncryptionOutputWithContext(ctx context.Context) CommonVirtualNetworkEncryptionOutput {
+ return o
}
-// Resource type.
-func (o CommonNetworkInterfaceResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) string { return v.Type }).(pulumi.StringOutput)
+func (o CommonVirtualNetworkEncryptionOutput) ToCommonVirtualNetworkEncryptionPtrOutput() CommonVirtualNetworkEncryptionPtrOutput {
+ return o.ToCommonVirtualNetworkEncryptionPtrOutputWithContext(context.Background())
}
-// The reference to a virtual machine.
-func (o CommonNetworkInterfaceResponseOutput) VirtualMachine() CommonSubResourceResponseOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) CommonSubResourceResponse { return v.VirtualMachine }).(CommonSubResourceResponseOutput)
+func (o CommonVirtualNetworkEncryptionOutput) ToCommonVirtualNetworkEncryptionPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkEncryptionPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v CommonVirtualNetworkEncryption) *CommonVirtualNetworkEncryption {
+ return &v
+ }).(CommonVirtualNetworkEncryptionPtrOutput)
}
-// Whether the virtual machine this nic is attached to supports encryption.
-func (o CommonNetworkInterfaceResponseOutput) VnetEncryptionSupported() pulumi.BoolOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) bool { return v.VnetEncryptionSupported }).(pulumi.BoolOutput)
+// Indicates if encryption is enabled on the virtual network.
+func (o CommonVirtualNetworkEncryptionOutput) Enabled() pulumi.BoolOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkEncryption) bool { return v.Enabled }).(pulumi.BoolOutput)
}
-// WorkloadType of the NetworkInterface for BareMetal resources
-func (o CommonNetworkInterfaceResponseOutput) WorkloadType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceResponse) *string { return v.WorkloadType }).(pulumi.StringPtrOutput)
+// If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
+func (o CommonVirtualNetworkEncryptionOutput) Enforcement() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkEncryption) *string { return v.Enforcement }).(pulumi.StringPtrOutput)
}
-type CommonNetworkInterfaceResponseArrayOutput struct{ *pulumi.OutputState }
+type CommonVirtualNetworkEncryptionPtrOutput struct{ *pulumi.OutputState }
-func (CommonNetworkInterfaceResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonNetworkInterfaceResponse)(nil)).Elem()
+func (CommonVirtualNetworkEncryptionPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**CommonVirtualNetworkEncryption)(nil)).Elem()
}
-func (o CommonNetworkInterfaceResponseArrayOutput) ToCommonNetworkInterfaceResponseArrayOutput() CommonNetworkInterfaceResponseArrayOutput {
+func (o CommonVirtualNetworkEncryptionPtrOutput) ToCommonVirtualNetworkEncryptionPtrOutput() CommonVirtualNetworkEncryptionPtrOutput {
return o
}
-func (o CommonNetworkInterfaceResponseArrayOutput) ToCommonNetworkInterfaceResponseArrayOutputWithContext(ctx context.Context) CommonNetworkInterfaceResponseArrayOutput {
+func (o CommonVirtualNetworkEncryptionPtrOutput) ToCommonVirtualNetworkEncryptionPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkEncryptionPtrOutput {
return o
}
-func (o CommonNetworkInterfaceResponseArrayOutput) Index(i pulumi.IntInput) CommonNetworkInterfaceResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonNetworkInterfaceResponse {
- return vs[0].([]CommonNetworkInterfaceResponse)[vs[1].(int)]
- }).(CommonNetworkInterfaceResponseOutput)
+func (o CommonVirtualNetworkEncryptionPtrOutput) Elem() CommonVirtualNetworkEncryptionOutput {
+ return o.ApplyT(func(v *CommonVirtualNetworkEncryption) CommonVirtualNetworkEncryption {
+ if v != nil {
+ return *v
+ }
+ var ret CommonVirtualNetworkEncryption
+ return ret
+ }).(CommonVirtualNetworkEncryptionOutput)
}
-// Tap configuration in a Network Interface.
-type CommonNetworkInterfaceTapConfigurationResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
+// Indicates if encryption is enabled on the virtual network.
+func (o CommonVirtualNetworkEncryptionPtrOutput) Enabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *CommonVirtualNetworkEncryption) *bool {
+ if v == nil {
+ return nil
+ }
+ return &v.Enabled
+ }).(pulumi.BoolPtrOutput)
+}
+
+// If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
+func (o CommonVirtualNetworkEncryptionPtrOutput) Enforcement() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *CommonVirtualNetworkEncryption) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Enforcement
+ }).(pulumi.StringPtrOutput)
+}
+
+// Peerings in a virtual network resource.
+type CommonVirtualNetworkPeering struct {
+ // Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
+ AllowForwardedTraffic *bool `pulumi:"allowForwardedTraffic"`
+ // If gateway links can be used in remote virtual networking to link to this virtual network.
+ AllowGatewayTransit *bool `pulumi:"allowGatewayTransit"`
+ // Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
+ AllowVirtualNetworkAccess *bool `pulumi:"allowVirtualNetworkAccess"`
+ // If we need to verify the provisioning state of the remote gateway.
+ DoNotVerifyRemoteGateways *bool `pulumi:"doNotVerifyRemoteGateways"`
+ // Whether only Ipv6 address space is peered for subnet peering.
+ EnableOnlyIPv6Peering *bool `pulumi:"enableOnlyIPv6Peering"`
// Resource ID.
Id *string `pulumi:"id"`
+ // The local address space of the local virtual network that is peered.
+ LocalAddressSpace *CommonAddressSpace `pulumi:"localAddressSpace"`
+ // List of local subnet names that are subnet peered with remote virtual network.
+ LocalSubnetNames []string `pulumi:"localSubnetNames"`
+ // The current local address space of the local virtual network that is peered.
+ LocalVirtualNetworkAddressSpace *CommonAddressSpace `pulumi:"localVirtualNetworkAddressSpace"`
// Name of the resource.
Name *string `pulumi:"name"`
- // The provisioning state of the network interface tap configuration resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Resource type.
- Type string `pulumi:"type"`
- // The reference to the Virtual Network Tap resource.
- VirtualNetworkTap *CommonVirtualNetworkTapResponse `pulumi:"virtualNetworkTap"`
+ // Whether complete virtual network address space is peered.
+ PeerCompleteVnets *bool `pulumi:"peerCompleteVnets"`
+ // The status of the virtual network peering.
+ PeeringState *string `pulumi:"peeringState"`
+ // The peering sync status of the virtual network peering.
+ PeeringSyncLevel *string `pulumi:"peeringSyncLevel"`
+ // The reference to the address space peered with the remote virtual network.
+ RemoteAddressSpace *CommonAddressSpace `pulumi:"remoteAddressSpace"`
+ // The reference to the remote virtual network's Bgp Communities.
+ RemoteBgpCommunities *CommonVirtualNetworkBgpCommunities `pulumi:"remoteBgpCommunities"`
+ // List of remote subnet names from remote virtual network that are subnet peered.
+ RemoteSubnetNames []string `pulumi:"remoteSubnetNames"`
+ // The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
+ RemoteVirtualNetwork *SubResource `pulumi:"remoteVirtualNetwork"`
+ // The reference to the current address space of the remote virtual network.
+ RemoteVirtualNetworkAddressSpace *CommonAddressSpace `pulumi:"remoteVirtualNetworkAddressSpace"`
+ // If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
+ UseRemoteGateways *bool `pulumi:"useRemoteGateways"`
}
-// Defaults sets the appropriate defaults for CommonNetworkInterfaceTapConfigurationResponse
-func (val *CommonNetworkInterfaceTapConfigurationResponse) Defaults() *CommonNetworkInterfaceTapConfigurationResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.VirtualNetworkTap = tmp.VirtualNetworkTap.Defaults()
+// CommonVirtualNetworkPeeringInput is an input type that accepts CommonVirtualNetworkPeeringArgs and CommonVirtualNetworkPeeringOutput values.
+// You can construct a concrete instance of `CommonVirtualNetworkPeeringInput` via:
+//
+// CommonVirtualNetworkPeeringArgs{...}
+type CommonVirtualNetworkPeeringInput interface {
+ pulumi.Input
- return &tmp
+ ToCommonVirtualNetworkPeeringOutput() CommonVirtualNetworkPeeringOutput
+ ToCommonVirtualNetworkPeeringOutputWithContext(context.Context) CommonVirtualNetworkPeeringOutput
}
-// Tap configuration in a Network Interface.
-type CommonNetworkInterfaceTapConfigurationResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonNetworkInterfaceTapConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonNetworkInterfaceTapConfigurationResponse)(nil)).Elem()
+// Peerings in a virtual network resource.
+type CommonVirtualNetworkPeeringArgs struct {
+ // Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
+ AllowForwardedTraffic pulumi.BoolPtrInput `pulumi:"allowForwardedTraffic"`
+ // If gateway links can be used in remote virtual networking to link to this virtual network.
+ AllowGatewayTransit pulumi.BoolPtrInput `pulumi:"allowGatewayTransit"`
+ // Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
+ AllowVirtualNetworkAccess pulumi.BoolPtrInput `pulumi:"allowVirtualNetworkAccess"`
+ // If we need to verify the provisioning state of the remote gateway.
+ DoNotVerifyRemoteGateways pulumi.BoolPtrInput `pulumi:"doNotVerifyRemoteGateways"`
+ // Whether only Ipv6 address space is peered for subnet peering.
+ EnableOnlyIPv6Peering pulumi.BoolPtrInput `pulumi:"enableOnlyIPv6Peering"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The local address space of the local virtual network that is peered.
+ LocalAddressSpace CommonAddressSpacePtrInput `pulumi:"localAddressSpace"`
+ // List of local subnet names that are subnet peered with remote virtual network.
+ LocalSubnetNames pulumi.StringArrayInput `pulumi:"localSubnetNames"`
+ // The current local address space of the local virtual network that is peered.
+ LocalVirtualNetworkAddressSpace CommonAddressSpacePtrInput `pulumi:"localVirtualNetworkAddressSpace"`
+ // Name of the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Whether complete virtual network address space is peered.
+ PeerCompleteVnets pulumi.BoolPtrInput `pulumi:"peerCompleteVnets"`
+ // The status of the virtual network peering.
+ PeeringState pulumi.StringPtrInput `pulumi:"peeringState"`
+ // The peering sync status of the virtual network peering.
+ PeeringSyncLevel pulumi.StringPtrInput `pulumi:"peeringSyncLevel"`
+ // The reference to the address space peered with the remote virtual network.
+ RemoteAddressSpace CommonAddressSpacePtrInput `pulumi:"remoteAddressSpace"`
+ // The reference to the remote virtual network's Bgp Communities.
+ RemoteBgpCommunities CommonVirtualNetworkBgpCommunitiesPtrInput `pulumi:"remoteBgpCommunities"`
+ // List of remote subnet names from remote virtual network that are subnet peered.
+ RemoteSubnetNames pulumi.StringArrayInput `pulumi:"remoteSubnetNames"`
+ // The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
+ RemoteVirtualNetwork SubResourcePtrInput `pulumi:"remoteVirtualNetwork"`
+ // The reference to the current address space of the remote virtual network.
+ RemoteVirtualNetworkAddressSpace CommonAddressSpacePtrInput `pulumi:"remoteVirtualNetworkAddressSpace"`
+ // If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
+ UseRemoteGateways pulumi.BoolPtrInput `pulumi:"useRemoteGateways"`
}
-func (o CommonNetworkInterfaceTapConfigurationResponseOutput) ToCommonNetworkInterfaceTapConfigurationResponseOutput() CommonNetworkInterfaceTapConfigurationResponseOutput {
- return o
+func (CommonVirtualNetworkPeeringArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonVirtualNetworkPeering)(nil)).Elem()
}
-func (o CommonNetworkInterfaceTapConfigurationResponseOutput) ToCommonNetworkInterfaceTapConfigurationResponseOutputWithContext(ctx context.Context) CommonNetworkInterfaceTapConfigurationResponseOutput {
- return o
+func (i CommonVirtualNetworkPeeringArgs) ToCommonVirtualNetworkPeeringOutput() CommonVirtualNetworkPeeringOutput {
+ return i.ToCommonVirtualNetworkPeeringOutputWithContext(context.Background())
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonNetworkInterfaceTapConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceTapConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (i CommonVirtualNetworkPeeringArgs) ToCommonVirtualNetworkPeeringOutputWithContext(ctx context.Context) CommonVirtualNetworkPeeringOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkPeeringOutput)
}
-// Resource ID.
-func (o CommonNetworkInterfaceTapConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceTapConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
+// CommonVirtualNetworkPeeringArrayInput is an input type that accepts CommonVirtualNetworkPeeringArray and CommonVirtualNetworkPeeringArrayOutput values.
+// You can construct a concrete instance of `CommonVirtualNetworkPeeringArrayInput` via:
+//
+// CommonVirtualNetworkPeeringArray{ CommonVirtualNetworkPeeringArgs{...} }
+type CommonVirtualNetworkPeeringArrayInput interface {
+ pulumi.Input
-// Name of the resource.
-func (o CommonNetworkInterfaceTapConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceTapConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+ ToCommonVirtualNetworkPeeringArrayOutput() CommonVirtualNetworkPeeringArrayOutput
+ ToCommonVirtualNetworkPeeringArrayOutputWithContext(context.Context) CommonVirtualNetworkPeeringArrayOutput
}
-// The provisioning state of the network interface tap configuration resource.
-func (o CommonNetworkInterfaceTapConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceTapConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+type CommonVirtualNetworkPeeringArray []CommonVirtualNetworkPeeringInput
+
+func (CommonVirtualNetworkPeeringArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CommonVirtualNetworkPeering)(nil)).Elem()
}
-// Resource type.
-func (o CommonNetworkInterfaceTapConfigurationResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceTapConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
+func (i CommonVirtualNetworkPeeringArray) ToCommonVirtualNetworkPeeringArrayOutput() CommonVirtualNetworkPeeringArrayOutput {
+ return i.ToCommonVirtualNetworkPeeringArrayOutputWithContext(context.Background())
}
-// The reference to the Virtual Network Tap resource.
-func (o CommonNetworkInterfaceTapConfigurationResponseOutput) VirtualNetworkTap() CommonVirtualNetworkTapResponsePtrOutput {
- return o.ApplyT(func(v CommonNetworkInterfaceTapConfigurationResponse) *CommonVirtualNetworkTapResponse {
- return v.VirtualNetworkTap
- }).(CommonVirtualNetworkTapResponsePtrOutput)
+func (i CommonVirtualNetworkPeeringArray) ToCommonVirtualNetworkPeeringArrayOutputWithContext(ctx context.Context) CommonVirtualNetworkPeeringArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkPeeringArrayOutput)
}
-type CommonNetworkInterfaceTapConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+// Peerings in a virtual network resource.
+type CommonVirtualNetworkPeeringOutput struct{ *pulumi.OutputState }
-func (CommonNetworkInterfaceTapConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonNetworkInterfaceTapConfigurationResponse)(nil)).Elem()
+func (CommonVirtualNetworkPeeringOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CommonVirtualNetworkPeering)(nil)).Elem()
}
-func (o CommonNetworkInterfaceTapConfigurationResponseArrayOutput) ToCommonNetworkInterfaceTapConfigurationResponseArrayOutput() CommonNetworkInterfaceTapConfigurationResponseArrayOutput {
+func (o CommonVirtualNetworkPeeringOutput) ToCommonVirtualNetworkPeeringOutput() CommonVirtualNetworkPeeringOutput {
return o
}
-func (o CommonNetworkInterfaceTapConfigurationResponseArrayOutput) ToCommonNetworkInterfaceTapConfigurationResponseArrayOutputWithContext(ctx context.Context) CommonNetworkInterfaceTapConfigurationResponseArrayOutput {
+func (o CommonVirtualNetworkPeeringOutput) ToCommonVirtualNetworkPeeringOutputWithContext(ctx context.Context) CommonVirtualNetworkPeeringOutput {
return o
}
-func (o CommonNetworkInterfaceTapConfigurationResponseArrayOutput) Index(i pulumi.IntInput) CommonNetworkInterfaceTapConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonNetworkInterfaceTapConfigurationResponse {
- return vs[0].([]CommonNetworkInterfaceTapConfigurationResponse)[vs[1].(int)]
- }).(CommonNetworkInterfaceTapConfigurationResponseOutput)
+// Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
+func (o CommonVirtualNetworkPeeringOutput) AllowForwardedTraffic() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *bool { return v.AllowForwardedTraffic }).(pulumi.BoolPtrOutput)
}
-// NetworkSecurityGroup resource.
-type CommonNetworkSecurityGroup struct {
- // When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
- FlushConnection *bool `pulumi:"flushConnection"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // A collection of security rules of the network security group.
- SecurityRules []CommonSecurityRule `pulumi:"securityRules"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
+// If gateway links can be used in remote virtual networking to link to this virtual network.
+func (o CommonVirtualNetworkPeeringOutput) AllowGatewayTransit() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *bool { return v.AllowGatewayTransit }).(pulumi.BoolPtrOutput)
}
-// CommonNetworkSecurityGroupInput is an input type that accepts CommonNetworkSecurityGroupArgs and CommonNetworkSecurityGroupOutput values.
-// You can construct a concrete instance of `CommonNetworkSecurityGroupInput` via:
-//
-// CommonNetworkSecurityGroupArgs{...}
-type CommonNetworkSecurityGroupInput interface {
- pulumi.Input
+// Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
+func (o CommonVirtualNetworkPeeringOutput) AllowVirtualNetworkAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *bool { return v.AllowVirtualNetworkAccess }).(pulumi.BoolPtrOutput)
+}
- ToCommonNetworkSecurityGroupOutput() CommonNetworkSecurityGroupOutput
- ToCommonNetworkSecurityGroupOutputWithContext(context.Context) CommonNetworkSecurityGroupOutput
+// If we need to verify the provisioning state of the remote gateway.
+func (o CommonVirtualNetworkPeeringOutput) DoNotVerifyRemoteGateways() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *bool { return v.DoNotVerifyRemoteGateways }).(pulumi.BoolPtrOutput)
}
-// NetworkSecurityGroup resource.
-type CommonNetworkSecurityGroupArgs struct {
- // When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
- FlushConnection pulumi.BoolPtrInput `pulumi:"flushConnection"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Resource location.
- Location pulumi.StringPtrInput `pulumi:"location"`
- // A collection of security rules of the network security group.
- SecurityRules CommonSecurityRuleArrayInput `pulumi:"securityRules"`
- // Resource tags.
- Tags pulumi.StringMapInput `pulumi:"tags"`
+// Whether only Ipv6 address space is peered for subnet peering.
+func (o CommonVirtualNetworkPeeringOutput) EnableOnlyIPv6Peering() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *bool { return v.EnableOnlyIPv6Peering }).(pulumi.BoolPtrOutput)
}
-func (CommonNetworkSecurityGroupArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonNetworkSecurityGroup)(nil)).Elem()
+// Resource ID.
+func (o CommonVirtualNetworkPeeringOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (i CommonNetworkSecurityGroupArgs) ToCommonNetworkSecurityGroupOutput() CommonNetworkSecurityGroupOutput {
- return i.ToCommonNetworkSecurityGroupOutputWithContext(context.Background())
+// The local address space of the local virtual network that is peered.
+func (o CommonVirtualNetworkPeeringOutput) LocalAddressSpace() CommonAddressSpacePtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *CommonAddressSpace { return v.LocalAddressSpace }).(CommonAddressSpacePtrOutput)
}
-func (i CommonNetworkSecurityGroupArgs) ToCommonNetworkSecurityGroupOutputWithContext(ctx context.Context) CommonNetworkSecurityGroupOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonNetworkSecurityGroupOutput)
+// List of local subnet names that are subnet peered with remote virtual network.
+func (o CommonVirtualNetworkPeeringOutput) LocalSubnetNames() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) []string { return v.LocalSubnetNames }).(pulumi.StringArrayOutput)
}
-func (i CommonNetworkSecurityGroupArgs) ToCommonNetworkSecurityGroupPtrOutput() CommonNetworkSecurityGroupPtrOutput {
- return i.ToCommonNetworkSecurityGroupPtrOutputWithContext(context.Background())
+// The current local address space of the local virtual network that is peered.
+func (o CommonVirtualNetworkPeeringOutput) LocalVirtualNetworkAddressSpace() CommonAddressSpacePtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *CommonAddressSpace { return v.LocalVirtualNetworkAddressSpace }).(CommonAddressSpacePtrOutput)
}
-func (i CommonNetworkSecurityGroupArgs) ToCommonNetworkSecurityGroupPtrOutputWithContext(ctx context.Context) CommonNetworkSecurityGroupPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonNetworkSecurityGroupOutput).ToCommonNetworkSecurityGroupPtrOutputWithContext(ctx)
+// Name of the resource.
+func (o CommonVirtualNetworkPeeringOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// CommonNetworkSecurityGroupPtrInput is an input type that accepts CommonNetworkSecurityGroupArgs, CommonNetworkSecurityGroupPtr and CommonNetworkSecurityGroupPtrOutput values.
-// You can construct a concrete instance of `CommonNetworkSecurityGroupPtrInput` via:
-//
-// CommonNetworkSecurityGroupArgs{...}
-//
-// or:
-//
-// nil
-type CommonNetworkSecurityGroupPtrInput interface {
- pulumi.Input
-
- ToCommonNetworkSecurityGroupPtrOutput() CommonNetworkSecurityGroupPtrOutput
- ToCommonNetworkSecurityGroupPtrOutputWithContext(context.Context) CommonNetworkSecurityGroupPtrOutput
+// Whether complete virtual network address space is peered.
+func (o CommonVirtualNetworkPeeringOutput) PeerCompleteVnets() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *bool { return v.PeerCompleteVnets }).(pulumi.BoolPtrOutput)
}
-type commonNetworkSecurityGroupPtrType CommonNetworkSecurityGroupArgs
-
-func CommonNetworkSecurityGroupPtr(v *CommonNetworkSecurityGroupArgs) CommonNetworkSecurityGroupPtrInput {
- return (*commonNetworkSecurityGroupPtrType)(v)
+// The status of the virtual network peering.
+func (o CommonVirtualNetworkPeeringOutput) PeeringState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *string { return v.PeeringState }).(pulumi.StringPtrOutput)
}
-func (*commonNetworkSecurityGroupPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonNetworkSecurityGroup)(nil)).Elem()
+// The peering sync status of the virtual network peering.
+func (o CommonVirtualNetworkPeeringOutput) PeeringSyncLevel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *string { return v.PeeringSyncLevel }).(pulumi.StringPtrOutput)
}
-func (i *commonNetworkSecurityGroupPtrType) ToCommonNetworkSecurityGroupPtrOutput() CommonNetworkSecurityGroupPtrOutput {
- return i.ToCommonNetworkSecurityGroupPtrOutputWithContext(context.Background())
+// The reference to the address space peered with the remote virtual network.
+func (o CommonVirtualNetworkPeeringOutput) RemoteAddressSpace() CommonAddressSpacePtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *CommonAddressSpace { return v.RemoteAddressSpace }).(CommonAddressSpacePtrOutput)
}
-func (i *commonNetworkSecurityGroupPtrType) ToCommonNetworkSecurityGroupPtrOutputWithContext(ctx context.Context) CommonNetworkSecurityGroupPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonNetworkSecurityGroupPtrOutput)
+// The reference to the remote virtual network's Bgp Communities.
+func (o CommonVirtualNetworkPeeringOutput) RemoteBgpCommunities() CommonVirtualNetworkBgpCommunitiesPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *CommonVirtualNetworkBgpCommunities { return v.RemoteBgpCommunities }).(CommonVirtualNetworkBgpCommunitiesPtrOutput)
}
-// NetworkSecurityGroup resource.
-type CommonNetworkSecurityGroupOutput struct{ *pulumi.OutputState }
-
-func (CommonNetworkSecurityGroupOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonNetworkSecurityGroup)(nil)).Elem()
+// List of remote subnet names from remote virtual network that are subnet peered.
+func (o CommonVirtualNetworkPeeringOutput) RemoteSubnetNames() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) []string { return v.RemoteSubnetNames }).(pulumi.StringArrayOutput)
}
-func (o CommonNetworkSecurityGroupOutput) ToCommonNetworkSecurityGroupOutput() CommonNetworkSecurityGroupOutput {
- return o
+// The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
+func (o CommonVirtualNetworkPeeringOutput) RemoteVirtualNetwork() SubResourcePtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *SubResource { return v.RemoteVirtualNetwork }).(SubResourcePtrOutput)
}
-func (o CommonNetworkSecurityGroupOutput) ToCommonNetworkSecurityGroupOutputWithContext(ctx context.Context) CommonNetworkSecurityGroupOutput {
- return o
+// The reference to the current address space of the remote virtual network.
+func (o CommonVirtualNetworkPeeringOutput) RemoteVirtualNetworkAddressSpace() CommonAddressSpacePtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *CommonAddressSpace { return v.RemoteVirtualNetworkAddressSpace }).(CommonAddressSpacePtrOutput)
}
-func (o CommonNetworkSecurityGroupOutput) ToCommonNetworkSecurityGroupPtrOutput() CommonNetworkSecurityGroupPtrOutput {
- return o.ToCommonNetworkSecurityGroupPtrOutputWithContext(context.Background())
+// If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
+func (o CommonVirtualNetworkPeeringOutput) UseRemoteGateways() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v CommonVirtualNetworkPeering) *bool { return v.UseRemoteGateways }).(pulumi.BoolPtrOutput)
}
-func (o CommonNetworkSecurityGroupOutput) ToCommonNetworkSecurityGroupPtrOutputWithContext(ctx context.Context) CommonNetworkSecurityGroupPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v CommonNetworkSecurityGroup) *CommonNetworkSecurityGroup {
- return &v
- }).(CommonNetworkSecurityGroupPtrOutput)
-}
+type CommonVirtualNetworkPeeringArrayOutput struct{ *pulumi.OutputState }
-// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
-func (o CommonNetworkSecurityGroupOutput) FlushConnection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroup) *bool { return v.FlushConnection }).(pulumi.BoolPtrOutput)
+func (CommonVirtualNetworkPeeringArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CommonVirtualNetworkPeering)(nil)).Elem()
}
-// Resource ID.
-func (o CommonNetworkSecurityGroupOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroup) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o CommonVirtualNetworkPeeringArrayOutput) ToCommonVirtualNetworkPeeringArrayOutput() CommonVirtualNetworkPeeringArrayOutput {
+ return o
}
-// Resource location.
-func (o CommonNetworkSecurityGroupOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroup) *string { return v.Location }).(pulumi.StringPtrOutput)
+func (o CommonVirtualNetworkPeeringArrayOutput) ToCommonVirtualNetworkPeeringArrayOutputWithContext(ctx context.Context) CommonVirtualNetworkPeeringArrayOutput {
+ return o
}
-// A collection of security rules of the network security group.
-func (o CommonNetworkSecurityGroupOutput) SecurityRules() CommonSecurityRuleArrayOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroup) []CommonSecurityRule { return v.SecurityRules }).(CommonSecurityRuleArrayOutput)
+func (o CommonVirtualNetworkPeeringArrayOutput) Index(i pulumi.IntInput) CommonVirtualNetworkPeeringOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonVirtualNetworkPeering {
+ return vs[0].([]CommonVirtualNetworkPeering)[vs[1].(int)]
+ }).(CommonVirtualNetworkPeeringOutput)
}
-// Resource tags.
-func (o CommonNetworkSecurityGroupOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroup) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// The network configuration group resource
+type ConfigurationGroupResponse struct {
+ // Network group conditional filter.
+ ConditionalMembership *string `pulumi:"conditionalMembership"`
+ // A description of the network group.
+ Description *string `pulumi:"description"`
+ // A friendly name for the network group.
+ DisplayName *string `pulumi:"displayName"`
+ // Group members of network group.
+ GroupMembers []GroupMembersItemResponse `pulumi:"groupMembers"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Group member type.
+ MemberType *string `pulumi:"memberType"`
+ // The provisioning state of the scope assignment resource.
+ ProvisioningState string `pulumi:"provisioningState"`
}
-type CommonNetworkSecurityGroupPtrOutput struct{ *pulumi.OutputState }
+// The network configuration group resource
+type ConfigurationGroupResponseOutput struct{ *pulumi.OutputState }
-func (CommonNetworkSecurityGroupPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonNetworkSecurityGroup)(nil)).Elem()
+func (ConfigurationGroupResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConfigurationGroupResponse)(nil)).Elem()
}
-func (o CommonNetworkSecurityGroupPtrOutput) ToCommonNetworkSecurityGroupPtrOutput() CommonNetworkSecurityGroupPtrOutput {
+func (o ConfigurationGroupResponseOutput) ToConfigurationGroupResponseOutput() ConfigurationGroupResponseOutput {
return o
}
-func (o CommonNetworkSecurityGroupPtrOutput) ToCommonNetworkSecurityGroupPtrOutputWithContext(ctx context.Context) CommonNetworkSecurityGroupPtrOutput {
+func (o ConfigurationGroupResponseOutput) ToConfigurationGroupResponseOutputWithContext(ctx context.Context) ConfigurationGroupResponseOutput {
return o
}
-func (o CommonNetworkSecurityGroupPtrOutput) Elem() CommonNetworkSecurityGroupOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroup) CommonNetworkSecurityGroup {
- if v != nil {
- return *v
- }
- var ret CommonNetworkSecurityGroup
- return ret
- }).(CommonNetworkSecurityGroupOutput)
+// Network group conditional filter.
+func (o ConfigurationGroupResponseOutput) ConditionalMembership() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGroupResponse) *string { return v.ConditionalMembership }).(pulumi.StringPtrOutput)
}
-// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
-func (o CommonNetworkSecurityGroupPtrOutput) FlushConnection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroup) *bool {
- if v == nil {
- return nil
- }
- return v.FlushConnection
- }).(pulumi.BoolPtrOutput)
+// A description of the network group.
+func (o ConfigurationGroupResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGroupResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// Resource ID.
-func (o CommonNetworkSecurityGroupPtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroup) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+// A friendly name for the network group.
+func (o ConfigurationGroupResponseOutput) DisplayName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGroupResponse) *string { return v.DisplayName }).(pulumi.StringPtrOutput)
}
-// Resource location.
-func (o CommonNetworkSecurityGroupPtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroup) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
+// Group members of network group.
+func (o ConfigurationGroupResponseOutput) GroupMembers() GroupMembersItemResponseArrayOutput {
+ return o.ApplyT(func(v ConfigurationGroupResponse) []GroupMembersItemResponse { return v.GroupMembers }).(GroupMembersItemResponseArrayOutput)
}
-// A collection of security rules of the network security group.
-func (o CommonNetworkSecurityGroupPtrOutput) SecurityRules() CommonSecurityRuleArrayOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroup) []CommonSecurityRule {
- if v == nil {
- return nil
- }
- return v.SecurityRules
- }).(CommonSecurityRuleArrayOutput)
+// Resource ID.
+func (o ConfigurationGroupResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGroupResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Resource tags.
-func (o CommonNetworkSecurityGroupPtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroup) map[string]string {
- if v == nil {
- return nil
- }
- return v.Tags
- }).(pulumi.StringMapOutput)
+// Group member type.
+func (o ConfigurationGroupResponseOutput) MemberType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGroupResponse) *string { return v.MemberType }).(pulumi.StringPtrOutput)
}
-// NetworkSecurityGroup resource.
-type CommonNetworkSecurityGroupResponse struct {
- // The default security rules of network security group.
- DefaultSecurityRules []CommonSecurityRuleResponse `pulumi:"defaultSecurityRules"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // A collection of references to flow log resources.
- FlowLogs []CommonFlowLogResponse `pulumi:"flowLogs"`
- // When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
- FlushConnection *bool `pulumi:"flushConnection"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // A collection of references to network interfaces.
- NetworkInterfaces []CommonNetworkInterfaceResponse `pulumi:"networkInterfaces"`
- // The provisioning state of the network security group resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The resource GUID property of the network security group resource.
- ResourceGuid string `pulumi:"resourceGuid"`
- // A collection of security rules of the network security group.
- SecurityRules []CommonSecurityRuleResponse `pulumi:"securityRules"`
- // A collection of references to subnets.
- Subnets []CommonSubnetResponse `pulumi:"subnets"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
+// The provisioning state of the scope assignment resource.
+func (o ConfigurationGroupResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ConfigurationGroupResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// NetworkSecurityGroup resource.
-type CommonNetworkSecurityGroupResponseOutput struct{ *pulumi.OutputState }
+type ConfigurationGroupResponseArrayOutput struct{ *pulumi.OutputState }
-func (CommonNetworkSecurityGroupResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonNetworkSecurityGroupResponse)(nil)).Elem()
+func (ConfigurationGroupResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConfigurationGroupResponse)(nil)).Elem()
}
-func (o CommonNetworkSecurityGroupResponseOutput) ToCommonNetworkSecurityGroupResponseOutput() CommonNetworkSecurityGroupResponseOutput {
+func (o ConfigurationGroupResponseArrayOutput) ToConfigurationGroupResponseArrayOutput() ConfigurationGroupResponseArrayOutput {
return o
}
-func (o CommonNetworkSecurityGroupResponseOutput) ToCommonNetworkSecurityGroupResponseOutputWithContext(ctx context.Context) CommonNetworkSecurityGroupResponseOutput {
+func (o ConfigurationGroupResponseArrayOutput) ToConfigurationGroupResponseArrayOutputWithContext(ctx context.Context) ConfigurationGroupResponseArrayOutput {
return o
}
-// The default security rules of network security group.
-func (o CommonNetworkSecurityGroupResponseOutput) DefaultSecurityRules() CommonSecurityRuleResponseArrayOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroupResponse) []CommonSecurityRuleResponse { return v.DefaultSecurityRules }).(CommonSecurityRuleResponseArrayOutput)
+func (o ConfigurationGroupResponseArrayOutput) Index(i pulumi.IntInput) ConfigurationGroupResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationGroupResponse {
+ return vs[0].([]ConfigurationGroupResponse)[vs[1].(int)]
+ }).(ConfigurationGroupResponseOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonNetworkSecurityGroupResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroupResponse) string { return v.Etag }).(pulumi.StringOutput)
+// The network configuration group resource
+type ConfigurationGrouplistActiveConnectivityConfigurationsResponse struct {
+ // A description of the network group.
+ Description *string `pulumi:"description"`
+ // Network group ID.
+ Id *string `pulumi:"id"`
+ // The type of the group member.
+ MemberType *string `pulumi:"memberType"`
+ // The provisioning state of the scope assignment resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Unique identifier for this resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
}
-// A collection of references to flow log resources.
-func (o CommonNetworkSecurityGroupResponseOutput) FlowLogs() CommonFlowLogResponseArrayOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroupResponse) []CommonFlowLogResponse { return v.FlowLogs }).(CommonFlowLogResponseArrayOutput)
+// The network configuration group resource
+type ConfigurationGrouplistActiveConnectivityConfigurationsResponseOutput struct{ *pulumi.OutputState }
+
+func (ConfigurationGrouplistActiveConnectivityConfigurationsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConfigurationGrouplistActiveConnectivityConfigurationsResponse)(nil)).Elem()
}
-// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
-func (o CommonNetworkSecurityGroupResponseOutput) FlushConnection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroupResponse) *bool { return v.FlushConnection }).(pulumi.BoolPtrOutput)
+func (o ConfigurationGrouplistActiveConnectivityConfigurationsResponseOutput) ToConfigurationGrouplistActiveConnectivityConfigurationsResponseOutput() ConfigurationGrouplistActiveConnectivityConfigurationsResponseOutput {
+ return o
}
-// Resource ID.
-func (o CommonNetworkSecurityGroupResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroupResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o ConfigurationGrouplistActiveConnectivityConfigurationsResponseOutput) ToConfigurationGrouplistActiveConnectivityConfigurationsResponseOutputWithContext(ctx context.Context) ConfigurationGrouplistActiveConnectivityConfigurationsResponseOutput {
+ return o
}
-// Resource location.
-func (o CommonNetworkSecurityGroupResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroupResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+// A description of the network group.
+func (o ConfigurationGrouplistActiveConnectivityConfigurationsResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistActiveConnectivityConfigurationsResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// Resource name.
-func (o CommonNetworkSecurityGroupResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroupResponse) string { return v.Name }).(pulumi.StringOutput)
+// Network group ID.
+func (o ConfigurationGrouplistActiveConnectivityConfigurationsResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistActiveConnectivityConfigurationsResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// A collection of references to network interfaces.
-func (o CommonNetworkSecurityGroupResponseOutput) NetworkInterfaces() CommonNetworkInterfaceResponseArrayOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroupResponse) []CommonNetworkInterfaceResponse {
- return v.NetworkInterfaces
- }).(CommonNetworkInterfaceResponseArrayOutput)
+// The type of the group member.
+func (o ConfigurationGrouplistActiveConnectivityConfigurationsResponseOutput) MemberType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistActiveConnectivityConfigurationsResponse) *string { return v.MemberType }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the network security group resource.
-func (o CommonNetworkSecurityGroupResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroupResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The provisioning state of the scope assignment resource.
+func (o ConfigurationGrouplistActiveConnectivityConfigurationsResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistActiveConnectivityConfigurationsResponse) string {
+ return v.ProvisioningState
+ }).(pulumi.StringOutput)
}
-// The resource GUID property of the network security group resource.
-func (o CommonNetworkSecurityGroupResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroupResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// Unique identifier for this resource.
+func (o ConfigurationGrouplistActiveConnectivityConfigurationsResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistActiveConnectivityConfigurationsResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// A collection of security rules of the network security group.
-func (o CommonNetworkSecurityGroupResponseOutput) SecurityRules() CommonSecurityRuleResponseArrayOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroupResponse) []CommonSecurityRuleResponse { return v.SecurityRules }).(CommonSecurityRuleResponseArrayOutput)
+type ConfigurationGrouplistActiveConnectivityConfigurationsResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ConfigurationGrouplistActiveConnectivityConfigurationsResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConfigurationGrouplistActiveConnectivityConfigurationsResponse)(nil)).Elem()
}
-// A collection of references to subnets.
-func (o CommonNetworkSecurityGroupResponseOutput) Subnets() CommonSubnetResponseArrayOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroupResponse) []CommonSubnetResponse { return v.Subnets }).(CommonSubnetResponseArrayOutput)
+func (o ConfigurationGrouplistActiveConnectivityConfigurationsResponseArrayOutput) ToConfigurationGrouplistActiveConnectivityConfigurationsResponseArrayOutput() ConfigurationGrouplistActiveConnectivityConfigurationsResponseArrayOutput {
+ return o
}
-// Resource tags.
-func (o CommonNetworkSecurityGroupResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroupResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+func (o ConfigurationGrouplistActiveConnectivityConfigurationsResponseArrayOutput) ToConfigurationGrouplistActiveConnectivityConfigurationsResponseArrayOutputWithContext(ctx context.Context) ConfigurationGrouplistActiveConnectivityConfigurationsResponseArrayOutput {
+ return o
}
-// Resource type.
-func (o CommonNetworkSecurityGroupResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonNetworkSecurityGroupResponse) string { return v.Type }).(pulumi.StringOutput)
+func (o ConfigurationGrouplistActiveConnectivityConfigurationsResponseArrayOutput) Index(i pulumi.IntInput) ConfigurationGrouplistActiveConnectivityConfigurationsResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationGrouplistActiveConnectivityConfigurationsResponse {
+ return vs[0].([]ConfigurationGrouplistActiveConnectivityConfigurationsResponse)[vs[1].(int)]
+ }).(ConfigurationGrouplistActiveConnectivityConfigurationsResponseOutput)
+}
+
+// The network configuration group resource
+type ConfigurationGrouplistActiveSecurityAdminRulesResponse struct {
+ // A description of the network group.
+ Description *string `pulumi:"description"`
+ // Network group ID.
+ Id *string `pulumi:"id"`
+ // The type of the group member.
+ MemberType *string `pulumi:"memberType"`
+ // The provisioning state of the scope assignment resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Unique identifier for this resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
}
-type CommonNetworkSecurityGroupResponsePtrOutput struct{ *pulumi.OutputState }
+// The network configuration group resource
+type ConfigurationGrouplistActiveSecurityAdminRulesResponseOutput struct{ *pulumi.OutputState }
-func (CommonNetworkSecurityGroupResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonNetworkSecurityGroupResponse)(nil)).Elem()
+func (ConfigurationGrouplistActiveSecurityAdminRulesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConfigurationGrouplistActiveSecurityAdminRulesResponse)(nil)).Elem()
}
-func (o CommonNetworkSecurityGroupResponsePtrOutput) ToCommonNetworkSecurityGroupResponsePtrOutput() CommonNetworkSecurityGroupResponsePtrOutput {
+func (o ConfigurationGrouplistActiveSecurityAdminRulesResponseOutput) ToConfigurationGrouplistActiveSecurityAdminRulesResponseOutput() ConfigurationGrouplistActiveSecurityAdminRulesResponseOutput {
return o
}
-func (o CommonNetworkSecurityGroupResponsePtrOutput) ToCommonNetworkSecurityGroupResponsePtrOutputWithContext(ctx context.Context) CommonNetworkSecurityGroupResponsePtrOutput {
+func (o ConfigurationGrouplistActiveSecurityAdminRulesResponseOutput) ToConfigurationGrouplistActiveSecurityAdminRulesResponseOutputWithContext(ctx context.Context) ConfigurationGrouplistActiveSecurityAdminRulesResponseOutput {
return o
}
-func (o CommonNetworkSecurityGroupResponsePtrOutput) Elem() CommonNetworkSecurityGroupResponseOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroupResponse) CommonNetworkSecurityGroupResponse {
- if v != nil {
- return *v
- }
- var ret CommonNetworkSecurityGroupResponse
- return ret
- }).(CommonNetworkSecurityGroupResponseOutput)
+// A description of the network group.
+func (o ConfigurationGrouplistActiveSecurityAdminRulesResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistActiveSecurityAdminRulesResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// The default security rules of network security group.
-func (o CommonNetworkSecurityGroupResponsePtrOutput) DefaultSecurityRules() CommonSecurityRuleResponseArrayOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroupResponse) []CommonSecurityRuleResponse {
- if v == nil {
- return nil
- }
- return v.DefaultSecurityRules
- }).(CommonSecurityRuleResponseArrayOutput)
+// Network group ID.
+func (o ConfigurationGrouplistActiveSecurityAdminRulesResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistActiveSecurityAdminRulesResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonNetworkSecurityGroupResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroupResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Etag
- }).(pulumi.StringPtrOutput)
+// The type of the group member.
+func (o ConfigurationGrouplistActiveSecurityAdminRulesResponseOutput) MemberType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistActiveSecurityAdminRulesResponse) *string { return v.MemberType }).(pulumi.StringPtrOutput)
}
-// A collection of references to flow log resources.
-func (o CommonNetworkSecurityGroupResponsePtrOutput) FlowLogs() CommonFlowLogResponseArrayOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroupResponse) []CommonFlowLogResponse {
- if v == nil {
- return nil
- }
- return v.FlowLogs
- }).(CommonFlowLogResponseArrayOutput)
+// The provisioning state of the scope assignment resource.
+func (o ConfigurationGrouplistActiveSecurityAdminRulesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistActiveSecurityAdminRulesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
-func (o CommonNetworkSecurityGroupResponsePtrOutput) FlushConnection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroupResponse) *bool {
- if v == nil {
- return nil
- }
- return v.FlushConnection
- }).(pulumi.BoolPtrOutput)
+// Unique identifier for this resource.
+func (o ConfigurationGrouplistActiveSecurityAdminRulesResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistActiveSecurityAdminRulesResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// Resource ID.
-func (o CommonNetworkSecurityGroupResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroupResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
-}
+type ConfigurationGrouplistActiveSecurityAdminRulesResponseArrayOutput struct{ *pulumi.OutputState }
-// Resource location.
-func (o CommonNetworkSecurityGroupResponsePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroupResponse) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
+func (ConfigurationGrouplistActiveSecurityAdminRulesResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConfigurationGrouplistActiveSecurityAdminRulesResponse)(nil)).Elem()
}
-// Resource name.
-func (o CommonNetworkSecurityGroupResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroupResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Name
- }).(pulumi.StringPtrOutput)
+func (o ConfigurationGrouplistActiveSecurityAdminRulesResponseArrayOutput) ToConfigurationGrouplistActiveSecurityAdminRulesResponseArrayOutput() ConfigurationGrouplistActiveSecurityAdminRulesResponseArrayOutput {
+ return o
}
-// A collection of references to network interfaces.
-func (o CommonNetworkSecurityGroupResponsePtrOutput) NetworkInterfaces() CommonNetworkInterfaceResponseArrayOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroupResponse) []CommonNetworkInterfaceResponse {
- if v == nil {
- return nil
- }
- return v.NetworkInterfaces
- }).(CommonNetworkInterfaceResponseArrayOutput)
+func (o ConfigurationGrouplistActiveSecurityAdminRulesResponseArrayOutput) ToConfigurationGrouplistActiveSecurityAdminRulesResponseArrayOutputWithContext(ctx context.Context) ConfigurationGrouplistActiveSecurityAdminRulesResponseArrayOutput {
+ return o
}
-// The provisioning state of the network security group resource.
-func (o CommonNetworkSecurityGroupResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroupResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+func (o ConfigurationGrouplistActiveSecurityAdminRulesResponseArrayOutput) Index(i pulumi.IntInput) ConfigurationGrouplistActiveSecurityAdminRulesResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationGrouplistActiveSecurityAdminRulesResponse {
+ return vs[0].([]ConfigurationGrouplistActiveSecurityAdminRulesResponse)[vs[1].(int)]
+ }).(ConfigurationGrouplistActiveSecurityAdminRulesResponseOutput)
}
-// The resource GUID property of the network security group resource.
-func (o CommonNetworkSecurityGroupResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroupResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ResourceGuid
- }).(pulumi.StringPtrOutput)
+// The network configuration group resource
+type ConfigurationGrouplistActiveSecurityUserRulesResponse struct {
+ // A description of the network group.
+ Description *string `pulumi:"description"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Group member type.
+ MemberType string `pulumi:"memberType"`
+ // The provisioning state of the scope assignment resource.
+ ProvisioningState string `pulumi:"provisioningState"`
}
-// A collection of security rules of the network security group.
-func (o CommonNetworkSecurityGroupResponsePtrOutput) SecurityRules() CommonSecurityRuleResponseArrayOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroupResponse) []CommonSecurityRuleResponse {
- if v == nil {
- return nil
- }
- return v.SecurityRules
- }).(CommonSecurityRuleResponseArrayOutput)
+// The network configuration group resource
+type ConfigurationGrouplistActiveSecurityUserRulesResponseOutput struct{ *pulumi.OutputState }
+
+func (ConfigurationGrouplistActiveSecurityUserRulesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConfigurationGrouplistActiveSecurityUserRulesResponse)(nil)).Elem()
}
-// A collection of references to subnets.
-func (o CommonNetworkSecurityGroupResponsePtrOutput) Subnets() CommonSubnetResponseArrayOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroupResponse) []CommonSubnetResponse {
- if v == nil {
- return nil
- }
- return v.Subnets
- }).(CommonSubnetResponseArrayOutput)
+func (o ConfigurationGrouplistActiveSecurityUserRulesResponseOutput) ToConfigurationGrouplistActiveSecurityUserRulesResponseOutput() ConfigurationGrouplistActiveSecurityUserRulesResponseOutput {
+ return o
}
-// Resource tags.
-func (o CommonNetworkSecurityGroupResponsePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroupResponse) map[string]string {
- if v == nil {
- return nil
- }
- return v.Tags
- }).(pulumi.StringMapOutput)
+func (o ConfigurationGrouplistActiveSecurityUserRulesResponseOutput) ToConfigurationGrouplistActiveSecurityUserRulesResponseOutputWithContext(ctx context.Context) ConfigurationGrouplistActiveSecurityUserRulesResponseOutput {
+ return o
}
-// Resource type.
-func (o CommonNetworkSecurityGroupResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonNetworkSecurityGroupResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Type
- }).(pulumi.StringPtrOutput)
+// A description of the network group.
+func (o ConfigurationGrouplistActiveSecurityUserRulesResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistActiveSecurityUserRulesResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// PrivateEndpointConnection resource.
-type CommonPrivateEndpointConnectionResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The consumer link id.
- LinkIdentifier string `pulumi:"linkIdentifier"`
- // Name of the resource.
- Name *string `pulumi:"name"`
- // The resource of private end point.
- PrivateEndpoint CommonPrivateEndpointResponse `pulumi:"privateEndpoint"`
- // The location of the private endpoint.
- PrivateEndpointLocation string `pulumi:"privateEndpointLocation"`
- // A collection of information about the state of the connection between service consumer and provider.
- PrivateLinkServiceConnectionState *CommonPrivateLinkServiceConnectionStateResponse `pulumi:"privateLinkServiceConnectionState"`
- // The provisioning state of the private endpoint connection resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Resource type.
- Type string `pulumi:"type"`
+// Resource ID.
+func (o ConfigurationGrouplistActiveSecurityUserRulesResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistActiveSecurityUserRulesResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Defaults sets the appropriate defaults for CommonPrivateEndpointConnectionResponse
-func (val *CommonPrivateEndpointConnectionResponse) Defaults() *CommonPrivateEndpointConnectionResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.PrivateEndpoint = *tmp.PrivateEndpoint.Defaults()
+// Group member type.
+func (o ConfigurationGrouplistActiveSecurityUserRulesResponseOutput) MemberType() pulumi.StringOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistActiveSecurityUserRulesResponse) string { return v.MemberType }).(pulumi.StringOutput)
+}
- return &tmp
+// The provisioning state of the scope assignment resource.
+func (o ConfigurationGrouplistActiveSecurityUserRulesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistActiveSecurityUserRulesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// PrivateEndpointConnection resource.
-type CommonPrivateEndpointConnectionResponseOutput struct{ *pulumi.OutputState }
+type ConfigurationGrouplistActiveSecurityUserRulesResponseArrayOutput struct{ *pulumi.OutputState }
-func (CommonPrivateEndpointConnectionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonPrivateEndpointConnectionResponse)(nil)).Elem()
+func (ConfigurationGrouplistActiveSecurityUserRulesResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConfigurationGrouplistActiveSecurityUserRulesResponse)(nil)).Elem()
}
-func (o CommonPrivateEndpointConnectionResponseOutput) ToCommonPrivateEndpointConnectionResponseOutput() CommonPrivateEndpointConnectionResponseOutput {
+func (o ConfigurationGrouplistActiveSecurityUserRulesResponseArrayOutput) ToConfigurationGrouplistActiveSecurityUserRulesResponseArrayOutput() ConfigurationGrouplistActiveSecurityUserRulesResponseArrayOutput {
return o
}
-func (o CommonPrivateEndpointConnectionResponseOutput) ToCommonPrivateEndpointConnectionResponseOutputWithContext(ctx context.Context) CommonPrivateEndpointConnectionResponseOutput {
+func (o ConfigurationGrouplistActiveSecurityUserRulesResponseArrayOutput) ToConfigurationGrouplistActiveSecurityUserRulesResponseArrayOutputWithContext(ctx context.Context) ConfigurationGrouplistActiveSecurityUserRulesResponseArrayOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonPrivateEndpointConnectionResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateEndpointConnectionResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o ConfigurationGrouplistActiveSecurityUserRulesResponseArrayOutput) Index(i pulumi.IntInput) ConfigurationGrouplistActiveSecurityUserRulesResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationGrouplistActiveSecurityUserRulesResponse {
+ return vs[0].([]ConfigurationGrouplistActiveSecurityUserRulesResponse)[vs[1].(int)]
+ }).(ConfigurationGrouplistActiveSecurityUserRulesResponseOutput)
}
-// Resource ID.
-func (o CommonPrivateEndpointConnectionResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateEndpointConnectionResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The network configuration group resource
+type ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponse struct {
+ // A description of the network group.
+ Description *string `pulumi:"description"`
+ // Network group ID.
+ Id *string `pulumi:"id"`
+ // The type of the group member.
+ MemberType *string `pulumi:"memberType"`
+ // The provisioning state of the scope assignment resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Unique identifier for this resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
}
-// The consumer link id.
-func (o CommonPrivateEndpointConnectionResponseOutput) LinkIdentifier() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateEndpointConnectionResponse) string { return v.LinkIdentifier }).(pulumi.StringOutput)
+// The network configuration group resource
+type ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput struct{ *pulumi.OutputState }
+
+func (ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponse)(nil)).Elem()
}
-// Name of the resource.
-func (o CommonPrivateEndpointConnectionResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateEndpointConnectionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) ToConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput() ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput {
+ return o
}
-// The resource of private end point.
-func (o CommonPrivateEndpointConnectionResponseOutput) PrivateEndpoint() CommonPrivateEndpointResponseOutput {
- return o.ApplyT(func(v CommonPrivateEndpointConnectionResponse) CommonPrivateEndpointResponse {
- return v.PrivateEndpoint
- }).(CommonPrivateEndpointResponseOutput)
+func (o ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) ToConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseOutputWithContext(ctx context.Context) ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput {
+ return o
}
-// The location of the private endpoint.
-func (o CommonPrivateEndpointConnectionResponseOutput) PrivateEndpointLocation() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateEndpointConnectionResponse) string { return v.PrivateEndpointLocation }).(pulumi.StringOutput)
+// A description of the network group.
+func (o ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponse) *string {
+ return v.Description
+ }).(pulumi.StringPtrOutput)
}
-// A collection of information about the state of the connection between service consumer and provider.
-func (o CommonPrivateEndpointConnectionResponseOutput) PrivateLinkServiceConnectionState() CommonPrivateLinkServiceConnectionStateResponsePtrOutput {
- return o.ApplyT(func(v CommonPrivateEndpointConnectionResponse) *CommonPrivateLinkServiceConnectionStateResponse {
- return v.PrivateLinkServiceConnectionState
- }).(CommonPrivateLinkServiceConnectionStateResponsePtrOutput)
+// Network group ID.
+func (o ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponse) *string {
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the private endpoint connection resource.
-func (o CommonPrivateEndpointConnectionResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateEndpointConnectionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The type of the group member.
+func (o ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) MemberType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponse) *string {
+ return v.MemberType
+ }).(pulumi.StringPtrOutput)
}
-// Resource type.
-func (o CommonPrivateEndpointConnectionResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateEndpointConnectionResponse) string { return v.Type }).(pulumi.StringOutput)
+// The provisioning state of the scope assignment resource.
+func (o ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponse) string {
+ return v.ProvisioningState
+ }).(pulumi.StringOutput)
+}
+
+// Unique identifier for this resource.
+func (o ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponse) string {
+ return v.ResourceGuid
+ }).(pulumi.StringOutput)
}
-type CommonPrivateEndpointConnectionResponseArrayOutput struct{ *pulumi.OutputState }
+type ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput struct{ *pulumi.OutputState }
-func (CommonPrivateEndpointConnectionResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonPrivateEndpointConnectionResponse)(nil)).Elem()
+func (ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponse)(nil)).Elem()
}
-func (o CommonPrivateEndpointConnectionResponseArrayOutput) ToCommonPrivateEndpointConnectionResponseArrayOutput() CommonPrivateEndpointConnectionResponseArrayOutput {
+func (o ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput) ToConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput() ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput {
return o
}
-func (o CommonPrivateEndpointConnectionResponseArrayOutput) ToCommonPrivateEndpointConnectionResponseArrayOutputWithContext(ctx context.Context) CommonPrivateEndpointConnectionResponseArrayOutput {
+func (o ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput) ToConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutputWithContext(ctx context.Context) ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput {
return o
}
-func (o CommonPrivateEndpointConnectionResponseArrayOutput) Index(i pulumi.IntInput) CommonPrivateEndpointConnectionResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonPrivateEndpointConnectionResponse {
- return vs[0].([]CommonPrivateEndpointConnectionResponse)[vs[1].(int)]
- }).(CommonPrivateEndpointConnectionResponseOutput)
+func (o ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput) Index(i pulumi.IntInput) ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponse {
+ return vs[0].([]ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponse)[vs[1].(int)]
+ }).(ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput)
}
-// An IP Configuration of the private endpoint.
-type CommonPrivateEndpointIPConfigurationResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The ID of a group obtained from the remote resource that this private endpoint should connect to.
- GroupId *string `pulumi:"groupId"`
- // The member name of a group obtained from the remote resource that this private endpoint should connect to.
- MemberName *string `pulumi:"memberName"`
- // The name of the resource that is unique within a resource group.
- Name *string `pulumi:"name"`
- // A private ip address obtained from the private endpoint's subnet.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // The resource type.
- Type string `pulumi:"type"`
+// The network configuration group resource
+type ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponse struct {
+ // A description of the network group.
+ Description *string `pulumi:"description"`
+ // Network group ID.
+ Id *string `pulumi:"id"`
+ // The type of the group member.
+ MemberType *string `pulumi:"memberType"`
+ // The provisioning state of the scope assignment resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Unique identifier for this resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
}
-// An IP Configuration of the private endpoint.
-type CommonPrivateEndpointIPConfigurationResponseOutput struct{ *pulumi.OutputState }
+// The network configuration group resource
+type ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseOutput struct{ *pulumi.OutputState }
-func (CommonPrivateEndpointIPConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonPrivateEndpointIPConfigurationResponse)(nil)).Elem()
+func (ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponse)(nil)).Elem()
}
-func (o CommonPrivateEndpointIPConfigurationResponseOutput) ToCommonPrivateEndpointIPConfigurationResponseOutput() CommonPrivateEndpointIPConfigurationResponseOutput {
+func (o ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ToConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseOutput() ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseOutput {
return o
}
-func (o CommonPrivateEndpointIPConfigurationResponseOutput) ToCommonPrivateEndpointIPConfigurationResponseOutputWithContext(ctx context.Context) CommonPrivateEndpointIPConfigurationResponseOutput {
+func (o ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ToConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseOutputWithContext(ctx context.Context) ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonPrivateEndpointIPConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateEndpointIPConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
-
-// The ID of a group obtained from the remote resource that this private endpoint should connect to.
-func (o CommonPrivateEndpointIPConfigurationResponseOutput) GroupId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateEndpointIPConfigurationResponse) *string { return v.GroupId }).(pulumi.StringPtrOutput)
+// A description of the network group.
+func (o ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponse) *string {
+ return v.Description
+ }).(pulumi.StringPtrOutput)
}
-// The member name of a group obtained from the remote resource that this private endpoint should connect to.
-func (o CommonPrivateEndpointIPConfigurationResponseOutput) MemberName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateEndpointIPConfigurationResponse) *string { return v.MemberName }).(pulumi.StringPtrOutput)
+// Network group ID.
+func (o ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within a resource group.
-func (o CommonPrivateEndpointIPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateEndpointIPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The type of the group member.
+func (o ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) MemberType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponse) *string {
+ return v.MemberType
+ }).(pulumi.StringPtrOutput)
}
-// A private ip address obtained from the private endpoint's subnet.
-func (o CommonPrivateEndpointIPConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateEndpointIPConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+// The provisioning state of the scope assignment resource.
+func (o ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponse) string {
+ return v.ProvisioningState
+ }).(pulumi.StringOutput)
}
-// The resource type.
-func (o CommonPrivateEndpointIPConfigurationResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateEndpointIPConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
+// Unique identifier for this resource.
+func (o ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponse) string {
+ return v.ResourceGuid
+ }).(pulumi.StringOutput)
}
-type CommonPrivateEndpointIPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+type ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseArrayOutput struct{ *pulumi.OutputState }
-func (CommonPrivateEndpointIPConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonPrivateEndpointIPConfigurationResponse)(nil)).Elem()
+func (ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponse)(nil)).Elem()
}
-func (o CommonPrivateEndpointIPConfigurationResponseArrayOutput) ToCommonPrivateEndpointIPConfigurationResponseArrayOutput() CommonPrivateEndpointIPConfigurationResponseArrayOutput {
+func (o ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseArrayOutput) ToConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseArrayOutput() ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseArrayOutput {
return o
}
-func (o CommonPrivateEndpointIPConfigurationResponseArrayOutput) ToCommonPrivateEndpointIPConfigurationResponseArrayOutputWithContext(ctx context.Context) CommonPrivateEndpointIPConfigurationResponseArrayOutput {
+func (o ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseArrayOutput) ToConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseArrayOutputWithContext(ctx context.Context) ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseArrayOutput {
return o
}
-func (o CommonPrivateEndpointIPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) CommonPrivateEndpointIPConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonPrivateEndpointIPConfigurationResponse {
- return vs[0].([]CommonPrivateEndpointIPConfigurationResponse)[vs[1].(int)]
- }).(CommonPrivateEndpointIPConfigurationResponseOutput)
+func (o ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseArrayOutput) Index(i pulumi.IntInput) ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponse {
+ return vs[0].([]ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponse)[vs[1].(int)]
+ }).(ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseOutput)
}
-// Private endpoint resource.
-type CommonPrivateEndpointResponse struct {
- // Application security groups in which the private endpoint IP configuration is included.
- ApplicationSecurityGroups []CommonApplicationSecurityGroupResponse `pulumi:"applicationSecurityGroups"`
- // An array of custom dns configurations.
- CustomDnsConfigs []CommonCustomDnsConfigPropertiesFormatResponse `pulumi:"customDnsConfigs"`
- // The custom name of the network interface attached to the private endpoint.
- CustomNetworkInterfaceName *string `pulumi:"customNetworkInterfaceName"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The extended location of the load balancer.
- ExtendedLocation *CommonExtendedLocationResponse `pulumi:"extendedLocation"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
- IpConfigurations []CommonPrivateEndpointIPConfigurationResponse `pulumi:"ipConfigurations"`
- // Specifies the IP version type for the private IPs of the private endpoint. If not defined, this defaults to IPv4.
- IpVersionType *string `pulumi:"ipVersionType"`
- // Resource location.
- Location *string `pulumi:"location"`
- // A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
- ManualPrivateLinkServiceConnections []CommonPrivateLinkServiceConnectionResponse `pulumi:"manualPrivateLinkServiceConnections"`
- // Resource name.
- Name string `pulumi:"name"`
- // An array of references to the network interfaces created for this private endpoint.
- NetworkInterfaces []CommonNetworkInterfaceResponse `pulumi:"networkInterfaces"`
- // A grouping of information about the connection to the remote resource.
- PrivateLinkServiceConnections []CommonPrivateLinkServiceConnectionResponse `pulumi:"privateLinkServiceConnections"`
- // The provisioning state of the private endpoint resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The ID of the subnet from which the private IP will be allocated.
- Subnet *CommonSubnetResponse `pulumi:"subnet"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
-}
-
-// Defaults sets the appropriate defaults for CommonPrivateEndpointResponse
-func (val *CommonPrivateEndpointResponse) Defaults() *CommonPrivateEndpointResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.IpVersionType == nil {
- ipVersionType_ := "IPv4"
- tmp.IpVersionType = &ipVersionType_
- }
- tmp.Subnet = tmp.Subnet.Defaults()
-
- return &tmp
-}
-
-// Private endpoint resource.
-type CommonPrivateEndpointResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonPrivateEndpointResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonPrivateEndpointResponse)(nil)).Elem()
-}
-
-func (o CommonPrivateEndpointResponseOutput) ToCommonPrivateEndpointResponseOutput() CommonPrivateEndpointResponseOutput {
- return o
-}
-
-func (o CommonPrivateEndpointResponseOutput) ToCommonPrivateEndpointResponseOutputWithContext(ctx context.Context) CommonPrivateEndpointResponseOutput {
- return o
-}
-
-// Application security groups in which the private endpoint IP configuration is included.
-func (o CommonPrivateEndpointResponseOutput) ApplicationSecurityGroups() CommonApplicationSecurityGroupResponseArrayOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) []CommonApplicationSecurityGroupResponse {
- return v.ApplicationSecurityGroups
- }).(CommonApplicationSecurityGroupResponseArrayOutput)
-}
-
-// An array of custom dns configurations.
-func (o CommonPrivateEndpointResponseOutput) CustomDnsConfigs() CommonCustomDnsConfigPropertiesFormatResponseArrayOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) []CommonCustomDnsConfigPropertiesFormatResponse {
- return v.CustomDnsConfigs
- }).(CommonCustomDnsConfigPropertiesFormatResponseArrayOutput)
-}
-
-// The custom name of the network interface attached to the private endpoint.
-func (o CommonPrivateEndpointResponseOutput) CustomNetworkInterfaceName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) *string { return v.CustomNetworkInterfaceName }).(pulumi.StringPtrOutput)
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonPrivateEndpointResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
-
-// The extended location of the load balancer.
-func (o CommonPrivateEndpointResponseOutput) ExtendedLocation() CommonExtendedLocationResponsePtrOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) *CommonExtendedLocationResponse { return v.ExtendedLocation }).(CommonExtendedLocationResponsePtrOutput)
-}
-
-// Resource ID.
-func (o CommonPrivateEndpointResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
-func (o CommonPrivateEndpointResponseOutput) IpConfigurations() CommonPrivateEndpointIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) []CommonPrivateEndpointIPConfigurationResponse {
- return v.IpConfigurations
- }).(CommonPrivateEndpointIPConfigurationResponseArrayOutput)
+// Describes the destination of connection monitor.
+type ConnectionMonitorDestination struct {
+ // Address of the connection monitor destination (IP or domain name).
+ Address *string `pulumi:"address"`
+ // The destination port used by connection monitor.
+ Port *int `pulumi:"port"`
+ // The ID of the resource used as the destination by connection monitor.
+ ResourceId *string `pulumi:"resourceId"`
}
-// Specifies the IP version type for the private IPs of the private endpoint. If not defined, this defaults to IPv4.
-func (o CommonPrivateEndpointResponseOutput) IpVersionType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) *string { return v.IpVersionType }).(pulumi.StringPtrOutput)
-}
+// ConnectionMonitorDestinationInput is an input type that accepts ConnectionMonitorDestinationArgs and ConnectionMonitorDestinationOutput values.
+// You can construct a concrete instance of `ConnectionMonitorDestinationInput` via:
+//
+// ConnectionMonitorDestinationArgs{...}
+type ConnectionMonitorDestinationInput interface {
+ pulumi.Input
-// Resource location.
-func (o CommonPrivateEndpointResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+ ToConnectionMonitorDestinationOutput() ConnectionMonitorDestinationOutput
+ ToConnectionMonitorDestinationOutputWithContext(context.Context) ConnectionMonitorDestinationOutput
}
-// A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
-func (o CommonPrivateEndpointResponseOutput) ManualPrivateLinkServiceConnections() CommonPrivateLinkServiceConnectionResponseArrayOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) []CommonPrivateLinkServiceConnectionResponse {
- return v.ManualPrivateLinkServiceConnections
- }).(CommonPrivateLinkServiceConnectionResponseArrayOutput)
+// Describes the destination of connection monitor.
+type ConnectionMonitorDestinationArgs struct {
+ // Address of the connection monitor destination (IP or domain name).
+ Address pulumi.StringPtrInput `pulumi:"address"`
+ // The destination port used by connection monitor.
+ Port pulumi.IntPtrInput `pulumi:"port"`
+ // The ID of the resource used as the destination by connection monitor.
+ ResourceId pulumi.StringPtrInput `pulumi:"resourceId"`
}
-// Resource name.
-func (o CommonPrivateEndpointResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) string { return v.Name }).(pulumi.StringOutput)
+func (ConnectionMonitorDestinationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorDestination)(nil)).Elem()
}
-// An array of references to the network interfaces created for this private endpoint.
-func (o CommonPrivateEndpointResponseOutput) NetworkInterfaces() CommonNetworkInterfaceResponseArrayOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) []CommonNetworkInterfaceResponse { return v.NetworkInterfaces }).(CommonNetworkInterfaceResponseArrayOutput)
+func (i ConnectionMonitorDestinationArgs) ToConnectionMonitorDestinationOutput() ConnectionMonitorDestinationOutput {
+ return i.ToConnectionMonitorDestinationOutputWithContext(context.Background())
}
-// A grouping of information about the connection to the remote resource.
-func (o CommonPrivateEndpointResponseOutput) PrivateLinkServiceConnections() CommonPrivateLinkServiceConnectionResponseArrayOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) []CommonPrivateLinkServiceConnectionResponse {
- return v.PrivateLinkServiceConnections
- }).(CommonPrivateLinkServiceConnectionResponseArrayOutput)
+func (i ConnectionMonitorDestinationArgs) ToConnectionMonitorDestinationOutputWithContext(ctx context.Context) ConnectionMonitorDestinationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorDestinationOutput)
}
-// The provisioning state of the private endpoint resource.
-func (o CommonPrivateEndpointResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (i ConnectionMonitorDestinationArgs) ToConnectionMonitorDestinationPtrOutput() ConnectionMonitorDestinationPtrOutput {
+ return i.ToConnectionMonitorDestinationPtrOutputWithContext(context.Background())
}
-// The ID of the subnet from which the private IP will be allocated.
-func (o CommonPrivateEndpointResponseOutput) Subnet() CommonSubnetResponsePtrOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) *CommonSubnetResponse { return v.Subnet }).(CommonSubnetResponsePtrOutput)
+func (i ConnectionMonitorDestinationArgs) ToConnectionMonitorDestinationPtrOutputWithContext(ctx context.Context) ConnectionMonitorDestinationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorDestinationOutput).ToConnectionMonitorDestinationPtrOutputWithContext(ctx)
}
-// Resource tags.
-func (o CommonPrivateEndpointResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
-}
+// ConnectionMonitorDestinationPtrInput is an input type that accepts ConnectionMonitorDestinationArgs, ConnectionMonitorDestinationPtr and ConnectionMonitorDestinationPtrOutput values.
+// You can construct a concrete instance of `ConnectionMonitorDestinationPtrInput` via:
+//
+// ConnectionMonitorDestinationArgs{...}
+//
+// or:
+//
+// nil
+type ConnectionMonitorDestinationPtrInput interface {
+ pulumi.Input
-// Resource type.
-func (o CommonPrivateEndpointResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateEndpointResponse) string { return v.Type }).(pulumi.StringOutput)
+ ToConnectionMonitorDestinationPtrOutput() ConnectionMonitorDestinationPtrOutput
+ ToConnectionMonitorDestinationPtrOutputWithContext(context.Context) ConnectionMonitorDestinationPtrOutput
}
-type CommonPrivateEndpointResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (CommonPrivateEndpointResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonPrivateEndpointResponse)(nil)).Elem()
-}
+type connectionMonitorDestinationPtrType ConnectionMonitorDestinationArgs
-func (o CommonPrivateEndpointResponseArrayOutput) ToCommonPrivateEndpointResponseArrayOutput() CommonPrivateEndpointResponseArrayOutput {
- return o
+func ConnectionMonitorDestinationPtr(v *ConnectionMonitorDestinationArgs) ConnectionMonitorDestinationPtrInput {
+ return (*connectionMonitorDestinationPtrType)(v)
}
-func (o CommonPrivateEndpointResponseArrayOutput) ToCommonPrivateEndpointResponseArrayOutputWithContext(ctx context.Context) CommonPrivateEndpointResponseArrayOutput {
- return o
+func (*connectionMonitorDestinationPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorDestination)(nil)).Elem()
}
-func (o CommonPrivateEndpointResponseArrayOutput) Index(i pulumi.IntInput) CommonPrivateEndpointResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonPrivateEndpointResponse {
- return vs[0].([]CommonPrivateEndpointResponse)[vs[1].(int)]
- }).(CommonPrivateEndpointResponseOutput)
+func (i *connectionMonitorDestinationPtrType) ToConnectionMonitorDestinationPtrOutput() ConnectionMonitorDestinationPtrOutput {
+ return i.ToConnectionMonitorDestinationPtrOutputWithContext(context.Background())
}
-// PrivateLinkServiceConnection resource.
-type CommonPrivateLinkServiceConnectionResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
- GroupIds []string `pulumi:"groupIds"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // A collection of read-only information about the state of the connection to the remote resource.
- PrivateLinkServiceConnectionState *CommonPrivateLinkServiceConnectionStateResponse `pulumi:"privateLinkServiceConnectionState"`
- // The resource id of private link service.
- PrivateLinkServiceId *string `pulumi:"privateLinkServiceId"`
- // The provisioning state of the private link service connection resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
- RequestMessage *string `pulumi:"requestMessage"`
- // The resource type.
- Type string `pulumi:"type"`
+func (i *connectionMonitorDestinationPtrType) ToConnectionMonitorDestinationPtrOutputWithContext(ctx context.Context) ConnectionMonitorDestinationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorDestinationPtrOutput)
}
-// PrivateLinkServiceConnection resource.
-type CommonPrivateLinkServiceConnectionResponseOutput struct{ *pulumi.OutputState }
+// Describes the destination of connection monitor.
+type ConnectionMonitorDestinationOutput struct{ *pulumi.OutputState }
-func (CommonPrivateLinkServiceConnectionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonPrivateLinkServiceConnectionResponse)(nil)).Elem()
+func (ConnectionMonitorDestinationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorDestination)(nil)).Elem()
}
-func (o CommonPrivateLinkServiceConnectionResponseOutput) ToCommonPrivateLinkServiceConnectionResponseOutput() CommonPrivateLinkServiceConnectionResponseOutput {
+func (o ConnectionMonitorDestinationOutput) ToConnectionMonitorDestinationOutput() ConnectionMonitorDestinationOutput {
return o
}
-func (o CommonPrivateLinkServiceConnectionResponseOutput) ToCommonPrivateLinkServiceConnectionResponseOutputWithContext(ctx context.Context) CommonPrivateLinkServiceConnectionResponseOutput {
+func (o ConnectionMonitorDestinationOutput) ToConnectionMonitorDestinationOutputWithContext(ctx context.Context) ConnectionMonitorDestinationOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonPrivateLinkServiceConnectionResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceConnectionResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o ConnectionMonitorDestinationOutput) ToConnectionMonitorDestinationPtrOutput() ConnectionMonitorDestinationPtrOutput {
+ return o.ToConnectionMonitorDestinationPtrOutputWithContext(context.Background())
}
-// The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
-func (o CommonPrivateLinkServiceConnectionResponseOutput) GroupIds() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceConnectionResponse) []string { return v.GroupIds }).(pulumi.StringArrayOutput)
+func (o ConnectionMonitorDestinationOutput) ToConnectionMonitorDestinationPtrOutputWithContext(ctx context.Context) ConnectionMonitorDestinationPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorDestination) *ConnectionMonitorDestination {
+ return &v
+ }).(ConnectionMonitorDestinationPtrOutput)
}
-// Resource ID.
-func (o CommonPrivateLinkServiceConnectionResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceConnectionResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Address of the connection monitor destination (IP or domain name).
+func (o ConnectionMonitorDestinationOutput) Address() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorDestination) *string { return v.Address }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o CommonPrivateLinkServiceConnectionResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceConnectionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The destination port used by connection monitor.
+func (o ConnectionMonitorDestinationOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorDestination) *int { return v.Port }).(pulumi.IntPtrOutput)
}
-// A collection of read-only information about the state of the connection to the remote resource.
-func (o CommonPrivateLinkServiceConnectionResponseOutput) PrivateLinkServiceConnectionState() CommonPrivateLinkServiceConnectionStateResponsePtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceConnectionResponse) *CommonPrivateLinkServiceConnectionStateResponse {
- return v.PrivateLinkServiceConnectionState
- }).(CommonPrivateLinkServiceConnectionStateResponsePtrOutput)
+// The ID of the resource used as the destination by connection monitor.
+func (o ConnectionMonitorDestinationOutput) ResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorDestination) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
}
-// The resource id of private link service.
-func (o CommonPrivateLinkServiceConnectionResponseOutput) PrivateLinkServiceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceConnectionResponse) *string { return v.PrivateLinkServiceId }).(pulumi.StringPtrOutput)
-}
+type ConnectionMonitorDestinationPtrOutput struct{ *pulumi.OutputState }
-// The provisioning state of the private link service connection resource.
-func (o CommonPrivateLinkServiceConnectionResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceConnectionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (ConnectionMonitorDestinationPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorDestination)(nil)).Elem()
}
-// A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
-func (o CommonPrivateLinkServiceConnectionResponseOutput) RequestMessage() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceConnectionResponse) *string { return v.RequestMessage }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorDestinationPtrOutput) ToConnectionMonitorDestinationPtrOutput() ConnectionMonitorDestinationPtrOutput {
+ return o
}
-// The resource type.
-func (o CommonPrivateLinkServiceConnectionResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceConnectionResponse) string { return v.Type }).(pulumi.StringOutput)
+func (o ConnectionMonitorDestinationPtrOutput) ToConnectionMonitorDestinationPtrOutputWithContext(ctx context.Context) ConnectionMonitorDestinationPtrOutput {
+ return o
}
-type CommonPrivateLinkServiceConnectionResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (CommonPrivateLinkServiceConnectionResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonPrivateLinkServiceConnectionResponse)(nil)).Elem()
+func (o ConnectionMonitorDestinationPtrOutput) Elem() ConnectionMonitorDestinationOutput {
+ return o.ApplyT(func(v *ConnectionMonitorDestination) ConnectionMonitorDestination {
+ if v != nil {
+ return *v
+ }
+ var ret ConnectionMonitorDestination
+ return ret
+ }).(ConnectionMonitorDestinationOutput)
}
-func (o CommonPrivateLinkServiceConnectionResponseArrayOutput) ToCommonPrivateLinkServiceConnectionResponseArrayOutput() CommonPrivateLinkServiceConnectionResponseArrayOutput {
- return o
+// Address of the connection monitor destination (IP or domain name).
+func (o ConnectionMonitorDestinationPtrOutput) Address() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorDestination) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Address
+ }).(pulumi.StringPtrOutput)
}
-func (o CommonPrivateLinkServiceConnectionResponseArrayOutput) ToCommonPrivateLinkServiceConnectionResponseArrayOutputWithContext(ctx context.Context) CommonPrivateLinkServiceConnectionResponseArrayOutput {
- return o
+// The destination port used by connection monitor.
+func (o ConnectionMonitorDestinationPtrOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorDestination) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Port
+ }).(pulumi.IntPtrOutput)
}
-func (o CommonPrivateLinkServiceConnectionResponseArrayOutput) Index(i pulumi.IntInput) CommonPrivateLinkServiceConnectionResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonPrivateLinkServiceConnectionResponse {
- return vs[0].([]CommonPrivateLinkServiceConnectionResponse)[vs[1].(int)]
- }).(CommonPrivateLinkServiceConnectionResponseOutput)
+// The ID of the resource used as the destination by connection monitor.
+func (o ConnectionMonitorDestinationPtrOutput) ResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorDestination) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ResourceId
+ }).(pulumi.StringPtrOutput)
}
-// A collection of information about the state of the connection between service consumer and provider.
-type CommonPrivateLinkServiceConnectionStateResponse struct {
- // A message indicating if changes on the service provider require any updates on the consumer.
- ActionsRequired *string `pulumi:"actionsRequired"`
- // The reason for approval/rejection of the connection.
- Description *string `pulumi:"description"`
- // Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- Status *string `pulumi:"status"`
+// Describes the destination of connection monitor.
+type ConnectionMonitorDestinationResponse struct {
+ // Address of the connection monitor destination (IP or domain name).
+ Address *string `pulumi:"address"`
+ // The destination port used by connection monitor.
+ Port *int `pulumi:"port"`
+ // The ID of the resource used as the destination by connection monitor.
+ ResourceId *string `pulumi:"resourceId"`
}
-// A collection of information about the state of the connection between service consumer and provider.
-type CommonPrivateLinkServiceConnectionStateResponseOutput struct{ *pulumi.OutputState }
+// Describes the destination of connection monitor.
+type ConnectionMonitorDestinationResponseOutput struct{ *pulumi.OutputState }
-func (CommonPrivateLinkServiceConnectionStateResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonPrivateLinkServiceConnectionStateResponse)(nil)).Elem()
+func (ConnectionMonitorDestinationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorDestinationResponse)(nil)).Elem()
}
-func (o CommonPrivateLinkServiceConnectionStateResponseOutput) ToCommonPrivateLinkServiceConnectionStateResponseOutput() CommonPrivateLinkServiceConnectionStateResponseOutput {
+func (o ConnectionMonitorDestinationResponseOutput) ToConnectionMonitorDestinationResponseOutput() ConnectionMonitorDestinationResponseOutput {
return o
}
-func (o CommonPrivateLinkServiceConnectionStateResponseOutput) ToCommonPrivateLinkServiceConnectionStateResponseOutputWithContext(ctx context.Context) CommonPrivateLinkServiceConnectionStateResponseOutput {
+func (o ConnectionMonitorDestinationResponseOutput) ToConnectionMonitorDestinationResponseOutputWithContext(ctx context.Context) ConnectionMonitorDestinationResponseOutput {
return o
}
-// A message indicating if changes on the service provider require any updates on the consumer.
-func (o CommonPrivateLinkServiceConnectionStateResponseOutput) ActionsRequired() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceConnectionStateResponse) *string { return v.ActionsRequired }).(pulumi.StringPtrOutput)
+// Address of the connection monitor destination (IP or domain name).
+func (o ConnectionMonitorDestinationResponseOutput) Address() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorDestinationResponse) *string { return v.Address }).(pulumi.StringPtrOutput)
}
-// The reason for approval/rejection of the connection.
-func (o CommonPrivateLinkServiceConnectionStateResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceConnectionStateResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+// The destination port used by connection monitor.
+func (o ConnectionMonitorDestinationResponseOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorDestinationResponse) *int { return v.Port }).(pulumi.IntPtrOutput)
}
-// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
-func (o CommonPrivateLinkServiceConnectionStateResponseOutput) Status() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceConnectionStateResponse) *string { return v.Status }).(pulumi.StringPtrOutput)
+// The ID of the resource used as the destination by connection monitor.
+func (o ConnectionMonitorDestinationResponseOutput) ResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorDestinationResponse) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
}
-type CommonPrivateLinkServiceConnectionStateResponsePtrOutput struct{ *pulumi.OutputState }
+type ConnectionMonitorDestinationResponsePtrOutput struct{ *pulumi.OutputState }
-func (CommonPrivateLinkServiceConnectionStateResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonPrivateLinkServiceConnectionStateResponse)(nil)).Elem()
+func (ConnectionMonitorDestinationResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorDestinationResponse)(nil)).Elem()
}
-func (o CommonPrivateLinkServiceConnectionStateResponsePtrOutput) ToCommonPrivateLinkServiceConnectionStateResponsePtrOutput() CommonPrivateLinkServiceConnectionStateResponsePtrOutput {
+func (o ConnectionMonitorDestinationResponsePtrOutput) ToConnectionMonitorDestinationResponsePtrOutput() ConnectionMonitorDestinationResponsePtrOutput {
return o
}
-func (o CommonPrivateLinkServiceConnectionStateResponsePtrOutput) ToCommonPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(ctx context.Context) CommonPrivateLinkServiceConnectionStateResponsePtrOutput {
+func (o ConnectionMonitorDestinationResponsePtrOutput) ToConnectionMonitorDestinationResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorDestinationResponsePtrOutput {
return o
}
-func (o CommonPrivateLinkServiceConnectionStateResponsePtrOutput) Elem() CommonPrivateLinkServiceConnectionStateResponseOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceConnectionStateResponse) CommonPrivateLinkServiceConnectionStateResponse {
+func (o ConnectionMonitorDestinationResponsePtrOutput) Elem() ConnectionMonitorDestinationResponseOutput {
+ return o.ApplyT(func(v *ConnectionMonitorDestinationResponse) ConnectionMonitorDestinationResponse {
if v != nil {
return *v
}
- var ret CommonPrivateLinkServiceConnectionStateResponse
+ var ret ConnectionMonitorDestinationResponse
return ret
- }).(CommonPrivateLinkServiceConnectionStateResponseOutput)
+ }).(ConnectionMonitorDestinationResponseOutput)
}
-// A message indicating if changes on the service provider require any updates on the consumer.
-func (o CommonPrivateLinkServiceConnectionStateResponsePtrOutput) ActionsRequired() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceConnectionStateResponse) *string {
+// Address of the connection monitor destination (IP or domain name).
+func (o ConnectionMonitorDestinationResponsePtrOutput) Address() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorDestinationResponse) *string {
if v == nil {
return nil
}
- return v.ActionsRequired
+ return v.Address
}).(pulumi.StringPtrOutput)
}
-// The reason for approval/rejection of the connection.
-func (o CommonPrivateLinkServiceConnectionStateResponsePtrOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceConnectionStateResponse) *string {
+// The destination port used by connection monitor.
+func (o ConnectionMonitorDestinationResponsePtrOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorDestinationResponse) *int {
if v == nil {
return nil
}
- return v.Description
- }).(pulumi.StringPtrOutput)
+ return v.Port
+ }).(pulumi.IntPtrOutput)
}
-// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
-func (o CommonPrivateLinkServiceConnectionStateResponsePtrOutput) Status() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceConnectionStateResponse) *string {
+// The ID of the resource used as the destination by connection monitor.
+func (o ConnectionMonitorDestinationResponsePtrOutput) ResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorDestinationResponse) *string {
if v == nil {
return nil
}
- return v.Status
+ return v.ResourceId
}).(pulumi.StringPtrOutput)
}
-// The private link service ip configuration.
-type CommonPrivateLinkServiceIpConfigurationResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of private link service ip configuration.
- Name *string `pulumi:"name"`
- // Whether the ip configuration is primary or not.
- Primary *bool `pulumi:"primary"`
- // The private IP address of the IP configuration.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
- PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
- // The private IP address allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // The provisioning state of the private link service IP configuration resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The reference to the subnet resource.
- Subnet *CommonSubnetResponse `pulumi:"subnet"`
- // The resource type.
- Type string `pulumi:"type"`
+// Describes the connection monitor endpoint.
+type ConnectionMonitorEndpoint struct {
+ // Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
+ Address *string `pulumi:"address"`
+ // Test coverage for the endpoint.
+ CoverageLevel *string `pulumi:"coverageLevel"`
+ // Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
+ Filter *ConnectionMonitorEndpointFilter `pulumi:"filter"`
+ // Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
+ LocationDetails *ConnectionMonitorEndpointLocationDetails `pulumi:"locationDetails"`
+ // The name of the connection monitor endpoint.
+ Name string `pulumi:"name"`
+ // Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
+ ResourceId *string `pulumi:"resourceId"`
+ // Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
+ Scope *ConnectionMonitorEndpointScope `pulumi:"scope"`
+ // Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
+ SubscriptionId *string `pulumi:"subscriptionId"`
+ // The endpoint type.
+ Type *string `pulumi:"type"`
}
-// Defaults sets the appropriate defaults for CommonPrivateLinkServiceIpConfigurationResponse
-func (val *CommonPrivateLinkServiceIpConfigurationResponse) Defaults() *CommonPrivateLinkServiceIpConfigurationResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.Subnet = tmp.Subnet.Defaults()
+// ConnectionMonitorEndpointInput is an input type that accepts ConnectionMonitorEndpointArgs and ConnectionMonitorEndpointOutput values.
+// You can construct a concrete instance of `ConnectionMonitorEndpointInput` via:
+//
+// ConnectionMonitorEndpointArgs{...}
+type ConnectionMonitorEndpointInput interface {
+ pulumi.Input
- return &tmp
+ ToConnectionMonitorEndpointOutput() ConnectionMonitorEndpointOutput
+ ToConnectionMonitorEndpointOutputWithContext(context.Context) ConnectionMonitorEndpointOutput
}
-// The private link service ip configuration.
-type CommonPrivateLinkServiceIpConfigurationResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonPrivateLinkServiceIpConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonPrivateLinkServiceIpConfigurationResponse)(nil)).Elem()
+// Describes the connection monitor endpoint.
+type ConnectionMonitorEndpointArgs struct {
+ // Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
+ Address pulumi.StringPtrInput `pulumi:"address"`
+ // Test coverage for the endpoint.
+ CoverageLevel pulumi.StringPtrInput `pulumi:"coverageLevel"`
+ // Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
+ Filter ConnectionMonitorEndpointFilterPtrInput `pulumi:"filter"`
+ // Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
+ LocationDetails ConnectionMonitorEndpointLocationDetailsPtrInput `pulumi:"locationDetails"`
+ // The name of the connection monitor endpoint.
+ Name pulumi.StringInput `pulumi:"name"`
+ // Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
+ ResourceId pulumi.StringPtrInput `pulumi:"resourceId"`
+ // Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
+ Scope ConnectionMonitorEndpointScopePtrInput `pulumi:"scope"`
+ // Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
+ SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"`
+ // The endpoint type.
+ Type pulumi.StringPtrInput `pulumi:"type"`
}
-func (o CommonPrivateLinkServiceIpConfigurationResponseOutput) ToCommonPrivateLinkServiceIpConfigurationResponseOutput() CommonPrivateLinkServiceIpConfigurationResponseOutput {
- return o
+func (ConnectionMonitorEndpointArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpoint)(nil)).Elem()
}
-func (o CommonPrivateLinkServiceIpConfigurationResponseOutput) ToCommonPrivateLinkServiceIpConfigurationResponseOutputWithContext(ctx context.Context) CommonPrivateLinkServiceIpConfigurationResponseOutput {
- return o
+func (i ConnectionMonitorEndpointArgs) ToConnectionMonitorEndpointOutput() ConnectionMonitorEndpointOutput {
+ return i.ToConnectionMonitorEndpointOutputWithContext(context.Background())
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonPrivateLinkServiceIpConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceIpConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (i ConnectionMonitorEndpointArgs) ToConnectionMonitorEndpointOutputWithContext(ctx context.Context) ConnectionMonitorEndpointOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointOutput)
}
-// Resource ID.
-func (o CommonPrivateLinkServiceIpConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceIpConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
+// ConnectionMonitorEndpointArrayInput is an input type that accepts ConnectionMonitorEndpointArray and ConnectionMonitorEndpointArrayOutput values.
+// You can construct a concrete instance of `ConnectionMonitorEndpointArrayInput` via:
+//
+// ConnectionMonitorEndpointArray{ ConnectionMonitorEndpointArgs{...} }
+type ConnectionMonitorEndpointArrayInput interface {
+ pulumi.Input
-// The name of private link service ip configuration.
-func (o CommonPrivateLinkServiceIpConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceIpConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+ ToConnectionMonitorEndpointArrayOutput() ConnectionMonitorEndpointArrayOutput
+ ToConnectionMonitorEndpointArrayOutputWithContext(context.Context) ConnectionMonitorEndpointArrayOutput
}
-// Whether the ip configuration is primary or not.
-func (o CommonPrivateLinkServiceIpConfigurationResponseOutput) Primary() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceIpConfigurationResponse) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
-}
+type ConnectionMonitorEndpointArray []ConnectionMonitorEndpointInput
-// The private IP address of the IP configuration.
-func (o CommonPrivateLinkServiceIpConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceIpConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+func (ConnectionMonitorEndpointArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorEndpoint)(nil)).Elem()
}
-// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
-func (o CommonPrivateLinkServiceIpConfigurationResponseOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceIpConfigurationResponse) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
+func (i ConnectionMonitorEndpointArray) ToConnectionMonitorEndpointArrayOutput() ConnectionMonitorEndpointArrayOutput {
+ return i.ToConnectionMonitorEndpointArrayOutputWithContext(context.Background())
}
-// The private IP address allocation method.
-func (o CommonPrivateLinkServiceIpConfigurationResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceIpConfigurationResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+func (i ConnectionMonitorEndpointArray) ToConnectionMonitorEndpointArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointArrayOutput)
}
-// The provisioning state of the private link service IP configuration resource.
-func (o CommonPrivateLinkServiceIpConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceIpConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
+// Describes the connection monitor endpoint.
+type ConnectionMonitorEndpointOutput struct{ *pulumi.OutputState }
-// The reference to the subnet resource.
-func (o CommonPrivateLinkServiceIpConfigurationResponseOutput) Subnet() CommonSubnetResponsePtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceIpConfigurationResponse) *CommonSubnetResponse { return v.Subnet }).(CommonSubnetResponsePtrOutput)
+func (ConnectionMonitorEndpointOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpoint)(nil)).Elem()
}
-// The resource type.
-func (o CommonPrivateLinkServiceIpConfigurationResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceIpConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
+func (o ConnectionMonitorEndpointOutput) ToConnectionMonitorEndpointOutput() ConnectionMonitorEndpointOutput {
+ return o
}
-type CommonPrivateLinkServiceIpConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (CommonPrivateLinkServiceIpConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonPrivateLinkServiceIpConfigurationResponse)(nil)).Elem()
+func (o ConnectionMonitorEndpointOutput) ToConnectionMonitorEndpointOutputWithContext(ctx context.Context) ConnectionMonitorEndpointOutput {
+ return o
}
-func (o CommonPrivateLinkServiceIpConfigurationResponseArrayOutput) ToCommonPrivateLinkServiceIpConfigurationResponseArrayOutput() CommonPrivateLinkServiceIpConfigurationResponseArrayOutput {
- return o
+// Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
+func (o ConnectionMonitorEndpointOutput) Address() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpoint) *string { return v.Address }).(pulumi.StringPtrOutput)
}
-func (o CommonPrivateLinkServiceIpConfigurationResponseArrayOutput) ToCommonPrivateLinkServiceIpConfigurationResponseArrayOutputWithContext(ctx context.Context) CommonPrivateLinkServiceIpConfigurationResponseArrayOutput {
- return o
+// Test coverage for the endpoint.
+func (o ConnectionMonitorEndpointOutput) CoverageLevel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpoint) *string { return v.CoverageLevel }).(pulumi.StringPtrOutput)
}
-func (o CommonPrivateLinkServiceIpConfigurationResponseArrayOutput) Index(i pulumi.IntInput) CommonPrivateLinkServiceIpConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonPrivateLinkServiceIpConfigurationResponse {
- return vs[0].([]CommonPrivateLinkServiceIpConfigurationResponse)[vs[1].(int)]
- }).(CommonPrivateLinkServiceIpConfigurationResponseOutput)
+// Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
+func (o ConnectionMonitorEndpointOutput) Filter() ConnectionMonitorEndpointFilterPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpoint) *ConnectionMonitorEndpointFilter { return v.Filter }).(ConnectionMonitorEndpointFilterPtrOutput)
}
-// The auto-approval list of the private link service.
-type CommonPrivateLinkServicePropertiesAutoApprovalResponse struct {
- // The list of subscriptions.
- Subscriptions []string `pulumi:"subscriptions"`
+// Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
+func (o ConnectionMonitorEndpointOutput) LocationDetails() ConnectionMonitorEndpointLocationDetailsPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpoint) *ConnectionMonitorEndpointLocationDetails { return v.LocationDetails }).(ConnectionMonitorEndpointLocationDetailsPtrOutput)
}
-// The auto-approval list of the private link service.
-type CommonPrivateLinkServicePropertiesAutoApprovalResponseOutput struct{ *pulumi.OutputState }
+// The name of the connection monitor endpoint.
+func (o ConnectionMonitorEndpointOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpoint) string { return v.Name }).(pulumi.StringOutput)
+}
-func (CommonPrivateLinkServicePropertiesAutoApprovalResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonPrivateLinkServicePropertiesAutoApprovalResponse)(nil)).Elem()
+// Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
+func (o ConnectionMonitorEndpointOutput) ResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpoint) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
}
-func (o CommonPrivateLinkServicePropertiesAutoApprovalResponseOutput) ToCommonPrivateLinkServicePropertiesAutoApprovalResponseOutput() CommonPrivateLinkServicePropertiesAutoApprovalResponseOutput {
- return o
+// Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
+func (o ConnectionMonitorEndpointOutput) Scope() ConnectionMonitorEndpointScopePtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpoint) *ConnectionMonitorEndpointScope { return v.Scope }).(ConnectionMonitorEndpointScopePtrOutput)
}
-func (o CommonPrivateLinkServicePropertiesAutoApprovalResponseOutput) ToCommonPrivateLinkServicePropertiesAutoApprovalResponseOutputWithContext(ctx context.Context) CommonPrivateLinkServicePropertiesAutoApprovalResponseOutput {
- return o
+// Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
+func (o ConnectionMonitorEndpointOutput) SubscriptionId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpoint) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput)
}
-// The list of subscriptions.
-func (o CommonPrivateLinkServicePropertiesAutoApprovalResponseOutput) Subscriptions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonPrivateLinkServicePropertiesAutoApprovalResponse) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
+// The endpoint type.
+func (o ConnectionMonitorEndpointOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpoint) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-type CommonPrivateLinkServicePropertiesAutoApprovalResponsePtrOutput struct{ *pulumi.OutputState }
+type ConnectionMonitorEndpointArrayOutput struct{ *pulumi.OutputState }
-func (CommonPrivateLinkServicePropertiesAutoApprovalResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonPrivateLinkServicePropertiesAutoApprovalResponse)(nil)).Elem()
+func (ConnectionMonitorEndpointArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorEndpoint)(nil)).Elem()
}
-func (o CommonPrivateLinkServicePropertiesAutoApprovalResponsePtrOutput) ToCommonPrivateLinkServicePropertiesAutoApprovalResponsePtrOutput() CommonPrivateLinkServicePropertiesAutoApprovalResponsePtrOutput {
+func (o ConnectionMonitorEndpointArrayOutput) ToConnectionMonitorEndpointArrayOutput() ConnectionMonitorEndpointArrayOutput {
return o
}
-func (o CommonPrivateLinkServicePropertiesAutoApprovalResponsePtrOutput) ToCommonPrivateLinkServicePropertiesAutoApprovalResponsePtrOutputWithContext(ctx context.Context) CommonPrivateLinkServicePropertiesAutoApprovalResponsePtrOutput {
+func (o ConnectionMonitorEndpointArrayOutput) ToConnectionMonitorEndpointArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointArrayOutput {
return o
}
-func (o CommonPrivateLinkServicePropertiesAutoApprovalResponsePtrOutput) Elem() CommonPrivateLinkServicePropertiesAutoApprovalResponseOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServicePropertiesAutoApprovalResponse) CommonPrivateLinkServicePropertiesAutoApprovalResponse {
- if v != nil {
- return *v
- }
- var ret CommonPrivateLinkServicePropertiesAutoApprovalResponse
- return ret
- }).(CommonPrivateLinkServicePropertiesAutoApprovalResponseOutput)
+func (o ConnectionMonitorEndpointArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorEndpointOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorEndpoint {
+ return vs[0].([]ConnectionMonitorEndpoint)[vs[1].(int)]
+ }).(ConnectionMonitorEndpointOutput)
}
-// The list of subscriptions.
-func (o CommonPrivateLinkServicePropertiesAutoApprovalResponsePtrOutput) Subscriptions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServicePropertiesAutoApprovalResponse) []string {
- if v == nil {
- return nil
- }
- return v.Subscriptions
- }).(pulumi.StringArrayOutput)
+// Describes the connection monitor endpoint filter.
+type ConnectionMonitorEndpointFilter struct {
+ // List of items in the filter.
+ Items []ConnectionMonitorEndpointFilterItem `pulumi:"items"`
+ // The behavior of the endpoint filter. Currently only 'Include' is supported.
+ Type *string `pulumi:"type"`
}
-// The visibility list of the private link service.
-type CommonPrivateLinkServicePropertiesVisibilityResponse struct {
- // The list of subscriptions.
- Subscriptions []string `pulumi:"subscriptions"`
-}
+// ConnectionMonitorEndpointFilterInput is an input type that accepts ConnectionMonitorEndpointFilterArgs and ConnectionMonitorEndpointFilterOutput values.
+// You can construct a concrete instance of `ConnectionMonitorEndpointFilterInput` via:
+//
+// ConnectionMonitorEndpointFilterArgs{...}
+type ConnectionMonitorEndpointFilterInput interface {
+ pulumi.Input
-// The visibility list of the private link service.
-type CommonPrivateLinkServicePropertiesVisibilityResponseOutput struct{ *pulumi.OutputState }
+ ToConnectionMonitorEndpointFilterOutput() ConnectionMonitorEndpointFilterOutput
+ ToConnectionMonitorEndpointFilterOutputWithContext(context.Context) ConnectionMonitorEndpointFilterOutput
+}
-func (CommonPrivateLinkServicePropertiesVisibilityResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonPrivateLinkServicePropertiesVisibilityResponse)(nil)).Elem()
+// Describes the connection monitor endpoint filter.
+type ConnectionMonitorEndpointFilterArgs struct {
+ // List of items in the filter.
+ Items ConnectionMonitorEndpointFilterItemArrayInput `pulumi:"items"`
+ // The behavior of the endpoint filter. Currently only 'Include' is supported.
+ Type pulumi.StringPtrInput `pulumi:"type"`
}
-func (o CommonPrivateLinkServicePropertiesVisibilityResponseOutput) ToCommonPrivateLinkServicePropertiesVisibilityResponseOutput() CommonPrivateLinkServicePropertiesVisibilityResponseOutput {
- return o
+func (ConnectionMonitorEndpointFilterArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpointFilter)(nil)).Elem()
}
-func (o CommonPrivateLinkServicePropertiesVisibilityResponseOutput) ToCommonPrivateLinkServicePropertiesVisibilityResponseOutputWithContext(ctx context.Context) CommonPrivateLinkServicePropertiesVisibilityResponseOutput {
- return o
+func (i ConnectionMonitorEndpointFilterArgs) ToConnectionMonitorEndpointFilterOutput() ConnectionMonitorEndpointFilterOutput {
+ return i.ToConnectionMonitorEndpointFilterOutputWithContext(context.Background())
}
-// The list of subscriptions.
-func (o CommonPrivateLinkServicePropertiesVisibilityResponseOutput) Subscriptions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonPrivateLinkServicePropertiesVisibilityResponse) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
+func (i ConnectionMonitorEndpointFilterArgs) ToConnectionMonitorEndpointFilterOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointFilterOutput)
}
-type CommonPrivateLinkServicePropertiesVisibilityResponsePtrOutput struct{ *pulumi.OutputState }
+func (i ConnectionMonitorEndpointFilterArgs) ToConnectionMonitorEndpointFilterPtrOutput() ConnectionMonitorEndpointFilterPtrOutput {
+ return i.ToConnectionMonitorEndpointFilterPtrOutputWithContext(context.Background())
+}
-func (CommonPrivateLinkServicePropertiesVisibilityResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonPrivateLinkServicePropertiesVisibilityResponse)(nil)).Elem()
+func (i ConnectionMonitorEndpointFilterArgs) ToConnectionMonitorEndpointFilterPtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointFilterOutput).ToConnectionMonitorEndpointFilterPtrOutputWithContext(ctx)
}
-func (o CommonPrivateLinkServicePropertiesVisibilityResponsePtrOutput) ToCommonPrivateLinkServicePropertiesVisibilityResponsePtrOutput() CommonPrivateLinkServicePropertiesVisibilityResponsePtrOutput {
- return o
+// ConnectionMonitorEndpointFilterPtrInput is an input type that accepts ConnectionMonitorEndpointFilterArgs, ConnectionMonitorEndpointFilterPtr and ConnectionMonitorEndpointFilterPtrOutput values.
+// You can construct a concrete instance of `ConnectionMonitorEndpointFilterPtrInput` via:
+//
+// ConnectionMonitorEndpointFilterArgs{...}
+//
+// or:
+//
+// nil
+type ConnectionMonitorEndpointFilterPtrInput interface {
+ pulumi.Input
+
+ ToConnectionMonitorEndpointFilterPtrOutput() ConnectionMonitorEndpointFilterPtrOutput
+ ToConnectionMonitorEndpointFilterPtrOutputWithContext(context.Context) ConnectionMonitorEndpointFilterPtrOutput
}
-func (o CommonPrivateLinkServicePropertiesVisibilityResponsePtrOutput) ToCommonPrivateLinkServicePropertiesVisibilityResponsePtrOutputWithContext(ctx context.Context) CommonPrivateLinkServicePropertiesVisibilityResponsePtrOutput {
- return o
+type connectionMonitorEndpointFilterPtrType ConnectionMonitorEndpointFilterArgs
+
+func ConnectionMonitorEndpointFilterPtr(v *ConnectionMonitorEndpointFilterArgs) ConnectionMonitorEndpointFilterPtrInput {
+ return (*connectionMonitorEndpointFilterPtrType)(v)
}
-func (o CommonPrivateLinkServicePropertiesVisibilityResponsePtrOutput) Elem() CommonPrivateLinkServicePropertiesVisibilityResponseOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServicePropertiesVisibilityResponse) CommonPrivateLinkServicePropertiesVisibilityResponse {
- if v != nil {
- return *v
- }
- var ret CommonPrivateLinkServicePropertiesVisibilityResponse
- return ret
- }).(CommonPrivateLinkServicePropertiesVisibilityResponseOutput)
+func (*connectionMonitorEndpointFilterPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorEndpointFilter)(nil)).Elem()
}
-// The list of subscriptions.
-func (o CommonPrivateLinkServicePropertiesVisibilityResponsePtrOutput) Subscriptions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServicePropertiesVisibilityResponse) []string {
- if v == nil {
- return nil
- }
- return v.Subscriptions
- }).(pulumi.StringArrayOutput)
+func (i *connectionMonitorEndpointFilterPtrType) ToConnectionMonitorEndpointFilterPtrOutput() ConnectionMonitorEndpointFilterPtrOutput {
+ return i.ToConnectionMonitorEndpointFilterPtrOutputWithContext(context.Background())
}
-// Private link service resource.
-type CommonPrivateLinkServiceResponse struct {
- // The access mode of the private link service.
- AccessMode *string `pulumi:"accessMode"`
- // The alias of the private link service.
- Alias string `pulumi:"alias"`
- // The auto-approval list of the private link service.
- AutoApproval *CommonPrivateLinkServicePropertiesAutoApprovalResponse `pulumi:"autoApproval"`
- // The destination IP address of the private link service.
- DestinationIPAddress *string `pulumi:"destinationIPAddress"`
- // Whether the private link service is enabled for proxy protocol or not.
- EnableProxyProtocol *bool `pulumi:"enableProxyProtocol"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The extended location of the load balancer.
- ExtendedLocation *CommonExtendedLocationResponse `pulumi:"extendedLocation"`
- // The list of Fqdn.
- Fqdns []string `pulumi:"fqdns"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // An array of private link service IP configurations.
- IpConfigurations []CommonPrivateLinkServiceIpConfigurationResponse `pulumi:"ipConfigurations"`
- // An array of references to the load balancer IP configurations.
- LoadBalancerFrontendIpConfigurations []CommonFrontendIPConfigurationResponse `pulumi:"loadBalancerFrontendIpConfigurations"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // An array of references to the network interfaces created for this private link service.
- NetworkInterfaces []CommonNetworkInterfaceResponse `pulumi:"networkInterfaces"`
- // An array of list about connections to the private endpoint.
- PrivateEndpointConnections []CommonPrivateEndpointConnectionResponse `pulumi:"privateEndpointConnections"`
- // The provisioning state of the private link service resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
- // The visibility list of the private link service.
- Visibility *CommonPrivateLinkServicePropertiesVisibilityResponse `pulumi:"visibility"`
+func (i *connectionMonitorEndpointFilterPtrType) ToConnectionMonitorEndpointFilterPtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointFilterPtrOutput)
}
-// Private link service resource.
-type CommonPrivateLinkServiceResponseOutput struct{ *pulumi.OutputState }
+// Describes the connection monitor endpoint filter.
+type ConnectionMonitorEndpointFilterOutput struct{ *pulumi.OutputState }
-func (CommonPrivateLinkServiceResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonPrivateLinkServiceResponse)(nil)).Elem()
+func (ConnectionMonitorEndpointFilterOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpointFilter)(nil)).Elem()
}
-func (o CommonPrivateLinkServiceResponseOutput) ToCommonPrivateLinkServiceResponseOutput() CommonPrivateLinkServiceResponseOutput {
+func (o ConnectionMonitorEndpointFilterOutput) ToConnectionMonitorEndpointFilterOutput() ConnectionMonitorEndpointFilterOutput {
return o
}
-func (o CommonPrivateLinkServiceResponseOutput) ToCommonPrivateLinkServiceResponseOutputWithContext(ctx context.Context) CommonPrivateLinkServiceResponseOutput {
+func (o ConnectionMonitorEndpointFilterOutput) ToConnectionMonitorEndpointFilterOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterOutput {
return o
}
-// The access mode of the private link service.
-func (o CommonPrivateLinkServiceResponseOutput) AccessMode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) *string { return v.AccessMode }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorEndpointFilterOutput) ToConnectionMonitorEndpointFilterPtrOutput() ConnectionMonitorEndpointFilterPtrOutput {
+ return o.ToConnectionMonitorEndpointFilterPtrOutputWithContext(context.Background())
}
-// The alias of the private link service.
-func (o CommonPrivateLinkServiceResponseOutput) Alias() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) string { return v.Alias }).(pulumi.StringOutput)
+func (o ConnectionMonitorEndpointFilterOutput) ToConnectionMonitorEndpointFilterPtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorEndpointFilter) *ConnectionMonitorEndpointFilter {
+ return &v
+ }).(ConnectionMonitorEndpointFilterPtrOutput)
}
-// The auto-approval list of the private link service.
-func (o CommonPrivateLinkServiceResponseOutput) AutoApproval() CommonPrivateLinkServicePropertiesAutoApprovalResponsePtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) *CommonPrivateLinkServicePropertiesAutoApprovalResponse {
- return v.AutoApproval
- }).(CommonPrivateLinkServicePropertiesAutoApprovalResponsePtrOutput)
+// List of items in the filter.
+func (o ConnectionMonitorEndpointFilterOutput) Items() ConnectionMonitorEndpointFilterItemArrayOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointFilter) []ConnectionMonitorEndpointFilterItem { return v.Items }).(ConnectionMonitorEndpointFilterItemArrayOutput)
}
-// The destination IP address of the private link service.
-func (o CommonPrivateLinkServiceResponseOutput) DestinationIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) *string { return v.DestinationIPAddress }).(pulumi.StringPtrOutput)
+// The behavior of the endpoint filter. Currently only 'Include' is supported.
+func (o ConnectionMonitorEndpointFilterOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointFilter) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// Whether the private link service is enabled for proxy protocol or not.
-func (o CommonPrivateLinkServiceResponseOutput) EnableProxyProtocol() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) *bool { return v.EnableProxyProtocol }).(pulumi.BoolPtrOutput)
-}
+type ConnectionMonitorEndpointFilterPtrOutput struct{ *pulumi.OutputState }
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonPrivateLinkServiceResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (ConnectionMonitorEndpointFilterPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorEndpointFilter)(nil)).Elem()
}
-// The extended location of the load balancer.
-func (o CommonPrivateLinkServiceResponseOutput) ExtendedLocation() CommonExtendedLocationResponsePtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) *CommonExtendedLocationResponse { return v.ExtendedLocation }).(CommonExtendedLocationResponsePtrOutput)
+func (o ConnectionMonitorEndpointFilterPtrOutput) ToConnectionMonitorEndpointFilterPtrOutput() ConnectionMonitorEndpointFilterPtrOutput {
+ return o
}
-// The list of Fqdn.
-func (o CommonPrivateLinkServiceResponseOutput) Fqdns() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) []string { return v.Fqdns }).(pulumi.StringArrayOutput)
+func (o ConnectionMonitorEndpointFilterPtrOutput) ToConnectionMonitorEndpointFilterPtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterPtrOutput {
+ return o
}
-// Resource ID.
-func (o CommonPrivateLinkServiceResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorEndpointFilterPtrOutput) Elem() ConnectionMonitorEndpointFilterOutput {
+ return o.ApplyT(func(v *ConnectionMonitorEndpointFilter) ConnectionMonitorEndpointFilter {
+ if v != nil {
+ return *v
+ }
+ var ret ConnectionMonitorEndpointFilter
+ return ret
+ }).(ConnectionMonitorEndpointFilterOutput)
}
-// An array of private link service IP configurations.
-func (o CommonPrivateLinkServiceResponseOutput) IpConfigurations() CommonPrivateLinkServiceIpConfigurationResponseArrayOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) []CommonPrivateLinkServiceIpConfigurationResponse {
- return v.IpConfigurations
- }).(CommonPrivateLinkServiceIpConfigurationResponseArrayOutput)
+// List of items in the filter.
+func (o ConnectionMonitorEndpointFilterPtrOutput) Items() ConnectionMonitorEndpointFilterItemArrayOutput {
+ return o.ApplyT(func(v *ConnectionMonitorEndpointFilter) []ConnectionMonitorEndpointFilterItem {
+ if v == nil {
+ return nil
+ }
+ return v.Items
+ }).(ConnectionMonitorEndpointFilterItemArrayOutput)
}
-// An array of references to the load balancer IP configurations.
-func (o CommonPrivateLinkServiceResponseOutput) LoadBalancerFrontendIpConfigurations() CommonFrontendIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) []CommonFrontendIPConfigurationResponse {
- return v.LoadBalancerFrontendIpConfigurations
- }).(CommonFrontendIPConfigurationResponseArrayOutput)
+// The behavior of the endpoint filter. Currently only 'Include' is supported.
+func (o ConnectionMonitorEndpointFilterPtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorEndpointFilter) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Type
+ }).(pulumi.StringPtrOutput)
}
-// Resource location.
-func (o CommonPrivateLinkServiceResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+// Describes the connection monitor endpoint filter item.
+type ConnectionMonitorEndpointFilterItem struct {
+ // The address of the filter item.
+ Address *string `pulumi:"address"`
+ // The type of item included in the filter. Currently only 'AgentAddress' is supported.
+ Type *string `pulumi:"type"`
}
-// Resource name.
-func (o CommonPrivateLinkServiceResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) string { return v.Name }).(pulumi.StringOutput)
-}
+// ConnectionMonitorEndpointFilterItemInput is an input type that accepts ConnectionMonitorEndpointFilterItemArgs and ConnectionMonitorEndpointFilterItemOutput values.
+// You can construct a concrete instance of `ConnectionMonitorEndpointFilterItemInput` via:
+//
+// ConnectionMonitorEndpointFilterItemArgs{...}
+type ConnectionMonitorEndpointFilterItemInput interface {
+ pulumi.Input
-// An array of references to the network interfaces created for this private link service.
-func (o CommonPrivateLinkServiceResponseOutput) NetworkInterfaces() CommonNetworkInterfaceResponseArrayOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) []CommonNetworkInterfaceResponse { return v.NetworkInterfaces }).(CommonNetworkInterfaceResponseArrayOutput)
+ ToConnectionMonitorEndpointFilterItemOutput() ConnectionMonitorEndpointFilterItemOutput
+ ToConnectionMonitorEndpointFilterItemOutputWithContext(context.Context) ConnectionMonitorEndpointFilterItemOutput
}
-// An array of list about connections to the private endpoint.
-func (o CommonPrivateLinkServiceResponseOutput) PrivateEndpointConnections() CommonPrivateEndpointConnectionResponseArrayOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) []CommonPrivateEndpointConnectionResponse {
- return v.PrivateEndpointConnections
- }).(CommonPrivateEndpointConnectionResponseArrayOutput)
+// Describes the connection monitor endpoint filter item.
+type ConnectionMonitorEndpointFilterItemArgs struct {
+ // The address of the filter item.
+ Address pulumi.StringPtrInput `pulumi:"address"`
+ // The type of item included in the filter. Currently only 'AgentAddress' is supported.
+ Type pulumi.StringPtrInput `pulumi:"type"`
}
-// The provisioning state of the private link service resource.
-func (o CommonPrivateLinkServiceResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (ConnectionMonitorEndpointFilterItemArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpointFilterItem)(nil)).Elem()
}
-// Resource tags.
-func (o CommonPrivateLinkServiceResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+func (i ConnectionMonitorEndpointFilterItemArgs) ToConnectionMonitorEndpointFilterItemOutput() ConnectionMonitorEndpointFilterItemOutput {
+ return i.ToConnectionMonitorEndpointFilterItemOutputWithContext(context.Background())
}
-// Resource type.
-func (o CommonPrivateLinkServiceResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) string { return v.Type }).(pulumi.StringOutput)
+func (i ConnectionMonitorEndpointFilterItemArgs) ToConnectionMonitorEndpointFilterItemOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterItemOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointFilterItemOutput)
}
-// The visibility list of the private link service.
-func (o CommonPrivateLinkServiceResponseOutput) Visibility() CommonPrivateLinkServicePropertiesVisibilityResponsePtrOutput {
- return o.ApplyT(func(v CommonPrivateLinkServiceResponse) *CommonPrivateLinkServicePropertiesVisibilityResponse {
- return v.Visibility
- }).(CommonPrivateLinkServicePropertiesVisibilityResponsePtrOutput)
+// ConnectionMonitorEndpointFilterItemArrayInput is an input type that accepts ConnectionMonitorEndpointFilterItemArray and ConnectionMonitorEndpointFilterItemArrayOutput values.
+// You can construct a concrete instance of `ConnectionMonitorEndpointFilterItemArrayInput` via:
+//
+// ConnectionMonitorEndpointFilterItemArray{ ConnectionMonitorEndpointFilterItemArgs{...} }
+type ConnectionMonitorEndpointFilterItemArrayInput interface {
+ pulumi.Input
+
+ ToConnectionMonitorEndpointFilterItemArrayOutput() ConnectionMonitorEndpointFilterItemArrayOutput
+ ToConnectionMonitorEndpointFilterItemArrayOutputWithContext(context.Context) ConnectionMonitorEndpointFilterItemArrayOutput
}
-type CommonPrivateLinkServiceResponsePtrOutput struct{ *pulumi.OutputState }
+type ConnectionMonitorEndpointFilterItemArray []ConnectionMonitorEndpointFilterItemInput
-func (CommonPrivateLinkServiceResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonPrivateLinkServiceResponse)(nil)).Elem()
+func (ConnectionMonitorEndpointFilterItemArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorEndpointFilterItem)(nil)).Elem()
}
-func (o CommonPrivateLinkServiceResponsePtrOutput) ToCommonPrivateLinkServiceResponsePtrOutput() CommonPrivateLinkServiceResponsePtrOutput {
- return o
+func (i ConnectionMonitorEndpointFilterItemArray) ToConnectionMonitorEndpointFilterItemArrayOutput() ConnectionMonitorEndpointFilterItemArrayOutput {
+ return i.ToConnectionMonitorEndpointFilterItemArrayOutputWithContext(context.Background())
}
-func (o CommonPrivateLinkServiceResponsePtrOutput) ToCommonPrivateLinkServiceResponsePtrOutputWithContext(ctx context.Context) CommonPrivateLinkServiceResponsePtrOutput {
- return o
+func (i ConnectionMonitorEndpointFilterItemArray) ToConnectionMonitorEndpointFilterItemArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterItemArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointFilterItemArrayOutput)
}
-func (o CommonPrivateLinkServiceResponsePtrOutput) Elem() CommonPrivateLinkServiceResponseOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) CommonPrivateLinkServiceResponse {
- if v != nil {
- return *v
- }
- var ret CommonPrivateLinkServiceResponse
- return ret
- }).(CommonPrivateLinkServiceResponseOutput)
-}
+// Describes the connection monitor endpoint filter item.
+type ConnectionMonitorEndpointFilterItemOutput struct{ *pulumi.OutputState }
-// The access mode of the private link service.
-func (o CommonPrivateLinkServiceResponsePtrOutput) AccessMode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) *string {
- if v == nil {
- return nil
- }
- return v.AccessMode
- }).(pulumi.StringPtrOutput)
+func (ConnectionMonitorEndpointFilterItemOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpointFilterItem)(nil)).Elem()
}
-// The alias of the private link service.
-func (o CommonPrivateLinkServiceResponsePtrOutput) Alias() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Alias
- }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorEndpointFilterItemOutput) ToConnectionMonitorEndpointFilterItemOutput() ConnectionMonitorEndpointFilterItemOutput {
+ return o
}
-// The auto-approval list of the private link service.
-func (o CommonPrivateLinkServiceResponsePtrOutput) AutoApproval() CommonPrivateLinkServicePropertiesAutoApprovalResponsePtrOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) *CommonPrivateLinkServicePropertiesAutoApprovalResponse {
- if v == nil {
- return nil
- }
- return v.AutoApproval
- }).(CommonPrivateLinkServicePropertiesAutoApprovalResponsePtrOutput)
+func (o ConnectionMonitorEndpointFilterItemOutput) ToConnectionMonitorEndpointFilterItemOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterItemOutput {
+ return o
}
-// The destination IP address of the private link service.
-func (o CommonPrivateLinkServiceResponsePtrOutput) DestinationIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) *string {
- if v == nil {
- return nil
- }
- return v.DestinationIPAddress
- }).(pulumi.StringPtrOutput)
+// The address of the filter item.
+func (o ConnectionMonitorEndpointFilterItemOutput) Address() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointFilterItem) *string { return v.Address }).(pulumi.StringPtrOutput)
}
-// Whether the private link service is enabled for proxy protocol or not.
-func (o CommonPrivateLinkServiceResponsePtrOutput) EnableProxyProtocol() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) *bool {
- if v == nil {
- return nil
- }
- return v.EnableProxyProtocol
- }).(pulumi.BoolPtrOutput)
+// The type of item included in the filter. Currently only 'AgentAddress' is supported.
+func (o ConnectionMonitorEndpointFilterItemOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointFilterItem) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonPrivateLinkServiceResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Etag
- }).(pulumi.StringPtrOutput)
+type ConnectionMonitorEndpointFilterItemArrayOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorEndpointFilterItemArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorEndpointFilterItem)(nil)).Elem()
}
-// The extended location of the load balancer.
-func (o CommonPrivateLinkServiceResponsePtrOutput) ExtendedLocation() CommonExtendedLocationResponsePtrOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) *CommonExtendedLocationResponse {
- if v == nil {
- return nil
- }
- return v.ExtendedLocation
- }).(CommonExtendedLocationResponsePtrOutput)
+func (o ConnectionMonitorEndpointFilterItemArrayOutput) ToConnectionMonitorEndpointFilterItemArrayOutput() ConnectionMonitorEndpointFilterItemArrayOutput {
+ return o
}
-// The list of Fqdn.
-func (o CommonPrivateLinkServiceResponsePtrOutput) Fqdns() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) []string {
- if v == nil {
- return nil
- }
- return v.Fqdns
- }).(pulumi.StringArrayOutput)
+func (o ConnectionMonitorEndpointFilterItemArrayOutput) ToConnectionMonitorEndpointFilterItemArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterItemArrayOutput {
+ return o
}
-// Resource ID.
-func (o CommonPrivateLinkServiceResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorEndpointFilterItemArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorEndpointFilterItemOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorEndpointFilterItem {
+ return vs[0].([]ConnectionMonitorEndpointFilterItem)[vs[1].(int)]
+ }).(ConnectionMonitorEndpointFilterItemOutput)
}
-// An array of private link service IP configurations.
-func (o CommonPrivateLinkServiceResponsePtrOutput) IpConfigurations() CommonPrivateLinkServiceIpConfigurationResponseArrayOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) []CommonPrivateLinkServiceIpConfigurationResponse {
- if v == nil {
- return nil
- }
- return v.IpConfigurations
- }).(CommonPrivateLinkServiceIpConfigurationResponseArrayOutput)
+// Describes the connection monitor endpoint filter item.
+type ConnectionMonitorEndpointFilterItemResponse struct {
+ // The address of the filter item.
+ Address *string `pulumi:"address"`
+ // The type of item included in the filter. Currently only 'AgentAddress' is supported.
+ Type *string `pulumi:"type"`
}
-// An array of references to the load balancer IP configurations.
-func (o CommonPrivateLinkServiceResponsePtrOutput) LoadBalancerFrontendIpConfigurations() CommonFrontendIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) []CommonFrontendIPConfigurationResponse {
- if v == nil {
- return nil
- }
- return v.LoadBalancerFrontendIpConfigurations
- }).(CommonFrontendIPConfigurationResponseArrayOutput)
+// Describes the connection monitor endpoint filter item.
+type ConnectionMonitorEndpointFilterItemResponseOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorEndpointFilterItemResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpointFilterItemResponse)(nil)).Elem()
}
-// Resource location.
-func (o CommonPrivateLinkServiceResponsePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorEndpointFilterItemResponseOutput) ToConnectionMonitorEndpointFilterItemResponseOutput() ConnectionMonitorEndpointFilterItemResponseOutput {
+ return o
}
-// Resource name.
-func (o CommonPrivateLinkServiceResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Name
- }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorEndpointFilterItemResponseOutput) ToConnectionMonitorEndpointFilterItemResponseOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterItemResponseOutput {
+ return o
}
-// An array of references to the network interfaces created for this private link service.
-func (o CommonPrivateLinkServiceResponsePtrOutput) NetworkInterfaces() CommonNetworkInterfaceResponseArrayOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) []CommonNetworkInterfaceResponse {
- if v == nil {
- return nil
- }
- return v.NetworkInterfaces
- }).(CommonNetworkInterfaceResponseArrayOutput)
+// The address of the filter item.
+func (o ConnectionMonitorEndpointFilterItemResponseOutput) Address() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointFilterItemResponse) *string { return v.Address }).(pulumi.StringPtrOutput)
}
-// An array of list about connections to the private endpoint.
-func (o CommonPrivateLinkServiceResponsePtrOutput) PrivateEndpointConnections() CommonPrivateEndpointConnectionResponseArrayOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) []CommonPrivateEndpointConnectionResponse {
- if v == nil {
- return nil
- }
- return v.PrivateEndpointConnections
- }).(CommonPrivateEndpointConnectionResponseArrayOutput)
+// The type of item included in the filter. Currently only 'AgentAddress' is supported.
+func (o ConnectionMonitorEndpointFilterItemResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointFilterItemResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the private link service resource.
-func (o CommonPrivateLinkServiceResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+type ConnectionMonitorEndpointFilterItemResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorEndpointFilterItemResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorEndpointFilterItemResponse)(nil)).Elem()
}
-// Resource tags.
-func (o CommonPrivateLinkServiceResponsePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) map[string]string {
- if v == nil {
- return nil
- }
- return v.Tags
- }).(pulumi.StringMapOutput)
+func (o ConnectionMonitorEndpointFilterItemResponseArrayOutput) ToConnectionMonitorEndpointFilterItemResponseArrayOutput() ConnectionMonitorEndpointFilterItemResponseArrayOutput {
+ return o
}
-// Resource type.
-func (o CommonPrivateLinkServiceResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Type
- }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorEndpointFilterItemResponseArrayOutput) ToConnectionMonitorEndpointFilterItemResponseArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterItemResponseArrayOutput {
+ return o
}
-// The visibility list of the private link service.
-func (o CommonPrivateLinkServiceResponsePtrOutput) Visibility() CommonPrivateLinkServicePropertiesVisibilityResponsePtrOutput {
- return o.ApplyT(func(v *CommonPrivateLinkServiceResponse) *CommonPrivateLinkServicePropertiesVisibilityResponse {
- if v == nil {
- return nil
- }
- return v.Visibility
- }).(CommonPrivateLinkServicePropertiesVisibilityResponsePtrOutput)
+func (o ConnectionMonitorEndpointFilterItemResponseArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorEndpointFilterItemResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorEndpointFilterItemResponse {
+ return vs[0].([]ConnectionMonitorEndpointFilterItemResponse)[vs[1].(int)]
+ }).(ConnectionMonitorEndpointFilterItemResponseOutput)
}
-// Contains FQDN of the DNS record associated with the public IP address.
-type CommonPublicIPAddressDnsSettingsResponse struct {
- // The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
- DomainNameLabel *string `pulumi:"domainNameLabel"`
- // The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
- DomainNameLabelScope *string `pulumi:"domainNameLabelScope"`
- // The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
- Fqdn *string `pulumi:"fqdn"`
- // The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
- ReverseFqdn *string `pulumi:"reverseFqdn"`
+// Describes the connection monitor endpoint filter.
+type ConnectionMonitorEndpointFilterResponse struct {
+ // List of items in the filter.
+ Items []ConnectionMonitorEndpointFilterItemResponse `pulumi:"items"`
+ // The behavior of the endpoint filter. Currently only 'Include' is supported.
+ Type *string `pulumi:"type"`
}
-// Contains FQDN of the DNS record associated with the public IP address.
-type CommonPublicIPAddressDnsSettingsResponseOutput struct{ *pulumi.OutputState }
+// Describes the connection monitor endpoint filter.
+type ConnectionMonitorEndpointFilterResponseOutput struct{ *pulumi.OutputState }
-func (CommonPublicIPAddressDnsSettingsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonPublicIPAddressDnsSettingsResponse)(nil)).Elem()
+func (ConnectionMonitorEndpointFilterResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpointFilterResponse)(nil)).Elem()
}
-func (o CommonPublicIPAddressDnsSettingsResponseOutput) ToCommonPublicIPAddressDnsSettingsResponseOutput() CommonPublicIPAddressDnsSettingsResponseOutput {
+func (o ConnectionMonitorEndpointFilterResponseOutput) ToConnectionMonitorEndpointFilterResponseOutput() ConnectionMonitorEndpointFilterResponseOutput {
return o
}
-func (o CommonPublicIPAddressDnsSettingsResponseOutput) ToCommonPublicIPAddressDnsSettingsResponseOutputWithContext(ctx context.Context) CommonPublicIPAddressDnsSettingsResponseOutput {
+func (o ConnectionMonitorEndpointFilterResponseOutput) ToConnectionMonitorEndpointFilterResponseOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterResponseOutput {
return o
}
-// The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
-func (o CommonPublicIPAddressDnsSettingsResponseOutput) DomainNameLabel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressDnsSettingsResponse) *string { return v.DomainNameLabel }).(pulumi.StringPtrOutput)
-}
-
-// The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
-func (o CommonPublicIPAddressDnsSettingsResponseOutput) DomainNameLabelScope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressDnsSettingsResponse) *string { return v.DomainNameLabelScope }).(pulumi.StringPtrOutput)
-}
-
-// The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
-func (o CommonPublicIPAddressDnsSettingsResponseOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressDnsSettingsResponse) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
+// List of items in the filter.
+func (o ConnectionMonitorEndpointFilterResponseOutput) Items() ConnectionMonitorEndpointFilterItemResponseArrayOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointFilterResponse) []ConnectionMonitorEndpointFilterItemResponse {
+ return v.Items
+ }).(ConnectionMonitorEndpointFilterItemResponseArrayOutput)
}
-// The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
-func (o CommonPublicIPAddressDnsSettingsResponseOutput) ReverseFqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressDnsSettingsResponse) *string { return v.ReverseFqdn }).(pulumi.StringPtrOutput)
+// The behavior of the endpoint filter. Currently only 'Include' is supported.
+func (o ConnectionMonitorEndpointFilterResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointFilterResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-type CommonPublicIPAddressDnsSettingsResponsePtrOutput struct{ *pulumi.OutputState }
+type ConnectionMonitorEndpointFilterResponsePtrOutput struct{ *pulumi.OutputState }
-func (CommonPublicIPAddressDnsSettingsResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonPublicIPAddressDnsSettingsResponse)(nil)).Elem()
+func (ConnectionMonitorEndpointFilterResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorEndpointFilterResponse)(nil)).Elem()
}
-func (o CommonPublicIPAddressDnsSettingsResponsePtrOutput) ToCommonPublicIPAddressDnsSettingsResponsePtrOutput() CommonPublicIPAddressDnsSettingsResponsePtrOutput {
+func (o ConnectionMonitorEndpointFilterResponsePtrOutput) ToConnectionMonitorEndpointFilterResponsePtrOutput() ConnectionMonitorEndpointFilterResponsePtrOutput {
return o
}
-func (o CommonPublicIPAddressDnsSettingsResponsePtrOutput) ToCommonPublicIPAddressDnsSettingsResponsePtrOutputWithContext(ctx context.Context) CommonPublicIPAddressDnsSettingsResponsePtrOutput {
+func (o ConnectionMonitorEndpointFilterResponsePtrOutput) ToConnectionMonitorEndpointFilterResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterResponsePtrOutput {
return o
}
-func (o CommonPublicIPAddressDnsSettingsResponsePtrOutput) Elem() CommonPublicIPAddressDnsSettingsResponseOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressDnsSettingsResponse) CommonPublicIPAddressDnsSettingsResponse {
+func (o ConnectionMonitorEndpointFilterResponsePtrOutput) Elem() ConnectionMonitorEndpointFilterResponseOutput {
+ return o.ApplyT(func(v *ConnectionMonitorEndpointFilterResponse) ConnectionMonitorEndpointFilterResponse {
if v != nil {
return *v
}
- var ret CommonPublicIPAddressDnsSettingsResponse
+ var ret ConnectionMonitorEndpointFilterResponse
return ret
- }).(CommonPublicIPAddressDnsSettingsResponseOutput)
+ }).(ConnectionMonitorEndpointFilterResponseOutput)
}
-// The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
-func (o CommonPublicIPAddressDnsSettingsResponsePtrOutput) DomainNameLabel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressDnsSettingsResponse) *string {
+// List of items in the filter.
+func (o ConnectionMonitorEndpointFilterResponsePtrOutput) Items() ConnectionMonitorEndpointFilterItemResponseArrayOutput {
+ return o.ApplyT(func(v *ConnectionMonitorEndpointFilterResponse) []ConnectionMonitorEndpointFilterItemResponse {
if v == nil {
return nil
}
- return v.DomainNameLabel
- }).(pulumi.StringPtrOutput)
+ return v.Items
+ }).(ConnectionMonitorEndpointFilterItemResponseArrayOutput)
}
-// The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
-func (o CommonPublicIPAddressDnsSettingsResponsePtrOutput) DomainNameLabelScope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressDnsSettingsResponse) *string {
+// The behavior of the endpoint filter. Currently only 'Include' is supported.
+func (o ConnectionMonitorEndpointFilterResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorEndpointFilterResponse) *string {
if v == nil {
return nil
}
- return v.DomainNameLabelScope
+ return v.Type
}).(pulumi.StringPtrOutput)
}
-// The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
-func (o CommonPublicIPAddressDnsSettingsResponsePtrOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressDnsSettingsResponse) *string {
- if v == nil {
- return nil
- }
- return v.Fqdn
- }).(pulumi.StringPtrOutput)
+// Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the region details.
+type ConnectionMonitorEndpointLocationDetails struct {
+ // Region for connection monitor endpoint.
+ Region *string `pulumi:"region"`
}
-// The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
-func (o CommonPublicIPAddressDnsSettingsResponsePtrOutput) ReverseFqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressDnsSettingsResponse) *string {
- if v == nil {
- return nil
- }
- return v.ReverseFqdn
- }).(pulumi.StringPtrOutput)
-}
+// ConnectionMonitorEndpointLocationDetailsInput is an input type that accepts ConnectionMonitorEndpointLocationDetailsArgs and ConnectionMonitorEndpointLocationDetailsOutput values.
+// You can construct a concrete instance of `ConnectionMonitorEndpointLocationDetailsInput` via:
+//
+// ConnectionMonitorEndpointLocationDetailsArgs{...}
+type ConnectionMonitorEndpointLocationDetailsInput interface {
+ pulumi.Input
-// Public IP address resource.
-type CommonPublicIPAddressResponse struct {
- // The DDoS protection custom policy associated with the public IP address.
- DdosSettings *CommonDdosSettingsResponse `pulumi:"ddosSettings"`
- // Specify what happens to the public IP address when the VM using it is deleted
- DeleteOption *string `pulumi:"deleteOption"`
- // The FQDN of the DNS record associated with the public IP address.
- DnsSettings *CommonPublicIPAddressDnsSettingsResponse `pulumi:"dnsSettings"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The extended location of the public ip address.
- ExtendedLocation *CommonExtendedLocationResponse `pulumi:"extendedLocation"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The idle timeout of the public IP address.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
- // The IP address associated with the public IP address resource.
- IpAddress *string `pulumi:"ipAddress"`
- // The IP configuration associated with the public IP address.
- IpConfiguration CommonIPConfigurationResponse `pulumi:"ipConfiguration"`
- // The list of tags associated with the public IP address.
- IpTags []CommonIpTagResponse `pulumi:"ipTags"`
- // The linked public IP address of the public IP address resource.
- LinkedPublicIPAddress *CommonPublicIPAddressResponse `pulumi:"linkedPublicIPAddress"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Migration phase of Public IP Address.
- MigrationPhase *string `pulumi:"migrationPhase"`
- // Resource name.
- Name string `pulumi:"name"`
- // The NatGateway for the Public IP address.
- NatGateway *CommonNatGatewayResponse `pulumi:"natGateway"`
- // The provisioning state of the public IP address resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The public IP address version.
- PublicIPAddressVersion *string `pulumi:"publicIPAddressVersion"`
- // The public IP address allocation method.
- PublicIPAllocationMethod *string `pulumi:"publicIPAllocationMethod"`
- // The Public IP Prefix this Public IP Address should be allocated from.
- PublicIPPrefix *CommonSubResourceResponse `pulumi:"publicIPPrefix"`
- // The resource GUID property of the public IP address resource.
- ResourceGuid string `pulumi:"resourceGuid"`
- // The service public IP address of the public IP address resource.
- ServicePublicIPAddress *CommonPublicIPAddressResponse `pulumi:"servicePublicIPAddress"`
- // The public IP address SKU.
- Sku *CommonPublicIPAddressSkuResponse `pulumi:"sku"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
- // A list of availability zones denoting the IP allocated for the resource needs to come from.
- Zones []string `pulumi:"zones"`
+ ToConnectionMonitorEndpointLocationDetailsOutput() ConnectionMonitorEndpointLocationDetailsOutput
+ ToConnectionMonitorEndpointLocationDetailsOutputWithContext(context.Context) ConnectionMonitorEndpointLocationDetailsOutput
}
-// Defaults sets the appropriate defaults for CommonPublicIPAddressResponse
-func (val *CommonPublicIPAddressResponse) Defaults() *CommonPublicIPAddressResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.IpConfiguration = *tmp.IpConfiguration.Defaults()
-
- tmp.LinkedPublicIPAddress = tmp.LinkedPublicIPAddress.Defaults()
-
- tmp.ServicePublicIPAddress = tmp.ServicePublicIPAddress.Defaults()
-
- return &tmp
+// Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the region details.
+type ConnectionMonitorEndpointLocationDetailsArgs struct {
+ // Region for connection monitor endpoint.
+ Region pulumi.StringPtrInput `pulumi:"region"`
}
-// Public IP address resource.
-type CommonPublicIPAddressResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonPublicIPAddressResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonPublicIPAddressResponse)(nil)).Elem()
+func (ConnectionMonitorEndpointLocationDetailsArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpointLocationDetails)(nil)).Elem()
}
-func (o CommonPublicIPAddressResponseOutput) ToCommonPublicIPAddressResponseOutput() CommonPublicIPAddressResponseOutput {
- return o
+func (i ConnectionMonitorEndpointLocationDetailsArgs) ToConnectionMonitorEndpointLocationDetailsOutput() ConnectionMonitorEndpointLocationDetailsOutput {
+ return i.ToConnectionMonitorEndpointLocationDetailsOutputWithContext(context.Background())
}
-func (o CommonPublicIPAddressResponseOutput) ToCommonPublicIPAddressResponseOutputWithContext(ctx context.Context) CommonPublicIPAddressResponseOutput {
- return o
+func (i ConnectionMonitorEndpointLocationDetailsArgs) ToConnectionMonitorEndpointLocationDetailsOutputWithContext(ctx context.Context) ConnectionMonitorEndpointLocationDetailsOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointLocationDetailsOutput)
}
-// The DDoS protection custom policy associated with the public IP address.
-func (o CommonPublicIPAddressResponseOutput) DdosSettings() CommonDdosSettingsResponsePtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) *CommonDdosSettingsResponse { return v.DdosSettings }).(CommonDdosSettingsResponsePtrOutput)
+func (i ConnectionMonitorEndpointLocationDetailsArgs) ToConnectionMonitorEndpointLocationDetailsPtrOutput() ConnectionMonitorEndpointLocationDetailsPtrOutput {
+ return i.ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(context.Background())
}
-// Specify what happens to the public IP address when the VM using it is deleted
-func (o CommonPublicIPAddressResponseOutput) DeleteOption() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) *string { return v.DeleteOption }).(pulumi.StringPtrOutput)
+func (i ConnectionMonitorEndpointLocationDetailsArgs) ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointLocationDetailsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointLocationDetailsOutput).ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(ctx)
}
-// The FQDN of the DNS record associated with the public IP address.
-func (o CommonPublicIPAddressResponseOutput) DnsSettings() CommonPublicIPAddressDnsSettingsResponsePtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) *CommonPublicIPAddressDnsSettingsResponse { return v.DnsSettings }).(CommonPublicIPAddressDnsSettingsResponsePtrOutput)
-}
+// ConnectionMonitorEndpointLocationDetailsPtrInput is an input type that accepts ConnectionMonitorEndpointLocationDetailsArgs, ConnectionMonitorEndpointLocationDetailsPtr and ConnectionMonitorEndpointLocationDetailsPtrOutput values.
+// You can construct a concrete instance of `ConnectionMonitorEndpointLocationDetailsPtrInput` via:
+//
+// ConnectionMonitorEndpointLocationDetailsArgs{...}
+//
+// or:
+//
+// nil
+type ConnectionMonitorEndpointLocationDetailsPtrInput interface {
+ pulumi.Input
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonPublicIPAddressResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) string { return v.Etag }).(pulumi.StringOutput)
+ ToConnectionMonitorEndpointLocationDetailsPtrOutput() ConnectionMonitorEndpointLocationDetailsPtrOutput
+ ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(context.Context) ConnectionMonitorEndpointLocationDetailsPtrOutput
}
-// The extended location of the public ip address.
-func (o CommonPublicIPAddressResponseOutput) ExtendedLocation() CommonExtendedLocationResponsePtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) *CommonExtendedLocationResponse { return v.ExtendedLocation }).(CommonExtendedLocationResponsePtrOutput)
-}
+type connectionMonitorEndpointLocationDetailsPtrType ConnectionMonitorEndpointLocationDetailsArgs
-// Resource ID.
-func (o CommonPublicIPAddressResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func ConnectionMonitorEndpointLocationDetailsPtr(v *ConnectionMonitorEndpointLocationDetailsArgs) ConnectionMonitorEndpointLocationDetailsPtrInput {
+ return (*connectionMonitorEndpointLocationDetailsPtrType)(v)
}
-// The idle timeout of the public IP address.
-func (o CommonPublicIPAddressResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+func (*connectionMonitorEndpointLocationDetailsPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorEndpointLocationDetails)(nil)).Elem()
}
-// The IP address associated with the public IP address resource.
-func (o CommonPublicIPAddressResponseOutput) IpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
+func (i *connectionMonitorEndpointLocationDetailsPtrType) ToConnectionMonitorEndpointLocationDetailsPtrOutput() ConnectionMonitorEndpointLocationDetailsPtrOutput {
+ return i.ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(context.Background())
}
-// The IP configuration associated with the public IP address.
-func (o CommonPublicIPAddressResponseOutput) IpConfiguration() CommonIPConfigurationResponseOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) CommonIPConfigurationResponse { return v.IpConfiguration }).(CommonIPConfigurationResponseOutput)
+func (i *connectionMonitorEndpointLocationDetailsPtrType) ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointLocationDetailsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointLocationDetailsPtrOutput)
}
-// The list of tags associated with the public IP address.
-func (o CommonPublicIPAddressResponseOutput) IpTags() CommonIpTagResponseArrayOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) []CommonIpTagResponse { return v.IpTags }).(CommonIpTagResponseArrayOutput)
+// Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the region details.
+type ConnectionMonitorEndpointLocationDetailsOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorEndpointLocationDetailsOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpointLocationDetails)(nil)).Elem()
}
-// The linked public IP address of the public IP address resource.
-func (o CommonPublicIPAddressResponseOutput) LinkedPublicIPAddress() CommonPublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) *CommonPublicIPAddressResponse { return v.LinkedPublicIPAddress }).(CommonPublicIPAddressResponsePtrOutput)
+func (o ConnectionMonitorEndpointLocationDetailsOutput) ToConnectionMonitorEndpointLocationDetailsOutput() ConnectionMonitorEndpointLocationDetailsOutput {
+ return o
}
-// Resource location.
-func (o CommonPublicIPAddressResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorEndpointLocationDetailsOutput) ToConnectionMonitorEndpointLocationDetailsOutputWithContext(ctx context.Context) ConnectionMonitorEndpointLocationDetailsOutput {
+ return o
}
-// Migration phase of Public IP Address.
-func (o CommonPublicIPAddressResponseOutput) MigrationPhase() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) *string { return v.MigrationPhase }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorEndpointLocationDetailsOutput) ToConnectionMonitorEndpointLocationDetailsPtrOutput() ConnectionMonitorEndpointLocationDetailsPtrOutput {
+ return o.ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(context.Background())
}
-// Resource name.
-func (o CommonPublicIPAddressResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) string { return v.Name }).(pulumi.StringOutput)
+func (o ConnectionMonitorEndpointLocationDetailsOutput) ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointLocationDetailsPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorEndpointLocationDetails) *ConnectionMonitorEndpointLocationDetails {
+ return &v
+ }).(ConnectionMonitorEndpointLocationDetailsPtrOutput)
}
-// The NatGateway for the Public IP address.
-func (o CommonPublicIPAddressResponseOutput) NatGateway() CommonNatGatewayResponsePtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) *CommonNatGatewayResponse { return v.NatGateway }).(CommonNatGatewayResponsePtrOutput)
+// Region for connection monitor endpoint.
+func (o ConnectionMonitorEndpointLocationDetailsOutput) Region() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointLocationDetails) *string { return v.Region }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the public IP address resource.
-func (o CommonPublicIPAddressResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+type ConnectionMonitorEndpointLocationDetailsPtrOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorEndpointLocationDetailsPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorEndpointLocationDetails)(nil)).Elem()
}
-// The public IP address version.
-func (o CommonPublicIPAddressResponseOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) *string { return v.PublicIPAddressVersion }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorEndpointLocationDetailsPtrOutput) ToConnectionMonitorEndpointLocationDetailsPtrOutput() ConnectionMonitorEndpointLocationDetailsPtrOutput {
+ return o
}
-// The public IP address allocation method.
-func (o CommonPublicIPAddressResponseOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) *string { return v.PublicIPAllocationMethod }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorEndpointLocationDetailsPtrOutput) ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointLocationDetailsPtrOutput {
+ return o
}
-// The Public IP Prefix this Public IP Address should be allocated from.
-func (o CommonPublicIPAddressResponseOutput) PublicIPPrefix() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) *CommonSubResourceResponse { return v.PublicIPPrefix }).(CommonSubResourceResponsePtrOutput)
+func (o ConnectionMonitorEndpointLocationDetailsPtrOutput) Elem() ConnectionMonitorEndpointLocationDetailsOutput {
+ return o.ApplyT(func(v *ConnectionMonitorEndpointLocationDetails) ConnectionMonitorEndpointLocationDetails {
+ if v != nil {
+ return *v
+ }
+ var ret ConnectionMonitorEndpointLocationDetails
+ return ret
+ }).(ConnectionMonitorEndpointLocationDetailsOutput)
}
-// The resource GUID property of the public IP address resource.
-func (o CommonPublicIPAddressResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// Region for connection monitor endpoint.
+func (o ConnectionMonitorEndpointLocationDetailsPtrOutput) Region() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorEndpointLocationDetails) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Region
+ }).(pulumi.StringPtrOutput)
}
-// The service public IP address of the public IP address resource.
-func (o CommonPublicIPAddressResponseOutput) ServicePublicIPAddress() CommonPublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) *CommonPublicIPAddressResponse { return v.ServicePublicIPAddress }).(CommonPublicIPAddressResponsePtrOutput)
+// Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the region details.
+type ConnectionMonitorEndpointLocationDetailsResponse struct {
+ // Region for connection monitor endpoint.
+ Region *string `pulumi:"region"`
}
-// The public IP address SKU.
-func (o CommonPublicIPAddressResponseOutput) Sku() CommonPublicIPAddressSkuResponsePtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) *CommonPublicIPAddressSkuResponse { return v.Sku }).(CommonPublicIPAddressSkuResponsePtrOutput)
+// Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the region details.
+type ConnectionMonitorEndpointLocationDetailsResponseOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorEndpointLocationDetailsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpointLocationDetailsResponse)(nil)).Elem()
}
-// Resource tags.
-func (o CommonPublicIPAddressResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+func (o ConnectionMonitorEndpointLocationDetailsResponseOutput) ToConnectionMonitorEndpointLocationDetailsResponseOutput() ConnectionMonitorEndpointLocationDetailsResponseOutput {
+ return o
}
-// Resource type.
-func (o CommonPublicIPAddressResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) string { return v.Type }).(pulumi.StringOutput)
+func (o ConnectionMonitorEndpointLocationDetailsResponseOutput) ToConnectionMonitorEndpointLocationDetailsResponseOutputWithContext(ctx context.Context) ConnectionMonitorEndpointLocationDetailsResponseOutput {
+ return o
}
-// A list of availability zones denoting the IP allocated for the resource needs to come from.
-func (o CommonPublicIPAddressResponseOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonPublicIPAddressResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
+// Region for connection monitor endpoint.
+func (o ConnectionMonitorEndpointLocationDetailsResponseOutput) Region() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointLocationDetailsResponse) *string { return v.Region }).(pulumi.StringPtrOutput)
}
-type CommonPublicIPAddressResponsePtrOutput struct{ *pulumi.OutputState }
+type ConnectionMonitorEndpointLocationDetailsResponsePtrOutput struct{ *pulumi.OutputState }
-func (CommonPublicIPAddressResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonPublicIPAddressResponse)(nil)).Elem()
+func (ConnectionMonitorEndpointLocationDetailsResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorEndpointLocationDetailsResponse)(nil)).Elem()
}
-func (o CommonPublicIPAddressResponsePtrOutput) ToCommonPublicIPAddressResponsePtrOutput() CommonPublicIPAddressResponsePtrOutput {
+func (o ConnectionMonitorEndpointLocationDetailsResponsePtrOutput) ToConnectionMonitorEndpointLocationDetailsResponsePtrOutput() ConnectionMonitorEndpointLocationDetailsResponsePtrOutput {
return o
}
-func (o CommonPublicIPAddressResponsePtrOutput) ToCommonPublicIPAddressResponsePtrOutputWithContext(ctx context.Context) CommonPublicIPAddressResponsePtrOutput {
+func (o ConnectionMonitorEndpointLocationDetailsResponsePtrOutput) ToConnectionMonitorEndpointLocationDetailsResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointLocationDetailsResponsePtrOutput {
return o
}
-func (o CommonPublicIPAddressResponsePtrOutput) Elem() CommonPublicIPAddressResponseOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) CommonPublicIPAddressResponse {
+func (o ConnectionMonitorEndpointLocationDetailsResponsePtrOutput) Elem() ConnectionMonitorEndpointLocationDetailsResponseOutput {
+ return o.ApplyT(func(v *ConnectionMonitorEndpointLocationDetailsResponse) ConnectionMonitorEndpointLocationDetailsResponse {
if v != nil {
return *v
}
- var ret CommonPublicIPAddressResponse
+ var ret ConnectionMonitorEndpointLocationDetailsResponse
return ret
- }).(CommonPublicIPAddressResponseOutput)
-}
-
-// The DDoS protection custom policy associated with the public IP address.
-func (o CommonPublicIPAddressResponsePtrOutput) DdosSettings() CommonDdosSettingsResponsePtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *CommonDdosSettingsResponse {
- if v == nil {
- return nil
- }
- return v.DdosSettings
- }).(CommonDdosSettingsResponsePtrOutput)
+ }).(ConnectionMonitorEndpointLocationDetailsResponseOutput)
}
-// Specify what happens to the public IP address when the VM using it is deleted
-func (o CommonPublicIPAddressResponsePtrOutput) DeleteOption() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *string {
+// Region for connection monitor endpoint.
+func (o ConnectionMonitorEndpointLocationDetailsResponsePtrOutput) Region() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorEndpointLocationDetailsResponse) *string {
if v == nil {
return nil
}
- return v.DeleteOption
+ return v.Region
}).(pulumi.StringPtrOutput)
}
-// The FQDN of the DNS record associated with the public IP address.
-func (o CommonPublicIPAddressResponsePtrOutput) DnsSettings() CommonPublicIPAddressDnsSettingsResponsePtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *CommonPublicIPAddressDnsSettingsResponse {
- if v == nil {
- return nil
- }
- return v.DnsSettings
- }).(CommonPublicIPAddressDnsSettingsResponsePtrOutput)
+// Describes the connection monitor endpoint.
+type ConnectionMonitorEndpointResponse struct {
+ // Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
+ Address *string `pulumi:"address"`
+ // Test coverage for the endpoint.
+ CoverageLevel *string `pulumi:"coverageLevel"`
+ // Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
+ Filter *ConnectionMonitorEndpointFilterResponse `pulumi:"filter"`
+ // Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
+ LocationDetails *ConnectionMonitorEndpointLocationDetailsResponse `pulumi:"locationDetails"`
+ // The name of the connection monitor endpoint.
+ Name string `pulumi:"name"`
+ // Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
+ ResourceId *string `pulumi:"resourceId"`
+ // Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
+ Scope *ConnectionMonitorEndpointScopeResponse `pulumi:"scope"`
+ // Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
+ SubscriptionId *string `pulumi:"subscriptionId"`
+ // The endpoint type.
+ Type *string `pulumi:"type"`
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonPublicIPAddressResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Etag
- }).(pulumi.StringPtrOutput)
-}
+// Describes the connection monitor endpoint.
+type ConnectionMonitorEndpointResponseOutput struct{ *pulumi.OutputState }
-// The extended location of the public ip address.
-func (o CommonPublicIPAddressResponsePtrOutput) ExtendedLocation() CommonExtendedLocationResponsePtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *CommonExtendedLocationResponse {
- if v == nil {
- return nil
- }
- return v.ExtendedLocation
- }).(CommonExtendedLocationResponsePtrOutput)
+func (ConnectionMonitorEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpointResponse)(nil)).Elem()
}
-// Resource ID.
-func (o CommonPublicIPAddressResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorEndpointResponseOutput) ToConnectionMonitorEndpointResponseOutput() ConnectionMonitorEndpointResponseOutput {
+ return o
}
-// The idle timeout of the public IP address.
-func (o CommonPublicIPAddressResponsePtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *int {
- if v == nil {
- return nil
- }
- return v.IdleTimeoutInMinutes
- }).(pulumi.IntPtrOutput)
+func (o ConnectionMonitorEndpointResponseOutput) ToConnectionMonitorEndpointResponseOutputWithContext(ctx context.Context) ConnectionMonitorEndpointResponseOutput {
+ return o
}
-// The IP address associated with the public IP address resource.
-func (o CommonPublicIPAddressResponsePtrOutput) IpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return v.IpAddress
- }).(pulumi.StringPtrOutput)
+// Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
+func (o ConnectionMonitorEndpointResponseOutput) Address() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointResponse) *string { return v.Address }).(pulumi.StringPtrOutput)
}
-// The IP configuration associated with the public IP address.
-func (o CommonPublicIPAddressResponsePtrOutput) IpConfiguration() CommonIPConfigurationResponsePtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *CommonIPConfigurationResponse {
- if v == nil {
- return nil
- }
- return &v.IpConfiguration
- }).(CommonIPConfigurationResponsePtrOutput)
-}
-
-// The list of tags associated with the public IP address.
-func (o CommonPublicIPAddressResponsePtrOutput) IpTags() CommonIpTagResponseArrayOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) []CommonIpTagResponse {
- if v == nil {
- return nil
- }
- return v.IpTags
- }).(CommonIpTagResponseArrayOutput)
-}
-
-// The linked public IP address of the public IP address resource.
-func (o CommonPublicIPAddressResponsePtrOutput) LinkedPublicIPAddress() CommonPublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *CommonPublicIPAddressResponse {
- if v == nil {
- return nil
- }
- return v.LinkedPublicIPAddress
- }).(CommonPublicIPAddressResponsePtrOutput)
-}
-
-// Resource location.
-func (o CommonPublicIPAddressResponsePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
-}
-
-// Migration phase of Public IP Address.
-func (o CommonPublicIPAddressResponsePtrOutput) MigrationPhase() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return v.MigrationPhase
- }).(pulumi.StringPtrOutput)
-}
-
-// Resource name.
-func (o CommonPublicIPAddressResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Name
- }).(pulumi.StringPtrOutput)
-}
-
-// The NatGateway for the Public IP address.
-func (o CommonPublicIPAddressResponsePtrOutput) NatGateway() CommonNatGatewayResponsePtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *CommonNatGatewayResponse {
- if v == nil {
- return nil
- }
- return v.NatGateway
- }).(CommonNatGatewayResponsePtrOutput)
-}
-
-// The provisioning state of the public IP address resource.
-func (o CommonPublicIPAddressResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ProvisioningState
- }).(pulumi.StringPtrOutput)
-}
-
-// The public IP address version.
-func (o CommonPublicIPAddressResponsePtrOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return v.PublicIPAddressVersion
- }).(pulumi.StringPtrOutput)
-}
-
-// The public IP address allocation method.
-func (o CommonPublicIPAddressResponsePtrOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return v.PublicIPAllocationMethod
- }).(pulumi.StringPtrOutput)
-}
-
-// The Public IP Prefix this Public IP Address should be allocated from.
-func (o CommonPublicIPAddressResponsePtrOutput) PublicIPPrefix() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.PublicIPPrefix
- }).(CommonSubResourceResponsePtrOutput)
+// Test coverage for the endpoint.
+func (o ConnectionMonitorEndpointResponseOutput) CoverageLevel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointResponse) *string { return v.CoverageLevel }).(pulumi.StringPtrOutput)
}
-// The resource GUID property of the public IP address resource.
-func (o CommonPublicIPAddressResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ResourceGuid
- }).(pulumi.StringPtrOutput)
+// Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
+func (o ConnectionMonitorEndpointResponseOutput) Filter() ConnectionMonitorEndpointFilterResponsePtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointResponse) *ConnectionMonitorEndpointFilterResponse { return v.Filter }).(ConnectionMonitorEndpointFilterResponsePtrOutput)
}
-// The service public IP address of the public IP address resource.
-func (o CommonPublicIPAddressResponsePtrOutput) ServicePublicIPAddress() CommonPublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *CommonPublicIPAddressResponse {
- if v == nil {
- return nil
- }
- return v.ServicePublicIPAddress
- }).(CommonPublicIPAddressResponsePtrOutput)
+// Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
+func (o ConnectionMonitorEndpointResponseOutput) LocationDetails() ConnectionMonitorEndpointLocationDetailsResponsePtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointResponse) *ConnectionMonitorEndpointLocationDetailsResponse {
+ return v.LocationDetails
+ }).(ConnectionMonitorEndpointLocationDetailsResponsePtrOutput)
}
-// The public IP address SKU.
-func (o CommonPublicIPAddressResponsePtrOutput) Sku() CommonPublicIPAddressSkuResponsePtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *CommonPublicIPAddressSkuResponse {
- if v == nil {
- return nil
- }
- return v.Sku
- }).(CommonPublicIPAddressSkuResponsePtrOutput)
+// The name of the connection monitor endpoint.
+func (o ConnectionMonitorEndpointResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// Resource tags.
-func (o CommonPublicIPAddressResponsePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) map[string]string {
- if v == nil {
- return nil
- }
- return v.Tags
- }).(pulumi.StringMapOutput)
+// Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
+func (o ConnectionMonitorEndpointResponseOutput) ResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointResponse) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
}
-// Resource type.
-func (o CommonPublicIPAddressResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Type
- }).(pulumi.StringPtrOutput)
+// Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
+func (o ConnectionMonitorEndpointResponseOutput) Scope() ConnectionMonitorEndpointScopeResponsePtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointResponse) *ConnectionMonitorEndpointScopeResponse { return v.Scope }).(ConnectionMonitorEndpointScopeResponsePtrOutput)
}
-// A list of availability zones denoting the IP allocated for the resource needs to come from.
-func (o CommonPublicIPAddressResponsePtrOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressResponse) []string {
- if v == nil {
- return nil
- }
- return v.Zones
- }).(pulumi.StringArrayOutput)
+// Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
+func (o ConnectionMonitorEndpointResponseOutput) SubscriptionId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointResponse) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput)
}
-// SKU of a public IP address.
-type CommonPublicIPAddressSkuResponse struct {
- // Name of a public IP address SKU.
- Name *string `pulumi:"name"`
- // Tier of a public IP address SKU.
- Tier *string `pulumi:"tier"`
+// The endpoint type.
+func (o ConnectionMonitorEndpointResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// SKU of a public IP address.
-type CommonPublicIPAddressSkuResponseOutput struct{ *pulumi.OutputState }
+type ConnectionMonitorEndpointResponseArrayOutput struct{ *pulumi.OutputState }
-func (CommonPublicIPAddressSkuResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonPublicIPAddressSkuResponse)(nil)).Elem()
+func (ConnectionMonitorEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorEndpointResponse)(nil)).Elem()
}
-func (o CommonPublicIPAddressSkuResponseOutput) ToCommonPublicIPAddressSkuResponseOutput() CommonPublicIPAddressSkuResponseOutput {
+func (o ConnectionMonitorEndpointResponseArrayOutput) ToConnectionMonitorEndpointResponseArrayOutput() ConnectionMonitorEndpointResponseArrayOutput {
return o
}
-func (o CommonPublicIPAddressSkuResponseOutput) ToCommonPublicIPAddressSkuResponseOutputWithContext(ctx context.Context) CommonPublicIPAddressSkuResponseOutput {
+func (o ConnectionMonitorEndpointResponseArrayOutput) ToConnectionMonitorEndpointResponseArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointResponseArrayOutput {
return o
}
-// Name of a public IP address SKU.
-func (o CommonPublicIPAddressSkuResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressSkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-// Tier of a public IP address SKU.
-func (o CommonPublicIPAddressSkuResponseOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonPublicIPAddressSkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput)
-}
-
-type CommonPublicIPAddressSkuResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (CommonPublicIPAddressSkuResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonPublicIPAddressSkuResponse)(nil)).Elem()
+func (o ConnectionMonitorEndpointResponseArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorEndpointResponse {
+ return vs[0].([]ConnectionMonitorEndpointResponse)[vs[1].(int)]
+ }).(ConnectionMonitorEndpointResponseOutput)
}
-func (o CommonPublicIPAddressSkuResponsePtrOutput) ToCommonPublicIPAddressSkuResponsePtrOutput() CommonPublicIPAddressSkuResponsePtrOutput {
- return o
+// Describes the connection monitor endpoint scope.
+type ConnectionMonitorEndpointScope struct {
+ // List of items which needs to be excluded from the endpoint scope.
+ Exclude []ConnectionMonitorEndpointScopeItem `pulumi:"exclude"`
+ // List of items which needs to be included to the endpoint scope.
+ Include []ConnectionMonitorEndpointScopeItem `pulumi:"include"`
}
-func (o CommonPublicIPAddressSkuResponsePtrOutput) ToCommonPublicIPAddressSkuResponsePtrOutputWithContext(ctx context.Context) CommonPublicIPAddressSkuResponsePtrOutput {
- return o
-}
+// ConnectionMonitorEndpointScopeInput is an input type that accepts ConnectionMonitorEndpointScopeArgs and ConnectionMonitorEndpointScopeOutput values.
+// You can construct a concrete instance of `ConnectionMonitorEndpointScopeInput` via:
+//
+// ConnectionMonitorEndpointScopeArgs{...}
+type ConnectionMonitorEndpointScopeInput interface {
+ pulumi.Input
-func (o CommonPublicIPAddressSkuResponsePtrOutput) Elem() CommonPublicIPAddressSkuResponseOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressSkuResponse) CommonPublicIPAddressSkuResponse {
- if v != nil {
- return *v
- }
- var ret CommonPublicIPAddressSkuResponse
- return ret
- }).(CommonPublicIPAddressSkuResponseOutput)
+ ToConnectionMonitorEndpointScopeOutput() ConnectionMonitorEndpointScopeOutput
+ ToConnectionMonitorEndpointScopeOutputWithContext(context.Context) ConnectionMonitorEndpointScopeOutput
}
-// Name of a public IP address SKU.
-func (o CommonPublicIPAddressSkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressSkuResponse) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+// Describes the connection monitor endpoint scope.
+type ConnectionMonitorEndpointScopeArgs struct {
+ // List of items which needs to be excluded from the endpoint scope.
+ Exclude ConnectionMonitorEndpointScopeItemArrayInput `pulumi:"exclude"`
+ // List of items which needs to be included to the endpoint scope.
+ Include ConnectionMonitorEndpointScopeItemArrayInput `pulumi:"include"`
}
-// Tier of a public IP address SKU.
-func (o CommonPublicIPAddressSkuResponsePtrOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonPublicIPAddressSkuResponse) *string {
- if v == nil {
- return nil
- }
- return v.Tier
- }).(pulumi.StringPtrOutput)
+func (ConnectionMonitorEndpointScopeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpointScope)(nil)).Elem()
}
-// ResourceNavigationLink resource.
-type CommonResourceNavigationLinkResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id string `pulumi:"id"`
- // Link to the external resource.
- Link *string `pulumi:"link"`
- // Resource type of the linked resource.
- LinkedResourceType *string `pulumi:"linkedResourceType"`
- // Name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the resource navigation link resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Resource type.
- Type string `pulumi:"type"`
+func (i ConnectionMonitorEndpointScopeArgs) ToConnectionMonitorEndpointScopeOutput() ConnectionMonitorEndpointScopeOutput {
+ return i.ToConnectionMonitorEndpointScopeOutputWithContext(context.Background())
}
-// ResourceNavigationLink resource.
-type CommonResourceNavigationLinkResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonResourceNavigationLinkResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonResourceNavigationLinkResponse)(nil)).Elem()
+func (i ConnectionMonitorEndpointScopeArgs) ToConnectionMonitorEndpointScopeOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointScopeOutput)
}
-func (o CommonResourceNavigationLinkResponseOutput) ToCommonResourceNavigationLinkResponseOutput() CommonResourceNavigationLinkResponseOutput {
- return o
+func (i ConnectionMonitorEndpointScopeArgs) ToConnectionMonitorEndpointScopePtrOutput() ConnectionMonitorEndpointScopePtrOutput {
+ return i.ToConnectionMonitorEndpointScopePtrOutputWithContext(context.Background())
}
-func (o CommonResourceNavigationLinkResponseOutput) ToCommonResourceNavigationLinkResponseOutputWithContext(ctx context.Context) CommonResourceNavigationLinkResponseOutput {
- return o
+func (i ConnectionMonitorEndpointScopeArgs) ToConnectionMonitorEndpointScopePtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointScopeOutput).ToConnectionMonitorEndpointScopePtrOutputWithContext(ctx)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonResourceNavigationLinkResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonResourceNavigationLinkResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
+// ConnectionMonitorEndpointScopePtrInput is an input type that accepts ConnectionMonitorEndpointScopeArgs, ConnectionMonitorEndpointScopePtr and ConnectionMonitorEndpointScopePtrOutput values.
+// You can construct a concrete instance of `ConnectionMonitorEndpointScopePtrInput` via:
+//
+// ConnectionMonitorEndpointScopeArgs{...}
+//
+// or:
+//
+// nil
+type ConnectionMonitorEndpointScopePtrInput interface {
+ pulumi.Input
-// Resource ID.
-func (o CommonResourceNavigationLinkResponseOutput) Id() pulumi.StringOutput {
- return o.ApplyT(func(v CommonResourceNavigationLinkResponse) string { return v.Id }).(pulumi.StringOutput)
+ ToConnectionMonitorEndpointScopePtrOutput() ConnectionMonitorEndpointScopePtrOutput
+ ToConnectionMonitorEndpointScopePtrOutputWithContext(context.Context) ConnectionMonitorEndpointScopePtrOutput
}
-// Link to the external resource.
-func (o CommonResourceNavigationLinkResponseOutput) Link() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonResourceNavigationLinkResponse) *string { return v.Link }).(pulumi.StringPtrOutput)
-}
+type connectionMonitorEndpointScopePtrType ConnectionMonitorEndpointScopeArgs
-// Resource type of the linked resource.
-func (o CommonResourceNavigationLinkResponseOutput) LinkedResourceType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonResourceNavigationLinkResponse) *string { return v.LinkedResourceType }).(pulumi.StringPtrOutput)
+func ConnectionMonitorEndpointScopePtr(v *ConnectionMonitorEndpointScopeArgs) ConnectionMonitorEndpointScopePtrInput {
+ return (*connectionMonitorEndpointScopePtrType)(v)
}
-// Name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o CommonResourceNavigationLinkResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonResourceNavigationLinkResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (*connectionMonitorEndpointScopePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorEndpointScope)(nil)).Elem()
}
-// The provisioning state of the resource navigation link resource.
-func (o CommonResourceNavigationLinkResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonResourceNavigationLinkResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (i *connectionMonitorEndpointScopePtrType) ToConnectionMonitorEndpointScopePtrOutput() ConnectionMonitorEndpointScopePtrOutput {
+ return i.ToConnectionMonitorEndpointScopePtrOutputWithContext(context.Background())
}
-// Resource type.
-func (o CommonResourceNavigationLinkResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonResourceNavigationLinkResponse) string { return v.Type }).(pulumi.StringOutput)
+func (i *connectionMonitorEndpointScopePtrType) ToConnectionMonitorEndpointScopePtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointScopePtrOutput)
}
-type CommonResourceNavigationLinkResponseArrayOutput struct{ *pulumi.OutputState }
+// Describes the connection monitor endpoint scope.
+type ConnectionMonitorEndpointScopeOutput struct{ *pulumi.OutputState }
-func (CommonResourceNavigationLinkResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonResourceNavigationLinkResponse)(nil)).Elem()
+func (ConnectionMonitorEndpointScopeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpointScope)(nil)).Elem()
}
-func (o CommonResourceNavigationLinkResponseArrayOutput) ToCommonResourceNavigationLinkResponseArrayOutput() CommonResourceNavigationLinkResponseArrayOutput {
+func (o ConnectionMonitorEndpointScopeOutput) ToConnectionMonitorEndpointScopeOutput() ConnectionMonitorEndpointScopeOutput {
return o
}
-func (o CommonResourceNavigationLinkResponseArrayOutput) ToCommonResourceNavigationLinkResponseArrayOutputWithContext(ctx context.Context) CommonResourceNavigationLinkResponseArrayOutput {
+func (o ConnectionMonitorEndpointScopeOutput) ToConnectionMonitorEndpointScopeOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeOutput {
return o
}
-func (o CommonResourceNavigationLinkResponseArrayOutput) Index(i pulumi.IntInput) CommonResourceNavigationLinkResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonResourceNavigationLinkResponse {
- return vs[0].([]CommonResourceNavigationLinkResponse)[vs[1].(int)]
- }).(CommonResourceNavigationLinkResponseOutput)
-}
-
-// Parameters that define the retention policy for flow log.
-type CommonRetentionPolicyParametersResponse struct {
- // Number of days to retain flow log records.
- Days *int `pulumi:"days"`
- // Flag to enable/disable retention.
- Enabled *bool `pulumi:"enabled"`
-}
-
-// Defaults sets the appropriate defaults for CommonRetentionPolicyParametersResponse
-func (val *CommonRetentionPolicyParametersResponse) Defaults() *CommonRetentionPolicyParametersResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.Days == nil {
- days_ := 0
- tmp.Days = &days_
- }
- if tmp.Enabled == nil {
- enabled_ := false
- tmp.Enabled = &enabled_
- }
- return &tmp
-}
-
-// Parameters that define the retention policy for flow log.
-type CommonRetentionPolicyParametersResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonRetentionPolicyParametersResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonRetentionPolicyParametersResponse)(nil)).Elem()
-}
-
-func (o CommonRetentionPolicyParametersResponseOutput) ToCommonRetentionPolicyParametersResponseOutput() CommonRetentionPolicyParametersResponseOutput {
- return o
+func (o ConnectionMonitorEndpointScopeOutput) ToConnectionMonitorEndpointScopePtrOutput() ConnectionMonitorEndpointScopePtrOutput {
+ return o.ToConnectionMonitorEndpointScopePtrOutputWithContext(context.Background())
}
-func (o CommonRetentionPolicyParametersResponseOutput) ToCommonRetentionPolicyParametersResponseOutputWithContext(ctx context.Context) CommonRetentionPolicyParametersResponseOutput {
- return o
+func (o ConnectionMonitorEndpointScopeOutput) ToConnectionMonitorEndpointScopePtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorEndpointScope) *ConnectionMonitorEndpointScope {
+ return &v
+ }).(ConnectionMonitorEndpointScopePtrOutput)
}
-// Number of days to retain flow log records.
-func (o CommonRetentionPolicyParametersResponseOutput) Days() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonRetentionPolicyParametersResponse) *int { return v.Days }).(pulumi.IntPtrOutput)
+// List of items which needs to be excluded from the endpoint scope.
+func (o ConnectionMonitorEndpointScopeOutput) Exclude() ConnectionMonitorEndpointScopeItemArrayOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointScope) []ConnectionMonitorEndpointScopeItem { return v.Exclude }).(ConnectionMonitorEndpointScopeItemArrayOutput)
}
-// Flag to enable/disable retention.
-func (o CommonRetentionPolicyParametersResponseOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonRetentionPolicyParametersResponse) *bool { return v.Enabled }).(pulumi.BoolPtrOutput)
+// List of items which needs to be included to the endpoint scope.
+func (o ConnectionMonitorEndpointScopeOutput) Include() ConnectionMonitorEndpointScopeItemArrayOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointScope) []ConnectionMonitorEndpointScopeItem { return v.Include }).(ConnectionMonitorEndpointScopeItemArrayOutput)
}
-type CommonRetentionPolicyParametersResponsePtrOutput struct{ *pulumi.OutputState }
+type ConnectionMonitorEndpointScopePtrOutput struct{ *pulumi.OutputState }
-func (CommonRetentionPolicyParametersResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonRetentionPolicyParametersResponse)(nil)).Elem()
+func (ConnectionMonitorEndpointScopePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorEndpointScope)(nil)).Elem()
}
-func (o CommonRetentionPolicyParametersResponsePtrOutput) ToCommonRetentionPolicyParametersResponsePtrOutput() CommonRetentionPolicyParametersResponsePtrOutput {
+func (o ConnectionMonitorEndpointScopePtrOutput) ToConnectionMonitorEndpointScopePtrOutput() ConnectionMonitorEndpointScopePtrOutput {
return o
}
-func (o CommonRetentionPolicyParametersResponsePtrOutput) ToCommonRetentionPolicyParametersResponsePtrOutputWithContext(ctx context.Context) CommonRetentionPolicyParametersResponsePtrOutput {
+func (o ConnectionMonitorEndpointScopePtrOutput) ToConnectionMonitorEndpointScopePtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopePtrOutput {
return o
}
-func (o CommonRetentionPolicyParametersResponsePtrOutput) Elem() CommonRetentionPolicyParametersResponseOutput {
- return o.ApplyT(func(v *CommonRetentionPolicyParametersResponse) CommonRetentionPolicyParametersResponse {
+func (o ConnectionMonitorEndpointScopePtrOutput) Elem() ConnectionMonitorEndpointScopeOutput {
+ return o.ApplyT(func(v *ConnectionMonitorEndpointScope) ConnectionMonitorEndpointScope {
if v != nil {
return *v
}
- var ret CommonRetentionPolicyParametersResponse
+ var ret ConnectionMonitorEndpointScope
return ret
- }).(CommonRetentionPolicyParametersResponseOutput)
+ }).(ConnectionMonitorEndpointScopeOutput)
}
-// Number of days to retain flow log records.
-func (o CommonRetentionPolicyParametersResponsePtrOutput) Days() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *CommonRetentionPolicyParametersResponse) *int {
+// List of items which needs to be excluded from the endpoint scope.
+func (o ConnectionMonitorEndpointScopePtrOutput) Exclude() ConnectionMonitorEndpointScopeItemArrayOutput {
+ return o.ApplyT(func(v *ConnectionMonitorEndpointScope) []ConnectionMonitorEndpointScopeItem {
if v == nil {
return nil
}
- return v.Days
- }).(pulumi.IntPtrOutput)
+ return v.Exclude
+ }).(ConnectionMonitorEndpointScopeItemArrayOutput)
}
-// Flag to enable/disable retention.
-func (o CommonRetentionPolicyParametersResponsePtrOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *CommonRetentionPolicyParametersResponse) *bool {
+// List of items which needs to be included to the endpoint scope.
+func (o ConnectionMonitorEndpointScopePtrOutput) Include() ConnectionMonitorEndpointScopeItemArrayOutput {
+ return o.ApplyT(func(v *ConnectionMonitorEndpointScope) []ConnectionMonitorEndpointScopeItem {
if v == nil {
return nil
}
- return v.Enabled
- }).(pulumi.BoolPtrOutput)
+ return v.Include
+ }).(ConnectionMonitorEndpointScopeItemArrayOutput)
}
-// Route resource.
-type CommonRoute struct {
- // The destination CIDR to which the route applies.
- AddressPrefix *string `pulumi:"addressPrefix"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Name of the resource.
- Name *string `pulumi:"name"`
- // The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
- NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
- // The type of Azure hop the packet should be sent to.
- NextHopType string `pulumi:"nextHopType"`
+// Describes the connection monitor endpoint scope item.
+type ConnectionMonitorEndpointScopeItem struct {
+ // The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
+ Address *string `pulumi:"address"`
}
-// CommonRouteInput is an input type that accepts CommonRouteArgs and CommonRouteOutput values.
-// You can construct a concrete instance of `CommonRouteInput` via:
+// ConnectionMonitorEndpointScopeItemInput is an input type that accepts ConnectionMonitorEndpointScopeItemArgs and ConnectionMonitorEndpointScopeItemOutput values.
+// You can construct a concrete instance of `ConnectionMonitorEndpointScopeItemInput` via:
//
-// CommonRouteArgs{...}
-type CommonRouteInput interface {
+// ConnectionMonitorEndpointScopeItemArgs{...}
+type ConnectionMonitorEndpointScopeItemInput interface {
pulumi.Input
- ToCommonRouteOutput() CommonRouteOutput
- ToCommonRouteOutputWithContext(context.Context) CommonRouteOutput
+ ToConnectionMonitorEndpointScopeItemOutput() ConnectionMonitorEndpointScopeItemOutput
+ ToConnectionMonitorEndpointScopeItemOutputWithContext(context.Context) ConnectionMonitorEndpointScopeItemOutput
}
-// Route resource.
-type CommonRouteArgs struct {
- // The destination CIDR to which the route applies.
- AddressPrefix pulumi.StringPtrInput `pulumi:"addressPrefix"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Name of the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
- NextHopIpAddress pulumi.StringPtrInput `pulumi:"nextHopIpAddress"`
- // The type of Azure hop the packet should be sent to.
- NextHopType pulumi.StringInput `pulumi:"nextHopType"`
+// Describes the connection monitor endpoint scope item.
+type ConnectionMonitorEndpointScopeItemArgs struct {
+ // The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
+ Address pulumi.StringPtrInput `pulumi:"address"`
}
-func (CommonRouteArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonRoute)(nil)).Elem()
+func (ConnectionMonitorEndpointScopeItemArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpointScopeItem)(nil)).Elem()
}
-func (i CommonRouteArgs) ToCommonRouteOutput() CommonRouteOutput {
- return i.ToCommonRouteOutputWithContext(context.Background())
+func (i ConnectionMonitorEndpointScopeItemArgs) ToConnectionMonitorEndpointScopeItemOutput() ConnectionMonitorEndpointScopeItemOutput {
+ return i.ToConnectionMonitorEndpointScopeItemOutputWithContext(context.Background())
}
-func (i CommonRouteArgs) ToCommonRouteOutputWithContext(ctx context.Context) CommonRouteOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonRouteOutput)
+func (i ConnectionMonitorEndpointScopeItemArgs) ToConnectionMonitorEndpointScopeItemOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeItemOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointScopeItemOutput)
}
-// CommonRouteArrayInput is an input type that accepts CommonRouteArray and CommonRouteArrayOutput values.
-// You can construct a concrete instance of `CommonRouteArrayInput` via:
+// ConnectionMonitorEndpointScopeItemArrayInput is an input type that accepts ConnectionMonitorEndpointScopeItemArray and ConnectionMonitorEndpointScopeItemArrayOutput values.
+// You can construct a concrete instance of `ConnectionMonitorEndpointScopeItemArrayInput` via:
//
-// CommonRouteArray{ CommonRouteArgs{...} }
-type CommonRouteArrayInput interface {
+// ConnectionMonitorEndpointScopeItemArray{ ConnectionMonitorEndpointScopeItemArgs{...} }
+type ConnectionMonitorEndpointScopeItemArrayInput interface {
pulumi.Input
- ToCommonRouteArrayOutput() CommonRouteArrayOutput
- ToCommonRouteArrayOutputWithContext(context.Context) CommonRouteArrayOutput
+ ToConnectionMonitorEndpointScopeItemArrayOutput() ConnectionMonitorEndpointScopeItemArrayOutput
+ ToConnectionMonitorEndpointScopeItemArrayOutputWithContext(context.Context) ConnectionMonitorEndpointScopeItemArrayOutput
}
-type CommonRouteArray []CommonRouteInput
+type ConnectionMonitorEndpointScopeItemArray []ConnectionMonitorEndpointScopeItemInput
-func (CommonRouteArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonRoute)(nil)).Elem()
+func (ConnectionMonitorEndpointScopeItemArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorEndpointScopeItem)(nil)).Elem()
}
-func (i CommonRouteArray) ToCommonRouteArrayOutput() CommonRouteArrayOutput {
- return i.ToCommonRouteArrayOutputWithContext(context.Background())
+func (i ConnectionMonitorEndpointScopeItemArray) ToConnectionMonitorEndpointScopeItemArrayOutput() ConnectionMonitorEndpointScopeItemArrayOutput {
+ return i.ToConnectionMonitorEndpointScopeItemArrayOutputWithContext(context.Background())
}
-func (i CommonRouteArray) ToCommonRouteArrayOutputWithContext(ctx context.Context) CommonRouteArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonRouteArrayOutput)
+func (i ConnectionMonitorEndpointScopeItemArray) ToConnectionMonitorEndpointScopeItemArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeItemArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointScopeItemArrayOutput)
}
-// Route resource.
-type CommonRouteOutput struct{ *pulumi.OutputState }
+// Describes the connection monitor endpoint scope item.
+type ConnectionMonitorEndpointScopeItemOutput struct{ *pulumi.OutputState }
-func (CommonRouteOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonRoute)(nil)).Elem()
+func (ConnectionMonitorEndpointScopeItemOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpointScopeItem)(nil)).Elem()
}
-func (o CommonRouteOutput) ToCommonRouteOutput() CommonRouteOutput {
+func (o ConnectionMonitorEndpointScopeItemOutput) ToConnectionMonitorEndpointScopeItemOutput() ConnectionMonitorEndpointScopeItemOutput {
return o
}
-func (o CommonRouteOutput) ToCommonRouteOutputWithContext(ctx context.Context) CommonRouteOutput {
+func (o ConnectionMonitorEndpointScopeItemOutput) ToConnectionMonitorEndpointScopeItemOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeItemOutput {
return o
}
-// The destination CIDR to which the route applies.
-func (o CommonRouteOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonRoute) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
+// The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
+func (o ConnectionMonitorEndpointScopeItemOutput) Address() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointScopeItem) *string { return v.Address }).(pulumi.StringPtrOutput)
}
-// Resource ID.
-func (o CommonRouteOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonRoute) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
+type ConnectionMonitorEndpointScopeItemArrayOutput struct{ *pulumi.OutputState }
-// Name of the resource.
-func (o CommonRouteOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonRoute) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (ConnectionMonitorEndpointScopeItemArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorEndpointScopeItem)(nil)).Elem()
}
-// The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
-func (o CommonRouteOutput) NextHopIpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonRoute) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorEndpointScopeItemArrayOutput) ToConnectionMonitorEndpointScopeItemArrayOutput() ConnectionMonitorEndpointScopeItemArrayOutput {
+ return o
}
-// The type of Azure hop the packet should be sent to.
-func (o CommonRouteOutput) NextHopType() pulumi.StringOutput {
- return o.ApplyT(func(v CommonRoute) string { return v.NextHopType }).(pulumi.StringOutput)
+func (o ConnectionMonitorEndpointScopeItemArrayOutput) ToConnectionMonitorEndpointScopeItemArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeItemArrayOutput {
+ return o
}
-type CommonRouteArrayOutput struct{ *pulumi.OutputState }
+func (o ConnectionMonitorEndpointScopeItemArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorEndpointScopeItemOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorEndpointScopeItem {
+ return vs[0].([]ConnectionMonitorEndpointScopeItem)[vs[1].(int)]
+ }).(ConnectionMonitorEndpointScopeItemOutput)
+}
-func (CommonRouteArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonRoute)(nil)).Elem()
+// Describes the connection monitor endpoint scope item.
+type ConnectionMonitorEndpointScopeItemResponse struct {
+ // The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
+ Address *string `pulumi:"address"`
}
-func (o CommonRouteArrayOutput) ToCommonRouteArrayOutput() CommonRouteArrayOutput {
- return o
+// Describes the connection monitor endpoint scope item.
+type ConnectionMonitorEndpointScopeItemResponseOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorEndpointScopeItemResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpointScopeItemResponse)(nil)).Elem()
}
-func (o CommonRouteArrayOutput) ToCommonRouteArrayOutputWithContext(ctx context.Context) CommonRouteArrayOutput {
+func (o ConnectionMonitorEndpointScopeItemResponseOutput) ToConnectionMonitorEndpointScopeItemResponseOutput() ConnectionMonitorEndpointScopeItemResponseOutput {
return o
}
-func (o CommonRouteArrayOutput) Index(i pulumi.IntInput) CommonRouteOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonRoute {
- return vs[0].([]CommonRoute)[vs[1].(int)]
- }).(CommonRouteOutput)
+func (o ConnectionMonitorEndpointScopeItemResponseOutput) ToConnectionMonitorEndpointScopeItemResponseOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeItemResponseOutput {
+ return o
}
-// Route resource.
-type CommonRouteResponse struct {
- // The destination CIDR to which the route applies.
- AddressPrefix *string `pulumi:"addressPrefix"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // A value indicating whether this route overrides overlapping BGP routes regardless of LPM.
- HasBgpOverride bool `pulumi:"hasBgpOverride"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Name of the resource.
- Name *string `pulumi:"name"`
- // The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
- NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
- // The type of Azure hop the packet should be sent to.
- NextHopType string `pulumi:"nextHopType"`
- // The provisioning state of the route resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Resource type.
- Type string `pulumi:"type"`
+// The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
+func (o ConnectionMonitorEndpointScopeItemResponseOutput) Address() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointScopeItemResponse) *string { return v.Address }).(pulumi.StringPtrOutput)
}
-// Route resource.
-type CommonRouteResponseOutput struct{ *pulumi.OutputState }
+type ConnectionMonitorEndpointScopeItemResponseArrayOutput struct{ *pulumi.OutputState }
-func (CommonRouteResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonRouteResponse)(nil)).Elem()
+func (ConnectionMonitorEndpointScopeItemResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorEndpointScopeItemResponse)(nil)).Elem()
}
-func (o CommonRouteResponseOutput) ToCommonRouteResponseOutput() CommonRouteResponseOutput {
+func (o ConnectionMonitorEndpointScopeItemResponseArrayOutput) ToConnectionMonitorEndpointScopeItemResponseArrayOutput() ConnectionMonitorEndpointScopeItemResponseArrayOutput {
return o
}
-func (o CommonRouteResponseOutput) ToCommonRouteResponseOutputWithContext(ctx context.Context) CommonRouteResponseOutput {
+func (o ConnectionMonitorEndpointScopeItemResponseArrayOutput) ToConnectionMonitorEndpointScopeItemResponseArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeItemResponseArrayOutput {
return o
}
-// The destination CIDR to which the route applies.
-func (o CommonRouteResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonRouteResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonRouteResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonRouteResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o ConnectionMonitorEndpointScopeItemResponseArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorEndpointScopeItemResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorEndpointScopeItemResponse {
+ return vs[0].([]ConnectionMonitorEndpointScopeItemResponse)[vs[1].(int)]
+ }).(ConnectionMonitorEndpointScopeItemResponseOutput)
}
-// A value indicating whether this route overrides overlapping BGP routes regardless of LPM.
-func (o CommonRouteResponseOutput) HasBgpOverride() pulumi.BoolOutput {
- return o.ApplyT(func(v CommonRouteResponse) bool { return v.HasBgpOverride }).(pulumi.BoolOutput)
+// Describes the connection monitor endpoint scope.
+type ConnectionMonitorEndpointScopeResponse struct {
+ // List of items which needs to be excluded from the endpoint scope.
+ Exclude []ConnectionMonitorEndpointScopeItemResponse `pulumi:"exclude"`
+ // List of items which needs to be included to the endpoint scope.
+ Include []ConnectionMonitorEndpointScopeItemResponse `pulumi:"include"`
}
-// Resource ID.
-func (o CommonRouteResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonRouteResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
+// Describes the connection monitor endpoint scope.
+type ConnectionMonitorEndpointScopeResponseOutput struct{ *pulumi.OutputState }
-// Name of the resource.
-func (o CommonRouteResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonRouteResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (ConnectionMonitorEndpointScopeResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorEndpointScopeResponse)(nil)).Elem()
}
-// The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
-func (o CommonRouteResponseOutput) NextHopIpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonRouteResponse) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorEndpointScopeResponseOutput) ToConnectionMonitorEndpointScopeResponseOutput() ConnectionMonitorEndpointScopeResponseOutput {
+ return o
}
-// The type of Azure hop the packet should be sent to.
-func (o CommonRouteResponseOutput) NextHopType() pulumi.StringOutput {
- return o.ApplyT(func(v CommonRouteResponse) string { return v.NextHopType }).(pulumi.StringOutput)
+func (o ConnectionMonitorEndpointScopeResponseOutput) ToConnectionMonitorEndpointScopeResponseOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeResponseOutput {
+ return o
}
-// The provisioning state of the route resource.
-func (o CommonRouteResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonRouteResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// List of items which needs to be excluded from the endpoint scope.
+func (o ConnectionMonitorEndpointScopeResponseOutput) Exclude() ConnectionMonitorEndpointScopeItemResponseArrayOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointScopeResponse) []ConnectionMonitorEndpointScopeItemResponse {
+ return v.Exclude
+ }).(ConnectionMonitorEndpointScopeItemResponseArrayOutput)
}
-// Resource type.
-func (o CommonRouteResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonRouteResponse) string { return v.Type }).(pulumi.StringOutput)
+// List of items which needs to be included to the endpoint scope.
+func (o ConnectionMonitorEndpointScopeResponseOutput) Include() ConnectionMonitorEndpointScopeItemResponseArrayOutput {
+ return o.ApplyT(func(v ConnectionMonitorEndpointScopeResponse) []ConnectionMonitorEndpointScopeItemResponse {
+ return v.Include
+ }).(ConnectionMonitorEndpointScopeItemResponseArrayOutput)
}
-type CommonRouteResponseArrayOutput struct{ *pulumi.OutputState }
+type ConnectionMonitorEndpointScopeResponsePtrOutput struct{ *pulumi.OutputState }
-func (CommonRouteResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonRouteResponse)(nil)).Elem()
+func (ConnectionMonitorEndpointScopeResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorEndpointScopeResponse)(nil)).Elem()
}
-func (o CommonRouteResponseArrayOutput) ToCommonRouteResponseArrayOutput() CommonRouteResponseArrayOutput {
+func (o ConnectionMonitorEndpointScopeResponsePtrOutput) ToConnectionMonitorEndpointScopeResponsePtrOutput() ConnectionMonitorEndpointScopeResponsePtrOutput {
return o
}
-func (o CommonRouteResponseArrayOutput) ToCommonRouteResponseArrayOutputWithContext(ctx context.Context) CommonRouteResponseArrayOutput {
+func (o ConnectionMonitorEndpointScopeResponsePtrOutput) ToConnectionMonitorEndpointScopeResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeResponsePtrOutput {
return o
}
-func (o CommonRouteResponseArrayOutput) Index(i pulumi.IntInput) CommonRouteResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonRouteResponse {
- return vs[0].([]CommonRouteResponse)[vs[1].(int)]
- }).(CommonRouteResponseOutput)
+func (o ConnectionMonitorEndpointScopeResponsePtrOutput) Elem() ConnectionMonitorEndpointScopeResponseOutput {
+ return o.ApplyT(func(v *ConnectionMonitorEndpointScopeResponse) ConnectionMonitorEndpointScopeResponse {
+ if v != nil {
+ return *v
+ }
+ var ret ConnectionMonitorEndpointScopeResponse
+ return ret
+ }).(ConnectionMonitorEndpointScopeResponseOutput)
}
-// Route table resource.
-type CommonRouteTable struct {
- // Whether to disable the routes learned by BGP on that route table. True means disable.
- DisableBgpRoutePropagation *bool `pulumi:"disableBgpRoutePropagation"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Collection of routes contained within a route table.
- Routes []CommonRoute `pulumi:"routes"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
+// List of items which needs to be excluded from the endpoint scope.
+func (o ConnectionMonitorEndpointScopeResponsePtrOutput) Exclude() ConnectionMonitorEndpointScopeItemResponseArrayOutput {
+ return o.ApplyT(func(v *ConnectionMonitorEndpointScopeResponse) []ConnectionMonitorEndpointScopeItemResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Exclude
+ }).(ConnectionMonitorEndpointScopeItemResponseArrayOutput)
}
-// CommonRouteTableInput is an input type that accepts CommonRouteTableArgs and CommonRouteTableOutput values.
-// You can construct a concrete instance of `CommonRouteTableInput` via:
+// List of items which needs to be included to the endpoint scope.
+func (o ConnectionMonitorEndpointScopeResponsePtrOutput) Include() ConnectionMonitorEndpointScopeItemResponseArrayOutput {
+ return o.ApplyT(func(v *ConnectionMonitorEndpointScopeResponse) []ConnectionMonitorEndpointScopeItemResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Include
+ }).(ConnectionMonitorEndpointScopeItemResponseArrayOutput)
+}
+
+// Describes the HTTP configuration.
+type ConnectionMonitorHttpConfiguration struct {
+ // The HTTP method to use.
+ Method *string `pulumi:"method"`
+ // The path component of the URI. For instance, "/dir1/dir2".
+ Path *string `pulumi:"path"`
+ // The port to connect to.
+ Port *int `pulumi:"port"`
+ // Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
+ PreferHTTPS *bool `pulumi:"preferHTTPS"`
+ // The HTTP headers to transmit with the request.
+ RequestHeaders []HTTPHeader `pulumi:"requestHeaders"`
+ // HTTP status codes to consider successful. For instance, "2xx,301-304,418".
+ ValidStatusCodeRanges []string `pulumi:"validStatusCodeRanges"`
+}
+
+// ConnectionMonitorHttpConfigurationInput is an input type that accepts ConnectionMonitorHttpConfigurationArgs and ConnectionMonitorHttpConfigurationOutput values.
+// You can construct a concrete instance of `ConnectionMonitorHttpConfigurationInput` via:
//
-// CommonRouteTableArgs{...}
-type CommonRouteTableInput interface {
+// ConnectionMonitorHttpConfigurationArgs{...}
+type ConnectionMonitorHttpConfigurationInput interface {
pulumi.Input
- ToCommonRouteTableOutput() CommonRouteTableOutput
- ToCommonRouteTableOutputWithContext(context.Context) CommonRouteTableOutput
+ ToConnectionMonitorHttpConfigurationOutput() ConnectionMonitorHttpConfigurationOutput
+ ToConnectionMonitorHttpConfigurationOutputWithContext(context.Context) ConnectionMonitorHttpConfigurationOutput
}
-// Route table resource.
-type CommonRouteTableArgs struct {
- // Whether to disable the routes learned by BGP on that route table. True means disable.
- DisableBgpRoutePropagation pulumi.BoolPtrInput `pulumi:"disableBgpRoutePropagation"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Resource location.
- Location pulumi.StringPtrInput `pulumi:"location"`
- // Collection of routes contained within a route table.
- Routes CommonRouteArrayInput `pulumi:"routes"`
- // Resource tags.
- Tags pulumi.StringMapInput `pulumi:"tags"`
+// Describes the HTTP configuration.
+type ConnectionMonitorHttpConfigurationArgs struct {
+ // The HTTP method to use.
+ Method pulumi.StringPtrInput `pulumi:"method"`
+ // The path component of the URI. For instance, "/dir1/dir2".
+ Path pulumi.StringPtrInput `pulumi:"path"`
+ // The port to connect to.
+ Port pulumi.IntPtrInput `pulumi:"port"`
+ // Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
+ PreferHTTPS pulumi.BoolPtrInput `pulumi:"preferHTTPS"`
+ // The HTTP headers to transmit with the request.
+ RequestHeaders HTTPHeaderArrayInput `pulumi:"requestHeaders"`
+ // HTTP status codes to consider successful. For instance, "2xx,301-304,418".
+ ValidStatusCodeRanges pulumi.StringArrayInput `pulumi:"validStatusCodeRanges"`
}
-func (CommonRouteTableArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonRouteTable)(nil)).Elem()
+func (ConnectionMonitorHttpConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorHttpConfiguration)(nil)).Elem()
}
-func (i CommonRouteTableArgs) ToCommonRouteTableOutput() CommonRouteTableOutput {
- return i.ToCommonRouteTableOutputWithContext(context.Background())
+func (i ConnectionMonitorHttpConfigurationArgs) ToConnectionMonitorHttpConfigurationOutput() ConnectionMonitorHttpConfigurationOutput {
+ return i.ToConnectionMonitorHttpConfigurationOutputWithContext(context.Background())
}
-func (i CommonRouteTableArgs) ToCommonRouteTableOutputWithContext(ctx context.Context) CommonRouteTableOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonRouteTableOutput)
+func (i ConnectionMonitorHttpConfigurationArgs) ToConnectionMonitorHttpConfigurationOutputWithContext(ctx context.Context) ConnectionMonitorHttpConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorHttpConfigurationOutput)
}
-func (i CommonRouteTableArgs) ToCommonRouteTablePtrOutput() CommonRouteTablePtrOutput {
- return i.ToCommonRouteTablePtrOutputWithContext(context.Background())
+func (i ConnectionMonitorHttpConfigurationArgs) ToConnectionMonitorHttpConfigurationPtrOutput() ConnectionMonitorHttpConfigurationPtrOutput {
+ return i.ToConnectionMonitorHttpConfigurationPtrOutputWithContext(context.Background())
}
-func (i CommonRouteTableArgs) ToCommonRouteTablePtrOutputWithContext(ctx context.Context) CommonRouteTablePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonRouteTableOutput).ToCommonRouteTablePtrOutputWithContext(ctx)
+func (i ConnectionMonitorHttpConfigurationArgs) ToConnectionMonitorHttpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorHttpConfigurationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorHttpConfigurationOutput).ToConnectionMonitorHttpConfigurationPtrOutputWithContext(ctx)
}
-// CommonRouteTablePtrInput is an input type that accepts CommonRouteTableArgs, CommonRouteTablePtr and CommonRouteTablePtrOutput values.
-// You can construct a concrete instance of `CommonRouteTablePtrInput` via:
+// ConnectionMonitorHttpConfigurationPtrInput is an input type that accepts ConnectionMonitorHttpConfigurationArgs, ConnectionMonitorHttpConfigurationPtr and ConnectionMonitorHttpConfigurationPtrOutput values.
+// You can construct a concrete instance of `ConnectionMonitorHttpConfigurationPtrInput` via:
//
-// CommonRouteTableArgs{...}
+// ConnectionMonitorHttpConfigurationArgs{...}
//
// or:
//
// nil
-type CommonRouteTablePtrInput interface {
+type ConnectionMonitorHttpConfigurationPtrInput interface {
pulumi.Input
- ToCommonRouteTablePtrOutput() CommonRouteTablePtrOutput
- ToCommonRouteTablePtrOutputWithContext(context.Context) CommonRouteTablePtrOutput
+ ToConnectionMonitorHttpConfigurationPtrOutput() ConnectionMonitorHttpConfigurationPtrOutput
+ ToConnectionMonitorHttpConfigurationPtrOutputWithContext(context.Context) ConnectionMonitorHttpConfigurationPtrOutput
}
-type commonRouteTablePtrType CommonRouteTableArgs
+type connectionMonitorHttpConfigurationPtrType ConnectionMonitorHttpConfigurationArgs
-func CommonRouteTablePtr(v *CommonRouteTableArgs) CommonRouteTablePtrInput {
- return (*commonRouteTablePtrType)(v)
+func ConnectionMonitorHttpConfigurationPtr(v *ConnectionMonitorHttpConfigurationArgs) ConnectionMonitorHttpConfigurationPtrInput {
+ return (*connectionMonitorHttpConfigurationPtrType)(v)
}
-func (*commonRouteTablePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonRouteTable)(nil)).Elem()
+func (*connectionMonitorHttpConfigurationPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorHttpConfiguration)(nil)).Elem()
}
-func (i *commonRouteTablePtrType) ToCommonRouteTablePtrOutput() CommonRouteTablePtrOutput {
- return i.ToCommonRouteTablePtrOutputWithContext(context.Background())
+func (i *connectionMonitorHttpConfigurationPtrType) ToConnectionMonitorHttpConfigurationPtrOutput() ConnectionMonitorHttpConfigurationPtrOutput {
+ return i.ToConnectionMonitorHttpConfigurationPtrOutputWithContext(context.Background())
}
-func (i *commonRouteTablePtrType) ToCommonRouteTablePtrOutputWithContext(ctx context.Context) CommonRouteTablePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonRouteTablePtrOutput)
+func (i *connectionMonitorHttpConfigurationPtrType) ToConnectionMonitorHttpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorHttpConfigurationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorHttpConfigurationPtrOutput)
}
-// Route table resource.
-type CommonRouteTableOutput struct{ *pulumi.OutputState }
+// Describes the HTTP configuration.
+type ConnectionMonitorHttpConfigurationOutput struct{ *pulumi.OutputState }
-func (CommonRouteTableOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonRouteTable)(nil)).Elem()
+func (ConnectionMonitorHttpConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorHttpConfiguration)(nil)).Elem()
}
-func (o CommonRouteTableOutput) ToCommonRouteTableOutput() CommonRouteTableOutput {
+func (o ConnectionMonitorHttpConfigurationOutput) ToConnectionMonitorHttpConfigurationOutput() ConnectionMonitorHttpConfigurationOutput {
return o
}
-func (o CommonRouteTableOutput) ToCommonRouteTableOutputWithContext(ctx context.Context) CommonRouteTableOutput {
+func (o ConnectionMonitorHttpConfigurationOutput) ToConnectionMonitorHttpConfigurationOutputWithContext(ctx context.Context) ConnectionMonitorHttpConfigurationOutput {
return o
}
-func (o CommonRouteTableOutput) ToCommonRouteTablePtrOutput() CommonRouteTablePtrOutput {
- return o.ToCommonRouteTablePtrOutputWithContext(context.Background())
+func (o ConnectionMonitorHttpConfigurationOutput) ToConnectionMonitorHttpConfigurationPtrOutput() ConnectionMonitorHttpConfigurationPtrOutput {
+ return o.ToConnectionMonitorHttpConfigurationPtrOutputWithContext(context.Background())
}
-func (o CommonRouteTableOutput) ToCommonRouteTablePtrOutputWithContext(ctx context.Context) CommonRouteTablePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v CommonRouteTable) *CommonRouteTable {
+func (o ConnectionMonitorHttpConfigurationOutput) ToConnectionMonitorHttpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorHttpConfigurationPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorHttpConfiguration) *ConnectionMonitorHttpConfiguration {
return &v
- }).(CommonRouteTablePtrOutput)
+ }).(ConnectionMonitorHttpConfigurationPtrOutput)
}
-// Whether to disable the routes learned by BGP on that route table. True means disable.
-func (o CommonRouteTableOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonRouteTable) *bool { return v.DisableBgpRoutePropagation }).(pulumi.BoolPtrOutput)
+// The HTTP method to use.
+func (o ConnectionMonitorHttpConfigurationOutput) Method() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorHttpConfiguration) *string { return v.Method }).(pulumi.StringPtrOutput)
}
-// Resource ID.
-func (o CommonRouteTableOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonRouteTable) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The path component of the URI. For instance, "/dir1/dir2".
+func (o ConnectionMonitorHttpConfigurationOutput) Path() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorHttpConfiguration) *string { return v.Path }).(pulumi.StringPtrOutput)
}
-// Resource location.
-func (o CommonRouteTableOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonRouteTable) *string { return v.Location }).(pulumi.StringPtrOutput)
+// The port to connect to.
+func (o ConnectionMonitorHttpConfigurationOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorHttpConfiguration) *int { return v.Port }).(pulumi.IntPtrOutput)
}
-// Collection of routes contained within a route table.
-func (o CommonRouteTableOutput) Routes() CommonRouteArrayOutput {
- return o.ApplyT(func(v CommonRouteTable) []CommonRoute { return v.Routes }).(CommonRouteArrayOutput)
+// Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
+func (o ConnectionMonitorHttpConfigurationOutput) PreferHTTPS() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorHttpConfiguration) *bool { return v.PreferHTTPS }).(pulumi.BoolPtrOutput)
}
-// Resource tags.
-func (o CommonRouteTableOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v CommonRouteTable) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// The HTTP headers to transmit with the request.
+func (o ConnectionMonitorHttpConfigurationOutput) RequestHeaders() HTTPHeaderArrayOutput {
+ return o.ApplyT(func(v ConnectionMonitorHttpConfiguration) []HTTPHeader { return v.RequestHeaders }).(HTTPHeaderArrayOutput)
}
-type CommonRouteTablePtrOutput struct{ *pulumi.OutputState }
+// HTTP status codes to consider successful. For instance, "2xx,301-304,418".
+func (o ConnectionMonitorHttpConfigurationOutput) ValidStatusCodeRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ConnectionMonitorHttpConfiguration) []string { return v.ValidStatusCodeRanges }).(pulumi.StringArrayOutput)
+}
-func (CommonRouteTablePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonRouteTable)(nil)).Elem()
+type ConnectionMonitorHttpConfigurationPtrOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorHttpConfigurationPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorHttpConfiguration)(nil)).Elem()
}
-func (o CommonRouteTablePtrOutput) ToCommonRouteTablePtrOutput() CommonRouteTablePtrOutput {
+func (o ConnectionMonitorHttpConfigurationPtrOutput) ToConnectionMonitorHttpConfigurationPtrOutput() ConnectionMonitorHttpConfigurationPtrOutput {
return o
}
-func (o CommonRouteTablePtrOutput) ToCommonRouteTablePtrOutputWithContext(ctx context.Context) CommonRouteTablePtrOutput {
+func (o ConnectionMonitorHttpConfigurationPtrOutput) ToConnectionMonitorHttpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorHttpConfigurationPtrOutput {
return o
}
-func (o CommonRouteTablePtrOutput) Elem() CommonRouteTableOutput {
- return o.ApplyT(func(v *CommonRouteTable) CommonRouteTable {
+func (o ConnectionMonitorHttpConfigurationPtrOutput) Elem() ConnectionMonitorHttpConfigurationOutput {
+ return o.ApplyT(func(v *ConnectionMonitorHttpConfiguration) ConnectionMonitorHttpConfiguration {
if v != nil {
return *v
}
- var ret CommonRouteTable
+ var ret ConnectionMonitorHttpConfiguration
return ret
- }).(CommonRouteTableOutput)
+ }).(ConnectionMonitorHttpConfigurationOutput)
}
-// Whether to disable the routes learned by BGP on that route table. True means disable.
-func (o CommonRouteTablePtrOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *CommonRouteTable) *bool {
+// The HTTP method to use.
+func (o ConnectionMonitorHttpConfigurationPtrOutput) Method() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorHttpConfiguration) *string {
if v == nil {
return nil
}
- return v.DisableBgpRoutePropagation
- }).(pulumi.BoolPtrOutput)
+ return v.Method
+ }).(pulumi.StringPtrOutput)
}
-// Resource ID.
-func (o CommonRouteTablePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonRouteTable) *string {
+// The path component of the URI. For instance, "/dir1/dir2".
+func (o ConnectionMonitorHttpConfigurationPtrOutput) Path() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorHttpConfiguration) *string {
if v == nil {
return nil
}
- return v.Id
+ return v.Path
}).(pulumi.StringPtrOutput)
}
-// Resource location.
-func (o CommonRouteTablePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonRouteTable) *string {
+// The port to connect to.
+func (o ConnectionMonitorHttpConfigurationPtrOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorHttpConfiguration) *int {
if v == nil {
return nil
}
- return v.Location
- }).(pulumi.StringPtrOutput)
+ return v.Port
+ }).(pulumi.IntPtrOutput)
}
-// Collection of routes contained within a route table.
-func (o CommonRouteTablePtrOutput) Routes() CommonRouteArrayOutput {
- return o.ApplyT(func(v *CommonRouteTable) []CommonRoute {
+// Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
+func (o ConnectionMonitorHttpConfigurationPtrOutput) PreferHTTPS() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorHttpConfiguration) *bool {
if v == nil {
return nil
}
- return v.Routes
- }).(CommonRouteArrayOutput)
+ return v.PreferHTTPS
+ }).(pulumi.BoolPtrOutput)
}
-// Resource tags.
-func (o CommonRouteTablePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *CommonRouteTable) map[string]string {
+// The HTTP headers to transmit with the request.
+func (o ConnectionMonitorHttpConfigurationPtrOutput) RequestHeaders() HTTPHeaderArrayOutput {
+ return o.ApplyT(func(v *ConnectionMonitorHttpConfiguration) []HTTPHeader {
if v == nil {
return nil
}
- return v.Tags
- }).(pulumi.StringMapOutput)
-}
-
-// Route table resource.
-type CommonRouteTableResponse struct {
- // Whether to disable the routes learned by BGP on that route table. True means disable.
- DisableBgpRoutePropagation *bool `pulumi:"disableBgpRoutePropagation"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // The provisioning state of the route table resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The resource GUID property of the route table.
- ResourceGuid string `pulumi:"resourceGuid"`
- // Collection of routes contained within a route table.
- Routes []CommonRouteResponse `pulumi:"routes"`
- // A collection of references to subnets.
- Subnets []CommonSubnetResponse `pulumi:"subnets"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
-}
-
-// Route table resource.
-type CommonRouteTableResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonRouteTableResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonRouteTableResponse)(nil)).Elem()
-}
-
-func (o CommonRouteTableResponseOutput) ToCommonRouteTableResponseOutput() CommonRouteTableResponseOutput {
- return o
+ return v.RequestHeaders
+ }).(HTTPHeaderArrayOutput)
}
-func (o CommonRouteTableResponseOutput) ToCommonRouteTableResponseOutputWithContext(ctx context.Context) CommonRouteTableResponseOutput {
- return o
+// HTTP status codes to consider successful. For instance, "2xx,301-304,418".
+func (o ConnectionMonitorHttpConfigurationPtrOutput) ValidStatusCodeRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *ConnectionMonitorHttpConfiguration) []string {
+ if v == nil {
+ return nil
+ }
+ return v.ValidStatusCodeRanges
+ }).(pulumi.StringArrayOutput)
}
-// Whether to disable the routes learned by BGP on that route table. True means disable.
-func (o CommonRouteTableResponseOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonRouteTableResponse) *bool { return v.DisableBgpRoutePropagation }).(pulumi.BoolPtrOutput)
+// Describes the HTTP configuration.
+type ConnectionMonitorHttpConfigurationResponse struct {
+ // The HTTP method to use.
+ Method *string `pulumi:"method"`
+ // The path component of the URI. For instance, "/dir1/dir2".
+ Path *string `pulumi:"path"`
+ // The port to connect to.
+ Port *int `pulumi:"port"`
+ // Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
+ PreferHTTPS *bool `pulumi:"preferHTTPS"`
+ // The HTTP headers to transmit with the request.
+ RequestHeaders []HTTPHeaderResponse `pulumi:"requestHeaders"`
+ // HTTP status codes to consider successful. For instance, "2xx,301-304,418".
+ ValidStatusCodeRanges []string `pulumi:"validStatusCodeRanges"`
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonRouteTableResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonRouteTableResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
+// Describes the HTTP configuration.
+type ConnectionMonitorHttpConfigurationResponseOutput struct{ *pulumi.OutputState }
-// Resource ID.
-func (o CommonRouteTableResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonRouteTableResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (ConnectionMonitorHttpConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorHttpConfigurationResponse)(nil)).Elem()
}
-// Resource location.
-func (o CommonRouteTableResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonRouteTableResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorHttpConfigurationResponseOutput) ToConnectionMonitorHttpConfigurationResponseOutput() ConnectionMonitorHttpConfigurationResponseOutput {
+ return o
}
-// Resource name.
-func (o CommonRouteTableResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v CommonRouteTableResponse) string { return v.Name }).(pulumi.StringOutput)
+func (o ConnectionMonitorHttpConfigurationResponseOutput) ToConnectionMonitorHttpConfigurationResponseOutputWithContext(ctx context.Context) ConnectionMonitorHttpConfigurationResponseOutput {
+ return o
}
-// The provisioning state of the route table resource.
-func (o CommonRouteTableResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonRouteTableResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The HTTP method to use.
+func (o ConnectionMonitorHttpConfigurationResponseOutput) Method() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorHttpConfigurationResponse) *string { return v.Method }).(pulumi.StringPtrOutput)
}
-// The resource GUID property of the route table.
-func (o CommonRouteTableResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v CommonRouteTableResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// The path component of the URI. For instance, "/dir1/dir2".
+func (o ConnectionMonitorHttpConfigurationResponseOutput) Path() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorHttpConfigurationResponse) *string { return v.Path }).(pulumi.StringPtrOutput)
}
-// Collection of routes contained within a route table.
-func (o CommonRouteTableResponseOutput) Routes() CommonRouteResponseArrayOutput {
- return o.ApplyT(func(v CommonRouteTableResponse) []CommonRouteResponse { return v.Routes }).(CommonRouteResponseArrayOutput)
+// The port to connect to.
+func (o ConnectionMonitorHttpConfigurationResponseOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorHttpConfigurationResponse) *int { return v.Port }).(pulumi.IntPtrOutput)
}
-// A collection of references to subnets.
-func (o CommonRouteTableResponseOutput) Subnets() CommonSubnetResponseArrayOutput {
- return o.ApplyT(func(v CommonRouteTableResponse) []CommonSubnetResponse { return v.Subnets }).(CommonSubnetResponseArrayOutput)
+// Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
+func (o ConnectionMonitorHttpConfigurationResponseOutput) PreferHTTPS() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorHttpConfigurationResponse) *bool { return v.PreferHTTPS }).(pulumi.BoolPtrOutput)
}
-// Resource tags.
-func (o CommonRouteTableResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v CommonRouteTableResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// The HTTP headers to transmit with the request.
+func (o ConnectionMonitorHttpConfigurationResponseOutput) RequestHeaders() HTTPHeaderResponseArrayOutput {
+ return o.ApplyT(func(v ConnectionMonitorHttpConfigurationResponse) []HTTPHeaderResponse { return v.RequestHeaders }).(HTTPHeaderResponseArrayOutput)
}
-// Resource type.
-func (o CommonRouteTableResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonRouteTableResponse) string { return v.Type }).(pulumi.StringOutput)
+// HTTP status codes to consider successful. For instance, "2xx,301-304,418".
+func (o ConnectionMonitorHttpConfigurationResponseOutput) ValidStatusCodeRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ConnectionMonitorHttpConfigurationResponse) []string { return v.ValidStatusCodeRanges }).(pulumi.StringArrayOutput)
}
-type CommonRouteTableResponsePtrOutput struct{ *pulumi.OutputState }
+type ConnectionMonitorHttpConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
-func (CommonRouteTableResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonRouteTableResponse)(nil)).Elem()
+func (ConnectionMonitorHttpConfigurationResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorHttpConfigurationResponse)(nil)).Elem()
}
-func (o CommonRouteTableResponsePtrOutput) ToCommonRouteTableResponsePtrOutput() CommonRouteTableResponsePtrOutput {
+func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) ToConnectionMonitorHttpConfigurationResponsePtrOutput() ConnectionMonitorHttpConfigurationResponsePtrOutput {
return o
}
-func (o CommonRouteTableResponsePtrOutput) ToCommonRouteTableResponsePtrOutputWithContext(ctx context.Context) CommonRouteTableResponsePtrOutput {
+func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) ToConnectionMonitorHttpConfigurationResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorHttpConfigurationResponsePtrOutput {
return o
}
-func (o CommonRouteTableResponsePtrOutput) Elem() CommonRouteTableResponseOutput {
- return o.ApplyT(func(v *CommonRouteTableResponse) CommonRouteTableResponse {
+func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) Elem() ConnectionMonitorHttpConfigurationResponseOutput {
+ return o.ApplyT(func(v *ConnectionMonitorHttpConfigurationResponse) ConnectionMonitorHttpConfigurationResponse {
if v != nil {
return *v
}
- var ret CommonRouteTableResponse
+ var ret ConnectionMonitorHttpConfigurationResponse
return ret
- }).(CommonRouteTableResponseOutput)
+ }).(ConnectionMonitorHttpConfigurationResponseOutput)
}
-// Whether to disable the routes learned by BGP on that route table. True means disable.
-func (o CommonRouteTableResponsePtrOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *CommonRouteTableResponse) *bool {
+// The HTTP method to use.
+func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) Method() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorHttpConfigurationResponse) *string {
if v == nil {
return nil
}
- return v.DisableBgpRoutePropagation
- }).(pulumi.BoolPtrOutput)
+ return v.Method
+ }).(pulumi.StringPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonRouteTableResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonRouteTableResponse) *string {
+// The path component of the URI. For instance, "/dir1/dir2".
+func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) Path() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorHttpConfigurationResponse) *string {
if v == nil {
return nil
}
- return &v.Etag
+ return v.Path
}).(pulumi.StringPtrOutput)
}
-// Resource ID.
-func (o CommonRouteTableResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonRouteTableResponse) *string {
+// The port to connect to.
+func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorHttpConfigurationResponse) *int {
if v == nil {
return nil
}
- return v.Id
- }).(pulumi.StringPtrOutput)
+ return v.Port
+ }).(pulumi.IntPtrOutput)
}
-// Resource location.
-func (o CommonRouteTableResponsePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonRouteTableResponse) *string {
+// Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
+func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) PreferHTTPS() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorHttpConfigurationResponse) *bool {
if v == nil {
return nil
}
- return v.Location
- }).(pulumi.StringPtrOutput)
+ return v.PreferHTTPS
+ }).(pulumi.BoolPtrOutput)
}
-// Resource name.
-func (o CommonRouteTableResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonRouteTableResponse) *string {
+// The HTTP headers to transmit with the request.
+func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) RequestHeaders() HTTPHeaderResponseArrayOutput {
+ return o.ApplyT(func(v *ConnectionMonitorHttpConfigurationResponse) []HTTPHeaderResponse {
if v == nil {
return nil
}
- return &v.Name
- }).(pulumi.StringPtrOutput)
+ return v.RequestHeaders
+ }).(HTTPHeaderResponseArrayOutput)
}
-// The provisioning state of the route table resource.
-func (o CommonRouteTableResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonRouteTableResponse) *string {
+// HTTP status codes to consider successful. For instance, "2xx,301-304,418".
+func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) ValidStatusCodeRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *ConnectionMonitorHttpConfigurationResponse) []string {
if v == nil {
return nil
}
- return &v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+ return v.ValidStatusCodeRanges
+ }).(pulumi.StringArrayOutput)
}
-// The resource GUID property of the route table.
-func (o CommonRouteTableResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonRouteTableResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ResourceGuid
- }).(pulumi.StringPtrOutput)
+// Describes the ICMP configuration.
+type ConnectionMonitorIcmpConfiguration struct {
+ // Value indicating whether path evaluation with trace route should be disabled.
+ DisableTraceRoute *bool `pulumi:"disableTraceRoute"`
}
-// Collection of routes contained within a route table.
-func (o CommonRouteTableResponsePtrOutput) Routes() CommonRouteResponseArrayOutput {
- return o.ApplyT(func(v *CommonRouteTableResponse) []CommonRouteResponse {
- if v == nil {
- return nil
- }
- return v.Routes
- }).(CommonRouteResponseArrayOutput)
+// ConnectionMonitorIcmpConfigurationInput is an input type that accepts ConnectionMonitorIcmpConfigurationArgs and ConnectionMonitorIcmpConfigurationOutput values.
+// You can construct a concrete instance of `ConnectionMonitorIcmpConfigurationInput` via:
+//
+// ConnectionMonitorIcmpConfigurationArgs{...}
+type ConnectionMonitorIcmpConfigurationInput interface {
+ pulumi.Input
+
+ ToConnectionMonitorIcmpConfigurationOutput() ConnectionMonitorIcmpConfigurationOutput
+ ToConnectionMonitorIcmpConfigurationOutputWithContext(context.Context) ConnectionMonitorIcmpConfigurationOutput
}
-// A collection of references to subnets.
-func (o CommonRouteTableResponsePtrOutput) Subnets() CommonSubnetResponseArrayOutput {
- return o.ApplyT(func(v *CommonRouteTableResponse) []CommonSubnetResponse {
- if v == nil {
- return nil
- }
- return v.Subnets
- }).(CommonSubnetResponseArrayOutput)
+// Describes the ICMP configuration.
+type ConnectionMonitorIcmpConfigurationArgs struct {
+ // Value indicating whether path evaluation with trace route should be disabled.
+ DisableTraceRoute pulumi.BoolPtrInput `pulumi:"disableTraceRoute"`
}
-// Resource tags.
-func (o CommonRouteTableResponsePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *CommonRouteTableResponse) map[string]string {
- if v == nil {
- return nil
- }
- return v.Tags
- }).(pulumi.StringMapOutput)
+func (ConnectionMonitorIcmpConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorIcmpConfiguration)(nil)).Elem()
}
-// Resource type.
-func (o CommonRouteTableResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonRouteTableResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Type
- }).(pulumi.StringPtrOutput)
+func (i ConnectionMonitorIcmpConfigurationArgs) ToConnectionMonitorIcmpConfigurationOutput() ConnectionMonitorIcmpConfigurationOutput {
+ return i.ToConnectionMonitorIcmpConfigurationOutputWithContext(context.Background())
}
-// Network security rule.
-type CommonSecurityRule struct {
- // The network traffic is allowed or denied.
- Access string `pulumi:"access"`
- // A description for this rule. Restricted to 140 chars.
- Description *string `pulumi:"description"`
- // The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- DestinationAddressPrefix *string `pulumi:"destinationAddressPrefix"`
- // The destination address prefixes. CIDR or destination IP ranges.
- DestinationAddressPrefixes []string `pulumi:"destinationAddressPrefixes"`
- // The application security group specified as destination.
- DestinationApplicationSecurityGroups []CommonApplicationSecurityGroup `pulumi:"destinationApplicationSecurityGroups"`
- // The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- DestinationPortRange *string `pulumi:"destinationPortRange"`
- // The destination port ranges.
- DestinationPortRanges []string `pulumi:"destinationPortRanges"`
- // The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
- Direction string `pulumi:"direction"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Name of the resource.
- Name *string `pulumi:"name"`
- // The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Priority int `pulumi:"priority"`
- // Network protocol this rule applies to.
- Protocol string `pulumi:"protocol"`
- // The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- SourceAddressPrefix *string `pulumi:"sourceAddressPrefix"`
- // The CIDR or source IP ranges.
- SourceAddressPrefixes []string `pulumi:"sourceAddressPrefixes"`
- // The application security group specified as source.
- SourceApplicationSecurityGroups []CommonApplicationSecurityGroup `pulumi:"sourceApplicationSecurityGroups"`
- // The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- SourcePortRange *string `pulumi:"sourcePortRange"`
- // The source port ranges.
- SourcePortRanges []string `pulumi:"sourcePortRanges"`
+func (i ConnectionMonitorIcmpConfigurationArgs) ToConnectionMonitorIcmpConfigurationOutputWithContext(ctx context.Context) ConnectionMonitorIcmpConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorIcmpConfigurationOutput)
}
-// CommonSecurityRuleInput is an input type that accepts CommonSecurityRuleArgs and CommonSecurityRuleOutput values.
-// You can construct a concrete instance of `CommonSecurityRuleInput` via:
+func (i ConnectionMonitorIcmpConfigurationArgs) ToConnectionMonitorIcmpConfigurationPtrOutput() ConnectionMonitorIcmpConfigurationPtrOutput {
+ return i.ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(context.Background())
+}
+
+func (i ConnectionMonitorIcmpConfigurationArgs) ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorIcmpConfigurationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorIcmpConfigurationOutput).ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(ctx)
+}
+
+// ConnectionMonitorIcmpConfigurationPtrInput is an input type that accepts ConnectionMonitorIcmpConfigurationArgs, ConnectionMonitorIcmpConfigurationPtr and ConnectionMonitorIcmpConfigurationPtrOutput values.
+// You can construct a concrete instance of `ConnectionMonitorIcmpConfigurationPtrInput` via:
//
-// CommonSecurityRuleArgs{...}
-type CommonSecurityRuleInput interface {
+// ConnectionMonitorIcmpConfigurationArgs{...}
+//
+// or:
+//
+// nil
+type ConnectionMonitorIcmpConfigurationPtrInput interface {
pulumi.Input
- ToCommonSecurityRuleOutput() CommonSecurityRuleOutput
- ToCommonSecurityRuleOutputWithContext(context.Context) CommonSecurityRuleOutput
+ ToConnectionMonitorIcmpConfigurationPtrOutput() ConnectionMonitorIcmpConfigurationPtrOutput
+ ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(context.Context) ConnectionMonitorIcmpConfigurationPtrOutput
}
-// Network security rule.
-type CommonSecurityRuleArgs struct {
- // The network traffic is allowed or denied.
- Access pulumi.StringInput `pulumi:"access"`
- // A description for this rule. Restricted to 140 chars.
- Description pulumi.StringPtrInput `pulumi:"description"`
- // The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- DestinationAddressPrefix pulumi.StringPtrInput `pulumi:"destinationAddressPrefix"`
- // The destination address prefixes. CIDR or destination IP ranges.
- DestinationAddressPrefixes pulumi.StringArrayInput `pulumi:"destinationAddressPrefixes"`
- // The application security group specified as destination.
- DestinationApplicationSecurityGroups CommonApplicationSecurityGroupArrayInput `pulumi:"destinationApplicationSecurityGroups"`
- // The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- DestinationPortRange pulumi.StringPtrInput `pulumi:"destinationPortRange"`
- // The destination port ranges.
- DestinationPortRanges pulumi.StringArrayInput `pulumi:"destinationPortRanges"`
- // The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
- Direction pulumi.StringInput `pulumi:"direction"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Name of the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Priority pulumi.IntInput `pulumi:"priority"`
- // Network protocol this rule applies to.
- Protocol pulumi.StringInput `pulumi:"protocol"`
- // The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- SourceAddressPrefix pulumi.StringPtrInput `pulumi:"sourceAddressPrefix"`
- // The CIDR or source IP ranges.
- SourceAddressPrefixes pulumi.StringArrayInput `pulumi:"sourceAddressPrefixes"`
- // The application security group specified as source.
- SourceApplicationSecurityGroups CommonApplicationSecurityGroupArrayInput `pulumi:"sourceApplicationSecurityGroups"`
- // The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- SourcePortRange pulumi.StringPtrInput `pulumi:"sourcePortRange"`
- // The source port ranges.
- SourcePortRanges pulumi.StringArrayInput `pulumi:"sourcePortRanges"`
-}
+type connectionMonitorIcmpConfigurationPtrType ConnectionMonitorIcmpConfigurationArgs
-func (CommonSecurityRuleArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonSecurityRule)(nil)).Elem()
+func ConnectionMonitorIcmpConfigurationPtr(v *ConnectionMonitorIcmpConfigurationArgs) ConnectionMonitorIcmpConfigurationPtrInput {
+ return (*connectionMonitorIcmpConfigurationPtrType)(v)
}
-func (i CommonSecurityRuleArgs) ToCommonSecurityRuleOutput() CommonSecurityRuleOutput {
- return i.ToCommonSecurityRuleOutputWithContext(context.Background())
+func (*connectionMonitorIcmpConfigurationPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorIcmpConfiguration)(nil)).Elem()
}
-func (i CommonSecurityRuleArgs) ToCommonSecurityRuleOutputWithContext(ctx context.Context) CommonSecurityRuleOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonSecurityRuleOutput)
+func (i *connectionMonitorIcmpConfigurationPtrType) ToConnectionMonitorIcmpConfigurationPtrOutput() ConnectionMonitorIcmpConfigurationPtrOutput {
+ return i.ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(context.Background())
}
-// CommonSecurityRuleArrayInput is an input type that accepts CommonSecurityRuleArray and CommonSecurityRuleArrayOutput values.
-// You can construct a concrete instance of `CommonSecurityRuleArrayInput` via:
-//
-// CommonSecurityRuleArray{ CommonSecurityRuleArgs{...} }
-type CommonSecurityRuleArrayInput interface {
- pulumi.Input
-
- ToCommonSecurityRuleArrayOutput() CommonSecurityRuleArrayOutput
- ToCommonSecurityRuleArrayOutputWithContext(context.Context) CommonSecurityRuleArrayOutput
+func (i *connectionMonitorIcmpConfigurationPtrType) ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorIcmpConfigurationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorIcmpConfigurationPtrOutput)
}
-type CommonSecurityRuleArray []CommonSecurityRuleInput
+// Describes the ICMP configuration.
+type ConnectionMonitorIcmpConfigurationOutput struct{ *pulumi.OutputState }
-func (CommonSecurityRuleArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonSecurityRule)(nil)).Elem()
+func (ConnectionMonitorIcmpConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorIcmpConfiguration)(nil)).Elem()
}
-func (i CommonSecurityRuleArray) ToCommonSecurityRuleArrayOutput() CommonSecurityRuleArrayOutput {
- return i.ToCommonSecurityRuleArrayOutputWithContext(context.Background())
+func (o ConnectionMonitorIcmpConfigurationOutput) ToConnectionMonitorIcmpConfigurationOutput() ConnectionMonitorIcmpConfigurationOutput {
+ return o
}
-func (i CommonSecurityRuleArray) ToCommonSecurityRuleArrayOutputWithContext(ctx context.Context) CommonSecurityRuleArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonSecurityRuleArrayOutput)
+func (o ConnectionMonitorIcmpConfigurationOutput) ToConnectionMonitorIcmpConfigurationOutputWithContext(ctx context.Context) ConnectionMonitorIcmpConfigurationOutput {
+ return o
}
-// Network security rule.
-type CommonSecurityRuleOutput struct{ *pulumi.OutputState }
-
-func (CommonSecurityRuleOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonSecurityRule)(nil)).Elem()
+func (o ConnectionMonitorIcmpConfigurationOutput) ToConnectionMonitorIcmpConfigurationPtrOutput() ConnectionMonitorIcmpConfigurationPtrOutput {
+ return o.ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(context.Background())
}
-func (o CommonSecurityRuleOutput) ToCommonSecurityRuleOutput() CommonSecurityRuleOutput {
- return o
+func (o ConnectionMonitorIcmpConfigurationOutput) ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorIcmpConfigurationPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorIcmpConfiguration) *ConnectionMonitorIcmpConfiguration {
+ return &v
+ }).(ConnectionMonitorIcmpConfigurationPtrOutput)
}
-func (o CommonSecurityRuleOutput) ToCommonSecurityRuleOutputWithContext(ctx context.Context) CommonSecurityRuleOutput {
- return o
+// Value indicating whether path evaluation with trace route should be disabled.
+func (o ConnectionMonitorIcmpConfigurationOutput) DisableTraceRoute() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorIcmpConfiguration) *bool { return v.DisableTraceRoute }).(pulumi.BoolPtrOutput)
}
-// The network traffic is allowed or denied.
-func (o CommonSecurityRuleOutput) Access() pulumi.StringOutput {
- return o.ApplyT(func(v CommonSecurityRule) string { return v.Access }).(pulumi.StringOutput)
-}
+type ConnectionMonitorIcmpConfigurationPtrOutput struct{ *pulumi.OutputState }
-// A description for this rule. Restricted to 140 chars.
-func (o CommonSecurityRuleOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSecurityRule) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (ConnectionMonitorIcmpConfigurationPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorIcmpConfiguration)(nil)).Elem()
}
-// The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
-func (o CommonSecurityRuleOutput) DestinationAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSecurityRule) *string { return v.DestinationAddressPrefix }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorIcmpConfigurationPtrOutput) ToConnectionMonitorIcmpConfigurationPtrOutput() ConnectionMonitorIcmpConfigurationPtrOutput {
+ return o
}
-// The destination address prefixes. CIDR or destination IP ranges.
-func (o CommonSecurityRuleOutput) DestinationAddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonSecurityRule) []string { return v.DestinationAddressPrefixes }).(pulumi.StringArrayOutput)
+func (o ConnectionMonitorIcmpConfigurationPtrOutput) ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorIcmpConfigurationPtrOutput {
+ return o
}
-// The application security group specified as destination.
-func (o CommonSecurityRuleOutput) DestinationApplicationSecurityGroups() CommonApplicationSecurityGroupArrayOutput {
- return o.ApplyT(func(v CommonSecurityRule) []CommonApplicationSecurityGroup {
- return v.DestinationApplicationSecurityGroups
- }).(CommonApplicationSecurityGroupArrayOutput)
+func (o ConnectionMonitorIcmpConfigurationPtrOutput) Elem() ConnectionMonitorIcmpConfigurationOutput {
+ return o.ApplyT(func(v *ConnectionMonitorIcmpConfiguration) ConnectionMonitorIcmpConfiguration {
+ if v != nil {
+ return *v
+ }
+ var ret ConnectionMonitorIcmpConfiguration
+ return ret
+ }).(ConnectionMonitorIcmpConfigurationOutput)
}
-// The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
-func (o CommonSecurityRuleOutput) DestinationPortRange() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSecurityRule) *string { return v.DestinationPortRange }).(pulumi.StringPtrOutput)
+// Value indicating whether path evaluation with trace route should be disabled.
+func (o ConnectionMonitorIcmpConfigurationPtrOutput) DisableTraceRoute() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorIcmpConfiguration) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DisableTraceRoute
+ }).(pulumi.BoolPtrOutput)
}
-// The destination port ranges.
-func (o CommonSecurityRuleOutput) DestinationPortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonSecurityRule) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
+// Describes the ICMP configuration.
+type ConnectionMonitorIcmpConfigurationResponse struct {
+ // Value indicating whether path evaluation with trace route should be disabled.
+ DisableTraceRoute *bool `pulumi:"disableTraceRoute"`
}
-// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
-func (o CommonSecurityRuleOutput) Direction() pulumi.StringOutput {
- return o.ApplyT(func(v CommonSecurityRule) string { return v.Direction }).(pulumi.StringOutput)
+// Describes the ICMP configuration.
+type ConnectionMonitorIcmpConfigurationResponseOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorIcmpConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorIcmpConfigurationResponse)(nil)).Elem()
}
-// Resource ID.
-func (o CommonSecurityRuleOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSecurityRule) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorIcmpConfigurationResponseOutput) ToConnectionMonitorIcmpConfigurationResponseOutput() ConnectionMonitorIcmpConfigurationResponseOutput {
+ return o
}
-// Name of the resource.
-func (o CommonSecurityRuleOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSecurityRule) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorIcmpConfigurationResponseOutput) ToConnectionMonitorIcmpConfigurationResponseOutputWithContext(ctx context.Context) ConnectionMonitorIcmpConfigurationResponseOutput {
+ return o
}
-// The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
-func (o CommonSecurityRuleOutput) Priority() pulumi.IntOutput {
- return o.ApplyT(func(v CommonSecurityRule) int { return v.Priority }).(pulumi.IntOutput)
+// Value indicating whether path evaluation with trace route should be disabled.
+func (o ConnectionMonitorIcmpConfigurationResponseOutput) DisableTraceRoute() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorIcmpConfigurationResponse) *bool { return v.DisableTraceRoute }).(pulumi.BoolPtrOutput)
}
-// Network protocol this rule applies to.
-func (o CommonSecurityRuleOutput) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v CommonSecurityRule) string { return v.Protocol }).(pulumi.StringOutput)
+type ConnectionMonitorIcmpConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorIcmpConfigurationResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorIcmpConfigurationResponse)(nil)).Elem()
}
-// The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
-func (o CommonSecurityRuleOutput) SourceAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSecurityRule) *string { return v.SourceAddressPrefix }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorIcmpConfigurationResponsePtrOutput) ToConnectionMonitorIcmpConfigurationResponsePtrOutput() ConnectionMonitorIcmpConfigurationResponsePtrOutput {
+ return o
}
-// The CIDR or source IP ranges.
-func (o CommonSecurityRuleOutput) SourceAddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonSecurityRule) []string { return v.SourceAddressPrefixes }).(pulumi.StringArrayOutput)
+func (o ConnectionMonitorIcmpConfigurationResponsePtrOutput) ToConnectionMonitorIcmpConfigurationResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorIcmpConfigurationResponsePtrOutput {
+ return o
}
-// The application security group specified as source.
-func (o CommonSecurityRuleOutput) SourceApplicationSecurityGroups() CommonApplicationSecurityGroupArrayOutput {
- return o.ApplyT(func(v CommonSecurityRule) []CommonApplicationSecurityGroup { return v.SourceApplicationSecurityGroups }).(CommonApplicationSecurityGroupArrayOutput)
+func (o ConnectionMonitorIcmpConfigurationResponsePtrOutput) Elem() ConnectionMonitorIcmpConfigurationResponseOutput {
+ return o.ApplyT(func(v *ConnectionMonitorIcmpConfigurationResponse) ConnectionMonitorIcmpConfigurationResponse {
+ if v != nil {
+ return *v
+ }
+ var ret ConnectionMonitorIcmpConfigurationResponse
+ return ret
+ }).(ConnectionMonitorIcmpConfigurationResponseOutput)
}
-// The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
-func (o CommonSecurityRuleOutput) SourcePortRange() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSecurityRule) *string { return v.SourcePortRange }).(pulumi.StringPtrOutput)
+// Value indicating whether path evaluation with trace route should be disabled.
+func (o ConnectionMonitorIcmpConfigurationResponsePtrOutput) DisableTraceRoute() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorIcmpConfigurationResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DisableTraceRoute
+ }).(pulumi.BoolPtrOutput)
}
-// The source port ranges.
-func (o CommonSecurityRuleOutput) SourcePortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonSecurityRule) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
+// Describes a connection monitor output destination.
+type ConnectionMonitorOutputType struct {
+ // Connection monitor output destination type. Currently, only "Workspace" is supported.
+ Type *string `pulumi:"type"`
+ // Describes the settings for producing output into a log analytics workspace.
+ WorkspaceSettings *ConnectionMonitorWorkspaceSettings `pulumi:"workspaceSettings"`
}
-type CommonSecurityRuleArrayOutput struct{ *pulumi.OutputState }
+// ConnectionMonitorOutputTypeInput is an input type that accepts ConnectionMonitorOutputTypeArgs and ConnectionMonitorOutputTypeOutput values.
+// You can construct a concrete instance of `ConnectionMonitorOutputTypeInput` via:
+//
+// ConnectionMonitorOutputTypeArgs{...}
+type ConnectionMonitorOutputTypeInput interface {
+ pulumi.Input
-func (CommonSecurityRuleArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonSecurityRule)(nil)).Elem()
+ ToConnectionMonitorOutputTypeOutput() ConnectionMonitorOutputTypeOutput
+ ToConnectionMonitorOutputTypeOutputWithContext(context.Context) ConnectionMonitorOutputTypeOutput
}
-func (o CommonSecurityRuleArrayOutput) ToCommonSecurityRuleArrayOutput() CommonSecurityRuleArrayOutput {
- return o
+// Describes a connection monitor output destination.
+type ConnectionMonitorOutputTypeArgs struct {
+ // Connection monitor output destination type. Currently, only "Workspace" is supported.
+ Type pulumi.StringPtrInput `pulumi:"type"`
+ // Describes the settings for producing output into a log analytics workspace.
+ WorkspaceSettings ConnectionMonitorWorkspaceSettingsPtrInput `pulumi:"workspaceSettings"`
}
-func (o CommonSecurityRuleArrayOutput) ToCommonSecurityRuleArrayOutputWithContext(ctx context.Context) CommonSecurityRuleArrayOutput {
- return o
+func (ConnectionMonitorOutputTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorOutputType)(nil)).Elem()
}
-func (o CommonSecurityRuleArrayOutput) Index(i pulumi.IntInput) CommonSecurityRuleOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonSecurityRule {
- return vs[0].([]CommonSecurityRule)[vs[1].(int)]
- }).(CommonSecurityRuleOutput)
+func (i ConnectionMonitorOutputTypeArgs) ToConnectionMonitorOutputTypeOutput() ConnectionMonitorOutputTypeOutput {
+ return i.ToConnectionMonitorOutputTypeOutputWithContext(context.Background())
}
-// Network security rule.
-type CommonSecurityRuleResponse struct {
- // The network traffic is allowed or denied.
- Access string `pulumi:"access"`
- // A description for this rule. Restricted to 140 chars.
- Description *string `pulumi:"description"`
- // The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- DestinationAddressPrefix *string `pulumi:"destinationAddressPrefix"`
- // The destination address prefixes. CIDR or destination IP ranges.
- DestinationAddressPrefixes []string `pulumi:"destinationAddressPrefixes"`
- // The application security group specified as destination.
- DestinationApplicationSecurityGroups []CommonApplicationSecurityGroupResponse `pulumi:"destinationApplicationSecurityGroups"`
- // The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- DestinationPortRange *string `pulumi:"destinationPortRange"`
- // The destination port ranges.
- DestinationPortRanges []string `pulumi:"destinationPortRanges"`
- // The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
- Direction string `pulumi:"direction"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Name of the resource.
- Name *string `pulumi:"name"`
- // The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Priority int `pulumi:"priority"`
- // Network protocol this rule applies to.
- Protocol string `pulumi:"protocol"`
- // The provisioning state of the security rule resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- SourceAddressPrefix *string `pulumi:"sourceAddressPrefix"`
- // The CIDR or source IP ranges.
- SourceAddressPrefixes []string `pulumi:"sourceAddressPrefixes"`
- // The application security group specified as source.
- SourceApplicationSecurityGroups []CommonApplicationSecurityGroupResponse `pulumi:"sourceApplicationSecurityGroups"`
- // The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- SourcePortRange *string `pulumi:"sourcePortRange"`
- // The source port ranges.
- SourcePortRanges []string `pulumi:"sourcePortRanges"`
- // Resource type.
- Type string `pulumi:"type"`
+func (i ConnectionMonitorOutputTypeArgs) ToConnectionMonitorOutputTypeOutputWithContext(ctx context.Context) ConnectionMonitorOutputTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorOutputTypeOutput)
}
-// Network security rule.
-type CommonSecurityRuleResponseOutput struct{ *pulumi.OutputState }
+// ConnectionMonitorOutputTypeArrayInput is an input type that accepts ConnectionMonitorOutputTypeArray and ConnectionMonitorOutputTypeArrayOutput values.
+// You can construct a concrete instance of `ConnectionMonitorOutputTypeArrayInput` via:
+//
+// ConnectionMonitorOutputTypeArray{ ConnectionMonitorOutputTypeArgs{...} }
+type ConnectionMonitorOutputTypeArrayInput interface {
+ pulumi.Input
-func (CommonSecurityRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonSecurityRuleResponse)(nil)).Elem()
+ ToConnectionMonitorOutputTypeArrayOutput() ConnectionMonitorOutputTypeArrayOutput
+ ToConnectionMonitorOutputTypeArrayOutputWithContext(context.Context) ConnectionMonitorOutputTypeArrayOutput
}
-func (o CommonSecurityRuleResponseOutput) ToCommonSecurityRuleResponseOutput() CommonSecurityRuleResponseOutput {
- return o
-}
+type ConnectionMonitorOutputTypeArray []ConnectionMonitorOutputTypeInput
-func (o CommonSecurityRuleResponseOutput) ToCommonSecurityRuleResponseOutputWithContext(ctx context.Context) CommonSecurityRuleResponseOutput {
- return o
+func (ConnectionMonitorOutputTypeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorOutputType)(nil)).Elem()
}
-// The network traffic is allowed or denied.
-func (o CommonSecurityRuleResponseOutput) Access() pulumi.StringOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) string { return v.Access }).(pulumi.StringOutput)
+func (i ConnectionMonitorOutputTypeArray) ToConnectionMonitorOutputTypeArrayOutput() ConnectionMonitorOutputTypeArrayOutput {
+ return i.ToConnectionMonitorOutputTypeArrayOutputWithContext(context.Background())
}
-// A description for this rule. Restricted to 140 chars.
-func (o CommonSecurityRuleResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (i ConnectionMonitorOutputTypeArray) ToConnectionMonitorOutputTypeArrayOutputWithContext(ctx context.Context) ConnectionMonitorOutputTypeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorOutputTypeArrayOutput)
}
-// The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
-func (o CommonSecurityRuleResponseOutput) DestinationAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) *string { return v.DestinationAddressPrefix }).(pulumi.StringPtrOutput)
-}
+// Describes a connection monitor output destination.
+type ConnectionMonitorOutputTypeOutput struct{ *pulumi.OutputState }
-// The destination address prefixes. CIDR or destination IP ranges.
-func (o CommonSecurityRuleResponseOutput) DestinationAddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) []string { return v.DestinationAddressPrefixes }).(pulumi.StringArrayOutput)
+func (ConnectionMonitorOutputTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorOutputType)(nil)).Elem()
}
-// The application security group specified as destination.
-func (o CommonSecurityRuleResponseOutput) DestinationApplicationSecurityGroups() CommonApplicationSecurityGroupResponseArrayOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) []CommonApplicationSecurityGroupResponse {
- return v.DestinationApplicationSecurityGroups
- }).(CommonApplicationSecurityGroupResponseArrayOutput)
+func (o ConnectionMonitorOutputTypeOutput) ToConnectionMonitorOutputTypeOutput() ConnectionMonitorOutputTypeOutput {
+ return o
}
-// The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
-func (o CommonSecurityRuleResponseOutput) DestinationPortRange() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) *string { return v.DestinationPortRange }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorOutputTypeOutput) ToConnectionMonitorOutputTypeOutputWithContext(ctx context.Context) ConnectionMonitorOutputTypeOutput {
+ return o
}
-// The destination port ranges.
-func (o CommonSecurityRuleResponseOutput) DestinationPortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
+// Connection monitor output destination type. Currently, only "Workspace" is supported.
+func (o ConnectionMonitorOutputTypeOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorOutputType) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
-func (o CommonSecurityRuleResponseOutput) Direction() pulumi.StringOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) string { return v.Direction }).(pulumi.StringOutput)
+// Describes the settings for producing output into a log analytics workspace.
+func (o ConnectionMonitorOutputTypeOutput) WorkspaceSettings() ConnectionMonitorWorkspaceSettingsPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorOutputType) *ConnectionMonitorWorkspaceSettings { return v.WorkspaceSettings }).(ConnectionMonitorWorkspaceSettingsPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonSecurityRuleResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
+type ConnectionMonitorOutputTypeArrayOutput struct{ *pulumi.OutputState }
-// Resource ID.
-func (o CommonSecurityRuleResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (ConnectionMonitorOutputTypeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorOutputType)(nil)).Elem()
}
-// Name of the resource.
-func (o CommonSecurityRuleResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorOutputTypeArrayOutput) ToConnectionMonitorOutputTypeArrayOutput() ConnectionMonitorOutputTypeArrayOutput {
+ return o
}
-// The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
-func (o CommonSecurityRuleResponseOutput) Priority() pulumi.IntOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) int { return v.Priority }).(pulumi.IntOutput)
+func (o ConnectionMonitorOutputTypeArrayOutput) ToConnectionMonitorOutputTypeArrayOutputWithContext(ctx context.Context) ConnectionMonitorOutputTypeArrayOutput {
+ return o
}
-// Network protocol this rule applies to.
-func (o CommonSecurityRuleResponseOutput) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) string { return v.Protocol }).(pulumi.StringOutput)
+func (o ConnectionMonitorOutputTypeArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorOutputTypeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorOutputType {
+ return vs[0].([]ConnectionMonitorOutputType)[vs[1].(int)]
+ }).(ConnectionMonitorOutputTypeOutput)
}
-// The provisioning state of the security rule resource.
-func (o CommonSecurityRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Describes a connection monitor output destination.
+type ConnectionMonitorOutputResponse struct {
+ // Connection monitor output destination type. Currently, only "Workspace" is supported.
+ Type *string `pulumi:"type"`
+ // Describes the settings for producing output into a log analytics workspace.
+ WorkspaceSettings *ConnectionMonitorWorkspaceSettingsResponse `pulumi:"workspaceSettings"`
}
-// The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
-func (o CommonSecurityRuleResponseOutput) SourceAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) *string { return v.SourceAddressPrefix }).(pulumi.StringPtrOutput)
-}
+// Describes a connection monitor output destination.
+type ConnectionMonitorOutputResponseOutput struct{ *pulumi.OutputState }
-// The CIDR or source IP ranges.
-func (o CommonSecurityRuleResponseOutput) SourceAddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) []string { return v.SourceAddressPrefixes }).(pulumi.StringArrayOutput)
+func (ConnectionMonitorOutputResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorOutputResponse)(nil)).Elem()
}
-// The application security group specified as source.
-func (o CommonSecurityRuleResponseOutput) SourceApplicationSecurityGroups() CommonApplicationSecurityGroupResponseArrayOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) []CommonApplicationSecurityGroupResponse {
- return v.SourceApplicationSecurityGroups
- }).(CommonApplicationSecurityGroupResponseArrayOutput)
+func (o ConnectionMonitorOutputResponseOutput) ToConnectionMonitorOutputResponseOutput() ConnectionMonitorOutputResponseOutput {
+ return o
}
-// The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
-func (o CommonSecurityRuleResponseOutput) SourcePortRange() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) *string { return v.SourcePortRange }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorOutputResponseOutput) ToConnectionMonitorOutputResponseOutputWithContext(ctx context.Context) ConnectionMonitorOutputResponseOutput {
+ return o
}
-// The source port ranges.
-func (o CommonSecurityRuleResponseOutput) SourcePortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
+// Connection monitor output destination type. Currently, only "Workspace" is supported.
+func (o ConnectionMonitorOutputResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorOutputResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// Resource type.
-func (o CommonSecurityRuleResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonSecurityRuleResponse) string { return v.Type }).(pulumi.StringOutput)
+// Describes the settings for producing output into a log analytics workspace.
+func (o ConnectionMonitorOutputResponseOutput) WorkspaceSettings() ConnectionMonitorWorkspaceSettingsResponsePtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorOutputResponse) *ConnectionMonitorWorkspaceSettingsResponse {
+ return v.WorkspaceSettings
+ }).(ConnectionMonitorWorkspaceSettingsResponsePtrOutput)
}
-type CommonSecurityRuleResponseArrayOutput struct{ *pulumi.OutputState }
+type ConnectionMonitorOutputResponseArrayOutput struct{ *pulumi.OutputState }
-func (CommonSecurityRuleResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonSecurityRuleResponse)(nil)).Elem()
+func (ConnectionMonitorOutputResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorOutputResponse)(nil)).Elem()
}
-func (o CommonSecurityRuleResponseArrayOutput) ToCommonSecurityRuleResponseArrayOutput() CommonSecurityRuleResponseArrayOutput {
+func (o ConnectionMonitorOutputResponseArrayOutput) ToConnectionMonitorOutputResponseArrayOutput() ConnectionMonitorOutputResponseArrayOutput {
return o
}
-func (o CommonSecurityRuleResponseArrayOutput) ToCommonSecurityRuleResponseArrayOutputWithContext(ctx context.Context) CommonSecurityRuleResponseArrayOutput {
+func (o ConnectionMonitorOutputResponseArrayOutput) ToConnectionMonitorOutputResponseArrayOutputWithContext(ctx context.Context) ConnectionMonitorOutputResponseArrayOutput {
return o
}
-func (o CommonSecurityRuleResponseArrayOutput) Index(i pulumi.IntInput) CommonSecurityRuleResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonSecurityRuleResponse {
- return vs[0].([]CommonSecurityRuleResponse)[vs[1].(int)]
- }).(CommonSecurityRuleResponseOutput)
+func (o ConnectionMonitorOutputResponseArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorOutputResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorOutputResponse {
+ return vs[0].([]ConnectionMonitorOutputResponse)[vs[1].(int)]
+ }).(ConnectionMonitorOutputResponseOutput)
}
-// ServiceAssociationLink resource.
-type CommonServiceAssociationLinkResponse struct {
- // If true, the resource can be deleted.
- AllowDelete *bool `pulumi:"allowDelete"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Link to the external resource.
- Link *string `pulumi:"link"`
- // Resource type of the linked resource.
- LinkedResourceType *string `pulumi:"linkedResourceType"`
- // A list of locations.
- Locations []string `pulumi:"locations"`
- // Name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the service association link resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Resource type.
- Type string `pulumi:"type"`
+// Describes the source of connection monitor.
+type ConnectionMonitorSource struct {
+ // The source port used by connection monitor.
+ Port *int `pulumi:"port"`
+ // The ID of the resource used as the source by connection monitor.
+ ResourceId string `pulumi:"resourceId"`
}
-// ServiceAssociationLink resource.
-type CommonServiceAssociationLinkResponseOutput struct{ *pulumi.OutputState }
+// ConnectionMonitorSourceInput is an input type that accepts ConnectionMonitorSourceArgs and ConnectionMonitorSourceOutput values.
+// You can construct a concrete instance of `ConnectionMonitorSourceInput` via:
+//
+// ConnectionMonitorSourceArgs{...}
+type ConnectionMonitorSourceInput interface {
+ pulumi.Input
-func (CommonServiceAssociationLinkResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonServiceAssociationLinkResponse)(nil)).Elem()
+ ToConnectionMonitorSourceOutput() ConnectionMonitorSourceOutput
+ ToConnectionMonitorSourceOutputWithContext(context.Context) ConnectionMonitorSourceOutput
}
-func (o CommonServiceAssociationLinkResponseOutput) ToCommonServiceAssociationLinkResponseOutput() CommonServiceAssociationLinkResponseOutput {
- return o
+// Describes the source of connection monitor.
+type ConnectionMonitorSourceArgs struct {
+ // The source port used by connection monitor.
+ Port pulumi.IntPtrInput `pulumi:"port"`
+ // The ID of the resource used as the source by connection monitor.
+ ResourceId pulumi.StringInput `pulumi:"resourceId"`
}
-func (o CommonServiceAssociationLinkResponseOutput) ToCommonServiceAssociationLinkResponseOutputWithContext(ctx context.Context) CommonServiceAssociationLinkResponseOutput {
- return o
+func (ConnectionMonitorSourceArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorSource)(nil)).Elem()
}
-// If true, the resource can be deleted.
-func (o CommonServiceAssociationLinkResponseOutput) AllowDelete() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonServiceAssociationLinkResponse) *bool { return v.AllowDelete }).(pulumi.BoolPtrOutput)
+func (i ConnectionMonitorSourceArgs) ToConnectionMonitorSourceOutput() ConnectionMonitorSourceOutput {
+ return i.ToConnectionMonitorSourceOutputWithContext(context.Background())
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonServiceAssociationLinkResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonServiceAssociationLinkResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (i ConnectionMonitorSourceArgs) ToConnectionMonitorSourceOutputWithContext(ctx context.Context) ConnectionMonitorSourceOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorSourceOutput)
}
-// Resource ID.
-func (o CommonServiceAssociationLinkResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceAssociationLinkResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (i ConnectionMonitorSourceArgs) ToConnectionMonitorSourcePtrOutput() ConnectionMonitorSourcePtrOutput {
+ return i.ToConnectionMonitorSourcePtrOutputWithContext(context.Background())
}
-// Link to the external resource.
-func (o CommonServiceAssociationLinkResponseOutput) Link() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceAssociationLinkResponse) *string { return v.Link }).(pulumi.StringPtrOutput)
+func (i ConnectionMonitorSourceArgs) ToConnectionMonitorSourcePtrOutputWithContext(ctx context.Context) ConnectionMonitorSourcePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorSourceOutput).ToConnectionMonitorSourcePtrOutputWithContext(ctx)
}
-// Resource type of the linked resource.
-func (o CommonServiceAssociationLinkResponseOutput) LinkedResourceType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceAssociationLinkResponse) *string { return v.LinkedResourceType }).(pulumi.StringPtrOutput)
+// ConnectionMonitorSourcePtrInput is an input type that accepts ConnectionMonitorSourceArgs, ConnectionMonitorSourcePtr and ConnectionMonitorSourcePtrOutput values.
+// You can construct a concrete instance of `ConnectionMonitorSourcePtrInput` via:
+//
+// ConnectionMonitorSourceArgs{...}
+//
+// or:
+//
+// nil
+type ConnectionMonitorSourcePtrInput interface {
+ pulumi.Input
+
+ ToConnectionMonitorSourcePtrOutput() ConnectionMonitorSourcePtrOutput
+ ToConnectionMonitorSourcePtrOutputWithContext(context.Context) ConnectionMonitorSourcePtrOutput
}
-// A list of locations.
-func (o CommonServiceAssociationLinkResponseOutput) Locations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonServiceAssociationLinkResponse) []string { return v.Locations }).(pulumi.StringArrayOutput)
+type connectionMonitorSourcePtrType ConnectionMonitorSourceArgs
+
+func ConnectionMonitorSourcePtr(v *ConnectionMonitorSourceArgs) ConnectionMonitorSourcePtrInput {
+ return (*connectionMonitorSourcePtrType)(v)
}
-// Name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o CommonServiceAssociationLinkResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceAssociationLinkResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (*connectionMonitorSourcePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorSource)(nil)).Elem()
}
-// The provisioning state of the service association link resource.
-func (o CommonServiceAssociationLinkResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonServiceAssociationLinkResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (i *connectionMonitorSourcePtrType) ToConnectionMonitorSourcePtrOutput() ConnectionMonitorSourcePtrOutput {
+ return i.ToConnectionMonitorSourcePtrOutputWithContext(context.Background())
}
-// Resource type.
-func (o CommonServiceAssociationLinkResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonServiceAssociationLinkResponse) string { return v.Type }).(pulumi.StringOutput)
+func (i *connectionMonitorSourcePtrType) ToConnectionMonitorSourcePtrOutputWithContext(ctx context.Context) ConnectionMonitorSourcePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorSourcePtrOutput)
}
-type CommonServiceAssociationLinkResponseArrayOutput struct{ *pulumi.OutputState }
+// Describes the source of connection monitor.
+type ConnectionMonitorSourceOutput struct{ *pulumi.OutputState }
-func (CommonServiceAssociationLinkResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonServiceAssociationLinkResponse)(nil)).Elem()
+func (ConnectionMonitorSourceOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorSource)(nil)).Elem()
}
-func (o CommonServiceAssociationLinkResponseArrayOutput) ToCommonServiceAssociationLinkResponseArrayOutput() CommonServiceAssociationLinkResponseArrayOutput {
+func (o ConnectionMonitorSourceOutput) ToConnectionMonitorSourceOutput() ConnectionMonitorSourceOutput {
return o
}
-func (o CommonServiceAssociationLinkResponseArrayOutput) ToCommonServiceAssociationLinkResponseArrayOutputWithContext(ctx context.Context) CommonServiceAssociationLinkResponseArrayOutput {
+func (o ConnectionMonitorSourceOutput) ToConnectionMonitorSourceOutputWithContext(ctx context.Context) ConnectionMonitorSourceOutput {
return o
}
-func (o CommonServiceAssociationLinkResponseArrayOutput) Index(i pulumi.IntInput) CommonServiceAssociationLinkResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonServiceAssociationLinkResponse {
- return vs[0].([]CommonServiceAssociationLinkResponse)[vs[1].(int)]
- }).(CommonServiceAssociationLinkResponseOutput)
+func (o ConnectionMonitorSourceOutput) ToConnectionMonitorSourcePtrOutput() ConnectionMonitorSourcePtrOutput {
+ return o.ToConnectionMonitorSourcePtrOutputWithContext(context.Background())
}
-// Service End point policy resource.
-type CommonServiceEndpointPolicy struct {
- // A collection of contextual service endpoint policy.
- ContextualServiceEndpointPolicies []string `pulumi:"contextualServiceEndpointPolicies"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // The alias indicating if the policy belongs to a service
- ServiceAlias *string `pulumi:"serviceAlias"`
- // A collection of service endpoint policy definitions of the service endpoint policy.
- ServiceEndpointPolicyDefinitions []CommonServiceEndpointPolicyDefinition `pulumi:"serviceEndpointPolicyDefinitions"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
+func (o ConnectionMonitorSourceOutput) ToConnectionMonitorSourcePtrOutputWithContext(ctx context.Context) ConnectionMonitorSourcePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorSource) *ConnectionMonitorSource {
+ return &v
+ }).(ConnectionMonitorSourcePtrOutput)
}
-// CommonServiceEndpointPolicyInput is an input type that accepts CommonServiceEndpointPolicyArgs and CommonServiceEndpointPolicyOutput values.
-// You can construct a concrete instance of `CommonServiceEndpointPolicyInput` via:
-//
-// CommonServiceEndpointPolicyArgs{...}
-type CommonServiceEndpointPolicyInput interface {
- pulumi.Input
-
- ToCommonServiceEndpointPolicyOutput() CommonServiceEndpointPolicyOutput
- ToCommonServiceEndpointPolicyOutputWithContext(context.Context) CommonServiceEndpointPolicyOutput
+// The source port used by connection monitor.
+func (o ConnectionMonitorSourceOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorSource) *int { return v.Port }).(pulumi.IntPtrOutput)
}
-// Service End point policy resource.
-type CommonServiceEndpointPolicyArgs struct {
- // A collection of contextual service endpoint policy.
- ContextualServiceEndpointPolicies pulumi.StringArrayInput `pulumi:"contextualServiceEndpointPolicies"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Resource location.
- Location pulumi.StringPtrInput `pulumi:"location"`
- // The alias indicating if the policy belongs to a service
- ServiceAlias pulumi.StringPtrInput `pulumi:"serviceAlias"`
- // A collection of service endpoint policy definitions of the service endpoint policy.
- ServiceEndpointPolicyDefinitions CommonServiceEndpointPolicyDefinitionArrayInput `pulumi:"serviceEndpointPolicyDefinitions"`
- // Resource tags.
- Tags pulumi.StringMapInput `pulumi:"tags"`
+// The ID of the resource used as the source by connection monitor.
+func (o ConnectionMonitorSourceOutput) ResourceId() pulumi.StringOutput {
+ return o.ApplyT(func(v ConnectionMonitorSource) string { return v.ResourceId }).(pulumi.StringOutput)
}
-func (CommonServiceEndpointPolicyArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonServiceEndpointPolicy)(nil)).Elem()
+type ConnectionMonitorSourcePtrOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorSourcePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorSource)(nil)).Elem()
}
-func (i CommonServiceEndpointPolicyArgs) ToCommonServiceEndpointPolicyOutput() CommonServiceEndpointPolicyOutput {
- return i.ToCommonServiceEndpointPolicyOutputWithContext(context.Background())
+func (o ConnectionMonitorSourcePtrOutput) ToConnectionMonitorSourcePtrOutput() ConnectionMonitorSourcePtrOutput {
+ return o
}
-func (i CommonServiceEndpointPolicyArgs) ToCommonServiceEndpointPolicyOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonServiceEndpointPolicyOutput)
+func (o ConnectionMonitorSourcePtrOutput) ToConnectionMonitorSourcePtrOutputWithContext(ctx context.Context) ConnectionMonitorSourcePtrOutput {
+ return o
}
-// CommonServiceEndpointPolicyArrayInput is an input type that accepts CommonServiceEndpointPolicyArray and CommonServiceEndpointPolicyArrayOutput values.
-// You can construct a concrete instance of `CommonServiceEndpointPolicyArrayInput` via:
-//
-// CommonServiceEndpointPolicyArray{ CommonServiceEndpointPolicyArgs{...} }
-type CommonServiceEndpointPolicyArrayInput interface {
- pulumi.Input
-
- ToCommonServiceEndpointPolicyArrayOutput() CommonServiceEndpointPolicyArrayOutput
- ToCommonServiceEndpointPolicyArrayOutputWithContext(context.Context) CommonServiceEndpointPolicyArrayOutput
+func (o ConnectionMonitorSourcePtrOutput) Elem() ConnectionMonitorSourceOutput {
+ return o.ApplyT(func(v *ConnectionMonitorSource) ConnectionMonitorSource {
+ if v != nil {
+ return *v
+ }
+ var ret ConnectionMonitorSource
+ return ret
+ }).(ConnectionMonitorSourceOutput)
}
-type CommonServiceEndpointPolicyArray []CommonServiceEndpointPolicyInput
-
-func (CommonServiceEndpointPolicyArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonServiceEndpointPolicy)(nil)).Elem()
+// The source port used by connection monitor.
+func (o ConnectionMonitorSourcePtrOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorSource) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Port
+ }).(pulumi.IntPtrOutput)
}
-func (i CommonServiceEndpointPolicyArray) ToCommonServiceEndpointPolicyArrayOutput() CommonServiceEndpointPolicyArrayOutput {
- return i.ToCommonServiceEndpointPolicyArrayOutputWithContext(context.Background())
+// The ID of the resource used as the source by connection monitor.
+func (o ConnectionMonitorSourcePtrOutput) ResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorSource) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceId
+ }).(pulumi.StringPtrOutput)
}
-func (i CommonServiceEndpointPolicyArray) ToCommonServiceEndpointPolicyArrayOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonServiceEndpointPolicyArrayOutput)
+// Describes the source of connection monitor.
+type ConnectionMonitorSourceResponse struct {
+ // The source port used by connection monitor.
+ Port *int `pulumi:"port"`
+ // The ID of the resource used as the source by connection monitor.
+ ResourceId string `pulumi:"resourceId"`
}
-// Service End point policy resource.
-type CommonServiceEndpointPolicyOutput struct{ *pulumi.OutputState }
+// Describes the source of connection monitor.
+type ConnectionMonitorSourceResponseOutput struct{ *pulumi.OutputState }
-func (CommonServiceEndpointPolicyOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonServiceEndpointPolicy)(nil)).Elem()
+func (ConnectionMonitorSourceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorSourceResponse)(nil)).Elem()
}
-func (o CommonServiceEndpointPolicyOutput) ToCommonServiceEndpointPolicyOutput() CommonServiceEndpointPolicyOutput {
+func (o ConnectionMonitorSourceResponseOutput) ToConnectionMonitorSourceResponseOutput() ConnectionMonitorSourceResponseOutput {
return o
}
-func (o CommonServiceEndpointPolicyOutput) ToCommonServiceEndpointPolicyOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyOutput {
+func (o ConnectionMonitorSourceResponseOutput) ToConnectionMonitorSourceResponseOutputWithContext(ctx context.Context) ConnectionMonitorSourceResponseOutput {
return o
}
-// A collection of contextual service endpoint policy.
-func (o CommonServiceEndpointPolicyOutput) ContextualServiceEndpointPolicies() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicy) []string { return v.ContextualServiceEndpointPolicies }).(pulumi.StringArrayOutput)
-}
-
-// Resource ID.
-func (o CommonServiceEndpointPolicyOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicy) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The source port used by connection monitor.
+func (o ConnectionMonitorSourceResponseOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorSourceResponse) *int { return v.Port }).(pulumi.IntPtrOutput)
}
-// Resource location.
-func (o CommonServiceEndpointPolicyOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicy) *string { return v.Location }).(pulumi.StringPtrOutput)
+// The ID of the resource used as the source by connection monitor.
+func (o ConnectionMonitorSourceResponseOutput) ResourceId() pulumi.StringOutput {
+ return o.ApplyT(func(v ConnectionMonitorSourceResponse) string { return v.ResourceId }).(pulumi.StringOutput)
}
-// The alias indicating if the policy belongs to a service
-func (o CommonServiceEndpointPolicyOutput) ServiceAlias() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicy) *string { return v.ServiceAlias }).(pulumi.StringPtrOutput)
-}
+type ConnectionMonitorSourceResponsePtrOutput struct{ *pulumi.OutputState }
-// A collection of service endpoint policy definitions of the service endpoint policy.
-func (o CommonServiceEndpointPolicyOutput) ServiceEndpointPolicyDefinitions() CommonServiceEndpointPolicyDefinitionArrayOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicy) []CommonServiceEndpointPolicyDefinition {
- return v.ServiceEndpointPolicyDefinitions
- }).(CommonServiceEndpointPolicyDefinitionArrayOutput)
+func (ConnectionMonitorSourceResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorSourceResponse)(nil)).Elem()
}
-// Resource tags.
-func (o CommonServiceEndpointPolicyOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicy) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+func (o ConnectionMonitorSourceResponsePtrOutput) ToConnectionMonitorSourceResponsePtrOutput() ConnectionMonitorSourceResponsePtrOutput {
+ return o
}
-type CommonServiceEndpointPolicyArrayOutput struct{ *pulumi.OutputState }
-
-func (CommonServiceEndpointPolicyArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonServiceEndpointPolicy)(nil)).Elem()
+func (o ConnectionMonitorSourceResponsePtrOutput) ToConnectionMonitorSourceResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorSourceResponsePtrOutput {
+ return o
}
-func (o CommonServiceEndpointPolicyArrayOutput) ToCommonServiceEndpointPolicyArrayOutput() CommonServiceEndpointPolicyArrayOutput {
- return o
+func (o ConnectionMonitorSourceResponsePtrOutput) Elem() ConnectionMonitorSourceResponseOutput {
+ return o.ApplyT(func(v *ConnectionMonitorSourceResponse) ConnectionMonitorSourceResponse {
+ if v != nil {
+ return *v
+ }
+ var ret ConnectionMonitorSourceResponse
+ return ret
+ }).(ConnectionMonitorSourceResponseOutput)
}
-func (o CommonServiceEndpointPolicyArrayOutput) ToCommonServiceEndpointPolicyArrayOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyArrayOutput {
- return o
+// The source port used by connection monitor.
+func (o ConnectionMonitorSourceResponsePtrOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorSourceResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Port
+ }).(pulumi.IntPtrOutput)
}
-func (o CommonServiceEndpointPolicyArrayOutput) Index(i pulumi.IntInput) CommonServiceEndpointPolicyOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonServiceEndpointPolicy {
- return vs[0].([]CommonServiceEndpointPolicy)[vs[1].(int)]
- }).(CommonServiceEndpointPolicyOutput)
+// The ID of the resource used as the source by connection monitor.
+func (o ConnectionMonitorSourceResponsePtrOutput) ResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorSourceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceId
+ }).(pulumi.StringPtrOutput)
}
-// Service Endpoint policy definitions.
-type CommonServiceEndpointPolicyDefinition struct {
- // A description for this rule. Restricted to 140 chars.
- Description *string `pulumi:"description"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Name of the resource.
- Name *string `pulumi:"name"`
- // Service endpoint name.
- Service *string `pulumi:"service"`
- // A list of service resources.
- ServiceResources []string `pulumi:"serviceResources"`
+// Describes the threshold for declaring a test successful.
+type ConnectionMonitorSuccessThreshold struct {
+ // The maximum percentage of failed checks permitted for a test to evaluate as successful.
+ ChecksFailedPercent *int `pulumi:"checksFailedPercent"`
+ // The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
+ RoundTripTimeMs *float64 `pulumi:"roundTripTimeMs"`
}
-// CommonServiceEndpointPolicyDefinitionInput is an input type that accepts CommonServiceEndpointPolicyDefinitionArgs and CommonServiceEndpointPolicyDefinitionOutput values.
-// You can construct a concrete instance of `CommonServiceEndpointPolicyDefinitionInput` via:
+// ConnectionMonitorSuccessThresholdInput is an input type that accepts ConnectionMonitorSuccessThresholdArgs and ConnectionMonitorSuccessThresholdOutput values.
+// You can construct a concrete instance of `ConnectionMonitorSuccessThresholdInput` via:
//
-// CommonServiceEndpointPolicyDefinitionArgs{...}
-type CommonServiceEndpointPolicyDefinitionInput interface {
+// ConnectionMonitorSuccessThresholdArgs{...}
+type ConnectionMonitorSuccessThresholdInput interface {
pulumi.Input
- ToCommonServiceEndpointPolicyDefinitionOutput() CommonServiceEndpointPolicyDefinitionOutput
- ToCommonServiceEndpointPolicyDefinitionOutputWithContext(context.Context) CommonServiceEndpointPolicyDefinitionOutput
+ ToConnectionMonitorSuccessThresholdOutput() ConnectionMonitorSuccessThresholdOutput
+ ToConnectionMonitorSuccessThresholdOutputWithContext(context.Context) ConnectionMonitorSuccessThresholdOutput
}
-// Service Endpoint policy definitions.
-type CommonServiceEndpointPolicyDefinitionArgs struct {
- // A description for this rule. Restricted to 140 chars.
- Description pulumi.StringPtrInput `pulumi:"description"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Name of the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Service endpoint name.
- Service pulumi.StringPtrInput `pulumi:"service"`
- // A list of service resources.
- ServiceResources pulumi.StringArrayInput `pulumi:"serviceResources"`
+// Describes the threshold for declaring a test successful.
+type ConnectionMonitorSuccessThresholdArgs struct {
+ // The maximum percentage of failed checks permitted for a test to evaluate as successful.
+ ChecksFailedPercent pulumi.IntPtrInput `pulumi:"checksFailedPercent"`
+ // The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
+ RoundTripTimeMs pulumi.Float64PtrInput `pulumi:"roundTripTimeMs"`
}
-func (CommonServiceEndpointPolicyDefinitionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonServiceEndpointPolicyDefinition)(nil)).Elem()
+func (ConnectionMonitorSuccessThresholdArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorSuccessThreshold)(nil)).Elem()
}
-func (i CommonServiceEndpointPolicyDefinitionArgs) ToCommonServiceEndpointPolicyDefinitionOutput() CommonServiceEndpointPolicyDefinitionOutput {
- return i.ToCommonServiceEndpointPolicyDefinitionOutputWithContext(context.Background())
+func (i ConnectionMonitorSuccessThresholdArgs) ToConnectionMonitorSuccessThresholdOutput() ConnectionMonitorSuccessThresholdOutput {
+ return i.ToConnectionMonitorSuccessThresholdOutputWithContext(context.Background())
}
-func (i CommonServiceEndpointPolicyDefinitionArgs) ToCommonServiceEndpointPolicyDefinitionOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyDefinitionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonServiceEndpointPolicyDefinitionOutput)
+func (i ConnectionMonitorSuccessThresholdArgs) ToConnectionMonitorSuccessThresholdOutputWithContext(ctx context.Context) ConnectionMonitorSuccessThresholdOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorSuccessThresholdOutput)
}
-// CommonServiceEndpointPolicyDefinitionArrayInput is an input type that accepts CommonServiceEndpointPolicyDefinitionArray and CommonServiceEndpointPolicyDefinitionArrayOutput values.
-// You can construct a concrete instance of `CommonServiceEndpointPolicyDefinitionArrayInput` via:
+func (i ConnectionMonitorSuccessThresholdArgs) ToConnectionMonitorSuccessThresholdPtrOutput() ConnectionMonitorSuccessThresholdPtrOutput {
+ return i.ToConnectionMonitorSuccessThresholdPtrOutputWithContext(context.Background())
+}
+
+func (i ConnectionMonitorSuccessThresholdArgs) ToConnectionMonitorSuccessThresholdPtrOutputWithContext(ctx context.Context) ConnectionMonitorSuccessThresholdPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorSuccessThresholdOutput).ToConnectionMonitorSuccessThresholdPtrOutputWithContext(ctx)
+}
+
+// ConnectionMonitorSuccessThresholdPtrInput is an input type that accepts ConnectionMonitorSuccessThresholdArgs, ConnectionMonitorSuccessThresholdPtr and ConnectionMonitorSuccessThresholdPtrOutput values.
+// You can construct a concrete instance of `ConnectionMonitorSuccessThresholdPtrInput` via:
//
-// CommonServiceEndpointPolicyDefinitionArray{ CommonServiceEndpointPolicyDefinitionArgs{...} }
-type CommonServiceEndpointPolicyDefinitionArrayInput interface {
+// ConnectionMonitorSuccessThresholdArgs{...}
+//
+// or:
+//
+// nil
+type ConnectionMonitorSuccessThresholdPtrInput interface {
pulumi.Input
- ToCommonServiceEndpointPolicyDefinitionArrayOutput() CommonServiceEndpointPolicyDefinitionArrayOutput
- ToCommonServiceEndpointPolicyDefinitionArrayOutputWithContext(context.Context) CommonServiceEndpointPolicyDefinitionArrayOutput
+ ToConnectionMonitorSuccessThresholdPtrOutput() ConnectionMonitorSuccessThresholdPtrOutput
+ ToConnectionMonitorSuccessThresholdPtrOutputWithContext(context.Context) ConnectionMonitorSuccessThresholdPtrOutput
}
-type CommonServiceEndpointPolicyDefinitionArray []CommonServiceEndpointPolicyDefinitionInput
+type connectionMonitorSuccessThresholdPtrType ConnectionMonitorSuccessThresholdArgs
-func (CommonServiceEndpointPolicyDefinitionArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonServiceEndpointPolicyDefinition)(nil)).Elem()
+func ConnectionMonitorSuccessThresholdPtr(v *ConnectionMonitorSuccessThresholdArgs) ConnectionMonitorSuccessThresholdPtrInput {
+ return (*connectionMonitorSuccessThresholdPtrType)(v)
}
-func (i CommonServiceEndpointPolicyDefinitionArray) ToCommonServiceEndpointPolicyDefinitionArrayOutput() CommonServiceEndpointPolicyDefinitionArrayOutput {
- return i.ToCommonServiceEndpointPolicyDefinitionArrayOutputWithContext(context.Background())
+func (*connectionMonitorSuccessThresholdPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorSuccessThreshold)(nil)).Elem()
}
-func (i CommonServiceEndpointPolicyDefinitionArray) ToCommonServiceEndpointPolicyDefinitionArrayOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyDefinitionArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonServiceEndpointPolicyDefinitionArrayOutput)
+func (i *connectionMonitorSuccessThresholdPtrType) ToConnectionMonitorSuccessThresholdPtrOutput() ConnectionMonitorSuccessThresholdPtrOutput {
+ return i.ToConnectionMonitorSuccessThresholdPtrOutputWithContext(context.Background())
}
-// Service Endpoint policy definitions.
-type CommonServiceEndpointPolicyDefinitionOutput struct{ *pulumi.OutputState }
-
-func (CommonServiceEndpointPolicyDefinitionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonServiceEndpointPolicyDefinition)(nil)).Elem()
+func (i *connectionMonitorSuccessThresholdPtrType) ToConnectionMonitorSuccessThresholdPtrOutputWithContext(ctx context.Context) ConnectionMonitorSuccessThresholdPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorSuccessThresholdPtrOutput)
}
-func (o CommonServiceEndpointPolicyDefinitionOutput) ToCommonServiceEndpointPolicyDefinitionOutput() CommonServiceEndpointPolicyDefinitionOutput {
- return o
+// Describes the threshold for declaring a test successful.
+type ConnectionMonitorSuccessThresholdOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorSuccessThresholdOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorSuccessThreshold)(nil)).Elem()
}
-func (o CommonServiceEndpointPolicyDefinitionOutput) ToCommonServiceEndpointPolicyDefinitionOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyDefinitionOutput {
+func (o ConnectionMonitorSuccessThresholdOutput) ToConnectionMonitorSuccessThresholdOutput() ConnectionMonitorSuccessThresholdOutput {
return o
}
-// A description for this rule. Restricted to 140 chars.
-func (o CommonServiceEndpointPolicyDefinitionOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyDefinition) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorSuccessThresholdOutput) ToConnectionMonitorSuccessThresholdOutputWithContext(ctx context.Context) ConnectionMonitorSuccessThresholdOutput {
+ return o
}
-// Resource ID.
-func (o CommonServiceEndpointPolicyDefinitionOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyDefinition) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorSuccessThresholdOutput) ToConnectionMonitorSuccessThresholdPtrOutput() ConnectionMonitorSuccessThresholdPtrOutput {
+ return o.ToConnectionMonitorSuccessThresholdPtrOutputWithContext(context.Background())
}
-// Name of the resource.
-func (o CommonServiceEndpointPolicyDefinitionOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyDefinition) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorSuccessThresholdOutput) ToConnectionMonitorSuccessThresholdPtrOutputWithContext(ctx context.Context) ConnectionMonitorSuccessThresholdPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorSuccessThreshold) *ConnectionMonitorSuccessThreshold {
+ return &v
+ }).(ConnectionMonitorSuccessThresholdPtrOutput)
}
-// Service endpoint name.
-func (o CommonServiceEndpointPolicyDefinitionOutput) Service() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyDefinition) *string { return v.Service }).(pulumi.StringPtrOutput)
+// The maximum percentage of failed checks permitted for a test to evaluate as successful.
+func (o ConnectionMonitorSuccessThresholdOutput) ChecksFailedPercent() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorSuccessThreshold) *int { return v.ChecksFailedPercent }).(pulumi.IntPtrOutput)
}
-// A list of service resources.
-func (o CommonServiceEndpointPolicyDefinitionOutput) ServiceResources() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyDefinition) []string { return v.ServiceResources }).(pulumi.StringArrayOutput)
+// The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
+func (o ConnectionMonitorSuccessThresholdOutput) RoundTripTimeMs() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorSuccessThreshold) *float64 { return v.RoundTripTimeMs }).(pulumi.Float64PtrOutput)
}
-type CommonServiceEndpointPolicyDefinitionArrayOutput struct{ *pulumi.OutputState }
+type ConnectionMonitorSuccessThresholdPtrOutput struct{ *pulumi.OutputState }
-func (CommonServiceEndpointPolicyDefinitionArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonServiceEndpointPolicyDefinition)(nil)).Elem()
+func (ConnectionMonitorSuccessThresholdPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorSuccessThreshold)(nil)).Elem()
}
-func (o CommonServiceEndpointPolicyDefinitionArrayOutput) ToCommonServiceEndpointPolicyDefinitionArrayOutput() CommonServiceEndpointPolicyDefinitionArrayOutput {
+func (o ConnectionMonitorSuccessThresholdPtrOutput) ToConnectionMonitorSuccessThresholdPtrOutput() ConnectionMonitorSuccessThresholdPtrOutput {
return o
}
-func (o CommonServiceEndpointPolicyDefinitionArrayOutput) ToCommonServiceEndpointPolicyDefinitionArrayOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyDefinitionArrayOutput {
+func (o ConnectionMonitorSuccessThresholdPtrOutput) ToConnectionMonitorSuccessThresholdPtrOutputWithContext(ctx context.Context) ConnectionMonitorSuccessThresholdPtrOutput {
return o
}
-func (o CommonServiceEndpointPolicyDefinitionArrayOutput) Index(i pulumi.IntInput) CommonServiceEndpointPolicyDefinitionOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonServiceEndpointPolicyDefinition {
- return vs[0].([]CommonServiceEndpointPolicyDefinition)[vs[1].(int)]
- }).(CommonServiceEndpointPolicyDefinitionOutput)
-}
-
-// Service Endpoint policy definitions.
-type CommonServiceEndpointPolicyDefinitionResponse struct {
- // A description for this rule. Restricted to 140 chars.
- Description *string `pulumi:"description"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Name of the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the service endpoint policy definition resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Service endpoint name.
- Service *string `pulumi:"service"`
- // A list of service resources.
- ServiceResources []string `pulumi:"serviceResources"`
- // Resource type.
- Type string `pulumi:"type"`
-}
-
-// Service Endpoint policy definitions.
-type CommonServiceEndpointPolicyDefinitionResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonServiceEndpointPolicyDefinitionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonServiceEndpointPolicyDefinitionResponse)(nil)).Elem()
-}
-
-func (o CommonServiceEndpointPolicyDefinitionResponseOutput) ToCommonServiceEndpointPolicyDefinitionResponseOutput() CommonServiceEndpointPolicyDefinitionResponseOutput {
- return o
+func (o ConnectionMonitorSuccessThresholdPtrOutput) Elem() ConnectionMonitorSuccessThresholdOutput {
+ return o.ApplyT(func(v *ConnectionMonitorSuccessThreshold) ConnectionMonitorSuccessThreshold {
+ if v != nil {
+ return *v
+ }
+ var ret ConnectionMonitorSuccessThreshold
+ return ret
+ }).(ConnectionMonitorSuccessThresholdOutput)
}
-func (o CommonServiceEndpointPolicyDefinitionResponseOutput) ToCommonServiceEndpointPolicyDefinitionResponseOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyDefinitionResponseOutput {
- return o
+// The maximum percentage of failed checks permitted for a test to evaluate as successful.
+func (o ConnectionMonitorSuccessThresholdPtrOutput) ChecksFailedPercent() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorSuccessThreshold) *int {
+ if v == nil {
+ return nil
+ }
+ return v.ChecksFailedPercent
+ }).(pulumi.IntPtrOutput)
}
-// A description for this rule. Restricted to 140 chars.
-func (o CommonServiceEndpointPolicyDefinitionResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyDefinitionResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+// The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
+func (o ConnectionMonitorSuccessThresholdPtrOutput) RoundTripTimeMs() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorSuccessThreshold) *float64 {
+ if v == nil {
+ return nil
+ }
+ return v.RoundTripTimeMs
+ }).(pulumi.Float64PtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonServiceEndpointPolicyDefinitionResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyDefinitionResponse) string { return v.Etag }).(pulumi.StringOutput)
+// Describes the threshold for declaring a test successful.
+type ConnectionMonitorSuccessThresholdResponse struct {
+ // The maximum percentage of failed checks permitted for a test to evaluate as successful.
+ ChecksFailedPercent *int `pulumi:"checksFailedPercent"`
+ // The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
+ RoundTripTimeMs *float64 `pulumi:"roundTripTimeMs"`
}
-// Resource ID.
-func (o CommonServiceEndpointPolicyDefinitionResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyDefinitionResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
+// Describes the threshold for declaring a test successful.
+type ConnectionMonitorSuccessThresholdResponseOutput struct{ *pulumi.OutputState }
-// Name of the resource.
-func (o CommonServiceEndpointPolicyDefinitionResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyDefinitionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (ConnectionMonitorSuccessThresholdResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorSuccessThresholdResponse)(nil)).Elem()
}
-// The provisioning state of the service endpoint policy definition resource.
-func (o CommonServiceEndpointPolicyDefinitionResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyDefinitionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o ConnectionMonitorSuccessThresholdResponseOutput) ToConnectionMonitorSuccessThresholdResponseOutput() ConnectionMonitorSuccessThresholdResponseOutput {
+ return o
}
-// Service endpoint name.
-func (o CommonServiceEndpointPolicyDefinitionResponseOutput) Service() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyDefinitionResponse) *string { return v.Service }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorSuccessThresholdResponseOutput) ToConnectionMonitorSuccessThresholdResponseOutputWithContext(ctx context.Context) ConnectionMonitorSuccessThresholdResponseOutput {
+ return o
}
-// A list of service resources.
-func (o CommonServiceEndpointPolicyDefinitionResponseOutput) ServiceResources() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyDefinitionResponse) []string { return v.ServiceResources }).(pulumi.StringArrayOutput)
+// The maximum percentage of failed checks permitted for a test to evaluate as successful.
+func (o ConnectionMonitorSuccessThresholdResponseOutput) ChecksFailedPercent() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorSuccessThresholdResponse) *int { return v.ChecksFailedPercent }).(pulumi.IntPtrOutput)
}
-// Resource type.
-func (o CommonServiceEndpointPolicyDefinitionResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyDefinitionResponse) string { return v.Type }).(pulumi.StringOutput)
+// The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
+func (o ConnectionMonitorSuccessThresholdResponseOutput) RoundTripTimeMs() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorSuccessThresholdResponse) *float64 { return v.RoundTripTimeMs }).(pulumi.Float64PtrOutput)
}
-type CommonServiceEndpointPolicyDefinitionResponseArrayOutput struct{ *pulumi.OutputState }
+type ConnectionMonitorSuccessThresholdResponsePtrOutput struct{ *pulumi.OutputState }
-func (CommonServiceEndpointPolicyDefinitionResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonServiceEndpointPolicyDefinitionResponse)(nil)).Elem()
+func (ConnectionMonitorSuccessThresholdResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorSuccessThresholdResponse)(nil)).Elem()
}
-func (o CommonServiceEndpointPolicyDefinitionResponseArrayOutput) ToCommonServiceEndpointPolicyDefinitionResponseArrayOutput() CommonServiceEndpointPolicyDefinitionResponseArrayOutput {
+func (o ConnectionMonitorSuccessThresholdResponsePtrOutput) ToConnectionMonitorSuccessThresholdResponsePtrOutput() ConnectionMonitorSuccessThresholdResponsePtrOutput {
return o
}
-func (o CommonServiceEndpointPolicyDefinitionResponseArrayOutput) ToCommonServiceEndpointPolicyDefinitionResponseArrayOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyDefinitionResponseArrayOutput {
+func (o ConnectionMonitorSuccessThresholdResponsePtrOutput) ToConnectionMonitorSuccessThresholdResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorSuccessThresholdResponsePtrOutput {
return o
}
-func (o CommonServiceEndpointPolicyDefinitionResponseArrayOutput) Index(i pulumi.IntInput) CommonServiceEndpointPolicyDefinitionResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonServiceEndpointPolicyDefinitionResponse {
- return vs[0].([]CommonServiceEndpointPolicyDefinitionResponse)[vs[1].(int)]
- }).(CommonServiceEndpointPolicyDefinitionResponseOutput)
+func (o ConnectionMonitorSuccessThresholdResponsePtrOutput) Elem() ConnectionMonitorSuccessThresholdResponseOutput {
+ return o.ApplyT(func(v *ConnectionMonitorSuccessThresholdResponse) ConnectionMonitorSuccessThresholdResponse {
+ if v != nil {
+ return *v
+ }
+ var ret ConnectionMonitorSuccessThresholdResponse
+ return ret
+ }).(ConnectionMonitorSuccessThresholdResponseOutput)
}
-// Service End point policy resource.
-type CommonServiceEndpointPolicyResponse struct {
- // A collection of contextual service endpoint policy.
- ContextualServiceEndpointPolicies []string `pulumi:"contextualServiceEndpointPolicies"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Kind of service endpoint policy. This is metadata used for the Azure portal experience.
- Kind string `pulumi:"kind"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // The provisioning state of the service endpoint policy resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The resource GUID property of the service endpoint policy resource.
- ResourceGuid string `pulumi:"resourceGuid"`
- // The alias indicating if the policy belongs to a service
- ServiceAlias *string `pulumi:"serviceAlias"`
- // A collection of service endpoint policy definitions of the service endpoint policy.
- ServiceEndpointPolicyDefinitions []CommonServiceEndpointPolicyDefinitionResponse `pulumi:"serviceEndpointPolicyDefinitions"`
- // A collection of references to subnets.
- Subnets []CommonSubnetResponse `pulumi:"subnets"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
+// The maximum percentage of failed checks permitted for a test to evaluate as successful.
+func (o ConnectionMonitorSuccessThresholdResponsePtrOutput) ChecksFailedPercent() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorSuccessThresholdResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.ChecksFailedPercent
+ }).(pulumi.IntPtrOutput)
}
-// Service End point policy resource.
-type CommonServiceEndpointPolicyResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonServiceEndpointPolicyResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonServiceEndpointPolicyResponse)(nil)).Elem()
+// The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
+func (o ConnectionMonitorSuccessThresholdResponsePtrOutput) RoundTripTimeMs() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorSuccessThresholdResponse) *float64 {
+ if v == nil {
+ return nil
+ }
+ return v.RoundTripTimeMs
+ }).(pulumi.Float64PtrOutput)
}
-func (o CommonServiceEndpointPolicyResponseOutput) ToCommonServiceEndpointPolicyResponseOutput() CommonServiceEndpointPolicyResponseOutput {
- return o
+// Describes the TCP configuration.
+type ConnectionMonitorTcpConfiguration struct {
+ // Destination port behavior.
+ DestinationPortBehavior *string `pulumi:"destinationPortBehavior"`
+ // Value indicating whether path evaluation with trace route should be disabled.
+ DisableTraceRoute *bool `pulumi:"disableTraceRoute"`
+ // The port to connect to.
+ Port *int `pulumi:"port"`
}
-func (o CommonServiceEndpointPolicyResponseOutput) ToCommonServiceEndpointPolicyResponseOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyResponseOutput {
- return o
-}
+// ConnectionMonitorTcpConfigurationInput is an input type that accepts ConnectionMonitorTcpConfigurationArgs and ConnectionMonitorTcpConfigurationOutput values.
+// You can construct a concrete instance of `ConnectionMonitorTcpConfigurationInput` via:
+//
+// ConnectionMonitorTcpConfigurationArgs{...}
+type ConnectionMonitorTcpConfigurationInput interface {
+ pulumi.Input
-// A collection of contextual service endpoint policy.
-func (o CommonServiceEndpointPolicyResponseOutput) ContextualServiceEndpointPolicies() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyResponse) []string { return v.ContextualServiceEndpointPolicies }).(pulumi.StringArrayOutput)
+ ToConnectionMonitorTcpConfigurationOutput() ConnectionMonitorTcpConfigurationOutput
+ ToConnectionMonitorTcpConfigurationOutputWithContext(context.Context) ConnectionMonitorTcpConfigurationOutput
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonServiceEndpointPolicyResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyResponse) string { return v.Etag }).(pulumi.StringOutput)
+// Describes the TCP configuration.
+type ConnectionMonitorTcpConfigurationArgs struct {
+ // Destination port behavior.
+ DestinationPortBehavior pulumi.StringPtrInput `pulumi:"destinationPortBehavior"`
+ // Value indicating whether path evaluation with trace route should be disabled.
+ DisableTraceRoute pulumi.BoolPtrInput `pulumi:"disableTraceRoute"`
+ // The port to connect to.
+ Port pulumi.IntPtrInput `pulumi:"port"`
}
-// Resource ID.
-func (o CommonServiceEndpointPolicyResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (ConnectionMonitorTcpConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorTcpConfiguration)(nil)).Elem()
}
-// Kind of service endpoint policy. This is metadata used for the Azure portal experience.
-func (o CommonServiceEndpointPolicyResponseOutput) Kind() pulumi.StringOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyResponse) string { return v.Kind }).(pulumi.StringOutput)
+func (i ConnectionMonitorTcpConfigurationArgs) ToConnectionMonitorTcpConfigurationOutput() ConnectionMonitorTcpConfigurationOutput {
+ return i.ToConnectionMonitorTcpConfigurationOutputWithContext(context.Background())
}
-// Resource location.
-func (o CommonServiceEndpointPolicyResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+func (i ConnectionMonitorTcpConfigurationArgs) ToConnectionMonitorTcpConfigurationOutputWithContext(ctx context.Context) ConnectionMonitorTcpConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorTcpConfigurationOutput)
}
-// Resource name.
-func (o CommonServiceEndpointPolicyResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyResponse) string { return v.Name }).(pulumi.StringOutput)
+func (i ConnectionMonitorTcpConfigurationArgs) ToConnectionMonitorTcpConfigurationPtrOutput() ConnectionMonitorTcpConfigurationPtrOutput {
+ return i.ToConnectionMonitorTcpConfigurationPtrOutputWithContext(context.Background())
}
-// The provisioning state of the service endpoint policy resource.
-func (o CommonServiceEndpointPolicyResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (i ConnectionMonitorTcpConfigurationArgs) ToConnectionMonitorTcpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorTcpConfigurationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorTcpConfigurationOutput).ToConnectionMonitorTcpConfigurationPtrOutputWithContext(ctx)
}
-// The resource GUID property of the service endpoint policy resource.
-func (o CommonServiceEndpointPolicyResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
-}
+// ConnectionMonitorTcpConfigurationPtrInput is an input type that accepts ConnectionMonitorTcpConfigurationArgs, ConnectionMonitorTcpConfigurationPtr and ConnectionMonitorTcpConfigurationPtrOutput values.
+// You can construct a concrete instance of `ConnectionMonitorTcpConfigurationPtrInput` via:
+//
+// ConnectionMonitorTcpConfigurationArgs{...}
+//
+// or:
+//
+// nil
+type ConnectionMonitorTcpConfigurationPtrInput interface {
+ pulumi.Input
-// The alias indicating if the policy belongs to a service
-func (o CommonServiceEndpointPolicyResponseOutput) ServiceAlias() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyResponse) *string { return v.ServiceAlias }).(pulumi.StringPtrOutput)
+ ToConnectionMonitorTcpConfigurationPtrOutput() ConnectionMonitorTcpConfigurationPtrOutput
+ ToConnectionMonitorTcpConfigurationPtrOutputWithContext(context.Context) ConnectionMonitorTcpConfigurationPtrOutput
}
-// A collection of service endpoint policy definitions of the service endpoint policy.
-func (o CommonServiceEndpointPolicyResponseOutput) ServiceEndpointPolicyDefinitions() CommonServiceEndpointPolicyDefinitionResponseArrayOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyResponse) []CommonServiceEndpointPolicyDefinitionResponse {
- return v.ServiceEndpointPolicyDefinitions
- }).(CommonServiceEndpointPolicyDefinitionResponseArrayOutput)
+type connectionMonitorTcpConfigurationPtrType ConnectionMonitorTcpConfigurationArgs
+
+func ConnectionMonitorTcpConfigurationPtr(v *ConnectionMonitorTcpConfigurationArgs) ConnectionMonitorTcpConfigurationPtrInput {
+ return (*connectionMonitorTcpConfigurationPtrType)(v)
}
-// A collection of references to subnets.
-func (o CommonServiceEndpointPolicyResponseOutput) Subnets() CommonSubnetResponseArrayOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyResponse) []CommonSubnetResponse { return v.Subnets }).(CommonSubnetResponseArrayOutput)
+func (*connectionMonitorTcpConfigurationPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorTcpConfiguration)(nil)).Elem()
}
-// Resource tags.
-func (o CommonServiceEndpointPolicyResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+func (i *connectionMonitorTcpConfigurationPtrType) ToConnectionMonitorTcpConfigurationPtrOutput() ConnectionMonitorTcpConfigurationPtrOutput {
+ return i.ToConnectionMonitorTcpConfigurationPtrOutputWithContext(context.Background())
}
-// Resource type.
-func (o CommonServiceEndpointPolicyResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonServiceEndpointPolicyResponse) string { return v.Type }).(pulumi.StringOutput)
+func (i *connectionMonitorTcpConfigurationPtrType) ToConnectionMonitorTcpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorTcpConfigurationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorTcpConfigurationPtrOutput)
}
-type CommonServiceEndpointPolicyResponseArrayOutput struct{ *pulumi.OutputState }
+// Describes the TCP configuration.
+type ConnectionMonitorTcpConfigurationOutput struct{ *pulumi.OutputState }
-func (CommonServiceEndpointPolicyResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonServiceEndpointPolicyResponse)(nil)).Elem()
+func (ConnectionMonitorTcpConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorTcpConfiguration)(nil)).Elem()
}
-func (o CommonServiceEndpointPolicyResponseArrayOutput) ToCommonServiceEndpointPolicyResponseArrayOutput() CommonServiceEndpointPolicyResponseArrayOutput {
+func (o ConnectionMonitorTcpConfigurationOutput) ToConnectionMonitorTcpConfigurationOutput() ConnectionMonitorTcpConfigurationOutput {
return o
}
-func (o CommonServiceEndpointPolicyResponseArrayOutput) ToCommonServiceEndpointPolicyResponseArrayOutputWithContext(ctx context.Context) CommonServiceEndpointPolicyResponseArrayOutput {
+func (o ConnectionMonitorTcpConfigurationOutput) ToConnectionMonitorTcpConfigurationOutputWithContext(ctx context.Context) ConnectionMonitorTcpConfigurationOutput {
return o
}
-func (o CommonServiceEndpointPolicyResponseArrayOutput) Index(i pulumi.IntInput) CommonServiceEndpointPolicyResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonServiceEndpointPolicyResponse {
- return vs[0].([]CommonServiceEndpointPolicyResponse)[vs[1].(int)]
- }).(CommonServiceEndpointPolicyResponseOutput)
+func (o ConnectionMonitorTcpConfigurationOutput) ToConnectionMonitorTcpConfigurationPtrOutput() ConnectionMonitorTcpConfigurationPtrOutput {
+ return o.ToConnectionMonitorTcpConfigurationPtrOutputWithContext(context.Background())
}
-// The service endpoint properties.
-type CommonServiceEndpointPropertiesFormat struct {
- // A list of locations.
- Locations []string `pulumi:"locations"`
- // SubResource as network identifier.
- NetworkIdentifier *CommonSubResource `pulumi:"networkIdentifier"`
- // The type of the endpoint service.
- Service *string `pulumi:"service"`
+func (o ConnectionMonitorTcpConfigurationOutput) ToConnectionMonitorTcpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorTcpConfigurationPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorTcpConfiguration) *ConnectionMonitorTcpConfiguration {
+ return &v
+ }).(ConnectionMonitorTcpConfigurationPtrOutput)
}
-// CommonServiceEndpointPropertiesFormatInput is an input type that accepts CommonServiceEndpointPropertiesFormatArgs and CommonServiceEndpointPropertiesFormatOutput values.
-// You can construct a concrete instance of `CommonServiceEndpointPropertiesFormatInput` via:
-//
-// CommonServiceEndpointPropertiesFormatArgs{...}
-type CommonServiceEndpointPropertiesFormatInput interface {
- pulumi.Input
-
- ToCommonServiceEndpointPropertiesFormatOutput() CommonServiceEndpointPropertiesFormatOutput
- ToCommonServiceEndpointPropertiesFormatOutputWithContext(context.Context) CommonServiceEndpointPropertiesFormatOutput
+// Destination port behavior.
+func (o ConnectionMonitorTcpConfigurationOutput) DestinationPortBehavior() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTcpConfiguration) *string { return v.DestinationPortBehavior }).(pulumi.StringPtrOutput)
}
-// The service endpoint properties.
-type CommonServiceEndpointPropertiesFormatArgs struct {
- // A list of locations.
- Locations pulumi.StringArrayInput `pulumi:"locations"`
- // SubResource as network identifier.
- NetworkIdentifier CommonSubResourcePtrInput `pulumi:"networkIdentifier"`
- // The type of the endpoint service.
- Service pulumi.StringPtrInput `pulumi:"service"`
+// Value indicating whether path evaluation with trace route should be disabled.
+func (o ConnectionMonitorTcpConfigurationOutput) DisableTraceRoute() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTcpConfiguration) *bool { return v.DisableTraceRoute }).(pulumi.BoolPtrOutput)
}
-func (CommonServiceEndpointPropertiesFormatArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonServiceEndpointPropertiesFormat)(nil)).Elem()
+// The port to connect to.
+func (o ConnectionMonitorTcpConfigurationOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTcpConfiguration) *int { return v.Port }).(pulumi.IntPtrOutput)
}
-func (i CommonServiceEndpointPropertiesFormatArgs) ToCommonServiceEndpointPropertiesFormatOutput() CommonServiceEndpointPropertiesFormatOutput {
- return i.ToCommonServiceEndpointPropertiesFormatOutputWithContext(context.Background())
+type ConnectionMonitorTcpConfigurationPtrOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorTcpConfigurationPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorTcpConfiguration)(nil)).Elem()
}
-func (i CommonServiceEndpointPropertiesFormatArgs) ToCommonServiceEndpointPropertiesFormatOutputWithContext(ctx context.Context) CommonServiceEndpointPropertiesFormatOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonServiceEndpointPropertiesFormatOutput)
+func (o ConnectionMonitorTcpConfigurationPtrOutput) ToConnectionMonitorTcpConfigurationPtrOutput() ConnectionMonitorTcpConfigurationPtrOutput {
+ return o
}
-// CommonServiceEndpointPropertiesFormatArrayInput is an input type that accepts CommonServiceEndpointPropertiesFormatArray and CommonServiceEndpointPropertiesFormatArrayOutput values.
-// You can construct a concrete instance of `CommonServiceEndpointPropertiesFormatArrayInput` via:
-//
-// CommonServiceEndpointPropertiesFormatArray{ CommonServiceEndpointPropertiesFormatArgs{...} }
-type CommonServiceEndpointPropertiesFormatArrayInput interface {
- pulumi.Input
+func (o ConnectionMonitorTcpConfigurationPtrOutput) ToConnectionMonitorTcpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorTcpConfigurationPtrOutput {
+ return o
+}
- ToCommonServiceEndpointPropertiesFormatArrayOutput() CommonServiceEndpointPropertiesFormatArrayOutput
- ToCommonServiceEndpointPropertiesFormatArrayOutputWithContext(context.Context) CommonServiceEndpointPropertiesFormatArrayOutput
+func (o ConnectionMonitorTcpConfigurationPtrOutput) Elem() ConnectionMonitorTcpConfigurationOutput {
+ return o.ApplyT(func(v *ConnectionMonitorTcpConfiguration) ConnectionMonitorTcpConfiguration {
+ if v != nil {
+ return *v
+ }
+ var ret ConnectionMonitorTcpConfiguration
+ return ret
+ }).(ConnectionMonitorTcpConfigurationOutput)
}
-type CommonServiceEndpointPropertiesFormatArray []CommonServiceEndpointPropertiesFormatInput
+// Destination port behavior.
+func (o ConnectionMonitorTcpConfigurationPtrOutput) DestinationPortBehavior() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorTcpConfiguration) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationPortBehavior
+ }).(pulumi.StringPtrOutput)
+}
-func (CommonServiceEndpointPropertiesFormatArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonServiceEndpointPropertiesFormat)(nil)).Elem()
+// Value indicating whether path evaluation with trace route should be disabled.
+func (o ConnectionMonitorTcpConfigurationPtrOutput) DisableTraceRoute() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorTcpConfiguration) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DisableTraceRoute
+ }).(pulumi.BoolPtrOutput)
}
-func (i CommonServiceEndpointPropertiesFormatArray) ToCommonServiceEndpointPropertiesFormatArrayOutput() CommonServiceEndpointPropertiesFormatArrayOutput {
- return i.ToCommonServiceEndpointPropertiesFormatArrayOutputWithContext(context.Background())
+// The port to connect to.
+func (o ConnectionMonitorTcpConfigurationPtrOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorTcpConfiguration) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Port
+ }).(pulumi.IntPtrOutput)
}
-func (i CommonServiceEndpointPropertiesFormatArray) ToCommonServiceEndpointPropertiesFormatArrayOutputWithContext(ctx context.Context) CommonServiceEndpointPropertiesFormatArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonServiceEndpointPropertiesFormatArrayOutput)
+// Describes the TCP configuration.
+type ConnectionMonitorTcpConfigurationResponse struct {
+ // Destination port behavior.
+ DestinationPortBehavior *string `pulumi:"destinationPortBehavior"`
+ // Value indicating whether path evaluation with trace route should be disabled.
+ DisableTraceRoute *bool `pulumi:"disableTraceRoute"`
+ // The port to connect to.
+ Port *int `pulumi:"port"`
}
-// The service endpoint properties.
-type CommonServiceEndpointPropertiesFormatOutput struct{ *pulumi.OutputState }
+// Describes the TCP configuration.
+type ConnectionMonitorTcpConfigurationResponseOutput struct{ *pulumi.OutputState }
-func (CommonServiceEndpointPropertiesFormatOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonServiceEndpointPropertiesFormat)(nil)).Elem()
+func (ConnectionMonitorTcpConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorTcpConfigurationResponse)(nil)).Elem()
}
-func (o CommonServiceEndpointPropertiesFormatOutput) ToCommonServiceEndpointPropertiesFormatOutput() CommonServiceEndpointPropertiesFormatOutput {
+func (o ConnectionMonitorTcpConfigurationResponseOutput) ToConnectionMonitorTcpConfigurationResponseOutput() ConnectionMonitorTcpConfigurationResponseOutput {
return o
}
-func (o CommonServiceEndpointPropertiesFormatOutput) ToCommonServiceEndpointPropertiesFormatOutputWithContext(ctx context.Context) CommonServiceEndpointPropertiesFormatOutput {
+func (o ConnectionMonitorTcpConfigurationResponseOutput) ToConnectionMonitorTcpConfigurationResponseOutputWithContext(ctx context.Context) ConnectionMonitorTcpConfigurationResponseOutput {
return o
}
-// A list of locations.
-func (o CommonServiceEndpointPropertiesFormatOutput) Locations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonServiceEndpointPropertiesFormat) []string { return v.Locations }).(pulumi.StringArrayOutput)
+// Destination port behavior.
+func (o ConnectionMonitorTcpConfigurationResponseOutput) DestinationPortBehavior() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTcpConfigurationResponse) *string { return v.DestinationPortBehavior }).(pulumi.StringPtrOutput)
}
-// SubResource as network identifier.
-func (o CommonServiceEndpointPropertiesFormatOutput) NetworkIdentifier() CommonSubResourcePtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPropertiesFormat) *CommonSubResource { return v.NetworkIdentifier }).(CommonSubResourcePtrOutput)
+// Value indicating whether path evaluation with trace route should be disabled.
+func (o ConnectionMonitorTcpConfigurationResponseOutput) DisableTraceRoute() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTcpConfigurationResponse) *bool { return v.DisableTraceRoute }).(pulumi.BoolPtrOutput)
}
-// The type of the endpoint service.
-func (o CommonServiceEndpointPropertiesFormatOutput) Service() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPropertiesFormat) *string { return v.Service }).(pulumi.StringPtrOutput)
+// The port to connect to.
+func (o ConnectionMonitorTcpConfigurationResponseOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTcpConfigurationResponse) *int { return v.Port }).(pulumi.IntPtrOutput)
}
-type CommonServiceEndpointPropertiesFormatArrayOutput struct{ *pulumi.OutputState }
+type ConnectionMonitorTcpConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
-func (CommonServiceEndpointPropertiesFormatArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonServiceEndpointPropertiesFormat)(nil)).Elem()
+func (ConnectionMonitorTcpConfigurationResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorTcpConfigurationResponse)(nil)).Elem()
}
-func (o CommonServiceEndpointPropertiesFormatArrayOutput) ToCommonServiceEndpointPropertiesFormatArrayOutput() CommonServiceEndpointPropertiesFormatArrayOutput {
+func (o ConnectionMonitorTcpConfigurationResponsePtrOutput) ToConnectionMonitorTcpConfigurationResponsePtrOutput() ConnectionMonitorTcpConfigurationResponsePtrOutput {
return o
}
-func (o CommonServiceEndpointPropertiesFormatArrayOutput) ToCommonServiceEndpointPropertiesFormatArrayOutputWithContext(ctx context.Context) CommonServiceEndpointPropertiesFormatArrayOutput {
+func (o ConnectionMonitorTcpConfigurationResponsePtrOutput) ToConnectionMonitorTcpConfigurationResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorTcpConfigurationResponsePtrOutput {
return o
}
-func (o CommonServiceEndpointPropertiesFormatArrayOutput) Index(i pulumi.IntInput) CommonServiceEndpointPropertiesFormatOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonServiceEndpointPropertiesFormat {
- return vs[0].([]CommonServiceEndpointPropertiesFormat)[vs[1].(int)]
- }).(CommonServiceEndpointPropertiesFormatOutput)
+func (o ConnectionMonitorTcpConfigurationResponsePtrOutput) Elem() ConnectionMonitorTcpConfigurationResponseOutput {
+ return o.ApplyT(func(v *ConnectionMonitorTcpConfigurationResponse) ConnectionMonitorTcpConfigurationResponse {
+ if v != nil {
+ return *v
+ }
+ var ret ConnectionMonitorTcpConfigurationResponse
+ return ret
+ }).(ConnectionMonitorTcpConfigurationResponseOutput)
}
-// The service endpoint properties.
-type CommonServiceEndpointPropertiesFormatResponse struct {
- // A list of locations.
- Locations []string `pulumi:"locations"`
- // SubResource as network identifier.
- NetworkIdentifier *CommonSubResourceResponse `pulumi:"networkIdentifier"`
- // The provisioning state of the service endpoint resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The type of the endpoint service.
- Service *string `pulumi:"service"`
+// Destination port behavior.
+func (o ConnectionMonitorTcpConfigurationResponsePtrOutput) DestinationPortBehavior() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorTcpConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationPortBehavior
+ }).(pulumi.StringPtrOutput)
}
-// The service endpoint properties.
-type CommonServiceEndpointPropertiesFormatResponseOutput struct{ *pulumi.OutputState }
+// Value indicating whether path evaluation with trace route should be disabled.
+func (o ConnectionMonitorTcpConfigurationResponsePtrOutput) DisableTraceRoute() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorTcpConfigurationResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DisableTraceRoute
+ }).(pulumi.BoolPtrOutput)
+}
-func (CommonServiceEndpointPropertiesFormatResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonServiceEndpointPropertiesFormatResponse)(nil)).Elem()
+// The port to connect to.
+func (o ConnectionMonitorTcpConfigurationResponsePtrOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorTcpConfigurationResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Port
+ }).(pulumi.IntPtrOutput)
}
-func (o CommonServiceEndpointPropertiesFormatResponseOutput) ToCommonServiceEndpointPropertiesFormatResponseOutput() CommonServiceEndpointPropertiesFormatResponseOutput {
- return o
+// Describes a connection monitor test configuration.
+type ConnectionMonitorTestConfiguration struct {
+ // The parameters used to perform test evaluation over HTTP.
+ HttpConfiguration *ConnectionMonitorHttpConfiguration `pulumi:"httpConfiguration"`
+ // The parameters used to perform test evaluation over ICMP.
+ IcmpConfiguration *ConnectionMonitorIcmpConfiguration `pulumi:"icmpConfiguration"`
+ // The name of the connection monitor test configuration.
+ Name string `pulumi:"name"`
+ // The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters.
+ PreferredIPVersion *string `pulumi:"preferredIPVersion"`
+ // The protocol to use in test evaluation.
+ Protocol string `pulumi:"protocol"`
+ // The threshold for declaring a test successful.
+ SuccessThreshold *ConnectionMonitorSuccessThreshold `pulumi:"successThreshold"`
+ // The parameters used to perform test evaluation over TCP.
+ TcpConfiguration *ConnectionMonitorTcpConfiguration `pulumi:"tcpConfiguration"`
+ // The frequency of test evaluation, in seconds.
+ TestFrequencySec *int `pulumi:"testFrequencySec"`
}
-func (o CommonServiceEndpointPropertiesFormatResponseOutput) ToCommonServiceEndpointPropertiesFormatResponseOutputWithContext(ctx context.Context) CommonServiceEndpointPropertiesFormatResponseOutput {
- return o
+// ConnectionMonitorTestConfigurationInput is an input type that accepts ConnectionMonitorTestConfigurationArgs and ConnectionMonitorTestConfigurationOutput values.
+// You can construct a concrete instance of `ConnectionMonitorTestConfigurationInput` via:
+//
+// ConnectionMonitorTestConfigurationArgs{...}
+type ConnectionMonitorTestConfigurationInput interface {
+ pulumi.Input
+
+ ToConnectionMonitorTestConfigurationOutput() ConnectionMonitorTestConfigurationOutput
+ ToConnectionMonitorTestConfigurationOutputWithContext(context.Context) ConnectionMonitorTestConfigurationOutput
}
-// A list of locations.
-func (o CommonServiceEndpointPropertiesFormatResponseOutput) Locations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonServiceEndpointPropertiesFormatResponse) []string { return v.Locations }).(pulumi.StringArrayOutput)
+// Describes a connection monitor test configuration.
+type ConnectionMonitorTestConfigurationArgs struct {
+ // The parameters used to perform test evaluation over HTTP.
+ HttpConfiguration ConnectionMonitorHttpConfigurationPtrInput `pulumi:"httpConfiguration"`
+ // The parameters used to perform test evaluation over ICMP.
+ IcmpConfiguration ConnectionMonitorIcmpConfigurationPtrInput `pulumi:"icmpConfiguration"`
+ // The name of the connection monitor test configuration.
+ Name pulumi.StringInput `pulumi:"name"`
+ // The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters.
+ PreferredIPVersion pulumi.StringPtrInput `pulumi:"preferredIPVersion"`
+ // The protocol to use in test evaluation.
+ Protocol pulumi.StringInput `pulumi:"protocol"`
+ // The threshold for declaring a test successful.
+ SuccessThreshold ConnectionMonitorSuccessThresholdPtrInput `pulumi:"successThreshold"`
+ // The parameters used to perform test evaluation over TCP.
+ TcpConfiguration ConnectionMonitorTcpConfigurationPtrInput `pulumi:"tcpConfiguration"`
+ // The frequency of test evaluation, in seconds.
+ TestFrequencySec pulumi.IntPtrInput `pulumi:"testFrequencySec"`
}
-// SubResource as network identifier.
-func (o CommonServiceEndpointPropertiesFormatResponseOutput) NetworkIdentifier() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPropertiesFormatResponse) *CommonSubResourceResponse {
- return v.NetworkIdentifier
- }).(CommonSubResourceResponsePtrOutput)
+func (ConnectionMonitorTestConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorTestConfiguration)(nil)).Elem()
}
-// The provisioning state of the service endpoint resource.
-func (o CommonServiceEndpointPropertiesFormatResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonServiceEndpointPropertiesFormatResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (i ConnectionMonitorTestConfigurationArgs) ToConnectionMonitorTestConfigurationOutput() ConnectionMonitorTestConfigurationOutput {
+ return i.ToConnectionMonitorTestConfigurationOutputWithContext(context.Background())
}
-// The type of the endpoint service.
-func (o CommonServiceEndpointPropertiesFormatResponseOutput) Service() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonServiceEndpointPropertiesFormatResponse) *string { return v.Service }).(pulumi.StringPtrOutput)
+func (i ConnectionMonitorTestConfigurationArgs) ToConnectionMonitorTestConfigurationOutputWithContext(ctx context.Context) ConnectionMonitorTestConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorTestConfigurationOutput)
}
-type CommonServiceEndpointPropertiesFormatResponseArrayOutput struct{ *pulumi.OutputState }
+// ConnectionMonitorTestConfigurationArrayInput is an input type that accepts ConnectionMonitorTestConfigurationArray and ConnectionMonitorTestConfigurationArrayOutput values.
+// You can construct a concrete instance of `ConnectionMonitorTestConfigurationArrayInput` via:
+//
+// ConnectionMonitorTestConfigurationArray{ ConnectionMonitorTestConfigurationArgs{...} }
+type ConnectionMonitorTestConfigurationArrayInput interface {
+ pulumi.Input
-func (CommonServiceEndpointPropertiesFormatResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonServiceEndpointPropertiesFormatResponse)(nil)).Elem()
+ ToConnectionMonitorTestConfigurationArrayOutput() ConnectionMonitorTestConfigurationArrayOutput
+ ToConnectionMonitorTestConfigurationArrayOutputWithContext(context.Context) ConnectionMonitorTestConfigurationArrayOutput
}
-func (o CommonServiceEndpointPropertiesFormatResponseArrayOutput) ToCommonServiceEndpointPropertiesFormatResponseArrayOutput() CommonServiceEndpointPropertiesFormatResponseArrayOutput {
- return o
-}
+type ConnectionMonitorTestConfigurationArray []ConnectionMonitorTestConfigurationInput
-func (o CommonServiceEndpointPropertiesFormatResponseArrayOutput) ToCommonServiceEndpointPropertiesFormatResponseArrayOutputWithContext(ctx context.Context) CommonServiceEndpointPropertiesFormatResponseArrayOutput {
- return o
+func (ConnectionMonitorTestConfigurationArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorTestConfiguration)(nil)).Elem()
}
-func (o CommonServiceEndpointPropertiesFormatResponseArrayOutput) Index(i pulumi.IntInput) CommonServiceEndpointPropertiesFormatResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonServiceEndpointPropertiesFormatResponse {
- return vs[0].([]CommonServiceEndpointPropertiesFormatResponse)[vs[1].(int)]
- }).(CommonServiceEndpointPropertiesFormatResponseOutput)
+func (i ConnectionMonitorTestConfigurationArray) ToConnectionMonitorTestConfigurationArrayOutput() ConnectionMonitorTestConfigurationArrayOutput {
+ return i.ToConnectionMonitorTestConfigurationArrayOutputWithContext(context.Background())
}
-// Reference to another subresource.
-type CommonSubResource struct {
- // Resource ID.
- Id *string `pulumi:"id"`
+func (i ConnectionMonitorTestConfigurationArray) ToConnectionMonitorTestConfigurationArrayOutputWithContext(ctx context.Context) ConnectionMonitorTestConfigurationArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorTestConfigurationArrayOutput)
}
-// CommonSubResourceInput is an input type that accepts CommonSubResourceArgs and CommonSubResourceOutput values.
-// You can construct a concrete instance of `CommonSubResourceInput` via:
-//
-// CommonSubResourceArgs{...}
-type CommonSubResourceInput interface {
- pulumi.Input
+// Describes a connection monitor test configuration.
+type ConnectionMonitorTestConfigurationOutput struct{ *pulumi.OutputState }
- ToCommonSubResourceOutput() CommonSubResourceOutput
- ToCommonSubResourceOutputWithContext(context.Context) CommonSubResourceOutput
+func (ConnectionMonitorTestConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorTestConfiguration)(nil)).Elem()
}
-// Reference to another subresource.
-type CommonSubResourceArgs struct {
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
+func (o ConnectionMonitorTestConfigurationOutput) ToConnectionMonitorTestConfigurationOutput() ConnectionMonitorTestConfigurationOutput {
+ return o
}
-func (CommonSubResourceArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonSubResource)(nil)).Elem()
+func (o ConnectionMonitorTestConfigurationOutput) ToConnectionMonitorTestConfigurationOutputWithContext(ctx context.Context) ConnectionMonitorTestConfigurationOutput {
+ return o
}
-func (i CommonSubResourceArgs) ToCommonSubResourceOutput() CommonSubResourceOutput {
- return i.ToCommonSubResourceOutputWithContext(context.Background())
+// The parameters used to perform test evaluation over HTTP.
+func (o ConnectionMonitorTestConfigurationOutput) HttpConfiguration() ConnectionMonitorHttpConfigurationPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestConfiguration) *ConnectionMonitorHttpConfiguration {
+ return v.HttpConfiguration
+ }).(ConnectionMonitorHttpConfigurationPtrOutput)
}
-func (i CommonSubResourceArgs) ToCommonSubResourceOutputWithContext(ctx context.Context) CommonSubResourceOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonSubResourceOutput)
+// The parameters used to perform test evaluation over ICMP.
+func (o ConnectionMonitorTestConfigurationOutput) IcmpConfiguration() ConnectionMonitorIcmpConfigurationPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestConfiguration) *ConnectionMonitorIcmpConfiguration {
+ return v.IcmpConfiguration
+ }).(ConnectionMonitorIcmpConfigurationPtrOutput)
}
-func (i CommonSubResourceArgs) ToCommonSubResourcePtrOutput() CommonSubResourcePtrOutput {
- return i.ToCommonSubResourcePtrOutputWithContext(context.Background())
+// The name of the connection monitor test configuration.
+func (o ConnectionMonitorTestConfigurationOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestConfiguration) string { return v.Name }).(pulumi.StringOutput)
}
-func (i CommonSubResourceArgs) ToCommonSubResourcePtrOutputWithContext(ctx context.Context) CommonSubResourcePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonSubResourceOutput).ToCommonSubResourcePtrOutputWithContext(ctx)
+// The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters.
+func (o ConnectionMonitorTestConfigurationOutput) PreferredIPVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestConfiguration) *string { return v.PreferredIPVersion }).(pulumi.StringPtrOutput)
}
-// CommonSubResourcePtrInput is an input type that accepts CommonSubResourceArgs, CommonSubResourcePtr and CommonSubResourcePtrOutput values.
-// You can construct a concrete instance of `CommonSubResourcePtrInput` via:
-//
-// CommonSubResourceArgs{...}
-//
-// or:
-//
-// nil
-type CommonSubResourcePtrInput interface {
- pulumi.Input
+// The protocol to use in test evaluation.
+func (o ConnectionMonitorTestConfigurationOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestConfiguration) string { return v.Protocol }).(pulumi.StringOutput)
+}
- ToCommonSubResourcePtrOutput() CommonSubResourcePtrOutput
- ToCommonSubResourcePtrOutputWithContext(context.Context) CommonSubResourcePtrOutput
+// The threshold for declaring a test successful.
+func (o ConnectionMonitorTestConfigurationOutput) SuccessThreshold() ConnectionMonitorSuccessThresholdPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestConfiguration) *ConnectionMonitorSuccessThreshold {
+ return v.SuccessThreshold
+ }).(ConnectionMonitorSuccessThresholdPtrOutput)
}
-type commonSubResourcePtrType CommonSubResourceArgs
+// The parameters used to perform test evaluation over TCP.
+func (o ConnectionMonitorTestConfigurationOutput) TcpConfiguration() ConnectionMonitorTcpConfigurationPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestConfiguration) *ConnectionMonitorTcpConfiguration {
+ return v.TcpConfiguration
+ }).(ConnectionMonitorTcpConfigurationPtrOutput)
+}
-func CommonSubResourcePtr(v *CommonSubResourceArgs) CommonSubResourcePtrInput {
- return (*commonSubResourcePtrType)(v)
+// The frequency of test evaluation, in seconds.
+func (o ConnectionMonitorTestConfigurationOutput) TestFrequencySec() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestConfiguration) *int { return v.TestFrequencySec }).(pulumi.IntPtrOutput)
}
-func (*commonSubResourcePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonSubResource)(nil)).Elem()
+type ConnectionMonitorTestConfigurationArrayOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorTestConfigurationArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorTestConfiguration)(nil)).Elem()
}
-func (i *commonSubResourcePtrType) ToCommonSubResourcePtrOutput() CommonSubResourcePtrOutput {
- return i.ToCommonSubResourcePtrOutputWithContext(context.Background())
+func (o ConnectionMonitorTestConfigurationArrayOutput) ToConnectionMonitorTestConfigurationArrayOutput() ConnectionMonitorTestConfigurationArrayOutput {
+ return o
}
-func (i *commonSubResourcePtrType) ToCommonSubResourcePtrOutputWithContext(ctx context.Context) CommonSubResourcePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonSubResourcePtrOutput)
+func (o ConnectionMonitorTestConfigurationArrayOutput) ToConnectionMonitorTestConfigurationArrayOutputWithContext(ctx context.Context) ConnectionMonitorTestConfigurationArrayOutput {
+ return o
}
-// CommonSubResourceArrayInput is an input type that accepts CommonSubResourceArray and CommonSubResourceArrayOutput values.
-// You can construct a concrete instance of `CommonSubResourceArrayInput` via:
-//
-// CommonSubResourceArray{ CommonSubResourceArgs{...} }
-type CommonSubResourceArrayInput interface {
- pulumi.Input
+func (o ConnectionMonitorTestConfigurationArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorTestConfigurationOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorTestConfiguration {
+ return vs[0].([]ConnectionMonitorTestConfiguration)[vs[1].(int)]
+ }).(ConnectionMonitorTestConfigurationOutput)
+}
- ToCommonSubResourceArrayOutput() CommonSubResourceArrayOutput
- ToCommonSubResourceArrayOutputWithContext(context.Context) CommonSubResourceArrayOutput
+// Describes a connection monitor test configuration.
+type ConnectionMonitorTestConfigurationResponse struct {
+ // The parameters used to perform test evaluation over HTTP.
+ HttpConfiguration *ConnectionMonitorHttpConfigurationResponse `pulumi:"httpConfiguration"`
+ // The parameters used to perform test evaluation over ICMP.
+ IcmpConfiguration *ConnectionMonitorIcmpConfigurationResponse `pulumi:"icmpConfiguration"`
+ // The name of the connection monitor test configuration.
+ Name string `pulumi:"name"`
+ // The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters.
+ PreferredIPVersion *string `pulumi:"preferredIPVersion"`
+ // The protocol to use in test evaluation.
+ Protocol string `pulumi:"protocol"`
+ // The threshold for declaring a test successful.
+ SuccessThreshold *ConnectionMonitorSuccessThresholdResponse `pulumi:"successThreshold"`
+ // The parameters used to perform test evaluation over TCP.
+ TcpConfiguration *ConnectionMonitorTcpConfigurationResponse `pulumi:"tcpConfiguration"`
+ // The frequency of test evaluation, in seconds.
+ TestFrequencySec *int `pulumi:"testFrequencySec"`
}
-type CommonSubResourceArray []CommonSubResourceInput
+// Describes a connection monitor test configuration.
+type ConnectionMonitorTestConfigurationResponseOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorTestConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorTestConfigurationResponse)(nil)).Elem()
+}
-func (CommonSubResourceArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonSubResource)(nil)).Elem()
+func (o ConnectionMonitorTestConfigurationResponseOutput) ToConnectionMonitorTestConfigurationResponseOutput() ConnectionMonitorTestConfigurationResponseOutput {
+ return o
}
-func (i CommonSubResourceArray) ToCommonSubResourceArrayOutput() CommonSubResourceArrayOutput {
- return i.ToCommonSubResourceArrayOutputWithContext(context.Background())
+func (o ConnectionMonitorTestConfigurationResponseOutput) ToConnectionMonitorTestConfigurationResponseOutputWithContext(ctx context.Context) ConnectionMonitorTestConfigurationResponseOutput {
+ return o
}
-func (i CommonSubResourceArray) ToCommonSubResourceArrayOutputWithContext(ctx context.Context) CommonSubResourceArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonSubResourceArrayOutput)
+// The parameters used to perform test evaluation over HTTP.
+func (o ConnectionMonitorTestConfigurationResponseOutput) HttpConfiguration() ConnectionMonitorHttpConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestConfigurationResponse) *ConnectionMonitorHttpConfigurationResponse {
+ return v.HttpConfiguration
+ }).(ConnectionMonitorHttpConfigurationResponsePtrOutput)
}
-// Reference to another subresource.
-type CommonSubResourceOutput struct{ *pulumi.OutputState }
+// The parameters used to perform test evaluation over ICMP.
+func (o ConnectionMonitorTestConfigurationResponseOutput) IcmpConfiguration() ConnectionMonitorIcmpConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestConfigurationResponse) *ConnectionMonitorIcmpConfigurationResponse {
+ return v.IcmpConfiguration
+ }).(ConnectionMonitorIcmpConfigurationResponsePtrOutput)
+}
-func (CommonSubResourceOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonSubResource)(nil)).Elem()
+// The name of the connection monitor test configuration.
+func (o ConnectionMonitorTestConfigurationResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestConfigurationResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (o CommonSubResourceOutput) ToCommonSubResourceOutput() CommonSubResourceOutput {
- return o
+// The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters.
+func (o ConnectionMonitorTestConfigurationResponseOutput) PreferredIPVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestConfigurationResponse) *string { return v.PreferredIPVersion }).(pulumi.StringPtrOutput)
}
-func (o CommonSubResourceOutput) ToCommonSubResourceOutputWithContext(ctx context.Context) CommonSubResourceOutput {
- return o
+// The protocol to use in test evaluation.
+func (o ConnectionMonitorTestConfigurationResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestConfigurationResponse) string { return v.Protocol }).(pulumi.StringOutput)
}
-func (o CommonSubResourceOutput) ToCommonSubResourcePtrOutput() CommonSubResourcePtrOutput {
- return o.ToCommonSubResourcePtrOutputWithContext(context.Background())
+// The threshold for declaring a test successful.
+func (o ConnectionMonitorTestConfigurationResponseOutput) SuccessThreshold() ConnectionMonitorSuccessThresholdResponsePtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestConfigurationResponse) *ConnectionMonitorSuccessThresholdResponse {
+ return v.SuccessThreshold
+ }).(ConnectionMonitorSuccessThresholdResponsePtrOutput)
}
-func (o CommonSubResourceOutput) ToCommonSubResourcePtrOutputWithContext(ctx context.Context) CommonSubResourcePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v CommonSubResource) *CommonSubResource {
- return &v
- }).(CommonSubResourcePtrOutput)
+// The parameters used to perform test evaluation over TCP.
+func (o ConnectionMonitorTestConfigurationResponseOutput) TcpConfiguration() ConnectionMonitorTcpConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestConfigurationResponse) *ConnectionMonitorTcpConfigurationResponse {
+ return v.TcpConfiguration
+ }).(ConnectionMonitorTcpConfigurationResponsePtrOutput)
}
-// Resource ID.
-func (o CommonSubResourceOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSubResource) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The frequency of test evaluation, in seconds.
+func (o ConnectionMonitorTestConfigurationResponseOutput) TestFrequencySec() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestConfigurationResponse) *int { return v.TestFrequencySec }).(pulumi.IntPtrOutput)
}
-type CommonSubResourcePtrOutput struct{ *pulumi.OutputState }
+type ConnectionMonitorTestConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-func (CommonSubResourcePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonSubResource)(nil)).Elem()
+func (ConnectionMonitorTestConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorTestConfigurationResponse)(nil)).Elem()
}
-func (o CommonSubResourcePtrOutput) ToCommonSubResourcePtrOutput() CommonSubResourcePtrOutput {
+func (o ConnectionMonitorTestConfigurationResponseArrayOutput) ToConnectionMonitorTestConfigurationResponseArrayOutput() ConnectionMonitorTestConfigurationResponseArrayOutput {
return o
}
-func (o CommonSubResourcePtrOutput) ToCommonSubResourcePtrOutputWithContext(ctx context.Context) CommonSubResourcePtrOutput {
+func (o ConnectionMonitorTestConfigurationResponseArrayOutput) ToConnectionMonitorTestConfigurationResponseArrayOutputWithContext(ctx context.Context) ConnectionMonitorTestConfigurationResponseArrayOutput {
return o
}
-func (o CommonSubResourcePtrOutput) Elem() CommonSubResourceOutput {
- return o.ApplyT(func(v *CommonSubResource) CommonSubResource {
- if v != nil {
- return *v
- }
- var ret CommonSubResource
- return ret
- }).(CommonSubResourceOutput)
+func (o ConnectionMonitorTestConfigurationResponseArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorTestConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorTestConfigurationResponse {
+ return vs[0].([]ConnectionMonitorTestConfigurationResponse)[vs[1].(int)]
+ }).(ConnectionMonitorTestConfigurationResponseOutput)
}
-// Resource ID.
-func (o CommonSubResourcePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubResource) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+// Describes the connection monitor test group.
+type ConnectionMonitorTestGroup struct {
+ // List of destination endpoint names.
+ Destinations []string `pulumi:"destinations"`
+ // Value indicating whether test group is disabled.
+ Disable *bool `pulumi:"disable"`
+ // The name of the connection monitor test group.
+ Name string `pulumi:"name"`
+ // List of source endpoint names.
+ Sources []string `pulumi:"sources"`
+ // List of test configuration names.
+ TestConfigurations []string `pulumi:"testConfigurations"`
}
-type CommonSubResourceArrayOutput struct{ *pulumi.OutputState }
+// ConnectionMonitorTestGroupInput is an input type that accepts ConnectionMonitorTestGroupArgs and ConnectionMonitorTestGroupOutput values.
+// You can construct a concrete instance of `ConnectionMonitorTestGroupInput` via:
+//
+// ConnectionMonitorTestGroupArgs{...}
+type ConnectionMonitorTestGroupInput interface {
+ pulumi.Input
-func (CommonSubResourceArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonSubResource)(nil)).Elem()
+ ToConnectionMonitorTestGroupOutput() ConnectionMonitorTestGroupOutput
+ ToConnectionMonitorTestGroupOutputWithContext(context.Context) ConnectionMonitorTestGroupOutput
}
-func (o CommonSubResourceArrayOutput) ToCommonSubResourceArrayOutput() CommonSubResourceArrayOutput {
- return o
+// Describes the connection monitor test group.
+type ConnectionMonitorTestGroupArgs struct {
+ // List of destination endpoint names.
+ Destinations pulumi.StringArrayInput `pulumi:"destinations"`
+ // Value indicating whether test group is disabled.
+ Disable pulumi.BoolPtrInput `pulumi:"disable"`
+ // The name of the connection monitor test group.
+ Name pulumi.StringInput `pulumi:"name"`
+ // List of source endpoint names.
+ Sources pulumi.StringArrayInput `pulumi:"sources"`
+ // List of test configuration names.
+ TestConfigurations pulumi.StringArrayInput `pulumi:"testConfigurations"`
}
-func (o CommonSubResourceArrayOutput) ToCommonSubResourceArrayOutputWithContext(ctx context.Context) CommonSubResourceArrayOutput {
- return o
+func (ConnectionMonitorTestGroupArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorTestGroup)(nil)).Elem()
}
-func (o CommonSubResourceArrayOutput) Index(i pulumi.IntInput) CommonSubResourceOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonSubResource {
- return vs[0].([]CommonSubResource)[vs[1].(int)]
- }).(CommonSubResourceOutput)
+func (i ConnectionMonitorTestGroupArgs) ToConnectionMonitorTestGroupOutput() ConnectionMonitorTestGroupOutput {
+ return i.ToConnectionMonitorTestGroupOutputWithContext(context.Background())
}
-// Reference to another subresource.
-type CommonSubResourceResponse struct {
- // Resource ID.
- Id *string `pulumi:"id"`
+func (i ConnectionMonitorTestGroupArgs) ToConnectionMonitorTestGroupOutputWithContext(ctx context.Context) ConnectionMonitorTestGroupOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorTestGroupOutput)
}
-// Reference to another subresource.
-type CommonSubResourceResponseOutput struct{ *pulumi.OutputState }
+// ConnectionMonitorTestGroupArrayInput is an input type that accepts ConnectionMonitorTestGroupArray and ConnectionMonitorTestGroupArrayOutput values.
+// You can construct a concrete instance of `ConnectionMonitorTestGroupArrayInput` via:
+//
+// ConnectionMonitorTestGroupArray{ ConnectionMonitorTestGroupArgs{...} }
+type ConnectionMonitorTestGroupArrayInput interface {
+ pulumi.Input
-func (CommonSubResourceResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonSubResourceResponse)(nil)).Elem()
+ ToConnectionMonitorTestGroupArrayOutput() ConnectionMonitorTestGroupArrayOutput
+ ToConnectionMonitorTestGroupArrayOutputWithContext(context.Context) ConnectionMonitorTestGroupArrayOutput
}
-func (o CommonSubResourceResponseOutput) ToCommonSubResourceResponseOutput() CommonSubResourceResponseOutput {
- return o
+type ConnectionMonitorTestGroupArray []ConnectionMonitorTestGroupInput
+
+func (ConnectionMonitorTestGroupArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorTestGroup)(nil)).Elem()
}
-func (o CommonSubResourceResponseOutput) ToCommonSubResourceResponseOutputWithContext(ctx context.Context) CommonSubResourceResponseOutput {
- return o
+func (i ConnectionMonitorTestGroupArray) ToConnectionMonitorTestGroupArrayOutput() ConnectionMonitorTestGroupArrayOutput {
+ return i.ToConnectionMonitorTestGroupArrayOutputWithContext(context.Background())
}
-// Resource ID.
-func (o CommonSubResourceResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSubResourceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (i ConnectionMonitorTestGroupArray) ToConnectionMonitorTestGroupArrayOutputWithContext(ctx context.Context) ConnectionMonitorTestGroupArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorTestGroupArrayOutput)
}
-type CommonSubResourceResponsePtrOutput struct{ *pulumi.OutputState }
+// Describes the connection monitor test group.
+type ConnectionMonitorTestGroupOutput struct{ *pulumi.OutputState }
-func (CommonSubResourceResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonSubResourceResponse)(nil)).Elem()
+func (ConnectionMonitorTestGroupOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorTestGroup)(nil)).Elem()
}
-func (o CommonSubResourceResponsePtrOutput) ToCommonSubResourceResponsePtrOutput() CommonSubResourceResponsePtrOutput {
+func (o ConnectionMonitorTestGroupOutput) ToConnectionMonitorTestGroupOutput() ConnectionMonitorTestGroupOutput {
return o
}
-func (o CommonSubResourceResponsePtrOutput) ToCommonSubResourceResponsePtrOutputWithContext(ctx context.Context) CommonSubResourceResponsePtrOutput {
+func (o ConnectionMonitorTestGroupOutput) ToConnectionMonitorTestGroupOutputWithContext(ctx context.Context) ConnectionMonitorTestGroupOutput {
return o
}
-func (o CommonSubResourceResponsePtrOutput) Elem() CommonSubResourceResponseOutput {
- return o.ApplyT(func(v *CommonSubResourceResponse) CommonSubResourceResponse {
- if v != nil {
- return *v
- }
- var ret CommonSubResourceResponse
- return ret
- }).(CommonSubResourceResponseOutput)
+// List of destination endpoint names.
+func (o ConnectionMonitorTestGroupOutput) Destinations() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestGroup) []string { return v.Destinations }).(pulumi.StringArrayOutput)
}
-// Resource ID.
-func (o CommonSubResourceResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubResourceResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+// Value indicating whether test group is disabled.
+func (o ConnectionMonitorTestGroupOutput) Disable() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestGroup) *bool { return v.Disable }).(pulumi.BoolPtrOutput)
+}
+
+// The name of the connection monitor test group.
+func (o ConnectionMonitorTestGroupOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestGroup) string { return v.Name }).(pulumi.StringOutput)
}
-type CommonSubResourceResponseArrayOutput struct{ *pulumi.OutputState }
+// List of source endpoint names.
+func (o ConnectionMonitorTestGroupOutput) Sources() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestGroup) []string { return v.Sources }).(pulumi.StringArrayOutput)
+}
-func (CommonSubResourceResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonSubResourceResponse)(nil)).Elem()
+// List of test configuration names.
+func (o ConnectionMonitorTestGroupOutput) TestConfigurations() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestGroup) []string { return v.TestConfigurations }).(pulumi.StringArrayOutput)
}
-func (o CommonSubResourceResponseArrayOutput) ToCommonSubResourceResponseArrayOutput() CommonSubResourceResponseArrayOutput {
- return o
+type ConnectionMonitorTestGroupArrayOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorTestGroupArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorTestGroup)(nil)).Elem()
}
-func (o CommonSubResourceResponseArrayOutput) ToCommonSubResourceResponseArrayOutputWithContext(ctx context.Context) CommonSubResourceResponseArrayOutput {
+func (o ConnectionMonitorTestGroupArrayOutput) ToConnectionMonitorTestGroupArrayOutput() ConnectionMonitorTestGroupArrayOutput {
return o
}
-func (o CommonSubResourceResponseArrayOutput) Index(i pulumi.IntInput) CommonSubResourceResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonSubResourceResponse {
- return vs[0].([]CommonSubResourceResponse)[vs[1].(int)]
- }).(CommonSubResourceResponseOutput)
+func (o ConnectionMonitorTestGroupArrayOutput) ToConnectionMonitorTestGroupArrayOutputWithContext(ctx context.Context) ConnectionMonitorTestGroupArrayOutput {
+ return o
}
-// Subnet in a virtual network resource.
-type CommonSubnet struct {
- // The address prefix for the subnet.
- AddressPrefix *string `pulumi:"addressPrefix"`
- // List of address prefixes for the subnet.
- AddressPrefixes []string `pulumi:"addressPrefixes"`
- // Application gateway IP configurations of virtual network resource.
- ApplicationGatewayIPConfigurations []CommonApplicationGatewayIPConfiguration `pulumi:"applicationGatewayIPConfigurations"`
- // Set this property to false to disable default outbound connectivity for all VMs in the subnet.
- DefaultOutboundAccess *bool `pulumi:"defaultOutboundAccess"`
- // An array of references to the delegations on the subnet.
- Delegations []CommonDelegation `pulumi:"delegations"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Array of IpAllocation which reference this subnet.
- IpAllocations []CommonSubResource `pulumi:"ipAllocations"`
- // A list of IPAM Pools for allocating IP address prefixes.
- IpamPoolPrefixAllocations []CommonIpamPoolPrefixAllocation `pulumi:"ipamPoolPrefixAllocations"`
- // Name of the resource.
- Name *string `pulumi:"name"`
- // Nat gateway associated with this subnet.
- NatGateway *CommonSubResource `pulumi:"natGateway"`
- // The reference to the NetworkSecurityGroup resource.
- NetworkSecurityGroup *CommonNetworkSecurityGroup `pulumi:"networkSecurityGroup"`
- // Enable or Disable apply network policies on private end point in the subnet.
- PrivateEndpointNetworkPolicies *string `pulumi:"privateEndpointNetworkPolicies"`
- // Enable or Disable apply network policies on private link service in the subnet.
- PrivateLinkServiceNetworkPolicies *string `pulumi:"privateLinkServiceNetworkPolicies"`
- // The reference to the RouteTable resource.
- RouteTable *CommonRouteTable `pulumi:"routeTable"`
- // An array of service endpoint policies.
- ServiceEndpointPolicies []CommonServiceEndpointPolicy `pulumi:"serviceEndpointPolicies"`
- // An array of service endpoints.
- ServiceEndpoints []CommonServiceEndpointPropertiesFormat `pulumi:"serviceEndpoints"`
- // Reference to an existing service gateway.
- ServiceGateway *CommonSubResource `pulumi:"serviceGateway"`
- // Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
- SharingScope *string `pulumi:"sharingScope"`
+func (o ConnectionMonitorTestGroupArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorTestGroupOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorTestGroup {
+ return vs[0].([]ConnectionMonitorTestGroup)[vs[1].(int)]
+ }).(ConnectionMonitorTestGroupOutput)
}
-// Defaults sets the appropriate defaults for CommonSubnet
-func (val *CommonSubnet) Defaults() *CommonSubnet {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.PrivateEndpointNetworkPolicies == nil {
- privateEndpointNetworkPolicies_ := "Disabled"
- tmp.PrivateEndpointNetworkPolicies = &privateEndpointNetworkPolicies_
- }
- if tmp.PrivateLinkServiceNetworkPolicies == nil {
- privateLinkServiceNetworkPolicies_ := "Enabled"
- tmp.PrivateLinkServiceNetworkPolicies = &privateLinkServiceNetworkPolicies_
- }
- return &tmp
+// Describes the connection monitor test group.
+type ConnectionMonitorTestGroupResponse struct {
+ // List of destination endpoint names.
+ Destinations []string `pulumi:"destinations"`
+ // Value indicating whether test group is disabled.
+ Disable *bool `pulumi:"disable"`
+ // The name of the connection monitor test group.
+ Name string `pulumi:"name"`
+ // List of source endpoint names.
+ Sources []string `pulumi:"sources"`
+ // List of test configuration names.
+ TestConfigurations []string `pulumi:"testConfigurations"`
}
-// CommonSubnetInput is an input type that accepts CommonSubnetArgs and CommonSubnetOutput values.
-// You can construct a concrete instance of `CommonSubnetInput` via:
-//
-// CommonSubnetArgs{...}
-type CommonSubnetInput interface {
- pulumi.Input
+// Describes the connection monitor test group.
+type ConnectionMonitorTestGroupResponseOutput struct{ *pulumi.OutputState }
- ToCommonSubnetOutput() CommonSubnetOutput
- ToCommonSubnetOutputWithContext(context.Context) CommonSubnetOutput
+func (ConnectionMonitorTestGroupResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorTestGroupResponse)(nil)).Elem()
}
-// Subnet in a virtual network resource.
-type CommonSubnetArgs struct {
- // The address prefix for the subnet.
- AddressPrefix pulumi.StringPtrInput `pulumi:"addressPrefix"`
- // List of address prefixes for the subnet.
- AddressPrefixes pulumi.StringArrayInput `pulumi:"addressPrefixes"`
- // Application gateway IP configurations of virtual network resource.
- ApplicationGatewayIPConfigurations CommonApplicationGatewayIPConfigurationArrayInput `pulumi:"applicationGatewayIPConfigurations"`
- // Set this property to false to disable default outbound connectivity for all VMs in the subnet.
- DefaultOutboundAccess pulumi.BoolPtrInput `pulumi:"defaultOutboundAccess"`
- // An array of references to the delegations on the subnet.
- Delegations CommonDelegationArrayInput `pulumi:"delegations"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Array of IpAllocation which reference this subnet.
- IpAllocations CommonSubResourceArrayInput `pulumi:"ipAllocations"`
- // A list of IPAM Pools for allocating IP address prefixes.
- IpamPoolPrefixAllocations CommonIpamPoolPrefixAllocationArrayInput `pulumi:"ipamPoolPrefixAllocations"`
- // Name of the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Nat gateway associated with this subnet.
- NatGateway CommonSubResourcePtrInput `pulumi:"natGateway"`
- // The reference to the NetworkSecurityGroup resource.
- NetworkSecurityGroup CommonNetworkSecurityGroupPtrInput `pulumi:"networkSecurityGroup"`
- // Enable or Disable apply network policies on private end point in the subnet.
- PrivateEndpointNetworkPolicies pulumi.StringPtrInput `pulumi:"privateEndpointNetworkPolicies"`
- // Enable or Disable apply network policies on private link service in the subnet.
- PrivateLinkServiceNetworkPolicies pulumi.StringPtrInput `pulumi:"privateLinkServiceNetworkPolicies"`
- // The reference to the RouteTable resource.
- RouteTable CommonRouteTablePtrInput `pulumi:"routeTable"`
- // An array of service endpoint policies.
- ServiceEndpointPolicies CommonServiceEndpointPolicyArrayInput `pulumi:"serviceEndpointPolicies"`
- // An array of service endpoints.
- ServiceEndpoints CommonServiceEndpointPropertiesFormatArrayInput `pulumi:"serviceEndpoints"`
- // Reference to an existing service gateway.
- ServiceGateway CommonSubResourcePtrInput `pulumi:"serviceGateway"`
- // Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
- SharingScope pulumi.StringPtrInput `pulumi:"sharingScope"`
+func (o ConnectionMonitorTestGroupResponseOutput) ToConnectionMonitorTestGroupResponseOutput() ConnectionMonitorTestGroupResponseOutput {
+ return o
}
-// Defaults sets the appropriate defaults for CommonSubnetArgs
-func (val *CommonSubnetArgs) Defaults() *CommonSubnetArgs {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.PrivateEndpointNetworkPolicies == nil {
- tmp.PrivateEndpointNetworkPolicies = pulumi.StringPtr("Disabled")
- }
- if tmp.PrivateLinkServiceNetworkPolicies == nil {
- tmp.PrivateLinkServiceNetworkPolicies = pulumi.StringPtr("Enabled")
- }
- return &tmp
+func (o ConnectionMonitorTestGroupResponseOutput) ToConnectionMonitorTestGroupResponseOutputWithContext(ctx context.Context) ConnectionMonitorTestGroupResponseOutput {
+ return o
}
-func (CommonSubnetArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonSubnet)(nil)).Elem()
+
+// List of destination endpoint names.
+func (o ConnectionMonitorTestGroupResponseOutput) Destinations() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestGroupResponse) []string { return v.Destinations }).(pulumi.StringArrayOutput)
}
-func (i CommonSubnetArgs) ToCommonSubnetOutput() CommonSubnetOutput {
- return i.ToCommonSubnetOutputWithContext(context.Background())
+// Value indicating whether test group is disabled.
+func (o ConnectionMonitorTestGroupResponseOutput) Disable() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestGroupResponse) *bool { return v.Disable }).(pulumi.BoolPtrOutput)
}
-func (i CommonSubnetArgs) ToCommonSubnetOutputWithContext(ctx context.Context) CommonSubnetOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonSubnetOutput)
+// The name of the connection monitor test group.
+func (o ConnectionMonitorTestGroupResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestGroupResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (i CommonSubnetArgs) ToCommonSubnetPtrOutput() CommonSubnetPtrOutput {
- return i.ToCommonSubnetPtrOutputWithContext(context.Background())
+// List of source endpoint names.
+func (o ConnectionMonitorTestGroupResponseOutput) Sources() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestGroupResponse) []string { return v.Sources }).(pulumi.StringArrayOutput)
}
-func (i CommonSubnetArgs) ToCommonSubnetPtrOutputWithContext(ctx context.Context) CommonSubnetPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonSubnetOutput).ToCommonSubnetPtrOutputWithContext(ctx)
+// List of test configuration names.
+func (o ConnectionMonitorTestGroupResponseOutput) TestConfigurations() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ConnectionMonitorTestGroupResponse) []string { return v.TestConfigurations }).(pulumi.StringArrayOutput)
}
-// CommonSubnetPtrInput is an input type that accepts CommonSubnetArgs, CommonSubnetPtr and CommonSubnetPtrOutput values.
-// You can construct a concrete instance of `CommonSubnetPtrInput` via:
-//
-// CommonSubnetArgs{...}
-//
-// or:
-//
-// nil
-type CommonSubnetPtrInput interface {
- pulumi.Input
+type ConnectionMonitorTestGroupResponseArrayOutput struct{ *pulumi.OutputState }
- ToCommonSubnetPtrOutput() CommonSubnetPtrOutput
- ToCommonSubnetPtrOutputWithContext(context.Context) CommonSubnetPtrOutput
+func (ConnectionMonitorTestGroupResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectionMonitorTestGroupResponse)(nil)).Elem()
}
-type commonSubnetPtrType CommonSubnetArgs
-
-func CommonSubnetPtr(v *CommonSubnetArgs) CommonSubnetPtrInput {
- return (*commonSubnetPtrType)(v)
+func (o ConnectionMonitorTestGroupResponseArrayOutput) ToConnectionMonitorTestGroupResponseArrayOutput() ConnectionMonitorTestGroupResponseArrayOutput {
+ return o
}
-func (*commonSubnetPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonSubnet)(nil)).Elem()
+func (o ConnectionMonitorTestGroupResponseArrayOutput) ToConnectionMonitorTestGroupResponseArrayOutputWithContext(ctx context.Context) ConnectionMonitorTestGroupResponseArrayOutput {
+ return o
}
-func (i *commonSubnetPtrType) ToCommonSubnetPtrOutput() CommonSubnetPtrOutput {
- return i.ToCommonSubnetPtrOutputWithContext(context.Background())
+func (o ConnectionMonitorTestGroupResponseArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorTestGroupResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorTestGroupResponse {
+ return vs[0].([]ConnectionMonitorTestGroupResponse)[vs[1].(int)]
+ }).(ConnectionMonitorTestGroupResponseOutput)
}
-func (i *commonSubnetPtrType) ToCommonSubnetPtrOutputWithContext(ctx context.Context) CommonSubnetPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonSubnetPtrOutput)
+// Describes the settings for producing output into a log analytics workspace.
+type ConnectionMonitorWorkspaceSettings struct {
+ // Log analytics workspace resource ID.
+ WorkspaceResourceId *string `pulumi:"workspaceResourceId"`
}
-// CommonSubnetArrayInput is an input type that accepts CommonSubnetArray and CommonSubnetArrayOutput values.
-// You can construct a concrete instance of `CommonSubnetArrayInput` via:
+// ConnectionMonitorWorkspaceSettingsInput is an input type that accepts ConnectionMonitorWorkspaceSettingsArgs and ConnectionMonitorWorkspaceSettingsOutput values.
+// You can construct a concrete instance of `ConnectionMonitorWorkspaceSettingsInput` via:
//
-// CommonSubnetArray{ CommonSubnetArgs{...} }
-type CommonSubnetArrayInput interface {
+// ConnectionMonitorWorkspaceSettingsArgs{...}
+type ConnectionMonitorWorkspaceSettingsInput interface {
pulumi.Input
- ToCommonSubnetArrayOutput() CommonSubnetArrayOutput
- ToCommonSubnetArrayOutputWithContext(context.Context) CommonSubnetArrayOutput
+ ToConnectionMonitorWorkspaceSettingsOutput() ConnectionMonitorWorkspaceSettingsOutput
+ ToConnectionMonitorWorkspaceSettingsOutputWithContext(context.Context) ConnectionMonitorWorkspaceSettingsOutput
}
-type CommonSubnetArray []CommonSubnetInput
-
-func (CommonSubnetArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonSubnet)(nil)).Elem()
+// Describes the settings for producing output into a log analytics workspace.
+type ConnectionMonitorWorkspaceSettingsArgs struct {
+ // Log analytics workspace resource ID.
+ WorkspaceResourceId pulumi.StringPtrInput `pulumi:"workspaceResourceId"`
}
-func (i CommonSubnetArray) ToCommonSubnetArrayOutput() CommonSubnetArrayOutput {
- return i.ToCommonSubnetArrayOutputWithContext(context.Background())
+func (ConnectionMonitorWorkspaceSettingsArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorWorkspaceSettings)(nil)).Elem()
}
-func (i CommonSubnetArray) ToCommonSubnetArrayOutputWithContext(ctx context.Context) CommonSubnetArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonSubnetArrayOutput)
+func (i ConnectionMonitorWorkspaceSettingsArgs) ToConnectionMonitorWorkspaceSettingsOutput() ConnectionMonitorWorkspaceSettingsOutput {
+ return i.ToConnectionMonitorWorkspaceSettingsOutputWithContext(context.Background())
}
-// Subnet in a virtual network resource.
-type CommonSubnetOutput struct{ *pulumi.OutputState }
+func (i ConnectionMonitorWorkspaceSettingsArgs) ToConnectionMonitorWorkspaceSettingsOutputWithContext(ctx context.Context) ConnectionMonitorWorkspaceSettingsOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorWorkspaceSettingsOutput)
+}
-func (CommonSubnetOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonSubnet)(nil)).Elem()
+func (i ConnectionMonitorWorkspaceSettingsArgs) ToConnectionMonitorWorkspaceSettingsPtrOutput() ConnectionMonitorWorkspaceSettingsPtrOutput {
+ return i.ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(context.Background())
}
-func (o CommonSubnetOutput) ToCommonSubnetOutput() CommonSubnetOutput {
- return o
+func (i ConnectionMonitorWorkspaceSettingsArgs) ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(ctx context.Context) ConnectionMonitorWorkspaceSettingsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorWorkspaceSettingsOutput).ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(ctx)
}
-func (o CommonSubnetOutput) ToCommonSubnetOutputWithContext(ctx context.Context) CommonSubnetOutput {
- return o
+// ConnectionMonitorWorkspaceSettingsPtrInput is an input type that accepts ConnectionMonitorWorkspaceSettingsArgs, ConnectionMonitorWorkspaceSettingsPtr and ConnectionMonitorWorkspaceSettingsPtrOutput values.
+// You can construct a concrete instance of `ConnectionMonitorWorkspaceSettingsPtrInput` via:
+//
+// ConnectionMonitorWorkspaceSettingsArgs{...}
+//
+// or:
+//
+// nil
+type ConnectionMonitorWorkspaceSettingsPtrInput interface {
+ pulumi.Input
+
+ ToConnectionMonitorWorkspaceSettingsPtrOutput() ConnectionMonitorWorkspaceSettingsPtrOutput
+ ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(context.Context) ConnectionMonitorWorkspaceSettingsPtrOutput
}
-func (o CommonSubnetOutput) ToCommonSubnetPtrOutput() CommonSubnetPtrOutput {
- return o.ToCommonSubnetPtrOutputWithContext(context.Background())
+type connectionMonitorWorkspaceSettingsPtrType ConnectionMonitorWorkspaceSettingsArgs
+
+func ConnectionMonitorWorkspaceSettingsPtr(v *ConnectionMonitorWorkspaceSettingsArgs) ConnectionMonitorWorkspaceSettingsPtrInput {
+ return (*connectionMonitorWorkspaceSettingsPtrType)(v)
}
-func (o CommonSubnetOutput) ToCommonSubnetPtrOutputWithContext(ctx context.Context) CommonSubnetPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v CommonSubnet) *CommonSubnet {
- return &v
- }).(CommonSubnetPtrOutput)
+func (*connectionMonitorWorkspaceSettingsPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorWorkspaceSettings)(nil)).Elem()
}
-// The address prefix for the subnet.
-func (o CommonSubnetOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSubnet) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
+func (i *connectionMonitorWorkspaceSettingsPtrType) ToConnectionMonitorWorkspaceSettingsPtrOutput() ConnectionMonitorWorkspaceSettingsPtrOutput {
+ return i.ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(context.Background())
}
-// List of address prefixes for the subnet.
-func (o CommonSubnetOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonSubnet) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+func (i *connectionMonitorWorkspaceSettingsPtrType) ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(ctx context.Context) ConnectionMonitorWorkspaceSettingsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorWorkspaceSettingsPtrOutput)
}
-// Application gateway IP configurations of virtual network resource.
-func (o CommonSubnetOutput) ApplicationGatewayIPConfigurations() CommonApplicationGatewayIPConfigurationArrayOutput {
- return o.ApplyT(func(v CommonSubnet) []CommonApplicationGatewayIPConfiguration {
- return v.ApplicationGatewayIPConfigurations
- }).(CommonApplicationGatewayIPConfigurationArrayOutput)
+// Describes the settings for producing output into a log analytics workspace.
+type ConnectionMonitorWorkspaceSettingsOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorWorkspaceSettingsOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorWorkspaceSettings)(nil)).Elem()
}
-// Set this property to false to disable default outbound connectivity for all VMs in the subnet.
-func (o CommonSubnetOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonSubnet) *bool { return v.DefaultOutboundAccess }).(pulumi.BoolPtrOutput)
+func (o ConnectionMonitorWorkspaceSettingsOutput) ToConnectionMonitorWorkspaceSettingsOutput() ConnectionMonitorWorkspaceSettingsOutput {
+ return o
}
-// An array of references to the delegations on the subnet.
-func (o CommonSubnetOutput) Delegations() CommonDelegationArrayOutput {
- return o.ApplyT(func(v CommonSubnet) []CommonDelegation { return v.Delegations }).(CommonDelegationArrayOutput)
+func (o ConnectionMonitorWorkspaceSettingsOutput) ToConnectionMonitorWorkspaceSettingsOutputWithContext(ctx context.Context) ConnectionMonitorWorkspaceSettingsOutput {
+ return o
}
-// Resource ID.
-func (o CommonSubnetOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSubnet) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorWorkspaceSettingsOutput) ToConnectionMonitorWorkspaceSettingsPtrOutput() ConnectionMonitorWorkspaceSettingsPtrOutput {
+ return o.ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(context.Background())
}
-// Array of IpAllocation which reference this subnet.
-func (o CommonSubnetOutput) IpAllocations() CommonSubResourceArrayOutput {
- return o.ApplyT(func(v CommonSubnet) []CommonSubResource { return v.IpAllocations }).(CommonSubResourceArrayOutput)
+func (o ConnectionMonitorWorkspaceSettingsOutput) ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(ctx context.Context) ConnectionMonitorWorkspaceSettingsPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorWorkspaceSettings) *ConnectionMonitorWorkspaceSettings {
+ return &v
+ }).(ConnectionMonitorWorkspaceSettingsPtrOutput)
}
-// A list of IPAM Pools for allocating IP address prefixes.
-func (o CommonSubnetOutput) IpamPoolPrefixAllocations() CommonIpamPoolPrefixAllocationArrayOutput {
- return o.ApplyT(func(v CommonSubnet) []CommonIpamPoolPrefixAllocation { return v.IpamPoolPrefixAllocations }).(CommonIpamPoolPrefixAllocationArrayOutput)
+// Log analytics workspace resource ID.
+func (o ConnectionMonitorWorkspaceSettingsOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorWorkspaceSettings) *string { return v.WorkspaceResourceId }).(pulumi.StringPtrOutput)
}
-// Name of the resource.
-func (o CommonSubnetOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSubnet) *string { return v.Name }).(pulumi.StringPtrOutput)
+type ConnectionMonitorWorkspaceSettingsPtrOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorWorkspaceSettingsPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorWorkspaceSettings)(nil)).Elem()
}
-// Nat gateway associated with this subnet.
-func (o CommonSubnetOutput) NatGateway() CommonSubResourcePtrOutput {
- return o.ApplyT(func(v CommonSubnet) *CommonSubResource { return v.NatGateway }).(CommonSubResourcePtrOutput)
+func (o ConnectionMonitorWorkspaceSettingsPtrOutput) ToConnectionMonitorWorkspaceSettingsPtrOutput() ConnectionMonitorWorkspaceSettingsPtrOutput {
+ return o
}
-// The reference to the NetworkSecurityGroup resource.
-func (o CommonSubnetOutput) NetworkSecurityGroup() CommonNetworkSecurityGroupPtrOutput {
- return o.ApplyT(func(v CommonSubnet) *CommonNetworkSecurityGroup { return v.NetworkSecurityGroup }).(CommonNetworkSecurityGroupPtrOutput)
+func (o ConnectionMonitorWorkspaceSettingsPtrOutput) ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(ctx context.Context) ConnectionMonitorWorkspaceSettingsPtrOutput {
+ return o
}
-// Enable or Disable apply network policies on private end point in the subnet.
-func (o CommonSubnetOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSubnet) *string { return v.PrivateEndpointNetworkPolicies }).(pulumi.StringPtrOutput)
+func (o ConnectionMonitorWorkspaceSettingsPtrOutput) Elem() ConnectionMonitorWorkspaceSettingsOutput {
+ return o.ApplyT(func(v *ConnectionMonitorWorkspaceSettings) ConnectionMonitorWorkspaceSettings {
+ if v != nil {
+ return *v
+ }
+ var ret ConnectionMonitorWorkspaceSettings
+ return ret
+ }).(ConnectionMonitorWorkspaceSettingsOutput)
}
-// Enable or Disable apply network policies on private link service in the subnet.
-func (o CommonSubnetOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSubnet) *string { return v.PrivateLinkServiceNetworkPolicies }).(pulumi.StringPtrOutput)
+// Log analytics workspace resource ID.
+func (o ConnectionMonitorWorkspaceSettingsPtrOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorWorkspaceSettings) *string {
+ if v == nil {
+ return nil
+ }
+ return v.WorkspaceResourceId
+ }).(pulumi.StringPtrOutput)
}
-// The reference to the RouteTable resource.
-func (o CommonSubnetOutput) RouteTable() CommonRouteTablePtrOutput {
- return o.ApplyT(func(v CommonSubnet) *CommonRouteTable { return v.RouteTable }).(CommonRouteTablePtrOutput)
+// Describes the settings for producing output into a log analytics workspace.
+type ConnectionMonitorWorkspaceSettingsResponse struct {
+ // Log analytics workspace resource ID.
+ WorkspaceResourceId *string `pulumi:"workspaceResourceId"`
}
-// An array of service endpoint policies.
-func (o CommonSubnetOutput) ServiceEndpointPolicies() CommonServiceEndpointPolicyArrayOutput {
- return o.ApplyT(func(v CommonSubnet) []CommonServiceEndpointPolicy { return v.ServiceEndpointPolicies }).(CommonServiceEndpointPolicyArrayOutput)
+// Describes the settings for producing output into a log analytics workspace.
+type ConnectionMonitorWorkspaceSettingsResponseOutput struct{ *pulumi.OutputState }
+
+func (ConnectionMonitorWorkspaceSettingsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionMonitorWorkspaceSettingsResponse)(nil)).Elem()
}
-// An array of service endpoints.
-func (o CommonSubnetOutput) ServiceEndpoints() CommonServiceEndpointPropertiesFormatArrayOutput {
- return o.ApplyT(func(v CommonSubnet) []CommonServiceEndpointPropertiesFormat { return v.ServiceEndpoints }).(CommonServiceEndpointPropertiesFormatArrayOutput)
+func (o ConnectionMonitorWorkspaceSettingsResponseOutput) ToConnectionMonitorWorkspaceSettingsResponseOutput() ConnectionMonitorWorkspaceSettingsResponseOutput {
+ return o
}
-// Reference to an existing service gateway.
-func (o CommonSubnetOutput) ServiceGateway() CommonSubResourcePtrOutput {
- return o.ApplyT(func(v CommonSubnet) *CommonSubResource { return v.ServiceGateway }).(CommonSubResourcePtrOutput)
+func (o ConnectionMonitorWorkspaceSettingsResponseOutput) ToConnectionMonitorWorkspaceSettingsResponseOutputWithContext(ctx context.Context) ConnectionMonitorWorkspaceSettingsResponseOutput {
+ return o
}
-// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
-func (o CommonSubnetOutput) SharingScope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSubnet) *string { return v.SharingScope }).(pulumi.StringPtrOutput)
+// Log analytics workspace resource ID.
+func (o ConnectionMonitorWorkspaceSettingsResponseOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectionMonitorWorkspaceSettingsResponse) *string { return v.WorkspaceResourceId }).(pulumi.StringPtrOutput)
}
-type CommonSubnetPtrOutput struct{ *pulumi.OutputState }
+type ConnectionMonitorWorkspaceSettingsResponsePtrOutput struct{ *pulumi.OutputState }
-func (CommonSubnetPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonSubnet)(nil)).Elem()
+func (ConnectionMonitorWorkspaceSettingsResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionMonitorWorkspaceSettingsResponse)(nil)).Elem()
}
-func (o CommonSubnetPtrOutput) ToCommonSubnetPtrOutput() CommonSubnetPtrOutput {
+func (o ConnectionMonitorWorkspaceSettingsResponsePtrOutput) ToConnectionMonitorWorkspaceSettingsResponsePtrOutput() ConnectionMonitorWorkspaceSettingsResponsePtrOutput {
return o
}
-func (o CommonSubnetPtrOutput) ToCommonSubnetPtrOutputWithContext(ctx context.Context) CommonSubnetPtrOutput {
+func (o ConnectionMonitorWorkspaceSettingsResponsePtrOutput) ToConnectionMonitorWorkspaceSettingsResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorWorkspaceSettingsResponsePtrOutput {
return o
}
-func (o CommonSubnetPtrOutput) Elem() CommonSubnetOutput {
- return o.ApplyT(func(v *CommonSubnet) CommonSubnet {
+func (o ConnectionMonitorWorkspaceSettingsResponsePtrOutput) Elem() ConnectionMonitorWorkspaceSettingsResponseOutput {
+ return o.ApplyT(func(v *ConnectionMonitorWorkspaceSettingsResponse) ConnectionMonitorWorkspaceSettingsResponse {
if v != nil {
return *v
}
- var ret CommonSubnet
+ var ret ConnectionMonitorWorkspaceSettingsResponse
return ret
- }).(CommonSubnetOutput)
+ }).(ConnectionMonitorWorkspaceSettingsResponseOutput)
}
-// The address prefix for the subnet.
-func (o CommonSubnetPtrOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubnet) *string {
+// Log analytics workspace resource ID.
+func (o ConnectionMonitorWorkspaceSettingsResponsePtrOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ConnectionMonitorWorkspaceSettingsResponse) *string {
if v == nil {
return nil
}
- return v.AddressPrefix
+ return v.WorkspaceResourceId
}).(pulumi.StringPtrOutput)
}
-// List of address prefixes for the subnet.
-func (o CommonSubnetPtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *CommonSubnet) []string {
- if v == nil {
- return nil
- }
- return v.AddressPrefixes
- }).(pulumi.StringArrayOutput)
+// Properties of the ConnectionPolicy resource.
+type ConnectionPolicyProperties struct {
+ // Enable internet security.
+ EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
+ // The Routing Configuration indicating the associated and propagated route tables on this connection.
+ RoutingConfiguration *RoutingConfigurationType `pulumi:"routingConfiguration"`
}
-// Application gateway IP configurations of virtual network resource.
-func (o CommonSubnetPtrOutput) ApplicationGatewayIPConfigurations() CommonApplicationGatewayIPConfigurationArrayOutput {
- return o.ApplyT(func(v *CommonSubnet) []CommonApplicationGatewayIPConfiguration {
- if v == nil {
- return nil
- }
- return v.ApplicationGatewayIPConfigurations
- }).(CommonApplicationGatewayIPConfigurationArrayOutput)
-}
+// ConnectionPolicyPropertiesInput is an input type that accepts ConnectionPolicyPropertiesArgs and ConnectionPolicyPropertiesOutput values.
+// You can construct a concrete instance of `ConnectionPolicyPropertiesInput` via:
+//
+// ConnectionPolicyPropertiesArgs{...}
+type ConnectionPolicyPropertiesInput interface {
+ pulumi.Input
-// Set this property to false to disable default outbound connectivity for all VMs in the subnet.
-func (o CommonSubnetPtrOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *CommonSubnet) *bool {
- if v == nil {
- return nil
- }
- return v.DefaultOutboundAccess
- }).(pulumi.BoolPtrOutput)
+ ToConnectionPolicyPropertiesOutput() ConnectionPolicyPropertiesOutput
+ ToConnectionPolicyPropertiesOutputWithContext(context.Context) ConnectionPolicyPropertiesOutput
}
-// An array of references to the delegations on the subnet.
-func (o CommonSubnetPtrOutput) Delegations() CommonDelegationArrayOutput {
- return o.ApplyT(func(v *CommonSubnet) []CommonDelegation {
- if v == nil {
- return nil
- }
- return v.Delegations
- }).(CommonDelegationArrayOutput)
+// Properties of the ConnectionPolicy resource.
+type ConnectionPolicyPropertiesArgs struct {
+ // Enable internet security.
+ EnableInternetSecurity pulumi.BoolPtrInput `pulumi:"enableInternetSecurity"`
+ // The Routing Configuration indicating the associated and propagated route tables on this connection.
+ RoutingConfiguration RoutingConfigurationTypePtrInput `pulumi:"routingConfiguration"`
}
-// Resource ID.
-func (o CommonSubnetPtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubnet) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+func (ConnectionPolicyPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionPolicyProperties)(nil)).Elem()
}
-// Array of IpAllocation which reference this subnet.
-func (o CommonSubnetPtrOutput) IpAllocations() CommonSubResourceArrayOutput {
- return o.ApplyT(func(v *CommonSubnet) []CommonSubResource {
- if v == nil {
- return nil
- }
- return v.IpAllocations
- }).(CommonSubResourceArrayOutput)
+func (i ConnectionPolicyPropertiesArgs) ToConnectionPolicyPropertiesOutput() ConnectionPolicyPropertiesOutput {
+ return i.ToConnectionPolicyPropertiesOutputWithContext(context.Background())
}
-// A list of IPAM Pools for allocating IP address prefixes.
-func (o CommonSubnetPtrOutput) IpamPoolPrefixAllocations() CommonIpamPoolPrefixAllocationArrayOutput {
- return o.ApplyT(func(v *CommonSubnet) []CommonIpamPoolPrefixAllocation {
- if v == nil {
- return nil
- }
- return v.IpamPoolPrefixAllocations
- }).(CommonIpamPoolPrefixAllocationArrayOutput)
+func (i ConnectionPolicyPropertiesArgs) ToConnectionPolicyPropertiesOutputWithContext(ctx context.Context) ConnectionPolicyPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionPolicyPropertiesOutput)
}
-// Name of the resource.
-func (o CommonSubnetPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubnet) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+func (i ConnectionPolicyPropertiesArgs) ToConnectionPolicyPropertiesPtrOutput() ConnectionPolicyPropertiesPtrOutput {
+ return i.ToConnectionPolicyPropertiesPtrOutputWithContext(context.Background())
}
-// Nat gateway associated with this subnet.
-func (o CommonSubnetPtrOutput) NatGateway() CommonSubResourcePtrOutput {
- return o.ApplyT(func(v *CommonSubnet) *CommonSubResource {
- if v == nil {
- return nil
- }
- return v.NatGateway
- }).(CommonSubResourcePtrOutput)
+func (i ConnectionPolicyPropertiesArgs) ToConnectionPolicyPropertiesPtrOutputWithContext(ctx context.Context) ConnectionPolicyPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionPolicyPropertiesOutput).ToConnectionPolicyPropertiesPtrOutputWithContext(ctx)
}
-// The reference to the NetworkSecurityGroup resource.
-func (o CommonSubnetPtrOutput) NetworkSecurityGroup() CommonNetworkSecurityGroupPtrOutput {
- return o.ApplyT(func(v *CommonSubnet) *CommonNetworkSecurityGroup {
- if v == nil {
- return nil
- }
- return v.NetworkSecurityGroup
- }).(CommonNetworkSecurityGroupPtrOutput)
-}
+// ConnectionPolicyPropertiesPtrInput is an input type that accepts ConnectionPolicyPropertiesArgs, ConnectionPolicyPropertiesPtr and ConnectionPolicyPropertiesPtrOutput values.
+// You can construct a concrete instance of `ConnectionPolicyPropertiesPtrInput` via:
+//
+// ConnectionPolicyPropertiesArgs{...}
+//
+// or:
+//
+// nil
+type ConnectionPolicyPropertiesPtrInput interface {
+ pulumi.Input
-// Enable or Disable apply network policies on private end point in the subnet.
-func (o CommonSubnetPtrOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubnet) *string {
- if v == nil {
- return nil
- }
- return v.PrivateEndpointNetworkPolicies
- }).(pulumi.StringPtrOutput)
-}
-
-// Enable or Disable apply network policies on private link service in the subnet.
-func (o CommonSubnetPtrOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubnet) *string {
- if v == nil {
- return nil
- }
- return v.PrivateLinkServiceNetworkPolicies
- }).(pulumi.StringPtrOutput)
+ ToConnectionPolicyPropertiesPtrOutput() ConnectionPolicyPropertiesPtrOutput
+ ToConnectionPolicyPropertiesPtrOutputWithContext(context.Context) ConnectionPolicyPropertiesPtrOutput
}
-// The reference to the RouteTable resource.
-func (o CommonSubnetPtrOutput) RouteTable() CommonRouteTablePtrOutput {
- return o.ApplyT(func(v *CommonSubnet) *CommonRouteTable {
- if v == nil {
- return nil
- }
- return v.RouteTable
- }).(CommonRouteTablePtrOutput)
-}
+type connectionPolicyPropertiesPtrType ConnectionPolicyPropertiesArgs
-// An array of service endpoint policies.
-func (o CommonSubnetPtrOutput) ServiceEndpointPolicies() CommonServiceEndpointPolicyArrayOutput {
- return o.ApplyT(func(v *CommonSubnet) []CommonServiceEndpointPolicy {
- if v == nil {
- return nil
- }
- return v.ServiceEndpointPolicies
- }).(CommonServiceEndpointPolicyArrayOutput)
+func ConnectionPolicyPropertiesPtr(v *ConnectionPolicyPropertiesArgs) ConnectionPolicyPropertiesPtrInput {
+ return (*connectionPolicyPropertiesPtrType)(v)
}
-// An array of service endpoints.
-func (o CommonSubnetPtrOutput) ServiceEndpoints() CommonServiceEndpointPropertiesFormatArrayOutput {
- return o.ApplyT(func(v *CommonSubnet) []CommonServiceEndpointPropertiesFormat {
- if v == nil {
- return nil
- }
- return v.ServiceEndpoints
- }).(CommonServiceEndpointPropertiesFormatArrayOutput)
+func (*connectionPolicyPropertiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionPolicyProperties)(nil)).Elem()
}
-// Reference to an existing service gateway.
-func (o CommonSubnetPtrOutput) ServiceGateway() CommonSubResourcePtrOutput {
- return o.ApplyT(func(v *CommonSubnet) *CommonSubResource {
- if v == nil {
- return nil
- }
- return v.ServiceGateway
- }).(CommonSubResourcePtrOutput)
+func (i *connectionPolicyPropertiesPtrType) ToConnectionPolicyPropertiesPtrOutput() ConnectionPolicyPropertiesPtrOutput {
+ return i.ToConnectionPolicyPropertiesPtrOutputWithContext(context.Background())
}
-// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
-func (o CommonSubnetPtrOutput) SharingScope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubnet) *string {
- if v == nil {
- return nil
- }
- return v.SharingScope
- }).(pulumi.StringPtrOutput)
+func (i *connectionPolicyPropertiesPtrType) ToConnectionPolicyPropertiesPtrOutputWithContext(ctx context.Context) ConnectionPolicyPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectionPolicyPropertiesPtrOutput)
}
-type CommonSubnetArrayOutput struct{ *pulumi.OutputState }
+// Properties of the ConnectionPolicy resource.
+type ConnectionPolicyPropertiesOutput struct{ *pulumi.OutputState }
-func (CommonSubnetArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonSubnet)(nil)).Elem()
+func (ConnectionPolicyPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionPolicyProperties)(nil)).Elem()
}
-func (o CommonSubnetArrayOutput) ToCommonSubnetArrayOutput() CommonSubnetArrayOutput {
+func (o ConnectionPolicyPropertiesOutput) ToConnectionPolicyPropertiesOutput() ConnectionPolicyPropertiesOutput {
return o
}
-func (o CommonSubnetArrayOutput) ToCommonSubnetArrayOutputWithContext(ctx context.Context) CommonSubnetArrayOutput {
+func (o ConnectionPolicyPropertiesOutput) ToConnectionPolicyPropertiesOutputWithContext(ctx context.Context) ConnectionPolicyPropertiesOutput {
return o
}
-func (o CommonSubnetArrayOutput) Index(i pulumi.IntInput) CommonSubnetOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonSubnet {
- return vs[0].([]CommonSubnet)[vs[1].(int)]
- }).(CommonSubnetOutput)
+func (o ConnectionPolicyPropertiesOutput) ToConnectionPolicyPropertiesPtrOutput() ConnectionPolicyPropertiesPtrOutput {
+ return o.ToConnectionPolicyPropertiesPtrOutputWithContext(context.Background())
}
-// Subnet in a virtual network resource.
-type CommonSubnetResponse struct {
- // The address prefix for the subnet.
- AddressPrefix *string `pulumi:"addressPrefix"`
- // List of address prefixes for the subnet.
- AddressPrefixes []string `pulumi:"addressPrefixes"`
- // Application gateway IP configurations of virtual network resource.
- ApplicationGatewayIPConfigurations []CommonApplicationGatewayIPConfigurationResponse `pulumi:"applicationGatewayIPConfigurations"`
- // Set this property to false to disable default outbound connectivity for all VMs in the subnet.
- DefaultOutboundAccess *bool `pulumi:"defaultOutboundAccess"`
- // An array of references to the delegations on the subnet.
- Delegations []CommonDelegationResponse `pulumi:"delegations"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Array of IpAllocation which reference this subnet.
- IpAllocations []CommonSubResourceResponse `pulumi:"ipAllocations"`
- // Array of IP configuration profiles which reference this subnet.
- IpConfigurationProfiles []CommonIPConfigurationProfileResponse `pulumi:"ipConfigurationProfiles"`
- // An array of references to the network interface IP configurations using subnet.
- IpConfigurations []CommonIPConfigurationResponse `pulumi:"ipConfigurations"`
- // A list of IPAM Pools for allocating IP address prefixes.
- IpamPoolPrefixAllocations []CommonIpamPoolPrefixAllocationResponse `pulumi:"ipamPoolPrefixAllocations"`
- // Name of the resource.
- Name *string `pulumi:"name"`
- // Nat gateway associated with this subnet.
- NatGateway *CommonSubResourceResponse `pulumi:"natGateway"`
- // The reference to the NetworkSecurityGroup resource.
- NetworkSecurityGroup *CommonNetworkSecurityGroupResponse `pulumi:"networkSecurityGroup"`
- // Enable or Disable apply network policies on private end point in the subnet.
- PrivateEndpointNetworkPolicies *string `pulumi:"privateEndpointNetworkPolicies"`
- // An array of references to private endpoints.
- PrivateEndpoints []CommonPrivateEndpointResponse `pulumi:"privateEndpoints"`
- // Enable or Disable apply network policies on private link service in the subnet.
- PrivateLinkServiceNetworkPolicies *string `pulumi:"privateLinkServiceNetworkPolicies"`
- // The provisioning state of the subnet resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
- Purpose string `pulumi:"purpose"`
- // An array of references to the external resources using subnet.
- ResourceNavigationLinks []CommonResourceNavigationLinkResponse `pulumi:"resourceNavigationLinks"`
- // The reference to the RouteTable resource.
- RouteTable *CommonRouteTableResponse `pulumi:"routeTable"`
- // An array of references to services injecting into this subnet.
- ServiceAssociationLinks []CommonServiceAssociationLinkResponse `pulumi:"serviceAssociationLinks"`
- // An array of service endpoint policies.
- ServiceEndpointPolicies []CommonServiceEndpointPolicyResponse `pulumi:"serviceEndpointPolicies"`
- // An array of service endpoints.
- ServiceEndpoints []CommonServiceEndpointPropertiesFormatResponse `pulumi:"serviceEndpoints"`
- // Reference to an existing service gateway.
- ServiceGateway *CommonSubResourceResponse `pulumi:"serviceGateway"`
- // Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
- SharingScope *string `pulumi:"sharingScope"`
- // Resource type.
- Type string `pulumi:"type"`
+func (o ConnectionPolicyPropertiesOutput) ToConnectionPolicyPropertiesPtrOutputWithContext(ctx context.Context) ConnectionPolicyPropertiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionPolicyProperties) *ConnectionPolicyProperties {
+ return &v
+ }).(ConnectionPolicyPropertiesPtrOutput)
}
-// Defaults sets the appropriate defaults for CommonSubnetResponse
-func (val *CommonSubnetResponse) Defaults() *CommonSubnetResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.PrivateEndpointNetworkPolicies == nil {
- privateEndpointNetworkPolicies_ := "Disabled"
- tmp.PrivateEndpointNetworkPolicies = &privateEndpointNetworkPolicies_
- }
- if tmp.PrivateLinkServiceNetworkPolicies == nil {
- privateLinkServiceNetworkPolicies_ := "Enabled"
- tmp.PrivateLinkServiceNetworkPolicies = &privateLinkServiceNetworkPolicies_
- }
- return &tmp
+// Enable internet security.
+func (o ConnectionPolicyPropertiesOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ConnectionPolicyProperties) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
}
-// Subnet in a virtual network resource.
-type CommonSubnetResponseOutput struct{ *pulumi.OutputState }
-
-func (CommonSubnetResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonSubnetResponse)(nil)).Elem()
+// The Routing Configuration indicating the associated and propagated route tables on this connection.
+func (o ConnectionPolicyPropertiesOutput) RoutingConfiguration() RoutingConfigurationTypePtrOutput {
+ return o.ApplyT(func(v ConnectionPolicyProperties) *RoutingConfigurationType { return v.RoutingConfiguration }).(RoutingConfigurationTypePtrOutput)
}
-func (o CommonSubnetResponseOutput) ToCommonSubnetResponseOutput() CommonSubnetResponseOutput {
- return o
-}
+type ConnectionPolicyPropertiesPtrOutput struct{ *pulumi.OutputState }
-func (o CommonSubnetResponseOutput) ToCommonSubnetResponseOutputWithContext(ctx context.Context) CommonSubnetResponseOutput {
- return o
+func (ConnectionPolicyPropertiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ConnectionPolicyProperties)(nil)).Elem()
}
-// The address prefix for the subnet.
-func (o CommonSubnetResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSubnetResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
+func (o ConnectionPolicyPropertiesPtrOutput) ToConnectionPolicyPropertiesPtrOutput() ConnectionPolicyPropertiesPtrOutput {
+ return o
}
-// List of address prefixes for the subnet.
-func (o CommonSubnetResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonSubnetResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+func (o ConnectionPolicyPropertiesPtrOutput) ToConnectionPolicyPropertiesPtrOutputWithContext(ctx context.Context) ConnectionPolicyPropertiesPtrOutput {
+ return o
}
-// Application gateway IP configurations of virtual network resource.
-func (o CommonSubnetResponseOutput) ApplicationGatewayIPConfigurations() CommonApplicationGatewayIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v CommonSubnetResponse) []CommonApplicationGatewayIPConfigurationResponse {
- return v.ApplicationGatewayIPConfigurations
- }).(CommonApplicationGatewayIPConfigurationResponseArrayOutput)
+func (o ConnectionPolicyPropertiesPtrOutput) Elem() ConnectionPolicyPropertiesOutput {
+ return o.ApplyT(func(v *ConnectionPolicyProperties) ConnectionPolicyProperties {
+ if v != nil {
+ return *v
+ }
+ var ret ConnectionPolicyProperties
+ return ret
+ }).(ConnectionPolicyPropertiesOutput)
}
-// Set this property to false to disable default outbound connectivity for all VMs in the subnet.
-func (o CommonSubnetResponseOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonSubnetResponse) *bool { return v.DefaultOutboundAccess }).(pulumi.BoolPtrOutput)
+// Enable internet security.
+func (o ConnectionPolicyPropertiesPtrOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *ConnectionPolicyProperties) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnableInternetSecurity
+ }).(pulumi.BoolPtrOutput)
}
-// An array of references to the delegations on the subnet.
-func (o CommonSubnetResponseOutput) Delegations() CommonDelegationResponseArrayOutput {
- return o.ApplyT(func(v CommonSubnetResponse) []CommonDelegationResponse { return v.Delegations }).(CommonDelegationResponseArrayOutput)
+// The Routing Configuration indicating the associated and propagated route tables on this connection.
+func (o ConnectionPolicyPropertiesPtrOutput) RoutingConfiguration() RoutingConfigurationTypePtrOutput {
+ return o.ApplyT(func(v *ConnectionPolicyProperties) *RoutingConfigurationType {
+ if v == nil {
+ return nil
+ }
+ return v.RoutingConfiguration
+ }).(RoutingConfigurationTypePtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonSubnetResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonSubnetResponse) string { return v.Etag }).(pulumi.StringOutput)
+// Properties of the ConnectionPolicy resource.
+type ConnectionPolicyPropertiesResponse struct {
+ // List of connection names (e.g. VpnConnection, HubVirtualNetworkConnection) associated with this ConnectionPolicy. These are resource names, not Azure resource IDs, consistent with the established VirtualWAN pattern used by HubRouteTable.associatedConnections.
+ AssociatedConnections []string `pulumi:"associatedConnections"`
+ // Enable internet security.
+ EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
+ // The provisioning state of the ConnectionPolicy resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The Routing Configuration indicating the associated and propagated route tables on this connection.
+ RoutingConfiguration *RoutingConfigurationResponse `pulumi:"routingConfiguration"`
}
-// Resource ID.
-func (o CommonSubnetResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSubnetResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
+// Properties of the ConnectionPolicy resource.
+type ConnectionPolicyPropertiesResponseOutput struct{ *pulumi.OutputState }
-// Array of IpAllocation which reference this subnet.
-func (o CommonSubnetResponseOutput) IpAllocations() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v CommonSubnetResponse) []CommonSubResourceResponse { return v.IpAllocations }).(CommonSubResourceResponseArrayOutput)
+func (ConnectionPolicyPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectionPolicyPropertiesResponse)(nil)).Elem()
}
-// Array of IP configuration profiles which reference this subnet.
-func (o CommonSubnetResponseOutput) IpConfigurationProfiles() CommonIPConfigurationProfileResponseArrayOutput {
- return o.ApplyT(func(v CommonSubnetResponse) []CommonIPConfigurationProfileResponse { return v.IpConfigurationProfiles }).(CommonIPConfigurationProfileResponseArrayOutput)
+func (o ConnectionPolicyPropertiesResponseOutput) ToConnectionPolicyPropertiesResponseOutput() ConnectionPolicyPropertiesResponseOutput {
+ return o
}
-// An array of references to the network interface IP configurations using subnet.
-func (o CommonSubnetResponseOutput) IpConfigurations() CommonIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v CommonSubnetResponse) []CommonIPConfigurationResponse { return v.IpConfigurations }).(CommonIPConfigurationResponseArrayOutput)
+func (o ConnectionPolicyPropertiesResponseOutput) ToConnectionPolicyPropertiesResponseOutputWithContext(ctx context.Context) ConnectionPolicyPropertiesResponseOutput {
+ return o
}
-// A list of IPAM Pools for allocating IP address prefixes.
-func (o CommonSubnetResponseOutput) IpamPoolPrefixAllocations() CommonIpamPoolPrefixAllocationResponseArrayOutput {
- return o.ApplyT(func(v CommonSubnetResponse) []CommonIpamPoolPrefixAllocationResponse {
- return v.IpamPoolPrefixAllocations
- }).(CommonIpamPoolPrefixAllocationResponseArrayOutput)
+// List of connection names (e.g. VpnConnection, HubVirtualNetworkConnection) associated with this ConnectionPolicy. These are resource names, not Azure resource IDs, consistent with the established VirtualWAN pattern used by HubRouteTable.associatedConnections.
+func (o ConnectionPolicyPropertiesResponseOutput) AssociatedConnections() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ConnectionPolicyPropertiesResponse) []string { return v.AssociatedConnections }).(pulumi.StringArrayOutput)
}
-// Name of the resource.
-func (o CommonSubnetResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSubnetResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Enable internet security.
+func (o ConnectionPolicyPropertiesResponseOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ConnectionPolicyPropertiesResponse) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
}
-// Nat gateway associated with this subnet.
-func (o CommonSubnetResponseOutput) NatGateway() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonSubnetResponse) *CommonSubResourceResponse { return v.NatGateway }).(CommonSubResourceResponsePtrOutput)
+// The provisioning state of the ConnectionPolicy resource.
+func (o ConnectionPolicyPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ConnectionPolicyPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The reference to the NetworkSecurityGroup resource.
-func (o CommonSubnetResponseOutput) NetworkSecurityGroup() CommonNetworkSecurityGroupResponsePtrOutput {
- return o.ApplyT(func(v CommonSubnetResponse) *CommonNetworkSecurityGroupResponse { return v.NetworkSecurityGroup }).(CommonNetworkSecurityGroupResponsePtrOutput)
+// The Routing Configuration indicating the associated and propagated route tables on this connection.
+func (o ConnectionPolicyPropertiesResponseOutput) RoutingConfiguration() RoutingConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v ConnectionPolicyPropertiesResponse) *RoutingConfigurationResponse {
+ return v.RoutingConfiguration
+ }).(RoutingConfigurationResponsePtrOutput)
}
-// Enable or Disable apply network policies on private end point in the subnet.
-func (o CommonSubnetResponseOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSubnetResponse) *string { return v.PrivateEndpointNetworkPolicies }).(pulumi.StringPtrOutput)
+// Connectivity group item.
+type ConnectivityGroupItem struct {
+ // Group connectivity type.
+ GroupConnectivity string `pulumi:"groupConnectivity"`
+ // Flag if global is supported.
+ IsGlobal *string `pulumi:"isGlobal"`
+ // Network group Id.
+ NetworkGroupId string `pulumi:"networkGroupId"`
+ // Flag if need to use hub gateway.
+ UseHubGateway *string `pulumi:"useHubGateway"`
}
-// An array of references to private endpoints.
-func (o CommonSubnetResponseOutput) PrivateEndpoints() CommonPrivateEndpointResponseArrayOutput {
- return o.ApplyT(func(v CommonSubnetResponse) []CommonPrivateEndpointResponse { return v.PrivateEndpoints }).(CommonPrivateEndpointResponseArrayOutput)
-}
+// ConnectivityGroupItemInput is an input type that accepts ConnectivityGroupItemArgs and ConnectivityGroupItemOutput values.
+// You can construct a concrete instance of `ConnectivityGroupItemInput` via:
+//
+// ConnectivityGroupItemArgs{...}
+type ConnectivityGroupItemInput interface {
+ pulumi.Input
-// Enable or Disable apply network policies on private link service in the subnet.
-func (o CommonSubnetResponseOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSubnetResponse) *string { return v.PrivateLinkServiceNetworkPolicies }).(pulumi.StringPtrOutput)
+ ToConnectivityGroupItemOutput() ConnectivityGroupItemOutput
+ ToConnectivityGroupItemOutputWithContext(context.Context) ConnectivityGroupItemOutput
}
-// The provisioning state of the subnet resource.
-func (o CommonSubnetResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonSubnetResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Connectivity group item.
+type ConnectivityGroupItemArgs struct {
+ // Group connectivity type.
+ GroupConnectivity pulumi.StringInput `pulumi:"groupConnectivity"`
+ // Flag if global is supported.
+ IsGlobal pulumi.StringPtrInput `pulumi:"isGlobal"`
+ // Network group Id.
+ NetworkGroupId pulumi.StringInput `pulumi:"networkGroupId"`
+ // Flag if need to use hub gateway.
+ UseHubGateway pulumi.StringPtrInput `pulumi:"useHubGateway"`
}
-// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
-func (o CommonSubnetResponseOutput) Purpose() pulumi.StringOutput {
- return o.ApplyT(func(v CommonSubnetResponse) string { return v.Purpose }).(pulumi.StringOutput)
+func (ConnectivityGroupItemArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectivityGroupItem)(nil)).Elem()
}
-// An array of references to the external resources using subnet.
-func (o CommonSubnetResponseOutput) ResourceNavigationLinks() CommonResourceNavigationLinkResponseArrayOutput {
- return o.ApplyT(func(v CommonSubnetResponse) []CommonResourceNavigationLinkResponse { return v.ResourceNavigationLinks }).(CommonResourceNavigationLinkResponseArrayOutput)
+func (i ConnectivityGroupItemArgs) ToConnectivityGroupItemOutput() ConnectivityGroupItemOutput {
+ return i.ToConnectivityGroupItemOutputWithContext(context.Background())
}
-// The reference to the RouteTable resource.
-func (o CommonSubnetResponseOutput) RouteTable() CommonRouteTableResponsePtrOutput {
- return o.ApplyT(func(v CommonSubnetResponse) *CommonRouteTableResponse { return v.RouteTable }).(CommonRouteTableResponsePtrOutput)
+func (i ConnectivityGroupItemArgs) ToConnectivityGroupItemOutputWithContext(ctx context.Context) ConnectivityGroupItemOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectivityGroupItemOutput)
}
-// An array of references to services injecting into this subnet.
-func (o CommonSubnetResponseOutput) ServiceAssociationLinks() CommonServiceAssociationLinkResponseArrayOutput {
- return o.ApplyT(func(v CommonSubnetResponse) []CommonServiceAssociationLinkResponse { return v.ServiceAssociationLinks }).(CommonServiceAssociationLinkResponseArrayOutput)
-}
+// ConnectivityGroupItemArrayInput is an input type that accepts ConnectivityGroupItemArray and ConnectivityGroupItemArrayOutput values.
+// You can construct a concrete instance of `ConnectivityGroupItemArrayInput` via:
+//
+// ConnectivityGroupItemArray{ ConnectivityGroupItemArgs{...} }
+type ConnectivityGroupItemArrayInput interface {
+ pulumi.Input
-// An array of service endpoint policies.
-func (o CommonSubnetResponseOutput) ServiceEndpointPolicies() CommonServiceEndpointPolicyResponseArrayOutput {
- return o.ApplyT(func(v CommonSubnetResponse) []CommonServiceEndpointPolicyResponse { return v.ServiceEndpointPolicies }).(CommonServiceEndpointPolicyResponseArrayOutput)
+ ToConnectivityGroupItemArrayOutput() ConnectivityGroupItemArrayOutput
+ ToConnectivityGroupItemArrayOutputWithContext(context.Context) ConnectivityGroupItemArrayOutput
}
-// An array of service endpoints.
-func (o CommonSubnetResponseOutput) ServiceEndpoints() CommonServiceEndpointPropertiesFormatResponseArrayOutput {
- return o.ApplyT(func(v CommonSubnetResponse) []CommonServiceEndpointPropertiesFormatResponse {
- return v.ServiceEndpoints
- }).(CommonServiceEndpointPropertiesFormatResponseArrayOutput)
-}
+type ConnectivityGroupItemArray []ConnectivityGroupItemInput
-// Reference to an existing service gateway.
-func (o CommonSubnetResponseOutput) ServiceGateway() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonSubnetResponse) *CommonSubResourceResponse { return v.ServiceGateway }).(CommonSubResourceResponsePtrOutput)
+func (ConnectivityGroupItemArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectivityGroupItem)(nil)).Elem()
}
-// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
-func (o CommonSubnetResponseOutput) SharingScope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonSubnetResponse) *string { return v.SharingScope }).(pulumi.StringPtrOutput)
+func (i ConnectivityGroupItemArray) ToConnectivityGroupItemArrayOutput() ConnectivityGroupItemArrayOutput {
+ return i.ToConnectivityGroupItemArrayOutputWithContext(context.Background())
}
-// Resource type.
-func (o CommonSubnetResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonSubnetResponse) string { return v.Type }).(pulumi.StringOutput)
+func (i ConnectivityGroupItemArray) ToConnectivityGroupItemArrayOutputWithContext(ctx context.Context) ConnectivityGroupItemArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ConnectivityGroupItemArrayOutput)
}
-type CommonSubnetResponsePtrOutput struct{ *pulumi.OutputState }
+// Connectivity group item.
+type ConnectivityGroupItemOutput struct{ *pulumi.OutputState }
-func (CommonSubnetResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonSubnetResponse)(nil)).Elem()
+func (ConnectivityGroupItemOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectivityGroupItem)(nil)).Elem()
}
-func (o CommonSubnetResponsePtrOutput) ToCommonSubnetResponsePtrOutput() CommonSubnetResponsePtrOutput {
+func (o ConnectivityGroupItemOutput) ToConnectivityGroupItemOutput() ConnectivityGroupItemOutput {
return o
}
-func (o CommonSubnetResponsePtrOutput) ToCommonSubnetResponsePtrOutputWithContext(ctx context.Context) CommonSubnetResponsePtrOutput {
+func (o ConnectivityGroupItemOutput) ToConnectivityGroupItemOutputWithContext(ctx context.Context) ConnectivityGroupItemOutput {
return o
}
-func (o CommonSubnetResponsePtrOutput) Elem() CommonSubnetResponseOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) CommonSubnetResponse {
- if v != nil {
- return *v
- }
- var ret CommonSubnetResponse
- return ret
- }).(CommonSubnetResponseOutput)
+// Group connectivity type.
+func (o ConnectivityGroupItemOutput) GroupConnectivity() pulumi.StringOutput {
+ return o.ApplyT(func(v ConnectivityGroupItem) string { return v.GroupConnectivity }).(pulumi.StringOutput)
}
-// The address prefix for the subnet.
-func (o CommonSubnetResponsePtrOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) *string {
- if v == nil {
- return nil
- }
- return v.AddressPrefix
- }).(pulumi.StringPtrOutput)
+// Flag if global is supported.
+func (o ConnectivityGroupItemOutput) IsGlobal() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectivityGroupItem) *string { return v.IsGlobal }).(pulumi.StringPtrOutput)
}
-// List of address prefixes for the subnet.
-func (o CommonSubnetResponsePtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) []string {
- if v == nil {
- return nil
- }
- return v.AddressPrefixes
- }).(pulumi.StringArrayOutput)
+// Network group Id.
+func (o ConnectivityGroupItemOutput) NetworkGroupId() pulumi.StringOutput {
+ return o.ApplyT(func(v ConnectivityGroupItem) string { return v.NetworkGroupId }).(pulumi.StringOutput)
}
-// Application gateway IP configurations of virtual network resource.
-func (o CommonSubnetResponsePtrOutput) ApplicationGatewayIPConfigurations() CommonApplicationGatewayIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) []CommonApplicationGatewayIPConfigurationResponse {
- if v == nil {
- return nil
- }
- return v.ApplicationGatewayIPConfigurations
- }).(CommonApplicationGatewayIPConfigurationResponseArrayOutput)
+// Flag if need to use hub gateway.
+func (o ConnectivityGroupItemOutput) UseHubGateway() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectivityGroupItem) *string { return v.UseHubGateway }).(pulumi.StringPtrOutput)
}
-// Set this property to false to disable default outbound connectivity for all VMs in the subnet.
-func (o CommonSubnetResponsePtrOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) *bool {
- if v == nil {
- return nil
- }
- return v.DefaultOutboundAccess
- }).(pulumi.BoolPtrOutput)
+type ConnectivityGroupItemArrayOutput struct{ *pulumi.OutputState }
+
+func (ConnectivityGroupItemArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectivityGroupItem)(nil)).Elem()
}
-// An array of references to the delegations on the subnet.
-func (o CommonSubnetResponsePtrOutput) Delegations() CommonDelegationResponseArrayOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) []CommonDelegationResponse {
- if v == nil {
- return nil
- }
- return v.Delegations
- }).(CommonDelegationResponseArrayOutput)
+func (o ConnectivityGroupItemArrayOutput) ToConnectivityGroupItemArrayOutput() ConnectivityGroupItemArrayOutput {
+ return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonSubnetResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Etag
- }).(pulumi.StringPtrOutput)
+func (o ConnectivityGroupItemArrayOutput) ToConnectivityGroupItemArrayOutputWithContext(ctx context.Context) ConnectivityGroupItemArrayOutput {
+ return o
}
-// Resource ID.
-func (o CommonSubnetResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+func (o ConnectivityGroupItemArrayOutput) Index(i pulumi.IntInput) ConnectivityGroupItemOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectivityGroupItem {
+ return vs[0].([]ConnectivityGroupItem)[vs[1].(int)]
+ }).(ConnectivityGroupItemOutput)
}
-// Array of IpAllocation which reference this subnet.
-func (o CommonSubnetResponsePtrOutput) IpAllocations() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) []CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.IpAllocations
- }).(CommonSubResourceResponseArrayOutput)
+// Connectivity group item.
+type ConnectivityGroupItemResponse struct {
+ // Group connectivity type.
+ GroupConnectivity string `pulumi:"groupConnectivity"`
+ // Flag if global is supported.
+ IsGlobal *string `pulumi:"isGlobal"`
+ // Network group Id.
+ NetworkGroupId string `pulumi:"networkGroupId"`
+ // Flag if need to use hub gateway.
+ UseHubGateway *string `pulumi:"useHubGateway"`
}
-// Array of IP configuration profiles which reference this subnet.
-func (o CommonSubnetResponsePtrOutput) IpConfigurationProfiles() CommonIPConfigurationProfileResponseArrayOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) []CommonIPConfigurationProfileResponse {
- if v == nil {
- return nil
- }
- return v.IpConfigurationProfiles
- }).(CommonIPConfigurationProfileResponseArrayOutput)
+// Connectivity group item.
+type ConnectivityGroupItemResponseOutput struct{ *pulumi.OutputState }
+
+func (ConnectivityGroupItemResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectivityGroupItemResponse)(nil)).Elem()
}
-// An array of references to the network interface IP configurations using subnet.
-func (o CommonSubnetResponsePtrOutput) IpConfigurations() CommonIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) []CommonIPConfigurationResponse {
- if v == nil {
- return nil
- }
- return v.IpConfigurations
- }).(CommonIPConfigurationResponseArrayOutput)
+func (o ConnectivityGroupItemResponseOutput) ToConnectivityGroupItemResponseOutput() ConnectivityGroupItemResponseOutput {
+ return o
}
-// A list of IPAM Pools for allocating IP address prefixes.
-func (o CommonSubnetResponsePtrOutput) IpamPoolPrefixAllocations() CommonIpamPoolPrefixAllocationResponseArrayOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) []CommonIpamPoolPrefixAllocationResponse {
- if v == nil {
- return nil
- }
- return v.IpamPoolPrefixAllocations
- }).(CommonIpamPoolPrefixAllocationResponseArrayOutput)
+func (o ConnectivityGroupItemResponseOutput) ToConnectivityGroupItemResponseOutputWithContext(ctx context.Context) ConnectivityGroupItemResponseOutput {
+ return o
}
-// Name of the resource.
-func (o CommonSubnetResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+// Group connectivity type.
+func (o ConnectivityGroupItemResponseOutput) GroupConnectivity() pulumi.StringOutput {
+ return o.ApplyT(func(v ConnectivityGroupItemResponse) string { return v.GroupConnectivity }).(pulumi.StringOutput)
}
-// Nat gateway associated with this subnet.
-func (o CommonSubnetResponsePtrOutput) NatGateway() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) *CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.NatGateway
- }).(CommonSubResourceResponsePtrOutput)
+// Flag if global is supported.
+func (o ConnectivityGroupItemResponseOutput) IsGlobal() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectivityGroupItemResponse) *string { return v.IsGlobal }).(pulumi.StringPtrOutput)
}
-// The reference to the NetworkSecurityGroup resource.
-func (o CommonSubnetResponsePtrOutput) NetworkSecurityGroup() CommonNetworkSecurityGroupResponsePtrOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) *CommonNetworkSecurityGroupResponse {
- if v == nil {
- return nil
- }
- return v.NetworkSecurityGroup
- }).(CommonNetworkSecurityGroupResponsePtrOutput)
+// Network group Id.
+func (o ConnectivityGroupItemResponseOutput) NetworkGroupId() pulumi.StringOutput {
+ return o.ApplyT(func(v ConnectivityGroupItemResponse) string { return v.NetworkGroupId }).(pulumi.StringOutput)
}
-// Enable or Disable apply network policies on private end point in the subnet.
-func (o CommonSubnetResponsePtrOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateEndpointNetworkPolicies
- }).(pulumi.StringPtrOutput)
+// Flag if need to use hub gateway.
+func (o ConnectivityGroupItemResponseOutput) UseHubGateway() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectivityGroupItemResponse) *string { return v.UseHubGateway }).(pulumi.StringPtrOutput)
}
-// An array of references to private endpoints.
-func (o CommonSubnetResponsePtrOutput) PrivateEndpoints() CommonPrivateEndpointResponseArrayOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) []CommonPrivateEndpointResponse {
- if v == nil {
- return nil
- }
- return v.PrivateEndpoints
- }).(CommonPrivateEndpointResponseArrayOutput)
+type ConnectivityGroupItemResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ConnectivityGroupItemResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectivityGroupItemResponse)(nil)).Elem()
}
-// Enable or Disable apply network policies on private link service in the subnet.
-func (o CommonSubnetResponsePtrOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateLinkServiceNetworkPolicies
- }).(pulumi.StringPtrOutput)
+func (o ConnectivityGroupItemResponseArrayOutput) ToConnectivityGroupItemResponseArrayOutput() ConnectivityGroupItemResponseArrayOutput {
+ return o
}
-// The provisioning state of the subnet resource.
-func (o CommonSubnetResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+func (o ConnectivityGroupItemResponseArrayOutput) ToConnectivityGroupItemResponseArrayOutputWithContext(ctx context.Context) ConnectivityGroupItemResponseArrayOutput {
+ return o
}
-// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
-func (o CommonSubnetResponsePtrOutput) Purpose() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Purpose
- }).(pulumi.StringPtrOutput)
+func (o ConnectivityGroupItemResponseArrayOutput) Index(i pulumi.IntInput) ConnectivityGroupItemResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectivityGroupItemResponse {
+ return vs[0].([]ConnectivityGroupItemResponse)[vs[1].(int)]
+ }).(ConnectivityGroupItemResponseOutput)
}
-// An array of references to the external resources using subnet.
-func (o CommonSubnetResponsePtrOutput) ResourceNavigationLinks() CommonResourceNavigationLinkResponseArrayOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) []CommonResourceNavigationLinkResponse {
- if v == nil {
- return nil
- }
- return v.ResourceNavigationLinks
- }).(CommonResourceNavigationLinkResponseArrayOutput)
+type ConnectivityGroupItemlistActiveConnectivityConfigurationResponse struct {
+ // Group connectivity type.
+ GroupConnectivity *string `pulumi:"groupConnectivity"`
+ // Flag if global is supported.
+ IsGlobal *string `pulumi:"isGlobal"`
+ // Network group Id.
+ NetworkGroupId *string `pulumi:"networkGroupId"`
+ // Flag if need to use hub gateway.
+ UseHubGateway *string `pulumi:"useHubGateway"`
}
-// The reference to the RouteTable resource.
-func (o CommonSubnetResponsePtrOutput) RouteTable() CommonRouteTableResponsePtrOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) *CommonRouteTableResponse {
- if v == nil {
- return nil
- }
- return v.RouteTable
- }).(CommonRouteTableResponsePtrOutput)
+type ConnectivityGroupItemlistActiveConnectivityConfigurationResponseOutput struct{ *pulumi.OutputState }
+
+func (ConnectivityGroupItemlistActiveConnectivityConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectivityGroupItemlistActiveConnectivityConfigurationResponse)(nil)).Elem()
}
-// An array of references to services injecting into this subnet.
-func (o CommonSubnetResponsePtrOutput) ServiceAssociationLinks() CommonServiceAssociationLinkResponseArrayOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) []CommonServiceAssociationLinkResponse {
- if v == nil {
- return nil
- }
- return v.ServiceAssociationLinks
- }).(CommonServiceAssociationLinkResponseArrayOutput)
+func (o ConnectivityGroupItemlistActiveConnectivityConfigurationResponseOutput) ToConnectivityGroupItemlistActiveConnectivityConfigurationResponseOutput() ConnectivityGroupItemlistActiveConnectivityConfigurationResponseOutput {
+ return o
}
-// An array of service endpoint policies.
-func (o CommonSubnetResponsePtrOutput) ServiceEndpointPolicies() CommonServiceEndpointPolicyResponseArrayOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) []CommonServiceEndpointPolicyResponse {
- if v == nil {
- return nil
- }
- return v.ServiceEndpointPolicies
- }).(CommonServiceEndpointPolicyResponseArrayOutput)
+func (o ConnectivityGroupItemlistActiveConnectivityConfigurationResponseOutput) ToConnectivityGroupItemlistActiveConnectivityConfigurationResponseOutputWithContext(ctx context.Context) ConnectivityGroupItemlistActiveConnectivityConfigurationResponseOutput {
+ return o
}
-// An array of service endpoints.
-func (o CommonSubnetResponsePtrOutput) ServiceEndpoints() CommonServiceEndpointPropertiesFormatResponseArrayOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) []CommonServiceEndpointPropertiesFormatResponse {
- if v == nil {
- return nil
- }
- return v.ServiceEndpoints
- }).(CommonServiceEndpointPropertiesFormatResponseArrayOutput)
+// Group connectivity type.
+func (o ConnectivityGroupItemlistActiveConnectivityConfigurationResponseOutput) GroupConnectivity() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectivityGroupItemlistActiveConnectivityConfigurationResponse) *string {
+ return v.GroupConnectivity
+ }).(pulumi.StringPtrOutput)
}
-// Reference to an existing service gateway.
-func (o CommonSubnetResponsePtrOutput) ServiceGateway() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) *CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.ServiceGateway
- }).(CommonSubResourceResponsePtrOutput)
+// Flag if global is supported.
+func (o ConnectivityGroupItemlistActiveConnectivityConfigurationResponseOutput) IsGlobal() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectivityGroupItemlistActiveConnectivityConfigurationResponse) *string { return v.IsGlobal }).(pulumi.StringPtrOutput)
}
-// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
-func (o CommonSubnetResponsePtrOutput) SharingScope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) *string {
- if v == nil {
- return nil
- }
- return v.SharingScope
+// Network group Id.
+func (o ConnectivityGroupItemlistActiveConnectivityConfigurationResponseOutput) NetworkGroupId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectivityGroupItemlistActiveConnectivityConfigurationResponse) *string {
+ return v.NetworkGroupId
}).(pulumi.StringPtrOutput)
}
-// Resource type.
-func (o CommonSubnetResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonSubnetResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Type
+// Flag if need to use hub gateway.
+func (o ConnectivityGroupItemlistActiveConnectivityConfigurationResponseOutput) UseHubGateway() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectivityGroupItemlistActiveConnectivityConfigurationResponse) *string {
+ return v.UseHubGateway
}).(pulumi.StringPtrOutput)
}
-type CommonSubnetResponseArrayOutput struct{ *pulumi.OutputState }
+type ConnectivityGroupItemlistActiveConnectivityConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-func (CommonSubnetResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonSubnetResponse)(nil)).Elem()
+func (ConnectivityGroupItemlistActiveConnectivityConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectivityGroupItemlistActiveConnectivityConfigurationResponse)(nil)).Elem()
}
-func (o CommonSubnetResponseArrayOutput) ToCommonSubnetResponseArrayOutput() CommonSubnetResponseArrayOutput {
+func (o ConnectivityGroupItemlistActiveConnectivityConfigurationResponseArrayOutput) ToConnectivityGroupItemlistActiveConnectivityConfigurationResponseArrayOutput() ConnectivityGroupItemlistActiveConnectivityConfigurationResponseArrayOutput {
return o
}
-func (o CommonSubnetResponseArrayOutput) ToCommonSubnetResponseArrayOutputWithContext(ctx context.Context) CommonSubnetResponseArrayOutput {
+func (o ConnectivityGroupItemlistActiveConnectivityConfigurationResponseArrayOutput) ToConnectivityGroupItemlistActiveConnectivityConfigurationResponseArrayOutputWithContext(ctx context.Context) ConnectivityGroupItemlistActiveConnectivityConfigurationResponseArrayOutput {
return o
}
-func (o CommonSubnetResponseArrayOutput) Index(i pulumi.IntInput) CommonSubnetResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonSubnetResponse {
- return vs[0].([]CommonSubnetResponse)[vs[1].(int)]
- }).(CommonSubnetResponseOutput)
+func (o ConnectivityGroupItemlistActiveConnectivityConfigurationResponseArrayOutput) Index(i pulumi.IntInput) ConnectivityGroupItemlistActiveConnectivityConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectivityGroupItemlistActiveConnectivityConfigurationResponse {
+ return vs[0].([]ConnectivityGroupItemlistActiveConnectivityConfigurationResponse)[vs[1].(int)]
+ }).(ConnectivityGroupItemlistActiveConnectivityConfigurationResponseOutput)
}
-// Parameters that define the configuration of traffic analytics.
-type CommonTrafficAnalyticsConfigurationPropertiesResponse struct {
- // Flag to enable/disable traffic analytics.
- Enabled *bool `pulumi:"enabled"`
- // The interval in minutes which would decide how frequently TA service should do flow analytics.
- TrafficAnalyticsInterval *int `pulumi:"trafficAnalyticsInterval"`
- // The resource guid of the attached workspace.
- WorkspaceId *string `pulumi:"workspaceId"`
- // The location of the attached workspace.
- WorkspaceRegion *string `pulumi:"workspaceRegion"`
- // Resource Id of the attached workspace.
- WorkspaceResourceId *string `pulumi:"workspaceResourceId"`
+type ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponse struct {
+ // Group connectivity type.
+ GroupConnectivity *string `pulumi:"groupConnectivity"`
+ // Flag if global is supported.
+ IsGlobal *string `pulumi:"isGlobal"`
+ // Network group Id.
+ NetworkGroupId *string `pulumi:"networkGroupId"`
+ // Flag if need to use hub gateway.
+ UseHubGateway *string `pulumi:"useHubGateway"`
}
-// Parameters that define the configuration of traffic analytics.
-type CommonTrafficAnalyticsConfigurationPropertiesResponseOutput struct{ *pulumi.OutputState }
+type ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseOutput struct{ *pulumi.OutputState }
-func (CommonTrafficAnalyticsConfigurationPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonTrafficAnalyticsConfigurationPropertiesResponse)(nil)).Elem()
+func (ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponse)(nil)).Elem()
}
-func (o CommonTrafficAnalyticsConfigurationPropertiesResponseOutput) ToCommonTrafficAnalyticsConfigurationPropertiesResponseOutput() CommonTrafficAnalyticsConfigurationPropertiesResponseOutput {
+func (o ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseOutput) ToConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseOutput() ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseOutput {
return o
}
-func (o CommonTrafficAnalyticsConfigurationPropertiesResponseOutput) ToCommonTrafficAnalyticsConfigurationPropertiesResponseOutputWithContext(ctx context.Context) CommonTrafficAnalyticsConfigurationPropertiesResponseOutput {
+func (o ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseOutput) ToConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseOutputWithContext(ctx context.Context) ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseOutput {
return o
}
-// Flag to enable/disable traffic analytics.
-func (o CommonTrafficAnalyticsConfigurationPropertiesResponseOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonTrafficAnalyticsConfigurationPropertiesResponse) *bool { return v.Enabled }).(pulumi.BoolPtrOutput)
-}
-
-// The interval in minutes which would decide how frequently TA service should do flow analytics.
-func (o CommonTrafficAnalyticsConfigurationPropertiesResponseOutput) TrafficAnalyticsInterval() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonTrafficAnalyticsConfigurationPropertiesResponse) *int { return v.TrafficAnalyticsInterval }).(pulumi.IntPtrOutput)
+// Group connectivity type.
+func (o ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseOutput) GroupConnectivity() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponse) *string {
+ return v.GroupConnectivity
+ }).(pulumi.StringPtrOutput)
}
-// The resource guid of the attached workspace.
-func (o CommonTrafficAnalyticsConfigurationPropertiesResponseOutput) WorkspaceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonTrafficAnalyticsConfigurationPropertiesResponse) *string { return v.WorkspaceId }).(pulumi.StringPtrOutput)
+// Flag if global is supported.
+func (o ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseOutput) IsGlobal() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponse) *string { return v.IsGlobal }).(pulumi.StringPtrOutput)
}
-// The location of the attached workspace.
-func (o CommonTrafficAnalyticsConfigurationPropertiesResponseOutput) WorkspaceRegion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonTrafficAnalyticsConfigurationPropertiesResponse) *string { return v.WorkspaceRegion }).(pulumi.StringPtrOutput)
+// Network group Id.
+func (o ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseOutput) NetworkGroupId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponse) *string {
+ return v.NetworkGroupId
+ }).(pulumi.StringPtrOutput)
}
-// Resource Id of the attached workspace.
-func (o CommonTrafficAnalyticsConfigurationPropertiesResponseOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonTrafficAnalyticsConfigurationPropertiesResponse) *string { return v.WorkspaceResourceId }).(pulumi.StringPtrOutput)
+// Flag if need to use hub gateway.
+func (o ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseOutput) UseHubGateway() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponse) *string {
+ return v.UseHubGateway
+ }).(pulumi.StringPtrOutput)
}
-type CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+type ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-func (CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonTrafficAnalyticsConfigurationPropertiesResponse)(nil)).Elem()
+func (ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponse)(nil)).Elem()
}
-func (o CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput) ToCommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput() CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput {
+func (o ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseArrayOutput) ToConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseArrayOutput() ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseArrayOutput {
return o
}
-func (o CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput) ToCommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutputWithContext(ctx context.Context) CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput {
+func (o ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseArrayOutput) ToConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseArrayOutputWithContext(ctx context.Context) ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseArrayOutput {
return o
}
-func (o CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput) Elem() CommonTrafficAnalyticsConfigurationPropertiesResponseOutput {
- return o.ApplyT(func(v *CommonTrafficAnalyticsConfigurationPropertiesResponse) CommonTrafficAnalyticsConfigurationPropertiesResponse {
- if v != nil {
- return *v
- }
- var ret CommonTrafficAnalyticsConfigurationPropertiesResponse
- return ret
- }).(CommonTrafficAnalyticsConfigurationPropertiesResponseOutput)
+func (o ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseArrayOutput) Index(i pulumi.IntInput) ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponse {
+ return vs[0].([]ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponse)[vs[1].(int)]
+ }).(ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseOutput)
}
-// Flag to enable/disable traffic analytics.
-func (o CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *CommonTrafficAnalyticsConfigurationPropertiesResponse) *bool {
- if v == nil {
- return nil
- }
- return v.Enabled
- }).(pulumi.BoolPtrOutput)
+// Container network interface configuration child resource.
+type ContainerNetworkInterfaceConfiguration struct {
+ // A list of container network interfaces created from this container network interface configuration.
+ ContainerNetworkInterfaces []SubResource `pulumi:"containerNetworkInterfaces"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // A list of ip configurations of the container network interface configuration.
+ IpConfigurations []IPConfigurationProfile `pulumi:"ipConfigurations"`
+ // The name of the resource. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
}
-// The interval in minutes which would decide how frequently TA service should do flow analytics.
-func (o CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput) TrafficAnalyticsInterval() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *CommonTrafficAnalyticsConfigurationPropertiesResponse) *int {
- if v == nil {
- return nil
- }
- return v.TrafficAnalyticsInterval
- }).(pulumi.IntPtrOutput)
+// ContainerNetworkInterfaceConfigurationInput is an input type that accepts ContainerNetworkInterfaceConfigurationArgs and ContainerNetworkInterfaceConfigurationOutput values.
+// You can construct a concrete instance of `ContainerNetworkInterfaceConfigurationInput` via:
+//
+// ContainerNetworkInterfaceConfigurationArgs{...}
+type ContainerNetworkInterfaceConfigurationInput interface {
+ pulumi.Input
+
+ ToContainerNetworkInterfaceConfigurationOutput() ContainerNetworkInterfaceConfigurationOutput
+ ToContainerNetworkInterfaceConfigurationOutputWithContext(context.Context) ContainerNetworkInterfaceConfigurationOutput
}
-// The resource guid of the attached workspace.
-func (o CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput) WorkspaceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonTrafficAnalyticsConfigurationPropertiesResponse) *string {
- if v == nil {
- return nil
- }
- return v.WorkspaceId
- }).(pulumi.StringPtrOutput)
+// Container network interface configuration child resource.
+type ContainerNetworkInterfaceConfigurationArgs struct {
+ // A list of container network interfaces created from this container network interface configuration.
+ ContainerNetworkInterfaces SubResourceArrayInput `pulumi:"containerNetworkInterfaces"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // A list of ip configurations of the container network interface configuration.
+ IpConfigurations IPConfigurationProfileArrayInput `pulumi:"ipConfigurations"`
+ // The name of the resource. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
}
-// The location of the attached workspace.
-func (o CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput) WorkspaceRegion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonTrafficAnalyticsConfigurationPropertiesResponse) *string {
- if v == nil {
- return nil
- }
- return v.WorkspaceRegion
- }).(pulumi.StringPtrOutput)
+func (ContainerNetworkInterfaceConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ContainerNetworkInterfaceConfiguration)(nil)).Elem()
}
-// Resource Id of the attached workspace.
-func (o CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonTrafficAnalyticsConfigurationPropertiesResponse) *string {
- if v == nil {
- return nil
- }
- return v.WorkspaceResourceId
- }).(pulumi.StringPtrOutput)
+func (i ContainerNetworkInterfaceConfigurationArgs) ToContainerNetworkInterfaceConfigurationOutput() ContainerNetworkInterfaceConfigurationOutput {
+ return i.ToContainerNetworkInterfaceConfigurationOutputWithContext(context.Background())
}
-// Parameters that define the configuration of traffic analytics.
-type CommonTrafficAnalyticsPropertiesResponse struct {
- // Parameters that define the configuration of traffic analytics.
- NetworkWatcherFlowAnalyticsConfiguration *CommonTrafficAnalyticsConfigurationPropertiesResponse `pulumi:"networkWatcherFlowAnalyticsConfiguration"`
+func (i ContainerNetworkInterfaceConfigurationArgs) ToContainerNetworkInterfaceConfigurationOutputWithContext(ctx context.Context) ContainerNetworkInterfaceConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ContainerNetworkInterfaceConfigurationOutput)
}
-// Parameters that define the configuration of traffic analytics.
-type CommonTrafficAnalyticsPropertiesResponseOutput struct{ *pulumi.OutputState }
+// ContainerNetworkInterfaceConfigurationArrayInput is an input type that accepts ContainerNetworkInterfaceConfigurationArray and ContainerNetworkInterfaceConfigurationArrayOutput values.
+// You can construct a concrete instance of `ContainerNetworkInterfaceConfigurationArrayInput` via:
+//
+// ContainerNetworkInterfaceConfigurationArray{ ContainerNetworkInterfaceConfigurationArgs{...} }
+type ContainerNetworkInterfaceConfigurationArrayInput interface {
+ pulumi.Input
-func (CommonTrafficAnalyticsPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonTrafficAnalyticsPropertiesResponse)(nil)).Elem()
+ ToContainerNetworkInterfaceConfigurationArrayOutput() ContainerNetworkInterfaceConfigurationArrayOutput
+ ToContainerNetworkInterfaceConfigurationArrayOutputWithContext(context.Context) ContainerNetworkInterfaceConfigurationArrayOutput
}
-func (o CommonTrafficAnalyticsPropertiesResponseOutput) ToCommonTrafficAnalyticsPropertiesResponseOutput() CommonTrafficAnalyticsPropertiesResponseOutput {
- return o
+type ContainerNetworkInterfaceConfigurationArray []ContainerNetworkInterfaceConfigurationInput
+
+func (ContainerNetworkInterfaceConfigurationArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ContainerNetworkInterfaceConfiguration)(nil)).Elem()
}
-func (o CommonTrafficAnalyticsPropertiesResponseOutput) ToCommonTrafficAnalyticsPropertiesResponseOutputWithContext(ctx context.Context) CommonTrafficAnalyticsPropertiesResponseOutput {
- return o
+func (i ContainerNetworkInterfaceConfigurationArray) ToContainerNetworkInterfaceConfigurationArrayOutput() ContainerNetworkInterfaceConfigurationArrayOutput {
+ return i.ToContainerNetworkInterfaceConfigurationArrayOutputWithContext(context.Background())
}
-// Parameters that define the configuration of traffic analytics.
-func (o CommonTrafficAnalyticsPropertiesResponseOutput) NetworkWatcherFlowAnalyticsConfiguration() CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput {
- return o.ApplyT(func(v CommonTrafficAnalyticsPropertiesResponse) *CommonTrafficAnalyticsConfigurationPropertiesResponse {
- return v.NetworkWatcherFlowAnalyticsConfiguration
- }).(CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput)
+func (i ContainerNetworkInterfaceConfigurationArray) ToContainerNetworkInterfaceConfigurationArrayOutputWithContext(ctx context.Context) ContainerNetworkInterfaceConfigurationArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ContainerNetworkInterfaceConfigurationArrayOutput)
}
-type CommonTrafficAnalyticsPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+// Container network interface configuration child resource.
+type ContainerNetworkInterfaceConfigurationOutput struct{ *pulumi.OutputState }
-func (CommonTrafficAnalyticsPropertiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonTrafficAnalyticsPropertiesResponse)(nil)).Elem()
+func (ContainerNetworkInterfaceConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ContainerNetworkInterfaceConfiguration)(nil)).Elem()
}
-func (o CommonTrafficAnalyticsPropertiesResponsePtrOutput) ToCommonTrafficAnalyticsPropertiesResponsePtrOutput() CommonTrafficAnalyticsPropertiesResponsePtrOutput {
+func (o ContainerNetworkInterfaceConfigurationOutput) ToContainerNetworkInterfaceConfigurationOutput() ContainerNetworkInterfaceConfigurationOutput {
return o
}
-func (o CommonTrafficAnalyticsPropertiesResponsePtrOutput) ToCommonTrafficAnalyticsPropertiesResponsePtrOutputWithContext(ctx context.Context) CommonTrafficAnalyticsPropertiesResponsePtrOutput {
+func (o ContainerNetworkInterfaceConfigurationOutput) ToContainerNetworkInterfaceConfigurationOutputWithContext(ctx context.Context) ContainerNetworkInterfaceConfigurationOutput {
return o
}
-func (o CommonTrafficAnalyticsPropertiesResponsePtrOutput) Elem() CommonTrafficAnalyticsPropertiesResponseOutput {
- return o.ApplyT(func(v *CommonTrafficAnalyticsPropertiesResponse) CommonTrafficAnalyticsPropertiesResponse {
- if v != nil {
- return *v
- }
- var ret CommonTrafficAnalyticsPropertiesResponse
- return ret
- }).(CommonTrafficAnalyticsPropertiesResponseOutput)
+// A list of container network interfaces created from this container network interface configuration.
+func (o ContainerNetworkInterfaceConfigurationOutput) ContainerNetworkInterfaces() SubResourceArrayOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceConfiguration) []SubResource { return v.ContainerNetworkInterfaces }).(SubResourceArrayOutput)
}
-// Parameters that define the configuration of traffic analytics.
-func (o CommonTrafficAnalyticsPropertiesResponsePtrOutput) NetworkWatcherFlowAnalyticsConfiguration() CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput {
- return o.ApplyT(func(v *CommonTrafficAnalyticsPropertiesResponse) *CommonTrafficAnalyticsConfigurationPropertiesResponse {
- if v == nil {
- return nil
- }
- return v.NetworkWatcherFlowAnalyticsConfiguration
- }).(CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput)
+// Resource ID.
+func (o ContainerNetworkInterfaceConfigurationOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceConfiguration) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Virtual Network resource.
-type CommonVirtualNetwork struct {
- // The AddressSpace that contains an array of IP address ranges that can be used by subnets.
- AddressSpace *CommonAddressSpace `pulumi:"addressSpace"`
- // Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
- BgpCommunities *CommonVirtualNetworkBgpCommunities `pulumi:"bgpCommunities"`
- // The DDoS protection plan associated with the virtual network.
- DdosProtectionPlan *CommonSubResource `pulumi:"ddosProtectionPlan"`
- // The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
- DhcpOptions *CommonDhcpOptions `pulumi:"dhcpOptions"`
- // Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
- EnableDdosProtection *bool `pulumi:"enableDdosProtection"`
- // Indicates if VM protection is enabled for all the subnets in the virtual network.
- EnableVmProtection *bool `pulumi:"enableVmProtection"`
- // Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
- Encryption *CommonVirtualNetworkEncryption `pulumi:"encryption"`
- // The extended location of the virtual network.
- ExtendedLocation *CommonExtendedLocation `pulumi:"extendedLocation"`
- // The FlowTimeout value (in minutes) for the Virtual Network
- FlowTimeoutInMinutes *int `pulumi:"flowTimeoutInMinutes"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Array of IpAllocation which reference this VNET.
- IpAllocations []CommonSubResource `pulumi:"ipAllocations"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Private Endpoint VNet Policies.
- PrivateEndpointVNetPolicies *string `pulumi:"privateEndpointVNetPolicies"`
- // A list of subnets in a Virtual Network.
- Subnets []CommonSubnet `pulumi:"subnets"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // A list of peerings in a Virtual Network.
- VirtualNetworkPeerings []CommonVirtualNetworkPeering `pulumi:"virtualNetworkPeerings"`
+// A list of ip configurations of the container network interface configuration.
+func (o ContainerNetworkInterfaceConfigurationOutput) IpConfigurations() IPConfigurationProfileArrayOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceConfiguration) []IPConfigurationProfile { return v.IpConfigurations }).(IPConfigurationProfileArrayOutput)
}
-// Defaults sets the appropriate defaults for CommonVirtualNetwork
-func (val *CommonVirtualNetwork) Defaults() *CommonVirtualNetwork {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.EnableDdosProtection == nil {
- enableDdosProtection_ := false
- tmp.EnableDdosProtection = &enableDdosProtection_
- }
- if tmp.EnableVmProtection == nil {
- enableVmProtection_ := false
- tmp.EnableVmProtection = &enableVmProtection_
- }
- return &tmp
+// The name of the resource. This name can be used to access the resource.
+func (o ContainerNetworkInterfaceConfigurationOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceConfiguration) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// CommonVirtualNetworkInput is an input type that accepts CommonVirtualNetworkArgs and CommonVirtualNetworkOutput values.
-// You can construct a concrete instance of `CommonVirtualNetworkInput` via:
-//
-// CommonVirtualNetworkArgs{...}
-type CommonVirtualNetworkInput interface {
- pulumi.Input
+type ContainerNetworkInterfaceConfigurationArrayOutput struct{ *pulumi.OutputState }
- ToCommonVirtualNetworkOutput() CommonVirtualNetworkOutput
- ToCommonVirtualNetworkOutputWithContext(context.Context) CommonVirtualNetworkOutput
+func (ContainerNetworkInterfaceConfigurationArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ContainerNetworkInterfaceConfiguration)(nil)).Elem()
}
-// Virtual Network resource.
-type CommonVirtualNetworkArgs struct {
- // The AddressSpace that contains an array of IP address ranges that can be used by subnets.
- AddressSpace CommonAddressSpacePtrInput `pulumi:"addressSpace"`
- // Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
- BgpCommunities CommonVirtualNetworkBgpCommunitiesPtrInput `pulumi:"bgpCommunities"`
- // The DDoS protection plan associated with the virtual network.
- DdosProtectionPlan CommonSubResourcePtrInput `pulumi:"ddosProtectionPlan"`
- // The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
- DhcpOptions CommonDhcpOptionsPtrInput `pulumi:"dhcpOptions"`
- // Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
- EnableDdosProtection pulumi.BoolPtrInput `pulumi:"enableDdosProtection"`
- // Indicates if VM protection is enabled for all the subnets in the virtual network.
- EnableVmProtection pulumi.BoolPtrInput `pulumi:"enableVmProtection"`
- // Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
- Encryption CommonVirtualNetworkEncryptionPtrInput `pulumi:"encryption"`
- // The extended location of the virtual network.
- ExtendedLocation CommonExtendedLocationPtrInput `pulumi:"extendedLocation"`
- // The FlowTimeout value (in minutes) for the Virtual Network
- FlowTimeoutInMinutes pulumi.IntPtrInput `pulumi:"flowTimeoutInMinutes"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Array of IpAllocation which reference this VNET.
- IpAllocations CommonSubResourceArrayInput `pulumi:"ipAllocations"`
- // Resource location.
- Location pulumi.StringPtrInput `pulumi:"location"`
- // Private Endpoint VNet Policies.
- PrivateEndpointVNetPolicies pulumi.StringPtrInput `pulumi:"privateEndpointVNetPolicies"`
- // A list of subnets in a Virtual Network.
- Subnets CommonSubnetArrayInput `pulumi:"subnets"`
- // Resource tags.
- Tags pulumi.StringMapInput `pulumi:"tags"`
- // A list of peerings in a Virtual Network.
- VirtualNetworkPeerings CommonVirtualNetworkPeeringArrayInput `pulumi:"virtualNetworkPeerings"`
+func (o ContainerNetworkInterfaceConfigurationArrayOutput) ToContainerNetworkInterfaceConfigurationArrayOutput() ContainerNetworkInterfaceConfigurationArrayOutput {
+ return o
}
-// Defaults sets the appropriate defaults for CommonVirtualNetworkArgs
-func (val *CommonVirtualNetworkArgs) Defaults() *CommonVirtualNetworkArgs {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.EnableDdosProtection == nil {
- tmp.EnableDdosProtection = pulumi.BoolPtr(false)
- }
- if tmp.EnableVmProtection == nil {
- tmp.EnableVmProtection = pulumi.BoolPtr(false)
- }
- return &tmp
+func (o ContainerNetworkInterfaceConfigurationArrayOutput) ToContainerNetworkInterfaceConfigurationArrayOutputWithContext(ctx context.Context) ContainerNetworkInterfaceConfigurationArrayOutput {
+ return o
}
-func (CommonVirtualNetworkArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonVirtualNetwork)(nil)).Elem()
+
+func (o ContainerNetworkInterfaceConfigurationArrayOutput) Index(i pulumi.IntInput) ContainerNetworkInterfaceConfigurationOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContainerNetworkInterfaceConfiguration {
+ return vs[0].([]ContainerNetworkInterfaceConfiguration)[vs[1].(int)]
+ }).(ContainerNetworkInterfaceConfigurationOutput)
}
-func (i CommonVirtualNetworkArgs) ToCommonVirtualNetworkOutput() CommonVirtualNetworkOutput {
- return i.ToCommonVirtualNetworkOutputWithContext(context.Background())
+// Container network interface configuration child resource.
+type ContainerNetworkInterfaceConfigurationResponse struct {
+ // A list of container network interfaces created from this container network interface configuration.
+ ContainerNetworkInterfaces []SubResourceResponse `pulumi:"containerNetworkInterfaces"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // A list of ip configurations of the container network interface configuration.
+ IpConfigurations []IPConfigurationProfileResponse `pulumi:"ipConfigurations"`
+ // The name of the resource. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the container network interface configuration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Sub Resource type.
+ Type string `pulumi:"type"`
}
-func (i CommonVirtualNetworkArgs) ToCommonVirtualNetworkOutputWithContext(ctx context.Context) CommonVirtualNetworkOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkOutput)
+// Container network interface configuration child resource.
+type ContainerNetworkInterfaceConfigurationResponseOutput struct{ *pulumi.OutputState }
+
+func (ContainerNetworkInterfaceConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ContainerNetworkInterfaceConfigurationResponse)(nil)).Elem()
}
-func (i CommonVirtualNetworkArgs) ToCommonVirtualNetworkPtrOutput() CommonVirtualNetworkPtrOutput {
- return i.ToCommonVirtualNetworkPtrOutputWithContext(context.Background())
+func (o ContainerNetworkInterfaceConfigurationResponseOutput) ToContainerNetworkInterfaceConfigurationResponseOutput() ContainerNetworkInterfaceConfigurationResponseOutput {
+ return o
}
-func (i CommonVirtualNetworkArgs) ToCommonVirtualNetworkPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkOutput).ToCommonVirtualNetworkPtrOutputWithContext(ctx)
+func (o ContainerNetworkInterfaceConfigurationResponseOutput) ToContainerNetworkInterfaceConfigurationResponseOutputWithContext(ctx context.Context) ContainerNetworkInterfaceConfigurationResponseOutput {
+ return o
}
-// CommonVirtualNetworkPtrInput is an input type that accepts CommonVirtualNetworkArgs, CommonVirtualNetworkPtr and CommonVirtualNetworkPtrOutput values.
-// You can construct a concrete instance of `CommonVirtualNetworkPtrInput` via:
-//
-// CommonVirtualNetworkArgs{...}
-//
-// or:
-//
-// nil
-type CommonVirtualNetworkPtrInput interface {
- pulumi.Input
+// A list of container network interfaces created from this container network interface configuration.
+func (o ContainerNetworkInterfaceConfigurationResponseOutput) ContainerNetworkInterfaces() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceConfigurationResponse) []SubResourceResponse {
+ return v.ContainerNetworkInterfaces
+ }).(SubResourceResponseArrayOutput)
+}
- ToCommonVirtualNetworkPtrOutput() CommonVirtualNetworkPtrOutput
- ToCommonVirtualNetworkPtrOutputWithContext(context.Context) CommonVirtualNetworkPtrOutput
+// A unique read-only string that changes whenever the resource is updated.
+func (o ContainerNetworkInterfaceConfigurationResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-type commonVirtualNetworkPtrType CommonVirtualNetworkArgs
+// Resource ID.
+func (o ContainerNetworkInterfaceConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
-func CommonVirtualNetworkPtr(v *CommonVirtualNetworkArgs) CommonVirtualNetworkPtrInput {
- return (*commonVirtualNetworkPtrType)(v)
+// A list of ip configurations of the container network interface configuration.
+func (o ContainerNetworkInterfaceConfigurationResponseOutput) IpConfigurations() IPConfigurationProfileResponseArrayOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceConfigurationResponse) []IPConfigurationProfileResponse {
+ return v.IpConfigurations
+ }).(IPConfigurationProfileResponseArrayOutput)
}
-func (*commonVirtualNetworkPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonVirtualNetwork)(nil)).Elem()
+// The name of the resource. This name can be used to access the resource.
+func (o ContainerNetworkInterfaceConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (i *commonVirtualNetworkPtrType) ToCommonVirtualNetworkPtrOutput() CommonVirtualNetworkPtrOutput {
- return i.ToCommonVirtualNetworkPtrOutputWithContext(context.Background())
+// The provisioning state of the container network interface configuration resource.
+func (o ContainerNetworkInterfaceConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i *commonVirtualNetworkPtrType) ToCommonVirtualNetworkPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkPtrOutput)
+// Sub Resource type.
+func (o ContainerNetworkInterfaceConfigurationResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Virtual Network resource.
-type CommonVirtualNetworkOutput struct{ *pulumi.OutputState }
+type ContainerNetworkInterfaceConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-func (CommonVirtualNetworkOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonVirtualNetwork)(nil)).Elem()
+func (ContainerNetworkInterfaceConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ContainerNetworkInterfaceConfigurationResponse)(nil)).Elem()
}
-func (o CommonVirtualNetworkOutput) ToCommonVirtualNetworkOutput() CommonVirtualNetworkOutput {
+func (o ContainerNetworkInterfaceConfigurationResponseArrayOutput) ToContainerNetworkInterfaceConfigurationResponseArrayOutput() ContainerNetworkInterfaceConfigurationResponseArrayOutput {
return o
}
-func (o CommonVirtualNetworkOutput) ToCommonVirtualNetworkOutputWithContext(ctx context.Context) CommonVirtualNetworkOutput {
+func (o ContainerNetworkInterfaceConfigurationResponseArrayOutput) ToContainerNetworkInterfaceConfigurationResponseArrayOutputWithContext(ctx context.Context) ContainerNetworkInterfaceConfigurationResponseArrayOutput {
return o
}
-func (o CommonVirtualNetworkOutput) ToCommonVirtualNetworkPtrOutput() CommonVirtualNetworkPtrOutput {
- return o.ToCommonVirtualNetworkPtrOutputWithContext(context.Background())
+func (o ContainerNetworkInterfaceConfigurationResponseArrayOutput) Index(i pulumi.IntInput) ContainerNetworkInterfaceConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContainerNetworkInterfaceConfigurationResponse {
+ return vs[0].([]ContainerNetworkInterfaceConfigurationResponse)[vs[1].(int)]
+ }).(ContainerNetworkInterfaceConfigurationResponseOutput)
}
-func (o CommonVirtualNetworkOutput) ToCommonVirtualNetworkPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v CommonVirtualNetwork) *CommonVirtualNetwork {
- return &v
- }).(CommonVirtualNetworkPtrOutput)
+// The ip configuration for a container network interface.
+type ContainerNetworkInterfaceIpConfigurationResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The name of the resource. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the container network interface IP configuration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Sub Resource type.
+ Type string `pulumi:"type"`
}
-// The AddressSpace that contains an array of IP address ranges that can be used by subnets.
-func (o CommonVirtualNetworkOutput) AddressSpace() CommonAddressSpacePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetwork) *CommonAddressSpace { return v.AddressSpace }).(CommonAddressSpacePtrOutput)
-}
+// The ip configuration for a container network interface.
+type ContainerNetworkInterfaceIpConfigurationResponseOutput struct{ *pulumi.OutputState }
-// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
-func (o CommonVirtualNetworkOutput) BgpCommunities() CommonVirtualNetworkBgpCommunitiesPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetwork) *CommonVirtualNetworkBgpCommunities { return v.BgpCommunities }).(CommonVirtualNetworkBgpCommunitiesPtrOutput)
+func (ContainerNetworkInterfaceIpConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ContainerNetworkInterfaceIpConfigurationResponse)(nil)).Elem()
}
-// The DDoS protection plan associated with the virtual network.
-func (o CommonVirtualNetworkOutput) DdosProtectionPlan() CommonSubResourcePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetwork) *CommonSubResource { return v.DdosProtectionPlan }).(CommonSubResourcePtrOutput)
+func (o ContainerNetworkInterfaceIpConfigurationResponseOutput) ToContainerNetworkInterfaceIpConfigurationResponseOutput() ContainerNetworkInterfaceIpConfigurationResponseOutput {
+ return o
}
-// The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
-func (o CommonVirtualNetworkOutput) DhcpOptions() CommonDhcpOptionsPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetwork) *CommonDhcpOptions { return v.DhcpOptions }).(CommonDhcpOptionsPtrOutput)
+func (o ContainerNetworkInterfaceIpConfigurationResponseOutput) ToContainerNetworkInterfaceIpConfigurationResponseOutputWithContext(ctx context.Context) ContainerNetworkInterfaceIpConfigurationResponseOutput {
+ return o
}
-// Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
-func (o CommonVirtualNetworkOutput) EnableDdosProtection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetwork) *bool { return v.EnableDdosProtection }).(pulumi.BoolPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o ContainerNetworkInterfaceIpConfigurationResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceIpConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Indicates if VM protection is enabled for all the subnets in the virtual network.
-func (o CommonVirtualNetworkOutput) EnableVmProtection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetwork) *bool { return v.EnableVmProtection }).(pulumi.BoolPtrOutput)
+// The name of the resource. This name can be used to access the resource.
+func (o ContainerNetworkInterfaceIpConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceIpConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
-func (o CommonVirtualNetworkOutput) Encryption() CommonVirtualNetworkEncryptionPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetwork) *CommonVirtualNetworkEncryption { return v.Encryption }).(CommonVirtualNetworkEncryptionPtrOutput)
+// The provisioning state of the container network interface IP configuration resource.
+func (o ContainerNetworkInterfaceIpConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceIpConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The extended location of the virtual network.
-func (o CommonVirtualNetworkOutput) ExtendedLocation() CommonExtendedLocationPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetwork) *CommonExtendedLocation { return v.ExtendedLocation }).(CommonExtendedLocationPtrOutput)
+// Sub Resource type.
+func (o ContainerNetworkInterfaceIpConfigurationResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceIpConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// The FlowTimeout value (in minutes) for the Virtual Network
-func (o CommonVirtualNetworkOutput) FlowTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetwork) *int { return v.FlowTimeoutInMinutes }).(pulumi.IntPtrOutput)
-}
+type ContainerNetworkInterfaceIpConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-// Resource ID.
-func (o CommonVirtualNetworkOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetwork) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (ContainerNetworkInterfaceIpConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ContainerNetworkInterfaceIpConfigurationResponse)(nil)).Elem()
}
-// Array of IpAllocation which reference this VNET.
-func (o CommonVirtualNetworkOutput) IpAllocations() CommonSubResourceArrayOutput {
- return o.ApplyT(func(v CommonVirtualNetwork) []CommonSubResource { return v.IpAllocations }).(CommonSubResourceArrayOutput)
+func (o ContainerNetworkInterfaceIpConfigurationResponseArrayOutput) ToContainerNetworkInterfaceIpConfigurationResponseArrayOutput() ContainerNetworkInterfaceIpConfigurationResponseArrayOutput {
+ return o
}
-// Resource location.
-func (o CommonVirtualNetworkOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetwork) *string { return v.Location }).(pulumi.StringPtrOutput)
+func (o ContainerNetworkInterfaceIpConfigurationResponseArrayOutput) ToContainerNetworkInterfaceIpConfigurationResponseArrayOutputWithContext(ctx context.Context) ContainerNetworkInterfaceIpConfigurationResponseArrayOutput {
+ return o
}
-// Private Endpoint VNet Policies.
-func (o CommonVirtualNetworkOutput) PrivateEndpointVNetPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetwork) *string { return v.PrivateEndpointVNetPolicies }).(pulumi.StringPtrOutput)
+func (o ContainerNetworkInterfaceIpConfigurationResponseArrayOutput) Index(i pulumi.IntInput) ContainerNetworkInterfaceIpConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContainerNetworkInterfaceIpConfigurationResponse {
+ return vs[0].([]ContainerNetworkInterfaceIpConfigurationResponse)[vs[1].(int)]
+ }).(ContainerNetworkInterfaceIpConfigurationResponseOutput)
}
-// A list of subnets in a Virtual Network.
-func (o CommonVirtualNetworkOutput) Subnets() CommonSubnetArrayOutput {
- return o.ApplyT(func(v CommonVirtualNetwork) []CommonSubnet { return v.Subnets }).(CommonSubnetArrayOutput)
+// Container network interface child resource.
+type ContainerNetworkInterfaceResponse struct {
+ // Reference to the container to which this container network interface is attached.
+ Container *ContainerResponse `pulumi:"container"`
+ // Container network interface configuration from which this container network interface is created.
+ ContainerNetworkInterfaceConfiguration ContainerNetworkInterfaceConfigurationResponse `pulumi:"containerNetworkInterfaceConfiguration"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Reference to the ip configuration on this container nic.
+ IpConfigurations []ContainerNetworkInterfaceIpConfigurationResponse `pulumi:"ipConfigurations"`
+ // The name of the resource. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the container network interface resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Sub Resource type.
+ Type string `pulumi:"type"`
}
-// Resource tags.
-func (o CommonVirtualNetworkOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v CommonVirtualNetwork) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
-}
+// Container network interface child resource.
+type ContainerNetworkInterfaceResponseOutput struct{ *pulumi.OutputState }
-// A list of peerings in a Virtual Network.
-func (o CommonVirtualNetworkOutput) VirtualNetworkPeerings() CommonVirtualNetworkPeeringArrayOutput {
- return o.ApplyT(func(v CommonVirtualNetwork) []CommonVirtualNetworkPeering { return v.VirtualNetworkPeerings }).(CommonVirtualNetworkPeeringArrayOutput)
+func (ContainerNetworkInterfaceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ContainerNetworkInterfaceResponse)(nil)).Elem()
}
-type CommonVirtualNetworkPtrOutput struct{ *pulumi.OutputState }
-
-func (CommonVirtualNetworkPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonVirtualNetwork)(nil)).Elem()
+func (o ContainerNetworkInterfaceResponseOutput) ToContainerNetworkInterfaceResponseOutput() ContainerNetworkInterfaceResponseOutput {
+ return o
}
-func (o CommonVirtualNetworkPtrOutput) ToCommonVirtualNetworkPtrOutput() CommonVirtualNetworkPtrOutput {
+func (o ContainerNetworkInterfaceResponseOutput) ToContainerNetworkInterfaceResponseOutputWithContext(ctx context.Context) ContainerNetworkInterfaceResponseOutput {
return o
}
-func (o CommonVirtualNetworkPtrOutput) ToCommonVirtualNetworkPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkPtrOutput {
- return o
+// Reference to the container to which this container network interface is attached.
+func (o ContainerNetworkInterfaceResponseOutput) Container() ContainerResponsePtrOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceResponse) *ContainerResponse { return v.Container }).(ContainerResponsePtrOutput)
}
-func (o CommonVirtualNetworkPtrOutput) Elem() CommonVirtualNetworkOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) CommonVirtualNetwork {
- if v != nil {
- return *v
- }
- var ret CommonVirtualNetwork
- return ret
- }).(CommonVirtualNetworkOutput)
+// Container network interface configuration from which this container network interface is created.
+func (o ContainerNetworkInterfaceResponseOutput) ContainerNetworkInterfaceConfiguration() ContainerNetworkInterfaceConfigurationResponseOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceResponse) ContainerNetworkInterfaceConfigurationResponse {
+ return v.ContainerNetworkInterfaceConfiguration
+ }).(ContainerNetworkInterfaceConfigurationResponseOutput)
}
-// The AddressSpace that contains an array of IP address ranges that can be used by subnets.
-func (o CommonVirtualNetworkPtrOutput) AddressSpace() CommonAddressSpacePtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) *CommonAddressSpace {
- if v == nil {
- return nil
- }
- return v.AddressSpace
- }).(CommonAddressSpacePtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o ContainerNetworkInterfaceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
-func (o CommonVirtualNetworkPtrOutput) BgpCommunities() CommonVirtualNetworkBgpCommunitiesPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) *CommonVirtualNetworkBgpCommunities {
- if v == nil {
- return nil
- }
- return v.BgpCommunities
- }).(CommonVirtualNetworkBgpCommunitiesPtrOutput)
+// Resource ID.
+func (o ContainerNetworkInterfaceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The DDoS protection plan associated with the virtual network.
-func (o CommonVirtualNetworkPtrOutput) DdosProtectionPlan() CommonSubResourcePtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) *CommonSubResource {
- if v == nil {
- return nil
- }
- return v.DdosProtectionPlan
- }).(CommonSubResourcePtrOutput)
+// Reference to the ip configuration on this container nic.
+func (o ContainerNetworkInterfaceResponseOutput) IpConfigurations() ContainerNetworkInterfaceIpConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceResponse) []ContainerNetworkInterfaceIpConfigurationResponse {
+ return v.IpConfigurations
+ }).(ContainerNetworkInterfaceIpConfigurationResponseArrayOutput)
}
-// The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
-func (o CommonVirtualNetworkPtrOutput) DhcpOptions() CommonDhcpOptionsPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) *CommonDhcpOptions {
- if v == nil {
- return nil
- }
- return v.DhcpOptions
- }).(CommonDhcpOptionsPtrOutput)
+// The name of the resource. This name can be used to access the resource.
+func (o ContainerNetworkInterfaceResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
-func (o CommonVirtualNetworkPtrOutput) EnableDdosProtection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) *bool {
- if v == nil {
- return nil
- }
- return v.EnableDdosProtection
- }).(pulumi.BoolPtrOutput)
+// The provisioning state of the container network interface resource.
+func (o ContainerNetworkInterfaceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Indicates if VM protection is enabled for all the subnets in the virtual network.
-func (o CommonVirtualNetworkPtrOutput) EnableVmProtection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) *bool {
- if v == nil {
- return nil
- }
- return v.EnableVmProtection
- }).(pulumi.BoolPtrOutput)
+// Sub Resource type.
+func (o ContainerNetworkInterfaceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ContainerNetworkInterfaceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
-func (o CommonVirtualNetworkPtrOutput) Encryption() CommonVirtualNetworkEncryptionPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) *CommonVirtualNetworkEncryption {
- if v == nil {
- return nil
- }
- return v.Encryption
- }).(CommonVirtualNetworkEncryptionPtrOutput)
-}
+type ContainerNetworkInterfaceResponseArrayOutput struct{ *pulumi.OutputState }
-// The extended location of the virtual network.
-func (o CommonVirtualNetworkPtrOutput) ExtendedLocation() CommonExtendedLocationPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) *CommonExtendedLocation {
- if v == nil {
- return nil
- }
- return v.ExtendedLocation
- }).(CommonExtendedLocationPtrOutput)
+func (ContainerNetworkInterfaceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ContainerNetworkInterfaceResponse)(nil)).Elem()
}
-// The FlowTimeout value (in minutes) for the Virtual Network
-func (o CommonVirtualNetworkPtrOutput) FlowTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) *int {
- if v == nil {
- return nil
- }
- return v.FlowTimeoutInMinutes
- }).(pulumi.IntPtrOutput)
+func (o ContainerNetworkInterfaceResponseArrayOutput) ToContainerNetworkInterfaceResponseArrayOutput() ContainerNetworkInterfaceResponseArrayOutput {
+ return o
}
-// Resource ID.
-func (o CommonVirtualNetworkPtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+func (o ContainerNetworkInterfaceResponseArrayOutput) ToContainerNetworkInterfaceResponseArrayOutputWithContext(ctx context.Context) ContainerNetworkInterfaceResponseArrayOutput {
+ return o
}
-// Array of IpAllocation which reference this VNET.
-func (o CommonVirtualNetworkPtrOutput) IpAllocations() CommonSubResourceArrayOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) []CommonSubResource {
- if v == nil {
- return nil
- }
- return v.IpAllocations
- }).(CommonSubResourceArrayOutput)
+func (o ContainerNetworkInterfaceResponseArrayOutput) Index(i pulumi.IntInput) ContainerNetworkInterfaceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContainerNetworkInterfaceResponse {
+ return vs[0].([]ContainerNetworkInterfaceResponse)[vs[1].(int)]
+ }).(ContainerNetworkInterfaceResponseOutput)
}
-// Resource location.
-func (o CommonVirtualNetworkPtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
+// Reference to container resource in remote resource provider.
+type ContainerResponse struct {
+ // Resource ID.
+ Id *string `pulumi:"id"`
}
-// Private Endpoint VNet Policies.
-func (o CommonVirtualNetworkPtrOutput) PrivateEndpointVNetPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) *string {
- if v == nil {
- return nil
- }
- return v.PrivateEndpointVNetPolicies
- }).(pulumi.StringPtrOutput)
-}
+// Reference to container resource in remote resource provider.
+type ContainerResponseOutput struct{ *pulumi.OutputState }
-// A list of subnets in a Virtual Network.
-func (o CommonVirtualNetworkPtrOutput) Subnets() CommonSubnetArrayOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) []CommonSubnet {
- if v == nil {
- return nil
- }
- return v.Subnets
- }).(CommonSubnetArrayOutput)
+func (ContainerResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ContainerResponse)(nil)).Elem()
}
-// Resource tags.
-func (o CommonVirtualNetworkPtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) map[string]string {
- if v == nil {
- return nil
- }
- return v.Tags
- }).(pulumi.StringMapOutput)
+func (o ContainerResponseOutput) ToContainerResponseOutput() ContainerResponseOutput {
+ return o
}
-// A list of peerings in a Virtual Network.
-func (o CommonVirtualNetworkPtrOutput) VirtualNetworkPeerings() CommonVirtualNetworkPeeringArrayOutput {
- return o.ApplyT(func(v *CommonVirtualNetwork) []CommonVirtualNetworkPeering {
- if v == nil {
- return nil
- }
- return v.VirtualNetworkPeerings
- }).(CommonVirtualNetworkPeeringArrayOutput)
+func (o ContainerResponseOutput) ToContainerResponseOutputWithContext(ctx context.Context) ContainerResponseOutput {
+ return o
}
-// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
-type CommonVirtualNetworkBgpCommunities struct {
- // The BGP community associated with the virtual network.
- VirtualNetworkCommunity string `pulumi:"virtualNetworkCommunity"`
+// Resource ID.
+func (o ContainerResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ContainerResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// CommonVirtualNetworkBgpCommunitiesInput is an input type that accepts CommonVirtualNetworkBgpCommunitiesArgs and CommonVirtualNetworkBgpCommunitiesOutput values.
-// You can construct a concrete instance of `CommonVirtualNetworkBgpCommunitiesInput` via:
-//
-// CommonVirtualNetworkBgpCommunitiesArgs{...}
-type CommonVirtualNetworkBgpCommunitiesInput interface {
- pulumi.Input
-
- ToCommonVirtualNetworkBgpCommunitiesOutput() CommonVirtualNetworkBgpCommunitiesOutput
- ToCommonVirtualNetworkBgpCommunitiesOutputWithContext(context.Context) CommonVirtualNetworkBgpCommunitiesOutput
-}
+type ContainerResponsePtrOutput struct{ *pulumi.OutputState }
-// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
-type CommonVirtualNetworkBgpCommunitiesArgs struct {
- // The BGP community associated with the virtual network.
- VirtualNetworkCommunity pulumi.StringInput `pulumi:"virtualNetworkCommunity"`
+func (ContainerResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ContainerResponse)(nil)).Elem()
}
-func (CommonVirtualNetworkBgpCommunitiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonVirtualNetworkBgpCommunities)(nil)).Elem()
+func (o ContainerResponsePtrOutput) ToContainerResponsePtrOutput() ContainerResponsePtrOutput {
+ return o
}
-func (i CommonVirtualNetworkBgpCommunitiesArgs) ToCommonVirtualNetworkBgpCommunitiesOutput() CommonVirtualNetworkBgpCommunitiesOutput {
- return i.ToCommonVirtualNetworkBgpCommunitiesOutputWithContext(context.Background())
+func (o ContainerResponsePtrOutput) ToContainerResponsePtrOutputWithContext(ctx context.Context) ContainerResponsePtrOutput {
+ return o
}
-func (i CommonVirtualNetworkBgpCommunitiesArgs) ToCommonVirtualNetworkBgpCommunitiesOutputWithContext(ctx context.Context) CommonVirtualNetworkBgpCommunitiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkBgpCommunitiesOutput)
+func (o ContainerResponsePtrOutput) Elem() ContainerResponseOutput {
+ return o.ApplyT(func(v *ContainerResponse) ContainerResponse {
+ if v != nil {
+ return *v
+ }
+ var ret ContainerResponse
+ return ret
+ }).(ContainerResponseOutput)
}
-func (i CommonVirtualNetworkBgpCommunitiesArgs) ToCommonVirtualNetworkBgpCommunitiesPtrOutput() CommonVirtualNetworkBgpCommunitiesPtrOutput {
- return i.ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(context.Background())
+// Resource ID.
+func (o ContainerResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ContainerResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (i CommonVirtualNetworkBgpCommunitiesArgs) ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkBgpCommunitiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkBgpCommunitiesOutput).ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx)
+// A matching criteria which matches routes based on route prefix, community, and AS path.
+type Criterion struct {
+ // List of AS paths which this criteria matches.
+ AsPath []string `pulumi:"asPath"`
+ // List of BGP communities which this criteria matches.
+ Community []string `pulumi:"community"`
+ // Match condition to apply RouteMap rules.
+ MatchCondition *string `pulumi:"matchCondition"`
+ // List of route prefixes which this criteria matches.
+ RoutePrefix []string `pulumi:"routePrefix"`
}
-// CommonVirtualNetworkBgpCommunitiesPtrInput is an input type that accepts CommonVirtualNetworkBgpCommunitiesArgs, CommonVirtualNetworkBgpCommunitiesPtr and CommonVirtualNetworkBgpCommunitiesPtrOutput values.
-// You can construct a concrete instance of `CommonVirtualNetworkBgpCommunitiesPtrInput` via:
-//
-// CommonVirtualNetworkBgpCommunitiesArgs{...}
-//
-// or:
+// CriterionInput is an input type that accepts CriterionArgs and CriterionOutput values.
+// You can construct a concrete instance of `CriterionInput` via:
//
-// nil
-type CommonVirtualNetworkBgpCommunitiesPtrInput interface {
+// CriterionArgs{...}
+type CriterionInput interface {
pulumi.Input
- ToCommonVirtualNetworkBgpCommunitiesPtrOutput() CommonVirtualNetworkBgpCommunitiesPtrOutput
- ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(context.Context) CommonVirtualNetworkBgpCommunitiesPtrOutput
+ ToCriterionOutput() CriterionOutput
+ ToCriterionOutputWithContext(context.Context) CriterionOutput
}
-type commonVirtualNetworkBgpCommunitiesPtrType CommonVirtualNetworkBgpCommunitiesArgs
-
-func CommonVirtualNetworkBgpCommunitiesPtr(v *CommonVirtualNetworkBgpCommunitiesArgs) CommonVirtualNetworkBgpCommunitiesPtrInput {
- return (*commonVirtualNetworkBgpCommunitiesPtrType)(v)
+// A matching criteria which matches routes based on route prefix, community, and AS path.
+type CriterionArgs struct {
+ // List of AS paths which this criteria matches.
+ AsPath pulumi.StringArrayInput `pulumi:"asPath"`
+ // List of BGP communities which this criteria matches.
+ Community pulumi.StringArrayInput `pulumi:"community"`
+ // Match condition to apply RouteMap rules.
+ MatchCondition pulumi.StringPtrInput `pulumi:"matchCondition"`
+ // List of route prefixes which this criteria matches.
+ RoutePrefix pulumi.StringArrayInput `pulumi:"routePrefix"`
}
-func (*commonVirtualNetworkBgpCommunitiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonVirtualNetworkBgpCommunities)(nil)).Elem()
+func (CriterionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*Criterion)(nil)).Elem()
}
-func (i *commonVirtualNetworkBgpCommunitiesPtrType) ToCommonVirtualNetworkBgpCommunitiesPtrOutput() CommonVirtualNetworkBgpCommunitiesPtrOutput {
- return i.ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(context.Background())
+func (i CriterionArgs) ToCriterionOutput() CriterionOutput {
+ return i.ToCriterionOutputWithContext(context.Background())
}
-func (i *commonVirtualNetworkBgpCommunitiesPtrType) ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkBgpCommunitiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkBgpCommunitiesPtrOutput)
+func (i CriterionArgs) ToCriterionOutputWithContext(ctx context.Context) CriterionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CriterionOutput)
}
-// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
-type CommonVirtualNetworkBgpCommunitiesOutput struct{ *pulumi.OutputState }
-
-func (CommonVirtualNetworkBgpCommunitiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonVirtualNetworkBgpCommunities)(nil)).Elem()
-}
+// CriterionArrayInput is an input type that accepts CriterionArray and CriterionArrayOutput values.
+// You can construct a concrete instance of `CriterionArrayInput` via:
+//
+// CriterionArray{ CriterionArgs{...} }
+type CriterionArrayInput interface {
+ pulumi.Input
-func (o CommonVirtualNetworkBgpCommunitiesOutput) ToCommonVirtualNetworkBgpCommunitiesOutput() CommonVirtualNetworkBgpCommunitiesOutput {
- return o
+ ToCriterionArrayOutput() CriterionArrayOutput
+ ToCriterionArrayOutputWithContext(context.Context) CriterionArrayOutput
}
-func (o CommonVirtualNetworkBgpCommunitiesOutput) ToCommonVirtualNetworkBgpCommunitiesOutputWithContext(ctx context.Context) CommonVirtualNetworkBgpCommunitiesOutput {
- return o
-}
+type CriterionArray []CriterionInput
-func (o CommonVirtualNetworkBgpCommunitiesOutput) ToCommonVirtualNetworkBgpCommunitiesPtrOutput() CommonVirtualNetworkBgpCommunitiesPtrOutput {
- return o.ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(context.Background())
+func (CriterionArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]Criterion)(nil)).Elem()
}
-func (o CommonVirtualNetworkBgpCommunitiesOutput) ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkBgpCommunitiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v CommonVirtualNetworkBgpCommunities) *CommonVirtualNetworkBgpCommunities {
- return &v
- }).(CommonVirtualNetworkBgpCommunitiesPtrOutput)
+func (i CriterionArray) ToCriterionArrayOutput() CriterionArrayOutput {
+ return i.ToCriterionArrayOutputWithContext(context.Background())
}
-// The BGP community associated with the virtual network.
-func (o CommonVirtualNetworkBgpCommunitiesOutput) VirtualNetworkCommunity() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkBgpCommunities) string { return v.VirtualNetworkCommunity }).(pulumi.StringOutput)
+func (i CriterionArray) ToCriterionArrayOutputWithContext(ctx context.Context) CriterionArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CriterionArrayOutput)
}
-type CommonVirtualNetworkBgpCommunitiesPtrOutput struct{ *pulumi.OutputState }
+// A matching criteria which matches routes based on route prefix, community, and AS path.
+type CriterionOutput struct{ *pulumi.OutputState }
-func (CommonVirtualNetworkBgpCommunitiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonVirtualNetworkBgpCommunities)(nil)).Elem()
+func (CriterionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*Criterion)(nil)).Elem()
}
-func (o CommonVirtualNetworkBgpCommunitiesPtrOutput) ToCommonVirtualNetworkBgpCommunitiesPtrOutput() CommonVirtualNetworkBgpCommunitiesPtrOutput {
+func (o CriterionOutput) ToCriterionOutput() CriterionOutput {
return o
}
-func (o CommonVirtualNetworkBgpCommunitiesPtrOutput) ToCommonVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkBgpCommunitiesPtrOutput {
+func (o CriterionOutput) ToCriterionOutputWithContext(ctx context.Context) CriterionOutput {
return o
}
-func (o CommonVirtualNetworkBgpCommunitiesPtrOutput) Elem() CommonVirtualNetworkBgpCommunitiesOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkBgpCommunities) CommonVirtualNetworkBgpCommunities {
- if v != nil {
- return *v
- }
- var ret CommonVirtualNetworkBgpCommunities
- return ret
- }).(CommonVirtualNetworkBgpCommunitiesOutput)
+// List of AS paths which this criteria matches.
+func (o CriterionOutput) AsPath() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v Criterion) []string { return v.AsPath }).(pulumi.StringArrayOutput)
}
-// The BGP community associated with the virtual network.
-func (o CommonVirtualNetworkBgpCommunitiesPtrOutput) VirtualNetworkCommunity() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkBgpCommunities) *string {
- if v == nil {
- return nil
- }
- return &v.VirtualNetworkCommunity
- }).(pulumi.StringPtrOutput)
+// List of BGP communities which this criteria matches.
+func (o CriterionOutput) Community() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v Criterion) []string { return v.Community }).(pulumi.StringArrayOutput)
}
-// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
-type CommonVirtualNetworkBgpCommunitiesResponse struct {
- // The BGP community associated with the region of the virtual network.
- RegionalCommunity string `pulumi:"regionalCommunity"`
- // The BGP community associated with the virtual network.
- VirtualNetworkCommunity string `pulumi:"virtualNetworkCommunity"`
+// Match condition to apply RouteMap rules.
+func (o CriterionOutput) MatchCondition() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Criterion) *string { return v.MatchCondition }).(pulumi.StringPtrOutput)
}
-// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
-type CommonVirtualNetworkBgpCommunitiesResponseOutput struct{ *pulumi.OutputState }
+// List of route prefixes which this criteria matches.
+func (o CriterionOutput) RoutePrefix() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v Criterion) []string { return v.RoutePrefix }).(pulumi.StringArrayOutput)
+}
+
+type CriterionArrayOutput struct{ *pulumi.OutputState }
-func (CommonVirtualNetworkBgpCommunitiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonVirtualNetworkBgpCommunitiesResponse)(nil)).Elem()
+func (CriterionArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]Criterion)(nil)).Elem()
}
-func (o CommonVirtualNetworkBgpCommunitiesResponseOutput) ToCommonVirtualNetworkBgpCommunitiesResponseOutput() CommonVirtualNetworkBgpCommunitiesResponseOutput {
+func (o CriterionArrayOutput) ToCriterionArrayOutput() CriterionArrayOutput {
return o
}
-func (o CommonVirtualNetworkBgpCommunitiesResponseOutput) ToCommonVirtualNetworkBgpCommunitiesResponseOutputWithContext(ctx context.Context) CommonVirtualNetworkBgpCommunitiesResponseOutput {
+func (o CriterionArrayOutput) ToCriterionArrayOutputWithContext(ctx context.Context) CriterionArrayOutput {
return o
}
-// The BGP community associated with the region of the virtual network.
-func (o CommonVirtualNetworkBgpCommunitiesResponseOutput) RegionalCommunity() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkBgpCommunitiesResponse) string { return v.RegionalCommunity }).(pulumi.StringOutput)
+func (o CriterionArrayOutput) Index(i pulumi.IntInput) CriterionOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) Criterion {
+ return vs[0].([]Criterion)[vs[1].(int)]
+ }).(CriterionOutput)
}
-// The BGP community associated with the virtual network.
-func (o CommonVirtualNetworkBgpCommunitiesResponseOutput) VirtualNetworkCommunity() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkBgpCommunitiesResponse) string { return v.VirtualNetworkCommunity }).(pulumi.StringOutput)
+// A matching criteria which matches routes based on route prefix, community, and AS path.
+type CriterionResponse struct {
+ // List of AS paths which this criteria matches.
+ AsPath []string `pulumi:"asPath"`
+ // List of BGP communities which this criteria matches.
+ Community []string `pulumi:"community"`
+ // Match condition to apply RouteMap rules.
+ MatchCondition *string `pulumi:"matchCondition"`
+ // List of route prefixes which this criteria matches.
+ RoutePrefix []string `pulumi:"routePrefix"`
}
-type CommonVirtualNetworkBgpCommunitiesResponsePtrOutput struct{ *pulumi.OutputState }
+// A matching criteria which matches routes based on route prefix, community, and AS path.
+type CriterionResponseOutput struct{ *pulumi.OutputState }
-func (CommonVirtualNetworkBgpCommunitiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonVirtualNetworkBgpCommunitiesResponse)(nil)).Elem()
+func (CriterionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CriterionResponse)(nil)).Elem()
}
-func (o CommonVirtualNetworkBgpCommunitiesResponsePtrOutput) ToCommonVirtualNetworkBgpCommunitiesResponsePtrOutput() CommonVirtualNetworkBgpCommunitiesResponsePtrOutput {
+func (o CriterionResponseOutput) ToCriterionResponseOutput() CriterionResponseOutput {
return o
}
-func (o CommonVirtualNetworkBgpCommunitiesResponsePtrOutput) ToCommonVirtualNetworkBgpCommunitiesResponsePtrOutputWithContext(ctx context.Context) CommonVirtualNetworkBgpCommunitiesResponsePtrOutput {
+func (o CriterionResponseOutput) ToCriterionResponseOutputWithContext(ctx context.Context) CriterionResponseOutput {
return o
}
-func (o CommonVirtualNetworkBgpCommunitiesResponsePtrOutput) Elem() CommonVirtualNetworkBgpCommunitiesResponseOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkBgpCommunitiesResponse) CommonVirtualNetworkBgpCommunitiesResponse {
- if v != nil {
- return *v
- }
- var ret CommonVirtualNetworkBgpCommunitiesResponse
- return ret
- }).(CommonVirtualNetworkBgpCommunitiesResponseOutput)
+// List of AS paths which this criteria matches.
+func (o CriterionResponseOutput) AsPath() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CriterionResponse) []string { return v.AsPath }).(pulumi.StringArrayOutput)
}
-// The BGP community associated with the region of the virtual network.
-func (o CommonVirtualNetworkBgpCommunitiesResponsePtrOutput) RegionalCommunity() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkBgpCommunitiesResponse) *string {
- if v == nil {
- return nil
- }
- return &v.RegionalCommunity
- }).(pulumi.StringPtrOutput)
+// List of BGP communities which this criteria matches.
+func (o CriterionResponseOutput) Community() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CriterionResponse) []string { return v.Community }).(pulumi.StringArrayOutput)
}
-// The BGP community associated with the virtual network.
-func (o CommonVirtualNetworkBgpCommunitiesResponsePtrOutput) VirtualNetworkCommunity() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkBgpCommunitiesResponse) *string {
- if v == nil {
- return nil
- }
- return &v.VirtualNetworkCommunity
- }).(pulumi.StringPtrOutput)
+// Match condition to apply RouteMap rules.
+func (o CriterionResponseOutput) MatchCondition() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CriterionResponse) *string { return v.MatchCondition }).(pulumi.StringPtrOutput)
}
-// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
-type CommonVirtualNetworkEncryption struct {
- // Indicates if encryption is enabled on the virtual network.
- Enabled bool `pulumi:"enabled"`
- // If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
- Enforcement *string `pulumi:"enforcement"`
+// List of route prefixes which this criteria matches.
+func (o CriterionResponseOutput) RoutePrefix() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CriterionResponse) []string { return v.RoutePrefix }).(pulumi.StringArrayOutput)
}
-// CommonVirtualNetworkEncryptionInput is an input type that accepts CommonVirtualNetworkEncryptionArgs and CommonVirtualNetworkEncryptionOutput values.
-// You can construct a concrete instance of `CommonVirtualNetworkEncryptionInput` via:
-//
-// CommonVirtualNetworkEncryptionArgs{...}
-type CommonVirtualNetworkEncryptionInput interface {
- pulumi.Input
+type CriterionResponseArrayOutput struct{ *pulumi.OutputState }
- ToCommonVirtualNetworkEncryptionOutput() CommonVirtualNetworkEncryptionOutput
- ToCommonVirtualNetworkEncryptionOutputWithContext(context.Context) CommonVirtualNetworkEncryptionOutput
+func (CriterionResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CriterionResponse)(nil)).Elem()
}
-// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
-type CommonVirtualNetworkEncryptionArgs struct {
- // Indicates if encryption is enabled on the virtual network.
- Enabled pulumi.BoolInput `pulumi:"enabled"`
- // If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
- Enforcement pulumi.StringPtrInput `pulumi:"enforcement"`
+func (o CriterionResponseArrayOutput) ToCriterionResponseArrayOutput() CriterionResponseArrayOutput {
+ return o
}
-func (CommonVirtualNetworkEncryptionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonVirtualNetworkEncryption)(nil)).Elem()
+func (o CriterionResponseArrayOutput) ToCriterionResponseArrayOutputWithContext(ctx context.Context) CriterionResponseArrayOutput {
+ return o
}
-func (i CommonVirtualNetworkEncryptionArgs) ToCommonVirtualNetworkEncryptionOutput() CommonVirtualNetworkEncryptionOutput {
- return i.ToCommonVirtualNetworkEncryptionOutputWithContext(context.Background())
+func (o CriterionResponseArrayOutput) Index(i pulumi.IntInput) CriterionResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) CriterionResponse {
+ return vs[0].([]CriterionResponse)[vs[1].(int)]
+ }).(CriterionResponseOutput)
}
-func (i CommonVirtualNetworkEncryptionArgs) ToCommonVirtualNetworkEncryptionOutputWithContext(ctx context.Context) CommonVirtualNetworkEncryptionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkEncryptionOutput)
+// Cross tenant scopes.
+type CrossTenantScopesResponse struct {
+ // List of management groups.
+ ManagementGroups []string `pulumi:"managementGroups"`
+ // List of subscriptions.
+ Subscriptions []string `pulumi:"subscriptions"`
+ // Tenant ID.
+ TenantId string `pulumi:"tenantId"`
}
-func (i CommonVirtualNetworkEncryptionArgs) ToCommonVirtualNetworkEncryptionPtrOutput() CommonVirtualNetworkEncryptionPtrOutput {
- return i.ToCommonVirtualNetworkEncryptionPtrOutputWithContext(context.Background())
-}
+// Cross tenant scopes.
+type CrossTenantScopesResponseOutput struct{ *pulumi.OutputState }
-func (i CommonVirtualNetworkEncryptionArgs) ToCommonVirtualNetworkEncryptionPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkEncryptionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkEncryptionOutput).ToCommonVirtualNetworkEncryptionPtrOutputWithContext(ctx)
+func (CrossTenantScopesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CrossTenantScopesResponse)(nil)).Elem()
}
-// CommonVirtualNetworkEncryptionPtrInput is an input type that accepts CommonVirtualNetworkEncryptionArgs, CommonVirtualNetworkEncryptionPtr and CommonVirtualNetworkEncryptionPtrOutput values.
-// You can construct a concrete instance of `CommonVirtualNetworkEncryptionPtrInput` via:
-//
-// CommonVirtualNetworkEncryptionArgs{...}
-//
-// or:
-//
-// nil
-type CommonVirtualNetworkEncryptionPtrInput interface {
- pulumi.Input
-
- ToCommonVirtualNetworkEncryptionPtrOutput() CommonVirtualNetworkEncryptionPtrOutput
- ToCommonVirtualNetworkEncryptionPtrOutputWithContext(context.Context) CommonVirtualNetworkEncryptionPtrOutput
+func (o CrossTenantScopesResponseOutput) ToCrossTenantScopesResponseOutput() CrossTenantScopesResponseOutput {
+ return o
}
-type commonVirtualNetworkEncryptionPtrType CommonVirtualNetworkEncryptionArgs
-
-func CommonVirtualNetworkEncryptionPtr(v *CommonVirtualNetworkEncryptionArgs) CommonVirtualNetworkEncryptionPtrInput {
- return (*commonVirtualNetworkEncryptionPtrType)(v)
+func (o CrossTenantScopesResponseOutput) ToCrossTenantScopesResponseOutputWithContext(ctx context.Context) CrossTenantScopesResponseOutput {
+ return o
}
-func (*commonVirtualNetworkEncryptionPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonVirtualNetworkEncryption)(nil)).Elem()
+// List of management groups.
+func (o CrossTenantScopesResponseOutput) ManagementGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CrossTenantScopesResponse) []string { return v.ManagementGroups }).(pulumi.StringArrayOutput)
}
-func (i *commonVirtualNetworkEncryptionPtrType) ToCommonVirtualNetworkEncryptionPtrOutput() CommonVirtualNetworkEncryptionPtrOutput {
- return i.ToCommonVirtualNetworkEncryptionPtrOutputWithContext(context.Background())
+// List of subscriptions.
+func (o CrossTenantScopesResponseOutput) Subscriptions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CrossTenantScopesResponse) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
}
-func (i *commonVirtualNetworkEncryptionPtrType) ToCommonVirtualNetworkEncryptionPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkEncryptionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkEncryptionPtrOutput)
+// Tenant ID.
+func (o CrossTenantScopesResponseOutput) TenantId() pulumi.StringOutput {
+ return o.ApplyT(func(v CrossTenantScopesResponse) string { return v.TenantId }).(pulumi.StringOutput)
}
-// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
-type CommonVirtualNetworkEncryptionOutput struct{ *pulumi.OutputState }
+type CrossTenantScopesResponseArrayOutput struct{ *pulumi.OutputState }
-func (CommonVirtualNetworkEncryptionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonVirtualNetworkEncryption)(nil)).Elem()
+func (CrossTenantScopesResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CrossTenantScopesResponse)(nil)).Elem()
}
-func (o CommonVirtualNetworkEncryptionOutput) ToCommonVirtualNetworkEncryptionOutput() CommonVirtualNetworkEncryptionOutput {
+func (o CrossTenantScopesResponseArrayOutput) ToCrossTenantScopesResponseArrayOutput() CrossTenantScopesResponseArrayOutput {
return o
}
-func (o CommonVirtualNetworkEncryptionOutput) ToCommonVirtualNetworkEncryptionOutputWithContext(ctx context.Context) CommonVirtualNetworkEncryptionOutput {
+func (o CrossTenantScopesResponseArrayOutput) ToCrossTenantScopesResponseArrayOutputWithContext(ctx context.Context) CrossTenantScopesResponseArrayOutput {
return o
}
-func (o CommonVirtualNetworkEncryptionOutput) ToCommonVirtualNetworkEncryptionPtrOutput() CommonVirtualNetworkEncryptionPtrOutput {
- return o.ToCommonVirtualNetworkEncryptionPtrOutputWithContext(context.Background())
+func (o CrossTenantScopesResponseArrayOutput) Index(i pulumi.IntInput) CrossTenantScopesResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) CrossTenantScopesResponse {
+ return vs[0].([]CrossTenantScopesResponse)[vs[1].(int)]
+ }).(CrossTenantScopesResponseOutput)
}
-func (o CommonVirtualNetworkEncryptionOutput) ToCommonVirtualNetworkEncryptionPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkEncryptionPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v CommonVirtualNetworkEncryption) *CommonVirtualNetworkEncryption {
- return &v
- }).(CommonVirtualNetworkEncryptionPtrOutput)
+// Contains custom Dns resolution configuration from customer.
+type CustomDnsConfigPropertiesFormat struct {
+ // Fqdn that resolves to private endpoint ip address.
+ Fqdn *string `pulumi:"fqdn"`
+ // A list of private ip addresses of the private endpoint.
+ IpAddresses []string `pulumi:"ipAddresses"`
}
-// Indicates if encryption is enabled on the virtual network.
-func (o CommonVirtualNetworkEncryptionOutput) Enabled() pulumi.BoolOutput {
- return o.ApplyT(func(v CommonVirtualNetworkEncryption) bool { return v.Enabled }).(pulumi.BoolOutput)
-}
+// CustomDnsConfigPropertiesFormatInput is an input type that accepts CustomDnsConfigPropertiesFormatArgs and CustomDnsConfigPropertiesFormatOutput values.
+// You can construct a concrete instance of `CustomDnsConfigPropertiesFormatInput` via:
+//
+// CustomDnsConfigPropertiesFormatArgs{...}
+type CustomDnsConfigPropertiesFormatInput interface {
+ pulumi.Input
-// If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
-func (o CommonVirtualNetworkEncryptionOutput) Enforcement() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkEncryption) *string { return v.Enforcement }).(pulumi.StringPtrOutput)
+ ToCustomDnsConfigPropertiesFormatOutput() CustomDnsConfigPropertiesFormatOutput
+ ToCustomDnsConfigPropertiesFormatOutputWithContext(context.Context) CustomDnsConfigPropertiesFormatOutput
}
-type CommonVirtualNetworkEncryptionPtrOutput struct{ *pulumi.OutputState }
+// Contains custom Dns resolution configuration from customer.
+type CustomDnsConfigPropertiesFormatArgs struct {
+ // Fqdn that resolves to private endpoint ip address.
+ Fqdn pulumi.StringPtrInput `pulumi:"fqdn"`
+ // A list of private ip addresses of the private endpoint.
+ IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"`
+}
-func (CommonVirtualNetworkEncryptionPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonVirtualNetworkEncryption)(nil)).Elem()
+func (CustomDnsConfigPropertiesFormatArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*CustomDnsConfigPropertiesFormat)(nil)).Elem()
}
-func (o CommonVirtualNetworkEncryptionPtrOutput) ToCommonVirtualNetworkEncryptionPtrOutput() CommonVirtualNetworkEncryptionPtrOutput {
- return o
+func (i CustomDnsConfigPropertiesFormatArgs) ToCustomDnsConfigPropertiesFormatOutput() CustomDnsConfigPropertiesFormatOutput {
+ return i.ToCustomDnsConfigPropertiesFormatOutputWithContext(context.Background())
}
-func (o CommonVirtualNetworkEncryptionPtrOutput) ToCommonVirtualNetworkEncryptionPtrOutputWithContext(ctx context.Context) CommonVirtualNetworkEncryptionPtrOutput {
- return o
+func (i CustomDnsConfigPropertiesFormatArgs) ToCustomDnsConfigPropertiesFormatOutputWithContext(ctx context.Context) CustomDnsConfigPropertiesFormatOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CustomDnsConfigPropertiesFormatOutput)
}
-func (o CommonVirtualNetworkEncryptionPtrOutput) Elem() CommonVirtualNetworkEncryptionOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkEncryption) CommonVirtualNetworkEncryption {
- if v != nil {
- return *v
- }
- var ret CommonVirtualNetworkEncryption
- return ret
- }).(CommonVirtualNetworkEncryptionOutput)
+// CustomDnsConfigPropertiesFormatArrayInput is an input type that accepts CustomDnsConfigPropertiesFormatArray and CustomDnsConfigPropertiesFormatArrayOutput values.
+// You can construct a concrete instance of `CustomDnsConfigPropertiesFormatArrayInput` via:
+//
+// CustomDnsConfigPropertiesFormatArray{ CustomDnsConfigPropertiesFormatArgs{...} }
+type CustomDnsConfigPropertiesFormatArrayInput interface {
+ pulumi.Input
+
+ ToCustomDnsConfigPropertiesFormatArrayOutput() CustomDnsConfigPropertiesFormatArrayOutput
+ ToCustomDnsConfigPropertiesFormatArrayOutputWithContext(context.Context) CustomDnsConfigPropertiesFormatArrayOutput
}
-// Indicates if encryption is enabled on the virtual network.
-func (o CommonVirtualNetworkEncryptionPtrOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkEncryption) *bool {
- if v == nil {
- return nil
- }
- return &v.Enabled
- }).(pulumi.BoolPtrOutput)
+type CustomDnsConfigPropertiesFormatArray []CustomDnsConfigPropertiesFormatInput
+
+func (CustomDnsConfigPropertiesFormatArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CustomDnsConfigPropertiesFormat)(nil)).Elem()
}
-// If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
-func (o CommonVirtualNetworkEncryptionPtrOutput) Enforcement() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkEncryption) *string {
- if v == nil {
- return nil
- }
- return v.Enforcement
- }).(pulumi.StringPtrOutput)
+func (i CustomDnsConfigPropertiesFormatArray) ToCustomDnsConfigPropertiesFormatArrayOutput() CustomDnsConfigPropertiesFormatArrayOutput {
+ return i.ToCustomDnsConfigPropertiesFormatArrayOutputWithContext(context.Background())
}
-// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
-type CommonVirtualNetworkEncryptionResponse struct {
- // Indicates if encryption is enabled on the virtual network.
- Enabled bool `pulumi:"enabled"`
- // If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
- Enforcement *string `pulumi:"enforcement"`
+func (i CustomDnsConfigPropertiesFormatArray) ToCustomDnsConfigPropertiesFormatArrayOutputWithContext(ctx context.Context) CustomDnsConfigPropertiesFormatArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(CustomDnsConfigPropertiesFormatArrayOutput)
}
-// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
-type CommonVirtualNetworkEncryptionResponseOutput struct{ *pulumi.OutputState }
+// Contains custom Dns resolution configuration from customer.
+type CustomDnsConfigPropertiesFormatOutput struct{ *pulumi.OutputState }
-func (CommonVirtualNetworkEncryptionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonVirtualNetworkEncryptionResponse)(nil)).Elem()
+func (CustomDnsConfigPropertiesFormatOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CustomDnsConfigPropertiesFormat)(nil)).Elem()
}
-func (o CommonVirtualNetworkEncryptionResponseOutput) ToCommonVirtualNetworkEncryptionResponseOutput() CommonVirtualNetworkEncryptionResponseOutput {
+func (o CustomDnsConfigPropertiesFormatOutput) ToCustomDnsConfigPropertiesFormatOutput() CustomDnsConfigPropertiesFormatOutput {
return o
}
-func (o CommonVirtualNetworkEncryptionResponseOutput) ToCommonVirtualNetworkEncryptionResponseOutputWithContext(ctx context.Context) CommonVirtualNetworkEncryptionResponseOutput {
+func (o CustomDnsConfigPropertiesFormatOutput) ToCustomDnsConfigPropertiesFormatOutputWithContext(ctx context.Context) CustomDnsConfigPropertiesFormatOutput {
return o
}
-// Indicates if encryption is enabled on the virtual network.
-func (o CommonVirtualNetworkEncryptionResponseOutput) Enabled() pulumi.BoolOutput {
- return o.ApplyT(func(v CommonVirtualNetworkEncryptionResponse) bool { return v.Enabled }).(pulumi.BoolOutput)
+// Fqdn that resolves to private endpoint ip address.
+func (o CustomDnsConfigPropertiesFormatOutput) Fqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CustomDnsConfigPropertiesFormat) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
}
-// If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
-func (o CommonVirtualNetworkEncryptionResponseOutput) Enforcement() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkEncryptionResponse) *string { return v.Enforcement }).(pulumi.StringPtrOutput)
+// A list of private ip addresses of the private endpoint.
+func (o CustomDnsConfigPropertiesFormatOutput) IpAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CustomDnsConfigPropertiesFormat) []string { return v.IpAddresses }).(pulumi.StringArrayOutput)
}
-type CommonVirtualNetworkEncryptionResponsePtrOutput struct{ *pulumi.OutputState }
+type CustomDnsConfigPropertiesFormatArrayOutput struct{ *pulumi.OutputState }
-func (CommonVirtualNetworkEncryptionResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonVirtualNetworkEncryptionResponse)(nil)).Elem()
+func (CustomDnsConfigPropertiesFormatArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CustomDnsConfigPropertiesFormat)(nil)).Elem()
}
-func (o CommonVirtualNetworkEncryptionResponsePtrOutput) ToCommonVirtualNetworkEncryptionResponsePtrOutput() CommonVirtualNetworkEncryptionResponsePtrOutput {
+func (o CustomDnsConfigPropertiesFormatArrayOutput) ToCustomDnsConfigPropertiesFormatArrayOutput() CustomDnsConfigPropertiesFormatArrayOutput {
return o
}
-func (o CommonVirtualNetworkEncryptionResponsePtrOutput) ToCommonVirtualNetworkEncryptionResponsePtrOutputWithContext(ctx context.Context) CommonVirtualNetworkEncryptionResponsePtrOutput {
+func (o CustomDnsConfigPropertiesFormatArrayOutput) ToCustomDnsConfigPropertiesFormatArrayOutputWithContext(ctx context.Context) CustomDnsConfigPropertiesFormatArrayOutput {
return o
}
-func (o CommonVirtualNetworkEncryptionResponsePtrOutput) Elem() CommonVirtualNetworkEncryptionResponseOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkEncryptionResponse) CommonVirtualNetworkEncryptionResponse {
- if v != nil {
- return *v
- }
- var ret CommonVirtualNetworkEncryptionResponse
- return ret
- }).(CommonVirtualNetworkEncryptionResponseOutput)
+func (o CustomDnsConfigPropertiesFormatArrayOutput) Index(i pulumi.IntInput) CustomDnsConfigPropertiesFormatOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomDnsConfigPropertiesFormat {
+ return vs[0].([]CustomDnsConfigPropertiesFormat)[vs[1].(int)]
+ }).(CustomDnsConfigPropertiesFormatOutput)
}
-// Indicates if encryption is enabled on the virtual network.
-func (o CommonVirtualNetworkEncryptionResponsePtrOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkEncryptionResponse) *bool {
- if v == nil {
- return nil
- }
- return &v.Enabled
- }).(pulumi.BoolPtrOutput)
+// Contains custom Dns resolution configuration from customer.
+type CustomDnsConfigPropertiesFormatResponse struct {
+ // Fqdn that resolves to private endpoint ip address.
+ Fqdn *string `pulumi:"fqdn"`
+ // A list of private ip addresses of the private endpoint.
+ IpAddresses []string `pulumi:"ipAddresses"`
}
-// If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
-func (o CommonVirtualNetworkEncryptionResponsePtrOutput) Enforcement() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkEncryptionResponse) *string {
- if v == nil {
- return nil
- }
- return v.Enforcement
- }).(pulumi.StringPtrOutput)
+// Contains custom Dns resolution configuration from customer.
+type CustomDnsConfigPropertiesFormatResponseOutput struct{ *pulumi.OutputState }
+
+func (CustomDnsConfigPropertiesFormatResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*CustomDnsConfigPropertiesFormatResponse)(nil)).Elem()
}
-// Peerings in a virtual network resource.
-type CommonVirtualNetworkPeering struct {
- // Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
- AllowForwardedTraffic *bool `pulumi:"allowForwardedTraffic"`
- // If gateway links can be used in remote virtual networking to link to this virtual network.
- AllowGatewayTransit *bool `pulumi:"allowGatewayTransit"`
- // Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
- AllowVirtualNetworkAccess *bool `pulumi:"allowVirtualNetworkAccess"`
- // If we need to verify the provisioning state of the remote gateway.
- DoNotVerifyRemoteGateways *bool `pulumi:"doNotVerifyRemoteGateways"`
- // Whether only Ipv6 address space is peered for subnet peering.
- EnableOnlyIPv6Peering *bool `pulumi:"enableOnlyIPv6Peering"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The local address space of the local virtual network that is peered.
- LocalAddressSpace *CommonAddressSpace `pulumi:"localAddressSpace"`
- // List of local subnet names that are subnet peered with remote virtual network.
- LocalSubnetNames []string `pulumi:"localSubnetNames"`
- // The current local address space of the local virtual network that is peered.
- LocalVirtualNetworkAddressSpace *CommonAddressSpace `pulumi:"localVirtualNetworkAddressSpace"`
- // Name of the resource.
- Name *string `pulumi:"name"`
- // Whether complete virtual network address space is peered.
- PeerCompleteVnets *bool `pulumi:"peerCompleteVnets"`
- // The status of the virtual network peering.
- PeeringState *string `pulumi:"peeringState"`
- // The peering sync status of the virtual network peering.
- PeeringSyncLevel *string `pulumi:"peeringSyncLevel"`
- // The reference to the address space peered with the remote virtual network.
- RemoteAddressSpace *CommonAddressSpace `pulumi:"remoteAddressSpace"`
- // The reference to the remote virtual network's Bgp Communities.
- RemoteBgpCommunities *CommonVirtualNetworkBgpCommunities `pulumi:"remoteBgpCommunities"`
- // List of remote subnet names from remote virtual network that are subnet peered.
- RemoteSubnetNames []string `pulumi:"remoteSubnetNames"`
- // The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
- RemoteVirtualNetwork *CommonSubResource `pulumi:"remoteVirtualNetwork"`
- // The reference to the current address space of the remote virtual network.
- RemoteVirtualNetworkAddressSpace *CommonAddressSpace `pulumi:"remoteVirtualNetworkAddressSpace"`
- // If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
- UseRemoteGateways *bool `pulumi:"useRemoteGateways"`
+func (o CustomDnsConfigPropertiesFormatResponseOutput) ToCustomDnsConfigPropertiesFormatResponseOutput() CustomDnsConfigPropertiesFormatResponseOutput {
+ return o
}
-// CommonVirtualNetworkPeeringInput is an input type that accepts CommonVirtualNetworkPeeringArgs and CommonVirtualNetworkPeeringOutput values.
-// You can construct a concrete instance of `CommonVirtualNetworkPeeringInput` via:
-//
-// CommonVirtualNetworkPeeringArgs{...}
-type CommonVirtualNetworkPeeringInput interface {
- pulumi.Input
+func (o CustomDnsConfigPropertiesFormatResponseOutput) ToCustomDnsConfigPropertiesFormatResponseOutputWithContext(ctx context.Context) CustomDnsConfigPropertiesFormatResponseOutput {
+ return o
+}
- ToCommonVirtualNetworkPeeringOutput() CommonVirtualNetworkPeeringOutput
- ToCommonVirtualNetworkPeeringOutputWithContext(context.Context) CommonVirtualNetworkPeeringOutput
+// Fqdn that resolves to private endpoint ip address.
+func (o CustomDnsConfigPropertiesFormatResponseOutput) Fqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v CustomDnsConfigPropertiesFormatResponse) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
}
-// Peerings in a virtual network resource.
-type CommonVirtualNetworkPeeringArgs struct {
- // Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
- AllowForwardedTraffic pulumi.BoolPtrInput `pulumi:"allowForwardedTraffic"`
- // If gateway links can be used in remote virtual networking to link to this virtual network.
- AllowGatewayTransit pulumi.BoolPtrInput `pulumi:"allowGatewayTransit"`
- // Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
- AllowVirtualNetworkAccess pulumi.BoolPtrInput `pulumi:"allowVirtualNetworkAccess"`
- // If we need to verify the provisioning state of the remote gateway.
- DoNotVerifyRemoteGateways pulumi.BoolPtrInput `pulumi:"doNotVerifyRemoteGateways"`
- // Whether only Ipv6 address space is peered for subnet peering.
- EnableOnlyIPv6Peering pulumi.BoolPtrInput `pulumi:"enableOnlyIPv6Peering"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The local address space of the local virtual network that is peered.
- LocalAddressSpace CommonAddressSpacePtrInput `pulumi:"localAddressSpace"`
- // List of local subnet names that are subnet peered with remote virtual network.
- LocalSubnetNames pulumi.StringArrayInput `pulumi:"localSubnetNames"`
- // The current local address space of the local virtual network that is peered.
- LocalVirtualNetworkAddressSpace CommonAddressSpacePtrInput `pulumi:"localVirtualNetworkAddressSpace"`
- // Name of the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Whether complete virtual network address space is peered.
- PeerCompleteVnets pulumi.BoolPtrInput `pulumi:"peerCompleteVnets"`
- // The status of the virtual network peering.
- PeeringState pulumi.StringPtrInput `pulumi:"peeringState"`
- // The peering sync status of the virtual network peering.
- PeeringSyncLevel pulumi.StringPtrInput `pulumi:"peeringSyncLevel"`
- // The reference to the address space peered with the remote virtual network.
- RemoteAddressSpace CommonAddressSpacePtrInput `pulumi:"remoteAddressSpace"`
- // The reference to the remote virtual network's Bgp Communities.
- RemoteBgpCommunities CommonVirtualNetworkBgpCommunitiesPtrInput `pulumi:"remoteBgpCommunities"`
- // List of remote subnet names from remote virtual network that are subnet peered.
- RemoteSubnetNames pulumi.StringArrayInput `pulumi:"remoteSubnetNames"`
- // The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
- RemoteVirtualNetwork CommonSubResourcePtrInput `pulumi:"remoteVirtualNetwork"`
- // The reference to the current address space of the remote virtual network.
- RemoteVirtualNetworkAddressSpace CommonAddressSpacePtrInput `pulumi:"remoteVirtualNetworkAddressSpace"`
- // If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
- UseRemoteGateways pulumi.BoolPtrInput `pulumi:"useRemoteGateways"`
+// A list of private ip addresses of the private endpoint.
+func (o CustomDnsConfigPropertiesFormatResponseOutput) IpAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v CustomDnsConfigPropertiesFormatResponse) []string { return v.IpAddresses }).(pulumi.StringArrayOutput)
}
-func (CommonVirtualNetworkPeeringArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonVirtualNetworkPeering)(nil)).Elem()
+type CustomDnsConfigPropertiesFormatResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (CustomDnsConfigPropertiesFormatResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]CustomDnsConfigPropertiesFormatResponse)(nil)).Elem()
}
-func (i CommonVirtualNetworkPeeringArgs) ToCommonVirtualNetworkPeeringOutput() CommonVirtualNetworkPeeringOutput {
- return i.ToCommonVirtualNetworkPeeringOutputWithContext(context.Background())
+func (o CustomDnsConfigPropertiesFormatResponseArrayOutput) ToCustomDnsConfigPropertiesFormatResponseArrayOutput() CustomDnsConfigPropertiesFormatResponseArrayOutput {
+ return o
}
-func (i CommonVirtualNetworkPeeringArgs) ToCommonVirtualNetworkPeeringOutputWithContext(ctx context.Context) CommonVirtualNetworkPeeringOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkPeeringOutput)
+func (o CustomDnsConfigPropertiesFormatResponseArrayOutput) ToCustomDnsConfigPropertiesFormatResponseArrayOutputWithContext(ctx context.Context) CustomDnsConfigPropertiesFormatResponseArrayOutput {
+ return o
}
-// CommonVirtualNetworkPeeringArrayInput is an input type that accepts CommonVirtualNetworkPeeringArray and CommonVirtualNetworkPeeringArrayOutput values.
-// You can construct a concrete instance of `CommonVirtualNetworkPeeringArrayInput` via:
-//
-// CommonVirtualNetworkPeeringArray{ CommonVirtualNetworkPeeringArgs{...} }
-type CommonVirtualNetworkPeeringArrayInput interface {
- pulumi.Input
+func (o CustomDnsConfigPropertiesFormatResponseArrayOutput) Index(i pulumi.IntInput) CustomDnsConfigPropertiesFormatResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomDnsConfigPropertiesFormatResponse {
+ return vs[0].([]CustomDnsConfigPropertiesFormatResponse)[vs[1].(int)]
+ }).(CustomDnsConfigPropertiesFormatResponseOutput)
+}
- ToCommonVirtualNetworkPeeringArrayOutput() CommonVirtualNetworkPeeringArrayOutput
- ToCommonVirtualNetworkPeeringArrayOutputWithContext(context.Context) CommonVirtualNetworkPeeringArrayOutput
+// Contains the DDoS protection settings of the public IP.
+type DdosSettings struct {
+ // The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
+ DdosProtectionPlan *SubResource `pulumi:"ddosProtectionPlan"`
+ // The DDoS protection mode of the public IP
+ ProtectionMode *string `pulumi:"protectionMode"`
}
-type CommonVirtualNetworkPeeringArray []CommonVirtualNetworkPeeringInput
+// DdosSettingsInput is an input type that accepts DdosSettingsArgs and DdosSettingsOutput values.
+// You can construct a concrete instance of `DdosSettingsInput` via:
+//
+// DdosSettingsArgs{...}
+type DdosSettingsInput interface {
+ pulumi.Input
-func (CommonVirtualNetworkPeeringArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonVirtualNetworkPeering)(nil)).Elem()
+ ToDdosSettingsOutput() DdosSettingsOutput
+ ToDdosSettingsOutputWithContext(context.Context) DdosSettingsOutput
}
-func (i CommonVirtualNetworkPeeringArray) ToCommonVirtualNetworkPeeringArrayOutput() CommonVirtualNetworkPeeringArrayOutput {
- return i.ToCommonVirtualNetworkPeeringArrayOutputWithContext(context.Background())
+// Contains the DDoS protection settings of the public IP.
+type DdosSettingsArgs struct {
+ // The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
+ DdosProtectionPlan SubResourcePtrInput `pulumi:"ddosProtectionPlan"`
+ // The DDoS protection mode of the public IP
+ ProtectionMode pulumi.StringPtrInput `pulumi:"protectionMode"`
}
-func (i CommonVirtualNetworkPeeringArray) ToCommonVirtualNetworkPeeringArrayOutputWithContext(ctx context.Context) CommonVirtualNetworkPeeringArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CommonVirtualNetworkPeeringArrayOutput)
+func (DdosSettingsArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*DdosSettings)(nil)).Elem()
}
-// Peerings in a virtual network resource.
-type CommonVirtualNetworkPeeringOutput struct{ *pulumi.OutputState }
+func (i DdosSettingsArgs) ToDdosSettingsOutput() DdosSettingsOutput {
+ return i.ToDdosSettingsOutputWithContext(context.Background())
+}
-func (CommonVirtualNetworkPeeringOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonVirtualNetworkPeering)(nil)).Elem()
+func (i DdosSettingsArgs) ToDdosSettingsOutputWithContext(ctx context.Context) DdosSettingsOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DdosSettingsOutput)
}
-func (o CommonVirtualNetworkPeeringOutput) ToCommonVirtualNetworkPeeringOutput() CommonVirtualNetworkPeeringOutput {
- return o
+func (i DdosSettingsArgs) ToDdosSettingsPtrOutput() DdosSettingsPtrOutput {
+ return i.ToDdosSettingsPtrOutputWithContext(context.Background())
}
-func (o CommonVirtualNetworkPeeringOutput) ToCommonVirtualNetworkPeeringOutputWithContext(ctx context.Context) CommonVirtualNetworkPeeringOutput {
- return o
+func (i DdosSettingsArgs) ToDdosSettingsPtrOutputWithContext(ctx context.Context) DdosSettingsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DdosSettingsOutput).ToDdosSettingsPtrOutputWithContext(ctx)
}
-// Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
-func (o CommonVirtualNetworkPeeringOutput) AllowForwardedTraffic() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *bool { return v.AllowForwardedTraffic }).(pulumi.BoolPtrOutput)
+// DdosSettingsPtrInput is an input type that accepts DdosSettingsArgs, DdosSettingsPtr and DdosSettingsPtrOutput values.
+// You can construct a concrete instance of `DdosSettingsPtrInput` via:
+//
+// DdosSettingsArgs{...}
+//
+// or:
+//
+// nil
+type DdosSettingsPtrInput interface {
+ pulumi.Input
+
+ ToDdosSettingsPtrOutput() DdosSettingsPtrOutput
+ ToDdosSettingsPtrOutputWithContext(context.Context) DdosSettingsPtrOutput
}
-// If gateway links can be used in remote virtual networking to link to this virtual network.
-func (o CommonVirtualNetworkPeeringOutput) AllowGatewayTransit() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *bool { return v.AllowGatewayTransit }).(pulumi.BoolPtrOutput)
+type ddosSettingsPtrType DdosSettingsArgs
+
+func DdosSettingsPtr(v *DdosSettingsArgs) DdosSettingsPtrInput {
+ return (*ddosSettingsPtrType)(v)
}
-// Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
-func (o CommonVirtualNetworkPeeringOutput) AllowVirtualNetworkAccess() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *bool { return v.AllowVirtualNetworkAccess }).(pulumi.BoolPtrOutput)
+func (*ddosSettingsPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**DdosSettings)(nil)).Elem()
}
-// If we need to verify the provisioning state of the remote gateway.
-func (o CommonVirtualNetworkPeeringOutput) DoNotVerifyRemoteGateways() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *bool { return v.DoNotVerifyRemoteGateways }).(pulumi.BoolPtrOutput)
+func (i *ddosSettingsPtrType) ToDdosSettingsPtrOutput() DdosSettingsPtrOutput {
+ return i.ToDdosSettingsPtrOutputWithContext(context.Background())
}
-// Whether only Ipv6 address space is peered for subnet peering.
-func (o CommonVirtualNetworkPeeringOutput) EnableOnlyIPv6Peering() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *bool { return v.EnableOnlyIPv6Peering }).(pulumi.BoolPtrOutput)
+func (i *ddosSettingsPtrType) ToDdosSettingsPtrOutputWithContext(ctx context.Context) DdosSettingsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DdosSettingsPtrOutput)
}
-// Resource ID.
-func (o CommonVirtualNetworkPeeringOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Contains the DDoS protection settings of the public IP.
+type DdosSettingsOutput struct{ *pulumi.OutputState }
+
+func (DdosSettingsOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*DdosSettings)(nil)).Elem()
}
-// The local address space of the local virtual network that is peered.
-func (o CommonVirtualNetworkPeeringOutput) LocalAddressSpace() CommonAddressSpacePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *CommonAddressSpace { return v.LocalAddressSpace }).(CommonAddressSpacePtrOutput)
+func (o DdosSettingsOutput) ToDdosSettingsOutput() DdosSettingsOutput {
+ return o
}
-// List of local subnet names that are subnet peered with remote virtual network.
-func (o CommonVirtualNetworkPeeringOutput) LocalSubnetNames() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) []string { return v.LocalSubnetNames }).(pulumi.StringArrayOutput)
+func (o DdosSettingsOutput) ToDdosSettingsOutputWithContext(ctx context.Context) DdosSettingsOutput {
+ return o
}
-// The current local address space of the local virtual network that is peered.
-func (o CommonVirtualNetworkPeeringOutput) LocalVirtualNetworkAddressSpace() CommonAddressSpacePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *CommonAddressSpace { return v.LocalVirtualNetworkAddressSpace }).(CommonAddressSpacePtrOutput)
+func (o DdosSettingsOutput) ToDdosSettingsPtrOutput() DdosSettingsPtrOutput {
+ return o.ToDdosSettingsPtrOutputWithContext(context.Background())
}
-// Name of the resource.
-func (o CommonVirtualNetworkPeeringOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o DdosSettingsOutput) ToDdosSettingsPtrOutputWithContext(ctx context.Context) DdosSettingsPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v DdosSettings) *DdosSettings {
+ return &v
+ }).(DdosSettingsPtrOutput)
}
-// Whether complete virtual network address space is peered.
-func (o CommonVirtualNetworkPeeringOutput) PeerCompleteVnets() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *bool { return v.PeerCompleteVnets }).(pulumi.BoolPtrOutput)
+// The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
+func (o DdosSettingsOutput) DdosProtectionPlan() SubResourcePtrOutput {
+ return o.ApplyT(func(v DdosSettings) *SubResource { return v.DdosProtectionPlan }).(SubResourcePtrOutput)
}
-// The status of the virtual network peering.
-func (o CommonVirtualNetworkPeeringOutput) PeeringState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *string { return v.PeeringState }).(pulumi.StringPtrOutput)
+// The DDoS protection mode of the public IP
+func (o DdosSettingsOutput) ProtectionMode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DdosSettings) *string { return v.ProtectionMode }).(pulumi.StringPtrOutput)
}
-// The peering sync status of the virtual network peering.
-func (o CommonVirtualNetworkPeeringOutput) PeeringSyncLevel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *string { return v.PeeringSyncLevel }).(pulumi.StringPtrOutput)
+type DdosSettingsPtrOutput struct{ *pulumi.OutputState }
+
+func (DdosSettingsPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**DdosSettings)(nil)).Elem()
}
-// The reference to the address space peered with the remote virtual network.
-func (o CommonVirtualNetworkPeeringOutput) RemoteAddressSpace() CommonAddressSpacePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *CommonAddressSpace { return v.RemoteAddressSpace }).(CommonAddressSpacePtrOutput)
+func (o DdosSettingsPtrOutput) ToDdosSettingsPtrOutput() DdosSettingsPtrOutput {
+ return o
}
-// The reference to the remote virtual network's Bgp Communities.
-func (o CommonVirtualNetworkPeeringOutput) RemoteBgpCommunities() CommonVirtualNetworkBgpCommunitiesPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *CommonVirtualNetworkBgpCommunities { return v.RemoteBgpCommunities }).(CommonVirtualNetworkBgpCommunitiesPtrOutput)
+func (o DdosSettingsPtrOutput) ToDdosSettingsPtrOutputWithContext(ctx context.Context) DdosSettingsPtrOutput {
+ return o
}
-// List of remote subnet names from remote virtual network that are subnet peered.
-func (o CommonVirtualNetworkPeeringOutput) RemoteSubnetNames() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) []string { return v.RemoteSubnetNames }).(pulumi.StringArrayOutput)
+func (o DdosSettingsPtrOutput) Elem() DdosSettingsOutput {
+ return o.ApplyT(func(v *DdosSettings) DdosSettings {
+ if v != nil {
+ return *v
+ }
+ var ret DdosSettings
+ return ret
+ }).(DdosSettingsOutput)
}
-// The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
-func (o CommonVirtualNetworkPeeringOutput) RemoteVirtualNetwork() CommonSubResourcePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *CommonSubResource { return v.RemoteVirtualNetwork }).(CommonSubResourcePtrOutput)
+// The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
+func (o DdosSettingsPtrOutput) DdosProtectionPlan() SubResourcePtrOutput {
+ return o.ApplyT(func(v *DdosSettings) *SubResource {
+ if v == nil {
+ return nil
+ }
+ return v.DdosProtectionPlan
+ }).(SubResourcePtrOutput)
}
-// The reference to the current address space of the remote virtual network.
-func (o CommonVirtualNetworkPeeringOutput) RemoteVirtualNetworkAddressSpace() CommonAddressSpacePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *CommonAddressSpace { return v.RemoteVirtualNetworkAddressSpace }).(CommonAddressSpacePtrOutput)
+// The DDoS protection mode of the public IP
+func (o DdosSettingsPtrOutput) ProtectionMode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *DdosSettings) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ProtectionMode
+ }).(pulumi.StringPtrOutput)
}
-// If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
-func (o CommonVirtualNetworkPeeringOutput) UseRemoteGateways() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeering) *bool { return v.UseRemoteGateways }).(pulumi.BoolPtrOutput)
+// Contains the DDoS protection settings of the public IP.
+type DdosSettingsInterfaceEndpointResponse struct {
+ // The DDoS custom policy associated with the public IP.
+ DdosCustomPolicy *SubResourceResponse `pulumi:"ddosCustomPolicy"`
+ // The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.
+ ProtectionCoverage *string `pulumi:"protectionCoverage"`
}
-type CommonVirtualNetworkPeeringArrayOutput struct{ *pulumi.OutputState }
+// Contains the DDoS protection settings of the public IP.
+type DdosSettingsInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
-func (CommonVirtualNetworkPeeringArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonVirtualNetworkPeering)(nil)).Elem()
+func (DdosSettingsInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*DdosSettingsInterfaceEndpointResponse)(nil)).Elem()
}
-func (o CommonVirtualNetworkPeeringArrayOutput) ToCommonVirtualNetworkPeeringArrayOutput() CommonVirtualNetworkPeeringArrayOutput {
+func (o DdosSettingsInterfaceEndpointResponseOutput) ToDdosSettingsInterfaceEndpointResponseOutput() DdosSettingsInterfaceEndpointResponseOutput {
return o
}
-func (o CommonVirtualNetworkPeeringArrayOutput) ToCommonVirtualNetworkPeeringArrayOutputWithContext(ctx context.Context) CommonVirtualNetworkPeeringArrayOutput {
+func (o DdosSettingsInterfaceEndpointResponseOutput) ToDdosSettingsInterfaceEndpointResponseOutputWithContext(ctx context.Context) DdosSettingsInterfaceEndpointResponseOutput {
return o
}
-func (o CommonVirtualNetworkPeeringArrayOutput) Index(i pulumi.IntInput) CommonVirtualNetworkPeeringOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonVirtualNetworkPeering {
- return vs[0].([]CommonVirtualNetworkPeering)[vs[1].(int)]
- }).(CommonVirtualNetworkPeeringOutput)
+// The DDoS custom policy associated with the public IP.
+func (o DdosSettingsInterfaceEndpointResponseOutput) DdosCustomPolicy() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v DdosSettingsInterfaceEndpointResponse) *SubResourceResponse { return v.DdosCustomPolicy }).(SubResourceResponsePtrOutput)
}
-// Peerings in a virtual network resource.
-type CommonVirtualNetworkPeeringResponse struct {
- // Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
- AllowForwardedTraffic *bool `pulumi:"allowForwardedTraffic"`
- // If gateway links can be used in remote virtual networking to link to this virtual network.
- AllowGatewayTransit *bool `pulumi:"allowGatewayTransit"`
- // Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
- AllowVirtualNetworkAccess *bool `pulumi:"allowVirtualNetworkAccess"`
- // If we need to verify the provisioning state of the remote gateway.
- DoNotVerifyRemoteGateways *bool `pulumi:"doNotVerifyRemoteGateways"`
- // Whether only Ipv6 address space is peered for subnet peering.
- EnableOnlyIPv6Peering *bool `pulumi:"enableOnlyIPv6Peering"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The local address space of the local virtual network that is peered.
- LocalAddressSpace *CommonAddressSpaceResponse `pulumi:"localAddressSpace"`
- // List of local subnet names that are subnet peered with remote virtual network.
- LocalSubnetNames []string `pulumi:"localSubnetNames"`
- // The current local address space of the local virtual network that is peered.
- LocalVirtualNetworkAddressSpace *CommonAddressSpaceResponse `pulumi:"localVirtualNetworkAddressSpace"`
- // Name of the resource.
- Name *string `pulumi:"name"`
- // Whether complete virtual network address space is peered.
- PeerCompleteVnets *bool `pulumi:"peerCompleteVnets"`
- // The status of the virtual network peering.
- PeeringState *string `pulumi:"peeringState"`
- // The peering sync status of the virtual network peering.
- PeeringSyncLevel *string `pulumi:"peeringSyncLevel"`
- // The provisioning state of the virtual network peering resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The reference to the address space peered with the remote virtual network.
- RemoteAddressSpace *CommonAddressSpaceResponse `pulumi:"remoteAddressSpace"`
- // The reference to the remote virtual network's Bgp Communities.
- RemoteBgpCommunities *CommonVirtualNetworkBgpCommunitiesResponse `pulumi:"remoteBgpCommunities"`
- // List of remote subnet names from remote virtual network that are subnet peered.
- RemoteSubnetNames []string `pulumi:"remoteSubnetNames"`
- // The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
- RemoteVirtualNetwork *CommonSubResourceResponse `pulumi:"remoteVirtualNetwork"`
- // The reference to the current address space of the remote virtual network.
- RemoteVirtualNetworkAddressSpace *CommonAddressSpaceResponse `pulumi:"remoteVirtualNetworkAddressSpace"`
- // The reference to the remote virtual network's encryption
- RemoteVirtualNetworkEncryption CommonVirtualNetworkEncryptionResponse `pulumi:"remoteVirtualNetworkEncryption"`
- // The resourceGuid property of the Virtual Network peering resource.
- ResourceGuid string `pulumi:"resourceGuid"`
- // Resource type.
- Type string `pulumi:"type"`
- // If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
- UseRemoteGateways *bool `pulumi:"useRemoteGateways"`
+// The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.
+func (o DdosSettingsInterfaceEndpointResponseOutput) ProtectionCoverage() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DdosSettingsInterfaceEndpointResponse) *string { return v.ProtectionCoverage }).(pulumi.StringPtrOutput)
}
-// Peerings in a virtual network resource.
-type CommonVirtualNetworkPeeringResponseOutput struct{ *pulumi.OutputState }
+type DdosSettingsInterfaceEndpointResponsePtrOutput struct{ *pulumi.OutputState }
-func (CommonVirtualNetworkPeeringResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonVirtualNetworkPeeringResponse)(nil)).Elem()
+func (DdosSettingsInterfaceEndpointResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**DdosSettingsInterfaceEndpointResponse)(nil)).Elem()
}
-func (o CommonVirtualNetworkPeeringResponseOutput) ToCommonVirtualNetworkPeeringResponseOutput() CommonVirtualNetworkPeeringResponseOutput {
+func (o DdosSettingsInterfaceEndpointResponsePtrOutput) ToDdosSettingsInterfaceEndpointResponsePtrOutput() DdosSettingsInterfaceEndpointResponsePtrOutput {
return o
}
-func (o CommonVirtualNetworkPeeringResponseOutput) ToCommonVirtualNetworkPeeringResponseOutputWithContext(ctx context.Context) CommonVirtualNetworkPeeringResponseOutput {
+func (o DdosSettingsInterfaceEndpointResponsePtrOutput) ToDdosSettingsInterfaceEndpointResponsePtrOutputWithContext(ctx context.Context) DdosSettingsInterfaceEndpointResponsePtrOutput {
return o
}
-// Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
-func (o CommonVirtualNetworkPeeringResponseOutput) AllowForwardedTraffic() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *bool { return v.AllowForwardedTraffic }).(pulumi.BoolPtrOutput)
+func (o DdosSettingsInterfaceEndpointResponsePtrOutput) Elem() DdosSettingsInterfaceEndpointResponseOutput {
+ return o.ApplyT(func(v *DdosSettingsInterfaceEndpointResponse) DdosSettingsInterfaceEndpointResponse {
+ if v != nil {
+ return *v
+ }
+ var ret DdosSettingsInterfaceEndpointResponse
+ return ret
+ }).(DdosSettingsInterfaceEndpointResponseOutput)
}
-// If gateway links can be used in remote virtual networking to link to this virtual network.
-func (o CommonVirtualNetworkPeeringResponseOutput) AllowGatewayTransit() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *bool { return v.AllowGatewayTransit }).(pulumi.BoolPtrOutput)
+// The DDoS custom policy associated with the public IP.
+func (o DdosSettingsInterfaceEndpointResponsePtrOutput) DdosCustomPolicy() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *DdosSettingsInterfaceEndpointResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DdosCustomPolicy
+ }).(SubResourceResponsePtrOutput)
}
-// Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
-func (o CommonVirtualNetworkPeeringResponseOutput) AllowVirtualNetworkAccess() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *bool { return v.AllowVirtualNetworkAccess }).(pulumi.BoolPtrOutput)
+// The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.
+func (o DdosSettingsInterfaceEndpointResponsePtrOutput) ProtectionCoverage() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *DdosSettingsInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ProtectionCoverage
+ }).(pulumi.StringPtrOutput)
}
-// If we need to verify the provisioning state of the remote gateway.
-func (o CommonVirtualNetworkPeeringResponseOutput) DoNotVerifyRemoteGateways() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *bool { return v.DoNotVerifyRemoteGateways }).(pulumi.BoolPtrOutput)
+// Contains the DDoS protection settings of the public IP.
+type DdosSettingsResponse struct {
+ // The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
+ DdosProtectionPlan *SubResourceResponse `pulumi:"ddosProtectionPlan"`
+ // The DDoS protection mode of the public IP
+ ProtectionMode *string `pulumi:"protectionMode"`
}
-// Whether only Ipv6 address space is peered for subnet peering.
-func (o CommonVirtualNetworkPeeringResponseOutput) EnableOnlyIPv6Peering() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *bool { return v.EnableOnlyIPv6Peering }).(pulumi.BoolPtrOutput)
+// Contains the DDoS protection settings of the public IP.
+type DdosSettingsResponseOutput struct{ *pulumi.OutputState }
+
+func (DdosSettingsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*DdosSettingsResponse)(nil)).Elem()
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonVirtualNetworkPeeringResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o DdosSettingsResponseOutput) ToDdosSettingsResponseOutput() DdosSettingsResponseOutput {
+ return o
}
-// Resource ID.
-func (o CommonVirtualNetworkPeeringResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o DdosSettingsResponseOutput) ToDdosSettingsResponseOutputWithContext(ctx context.Context) DdosSettingsResponseOutput {
+ return o
}
-// The local address space of the local virtual network that is peered.
-func (o CommonVirtualNetworkPeeringResponseOutput) LocalAddressSpace() CommonAddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *CommonAddressSpaceResponse { return v.LocalAddressSpace }).(CommonAddressSpaceResponsePtrOutput)
+// The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
+func (o DdosSettingsResponseOutput) DdosProtectionPlan() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v DdosSettingsResponse) *SubResourceResponse { return v.DdosProtectionPlan }).(SubResourceResponsePtrOutput)
}
-// List of local subnet names that are subnet peered with remote virtual network.
-func (o CommonVirtualNetworkPeeringResponseOutput) LocalSubnetNames() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) []string { return v.LocalSubnetNames }).(pulumi.StringArrayOutput)
+// The DDoS protection mode of the public IP
+func (o DdosSettingsResponseOutput) ProtectionMode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DdosSettingsResponse) *string { return v.ProtectionMode }).(pulumi.StringPtrOutput)
}
-// The current local address space of the local virtual network that is peered.
-func (o CommonVirtualNetworkPeeringResponseOutput) LocalVirtualNetworkAddressSpace() CommonAddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *CommonAddressSpaceResponse {
- return v.LocalVirtualNetworkAddressSpace
- }).(CommonAddressSpaceResponsePtrOutput)
+type DdosSettingsResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (DdosSettingsResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**DdosSettingsResponse)(nil)).Elem()
}
-// Name of the resource.
-func (o CommonVirtualNetworkPeeringResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o DdosSettingsResponsePtrOutput) ToDdosSettingsResponsePtrOutput() DdosSettingsResponsePtrOutput {
+ return o
}
-// Whether complete virtual network address space is peered.
-func (o CommonVirtualNetworkPeeringResponseOutput) PeerCompleteVnets() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *bool { return v.PeerCompleteVnets }).(pulumi.BoolPtrOutput)
+func (o DdosSettingsResponsePtrOutput) ToDdosSettingsResponsePtrOutputWithContext(ctx context.Context) DdosSettingsResponsePtrOutput {
+ return o
}
-// The status of the virtual network peering.
-func (o CommonVirtualNetworkPeeringResponseOutput) PeeringState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *string { return v.PeeringState }).(pulumi.StringPtrOutput)
+func (o DdosSettingsResponsePtrOutput) Elem() DdosSettingsResponseOutput {
+ return o.ApplyT(func(v *DdosSettingsResponse) DdosSettingsResponse {
+ if v != nil {
+ return *v
+ }
+ var ret DdosSettingsResponse
+ return ret
+ }).(DdosSettingsResponseOutput)
}
-// The peering sync status of the virtual network peering.
-func (o CommonVirtualNetworkPeeringResponseOutput) PeeringSyncLevel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *string { return v.PeeringSyncLevel }).(pulumi.StringPtrOutput)
+// The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
+func (o DdosSettingsResponsePtrOutput) DdosProtectionPlan() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *DdosSettingsResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DdosProtectionPlan
+ }).(SubResourceResponsePtrOutput)
}
-// The provisioning state of the virtual network peering resource.
-func (o CommonVirtualNetworkPeeringResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The DDoS protection mode of the public IP
+func (o DdosSettingsResponsePtrOutput) ProtectionMode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *DdosSettingsResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ProtectionMode
+ }).(pulumi.StringPtrOutput)
}
-// The reference to the address space peered with the remote virtual network.
-func (o CommonVirtualNetworkPeeringResponseOutput) RemoteAddressSpace() CommonAddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *CommonAddressSpaceResponse { return v.RemoteAddressSpace }).(CommonAddressSpaceResponsePtrOutput)
+// Details the service to which the subnet is delegated.
+type Delegation struct {
+ // Describes the actions permitted to the service upon delegation
+ Actions []string `pulumi:"actions"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a subnet. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
+ ServiceName *string `pulumi:"serviceName"`
+ // Resource type.
+ Type *string `pulumi:"type"`
}
-// The reference to the remote virtual network's Bgp Communities.
-func (o CommonVirtualNetworkPeeringResponseOutput) RemoteBgpCommunities() CommonVirtualNetworkBgpCommunitiesResponsePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *CommonVirtualNetworkBgpCommunitiesResponse {
- return v.RemoteBgpCommunities
- }).(CommonVirtualNetworkBgpCommunitiesResponsePtrOutput)
+// DelegationInput is an input type that accepts DelegationArgs and DelegationOutput values.
+// You can construct a concrete instance of `DelegationInput` via:
+//
+// DelegationArgs{...}
+type DelegationInput interface {
+ pulumi.Input
+
+ ToDelegationOutput() DelegationOutput
+ ToDelegationOutputWithContext(context.Context) DelegationOutput
}
-// List of remote subnet names from remote virtual network that are subnet peered.
-func (o CommonVirtualNetworkPeeringResponseOutput) RemoteSubnetNames() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) []string { return v.RemoteSubnetNames }).(pulumi.StringArrayOutput)
+// Details the service to which the subnet is delegated.
+type DelegationArgs struct {
+ // Describes the actions permitted to the service upon delegation
+ Actions pulumi.StringArrayInput `pulumi:"actions"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag pulumi.StringPtrInput `pulumi:"etag"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The name of the resource that is unique within a subnet. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
+ ServiceName pulumi.StringPtrInput `pulumi:"serviceName"`
+ // Resource type.
+ Type pulumi.StringPtrInput `pulumi:"type"`
}
-// The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
-func (o CommonVirtualNetworkPeeringResponseOutput) RemoteVirtualNetwork() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *CommonSubResourceResponse { return v.RemoteVirtualNetwork }).(CommonSubResourceResponsePtrOutput)
+func (DelegationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*Delegation)(nil)).Elem()
}
-// The reference to the current address space of the remote virtual network.
-func (o CommonVirtualNetworkPeeringResponseOutput) RemoteVirtualNetworkAddressSpace() CommonAddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *CommonAddressSpaceResponse {
- return v.RemoteVirtualNetworkAddressSpace
- }).(CommonAddressSpaceResponsePtrOutput)
+func (i DelegationArgs) ToDelegationOutput() DelegationOutput {
+ return i.ToDelegationOutputWithContext(context.Background())
}
-// The reference to the remote virtual network's encryption
-func (o CommonVirtualNetworkPeeringResponseOutput) RemoteVirtualNetworkEncryption() CommonVirtualNetworkEncryptionResponseOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) CommonVirtualNetworkEncryptionResponse {
- return v.RemoteVirtualNetworkEncryption
- }).(CommonVirtualNetworkEncryptionResponseOutput)
+func (i DelegationArgs) ToDelegationOutputWithContext(ctx context.Context) DelegationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DelegationOutput)
}
-// The resourceGuid property of the Virtual Network peering resource.
-func (o CommonVirtualNetworkPeeringResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// DelegationArrayInput is an input type that accepts DelegationArray and DelegationArrayOutput values.
+// You can construct a concrete instance of `DelegationArrayInput` via:
+//
+// DelegationArray{ DelegationArgs{...} }
+type DelegationArrayInput interface {
+ pulumi.Input
+
+ ToDelegationArrayOutput() DelegationArrayOutput
+ ToDelegationArrayOutputWithContext(context.Context) DelegationArrayOutput
}
-// Resource type.
-func (o CommonVirtualNetworkPeeringResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) string { return v.Type }).(pulumi.StringOutput)
+type DelegationArray []DelegationInput
+
+func (DelegationArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]Delegation)(nil)).Elem()
}
-// If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
-func (o CommonVirtualNetworkPeeringResponseOutput) UseRemoteGateways() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkPeeringResponse) *bool { return v.UseRemoteGateways }).(pulumi.BoolPtrOutput)
+func (i DelegationArray) ToDelegationArrayOutput() DelegationArrayOutput {
+ return i.ToDelegationArrayOutputWithContext(context.Background())
+}
+
+func (i DelegationArray) ToDelegationArrayOutputWithContext(ctx context.Context) DelegationArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DelegationArrayOutput)
}
-type CommonVirtualNetworkPeeringResponseArrayOutput struct{ *pulumi.OutputState }
+// Details the service to which the subnet is delegated.
+type DelegationOutput struct{ *pulumi.OutputState }
-func (CommonVirtualNetworkPeeringResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonVirtualNetworkPeeringResponse)(nil)).Elem()
+func (DelegationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*Delegation)(nil)).Elem()
}
-func (o CommonVirtualNetworkPeeringResponseArrayOutput) ToCommonVirtualNetworkPeeringResponseArrayOutput() CommonVirtualNetworkPeeringResponseArrayOutput {
+func (o DelegationOutput) ToDelegationOutput() DelegationOutput {
return o
}
-func (o CommonVirtualNetworkPeeringResponseArrayOutput) ToCommonVirtualNetworkPeeringResponseArrayOutputWithContext(ctx context.Context) CommonVirtualNetworkPeeringResponseArrayOutput {
+func (o DelegationOutput) ToDelegationOutputWithContext(ctx context.Context) DelegationOutput {
return o
}
-func (o CommonVirtualNetworkPeeringResponseArrayOutput) Index(i pulumi.IntInput) CommonVirtualNetworkPeeringResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonVirtualNetworkPeeringResponse {
- return vs[0].([]CommonVirtualNetworkPeeringResponse)[vs[1].(int)]
- }).(CommonVirtualNetworkPeeringResponseOutput)
+// Describes the actions permitted to the service upon delegation
+func (o DelegationOutput) Actions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v Delegation) []string { return v.Actions }).(pulumi.StringArrayOutput)
}
-// Virtual Network resource.
-type CommonVirtualNetworkResponse struct {
- // The AddressSpace that contains an array of IP address ranges that can be used by subnets.
- AddressSpace *CommonAddressSpaceResponse `pulumi:"addressSpace"`
- // Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
- BgpCommunities *CommonVirtualNetworkBgpCommunitiesResponse `pulumi:"bgpCommunities"`
- // The DDoS protection plan associated with the virtual network.
- DdosProtectionPlan *CommonSubResourceResponse `pulumi:"ddosProtectionPlan"`
- // A reference to the default public nat gateway being used by this virtual network resource.
- DefaultPublicNatGateway CommonSubResourceResponse `pulumi:"defaultPublicNatGateway"`
- // The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
- DhcpOptions *CommonDhcpOptionsResponse `pulumi:"dhcpOptions"`
- // Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
- EnableDdosProtection *bool `pulumi:"enableDdosProtection"`
- // Indicates if VM protection is enabled for all the subnets in the virtual network.
- EnableVmProtection *bool `pulumi:"enableVmProtection"`
- // Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
- Encryption *CommonVirtualNetworkEncryptionResponse `pulumi:"encryption"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The extended location of the virtual network.
- ExtendedLocation *CommonExtendedLocationResponse `pulumi:"extendedLocation"`
- // A collection of references to flow log resources.
- FlowLogs []CommonFlowLogResponse `pulumi:"flowLogs"`
- // The FlowTimeout value (in minutes) for the Virtual Network
- FlowTimeoutInMinutes *int `pulumi:"flowTimeoutInMinutes"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Array of IpAllocation which reference this VNET.
- IpAllocations []CommonSubResourceResponse `pulumi:"ipAllocations"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // Private Endpoint VNet Policies.
- PrivateEndpointVNetPolicies *string `pulumi:"privateEndpointVNetPolicies"`
- // The provisioning state of the virtual network resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The resourceGuid property of the Virtual Network resource.
- ResourceGuid string `pulumi:"resourceGuid"`
- // A list of subnets in a Virtual Network.
- Subnets []CommonSubnetResponse `pulumi:"subnets"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
- // A list of peerings in a Virtual Network.
- VirtualNetworkPeerings []CommonVirtualNetworkPeeringResponse `pulumi:"virtualNetworkPeerings"`
+// A unique read-only string that changes whenever the resource is updated.
+func (o DelegationOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Delegation) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// Defaults sets the appropriate defaults for CommonVirtualNetworkResponse
-func (val *CommonVirtualNetworkResponse) Defaults() *CommonVirtualNetworkResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.EnableDdosProtection == nil {
- enableDdosProtection_ := false
- tmp.EnableDdosProtection = &enableDdosProtection_
- }
- if tmp.EnableVmProtection == nil {
- enableVmProtection_ := false
- tmp.EnableVmProtection = &enableVmProtection_
- }
- return &tmp
+// Resource ID.
+func (o DelegationOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Delegation) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Virtual Network resource.
-type CommonVirtualNetworkResponseOutput struct{ *pulumi.OutputState }
+// The name of the resource that is unique within a subnet. This name can be used to access the resource.
+func (o DelegationOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Delegation) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
-func (CommonVirtualNetworkResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonVirtualNetworkResponse)(nil)).Elem()
+// The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
+func (o DelegationOutput) ServiceName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Delegation) *string { return v.ServiceName }).(pulumi.StringPtrOutput)
}
-func (o CommonVirtualNetworkResponseOutput) ToCommonVirtualNetworkResponseOutput() CommonVirtualNetworkResponseOutput {
- return o
+// Resource type.
+func (o DelegationOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Delegation) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-func (o CommonVirtualNetworkResponseOutput) ToCommonVirtualNetworkResponseOutputWithContext(ctx context.Context) CommonVirtualNetworkResponseOutput {
- return o
+type DelegationArrayOutput struct{ *pulumi.OutputState }
+
+func (DelegationArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]Delegation)(nil)).Elem()
}
-// The AddressSpace that contains an array of IP address ranges that can be used by subnets.
-func (o CommonVirtualNetworkResponseOutput) AddressSpace() CommonAddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) *CommonAddressSpaceResponse { return v.AddressSpace }).(CommonAddressSpaceResponsePtrOutput)
+func (o DelegationArrayOutput) ToDelegationArrayOutput() DelegationArrayOutput {
+ return o
}
-// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
-func (o CommonVirtualNetworkResponseOutput) BgpCommunities() CommonVirtualNetworkBgpCommunitiesResponsePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) *CommonVirtualNetworkBgpCommunitiesResponse {
- return v.BgpCommunities
- }).(CommonVirtualNetworkBgpCommunitiesResponsePtrOutput)
+func (o DelegationArrayOutput) ToDelegationArrayOutputWithContext(ctx context.Context) DelegationArrayOutput {
+ return o
}
-// The DDoS protection plan associated with the virtual network.
-func (o CommonVirtualNetworkResponseOutput) DdosProtectionPlan() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) *CommonSubResourceResponse { return v.DdosProtectionPlan }).(CommonSubResourceResponsePtrOutput)
+func (o DelegationArrayOutput) Index(i pulumi.IntInput) DelegationOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) Delegation {
+ return vs[0].([]Delegation)[vs[1].(int)]
+ }).(DelegationOutput)
}
-// A reference to the default public nat gateway being used by this virtual network resource.
-func (o CommonVirtualNetworkResponseOutput) DefaultPublicNatGateway() CommonSubResourceResponseOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) CommonSubResourceResponse { return v.DefaultPublicNatGateway }).(CommonSubResourceResponseOutput)
+// Details the service to which the subnet is delegated.
+type DelegationInterfaceEndpointResponse struct {
+ // Describes the actions permitted to the service upon delegation
+ Actions []string `pulumi:"actions"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a subnet. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers)
+ ServiceName *string `pulumi:"serviceName"`
}
-// The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
-func (o CommonVirtualNetworkResponseOutput) DhcpOptions() CommonDhcpOptionsResponsePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) *CommonDhcpOptionsResponse { return v.DhcpOptions }).(CommonDhcpOptionsResponsePtrOutput)
+// Details the service to which the subnet is delegated.
+type DelegationInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
+
+func (DelegationInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*DelegationInterfaceEndpointResponse)(nil)).Elem()
}
-// Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
-func (o CommonVirtualNetworkResponseOutput) EnableDdosProtection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) *bool { return v.EnableDdosProtection }).(pulumi.BoolPtrOutput)
+func (o DelegationInterfaceEndpointResponseOutput) ToDelegationInterfaceEndpointResponseOutput() DelegationInterfaceEndpointResponseOutput {
+ return o
}
-// Indicates if VM protection is enabled for all the subnets in the virtual network.
-func (o CommonVirtualNetworkResponseOutput) EnableVmProtection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) *bool { return v.EnableVmProtection }).(pulumi.BoolPtrOutput)
+func (o DelegationInterfaceEndpointResponseOutput) ToDelegationInterfaceEndpointResponseOutputWithContext(ctx context.Context) DelegationInterfaceEndpointResponseOutput {
+ return o
}
-// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
-func (o CommonVirtualNetworkResponseOutput) Encryption() CommonVirtualNetworkEncryptionResponsePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) *CommonVirtualNetworkEncryptionResponse { return v.Encryption }).(CommonVirtualNetworkEncryptionResponsePtrOutput)
+// Describes the actions permitted to the service upon delegation
+func (o DelegationInterfaceEndpointResponseOutput) Actions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v DelegationInterfaceEndpointResponse) []string { return v.Actions }).(pulumi.StringArrayOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o CommonVirtualNetworkResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o DelegationInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DelegationInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// The extended location of the virtual network.
-func (o CommonVirtualNetworkResponseOutput) ExtendedLocation() CommonExtendedLocationResponsePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) *CommonExtendedLocationResponse { return v.ExtendedLocation }).(CommonExtendedLocationResponsePtrOutput)
+// Resource ID.
+func (o DelegationInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DelegationInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// A collection of references to flow log resources.
-func (o CommonVirtualNetworkResponseOutput) FlowLogs() CommonFlowLogResponseArrayOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) []CommonFlowLogResponse { return v.FlowLogs }).(CommonFlowLogResponseArrayOutput)
+// The name of the resource that is unique within a subnet. This name can be used to access the resource.
+func (o DelegationInterfaceEndpointResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DelegationInterfaceEndpointResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The FlowTimeout value (in minutes) for the Virtual Network
-func (o CommonVirtualNetworkResponseOutput) FlowTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) *int { return v.FlowTimeoutInMinutes }).(pulumi.IntPtrOutput)
+// The provisioning state of the resource.
+func (o DelegationInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v DelegationInterfaceEndpointResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Resource ID.
-func (o CommonVirtualNetworkResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers)
+func (o DelegationInterfaceEndpointResponseOutput) ServiceName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DelegationInterfaceEndpointResponse) *string { return v.ServiceName }).(pulumi.StringPtrOutput)
}
-// Array of IpAllocation which reference this VNET.
-func (o CommonVirtualNetworkResponseOutput) IpAllocations() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) []CommonSubResourceResponse { return v.IpAllocations }).(CommonSubResourceResponseArrayOutput)
+type DelegationInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (DelegationInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]DelegationInterfaceEndpointResponse)(nil)).Elem()
}
-// Resource location.
-func (o CommonVirtualNetworkResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+func (o DelegationInterfaceEndpointResponseArrayOutput) ToDelegationInterfaceEndpointResponseArrayOutput() DelegationInterfaceEndpointResponseArrayOutput {
+ return o
}
-// Resource name.
-func (o CommonVirtualNetworkResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) string { return v.Name }).(pulumi.StringOutput)
+func (o DelegationInterfaceEndpointResponseArrayOutput) ToDelegationInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) DelegationInterfaceEndpointResponseArrayOutput {
+ return o
}
-// Private Endpoint VNet Policies.
-func (o CommonVirtualNetworkResponseOutput) PrivateEndpointVNetPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) *string { return v.PrivateEndpointVNetPolicies }).(pulumi.StringPtrOutput)
+func (o DelegationInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) DelegationInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) DelegationInterfaceEndpointResponse {
+ return vs[0].([]DelegationInterfaceEndpointResponse)[vs[1].(int)]
+ }).(DelegationInterfaceEndpointResponseOutput)
}
-// The provisioning state of the virtual network resource.
-func (o CommonVirtualNetworkResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Properties of the delegation.
+type DelegationProperties struct {
+ // The service name to which the NVA is delegated.
+ ServiceName *string `pulumi:"serviceName"`
}
-// The resourceGuid property of the Virtual Network resource.
-func (o CommonVirtualNetworkResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// DelegationPropertiesInput is an input type that accepts DelegationPropertiesArgs and DelegationPropertiesOutput values.
+// You can construct a concrete instance of `DelegationPropertiesInput` via:
+//
+// DelegationPropertiesArgs{...}
+type DelegationPropertiesInput interface {
+ pulumi.Input
+
+ ToDelegationPropertiesOutput() DelegationPropertiesOutput
+ ToDelegationPropertiesOutputWithContext(context.Context) DelegationPropertiesOutput
}
-// A list of subnets in a Virtual Network.
-func (o CommonVirtualNetworkResponseOutput) Subnets() CommonSubnetResponseArrayOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) []CommonSubnetResponse { return v.Subnets }).(CommonSubnetResponseArrayOutput)
+// Properties of the delegation.
+type DelegationPropertiesArgs struct {
+ // The service name to which the NVA is delegated.
+ ServiceName pulumi.StringPtrInput `pulumi:"serviceName"`
}
-// Resource tags.
-func (o CommonVirtualNetworkResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+func (DelegationPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*DelegationProperties)(nil)).Elem()
}
-// Resource type.
-func (o CommonVirtualNetworkResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) string { return v.Type }).(pulumi.StringOutput)
+func (i DelegationPropertiesArgs) ToDelegationPropertiesOutput() DelegationPropertiesOutput {
+ return i.ToDelegationPropertiesOutputWithContext(context.Background())
}
-// A list of peerings in a Virtual Network.
-func (o CommonVirtualNetworkResponseOutput) VirtualNetworkPeerings() CommonVirtualNetworkPeeringResponseArrayOutput {
- return o.ApplyT(func(v CommonVirtualNetworkResponse) []CommonVirtualNetworkPeeringResponse {
- return v.VirtualNetworkPeerings
- }).(CommonVirtualNetworkPeeringResponseArrayOutput)
+func (i DelegationPropertiesArgs) ToDelegationPropertiesOutputWithContext(ctx context.Context) DelegationPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DelegationPropertiesOutput)
}
-type CommonVirtualNetworkResponsePtrOutput struct{ *pulumi.OutputState }
+func (i DelegationPropertiesArgs) ToDelegationPropertiesPtrOutput() DelegationPropertiesPtrOutput {
+ return i.ToDelegationPropertiesPtrOutputWithContext(context.Background())
+}
-func (CommonVirtualNetworkResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonVirtualNetworkResponse)(nil)).Elem()
+func (i DelegationPropertiesArgs) ToDelegationPropertiesPtrOutputWithContext(ctx context.Context) DelegationPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DelegationPropertiesOutput).ToDelegationPropertiesPtrOutputWithContext(ctx)
}
-func (o CommonVirtualNetworkResponsePtrOutput) ToCommonVirtualNetworkResponsePtrOutput() CommonVirtualNetworkResponsePtrOutput {
- return o
+// DelegationPropertiesPtrInput is an input type that accepts DelegationPropertiesArgs, DelegationPropertiesPtr and DelegationPropertiesPtrOutput values.
+// You can construct a concrete instance of `DelegationPropertiesPtrInput` via:
+//
+// DelegationPropertiesArgs{...}
+//
+// or:
+//
+// nil
+type DelegationPropertiesPtrInput interface {
+ pulumi.Input
+
+ ToDelegationPropertiesPtrOutput() DelegationPropertiesPtrOutput
+ ToDelegationPropertiesPtrOutputWithContext(context.Context) DelegationPropertiesPtrOutput
}
-func (o CommonVirtualNetworkResponsePtrOutput) ToCommonVirtualNetworkResponsePtrOutputWithContext(ctx context.Context) CommonVirtualNetworkResponsePtrOutput {
- return o
+type delegationPropertiesPtrType DelegationPropertiesArgs
+
+func DelegationPropertiesPtr(v *DelegationPropertiesArgs) DelegationPropertiesPtrInput {
+ return (*delegationPropertiesPtrType)(v)
}
-func (o CommonVirtualNetworkResponsePtrOutput) Elem() CommonVirtualNetworkResponseOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) CommonVirtualNetworkResponse {
- if v != nil {
- return *v
- }
- var ret CommonVirtualNetworkResponse
- return ret
- }).(CommonVirtualNetworkResponseOutput)
+func (*delegationPropertiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**DelegationProperties)(nil)).Elem()
}
-// The AddressSpace that contains an array of IP address ranges that can be used by subnets.
-func (o CommonVirtualNetworkResponsePtrOutput) AddressSpace() CommonAddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *CommonAddressSpaceResponse {
- if v == nil {
- return nil
- }
- return v.AddressSpace
- }).(CommonAddressSpaceResponsePtrOutput)
+func (i *delegationPropertiesPtrType) ToDelegationPropertiesPtrOutput() DelegationPropertiesPtrOutput {
+ return i.ToDelegationPropertiesPtrOutputWithContext(context.Background())
}
-// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
-func (o CommonVirtualNetworkResponsePtrOutput) BgpCommunities() CommonVirtualNetworkBgpCommunitiesResponsePtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *CommonVirtualNetworkBgpCommunitiesResponse {
- if v == nil {
- return nil
- }
- return v.BgpCommunities
- }).(CommonVirtualNetworkBgpCommunitiesResponsePtrOutput)
+func (i *delegationPropertiesPtrType) ToDelegationPropertiesPtrOutputWithContext(ctx context.Context) DelegationPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DelegationPropertiesPtrOutput)
}
-// The DDoS protection plan associated with the virtual network.
-func (o CommonVirtualNetworkResponsePtrOutput) DdosProtectionPlan() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.DdosProtectionPlan
- }).(CommonSubResourceResponsePtrOutput)
+// Properties of the delegation.
+type DelegationPropertiesOutput struct{ *pulumi.OutputState }
+
+func (DelegationPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*DelegationProperties)(nil)).Elem()
}
-// A reference to the default public nat gateway being used by this virtual network resource.
-func (o CommonVirtualNetworkResponsePtrOutput) DefaultPublicNatGateway() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return &v.DefaultPublicNatGateway
- }).(CommonSubResourceResponsePtrOutput)
+func (o DelegationPropertiesOutput) ToDelegationPropertiesOutput() DelegationPropertiesOutput {
+ return o
}
-// The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
-func (o CommonVirtualNetworkResponsePtrOutput) DhcpOptions() CommonDhcpOptionsResponsePtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *CommonDhcpOptionsResponse {
- if v == nil {
- return nil
- }
- return v.DhcpOptions
- }).(CommonDhcpOptionsResponsePtrOutput)
+func (o DelegationPropertiesOutput) ToDelegationPropertiesOutputWithContext(ctx context.Context) DelegationPropertiesOutput {
+ return o
}
-// Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
-func (o CommonVirtualNetworkResponsePtrOutput) EnableDdosProtection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *bool {
- if v == nil {
- return nil
- }
- return v.EnableDdosProtection
- }).(pulumi.BoolPtrOutput)
+func (o DelegationPropertiesOutput) ToDelegationPropertiesPtrOutput() DelegationPropertiesPtrOutput {
+ return o.ToDelegationPropertiesPtrOutputWithContext(context.Background())
}
-// Indicates if VM protection is enabled for all the subnets in the virtual network.
-func (o CommonVirtualNetworkResponsePtrOutput) EnableVmProtection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *bool {
- if v == nil {
- return nil
- }
- return v.EnableVmProtection
- }).(pulumi.BoolPtrOutput)
+func (o DelegationPropertiesOutput) ToDelegationPropertiesPtrOutputWithContext(ctx context.Context) DelegationPropertiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v DelegationProperties) *DelegationProperties {
+ return &v
+ }).(DelegationPropertiesPtrOutput)
}
-// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
-func (o CommonVirtualNetworkResponsePtrOutput) Encryption() CommonVirtualNetworkEncryptionResponsePtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *CommonVirtualNetworkEncryptionResponse {
- if v == nil {
- return nil
- }
- return v.Encryption
- }).(CommonVirtualNetworkEncryptionResponsePtrOutput)
+// The service name to which the NVA is delegated.
+func (o DelegationPropertiesOutput) ServiceName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DelegationProperties) *string { return v.ServiceName }).(pulumi.StringPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonVirtualNetworkResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Etag
- }).(pulumi.StringPtrOutput)
+type DelegationPropertiesPtrOutput struct{ *pulumi.OutputState }
+
+func (DelegationPropertiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**DelegationProperties)(nil)).Elem()
}
-// The extended location of the virtual network.
-func (o CommonVirtualNetworkResponsePtrOutput) ExtendedLocation() CommonExtendedLocationResponsePtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *CommonExtendedLocationResponse {
- if v == nil {
- return nil
- }
- return v.ExtendedLocation
- }).(CommonExtendedLocationResponsePtrOutput)
+func (o DelegationPropertiesPtrOutput) ToDelegationPropertiesPtrOutput() DelegationPropertiesPtrOutput {
+ return o
}
-// A collection of references to flow log resources.
-func (o CommonVirtualNetworkResponsePtrOutput) FlowLogs() CommonFlowLogResponseArrayOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) []CommonFlowLogResponse {
- if v == nil {
- return nil
- }
- return v.FlowLogs
- }).(CommonFlowLogResponseArrayOutput)
+func (o DelegationPropertiesPtrOutput) ToDelegationPropertiesPtrOutputWithContext(ctx context.Context) DelegationPropertiesPtrOutput {
+ return o
}
-// The FlowTimeout value (in minutes) for the Virtual Network
-func (o CommonVirtualNetworkResponsePtrOutput) FlowTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *int {
- if v == nil {
- return nil
+func (o DelegationPropertiesPtrOutput) Elem() DelegationPropertiesOutput {
+ return o.ApplyT(func(v *DelegationProperties) DelegationProperties {
+ if v != nil {
+ return *v
}
- return v.FlowTimeoutInMinutes
- }).(pulumi.IntPtrOutput)
+ var ret DelegationProperties
+ return ret
+ }).(DelegationPropertiesOutput)
}
-// Resource ID.
-func (o CommonVirtualNetworkResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *string {
+// The service name to which the NVA is delegated.
+func (o DelegationPropertiesPtrOutput) ServiceName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *DelegationProperties) *string {
if v == nil {
return nil
}
- return v.Id
+ return v.ServiceName
}).(pulumi.StringPtrOutput)
}
-// Array of IpAllocation which reference this VNET.
-func (o CommonVirtualNetworkResponsePtrOutput) IpAllocations() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) []CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.IpAllocations
- }).(CommonSubResourceResponseArrayOutput)
+// Properties of the delegation.
+type DelegationPropertiesResponse struct {
+ // The current provisioning state.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The service name to which the NVA is delegated.
+ ServiceName *string `pulumi:"serviceName"`
}
-// Resource location.
-func (o CommonVirtualNetworkResponsePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
+// Properties of the delegation.
+type DelegationPropertiesResponseOutput struct{ *pulumi.OutputState }
+
+func (DelegationPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*DelegationPropertiesResponse)(nil)).Elem()
}
-// Resource name.
-func (o CommonVirtualNetworkResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Name
- }).(pulumi.StringPtrOutput)
+func (o DelegationPropertiesResponseOutput) ToDelegationPropertiesResponseOutput() DelegationPropertiesResponseOutput {
+ return o
}
-// Private Endpoint VNet Policies.
-func (o CommonVirtualNetworkResponsePtrOutput) PrivateEndpointVNetPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateEndpointVNetPolicies
- }).(pulumi.StringPtrOutput)
+func (o DelegationPropertiesResponseOutput) ToDelegationPropertiesResponseOutputWithContext(ctx context.Context) DelegationPropertiesResponseOutput {
+ return o
}
-// The provisioning state of the virtual network resource.
-func (o CommonVirtualNetworkResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+// The current provisioning state.
+func (o DelegationPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v DelegationPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The resourceGuid property of the Virtual Network resource.
-func (o CommonVirtualNetworkResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ResourceGuid
- }).(pulumi.StringPtrOutput)
+// The service name to which the NVA is delegated.
+func (o DelegationPropertiesResponseOutput) ServiceName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DelegationPropertiesResponse) *string { return v.ServiceName }).(pulumi.StringPtrOutput)
}
-// A list of subnets in a Virtual Network.
-func (o CommonVirtualNetworkResponsePtrOutput) Subnets() CommonSubnetResponseArrayOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) []CommonSubnetResponse {
- if v == nil {
- return nil
- }
- return v.Subnets
- }).(CommonSubnetResponseArrayOutput)
+type DelegationPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (DelegationPropertiesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**DelegationPropertiesResponse)(nil)).Elem()
}
-// Resource tags.
-func (o CommonVirtualNetworkResponsePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) map[string]string {
- if v == nil {
- return nil
+func (o DelegationPropertiesResponsePtrOutput) ToDelegationPropertiesResponsePtrOutput() DelegationPropertiesResponsePtrOutput {
+ return o
+}
+
+func (o DelegationPropertiesResponsePtrOutput) ToDelegationPropertiesResponsePtrOutputWithContext(ctx context.Context) DelegationPropertiesResponsePtrOutput {
+ return o
+}
+
+func (o DelegationPropertiesResponsePtrOutput) Elem() DelegationPropertiesResponseOutput {
+ return o.ApplyT(func(v *DelegationPropertiesResponse) DelegationPropertiesResponse {
+ if v != nil {
+ return *v
}
- return v.Tags
- }).(pulumi.StringMapOutput)
+ var ret DelegationPropertiesResponse
+ return ret
+ }).(DelegationPropertiesResponseOutput)
}
-// Resource type.
-func (o CommonVirtualNetworkResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) *string {
+// The current provisioning state.
+func (o DelegationPropertiesResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *DelegationPropertiesResponse) *string {
if v == nil {
return nil
}
- return &v.Type
+ return &v.ProvisioningState
}).(pulumi.StringPtrOutput)
}
-// A list of peerings in a Virtual Network.
-func (o CommonVirtualNetworkResponsePtrOutput) VirtualNetworkPeerings() CommonVirtualNetworkPeeringResponseArrayOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkResponse) []CommonVirtualNetworkPeeringResponse {
+// The service name to which the NVA is delegated.
+func (o DelegationPropertiesResponsePtrOutput) ServiceName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *DelegationPropertiesResponse) *string {
if v == nil {
return nil
}
- return v.VirtualNetworkPeerings
- }).(CommonVirtualNetworkPeeringResponseArrayOutput)
+ return v.ServiceName
+ }).(pulumi.StringPtrOutput)
}
-// Virtual Network Tap resource.
-type CommonVirtualNetworkTapResponse struct {
- // The reference to the private IP address on the internal Load Balancer that will receive the tap.
- DestinationLoadBalancerFrontEndIPConfiguration *CommonFrontendIPConfigurationResponse `pulumi:"destinationLoadBalancerFrontEndIPConfiguration"`
- // The reference to the private IP Address of the collector nic that will receive the tap.
- DestinationNetworkInterfaceIPConfiguration *CommonNetworkInterfaceIPConfigurationResponse `pulumi:"destinationNetworkInterfaceIPConfiguration"`
- // The VXLAN destination port that will receive the tapped traffic.
- DestinationPort *int `pulumi:"destinationPort"`
+// Details the service to which the subnet is delegated.
+type DelegationResponse struct {
+ // The actions permitted to the service upon delegation.
+ Actions []string `pulumi:"actions"`
// A unique read-only string that changes whenever the resource is updated.
Etag string `pulumi:"etag"`
// Resource ID.
Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
- NetworkInterfaceTapConfigurations []CommonNetworkInterfaceTapConfigurationResponse `pulumi:"networkInterfaceTapConfigurations"`
- // The provisioning state of the virtual network tap resource.
+ // The name of the resource that is unique within a subnet. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the service delegation resource.
ProvisioningState string `pulumi:"provisioningState"`
- // The resource GUID property of the virtual network tap resource.
- ResourceGuid string `pulumi:"resourceGuid"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
+ // The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
+ ServiceName *string `pulumi:"serviceName"`
// Resource type.
- Type string `pulumi:"type"`
+ Type *string `pulumi:"type"`
}
-// Defaults sets the appropriate defaults for CommonVirtualNetworkTapResponse
-func (val *CommonVirtualNetworkTapResponse) Defaults() *CommonVirtualNetworkTapResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.DestinationLoadBalancerFrontEndIPConfiguration = tmp.DestinationLoadBalancerFrontEndIPConfiguration.Defaults()
+// Details the service to which the subnet is delegated.
+type DelegationResponseOutput struct{ *pulumi.OutputState }
- tmp.DestinationNetworkInterfaceIPConfiguration = tmp.DestinationNetworkInterfaceIPConfiguration.Defaults()
+func (DelegationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*DelegationResponse)(nil)).Elem()
+}
- return &tmp
+func (o DelegationResponseOutput) ToDelegationResponseOutput() DelegationResponseOutput {
+ return o
+}
+
+func (o DelegationResponseOutput) ToDelegationResponseOutputWithContext(ctx context.Context) DelegationResponseOutput {
+ return o
+}
+
+// The actions permitted to the service upon delegation.
+func (o DelegationResponseOutput) Actions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v DelegationResponse) []string { return v.Actions }).(pulumi.StringArrayOutput)
+}
+
+// A unique read-only string that changes whenever the resource is updated.
+func (o DelegationResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v DelegationResponse) string { return v.Etag }).(pulumi.StringOutput)
+}
+
+// Resource ID.
+func (o DelegationResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DelegationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
+
+// The name of the resource that is unique within a subnet. This name can be used to access the resource.
+func (o DelegationResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DelegationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
+
+// The provisioning state of the service delegation resource.
+func (o DelegationResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v DelegationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
+
+// The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
+func (o DelegationResponseOutput) ServiceName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DelegationResponse) *string { return v.ServiceName }).(pulumi.StringPtrOutput)
+}
+
+// Resource type.
+func (o DelegationResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DelegationResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// Virtual Network Tap resource.
-type CommonVirtualNetworkTapResponseOutput struct{ *pulumi.OutputState }
+type DelegationResponseArrayOutput struct{ *pulumi.OutputState }
-func (CommonVirtualNetworkTapResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CommonVirtualNetworkTapResponse)(nil)).Elem()
+func (DelegationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]DelegationResponse)(nil)).Elem()
}
-func (o CommonVirtualNetworkTapResponseOutput) ToCommonVirtualNetworkTapResponseOutput() CommonVirtualNetworkTapResponseOutput {
+func (o DelegationResponseArrayOutput) ToDelegationResponseArrayOutput() DelegationResponseArrayOutput {
return o
}
-func (o CommonVirtualNetworkTapResponseOutput) ToCommonVirtualNetworkTapResponseOutputWithContext(ctx context.Context) CommonVirtualNetworkTapResponseOutput {
+func (o DelegationResponseArrayOutput) ToDelegationResponseArrayOutputWithContext(ctx context.Context) DelegationResponseArrayOutput {
return o
}
-// The reference to the private IP address on the internal Load Balancer that will receive the tap.
-func (o CommonVirtualNetworkTapResponseOutput) DestinationLoadBalancerFrontEndIPConfiguration() CommonFrontendIPConfigurationResponsePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkTapResponse) *CommonFrontendIPConfigurationResponse {
- return v.DestinationLoadBalancerFrontEndIPConfiguration
- }).(CommonFrontendIPConfigurationResponsePtrOutput)
+func (o DelegationResponseArrayOutput) Index(i pulumi.IntInput) DelegationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) DelegationResponse {
+ return vs[0].([]DelegationResponse)[vs[1].(int)]
+ }).(DelegationResponseOutput)
+}
+
+// List of properties of the device.
+type DeviceProperties struct {
+ // Model of the device.
+ DeviceModel *string `pulumi:"deviceModel"`
+ // Name of the device Vendor.
+ DeviceVendor *string `pulumi:"deviceVendor"`
+ // Link speed.
+ LinkSpeedInMbps *int `pulumi:"linkSpeedInMbps"`
+}
+
+// DevicePropertiesInput is an input type that accepts DevicePropertiesArgs and DevicePropertiesOutput values.
+// You can construct a concrete instance of `DevicePropertiesInput` via:
+//
+// DevicePropertiesArgs{...}
+type DevicePropertiesInput interface {
+ pulumi.Input
+
+ ToDevicePropertiesOutput() DevicePropertiesOutput
+ ToDevicePropertiesOutputWithContext(context.Context) DevicePropertiesOutput
}
-// The reference to the private IP Address of the collector nic that will receive the tap.
-func (o CommonVirtualNetworkTapResponseOutput) DestinationNetworkInterfaceIPConfiguration() CommonNetworkInterfaceIPConfigurationResponsePtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkTapResponse) *CommonNetworkInterfaceIPConfigurationResponse {
- return v.DestinationNetworkInterfaceIPConfiguration
- }).(CommonNetworkInterfaceIPConfigurationResponsePtrOutput)
+// List of properties of the device.
+type DevicePropertiesArgs struct {
+ // Model of the device.
+ DeviceModel pulumi.StringPtrInput `pulumi:"deviceModel"`
+ // Name of the device Vendor.
+ DeviceVendor pulumi.StringPtrInput `pulumi:"deviceVendor"`
+ // Link speed.
+ LinkSpeedInMbps pulumi.IntPtrInput `pulumi:"linkSpeedInMbps"`
}
-// The VXLAN destination port that will receive the tapped traffic.
-func (o CommonVirtualNetworkTapResponseOutput) DestinationPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkTapResponse) *int { return v.DestinationPort }).(pulumi.IntPtrOutput)
+func (DevicePropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*DeviceProperties)(nil)).Elem()
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonVirtualNetworkTapResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkTapResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (i DevicePropertiesArgs) ToDevicePropertiesOutput() DevicePropertiesOutput {
+ return i.ToDevicePropertiesOutputWithContext(context.Background())
}
-// Resource ID.
-func (o CommonVirtualNetworkTapResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkTapResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (i DevicePropertiesArgs) ToDevicePropertiesOutputWithContext(ctx context.Context) DevicePropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DevicePropertiesOutput)
}
-// Resource location.
-func (o CommonVirtualNetworkTapResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CommonVirtualNetworkTapResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+func (i DevicePropertiesArgs) ToDevicePropertiesPtrOutput() DevicePropertiesPtrOutput {
+ return i.ToDevicePropertiesPtrOutputWithContext(context.Background())
}
-// Resource name.
-func (o CommonVirtualNetworkTapResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkTapResponse) string { return v.Name }).(pulumi.StringOutput)
+func (i DevicePropertiesArgs) ToDevicePropertiesPtrOutputWithContext(ctx context.Context) DevicePropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DevicePropertiesOutput).ToDevicePropertiesPtrOutputWithContext(ctx)
}
-// Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
-func (o CommonVirtualNetworkTapResponseOutput) NetworkInterfaceTapConfigurations() CommonNetworkInterfaceTapConfigurationResponseArrayOutput {
- return o.ApplyT(func(v CommonVirtualNetworkTapResponse) []CommonNetworkInterfaceTapConfigurationResponse {
- return v.NetworkInterfaceTapConfigurations
- }).(CommonNetworkInterfaceTapConfigurationResponseArrayOutput)
+// DevicePropertiesPtrInput is an input type that accepts DevicePropertiesArgs, DevicePropertiesPtr and DevicePropertiesPtrOutput values.
+// You can construct a concrete instance of `DevicePropertiesPtrInput` via:
+//
+// DevicePropertiesArgs{...}
+//
+// or:
+//
+// nil
+type DevicePropertiesPtrInput interface {
+ pulumi.Input
+
+ ToDevicePropertiesPtrOutput() DevicePropertiesPtrOutput
+ ToDevicePropertiesPtrOutputWithContext(context.Context) DevicePropertiesPtrOutput
}
-// The provisioning state of the virtual network tap resource.
-func (o CommonVirtualNetworkTapResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkTapResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+type devicePropertiesPtrType DevicePropertiesArgs
+
+func DevicePropertiesPtr(v *DevicePropertiesArgs) DevicePropertiesPtrInput {
+ return (*devicePropertiesPtrType)(v)
}
-// The resource GUID property of the virtual network tap resource.
-func (o CommonVirtualNetworkTapResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkTapResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+func (*devicePropertiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**DeviceProperties)(nil)).Elem()
}
-// Resource tags.
-func (o CommonVirtualNetworkTapResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v CommonVirtualNetworkTapResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+func (i *devicePropertiesPtrType) ToDevicePropertiesPtrOutput() DevicePropertiesPtrOutput {
+ return i.ToDevicePropertiesPtrOutputWithContext(context.Background())
}
-// Resource type.
-func (o CommonVirtualNetworkTapResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v CommonVirtualNetworkTapResponse) string { return v.Type }).(pulumi.StringOutput)
+func (i *devicePropertiesPtrType) ToDevicePropertiesPtrOutputWithContext(ctx context.Context) DevicePropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DevicePropertiesPtrOutput)
}
-type CommonVirtualNetworkTapResponsePtrOutput struct{ *pulumi.OutputState }
+// List of properties of the device.
+type DevicePropertiesOutput struct{ *pulumi.OutputState }
-func (CommonVirtualNetworkTapResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**CommonVirtualNetworkTapResponse)(nil)).Elem()
+func (DevicePropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*DeviceProperties)(nil)).Elem()
}
-func (o CommonVirtualNetworkTapResponsePtrOutput) ToCommonVirtualNetworkTapResponsePtrOutput() CommonVirtualNetworkTapResponsePtrOutput {
+func (o DevicePropertiesOutput) ToDevicePropertiesOutput() DevicePropertiesOutput {
return o
}
-func (o CommonVirtualNetworkTapResponsePtrOutput) ToCommonVirtualNetworkTapResponsePtrOutputWithContext(ctx context.Context) CommonVirtualNetworkTapResponsePtrOutput {
+func (o DevicePropertiesOutput) ToDevicePropertiesOutputWithContext(ctx context.Context) DevicePropertiesOutput {
return o
}
-func (o CommonVirtualNetworkTapResponsePtrOutput) Elem() CommonVirtualNetworkTapResponseOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkTapResponse) CommonVirtualNetworkTapResponse {
- if v != nil {
- return *v
- }
- var ret CommonVirtualNetworkTapResponse
- return ret
- }).(CommonVirtualNetworkTapResponseOutput)
+func (o DevicePropertiesOutput) ToDevicePropertiesPtrOutput() DevicePropertiesPtrOutput {
+ return o.ToDevicePropertiesPtrOutputWithContext(context.Background())
}
-// The reference to the private IP address on the internal Load Balancer that will receive the tap.
-func (o CommonVirtualNetworkTapResponsePtrOutput) DestinationLoadBalancerFrontEndIPConfiguration() CommonFrontendIPConfigurationResponsePtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkTapResponse) *CommonFrontendIPConfigurationResponse {
- if v == nil {
- return nil
- }
- return v.DestinationLoadBalancerFrontEndIPConfiguration
- }).(CommonFrontendIPConfigurationResponsePtrOutput)
+func (o DevicePropertiesOutput) ToDevicePropertiesPtrOutputWithContext(ctx context.Context) DevicePropertiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v DeviceProperties) *DeviceProperties {
+ return &v
+ }).(DevicePropertiesPtrOutput)
}
-// The reference to the private IP Address of the collector nic that will receive the tap.
-func (o CommonVirtualNetworkTapResponsePtrOutput) DestinationNetworkInterfaceIPConfiguration() CommonNetworkInterfaceIPConfigurationResponsePtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkTapResponse) *CommonNetworkInterfaceIPConfigurationResponse {
- if v == nil {
- return nil
- }
- return v.DestinationNetworkInterfaceIPConfiguration
- }).(CommonNetworkInterfaceIPConfigurationResponsePtrOutput)
+// Model of the device.
+func (o DevicePropertiesOutput) DeviceModel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DeviceProperties) *string { return v.DeviceModel }).(pulumi.StringPtrOutput)
}
-// The VXLAN destination port that will receive the tapped traffic.
-func (o CommonVirtualNetworkTapResponsePtrOutput) DestinationPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkTapResponse) *int {
- if v == nil {
- return nil
- }
- return v.DestinationPort
- }).(pulumi.IntPtrOutput)
+// Name of the device Vendor.
+func (o DevicePropertiesOutput) DeviceVendor() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DeviceProperties) *string { return v.DeviceVendor }).(pulumi.StringPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o CommonVirtualNetworkTapResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkTapResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Etag
- }).(pulumi.StringPtrOutput)
+// Link speed.
+func (o DevicePropertiesOutput) LinkSpeedInMbps() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v DeviceProperties) *int { return v.LinkSpeedInMbps }).(pulumi.IntPtrOutput)
}
-// Resource ID.
-func (o CommonVirtualNetworkTapResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkTapResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+type DevicePropertiesPtrOutput struct{ *pulumi.OutputState }
+
+func (DevicePropertiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**DeviceProperties)(nil)).Elem()
}
-// Resource location.
-func (o CommonVirtualNetworkTapResponsePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkTapResponse) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
+func (o DevicePropertiesPtrOutput) ToDevicePropertiesPtrOutput() DevicePropertiesPtrOutput {
+ return o
}
-// Resource name.
-func (o CommonVirtualNetworkTapResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkTapResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Name
- }).(pulumi.StringPtrOutput)
+func (o DevicePropertiesPtrOutput) ToDevicePropertiesPtrOutputWithContext(ctx context.Context) DevicePropertiesPtrOutput {
+ return o
}
-// Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
-func (o CommonVirtualNetworkTapResponsePtrOutput) NetworkInterfaceTapConfigurations() CommonNetworkInterfaceTapConfigurationResponseArrayOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkTapResponse) []CommonNetworkInterfaceTapConfigurationResponse {
- if v == nil {
- return nil
+func (o DevicePropertiesPtrOutput) Elem() DevicePropertiesOutput {
+ return o.ApplyT(func(v *DeviceProperties) DeviceProperties {
+ if v != nil {
+ return *v
}
- return v.NetworkInterfaceTapConfigurations
- }).(CommonNetworkInterfaceTapConfigurationResponseArrayOutput)
+ var ret DeviceProperties
+ return ret
+ }).(DevicePropertiesOutput)
}
-// The provisioning state of the virtual network tap resource.
-func (o CommonVirtualNetworkTapResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkTapResponse) *string {
+// Model of the device.
+func (o DevicePropertiesPtrOutput) DeviceModel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *DeviceProperties) *string {
if v == nil {
return nil
}
- return &v.ProvisioningState
+ return v.DeviceModel
}).(pulumi.StringPtrOutput)
}
-// The resource GUID property of the virtual network tap resource.
-func (o CommonVirtualNetworkTapResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkTapResponse) *string {
+// Name of the device Vendor.
+func (o DevicePropertiesPtrOutput) DeviceVendor() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *DeviceProperties) *string {
if v == nil {
return nil
}
- return &v.ResourceGuid
+ return v.DeviceVendor
}).(pulumi.StringPtrOutput)
}
-// Resource tags.
-func (o CommonVirtualNetworkTapResponsePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkTapResponse) map[string]string {
+// Link speed.
+func (o DevicePropertiesPtrOutput) LinkSpeedInMbps() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *DeviceProperties) *int {
if v == nil {
return nil
}
- return v.Tags
- }).(pulumi.StringMapOutput)
+ return v.LinkSpeedInMbps
+ }).(pulumi.IntPtrOutput)
}
-// Resource type.
-func (o CommonVirtualNetworkTapResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *CommonVirtualNetworkTapResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Type
- }).(pulumi.StringPtrOutput)
+// List of properties of the device.
+type DevicePropertiesResponse struct {
+ // Model of the device.
+ DeviceModel *string `pulumi:"deviceModel"`
+ // Name of the device Vendor.
+ DeviceVendor *string `pulumi:"deviceVendor"`
+ // Link speed.
+ LinkSpeedInMbps *int `pulumi:"linkSpeedInMbps"`
}
-type CommonVirtualNetworkTapResponseArrayOutput struct{ *pulumi.OutputState }
+// List of properties of the device.
+type DevicePropertiesResponseOutput struct{ *pulumi.OutputState }
-func (CommonVirtualNetworkTapResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CommonVirtualNetworkTapResponse)(nil)).Elem()
+func (DevicePropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*DevicePropertiesResponse)(nil)).Elem()
}
-func (o CommonVirtualNetworkTapResponseArrayOutput) ToCommonVirtualNetworkTapResponseArrayOutput() CommonVirtualNetworkTapResponseArrayOutput {
+func (o DevicePropertiesResponseOutput) ToDevicePropertiesResponseOutput() DevicePropertiesResponseOutput {
return o
}
-func (o CommonVirtualNetworkTapResponseArrayOutput) ToCommonVirtualNetworkTapResponseArrayOutputWithContext(ctx context.Context) CommonVirtualNetworkTapResponseArrayOutput {
+func (o DevicePropertiesResponseOutput) ToDevicePropertiesResponseOutputWithContext(ctx context.Context) DevicePropertiesResponseOutput {
return o
}
-func (o CommonVirtualNetworkTapResponseArrayOutput) Index(i pulumi.IntInput) CommonVirtualNetworkTapResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonVirtualNetworkTapResponse {
- return vs[0].([]CommonVirtualNetworkTapResponse)[vs[1].(int)]
- }).(CommonVirtualNetworkTapResponseOutput)
+// Model of the device.
+func (o DevicePropertiesResponseOutput) DeviceModel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DevicePropertiesResponse) *string { return v.DeviceModel }).(pulumi.StringPtrOutput)
}
-// The network configuration group resource
-type ConfigurationGroupResponse struct {
- // Network group conditional filter.
- ConditionalMembership *string `pulumi:"conditionalMembership"`
- // A description of the network group.
- Description *string `pulumi:"description"`
- // A friendly name for the network group.
- DisplayName *string `pulumi:"displayName"`
- // Group members of network group.
- GroupMembers []GroupMembersItemResponse `pulumi:"groupMembers"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Group member type.
- MemberType *string `pulumi:"memberType"`
- // The provisioning state of the scope assignment resource.
- ProvisioningState string `pulumi:"provisioningState"`
+// Name of the device Vendor.
+func (o DevicePropertiesResponseOutput) DeviceVendor() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DevicePropertiesResponse) *string { return v.DeviceVendor }).(pulumi.StringPtrOutput)
}
-// The network configuration group resource
-type ConfigurationGroupResponseOutput struct{ *pulumi.OutputState }
+// Link speed.
+func (o DevicePropertiesResponseOutput) LinkSpeedInMbps() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v DevicePropertiesResponse) *int { return v.LinkSpeedInMbps }).(pulumi.IntPtrOutput)
+}
-func (ConfigurationGroupResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConfigurationGroupResponse)(nil)).Elem()
+type DevicePropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (DevicePropertiesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**DevicePropertiesResponse)(nil)).Elem()
}
-func (o ConfigurationGroupResponseOutput) ToConfigurationGroupResponseOutput() ConfigurationGroupResponseOutput {
+func (o DevicePropertiesResponsePtrOutput) ToDevicePropertiesResponsePtrOutput() DevicePropertiesResponsePtrOutput {
return o
}
-func (o ConfigurationGroupResponseOutput) ToConfigurationGroupResponseOutputWithContext(ctx context.Context) ConfigurationGroupResponseOutput {
+func (o DevicePropertiesResponsePtrOutput) ToDevicePropertiesResponsePtrOutputWithContext(ctx context.Context) DevicePropertiesResponsePtrOutput {
return o
}
-// Network group conditional filter.
-func (o ConfigurationGroupResponseOutput) ConditionalMembership() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponse) *string { return v.ConditionalMembership }).(pulumi.StringPtrOutput)
+func (o DevicePropertiesResponsePtrOutput) Elem() DevicePropertiesResponseOutput {
+ return o.ApplyT(func(v *DevicePropertiesResponse) DevicePropertiesResponse {
+ if v != nil {
+ return *v
+ }
+ var ret DevicePropertiesResponse
+ return ret
+ }).(DevicePropertiesResponseOutput)
}
-// A description of the network group.
-func (o ConfigurationGroupResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+// Model of the device.
+func (o DevicePropertiesResponsePtrOutput) DeviceModel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *DevicePropertiesResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DeviceModel
+ }).(pulumi.StringPtrOutput)
}
-// A friendly name for the network group.
-func (o ConfigurationGroupResponseOutput) DisplayName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponse) *string { return v.DisplayName }).(pulumi.StringPtrOutput)
+// Name of the device Vendor.
+func (o DevicePropertiesResponsePtrOutput) DeviceVendor() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *DevicePropertiesResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DeviceVendor
+ }).(pulumi.StringPtrOutput)
}
-// Group members of network group.
-func (o ConfigurationGroupResponseOutput) GroupMembers() GroupMembersItemResponseArrayOutput {
- return o.ApplyT(func(v ConfigurationGroupResponse) []GroupMembersItemResponse { return v.GroupMembers }).(GroupMembersItemResponseArrayOutput)
+// Link speed.
+func (o DevicePropertiesResponsePtrOutput) LinkSpeedInMbps() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *DevicePropertiesResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.LinkSpeedInMbps
+ }).(pulumi.IntPtrOutput)
}
-// Resource ID.
-func (o ConfigurationGroupResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.
+type DhcpOptions struct {
+ // The list of DNS servers IP addresses.
+ DnsServers []string `pulumi:"dnsServers"`
}
-// Group member type.
-func (o ConfigurationGroupResponseOutput) MemberType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponse) *string { return v.MemberType }).(pulumi.StringPtrOutput)
-}
+// DhcpOptionsInput is an input type that accepts DhcpOptionsArgs and DhcpOptionsOutput values.
+// You can construct a concrete instance of `DhcpOptionsInput` via:
+//
+// DhcpOptionsArgs{...}
+type DhcpOptionsInput interface {
+ pulumi.Input
-// The provisioning state of the scope assignment resource.
-func (o ConfigurationGroupResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ConfigurationGroupResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+ ToDhcpOptionsOutput() DhcpOptionsOutput
+ ToDhcpOptionsOutputWithContext(context.Context) DhcpOptionsOutput
}
-type ConfigurationGroupResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (ConfigurationGroupResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConfigurationGroupResponse)(nil)).Elem()
+// DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.
+type DhcpOptionsArgs struct {
+ // The list of DNS servers IP addresses.
+ DnsServers pulumi.StringArrayInput `pulumi:"dnsServers"`
}
-func (o ConfigurationGroupResponseArrayOutput) ToConfigurationGroupResponseArrayOutput() ConfigurationGroupResponseArrayOutput {
- return o
+func (DhcpOptionsArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*DhcpOptions)(nil)).Elem()
}
-func (o ConfigurationGroupResponseArrayOutput) ToConfigurationGroupResponseArrayOutputWithContext(ctx context.Context) ConfigurationGroupResponseArrayOutput {
- return o
+func (i DhcpOptionsArgs) ToDhcpOptionsOutput() DhcpOptionsOutput {
+ return i.ToDhcpOptionsOutputWithContext(context.Background())
}
-func (o ConfigurationGroupResponseArrayOutput) Index(i pulumi.IntInput) ConfigurationGroupResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationGroupResponse {
- return vs[0].([]ConfigurationGroupResponse)[vs[1].(int)]
- }).(ConfigurationGroupResponseOutput)
+func (i DhcpOptionsArgs) ToDhcpOptionsOutputWithContext(ctx context.Context) DhcpOptionsOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DhcpOptionsOutput)
}
-// The network configuration group resource
-type ConfigurationGroupResponseV1 struct {
- // A description of the network group.
- Description *string `pulumi:"description"`
- // Network group ID.
- Id *string `pulumi:"id"`
- // The type of the group member.
- MemberType *string `pulumi:"memberType"`
- // The provisioning state of the scope assignment resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Unique identifier for this resource.
- ResourceGuid string `pulumi:"resourceGuid"`
+func (i DhcpOptionsArgs) ToDhcpOptionsPtrOutput() DhcpOptionsPtrOutput {
+ return i.ToDhcpOptionsPtrOutputWithContext(context.Background())
}
-// The network configuration group resource
-type ConfigurationGroupResponseV1Output struct{ *pulumi.OutputState }
-
-func (ConfigurationGroupResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ConfigurationGroupResponseV1)(nil)).Elem()
+func (i DhcpOptionsArgs) ToDhcpOptionsPtrOutputWithContext(ctx context.Context) DhcpOptionsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DhcpOptionsOutput).ToDhcpOptionsPtrOutputWithContext(ctx)
}
-func (o ConfigurationGroupResponseV1Output) ToConfigurationGroupResponseV1Output() ConfigurationGroupResponseV1Output {
- return o
-}
+// DhcpOptionsPtrInput is an input type that accepts DhcpOptionsArgs, DhcpOptionsPtr and DhcpOptionsPtrOutput values.
+// You can construct a concrete instance of `DhcpOptionsPtrInput` via:
+//
+// DhcpOptionsArgs{...}
+//
+// or:
+//
+// nil
+type DhcpOptionsPtrInput interface {
+ pulumi.Input
-func (o ConfigurationGroupResponseV1Output) ToConfigurationGroupResponseV1OutputWithContext(ctx context.Context) ConfigurationGroupResponseV1Output {
- return o
+ ToDhcpOptionsPtrOutput() DhcpOptionsPtrOutput
+ ToDhcpOptionsPtrOutputWithContext(context.Context) DhcpOptionsPtrOutput
}
-// A description of the network group.
-func (o ConfigurationGroupResponseV1Output) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV1) *string { return v.Description }).(pulumi.StringPtrOutput)
-}
+type dhcpOptionsPtrType DhcpOptionsArgs
-// Network group ID.
-func (o ConfigurationGroupResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+func DhcpOptionsPtr(v *DhcpOptionsArgs) DhcpOptionsPtrInput {
+ return (*dhcpOptionsPtrType)(v)
}
-// The type of the group member.
-func (o ConfigurationGroupResponseV1Output) MemberType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV1) *string { return v.MemberType }).(pulumi.StringPtrOutput)
+func (*dhcpOptionsPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**DhcpOptions)(nil)).Elem()
}
-// The provisioning state of the scope assignment resource.
-func (o ConfigurationGroupResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (i *dhcpOptionsPtrType) ToDhcpOptionsPtrOutput() DhcpOptionsPtrOutput {
+ return i.ToDhcpOptionsPtrOutputWithContext(context.Background())
}
-// Unique identifier for this resource.
-func (o ConfigurationGroupResponseV1Output) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV1) string { return v.ResourceGuid }).(pulumi.StringOutput)
+func (i *dhcpOptionsPtrType) ToDhcpOptionsPtrOutputWithContext(ctx context.Context) DhcpOptionsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DhcpOptionsPtrOutput)
}
-type ConfigurationGroupResponseV1ArrayOutput struct{ *pulumi.OutputState }
+// DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.
+type DhcpOptionsOutput struct{ *pulumi.OutputState }
-func (ConfigurationGroupResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConfigurationGroupResponseV1)(nil)).Elem()
+func (DhcpOptionsOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*DhcpOptions)(nil)).Elem()
}
-func (o ConfigurationGroupResponseV1ArrayOutput) ToConfigurationGroupResponseV1ArrayOutput() ConfigurationGroupResponseV1ArrayOutput {
+func (o DhcpOptionsOutput) ToDhcpOptionsOutput() DhcpOptionsOutput {
return o
}
-func (o ConfigurationGroupResponseV1ArrayOutput) ToConfigurationGroupResponseV1ArrayOutputWithContext(ctx context.Context) ConfigurationGroupResponseV1ArrayOutput {
+func (o DhcpOptionsOutput) ToDhcpOptionsOutputWithContext(ctx context.Context) DhcpOptionsOutput {
return o
}
-func (o ConfigurationGroupResponseV1ArrayOutput) Index(i pulumi.IntInput) ConfigurationGroupResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationGroupResponseV1 {
- return vs[0].([]ConfigurationGroupResponseV1)[vs[1].(int)]
- }).(ConfigurationGroupResponseV1Output)
+func (o DhcpOptionsOutput) ToDhcpOptionsPtrOutput() DhcpOptionsPtrOutput {
+ return o.ToDhcpOptionsPtrOutputWithContext(context.Background())
}
-// The network configuration group resource
-type ConfigurationGroupResponseV2 struct {
- // A description of the network group.
- Description *string `pulumi:"description"`
- // Network group ID.
- Id *string `pulumi:"id"`
- // The type of the group member.
- MemberType *string `pulumi:"memberType"`
- // The provisioning state of the scope assignment resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Unique identifier for this resource.
- ResourceGuid string `pulumi:"resourceGuid"`
+func (o DhcpOptionsOutput) ToDhcpOptionsPtrOutputWithContext(ctx context.Context) DhcpOptionsPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v DhcpOptions) *DhcpOptions {
+ return &v
+ }).(DhcpOptionsPtrOutput)
}
-// The network configuration group resource
-type ConfigurationGroupResponseV2Output struct{ *pulumi.OutputState }
-
-func (ConfigurationGroupResponseV2Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ConfigurationGroupResponseV2)(nil)).Elem()
+// The list of DNS servers IP addresses.
+func (o DhcpOptionsOutput) DnsServers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v DhcpOptions) []string { return v.DnsServers }).(pulumi.StringArrayOutput)
}
-func (o ConfigurationGroupResponseV2Output) ToConfigurationGroupResponseV2Output() ConfigurationGroupResponseV2Output {
- return o
-}
+type DhcpOptionsPtrOutput struct{ *pulumi.OutputState }
-func (o ConfigurationGroupResponseV2Output) ToConfigurationGroupResponseV2OutputWithContext(ctx context.Context) ConfigurationGroupResponseV2Output {
- return o
+func (DhcpOptionsPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**DhcpOptions)(nil)).Elem()
}
-// A description of the network group.
-func (o ConfigurationGroupResponseV2Output) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV2) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o DhcpOptionsPtrOutput) ToDhcpOptionsPtrOutput() DhcpOptionsPtrOutput {
+ return o
}
-// Network group ID.
-func (o ConfigurationGroupResponseV2Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV2) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o DhcpOptionsPtrOutput) ToDhcpOptionsPtrOutputWithContext(ctx context.Context) DhcpOptionsPtrOutput {
+ return o
}
-// The type of the group member.
-func (o ConfigurationGroupResponseV2Output) MemberType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV2) *string { return v.MemberType }).(pulumi.StringPtrOutput)
+func (o DhcpOptionsPtrOutput) Elem() DhcpOptionsOutput {
+ return o.ApplyT(func(v *DhcpOptions) DhcpOptions {
+ if v != nil {
+ return *v
+ }
+ var ret DhcpOptions
+ return ret
+ }).(DhcpOptionsOutput)
}
-// The provisioning state of the scope assignment resource.
-func (o ConfigurationGroupResponseV2Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV2) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The list of DNS servers IP addresses.
+func (o DhcpOptionsPtrOutput) DnsServers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *DhcpOptions) []string {
+ if v == nil {
+ return nil
+ }
+ return v.DnsServers
+ }).(pulumi.StringArrayOutput)
}
-// Unique identifier for this resource.
-func (o ConfigurationGroupResponseV2Output) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV2) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.
+type DhcpOptionsResponse struct {
+ // The list of DNS servers IP addresses.
+ DnsServers []string `pulumi:"dnsServers"`
}
-type ConfigurationGroupResponseV2ArrayOutput struct{ *pulumi.OutputState }
+// DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.
+type DhcpOptionsResponseOutput struct{ *pulumi.OutputState }
-func (ConfigurationGroupResponseV2ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConfigurationGroupResponseV2)(nil)).Elem()
+func (DhcpOptionsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*DhcpOptionsResponse)(nil)).Elem()
}
-func (o ConfigurationGroupResponseV2ArrayOutput) ToConfigurationGroupResponseV2ArrayOutput() ConfigurationGroupResponseV2ArrayOutput {
+func (o DhcpOptionsResponseOutput) ToDhcpOptionsResponseOutput() DhcpOptionsResponseOutput {
return o
}
-func (o ConfigurationGroupResponseV2ArrayOutput) ToConfigurationGroupResponseV2ArrayOutputWithContext(ctx context.Context) ConfigurationGroupResponseV2ArrayOutput {
+func (o DhcpOptionsResponseOutput) ToDhcpOptionsResponseOutputWithContext(ctx context.Context) DhcpOptionsResponseOutput {
return o
}
-func (o ConfigurationGroupResponseV2ArrayOutput) Index(i pulumi.IntInput) ConfigurationGroupResponseV2Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationGroupResponseV2 {
- return vs[0].([]ConfigurationGroupResponseV2)[vs[1].(int)]
- }).(ConfigurationGroupResponseV2Output)
-}
-
-// The network configuration group resource
-type ConfigurationGroupResponseV3 struct {
- // A description of the network group.
- Description *string `pulumi:"description"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Group member type.
- MemberType string `pulumi:"memberType"`
- // The provisioning state of the scope assignment resource.
- ProvisioningState string `pulumi:"provisioningState"`
+// The list of DNS servers IP addresses.
+func (o DhcpOptionsResponseOutput) DnsServers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v DhcpOptionsResponse) []string { return v.DnsServers }).(pulumi.StringArrayOutput)
}
-// The network configuration group resource
-type ConfigurationGroupResponseV3Output struct{ *pulumi.OutputState }
+type DhcpOptionsResponsePtrOutput struct{ *pulumi.OutputState }
-func (ConfigurationGroupResponseV3Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ConfigurationGroupResponseV3)(nil)).Elem()
+func (DhcpOptionsResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**DhcpOptionsResponse)(nil)).Elem()
}
-func (o ConfigurationGroupResponseV3Output) ToConfigurationGroupResponseV3Output() ConfigurationGroupResponseV3Output {
+func (o DhcpOptionsResponsePtrOutput) ToDhcpOptionsResponsePtrOutput() DhcpOptionsResponsePtrOutput {
return o
}
-func (o ConfigurationGroupResponseV3Output) ToConfigurationGroupResponseV3OutputWithContext(ctx context.Context) ConfigurationGroupResponseV3Output {
+func (o DhcpOptionsResponsePtrOutput) ToDhcpOptionsResponsePtrOutputWithContext(ctx context.Context) DhcpOptionsResponsePtrOutput {
return o
}
-// A description of the network group.
-func (o ConfigurationGroupResponseV3Output) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV3) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o DhcpOptionsResponsePtrOutput) Elem() DhcpOptionsResponseOutput {
+ return o.ApplyT(func(v *DhcpOptionsResponse) DhcpOptionsResponse {
+ if v != nil {
+ return *v
+ }
+ var ret DhcpOptionsResponse
+ return ret
+ }).(DhcpOptionsResponseOutput)
}
-// Resource ID.
-func (o ConfigurationGroupResponseV3Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV3) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// Group member type.
-func (o ConfigurationGroupResponseV3Output) MemberType() pulumi.StringOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV3) string { return v.MemberType }).(pulumi.StringOutput)
+// The list of DNS servers IP addresses.
+func (o DhcpOptionsResponsePtrOutput) DnsServers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *DhcpOptionsResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.DnsServers
+ }).(pulumi.StringArrayOutput)
}
-// The provisioning state of the scope assignment resource.
-func (o ConfigurationGroupResponseV3Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV3) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// DNS Proxy Settings in Firewall Policy.
+type DnsSettings struct {
+ // Enable DNS Proxy on Firewalls attached to the Firewall Policy.
+ EnableProxy *bool `pulumi:"enableProxy"`
+ // FQDNs in Network Rules are supported when set to true.
+ RequireProxyForNetworkRules *bool `pulumi:"requireProxyForNetworkRules"`
+ // List of Custom DNS Servers.
+ Servers []string `pulumi:"servers"`
}
-type ConfigurationGroupResponseV3ArrayOutput struct{ *pulumi.OutputState }
+// DnsSettingsInput is an input type that accepts DnsSettingsArgs and DnsSettingsOutput values.
+// You can construct a concrete instance of `DnsSettingsInput` via:
+//
+// DnsSettingsArgs{...}
+type DnsSettingsInput interface {
+ pulumi.Input
-func (ConfigurationGroupResponseV3ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConfigurationGroupResponseV3)(nil)).Elem()
+ ToDnsSettingsOutput() DnsSettingsOutput
+ ToDnsSettingsOutputWithContext(context.Context) DnsSettingsOutput
}
-func (o ConfigurationGroupResponseV3ArrayOutput) ToConfigurationGroupResponseV3ArrayOutput() ConfigurationGroupResponseV3ArrayOutput {
- return o
+// DNS Proxy Settings in Firewall Policy.
+type DnsSettingsArgs struct {
+ // Enable DNS Proxy on Firewalls attached to the Firewall Policy.
+ EnableProxy pulumi.BoolPtrInput `pulumi:"enableProxy"`
+ // FQDNs in Network Rules are supported when set to true.
+ RequireProxyForNetworkRules pulumi.BoolPtrInput `pulumi:"requireProxyForNetworkRules"`
+ // List of Custom DNS Servers.
+ Servers pulumi.StringArrayInput `pulumi:"servers"`
}
-func (o ConfigurationGroupResponseV3ArrayOutput) ToConfigurationGroupResponseV3ArrayOutputWithContext(ctx context.Context) ConfigurationGroupResponseV3ArrayOutput {
- return o
+func (DnsSettingsArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*DnsSettings)(nil)).Elem()
}
-func (o ConfigurationGroupResponseV3ArrayOutput) Index(i pulumi.IntInput) ConfigurationGroupResponseV3Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationGroupResponseV3 {
- return vs[0].([]ConfigurationGroupResponseV3)[vs[1].(int)]
- }).(ConfigurationGroupResponseV3Output)
+func (i DnsSettingsArgs) ToDnsSettingsOutput() DnsSettingsOutput {
+ return i.ToDnsSettingsOutputWithContext(context.Background())
}
-// The network configuration group resource
-type ConfigurationGroupResponseV4 struct {
- // A description of the network group.
- Description *string `pulumi:"description"`
- // Network group ID.
- Id *string `pulumi:"id"`
- // The type of the group member.
- MemberType *string `pulumi:"memberType"`
- // The provisioning state of the scope assignment resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Unique identifier for this resource.
- ResourceGuid string `pulumi:"resourceGuid"`
+func (i DnsSettingsArgs) ToDnsSettingsOutputWithContext(ctx context.Context) DnsSettingsOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DnsSettingsOutput)
}
-// The network configuration group resource
-type ConfigurationGroupResponseV4Output struct{ *pulumi.OutputState }
-
-func (ConfigurationGroupResponseV4Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ConfigurationGroupResponseV4)(nil)).Elem()
+func (i DnsSettingsArgs) ToDnsSettingsPtrOutput() DnsSettingsPtrOutput {
+ return i.ToDnsSettingsPtrOutputWithContext(context.Background())
}
-func (o ConfigurationGroupResponseV4Output) ToConfigurationGroupResponseV4Output() ConfigurationGroupResponseV4Output {
- return o
+func (i DnsSettingsArgs) ToDnsSettingsPtrOutputWithContext(ctx context.Context) DnsSettingsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DnsSettingsOutput).ToDnsSettingsPtrOutputWithContext(ctx)
}
-func (o ConfigurationGroupResponseV4Output) ToConfigurationGroupResponseV4OutputWithContext(ctx context.Context) ConfigurationGroupResponseV4Output {
- return o
-}
+// DnsSettingsPtrInput is an input type that accepts DnsSettingsArgs, DnsSettingsPtr and DnsSettingsPtrOutput values.
+// You can construct a concrete instance of `DnsSettingsPtrInput` via:
+//
+// DnsSettingsArgs{...}
+//
+// or:
+//
+// nil
+type DnsSettingsPtrInput interface {
+ pulumi.Input
-// A description of the network group.
-func (o ConfigurationGroupResponseV4Output) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV4) *string { return v.Description }).(pulumi.StringPtrOutput)
+ ToDnsSettingsPtrOutput() DnsSettingsPtrOutput
+ ToDnsSettingsPtrOutputWithContext(context.Context) DnsSettingsPtrOutput
}
-// Network group ID.
-func (o ConfigurationGroupResponseV4Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV4) *string { return v.Id }).(pulumi.StringPtrOutput)
+type dnsSettingsPtrType DnsSettingsArgs
+
+func DnsSettingsPtr(v *DnsSettingsArgs) DnsSettingsPtrInput {
+ return (*dnsSettingsPtrType)(v)
}
-// The type of the group member.
-func (o ConfigurationGroupResponseV4Output) MemberType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV4) *string { return v.MemberType }).(pulumi.StringPtrOutput)
+func (*dnsSettingsPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**DnsSettings)(nil)).Elem()
}
-// The provisioning state of the scope assignment resource.
-func (o ConfigurationGroupResponseV4Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV4) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (i *dnsSettingsPtrType) ToDnsSettingsPtrOutput() DnsSettingsPtrOutput {
+ return i.ToDnsSettingsPtrOutputWithContext(context.Background())
}
-// Unique identifier for this resource.
-func (o ConfigurationGroupResponseV4Output) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV4) string { return v.ResourceGuid }).(pulumi.StringOutput)
+func (i *dnsSettingsPtrType) ToDnsSettingsPtrOutputWithContext(ctx context.Context) DnsSettingsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(DnsSettingsPtrOutput)
}
-type ConfigurationGroupResponseV4ArrayOutput struct{ *pulumi.OutputState }
+// DNS Proxy Settings in Firewall Policy.
+type DnsSettingsOutput struct{ *pulumi.OutputState }
-func (ConfigurationGroupResponseV4ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConfigurationGroupResponseV4)(nil)).Elem()
+func (DnsSettingsOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*DnsSettings)(nil)).Elem()
}
-func (o ConfigurationGroupResponseV4ArrayOutput) ToConfigurationGroupResponseV4ArrayOutput() ConfigurationGroupResponseV4ArrayOutput {
+func (o DnsSettingsOutput) ToDnsSettingsOutput() DnsSettingsOutput {
return o
}
-func (o ConfigurationGroupResponseV4ArrayOutput) ToConfigurationGroupResponseV4ArrayOutputWithContext(ctx context.Context) ConfigurationGroupResponseV4ArrayOutput {
+func (o DnsSettingsOutput) ToDnsSettingsOutputWithContext(ctx context.Context) DnsSettingsOutput {
return o
}
-func (o ConfigurationGroupResponseV4ArrayOutput) Index(i pulumi.IntInput) ConfigurationGroupResponseV4Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationGroupResponseV4 {
- return vs[0].([]ConfigurationGroupResponseV4)[vs[1].(int)]
- }).(ConfigurationGroupResponseV4Output)
+func (o DnsSettingsOutput) ToDnsSettingsPtrOutput() DnsSettingsPtrOutput {
+ return o.ToDnsSettingsPtrOutputWithContext(context.Background())
}
-// The network configuration group resource
-type ConfigurationGroupResponseV5 struct {
- // A description of the network group.
- Description *string `pulumi:"description"`
- // Network group ID.
- Id *string `pulumi:"id"`
- // The type of the group member.
- MemberType *string `pulumi:"memberType"`
- // The provisioning state of the scope assignment resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Unique identifier for this resource.
- ResourceGuid string `pulumi:"resourceGuid"`
+func (o DnsSettingsOutput) ToDnsSettingsPtrOutputWithContext(ctx context.Context) DnsSettingsPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v DnsSettings) *DnsSettings {
+ return &v
+ }).(DnsSettingsPtrOutput)
}
-// The network configuration group resource
-type ConfigurationGroupResponseV5Output struct{ *pulumi.OutputState }
+// Enable DNS Proxy on Firewalls attached to the Firewall Policy.
+func (o DnsSettingsOutput) EnableProxy() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v DnsSettings) *bool { return v.EnableProxy }).(pulumi.BoolPtrOutput)
+}
+
+// FQDNs in Network Rules are supported when set to true.
+func (o DnsSettingsOutput) RequireProxyForNetworkRules() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v DnsSettings) *bool { return v.RequireProxyForNetworkRules }).(pulumi.BoolPtrOutput)
+}
+
+// List of Custom DNS Servers.
+func (o DnsSettingsOutput) Servers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v DnsSettings) []string { return v.Servers }).(pulumi.StringArrayOutput)
+}
-func (ConfigurationGroupResponseV5Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ConfigurationGroupResponseV5)(nil)).Elem()
+type DnsSettingsPtrOutput struct{ *pulumi.OutputState }
+
+func (DnsSettingsPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**DnsSettings)(nil)).Elem()
}
-func (o ConfigurationGroupResponseV5Output) ToConfigurationGroupResponseV5Output() ConfigurationGroupResponseV5Output {
+func (o DnsSettingsPtrOutput) ToDnsSettingsPtrOutput() DnsSettingsPtrOutput {
return o
}
-func (o ConfigurationGroupResponseV5Output) ToConfigurationGroupResponseV5OutputWithContext(ctx context.Context) ConfigurationGroupResponseV5Output {
+func (o DnsSettingsPtrOutput) ToDnsSettingsPtrOutputWithContext(ctx context.Context) DnsSettingsPtrOutput {
return o
}
-// A description of the network group.
-func (o ConfigurationGroupResponseV5Output) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV5) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o DnsSettingsPtrOutput) Elem() DnsSettingsOutput {
+ return o.ApplyT(func(v *DnsSettings) DnsSettings {
+ if v != nil {
+ return *v
+ }
+ var ret DnsSettings
+ return ret
+ }).(DnsSettingsOutput)
}
-// Network group ID.
-func (o ConfigurationGroupResponseV5Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV5) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Enable DNS Proxy on Firewalls attached to the Firewall Policy.
+func (o DnsSettingsPtrOutput) EnableProxy() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *DnsSettings) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnableProxy
+ }).(pulumi.BoolPtrOutput)
}
-// The type of the group member.
-func (o ConfigurationGroupResponseV5Output) MemberType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV5) *string { return v.MemberType }).(pulumi.StringPtrOutput)
+// FQDNs in Network Rules are supported when set to true.
+func (o DnsSettingsPtrOutput) RequireProxyForNetworkRules() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *DnsSettings) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.RequireProxyForNetworkRules
+ }).(pulumi.BoolPtrOutput)
}
-// The provisioning state of the scope assignment resource.
-func (o ConfigurationGroupResponseV5Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV5) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// List of Custom DNS Servers.
+func (o DnsSettingsPtrOutput) Servers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *DnsSettings) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Servers
+ }).(pulumi.StringArrayOutput)
}
-// Unique identifier for this resource.
-func (o ConfigurationGroupResponseV5Output) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v ConfigurationGroupResponseV5) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// DNS Proxy Settings in Firewall Policy.
+type DnsSettingsResponse struct {
+ // Enable DNS Proxy on Firewalls attached to the Firewall Policy.
+ EnableProxy *bool `pulumi:"enableProxy"`
+ // FQDNs in Network Rules are supported when set to true.
+ RequireProxyForNetworkRules *bool `pulumi:"requireProxyForNetworkRules"`
+ // List of Custom DNS Servers.
+ Servers []string `pulumi:"servers"`
}
-type ConfigurationGroupResponseV5ArrayOutput struct{ *pulumi.OutputState }
+// DNS Proxy Settings in Firewall Policy.
+type DnsSettingsResponseOutput struct{ *pulumi.OutputState }
-func (ConfigurationGroupResponseV5ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConfigurationGroupResponseV5)(nil)).Elem()
+func (DnsSettingsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*DnsSettingsResponse)(nil)).Elem()
}
-func (o ConfigurationGroupResponseV5ArrayOutput) ToConfigurationGroupResponseV5ArrayOutput() ConfigurationGroupResponseV5ArrayOutput {
+func (o DnsSettingsResponseOutput) ToDnsSettingsResponseOutput() DnsSettingsResponseOutput {
return o
}
-func (o ConfigurationGroupResponseV5ArrayOutput) ToConfigurationGroupResponseV5ArrayOutputWithContext(ctx context.Context) ConfigurationGroupResponseV5ArrayOutput {
+func (o DnsSettingsResponseOutput) ToDnsSettingsResponseOutputWithContext(ctx context.Context) DnsSettingsResponseOutput {
return o
}
-func (o ConfigurationGroupResponseV5ArrayOutput) Index(i pulumi.IntInput) ConfigurationGroupResponseV5Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigurationGroupResponseV5 {
- return vs[0].([]ConfigurationGroupResponseV5)[vs[1].(int)]
- }).(ConfigurationGroupResponseV5Output)
+// Enable DNS Proxy on Firewalls attached to the Firewall Policy.
+func (o DnsSettingsResponseOutput) EnableProxy() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v DnsSettingsResponse) *bool { return v.EnableProxy }).(pulumi.BoolPtrOutput)
}
-// Describes the destination of connection monitor.
-type ConnectionMonitorDestination struct {
- // Address of the connection monitor destination (IP or domain name).
- Address *string `pulumi:"address"`
- // The destination port used by connection monitor.
- Port *int `pulumi:"port"`
- // The ID of the resource used as the destination by connection monitor.
- ResourceId *string `pulumi:"resourceId"`
+// FQDNs in Network Rules are supported when set to true.
+func (o DnsSettingsResponseOutput) RequireProxyForNetworkRules() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v DnsSettingsResponse) *bool { return v.RequireProxyForNetworkRules }).(pulumi.BoolPtrOutput)
}
-// ConnectionMonitorDestinationInput is an input type that accepts ConnectionMonitorDestinationArgs and ConnectionMonitorDestinationOutput values.
-// You can construct a concrete instance of `ConnectionMonitorDestinationInput` via:
-//
-// ConnectionMonitorDestinationArgs{...}
-type ConnectionMonitorDestinationInput interface {
- pulumi.Input
-
- ToConnectionMonitorDestinationOutput() ConnectionMonitorDestinationOutput
- ToConnectionMonitorDestinationOutputWithContext(context.Context) ConnectionMonitorDestinationOutput
+// List of Custom DNS Servers.
+func (o DnsSettingsResponseOutput) Servers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v DnsSettingsResponse) []string { return v.Servers }).(pulumi.StringArrayOutput)
}
-// Describes the destination of connection monitor.
-type ConnectionMonitorDestinationArgs struct {
- // Address of the connection monitor destination (IP or domain name).
- Address pulumi.StringPtrInput `pulumi:"address"`
- // The destination port used by connection monitor.
- Port pulumi.IntPtrInput `pulumi:"port"`
- // The ID of the resource used as the destination by connection monitor.
- ResourceId pulumi.StringPtrInput `pulumi:"resourceId"`
+type DnsSettingsResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (DnsSettingsResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**DnsSettingsResponse)(nil)).Elem()
}
-func (ConnectionMonitorDestinationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorDestination)(nil)).Elem()
+func (o DnsSettingsResponsePtrOutput) ToDnsSettingsResponsePtrOutput() DnsSettingsResponsePtrOutput {
+ return o
}
-func (i ConnectionMonitorDestinationArgs) ToConnectionMonitorDestinationOutput() ConnectionMonitorDestinationOutput {
- return i.ToConnectionMonitorDestinationOutputWithContext(context.Background())
+func (o DnsSettingsResponsePtrOutput) ToDnsSettingsResponsePtrOutputWithContext(ctx context.Context) DnsSettingsResponsePtrOutput {
+ return o
}
-func (i ConnectionMonitorDestinationArgs) ToConnectionMonitorDestinationOutputWithContext(ctx context.Context) ConnectionMonitorDestinationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorDestinationOutput)
+func (o DnsSettingsResponsePtrOutput) Elem() DnsSettingsResponseOutput {
+ return o.ApplyT(func(v *DnsSettingsResponse) DnsSettingsResponse {
+ if v != nil {
+ return *v
+ }
+ var ret DnsSettingsResponse
+ return ret
+ }).(DnsSettingsResponseOutput)
}
-func (i ConnectionMonitorDestinationArgs) ToConnectionMonitorDestinationPtrOutput() ConnectionMonitorDestinationPtrOutput {
- return i.ToConnectionMonitorDestinationPtrOutputWithContext(context.Background())
+// Enable DNS Proxy on Firewalls attached to the Firewall Policy.
+func (o DnsSettingsResponsePtrOutput) EnableProxy() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *DnsSettingsResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnableProxy
+ }).(pulumi.BoolPtrOutput)
}
-func (i ConnectionMonitorDestinationArgs) ToConnectionMonitorDestinationPtrOutputWithContext(ctx context.Context) ConnectionMonitorDestinationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorDestinationOutput).ToConnectionMonitorDestinationPtrOutputWithContext(ctx)
+// FQDNs in Network Rules are supported when set to true.
+func (o DnsSettingsResponsePtrOutput) RequireProxyForNetworkRules() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *DnsSettingsResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.RequireProxyForNetworkRules
+ }).(pulumi.BoolPtrOutput)
}
-// ConnectionMonitorDestinationPtrInput is an input type that accepts ConnectionMonitorDestinationArgs, ConnectionMonitorDestinationPtr and ConnectionMonitorDestinationPtrOutput values.
-// You can construct a concrete instance of `ConnectionMonitorDestinationPtrInput` via:
-//
-// ConnectionMonitorDestinationArgs{...}
-//
-// or:
-//
-// nil
-type ConnectionMonitorDestinationPtrInput interface {
- pulumi.Input
+// List of Custom DNS Servers.
+func (o DnsSettingsResponsePtrOutput) Servers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *DnsSettingsResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Servers
+ }).(pulumi.StringArrayOutput)
+}
- ToConnectionMonitorDestinationPtrOutput() ConnectionMonitorDestinationPtrOutput
- ToConnectionMonitorDestinationPtrOutputWithContext(context.Context) ConnectionMonitorDestinationPtrOutput
+// The network manager effective connectivity configuration
+type EffectiveConnectivityConfigurationResponse struct {
+ // Groups for configuration
+ AppliesToGroups []ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponse `pulumi:"appliesToGroups"`
+ // Effective configuration groups.
+ ConfigurationGroups []ConfigurationGroupResponse `pulumi:"configurationGroups"`
+ // Connectivity topology type.
+ ConnectivityTopology string `pulumi:"connectivityTopology"`
+ // Flag if need to remove current existing peerings.
+ DeleteExistingPeering *string `pulumi:"deleteExistingPeering"`
+ // A description of the connectivity configuration.
+ Description *string `pulumi:"description"`
+ // A friendly name for the resource.
+ DisplayName *string `pulumi:"displayName"`
+ // List of hubItems
+ Hubs []HubResponse `pulumi:"hubs"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Flag if global mesh is supported.
+ IsGlobal *string `pulumi:"isGlobal"`
+ // The provisioning state of the connectivity configuration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
}
-type connectionMonitorDestinationPtrType ConnectionMonitorDestinationArgs
+// The network manager effective connectivity configuration
+type EffectiveConnectivityConfigurationResponseOutput struct{ *pulumi.OutputState }
-func ConnectionMonitorDestinationPtr(v *ConnectionMonitorDestinationArgs) ConnectionMonitorDestinationPtrInput {
- return (*connectionMonitorDestinationPtrType)(v)
+func (EffectiveConnectivityConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*EffectiveConnectivityConfigurationResponse)(nil)).Elem()
}
-func (*connectionMonitorDestinationPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorDestination)(nil)).Elem()
+func (o EffectiveConnectivityConfigurationResponseOutput) ToEffectiveConnectivityConfigurationResponseOutput() EffectiveConnectivityConfigurationResponseOutput {
+ return o
}
-func (i *connectionMonitorDestinationPtrType) ToConnectionMonitorDestinationPtrOutput() ConnectionMonitorDestinationPtrOutput {
- return i.ToConnectionMonitorDestinationPtrOutputWithContext(context.Background())
+func (o EffectiveConnectivityConfigurationResponseOutput) ToEffectiveConnectivityConfigurationResponseOutputWithContext(ctx context.Context) EffectiveConnectivityConfigurationResponseOutput {
+ return o
}
-func (i *connectionMonitorDestinationPtrType) ToConnectionMonitorDestinationPtrOutputWithContext(ctx context.Context) ConnectionMonitorDestinationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorDestinationPtrOutput)
+// Groups for configuration
+func (o EffectiveConnectivityConfigurationResponseOutput) AppliesToGroups() ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) []ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponse {
+ return v.AppliesToGroups
+ }).(ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseArrayOutput)
}
-// Describes the destination of connection monitor.
-type ConnectionMonitorDestinationOutput struct{ *pulumi.OutputState }
+// Effective configuration groups.
+func (o EffectiveConnectivityConfigurationResponseOutput) ConfigurationGroups() ConfigurationGroupResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) []ConfigurationGroupResponse {
+ return v.ConfigurationGroups
+ }).(ConfigurationGroupResponseArrayOutput)
+}
-func (ConnectionMonitorDestinationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorDestination)(nil)).Elem()
+// Connectivity topology type.
+func (o EffectiveConnectivityConfigurationResponseOutput) ConnectivityTopology() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) string { return v.ConnectivityTopology }).(pulumi.StringOutput)
}
-func (o ConnectionMonitorDestinationOutput) ToConnectionMonitorDestinationOutput() ConnectionMonitorDestinationOutput {
- return o
+// Flag if need to remove current existing peerings.
+func (o EffectiveConnectivityConfigurationResponseOutput) DeleteExistingPeering() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) *string { return v.DeleteExistingPeering }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorDestinationOutput) ToConnectionMonitorDestinationOutputWithContext(ctx context.Context) ConnectionMonitorDestinationOutput {
- return o
+// A description of the connectivity configuration.
+func (o EffectiveConnectivityConfigurationResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorDestinationOutput) ToConnectionMonitorDestinationPtrOutput() ConnectionMonitorDestinationPtrOutput {
- return o.ToConnectionMonitorDestinationPtrOutputWithContext(context.Background())
+// A friendly name for the resource.
+func (o EffectiveConnectivityConfigurationResponseOutput) DisplayName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) *string { return v.DisplayName }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorDestinationOutput) ToConnectionMonitorDestinationPtrOutputWithContext(ctx context.Context) ConnectionMonitorDestinationPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorDestination) *ConnectionMonitorDestination {
- return &v
- }).(ConnectionMonitorDestinationPtrOutput)
+// List of hubItems
+func (o EffectiveConnectivityConfigurationResponseOutput) Hubs() HubResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) []HubResponse { return v.Hubs }).(HubResponseArrayOutput)
}
-// Address of the connection monitor destination (IP or domain name).
-func (o ConnectionMonitorDestinationOutput) Address() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorDestination) *string { return v.Address }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o EffectiveConnectivityConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The destination port used by connection monitor.
-func (o ConnectionMonitorDestinationOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorDestination) *int { return v.Port }).(pulumi.IntPtrOutput)
+// Flag if global mesh is supported.
+func (o EffectiveConnectivityConfigurationResponseOutput) IsGlobal() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) *string { return v.IsGlobal }).(pulumi.StringPtrOutput)
}
-// The ID of the resource used as the destination by connection monitor.
-func (o ConnectionMonitorDestinationOutput) ResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorDestination) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
+// The provisioning state of the connectivity configuration resource.
+func (o EffectiveConnectivityConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-type ConnectionMonitorDestinationPtrOutput struct{ *pulumi.OutputState }
+type EffectiveConnectivityConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorDestinationPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorDestination)(nil)).Elem()
+func (EffectiveConnectivityConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]EffectiveConnectivityConfigurationResponse)(nil)).Elem()
}
-func (o ConnectionMonitorDestinationPtrOutput) ToConnectionMonitorDestinationPtrOutput() ConnectionMonitorDestinationPtrOutput {
+func (o EffectiveConnectivityConfigurationResponseArrayOutput) ToEffectiveConnectivityConfigurationResponseArrayOutput() EffectiveConnectivityConfigurationResponseArrayOutput {
return o
}
-func (o ConnectionMonitorDestinationPtrOutput) ToConnectionMonitorDestinationPtrOutputWithContext(ctx context.Context) ConnectionMonitorDestinationPtrOutput {
+func (o EffectiveConnectivityConfigurationResponseArrayOutput) ToEffectiveConnectivityConfigurationResponseArrayOutputWithContext(ctx context.Context) EffectiveConnectivityConfigurationResponseArrayOutput {
return o
}
-func (o ConnectionMonitorDestinationPtrOutput) Elem() ConnectionMonitorDestinationOutput {
- return o.ApplyT(func(v *ConnectionMonitorDestination) ConnectionMonitorDestination {
- if v != nil {
- return *v
- }
- var ret ConnectionMonitorDestination
- return ret
- }).(ConnectionMonitorDestinationOutput)
+func (o EffectiveConnectivityConfigurationResponseArrayOutput) Index(i pulumi.IntInput) EffectiveConnectivityConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) EffectiveConnectivityConfigurationResponse {
+ return vs[0].([]EffectiveConnectivityConfigurationResponse)[vs[1].(int)]
+ }).(EffectiveConnectivityConfigurationResponseOutput)
}
-// Address of the connection monitor destination (IP or domain name).
-func (o ConnectionMonitorDestinationPtrOutput) Address() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorDestination) *string {
- if v == nil {
- return nil
- }
- return v.Address
- }).(pulumi.StringPtrOutput)
+// The network manager effective connectivity configuration
+type EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse struct {
+ // Groups for configuration
+ AppliesToGroups []ConnectivityGroupItemResponse `pulumi:"appliesToGroups"`
+ // Effective configuration groups.
+ ConfigurationGroups []ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponse `pulumi:"configurationGroups"`
+ // Connectivity topology type.
+ ConnectivityTopology string `pulumi:"connectivityTopology"`
+ // Flag if need to remove current existing peerings.
+ DeleteExistingPeering *string `pulumi:"deleteExistingPeering"`
+ // A description of the connectivity configuration.
+ Description *string `pulumi:"description"`
+ // List of hubItems
+ Hubs []HubResponse `pulumi:"hubs"`
+ // Connectivity configuration ID.
+ Id *string `pulumi:"id"`
+ // Flag if global mesh is supported.
+ IsGlobal *string `pulumi:"isGlobal"`
+ // The provisioning state of the connectivity configuration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Unique identifier for this resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
}
-// The destination port used by connection monitor.
-func (o ConnectionMonitorDestinationPtrOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorDestination) *int {
- if v == nil {
- return nil
- }
- return v.Port
- }).(pulumi.IntPtrOutput)
+// The network manager effective connectivity configuration
+type EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput struct{ *pulumi.OutputState }
+
+func (EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse)(nil)).Elem()
}
-// The ID of the resource used as the destination by connection monitor.
-func (o ConnectionMonitorDestinationPtrOutput) ResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorDestination) *string {
- if v == nil {
- return nil
- }
- return v.ResourceId
- }).(pulumi.StringPtrOutput)
+func (o EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) ToEffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput() EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput {
+ return o
}
-// Describes the destination of connection monitor.
-type ConnectionMonitorDestinationResponse struct {
- // Address of the connection monitor destination (IP or domain name).
- Address *string `pulumi:"address"`
- // The destination port used by connection monitor.
- Port *int `pulumi:"port"`
- // The ID of the resource used as the destination by connection monitor.
- ResourceId *string `pulumi:"resourceId"`
+func (o EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) ToEffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutputWithContext(ctx context.Context) EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput {
+ return o
}
-// Describes the destination of connection monitor.
-type ConnectionMonitorDestinationResponseOutput struct{ *pulumi.OutputState }
+// Groups for configuration
+func (o EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) AppliesToGroups() ConnectivityGroupItemResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse) []ConnectivityGroupItemResponse {
+ return v.AppliesToGroups
+ }).(ConnectivityGroupItemResponseArrayOutput)
+}
-func (ConnectionMonitorDestinationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorDestinationResponse)(nil)).Elem()
+// Effective configuration groups.
+func (o EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) ConfigurationGroups() ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse) []ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponse {
+ return v.ConfigurationGroups
+ }).(ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput)
}
-func (o ConnectionMonitorDestinationResponseOutput) ToConnectionMonitorDestinationResponseOutput() ConnectionMonitorDestinationResponseOutput {
- return o
+// Connectivity topology type.
+func (o EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) ConnectivityTopology() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse) string {
+ return v.ConnectivityTopology
+ }).(pulumi.StringOutput)
}
-func (o ConnectionMonitorDestinationResponseOutput) ToConnectionMonitorDestinationResponseOutputWithContext(ctx context.Context) ConnectionMonitorDestinationResponseOutput {
- return o
+// Flag if need to remove current existing peerings.
+func (o EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) DeleteExistingPeering() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse) *string {
+ return v.DeleteExistingPeering
+ }).(pulumi.StringPtrOutput)
}
-// Address of the connection monitor destination (IP or domain name).
-func (o ConnectionMonitorDestinationResponseOutput) Address() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorDestinationResponse) *string { return v.Address }).(pulumi.StringPtrOutput)
+// A description of the connectivity configuration.
+func (o EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse) *string {
+ return v.Description
+ }).(pulumi.StringPtrOutput)
}
-// The destination port used by connection monitor.
-func (o ConnectionMonitorDestinationResponseOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorDestinationResponse) *int { return v.Port }).(pulumi.IntPtrOutput)
+// List of hubItems
+func (o EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) Hubs() HubResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse) []HubResponse {
+ return v.Hubs
+ }).(HubResponseArrayOutput)
}
-// The ID of the resource used as the destination by connection monitor.
-func (o ConnectionMonitorDestinationResponseOutput) ResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorDestinationResponse) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
+// Connectivity configuration ID.
+func (o EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse) *string {
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-type ConnectionMonitorDestinationResponsePtrOutput struct{ *pulumi.OutputState }
+// Flag if global mesh is supported.
+func (o EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) IsGlobal() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse) *string {
+ return v.IsGlobal
+ }).(pulumi.StringPtrOutput)
+}
-func (ConnectionMonitorDestinationResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorDestinationResponse)(nil)).Elem()
+// The provisioning state of the connectivity configuration resource.
+func (o EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse) string {
+ return v.ProvisioningState
+ }).(pulumi.StringOutput)
}
-func (o ConnectionMonitorDestinationResponsePtrOutput) ToConnectionMonitorDestinationResponsePtrOutput() ConnectionMonitorDestinationResponsePtrOutput {
- return o
+// Unique identifier for this resource.
+func (o EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse) string {
+ return v.ResourceGuid
+ }).(pulumi.StringOutput)
}
-func (o ConnectionMonitorDestinationResponsePtrOutput) ToConnectionMonitorDestinationResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorDestinationResponsePtrOutput {
- return o
+type EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse)(nil)).Elem()
}
-func (o ConnectionMonitorDestinationResponsePtrOutput) Elem() ConnectionMonitorDestinationResponseOutput {
- return o.ApplyT(func(v *ConnectionMonitorDestinationResponse) ConnectionMonitorDestinationResponse {
- if v != nil {
- return *v
- }
- var ret ConnectionMonitorDestinationResponse
- return ret
- }).(ConnectionMonitorDestinationResponseOutput)
+func (o EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput) ToEffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput() EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput {
+ return o
}
-// Address of the connection monitor destination (IP or domain name).
-func (o ConnectionMonitorDestinationResponsePtrOutput) Address() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorDestinationResponse) *string {
- if v == nil {
- return nil
- }
- return v.Address
- }).(pulumi.StringPtrOutput)
-}
-
-// The destination port used by connection monitor.
-func (o ConnectionMonitorDestinationResponsePtrOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorDestinationResponse) *int {
- if v == nil {
- return nil
- }
- return v.Port
- }).(pulumi.IntPtrOutput)
+func (o EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput) ToEffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutputWithContext(ctx context.Context) EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput {
+ return o
}
-// The ID of the resource used as the destination by connection monitor.
-func (o ConnectionMonitorDestinationResponsePtrOutput) ResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorDestinationResponse) *string {
- if v == nil {
- return nil
- }
- return v.ResourceId
- }).(pulumi.StringPtrOutput)
+func (o EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput) Index(i pulumi.IntInput) EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse {
+ return vs[0].([]EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponse)[vs[1].(int)]
+ }).(EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput)
}
-// Describes the connection monitor endpoint.
-type ConnectionMonitorEndpoint struct {
- // Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- Address *string `pulumi:"address"`
- // Test coverage for the endpoint.
- CoverageLevel *string `pulumi:"coverageLevel"`
- // Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- Filter *ConnectionMonitorEndpointFilter `pulumi:"filter"`
- // Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- LocationDetails *ConnectionMonitorEndpointLocationDetails `pulumi:"locationDetails"`
- // The name of the connection monitor endpoint.
- Name string `pulumi:"name"`
- // Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- ResourceId *string `pulumi:"resourceId"`
- // Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- Scope *ConnectionMonitorEndpointScope `pulumi:"scope"`
- // Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- SubscriptionId *string `pulumi:"subscriptionId"`
- // The endpoint type.
- Type *string `pulumi:"type"`
+// Network default admin rule.
+type EffectiveDefaultSecurityAdminRuleResponse struct {
+ // Indicates the access allowed for this particular rule
+ Access string `pulumi:"access"`
+ // A description of the security admin configuration.
+ ConfigurationDescription *string `pulumi:"configurationDescription"`
+ // A display name of the security admin configuration.
+ ConfigurationDisplayName *string `pulumi:"configurationDisplayName"`
+ // A description for this rule. Restricted to 140 chars.
+ Description string `pulumi:"description"`
+ // The destination port ranges.
+ DestinationPortRanges []string `pulumi:"destinationPortRanges"`
+ // The destination address prefixes. CIDR or destination IP ranges.
+ Destinations []AddressPrefixItemResponse `pulumi:"destinations"`
+ // Indicates if the traffic matched against the rule in inbound or outbound.
+ Direction string `pulumi:"direction"`
+ // A friendly name for the rule.
+ DisplayName string `pulumi:"displayName"`
+ // Default rule flag.
+ Flag *string `pulumi:"flag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Whether the rule is custom or default.
+ // Expected value is 'Default'.
+ Kind string `pulumi:"kind"`
+ // The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+ Priority int `pulumi:"priority"`
+ // Network protocol this rule applies to.
+ Protocol string `pulumi:"protocol"`
+ // The provisioning state of the resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Groups for rule collection
+ RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponse `pulumi:"ruleCollectionAppliesToGroups"`
+ // A description of the rule collection.
+ RuleCollectionDescription *string `pulumi:"ruleCollectionDescription"`
+ // A display name of the rule collection.
+ RuleCollectionDisplayName *string `pulumi:"ruleCollectionDisplayName"`
+ // Effective configuration groups.
+ RuleGroups []ConfigurationGroupResponse `pulumi:"ruleGroups"`
+ // The source port ranges.
+ SourcePortRanges []string `pulumi:"sourcePortRanges"`
+ // The CIDR or source IP ranges.
+ Sources []AddressPrefixItemResponse `pulumi:"sources"`
}
-// ConnectionMonitorEndpointInput is an input type that accepts ConnectionMonitorEndpointArgs and ConnectionMonitorEndpointOutput values.
-// You can construct a concrete instance of `ConnectionMonitorEndpointInput` via:
-//
-// ConnectionMonitorEndpointArgs{...}
-type ConnectionMonitorEndpointInput interface {
- pulumi.Input
+// Network default admin rule.
+type EffectiveDefaultSecurityAdminRuleResponseOutput struct{ *pulumi.OutputState }
- ToConnectionMonitorEndpointOutput() ConnectionMonitorEndpointOutput
- ToConnectionMonitorEndpointOutputWithContext(context.Context) ConnectionMonitorEndpointOutput
+func (EffectiveDefaultSecurityAdminRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*EffectiveDefaultSecurityAdminRuleResponse)(nil)).Elem()
}
-// Describes the connection monitor endpoint.
-type ConnectionMonitorEndpointArgs struct {
- // Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- Address pulumi.StringPtrInput `pulumi:"address"`
- // Test coverage for the endpoint.
- CoverageLevel pulumi.StringPtrInput `pulumi:"coverageLevel"`
- // Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- Filter ConnectionMonitorEndpointFilterPtrInput `pulumi:"filter"`
- // Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- LocationDetails ConnectionMonitorEndpointLocationDetailsPtrInput `pulumi:"locationDetails"`
- // The name of the connection monitor endpoint.
- Name pulumi.StringInput `pulumi:"name"`
- // Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- ResourceId pulumi.StringPtrInput `pulumi:"resourceId"`
- // Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- Scope ConnectionMonitorEndpointScopePtrInput `pulumi:"scope"`
- // Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"`
- // The endpoint type.
- Type pulumi.StringPtrInput `pulumi:"type"`
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) ToEffectiveDefaultSecurityAdminRuleResponseOutput() EffectiveDefaultSecurityAdminRuleResponseOutput {
+ return o
}
-func (ConnectionMonitorEndpointArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpoint)(nil)).Elem()
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) ToEffectiveDefaultSecurityAdminRuleResponseOutputWithContext(ctx context.Context) EffectiveDefaultSecurityAdminRuleResponseOutput {
+ return o
}
-func (i ConnectionMonitorEndpointArgs) ToConnectionMonitorEndpointOutput() ConnectionMonitorEndpointOutput {
- return i.ToConnectionMonitorEndpointOutputWithContext(context.Background())
+// Indicates the access allowed for this particular rule
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Access() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) string { return v.Access }).(pulumi.StringOutput)
}
-func (i ConnectionMonitorEndpointArgs) ToConnectionMonitorEndpointOutputWithContext(ctx context.Context) ConnectionMonitorEndpointOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointOutput)
+// A description of the security admin configuration.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) ConfigurationDescription() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) *string { return v.ConfigurationDescription }).(pulumi.StringPtrOutput)
}
-// ConnectionMonitorEndpointArrayInput is an input type that accepts ConnectionMonitorEndpointArray and ConnectionMonitorEndpointArrayOutput values.
-// You can construct a concrete instance of `ConnectionMonitorEndpointArrayInput` via:
-//
-// ConnectionMonitorEndpointArray{ ConnectionMonitorEndpointArgs{...} }
-type ConnectionMonitorEndpointArrayInput interface {
- pulumi.Input
+// A display name of the security admin configuration.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) ConfigurationDisplayName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) *string { return v.ConfigurationDisplayName }).(pulumi.StringPtrOutput)
+}
- ToConnectionMonitorEndpointArrayOutput() ConnectionMonitorEndpointArrayOutput
- ToConnectionMonitorEndpointArrayOutputWithContext(context.Context) ConnectionMonitorEndpointArrayOutput
+// A description for this rule. Restricted to 140 chars.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Description() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) string { return v.Description }).(pulumi.StringOutput)
}
-type ConnectionMonitorEndpointArray []ConnectionMonitorEndpointInput
+// The destination port ranges.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) DestinationPortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
+}
-func (ConnectionMonitorEndpointArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorEndpoint)(nil)).Elem()
+// The destination address prefixes. CIDR or destination IP ranges.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Destinations() AddressPrefixItemResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) []AddressPrefixItemResponse { return v.Destinations }).(AddressPrefixItemResponseArrayOutput)
}
-func (i ConnectionMonitorEndpointArray) ToConnectionMonitorEndpointArrayOutput() ConnectionMonitorEndpointArrayOutput {
- return i.ToConnectionMonitorEndpointArrayOutputWithContext(context.Background())
+// Indicates if the traffic matched against the rule in inbound or outbound.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Direction() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) string { return v.Direction }).(pulumi.StringOutput)
}
-func (i ConnectionMonitorEndpointArray) ToConnectionMonitorEndpointArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointArrayOutput)
+// A friendly name for the rule.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) DisplayName() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) string { return v.DisplayName }).(pulumi.StringOutput)
}
-// Describes the connection monitor endpoint.
-type ConnectionMonitorEndpointOutput struct{ *pulumi.OutputState }
+// Default rule flag.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Flag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) *string { return v.Flag }).(pulumi.StringPtrOutput)
+}
-func (ConnectionMonitorEndpointOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpoint)(nil)).Elem()
+// Resource ID.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorEndpointOutput) ToConnectionMonitorEndpointOutput() ConnectionMonitorEndpointOutput {
- return o
+// Whether the rule is custom or default.
+// Expected value is 'Default'.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Kind() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) string { return v.Kind }).(pulumi.StringOutput)
}
-func (o ConnectionMonitorEndpointOutput) ToConnectionMonitorEndpointOutputWithContext(ctx context.Context) ConnectionMonitorEndpointOutput {
- return o
+// The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Priority() pulumi.IntOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) int { return v.Priority }).(pulumi.IntOutput)
}
-// Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
-func (o ConnectionMonitorEndpointOutput) Address() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpoint) *string { return v.Address }).(pulumi.StringPtrOutput)
+// Network protocol this rule applies to.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) string { return v.Protocol }).(pulumi.StringOutput)
}
-// Test coverage for the endpoint.
-func (o ConnectionMonitorEndpointOutput) CoverageLevel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpoint) *string { return v.CoverageLevel }).(pulumi.StringPtrOutput)
+// The provisioning state of the resource.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
-func (o ConnectionMonitorEndpointOutput) Filter() ConnectionMonitorEndpointFilterPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpoint) *ConnectionMonitorEndpointFilter { return v.Filter }).(ConnectionMonitorEndpointFilterPtrOutput)
+// Groups for rule collection
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) []NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponse {
+ return v.RuleCollectionAppliesToGroups
+ }).(NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseArrayOutput)
}
-// Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
-func (o ConnectionMonitorEndpointOutput) LocationDetails() ConnectionMonitorEndpointLocationDetailsPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpoint) *ConnectionMonitorEndpointLocationDetails { return v.LocationDetails }).(ConnectionMonitorEndpointLocationDetailsPtrOutput)
+// A description of the rule collection.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) RuleCollectionDescription() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) *string { return v.RuleCollectionDescription }).(pulumi.StringPtrOutput)
}
-// The name of the connection monitor endpoint.
-func (o ConnectionMonitorEndpointOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpoint) string { return v.Name }).(pulumi.StringOutput)
+// A display name of the rule collection.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) RuleCollectionDisplayName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) *string { return v.RuleCollectionDisplayName }).(pulumi.StringPtrOutput)
}
-// Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
-func (o ConnectionMonitorEndpointOutput) ResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpoint) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
+// Effective configuration groups.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) RuleGroups() ConfigurationGroupResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) []ConfigurationGroupResponse { return v.RuleGroups }).(ConfigurationGroupResponseArrayOutput)
}
-// Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
-func (o ConnectionMonitorEndpointOutput) Scope() ConnectionMonitorEndpointScopePtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpoint) *ConnectionMonitorEndpointScope { return v.Scope }).(ConnectionMonitorEndpointScopePtrOutput)
+// The source port ranges.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) SourcePortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
}
-// Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
-func (o ConnectionMonitorEndpointOutput) SubscriptionId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpoint) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput)
+// The CIDR or source IP ranges.
+func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Sources() AddressPrefixItemResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) []AddressPrefixItemResponse { return v.Sources }).(AddressPrefixItemResponseArrayOutput)
}
-// The endpoint type.
-func (o ConnectionMonitorEndpointOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpoint) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Network default admin rule.
+type EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse struct {
+ // Indicates the access allowed for this particular rule
+ Access string `pulumi:"access"`
+ // A description of the security admin configuration.
+ ConfigurationDescription *string `pulumi:"configurationDescription"`
+ // A description for this rule. Restricted to 140 chars.
+ Description string `pulumi:"description"`
+ // The destination port ranges.
+ DestinationPortRanges []string `pulumi:"destinationPortRanges"`
+ // The destination address prefixes. CIDR or destination IP ranges.
+ Destinations []AddressPrefixItemResponse `pulumi:"destinations"`
+ // Indicates if the traffic matched against the rule in inbound or outbound.
+ Direction string `pulumi:"direction"`
+ // Default rule flag.
+ Flag *string `pulumi:"flag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Whether the rule is custom or default.
+ // Expected value is 'Default'.
+ Kind string `pulumi:"kind"`
+ // The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+ Priority int `pulumi:"priority"`
+ // Network protocol this rule applies to.
+ Protocol string `pulumi:"protocol"`
+ // The provisioning state of the resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Unique identifier for this resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // Groups for rule collection
+ RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemResponse `pulumi:"ruleCollectionAppliesToGroups"`
+ // A description of the rule collection.
+ RuleCollectionDescription *string `pulumi:"ruleCollectionDescription"`
+ // Effective configuration groups.
+ RuleGroups []ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponse `pulumi:"ruleGroups"`
+ // The source port ranges.
+ SourcePortRanges []string `pulumi:"sourcePortRanges"`
+ // The CIDR or source IP ranges.
+ Sources []AddressPrefixItemResponse `pulumi:"sources"`
}
-type ConnectionMonitorEndpointArrayOutput struct{ *pulumi.OutputState }
+// Network default admin rule.
+type EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorEndpointArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorEndpoint)(nil)).Elem()
+func (EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointArrayOutput) ToConnectionMonitorEndpointArrayOutput() ConnectionMonitorEndpointArrayOutput {
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ToEffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput() EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput {
return o
}
-func (o ConnectionMonitorEndpointArrayOutput) ToConnectionMonitorEndpointArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointArrayOutput {
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ToEffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutputWithContext(ctx context.Context) EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput {
return o
}
-func (o ConnectionMonitorEndpointArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorEndpointOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorEndpoint {
- return vs[0].([]ConnectionMonitorEndpoint)[vs[1].(int)]
- }).(ConnectionMonitorEndpointOutput)
+// Indicates the access allowed for this particular rule
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Access() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) string {
+ return v.Access
+ }).(pulumi.StringOutput)
}
-// Describes the connection monitor endpoint filter.
-type ConnectionMonitorEndpointFilter struct {
- // List of items in the filter.
- Items []ConnectionMonitorEndpointFilterItem `pulumi:"items"`
- // The behavior of the endpoint filter. Currently only 'Include' is supported.
- Type *string `pulumi:"type"`
+// A description of the security admin configuration.
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ConfigurationDescription() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) *string {
+ return v.ConfigurationDescription
+ }).(pulumi.StringPtrOutput)
}
-// ConnectionMonitorEndpointFilterInput is an input type that accepts ConnectionMonitorEndpointFilterArgs and ConnectionMonitorEndpointFilterOutput values.
-// You can construct a concrete instance of `ConnectionMonitorEndpointFilterInput` via:
-//
-// ConnectionMonitorEndpointFilterArgs{...}
-type ConnectionMonitorEndpointFilterInput interface {
- pulumi.Input
+// A description for this rule. Restricted to 140 chars.
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Description() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) string {
+ return v.Description
+ }).(pulumi.StringOutput)
+}
- ToConnectionMonitorEndpointFilterOutput() ConnectionMonitorEndpointFilterOutput
- ToConnectionMonitorEndpointFilterOutputWithContext(context.Context) ConnectionMonitorEndpointFilterOutput
+// The destination port ranges.
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) DestinationPortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) []string {
+ return v.DestinationPortRanges
+ }).(pulumi.StringArrayOutput)
}
-// Describes the connection monitor endpoint filter.
-type ConnectionMonitorEndpointFilterArgs struct {
- // List of items in the filter.
- Items ConnectionMonitorEndpointFilterItemArrayInput `pulumi:"items"`
- // The behavior of the endpoint filter. Currently only 'Include' is supported.
- Type pulumi.StringPtrInput `pulumi:"type"`
+// The destination address prefixes. CIDR or destination IP ranges.
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Destinations() AddressPrefixItemResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) []AddressPrefixItemResponse {
+ return v.Destinations
+ }).(AddressPrefixItemResponseArrayOutput)
}
-func (ConnectionMonitorEndpointFilterArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpointFilter)(nil)).Elem()
+// Indicates if the traffic matched against the rule in inbound or outbound.
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Direction() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) string {
+ return v.Direction
+ }).(pulumi.StringOutput)
}
-func (i ConnectionMonitorEndpointFilterArgs) ToConnectionMonitorEndpointFilterOutput() ConnectionMonitorEndpointFilterOutput {
- return i.ToConnectionMonitorEndpointFilterOutputWithContext(context.Background())
+// Default rule flag.
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Flag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) *string {
+ return v.Flag
+ }).(pulumi.StringPtrOutput)
}
-func (i ConnectionMonitorEndpointFilterArgs) ToConnectionMonitorEndpointFilterOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointFilterOutput)
+// Resource ID.
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) *string {
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (i ConnectionMonitorEndpointFilterArgs) ToConnectionMonitorEndpointFilterPtrOutput() ConnectionMonitorEndpointFilterPtrOutput {
- return i.ToConnectionMonitorEndpointFilterPtrOutputWithContext(context.Background())
+// Whether the rule is custom or default.
+// Expected value is 'Default'.
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Kind() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) string {
+ return v.Kind
+ }).(pulumi.StringOutput)
}
-func (i ConnectionMonitorEndpointFilterArgs) ToConnectionMonitorEndpointFilterPtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointFilterOutput).ToConnectionMonitorEndpointFilterPtrOutputWithContext(ctx)
+// The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Priority() pulumi.IntOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) int {
+ return v.Priority
+ }).(pulumi.IntOutput)
}
-// ConnectionMonitorEndpointFilterPtrInput is an input type that accepts ConnectionMonitorEndpointFilterArgs, ConnectionMonitorEndpointFilterPtr and ConnectionMonitorEndpointFilterPtrOutput values.
-// You can construct a concrete instance of `ConnectionMonitorEndpointFilterPtrInput` via:
-//
-// ConnectionMonitorEndpointFilterArgs{...}
-//
-// or:
-//
-// nil
-type ConnectionMonitorEndpointFilterPtrInput interface {
- pulumi.Input
+// Network protocol this rule applies to.
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) string {
+ return v.Protocol
+ }).(pulumi.StringOutput)
+}
- ToConnectionMonitorEndpointFilterPtrOutput() ConnectionMonitorEndpointFilterPtrOutput
- ToConnectionMonitorEndpointFilterPtrOutputWithContext(context.Context) ConnectionMonitorEndpointFilterPtrOutput
+// The provisioning state of the resource.
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) string {
+ return v.ProvisioningState
+ }).(pulumi.StringOutput)
}
-type connectionMonitorEndpointFilterPtrType ConnectionMonitorEndpointFilterArgs
+// Unique identifier for this resource.
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) string {
+ return v.ResourceGuid
+ }).(pulumi.StringOutput)
+}
-func ConnectionMonitorEndpointFilterPtr(v *ConnectionMonitorEndpointFilterArgs) ConnectionMonitorEndpointFilterPtrInput {
- return (*connectionMonitorEndpointFilterPtrType)(v)
+// Groups for rule collection
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) []NetworkManagerSecurityGroupItemResponse {
+ return v.RuleCollectionAppliesToGroups
+ }).(NetworkManagerSecurityGroupItemResponseArrayOutput)
}
-func (*connectionMonitorEndpointFilterPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorEndpointFilter)(nil)).Elem()
+// A description of the rule collection.
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) RuleCollectionDescription() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) *string {
+ return v.RuleCollectionDescription
+ }).(pulumi.StringPtrOutput)
}
-func (i *connectionMonitorEndpointFilterPtrType) ToConnectionMonitorEndpointFilterPtrOutput() ConnectionMonitorEndpointFilterPtrOutput {
- return i.ToConnectionMonitorEndpointFilterPtrOutputWithContext(context.Background())
+// Effective configuration groups.
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) RuleGroups() ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) []ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponse {
+ return v.RuleGroups
+ }).(ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseArrayOutput)
}
-func (i *connectionMonitorEndpointFilterPtrType) ToConnectionMonitorEndpointFilterPtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointFilterPtrOutput)
+// The source port ranges.
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) SourcePortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) []string {
+ return v.SourcePortRanges
+ }).(pulumi.StringArrayOutput)
}
-// Describes the connection monitor endpoint filter.
-type ConnectionMonitorEndpointFilterOutput struct{ *pulumi.OutputState }
+// The CIDR or source IP ranges.
+func (o EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Sources() AddressPrefixItemResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) []AddressPrefixItemResponse {
+ return v.Sources
+ }).(AddressPrefixItemResponseArrayOutput)
+}
-func (ConnectionMonitorEndpointFilterOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpointFilter)(nil)).Elem()
+// Network admin rule.
+type EffectiveSecurityAdminRuleResponse struct {
+ // Indicates the access allowed for this particular rule
+ Access string `pulumi:"access"`
+ // A description of the security admin configuration.
+ ConfigurationDescription *string `pulumi:"configurationDescription"`
+ // A display name of the security admin configuration.
+ ConfigurationDisplayName *string `pulumi:"configurationDisplayName"`
+ // A description for this rule. Restricted to 140 chars.
+ Description *string `pulumi:"description"`
+ // The destination port ranges.
+ DestinationPortRanges []string `pulumi:"destinationPortRanges"`
+ // The destination address prefixes. CIDR or destination IP ranges.
+ Destinations []AddressPrefixItemResponse `pulumi:"destinations"`
+ // Indicates if the traffic matched against the rule in inbound or outbound.
+ Direction string `pulumi:"direction"`
+ // A friendly name for the rule.
+ DisplayName *string `pulumi:"displayName"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Whether the rule is custom or default.
+ // Expected value is 'Custom'.
+ Kind string `pulumi:"kind"`
+ // The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+ Priority *int `pulumi:"priority"`
+ // Network protocol this rule applies to.
+ Protocol string `pulumi:"protocol"`
+ // The provisioning state of the resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Groups for rule collection
+ RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponse `pulumi:"ruleCollectionAppliesToGroups"`
+ // A description of the rule collection.
+ RuleCollectionDescription *string `pulumi:"ruleCollectionDescription"`
+ // A display name of the rule collection.
+ RuleCollectionDisplayName *string `pulumi:"ruleCollectionDisplayName"`
+ // Effective configuration groups.
+ RuleGroups []ConfigurationGroupResponse `pulumi:"ruleGroups"`
+ // The source port ranges.
+ SourcePortRanges []string `pulumi:"sourcePortRanges"`
+ // The CIDR or source IP ranges.
+ Sources []AddressPrefixItemResponse `pulumi:"sources"`
}
-func (o ConnectionMonitorEndpointFilterOutput) ToConnectionMonitorEndpointFilterOutput() ConnectionMonitorEndpointFilterOutput {
- return o
+// Network admin rule.
+type EffectiveSecurityAdminRuleResponseOutput struct{ *pulumi.OutputState }
+
+func (EffectiveSecurityAdminRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*EffectiveSecurityAdminRuleResponse)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointFilterOutput) ToConnectionMonitorEndpointFilterOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterOutput {
+func (o EffectiveSecurityAdminRuleResponseOutput) ToEffectiveSecurityAdminRuleResponseOutput() EffectiveSecurityAdminRuleResponseOutput {
return o
}
-func (o ConnectionMonitorEndpointFilterOutput) ToConnectionMonitorEndpointFilterPtrOutput() ConnectionMonitorEndpointFilterPtrOutput {
- return o.ToConnectionMonitorEndpointFilterPtrOutputWithContext(context.Background())
+func (o EffectiveSecurityAdminRuleResponseOutput) ToEffectiveSecurityAdminRuleResponseOutputWithContext(ctx context.Context) EffectiveSecurityAdminRuleResponseOutput {
+ return o
}
-func (o ConnectionMonitorEndpointFilterOutput) ToConnectionMonitorEndpointFilterPtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorEndpointFilter) *ConnectionMonitorEndpointFilter {
- return &v
- }).(ConnectionMonitorEndpointFilterPtrOutput)
+// Indicates the access allowed for this particular rule
+func (o EffectiveSecurityAdminRuleResponseOutput) Access() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) string { return v.Access }).(pulumi.StringOutput)
}
-// List of items in the filter.
-func (o ConnectionMonitorEndpointFilterOutput) Items() ConnectionMonitorEndpointFilterItemArrayOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointFilter) []ConnectionMonitorEndpointFilterItem { return v.Items }).(ConnectionMonitorEndpointFilterItemArrayOutput)
+// A description of the security admin configuration.
+func (o EffectiveSecurityAdminRuleResponseOutput) ConfigurationDescription() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) *string { return v.ConfigurationDescription }).(pulumi.StringPtrOutput)
}
-// The behavior of the endpoint filter. Currently only 'Include' is supported.
-func (o ConnectionMonitorEndpointFilterOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointFilter) *string { return v.Type }).(pulumi.StringPtrOutput)
+// A display name of the security admin configuration.
+func (o EffectiveSecurityAdminRuleResponseOutput) ConfigurationDisplayName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) *string { return v.ConfigurationDisplayName }).(pulumi.StringPtrOutput)
}
-type ConnectionMonitorEndpointFilterPtrOutput struct{ *pulumi.OutputState }
-
-func (ConnectionMonitorEndpointFilterPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorEndpointFilter)(nil)).Elem()
+// A description for this rule. Restricted to 140 chars.
+func (o EffectiveSecurityAdminRuleResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorEndpointFilterPtrOutput) ToConnectionMonitorEndpointFilterPtrOutput() ConnectionMonitorEndpointFilterPtrOutput {
- return o
+// The destination port ranges.
+func (o EffectiveSecurityAdminRuleResponseOutput) DestinationPortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
}
-func (o ConnectionMonitorEndpointFilterPtrOutput) ToConnectionMonitorEndpointFilterPtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterPtrOutput {
- return o
+// The destination address prefixes. CIDR or destination IP ranges.
+func (o EffectiveSecurityAdminRuleResponseOutput) Destinations() AddressPrefixItemResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) []AddressPrefixItemResponse { return v.Destinations }).(AddressPrefixItemResponseArrayOutput)
}
-func (o ConnectionMonitorEndpointFilterPtrOutput) Elem() ConnectionMonitorEndpointFilterOutput {
- return o.ApplyT(func(v *ConnectionMonitorEndpointFilter) ConnectionMonitorEndpointFilter {
- if v != nil {
- return *v
- }
- var ret ConnectionMonitorEndpointFilter
- return ret
- }).(ConnectionMonitorEndpointFilterOutput)
+// Indicates if the traffic matched against the rule in inbound or outbound.
+func (o EffectiveSecurityAdminRuleResponseOutput) Direction() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) string { return v.Direction }).(pulumi.StringOutput)
}
-// List of items in the filter.
-func (o ConnectionMonitorEndpointFilterPtrOutput) Items() ConnectionMonitorEndpointFilterItemArrayOutput {
- return o.ApplyT(func(v *ConnectionMonitorEndpointFilter) []ConnectionMonitorEndpointFilterItem {
- if v == nil {
- return nil
- }
- return v.Items
- }).(ConnectionMonitorEndpointFilterItemArrayOutput)
+// A friendly name for the rule.
+func (o EffectiveSecurityAdminRuleResponseOutput) DisplayName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) *string { return v.DisplayName }).(pulumi.StringPtrOutput)
}
-// The behavior of the endpoint filter. Currently only 'Include' is supported.
-func (o ConnectionMonitorEndpointFilterPtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorEndpointFilter) *string {
- if v == nil {
- return nil
- }
- return v.Type
- }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o EffectiveSecurityAdminRuleResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Describes the connection monitor endpoint filter item.
-type ConnectionMonitorEndpointFilterItem struct {
- // The address of the filter item.
- Address *string `pulumi:"address"`
- // The type of item included in the filter. Currently only 'AgentAddress' is supported.
- Type *string `pulumi:"type"`
+// Whether the rule is custom or default.
+// Expected value is 'Custom'.
+func (o EffectiveSecurityAdminRuleResponseOutput) Kind() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) string { return v.Kind }).(pulumi.StringOutput)
}
-// ConnectionMonitorEndpointFilterItemInput is an input type that accepts ConnectionMonitorEndpointFilterItemArgs and ConnectionMonitorEndpointFilterItemOutput values.
-// You can construct a concrete instance of `ConnectionMonitorEndpointFilterItemInput` via:
-//
-// ConnectionMonitorEndpointFilterItemArgs{...}
-type ConnectionMonitorEndpointFilterItemInput interface {
- pulumi.Input
-
- ToConnectionMonitorEndpointFilterItemOutput() ConnectionMonitorEndpointFilterItemOutput
- ToConnectionMonitorEndpointFilterItemOutputWithContext(context.Context) ConnectionMonitorEndpointFilterItemOutput
+// The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+func (o EffectiveSecurityAdminRuleResponseOutput) Priority() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) *int { return v.Priority }).(pulumi.IntPtrOutput)
}
-// Describes the connection monitor endpoint filter item.
-type ConnectionMonitorEndpointFilterItemArgs struct {
- // The address of the filter item.
- Address pulumi.StringPtrInput `pulumi:"address"`
- // The type of item included in the filter. Currently only 'AgentAddress' is supported.
- Type pulumi.StringPtrInput `pulumi:"type"`
+// Network protocol this rule applies to.
+func (o EffectiveSecurityAdminRuleResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) string { return v.Protocol }).(pulumi.StringOutput)
}
-func (ConnectionMonitorEndpointFilterItemArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpointFilterItem)(nil)).Elem()
+// The provisioning state of the resource.
+func (o EffectiveSecurityAdminRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i ConnectionMonitorEndpointFilterItemArgs) ToConnectionMonitorEndpointFilterItemOutput() ConnectionMonitorEndpointFilterItemOutput {
- return i.ToConnectionMonitorEndpointFilterItemOutputWithContext(context.Background())
+// Groups for rule collection
+func (o EffectiveSecurityAdminRuleResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) []NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponse {
+ return v.RuleCollectionAppliesToGroups
+ }).(NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseArrayOutput)
}
-func (i ConnectionMonitorEndpointFilterItemArgs) ToConnectionMonitorEndpointFilterItemOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterItemOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointFilterItemOutput)
+// A description of the rule collection.
+func (o EffectiveSecurityAdminRuleResponseOutput) RuleCollectionDescription() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) *string { return v.RuleCollectionDescription }).(pulumi.StringPtrOutput)
}
-// ConnectionMonitorEndpointFilterItemArrayInput is an input type that accepts ConnectionMonitorEndpointFilterItemArray and ConnectionMonitorEndpointFilterItemArrayOutput values.
-// You can construct a concrete instance of `ConnectionMonitorEndpointFilterItemArrayInput` via:
-//
-// ConnectionMonitorEndpointFilterItemArray{ ConnectionMonitorEndpointFilterItemArgs{...} }
-type ConnectionMonitorEndpointFilterItemArrayInput interface {
- pulumi.Input
-
- ToConnectionMonitorEndpointFilterItemArrayOutput() ConnectionMonitorEndpointFilterItemArrayOutput
- ToConnectionMonitorEndpointFilterItemArrayOutputWithContext(context.Context) ConnectionMonitorEndpointFilterItemArrayOutput
+// A display name of the rule collection.
+func (o EffectiveSecurityAdminRuleResponseOutput) RuleCollectionDisplayName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) *string { return v.RuleCollectionDisplayName }).(pulumi.StringPtrOutput)
}
-type ConnectionMonitorEndpointFilterItemArray []ConnectionMonitorEndpointFilterItemInput
+// Effective configuration groups.
+func (o EffectiveSecurityAdminRuleResponseOutput) RuleGroups() ConfigurationGroupResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) []ConfigurationGroupResponse { return v.RuleGroups }).(ConfigurationGroupResponseArrayOutput)
+}
-func (ConnectionMonitorEndpointFilterItemArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorEndpointFilterItem)(nil)).Elem()
+// The source port ranges.
+func (o EffectiveSecurityAdminRuleResponseOutput) SourcePortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
}
-func (i ConnectionMonitorEndpointFilterItemArray) ToConnectionMonitorEndpointFilterItemArrayOutput() ConnectionMonitorEndpointFilterItemArrayOutput {
- return i.ToConnectionMonitorEndpointFilterItemArrayOutputWithContext(context.Background())
+// The CIDR or source IP ranges.
+func (o EffectiveSecurityAdminRuleResponseOutput) Sources() AddressPrefixItemResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) []AddressPrefixItemResponse { return v.Sources }).(AddressPrefixItemResponseArrayOutput)
}
-func (i ConnectionMonitorEndpointFilterItemArray) ToConnectionMonitorEndpointFilterItemArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterItemArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointFilterItemArrayOutput)
+// Network admin rule.
+type EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse struct {
+ // Indicates the access allowed for this particular rule
+ Access string `pulumi:"access"`
+ // A description of the security admin configuration.
+ ConfigurationDescription *string `pulumi:"configurationDescription"`
+ // A description for this rule. Restricted to 140 chars.
+ Description *string `pulumi:"description"`
+ // The destination port ranges.
+ DestinationPortRanges []string `pulumi:"destinationPortRanges"`
+ // The destination address prefixes. CIDR or destination IP ranges.
+ Destinations []AddressPrefixItemResponse `pulumi:"destinations"`
+ // Indicates if the traffic matched against the rule in inbound or outbound.
+ Direction string `pulumi:"direction"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Whether the rule is custom or default.
+ // Expected value is 'Custom'.
+ Kind string `pulumi:"kind"`
+ // The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+ Priority int `pulumi:"priority"`
+ // Network protocol this rule applies to.
+ Protocol string `pulumi:"protocol"`
+ // The provisioning state of the resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Unique identifier for this resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // Groups for rule collection
+ RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemResponse `pulumi:"ruleCollectionAppliesToGroups"`
+ // A description of the rule collection.
+ RuleCollectionDescription *string `pulumi:"ruleCollectionDescription"`
+ // Effective configuration groups.
+ RuleGroups []ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponse `pulumi:"ruleGroups"`
+ // The source port ranges.
+ SourcePortRanges []string `pulumi:"sourcePortRanges"`
+ // The CIDR or source IP ranges.
+ Sources []AddressPrefixItemResponse `pulumi:"sources"`
}
-// Describes the connection monitor endpoint filter item.
-type ConnectionMonitorEndpointFilterItemOutput struct{ *pulumi.OutputState }
+// Network admin rule.
+type EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorEndpointFilterItemOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpointFilterItem)(nil)).Elem()
+func (EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointFilterItemOutput) ToConnectionMonitorEndpointFilterItemOutput() ConnectionMonitorEndpointFilterItemOutput {
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ToEffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput() EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput {
return o
}
-func (o ConnectionMonitorEndpointFilterItemOutput) ToConnectionMonitorEndpointFilterItemOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterItemOutput {
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ToEffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutputWithContext(ctx context.Context) EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput {
return o
}
-// The address of the filter item.
-func (o ConnectionMonitorEndpointFilterItemOutput) Address() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointFilterItem) *string { return v.Address }).(pulumi.StringPtrOutput)
+// Indicates the access allowed for this particular rule
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Access() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) string {
+ return v.Access
+ }).(pulumi.StringOutput)
}
-// The type of item included in the filter. Currently only 'AgentAddress' is supported.
-func (o ConnectionMonitorEndpointFilterItemOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointFilterItem) *string { return v.Type }).(pulumi.StringPtrOutput)
+// A description of the security admin configuration.
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ConfigurationDescription() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) *string {
+ return v.ConfigurationDescription
+ }).(pulumi.StringPtrOutput)
}
-type ConnectionMonitorEndpointFilterItemArrayOutput struct{ *pulumi.OutputState }
-
-func (ConnectionMonitorEndpointFilterItemArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorEndpointFilterItem)(nil)).Elem()
+// A description for this rule. Restricted to 140 chars.
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) *string {
+ return v.Description
+ }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorEndpointFilterItemArrayOutput) ToConnectionMonitorEndpointFilterItemArrayOutput() ConnectionMonitorEndpointFilterItemArrayOutput {
- return o
+// The destination port ranges.
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) DestinationPortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) []string {
+ return v.DestinationPortRanges
+ }).(pulumi.StringArrayOutput)
}
-func (o ConnectionMonitorEndpointFilterItemArrayOutput) ToConnectionMonitorEndpointFilterItemArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterItemArrayOutput {
- return o
+// The destination address prefixes. CIDR or destination IP ranges.
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Destinations() AddressPrefixItemResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) []AddressPrefixItemResponse {
+ return v.Destinations
+ }).(AddressPrefixItemResponseArrayOutput)
}
-func (o ConnectionMonitorEndpointFilterItemArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorEndpointFilterItemOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorEndpointFilterItem {
- return vs[0].([]ConnectionMonitorEndpointFilterItem)[vs[1].(int)]
- }).(ConnectionMonitorEndpointFilterItemOutput)
+// Indicates if the traffic matched against the rule in inbound or outbound.
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Direction() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) string {
+ return v.Direction
+ }).(pulumi.StringOutput)
}
-// Describes the connection monitor endpoint filter item.
-type ConnectionMonitorEndpointFilterItemResponse struct {
- // The address of the filter item.
- Address *string `pulumi:"address"`
- // The type of item included in the filter. Currently only 'AgentAddress' is supported.
- Type *string `pulumi:"type"`
+// Resource ID.
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) *string {
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// Describes the connection monitor endpoint filter item.
-type ConnectionMonitorEndpointFilterItemResponseOutput struct{ *pulumi.OutputState }
-
-func (ConnectionMonitorEndpointFilterItemResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpointFilterItemResponse)(nil)).Elem()
+// Whether the rule is custom or default.
+// Expected value is 'Custom'.
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Kind() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) string {
+ return v.Kind
+ }).(pulumi.StringOutput)
}
-func (o ConnectionMonitorEndpointFilterItemResponseOutput) ToConnectionMonitorEndpointFilterItemResponseOutput() ConnectionMonitorEndpointFilterItemResponseOutput {
- return o
+// The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Priority() pulumi.IntOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) int {
+ return v.Priority
+ }).(pulumi.IntOutput)
}
-func (o ConnectionMonitorEndpointFilterItemResponseOutput) ToConnectionMonitorEndpointFilterItemResponseOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterItemResponseOutput {
- return o
+// Network protocol this rule applies to.
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) string {
+ return v.Protocol
+ }).(pulumi.StringOutput)
}
-// The address of the filter item.
-func (o ConnectionMonitorEndpointFilterItemResponseOutput) Address() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointFilterItemResponse) *string { return v.Address }).(pulumi.StringPtrOutput)
+// The provisioning state of the resource.
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) string {
+ return v.ProvisioningState
+ }).(pulumi.StringOutput)
}
-// The type of item included in the filter. Currently only 'AgentAddress' is supported.
-func (o ConnectionMonitorEndpointFilterItemResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointFilterItemResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Unique identifier for this resource.
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) string {
+ return v.ResourceGuid
+ }).(pulumi.StringOutput)
}
-type ConnectionMonitorEndpointFilterItemResponseArrayOutput struct{ *pulumi.OutputState }
+// Groups for rule collection
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) []NetworkManagerSecurityGroupItemResponse {
+ return v.RuleCollectionAppliesToGroups
+ }).(NetworkManagerSecurityGroupItemResponseArrayOutput)
+}
-func (ConnectionMonitorEndpointFilterItemResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorEndpointFilterItemResponse)(nil)).Elem()
+// A description of the rule collection.
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) RuleCollectionDescription() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) *string {
+ return v.RuleCollectionDescription
+ }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorEndpointFilterItemResponseArrayOutput) ToConnectionMonitorEndpointFilterItemResponseArrayOutput() ConnectionMonitorEndpointFilterItemResponseArrayOutput {
- return o
+// Effective configuration groups.
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) RuleGroups() ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) []ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponse {
+ return v.RuleGroups
+ }).(ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseArrayOutput)
}
-func (o ConnectionMonitorEndpointFilterItemResponseArrayOutput) ToConnectionMonitorEndpointFilterItemResponseArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterItemResponseArrayOutput {
- return o
+// The source port ranges.
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) SourcePortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) []string {
+ return v.SourcePortRanges
+ }).(pulumi.StringArrayOutput)
}
-func (o ConnectionMonitorEndpointFilterItemResponseArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorEndpointFilterItemResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorEndpointFilterItemResponse {
- return vs[0].([]ConnectionMonitorEndpointFilterItemResponse)[vs[1].(int)]
- }).(ConnectionMonitorEndpointFilterItemResponseOutput)
+// The CIDR or source IP ranges.
+func (o EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput) Sources() AddressPrefixItemResponseArrayOutput {
+ return o.ApplyT(func(v EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponse) []AddressPrefixItemResponse {
+ return v.Sources
+ }).(AddressPrefixItemResponseArrayOutput)
}
-// Describes the connection monitor endpoint filter.
-type ConnectionMonitorEndpointFilterResponse struct {
- // List of items in the filter.
- Items []ConnectionMonitorEndpointFilterItemResponse `pulumi:"items"`
- // The behavior of the endpoint filter. Currently only 'Include' is supported.
- Type *string `pulumi:"type"`
+// Effective Virtual Network
+type EffectiveVirtualNetworkResponse struct {
+ // Effective vnet Id.
+ Id *string `pulumi:"id"`
+ // Location of vnet.
+ Location *string `pulumi:"location"`
+ // Membership Type.
+ MembershipType *string `pulumi:"membershipType"`
}
-// Describes the connection monitor endpoint filter.
-type ConnectionMonitorEndpointFilterResponseOutput struct{ *pulumi.OutputState }
+// Effective Virtual Network
+type EffectiveVirtualNetworkResponseOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorEndpointFilterResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpointFilterResponse)(nil)).Elem()
+func (EffectiveVirtualNetworkResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*EffectiveVirtualNetworkResponse)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointFilterResponseOutput) ToConnectionMonitorEndpointFilterResponseOutput() ConnectionMonitorEndpointFilterResponseOutput {
+func (o EffectiveVirtualNetworkResponseOutput) ToEffectiveVirtualNetworkResponseOutput() EffectiveVirtualNetworkResponseOutput {
return o
}
-func (o ConnectionMonitorEndpointFilterResponseOutput) ToConnectionMonitorEndpointFilterResponseOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterResponseOutput {
+func (o EffectiveVirtualNetworkResponseOutput) ToEffectiveVirtualNetworkResponseOutputWithContext(ctx context.Context) EffectiveVirtualNetworkResponseOutput {
return o
}
-// List of items in the filter.
-func (o ConnectionMonitorEndpointFilterResponseOutput) Items() ConnectionMonitorEndpointFilterItemResponseArrayOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointFilterResponse) []ConnectionMonitorEndpointFilterItemResponse {
- return v.Items
- }).(ConnectionMonitorEndpointFilterItemResponseArrayOutput)
+// Effective vnet Id.
+func (o EffectiveVirtualNetworkResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveVirtualNetworkResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The behavior of the endpoint filter. Currently only 'Include' is supported.
-func (o ConnectionMonitorEndpointFilterResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointFilterResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Location of vnet.
+func (o EffectiveVirtualNetworkResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveVirtualNetworkResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-type ConnectionMonitorEndpointFilterResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (ConnectionMonitorEndpointFilterResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorEndpointFilterResponse)(nil)).Elem()
+// Membership Type.
+func (o EffectiveVirtualNetworkResponseOutput) MembershipType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EffectiveVirtualNetworkResponse) *string { return v.MembershipType }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorEndpointFilterResponsePtrOutput) ToConnectionMonitorEndpointFilterResponsePtrOutput() ConnectionMonitorEndpointFilterResponsePtrOutput {
- return o
-}
+type EffectiveVirtualNetworkResponseArrayOutput struct{ *pulumi.OutputState }
-func (o ConnectionMonitorEndpointFilterResponsePtrOutput) ToConnectionMonitorEndpointFilterResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointFilterResponsePtrOutput {
- return o
+func (EffectiveVirtualNetworkResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]EffectiveVirtualNetworkResponse)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointFilterResponsePtrOutput) Elem() ConnectionMonitorEndpointFilterResponseOutput {
- return o.ApplyT(func(v *ConnectionMonitorEndpointFilterResponse) ConnectionMonitorEndpointFilterResponse {
- if v != nil {
- return *v
- }
- var ret ConnectionMonitorEndpointFilterResponse
- return ret
- }).(ConnectionMonitorEndpointFilterResponseOutput)
+func (o EffectiveVirtualNetworkResponseArrayOutput) ToEffectiveVirtualNetworkResponseArrayOutput() EffectiveVirtualNetworkResponseArrayOutput {
+ return o
}
-// List of items in the filter.
-func (o ConnectionMonitorEndpointFilterResponsePtrOutput) Items() ConnectionMonitorEndpointFilterItemResponseArrayOutput {
- return o.ApplyT(func(v *ConnectionMonitorEndpointFilterResponse) []ConnectionMonitorEndpointFilterItemResponse {
- if v == nil {
- return nil
- }
- return v.Items
- }).(ConnectionMonitorEndpointFilterItemResponseArrayOutput)
+func (o EffectiveVirtualNetworkResponseArrayOutput) ToEffectiveVirtualNetworkResponseArrayOutputWithContext(ctx context.Context) EffectiveVirtualNetworkResponseArrayOutput {
+ return o
}
-// The behavior of the endpoint filter. Currently only 'Include' is supported.
-func (o ConnectionMonitorEndpointFilterResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorEndpointFilterResponse) *string {
- if v == nil {
- return nil
- }
- return v.Type
- }).(pulumi.StringPtrOutput)
+func (o EffectiveVirtualNetworkResponseArrayOutput) Index(i pulumi.IntInput) EffectiveVirtualNetworkResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) EffectiveVirtualNetworkResponse {
+ return vs[0].([]EffectiveVirtualNetworkResponse)[vs[1].(int)]
+ }).(EffectiveVirtualNetworkResponseOutput)
}
-// Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the region details.
-type ConnectionMonitorEndpointLocationDetails struct {
- // Region for connection monitor endpoint.
- Region *string `pulumi:"region"`
+// Identifies the service being brought into the virtual network.
+type EndpointService struct {
+ // A unique identifier of the service being referenced by the interface endpoint.
+ Id *string `pulumi:"id"`
}
-// ConnectionMonitorEndpointLocationDetailsInput is an input type that accepts ConnectionMonitorEndpointLocationDetailsArgs and ConnectionMonitorEndpointLocationDetailsOutput values.
-// You can construct a concrete instance of `ConnectionMonitorEndpointLocationDetailsInput` via:
+// EndpointServiceInput is an input type that accepts EndpointServiceArgs and EndpointServiceOutput values.
+// You can construct a concrete instance of `EndpointServiceInput` via:
//
-// ConnectionMonitorEndpointLocationDetailsArgs{...}
-type ConnectionMonitorEndpointLocationDetailsInput interface {
+// EndpointServiceArgs{...}
+type EndpointServiceInput interface {
pulumi.Input
- ToConnectionMonitorEndpointLocationDetailsOutput() ConnectionMonitorEndpointLocationDetailsOutput
- ToConnectionMonitorEndpointLocationDetailsOutputWithContext(context.Context) ConnectionMonitorEndpointLocationDetailsOutput
+ ToEndpointServiceOutput() EndpointServiceOutput
+ ToEndpointServiceOutputWithContext(context.Context) EndpointServiceOutput
}
-// Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the region details.
-type ConnectionMonitorEndpointLocationDetailsArgs struct {
- // Region for connection monitor endpoint.
- Region pulumi.StringPtrInput `pulumi:"region"`
+// Identifies the service being brought into the virtual network.
+type EndpointServiceArgs struct {
+ // A unique identifier of the service being referenced by the interface endpoint.
+ Id pulumi.StringPtrInput `pulumi:"id"`
}
-func (ConnectionMonitorEndpointLocationDetailsArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpointLocationDetails)(nil)).Elem()
+func (EndpointServiceArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*EndpointService)(nil)).Elem()
}
-func (i ConnectionMonitorEndpointLocationDetailsArgs) ToConnectionMonitorEndpointLocationDetailsOutput() ConnectionMonitorEndpointLocationDetailsOutput {
- return i.ToConnectionMonitorEndpointLocationDetailsOutputWithContext(context.Background())
+func (i EndpointServiceArgs) ToEndpointServiceOutput() EndpointServiceOutput {
+ return i.ToEndpointServiceOutputWithContext(context.Background())
}
-func (i ConnectionMonitorEndpointLocationDetailsArgs) ToConnectionMonitorEndpointLocationDetailsOutputWithContext(ctx context.Context) ConnectionMonitorEndpointLocationDetailsOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointLocationDetailsOutput)
+func (i EndpointServiceArgs) ToEndpointServiceOutputWithContext(ctx context.Context) EndpointServiceOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(EndpointServiceOutput)
}
-func (i ConnectionMonitorEndpointLocationDetailsArgs) ToConnectionMonitorEndpointLocationDetailsPtrOutput() ConnectionMonitorEndpointLocationDetailsPtrOutput {
- return i.ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(context.Background())
+func (i EndpointServiceArgs) ToEndpointServicePtrOutput() EndpointServicePtrOutput {
+ return i.ToEndpointServicePtrOutputWithContext(context.Background())
}
-func (i ConnectionMonitorEndpointLocationDetailsArgs) ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointLocationDetailsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointLocationDetailsOutput).ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(ctx)
+func (i EndpointServiceArgs) ToEndpointServicePtrOutputWithContext(ctx context.Context) EndpointServicePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(EndpointServiceOutput).ToEndpointServicePtrOutputWithContext(ctx)
}
-// ConnectionMonitorEndpointLocationDetailsPtrInput is an input type that accepts ConnectionMonitorEndpointLocationDetailsArgs, ConnectionMonitorEndpointLocationDetailsPtr and ConnectionMonitorEndpointLocationDetailsPtrOutput values.
-// You can construct a concrete instance of `ConnectionMonitorEndpointLocationDetailsPtrInput` via:
+// EndpointServicePtrInput is an input type that accepts EndpointServiceArgs, EndpointServicePtr and EndpointServicePtrOutput values.
+// You can construct a concrete instance of `EndpointServicePtrInput` via:
//
-// ConnectionMonitorEndpointLocationDetailsArgs{...}
+// EndpointServiceArgs{...}
//
// or:
//
// nil
-type ConnectionMonitorEndpointLocationDetailsPtrInput interface {
+type EndpointServicePtrInput interface {
pulumi.Input
- ToConnectionMonitorEndpointLocationDetailsPtrOutput() ConnectionMonitorEndpointLocationDetailsPtrOutput
- ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(context.Context) ConnectionMonitorEndpointLocationDetailsPtrOutput
+ ToEndpointServicePtrOutput() EndpointServicePtrOutput
+ ToEndpointServicePtrOutputWithContext(context.Context) EndpointServicePtrOutput
}
-type connectionMonitorEndpointLocationDetailsPtrType ConnectionMonitorEndpointLocationDetailsArgs
+type endpointServicePtrType EndpointServiceArgs
-func ConnectionMonitorEndpointLocationDetailsPtr(v *ConnectionMonitorEndpointLocationDetailsArgs) ConnectionMonitorEndpointLocationDetailsPtrInput {
- return (*connectionMonitorEndpointLocationDetailsPtrType)(v)
+func EndpointServicePtr(v *EndpointServiceArgs) EndpointServicePtrInput {
+ return (*endpointServicePtrType)(v)
}
-func (*connectionMonitorEndpointLocationDetailsPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorEndpointLocationDetails)(nil)).Elem()
+func (*endpointServicePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**EndpointService)(nil)).Elem()
}
-func (i *connectionMonitorEndpointLocationDetailsPtrType) ToConnectionMonitorEndpointLocationDetailsPtrOutput() ConnectionMonitorEndpointLocationDetailsPtrOutput {
- return i.ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(context.Background())
+func (i *endpointServicePtrType) ToEndpointServicePtrOutput() EndpointServicePtrOutput {
+ return i.ToEndpointServicePtrOutputWithContext(context.Background())
}
-func (i *connectionMonitorEndpointLocationDetailsPtrType) ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointLocationDetailsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointLocationDetailsPtrOutput)
+func (i *endpointServicePtrType) ToEndpointServicePtrOutputWithContext(ctx context.Context) EndpointServicePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(EndpointServicePtrOutput)
}
-// Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the region details.
-type ConnectionMonitorEndpointLocationDetailsOutput struct{ *pulumi.OutputState }
+// Identifies the service being brought into the virtual network.
+type EndpointServiceOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorEndpointLocationDetailsOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpointLocationDetails)(nil)).Elem()
+func (EndpointServiceOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*EndpointService)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointLocationDetailsOutput) ToConnectionMonitorEndpointLocationDetailsOutput() ConnectionMonitorEndpointLocationDetailsOutput {
+func (o EndpointServiceOutput) ToEndpointServiceOutput() EndpointServiceOutput {
return o
}
-func (o ConnectionMonitorEndpointLocationDetailsOutput) ToConnectionMonitorEndpointLocationDetailsOutputWithContext(ctx context.Context) ConnectionMonitorEndpointLocationDetailsOutput {
+func (o EndpointServiceOutput) ToEndpointServiceOutputWithContext(ctx context.Context) EndpointServiceOutput {
return o
}
-func (o ConnectionMonitorEndpointLocationDetailsOutput) ToConnectionMonitorEndpointLocationDetailsPtrOutput() ConnectionMonitorEndpointLocationDetailsPtrOutput {
- return o.ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(context.Background())
+func (o EndpointServiceOutput) ToEndpointServicePtrOutput() EndpointServicePtrOutput {
+ return o.ToEndpointServicePtrOutputWithContext(context.Background())
}
-func (o ConnectionMonitorEndpointLocationDetailsOutput) ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointLocationDetailsPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorEndpointLocationDetails) *ConnectionMonitorEndpointLocationDetails {
+func (o EndpointServiceOutput) ToEndpointServicePtrOutputWithContext(ctx context.Context) EndpointServicePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v EndpointService) *EndpointService {
return &v
- }).(ConnectionMonitorEndpointLocationDetailsPtrOutput)
+ }).(EndpointServicePtrOutput)
}
-// Region for connection monitor endpoint.
-func (o ConnectionMonitorEndpointLocationDetailsOutput) Region() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointLocationDetails) *string { return v.Region }).(pulumi.StringPtrOutput)
+// A unique identifier of the service being referenced by the interface endpoint.
+func (o EndpointServiceOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EndpointService) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-type ConnectionMonitorEndpointLocationDetailsPtrOutput struct{ *pulumi.OutputState }
+type EndpointServicePtrOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorEndpointLocationDetailsPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorEndpointLocationDetails)(nil)).Elem()
+func (EndpointServicePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**EndpointService)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointLocationDetailsPtrOutput) ToConnectionMonitorEndpointLocationDetailsPtrOutput() ConnectionMonitorEndpointLocationDetailsPtrOutput {
+func (o EndpointServicePtrOutput) ToEndpointServicePtrOutput() EndpointServicePtrOutput {
return o
}
-func (o ConnectionMonitorEndpointLocationDetailsPtrOutput) ToConnectionMonitorEndpointLocationDetailsPtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointLocationDetailsPtrOutput {
+func (o EndpointServicePtrOutput) ToEndpointServicePtrOutputWithContext(ctx context.Context) EndpointServicePtrOutput {
return o
}
-func (o ConnectionMonitorEndpointLocationDetailsPtrOutput) Elem() ConnectionMonitorEndpointLocationDetailsOutput {
- return o.ApplyT(func(v *ConnectionMonitorEndpointLocationDetails) ConnectionMonitorEndpointLocationDetails {
+func (o EndpointServicePtrOutput) Elem() EndpointServiceOutput {
+ return o.ApplyT(func(v *EndpointService) EndpointService {
if v != nil {
return *v
}
- var ret ConnectionMonitorEndpointLocationDetails
+ var ret EndpointService
return ret
- }).(ConnectionMonitorEndpointLocationDetailsOutput)
+ }).(EndpointServiceOutput)
}
-// Region for connection monitor endpoint.
-func (o ConnectionMonitorEndpointLocationDetailsPtrOutput) Region() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorEndpointLocationDetails) *string {
+// A unique identifier of the service being referenced by the interface endpoint.
+func (o EndpointServicePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *EndpointService) *string {
if v == nil {
return nil
}
- return v.Region
+ return v.Id
}).(pulumi.StringPtrOutput)
}
-// Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the region details.
-type ConnectionMonitorEndpointLocationDetailsResponse struct {
- // Region for connection monitor endpoint.
- Region *string `pulumi:"region"`
+// Identifies the service being brought into the virtual network.
+type EndpointServiceResponse struct {
+ // A unique identifier of the service being referenced by the interface endpoint.
+ Id *string `pulumi:"id"`
}
-// Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the region details.
-type ConnectionMonitorEndpointLocationDetailsResponseOutput struct{ *pulumi.OutputState }
+// Identifies the service being brought into the virtual network.
+type EndpointServiceResponseOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorEndpointLocationDetailsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpointLocationDetailsResponse)(nil)).Elem()
+func (EndpointServiceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*EndpointServiceResponse)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointLocationDetailsResponseOutput) ToConnectionMonitorEndpointLocationDetailsResponseOutput() ConnectionMonitorEndpointLocationDetailsResponseOutput {
+func (o EndpointServiceResponseOutput) ToEndpointServiceResponseOutput() EndpointServiceResponseOutput {
return o
}
-func (o ConnectionMonitorEndpointLocationDetailsResponseOutput) ToConnectionMonitorEndpointLocationDetailsResponseOutputWithContext(ctx context.Context) ConnectionMonitorEndpointLocationDetailsResponseOutput {
+func (o EndpointServiceResponseOutput) ToEndpointServiceResponseOutputWithContext(ctx context.Context) EndpointServiceResponseOutput {
return o
}
-// Region for connection monitor endpoint.
-func (o ConnectionMonitorEndpointLocationDetailsResponseOutput) Region() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointLocationDetailsResponse) *string { return v.Region }).(pulumi.StringPtrOutput)
+// A unique identifier of the service being referenced by the interface endpoint.
+func (o EndpointServiceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v EndpointServiceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-type ConnectionMonitorEndpointLocationDetailsResponsePtrOutput struct{ *pulumi.OutputState }
+type EndpointServiceResponsePtrOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorEndpointLocationDetailsResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorEndpointLocationDetailsResponse)(nil)).Elem()
+func (EndpointServiceResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**EndpointServiceResponse)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointLocationDetailsResponsePtrOutput) ToConnectionMonitorEndpointLocationDetailsResponsePtrOutput() ConnectionMonitorEndpointLocationDetailsResponsePtrOutput {
+func (o EndpointServiceResponsePtrOutput) ToEndpointServiceResponsePtrOutput() EndpointServiceResponsePtrOutput {
return o
}
-func (o ConnectionMonitorEndpointLocationDetailsResponsePtrOutput) ToConnectionMonitorEndpointLocationDetailsResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointLocationDetailsResponsePtrOutput {
+func (o EndpointServiceResponsePtrOutput) ToEndpointServiceResponsePtrOutputWithContext(ctx context.Context) EndpointServiceResponsePtrOutput {
return o
}
-func (o ConnectionMonitorEndpointLocationDetailsResponsePtrOutput) Elem() ConnectionMonitorEndpointLocationDetailsResponseOutput {
- return o.ApplyT(func(v *ConnectionMonitorEndpointLocationDetailsResponse) ConnectionMonitorEndpointLocationDetailsResponse {
+func (o EndpointServiceResponsePtrOutput) Elem() EndpointServiceResponseOutput {
+ return o.ApplyT(func(v *EndpointServiceResponse) EndpointServiceResponse {
if v != nil {
return *v
}
- var ret ConnectionMonitorEndpointLocationDetailsResponse
+ var ret EndpointServiceResponse
return ret
- }).(ConnectionMonitorEndpointLocationDetailsResponseOutput)
+ }).(EndpointServiceResponseOutput)
}
-// Region for connection monitor endpoint.
-func (o ConnectionMonitorEndpointLocationDetailsResponsePtrOutput) Region() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorEndpointLocationDetailsResponse) *string {
+// A unique identifier of the service being referenced by the interface endpoint.
+func (o EndpointServiceResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *EndpointServiceResponse) *string {
if v == nil {
return nil
}
- return v.Region
+ return v.Id
}).(pulumi.StringPtrOutput)
}
-// Describes the connection monitor endpoint.
-type ConnectionMonitorEndpointResponse struct {
- // Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- Address *string `pulumi:"address"`
- // Test coverage for the endpoint.
- CoverageLevel *string `pulumi:"coverageLevel"`
- // Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- Filter *ConnectionMonitorEndpointFilterResponse `pulumi:"filter"`
- // Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- LocationDetails *ConnectionMonitorEndpointLocationDetailsResponse `pulumi:"locationDetails"`
- // The name of the connection monitor endpoint.
- Name string `pulumi:"name"`
- // Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- ResourceId *string `pulumi:"resourceId"`
- // Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- Scope *ConnectionMonitorEndpointScopeResponse `pulumi:"scope"`
- // Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- SubscriptionId *string `pulumi:"subscriptionId"`
- // The endpoint type.
- Type *string `pulumi:"type"`
+// Adds exception to allow a request when the condition is satisfied.
+type ExceptionEntry struct {
+ // The managed rule sets that are associated with the exception.
+ ExceptionManagedRuleSets []ExclusionManagedRuleSet `pulumi:"exceptionManagedRuleSets"`
+ // The variable on which we evaluate the exception condition
+ MatchVariable string `pulumi:"matchVariable"`
+ // When the matchVariable points to a key-value pair (e.g, RequestHeader), this identifies the key.
+ Selector *string `pulumi:"selector"`
+ // When the matchVariable points to a key-value pair (e.g, RequestHeader), this operates on the selector
+ SelectorMatchOperator *string `pulumi:"selectorMatchOperator"`
+ // Operates on the allowed values for the matchVariable
+ ValueMatchOperator string `pulumi:"valueMatchOperator"`
+ // Allowed values for the matchVariable
+ Values []string `pulumi:"values"`
}
-// Describes the connection monitor endpoint.
-type ConnectionMonitorEndpointResponseOutput struct{ *pulumi.OutputState }
-
-func (ConnectionMonitorEndpointResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpointResponse)(nil)).Elem()
-}
+// ExceptionEntryInput is an input type that accepts ExceptionEntryArgs and ExceptionEntryOutput values.
+// You can construct a concrete instance of `ExceptionEntryInput` via:
+//
+// ExceptionEntryArgs{...}
+type ExceptionEntryInput interface {
+ pulumi.Input
-func (o ConnectionMonitorEndpointResponseOutput) ToConnectionMonitorEndpointResponseOutput() ConnectionMonitorEndpointResponseOutput {
- return o
+ ToExceptionEntryOutput() ExceptionEntryOutput
+ ToExceptionEntryOutputWithContext(context.Context) ExceptionEntryOutput
}
-func (o ConnectionMonitorEndpointResponseOutput) ToConnectionMonitorEndpointResponseOutputWithContext(ctx context.Context) ConnectionMonitorEndpointResponseOutput {
- return o
+// Adds exception to allow a request when the condition is satisfied.
+type ExceptionEntryArgs struct {
+ // The managed rule sets that are associated with the exception.
+ ExceptionManagedRuleSets ExclusionManagedRuleSetArrayInput `pulumi:"exceptionManagedRuleSets"`
+ // The variable on which we evaluate the exception condition
+ MatchVariable pulumi.StringInput `pulumi:"matchVariable"`
+ // When the matchVariable points to a key-value pair (e.g, RequestHeader), this identifies the key.
+ Selector pulumi.StringPtrInput `pulumi:"selector"`
+ // When the matchVariable points to a key-value pair (e.g, RequestHeader), this operates on the selector
+ SelectorMatchOperator pulumi.StringPtrInput `pulumi:"selectorMatchOperator"`
+ // Operates on the allowed values for the matchVariable
+ ValueMatchOperator pulumi.StringInput `pulumi:"valueMatchOperator"`
+ // Allowed values for the matchVariable
+ Values pulumi.StringArrayInput `pulumi:"values"`
}
-// Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
-func (o ConnectionMonitorEndpointResponseOutput) Address() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointResponse) *string { return v.Address }).(pulumi.StringPtrOutput)
+func (ExceptionEntryArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExceptionEntry)(nil)).Elem()
}
-// Test coverage for the endpoint.
-func (o ConnectionMonitorEndpointResponseOutput) CoverageLevel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointResponse) *string { return v.CoverageLevel }).(pulumi.StringPtrOutput)
+func (i ExceptionEntryArgs) ToExceptionEntryOutput() ExceptionEntryOutput {
+ return i.ToExceptionEntryOutputWithContext(context.Background())
}
-// Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
-func (o ConnectionMonitorEndpointResponseOutput) Filter() ConnectionMonitorEndpointFilterResponsePtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointResponse) *ConnectionMonitorEndpointFilterResponse { return v.Filter }).(ConnectionMonitorEndpointFilterResponsePtrOutput)
+func (i ExceptionEntryArgs) ToExceptionEntryOutputWithContext(ctx context.Context) ExceptionEntryOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExceptionEntryOutput)
}
-// Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
-func (o ConnectionMonitorEndpointResponseOutput) LocationDetails() ConnectionMonitorEndpointLocationDetailsResponsePtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointResponse) *ConnectionMonitorEndpointLocationDetailsResponse {
- return v.LocationDetails
- }).(ConnectionMonitorEndpointLocationDetailsResponsePtrOutput)
-}
+// ExceptionEntryArrayInput is an input type that accepts ExceptionEntryArray and ExceptionEntryArrayOutput values.
+// You can construct a concrete instance of `ExceptionEntryArrayInput` via:
+//
+// ExceptionEntryArray{ ExceptionEntryArgs{...} }
+type ExceptionEntryArrayInput interface {
+ pulumi.Input
-// The name of the connection monitor endpoint.
-func (o ConnectionMonitorEndpointResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointResponse) string { return v.Name }).(pulumi.StringOutput)
+ ToExceptionEntryArrayOutput() ExceptionEntryArrayOutput
+ ToExceptionEntryArrayOutputWithContext(context.Context) ExceptionEntryArrayOutput
}
-// Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
-func (o ConnectionMonitorEndpointResponseOutput) ResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointResponse) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
-}
+type ExceptionEntryArray []ExceptionEntryInput
-// Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
-func (o ConnectionMonitorEndpointResponseOutput) Scope() ConnectionMonitorEndpointScopeResponsePtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointResponse) *ConnectionMonitorEndpointScopeResponse { return v.Scope }).(ConnectionMonitorEndpointScopeResponsePtrOutput)
+func (ExceptionEntryArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExceptionEntry)(nil)).Elem()
}
-// Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
-func (o ConnectionMonitorEndpointResponseOutput) SubscriptionId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointResponse) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput)
+func (i ExceptionEntryArray) ToExceptionEntryArrayOutput() ExceptionEntryArrayOutput {
+ return i.ToExceptionEntryArrayOutputWithContext(context.Background())
}
-// The endpoint type.
-func (o ConnectionMonitorEndpointResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+func (i ExceptionEntryArray) ToExceptionEntryArrayOutputWithContext(ctx context.Context) ExceptionEntryArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExceptionEntryArrayOutput)
}
-type ConnectionMonitorEndpointResponseArrayOutput struct{ *pulumi.OutputState }
+// Adds exception to allow a request when the condition is satisfied.
+type ExceptionEntryOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorEndpointResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorEndpointResponse)(nil)).Elem()
+func (ExceptionEntryOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExceptionEntry)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointResponseArrayOutput) ToConnectionMonitorEndpointResponseArrayOutput() ConnectionMonitorEndpointResponseArrayOutput {
+func (o ExceptionEntryOutput) ToExceptionEntryOutput() ExceptionEntryOutput {
return o
}
-func (o ConnectionMonitorEndpointResponseArrayOutput) ToConnectionMonitorEndpointResponseArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointResponseArrayOutput {
+func (o ExceptionEntryOutput) ToExceptionEntryOutputWithContext(ctx context.Context) ExceptionEntryOutput {
return o
}
-func (o ConnectionMonitorEndpointResponseArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorEndpointResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorEndpointResponse {
- return vs[0].([]ConnectionMonitorEndpointResponse)[vs[1].(int)]
- }).(ConnectionMonitorEndpointResponseOutput)
-}
-
-// Describes the connection monitor endpoint scope.
-type ConnectionMonitorEndpointScope struct {
- // List of items which needs to be excluded from the endpoint scope.
- Exclude []ConnectionMonitorEndpointScopeItem `pulumi:"exclude"`
- // List of items which needs to be included to the endpoint scope.
- Include []ConnectionMonitorEndpointScopeItem `pulumi:"include"`
-}
-
-// ConnectionMonitorEndpointScopeInput is an input type that accepts ConnectionMonitorEndpointScopeArgs and ConnectionMonitorEndpointScopeOutput values.
-// You can construct a concrete instance of `ConnectionMonitorEndpointScopeInput` via:
-//
-// ConnectionMonitorEndpointScopeArgs{...}
-type ConnectionMonitorEndpointScopeInput interface {
- pulumi.Input
-
- ToConnectionMonitorEndpointScopeOutput() ConnectionMonitorEndpointScopeOutput
- ToConnectionMonitorEndpointScopeOutputWithContext(context.Context) ConnectionMonitorEndpointScopeOutput
-}
-
-// Describes the connection monitor endpoint scope.
-type ConnectionMonitorEndpointScopeArgs struct {
- // List of items which needs to be excluded from the endpoint scope.
- Exclude ConnectionMonitorEndpointScopeItemArrayInput `pulumi:"exclude"`
- // List of items which needs to be included to the endpoint scope.
- Include ConnectionMonitorEndpointScopeItemArrayInput `pulumi:"include"`
+// The managed rule sets that are associated with the exception.
+func (o ExceptionEntryOutput) ExceptionManagedRuleSets() ExclusionManagedRuleSetArrayOutput {
+ return o.ApplyT(func(v ExceptionEntry) []ExclusionManagedRuleSet { return v.ExceptionManagedRuleSets }).(ExclusionManagedRuleSetArrayOutput)
}
-func (ConnectionMonitorEndpointScopeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpointScope)(nil)).Elem()
+// The variable on which we evaluate the exception condition
+func (o ExceptionEntryOutput) MatchVariable() pulumi.StringOutput {
+ return o.ApplyT(func(v ExceptionEntry) string { return v.MatchVariable }).(pulumi.StringOutput)
}
-func (i ConnectionMonitorEndpointScopeArgs) ToConnectionMonitorEndpointScopeOutput() ConnectionMonitorEndpointScopeOutput {
- return i.ToConnectionMonitorEndpointScopeOutputWithContext(context.Background())
+// When the matchVariable points to a key-value pair (e.g, RequestHeader), this identifies the key.
+func (o ExceptionEntryOutput) Selector() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExceptionEntry) *string { return v.Selector }).(pulumi.StringPtrOutput)
}
-func (i ConnectionMonitorEndpointScopeArgs) ToConnectionMonitorEndpointScopeOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointScopeOutput)
+// When the matchVariable points to a key-value pair (e.g, RequestHeader), this operates on the selector
+func (o ExceptionEntryOutput) SelectorMatchOperator() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExceptionEntry) *string { return v.SelectorMatchOperator }).(pulumi.StringPtrOutput)
}
-func (i ConnectionMonitorEndpointScopeArgs) ToConnectionMonitorEndpointScopePtrOutput() ConnectionMonitorEndpointScopePtrOutput {
- return i.ToConnectionMonitorEndpointScopePtrOutputWithContext(context.Background())
+// Operates on the allowed values for the matchVariable
+func (o ExceptionEntryOutput) ValueMatchOperator() pulumi.StringOutput {
+ return o.ApplyT(func(v ExceptionEntry) string { return v.ValueMatchOperator }).(pulumi.StringOutput)
}
-func (i ConnectionMonitorEndpointScopeArgs) ToConnectionMonitorEndpointScopePtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointScopeOutput).ToConnectionMonitorEndpointScopePtrOutputWithContext(ctx)
+// Allowed values for the matchVariable
+func (o ExceptionEntryOutput) Values() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ExceptionEntry) []string { return v.Values }).(pulumi.StringArrayOutput)
}
-// ConnectionMonitorEndpointScopePtrInput is an input type that accepts ConnectionMonitorEndpointScopeArgs, ConnectionMonitorEndpointScopePtr and ConnectionMonitorEndpointScopePtrOutput values.
-// You can construct a concrete instance of `ConnectionMonitorEndpointScopePtrInput` via:
-//
-// ConnectionMonitorEndpointScopeArgs{...}
-//
-// or:
-//
-// nil
-type ConnectionMonitorEndpointScopePtrInput interface {
- pulumi.Input
+type ExceptionEntryArrayOutput struct{ *pulumi.OutputState }
- ToConnectionMonitorEndpointScopePtrOutput() ConnectionMonitorEndpointScopePtrOutput
- ToConnectionMonitorEndpointScopePtrOutputWithContext(context.Context) ConnectionMonitorEndpointScopePtrOutput
+func (ExceptionEntryArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExceptionEntry)(nil)).Elem()
}
-type connectionMonitorEndpointScopePtrType ConnectionMonitorEndpointScopeArgs
-
-func ConnectionMonitorEndpointScopePtr(v *ConnectionMonitorEndpointScopeArgs) ConnectionMonitorEndpointScopePtrInput {
- return (*connectionMonitorEndpointScopePtrType)(v)
+func (o ExceptionEntryArrayOutput) ToExceptionEntryArrayOutput() ExceptionEntryArrayOutput {
+ return o
}
-func (*connectionMonitorEndpointScopePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorEndpointScope)(nil)).Elem()
+func (o ExceptionEntryArrayOutput) ToExceptionEntryArrayOutputWithContext(ctx context.Context) ExceptionEntryArrayOutput {
+ return o
}
-func (i *connectionMonitorEndpointScopePtrType) ToConnectionMonitorEndpointScopePtrOutput() ConnectionMonitorEndpointScopePtrOutput {
- return i.ToConnectionMonitorEndpointScopePtrOutputWithContext(context.Background())
+func (o ExceptionEntryArrayOutput) Index(i pulumi.IntInput) ExceptionEntryOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExceptionEntry {
+ return vs[0].([]ExceptionEntry)[vs[1].(int)]
+ }).(ExceptionEntryOutput)
}
-func (i *connectionMonitorEndpointScopePtrType) ToConnectionMonitorEndpointScopePtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointScopePtrOutput)
+// Adds exception to allow a request when the condition is satisfied.
+type ExceptionEntryResponse struct {
+ // The managed rule sets that are associated with the exception.
+ ExceptionManagedRuleSets []ExclusionManagedRuleSetResponse `pulumi:"exceptionManagedRuleSets"`
+ // The variable on which we evaluate the exception condition
+ MatchVariable string `pulumi:"matchVariable"`
+ // When the matchVariable points to a key-value pair (e.g, RequestHeader), this identifies the key.
+ Selector *string `pulumi:"selector"`
+ // When the matchVariable points to a key-value pair (e.g, RequestHeader), this operates on the selector
+ SelectorMatchOperator *string `pulumi:"selectorMatchOperator"`
+ // Operates on the allowed values for the matchVariable
+ ValueMatchOperator string `pulumi:"valueMatchOperator"`
+ // Allowed values for the matchVariable
+ Values []string `pulumi:"values"`
}
-// Describes the connection monitor endpoint scope.
-type ConnectionMonitorEndpointScopeOutput struct{ *pulumi.OutputState }
+// Adds exception to allow a request when the condition is satisfied.
+type ExceptionEntryResponseOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorEndpointScopeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpointScope)(nil)).Elem()
+func (ExceptionEntryResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExceptionEntryResponse)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointScopeOutput) ToConnectionMonitorEndpointScopeOutput() ConnectionMonitorEndpointScopeOutput {
+func (o ExceptionEntryResponseOutput) ToExceptionEntryResponseOutput() ExceptionEntryResponseOutput {
return o
}
-func (o ConnectionMonitorEndpointScopeOutput) ToConnectionMonitorEndpointScopeOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeOutput {
+func (o ExceptionEntryResponseOutput) ToExceptionEntryResponseOutputWithContext(ctx context.Context) ExceptionEntryResponseOutput {
return o
}
-func (o ConnectionMonitorEndpointScopeOutput) ToConnectionMonitorEndpointScopePtrOutput() ConnectionMonitorEndpointScopePtrOutput {
- return o.ToConnectionMonitorEndpointScopePtrOutputWithContext(context.Background())
+// The managed rule sets that are associated with the exception.
+func (o ExceptionEntryResponseOutput) ExceptionManagedRuleSets() ExclusionManagedRuleSetResponseArrayOutput {
+ return o.ApplyT(func(v ExceptionEntryResponse) []ExclusionManagedRuleSetResponse { return v.ExceptionManagedRuleSets }).(ExclusionManagedRuleSetResponseArrayOutput)
}
-func (o ConnectionMonitorEndpointScopeOutput) ToConnectionMonitorEndpointScopePtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorEndpointScope) *ConnectionMonitorEndpointScope {
- return &v
- }).(ConnectionMonitorEndpointScopePtrOutput)
+// The variable on which we evaluate the exception condition
+func (o ExceptionEntryResponseOutput) MatchVariable() pulumi.StringOutput {
+ return o.ApplyT(func(v ExceptionEntryResponse) string { return v.MatchVariable }).(pulumi.StringOutput)
}
-// List of items which needs to be excluded from the endpoint scope.
-func (o ConnectionMonitorEndpointScopeOutput) Exclude() ConnectionMonitorEndpointScopeItemArrayOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointScope) []ConnectionMonitorEndpointScopeItem { return v.Exclude }).(ConnectionMonitorEndpointScopeItemArrayOutput)
+// When the matchVariable points to a key-value pair (e.g, RequestHeader), this identifies the key.
+func (o ExceptionEntryResponseOutput) Selector() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExceptionEntryResponse) *string { return v.Selector }).(pulumi.StringPtrOutput)
}
-// List of items which needs to be included to the endpoint scope.
-func (o ConnectionMonitorEndpointScopeOutput) Include() ConnectionMonitorEndpointScopeItemArrayOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointScope) []ConnectionMonitorEndpointScopeItem { return v.Include }).(ConnectionMonitorEndpointScopeItemArrayOutput)
+// When the matchVariable points to a key-value pair (e.g, RequestHeader), this operates on the selector
+func (o ExceptionEntryResponseOutput) SelectorMatchOperator() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExceptionEntryResponse) *string { return v.SelectorMatchOperator }).(pulumi.StringPtrOutput)
}
-type ConnectionMonitorEndpointScopePtrOutput struct{ *pulumi.OutputState }
-
-func (ConnectionMonitorEndpointScopePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorEndpointScope)(nil)).Elem()
+// Operates on the allowed values for the matchVariable
+func (o ExceptionEntryResponseOutput) ValueMatchOperator() pulumi.StringOutput {
+ return o.ApplyT(func(v ExceptionEntryResponse) string { return v.ValueMatchOperator }).(pulumi.StringOutput)
}
-func (o ConnectionMonitorEndpointScopePtrOutput) ToConnectionMonitorEndpointScopePtrOutput() ConnectionMonitorEndpointScopePtrOutput {
- return o
+// Allowed values for the matchVariable
+func (o ExceptionEntryResponseOutput) Values() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ExceptionEntryResponse) []string { return v.Values }).(pulumi.StringArrayOutput)
}
-func (o ConnectionMonitorEndpointScopePtrOutput) ToConnectionMonitorEndpointScopePtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopePtrOutput {
- return o
+type ExceptionEntryResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ExceptionEntryResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExceptionEntryResponse)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointScopePtrOutput) Elem() ConnectionMonitorEndpointScopeOutput {
- return o.ApplyT(func(v *ConnectionMonitorEndpointScope) ConnectionMonitorEndpointScope {
- if v != nil {
- return *v
- }
- var ret ConnectionMonitorEndpointScope
- return ret
- }).(ConnectionMonitorEndpointScopeOutput)
+func (o ExceptionEntryResponseArrayOutput) ToExceptionEntryResponseArrayOutput() ExceptionEntryResponseArrayOutput {
+ return o
}
-// List of items which needs to be excluded from the endpoint scope.
-func (o ConnectionMonitorEndpointScopePtrOutput) Exclude() ConnectionMonitorEndpointScopeItemArrayOutput {
- return o.ApplyT(func(v *ConnectionMonitorEndpointScope) []ConnectionMonitorEndpointScopeItem {
- if v == nil {
- return nil
- }
- return v.Exclude
- }).(ConnectionMonitorEndpointScopeItemArrayOutput)
+func (o ExceptionEntryResponseArrayOutput) ToExceptionEntryResponseArrayOutputWithContext(ctx context.Context) ExceptionEntryResponseArrayOutput {
+ return o
}
-// List of items which needs to be included to the endpoint scope.
-func (o ConnectionMonitorEndpointScopePtrOutput) Include() ConnectionMonitorEndpointScopeItemArrayOutput {
- return o.ApplyT(func(v *ConnectionMonitorEndpointScope) []ConnectionMonitorEndpointScopeItem {
- if v == nil {
- return nil
- }
- return v.Include
- }).(ConnectionMonitorEndpointScopeItemArrayOutput)
+func (o ExceptionEntryResponseArrayOutput) Index(i pulumi.IntInput) ExceptionEntryResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExceptionEntryResponse {
+ return vs[0].([]ExceptionEntryResponse)[vs[1].(int)]
+ }).(ExceptionEntryResponseOutput)
}
-// Describes the connection monitor endpoint scope item.
-type ConnectionMonitorEndpointScopeItem struct {
- // The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
- Address *string `pulumi:"address"`
+// Defines a managed rule to use for exclusion.
+type ExclusionManagedRule struct {
+ // Identifier for the managed rule.
+ RuleId string `pulumi:"ruleId"`
}
-// ConnectionMonitorEndpointScopeItemInput is an input type that accepts ConnectionMonitorEndpointScopeItemArgs and ConnectionMonitorEndpointScopeItemOutput values.
-// You can construct a concrete instance of `ConnectionMonitorEndpointScopeItemInput` via:
+// ExclusionManagedRuleInput is an input type that accepts ExclusionManagedRuleArgs and ExclusionManagedRuleOutput values.
+// You can construct a concrete instance of `ExclusionManagedRuleInput` via:
//
-// ConnectionMonitorEndpointScopeItemArgs{...}
-type ConnectionMonitorEndpointScopeItemInput interface {
+// ExclusionManagedRuleArgs{...}
+type ExclusionManagedRuleInput interface {
pulumi.Input
- ToConnectionMonitorEndpointScopeItemOutput() ConnectionMonitorEndpointScopeItemOutput
- ToConnectionMonitorEndpointScopeItemOutputWithContext(context.Context) ConnectionMonitorEndpointScopeItemOutput
+ ToExclusionManagedRuleOutput() ExclusionManagedRuleOutput
+ ToExclusionManagedRuleOutputWithContext(context.Context) ExclusionManagedRuleOutput
}
-// Describes the connection monitor endpoint scope item.
-type ConnectionMonitorEndpointScopeItemArgs struct {
- // The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
- Address pulumi.StringPtrInput `pulumi:"address"`
+// Defines a managed rule to use for exclusion.
+type ExclusionManagedRuleArgs struct {
+ // Identifier for the managed rule.
+ RuleId pulumi.StringInput `pulumi:"ruleId"`
}
-func (ConnectionMonitorEndpointScopeItemArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpointScopeItem)(nil)).Elem()
+func (ExclusionManagedRuleArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExclusionManagedRule)(nil)).Elem()
}
-func (i ConnectionMonitorEndpointScopeItemArgs) ToConnectionMonitorEndpointScopeItemOutput() ConnectionMonitorEndpointScopeItemOutput {
- return i.ToConnectionMonitorEndpointScopeItemOutputWithContext(context.Background())
+func (i ExclusionManagedRuleArgs) ToExclusionManagedRuleOutput() ExclusionManagedRuleOutput {
+ return i.ToExclusionManagedRuleOutputWithContext(context.Background())
}
-func (i ConnectionMonitorEndpointScopeItemArgs) ToConnectionMonitorEndpointScopeItemOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeItemOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointScopeItemOutput)
+func (i ExclusionManagedRuleArgs) ToExclusionManagedRuleOutputWithContext(ctx context.Context) ExclusionManagedRuleOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExclusionManagedRuleOutput)
}
-// ConnectionMonitorEndpointScopeItemArrayInput is an input type that accepts ConnectionMonitorEndpointScopeItemArray and ConnectionMonitorEndpointScopeItemArrayOutput values.
-// You can construct a concrete instance of `ConnectionMonitorEndpointScopeItemArrayInput` via:
+// ExclusionManagedRuleArrayInput is an input type that accepts ExclusionManagedRuleArray and ExclusionManagedRuleArrayOutput values.
+// You can construct a concrete instance of `ExclusionManagedRuleArrayInput` via:
//
-// ConnectionMonitorEndpointScopeItemArray{ ConnectionMonitorEndpointScopeItemArgs{...} }
-type ConnectionMonitorEndpointScopeItemArrayInput interface {
+// ExclusionManagedRuleArray{ ExclusionManagedRuleArgs{...} }
+type ExclusionManagedRuleArrayInput interface {
pulumi.Input
- ToConnectionMonitorEndpointScopeItemArrayOutput() ConnectionMonitorEndpointScopeItemArrayOutput
- ToConnectionMonitorEndpointScopeItemArrayOutputWithContext(context.Context) ConnectionMonitorEndpointScopeItemArrayOutput
+ ToExclusionManagedRuleArrayOutput() ExclusionManagedRuleArrayOutput
+ ToExclusionManagedRuleArrayOutputWithContext(context.Context) ExclusionManagedRuleArrayOutput
}
-type ConnectionMonitorEndpointScopeItemArray []ConnectionMonitorEndpointScopeItemInput
+type ExclusionManagedRuleArray []ExclusionManagedRuleInput
-func (ConnectionMonitorEndpointScopeItemArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorEndpointScopeItem)(nil)).Elem()
+func (ExclusionManagedRuleArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExclusionManagedRule)(nil)).Elem()
}
-func (i ConnectionMonitorEndpointScopeItemArray) ToConnectionMonitorEndpointScopeItemArrayOutput() ConnectionMonitorEndpointScopeItemArrayOutput {
- return i.ToConnectionMonitorEndpointScopeItemArrayOutputWithContext(context.Background())
+func (i ExclusionManagedRuleArray) ToExclusionManagedRuleArrayOutput() ExclusionManagedRuleArrayOutput {
+ return i.ToExclusionManagedRuleArrayOutputWithContext(context.Background())
}
-func (i ConnectionMonitorEndpointScopeItemArray) ToConnectionMonitorEndpointScopeItemArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeItemArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorEndpointScopeItemArrayOutput)
+func (i ExclusionManagedRuleArray) ToExclusionManagedRuleArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExclusionManagedRuleArrayOutput)
}
-// Describes the connection monitor endpoint scope item.
-type ConnectionMonitorEndpointScopeItemOutput struct{ *pulumi.OutputState }
+// Defines a managed rule to use for exclusion.
+type ExclusionManagedRuleOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorEndpointScopeItemOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpointScopeItem)(nil)).Elem()
+func (ExclusionManagedRuleOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExclusionManagedRule)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointScopeItemOutput) ToConnectionMonitorEndpointScopeItemOutput() ConnectionMonitorEndpointScopeItemOutput {
+func (o ExclusionManagedRuleOutput) ToExclusionManagedRuleOutput() ExclusionManagedRuleOutput {
return o
}
-func (o ConnectionMonitorEndpointScopeItemOutput) ToConnectionMonitorEndpointScopeItemOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeItemOutput {
+func (o ExclusionManagedRuleOutput) ToExclusionManagedRuleOutputWithContext(ctx context.Context) ExclusionManagedRuleOutput {
return o
}
-// The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
-func (o ConnectionMonitorEndpointScopeItemOutput) Address() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointScopeItem) *string { return v.Address }).(pulumi.StringPtrOutput)
+// Identifier for the managed rule.
+func (o ExclusionManagedRuleOutput) RuleId() pulumi.StringOutput {
+ return o.ApplyT(func(v ExclusionManagedRule) string { return v.RuleId }).(pulumi.StringOutput)
}
-type ConnectionMonitorEndpointScopeItemArrayOutput struct{ *pulumi.OutputState }
+type ExclusionManagedRuleArrayOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorEndpointScopeItemArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorEndpointScopeItem)(nil)).Elem()
+func (ExclusionManagedRuleArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExclusionManagedRule)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointScopeItemArrayOutput) ToConnectionMonitorEndpointScopeItemArrayOutput() ConnectionMonitorEndpointScopeItemArrayOutput {
+func (o ExclusionManagedRuleArrayOutput) ToExclusionManagedRuleArrayOutput() ExclusionManagedRuleArrayOutput {
return o
}
-func (o ConnectionMonitorEndpointScopeItemArrayOutput) ToConnectionMonitorEndpointScopeItemArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeItemArrayOutput {
+func (o ExclusionManagedRuleArrayOutput) ToExclusionManagedRuleArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleArrayOutput {
return o
}
-func (o ConnectionMonitorEndpointScopeItemArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorEndpointScopeItemOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorEndpointScopeItem {
- return vs[0].([]ConnectionMonitorEndpointScopeItem)[vs[1].(int)]
- }).(ConnectionMonitorEndpointScopeItemOutput)
+func (o ExclusionManagedRuleArrayOutput) Index(i pulumi.IntInput) ExclusionManagedRuleOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExclusionManagedRule {
+ return vs[0].([]ExclusionManagedRule)[vs[1].(int)]
+ }).(ExclusionManagedRuleOutput)
}
-// Describes the connection monitor endpoint scope item.
-type ConnectionMonitorEndpointScopeItemResponse struct {
- // The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
- Address *string `pulumi:"address"`
+// Defines a managed rule group to use for exclusion.
+type ExclusionManagedRuleGroup struct {
+ // The managed rule group for exclusion.
+ RuleGroupName string `pulumi:"ruleGroupName"`
+ // List of rules that will be excluded. If none specified, all rules in the group will be excluded.
+ Rules []ExclusionManagedRule `pulumi:"rules"`
}
-// Describes the connection monitor endpoint scope item.
-type ConnectionMonitorEndpointScopeItemResponseOutput struct{ *pulumi.OutputState }
+// ExclusionManagedRuleGroupInput is an input type that accepts ExclusionManagedRuleGroupArgs and ExclusionManagedRuleGroupOutput values.
+// You can construct a concrete instance of `ExclusionManagedRuleGroupInput` via:
+//
+// ExclusionManagedRuleGroupArgs{...}
+type ExclusionManagedRuleGroupInput interface {
+ pulumi.Input
-func (ConnectionMonitorEndpointScopeItemResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpointScopeItemResponse)(nil)).Elem()
+ ToExclusionManagedRuleGroupOutput() ExclusionManagedRuleGroupOutput
+ ToExclusionManagedRuleGroupOutputWithContext(context.Context) ExclusionManagedRuleGroupOutput
}
-func (o ConnectionMonitorEndpointScopeItemResponseOutput) ToConnectionMonitorEndpointScopeItemResponseOutput() ConnectionMonitorEndpointScopeItemResponseOutput {
- return o
+// Defines a managed rule group to use for exclusion.
+type ExclusionManagedRuleGroupArgs struct {
+ // The managed rule group for exclusion.
+ RuleGroupName pulumi.StringInput `pulumi:"ruleGroupName"`
+ // List of rules that will be excluded. If none specified, all rules in the group will be excluded.
+ Rules ExclusionManagedRuleArrayInput `pulumi:"rules"`
}
-func (o ConnectionMonitorEndpointScopeItemResponseOutput) ToConnectionMonitorEndpointScopeItemResponseOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeItemResponseOutput {
- return o
+func (ExclusionManagedRuleGroupArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExclusionManagedRuleGroup)(nil)).Elem()
}
-// The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
-func (o ConnectionMonitorEndpointScopeItemResponseOutput) Address() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointScopeItemResponse) *string { return v.Address }).(pulumi.StringPtrOutput)
+func (i ExclusionManagedRuleGroupArgs) ToExclusionManagedRuleGroupOutput() ExclusionManagedRuleGroupOutput {
+ return i.ToExclusionManagedRuleGroupOutputWithContext(context.Background())
}
-type ConnectionMonitorEndpointScopeItemResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (ConnectionMonitorEndpointScopeItemResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorEndpointScopeItemResponse)(nil)).Elem()
+func (i ExclusionManagedRuleGroupArgs) ToExclusionManagedRuleGroupOutputWithContext(ctx context.Context) ExclusionManagedRuleGroupOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExclusionManagedRuleGroupOutput)
}
-func (o ConnectionMonitorEndpointScopeItemResponseArrayOutput) ToConnectionMonitorEndpointScopeItemResponseArrayOutput() ConnectionMonitorEndpointScopeItemResponseArrayOutput {
- return o
+// ExclusionManagedRuleGroupArrayInput is an input type that accepts ExclusionManagedRuleGroupArray and ExclusionManagedRuleGroupArrayOutput values.
+// You can construct a concrete instance of `ExclusionManagedRuleGroupArrayInput` via:
+//
+// ExclusionManagedRuleGroupArray{ ExclusionManagedRuleGroupArgs{...} }
+type ExclusionManagedRuleGroupArrayInput interface {
+ pulumi.Input
+
+ ToExclusionManagedRuleGroupArrayOutput() ExclusionManagedRuleGroupArrayOutput
+ ToExclusionManagedRuleGroupArrayOutputWithContext(context.Context) ExclusionManagedRuleGroupArrayOutput
}
-func (o ConnectionMonitorEndpointScopeItemResponseArrayOutput) ToConnectionMonitorEndpointScopeItemResponseArrayOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeItemResponseArrayOutput {
- return o
+type ExclusionManagedRuleGroupArray []ExclusionManagedRuleGroupInput
+
+func (ExclusionManagedRuleGroupArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExclusionManagedRuleGroup)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointScopeItemResponseArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorEndpointScopeItemResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorEndpointScopeItemResponse {
- return vs[0].([]ConnectionMonitorEndpointScopeItemResponse)[vs[1].(int)]
- }).(ConnectionMonitorEndpointScopeItemResponseOutput)
+func (i ExclusionManagedRuleGroupArray) ToExclusionManagedRuleGroupArrayOutput() ExclusionManagedRuleGroupArrayOutput {
+ return i.ToExclusionManagedRuleGroupArrayOutputWithContext(context.Background())
}
-// Describes the connection monitor endpoint scope.
-type ConnectionMonitorEndpointScopeResponse struct {
- // List of items which needs to be excluded from the endpoint scope.
- Exclude []ConnectionMonitorEndpointScopeItemResponse `pulumi:"exclude"`
- // List of items which needs to be included to the endpoint scope.
- Include []ConnectionMonitorEndpointScopeItemResponse `pulumi:"include"`
+func (i ExclusionManagedRuleGroupArray) ToExclusionManagedRuleGroupArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleGroupArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExclusionManagedRuleGroupArrayOutput)
}
-// Describes the connection monitor endpoint scope.
-type ConnectionMonitorEndpointScopeResponseOutput struct{ *pulumi.OutputState }
+// Defines a managed rule group to use for exclusion.
+type ExclusionManagedRuleGroupOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorEndpointScopeResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorEndpointScopeResponse)(nil)).Elem()
+func (ExclusionManagedRuleGroupOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExclusionManagedRuleGroup)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointScopeResponseOutput) ToConnectionMonitorEndpointScopeResponseOutput() ConnectionMonitorEndpointScopeResponseOutput {
+func (o ExclusionManagedRuleGroupOutput) ToExclusionManagedRuleGroupOutput() ExclusionManagedRuleGroupOutput {
return o
}
-func (o ConnectionMonitorEndpointScopeResponseOutput) ToConnectionMonitorEndpointScopeResponseOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeResponseOutput {
+func (o ExclusionManagedRuleGroupOutput) ToExclusionManagedRuleGroupOutputWithContext(ctx context.Context) ExclusionManagedRuleGroupOutput {
return o
}
-// List of items which needs to be excluded from the endpoint scope.
-func (o ConnectionMonitorEndpointScopeResponseOutput) Exclude() ConnectionMonitorEndpointScopeItemResponseArrayOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointScopeResponse) []ConnectionMonitorEndpointScopeItemResponse {
- return v.Exclude
- }).(ConnectionMonitorEndpointScopeItemResponseArrayOutput)
+// The managed rule group for exclusion.
+func (o ExclusionManagedRuleGroupOutput) RuleGroupName() pulumi.StringOutput {
+ return o.ApplyT(func(v ExclusionManagedRuleGroup) string { return v.RuleGroupName }).(pulumi.StringOutput)
}
-// List of items which needs to be included to the endpoint scope.
-func (o ConnectionMonitorEndpointScopeResponseOutput) Include() ConnectionMonitorEndpointScopeItemResponseArrayOutput {
- return o.ApplyT(func(v ConnectionMonitorEndpointScopeResponse) []ConnectionMonitorEndpointScopeItemResponse {
- return v.Include
- }).(ConnectionMonitorEndpointScopeItemResponseArrayOutput)
+// List of rules that will be excluded. If none specified, all rules in the group will be excluded.
+func (o ExclusionManagedRuleGroupOutput) Rules() ExclusionManagedRuleArrayOutput {
+ return o.ApplyT(func(v ExclusionManagedRuleGroup) []ExclusionManagedRule { return v.Rules }).(ExclusionManagedRuleArrayOutput)
}
-type ConnectionMonitorEndpointScopeResponsePtrOutput struct{ *pulumi.OutputState }
+type ExclusionManagedRuleGroupArrayOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorEndpointScopeResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorEndpointScopeResponse)(nil)).Elem()
+func (ExclusionManagedRuleGroupArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExclusionManagedRuleGroup)(nil)).Elem()
}
-func (o ConnectionMonitorEndpointScopeResponsePtrOutput) ToConnectionMonitorEndpointScopeResponsePtrOutput() ConnectionMonitorEndpointScopeResponsePtrOutput {
+func (o ExclusionManagedRuleGroupArrayOutput) ToExclusionManagedRuleGroupArrayOutput() ExclusionManagedRuleGroupArrayOutput {
return o
}
-func (o ConnectionMonitorEndpointScopeResponsePtrOutput) ToConnectionMonitorEndpointScopeResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorEndpointScopeResponsePtrOutput {
+func (o ExclusionManagedRuleGroupArrayOutput) ToExclusionManagedRuleGroupArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleGroupArrayOutput {
return o
}
-func (o ConnectionMonitorEndpointScopeResponsePtrOutput) Elem() ConnectionMonitorEndpointScopeResponseOutput {
- return o.ApplyT(func(v *ConnectionMonitorEndpointScopeResponse) ConnectionMonitorEndpointScopeResponse {
- if v != nil {
- return *v
- }
- var ret ConnectionMonitorEndpointScopeResponse
- return ret
- }).(ConnectionMonitorEndpointScopeResponseOutput)
+func (o ExclusionManagedRuleGroupArrayOutput) Index(i pulumi.IntInput) ExclusionManagedRuleGroupOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExclusionManagedRuleGroup {
+ return vs[0].([]ExclusionManagedRuleGroup)[vs[1].(int)]
+ }).(ExclusionManagedRuleGroupOutput)
}
-// List of items which needs to be excluded from the endpoint scope.
-func (o ConnectionMonitorEndpointScopeResponsePtrOutput) Exclude() ConnectionMonitorEndpointScopeItemResponseArrayOutput {
- return o.ApplyT(func(v *ConnectionMonitorEndpointScopeResponse) []ConnectionMonitorEndpointScopeItemResponse {
- if v == nil {
- return nil
- }
- return v.Exclude
- }).(ConnectionMonitorEndpointScopeItemResponseArrayOutput)
+// Defines a managed rule group to use for exclusion.
+type ExclusionManagedRuleGroupResponse struct {
+ // The managed rule group for exclusion.
+ RuleGroupName string `pulumi:"ruleGroupName"`
+ // List of rules that will be excluded. If none specified, all rules in the group will be excluded.
+ Rules []ExclusionManagedRuleResponse `pulumi:"rules"`
}
-// List of items which needs to be included to the endpoint scope.
-func (o ConnectionMonitorEndpointScopeResponsePtrOutput) Include() ConnectionMonitorEndpointScopeItemResponseArrayOutput {
- return o.ApplyT(func(v *ConnectionMonitorEndpointScopeResponse) []ConnectionMonitorEndpointScopeItemResponse {
- if v == nil {
- return nil
- }
- return v.Include
- }).(ConnectionMonitorEndpointScopeItemResponseArrayOutput)
-}
+// Defines a managed rule group to use for exclusion.
+type ExclusionManagedRuleGroupResponseOutput struct{ *pulumi.OutputState }
-// Describes the HTTP configuration.
-type ConnectionMonitorHttpConfiguration struct {
- // The HTTP method to use.
- Method *string `pulumi:"method"`
- // The path component of the URI. For instance, "/dir1/dir2".
- Path *string `pulumi:"path"`
- // The port to connect to.
- Port *int `pulumi:"port"`
- // Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
- PreferHTTPS *bool `pulumi:"preferHTTPS"`
- // The HTTP headers to transmit with the request.
- RequestHeaders []HTTPHeader `pulumi:"requestHeaders"`
- // HTTP status codes to consider successful. For instance, "2xx,301-304,418".
- ValidStatusCodeRanges []string `pulumi:"validStatusCodeRanges"`
+func (ExclusionManagedRuleGroupResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExclusionManagedRuleGroupResponse)(nil)).Elem()
}
-// ConnectionMonitorHttpConfigurationInput is an input type that accepts ConnectionMonitorHttpConfigurationArgs and ConnectionMonitorHttpConfigurationOutput values.
-// You can construct a concrete instance of `ConnectionMonitorHttpConfigurationInput` via:
-//
-// ConnectionMonitorHttpConfigurationArgs{...}
-type ConnectionMonitorHttpConfigurationInput interface {
- pulumi.Input
-
- ToConnectionMonitorHttpConfigurationOutput() ConnectionMonitorHttpConfigurationOutput
- ToConnectionMonitorHttpConfigurationOutputWithContext(context.Context) ConnectionMonitorHttpConfigurationOutput
+func (o ExclusionManagedRuleGroupResponseOutput) ToExclusionManagedRuleGroupResponseOutput() ExclusionManagedRuleGroupResponseOutput {
+ return o
}
-// Describes the HTTP configuration.
-type ConnectionMonitorHttpConfigurationArgs struct {
- // The HTTP method to use.
- Method pulumi.StringPtrInput `pulumi:"method"`
- // The path component of the URI. For instance, "/dir1/dir2".
- Path pulumi.StringPtrInput `pulumi:"path"`
- // The port to connect to.
- Port pulumi.IntPtrInput `pulumi:"port"`
- // Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
- PreferHTTPS pulumi.BoolPtrInput `pulumi:"preferHTTPS"`
- // The HTTP headers to transmit with the request.
- RequestHeaders HTTPHeaderArrayInput `pulumi:"requestHeaders"`
- // HTTP status codes to consider successful. For instance, "2xx,301-304,418".
- ValidStatusCodeRanges pulumi.StringArrayInput `pulumi:"validStatusCodeRanges"`
+func (o ExclusionManagedRuleGroupResponseOutput) ToExclusionManagedRuleGroupResponseOutputWithContext(ctx context.Context) ExclusionManagedRuleGroupResponseOutput {
+ return o
}
-func (ConnectionMonitorHttpConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorHttpConfiguration)(nil)).Elem()
+// The managed rule group for exclusion.
+func (o ExclusionManagedRuleGroupResponseOutput) RuleGroupName() pulumi.StringOutput {
+ return o.ApplyT(func(v ExclusionManagedRuleGroupResponse) string { return v.RuleGroupName }).(pulumi.StringOutput)
}
-func (i ConnectionMonitorHttpConfigurationArgs) ToConnectionMonitorHttpConfigurationOutput() ConnectionMonitorHttpConfigurationOutput {
- return i.ToConnectionMonitorHttpConfigurationOutputWithContext(context.Background())
+// List of rules that will be excluded. If none specified, all rules in the group will be excluded.
+func (o ExclusionManagedRuleGroupResponseOutput) Rules() ExclusionManagedRuleResponseArrayOutput {
+ return o.ApplyT(func(v ExclusionManagedRuleGroupResponse) []ExclusionManagedRuleResponse { return v.Rules }).(ExclusionManagedRuleResponseArrayOutput)
}
-func (i ConnectionMonitorHttpConfigurationArgs) ToConnectionMonitorHttpConfigurationOutputWithContext(ctx context.Context) ConnectionMonitorHttpConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorHttpConfigurationOutput)
+type ExclusionManagedRuleGroupResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ExclusionManagedRuleGroupResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExclusionManagedRuleGroupResponse)(nil)).Elem()
}
-func (i ConnectionMonitorHttpConfigurationArgs) ToConnectionMonitorHttpConfigurationPtrOutput() ConnectionMonitorHttpConfigurationPtrOutput {
- return i.ToConnectionMonitorHttpConfigurationPtrOutputWithContext(context.Background())
+func (o ExclusionManagedRuleGroupResponseArrayOutput) ToExclusionManagedRuleGroupResponseArrayOutput() ExclusionManagedRuleGroupResponseArrayOutput {
+ return o
}
-func (i ConnectionMonitorHttpConfigurationArgs) ToConnectionMonitorHttpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorHttpConfigurationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorHttpConfigurationOutput).ToConnectionMonitorHttpConfigurationPtrOutputWithContext(ctx)
+func (o ExclusionManagedRuleGroupResponseArrayOutput) ToExclusionManagedRuleGroupResponseArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleGroupResponseArrayOutput {
+ return o
}
-// ConnectionMonitorHttpConfigurationPtrInput is an input type that accepts ConnectionMonitorHttpConfigurationArgs, ConnectionMonitorHttpConfigurationPtr and ConnectionMonitorHttpConfigurationPtrOutput values.
-// You can construct a concrete instance of `ConnectionMonitorHttpConfigurationPtrInput` via:
-//
-// ConnectionMonitorHttpConfigurationArgs{...}
-//
-// or:
-//
-// nil
-type ConnectionMonitorHttpConfigurationPtrInput interface {
- pulumi.Input
+func (o ExclusionManagedRuleGroupResponseArrayOutput) Index(i pulumi.IntInput) ExclusionManagedRuleGroupResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExclusionManagedRuleGroupResponse {
+ return vs[0].([]ExclusionManagedRuleGroupResponse)[vs[1].(int)]
+ }).(ExclusionManagedRuleGroupResponseOutput)
+}
- ToConnectionMonitorHttpConfigurationPtrOutput() ConnectionMonitorHttpConfigurationPtrOutput
- ToConnectionMonitorHttpConfigurationPtrOutputWithContext(context.Context) ConnectionMonitorHttpConfigurationPtrOutput
+// Defines a managed rule to use for exclusion.
+type ExclusionManagedRuleResponse struct {
+ // Identifier for the managed rule.
+ RuleId string `pulumi:"ruleId"`
}
-type connectionMonitorHttpConfigurationPtrType ConnectionMonitorHttpConfigurationArgs
+// Defines a managed rule to use for exclusion.
+type ExclusionManagedRuleResponseOutput struct{ *pulumi.OutputState }
-func ConnectionMonitorHttpConfigurationPtr(v *ConnectionMonitorHttpConfigurationArgs) ConnectionMonitorHttpConfigurationPtrInput {
- return (*connectionMonitorHttpConfigurationPtrType)(v)
+func (ExclusionManagedRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExclusionManagedRuleResponse)(nil)).Elem()
}
-func (*connectionMonitorHttpConfigurationPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorHttpConfiguration)(nil)).Elem()
+func (o ExclusionManagedRuleResponseOutput) ToExclusionManagedRuleResponseOutput() ExclusionManagedRuleResponseOutput {
+ return o
}
-func (i *connectionMonitorHttpConfigurationPtrType) ToConnectionMonitorHttpConfigurationPtrOutput() ConnectionMonitorHttpConfigurationPtrOutput {
- return i.ToConnectionMonitorHttpConfigurationPtrOutputWithContext(context.Background())
+func (o ExclusionManagedRuleResponseOutput) ToExclusionManagedRuleResponseOutputWithContext(ctx context.Context) ExclusionManagedRuleResponseOutput {
+ return o
}
-func (i *connectionMonitorHttpConfigurationPtrType) ToConnectionMonitorHttpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorHttpConfigurationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorHttpConfigurationPtrOutput)
+// Identifier for the managed rule.
+func (o ExclusionManagedRuleResponseOutput) RuleId() pulumi.StringOutput {
+ return o.ApplyT(func(v ExclusionManagedRuleResponse) string { return v.RuleId }).(pulumi.StringOutput)
}
-// Describes the HTTP configuration.
-type ConnectionMonitorHttpConfigurationOutput struct{ *pulumi.OutputState }
+type ExclusionManagedRuleResponseArrayOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorHttpConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorHttpConfiguration)(nil)).Elem()
+func (ExclusionManagedRuleResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExclusionManagedRuleResponse)(nil)).Elem()
}
-func (o ConnectionMonitorHttpConfigurationOutput) ToConnectionMonitorHttpConfigurationOutput() ConnectionMonitorHttpConfigurationOutput {
+func (o ExclusionManagedRuleResponseArrayOutput) ToExclusionManagedRuleResponseArrayOutput() ExclusionManagedRuleResponseArrayOutput {
return o
}
-func (o ConnectionMonitorHttpConfigurationOutput) ToConnectionMonitorHttpConfigurationOutputWithContext(ctx context.Context) ConnectionMonitorHttpConfigurationOutput {
+func (o ExclusionManagedRuleResponseArrayOutput) ToExclusionManagedRuleResponseArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleResponseArrayOutput {
return o
}
-func (o ConnectionMonitorHttpConfigurationOutput) ToConnectionMonitorHttpConfigurationPtrOutput() ConnectionMonitorHttpConfigurationPtrOutput {
- return o.ToConnectionMonitorHttpConfigurationPtrOutputWithContext(context.Background())
+func (o ExclusionManagedRuleResponseArrayOutput) Index(i pulumi.IntInput) ExclusionManagedRuleResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExclusionManagedRuleResponse {
+ return vs[0].([]ExclusionManagedRuleResponse)[vs[1].(int)]
+ }).(ExclusionManagedRuleResponseOutput)
}
-func (o ConnectionMonitorHttpConfigurationOutput) ToConnectionMonitorHttpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorHttpConfigurationPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorHttpConfiguration) *ConnectionMonitorHttpConfiguration {
- return &v
- }).(ConnectionMonitorHttpConfigurationPtrOutput)
+// Defines a managed rule set for Exclusions.
+type ExclusionManagedRuleSet struct {
+ // Defines the rule groups to apply to the rule set.
+ RuleGroups []ExclusionManagedRuleGroup `pulumi:"ruleGroups"`
+ // Defines the rule set type to use.
+ RuleSetType string `pulumi:"ruleSetType"`
+ // Defines the version of the rule set to use.
+ RuleSetVersion string `pulumi:"ruleSetVersion"`
}
-// The HTTP method to use.
-func (o ConnectionMonitorHttpConfigurationOutput) Method() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorHttpConfiguration) *string { return v.Method }).(pulumi.StringPtrOutput)
-}
+// ExclusionManagedRuleSetInput is an input type that accepts ExclusionManagedRuleSetArgs and ExclusionManagedRuleSetOutput values.
+// You can construct a concrete instance of `ExclusionManagedRuleSetInput` via:
+//
+// ExclusionManagedRuleSetArgs{...}
+type ExclusionManagedRuleSetInput interface {
+ pulumi.Input
-// The path component of the URI. For instance, "/dir1/dir2".
-func (o ConnectionMonitorHttpConfigurationOutput) Path() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorHttpConfiguration) *string { return v.Path }).(pulumi.StringPtrOutput)
+ ToExclusionManagedRuleSetOutput() ExclusionManagedRuleSetOutput
+ ToExclusionManagedRuleSetOutputWithContext(context.Context) ExclusionManagedRuleSetOutput
}
-// The port to connect to.
-func (o ConnectionMonitorHttpConfigurationOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorHttpConfiguration) *int { return v.Port }).(pulumi.IntPtrOutput)
+// Defines a managed rule set for Exclusions.
+type ExclusionManagedRuleSetArgs struct {
+ // Defines the rule groups to apply to the rule set.
+ RuleGroups ExclusionManagedRuleGroupArrayInput `pulumi:"ruleGroups"`
+ // Defines the rule set type to use.
+ RuleSetType pulumi.StringInput `pulumi:"ruleSetType"`
+ // Defines the version of the rule set to use.
+ RuleSetVersion pulumi.StringInput `pulumi:"ruleSetVersion"`
}
-// Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
-func (o ConnectionMonitorHttpConfigurationOutput) PreferHTTPS() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorHttpConfiguration) *bool { return v.PreferHTTPS }).(pulumi.BoolPtrOutput)
+func (ExclusionManagedRuleSetArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExclusionManagedRuleSet)(nil)).Elem()
}
-// The HTTP headers to transmit with the request.
-func (o ConnectionMonitorHttpConfigurationOutput) RequestHeaders() HTTPHeaderArrayOutput {
- return o.ApplyT(func(v ConnectionMonitorHttpConfiguration) []HTTPHeader { return v.RequestHeaders }).(HTTPHeaderArrayOutput)
+func (i ExclusionManagedRuleSetArgs) ToExclusionManagedRuleSetOutput() ExclusionManagedRuleSetOutput {
+ return i.ToExclusionManagedRuleSetOutputWithContext(context.Background())
}
-// HTTP status codes to consider successful. For instance, "2xx,301-304,418".
-func (o ConnectionMonitorHttpConfigurationOutput) ValidStatusCodeRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ConnectionMonitorHttpConfiguration) []string { return v.ValidStatusCodeRanges }).(pulumi.StringArrayOutput)
+func (i ExclusionManagedRuleSetArgs) ToExclusionManagedRuleSetOutputWithContext(ctx context.Context) ExclusionManagedRuleSetOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExclusionManagedRuleSetOutput)
}
-type ConnectionMonitorHttpConfigurationPtrOutput struct{ *pulumi.OutputState }
+// ExclusionManagedRuleSetArrayInput is an input type that accepts ExclusionManagedRuleSetArray and ExclusionManagedRuleSetArrayOutput values.
+// You can construct a concrete instance of `ExclusionManagedRuleSetArrayInput` via:
+//
+// ExclusionManagedRuleSetArray{ ExclusionManagedRuleSetArgs{...} }
+type ExclusionManagedRuleSetArrayInput interface {
+ pulumi.Input
-func (ConnectionMonitorHttpConfigurationPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorHttpConfiguration)(nil)).Elem()
+ ToExclusionManagedRuleSetArrayOutput() ExclusionManagedRuleSetArrayOutput
+ ToExclusionManagedRuleSetArrayOutputWithContext(context.Context) ExclusionManagedRuleSetArrayOutput
}
-func (o ConnectionMonitorHttpConfigurationPtrOutput) ToConnectionMonitorHttpConfigurationPtrOutput() ConnectionMonitorHttpConfigurationPtrOutput {
- return o
-}
+type ExclusionManagedRuleSetArray []ExclusionManagedRuleSetInput
-func (o ConnectionMonitorHttpConfigurationPtrOutput) ToConnectionMonitorHttpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorHttpConfigurationPtrOutput {
- return o
+func (ExclusionManagedRuleSetArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExclusionManagedRuleSet)(nil)).Elem()
}
-func (o ConnectionMonitorHttpConfigurationPtrOutput) Elem() ConnectionMonitorHttpConfigurationOutput {
- return o.ApplyT(func(v *ConnectionMonitorHttpConfiguration) ConnectionMonitorHttpConfiguration {
- if v != nil {
- return *v
- }
- var ret ConnectionMonitorHttpConfiguration
- return ret
- }).(ConnectionMonitorHttpConfigurationOutput)
+func (i ExclusionManagedRuleSetArray) ToExclusionManagedRuleSetArrayOutput() ExclusionManagedRuleSetArrayOutput {
+ return i.ToExclusionManagedRuleSetArrayOutputWithContext(context.Background())
}
-// The HTTP method to use.
-func (o ConnectionMonitorHttpConfigurationPtrOutput) Method() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorHttpConfiguration) *string {
- if v == nil {
- return nil
- }
- return v.Method
- }).(pulumi.StringPtrOutput)
+func (i ExclusionManagedRuleSetArray) ToExclusionManagedRuleSetArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleSetArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExclusionManagedRuleSetArrayOutput)
}
-// The path component of the URI. For instance, "/dir1/dir2".
-func (o ConnectionMonitorHttpConfigurationPtrOutput) Path() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorHttpConfiguration) *string {
- if v == nil {
- return nil
- }
- return v.Path
- }).(pulumi.StringPtrOutput)
+// Defines a managed rule set for Exclusions.
+type ExclusionManagedRuleSetOutput struct{ *pulumi.OutputState }
+
+func (ExclusionManagedRuleSetOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExclusionManagedRuleSet)(nil)).Elem()
}
-// The port to connect to.
-func (o ConnectionMonitorHttpConfigurationPtrOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorHttpConfiguration) *int {
- if v == nil {
- return nil
- }
- return v.Port
- }).(pulumi.IntPtrOutput)
+func (o ExclusionManagedRuleSetOutput) ToExclusionManagedRuleSetOutput() ExclusionManagedRuleSetOutput {
+ return o
}
-// Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
-func (o ConnectionMonitorHttpConfigurationPtrOutput) PreferHTTPS() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorHttpConfiguration) *bool {
- if v == nil {
- return nil
- }
- return v.PreferHTTPS
- }).(pulumi.BoolPtrOutput)
+func (o ExclusionManagedRuleSetOutput) ToExclusionManagedRuleSetOutputWithContext(ctx context.Context) ExclusionManagedRuleSetOutput {
+ return o
}
-// The HTTP headers to transmit with the request.
-func (o ConnectionMonitorHttpConfigurationPtrOutput) RequestHeaders() HTTPHeaderArrayOutput {
- return o.ApplyT(func(v *ConnectionMonitorHttpConfiguration) []HTTPHeader {
- if v == nil {
- return nil
- }
- return v.RequestHeaders
- }).(HTTPHeaderArrayOutput)
+// Defines the rule groups to apply to the rule set.
+func (o ExclusionManagedRuleSetOutput) RuleGroups() ExclusionManagedRuleGroupArrayOutput {
+ return o.ApplyT(func(v ExclusionManagedRuleSet) []ExclusionManagedRuleGroup { return v.RuleGroups }).(ExclusionManagedRuleGroupArrayOutput)
}
-// HTTP status codes to consider successful. For instance, "2xx,301-304,418".
-func (o ConnectionMonitorHttpConfigurationPtrOutput) ValidStatusCodeRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *ConnectionMonitorHttpConfiguration) []string {
- if v == nil {
- return nil
- }
- return v.ValidStatusCodeRanges
- }).(pulumi.StringArrayOutput)
+// Defines the rule set type to use.
+func (o ExclusionManagedRuleSetOutput) RuleSetType() pulumi.StringOutput {
+ return o.ApplyT(func(v ExclusionManagedRuleSet) string { return v.RuleSetType }).(pulumi.StringOutput)
}
-// Describes the HTTP configuration.
-type ConnectionMonitorHttpConfigurationResponse struct {
- // The HTTP method to use.
- Method *string `pulumi:"method"`
- // The path component of the URI. For instance, "/dir1/dir2".
- Path *string `pulumi:"path"`
- // The port to connect to.
- Port *int `pulumi:"port"`
- // Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
- PreferHTTPS *bool `pulumi:"preferHTTPS"`
- // The HTTP headers to transmit with the request.
- RequestHeaders []HTTPHeaderResponse `pulumi:"requestHeaders"`
- // HTTP status codes to consider successful. For instance, "2xx,301-304,418".
- ValidStatusCodeRanges []string `pulumi:"validStatusCodeRanges"`
+// Defines the version of the rule set to use.
+func (o ExclusionManagedRuleSetOutput) RuleSetVersion() pulumi.StringOutput {
+ return o.ApplyT(func(v ExclusionManagedRuleSet) string { return v.RuleSetVersion }).(pulumi.StringOutput)
}
-// Describes the HTTP configuration.
-type ConnectionMonitorHttpConfigurationResponseOutput struct{ *pulumi.OutputState }
+type ExclusionManagedRuleSetArrayOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorHttpConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorHttpConfigurationResponse)(nil)).Elem()
+func (ExclusionManagedRuleSetArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExclusionManagedRuleSet)(nil)).Elem()
}
-func (o ConnectionMonitorHttpConfigurationResponseOutput) ToConnectionMonitorHttpConfigurationResponseOutput() ConnectionMonitorHttpConfigurationResponseOutput {
+func (o ExclusionManagedRuleSetArrayOutput) ToExclusionManagedRuleSetArrayOutput() ExclusionManagedRuleSetArrayOutput {
return o
}
-func (o ConnectionMonitorHttpConfigurationResponseOutput) ToConnectionMonitorHttpConfigurationResponseOutputWithContext(ctx context.Context) ConnectionMonitorHttpConfigurationResponseOutput {
+func (o ExclusionManagedRuleSetArrayOutput) ToExclusionManagedRuleSetArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleSetArrayOutput {
return o
}
-// The HTTP method to use.
-func (o ConnectionMonitorHttpConfigurationResponseOutput) Method() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorHttpConfigurationResponse) *string { return v.Method }).(pulumi.StringPtrOutput)
-}
-
-// The path component of the URI. For instance, "/dir1/dir2".
-func (o ConnectionMonitorHttpConfigurationResponseOutput) Path() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorHttpConfigurationResponse) *string { return v.Path }).(pulumi.StringPtrOutput)
-}
-
-// The port to connect to.
-func (o ConnectionMonitorHttpConfigurationResponseOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorHttpConfigurationResponse) *int { return v.Port }).(pulumi.IntPtrOutput)
-}
-
-// Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
-func (o ConnectionMonitorHttpConfigurationResponseOutput) PreferHTTPS() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorHttpConfigurationResponse) *bool { return v.PreferHTTPS }).(pulumi.BoolPtrOutput)
-}
-
-// The HTTP headers to transmit with the request.
-func (o ConnectionMonitorHttpConfigurationResponseOutput) RequestHeaders() HTTPHeaderResponseArrayOutput {
- return o.ApplyT(func(v ConnectionMonitorHttpConfigurationResponse) []HTTPHeaderResponse { return v.RequestHeaders }).(HTTPHeaderResponseArrayOutput)
+func (o ExclusionManagedRuleSetArrayOutput) Index(i pulumi.IntInput) ExclusionManagedRuleSetOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExclusionManagedRuleSet {
+ return vs[0].([]ExclusionManagedRuleSet)[vs[1].(int)]
+ }).(ExclusionManagedRuleSetOutput)
}
-// HTTP status codes to consider successful. For instance, "2xx,301-304,418".
-func (o ConnectionMonitorHttpConfigurationResponseOutput) ValidStatusCodeRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ConnectionMonitorHttpConfigurationResponse) []string { return v.ValidStatusCodeRanges }).(pulumi.StringArrayOutput)
+// Defines a managed rule set for Exclusions.
+type ExclusionManagedRuleSetResponse struct {
+ // Defines the rule groups to apply to the rule set.
+ RuleGroups []ExclusionManagedRuleGroupResponse `pulumi:"ruleGroups"`
+ // Defines the rule set type to use.
+ RuleSetType string `pulumi:"ruleSetType"`
+ // Defines the version of the rule set to use.
+ RuleSetVersion string `pulumi:"ruleSetVersion"`
}
-type ConnectionMonitorHttpConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
+// Defines a managed rule set for Exclusions.
+type ExclusionManagedRuleSetResponseOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorHttpConfigurationResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorHttpConfigurationResponse)(nil)).Elem()
+func (ExclusionManagedRuleSetResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExclusionManagedRuleSetResponse)(nil)).Elem()
}
-func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) ToConnectionMonitorHttpConfigurationResponsePtrOutput() ConnectionMonitorHttpConfigurationResponsePtrOutput {
+func (o ExclusionManagedRuleSetResponseOutput) ToExclusionManagedRuleSetResponseOutput() ExclusionManagedRuleSetResponseOutput {
return o
}
-func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) ToConnectionMonitorHttpConfigurationResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorHttpConfigurationResponsePtrOutput {
+func (o ExclusionManagedRuleSetResponseOutput) ToExclusionManagedRuleSetResponseOutputWithContext(ctx context.Context) ExclusionManagedRuleSetResponseOutput {
return o
}
-func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) Elem() ConnectionMonitorHttpConfigurationResponseOutput {
- return o.ApplyT(func(v *ConnectionMonitorHttpConfigurationResponse) ConnectionMonitorHttpConfigurationResponse {
- if v != nil {
- return *v
- }
- var ret ConnectionMonitorHttpConfigurationResponse
- return ret
- }).(ConnectionMonitorHttpConfigurationResponseOutput)
+// Defines the rule groups to apply to the rule set.
+func (o ExclusionManagedRuleSetResponseOutput) RuleGroups() ExclusionManagedRuleGroupResponseArrayOutput {
+ return o.ApplyT(func(v ExclusionManagedRuleSetResponse) []ExclusionManagedRuleGroupResponse { return v.RuleGroups }).(ExclusionManagedRuleGroupResponseArrayOutput)
}
-// The HTTP method to use.
-func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) Method() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorHttpConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.Method
- }).(pulumi.StringPtrOutput)
+// Defines the rule set type to use.
+func (o ExclusionManagedRuleSetResponseOutput) RuleSetType() pulumi.StringOutput {
+ return o.ApplyT(func(v ExclusionManagedRuleSetResponse) string { return v.RuleSetType }).(pulumi.StringOutput)
}
-// The path component of the URI. For instance, "/dir1/dir2".
-func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) Path() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorHttpConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.Path
- }).(pulumi.StringPtrOutput)
+// Defines the version of the rule set to use.
+func (o ExclusionManagedRuleSetResponseOutput) RuleSetVersion() pulumi.StringOutput {
+ return o.ApplyT(func(v ExclusionManagedRuleSetResponse) string { return v.RuleSetVersion }).(pulumi.StringOutput)
}
-// The port to connect to.
-func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorHttpConfigurationResponse) *int {
- if v == nil {
- return nil
- }
- return v.Port
- }).(pulumi.IntPtrOutput)
+type ExclusionManagedRuleSetResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ExclusionManagedRuleSetResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExclusionManagedRuleSetResponse)(nil)).Elem()
}
-// Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
-func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) PreferHTTPS() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorHttpConfigurationResponse) *bool {
- if v == nil {
- return nil
- }
- return v.PreferHTTPS
- }).(pulumi.BoolPtrOutput)
+func (o ExclusionManagedRuleSetResponseArrayOutput) ToExclusionManagedRuleSetResponseArrayOutput() ExclusionManagedRuleSetResponseArrayOutput {
+ return o
}
-// The HTTP headers to transmit with the request.
-func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) RequestHeaders() HTTPHeaderResponseArrayOutput {
- return o.ApplyT(func(v *ConnectionMonitorHttpConfigurationResponse) []HTTPHeaderResponse {
- if v == nil {
- return nil
- }
- return v.RequestHeaders
- }).(HTTPHeaderResponseArrayOutput)
+func (o ExclusionManagedRuleSetResponseArrayOutput) ToExclusionManagedRuleSetResponseArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleSetResponseArrayOutput {
+ return o
}
-// HTTP status codes to consider successful. For instance, "2xx,301-304,418".
-func (o ConnectionMonitorHttpConfigurationResponsePtrOutput) ValidStatusCodeRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *ConnectionMonitorHttpConfigurationResponse) []string {
- if v == nil {
- return nil
- }
- return v.ValidStatusCodeRanges
- }).(pulumi.StringArrayOutput)
+func (o ExclusionManagedRuleSetResponseArrayOutput) Index(i pulumi.IntInput) ExclusionManagedRuleSetResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExclusionManagedRuleSetResponse {
+ return vs[0].([]ExclusionManagedRuleSetResponse)[vs[1].(int)]
+ }).(ExclusionManagedRuleSetResponseOutput)
}
-// Describes the ICMP configuration.
-type ConnectionMonitorIcmpConfiguration struct {
- // Value indicating whether path evaluation with trace route should be disabled.
- DisableTraceRoute *bool `pulumi:"disableTraceRoute"`
+// Explicit Proxy Settings in Firewall Policy.
+type ExplicitProxy struct {
+ // When set to true, explicit proxy mode is enabled.
+ EnableExplicitProxy *bool `pulumi:"enableExplicitProxy"`
+ // When set to true, pac file port and url needs to be provided.
+ EnablePacFile *bool `pulumi:"enablePacFile"`
+ // Port number for explicit proxy http protocol, cannot be greater than 64000.
+ HttpPort *int `pulumi:"httpPort"`
+ // Port number for explicit proxy https protocol, cannot be greater than 64000.
+ HttpsPort *int `pulumi:"httpsPort"`
+ // SAS URL for PAC file.
+ PacFile *string `pulumi:"pacFile"`
+ // Port number for firewall to serve PAC file.
+ PacFilePort *int `pulumi:"pacFilePort"`
}
-// ConnectionMonitorIcmpConfigurationInput is an input type that accepts ConnectionMonitorIcmpConfigurationArgs and ConnectionMonitorIcmpConfigurationOutput values.
-// You can construct a concrete instance of `ConnectionMonitorIcmpConfigurationInput` via:
+// ExplicitProxyInput is an input type that accepts ExplicitProxyArgs and ExplicitProxyOutput values.
+// You can construct a concrete instance of `ExplicitProxyInput` via:
//
-// ConnectionMonitorIcmpConfigurationArgs{...}
-type ConnectionMonitorIcmpConfigurationInput interface {
+// ExplicitProxyArgs{...}
+type ExplicitProxyInput interface {
pulumi.Input
- ToConnectionMonitorIcmpConfigurationOutput() ConnectionMonitorIcmpConfigurationOutput
- ToConnectionMonitorIcmpConfigurationOutputWithContext(context.Context) ConnectionMonitorIcmpConfigurationOutput
+ ToExplicitProxyOutput() ExplicitProxyOutput
+ ToExplicitProxyOutputWithContext(context.Context) ExplicitProxyOutput
}
-// Describes the ICMP configuration.
-type ConnectionMonitorIcmpConfigurationArgs struct {
- // Value indicating whether path evaluation with trace route should be disabled.
- DisableTraceRoute pulumi.BoolPtrInput `pulumi:"disableTraceRoute"`
+// Explicit Proxy Settings in Firewall Policy.
+type ExplicitProxyArgs struct {
+ // When set to true, explicit proxy mode is enabled.
+ EnableExplicitProxy pulumi.BoolPtrInput `pulumi:"enableExplicitProxy"`
+ // When set to true, pac file port and url needs to be provided.
+ EnablePacFile pulumi.BoolPtrInput `pulumi:"enablePacFile"`
+ // Port number for explicit proxy http protocol, cannot be greater than 64000.
+ HttpPort pulumi.IntPtrInput `pulumi:"httpPort"`
+ // Port number for explicit proxy https protocol, cannot be greater than 64000.
+ HttpsPort pulumi.IntPtrInput `pulumi:"httpsPort"`
+ // SAS URL for PAC file.
+ PacFile pulumi.StringPtrInput `pulumi:"pacFile"`
+ // Port number for firewall to serve PAC file.
+ PacFilePort pulumi.IntPtrInput `pulumi:"pacFilePort"`
}
-func (ConnectionMonitorIcmpConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorIcmpConfiguration)(nil)).Elem()
+func (ExplicitProxyArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExplicitProxy)(nil)).Elem()
}
-func (i ConnectionMonitorIcmpConfigurationArgs) ToConnectionMonitorIcmpConfigurationOutput() ConnectionMonitorIcmpConfigurationOutput {
- return i.ToConnectionMonitorIcmpConfigurationOutputWithContext(context.Background())
+func (i ExplicitProxyArgs) ToExplicitProxyOutput() ExplicitProxyOutput {
+ return i.ToExplicitProxyOutputWithContext(context.Background())
}
-func (i ConnectionMonitorIcmpConfigurationArgs) ToConnectionMonitorIcmpConfigurationOutputWithContext(ctx context.Context) ConnectionMonitorIcmpConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorIcmpConfigurationOutput)
+func (i ExplicitProxyArgs) ToExplicitProxyOutputWithContext(ctx context.Context) ExplicitProxyOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExplicitProxyOutput)
}
-func (i ConnectionMonitorIcmpConfigurationArgs) ToConnectionMonitorIcmpConfigurationPtrOutput() ConnectionMonitorIcmpConfigurationPtrOutput {
- return i.ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(context.Background())
+func (i ExplicitProxyArgs) ToExplicitProxyPtrOutput() ExplicitProxyPtrOutput {
+ return i.ToExplicitProxyPtrOutputWithContext(context.Background())
}
-func (i ConnectionMonitorIcmpConfigurationArgs) ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorIcmpConfigurationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorIcmpConfigurationOutput).ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(ctx)
+func (i ExplicitProxyArgs) ToExplicitProxyPtrOutputWithContext(ctx context.Context) ExplicitProxyPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExplicitProxyOutput).ToExplicitProxyPtrOutputWithContext(ctx)
}
-// ConnectionMonitorIcmpConfigurationPtrInput is an input type that accepts ConnectionMonitorIcmpConfigurationArgs, ConnectionMonitorIcmpConfigurationPtr and ConnectionMonitorIcmpConfigurationPtrOutput values.
-// You can construct a concrete instance of `ConnectionMonitorIcmpConfigurationPtrInput` via:
+// ExplicitProxyPtrInput is an input type that accepts ExplicitProxyArgs, ExplicitProxyPtr and ExplicitProxyPtrOutput values.
+// You can construct a concrete instance of `ExplicitProxyPtrInput` via:
//
-// ConnectionMonitorIcmpConfigurationArgs{...}
+// ExplicitProxyArgs{...}
//
// or:
//
// nil
-type ConnectionMonitorIcmpConfigurationPtrInput interface {
+type ExplicitProxyPtrInput interface {
pulumi.Input
- ToConnectionMonitorIcmpConfigurationPtrOutput() ConnectionMonitorIcmpConfigurationPtrOutput
- ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(context.Context) ConnectionMonitorIcmpConfigurationPtrOutput
+ ToExplicitProxyPtrOutput() ExplicitProxyPtrOutput
+ ToExplicitProxyPtrOutputWithContext(context.Context) ExplicitProxyPtrOutput
}
-type connectionMonitorIcmpConfigurationPtrType ConnectionMonitorIcmpConfigurationArgs
+type explicitProxyPtrType ExplicitProxyArgs
-func ConnectionMonitorIcmpConfigurationPtr(v *ConnectionMonitorIcmpConfigurationArgs) ConnectionMonitorIcmpConfigurationPtrInput {
- return (*connectionMonitorIcmpConfigurationPtrType)(v)
+func ExplicitProxyPtr(v *ExplicitProxyArgs) ExplicitProxyPtrInput {
+ return (*explicitProxyPtrType)(v)
}
-func (*connectionMonitorIcmpConfigurationPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorIcmpConfiguration)(nil)).Elem()
+func (*explicitProxyPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExplicitProxy)(nil)).Elem()
}
-func (i *connectionMonitorIcmpConfigurationPtrType) ToConnectionMonitorIcmpConfigurationPtrOutput() ConnectionMonitorIcmpConfigurationPtrOutput {
- return i.ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(context.Background())
+func (i *explicitProxyPtrType) ToExplicitProxyPtrOutput() ExplicitProxyPtrOutput {
+ return i.ToExplicitProxyPtrOutputWithContext(context.Background())
}
-func (i *connectionMonitorIcmpConfigurationPtrType) ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorIcmpConfigurationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorIcmpConfigurationPtrOutput)
+func (i *explicitProxyPtrType) ToExplicitProxyPtrOutputWithContext(ctx context.Context) ExplicitProxyPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExplicitProxyPtrOutput)
}
-// Describes the ICMP configuration.
-type ConnectionMonitorIcmpConfigurationOutput struct{ *pulumi.OutputState }
+// Explicit Proxy Settings in Firewall Policy.
+type ExplicitProxyOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorIcmpConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorIcmpConfiguration)(nil)).Elem()
+func (ExplicitProxyOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExplicitProxy)(nil)).Elem()
}
-func (o ConnectionMonitorIcmpConfigurationOutput) ToConnectionMonitorIcmpConfigurationOutput() ConnectionMonitorIcmpConfigurationOutput {
+func (o ExplicitProxyOutput) ToExplicitProxyOutput() ExplicitProxyOutput {
return o
}
-func (o ConnectionMonitorIcmpConfigurationOutput) ToConnectionMonitorIcmpConfigurationOutputWithContext(ctx context.Context) ConnectionMonitorIcmpConfigurationOutput {
+func (o ExplicitProxyOutput) ToExplicitProxyOutputWithContext(ctx context.Context) ExplicitProxyOutput {
return o
}
-func (o ConnectionMonitorIcmpConfigurationOutput) ToConnectionMonitorIcmpConfigurationPtrOutput() ConnectionMonitorIcmpConfigurationPtrOutput {
- return o.ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(context.Background())
+func (o ExplicitProxyOutput) ToExplicitProxyPtrOutput() ExplicitProxyPtrOutput {
+ return o.ToExplicitProxyPtrOutputWithContext(context.Background())
}
-func (o ConnectionMonitorIcmpConfigurationOutput) ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorIcmpConfigurationPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorIcmpConfiguration) *ConnectionMonitorIcmpConfiguration {
+func (o ExplicitProxyOutput) ToExplicitProxyPtrOutputWithContext(ctx context.Context) ExplicitProxyPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ExplicitProxy) *ExplicitProxy {
return &v
- }).(ConnectionMonitorIcmpConfigurationPtrOutput)
+ }).(ExplicitProxyPtrOutput)
}
-// Value indicating whether path evaluation with trace route should be disabled.
-func (o ConnectionMonitorIcmpConfigurationOutput) DisableTraceRoute() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorIcmpConfiguration) *bool { return v.DisableTraceRoute }).(pulumi.BoolPtrOutput)
+// When set to true, explicit proxy mode is enabled.
+func (o ExplicitProxyOutput) EnableExplicitProxy() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ExplicitProxy) *bool { return v.EnableExplicitProxy }).(pulumi.BoolPtrOutput)
}
-type ConnectionMonitorIcmpConfigurationPtrOutput struct{ *pulumi.OutputState }
+// When set to true, pac file port and url needs to be provided.
+func (o ExplicitProxyOutput) EnablePacFile() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ExplicitProxy) *bool { return v.EnablePacFile }).(pulumi.BoolPtrOutput)
+}
-func (ConnectionMonitorIcmpConfigurationPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorIcmpConfiguration)(nil)).Elem()
+// Port number for explicit proxy http protocol, cannot be greater than 64000.
+func (o ExplicitProxyOutput) HttpPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExplicitProxy) *int { return v.HttpPort }).(pulumi.IntPtrOutput)
}
-func (o ConnectionMonitorIcmpConfigurationPtrOutput) ToConnectionMonitorIcmpConfigurationPtrOutput() ConnectionMonitorIcmpConfigurationPtrOutput {
+// Port number for explicit proxy https protocol, cannot be greater than 64000.
+func (o ExplicitProxyOutput) HttpsPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExplicitProxy) *int { return v.HttpsPort }).(pulumi.IntPtrOutput)
+}
+
+// SAS URL for PAC file.
+func (o ExplicitProxyOutput) PacFile() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExplicitProxy) *string { return v.PacFile }).(pulumi.StringPtrOutput)
+}
+
+// Port number for firewall to serve PAC file.
+func (o ExplicitProxyOutput) PacFilePort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExplicitProxy) *int { return v.PacFilePort }).(pulumi.IntPtrOutput)
+}
+
+type ExplicitProxyPtrOutput struct{ *pulumi.OutputState }
+
+func (ExplicitProxyPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExplicitProxy)(nil)).Elem()
+}
+
+func (o ExplicitProxyPtrOutput) ToExplicitProxyPtrOutput() ExplicitProxyPtrOutput {
return o
}
-func (o ConnectionMonitorIcmpConfigurationPtrOutput) ToConnectionMonitorIcmpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorIcmpConfigurationPtrOutput {
+func (o ExplicitProxyPtrOutput) ToExplicitProxyPtrOutputWithContext(ctx context.Context) ExplicitProxyPtrOutput {
return o
}
-func (o ConnectionMonitorIcmpConfigurationPtrOutput) Elem() ConnectionMonitorIcmpConfigurationOutput {
- return o.ApplyT(func(v *ConnectionMonitorIcmpConfiguration) ConnectionMonitorIcmpConfiguration {
+func (o ExplicitProxyPtrOutput) Elem() ExplicitProxyOutput {
+ return o.ApplyT(func(v *ExplicitProxy) ExplicitProxy {
if v != nil {
return *v
}
- var ret ConnectionMonitorIcmpConfiguration
+ var ret ExplicitProxy
return ret
- }).(ConnectionMonitorIcmpConfigurationOutput)
+ }).(ExplicitProxyOutput)
}
-// Value indicating whether path evaluation with trace route should be disabled.
-func (o ConnectionMonitorIcmpConfigurationPtrOutput) DisableTraceRoute() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorIcmpConfiguration) *bool {
+// When set to true, explicit proxy mode is enabled.
+func (o ExplicitProxyPtrOutput) EnableExplicitProxy() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *ExplicitProxy) *bool {
if v == nil {
return nil
}
- return v.DisableTraceRoute
+ return v.EnableExplicitProxy
}).(pulumi.BoolPtrOutput)
}
-// Describes the ICMP configuration.
-type ConnectionMonitorIcmpConfigurationResponse struct {
- // Value indicating whether path evaluation with trace route should be disabled.
- DisableTraceRoute *bool `pulumi:"disableTraceRoute"`
+// When set to true, pac file port and url needs to be provided.
+func (o ExplicitProxyPtrOutput) EnablePacFile() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *ExplicitProxy) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnablePacFile
+ }).(pulumi.BoolPtrOutput)
}
-// Describes the ICMP configuration.
-type ConnectionMonitorIcmpConfigurationResponseOutput struct{ *pulumi.OutputState }
+// Port number for explicit proxy http protocol, cannot be greater than 64000.
+func (o ExplicitProxyPtrOutput) HttpPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ExplicitProxy) *int {
+ if v == nil {
+ return nil
+ }
+ return v.HttpPort
+ }).(pulumi.IntPtrOutput)
+}
-func (ConnectionMonitorIcmpConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorIcmpConfigurationResponse)(nil)).Elem()
+// Port number for explicit proxy https protocol, cannot be greater than 64000.
+func (o ExplicitProxyPtrOutput) HttpsPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ExplicitProxy) *int {
+ if v == nil {
+ return nil
+ }
+ return v.HttpsPort
+ }).(pulumi.IntPtrOutput)
}
-func (o ConnectionMonitorIcmpConfigurationResponseOutput) ToConnectionMonitorIcmpConfigurationResponseOutput() ConnectionMonitorIcmpConfigurationResponseOutput {
+// SAS URL for PAC file.
+func (o ExplicitProxyPtrOutput) PacFile() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExplicitProxy) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PacFile
+ }).(pulumi.StringPtrOutput)
+}
+
+// Port number for firewall to serve PAC file.
+func (o ExplicitProxyPtrOutput) PacFilePort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ExplicitProxy) *int {
+ if v == nil {
+ return nil
+ }
+ return v.PacFilePort
+ }).(pulumi.IntPtrOutput)
+}
+
+// Explicit Proxy Settings in Firewall Policy.
+type ExplicitProxyResponse struct {
+ // When set to true, explicit proxy mode is enabled.
+ EnableExplicitProxy *bool `pulumi:"enableExplicitProxy"`
+ // When set to true, pac file port and url needs to be provided.
+ EnablePacFile *bool `pulumi:"enablePacFile"`
+ // Port number for explicit proxy http protocol, cannot be greater than 64000.
+ HttpPort *int `pulumi:"httpPort"`
+ // Port number for explicit proxy https protocol, cannot be greater than 64000.
+ HttpsPort *int `pulumi:"httpsPort"`
+ // SAS URL for PAC file.
+ PacFile *string `pulumi:"pacFile"`
+ // Port number for firewall to serve PAC file.
+ PacFilePort *int `pulumi:"pacFilePort"`
+}
+
+// Explicit Proxy Settings in Firewall Policy.
+type ExplicitProxyResponseOutput struct{ *pulumi.OutputState }
+
+func (ExplicitProxyResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExplicitProxyResponse)(nil)).Elem()
+}
+
+func (o ExplicitProxyResponseOutput) ToExplicitProxyResponseOutput() ExplicitProxyResponseOutput {
return o
}
-func (o ConnectionMonitorIcmpConfigurationResponseOutput) ToConnectionMonitorIcmpConfigurationResponseOutputWithContext(ctx context.Context) ConnectionMonitorIcmpConfigurationResponseOutput {
+func (o ExplicitProxyResponseOutput) ToExplicitProxyResponseOutputWithContext(ctx context.Context) ExplicitProxyResponseOutput {
return o
}
-// Value indicating whether path evaluation with trace route should be disabled.
-func (o ConnectionMonitorIcmpConfigurationResponseOutput) DisableTraceRoute() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorIcmpConfigurationResponse) *bool { return v.DisableTraceRoute }).(pulumi.BoolPtrOutput)
+// When set to true, explicit proxy mode is enabled.
+func (o ExplicitProxyResponseOutput) EnableExplicitProxy() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ExplicitProxyResponse) *bool { return v.EnableExplicitProxy }).(pulumi.BoolPtrOutput)
}
-type ConnectionMonitorIcmpConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
+// When set to true, pac file port and url needs to be provided.
+func (o ExplicitProxyResponseOutput) EnablePacFile() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ExplicitProxyResponse) *bool { return v.EnablePacFile }).(pulumi.BoolPtrOutput)
+}
-func (ConnectionMonitorIcmpConfigurationResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorIcmpConfigurationResponse)(nil)).Elem()
+// Port number for explicit proxy http protocol, cannot be greater than 64000.
+func (o ExplicitProxyResponseOutput) HttpPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExplicitProxyResponse) *int { return v.HttpPort }).(pulumi.IntPtrOutput)
}
-func (o ConnectionMonitorIcmpConfigurationResponsePtrOutput) ToConnectionMonitorIcmpConfigurationResponsePtrOutput() ConnectionMonitorIcmpConfigurationResponsePtrOutput {
+// Port number for explicit proxy https protocol, cannot be greater than 64000.
+func (o ExplicitProxyResponseOutput) HttpsPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExplicitProxyResponse) *int { return v.HttpsPort }).(pulumi.IntPtrOutput)
+}
+
+// SAS URL for PAC file.
+func (o ExplicitProxyResponseOutput) PacFile() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExplicitProxyResponse) *string { return v.PacFile }).(pulumi.StringPtrOutput)
+}
+
+// Port number for firewall to serve PAC file.
+func (o ExplicitProxyResponseOutput) PacFilePort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExplicitProxyResponse) *int { return v.PacFilePort }).(pulumi.IntPtrOutput)
+}
+
+type ExplicitProxyResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (ExplicitProxyResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExplicitProxyResponse)(nil)).Elem()
+}
+
+func (o ExplicitProxyResponsePtrOutput) ToExplicitProxyResponsePtrOutput() ExplicitProxyResponsePtrOutput {
return o
}
-func (o ConnectionMonitorIcmpConfigurationResponsePtrOutput) ToConnectionMonitorIcmpConfigurationResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorIcmpConfigurationResponsePtrOutput {
+func (o ExplicitProxyResponsePtrOutput) ToExplicitProxyResponsePtrOutputWithContext(ctx context.Context) ExplicitProxyResponsePtrOutput {
return o
}
-func (o ConnectionMonitorIcmpConfigurationResponsePtrOutput) Elem() ConnectionMonitorIcmpConfigurationResponseOutput {
- return o.ApplyT(func(v *ConnectionMonitorIcmpConfigurationResponse) ConnectionMonitorIcmpConfigurationResponse {
+func (o ExplicitProxyResponsePtrOutput) Elem() ExplicitProxyResponseOutput {
+ return o.ApplyT(func(v *ExplicitProxyResponse) ExplicitProxyResponse {
if v != nil {
return *v
}
- var ret ConnectionMonitorIcmpConfigurationResponse
+ var ret ExplicitProxyResponse
return ret
- }).(ConnectionMonitorIcmpConfigurationResponseOutput)
+ }).(ExplicitProxyResponseOutput)
}
-// Value indicating whether path evaluation with trace route should be disabled.
-func (o ConnectionMonitorIcmpConfigurationResponsePtrOutput) DisableTraceRoute() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorIcmpConfigurationResponse) *bool {
+// When set to true, explicit proxy mode is enabled.
+func (o ExplicitProxyResponsePtrOutput) EnableExplicitProxy() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *ExplicitProxyResponse) *bool {
if v == nil {
return nil
}
- return v.DisableTraceRoute
+ return v.EnableExplicitProxy
}).(pulumi.BoolPtrOutput)
}
-// Describes a connection monitor output destination.
-type ConnectionMonitorOutputType struct {
- // Connection monitor output destination type. Currently, only "Workspace" is supported.
- Type *string `pulumi:"type"`
- // Describes the settings for producing output into a log analytics workspace.
- WorkspaceSettings *ConnectionMonitorWorkspaceSettings `pulumi:"workspaceSettings"`
+// When set to true, pac file port and url needs to be provided.
+func (o ExplicitProxyResponsePtrOutput) EnablePacFile() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *ExplicitProxyResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnablePacFile
+ }).(pulumi.BoolPtrOutput)
}
-// ConnectionMonitorOutputTypeInput is an input type that accepts ConnectionMonitorOutputTypeArgs and ConnectionMonitorOutputTypeOutput values.
-// You can construct a concrete instance of `ConnectionMonitorOutputTypeInput` via:
-//
-// ConnectionMonitorOutputTypeArgs{...}
-type ConnectionMonitorOutputTypeInput interface {
- pulumi.Input
-
- ToConnectionMonitorOutputTypeOutput() ConnectionMonitorOutputTypeOutput
- ToConnectionMonitorOutputTypeOutputWithContext(context.Context) ConnectionMonitorOutputTypeOutput
+// Port number for explicit proxy http protocol, cannot be greater than 64000.
+func (o ExplicitProxyResponsePtrOutput) HttpPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ExplicitProxyResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.HttpPort
+ }).(pulumi.IntPtrOutput)
}
-// Describes a connection monitor output destination.
-type ConnectionMonitorOutputTypeArgs struct {
- // Connection monitor output destination type. Currently, only "Workspace" is supported.
- Type pulumi.StringPtrInput `pulumi:"type"`
- // Describes the settings for producing output into a log analytics workspace.
- WorkspaceSettings ConnectionMonitorWorkspaceSettingsPtrInput `pulumi:"workspaceSettings"`
+// Port number for explicit proxy https protocol, cannot be greater than 64000.
+func (o ExplicitProxyResponsePtrOutput) HttpsPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ExplicitProxyResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.HttpsPort
+ }).(pulumi.IntPtrOutput)
}
-func (ConnectionMonitorOutputTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorOutputType)(nil)).Elem()
+// SAS URL for PAC file.
+func (o ExplicitProxyResponsePtrOutput) PacFile() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExplicitProxyResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PacFile
+ }).(pulumi.StringPtrOutput)
}
-func (i ConnectionMonitorOutputTypeArgs) ToConnectionMonitorOutputTypeOutput() ConnectionMonitorOutputTypeOutput {
- return i.ToConnectionMonitorOutputTypeOutputWithContext(context.Background())
+// Port number for firewall to serve PAC file.
+func (o ExplicitProxyResponsePtrOutput) PacFilePort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ExplicitProxyResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.PacFilePort
+ }).(pulumi.IntPtrOutput)
}
-func (i ConnectionMonitorOutputTypeArgs) ToConnectionMonitorOutputTypeOutputWithContext(ctx context.Context) ConnectionMonitorOutputTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorOutputTypeOutput)
+// Authorization in an ExpressRouteCircuit resource.
+type ExpressRouteCircuitAuthorizationType struct {
+ // The authorization key.
+ AuthorizationKey *string `pulumi:"authorizationKey"`
+ // The authorization use status.
+ AuthorizationUseStatus *string `pulumi:"authorizationUseStatus"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
}
-// ConnectionMonitorOutputTypeArrayInput is an input type that accepts ConnectionMonitorOutputTypeArray and ConnectionMonitorOutputTypeArrayOutput values.
-// You can construct a concrete instance of `ConnectionMonitorOutputTypeArrayInput` via:
+// ExpressRouteCircuitAuthorizationTypeInput is an input type that accepts ExpressRouteCircuitAuthorizationTypeArgs and ExpressRouteCircuitAuthorizationTypeOutput values.
+// You can construct a concrete instance of `ExpressRouteCircuitAuthorizationTypeInput` via:
//
-// ConnectionMonitorOutputTypeArray{ ConnectionMonitorOutputTypeArgs{...} }
-type ConnectionMonitorOutputTypeArrayInput interface {
+// ExpressRouteCircuitAuthorizationTypeArgs{...}
+type ExpressRouteCircuitAuthorizationTypeInput interface {
pulumi.Input
- ToConnectionMonitorOutputTypeArrayOutput() ConnectionMonitorOutputTypeArrayOutput
- ToConnectionMonitorOutputTypeArrayOutputWithContext(context.Context) ConnectionMonitorOutputTypeArrayOutput
+ ToExpressRouteCircuitAuthorizationTypeOutput() ExpressRouteCircuitAuthorizationTypeOutput
+ ToExpressRouteCircuitAuthorizationTypeOutputWithContext(context.Context) ExpressRouteCircuitAuthorizationTypeOutput
}
-type ConnectionMonitorOutputTypeArray []ConnectionMonitorOutputTypeInput
+// Authorization in an ExpressRouteCircuit resource.
+type ExpressRouteCircuitAuthorizationTypeArgs struct {
+ // The authorization key.
+ AuthorizationKey pulumi.StringPtrInput `pulumi:"authorizationKey"`
+ // The authorization use status.
+ AuthorizationUseStatus pulumi.StringPtrInput `pulumi:"authorizationUseStatus"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+}
-func (ConnectionMonitorOutputTypeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorOutputType)(nil)).Elem()
+func (ExpressRouteCircuitAuthorizationTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitAuthorizationType)(nil)).Elem()
}
-func (i ConnectionMonitorOutputTypeArray) ToConnectionMonitorOutputTypeArrayOutput() ConnectionMonitorOutputTypeArrayOutput {
- return i.ToConnectionMonitorOutputTypeArrayOutputWithContext(context.Background())
+func (i ExpressRouteCircuitAuthorizationTypeArgs) ToExpressRouteCircuitAuthorizationTypeOutput() ExpressRouteCircuitAuthorizationTypeOutput {
+ return i.ToExpressRouteCircuitAuthorizationTypeOutputWithContext(context.Background())
}
-func (i ConnectionMonitorOutputTypeArray) ToConnectionMonitorOutputTypeArrayOutputWithContext(ctx context.Context) ConnectionMonitorOutputTypeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorOutputTypeArrayOutput)
+func (i ExpressRouteCircuitAuthorizationTypeArgs) ToExpressRouteCircuitAuthorizationTypeOutputWithContext(ctx context.Context) ExpressRouteCircuitAuthorizationTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitAuthorizationTypeOutput)
}
-// Describes a connection monitor output destination.
-type ConnectionMonitorOutputTypeOutput struct{ *pulumi.OutputState }
+// ExpressRouteCircuitAuthorizationTypeArrayInput is an input type that accepts ExpressRouteCircuitAuthorizationTypeArray and ExpressRouteCircuitAuthorizationTypeArrayOutput values.
+// You can construct a concrete instance of `ExpressRouteCircuitAuthorizationTypeArrayInput` via:
+//
+// ExpressRouteCircuitAuthorizationTypeArray{ ExpressRouteCircuitAuthorizationTypeArgs{...} }
+type ExpressRouteCircuitAuthorizationTypeArrayInput interface {
+ pulumi.Input
-func (ConnectionMonitorOutputTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorOutputType)(nil)).Elem()
+ ToExpressRouteCircuitAuthorizationTypeArrayOutput() ExpressRouteCircuitAuthorizationTypeArrayOutput
+ ToExpressRouteCircuitAuthorizationTypeArrayOutputWithContext(context.Context) ExpressRouteCircuitAuthorizationTypeArrayOutput
}
-func (o ConnectionMonitorOutputTypeOutput) ToConnectionMonitorOutputTypeOutput() ConnectionMonitorOutputTypeOutput {
- return o
-}
+type ExpressRouteCircuitAuthorizationTypeArray []ExpressRouteCircuitAuthorizationTypeInput
-func (o ConnectionMonitorOutputTypeOutput) ToConnectionMonitorOutputTypeOutputWithContext(ctx context.Context) ConnectionMonitorOutputTypeOutput {
- return o
+func (ExpressRouteCircuitAuthorizationTypeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExpressRouteCircuitAuthorizationType)(nil)).Elem()
}
-// Connection monitor output destination type. Currently, only "Workspace" is supported.
-func (o ConnectionMonitorOutputTypeOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorOutputType) *string { return v.Type }).(pulumi.StringPtrOutput)
+func (i ExpressRouteCircuitAuthorizationTypeArray) ToExpressRouteCircuitAuthorizationTypeArrayOutput() ExpressRouteCircuitAuthorizationTypeArrayOutput {
+ return i.ToExpressRouteCircuitAuthorizationTypeArrayOutputWithContext(context.Background())
}
-// Describes the settings for producing output into a log analytics workspace.
-func (o ConnectionMonitorOutputTypeOutput) WorkspaceSettings() ConnectionMonitorWorkspaceSettingsPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorOutputType) *ConnectionMonitorWorkspaceSettings { return v.WorkspaceSettings }).(ConnectionMonitorWorkspaceSettingsPtrOutput)
+func (i ExpressRouteCircuitAuthorizationTypeArray) ToExpressRouteCircuitAuthorizationTypeArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitAuthorizationTypeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitAuthorizationTypeArrayOutput)
}
-type ConnectionMonitorOutputTypeArrayOutput struct{ *pulumi.OutputState }
+// Authorization in an ExpressRouteCircuit resource.
+type ExpressRouteCircuitAuthorizationTypeOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorOutputTypeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorOutputType)(nil)).Elem()
+func (ExpressRouteCircuitAuthorizationTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitAuthorizationType)(nil)).Elem()
}
-func (o ConnectionMonitorOutputTypeArrayOutput) ToConnectionMonitorOutputTypeArrayOutput() ConnectionMonitorOutputTypeArrayOutput {
+func (o ExpressRouteCircuitAuthorizationTypeOutput) ToExpressRouteCircuitAuthorizationTypeOutput() ExpressRouteCircuitAuthorizationTypeOutput {
return o
}
-func (o ConnectionMonitorOutputTypeArrayOutput) ToConnectionMonitorOutputTypeArrayOutputWithContext(ctx context.Context) ConnectionMonitorOutputTypeArrayOutput {
+func (o ExpressRouteCircuitAuthorizationTypeOutput) ToExpressRouteCircuitAuthorizationTypeOutputWithContext(ctx context.Context) ExpressRouteCircuitAuthorizationTypeOutput {
return o
}
-func (o ConnectionMonitorOutputTypeArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorOutputTypeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorOutputType {
- return vs[0].([]ConnectionMonitorOutputType)[vs[1].(int)]
- }).(ConnectionMonitorOutputTypeOutput)
+// The authorization key.
+func (o ExpressRouteCircuitAuthorizationTypeOutput) AuthorizationKey() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitAuthorizationType) *string { return v.AuthorizationKey }).(pulumi.StringPtrOutput)
}
-// Describes a connection monitor output destination.
-type ConnectionMonitorOutputResponse struct {
- // Connection monitor output destination type. Currently, only "Workspace" is supported.
- Type *string `pulumi:"type"`
- // Describes the settings for producing output into a log analytics workspace.
- WorkspaceSettings *ConnectionMonitorWorkspaceSettingsResponse `pulumi:"workspaceSettings"`
+// The authorization use status.
+func (o ExpressRouteCircuitAuthorizationTypeOutput) AuthorizationUseStatus() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitAuthorizationType) *string { return v.AuthorizationUseStatus }).(pulumi.StringPtrOutput)
}
-// Describes a connection monitor output destination.
-type ConnectionMonitorOutputResponseOutput struct{ *pulumi.OutputState }
+// Resource ID.
+func (o ExpressRouteCircuitAuthorizationTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitAuthorizationType) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
-func (ConnectionMonitorOutputResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorOutputResponse)(nil)).Elem()
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o ExpressRouteCircuitAuthorizationTypeOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitAuthorizationType) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorOutputResponseOutput) ToConnectionMonitorOutputResponseOutput() ConnectionMonitorOutputResponseOutput {
+type ExpressRouteCircuitAuthorizationTypeArrayOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteCircuitAuthorizationTypeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExpressRouteCircuitAuthorizationType)(nil)).Elem()
+}
+
+func (o ExpressRouteCircuitAuthorizationTypeArrayOutput) ToExpressRouteCircuitAuthorizationTypeArrayOutput() ExpressRouteCircuitAuthorizationTypeArrayOutput {
return o
}
-func (o ConnectionMonitorOutputResponseOutput) ToConnectionMonitorOutputResponseOutputWithContext(ctx context.Context) ConnectionMonitorOutputResponseOutput {
+func (o ExpressRouteCircuitAuthorizationTypeArrayOutput) ToExpressRouteCircuitAuthorizationTypeArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitAuthorizationTypeArrayOutput {
return o
}
-// Connection monitor output destination type. Currently, only "Workspace" is supported.
-func (o ConnectionMonitorOutputResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorOutputResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+func (o ExpressRouteCircuitAuthorizationTypeArrayOutput) Index(i pulumi.IntInput) ExpressRouteCircuitAuthorizationTypeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteCircuitAuthorizationType {
+ return vs[0].([]ExpressRouteCircuitAuthorizationType)[vs[1].(int)]
+ }).(ExpressRouteCircuitAuthorizationTypeOutput)
}
-// Describes the settings for producing output into a log analytics workspace.
-func (o ConnectionMonitorOutputResponseOutput) WorkspaceSettings() ConnectionMonitorWorkspaceSettingsResponsePtrOutput {
- return o.ApplyT(func(v ConnectionMonitorOutputResponse) *ConnectionMonitorWorkspaceSettingsResponse {
- return v.WorkspaceSettings
- }).(ConnectionMonitorWorkspaceSettingsResponsePtrOutput)
+// Authorization in an ExpressRouteCircuit resource.
+type ExpressRouteCircuitAuthorizationResponse struct {
+ // The authorization key.
+ AuthorizationKey *string `pulumi:"authorizationKey"`
+ // The authorization use status.
+ AuthorizationUseStatus *string `pulumi:"authorizationUseStatus"`
+ // The reference to the ExpressRoute connection resource using the authorization.
+ ConnectionResourceUri string `pulumi:"connectionResourceUri"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the authorization resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Type of the resource.
+ Type string `pulumi:"type"`
}
-type ConnectionMonitorOutputResponseArrayOutput struct{ *pulumi.OutputState }
+// Authorization in an ExpressRouteCircuit resource.
+type ExpressRouteCircuitAuthorizationResponseOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorOutputResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorOutputResponse)(nil)).Elem()
+func (ExpressRouteCircuitAuthorizationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitAuthorizationResponse)(nil)).Elem()
}
-func (o ConnectionMonitorOutputResponseArrayOutput) ToConnectionMonitorOutputResponseArrayOutput() ConnectionMonitorOutputResponseArrayOutput {
+func (o ExpressRouteCircuitAuthorizationResponseOutput) ToExpressRouteCircuitAuthorizationResponseOutput() ExpressRouteCircuitAuthorizationResponseOutput {
return o
}
-func (o ConnectionMonitorOutputResponseArrayOutput) ToConnectionMonitorOutputResponseArrayOutputWithContext(ctx context.Context) ConnectionMonitorOutputResponseArrayOutput {
+func (o ExpressRouteCircuitAuthorizationResponseOutput) ToExpressRouteCircuitAuthorizationResponseOutputWithContext(ctx context.Context) ExpressRouteCircuitAuthorizationResponseOutput {
return o
}
-func (o ConnectionMonitorOutputResponseArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorOutputResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorOutputResponse {
- return vs[0].([]ConnectionMonitorOutputResponse)[vs[1].(int)]
- }).(ConnectionMonitorOutputResponseOutput)
+// The authorization key.
+func (o ExpressRouteCircuitAuthorizationResponseOutput) AuthorizationKey() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitAuthorizationResponse) *string { return v.AuthorizationKey }).(pulumi.StringPtrOutput)
}
-// Describes the source of connection monitor.
-type ConnectionMonitorSource struct {
- // The source port used by connection monitor.
- Port *int `pulumi:"port"`
- // The ID of the resource used as the source by connection monitor.
- ResourceId string `pulumi:"resourceId"`
+// The authorization use status.
+func (o ExpressRouteCircuitAuthorizationResponseOutput) AuthorizationUseStatus() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitAuthorizationResponse) *string { return v.AuthorizationUseStatus }).(pulumi.StringPtrOutput)
}
-// ConnectionMonitorSourceInput is an input type that accepts ConnectionMonitorSourceArgs and ConnectionMonitorSourceOutput values.
-// You can construct a concrete instance of `ConnectionMonitorSourceInput` via:
-//
-// ConnectionMonitorSourceArgs{...}
-type ConnectionMonitorSourceInput interface {
- pulumi.Input
-
- ToConnectionMonitorSourceOutput() ConnectionMonitorSourceOutput
- ToConnectionMonitorSourceOutputWithContext(context.Context) ConnectionMonitorSourceOutput
+// The reference to the ExpressRoute connection resource using the authorization.
+func (o ExpressRouteCircuitAuthorizationResponseOutput) ConnectionResourceUri() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitAuthorizationResponse) string { return v.ConnectionResourceUri }).(pulumi.StringOutput)
}
-// Describes the source of connection monitor.
-type ConnectionMonitorSourceArgs struct {
- // The source port used by connection monitor.
- Port pulumi.IntPtrInput `pulumi:"port"`
- // The ID of the resource used as the source by connection monitor.
- ResourceId pulumi.StringInput `pulumi:"resourceId"`
-}
-
-func (ConnectionMonitorSourceArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorSource)(nil)).Elem()
-}
-
-func (i ConnectionMonitorSourceArgs) ToConnectionMonitorSourceOutput() ConnectionMonitorSourceOutput {
- return i.ToConnectionMonitorSourceOutputWithContext(context.Background())
-}
-
-func (i ConnectionMonitorSourceArgs) ToConnectionMonitorSourceOutputWithContext(ctx context.Context) ConnectionMonitorSourceOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorSourceOutput)
-}
-
-func (i ConnectionMonitorSourceArgs) ToConnectionMonitorSourcePtrOutput() ConnectionMonitorSourcePtrOutput {
- return i.ToConnectionMonitorSourcePtrOutputWithContext(context.Background())
-}
-
-func (i ConnectionMonitorSourceArgs) ToConnectionMonitorSourcePtrOutputWithContext(ctx context.Context) ConnectionMonitorSourcePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorSourceOutput).ToConnectionMonitorSourcePtrOutputWithContext(ctx)
-}
-
-// ConnectionMonitorSourcePtrInput is an input type that accepts ConnectionMonitorSourceArgs, ConnectionMonitorSourcePtr and ConnectionMonitorSourcePtrOutput values.
-// You can construct a concrete instance of `ConnectionMonitorSourcePtrInput` via:
-//
-// ConnectionMonitorSourceArgs{...}
-//
-// or:
-//
-// nil
-type ConnectionMonitorSourcePtrInput interface {
- pulumi.Input
-
- ToConnectionMonitorSourcePtrOutput() ConnectionMonitorSourcePtrOutput
- ToConnectionMonitorSourcePtrOutputWithContext(context.Context) ConnectionMonitorSourcePtrOutput
+// A unique read-only string that changes whenever the resource is updated.
+func (o ExpressRouteCircuitAuthorizationResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitAuthorizationResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-type connectionMonitorSourcePtrType ConnectionMonitorSourceArgs
-
-func ConnectionMonitorSourcePtr(v *ConnectionMonitorSourceArgs) ConnectionMonitorSourcePtrInput {
- return (*connectionMonitorSourcePtrType)(v)
+// Resource ID.
+func (o ExpressRouteCircuitAuthorizationResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitAuthorizationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (*connectionMonitorSourcePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorSource)(nil)).Elem()
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o ExpressRouteCircuitAuthorizationResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitAuthorizationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (i *connectionMonitorSourcePtrType) ToConnectionMonitorSourcePtrOutput() ConnectionMonitorSourcePtrOutput {
- return i.ToConnectionMonitorSourcePtrOutputWithContext(context.Background())
+// The provisioning state of the authorization resource.
+func (o ExpressRouteCircuitAuthorizationResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitAuthorizationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i *connectionMonitorSourcePtrType) ToConnectionMonitorSourcePtrOutputWithContext(ctx context.Context) ConnectionMonitorSourcePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorSourcePtrOutput)
+// Type of the resource.
+func (o ExpressRouteCircuitAuthorizationResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitAuthorizationResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Describes the source of connection monitor.
-type ConnectionMonitorSourceOutput struct{ *pulumi.OutputState }
+type ExpressRouteCircuitAuthorizationResponseArrayOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorSourceOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorSource)(nil)).Elem()
+func (ExpressRouteCircuitAuthorizationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExpressRouteCircuitAuthorizationResponse)(nil)).Elem()
}
-func (o ConnectionMonitorSourceOutput) ToConnectionMonitorSourceOutput() ConnectionMonitorSourceOutput {
+func (o ExpressRouteCircuitAuthorizationResponseArrayOutput) ToExpressRouteCircuitAuthorizationResponseArrayOutput() ExpressRouteCircuitAuthorizationResponseArrayOutput {
return o
}
-func (o ConnectionMonitorSourceOutput) ToConnectionMonitorSourceOutputWithContext(ctx context.Context) ConnectionMonitorSourceOutput {
+func (o ExpressRouteCircuitAuthorizationResponseArrayOutput) ToExpressRouteCircuitAuthorizationResponseArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitAuthorizationResponseArrayOutput {
return o
}
-func (o ConnectionMonitorSourceOutput) ToConnectionMonitorSourcePtrOutput() ConnectionMonitorSourcePtrOutput {
- return o.ToConnectionMonitorSourcePtrOutputWithContext(context.Background())
-}
-
-func (o ConnectionMonitorSourceOutput) ToConnectionMonitorSourcePtrOutputWithContext(ctx context.Context) ConnectionMonitorSourcePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorSource) *ConnectionMonitorSource {
- return &v
- }).(ConnectionMonitorSourcePtrOutput)
-}
-
-// The source port used by connection monitor.
-func (o ConnectionMonitorSourceOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorSource) *int { return v.Port }).(pulumi.IntPtrOutput)
-}
-
-// The ID of the resource used as the source by connection monitor.
-func (o ConnectionMonitorSourceOutput) ResourceId() pulumi.StringOutput {
- return o.ApplyT(func(v ConnectionMonitorSource) string { return v.ResourceId }).(pulumi.StringOutput)
+func (o ExpressRouteCircuitAuthorizationResponseArrayOutput) Index(i pulumi.IntInput) ExpressRouteCircuitAuthorizationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteCircuitAuthorizationResponse {
+ return vs[0].([]ExpressRouteCircuitAuthorizationResponse)[vs[1].(int)]
+ }).(ExpressRouteCircuitAuthorizationResponseOutput)
}
-type ConnectionMonitorSourcePtrOutput struct{ *pulumi.OutputState }
-
-func (ConnectionMonitorSourcePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorSource)(nil)).Elem()
+// Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
+type ExpressRouteCircuitConnectionType struct {
+ // /29 IP address space to carve out Customer addresses for tunnels.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // The authorization key.
+ AuthorizationKey *string `pulumi:"authorizationKey"`
+ // Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
+ ExpressRouteCircuitPeering *SubResource `pulumi:"expressRouteCircuitPeering"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // IPv6 Address PrefixProperties of the express route circuit connection.
+ Ipv6CircuitConnectionConfig *Ipv6CircuitConnectionConfig `pulumi:"ipv6CircuitConnectionConfig"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Reference to Express Route Circuit Private Peering Resource of the peered circuit.
+ PeerExpressRouteCircuitPeering *SubResource `pulumi:"peerExpressRouteCircuitPeering"`
}
-func (o ConnectionMonitorSourcePtrOutput) ToConnectionMonitorSourcePtrOutput() ConnectionMonitorSourcePtrOutput {
- return o
-}
+// ExpressRouteCircuitConnectionTypeInput is an input type that accepts ExpressRouteCircuitConnectionTypeArgs and ExpressRouteCircuitConnectionTypeOutput values.
+// You can construct a concrete instance of `ExpressRouteCircuitConnectionTypeInput` via:
+//
+// ExpressRouteCircuitConnectionTypeArgs{...}
+type ExpressRouteCircuitConnectionTypeInput interface {
+ pulumi.Input
-func (o ConnectionMonitorSourcePtrOutput) ToConnectionMonitorSourcePtrOutputWithContext(ctx context.Context) ConnectionMonitorSourcePtrOutput {
- return o
+ ToExpressRouteCircuitConnectionTypeOutput() ExpressRouteCircuitConnectionTypeOutput
+ ToExpressRouteCircuitConnectionTypeOutputWithContext(context.Context) ExpressRouteCircuitConnectionTypeOutput
}
-func (o ConnectionMonitorSourcePtrOutput) Elem() ConnectionMonitorSourceOutput {
- return o.ApplyT(func(v *ConnectionMonitorSource) ConnectionMonitorSource {
- if v != nil {
- return *v
- }
- var ret ConnectionMonitorSource
- return ret
- }).(ConnectionMonitorSourceOutput)
+// Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
+type ExpressRouteCircuitConnectionTypeArgs struct {
+ // /29 IP address space to carve out Customer addresses for tunnels.
+ AddressPrefix pulumi.StringPtrInput `pulumi:"addressPrefix"`
+ // The authorization key.
+ AuthorizationKey pulumi.StringPtrInput `pulumi:"authorizationKey"`
+ // Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
+ ExpressRouteCircuitPeering SubResourcePtrInput `pulumi:"expressRouteCircuitPeering"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // IPv6 Address PrefixProperties of the express route circuit connection.
+ Ipv6CircuitConnectionConfig Ipv6CircuitConnectionConfigPtrInput `pulumi:"ipv6CircuitConnectionConfig"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Reference to Express Route Circuit Private Peering Resource of the peered circuit.
+ PeerExpressRouteCircuitPeering SubResourcePtrInput `pulumi:"peerExpressRouteCircuitPeering"`
}
-// The source port used by connection monitor.
-func (o ConnectionMonitorSourcePtrOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorSource) *int {
- if v == nil {
- return nil
- }
- return v.Port
- }).(pulumi.IntPtrOutput)
+func (ExpressRouteCircuitConnectionTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitConnectionType)(nil)).Elem()
}
-// The ID of the resource used as the source by connection monitor.
-func (o ConnectionMonitorSourcePtrOutput) ResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorSource) *string {
- if v == nil {
- return nil
- }
- return &v.ResourceId
- }).(pulumi.StringPtrOutput)
+func (i ExpressRouteCircuitConnectionTypeArgs) ToExpressRouteCircuitConnectionTypeOutput() ExpressRouteCircuitConnectionTypeOutput {
+ return i.ToExpressRouteCircuitConnectionTypeOutputWithContext(context.Background())
}
-// Describes the source of connection monitor.
-type ConnectionMonitorSourceResponse struct {
- // The source port used by connection monitor.
- Port *int `pulumi:"port"`
- // The ID of the resource used as the source by connection monitor.
- ResourceId string `pulumi:"resourceId"`
+func (i ExpressRouteCircuitConnectionTypeArgs) ToExpressRouteCircuitConnectionTypeOutputWithContext(ctx context.Context) ExpressRouteCircuitConnectionTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitConnectionTypeOutput)
}
-// Describes the source of connection monitor.
-type ConnectionMonitorSourceResponseOutput struct{ *pulumi.OutputState }
+// ExpressRouteCircuitConnectionTypeArrayInput is an input type that accepts ExpressRouteCircuitConnectionTypeArray and ExpressRouteCircuitConnectionTypeArrayOutput values.
+// You can construct a concrete instance of `ExpressRouteCircuitConnectionTypeArrayInput` via:
+//
+// ExpressRouteCircuitConnectionTypeArray{ ExpressRouteCircuitConnectionTypeArgs{...} }
+type ExpressRouteCircuitConnectionTypeArrayInput interface {
+ pulumi.Input
-func (ConnectionMonitorSourceResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorSourceResponse)(nil)).Elem()
+ ToExpressRouteCircuitConnectionTypeArrayOutput() ExpressRouteCircuitConnectionTypeArrayOutput
+ ToExpressRouteCircuitConnectionTypeArrayOutputWithContext(context.Context) ExpressRouteCircuitConnectionTypeArrayOutput
}
-func (o ConnectionMonitorSourceResponseOutput) ToConnectionMonitorSourceResponseOutput() ConnectionMonitorSourceResponseOutput {
- return o
-}
+type ExpressRouteCircuitConnectionTypeArray []ExpressRouteCircuitConnectionTypeInput
-func (o ConnectionMonitorSourceResponseOutput) ToConnectionMonitorSourceResponseOutputWithContext(ctx context.Context) ConnectionMonitorSourceResponseOutput {
- return o
+func (ExpressRouteCircuitConnectionTypeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExpressRouteCircuitConnectionType)(nil)).Elem()
}
-// The source port used by connection monitor.
-func (o ConnectionMonitorSourceResponseOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorSourceResponse) *int { return v.Port }).(pulumi.IntPtrOutput)
+func (i ExpressRouteCircuitConnectionTypeArray) ToExpressRouteCircuitConnectionTypeArrayOutput() ExpressRouteCircuitConnectionTypeArrayOutput {
+ return i.ToExpressRouteCircuitConnectionTypeArrayOutputWithContext(context.Background())
}
-// The ID of the resource used as the source by connection monitor.
-func (o ConnectionMonitorSourceResponseOutput) ResourceId() pulumi.StringOutput {
- return o.ApplyT(func(v ConnectionMonitorSourceResponse) string { return v.ResourceId }).(pulumi.StringOutput)
+func (i ExpressRouteCircuitConnectionTypeArray) ToExpressRouteCircuitConnectionTypeArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitConnectionTypeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitConnectionTypeArrayOutput)
}
-type ConnectionMonitorSourceResponsePtrOutput struct{ *pulumi.OutputState }
+// Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
+type ExpressRouteCircuitConnectionTypeOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorSourceResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorSourceResponse)(nil)).Elem()
+func (ExpressRouteCircuitConnectionTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitConnectionType)(nil)).Elem()
}
-func (o ConnectionMonitorSourceResponsePtrOutput) ToConnectionMonitorSourceResponsePtrOutput() ConnectionMonitorSourceResponsePtrOutput {
+func (o ExpressRouteCircuitConnectionTypeOutput) ToExpressRouteCircuitConnectionTypeOutput() ExpressRouteCircuitConnectionTypeOutput {
return o
}
-func (o ConnectionMonitorSourceResponsePtrOutput) ToConnectionMonitorSourceResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorSourceResponsePtrOutput {
+func (o ExpressRouteCircuitConnectionTypeOutput) ToExpressRouteCircuitConnectionTypeOutputWithContext(ctx context.Context) ExpressRouteCircuitConnectionTypeOutput {
return o
}
-func (o ConnectionMonitorSourceResponsePtrOutput) Elem() ConnectionMonitorSourceResponseOutput {
- return o.ApplyT(func(v *ConnectionMonitorSourceResponse) ConnectionMonitorSourceResponse {
- if v != nil {
- return *v
- }
- var ret ConnectionMonitorSourceResponse
- return ret
- }).(ConnectionMonitorSourceResponseOutput)
-}
-
-// The source port used by connection monitor.
-func (o ConnectionMonitorSourceResponsePtrOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorSourceResponse) *int {
- if v == nil {
- return nil
- }
- return v.Port
- }).(pulumi.IntPtrOutput)
-}
-
-// The ID of the resource used as the source by connection monitor.
-func (o ConnectionMonitorSourceResponsePtrOutput) ResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorSourceResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ResourceId
- }).(pulumi.StringPtrOutput)
-}
-
-// Describes the threshold for declaring a test successful.
-type ConnectionMonitorSuccessThreshold struct {
- // The maximum percentage of failed checks permitted for a test to evaluate as successful.
- ChecksFailedPercent *int `pulumi:"checksFailedPercent"`
- // The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
- RoundTripTimeMs *float64 `pulumi:"roundTripTimeMs"`
-}
-
-// ConnectionMonitorSuccessThresholdInput is an input type that accepts ConnectionMonitorSuccessThresholdArgs and ConnectionMonitorSuccessThresholdOutput values.
-// You can construct a concrete instance of `ConnectionMonitorSuccessThresholdInput` via:
-//
-// ConnectionMonitorSuccessThresholdArgs{...}
-type ConnectionMonitorSuccessThresholdInput interface {
- pulumi.Input
-
- ToConnectionMonitorSuccessThresholdOutput() ConnectionMonitorSuccessThresholdOutput
- ToConnectionMonitorSuccessThresholdOutputWithContext(context.Context) ConnectionMonitorSuccessThresholdOutput
+// /29 IP address space to carve out Customer addresses for tunnels.
+func (o ExpressRouteCircuitConnectionTypeOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionType) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-// Describes the threshold for declaring a test successful.
-type ConnectionMonitorSuccessThresholdArgs struct {
- // The maximum percentage of failed checks permitted for a test to evaluate as successful.
- ChecksFailedPercent pulumi.IntPtrInput `pulumi:"checksFailedPercent"`
- // The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
- RoundTripTimeMs pulumi.Float64PtrInput `pulumi:"roundTripTimeMs"`
+// The authorization key.
+func (o ExpressRouteCircuitConnectionTypeOutput) AuthorizationKey() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionType) *string { return v.AuthorizationKey }).(pulumi.StringPtrOutput)
}
-func (ConnectionMonitorSuccessThresholdArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorSuccessThreshold)(nil)).Elem()
+// Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
+func (o ExpressRouteCircuitConnectionTypeOutput) ExpressRouteCircuitPeering() SubResourcePtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionType) *SubResource { return v.ExpressRouteCircuitPeering }).(SubResourcePtrOutput)
}
-func (i ConnectionMonitorSuccessThresholdArgs) ToConnectionMonitorSuccessThresholdOutput() ConnectionMonitorSuccessThresholdOutput {
- return i.ToConnectionMonitorSuccessThresholdOutputWithContext(context.Background())
+// Resource ID.
+func (o ExpressRouteCircuitConnectionTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (i ConnectionMonitorSuccessThresholdArgs) ToConnectionMonitorSuccessThresholdOutputWithContext(ctx context.Context) ConnectionMonitorSuccessThresholdOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorSuccessThresholdOutput)
+// IPv6 Address PrefixProperties of the express route circuit connection.
+func (o ExpressRouteCircuitConnectionTypeOutput) Ipv6CircuitConnectionConfig() Ipv6CircuitConnectionConfigPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionType) *Ipv6CircuitConnectionConfig {
+ return v.Ipv6CircuitConnectionConfig
+ }).(Ipv6CircuitConnectionConfigPtrOutput)
}
-func (i ConnectionMonitorSuccessThresholdArgs) ToConnectionMonitorSuccessThresholdPtrOutput() ConnectionMonitorSuccessThresholdPtrOutput {
- return i.ToConnectionMonitorSuccessThresholdPtrOutputWithContext(context.Background())
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o ExpressRouteCircuitConnectionTypeOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionType) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (i ConnectionMonitorSuccessThresholdArgs) ToConnectionMonitorSuccessThresholdPtrOutputWithContext(ctx context.Context) ConnectionMonitorSuccessThresholdPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorSuccessThresholdOutput).ToConnectionMonitorSuccessThresholdPtrOutputWithContext(ctx)
+// Reference to Express Route Circuit Private Peering Resource of the peered circuit.
+func (o ExpressRouteCircuitConnectionTypeOutput) PeerExpressRouteCircuitPeering() SubResourcePtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionType) *SubResource { return v.PeerExpressRouteCircuitPeering }).(SubResourcePtrOutput)
}
-// ConnectionMonitorSuccessThresholdPtrInput is an input type that accepts ConnectionMonitorSuccessThresholdArgs, ConnectionMonitorSuccessThresholdPtr and ConnectionMonitorSuccessThresholdPtrOutput values.
-// You can construct a concrete instance of `ConnectionMonitorSuccessThresholdPtrInput` via:
-//
-// ConnectionMonitorSuccessThresholdArgs{...}
-//
-// or:
-//
-// nil
-type ConnectionMonitorSuccessThresholdPtrInput interface {
- pulumi.Input
+type ExpressRouteCircuitConnectionTypeArrayOutput struct{ *pulumi.OutputState }
- ToConnectionMonitorSuccessThresholdPtrOutput() ConnectionMonitorSuccessThresholdPtrOutput
- ToConnectionMonitorSuccessThresholdPtrOutputWithContext(context.Context) ConnectionMonitorSuccessThresholdPtrOutput
+func (ExpressRouteCircuitConnectionTypeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExpressRouteCircuitConnectionType)(nil)).Elem()
}
-type connectionMonitorSuccessThresholdPtrType ConnectionMonitorSuccessThresholdArgs
-
-func ConnectionMonitorSuccessThresholdPtr(v *ConnectionMonitorSuccessThresholdArgs) ConnectionMonitorSuccessThresholdPtrInput {
- return (*connectionMonitorSuccessThresholdPtrType)(v)
+func (o ExpressRouteCircuitConnectionTypeArrayOutput) ToExpressRouteCircuitConnectionTypeArrayOutput() ExpressRouteCircuitConnectionTypeArrayOutput {
+ return o
}
-func (*connectionMonitorSuccessThresholdPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorSuccessThreshold)(nil)).Elem()
+func (o ExpressRouteCircuitConnectionTypeArrayOutput) ToExpressRouteCircuitConnectionTypeArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitConnectionTypeArrayOutput {
+ return o
}
-func (i *connectionMonitorSuccessThresholdPtrType) ToConnectionMonitorSuccessThresholdPtrOutput() ConnectionMonitorSuccessThresholdPtrOutput {
- return i.ToConnectionMonitorSuccessThresholdPtrOutputWithContext(context.Background())
+func (o ExpressRouteCircuitConnectionTypeArrayOutput) Index(i pulumi.IntInput) ExpressRouteCircuitConnectionTypeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteCircuitConnectionType {
+ return vs[0].([]ExpressRouteCircuitConnectionType)[vs[1].(int)]
+ }).(ExpressRouteCircuitConnectionTypeOutput)
}
-func (i *connectionMonitorSuccessThresholdPtrType) ToConnectionMonitorSuccessThresholdPtrOutputWithContext(ctx context.Context) ConnectionMonitorSuccessThresholdPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorSuccessThresholdPtrOutput)
+// Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
+type ExpressRouteCircuitConnectionResponse struct {
+ // /29 IP address space to carve out Customer addresses for tunnels.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // The authorization key.
+ AuthorizationKey *string `pulumi:"authorizationKey"`
+ // Express Route Circuit connection state.
+ CircuitConnectionStatus string `pulumi:"circuitConnectionStatus"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
+ ExpressRouteCircuitPeering *SubResourceResponse `pulumi:"expressRouteCircuitPeering"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // IPv6 Address PrefixProperties of the express route circuit connection.
+ Ipv6CircuitConnectionConfig *Ipv6CircuitConnectionConfigResponse `pulumi:"ipv6CircuitConnectionConfig"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Reference to Express Route Circuit Private Peering Resource of the peered circuit.
+ PeerExpressRouteCircuitPeering *SubResourceResponse `pulumi:"peerExpressRouteCircuitPeering"`
+ // The provisioning state of the express route circuit connection resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Type of the resource.
+ Type string `pulumi:"type"`
}
-// Describes the threshold for declaring a test successful.
-type ConnectionMonitorSuccessThresholdOutput struct{ *pulumi.OutputState }
+// Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
+type ExpressRouteCircuitConnectionResponseOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorSuccessThresholdOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorSuccessThreshold)(nil)).Elem()
+func (ExpressRouteCircuitConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitConnectionResponse)(nil)).Elem()
}
-func (o ConnectionMonitorSuccessThresholdOutput) ToConnectionMonitorSuccessThresholdOutput() ConnectionMonitorSuccessThresholdOutput {
+func (o ExpressRouteCircuitConnectionResponseOutput) ToExpressRouteCircuitConnectionResponseOutput() ExpressRouteCircuitConnectionResponseOutput {
return o
}
-func (o ConnectionMonitorSuccessThresholdOutput) ToConnectionMonitorSuccessThresholdOutputWithContext(ctx context.Context) ConnectionMonitorSuccessThresholdOutput {
+func (o ExpressRouteCircuitConnectionResponseOutput) ToExpressRouteCircuitConnectionResponseOutputWithContext(ctx context.Context) ExpressRouteCircuitConnectionResponseOutput {
return o
}
-func (o ConnectionMonitorSuccessThresholdOutput) ToConnectionMonitorSuccessThresholdPtrOutput() ConnectionMonitorSuccessThresholdPtrOutput {
- return o.ToConnectionMonitorSuccessThresholdPtrOutputWithContext(context.Background())
+// /29 IP address space to carve out Customer addresses for tunnels.
+func (o ExpressRouteCircuitConnectionResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorSuccessThresholdOutput) ToConnectionMonitorSuccessThresholdPtrOutputWithContext(ctx context.Context) ConnectionMonitorSuccessThresholdPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorSuccessThreshold) *ConnectionMonitorSuccessThreshold {
- return &v
- }).(ConnectionMonitorSuccessThresholdPtrOutput)
+// The authorization key.
+func (o ExpressRouteCircuitConnectionResponseOutput) AuthorizationKey() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) *string { return v.AuthorizationKey }).(pulumi.StringPtrOutput)
}
-// The maximum percentage of failed checks permitted for a test to evaluate as successful.
-func (o ConnectionMonitorSuccessThresholdOutput) ChecksFailedPercent() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorSuccessThreshold) *int { return v.ChecksFailedPercent }).(pulumi.IntPtrOutput)
+// Express Route Circuit connection state.
+func (o ExpressRouteCircuitConnectionResponseOutput) CircuitConnectionStatus() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) string { return v.CircuitConnectionStatus }).(pulumi.StringOutput)
}
-// The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
-func (o ConnectionMonitorSuccessThresholdOutput) RoundTripTimeMs() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v ConnectionMonitorSuccessThreshold) *float64 { return v.RoundTripTimeMs }).(pulumi.Float64PtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o ExpressRouteCircuitConnectionResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-type ConnectionMonitorSuccessThresholdPtrOutput struct{ *pulumi.OutputState }
-
-func (ConnectionMonitorSuccessThresholdPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorSuccessThreshold)(nil)).Elem()
+// Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
+func (o ExpressRouteCircuitConnectionResponseOutput) ExpressRouteCircuitPeering() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) *SubResourceResponse {
+ return v.ExpressRouteCircuitPeering
+ }).(SubResourceResponsePtrOutput)
}
-func (o ConnectionMonitorSuccessThresholdPtrOutput) ToConnectionMonitorSuccessThresholdPtrOutput() ConnectionMonitorSuccessThresholdPtrOutput {
- return o
+// Resource ID.
+func (o ExpressRouteCircuitConnectionResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorSuccessThresholdPtrOutput) ToConnectionMonitorSuccessThresholdPtrOutputWithContext(ctx context.Context) ConnectionMonitorSuccessThresholdPtrOutput {
- return o
+// IPv6 Address PrefixProperties of the express route circuit connection.
+func (o ExpressRouteCircuitConnectionResponseOutput) Ipv6CircuitConnectionConfig() Ipv6CircuitConnectionConfigResponsePtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) *Ipv6CircuitConnectionConfigResponse {
+ return v.Ipv6CircuitConnectionConfig
+ }).(Ipv6CircuitConnectionConfigResponsePtrOutput)
}
-func (o ConnectionMonitorSuccessThresholdPtrOutput) Elem() ConnectionMonitorSuccessThresholdOutput {
- return o.ApplyT(func(v *ConnectionMonitorSuccessThreshold) ConnectionMonitorSuccessThreshold {
- if v != nil {
- return *v
- }
- var ret ConnectionMonitorSuccessThreshold
- return ret
- }).(ConnectionMonitorSuccessThresholdOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o ExpressRouteCircuitConnectionResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The maximum percentage of failed checks permitted for a test to evaluate as successful.
-func (o ConnectionMonitorSuccessThresholdPtrOutput) ChecksFailedPercent() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorSuccessThreshold) *int {
- if v == nil {
- return nil
- }
- return v.ChecksFailedPercent
- }).(pulumi.IntPtrOutput)
+// Reference to Express Route Circuit Private Peering Resource of the peered circuit.
+func (o ExpressRouteCircuitConnectionResponseOutput) PeerExpressRouteCircuitPeering() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) *SubResourceResponse {
+ return v.PeerExpressRouteCircuitPeering
+ }).(SubResourceResponsePtrOutput)
}
-// The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
-func (o ConnectionMonitorSuccessThresholdPtrOutput) RoundTripTimeMs() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorSuccessThreshold) *float64 {
- if v == nil {
- return nil
- }
- return v.RoundTripTimeMs
- }).(pulumi.Float64PtrOutput)
+// The provisioning state of the express route circuit connection resource.
+func (o ExpressRouteCircuitConnectionResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Describes the threshold for declaring a test successful.
-type ConnectionMonitorSuccessThresholdResponse struct {
- // The maximum percentage of failed checks permitted for a test to evaluate as successful.
- ChecksFailedPercent *int `pulumi:"checksFailedPercent"`
- // The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
- RoundTripTimeMs *float64 `pulumi:"roundTripTimeMs"`
+// Type of the resource.
+func (o ExpressRouteCircuitConnectionResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Describes the threshold for declaring a test successful.
-type ConnectionMonitorSuccessThresholdResponseOutput struct{ *pulumi.OutputState }
-
-func (ConnectionMonitorSuccessThresholdResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorSuccessThresholdResponse)(nil)).Elem()
-}
+type ExpressRouteCircuitConnectionResponseArrayOutput struct{ *pulumi.OutputState }
-func (o ConnectionMonitorSuccessThresholdResponseOutput) ToConnectionMonitorSuccessThresholdResponseOutput() ConnectionMonitorSuccessThresholdResponseOutput {
- return o
+func (ExpressRouteCircuitConnectionResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExpressRouteCircuitConnectionResponse)(nil)).Elem()
}
-func (o ConnectionMonitorSuccessThresholdResponseOutput) ToConnectionMonitorSuccessThresholdResponseOutputWithContext(ctx context.Context) ConnectionMonitorSuccessThresholdResponseOutput {
+func (o ExpressRouteCircuitConnectionResponseArrayOutput) ToExpressRouteCircuitConnectionResponseArrayOutput() ExpressRouteCircuitConnectionResponseArrayOutput {
return o
}
-// The maximum percentage of failed checks permitted for a test to evaluate as successful.
-func (o ConnectionMonitorSuccessThresholdResponseOutput) ChecksFailedPercent() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorSuccessThresholdResponse) *int { return v.ChecksFailedPercent }).(pulumi.IntPtrOutput)
-}
-
-// The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
-func (o ConnectionMonitorSuccessThresholdResponseOutput) RoundTripTimeMs() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v ConnectionMonitorSuccessThresholdResponse) *float64 { return v.RoundTripTimeMs }).(pulumi.Float64PtrOutput)
-}
-
-type ConnectionMonitorSuccessThresholdResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (ConnectionMonitorSuccessThresholdResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorSuccessThresholdResponse)(nil)).Elem()
-}
-
-func (o ConnectionMonitorSuccessThresholdResponsePtrOutput) ToConnectionMonitorSuccessThresholdResponsePtrOutput() ConnectionMonitorSuccessThresholdResponsePtrOutput {
+func (o ExpressRouteCircuitConnectionResponseArrayOutput) ToExpressRouteCircuitConnectionResponseArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitConnectionResponseArrayOutput {
return o
}
-func (o ConnectionMonitorSuccessThresholdResponsePtrOutput) ToConnectionMonitorSuccessThresholdResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorSuccessThresholdResponsePtrOutput {
- return o
+func (o ExpressRouteCircuitConnectionResponseArrayOutput) Index(i pulumi.IntInput) ExpressRouteCircuitConnectionResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteCircuitConnectionResponse {
+ return vs[0].([]ExpressRouteCircuitConnectionResponse)[vs[1].(int)]
+ }).(ExpressRouteCircuitConnectionResponseOutput)
}
-func (o ConnectionMonitorSuccessThresholdResponsePtrOutput) Elem() ConnectionMonitorSuccessThresholdResponseOutput {
- return o.ApplyT(func(v *ConnectionMonitorSuccessThresholdResponse) ConnectionMonitorSuccessThresholdResponse {
- if v != nil {
- return *v
- }
- var ret ConnectionMonitorSuccessThresholdResponse
- return ret
- }).(ConnectionMonitorSuccessThresholdResponseOutput)
+// Peering in an ExpressRouteCircuit resource.
+type ExpressRouteCircuitPeeringType struct {
+ // The Azure ASN.
+ AzureASN *int `pulumi:"azureASN"`
+ // The list of circuit connections associated with Azure Private Peering for this circuit.
+ Connections []ExpressRouteCircuitConnectionType `pulumi:"connections"`
+ // The GatewayManager Etag.
+ GatewayManagerEtag *string `pulumi:"gatewayManagerEtag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The IPv6 peering configuration.
+ Ipv6PeeringConfig *Ipv6ExpressRouteCircuitPeeringConfig `pulumi:"ipv6PeeringConfig"`
+ // The Microsoft peering configuration.
+ MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `pulumi:"microsoftPeeringConfig"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The peer ASN.
+ PeerASN *float64 `pulumi:"peerASN"`
+ // The peering type.
+ PeeringType *string `pulumi:"peeringType"`
+ // The primary port.
+ PrimaryAzurePort *string `pulumi:"primaryAzurePort"`
+ // The primary address prefix.
+ PrimaryPeerAddressPrefix *string `pulumi:"primaryPeerAddressPrefix"`
+ // The reference to the RouteFilter resource.
+ RouteFilter *SubResource `pulumi:"routeFilter"`
+ // The secondary port.
+ SecondaryAzurePort *string `pulumi:"secondaryAzurePort"`
+ // The secondary address prefix.
+ SecondaryPeerAddressPrefix *string `pulumi:"secondaryPeerAddressPrefix"`
+ // The shared key.
+ SharedKey *string `pulumi:"sharedKey"`
+ // The peering state.
+ State *string `pulumi:"state"`
+ // The peering stats of express route circuit.
+ Stats *ExpressRouteCircuitStats `pulumi:"stats"`
+ // The VLAN ID.
+ VlanId *int `pulumi:"vlanId"`
}
-// The maximum percentage of failed checks permitted for a test to evaluate as successful.
-func (o ConnectionMonitorSuccessThresholdResponsePtrOutput) ChecksFailedPercent() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorSuccessThresholdResponse) *int {
- if v == nil {
- return nil
- }
- return v.ChecksFailedPercent
- }).(pulumi.IntPtrOutput)
+// ExpressRouteCircuitPeeringTypeInput is an input type that accepts ExpressRouteCircuitPeeringTypeArgs and ExpressRouteCircuitPeeringTypeOutput values.
+// You can construct a concrete instance of `ExpressRouteCircuitPeeringTypeInput` via:
+//
+// ExpressRouteCircuitPeeringTypeArgs{...}
+type ExpressRouteCircuitPeeringTypeInput interface {
+ pulumi.Input
+
+ ToExpressRouteCircuitPeeringTypeOutput() ExpressRouteCircuitPeeringTypeOutput
+ ToExpressRouteCircuitPeeringTypeOutputWithContext(context.Context) ExpressRouteCircuitPeeringTypeOutput
}
-// The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
-func (o ConnectionMonitorSuccessThresholdResponsePtrOutput) RoundTripTimeMs() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorSuccessThresholdResponse) *float64 {
- if v == nil {
- return nil
- }
- return v.RoundTripTimeMs
- }).(pulumi.Float64PtrOutput)
+// Peering in an ExpressRouteCircuit resource.
+type ExpressRouteCircuitPeeringTypeArgs struct {
+ // The Azure ASN.
+ AzureASN pulumi.IntPtrInput `pulumi:"azureASN"`
+ // The list of circuit connections associated with Azure Private Peering for this circuit.
+ Connections ExpressRouteCircuitConnectionTypeArrayInput `pulumi:"connections"`
+ // The GatewayManager Etag.
+ GatewayManagerEtag pulumi.StringPtrInput `pulumi:"gatewayManagerEtag"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The IPv6 peering configuration.
+ Ipv6PeeringConfig Ipv6ExpressRouteCircuitPeeringConfigPtrInput `pulumi:"ipv6PeeringConfig"`
+ // The Microsoft peering configuration.
+ MicrosoftPeeringConfig ExpressRouteCircuitPeeringConfigPtrInput `pulumi:"microsoftPeeringConfig"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The peer ASN.
+ PeerASN pulumi.Float64PtrInput `pulumi:"peerASN"`
+ // The peering type.
+ PeeringType pulumi.StringPtrInput `pulumi:"peeringType"`
+ // The primary port.
+ PrimaryAzurePort pulumi.StringPtrInput `pulumi:"primaryAzurePort"`
+ // The primary address prefix.
+ PrimaryPeerAddressPrefix pulumi.StringPtrInput `pulumi:"primaryPeerAddressPrefix"`
+ // The reference to the RouteFilter resource.
+ RouteFilter SubResourcePtrInput `pulumi:"routeFilter"`
+ // The secondary port.
+ SecondaryAzurePort pulumi.StringPtrInput `pulumi:"secondaryAzurePort"`
+ // The secondary address prefix.
+ SecondaryPeerAddressPrefix pulumi.StringPtrInput `pulumi:"secondaryPeerAddressPrefix"`
+ // The shared key.
+ SharedKey pulumi.StringPtrInput `pulumi:"sharedKey"`
+ // The peering state.
+ State pulumi.StringPtrInput `pulumi:"state"`
+ // The peering stats of express route circuit.
+ Stats ExpressRouteCircuitStatsPtrInput `pulumi:"stats"`
+ // The VLAN ID.
+ VlanId pulumi.IntPtrInput `pulumi:"vlanId"`
}
-// Describes the TCP configuration.
-type ConnectionMonitorTcpConfiguration struct {
- // Destination port behavior.
- DestinationPortBehavior *string `pulumi:"destinationPortBehavior"`
- // Value indicating whether path evaluation with trace route should be disabled.
- DisableTraceRoute *bool `pulumi:"disableTraceRoute"`
- // The port to connect to.
- Port *int `pulumi:"port"`
+func (ExpressRouteCircuitPeeringTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitPeeringType)(nil)).Elem()
}
-// ConnectionMonitorTcpConfigurationInput is an input type that accepts ConnectionMonitorTcpConfigurationArgs and ConnectionMonitorTcpConfigurationOutput values.
-// You can construct a concrete instance of `ConnectionMonitorTcpConfigurationInput` via:
+func (i ExpressRouteCircuitPeeringTypeArgs) ToExpressRouteCircuitPeeringTypeOutput() ExpressRouteCircuitPeeringTypeOutput {
+ return i.ToExpressRouteCircuitPeeringTypeOutputWithContext(context.Background())
+}
+
+func (i ExpressRouteCircuitPeeringTypeArgs) ToExpressRouteCircuitPeeringTypeOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitPeeringTypeOutput)
+}
+
+// ExpressRouteCircuitPeeringTypeArrayInput is an input type that accepts ExpressRouteCircuitPeeringTypeArray and ExpressRouteCircuitPeeringTypeArrayOutput values.
+// You can construct a concrete instance of `ExpressRouteCircuitPeeringTypeArrayInput` via:
//
-// ConnectionMonitorTcpConfigurationArgs{...}
-type ConnectionMonitorTcpConfigurationInput interface {
+// ExpressRouteCircuitPeeringTypeArray{ ExpressRouteCircuitPeeringTypeArgs{...} }
+type ExpressRouteCircuitPeeringTypeArrayInput interface {
pulumi.Input
- ToConnectionMonitorTcpConfigurationOutput() ConnectionMonitorTcpConfigurationOutput
- ToConnectionMonitorTcpConfigurationOutputWithContext(context.Context) ConnectionMonitorTcpConfigurationOutput
+ ToExpressRouteCircuitPeeringTypeArrayOutput() ExpressRouteCircuitPeeringTypeArrayOutput
+ ToExpressRouteCircuitPeeringTypeArrayOutputWithContext(context.Context) ExpressRouteCircuitPeeringTypeArrayOutput
}
-// Describes the TCP configuration.
-type ConnectionMonitorTcpConfigurationArgs struct {
- // Destination port behavior.
- DestinationPortBehavior pulumi.StringPtrInput `pulumi:"destinationPortBehavior"`
- // Value indicating whether path evaluation with trace route should be disabled.
- DisableTraceRoute pulumi.BoolPtrInput `pulumi:"disableTraceRoute"`
- // The port to connect to.
- Port pulumi.IntPtrInput `pulumi:"port"`
+type ExpressRouteCircuitPeeringTypeArray []ExpressRouteCircuitPeeringTypeInput
+
+func (ExpressRouteCircuitPeeringTypeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExpressRouteCircuitPeeringType)(nil)).Elem()
}
-func (ConnectionMonitorTcpConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorTcpConfiguration)(nil)).Elem()
+func (i ExpressRouteCircuitPeeringTypeArray) ToExpressRouteCircuitPeeringTypeArrayOutput() ExpressRouteCircuitPeeringTypeArrayOutput {
+ return i.ToExpressRouteCircuitPeeringTypeArrayOutputWithContext(context.Background())
}
-func (i ConnectionMonitorTcpConfigurationArgs) ToConnectionMonitorTcpConfigurationOutput() ConnectionMonitorTcpConfigurationOutput {
- return i.ToConnectionMonitorTcpConfigurationOutputWithContext(context.Background())
+func (i ExpressRouteCircuitPeeringTypeArray) ToExpressRouteCircuitPeeringTypeArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringTypeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitPeeringTypeArrayOutput)
}
-func (i ConnectionMonitorTcpConfigurationArgs) ToConnectionMonitorTcpConfigurationOutputWithContext(ctx context.Context) ConnectionMonitorTcpConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorTcpConfigurationOutput)
+// Peering in an ExpressRouteCircuit resource.
+type ExpressRouteCircuitPeeringTypeOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteCircuitPeeringTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitPeeringType)(nil)).Elem()
}
-func (i ConnectionMonitorTcpConfigurationArgs) ToConnectionMonitorTcpConfigurationPtrOutput() ConnectionMonitorTcpConfigurationPtrOutput {
- return i.ToConnectionMonitorTcpConfigurationPtrOutputWithContext(context.Background())
+func (o ExpressRouteCircuitPeeringTypeOutput) ToExpressRouteCircuitPeeringTypeOutput() ExpressRouteCircuitPeeringTypeOutput {
+ return o
}
-func (i ConnectionMonitorTcpConfigurationArgs) ToConnectionMonitorTcpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorTcpConfigurationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorTcpConfigurationOutput).ToConnectionMonitorTcpConfigurationPtrOutputWithContext(ctx)
+func (o ExpressRouteCircuitPeeringTypeOutput) ToExpressRouteCircuitPeeringTypeOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringTypeOutput {
+ return o
}
-// ConnectionMonitorTcpConfigurationPtrInput is an input type that accepts ConnectionMonitorTcpConfigurationArgs, ConnectionMonitorTcpConfigurationPtr and ConnectionMonitorTcpConfigurationPtrOutput values.
-// You can construct a concrete instance of `ConnectionMonitorTcpConfigurationPtrInput` via:
-//
-// ConnectionMonitorTcpConfigurationArgs{...}
-//
-// or:
-//
-// nil
-type ConnectionMonitorTcpConfigurationPtrInput interface {
- pulumi.Input
+// The Azure ASN.
+func (o ExpressRouteCircuitPeeringTypeOutput) AzureASN() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *int { return v.AzureASN }).(pulumi.IntPtrOutput)
+}
- ToConnectionMonitorTcpConfigurationPtrOutput() ConnectionMonitorTcpConfigurationPtrOutput
- ToConnectionMonitorTcpConfigurationPtrOutputWithContext(context.Context) ConnectionMonitorTcpConfigurationPtrOutput
+// The list of circuit connections associated with Azure Private Peering for this circuit.
+func (o ExpressRouteCircuitPeeringTypeOutput) Connections() ExpressRouteCircuitConnectionTypeArrayOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) []ExpressRouteCircuitConnectionType { return v.Connections }).(ExpressRouteCircuitConnectionTypeArrayOutput)
}
-type connectionMonitorTcpConfigurationPtrType ConnectionMonitorTcpConfigurationArgs
+// The GatewayManager Etag.
+func (o ExpressRouteCircuitPeeringTypeOutput) GatewayManagerEtag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.GatewayManagerEtag }).(pulumi.StringPtrOutput)
+}
-func ConnectionMonitorTcpConfigurationPtr(v *ConnectionMonitorTcpConfigurationArgs) ConnectionMonitorTcpConfigurationPtrInput {
- return (*connectionMonitorTcpConfigurationPtrType)(v)
+// Resource ID.
+func (o ExpressRouteCircuitPeeringTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (*connectionMonitorTcpConfigurationPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorTcpConfiguration)(nil)).Elem()
+// The IPv6 peering configuration.
+func (o ExpressRouteCircuitPeeringTypeOutput) Ipv6PeeringConfig() Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *Ipv6ExpressRouteCircuitPeeringConfig {
+ return v.Ipv6PeeringConfig
+ }).(Ipv6ExpressRouteCircuitPeeringConfigPtrOutput)
}
-func (i *connectionMonitorTcpConfigurationPtrType) ToConnectionMonitorTcpConfigurationPtrOutput() ConnectionMonitorTcpConfigurationPtrOutput {
- return i.ToConnectionMonitorTcpConfigurationPtrOutputWithContext(context.Background())
+// The Microsoft peering configuration.
+func (o ExpressRouteCircuitPeeringTypeOutput) MicrosoftPeeringConfig() ExpressRouteCircuitPeeringConfigPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *ExpressRouteCircuitPeeringConfig {
+ return v.MicrosoftPeeringConfig
+ }).(ExpressRouteCircuitPeeringConfigPtrOutput)
}
-func (i *connectionMonitorTcpConfigurationPtrType) ToConnectionMonitorTcpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorTcpConfigurationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorTcpConfigurationPtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o ExpressRouteCircuitPeeringTypeOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Describes the TCP configuration.
-type ConnectionMonitorTcpConfigurationOutput struct{ *pulumi.OutputState }
+// The peer ASN.
+func (o ExpressRouteCircuitPeeringTypeOutput) PeerASN() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *float64 { return v.PeerASN }).(pulumi.Float64PtrOutput)
+}
-func (ConnectionMonitorTcpConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorTcpConfiguration)(nil)).Elem()
+// The peering type.
+func (o ExpressRouteCircuitPeeringTypeOutput) PeeringType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.PeeringType }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorTcpConfigurationOutput) ToConnectionMonitorTcpConfigurationOutput() ConnectionMonitorTcpConfigurationOutput {
- return o
+// The primary port.
+func (o ExpressRouteCircuitPeeringTypeOutput) PrimaryAzurePort() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.PrimaryAzurePort }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorTcpConfigurationOutput) ToConnectionMonitorTcpConfigurationOutputWithContext(ctx context.Context) ConnectionMonitorTcpConfigurationOutput {
- return o
+// The primary address prefix.
+func (o ExpressRouteCircuitPeeringTypeOutput) PrimaryPeerAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.PrimaryPeerAddressPrefix }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorTcpConfigurationOutput) ToConnectionMonitorTcpConfigurationPtrOutput() ConnectionMonitorTcpConfigurationPtrOutput {
- return o.ToConnectionMonitorTcpConfigurationPtrOutputWithContext(context.Background())
+// The reference to the RouteFilter resource.
+func (o ExpressRouteCircuitPeeringTypeOutput) RouteFilter() SubResourcePtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *SubResource { return v.RouteFilter }).(SubResourcePtrOutput)
}
-func (o ConnectionMonitorTcpConfigurationOutput) ToConnectionMonitorTcpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorTcpConfigurationPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorTcpConfiguration) *ConnectionMonitorTcpConfiguration {
- return &v
- }).(ConnectionMonitorTcpConfigurationPtrOutput)
+// The secondary port.
+func (o ExpressRouteCircuitPeeringTypeOutput) SecondaryAzurePort() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.SecondaryAzurePort }).(pulumi.StringPtrOutput)
}
-// Destination port behavior.
-func (o ConnectionMonitorTcpConfigurationOutput) DestinationPortBehavior() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTcpConfiguration) *string { return v.DestinationPortBehavior }).(pulumi.StringPtrOutput)
+// The secondary address prefix.
+func (o ExpressRouteCircuitPeeringTypeOutput) SecondaryPeerAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.SecondaryPeerAddressPrefix }).(pulumi.StringPtrOutput)
}
-// Value indicating whether path evaluation with trace route should be disabled.
-func (o ConnectionMonitorTcpConfigurationOutput) DisableTraceRoute() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTcpConfiguration) *bool { return v.DisableTraceRoute }).(pulumi.BoolPtrOutput)
+// The shared key.
+func (o ExpressRouteCircuitPeeringTypeOutput) SharedKey() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.SharedKey }).(pulumi.StringPtrOutput)
}
-// The port to connect to.
-func (o ConnectionMonitorTcpConfigurationOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTcpConfiguration) *int { return v.Port }).(pulumi.IntPtrOutput)
+// The peering state.
+func (o ExpressRouteCircuitPeeringTypeOutput) State() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.State }).(pulumi.StringPtrOutput)
}
-type ConnectionMonitorTcpConfigurationPtrOutput struct{ *pulumi.OutputState }
+// The peering stats of express route circuit.
+func (o ExpressRouteCircuitPeeringTypeOutput) Stats() ExpressRouteCircuitStatsPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *ExpressRouteCircuitStats { return v.Stats }).(ExpressRouteCircuitStatsPtrOutput)
+}
-func (ConnectionMonitorTcpConfigurationPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorTcpConfiguration)(nil)).Elem()
+// The VLAN ID.
+func (o ExpressRouteCircuitPeeringTypeOutput) VlanId() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *int { return v.VlanId }).(pulumi.IntPtrOutput)
}
-func (o ConnectionMonitorTcpConfigurationPtrOutput) ToConnectionMonitorTcpConfigurationPtrOutput() ConnectionMonitorTcpConfigurationPtrOutput {
+type ExpressRouteCircuitPeeringTypeArrayOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteCircuitPeeringTypeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExpressRouteCircuitPeeringType)(nil)).Elem()
+}
+
+func (o ExpressRouteCircuitPeeringTypeArrayOutput) ToExpressRouteCircuitPeeringTypeArrayOutput() ExpressRouteCircuitPeeringTypeArrayOutput {
return o
}
-func (o ConnectionMonitorTcpConfigurationPtrOutput) ToConnectionMonitorTcpConfigurationPtrOutputWithContext(ctx context.Context) ConnectionMonitorTcpConfigurationPtrOutput {
+func (o ExpressRouteCircuitPeeringTypeArrayOutput) ToExpressRouteCircuitPeeringTypeArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringTypeArrayOutput {
return o
}
-func (o ConnectionMonitorTcpConfigurationPtrOutput) Elem() ConnectionMonitorTcpConfigurationOutput {
- return o.ApplyT(func(v *ConnectionMonitorTcpConfiguration) ConnectionMonitorTcpConfiguration {
- if v != nil {
- return *v
- }
- var ret ConnectionMonitorTcpConfiguration
- return ret
- }).(ConnectionMonitorTcpConfigurationOutput)
+func (o ExpressRouteCircuitPeeringTypeArrayOutput) Index(i pulumi.IntInput) ExpressRouteCircuitPeeringTypeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteCircuitPeeringType {
+ return vs[0].([]ExpressRouteCircuitPeeringType)[vs[1].(int)]
+ }).(ExpressRouteCircuitPeeringTypeOutput)
}
-// Destination port behavior.
-func (o ConnectionMonitorTcpConfigurationPtrOutput) DestinationPortBehavior() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorTcpConfiguration) *string {
- if v == nil {
- return nil
- }
- return v.DestinationPortBehavior
- }).(pulumi.StringPtrOutput)
+// Specifies the peering configuration.
+type ExpressRouteCircuitPeeringConfig struct {
+ // The communities of bgp peering. Specified for microsoft peering.
+ AdvertisedCommunities []string `pulumi:"advertisedCommunities"`
+ // The reference to AdvertisedPublicPrefixes.
+ AdvertisedPublicPrefixes []string `pulumi:"advertisedPublicPrefixes"`
+ // The CustomerASN of the peering.
+ CustomerASN *int `pulumi:"customerASN"`
+ // The legacy mode of the peering.
+ LegacyMode *int `pulumi:"legacyMode"`
+ // The RoutingRegistryName of the configuration.
+ RoutingRegistryName *string `pulumi:"routingRegistryName"`
}
-// Value indicating whether path evaluation with trace route should be disabled.
-func (o ConnectionMonitorTcpConfigurationPtrOutput) DisableTraceRoute() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorTcpConfiguration) *bool {
- if v == nil {
- return nil
- }
- return v.DisableTraceRoute
- }).(pulumi.BoolPtrOutput)
+// ExpressRouteCircuitPeeringConfigInput is an input type that accepts ExpressRouteCircuitPeeringConfigArgs and ExpressRouteCircuitPeeringConfigOutput values.
+// You can construct a concrete instance of `ExpressRouteCircuitPeeringConfigInput` via:
+//
+// ExpressRouteCircuitPeeringConfigArgs{...}
+type ExpressRouteCircuitPeeringConfigInput interface {
+ pulumi.Input
+
+ ToExpressRouteCircuitPeeringConfigOutput() ExpressRouteCircuitPeeringConfigOutput
+ ToExpressRouteCircuitPeeringConfigOutputWithContext(context.Context) ExpressRouteCircuitPeeringConfigOutput
}
-// The port to connect to.
-func (o ConnectionMonitorTcpConfigurationPtrOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorTcpConfiguration) *int {
- if v == nil {
- return nil
- }
- return v.Port
- }).(pulumi.IntPtrOutput)
+// Specifies the peering configuration.
+type ExpressRouteCircuitPeeringConfigArgs struct {
+ // The communities of bgp peering. Specified for microsoft peering.
+ AdvertisedCommunities pulumi.StringArrayInput `pulumi:"advertisedCommunities"`
+ // The reference to AdvertisedPublicPrefixes.
+ AdvertisedPublicPrefixes pulumi.StringArrayInput `pulumi:"advertisedPublicPrefixes"`
+ // The CustomerASN of the peering.
+ CustomerASN pulumi.IntPtrInput `pulumi:"customerASN"`
+ // The legacy mode of the peering.
+ LegacyMode pulumi.IntPtrInput `pulumi:"legacyMode"`
+ // The RoutingRegistryName of the configuration.
+ RoutingRegistryName pulumi.StringPtrInput `pulumi:"routingRegistryName"`
}
-// Describes the TCP configuration.
-type ConnectionMonitorTcpConfigurationResponse struct {
- // Destination port behavior.
- DestinationPortBehavior *string `pulumi:"destinationPortBehavior"`
- // Value indicating whether path evaluation with trace route should be disabled.
- DisableTraceRoute *bool `pulumi:"disableTraceRoute"`
- // The port to connect to.
- Port *int `pulumi:"port"`
+func (ExpressRouteCircuitPeeringConfigArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitPeeringConfig)(nil)).Elem()
}
-// Describes the TCP configuration.
-type ConnectionMonitorTcpConfigurationResponseOutput struct{ *pulumi.OutputState }
+func (i ExpressRouteCircuitPeeringConfigArgs) ToExpressRouteCircuitPeeringConfigOutput() ExpressRouteCircuitPeeringConfigOutput {
+ return i.ToExpressRouteCircuitPeeringConfigOutputWithContext(context.Background())
+}
-func (ConnectionMonitorTcpConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorTcpConfigurationResponse)(nil)).Elem()
+func (i ExpressRouteCircuitPeeringConfigArgs) ToExpressRouteCircuitPeeringConfigOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringConfigOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitPeeringConfigOutput)
}
-func (o ConnectionMonitorTcpConfigurationResponseOutput) ToConnectionMonitorTcpConfigurationResponseOutput() ConnectionMonitorTcpConfigurationResponseOutput {
+func (i ExpressRouteCircuitPeeringConfigArgs) ToExpressRouteCircuitPeeringConfigPtrOutput() ExpressRouteCircuitPeeringConfigPtrOutput {
+ return i.ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(context.Background())
+}
+
+func (i ExpressRouteCircuitPeeringConfigArgs) ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringConfigPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitPeeringConfigOutput).ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx)
+}
+
+// ExpressRouteCircuitPeeringConfigPtrInput is an input type that accepts ExpressRouteCircuitPeeringConfigArgs, ExpressRouteCircuitPeeringConfigPtr and ExpressRouteCircuitPeeringConfigPtrOutput values.
+// You can construct a concrete instance of `ExpressRouteCircuitPeeringConfigPtrInput` via:
+//
+// ExpressRouteCircuitPeeringConfigArgs{...}
+//
+// or:
+//
+// nil
+type ExpressRouteCircuitPeeringConfigPtrInput interface {
+ pulumi.Input
+
+ ToExpressRouteCircuitPeeringConfigPtrOutput() ExpressRouteCircuitPeeringConfigPtrOutput
+ ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(context.Context) ExpressRouteCircuitPeeringConfigPtrOutput
+}
+
+type expressRouteCircuitPeeringConfigPtrType ExpressRouteCircuitPeeringConfigArgs
+
+func ExpressRouteCircuitPeeringConfigPtr(v *ExpressRouteCircuitPeeringConfigArgs) ExpressRouteCircuitPeeringConfigPtrInput {
+ return (*expressRouteCircuitPeeringConfigPtrType)(v)
+}
+
+func (*expressRouteCircuitPeeringConfigPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteCircuitPeeringConfig)(nil)).Elem()
+}
+
+func (i *expressRouteCircuitPeeringConfigPtrType) ToExpressRouteCircuitPeeringConfigPtrOutput() ExpressRouteCircuitPeeringConfigPtrOutput {
+ return i.ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(context.Background())
+}
+
+func (i *expressRouteCircuitPeeringConfigPtrType) ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringConfigPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitPeeringConfigPtrOutput)
+}
+
+// Specifies the peering configuration.
+type ExpressRouteCircuitPeeringConfigOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteCircuitPeeringConfigOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitPeeringConfig)(nil)).Elem()
+}
+
+func (o ExpressRouteCircuitPeeringConfigOutput) ToExpressRouteCircuitPeeringConfigOutput() ExpressRouteCircuitPeeringConfigOutput {
return o
}
-func (o ConnectionMonitorTcpConfigurationResponseOutput) ToConnectionMonitorTcpConfigurationResponseOutputWithContext(ctx context.Context) ConnectionMonitorTcpConfigurationResponseOutput {
+func (o ExpressRouteCircuitPeeringConfigOutput) ToExpressRouteCircuitPeeringConfigOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringConfigOutput {
return o
}
-// Destination port behavior.
-func (o ConnectionMonitorTcpConfigurationResponseOutput) DestinationPortBehavior() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTcpConfigurationResponse) *string { return v.DestinationPortBehavior }).(pulumi.StringPtrOutput)
+func (o ExpressRouteCircuitPeeringConfigOutput) ToExpressRouteCircuitPeeringConfigPtrOutput() ExpressRouteCircuitPeeringConfigPtrOutput {
+ return o.ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(context.Background())
}
-// Value indicating whether path evaluation with trace route should be disabled.
-func (o ConnectionMonitorTcpConfigurationResponseOutput) DisableTraceRoute() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTcpConfigurationResponse) *bool { return v.DisableTraceRoute }).(pulumi.BoolPtrOutput)
+func (o ExpressRouteCircuitPeeringConfigOutput) ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringConfigPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ExpressRouteCircuitPeeringConfig) *ExpressRouteCircuitPeeringConfig {
+ return &v
+ }).(ExpressRouteCircuitPeeringConfigPtrOutput)
}
-// The port to connect to.
-func (o ConnectionMonitorTcpConfigurationResponseOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTcpConfigurationResponse) *int { return v.Port }).(pulumi.IntPtrOutput)
+// The communities of bgp peering. Specified for microsoft peering.
+func (o ExpressRouteCircuitPeeringConfigOutput) AdvertisedCommunities() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringConfig) []string { return v.AdvertisedCommunities }).(pulumi.StringArrayOutput)
}
-type ConnectionMonitorTcpConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
+// The reference to AdvertisedPublicPrefixes.
+func (o ExpressRouteCircuitPeeringConfigOutput) AdvertisedPublicPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringConfig) []string { return v.AdvertisedPublicPrefixes }).(pulumi.StringArrayOutput)
+}
-func (ConnectionMonitorTcpConfigurationResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorTcpConfigurationResponse)(nil)).Elem()
+// The CustomerASN of the peering.
+func (o ExpressRouteCircuitPeeringConfigOutput) CustomerASN() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringConfig) *int { return v.CustomerASN }).(pulumi.IntPtrOutput)
}
-func (o ConnectionMonitorTcpConfigurationResponsePtrOutput) ToConnectionMonitorTcpConfigurationResponsePtrOutput() ConnectionMonitorTcpConfigurationResponsePtrOutput {
+// The legacy mode of the peering.
+func (o ExpressRouteCircuitPeeringConfigOutput) LegacyMode() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringConfig) *int { return v.LegacyMode }).(pulumi.IntPtrOutput)
+}
+
+// The RoutingRegistryName of the configuration.
+func (o ExpressRouteCircuitPeeringConfigOutput) RoutingRegistryName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringConfig) *string { return v.RoutingRegistryName }).(pulumi.StringPtrOutput)
+}
+
+type ExpressRouteCircuitPeeringConfigPtrOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteCircuitPeeringConfigPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteCircuitPeeringConfig)(nil)).Elem()
+}
+
+func (o ExpressRouteCircuitPeeringConfigPtrOutput) ToExpressRouteCircuitPeeringConfigPtrOutput() ExpressRouteCircuitPeeringConfigPtrOutput {
return o
}
-func (o ConnectionMonitorTcpConfigurationResponsePtrOutput) ToConnectionMonitorTcpConfigurationResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorTcpConfigurationResponsePtrOutput {
+func (o ExpressRouteCircuitPeeringConfigPtrOutput) ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringConfigPtrOutput {
return o
}
-func (o ConnectionMonitorTcpConfigurationResponsePtrOutput) Elem() ConnectionMonitorTcpConfigurationResponseOutput {
- return o.ApplyT(func(v *ConnectionMonitorTcpConfigurationResponse) ConnectionMonitorTcpConfigurationResponse {
+func (o ExpressRouteCircuitPeeringConfigPtrOutput) Elem() ExpressRouteCircuitPeeringConfigOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfig) ExpressRouteCircuitPeeringConfig {
if v != nil {
return *v
}
- var ret ConnectionMonitorTcpConfigurationResponse
+ var ret ExpressRouteCircuitPeeringConfig
return ret
- }).(ConnectionMonitorTcpConfigurationResponseOutput)
+ }).(ExpressRouteCircuitPeeringConfigOutput)
}
-// Destination port behavior.
-func (o ConnectionMonitorTcpConfigurationResponsePtrOutput) DestinationPortBehavior() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorTcpConfigurationResponse) *string {
+// The communities of bgp peering. Specified for microsoft peering.
+func (o ExpressRouteCircuitPeeringConfigPtrOutput) AdvertisedCommunities() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfig) []string {
if v == nil {
return nil
}
- return v.DestinationPortBehavior
- }).(pulumi.StringPtrOutput)
+ return v.AdvertisedCommunities
+ }).(pulumi.StringArrayOutput)
}
-// Value indicating whether path evaluation with trace route should be disabled.
-func (o ConnectionMonitorTcpConfigurationResponsePtrOutput) DisableTraceRoute() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorTcpConfigurationResponse) *bool {
+// The reference to AdvertisedPublicPrefixes.
+func (o ExpressRouteCircuitPeeringConfigPtrOutput) AdvertisedPublicPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfig) []string {
if v == nil {
return nil
}
- return v.DisableTraceRoute
- }).(pulumi.BoolPtrOutput)
+ return v.AdvertisedPublicPrefixes
+ }).(pulumi.StringArrayOutput)
}
-// The port to connect to.
-func (o ConnectionMonitorTcpConfigurationResponsePtrOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorTcpConfigurationResponse) *int {
+// The CustomerASN of the peering.
+func (o ExpressRouteCircuitPeeringConfigPtrOutput) CustomerASN() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfig) *int {
if v == nil {
return nil
}
- return v.Port
+ return v.CustomerASN
}).(pulumi.IntPtrOutput)
}
-// Describes a connection monitor test configuration.
-type ConnectionMonitorTestConfiguration struct {
- // The parameters used to perform test evaluation over HTTP.
- HttpConfiguration *ConnectionMonitorHttpConfiguration `pulumi:"httpConfiguration"`
- // The parameters used to perform test evaluation over ICMP.
- IcmpConfiguration *ConnectionMonitorIcmpConfiguration `pulumi:"icmpConfiguration"`
- // The name of the connection monitor test configuration.
- Name string `pulumi:"name"`
- // The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters.
- PreferredIPVersion *string `pulumi:"preferredIPVersion"`
- // The protocol to use in test evaluation.
- Protocol string `pulumi:"protocol"`
- // The threshold for declaring a test successful.
- SuccessThreshold *ConnectionMonitorSuccessThreshold `pulumi:"successThreshold"`
- // The parameters used to perform test evaluation over TCP.
- TcpConfiguration *ConnectionMonitorTcpConfiguration `pulumi:"tcpConfiguration"`
- // The frequency of test evaluation, in seconds.
- TestFrequencySec *int `pulumi:"testFrequencySec"`
+// The legacy mode of the peering.
+func (o ExpressRouteCircuitPeeringConfigPtrOutput) LegacyMode() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfig) *int {
+ if v == nil {
+ return nil
+ }
+ return v.LegacyMode
+ }).(pulumi.IntPtrOutput)
}
-// ConnectionMonitorTestConfigurationInput is an input type that accepts ConnectionMonitorTestConfigurationArgs and ConnectionMonitorTestConfigurationOutput values.
-// You can construct a concrete instance of `ConnectionMonitorTestConfigurationInput` via:
-//
-// ConnectionMonitorTestConfigurationArgs{...}
-type ConnectionMonitorTestConfigurationInput interface {
- pulumi.Input
-
- ToConnectionMonitorTestConfigurationOutput() ConnectionMonitorTestConfigurationOutput
- ToConnectionMonitorTestConfigurationOutputWithContext(context.Context) ConnectionMonitorTestConfigurationOutput
+// The RoutingRegistryName of the configuration.
+func (o ExpressRouteCircuitPeeringConfigPtrOutput) RoutingRegistryName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfig) *string {
+ if v == nil {
+ return nil
+ }
+ return v.RoutingRegistryName
+ }).(pulumi.StringPtrOutput)
}
-// Describes a connection monitor test configuration.
-type ConnectionMonitorTestConfigurationArgs struct {
- // The parameters used to perform test evaluation over HTTP.
- HttpConfiguration ConnectionMonitorHttpConfigurationPtrInput `pulumi:"httpConfiguration"`
- // The parameters used to perform test evaluation over ICMP.
- IcmpConfiguration ConnectionMonitorIcmpConfigurationPtrInput `pulumi:"icmpConfiguration"`
- // The name of the connection monitor test configuration.
- Name pulumi.StringInput `pulumi:"name"`
- // The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters.
- PreferredIPVersion pulumi.StringPtrInput `pulumi:"preferredIPVersion"`
- // The protocol to use in test evaluation.
- Protocol pulumi.StringInput `pulumi:"protocol"`
- // The threshold for declaring a test successful.
- SuccessThreshold ConnectionMonitorSuccessThresholdPtrInput `pulumi:"successThreshold"`
- // The parameters used to perform test evaluation over TCP.
- TcpConfiguration ConnectionMonitorTcpConfigurationPtrInput `pulumi:"tcpConfiguration"`
- // The frequency of test evaluation, in seconds.
- TestFrequencySec pulumi.IntPtrInput `pulumi:"testFrequencySec"`
+// Specifies the peering configuration.
+type ExpressRouteCircuitPeeringConfigResponse struct {
+ // The communities of bgp peering. Specified for microsoft peering.
+ AdvertisedCommunities []string `pulumi:"advertisedCommunities"`
+ // The reference to AdvertisedPublicPrefixes.
+ AdvertisedPublicPrefixes []string `pulumi:"advertisedPublicPrefixes"`
+ // The advertised public prefix state of the Peering resource.
+ AdvertisedPublicPrefixesState string `pulumi:"advertisedPublicPrefixesState"`
+ // The CustomerASN of the peering.
+ CustomerASN *int `pulumi:"customerASN"`
+ // The legacy mode of the peering.
+ LegacyMode *int `pulumi:"legacyMode"`
+ // The RoutingRegistryName of the configuration.
+ RoutingRegistryName *string `pulumi:"routingRegistryName"`
}
-func (ConnectionMonitorTestConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorTestConfiguration)(nil)).Elem()
+// Specifies the peering configuration.
+type ExpressRouteCircuitPeeringConfigResponseOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteCircuitPeeringConfigResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitPeeringConfigResponse)(nil)).Elem()
}
-func (i ConnectionMonitorTestConfigurationArgs) ToConnectionMonitorTestConfigurationOutput() ConnectionMonitorTestConfigurationOutput {
- return i.ToConnectionMonitorTestConfigurationOutputWithContext(context.Background())
+func (o ExpressRouteCircuitPeeringConfigResponseOutput) ToExpressRouteCircuitPeeringConfigResponseOutput() ExpressRouteCircuitPeeringConfigResponseOutput {
+ return o
}
-func (i ConnectionMonitorTestConfigurationArgs) ToConnectionMonitorTestConfigurationOutputWithContext(ctx context.Context) ConnectionMonitorTestConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorTestConfigurationOutput)
+func (o ExpressRouteCircuitPeeringConfigResponseOutput) ToExpressRouteCircuitPeeringConfigResponseOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringConfigResponseOutput {
+ return o
}
-// ConnectionMonitorTestConfigurationArrayInput is an input type that accepts ConnectionMonitorTestConfigurationArray and ConnectionMonitorTestConfigurationArrayOutput values.
-// You can construct a concrete instance of `ConnectionMonitorTestConfigurationArrayInput` via:
-//
-// ConnectionMonitorTestConfigurationArray{ ConnectionMonitorTestConfigurationArgs{...} }
-type ConnectionMonitorTestConfigurationArrayInput interface {
- pulumi.Input
+// The communities of bgp peering. Specified for microsoft peering.
+func (o ExpressRouteCircuitPeeringConfigResponseOutput) AdvertisedCommunities() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringConfigResponse) []string { return v.AdvertisedCommunities }).(pulumi.StringArrayOutput)
+}
- ToConnectionMonitorTestConfigurationArrayOutput() ConnectionMonitorTestConfigurationArrayOutput
- ToConnectionMonitorTestConfigurationArrayOutputWithContext(context.Context) ConnectionMonitorTestConfigurationArrayOutput
+// The reference to AdvertisedPublicPrefixes.
+func (o ExpressRouteCircuitPeeringConfigResponseOutput) AdvertisedPublicPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringConfigResponse) []string { return v.AdvertisedPublicPrefixes }).(pulumi.StringArrayOutput)
}
-type ConnectionMonitorTestConfigurationArray []ConnectionMonitorTestConfigurationInput
+// The advertised public prefix state of the Peering resource.
+func (o ExpressRouteCircuitPeeringConfigResponseOutput) AdvertisedPublicPrefixesState() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringConfigResponse) string { return v.AdvertisedPublicPrefixesState }).(pulumi.StringOutput)
+}
-func (ConnectionMonitorTestConfigurationArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorTestConfiguration)(nil)).Elem()
+// The CustomerASN of the peering.
+func (o ExpressRouteCircuitPeeringConfigResponseOutput) CustomerASN() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringConfigResponse) *int { return v.CustomerASN }).(pulumi.IntPtrOutput)
}
-func (i ConnectionMonitorTestConfigurationArray) ToConnectionMonitorTestConfigurationArrayOutput() ConnectionMonitorTestConfigurationArrayOutput {
- return i.ToConnectionMonitorTestConfigurationArrayOutputWithContext(context.Background())
+// The legacy mode of the peering.
+func (o ExpressRouteCircuitPeeringConfigResponseOutput) LegacyMode() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringConfigResponse) *int { return v.LegacyMode }).(pulumi.IntPtrOutput)
}
-func (i ConnectionMonitorTestConfigurationArray) ToConnectionMonitorTestConfigurationArrayOutputWithContext(ctx context.Context) ConnectionMonitorTestConfigurationArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorTestConfigurationArrayOutput)
+// The RoutingRegistryName of the configuration.
+func (o ExpressRouteCircuitPeeringConfigResponseOutput) RoutingRegistryName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringConfigResponse) *string { return v.RoutingRegistryName }).(pulumi.StringPtrOutput)
}
-// Describes a connection monitor test configuration.
-type ConnectionMonitorTestConfigurationOutput struct{ *pulumi.OutputState }
+type ExpressRouteCircuitPeeringConfigResponsePtrOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorTestConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorTestConfiguration)(nil)).Elem()
+func (ExpressRouteCircuitPeeringConfigResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteCircuitPeeringConfigResponse)(nil)).Elem()
}
-func (o ConnectionMonitorTestConfigurationOutput) ToConnectionMonitorTestConfigurationOutput() ConnectionMonitorTestConfigurationOutput {
+func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) ToExpressRouteCircuitPeeringConfigResponsePtrOutput() ExpressRouteCircuitPeeringConfigResponsePtrOutput {
return o
}
-func (o ConnectionMonitorTestConfigurationOutput) ToConnectionMonitorTestConfigurationOutputWithContext(ctx context.Context) ConnectionMonitorTestConfigurationOutput {
+func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) ToExpressRouteCircuitPeeringConfigResponsePtrOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringConfigResponsePtrOutput {
return o
}
-// The parameters used to perform test evaluation over HTTP.
-func (o ConnectionMonitorTestConfigurationOutput) HttpConfiguration() ConnectionMonitorHttpConfigurationPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTestConfiguration) *ConnectionMonitorHttpConfiguration {
- return v.HttpConfiguration
- }).(ConnectionMonitorHttpConfigurationPtrOutput)
+func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) Elem() ExpressRouteCircuitPeeringConfigResponseOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfigResponse) ExpressRouteCircuitPeeringConfigResponse {
+ if v != nil {
+ return *v
+ }
+ var ret ExpressRouteCircuitPeeringConfigResponse
+ return ret
+ }).(ExpressRouteCircuitPeeringConfigResponseOutput)
}
-// The parameters used to perform test evaluation over ICMP.
-func (o ConnectionMonitorTestConfigurationOutput) IcmpConfiguration() ConnectionMonitorIcmpConfigurationPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTestConfiguration) *ConnectionMonitorIcmpConfiguration {
- return v.IcmpConfiguration
- }).(ConnectionMonitorIcmpConfigurationPtrOutput)
+// The communities of bgp peering. Specified for microsoft peering.
+func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) AdvertisedCommunities() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfigResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.AdvertisedCommunities
+ }).(pulumi.StringArrayOutput)
}
-// The name of the connection monitor test configuration.
-func (o ConnectionMonitorTestConfigurationOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v ConnectionMonitorTestConfiguration) string { return v.Name }).(pulumi.StringOutput)
+// The reference to AdvertisedPublicPrefixes.
+func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) AdvertisedPublicPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfigResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.AdvertisedPublicPrefixes
+ }).(pulumi.StringArrayOutput)
}
-// The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters.
-func (o ConnectionMonitorTestConfigurationOutput) PreferredIPVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTestConfiguration) *string { return v.PreferredIPVersion }).(pulumi.StringPtrOutput)
+// The advertised public prefix state of the Peering resource.
+func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) AdvertisedPublicPrefixesState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfigResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.AdvertisedPublicPrefixesState
+ }).(pulumi.StringPtrOutput)
}
-// The protocol to use in test evaluation.
-func (o ConnectionMonitorTestConfigurationOutput) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v ConnectionMonitorTestConfiguration) string { return v.Protocol }).(pulumi.StringOutput)
+// The CustomerASN of the peering.
+func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) CustomerASN() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfigResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.CustomerASN
+ }).(pulumi.IntPtrOutput)
}
-// The threshold for declaring a test successful.
-func (o ConnectionMonitorTestConfigurationOutput) SuccessThreshold() ConnectionMonitorSuccessThresholdPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTestConfiguration) *ConnectionMonitorSuccessThreshold {
- return v.SuccessThreshold
- }).(ConnectionMonitorSuccessThresholdPtrOutput)
+// The legacy mode of the peering.
+func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) LegacyMode() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfigResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.LegacyMode
+ }).(pulumi.IntPtrOutput)
}
-// The parameters used to perform test evaluation over TCP.
-func (o ConnectionMonitorTestConfigurationOutput) TcpConfiguration() ConnectionMonitorTcpConfigurationPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTestConfiguration) *ConnectionMonitorTcpConfiguration {
- return v.TcpConfiguration
- }).(ConnectionMonitorTcpConfigurationPtrOutput)
+// The RoutingRegistryName of the configuration.
+func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) RoutingRegistryName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfigResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.RoutingRegistryName
+ }).(pulumi.StringPtrOutput)
}
-// The frequency of test evaluation, in seconds.
-func (o ConnectionMonitorTestConfigurationOutput) TestFrequencySec() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTestConfiguration) *int { return v.TestFrequencySec }).(pulumi.IntPtrOutput)
+// ExpressRoute circuit peering identifier.
+type ExpressRouteCircuitPeeringId struct {
+ // The ID of the ExpressRoute circuit peering.
+ Id *string `pulumi:"id"`
}
-type ConnectionMonitorTestConfigurationArrayOutput struct{ *pulumi.OutputState }
+// ExpressRouteCircuitPeeringIdInput is an input type that accepts ExpressRouteCircuitPeeringIdArgs and ExpressRouteCircuitPeeringIdOutput values.
+// You can construct a concrete instance of `ExpressRouteCircuitPeeringIdInput` via:
+//
+// ExpressRouteCircuitPeeringIdArgs{...}
+type ExpressRouteCircuitPeeringIdInput interface {
+ pulumi.Input
-func (ConnectionMonitorTestConfigurationArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorTestConfiguration)(nil)).Elem()
+ ToExpressRouteCircuitPeeringIdOutput() ExpressRouteCircuitPeeringIdOutput
+ ToExpressRouteCircuitPeeringIdOutputWithContext(context.Context) ExpressRouteCircuitPeeringIdOutput
}
-func (o ConnectionMonitorTestConfigurationArrayOutput) ToConnectionMonitorTestConfigurationArrayOutput() ConnectionMonitorTestConfigurationArrayOutput {
- return o
+// ExpressRoute circuit peering identifier.
+type ExpressRouteCircuitPeeringIdArgs struct {
+ // The ID of the ExpressRoute circuit peering.
+ Id pulumi.StringPtrInput `pulumi:"id"`
}
-func (o ConnectionMonitorTestConfigurationArrayOutput) ToConnectionMonitorTestConfigurationArrayOutputWithContext(ctx context.Context) ConnectionMonitorTestConfigurationArrayOutput {
- return o
+func (ExpressRouteCircuitPeeringIdArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitPeeringId)(nil)).Elem()
}
-func (o ConnectionMonitorTestConfigurationArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorTestConfigurationOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorTestConfiguration {
- return vs[0].([]ConnectionMonitorTestConfiguration)[vs[1].(int)]
- }).(ConnectionMonitorTestConfigurationOutput)
+func (i ExpressRouteCircuitPeeringIdArgs) ToExpressRouteCircuitPeeringIdOutput() ExpressRouteCircuitPeeringIdOutput {
+ return i.ToExpressRouteCircuitPeeringIdOutputWithContext(context.Background())
}
-// Describes a connection monitor test configuration.
-type ConnectionMonitorTestConfigurationResponse struct {
- // The parameters used to perform test evaluation over HTTP.
- HttpConfiguration *ConnectionMonitorHttpConfigurationResponse `pulumi:"httpConfiguration"`
- // The parameters used to perform test evaluation over ICMP.
- IcmpConfiguration *ConnectionMonitorIcmpConfigurationResponse `pulumi:"icmpConfiguration"`
- // The name of the connection monitor test configuration.
- Name string `pulumi:"name"`
- // The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters.
- PreferredIPVersion *string `pulumi:"preferredIPVersion"`
- // The protocol to use in test evaluation.
- Protocol string `pulumi:"protocol"`
- // The threshold for declaring a test successful.
- SuccessThreshold *ConnectionMonitorSuccessThresholdResponse `pulumi:"successThreshold"`
- // The parameters used to perform test evaluation over TCP.
- TcpConfiguration *ConnectionMonitorTcpConfigurationResponse `pulumi:"tcpConfiguration"`
- // The frequency of test evaluation, in seconds.
- TestFrequencySec *int `pulumi:"testFrequencySec"`
+func (i ExpressRouteCircuitPeeringIdArgs) ToExpressRouteCircuitPeeringIdOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringIdOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitPeeringIdOutput)
}
-// Describes a connection monitor test configuration.
-type ConnectionMonitorTestConfigurationResponseOutput struct{ *pulumi.OutputState }
+// ExpressRoute circuit peering identifier.
+type ExpressRouteCircuitPeeringIdOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorTestConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorTestConfigurationResponse)(nil)).Elem()
+func (ExpressRouteCircuitPeeringIdOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitPeeringId)(nil)).Elem()
}
-func (o ConnectionMonitorTestConfigurationResponseOutput) ToConnectionMonitorTestConfigurationResponseOutput() ConnectionMonitorTestConfigurationResponseOutput {
+func (o ExpressRouteCircuitPeeringIdOutput) ToExpressRouteCircuitPeeringIdOutput() ExpressRouteCircuitPeeringIdOutput {
return o
}
-func (o ConnectionMonitorTestConfigurationResponseOutput) ToConnectionMonitorTestConfigurationResponseOutputWithContext(ctx context.Context) ConnectionMonitorTestConfigurationResponseOutput {
+func (o ExpressRouteCircuitPeeringIdOutput) ToExpressRouteCircuitPeeringIdOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringIdOutput {
return o
}
-// The parameters used to perform test evaluation over HTTP.
-func (o ConnectionMonitorTestConfigurationResponseOutput) HttpConfiguration() ConnectionMonitorHttpConfigurationResponsePtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTestConfigurationResponse) *ConnectionMonitorHttpConfigurationResponse {
- return v.HttpConfiguration
- }).(ConnectionMonitorHttpConfigurationResponsePtrOutput)
+// The ID of the ExpressRoute circuit peering.
+func (o ExpressRouteCircuitPeeringIdOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringId) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The parameters used to perform test evaluation over ICMP.
-func (o ConnectionMonitorTestConfigurationResponseOutput) IcmpConfiguration() ConnectionMonitorIcmpConfigurationResponsePtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTestConfigurationResponse) *ConnectionMonitorIcmpConfigurationResponse {
- return v.IcmpConfiguration
- }).(ConnectionMonitorIcmpConfigurationResponsePtrOutput)
+// ExpressRoute circuit peering identifier.
+type ExpressRouteCircuitPeeringIdResponse struct {
+ // The ID of the ExpressRoute circuit peering.
+ Id *string `pulumi:"id"`
}
-// The name of the connection monitor test configuration.
-func (o ConnectionMonitorTestConfigurationResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v ConnectionMonitorTestConfigurationResponse) string { return v.Name }).(pulumi.StringOutput)
-}
+// ExpressRoute circuit peering identifier.
+type ExpressRouteCircuitPeeringIdResponseOutput struct{ *pulumi.OutputState }
-// The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters.
-func (o ConnectionMonitorTestConfigurationResponseOutput) PreferredIPVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTestConfigurationResponse) *string { return v.PreferredIPVersion }).(pulumi.StringPtrOutput)
+func (ExpressRouteCircuitPeeringIdResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitPeeringIdResponse)(nil)).Elem()
}
-// The protocol to use in test evaluation.
-func (o ConnectionMonitorTestConfigurationResponseOutput) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v ConnectionMonitorTestConfigurationResponse) string { return v.Protocol }).(pulumi.StringOutput)
+func (o ExpressRouteCircuitPeeringIdResponseOutput) ToExpressRouteCircuitPeeringIdResponseOutput() ExpressRouteCircuitPeeringIdResponseOutput {
+ return o
}
-// The threshold for declaring a test successful.
-func (o ConnectionMonitorTestConfigurationResponseOutput) SuccessThreshold() ConnectionMonitorSuccessThresholdResponsePtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTestConfigurationResponse) *ConnectionMonitorSuccessThresholdResponse {
- return v.SuccessThreshold
- }).(ConnectionMonitorSuccessThresholdResponsePtrOutput)
+func (o ExpressRouteCircuitPeeringIdResponseOutput) ToExpressRouteCircuitPeeringIdResponseOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringIdResponseOutput {
+ return o
}
-// The parameters used to perform test evaluation over TCP.
-func (o ConnectionMonitorTestConfigurationResponseOutput) TcpConfiguration() ConnectionMonitorTcpConfigurationResponsePtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTestConfigurationResponse) *ConnectionMonitorTcpConfigurationResponse {
- return v.TcpConfiguration
- }).(ConnectionMonitorTcpConfigurationResponsePtrOutput)
+// The ID of the ExpressRoute circuit peering.
+func (o ExpressRouteCircuitPeeringIdResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringIdResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The frequency of test evaluation, in seconds.
-func (o ConnectionMonitorTestConfigurationResponseOutput) TestFrequencySec() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTestConfigurationResponse) *int { return v.TestFrequencySec }).(pulumi.IntPtrOutput)
+// Peering in an ExpressRouteCircuit resource.
+type ExpressRouteCircuitPeeringResponse struct {
+ // The Azure ASN.
+ AzureASN *int `pulumi:"azureASN"`
+ // The list of circuit connections associated with Azure Private Peering for this circuit.
+ Connections []ExpressRouteCircuitConnectionResponse `pulumi:"connections"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The ExpressRoute connection.
+ ExpressRouteConnection *ExpressRouteConnectionIdResponse `pulumi:"expressRouteConnection"`
+ // The GatewayManager Etag.
+ GatewayManagerEtag *string `pulumi:"gatewayManagerEtag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The IPv6 peering configuration.
+ Ipv6PeeringConfig *Ipv6ExpressRouteCircuitPeeringConfigResponse `pulumi:"ipv6PeeringConfig"`
+ // Who was the last to modify the peering.
+ LastModifiedBy string `pulumi:"lastModifiedBy"`
+ // The Microsoft peering configuration.
+ MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfigResponse `pulumi:"microsoftPeeringConfig"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The peer ASN.
+ PeerASN *float64 `pulumi:"peerASN"`
+ // The list of peered circuit connections associated with Azure Private Peering for this circuit.
+ PeeredConnections []PeerExpressRouteCircuitConnectionResponse `pulumi:"peeredConnections"`
+ // The peering type.
+ PeeringType *string `pulumi:"peeringType"`
+ // The primary port.
+ PrimaryAzurePort *string `pulumi:"primaryAzurePort"`
+ // The primary address prefix.
+ PrimaryPeerAddressPrefix *string `pulumi:"primaryPeerAddressPrefix"`
+ // The provisioning state of the express route circuit peering resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The reference to the RouteFilter resource.
+ RouteFilter *SubResourceResponse `pulumi:"routeFilter"`
+ // The secondary port.
+ SecondaryAzurePort *string `pulumi:"secondaryAzurePort"`
+ // The secondary address prefix.
+ SecondaryPeerAddressPrefix *string `pulumi:"secondaryPeerAddressPrefix"`
+ // The shared key.
+ SharedKey *string `pulumi:"sharedKey"`
+ // The peering state.
+ State *string `pulumi:"state"`
+ // The peering stats of express route circuit.
+ Stats *ExpressRouteCircuitStatsResponse `pulumi:"stats"`
+ // Type of the resource.
+ Type string `pulumi:"type"`
+ // The VLAN ID.
+ VlanId *int `pulumi:"vlanId"`
}
-type ConnectionMonitorTestConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+// Peering in an ExpressRouteCircuit resource.
+type ExpressRouteCircuitPeeringResponseOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorTestConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorTestConfigurationResponse)(nil)).Elem()
+func (ExpressRouteCircuitPeeringResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitPeeringResponse)(nil)).Elem()
}
-func (o ConnectionMonitorTestConfigurationResponseArrayOutput) ToConnectionMonitorTestConfigurationResponseArrayOutput() ConnectionMonitorTestConfigurationResponseArrayOutput {
+func (o ExpressRouteCircuitPeeringResponseOutput) ToExpressRouteCircuitPeeringResponseOutput() ExpressRouteCircuitPeeringResponseOutput {
return o
}
-func (o ConnectionMonitorTestConfigurationResponseArrayOutput) ToConnectionMonitorTestConfigurationResponseArrayOutputWithContext(ctx context.Context) ConnectionMonitorTestConfigurationResponseArrayOutput {
+func (o ExpressRouteCircuitPeeringResponseOutput) ToExpressRouteCircuitPeeringResponseOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringResponseOutput {
return o
}
-func (o ConnectionMonitorTestConfigurationResponseArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorTestConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorTestConfigurationResponse {
- return vs[0].([]ConnectionMonitorTestConfigurationResponse)[vs[1].(int)]
- }).(ConnectionMonitorTestConfigurationResponseOutput)
+// The Azure ASN.
+func (o ExpressRouteCircuitPeeringResponseOutput) AzureASN() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *int { return v.AzureASN }).(pulumi.IntPtrOutput)
}
-// Describes the connection monitor test group.
-type ConnectionMonitorTestGroup struct {
- // List of destination endpoint names.
- Destinations []string `pulumi:"destinations"`
- // Value indicating whether test group is disabled.
- Disable *bool `pulumi:"disable"`
- // The name of the connection monitor test group.
- Name string `pulumi:"name"`
- // List of source endpoint names.
- Sources []string `pulumi:"sources"`
- // List of test configuration names.
- TestConfigurations []string `pulumi:"testConfigurations"`
+// The list of circuit connections associated with Azure Private Peering for this circuit.
+func (o ExpressRouteCircuitPeeringResponseOutput) Connections() ExpressRouteCircuitConnectionResponseArrayOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) []ExpressRouteCircuitConnectionResponse {
+ return v.Connections
+ }).(ExpressRouteCircuitConnectionResponseArrayOutput)
}
-// ConnectionMonitorTestGroupInput is an input type that accepts ConnectionMonitorTestGroupArgs and ConnectionMonitorTestGroupOutput values.
-// You can construct a concrete instance of `ConnectionMonitorTestGroupInput` via:
-//
-// ConnectionMonitorTestGroupArgs{...}
-type ConnectionMonitorTestGroupInput interface {
- pulumi.Input
-
- ToConnectionMonitorTestGroupOutput() ConnectionMonitorTestGroupOutput
- ToConnectionMonitorTestGroupOutputWithContext(context.Context) ConnectionMonitorTestGroupOutput
+// A unique read-only string that changes whenever the resource is updated.
+func (o ExpressRouteCircuitPeeringResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Describes the connection monitor test group.
-type ConnectionMonitorTestGroupArgs struct {
- // List of destination endpoint names.
- Destinations pulumi.StringArrayInput `pulumi:"destinations"`
- // Value indicating whether test group is disabled.
- Disable pulumi.BoolPtrInput `pulumi:"disable"`
- // The name of the connection monitor test group.
- Name pulumi.StringInput `pulumi:"name"`
- // List of source endpoint names.
- Sources pulumi.StringArrayInput `pulumi:"sources"`
- // List of test configuration names.
- TestConfigurations pulumi.StringArrayInput `pulumi:"testConfigurations"`
+// The ExpressRoute connection.
+func (o ExpressRouteCircuitPeeringResponseOutput) ExpressRouteConnection() ExpressRouteConnectionIdResponsePtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *ExpressRouteConnectionIdResponse {
+ return v.ExpressRouteConnection
+ }).(ExpressRouteConnectionIdResponsePtrOutput)
}
-func (ConnectionMonitorTestGroupArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorTestGroup)(nil)).Elem()
+// The GatewayManager Etag.
+func (o ExpressRouteCircuitPeeringResponseOutput) GatewayManagerEtag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.GatewayManagerEtag }).(pulumi.StringPtrOutput)
}
-func (i ConnectionMonitorTestGroupArgs) ToConnectionMonitorTestGroupOutput() ConnectionMonitorTestGroupOutput {
- return i.ToConnectionMonitorTestGroupOutputWithContext(context.Background())
+// Resource ID.
+func (o ExpressRouteCircuitPeeringResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (i ConnectionMonitorTestGroupArgs) ToConnectionMonitorTestGroupOutputWithContext(ctx context.Context) ConnectionMonitorTestGroupOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorTestGroupOutput)
+// The IPv6 peering configuration.
+func (o ExpressRouteCircuitPeeringResponseOutput) Ipv6PeeringConfig() Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *Ipv6ExpressRouteCircuitPeeringConfigResponse {
+ return v.Ipv6PeeringConfig
+ }).(Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput)
}
-// ConnectionMonitorTestGroupArrayInput is an input type that accepts ConnectionMonitorTestGroupArray and ConnectionMonitorTestGroupArrayOutput values.
-// You can construct a concrete instance of `ConnectionMonitorTestGroupArrayInput` via:
-//
-// ConnectionMonitorTestGroupArray{ ConnectionMonitorTestGroupArgs{...} }
-type ConnectionMonitorTestGroupArrayInput interface {
- pulumi.Input
-
- ToConnectionMonitorTestGroupArrayOutput() ConnectionMonitorTestGroupArrayOutput
- ToConnectionMonitorTestGroupArrayOutputWithContext(context.Context) ConnectionMonitorTestGroupArrayOutput
+// Who was the last to modify the peering.
+func (o ExpressRouteCircuitPeeringResponseOutput) LastModifiedBy() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) string { return v.LastModifiedBy }).(pulumi.StringOutput)
}
-type ConnectionMonitorTestGroupArray []ConnectionMonitorTestGroupInput
-
-func (ConnectionMonitorTestGroupArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorTestGroup)(nil)).Elem()
+// The Microsoft peering configuration.
+func (o ExpressRouteCircuitPeeringResponseOutput) MicrosoftPeeringConfig() ExpressRouteCircuitPeeringConfigResponsePtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *ExpressRouteCircuitPeeringConfigResponse {
+ return v.MicrosoftPeeringConfig
+ }).(ExpressRouteCircuitPeeringConfigResponsePtrOutput)
}
-func (i ConnectionMonitorTestGroupArray) ToConnectionMonitorTestGroupArrayOutput() ConnectionMonitorTestGroupArrayOutput {
- return i.ToConnectionMonitorTestGroupArrayOutputWithContext(context.Background())
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o ExpressRouteCircuitPeeringResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (i ConnectionMonitorTestGroupArray) ToConnectionMonitorTestGroupArrayOutputWithContext(ctx context.Context) ConnectionMonitorTestGroupArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorTestGroupArrayOutput)
+// The peer ASN.
+func (o ExpressRouteCircuitPeeringResponseOutput) PeerASN() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *float64 { return v.PeerASN }).(pulumi.Float64PtrOutput)
}
-// Describes the connection monitor test group.
-type ConnectionMonitorTestGroupOutput struct{ *pulumi.OutputState }
+// The list of peered circuit connections associated with Azure Private Peering for this circuit.
+func (o ExpressRouteCircuitPeeringResponseOutput) PeeredConnections() PeerExpressRouteCircuitConnectionResponseArrayOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) []PeerExpressRouteCircuitConnectionResponse {
+ return v.PeeredConnections
+ }).(PeerExpressRouteCircuitConnectionResponseArrayOutput)
+}
-func (ConnectionMonitorTestGroupOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorTestGroup)(nil)).Elem()
+// The peering type.
+func (o ExpressRouteCircuitPeeringResponseOutput) PeeringType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.PeeringType }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorTestGroupOutput) ToConnectionMonitorTestGroupOutput() ConnectionMonitorTestGroupOutput {
- return o
-}
-
-func (o ConnectionMonitorTestGroupOutput) ToConnectionMonitorTestGroupOutputWithContext(ctx context.Context) ConnectionMonitorTestGroupOutput {
- return o
-}
-
-// List of destination endpoint names.
-func (o ConnectionMonitorTestGroupOutput) Destinations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ConnectionMonitorTestGroup) []string { return v.Destinations }).(pulumi.StringArrayOutput)
-}
-
-// Value indicating whether test group is disabled.
-func (o ConnectionMonitorTestGroupOutput) Disable() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTestGroup) *bool { return v.Disable }).(pulumi.BoolPtrOutput)
-}
-
-// The name of the connection monitor test group.
-func (o ConnectionMonitorTestGroupOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v ConnectionMonitorTestGroup) string { return v.Name }).(pulumi.StringOutput)
-}
-
-// List of source endpoint names.
-func (o ConnectionMonitorTestGroupOutput) Sources() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ConnectionMonitorTestGroup) []string { return v.Sources }).(pulumi.StringArrayOutput)
-}
-
-// List of test configuration names.
-func (o ConnectionMonitorTestGroupOutput) TestConfigurations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ConnectionMonitorTestGroup) []string { return v.TestConfigurations }).(pulumi.StringArrayOutput)
-}
-
-type ConnectionMonitorTestGroupArrayOutput struct{ *pulumi.OutputState }
-
-func (ConnectionMonitorTestGroupArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorTestGroup)(nil)).Elem()
-}
-
-func (o ConnectionMonitorTestGroupArrayOutput) ToConnectionMonitorTestGroupArrayOutput() ConnectionMonitorTestGroupArrayOutput {
- return o
-}
-
-func (o ConnectionMonitorTestGroupArrayOutput) ToConnectionMonitorTestGroupArrayOutputWithContext(ctx context.Context) ConnectionMonitorTestGroupArrayOutput {
- return o
+// The primary port.
+func (o ExpressRouteCircuitPeeringResponseOutput) PrimaryAzurePort() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.PrimaryAzurePort }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorTestGroupArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorTestGroupOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorTestGroup {
- return vs[0].([]ConnectionMonitorTestGroup)[vs[1].(int)]
- }).(ConnectionMonitorTestGroupOutput)
+// The primary address prefix.
+func (o ExpressRouteCircuitPeeringResponseOutput) PrimaryPeerAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.PrimaryPeerAddressPrefix }).(pulumi.StringPtrOutput)
}
-// Describes the connection monitor test group.
-type ConnectionMonitorTestGroupResponse struct {
- // List of destination endpoint names.
- Destinations []string `pulumi:"destinations"`
- // Value indicating whether test group is disabled.
- Disable *bool `pulumi:"disable"`
- // The name of the connection monitor test group.
- Name string `pulumi:"name"`
- // List of source endpoint names.
- Sources []string `pulumi:"sources"`
- // List of test configuration names.
- TestConfigurations []string `pulumi:"testConfigurations"`
+// The provisioning state of the express route circuit peering resource.
+func (o ExpressRouteCircuitPeeringResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Describes the connection monitor test group.
-type ConnectionMonitorTestGroupResponseOutput struct{ *pulumi.OutputState }
-
-func (ConnectionMonitorTestGroupResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorTestGroupResponse)(nil)).Elem()
+// The reference to the RouteFilter resource.
+func (o ExpressRouteCircuitPeeringResponseOutput) RouteFilter() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *SubResourceResponse { return v.RouteFilter }).(SubResourceResponsePtrOutput)
}
-func (o ConnectionMonitorTestGroupResponseOutput) ToConnectionMonitorTestGroupResponseOutput() ConnectionMonitorTestGroupResponseOutput {
- return o
+// The secondary port.
+func (o ExpressRouteCircuitPeeringResponseOutput) SecondaryAzurePort() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.SecondaryAzurePort }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorTestGroupResponseOutput) ToConnectionMonitorTestGroupResponseOutputWithContext(ctx context.Context) ConnectionMonitorTestGroupResponseOutput {
- return o
+// The secondary address prefix.
+func (o ExpressRouteCircuitPeeringResponseOutput) SecondaryPeerAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.SecondaryPeerAddressPrefix }).(pulumi.StringPtrOutput)
}
-// List of destination endpoint names.
-func (o ConnectionMonitorTestGroupResponseOutput) Destinations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ConnectionMonitorTestGroupResponse) []string { return v.Destinations }).(pulumi.StringArrayOutput)
+// The shared key.
+func (o ExpressRouteCircuitPeeringResponseOutput) SharedKey() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.SharedKey }).(pulumi.StringPtrOutput)
}
-// Value indicating whether test group is disabled.
-func (o ConnectionMonitorTestGroupResponseOutput) Disable() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorTestGroupResponse) *bool { return v.Disable }).(pulumi.BoolPtrOutput)
+// The peering state.
+func (o ExpressRouteCircuitPeeringResponseOutput) State() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.State }).(pulumi.StringPtrOutput)
}
-// The name of the connection monitor test group.
-func (o ConnectionMonitorTestGroupResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v ConnectionMonitorTestGroupResponse) string { return v.Name }).(pulumi.StringOutput)
+// The peering stats of express route circuit.
+func (o ExpressRouteCircuitPeeringResponseOutput) Stats() ExpressRouteCircuitStatsResponsePtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *ExpressRouteCircuitStatsResponse { return v.Stats }).(ExpressRouteCircuitStatsResponsePtrOutput)
}
-// List of source endpoint names.
-func (o ConnectionMonitorTestGroupResponseOutput) Sources() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ConnectionMonitorTestGroupResponse) []string { return v.Sources }).(pulumi.StringArrayOutput)
+// Type of the resource.
+func (o ExpressRouteCircuitPeeringResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// List of test configuration names.
-func (o ConnectionMonitorTestGroupResponseOutput) TestConfigurations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ConnectionMonitorTestGroupResponse) []string { return v.TestConfigurations }).(pulumi.StringArrayOutput)
+// The VLAN ID.
+func (o ExpressRouteCircuitPeeringResponseOutput) VlanId() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *int { return v.VlanId }).(pulumi.IntPtrOutput)
}
-type ConnectionMonitorTestGroupResponseArrayOutput struct{ *pulumi.OutputState }
+type ExpressRouteCircuitPeeringResponseArrayOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorTestGroupResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectionMonitorTestGroupResponse)(nil)).Elem()
+func (ExpressRouteCircuitPeeringResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExpressRouteCircuitPeeringResponse)(nil)).Elem()
}
-func (o ConnectionMonitorTestGroupResponseArrayOutput) ToConnectionMonitorTestGroupResponseArrayOutput() ConnectionMonitorTestGroupResponseArrayOutput {
+func (o ExpressRouteCircuitPeeringResponseArrayOutput) ToExpressRouteCircuitPeeringResponseArrayOutput() ExpressRouteCircuitPeeringResponseArrayOutput {
return o
}
-func (o ConnectionMonitorTestGroupResponseArrayOutput) ToConnectionMonitorTestGroupResponseArrayOutputWithContext(ctx context.Context) ConnectionMonitorTestGroupResponseArrayOutput {
+func (o ExpressRouteCircuitPeeringResponseArrayOutput) ToExpressRouteCircuitPeeringResponseArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringResponseArrayOutput {
return o
}
-func (o ConnectionMonitorTestGroupResponseArrayOutput) Index(i pulumi.IntInput) ConnectionMonitorTestGroupResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionMonitorTestGroupResponse {
- return vs[0].([]ConnectionMonitorTestGroupResponse)[vs[1].(int)]
- }).(ConnectionMonitorTestGroupResponseOutput)
+func (o ExpressRouteCircuitPeeringResponseArrayOutput) Index(i pulumi.IntInput) ExpressRouteCircuitPeeringResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteCircuitPeeringResponse {
+ return vs[0].([]ExpressRouteCircuitPeeringResponse)[vs[1].(int)]
+ }).(ExpressRouteCircuitPeeringResponseOutput)
}
-// Describes the settings for producing output into a log analytics workspace.
-type ConnectionMonitorWorkspaceSettings struct {
- // Log analytics workspace resource ID.
- WorkspaceResourceId *string `pulumi:"workspaceResourceId"`
+// Contains ServiceProviderProperties in an ExpressRouteCircuit.
+type ExpressRouteCircuitServiceProviderProperties struct {
+ // The BandwidthInMbps.
+ BandwidthInMbps *int `pulumi:"bandwidthInMbps"`
+ // The peering location.
+ PeeringLocation *string `pulumi:"peeringLocation"`
+ // The serviceProviderName.
+ ServiceProviderName *string `pulumi:"serviceProviderName"`
}
-// ConnectionMonitorWorkspaceSettingsInput is an input type that accepts ConnectionMonitorWorkspaceSettingsArgs and ConnectionMonitorWorkspaceSettingsOutput values.
-// You can construct a concrete instance of `ConnectionMonitorWorkspaceSettingsInput` via:
+// ExpressRouteCircuitServiceProviderPropertiesInput is an input type that accepts ExpressRouteCircuitServiceProviderPropertiesArgs and ExpressRouteCircuitServiceProviderPropertiesOutput values.
+// You can construct a concrete instance of `ExpressRouteCircuitServiceProviderPropertiesInput` via:
//
-// ConnectionMonitorWorkspaceSettingsArgs{...}
-type ConnectionMonitorWorkspaceSettingsInput interface {
+// ExpressRouteCircuitServiceProviderPropertiesArgs{...}
+type ExpressRouteCircuitServiceProviderPropertiesInput interface {
pulumi.Input
- ToConnectionMonitorWorkspaceSettingsOutput() ConnectionMonitorWorkspaceSettingsOutput
- ToConnectionMonitorWorkspaceSettingsOutputWithContext(context.Context) ConnectionMonitorWorkspaceSettingsOutput
+ ToExpressRouteCircuitServiceProviderPropertiesOutput() ExpressRouteCircuitServiceProviderPropertiesOutput
+ ToExpressRouteCircuitServiceProviderPropertiesOutputWithContext(context.Context) ExpressRouteCircuitServiceProviderPropertiesOutput
}
-// Describes the settings for producing output into a log analytics workspace.
-type ConnectionMonitorWorkspaceSettingsArgs struct {
- // Log analytics workspace resource ID.
- WorkspaceResourceId pulumi.StringPtrInput `pulumi:"workspaceResourceId"`
+// Contains ServiceProviderProperties in an ExpressRouteCircuit.
+type ExpressRouteCircuitServiceProviderPropertiesArgs struct {
+ // The BandwidthInMbps.
+ BandwidthInMbps pulumi.IntPtrInput `pulumi:"bandwidthInMbps"`
+ // The peering location.
+ PeeringLocation pulumi.StringPtrInput `pulumi:"peeringLocation"`
+ // The serviceProviderName.
+ ServiceProviderName pulumi.StringPtrInput `pulumi:"serviceProviderName"`
}
-func (ConnectionMonitorWorkspaceSettingsArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorWorkspaceSettings)(nil)).Elem()
+func (ExpressRouteCircuitServiceProviderPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitServiceProviderProperties)(nil)).Elem()
}
-func (i ConnectionMonitorWorkspaceSettingsArgs) ToConnectionMonitorWorkspaceSettingsOutput() ConnectionMonitorWorkspaceSettingsOutput {
- return i.ToConnectionMonitorWorkspaceSettingsOutputWithContext(context.Background())
+func (i ExpressRouteCircuitServiceProviderPropertiesArgs) ToExpressRouteCircuitServiceProviderPropertiesOutput() ExpressRouteCircuitServiceProviderPropertiesOutput {
+ return i.ToExpressRouteCircuitServiceProviderPropertiesOutputWithContext(context.Background())
}
-func (i ConnectionMonitorWorkspaceSettingsArgs) ToConnectionMonitorWorkspaceSettingsOutputWithContext(ctx context.Context) ConnectionMonitorWorkspaceSettingsOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorWorkspaceSettingsOutput)
+func (i ExpressRouteCircuitServiceProviderPropertiesArgs) ToExpressRouteCircuitServiceProviderPropertiesOutputWithContext(ctx context.Context) ExpressRouteCircuitServiceProviderPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitServiceProviderPropertiesOutput)
}
-func (i ConnectionMonitorWorkspaceSettingsArgs) ToConnectionMonitorWorkspaceSettingsPtrOutput() ConnectionMonitorWorkspaceSettingsPtrOutput {
- return i.ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(context.Background())
+func (i ExpressRouteCircuitServiceProviderPropertiesArgs) ToExpressRouteCircuitServiceProviderPropertiesPtrOutput() ExpressRouteCircuitServiceProviderPropertiesPtrOutput {
+ return i.ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(context.Background())
}
-func (i ConnectionMonitorWorkspaceSettingsArgs) ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(ctx context.Context) ConnectionMonitorWorkspaceSettingsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorWorkspaceSettingsOutput).ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(ctx)
+func (i ExpressRouteCircuitServiceProviderPropertiesArgs) ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitServiceProviderPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitServiceProviderPropertiesOutput).ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(ctx)
}
-// ConnectionMonitorWorkspaceSettingsPtrInput is an input type that accepts ConnectionMonitorWorkspaceSettingsArgs, ConnectionMonitorWorkspaceSettingsPtr and ConnectionMonitorWorkspaceSettingsPtrOutput values.
-// You can construct a concrete instance of `ConnectionMonitorWorkspaceSettingsPtrInput` via:
+// ExpressRouteCircuitServiceProviderPropertiesPtrInput is an input type that accepts ExpressRouteCircuitServiceProviderPropertiesArgs, ExpressRouteCircuitServiceProviderPropertiesPtr and ExpressRouteCircuitServiceProviderPropertiesPtrOutput values.
+// You can construct a concrete instance of `ExpressRouteCircuitServiceProviderPropertiesPtrInput` via:
//
-// ConnectionMonitorWorkspaceSettingsArgs{...}
+// ExpressRouteCircuitServiceProviderPropertiesArgs{...}
//
// or:
//
// nil
-type ConnectionMonitorWorkspaceSettingsPtrInput interface {
+type ExpressRouteCircuitServiceProviderPropertiesPtrInput interface {
pulumi.Input
- ToConnectionMonitorWorkspaceSettingsPtrOutput() ConnectionMonitorWorkspaceSettingsPtrOutput
- ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(context.Context) ConnectionMonitorWorkspaceSettingsPtrOutput
+ ToExpressRouteCircuitServiceProviderPropertiesPtrOutput() ExpressRouteCircuitServiceProviderPropertiesPtrOutput
+ ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(context.Context) ExpressRouteCircuitServiceProviderPropertiesPtrOutput
}
-type connectionMonitorWorkspaceSettingsPtrType ConnectionMonitorWorkspaceSettingsArgs
+type expressRouteCircuitServiceProviderPropertiesPtrType ExpressRouteCircuitServiceProviderPropertiesArgs
-func ConnectionMonitorWorkspaceSettingsPtr(v *ConnectionMonitorWorkspaceSettingsArgs) ConnectionMonitorWorkspaceSettingsPtrInput {
- return (*connectionMonitorWorkspaceSettingsPtrType)(v)
+func ExpressRouteCircuitServiceProviderPropertiesPtr(v *ExpressRouteCircuitServiceProviderPropertiesArgs) ExpressRouteCircuitServiceProviderPropertiesPtrInput {
+ return (*expressRouteCircuitServiceProviderPropertiesPtrType)(v)
}
-func (*connectionMonitorWorkspaceSettingsPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorWorkspaceSettings)(nil)).Elem()
+func (*expressRouteCircuitServiceProviderPropertiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteCircuitServiceProviderProperties)(nil)).Elem()
}
-func (i *connectionMonitorWorkspaceSettingsPtrType) ToConnectionMonitorWorkspaceSettingsPtrOutput() ConnectionMonitorWorkspaceSettingsPtrOutput {
- return i.ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(context.Background())
+func (i *expressRouteCircuitServiceProviderPropertiesPtrType) ToExpressRouteCircuitServiceProviderPropertiesPtrOutput() ExpressRouteCircuitServiceProviderPropertiesPtrOutput {
+ return i.ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(context.Background())
}
-func (i *connectionMonitorWorkspaceSettingsPtrType) ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(ctx context.Context) ConnectionMonitorWorkspaceSettingsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionMonitorWorkspaceSettingsPtrOutput)
+func (i *expressRouteCircuitServiceProviderPropertiesPtrType) ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitServiceProviderPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitServiceProviderPropertiesPtrOutput)
}
-// Describes the settings for producing output into a log analytics workspace.
-type ConnectionMonitorWorkspaceSettingsOutput struct{ *pulumi.OutputState }
+// Contains ServiceProviderProperties in an ExpressRouteCircuit.
+type ExpressRouteCircuitServiceProviderPropertiesOutput struct{ *pulumi.OutputState }
-func (ConnectionMonitorWorkspaceSettingsOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorWorkspaceSettings)(nil)).Elem()
+func (ExpressRouteCircuitServiceProviderPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitServiceProviderProperties)(nil)).Elem()
}
-func (o ConnectionMonitorWorkspaceSettingsOutput) ToConnectionMonitorWorkspaceSettingsOutput() ConnectionMonitorWorkspaceSettingsOutput {
+func (o ExpressRouteCircuitServiceProviderPropertiesOutput) ToExpressRouteCircuitServiceProviderPropertiesOutput() ExpressRouteCircuitServiceProviderPropertiesOutput {
return o
}
-func (o ConnectionMonitorWorkspaceSettingsOutput) ToConnectionMonitorWorkspaceSettingsOutputWithContext(ctx context.Context) ConnectionMonitorWorkspaceSettingsOutput {
+func (o ExpressRouteCircuitServiceProviderPropertiesOutput) ToExpressRouteCircuitServiceProviderPropertiesOutputWithContext(ctx context.Context) ExpressRouteCircuitServiceProviderPropertiesOutput {
return o
}
-func (o ConnectionMonitorWorkspaceSettingsOutput) ToConnectionMonitorWorkspaceSettingsPtrOutput() ConnectionMonitorWorkspaceSettingsPtrOutput {
- return o.ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(context.Background())
+func (o ExpressRouteCircuitServiceProviderPropertiesOutput) ToExpressRouteCircuitServiceProviderPropertiesPtrOutput() ExpressRouteCircuitServiceProviderPropertiesPtrOutput {
+ return o.ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(context.Background())
}
-func (o ConnectionMonitorWorkspaceSettingsOutput) ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(ctx context.Context) ConnectionMonitorWorkspaceSettingsPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionMonitorWorkspaceSettings) *ConnectionMonitorWorkspaceSettings {
+func (o ExpressRouteCircuitServiceProviderPropertiesOutput) ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitServiceProviderPropertiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ExpressRouteCircuitServiceProviderProperties) *ExpressRouteCircuitServiceProviderProperties {
return &v
- }).(ConnectionMonitorWorkspaceSettingsPtrOutput)
+ }).(ExpressRouteCircuitServiceProviderPropertiesPtrOutput)
}
-// Log analytics workspace resource ID.
-func (o ConnectionMonitorWorkspaceSettingsOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorWorkspaceSettings) *string { return v.WorkspaceResourceId }).(pulumi.StringPtrOutput)
+// The BandwidthInMbps.
+func (o ExpressRouteCircuitServiceProviderPropertiesOutput) BandwidthInMbps() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitServiceProviderProperties) *int { return v.BandwidthInMbps }).(pulumi.IntPtrOutput)
}
-type ConnectionMonitorWorkspaceSettingsPtrOutput struct{ *pulumi.OutputState }
+// The peering location.
+func (o ExpressRouteCircuitServiceProviderPropertiesOutput) PeeringLocation() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitServiceProviderProperties) *string { return v.PeeringLocation }).(pulumi.StringPtrOutput)
+}
-func (ConnectionMonitorWorkspaceSettingsPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorWorkspaceSettings)(nil)).Elem()
+// The serviceProviderName.
+func (o ExpressRouteCircuitServiceProviderPropertiesOutput) ServiceProviderName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitServiceProviderProperties) *string { return v.ServiceProviderName }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorWorkspaceSettingsPtrOutput) ToConnectionMonitorWorkspaceSettingsPtrOutput() ConnectionMonitorWorkspaceSettingsPtrOutput {
+type ExpressRouteCircuitServiceProviderPropertiesPtrOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteCircuitServiceProviderPropertiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteCircuitServiceProviderProperties)(nil)).Elem()
+}
+
+func (o ExpressRouteCircuitServiceProviderPropertiesPtrOutput) ToExpressRouteCircuitServiceProviderPropertiesPtrOutput() ExpressRouteCircuitServiceProviderPropertiesPtrOutput {
return o
}
-func (o ConnectionMonitorWorkspaceSettingsPtrOutput) ToConnectionMonitorWorkspaceSettingsPtrOutputWithContext(ctx context.Context) ConnectionMonitorWorkspaceSettingsPtrOutput {
+func (o ExpressRouteCircuitServiceProviderPropertiesPtrOutput) ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitServiceProviderPropertiesPtrOutput {
return o
}
-func (o ConnectionMonitorWorkspaceSettingsPtrOutput) Elem() ConnectionMonitorWorkspaceSettingsOutput {
- return o.ApplyT(func(v *ConnectionMonitorWorkspaceSettings) ConnectionMonitorWorkspaceSettings {
+func (o ExpressRouteCircuitServiceProviderPropertiesPtrOutput) Elem() ExpressRouteCircuitServiceProviderPropertiesOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitServiceProviderProperties) ExpressRouteCircuitServiceProviderProperties {
if v != nil {
return *v
}
- var ret ConnectionMonitorWorkspaceSettings
+ var ret ExpressRouteCircuitServiceProviderProperties
return ret
- }).(ConnectionMonitorWorkspaceSettingsOutput)
+ }).(ExpressRouteCircuitServiceProviderPropertiesOutput)
}
-// Log analytics workspace resource ID.
-func (o ConnectionMonitorWorkspaceSettingsPtrOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorWorkspaceSettings) *string {
+// The BandwidthInMbps.
+func (o ExpressRouteCircuitServiceProviderPropertiesPtrOutput) BandwidthInMbps() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitServiceProviderProperties) *int {
if v == nil {
return nil
}
- return v.WorkspaceResourceId
+ return v.BandwidthInMbps
+ }).(pulumi.IntPtrOutput)
+}
+
+// The peering location.
+func (o ExpressRouteCircuitServiceProviderPropertiesPtrOutput) PeeringLocation() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitServiceProviderProperties) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PeeringLocation
}).(pulumi.StringPtrOutput)
}
-// Describes the settings for producing output into a log analytics workspace.
-type ConnectionMonitorWorkspaceSettingsResponse struct {
- // Log analytics workspace resource ID.
- WorkspaceResourceId *string `pulumi:"workspaceResourceId"`
+// The serviceProviderName.
+func (o ExpressRouteCircuitServiceProviderPropertiesPtrOutput) ServiceProviderName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitServiceProviderProperties) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceProviderName
+ }).(pulumi.StringPtrOutput)
}
-// Describes the settings for producing output into a log analytics workspace.
-type ConnectionMonitorWorkspaceSettingsResponseOutput struct{ *pulumi.OutputState }
+// Contains ServiceProviderProperties in an ExpressRouteCircuit.
+type ExpressRouteCircuitServiceProviderPropertiesResponse struct {
+ // The BandwidthInMbps.
+ BandwidthInMbps *int `pulumi:"bandwidthInMbps"`
+ // The peering location.
+ PeeringLocation *string `pulumi:"peeringLocation"`
+ // The serviceProviderName.
+ ServiceProviderName *string `pulumi:"serviceProviderName"`
+}
-func (ConnectionMonitorWorkspaceSettingsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionMonitorWorkspaceSettingsResponse)(nil)).Elem()
+// Contains ServiceProviderProperties in an ExpressRouteCircuit.
+type ExpressRouteCircuitServiceProviderPropertiesResponseOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteCircuitServiceProviderPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitServiceProviderPropertiesResponse)(nil)).Elem()
}
-func (o ConnectionMonitorWorkspaceSettingsResponseOutput) ToConnectionMonitorWorkspaceSettingsResponseOutput() ConnectionMonitorWorkspaceSettingsResponseOutput {
+func (o ExpressRouteCircuitServiceProviderPropertiesResponseOutput) ToExpressRouteCircuitServiceProviderPropertiesResponseOutput() ExpressRouteCircuitServiceProviderPropertiesResponseOutput {
return o
}
-func (o ConnectionMonitorWorkspaceSettingsResponseOutput) ToConnectionMonitorWorkspaceSettingsResponseOutputWithContext(ctx context.Context) ConnectionMonitorWorkspaceSettingsResponseOutput {
+func (o ExpressRouteCircuitServiceProviderPropertiesResponseOutput) ToExpressRouteCircuitServiceProviderPropertiesResponseOutputWithContext(ctx context.Context) ExpressRouteCircuitServiceProviderPropertiesResponseOutput {
return o
}
-// Log analytics workspace resource ID.
-func (o ConnectionMonitorWorkspaceSettingsResponseOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectionMonitorWorkspaceSettingsResponse) *string { return v.WorkspaceResourceId }).(pulumi.StringPtrOutput)
+// The BandwidthInMbps.
+func (o ExpressRouteCircuitServiceProviderPropertiesResponseOutput) BandwidthInMbps() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitServiceProviderPropertiesResponse) *int { return v.BandwidthInMbps }).(pulumi.IntPtrOutput)
}
-type ConnectionMonitorWorkspaceSettingsResponsePtrOutput struct{ *pulumi.OutputState }
+// The peering location.
+func (o ExpressRouteCircuitServiceProviderPropertiesResponseOutput) PeeringLocation() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitServiceProviderPropertiesResponse) *string { return v.PeeringLocation }).(pulumi.StringPtrOutput)
+}
-func (ConnectionMonitorWorkspaceSettingsResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionMonitorWorkspaceSettingsResponse)(nil)).Elem()
+// The serviceProviderName.
+func (o ExpressRouteCircuitServiceProviderPropertiesResponseOutput) ServiceProviderName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitServiceProviderPropertiesResponse) *string { return v.ServiceProviderName }).(pulumi.StringPtrOutput)
}
-func (o ConnectionMonitorWorkspaceSettingsResponsePtrOutput) ToConnectionMonitorWorkspaceSettingsResponsePtrOutput() ConnectionMonitorWorkspaceSettingsResponsePtrOutput {
+type ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteCircuitServiceProviderPropertiesResponse)(nil)).Elem()
+}
+
+func (o ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput) ToExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput() ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput {
return o
}
-func (o ConnectionMonitorWorkspaceSettingsResponsePtrOutput) ToConnectionMonitorWorkspaceSettingsResponsePtrOutputWithContext(ctx context.Context) ConnectionMonitorWorkspaceSettingsResponsePtrOutput {
+func (o ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput) ToExpressRouteCircuitServiceProviderPropertiesResponsePtrOutputWithContext(ctx context.Context) ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput {
return o
}
-func (o ConnectionMonitorWorkspaceSettingsResponsePtrOutput) Elem() ConnectionMonitorWorkspaceSettingsResponseOutput {
- return o.ApplyT(func(v *ConnectionMonitorWorkspaceSettingsResponse) ConnectionMonitorWorkspaceSettingsResponse {
+func (o ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput) Elem() ExpressRouteCircuitServiceProviderPropertiesResponseOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitServiceProviderPropertiesResponse) ExpressRouteCircuitServiceProviderPropertiesResponse {
if v != nil {
return *v
}
- var ret ConnectionMonitorWorkspaceSettingsResponse
+ var ret ExpressRouteCircuitServiceProviderPropertiesResponse
return ret
- }).(ConnectionMonitorWorkspaceSettingsResponseOutput)
+ }).(ExpressRouteCircuitServiceProviderPropertiesResponseOutput)
}
-// Log analytics workspace resource ID.
-func (o ConnectionMonitorWorkspaceSettingsResponsePtrOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ConnectionMonitorWorkspaceSettingsResponse) *string {
+// The BandwidthInMbps.
+func (o ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput) BandwidthInMbps() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitServiceProviderPropertiesResponse) *int {
if v == nil {
return nil
}
- return v.WorkspaceResourceId
+ return v.BandwidthInMbps
+ }).(pulumi.IntPtrOutput)
+}
+
+// The peering location.
+func (o ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput) PeeringLocation() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitServiceProviderPropertiesResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PeeringLocation
}).(pulumi.StringPtrOutput)
}
-// Properties of the ConnectionPolicy resource.
-type ConnectionPolicyProperties struct {
- // Enable internet security.
- EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
- // The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationType `pulumi:"routingConfiguration"`
+// The serviceProviderName.
+func (o ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput) ServiceProviderName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitServiceProviderPropertiesResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceProviderName
+ }).(pulumi.StringPtrOutput)
}
-// ConnectionPolicyPropertiesInput is an input type that accepts ConnectionPolicyPropertiesArgs and ConnectionPolicyPropertiesOutput values.
-// You can construct a concrete instance of `ConnectionPolicyPropertiesInput` via:
+// Contains SKU in an ExpressRouteCircuit.
+type ExpressRouteCircuitSku struct {
+ // The family of the SKU.
+ Family *string `pulumi:"family"`
+ // The name of the SKU.
+ Name *string `pulumi:"name"`
+ // The tier of the SKU.
+ Tier *string `pulumi:"tier"`
+}
+
+// ExpressRouteCircuitSkuInput is an input type that accepts ExpressRouteCircuitSkuArgs and ExpressRouteCircuitSkuOutput values.
+// You can construct a concrete instance of `ExpressRouteCircuitSkuInput` via:
//
-// ConnectionPolicyPropertiesArgs{...}
-type ConnectionPolicyPropertiesInput interface {
+// ExpressRouteCircuitSkuArgs{...}
+type ExpressRouteCircuitSkuInput interface {
pulumi.Input
- ToConnectionPolicyPropertiesOutput() ConnectionPolicyPropertiesOutput
- ToConnectionPolicyPropertiesOutputWithContext(context.Context) ConnectionPolicyPropertiesOutput
+ ToExpressRouteCircuitSkuOutput() ExpressRouteCircuitSkuOutput
+ ToExpressRouteCircuitSkuOutputWithContext(context.Context) ExpressRouteCircuitSkuOutput
}
-// Properties of the ConnectionPolicy resource.
-type ConnectionPolicyPropertiesArgs struct {
- // Enable internet security.
- EnableInternetSecurity pulumi.BoolPtrInput `pulumi:"enableInternetSecurity"`
- // The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration RoutingConfigurationTypePtrInput `pulumi:"routingConfiguration"`
+// Contains SKU in an ExpressRouteCircuit.
+type ExpressRouteCircuitSkuArgs struct {
+ // The family of the SKU.
+ Family pulumi.StringPtrInput `pulumi:"family"`
+ // The name of the SKU.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The tier of the SKU.
+ Tier pulumi.StringPtrInput `pulumi:"tier"`
}
-func (ConnectionPolicyPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionPolicyProperties)(nil)).Elem()
+func (ExpressRouteCircuitSkuArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitSku)(nil)).Elem()
}
-func (i ConnectionPolicyPropertiesArgs) ToConnectionPolicyPropertiesOutput() ConnectionPolicyPropertiesOutput {
- return i.ToConnectionPolicyPropertiesOutputWithContext(context.Background())
+func (i ExpressRouteCircuitSkuArgs) ToExpressRouteCircuitSkuOutput() ExpressRouteCircuitSkuOutput {
+ return i.ToExpressRouteCircuitSkuOutputWithContext(context.Background())
}
-func (i ConnectionPolicyPropertiesArgs) ToConnectionPolicyPropertiesOutputWithContext(ctx context.Context) ConnectionPolicyPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionPolicyPropertiesOutput)
+func (i ExpressRouteCircuitSkuArgs) ToExpressRouteCircuitSkuOutputWithContext(ctx context.Context) ExpressRouteCircuitSkuOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitSkuOutput)
}
-func (i ConnectionPolicyPropertiesArgs) ToConnectionPolicyPropertiesPtrOutput() ConnectionPolicyPropertiesPtrOutput {
- return i.ToConnectionPolicyPropertiesPtrOutputWithContext(context.Background())
+func (i ExpressRouteCircuitSkuArgs) ToExpressRouteCircuitSkuPtrOutput() ExpressRouteCircuitSkuPtrOutput {
+ return i.ToExpressRouteCircuitSkuPtrOutputWithContext(context.Background())
}
-func (i ConnectionPolicyPropertiesArgs) ToConnectionPolicyPropertiesPtrOutputWithContext(ctx context.Context) ConnectionPolicyPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionPolicyPropertiesOutput).ToConnectionPolicyPropertiesPtrOutputWithContext(ctx)
+func (i ExpressRouteCircuitSkuArgs) ToExpressRouteCircuitSkuPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitSkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitSkuOutput).ToExpressRouteCircuitSkuPtrOutputWithContext(ctx)
}
-// ConnectionPolicyPropertiesPtrInput is an input type that accepts ConnectionPolicyPropertiesArgs, ConnectionPolicyPropertiesPtr and ConnectionPolicyPropertiesPtrOutput values.
-// You can construct a concrete instance of `ConnectionPolicyPropertiesPtrInput` via:
+// ExpressRouteCircuitSkuPtrInput is an input type that accepts ExpressRouteCircuitSkuArgs, ExpressRouteCircuitSkuPtr and ExpressRouteCircuitSkuPtrOutput values.
+// You can construct a concrete instance of `ExpressRouteCircuitSkuPtrInput` via:
//
-// ConnectionPolicyPropertiesArgs{...}
+// ExpressRouteCircuitSkuArgs{...}
//
// or:
//
// nil
-type ConnectionPolicyPropertiesPtrInput interface {
+type ExpressRouteCircuitSkuPtrInput interface {
pulumi.Input
- ToConnectionPolicyPropertiesPtrOutput() ConnectionPolicyPropertiesPtrOutput
- ToConnectionPolicyPropertiesPtrOutputWithContext(context.Context) ConnectionPolicyPropertiesPtrOutput
+ ToExpressRouteCircuitSkuPtrOutput() ExpressRouteCircuitSkuPtrOutput
+ ToExpressRouteCircuitSkuPtrOutputWithContext(context.Context) ExpressRouteCircuitSkuPtrOutput
}
-type connectionPolicyPropertiesPtrType ConnectionPolicyPropertiesArgs
+type expressRouteCircuitSkuPtrType ExpressRouteCircuitSkuArgs
-func ConnectionPolicyPropertiesPtr(v *ConnectionPolicyPropertiesArgs) ConnectionPolicyPropertiesPtrInput {
- return (*connectionPolicyPropertiesPtrType)(v)
+func ExpressRouteCircuitSkuPtr(v *ExpressRouteCircuitSkuArgs) ExpressRouteCircuitSkuPtrInput {
+ return (*expressRouteCircuitSkuPtrType)(v)
}
-func (*connectionPolicyPropertiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionPolicyProperties)(nil)).Elem()
+func (*expressRouteCircuitSkuPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteCircuitSku)(nil)).Elem()
}
-func (i *connectionPolicyPropertiesPtrType) ToConnectionPolicyPropertiesPtrOutput() ConnectionPolicyPropertiesPtrOutput {
- return i.ToConnectionPolicyPropertiesPtrOutputWithContext(context.Background())
+func (i *expressRouteCircuitSkuPtrType) ToExpressRouteCircuitSkuPtrOutput() ExpressRouteCircuitSkuPtrOutput {
+ return i.ToExpressRouteCircuitSkuPtrOutputWithContext(context.Background())
}
-func (i *connectionPolicyPropertiesPtrType) ToConnectionPolicyPropertiesPtrOutputWithContext(ctx context.Context) ConnectionPolicyPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectionPolicyPropertiesPtrOutput)
+func (i *expressRouteCircuitSkuPtrType) ToExpressRouteCircuitSkuPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitSkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitSkuPtrOutput)
}
-// Properties of the ConnectionPolicy resource.
-type ConnectionPolicyPropertiesOutput struct{ *pulumi.OutputState }
+// Contains SKU in an ExpressRouteCircuit.
+type ExpressRouteCircuitSkuOutput struct{ *pulumi.OutputState }
-func (ConnectionPolicyPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionPolicyProperties)(nil)).Elem()
+func (ExpressRouteCircuitSkuOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitSku)(nil)).Elem()
}
-func (o ConnectionPolicyPropertiesOutput) ToConnectionPolicyPropertiesOutput() ConnectionPolicyPropertiesOutput {
+func (o ExpressRouteCircuitSkuOutput) ToExpressRouteCircuitSkuOutput() ExpressRouteCircuitSkuOutput {
return o
}
-func (o ConnectionPolicyPropertiesOutput) ToConnectionPolicyPropertiesOutputWithContext(ctx context.Context) ConnectionPolicyPropertiesOutput {
+func (o ExpressRouteCircuitSkuOutput) ToExpressRouteCircuitSkuOutputWithContext(ctx context.Context) ExpressRouteCircuitSkuOutput {
return o
}
-func (o ConnectionPolicyPropertiesOutput) ToConnectionPolicyPropertiesPtrOutput() ConnectionPolicyPropertiesPtrOutput {
- return o.ToConnectionPolicyPropertiesPtrOutputWithContext(context.Background())
+func (o ExpressRouteCircuitSkuOutput) ToExpressRouteCircuitSkuPtrOutput() ExpressRouteCircuitSkuPtrOutput {
+ return o.ToExpressRouteCircuitSkuPtrOutputWithContext(context.Background())
}
-func (o ConnectionPolicyPropertiesOutput) ToConnectionPolicyPropertiesPtrOutputWithContext(ctx context.Context) ConnectionPolicyPropertiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionPolicyProperties) *ConnectionPolicyProperties {
+func (o ExpressRouteCircuitSkuOutput) ToExpressRouteCircuitSkuPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitSkuPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ExpressRouteCircuitSku) *ExpressRouteCircuitSku {
return &v
- }).(ConnectionPolicyPropertiesPtrOutput)
+ }).(ExpressRouteCircuitSkuPtrOutput)
}
-// Enable internet security.
-func (o ConnectionPolicyPropertiesOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ConnectionPolicyProperties) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
+// The family of the SKU.
+func (o ExpressRouteCircuitSkuOutput) Family() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitSku) *string { return v.Family }).(pulumi.StringPtrOutput)
}
-// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o ConnectionPolicyPropertiesOutput) RoutingConfiguration() RoutingConfigurationTypePtrOutput {
- return o.ApplyT(func(v ConnectionPolicyProperties) *RoutingConfigurationType { return v.RoutingConfiguration }).(RoutingConfigurationTypePtrOutput)
+// The name of the SKU.
+func (o ExpressRouteCircuitSkuOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitSku) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-type ConnectionPolicyPropertiesPtrOutput struct{ *pulumi.OutputState }
+// The tier of the SKU.
+func (o ExpressRouteCircuitSkuOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitSku) *string { return v.Tier }).(pulumi.StringPtrOutput)
+}
-func (ConnectionPolicyPropertiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ConnectionPolicyProperties)(nil)).Elem()
+type ExpressRouteCircuitSkuPtrOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteCircuitSkuPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteCircuitSku)(nil)).Elem()
}
-func (o ConnectionPolicyPropertiesPtrOutput) ToConnectionPolicyPropertiesPtrOutput() ConnectionPolicyPropertiesPtrOutput {
+func (o ExpressRouteCircuitSkuPtrOutput) ToExpressRouteCircuitSkuPtrOutput() ExpressRouteCircuitSkuPtrOutput {
return o
}
-func (o ConnectionPolicyPropertiesPtrOutput) ToConnectionPolicyPropertiesPtrOutputWithContext(ctx context.Context) ConnectionPolicyPropertiesPtrOutput {
+func (o ExpressRouteCircuitSkuPtrOutput) ToExpressRouteCircuitSkuPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitSkuPtrOutput {
return o
}
-func (o ConnectionPolicyPropertiesPtrOutput) Elem() ConnectionPolicyPropertiesOutput {
- return o.ApplyT(func(v *ConnectionPolicyProperties) ConnectionPolicyProperties {
+func (o ExpressRouteCircuitSkuPtrOutput) Elem() ExpressRouteCircuitSkuOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitSku) ExpressRouteCircuitSku {
if v != nil {
return *v
}
- var ret ConnectionPolicyProperties
+ var ret ExpressRouteCircuitSku
return ret
- }).(ConnectionPolicyPropertiesOutput)
+ }).(ExpressRouteCircuitSkuOutput)
}
-// Enable internet security.
-func (o ConnectionPolicyPropertiesPtrOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *ConnectionPolicyProperties) *bool {
+// The family of the SKU.
+func (o ExpressRouteCircuitSkuPtrOutput) Family() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitSku) *string {
if v == nil {
return nil
}
- return v.EnableInternetSecurity
- }).(pulumi.BoolPtrOutput)
+ return v.Family
+ }).(pulumi.StringPtrOutput)
}
-// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o ConnectionPolicyPropertiesPtrOutput) RoutingConfiguration() RoutingConfigurationTypePtrOutput {
- return o.ApplyT(func(v *ConnectionPolicyProperties) *RoutingConfigurationType {
+// The name of the SKU.
+func (o ExpressRouteCircuitSkuPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitSku) *string {
if v == nil {
return nil
}
- return v.RoutingConfiguration
- }).(RoutingConfigurationTypePtrOutput)
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// Properties of the ConnectionPolicy resource.
-type ConnectionPolicyPropertiesResponse struct {
- // List of connection names (e.g. VpnConnection, HubVirtualNetworkConnection) associated with this ConnectionPolicy. These are resource names, not Azure resource IDs, consistent with the established VirtualWAN pattern used by HubRouteTable.associatedConnections.
- AssociatedConnections []string `pulumi:"associatedConnections"`
- // Enable internet security.
- EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
- // The provisioning state of the ConnectionPolicy resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationResponse `pulumi:"routingConfiguration"`
+// The tier of the SKU.
+func (o ExpressRouteCircuitSkuPtrOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitSku) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Tier
+ }).(pulumi.StringPtrOutput)
}
-// Properties of the ConnectionPolicy resource.
-type ConnectionPolicyPropertiesResponseOutput struct{ *pulumi.OutputState }
+// Contains SKU in an ExpressRouteCircuit.
+type ExpressRouteCircuitSkuResponse struct {
+ // The family of the SKU.
+ Family *string `pulumi:"family"`
+ // The name of the SKU.
+ Name *string `pulumi:"name"`
+ // The tier of the SKU.
+ Tier *string `pulumi:"tier"`
+}
-func (ConnectionPolicyPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectionPolicyPropertiesResponse)(nil)).Elem()
+// Contains SKU in an ExpressRouteCircuit.
+type ExpressRouteCircuitSkuResponseOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteCircuitSkuResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitSkuResponse)(nil)).Elem()
}
-func (o ConnectionPolicyPropertiesResponseOutput) ToConnectionPolicyPropertiesResponseOutput() ConnectionPolicyPropertiesResponseOutput {
+func (o ExpressRouteCircuitSkuResponseOutput) ToExpressRouteCircuitSkuResponseOutput() ExpressRouteCircuitSkuResponseOutput {
return o
}
-func (o ConnectionPolicyPropertiesResponseOutput) ToConnectionPolicyPropertiesResponseOutputWithContext(ctx context.Context) ConnectionPolicyPropertiesResponseOutput {
+func (o ExpressRouteCircuitSkuResponseOutput) ToExpressRouteCircuitSkuResponseOutputWithContext(ctx context.Context) ExpressRouteCircuitSkuResponseOutput {
return o
}
-// List of connection names (e.g. VpnConnection, HubVirtualNetworkConnection) associated with this ConnectionPolicy. These are resource names, not Azure resource IDs, consistent with the established VirtualWAN pattern used by HubRouteTable.associatedConnections.
-func (o ConnectionPolicyPropertiesResponseOutput) AssociatedConnections() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ConnectionPolicyPropertiesResponse) []string { return v.AssociatedConnections }).(pulumi.StringArrayOutput)
+// The family of the SKU.
+func (o ExpressRouteCircuitSkuResponseOutput) Family() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitSkuResponse) *string { return v.Family }).(pulumi.StringPtrOutput)
}
-// Enable internet security.
-func (o ConnectionPolicyPropertiesResponseOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ConnectionPolicyPropertiesResponse) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
+// The name of the SKU.
+func (o ExpressRouteCircuitSkuResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitSkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the ConnectionPolicy resource.
-func (o ConnectionPolicyPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ConnectionPolicyPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The tier of the SKU.
+func (o ExpressRouteCircuitSkuResponseOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitSkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput)
}
-// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o ConnectionPolicyPropertiesResponseOutput) RoutingConfiguration() RoutingConfigurationResponsePtrOutput {
- return o.ApplyT(func(v ConnectionPolicyPropertiesResponse) *RoutingConfigurationResponse {
- return v.RoutingConfiguration
- }).(RoutingConfigurationResponsePtrOutput)
+type ExpressRouteCircuitSkuResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteCircuitSkuResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteCircuitSkuResponse)(nil)).Elem()
}
-// Connectivity group item.
-type ConnectivityGroupItem struct {
- // Group connectivity type.
- GroupConnectivity string `pulumi:"groupConnectivity"`
- // Flag if global is supported.
- IsGlobal *string `pulumi:"isGlobal"`
- // Network group Id.
- NetworkGroupId string `pulumi:"networkGroupId"`
- // Flag if need to use hub gateway.
- UseHubGateway *string `pulumi:"useHubGateway"`
+func (o ExpressRouteCircuitSkuResponsePtrOutput) ToExpressRouteCircuitSkuResponsePtrOutput() ExpressRouteCircuitSkuResponsePtrOutput {
+ return o
}
-// ConnectivityGroupItemInput is an input type that accepts ConnectivityGroupItemArgs and ConnectivityGroupItemOutput values.
-// You can construct a concrete instance of `ConnectivityGroupItemInput` via:
-//
-// ConnectivityGroupItemArgs{...}
-type ConnectivityGroupItemInput interface {
- pulumi.Input
+func (o ExpressRouteCircuitSkuResponsePtrOutput) ToExpressRouteCircuitSkuResponsePtrOutputWithContext(ctx context.Context) ExpressRouteCircuitSkuResponsePtrOutput {
+ return o
+}
- ToConnectivityGroupItemOutput() ConnectivityGroupItemOutput
- ToConnectivityGroupItemOutputWithContext(context.Context) ConnectivityGroupItemOutput
+func (o ExpressRouteCircuitSkuResponsePtrOutput) Elem() ExpressRouteCircuitSkuResponseOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitSkuResponse) ExpressRouteCircuitSkuResponse {
+ if v != nil {
+ return *v
+ }
+ var ret ExpressRouteCircuitSkuResponse
+ return ret
+ }).(ExpressRouteCircuitSkuResponseOutput)
}
-// Connectivity group item.
-type ConnectivityGroupItemArgs struct {
- // Group connectivity type.
- GroupConnectivity pulumi.StringInput `pulumi:"groupConnectivity"`
- // Flag if global is supported.
- IsGlobal pulumi.StringPtrInput `pulumi:"isGlobal"`
- // Network group Id.
- NetworkGroupId pulumi.StringInput `pulumi:"networkGroupId"`
- // Flag if need to use hub gateway.
- UseHubGateway pulumi.StringPtrInput `pulumi:"useHubGateway"`
+// The family of the SKU.
+func (o ExpressRouteCircuitSkuResponsePtrOutput) Family() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitSkuResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Family
+ }).(pulumi.StringPtrOutput)
}
-func (ConnectivityGroupItemArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectivityGroupItem)(nil)).Elem()
+// The name of the SKU.
+func (o ExpressRouteCircuitSkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitSkuResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (i ConnectivityGroupItemArgs) ToConnectivityGroupItemOutput() ConnectivityGroupItemOutput {
- return i.ToConnectivityGroupItemOutputWithContext(context.Background())
+// The tier of the SKU.
+func (o ExpressRouteCircuitSkuResponsePtrOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitSkuResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Tier
+ }).(pulumi.StringPtrOutput)
}
-func (i ConnectivityGroupItemArgs) ToConnectivityGroupItemOutputWithContext(ctx context.Context) ConnectivityGroupItemOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectivityGroupItemOutput)
+// Contains stats associated with the peering.
+type ExpressRouteCircuitStats struct {
+ // The Primary BytesIn of the peering.
+ PrimarybytesIn *float64 `pulumi:"primarybytesIn"`
+ // The primary BytesOut of the peering.
+ PrimarybytesOut *float64 `pulumi:"primarybytesOut"`
+ // The secondary BytesIn of the peering.
+ SecondarybytesIn *float64 `pulumi:"secondarybytesIn"`
+ // The secondary BytesOut of the peering.
+ SecondarybytesOut *float64 `pulumi:"secondarybytesOut"`
}
-// ConnectivityGroupItemArrayInput is an input type that accepts ConnectivityGroupItemArray and ConnectivityGroupItemArrayOutput values.
-// You can construct a concrete instance of `ConnectivityGroupItemArrayInput` via:
+// ExpressRouteCircuitStatsInput is an input type that accepts ExpressRouteCircuitStatsArgs and ExpressRouteCircuitStatsOutput values.
+// You can construct a concrete instance of `ExpressRouteCircuitStatsInput` via:
//
-// ConnectivityGroupItemArray{ ConnectivityGroupItemArgs{...} }
-type ConnectivityGroupItemArrayInput interface {
+// ExpressRouteCircuitStatsArgs{...}
+type ExpressRouteCircuitStatsInput interface {
pulumi.Input
- ToConnectivityGroupItemArrayOutput() ConnectivityGroupItemArrayOutput
- ToConnectivityGroupItemArrayOutputWithContext(context.Context) ConnectivityGroupItemArrayOutput
+ ToExpressRouteCircuitStatsOutput() ExpressRouteCircuitStatsOutput
+ ToExpressRouteCircuitStatsOutputWithContext(context.Context) ExpressRouteCircuitStatsOutput
}
-type ConnectivityGroupItemArray []ConnectivityGroupItemInput
-
-func (ConnectivityGroupItemArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectivityGroupItem)(nil)).Elem()
+// Contains stats associated with the peering.
+type ExpressRouteCircuitStatsArgs struct {
+ // The Primary BytesIn of the peering.
+ PrimarybytesIn pulumi.Float64PtrInput `pulumi:"primarybytesIn"`
+ // The primary BytesOut of the peering.
+ PrimarybytesOut pulumi.Float64PtrInput `pulumi:"primarybytesOut"`
+ // The secondary BytesIn of the peering.
+ SecondarybytesIn pulumi.Float64PtrInput `pulumi:"secondarybytesIn"`
+ // The secondary BytesOut of the peering.
+ SecondarybytesOut pulumi.Float64PtrInput `pulumi:"secondarybytesOut"`
}
-func (i ConnectivityGroupItemArray) ToConnectivityGroupItemArrayOutput() ConnectivityGroupItemArrayOutput {
- return i.ToConnectivityGroupItemArrayOutputWithContext(context.Background())
+func (ExpressRouteCircuitStatsArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitStats)(nil)).Elem()
}
-func (i ConnectivityGroupItemArray) ToConnectivityGroupItemArrayOutputWithContext(ctx context.Context) ConnectivityGroupItemArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ConnectivityGroupItemArrayOutput)
+func (i ExpressRouteCircuitStatsArgs) ToExpressRouteCircuitStatsOutput() ExpressRouteCircuitStatsOutput {
+ return i.ToExpressRouteCircuitStatsOutputWithContext(context.Background())
}
-// Connectivity group item.
-type ConnectivityGroupItemOutput struct{ *pulumi.OutputState }
-
-func (ConnectivityGroupItemOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectivityGroupItem)(nil)).Elem()
+func (i ExpressRouteCircuitStatsArgs) ToExpressRouteCircuitStatsOutputWithContext(ctx context.Context) ExpressRouteCircuitStatsOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitStatsOutput)
}
-func (o ConnectivityGroupItemOutput) ToConnectivityGroupItemOutput() ConnectivityGroupItemOutput {
- return o
+func (i ExpressRouteCircuitStatsArgs) ToExpressRouteCircuitStatsPtrOutput() ExpressRouteCircuitStatsPtrOutput {
+ return i.ToExpressRouteCircuitStatsPtrOutputWithContext(context.Background())
}
-func (o ConnectivityGroupItemOutput) ToConnectivityGroupItemOutputWithContext(ctx context.Context) ConnectivityGroupItemOutput {
- return o
+func (i ExpressRouteCircuitStatsArgs) ToExpressRouteCircuitStatsPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitStatsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitStatsOutput).ToExpressRouteCircuitStatsPtrOutputWithContext(ctx)
}
-// Group connectivity type.
-func (o ConnectivityGroupItemOutput) GroupConnectivity() pulumi.StringOutput {
- return o.ApplyT(func(v ConnectivityGroupItem) string { return v.GroupConnectivity }).(pulumi.StringOutput)
-}
+// ExpressRouteCircuitStatsPtrInput is an input type that accepts ExpressRouteCircuitStatsArgs, ExpressRouteCircuitStatsPtr and ExpressRouteCircuitStatsPtrOutput values.
+// You can construct a concrete instance of `ExpressRouteCircuitStatsPtrInput` via:
+//
+// ExpressRouteCircuitStatsArgs{...}
+//
+// or:
+//
+// nil
+type ExpressRouteCircuitStatsPtrInput interface {
+ pulumi.Input
-// Flag if global is supported.
-func (o ConnectivityGroupItemOutput) IsGlobal() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectivityGroupItem) *string { return v.IsGlobal }).(pulumi.StringPtrOutput)
+ ToExpressRouteCircuitStatsPtrOutput() ExpressRouteCircuitStatsPtrOutput
+ ToExpressRouteCircuitStatsPtrOutputWithContext(context.Context) ExpressRouteCircuitStatsPtrOutput
}
-// Network group Id.
-func (o ConnectivityGroupItemOutput) NetworkGroupId() pulumi.StringOutput {
- return o.ApplyT(func(v ConnectivityGroupItem) string { return v.NetworkGroupId }).(pulumi.StringOutput)
-}
+type expressRouteCircuitStatsPtrType ExpressRouteCircuitStatsArgs
-// Flag if need to use hub gateway.
-func (o ConnectivityGroupItemOutput) UseHubGateway() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectivityGroupItem) *string { return v.UseHubGateway }).(pulumi.StringPtrOutput)
+func ExpressRouteCircuitStatsPtr(v *ExpressRouteCircuitStatsArgs) ExpressRouteCircuitStatsPtrInput {
+ return (*expressRouteCircuitStatsPtrType)(v)
}
-type ConnectivityGroupItemArrayOutput struct{ *pulumi.OutputState }
-
-func (ConnectivityGroupItemArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectivityGroupItem)(nil)).Elem()
+func (*expressRouteCircuitStatsPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteCircuitStats)(nil)).Elem()
}
-func (o ConnectivityGroupItemArrayOutput) ToConnectivityGroupItemArrayOutput() ConnectivityGroupItemArrayOutput {
- return o
+func (i *expressRouteCircuitStatsPtrType) ToExpressRouteCircuitStatsPtrOutput() ExpressRouteCircuitStatsPtrOutput {
+ return i.ToExpressRouteCircuitStatsPtrOutputWithContext(context.Background())
}
-func (o ConnectivityGroupItemArrayOutput) ToConnectivityGroupItemArrayOutputWithContext(ctx context.Context) ConnectivityGroupItemArrayOutput {
- return o
+func (i *expressRouteCircuitStatsPtrType) ToExpressRouteCircuitStatsPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitStatsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitStatsPtrOutput)
}
-func (o ConnectivityGroupItemArrayOutput) Index(i pulumi.IntInput) ConnectivityGroupItemOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectivityGroupItem {
- return vs[0].([]ConnectivityGroupItem)[vs[1].(int)]
- }).(ConnectivityGroupItemOutput)
-}
+// Contains stats associated with the peering.
+type ExpressRouteCircuitStatsOutput struct{ *pulumi.OutputState }
-// Connectivity group item.
-type ConnectivityGroupItemResponse struct {
- // Group connectivity type.
- GroupConnectivity string `pulumi:"groupConnectivity"`
- // Flag if global is supported.
- IsGlobal *string `pulumi:"isGlobal"`
- // Network group Id.
- NetworkGroupId string `pulumi:"networkGroupId"`
- // Flag if need to use hub gateway.
- UseHubGateway *string `pulumi:"useHubGateway"`
+func (ExpressRouteCircuitStatsOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitStats)(nil)).Elem()
}
-// Connectivity group item.
-type ConnectivityGroupItemResponseOutput struct{ *pulumi.OutputState }
-
-func (ConnectivityGroupItemResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectivityGroupItemResponse)(nil)).Elem()
+func (o ExpressRouteCircuitStatsOutput) ToExpressRouteCircuitStatsOutput() ExpressRouteCircuitStatsOutput {
+ return o
}
-func (o ConnectivityGroupItemResponseOutput) ToConnectivityGroupItemResponseOutput() ConnectivityGroupItemResponseOutput {
+func (o ExpressRouteCircuitStatsOutput) ToExpressRouteCircuitStatsOutputWithContext(ctx context.Context) ExpressRouteCircuitStatsOutput {
return o
}
-func (o ConnectivityGroupItemResponseOutput) ToConnectivityGroupItemResponseOutputWithContext(ctx context.Context) ConnectivityGroupItemResponseOutput {
- return o
+func (o ExpressRouteCircuitStatsOutput) ToExpressRouteCircuitStatsPtrOutput() ExpressRouteCircuitStatsPtrOutput {
+ return o.ToExpressRouteCircuitStatsPtrOutputWithContext(context.Background())
}
-// Group connectivity type.
-func (o ConnectivityGroupItemResponseOutput) GroupConnectivity() pulumi.StringOutput {
- return o.ApplyT(func(v ConnectivityGroupItemResponse) string { return v.GroupConnectivity }).(pulumi.StringOutput)
+func (o ExpressRouteCircuitStatsOutput) ToExpressRouteCircuitStatsPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitStatsPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ExpressRouteCircuitStats) *ExpressRouteCircuitStats {
+ return &v
+ }).(ExpressRouteCircuitStatsPtrOutput)
}
-// Flag if global is supported.
-func (o ConnectivityGroupItemResponseOutput) IsGlobal() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectivityGroupItemResponse) *string { return v.IsGlobal }).(pulumi.StringPtrOutput)
+// The Primary BytesIn of the peering.
+func (o ExpressRouteCircuitStatsOutput) PrimarybytesIn() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitStats) *float64 { return v.PrimarybytesIn }).(pulumi.Float64PtrOutput)
}
-// Network group Id.
-func (o ConnectivityGroupItemResponseOutput) NetworkGroupId() pulumi.StringOutput {
- return o.ApplyT(func(v ConnectivityGroupItemResponse) string { return v.NetworkGroupId }).(pulumi.StringOutput)
+// The primary BytesOut of the peering.
+func (o ExpressRouteCircuitStatsOutput) PrimarybytesOut() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitStats) *float64 { return v.PrimarybytesOut }).(pulumi.Float64PtrOutput)
}
-// Flag if need to use hub gateway.
-func (o ConnectivityGroupItemResponseOutput) UseHubGateway() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectivityGroupItemResponse) *string { return v.UseHubGateway }).(pulumi.StringPtrOutput)
+// The secondary BytesIn of the peering.
+func (o ExpressRouteCircuitStatsOutput) SecondarybytesIn() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitStats) *float64 { return v.SecondarybytesIn }).(pulumi.Float64PtrOutput)
}
-type ConnectivityGroupItemResponseArrayOutput struct{ *pulumi.OutputState }
+// The secondary BytesOut of the peering.
+func (o ExpressRouteCircuitStatsOutput) SecondarybytesOut() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitStats) *float64 { return v.SecondarybytesOut }).(pulumi.Float64PtrOutput)
+}
-func (ConnectivityGroupItemResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectivityGroupItemResponse)(nil)).Elem()
+type ExpressRouteCircuitStatsPtrOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteCircuitStatsPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteCircuitStats)(nil)).Elem()
}
-func (o ConnectivityGroupItemResponseArrayOutput) ToConnectivityGroupItemResponseArrayOutput() ConnectivityGroupItemResponseArrayOutput {
+func (o ExpressRouteCircuitStatsPtrOutput) ToExpressRouteCircuitStatsPtrOutput() ExpressRouteCircuitStatsPtrOutput {
return o
}
-func (o ConnectivityGroupItemResponseArrayOutput) ToConnectivityGroupItemResponseArrayOutputWithContext(ctx context.Context) ConnectivityGroupItemResponseArrayOutput {
+func (o ExpressRouteCircuitStatsPtrOutput) ToExpressRouteCircuitStatsPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitStatsPtrOutput {
return o
}
-func (o ConnectivityGroupItemResponseArrayOutput) Index(i pulumi.IntInput) ConnectivityGroupItemResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectivityGroupItemResponse {
- return vs[0].([]ConnectivityGroupItemResponse)[vs[1].(int)]
- }).(ConnectivityGroupItemResponseOutput)
+func (o ExpressRouteCircuitStatsPtrOutput) Elem() ExpressRouteCircuitStatsOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitStats) ExpressRouteCircuitStats {
+ if v != nil {
+ return *v
+ }
+ var ret ExpressRouteCircuitStats
+ return ret
+ }).(ExpressRouteCircuitStatsOutput)
}
-type ConnectivityGroupItemResponseV1 struct {
- // Group connectivity type.
- GroupConnectivity *string `pulumi:"groupConnectivity"`
- // Flag if global is supported.
- IsGlobal *string `pulumi:"isGlobal"`
- // Network group Id.
- NetworkGroupId *string `pulumi:"networkGroupId"`
- // Flag if need to use hub gateway.
- UseHubGateway *string `pulumi:"useHubGateway"`
+// The Primary BytesIn of the peering.
+func (o ExpressRouteCircuitStatsPtrOutput) PrimarybytesIn() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitStats) *float64 {
+ if v == nil {
+ return nil
+ }
+ return v.PrimarybytesIn
+ }).(pulumi.Float64PtrOutput)
}
-type ConnectivityGroupItemResponseV1Output struct{ *pulumi.OutputState }
-
-func (ConnectivityGroupItemResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectivityGroupItemResponseV1)(nil)).Elem()
+// The primary BytesOut of the peering.
+func (o ExpressRouteCircuitStatsPtrOutput) PrimarybytesOut() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitStats) *float64 {
+ if v == nil {
+ return nil
+ }
+ return v.PrimarybytesOut
+ }).(pulumi.Float64PtrOutput)
}
-func (o ConnectivityGroupItemResponseV1Output) ToConnectivityGroupItemResponseV1Output() ConnectivityGroupItemResponseV1Output {
- return o
+// The secondary BytesIn of the peering.
+func (o ExpressRouteCircuitStatsPtrOutput) SecondarybytesIn() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitStats) *float64 {
+ if v == nil {
+ return nil
+ }
+ return v.SecondarybytesIn
+ }).(pulumi.Float64PtrOutput)
}
-func (o ConnectivityGroupItemResponseV1Output) ToConnectivityGroupItemResponseV1OutputWithContext(ctx context.Context) ConnectivityGroupItemResponseV1Output {
- return o
+// The secondary BytesOut of the peering.
+func (o ExpressRouteCircuitStatsPtrOutput) SecondarybytesOut() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitStats) *float64 {
+ if v == nil {
+ return nil
+ }
+ return v.SecondarybytesOut
+ }).(pulumi.Float64PtrOutput)
}
-// Group connectivity type.
-func (o ConnectivityGroupItemResponseV1Output) GroupConnectivity() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectivityGroupItemResponseV1) *string { return v.GroupConnectivity }).(pulumi.StringPtrOutput)
+// Contains stats associated with the peering.
+type ExpressRouteCircuitStatsResponse struct {
+ // The Primary BytesIn of the peering.
+ PrimarybytesIn *float64 `pulumi:"primarybytesIn"`
+ // The primary BytesOut of the peering.
+ PrimarybytesOut *float64 `pulumi:"primarybytesOut"`
+ // The secondary BytesIn of the peering.
+ SecondarybytesIn *float64 `pulumi:"secondarybytesIn"`
+ // The secondary BytesOut of the peering.
+ SecondarybytesOut *float64 `pulumi:"secondarybytesOut"`
}
-// Flag if global is supported.
-func (o ConnectivityGroupItemResponseV1Output) IsGlobal() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectivityGroupItemResponseV1) *string { return v.IsGlobal }).(pulumi.StringPtrOutput)
-}
+// Contains stats associated with the peering.
+type ExpressRouteCircuitStatsResponseOutput struct{ *pulumi.OutputState }
-// Network group Id.
-func (o ConnectivityGroupItemResponseV1Output) NetworkGroupId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectivityGroupItemResponseV1) *string { return v.NetworkGroupId }).(pulumi.StringPtrOutput)
+func (ExpressRouteCircuitStatsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteCircuitStatsResponse)(nil)).Elem()
}
-// Flag if need to use hub gateway.
-func (o ConnectivityGroupItemResponseV1Output) UseHubGateway() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectivityGroupItemResponseV1) *string { return v.UseHubGateway }).(pulumi.StringPtrOutput)
+func (o ExpressRouteCircuitStatsResponseOutput) ToExpressRouteCircuitStatsResponseOutput() ExpressRouteCircuitStatsResponseOutput {
+ return o
}
-type ConnectivityGroupItemResponseV1ArrayOutput struct{ *pulumi.OutputState }
-
-func (ConnectivityGroupItemResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectivityGroupItemResponseV1)(nil)).Elem()
+func (o ExpressRouteCircuitStatsResponseOutput) ToExpressRouteCircuitStatsResponseOutputWithContext(ctx context.Context) ExpressRouteCircuitStatsResponseOutput {
+ return o
}
-func (o ConnectivityGroupItemResponseV1ArrayOutput) ToConnectivityGroupItemResponseV1ArrayOutput() ConnectivityGroupItemResponseV1ArrayOutput {
- return o
+// The Primary BytesIn of the peering.
+func (o ExpressRouteCircuitStatsResponseOutput) PrimarybytesIn() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitStatsResponse) *float64 { return v.PrimarybytesIn }).(pulumi.Float64PtrOutput)
}
-func (o ConnectivityGroupItemResponseV1ArrayOutput) ToConnectivityGroupItemResponseV1ArrayOutputWithContext(ctx context.Context) ConnectivityGroupItemResponseV1ArrayOutput {
- return o
+// The primary BytesOut of the peering.
+func (o ExpressRouteCircuitStatsResponseOutput) PrimarybytesOut() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitStatsResponse) *float64 { return v.PrimarybytesOut }).(pulumi.Float64PtrOutput)
}
-func (o ConnectivityGroupItemResponseV1ArrayOutput) Index(i pulumi.IntInput) ConnectivityGroupItemResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectivityGroupItemResponseV1 {
- return vs[0].([]ConnectivityGroupItemResponseV1)[vs[1].(int)]
- }).(ConnectivityGroupItemResponseV1Output)
+// The secondary BytesIn of the peering.
+func (o ExpressRouteCircuitStatsResponseOutput) SecondarybytesIn() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitStatsResponse) *float64 { return v.SecondarybytesIn }).(pulumi.Float64PtrOutput)
}
-type ConnectivityGroupItemResponseV2 struct {
- // Group connectivity type.
- GroupConnectivity *string `pulumi:"groupConnectivity"`
- // Flag if global is supported.
- IsGlobal *string `pulumi:"isGlobal"`
- // Network group Id.
- NetworkGroupId *string `pulumi:"networkGroupId"`
- // Flag if need to use hub gateway.
- UseHubGateway *string `pulumi:"useHubGateway"`
+// The secondary BytesOut of the peering.
+func (o ExpressRouteCircuitStatsResponseOutput) SecondarybytesOut() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v ExpressRouteCircuitStatsResponse) *float64 { return v.SecondarybytesOut }).(pulumi.Float64PtrOutput)
}
-type ConnectivityGroupItemResponseV2Output struct{ *pulumi.OutputState }
+type ExpressRouteCircuitStatsResponsePtrOutput struct{ *pulumi.OutputState }
-func (ConnectivityGroupItemResponseV2Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ConnectivityGroupItemResponseV2)(nil)).Elem()
+func (ExpressRouteCircuitStatsResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteCircuitStatsResponse)(nil)).Elem()
}
-func (o ConnectivityGroupItemResponseV2Output) ToConnectivityGroupItemResponseV2Output() ConnectivityGroupItemResponseV2Output {
+func (o ExpressRouteCircuitStatsResponsePtrOutput) ToExpressRouteCircuitStatsResponsePtrOutput() ExpressRouteCircuitStatsResponsePtrOutput {
return o
}
-func (o ConnectivityGroupItemResponseV2Output) ToConnectivityGroupItemResponseV2OutputWithContext(ctx context.Context) ConnectivityGroupItemResponseV2Output {
+func (o ExpressRouteCircuitStatsResponsePtrOutput) ToExpressRouteCircuitStatsResponsePtrOutputWithContext(ctx context.Context) ExpressRouteCircuitStatsResponsePtrOutput {
return o
}
-// Group connectivity type.
-func (o ConnectivityGroupItemResponseV2Output) GroupConnectivity() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectivityGroupItemResponseV2) *string { return v.GroupConnectivity }).(pulumi.StringPtrOutput)
+func (o ExpressRouteCircuitStatsResponsePtrOutput) Elem() ExpressRouteCircuitStatsResponseOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitStatsResponse) ExpressRouteCircuitStatsResponse {
+ if v != nil {
+ return *v
+ }
+ var ret ExpressRouteCircuitStatsResponse
+ return ret
+ }).(ExpressRouteCircuitStatsResponseOutput)
}
-// Flag if global is supported.
-func (o ConnectivityGroupItemResponseV2Output) IsGlobal() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectivityGroupItemResponseV2) *string { return v.IsGlobal }).(pulumi.StringPtrOutput)
+// The Primary BytesIn of the peering.
+func (o ExpressRouteCircuitStatsResponsePtrOutput) PrimarybytesIn() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitStatsResponse) *float64 {
+ if v == nil {
+ return nil
+ }
+ return v.PrimarybytesIn
+ }).(pulumi.Float64PtrOutput)
}
-// Network group Id.
-func (o ConnectivityGroupItemResponseV2Output) NetworkGroupId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectivityGroupItemResponseV2) *string { return v.NetworkGroupId }).(pulumi.StringPtrOutput)
+// The primary BytesOut of the peering.
+func (o ExpressRouteCircuitStatsResponsePtrOutput) PrimarybytesOut() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitStatsResponse) *float64 {
+ if v == nil {
+ return nil
+ }
+ return v.PrimarybytesOut
+ }).(pulumi.Float64PtrOutput)
}
-// Flag if need to use hub gateway.
-func (o ConnectivityGroupItemResponseV2Output) UseHubGateway() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ConnectivityGroupItemResponseV2) *string { return v.UseHubGateway }).(pulumi.StringPtrOutput)
+// The secondary BytesIn of the peering.
+func (o ExpressRouteCircuitStatsResponsePtrOutput) SecondarybytesIn() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitStatsResponse) *float64 {
+ if v == nil {
+ return nil
+ }
+ return v.SecondarybytesIn
+ }).(pulumi.Float64PtrOutput)
}
-type ConnectivityGroupItemResponseV2ArrayOutput struct{ *pulumi.OutputState }
-
-func (ConnectivityGroupItemResponseV2ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ConnectivityGroupItemResponseV2)(nil)).Elem()
+// The secondary BytesOut of the peering.
+func (o ExpressRouteCircuitStatsResponsePtrOutput) SecondarybytesOut() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v *ExpressRouteCircuitStatsResponse) *float64 {
+ if v == nil {
+ return nil
+ }
+ return v.SecondarybytesOut
+ }).(pulumi.Float64PtrOutput)
}
-func (o ConnectivityGroupItemResponseV2ArrayOutput) ToConnectivityGroupItemResponseV2ArrayOutput() ConnectivityGroupItemResponseV2ArrayOutput {
- return o
-}
-
-func (o ConnectivityGroupItemResponseV2ArrayOutput) ToConnectivityGroupItemResponseV2ArrayOutputWithContext(ctx context.Context) ConnectivityGroupItemResponseV2ArrayOutput {
- return o
-}
-
-func (o ConnectivityGroupItemResponseV2ArrayOutput) Index(i pulumi.IntInput) ConnectivityGroupItemResponseV2Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectivityGroupItemResponseV2 {
- return vs[0].([]ConnectivityGroupItemResponseV2)[vs[1].(int)]
- }).(ConnectivityGroupItemResponseV2Output)
-}
-
-// Container network interface configuration child resource.
-type ContainerNetworkInterfaceConfiguration struct {
- // A list of container network interfaces created from this container network interface configuration.
- ContainerNetworkInterfaces []SubResource `pulumi:"containerNetworkInterfaces"`
+// ExpressRouteConnection resource.
+type ExpressRouteConnectionType struct {
+ // Authorization key to establish the connection.
+ AuthorizationKey *string `pulumi:"authorizationKey"`
+ // Enable internet security.
+ EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
+ // Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
+ EnablePrivateLinkFastPath *bool `pulumi:"enablePrivateLinkFastPath"`
+ // The ExpressRoute circuit peering.
+ ExpressRouteCircuitPeering ExpressRouteCircuitPeeringId `pulumi:"expressRouteCircuitPeering"`
+ // Enable FastPath to vWan Firewall hub.
+ ExpressRouteGatewayBypass *bool `pulumi:"expressRouteGatewayBypass"`
// Resource ID.
Id *string `pulumi:"id"`
- // A list of ip configurations of the container network interface configuration.
- IpConfigurations []IPConfigurationProfile `pulumi:"ipConfigurations"`
- // The name of the resource. This name can be used to access the resource.
- Name *string `pulumi:"name"`
+ // The name of the resource.
+ Name string `pulumi:"name"`
+ // The Routing Configuration indicating the associated and propagated route tables on this connection.
+ RoutingConfiguration *RoutingConfigurationType `pulumi:"routingConfiguration"`
+ // The routing weight associated to the connection.
+ RoutingWeight *int `pulumi:"routingWeight"`
}
-// ContainerNetworkInterfaceConfigurationInput is an input type that accepts ContainerNetworkInterfaceConfigurationArgs and ContainerNetworkInterfaceConfigurationOutput values.
-// You can construct a concrete instance of `ContainerNetworkInterfaceConfigurationInput` via:
+// ExpressRouteConnectionTypeInput is an input type that accepts ExpressRouteConnectionTypeArgs and ExpressRouteConnectionTypeOutput values.
+// You can construct a concrete instance of `ExpressRouteConnectionTypeInput` via:
//
-// ContainerNetworkInterfaceConfigurationArgs{...}
-type ContainerNetworkInterfaceConfigurationInput interface {
+// ExpressRouteConnectionTypeArgs{...}
+type ExpressRouteConnectionTypeInput interface {
pulumi.Input
- ToContainerNetworkInterfaceConfigurationOutput() ContainerNetworkInterfaceConfigurationOutput
- ToContainerNetworkInterfaceConfigurationOutputWithContext(context.Context) ContainerNetworkInterfaceConfigurationOutput
+ ToExpressRouteConnectionTypeOutput() ExpressRouteConnectionTypeOutput
+ ToExpressRouteConnectionTypeOutputWithContext(context.Context) ExpressRouteConnectionTypeOutput
}
-// Container network interface configuration child resource.
-type ContainerNetworkInterfaceConfigurationArgs struct {
- // A list of container network interfaces created from this container network interface configuration.
- ContainerNetworkInterfaces SubResourceArrayInput `pulumi:"containerNetworkInterfaces"`
+// ExpressRouteConnection resource.
+type ExpressRouteConnectionTypeArgs struct {
+ // Authorization key to establish the connection.
+ AuthorizationKey pulumi.StringPtrInput `pulumi:"authorizationKey"`
+ // Enable internet security.
+ EnableInternetSecurity pulumi.BoolPtrInput `pulumi:"enableInternetSecurity"`
+ // Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
+ EnablePrivateLinkFastPath pulumi.BoolPtrInput `pulumi:"enablePrivateLinkFastPath"`
+ // The ExpressRoute circuit peering.
+ ExpressRouteCircuitPeering ExpressRouteCircuitPeeringIdInput `pulumi:"expressRouteCircuitPeering"`
+ // Enable FastPath to vWan Firewall hub.
+ ExpressRouteGatewayBypass pulumi.BoolPtrInput `pulumi:"expressRouteGatewayBypass"`
// Resource ID.
Id pulumi.StringPtrInput `pulumi:"id"`
- // A list of ip configurations of the container network interface configuration.
- IpConfigurations IPConfigurationProfileArrayInput `pulumi:"ipConfigurations"`
- // The name of the resource. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
+ // The name of the resource.
+ Name pulumi.StringInput `pulumi:"name"`
+ // The Routing Configuration indicating the associated and propagated route tables on this connection.
+ RoutingConfiguration RoutingConfigurationTypePtrInput `pulumi:"routingConfiguration"`
+ // The routing weight associated to the connection.
+ RoutingWeight pulumi.IntPtrInput `pulumi:"routingWeight"`
}
-func (ContainerNetworkInterfaceConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ContainerNetworkInterfaceConfiguration)(nil)).Elem()
+func (ExpressRouteConnectionTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteConnectionType)(nil)).Elem()
}
-func (i ContainerNetworkInterfaceConfigurationArgs) ToContainerNetworkInterfaceConfigurationOutput() ContainerNetworkInterfaceConfigurationOutput {
- return i.ToContainerNetworkInterfaceConfigurationOutputWithContext(context.Background())
+func (i ExpressRouteConnectionTypeArgs) ToExpressRouteConnectionTypeOutput() ExpressRouteConnectionTypeOutput {
+ return i.ToExpressRouteConnectionTypeOutputWithContext(context.Background())
}
-func (i ContainerNetworkInterfaceConfigurationArgs) ToContainerNetworkInterfaceConfigurationOutputWithContext(ctx context.Context) ContainerNetworkInterfaceConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ContainerNetworkInterfaceConfigurationOutput)
+func (i ExpressRouteConnectionTypeArgs) ToExpressRouteConnectionTypeOutputWithContext(ctx context.Context) ExpressRouteConnectionTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteConnectionTypeOutput)
}
-// ContainerNetworkInterfaceConfigurationArrayInput is an input type that accepts ContainerNetworkInterfaceConfigurationArray and ContainerNetworkInterfaceConfigurationArrayOutput values.
-// You can construct a concrete instance of `ContainerNetworkInterfaceConfigurationArrayInput` via:
+// ExpressRouteConnectionTypeArrayInput is an input type that accepts ExpressRouteConnectionTypeArray and ExpressRouteConnectionTypeArrayOutput values.
+// You can construct a concrete instance of `ExpressRouteConnectionTypeArrayInput` via:
//
-// ContainerNetworkInterfaceConfigurationArray{ ContainerNetworkInterfaceConfigurationArgs{...} }
-type ContainerNetworkInterfaceConfigurationArrayInput interface {
+// ExpressRouteConnectionTypeArray{ ExpressRouteConnectionTypeArgs{...} }
+type ExpressRouteConnectionTypeArrayInput interface {
pulumi.Input
- ToContainerNetworkInterfaceConfigurationArrayOutput() ContainerNetworkInterfaceConfigurationArrayOutput
- ToContainerNetworkInterfaceConfigurationArrayOutputWithContext(context.Context) ContainerNetworkInterfaceConfigurationArrayOutput
+ ToExpressRouteConnectionTypeArrayOutput() ExpressRouteConnectionTypeArrayOutput
+ ToExpressRouteConnectionTypeArrayOutputWithContext(context.Context) ExpressRouteConnectionTypeArrayOutput
}
-type ContainerNetworkInterfaceConfigurationArray []ContainerNetworkInterfaceConfigurationInput
+type ExpressRouteConnectionTypeArray []ExpressRouteConnectionTypeInput
-func (ContainerNetworkInterfaceConfigurationArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ContainerNetworkInterfaceConfiguration)(nil)).Elem()
+func (ExpressRouteConnectionTypeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExpressRouteConnectionType)(nil)).Elem()
}
-func (i ContainerNetworkInterfaceConfigurationArray) ToContainerNetworkInterfaceConfigurationArrayOutput() ContainerNetworkInterfaceConfigurationArrayOutput {
- return i.ToContainerNetworkInterfaceConfigurationArrayOutputWithContext(context.Background())
+func (i ExpressRouteConnectionTypeArray) ToExpressRouteConnectionTypeArrayOutput() ExpressRouteConnectionTypeArrayOutput {
+ return i.ToExpressRouteConnectionTypeArrayOutputWithContext(context.Background())
}
-func (i ContainerNetworkInterfaceConfigurationArray) ToContainerNetworkInterfaceConfigurationArrayOutputWithContext(ctx context.Context) ContainerNetworkInterfaceConfigurationArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ContainerNetworkInterfaceConfigurationArrayOutput)
+func (i ExpressRouteConnectionTypeArray) ToExpressRouteConnectionTypeArrayOutputWithContext(ctx context.Context) ExpressRouteConnectionTypeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteConnectionTypeArrayOutput)
}
-// Container network interface configuration child resource.
-type ContainerNetworkInterfaceConfigurationOutput struct{ *pulumi.OutputState }
+// ExpressRouteConnection resource.
+type ExpressRouteConnectionTypeOutput struct{ *pulumi.OutputState }
-func (ContainerNetworkInterfaceConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ContainerNetworkInterfaceConfiguration)(nil)).Elem()
+func (ExpressRouteConnectionTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteConnectionType)(nil)).Elem()
}
-func (o ContainerNetworkInterfaceConfigurationOutput) ToContainerNetworkInterfaceConfigurationOutput() ContainerNetworkInterfaceConfigurationOutput {
+func (o ExpressRouteConnectionTypeOutput) ToExpressRouteConnectionTypeOutput() ExpressRouteConnectionTypeOutput {
return o
}
-func (o ContainerNetworkInterfaceConfigurationOutput) ToContainerNetworkInterfaceConfigurationOutputWithContext(ctx context.Context) ContainerNetworkInterfaceConfigurationOutput {
+func (o ExpressRouteConnectionTypeOutput) ToExpressRouteConnectionTypeOutputWithContext(ctx context.Context) ExpressRouteConnectionTypeOutput {
return o
}
-// A list of container network interfaces created from this container network interface configuration.
-func (o ContainerNetworkInterfaceConfigurationOutput) ContainerNetworkInterfaces() SubResourceArrayOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceConfiguration) []SubResource { return v.ContainerNetworkInterfaces }).(SubResourceArrayOutput)
+// Authorization key to establish the connection.
+func (o ExpressRouteConnectionTypeOutput) AuthorizationKey() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionType) *string { return v.AuthorizationKey }).(pulumi.StringPtrOutput)
}
-// Resource ID.
-func (o ContainerNetworkInterfaceConfigurationOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceConfiguration) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Enable internet security.
+func (o ExpressRouteConnectionTypeOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionType) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
}
-// A list of ip configurations of the container network interface configuration.
-func (o ContainerNetworkInterfaceConfigurationOutput) IpConfigurations() IPConfigurationProfileArrayOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceConfiguration) []IPConfigurationProfile { return v.IpConfigurations }).(IPConfigurationProfileArrayOutput)
+// Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
+func (o ExpressRouteConnectionTypeOutput) EnablePrivateLinkFastPath() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionType) *bool { return v.EnablePrivateLinkFastPath }).(pulumi.BoolPtrOutput)
}
-// The name of the resource. This name can be used to access the resource.
-func (o ContainerNetworkInterfaceConfigurationOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceConfiguration) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The ExpressRoute circuit peering.
+func (o ExpressRouteConnectionTypeOutput) ExpressRouteCircuitPeering() ExpressRouteCircuitPeeringIdOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionType) ExpressRouteCircuitPeeringId { return v.ExpressRouteCircuitPeering }).(ExpressRouteCircuitPeeringIdOutput)
}
-type ContainerNetworkInterfaceConfigurationArrayOutput struct{ *pulumi.OutputState }
-
-func (ContainerNetworkInterfaceConfigurationArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ContainerNetworkInterfaceConfiguration)(nil)).Elem()
+// Enable FastPath to vWan Firewall hub.
+func (o ExpressRouteConnectionTypeOutput) ExpressRouteGatewayBypass() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionType) *bool { return v.ExpressRouteGatewayBypass }).(pulumi.BoolPtrOutput)
}
-func (o ContainerNetworkInterfaceConfigurationArrayOutput) ToContainerNetworkInterfaceConfigurationArrayOutput() ContainerNetworkInterfaceConfigurationArrayOutput {
- return o
+// Resource ID.
+func (o ExpressRouteConnectionTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o ContainerNetworkInterfaceConfigurationArrayOutput) ToContainerNetworkInterfaceConfigurationArrayOutputWithContext(ctx context.Context) ContainerNetworkInterfaceConfigurationArrayOutput {
- return o
+// The name of the resource.
+func (o ExpressRouteConnectionTypeOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionType) string { return v.Name }).(pulumi.StringOutput)
}
-func (o ContainerNetworkInterfaceConfigurationArrayOutput) Index(i pulumi.IntInput) ContainerNetworkInterfaceConfigurationOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContainerNetworkInterfaceConfiguration {
- return vs[0].([]ContainerNetworkInterfaceConfiguration)[vs[1].(int)]
- }).(ContainerNetworkInterfaceConfigurationOutput)
+// The Routing Configuration indicating the associated and propagated route tables on this connection.
+func (o ExpressRouteConnectionTypeOutput) RoutingConfiguration() RoutingConfigurationTypePtrOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionType) *RoutingConfigurationType { return v.RoutingConfiguration }).(RoutingConfigurationTypePtrOutput)
}
-// Container network interface configuration child resource.
-type ContainerNetworkInterfaceConfigurationResponse struct {
- // A list of container network interfaces created from this container network interface configuration.
- ContainerNetworkInterfaces []SubResourceResponse `pulumi:"containerNetworkInterfaces"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // A list of ip configurations of the container network interface configuration.
- IpConfigurations []IPConfigurationProfileResponse `pulumi:"ipConfigurations"`
- // The name of the resource. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the container network interface configuration resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Sub Resource type.
- Type string `pulumi:"type"`
+// The routing weight associated to the connection.
+func (o ExpressRouteConnectionTypeOutput) RoutingWeight() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionType) *int { return v.RoutingWeight }).(pulumi.IntPtrOutput)
}
-// Container network interface configuration child resource.
-type ContainerNetworkInterfaceConfigurationResponseOutput struct{ *pulumi.OutputState }
+type ExpressRouteConnectionTypeArrayOutput struct{ *pulumi.OutputState }
-func (ContainerNetworkInterfaceConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ContainerNetworkInterfaceConfigurationResponse)(nil)).Elem()
+func (ExpressRouteConnectionTypeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExpressRouteConnectionType)(nil)).Elem()
}
-func (o ContainerNetworkInterfaceConfigurationResponseOutput) ToContainerNetworkInterfaceConfigurationResponseOutput() ContainerNetworkInterfaceConfigurationResponseOutput {
+func (o ExpressRouteConnectionTypeArrayOutput) ToExpressRouteConnectionTypeArrayOutput() ExpressRouteConnectionTypeArrayOutput {
return o
}
-func (o ContainerNetworkInterfaceConfigurationResponseOutput) ToContainerNetworkInterfaceConfigurationResponseOutputWithContext(ctx context.Context) ContainerNetworkInterfaceConfigurationResponseOutput {
+func (o ExpressRouteConnectionTypeArrayOutput) ToExpressRouteConnectionTypeArrayOutputWithContext(ctx context.Context) ExpressRouteConnectionTypeArrayOutput {
return o
}
-// A list of container network interfaces created from this container network interface configuration.
-func (o ContainerNetworkInterfaceConfigurationResponseOutput) ContainerNetworkInterfaces() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceConfigurationResponse) []SubResourceResponse {
- return v.ContainerNetworkInterfaces
- }).(SubResourceResponseArrayOutput)
+func (o ExpressRouteConnectionTypeArrayOutput) Index(i pulumi.IntInput) ExpressRouteConnectionTypeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteConnectionType {
+ return vs[0].([]ExpressRouteConnectionType)[vs[1].(int)]
+ }).(ExpressRouteConnectionTypeOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o ContainerNetworkInterfaceConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
+// The ID of the ExpressRouteConnection.
+type ExpressRouteConnectionIdResponse struct {
+ // The ID of the ExpressRouteConnection.
+ Id string `pulumi:"id"`
}
-// Resource ID.
-func (o ContainerNetworkInterfaceConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
+// The ID of the ExpressRouteConnection.
+type ExpressRouteConnectionIdResponseOutput struct{ *pulumi.OutputState }
-// A list of ip configurations of the container network interface configuration.
-func (o ContainerNetworkInterfaceConfigurationResponseOutput) IpConfigurations() IPConfigurationProfileResponseArrayOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceConfigurationResponse) []IPConfigurationProfileResponse {
- return v.IpConfigurations
- }).(IPConfigurationProfileResponseArrayOutput)
+func (ExpressRouteConnectionIdResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteConnectionIdResponse)(nil)).Elem()
}
-// The name of the resource. This name can be used to access the resource.
-func (o ContainerNetworkInterfaceConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o ExpressRouteConnectionIdResponseOutput) ToExpressRouteConnectionIdResponseOutput() ExpressRouteConnectionIdResponseOutput {
+ return o
}
-// The provisioning state of the container network interface configuration resource.
-func (o ContainerNetworkInterfaceConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o ExpressRouteConnectionIdResponseOutput) ToExpressRouteConnectionIdResponseOutputWithContext(ctx context.Context) ExpressRouteConnectionIdResponseOutput {
+ return o
}
-// Sub Resource type.
-func (o ContainerNetworkInterfaceConfigurationResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
+// The ID of the ExpressRouteConnection.
+func (o ExpressRouteConnectionIdResponseOutput) Id() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionIdResponse) string { return v.Id }).(pulumi.StringOutput)
}
-type ContainerNetworkInterfaceConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+type ExpressRouteConnectionIdResponsePtrOutput struct{ *pulumi.OutputState }
-func (ContainerNetworkInterfaceConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ContainerNetworkInterfaceConfigurationResponse)(nil)).Elem()
+func (ExpressRouteConnectionIdResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteConnectionIdResponse)(nil)).Elem()
}
-func (o ContainerNetworkInterfaceConfigurationResponseArrayOutput) ToContainerNetworkInterfaceConfigurationResponseArrayOutput() ContainerNetworkInterfaceConfigurationResponseArrayOutput {
+func (o ExpressRouteConnectionIdResponsePtrOutput) ToExpressRouteConnectionIdResponsePtrOutput() ExpressRouteConnectionIdResponsePtrOutput {
return o
}
-func (o ContainerNetworkInterfaceConfigurationResponseArrayOutput) ToContainerNetworkInterfaceConfigurationResponseArrayOutputWithContext(ctx context.Context) ContainerNetworkInterfaceConfigurationResponseArrayOutput {
+func (o ExpressRouteConnectionIdResponsePtrOutput) ToExpressRouteConnectionIdResponsePtrOutputWithContext(ctx context.Context) ExpressRouteConnectionIdResponsePtrOutput {
return o
}
-func (o ContainerNetworkInterfaceConfigurationResponseArrayOutput) Index(i pulumi.IntInput) ContainerNetworkInterfaceConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContainerNetworkInterfaceConfigurationResponse {
- return vs[0].([]ContainerNetworkInterfaceConfigurationResponse)[vs[1].(int)]
- }).(ContainerNetworkInterfaceConfigurationResponseOutput)
+func (o ExpressRouteConnectionIdResponsePtrOutput) Elem() ExpressRouteConnectionIdResponseOutput {
+ return o.ApplyT(func(v *ExpressRouteConnectionIdResponse) ExpressRouteConnectionIdResponse {
+ if v != nil {
+ return *v
+ }
+ var ret ExpressRouteConnectionIdResponse
+ return ret
+ }).(ExpressRouteConnectionIdResponseOutput)
}
-// The ip configuration for a container network interface.
-type ContainerNetworkInterfaceIpConfigurationResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The name of the resource. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the container network interface IP configuration resource.
+// The ID of the ExpressRouteConnection.
+func (o ExpressRouteConnectionIdResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteConnectionIdResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Id
+ }).(pulumi.StringPtrOutput)
+}
+
+// ExpressRouteConnection resource.
+type ExpressRouteConnectionResponse struct {
+ // Authorization key to establish the connection.
+ AuthorizationKey *string `pulumi:"authorizationKey"`
+ // Enable internet security.
+ EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
+ // Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
+ EnablePrivateLinkFastPath *bool `pulumi:"enablePrivateLinkFastPath"`
+ // The ExpressRoute circuit peering.
+ ExpressRouteCircuitPeering ExpressRouteCircuitPeeringIdResponse `pulumi:"expressRouteCircuitPeering"`
+ // Enable FastPath to vWan Firewall hub.
+ ExpressRouteGatewayBypass *bool `pulumi:"expressRouteGatewayBypass"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource.
+ Name string `pulumi:"name"`
+ // The provisioning state of the express route connection resource.
ProvisioningState string `pulumi:"provisioningState"`
- // Sub Resource type.
- Type string `pulumi:"type"`
+ // The Routing Configuration indicating the associated and propagated route tables on this connection.
+ RoutingConfiguration *RoutingConfigurationExpressRouteGatewayResponse `pulumi:"routingConfiguration"`
+ // The routing weight associated to the connection.
+ RoutingWeight *int `pulumi:"routingWeight"`
}
-// The ip configuration for a container network interface.
-type ContainerNetworkInterfaceIpConfigurationResponseOutput struct{ *pulumi.OutputState }
+// ExpressRouteConnection resource.
+type ExpressRouteConnectionResponseOutput struct{ *pulumi.OutputState }
-func (ContainerNetworkInterfaceIpConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ContainerNetworkInterfaceIpConfigurationResponse)(nil)).Elem()
+func (ExpressRouteConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteConnectionResponse)(nil)).Elem()
}
-func (o ContainerNetworkInterfaceIpConfigurationResponseOutput) ToContainerNetworkInterfaceIpConfigurationResponseOutput() ContainerNetworkInterfaceIpConfigurationResponseOutput {
+func (o ExpressRouteConnectionResponseOutput) ToExpressRouteConnectionResponseOutput() ExpressRouteConnectionResponseOutput {
return o
}
-func (o ContainerNetworkInterfaceIpConfigurationResponseOutput) ToContainerNetworkInterfaceIpConfigurationResponseOutputWithContext(ctx context.Context) ContainerNetworkInterfaceIpConfigurationResponseOutput {
+func (o ExpressRouteConnectionResponseOutput) ToExpressRouteConnectionResponseOutputWithContext(ctx context.Context) ExpressRouteConnectionResponseOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o ContainerNetworkInterfaceIpConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceIpConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
+// Authorization key to establish the connection.
+func (o ExpressRouteConnectionResponseOutput) AuthorizationKey() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionResponse) *string { return v.AuthorizationKey }).(pulumi.StringPtrOutput)
}
-// The name of the resource. This name can be used to access the resource.
-func (o ContainerNetworkInterfaceIpConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceIpConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Enable internet security.
+func (o ExpressRouteConnectionResponseOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionResponse) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
}
-// The provisioning state of the container network interface IP configuration resource.
-func (o ContainerNetworkInterfaceIpConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceIpConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
+func (o ExpressRouteConnectionResponseOutput) EnablePrivateLinkFastPath() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionResponse) *bool { return v.EnablePrivateLinkFastPath }).(pulumi.BoolPtrOutput)
}
-// Sub Resource type.
-func (o ContainerNetworkInterfaceIpConfigurationResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceIpConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
+// The ExpressRoute circuit peering.
+func (o ExpressRouteConnectionResponseOutput) ExpressRouteCircuitPeering() ExpressRouteCircuitPeeringIdResponseOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionResponse) ExpressRouteCircuitPeeringIdResponse {
+ return v.ExpressRouteCircuitPeering
+ }).(ExpressRouteCircuitPeeringIdResponseOutput)
}
-type ContainerNetworkInterfaceIpConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+// Enable FastPath to vWan Firewall hub.
+func (o ExpressRouteConnectionResponseOutput) ExpressRouteGatewayBypass() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionResponse) *bool { return v.ExpressRouteGatewayBypass }).(pulumi.BoolPtrOutput)
+}
-func (ContainerNetworkInterfaceIpConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ContainerNetworkInterfaceIpConfigurationResponse)(nil)).Elem()
+// Resource ID.
+func (o ExpressRouteConnectionResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o ContainerNetworkInterfaceIpConfigurationResponseArrayOutput) ToContainerNetworkInterfaceIpConfigurationResponseArrayOutput() ContainerNetworkInterfaceIpConfigurationResponseArrayOutput {
- return o
+// The name of the resource.
+func (o ExpressRouteConnectionResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (o ContainerNetworkInterfaceIpConfigurationResponseArrayOutput) ToContainerNetworkInterfaceIpConfigurationResponseArrayOutputWithContext(ctx context.Context) ContainerNetworkInterfaceIpConfigurationResponseArrayOutput {
- return o
+// The provisioning state of the express route connection resource.
+func (o ExpressRouteConnectionResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o ContainerNetworkInterfaceIpConfigurationResponseArrayOutput) Index(i pulumi.IntInput) ContainerNetworkInterfaceIpConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContainerNetworkInterfaceIpConfigurationResponse {
- return vs[0].([]ContainerNetworkInterfaceIpConfigurationResponse)[vs[1].(int)]
- }).(ContainerNetworkInterfaceIpConfigurationResponseOutput)
+// The Routing Configuration indicating the associated and propagated route tables on this connection.
+func (o ExpressRouteConnectionResponseOutput) RoutingConfiguration() RoutingConfigurationExpressRouteGatewayResponsePtrOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionResponse) *RoutingConfigurationExpressRouteGatewayResponse {
+ return v.RoutingConfiguration
+ }).(RoutingConfigurationExpressRouteGatewayResponsePtrOutput)
}
-// Container network interface child resource.
-type ContainerNetworkInterfaceResponse struct {
- // Reference to the container to which this container network interface is attached.
- Container *ContainerResponse `pulumi:"container"`
- // Container network interface configuration from which this container network interface is created.
- ContainerNetworkInterfaceConfiguration ContainerNetworkInterfaceConfigurationResponse `pulumi:"containerNetworkInterfaceConfiguration"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Reference to the ip configuration on this container nic.
- IpConfigurations []ContainerNetworkInterfaceIpConfigurationResponse `pulumi:"ipConfigurations"`
- // The name of the resource. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the container network interface resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Sub Resource type.
- Type string `pulumi:"type"`
+// The routing weight associated to the connection.
+func (o ExpressRouteConnectionResponseOutput) RoutingWeight() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExpressRouteConnectionResponse) *int { return v.RoutingWeight }).(pulumi.IntPtrOutput)
}
-// Container network interface child resource.
-type ContainerNetworkInterfaceResponseOutput struct{ *pulumi.OutputState }
+type ExpressRouteConnectionResponseArrayOutput struct{ *pulumi.OutputState }
-func (ContainerNetworkInterfaceResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ContainerNetworkInterfaceResponse)(nil)).Elem()
+func (ExpressRouteConnectionResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExpressRouteConnectionResponse)(nil)).Elem()
}
-func (o ContainerNetworkInterfaceResponseOutput) ToContainerNetworkInterfaceResponseOutput() ContainerNetworkInterfaceResponseOutput {
+func (o ExpressRouteConnectionResponseArrayOutput) ToExpressRouteConnectionResponseArrayOutput() ExpressRouteConnectionResponseArrayOutput {
return o
}
-func (o ContainerNetworkInterfaceResponseOutput) ToContainerNetworkInterfaceResponseOutputWithContext(ctx context.Context) ContainerNetworkInterfaceResponseOutput {
+func (o ExpressRouteConnectionResponseArrayOutput) ToExpressRouteConnectionResponseArrayOutputWithContext(ctx context.Context) ExpressRouteConnectionResponseArrayOutput {
return o
}
-// Reference to the container to which this container network interface is attached.
-func (o ContainerNetworkInterfaceResponseOutput) Container() ContainerResponsePtrOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceResponse) *ContainerResponse { return v.Container }).(ContainerResponsePtrOutput)
+func (o ExpressRouteConnectionResponseArrayOutput) Index(i pulumi.IntInput) ExpressRouteConnectionResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteConnectionResponse {
+ return vs[0].([]ExpressRouteConnectionResponse)[vs[1].(int)]
+ }).(ExpressRouteConnectionResponseOutput)
}
-// Container network interface configuration from which this container network interface is created.
-func (o ContainerNetworkInterfaceResponseOutput) ContainerNetworkInterfaceConfiguration() ContainerNetworkInterfaceConfigurationResponseOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceResponse) ContainerNetworkInterfaceConfigurationResponse {
- return v.ContainerNetworkInterfaceConfiguration
- }).(ContainerNetworkInterfaceConfigurationResponseOutput)
+// Configuration for auto scaling.
+type ExpressRouteGatewayPropertiesAutoScaleConfiguration struct {
+ // Minimum and maximum number of scale units to deploy.
+ Bounds *ExpressRouteGatewayPropertiesBounds `pulumi:"bounds"`
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o ContainerNetworkInterfaceResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceResponse) string { return v.Etag }).(pulumi.StringOutput)
+// ExpressRouteGatewayPropertiesAutoScaleConfigurationInput is an input type that accepts ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs and ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput values.
+// You can construct a concrete instance of `ExpressRouteGatewayPropertiesAutoScaleConfigurationInput` via:
+//
+// ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs{...}
+type ExpressRouteGatewayPropertiesAutoScaleConfigurationInput interface {
+ pulumi.Input
+
+ ToExpressRouteGatewayPropertiesAutoScaleConfigurationOutput() ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput
+ ToExpressRouteGatewayPropertiesAutoScaleConfigurationOutputWithContext(context.Context) ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput
}
-// Resource ID.
-func (o ContainerNetworkInterfaceResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Configuration for auto scaling.
+type ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs struct {
+ // Minimum and maximum number of scale units to deploy.
+ Bounds ExpressRouteGatewayPropertiesBoundsPtrInput `pulumi:"bounds"`
}
-// Reference to the ip configuration on this container nic.
-func (o ContainerNetworkInterfaceResponseOutput) IpConfigurations() ContainerNetworkInterfaceIpConfigurationResponseArrayOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceResponse) []ContainerNetworkInterfaceIpConfigurationResponse {
- return v.IpConfigurations
- }).(ContainerNetworkInterfaceIpConfigurationResponseArrayOutput)
+func (ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteGatewayPropertiesAutoScaleConfiguration)(nil)).Elem()
}
-// The name of the resource. This name can be used to access the resource.
-func (o ContainerNetworkInterfaceResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (i ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs) ToExpressRouteGatewayPropertiesAutoScaleConfigurationOutput() ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput {
+ return i.ToExpressRouteGatewayPropertiesAutoScaleConfigurationOutputWithContext(context.Background())
}
-// The provisioning state of the container network interface resource.
-func (o ContainerNetworkInterfaceResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (i ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs) ToExpressRouteGatewayPropertiesAutoScaleConfigurationOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput)
}
-// Sub Resource type.
-func (o ContainerNetworkInterfaceResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v ContainerNetworkInterfaceResponse) string { return v.Type }).(pulumi.StringOutput)
+func (i ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs) ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput() ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput {
+ return i.ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(context.Background())
}
-type ContainerNetworkInterfaceResponseArrayOutput struct{ *pulumi.OutputState }
+func (i ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs) ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput).ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(ctx)
+}
-func (ContainerNetworkInterfaceResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ContainerNetworkInterfaceResponse)(nil)).Elem()
+// ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrInput is an input type that accepts ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs, ExpressRouteGatewayPropertiesAutoScaleConfigurationPtr and ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput values.
+// You can construct a concrete instance of `ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrInput` via:
+//
+// ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs{...}
+//
+// or:
+//
+// nil
+type ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrInput interface {
+ pulumi.Input
+
+ ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput() ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput
+ ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(context.Context) ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput
}
-func (o ContainerNetworkInterfaceResponseArrayOutput) ToContainerNetworkInterfaceResponseArrayOutput() ContainerNetworkInterfaceResponseArrayOutput {
- return o
+type expressRouteGatewayPropertiesAutoScaleConfigurationPtrType ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs
+
+func ExpressRouteGatewayPropertiesAutoScaleConfigurationPtr(v *ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs) ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrInput {
+ return (*expressRouteGatewayPropertiesAutoScaleConfigurationPtrType)(v)
}
-func (o ContainerNetworkInterfaceResponseArrayOutput) ToContainerNetworkInterfaceResponseArrayOutputWithContext(ctx context.Context) ContainerNetworkInterfaceResponseArrayOutput {
- return o
+func (*expressRouteGatewayPropertiesAutoScaleConfigurationPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteGatewayPropertiesAutoScaleConfiguration)(nil)).Elem()
}
-func (o ContainerNetworkInterfaceResponseArrayOutput) Index(i pulumi.IntInput) ContainerNetworkInterfaceResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContainerNetworkInterfaceResponse {
- return vs[0].([]ContainerNetworkInterfaceResponse)[vs[1].(int)]
- }).(ContainerNetworkInterfaceResponseOutput)
+func (i *expressRouteGatewayPropertiesAutoScaleConfigurationPtrType) ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput() ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput {
+ return i.ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(context.Background())
}
-// Reference to container resource in remote resource provider.
-type ContainerResponse struct {
- // Resource ID.
- Id *string `pulumi:"id"`
+func (i *expressRouteGatewayPropertiesAutoScaleConfigurationPtrType) ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput)
}
-// Reference to container resource in remote resource provider.
-type ContainerResponseOutput struct{ *pulumi.OutputState }
+// Configuration for auto scaling.
+type ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput struct{ *pulumi.OutputState }
-func (ContainerResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ContainerResponse)(nil)).Elem()
+func (ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteGatewayPropertiesAutoScaleConfiguration)(nil)).Elem()
}
-func (o ContainerResponseOutput) ToContainerResponseOutput() ContainerResponseOutput {
+func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput) ToExpressRouteGatewayPropertiesAutoScaleConfigurationOutput() ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput {
return o
}
-func (o ContainerResponseOutput) ToContainerResponseOutputWithContext(ctx context.Context) ContainerResponseOutput {
+func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput) ToExpressRouteGatewayPropertiesAutoScaleConfigurationOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput {
return o
}
-// Resource ID.
-func (o ContainerResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ContainerResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
+func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput) ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput() ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput {
+ return o.ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(context.Background())
+}
-type ContainerResponsePtrOutput struct{ *pulumi.OutputState }
+func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput) ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ExpressRouteGatewayPropertiesAutoScaleConfiguration) *ExpressRouteGatewayPropertiesAutoScaleConfiguration {
+ return &v
+ }).(ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput)
+}
-func (ContainerResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ContainerResponse)(nil)).Elem()
+// Minimum and maximum number of scale units to deploy.
+func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput) Bounds() ExpressRouteGatewayPropertiesBoundsPtrOutput {
+ return o.ApplyT(func(v ExpressRouteGatewayPropertiesAutoScaleConfiguration) *ExpressRouteGatewayPropertiesBounds {
+ return v.Bounds
+ }).(ExpressRouteGatewayPropertiesBoundsPtrOutput)
}
-func (o ContainerResponsePtrOutput) ToContainerResponsePtrOutput() ContainerResponsePtrOutput {
+type ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteGatewayPropertiesAutoScaleConfiguration)(nil)).Elem()
+}
+
+func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput) ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput() ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput {
return o
}
-func (o ContainerResponsePtrOutput) ToContainerResponsePtrOutputWithContext(ctx context.Context) ContainerResponsePtrOutput {
+func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput) ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput {
return o
}
-func (o ContainerResponsePtrOutput) Elem() ContainerResponseOutput {
- return o.ApplyT(func(v *ContainerResponse) ContainerResponse {
+func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput) Elem() ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput {
+ return o.ApplyT(func(v *ExpressRouteGatewayPropertiesAutoScaleConfiguration) ExpressRouteGatewayPropertiesAutoScaleConfiguration {
if v != nil {
return *v
}
- var ret ContainerResponse
+ var ret ExpressRouteGatewayPropertiesAutoScaleConfiguration
return ret
- }).(ContainerResponseOutput)
+ }).(ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput)
}
-// Resource ID.
-func (o ContainerResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ContainerResponse) *string {
+// Minimum and maximum number of scale units to deploy.
+func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput) Bounds() ExpressRouteGatewayPropertiesBoundsPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteGatewayPropertiesAutoScaleConfiguration) *ExpressRouteGatewayPropertiesBounds {
if v == nil {
return nil
}
- return v.Id
- }).(pulumi.StringPtrOutput)
+ return v.Bounds
+ }).(ExpressRouteGatewayPropertiesBoundsPtrOutput)
}
-// A matching criteria which matches routes based on route prefix, community, and AS path.
-type Criterion struct {
- // List of AS paths which this criteria matches.
- AsPath []string `pulumi:"asPath"`
- // List of BGP communities which this criteria matches.
- Community []string `pulumi:"community"`
- // Match condition to apply RouteMap rules.
- MatchCondition *string `pulumi:"matchCondition"`
- // List of route prefixes which this criteria matches.
- RoutePrefix []string `pulumi:"routePrefix"`
+// Minimum and maximum number of scale units to deploy.
+type ExpressRouteGatewayPropertiesBounds struct {
+ // Maximum number of scale units deployed for ExpressRoute gateway.
+ Max *int `pulumi:"max"`
+ // Minimum number of scale units deployed for ExpressRoute gateway.
+ Min *int `pulumi:"min"`
}
-// CriterionInput is an input type that accepts CriterionArgs and CriterionOutput values.
-// You can construct a concrete instance of `CriterionInput` via:
+// ExpressRouteGatewayPropertiesBoundsInput is an input type that accepts ExpressRouteGatewayPropertiesBoundsArgs and ExpressRouteGatewayPropertiesBoundsOutput values.
+// You can construct a concrete instance of `ExpressRouteGatewayPropertiesBoundsInput` via:
//
-// CriterionArgs{...}
-type CriterionInput interface {
+// ExpressRouteGatewayPropertiesBoundsArgs{...}
+type ExpressRouteGatewayPropertiesBoundsInput interface {
pulumi.Input
- ToCriterionOutput() CriterionOutput
- ToCriterionOutputWithContext(context.Context) CriterionOutput
+ ToExpressRouteGatewayPropertiesBoundsOutput() ExpressRouteGatewayPropertiesBoundsOutput
+ ToExpressRouteGatewayPropertiesBoundsOutputWithContext(context.Context) ExpressRouteGatewayPropertiesBoundsOutput
}
-// A matching criteria which matches routes based on route prefix, community, and AS path.
-type CriterionArgs struct {
- // List of AS paths which this criteria matches.
- AsPath pulumi.StringArrayInput `pulumi:"asPath"`
- // List of BGP communities which this criteria matches.
- Community pulumi.StringArrayInput `pulumi:"community"`
- // Match condition to apply RouteMap rules.
- MatchCondition pulumi.StringPtrInput `pulumi:"matchCondition"`
- // List of route prefixes which this criteria matches.
- RoutePrefix pulumi.StringArrayInput `pulumi:"routePrefix"`
+// Minimum and maximum number of scale units to deploy.
+type ExpressRouteGatewayPropertiesBoundsArgs struct {
+ // Maximum number of scale units deployed for ExpressRoute gateway.
+ Max pulumi.IntPtrInput `pulumi:"max"`
+ // Minimum number of scale units deployed for ExpressRoute gateway.
+ Min pulumi.IntPtrInput `pulumi:"min"`
}
-func (CriterionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*Criterion)(nil)).Elem()
+func (ExpressRouteGatewayPropertiesBoundsArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteGatewayPropertiesBounds)(nil)).Elem()
}
-func (i CriterionArgs) ToCriterionOutput() CriterionOutput {
- return i.ToCriterionOutputWithContext(context.Background())
+func (i ExpressRouteGatewayPropertiesBoundsArgs) ToExpressRouteGatewayPropertiesBoundsOutput() ExpressRouteGatewayPropertiesBoundsOutput {
+ return i.ToExpressRouteGatewayPropertiesBoundsOutputWithContext(context.Background())
}
-func (i CriterionArgs) ToCriterionOutputWithContext(ctx context.Context) CriterionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CriterionOutput)
+func (i ExpressRouteGatewayPropertiesBoundsArgs) ToExpressRouteGatewayPropertiesBoundsOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesBoundsOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteGatewayPropertiesBoundsOutput)
}
-// CriterionArrayInput is an input type that accepts CriterionArray and CriterionArrayOutput values.
-// You can construct a concrete instance of `CriterionArrayInput` via:
+func (i ExpressRouteGatewayPropertiesBoundsArgs) ToExpressRouteGatewayPropertiesBoundsPtrOutput() ExpressRouteGatewayPropertiesBoundsPtrOutput {
+ return i.ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(context.Background())
+}
+
+func (i ExpressRouteGatewayPropertiesBoundsArgs) ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesBoundsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteGatewayPropertiesBoundsOutput).ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(ctx)
+}
+
+// ExpressRouteGatewayPropertiesBoundsPtrInput is an input type that accepts ExpressRouteGatewayPropertiesBoundsArgs, ExpressRouteGatewayPropertiesBoundsPtr and ExpressRouteGatewayPropertiesBoundsPtrOutput values.
+// You can construct a concrete instance of `ExpressRouteGatewayPropertiesBoundsPtrInput` via:
//
-// CriterionArray{ CriterionArgs{...} }
-type CriterionArrayInput interface {
+// ExpressRouteGatewayPropertiesBoundsArgs{...}
+//
+// or:
+//
+// nil
+type ExpressRouteGatewayPropertiesBoundsPtrInput interface {
pulumi.Input
- ToCriterionArrayOutput() CriterionArrayOutput
- ToCriterionArrayOutputWithContext(context.Context) CriterionArrayOutput
+ ToExpressRouteGatewayPropertiesBoundsPtrOutput() ExpressRouteGatewayPropertiesBoundsPtrOutput
+ ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(context.Context) ExpressRouteGatewayPropertiesBoundsPtrOutput
}
-type CriterionArray []CriterionInput
+type expressRouteGatewayPropertiesBoundsPtrType ExpressRouteGatewayPropertiesBoundsArgs
-func (CriterionArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]Criterion)(nil)).Elem()
+func ExpressRouteGatewayPropertiesBoundsPtr(v *ExpressRouteGatewayPropertiesBoundsArgs) ExpressRouteGatewayPropertiesBoundsPtrInput {
+ return (*expressRouteGatewayPropertiesBoundsPtrType)(v)
}
-func (i CriterionArray) ToCriterionArrayOutput() CriterionArrayOutput {
- return i.ToCriterionArrayOutputWithContext(context.Background())
+func (*expressRouteGatewayPropertiesBoundsPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteGatewayPropertiesBounds)(nil)).Elem()
}
-func (i CriterionArray) ToCriterionArrayOutputWithContext(ctx context.Context) CriterionArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CriterionArrayOutput)
+func (i *expressRouteGatewayPropertiesBoundsPtrType) ToExpressRouteGatewayPropertiesBoundsPtrOutput() ExpressRouteGatewayPropertiesBoundsPtrOutput {
+ return i.ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(context.Background())
}
-// A matching criteria which matches routes based on route prefix, community, and AS path.
-type CriterionOutput struct{ *pulumi.OutputState }
+func (i *expressRouteGatewayPropertiesBoundsPtrType) ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesBoundsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteGatewayPropertiesBoundsPtrOutput)
+}
-func (CriterionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*Criterion)(nil)).Elem()
+// Minimum and maximum number of scale units to deploy.
+type ExpressRouteGatewayPropertiesBoundsOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteGatewayPropertiesBoundsOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteGatewayPropertiesBounds)(nil)).Elem()
}
-func (o CriterionOutput) ToCriterionOutput() CriterionOutput {
+func (o ExpressRouteGatewayPropertiesBoundsOutput) ToExpressRouteGatewayPropertiesBoundsOutput() ExpressRouteGatewayPropertiesBoundsOutput {
return o
}
-func (o CriterionOutput) ToCriterionOutputWithContext(ctx context.Context) CriterionOutput {
+func (o ExpressRouteGatewayPropertiesBoundsOutput) ToExpressRouteGatewayPropertiesBoundsOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesBoundsOutput {
return o
}
-// List of AS paths which this criteria matches.
-func (o CriterionOutput) AsPath() pulumi.StringArrayOutput {
- return o.ApplyT(func(v Criterion) []string { return v.AsPath }).(pulumi.StringArrayOutput)
+func (o ExpressRouteGatewayPropertiesBoundsOutput) ToExpressRouteGatewayPropertiesBoundsPtrOutput() ExpressRouteGatewayPropertiesBoundsPtrOutput {
+ return o.ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(context.Background())
}
-// List of BGP communities which this criteria matches.
-func (o CriterionOutput) Community() pulumi.StringArrayOutput {
- return o.ApplyT(func(v Criterion) []string { return v.Community }).(pulumi.StringArrayOutput)
+func (o ExpressRouteGatewayPropertiesBoundsOutput) ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesBoundsPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ExpressRouteGatewayPropertiesBounds) *ExpressRouteGatewayPropertiesBounds {
+ return &v
+ }).(ExpressRouteGatewayPropertiesBoundsPtrOutput)
}
-// Match condition to apply RouteMap rules.
-func (o CriterionOutput) MatchCondition() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Criterion) *string { return v.MatchCondition }).(pulumi.StringPtrOutput)
+// Maximum number of scale units deployed for ExpressRoute gateway.
+func (o ExpressRouteGatewayPropertiesBoundsOutput) Max() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExpressRouteGatewayPropertiesBounds) *int { return v.Max }).(pulumi.IntPtrOutput)
}
-// List of route prefixes which this criteria matches.
-func (o CriterionOutput) RoutePrefix() pulumi.StringArrayOutput {
- return o.ApplyT(func(v Criterion) []string { return v.RoutePrefix }).(pulumi.StringArrayOutput)
+// Minimum number of scale units deployed for ExpressRoute gateway.
+func (o ExpressRouteGatewayPropertiesBoundsOutput) Min() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExpressRouteGatewayPropertiesBounds) *int { return v.Min }).(pulumi.IntPtrOutput)
}
-type CriterionArrayOutput struct{ *pulumi.OutputState }
+type ExpressRouteGatewayPropertiesBoundsPtrOutput struct{ *pulumi.OutputState }
-func (CriterionArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]Criterion)(nil)).Elem()
+func (ExpressRouteGatewayPropertiesBoundsPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteGatewayPropertiesBounds)(nil)).Elem()
}
-func (o CriterionArrayOutput) ToCriterionArrayOutput() CriterionArrayOutput {
+func (o ExpressRouteGatewayPropertiesBoundsPtrOutput) ToExpressRouteGatewayPropertiesBoundsPtrOutput() ExpressRouteGatewayPropertiesBoundsPtrOutput {
return o
}
-func (o CriterionArrayOutput) ToCriterionArrayOutputWithContext(ctx context.Context) CriterionArrayOutput {
+func (o ExpressRouteGatewayPropertiesBoundsPtrOutput) ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesBoundsPtrOutput {
return o
}
-func (o CriterionArrayOutput) Index(i pulumi.IntInput) CriterionOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) Criterion {
- return vs[0].([]Criterion)[vs[1].(int)]
- }).(CriterionOutput)
+func (o ExpressRouteGatewayPropertiesBoundsPtrOutput) Elem() ExpressRouteGatewayPropertiesBoundsOutput {
+ return o.ApplyT(func(v *ExpressRouteGatewayPropertiesBounds) ExpressRouteGatewayPropertiesBounds {
+ if v != nil {
+ return *v
+ }
+ var ret ExpressRouteGatewayPropertiesBounds
+ return ret
+ }).(ExpressRouteGatewayPropertiesBoundsOutput)
}
-// A matching criteria which matches routes based on route prefix, community, and AS path.
-type CriterionResponse struct {
- // List of AS paths which this criteria matches.
- AsPath []string `pulumi:"asPath"`
- // List of BGP communities which this criteria matches.
- Community []string `pulumi:"community"`
- // Match condition to apply RouteMap rules.
- MatchCondition *string `pulumi:"matchCondition"`
- // List of route prefixes which this criteria matches.
- RoutePrefix []string `pulumi:"routePrefix"`
+// Maximum number of scale units deployed for ExpressRoute gateway.
+func (o ExpressRouteGatewayPropertiesBoundsPtrOutput) Max() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteGatewayPropertiesBounds) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Max
+ }).(pulumi.IntPtrOutput)
}
-// A matching criteria which matches routes based on route prefix, community, and AS path.
-type CriterionResponseOutput struct{ *pulumi.OutputState }
-
-func (CriterionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CriterionResponse)(nil)).Elem()
+// Minimum number of scale units deployed for ExpressRoute gateway.
+func (o ExpressRouteGatewayPropertiesBoundsPtrOutput) Min() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteGatewayPropertiesBounds) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Min
+ }).(pulumi.IntPtrOutput)
}
-func (o CriterionResponseOutput) ToCriterionResponseOutput() CriterionResponseOutput {
- return o
+// Configuration for auto scaling.
+type ExpressRouteGatewayPropertiesResponseAutoScaleConfiguration struct {
+ // Minimum and maximum number of scale units to deploy.
+ Bounds *ExpressRouteGatewayPropertiesResponseBounds `pulumi:"bounds"`
}
-func (o CriterionResponseOutput) ToCriterionResponseOutputWithContext(ctx context.Context) CriterionResponseOutput {
- return o
-}
+// Configuration for auto scaling.
+type ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput struct{ *pulumi.OutputState }
-// List of AS paths which this criteria matches.
-func (o CriterionResponseOutput) AsPath() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CriterionResponse) []string { return v.AsPath }).(pulumi.StringArrayOutput)
+func (ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteGatewayPropertiesResponseAutoScaleConfiguration)(nil)).Elem()
}
-// List of BGP communities which this criteria matches.
-func (o CriterionResponseOutput) Community() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CriterionResponse) []string { return v.Community }).(pulumi.StringArrayOutput)
+func (o ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput) ToExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput() ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput {
+ return o
}
-// Match condition to apply RouteMap rules.
-func (o CriterionResponseOutput) MatchCondition() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CriterionResponse) *string { return v.MatchCondition }).(pulumi.StringPtrOutput)
+func (o ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput) ToExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput {
+ return o
}
-// List of route prefixes which this criteria matches.
-func (o CriterionResponseOutput) RoutePrefix() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CriterionResponse) []string { return v.RoutePrefix }).(pulumi.StringArrayOutput)
+// Minimum and maximum number of scale units to deploy.
+func (o ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput) Bounds() ExpressRouteGatewayPropertiesResponseBoundsPtrOutput {
+ return o.ApplyT(func(v ExpressRouteGatewayPropertiesResponseAutoScaleConfiguration) *ExpressRouteGatewayPropertiesResponseBounds {
+ return v.Bounds
+ }).(ExpressRouteGatewayPropertiesResponseBoundsPtrOutput)
}
-type CriterionResponseArrayOutput struct{ *pulumi.OutputState }
+type ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput struct{ *pulumi.OutputState }
-func (CriterionResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CriterionResponse)(nil)).Elem()
+func (ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteGatewayPropertiesResponseAutoScaleConfiguration)(nil)).Elem()
}
-func (o CriterionResponseArrayOutput) ToCriterionResponseArrayOutput() CriterionResponseArrayOutput {
+func (o ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput) ToExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput() ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput {
return o
}
-func (o CriterionResponseArrayOutput) ToCriterionResponseArrayOutputWithContext(ctx context.Context) CriterionResponseArrayOutput {
+func (o ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput) ToExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput {
return o
}
-func (o CriterionResponseArrayOutput) Index(i pulumi.IntInput) CriterionResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CriterionResponse {
- return vs[0].([]CriterionResponse)[vs[1].(int)]
- }).(CriterionResponseOutput)
+func (o ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput) Elem() ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput {
+ return o.ApplyT(func(v *ExpressRouteGatewayPropertiesResponseAutoScaleConfiguration) ExpressRouteGatewayPropertiesResponseAutoScaleConfiguration {
+ if v != nil {
+ return *v
+ }
+ var ret ExpressRouteGatewayPropertiesResponseAutoScaleConfiguration
+ return ret
+ }).(ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput)
}
-// Cross tenant scopes.
-type CrossTenantScopesResponse struct {
- // List of management groups.
- ManagementGroups []string `pulumi:"managementGroups"`
- // List of subscriptions.
- Subscriptions []string `pulumi:"subscriptions"`
- // Tenant ID.
- TenantId string `pulumi:"tenantId"`
+// Minimum and maximum number of scale units to deploy.
+func (o ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput) Bounds() ExpressRouteGatewayPropertiesResponseBoundsPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteGatewayPropertiesResponseAutoScaleConfiguration) *ExpressRouteGatewayPropertiesResponseBounds {
+ if v == nil {
+ return nil
+ }
+ return v.Bounds
+ }).(ExpressRouteGatewayPropertiesResponseBoundsPtrOutput)
}
-// Cross tenant scopes.
-type CrossTenantScopesResponseOutput struct{ *pulumi.OutputState }
-
-func (CrossTenantScopesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CrossTenantScopesResponse)(nil)).Elem()
+// Minimum and maximum number of scale units to deploy.
+type ExpressRouteGatewayPropertiesResponseBounds struct {
+ // Maximum number of scale units deployed for ExpressRoute gateway.
+ Max *int `pulumi:"max"`
+ // Minimum number of scale units deployed for ExpressRoute gateway.
+ Min *int `pulumi:"min"`
}
-func (o CrossTenantScopesResponseOutput) ToCrossTenantScopesResponseOutput() CrossTenantScopesResponseOutput {
- return o
+// Minimum and maximum number of scale units to deploy.
+type ExpressRouteGatewayPropertiesResponseBoundsOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteGatewayPropertiesResponseBoundsOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteGatewayPropertiesResponseBounds)(nil)).Elem()
}
-func (o CrossTenantScopesResponseOutput) ToCrossTenantScopesResponseOutputWithContext(ctx context.Context) CrossTenantScopesResponseOutput {
+func (o ExpressRouteGatewayPropertiesResponseBoundsOutput) ToExpressRouteGatewayPropertiesResponseBoundsOutput() ExpressRouteGatewayPropertiesResponseBoundsOutput {
return o
}
-// List of management groups.
-func (o CrossTenantScopesResponseOutput) ManagementGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CrossTenantScopesResponse) []string { return v.ManagementGroups }).(pulumi.StringArrayOutput)
+func (o ExpressRouteGatewayPropertiesResponseBoundsOutput) ToExpressRouteGatewayPropertiesResponseBoundsOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesResponseBoundsOutput {
+ return o
}
-// List of subscriptions.
-func (o CrossTenantScopesResponseOutput) Subscriptions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CrossTenantScopesResponse) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
+// Maximum number of scale units deployed for ExpressRoute gateway.
+func (o ExpressRouteGatewayPropertiesResponseBoundsOutput) Max() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExpressRouteGatewayPropertiesResponseBounds) *int { return v.Max }).(pulumi.IntPtrOutput)
}
-// Tenant ID.
-func (o CrossTenantScopesResponseOutput) TenantId() pulumi.StringOutput {
- return o.ApplyT(func(v CrossTenantScopesResponse) string { return v.TenantId }).(pulumi.StringOutput)
+// Minimum number of scale units deployed for ExpressRoute gateway.
+func (o ExpressRouteGatewayPropertiesResponseBoundsOutput) Min() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ExpressRouteGatewayPropertiesResponseBounds) *int { return v.Min }).(pulumi.IntPtrOutput)
}
-type CrossTenantScopesResponseArrayOutput struct{ *pulumi.OutputState }
+type ExpressRouteGatewayPropertiesResponseBoundsPtrOutput struct{ *pulumi.OutputState }
-func (CrossTenantScopesResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CrossTenantScopesResponse)(nil)).Elem()
+func (ExpressRouteGatewayPropertiesResponseBoundsPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteGatewayPropertiesResponseBounds)(nil)).Elem()
}
-func (o CrossTenantScopesResponseArrayOutput) ToCrossTenantScopesResponseArrayOutput() CrossTenantScopesResponseArrayOutput {
+func (o ExpressRouteGatewayPropertiesResponseBoundsPtrOutput) ToExpressRouteGatewayPropertiesResponseBoundsPtrOutput() ExpressRouteGatewayPropertiesResponseBoundsPtrOutput {
return o
}
-func (o CrossTenantScopesResponseArrayOutput) ToCrossTenantScopesResponseArrayOutputWithContext(ctx context.Context) CrossTenantScopesResponseArrayOutput {
+func (o ExpressRouteGatewayPropertiesResponseBoundsPtrOutput) ToExpressRouteGatewayPropertiesResponseBoundsPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesResponseBoundsPtrOutput {
return o
}
-func (o CrossTenantScopesResponseArrayOutput) Index(i pulumi.IntInput) CrossTenantScopesResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CrossTenantScopesResponse {
- return vs[0].([]CrossTenantScopesResponse)[vs[1].(int)]
- }).(CrossTenantScopesResponseOutput)
+func (o ExpressRouteGatewayPropertiesResponseBoundsPtrOutput) Elem() ExpressRouteGatewayPropertiesResponseBoundsOutput {
+ return o.ApplyT(func(v *ExpressRouteGatewayPropertiesResponseBounds) ExpressRouteGatewayPropertiesResponseBounds {
+ if v != nil {
+ return *v
+ }
+ var ret ExpressRouteGatewayPropertiesResponseBounds
+ return ret
+ }).(ExpressRouteGatewayPropertiesResponseBoundsOutput)
}
-// Contains custom Dns resolution configuration from customer.
-type CustomDnsConfigPropertiesFormat struct {
- // Fqdn that resolves to private endpoint ip address.
- Fqdn *string `pulumi:"fqdn"`
- // A list of private ip addresses of the private endpoint.
- IpAddresses []string `pulumi:"ipAddresses"`
+// Maximum number of scale units deployed for ExpressRoute gateway.
+func (o ExpressRouteGatewayPropertiesResponseBoundsPtrOutput) Max() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteGatewayPropertiesResponseBounds) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Max
+ }).(pulumi.IntPtrOutput)
}
-// CustomDnsConfigPropertiesFormatInput is an input type that accepts CustomDnsConfigPropertiesFormatArgs and CustomDnsConfigPropertiesFormatOutput values.
-// You can construct a concrete instance of `CustomDnsConfigPropertiesFormatInput` via:
+// Minimum number of scale units deployed for ExpressRoute gateway.
+func (o ExpressRouteGatewayPropertiesResponseBoundsPtrOutput) Min() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteGatewayPropertiesResponseBounds) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Min
+ }).(pulumi.IntPtrOutput)
+}
+
+// ExpressRouteLink child resource definition.
+type ExpressRouteLink struct {
+ // Administrative state of the physical port.
+ AdminState *string `pulumi:"adminState"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // MacSec configuration.
+ MacSecConfig *ExpressRouteLinkMacSecConfig `pulumi:"macSecConfig"`
+ // Name of child port resource that is unique among child port resources of the parent.
+ Name *string `pulumi:"name"`
+}
+
+// ExpressRouteLinkInput is an input type that accepts ExpressRouteLinkArgs and ExpressRouteLinkOutput values.
+// You can construct a concrete instance of `ExpressRouteLinkInput` via:
//
-// CustomDnsConfigPropertiesFormatArgs{...}
-type CustomDnsConfigPropertiesFormatInput interface {
+// ExpressRouteLinkArgs{...}
+type ExpressRouteLinkInput interface {
pulumi.Input
- ToCustomDnsConfigPropertiesFormatOutput() CustomDnsConfigPropertiesFormatOutput
- ToCustomDnsConfigPropertiesFormatOutputWithContext(context.Context) CustomDnsConfigPropertiesFormatOutput
+ ToExpressRouteLinkOutput() ExpressRouteLinkOutput
+ ToExpressRouteLinkOutputWithContext(context.Context) ExpressRouteLinkOutput
}
-// Contains custom Dns resolution configuration from customer.
-type CustomDnsConfigPropertiesFormatArgs struct {
- // Fqdn that resolves to private endpoint ip address.
- Fqdn pulumi.StringPtrInput `pulumi:"fqdn"`
- // A list of private ip addresses of the private endpoint.
- IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"`
+// ExpressRouteLink child resource definition.
+type ExpressRouteLinkArgs struct {
+ // Administrative state of the physical port.
+ AdminState pulumi.StringPtrInput `pulumi:"adminState"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // MacSec configuration.
+ MacSecConfig ExpressRouteLinkMacSecConfigPtrInput `pulumi:"macSecConfig"`
+ // Name of child port resource that is unique among child port resources of the parent.
+ Name pulumi.StringPtrInput `pulumi:"name"`
}
-func (CustomDnsConfigPropertiesFormatArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*CustomDnsConfigPropertiesFormat)(nil)).Elem()
+func (ExpressRouteLinkArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteLink)(nil)).Elem()
}
-func (i CustomDnsConfigPropertiesFormatArgs) ToCustomDnsConfigPropertiesFormatOutput() CustomDnsConfigPropertiesFormatOutput {
- return i.ToCustomDnsConfigPropertiesFormatOutputWithContext(context.Background())
+func (i ExpressRouteLinkArgs) ToExpressRouteLinkOutput() ExpressRouteLinkOutput {
+ return i.ToExpressRouteLinkOutputWithContext(context.Background())
}
-func (i CustomDnsConfigPropertiesFormatArgs) ToCustomDnsConfigPropertiesFormatOutputWithContext(ctx context.Context) CustomDnsConfigPropertiesFormatOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CustomDnsConfigPropertiesFormatOutput)
+func (i ExpressRouteLinkArgs) ToExpressRouteLinkOutputWithContext(ctx context.Context) ExpressRouteLinkOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteLinkOutput)
}
-// CustomDnsConfigPropertiesFormatArrayInput is an input type that accepts CustomDnsConfigPropertiesFormatArray and CustomDnsConfigPropertiesFormatArrayOutput values.
-// You can construct a concrete instance of `CustomDnsConfigPropertiesFormatArrayInput` via:
+// ExpressRouteLinkArrayInput is an input type that accepts ExpressRouteLinkArray and ExpressRouteLinkArrayOutput values.
+// You can construct a concrete instance of `ExpressRouteLinkArrayInput` via:
//
-// CustomDnsConfigPropertiesFormatArray{ CustomDnsConfigPropertiesFormatArgs{...} }
-type CustomDnsConfigPropertiesFormatArrayInput interface {
+// ExpressRouteLinkArray{ ExpressRouteLinkArgs{...} }
+type ExpressRouteLinkArrayInput interface {
pulumi.Input
- ToCustomDnsConfigPropertiesFormatArrayOutput() CustomDnsConfigPropertiesFormatArrayOutput
- ToCustomDnsConfigPropertiesFormatArrayOutputWithContext(context.Context) CustomDnsConfigPropertiesFormatArrayOutput
+ ToExpressRouteLinkArrayOutput() ExpressRouteLinkArrayOutput
+ ToExpressRouteLinkArrayOutputWithContext(context.Context) ExpressRouteLinkArrayOutput
}
-type CustomDnsConfigPropertiesFormatArray []CustomDnsConfigPropertiesFormatInput
+type ExpressRouteLinkArray []ExpressRouteLinkInput
-func (CustomDnsConfigPropertiesFormatArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CustomDnsConfigPropertiesFormat)(nil)).Elem()
+func (ExpressRouteLinkArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExpressRouteLink)(nil)).Elem()
}
-func (i CustomDnsConfigPropertiesFormatArray) ToCustomDnsConfigPropertiesFormatArrayOutput() CustomDnsConfigPropertiesFormatArrayOutput {
- return i.ToCustomDnsConfigPropertiesFormatArrayOutputWithContext(context.Background())
+func (i ExpressRouteLinkArray) ToExpressRouteLinkArrayOutput() ExpressRouteLinkArrayOutput {
+ return i.ToExpressRouteLinkArrayOutputWithContext(context.Background())
}
-func (i CustomDnsConfigPropertiesFormatArray) ToCustomDnsConfigPropertiesFormatArrayOutputWithContext(ctx context.Context) CustomDnsConfigPropertiesFormatArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(CustomDnsConfigPropertiesFormatArrayOutput)
+func (i ExpressRouteLinkArray) ToExpressRouteLinkArrayOutputWithContext(ctx context.Context) ExpressRouteLinkArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteLinkArrayOutput)
}
-// Contains custom Dns resolution configuration from customer.
-type CustomDnsConfigPropertiesFormatOutput struct{ *pulumi.OutputState }
+// ExpressRouteLink child resource definition.
+type ExpressRouteLinkOutput struct{ *pulumi.OutputState }
-func (CustomDnsConfigPropertiesFormatOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CustomDnsConfigPropertiesFormat)(nil)).Elem()
+func (ExpressRouteLinkOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteLink)(nil)).Elem()
}
-func (o CustomDnsConfigPropertiesFormatOutput) ToCustomDnsConfigPropertiesFormatOutput() CustomDnsConfigPropertiesFormatOutput {
+func (o ExpressRouteLinkOutput) ToExpressRouteLinkOutput() ExpressRouteLinkOutput {
return o
}
-func (o CustomDnsConfigPropertiesFormatOutput) ToCustomDnsConfigPropertiesFormatOutputWithContext(ctx context.Context) CustomDnsConfigPropertiesFormatOutput {
+func (o ExpressRouteLinkOutput) ToExpressRouteLinkOutputWithContext(ctx context.Context) ExpressRouteLinkOutput {
return o
}
-// Fqdn that resolves to private endpoint ip address.
-func (o CustomDnsConfigPropertiesFormatOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CustomDnsConfigPropertiesFormat) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
+// Administrative state of the physical port.
+func (o ExpressRouteLinkOutput) AdminState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteLink) *string { return v.AdminState }).(pulumi.StringPtrOutput)
}
-// A list of private ip addresses of the private endpoint.
-func (o CustomDnsConfigPropertiesFormatOutput) IpAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CustomDnsConfigPropertiesFormat) []string { return v.IpAddresses }).(pulumi.StringArrayOutput)
+// Resource ID.
+func (o ExpressRouteLinkOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteLink) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-type CustomDnsConfigPropertiesFormatArrayOutput struct{ *pulumi.OutputState }
+// MacSec configuration.
+func (o ExpressRouteLinkOutput) MacSecConfig() ExpressRouteLinkMacSecConfigPtrOutput {
+ return o.ApplyT(func(v ExpressRouteLink) *ExpressRouteLinkMacSecConfig { return v.MacSecConfig }).(ExpressRouteLinkMacSecConfigPtrOutput)
+}
-func (CustomDnsConfigPropertiesFormatArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CustomDnsConfigPropertiesFormat)(nil)).Elem()
+// Name of child port resource that is unique among child port resources of the parent.
+func (o ExpressRouteLinkOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteLink) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o CustomDnsConfigPropertiesFormatArrayOutput) ToCustomDnsConfigPropertiesFormatArrayOutput() CustomDnsConfigPropertiesFormatArrayOutput {
- return o
+type ExpressRouteLinkArrayOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteLinkArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExpressRouteLink)(nil)).Elem()
}
-func (o CustomDnsConfigPropertiesFormatArrayOutput) ToCustomDnsConfigPropertiesFormatArrayOutputWithContext(ctx context.Context) CustomDnsConfigPropertiesFormatArrayOutput {
+func (o ExpressRouteLinkArrayOutput) ToExpressRouteLinkArrayOutput() ExpressRouteLinkArrayOutput {
return o
}
-func (o CustomDnsConfigPropertiesFormatArrayOutput) Index(i pulumi.IntInput) CustomDnsConfigPropertiesFormatOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomDnsConfigPropertiesFormat {
- return vs[0].([]CustomDnsConfigPropertiesFormat)[vs[1].(int)]
- }).(CustomDnsConfigPropertiesFormatOutput)
+func (o ExpressRouteLinkArrayOutput) ToExpressRouteLinkArrayOutputWithContext(ctx context.Context) ExpressRouteLinkArrayOutput {
+ return o
}
-// Contains custom Dns resolution configuration from customer.
-type CustomDnsConfigPropertiesFormatResponse struct {
- // Fqdn that resolves to private endpoint ip address.
- Fqdn *string `pulumi:"fqdn"`
- // A list of private ip addresses of the private endpoint.
- IpAddresses []string `pulumi:"ipAddresses"`
-}
-
-// Contains custom Dns resolution configuration from customer.
-type CustomDnsConfigPropertiesFormatResponseOutput struct{ *pulumi.OutputState }
-
-func (CustomDnsConfigPropertiesFormatResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*CustomDnsConfigPropertiesFormatResponse)(nil)).Elem()
-}
-
-func (o CustomDnsConfigPropertiesFormatResponseOutput) ToCustomDnsConfigPropertiesFormatResponseOutput() CustomDnsConfigPropertiesFormatResponseOutput {
- return o
-}
-
-func (o CustomDnsConfigPropertiesFormatResponseOutput) ToCustomDnsConfigPropertiesFormatResponseOutputWithContext(ctx context.Context) CustomDnsConfigPropertiesFormatResponseOutput {
- return o
-}
-
-// Fqdn that resolves to private endpoint ip address.
-func (o CustomDnsConfigPropertiesFormatResponseOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v CustomDnsConfigPropertiesFormatResponse) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
-}
-
-// A list of private ip addresses of the private endpoint.
-func (o CustomDnsConfigPropertiesFormatResponseOutput) IpAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v CustomDnsConfigPropertiesFormatResponse) []string { return v.IpAddresses }).(pulumi.StringArrayOutput)
-}
-
-type CustomDnsConfigPropertiesFormatResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (CustomDnsConfigPropertiesFormatResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]CustomDnsConfigPropertiesFormatResponse)(nil)).Elem()
-}
-
-func (o CustomDnsConfigPropertiesFormatResponseArrayOutput) ToCustomDnsConfigPropertiesFormatResponseArrayOutput() CustomDnsConfigPropertiesFormatResponseArrayOutput {
- return o
-}
-
-func (o CustomDnsConfigPropertiesFormatResponseArrayOutput) ToCustomDnsConfigPropertiesFormatResponseArrayOutputWithContext(ctx context.Context) CustomDnsConfigPropertiesFormatResponseArrayOutput {
- return o
-}
-
-func (o CustomDnsConfigPropertiesFormatResponseArrayOutput) Index(i pulumi.IntInput) CustomDnsConfigPropertiesFormatResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomDnsConfigPropertiesFormatResponse {
- return vs[0].([]CustomDnsConfigPropertiesFormatResponse)[vs[1].(int)]
- }).(CustomDnsConfigPropertiesFormatResponseOutput)
+func (o ExpressRouteLinkArrayOutput) Index(i pulumi.IntInput) ExpressRouteLinkOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteLink {
+ return vs[0].([]ExpressRouteLink)[vs[1].(int)]
+ }).(ExpressRouteLinkOutput)
}
-// Contains the DDoS protection settings of the public IP.
-type DdosSettings struct {
- // The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
- DdosProtectionPlan *SubResource `pulumi:"ddosProtectionPlan"`
- // The DDoS protection mode of the public IP
- ProtectionMode *string `pulumi:"protectionMode"`
+// ExpressRouteLink Mac Security Configuration.
+type ExpressRouteLinkMacSecConfig struct {
+ // Keyvault Secret Identifier URL containing Mac security CAK key.
+ CakSecretIdentifier *string `pulumi:"cakSecretIdentifier"`
+ // Mac security cipher.
+ Cipher *string `pulumi:"cipher"`
+ // Keyvault Secret Identifier URL containing Mac security CKN key.
+ CknSecretIdentifier *string `pulumi:"cknSecretIdentifier"`
+ // Sci mode enabled/disabled.
+ SciState *string `pulumi:"sciState"`
}
-// DdosSettingsInput is an input type that accepts DdosSettingsArgs and DdosSettingsOutput values.
-// You can construct a concrete instance of `DdosSettingsInput` via:
+// ExpressRouteLinkMacSecConfigInput is an input type that accepts ExpressRouteLinkMacSecConfigArgs and ExpressRouteLinkMacSecConfigOutput values.
+// You can construct a concrete instance of `ExpressRouteLinkMacSecConfigInput` via:
//
-// DdosSettingsArgs{...}
-type DdosSettingsInput interface {
+// ExpressRouteLinkMacSecConfigArgs{...}
+type ExpressRouteLinkMacSecConfigInput interface {
pulumi.Input
- ToDdosSettingsOutput() DdosSettingsOutput
- ToDdosSettingsOutputWithContext(context.Context) DdosSettingsOutput
+ ToExpressRouteLinkMacSecConfigOutput() ExpressRouteLinkMacSecConfigOutput
+ ToExpressRouteLinkMacSecConfigOutputWithContext(context.Context) ExpressRouteLinkMacSecConfigOutput
}
-// Contains the DDoS protection settings of the public IP.
-type DdosSettingsArgs struct {
- // The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
- DdosProtectionPlan SubResourcePtrInput `pulumi:"ddosProtectionPlan"`
- // The DDoS protection mode of the public IP
- ProtectionMode pulumi.StringPtrInput `pulumi:"protectionMode"`
+// ExpressRouteLink Mac Security Configuration.
+type ExpressRouteLinkMacSecConfigArgs struct {
+ // Keyvault Secret Identifier URL containing Mac security CAK key.
+ CakSecretIdentifier pulumi.StringPtrInput `pulumi:"cakSecretIdentifier"`
+ // Mac security cipher.
+ Cipher pulumi.StringPtrInput `pulumi:"cipher"`
+ // Keyvault Secret Identifier URL containing Mac security CKN key.
+ CknSecretIdentifier pulumi.StringPtrInput `pulumi:"cknSecretIdentifier"`
+ // Sci mode enabled/disabled.
+ SciState pulumi.StringPtrInput `pulumi:"sciState"`
}
-func (DdosSettingsArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*DdosSettings)(nil)).Elem()
+func (ExpressRouteLinkMacSecConfigArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteLinkMacSecConfig)(nil)).Elem()
}
-func (i DdosSettingsArgs) ToDdosSettingsOutput() DdosSettingsOutput {
- return i.ToDdosSettingsOutputWithContext(context.Background())
+func (i ExpressRouteLinkMacSecConfigArgs) ToExpressRouteLinkMacSecConfigOutput() ExpressRouteLinkMacSecConfigOutput {
+ return i.ToExpressRouteLinkMacSecConfigOutputWithContext(context.Background())
}
-func (i DdosSettingsArgs) ToDdosSettingsOutputWithContext(ctx context.Context) DdosSettingsOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DdosSettingsOutput)
+func (i ExpressRouteLinkMacSecConfigArgs) ToExpressRouteLinkMacSecConfigOutputWithContext(ctx context.Context) ExpressRouteLinkMacSecConfigOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteLinkMacSecConfigOutput)
}
-func (i DdosSettingsArgs) ToDdosSettingsPtrOutput() DdosSettingsPtrOutput {
- return i.ToDdosSettingsPtrOutputWithContext(context.Background())
+func (i ExpressRouteLinkMacSecConfigArgs) ToExpressRouteLinkMacSecConfigPtrOutput() ExpressRouteLinkMacSecConfigPtrOutput {
+ return i.ToExpressRouteLinkMacSecConfigPtrOutputWithContext(context.Background())
}
-func (i DdosSettingsArgs) ToDdosSettingsPtrOutputWithContext(ctx context.Context) DdosSettingsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DdosSettingsOutput).ToDdosSettingsPtrOutputWithContext(ctx)
+func (i ExpressRouteLinkMacSecConfigArgs) ToExpressRouteLinkMacSecConfigPtrOutputWithContext(ctx context.Context) ExpressRouteLinkMacSecConfigPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteLinkMacSecConfigOutput).ToExpressRouteLinkMacSecConfigPtrOutputWithContext(ctx)
}
-// DdosSettingsPtrInput is an input type that accepts DdosSettingsArgs, DdosSettingsPtr and DdosSettingsPtrOutput values.
-// You can construct a concrete instance of `DdosSettingsPtrInput` via:
+// ExpressRouteLinkMacSecConfigPtrInput is an input type that accepts ExpressRouteLinkMacSecConfigArgs, ExpressRouteLinkMacSecConfigPtr and ExpressRouteLinkMacSecConfigPtrOutput values.
+// You can construct a concrete instance of `ExpressRouteLinkMacSecConfigPtrInput` via:
//
-// DdosSettingsArgs{...}
+// ExpressRouteLinkMacSecConfigArgs{...}
//
// or:
//
// nil
-type DdosSettingsPtrInput interface {
+type ExpressRouteLinkMacSecConfigPtrInput interface {
pulumi.Input
- ToDdosSettingsPtrOutput() DdosSettingsPtrOutput
- ToDdosSettingsPtrOutputWithContext(context.Context) DdosSettingsPtrOutput
+ ToExpressRouteLinkMacSecConfigPtrOutput() ExpressRouteLinkMacSecConfigPtrOutput
+ ToExpressRouteLinkMacSecConfigPtrOutputWithContext(context.Context) ExpressRouteLinkMacSecConfigPtrOutput
}
-type ddosSettingsPtrType DdosSettingsArgs
+type expressRouteLinkMacSecConfigPtrType ExpressRouteLinkMacSecConfigArgs
-func DdosSettingsPtr(v *DdosSettingsArgs) DdosSettingsPtrInput {
- return (*ddosSettingsPtrType)(v)
+func ExpressRouteLinkMacSecConfigPtr(v *ExpressRouteLinkMacSecConfigArgs) ExpressRouteLinkMacSecConfigPtrInput {
+ return (*expressRouteLinkMacSecConfigPtrType)(v)
}
-func (*ddosSettingsPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**DdosSettings)(nil)).Elem()
+func (*expressRouteLinkMacSecConfigPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteLinkMacSecConfig)(nil)).Elem()
}
-func (i *ddosSettingsPtrType) ToDdosSettingsPtrOutput() DdosSettingsPtrOutput {
- return i.ToDdosSettingsPtrOutputWithContext(context.Background())
+func (i *expressRouteLinkMacSecConfigPtrType) ToExpressRouteLinkMacSecConfigPtrOutput() ExpressRouteLinkMacSecConfigPtrOutput {
+ return i.ToExpressRouteLinkMacSecConfigPtrOutputWithContext(context.Background())
}
-func (i *ddosSettingsPtrType) ToDdosSettingsPtrOutputWithContext(ctx context.Context) DdosSettingsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DdosSettingsPtrOutput)
+func (i *expressRouteLinkMacSecConfigPtrType) ToExpressRouteLinkMacSecConfigPtrOutputWithContext(ctx context.Context) ExpressRouteLinkMacSecConfigPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteLinkMacSecConfigPtrOutput)
}
-// Contains the DDoS protection settings of the public IP.
-type DdosSettingsOutput struct{ *pulumi.OutputState }
+// ExpressRouteLink Mac Security Configuration.
+type ExpressRouteLinkMacSecConfigOutput struct{ *pulumi.OutputState }
-func (DdosSettingsOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*DdosSettings)(nil)).Elem()
+func (ExpressRouteLinkMacSecConfigOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteLinkMacSecConfig)(nil)).Elem()
}
-func (o DdosSettingsOutput) ToDdosSettingsOutput() DdosSettingsOutput {
+func (o ExpressRouteLinkMacSecConfigOutput) ToExpressRouteLinkMacSecConfigOutput() ExpressRouteLinkMacSecConfigOutput {
return o
}
-func (o DdosSettingsOutput) ToDdosSettingsOutputWithContext(ctx context.Context) DdosSettingsOutput {
+func (o ExpressRouteLinkMacSecConfigOutput) ToExpressRouteLinkMacSecConfigOutputWithContext(ctx context.Context) ExpressRouteLinkMacSecConfigOutput {
return o
}
-func (o DdosSettingsOutput) ToDdosSettingsPtrOutput() DdosSettingsPtrOutput {
- return o.ToDdosSettingsPtrOutputWithContext(context.Background())
+func (o ExpressRouteLinkMacSecConfigOutput) ToExpressRouteLinkMacSecConfigPtrOutput() ExpressRouteLinkMacSecConfigPtrOutput {
+ return o.ToExpressRouteLinkMacSecConfigPtrOutputWithContext(context.Background())
}
-func (o DdosSettingsOutput) ToDdosSettingsPtrOutputWithContext(ctx context.Context) DdosSettingsPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v DdosSettings) *DdosSettings {
+func (o ExpressRouteLinkMacSecConfigOutput) ToExpressRouteLinkMacSecConfigPtrOutputWithContext(ctx context.Context) ExpressRouteLinkMacSecConfigPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ExpressRouteLinkMacSecConfig) *ExpressRouteLinkMacSecConfig {
return &v
- }).(DdosSettingsPtrOutput)
+ }).(ExpressRouteLinkMacSecConfigPtrOutput)
}
-// The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
-func (o DdosSettingsOutput) DdosProtectionPlan() SubResourcePtrOutput {
- return o.ApplyT(func(v DdosSettings) *SubResource { return v.DdosProtectionPlan }).(SubResourcePtrOutput)
+// Keyvault Secret Identifier URL containing Mac security CAK key.
+func (o ExpressRouteLinkMacSecConfigOutput) CakSecretIdentifier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteLinkMacSecConfig) *string { return v.CakSecretIdentifier }).(pulumi.StringPtrOutput)
}
-// The DDoS protection mode of the public IP
-func (o DdosSettingsOutput) ProtectionMode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DdosSettings) *string { return v.ProtectionMode }).(pulumi.StringPtrOutput)
+// Mac security cipher.
+func (o ExpressRouteLinkMacSecConfigOutput) Cipher() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteLinkMacSecConfig) *string { return v.Cipher }).(pulumi.StringPtrOutput)
}
-type DdosSettingsPtrOutput struct{ *pulumi.OutputState }
+// Keyvault Secret Identifier URL containing Mac security CKN key.
+func (o ExpressRouteLinkMacSecConfigOutput) CknSecretIdentifier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteLinkMacSecConfig) *string { return v.CknSecretIdentifier }).(pulumi.StringPtrOutput)
+}
-func (DdosSettingsPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**DdosSettings)(nil)).Elem()
+// Sci mode enabled/disabled.
+func (o ExpressRouteLinkMacSecConfigOutput) SciState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteLinkMacSecConfig) *string { return v.SciState }).(pulumi.StringPtrOutput)
}
-func (o DdosSettingsPtrOutput) ToDdosSettingsPtrOutput() DdosSettingsPtrOutput {
+type ExpressRouteLinkMacSecConfigPtrOutput struct{ *pulumi.OutputState }
+
+func (ExpressRouteLinkMacSecConfigPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteLinkMacSecConfig)(nil)).Elem()
+}
+
+func (o ExpressRouteLinkMacSecConfigPtrOutput) ToExpressRouteLinkMacSecConfigPtrOutput() ExpressRouteLinkMacSecConfigPtrOutput {
return o
}
-func (o DdosSettingsPtrOutput) ToDdosSettingsPtrOutputWithContext(ctx context.Context) DdosSettingsPtrOutput {
+func (o ExpressRouteLinkMacSecConfigPtrOutput) ToExpressRouteLinkMacSecConfigPtrOutputWithContext(ctx context.Context) ExpressRouteLinkMacSecConfigPtrOutput {
return o
}
-func (o DdosSettingsPtrOutput) Elem() DdosSettingsOutput {
- return o.ApplyT(func(v *DdosSettings) DdosSettings {
+func (o ExpressRouteLinkMacSecConfigPtrOutput) Elem() ExpressRouteLinkMacSecConfigOutput {
+ return o.ApplyT(func(v *ExpressRouteLinkMacSecConfig) ExpressRouteLinkMacSecConfig {
if v != nil {
return *v
}
- var ret DdosSettings
+ var ret ExpressRouteLinkMacSecConfig
return ret
- }).(DdosSettingsOutput)
+ }).(ExpressRouteLinkMacSecConfigOutput)
}
-// The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
-func (o DdosSettingsPtrOutput) DdosProtectionPlan() SubResourcePtrOutput {
- return o.ApplyT(func(v *DdosSettings) *SubResource {
+// Keyvault Secret Identifier URL containing Mac security CAK key.
+func (o ExpressRouteLinkMacSecConfigPtrOutput) CakSecretIdentifier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteLinkMacSecConfig) *string {
if v == nil {
return nil
}
- return v.DdosProtectionPlan
- }).(SubResourcePtrOutput)
+ return v.CakSecretIdentifier
+ }).(pulumi.StringPtrOutput)
}
-// The DDoS protection mode of the public IP
-func (o DdosSettingsPtrOutput) ProtectionMode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *DdosSettings) *string {
+// Mac security cipher.
+func (o ExpressRouteLinkMacSecConfigPtrOutput) Cipher() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteLinkMacSecConfig) *string {
if v == nil {
return nil
}
- return v.ProtectionMode
+ return v.Cipher
}).(pulumi.StringPtrOutput)
}
-// Contains the DDoS protection settings of the public IP.
-type DdosSettingsResponse struct {
- // The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
- DdosProtectionPlan *SubResourceResponse `pulumi:"ddosProtectionPlan"`
- // The DDoS protection mode of the public IP
- ProtectionMode *string `pulumi:"protectionMode"`
-}
-
-// Contains the DDoS protection settings of the public IP.
-type DdosSettingsResponseOutput struct{ *pulumi.OutputState }
-
-func (DdosSettingsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*DdosSettingsResponse)(nil)).Elem()
-}
-
-func (o DdosSettingsResponseOutput) ToDdosSettingsResponseOutput() DdosSettingsResponseOutput {
- return o
-}
-
-func (o DdosSettingsResponseOutput) ToDdosSettingsResponseOutputWithContext(ctx context.Context) DdosSettingsResponseOutput {
- return o
-}
-
-// The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
-func (o DdosSettingsResponseOutput) DdosProtectionPlan() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v DdosSettingsResponse) *SubResourceResponse { return v.DdosProtectionPlan }).(SubResourceResponsePtrOutput)
-}
-
-// The DDoS protection mode of the public IP
-func (o DdosSettingsResponseOutput) ProtectionMode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DdosSettingsResponse) *string { return v.ProtectionMode }).(pulumi.StringPtrOutput)
-}
-
-type DdosSettingsResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (DdosSettingsResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**DdosSettingsResponse)(nil)).Elem()
-}
-
-func (o DdosSettingsResponsePtrOutput) ToDdosSettingsResponsePtrOutput() DdosSettingsResponsePtrOutput {
- return o
-}
-
-func (o DdosSettingsResponsePtrOutput) ToDdosSettingsResponsePtrOutputWithContext(ctx context.Context) DdosSettingsResponsePtrOutput {
- return o
-}
-
-func (o DdosSettingsResponsePtrOutput) Elem() DdosSettingsResponseOutput {
- return o.ApplyT(func(v *DdosSettingsResponse) DdosSettingsResponse {
- if v != nil {
- return *v
- }
- var ret DdosSettingsResponse
- return ret
- }).(DdosSettingsResponseOutput)
-}
-
-// The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled
-func (o DdosSettingsResponsePtrOutput) DdosProtectionPlan() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *DdosSettingsResponse) *SubResourceResponse {
+// Keyvault Secret Identifier URL containing Mac security CKN key.
+func (o ExpressRouteLinkMacSecConfigPtrOutput) CknSecretIdentifier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteLinkMacSecConfig) *string {
if v == nil {
return nil
}
- return v.DdosProtectionPlan
- }).(SubResourceResponsePtrOutput)
+ return v.CknSecretIdentifier
+ }).(pulumi.StringPtrOutput)
}
-// The DDoS protection mode of the public IP
-func (o DdosSettingsResponsePtrOutput) ProtectionMode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *DdosSettingsResponse) *string {
+// Sci mode enabled/disabled.
+func (o ExpressRouteLinkMacSecConfigPtrOutput) SciState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteLinkMacSecConfig) *string {
if v == nil {
return nil
}
- return v.ProtectionMode
+ return v.SciState
}).(pulumi.StringPtrOutput)
}
-// Contains the DDoS protection settings of the public IP.
-type DdosSettingsResponseV1 struct {
- // The DDoS custom policy associated with the public IP.
- DdosCustomPolicy *SubResourceResponse `pulumi:"ddosCustomPolicy"`
- // The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.
- ProtectionCoverage *string `pulumi:"protectionCoverage"`
+// ExpressRouteLink Mac Security Configuration.
+type ExpressRouteLinkMacSecConfigResponse struct {
+ // Keyvault Secret Identifier URL containing Mac security CAK key.
+ CakSecretIdentifier *string `pulumi:"cakSecretIdentifier"`
+ // Mac security cipher.
+ Cipher *string `pulumi:"cipher"`
+ // Keyvault Secret Identifier URL containing Mac security CKN key.
+ CknSecretIdentifier *string `pulumi:"cknSecretIdentifier"`
+ // Sci mode enabled/disabled.
+ SciState *string `pulumi:"sciState"`
}
-// Contains the DDoS protection settings of the public IP.
-type DdosSettingsResponseV1Output struct{ *pulumi.OutputState }
+// ExpressRouteLink Mac Security Configuration.
+type ExpressRouteLinkMacSecConfigResponseOutput struct{ *pulumi.OutputState }
-func (DdosSettingsResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*DdosSettingsResponseV1)(nil)).Elem()
+func (ExpressRouteLinkMacSecConfigResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteLinkMacSecConfigResponse)(nil)).Elem()
}
-func (o DdosSettingsResponseV1Output) ToDdosSettingsResponseV1Output() DdosSettingsResponseV1Output {
+func (o ExpressRouteLinkMacSecConfigResponseOutput) ToExpressRouteLinkMacSecConfigResponseOutput() ExpressRouteLinkMacSecConfigResponseOutput {
return o
}
-func (o DdosSettingsResponseV1Output) ToDdosSettingsResponseV1OutputWithContext(ctx context.Context) DdosSettingsResponseV1Output {
+func (o ExpressRouteLinkMacSecConfigResponseOutput) ToExpressRouteLinkMacSecConfigResponseOutputWithContext(ctx context.Context) ExpressRouteLinkMacSecConfigResponseOutput {
return o
}
-// The DDoS custom policy associated with the public IP.
-func (o DdosSettingsResponseV1Output) DdosCustomPolicy() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v DdosSettingsResponseV1) *SubResourceResponse { return v.DdosCustomPolicy }).(SubResourceResponsePtrOutput)
+// Keyvault Secret Identifier URL containing Mac security CAK key.
+func (o ExpressRouteLinkMacSecConfigResponseOutput) CakSecretIdentifier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteLinkMacSecConfigResponse) *string { return v.CakSecretIdentifier }).(pulumi.StringPtrOutput)
}
-// The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.
-func (o DdosSettingsResponseV1Output) ProtectionCoverage() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DdosSettingsResponseV1) *string { return v.ProtectionCoverage }).(pulumi.StringPtrOutput)
+// Mac security cipher.
+func (o ExpressRouteLinkMacSecConfigResponseOutput) Cipher() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteLinkMacSecConfigResponse) *string { return v.Cipher }).(pulumi.StringPtrOutput)
+}
+
+// Keyvault Secret Identifier URL containing Mac security CKN key.
+func (o ExpressRouteLinkMacSecConfigResponseOutput) CknSecretIdentifier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteLinkMacSecConfigResponse) *string { return v.CknSecretIdentifier }).(pulumi.StringPtrOutput)
+}
+
+// Sci mode enabled/disabled.
+func (o ExpressRouteLinkMacSecConfigResponseOutput) SciState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteLinkMacSecConfigResponse) *string { return v.SciState }).(pulumi.StringPtrOutput)
}
-type DdosSettingsResponseV1PtrOutput struct{ *pulumi.OutputState }
+type ExpressRouteLinkMacSecConfigResponsePtrOutput struct{ *pulumi.OutputState }
-func (DdosSettingsResponseV1PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**DdosSettingsResponseV1)(nil)).Elem()
+func (ExpressRouteLinkMacSecConfigResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExpressRouteLinkMacSecConfigResponse)(nil)).Elem()
}
-func (o DdosSettingsResponseV1PtrOutput) ToDdosSettingsResponseV1PtrOutput() DdosSettingsResponseV1PtrOutput {
+func (o ExpressRouteLinkMacSecConfigResponsePtrOutput) ToExpressRouteLinkMacSecConfigResponsePtrOutput() ExpressRouteLinkMacSecConfigResponsePtrOutput {
return o
}
-func (o DdosSettingsResponseV1PtrOutput) ToDdosSettingsResponseV1PtrOutputWithContext(ctx context.Context) DdosSettingsResponseV1PtrOutput {
+func (o ExpressRouteLinkMacSecConfigResponsePtrOutput) ToExpressRouteLinkMacSecConfigResponsePtrOutputWithContext(ctx context.Context) ExpressRouteLinkMacSecConfigResponsePtrOutput {
return o
}
-func (o DdosSettingsResponseV1PtrOutput) Elem() DdosSettingsResponseV1Output {
- return o.ApplyT(func(v *DdosSettingsResponseV1) DdosSettingsResponseV1 {
+func (o ExpressRouteLinkMacSecConfigResponsePtrOutput) Elem() ExpressRouteLinkMacSecConfigResponseOutput {
+ return o.ApplyT(func(v *ExpressRouteLinkMacSecConfigResponse) ExpressRouteLinkMacSecConfigResponse {
if v != nil {
return *v
}
- var ret DdosSettingsResponseV1
+ var ret ExpressRouteLinkMacSecConfigResponse
return ret
- }).(DdosSettingsResponseV1Output)
+ }).(ExpressRouteLinkMacSecConfigResponseOutput)
}
-// The DDoS custom policy associated with the public IP.
-func (o DdosSettingsResponseV1PtrOutput) DdosCustomPolicy() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *DdosSettingsResponseV1) *SubResourceResponse {
+// Keyvault Secret Identifier URL containing Mac security CAK key.
+func (o ExpressRouteLinkMacSecConfigResponsePtrOutput) CakSecretIdentifier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteLinkMacSecConfigResponse) *string {
if v == nil {
return nil
}
- return v.DdosCustomPolicy
- }).(SubResourceResponsePtrOutput)
+ return v.CakSecretIdentifier
+ }).(pulumi.StringPtrOutput)
}
-// The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.
-func (o DdosSettingsResponseV1PtrOutput) ProtectionCoverage() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *DdosSettingsResponseV1) *string {
+// Mac security cipher.
+func (o ExpressRouteLinkMacSecConfigResponsePtrOutput) Cipher() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteLinkMacSecConfigResponse) *string {
if v == nil {
return nil
}
- return v.ProtectionCoverage
+ return v.Cipher
}).(pulumi.StringPtrOutput)
}
-// Details the service to which the subnet is delegated.
-type Delegation struct {
- // Describes the actions permitted to the service upon delegation
- Actions []string `pulumi:"actions"`
+// Keyvault Secret Identifier URL containing Mac security CKN key.
+func (o ExpressRouteLinkMacSecConfigResponsePtrOutput) CknSecretIdentifier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteLinkMacSecConfigResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.CknSecretIdentifier
+ }).(pulumi.StringPtrOutput)
+}
+
+// Sci mode enabled/disabled.
+func (o ExpressRouteLinkMacSecConfigResponsePtrOutput) SciState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExpressRouteLinkMacSecConfigResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.SciState
+ }).(pulumi.StringPtrOutput)
+}
+
+// ExpressRouteLink child resource definition.
+type ExpressRouteLinkResponse struct {
+ // Administrative state of the physical port.
+ AdminState *string `pulumi:"adminState"`
+ // Cololocation for ExpressRoute Hybrid Direct.
+ ColoLocation string `pulumi:"coloLocation"`
+ // Physical fiber port type.
+ ConnectorType string `pulumi:"connectorType"`
// A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
+ Etag string `pulumi:"etag"`
// Resource ID.
Id *string `pulumi:"id"`
- // The name of the resource that is unique within a subnet. This name can be used to access the resource.
+ // Name of Azure router interface.
+ InterfaceName string `pulumi:"interfaceName"`
+ // MacSec configuration.
+ MacSecConfig *ExpressRouteLinkMacSecConfigResponse `pulumi:"macSecConfig"`
+ // Name of child port resource that is unique among child port resources of the parent.
Name *string `pulumi:"name"`
- // The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
- ServiceName *string `pulumi:"serviceName"`
- // Resource type.
- Type *string `pulumi:"type"`
+ // Mapping between physical port to patch panel port.
+ PatchPanelId string `pulumi:"patchPanelId"`
+ // The provisioning state of the express route link resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Mapping of physical patch panel to rack.
+ RackId string `pulumi:"rackId"`
+ // Name of Azure router associated with physical port.
+ RouterName string `pulumi:"routerName"`
}
-// DelegationInput is an input type that accepts DelegationArgs and DelegationOutput values.
-// You can construct a concrete instance of `DelegationInput` via:
-//
-// DelegationArgs{...}
-type DelegationInput interface {
- pulumi.Input
+// ExpressRouteLink child resource definition.
+type ExpressRouteLinkResponseOutput struct{ *pulumi.OutputState }
- ToDelegationOutput() DelegationOutput
- ToDelegationOutputWithContext(context.Context) DelegationOutput
+func (ExpressRouteLinkResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExpressRouteLinkResponse)(nil)).Elem()
}
-// Details the service to which the subnet is delegated.
-type DelegationArgs struct {
- // Describes the actions permitted to the service upon delegation
- Actions pulumi.StringArrayInput `pulumi:"actions"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag pulumi.StringPtrInput `pulumi:"etag"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The name of the resource that is unique within a subnet. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
- ServiceName pulumi.StringPtrInput `pulumi:"serviceName"`
- // Resource type.
- Type pulumi.StringPtrInput `pulumi:"type"`
+func (o ExpressRouteLinkResponseOutput) ToExpressRouteLinkResponseOutput() ExpressRouteLinkResponseOutput {
+ return o
}
-func (DelegationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*Delegation)(nil)).Elem()
+func (o ExpressRouteLinkResponseOutput) ToExpressRouteLinkResponseOutputWithContext(ctx context.Context) ExpressRouteLinkResponseOutput {
+ return o
}
-func (i DelegationArgs) ToDelegationOutput() DelegationOutput {
- return i.ToDelegationOutputWithContext(context.Background())
+// Administrative state of the physical port.
+func (o ExpressRouteLinkResponseOutput) AdminState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteLinkResponse) *string { return v.AdminState }).(pulumi.StringPtrOutput)
}
-func (i DelegationArgs) ToDelegationOutputWithContext(ctx context.Context) DelegationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DelegationOutput)
+// Cololocation for ExpressRoute Hybrid Direct.
+func (o ExpressRouteLinkResponseOutput) ColoLocation() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteLinkResponse) string { return v.ColoLocation }).(pulumi.StringOutput)
}
-// DelegationArrayInput is an input type that accepts DelegationArray and DelegationArrayOutput values.
-// You can construct a concrete instance of `DelegationArrayInput` via:
-//
-// DelegationArray{ DelegationArgs{...} }
-type DelegationArrayInput interface {
- pulumi.Input
-
- ToDelegationArrayOutput() DelegationArrayOutput
- ToDelegationArrayOutputWithContext(context.Context) DelegationArrayOutput
+// Physical fiber port type.
+func (o ExpressRouteLinkResponseOutput) ConnectorType() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteLinkResponse) string { return v.ConnectorType }).(pulumi.StringOutput)
}
-type DelegationArray []DelegationInput
-
-func (DelegationArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]Delegation)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o ExpressRouteLinkResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteLinkResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (i DelegationArray) ToDelegationArrayOutput() DelegationArrayOutput {
- return i.ToDelegationArrayOutputWithContext(context.Background())
+// Resource ID.
+func (o ExpressRouteLinkResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteLinkResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (i DelegationArray) ToDelegationArrayOutputWithContext(ctx context.Context) DelegationArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DelegationArrayOutput)
+// Name of Azure router interface.
+func (o ExpressRouteLinkResponseOutput) InterfaceName() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteLinkResponse) string { return v.InterfaceName }).(pulumi.StringOutput)
}
-// Details the service to which the subnet is delegated.
-type DelegationOutput struct{ *pulumi.OutputState }
+// MacSec configuration.
+func (o ExpressRouteLinkResponseOutput) MacSecConfig() ExpressRouteLinkMacSecConfigResponsePtrOutput {
+ return o.ApplyT(func(v ExpressRouteLinkResponse) *ExpressRouteLinkMacSecConfigResponse { return v.MacSecConfig }).(ExpressRouteLinkMacSecConfigResponsePtrOutput)
+}
-func (DelegationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*Delegation)(nil)).Elem()
+// Name of child port resource that is unique among child port resources of the parent.
+func (o ExpressRouteLinkResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExpressRouteLinkResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o DelegationOutput) ToDelegationOutput() DelegationOutput {
- return o
+// Mapping between physical port to patch panel port.
+func (o ExpressRouteLinkResponseOutput) PatchPanelId() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteLinkResponse) string { return v.PatchPanelId }).(pulumi.StringOutput)
}
-func (o DelegationOutput) ToDelegationOutputWithContext(ctx context.Context) DelegationOutput {
- return o
+// The provisioning state of the express route link resource.
+func (o ExpressRouteLinkResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteLinkResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Describes the actions permitted to the service upon delegation
-func (o DelegationOutput) Actions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v Delegation) []string { return v.Actions }).(pulumi.StringArrayOutput)
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o DelegationOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Delegation) *string { return v.Etag }).(pulumi.StringPtrOutput)
-}
-
-// Resource ID.
-func (o DelegationOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Delegation) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// The name of the resource that is unique within a subnet. This name can be used to access the resource.
-func (o DelegationOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Delegation) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-// The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
-func (o DelegationOutput) ServiceName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Delegation) *string { return v.ServiceName }).(pulumi.StringPtrOutput)
+// Mapping of physical patch panel to rack.
+func (o ExpressRouteLinkResponseOutput) RackId() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteLinkResponse) string { return v.RackId }).(pulumi.StringOutput)
}
-// Resource type.
-func (o DelegationOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Delegation) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Name of Azure router associated with physical port.
+func (o ExpressRouteLinkResponseOutput) RouterName() pulumi.StringOutput {
+ return o.ApplyT(func(v ExpressRouteLinkResponse) string { return v.RouterName }).(pulumi.StringOutput)
}
-type DelegationArrayOutput struct{ *pulumi.OutputState }
+type ExpressRouteLinkResponseArrayOutput struct{ *pulumi.OutputState }
-func (DelegationArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]Delegation)(nil)).Elem()
+func (ExpressRouteLinkResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ExpressRouteLinkResponse)(nil)).Elem()
}
-func (o DelegationArrayOutput) ToDelegationArrayOutput() DelegationArrayOutput {
+func (o ExpressRouteLinkResponseArrayOutput) ToExpressRouteLinkResponseArrayOutput() ExpressRouteLinkResponseArrayOutput {
return o
}
-func (o DelegationArrayOutput) ToDelegationArrayOutputWithContext(ctx context.Context) DelegationArrayOutput {
+func (o ExpressRouteLinkResponseArrayOutput) ToExpressRouteLinkResponseArrayOutputWithContext(ctx context.Context) ExpressRouteLinkResponseArrayOutput {
return o
}
-func (o DelegationArrayOutput) Index(i pulumi.IntInput) DelegationOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) Delegation {
- return vs[0].([]Delegation)[vs[1].(int)]
- }).(DelegationOutput)
+func (o ExpressRouteLinkResponseArrayOutput) Index(i pulumi.IntInput) ExpressRouteLinkResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteLinkResponse {
+ return vs[0].([]ExpressRouteLinkResponse)[vs[1].(int)]
+ }).(ExpressRouteLinkResponseOutput)
}
-// Properties of the delegation.
-type DelegationProperties struct {
- // The service name to which the NVA is delegated.
- ServiceName *string `pulumi:"serviceName"`
+// ExtendedLocation complex type.
+type ExtendedLocation struct {
+ // The name of the extended location.
+ Name *string `pulumi:"name"`
+ // The type of the extended location.
+ Type *string `pulumi:"type"`
}
-// DelegationPropertiesInput is an input type that accepts DelegationPropertiesArgs and DelegationPropertiesOutput values.
-// You can construct a concrete instance of `DelegationPropertiesInput` via:
+// ExtendedLocationInput is an input type that accepts ExtendedLocationArgs and ExtendedLocationOutput values.
+// You can construct a concrete instance of `ExtendedLocationInput` via:
//
-// DelegationPropertiesArgs{...}
-type DelegationPropertiesInput interface {
+// ExtendedLocationArgs{...}
+type ExtendedLocationInput interface {
pulumi.Input
- ToDelegationPropertiesOutput() DelegationPropertiesOutput
- ToDelegationPropertiesOutputWithContext(context.Context) DelegationPropertiesOutput
+ ToExtendedLocationOutput() ExtendedLocationOutput
+ ToExtendedLocationOutputWithContext(context.Context) ExtendedLocationOutput
}
-// Properties of the delegation.
-type DelegationPropertiesArgs struct {
- // The service name to which the NVA is delegated.
- ServiceName pulumi.StringPtrInput `pulumi:"serviceName"`
+// ExtendedLocation complex type.
+type ExtendedLocationArgs struct {
+ // The name of the extended location.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The type of the extended location.
+ Type pulumi.StringPtrInput `pulumi:"type"`
}
-func (DelegationPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*DelegationProperties)(nil)).Elem()
+func (ExtendedLocationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExtendedLocation)(nil)).Elem()
}
-func (i DelegationPropertiesArgs) ToDelegationPropertiesOutput() DelegationPropertiesOutput {
- return i.ToDelegationPropertiesOutputWithContext(context.Background())
+func (i ExtendedLocationArgs) ToExtendedLocationOutput() ExtendedLocationOutput {
+ return i.ToExtendedLocationOutputWithContext(context.Background())
}
-func (i DelegationPropertiesArgs) ToDelegationPropertiesOutputWithContext(ctx context.Context) DelegationPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DelegationPropertiesOutput)
+func (i ExtendedLocationArgs) ToExtendedLocationOutputWithContext(ctx context.Context) ExtendedLocationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExtendedLocationOutput)
}
-func (i DelegationPropertiesArgs) ToDelegationPropertiesPtrOutput() DelegationPropertiesPtrOutput {
- return i.ToDelegationPropertiesPtrOutputWithContext(context.Background())
+func (i ExtendedLocationArgs) ToExtendedLocationPtrOutput() ExtendedLocationPtrOutput {
+ return i.ToExtendedLocationPtrOutputWithContext(context.Background())
}
-func (i DelegationPropertiesArgs) ToDelegationPropertiesPtrOutputWithContext(ctx context.Context) DelegationPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DelegationPropertiesOutput).ToDelegationPropertiesPtrOutputWithContext(ctx)
+func (i ExtendedLocationArgs) ToExtendedLocationPtrOutputWithContext(ctx context.Context) ExtendedLocationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExtendedLocationOutput).ToExtendedLocationPtrOutputWithContext(ctx)
}
-// DelegationPropertiesPtrInput is an input type that accepts DelegationPropertiesArgs, DelegationPropertiesPtr and DelegationPropertiesPtrOutput values.
-// You can construct a concrete instance of `DelegationPropertiesPtrInput` via:
+// ExtendedLocationPtrInput is an input type that accepts ExtendedLocationArgs, ExtendedLocationPtr and ExtendedLocationPtrOutput values.
+// You can construct a concrete instance of `ExtendedLocationPtrInput` via:
//
-// DelegationPropertiesArgs{...}
+// ExtendedLocationArgs{...}
//
// or:
//
// nil
-type DelegationPropertiesPtrInput interface {
+type ExtendedLocationPtrInput interface {
pulumi.Input
- ToDelegationPropertiesPtrOutput() DelegationPropertiesPtrOutput
- ToDelegationPropertiesPtrOutputWithContext(context.Context) DelegationPropertiesPtrOutput
+ ToExtendedLocationPtrOutput() ExtendedLocationPtrOutput
+ ToExtendedLocationPtrOutputWithContext(context.Context) ExtendedLocationPtrOutput
}
-type delegationPropertiesPtrType DelegationPropertiesArgs
+type extendedLocationPtrType ExtendedLocationArgs
-func DelegationPropertiesPtr(v *DelegationPropertiesArgs) DelegationPropertiesPtrInput {
- return (*delegationPropertiesPtrType)(v)
+func ExtendedLocationPtr(v *ExtendedLocationArgs) ExtendedLocationPtrInput {
+ return (*extendedLocationPtrType)(v)
}
-func (*delegationPropertiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**DelegationProperties)(nil)).Elem()
+func (*extendedLocationPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExtendedLocation)(nil)).Elem()
}
-func (i *delegationPropertiesPtrType) ToDelegationPropertiesPtrOutput() DelegationPropertiesPtrOutput {
- return i.ToDelegationPropertiesPtrOutputWithContext(context.Background())
+func (i *extendedLocationPtrType) ToExtendedLocationPtrOutput() ExtendedLocationPtrOutput {
+ return i.ToExtendedLocationPtrOutputWithContext(context.Background())
}
-func (i *delegationPropertiesPtrType) ToDelegationPropertiesPtrOutputWithContext(ctx context.Context) DelegationPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DelegationPropertiesPtrOutput)
+func (i *extendedLocationPtrType) ToExtendedLocationPtrOutputWithContext(ctx context.Context) ExtendedLocationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ExtendedLocationPtrOutput)
}
-// Properties of the delegation.
-type DelegationPropertiesOutput struct{ *pulumi.OutputState }
+// ExtendedLocation complex type.
+type ExtendedLocationOutput struct{ *pulumi.OutputState }
-func (DelegationPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*DelegationProperties)(nil)).Elem()
+func (ExtendedLocationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExtendedLocation)(nil)).Elem()
}
-func (o DelegationPropertiesOutput) ToDelegationPropertiesOutput() DelegationPropertiesOutput {
+func (o ExtendedLocationOutput) ToExtendedLocationOutput() ExtendedLocationOutput {
return o
}
-func (o DelegationPropertiesOutput) ToDelegationPropertiesOutputWithContext(ctx context.Context) DelegationPropertiesOutput {
+func (o ExtendedLocationOutput) ToExtendedLocationOutputWithContext(ctx context.Context) ExtendedLocationOutput {
return o
}
-func (o DelegationPropertiesOutput) ToDelegationPropertiesPtrOutput() DelegationPropertiesPtrOutput {
- return o.ToDelegationPropertiesPtrOutputWithContext(context.Background())
+func (o ExtendedLocationOutput) ToExtendedLocationPtrOutput() ExtendedLocationPtrOutput {
+ return o.ToExtendedLocationPtrOutputWithContext(context.Background())
}
-func (o DelegationPropertiesOutput) ToDelegationPropertiesPtrOutputWithContext(ctx context.Context) DelegationPropertiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v DelegationProperties) *DelegationProperties {
+func (o ExtendedLocationOutput) ToExtendedLocationPtrOutputWithContext(ctx context.Context) ExtendedLocationPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ExtendedLocation) *ExtendedLocation {
return &v
- }).(DelegationPropertiesPtrOutput)
+ }).(ExtendedLocationPtrOutput)
}
-// The service name to which the NVA is delegated.
-func (o DelegationPropertiesOutput) ServiceName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DelegationProperties) *string { return v.ServiceName }).(pulumi.StringPtrOutput)
+// The name of the extended location.
+func (o ExtendedLocationOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExtendedLocation) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-type DelegationPropertiesPtrOutput struct{ *pulumi.OutputState }
+// The type of the extended location.
+func (o ExtendedLocationOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExtendedLocation) *string { return v.Type }).(pulumi.StringPtrOutput)
+}
-func (DelegationPropertiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**DelegationProperties)(nil)).Elem()
+type ExtendedLocationPtrOutput struct{ *pulumi.OutputState }
+
+func (ExtendedLocationPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExtendedLocation)(nil)).Elem()
}
-func (o DelegationPropertiesPtrOutput) ToDelegationPropertiesPtrOutput() DelegationPropertiesPtrOutput {
+func (o ExtendedLocationPtrOutput) ToExtendedLocationPtrOutput() ExtendedLocationPtrOutput {
return o
}
-func (o DelegationPropertiesPtrOutput) ToDelegationPropertiesPtrOutputWithContext(ctx context.Context) DelegationPropertiesPtrOutput {
+func (o ExtendedLocationPtrOutput) ToExtendedLocationPtrOutputWithContext(ctx context.Context) ExtendedLocationPtrOutput {
return o
}
-func (o DelegationPropertiesPtrOutput) Elem() DelegationPropertiesOutput {
- return o.ApplyT(func(v *DelegationProperties) DelegationProperties {
+func (o ExtendedLocationPtrOutput) Elem() ExtendedLocationOutput {
+ return o.ApplyT(func(v *ExtendedLocation) ExtendedLocation {
if v != nil {
return *v
}
- var ret DelegationProperties
+ var ret ExtendedLocation
return ret
- }).(DelegationPropertiesOutput)
+ }).(ExtendedLocationOutput)
}
-// The service name to which the NVA is delegated.
-func (o DelegationPropertiesPtrOutput) ServiceName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *DelegationProperties) *string {
+// The name of the extended location.
+func (o ExtendedLocationPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExtendedLocation) *string {
if v == nil {
return nil
}
- return v.ServiceName
+ return v.Name
}).(pulumi.StringPtrOutput)
}
-// Properties of the delegation.
-type DelegationPropertiesResponse struct {
- // The current provisioning state.
- ProvisioningState string `pulumi:"provisioningState"`
- // The service name to which the NVA is delegated.
- ServiceName *string `pulumi:"serviceName"`
+// The type of the extended location.
+func (o ExtendedLocationPtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExtendedLocation) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Type
+ }).(pulumi.StringPtrOutput)
}
-// Properties of the delegation.
-type DelegationPropertiesResponseOutput struct{ *pulumi.OutputState }
+// ExtendedLocation complex type.
+type ExtendedLocationResponse struct {
+ // The name of the extended location.
+ Name *string `pulumi:"name"`
+ // The type of the extended location.
+ Type *string `pulumi:"type"`
+}
-func (DelegationPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*DelegationPropertiesResponse)(nil)).Elem()
+// ExtendedLocation complex type.
+type ExtendedLocationResponseOutput struct{ *pulumi.OutputState }
+
+func (ExtendedLocationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ExtendedLocationResponse)(nil)).Elem()
}
-func (o DelegationPropertiesResponseOutput) ToDelegationPropertiesResponseOutput() DelegationPropertiesResponseOutput {
+func (o ExtendedLocationResponseOutput) ToExtendedLocationResponseOutput() ExtendedLocationResponseOutput {
return o
}
-func (o DelegationPropertiesResponseOutput) ToDelegationPropertiesResponseOutputWithContext(ctx context.Context) DelegationPropertiesResponseOutput {
+func (o ExtendedLocationResponseOutput) ToExtendedLocationResponseOutputWithContext(ctx context.Context) ExtendedLocationResponseOutput {
return o
}
-// The current provisioning state.
-func (o DelegationPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v DelegationPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The name of the extended location.
+func (o ExtendedLocationResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExtendedLocationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The service name to which the NVA is delegated.
-func (o DelegationPropertiesResponseOutput) ServiceName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DelegationPropertiesResponse) *string { return v.ServiceName }).(pulumi.StringPtrOutput)
+// The type of the extended location.
+func (o ExtendedLocationResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ExtendedLocationResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-type DelegationPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+type ExtendedLocationResponsePtrOutput struct{ *pulumi.OutputState }
-func (DelegationPropertiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**DelegationPropertiesResponse)(nil)).Elem()
+func (ExtendedLocationResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ExtendedLocationResponse)(nil)).Elem()
}
-func (o DelegationPropertiesResponsePtrOutput) ToDelegationPropertiesResponsePtrOutput() DelegationPropertiesResponsePtrOutput {
+func (o ExtendedLocationResponsePtrOutput) ToExtendedLocationResponsePtrOutput() ExtendedLocationResponsePtrOutput {
return o
}
-func (o DelegationPropertiesResponsePtrOutput) ToDelegationPropertiesResponsePtrOutputWithContext(ctx context.Context) DelegationPropertiesResponsePtrOutput {
+func (o ExtendedLocationResponsePtrOutput) ToExtendedLocationResponsePtrOutputWithContext(ctx context.Context) ExtendedLocationResponsePtrOutput {
return o
}
-func (o DelegationPropertiesResponsePtrOutput) Elem() DelegationPropertiesResponseOutput {
- return o.ApplyT(func(v *DelegationPropertiesResponse) DelegationPropertiesResponse {
+func (o ExtendedLocationResponsePtrOutput) Elem() ExtendedLocationResponseOutput {
+ return o.ApplyT(func(v *ExtendedLocationResponse) ExtendedLocationResponse {
if v != nil {
return *v
}
- var ret DelegationPropertiesResponse
+ var ret ExtendedLocationResponse
return ret
- }).(DelegationPropertiesResponseOutput)
+ }).(ExtendedLocationResponseOutput)
}
-// The current provisioning state.
-func (o DelegationPropertiesResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *DelegationPropertiesResponse) *string {
+// The name of the extended location.
+func (o ExtendedLocationResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExtendedLocationResponse) *string {
if v == nil {
return nil
}
- return &v.ProvisioningState
+ return v.Name
}).(pulumi.StringPtrOutput)
}
-// The service name to which the NVA is delegated.
-func (o DelegationPropertiesResponsePtrOutput) ServiceName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *DelegationPropertiesResponse) *string {
+// The type of the extended location.
+func (o ExtendedLocationResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ExtendedLocationResponse) *string {
if v == nil {
return nil
}
- return v.ServiceName
+ return v.Type
}).(pulumi.StringPtrOutput)
}
-// Details the service to which the subnet is delegated.
-type DelegationResponse struct {
- // The actions permitted to the service upon delegation.
- Actions []string `pulumi:"actions"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a subnet. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the service delegation resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
- ServiceName *string `pulumi:"serviceName"`
- // Resource type.
- Type *string `pulumi:"type"`
-}
-
-// Details the service to which the subnet is delegated.
-type DelegationResponseOutput struct{ *pulumi.OutputState }
-
-func (DelegationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*DelegationResponse)(nil)).Elem()
-}
-
-func (o DelegationResponseOutput) ToDelegationResponseOutput() DelegationResponseOutput {
- return o
-}
-
-func (o DelegationResponseOutput) ToDelegationResponseOutputWithContext(ctx context.Context) DelegationResponseOutput {
- return o
-}
-
-// The actions permitted to the service upon delegation.
-func (o DelegationResponseOutput) Actions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v DelegationResponse) []string { return v.Actions }).(pulumi.StringArrayOutput)
+// Will contain the filter name and values to operate on
+type FilterItems struct {
+ // The name of the field we would like to filter
+ Field *string `pulumi:"field"`
+ // List of values to filter the current field by
+ Values []string `pulumi:"values"`
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o DelegationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v DelegationResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
+// FilterItemsInput is an input type that accepts FilterItemsArgs and FilterItemsOutput values.
+// You can construct a concrete instance of `FilterItemsInput` via:
+//
+// FilterItemsArgs{...}
+type FilterItemsInput interface {
+ pulumi.Input
-// Resource ID.
-func (o DelegationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DelegationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+ ToFilterItemsOutput() FilterItemsOutput
+ ToFilterItemsOutputWithContext(context.Context) FilterItemsOutput
}
-// The name of the resource that is unique within a subnet. This name can be used to access the resource.
-func (o DelegationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DelegationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Will contain the filter name and values to operate on
+type FilterItemsArgs struct {
+ // The name of the field we would like to filter
+ Field pulumi.StringPtrInput `pulumi:"field"`
+ // List of values to filter the current field by
+ Values pulumi.StringArrayInput `pulumi:"values"`
}
-// The provisioning state of the service delegation resource.
-func (o DelegationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v DelegationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (FilterItemsArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FilterItems)(nil)).Elem()
}
-// The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
-func (o DelegationResponseOutput) ServiceName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DelegationResponse) *string { return v.ServiceName }).(pulumi.StringPtrOutput)
+func (i FilterItemsArgs) ToFilterItemsOutput() FilterItemsOutput {
+ return i.ToFilterItemsOutputWithContext(context.Background())
}
-// Resource type.
-func (o DelegationResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DelegationResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+func (i FilterItemsArgs) ToFilterItemsOutputWithContext(ctx context.Context) FilterItemsOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FilterItemsOutput)
}
-type DelegationResponseArrayOutput struct{ *pulumi.OutputState }
+// FilterItemsArrayInput is an input type that accepts FilterItemsArray and FilterItemsArrayOutput values.
+// You can construct a concrete instance of `FilterItemsArrayInput` via:
+//
+// FilterItemsArray{ FilterItemsArgs{...} }
+type FilterItemsArrayInput interface {
+ pulumi.Input
-func (DelegationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]DelegationResponse)(nil)).Elem()
+ ToFilterItemsArrayOutput() FilterItemsArrayOutput
+ ToFilterItemsArrayOutputWithContext(context.Context) FilterItemsArrayOutput
}
-func (o DelegationResponseArrayOutput) ToDelegationResponseArrayOutput() DelegationResponseArrayOutput {
- return o
-}
+type FilterItemsArray []FilterItemsInput
-func (o DelegationResponseArrayOutput) ToDelegationResponseArrayOutputWithContext(ctx context.Context) DelegationResponseArrayOutput {
- return o
+func (FilterItemsArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FilterItems)(nil)).Elem()
}
-func (o DelegationResponseArrayOutput) Index(i pulumi.IntInput) DelegationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) DelegationResponse {
- return vs[0].([]DelegationResponse)[vs[1].(int)]
- }).(DelegationResponseOutput)
+func (i FilterItemsArray) ToFilterItemsArrayOutput() FilterItemsArrayOutput {
+ return i.ToFilterItemsArrayOutputWithContext(context.Background())
}
-// Details the service to which the subnet is delegated.
-type DelegationResponseV1 struct {
- // Describes the actions permitted to the service upon delegation
- Actions []string `pulumi:"actions"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a subnet. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers)
- ServiceName *string `pulumi:"serviceName"`
+func (i FilterItemsArray) ToFilterItemsArrayOutputWithContext(ctx context.Context) FilterItemsArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FilterItemsArrayOutput)
}
-// Details the service to which the subnet is delegated.
-type DelegationResponseV1Output struct{ *pulumi.OutputState }
+// Will contain the filter name and values to operate on
+type FilterItemsOutput struct{ *pulumi.OutputState }
-func (DelegationResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*DelegationResponseV1)(nil)).Elem()
+func (FilterItemsOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FilterItems)(nil)).Elem()
}
-func (o DelegationResponseV1Output) ToDelegationResponseV1Output() DelegationResponseV1Output {
+func (o FilterItemsOutput) ToFilterItemsOutput() FilterItemsOutput {
return o
}
-func (o DelegationResponseV1Output) ToDelegationResponseV1OutputWithContext(ctx context.Context) DelegationResponseV1Output {
+func (o FilterItemsOutput) ToFilterItemsOutputWithContext(ctx context.Context) FilterItemsOutput {
return o
}
-// Describes the actions permitted to the service upon delegation
-func (o DelegationResponseV1Output) Actions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v DelegationResponseV1) []string { return v.Actions }).(pulumi.StringArrayOutput)
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o DelegationResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DelegationResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
-}
-
-// Resource ID.
-func (o DelegationResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DelegationResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// The name of the resource that is unique within a subnet. This name can be used to access the resource.
-func (o DelegationResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DelegationResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-// The provisioning state of the resource.
-func (o DelegationResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v DelegationResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The name of the field we would like to filter
+func (o FilterItemsOutput) Field() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FilterItems) *string { return v.Field }).(pulumi.StringPtrOutput)
}
-// The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers)
-func (o DelegationResponseV1Output) ServiceName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DelegationResponseV1) *string { return v.ServiceName }).(pulumi.StringPtrOutput)
+// List of values to filter the current field by
+func (o FilterItemsOutput) Values() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FilterItems) []string { return v.Values }).(pulumi.StringArrayOutput)
}
-type DelegationResponseV1ArrayOutput struct{ *pulumi.OutputState }
+type FilterItemsArrayOutput struct{ *pulumi.OutputState }
-func (DelegationResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]DelegationResponseV1)(nil)).Elem()
+func (FilterItemsArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FilterItems)(nil)).Elem()
}
-func (o DelegationResponseV1ArrayOutput) ToDelegationResponseV1ArrayOutput() DelegationResponseV1ArrayOutput {
+func (o FilterItemsArrayOutput) ToFilterItemsArrayOutput() FilterItemsArrayOutput {
return o
}
-func (o DelegationResponseV1ArrayOutput) ToDelegationResponseV1ArrayOutputWithContext(ctx context.Context) DelegationResponseV1ArrayOutput {
+func (o FilterItemsArrayOutput) ToFilterItemsArrayOutputWithContext(ctx context.Context) FilterItemsArrayOutput {
return o
}
-func (o DelegationResponseV1ArrayOutput) Index(i pulumi.IntInput) DelegationResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) DelegationResponseV1 {
- return vs[0].([]DelegationResponseV1)[vs[1].(int)]
- }).(DelegationResponseV1Output)
+func (o FilterItemsArrayOutput) Index(i pulumi.IntInput) FilterItemsOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FilterItems {
+ return vs[0].([]FilterItems)[vs[1].(int)]
+ }).(FilterItemsOutput)
}
-// List of properties of the device.
-type DeviceProperties struct {
- // Model of the device.
- DeviceModel *string `pulumi:"deviceModel"`
- // Name of the device Vendor.
- DeviceVendor *string `pulumi:"deviceVendor"`
- // Link speed.
- LinkSpeedInMbps *int `pulumi:"linkSpeedInMbps"`
+// Trusted Root certificates properties for tls.
+type FirewallPolicyCertificateAuthority struct {
+ // Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
+ KeyVaultSecretId *string `pulumi:"keyVaultSecretId"`
+ // Name of the CA certificate.
+ Name *string `pulumi:"name"`
}
-// DevicePropertiesInput is an input type that accepts DevicePropertiesArgs and DevicePropertiesOutput values.
-// You can construct a concrete instance of `DevicePropertiesInput` via:
+// FirewallPolicyCertificateAuthorityInput is an input type that accepts FirewallPolicyCertificateAuthorityArgs and FirewallPolicyCertificateAuthorityOutput values.
+// You can construct a concrete instance of `FirewallPolicyCertificateAuthorityInput` via:
//
-// DevicePropertiesArgs{...}
-type DevicePropertiesInput interface {
+// FirewallPolicyCertificateAuthorityArgs{...}
+type FirewallPolicyCertificateAuthorityInput interface {
pulumi.Input
- ToDevicePropertiesOutput() DevicePropertiesOutput
- ToDevicePropertiesOutputWithContext(context.Context) DevicePropertiesOutput
+ ToFirewallPolicyCertificateAuthorityOutput() FirewallPolicyCertificateAuthorityOutput
+ ToFirewallPolicyCertificateAuthorityOutputWithContext(context.Context) FirewallPolicyCertificateAuthorityOutput
}
-// List of properties of the device.
-type DevicePropertiesArgs struct {
- // Model of the device.
- DeviceModel pulumi.StringPtrInput `pulumi:"deviceModel"`
- // Name of the device Vendor.
- DeviceVendor pulumi.StringPtrInput `pulumi:"deviceVendor"`
- // Link speed.
- LinkSpeedInMbps pulumi.IntPtrInput `pulumi:"linkSpeedInMbps"`
+// Trusted Root certificates properties for tls.
+type FirewallPolicyCertificateAuthorityArgs struct {
+ // Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
+ KeyVaultSecretId pulumi.StringPtrInput `pulumi:"keyVaultSecretId"`
+ // Name of the CA certificate.
+ Name pulumi.StringPtrInput `pulumi:"name"`
}
-func (DevicePropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*DeviceProperties)(nil)).Elem()
+func (FirewallPolicyCertificateAuthorityArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyCertificateAuthority)(nil)).Elem()
}
-func (i DevicePropertiesArgs) ToDevicePropertiesOutput() DevicePropertiesOutput {
- return i.ToDevicePropertiesOutputWithContext(context.Background())
+func (i FirewallPolicyCertificateAuthorityArgs) ToFirewallPolicyCertificateAuthorityOutput() FirewallPolicyCertificateAuthorityOutput {
+ return i.ToFirewallPolicyCertificateAuthorityOutputWithContext(context.Background())
}
-func (i DevicePropertiesArgs) ToDevicePropertiesOutputWithContext(ctx context.Context) DevicePropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DevicePropertiesOutput)
+func (i FirewallPolicyCertificateAuthorityArgs) ToFirewallPolicyCertificateAuthorityOutputWithContext(ctx context.Context) FirewallPolicyCertificateAuthorityOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyCertificateAuthorityOutput)
}
-func (i DevicePropertiesArgs) ToDevicePropertiesPtrOutput() DevicePropertiesPtrOutput {
- return i.ToDevicePropertiesPtrOutputWithContext(context.Background())
+func (i FirewallPolicyCertificateAuthorityArgs) ToFirewallPolicyCertificateAuthorityPtrOutput() FirewallPolicyCertificateAuthorityPtrOutput {
+ return i.ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(context.Background())
}
-func (i DevicePropertiesArgs) ToDevicePropertiesPtrOutputWithContext(ctx context.Context) DevicePropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DevicePropertiesOutput).ToDevicePropertiesPtrOutputWithContext(ctx)
+func (i FirewallPolicyCertificateAuthorityArgs) ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(ctx context.Context) FirewallPolicyCertificateAuthorityPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyCertificateAuthorityOutput).ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(ctx)
}
-// DevicePropertiesPtrInput is an input type that accepts DevicePropertiesArgs, DevicePropertiesPtr and DevicePropertiesPtrOutput values.
-// You can construct a concrete instance of `DevicePropertiesPtrInput` via:
+// FirewallPolicyCertificateAuthorityPtrInput is an input type that accepts FirewallPolicyCertificateAuthorityArgs, FirewallPolicyCertificateAuthorityPtr and FirewallPolicyCertificateAuthorityPtrOutput values.
+// You can construct a concrete instance of `FirewallPolicyCertificateAuthorityPtrInput` via:
//
-// DevicePropertiesArgs{...}
+// FirewallPolicyCertificateAuthorityArgs{...}
//
// or:
//
// nil
-type DevicePropertiesPtrInput interface {
+type FirewallPolicyCertificateAuthorityPtrInput interface {
pulumi.Input
- ToDevicePropertiesPtrOutput() DevicePropertiesPtrOutput
- ToDevicePropertiesPtrOutputWithContext(context.Context) DevicePropertiesPtrOutput
+ ToFirewallPolicyCertificateAuthorityPtrOutput() FirewallPolicyCertificateAuthorityPtrOutput
+ ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(context.Context) FirewallPolicyCertificateAuthorityPtrOutput
}
-type devicePropertiesPtrType DevicePropertiesArgs
+type firewallPolicyCertificateAuthorityPtrType FirewallPolicyCertificateAuthorityArgs
-func DevicePropertiesPtr(v *DevicePropertiesArgs) DevicePropertiesPtrInput {
- return (*devicePropertiesPtrType)(v)
+func FirewallPolicyCertificateAuthorityPtr(v *FirewallPolicyCertificateAuthorityArgs) FirewallPolicyCertificateAuthorityPtrInput {
+ return (*firewallPolicyCertificateAuthorityPtrType)(v)
}
-func (*devicePropertiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**DeviceProperties)(nil)).Elem()
+func (*firewallPolicyCertificateAuthorityPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyCertificateAuthority)(nil)).Elem()
}
-func (i *devicePropertiesPtrType) ToDevicePropertiesPtrOutput() DevicePropertiesPtrOutput {
- return i.ToDevicePropertiesPtrOutputWithContext(context.Background())
-}
+func (i *firewallPolicyCertificateAuthorityPtrType) ToFirewallPolicyCertificateAuthorityPtrOutput() FirewallPolicyCertificateAuthorityPtrOutput {
+ return i.ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(context.Background())
+}
-func (i *devicePropertiesPtrType) ToDevicePropertiesPtrOutputWithContext(ctx context.Context) DevicePropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DevicePropertiesPtrOutput)
+func (i *firewallPolicyCertificateAuthorityPtrType) ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(ctx context.Context) FirewallPolicyCertificateAuthorityPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyCertificateAuthorityPtrOutput)
}
-// List of properties of the device.
-type DevicePropertiesOutput struct{ *pulumi.OutputState }
+// Trusted Root certificates properties for tls.
+type FirewallPolicyCertificateAuthorityOutput struct{ *pulumi.OutputState }
-func (DevicePropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*DeviceProperties)(nil)).Elem()
+func (FirewallPolicyCertificateAuthorityOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyCertificateAuthority)(nil)).Elem()
}
-func (o DevicePropertiesOutput) ToDevicePropertiesOutput() DevicePropertiesOutput {
+func (o FirewallPolicyCertificateAuthorityOutput) ToFirewallPolicyCertificateAuthorityOutput() FirewallPolicyCertificateAuthorityOutput {
return o
}
-func (o DevicePropertiesOutput) ToDevicePropertiesOutputWithContext(ctx context.Context) DevicePropertiesOutput {
+func (o FirewallPolicyCertificateAuthorityOutput) ToFirewallPolicyCertificateAuthorityOutputWithContext(ctx context.Context) FirewallPolicyCertificateAuthorityOutput {
return o
}
-func (o DevicePropertiesOutput) ToDevicePropertiesPtrOutput() DevicePropertiesPtrOutput {
- return o.ToDevicePropertiesPtrOutputWithContext(context.Background())
+func (o FirewallPolicyCertificateAuthorityOutput) ToFirewallPolicyCertificateAuthorityPtrOutput() FirewallPolicyCertificateAuthorityPtrOutput {
+ return o.ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(context.Background())
}
-func (o DevicePropertiesOutput) ToDevicePropertiesPtrOutputWithContext(ctx context.Context) DevicePropertiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v DeviceProperties) *DeviceProperties {
+func (o FirewallPolicyCertificateAuthorityOutput) ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(ctx context.Context) FirewallPolicyCertificateAuthorityPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyCertificateAuthority) *FirewallPolicyCertificateAuthority {
return &v
- }).(DevicePropertiesPtrOutput)
-}
-
-// Model of the device.
-func (o DevicePropertiesOutput) DeviceModel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DeviceProperties) *string { return v.DeviceModel }).(pulumi.StringPtrOutput)
+ }).(FirewallPolicyCertificateAuthorityPtrOutput)
}
-// Name of the device Vendor.
-func (o DevicePropertiesOutput) DeviceVendor() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DeviceProperties) *string { return v.DeviceVendor }).(pulumi.StringPtrOutput)
+// Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
+func (o FirewallPolicyCertificateAuthorityOutput) KeyVaultSecretId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyCertificateAuthority) *string { return v.KeyVaultSecretId }).(pulumi.StringPtrOutput)
}
-// Link speed.
-func (o DevicePropertiesOutput) LinkSpeedInMbps() pulumi.IntPtrOutput {
- return o.ApplyT(func(v DeviceProperties) *int { return v.LinkSpeedInMbps }).(pulumi.IntPtrOutput)
+// Name of the CA certificate.
+func (o FirewallPolicyCertificateAuthorityOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyCertificateAuthority) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-type DevicePropertiesPtrOutput struct{ *pulumi.OutputState }
+type FirewallPolicyCertificateAuthorityPtrOutput struct{ *pulumi.OutputState }
-func (DevicePropertiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**DeviceProperties)(nil)).Elem()
+func (FirewallPolicyCertificateAuthorityPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyCertificateAuthority)(nil)).Elem()
}
-func (o DevicePropertiesPtrOutput) ToDevicePropertiesPtrOutput() DevicePropertiesPtrOutput {
+func (o FirewallPolicyCertificateAuthorityPtrOutput) ToFirewallPolicyCertificateAuthorityPtrOutput() FirewallPolicyCertificateAuthorityPtrOutput {
return o
}
-func (o DevicePropertiesPtrOutput) ToDevicePropertiesPtrOutputWithContext(ctx context.Context) DevicePropertiesPtrOutput {
+func (o FirewallPolicyCertificateAuthorityPtrOutput) ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(ctx context.Context) FirewallPolicyCertificateAuthorityPtrOutput {
return o
}
-func (o DevicePropertiesPtrOutput) Elem() DevicePropertiesOutput {
- return o.ApplyT(func(v *DeviceProperties) DeviceProperties {
+func (o FirewallPolicyCertificateAuthorityPtrOutput) Elem() FirewallPolicyCertificateAuthorityOutput {
+ return o.ApplyT(func(v *FirewallPolicyCertificateAuthority) FirewallPolicyCertificateAuthority {
if v != nil {
return *v
}
- var ret DeviceProperties
+ var ret FirewallPolicyCertificateAuthority
return ret
- }).(DevicePropertiesOutput)
+ }).(FirewallPolicyCertificateAuthorityOutput)
}
-// Model of the device.
-func (o DevicePropertiesPtrOutput) DeviceModel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *DeviceProperties) *string {
+// Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
+func (o FirewallPolicyCertificateAuthorityPtrOutput) KeyVaultSecretId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyCertificateAuthority) *string {
if v == nil {
return nil
}
- return v.DeviceModel
+ return v.KeyVaultSecretId
}).(pulumi.StringPtrOutput)
}
-// Name of the device Vendor.
-func (o DevicePropertiesPtrOutput) DeviceVendor() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *DeviceProperties) *string {
+// Name of the CA certificate.
+func (o FirewallPolicyCertificateAuthorityPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyCertificateAuthority) *string {
if v == nil {
return nil
}
- return v.DeviceVendor
+ return v.Name
}).(pulumi.StringPtrOutput)
}
-// Link speed.
-func (o DevicePropertiesPtrOutput) LinkSpeedInMbps() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *DeviceProperties) *int {
- if v == nil {
- return nil
- }
- return v.LinkSpeedInMbps
- }).(pulumi.IntPtrOutput)
-}
-
-// List of properties of the device.
-type DevicePropertiesResponse struct {
- // Model of the device.
- DeviceModel *string `pulumi:"deviceModel"`
- // Name of the device Vendor.
- DeviceVendor *string `pulumi:"deviceVendor"`
- // Link speed.
- LinkSpeedInMbps *int `pulumi:"linkSpeedInMbps"`
+// Trusted Root certificates properties for tls.
+type FirewallPolicyCertificateAuthorityResponse struct {
+ // Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
+ KeyVaultSecretId *string `pulumi:"keyVaultSecretId"`
+ // Name of the CA certificate.
+ Name *string `pulumi:"name"`
}
-// List of properties of the device.
-type DevicePropertiesResponseOutput struct{ *pulumi.OutputState }
+// Trusted Root certificates properties for tls.
+type FirewallPolicyCertificateAuthorityResponseOutput struct{ *pulumi.OutputState }
-func (DevicePropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*DevicePropertiesResponse)(nil)).Elem()
+func (FirewallPolicyCertificateAuthorityResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyCertificateAuthorityResponse)(nil)).Elem()
}
-func (o DevicePropertiesResponseOutput) ToDevicePropertiesResponseOutput() DevicePropertiesResponseOutput {
+func (o FirewallPolicyCertificateAuthorityResponseOutput) ToFirewallPolicyCertificateAuthorityResponseOutput() FirewallPolicyCertificateAuthorityResponseOutput {
return o
}
-func (o DevicePropertiesResponseOutput) ToDevicePropertiesResponseOutputWithContext(ctx context.Context) DevicePropertiesResponseOutput {
+func (o FirewallPolicyCertificateAuthorityResponseOutput) ToFirewallPolicyCertificateAuthorityResponseOutputWithContext(ctx context.Context) FirewallPolicyCertificateAuthorityResponseOutput {
return o
}
-// Model of the device.
-func (o DevicePropertiesResponseOutput) DeviceModel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DevicePropertiesResponse) *string { return v.DeviceModel }).(pulumi.StringPtrOutput)
-}
-
-// Name of the device Vendor.
-func (o DevicePropertiesResponseOutput) DeviceVendor() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DevicePropertiesResponse) *string { return v.DeviceVendor }).(pulumi.StringPtrOutput)
+// Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
+func (o FirewallPolicyCertificateAuthorityResponseOutput) KeyVaultSecretId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyCertificateAuthorityResponse) *string { return v.KeyVaultSecretId }).(pulumi.StringPtrOutput)
}
-// Link speed.
-func (o DevicePropertiesResponseOutput) LinkSpeedInMbps() pulumi.IntPtrOutput {
- return o.ApplyT(func(v DevicePropertiesResponse) *int { return v.LinkSpeedInMbps }).(pulumi.IntPtrOutput)
+// Name of the CA certificate.
+func (o FirewallPolicyCertificateAuthorityResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyCertificateAuthorityResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-type DevicePropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+type FirewallPolicyCertificateAuthorityResponsePtrOutput struct{ *pulumi.OutputState }
-func (DevicePropertiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**DevicePropertiesResponse)(nil)).Elem()
+func (FirewallPolicyCertificateAuthorityResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyCertificateAuthorityResponse)(nil)).Elem()
}
-func (o DevicePropertiesResponsePtrOutput) ToDevicePropertiesResponsePtrOutput() DevicePropertiesResponsePtrOutput {
+func (o FirewallPolicyCertificateAuthorityResponsePtrOutput) ToFirewallPolicyCertificateAuthorityResponsePtrOutput() FirewallPolicyCertificateAuthorityResponsePtrOutput {
return o
}
-func (o DevicePropertiesResponsePtrOutput) ToDevicePropertiesResponsePtrOutputWithContext(ctx context.Context) DevicePropertiesResponsePtrOutput {
+func (o FirewallPolicyCertificateAuthorityResponsePtrOutput) ToFirewallPolicyCertificateAuthorityResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyCertificateAuthorityResponsePtrOutput {
return o
}
-func (o DevicePropertiesResponsePtrOutput) Elem() DevicePropertiesResponseOutput {
- return o.ApplyT(func(v *DevicePropertiesResponse) DevicePropertiesResponse {
+func (o FirewallPolicyCertificateAuthorityResponsePtrOutput) Elem() FirewallPolicyCertificateAuthorityResponseOutput {
+ return o.ApplyT(func(v *FirewallPolicyCertificateAuthorityResponse) FirewallPolicyCertificateAuthorityResponse {
if v != nil {
return *v
}
- var ret DevicePropertiesResponse
+ var ret FirewallPolicyCertificateAuthorityResponse
return ret
- }).(DevicePropertiesResponseOutput)
+ }).(FirewallPolicyCertificateAuthorityResponseOutput)
}
-// Model of the device.
-func (o DevicePropertiesResponsePtrOutput) DeviceModel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *DevicePropertiesResponse) *string {
+// Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
+func (o FirewallPolicyCertificateAuthorityResponsePtrOutput) KeyVaultSecretId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyCertificateAuthorityResponse) *string {
if v == nil {
return nil
}
- return v.DeviceModel
+ return v.KeyVaultSecretId
}).(pulumi.StringPtrOutput)
}
-// Name of the device Vendor.
-func (o DevicePropertiesResponsePtrOutput) DeviceVendor() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *DevicePropertiesResponse) *string {
+// Name of the CA certificate.
+func (o FirewallPolicyCertificateAuthorityResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyCertificateAuthorityResponse) *string {
if v == nil {
return nil
}
- return v.DeviceVendor
+ return v.Name
}).(pulumi.StringPtrOutput)
}
-// Link speed.
-func (o DevicePropertiesResponsePtrOutput) LinkSpeedInMbps() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *DevicePropertiesResponse) *int {
- if v == nil {
- return nil
- }
- return v.LinkSpeedInMbps
- }).(pulumi.IntPtrOutput)
+// Firewall Policy Filter Rule.
+type FirewallPolicyFilterRule struct {
+ // The action type of a Filter rule.
+ Action *FirewallPolicyFilterRuleAction `pulumi:"action"`
+ // The name of the rule.
+ Name *string `pulumi:"name"`
+ // Priority of the Firewall Policy Rule resource.
+ Priority *int `pulumi:"priority"`
+ // Collection of rule conditions used by a rule.
+ RuleConditions []interface{} `pulumi:"ruleConditions"`
+ // The type of the rule.
+ // Expected value is 'FirewallPolicyFilterRule'.
+ RuleType string `pulumi:"ruleType"`
}
-// DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.
-type DhcpOptions struct {
- // The list of DNS servers IP addresses.
- DnsServers []string `pulumi:"dnsServers"`
+// FirewallPolicyFilterRuleInput is an input type that accepts FirewallPolicyFilterRuleArgs and FirewallPolicyFilterRuleOutput values.
+// You can construct a concrete instance of `FirewallPolicyFilterRuleInput` via:
+//
+// FirewallPolicyFilterRuleArgs{...}
+type FirewallPolicyFilterRuleInput interface {
+ pulumi.Input
+
+ ToFirewallPolicyFilterRuleOutput() FirewallPolicyFilterRuleOutput
+ ToFirewallPolicyFilterRuleOutputWithContext(context.Context) FirewallPolicyFilterRuleOutput
}
-// DhcpOptionsInput is an input type that accepts DhcpOptionsArgs and DhcpOptionsOutput values.
-// You can construct a concrete instance of `DhcpOptionsInput` via:
+// Firewall Policy Filter Rule.
+type FirewallPolicyFilterRuleArgs struct {
+ // The action type of a Filter rule.
+ Action FirewallPolicyFilterRuleActionPtrInput `pulumi:"action"`
+ // The name of the rule.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Priority of the Firewall Policy Rule resource.
+ Priority pulumi.IntPtrInput `pulumi:"priority"`
+ // Collection of rule conditions used by a rule.
+ RuleConditions pulumi.ArrayInput `pulumi:"ruleConditions"`
+ // The type of the rule.
+ // Expected value is 'FirewallPolicyFilterRule'.
+ RuleType pulumi.StringInput `pulumi:"ruleType"`
+}
+
+func (FirewallPolicyFilterRuleArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyFilterRule)(nil)).Elem()
+}
+
+func (i FirewallPolicyFilterRuleArgs) ToFirewallPolicyFilterRuleOutput() FirewallPolicyFilterRuleOutput {
+ return i.ToFirewallPolicyFilterRuleOutputWithContext(context.Background())
+}
+
+func (i FirewallPolicyFilterRuleArgs) ToFirewallPolicyFilterRuleOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyFilterRuleOutput)
+}
+
+// Firewall Policy Filter Rule.
+type FirewallPolicyFilterRuleOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyFilterRuleOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyFilterRule)(nil)).Elem()
+}
+
+func (o FirewallPolicyFilterRuleOutput) ToFirewallPolicyFilterRuleOutput() FirewallPolicyFilterRuleOutput {
+ return o
+}
+
+func (o FirewallPolicyFilterRuleOutput) ToFirewallPolicyFilterRuleOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleOutput {
+ return o
+}
+
+// The action type of a Filter rule.
+func (o FirewallPolicyFilterRuleOutput) Action() FirewallPolicyFilterRuleActionPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRule) *FirewallPolicyFilterRuleAction { return v.Action }).(FirewallPolicyFilterRuleActionPtrOutput)
+}
+
+// The name of the rule.
+func (o FirewallPolicyFilterRuleOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRule) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
+
+// Priority of the Firewall Policy Rule resource.
+func (o FirewallPolicyFilterRuleOutput) Priority() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRule) *int { return v.Priority }).(pulumi.IntPtrOutput)
+}
+
+// Collection of rule conditions used by a rule.
+func (o FirewallPolicyFilterRuleOutput) RuleConditions() pulumi.ArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRule) []interface{} { return v.RuleConditions }).(pulumi.ArrayOutput)
+}
+
+// The type of the rule.
+// Expected value is 'FirewallPolicyFilterRule'.
+func (o FirewallPolicyFilterRuleOutput) RuleType() pulumi.StringOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRule) string { return v.RuleType }).(pulumi.StringOutput)
+}
+
+// Properties of the FirewallPolicyFilterRuleAction.
+type FirewallPolicyFilterRuleAction struct {
+ // The type of action.
+ Type *string `pulumi:"type"`
+}
+
+// FirewallPolicyFilterRuleActionInput is an input type that accepts FirewallPolicyFilterRuleActionArgs and FirewallPolicyFilterRuleActionOutput values.
+// You can construct a concrete instance of `FirewallPolicyFilterRuleActionInput` via:
//
-// DhcpOptionsArgs{...}
-type DhcpOptionsInput interface {
+// FirewallPolicyFilterRuleActionArgs{...}
+type FirewallPolicyFilterRuleActionInput interface {
pulumi.Input
- ToDhcpOptionsOutput() DhcpOptionsOutput
- ToDhcpOptionsOutputWithContext(context.Context) DhcpOptionsOutput
+ ToFirewallPolicyFilterRuleActionOutput() FirewallPolicyFilterRuleActionOutput
+ ToFirewallPolicyFilterRuleActionOutputWithContext(context.Context) FirewallPolicyFilterRuleActionOutput
}
-// DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.
-type DhcpOptionsArgs struct {
- // The list of DNS servers IP addresses.
- DnsServers pulumi.StringArrayInput `pulumi:"dnsServers"`
+// Properties of the FirewallPolicyFilterRuleAction.
+type FirewallPolicyFilterRuleActionArgs struct {
+ // The type of action.
+ Type pulumi.StringPtrInput `pulumi:"type"`
}
-func (DhcpOptionsArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*DhcpOptions)(nil)).Elem()
+func (FirewallPolicyFilterRuleActionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyFilterRuleAction)(nil)).Elem()
}
-func (i DhcpOptionsArgs) ToDhcpOptionsOutput() DhcpOptionsOutput {
- return i.ToDhcpOptionsOutputWithContext(context.Background())
+func (i FirewallPolicyFilterRuleActionArgs) ToFirewallPolicyFilterRuleActionOutput() FirewallPolicyFilterRuleActionOutput {
+ return i.ToFirewallPolicyFilterRuleActionOutputWithContext(context.Background())
}
-func (i DhcpOptionsArgs) ToDhcpOptionsOutputWithContext(ctx context.Context) DhcpOptionsOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DhcpOptionsOutput)
+func (i FirewallPolicyFilterRuleActionArgs) ToFirewallPolicyFilterRuleActionOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleActionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyFilterRuleActionOutput)
}
-func (i DhcpOptionsArgs) ToDhcpOptionsPtrOutput() DhcpOptionsPtrOutput {
- return i.ToDhcpOptionsPtrOutputWithContext(context.Background())
+func (i FirewallPolicyFilterRuleActionArgs) ToFirewallPolicyFilterRuleActionPtrOutput() FirewallPolicyFilterRuleActionPtrOutput {
+ return i.ToFirewallPolicyFilterRuleActionPtrOutputWithContext(context.Background())
}
-func (i DhcpOptionsArgs) ToDhcpOptionsPtrOutputWithContext(ctx context.Context) DhcpOptionsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DhcpOptionsOutput).ToDhcpOptionsPtrOutputWithContext(ctx)
+func (i FirewallPolicyFilterRuleActionArgs) ToFirewallPolicyFilterRuleActionPtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleActionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyFilterRuleActionOutput).ToFirewallPolicyFilterRuleActionPtrOutputWithContext(ctx)
}
-// DhcpOptionsPtrInput is an input type that accepts DhcpOptionsArgs, DhcpOptionsPtr and DhcpOptionsPtrOutput values.
-// You can construct a concrete instance of `DhcpOptionsPtrInput` via:
+// FirewallPolicyFilterRuleActionPtrInput is an input type that accepts FirewallPolicyFilterRuleActionArgs, FirewallPolicyFilterRuleActionPtr and FirewallPolicyFilterRuleActionPtrOutput values.
+// You can construct a concrete instance of `FirewallPolicyFilterRuleActionPtrInput` via:
//
-// DhcpOptionsArgs{...}
+// FirewallPolicyFilterRuleActionArgs{...}
//
// or:
//
// nil
-type DhcpOptionsPtrInput interface {
+type FirewallPolicyFilterRuleActionPtrInput interface {
pulumi.Input
- ToDhcpOptionsPtrOutput() DhcpOptionsPtrOutput
- ToDhcpOptionsPtrOutputWithContext(context.Context) DhcpOptionsPtrOutput
+ ToFirewallPolicyFilterRuleActionPtrOutput() FirewallPolicyFilterRuleActionPtrOutput
+ ToFirewallPolicyFilterRuleActionPtrOutputWithContext(context.Context) FirewallPolicyFilterRuleActionPtrOutput
}
-type dhcpOptionsPtrType DhcpOptionsArgs
+type firewallPolicyFilterRuleActionPtrType FirewallPolicyFilterRuleActionArgs
-func DhcpOptionsPtr(v *DhcpOptionsArgs) DhcpOptionsPtrInput {
- return (*dhcpOptionsPtrType)(v)
+func FirewallPolicyFilterRuleActionPtr(v *FirewallPolicyFilterRuleActionArgs) FirewallPolicyFilterRuleActionPtrInput {
+ return (*firewallPolicyFilterRuleActionPtrType)(v)
}
-func (*dhcpOptionsPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**DhcpOptions)(nil)).Elem()
+func (*firewallPolicyFilterRuleActionPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyFilterRuleAction)(nil)).Elem()
}
-func (i *dhcpOptionsPtrType) ToDhcpOptionsPtrOutput() DhcpOptionsPtrOutput {
- return i.ToDhcpOptionsPtrOutputWithContext(context.Background())
+func (i *firewallPolicyFilterRuleActionPtrType) ToFirewallPolicyFilterRuleActionPtrOutput() FirewallPolicyFilterRuleActionPtrOutput {
+ return i.ToFirewallPolicyFilterRuleActionPtrOutputWithContext(context.Background())
}
-func (i *dhcpOptionsPtrType) ToDhcpOptionsPtrOutputWithContext(ctx context.Context) DhcpOptionsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DhcpOptionsPtrOutput)
+func (i *firewallPolicyFilterRuleActionPtrType) ToFirewallPolicyFilterRuleActionPtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleActionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyFilterRuleActionPtrOutput)
}
-// DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.
-type DhcpOptionsOutput struct{ *pulumi.OutputState }
+// Properties of the FirewallPolicyFilterRuleAction.
+type FirewallPolicyFilterRuleActionOutput struct{ *pulumi.OutputState }
-func (DhcpOptionsOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*DhcpOptions)(nil)).Elem()
+func (FirewallPolicyFilterRuleActionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyFilterRuleAction)(nil)).Elem()
}
-func (o DhcpOptionsOutput) ToDhcpOptionsOutput() DhcpOptionsOutput {
+func (o FirewallPolicyFilterRuleActionOutput) ToFirewallPolicyFilterRuleActionOutput() FirewallPolicyFilterRuleActionOutput {
return o
}
-func (o DhcpOptionsOutput) ToDhcpOptionsOutputWithContext(ctx context.Context) DhcpOptionsOutput {
+func (o FirewallPolicyFilterRuleActionOutput) ToFirewallPolicyFilterRuleActionOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleActionOutput {
return o
}
-func (o DhcpOptionsOutput) ToDhcpOptionsPtrOutput() DhcpOptionsPtrOutput {
- return o.ToDhcpOptionsPtrOutputWithContext(context.Background())
+func (o FirewallPolicyFilterRuleActionOutput) ToFirewallPolicyFilterRuleActionPtrOutput() FirewallPolicyFilterRuleActionPtrOutput {
+ return o.ToFirewallPolicyFilterRuleActionPtrOutputWithContext(context.Background())
}
-func (o DhcpOptionsOutput) ToDhcpOptionsPtrOutputWithContext(ctx context.Context) DhcpOptionsPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v DhcpOptions) *DhcpOptions {
+func (o FirewallPolicyFilterRuleActionOutput) ToFirewallPolicyFilterRuleActionPtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleActionPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyFilterRuleAction) *FirewallPolicyFilterRuleAction {
return &v
- }).(DhcpOptionsPtrOutput)
+ }).(FirewallPolicyFilterRuleActionPtrOutput)
}
-// The list of DNS servers IP addresses.
-func (o DhcpOptionsOutput) DnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v DhcpOptions) []string { return v.DnsServers }).(pulumi.StringArrayOutput)
+// The type of action.
+func (o FirewallPolicyFilterRuleActionOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleAction) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-type DhcpOptionsPtrOutput struct{ *pulumi.OutputState }
+type FirewallPolicyFilterRuleActionPtrOutput struct{ *pulumi.OutputState }
-func (DhcpOptionsPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**DhcpOptions)(nil)).Elem()
+func (FirewallPolicyFilterRuleActionPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyFilterRuleAction)(nil)).Elem()
}
-func (o DhcpOptionsPtrOutput) ToDhcpOptionsPtrOutput() DhcpOptionsPtrOutput {
+func (o FirewallPolicyFilterRuleActionPtrOutput) ToFirewallPolicyFilterRuleActionPtrOutput() FirewallPolicyFilterRuleActionPtrOutput {
return o
}
-func (o DhcpOptionsPtrOutput) ToDhcpOptionsPtrOutputWithContext(ctx context.Context) DhcpOptionsPtrOutput {
+func (o FirewallPolicyFilterRuleActionPtrOutput) ToFirewallPolicyFilterRuleActionPtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleActionPtrOutput {
return o
}
-func (o DhcpOptionsPtrOutput) Elem() DhcpOptionsOutput {
- return o.ApplyT(func(v *DhcpOptions) DhcpOptions {
+func (o FirewallPolicyFilterRuleActionPtrOutput) Elem() FirewallPolicyFilterRuleActionOutput {
+ return o.ApplyT(func(v *FirewallPolicyFilterRuleAction) FirewallPolicyFilterRuleAction {
if v != nil {
return *v
}
- var ret DhcpOptions
+ var ret FirewallPolicyFilterRuleAction
return ret
- }).(DhcpOptionsOutput)
+ }).(FirewallPolicyFilterRuleActionOutput)
}
-// The list of DNS servers IP addresses.
-func (o DhcpOptionsPtrOutput) DnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *DhcpOptions) []string {
+// The type of action.
+func (o FirewallPolicyFilterRuleActionPtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyFilterRuleAction) *string {
if v == nil {
return nil
}
- return v.DnsServers
- }).(pulumi.StringArrayOutput)
+ return v.Type
+ }).(pulumi.StringPtrOutput)
}
-// DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.
-type DhcpOptionsResponse struct {
- // The list of DNS servers IP addresses.
- DnsServers []string `pulumi:"dnsServers"`
+// Properties of the FirewallPolicyFilterRuleAction.
+type FirewallPolicyFilterRuleActionResponse struct {
+ // The type of action.
+ Type *string `pulumi:"type"`
}
-// DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.
-type DhcpOptionsResponseOutput struct{ *pulumi.OutputState }
+// Properties of the FirewallPolicyFilterRuleAction.
+type FirewallPolicyFilterRuleActionResponseOutput struct{ *pulumi.OutputState }
-func (DhcpOptionsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*DhcpOptionsResponse)(nil)).Elem()
+func (FirewallPolicyFilterRuleActionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyFilterRuleActionResponse)(nil)).Elem()
}
-func (o DhcpOptionsResponseOutput) ToDhcpOptionsResponseOutput() DhcpOptionsResponseOutput {
+func (o FirewallPolicyFilterRuleActionResponseOutput) ToFirewallPolicyFilterRuleActionResponseOutput() FirewallPolicyFilterRuleActionResponseOutput {
return o
}
-func (o DhcpOptionsResponseOutput) ToDhcpOptionsResponseOutputWithContext(ctx context.Context) DhcpOptionsResponseOutput {
+func (o FirewallPolicyFilterRuleActionResponseOutput) ToFirewallPolicyFilterRuleActionResponseOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleActionResponseOutput {
return o
}
-// The list of DNS servers IP addresses.
-func (o DhcpOptionsResponseOutput) DnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v DhcpOptionsResponse) []string { return v.DnsServers }).(pulumi.StringArrayOutput)
+// The type of action.
+func (o FirewallPolicyFilterRuleActionResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleActionResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-type DhcpOptionsResponsePtrOutput struct{ *pulumi.OutputState }
+type FirewallPolicyFilterRuleActionResponsePtrOutput struct{ *pulumi.OutputState }
-func (DhcpOptionsResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**DhcpOptionsResponse)(nil)).Elem()
+func (FirewallPolicyFilterRuleActionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyFilterRuleActionResponse)(nil)).Elem()
}
-func (o DhcpOptionsResponsePtrOutput) ToDhcpOptionsResponsePtrOutput() DhcpOptionsResponsePtrOutput {
+func (o FirewallPolicyFilterRuleActionResponsePtrOutput) ToFirewallPolicyFilterRuleActionResponsePtrOutput() FirewallPolicyFilterRuleActionResponsePtrOutput {
return o
}
-func (o DhcpOptionsResponsePtrOutput) ToDhcpOptionsResponsePtrOutputWithContext(ctx context.Context) DhcpOptionsResponsePtrOutput {
+func (o FirewallPolicyFilterRuleActionResponsePtrOutput) ToFirewallPolicyFilterRuleActionResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleActionResponsePtrOutput {
return o
}
-func (o DhcpOptionsResponsePtrOutput) Elem() DhcpOptionsResponseOutput {
- return o.ApplyT(func(v *DhcpOptionsResponse) DhcpOptionsResponse {
+func (o FirewallPolicyFilterRuleActionResponsePtrOutput) Elem() FirewallPolicyFilterRuleActionResponseOutput {
+ return o.ApplyT(func(v *FirewallPolicyFilterRuleActionResponse) FirewallPolicyFilterRuleActionResponse {
if v != nil {
return *v
}
- var ret DhcpOptionsResponse
+ var ret FirewallPolicyFilterRuleActionResponse
return ret
- }).(DhcpOptionsResponseOutput)
+ }).(FirewallPolicyFilterRuleActionResponseOutput)
}
-// The list of DNS servers IP addresses.
-func (o DhcpOptionsResponsePtrOutput) DnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *DhcpOptionsResponse) []string {
+// The type of action.
+func (o FirewallPolicyFilterRuleActionResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyFilterRuleActionResponse) *string {
if v == nil {
return nil
}
- return v.DnsServers
- }).(pulumi.StringArrayOutput)
+ return v.Type
+ }).(pulumi.StringPtrOutput)
}
-// DNS Proxy Settings in Firewall Policy.
-type DnsSettings struct {
- // Enable DNS Proxy on Firewalls attached to the Firewall Policy.
- EnableProxy *bool `pulumi:"enableProxy"`
- // FQDNs in Network Rules are supported when set to true.
- RequireProxyForNetworkRules *bool `pulumi:"requireProxyForNetworkRules"`
- // List of Custom DNS Servers.
- Servers []string `pulumi:"servers"`
+// Firewall Policy Filter Rule Collection.
+type FirewallPolicyFilterRuleCollection struct {
+ // The action type of a Filter rule collection.
+ Action *FirewallPolicyFilterRuleCollectionAction `pulumi:"action"`
+ // The name of the rule collection.
+ Name *string `pulumi:"name"`
+ // Priority of the Firewall Policy Rule Collection resource.
+ Priority *int `pulumi:"priority"`
+ // The type of the rule collection.
+ // Expected value is 'FirewallPolicyFilterRuleCollection'.
+ RuleCollectionType string `pulumi:"ruleCollectionType"`
+ // List of rules included in a rule collection.
+ Rules []interface{} `pulumi:"rules"`
}
-// DnsSettingsInput is an input type that accepts DnsSettingsArgs and DnsSettingsOutput values.
-// You can construct a concrete instance of `DnsSettingsInput` via:
+// FirewallPolicyFilterRuleCollectionInput is an input type that accepts FirewallPolicyFilterRuleCollectionArgs and FirewallPolicyFilterRuleCollectionOutput values.
+// You can construct a concrete instance of `FirewallPolicyFilterRuleCollectionInput` via:
//
-// DnsSettingsArgs{...}
-type DnsSettingsInput interface {
+// FirewallPolicyFilterRuleCollectionArgs{...}
+type FirewallPolicyFilterRuleCollectionInput interface {
pulumi.Input
- ToDnsSettingsOutput() DnsSettingsOutput
- ToDnsSettingsOutputWithContext(context.Context) DnsSettingsOutput
+ ToFirewallPolicyFilterRuleCollectionOutput() FirewallPolicyFilterRuleCollectionOutput
+ ToFirewallPolicyFilterRuleCollectionOutputWithContext(context.Context) FirewallPolicyFilterRuleCollectionOutput
}
-// DNS Proxy Settings in Firewall Policy.
-type DnsSettingsArgs struct {
- // Enable DNS Proxy on Firewalls attached to the Firewall Policy.
- EnableProxy pulumi.BoolPtrInput `pulumi:"enableProxy"`
- // FQDNs in Network Rules are supported when set to true.
- RequireProxyForNetworkRules pulumi.BoolPtrInput `pulumi:"requireProxyForNetworkRules"`
- // List of Custom DNS Servers.
- Servers pulumi.StringArrayInput `pulumi:"servers"`
+// Firewall Policy Filter Rule Collection.
+type FirewallPolicyFilterRuleCollectionArgs struct {
+ // The action type of a Filter rule collection.
+ Action FirewallPolicyFilterRuleCollectionActionPtrInput `pulumi:"action"`
+ // The name of the rule collection.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Priority of the Firewall Policy Rule Collection resource.
+ Priority pulumi.IntPtrInput `pulumi:"priority"`
+ // The type of the rule collection.
+ // Expected value is 'FirewallPolicyFilterRuleCollection'.
+ RuleCollectionType pulumi.StringInput `pulumi:"ruleCollectionType"`
+ // List of rules included in a rule collection.
+ Rules pulumi.ArrayInput `pulumi:"rules"`
}
-func (DnsSettingsArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*DnsSettings)(nil)).Elem()
-}
-
-func (i DnsSettingsArgs) ToDnsSettingsOutput() DnsSettingsOutput {
- return i.ToDnsSettingsOutputWithContext(context.Background())
-}
-
-func (i DnsSettingsArgs) ToDnsSettingsOutputWithContext(ctx context.Context) DnsSettingsOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DnsSettingsOutput)
+func (FirewallPolicyFilterRuleCollectionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyFilterRuleCollection)(nil)).Elem()
}
-func (i DnsSettingsArgs) ToDnsSettingsPtrOutput() DnsSettingsPtrOutput {
- return i.ToDnsSettingsPtrOutputWithContext(context.Background())
+func (i FirewallPolicyFilterRuleCollectionArgs) ToFirewallPolicyFilterRuleCollectionOutput() FirewallPolicyFilterRuleCollectionOutput {
+ return i.ToFirewallPolicyFilterRuleCollectionOutputWithContext(context.Background())
}
-func (i DnsSettingsArgs) ToDnsSettingsPtrOutputWithContext(ctx context.Context) DnsSettingsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DnsSettingsOutput).ToDnsSettingsPtrOutputWithContext(ctx)
+func (i FirewallPolicyFilterRuleCollectionArgs) ToFirewallPolicyFilterRuleCollectionOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyFilterRuleCollectionOutput)
}
-// DnsSettingsPtrInput is an input type that accepts DnsSettingsArgs, DnsSettingsPtr and DnsSettingsPtrOutput values.
-// You can construct a concrete instance of `DnsSettingsPtrInput` via:
-//
-// DnsSettingsArgs{...}
-//
-// or:
-//
-// nil
-type DnsSettingsPtrInput interface {
- pulumi.Input
+// Firewall Policy Filter Rule Collection.
+type FirewallPolicyFilterRuleCollectionOutput struct{ *pulumi.OutputState }
- ToDnsSettingsPtrOutput() DnsSettingsPtrOutput
- ToDnsSettingsPtrOutputWithContext(context.Context) DnsSettingsPtrOutput
+func (FirewallPolicyFilterRuleCollectionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyFilterRuleCollection)(nil)).Elem()
}
-type dnsSettingsPtrType DnsSettingsArgs
-
-func DnsSettingsPtr(v *DnsSettingsArgs) DnsSettingsPtrInput {
- return (*dnsSettingsPtrType)(v)
+func (o FirewallPolicyFilterRuleCollectionOutput) ToFirewallPolicyFilterRuleCollectionOutput() FirewallPolicyFilterRuleCollectionOutput {
+ return o
}
-func (*dnsSettingsPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**DnsSettings)(nil)).Elem()
+func (o FirewallPolicyFilterRuleCollectionOutput) ToFirewallPolicyFilterRuleCollectionOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionOutput {
+ return o
}
-func (i *dnsSettingsPtrType) ToDnsSettingsPtrOutput() DnsSettingsPtrOutput {
- return i.ToDnsSettingsPtrOutputWithContext(context.Background())
+// The action type of a Filter rule collection.
+func (o FirewallPolicyFilterRuleCollectionOutput) Action() FirewallPolicyFilterRuleCollectionActionPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleCollection) *FirewallPolicyFilterRuleCollectionAction { return v.Action }).(FirewallPolicyFilterRuleCollectionActionPtrOutput)
}
-func (i *dnsSettingsPtrType) ToDnsSettingsPtrOutputWithContext(ctx context.Context) DnsSettingsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(DnsSettingsPtrOutput)
+// The name of the rule collection.
+func (o FirewallPolicyFilterRuleCollectionOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleCollection) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// DNS Proxy Settings in Firewall Policy.
-type DnsSettingsOutput struct{ *pulumi.OutputState }
-
-func (DnsSettingsOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*DnsSettings)(nil)).Elem()
+// Priority of the Firewall Policy Rule Collection resource.
+func (o FirewallPolicyFilterRuleCollectionOutput) Priority() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleCollection) *int { return v.Priority }).(pulumi.IntPtrOutput)
}
-func (o DnsSettingsOutput) ToDnsSettingsOutput() DnsSettingsOutput {
- return o
+// The type of the rule collection.
+// Expected value is 'FirewallPolicyFilterRuleCollection'.
+func (o FirewallPolicyFilterRuleCollectionOutput) RuleCollectionType() pulumi.StringOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleCollection) string { return v.RuleCollectionType }).(pulumi.StringOutput)
}
-func (o DnsSettingsOutput) ToDnsSettingsOutputWithContext(ctx context.Context) DnsSettingsOutput {
- return o
+// List of rules included in a rule collection.
+func (o FirewallPolicyFilterRuleCollectionOutput) Rules() pulumi.ArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleCollection) []interface{} { return v.Rules }).(pulumi.ArrayOutput)
}
-func (o DnsSettingsOutput) ToDnsSettingsPtrOutput() DnsSettingsPtrOutput {
- return o.ToDnsSettingsPtrOutputWithContext(context.Background())
+// Properties of the FirewallPolicyFilterRuleCollectionAction.
+type FirewallPolicyFilterRuleCollectionAction struct {
+ // The type of action.
+ Type *string `pulumi:"type"`
}
-func (o DnsSettingsOutput) ToDnsSettingsPtrOutputWithContext(ctx context.Context) DnsSettingsPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v DnsSettings) *DnsSettings {
- return &v
- }).(DnsSettingsPtrOutput)
-}
+// FirewallPolicyFilterRuleCollectionActionInput is an input type that accepts FirewallPolicyFilterRuleCollectionActionArgs and FirewallPolicyFilterRuleCollectionActionOutput values.
+// You can construct a concrete instance of `FirewallPolicyFilterRuleCollectionActionInput` via:
+//
+// FirewallPolicyFilterRuleCollectionActionArgs{...}
+type FirewallPolicyFilterRuleCollectionActionInput interface {
+ pulumi.Input
-// Enable DNS Proxy on Firewalls attached to the Firewall Policy.
-func (o DnsSettingsOutput) EnableProxy() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v DnsSettings) *bool { return v.EnableProxy }).(pulumi.BoolPtrOutput)
+ ToFirewallPolicyFilterRuleCollectionActionOutput() FirewallPolicyFilterRuleCollectionActionOutput
+ ToFirewallPolicyFilterRuleCollectionActionOutputWithContext(context.Context) FirewallPolicyFilterRuleCollectionActionOutput
}
-// FQDNs in Network Rules are supported when set to true.
-func (o DnsSettingsOutput) RequireProxyForNetworkRules() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v DnsSettings) *bool { return v.RequireProxyForNetworkRules }).(pulumi.BoolPtrOutput)
+// Properties of the FirewallPolicyFilterRuleCollectionAction.
+type FirewallPolicyFilterRuleCollectionActionArgs struct {
+ // The type of action.
+ Type pulumi.StringPtrInput `pulumi:"type"`
}
-// List of Custom DNS Servers.
-func (o DnsSettingsOutput) Servers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v DnsSettings) []string { return v.Servers }).(pulumi.StringArrayOutput)
+func (FirewallPolicyFilterRuleCollectionActionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyFilterRuleCollectionAction)(nil)).Elem()
}
-type DnsSettingsPtrOutput struct{ *pulumi.OutputState }
+func (i FirewallPolicyFilterRuleCollectionActionArgs) ToFirewallPolicyFilterRuleCollectionActionOutput() FirewallPolicyFilterRuleCollectionActionOutput {
+ return i.ToFirewallPolicyFilterRuleCollectionActionOutputWithContext(context.Background())
+}
-func (DnsSettingsPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**DnsSettings)(nil)).Elem()
+func (i FirewallPolicyFilterRuleCollectionActionArgs) ToFirewallPolicyFilterRuleCollectionActionOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionActionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyFilterRuleCollectionActionOutput)
}
-func (o DnsSettingsPtrOutput) ToDnsSettingsPtrOutput() DnsSettingsPtrOutput {
- return o
+func (i FirewallPolicyFilterRuleCollectionActionArgs) ToFirewallPolicyFilterRuleCollectionActionPtrOutput() FirewallPolicyFilterRuleCollectionActionPtrOutput {
+ return i.ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(context.Background())
}
-func (o DnsSettingsPtrOutput) ToDnsSettingsPtrOutputWithContext(ctx context.Context) DnsSettingsPtrOutput {
- return o
+func (i FirewallPolicyFilterRuleCollectionActionArgs) ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionActionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyFilterRuleCollectionActionOutput).ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(ctx)
}
-func (o DnsSettingsPtrOutput) Elem() DnsSettingsOutput {
- return o.ApplyT(func(v *DnsSettings) DnsSettings {
- if v != nil {
- return *v
- }
- var ret DnsSettings
- return ret
- }).(DnsSettingsOutput)
+// FirewallPolicyFilterRuleCollectionActionPtrInput is an input type that accepts FirewallPolicyFilterRuleCollectionActionArgs, FirewallPolicyFilterRuleCollectionActionPtr and FirewallPolicyFilterRuleCollectionActionPtrOutput values.
+// You can construct a concrete instance of `FirewallPolicyFilterRuleCollectionActionPtrInput` via:
+//
+// FirewallPolicyFilterRuleCollectionActionArgs{...}
+//
+// or:
+//
+// nil
+type FirewallPolicyFilterRuleCollectionActionPtrInput interface {
+ pulumi.Input
+
+ ToFirewallPolicyFilterRuleCollectionActionPtrOutput() FirewallPolicyFilterRuleCollectionActionPtrOutput
+ ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(context.Context) FirewallPolicyFilterRuleCollectionActionPtrOutput
}
-// Enable DNS Proxy on Firewalls attached to the Firewall Policy.
-func (o DnsSettingsPtrOutput) EnableProxy() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *DnsSettings) *bool {
- if v == nil {
- return nil
- }
- return v.EnableProxy
- }).(pulumi.BoolPtrOutput)
+type firewallPolicyFilterRuleCollectionActionPtrType FirewallPolicyFilterRuleCollectionActionArgs
+
+func FirewallPolicyFilterRuleCollectionActionPtr(v *FirewallPolicyFilterRuleCollectionActionArgs) FirewallPolicyFilterRuleCollectionActionPtrInput {
+ return (*firewallPolicyFilterRuleCollectionActionPtrType)(v)
}
-// FQDNs in Network Rules are supported when set to true.
-func (o DnsSettingsPtrOutput) RequireProxyForNetworkRules() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *DnsSettings) *bool {
- if v == nil {
- return nil
- }
- return v.RequireProxyForNetworkRules
- }).(pulumi.BoolPtrOutput)
+func (*firewallPolicyFilterRuleCollectionActionPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyFilterRuleCollectionAction)(nil)).Elem()
}
-// List of Custom DNS Servers.
-func (o DnsSettingsPtrOutput) Servers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *DnsSettings) []string {
- if v == nil {
- return nil
- }
- return v.Servers
- }).(pulumi.StringArrayOutput)
+func (i *firewallPolicyFilterRuleCollectionActionPtrType) ToFirewallPolicyFilterRuleCollectionActionPtrOutput() FirewallPolicyFilterRuleCollectionActionPtrOutput {
+ return i.ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(context.Background())
}
-// DNS Proxy Settings in Firewall Policy.
-type DnsSettingsResponse struct {
- // Enable DNS Proxy on Firewalls attached to the Firewall Policy.
- EnableProxy *bool `pulumi:"enableProxy"`
- // FQDNs in Network Rules are supported when set to true.
- RequireProxyForNetworkRules *bool `pulumi:"requireProxyForNetworkRules"`
- // List of Custom DNS Servers.
- Servers []string `pulumi:"servers"`
+func (i *firewallPolicyFilterRuleCollectionActionPtrType) ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionActionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyFilterRuleCollectionActionPtrOutput)
}
-// DNS Proxy Settings in Firewall Policy.
-type DnsSettingsResponseOutput struct{ *pulumi.OutputState }
+// Properties of the FirewallPolicyFilterRuleCollectionAction.
+type FirewallPolicyFilterRuleCollectionActionOutput struct{ *pulumi.OutputState }
-func (DnsSettingsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*DnsSettingsResponse)(nil)).Elem()
+func (FirewallPolicyFilterRuleCollectionActionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyFilterRuleCollectionAction)(nil)).Elem()
}
-func (o DnsSettingsResponseOutput) ToDnsSettingsResponseOutput() DnsSettingsResponseOutput {
+func (o FirewallPolicyFilterRuleCollectionActionOutput) ToFirewallPolicyFilterRuleCollectionActionOutput() FirewallPolicyFilterRuleCollectionActionOutput {
return o
}
-func (o DnsSettingsResponseOutput) ToDnsSettingsResponseOutputWithContext(ctx context.Context) DnsSettingsResponseOutput {
+func (o FirewallPolicyFilterRuleCollectionActionOutput) ToFirewallPolicyFilterRuleCollectionActionOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionActionOutput {
return o
}
-// Enable DNS Proxy on Firewalls attached to the Firewall Policy.
-func (o DnsSettingsResponseOutput) EnableProxy() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v DnsSettingsResponse) *bool { return v.EnableProxy }).(pulumi.BoolPtrOutput)
+func (o FirewallPolicyFilterRuleCollectionActionOutput) ToFirewallPolicyFilterRuleCollectionActionPtrOutput() FirewallPolicyFilterRuleCollectionActionPtrOutput {
+ return o.ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(context.Background())
}
-// FQDNs in Network Rules are supported when set to true.
-func (o DnsSettingsResponseOutput) RequireProxyForNetworkRules() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v DnsSettingsResponse) *bool { return v.RequireProxyForNetworkRules }).(pulumi.BoolPtrOutput)
+func (o FirewallPolicyFilterRuleCollectionActionOutput) ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionActionPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyFilterRuleCollectionAction) *FirewallPolicyFilterRuleCollectionAction {
+ return &v
+ }).(FirewallPolicyFilterRuleCollectionActionPtrOutput)
}
-// List of Custom DNS Servers.
-func (o DnsSettingsResponseOutput) Servers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v DnsSettingsResponse) []string { return v.Servers }).(pulumi.StringArrayOutput)
+// The type of action.
+func (o FirewallPolicyFilterRuleCollectionActionOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleCollectionAction) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-type DnsSettingsResponsePtrOutput struct{ *pulumi.OutputState }
+type FirewallPolicyFilterRuleCollectionActionPtrOutput struct{ *pulumi.OutputState }
-func (DnsSettingsResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**DnsSettingsResponse)(nil)).Elem()
+func (FirewallPolicyFilterRuleCollectionActionPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyFilterRuleCollectionAction)(nil)).Elem()
}
-func (o DnsSettingsResponsePtrOutput) ToDnsSettingsResponsePtrOutput() DnsSettingsResponsePtrOutput {
+func (o FirewallPolicyFilterRuleCollectionActionPtrOutput) ToFirewallPolicyFilterRuleCollectionActionPtrOutput() FirewallPolicyFilterRuleCollectionActionPtrOutput {
return o
}
-func (o DnsSettingsResponsePtrOutput) ToDnsSettingsResponsePtrOutputWithContext(ctx context.Context) DnsSettingsResponsePtrOutput {
+func (o FirewallPolicyFilterRuleCollectionActionPtrOutput) ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionActionPtrOutput {
return o
}
-func (o DnsSettingsResponsePtrOutput) Elem() DnsSettingsResponseOutput {
- return o.ApplyT(func(v *DnsSettingsResponse) DnsSettingsResponse {
+func (o FirewallPolicyFilterRuleCollectionActionPtrOutput) Elem() FirewallPolicyFilterRuleCollectionActionOutput {
+ return o.ApplyT(func(v *FirewallPolicyFilterRuleCollectionAction) FirewallPolicyFilterRuleCollectionAction {
if v != nil {
return *v
}
- var ret DnsSettingsResponse
+ var ret FirewallPolicyFilterRuleCollectionAction
return ret
- }).(DnsSettingsResponseOutput)
-}
-
-// Enable DNS Proxy on Firewalls attached to the Firewall Policy.
-func (o DnsSettingsResponsePtrOutput) EnableProxy() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *DnsSettingsResponse) *bool {
- if v == nil {
- return nil
- }
- return v.EnableProxy
- }).(pulumi.BoolPtrOutput)
-}
-
-// FQDNs in Network Rules are supported when set to true.
-func (o DnsSettingsResponsePtrOutput) RequireProxyForNetworkRules() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *DnsSettingsResponse) *bool {
- if v == nil {
- return nil
- }
- return v.RequireProxyForNetworkRules
- }).(pulumi.BoolPtrOutput)
+ }).(FirewallPolicyFilterRuleCollectionActionOutput)
}
-// List of Custom DNS Servers.
-func (o DnsSettingsResponsePtrOutput) Servers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *DnsSettingsResponse) []string {
+// The type of action.
+func (o FirewallPolicyFilterRuleCollectionActionPtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyFilterRuleCollectionAction) *string {
if v == nil {
return nil
}
- return v.Servers
- }).(pulumi.StringArrayOutput)
+ return v.Type
+ }).(pulumi.StringPtrOutput)
}
-// The network manager effective connectivity configuration
-type EffectiveConnectivityConfigurationResponse struct {
- // Groups for configuration
- AppliesToGroups []ConnectivityGroupItemResponseV2 `pulumi:"appliesToGroups"`
- // Effective configuration groups.
- ConfigurationGroups []ConfigurationGroupResponse `pulumi:"configurationGroups"`
- // Connectivity topology type.
- ConnectivityTopology string `pulumi:"connectivityTopology"`
- // Flag if need to remove current existing peerings.
- DeleteExistingPeering *string `pulumi:"deleteExistingPeering"`
- // A description of the connectivity configuration.
- Description *string `pulumi:"description"`
- // A friendly name for the resource.
- DisplayName *string `pulumi:"displayName"`
- // List of hubItems
- Hubs []HubResponse `pulumi:"hubs"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Flag if global mesh is supported.
- IsGlobal *string `pulumi:"isGlobal"`
- // The provisioning state of the connectivity configuration resource.
- ProvisioningState string `pulumi:"provisioningState"`
+// Properties of the FirewallPolicyFilterRuleCollectionAction.
+type FirewallPolicyFilterRuleCollectionActionResponse struct {
+ // The type of action.
+ Type *string `pulumi:"type"`
}
-// The network manager effective connectivity configuration
-type EffectiveConnectivityConfigurationResponseOutput struct{ *pulumi.OutputState }
+// Properties of the FirewallPolicyFilterRuleCollectionAction.
+type FirewallPolicyFilterRuleCollectionActionResponseOutput struct{ *pulumi.OutputState }
-func (EffectiveConnectivityConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*EffectiveConnectivityConfigurationResponse)(nil)).Elem()
+func (FirewallPolicyFilterRuleCollectionActionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyFilterRuleCollectionActionResponse)(nil)).Elem()
}
-func (o EffectiveConnectivityConfigurationResponseOutput) ToEffectiveConnectivityConfigurationResponseOutput() EffectiveConnectivityConfigurationResponseOutput {
+func (o FirewallPolicyFilterRuleCollectionActionResponseOutput) ToFirewallPolicyFilterRuleCollectionActionResponseOutput() FirewallPolicyFilterRuleCollectionActionResponseOutput {
return o
}
-func (o EffectiveConnectivityConfigurationResponseOutput) ToEffectiveConnectivityConfigurationResponseOutputWithContext(ctx context.Context) EffectiveConnectivityConfigurationResponseOutput {
+func (o FirewallPolicyFilterRuleCollectionActionResponseOutput) ToFirewallPolicyFilterRuleCollectionActionResponseOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionActionResponseOutput {
return o
}
-// Groups for configuration
-func (o EffectiveConnectivityConfigurationResponseOutput) AppliesToGroups() ConnectivityGroupItemResponseV2ArrayOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) []ConnectivityGroupItemResponseV2 {
- return v.AppliesToGroups
- }).(ConnectivityGroupItemResponseV2ArrayOutput)
-}
-
-// Effective configuration groups.
-func (o EffectiveConnectivityConfigurationResponseOutput) ConfigurationGroups() ConfigurationGroupResponseArrayOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) []ConfigurationGroupResponse {
- return v.ConfigurationGroups
- }).(ConfigurationGroupResponseArrayOutput)
-}
-
-// Connectivity topology type.
-func (o EffectiveConnectivityConfigurationResponseOutput) ConnectivityTopology() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) string { return v.ConnectivityTopology }).(pulumi.StringOutput)
+// The type of action.
+func (o FirewallPolicyFilterRuleCollectionActionResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleCollectionActionResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// Flag if need to remove current existing peerings.
-func (o EffectiveConnectivityConfigurationResponseOutput) DeleteExistingPeering() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) *string { return v.DeleteExistingPeering }).(pulumi.StringPtrOutput)
-}
+type FirewallPolicyFilterRuleCollectionActionResponsePtrOutput struct{ *pulumi.OutputState }
-// A description of the connectivity configuration.
-func (o EffectiveConnectivityConfigurationResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (FirewallPolicyFilterRuleCollectionActionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyFilterRuleCollectionActionResponse)(nil)).Elem()
}
-// A friendly name for the resource.
-func (o EffectiveConnectivityConfigurationResponseOutput) DisplayName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) *string { return v.DisplayName }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyFilterRuleCollectionActionResponsePtrOutput) ToFirewallPolicyFilterRuleCollectionActionResponsePtrOutput() FirewallPolicyFilterRuleCollectionActionResponsePtrOutput {
+ return o
}
-// List of hubItems
-func (o EffectiveConnectivityConfigurationResponseOutput) Hubs() HubResponseArrayOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) []HubResponse { return v.Hubs }).(HubResponseArrayOutput)
+func (o FirewallPolicyFilterRuleCollectionActionResponsePtrOutput) ToFirewallPolicyFilterRuleCollectionActionResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionActionResponsePtrOutput {
+ return o
}
-// Resource ID.
-func (o EffectiveConnectivityConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyFilterRuleCollectionActionResponsePtrOutput) Elem() FirewallPolicyFilterRuleCollectionActionResponseOutput {
+ return o.ApplyT(func(v *FirewallPolicyFilterRuleCollectionActionResponse) FirewallPolicyFilterRuleCollectionActionResponse {
+ if v != nil {
+ return *v
+ }
+ var ret FirewallPolicyFilterRuleCollectionActionResponse
+ return ret
+ }).(FirewallPolicyFilterRuleCollectionActionResponseOutput)
}
-// Flag if global mesh is supported.
-func (o EffectiveConnectivityConfigurationResponseOutput) IsGlobal() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) *string { return v.IsGlobal }).(pulumi.StringPtrOutput)
+// The type of action.
+func (o FirewallPolicyFilterRuleCollectionActionResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyFilterRuleCollectionActionResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Type
+ }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the connectivity configuration resource.
-func (o EffectiveConnectivityConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Firewall Policy Filter Rule Collection.
+type FirewallPolicyFilterRuleCollectionResponse struct {
+ // The action type of a Filter rule collection.
+ Action *FirewallPolicyFilterRuleCollectionActionResponse `pulumi:"action"`
+ // The name of the rule collection.
+ Name *string `pulumi:"name"`
+ // Priority of the Firewall Policy Rule Collection resource.
+ Priority *int `pulumi:"priority"`
+ // The type of the rule collection.
+ // Expected value is 'FirewallPolicyFilterRuleCollection'.
+ RuleCollectionType string `pulumi:"ruleCollectionType"`
+ // List of rules included in a rule collection.
+ Rules []interface{} `pulumi:"rules"`
}
-type EffectiveConnectivityConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+// Firewall Policy Filter Rule Collection.
+type FirewallPolicyFilterRuleCollectionResponseOutput struct{ *pulumi.OutputState }
-func (EffectiveConnectivityConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]EffectiveConnectivityConfigurationResponse)(nil)).Elem()
+func (FirewallPolicyFilterRuleCollectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyFilterRuleCollectionResponse)(nil)).Elem()
}
-func (o EffectiveConnectivityConfigurationResponseArrayOutput) ToEffectiveConnectivityConfigurationResponseArrayOutput() EffectiveConnectivityConfigurationResponseArrayOutput {
+func (o FirewallPolicyFilterRuleCollectionResponseOutput) ToFirewallPolicyFilterRuleCollectionResponseOutput() FirewallPolicyFilterRuleCollectionResponseOutput {
return o
}
-func (o EffectiveConnectivityConfigurationResponseArrayOutput) ToEffectiveConnectivityConfigurationResponseArrayOutputWithContext(ctx context.Context) EffectiveConnectivityConfigurationResponseArrayOutput {
+func (o FirewallPolicyFilterRuleCollectionResponseOutput) ToFirewallPolicyFilterRuleCollectionResponseOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionResponseOutput {
return o
}
-func (o EffectiveConnectivityConfigurationResponseArrayOutput) Index(i pulumi.IntInput) EffectiveConnectivityConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) EffectiveConnectivityConfigurationResponse {
- return vs[0].([]EffectiveConnectivityConfigurationResponse)[vs[1].(int)]
- }).(EffectiveConnectivityConfigurationResponseOutput)
+// The action type of a Filter rule collection.
+func (o FirewallPolicyFilterRuleCollectionResponseOutput) Action() FirewallPolicyFilterRuleCollectionActionResponsePtrOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleCollectionResponse) *FirewallPolicyFilterRuleCollectionActionResponse {
+ return v.Action
+ }).(FirewallPolicyFilterRuleCollectionActionResponsePtrOutput)
}
-// The network manager effective connectivity configuration
-type EffectiveConnectivityConfigurationResponseV1 struct {
- // Groups for configuration
- AppliesToGroups []ConnectivityGroupItemResponse `pulumi:"appliesToGroups"`
- // Effective configuration groups.
- ConfigurationGroups []ConfigurationGroupResponseV4 `pulumi:"configurationGroups"`
- // Connectivity topology type.
- ConnectivityTopology string `pulumi:"connectivityTopology"`
- // Flag if need to remove current existing peerings.
- DeleteExistingPeering *string `pulumi:"deleteExistingPeering"`
- // A description of the connectivity configuration.
- Description *string `pulumi:"description"`
- // List of hubItems
- Hubs []HubResponse `pulumi:"hubs"`
- // Connectivity configuration ID.
- Id *string `pulumi:"id"`
- // Flag if global mesh is supported.
- IsGlobal *string `pulumi:"isGlobal"`
- // The provisioning state of the connectivity configuration resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Unique identifier for this resource.
- ResourceGuid string `pulumi:"resourceGuid"`
+// The name of the rule collection.
+func (o FirewallPolicyFilterRuleCollectionResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleCollectionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The network manager effective connectivity configuration
-type EffectiveConnectivityConfigurationResponseV1Output struct{ *pulumi.OutputState }
-
-func (EffectiveConnectivityConfigurationResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*EffectiveConnectivityConfigurationResponseV1)(nil)).Elem()
+// Priority of the Firewall Policy Rule Collection resource.
+func (o FirewallPolicyFilterRuleCollectionResponseOutput) Priority() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleCollectionResponse) *int { return v.Priority }).(pulumi.IntPtrOutput)
}
-func (o EffectiveConnectivityConfigurationResponseV1Output) ToEffectiveConnectivityConfigurationResponseV1Output() EffectiveConnectivityConfigurationResponseV1Output {
- return o
+// The type of the rule collection.
+// Expected value is 'FirewallPolicyFilterRuleCollection'.
+func (o FirewallPolicyFilterRuleCollectionResponseOutput) RuleCollectionType() pulumi.StringOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleCollectionResponse) string { return v.RuleCollectionType }).(pulumi.StringOutput)
}
-func (o EffectiveConnectivityConfigurationResponseV1Output) ToEffectiveConnectivityConfigurationResponseV1OutputWithContext(ctx context.Context) EffectiveConnectivityConfigurationResponseV1Output {
- return o
+// List of rules included in a rule collection.
+func (o FirewallPolicyFilterRuleCollectionResponseOutput) Rules() pulumi.ArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleCollectionResponse) []interface{} { return v.Rules }).(pulumi.ArrayOutput)
}
-// Groups for configuration
-func (o EffectiveConnectivityConfigurationResponseV1Output) AppliesToGroups() ConnectivityGroupItemResponseArrayOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponseV1) []ConnectivityGroupItemResponse {
- return v.AppliesToGroups
- }).(ConnectivityGroupItemResponseArrayOutput)
+// Firewall Policy Filter Rule.
+type FirewallPolicyFilterRuleResponse struct {
+ // The action type of a Filter rule.
+ Action *FirewallPolicyFilterRuleActionResponse `pulumi:"action"`
+ // The name of the rule.
+ Name *string `pulumi:"name"`
+ // Priority of the Firewall Policy Rule resource.
+ Priority *int `pulumi:"priority"`
+ // Collection of rule conditions used by a rule.
+ RuleConditions []interface{} `pulumi:"ruleConditions"`
+ // The type of the rule.
+ // Expected value is 'FirewallPolicyFilterRule'.
+ RuleType string `pulumi:"ruleType"`
}
-// Effective configuration groups.
-func (o EffectiveConnectivityConfigurationResponseV1Output) ConfigurationGroups() ConfigurationGroupResponseV4ArrayOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponseV1) []ConfigurationGroupResponseV4 {
- return v.ConfigurationGroups
- }).(ConfigurationGroupResponseV4ArrayOutput)
+// Firewall Policy Filter Rule.
+type FirewallPolicyFilterRuleResponseOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyFilterRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyFilterRuleResponse)(nil)).Elem()
}
-// Connectivity topology type.
-func (o EffectiveConnectivityConfigurationResponseV1Output) ConnectivityTopology() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponseV1) string { return v.ConnectivityTopology }).(pulumi.StringOutput)
+func (o FirewallPolicyFilterRuleResponseOutput) ToFirewallPolicyFilterRuleResponseOutput() FirewallPolicyFilterRuleResponseOutput {
+ return o
}
-// Flag if need to remove current existing peerings.
-func (o EffectiveConnectivityConfigurationResponseV1Output) DeleteExistingPeering() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponseV1) *string { return v.DeleteExistingPeering }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyFilterRuleResponseOutput) ToFirewallPolicyFilterRuleResponseOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleResponseOutput {
+ return o
}
-// A description of the connectivity configuration.
-func (o EffectiveConnectivityConfigurationResponseV1Output) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponseV1) *string { return v.Description }).(pulumi.StringPtrOutput)
+// The action type of a Filter rule.
+func (o FirewallPolicyFilterRuleResponseOutput) Action() FirewallPolicyFilterRuleActionResponsePtrOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleResponse) *FirewallPolicyFilterRuleActionResponse { return v.Action }).(FirewallPolicyFilterRuleActionResponsePtrOutput)
}
-// List of hubItems
-func (o EffectiveConnectivityConfigurationResponseV1Output) Hubs() HubResponseArrayOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponseV1) []HubResponse { return v.Hubs }).(HubResponseArrayOutput)
+// The name of the rule.
+func (o FirewallPolicyFilterRuleResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Connectivity configuration ID.
-func (o EffectiveConnectivityConfigurationResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Priority of the Firewall Policy Rule resource.
+func (o FirewallPolicyFilterRuleResponseOutput) Priority() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleResponse) *int { return v.Priority }).(pulumi.IntPtrOutput)
}
-// Flag if global mesh is supported.
-func (o EffectiveConnectivityConfigurationResponseV1Output) IsGlobal() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponseV1) *string { return v.IsGlobal }).(pulumi.StringPtrOutput)
+// Collection of rule conditions used by a rule.
+func (o FirewallPolicyFilterRuleResponseOutput) RuleConditions() pulumi.ArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleResponse) []interface{} { return v.RuleConditions }).(pulumi.ArrayOutput)
}
-// The provisioning state of the connectivity configuration resource.
-func (o EffectiveConnectivityConfigurationResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The type of the rule.
+// Expected value is 'FirewallPolicyFilterRule'.
+func (o FirewallPolicyFilterRuleResponseOutput) RuleType() pulumi.StringOutput {
+ return o.ApplyT(func(v FirewallPolicyFilterRuleResponse) string { return v.RuleType }).(pulumi.StringOutput)
}
-// Unique identifier for this resource.
-func (o EffectiveConnectivityConfigurationResponseV1Output) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveConnectivityConfigurationResponseV1) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// name and value of HTTP/S header to insert
+type FirewallPolicyHttpHeaderToInsert struct {
+ // Contains the name of the header
+ HeaderName *string `pulumi:"headerName"`
+ // Contains the value of the header
+ HeaderValue *string `pulumi:"headerValue"`
}
-type EffectiveConnectivityConfigurationResponseV1ArrayOutput struct{ *pulumi.OutputState }
+// FirewallPolicyHttpHeaderToInsertInput is an input type that accepts FirewallPolicyHttpHeaderToInsertArgs and FirewallPolicyHttpHeaderToInsertOutput values.
+// You can construct a concrete instance of `FirewallPolicyHttpHeaderToInsertInput` via:
+//
+// FirewallPolicyHttpHeaderToInsertArgs{...}
+type FirewallPolicyHttpHeaderToInsertInput interface {
+ pulumi.Input
-func (EffectiveConnectivityConfigurationResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]EffectiveConnectivityConfigurationResponseV1)(nil)).Elem()
+ ToFirewallPolicyHttpHeaderToInsertOutput() FirewallPolicyHttpHeaderToInsertOutput
+ ToFirewallPolicyHttpHeaderToInsertOutputWithContext(context.Context) FirewallPolicyHttpHeaderToInsertOutput
}
-func (o EffectiveConnectivityConfigurationResponseV1ArrayOutput) ToEffectiveConnectivityConfigurationResponseV1ArrayOutput() EffectiveConnectivityConfigurationResponseV1ArrayOutput {
- return o
+// name and value of HTTP/S header to insert
+type FirewallPolicyHttpHeaderToInsertArgs struct {
+ // Contains the name of the header
+ HeaderName pulumi.StringPtrInput `pulumi:"headerName"`
+ // Contains the value of the header
+ HeaderValue pulumi.StringPtrInput `pulumi:"headerValue"`
}
-func (o EffectiveConnectivityConfigurationResponseV1ArrayOutput) ToEffectiveConnectivityConfigurationResponseV1ArrayOutputWithContext(ctx context.Context) EffectiveConnectivityConfigurationResponseV1ArrayOutput {
- return o
+func (FirewallPolicyHttpHeaderToInsertArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyHttpHeaderToInsert)(nil)).Elem()
}
-func (o EffectiveConnectivityConfigurationResponseV1ArrayOutput) Index(i pulumi.IntInput) EffectiveConnectivityConfigurationResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) EffectiveConnectivityConfigurationResponseV1 {
- return vs[0].([]EffectiveConnectivityConfigurationResponseV1)[vs[1].(int)]
- }).(EffectiveConnectivityConfigurationResponseV1Output)
+func (i FirewallPolicyHttpHeaderToInsertArgs) ToFirewallPolicyHttpHeaderToInsertOutput() FirewallPolicyHttpHeaderToInsertOutput {
+ return i.ToFirewallPolicyHttpHeaderToInsertOutputWithContext(context.Background())
}
-// Network default admin rule.
-type EffectiveDefaultSecurityAdminRuleResponse struct {
- // Indicates the access allowed for this particular rule
- Access string `pulumi:"access"`
- // A description of the security admin configuration.
- ConfigurationDescription *string `pulumi:"configurationDescription"`
- // A display name of the security admin configuration.
- ConfigurationDisplayName *string `pulumi:"configurationDisplayName"`
- // A description for this rule. Restricted to 140 chars.
- Description string `pulumi:"description"`
- // The destination port ranges.
- DestinationPortRanges []string `pulumi:"destinationPortRanges"`
- // The destination address prefixes. CIDR or destination IP ranges.
- Destinations []AddressPrefixItemResponse `pulumi:"destinations"`
- // Indicates if the traffic matched against the rule in inbound or outbound.
- Direction string `pulumi:"direction"`
- // A friendly name for the rule.
- DisplayName string `pulumi:"displayName"`
- // Default rule flag.
- Flag *string `pulumi:"flag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Whether the rule is custom or default.
- // Expected value is 'Default'.
- Kind string `pulumi:"kind"`
- // The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Priority int `pulumi:"priority"`
- // Network protocol this rule applies to.
- Protocol string `pulumi:"protocol"`
- // The provisioning state of the resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Groups for rule collection
- RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemResponseV3 `pulumi:"ruleCollectionAppliesToGroups"`
- // A description of the rule collection.
- RuleCollectionDescription *string `pulumi:"ruleCollectionDescription"`
- // A display name of the rule collection.
- RuleCollectionDisplayName *string `pulumi:"ruleCollectionDisplayName"`
- // Effective configuration groups.
- RuleGroups []ConfigurationGroupResponse `pulumi:"ruleGroups"`
- // The source port ranges.
- SourcePortRanges []string `pulumi:"sourcePortRanges"`
- // The CIDR or source IP ranges.
- Sources []AddressPrefixItemResponse `pulumi:"sources"`
+func (i FirewallPolicyHttpHeaderToInsertArgs) ToFirewallPolicyHttpHeaderToInsertOutputWithContext(ctx context.Context) FirewallPolicyHttpHeaderToInsertOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyHttpHeaderToInsertOutput)
}
-// Network default admin rule.
-type EffectiveDefaultSecurityAdminRuleResponseOutput struct{ *pulumi.OutputState }
+// FirewallPolicyHttpHeaderToInsertArrayInput is an input type that accepts FirewallPolicyHttpHeaderToInsertArray and FirewallPolicyHttpHeaderToInsertArrayOutput values.
+// You can construct a concrete instance of `FirewallPolicyHttpHeaderToInsertArrayInput` via:
+//
+// FirewallPolicyHttpHeaderToInsertArray{ FirewallPolicyHttpHeaderToInsertArgs{...} }
+type FirewallPolicyHttpHeaderToInsertArrayInput interface {
+ pulumi.Input
-func (EffectiveDefaultSecurityAdminRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*EffectiveDefaultSecurityAdminRuleResponse)(nil)).Elem()
+ ToFirewallPolicyHttpHeaderToInsertArrayOutput() FirewallPolicyHttpHeaderToInsertArrayOutput
+ ToFirewallPolicyHttpHeaderToInsertArrayOutputWithContext(context.Context) FirewallPolicyHttpHeaderToInsertArrayOutput
}
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) ToEffectiveDefaultSecurityAdminRuleResponseOutput() EffectiveDefaultSecurityAdminRuleResponseOutput {
- return o
+type FirewallPolicyHttpHeaderToInsertArray []FirewallPolicyHttpHeaderToInsertInput
+
+func (FirewallPolicyHttpHeaderToInsertArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyHttpHeaderToInsert)(nil)).Elem()
}
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) ToEffectiveDefaultSecurityAdminRuleResponseOutputWithContext(ctx context.Context) EffectiveDefaultSecurityAdminRuleResponseOutput {
- return o
+func (i FirewallPolicyHttpHeaderToInsertArray) ToFirewallPolicyHttpHeaderToInsertArrayOutput() FirewallPolicyHttpHeaderToInsertArrayOutput {
+ return i.ToFirewallPolicyHttpHeaderToInsertArrayOutputWithContext(context.Background())
}
-// Indicates the access allowed for this particular rule
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Access() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) string { return v.Access }).(pulumi.StringOutput)
+func (i FirewallPolicyHttpHeaderToInsertArray) ToFirewallPolicyHttpHeaderToInsertArrayOutputWithContext(ctx context.Context) FirewallPolicyHttpHeaderToInsertArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyHttpHeaderToInsertArrayOutput)
}
-// A description of the security admin configuration.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) ConfigurationDescription() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) *string { return v.ConfigurationDescription }).(pulumi.StringPtrOutput)
+// name and value of HTTP/S header to insert
+type FirewallPolicyHttpHeaderToInsertOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyHttpHeaderToInsertOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyHttpHeaderToInsert)(nil)).Elem()
}
-// A display name of the security admin configuration.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) ConfigurationDisplayName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) *string { return v.ConfigurationDisplayName }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyHttpHeaderToInsertOutput) ToFirewallPolicyHttpHeaderToInsertOutput() FirewallPolicyHttpHeaderToInsertOutput {
+ return o
}
-// A description for this rule. Restricted to 140 chars.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Description() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) string { return v.Description }).(pulumi.StringOutput)
+func (o FirewallPolicyHttpHeaderToInsertOutput) ToFirewallPolicyHttpHeaderToInsertOutputWithContext(ctx context.Context) FirewallPolicyHttpHeaderToInsertOutput {
+ return o
}
-// The destination port ranges.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) DestinationPortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
+// Contains the name of the header
+func (o FirewallPolicyHttpHeaderToInsertOutput) HeaderName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyHttpHeaderToInsert) *string { return v.HeaderName }).(pulumi.StringPtrOutput)
}
-// The destination address prefixes. CIDR or destination IP ranges.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Destinations() AddressPrefixItemResponseArrayOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) []AddressPrefixItemResponse { return v.Destinations }).(AddressPrefixItemResponseArrayOutput)
+// Contains the value of the header
+func (o FirewallPolicyHttpHeaderToInsertOutput) HeaderValue() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyHttpHeaderToInsert) *string { return v.HeaderValue }).(pulumi.StringPtrOutput)
}
-// Indicates if the traffic matched against the rule in inbound or outbound.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Direction() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) string { return v.Direction }).(pulumi.StringOutput)
+type FirewallPolicyHttpHeaderToInsertArrayOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyHttpHeaderToInsertArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyHttpHeaderToInsert)(nil)).Elem()
}
-// A friendly name for the rule.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) DisplayName() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) string { return v.DisplayName }).(pulumi.StringOutput)
+func (o FirewallPolicyHttpHeaderToInsertArrayOutput) ToFirewallPolicyHttpHeaderToInsertArrayOutput() FirewallPolicyHttpHeaderToInsertArrayOutput {
+ return o
}
-// Default rule flag.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Flag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) *string { return v.Flag }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyHttpHeaderToInsertArrayOutput) ToFirewallPolicyHttpHeaderToInsertArrayOutputWithContext(ctx context.Context) FirewallPolicyHttpHeaderToInsertArrayOutput {
+ return o
}
-// Resource ID.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyHttpHeaderToInsertArrayOutput) Index(i pulumi.IntInput) FirewallPolicyHttpHeaderToInsertOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyHttpHeaderToInsert {
+ return vs[0].([]FirewallPolicyHttpHeaderToInsert)[vs[1].(int)]
+ }).(FirewallPolicyHttpHeaderToInsertOutput)
}
-// Whether the rule is custom or default.
-// Expected value is 'Default'.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Kind() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) string { return v.Kind }).(pulumi.StringOutput)
+// name and value of HTTP/S header to insert
+type FirewallPolicyHttpHeaderToInsertResponse struct {
+ // Contains the name of the header
+ HeaderName *string `pulumi:"headerName"`
+ // Contains the value of the header
+ HeaderValue *string `pulumi:"headerValue"`
}
-// The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Priority() pulumi.IntOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) int { return v.Priority }).(pulumi.IntOutput)
+// name and value of HTTP/S header to insert
+type FirewallPolicyHttpHeaderToInsertResponseOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyHttpHeaderToInsertResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyHttpHeaderToInsertResponse)(nil)).Elem()
}
-// Network protocol this rule applies to.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) string { return v.Protocol }).(pulumi.StringOutput)
+func (o FirewallPolicyHttpHeaderToInsertResponseOutput) ToFirewallPolicyHttpHeaderToInsertResponseOutput() FirewallPolicyHttpHeaderToInsertResponseOutput {
+ return o
}
-// The provisioning state of the resource.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o FirewallPolicyHttpHeaderToInsertResponseOutput) ToFirewallPolicyHttpHeaderToInsertResponseOutputWithContext(ctx context.Context) FirewallPolicyHttpHeaderToInsertResponseOutput {
+ return o
}
-// Groups for rule collection
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseV3ArrayOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) []NetworkManagerSecurityGroupItemResponseV3 {
- return v.RuleCollectionAppliesToGroups
- }).(NetworkManagerSecurityGroupItemResponseV3ArrayOutput)
+// Contains the name of the header
+func (o FirewallPolicyHttpHeaderToInsertResponseOutput) HeaderName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyHttpHeaderToInsertResponse) *string { return v.HeaderName }).(pulumi.StringPtrOutput)
}
-// A description of the rule collection.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) RuleCollectionDescription() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) *string { return v.RuleCollectionDescription }).(pulumi.StringPtrOutput)
+// Contains the value of the header
+func (o FirewallPolicyHttpHeaderToInsertResponseOutput) HeaderValue() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyHttpHeaderToInsertResponse) *string { return v.HeaderValue }).(pulumi.StringPtrOutput)
}
-// A display name of the rule collection.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) RuleCollectionDisplayName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) *string { return v.RuleCollectionDisplayName }).(pulumi.StringPtrOutput)
+type FirewallPolicyHttpHeaderToInsertResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyHttpHeaderToInsertResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyHttpHeaderToInsertResponse)(nil)).Elem()
}
-// Effective configuration groups.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) RuleGroups() ConfigurationGroupResponseArrayOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) []ConfigurationGroupResponse { return v.RuleGroups }).(ConfigurationGroupResponseArrayOutput)
+func (o FirewallPolicyHttpHeaderToInsertResponseArrayOutput) ToFirewallPolicyHttpHeaderToInsertResponseArrayOutput() FirewallPolicyHttpHeaderToInsertResponseArrayOutput {
+ return o
}
-// The source port ranges.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) SourcePortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
+func (o FirewallPolicyHttpHeaderToInsertResponseArrayOutput) ToFirewallPolicyHttpHeaderToInsertResponseArrayOutputWithContext(ctx context.Context) FirewallPolicyHttpHeaderToInsertResponseArrayOutput {
+ return o
}
-// The CIDR or source IP ranges.
-func (o EffectiveDefaultSecurityAdminRuleResponseOutput) Sources() AddressPrefixItemResponseArrayOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponse) []AddressPrefixItemResponse { return v.Sources }).(AddressPrefixItemResponseArrayOutput)
+func (o FirewallPolicyHttpHeaderToInsertResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyHttpHeaderToInsertResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyHttpHeaderToInsertResponse {
+ return vs[0].([]FirewallPolicyHttpHeaderToInsertResponse)[vs[1].(int)]
+ }).(FirewallPolicyHttpHeaderToInsertResponseOutput)
}
-// Network default admin rule.
-type EffectiveDefaultSecurityAdminRuleResponseV1 struct {
- // Indicates the access allowed for this particular rule
- Access string `pulumi:"access"`
- // A description of the security admin configuration.
- ConfigurationDescription *string `pulumi:"configurationDescription"`
- // A description for this rule. Restricted to 140 chars.
- Description string `pulumi:"description"`
- // The destination port ranges.
- DestinationPortRanges []string `pulumi:"destinationPortRanges"`
- // The destination address prefixes. CIDR or destination IP ranges.
- Destinations []AddressPrefixItemResponse `pulumi:"destinations"`
- // Indicates if the traffic matched against the rule in inbound or outbound.
- Direction string `pulumi:"direction"`
- // Default rule flag.
- Flag *string `pulumi:"flag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Whether the rule is custom or default.
- // Expected value is 'Default'.
- Kind string `pulumi:"kind"`
- // The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Priority int `pulumi:"priority"`
- // Network protocol this rule applies to.
- Protocol string `pulumi:"protocol"`
- // The provisioning state of the resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Unique identifier for this resource.
- ResourceGuid string `pulumi:"resourceGuid"`
- // Groups for rule collection
- RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemResponse `pulumi:"ruleCollectionAppliesToGroups"`
- // A description of the rule collection.
- RuleCollectionDescription *string `pulumi:"ruleCollectionDescription"`
- // Effective configuration groups.
- RuleGroups []ConfigurationGroupResponseV5 `pulumi:"ruleGroups"`
- // The source port ranges.
- SourcePortRanges []string `pulumi:"sourcePortRanges"`
- // The CIDR or source IP ranges.
- Sources []AddressPrefixItemResponse `pulumi:"sources"`
+// Firewall Policy Insights.
+type FirewallPolicyInsights struct {
+ // A flag to indicate if the insights are enabled on the policy.
+ IsEnabled *bool `pulumi:"isEnabled"`
+ // Workspaces needed to configure the Firewall Policy Insights.
+ LogAnalyticsResources *FirewallPolicyLogAnalyticsResources `pulumi:"logAnalyticsResources"`
+ // Number of days the insights should be enabled on the policy.
+ RetentionDays *int `pulumi:"retentionDays"`
}
-// Network default admin rule.
-type EffectiveDefaultSecurityAdminRuleResponseV1Output struct{ *pulumi.OutputState }
+// FirewallPolicyInsightsInput is an input type that accepts FirewallPolicyInsightsArgs and FirewallPolicyInsightsOutput values.
+// You can construct a concrete instance of `FirewallPolicyInsightsInput` via:
+//
+// FirewallPolicyInsightsArgs{...}
+type FirewallPolicyInsightsInput interface {
+ pulumi.Input
-func (EffectiveDefaultSecurityAdminRuleResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*EffectiveDefaultSecurityAdminRuleResponseV1)(nil)).Elem()
+ ToFirewallPolicyInsightsOutput() FirewallPolicyInsightsOutput
+ ToFirewallPolicyInsightsOutputWithContext(context.Context) FirewallPolicyInsightsOutput
}
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) ToEffectiveDefaultSecurityAdminRuleResponseV1Output() EffectiveDefaultSecurityAdminRuleResponseV1Output {
- return o
+// Firewall Policy Insights.
+type FirewallPolicyInsightsArgs struct {
+ // A flag to indicate if the insights are enabled on the policy.
+ IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"`
+ // Workspaces needed to configure the Firewall Policy Insights.
+ LogAnalyticsResources FirewallPolicyLogAnalyticsResourcesPtrInput `pulumi:"logAnalyticsResources"`
+ // Number of days the insights should be enabled on the policy.
+ RetentionDays pulumi.IntPtrInput `pulumi:"retentionDays"`
}
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) ToEffectiveDefaultSecurityAdminRuleResponseV1OutputWithContext(ctx context.Context) EffectiveDefaultSecurityAdminRuleResponseV1Output {
- return o
+func (FirewallPolicyInsightsArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyInsights)(nil)).Elem()
}
-// Indicates the access allowed for this particular rule
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) Access() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) string { return v.Access }).(pulumi.StringOutput)
+func (i FirewallPolicyInsightsArgs) ToFirewallPolicyInsightsOutput() FirewallPolicyInsightsOutput {
+ return i.ToFirewallPolicyInsightsOutputWithContext(context.Background())
}
-// A description of the security admin configuration.
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) ConfigurationDescription() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) *string { return v.ConfigurationDescription }).(pulumi.StringPtrOutput)
+func (i FirewallPolicyInsightsArgs) ToFirewallPolicyInsightsOutputWithContext(ctx context.Context) FirewallPolicyInsightsOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyInsightsOutput)
}
-// A description for this rule. Restricted to 140 chars.
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) Description() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) string { return v.Description }).(pulumi.StringOutput)
+func (i FirewallPolicyInsightsArgs) ToFirewallPolicyInsightsPtrOutput() FirewallPolicyInsightsPtrOutput {
+ return i.ToFirewallPolicyInsightsPtrOutputWithContext(context.Background())
}
-// The destination port ranges.
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) DestinationPortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
+func (i FirewallPolicyInsightsArgs) ToFirewallPolicyInsightsPtrOutputWithContext(ctx context.Context) FirewallPolicyInsightsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyInsightsOutput).ToFirewallPolicyInsightsPtrOutputWithContext(ctx)
}
-// The destination address prefixes. CIDR or destination IP ranges.
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) Destinations() AddressPrefixItemResponseArrayOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) []AddressPrefixItemResponse { return v.Destinations }).(AddressPrefixItemResponseArrayOutput)
-}
+// FirewallPolicyInsightsPtrInput is an input type that accepts FirewallPolicyInsightsArgs, FirewallPolicyInsightsPtr and FirewallPolicyInsightsPtrOutput values.
+// You can construct a concrete instance of `FirewallPolicyInsightsPtrInput` via:
+//
+// FirewallPolicyInsightsArgs{...}
+//
+// or:
+//
+// nil
+type FirewallPolicyInsightsPtrInput interface {
+ pulumi.Input
-// Indicates if the traffic matched against the rule in inbound or outbound.
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) Direction() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) string { return v.Direction }).(pulumi.StringOutput)
+ ToFirewallPolicyInsightsPtrOutput() FirewallPolicyInsightsPtrOutput
+ ToFirewallPolicyInsightsPtrOutputWithContext(context.Context) FirewallPolicyInsightsPtrOutput
}
-// Default rule flag.
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) Flag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) *string { return v.Flag }).(pulumi.StringPtrOutput)
-}
+type firewallPolicyInsightsPtrType FirewallPolicyInsightsArgs
-// Resource ID.
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+func FirewallPolicyInsightsPtr(v *FirewallPolicyInsightsArgs) FirewallPolicyInsightsPtrInput {
+ return (*firewallPolicyInsightsPtrType)(v)
}
-// Whether the rule is custom or default.
-// Expected value is 'Default'.
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) Kind() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) string { return v.Kind }).(pulumi.StringOutput)
+func (*firewallPolicyInsightsPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyInsights)(nil)).Elem()
}
-// The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) Priority() pulumi.IntOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) int { return v.Priority }).(pulumi.IntOutput)
+func (i *firewallPolicyInsightsPtrType) ToFirewallPolicyInsightsPtrOutput() FirewallPolicyInsightsPtrOutput {
+ return i.ToFirewallPolicyInsightsPtrOutputWithContext(context.Background())
}
-// Network protocol this rule applies to.
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) string { return v.Protocol }).(pulumi.StringOutput)
+func (i *firewallPolicyInsightsPtrType) ToFirewallPolicyInsightsPtrOutputWithContext(ctx context.Context) FirewallPolicyInsightsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyInsightsPtrOutput)
}
-// The provisioning state of the resource.
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Firewall Policy Insights.
+type FirewallPolicyInsightsOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyInsightsOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyInsights)(nil)).Elem()
}
-// Unique identifier for this resource.
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) string { return v.ResourceGuid }).(pulumi.StringOutput)
+func (o FirewallPolicyInsightsOutput) ToFirewallPolicyInsightsOutput() FirewallPolicyInsightsOutput {
+ return o
}
-// Groups for rule collection
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseArrayOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) []NetworkManagerSecurityGroupItemResponse {
- return v.RuleCollectionAppliesToGroups
- }).(NetworkManagerSecurityGroupItemResponseArrayOutput)
+func (o FirewallPolicyInsightsOutput) ToFirewallPolicyInsightsOutputWithContext(ctx context.Context) FirewallPolicyInsightsOutput {
+ return o
}
-// A description of the rule collection.
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) RuleCollectionDescription() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) *string { return v.RuleCollectionDescription }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyInsightsOutput) ToFirewallPolicyInsightsPtrOutput() FirewallPolicyInsightsPtrOutput {
+ return o.ToFirewallPolicyInsightsPtrOutputWithContext(context.Background())
}
-// Effective configuration groups.
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) RuleGroups() ConfigurationGroupResponseV5ArrayOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) []ConfigurationGroupResponseV5 {
- return v.RuleGroups
- }).(ConfigurationGroupResponseV5ArrayOutput)
+func (o FirewallPolicyInsightsOutput) ToFirewallPolicyInsightsPtrOutputWithContext(ctx context.Context) FirewallPolicyInsightsPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyInsights) *FirewallPolicyInsights {
+ return &v
+ }).(FirewallPolicyInsightsPtrOutput)
}
-// The source port ranges.
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) SourcePortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
+// A flag to indicate if the insights are enabled on the policy.
+func (o FirewallPolicyInsightsOutput) IsEnabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyInsights) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput)
}
-// The CIDR or source IP ranges.
-func (o EffectiveDefaultSecurityAdminRuleResponseV1Output) Sources() AddressPrefixItemResponseArrayOutput {
- return o.ApplyT(func(v EffectiveDefaultSecurityAdminRuleResponseV1) []AddressPrefixItemResponse { return v.Sources }).(AddressPrefixItemResponseArrayOutput)
+// Workspaces needed to configure the Firewall Policy Insights.
+func (o FirewallPolicyInsightsOutput) LogAnalyticsResources() FirewallPolicyLogAnalyticsResourcesPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyInsights) *FirewallPolicyLogAnalyticsResources { return v.LogAnalyticsResources }).(FirewallPolicyLogAnalyticsResourcesPtrOutput)
}
-// Network admin rule.
-type EffectiveSecurityAdminRuleResponse struct {
- // Indicates the access allowed for this particular rule
- Access string `pulumi:"access"`
- // A description of the security admin configuration.
- ConfigurationDescription *string `pulumi:"configurationDescription"`
- // A display name of the security admin configuration.
- ConfigurationDisplayName *string `pulumi:"configurationDisplayName"`
- // A description for this rule. Restricted to 140 chars.
- Description *string `pulumi:"description"`
- // The destination port ranges.
- DestinationPortRanges []string `pulumi:"destinationPortRanges"`
- // The destination address prefixes. CIDR or destination IP ranges.
- Destinations []AddressPrefixItemResponse `pulumi:"destinations"`
- // Indicates if the traffic matched against the rule in inbound or outbound.
- Direction string `pulumi:"direction"`
- // A friendly name for the rule.
- DisplayName *string `pulumi:"displayName"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Whether the rule is custom or default.
- // Expected value is 'Custom'.
- Kind string `pulumi:"kind"`
- // The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Priority *int `pulumi:"priority"`
- // Network protocol this rule applies to.
- Protocol string `pulumi:"protocol"`
- // The provisioning state of the resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Groups for rule collection
- RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemResponse `pulumi:"ruleCollectionAppliesToGroups"`
- // A description of the rule collection.
- RuleCollectionDescription *string `pulumi:"ruleCollectionDescription"`
- // A display name of the rule collection.
- RuleCollectionDisplayName *string `pulumi:"ruleCollectionDisplayName"`
- // Effective configuration groups.
- RuleGroups []ConfigurationGroupResponse `pulumi:"ruleGroups"`
- // The source port ranges.
- SourcePortRanges []string `pulumi:"sourcePortRanges"`
- // The CIDR or source IP ranges.
- Sources []AddressPrefixItemResponse `pulumi:"sources"`
+// Number of days the insights should be enabled on the policy.
+func (o FirewallPolicyInsightsOutput) RetentionDays() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyInsights) *int { return v.RetentionDays }).(pulumi.IntPtrOutput)
}
-// Network admin rule.
-type EffectiveSecurityAdminRuleResponseOutput struct{ *pulumi.OutputState }
+type FirewallPolicyInsightsPtrOutput struct{ *pulumi.OutputState }
-func (EffectiveSecurityAdminRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*EffectiveSecurityAdminRuleResponse)(nil)).Elem()
+func (FirewallPolicyInsightsPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyInsights)(nil)).Elem()
}
-func (o EffectiveSecurityAdminRuleResponseOutput) ToEffectiveSecurityAdminRuleResponseOutput() EffectiveSecurityAdminRuleResponseOutput {
+func (o FirewallPolicyInsightsPtrOutput) ToFirewallPolicyInsightsPtrOutput() FirewallPolicyInsightsPtrOutput {
return o
}
-func (o EffectiveSecurityAdminRuleResponseOutput) ToEffectiveSecurityAdminRuleResponseOutputWithContext(ctx context.Context) EffectiveSecurityAdminRuleResponseOutput {
+func (o FirewallPolicyInsightsPtrOutput) ToFirewallPolicyInsightsPtrOutputWithContext(ctx context.Context) FirewallPolicyInsightsPtrOutput {
return o
}
-// Indicates the access allowed for this particular rule
-func (o EffectiveSecurityAdminRuleResponseOutput) Access() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) string { return v.Access }).(pulumi.StringOutput)
+func (o FirewallPolicyInsightsPtrOutput) Elem() FirewallPolicyInsightsOutput {
+ return o.ApplyT(func(v *FirewallPolicyInsights) FirewallPolicyInsights {
+ if v != nil {
+ return *v
+ }
+ var ret FirewallPolicyInsights
+ return ret
+ }).(FirewallPolicyInsightsOutput)
}
-// A description of the security admin configuration.
-func (o EffectiveSecurityAdminRuleResponseOutput) ConfigurationDescription() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) *string { return v.ConfigurationDescription }).(pulumi.StringPtrOutput)
+// A flag to indicate if the insights are enabled on the policy.
+func (o FirewallPolicyInsightsPtrOutput) IsEnabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyInsights) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.IsEnabled
+ }).(pulumi.BoolPtrOutput)
}
-// A display name of the security admin configuration.
-func (o EffectiveSecurityAdminRuleResponseOutput) ConfigurationDisplayName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) *string { return v.ConfigurationDisplayName }).(pulumi.StringPtrOutput)
+// Workspaces needed to configure the Firewall Policy Insights.
+func (o FirewallPolicyInsightsPtrOutput) LogAnalyticsResources() FirewallPolicyLogAnalyticsResourcesPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyInsights) *FirewallPolicyLogAnalyticsResources {
+ if v == nil {
+ return nil
+ }
+ return v.LogAnalyticsResources
+ }).(FirewallPolicyLogAnalyticsResourcesPtrOutput)
}
-// A description for this rule. Restricted to 140 chars.
-func (o EffectiveSecurityAdminRuleResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+// Number of days the insights should be enabled on the policy.
+func (o FirewallPolicyInsightsPtrOutput) RetentionDays() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyInsights) *int {
+ if v == nil {
+ return nil
+ }
+ return v.RetentionDays
+ }).(pulumi.IntPtrOutput)
}
-// The destination port ranges.
-func (o EffectiveSecurityAdminRuleResponseOutput) DestinationPortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
+// Firewall Policy Insights.
+type FirewallPolicyInsightsResponse struct {
+ // A flag to indicate if the insights are enabled on the policy.
+ IsEnabled *bool `pulumi:"isEnabled"`
+ // Workspaces needed to configure the Firewall Policy Insights.
+ LogAnalyticsResources *FirewallPolicyLogAnalyticsResourcesResponse `pulumi:"logAnalyticsResources"`
+ // Number of days the insights should be enabled on the policy.
+ RetentionDays *int `pulumi:"retentionDays"`
}
-// The destination address prefixes. CIDR or destination IP ranges.
-func (o EffectiveSecurityAdminRuleResponseOutput) Destinations() AddressPrefixItemResponseArrayOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) []AddressPrefixItemResponse { return v.Destinations }).(AddressPrefixItemResponseArrayOutput)
-}
+// Firewall Policy Insights.
+type FirewallPolicyInsightsResponseOutput struct{ *pulumi.OutputState }
-// Indicates if the traffic matched against the rule in inbound or outbound.
-func (o EffectiveSecurityAdminRuleResponseOutput) Direction() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) string { return v.Direction }).(pulumi.StringOutput)
+func (FirewallPolicyInsightsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyInsightsResponse)(nil)).Elem()
}
-// A friendly name for the rule.
-func (o EffectiveSecurityAdminRuleResponseOutput) DisplayName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) *string { return v.DisplayName }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyInsightsResponseOutput) ToFirewallPolicyInsightsResponseOutput() FirewallPolicyInsightsResponseOutput {
+ return o
}
-// Resource ID.
-func (o EffectiveSecurityAdminRuleResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyInsightsResponseOutput) ToFirewallPolicyInsightsResponseOutputWithContext(ctx context.Context) FirewallPolicyInsightsResponseOutput {
+ return o
}
-// Whether the rule is custom or default.
-// Expected value is 'Custom'.
-func (o EffectiveSecurityAdminRuleResponseOutput) Kind() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) string { return v.Kind }).(pulumi.StringOutput)
+// A flag to indicate if the insights are enabled on the policy.
+func (o FirewallPolicyInsightsResponseOutput) IsEnabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyInsightsResponse) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput)
}
-// The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
-func (o EffectiveSecurityAdminRuleResponseOutput) Priority() pulumi.IntPtrOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) *int { return v.Priority }).(pulumi.IntPtrOutput)
+// Workspaces needed to configure the Firewall Policy Insights.
+func (o FirewallPolicyInsightsResponseOutput) LogAnalyticsResources() FirewallPolicyLogAnalyticsResourcesResponsePtrOutput {
+ return o.ApplyT(func(v FirewallPolicyInsightsResponse) *FirewallPolicyLogAnalyticsResourcesResponse {
+ return v.LogAnalyticsResources
+ }).(FirewallPolicyLogAnalyticsResourcesResponsePtrOutput)
}
-// Network protocol this rule applies to.
-func (o EffectiveSecurityAdminRuleResponseOutput) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) string { return v.Protocol }).(pulumi.StringOutput)
+// Number of days the insights should be enabled on the policy.
+func (o FirewallPolicyInsightsResponseOutput) RetentionDays() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyInsightsResponse) *int { return v.RetentionDays }).(pulumi.IntPtrOutput)
}
-// The provisioning state of the resource.
-func (o EffectiveSecurityAdminRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
+type FirewallPolicyInsightsResponsePtrOutput struct{ *pulumi.OutputState }
-// Groups for rule collection
-func (o EffectiveSecurityAdminRuleResponseOutput) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseArrayOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) []NetworkManagerSecurityGroupItemResponse {
- return v.RuleCollectionAppliesToGroups
- }).(NetworkManagerSecurityGroupItemResponseArrayOutput)
+func (FirewallPolicyInsightsResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyInsightsResponse)(nil)).Elem()
}
-// A description of the rule collection.
-func (o EffectiveSecurityAdminRuleResponseOutput) RuleCollectionDescription() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) *string { return v.RuleCollectionDescription }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyInsightsResponsePtrOutput) ToFirewallPolicyInsightsResponsePtrOutput() FirewallPolicyInsightsResponsePtrOutput {
+ return o
}
-// A display name of the rule collection.
-func (o EffectiveSecurityAdminRuleResponseOutput) RuleCollectionDisplayName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) *string { return v.RuleCollectionDisplayName }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyInsightsResponsePtrOutput) ToFirewallPolicyInsightsResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyInsightsResponsePtrOutput {
+ return o
}
-// Effective configuration groups.
-func (o EffectiveSecurityAdminRuleResponseOutput) RuleGroups() ConfigurationGroupResponseArrayOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) []ConfigurationGroupResponse { return v.RuleGroups }).(ConfigurationGroupResponseArrayOutput)
+func (o FirewallPolicyInsightsResponsePtrOutput) Elem() FirewallPolicyInsightsResponseOutput {
+ return o.ApplyT(func(v *FirewallPolicyInsightsResponse) FirewallPolicyInsightsResponse {
+ if v != nil {
+ return *v
+ }
+ var ret FirewallPolicyInsightsResponse
+ return ret
+ }).(FirewallPolicyInsightsResponseOutput)
}
-// The source port ranges.
-func (o EffectiveSecurityAdminRuleResponseOutput) SourcePortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
-}
-
-// The CIDR or source IP ranges.
-func (o EffectiveSecurityAdminRuleResponseOutput) Sources() AddressPrefixItemResponseArrayOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponse) []AddressPrefixItemResponse { return v.Sources }).(AddressPrefixItemResponseArrayOutput)
-}
-
-// Network admin rule.
-type EffectiveSecurityAdminRuleResponseV1 struct {
- // Indicates the access allowed for this particular rule
- Access string `pulumi:"access"`
- // A description of the security admin configuration.
- ConfigurationDescription *string `pulumi:"configurationDescription"`
- // A description for this rule. Restricted to 140 chars.
- Description *string `pulumi:"description"`
- // The destination port ranges.
- DestinationPortRanges []string `pulumi:"destinationPortRanges"`
- // The destination address prefixes. CIDR or destination IP ranges.
- Destinations []AddressPrefixItemResponse `pulumi:"destinations"`
- // Indicates if the traffic matched against the rule in inbound or outbound.
- Direction string `pulumi:"direction"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Whether the rule is custom or default.
- // Expected value is 'Custom'.
- Kind string `pulumi:"kind"`
- // The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Priority int `pulumi:"priority"`
- // Network protocol this rule applies to.
- Protocol string `pulumi:"protocol"`
- // The provisioning state of the resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Unique identifier for this resource.
- ResourceGuid string `pulumi:"resourceGuid"`
- // Groups for rule collection
- RuleCollectionAppliesToGroups []NetworkManagerSecurityGroupItemResponse `pulumi:"ruleCollectionAppliesToGroups"`
- // A description of the rule collection.
- RuleCollectionDescription *string `pulumi:"ruleCollectionDescription"`
- // Effective configuration groups.
- RuleGroups []ConfigurationGroupResponse `pulumi:"ruleGroups"`
- // The source port ranges.
- SourcePortRanges []string `pulumi:"sourcePortRanges"`
- // The CIDR or source IP ranges.
- Sources []AddressPrefixItemResponse `pulumi:"sources"`
+// A flag to indicate if the insights are enabled on the policy.
+func (o FirewallPolicyInsightsResponsePtrOutput) IsEnabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyInsightsResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.IsEnabled
+ }).(pulumi.BoolPtrOutput)
}
-// Network admin rule.
-type EffectiveSecurityAdminRuleResponseV1Output struct{ *pulumi.OutputState }
-
-func (EffectiveSecurityAdminRuleResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*EffectiveSecurityAdminRuleResponseV1)(nil)).Elem()
+// Workspaces needed to configure the Firewall Policy Insights.
+func (o FirewallPolicyInsightsResponsePtrOutput) LogAnalyticsResources() FirewallPolicyLogAnalyticsResourcesResponsePtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyInsightsResponse) *FirewallPolicyLogAnalyticsResourcesResponse {
+ if v == nil {
+ return nil
+ }
+ return v.LogAnalyticsResources
+ }).(FirewallPolicyLogAnalyticsResourcesResponsePtrOutput)
}
-func (o EffectiveSecurityAdminRuleResponseV1Output) ToEffectiveSecurityAdminRuleResponseV1Output() EffectiveSecurityAdminRuleResponseV1Output {
- return o
+// Number of days the insights should be enabled on the policy.
+func (o FirewallPolicyInsightsResponsePtrOutput) RetentionDays() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyInsightsResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.RetentionDays
+ }).(pulumi.IntPtrOutput)
}
-func (o EffectiveSecurityAdminRuleResponseV1Output) ToEffectiveSecurityAdminRuleResponseV1OutputWithContext(ctx context.Context) EffectiveSecurityAdminRuleResponseV1Output {
- return o
+// Configuration for intrusion detection mode and rules.
+type FirewallPolicyIntrusionDetection struct {
+ // Intrusion detection configuration properties.
+ Configuration *FirewallPolicyIntrusionDetectionConfiguration `pulumi:"configuration"`
+ // Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
+ Mode *string `pulumi:"mode"`
+ // IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
+ Profile *string `pulumi:"profile"`
}
-// Indicates the access allowed for this particular rule
-func (o EffectiveSecurityAdminRuleResponseV1Output) Access() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) string { return v.Access }).(pulumi.StringOutput)
-}
+// FirewallPolicyIntrusionDetectionInput is an input type that accepts FirewallPolicyIntrusionDetectionArgs and FirewallPolicyIntrusionDetectionOutput values.
+// You can construct a concrete instance of `FirewallPolicyIntrusionDetectionInput` via:
+//
+// FirewallPolicyIntrusionDetectionArgs{...}
+type FirewallPolicyIntrusionDetectionInput interface {
+ pulumi.Input
-// A description of the security admin configuration.
-func (o EffectiveSecurityAdminRuleResponseV1Output) ConfigurationDescription() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) *string { return v.ConfigurationDescription }).(pulumi.StringPtrOutput)
+ ToFirewallPolicyIntrusionDetectionOutput() FirewallPolicyIntrusionDetectionOutput
+ ToFirewallPolicyIntrusionDetectionOutputWithContext(context.Context) FirewallPolicyIntrusionDetectionOutput
}
-// A description for this rule. Restricted to 140 chars.
-func (o EffectiveSecurityAdminRuleResponseV1Output) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) *string { return v.Description }).(pulumi.StringPtrOutput)
+// Configuration for intrusion detection mode and rules.
+type FirewallPolicyIntrusionDetectionArgs struct {
+ // Intrusion detection configuration properties.
+ Configuration FirewallPolicyIntrusionDetectionConfigurationPtrInput `pulumi:"configuration"`
+ // Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
+ Mode pulumi.StringPtrInput `pulumi:"mode"`
+ // IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
+ Profile pulumi.StringPtrInput `pulumi:"profile"`
}
-// The destination port ranges.
-func (o EffectiveSecurityAdminRuleResponseV1Output) DestinationPortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
+func (FirewallPolicyIntrusionDetectionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyIntrusionDetection)(nil)).Elem()
}
-// The destination address prefixes. CIDR or destination IP ranges.
-func (o EffectiveSecurityAdminRuleResponseV1Output) Destinations() AddressPrefixItemResponseArrayOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) []AddressPrefixItemResponse { return v.Destinations }).(AddressPrefixItemResponseArrayOutput)
+func (i FirewallPolicyIntrusionDetectionArgs) ToFirewallPolicyIntrusionDetectionOutput() FirewallPolicyIntrusionDetectionOutput {
+ return i.ToFirewallPolicyIntrusionDetectionOutputWithContext(context.Background())
}
-// Indicates if the traffic matched against the rule in inbound or outbound.
-func (o EffectiveSecurityAdminRuleResponseV1Output) Direction() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) string { return v.Direction }).(pulumi.StringOutput)
+func (i FirewallPolicyIntrusionDetectionArgs) ToFirewallPolicyIntrusionDetectionOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionOutput)
}
-// Resource ID.
-func (o EffectiveSecurityAdminRuleResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (i FirewallPolicyIntrusionDetectionArgs) ToFirewallPolicyIntrusionDetectionPtrOutput() FirewallPolicyIntrusionDetectionPtrOutput {
+ return i.ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(context.Background())
}
-// Whether the rule is custom or default.
-// Expected value is 'Custom'.
-func (o EffectiveSecurityAdminRuleResponseV1Output) Kind() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) string { return v.Kind }).(pulumi.StringOutput)
+func (i FirewallPolicyIntrusionDetectionArgs) ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionOutput).ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(ctx)
}
-// The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
-func (o EffectiveSecurityAdminRuleResponseV1Output) Priority() pulumi.IntOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) int { return v.Priority }).(pulumi.IntOutput)
-}
+// FirewallPolicyIntrusionDetectionPtrInput is an input type that accepts FirewallPolicyIntrusionDetectionArgs, FirewallPolicyIntrusionDetectionPtr and FirewallPolicyIntrusionDetectionPtrOutput values.
+// You can construct a concrete instance of `FirewallPolicyIntrusionDetectionPtrInput` via:
+//
+// FirewallPolicyIntrusionDetectionArgs{...}
+//
+// or:
+//
+// nil
+type FirewallPolicyIntrusionDetectionPtrInput interface {
+ pulumi.Input
-// Network protocol this rule applies to.
-func (o EffectiveSecurityAdminRuleResponseV1Output) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) string { return v.Protocol }).(pulumi.StringOutput)
+ ToFirewallPolicyIntrusionDetectionPtrOutput() FirewallPolicyIntrusionDetectionPtrOutput
+ ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(context.Context) FirewallPolicyIntrusionDetectionPtrOutput
}
-// The provisioning state of the resource.
-func (o EffectiveSecurityAdminRuleResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
+type firewallPolicyIntrusionDetectionPtrType FirewallPolicyIntrusionDetectionArgs
-// Unique identifier for this resource.
-func (o EffectiveSecurityAdminRuleResponseV1Output) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) string { return v.ResourceGuid }).(pulumi.StringOutput)
+func FirewallPolicyIntrusionDetectionPtr(v *FirewallPolicyIntrusionDetectionArgs) FirewallPolicyIntrusionDetectionPtrInput {
+ return (*firewallPolicyIntrusionDetectionPtrType)(v)
}
-// Groups for rule collection
-func (o EffectiveSecurityAdminRuleResponseV1Output) RuleCollectionAppliesToGroups() NetworkManagerSecurityGroupItemResponseArrayOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) []NetworkManagerSecurityGroupItemResponse {
- return v.RuleCollectionAppliesToGroups
- }).(NetworkManagerSecurityGroupItemResponseArrayOutput)
+func (*firewallPolicyIntrusionDetectionPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyIntrusionDetection)(nil)).Elem()
}
-// A description of the rule collection.
-func (o EffectiveSecurityAdminRuleResponseV1Output) RuleCollectionDescription() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) *string { return v.RuleCollectionDescription }).(pulumi.StringPtrOutput)
+func (i *firewallPolicyIntrusionDetectionPtrType) ToFirewallPolicyIntrusionDetectionPtrOutput() FirewallPolicyIntrusionDetectionPtrOutput {
+ return i.ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(context.Background())
}
-// Effective configuration groups.
-func (o EffectiveSecurityAdminRuleResponseV1Output) RuleGroups() ConfigurationGroupResponseArrayOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) []ConfigurationGroupResponse { return v.RuleGroups }).(ConfigurationGroupResponseArrayOutput)
+func (i *firewallPolicyIntrusionDetectionPtrType) ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionPtrOutput)
}
-// The source port ranges.
-func (o EffectiveSecurityAdminRuleResponseV1Output) SourcePortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
-}
+// Configuration for intrusion detection mode and rules.
+type FirewallPolicyIntrusionDetectionOutput struct{ *pulumi.OutputState }
-// The CIDR or source IP ranges.
-func (o EffectiveSecurityAdminRuleResponseV1Output) Sources() AddressPrefixItemResponseArrayOutput {
- return o.ApplyT(func(v EffectiveSecurityAdminRuleResponseV1) []AddressPrefixItemResponse { return v.Sources }).(AddressPrefixItemResponseArrayOutput)
+func (FirewallPolicyIntrusionDetectionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyIntrusionDetection)(nil)).Elem()
}
-// Effective Virtual Network
-type EffectiveVirtualNetworkResponse struct {
- // Effective vnet Id.
- Id *string `pulumi:"id"`
- // Location of vnet.
- Location *string `pulumi:"location"`
- // Membership Type.
- MembershipType *string `pulumi:"membershipType"`
+func (o FirewallPolicyIntrusionDetectionOutput) ToFirewallPolicyIntrusionDetectionOutput() FirewallPolicyIntrusionDetectionOutput {
+ return o
}
-// Effective Virtual Network
-type EffectiveVirtualNetworkResponseOutput struct{ *pulumi.OutputState }
-
-func (EffectiveVirtualNetworkResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*EffectiveVirtualNetworkResponse)(nil)).Elem()
+func (o FirewallPolicyIntrusionDetectionOutput) ToFirewallPolicyIntrusionDetectionOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionOutput {
+ return o
}
-func (o EffectiveVirtualNetworkResponseOutput) ToEffectiveVirtualNetworkResponseOutput() EffectiveVirtualNetworkResponseOutput {
- return o
+func (o FirewallPolicyIntrusionDetectionOutput) ToFirewallPolicyIntrusionDetectionPtrOutput() FirewallPolicyIntrusionDetectionPtrOutput {
+ return o.ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(context.Background())
}
-func (o EffectiveVirtualNetworkResponseOutput) ToEffectiveVirtualNetworkResponseOutputWithContext(ctx context.Context) EffectiveVirtualNetworkResponseOutput {
- return o
+func (o FirewallPolicyIntrusionDetectionOutput) ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyIntrusionDetection) *FirewallPolicyIntrusionDetection {
+ return &v
+ }).(FirewallPolicyIntrusionDetectionPtrOutput)
}
-// Effective vnet Id.
-func (o EffectiveVirtualNetworkResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveVirtualNetworkResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Intrusion detection configuration properties.
+func (o FirewallPolicyIntrusionDetectionOutput) Configuration() FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetection) *FirewallPolicyIntrusionDetectionConfiguration {
+ return v.Configuration
+ }).(FirewallPolicyIntrusionDetectionConfigurationPtrOutput)
}
-// Location of vnet.
-func (o EffectiveVirtualNetworkResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveVirtualNetworkResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+// Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
+func (o FirewallPolicyIntrusionDetectionOutput) Mode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetection) *string { return v.Mode }).(pulumi.StringPtrOutput)
}
-// Membership Type.
-func (o EffectiveVirtualNetworkResponseOutput) MembershipType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EffectiveVirtualNetworkResponse) *string { return v.MembershipType }).(pulumi.StringPtrOutput)
+// IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
+func (o FirewallPolicyIntrusionDetectionOutput) Profile() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetection) *string { return v.Profile }).(pulumi.StringPtrOutput)
}
-type EffectiveVirtualNetworkResponseArrayOutput struct{ *pulumi.OutputState }
+type FirewallPolicyIntrusionDetectionPtrOutput struct{ *pulumi.OutputState }
-func (EffectiveVirtualNetworkResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]EffectiveVirtualNetworkResponse)(nil)).Elem()
+func (FirewallPolicyIntrusionDetectionPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyIntrusionDetection)(nil)).Elem()
}
-func (o EffectiveVirtualNetworkResponseArrayOutput) ToEffectiveVirtualNetworkResponseArrayOutput() EffectiveVirtualNetworkResponseArrayOutput {
+func (o FirewallPolicyIntrusionDetectionPtrOutput) ToFirewallPolicyIntrusionDetectionPtrOutput() FirewallPolicyIntrusionDetectionPtrOutput {
return o
}
-func (o EffectiveVirtualNetworkResponseArrayOutput) ToEffectiveVirtualNetworkResponseArrayOutputWithContext(ctx context.Context) EffectiveVirtualNetworkResponseArrayOutput {
+func (o FirewallPolicyIntrusionDetectionPtrOutput) ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionPtrOutput {
return o
}
-func (o EffectiveVirtualNetworkResponseArrayOutput) Index(i pulumi.IntInput) EffectiveVirtualNetworkResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) EffectiveVirtualNetworkResponse {
- return vs[0].([]EffectiveVirtualNetworkResponse)[vs[1].(int)]
- }).(EffectiveVirtualNetworkResponseOutput)
+func (o FirewallPolicyIntrusionDetectionPtrOutput) Elem() FirewallPolicyIntrusionDetectionOutput {
+ return o.ApplyT(func(v *FirewallPolicyIntrusionDetection) FirewallPolicyIntrusionDetection {
+ if v != nil {
+ return *v
+ }
+ var ret FirewallPolicyIntrusionDetection
+ return ret
+ }).(FirewallPolicyIntrusionDetectionOutput)
}
-// Identifies the service being brought into the virtual network.
-type EndpointService struct {
- // A unique identifier of the service being referenced by the interface endpoint.
- Id *string `pulumi:"id"`
+// Intrusion detection configuration properties.
+func (o FirewallPolicyIntrusionDetectionPtrOutput) Configuration() FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyIntrusionDetection) *FirewallPolicyIntrusionDetectionConfiguration {
+ if v == nil {
+ return nil
+ }
+ return v.Configuration
+ }).(FirewallPolicyIntrusionDetectionConfigurationPtrOutput)
}
-// EndpointServiceInput is an input type that accepts EndpointServiceArgs and EndpointServiceOutput values.
-// You can construct a concrete instance of `EndpointServiceInput` via:
-//
-// EndpointServiceArgs{...}
-type EndpointServiceInput interface {
- pulumi.Input
+// Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
+func (o FirewallPolicyIntrusionDetectionPtrOutput) Mode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyIntrusionDetection) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Mode
+ }).(pulumi.StringPtrOutput)
+}
- ToEndpointServiceOutput() EndpointServiceOutput
- ToEndpointServiceOutputWithContext(context.Context) EndpointServiceOutput
+// IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
+func (o FirewallPolicyIntrusionDetectionPtrOutput) Profile() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyIntrusionDetection) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Profile
+ }).(pulumi.StringPtrOutput)
}
-// Identifies the service being brought into the virtual network.
-type EndpointServiceArgs struct {
- // A unique identifier of the service being referenced by the interface endpoint.
- Id pulumi.StringPtrInput `pulumi:"id"`
+// Intrusion detection bypass traffic specification.
+type FirewallPolicyIntrusionDetectionBypassTrafficSpecifications struct {
+ // Description of the bypass traffic rule.
+ Description *string `pulumi:"description"`
+ // List of destination IP addresses or ranges for this rule.
+ DestinationAddresses []string `pulumi:"destinationAddresses"`
+ // List of destination IpGroups for this rule.
+ DestinationIpGroups []string `pulumi:"destinationIpGroups"`
+ // List of destination ports or ranges.
+ DestinationPorts []string `pulumi:"destinationPorts"`
+ // Name of the bypass traffic rule.
+ Name *string `pulumi:"name"`
+ // The rule bypass protocol.
+ Protocol *string `pulumi:"protocol"`
+ // List of source IP addresses or ranges for this rule.
+ SourceAddresses []string `pulumi:"sourceAddresses"`
+ // List of source IpGroups for this rule.
+ SourceIpGroups []string `pulumi:"sourceIpGroups"`
}
-func (EndpointServiceArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*EndpointService)(nil)).Elem()
+// FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsInput is an input type that accepts FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArgs and FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput values.
+// You can construct a concrete instance of `FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsInput` via:
+//
+// FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArgs{...}
+type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsInput interface {
+ pulumi.Input
+
+ ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput
+ ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutputWithContext(context.Context) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput
}
-func (i EndpointServiceArgs) ToEndpointServiceOutput() EndpointServiceOutput {
- return i.ToEndpointServiceOutputWithContext(context.Background())
+// Intrusion detection bypass traffic specification.
+type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArgs struct {
+ // Description of the bypass traffic rule.
+ Description pulumi.StringPtrInput `pulumi:"description"`
+ // List of destination IP addresses or ranges for this rule.
+ DestinationAddresses pulumi.StringArrayInput `pulumi:"destinationAddresses"`
+ // List of destination IpGroups for this rule.
+ DestinationIpGroups pulumi.StringArrayInput `pulumi:"destinationIpGroups"`
+ // List of destination ports or ranges.
+ DestinationPorts pulumi.StringArrayInput `pulumi:"destinationPorts"`
+ // Name of the bypass traffic rule.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The rule bypass protocol.
+ Protocol pulumi.StringPtrInput `pulumi:"protocol"`
+ // List of source IP addresses or ranges for this rule.
+ SourceAddresses pulumi.StringArrayInput `pulumi:"sourceAddresses"`
+ // List of source IpGroups for this rule.
+ SourceIpGroups pulumi.StringArrayInput `pulumi:"sourceIpGroups"`
}
-func (i EndpointServiceArgs) ToEndpointServiceOutputWithContext(ctx context.Context) EndpointServiceOutput {
- return pulumi.ToOutputWithContext(ctx, i).(EndpointServiceOutput)
+func (FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyIntrusionDetectionBypassTrafficSpecifications)(nil)).Elem()
}
-func (i EndpointServiceArgs) ToEndpointServicePtrOutput() EndpointServicePtrOutput {
- return i.ToEndpointServicePtrOutputWithContext(context.Background())
+func (i FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArgs) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput {
+ return i.ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutputWithContext(context.Background())
}
-func (i EndpointServiceArgs) ToEndpointServicePtrOutputWithContext(ctx context.Context) EndpointServicePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(EndpointServiceOutput).ToEndpointServicePtrOutputWithContext(ctx)
+func (i FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArgs) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput)
}
-// EndpointServicePtrInput is an input type that accepts EndpointServiceArgs, EndpointServicePtr and EndpointServicePtrOutput values.
-// You can construct a concrete instance of `EndpointServicePtrInput` via:
-//
-// EndpointServiceArgs{...}
-//
-// or:
+// FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayInput is an input type that accepts FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArray and FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput values.
+// You can construct a concrete instance of `FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayInput` via:
//
-// nil
-type EndpointServicePtrInput interface {
+// FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArray{ FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArgs{...} }
+type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayInput interface {
pulumi.Input
- ToEndpointServicePtrOutput() EndpointServicePtrOutput
- ToEndpointServicePtrOutputWithContext(context.Context) EndpointServicePtrOutput
+ ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput
+ ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutputWithContext(context.Context) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput
}
-type endpointServicePtrType EndpointServiceArgs
-
-func EndpointServicePtr(v *EndpointServiceArgs) EndpointServicePtrInput {
- return (*endpointServicePtrType)(v)
-}
+type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArray []FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsInput
-func (*endpointServicePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**EndpointService)(nil)).Elem()
+func (FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyIntrusionDetectionBypassTrafficSpecifications)(nil)).Elem()
}
-func (i *endpointServicePtrType) ToEndpointServicePtrOutput() EndpointServicePtrOutput {
- return i.ToEndpointServicePtrOutputWithContext(context.Background())
+func (i FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArray) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput {
+ return i.ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutputWithContext(context.Background())
}
-func (i *endpointServicePtrType) ToEndpointServicePtrOutputWithContext(ctx context.Context) EndpointServicePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(EndpointServicePtrOutput)
+func (i FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArray) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput)
}
-// Identifies the service being brought into the virtual network.
-type EndpointServiceOutput struct{ *pulumi.OutputState }
+// Intrusion detection bypass traffic specification.
+type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput struct{ *pulumi.OutputState }
-func (EndpointServiceOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*EndpointService)(nil)).Elem()
+func (FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyIntrusionDetectionBypassTrafficSpecifications)(nil)).Elem()
}
-func (o EndpointServiceOutput) ToEndpointServiceOutput() EndpointServiceOutput {
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput {
return o
}
-func (o EndpointServiceOutput) ToEndpointServiceOutputWithContext(ctx context.Context) EndpointServiceOutput {
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput {
return o
}
-func (o EndpointServiceOutput) ToEndpointServicePtrOutput() EndpointServicePtrOutput {
- return o.ToEndpointServicePtrOutputWithContext(context.Background())
-}
-
-func (o EndpointServiceOutput) ToEndpointServicePtrOutputWithContext(ctx context.Context) EndpointServicePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v EndpointService) *EndpointService {
- return &v
- }).(EndpointServicePtrOutput)
+// Description of the bypass traffic rule.
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// A unique identifier of the service being referenced by the interface endpoint.
-func (o EndpointServiceOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EndpointService) *string { return v.Id }).(pulumi.StringPtrOutput)
+// List of destination IP addresses or ranges for this rule.
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) DestinationAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) []string {
+ return v.DestinationAddresses
+ }).(pulumi.StringArrayOutput)
}
-type EndpointServicePtrOutput struct{ *pulumi.OutputState }
-
-func (EndpointServicePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**EndpointService)(nil)).Elem()
+// List of destination IpGroups for this rule.
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) DestinationIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) []string {
+ return v.DestinationIpGroups
+ }).(pulumi.StringArrayOutput)
}
-func (o EndpointServicePtrOutput) ToEndpointServicePtrOutput() EndpointServicePtrOutput {
- return o
+// List of destination ports or ranges.
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) []string {
+ return v.DestinationPorts
+ }).(pulumi.StringArrayOutput)
}
-func (o EndpointServicePtrOutput) ToEndpointServicePtrOutputWithContext(ctx context.Context) EndpointServicePtrOutput {
- return o
+// Name of the bypass traffic rule.
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o EndpointServicePtrOutput) Elem() EndpointServiceOutput {
- return o.ApplyT(func(v *EndpointService) EndpointService {
- if v != nil {
- return *v
- }
- var ret EndpointService
- return ret
- }).(EndpointServiceOutput)
+// The rule bypass protocol.
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) Protocol() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) *string { return v.Protocol }).(pulumi.StringPtrOutput)
}
-// A unique identifier of the service being referenced by the interface endpoint.
-func (o EndpointServicePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *EndpointService) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+// List of source IP addresses or ranges for this rule.
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) SourceAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
}
-// Identifies the service being brought into the virtual network.
-type EndpointServiceResponse struct {
- // A unique identifier of the service being referenced by the interface endpoint.
- Id *string `pulumi:"id"`
+// List of source IpGroups for this rule.
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) SourceIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
}
-// Identifies the service being brought into the virtual network.
-type EndpointServiceResponseOutput struct{ *pulumi.OutputState }
+type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput struct{ *pulumi.OutputState }
-func (EndpointServiceResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*EndpointServiceResponse)(nil)).Elem()
+func (FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyIntrusionDetectionBypassTrafficSpecifications)(nil)).Elem()
}
-func (o EndpointServiceResponseOutput) ToEndpointServiceResponseOutput() EndpointServiceResponseOutput {
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput {
return o
}
-func (o EndpointServiceResponseOutput) ToEndpointServiceResponseOutputWithContext(ctx context.Context) EndpointServiceResponseOutput {
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput {
return o
}
-// A unique identifier of the service being referenced by the interface endpoint.
-func (o EndpointServiceResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v EndpointServiceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput) Index(i pulumi.IntInput) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyIntrusionDetectionBypassTrafficSpecifications {
+ return vs[0].([]FirewallPolicyIntrusionDetectionBypassTrafficSpecifications)[vs[1].(int)]
+ }).(FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput)
}
-type EndpointServiceResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (EndpointServiceResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**EndpointServiceResponse)(nil)).Elem()
+// Intrusion detection bypass traffic specification.
+type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse struct {
+ // Description of the bypass traffic rule.
+ Description *string `pulumi:"description"`
+ // List of destination IP addresses or ranges for this rule.
+ DestinationAddresses []string `pulumi:"destinationAddresses"`
+ // List of destination IpGroups for this rule.
+ DestinationIpGroups []string `pulumi:"destinationIpGroups"`
+ // List of destination ports or ranges.
+ DestinationPorts []string `pulumi:"destinationPorts"`
+ // Name of the bypass traffic rule.
+ Name *string `pulumi:"name"`
+ // The rule bypass protocol.
+ Protocol *string `pulumi:"protocol"`
+ // List of source IP addresses or ranges for this rule.
+ SourceAddresses []string `pulumi:"sourceAddresses"`
+ // List of source IpGroups for this rule.
+ SourceIpGroups []string `pulumi:"sourceIpGroups"`
}
-func (o EndpointServiceResponsePtrOutput) ToEndpointServiceResponsePtrOutput() EndpointServiceResponsePtrOutput {
- return o
+// Intrusion detection bypass traffic specification.
+type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse)(nil)).Elem()
}
-func (o EndpointServiceResponsePtrOutput) ToEndpointServiceResponsePtrOutputWithContext(ctx context.Context) EndpointServiceResponsePtrOutput {
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput {
return o
}
-func (o EndpointServiceResponsePtrOutput) Elem() EndpointServiceResponseOutput {
- return o.ApplyT(func(v *EndpointServiceResponse) EndpointServiceResponse {
- if v != nil {
- return *v
- }
- var ret EndpointServiceResponse
- return ret
- }).(EndpointServiceResponseOutput)
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput {
+ return o
}
-// A unique identifier of the service being referenced by the interface endpoint.
-func (o EndpointServiceResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *EndpointServiceResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
+// Description of the bypass traffic rule.
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse) *string {
+ return v.Description
}).(pulumi.StringPtrOutput)
}
-// Adds exception to allow a request when the condition is satisfied.
-type ExceptionEntry struct {
- // The managed rule sets that are associated with the exception.
- ExceptionManagedRuleSets []ExclusionManagedRuleSet `pulumi:"exceptionManagedRuleSets"`
- // The variable on which we evaluate the exception condition
- MatchVariable string `pulumi:"matchVariable"`
- // When the matchVariable points to a key-value pair (e.g, RequestHeader), this identifies the key.
- Selector *string `pulumi:"selector"`
- // When the matchVariable points to a key-value pair (e.g, RequestHeader), this operates on the selector
- SelectorMatchOperator *string `pulumi:"selectorMatchOperator"`
- // Operates on the allowed values for the matchVariable
- ValueMatchOperator string `pulumi:"valueMatchOperator"`
- // Allowed values for the matchVariable
- Values []string `pulumi:"values"`
+// List of destination IP addresses or ranges for this rule.
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) DestinationAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse) []string {
+ return v.DestinationAddresses
+ }).(pulumi.StringArrayOutput)
}
-// ExceptionEntryInput is an input type that accepts ExceptionEntryArgs and ExceptionEntryOutput values.
-// You can construct a concrete instance of `ExceptionEntryInput` via:
-//
-// ExceptionEntryArgs{...}
-type ExceptionEntryInput interface {
- pulumi.Input
-
- ToExceptionEntryOutput() ExceptionEntryOutput
- ToExceptionEntryOutputWithContext(context.Context) ExceptionEntryOutput
+// List of destination IpGroups for this rule.
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) DestinationIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse) []string {
+ return v.DestinationIpGroups
+ }).(pulumi.StringArrayOutput)
}
-// Adds exception to allow a request when the condition is satisfied.
-type ExceptionEntryArgs struct {
- // The managed rule sets that are associated with the exception.
- ExceptionManagedRuleSets ExclusionManagedRuleSetArrayInput `pulumi:"exceptionManagedRuleSets"`
- // The variable on which we evaluate the exception condition
- MatchVariable pulumi.StringInput `pulumi:"matchVariable"`
- // When the matchVariable points to a key-value pair (e.g, RequestHeader), this identifies the key.
- Selector pulumi.StringPtrInput `pulumi:"selector"`
- // When the matchVariable points to a key-value pair (e.g, RequestHeader), this operates on the selector
- SelectorMatchOperator pulumi.StringPtrInput `pulumi:"selectorMatchOperator"`
- // Operates on the allowed values for the matchVariable
- ValueMatchOperator pulumi.StringInput `pulumi:"valueMatchOperator"`
- // Allowed values for the matchVariable
- Values pulumi.StringArrayInput `pulumi:"values"`
+// List of destination ports or ranges.
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse) []string {
+ return v.DestinationPorts
+ }).(pulumi.StringArrayOutput)
}
-func (ExceptionEntryArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExceptionEntry)(nil)).Elem()
+// Name of the bypass traffic rule.
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (i ExceptionEntryArgs) ToExceptionEntryOutput() ExceptionEntryOutput {
- return i.ToExceptionEntryOutputWithContext(context.Background())
+// The rule bypass protocol.
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) Protocol() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput)
}
-func (i ExceptionEntryArgs) ToExceptionEntryOutputWithContext(ctx context.Context) ExceptionEntryOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExceptionEntryOutput)
+// List of source IP addresses or ranges for this rule.
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) SourceAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse) []string {
+ return v.SourceAddresses
+ }).(pulumi.StringArrayOutput)
}
-// ExceptionEntryArrayInput is an input type that accepts ExceptionEntryArray and ExceptionEntryArrayOutput values.
-// You can construct a concrete instance of `ExceptionEntryArrayInput` via:
-//
-// ExceptionEntryArray{ ExceptionEntryArgs{...} }
-type ExceptionEntryArrayInput interface {
- pulumi.Input
-
- ToExceptionEntryArrayOutput() ExceptionEntryArrayOutput
- ToExceptionEntryArrayOutputWithContext(context.Context) ExceptionEntryArrayOutput
+// List of source IpGroups for this rule.
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) SourceIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse) []string {
+ return v.SourceIpGroups
+ }).(pulumi.StringArrayOutput)
}
-type ExceptionEntryArray []ExceptionEntryInput
+type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput struct{ *pulumi.OutputState }
-func (ExceptionEntryArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExceptionEntry)(nil)).Elem()
+func (FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse)(nil)).Elem()
}
-func (i ExceptionEntryArray) ToExceptionEntryArrayOutput() ExceptionEntryArrayOutput {
- return i.ToExceptionEntryArrayOutputWithContext(context.Background())
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput {
+ return o
}
-func (i ExceptionEntryArray) ToExceptionEntryArrayOutputWithContext(ctx context.Context) ExceptionEntryArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExceptionEntryArrayOutput)
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput {
+ return o
}
-// Adds exception to allow a request when the condition is satisfied.
-type ExceptionEntryOutput struct{ *pulumi.OutputState }
-
-func (ExceptionEntryOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExceptionEntry)(nil)).Elem()
+func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse {
+ return vs[0].([]FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse)[vs[1].(int)]
+ }).(FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput)
}
-func (o ExceptionEntryOutput) ToExceptionEntryOutput() ExceptionEntryOutput {
- return o
+// The operation for configuring intrusion detection.
+type FirewallPolicyIntrusionDetectionConfiguration struct {
+ // List of rules for traffic to bypass.
+ BypassTrafficSettings []FirewallPolicyIntrusionDetectionBypassTrafficSpecifications `pulumi:"bypassTrafficSettings"`
+ // IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property
+ PrivateRanges []string `pulumi:"privateRanges"`
+ // List of specific signatures states.
+ SignatureOverrides []FirewallPolicyIntrusionDetectionSignatureSpecification `pulumi:"signatureOverrides"`
}
-func (o ExceptionEntryOutput) ToExceptionEntryOutputWithContext(ctx context.Context) ExceptionEntryOutput {
- return o
+// FirewallPolicyIntrusionDetectionConfigurationInput is an input type that accepts FirewallPolicyIntrusionDetectionConfigurationArgs and FirewallPolicyIntrusionDetectionConfigurationOutput values.
+// You can construct a concrete instance of `FirewallPolicyIntrusionDetectionConfigurationInput` via:
+//
+// FirewallPolicyIntrusionDetectionConfigurationArgs{...}
+type FirewallPolicyIntrusionDetectionConfigurationInput interface {
+ pulumi.Input
+
+ ToFirewallPolicyIntrusionDetectionConfigurationOutput() FirewallPolicyIntrusionDetectionConfigurationOutput
+ ToFirewallPolicyIntrusionDetectionConfigurationOutputWithContext(context.Context) FirewallPolicyIntrusionDetectionConfigurationOutput
}
-// The managed rule sets that are associated with the exception.
-func (o ExceptionEntryOutput) ExceptionManagedRuleSets() ExclusionManagedRuleSetArrayOutput {
- return o.ApplyT(func(v ExceptionEntry) []ExclusionManagedRuleSet { return v.ExceptionManagedRuleSets }).(ExclusionManagedRuleSetArrayOutput)
+// The operation for configuring intrusion detection.
+type FirewallPolicyIntrusionDetectionConfigurationArgs struct {
+ // List of rules for traffic to bypass.
+ BypassTrafficSettings FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayInput `pulumi:"bypassTrafficSettings"`
+ // IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property
+ PrivateRanges pulumi.StringArrayInput `pulumi:"privateRanges"`
+ // List of specific signatures states.
+ SignatureOverrides FirewallPolicyIntrusionDetectionSignatureSpecificationArrayInput `pulumi:"signatureOverrides"`
}
-// The variable on which we evaluate the exception condition
-func (o ExceptionEntryOutput) MatchVariable() pulumi.StringOutput {
- return o.ApplyT(func(v ExceptionEntry) string { return v.MatchVariable }).(pulumi.StringOutput)
+func (FirewallPolicyIntrusionDetectionConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyIntrusionDetectionConfiguration)(nil)).Elem()
}
-// When the matchVariable points to a key-value pair (e.g, RequestHeader), this identifies the key.
-func (o ExceptionEntryOutput) Selector() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExceptionEntry) *string { return v.Selector }).(pulumi.StringPtrOutput)
+func (i FirewallPolicyIntrusionDetectionConfigurationArgs) ToFirewallPolicyIntrusionDetectionConfigurationOutput() FirewallPolicyIntrusionDetectionConfigurationOutput {
+ return i.ToFirewallPolicyIntrusionDetectionConfigurationOutputWithContext(context.Background())
}
-// When the matchVariable points to a key-value pair (e.g, RequestHeader), this operates on the selector
-func (o ExceptionEntryOutput) SelectorMatchOperator() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExceptionEntry) *string { return v.SelectorMatchOperator }).(pulumi.StringPtrOutput)
+func (i FirewallPolicyIntrusionDetectionConfigurationArgs) ToFirewallPolicyIntrusionDetectionConfigurationOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionConfigurationOutput)
}
-// Operates on the allowed values for the matchVariable
-func (o ExceptionEntryOutput) ValueMatchOperator() pulumi.StringOutput {
- return o.ApplyT(func(v ExceptionEntry) string { return v.ValueMatchOperator }).(pulumi.StringOutput)
+func (i FirewallPolicyIntrusionDetectionConfigurationArgs) ToFirewallPolicyIntrusionDetectionConfigurationPtrOutput() FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
+ return i.ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(context.Background())
}
-// Allowed values for the matchVariable
-func (o ExceptionEntryOutput) Values() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ExceptionEntry) []string { return v.Values }).(pulumi.StringArrayOutput)
+func (i FirewallPolicyIntrusionDetectionConfigurationArgs) ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionConfigurationOutput).ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(ctx)
}
-type ExceptionEntryArrayOutput struct{ *pulumi.OutputState }
+// FirewallPolicyIntrusionDetectionConfigurationPtrInput is an input type that accepts FirewallPolicyIntrusionDetectionConfigurationArgs, FirewallPolicyIntrusionDetectionConfigurationPtr and FirewallPolicyIntrusionDetectionConfigurationPtrOutput values.
+// You can construct a concrete instance of `FirewallPolicyIntrusionDetectionConfigurationPtrInput` via:
+//
+// FirewallPolicyIntrusionDetectionConfigurationArgs{...}
+//
+// or:
+//
+// nil
+type FirewallPolicyIntrusionDetectionConfigurationPtrInput interface {
+ pulumi.Input
-func (ExceptionEntryArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExceptionEntry)(nil)).Elem()
+ ToFirewallPolicyIntrusionDetectionConfigurationPtrOutput() FirewallPolicyIntrusionDetectionConfigurationPtrOutput
+ ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(context.Context) FirewallPolicyIntrusionDetectionConfigurationPtrOutput
}
-func (o ExceptionEntryArrayOutput) ToExceptionEntryArrayOutput() ExceptionEntryArrayOutput {
- return o
+type firewallPolicyIntrusionDetectionConfigurationPtrType FirewallPolicyIntrusionDetectionConfigurationArgs
+
+func FirewallPolicyIntrusionDetectionConfigurationPtr(v *FirewallPolicyIntrusionDetectionConfigurationArgs) FirewallPolicyIntrusionDetectionConfigurationPtrInput {
+ return (*firewallPolicyIntrusionDetectionConfigurationPtrType)(v)
}
-func (o ExceptionEntryArrayOutput) ToExceptionEntryArrayOutputWithContext(ctx context.Context) ExceptionEntryArrayOutput {
- return o
+func (*firewallPolicyIntrusionDetectionConfigurationPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyIntrusionDetectionConfiguration)(nil)).Elem()
}
-func (o ExceptionEntryArrayOutput) Index(i pulumi.IntInput) ExceptionEntryOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExceptionEntry {
- return vs[0].([]ExceptionEntry)[vs[1].(int)]
- }).(ExceptionEntryOutput)
+func (i *firewallPolicyIntrusionDetectionConfigurationPtrType) ToFirewallPolicyIntrusionDetectionConfigurationPtrOutput() FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
+ return i.ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(context.Background())
}
-// Adds exception to allow a request when the condition is satisfied.
-type ExceptionEntryResponse struct {
- // The managed rule sets that are associated with the exception.
- ExceptionManagedRuleSets []ExclusionManagedRuleSetResponse `pulumi:"exceptionManagedRuleSets"`
- // The variable on which we evaluate the exception condition
- MatchVariable string `pulumi:"matchVariable"`
- // When the matchVariable points to a key-value pair (e.g, RequestHeader), this identifies the key.
- Selector *string `pulumi:"selector"`
- // When the matchVariable points to a key-value pair (e.g, RequestHeader), this operates on the selector
- SelectorMatchOperator *string `pulumi:"selectorMatchOperator"`
- // Operates on the allowed values for the matchVariable
- ValueMatchOperator string `pulumi:"valueMatchOperator"`
- // Allowed values for the matchVariable
- Values []string `pulumi:"values"`
+func (i *firewallPolicyIntrusionDetectionConfigurationPtrType) ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionConfigurationPtrOutput)
}
-// Adds exception to allow a request when the condition is satisfied.
-type ExceptionEntryResponseOutput struct{ *pulumi.OutputState }
+// The operation for configuring intrusion detection.
+type FirewallPolicyIntrusionDetectionConfigurationOutput struct{ *pulumi.OutputState }
-func (ExceptionEntryResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExceptionEntryResponse)(nil)).Elem()
+func (FirewallPolicyIntrusionDetectionConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyIntrusionDetectionConfiguration)(nil)).Elem()
}
-func (o ExceptionEntryResponseOutput) ToExceptionEntryResponseOutput() ExceptionEntryResponseOutput {
+func (o FirewallPolicyIntrusionDetectionConfigurationOutput) ToFirewallPolicyIntrusionDetectionConfigurationOutput() FirewallPolicyIntrusionDetectionConfigurationOutput {
return o
}
-func (o ExceptionEntryResponseOutput) ToExceptionEntryResponseOutputWithContext(ctx context.Context) ExceptionEntryResponseOutput {
+func (o FirewallPolicyIntrusionDetectionConfigurationOutput) ToFirewallPolicyIntrusionDetectionConfigurationOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionConfigurationOutput {
return o
}
-// The managed rule sets that are associated with the exception.
-func (o ExceptionEntryResponseOutput) ExceptionManagedRuleSets() ExclusionManagedRuleSetResponseArrayOutput {
- return o.ApplyT(func(v ExceptionEntryResponse) []ExclusionManagedRuleSetResponse { return v.ExceptionManagedRuleSets }).(ExclusionManagedRuleSetResponseArrayOutput)
-}
-
-// The variable on which we evaluate the exception condition
-func (o ExceptionEntryResponseOutput) MatchVariable() pulumi.StringOutput {
- return o.ApplyT(func(v ExceptionEntryResponse) string { return v.MatchVariable }).(pulumi.StringOutput)
+func (o FirewallPolicyIntrusionDetectionConfigurationOutput) ToFirewallPolicyIntrusionDetectionConfigurationPtrOutput() FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
+ return o.ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(context.Background())
}
-// When the matchVariable points to a key-value pair (e.g, RequestHeader), this identifies the key.
-func (o ExceptionEntryResponseOutput) Selector() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExceptionEntryResponse) *string { return v.Selector }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyIntrusionDetectionConfigurationOutput) ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyIntrusionDetectionConfiguration) *FirewallPolicyIntrusionDetectionConfiguration {
+ return &v
+ }).(FirewallPolicyIntrusionDetectionConfigurationPtrOutput)
}
-// When the matchVariable points to a key-value pair (e.g, RequestHeader), this operates on the selector
-func (o ExceptionEntryResponseOutput) SelectorMatchOperator() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExceptionEntryResponse) *string { return v.SelectorMatchOperator }).(pulumi.StringPtrOutput)
+// List of rules for traffic to bypass.
+func (o FirewallPolicyIntrusionDetectionConfigurationOutput) BypassTrafficSettings() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionConfiguration) []FirewallPolicyIntrusionDetectionBypassTrafficSpecifications {
+ return v.BypassTrafficSettings
+ }).(FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput)
}
-// Operates on the allowed values for the matchVariable
-func (o ExceptionEntryResponseOutput) ValueMatchOperator() pulumi.StringOutput {
- return o.ApplyT(func(v ExceptionEntryResponse) string { return v.ValueMatchOperator }).(pulumi.StringOutput)
+// IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property
+func (o FirewallPolicyIntrusionDetectionConfigurationOutput) PrivateRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionConfiguration) []string { return v.PrivateRanges }).(pulumi.StringArrayOutput)
}
-// Allowed values for the matchVariable
-func (o ExceptionEntryResponseOutput) Values() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ExceptionEntryResponse) []string { return v.Values }).(pulumi.StringArrayOutput)
+// List of specific signatures states.
+func (o FirewallPolicyIntrusionDetectionConfigurationOutput) SignatureOverrides() FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionConfiguration) []FirewallPolicyIntrusionDetectionSignatureSpecification {
+ return v.SignatureOverrides
+ }).(FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput)
}
-type ExceptionEntryResponseArrayOutput struct{ *pulumi.OutputState }
+type FirewallPolicyIntrusionDetectionConfigurationPtrOutput struct{ *pulumi.OutputState }
-func (ExceptionEntryResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExceptionEntryResponse)(nil)).Elem()
+func (FirewallPolicyIntrusionDetectionConfigurationPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyIntrusionDetectionConfiguration)(nil)).Elem()
}
-func (o ExceptionEntryResponseArrayOutput) ToExceptionEntryResponseArrayOutput() ExceptionEntryResponseArrayOutput {
+func (o FirewallPolicyIntrusionDetectionConfigurationPtrOutput) ToFirewallPolicyIntrusionDetectionConfigurationPtrOutput() FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
return o
}
-func (o ExceptionEntryResponseArrayOutput) ToExceptionEntryResponseArrayOutputWithContext(ctx context.Context) ExceptionEntryResponseArrayOutput {
+func (o FirewallPolicyIntrusionDetectionConfigurationPtrOutput) ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
return o
}
-func (o ExceptionEntryResponseArrayOutput) Index(i pulumi.IntInput) ExceptionEntryResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExceptionEntryResponse {
- return vs[0].([]ExceptionEntryResponse)[vs[1].(int)]
- }).(ExceptionEntryResponseOutput)
+func (o FirewallPolicyIntrusionDetectionConfigurationPtrOutput) Elem() FirewallPolicyIntrusionDetectionConfigurationOutput {
+ return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionConfiguration) FirewallPolicyIntrusionDetectionConfiguration {
+ if v != nil {
+ return *v
+ }
+ var ret FirewallPolicyIntrusionDetectionConfiguration
+ return ret
+ }).(FirewallPolicyIntrusionDetectionConfigurationOutput)
}
-// Defines a managed rule to use for exclusion.
-type ExclusionManagedRule struct {
- // Identifier for the managed rule.
- RuleId string `pulumi:"ruleId"`
+// List of rules for traffic to bypass.
+func (o FirewallPolicyIntrusionDetectionConfigurationPtrOutput) BypassTrafficSettings() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput {
+ return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionConfiguration) []FirewallPolicyIntrusionDetectionBypassTrafficSpecifications {
+ if v == nil {
+ return nil
+ }
+ return v.BypassTrafficSettings
+ }).(FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput)
}
-// ExclusionManagedRuleInput is an input type that accepts ExclusionManagedRuleArgs and ExclusionManagedRuleOutput values.
-// You can construct a concrete instance of `ExclusionManagedRuleInput` via:
-//
-// ExclusionManagedRuleArgs{...}
-type ExclusionManagedRuleInput interface {
- pulumi.Input
-
- ToExclusionManagedRuleOutput() ExclusionManagedRuleOutput
- ToExclusionManagedRuleOutputWithContext(context.Context) ExclusionManagedRuleOutput
+// IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property
+func (o FirewallPolicyIntrusionDetectionConfigurationPtrOutput) PrivateRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionConfiguration) []string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateRanges
+ }).(pulumi.StringArrayOutput)
}
-// Defines a managed rule to use for exclusion.
-type ExclusionManagedRuleArgs struct {
- // Identifier for the managed rule.
- RuleId pulumi.StringInput `pulumi:"ruleId"`
+// List of specific signatures states.
+func (o FirewallPolicyIntrusionDetectionConfigurationPtrOutput) SignatureOverrides() FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput {
+ return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionConfiguration) []FirewallPolicyIntrusionDetectionSignatureSpecification {
+ if v == nil {
+ return nil
+ }
+ return v.SignatureOverrides
+ }).(FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput)
}
-func (ExclusionManagedRuleArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExclusionManagedRule)(nil)).Elem()
+// The operation for configuring intrusion detection.
+type FirewallPolicyIntrusionDetectionConfigurationResponse struct {
+ // List of rules for traffic to bypass.
+ BypassTrafficSettings []FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse `pulumi:"bypassTrafficSettings"`
+ // IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property
+ PrivateRanges []string `pulumi:"privateRanges"`
+ // List of specific signatures states.
+ SignatureOverrides []FirewallPolicyIntrusionDetectionSignatureSpecificationResponse `pulumi:"signatureOverrides"`
}
-func (i ExclusionManagedRuleArgs) ToExclusionManagedRuleOutput() ExclusionManagedRuleOutput {
- return i.ToExclusionManagedRuleOutputWithContext(context.Background())
-}
+// The operation for configuring intrusion detection.
+type FirewallPolicyIntrusionDetectionConfigurationResponseOutput struct{ *pulumi.OutputState }
-func (i ExclusionManagedRuleArgs) ToExclusionManagedRuleOutputWithContext(ctx context.Context) ExclusionManagedRuleOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExclusionManagedRuleOutput)
+func (FirewallPolicyIntrusionDetectionConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyIntrusionDetectionConfigurationResponse)(nil)).Elem()
}
-// ExclusionManagedRuleArrayInput is an input type that accepts ExclusionManagedRuleArray and ExclusionManagedRuleArrayOutput values.
-// You can construct a concrete instance of `ExclusionManagedRuleArrayInput` via:
-//
-// ExclusionManagedRuleArray{ ExclusionManagedRuleArgs{...} }
-type ExclusionManagedRuleArrayInput interface {
- pulumi.Input
-
- ToExclusionManagedRuleArrayOutput() ExclusionManagedRuleArrayOutput
- ToExclusionManagedRuleArrayOutputWithContext(context.Context) ExclusionManagedRuleArrayOutput
+func (o FirewallPolicyIntrusionDetectionConfigurationResponseOutput) ToFirewallPolicyIntrusionDetectionConfigurationResponseOutput() FirewallPolicyIntrusionDetectionConfigurationResponseOutput {
+ return o
}
-type ExclusionManagedRuleArray []ExclusionManagedRuleInput
+func (o FirewallPolicyIntrusionDetectionConfigurationResponseOutput) ToFirewallPolicyIntrusionDetectionConfigurationResponseOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionConfigurationResponseOutput {
+ return o
+}
-func (ExclusionManagedRuleArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExclusionManagedRule)(nil)).Elem()
+// List of rules for traffic to bypass.
+func (o FirewallPolicyIntrusionDetectionConfigurationResponseOutput) BypassTrafficSettings() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionConfigurationResponse) []FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse {
+ return v.BypassTrafficSettings
+ }).(FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput)
}
-func (i ExclusionManagedRuleArray) ToExclusionManagedRuleArrayOutput() ExclusionManagedRuleArrayOutput {
- return i.ToExclusionManagedRuleArrayOutputWithContext(context.Background())
+// IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property
+func (o FirewallPolicyIntrusionDetectionConfigurationResponseOutput) PrivateRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionConfigurationResponse) []string { return v.PrivateRanges }).(pulumi.StringArrayOutput)
}
-func (i ExclusionManagedRuleArray) ToExclusionManagedRuleArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExclusionManagedRuleArrayOutput)
+// List of specific signatures states.
+func (o FirewallPolicyIntrusionDetectionConfigurationResponseOutput) SignatureOverrides() FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionConfigurationResponse) []FirewallPolicyIntrusionDetectionSignatureSpecificationResponse {
+ return v.SignatureOverrides
+ }).(FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput)
}
-// Defines a managed rule to use for exclusion.
-type ExclusionManagedRuleOutput struct{ *pulumi.OutputState }
+type FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
-func (ExclusionManagedRuleOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExclusionManagedRule)(nil)).Elem()
+func (FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyIntrusionDetectionConfigurationResponse)(nil)).Elem()
}
-func (o ExclusionManagedRuleOutput) ToExclusionManagedRuleOutput() ExclusionManagedRuleOutput {
+func (o FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput) ToFirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput() FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput {
return o
}
-func (o ExclusionManagedRuleOutput) ToExclusionManagedRuleOutputWithContext(ctx context.Context) ExclusionManagedRuleOutput {
+func (o FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput) ToFirewallPolicyIntrusionDetectionConfigurationResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput {
return o
}
-// Identifier for the managed rule.
-func (o ExclusionManagedRuleOutput) RuleId() pulumi.StringOutput {
- return o.ApplyT(func(v ExclusionManagedRule) string { return v.RuleId }).(pulumi.StringOutput)
-}
-
-type ExclusionManagedRuleArrayOutput struct{ *pulumi.OutputState }
-
-func (ExclusionManagedRuleArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExclusionManagedRule)(nil)).Elem()
+func (o FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput) Elem() FirewallPolicyIntrusionDetectionConfigurationResponseOutput {
+ return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionConfigurationResponse) FirewallPolicyIntrusionDetectionConfigurationResponse {
+ if v != nil {
+ return *v
+ }
+ var ret FirewallPolicyIntrusionDetectionConfigurationResponse
+ return ret
+ }).(FirewallPolicyIntrusionDetectionConfigurationResponseOutput)
}
-func (o ExclusionManagedRuleArrayOutput) ToExclusionManagedRuleArrayOutput() ExclusionManagedRuleArrayOutput {
- return o
+// List of rules for traffic to bypass.
+func (o FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput) BypassTrafficSettings() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput {
+ return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionConfigurationResponse) []FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse {
+ if v == nil {
+ return nil
+ }
+ return v.BypassTrafficSettings
+ }).(FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput)
}
-func (o ExclusionManagedRuleArrayOutput) ToExclusionManagedRuleArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleArrayOutput {
- return o
+// IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property
+func (o FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput) PrivateRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionConfigurationResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateRanges
+ }).(pulumi.StringArrayOutput)
}
-func (o ExclusionManagedRuleArrayOutput) Index(i pulumi.IntInput) ExclusionManagedRuleOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExclusionManagedRule {
- return vs[0].([]ExclusionManagedRule)[vs[1].(int)]
- }).(ExclusionManagedRuleOutput)
+// List of specific signatures states.
+func (o FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput) SignatureOverrides() FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput {
+ return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionConfigurationResponse) []FirewallPolicyIntrusionDetectionSignatureSpecificationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.SignatureOverrides
+ }).(FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput)
}
-// Defines a managed rule group to use for exclusion.
-type ExclusionManagedRuleGroup struct {
- // The managed rule group for exclusion.
- RuleGroupName string `pulumi:"ruleGroupName"`
- // List of rules that will be excluded. If none specified, all rules in the group will be excluded.
- Rules []ExclusionManagedRule `pulumi:"rules"`
+// Configuration for intrusion detection mode and rules.
+type FirewallPolicyIntrusionDetectionResponse struct {
+ // Intrusion detection configuration properties.
+ Configuration *FirewallPolicyIntrusionDetectionConfigurationResponse `pulumi:"configuration"`
+ // Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
+ Mode *string `pulumi:"mode"`
+ // IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
+ Profile *string `pulumi:"profile"`
}
-// ExclusionManagedRuleGroupInput is an input type that accepts ExclusionManagedRuleGroupArgs and ExclusionManagedRuleGroupOutput values.
-// You can construct a concrete instance of `ExclusionManagedRuleGroupInput` via:
-//
-// ExclusionManagedRuleGroupArgs{...}
-type ExclusionManagedRuleGroupInput interface {
- pulumi.Input
+// Configuration for intrusion detection mode and rules.
+type FirewallPolicyIntrusionDetectionResponseOutput struct{ *pulumi.OutputState }
- ToExclusionManagedRuleGroupOutput() ExclusionManagedRuleGroupOutput
- ToExclusionManagedRuleGroupOutputWithContext(context.Context) ExclusionManagedRuleGroupOutput
+func (FirewallPolicyIntrusionDetectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyIntrusionDetectionResponse)(nil)).Elem()
}
-// Defines a managed rule group to use for exclusion.
-type ExclusionManagedRuleGroupArgs struct {
- // The managed rule group for exclusion.
- RuleGroupName pulumi.StringInput `pulumi:"ruleGroupName"`
- // List of rules that will be excluded. If none specified, all rules in the group will be excluded.
- Rules ExclusionManagedRuleArrayInput `pulumi:"rules"`
+func (o FirewallPolicyIntrusionDetectionResponseOutput) ToFirewallPolicyIntrusionDetectionResponseOutput() FirewallPolicyIntrusionDetectionResponseOutput {
+ return o
}
-func (ExclusionManagedRuleGroupArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExclusionManagedRuleGroup)(nil)).Elem()
+func (o FirewallPolicyIntrusionDetectionResponseOutput) ToFirewallPolicyIntrusionDetectionResponseOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionResponseOutput {
+ return o
}
-func (i ExclusionManagedRuleGroupArgs) ToExclusionManagedRuleGroupOutput() ExclusionManagedRuleGroupOutput {
- return i.ToExclusionManagedRuleGroupOutputWithContext(context.Background())
+// Intrusion detection configuration properties.
+func (o FirewallPolicyIntrusionDetectionResponseOutput) Configuration() FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionResponse) *FirewallPolicyIntrusionDetectionConfigurationResponse {
+ return v.Configuration
+ }).(FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput)
}
-func (i ExclusionManagedRuleGroupArgs) ToExclusionManagedRuleGroupOutputWithContext(ctx context.Context) ExclusionManagedRuleGroupOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExclusionManagedRuleGroupOutput)
+// Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
+func (o FirewallPolicyIntrusionDetectionResponseOutput) Mode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionResponse) *string { return v.Mode }).(pulumi.StringPtrOutput)
}
-// ExclusionManagedRuleGroupArrayInput is an input type that accepts ExclusionManagedRuleGroupArray and ExclusionManagedRuleGroupArrayOutput values.
-// You can construct a concrete instance of `ExclusionManagedRuleGroupArrayInput` via:
-//
-// ExclusionManagedRuleGroupArray{ ExclusionManagedRuleGroupArgs{...} }
-type ExclusionManagedRuleGroupArrayInput interface {
- pulumi.Input
-
- ToExclusionManagedRuleGroupArrayOutput() ExclusionManagedRuleGroupArrayOutput
- ToExclusionManagedRuleGroupArrayOutputWithContext(context.Context) ExclusionManagedRuleGroupArrayOutput
+// IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
+func (o FirewallPolicyIntrusionDetectionResponseOutput) Profile() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionResponse) *string { return v.Profile }).(pulumi.StringPtrOutput)
}
-type ExclusionManagedRuleGroupArray []ExclusionManagedRuleGroupInput
+type FirewallPolicyIntrusionDetectionResponsePtrOutput struct{ *pulumi.OutputState }
-func (ExclusionManagedRuleGroupArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExclusionManagedRuleGroup)(nil)).Elem()
+func (FirewallPolicyIntrusionDetectionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyIntrusionDetectionResponse)(nil)).Elem()
}
-func (i ExclusionManagedRuleGroupArray) ToExclusionManagedRuleGroupArrayOutput() ExclusionManagedRuleGroupArrayOutput {
- return i.ToExclusionManagedRuleGroupArrayOutputWithContext(context.Background())
+func (o FirewallPolicyIntrusionDetectionResponsePtrOutput) ToFirewallPolicyIntrusionDetectionResponsePtrOutput() FirewallPolicyIntrusionDetectionResponsePtrOutput {
+ return o
}
-func (i ExclusionManagedRuleGroupArray) ToExclusionManagedRuleGroupArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleGroupArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExclusionManagedRuleGroupArrayOutput)
+func (o FirewallPolicyIntrusionDetectionResponsePtrOutput) ToFirewallPolicyIntrusionDetectionResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionResponsePtrOutput {
+ return o
}
-// Defines a managed rule group to use for exclusion.
-type ExclusionManagedRuleGroupOutput struct{ *pulumi.OutputState }
-
-func (ExclusionManagedRuleGroupOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExclusionManagedRuleGroup)(nil)).Elem()
+func (o FirewallPolicyIntrusionDetectionResponsePtrOutput) Elem() FirewallPolicyIntrusionDetectionResponseOutput {
+ return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionResponse) FirewallPolicyIntrusionDetectionResponse {
+ if v != nil {
+ return *v
+ }
+ var ret FirewallPolicyIntrusionDetectionResponse
+ return ret
+ }).(FirewallPolicyIntrusionDetectionResponseOutput)
}
-func (o ExclusionManagedRuleGroupOutput) ToExclusionManagedRuleGroupOutput() ExclusionManagedRuleGroupOutput {
- return o
+// Intrusion detection configuration properties.
+func (o FirewallPolicyIntrusionDetectionResponsePtrOutput) Configuration() FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionResponse) *FirewallPolicyIntrusionDetectionConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Configuration
+ }).(FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput)
}
-func (o ExclusionManagedRuleGroupOutput) ToExclusionManagedRuleGroupOutputWithContext(ctx context.Context) ExclusionManagedRuleGroupOutput {
- return o
+// Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
+func (o FirewallPolicyIntrusionDetectionResponsePtrOutput) Mode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Mode
+ }).(pulumi.StringPtrOutput)
}
-// The managed rule group for exclusion.
-func (o ExclusionManagedRuleGroupOutput) RuleGroupName() pulumi.StringOutput {
- return o.ApplyT(func(v ExclusionManagedRuleGroup) string { return v.RuleGroupName }).(pulumi.StringOutput)
+// IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
+func (o FirewallPolicyIntrusionDetectionResponsePtrOutput) Profile() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Profile
+ }).(pulumi.StringPtrOutput)
}
-// List of rules that will be excluded. If none specified, all rules in the group will be excluded.
-func (o ExclusionManagedRuleGroupOutput) Rules() ExclusionManagedRuleArrayOutput {
- return o.ApplyT(func(v ExclusionManagedRuleGroup) []ExclusionManagedRule { return v.Rules }).(ExclusionManagedRuleArrayOutput)
+// Intrusion detection signatures specification states.
+type FirewallPolicyIntrusionDetectionSignatureSpecification struct {
+ // Signature id.
+ Id *string `pulumi:"id"`
+ // The signature state.
+ Mode *string `pulumi:"mode"`
}
-type ExclusionManagedRuleGroupArrayOutput struct{ *pulumi.OutputState }
+// FirewallPolicyIntrusionDetectionSignatureSpecificationInput is an input type that accepts FirewallPolicyIntrusionDetectionSignatureSpecificationArgs and FirewallPolicyIntrusionDetectionSignatureSpecificationOutput values.
+// You can construct a concrete instance of `FirewallPolicyIntrusionDetectionSignatureSpecificationInput` via:
+//
+// FirewallPolicyIntrusionDetectionSignatureSpecificationArgs{...}
+type FirewallPolicyIntrusionDetectionSignatureSpecificationInput interface {
+ pulumi.Input
-func (ExclusionManagedRuleGroupArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExclusionManagedRuleGroup)(nil)).Elem()
+ ToFirewallPolicyIntrusionDetectionSignatureSpecificationOutput() FirewallPolicyIntrusionDetectionSignatureSpecificationOutput
+ ToFirewallPolicyIntrusionDetectionSignatureSpecificationOutputWithContext(context.Context) FirewallPolicyIntrusionDetectionSignatureSpecificationOutput
}
-func (o ExclusionManagedRuleGroupArrayOutput) ToExclusionManagedRuleGroupArrayOutput() ExclusionManagedRuleGroupArrayOutput {
- return o
+// Intrusion detection signatures specification states.
+type FirewallPolicyIntrusionDetectionSignatureSpecificationArgs struct {
+ // Signature id.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The signature state.
+ Mode pulumi.StringPtrInput `pulumi:"mode"`
}
-func (o ExclusionManagedRuleGroupArrayOutput) ToExclusionManagedRuleGroupArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleGroupArrayOutput {
- return o
+func (FirewallPolicyIntrusionDetectionSignatureSpecificationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyIntrusionDetectionSignatureSpecification)(nil)).Elem()
}
-func (o ExclusionManagedRuleGroupArrayOutput) Index(i pulumi.IntInput) ExclusionManagedRuleGroupOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExclusionManagedRuleGroup {
- return vs[0].([]ExclusionManagedRuleGroup)[vs[1].(int)]
- }).(ExclusionManagedRuleGroupOutput)
+func (i FirewallPolicyIntrusionDetectionSignatureSpecificationArgs) ToFirewallPolicyIntrusionDetectionSignatureSpecificationOutput() FirewallPolicyIntrusionDetectionSignatureSpecificationOutput {
+ return i.ToFirewallPolicyIntrusionDetectionSignatureSpecificationOutputWithContext(context.Background())
}
-// Defines a managed rule group to use for exclusion.
-type ExclusionManagedRuleGroupResponse struct {
- // The managed rule group for exclusion.
- RuleGroupName string `pulumi:"ruleGroupName"`
- // List of rules that will be excluded. If none specified, all rules in the group will be excluded.
- Rules []ExclusionManagedRuleResponse `pulumi:"rules"`
+func (i FirewallPolicyIntrusionDetectionSignatureSpecificationArgs) ToFirewallPolicyIntrusionDetectionSignatureSpecificationOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionSignatureSpecificationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionSignatureSpecificationOutput)
}
-// Defines a managed rule group to use for exclusion.
-type ExclusionManagedRuleGroupResponseOutput struct{ *pulumi.OutputState }
+// FirewallPolicyIntrusionDetectionSignatureSpecificationArrayInput is an input type that accepts FirewallPolicyIntrusionDetectionSignatureSpecificationArray and FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput values.
+// You can construct a concrete instance of `FirewallPolicyIntrusionDetectionSignatureSpecificationArrayInput` via:
+//
+// FirewallPolicyIntrusionDetectionSignatureSpecificationArray{ FirewallPolicyIntrusionDetectionSignatureSpecificationArgs{...} }
+type FirewallPolicyIntrusionDetectionSignatureSpecificationArrayInput interface {
+ pulumi.Input
-func (ExclusionManagedRuleGroupResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExclusionManagedRuleGroupResponse)(nil)).Elem()
+ ToFirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput() FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput
+ ToFirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutputWithContext(context.Context) FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput
}
-func (o ExclusionManagedRuleGroupResponseOutput) ToExclusionManagedRuleGroupResponseOutput() ExclusionManagedRuleGroupResponseOutput {
- return o
-}
+type FirewallPolicyIntrusionDetectionSignatureSpecificationArray []FirewallPolicyIntrusionDetectionSignatureSpecificationInput
-func (o ExclusionManagedRuleGroupResponseOutput) ToExclusionManagedRuleGroupResponseOutputWithContext(ctx context.Context) ExclusionManagedRuleGroupResponseOutput {
- return o
+func (FirewallPolicyIntrusionDetectionSignatureSpecificationArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyIntrusionDetectionSignatureSpecification)(nil)).Elem()
}
-// The managed rule group for exclusion.
-func (o ExclusionManagedRuleGroupResponseOutput) RuleGroupName() pulumi.StringOutput {
- return o.ApplyT(func(v ExclusionManagedRuleGroupResponse) string { return v.RuleGroupName }).(pulumi.StringOutput)
+func (i FirewallPolicyIntrusionDetectionSignatureSpecificationArray) ToFirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput() FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput {
+ return i.ToFirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutputWithContext(context.Background())
}
-// List of rules that will be excluded. If none specified, all rules in the group will be excluded.
-func (o ExclusionManagedRuleGroupResponseOutput) Rules() ExclusionManagedRuleResponseArrayOutput {
- return o.ApplyT(func(v ExclusionManagedRuleGroupResponse) []ExclusionManagedRuleResponse { return v.Rules }).(ExclusionManagedRuleResponseArrayOutput)
+func (i FirewallPolicyIntrusionDetectionSignatureSpecificationArray) ToFirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput)
}
-type ExclusionManagedRuleGroupResponseArrayOutput struct{ *pulumi.OutputState }
+// Intrusion detection signatures specification states.
+type FirewallPolicyIntrusionDetectionSignatureSpecificationOutput struct{ *pulumi.OutputState }
-func (ExclusionManagedRuleGroupResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExclusionManagedRuleGroupResponse)(nil)).Elem()
+func (FirewallPolicyIntrusionDetectionSignatureSpecificationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyIntrusionDetectionSignatureSpecification)(nil)).Elem()
}
-func (o ExclusionManagedRuleGroupResponseArrayOutput) ToExclusionManagedRuleGroupResponseArrayOutput() ExclusionManagedRuleGroupResponseArrayOutput {
+func (o FirewallPolicyIntrusionDetectionSignatureSpecificationOutput) ToFirewallPolicyIntrusionDetectionSignatureSpecificationOutput() FirewallPolicyIntrusionDetectionSignatureSpecificationOutput {
return o
}
-func (o ExclusionManagedRuleGroupResponseArrayOutput) ToExclusionManagedRuleGroupResponseArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleGroupResponseArrayOutput {
+func (o FirewallPolicyIntrusionDetectionSignatureSpecificationOutput) ToFirewallPolicyIntrusionDetectionSignatureSpecificationOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionSignatureSpecificationOutput {
return o
}
-func (o ExclusionManagedRuleGroupResponseArrayOutput) Index(i pulumi.IntInput) ExclusionManagedRuleGroupResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExclusionManagedRuleGroupResponse {
- return vs[0].([]ExclusionManagedRuleGroupResponse)[vs[1].(int)]
- }).(ExclusionManagedRuleGroupResponseOutput)
+// Signature id.
+func (o FirewallPolicyIntrusionDetectionSignatureSpecificationOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionSignatureSpecification) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Defines a managed rule to use for exclusion.
-type ExclusionManagedRuleResponse struct {
- // Identifier for the managed rule.
- RuleId string `pulumi:"ruleId"`
+// The signature state.
+func (o FirewallPolicyIntrusionDetectionSignatureSpecificationOutput) Mode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionSignatureSpecification) *string { return v.Mode }).(pulumi.StringPtrOutput)
}
-// Defines a managed rule to use for exclusion.
-type ExclusionManagedRuleResponseOutput struct{ *pulumi.OutputState }
+type FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput struct{ *pulumi.OutputState }
-func (ExclusionManagedRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExclusionManagedRuleResponse)(nil)).Elem()
+func (FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyIntrusionDetectionSignatureSpecification)(nil)).Elem()
}
-func (o ExclusionManagedRuleResponseOutput) ToExclusionManagedRuleResponseOutput() ExclusionManagedRuleResponseOutput {
+func (o FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput) ToFirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput() FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput {
return o
}
-func (o ExclusionManagedRuleResponseOutput) ToExclusionManagedRuleResponseOutputWithContext(ctx context.Context) ExclusionManagedRuleResponseOutput {
+func (o FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput) ToFirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput {
return o
}
-// Identifier for the managed rule.
-func (o ExclusionManagedRuleResponseOutput) RuleId() pulumi.StringOutput {
- return o.ApplyT(func(v ExclusionManagedRuleResponse) string { return v.RuleId }).(pulumi.StringOutput)
+func (o FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput) Index(i pulumi.IntInput) FirewallPolicyIntrusionDetectionSignatureSpecificationOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyIntrusionDetectionSignatureSpecification {
+ return vs[0].([]FirewallPolicyIntrusionDetectionSignatureSpecification)[vs[1].(int)]
+ }).(FirewallPolicyIntrusionDetectionSignatureSpecificationOutput)
}
-type ExclusionManagedRuleResponseArrayOutput struct{ *pulumi.OutputState }
+// Intrusion detection signatures specification states.
+type FirewallPolicyIntrusionDetectionSignatureSpecificationResponse struct {
+ // Signature id.
+ Id *string `pulumi:"id"`
+ // The signature state.
+ Mode *string `pulumi:"mode"`
+}
-func (ExclusionManagedRuleResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExclusionManagedRuleResponse)(nil)).Elem()
+// Intrusion detection signatures specification states.
+type FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyIntrusionDetectionSignatureSpecificationResponse)(nil)).Elem()
}
-func (o ExclusionManagedRuleResponseArrayOutput) ToExclusionManagedRuleResponseArrayOutput() ExclusionManagedRuleResponseArrayOutput {
+func (o FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput) ToFirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput() FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput {
return o
}
-func (o ExclusionManagedRuleResponseArrayOutput) ToExclusionManagedRuleResponseArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleResponseArrayOutput {
+func (o FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput) ToFirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput {
return o
}
-func (o ExclusionManagedRuleResponseArrayOutput) Index(i pulumi.IntInput) ExclusionManagedRuleResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExclusionManagedRuleResponse {
- return vs[0].([]ExclusionManagedRuleResponse)[vs[1].(int)]
- }).(ExclusionManagedRuleResponseOutput)
+// Signature id.
+func (o FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionSignatureSpecificationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Defines a managed rule set for Exclusions.
-type ExclusionManagedRuleSet struct {
- // Defines the rule groups to apply to the rule set.
- RuleGroups []ExclusionManagedRuleGroup `pulumi:"ruleGroups"`
- // Defines the rule set type to use.
- RuleSetType string `pulumi:"ruleSetType"`
- // Defines the version of the rule set to use.
- RuleSetVersion string `pulumi:"ruleSetVersion"`
+// The signature state.
+func (o FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput) Mode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyIntrusionDetectionSignatureSpecificationResponse) *string { return v.Mode }).(pulumi.StringPtrOutput)
}
-// ExclusionManagedRuleSetInput is an input type that accepts ExclusionManagedRuleSetArgs and ExclusionManagedRuleSetOutput values.
-// You can construct a concrete instance of `ExclusionManagedRuleSetInput` via:
-//
-// ExclusionManagedRuleSetArgs{...}
-type ExclusionManagedRuleSetInput interface {
- pulumi.Input
+type FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput struct{ *pulumi.OutputState }
- ToExclusionManagedRuleSetOutput() ExclusionManagedRuleSetOutput
- ToExclusionManagedRuleSetOutputWithContext(context.Context) ExclusionManagedRuleSetOutput
+func (FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyIntrusionDetectionSignatureSpecificationResponse)(nil)).Elem()
}
-// Defines a managed rule set for Exclusions.
-type ExclusionManagedRuleSetArgs struct {
- // Defines the rule groups to apply to the rule set.
- RuleGroups ExclusionManagedRuleGroupArrayInput `pulumi:"ruleGroups"`
- // Defines the rule set type to use.
- RuleSetType pulumi.StringInput `pulumi:"ruleSetType"`
- // Defines the version of the rule set to use.
- RuleSetVersion pulumi.StringInput `pulumi:"ruleSetVersion"`
+func (o FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput) ToFirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput() FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput {
+ return o
}
-func (ExclusionManagedRuleSetArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExclusionManagedRuleSet)(nil)).Elem()
+func (o FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput) ToFirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput {
+ return o
}
-func (i ExclusionManagedRuleSetArgs) ToExclusionManagedRuleSetOutput() ExclusionManagedRuleSetOutput {
- return i.ToExclusionManagedRuleSetOutputWithContext(context.Background())
+func (o FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyIntrusionDetectionSignatureSpecificationResponse {
+ return vs[0].([]FirewallPolicyIntrusionDetectionSignatureSpecificationResponse)[vs[1].(int)]
+ }).(FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput)
}
-func (i ExclusionManagedRuleSetArgs) ToExclusionManagedRuleSetOutputWithContext(ctx context.Context) ExclusionManagedRuleSetOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExclusionManagedRuleSetOutput)
+// Log Analytics Resources for Firewall Policy Insights.
+type FirewallPolicyLogAnalyticsResources struct {
+ // The default workspace Id for Firewall Policy Insights.
+ DefaultWorkspaceId *SubResource `pulumi:"defaultWorkspaceId"`
+ // List of workspaces for Firewall Policy Insights.
+ Workspaces []FirewallPolicyLogAnalyticsWorkspace `pulumi:"workspaces"`
}
-// ExclusionManagedRuleSetArrayInput is an input type that accepts ExclusionManagedRuleSetArray and ExclusionManagedRuleSetArrayOutput values.
-// You can construct a concrete instance of `ExclusionManagedRuleSetArrayInput` via:
+// FirewallPolicyLogAnalyticsResourcesInput is an input type that accepts FirewallPolicyLogAnalyticsResourcesArgs and FirewallPolicyLogAnalyticsResourcesOutput values.
+// You can construct a concrete instance of `FirewallPolicyLogAnalyticsResourcesInput` via:
//
-// ExclusionManagedRuleSetArray{ ExclusionManagedRuleSetArgs{...} }
-type ExclusionManagedRuleSetArrayInput interface {
+// FirewallPolicyLogAnalyticsResourcesArgs{...}
+type FirewallPolicyLogAnalyticsResourcesInput interface {
pulumi.Input
- ToExclusionManagedRuleSetArrayOutput() ExclusionManagedRuleSetArrayOutput
- ToExclusionManagedRuleSetArrayOutputWithContext(context.Context) ExclusionManagedRuleSetArrayOutput
+ ToFirewallPolicyLogAnalyticsResourcesOutput() FirewallPolicyLogAnalyticsResourcesOutput
+ ToFirewallPolicyLogAnalyticsResourcesOutputWithContext(context.Context) FirewallPolicyLogAnalyticsResourcesOutput
}
-type ExclusionManagedRuleSetArray []ExclusionManagedRuleSetInput
+// Log Analytics Resources for Firewall Policy Insights.
+type FirewallPolicyLogAnalyticsResourcesArgs struct {
+ // The default workspace Id for Firewall Policy Insights.
+ DefaultWorkspaceId SubResourcePtrInput `pulumi:"defaultWorkspaceId"`
+ // List of workspaces for Firewall Policy Insights.
+ Workspaces FirewallPolicyLogAnalyticsWorkspaceArrayInput `pulumi:"workspaces"`
+}
-func (ExclusionManagedRuleSetArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExclusionManagedRuleSet)(nil)).Elem()
+func (FirewallPolicyLogAnalyticsResourcesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyLogAnalyticsResources)(nil)).Elem()
}
-func (i ExclusionManagedRuleSetArray) ToExclusionManagedRuleSetArrayOutput() ExclusionManagedRuleSetArrayOutput {
- return i.ToExclusionManagedRuleSetArrayOutputWithContext(context.Background())
+func (i FirewallPolicyLogAnalyticsResourcesArgs) ToFirewallPolicyLogAnalyticsResourcesOutput() FirewallPolicyLogAnalyticsResourcesOutput {
+ return i.ToFirewallPolicyLogAnalyticsResourcesOutputWithContext(context.Background())
}
-func (i ExclusionManagedRuleSetArray) ToExclusionManagedRuleSetArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleSetArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExclusionManagedRuleSetArrayOutput)
+func (i FirewallPolicyLogAnalyticsResourcesArgs) ToFirewallPolicyLogAnalyticsResourcesOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsResourcesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyLogAnalyticsResourcesOutput)
}
-// Defines a managed rule set for Exclusions.
-type ExclusionManagedRuleSetOutput struct{ *pulumi.OutputState }
+func (i FirewallPolicyLogAnalyticsResourcesArgs) ToFirewallPolicyLogAnalyticsResourcesPtrOutput() FirewallPolicyLogAnalyticsResourcesPtrOutput {
+ return i.ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(context.Background())
+}
-func (ExclusionManagedRuleSetOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExclusionManagedRuleSet)(nil)).Elem()
+func (i FirewallPolicyLogAnalyticsResourcesArgs) ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsResourcesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyLogAnalyticsResourcesOutput).ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(ctx)
}
-func (o ExclusionManagedRuleSetOutput) ToExclusionManagedRuleSetOutput() ExclusionManagedRuleSetOutput {
- return o
+// FirewallPolicyLogAnalyticsResourcesPtrInput is an input type that accepts FirewallPolicyLogAnalyticsResourcesArgs, FirewallPolicyLogAnalyticsResourcesPtr and FirewallPolicyLogAnalyticsResourcesPtrOutput values.
+// You can construct a concrete instance of `FirewallPolicyLogAnalyticsResourcesPtrInput` via:
+//
+// FirewallPolicyLogAnalyticsResourcesArgs{...}
+//
+// or:
+//
+// nil
+type FirewallPolicyLogAnalyticsResourcesPtrInput interface {
+ pulumi.Input
+
+ ToFirewallPolicyLogAnalyticsResourcesPtrOutput() FirewallPolicyLogAnalyticsResourcesPtrOutput
+ ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(context.Context) FirewallPolicyLogAnalyticsResourcesPtrOutput
}
-func (o ExclusionManagedRuleSetOutput) ToExclusionManagedRuleSetOutputWithContext(ctx context.Context) ExclusionManagedRuleSetOutput {
- return o
+type firewallPolicyLogAnalyticsResourcesPtrType FirewallPolicyLogAnalyticsResourcesArgs
+
+func FirewallPolicyLogAnalyticsResourcesPtr(v *FirewallPolicyLogAnalyticsResourcesArgs) FirewallPolicyLogAnalyticsResourcesPtrInput {
+ return (*firewallPolicyLogAnalyticsResourcesPtrType)(v)
}
-// Defines the rule groups to apply to the rule set.
-func (o ExclusionManagedRuleSetOutput) RuleGroups() ExclusionManagedRuleGroupArrayOutput {
- return o.ApplyT(func(v ExclusionManagedRuleSet) []ExclusionManagedRuleGroup { return v.RuleGroups }).(ExclusionManagedRuleGroupArrayOutput)
+func (*firewallPolicyLogAnalyticsResourcesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyLogAnalyticsResources)(nil)).Elem()
}
-// Defines the rule set type to use.
-func (o ExclusionManagedRuleSetOutput) RuleSetType() pulumi.StringOutput {
- return o.ApplyT(func(v ExclusionManagedRuleSet) string { return v.RuleSetType }).(pulumi.StringOutput)
+func (i *firewallPolicyLogAnalyticsResourcesPtrType) ToFirewallPolicyLogAnalyticsResourcesPtrOutput() FirewallPolicyLogAnalyticsResourcesPtrOutput {
+ return i.ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(context.Background())
}
-// Defines the version of the rule set to use.
-func (o ExclusionManagedRuleSetOutput) RuleSetVersion() pulumi.StringOutput {
- return o.ApplyT(func(v ExclusionManagedRuleSet) string { return v.RuleSetVersion }).(pulumi.StringOutput)
+func (i *firewallPolicyLogAnalyticsResourcesPtrType) ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsResourcesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyLogAnalyticsResourcesPtrOutput)
}
-type ExclusionManagedRuleSetArrayOutput struct{ *pulumi.OutputState }
+// Log Analytics Resources for Firewall Policy Insights.
+type FirewallPolicyLogAnalyticsResourcesOutput struct{ *pulumi.OutputState }
-func (ExclusionManagedRuleSetArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExclusionManagedRuleSet)(nil)).Elem()
+func (FirewallPolicyLogAnalyticsResourcesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyLogAnalyticsResources)(nil)).Elem()
}
-func (o ExclusionManagedRuleSetArrayOutput) ToExclusionManagedRuleSetArrayOutput() ExclusionManagedRuleSetArrayOutput {
+func (o FirewallPolicyLogAnalyticsResourcesOutput) ToFirewallPolicyLogAnalyticsResourcesOutput() FirewallPolicyLogAnalyticsResourcesOutput {
return o
}
-func (o ExclusionManagedRuleSetArrayOutput) ToExclusionManagedRuleSetArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleSetArrayOutput {
+func (o FirewallPolicyLogAnalyticsResourcesOutput) ToFirewallPolicyLogAnalyticsResourcesOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsResourcesOutput {
return o
}
-func (o ExclusionManagedRuleSetArrayOutput) Index(i pulumi.IntInput) ExclusionManagedRuleSetOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExclusionManagedRuleSet {
- return vs[0].([]ExclusionManagedRuleSet)[vs[1].(int)]
- }).(ExclusionManagedRuleSetOutput)
+func (o FirewallPolicyLogAnalyticsResourcesOutput) ToFirewallPolicyLogAnalyticsResourcesPtrOutput() FirewallPolicyLogAnalyticsResourcesPtrOutput {
+ return o.ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(context.Background())
}
-// Defines a managed rule set for Exclusions.
-type ExclusionManagedRuleSetResponse struct {
- // Defines the rule groups to apply to the rule set.
- RuleGroups []ExclusionManagedRuleGroupResponse `pulumi:"ruleGroups"`
- // Defines the rule set type to use.
- RuleSetType string `pulumi:"ruleSetType"`
- // Defines the version of the rule set to use.
- RuleSetVersion string `pulumi:"ruleSetVersion"`
+func (o FirewallPolicyLogAnalyticsResourcesOutput) ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsResourcesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyLogAnalyticsResources) *FirewallPolicyLogAnalyticsResources {
+ return &v
+ }).(FirewallPolicyLogAnalyticsResourcesPtrOutput)
}
-// Defines a managed rule set for Exclusions.
-type ExclusionManagedRuleSetResponseOutput struct{ *pulumi.OutputState }
+// The default workspace Id for Firewall Policy Insights.
+func (o FirewallPolicyLogAnalyticsResourcesOutput) DefaultWorkspaceId() SubResourcePtrOutput {
+ return o.ApplyT(func(v FirewallPolicyLogAnalyticsResources) *SubResource { return v.DefaultWorkspaceId }).(SubResourcePtrOutput)
+}
-func (ExclusionManagedRuleSetResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExclusionManagedRuleSetResponse)(nil)).Elem()
+// List of workspaces for Firewall Policy Insights.
+func (o FirewallPolicyLogAnalyticsResourcesOutput) Workspaces() FirewallPolicyLogAnalyticsWorkspaceArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyLogAnalyticsResources) []FirewallPolicyLogAnalyticsWorkspace { return v.Workspaces }).(FirewallPolicyLogAnalyticsWorkspaceArrayOutput)
}
-func (o ExclusionManagedRuleSetResponseOutput) ToExclusionManagedRuleSetResponseOutput() ExclusionManagedRuleSetResponseOutput {
+type FirewallPolicyLogAnalyticsResourcesPtrOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyLogAnalyticsResourcesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyLogAnalyticsResources)(nil)).Elem()
+}
+
+func (o FirewallPolicyLogAnalyticsResourcesPtrOutput) ToFirewallPolicyLogAnalyticsResourcesPtrOutput() FirewallPolicyLogAnalyticsResourcesPtrOutput {
return o
}
-func (o ExclusionManagedRuleSetResponseOutput) ToExclusionManagedRuleSetResponseOutputWithContext(ctx context.Context) ExclusionManagedRuleSetResponseOutput {
+func (o FirewallPolicyLogAnalyticsResourcesPtrOutput) ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsResourcesPtrOutput {
return o
}
-// Defines the rule groups to apply to the rule set.
-func (o ExclusionManagedRuleSetResponseOutput) RuleGroups() ExclusionManagedRuleGroupResponseArrayOutput {
- return o.ApplyT(func(v ExclusionManagedRuleSetResponse) []ExclusionManagedRuleGroupResponse { return v.RuleGroups }).(ExclusionManagedRuleGroupResponseArrayOutput)
+func (o FirewallPolicyLogAnalyticsResourcesPtrOutput) Elem() FirewallPolicyLogAnalyticsResourcesOutput {
+ return o.ApplyT(func(v *FirewallPolicyLogAnalyticsResources) FirewallPolicyLogAnalyticsResources {
+ if v != nil {
+ return *v
+ }
+ var ret FirewallPolicyLogAnalyticsResources
+ return ret
+ }).(FirewallPolicyLogAnalyticsResourcesOutput)
}
-// Defines the rule set type to use.
-func (o ExclusionManagedRuleSetResponseOutput) RuleSetType() pulumi.StringOutput {
- return o.ApplyT(func(v ExclusionManagedRuleSetResponse) string { return v.RuleSetType }).(pulumi.StringOutput)
+// The default workspace Id for Firewall Policy Insights.
+func (o FirewallPolicyLogAnalyticsResourcesPtrOutput) DefaultWorkspaceId() SubResourcePtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyLogAnalyticsResources) *SubResource {
+ if v == nil {
+ return nil
+ }
+ return v.DefaultWorkspaceId
+ }).(SubResourcePtrOutput)
}
-// Defines the version of the rule set to use.
-func (o ExclusionManagedRuleSetResponseOutput) RuleSetVersion() pulumi.StringOutput {
- return o.ApplyT(func(v ExclusionManagedRuleSetResponse) string { return v.RuleSetVersion }).(pulumi.StringOutput)
+// List of workspaces for Firewall Policy Insights.
+func (o FirewallPolicyLogAnalyticsResourcesPtrOutput) Workspaces() FirewallPolicyLogAnalyticsWorkspaceArrayOutput {
+ return o.ApplyT(func(v *FirewallPolicyLogAnalyticsResources) []FirewallPolicyLogAnalyticsWorkspace {
+ if v == nil {
+ return nil
+ }
+ return v.Workspaces
+ }).(FirewallPolicyLogAnalyticsWorkspaceArrayOutput)
}
-type ExclusionManagedRuleSetResponseArrayOutput struct{ *pulumi.OutputState }
+// Log Analytics Resources for Firewall Policy Insights.
+type FirewallPolicyLogAnalyticsResourcesResponse struct {
+ // The default workspace Id for Firewall Policy Insights.
+ DefaultWorkspaceId *SubResourceResponse `pulumi:"defaultWorkspaceId"`
+ // List of workspaces for Firewall Policy Insights.
+ Workspaces []FirewallPolicyLogAnalyticsWorkspaceResponse `pulumi:"workspaces"`
+}
-func (ExclusionManagedRuleSetResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExclusionManagedRuleSetResponse)(nil)).Elem()
+// Log Analytics Resources for Firewall Policy Insights.
+type FirewallPolicyLogAnalyticsResourcesResponseOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyLogAnalyticsResourcesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyLogAnalyticsResourcesResponse)(nil)).Elem()
}
-func (o ExclusionManagedRuleSetResponseArrayOutput) ToExclusionManagedRuleSetResponseArrayOutput() ExclusionManagedRuleSetResponseArrayOutput {
+func (o FirewallPolicyLogAnalyticsResourcesResponseOutput) ToFirewallPolicyLogAnalyticsResourcesResponseOutput() FirewallPolicyLogAnalyticsResourcesResponseOutput {
return o
}
-func (o ExclusionManagedRuleSetResponseArrayOutput) ToExclusionManagedRuleSetResponseArrayOutputWithContext(ctx context.Context) ExclusionManagedRuleSetResponseArrayOutput {
+func (o FirewallPolicyLogAnalyticsResourcesResponseOutput) ToFirewallPolicyLogAnalyticsResourcesResponseOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsResourcesResponseOutput {
return o
}
-func (o ExclusionManagedRuleSetResponseArrayOutput) Index(i pulumi.IntInput) ExclusionManagedRuleSetResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExclusionManagedRuleSetResponse {
- return vs[0].([]ExclusionManagedRuleSetResponse)[vs[1].(int)]
- }).(ExclusionManagedRuleSetResponseOutput)
+// The default workspace Id for Firewall Policy Insights.
+func (o FirewallPolicyLogAnalyticsResourcesResponseOutput) DefaultWorkspaceId() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v FirewallPolicyLogAnalyticsResourcesResponse) *SubResourceResponse { return v.DefaultWorkspaceId }).(SubResourceResponsePtrOutput)
}
-// Explicit Proxy Settings in Firewall Policy.
-type ExplicitProxy struct {
- // When set to true, explicit proxy mode is enabled.
- EnableExplicitProxy *bool `pulumi:"enableExplicitProxy"`
- // When set to true, pac file port and url needs to be provided.
- EnablePacFile *bool `pulumi:"enablePacFile"`
- // Port number for explicit proxy http protocol, cannot be greater than 64000.
- HttpPort *int `pulumi:"httpPort"`
- // Port number for explicit proxy https protocol, cannot be greater than 64000.
- HttpsPort *int `pulumi:"httpsPort"`
- // SAS URL for PAC file.
- PacFile *string `pulumi:"pacFile"`
- // Port number for firewall to serve PAC file.
- PacFilePort *int `pulumi:"pacFilePort"`
+// List of workspaces for Firewall Policy Insights.
+func (o FirewallPolicyLogAnalyticsResourcesResponseOutput) Workspaces() FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyLogAnalyticsResourcesResponse) []FirewallPolicyLogAnalyticsWorkspaceResponse {
+ return v.Workspaces
+ }).(FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput)
}
-// ExplicitProxyInput is an input type that accepts ExplicitProxyArgs and ExplicitProxyOutput values.
-// You can construct a concrete instance of `ExplicitProxyInput` via:
-//
-// ExplicitProxyArgs{...}
-type ExplicitProxyInput interface {
- pulumi.Input
+type FirewallPolicyLogAnalyticsResourcesResponsePtrOutput struct{ *pulumi.OutputState }
- ToExplicitProxyOutput() ExplicitProxyOutput
- ToExplicitProxyOutputWithContext(context.Context) ExplicitProxyOutput
+func (FirewallPolicyLogAnalyticsResourcesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyLogAnalyticsResourcesResponse)(nil)).Elem()
}
-// Explicit Proxy Settings in Firewall Policy.
-type ExplicitProxyArgs struct {
- // When set to true, explicit proxy mode is enabled.
- EnableExplicitProxy pulumi.BoolPtrInput `pulumi:"enableExplicitProxy"`
- // When set to true, pac file port and url needs to be provided.
- EnablePacFile pulumi.BoolPtrInput `pulumi:"enablePacFile"`
- // Port number for explicit proxy http protocol, cannot be greater than 64000.
- HttpPort pulumi.IntPtrInput `pulumi:"httpPort"`
- // Port number for explicit proxy https protocol, cannot be greater than 64000.
- HttpsPort pulumi.IntPtrInput `pulumi:"httpsPort"`
- // SAS URL for PAC file.
- PacFile pulumi.StringPtrInput `pulumi:"pacFile"`
- // Port number for firewall to serve PAC file.
- PacFilePort pulumi.IntPtrInput `pulumi:"pacFilePort"`
+func (o FirewallPolicyLogAnalyticsResourcesResponsePtrOutput) ToFirewallPolicyLogAnalyticsResourcesResponsePtrOutput() FirewallPolicyLogAnalyticsResourcesResponsePtrOutput {
+ return o
}
-func (ExplicitProxyArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExplicitProxy)(nil)).Elem()
+func (o FirewallPolicyLogAnalyticsResourcesResponsePtrOutput) ToFirewallPolicyLogAnalyticsResourcesResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsResourcesResponsePtrOutput {
+ return o
}
-func (i ExplicitProxyArgs) ToExplicitProxyOutput() ExplicitProxyOutput {
- return i.ToExplicitProxyOutputWithContext(context.Background())
+func (o FirewallPolicyLogAnalyticsResourcesResponsePtrOutput) Elem() FirewallPolicyLogAnalyticsResourcesResponseOutput {
+ return o.ApplyT(func(v *FirewallPolicyLogAnalyticsResourcesResponse) FirewallPolicyLogAnalyticsResourcesResponse {
+ if v != nil {
+ return *v
+ }
+ var ret FirewallPolicyLogAnalyticsResourcesResponse
+ return ret
+ }).(FirewallPolicyLogAnalyticsResourcesResponseOutput)
}
-func (i ExplicitProxyArgs) ToExplicitProxyOutputWithContext(ctx context.Context) ExplicitProxyOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExplicitProxyOutput)
+// The default workspace Id for Firewall Policy Insights.
+func (o FirewallPolicyLogAnalyticsResourcesResponsePtrOutput) DefaultWorkspaceId() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyLogAnalyticsResourcesResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DefaultWorkspaceId
+ }).(SubResourceResponsePtrOutput)
}
-func (i ExplicitProxyArgs) ToExplicitProxyPtrOutput() ExplicitProxyPtrOutput {
- return i.ToExplicitProxyPtrOutputWithContext(context.Background())
+// List of workspaces for Firewall Policy Insights.
+func (o FirewallPolicyLogAnalyticsResourcesResponsePtrOutput) Workspaces() FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput {
+ return o.ApplyT(func(v *FirewallPolicyLogAnalyticsResourcesResponse) []FirewallPolicyLogAnalyticsWorkspaceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Workspaces
+ }).(FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput)
}
-func (i ExplicitProxyArgs) ToExplicitProxyPtrOutputWithContext(ctx context.Context) ExplicitProxyPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExplicitProxyOutput).ToExplicitProxyPtrOutputWithContext(ctx)
+// Log Analytics Workspace for Firewall Policy Insights.
+type FirewallPolicyLogAnalyticsWorkspace struct {
+ // Region to configure the Workspace.
+ Region *string `pulumi:"region"`
+ // The workspace Id for Firewall Policy Insights.
+ WorkspaceId *SubResource `pulumi:"workspaceId"`
}
-// ExplicitProxyPtrInput is an input type that accepts ExplicitProxyArgs, ExplicitProxyPtr and ExplicitProxyPtrOutput values.
-// You can construct a concrete instance of `ExplicitProxyPtrInput` via:
-//
-// ExplicitProxyArgs{...}
-//
-// or:
+// FirewallPolicyLogAnalyticsWorkspaceInput is an input type that accepts FirewallPolicyLogAnalyticsWorkspaceArgs and FirewallPolicyLogAnalyticsWorkspaceOutput values.
+// You can construct a concrete instance of `FirewallPolicyLogAnalyticsWorkspaceInput` via:
//
-// nil
-type ExplicitProxyPtrInput interface {
+// FirewallPolicyLogAnalyticsWorkspaceArgs{...}
+type FirewallPolicyLogAnalyticsWorkspaceInput interface {
pulumi.Input
- ToExplicitProxyPtrOutput() ExplicitProxyPtrOutput
- ToExplicitProxyPtrOutputWithContext(context.Context) ExplicitProxyPtrOutput
+ ToFirewallPolicyLogAnalyticsWorkspaceOutput() FirewallPolicyLogAnalyticsWorkspaceOutput
+ ToFirewallPolicyLogAnalyticsWorkspaceOutputWithContext(context.Context) FirewallPolicyLogAnalyticsWorkspaceOutput
}
-type explicitProxyPtrType ExplicitProxyArgs
-
-func ExplicitProxyPtr(v *ExplicitProxyArgs) ExplicitProxyPtrInput {
- return (*explicitProxyPtrType)(v)
+// Log Analytics Workspace for Firewall Policy Insights.
+type FirewallPolicyLogAnalyticsWorkspaceArgs struct {
+ // Region to configure the Workspace.
+ Region pulumi.StringPtrInput `pulumi:"region"`
+ // The workspace Id for Firewall Policy Insights.
+ WorkspaceId SubResourcePtrInput `pulumi:"workspaceId"`
}
-func (*explicitProxyPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ExplicitProxy)(nil)).Elem()
+func (FirewallPolicyLogAnalyticsWorkspaceArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyLogAnalyticsWorkspace)(nil)).Elem()
}
-func (i *explicitProxyPtrType) ToExplicitProxyPtrOutput() ExplicitProxyPtrOutput {
- return i.ToExplicitProxyPtrOutputWithContext(context.Background())
+func (i FirewallPolicyLogAnalyticsWorkspaceArgs) ToFirewallPolicyLogAnalyticsWorkspaceOutput() FirewallPolicyLogAnalyticsWorkspaceOutput {
+ return i.ToFirewallPolicyLogAnalyticsWorkspaceOutputWithContext(context.Background())
}
-func (i *explicitProxyPtrType) ToExplicitProxyPtrOutputWithContext(ctx context.Context) ExplicitProxyPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExplicitProxyPtrOutput)
+func (i FirewallPolicyLogAnalyticsWorkspaceArgs) ToFirewallPolicyLogAnalyticsWorkspaceOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsWorkspaceOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyLogAnalyticsWorkspaceOutput)
}
-// Explicit Proxy Settings in Firewall Policy.
-type ExplicitProxyOutput struct{ *pulumi.OutputState }
+// FirewallPolicyLogAnalyticsWorkspaceArrayInput is an input type that accepts FirewallPolicyLogAnalyticsWorkspaceArray and FirewallPolicyLogAnalyticsWorkspaceArrayOutput values.
+// You can construct a concrete instance of `FirewallPolicyLogAnalyticsWorkspaceArrayInput` via:
+//
+// FirewallPolicyLogAnalyticsWorkspaceArray{ FirewallPolicyLogAnalyticsWorkspaceArgs{...} }
+type FirewallPolicyLogAnalyticsWorkspaceArrayInput interface {
+ pulumi.Input
-func (ExplicitProxyOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExplicitProxy)(nil)).Elem()
+ ToFirewallPolicyLogAnalyticsWorkspaceArrayOutput() FirewallPolicyLogAnalyticsWorkspaceArrayOutput
+ ToFirewallPolicyLogAnalyticsWorkspaceArrayOutputWithContext(context.Context) FirewallPolicyLogAnalyticsWorkspaceArrayOutput
}
-func (o ExplicitProxyOutput) ToExplicitProxyOutput() ExplicitProxyOutput {
- return o
-}
+type FirewallPolicyLogAnalyticsWorkspaceArray []FirewallPolicyLogAnalyticsWorkspaceInput
-func (o ExplicitProxyOutput) ToExplicitProxyOutputWithContext(ctx context.Context) ExplicitProxyOutput {
- return o
+func (FirewallPolicyLogAnalyticsWorkspaceArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyLogAnalyticsWorkspace)(nil)).Elem()
}
-func (o ExplicitProxyOutput) ToExplicitProxyPtrOutput() ExplicitProxyPtrOutput {
- return o.ToExplicitProxyPtrOutputWithContext(context.Background())
+func (i FirewallPolicyLogAnalyticsWorkspaceArray) ToFirewallPolicyLogAnalyticsWorkspaceArrayOutput() FirewallPolicyLogAnalyticsWorkspaceArrayOutput {
+ return i.ToFirewallPolicyLogAnalyticsWorkspaceArrayOutputWithContext(context.Background())
}
-func (o ExplicitProxyOutput) ToExplicitProxyPtrOutputWithContext(ctx context.Context) ExplicitProxyPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ExplicitProxy) *ExplicitProxy {
- return &v
- }).(ExplicitProxyPtrOutput)
+func (i FirewallPolicyLogAnalyticsWorkspaceArray) ToFirewallPolicyLogAnalyticsWorkspaceArrayOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsWorkspaceArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyLogAnalyticsWorkspaceArrayOutput)
}
-// When set to true, explicit proxy mode is enabled.
-func (o ExplicitProxyOutput) EnableExplicitProxy() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ExplicitProxy) *bool { return v.EnableExplicitProxy }).(pulumi.BoolPtrOutput)
-}
+// Log Analytics Workspace for Firewall Policy Insights.
+type FirewallPolicyLogAnalyticsWorkspaceOutput struct{ *pulumi.OutputState }
-// When set to true, pac file port and url needs to be provided.
-func (o ExplicitProxyOutput) EnablePacFile() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ExplicitProxy) *bool { return v.EnablePacFile }).(pulumi.BoolPtrOutput)
+func (FirewallPolicyLogAnalyticsWorkspaceOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyLogAnalyticsWorkspace)(nil)).Elem()
}
-// Port number for explicit proxy http protocol, cannot be greater than 64000.
-func (o ExplicitProxyOutput) HttpPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExplicitProxy) *int { return v.HttpPort }).(pulumi.IntPtrOutput)
+func (o FirewallPolicyLogAnalyticsWorkspaceOutput) ToFirewallPolicyLogAnalyticsWorkspaceOutput() FirewallPolicyLogAnalyticsWorkspaceOutput {
+ return o
}
-// Port number for explicit proxy https protocol, cannot be greater than 64000.
-func (o ExplicitProxyOutput) HttpsPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExplicitProxy) *int { return v.HttpsPort }).(pulumi.IntPtrOutput)
+func (o FirewallPolicyLogAnalyticsWorkspaceOutput) ToFirewallPolicyLogAnalyticsWorkspaceOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsWorkspaceOutput {
+ return o
}
-// SAS URL for PAC file.
-func (o ExplicitProxyOutput) PacFile() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExplicitProxy) *string { return v.PacFile }).(pulumi.StringPtrOutput)
+// Region to configure the Workspace.
+func (o FirewallPolicyLogAnalyticsWorkspaceOutput) Region() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyLogAnalyticsWorkspace) *string { return v.Region }).(pulumi.StringPtrOutput)
}
-// Port number for firewall to serve PAC file.
-func (o ExplicitProxyOutput) PacFilePort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExplicitProxy) *int { return v.PacFilePort }).(pulumi.IntPtrOutput)
+// The workspace Id for Firewall Policy Insights.
+func (o FirewallPolicyLogAnalyticsWorkspaceOutput) WorkspaceId() SubResourcePtrOutput {
+ return o.ApplyT(func(v FirewallPolicyLogAnalyticsWorkspace) *SubResource { return v.WorkspaceId }).(SubResourcePtrOutput)
}
-type ExplicitProxyPtrOutput struct{ *pulumi.OutputState }
+type FirewallPolicyLogAnalyticsWorkspaceArrayOutput struct{ *pulumi.OutputState }
-func (ExplicitProxyPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExplicitProxy)(nil)).Elem()
+func (FirewallPolicyLogAnalyticsWorkspaceArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyLogAnalyticsWorkspace)(nil)).Elem()
}
-func (o ExplicitProxyPtrOutput) ToExplicitProxyPtrOutput() ExplicitProxyPtrOutput {
+func (o FirewallPolicyLogAnalyticsWorkspaceArrayOutput) ToFirewallPolicyLogAnalyticsWorkspaceArrayOutput() FirewallPolicyLogAnalyticsWorkspaceArrayOutput {
return o
}
-func (o ExplicitProxyPtrOutput) ToExplicitProxyPtrOutputWithContext(ctx context.Context) ExplicitProxyPtrOutput {
+func (o FirewallPolicyLogAnalyticsWorkspaceArrayOutput) ToFirewallPolicyLogAnalyticsWorkspaceArrayOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsWorkspaceArrayOutput {
return o
}
-func (o ExplicitProxyPtrOutput) Elem() ExplicitProxyOutput {
- return o.ApplyT(func(v *ExplicitProxy) ExplicitProxy {
- if v != nil {
- return *v
- }
- var ret ExplicitProxy
- return ret
- }).(ExplicitProxyOutput)
+func (o FirewallPolicyLogAnalyticsWorkspaceArrayOutput) Index(i pulumi.IntInput) FirewallPolicyLogAnalyticsWorkspaceOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyLogAnalyticsWorkspace {
+ return vs[0].([]FirewallPolicyLogAnalyticsWorkspace)[vs[1].(int)]
+ }).(FirewallPolicyLogAnalyticsWorkspaceOutput)
}
-// When set to true, explicit proxy mode is enabled.
-func (o ExplicitProxyPtrOutput) EnableExplicitProxy() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *ExplicitProxy) *bool {
- if v == nil {
- return nil
- }
- return v.EnableExplicitProxy
- }).(pulumi.BoolPtrOutput)
+// Log Analytics Workspace for Firewall Policy Insights.
+type FirewallPolicyLogAnalyticsWorkspaceResponse struct {
+ // Region to configure the Workspace.
+ Region *string `pulumi:"region"`
+ // The workspace Id for Firewall Policy Insights.
+ WorkspaceId *SubResourceResponse `pulumi:"workspaceId"`
}
-// When set to true, pac file port and url needs to be provided.
-func (o ExplicitProxyPtrOutput) EnablePacFile() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *ExplicitProxy) *bool {
- if v == nil {
- return nil
- }
- return v.EnablePacFile
- }).(pulumi.BoolPtrOutput)
-}
+// Log Analytics Workspace for Firewall Policy Insights.
+type FirewallPolicyLogAnalyticsWorkspaceResponseOutput struct{ *pulumi.OutputState }
-// Port number for explicit proxy http protocol, cannot be greater than 64000.
-func (o ExplicitProxyPtrOutput) HttpPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ExplicitProxy) *int {
- if v == nil {
- return nil
- }
- return v.HttpPort
- }).(pulumi.IntPtrOutput)
+func (FirewallPolicyLogAnalyticsWorkspaceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyLogAnalyticsWorkspaceResponse)(nil)).Elem()
}
-// Port number for explicit proxy https protocol, cannot be greater than 64000.
-func (o ExplicitProxyPtrOutput) HttpsPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ExplicitProxy) *int {
- if v == nil {
- return nil
- }
- return v.HttpsPort
- }).(pulumi.IntPtrOutput)
+func (o FirewallPolicyLogAnalyticsWorkspaceResponseOutput) ToFirewallPolicyLogAnalyticsWorkspaceResponseOutput() FirewallPolicyLogAnalyticsWorkspaceResponseOutput {
+ return o
}
-// SAS URL for PAC file.
-func (o ExplicitProxyPtrOutput) PacFile() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExplicitProxy) *string {
- if v == nil {
- return nil
- }
- return v.PacFile
- }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyLogAnalyticsWorkspaceResponseOutput) ToFirewallPolicyLogAnalyticsWorkspaceResponseOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsWorkspaceResponseOutput {
+ return o
}
-// Port number for firewall to serve PAC file.
-func (o ExplicitProxyPtrOutput) PacFilePort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ExplicitProxy) *int {
- if v == nil {
- return nil
- }
- return v.PacFilePort
- }).(pulumi.IntPtrOutput)
+// Region to configure the Workspace.
+func (o FirewallPolicyLogAnalyticsWorkspaceResponseOutput) Region() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyLogAnalyticsWorkspaceResponse) *string { return v.Region }).(pulumi.StringPtrOutput)
}
-// Explicit Proxy Settings in Firewall Policy.
-type ExplicitProxyResponse struct {
- // When set to true, explicit proxy mode is enabled.
- EnableExplicitProxy *bool `pulumi:"enableExplicitProxy"`
- // When set to true, pac file port and url needs to be provided.
- EnablePacFile *bool `pulumi:"enablePacFile"`
- // Port number for explicit proxy http protocol, cannot be greater than 64000.
- HttpPort *int `pulumi:"httpPort"`
- // Port number for explicit proxy https protocol, cannot be greater than 64000.
- HttpsPort *int `pulumi:"httpsPort"`
- // SAS URL for PAC file.
- PacFile *string `pulumi:"pacFile"`
- // Port number for firewall to serve PAC file.
- PacFilePort *int `pulumi:"pacFilePort"`
+// The workspace Id for Firewall Policy Insights.
+func (o FirewallPolicyLogAnalyticsWorkspaceResponseOutput) WorkspaceId() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v FirewallPolicyLogAnalyticsWorkspaceResponse) *SubResourceResponse { return v.WorkspaceId }).(SubResourceResponsePtrOutput)
}
-// Explicit Proxy Settings in Firewall Policy.
-type ExplicitProxyResponseOutput struct{ *pulumi.OutputState }
+type FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput struct{ *pulumi.OutputState }
-func (ExplicitProxyResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExplicitProxyResponse)(nil)).Elem()
+func (FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyLogAnalyticsWorkspaceResponse)(nil)).Elem()
}
-func (o ExplicitProxyResponseOutput) ToExplicitProxyResponseOutput() ExplicitProxyResponseOutput {
+func (o FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput) ToFirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput() FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput {
return o
}
-func (o ExplicitProxyResponseOutput) ToExplicitProxyResponseOutputWithContext(ctx context.Context) ExplicitProxyResponseOutput {
+func (o FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput) ToFirewallPolicyLogAnalyticsWorkspaceResponseArrayOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput {
return o
}
-// When set to true, explicit proxy mode is enabled.
-func (o ExplicitProxyResponseOutput) EnableExplicitProxy() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ExplicitProxyResponse) *bool { return v.EnableExplicitProxy }).(pulumi.BoolPtrOutput)
+func (o FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyLogAnalyticsWorkspaceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyLogAnalyticsWorkspaceResponse {
+ return vs[0].([]FirewallPolicyLogAnalyticsWorkspaceResponse)[vs[1].(int)]
+ }).(FirewallPolicyLogAnalyticsWorkspaceResponseOutput)
}
-// When set to true, pac file port and url needs to be provided.
-func (o ExplicitProxyResponseOutput) EnablePacFile() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ExplicitProxyResponse) *bool { return v.EnablePacFile }).(pulumi.BoolPtrOutput)
+// Firewall Policy NAT Rule.
+type FirewallPolicyNatRule struct {
+ // The action type of a Nat rule.
+ Action *FirewallPolicyNatRuleAction `pulumi:"action"`
+ // The name of the rule.
+ Name *string `pulumi:"name"`
+ // Priority of the Firewall Policy Rule resource.
+ Priority *int `pulumi:"priority"`
+ // The match conditions for incoming traffic.
+ RuleCondition interface{} `pulumi:"ruleCondition"`
+ // The type of the rule.
+ // Expected value is 'FirewallPolicyNatRule'.
+ RuleType string `pulumi:"ruleType"`
+ // The translated address for this NAT rule.
+ TranslatedAddress *string `pulumi:"translatedAddress"`
+ // The translated port for this NAT rule.
+ TranslatedPort *string `pulumi:"translatedPort"`
}
-// Port number for explicit proxy http protocol, cannot be greater than 64000.
-func (o ExplicitProxyResponseOutput) HttpPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExplicitProxyResponse) *int { return v.HttpPort }).(pulumi.IntPtrOutput)
+// FirewallPolicyNatRuleInput is an input type that accepts FirewallPolicyNatRuleArgs and FirewallPolicyNatRuleOutput values.
+// You can construct a concrete instance of `FirewallPolicyNatRuleInput` via:
+//
+// FirewallPolicyNatRuleArgs{...}
+type FirewallPolicyNatRuleInput interface {
+ pulumi.Input
+
+ ToFirewallPolicyNatRuleOutput() FirewallPolicyNatRuleOutput
+ ToFirewallPolicyNatRuleOutputWithContext(context.Context) FirewallPolicyNatRuleOutput
}
-// Port number for explicit proxy https protocol, cannot be greater than 64000.
-func (o ExplicitProxyResponseOutput) HttpsPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExplicitProxyResponse) *int { return v.HttpsPort }).(pulumi.IntPtrOutput)
+// Firewall Policy NAT Rule.
+type FirewallPolicyNatRuleArgs struct {
+ // The action type of a Nat rule.
+ Action FirewallPolicyNatRuleActionPtrInput `pulumi:"action"`
+ // The name of the rule.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Priority of the Firewall Policy Rule resource.
+ Priority pulumi.IntPtrInput `pulumi:"priority"`
+ // The match conditions for incoming traffic.
+ RuleCondition pulumi.Input `pulumi:"ruleCondition"`
+ // The type of the rule.
+ // Expected value is 'FirewallPolicyNatRule'.
+ RuleType pulumi.StringInput `pulumi:"ruleType"`
+ // The translated address for this NAT rule.
+ TranslatedAddress pulumi.StringPtrInput `pulumi:"translatedAddress"`
+ // The translated port for this NAT rule.
+ TranslatedPort pulumi.StringPtrInput `pulumi:"translatedPort"`
}
-// SAS URL for PAC file.
-func (o ExplicitProxyResponseOutput) PacFile() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExplicitProxyResponse) *string { return v.PacFile }).(pulumi.StringPtrOutput)
+func (FirewallPolicyNatRuleArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyNatRule)(nil)).Elem()
}
-// Port number for firewall to serve PAC file.
-func (o ExplicitProxyResponseOutput) PacFilePort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExplicitProxyResponse) *int { return v.PacFilePort }).(pulumi.IntPtrOutput)
+func (i FirewallPolicyNatRuleArgs) ToFirewallPolicyNatRuleOutput() FirewallPolicyNatRuleOutput {
+ return i.ToFirewallPolicyNatRuleOutputWithContext(context.Background())
}
-type ExplicitProxyResponsePtrOutput struct{ *pulumi.OutputState }
+func (i FirewallPolicyNatRuleArgs) ToFirewallPolicyNatRuleOutputWithContext(ctx context.Context) FirewallPolicyNatRuleOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyNatRuleOutput)
+}
-func (ExplicitProxyResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExplicitProxyResponse)(nil)).Elem()
+// Firewall Policy NAT Rule.
+type FirewallPolicyNatRuleOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyNatRuleOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyNatRule)(nil)).Elem()
}
-func (o ExplicitProxyResponsePtrOutput) ToExplicitProxyResponsePtrOutput() ExplicitProxyResponsePtrOutput {
+func (o FirewallPolicyNatRuleOutput) ToFirewallPolicyNatRuleOutput() FirewallPolicyNatRuleOutput {
return o
}
-func (o ExplicitProxyResponsePtrOutput) ToExplicitProxyResponsePtrOutputWithContext(ctx context.Context) ExplicitProxyResponsePtrOutput {
+func (o FirewallPolicyNatRuleOutput) ToFirewallPolicyNatRuleOutputWithContext(ctx context.Context) FirewallPolicyNatRuleOutput {
return o
}
-func (o ExplicitProxyResponsePtrOutput) Elem() ExplicitProxyResponseOutput {
- return o.ApplyT(func(v *ExplicitProxyResponse) ExplicitProxyResponse {
- if v != nil {
- return *v
- }
- var ret ExplicitProxyResponse
- return ret
- }).(ExplicitProxyResponseOutput)
+// The action type of a Nat rule.
+func (o FirewallPolicyNatRuleOutput) Action() FirewallPolicyNatRuleActionPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRule) *FirewallPolicyNatRuleAction { return v.Action }).(FirewallPolicyNatRuleActionPtrOutput)
}
-// When set to true, explicit proxy mode is enabled.
-func (o ExplicitProxyResponsePtrOutput) EnableExplicitProxy() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *ExplicitProxyResponse) *bool {
- if v == nil {
- return nil
- }
- return v.EnableExplicitProxy
- }).(pulumi.BoolPtrOutput)
+// The name of the rule.
+func (o FirewallPolicyNatRuleOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRule) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// When set to true, pac file port and url needs to be provided.
-func (o ExplicitProxyResponsePtrOutput) EnablePacFile() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *ExplicitProxyResponse) *bool {
- if v == nil {
- return nil
- }
- return v.EnablePacFile
- }).(pulumi.BoolPtrOutput)
+// Priority of the Firewall Policy Rule resource.
+func (o FirewallPolicyNatRuleOutput) Priority() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRule) *int { return v.Priority }).(pulumi.IntPtrOutput)
}
-// Port number for explicit proxy http protocol, cannot be greater than 64000.
-func (o ExplicitProxyResponsePtrOutput) HttpPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ExplicitProxyResponse) *int {
- if v == nil {
- return nil
- }
- return v.HttpPort
- }).(pulumi.IntPtrOutput)
+// The match conditions for incoming traffic.
+func (o FirewallPolicyNatRuleOutput) RuleCondition() pulumi.AnyOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRule) interface{} { return v.RuleCondition }).(pulumi.AnyOutput)
}
-// Port number for explicit proxy https protocol, cannot be greater than 64000.
-func (o ExplicitProxyResponsePtrOutput) HttpsPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ExplicitProxyResponse) *int {
- if v == nil {
- return nil
- }
- return v.HttpsPort
- }).(pulumi.IntPtrOutput)
+// The type of the rule.
+// Expected value is 'FirewallPolicyNatRule'.
+func (o FirewallPolicyNatRuleOutput) RuleType() pulumi.StringOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRule) string { return v.RuleType }).(pulumi.StringOutput)
}
-// SAS URL for PAC file.
-func (o ExplicitProxyResponsePtrOutput) PacFile() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExplicitProxyResponse) *string {
- if v == nil {
- return nil
- }
- return v.PacFile
- }).(pulumi.StringPtrOutput)
+// The translated address for this NAT rule.
+func (o FirewallPolicyNatRuleOutput) TranslatedAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRule) *string { return v.TranslatedAddress }).(pulumi.StringPtrOutput)
}
-// Port number for firewall to serve PAC file.
-func (o ExplicitProxyResponsePtrOutput) PacFilePort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ExplicitProxyResponse) *int {
- if v == nil {
- return nil
- }
- return v.PacFilePort
- }).(pulumi.IntPtrOutput)
+// The translated port for this NAT rule.
+func (o FirewallPolicyNatRuleOutput) TranslatedPort() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRule) *string { return v.TranslatedPort }).(pulumi.StringPtrOutput)
}
-// Authorization in an ExpressRouteCircuit resource.
-type ExpressRouteCircuitAuthorizationType struct {
- // The authorization key.
- AuthorizationKey *string `pulumi:"authorizationKey"`
- // The authorization use status.
- AuthorizationUseStatus *string `pulumi:"authorizationUseStatus"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
+// Properties of the FirewallPolicyNatRuleAction.
+type FirewallPolicyNatRuleAction struct {
+ // The type of action.
+ Type *string `pulumi:"type"`
}
-// ExpressRouteCircuitAuthorizationTypeInput is an input type that accepts ExpressRouteCircuitAuthorizationTypeArgs and ExpressRouteCircuitAuthorizationTypeOutput values.
-// You can construct a concrete instance of `ExpressRouteCircuitAuthorizationTypeInput` via:
+// FirewallPolicyNatRuleActionInput is an input type that accepts FirewallPolicyNatRuleActionArgs and FirewallPolicyNatRuleActionOutput values.
+// You can construct a concrete instance of `FirewallPolicyNatRuleActionInput` via:
//
-// ExpressRouteCircuitAuthorizationTypeArgs{...}
-type ExpressRouteCircuitAuthorizationTypeInput interface {
+// FirewallPolicyNatRuleActionArgs{...}
+type FirewallPolicyNatRuleActionInput interface {
pulumi.Input
- ToExpressRouteCircuitAuthorizationTypeOutput() ExpressRouteCircuitAuthorizationTypeOutput
- ToExpressRouteCircuitAuthorizationTypeOutputWithContext(context.Context) ExpressRouteCircuitAuthorizationTypeOutput
+ ToFirewallPolicyNatRuleActionOutput() FirewallPolicyNatRuleActionOutput
+ ToFirewallPolicyNatRuleActionOutputWithContext(context.Context) FirewallPolicyNatRuleActionOutput
}
-// Authorization in an ExpressRouteCircuit resource.
-type ExpressRouteCircuitAuthorizationTypeArgs struct {
- // The authorization key.
- AuthorizationKey pulumi.StringPtrInput `pulumi:"authorizationKey"`
- // The authorization use status.
- AuthorizationUseStatus pulumi.StringPtrInput `pulumi:"authorizationUseStatus"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
+// Properties of the FirewallPolicyNatRuleAction.
+type FirewallPolicyNatRuleActionArgs struct {
+ // The type of action.
+ Type pulumi.StringPtrInput `pulumi:"type"`
}
-func (ExpressRouteCircuitAuthorizationTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitAuthorizationType)(nil)).Elem()
+func (FirewallPolicyNatRuleActionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyNatRuleAction)(nil)).Elem()
}
-func (i ExpressRouteCircuitAuthorizationTypeArgs) ToExpressRouteCircuitAuthorizationTypeOutput() ExpressRouteCircuitAuthorizationTypeOutput {
- return i.ToExpressRouteCircuitAuthorizationTypeOutputWithContext(context.Background())
+func (i FirewallPolicyNatRuleActionArgs) ToFirewallPolicyNatRuleActionOutput() FirewallPolicyNatRuleActionOutput {
+ return i.ToFirewallPolicyNatRuleActionOutputWithContext(context.Background())
}
-func (i ExpressRouteCircuitAuthorizationTypeArgs) ToExpressRouteCircuitAuthorizationTypeOutputWithContext(ctx context.Context) ExpressRouteCircuitAuthorizationTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitAuthorizationTypeOutput)
+func (i FirewallPolicyNatRuleActionArgs) ToFirewallPolicyNatRuleActionOutputWithContext(ctx context.Context) FirewallPolicyNatRuleActionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyNatRuleActionOutput)
}
-// ExpressRouteCircuitAuthorizationTypeArrayInput is an input type that accepts ExpressRouteCircuitAuthorizationTypeArray and ExpressRouteCircuitAuthorizationTypeArrayOutput values.
-// You can construct a concrete instance of `ExpressRouteCircuitAuthorizationTypeArrayInput` via:
+func (i FirewallPolicyNatRuleActionArgs) ToFirewallPolicyNatRuleActionPtrOutput() FirewallPolicyNatRuleActionPtrOutput {
+ return i.ToFirewallPolicyNatRuleActionPtrOutputWithContext(context.Background())
+}
+
+func (i FirewallPolicyNatRuleActionArgs) ToFirewallPolicyNatRuleActionPtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleActionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyNatRuleActionOutput).ToFirewallPolicyNatRuleActionPtrOutputWithContext(ctx)
+}
+
+// FirewallPolicyNatRuleActionPtrInput is an input type that accepts FirewallPolicyNatRuleActionArgs, FirewallPolicyNatRuleActionPtr and FirewallPolicyNatRuleActionPtrOutput values.
+// You can construct a concrete instance of `FirewallPolicyNatRuleActionPtrInput` via:
//
-// ExpressRouteCircuitAuthorizationTypeArray{ ExpressRouteCircuitAuthorizationTypeArgs{...} }
-type ExpressRouteCircuitAuthorizationTypeArrayInput interface {
+// FirewallPolicyNatRuleActionArgs{...}
+//
+// or:
+//
+// nil
+type FirewallPolicyNatRuleActionPtrInput interface {
pulumi.Input
- ToExpressRouteCircuitAuthorizationTypeArrayOutput() ExpressRouteCircuitAuthorizationTypeArrayOutput
- ToExpressRouteCircuitAuthorizationTypeArrayOutputWithContext(context.Context) ExpressRouteCircuitAuthorizationTypeArrayOutput
+ ToFirewallPolicyNatRuleActionPtrOutput() FirewallPolicyNatRuleActionPtrOutput
+ ToFirewallPolicyNatRuleActionPtrOutputWithContext(context.Context) FirewallPolicyNatRuleActionPtrOutput
}
-type ExpressRouteCircuitAuthorizationTypeArray []ExpressRouteCircuitAuthorizationTypeInput
+type firewallPolicyNatRuleActionPtrType FirewallPolicyNatRuleActionArgs
-func (ExpressRouteCircuitAuthorizationTypeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExpressRouteCircuitAuthorizationType)(nil)).Elem()
+func FirewallPolicyNatRuleActionPtr(v *FirewallPolicyNatRuleActionArgs) FirewallPolicyNatRuleActionPtrInput {
+ return (*firewallPolicyNatRuleActionPtrType)(v)
}
-func (i ExpressRouteCircuitAuthorizationTypeArray) ToExpressRouteCircuitAuthorizationTypeArrayOutput() ExpressRouteCircuitAuthorizationTypeArrayOutput {
- return i.ToExpressRouteCircuitAuthorizationTypeArrayOutputWithContext(context.Background())
+func (*firewallPolicyNatRuleActionPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyNatRuleAction)(nil)).Elem()
}
-func (i ExpressRouteCircuitAuthorizationTypeArray) ToExpressRouteCircuitAuthorizationTypeArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitAuthorizationTypeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitAuthorizationTypeArrayOutput)
+func (i *firewallPolicyNatRuleActionPtrType) ToFirewallPolicyNatRuleActionPtrOutput() FirewallPolicyNatRuleActionPtrOutput {
+ return i.ToFirewallPolicyNatRuleActionPtrOutputWithContext(context.Background())
}
-// Authorization in an ExpressRouteCircuit resource.
-type ExpressRouteCircuitAuthorizationTypeOutput struct{ *pulumi.OutputState }
+func (i *firewallPolicyNatRuleActionPtrType) ToFirewallPolicyNatRuleActionPtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleActionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyNatRuleActionPtrOutput)
+}
-func (ExpressRouteCircuitAuthorizationTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitAuthorizationType)(nil)).Elem()
+// Properties of the FirewallPolicyNatRuleAction.
+type FirewallPolicyNatRuleActionOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyNatRuleActionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyNatRuleAction)(nil)).Elem()
}
-func (o ExpressRouteCircuitAuthorizationTypeOutput) ToExpressRouteCircuitAuthorizationTypeOutput() ExpressRouteCircuitAuthorizationTypeOutput {
+func (o FirewallPolicyNatRuleActionOutput) ToFirewallPolicyNatRuleActionOutput() FirewallPolicyNatRuleActionOutput {
return o
}
-func (o ExpressRouteCircuitAuthorizationTypeOutput) ToExpressRouteCircuitAuthorizationTypeOutputWithContext(ctx context.Context) ExpressRouteCircuitAuthorizationTypeOutput {
+func (o FirewallPolicyNatRuleActionOutput) ToFirewallPolicyNatRuleActionOutputWithContext(ctx context.Context) FirewallPolicyNatRuleActionOutput {
return o
}
-// The authorization key.
-func (o ExpressRouteCircuitAuthorizationTypeOutput) AuthorizationKey() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitAuthorizationType) *string { return v.AuthorizationKey }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyNatRuleActionOutput) ToFirewallPolicyNatRuleActionPtrOutput() FirewallPolicyNatRuleActionPtrOutput {
+ return o.ToFirewallPolicyNatRuleActionPtrOutputWithContext(context.Background())
}
-// The authorization use status.
-func (o ExpressRouteCircuitAuthorizationTypeOutput) AuthorizationUseStatus() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitAuthorizationType) *string { return v.AuthorizationUseStatus }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyNatRuleActionOutput) ToFirewallPolicyNatRuleActionPtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleActionPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyNatRuleAction) *FirewallPolicyNatRuleAction {
+ return &v
+ }).(FirewallPolicyNatRuleActionPtrOutput)
}
-// Resource ID.
-func (o ExpressRouteCircuitAuthorizationTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitAuthorizationType) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The type of action.
+func (o FirewallPolicyNatRuleActionOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleAction) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o ExpressRouteCircuitAuthorizationTypeOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitAuthorizationType) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
+type FirewallPolicyNatRuleActionPtrOutput struct{ *pulumi.OutputState }
-type ExpressRouteCircuitAuthorizationTypeArrayOutput struct{ *pulumi.OutputState }
+func (FirewallPolicyNatRuleActionPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyNatRuleAction)(nil)).Elem()
+}
-func (ExpressRouteCircuitAuthorizationTypeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExpressRouteCircuitAuthorizationType)(nil)).Elem()
+func (o FirewallPolicyNatRuleActionPtrOutput) ToFirewallPolicyNatRuleActionPtrOutput() FirewallPolicyNatRuleActionPtrOutput {
+ return o
}
-func (o ExpressRouteCircuitAuthorizationTypeArrayOutput) ToExpressRouteCircuitAuthorizationTypeArrayOutput() ExpressRouteCircuitAuthorizationTypeArrayOutput {
+func (o FirewallPolicyNatRuleActionPtrOutput) ToFirewallPolicyNatRuleActionPtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleActionPtrOutput {
return o
}
-func (o ExpressRouteCircuitAuthorizationTypeArrayOutput) ToExpressRouteCircuitAuthorizationTypeArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitAuthorizationTypeArrayOutput {
- return o
+func (o FirewallPolicyNatRuleActionPtrOutput) Elem() FirewallPolicyNatRuleActionOutput {
+ return o.ApplyT(func(v *FirewallPolicyNatRuleAction) FirewallPolicyNatRuleAction {
+ if v != nil {
+ return *v
+ }
+ var ret FirewallPolicyNatRuleAction
+ return ret
+ }).(FirewallPolicyNatRuleActionOutput)
}
-func (o ExpressRouteCircuitAuthorizationTypeArrayOutput) Index(i pulumi.IntInput) ExpressRouteCircuitAuthorizationTypeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteCircuitAuthorizationType {
- return vs[0].([]ExpressRouteCircuitAuthorizationType)[vs[1].(int)]
- }).(ExpressRouteCircuitAuthorizationTypeOutput)
+// The type of action.
+func (o FirewallPolicyNatRuleActionPtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyNatRuleAction) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Type
+ }).(pulumi.StringPtrOutput)
}
-// Authorization in an ExpressRouteCircuit resource.
-type ExpressRouteCircuitAuthorizationResponse struct {
- // The authorization key.
- AuthorizationKey *string `pulumi:"authorizationKey"`
- // The authorization use status.
- AuthorizationUseStatus *string `pulumi:"authorizationUseStatus"`
- // The reference to the ExpressRoute connection resource using the authorization.
- ConnectionResourceUri string `pulumi:"connectionResourceUri"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the authorization resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Type of the resource.
- Type string `pulumi:"type"`
+// Properties of the FirewallPolicyNatRuleAction.
+type FirewallPolicyNatRuleActionResponse struct {
+ // The type of action.
+ Type *string `pulumi:"type"`
}
-// Authorization in an ExpressRouteCircuit resource.
-type ExpressRouteCircuitAuthorizationResponseOutput struct{ *pulumi.OutputState }
+// Properties of the FirewallPolicyNatRuleAction.
+type FirewallPolicyNatRuleActionResponseOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitAuthorizationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitAuthorizationResponse)(nil)).Elem()
+func (FirewallPolicyNatRuleActionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyNatRuleActionResponse)(nil)).Elem()
}
-func (o ExpressRouteCircuitAuthorizationResponseOutput) ToExpressRouteCircuitAuthorizationResponseOutput() ExpressRouteCircuitAuthorizationResponseOutput {
+func (o FirewallPolicyNatRuleActionResponseOutput) ToFirewallPolicyNatRuleActionResponseOutput() FirewallPolicyNatRuleActionResponseOutput {
return o
}
-func (o ExpressRouteCircuitAuthorizationResponseOutput) ToExpressRouteCircuitAuthorizationResponseOutputWithContext(ctx context.Context) ExpressRouteCircuitAuthorizationResponseOutput {
+func (o FirewallPolicyNatRuleActionResponseOutput) ToFirewallPolicyNatRuleActionResponseOutputWithContext(ctx context.Context) FirewallPolicyNatRuleActionResponseOutput {
return o
}
-// The authorization key.
-func (o ExpressRouteCircuitAuthorizationResponseOutput) AuthorizationKey() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitAuthorizationResponse) *string { return v.AuthorizationKey }).(pulumi.StringPtrOutput)
+// The type of action.
+func (o FirewallPolicyNatRuleActionResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleActionResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// The authorization use status.
-func (o ExpressRouteCircuitAuthorizationResponseOutput) AuthorizationUseStatus() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitAuthorizationResponse) *string { return v.AuthorizationUseStatus }).(pulumi.StringPtrOutput)
-}
+type FirewallPolicyNatRuleActionResponsePtrOutput struct{ *pulumi.OutputState }
-// The reference to the ExpressRoute connection resource using the authorization.
-func (o ExpressRouteCircuitAuthorizationResponseOutput) ConnectionResourceUri() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteCircuitAuthorizationResponse) string { return v.ConnectionResourceUri }).(pulumi.StringOutput)
+func (FirewallPolicyNatRuleActionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyNatRuleActionResponse)(nil)).Elem()
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o ExpressRouteCircuitAuthorizationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteCircuitAuthorizationResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o FirewallPolicyNatRuleActionResponsePtrOutput) ToFirewallPolicyNatRuleActionResponsePtrOutput() FirewallPolicyNatRuleActionResponsePtrOutput {
+ return o
}
-// Resource ID.
-func (o ExpressRouteCircuitAuthorizationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitAuthorizationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyNatRuleActionResponsePtrOutput) ToFirewallPolicyNatRuleActionResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleActionResponsePtrOutput {
+ return o
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o ExpressRouteCircuitAuthorizationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitAuthorizationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyNatRuleActionResponsePtrOutput) Elem() FirewallPolicyNatRuleActionResponseOutput {
+ return o.ApplyT(func(v *FirewallPolicyNatRuleActionResponse) FirewallPolicyNatRuleActionResponse {
+ if v != nil {
+ return *v
+ }
+ var ret FirewallPolicyNatRuleActionResponse
+ return ret
+ }).(FirewallPolicyNatRuleActionResponseOutput)
}
-// The provisioning state of the authorization resource.
-func (o ExpressRouteCircuitAuthorizationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteCircuitAuthorizationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The type of action.
+func (o FirewallPolicyNatRuleActionResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyNatRuleActionResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Type
+ }).(pulumi.StringPtrOutput)
}
-// Type of the resource.
-func (o ExpressRouteCircuitAuthorizationResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteCircuitAuthorizationResponse) string { return v.Type }).(pulumi.StringOutput)
+// Firewall Policy NAT Rule Collection.
+type FirewallPolicyNatRuleCollection struct {
+ // The action type of a Nat rule collection.
+ Action *FirewallPolicyNatRuleCollectionAction `pulumi:"action"`
+ // The name of the rule collection.
+ Name *string `pulumi:"name"`
+ // Priority of the Firewall Policy Rule Collection resource.
+ Priority *int `pulumi:"priority"`
+ // The type of the rule collection.
+ // Expected value is 'FirewallPolicyNatRuleCollection'.
+ RuleCollectionType string `pulumi:"ruleCollectionType"`
+ // List of rules included in a rule collection.
+ Rules []interface{} `pulumi:"rules"`
}
-type ExpressRouteCircuitAuthorizationResponseArrayOutput struct{ *pulumi.OutputState }
+// FirewallPolicyNatRuleCollectionInput is an input type that accepts FirewallPolicyNatRuleCollectionArgs and FirewallPolicyNatRuleCollectionOutput values.
+// You can construct a concrete instance of `FirewallPolicyNatRuleCollectionInput` via:
+//
+// FirewallPolicyNatRuleCollectionArgs{...}
+type FirewallPolicyNatRuleCollectionInput interface {
+ pulumi.Input
-func (ExpressRouteCircuitAuthorizationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExpressRouteCircuitAuthorizationResponse)(nil)).Elem()
+ ToFirewallPolicyNatRuleCollectionOutput() FirewallPolicyNatRuleCollectionOutput
+ ToFirewallPolicyNatRuleCollectionOutputWithContext(context.Context) FirewallPolicyNatRuleCollectionOutput
}
-func (o ExpressRouteCircuitAuthorizationResponseArrayOutput) ToExpressRouteCircuitAuthorizationResponseArrayOutput() ExpressRouteCircuitAuthorizationResponseArrayOutput {
- return o
+// Firewall Policy NAT Rule Collection.
+type FirewallPolicyNatRuleCollectionArgs struct {
+ // The action type of a Nat rule collection.
+ Action FirewallPolicyNatRuleCollectionActionPtrInput `pulumi:"action"`
+ // The name of the rule collection.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Priority of the Firewall Policy Rule Collection resource.
+ Priority pulumi.IntPtrInput `pulumi:"priority"`
+ // The type of the rule collection.
+ // Expected value is 'FirewallPolicyNatRuleCollection'.
+ RuleCollectionType pulumi.StringInput `pulumi:"ruleCollectionType"`
+ // List of rules included in a rule collection.
+ Rules pulumi.ArrayInput `pulumi:"rules"`
}
-func (o ExpressRouteCircuitAuthorizationResponseArrayOutput) ToExpressRouteCircuitAuthorizationResponseArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitAuthorizationResponseArrayOutput {
- return o
+func (FirewallPolicyNatRuleCollectionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyNatRuleCollection)(nil)).Elem()
}
-func (o ExpressRouteCircuitAuthorizationResponseArrayOutput) Index(i pulumi.IntInput) ExpressRouteCircuitAuthorizationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteCircuitAuthorizationResponse {
- return vs[0].([]ExpressRouteCircuitAuthorizationResponse)[vs[1].(int)]
- }).(ExpressRouteCircuitAuthorizationResponseOutput)
+func (i FirewallPolicyNatRuleCollectionArgs) ToFirewallPolicyNatRuleCollectionOutput() FirewallPolicyNatRuleCollectionOutput {
+ return i.ToFirewallPolicyNatRuleCollectionOutputWithContext(context.Background())
}
-// Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
-type ExpressRouteCircuitConnectionType struct {
- // /29 IP address space to carve out Customer addresses for tunnels.
- AddressPrefix *string `pulumi:"addressPrefix"`
- // The authorization key.
- AuthorizationKey *string `pulumi:"authorizationKey"`
- // Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
- ExpressRouteCircuitPeering *SubResource `pulumi:"expressRouteCircuitPeering"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // IPv6 Address PrefixProperties of the express route circuit connection.
- Ipv6CircuitConnectionConfig *Ipv6CircuitConnectionConfig `pulumi:"ipv6CircuitConnectionConfig"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // Reference to Express Route Circuit Private Peering Resource of the peered circuit.
- PeerExpressRouteCircuitPeering *SubResource `pulumi:"peerExpressRouteCircuitPeering"`
+func (i FirewallPolicyNatRuleCollectionArgs) ToFirewallPolicyNatRuleCollectionOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyNatRuleCollectionOutput)
}
-// ExpressRouteCircuitConnectionTypeInput is an input type that accepts ExpressRouteCircuitConnectionTypeArgs and ExpressRouteCircuitConnectionTypeOutput values.
-// You can construct a concrete instance of `ExpressRouteCircuitConnectionTypeInput` via:
-//
-// ExpressRouteCircuitConnectionTypeArgs{...}
-type ExpressRouteCircuitConnectionTypeInput interface {
- pulumi.Input
+// Firewall Policy NAT Rule Collection.
+type FirewallPolicyNatRuleCollectionOutput struct{ *pulumi.OutputState }
- ToExpressRouteCircuitConnectionTypeOutput() ExpressRouteCircuitConnectionTypeOutput
- ToExpressRouteCircuitConnectionTypeOutputWithContext(context.Context) ExpressRouteCircuitConnectionTypeOutput
+func (FirewallPolicyNatRuleCollectionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyNatRuleCollection)(nil)).Elem()
}
-// Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
-type ExpressRouteCircuitConnectionTypeArgs struct {
- // /29 IP address space to carve out Customer addresses for tunnels.
- AddressPrefix pulumi.StringPtrInput `pulumi:"addressPrefix"`
- // The authorization key.
- AuthorizationKey pulumi.StringPtrInput `pulumi:"authorizationKey"`
- // Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
- ExpressRouteCircuitPeering SubResourcePtrInput `pulumi:"expressRouteCircuitPeering"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // IPv6 Address PrefixProperties of the express route circuit connection.
- Ipv6CircuitConnectionConfig Ipv6CircuitConnectionConfigPtrInput `pulumi:"ipv6CircuitConnectionConfig"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Reference to Express Route Circuit Private Peering Resource of the peered circuit.
- PeerExpressRouteCircuitPeering SubResourcePtrInput `pulumi:"peerExpressRouteCircuitPeering"`
+func (o FirewallPolicyNatRuleCollectionOutput) ToFirewallPolicyNatRuleCollectionOutput() FirewallPolicyNatRuleCollectionOutput {
+ return o
}
-func (ExpressRouteCircuitConnectionTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitConnectionType)(nil)).Elem()
+func (o FirewallPolicyNatRuleCollectionOutput) ToFirewallPolicyNatRuleCollectionOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionOutput {
+ return o
}
-func (i ExpressRouteCircuitConnectionTypeArgs) ToExpressRouteCircuitConnectionTypeOutput() ExpressRouteCircuitConnectionTypeOutput {
- return i.ToExpressRouteCircuitConnectionTypeOutputWithContext(context.Background())
+// The action type of a Nat rule collection.
+func (o FirewallPolicyNatRuleCollectionOutput) Action() FirewallPolicyNatRuleCollectionActionPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleCollection) *FirewallPolicyNatRuleCollectionAction { return v.Action }).(FirewallPolicyNatRuleCollectionActionPtrOutput)
}
-func (i ExpressRouteCircuitConnectionTypeArgs) ToExpressRouteCircuitConnectionTypeOutputWithContext(ctx context.Context) ExpressRouteCircuitConnectionTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitConnectionTypeOutput)
+// The name of the rule collection.
+func (o FirewallPolicyNatRuleCollectionOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleCollection) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// ExpressRouteCircuitConnectionTypeArrayInput is an input type that accepts ExpressRouteCircuitConnectionTypeArray and ExpressRouteCircuitConnectionTypeArrayOutput values.
-// You can construct a concrete instance of `ExpressRouteCircuitConnectionTypeArrayInput` via:
-//
-// ExpressRouteCircuitConnectionTypeArray{ ExpressRouteCircuitConnectionTypeArgs{...} }
-type ExpressRouteCircuitConnectionTypeArrayInput interface {
- pulumi.Input
-
- ToExpressRouteCircuitConnectionTypeArrayOutput() ExpressRouteCircuitConnectionTypeArrayOutput
- ToExpressRouteCircuitConnectionTypeArrayOutputWithContext(context.Context) ExpressRouteCircuitConnectionTypeArrayOutput
+// Priority of the Firewall Policy Rule Collection resource.
+func (o FirewallPolicyNatRuleCollectionOutput) Priority() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleCollection) *int { return v.Priority }).(pulumi.IntPtrOutput)
}
-type ExpressRouteCircuitConnectionTypeArray []ExpressRouteCircuitConnectionTypeInput
+// The type of the rule collection.
+// Expected value is 'FirewallPolicyNatRuleCollection'.
+func (o FirewallPolicyNatRuleCollectionOutput) RuleCollectionType() pulumi.StringOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleCollection) string { return v.RuleCollectionType }).(pulumi.StringOutput)
+}
-func (ExpressRouteCircuitConnectionTypeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExpressRouteCircuitConnectionType)(nil)).Elem()
+// List of rules included in a rule collection.
+func (o FirewallPolicyNatRuleCollectionOutput) Rules() pulumi.ArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleCollection) []interface{} { return v.Rules }).(pulumi.ArrayOutput)
}
-func (i ExpressRouteCircuitConnectionTypeArray) ToExpressRouteCircuitConnectionTypeArrayOutput() ExpressRouteCircuitConnectionTypeArrayOutput {
- return i.ToExpressRouteCircuitConnectionTypeArrayOutputWithContext(context.Background())
+// Properties of the FirewallPolicyNatRuleCollectionAction.
+type FirewallPolicyNatRuleCollectionAction struct {
+ // The type of action.
+ Type *string `pulumi:"type"`
}
-func (i ExpressRouteCircuitConnectionTypeArray) ToExpressRouteCircuitConnectionTypeArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitConnectionTypeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitConnectionTypeArrayOutput)
+// FirewallPolicyNatRuleCollectionActionInput is an input type that accepts FirewallPolicyNatRuleCollectionActionArgs and FirewallPolicyNatRuleCollectionActionOutput values.
+// You can construct a concrete instance of `FirewallPolicyNatRuleCollectionActionInput` via:
+//
+// FirewallPolicyNatRuleCollectionActionArgs{...}
+type FirewallPolicyNatRuleCollectionActionInput interface {
+ pulumi.Input
+
+ ToFirewallPolicyNatRuleCollectionActionOutput() FirewallPolicyNatRuleCollectionActionOutput
+ ToFirewallPolicyNatRuleCollectionActionOutputWithContext(context.Context) FirewallPolicyNatRuleCollectionActionOutput
}
-// Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
-type ExpressRouteCircuitConnectionTypeOutput struct{ *pulumi.OutputState }
+// Properties of the FirewallPolicyNatRuleCollectionAction.
+type FirewallPolicyNatRuleCollectionActionArgs struct {
+ // The type of action.
+ Type pulumi.StringPtrInput `pulumi:"type"`
+}
-func (ExpressRouteCircuitConnectionTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitConnectionType)(nil)).Elem()
+func (FirewallPolicyNatRuleCollectionActionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyNatRuleCollectionAction)(nil)).Elem()
}
-func (o ExpressRouteCircuitConnectionTypeOutput) ToExpressRouteCircuitConnectionTypeOutput() ExpressRouteCircuitConnectionTypeOutput {
- return o
+func (i FirewallPolicyNatRuleCollectionActionArgs) ToFirewallPolicyNatRuleCollectionActionOutput() FirewallPolicyNatRuleCollectionActionOutput {
+ return i.ToFirewallPolicyNatRuleCollectionActionOutputWithContext(context.Background())
}
-func (o ExpressRouteCircuitConnectionTypeOutput) ToExpressRouteCircuitConnectionTypeOutputWithContext(ctx context.Context) ExpressRouteCircuitConnectionTypeOutput {
- return o
+func (i FirewallPolicyNatRuleCollectionActionArgs) ToFirewallPolicyNatRuleCollectionActionOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionActionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyNatRuleCollectionActionOutput)
}
-// /29 IP address space to carve out Customer addresses for tunnels.
-func (o ExpressRouteCircuitConnectionTypeOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionType) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
+func (i FirewallPolicyNatRuleCollectionActionArgs) ToFirewallPolicyNatRuleCollectionActionPtrOutput() FirewallPolicyNatRuleCollectionActionPtrOutput {
+ return i.ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(context.Background())
}
-// The authorization key.
-func (o ExpressRouteCircuitConnectionTypeOutput) AuthorizationKey() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionType) *string { return v.AuthorizationKey }).(pulumi.StringPtrOutput)
+func (i FirewallPolicyNatRuleCollectionActionArgs) ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionActionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyNatRuleCollectionActionOutput).ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(ctx)
}
-// Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
-func (o ExpressRouteCircuitConnectionTypeOutput) ExpressRouteCircuitPeering() SubResourcePtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionType) *SubResource { return v.ExpressRouteCircuitPeering }).(SubResourcePtrOutput)
+// FirewallPolicyNatRuleCollectionActionPtrInput is an input type that accepts FirewallPolicyNatRuleCollectionActionArgs, FirewallPolicyNatRuleCollectionActionPtr and FirewallPolicyNatRuleCollectionActionPtrOutput values.
+// You can construct a concrete instance of `FirewallPolicyNatRuleCollectionActionPtrInput` via:
+//
+// FirewallPolicyNatRuleCollectionActionArgs{...}
+//
+// or:
+//
+// nil
+type FirewallPolicyNatRuleCollectionActionPtrInput interface {
+ pulumi.Input
+
+ ToFirewallPolicyNatRuleCollectionActionPtrOutput() FirewallPolicyNatRuleCollectionActionPtrOutput
+ ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(context.Context) FirewallPolicyNatRuleCollectionActionPtrOutput
}
-// Resource ID.
-func (o ExpressRouteCircuitConnectionTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionType) *string { return v.Id }).(pulumi.StringPtrOutput)
+type firewallPolicyNatRuleCollectionActionPtrType FirewallPolicyNatRuleCollectionActionArgs
+
+func FirewallPolicyNatRuleCollectionActionPtr(v *FirewallPolicyNatRuleCollectionActionArgs) FirewallPolicyNatRuleCollectionActionPtrInput {
+ return (*firewallPolicyNatRuleCollectionActionPtrType)(v)
}
-// IPv6 Address PrefixProperties of the express route circuit connection.
-func (o ExpressRouteCircuitConnectionTypeOutput) Ipv6CircuitConnectionConfig() Ipv6CircuitConnectionConfigPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionType) *Ipv6CircuitConnectionConfig {
- return v.Ipv6CircuitConnectionConfig
- }).(Ipv6CircuitConnectionConfigPtrOutput)
+func (*firewallPolicyNatRuleCollectionActionPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyNatRuleCollectionAction)(nil)).Elem()
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o ExpressRouteCircuitConnectionTypeOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionType) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (i *firewallPolicyNatRuleCollectionActionPtrType) ToFirewallPolicyNatRuleCollectionActionPtrOutput() FirewallPolicyNatRuleCollectionActionPtrOutput {
+ return i.ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(context.Background())
}
-// Reference to Express Route Circuit Private Peering Resource of the peered circuit.
-func (o ExpressRouteCircuitConnectionTypeOutput) PeerExpressRouteCircuitPeering() SubResourcePtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionType) *SubResource { return v.PeerExpressRouteCircuitPeering }).(SubResourcePtrOutput)
+func (i *firewallPolicyNatRuleCollectionActionPtrType) ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionActionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyNatRuleCollectionActionPtrOutput)
}
-type ExpressRouteCircuitConnectionTypeArrayOutput struct{ *pulumi.OutputState }
+// Properties of the FirewallPolicyNatRuleCollectionAction.
+type FirewallPolicyNatRuleCollectionActionOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitConnectionTypeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExpressRouteCircuitConnectionType)(nil)).Elem()
+func (FirewallPolicyNatRuleCollectionActionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyNatRuleCollectionAction)(nil)).Elem()
}
-func (o ExpressRouteCircuitConnectionTypeArrayOutput) ToExpressRouteCircuitConnectionTypeArrayOutput() ExpressRouteCircuitConnectionTypeArrayOutput {
+func (o FirewallPolicyNatRuleCollectionActionOutput) ToFirewallPolicyNatRuleCollectionActionOutput() FirewallPolicyNatRuleCollectionActionOutput {
return o
}
-func (o ExpressRouteCircuitConnectionTypeArrayOutput) ToExpressRouteCircuitConnectionTypeArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitConnectionTypeArrayOutput {
+func (o FirewallPolicyNatRuleCollectionActionOutput) ToFirewallPolicyNatRuleCollectionActionOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionActionOutput {
return o
}
-func (o ExpressRouteCircuitConnectionTypeArrayOutput) Index(i pulumi.IntInput) ExpressRouteCircuitConnectionTypeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteCircuitConnectionType {
- return vs[0].([]ExpressRouteCircuitConnectionType)[vs[1].(int)]
- }).(ExpressRouteCircuitConnectionTypeOutput)
+func (o FirewallPolicyNatRuleCollectionActionOutput) ToFirewallPolicyNatRuleCollectionActionPtrOutput() FirewallPolicyNatRuleCollectionActionPtrOutput {
+ return o.ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(context.Background())
}
-// Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
-type ExpressRouteCircuitConnectionResponse struct {
- // /29 IP address space to carve out Customer addresses for tunnels.
- AddressPrefix *string `pulumi:"addressPrefix"`
- // The authorization key.
- AuthorizationKey *string `pulumi:"authorizationKey"`
- // Express Route Circuit connection state.
- CircuitConnectionStatus string `pulumi:"circuitConnectionStatus"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
- ExpressRouteCircuitPeering *SubResourceResponse `pulumi:"expressRouteCircuitPeering"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // IPv6 Address PrefixProperties of the express route circuit connection.
- Ipv6CircuitConnectionConfig *Ipv6CircuitConnectionConfigResponse `pulumi:"ipv6CircuitConnectionConfig"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // Reference to Express Route Circuit Private Peering Resource of the peered circuit.
- PeerExpressRouteCircuitPeering *SubResourceResponse `pulumi:"peerExpressRouteCircuitPeering"`
- // The provisioning state of the express route circuit connection resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Type of the resource.
- Type string `pulumi:"type"`
+func (o FirewallPolicyNatRuleCollectionActionOutput) ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionActionPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyNatRuleCollectionAction) *FirewallPolicyNatRuleCollectionAction {
+ return &v
+ }).(FirewallPolicyNatRuleCollectionActionPtrOutput)
}
-// Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
-type ExpressRouteCircuitConnectionResponseOutput struct{ *pulumi.OutputState }
-
-func (ExpressRouteCircuitConnectionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitConnectionResponse)(nil)).Elem()
+// The type of action.
+func (o FirewallPolicyNatRuleCollectionActionOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleCollectionAction) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-func (o ExpressRouteCircuitConnectionResponseOutput) ToExpressRouteCircuitConnectionResponseOutput() ExpressRouteCircuitConnectionResponseOutput {
- return o
+type FirewallPolicyNatRuleCollectionActionPtrOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyNatRuleCollectionActionPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyNatRuleCollectionAction)(nil)).Elem()
}
-func (o ExpressRouteCircuitConnectionResponseOutput) ToExpressRouteCircuitConnectionResponseOutputWithContext(ctx context.Context) ExpressRouteCircuitConnectionResponseOutput {
+func (o FirewallPolicyNatRuleCollectionActionPtrOutput) ToFirewallPolicyNatRuleCollectionActionPtrOutput() FirewallPolicyNatRuleCollectionActionPtrOutput {
return o
}
-// /29 IP address space to carve out Customer addresses for tunnels.
-func (o ExpressRouteCircuitConnectionResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyNatRuleCollectionActionPtrOutput) ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionActionPtrOutput {
+ return o
}
-// The authorization key.
-func (o ExpressRouteCircuitConnectionResponseOutput) AuthorizationKey() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) *string { return v.AuthorizationKey }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyNatRuleCollectionActionPtrOutput) Elem() FirewallPolicyNatRuleCollectionActionOutput {
+ return o.ApplyT(func(v *FirewallPolicyNatRuleCollectionAction) FirewallPolicyNatRuleCollectionAction {
+ if v != nil {
+ return *v
+ }
+ var ret FirewallPolicyNatRuleCollectionAction
+ return ret
+ }).(FirewallPolicyNatRuleCollectionActionOutput)
}
-// Express Route Circuit connection state.
-func (o ExpressRouteCircuitConnectionResponseOutput) CircuitConnectionStatus() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) string { return v.CircuitConnectionStatus }).(pulumi.StringOutput)
+// The type of action.
+func (o FirewallPolicyNatRuleCollectionActionPtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyNatRuleCollectionAction) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Type
+ }).(pulumi.StringPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o ExpressRouteCircuitConnectionResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) string { return v.Etag }).(pulumi.StringOutput)
+// Properties of the FirewallPolicyNatRuleCollectionAction.
+type FirewallPolicyNatRuleCollectionActionResponse struct {
+ // The type of action.
+ Type *string `pulumi:"type"`
}
-// Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
-func (o ExpressRouteCircuitConnectionResponseOutput) ExpressRouteCircuitPeering() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) *SubResourceResponse {
- return v.ExpressRouteCircuitPeering
- }).(SubResourceResponsePtrOutput)
-}
+// Properties of the FirewallPolicyNatRuleCollectionAction.
+type FirewallPolicyNatRuleCollectionActionResponseOutput struct{ *pulumi.OutputState }
-// Resource ID.
-func (o ExpressRouteCircuitConnectionResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (FirewallPolicyNatRuleCollectionActionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyNatRuleCollectionActionResponse)(nil)).Elem()
}
-// IPv6 Address PrefixProperties of the express route circuit connection.
-func (o ExpressRouteCircuitConnectionResponseOutput) Ipv6CircuitConnectionConfig() Ipv6CircuitConnectionConfigResponsePtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) *Ipv6CircuitConnectionConfigResponse {
- return v.Ipv6CircuitConnectionConfig
- }).(Ipv6CircuitConnectionConfigResponsePtrOutput)
+func (o FirewallPolicyNatRuleCollectionActionResponseOutput) ToFirewallPolicyNatRuleCollectionActionResponseOutput() FirewallPolicyNatRuleCollectionActionResponseOutput {
+ return o
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o ExpressRouteCircuitConnectionResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyNatRuleCollectionActionResponseOutput) ToFirewallPolicyNatRuleCollectionActionResponseOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionActionResponseOutput {
+ return o
}
-// Reference to Express Route Circuit Private Peering Resource of the peered circuit.
-func (o ExpressRouteCircuitConnectionResponseOutput) PeerExpressRouteCircuitPeering() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) *SubResourceResponse {
- return v.PeerExpressRouteCircuitPeering
- }).(SubResourceResponsePtrOutput)
+// The type of action.
+func (o FirewallPolicyNatRuleCollectionActionResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleCollectionActionResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the express route circuit connection resource.
-func (o ExpressRouteCircuitConnectionResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
+type FirewallPolicyNatRuleCollectionActionResponsePtrOutput struct{ *pulumi.OutputState }
-// Type of the resource.
-func (o ExpressRouteCircuitConnectionResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteCircuitConnectionResponse) string { return v.Type }).(pulumi.StringOutput)
+func (FirewallPolicyNatRuleCollectionActionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyNatRuleCollectionActionResponse)(nil)).Elem()
}
-type ExpressRouteCircuitConnectionResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (ExpressRouteCircuitConnectionResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExpressRouteCircuitConnectionResponse)(nil)).Elem()
+func (o FirewallPolicyNatRuleCollectionActionResponsePtrOutput) ToFirewallPolicyNatRuleCollectionActionResponsePtrOutput() FirewallPolicyNatRuleCollectionActionResponsePtrOutput {
+ return o
}
-func (o ExpressRouteCircuitConnectionResponseArrayOutput) ToExpressRouteCircuitConnectionResponseArrayOutput() ExpressRouteCircuitConnectionResponseArrayOutput {
+func (o FirewallPolicyNatRuleCollectionActionResponsePtrOutput) ToFirewallPolicyNatRuleCollectionActionResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionActionResponsePtrOutput {
return o
}
-func (o ExpressRouteCircuitConnectionResponseArrayOutput) ToExpressRouteCircuitConnectionResponseArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitConnectionResponseArrayOutput {
- return o
+func (o FirewallPolicyNatRuleCollectionActionResponsePtrOutput) Elem() FirewallPolicyNatRuleCollectionActionResponseOutput {
+ return o.ApplyT(func(v *FirewallPolicyNatRuleCollectionActionResponse) FirewallPolicyNatRuleCollectionActionResponse {
+ if v != nil {
+ return *v
+ }
+ var ret FirewallPolicyNatRuleCollectionActionResponse
+ return ret
+ }).(FirewallPolicyNatRuleCollectionActionResponseOutput)
}
-func (o ExpressRouteCircuitConnectionResponseArrayOutput) Index(i pulumi.IntInput) ExpressRouteCircuitConnectionResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteCircuitConnectionResponse {
- return vs[0].([]ExpressRouteCircuitConnectionResponse)[vs[1].(int)]
- }).(ExpressRouteCircuitConnectionResponseOutput)
+// The type of action.
+func (o FirewallPolicyNatRuleCollectionActionResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyNatRuleCollectionActionResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Type
+ }).(pulumi.StringPtrOutput)
}
-// Peering in an ExpressRouteCircuit resource.
-type ExpressRouteCircuitPeeringType struct {
- // The Azure ASN.
- AzureASN *int `pulumi:"azureASN"`
- // The list of circuit connections associated with Azure Private Peering for this circuit.
- Connections []ExpressRouteCircuitConnectionType `pulumi:"connections"`
- // The GatewayManager Etag.
- GatewayManagerEtag *string `pulumi:"gatewayManagerEtag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The IPv6 peering configuration.
- Ipv6PeeringConfig *Ipv6ExpressRouteCircuitPeeringConfig `pulumi:"ipv6PeeringConfig"`
- // The Microsoft peering configuration.
- MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `pulumi:"microsoftPeeringConfig"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+// Firewall Policy NAT Rule Collection.
+type FirewallPolicyNatRuleCollectionResponse struct {
+ // The action type of a Nat rule collection.
+ Action *FirewallPolicyNatRuleCollectionActionResponse `pulumi:"action"`
+ // The name of the rule collection.
Name *string `pulumi:"name"`
- // The peer ASN.
- PeerASN *float64 `pulumi:"peerASN"`
- // The peering type.
- PeeringType *string `pulumi:"peeringType"`
- // The primary port.
- PrimaryAzurePort *string `pulumi:"primaryAzurePort"`
- // The primary address prefix.
- PrimaryPeerAddressPrefix *string `pulumi:"primaryPeerAddressPrefix"`
- // The reference to the RouteFilter resource.
- RouteFilter *SubResource `pulumi:"routeFilter"`
- // The secondary port.
- SecondaryAzurePort *string `pulumi:"secondaryAzurePort"`
- // The secondary address prefix.
- SecondaryPeerAddressPrefix *string `pulumi:"secondaryPeerAddressPrefix"`
- // The shared key.
- SharedKey *string `pulumi:"sharedKey"`
- // The peering state.
- State *string `pulumi:"state"`
- // The peering stats of express route circuit.
- Stats *ExpressRouteCircuitStats `pulumi:"stats"`
- // The VLAN ID.
- VlanId *int `pulumi:"vlanId"`
+ // Priority of the Firewall Policy Rule Collection resource.
+ Priority *int `pulumi:"priority"`
+ // The type of the rule collection.
+ // Expected value is 'FirewallPolicyNatRuleCollection'.
+ RuleCollectionType string `pulumi:"ruleCollectionType"`
+ // List of rules included in a rule collection.
+ Rules []interface{} `pulumi:"rules"`
}
-// ExpressRouteCircuitPeeringTypeInput is an input type that accepts ExpressRouteCircuitPeeringTypeArgs and ExpressRouteCircuitPeeringTypeOutput values.
-// You can construct a concrete instance of `ExpressRouteCircuitPeeringTypeInput` via:
-//
-// ExpressRouteCircuitPeeringTypeArgs{...}
-type ExpressRouteCircuitPeeringTypeInput interface {
- pulumi.Input
+// Firewall Policy NAT Rule Collection.
+type FirewallPolicyNatRuleCollectionResponseOutput struct{ *pulumi.OutputState }
- ToExpressRouteCircuitPeeringTypeOutput() ExpressRouteCircuitPeeringTypeOutput
- ToExpressRouteCircuitPeeringTypeOutputWithContext(context.Context) ExpressRouteCircuitPeeringTypeOutput
+func (FirewallPolicyNatRuleCollectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyNatRuleCollectionResponse)(nil)).Elem()
}
-// Peering in an ExpressRouteCircuit resource.
-type ExpressRouteCircuitPeeringTypeArgs struct {
- // The Azure ASN.
- AzureASN pulumi.IntPtrInput `pulumi:"azureASN"`
- // The list of circuit connections associated with Azure Private Peering for this circuit.
- Connections ExpressRouteCircuitConnectionTypeArrayInput `pulumi:"connections"`
- // The GatewayManager Etag.
- GatewayManagerEtag pulumi.StringPtrInput `pulumi:"gatewayManagerEtag"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The IPv6 peering configuration.
- Ipv6PeeringConfig Ipv6ExpressRouteCircuitPeeringConfigPtrInput `pulumi:"ipv6PeeringConfig"`
- // The Microsoft peering configuration.
- MicrosoftPeeringConfig ExpressRouteCircuitPeeringConfigPtrInput `pulumi:"microsoftPeeringConfig"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The peer ASN.
- PeerASN pulumi.Float64PtrInput `pulumi:"peerASN"`
- // The peering type.
- PeeringType pulumi.StringPtrInput `pulumi:"peeringType"`
- // The primary port.
- PrimaryAzurePort pulumi.StringPtrInput `pulumi:"primaryAzurePort"`
- // The primary address prefix.
- PrimaryPeerAddressPrefix pulumi.StringPtrInput `pulumi:"primaryPeerAddressPrefix"`
- // The reference to the RouteFilter resource.
- RouteFilter SubResourcePtrInput `pulumi:"routeFilter"`
- // The secondary port.
- SecondaryAzurePort pulumi.StringPtrInput `pulumi:"secondaryAzurePort"`
- // The secondary address prefix.
- SecondaryPeerAddressPrefix pulumi.StringPtrInput `pulumi:"secondaryPeerAddressPrefix"`
- // The shared key.
- SharedKey pulumi.StringPtrInput `pulumi:"sharedKey"`
- // The peering state.
- State pulumi.StringPtrInput `pulumi:"state"`
- // The peering stats of express route circuit.
- Stats ExpressRouteCircuitStatsPtrInput `pulumi:"stats"`
- // The VLAN ID.
- VlanId pulumi.IntPtrInput `pulumi:"vlanId"`
+func (o FirewallPolicyNatRuleCollectionResponseOutput) ToFirewallPolicyNatRuleCollectionResponseOutput() FirewallPolicyNatRuleCollectionResponseOutput {
+ return o
}
-func (ExpressRouteCircuitPeeringTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitPeeringType)(nil)).Elem()
+func (o FirewallPolicyNatRuleCollectionResponseOutput) ToFirewallPolicyNatRuleCollectionResponseOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionResponseOutput {
+ return o
}
-func (i ExpressRouteCircuitPeeringTypeArgs) ToExpressRouteCircuitPeeringTypeOutput() ExpressRouteCircuitPeeringTypeOutput {
- return i.ToExpressRouteCircuitPeeringTypeOutputWithContext(context.Background())
+// The action type of a Nat rule collection.
+func (o FirewallPolicyNatRuleCollectionResponseOutput) Action() FirewallPolicyNatRuleCollectionActionResponsePtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleCollectionResponse) *FirewallPolicyNatRuleCollectionActionResponse {
+ return v.Action
+ }).(FirewallPolicyNatRuleCollectionActionResponsePtrOutput)
}
-func (i ExpressRouteCircuitPeeringTypeArgs) ToExpressRouteCircuitPeeringTypeOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitPeeringTypeOutput)
+// The name of the rule collection.
+func (o FirewallPolicyNatRuleCollectionResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleCollectionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// ExpressRouteCircuitPeeringTypeArrayInput is an input type that accepts ExpressRouteCircuitPeeringTypeArray and ExpressRouteCircuitPeeringTypeArrayOutput values.
-// You can construct a concrete instance of `ExpressRouteCircuitPeeringTypeArrayInput` via:
-//
-// ExpressRouteCircuitPeeringTypeArray{ ExpressRouteCircuitPeeringTypeArgs{...} }
-type ExpressRouteCircuitPeeringTypeArrayInput interface {
- pulumi.Input
-
- ToExpressRouteCircuitPeeringTypeArrayOutput() ExpressRouteCircuitPeeringTypeArrayOutput
- ToExpressRouteCircuitPeeringTypeArrayOutputWithContext(context.Context) ExpressRouteCircuitPeeringTypeArrayOutput
+// Priority of the Firewall Policy Rule Collection resource.
+func (o FirewallPolicyNatRuleCollectionResponseOutput) Priority() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleCollectionResponse) *int { return v.Priority }).(pulumi.IntPtrOutput)
}
-type ExpressRouteCircuitPeeringTypeArray []ExpressRouteCircuitPeeringTypeInput
-
-func (ExpressRouteCircuitPeeringTypeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExpressRouteCircuitPeeringType)(nil)).Elem()
+// The type of the rule collection.
+// Expected value is 'FirewallPolicyNatRuleCollection'.
+func (o FirewallPolicyNatRuleCollectionResponseOutput) RuleCollectionType() pulumi.StringOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleCollectionResponse) string { return v.RuleCollectionType }).(pulumi.StringOutput)
}
-func (i ExpressRouteCircuitPeeringTypeArray) ToExpressRouteCircuitPeeringTypeArrayOutput() ExpressRouteCircuitPeeringTypeArrayOutput {
- return i.ToExpressRouteCircuitPeeringTypeArrayOutputWithContext(context.Background())
+// List of rules included in a rule collection.
+func (o FirewallPolicyNatRuleCollectionResponseOutput) Rules() pulumi.ArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleCollectionResponse) []interface{} { return v.Rules }).(pulumi.ArrayOutput)
}
-func (i ExpressRouteCircuitPeeringTypeArray) ToExpressRouteCircuitPeeringTypeArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringTypeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitPeeringTypeArrayOutput)
+// Firewall Policy NAT Rule.
+type FirewallPolicyNatRuleResponse struct {
+ // The action type of a Nat rule.
+ Action *FirewallPolicyNatRuleActionResponse `pulumi:"action"`
+ // The name of the rule.
+ Name *string `pulumi:"name"`
+ // Priority of the Firewall Policy Rule resource.
+ Priority *int `pulumi:"priority"`
+ // The match conditions for incoming traffic.
+ RuleCondition interface{} `pulumi:"ruleCondition"`
+ // The type of the rule.
+ // Expected value is 'FirewallPolicyNatRule'.
+ RuleType string `pulumi:"ruleType"`
+ // The translated address for this NAT rule.
+ TranslatedAddress *string `pulumi:"translatedAddress"`
+ // The translated port for this NAT rule.
+ TranslatedPort *string `pulumi:"translatedPort"`
}
-// Peering in an ExpressRouteCircuit resource.
-type ExpressRouteCircuitPeeringTypeOutput struct{ *pulumi.OutputState }
+// Firewall Policy NAT Rule.
+type FirewallPolicyNatRuleResponseOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitPeeringTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitPeeringType)(nil)).Elem()
+func (FirewallPolicyNatRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyNatRuleResponse)(nil)).Elem()
}
-func (o ExpressRouteCircuitPeeringTypeOutput) ToExpressRouteCircuitPeeringTypeOutput() ExpressRouteCircuitPeeringTypeOutput {
+func (o FirewallPolicyNatRuleResponseOutput) ToFirewallPolicyNatRuleResponseOutput() FirewallPolicyNatRuleResponseOutput {
return o
}
-func (o ExpressRouteCircuitPeeringTypeOutput) ToExpressRouteCircuitPeeringTypeOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringTypeOutput {
+func (o FirewallPolicyNatRuleResponseOutput) ToFirewallPolicyNatRuleResponseOutputWithContext(ctx context.Context) FirewallPolicyNatRuleResponseOutput {
return o
}
-// The Azure ASN.
-func (o ExpressRouteCircuitPeeringTypeOutput) AzureASN() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *int { return v.AzureASN }).(pulumi.IntPtrOutput)
+// The action type of a Nat rule.
+func (o FirewallPolicyNatRuleResponseOutput) Action() FirewallPolicyNatRuleActionResponsePtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleResponse) *FirewallPolicyNatRuleActionResponse { return v.Action }).(FirewallPolicyNatRuleActionResponsePtrOutput)
}
-// The list of circuit connections associated with Azure Private Peering for this circuit.
-func (o ExpressRouteCircuitPeeringTypeOutput) Connections() ExpressRouteCircuitConnectionTypeArrayOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) []ExpressRouteCircuitConnectionType { return v.Connections }).(ExpressRouteCircuitConnectionTypeArrayOutput)
+// The name of the rule.
+func (o FirewallPolicyNatRuleResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The GatewayManager Etag.
-func (o ExpressRouteCircuitPeeringTypeOutput) GatewayManagerEtag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.GatewayManagerEtag }).(pulumi.StringPtrOutput)
+// Priority of the Firewall Policy Rule resource.
+func (o FirewallPolicyNatRuleResponseOutput) Priority() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleResponse) *int { return v.Priority }).(pulumi.IntPtrOutput)
}
-// Resource ID.
-func (o ExpressRouteCircuitPeeringTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The match conditions for incoming traffic.
+func (o FirewallPolicyNatRuleResponseOutput) RuleCondition() pulumi.AnyOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleResponse) interface{} { return v.RuleCondition }).(pulumi.AnyOutput)
}
-// The IPv6 peering configuration.
-func (o ExpressRouteCircuitPeeringTypeOutput) Ipv6PeeringConfig() Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *Ipv6ExpressRouteCircuitPeeringConfig {
- return v.Ipv6PeeringConfig
- }).(Ipv6ExpressRouteCircuitPeeringConfigPtrOutput)
+// The type of the rule.
+// Expected value is 'FirewallPolicyNatRule'.
+func (o FirewallPolicyNatRuleResponseOutput) RuleType() pulumi.StringOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleResponse) string { return v.RuleType }).(pulumi.StringOutput)
}
-// The Microsoft peering configuration.
-func (o ExpressRouteCircuitPeeringTypeOutput) MicrosoftPeeringConfig() ExpressRouteCircuitPeeringConfigPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *ExpressRouteCircuitPeeringConfig {
- return v.MicrosoftPeeringConfig
- }).(ExpressRouteCircuitPeeringConfigPtrOutput)
+// The translated address for this NAT rule.
+func (o FirewallPolicyNatRuleResponseOutput) TranslatedAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleResponse) *string { return v.TranslatedAddress }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o ExpressRouteCircuitPeeringTypeOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The translated port for this NAT rule.
+func (o FirewallPolicyNatRuleResponseOutput) TranslatedPort() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyNatRuleResponse) *string { return v.TranslatedPort }).(pulumi.StringPtrOutput)
}
-// The peer ASN.
-func (o ExpressRouteCircuitPeeringTypeOutput) PeerASN() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *float64 { return v.PeerASN }).(pulumi.Float64PtrOutput)
+// Properties of the application rule protocol.
+type FirewallPolicyRuleApplicationProtocol struct {
+ // Port number for the protocol, cannot be greater than 64000.
+ Port *int `pulumi:"port"`
+ // Protocol type.
+ ProtocolType *string `pulumi:"protocolType"`
}
-// The peering type.
-func (o ExpressRouteCircuitPeeringTypeOutput) PeeringType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.PeeringType }).(pulumi.StringPtrOutput)
-}
+// FirewallPolicyRuleApplicationProtocolInput is an input type that accepts FirewallPolicyRuleApplicationProtocolArgs and FirewallPolicyRuleApplicationProtocolOutput values.
+// You can construct a concrete instance of `FirewallPolicyRuleApplicationProtocolInput` via:
+//
+// FirewallPolicyRuleApplicationProtocolArgs{...}
+type FirewallPolicyRuleApplicationProtocolInput interface {
+ pulumi.Input
-// The primary port.
-func (o ExpressRouteCircuitPeeringTypeOutput) PrimaryAzurePort() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.PrimaryAzurePort }).(pulumi.StringPtrOutput)
+ ToFirewallPolicyRuleApplicationProtocolOutput() FirewallPolicyRuleApplicationProtocolOutput
+ ToFirewallPolicyRuleApplicationProtocolOutputWithContext(context.Context) FirewallPolicyRuleApplicationProtocolOutput
}
-// The primary address prefix.
-func (o ExpressRouteCircuitPeeringTypeOutput) PrimaryPeerAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.PrimaryPeerAddressPrefix }).(pulumi.StringPtrOutput)
+// Properties of the application rule protocol.
+type FirewallPolicyRuleApplicationProtocolArgs struct {
+ // Port number for the protocol, cannot be greater than 64000.
+ Port pulumi.IntPtrInput `pulumi:"port"`
+ // Protocol type.
+ ProtocolType pulumi.StringPtrInput `pulumi:"protocolType"`
}
-// The reference to the RouteFilter resource.
-func (o ExpressRouteCircuitPeeringTypeOutput) RouteFilter() SubResourcePtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *SubResource { return v.RouteFilter }).(SubResourcePtrOutput)
+func (FirewallPolicyRuleApplicationProtocolArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyRuleApplicationProtocol)(nil)).Elem()
}
-// The secondary port.
-func (o ExpressRouteCircuitPeeringTypeOutput) SecondaryAzurePort() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.SecondaryAzurePort }).(pulumi.StringPtrOutput)
+func (i FirewallPolicyRuleApplicationProtocolArgs) ToFirewallPolicyRuleApplicationProtocolOutput() FirewallPolicyRuleApplicationProtocolOutput {
+ return i.ToFirewallPolicyRuleApplicationProtocolOutputWithContext(context.Background())
}
-// The secondary address prefix.
-func (o ExpressRouteCircuitPeeringTypeOutput) SecondaryPeerAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.SecondaryPeerAddressPrefix }).(pulumi.StringPtrOutput)
+func (i FirewallPolicyRuleApplicationProtocolArgs) ToFirewallPolicyRuleApplicationProtocolOutputWithContext(ctx context.Context) FirewallPolicyRuleApplicationProtocolOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleApplicationProtocolOutput)
}
-// The shared key.
-func (o ExpressRouteCircuitPeeringTypeOutput) SharedKey() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.SharedKey }).(pulumi.StringPtrOutput)
+// FirewallPolicyRuleApplicationProtocolArrayInput is an input type that accepts FirewallPolicyRuleApplicationProtocolArray and FirewallPolicyRuleApplicationProtocolArrayOutput values.
+// You can construct a concrete instance of `FirewallPolicyRuleApplicationProtocolArrayInput` via:
+//
+// FirewallPolicyRuleApplicationProtocolArray{ FirewallPolicyRuleApplicationProtocolArgs{...} }
+type FirewallPolicyRuleApplicationProtocolArrayInput interface {
+ pulumi.Input
+
+ ToFirewallPolicyRuleApplicationProtocolArrayOutput() FirewallPolicyRuleApplicationProtocolArrayOutput
+ ToFirewallPolicyRuleApplicationProtocolArrayOutputWithContext(context.Context) FirewallPolicyRuleApplicationProtocolArrayOutput
}
-// The peering state.
-func (o ExpressRouteCircuitPeeringTypeOutput) State() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *string { return v.State }).(pulumi.StringPtrOutput)
+type FirewallPolicyRuleApplicationProtocolArray []FirewallPolicyRuleApplicationProtocolInput
+
+func (FirewallPolicyRuleApplicationProtocolArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyRuleApplicationProtocol)(nil)).Elem()
}
-// The peering stats of express route circuit.
-func (o ExpressRouteCircuitPeeringTypeOutput) Stats() ExpressRouteCircuitStatsPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *ExpressRouteCircuitStats { return v.Stats }).(ExpressRouteCircuitStatsPtrOutput)
+func (i FirewallPolicyRuleApplicationProtocolArray) ToFirewallPolicyRuleApplicationProtocolArrayOutput() FirewallPolicyRuleApplicationProtocolArrayOutput {
+ return i.ToFirewallPolicyRuleApplicationProtocolArrayOutputWithContext(context.Background())
}
-// The VLAN ID.
-func (o ExpressRouteCircuitPeeringTypeOutput) VlanId() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringType) *int { return v.VlanId }).(pulumi.IntPtrOutput)
+func (i FirewallPolicyRuleApplicationProtocolArray) ToFirewallPolicyRuleApplicationProtocolArrayOutputWithContext(ctx context.Context) FirewallPolicyRuleApplicationProtocolArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleApplicationProtocolArrayOutput)
}
-type ExpressRouteCircuitPeeringTypeArrayOutput struct{ *pulumi.OutputState }
+// Properties of the application rule protocol.
+type FirewallPolicyRuleApplicationProtocolOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitPeeringTypeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExpressRouteCircuitPeeringType)(nil)).Elem()
+func (FirewallPolicyRuleApplicationProtocolOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyRuleApplicationProtocol)(nil)).Elem()
}
-func (o ExpressRouteCircuitPeeringTypeArrayOutput) ToExpressRouteCircuitPeeringTypeArrayOutput() ExpressRouteCircuitPeeringTypeArrayOutput {
+func (o FirewallPolicyRuleApplicationProtocolOutput) ToFirewallPolicyRuleApplicationProtocolOutput() FirewallPolicyRuleApplicationProtocolOutput {
return o
}
-func (o ExpressRouteCircuitPeeringTypeArrayOutput) ToExpressRouteCircuitPeeringTypeArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringTypeArrayOutput {
+func (o FirewallPolicyRuleApplicationProtocolOutput) ToFirewallPolicyRuleApplicationProtocolOutputWithContext(ctx context.Context) FirewallPolicyRuleApplicationProtocolOutput {
return o
}
-func (o ExpressRouteCircuitPeeringTypeArrayOutput) Index(i pulumi.IntInput) ExpressRouteCircuitPeeringTypeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteCircuitPeeringType {
- return vs[0].([]ExpressRouteCircuitPeeringType)[vs[1].(int)]
- }).(ExpressRouteCircuitPeeringTypeOutput)
+// Port number for the protocol, cannot be greater than 64000.
+func (o FirewallPolicyRuleApplicationProtocolOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyRuleApplicationProtocol) *int { return v.Port }).(pulumi.IntPtrOutput)
}
-// Specifies the peering configuration.
-type ExpressRouteCircuitPeeringConfig struct {
- // The communities of bgp peering. Specified for microsoft peering.
- AdvertisedCommunities []string `pulumi:"advertisedCommunities"`
- // The reference to AdvertisedPublicPrefixes.
- AdvertisedPublicPrefixes []string `pulumi:"advertisedPublicPrefixes"`
- // The CustomerASN of the peering.
- CustomerASN *int `pulumi:"customerASN"`
- // The legacy mode of the peering.
- LegacyMode *int `pulumi:"legacyMode"`
- // The RoutingRegistryName of the configuration.
- RoutingRegistryName *string `pulumi:"routingRegistryName"`
+// Protocol type.
+func (o FirewallPolicyRuleApplicationProtocolOutput) ProtocolType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyRuleApplicationProtocol) *string { return v.ProtocolType }).(pulumi.StringPtrOutput)
}
-// ExpressRouteCircuitPeeringConfigInput is an input type that accepts ExpressRouteCircuitPeeringConfigArgs and ExpressRouteCircuitPeeringConfigOutput values.
-// You can construct a concrete instance of `ExpressRouteCircuitPeeringConfigInput` via:
-//
-// ExpressRouteCircuitPeeringConfigArgs{...}
-type ExpressRouteCircuitPeeringConfigInput interface {
- pulumi.Input
+type FirewallPolicyRuleApplicationProtocolArrayOutput struct{ *pulumi.OutputState }
- ToExpressRouteCircuitPeeringConfigOutput() ExpressRouteCircuitPeeringConfigOutput
- ToExpressRouteCircuitPeeringConfigOutputWithContext(context.Context) ExpressRouteCircuitPeeringConfigOutput
+func (FirewallPolicyRuleApplicationProtocolArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyRuleApplicationProtocol)(nil)).Elem()
}
-// Specifies the peering configuration.
-type ExpressRouteCircuitPeeringConfigArgs struct {
- // The communities of bgp peering. Specified for microsoft peering.
- AdvertisedCommunities pulumi.StringArrayInput `pulumi:"advertisedCommunities"`
- // The reference to AdvertisedPublicPrefixes.
- AdvertisedPublicPrefixes pulumi.StringArrayInput `pulumi:"advertisedPublicPrefixes"`
- // The CustomerASN of the peering.
- CustomerASN pulumi.IntPtrInput `pulumi:"customerASN"`
- // The legacy mode of the peering.
- LegacyMode pulumi.IntPtrInput `pulumi:"legacyMode"`
- // The RoutingRegistryName of the configuration.
- RoutingRegistryName pulumi.StringPtrInput `pulumi:"routingRegistryName"`
+func (o FirewallPolicyRuleApplicationProtocolArrayOutput) ToFirewallPolicyRuleApplicationProtocolArrayOutput() FirewallPolicyRuleApplicationProtocolArrayOutput {
+ return o
}
-func (ExpressRouteCircuitPeeringConfigArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitPeeringConfig)(nil)).Elem()
+func (o FirewallPolicyRuleApplicationProtocolArrayOutput) ToFirewallPolicyRuleApplicationProtocolArrayOutputWithContext(ctx context.Context) FirewallPolicyRuleApplicationProtocolArrayOutput {
+ return o
}
-func (i ExpressRouteCircuitPeeringConfigArgs) ToExpressRouteCircuitPeeringConfigOutput() ExpressRouteCircuitPeeringConfigOutput {
- return i.ToExpressRouteCircuitPeeringConfigOutputWithContext(context.Background())
+func (o FirewallPolicyRuleApplicationProtocolArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleApplicationProtocolOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleApplicationProtocol {
+ return vs[0].([]FirewallPolicyRuleApplicationProtocol)[vs[1].(int)]
+ }).(FirewallPolicyRuleApplicationProtocolOutput)
}
-func (i ExpressRouteCircuitPeeringConfigArgs) ToExpressRouteCircuitPeeringConfigOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringConfigOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitPeeringConfigOutput)
+// Properties of the application rule protocol.
+type FirewallPolicyRuleApplicationProtocolResponse struct {
+ // Port number for the protocol, cannot be greater than 64000.
+ Port *int `pulumi:"port"`
+ // Protocol type.
+ ProtocolType *string `pulumi:"protocolType"`
}
-func (i ExpressRouteCircuitPeeringConfigArgs) ToExpressRouteCircuitPeeringConfigPtrOutput() ExpressRouteCircuitPeeringConfigPtrOutput {
- return i.ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(context.Background())
-}
+// Properties of the application rule protocol.
+type FirewallPolicyRuleApplicationProtocolResponseOutput struct{ *pulumi.OutputState }
-func (i ExpressRouteCircuitPeeringConfigArgs) ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringConfigPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitPeeringConfigOutput).ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx)
+func (FirewallPolicyRuleApplicationProtocolResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyRuleApplicationProtocolResponse)(nil)).Elem()
}
-// ExpressRouteCircuitPeeringConfigPtrInput is an input type that accepts ExpressRouteCircuitPeeringConfigArgs, ExpressRouteCircuitPeeringConfigPtr and ExpressRouteCircuitPeeringConfigPtrOutput values.
-// You can construct a concrete instance of `ExpressRouteCircuitPeeringConfigPtrInput` via:
-//
-// ExpressRouteCircuitPeeringConfigArgs{...}
-//
-// or:
-//
-// nil
-type ExpressRouteCircuitPeeringConfigPtrInput interface {
- pulumi.Input
+func (o FirewallPolicyRuleApplicationProtocolResponseOutput) ToFirewallPolicyRuleApplicationProtocolResponseOutput() FirewallPolicyRuleApplicationProtocolResponseOutput {
+ return o
+}
- ToExpressRouteCircuitPeeringConfigPtrOutput() ExpressRouteCircuitPeeringConfigPtrOutput
- ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(context.Context) ExpressRouteCircuitPeeringConfigPtrOutput
+func (o FirewallPolicyRuleApplicationProtocolResponseOutput) ToFirewallPolicyRuleApplicationProtocolResponseOutputWithContext(ctx context.Context) FirewallPolicyRuleApplicationProtocolResponseOutput {
+ return o
}
-type expressRouteCircuitPeeringConfigPtrType ExpressRouteCircuitPeeringConfigArgs
+// Port number for the protocol, cannot be greater than 64000.
+func (o FirewallPolicyRuleApplicationProtocolResponseOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyRuleApplicationProtocolResponse) *int { return v.Port }).(pulumi.IntPtrOutput)
+}
-func ExpressRouteCircuitPeeringConfigPtr(v *ExpressRouteCircuitPeeringConfigArgs) ExpressRouteCircuitPeeringConfigPtrInput {
- return (*expressRouteCircuitPeeringConfigPtrType)(v)
+// Protocol type.
+func (o FirewallPolicyRuleApplicationProtocolResponseOutput) ProtocolType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyRuleApplicationProtocolResponse) *string { return v.ProtocolType }).(pulumi.StringPtrOutput)
}
-func (*expressRouteCircuitPeeringConfigPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteCircuitPeeringConfig)(nil)).Elem()
+type FirewallPolicyRuleApplicationProtocolResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyRuleApplicationProtocolResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyRuleApplicationProtocolResponse)(nil)).Elem()
}
-func (i *expressRouteCircuitPeeringConfigPtrType) ToExpressRouteCircuitPeeringConfigPtrOutput() ExpressRouteCircuitPeeringConfigPtrOutput {
- return i.ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(context.Background())
+func (o FirewallPolicyRuleApplicationProtocolResponseArrayOutput) ToFirewallPolicyRuleApplicationProtocolResponseArrayOutput() FirewallPolicyRuleApplicationProtocolResponseArrayOutput {
+ return o
}
-func (i *expressRouteCircuitPeeringConfigPtrType) ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringConfigPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitPeeringConfigPtrOutput)
+func (o FirewallPolicyRuleApplicationProtocolResponseArrayOutput) ToFirewallPolicyRuleApplicationProtocolResponseArrayOutputWithContext(ctx context.Context) FirewallPolicyRuleApplicationProtocolResponseArrayOutput {
+ return o
}
-// Specifies the peering configuration.
-type ExpressRouteCircuitPeeringConfigOutput struct{ *pulumi.OutputState }
+func (o FirewallPolicyRuleApplicationProtocolResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleApplicationProtocolResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleApplicationProtocolResponse {
+ return vs[0].([]FirewallPolicyRuleApplicationProtocolResponse)[vs[1].(int)]
+ }).(FirewallPolicyRuleApplicationProtocolResponseOutput)
+}
-func (ExpressRouteCircuitPeeringConfigOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitPeeringConfig)(nil)).Elem()
+// Properties of the application rule protocol.
+type FirewallPolicyRuleConditionApplicationProtocol struct {
+ // Port number for the protocol, cannot be greater than 64000.
+ Port *int `pulumi:"port"`
+ // Protocol type.
+ ProtocolType *string `pulumi:"protocolType"`
}
-func (o ExpressRouteCircuitPeeringConfigOutput) ToExpressRouteCircuitPeeringConfigOutput() ExpressRouteCircuitPeeringConfigOutput {
- return o
+// FirewallPolicyRuleConditionApplicationProtocolInput is an input type that accepts FirewallPolicyRuleConditionApplicationProtocolArgs and FirewallPolicyRuleConditionApplicationProtocolOutput values.
+// You can construct a concrete instance of `FirewallPolicyRuleConditionApplicationProtocolInput` via:
+//
+// FirewallPolicyRuleConditionApplicationProtocolArgs{...}
+type FirewallPolicyRuleConditionApplicationProtocolInput interface {
+ pulumi.Input
+
+ ToFirewallPolicyRuleConditionApplicationProtocolOutput() FirewallPolicyRuleConditionApplicationProtocolOutput
+ ToFirewallPolicyRuleConditionApplicationProtocolOutputWithContext(context.Context) FirewallPolicyRuleConditionApplicationProtocolOutput
}
-func (o ExpressRouteCircuitPeeringConfigOutput) ToExpressRouteCircuitPeeringConfigOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringConfigOutput {
- return o
+// Properties of the application rule protocol.
+type FirewallPolicyRuleConditionApplicationProtocolArgs struct {
+ // Port number for the protocol, cannot be greater than 64000.
+ Port pulumi.IntPtrInput `pulumi:"port"`
+ // Protocol type.
+ ProtocolType pulumi.StringPtrInput `pulumi:"protocolType"`
}
-func (o ExpressRouteCircuitPeeringConfigOutput) ToExpressRouteCircuitPeeringConfigPtrOutput() ExpressRouteCircuitPeeringConfigPtrOutput {
- return o.ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(context.Background())
+func (FirewallPolicyRuleConditionApplicationProtocolArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyRuleConditionApplicationProtocol)(nil)).Elem()
}
-func (o ExpressRouteCircuitPeeringConfigOutput) ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringConfigPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ExpressRouteCircuitPeeringConfig) *ExpressRouteCircuitPeeringConfig {
- return &v
- }).(ExpressRouteCircuitPeeringConfigPtrOutput)
+func (i FirewallPolicyRuleConditionApplicationProtocolArgs) ToFirewallPolicyRuleConditionApplicationProtocolOutput() FirewallPolicyRuleConditionApplicationProtocolOutput {
+ return i.ToFirewallPolicyRuleConditionApplicationProtocolOutputWithContext(context.Background())
}
-// The communities of bgp peering. Specified for microsoft peering.
-func (o ExpressRouteCircuitPeeringConfigOutput) AdvertisedCommunities() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringConfig) []string { return v.AdvertisedCommunities }).(pulumi.StringArrayOutput)
+func (i FirewallPolicyRuleConditionApplicationProtocolArgs) ToFirewallPolicyRuleConditionApplicationProtocolOutputWithContext(ctx context.Context) FirewallPolicyRuleConditionApplicationProtocolOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleConditionApplicationProtocolOutput)
}
-// The reference to AdvertisedPublicPrefixes.
-func (o ExpressRouteCircuitPeeringConfigOutput) AdvertisedPublicPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringConfig) []string { return v.AdvertisedPublicPrefixes }).(pulumi.StringArrayOutput)
+// FirewallPolicyRuleConditionApplicationProtocolArrayInput is an input type that accepts FirewallPolicyRuleConditionApplicationProtocolArray and FirewallPolicyRuleConditionApplicationProtocolArrayOutput values.
+// You can construct a concrete instance of `FirewallPolicyRuleConditionApplicationProtocolArrayInput` via:
+//
+// FirewallPolicyRuleConditionApplicationProtocolArray{ FirewallPolicyRuleConditionApplicationProtocolArgs{...} }
+type FirewallPolicyRuleConditionApplicationProtocolArrayInput interface {
+ pulumi.Input
+
+ ToFirewallPolicyRuleConditionApplicationProtocolArrayOutput() FirewallPolicyRuleConditionApplicationProtocolArrayOutput
+ ToFirewallPolicyRuleConditionApplicationProtocolArrayOutputWithContext(context.Context) FirewallPolicyRuleConditionApplicationProtocolArrayOutput
}
-// The CustomerASN of the peering.
-func (o ExpressRouteCircuitPeeringConfigOutput) CustomerASN() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringConfig) *int { return v.CustomerASN }).(pulumi.IntPtrOutput)
+type FirewallPolicyRuleConditionApplicationProtocolArray []FirewallPolicyRuleConditionApplicationProtocolInput
+
+func (FirewallPolicyRuleConditionApplicationProtocolArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyRuleConditionApplicationProtocol)(nil)).Elem()
}
-// The legacy mode of the peering.
-func (o ExpressRouteCircuitPeeringConfigOutput) LegacyMode() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringConfig) *int { return v.LegacyMode }).(pulumi.IntPtrOutput)
+func (i FirewallPolicyRuleConditionApplicationProtocolArray) ToFirewallPolicyRuleConditionApplicationProtocolArrayOutput() FirewallPolicyRuleConditionApplicationProtocolArrayOutput {
+ return i.ToFirewallPolicyRuleConditionApplicationProtocolArrayOutputWithContext(context.Background())
}
-// The RoutingRegistryName of the configuration.
-func (o ExpressRouteCircuitPeeringConfigOutput) RoutingRegistryName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringConfig) *string { return v.RoutingRegistryName }).(pulumi.StringPtrOutput)
+func (i FirewallPolicyRuleConditionApplicationProtocolArray) ToFirewallPolicyRuleConditionApplicationProtocolArrayOutputWithContext(ctx context.Context) FirewallPolicyRuleConditionApplicationProtocolArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleConditionApplicationProtocolArrayOutput)
}
-type ExpressRouteCircuitPeeringConfigPtrOutput struct{ *pulumi.OutputState }
+// Properties of the application rule protocol.
+type FirewallPolicyRuleConditionApplicationProtocolOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitPeeringConfigPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteCircuitPeeringConfig)(nil)).Elem()
+func (FirewallPolicyRuleConditionApplicationProtocolOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyRuleConditionApplicationProtocol)(nil)).Elem()
}
-func (o ExpressRouteCircuitPeeringConfigPtrOutput) ToExpressRouteCircuitPeeringConfigPtrOutput() ExpressRouteCircuitPeeringConfigPtrOutput {
+func (o FirewallPolicyRuleConditionApplicationProtocolOutput) ToFirewallPolicyRuleConditionApplicationProtocolOutput() FirewallPolicyRuleConditionApplicationProtocolOutput {
return o
}
-func (o ExpressRouteCircuitPeeringConfigPtrOutput) ToExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringConfigPtrOutput {
+func (o FirewallPolicyRuleConditionApplicationProtocolOutput) ToFirewallPolicyRuleConditionApplicationProtocolOutputWithContext(ctx context.Context) FirewallPolicyRuleConditionApplicationProtocolOutput {
return o
}
-func (o ExpressRouteCircuitPeeringConfigPtrOutput) Elem() ExpressRouteCircuitPeeringConfigOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfig) ExpressRouteCircuitPeeringConfig {
- if v != nil {
- return *v
- }
- var ret ExpressRouteCircuitPeeringConfig
- return ret
- }).(ExpressRouteCircuitPeeringConfigOutput)
+// Port number for the protocol, cannot be greater than 64000.
+func (o FirewallPolicyRuleConditionApplicationProtocolOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyRuleConditionApplicationProtocol) *int { return v.Port }).(pulumi.IntPtrOutput)
}
-// The communities of bgp peering. Specified for microsoft peering.
-func (o ExpressRouteCircuitPeeringConfigPtrOutput) AdvertisedCommunities() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfig) []string {
- if v == nil {
- return nil
- }
- return v.AdvertisedCommunities
- }).(pulumi.StringArrayOutput)
+// Protocol type.
+func (o FirewallPolicyRuleConditionApplicationProtocolOutput) ProtocolType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyRuleConditionApplicationProtocol) *string { return v.ProtocolType }).(pulumi.StringPtrOutput)
}
-// The reference to AdvertisedPublicPrefixes.
-func (o ExpressRouteCircuitPeeringConfigPtrOutput) AdvertisedPublicPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfig) []string {
- if v == nil {
- return nil
- }
- return v.AdvertisedPublicPrefixes
- }).(pulumi.StringArrayOutput)
+type FirewallPolicyRuleConditionApplicationProtocolArrayOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyRuleConditionApplicationProtocolArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyRuleConditionApplicationProtocol)(nil)).Elem()
}
-// The CustomerASN of the peering.
-func (o ExpressRouteCircuitPeeringConfigPtrOutput) CustomerASN() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfig) *int {
- if v == nil {
- return nil
- }
- return v.CustomerASN
- }).(pulumi.IntPtrOutput)
+func (o FirewallPolicyRuleConditionApplicationProtocolArrayOutput) ToFirewallPolicyRuleConditionApplicationProtocolArrayOutput() FirewallPolicyRuleConditionApplicationProtocolArrayOutput {
+ return o
}
-// The legacy mode of the peering.
-func (o ExpressRouteCircuitPeeringConfigPtrOutput) LegacyMode() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfig) *int {
- if v == nil {
- return nil
- }
- return v.LegacyMode
- }).(pulumi.IntPtrOutput)
+func (o FirewallPolicyRuleConditionApplicationProtocolArrayOutput) ToFirewallPolicyRuleConditionApplicationProtocolArrayOutputWithContext(ctx context.Context) FirewallPolicyRuleConditionApplicationProtocolArrayOutput {
+ return o
}
-// The RoutingRegistryName of the configuration.
-func (o ExpressRouteCircuitPeeringConfigPtrOutput) RoutingRegistryName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfig) *string {
- if v == nil {
- return nil
- }
- return v.RoutingRegistryName
- }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyRuleConditionApplicationProtocolArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleConditionApplicationProtocolOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleConditionApplicationProtocol {
+ return vs[0].([]FirewallPolicyRuleConditionApplicationProtocol)[vs[1].(int)]
+ }).(FirewallPolicyRuleConditionApplicationProtocolOutput)
}
-// Specifies the peering configuration.
-type ExpressRouteCircuitPeeringConfigResponse struct {
- // The communities of bgp peering. Specified for microsoft peering.
- AdvertisedCommunities []string `pulumi:"advertisedCommunities"`
- // The reference to AdvertisedPublicPrefixes.
- AdvertisedPublicPrefixes []string `pulumi:"advertisedPublicPrefixes"`
- // The advertised public prefix state of the Peering resource.
- AdvertisedPublicPrefixesState string `pulumi:"advertisedPublicPrefixesState"`
- // The CustomerASN of the peering.
- CustomerASN *int `pulumi:"customerASN"`
- // The legacy mode of the peering.
- LegacyMode *int `pulumi:"legacyMode"`
- // The RoutingRegistryName of the configuration.
- RoutingRegistryName *string `pulumi:"routingRegistryName"`
+// Properties of the application rule protocol.
+type FirewallPolicyRuleConditionApplicationProtocolResponse struct {
+ // Port number for the protocol, cannot be greater than 64000.
+ Port *int `pulumi:"port"`
+ // Protocol type.
+ ProtocolType *string `pulumi:"protocolType"`
}
-// Specifies the peering configuration.
-type ExpressRouteCircuitPeeringConfigResponseOutput struct{ *pulumi.OutputState }
+// Properties of the application rule protocol.
+type FirewallPolicyRuleConditionApplicationProtocolResponseOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitPeeringConfigResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitPeeringConfigResponse)(nil)).Elem()
+func (FirewallPolicyRuleConditionApplicationProtocolResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyRuleConditionApplicationProtocolResponse)(nil)).Elem()
}
-func (o ExpressRouteCircuitPeeringConfigResponseOutput) ToExpressRouteCircuitPeeringConfigResponseOutput() ExpressRouteCircuitPeeringConfigResponseOutput {
+func (o FirewallPolicyRuleConditionApplicationProtocolResponseOutput) ToFirewallPolicyRuleConditionApplicationProtocolResponseOutput() FirewallPolicyRuleConditionApplicationProtocolResponseOutput {
return o
}
-func (o ExpressRouteCircuitPeeringConfigResponseOutput) ToExpressRouteCircuitPeeringConfigResponseOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringConfigResponseOutput {
+func (o FirewallPolicyRuleConditionApplicationProtocolResponseOutput) ToFirewallPolicyRuleConditionApplicationProtocolResponseOutputWithContext(ctx context.Context) FirewallPolicyRuleConditionApplicationProtocolResponseOutput {
return o
}
-// The communities of bgp peering. Specified for microsoft peering.
-func (o ExpressRouteCircuitPeeringConfigResponseOutput) AdvertisedCommunities() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringConfigResponse) []string { return v.AdvertisedCommunities }).(pulumi.StringArrayOutput)
-}
-
-// The reference to AdvertisedPublicPrefixes.
-func (o ExpressRouteCircuitPeeringConfigResponseOutput) AdvertisedPublicPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringConfigResponse) []string { return v.AdvertisedPublicPrefixes }).(pulumi.StringArrayOutput)
-}
-
-// The advertised public prefix state of the Peering resource.
-func (o ExpressRouteCircuitPeeringConfigResponseOutput) AdvertisedPublicPrefixesState() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringConfigResponse) string { return v.AdvertisedPublicPrefixesState }).(pulumi.StringOutput)
+// Port number for the protocol, cannot be greater than 64000.
+func (o FirewallPolicyRuleConditionApplicationProtocolResponseOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyRuleConditionApplicationProtocolResponse) *int { return v.Port }).(pulumi.IntPtrOutput)
}
-// The CustomerASN of the peering.
-func (o ExpressRouteCircuitPeeringConfigResponseOutput) CustomerASN() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringConfigResponse) *int { return v.CustomerASN }).(pulumi.IntPtrOutput)
+// Protocol type.
+func (o FirewallPolicyRuleConditionApplicationProtocolResponseOutput) ProtocolType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyRuleConditionApplicationProtocolResponse) *string { return v.ProtocolType }).(pulumi.StringPtrOutput)
}
-// The legacy mode of the peering.
-func (o ExpressRouteCircuitPeeringConfigResponseOutput) LegacyMode() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringConfigResponse) *int { return v.LegacyMode }).(pulumi.IntPtrOutput)
-}
+type FirewallPolicyRuleConditionApplicationProtocolResponseArrayOutput struct{ *pulumi.OutputState }
-// The RoutingRegistryName of the configuration.
-func (o ExpressRouteCircuitPeeringConfigResponseOutput) RoutingRegistryName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringConfigResponse) *string { return v.RoutingRegistryName }).(pulumi.StringPtrOutput)
+func (FirewallPolicyRuleConditionApplicationProtocolResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FirewallPolicyRuleConditionApplicationProtocolResponse)(nil)).Elem()
}
-type ExpressRouteCircuitPeeringConfigResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (ExpressRouteCircuitPeeringConfigResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteCircuitPeeringConfigResponse)(nil)).Elem()
+func (o FirewallPolicyRuleConditionApplicationProtocolResponseArrayOutput) ToFirewallPolicyRuleConditionApplicationProtocolResponseArrayOutput() FirewallPolicyRuleConditionApplicationProtocolResponseArrayOutput {
+ return o
}
-func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) ToExpressRouteCircuitPeeringConfigResponsePtrOutput() ExpressRouteCircuitPeeringConfigResponsePtrOutput {
+func (o FirewallPolicyRuleConditionApplicationProtocolResponseArrayOutput) ToFirewallPolicyRuleConditionApplicationProtocolResponseArrayOutputWithContext(ctx context.Context) FirewallPolicyRuleConditionApplicationProtocolResponseArrayOutput {
return o
}
-func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) ToExpressRouteCircuitPeeringConfigResponsePtrOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringConfigResponsePtrOutput {
- return o
+func (o FirewallPolicyRuleConditionApplicationProtocolResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleConditionApplicationProtocolResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleConditionApplicationProtocolResponse {
+ return vs[0].([]FirewallPolicyRuleConditionApplicationProtocolResponse)[vs[1].(int)]
+ }).(FirewallPolicyRuleConditionApplicationProtocolResponseOutput)
}
-func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) Elem() ExpressRouteCircuitPeeringConfigResponseOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfigResponse) ExpressRouteCircuitPeeringConfigResponse {
- if v != nil {
- return *v
- }
- var ret ExpressRouteCircuitPeeringConfigResponse
- return ret
- }).(ExpressRouteCircuitPeeringConfigResponseOutput)
+// The private IP addresses/IP ranges to which traffic will not be SNAT.
+type FirewallPolicySNAT struct {
+ // The operation mode for automatically learning private ranges to not be SNAT
+ AutoLearnPrivateRanges *string `pulumi:"autoLearnPrivateRanges"`
+ // List of private IP addresses/IP address ranges to not be SNAT.
+ PrivateRanges []string `pulumi:"privateRanges"`
}
-// The communities of bgp peering. Specified for microsoft peering.
-func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) AdvertisedCommunities() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfigResponse) []string {
- if v == nil {
- return nil
- }
- return v.AdvertisedCommunities
- }).(pulumi.StringArrayOutput)
+// FirewallPolicySNATInput is an input type that accepts FirewallPolicySNATArgs and FirewallPolicySNATOutput values.
+// You can construct a concrete instance of `FirewallPolicySNATInput` via:
+//
+// FirewallPolicySNATArgs{...}
+type FirewallPolicySNATInput interface {
+ pulumi.Input
+
+ ToFirewallPolicySNATOutput() FirewallPolicySNATOutput
+ ToFirewallPolicySNATOutputWithContext(context.Context) FirewallPolicySNATOutput
}
-// The reference to AdvertisedPublicPrefixes.
-func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) AdvertisedPublicPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfigResponse) []string {
- if v == nil {
- return nil
- }
- return v.AdvertisedPublicPrefixes
- }).(pulumi.StringArrayOutput)
+// The private IP addresses/IP ranges to which traffic will not be SNAT.
+type FirewallPolicySNATArgs struct {
+ // The operation mode for automatically learning private ranges to not be SNAT
+ AutoLearnPrivateRanges pulumi.StringPtrInput `pulumi:"autoLearnPrivateRanges"`
+ // List of private IP addresses/IP address ranges to not be SNAT.
+ PrivateRanges pulumi.StringArrayInput `pulumi:"privateRanges"`
}
-// The advertised public prefix state of the Peering resource.
-func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) AdvertisedPublicPrefixesState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfigResponse) *string {
- if v == nil {
- return nil
- }
- return &v.AdvertisedPublicPrefixesState
- }).(pulumi.StringPtrOutput)
+func (FirewallPolicySNATArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicySNAT)(nil)).Elem()
}
-// The CustomerASN of the peering.
-func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) CustomerASN() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfigResponse) *int {
- if v == nil {
- return nil
- }
- return v.CustomerASN
- }).(pulumi.IntPtrOutput)
+func (i FirewallPolicySNATArgs) ToFirewallPolicySNATOutput() FirewallPolicySNATOutput {
+ return i.ToFirewallPolicySNATOutputWithContext(context.Background())
}
-// The legacy mode of the peering.
-func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) LegacyMode() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfigResponse) *int {
- if v == nil {
- return nil
- }
- return v.LegacyMode
- }).(pulumi.IntPtrOutput)
+func (i FirewallPolicySNATArgs) ToFirewallPolicySNATOutputWithContext(ctx context.Context) FirewallPolicySNATOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySNATOutput)
}
-// The RoutingRegistryName of the configuration.
-func (o ExpressRouteCircuitPeeringConfigResponsePtrOutput) RoutingRegistryName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitPeeringConfigResponse) *string {
- if v == nil {
- return nil
- }
- return v.RoutingRegistryName
- }).(pulumi.StringPtrOutput)
+func (i FirewallPolicySNATArgs) ToFirewallPolicySNATPtrOutput() FirewallPolicySNATPtrOutput {
+ return i.ToFirewallPolicySNATPtrOutputWithContext(context.Background())
}
-// ExpressRoute circuit peering identifier.
-type ExpressRouteCircuitPeeringId struct {
- // The ID of the ExpressRoute circuit peering.
- Id *string `pulumi:"id"`
+func (i FirewallPolicySNATArgs) ToFirewallPolicySNATPtrOutputWithContext(ctx context.Context) FirewallPolicySNATPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySNATOutput).ToFirewallPolicySNATPtrOutputWithContext(ctx)
}
-// ExpressRouteCircuitPeeringIdInput is an input type that accepts ExpressRouteCircuitPeeringIdArgs and ExpressRouteCircuitPeeringIdOutput values.
-// You can construct a concrete instance of `ExpressRouteCircuitPeeringIdInput` via:
+// FirewallPolicySNATPtrInput is an input type that accepts FirewallPolicySNATArgs, FirewallPolicySNATPtr and FirewallPolicySNATPtrOutput values.
+// You can construct a concrete instance of `FirewallPolicySNATPtrInput` via:
//
-// ExpressRouteCircuitPeeringIdArgs{...}
-type ExpressRouteCircuitPeeringIdInput interface {
+// FirewallPolicySNATArgs{...}
+//
+// or:
+//
+// nil
+type FirewallPolicySNATPtrInput interface {
pulumi.Input
- ToExpressRouteCircuitPeeringIdOutput() ExpressRouteCircuitPeeringIdOutput
- ToExpressRouteCircuitPeeringIdOutputWithContext(context.Context) ExpressRouteCircuitPeeringIdOutput
+ ToFirewallPolicySNATPtrOutput() FirewallPolicySNATPtrOutput
+ ToFirewallPolicySNATPtrOutputWithContext(context.Context) FirewallPolicySNATPtrOutput
}
-// ExpressRoute circuit peering identifier.
-type ExpressRouteCircuitPeeringIdArgs struct {
- // The ID of the ExpressRoute circuit peering.
- Id pulumi.StringPtrInput `pulumi:"id"`
+type firewallPolicySNATPtrType FirewallPolicySNATArgs
+
+func FirewallPolicySNATPtr(v *FirewallPolicySNATArgs) FirewallPolicySNATPtrInput {
+ return (*firewallPolicySNATPtrType)(v)
}
-func (ExpressRouteCircuitPeeringIdArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitPeeringId)(nil)).Elem()
+func (*firewallPolicySNATPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicySNAT)(nil)).Elem()
}
-func (i ExpressRouteCircuitPeeringIdArgs) ToExpressRouteCircuitPeeringIdOutput() ExpressRouteCircuitPeeringIdOutput {
- return i.ToExpressRouteCircuitPeeringIdOutputWithContext(context.Background())
+func (i *firewallPolicySNATPtrType) ToFirewallPolicySNATPtrOutput() FirewallPolicySNATPtrOutput {
+ return i.ToFirewallPolicySNATPtrOutputWithContext(context.Background())
}
-func (i ExpressRouteCircuitPeeringIdArgs) ToExpressRouteCircuitPeeringIdOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringIdOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitPeeringIdOutput)
+func (i *firewallPolicySNATPtrType) ToFirewallPolicySNATPtrOutputWithContext(ctx context.Context) FirewallPolicySNATPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySNATPtrOutput)
}
-// ExpressRoute circuit peering identifier.
-type ExpressRouteCircuitPeeringIdOutput struct{ *pulumi.OutputState }
+// The private IP addresses/IP ranges to which traffic will not be SNAT.
+type FirewallPolicySNATOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitPeeringIdOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitPeeringId)(nil)).Elem()
+func (FirewallPolicySNATOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicySNAT)(nil)).Elem()
}
-func (o ExpressRouteCircuitPeeringIdOutput) ToExpressRouteCircuitPeeringIdOutput() ExpressRouteCircuitPeeringIdOutput {
+func (o FirewallPolicySNATOutput) ToFirewallPolicySNATOutput() FirewallPolicySNATOutput {
return o
}
-func (o ExpressRouteCircuitPeeringIdOutput) ToExpressRouteCircuitPeeringIdOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringIdOutput {
+func (o FirewallPolicySNATOutput) ToFirewallPolicySNATOutputWithContext(ctx context.Context) FirewallPolicySNATOutput {
return o
}
-// The ID of the ExpressRoute circuit peering.
-func (o ExpressRouteCircuitPeeringIdOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringId) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o FirewallPolicySNATOutput) ToFirewallPolicySNATPtrOutput() FirewallPolicySNATPtrOutput {
+ return o.ToFirewallPolicySNATPtrOutputWithContext(context.Background())
}
-// ExpressRoute circuit peering identifier.
-type ExpressRouteCircuitPeeringIdResponse struct {
- // The ID of the ExpressRoute circuit peering.
- Id *string `pulumi:"id"`
+func (o FirewallPolicySNATOutput) ToFirewallPolicySNATPtrOutputWithContext(ctx context.Context) FirewallPolicySNATPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicySNAT) *FirewallPolicySNAT {
+ return &v
+ }).(FirewallPolicySNATPtrOutput)
}
-// ExpressRoute circuit peering identifier.
-type ExpressRouteCircuitPeeringIdResponseOutput struct{ *pulumi.OutputState }
+// The operation mode for automatically learning private ranges to not be SNAT
+func (o FirewallPolicySNATOutput) AutoLearnPrivateRanges() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicySNAT) *string { return v.AutoLearnPrivateRanges }).(pulumi.StringPtrOutput)
+}
-func (ExpressRouteCircuitPeeringIdResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitPeeringIdResponse)(nil)).Elem()
+// List of private IP addresses/IP address ranges to not be SNAT.
+func (o FirewallPolicySNATOutput) PrivateRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicySNAT) []string { return v.PrivateRanges }).(pulumi.StringArrayOutput)
}
-func (o ExpressRouteCircuitPeeringIdResponseOutput) ToExpressRouteCircuitPeeringIdResponseOutput() ExpressRouteCircuitPeeringIdResponseOutput {
+type FirewallPolicySNATPtrOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicySNATPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicySNAT)(nil)).Elem()
+}
+
+func (o FirewallPolicySNATPtrOutput) ToFirewallPolicySNATPtrOutput() FirewallPolicySNATPtrOutput {
return o
}
-func (o ExpressRouteCircuitPeeringIdResponseOutput) ToExpressRouteCircuitPeeringIdResponseOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringIdResponseOutput {
+func (o FirewallPolicySNATPtrOutput) ToFirewallPolicySNATPtrOutputWithContext(ctx context.Context) FirewallPolicySNATPtrOutput {
return o
}
-// The ID of the ExpressRoute circuit peering.
-func (o ExpressRouteCircuitPeeringIdResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringIdResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o FirewallPolicySNATPtrOutput) Elem() FirewallPolicySNATOutput {
+ return o.ApplyT(func(v *FirewallPolicySNAT) FirewallPolicySNAT {
+ if v != nil {
+ return *v
+ }
+ var ret FirewallPolicySNAT
+ return ret
+ }).(FirewallPolicySNATOutput)
}
-// Peering in an ExpressRouteCircuit resource.
-type ExpressRouteCircuitPeeringResponse struct {
- // The Azure ASN.
- AzureASN *int `pulumi:"azureASN"`
- // The list of circuit connections associated with Azure Private Peering for this circuit.
- Connections []ExpressRouteCircuitConnectionResponse `pulumi:"connections"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The ExpressRoute connection.
- ExpressRouteConnection *ExpressRouteConnectionIdResponse `pulumi:"expressRouteConnection"`
- // The GatewayManager Etag.
- GatewayManagerEtag *string `pulumi:"gatewayManagerEtag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The IPv6 peering configuration.
- Ipv6PeeringConfig *Ipv6ExpressRouteCircuitPeeringConfigResponse `pulumi:"ipv6PeeringConfig"`
- // Who was the last to modify the peering.
- LastModifiedBy string `pulumi:"lastModifiedBy"`
- // The Microsoft peering configuration.
- MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfigResponse `pulumi:"microsoftPeeringConfig"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The peer ASN.
- PeerASN *float64 `pulumi:"peerASN"`
- // The list of peered circuit connections associated with Azure Private Peering for this circuit.
- PeeredConnections []PeerExpressRouteCircuitConnectionResponse `pulumi:"peeredConnections"`
- // The peering type.
- PeeringType *string `pulumi:"peeringType"`
- // The primary port.
- PrimaryAzurePort *string `pulumi:"primaryAzurePort"`
- // The primary address prefix.
- PrimaryPeerAddressPrefix *string `pulumi:"primaryPeerAddressPrefix"`
- // The provisioning state of the express route circuit peering resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The reference to the RouteFilter resource.
- RouteFilter *SubResourceResponse `pulumi:"routeFilter"`
- // The secondary port.
- SecondaryAzurePort *string `pulumi:"secondaryAzurePort"`
- // The secondary address prefix.
- SecondaryPeerAddressPrefix *string `pulumi:"secondaryPeerAddressPrefix"`
- // The shared key.
- SharedKey *string `pulumi:"sharedKey"`
- // The peering state.
- State *string `pulumi:"state"`
- // The peering stats of express route circuit.
- Stats *ExpressRouteCircuitStatsResponse `pulumi:"stats"`
- // Type of the resource.
- Type string `pulumi:"type"`
- // The VLAN ID.
- VlanId *int `pulumi:"vlanId"`
+// The operation mode for automatically learning private ranges to not be SNAT
+func (o FirewallPolicySNATPtrOutput) AutoLearnPrivateRanges() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicySNAT) *string {
+ if v == nil {
+ return nil
+ }
+ return v.AutoLearnPrivateRanges
+ }).(pulumi.StringPtrOutput)
}
-// Peering in an ExpressRouteCircuit resource.
-type ExpressRouteCircuitPeeringResponseOutput struct{ *pulumi.OutputState }
+// List of private IP addresses/IP address ranges to not be SNAT.
+func (o FirewallPolicySNATPtrOutput) PrivateRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *FirewallPolicySNAT) []string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateRanges
+ }).(pulumi.StringArrayOutput)
+}
-func (ExpressRouteCircuitPeeringResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitPeeringResponse)(nil)).Elem()
+// The private IP addresses/IP ranges to which traffic will not be SNAT.
+type FirewallPolicySNATResponse struct {
+ // The operation mode for automatically learning private ranges to not be SNAT
+ AutoLearnPrivateRanges *string `pulumi:"autoLearnPrivateRanges"`
+ // List of private IP addresses/IP address ranges to not be SNAT.
+ PrivateRanges []string `pulumi:"privateRanges"`
}
-func (o ExpressRouteCircuitPeeringResponseOutput) ToExpressRouteCircuitPeeringResponseOutput() ExpressRouteCircuitPeeringResponseOutput {
+// The private IP addresses/IP ranges to which traffic will not be SNAT.
+type FirewallPolicySNATResponseOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicySNATResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicySNATResponse)(nil)).Elem()
+}
+
+func (o FirewallPolicySNATResponseOutput) ToFirewallPolicySNATResponseOutput() FirewallPolicySNATResponseOutput {
return o
}
-func (o ExpressRouteCircuitPeeringResponseOutput) ToExpressRouteCircuitPeeringResponseOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringResponseOutput {
+func (o FirewallPolicySNATResponseOutput) ToFirewallPolicySNATResponseOutputWithContext(ctx context.Context) FirewallPolicySNATResponseOutput {
return o
}
-// The Azure ASN.
-func (o ExpressRouteCircuitPeeringResponseOutput) AzureASN() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *int { return v.AzureASN }).(pulumi.IntPtrOutput)
+// The operation mode for automatically learning private ranges to not be SNAT
+func (o FirewallPolicySNATResponseOutput) AutoLearnPrivateRanges() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicySNATResponse) *string { return v.AutoLearnPrivateRanges }).(pulumi.StringPtrOutput)
}
-// The list of circuit connections associated with Azure Private Peering for this circuit.
-func (o ExpressRouteCircuitPeeringResponseOutput) Connections() ExpressRouteCircuitConnectionResponseArrayOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) []ExpressRouteCircuitConnectionResponse {
- return v.Connections
- }).(ExpressRouteCircuitConnectionResponseArrayOutput)
+// List of private IP addresses/IP address ranges to not be SNAT.
+func (o FirewallPolicySNATResponseOutput) PrivateRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicySNATResponse) []string { return v.PrivateRanges }).(pulumi.StringArrayOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o ExpressRouteCircuitPeeringResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) string { return v.Etag }).(pulumi.StringOutput)
+type FirewallPolicySNATResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicySNATResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicySNATResponse)(nil)).Elem()
}
-// The ExpressRoute connection.
-func (o ExpressRouteCircuitPeeringResponseOutput) ExpressRouteConnection() ExpressRouteConnectionIdResponsePtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *ExpressRouteConnectionIdResponse {
- return v.ExpressRouteConnection
- }).(ExpressRouteConnectionIdResponsePtrOutput)
+func (o FirewallPolicySNATResponsePtrOutput) ToFirewallPolicySNATResponsePtrOutput() FirewallPolicySNATResponsePtrOutput {
+ return o
}
-// The GatewayManager Etag.
-func (o ExpressRouteCircuitPeeringResponseOutput) GatewayManagerEtag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.GatewayManagerEtag }).(pulumi.StringPtrOutput)
+func (o FirewallPolicySNATResponsePtrOutput) ToFirewallPolicySNATResponsePtrOutputWithContext(ctx context.Context) FirewallPolicySNATResponsePtrOutput {
+ return o
}
-// Resource ID.
-func (o ExpressRouteCircuitPeeringResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o FirewallPolicySNATResponsePtrOutput) Elem() FirewallPolicySNATResponseOutput {
+ return o.ApplyT(func(v *FirewallPolicySNATResponse) FirewallPolicySNATResponse {
+ if v != nil {
+ return *v
+ }
+ var ret FirewallPolicySNATResponse
+ return ret
+ }).(FirewallPolicySNATResponseOutput)
}
-// The IPv6 peering configuration.
-func (o ExpressRouteCircuitPeeringResponseOutput) Ipv6PeeringConfig() Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *Ipv6ExpressRouteCircuitPeeringConfigResponse {
- return v.Ipv6PeeringConfig
- }).(Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput)
+// The operation mode for automatically learning private ranges to not be SNAT
+func (o FirewallPolicySNATResponsePtrOutput) AutoLearnPrivateRanges() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicySNATResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.AutoLearnPrivateRanges
+ }).(pulumi.StringPtrOutput)
}
-// Who was the last to modify the peering.
-func (o ExpressRouteCircuitPeeringResponseOutput) LastModifiedBy() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) string { return v.LastModifiedBy }).(pulumi.StringOutput)
+// List of private IP addresses/IP address ranges to not be SNAT.
+func (o FirewallPolicySNATResponsePtrOutput) PrivateRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *FirewallPolicySNATResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateRanges
+ }).(pulumi.StringArrayOutput)
}
-// The Microsoft peering configuration.
-func (o ExpressRouteCircuitPeeringResponseOutput) MicrosoftPeeringConfig() ExpressRouteCircuitPeeringConfigResponsePtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *ExpressRouteCircuitPeeringConfigResponse {
- return v.MicrosoftPeeringConfig
- }).(ExpressRouteCircuitPeeringConfigResponsePtrOutput)
+// SQL Settings in Firewall Policy.
+type FirewallPolicySQL struct {
+ // A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
+ AllowSqlRedirect *bool `pulumi:"allowSqlRedirect"`
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o ExpressRouteCircuitPeeringResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// FirewallPolicySQLInput is an input type that accepts FirewallPolicySQLArgs and FirewallPolicySQLOutput values.
+// You can construct a concrete instance of `FirewallPolicySQLInput` via:
+//
+// FirewallPolicySQLArgs{...}
+type FirewallPolicySQLInput interface {
+ pulumi.Input
+
+ ToFirewallPolicySQLOutput() FirewallPolicySQLOutput
+ ToFirewallPolicySQLOutputWithContext(context.Context) FirewallPolicySQLOutput
}
-// The peer ASN.
-func (o ExpressRouteCircuitPeeringResponseOutput) PeerASN() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *float64 { return v.PeerASN }).(pulumi.Float64PtrOutput)
+// SQL Settings in Firewall Policy.
+type FirewallPolicySQLArgs struct {
+ // A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
+ AllowSqlRedirect pulumi.BoolPtrInput `pulumi:"allowSqlRedirect"`
}
-// The list of peered circuit connections associated with Azure Private Peering for this circuit.
-func (o ExpressRouteCircuitPeeringResponseOutput) PeeredConnections() PeerExpressRouteCircuitConnectionResponseArrayOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) []PeerExpressRouteCircuitConnectionResponse {
- return v.PeeredConnections
- }).(PeerExpressRouteCircuitConnectionResponseArrayOutput)
+func (FirewallPolicySQLArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicySQL)(nil)).Elem()
}
-// The peering type.
-func (o ExpressRouteCircuitPeeringResponseOutput) PeeringType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.PeeringType }).(pulumi.StringPtrOutput)
+func (i FirewallPolicySQLArgs) ToFirewallPolicySQLOutput() FirewallPolicySQLOutput {
+ return i.ToFirewallPolicySQLOutputWithContext(context.Background())
}
-// The primary port.
-func (o ExpressRouteCircuitPeeringResponseOutput) PrimaryAzurePort() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.PrimaryAzurePort }).(pulumi.StringPtrOutput)
-}
-
-// The primary address prefix.
-func (o ExpressRouteCircuitPeeringResponseOutput) PrimaryPeerAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.PrimaryPeerAddressPrefix }).(pulumi.StringPtrOutput)
-}
-
-// The provisioning state of the express route circuit peering resource.
-func (o ExpressRouteCircuitPeeringResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
-
-// The reference to the RouteFilter resource.
-func (o ExpressRouteCircuitPeeringResponseOutput) RouteFilter() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *SubResourceResponse { return v.RouteFilter }).(SubResourceResponsePtrOutput)
-}
-
-// The secondary port.
-func (o ExpressRouteCircuitPeeringResponseOutput) SecondaryAzurePort() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.SecondaryAzurePort }).(pulumi.StringPtrOutput)
-}
-
-// The secondary address prefix.
-func (o ExpressRouteCircuitPeeringResponseOutput) SecondaryPeerAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.SecondaryPeerAddressPrefix }).(pulumi.StringPtrOutput)
-}
-
-// The shared key.
-func (o ExpressRouteCircuitPeeringResponseOutput) SharedKey() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.SharedKey }).(pulumi.StringPtrOutput)
-}
-
-// The peering state.
-func (o ExpressRouteCircuitPeeringResponseOutput) State() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *string { return v.State }).(pulumi.StringPtrOutput)
-}
-
-// The peering stats of express route circuit.
-func (o ExpressRouteCircuitPeeringResponseOutput) Stats() ExpressRouteCircuitStatsResponsePtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *ExpressRouteCircuitStatsResponse { return v.Stats }).(ExpressRouteCircuitStatsResponsePtrOutput)
-}
-
-// Type of the resource.
-func (o ExpressRouteCircuitPeeringResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) string { return v.Type }).(pulumi.StringOutput)
-}
-
-// The VLAN ID.
-func (o ExpressRouteCircuitPeeringResponseOutput) VlanId() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitPeeringResponse) *int { return v.VlanId }).(pulumi.IntPtrOutput)
-}
-
-type ExpressRouteCircuitPeeringResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (ExpressRouteCircuitPeeringResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExpressRouteCircuitPeeringResponse)(nil)).Elem()
-}
-
-func (o ExpressRouteCircuitPeeringResponseArrayOutput) ToExpressRouteCircuitPeeringResponseArrayOutput() ExpressRouteCircuitPeeringResponseArrayOutput {
- return o
-}
-
-func (o ExpressRouteCircuitPeeringResponseArrayOutput) ToExpressRouteCircuitPeeringResponseArrayOutputWithContext(ctx context.Context) ExpressRouteCircuitPeeringResponseArrayOutput {
- return o
-}
-
-func (o ExpressRouteCircuitPeeringResponseArrayOutput) Index(i pulumi.IntInput) ExpressRouteCircuitPeeringResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteCircuitPeeringResponse {
- return vs[0].([]ExpressRouteCircuitPeeringResponse)[vs[1].(int)]
- }).(ExpressRouteCircuitPeeringResponseOutput)
-}
-
-// Contains ServiceProviderProperties in an ExpressRouteCircuit.
-type ExpressRouteCircuitServiceProviderProperties struct {
- // The BandwidthInMbps.
- BandwidthInMbps *int `pulumi:"bandwidthInMbps"`
- // The peering location.
- PeeringLocation *string `pulumi:"peeringLocation"`
- // The serviceProviderName.
- ServiceProviderName *string `pulumi:"serviceProviderName"`
-}
-
-// ExpressRouteCircuitServiceProviderPropertiesInput is an input type that accepts ExpressRouteCircuitServiceProviderPropertiesArgs and ExpressRouteCircuitServiceProviderPropertiesOutput values.
-// You can construct a concrete instance of `ExpressRouteCircuitServiceProviderPropertiesInput` via:
-//
-// ExpressRouteCircuitServiceProviderPropertiesArgs{...}
-type ExpressRouteCircuitServiceProviderPropertiesInput interface {
- pulumi.Input
-
- ToExpressRouteCircuitServiceProviderPropertiesOutput() ExpressRouteCircuitServiceProviderPropertiesOutput
- ToExpressRouteCircuitServiceProviderPropertiesOutputWithContext(context.Context) ExpressRouteCircuitServiceProviderPropertiesOutput
-}
-
-// Contains ServiceProviderProperties in an ExpressRouteCircuit.
-type ExpressRouteCircuitServiceProviderPropertiesArgs struct {
- // The BandwidthInMbps.
- BandwidthInMbps pulumi.IntPtrInput `pulumi:"bandwidthInMbps"`
- // The peering location.
- PeeringLocation pulumi.StringPtrInput `pulumi:"peeringLocation"`
- // The serviceProviderName.
- ServiceProviderName pulumi.StringPtrInput `pulumi:"serviceProviderName"`
-}
-
-func (ExpressRouteCircuitServiceProviderPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitServiceProviderProperties)(nil)).Elem()
-}
-
-func (i ExpressRouteCircuitServiceProviderPropertiesArgs) ToExpressRouteCircuitServiceProviderPropertiesOutput() ExpressRouteCircuitServiceProviderPropertiesOutput {
- return i.ToExpressRouteCircuitServiceProviderPropertiesOutputWithContext(context.Background())
-}
-
-func (i ExpressRouteCircuitServiceProviderPropertiesArgs) ToExpressRouteCircuitServiceProviderPropertiesOutputWithContext(ctx context.Context) ExpressRouteCircuitServiceProviderPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitServiceProviderPropertiesOutput)
+func (i FirewallPolicySQLArgs) ToFirewallPolicySQLOutputWithContext(ctx context.Context) FirewallPolicySQLOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySQLOutput)
}
-func (i ExpressRouteCircuitServiceProviderPropertiesArgs) ToExpressRouteCircuitServiceProviderPropertiesPtrOutput() ExpressRouteCircuitServiceProviderPropertiesPtrOutput {
- return i.ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(context.Background())
+func (i FirewallPolicySQLArgs) ToFirewallPolicySQLPtrOutput() FirewallPolicySQLPtrOutput {
+ return i.ToFirewallPolicySQLPtrOutputWithContext(context.Background())
}
-func (i ExpressRouteCircuitServiceProviderPropertiesArgs) ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitServiceProviderPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitServiceProviderPropertiesOutput).ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(ctx)
+func (i FirewallPolicySQLArgs) ToFirewallPolicySQLPtrOutputWithContext(ctx context.Context) FirewallPolicySQLPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySQLOutput).ToFirewallPolicySQLPtrOutputWithContext(ctx)
}
-// ExpressRouteCircuitServiceProviderPropertiesPtrInput is an input type that accepts ExpressRouteCircuitServiceProviderPropertiesArgs, ExpressRouteCircuitServiceProviderPropertiesPtr and ExpressRouteCircuitServiceProviderPropertiesPtrOutput values.
-// You can construct a concrete instance of `ExpressRouteCircuitServiceProviderPropertiesPtrInput` via:
+// FirewallPolicySQLPtrInput is an input type that accepts FirewallPolicySQLArgs, FirewallPolicySQLPtr and FirewallPolicySQLPtrOutput values.
+// You can construct a concrete instance of `FirewallPolicySQLPtrInput` via:
//
-// ExpressRouteCircuitServiceProviderPropertiesArgs{...}
+// FirewallPolicySQLArgs{...}
//
// or:
//
// nil
-type ExpressRouteCircuitServiceProviderPropertiesPtrInput interface {
+type FirewallPolicySQLPtrInput interface {
pulumi.Input
- ToExpressRouteCircuitServiceProviderPropertiesPtrOutput() ExpressRouteCircuitServiceProviderPropertiesPtrOutput
- ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(context.Context) ExpressRouteCircuitServiceProviderPropertiesPtrOutput
+ ToFirewallPolicySQLPtrOutput() FirewallPolicySQLPtrOutput
+ ToFirewallPolicySQLPtrOutputWithContext(context.Context) FirewallPolicySQLPtrOutput
}
-type expressRouteCircuitServiceProviderPropertiesPtrType ExpressRouteCircuitServiceProviderPropertiesArgs
+type firewallPolicySQLPtrType FirewallPolicySQLArgs
-func ExpressRouteCircuitServiceProviderPropertiesPtr(v *ExpressRouteCircuitServiceProviderPropertiesArgs) ExpressRouteCircuitServiceProviderPropertiesPtrInput {
- return (*expressRouteCircuitServiceProviderPropertiesPtrType)(v)
+func FirewallPolicySQLPtr(v *FirewallPolicySQLArgs) FirewallPolicySQLPtrInput {
+ return (*firewallPolicySQLPtrType)(v)
}
-func (*expressRouteCircuitServiceProviderPropertiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteCircuitServiceProviderProperties)(nil)).Elem()
+func (*firewallPolicySQLPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicySQL)(nil)).Elem()
}
-func (i *expressRouteCircuitServiceProviderPropertiesPtrType) ToExpressRouteCircuitServiceProviderPropertiesPtrOutput() ExpressRouteCircuitServiceProviderPropertiesPtrOutput {
- return i.ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(context.Background())
+func (i *firewallPolicySQLPtrType) ToFirewallPolicySQLPtrOutput() FirewallPolicySQLPtrOutput {
+ return i.ToFirewallPolicySQLPtrOutputWithContext(context.Background())
}
-func (i *expressRouteCircuitServiceProviderPropertiesPtrType) ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitServiceProviderPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitServiceProviderPropertiesPtrOutput)
+func (i *firewallPolicySQLPtrType) ToFirewallPolicySQLPtrOutputWithContext(ctx context.Context) FirewallPolicySQLPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySQLPtrOutput)
}
-// Contains ServiceProviderProperties in an ExpressRouteCircuit.
-type ExpressRouteCircuitServiceProviderPropertiesOutput struct{ *pulumi.OutputState }
+// SQL Settings in Firewall Policy.
+type FirewallPolicySQLOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitServiceProviderPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitServiceProviderProperties)(nil)).Elem()
+func (FirewallPolicySQLOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicySQL)(nil)).Elem()
}
-func (o ExpressRouteCircuitServiceProviderPropertiesOutput) ToExpressRouteCircuitServiceProviderPropertiesOutput() ExpressRouteCircuitServiceProviderPropertiesOutput {
+func (o FirewallPolicySQLOutput) ToFirewallPolicySQLOutput() FirewallPolicySQLOutput {
return o
}
-func (o ExpressRouteCircuitServiceProviderPropertiesOutput) ToExpressRouteCircuitServiceProviderPropertiesOutputWithContext(ctx context.Context) ExpressRouteCircuitServiceProviderPropertiesOutput {
+func (o FirewallPolicySQLOutput) ToFirewallPolicySQLOutputWithContext(ctx context.Context) FirewallPolicySQLOutput {
return o
}
-func (o ExpressRouteCircuitServiceProviderPropertiesOutput) ToExpressRouteCircuitServiceProviderPropertiesPtrOutput() ExpressRouteCircuitServiceProviderPropertiesPtrOutput {
- return o.ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(context.Background())
+func (o FirewallPolicySQLOutput) ToFirewallPolicySQLPtrOutput() FirewallPolicySQLPtrOutput {
+ return o.ToFirewallPolicySQLPtrOutputWithContext(context.Background())
}
-func (o ExpressRouteCircuitServiceProviderPropertiesOutput) ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitServiceProviderPropertiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ExpressRouteCircuitServiceProviderProperties) *ExpressRouteCircuitServiceProviderProperties {
+func (o FirewallPolicySQLOutput) ToFirewallPolicySQLPtrOutputWithContext(ctx context.Context) FirewallPolicySQLPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicySQL) *FirewallPolicySQL {
return &v
- }).(ExpressRouteCircuitServiceProviderPropertiesPtrOutput)
-}
-
-// The BandwidthInMbps.
-func (o ExpressRouteCircuitServiceProviderPropertiesOutput) BandwidthInMbps() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitServiceProviderProperties) *int { return v.BandwidthInMbps }).(pulumi.IntPtrOutput)
-}
-
-// The peering location.
-func (o ExpressRouteCircuitServiceProviderPropertiesOutput) PeeringLocation() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitServiceProviderProperties) *string { return v.PeeringLocation }).(pulumi.StringPtrOutput)
+ }).(FirewallPolicySQLPtrOutput)
}
-// The serviceProviderName.
-func (o ExpressRouteCircuitServiceProviderPropertiesOutput) ServiceProviderName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitServiceProviderProperties) *string { return v.ServiceProviderName }).(pulumi.StringPtrOutput)
+// A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
+func (o FirewallPolicySQLOutput) AllowSqlRedirect() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v FirewallPolicySQL) *bool { return v.AllowSqlRedirect }).(pulumi.BoolPtrOutput)
}
-type ExpressRouteCircuitServiceProviderPropertiesPtrOutput struct{ *pulumi.OutputState }
+type FirewallPolicySQLPtrOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitServiceProviderPropertiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteCircuitServiceProviderProperties)(nil)).Elem()
+func (FirewallPolicySQLPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicySQL)(nil)).Elem()
}
-func (o ExpressRouteCircuitServiceProviderPropertiesPtrOutput) ToExpressRouteCircuitServiceProviderPropertiesPtrOutput() ExpressRouteCircuitServiceProviderPropertiesPtrOutput {
+func (o FirewallPolicySQLPtrOutput) ToFirewallPolicySQLPtrOutput() FirewallPolicySQLPtrOutput {
return o
}
-func (o ExpressRouteCircuitServiceProviderPropertiesPtrOutput) ToExpressRouteCircuitServiceProviderPropertiesPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitServiceProviderPropertiesPtrOutput {
+func (o FirewallPolicySQLPtrOutput) ToFirewallPolicySQLPtrOutputWithContext(ctx context.Context) FirewallPolicySQLPtrOutput {
return o
}
-func (o ExpressRouteCircuitServiceProviderPropertiesPtrOutput) Elem() ExpressRouteCircuitServiceProviderPropertiesOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitServiceProviderProperties) ExpressRouteCircuitServiceProviderProperties {
+func (o FirewallPolicySQLPtrOutput) Elem() FirewallPolicySQLOutput {
+ return o.ApplyT(func(v *FirewallPolicySQL) FirewallPolicySQL {
if v != nil {
return *v
}
- var ret ExpressRouteCircuitServiceProviderProperties
+ var ret FirewallPolicySQL
return ret
- }).(ExpressRouteCircuitServiceProviderPropertiesOutput)
-}
-
-// The BandwidthInMbps.
-func (o ExpressRouteCircuitServiceProviderPropertiesPtrOutput) BandwidthInMbps() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitServiceProviderProperties) *int {
- if v == nil {
- return nil
- }
- return v.BandwidthInMbps
- }).(pulumi.IntPtrOutput)
-}
-
-// The peering location.
-func (o ExpressRouteCircuitServiceProviderPropertiesPtrOutput) PeeringLocation() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitServiceProviderProperties) *string {
- if v == nil {
- return nil
- }
- return v.PeeringLocation
- }).(pulumi.StringPtrOutput)
+ }).(FirewallPolicySQLOutput)
}
-// The serviceProviderName.
-func (o ExpressRouteCircuitServiceProviderPropertiesPtrOutput) ServiceProviderName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitServiceProviderProperties) *string {
+// A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
+func (o FirewallPolicySQLPtrOutput) AllowSqlRedirect() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicySQL) *bool {
if v == nil {
return nil
}
- return v.ServiceProviderName
- }).(pulumi.StringPtrOutput)
+ return v.AllowSqlRedirect
+ }).(pulumi.BoolPtrOutput)
}
-// Contains ServiceProviderProperties in an ExpressRouteCircuit.
-type ExpressRouteCircuitServiceProviderPropertiesResponse struct {
- // The BandwidthInMbps.
- BandwidthInMbps *int `pulumi:"bandwidthInMbps"`
- // The peering location.
- PeeringLocation *string `pulumi:"peeringLocation"`
- // The serviceProviderName.
- ServiceProviderName *string `pulumi:"serviceProviderName"`
+// SQL Settings in Firewall Policy.
+type FirewallPolicySQLResponse struct {
+ // A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
+ AllowSqlRedirect *bool `pulumi:"allowSqlRedirect"`
}
-// Contains ServiceProviderProperties in an ExpressRouteCircuit.
-type ExpressRouteCircuitServiceProviderPropertiesResponseOutput struct{ *pulumi.OutputState }
+// SQL Settings in Firewall Policy.
+type FirewallPolicySQLResponseOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitServiceProviderPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitServiceProviderPropertiesResponse)(nil)).Elem()
+func (FirewallPolicySQLResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicySQLResponse)(nil)).Elem()
}
-func (o ExpressRouteCircuitServiceProviderPropertiesResponseOutput) ToExpressRouteCircuitServiceProviderPropertiesResponseOutput() ExpressRouteCircuitServiceProviderPropertiesResponseOutput {
+func (o FirewallPolicySQLResponseOutput) ToFirewallPolicySQLResponseOutput() FirewallPolicySQLResponseOutput {
return o
}
-func (o ExpressRouteCircuitServiceProviderPropertiesResponseOutput) ToExpressRouteCircuitServiceProviderPropertiesResponseOutputWithContext(ctx context.Context) ExpressRouteCircuitServiceProviderPropertiesResponseOutput {
+func (o FirewallPolicySQLResponseOutput) ToFirewallPolicySQLResponseOutputWithContext(ctx context.Context) FirewallPolicySQLResponseOutput {
return o
}
-// The BandwidthInMbps.
-func (o ExpressRouteCircuitServiceProviderPropertiesResponseOutput) BandwidthInMbps() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitServiceProviderPropertiesResponse) *int { return v.BandwidthInMbps }).(pulumi.IntPtrOutput)
-}
-
-// The peering location.
-func (o ExpressRouteCircuitServiceProviderPropertiesResponseOutput) PeeringLocation() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitServiceProviderPropertiesResponse) *string { return v.PeeringLocation }).(pulumi.StringPtrOutput)
-}
-
-// The serviceProviderName.
-func (o ExpressRouteCircuitServiceProviderPropertiesResponseOutput) ServiceProviderName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitServiceProviderPropertiesResponse) *string { return v.ServiceProviderName }).(pulumi.StringPtrOutput)
+// A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
+func (o FirewallPolicySQLResponseOutput) AllowSqlRedirect() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v FirewallPolicySQLResponse) *bool { return v.AllowSqlRedirect }).(pulumi.BoolPtrOutput)
}
-type ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+type FirewallPolicySQLResponsePtrOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteCircuitServiceProviderPropertiesResponse)(nil)).Elem()
+func (FirewallPolicySQLResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicySQLResponse)(nil)).Elem()
}
-func (o ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput) ToExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput() ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput {
+func (o FirewallPolicySQLResponsePtrOutput) ToFirewallPolicySQLResponsePtrOutput() FirewallPolicySQLResponsePtrOutput {
return o
}
-func (o ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput) ToExpressRouteCircuitServiceProviderPropertiesResponsePtrOutputWithContext(ctx context.Context) ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput {
+func (o FirewallPolicySQLResponsePtrOutput) ToFirewallPolicySQLResponsePtrOutputWithContext(ctx context.Context) FirewallPolicySQLResponsePtrOutput {
return o
}
-func (o ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput) Elem() ExpressRouteCircuitServiceProviderPropertiesResponseOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitServiceProviderPropertiesResponse) ExpressRouteCircuitServiceProviderPropertiesResponse {
+func (o FirewallPolicySQLResponsePtrOutput) Elem() FirewallPolicySQLResponseOutput {
+ return o.ApplyT(func(v *FirewallPolicySQLResponse) FirewallPolicySQLResponse {
if v != nil {
return *v
}
- var ret ExpressRouteCircuitServiceProviderPropertiesResponse
+ var ret FirewallPolicySQLResponse
return ret
- }).(ExpressRouteCircuitServiceProviderPropertiesResponseOutput)
-}
-
-// The BandwidthInMbps.
-func (o ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput) BandwidthInMbps() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitServiceProviderPropertiesResponse) *int {
- if v == nil {
- return nil
- }
- return v.BandwidthInMbps
- }).(pulumi.IntPtrOutput)
-}
-
-// The peering location.
-func (o ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput) PeeringLocation() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitServiceProviderPropertiesResponse) *string {
- if v == nil {
- return nil
- }
- return v.PeeringLocation
- }).(pulumi.StringPtrOutput)
+ }).(FirewallPolicySQLResponseOutput)
}
-// The serviceProviderName.
-func (o ExpressRouteCircuitServiceProviderPropertiesResponsePtrOutput) ServiceProviderName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitServiceProviderPropertiesResponse) *string {
+// A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
+func (o FirewallPolicySQLResponsePtrOutput) AllowSqlRedirect() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicySQLResponse) *bool {
if v == nil {
return nil
}
- return v.ServiceProviderName
- }).(pulumi.StringPtrOutput)
+ return v.AllowSqlRedirect
+ }).(pulumi.BoolPtrOutput)
}
-// Contains SKU in an ExpressRouteCircuit.
-type ExpressRouteCircuitSku struct {
- // The family of the SKU.
- Family *string `pulumi:"family"`
- // The name of the SKU.
- Name *string `pulumi:"name"`
- // The tier of the SKU.
+// SKU of Firewall policy.
+type FirewallPolicySku struct {
+ // Tier of Firewall Policy.
Tier *string `pulumi:"tier"`
}
-// ExpressRouteCircuitSkuInput is an input type that accepts ExpressRouteCircuitSkuArgs and ExpressRouteCircuitSkuOutput values.
-// You can construct a concrete instance of `ExpressRouteCircuitSkuInput` via:
+// FirewallPolicySkuInput is an input type that accepts FirewallPolicySkuArgs and FirewallPolicySkuOutput values.
+// You can construct a concrete instance of `FirewallPolicySkuInput` via:
//
-// ExpressRouteCircuitSkuArgs{...}
-type ExpressRouteCircuitSkuInput interface {
+// FirewallPolicySkuArgs{...}
+type FirewallPolicySkuInput interface {
pulumi.Input
- ToExpressRouteCircuitSkuOutput() ExpressRouteCircuitSkuOutput
- ToExpressRouteCircuitSkuOutputWithContext(context.Context) ExpressRouteCircuitSkuOutput
+ ToFirewallPolicySkuOutput() FirewallPolicySkuOutput
+ ToFirewallPolicySkuOutputWithContext(context.Context) FirewallPolicySkuOutput
}
-// Contains SKU in an ExpressRouteCircuit.
-type ExpressRouteCircuitSkuArgs struct {
- // The family of the SKU.
- Family pulumi.StringPtrInput `pulumi:"family"`
- // The name of the SKU.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The tier of the SKU.
+// SKU of Firewall policy.
+type FirewallPolicySkuArgs struct {
+ // Tier of Firewall Policy.
Tier pulumi.StringPtrInput `pulumi:"tier"`
}
-func (ExpressRouteCircuitSkuArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitSku)(nil)).Elem()
+func (FirewallPolicySkuArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicySku)(nil)).Elem()
}
-func (i ExpressRouteCircuitSkuArgs) ToExpressRouteCircuitSkuOutput() ExpressRouteCircuitSkuOutput {
- return i.ToExpressRouteCircuitSkuOutputWithContext(context.Background())
+func (i FirewallPolicySkuArgs) ToFirewallPolicySkuOutput() FirewallPolicySkuOutput {
+ return i.ToFirewallPolicySkuOutputWithContext(context.Background())
}
-func (i ExpressRouteCircuitSkuArgs) ToExpressRouteCircuitSkuOutputWithContext(ctx context.Context) ExpressRouteCircuitSkuOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitSkuOutput)
+func (i FirewallPolicySkuArgs) ToFirewallPolicySkuOutputWithContext(ctx context.Context) FirewallPolicySkuOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySkuOutput)
}
-func (i ExpressRouteCircuitSkuArgs) ToExpressRouteCircuitSkuPtrOutput() ExpressRouteCircuitSkuPtrOutput {
- return i.ToExpressRouteCircuitSkuPtrOutputWithContext(context.Background())
+func (i FirewallPolicySkuArgs) ToFirewallPolicySkuPtrOutput() FirewallPolicySkuPtrOutput {
+ return i.ToFirewallPolicySkuPtrOutputWithContext(context.Background())
}
-func (i ExpressRouteCircuitSkuArgs) ToExpressRouteCircuitSkuPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitSkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitSkuOutput).ToExpressRouteCircuitSkuPtrOutputWithContext(ctx)
+func (i FirewallPolicySkuArgs) ToFirewallPolicySkuPtrOutputWithContext(ctx context.Context) FirewallPolicySkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySkuOutput).ToFirewallPolicySkuPtrOutputWithContext(ctx)
}
-// ExpressRouteCircuitSkuPtrInput is an input type that accepts ExpressRouteCircuitSkuArgs, ExpressRouteCircuitSkuPtr and ExpressRouteCircuitSkuPtrOutput values.
-// You can construct a concrete instance of `ExpressRouteCircuitSkuPtrInput` via:
+// FirewallPolicySkuPtrInput is an input type that accepts FirewallPolicySkuArgs, FirewallPolicySkuPtr and FirewallPolicySkuPtrOutput values.
+// You can construct a concrete instance of `FirewallPolicySkuPtrInput` via:
//
-// ExpressRouteCircuitSkuArgs{...}
+// FirewallPolicySkuArgs{...}
//
// or:
//
// nil
-type ExpressRouteCircuitSkuPtrInput interface {
+type FirewallPolicySkuPtrInput interface {
pulumi.Input
- ToExpressRouteCircuitSkuPtrOutput() ExpressRouteCircuitSkuPtrOutput
- ToExpressRouteCircuitSkuPtrOutputWithContext(context.Context) ExpressRouteCircuitSkuPtrOutput
+ ToFirewallPolicySkuPtrOutput() FirewallPolicySkuPtrOutput
+ ToFirewallPolicySkuPtrOutputWithContext(context.Context) FirewallPolicySkuPtrOutput
}
-type expressRouteCircuitSkuPtrType ExpressRouteCircuitSkuArgs
+type firewallPolicySkuPtrType FirewallPolicySkuArgs
-func ExpressRouteCircuitSkuPtr(v *ExpressRouteCircuitSkuArgs) ExpressRouteCircuitSkuPtrInput {
- return (*expressRouteCircuitSkuPtrType)(v)
+func FirewallPolicySkuPtr(v *FirewallPolicySkuArgs) FirewallPolicySkuPtrInput {
+ return (*firewallPolicySkuPtrType)(v)
}
-func (*expressRouteCircuitSkuPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteCircuitSku)(nil)).Elem()
+func (*firewallPolicySkuPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicySku)(nil)).Elem()
}
-func (i *expressRouteCircuitSkuPtrType) ToExpressRouteCircuitSkuPtrOutput() ExpressRouteCircuitSkuPtrOutput {
- return i.ToExpressRouteCircuitSkuPtrOutputWithContext(context.Background())
+func (i *firewallPolicySkuPtrType) ToFirewallPolicySkuPtrOutput() FirewallPolicySkuPtrOutput {
+ return i.ToFirewallPolicySkuPtrOutputWithContext(context.Background())
}
-func (i *expressRouteCircuitSkuPtrType) ToExpressRouteCircuitSkuPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitSkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitSkuPtrOutput)
+func (i *firewallPolicySkuPtrType) ToFirewallPolicySkuPtrOutputWithContext(ctx context.Context) FirewallPolicySkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySkuPtrOutput)
}
-// Contains SKU in an ExpressRouteCircuit.
-type ExpressRouteCircuitSkuOutput struct{ *pulumi.OutputState }
+// SKU of Firewall policy.
+type FirewallPolicySkuOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitSkuOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitSku)(nil)).Elem()
+func (FirewallPolicySkuOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicySku)(nil)).Elem()
}
-func (o ExpressRouteCircuitSkuOutput) ToExpressRouteCircuitSkuOutput() ExpressRouteCircuitSkuOutput {
+func (o FirewallPolicySkuOutput) ToFirewallPolicySkuOutput() FirewallPolicySkuOutput {
return o
}
-func (o ExpressRouteCircuitSkuOutput) ToExpressRouteCircuitSkuOutputWithContext(ctx context.Context) ExpressRouteCircuitSkuOutput {
+func (o FirewallPolicySkuOutput) ToFirewallPolicySkuOutputWithContext(ctx context.Context) FirewallPolicySkuOutput {
return o
}
-func (o ExpressRouteCircuitSkuOutput) ToExpressRouteCircuitSkuPtrOutput() ExpressRouteCircuitSkuPtrOutput {
- return o.ToExpressRouteCircuitSkuPtrOutputWithContext(context.Background())
+func (o FirewallPolicySkuOutput) ToFirewallPolicySkuPtrOutput() FirewallPolicySkuPtrOutput {
+ return o.ToFirewallPolicySkuPtrOutputWithContext(context.Background())
}
-func (o ExpressRouteCircuitSkuOutput) ToExpressRouteCircuitSkuPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitSkuPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ExpressRouteCircuitSku) *ExpressRouteCircuitSku {
+func (o FirewallPolicySkuOutput) ToFirewallPolicySkuPtrOutputWithContext(ctx context.Context) FirewallPolicySkuPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicySku) *FirewallPolicySku {
return &v
- }).(ExpressRouteCircuitSkuPtrOutput)
-}
-
-// The family of the SKU.
-func (o ExpressRouteCircuitSkuOutput) Family() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitSku) *string { return v.Family }).(pulumi.StringPtrOutput)
-}
-
-// The name of the SKU.
-func (o ExpressRouteCircuitSkuOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitSku) *string { return v.Name }).(pulumi.StringPtrOutput)
+ }).(FirewallPolicySkuPtrOutput)
}
-// The tier of the SKU.
-func (o ExpressRouteCircuitSkuOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitSku) *string { return v.Tier }).(pulumi.StringPtrOutput)
+// Tier of Firewall Policy.
+func (o FirewallPolicySkuOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicySku) *string { return v.Tier }).(pulumi.StringPtrOutput)
}
-type ExpressRouteCircuitSkuPtrOutput struct{ *pulumi.OutputState }
+type FirewallPolicySkuPtrOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitSkuPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteCircuitSku)(nil)).Elem()
+func (FirewallPolicySkuPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicySku)(nil)).Elem()
}
-func (o ExpressRouteCircuitSkuPtrOutput) ToExpressRouteCircuitSkuPtrOutput() ExpressRouteCircuitSkuPtrOutput {
+func (o FirewallPolicySkuPtrOutput) ToFirewallPolicySkuPtrOutput() FirewallPolicySkuPtrOutput {
return o
}
-func (o ExpressRouteCircuitSkuPtrOutput) ToExpressRouteCircuitSkuPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitSkuPtrOutput {
+func (o FirewallPolicySkuPtrOutput) ToFirewallPolicySkuPtrOutputWithContext(ctx context.Context) FirewallPolicySkuPtrOutput {
return o
}
-func (o ExpressRouteCircuitSkuPtrOutput) Elem() ExpressRouteCircuitSkuOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitSku) ExpressRouteCircuitSku {
+func (o FirewallPolicySkuPtrOutput) Elem() FirewallPolicySkuOutput {
+ return o.ApplyT(func(v *FirewallPolicySku) FirewallPolicySku {
if v != nil {
return *v
}
- var ret ExpressRouteCircuitSku
+ var ret FirewallPolicySku
return ret
- }).(ExpressRouteCircuitSkuOutput)
-}
-
-// The family of the SKU.
-func (o ExpressRouteCircuitSkuPtrOutput) Family() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitSku) *string {
- if v == nil {
- return nil
- }
- return v.Family
- }).(pulumi.StringPtrOutput)
-}
-
-// The name of the SKU.
-func (o ExpressRouteCircuitSkuPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitSku) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+ }).(FirewallPolicySkuOutput)
}
-// The tier of the SKU.
-func (o ExpressRouteCircuitSkuPtrOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitSku) *string {
+// Tier of Firewall Policy.
+func (o FirewallPolicySkuPtrOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicySku) *string {
if v == nil {
return nil
}
@@ -44253,93 +41899,59 @@ func (o ExpressRouteCircuitSkuPtrOutput) Tier() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-// Contains SKU in an ExpressRouteCircuit.
-type ExpressRouteCircuitSkuResponse struct {
- // The family of the SKU.
- Family *string `pulumi:"family"`
- // The name of the SKU.
- Name *string `pulumi:"name"`
- // The tier of the SKU.
+// SKU of Firewall policy.
+type FirewallPolicySkuResponse struct {
+ // Tier of Firewall Policy.
Tier *string `pulumi:"tier"`
}
-// Contains SKU in an ExpressRouteCircuit.
-type ExpressRouteCircuitSkuResponseOutput struct{ *pulumi.OutputState }
+// SKU of Firewall policy.
+type FirewallPolicySkuResponseOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitSkuResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitSkuResponse)(nil)).Elem()
+func (FirewallPolicySkuResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicySkuResponse)(nil)).Elem()
}
-func (o ExpressRouteCircuitSkuResponseOutput) ToExpressRouteCircuitSkuResponseOutput() ExpressRouteCircuitSkuResponseOutput {
+func (o FirewallPolicySkuResponseOutput) ToFirewallPolicySkuResponseOutput() FirewallPolicySkuResponseOutput {
return o
}
-func (o ExpressRouteCircuitSkuResponseOutput) ToExpressRouteCircuitSkuResponseOutputWithContext(ctx context.Context) ExpressRouteCircuitSkuResponseOutput {
+func (o FirewallPolicySkuResponseOutput) ToFirewallPolicySkuResponseOutputWithContext(ctx context.Context) FirewallPolicySkuResponseOutput {
return o
}
-// The family of the SKU.
-func (o ExpressRouteCircuitSkuResponseOutput) Family() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitSkuResponse) *string { return v.Family }).(pulumi.StringPtrOutput)
-}
-
-// The name of the SKU.
-func (o ExpressRouteCircuitSkuResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitSkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-// The tier of the SKU.
-func (o ExpressRouteCircuitSkuResponseOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitSkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput)
+// Tier of Firewall Policy.
+func (o FirewallPolicySkuResponseOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FirewallPolicySkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput)
}
-type ExpressRouteCircuitSkuResponsePtrOutput struct{ *pulumi.OutputState }
+type FirewallPolicySkuResponsePtrOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitSkuResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteCircuitSkuResponse)(nil)).Elem()
+func (FirewallPolicySkuResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicySkuResponse)(nil)).Elem()
}
-func (o ExpressRouteCircuitSkuResponsePtrOutput) ToExpressRouteCircuitSkuResponsePtrOutput() ExpressRouteCircuitSkuResponsePtrOutput {
+func (o FirewallPolicySkuResponsePtrOutput) ToFirewallPolicySkuResponsePtrOutput() FirewallPolicySkuResponsePtrOutput {
return o
}
-func (o ExpressRouteCircuitSkuResponsePtrOutput) ToExpressRouteCircuitSkuResponsePtrOutputWithContext(ctx context.Context) ExpressRouteCircuitSkuResponsePtrOutput {
+func (o FirewallPolicySkuResponsePtrOutput) ToFirewallPolicySkuResponsePtrOutputWithContext(ctx context.Context) FirewallPolicySkuResponsePtrOutput {
return o
}
-func (o ExpressRouteCircuitSkuResponsePtrOutput) Elem() ExpressRouteCircuitSkuResponseOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitSkuResponse) ExpressRouteCircuitSkuResponse {
+func (o FirewallPolicySkuResponsePtrOutput) Elem() FirewallPolicySkuResponseOutput {
+ return o.ApplyT(func(v *FirewallPolicySkuResponse) FirewallPolicySkuResponse {
if v != nil {
return *v
}
- var ret ExpressRouteCircuitSkuResponse
+ var ret FirewallPolicySkuResponse
return ret
- }).(ExpressRouteCircuitSkuResponseOutput)
-}
-
-// The family of the SKU.
-func (o ExpressRouteCircuitSkuResponsePtrOutput) Family() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitSkuResponse) *string {
- if v == nil {
- return nil
- }
- return v.Family
- }).(pulumi.StringPtrOutput)
-}
-
-// The name of the SKU.
-func (o ExpressRouteCircuitSkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitSkuResponse) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+ }).(FirewallPolicySkuResponseOutput)
}
-// The tier of the SKU.
-func (o ExpressRouteCircuitSkuResponsePtrOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitSkuResponse) *string {
+// Tier of Firewall Policy.
+func (o FirewallPolicySkuResponsePtrOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicySkuResponse) *string {
if v == nil {
return nil
}
@@ -44347,11190 +41959,13616 @@ func (o ExpressRouteCircuitSkuResponsePtrOutput) Tier() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-// Contains stats associated with the peering.
-type ExpressRouteCircuitStats struct {
- // The Primary BytesIn of the peering.
- PrimarybytesIn *float64 `pulumi:"primarybytesIn"`
- // The primary BytesOut of the peering.
- PrimarybytesOut *float64 `pulumi:"primarybytesOut"`
- // The secondary BytesIn of the peering.
- SecondarybytesIn *float64 `pulumi:"secondarybytesIn"`
- // The secondary BytesOut of the peering.
- SecondarybytesOut *float64 `pulumi:"secondarybytesOut"`
+// ThreatIntel Whitelist for Firewall Policy.
+type FirewallPolicyThreatIntelWhitelist struct {
+ // List of FQDNs for the ThreatIntel Whitelist.
+ Fqdns []string `pulumi:"fqdns"`
+ // List of IP addresses for the ThreatIntel Whitelist.
+ IpAddresses []string `pulumi:"ipAddresses"`
}
-// ExpressRouteCircuitStatsInput is an input type that accepts ExpressRouteCircuitStatsArgs and ExpressRouteCircuitStatsOutput values.
-// You can construct a concrete instance of `ExpressRouteCircuitStatsInput` via:
+// FirewallPolicyThreatIntelWhitelistInput is an input type that accepts FirewallPolicyThreatIntelWhitelistArgs and FirewallPolicyThreatIntelWhitelistOutput values.
+// You can construct a concrete instance of `FirewallPolicyThreatIntelWhitelistInput` via:
//
-// ExpressRouteCircuitStatsArgs{...}
-type ExpressRouteCircuitStatsInput interface {
+// FirewallPolicyThreatIntelWhitelistArgs{...}
+type FirewallPolicyThreatIntelWhitelistInput interface {
pulumi.Input
- ToExpressRouteCircuitStatsOutput() ExpressRouteCircuitStatsOutput
- ToExpressRouteCircuitStatsOutputWithContext(context.Context) ExpressRouteCircuitStatsOutput
+ ToFirewallPolicyThreatIntelWhitelistOutput() FirewallPolicyThreatIntelWhitelistOutput
+ ToFirewallPolicyThreatIntelWhitelistOutputWithContext(context.Context) FirewallPolicyThreatIntelWhitelistOutput
}
-// Contains stats associated with the peering.
-type ExpressRouteCircuitStatsArgs struct {
- // The Primary BytesIn of the peering.
- PrimarybytesIn pulumi.Float64PtrInput `pulumi:"primarybytesIn"`
- // The primary BytesOut of the peering.
- PrimarybytesOut pulumi.Float64PtrInput `pulumi:"primarybytesOut"`
- // The secondary BytesIn of the peering.
- SecondarybytesIn pulumi.Float64PtrInput `pulumi:"secondarybytesIn"`
- // The secondary BytesOut of the peering.
- SecondarybytesOut pulumi.Float64PtrInput `pulumi:"secondarybytesOut"`
+// ThreatIntel Whitelist for Firewall Policy.
+type FirewallPolicyThreatIntelWhitelistArgs struct {
+ // List of FQDNs for the ThreatIntel Whitelist.
+ Fqdns pulumi.StringArrayInput `pulumi:"fqdns"`
+ // List of IP addresses for the ThreatIntel Whitelist.
+ IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"`
}
-func (ExpressRouteCircuitStatsArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitStats)(nil)).Elem()
+func (FirewallPolicyThreatIntelWhitelistArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyThreatIntelWhitelist)(nil)).Elem()
}
-func (i ExpressRouteCircuitStatsArgs) ToExpressRouteCircuitStatsOutput() ExpressRouteCircuitStatsOutput {
- return i.ToExpressRouteCircuitStatsOutputWithContext(context.Background())
+func (i FirewallPolicyThreatIntelWhitelistArgs) ToFirewallPolicyThreatIntelWhitelistOutput() FirewallPolicyThreatIntelWhitelistOutput {
+ return i.ToFirewallPolicyThreatIntelWhitelistOutputWithContext(context.Background())
}
-func (i ExpressRouteCircuitStatsArgs) ToExpressRouteCircuitStatsOutputWithContext(ctx context.Context) ExpressRouteCircuitStatsOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitStatsOutput)
+func (i FirewallPolicyThreatIntelWhitelistArgs) ToFirewallPolicyThreatIntelWhitelistOutputWithContext(ctx context.Context) FirewallPolicyThreatIntelWhitelistOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyThreatIntelWhitelistOutput)
}
-func (i ExpressRouteCircuitStatsArgs) ToExpressRouteCircuitStatsPtrOutput() ExpressRouteCircuitStatsPtrOutput {
- return i.ToExpressRouteCircuitStatsPtrOutputWithContext(context.Background())
+func (i FirewallPolicyThreatIntelWhitelistArgs) ToFirewallPolicyThreatIntelWhitelistPtrOutput() FirewallPolicyThreatIntelWhitelistPtrOutput {
+ return i.ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(context.Background())
}
-func (i ExpressRouteCircuitStatsArgs) ToExpressRouteCircuitStatsPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitStatsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitStatsOutput).ToExpressRouteCircuitStatsPtrOutputWithContext(ctx)
+func (i FirewallPolicyThreatIntelWhitelistArgs) ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(ctx context.Context) FirewallPolicyThreatIntelWhitelistPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyThreatIntelWhitelistOutput).ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(ctx)
}
-// ExpressRouteCircuitStatsPtrInput is an input type that accepts ExpressRouteCircuitStatsArgs, ExpressRouteCircuitStatsPtr and ExpressRouteCircuitStatsPtrOutput values.
-// You can construct a concrete instance of `ExpressRouteCircuitStatsPtrInput` via:
+// FirewallPolicyThreatIntelWhitelistPtrInput is an input type that accepts FirewallPolicyThreatIntelWhitelistArgs, FirewallPolicyThreatIntelWhitelistPtr and FirewallPolicyThreatIntelWhitelistPtrOutput values.
+// You can construct a concrete instance of `FirewallPolicyThreatIntelWhitelistPtrInput` via:
//
-// ExpressRouteCircuitStatsArgs{...}
+// FirewallPolicyThreatIntelWhitelistArgs{...}
//
// or:
//
// nil
-type ExpressRouteCircuitStatsPtrInput interface {
+type FirewallPolicyThreatIntelWhitelistPtrInput interface {
pulumi.Input
- ToExpressRouteCircuitStatsPtrOutput() ExpressRouteCircuitStatsPtrOutput
- ToExpressRouteCircuitStatsPtrOutputWithContext(context.Context) ExpressRouteCircuitStatsPtrOutput
+ ToFirewallPolicyThreatIntelWhitelistPtrOutput() FirewallPolicyThreatIntelWhitelistPtrOutput
+ ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(context.Context) FirewallPolicyThreatIntelWhitelistPtrOutput
}
-type expressRouteCircuitStatsPtrType ExpressRouteCircuitStatsArgs
+type firewallPolicyThreatIntelWhitelistPtrType FirewallPolicyThreatIntelWhitelistArgs
-func ExpressRouteCircuitStatsPtr(v *ExpressRouteCircuitStatsArgs) ExpressRouteCircuitStatsPtrInput {
- return (*expressRouteCircuitStatsPtrType)(v)
+func FirewallPolicyThreatIntelWhitelistPtr(v *FirewallPolicyThreatIntelWhitelistArgs) FirewallPolicyThreatIntelWhitelistPtrInput {
+ return (*firewallPolicyThreatIntelWhitelistPtrType)(v)
}
-func (*expressRouteCircuitStatsPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteCircuitStats)(nil)).Elem()
+func (*firewallPolicyThreatIntelWhitelistPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyThreatIntelWhitelist)(nil)).Elem()
}
-func (i *expressRouteCircuitStatsPtrType) ToExpressRouteCircuitStatsPtrOutput() ExpressRouteCircuitStatsPtrOutput {
- return i.ToExpressRouteCircuitStatsPtrOutputWithContext(context.Background())
+func (i *firewallPolicyThreatIntelWhitelistPtrType) ToFirewallPolicyThreatIntelWhitelistPtrOutput() FirewallPolicyThreatIntelWhitelistPtrOutput {
+ return i.ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(context.Background())
}
-func (i *expressRouteCircuitStatsPtrType) ToExpressRouteCircuitStatsPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitStatsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteCircuitStatsPtrOutput)
+func (i *firewallPolicyThreatIntelWhitelistPtrType) ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(ctx context.Context) FirewallPolicyThreatIntelWhitelistPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyThreatIntelWhitelistPtrOutput)
}
-// Contains stats associated with the peering.
-type ExpressRouteCircuitStatsOutput struct{ *pulumi.OutputState }
+// ThreatIntel Whitelist for Firewall Policy.
+type FirewallPolicyThreatIntelWhitelistOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitStatsOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitStats)(nil)).Elem()
+func (FirewallPolicyThreatIntelWhitelistOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyThreatIntelWhitelist)(nil)).Elem()
}
-func (o ExpressRouteCircuitStatsOutput) ToExpressRouteCircuitStatsOutput() ExpressRouteCircuitStatsOutput {
+func (o FirewallPolicyThreatIntelWhitelistOutput) ToFirewallPolicyThreatIntelWhitelistOutput() FirewallPolicyThreatIntelWhitelistOutput {
return o
}
-func (o ExpressRouteCircuitStatsOutput) ToExpressRouteCircuitStatsOutputWithContext(ctx context.Context) ExpressRouteCircuitStatsOutput {
+func (o FirewallPolicyThreatIntelWhitelistOutput) ToFirewallPolicyThreatIntelWhitelistOutputWithContext(ctx context.Context) FirewallPolicyThreatIntelWhitelistOutput {
return o
}
-func (o ExpressRouteCircuitStatsOutput) ToExpressRouteCircuitStatsPtrOutput() ExpressRouteCircuitStatsPtrOutput {
- return o.ToExpressRouteCircuitStatsPtrOutputWithContext(context.Background())
+func (o FirewallPolicyThreatIntelWhitelistOutput) ToFirewallPolicyThreatIntelWhitelistPtrOutput() FirewallPolicyThreatIntelWhitelistPtrOutput {
+ return o.ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(context.Background())
}
-func (o ExpressRouteCircuitStatsOutput) ToExpressRouteCircuitStatsPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitStatsPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ExpressRouteCircuitStats) *ExpressRouteCircuitStats {
+func (o FirewallPolicyThreatIntelWhitelistOutput) ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(ctx context.Context) FirewallPolicyThreatIntelWhitelistPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyThreatIntelWhitelist) *FirewallPolicyThreatIntelWhitelist {
return &v
- }).(ExpressRouteCircuitStatsPtrOutput)
-}
-
-// The Primary BytesIn of the peering.
-func (o ExpressRouteCircuitStatsOutput) PrimarybytesIn() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitStats) *float64 { return v.PrimarybytesIn }).(pulumi.Float64PtrOutput)
-}
-
-// The primary BytesOut of the peering.
-func (o ExpressRouteCircuitStatsOutput) PrimarybytesOut() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitStats) *float64 { return v.PrimarybytesOut }).(pulumi.Float64PtrOutput)
+ }).(FirewallPolicyThreatIntelWhitelistPtrOutput)
}
-// The secondary BytesIn of the peering.
-func (o ExpressRouteCircuitStatsOutput) SecondarybytesIn() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitStats) *float64 { return v.SecondarybytesIn }).(pulumi.Float64PtrOutput)
+// List of FQDNs for the ThreatIntel Whitelist.
+func (o FirewallPolicyThreatIntelWhitelistOutput) Fqdns() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyThreatIntelWhitelist) []string { return v.Fqdns }).(pulumi.StringArrayOutput)
}
-// The secondary BytesOut of the peering.
-func (o ExpressRouteCircuitStatsOutput) SecondarybytesOut() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitStats) *float64 { return v.SecondarybytesOut }).(pulumi.Float64PtrOutput)
+// List of IP addresses for the ThreatIntel Whitelist.
+func (o FirewallPolicyThreatIntelWhitelistOutput) IpAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyThreatIntelWhitelist) []string { return v.IpAddresses }).(pulumi.StringArrayOutput)
}
-type ExpressRouteCircuitStatsPtrOutput struct{ *pulumi.OutputState }
+type FirewallPolicyThreatIntelWhitelistPtrOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitStatsPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteCircuitStats)(nil)).Elem()
+func (FirewallPolicyThreatIntelWhitelistPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyThreatIntelWhitelist)(nil)).Elem()
}
-func (o ExpressRouteCircuitStatsPtrOutput) ToExpressRouteCircuitStatsPtrOutput() ExpressRouteCircuitStatsPtrOutput {
+func (o FirewallPolicyThreatIntelWhitelistPtrOutput) ToFirewallPolicyThreatIntelWhitelistPtrOutput() FirewallPolicyThreatIntelWhitelistPtrOutput {
return o
}
-func (o ExpressRouteCircuitStatsPtrOutput) ToExpressRouteCircuitStatsPtrOutputWithContext(ctx context.Context) ExpressRouteCircuitStatsPtrOutput {
+func (o FirewallPolicyThreatIntelWhitelistPtrOutput) ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(ctx context.Context) FirewallPolicyThreatIntelWhitelistPtrOutput {
return o
}
-func (o ExpressRouteCircuitStatsPtrOutput) Elem() ExpressRouteCircuitStatsOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitStats) ExpressRouteCircuitStats {
+func (o FirewallPolicyThreatIntelWhitelistPtrOutput) Elem() FirewallPolicyThreatIntelWhitelistOutput {
+ return o.ApplyT(func(v *FirewallPolicyThreatIntelWhitelist) FirewallPolicyThreatIntelWhitelist {
if v != nil {
return *v
}
- var ret ExpressRouteCircuitStats
+ var ret FirewallPolicyThreatIntelWhitelist
return ret
- }).(ExpressRouteCircuitStatsOutput)
-}
-
-// The Primary BytesIn of the peering.
-func (o ExpressRouteCircuitStatsPtrOutput) PrimarybytesIn() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitStats) *float64 {
- if v == nil {
- return nil
- }
- return v.PrimarybytesIn
- }).(pulumi.Float64PtrOutput)
-}
-
-// The primary BytesOut of the peering.
-func (o ExpressRouteCircuitStatsPtrOutput) PrimarybytesOut() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitStats) *float64 {
- if v == nil {
- return nil
- }
- return v.PrimarybytesOut
- }).(pulumi.Float64PtrOutput)
+ }).(FirewallPolicyThreatIntelWhitelistOutput)
}
-// The secondary BytesIn of the peering.
-func (o ExpressRouteCircuitStatsPtrOutput) SecondarybytesIn() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitStats) *float64 {
+// List of FQDNs for the ThreatIntel Whitelist.
+func (o FirewallPolicyThreatIntelWhitelistPtrOutput) Fqdns() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *FirewallPolicyThreatIntelWhitelist) []string {
if v == nil {
return nil
}
- return v.SecondarybytesIn
- }).(pulumi.Float64PtrOutput)
+ return v.Fqdns
+ }).(pulumi.StringArrayOutput)
}
-// The secondary BytesOut of the peering.
-func (o ExpressRouteCircuitStatsPtrOutput) SecondarybytesOut() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitStats) *float64 {
+// List of IP addresses for the ThreatIntel Whitelist.
+func (o FirewallPolicyThreatIntelWhitelistPtrOutput) IpAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *FirewallPolicyThreatIntelWhitelist) []string {
if v == nil {
return nil
}
- return v.SecondarybytesOut
- }).(pulumi.Float64PtrOutput)
+ return v.IpAddresses
+ }).(pulumi.StringArrayOutput)
}
-// Contains stats associated with the peering.
-type ExpressRouteCircuitStatsResponse struct {
- // The Primary BytesIn of the peering.
- PrimarybytesIn *float64 `pulumi:"primarybytesIn"`
- // The primary BytesOut of the peering.
- PrimarybytesOut *float64 `pulumi:"primarybytesOut"`
- // The secondary BytesIn of the peering.
- SecondarybytesIn *float64 `pulumi:"secondarybytesIn"`
- // The secondary BytesOut of the peering.
- SecondarybytesOut *float64 `pulumi:"secondarybytesOut"`
+// ThreatIntel Whitelist for Firewall Policy.
+type FirewallPolicyThreatIntelWhitelistResponse struct {
+ // List of FQDNs for the ThreatIntel Whitelist.
+ Fqdns []string `pulumi:"fqdns"`
+ // List of IP addresses for the ThreatIntel Whitelist.
+ IpAddresses []string `pulumi:"ipAddresses"`
}
-// Contains stats associated with the peering.
-type ExpressRouteCircuitStatsResponseOutput struct{ *pulumi.OutputState }
+// ThreatIntel Whitelist for Firewall Policy.
+type FirewallPolicyThreatIntelWhitelistResponseOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitStatsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteCircuitStatsResponse)(nil)).Elem()
+func (FirewallPolicyThreatIntelWhitelistResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyThreatIntelWhitelistResponse)(nil)).Elem()
}
-func (o ExpressRouteCircuitStatsResponseOutput) ToExpressRouteCircuitStatsResponseOutput() ExpressRouteCircuitStatsResponseOutput {
+func (o FirewallPolicyThreatIntelWhitelistResponseOutput) ToFirewallPolicyThreatIntelWhitelistResponseOutput() FirewallPolicyThreatIntelWhitelistResponseOutput {
return o
}
-func (o ExpressRouteCircuitStatsResponseOutput) ToExpressRouteCircuitStatsResponseOutputWithContext(ctx context.Context) ExpressRouteCircuitStatsResponseOutput {
+func (o FirewallPolicyThreatIntelWhitelistResponseOutput) ToFirewallPolicyThreatIntelWhitelistResponseOutputWithContext(ctx context.Context) FirewallPolicyThreatIntelWhitelistResponseOutput {
return o
}
-// The Primary BytesIn of the peering.
-func (o ExpressRouteCircuitStatsResponseOutput) PrimarybytesIn() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitStatsResponse) *float64 { return v.PrimarybytesIn }).(pulumi.Float64PtrOutput)
-}
-
-// The primary BytesOut of the peering.
-func (o ExpressRouteCircuitStatsResponseOutput) PrimarybytesOut() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitStatsResponse) *float64 { return v.PrimarybytesOut }).(pulumi.Float64PtrOutput)
-}
-
-// The secondary BytesIn of the peering.
-func (o ExpressRouteCircuitStatsResponseOutput) SecondarybytesIn() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitStatsResponse) *float64 { return v.SecondarybytesIn }).(pulumi.Float64PtrOutput)
+// List of FQDNs for the ThreatIntel Whitelist.
+func (o FirewallPolicyThreatIntelWhitelistResponseOutput) Fqdns() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyThreatIntelWhitelistResponse) []string { return v.Fqdns }).(pulumi.StringArrayOutput)
}
-// The secondary BytesOut of the peering.
-func (o ExpressRouteCircuitStatsResponseOutput) SecondarybytesOut() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v ExpressRouteCircuitStatsResponse) *float64 { return v.SecondarybytesOut }).(pulumi.Float64PtrOutput)
+// List of IP addresses for the ThreatIntel Whitelist.
+func (o FirewallPolicyThreatIntelWhitelistResponseOutput) IpAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FirewallPolicyThreatIntelWhitelistResponse) []string { return v.IpAddresses }).(pulumi.StringArrayOutput)
}
-type ExpressRouteCircuitStatsResponsePtrOutput struct{ *pulumi.OutputState }
+type FirewallPolicyThreatIntelWhitelistResponsePtrOutput struct{ *pulumi.OutputState }
-func (ExpressRouteCircuitStatsResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteCircuitStatsResponse)(nil)).Elem()
+func (FirewallPolicyThreatIntelWhitelistResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyThreatIntelWhitelistResponse)(nil)).Elem()
}
-func (o ExpressRouteCircuitStatsResponsePtrOutput) ToExpressRouteCircuitStatsResponsePtrOutput() ExpressRouteCircuitStatsResponsePtrOutput {
+func (o FirewallPolicyThreatIntelWhitelistResponsePtrOutput) ToFirewallPolicyThreatIntelWhitelistResponsePtrOutput() FirewallPolicyThreatIntelWhitelistResponsePtrOutput {
return o
}
-func (o ExpressRouteCircuitStatsResponsePtrOutput) ToExpressRouteCircuitStatsResponsePtrOutputWithContext(ctx context.Context) ExpressRouteCircuitStatsResponsePtrOutput {
+func (o FirewallPolicyThreatIntelWhitelistResponsePtrOutput) ToFirewallPolicyThreatIntelWhitelistResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyThreatIntelWhitelistResponsePtrOutput {
return o
}
-func (o ExpressRouteCircuitStatsResponsePtrOutput) Elem() ExpressRouteCircuitStatsResponseOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitStatsResponse) ExpressRouteCircuitStatsResponse {
+func (o FirewallPolicyThreatIntelWhitelistResponsePtrOutput) Elem() FirewallPolicyThreatIntelWhitelistResponseOutput {
+ return o.ApplyT(func(v *FirewallPolicyThreatIntelWhitelistResponse) FirewallPolicyThreatIntelWhitelistResponse {
if v != nil {
return *v
}
- var ret ExpressRouteCircuitStatsResponse
+ var ret FirewallPolicyThreatIntelWhitelistResponse
return ret
- }).(ExpressRouteCircuitStatsResponseOutput)
+ }).(FirewallPolicyThreatIntelWhitelistResponseOutput)
}
-// The Primary BytesIn of the peering.
-func (o ExpressRouteCircuitStatsResponsePtrOutput) PrimarybytesIn() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitStatsResponse) *float64 {
+// List of FQDNs for the ThreatIntel Whitelist.
+func (o FirewallPolicyThreatIntelWhitelistResponsePtrOutput) Fqdns() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *FirewallPolicyThreatIntelWhitelistResponse) []string {
if v == nil {
return nil
}
- return v.PrimarybytesIn
- }).(pulumi.Float64PtrOutput)
+ return v.Fqdns
+ }).(pulumi.StringArrayOutput)
}
-// The primary BytesOut of the peering.
-func (o ExpressRouteCircuitStatsResponsePtrOutput) PrimarybytesOut() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitStatsResponse) *float64 {
+// List of IP addresses for the ThreatIntel Whitelist.
+func (o FirewallPolicyThreatIntelWhitelistResponsePtrOutput) IpAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *FirewallPolicyThreatIntelWhitelistResponse) []string {
if v == nil {
return nil
}
- return v.PrimarybytesOut
- }).(pulumi.Float64PtrOutput)
+ return v.IpAddresses
+ }).(pulumi.StringArrayOutput)
}
-// The secondary BytesIn of the peering.
-func (o ExpressRouteCircuitStatsResponsePtrOutput) SecondarybytesIn() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitStatsResponse) *float64 {
- if v == nil {
- return nil
- }
- return v.SecondarybytesIn
- }).(pulumi.Float64PtrOutput)
+// Configuration needed to perform TLS termination & initiation.
+type FirewallPolicyTransportSecurity struct {
+ // The CA used for intermediate CA generation.
+ CertificateAuthority *FirewallPolicyCertificateAuthority `pulumi:"certificateAuthority"`
}
-// The secondary BytesOut of the peering.
-func (o ExpressRouteCircuitStatsResponsePtrOutput) SecondarybytesOut() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v *ExpressRouteCircuitStatsResponse) *float64 {
- if v == nil {
- return nil
- }
- return v.SecondarybytesOut
- }).(pulumi.Float64PtrOutput)
-}
+// FirewallPolicyTransportSecurityInput is an input type that accepts FirewallPolicyTransportSecurityArgs and FirewallPolicyTransportSecurityOutput values.
+// You can construct a concrete instance of `FirewallPolicyTransportSecurityInput` via:
+//
+// FirewallPolicyTransportSecurityArgs{...}
+type FirewallPolicyTransportSecurityInput interface {
+ pulumi.Input
-// ExpressRouteConnection resource.
-type ExpressRouteConnectionType struct {
- // Authorization key to establish the connection.
- AuthorizationKey *string `pulumi:"authorizationKey"`
- // Enable internet security.
- EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
- // Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
- EnablePrivateLinkFastPath *bool `pulumi:"enablePrivateLinkFastPath"`
- // The ExpressRoute circuit peering.
- ExpressRouteCircuitPeering ExpressRouteCircuitPeeringId `pulumi:"expressRouteCircuitPeering"`
- // Enable FastPath to vWan Firewall hub.
- ExpressRouteGatewayBypass *bool `pulumi:"expressRouteGatewayBypass"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource.
- Name string `pulumi:"name"`
- // The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationV2 `pulumi:"routingConfiguration"`
- // The routing weight associated to the connection.
- RoutingWeight *int `pulumi:"routingWeight"`
+ ToFirewallPolicyTransportSecurityOutput() FirewallPolicyTransportSecurityOutput
+ ToFirewallPolicyTransportSecurityOutputWithContext(context.Context) FirewallPolicyTransportSecurityOutput
}
-// ExpressRouteConnectionTypeInput is an input type that accepts ExpressRouteConnectionTypeArgs and ExpressRouteConnectionTypeOutput values.
-// You can construct a concrete instance of `ExpressRouteConnectionTypeInput` via:
-//
-// ExpressRouteConnectionTypeArgs{...}
-type ExpressRouteConnectionTypeInput interface {
- pulumi.Input
+// Configuration needed to perform TLS termination & initiation.
+type FirewallPolicyTransportSecurityArgs struct {
+ // The CA used for intermediate CA generation.
+ CertificateAuthority FirewallPolicyCertificateAuthorityPtrInput `pulumi:"certificateAuthority"`
+}
- ToExpressRouteConnectionTypeOutput() ExpressRouteConnectionTypeOutput
- ToExpressRouteConnectionTypeOutputWithContext(context.Context) ExpressRouteConnectionTypeOutput
+func (FirewallPolicyTransportSecurityArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyTransportSecurity)(nil)).Elem()
}
-// ExpressRouteConnection resource.
-type ExpressRouteConnectionTypeArgs struct {
- // Authorization key to establish the connection.
- AuthorizationKey pulumi.StringPtrInput `pulumi:"authorizationKey"`
- // Enable internet security.
- EnableInternetSecurity pulumi.BoolPtrInput `pulumi:"enableInternetSecurity"`
- // Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
- EnablePrivateLinkFastPath pulumi.BoolPtrInput `pulumi:"enablePrivateLinkFastPath"`
- // The ExpressRoute circuit peering.
- ExpressRouteCircuitPeering ExpressRouteCircuitPeeringIdInput `pulumi:"expressRouteCircuitPeering"`
- // Enable FastPath to vWan Firewall hub.
- ExpressRouteGatewayBypass pulumi.BoolPtrInput `pulumi:"expressRouteGatewayBypass"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The name of the resource.
- Name pulumi.StringInput `pulumi:"name"`
- // The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration RoutingConfigurationV2PtrInput `pulumi:"routingConfiguration"`
- // The routing weight associated to the connection.
- RoutingWeight pulumi.IntPtrInput `pulumi:"routingWeight"`
+func (i FirewallPolicyTransportSecurityArgs) ToFirewallPolicyTransportSecurityOutput() FirewallPolicyTransportSecurityOutput {
+ return i.ToFirewallPolicyTransportSecurityOutputWithContext(context.Background())
}
-func (ExpressRouteConnectionTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteConnectionType)(nil)).Elem()
+func (i FirewallPolicyTransportSecurityArgs) ToFirewallPolicyTransportSecurityOutputWithContext(ctx context.Context) FirewallPolicyTransportSecurityOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyTransportSecurityOutput)
}
-func (i ExpressRouteConnectionTypeArgs) ToExpressRouteConnectionTypeOutput() ExpressRouteConnectionTypeOutput {
- return i.ToExpressRouteConnectionTypeOutputWithContext(context.Background())
+func (i FirewallPolicyTransportSecurityArgs) ToFirewallPolicyTransportSecurityPtrOutput() FirewallPolicyTransportSecurityPtrOutput {
+ return i.ToFirewallPolicyTransportSecurityPtrOutputWithContext(context.Background())
}
-func (i ExpressRouteConnectionTypeArgs) ToExpressRouteConnectionTypeOutputWithContext(ctx context.Context) ExpressRouteConnectionTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteConnectionTypeOutput)
+func (i FirewallPolicyTransportSecurityArgs) ToFirewallPolicyTransportSecurityPtrOutputWithContext(ctx context.Context) FirewallPolicyTransportSecurityPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyTransportSecurityOutput).ToFirewallPolicyTransportSecurityPtrOutputWithContext(ctx)
}
-// ExpressRouteConnectionTypeArrayInput is an input type that accepts ExpressRouteConnectionTypeArray and ExpressRouteConnectionTypeArrayOutput values.
-// You can construct a concrete instance of `ExpressRouteConnectionTypeArrayInput` via:
+// FirewallPolicyTransportSecurityPtrInput is an input type that accepts FirewallPolicyTransportSecurityArgs, FirewallPolicyTransportSecurityPtr and FirewallPolicyTransportSecurityPtrOutput values.
+// You can construct a concrete instance of `FirewallPolicyTransportSecurityPtrInput` via:
//
-// ExpressRouteConnectionTypeArray{ ExpressRouteConnectionTypeArgs{...} }
-type ExpressRouteConnectionTypeArrayInput interface {
+// FirewallPolicyTransportSecurityArgs{...}
+//
+// or:
+//
+// nil
+type FirewallPolicyTransportSecurityPtrInput interface {
pulumi.Input
- ToExpressRouteConnectionTypeArrayOutput() ExpressRouteConnectionTypeArrayOutput
- ToExpressRouteConnectionTypeArrayOutputWithContext(context.Context) ExpressRouteConnectionTypeArrayOutput
+ ToFirewallPolicyTransportSecurityPtrOutput() FirewallPolicyTransportSecurityPtrOutput
+ ToFirewallPolicyTransportSecurityPtrOutputWithContext(context.Context) FirewallPolicyTransportSecurityPtrOutput
}
-type ExpressRouteConnectionTypeArray []ExpressRouteConnectionTypeInput
+type firewallPolicyTransportSecurityPtrType FirewallPolicyTransportSecurityArgs
-func (ExpressRouteConnectionTypeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExpressRouteConnectionType)(nil)).Elem()
+func FirewallPolicyTransportSecurityPtr(v *FirewallPolicyTransportSecurityArgs) FirewallPolicyTransportSecurityPtrInput {
+ return (*firewallPolicyTransportSecurityPtrType)(v)
}
-func (i ExpressRouteConnectionTypeArray) ToExpressRouteConnectionTypeArrayOutput() ExpressRouteConnectionTypeArrayOutput {
- return i.ToExpressRouteConnectionTypeArrayOutputWithContext(context.Background())
+func (*firewallPolicyTransportSecurityPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyTransportSecurity)(nil)).Elem()
}
-func (i ExpressRouteConnectionTypeArray) ToExpressRouteConnectionTypeArrayOutputWithContext(ctx context.Context) ExpressRouteConnectionTypeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteConnectionTypeArrayOutput)
+func (i *firewallPolicyTransportSecurityPtrType) ToFirewallPolicyTransportSecurityPtrOutput() FirewallPolicyTransportSecurityPtrOutput {
+ return i.ToFirewallPolicyTransportSecurityPtrOutputWithContext(context.Background())
}
-// ExpressRouteConnection resource.
-type ExpressRouteConnectionTypeOutput struct{ *pulumi.OutputState }
+func (i *firewallPolicyTransportSecurityPtrType) ToFirewallPolicyTransportSecurityPtrOutputWithContext(ctx context.Context) FirewallPolicyTransportSecurityPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyTransportSecurityPtrOutput)
+}
-func (ExpressRouteConnectionTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteConnectionType)(nil)).Elem()
+// Configuration needed to perform TLS termination & initiation.
+type FirewallPolicyTransportSecurityOutput struct{ *pulumi.OutputState }
+
+func (FirewallPolicyTransportSecurityOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyTransportSecurity)(nil)).Elem()
}
-func (o ExpressRouteConnectionTypeOutput) ToExpressRouteConnectionTypeOutput() ExpressRouteConnectionTypeOutput {
+func (o FirewallPolicyTransportSecurityOutput) ToFirewallPolicyTransportSecurityOutput() FirewallPolicyTransportSecurityOutput {
return o
}
-func (o ExpressRouteConnectionTypeOutput) ToExpressRouteConnectionTypeOutputWithContext(ctx context.Context) ExpressRouteConnectionTypeOutput {
+func (o FirewallPolicyTransportSecurityOutput) ToFirewallPolicyTransportSecurityOutputWithContext(ctx context.Context) FirewallPolicyTransportSecurityOutput {
return o
}
-// Authorization key to establish the connection.
-func (o ExpressRouteConnectionTypeOutput) AuthorizationKey() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteConnectionType) *string { return v.AuthorizationKey }).(pulumi.StringPtrOutput)
+func (o FirewallPolicyTransportSecurityOutput) ToFirewallPolicyTransportSecurityPtrOutput() FirewallPolicyTransportSecurityPtrOutput {
+ return o.ToFirewallPolicyTransportSecurityPtrOutputWithContext(context.Background())
}
-// Enable internet security.
-func (o ExpressRouteConnectionTypeOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ExpressRouteConnectionType) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
+func (o FirewallPolicyTransportSecurityOutput) ToFirewallPolicyTransportSecurityPtrOutputWithContext(ctx context.Context) FirewallPolicyTransportSecurityPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyTransportSecurity) *FirewallPolicyTransportSecurity {
+ return &v
+ }).(FirewallPolicyTransportSecurityPtrOutput)
}
-// Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
-func (o ExpressRouteConnectionTypeOutput) EnablePrivateLinkFastPath() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ExpressRouteConnectionType) *bool { return v.EnablePrivateLinkFastPath }).(pulumi.BoolPtrOutput)
+// The CA used for intermediate CA generation.
+func (o FirewallPolicyTransportSecurityOutput) CertificateAuthority() FirewallPolicyCertificateAuthorityPtrOutput {
+ return o.ApplyT(func(v FirewallPolicyTransportSecurity) *FirewallPolicyCertificateAuthority {
+ return v.CertificateAuthority
+ }).(FirewallPolicyCertificateAuthorityPtrOutput)
}
-// The ExpressRoute circuit peering.
-func (o ExpressRouteConnectionTypeOutput) ExpressRouteCircuitPeering() ExpressRouteCircuitPeeringIdOutput {
- return o.ApplyT(func(v ExpressRouteConnectionType) ExpressRouteCircuitPeeringId { return v.ExpressRouteCircuitPeering }).(ExpressRouteCircuitPeeringIdOutput)
-}
-
-// Enable FastPath to vWan Firewall hub.
-func (o ExpressRouteConnectionTypeOutput) ExpressRouteGatewayBypass() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ExpressRouteConnectionType) *bool { return v.ExpressRouteGatewayBypass }).(pulumi.BoolPtrOutput)
-}
-
-// Resource ID.
-func (o ExpressRouteConnectionTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteConnectionType) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// The name of the resource.
-func (o ExpressRouteConnectionTypeOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteConnectionType) string { return v.Name }).(pulumi.StringOutput)
-}
-
-// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o ExpressRouteConnectionTypeOutput) RoutingConfiguration() RoutingConfigurationV2PtrOutput {
- return o.ApplyT(func(v ExpressRouteConnectionType) *RoutingConfigurationV2 { return v.RoutingConfiguration }).(RoutingConfigurationV2PtrOutput)
-}
+type FirewallPolicyTransportSecurityPtrOutput struct{ *pulumi.OutputState }
-// The routing weight associated to the connection.
-func (o ExpressRouteConnectionTypeOutput) RoutingWeight() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExpressRouteConnectionType) *int { return v.RoutingWeight }).(pulumi.IntPtrOutput)
+func (FirewallPolicyTransportSecurityPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyTransportSecurity)(nil)).Elem()
}
-type ExpressRouteConnectionTypeArrayOutput struct{ *pulumi.OutputState }
-
-func (ExpressRouteConnectionTypeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExpressRouteConnectionType)(nil)).Elem()
+func (o FirewallPolicyTransportSecurityPtrOutput) ToFirewallPolicyTransportSecurityPtrOutput() FirewallPolicyTransportSecurityPtrOutput {
+ return o
}
-func (o ExpressRouteConnectionTypeArrayOutput) ToExpressRouteConnectionTypeArrayOutput() ExpressRouteConnectionTypeArrayOutput {
+func (o FirewallPolicyTransportSecurityPtrOutput) ToFirewallPolicyTransportSecurityPtrOutputWithContext(ctx context.Context) FirewallPolicyTransportSecurityPtrOutput {
return o
}
-func (o ExpressRouteConnectionTypeArrayOutput) ToExpressRouteConnectionTypeArrayOutputWithContext(ctx context.Context) ExpressRouteConnectionTypeArrayOutput {
- return o
+func (o FirewallPolicyTransportSecurityPtrOutput) Elem() FirewallPolicyTransportSecurityOutput {
+ return o.ApplyT(func(v *FirewallPolicyTransportSecurity) FirewallPolicyTransportSecurity {
+ if v != nil {
+ return *v
+ }
+ var ret FirewallPolicyTransportSecurity
+ return ret
+ }).(FirewallPolicyTransportSecurityOutput)
}
-func (o ExpressRouteConnectionTypeArrayOutput) Index(i pulumi.IntInput) ExpressRouteConnectionTypeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteConnectionType {
- return vs[0].([]ExpressRouteConnectionType)[vs[1].(int)]
- }).(ExpressRouteConnectionTypeOutput)
+// The CA used for intermediate CA generation.
+func (o FirewallPolicyTransportSecurityPtrOutput) CertificateAuthority() FirewallPolicyCertificateAuthorityPtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyTransportSecurity) *FirewallPolicyCertificateAuthority {
+ if v == nil {
+ return nil
+ }
+ return v.CertificateAuthority
+ }).(FirewallPolicyCertificateAuthorityPtrOutput)
}
-// The ID of the ExpressRouteConnection.
-type ExpressRouteConnectionIdResponse struct {
- // The ID of the ExpressRouteConnection.
- Id string `pulumi:"id"`
+// Configuration needed to perform TLS termination & initiation.
+type FirewallPolicyTransportSecurityResponse struct {
+ // The CA used for intermediate CA generation.
+ CertificateAuthority *FirewallPolicyCertificateAuthorityResponse `pulumi:"certificateAuthority"`
}
-// The ID of the ExpressRouteConnection.
-type ExpressRouteConnectionIdResponseOutput struct{ *pulumi.OutputState }
+// Configuration needed to perform TLS termination & initiation.
+type FirewallPolicyTransportSecurityResponseOutput struct{ *pulumi.OutputState }
-func (ExpressRouteConnectionIdResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteConnectionIdResponse)(nil)).Elem()
+func (FirewallPolicyTransportSecurityResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FirewallPolicyTransportSecurityResponse)(nil)).Elem()
}
-func (o ExpressRouteConnectionIdResponseOutput) ToExpressRouteConnectionIdResponseOutput() ExpressRouteConnectionIdResponseOutput {
+func (o FirewallPolicyTransportSecurityResponseOutput) ToFirewallPolicyTransportSecurityResponseOutput() FirewallPolicyTransportSecurityResponseOutput {
return o
}
-func (o ExpressRouteConnectionIdResponseOutput) ToExpressRouteConnectionIdResponseOutputWithContext(ctx context.Context) ExpressRouteConnectionIdResponseOutput {
+func (o FirewallPolicyTransportSecurityResponseOutput) ToFirewallPolicyTransportSecurityResponseOutputWithContext(ctx context.Context) FirewallPolicyTransportSecurityResponseOutput {
return o
}
-// The ID of the ExpressRouteConnection.
-func (o ExpressRouteConnectionIdResponseOutput) Id() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteConnectionIdResponse) string { return v.Id }).(pulumi.StringOutput)
+// The CA used for intermediate CA generation.
+func (o FirewallPolicyTransportSecurityResponseOutput) CertificateAuthority() FirewallPolicyCertificateAuthorityResponsePtrOutput {
+ return o.ApplyT(func(v FirewallPolicyTransportSecurityResponse) *FirewallPolicyCertificateAuthorityResponse {
+ return v.CertificateAuthority
+ }).(FirewallPolicyCertificateAuthorityResponsePtrOutput)
}
-type ExpressRouteConnectionIdResponsePtrOutput struct{ *pulumi.OutputState }
+type FirewallPolicyTransportSecurityResponsePtrOutput struct{ *pulumi.OutputState }
-func (ExpressRouteConnectionIdResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteConnectionIdResponse)(nil)).Elem()
+func (FirewallPolicyTransportSecurityResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FirewallPolicyTransportSecurityResponse)(nil)).Elem()
}
-func (o ExpressRouteConnectionIdResponsePtrOutput) ToExpressRouteConnectionIdResponsePtrOutput() ExpressRouteConnectionIdResponsePtrOutput {
+func (o FirewallPolicyTransportSecurityResponsePtrOutput) ToFirewallPolicyTransportSecurityResponsePtrOutput() FirewallPolicyTransportSecurityResponsePtrOutput {
return o
}
-func (o ExpressRouteConnectionIdResponsePtrOutput) ToExpressRouteConnectionIdResponsePtrOutputWithContext(ctx context.Context) ExpressRouteConnectionIdResponsePtrOutput {
+func (o FirewallPolicyTransportSecurityResponsePtrOutput) ToFirewallPolicyTransportSecurityResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyTransportSecurityResponsePtrOutput {
return o
}
-func (o ExpressRouteConnectionIdResponsePtrOutput) Elem() ExpressRouteConnectionIdResponseOutput {
- return o.ApplyT(func(v *ExpressRouteConnectionIdResponse) ExpressRouteConnectionIdResponse {
+func (o FirewallPolicyTransportSecurityResponsePtrOutput) Elem() FirewallPolicyTransportSecurityResponseOutput {
+ return o.ApplyT(func(v *FirewallPolicyTransportSecurityResponse) FirewallPolicyTransportSecurityResponse {
if v != nil {
return *v
}
- var ret ExpressRouteConnectionIdResponse
+ var ret FirewallPolicyTransportSecurityResponse
return ret
- }).(ExpressRouteConnectionIdResponseOutput)
+ }).(FirewallPolicyTransportSecurityResponseOutput)
}
-// The ID of the ExpressRouteConnection.
-func (o ExpressRouteConnectionIdResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteConnectionIdResponse) *string {
+// The CA used for intermediate CA generation.
+func (o FirewallPolicyTransportSecurityResponsePtrOutput) CertificateAuthority() FirewallPolicyCertificateAuthorityResponsePtrOutput {
+ return o.ApplyT(func(v *FirewallPolicyTransportSecurityResponse) *FirewallPolicyCertificateAuthorityResponse {
if v == nil {
return nil
}
- return &v.Id
- }).(pulumi.StringPtrOutput)
-}
-
-// ExpressRouteConnection resource.
-type ExpressRouteConnectionResponse struct {
- // Authorization key to establish the connection.
- AuthorizationKey *string `pulumi:"authorizationKey"`
- // Enable internet security.
- EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
- // Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
- EnablePrivateLinkFastPath *bool `pulumi:"enablePrivateLinkFastPath"`
- // The ExpressRoute circuit peering.
- ExpressRouteCircuitPeering ExpressRouteCircuitPeeringIdResponse `pulumi:"expressRouteCircuitPeering"`
- // Enable FastPath to vWan Firewall hub.
- ExpressRouteGatewayBypass *bool `pulumi:"expressRouteGatewayBypass"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource.
- Name string `pulumi:"name"`
- // The provisioning state of the express route connection resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationResponseV2 `pulumi:"routingConfiguration"`
- // The routing weight associated to the connection.
- RoutingWeight *int `pulumi:"routingWeight"`
-}
-
-// ExpressRouteConnection resource.
-type ExpressRouteConnectionResponseOutput struct{ *pulumi.OutputState }
-
-func (ExpressRouteConnectionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteConnectionResponse)(nil)).Elem()
-}
-
-func (o ExpressRouteConnectionResponseOutput) ToExpressRouteConnectionResponseOutput() ExpressRouteConnectionResponseOutput {
- return o
-}
-
-func (o ExpressRouteConnectionResponseOutput) ToExpressRouteConnectionResponseOutputWithContext(ctx context.Context) ExpressRouteConnectionResponseOutput {
- return o
-}
-
-// Authorization key to establish the connection.
-func (o ExpressRouteConnectionResponseOutput) AuthorizationKey() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteConnectionResponse) *string { return v.AuthorizationKey }).(pulumi.StringPtrOutput)
-}
-
-// Enable internet security.
-func (o ExpressRouteConnectionResponseOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ExpressRouteConnectionResponse) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
-}
-
-// Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
-func (o ExpressRouteConnectionResponseOutput) EnablePrivateLinkFastPath() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ExpressRouteConnectionResponse) *bool { return v.EnablePrivateLinkFastPath }).(pulumi.BoolPtrOutput)
-}
-
-// The ExpressRoute circuit peering.
-func (o ExpressRouteConnectionResponseOutput) ExpressRouteCircuitPeering() ExpressRouteCircuitPeeringIdResponseOutput {
- return o.ApplyT(func(v ExpressRouteConnectionResponse) ExpressRouteCircuitPeeringIdResponse {
- return v.ExpressRouteCircuitPeering
- }).(ExpressRouteCircuitPeeringIdResponseOutput)
-}
-
-// Enable FastPath to vWan Firewall hub.
-func (o ExpressRouteConnectionResponseOutput) ExpressRouteGatewayBypass() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ExpressRouteConnectionResponse) *bool { return v.ExpressRouteGatewayBypass }).(pulumi.BoolPtrOutput)
-}
-
-// Resource ID.
-func (o ExpressRouteConnectionResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteConnectionResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// The name of the resource.
-func (o ExpressRouteConnectionResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteConnectionResponse) string { return v.Name }).(pulumi.StringOutput)
-}
-
-// The provisioning state of the express route connection resource.
-func (o ExpressRouteConnectionResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteConnectionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
-
-// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o ExpressRouteConnectionResponseOutput) RoutingConfiguration() RoutingConfigurationResponseV2PtrOutput {
- return o.ApplyT(func(v ExpressRouteConnectionResponse) *RoutingConfigurationResponseV2 { return v.RoutingConfiguration }).(RoutingConfigurationResponseV2PtrOutput)
-}
-
-// The routing weight associated to the connection.
-func (o ExpressRouteConnectionResponseOutput) RoutingWeight() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExpressRouteConnectionResponse) *int { return v.RoutingWeight }).(pulumi.IntPtrOutput)
-}
-
-type ExpressRouteConnectionResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (ExpressRouteConnectionResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExpressRouteConnectionResponse)(nil)).Elem()
-}
-
-func (o ExpressRouteConnectionResponseArrayOutput) ToExpressRouteConnectionResponseArrayOutput() ExpressRouteConnectionResponseArrayOutput {
- return o
-}
-
-func (o ExpressRouteConnectionResponseArrayOutput) ToExpressRouteConnectionResponseArrayOutputWithContext(ctx context.Context) ExpressRouteConnectionResponseArrayOutput {
- return o
+ return v.CertificateAuthority
+ }).(FirewallPolicyCertificateAuthorityResponsePtrOutput)
}
-func (o ExpressRouteConnectionResponseArrayOutput) Index(i pulumi.IntInput) ExpressRouteConnectionResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteConnectionResponse {
- return vs[0].([]ExpressRouteConnectionResponse)[vs[1].(int)]
- }).(ExpressRouteConnectionResponseOutput)
+// Parameters that define the flow log format.
+type FlowLogFormatParameters struct {
+ // The file type of flow log.
+ Type *string `pulumi:"type"`
+ // The version (revision) of the flow log.
+ Version *int `pulumi:"version"`
}
-// Configuration for auto scaling.
-type ExpressRouteGatewayPropertiesAutoScaleConfiguration struct {
- // Minimum and maximum number of scale units to deploy.
- Bounds *ExpressRouteGatewayPropertiesBounds `pulumi:"bounds"`
+// Defaults sets the appropriate defaults for FlowLogFormatParameters
+func (val *FlowLogFormatParameters) Defaults() *FlowLogFormatParameters {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.Version == nil {
+ version_ := 0
+ tmp.Version = &version_
+ }
+ return &tmp
}
-// ExpressRouteGatewayPropertiesAutoScaleConfigurationInput is an input type that accepts ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs and ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput values.
-// You can construct a concrete instance of `ExpressRouteGatewayPropertiesAutoScaleConfigurationInput` via:
+// FlowLogFormatParametersInput is an input type that accepts FlowLogFormatParametersArgs and FlowLogFormatParametersOutput values.
+// You can construct a concrete instance of `FlowLogFormatParametersInput` via:
//
-// ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs{...}
-type ExpressRouteGatewayPropertiesAutoScaleConfigurationInput interface {
+// FlowLogFormatParametersArgs{...}
+type FlowLogFormatParametersInput interface {
pulumi.Input
- ToExpressRouteGatewayPropertiesAutoScaleConfigurationOutput() ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput
- ToExpressRouteGatewayPropertiesAutoScaleConfigurationOutputWithContext(context.Context) ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput
+ ToFlowLogFormatParametersOutput() FlowLogFormatParametersOutput
+ ToFlowLogFormatParametersOutputWithContext(context.Context) FlowLogFormatParametersOutput
}
-// Configuration for auto scaling.
-type ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs struct {
- // Minimum and maximum number of scale units to deploy.
- Bounds ExpressRouteGatewayPropertiesBoundsPtrInput `pulumi:"bounds"`
+// Parameters that define the flow log format.
+type FlowLogFormatParametersArgs struct {
+ // The file type of flow log.
+ Type pulumi.StringPtrInput `pulumi:"type"`
+ // The version (revision) of the flow log.
+ Version pulumi.IntPtrInput `pulumi:"version"`
}
-func (ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteGatewayPropertiesAutoScaleConfiguration)(nil)).Elem()
+// Defaults sets the appropriate defaults for FlowLogFormatParametersArgs
+func (val *FlowLogFormatParametersArgs) Defaults() *FlowLogFormatParametersArgs {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.Version == nil {
+ tmp.Version = pulumi.IntPtr(0)
+ }
+ return &tmp
+}
+func (FlowLogFormatParametersArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FlowLogFormatParameters)(nil)).Elem()
}
-func (i ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs) ToExpressRouteGatewayPropertiesAutoScaleConfigurationOutput() ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput {
- return i.ToExpressRouteGatewayPropertiesAutoScaleConfigurationOutputWithContext(context.Background())
+func (i FlowLogFormatParametersArgs) ToFlowLogFormatParametersOutput() FlowLogFormatParametersOutput {
+ return i.ToFlowLogFormatParametersOutputWithContext(context.Background())
}
-func (i ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs) ToExpressRouteGatewayPropertiesAutoScaleConfigurationOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput)
+func (i FlowLogFormatParametersArgs) ToFlowLogFormatParametersOutputWithContext(ctx context.Context) FlowLogFormatParametersOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FlowLogFormatParametersOutput)
}
-func (i ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs) ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput() ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput {
- return i.ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(context.Background())
+func (i FlowLogFormatParametersArgs) ToFlowLogFormatParametersPtrOutput() FlowLogFormatParametersPtrOutput {
+ return i.ToFlowLogFormatParametersPtrOutputWithContext(context.Background())
}
-func (i ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs) ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput).ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(ctx)
+func (i FlowLogFormatParametersArgs) ToFlowLogFormatParametersPtrOutputWithContext(ctx context.Context) FlowLogFormatParametersPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FlowLogFormatParametersOutput).ToFlowLogFormatParametersPtrOutputWithContext(ctx)
}
-// ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrInput is an input type that accepts ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs, ExpressRouteGatewayPropertiesAutoScaleConfigurationPtr and ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput values.
-// You can construct a concrete instance of `ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrInput` via:
+// FlowLogFormatParametersPtrInput is an input type that accepts FlowLogFormatParametersArgs, FlowLogFormatParametersPtr and FlowLogFormatParametersPtrOutput values.
+// You can construct a concrete instance of `FlowLogFormatParametersPtrInput` via:
//
-// ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs{...}
+// FlowLogFormatParametersArgs{...}
//
// or:
//
// nil
-type ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrInput interface {
+type FlowLogFormatParametersPtrInput interface {
pulumi.Input
- ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput() ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput
- ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(context.Context) ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput
+ ToFlowLogFormatParametersPtrOutput() FlowLogFormatParametersPtrOutput
+ ToFlowLogFormatParametersPtrOutputWithContext(context.Context) FlowLogFormatParametersPtrOutput
}
-type expressRouteGatewayPropertiesAutoScaleConfigurationPtrType ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs
+type flowLogFormatParametersPtrType FlowLogFormatParametersArgs
-func ExpressRouteGatewayPropertiesAutoScaleConfigurationPtr(v *ExpressRouteGatewayPropertiesAutoScaleConfigurationArgs) ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrInput {
- return (*expressRouteGatewayPropertiesAutoScaleConfigurationPtrType)(v)
+func FlowLogFormatParametersPtr(v *FlowLogFormatParametersArgs) FlowLogFormatParametersPtrInput {
+ return (*flowLogFormatParametersPtrType)(v)
}
-func (*expressRouteGatewayPropertiesAutoScaleConfigurationPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteGatewayPropertiesAutoScaleConfiguration)(nil)).Elem()
+func (*flowLogFormatParametersPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**FlowLogFormatParameters)(nil)).Elem()
}
-func (i *expressRouteGatewayPropertiesAutoScaleConfigurationPtrType) ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput() ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput {
- return i.ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(context.Background())
+func (i *flowLogFormatParametersPtrType) ToFlowLogFormatParametersPtrOutput() FlowLogFormatParametersPtrOutput {
+ return i.ToFlowLogFormatParametersPtrOutputWithContext(context.Background())
}
-func (i *expressRouteGatewayPropertiesAutoScaleConfigurationPtrType) ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput)
+func (i *flowLogFormatParametersPtrType) ToFlowLogFormatParametersPtrOutputWithContext(ctx context.Context) FlowLogFormatParametersPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FlowLogFormatParametersPtrOutput)
}
-// Configuration for auto scaling.
-type ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput struct{ *pulumi.OutputState }
+// Parameters that define the flow log format.
+type FlowLogFormatParametersOutput struct{ *pulumi.OutputState }
-func (ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteGatewayPropertiesAutoScaleConfiguration)(nil)).Elem()
+func (FlowLogFormatParametersOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FlowLogFormatParameters)(nil)).Elem()
}
-func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput) ToExpressRouteGatewayPropertiesAutoScaleConfigurationOutput() ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput {
+func (o FlowLogFormatParametersOutput) ToFlowLogFormatParametersOutput() FlowLogFormatParametersOutput {
return o
}
-func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput) ToExpressRouteGatewayPropertiesAutoScaleConfigurationOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput {
+func (o FlowLogFormatParametersOutput) ToFlowLogFormatParametersOutputWithContext(ctx context.Context) FlowLogFormatParametersOutput {
return o
}
-func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput) ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput() ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput {
- return o.ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(context.Background())
+func (o FlowLogFormatParametersOutput) ToFlowLogFormatParametersPtrOutput() FlowLogFormatParametersPtrOutput {
+ return o.ToFlowLogFormatParametersPtrOutputWithContext(context.Background())
}
-func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput) ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ExpressRouteGatewayPropertiesAutoScaleConfiguration) *ExpressRouteGatewayPropertiesAutoScaleConfiguration {
+func (o FlowLogFormatParametersOutput) ToFlowLogFormatParametersPtrOutputWithContext(ctx context.Context) FlowLogFormatParametersPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v FlowLogFormatParameters) *FlowLogFormatParameters {
return &v
- }).(ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput)
+ }).(FlowLogFormatParametersPtrOutput)
}
-// Minimum and maximum number of scale units to deploy.
-func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput) Bounds() ExpressRouteGatewayPropertiesBoundsPtrOutput {
- return o.ApplyT(func(v ExpressRouteGatewayPropertiesAutoScaleConfiguration) *ExpressRouteGatewayPropertiesBounds {
- return v.Bounds
- }).(ExpressRouteGatewayPropertiesBoundsPtrOutput)
+// The file type of flow log.
+func (o FlowLogFormatParametersOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FlowLogFormatParameters) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-type ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput struct{ *pulumi.OutputState }
+// The version (revision) of the flow log.
+func (o FlowLogFormatParametersOutput) Version() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v FlowLogFormatParameters) *int { return v.Version }).(pulumi.IntPtrOutput)
+}
-func (ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteGatewayPropertiesAutoScaleConfiguration)(nil)).Elem()
+type FlowLogFormatParametersPtrOutput struct{ *pulumi.OutputState }
+
+func (FlowLogFormatParametersPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FlowLogFormatParameters)(nil)).Elem()
}
-func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput) ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput() ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput {
+func (o FlowLogFormatParametersPtrOutput) ToFlowLogFormatParametersPtrOutput() FlowLogFormatParametersPtrOutput {
return o
}
-func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput) ToExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput {
+func (o FlowLogFormatParametersPtrOutput) ToFlowLogFormatParametersPtrOutputWithContext(ctx context.Context) FlowLogFormatParametersPtrOutput {
return o
}
-func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput) Elem() ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput {
- return o.ApplyT(func(v *ExpressRouteGatewayPropertiesAutoScaleConfiguration) ExpressRouteGatewayPropertiesAutoScaleConfiguration {
+func (o FlowLogFormatParametersPtrOutput) Elem() FlowLogFormatParametersOutput {
+ return o.ApplyT(func(v *FlowLogFormatParameters) FlowLogFormatParameters {
if v != nil {
return *v
}
- var ret ExpressRouteGatewayPropertiesAutoScaleConfiguration
+ var ret FlowLogFormatParameters
return ret
- }).(ExpressRouteGatewayPropertiesAutoScaleConfigurationOutput)
+ }).(FlowLogFormatParametersOutput)
}
-// Minimum and maximum number of scale units to deploy.
-func (o ExpressRouteGatewayPropertiesAutoScaleConfigurationPtrOutput) Bounds() ExpressRouteGatewayPropertiesBoundsPtrOutput {
- return o.ApplyT(func(v *ExpressRouteGatewayPropertiesAutoScaleConfiguration) *ExpressRouteGatewayPropertiesBounds {
+// The file type of flow log.
+func (o FlowLogFormatParametersPtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FlowLogFormatParameters) *string {
if v == nil {
return nil
}
- return v.Bounds
- }).(ExpressRouteGatewayPropertiesBoundsPtrOutput)
-}
-
-// Minimum and maximum number of scale units to deploy.
-type ExpressRouteGatewayPropertiesBounds struct {
- // Maximum number of scale units deployed for ExpressRoute gateway.
- Max *int `pulumi:"max"`
- // Minimum number of scale units deployed for ExpressRoute gateway.
- Min *int `pulumi:"min"`
-}
-
-// ExpressRouteGatewayPropertiesBoundsInput is an input type that accepts ExpressRouteGatewayPropertiesBoundsArgs and ExpressRouteGatewayPropertiesBoundsOutput values.
-// You can construct a concrete instance of `ExpressRouteGatewayPropertiesBoundsInput` via:
-//
-// ExpressRouteGatewayPropertiesBoundsArgs{...}
-type ExpressRouteGatewayPropertiesBoundsInput interface {
- pulumi.Input
-
- ToExpressRouteGatewayPropertiesBoundsOutput() ExpressRouteGatewayPropertiesBoundsOutput
- ToExpressRouteGatewayPropertiesBoundsOutputWithContext(context.Context) ExpressRouteGatewayPropertiesBoundsOutput
-}
-
-// Minimum and maximum number of scale units to deploy.
-type ExpressRouteGatewayPropertiesBoundsArgs struct {
- // Maximum number of scale units deployed for ExpressRoute gateway.
- Max pulumi.IntPtrInput `pulumi:"max"`
- // Minimum number of scale units deployed for ExpressRoute gateway.
- Min pulumi.IntPtrInput `pulumi:"min"`
-}
-
-func (ExpressRouteGatewayPropertiesBoundsArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteGatewayPropertiesBounds)(nil)).Elem()
-}
-
-func (i ExpressRouteGatewayPropertiesBoundsArgs) ToExpressRouteGatewayPropertiesBoundsOutput() ExpressRouteGatewayPropertiesBoundsOutput {
- return i.ToExpressRouteGatewayPropertiesBoundsOutputWithContext(context.Background())
+ return v.Type
+ }).(pulumi.StringPtrOutput)
}
-func (i ExpressRouteGatewayPropertiesBoundsArgs) ToExpressRouteGatewayPropertiesBoundsOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesBoundsOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteGatewayPropertiesBoundsOutput)
+// The version (revision) of the flow log.
+func (o FlowLogFormatParametersPtrOutput) Version() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *FlowLogFormatParameters) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Version
+ }).(pulumi.IntPtrOutput)
}
-func (i ExpressRouteGatewayPropertiesBoundsArgs) ToExpressRouteGatewayPropertiesBoundsPtrOutput() ExpressRouteGatewayPropertiesBoundsPtrOutput {
- return i.ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(context.Background())
+// Parameters that define the flow log format.
+type FlowLogFormatParametersResponse struct {
+ // The file type of flow log.
+ Type *string `pulumi:"type"`
+ // The version (revision) of the flow log.
+ Version *int `pulumi:"version"`
}
-func (i ExpressRouteGatewayPropertiesBoundsArgs) ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesBoundsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteGatewayPropertiesBoundsOutput).ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(ctx)
+// Defaults sets the appropriate defaults for FlowLogFormatParametersResponse
+func (val *FlowLogFormatParametersResponse) Defaults() *FlowLogFormatParametersResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.Version == nil {
+ version_ := 0
+ tmp.Version = &version_
+ }
+ return &tmp
}
-// ExpressRouteGatewayPropertiesBoundsPtrInput is an input type that accepts ExpressRouteGatewayPropertiesBoundsArgs, ExpressRouteGatewayPropertiesBoundsPtr and ExpressRouteGatewayPropertiesBoundsPtrOutput values.
-// You can construct a concrete instance of `ExpressRouteGatewayPropertiesBoundsPtrInput` via:
-//
-// ExpressRouteGatewayPropertiesBoundsArgs{...}
-//
-// or:
-//
-// nil
-type ExpressRouteGatewayPropertiesBoundsPtrInput interface {
- pulumi.Input
+// Parameters that define the flow log format.
+type FlowLogFormatParametersResponseOutput struct{ *pulumi.OutputState }
- ToExpressRouteGatewayPropertiesBoundsPtrOutput() ExpressRouteGatewayPropertiesBoundsPtrOutput
- ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(context.Context) ExpressRouteGatewayPropertiesBoundsPtrOutput
+func (FlowLogFormatParametersResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FlowLogFormatParametersResponse)(nil)).Elem()
}
-type expressRouteGatewayPropertiesBoundsPtrType ExpressRouteGatewayPropertiesBoundsArgs
-
-func ExpressRouteGatewayPropertiesBoundsPtr(v *ExpressRouteGatewayPropertiesBoundsArgs) ExpressRouteGatewayPropertiesBoundsPtrInput {
- return (*expressRouteGatewayPropertiesBoundsPtrType)(v)
+func (o FlowLogFormatParametersResponseOutput) ToFlowLogFormatParametersResponseOutput() FlowLogFormatParametersResponseOutput {
+ return o
}
-func (*expressRouteGatewayPropertiesBoundsPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteGatewayPropertiesBounds)(nil)).Elem()
+func (o FlowLogFormatParametersResponseOutput) ToFlowLogFormatParametersResponseOutputWithContext(ctx context.Context) FlowLogFormatParametersResponseOutput {
+ return o
}
-func (i *expressRouteGatewayPropertiesBoundsPtrType) ToExpressRouteGatewayPropertiesBoundsPtrOutput() ExpressRouteGatewayPropertiesBoundsPtrOutput {
- return i.ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(context.Background())
+// The file type of flow log.
+func (o FlowLogFormatParametersResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FlowLogFormatParametersResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-func (i *expressRouteGatewayPropertiesBoundsPtrType) ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesBoundsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteGatewayPropertiesBoundsPtrOutput)
+// The version (revision) of the flow log.
+func (o FlowLogFormatParametersResponseOutput) Version() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v FlowLogFormatParametersResponse) *int { return v.Version }).(pulumi.IntPtrOutput)
}
-// Minimum and maximum number of scale units to deploy.
-type ExpressRouteGatewayPropertiesBoundsOutput struct{ *pulumi.OutputState }
+type FlowLogFormatParametersResponsePtrOutput struct{ *pulumi.OutputState }
-func (ExpressRouteGatewayPropertiesBoundsOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteGatewayPropertiesBounds)(nil)).Elem()
+func (FlowLogFormatParametersResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FlowLogFormatParametersResponse)(nil)).Elem()
}
-func (o ExpressRouteGatewayPropertiesBoundsOutput) ToExpressRouteGatewayPropertiesBoundsOutput() ExpressRouteGatewayPropertiesBoundsOutput {
+func (o FlowLogFormatParametersResponsePtrOutput) ToFlowLogFormatParametersResponsePtrOutput() FlowLogFormatParametersResponsePtrOutput {
return o
}
-func (o ExpressRouteGatewayPropertiesBoundsOutput) ToExpressRouteGatewayPropertiesBoundsOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesBoundsOutput {
+func (o FlowLogFormatParametersResponsePtrOutput) ToFlowLogFormatParametersResponsePtrOutputWithContext(ctx context.Context) FlowLogFormatParametersResponsePtrOutput {
return o
}
-func (o ExpressRouteGatewayPropertiesBoundsOutput) ToExpressRouteGatewayPropertiesBoundsPtrOutput() ExpressRouteGatewayPropertiesBoundsPtrOutput {
- return o.ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(context.Background())
+func (o FlowLogFormatParametersResponsePtrOutput) Elem() FlowLogFormatParametersResponseOutput {
+ return o.ApplyT(func(v *FlowLogFormatParametersResponse) FlowLogFormatParametersResponse {
+ if v != nil {
+ return *v
+ }
+ var ret FlowLogFormatParametersResponse
+ return ret
+ }).(FlowLogFormatParametersResponseOutput)
}
-func (o ExpressRouteGatewayPropertiesBoundsOutput) ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesBoundsPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ExpressRouteGatewayPropertiesBounds) *ExpressRouteGatewayPropertiesBounds {
- return &v
- }).(ExpressRouteGatewayPropertiesBoundsPtrOutput)
+// The file type of flow log.
+func (o FlowLogFormatParametersResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FlowLogFormatParametersResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Type
+ }).(pulumi.StringPtrOutput)
}
-// Maximum number of scale units deployed for ExpressRoute gateway.
-func (o ExpressRouteGatewayPropertiesBoundsOutput) Max() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExpressRouteGatewayPropertiesBounds) *int { return v.Max }).(pulumi.IntPtrOutput)
+// The version (revision) of the flow log.
+func (o FlowLogFormatParametersResponsePtrOutput) Version() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *FlowLogFormatParametersResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Version
+ }).(pulumi.IntPtrOutput)
}
-// Minimum number of scale units deployed for ExpressRoute gateway.
-func (o ExpressRouteGatewayPropertiesBoundsOutput) Min() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExpressRouteGatewayPropertiesBounds) *int { return v.Min }).(pulumi.IntPtrOutput)
+// A flow log resource.
+type FlowLogResponse struct {
+ // Flag to enable/disable flow logging.
+ Enabled *bool `pulumi:"enabled"`
+ // Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged.
+ EnabledFilteringCriteria *string `pulumi:"enabledFilteringCriteria"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Parameters that define the configuration of traffic analytics.
+ FlowAnalyticsConfiguration *TrafficAnalyticsPropertiesResponse `pulumi:"flowAnalyticsConfiguration"`
+ // Parameters that define the flow log format.
+ Format *FlowLogFormatParametersResponse `pulumi:"format"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // FlowLog resource Managed Identity
+ Identity *ManagedServiceIdentityResponse `pulumi:"identity"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The provisioning state of the flow log.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Parameters that define the retention policy for flow log.
+ RetentionPolicy *RetentionPolicyParametersResponse `pulumi:"retentionPolicy"`
+ // ID of the storage account which is used to store the flow log.
+ StorageId string `pulumi:"storageId"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Guid of network security group to which flow log will be applied.
+ TargetResourceGuid string `pulumi:"targetResourceGuid"`
+ // ID of network security group to which flow log will be applied.
+ TargetResourceId string `pulumi:"targetResourceId"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-type ExpressRouteGatewayPropertiesBoundsPtrOutput struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for FlowLogResponse
+func (val *FlowLogResponse) Defaults() *FlowLogResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.Format = tmp.Format.Defaults()
-func (ExpressRouteGatewayPropertiesBoundsPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteGatewayPropertiesBounds)(nil)).Elem()
+ tmp.RetentionPolicy = tmp.RetentionPolicy.Defaults()
+
+ return &tmp
}
-func (o ExpressRouteGatewayPropertiesBoundsPtrOutput) ToExpressRouteGatewayPropertiesBoundsPtrOutput() ExpressRouteGatewayPropertiesBoundsPtrOutput {
+// A flow log resource.
+type FlowLogResponseOutput struct{ *pulumi.OutputState }
+
+func (FlowLogResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FlowLogResponse)(nil)).Elem()
+}
+
+func (o FlowLogResponseOutput) ToFlowLogResponseOutput() FlowLogResponseOutput {
return o
}
-func (o ExpressRouteGatewayPropertiesBoundsPtrOutput) ToExpressRouteGatewayPropertiesBoundsPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesBoundsPtrOutput {
+func (o FlowLogResponseOutput) ToFlowLogResponseOutputWithContext(ctx context.Context) FlowLogResponseOutput {
return o
}
-func (o ExpressRouteGatewayPropertiesBoundsPtrOutput) Elem() ExpressRouteGatewayPropertiesBoundsOutput {
- return o.ApplyT(func(v *ExpressRouteGatewayPropertiesBounds) ExpressRouteGatewayPropertiesBounds {
- if v != nil {
- return *v
- }
- var ret ExpressRouteGatewayPropertiesBounds
- return ret
- }).(ExpressRouteGatewayPropertiesBoundsOutput)
+// Flag to enable/disable flow logging.
+func (o FlowLogResponseOutput) Enabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v FlowLogResponse) *bool { return v.Enabled }).(pulumi.BoolPtrOutput)
}
-// Maximum number of scale units deployed for ExpressRoute gateway.
-func (o ExpressRouteGatewayPropertiesBoundsPtrOutput) Max() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ExpressRouteGatewayPropertiesBounds) *int {
- if v == nil {
- return nil
- }
- return v.Max
- }).(pulumi.IntPtrOutput)
+// Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged.
+func (o FlowLogResponseOutput) EnabledFilteringCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FlowLogResponse) *string { return v.EnabledFilteringCriteria }).(pulumi.StringPtrOutput)
}
-// Minimum number of scale units deployed for ExpressRoute gateway.
-func (o ExpressRouteGatewayPropertiesBoundsPtrOutput) Min() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ExpressRouteGatewayPropertiesBounds) *int {
- if v == nil {
- return nil
- }
- return v.Min
- }).(pulumi.IntPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o FlowLogResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Configuration for auto scaling.
-type ExpressRouteGatewayPropertiesResponseAutoScaleConfiguration struct {
- // Minimum and maximum number of scale units to deploy.
- Bounds *ExpressRouteGatewayPropertiesResponseBounds `pulumi:"bounds"`
+// Parameters that define the configuration of traffic analytics.
+func (o FlowLogResponseOutput) FlowAnalyticsConfiguration() TrafficAnalyticsPropertiesResponsePtrOutput {
+ return o.ApplyT(func(v FlowLogResponse) *TrafficAnalyticsPropertiesResponse { return v.FlowAnalyticsConfiguration }).(TrafficAnalyticsPropertiesResponsePtrOutput)
}
-// Configuration for auto scaling.
-type ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput struct{ *pulumi.OutputState }
+// Parameters that define the flow log format.
+func (o FlowLogResponseOutput) Format() FlowLogFormatParametersResponsePtrOutput {
+ return o.ApplyT(func(v FlowLogResponse) *FlowLogFormatParametersResponse { return v.Format }).(FlowLogFormatParametersResponsePtrOutput)
+}
-func (ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteGatewayPropertiesResponseAutoScaleConfiguration)(nil)).Elem()
+// Resource ID.
+func (o FlowLogResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FlowLogResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput) ToExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput() ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput {
- return o
+// FlowLog resource Managed Identity
+func (o FlowLogResponseOutput) Identity() ManagedServiceIdentityResponsePtrOutput {
+ return o.ApplyT(func(v FlowLogResponse) *ManagedServiceIdentityResponse { return v.Identity }).(ManagedServiceIdentityResponsePtrOutput)
}
-func (o ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput) ToExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput {
- return o
+// Resource location.
+func (o FlowLogResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FlowLogResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// Minimum and maximum number of scale units to deploy.
-func (o ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput) Bounds() ExpressRouteGatewayPropertiesResponseBoundsPtrOutput {
- return o.ApplyT(func(v ExpressRouteGatewayPropertiesResponseAutoScaleConfiguration) *ExpressRouteGatewayPropertiesResponseBounds {
- return v.Bounds
- }).(ExpressRouteGatewayPropertiesResponseBoundsPtrOutput)
+// Resource name.
+func (o FlowLogResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogResponse) string { return v.Name }).(pulumi.StringOutput)
}
-type ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput struct{ *pulumi.OutputState }
+// The provisioning state of the flow log.
+func (o FlowLogResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
-func (ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteGatewayPropertiesResponseAutoScaleConfiguration)(nil)).Elem()
+// Parameters that define the retention policy for flow log.
+func (o FlowLogResponseOutput) RetentionPolicy() RetentionPolicyParametersResponsePtrOutput {
+ return o.ApplyT(func(v FlowLogResponse) *RetentionPolicyParametersResponse { return v.RetentionPolicy }).(RetentionPolicyParametersResponsePtrOutput)
}
-func (o ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput) ToExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput() ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput {
- return o
+// ID of the storage account which is used to store the flow log.
+func (o FlowLogResponseOutput) StorageId() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogResponse) string { return v.StorageId }).(pulumi.StringOutput)
}
-func (o ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput) ToExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput {
- return o
+// Resource tags.
+func (o FlowLogResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v FlowLogResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (o ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput) Elem() ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput {
- return o.ApplyT(func(v *ExpressRouteGatewayPropertiesResponseAutoScaleConfiguration) ExpressRouteGatewayPropertiesResponseAutoScaleConfiguration {
- if v != nil {
- return *v
- }
- var ret ExpressRouteGatewayPropertiesResponseAutoScaleConfiguration
- return ret
- }).(ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationOutput)
+// Guid of network security group to which flow log will be applied.
+func (o FlowLogResponseOutput) TargetResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogResponse) string { return v.TargetResourceGuid }).(pulumi.StringOutput)
}
-// Minimum and maximum number of scale units to deploy.
-func (o ExpressRouteGatewayPropertiesResponseAutoScaleConfigurationPtrOutput) Bounds() ExpressRouteGatewayPropertiesResponseBoundsPtrOutput {
- return o.ApplyT(func(v *ExpressRouteGatewayPropertiesResponseAutoScaleConfiguration) *ExpressRouteGatewayPropertiesResponseBounds {
- if v == nil {
- return nil
- }
- return v.Bounds
- }).(ExpressRouteGatewayPropertiesResponseBoundsPtrOutput)
+// ID of network security group to which flow log will be applied.
+func (o FlowLogResponseOutput) TargetResourceId() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogResponse) string { return v.TargetResourceId }).(pulumi.StringOutput)
}
-// Minimum and maximum number of scale units to deploy.
-type ExpressRouteGatewayPropertiesResponseBounds struct {
- // Maximum number of scale units deployed for ExpressRoute gateway.
- Max *int `pulumi:"max"`
- // Minimum number of scale units deployed for ExpressRoute gateway.
- Min *int `pulumi:"min"`
+// Resource type.
+func (o FlowLogResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Minimum and maximum number of scale units to deploy.
-type ExpressRouteGatewayPropertiesResponseBoundsOutput struct{ *pulumi.OutputState }
+type FlowLogResponseArrayOutput struct{ *pulumi.OutputState }
-func (ExpressRouteGatewayPropertiesResponseBoundsOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteGatewayPropertiesResponseBounds)(nil)).Elem()
+func (FlowLogResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FlowLogResponse)(nil)).Elem()
}
-func (o ExpressRouteGatewayPropertiesResponseBoundsOutput) ToExpressRouteGatewayPropertiesResponseBoundsOutput() ExpressRouteGatewayPropertiesResponseBoundsOutput {
+func (o FlowLogResponseArrayOutput) ToFlowLogResponseArrayOutput() FlowLogResponseArrayOutput {
return o
}
-func (o ExpressRouteGatewayPropertiesResponseBoundsOutput) ToExpressRouteGatewayPropertiesResponseBoundsOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesResponseBoundsOutput {
+func (o FlowLogResponseArrayOutput) ToFlowLogResponseArrayOutputWithContext(ctx context.Context) FlowLogResponseArrayOutput {
return o
}
-// Maximum number of scale units deployed for ExpressRoute gateway.
-func (o ExpressRouteGatewayPropertiesResponseBoundsOutput) Max() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExpressRouteGatewayPropertiesResponseBounds) *int { return v.Max }).(pulumi.IntPtrOutput)
+func (o FlowLogResponseArrayOutput) Index(i pulumi.IntInput) FlowLogResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FlowLogResponse {
+ return vs[0].([]FlowLogResponse)[vs[1].(int)]
+ }).(FlowLogResponseOutput)
}
-// Minimum number of scale units deployed for ExpressRoute gateway.
-func (o ExpressRouteGatewayPropertiesResponseBoundsOutput) Min() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ExpressRouteGatewayPropertiesResponseBounds) *int { return v.Min }).(pulumi.IntPtrOutput)
+// A flow log resource.
+type FlowLogServiceGatewayResponse struct {
+ // Flag to enable/disable flow logging.
+ Enabled *bool `pulumi:"enabled"`
+ // Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged.
+ EnabledFilteringCriteria *string `pulumi:"enabledFilteringCriteria"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Parameters that define the configuration of traffic analytics.
+ FlowAnalyticsConfiguration *TrafficAnalyticsPropertiesResponse `pulumi:"flowAnalyticsConfiguration"`
+ // Parameters that define the flow log format.
+ Format *FlowLogFormatParametersResponse `pulumi:"format"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // FlowLog resource Managed Identity
+ Identity *ManagedServiceIdentityServiceGatewayResponse `pulumi:"identity"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The provisioning state of the flow log.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Optional field to filter network traffic logs based on flow states. Value of this field could be any comma separated combination string of letters B,C,E or D. B represents Begin, when a flow is created. C represents Continue for an ongoing flow generated at every five-minute interval. E represents End, when a flow is terminated. D represents Deny, when a flow is denied. If not specified, all network traffic will be logged.
+ RecordTypes *string `pulumi:"recordTypes"`
+ // Parameters that define the retention policy for flow log.
+ RetentionPolicy *RetentionPolicyParametersResponse `pulumi:"retentionPolicy"`
+ // ID of the storage account which is used to store the flow log.
+ StorageId string `pulumi:"storageId"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Guid of network security group to which flow log will be applied.
+ TargetResourceGuid string `pulumi:"targetResourceGuid"`
+ // ID of network security group to which flow log will be applied.
+ TargetResourceId string `pulumi:"targetResourceId"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-type ExpressRouteGatewayPropertiesResponseBoundsPtrOutput struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for FlowLogServiceGatewayResponse
+func (val *FlowLogServiceGatewayResponse) Defaults() *FlowLogServiceGatewayResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.Format = tmp.Format.Defaults()
-func (ExpressRouteGatewayPropertiesResponseBoundsPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteGatewayPropertiesResponseBounds)(nil)).Elem()
+ tmp.RetentionPolicy = tmp.RetentionPolicy.Defaults()
+
+ return &tmp
}
-func (o ExpressRouteGatewayPropertiesResponseBoundsPtrOutput) ToExpressRouteGatewayPropertiesResponseBoundsPtrOutput() ExpressRouteGatewayPropertiesResponseBoundsPtrOutput {
+// A flow log resource.
+type FlowLogServiceGatewayResponseOutput struct{ *pulumi.OutputState }
+
+func (FlowLogServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FlowLogServiceGatewayResponse)(nil)).Elem()
+}
+
+func (o FlowLogServiceGatewayResponseOutput) ToFlowLogServiceGatewayResponseOutput() FlowLogServiceGatewayResponseOutput {
return o
}
-func (o ExpressRouteGatewayPropertiesResponseBoundsPtrOutput) ToExpressRouteGatewayPropertiesResponseBoundsPtrOutputWithContext(ctx context.Context) ExpressRouteGatewayPropertiesResponseBoundsPtrOutput {
+func (o FlowLogServiceGatewayResponseOutput) ToFlowLogServiceGatewayResponseOutputWithContext(ctx context.Context) FlowLogServiceGatewayResponseOutput {
return o
}
-func (o ExpressRouteGatewayPropertiesResponseBoundsPtrOutput) Elem() ExpressRouteGatewayPropertiesResponseBoundsOutput {
- return o.ApplyT(func(v *ExpressRouteGatewayPropertiesResponseBounds) ExpressRouteGatewayPropertiesResponseBounds {
- if v != nil {
- return *v
- }
- var ret ExpressRouteGatewayPropertiesResponseBounds
- return ret
- }).(ExpressRouteGatewayPropertiesResponseBoundsOutput)
+// Flag to enable/disable flow logging.
+func (o FlowLogServiceGatewayResponseOutput) Enabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) *bool { return v.Enabled }).(pulumi.BoolPtrOutput)
}
-// Maximum number of scale units deployed for ExpressRoute gateway.
-func (o ExpressRouteGatewayPropertiesResponseBoundsPtrOutput) Max() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ExpressRouteGatewayPropertiesResponseBounds) *int {
- if v == nil {
- return nil
- }
- return v.Max
- }).(pulumi.IntPtrOutput)
+// Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged.
+func (o FlowLogServiceGatewayResponseOutput) EnabledFilteringCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) *string { return v.EnabledFilteringCriteria }).(pulumi.StringPtrOutput)
}
-// Minimum number of scale units deployed for ExpressRoute gateway.
-func (o ExpressRouteGatewayPropertiesResponseBoundsPtrOutput) Min() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *ExpressRouteGatewayPropertiesResponseBounds) *int {
- if v == nil {
- return nil
- }
- return v.Min
- }).(pulumi.IntPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o FlowLogServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// ExpressRouteLink child resource definition.
-type ExpressRouteLink struct {
- // Administrative state of the physical port.
- AdminState *string `pulumi:"adminState"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // MacSec configuration.
- MacSecConfig *ExpressRouteLinkMacSecConfig `pulumi:"macSecConfig"`
- // Name of child port resource that is unique among child port resources of the parent.
- Name *string `pulumi:"name"`
+// Parameters that define the configuration of traffic analytics.
+func (o FlowLogServiceGatewayResponseOutput) FlowAnalyticsConfiguration() TrafficAnalyticsPropertiesResponsePtrOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) *TrafficAnalyticsPropertiesResponse {
+ return v.FlowAnalyticsConfiguration
+ }).(TrafficAnalyticsPropertiesResponsePtrOutput)
}
-// ExpressRouteLinkInput is an input type that accepts ExpressRouteLinkArgs and ExpressRouteLinkOutput values.
-// You can construct a concrete instance of `ExpressRouteLinkInput` via:
-//
-// ExpressRouteLinkArgs{...}
-type ExpressRouteLinkInput interface {
- pulumi.Input
+// Parameters that define the flow log format.
+func (o FlowLogServiceGatewayResponseOutput) Format() FlowLogFormatParametersResponsePtrOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) *FlowLogFormatParametersResponse { return v.Format }).(FlowLogFormatParametersResponsePtrOutput)
+}
- ToExpressRouteLinkOutput() ExpressRouteLinkOutput
- ToExpressRouteLinkOutputWithContext(context.Context) ExpressRouteLinkOutput
+// Resource ID.
+func (o FlowLogServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// ExpressRouteLink child resource definition.
-type ExpressRouteLinkArgs struct {
- // Administrative state of the physical port.
- AdminState pulumi.StringPtrInput `pulumi:"adminState"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // MacSec configuration.
- MacSecConfig ExpressRouteLinkMacSecConfigPtrInput `pulumi:"macSecConfig"`
- // Name of child port resource that is unique among child port resources of the parent.
- Name pulumi.StringPtrInput `pulumi:"name"`
+// FlowLog resource Managed Identity
+func (o FlowLogServiceGatewayResponseOutput) Identity() ManagedServiceIdentityServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) *ManagedServiceIdentityServiceGatewayResponse { return v.Identity }).(ManagedServiceIdentityServiceGatewayResponsePtrOutput)
}
-func (ExpressRouteLinkArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteLink)(nil)).Elem()
+// Resource location.
+func (o FlowLogServiceGatewayResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (i ExpressRouteLinkArgs) ToExpressRouteLinkOutput() ExpressRouteLinkOutput {
- return i.ToExpressRouteLinkOutputWithContext(context.Background())
+// Resource name.
+func (o FlowLogServiceGatewayResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (i ExpressRouteLinkArgs) ToExpressRouteLinkOutputWithContext(ctx context.Context) ExpressRouteLinkOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteLinkOutput)
+// The provisioning state of the flow log.
+func (o FlowLogServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// ExpressRouteLinkArrayInput is an input type that accepts ExpressRouteLinkArray and ExpressRouteLinkArrayOutput values.
-// You can construct a concrete instance of `ExpressRouteLinkArrayInput` via:
-//
-// ExpressRouteLinkArray{ ExpressRouteLinkArgs{...} }
-type ExpressRouteLinkArrayInput interface {
- pulumi.Input
+// Optional field to filter network traffic logs based on flow states. Value of this field could be any comma separated combination string of letters B,C,E or D. B represents Begin, when a flow is created. C represents Continue for an ongoing flow generated at every five-minute interval. E represents End, when a flow is terminated. D represents Deny, when a flow is denied. If not specified, all network traffic will be logged.
+func (o FlowLogServiceGatewayResponseOutput) RecordTypes() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) *string { return v.RecordTypes }).(pulumi.StringPtrOutput)
+}
- ToExpressRouteLinkArrayOutput() ExpressRouteLinkArrayOutput
- ToExpressRouteLinkArrayOutputWithContext(context.Context) ExpressRouteLinkArrayOutput
+// Parameters that define the retention policy for flow log.
+func (o FlowLogServiceGatewayResponseOutput) RetentionPolicy() RetentionPolicyParametersResponsePtrOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) *RetentionPolicyParametersResponse { return v.RetentionPolicy }).(RetentionPolicyParametersResponsePtrOutput)
}
-type ExpressRouteLinkArray []ExpressRouteLinkInput
+// ID of the storage account which is used to store the flow log.
+func (o FlowLogServiceGatewayResponseOutput) StorageId() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) string { return v.StorageId }).(pulumi.StringOutput)
+}
-func (ExpressRouteLinkArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExpressRouteLink)(nil)).Elem()
+// Resource tags.
+func (o FlowLogServiceGatewayResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (i ExpressRouteLinkArray) ToExpressRouteLinkArrayOutput() ExpressRouteLinkArrayOutput {
- return i.ToExpressRouteLinkArrayOutputWithContext(context.Background())
+// Guid of network security group to which flow log will be applied.
+func (o FlowLogServiceGatewayResponseOutput) TargetResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) string { return v.TargetResourceGuid }).(pulumi.StringOutput)
}
-func (i ExpressRouteLinkArray) ToExpressRouteLinkArrayOutputWithContext(ctx context.Context) ExpressRouteLinkArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteLinkArrayOutput)
+// ID of network security group to which flow log will be applied.
+func (o FlowLogServiceGatewayResponseOutput) TargetResourceId() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) string { return v.TargetResourceId }).(pulumi.StringOutput)
}
-// ExpressRouteLink child resource definition.
-type ExpressRouteLinkOutput struct{ *pulumi.OutputState }
+// Resource type.
+func (o FlowLogServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
+}
-func (ExpressRouteLinkOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteLink)(nil)).Elem()
+type FlowLogServiceGatewayResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (FlowLogServiceGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FlowLogServiceGatewayResponse)(nil)).Elem()
}
-func (o ExpressRouteLinkOutput) ToExpressRouteLinkOutput() ExpressRouteLinkOutput {
+func (o FlowLogServiceGatewayResponseArrayOutput) ToFlowLogServiceGatewayResponseArrayOutput() FlowLogServiceGatewayResponseArrayOutput {
return o
}
-func (o ExpressRouteLinkOutput) ToExpressRouteLinkOutputWithContext(ctx context.Context) ExpressRouteLinkOutput {
+func (o FlowLogServiceGatewayResponseArrayOutput) ToFlowLogServiceGatewayResponseArrayOutputWithContext(ctx context.Context) FlowLogServiceGatewayResponseArrayOutput {
return o
}
-// Administrative state of the physical port.
-func (o ExpressRouteLinkOutput) AdminState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteLink) *string { return v.AdminState }).(pulumi.StringPtrOutput)
+func (o FlowLogServiceGatewayResponseArrayOutput) Index(i pulumi.IntInput) FlowLogServiceGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FlowLogServiceGatewayResponse {
+ return vs[0].([]FlowLogServiceGatewayResponse)[vs[1].(int)]
+ }).(FlowLogServiceGatewayResponseOutput)
}
-// Resource ID.
-func (o ExpressRouteLinkOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteLink) *string { return v.Id }).(pulumi.StringPtrOutput)
+// A flow log resource.
+type FlowLogVirtualNetworkApplianceResponse struct {
+ // Flag to enable/disable flow logging.
+ Enabled *bool `pulumi:"enabled"`
+ // Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged.
+ EnabledFilteringCriteria *string `pulumi:"enabledFilteringCriteria"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Parameters that define the configuration of traffic analytics.
+ FlowAnalyticsConfiguration *TrafficAnalyticsPropertiesResponse `pulumi:"flowAnalyticsConfiguration"`
+ // Parameters that define the flow log format.
+ Format *FlowLogFormatParametersResponse `pulumi:"format"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // FlowLog resource Managed Identity
+ Identity *ManagedServiceIdentityVirtualNetworkApplianceResponse `pulumi:"identity"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The provisioning state of the flow log.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Optional field to filter network traffic logs based on flow states. Value of this field could be any comma separated combination string of letters B,C,E or D. B represents Begin, when a flow is created. C represents Continue for an ongoing flow generated at every five-minute interval. E represents End, when a flow is terminated. D represents Deny, when a flow is denied. If not specified, all network traffic will be logged.
+ RecordTypes *string `pulumi:"recordTypes"`
+ // Parameters that define the retention policy for flow log.
+ RetentionPolicy *RetentionPolicyParametersResponse `pulumi:"retentionPolicy"`
+ // ID of the storage account which is used to store the flow log.
+ StorageId string `pulumi:"storageId"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Guid of network security group to which flow log will be applied.
+ TargetResourceGuid string `pulumi:"targetResourceGuid"`
+ // ID of network security group to which flow log will be applied.
+ TargetResourceId string `pulumi:"targetResourceId"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// MacSec configuration.
-func (o ExpressRouteLinkOutput) MacSecConfig() ExpressRouteLinkMacSecConfigPtrOutput {
- return o.ApplyT(func(v ExpressRouteLink) *ExpressRouteLinkMacSecConfig { return v.MacSecConfig }).(ExpressRouteLinkMacSecConfigPtrOutput)
-}
+// Defaults sets the appropriate defaults for FlowLogVirtualNetworkApplianceResponse
+func (val *FlowLogVirtualNetworkApplianceResponse) Defaults() *FlowLogVirtualNetworkApplianceResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.Format = tmp.Format.Defaults()
-// Name of child port resource that is unique among child port resources of the parent.
-func (o ExpressRouteLinkOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteLink) *string { return v.Name }).(pulumi.StringPtrOutput)
+ tmp.RetentionPolicy = tmp.RetentionPolicy.Defaults()
+
+ return &tmp
}
-type ExpressRouteLinkArrayOutput struct{ *pulumi.OutputState }
+// A flow log resource.
+type FlowLogVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
-func (ExpressRouteLinkArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExpressRouteLink)(nil)).Elem()
+func (FlowLogVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FlowLogVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o ExpressRouteLinkArrayOutput) ToExpressRouteLinkArrayOutput() ExpressRouteLinkArrayOutput {
+func (o FlowLogVirtualNetworkApplianceResponseOutput) ToFlowLogVirtualNetworkApplianceResponseOutput() FlowLogVirtualNetworkApplianceResponseOutput {
return o
}
-func (o ExpressRouteLinkArrayOutput) ToExpressRouteLinkArrayOutputWithContext(ctx context.Context) ExpressRouteLinkArrayOutput {
+func (o FlowLogVirtualNetworkApplianceResponseOutput) ToFlowLogVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) FlowLogVirtualNetworkApplianceResponseOutput {
return o
}
-func (o ExpressRouteLinkArrayOutput) Index(i pulumi.IntInput) ExpressRouteLinkOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteLink {
- return vs[0].([]ExpressRouteLink)[vs[1].(int)]
- }).(ExpressRouteLinkOutput)
+// Flag to enable/disable flow logging.
+func (o FlowLogVirtualNetworkApplianceResponseOutput) Enabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) *bool { return v.Enabled }).(pulumi.BoolPtrOutput)
}
-// ExpressRouteLink Mac Security Configuration.
-type ExpressRouteLinkMacSecConfig struct {
- // Keyvault Secret Identifier URL containing Mac security CAK key.
- CakSecretIdentifier *string `pulumi:"cakSecretIdentifier"`
- // Mac security cipher.
- Cipher *string `pulumi:"cipher"`
- // Keyvault Secret Identifier URL containing Mac security CKN key.
- CknSecretIdentifier *string `pulumi:"cknSecretIdentifier"`
- // Sci mode enabled/disabled.
- SciState *string `pulumi:"sciState"`
+// Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged.
+func (o FlowLogVirtualNetworkApplianceResponseOutput) EnabledFilteringCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) *string { return v.EnabledFilteringCriteria }).(pulumi.StringPtrOutput)
}
-// ExpressRouteLinkMacSecConfigInput is an input type that accepts ExpressRouteLinkMacSecConfigArgs and ExpressRouteLinkMacSecConfigOutput values.
-// You can construct a concrete instance of `ExpressRouteLinkMacSecConfigInput` via:
-//
-// ExpressRouteLinkMacSecConfigArgs{...}
-type ExpressRouteLinkMacSecConfigInput interface {
- pulumi.Input
-
- ToExpressRouteLinkMacSecConfigOutput() ExpressRouteLinkMacSecConfigOutput
- ToExpressRouteLinkMacSecConfigOutputWithContext(context.Context) ExpressRouteLinkMacSecConfigOutput
+// A unique read-only string that changes whenever the resource is updated.
+func (o FlowLogVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// ExpressRouteLink Mac Security Configuration.
-type ExpressRouteLinkMacSecConfigArgs struct {
- // Keyvault Secret Identifier URL containing Mac security CAK key.
- CakSecretIdentifier pulumi.StringPtrInput `pulumi:"cakSecretIdentifier"`
- // Mac security cipher.
- Cipher pulumi.StringPtrInput `pulumi:"cipher"`
- // Keyvault Secret Identifier URL containing Mac security CKN key.
- CknSecretIdentifier pulumi.StringPtrInput `pulumi:"cknSecretIdentifier"`
- // Sci mode enabled/disabled.
- SciState pulumi.StringPtrInput `pulumi:"sciState"`
+// Parameters that define the configuration of traffic analytics.
+func (o FlowLogVirtualNetworkApplianceResponseOutput) FlowAnalyticsConfiguration() TrafficAnalyticsPropertiesResponsePtrOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) *TrafficAnalyticsPropertiesResponse {
+ return v.FlowAnalyticsConfiguration
+ }).(TrafficAnalyticsPropertiesResponsePtrOutput)
}
-func (ExpressRouteLinkMacSecConfigArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteLinkMacSecConfig)(nil)).Elem()
+// Parameters that define the flow log format.
+func (o FlowLogVirtualNetworkApplianceResponseOutput) Format() FlowLogFormatParametersResponsePtrOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) *FlowLogFormatParametersResponse { return v.Format }).(FlowLogFormatParametersResponsePtrOutput)
}
-func (i ExpressRouteLinkMacSecConfigArgs) ToExpressRouteLinkMacSecConfigOutput() ExpressRouteLinkMacSecConfigOutput {
- return i.ToExpressRouteLinkMacSecConfigOutputWithContext(context.Background())
+// Resource ID.
+func (o FlowLogVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (i ExpressRouteLinkMacSecConfigArgs) ToExpressRouteLinkMacSecConfigOutputWithContext(ctx context.Context) ExpressRouteLinkMacSecConfigOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteLinkMacSecConfigOutput)
+// FlowLog resource Managed Identity
+func (o FlowLogVirtualNetworkApplianceResponseOutput) Identity() ManagedServiceIdentityVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) *ManagedServiceIdentityVirtualNetworkApplianceResponse {
+ return v.Identity
+ }).(ManagedServiceIdentityVirtualNetworkApplianceResponsePtrOutput)
}
-func (i ExpressRouteLinkMacSecConfigArgs) ToExpressRouteLinkMacSecConfigPtrOutput() ExpressRouteLinkMacSecConfigPtrOutput {
- return i.ToExpressRouteLinkMacSecConfigPtrOutputWithContext(context.Background())
+// Resource location.
+func (o FlowLogVirtualNetworkApplianceResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (i ExpressRouteLinkMacSecConfigArgs) ToExpressRouteLinkMacSecConfigPtrOutputWithContext(ctx context.Context) ExpressRouteLinkMacSecConfigPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteLinkMacSecConfigOutput).ToExpressRouteLinkMacSecConfigPtrOutputWithContext(ctx)
+// Resource name.
+func (o FlowLogVirtualNetworkApplianceResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// ExpressRouteLinkMacSecConfigPtrInput is an input type that accepts ExpressRouteLinkMacSecConfigArgs, ExpressRouteLinkMacSecConfigPtr and ExpressRouteLinkMacSecConfigPtrOutput values.
-// You can construct a concrete instance of `ExpressRouteLinkMacSecConfigPtrInput` via:
-//
-// ExpressRouteLinkMacSecConfigArgs{...}
-//
-// or:
-//
-// nil
-type ExpressRouteLinkMacSecConfigPtrInput interface {
- pulumi.Input
+// The provisioning state of the flow log.
+func (o FlowLogVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
- ToExpressRouteLinkMacSecConfigPtrOutput() ExpressRouteLinkMacSecConfigPtrOutput
- ToExpressRouteLinkMacSecConfigPtrOutputWithContext(context.Context) ExpressRouteLinkMacSecConfigPtrOutput
+// Optional field to filter network traffic logs based on flow states. Value of this field could be any comma separated combination string of letters B,C,E or D. B represents Begin, when a flow is created. C represents Continue for an ongoing flow generated at every five-minute interval. E represents End, when a flow is terminated. D represents Deny, when a flow is denied. If not specified, all network traffic will be logged.
+func (o FlowLogVirtualNetworkApplianceResponseOutput) RecordTypes() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) *string { return v.RecordTypes }).(pulumi.StringPtrOutput)
}
-type expressRouteLinkMacSecConfigPtrType ExpressRouteLinkMacSecConfigArgs
+// Parameters that define the retention policy for flow log.
+func (o FlowLogVirtualNetworkApplianceResponseOutput) RetentionPolicy() RetentionPolicyParametersResponsePtrOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) *RetentionPolicyParametersResponse {
+ return v.RetentionPolicy
+ }).(RetentionPolicyParametersResponsePtrOutput)
+}
-func ExpressRouteLinkMacSecConfigPtr(v *ExpressRouteLinkMacSecConfigArgs) ExpressRouteLinkMacSecConfigPtrInput {
- return (*expressRouteLinkMacSecConfigPtrType)(v)
+// ID of the storage account which is used to store the flow log.
+func (o FlowLogVirtualNetworkApplianceResponseOutput) StorageId() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) string { return v.StorageId }).(pulumi.StringOutput)
}
-func (*expressRouteLinkMacSecConfigPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteLinkMacSecConfig)(nil)).Elem()
+// Resource tags.
+func (o FlowLogVirtualNetworkApplianceResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (i *expressRouteLinkMacSecConfigPtrType) ToExpressRouteLinkMacSecConfigPtrOutput() ExpressRouteLinkMacSecConfigPtrOutput {
- return i.ToExpressRouteLinkMacSecConfigPtrOutputWithContext(context.Background())
+// Guid of network security group to which flow log will be applied.
+func (o FlowLogVirtualNetworkApplianceResponseOutput) TargetResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) string { return v.TargetResourceGuid }).(pulumi.StringOutput)
}
-func (i *expressRouteLinkMacSecConfigPtrType) ToExpressRouteLinkMacSecConfigPtrOutputWithContext(ctx context.Context) ExpressRouteLinkMacSecConfigPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExpressRouteLinkMacSecConfigPtrOutput)
+// ID of network security group to which flow log will be applied.
+func (o FlowLogVirtualNetworkApplianceResponseOutput) TargetResourceId() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) string { return v.TargetResourceId }).(pulumi.StringOutput)
}
-// ExpressRouteLink Mac Security Configuration.
-type ExpressRouteLinkMacSecConfigOutput struct{ *pulumi.OutputState }
+// Resource type.
+func (o FlowLogVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v FlowLogVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
+}
-func (ExpressRouteLinkMacSecConfigOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteLinkMacSecConfig)(nil)).Elem()
+type FlowLogVirtualNetworkApplianceResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (FlowLogVirtualNetworkApplianceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FlowLogVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o ExpressRouteLinkMacSecConfigOutput) ToExpressRouteLinkMacSecConfigOutput() ExpressRouteLinkMacSecConfigOutput {
+func (o FlowLogVirtualNetworkApplianceResponseArrayOutput) ToFlowLogVirtualNetworkApplianceResponseArrayOutput() FlowLogVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o ExpressRouteLinkMacSecConfigOutput) ToExpressRouteLinkMacSecConfigOutputWithContext(ctx context.Context) ExpressRouteLinkMacSecConfigOutput {
+func (o FlowLogVirtualNetworkApplianceResponseArrayOutput) ToFlowLogVirtualNetworkApplianceResponseArrayOutputWithContext(ctx context.Context) FlowLogVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o ExpressRouteLinkMacSecConfigOutput) ToExpressRouteLinkMacSecConfigPtrOutput() ExpressRouteLinkMacSecConfigPtrOutput {
- return o.ToExpressRouteLinkMacSecConfigPtrOutputWithContext(context.Background())
+func (o FlowLogVirtualNetworkApplianceResponseArrayOutput) Index(i pulumi.IntInput) FlowLogVirtualNetworkApplianceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FlowLogVirtualNetworkApplianceResponse {
+ return vs[0].([]FlowLogVirtualNetworkApplianceResponse)[vs[1].(int)]
+ }).(FlowLogVirtualNetworkApplianceResponseOutput)
}
-func (o ExpressRouteLinkMacSecConfigOutput) ToExpressRouteLinkMacSecConfigPtrOutputWithContext(ctx context.Context) ExpressRouteLinkMacSecConfigPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ExpressRouteLinkMacSecConfig) *ExpressRouteLinkMacSecConfig {
- return &v
- }).(ExpressRouteLinkMacSecConfigPtrOutput)
+// Frontend IP address of the load balancer.
+type FrontendIPConfiguration struct {
+ // The reference to gateway load balancer frontend IP.
+ GatewayLoadBalancer *SubResource `pulumi:"gatewayLoadBalancer"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The private IP address of the IP configuration.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+ PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
+ // The Private IP allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // The reference to the Public IP resource.
+ PublicIPAddress *PublicIPAddressType `pulumi:"publicIPAddress"`
+ // The reference to the Public IP Prefix resource.
+ PublicIPPrefix *SubResource `pulumi:"publicIPPrefix"`
+ // The reference to the subnet resource.
+ Subnet *SubnetType `pulumi:"subnet"`
+ // A list of availability zones denoting the IP allocated for the resource needs to come from.
+ Zones []string `pulumi:"zones"`
}
-// Keyvault Secret Identifier URL containing Mac security CAK key.
-func (o ExpressRouteLinkMacSecConfigOutput) CakSecretIdentifier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteLinkMacSecConfig) *string { return v.CakSecretIdentifier }).(pulumi.StringPtrOutput)
+// Defaults sets the appropriate defaults for FrontendIPConfiguration
+func (val *FrontendIPConfiguration) Defaults() *FrontendIPConfiguration {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.Subnet = tmp.Subnet.Defaults()
+
+ return &tmp
}
-// Mac security cipher.
-func (o ExpressRouteLinkMacSecConfigOutput) Cipher() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteLinkMacSecConfig) *string { return v.Cipher }).(pulumi.StringPtrOutput)
+// FrontendIPConfigurationInput is an input type that accepts FrontendIPConfigurationArgs and FrontendIPConfigurationOutput values.
+// You can construct a concrete instance of `FrontendIPConfigurationInput` via:
+//
+// FrontendIPConfigurationArgs{...}
+type FrontendIPConfigurationInput interface {
+ pulumi.Input
+
+ ToFrontendIPConfigurationOutput() FrontendIPConfigurationOutput
+ ToFrontendIPConfigurationOutputWithContext(context.Context) FrontendIPConfigurationOutput
}
-// Keyvault Secret Identifier URL containing Mac security CKN key.
-func (o ExpressRouteLinkMacSecConfigOutput) CknSecretIdentifier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteLinkMacSecConfig) *string { return v.CknSecretIdentifier }).(pulumi.StringPtrOutput)
+// Frontend IP address of the load balancer.
+type FrontendIPConfigurationArgs struct {
+ // The reference to gateway load balancer frontend IP.
+ GatewayLoadBalancer SubResourcePtrInput `pulumi:"gatewayLoadBalancer"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The private IP address of the IP configuration.
+ PrivateIPAddress pulumi.StringPtrInput `pulumi:"privateIPAddress"`
+ // Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+ PrivateIPAddressVersion pulumi.StringPtrInput `pulumi:"privateIPAddressVersion"`
+ // The Private IP allocation method.
+ PrivateIPAllocationMethod pulumi.StringPtrInput `pulumi:"privateIPAllocationMethod"`
+ // The reference to the Public IP resource.
+ PublicIPAddress PublicIPAddressTypePtrInput `pulumi:"publicIPAddress"`
+ // The reference to the Public IP Prefix resource.
+ PublicIPPrefix SubResourcePtrInput `pulumi:"publicIPPrefix"`
+ // The reference to the subnet resource.
+ Subnet SubnetTypePtrInput `pulumi:"subnet"`
+ // A list of availability zones denoting the IP allocated for the resource needs to come from.
+ Zones pulumi.StringArrayInput `pulumi:"zones"`
}
-// Sci mode enabled/disabled.
-func (o ExpressRouteLinkMacSecConfigOutput) SciState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteLinkMacSecConfig) *string { return v.SciState }).(pulumi.StringPtrOutput)
+// Defaults sets the appropriate defaults for FrontendIPConfigurationArgs
+func (val *FrontendIPConfigurationArgs) Defaults() *FrontendIPConfigurationArgs {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+
+ return &tmp
+}
+func (FrontendIPConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*FrontendIPConfiguration)(nil)).Elem()
}
-type ExpressRouteLinkMacSecConfigPtrOutput struct{ *pulumi.OutputState }
+func (i FrontendIPConfigurationArgs) ToFrontendIPConfigurationOutput() FrontendIPConfigurationOutput {
+ return i.ToFrontendIPConfigurationOutputWithContext(context.Background())
+}
-func (ExpressRouteLinkMacSecConfigPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteLinkMacSecConfig)(nil)).Elem()
+func (i FrontendIPConfigurationArgs) ToFrontendIPConfigurationOutputWithContext(ctx context.Context) FrontendIPConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FrontendIPConfigurationOutput)
}
-func (o ExpressRouteLinkMacSecConfigPtrOutput) ToExpressRouteLinkMacSecConfigPtrOutput() ExpressRouteLinkMacSecConfigPtrOutput {
- return o
+func (i FrontendIPConfigurationArgs) ToFrontendIPConfigurationPtrOutput() FrontendIPConfigurationPtrOutput {
+ return i.ToFrontendIPConfigurationPtrOutputWithContext(context.Background())
}
-func (o ExpressRouteLinkMacSecConfigPtrOutput) ToExpressRouteLinkMacSecConfigPtrOutputWithContext(ctx context.Context) ExpressRouteLinkMacSecConfigPtrOutput {
- return o
+func (i FrontendIPConfigurationArgs) ToFrontendIPConfigurationPtrOutputWithContext(ctx context.Context) FrontendIPConfigurationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FrontendIPConfigurationOutput).ToFrontendIPConfigurationPtrOutputWithContext(ctx)
}
-func (o ExpressRouteLinkMacSecConfigPtrOutput) Elem() ExpressRouteLinkMacSecConfigOutput {
- return o.ApplyT(func(v *ExpressRouteLinkMacSecConfig) ExpressRouteLinkMacSecConfig {
- if v != nil {
- return *v
- }
- var ret ExpressRouteLinkMacSecConfig
- return ret
- }).(ExpressRouteLinkMacSecConfigOutput)
+// FrontendIPConfigurationPtrInput is an input type that accepts FrontendIPConfigurationArgs, FrontendIPConfigurationPtr and FrontendIPConfigurationPtrOutput values.
+// You can construct a concrete instance of `FrontendIPConfigurationPtrInput` via:
+//
+// FrontendIPConfigurationArgs{...}
+//
+// or:
+//
+// nil
+type FrontendIPConfigurationPtrInput interface {
+ pulumi.Input
+
+ ToFrontendIPConfigurationPtrOutput() FrontendIPConfigurationPtrOutput
+ ToFrontendIPConfigurationPtrOutputWithContext(context.Context) FrontendIPConfigurationPtrOutput
}
-// Keyvault Secret Identifier URL containing Mac security CAK key.
-func (o ExpressRouteLinkMacSecConfigPtrOutput) CakSecretIdentifier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteLinkMacSecConfig) *string {
- if v == nil {
- return nil
- }
- return v.CakSecretIdentifier
- }).(pulumi.StringPtrOutput)
+type frontendIPConfigurationPtrType FrontendIPConfigurationArgs
+
+func FrontendIPConfigurationPtr(v *FrontendIPConfigurationArgs) FrontendIPConfigurationPtrInput {
+ return (*frontendIPConfigurationPtrType)(v)
}
-// Mac security cipher.
-func (o ExpressRouteLinkMacSecConfigPtrOutput) Cipher() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteLinkMacSecConfig) *string {
- if v == nil {
- return nil
- }
- return v.Cipher
- }).(pulumi.StringPtrOutput)
+func (*frontendIPConfigurationPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**FrontendIPConfiguration)(nil)).Elem()
}
-// Keyvault Secret Identifier URL containing Mac security CKN key.
-func (o ExpressRouteLinkMacSecConfigPtrOutput) CknSecretIdentifier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteLinkMacSecConfig) *string {
- if v == nil {
- return nil
- }
- return v.CknSecretIdentifier
- }).(pulumi.StringPtrOutput)
+func (i *frontendIPConfigurationPtrType) ToFrontendIPConfigurationPtrOutput() FrontendIPConfigurationPtrOutput {
+ return i.ToFrontendIPConfigurationPtrOutputWithContext(context.Background())
}
-// Sci mode enabled/disabled.
-func (o ExpressRouteLinkMacSecConfigPtrOutput) SciState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteLinkMacSecConfig) *string {
- if v == nil {
- return nil
- }
- return v.SciState
- }).(pulumi.StringPtrOutput)
+func (i *frontendIPConfigurationPtrType) ToFrontendIPConfigurationPtrOutputWithContext(ctx context.Context) FrontendIPConfigurationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FrontendIPConfigurationPtrOutput)
}
-// ExpressRouteLink Mac Security Configuration.
-type ExpressRouteLinkMacSecConfigResponse struct {
- // Keyvault Secret Identifier URL containing Mac security CAK key.
- CakSecretIdentifier *string `pulumi:"cakSecretIdentifier"`
- // Mac security cipher.
- Cipher *string `pulumi:"cipher"`
- // Keyvault Secret Identifier URL containing Mac security CKN key.
- CknSecretIdentifier *string `pulumi:"cknSecretIdentifier"`
- // Sci mode enabled/disabled.
- SciState *string `pulumi:"sciState"`
+// FrontendIPConfigurationArrayInput is an input type that accepts FrontendIPConfigurationArray and FrontendIPConfigurationArrayOutput values.
+// You can construct a concrete instance of `FrontendIPConfigurationArrayInput` via:
+//
+// FrontendIPConfigurationArray{ FrontendIPConfigurationArgs{...} }
+type FrontendIPConfigurationArrayInput interface {
+ pulumi.Input
+
+ ToFrontendIPConfigurationArrayOutput() FrontendIPConfigurationArrayOutput
+ ToFrontendIPConfigurationArrayOutputWithContext(context.Context) FrontendIPConfigurationArrayOutput
}
-// ExpressRouteLink Mac Security Configuration.
-type ExpressRouteLinkMacSecConfigResponseOutput struct{ *pulumi.OutputState }
+type FrontendIPConfigurationArray []FrontendIPConfigurationInput
-func (ExpressRouteLinkMacSecConfigResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteLinkMacSecConfigResponse)(nil)).Elem()
+func (FrontendIPConfigurationArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FrontendIPConfiguration)(nil)).Elem()
}
-func (o ExpressRouteLinkMacSecConfigResponseOutput) ToExpressRouteLinkMacSecConfigResponseOutput() ExpressRouteLinkMacSecConfigResponseOutput {
+func (i FrontendIPConfigurationArray) ToFrontendIPConfigurationArrayOutput() FrontendIPConfigurationArrayOutput {
+ return i.ToFrontendIPConfigurationArrayOutputWithContext(context.Background())
+}
+
+func (i FrontendIPConfigurationArray) ToFrontendIPConfigurationArrayOutputWithContext(ctx context.Context) FrontendIPConfigurationArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(FrontendIPConfigurationArrayOutput)
+}
+
+// Frontend IP address of the load balancer.
+type FrontendIPConfigurationOutput struct{ *pulumi.OutputState }
+
+func (FrontendIPConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FrontendIPConfiguration)(nil)).Elem()
+}
+
+func (o FrontendIPConfigurationOutput) ToFrontendIPConfigurationOutput() FrontendIPConfigurationOutput {
return o
}
-func (o ExpressRouteLinkMacSecConfigResponseOutput) ToExpressRouteLinkMacSecConfigResponseOutputWithContext(ctx context.Context) ExpressRouteLinkMacSecConfigResponseOutput {
+func (o FrontendIPConfigurationOutput) ToFrontendIPConfigurationOutputWithContext(ctx context.Context) FrontendIPConfigurationOutput {
return o
}
-// Keyvault Secret Identifier URL containing Mac security CAK key.
-func (o ExpressRouteLinkMacSecConfigResponseOutput) CakSecretIdentifier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteLinkMacSecConfigResponse) *string { return v.CakSecretIdentifier }).(pulumi.StringPtrOutput)
+func (o FrontendIPConfigurationOutput) ToFrontendIPConfigurationPtrOutput() FrontendIPConfigurationPtrOutput {
+ return o.ToFrontendIPConfigurationPtrOutputWithContext(context.Background())
}
-// Mac security cipher.
-func (o ExpressRouteLinkMacSecConfigResponseOutput) Cipher() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteLinkMacSecConfigResponse) *string { return v.Cipher }).(pulumi.StringPtrOutput)
+func (o FrontendIPConfigurationOutput) ToFrontendIPConfigurationPtrOutputWithContext(ctx context.Context) FrontendIPConfigurationPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v FrontendIPConfiguration) *FrontendIPConfiguration {
+ return &v
+ }).(FrontendIPConfigurationPtrOutput)
}
-// Keyvault Secret Identifier URL containing Mac security CKN key.
-func (o ExpressRouteLinkMacSecConfigResponseOutput) CknSecretIdentifier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteLinkMacSecConfigResponse) *string { return v.CknSecretIdentifier }).(pulumi.StringPtrOutput)
+// The reference to gateway load balancer frontend IP.
+func (o FrontendIPConfigurationOutput) GatewayLoadBalancer() SubResourcePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfiguration) *SubResource { return v.GatewayLoadBalancer }).(SubResourcePtrOutput)
}
-// Sci mode enabled/disabled.
-func (o ExpressRouteLinkMacSecConfigResponseOutput) SciState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteLinkMacSecConfigResponse) *string { return v.SciState }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o FrontendIPConfigurationOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfiguration) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-type ExpressRouteLinkMacSecConfigResponsePtrOutput struct{ *pulumi.OutputState }
+// The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
+func (o FrontendIPConfigurationOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfiguration) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
-func (ExpressRouteLinkMacSecConfigResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExpressRouteLinkMacSecConfigResponse)(nil)).Elem()
+// The private IP address of the IP configuration.
+func (o FrontendIPConfigurationOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfiguration) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-func (o ExpressRouteLinkMacSecConfigResponsePtrOutput) ToExpressRouteLinkMacSecConfigResponsePtrOutput() ExpressRouteLinkMacSecConfigResponsePtrOutput {
+// Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+func (o FrontendIPConfigurationOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfiguration) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
+}
+
+// The Private IP allocation method.
+func (o FrontendIPConfigurationOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfiguration) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+}
+
+// The reference to the Public IP resource.
+func (o FrontendIPConfigurationOutput) PublicIPAddress() PublicIPAddressTypePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfiguration) *PublicIPAddressType { return v.PublicIPAddress }).(PublicIPAddressTypePtrOutput)
+}
+
+// The reference to the Public IP Prefix resource.
+func (o FrontendIPConfigurationOutput) PublicIPPrefix() SubResourcePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfiguration) *SubResource { return v.PublicIPPrefix }).(SubResourcePtrOutput)
+}
+
+// The reference to the subnet resource.
+func (o FrontendIPConfigurationOutput) Subnet() SubnetTypePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfiguration) *SubnetType { return v.Subnet }).(SubnetTypePtrOutput)
+}
+
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o FrontendIPConfigurationOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfiguration) []string { return v.Zones }).(pulumi.StringArrayOutput)
+}
+
+type FrontendIPConfigurationPtrOutput struct{ *pulumi.OutputState }
+
+func (FrontendIPConfigurationPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FrontendIPConfiguration)(nil)).Elem()
+}
+
+func (o FrontendIPConfigurationPtrOutput) ToFrontendIPConfigurationPtrOutput() FrontendIPConfigurationPtrOutput {
return o
}
-func (o ExpressRouteLinkMacSecConfigResponsePtrOutput) ToExpressRouteLinkMacSecConfigResponsePtrOutputWithContext(ctx context.Context) ExpressRouteLinkMacSecConfigResponsePtrOutput {
+func (o FrontendIPConfigurationPtrOutput) ToFrontendIPConfigurationPtrOutputWithContext(ctx context.Context) FrontendIPConfigurationPtrOutput {
return o
}
-func (o ExpressRouteLinkMacSecConfigResponsePtrOutput) Elem() ExpressRouteLinkMacSecConfigResponseOutput {
- return o.ApplyT(func(v *ExpressRouteLinkMacSecConfigResponse) ExpressRouteLinkMacSecConfigResponse {
+func (o FrontendIPConfigurationPtrOutput) Elem() FrontendIPConfigurationOutput {
+ return o.ApplyT(func(v *FrontendIPConfiguration) FrontendIPConfiguration {
if v != nil {
return *v
}
- var ret ExpressRouteLinkMacSecConfigResponse
+ var ret FrontendIPConfiguration
return ret
- }).(ExpressRouteLinkMacSecConfigResponseOutput)
+ }).(FrontendIPConfigurationOutput)
}
-// Keyvault Secret Identifier URL containing Mac security CAK key.
-func (o ExpressRouteLinkMacSecConfigResponsePtrOutput) CakSecretIdentifier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteLinkMacSecConfigResponse) *string {
+// The reference to gateway load balancer frontend IP.
+func (o FrontendIPConfigurationPtrOutput) GatewayLoadBalancer() SubResourcePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfiguration) *SubResource {
if v == nil {
return nil
}
- return v.CakSecretIdentifier
- }).(pulumi.StringPtrOutput)
+ return v.GatewayLoadBalancer
+ }).(SubResourcePtrOutput)
}
-// Mac security cipher.
-func (o ExpressRouteLinkMacSecConfigResponsePtrOutput) Cipher() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteLinkMacSecConfigResponse) *string {
+// Resource ID.
+func (o FrontendIPConfigurationPtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfiguration) *string {
if v == nil {
return nil
}
- return v.Cipher
+ return v.Id
}).(pulumi.StringPtrOutput)
}
-// Keyvault Secret Identifier URL containing Mac security CKN key.
-func (o ExpressRouteLinkMacSecConfigResponsePtrOutput) CknSecretIdentifier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteLinkMacSecConfigResponse) *string {
+// The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
+func (o FrontendIPConfigurationPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfiguration) *string {
if v == nil {
return nil
}
- return v.CknSecretIdentifier
+ return v.Name
}).(pulumi.StringPtrOutput)
}
-// Sci mode enabled/disabled.
-func (o ExpressRouteLinkMacSecConfigResponsePtrOutput) SciState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExpressRouteLinkMacSecConfigResponse) *string {
+// The private IP address of the IP configuration.
+func (o FrontendIPConfigurationPtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfiguration) *string {
if v == nil {
return nil
}
- return v.SciState
+ return v.PrivateIPAddress
}).(pulumi.StringPtrOutput)
}
-// ExpressRouteLink child resource definition.
-type ExpressRouteLinkResponse struct {
- // Administrative state of the physical port.
- AdminState *string `pulumi:"adminState"`
- // Cololocation for ExpressRoute Hybrid Direct.
- ColoLocation string `pulumi:"coloLocation"`
- // Physical fiber port type.
- ConnectorType string `pulumi:"connectorType"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Name of Azure router interface.
- InterfaceName string `pulumi:"interfaceName"`
- // MacSec configuration.
- MacSecConfig *ExpressRouteLinkMacSecConfigResponse `pulumi:"macSecConfig"`
- // Name of child port resource that is unique among child port resources of the parent.
- Name *string `pulumi:"name"`
- // Mapping between physical port to patch panel port.
- PatchPanelId string `pulumi:"patchPanelId"`
- // The provisioning state of the express route link resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Mapping of physical patch panel to rack.
- RackId string `pulumi:"rackId"`
- // Name of Azure router associated with physical port.
- RouterName string `pulumi:"routerName"`
+// Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+func (o FrontendIPConfigurationPtrOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfiguration) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAddressVersion
+ }).(pulumi.StringPtrOutput)
}
-// ExpressRouteLink child resource definition.
-type ExpressRouteLinkResponseOutput struct{ *pulumi.OutputState }
-
-func (ExpressRouteLinkResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExpressRouteLinkResponse)(nil)).Elem()
+// The Private IP allocation method.
+func (o FrontendIPConfigurationPtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfiguration) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
}
-func (o ExpressRouteLinkResponseOutput) ToExpressRouteLinkResponseOutput() ExpressRouteLinkResponseOutput {
- return o
+// The reference to the Public IP resource.
+func (o FrontendIPConfigurationPtrOutput) PublicIPAddress() PublicIPAddressTypePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfiguration) *PublicIPAddressType {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAddress
+ }).(PublicIPAddressTypePtrOutput)
}
-func (o ExpressRouteLinkResponseOutput) ToExpressRouteLinkResponseOutputWithContext(ctx context.Context) ExpressRouteLinkResponseOutput {
- return o
+// The reference to the Public IP Prefix resource.
+func (o FrontendIPConfigurationPtrOutput) PublicIPPrefix() SubResourcePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfiguration) *SubResource {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPPrefix
+ }).(SubResourcePtrOutput)
}
-// Administrative state of the physical port.
-func (o ExpressRouteLinkResponseOutput) AdminState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteLinkResponse) *string { return v.AdminState }).(pulumi.StringPtrOutput)
+// The reference to the subnet resource.
+func (o FrontendIPConfigurationPtrOutput) Subnet() SubnetTypePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfiguration) *SubnetType {
+ if v == nil {
+ return nil
+ }
+ return v.Subnet
+ }).(SubnetTypePtrOutput)
}
-// Cololocation for ExpressRoute Hybrid Direct.
-func (o ExpressRouteLinkResponseOutput) ColoLocation() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteLinkResponse) string { return v.ColoLocation }).(pulumi.StringOutput)
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o FrontendIPConfigurationPtrOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfiguration) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Zones
+ }).(pulumi.StringArrayOutput)
}
-// Physical fiber port type.
-func (o ExpressRouteLinkResponseOutput) ConnectorType() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteLinkResponse) string { return v.ConnectorType }).(pulumi.StringOutput)
+type FrontendIPConfigurationArrayOutput struct{ *pulumi.OutputState }
+
+func (FrontendIPConfigurationArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FrontendIPConfiguration)(nil)).Elem()
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o ExpressRouteLinkResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteLinkResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o FrontendIPConfigurationArrayOutput) ToFrontendIPConfigurationArrayOutput() FrontendIPConfigurationArrayOutput {
+ return o
}
-// Resource ID.
-func (o ExpressRouteLinkResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteLinkResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o FrontendIPConfigurationArrayOutput) ToFrontendIPConfigurationArrayOutputWithContext(ctx context.Context) FrontendIPConfigurationArrayOutput {
+ return o
}
-// Name of Azure router interface.
-func (o ExpressRouteLinkResponseOutput) InterfaceName() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteLinkResponse) string { return v.InterfaceName }).(pulumi.StringOutput)
+func (o FrontendIPConfigurationArrayOutput) Index(i pulumi.IntInput) FrontendIPConfigurationOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FrontendIPConfiguration {
+ return vs[0].([]FrontendIPConfiguration)[vs[1].(int)]
+ }).(FrontendIPConfigurationOutput)
}
-// MacSec configuration.
-func (o ExpressRouteLinkResponseOutput) MacSecConfig() ExpressRouteLinkMacSecConfigResponsePtrOutput {
- return o.ApplyT(func(v ExpressRouteLinkResponse) *ExpressRouteLinkMacSecConfigResponse { return v.MacSecConfig }).(ExpressRouteLinkMacSecConfigResponsePtrOutput)
+// Frontend IP address of the load balancer.
+type FrontendIPConfigurationInterfaceEndpointResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Read only. Inbound pools URIs that use this frontend IP.
+ InboundNatPools []SubResourceResponse `pulumi:"inboundNatPools"`
+ // Read only. Inbound rules URIs that use this frontend IP.
+ InboundNatRules []SubResourceResponse `pulumi:"inboundNatRules"`
+ // Gets load balancing rules URIs that use this frontend IP.
+ LoadBalancingRules []SubResourceResponse `pulumi:"loadBalancingRules"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Read only. Outbound rules URIs that use this frontend IP.
+ OutboundRules []SubResourceResponse `pulumi:"outboundRules"`
+ // The private IP address of the IP configuration.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // The Private IP allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState *string `pulumi:"provisioningState"`
+ // The reference of the Public IP resource.
+ PublicIPAddress *PublicIPAddressInterfaceEndpointResponse `pulumi:"publicIPAddress"`
+ // The reference of the Public IP Prefix resource.
+ PublicIPPrefix *SubResourceResponse `pulumi:"publicIPPrefix"`
+ // The reference of the subnet resource.
+ Subnet *SubnetInterfaceEndpointResponse `pulumi:"subnet"`
+ // A list of availability zones denoting the IP allocated for the resource needs to come from.
+ Zones []string `pulumi:"zones"`
}
-// Name of child port resource that is unique among child port resources of the parent.
-func (o ExpressRouteLinkResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExpressRouteLinkResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Defaults sets the appropriate defaults for FrontendIPConfigurationInterfaceEndpointResponse
+func (val *FrontendIPConfigurationInterfaceEndpointResponse) Defaults() *FrontendIPConfigurationInterfaceEndpointResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
+
+ return &tmp
}
-// Mapping between physical port to patch panel port.
-func (o ExpressRouteLinkResponseOutput) PatchPanelId() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteLinkResponse) string { return v.PatchPanelId }).(pulumi.StringOutput)
+// Frontend IP address of the load balancer.
+type FrontendIPConfigurationInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
+
+func (FrontendIPConfigurationInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FrontendIPConfigurationInterfaceEndpointResponse)(nil)).Elem()
}
-// The provisioning state of the express route link resource.
-func (o ExpressRouteLinkResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteLinkResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o FrontendIPConfigurationInterfaceEndpointResponseOutput) ToFrontendIPConfigurationInterfaceEndpointResponseOutput() FrontendIPConfigurationInterfaceEndpointResponseOutput {
+ return o
}
-// Mapping of physical patch panel to rack.
-func (o ExpressRouteLinkResponseOutput) RackId() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteLinkResponse) string { return v.RackId }).(pulumi.StringOutput)
+func (o FrontendIPConfigurationInterfaceEndpointResponseOutput) ToFrontendIPConfigurationInterfaceEndpointResponseOutputWithContext(ctx context.Context) FrontendIPConfigurationInterfaceEndpointResponseOutput {
+ return o
}
-// Name of Azure router associated with physical port.
-func (o ExpressRouteLinkResponseOutput) RouterName() pulumi.StringOutput {
- return o.ApplyT(func(v ExpressRouteLinkResponse) string { return v.RouterName }).(pulumi.StringOutput)
-}
-
-type ExpressRouteLinkResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (ExpressRouteLinkResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ExpressRouteLinkResponse)(nil)).Elem()
-}
-
-func (o ExpressRouteLinkResponseArrayOutput) ToExpressRouteLinkResponseArrayOutput() ExpressRouteLinkResponseArrayOutput {
- return o
-}
-
-func (o ExpressRouteLinkResponseArrayOutput) ToExpressRouteLinkResponseArrayOutputWithContext(ctx context.Context) ExpressRouteLinkResponseArrayOutput {
- return o
-}
-
-func (o ExpressRouteLinkResponseArrayOutput) Index(i pulumi.IntInput) ExpressRouteLinkResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExpressRouteLinkResponse {
- return vs[0].([]ExpressRouteLinkResponse)[vs[1].(int)]
- }).(ExpressRouteLinkResponseOutput)
-}
-
-// ExtendedLocation complex type.
-type ExtendedLocation struct {
- // The name of the extended location.
- Name *string `pulumi:"name"`
- // The type of the extended location.
- Type *string `pulumi:"type"`
-}
-
-// ExtendedLocationInput is an input type that accepts ExtendedLocationArgs and ExtendedLocationOutput values.
-// You can construct a concrete instance of `ExtendedLocationInput` via:
-//
-// ExtendedLocationArgs{...}
-type ExtendedLocationInput interface {
- pulumi.Input
-
- ToExtendedLocationOutput() ExtendedLocationOutput
- ToExtendedLocationOutputWithContext(context.Context) ExtendedLocationOutput
-}
-
-// ExtendedLocation complex type.
-type ExtendedLocationArgs struct {
- // The name of the extended location.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The type of the extended location.
- Type pulumi.StringPtrInput `pulumi:"type"`
-}
-
-func (ExtendedLocationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ExtendedLocation)(nil)).Elem()
-}
-
-func (i ExtendedLocationArgs) ToExtendedLocationOutput() ExtendedLocationOutput {
- return i.ToExtendedLocationOutputWithContext(context.Background())
-}
-
-func (i ExtendedLocationArgs) ToExtendedLocationOutputWithContext(ctx context.Context) ExtendedLocationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExtendedLocationOutput)
-}
-
-func (i ExtendedLocationArgs) ToExtendedLocationPtrOutput() ExtendedLocationPtrOutput {
- return i.ToExtendedLocationPtrOutputWithContext(context.Background())
+// A unique read-only string that changes whenever the resource is updated.
+func (o FrontendIPConfigurationInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-func (i ExtendedLocationArgs) ToExtendedLocationPtrOutputWithContext(ctx context.Context) ExtendedLocationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExtendedLocationOutput).ToExtendedLocationPtrOutputWithContext(ctx)
+// Resource ID.
+func (o FrontendIPConfigurationInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// ExtendedLocationPtrInput is an input type that accepts ExtendedLocationArgs, ExtendedLocationPtr and ExtendedLocationPtrOutput values.
-// You can construct a concrete instance of `ExtendedLocationPtrInput` via:
-//
-// ExtendedLocationArgs{...}
-//
-// or:
-//
-// nil
-type ExtendedLocationPtrInput interface {
- pulumi.Input
-
- ToExtendedLocationPtrOutput() ExtendedLocationPtrOutput
- ToExtendedLocationPtrOutputWithContext(context.Context) ExtendedLocationPtrOutput
+// Read only. Inbound pools URIs that use this frontend IP.
+func (o FrontendIPConfigurationInterfaceEndpointResponseOutput) InboundNatPools() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationInterfaceEndpointResponse) []SubResourceResponse {
+ return v.InboundNatPools
+ }).(SubResourceResponseArrayOutput)
}
-type extendedLocationPtrType ExtendedLocationArgs
-
-func ExtendedLocationPtr(v *ExtendedLocationArgs) ExtendedLocationPtrInput {
- return (*extendedLocationPtrType)(v)
+// Read only. Inbound rules URIs that use this frontend IP.
+func (o FrontendIPConfigurationInterfaceEndpointResponseOutput) InboundNatRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationInterfaceEndpointResponse) []SubResourceResponse {
+ return v.InboundNatRules
+ }).(SubResourceResponseArrayOutput)
}
-func (*extendedLocationPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ExtendedLocation)(nil)).Elem()
+// Gets load balancing rules URIs that use this frontend IP.
+func (o FrontendIPConfigurationInterfaceEndpointResponseOutput) LoadBalancingRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationInterfaceEndpointResponse) []SubResourceResponse {
+ return v.LoadBalancingRules
+ }).(SubResourceResponseArrayOutput)
}
-func (i *extendedLocationPtrType) ToExtendedLocationPtrOutput() ExtendedLocationPtrOutput {
- return i.ToExtendedLocationPtrOutputWithContext(context.Background())
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o FrontendIPConfigurationInterfaceEndpointResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationInterfaceEndpointResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (i *extendedLocationPtrType) ToExtendedLocationPtrOutputWithContext(ctx context.Context) ExtendedLocationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ExtendedLocationPtrOutput)
+// Read only. Outbound rules URIs that use this frontend IP.
+func (o FrontendIPConfigurationInterfaceEndpointResponseOutput) OutboundRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationInterfaceEndpointResponse) []SubResourceResponse { return v.OutboundRules }).(SubResourceResponseArrayOutput)
}
-// ExtendedLocation complex type.
-type ExtendedLocationOutput struct{ *pulumi.OutputState }
-
-func (ExtendedLocationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExtendedLocation)(nil)).Elem()
+// The private IP address of the IP configuration.
+func (o FrontendIPConfigurationInterfaceEndpointResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationInterfaceEndpointResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-func (o ExtendedLocationOutput) ToExtendedLocationOutput() ExtendedLocationOutput {
- return o
+// The Private IP allocation method.
+func (o FrontendIPConfigurationInterfaceEndpointResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationInterfaceEndpointResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-func (o ExtendedLocationOutput) ToExtendedLocationOutputWithContext(ctx context.Context) ExtendedLocationOutput {
- return o
+// Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o FrontendIPConfigurationInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationInterfaceEndpointResponse) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-func (o ExtendedLocationOutput) ToExtendedLocationPtrOutput() ExtendedLocationPtrOutput {
- return o.ToExtendedLocationPtrOutputWithContext(context.Background())
+// The reference of the Public IP resource.
+func (o FrontendIPConfigurationInterfaceEndpointResponseOutput) PublicIPAddress() PublicIPAddressInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationInterfaceEndpointResponse) *PublicIPAddressInterfaceEndpointResponse {
+ return v.PublicIPAddress
+ }).(PublicIPAddressInterfaceEndpointResponsePtrOutput)
}
-func (o ExtendedLocationOutput) ToExtendedLocationPtrOutputWithContext(ctx context.Context) ExtendedLocationPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ExtendedLocation) *ExtendedLocation {
- return &v
- }).(ExtendedLocationPtrOutput)
+// The reference of the Public IP Prefix resource.
+func (o FrontendIPConfigurationInterfaceEndpointResponseOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationInterfaceEndpointResponse) *SubResourceResponse { return v.PublicIPPrefix }).(SubResourceResponsePtrOutput)
}
-// The name of the extended location.
-func (o ExtendedLocationOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExtendedLocation) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The reference of the subnet resource.
+func (o FrontendIPConfigurationInterfaceEndpointResponseOutput) Subnet() SubnetInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationInterfaceEndpointResponse) *SubnetInterfaceEndpointResponse {
+ return v.Subnet
+ }).(SubnetInterfaceEndpointResponsePtrOutput)
}
-// The type of the extended location.
-func (o ExtendedLocationOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExtendedLocation) *string { return v.Type }).(pulumi.StringPtrOutput)
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o FrontendIPConfigurationInterfaceEndpointResponseOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationInterfaceEndpointResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
}
-type ExtendedLocationPtrOutput struct{ *pulumi.OutputState }
+type FrontendIPConfigurationInterfaceEndpointResponsePtrOutput struct{ *pulumi.OutputState }
-func (ExtendedLocationPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExtendedLocation)(nil)).Elem()
+func (FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FrontendIPConfigurationInterfaceEndpointResponse)(nil)).Elem()
}
-func (o ExtendedLocationPtrOutput) ToExtendedLocationPtrOutput() ExtendedLocationPtrOutput {
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) ToFrontendIPConfigurationInterfaceEndpointResponsePtrOutput() FrontendIPConfigurationInterfaceEndpointResponsePtrOutput {
return o
}
-func (o ExtendedLocationPtrOutput) ToExtendedLocationPtrOutputWithContext(ctx context.Context) ExtendedLocationPtrOutput {
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) ToFrontendIPConfigurationInterfaceEndpointResponsePtrOutputWithContext(ctx context.Context) FrontendIPConfigurationInterfaceEndpointResponsePtrOutput {
return o
}
-func (o ExtendedLocationPtrOutput) Elem() ExtendedLocationOutput {
- return o.ApplyT(func(v *ExtendedLocation) ExtendedLocation {
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) Elem() FrontendIPConfigurationInterfaceEndpointResponseOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationInterfaceEndpointResponse) FrontendIPConfigurationInterfaceEndpointResponse {
if v != nil {
return *v
}
- var ret ExtendedLocation
+ var ret FrontendIPConfigurationInterfaceEndpointResponse
return ret
- }).(ExtendedLocationOutput)
+ }).(FrontendIPConfigurationInterfaceEndpointResponseOutput)
}
-// The name of the extended location.
-func (o ExtendedLocationPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExtendedLocation) *string {
+// A unique read-only string that changes whenever the resource is updated.
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationInterfaceEndpointResponse) *string {
if v == nil {
return nil
}
- return v.Name
+ return v.Etag
}).(pulumi.StringPtrOutput)
}
-// The type of the extended location.
-func (o ExtendedLocationPtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExtendedLocation) *string {
+// Resource ID.
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationInterfaceEndpointResponse) *string {
if v == nil {
return nil
}
- return v.Type
+ return v.Id
}).(pulumi.StringPtrOutput)
}
-// ExtendedLocation complex type.
-type ExtendedLocationResponse struct {
- // The name of the extended location.
- Name *string `pulumi:"name"`
- // The type of the extended location.
- Type *string `pulumi:"type"`
-}
-
-// ExtendedLocation complex type.
-type ExtendedLocationResponseOutput struct{ *pulumi.OutputState }
-
-func (ExtendedLocationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ExtendedLocationResponse)(nil)).Elem()
-}
-
-func (o ExtendedLocationResponseOutput) ToExtendedLocationResponseOutput() ExtendedLocationResponseOutput {
- return o
-}
-
-func (o ExtendedLocationResponseOutput) ToExtendedLocationResponseOutputWithContext(ctx context.Context) ExtendedLocationResponseOutput {
- return o
-}
-
-// The name of the extended location.
-func (o ExtendedLocationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExtendedLocationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-// The type of the extended location.
-func (o ExtendedLocationResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ExtendedLocationResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Read only. Inbound pools URIs that use this frontend IP.
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) InboundNatPools() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationInterfaceEndpointResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InboundNatPools
+ }).(SubResourceResponseArrayOutput)
}
-type ExtendedLocationResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (ExtendedLocationResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ExtendedLocationResponse)(nil)).Elem()
+// Read only. Inbound rules URIs that use this frontend IP.
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) InboundNatRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationInterfaceEndpointResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InboundNatRules
+ }).(SubResourceResponseArrayOutput)
}
-func (o ExtendedLocationResponsePtrOutput) ToExtendedLocationResponsePtrOutput() ExtendedLocationResponsePtrOutput {
- return o
+// Gets load balancing rules URIs that use this frontend IP.
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) LoadBalancingRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationInterfaceEndpointResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.LoadBalancingRules
+ }).(SubResourceResponseArrayOutput)
}
-func (o ExtendedLocationResponsePtrOutput) ToExtendedLocationResponsePtrOutputWithContext(ctx context.Context) ExtendedLocationResponsePtrOutput {
- return o
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o ExtendedLocationResponsePtrOutput) Elem() ExtendedLocationResponseOutput {
- return o.ApplyT(func(v *ExtendedLocationResponse) ExtendedLocationResponse {
- if v != nil {
- return *v
+// Read only. Outbound rules URIs that use this frontend IP.
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) OutboundRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationInterfaceEndpointResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
}
- var ret ExtendedLocationResponse
- return ret
- }).(ExtendedLocationResponseOutput)
+ return v.OutboundRules
+ }).(SubResourceResponseArrayOutput)
}
-// The name of the extended location.
-func (o ExtendedLocationResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExtendedLocationResponse) *string {
+// The private IP address of the IP configuration.
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationInterfaceEndpointResponse) *string {
if v == nil {
return nil
}
- return v.Name
+ return v.PrivateIPAddress
}).(pulumi.StringPtrOutput)
}
-// The type of the extended location.
-func (o ExtendedLocationResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ExtendedLocationResponse) *string {
+// The Private IP allocation method.
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationInterfaceEndpointResponse) *string {
if v == nil {
return nil
}
- return v.Type
+ return v.PrivateIPAllocationMethod
}).(pulumi.StringPtrOutput)
}
-// Will contain the filter name and values to operate on
-type FilterItems struct {
- // The name of the field we would like to filter
- Field *string `pulumi:"field"`
- // List of values to filter the current field by
- Values []string `pulumi:"values"`
-}
-
-// FilterItemsInput is an input type that accepts FilterItemsArgs and FilterItemsOutput values.
-// You can construct a concrete instance of `FilterItemsInput` via:
-//
-// FilterItemsArgs{...}
-type FilterItemsInput interface {
- pulumi.Input
-
- ToFilterItemsOutput() FilterItemsOutput
- ToFilterItemsOutputWithContext(context.Context) FilterItemsOutput
+// Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// Will contain the filter name and values to operate on
-type FilterItemsArgs struct {
- // The name of the field we would like to filter
- Field pulumi.StringPtrInput `pulumi:"field"`
- // List of values to filter the current field by
- Values pulumi.StringArrayInput `pulumi:"values"`
+// The reference of the Public IP resource.
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) PublicIPAddress() PublicIPAddressInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationInterfaceEndpointResponse) *PublicIPAddressInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAddress
+ }).(PublicIPAddressInterfaceEndpointResponsePtrOutput)
}
-func (FilterItemsArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FilterItems)(nil)).Elem()
+// The reference of the Public IP Prefix resource.
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationInterfaceEndpointResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPPrefix
+ }).(SubResourceResponsePtrOutput)
}
-func (i FilterItemsArgs) ToFilterItemsOutput() FilterItemsOutput {
- return i.ToFilterItemsOutputWithContext(context.Background())
+// The reference of the subnet resource.
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) Subnet() SubnetInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationInterfaceEndpointResponse) *SubnetInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnet
+ }).(SubnetInterfaceEndpointResponsePtrOutput)
}
-func (i FilterItemsArgs) ToFilterItemsOutputWithContext(ctx context.Context) FilterItemsOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FilterItemsOutput)
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o FrontendIPConfigurationInterfaceEndpointResponsePtrOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationInterfaceEndpointResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Zones
+ }).(pulumi.StringArrayOutput)
}
-// FilterItemsArrayInput is an input type that accepts FilterItemsArray and FilterItemsArrayOutput values.
-// You can construct a concrete instance of `FilterItemsArrayInput` via:
-//
-// FilterItemsArray{ FilterItemsArgs{...} }
-type FilterItemsArrayInput interface {
- pulumi.Input
-
- ToFilterItemsArrayOutput() FilterItemsArrayOutput
- ToFilterItemsArrayOutputWithContext(context.Context) FilterItemsArrayOutput
+// Frontend IP address of the load balancer.
+type FrontendIPConfigurationResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The reference to gateway load balancer frontend IP.
+ GatewayLoadBalancer *SubResourceResponse `pulumi:"gatewayLoadBalancer"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // An array of references to inbound pools that use this frontend IP.
+ InboundNatPools []SubResourceResponse `pulumi:"inboundNatPools"`
+ // An array of references to inbound rules that use this frontend IP.
+ InboundNatRules []SubResourceResponse `pulumi:"inboundNatRules"`
+ // An array of references to load balancing rules that use this frontend IP.
+ LoadBalancingRules []SubResourceResponse `pulumi:"loadBalancingRules"`
+ // The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // An array of references to outbound rules that use this frontend IP.
+ OutboundRules []SubResourceResponse `pulumi:"outboundRules"`
+ // The private IP address of the IP configuration.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+ PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
+ // The Private IP allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // The provisioning state of the frontend IP configuration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The reference to the Public IP resource.
+ PublicIPAddress *PublicIPAddressResponse `pulumi:"publicIPAddress"`
+ // The reference to the Public IP Prefix resource.
+ PublicIPPrefix *SubResourceResponse `pulumi:"publicIPPrefix"`
+ // The reference to the subnet resource.
+ Subnet *SubnetResponse `pulumi:"subnet"`
+ // Type of the resource.
+ Type string `pulumi:"type"`
+ // A list of availability zones denoting the IP allocated for the resource needs to come from.
+ Zones []string `pulumi:"zones"`
}
-type FilterItemsArray []FilterItemsInput
-
-func (FilterItemsArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FilterItems)(nil)).Elem()
-}
+// Defaults sets the appropriate defaults for FrontendIPConfigurationResponse
+func (val *FrontendIPConfigurationResponse) Defaults() *FrontendIPConfigurationResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
-func (i FilterItemsArray) ToFilterItemsArrayOutput() FilterItemsArrayOutput {
- return i.ToFilterItemsArrayOutputWithContext(context.Background())
-}
+ tmp.Subnet = tmp.Subnet.Defaults()
-func (i FilterItemsArray) ToFilterItemsArrayOutputWithContext(ctx context.Context) FilterItemsArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FilterItemsArrayOutput)
+ return &tmp
}
-// Will contain the filter name and values to operate on
-type FilterItemsOutput struct{ *pulumi.OutputState }
+// Frontend IP address of the load balancer.
+type FrontendIPConfigurationResponseOutput struct{ *pulumi.OutputState }
-func (FilterItemsOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FilterItems)(nil)).Elem()
+func (FrontendIPConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FrontendIPConfigurationResponse)(nil)).Elem()
}
-func (o FilterItemsOutput) ToFilterItemsOutput() FilterItemsOutput {
+func (o FrontendIPConfigurationResponseOutput) ToFrontendIPConfigurationResponseOutput() FrontendIPConfigurationResponseOutput {
return o
}
-func (o FilterItemsOutput) ToFilterItemsOutputWithContext(ctx context.Context) FilterItemsOutput {
+func (o FrontendIPConfigurationResponseOutput) ToFrontendIPConfigurationResponseOutputWithContext(ctx context.Context) FrontendIPConfigurationResponseOutput {
return o
}
-// The name of the field we would like to filter
-func (o FilterItemsOutput) Field() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FilterItems) *string { return v.Field }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o FrontendIPConfigurationResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// List of values to filter the current field by
-func (o FilterItemsOutput) Values() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FilterItems) []string { return v.Values }).(pulumi.StringArrayOutput)
+// The reference to gateway load balancer frontend IP.
+func (o FrontendIPConfigurationResponseOutput) GatewayLoadBalancer() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) *SubResourceResponse { return v.GatewayLoadBalancer }).(SubResourceResponsePtrOutput)
}
-type FilterItemsArrayOutput struct{ *pulumi.OutputState }
-
-func (FilterItemsArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FilterItems)(nil)).Elem()
+// Resource ID.
+func (o FrontendIPConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o FilterItemsArrayOutput) ToFilterItemsArrayOutput() FilterItemsArrayOutput {
- return o
+// An array of references to inbound pools that use this frontend IP.
+func (o FrontendIPConfigurationResponseOutput) InboundNatPools() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) []SubResourceResponse { return v.InboundNatPools }).(SubResourceResponseArrayOutput)
}
-func (o FilterItemsArrayOutput) ToFilterItemsArrayOutputWithContext(ctx context.Context) FilterItemsArrayOutput {
- return o
+// An array of references to inbound rules that use this frontend IP.
+func (o FrontendIPConfigurationResponseOutput) InboundNatRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) []SubResourceResponse { return v.InboundNatRules }).(SubResourceResponseArrayOutput)
}
-func (o FilterItemsArrayOutput) Index(i pulumi.IntInput) FilterItemsOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) FilterItems {
- return vs[0].([]FilterItems)[vs[1].(int)]
- }).(FilterItemsOutput)
+// An array of references to load balancing rules that use this frontend IP.
+func (o FrontendIPConfigurationResponseOutput) LoadBalancingRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) []SubResourceResponse { return v.LoadBalancingRules }).(SubResourceResponseArrayOutput)
}
-// Trusted Root certificates properties for tls.
-type FirewallPolicyCertificateAuthority struct {
- // Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
- KeyVaultSecretId *string `pulumi:"keyVaultSecretId"`
- // Name of the CA certificate.
- Name *string `pulumi:"name"`
+// The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
+func (o FrontendIPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// FirewallPolicyCertificateAuthorityInput is an input type that accepts FirewallPolicyCertificateAuthorityArgs and FirewallPolicyCertificateAuthorityOutput values.
-// You can construct a concrete instance of `FirewallPolicyCertificateAuthorityInput` via:
-//
-// FirewallPolicyCertificateAuthorityArgs{...}
-type FirewallPolicyCertificateAuthorityInput interface {
- pulumi.Input
-
- ToFirewallPolicyCertificateAuthorityOutput() FirewallPolicyCertificateAuthorityOutput
- ToFirewallPolicyCertificateAuthorityOutputWithContext(context.Context) FirewallPolicyCertificateAuthorityOutput
+// An array of references to outbound rules that use this frontend IP.
+func (o FrontendIPConfigurationResponseOutput) OutboundRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) []SubResourceResponse { return v.OutboundRules }).(SubResourceResponseArrayOutput)
}
-// Trusted Root certificates properties for tls.
-type FirewallPolicyCertificateAuthorityArgs struct {
- // Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
- KeyVaultSecretId pulumi.StringPtrInput `pulumi:"keyVaultSecretId"`
- // Name of the CA certificate.
- Name pulumi.StringPtrInput `pulumi:"name"`
+// The private IP address of the IP configuration.
+func (o FrontendIPConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-func (FirewallPolicyCertificateAuthorityArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyCertificateAuthority)(nil)).Elem()
+// Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+func (o FrontendIPConfigurationResponseOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
}
-func (i FirewallPolicyCertificateAuthorityArgs) ToFirewallPolicyCertificateAuthorityOutput() FirewallPolicyCertificateAuthorityOutput {
- return i.ToFirewallPolicyCertificateAuthorityOutputWithContext(context.Background())
+// The Private IP allocation method.
+func (o FrontendIPConfigurationResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-func (i FirewallPolicyCertificateAuthorityArgs) ToFirewallPolicyCertificateAuthorityOutputWithContext(ctx context.Context) FirewallPolicyCertificateAuthorityOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyCertificateAuthorityOutput)
+// The provisioning state of the frontend IP configuration resource.
+func (o FrontendIPConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i FirewallPolicyCertificateAuthorityArgs) ToFirewallPolicyCertificateAuthorityPtrOutput() FirewallPolicyCertificateAuthorityPtrOutput {
- return i.ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(context.Background())
+// The reference to the Public IP resource.
+func (o FrontendIPConfigurationResponseOutput) PublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) *PublicIPAddressResponse { return v.PublicIPAddress }).(PublicIPAddressResponsePtrOutput)
}
-func (i FirewallPolicyCertificateAuthorityArgs) ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(ctx context.Context) FirewallPolicyCertificateAuthorityPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyCertificateAuthorityOutput).ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(ctx)
+// The reference to the Public IP Prefix resource.
+func (o FrontendIPConfigurationResponseOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) *SubResourceResponse { return v.PublicIPPrefix }).(SubResourceResponsePtrOutput)
}
-// FirewallPolicyCertificateAuthorityPtrInput is an input type that accepts FirewallPolicyCertificateAuthorityArgs, FirewallPolicyCertificateAuthorityPtr and FirewallPolicyCertificateAuthorityPtrOutput values.
-// You can construct a concrete instance of `FirewallPolicyCertificateAuthorityPtrInput` via:
-//
-// FirewallPolicyCertificateAuthorityArgs{...}
-//
-// or:
-//
-// nil
-type FirewallPolicyCertificateAuthorityPtrInput interface {
- pulumi.Input
-
- ToFirewallPolicyCertificateAuthorityPtrOutput() FirewallPolicyCertificateAuthorityPtrOutput
- ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(context.Context) FirewallPolicyCertificateAuthorityPtrOutput
+// The reference to the subnet resource.
+func (o FrontendIPConfigurationResponseOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
}
-type firewallPolicyCertificateAuthorityPtrType FirewallPolicyCertificateAuthorityArgs
-
-func FirewallPolicyCertificateAuthorityPtr(v *FirewallPolicyCertificateAuthorityArgs) FirewallPolicyCertificateAuthorityPtrInput {
- return (*firewallPolicyCertificateAuthorityPtrType)(v)
+// Type of the resource.
+func (o FrontendIPConfigurationResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (*firewallPolicyCertificateAuthorityPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyCertificateAuthority)(nil)).Elem()
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o FrontendIPConfigurationResponseOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
}
-func (i *firewallPolicyCertificateAuthorityPtrType) ToFirewallPolicyCertificateAuthorityPtrOutput() FirewallPolicyCertificateAuthorityPtrOutput {
- return i.ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(context.Background())
-}
+type FrontendIPConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
-func (i *firewallPolicyCertificateAuthorityPtrType) ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(ctx context.Context) FirewallPolicyCertificateAuthorityPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyCertificateAuthorityPtrOutput)
+func (FrontendIPConfigurationResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FrontendIPConfigurationResponse)(nil)).Elem()
}
-// Trusted Root certificates properties for tls.
-type FirewallPolicyCertificateAuthorityOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicyCertificateAuthorityOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyCertificateAuthority)(nil)).Elem()
+func (o FrontendIPConfigurationResponsePtrOutput) ToFrontendIPConfigurationResponsePtrOutput() FrontendIPConfigurationResponsePtrOutput {
+ return o
}
-func (o FirewallPolicyCertificateAuthorityOutput) ToFirewallPolicyCertificateAuthorityOutput() FirewallPolicyCertificateAuthorityOutput {
+func (o FrontendIPConfigurationResponsePtrOutput) ToFrontendIPConfigurationResponsePtrOutputWithContext(ctx context.Context) FrontendIPConfigurationResponsePtrOutput {
return o
}
-func (o FirewallPolicyCertificateAuthorityOutput) ToFirewallPolicyCertificateAuthorityOutputWithContext(ctx context.Context) FirewallPolicyCertificateAuthorityOutput {
- return o
-}
-
-func (o FirewallPolicyCertificateAuthorityOutput) ToFirewallPolicyCertificateAuthorityPtrOutput() FirewallPolicyCertificateAuthorityPtrOutput {
- return o.ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(context.Background())
-}
-
-func (o FirewallPolicyCertificateAuthorityOutput) ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(ctx context.Context) FirewallPolicyCertificateAuthorityPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyCertificateAuthority) *FirewallPolicyCertificateAuthority {
- return &v
- }).(FirewallPolicyCertificateAuthorityPtrOutput)
-}
-
-// Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
-func (o FirewallPolicyCertificateAuthorityOutput) KeyVaultSecretId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyCertificateAuthority) *string { return v.KeyVaultSecretId }).(pulumi.StringPtrOutput)
-}
-
-// Name of the CA certificate.
-func (o FirewallPolicyCertificateAuthorityOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyCertificateAuthority) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-type FirewallPolicyCertificateAuthorityPtrOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicyCertificateAuthorityPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyCertificateAuthority)(nil)).Elem()
-}
-
-func (o FirewallPolicyCertificateAuthorityPtrOutput) ToFirewallPolicyCertificateAuthorityPtrOutput() FirewallPolicyCertificateAuthorityPtrOutput {
- return o
-}
-
-func (o FirewallPolicyCertificateAuthorityPtrOutput) ToFirewallPolicyCertificateAuthorityPtrOutputWithContext(ctx context.Context) FirewallPolicyCertificateAuthorityPtrOutput {
- return o
-}
-
-func (o FirewallPolicyCertificateAuthorityPtrOutput) Elem() FirewallPolicyCertificateAuthorityOutput {
- return o.ApplyT(func(v *FirewallPolicyCertificateAuthority) FirewallPolicyCertificateAuthority {
+func (o FrontendIPConfigurationResponsePtrOutput) Elem() FrontendIPConfigurationResponseOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) FrontendIPConfigurationResponse {
if v != nil {
return *v
}
- var ret FirewallPolicyCertificateAuthority
+ var ret FrontendIPConfigurationResponse
return ret
- }).(FirewallPolicyCertificateAuthorityOutput)
+ }).(FrontendIPConfigurationResponseOutput)
}
-// Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
-func (o FirewallPolicyCertificateAuthorityPtrOutput) KeyVaultSecretId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyCertificateAuthority) *string {
+// A unique read-only string that changes whenever the resource is updated.
+func (o FrontendIPConfigurationResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) *string {
if v == nil {
return nil
}
- return v.KeyVaultSecretId
+ return &v.Etag
}).(pulumi.StringPtrOutput)
}
-// Name of the CA certificate.
-func (o FirewallPolicyCertificateAuthorityPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyCertificateAuthority) *string {
+// The reference to gateway load balancer frontend IP.
+func (o FrontendIPConfigurationResponsePtrOutput) GatewayLoadBalancer() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) *SubResourceResponse {
if v == nil {
return nil
}
- return v.Name
- }).(pulumi.StringPtrOutput)
-}
-
-// Trusted Root certificates properties for tls.
-type FirewallPolicyCertificateAuthorityResponse struct {
- // Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
- KeyVaultSecretId *string `pulumi:"keyVaultSecretId"`
- // Name of the CA certificate.
- Name *string `pulumi:"name"`
-}
-
-// Trusted Root certificates properties for tls.
-type FirewallPolicyCertificateAuthorityResponseOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicyCertificateAuthorityResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyCertificateAuthorityResponse)(nil)).Elem()
-}
-
-func (o FirewallPolicyCertificateAuthorityResponseOutput) ToFirewallPolicyCertificateAuthorityResponseOutput() FirewallPolicyCertificateAuthorityResponseOutput {
- return o
+ return v.GatewayLoadBalancer
+ }).(SubResourceResponsePtrOutput)
}
-func (o FirewallPolicyCertificateAuthorityResponseOutput) ToFirewallPolicyCertificateAuthorityResponseOutputWithContext(ctx context.Context) FirewallPolicyCertificateAuthorityResponseOutput {
- return o
+// Resource ID.
+func (o FrontendIPConfigurationResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
-func (o FirewallPolicyCertificateAuthorityResponseOutput) KeyVaultSecretId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyCertificateAuthorityResponse) *string { return v.KeyVaultSecretId }).(pulumi.StringPtrOutput)
+// An array of references to inbound pools that use this frontend IP.
+func (o FrontendIPConfigurationResponsePtrOutput) InboundNatPools() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InboundNatPools
+ }).(SubResourceResponseArrayOutput)
}
-// Name of the CA certificate.
-func (o FirewallPolicyCertificateAuthorityResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyCertificateAuthorityResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// An array of references to inbound rules that use this frontend IP.
+func (o FrontendIPConfigurationResponsePtrOutput) InboundNatRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InboundNatRules
+ }).(SubResourceResponseArrayOutput)
}
-type FirewallPolicyCertificateAuthorityResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicyCertificateAuthorityResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyCertificateAuthorityResponse)(nil)).Elem()
+// An array of references to load balancing rules that use this frontend IP.
+func (o FrontendIPConfigurationResponsePtrOutput) LoadBalancingRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.LoadBalancingRules
+ }).(SubResourceResponseArrayOutput)
}
-func (o FirewallPolicyCertificateAuthorityResponsePtrOutput) ToFirewallPolicyCertificateAuthorityResponsePtrOutput() FirewallPolicyCertificateAuthorityResponsePtrOutput {
- return o
+// The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
+func (o FrontendIPConfigurationResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicyCertificateAuthorityResponsePtrOutput) ToFirewallPolicyCertificateAuthorityResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyCertificateAuthorityResponsePtrOutput {
- return o
+// An array of references to outbound rules that use this frontend IP.
+func (o FrontendIPConfigurationResponsePtrOutput) OutboundRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.OutboundRules
+ }).(SubResourceResponseArrayOutput)
}
-func (o FirewallPolicyCertificateAuthorityResponsePtrOutput) Elem() FirewallPolicyCertificateAuthorityResponseOutput {
- return o.ApplyT(func(v *FirewallPolicyCertificateAuthorityResponse) FirewallPolicyCertificateAuthorityResponse {
- if v != nil {
- return *v
+// The private IP address of the IP configuration.
+func (o FrontendIPConfigurationResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) *string {
+ if v == nil {
+ return nil
}
- var ret FirewallPolicyCertificateAuthorityResponse
- return ret
- }).(FirewallPolicyCertificateAuthorityResponseOutput)
+ return v.PrivateIPAddress
+ }).(pulumi.StringPtrOutput)
}
-// Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
-func (o FirewallPolicyCertificateAuthorityResponsePtrOutput) KeyVaultSecretId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyCertificateAuthorityResponse) *string {
+// Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+func (o FrontendIPConfigurationResponsePtrOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) *string {
if v == nil {
return nil
}
- return v.KeyVaultSecretId
+ return v.PrivateIPAddressVersion
}).(pulumi.StringPtrOutput)
}
-// Name of the CA certificate.
-func (o FirewallPolicyCertificateAuthorityResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyCertificateAuthorityResponse) *string {
+// The Private IP allocation method.
+func (o FrontendIPConfigurationResponsePtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) *string {
if v == nil {
return nil
}
- return v.Name
+ return v.PrivateIPAllocationMethod
}).(pulumi.StringPtrOutput)
}
-// Firewall Policy Filter Rule.
-type FirewallPolicyFilterRule struct {
- // The action type of a Filter rule.
- Action *FirewallPolicyFilterRuleAction `pulumi:"action"`
- // The name of the rule.
- Name *string `pulumi:"name"`
- // Priority of the Firewall Policy Rule resource.
- Priority *int `pulumi:"priority"`
- // Collection of rule conditions used by a rule.
- RuleConditions []interface{} `pulumi:"ruleConditions"`
- // The type of the rule.
- // Expected value is 'FirewallPolicyFilterRule'.
- RuleType string `pulumi:"ruleType"`
+// The provisioning state of the frontend IP configuration resource.
+func (o FrontendIPConfigurationResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// FirewallPolicyFilterRuleInput is an input type that accepts FirewallPolicyFilterRuleArgs and FirewallPolicyFilterRuleOutput values.
-// You can construct a concrete instance of `FirewallPolicyFilterRuleInput` via:
-//
-// FirewallPolicyFilterRuleArgs{...}
-type FirewallPolicyFilterRuleInput interface {
- pulumi.Input
-
- ToFirewallPolicyFilterRuleOutput() FirewallPolicyFilterRuleOutput
- ToFirewallPolicyFilterRuleOutputWithContext(context.Context) FirewallPolicyFilterRuleOutput
+// The reference to the Public IP resource.
+func (o FrontendIPConfigurationResponsePtrOutput) PublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) *PublicIPAddressResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAddress
+ }).(PublicIPAddressResponsePtrOutput)
}
-// Firewall Policy Filter Rule.
-type FirewallPolicyFilterRuleArgs struct {
- // The action type of a Filter rule.
- Action FirewallPolicyFilterRuleActionPtrInput `pulumi:"action"`
- // The name of the rule.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Priority of the Firewall Policy Rule resource.
- Priority pulumi.IntPtrInput `pulumi:"priority"`
- // Collection of rule conditions used by a rule.
- RuleConditions pulumi.ArrayInput `pulumi:"ruleConditions"`
- // The type of the rule.
- // Expected value is 'FirewallPolicyFilterRule'.
- RuleType pulumi.StringInput `pulumi:"ruleType"`
+// The reference to the Public IP Prefix resource.
+func (o FrontendIPConfigurationResponsePtrOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPPrefix
+ }).(SubResourceResponsePtrOutput)
}
-func (FirewallPolicyFilterRuleArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyFilterRule)(nil)).Elem()
+// The reference to the subnet resource.
+func (o FrontendIPConfigurationResponsePtrOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) *SubnetResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnet
+ }).(SubnetResponsePtrOutput)
}
-func (i FirewallPolicyFilterRuleArgs) ToFirewallPolicyFilterRuleOutput() FirewallPolicyFilterRuleOutput {
- return i.ToFirewallPolicyFilterRuleOutputWithContext(context.Background())
+// Type of the resource.
+func (o FrontendIPConfigurationResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-func (i FirewallPolicyFilterRuleArgs) ToFirewallPolicyFilterRuleOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyFilterRuleOutput)
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o FrontendIPConfigurationResponsePtrOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Zones
+ }).(pulumi.StringArrayOutput)
}
-// Firewall Policy Filter Rule.
-type FirewallPolicyFilterRuleOutput struct{ *pulumi.OutputState }
+type FrontendIPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyFilterRuleOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyFilterRule)(nil)).Elem()
+func (FrontendIPConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FrontendIPConfigurationResponse)(nil)).Elem()
}
-func (o FirewallPolicyFilterRuleOutput) ToFirewallPolicyFilterRuleOutput() FirewallPolicyFilterRuleOutput {
+func (o FrontendIPConfigurationResponseArrayOutput) ToFrontendIPConfigurationResponseArrayOutput() FrontendIPConfigurationResponseArrayOutput {
return o
}
-func (o FirewallPolicyFilterRuleOutput) ToFirewallPolicyFilterRuleOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleOutput {
+func (o FrontendIPConfigurationResponseArrayOutput) ToFrontendIPConfigurationResponseArrayOutputWithContext(ctx context.Context) FrontendIPConfigurationResponseArrayOutput {
return o
}
-// The action type of a Filter rule.
-func (o FirewallPolicyFilterRuleOutput) Action() FirewallPolicyFilterRuleActionPtrOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRule) *FirewallPolicyFilterRuleAction { return v.Action }).(FirewallPolicyFilterRuleActionPtrOutput)
-}
-
-// The name of the rule.
-func (o FirewallPolicyFilterRuleOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRule) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o FrontendIPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) FrontendIPConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FrontendIPConfigurationResponse {
+ return vs[0].([]FrontendIPConfigurationResponse)[vs[1].(int)]
+ }).(FrontendIPConfigurationResponseOutput)
}
-// Priority of the Firewall Policy Rule resource.
-func (o FirewallPolicyFilterRuleOutput) Priority() pulumi.IntPtrOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRule) *int { return v.Priority }).(pulumi.IntPtrOutput)
+// Frontend IP address of the load balancer.
+type FrontendIPConfigurationServiceGatewayResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The reference to gateway load balancer frontend IP.
+ GatewayLoadBalancer *SubResourceResponse `pulumi:"gatewayLoadBalancer"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // An array of references to inbound pools that use this frontend IP.
+ InboundNatPools []SubResourceResponse `pulumi:"inboundNatPools"`
+ // An array of references to inbound rules that use this frontend IP.
+ InboundNatRules []SubResourceResponse `pulumi:"inboundNatRules"`
+ // An array of references to load balancing rules that use this frontend IP.
+ LoadBalancingRules []SubResourceResponse `pulumi:"loadBalancingRules"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // An array of references to outbound rules that use this frontend IP.
+ OutboundRules []SubResourceResponse `pulumi:"outboundRules"`
+ // The private IP address of the IP configuration.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+ PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
+ // The Private IP allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // The provisioning state of the frontend IP configuration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The reference to the Public IP resource.
+ PublicIPAddress *PublicIPAddressResponseV1 `pulumi:"publicIPAddress"`
+ // The reference to the Public IP Prefix resource.
+ PublicIPPrefix *SubResourceResponse `pulumi:"publicIPPrefix"`
+ // The reference to the subnet resource.
+ Subnet *SubnetResponse `pulumi:"subnet"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // A list of availability zones denoting the IP allocated for the resource needs to come from.
+ Zones []string `pulumi:"zones"`
}
-// Collection of rule conditions used by a rule.
-func (o FirewallPolicyFilterRuleOutput) RuleConditions() pulumi.ArrayOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRule) []interface{} { return v.RuleConditions }).(pulumi.ArrayOutput)
-}
+// Defaults sets the appropriate defaults for FrontendIPConfigurationServiceGatewayResponse
+func (val *FrontendIPConfigurationServiceGatewayResponse) Defaults() *FrontendIPConfigurationServiceGatewayResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
-// The type of the rule.
-// Expected value is 'FirewallPolicyFilterRule'.
-func (o FirewallPolicyFilterRuleOutput) RuleType() pulumi.StringOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRule) string { return v.RuleType }).(pulumi.StringOutput)
-}
+ tmp.Subnet = tmp.Subnet.Defaults()
-// Properties of the FirewallPolicyFilterRuleAction.
-type FirewallPolicyFilterRuleAction struct {
- // The type of action.
- Type *string `pulumi:"type"`
+ return &tmp
}
-// FirewallPolicyFilterRuleActionInput is an input type that accepts FirewallPolicyFilterRuleActionArgs and FirewallPolicyFilterRuleActionOutput values.
-// You can construct a concrete instance of `FirewallPolicyFilterRuleActionInput` via:
-//
-// FirewallPolicyFilterRuleActionArgs{...}
-type FirewallPolicyFilterRuleActionInput interface {
- pulumi.Input
+// Frontend IP address of the load balancer.
+type FrontendIPConfigurationServiceGatewayResponseOutput struct{ *pulumi.OutputState }
- ToFirewallPolicyFilterRuleActionOutput() FirewallPolicyFilterRuleActionOutput
- ToFirewallPolicyFilterRuleActionOutputWithContext(context.Context) FirewallPolicyFilterRuleActionOutput
+func (FrontendIPConfigurationServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FrontendIPConfigurationServiceGatewayResponse)(nil)).Elem()
}
-// Properties of the FirewallPolicyFilterRuleAction.
-type FirewallPolicyFilterRuleActionArgs struct {
- // The type of action.
- Type pulumi.StringPtrInput `pulumi:"type"`
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) ToFrontendIPConfigurationServiceGatewayResponseOutput() FrontendIPConfigurationServiceGatewayResponseOutput {
+ return o
}
-func (FirewallPolicyFilterRuleActionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyFilterRuleAction)(nil)).Elem()
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) ToFrontendIPConfigurationServiceGatewayResponseOutputWithContext(ctx context.Context) FrontendIPConfigurationServiceGatewayResponseOutput {
+ return o
}
-func (i FirewallPolicyFilterRuleActionArgs) ToFirewallPolicyFilterRuleActionOutput() FirewallPolicyFilterRuleActionOutput {
- return i.ToFirewallPolicyFilterRuleActionOutputWithContext(context.Background())
+// A unique read-only string that changes whenever the resource is updated.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (i FirewallPolicyFilterRuleActionArgs) ToFirewallPolicyFilterRuleActionOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleActionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyFilterRuleActionOutput)
+// The reference to gateway load balancer frontend IP.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) GatewayLoadBalancer() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) *SubResourceResponse {
+ return v.GatewayLoadBalancer
+ }).(SubResourceResponsePtrOutput)
}
-func (i FirewallPolicyFilterRuleActionArgs) ToFirewallPolicyFilterRuleActionPtrOutput() FirewallPolicyFilterRuleActionPtrOutput {
- return i.ToFirewallPolicyFilterRuleActionPtrOutputWithContext(context.Background())
+// Resource ID.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (i FirewallPolicyFilterRuleActionArgs) ToFirewallPolicyFilterRuleActionPtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleActionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyFilterRuleActionOutput).ToFirewallPolicyFilterRuleActionPtrOutputWithContext(ctx)
+// An array of references to inbound pools that use this frontend IP.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) InboundNatPools() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) []SubResourceResponse { return v.InboundNatPools }).(SubResourceResponseArrayOutput)
}
-// FirewallPolicyFilterRuleActionPtrInput is an input type that accepts FirewallPolicyFilterRuleActionArgs, FirewallPolicyFilterRuleActionPtr and FirewallPolicyFilterRuleActionPtrOutput values.
-// You can construct a concrete instance of `FirewallPolicyFilterRuleActionPtrInput` via:
-//
-// FirewallPolicyFilterRuleActionArgs{...}
-//
-// or:
-//
-// nil
-type FirewallPolicyFilterRuleActionPtrInput interface {
- pulumi.Input
-
- ToFirewallPolicyFilterRuleActionPtrOutput() FirewallPolicyFilterRuleActionPtrOutput
- ToFirewallPolicyFilterRuleActionPtrOutputWithContext(context.Context) FirewallPolicyFilterRuleActionPtrOutput
+// An array of references to inbound rules that use this frontend IP.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) InboundNatRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) []SubResourceResponse { return v.InboundNatRules }).(SubResourceResponseArrayOutput)
}
-type firewallPolicyFilterRuleActionPtrType FirewallPolicyFilterRuleActionArgs
+// An array of references to load balancing rules that use this frontend IP.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) LoadBalancingRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) []SubResourceResponse {
+ return v.LoadBalancingRules
+ }).(SubResourceResponseArrayOutput)
+}
-func FirewallPolicyFilterRuleActionPtr(v *FirewallPolicyFilterRuleActionArgs) FirewallPolicyFilterRuleActionPtrInput {
- return (*firewallPolicyFilterRuleActionPtrType)(v)
+// Name of the resource.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (*firewallPolicyFilterRuleActionPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyFilterRuleAction)(nil)).Elem()
+// An array of references to outbound rules that use this frontend IP.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) OutboundRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) []SubResourceResponse { return v.OutboundRules }).(SubResourceResponseArrayOutput)
}
-func (i *firewallPolicyFilterRuleActionPtrType) ToFirewallPolicyFilterRuleActionPtrOutput() FirewallPolicyFilterRuleActionPtrOutput {
- return i.ToFirewallPolicyFilterRuleActionPtrOutputWithContext(context.Background())
+// The private IP address of the IP configuration.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-func (i *firewallPolicyFilterRuleActionPtrType) ToFirewallPolicyFilterRuleActionPtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleActionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyFilterRuleActionPtrOutput)
+// Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
}
-// Properties of the FirewallPolicyFilterRuleAction.
-type FirewallPolicyFilterRuleActionOutput struct{ *pulumi.OutputState }
+// The Private IP allocation method.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+}
-func (FirewallPolicyFilterRuleActionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyFilterRuleAction)(nil)).Elem()
+// The provisioning state of the frontend IP configuration resource.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o FirewallPolicyFilterRuleActionOutput) ToFirewallPolicyFilterRuleActionOutput() FirewallPolicyFilterRuleActionOutput {
- return o
+// The reference to the Public IP resource.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) PublicIPAddress() PublicIPAddressResponseV1PtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) *PublicIPAddressResponseV1 {
+ return v.PublicIPAddress
+ }).(PublicIPAddressResponseV1PtrOutput)
}
-func (o FirewallPolicyFilterRuleActionOutput) ToFirewallPolicyFilterRuleActionOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleActionOutput {
- return o
+// The reference to the Public IP Prefix resource.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) *SubResourceResponse { return v.PublicIPPrefix }).(SubResourceResponsePtrOutput)
}
-func (o FirewallPolicyFilterRuleActionOutput) ToFirewallPolicyFilterRuleActionPtrOutput() FirewallPolicyFilterRuleActionPtrOutput {
- return o.ToFirewallPolicyFilterRuleActionPtrOutputWithContext(context.Background())
+// The reference to the subnet resource.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
}
-func (o FirewallPolicyFilterRuleActionOutput) ToFirewallPolicyFilterRuleActionPtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleActionPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyFilterRuleAction) *FirewallPolicyFilterRuleAction {
- return &v
- }).(FirewallPolicyFilterRuleActionPtrOutput)
+// Resource type.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// The type of action.
-func (o FirewallPolicyFilterRuleActionOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleAction) *string { return v.Type }).(pulumi.StringPtrOutput)
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o FrontendIPConfigurationServiceGatewayResponseOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationServiceGatewayResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
}
-type FirewallPolicyFilterRuleActionPtrOutput struct{ *pulumi.OutputState }
+type FrontendIPConfigurationServiceGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyFilterRuleActionPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyFilterRuleAction)(nil)).Elem()
+func (FrontendIPConfigurationServiceGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FrontendIPConfigurationServiceGatewayResponse)(nil)).Elem()
}
-func (o FirewallPolicyFilterRuleActionPtrOutput) ToFirewallPolicyFilterRuleActionPtrOutput() FirewallPolicyFilterRuleActionPtrOutput {
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) ToFrontendIPConfigurationServiceGatewayResponsePtrOutput() FrontendIPConfigurationServiceGatewayResponsePtrOutput {
return o
}
-func (o FirewallPolicyFilterRuleActionPtrOutput) ToFirewallPolicyFilterRuleActionPtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleActionPtrOutput {
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) ToFrontendIPConfigurationServiceGatewayResponsePtrOutputWithContext(ctx context.Context) FrontendIPConfigurationServiceGatewayResponsePtrOutput {
return o
}
-func (o FirewallPolicyFilterRuleActionPtrOutput) Elem() FirewallPolicyFilterRuleActionOutput {
- return o.ApplyT(func(v *FirewallPolicyFilterRuleAction) FirewallPolicyFilterRuleAction {
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) Elem() FrontendIPConfigurationServiceGatewayResponseOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) FrontendIPConfigurationServiceGatewayResponse {
if v != nil {
return *v
}
- var ret FirewallPolicyFilterRuleAction
+ var ret FrontendIPConfigurationServiceGatewayResponse
return ret
- }).(FirewallPolicyFilterRuleActionOutput)
+ }).(FrontendIPConfigurationServiceGatewayResponseOutput)
}
-// The type of action.
-func (o FirewallPolicyFilterRuleActionPtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyFilterRuleAction) *string {
+// A unique read-only string that changes whenever the resource is updated.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) *string {
if v == nil {
return nil
}
- return v.Type
+ return &v.Etag
}).(pulumi.StringPtrOutput)
}
-// Properties of the FirewallPolicyFilterRuleAction.
-type FirewallPolicyFilterRuleActionResponse struct {
- // The type of action.
- Type *string `pulumi:"type"`
+// The reference to gateway load balancer frontend IP.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) GatewayLoadBalancer() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.GatewayLoadBalancer
+ }).(SubResourceResponsePtrOutput)
}
-// Properties of the FirewallPolicyFilterRuleAction.
-type FirewallPolicyFilterRuleActionResponseOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicyFilterRuleActionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyFilterRuleActionResponse)(nil)).Elem()
+// Resource ID.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicyFilterRuleActionResponseOutput) ToFirewallPolicyFilterRuleActionResponseOutput() FirewallPolicyFilterRuleActionResponseOutput {
- return o
+// An array of references to inbound pools that use this frontend IP.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) InboundNatPools() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InboundNatPools
+ }).(SubResourceResponseArrayOutput)
}
-func (o FirewallPolicyFilterRuleActionResponseOutput) ToFirewallPolicyFilterRuleActionResponseOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleActionResponseOutput {
- return o
+// An array of references to inbound rules that use this frontend IP.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) InboundNatRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InboundNatRules
+ }).(SubResourceResponseArrayOutput)
}
-// The type of action.
-func (o FirewallPolicyFilterRuleActionResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleActionResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+// An array of references to load balancing rules that use this frontend IP.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) LoadBalancingRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.LoadBalancingRules
+ }).(SubResourceResponseArrayOutput)
}
-type FirewallPolicyFilterRuleActionResponsePtrOutput struct{ *pulumi.OutputState }
+// Name of the resource.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
+}
-func (FirewallPolicyFilterRuleActionResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyFilterRuleActionResponse)(nil)).Elem()
+// An array of references to outbound rules that use this frontend IP.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) OutboundRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.OutboundRules
+ }).(SubResourceResponseArrayOutput)
}
-func (o FirewallPolicyFilterRuleActionResponsePtrOutput) ToFirewallPolicyFilterRuleActionResponsePtrOutput() FirewallPolicyFilterRuleActionResponsePtrOutput {
- return o
-}
-
-func (o FirewallPolicyFilterRuleActionResponsePtrOutput) ToFirewallPolicyFilterRuleActionResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleActionResponsePtrOutput {
- return o
+// The private IP address of the IP configuration.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAddress
+ }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicyFilterRuleActionResponsePtrOutput) Elem() FirewallPolicyFilterRuleActionResponseOutput {
- return o.ApplyT(func(v *FirewallPolicyFilterRuleActionResponse) FirewallPolicyFilterRuleActionResponse {
- if v != nil {
- return *v
+// Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
}
- var ret FirewallPolicyFilterRuleActionResponse
- return ret
- }).(FirewallPolicyFilterRuleActionResponseOutput)
+ return v.PrivateIPAddressVersion
+ }).(pulumi.StringPtrOutput)
}
-// The type of action.
-func (o FirewallPolicyFilterRuleActionResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyFilterRuleActionResponse) *string {
+// The Private IP allocation method.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) *string {
if v == nil {
return nil
}
- return v.Type
+ return v.PrivateIPAllocationMethod
}).(pulumi.StringPtrOutput)
}
-// Firewall Policy Filter Rule Collection.
-type FirewallPolicyFilterRuleCollection struct {
- // The action type of a Filter rule collection.
- Action *FirewallPolicyFilterRuleCollectionAction `pulumi:"action"`
- // The name of the rule collection.
- Name *string `pulumi:"name"`
- // Priority of the Firewall Policy Rule Collection resource.
- Priority *int `pulumi:"priority"`
- // The type of the rule collection.
- // Expected value is 'FirewallPolicyFilterRuleCollection'.
- RuleCollectionType string `pulumi:"ruleCollectionType"`
- // List of rules included in a rule collection.
- Rules []interface{} `pulumi:"rules"`
+// The provisioning state of the frontend IP configuration resource.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// FirewallPolicyFilterRuleCollectionInput is an input type that accepts FirewallPolicyFilterRuleCollectionArgs and FirewallPolicyFilterRuleCollectionOutput values.
-// You can construct a concrete instance of `FirewallPolicyFilterRuleCollectionInput` via:
-//
-// FirewallPolicyFilterRuleCollectionArgs{...}
-type FirewallPolicyFilterRuleCollectionInput interface {
- pulumi.Input
-
- ToFirewallPolicyFilterRuleCollectionOutput() FirewallPolicyFilterRuleCollectionOutput
- ToFirewallPolicyFilterRuleCollectionOutputWithContext(context.Context) FirewallPolicyFilterRuleCollectionOutput
+// The reference to the Public IP resource.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) PublicIPAddress() PublicIPAddressResponseV1PtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) *PublicIPAddressResponseV1 {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAddress
+ }).(PublicIPAddressResponseV1PtrOutput)
}
-// Firewall Policy Filter Rule Collection.
-type FirewallPolicyFilterRuleCollectionArgs struct {
- // The action type of a Filter rule collection.
- Action FirewallPolicyFilterRuleCollectionActionPtrInput `pulumi:"action"`
- // The name of the rule collection.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Priority of the Firewall Policy Rule Collection resource.
- Priority pulumi.IntPtrInput `pulumi:"priority"`
- // The type of the rule collection.
- // Expected value is 'FirewallPolicyFilterRuleCollection'.
- RuleCollectionType pulumi.StringInput `pulumi:"ruleCollectionType"`
- // List of rules included in a rule collection.
- Rules pulumi.ArrayInput `pulumi:"rules"`
+// The reference to the Public IP Prefix resource.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPPrefix
+ }).(SubResourceResponsePtrOutput)
}
-func (FirewallPolicyFilterRuleCollectionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyFilterRuleCollection)(nil)).Elem()
+// The reference to the subnet resource.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) *SubnetResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnet
+ }).(SubnetResponsePtrOutput)
}
-func (i FirewallPolicyFilterRuleCollectionArgs) ToFirewallPolicyFilterRuleCollectionOutput() FirewallPolicyFilterRuleCollectionOutput {
- return i.ToFirewallPolicyFilterRuleCollectionOutputWithContext(context.Background())
+// Resource type.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-func (i FirewallPolicyFilterRuleCollectionArgs) ToFirewallPolicyFilterRuleCollectionOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyFilterRuleCollectionOutput)
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o FrontendIPConfigurationServiceGatewayResponsePtrOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationServiceGatewayResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Zones
+ }).(pulumi.StringArrayOutput)
}
-// Firewall Policy Filter Rule Collection.
-type FirewallPolicyFilterRuleCollectionOutput struct{ *pulumi.OutputState }
+type FrontendIPConfigurationServiceGatewayResponseArrayOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyFilterRuleCollectionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyFilterRuleCollection)(nil)).Elem()
+func (FrontendIPConfigurationServiceGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FrontendIPConfigurationServiceGatewayResponse)(nil)).Elem()
}
-func (o FirewallPolicyFilterRuleCollectionOutput) ToFirewallPolicyFilterRuleCollectionOutput() FirewallPolicyFilterRuleCollectionOutput {
+func (o FrontendIPConfigurationServiceGatewayResponseArrayOutput) ToFrontendIPConfigurationServiceGatewayResponseArrayOutput() FrontendIPConfigurationServiceGatewayResponseArrayOutput {
return o
}
-func (o FirewallPolicyFilterRuleCollectionOutput) ToFirewallPolicyFilterRuleCollectionOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionOutput {
+func (o FrontendIPConfigurationServiceGatewayResponseArrayOutput) ToFrontendIPConfigurationServiceGatewayResponseArrayOutputWithContext(ctx context.Context) FrontendIPConfigurationServiceGatewayResponseArrayOutput {
return o
}
-// The action type of a Filter rule collection.
-func (o FirewallPolicyFilterRuleCollectionOutput) Action() FirewallPolicyFilterRuleCollectionActionPtrOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleCollection) *FirewallPolicyFilterRuleCollectionAction { return v.Action }).(FirewallPolicyFilterRuleCollectionActionPtrOutput)
-}
-
-// The name of the rule collection.
-func (o FirewallPolicyFilterRuleCollectionOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleCollection) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o FrontendIPConfigurationServiceGatewayResponseArrayOutput) Index(i pulumi.IntInput) FrontendIPConfigurationServiceGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FrontendIPConfigurationServiceGatewayResponse {
+ return vs[0].([]FrontendIPConfigurationServiceGatewayResponse)[vs[1].(int)]
+ }).(FrontendIPConfigurationServiceGatewayResponseOutput)
}
-// Priority of the Firewall Policy Rule Collection resource.
-func (o FirewallPolicyFilterRuleCollectionOutput) Priority() pulumi.IntPtrOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleCollection) *int { return v.Priority }).(pulumi.IntPtrOutput)
+// Frontend IP address of the load balancer.
+type FrontendIPConfigurationVirtualNetworkApplianceResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The reference to gateway load balancer frontend IP.
+ GatewayLoadBalancer *SubResourceResponse `pulumi:"gatewayLoadBalancer"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // An array of references to inbound pools that use this frontend IP.
+ InboundNatPools []SubResourceResponse `pulumi:"inboundNatPools"`
+ // An array of references to inbound rules that use this frontend IP.
+ InboundNatRules []SubResourceResponse `pulumi:"inboundNatRules"`
+ // An array of references to load balancing rules that use this frontend IP.
+ LoadBalancingRules []SubResourceResponse `pulumi:"loadBalancingRules"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // An array of references to outbound rules that use this frontend IP.
+ OutboundRules []SubResourceResponse `pulumi:"outboundRules"`
+ // The private IP address of the IP configuration.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+ PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
+ // The Private IP allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // The provisioning state of the frontend IP configuration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The reference to the Public IP resource.
+ PublicIPAddress *PublicIPAddressResponseV2 `pulumi:"publicIPAddress"`
+ // The reference to the Public IP Prefix resource.
+ PublicIPPrefix *SubResourceResponse `pulumi:"publicIPPrefix"`
+ // The reference to the subnet resource.
+ Subnet *SubnetResponse `pulumi:"subnet"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // A list of availability zones denoting the IP allocated for the resource needs to come from.
+ Zones []string `pulumi:"zones"`
}
-// The type of the rule collection.
-// Expected value is 'FirewallPolicyFilterRuleCollection'.
-func (o FirewallPolicyFilterRuleCollectionOutput) RuleCollectionType() pulumi.StringOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleCollection) string { return v.RuleCollectionType }).(pulumi.StringOutput)
-}
+// Defaults sets the appropriate defaults for FrontendIPConfigurationVirtualNetworkApplianceResponse
+func (val *FrontendIPConfigurationVirtualNetworkApplianceResponse) Defaults() *FrontendIPConfigurationVirtualNetworkApplianceResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
-// List of rules included in a rule collection.
-func (o FirewallPolicyFilterRuleCollectionOutput) Rules() pulumi.ArrayOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleCollection) []interface{} { return v.Rules }).(pulumi.ArrayOutput)
-}
+ tmp.Subnet = tmp.Subnet.Defaults()
-// Properties of the FirewallPolicyFilterRuleCollectionAction.
-type FirewallPolicyFilterRuleCollectionAction struct {
- // The type of action.
- Type *string `pulumi:"type"`
+ return &tmp
}
-// FirewallPolicyFilterRuleCollectionActionInput is an input type that accepts FirewallPolicyFilterRuleCollectionActionArgs and FirewallPolicyFilterRuleCollectionActionOutput values.
-// You can construct a concrete instance of `FirewallPolicyFilterRuleCollectionActionInput` via:
-//
-// FirewallPolicyFilterRuleCollectionActionArgs{...}
-type FirewallPolicyFilterRuleCollectionActionInput interface {
- pulumi.Input
+// Frontend IP address of the load balancer.
+type FrontendIPConfigurationVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
- ToFirewallPolicyFilterRuleCollectionActionOutput() FirewallPolicyFilterRuleCollectionActionOutput
- ToFirewallPolicyFilterRuleCollectionActionOutputWithContext(context.Context) FirewallPolicyFilterRuleCollectionActionOutput
+func (FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*FrontendIPConfigurationVirtualNetworkApplianceResponse)(nil)).Elem()
}
-// Properties of the FirewallPolicyFilterRuleCollectionAction.
-type FirewallPolicyFilterRuleCollectionActionArgs struct {
- // The type of action.
- Type pulumi.StringPtrInput `pulumi:"type"`
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) ToFrontendIPConfigurationVirtualNetworkApplianceResponseOutput() FrontendIPConfigurationVirtualNetworkApplianceResponseOutput {
+ return o
}
-func (FirewallPolicyFilterRuleCollectionActionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyFilterRuleCollectionAction)(nil)).Elem()
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) ToFrontendIPConfigurationVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) FrontendIPConfigurationVirtualNetworkApplianceResponseOutput {
+ return o
}
-func (i FirewallPolicyFilterRuleCollectionActionArgs) ToFirewallPolicyFilterRuleCollectionActionOutput() FirewallPolicyFilterRuleCollectionActionOutput {
- return i.ToFirewallPolicyFilterRuleCollectionActionOutputWithContext(context.Background())
+// A unique read-only string that changes whenever the resource is updated.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (i FirewallPolicyFilterRuleCollectionActionArgs) ToFirewallPolicyFilterRuleCollectionActionOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionActionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyFilterRuleCollectionActionOutput)
+// The reference to gateway load balancer frontend IP.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) GatewayLoadBalancer() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) *SubResourceResponse {
+ return v.GatewayLoadBalancer
+ }).(SubResourceResponsePtrOutput)
}
-func (i FirewallPolicyFilterRuleCollectionActionArgs) ToFirewallPolicyFilterRuleCollectionActionPtrOutput() FirewallPolicyFilterRuleCollectionActionPtrOutput {
- return i.ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(context.Background())
+// Resource ID.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (i FirewallPolicyFilterRuleCollectionActionArgs) ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionActionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyFilterRuleCollectionActionOutput).ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(ctx)
+// An array of references to inbound pools that use this frontend IP.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) InboundNatPools() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) []SubResourceResponse {
+ return v.InboundNatPools
+ }).(SubResourceResponseArrayOutput)
}
-// FirewallPolicyFilterRuleCollectionActionPtrInput is an input type that accepts FirewallPolicyFilterRuleCollectionActionArgs, FirewallPolicyFilterRuleCollectionActionPtr and FirewallPolicyFilterRuleCollectionActionPtrOutput values.
-// You can construct a concrete instance of `FirewallPolicyFilterRuleCollectionActionPtrInput` via:
-//
-// FirewallPolicyFilterRuleCollectionActionArgs{...}
-//
-// or:
-//
-// nil
-type FirewallPolicyFilterRuleCollectionActionPtrInput interface {
- pulumi.Input
-
- ToFirewallPolicyFilterRuleCollectionActionPtrOutput() FirewallPolicyFilterRuleCollectionActionPtrOutput
- ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(context.Context) FirewallPolicyFilterRuleCollectionActionPtrOutput
+// An array of references to inbound rules that use this frontend IP.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) InboundNatRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) []SubResourceResponse {
+ return v.InboundNatRules
+ }).(SubResourceResponseArrayOutput)
}
-type firewallPolicyFilterRuleCollectionActionPtrType FirewallPolicyFilterRuleCollectionActionArgs
+// An array of references to load balancing rules that use this frontend IP.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) LoadBalancingRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) []SubResourceResponse {
+ return v.LoadBalancingRules
+ }).(SubResourceResponseArrayOutput)
+}
-func FirewallPolicyFilterRuleCollectionActionPtr(v *FirewallPolicyFilterRuleCollectionActionArgs) FirewallPolicyFilterRuleCollectionActionPtrInput {
- return (*firewallPolicyFilterRuleCollectionActionPtrType)(v)
+// Name of the resource.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (*firewallPolicyFilterRuleCollectionActionPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyFilterRuleCollectionAction)(nil)).Elem()
+// An array of references to outbound rules that use this frontend IP.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) OutboundRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) []SubResourceResponse {
+ return v.OutboundRules
+ }).(SubResourceResponseArrayOutput)
}
-func (i *firewallPolicyFilterRuleCollectionActionPtrType) ToFirewallPolicyFilterRuleCollectionActionPtrOutput() FirewallPolicyFilterRuleCollectionActionPtrOutput {
- return i.ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(context.Background())
+// The private IP address of the IP configuration.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-func (i *firewallPolicyFilterRuleCollectionActionPtrType) ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionActionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyFilterRuleCollectionActionPtrOutput)
+// Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) *string {
+ return v.PrivateIPAddressVersion
+ }).(pulumi.StringPtrOutput)
}
-// Properties of the FirewallPolicyFilterRuleCollectionAction.
-type FirewallPolicyFilterRuleCollectionActionOutput struct{ *pulumi.OutputState }
+// The Private IP allocation method.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) *string {
+ return v.PrivateIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
+}
-func (FirewallPolicyFilterRuleCollectionActionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyFilterRuleCollectionAction)(nil)).Elem()
+// The provisioning state of the frontend IP configuration resource.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o FirewallPolicyFilterRuleCollectionActionOutput) ToFirewallPolicyFilterRuleCollectionActionOutput() FirewallPolicyFilterRuleCollectionActionOutput {
- return o
+// The reference to the Public IP resource.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) PublicIPAddress() PublicIPAddressResponseV2PtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) *PublicIPAddressResponseV2 {
+ return v.PublicIPAddress
+ }).(PublicIPAddressResponseV2PtrOutput)
}
-func (o FirewallPolicyFilterRuleCollectionActionOutput) ToFirewallPolicyFilterRuleCollectionActionOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionActionOutput {
- return o
+// The reference to the Public IP Prefix resource.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) *SubResourceResponse {
+ return v.PublicIPPrefix
+ }).(SubResourceResponsePtrOutput)
}
-func (o FirewallPolicyFilterRuleCollectionActionOutput) ToFirewallPolicyFilterRuleCollectionActionPtrOutput() FirewallPolicyFilterRuleCollectionActionPtrOutput {
- return o.ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(context.Background())
+// The reference to the subnet resource.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
}
-func (o FirewallPolicyFilterRuleCollectionActionOutput) ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionActionPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyFilterRuleCollectionAction) *FirewallPolicyFilterRuleCollectionAction {
- return &v
- }).(FirewallPolicyFilterRuleCollectionActionPtrOutput)
+// Resource type.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// The type of action.
-func (o FirewallPolicyFilterRuleCollectionActionOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleCollectionAction) *string { return v.Type }).(pulumi.StringPtrOutput)
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v FrontendIPConfigurationVirtualNetworkApplianceResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
}
-type FirewallPolicyFilterRuleCollectionActionPtrOutput struct{ *pulumi.OutputState }
+type FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyFilterRuleCollectionActionPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyFilterRuleCollectionAction)(nil)).Elem()
+func (FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**FrontendIPConfigurationVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o FirewallPolicyFilterRuleCollectionActionPtrOutput) ToFirewallPolicyFilterRuleCollectionActionPtrOutput() FirewallPolicyFilterRuleCollectionActionPtrOutput {
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) ToFrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput() FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput {
return o
}
-func (o FirewallPolicyFilterRuleCollectionActionPtrOutput) ToFirewallPolicyFilterRuleCollectionActionPtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionActionPtrOutput {
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) ToFrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutputWithContext(ctx context.Context) FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput {
return o
}
-func (o FirewallPolicyFilterRuleCollectionActionPtrOutput) Elem() FirewallPolicyFilterRuleCollectionActionOutput {
- return o.ApplyT(func(v *FirewallPolicyFilterRuleCollectionAction) FirewallPolicyFilterRuleCollectionAction {
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) Elem() FrontendIPConfigurationVirtualNetworkApplianceResponseOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) FrontendIPConfigurationVirtualNetworkApplianceResponse {
if v != nil {
return *v
}
- var ret FirewallPolicyFilterRuleCollectionAction
+ var ret FrontendIPConfigurationVirtualNetworkApplianceResponse
return ret
- }).(FirewallPolicyFilterRuleCollectionActionOutput)
+ }).(FrontendIPConfigurationVirtualNetworkApplianceResponseOutput)
}
-// The type of action.
-func (o FirewallPolicyFilterRuleCollectionActionPtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyFilterRuleCollectionAction) *string {
+// A unique read-only string that changes whenever the resource is updated.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
- return v.Type
+ return &v.Etag
}).(pulumi.StringPtrOutput)
}
-// Properties of the FirewallPolicyFilterRuleCollectionAction.
-type FirewallPolicyFilterRuleCollectionActionResponse struct {
- // The type of action.
- Type *string `pulumi:"type"`
+// The reference to gateway load balancer frontend IP.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) GatewayLoadBalancer() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.GatewayLoadBalancer
+ }).(SubResourceResponsePtrOutput)
}
-// Properties of the FirewallPolicyFilterRuleCollectionAction.
-type FirewallPolicyFilterRuleCollectionActionResponseOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicyFilterRuleCollectionActionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyFilterRuleCollectionActionResponse)(nil)).Elem()
+// Resource ID.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicyFilterRuleCollectionActionResponseOutput) ToFirewallPolicyFilterRuleCollectionActionResponseOutput() FirewallPolicyFilterRuleCollectionActionResponseOutput {
- return o
+// An array of references to inbound pools that use this frontend IP.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) InboundNatPools() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InboundNatPools
+ }).(SubResourceResponseArrayOutput)
}
-func (o FirewallPolicyFilterRuleCollectionActionResponseOutput) ToFirewallPolicyFilterRuleCollectionActionResponseOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionActionResponseOutput {
- return o
+// An array of references to inbound rules that use this frontend IP.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) InboundNatRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InboundNatRules
+ }).(SubResourceResponseArrayOutput)
}
-// The type of action.
-func (o FirewallPolicyFilterRuleCollectionActionResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleCollectionActionResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+// An array of references to load balancing rules that use this frontend IP.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) LoadBalancingRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.LoadBalancingRules
+ }).(SubResourceResponseArrayOutput)
}
-type FirewallPolicyFilterRuleCollectionActionResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicyFilterRuleCollectionActionResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyFilterRuleCollectionActionResponse)(nil)).Elem()
+// Name of the resource.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicyFilterRuleCollectionActionResponsePtrOutput) ToFirewallPolicyFilterRuleCollectionActionResponsePtrOutput() FirewallPolicyFilterRuleCollectionActionResponsePtrOutput {
- return o
+// An array of references to outbound rules that use this frontend IP.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) OutboundRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.OutboundRules
+ }).(SubResourceResponseArrayOutput)
}
-func (o FirewallPolicyFilterRuleCollectionActionResponsePtrOutput) ToFirewallPolicyFilterRuleCollectionActionResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionActionResponsePtrOutput {
- return o
+// The private IP address of the IP configuration.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAddress
+ }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicyFilterRuleCollectionActionResponsePtrOutput) Elem() FirewallPolicyFilterRuleCollectionActionResponseOutput {
- return o.ApplyT(func(v *FirewallPolicyFilterRuleCollectionActionResponse) FirewallPolicyFilterRuleCollectionActionResponse {
- if v != nil {
- return *v
+// Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
}
- var ret FirewallPolicyFilterRuleCollectionActionResponse
- return ret
- }).(FirewallPolicyFilterRuleCollectionActionResponseOutput)
+ return v.PrivateIPAddressVersion
+ }).(pulumi.StringPtrOutput)
}
-// The type of action.
-func (o FirewallPolicyFilterRuleCollectionActionResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyFilterRuleCollectionActionResponse) *string {
+// The Private IP allocation method.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
- return v.Type
+ return v.PrivateIPAllocationMethod
}).(pulumi.StringPtrOutput)
}
-// Firewall Policy Filter Rule Collection.
-type FirewallPolicyFilterRuleCollectionResponse struct {
- // The action type of a Filter rule collection.
- Action *FirewallPolicyFilterRuleCollectionActionResponse `pulumi:"action"`
- // The name of the rule collection.
- Name *string `pulumi:"name"`
- // Priority of the Firewall Policy Rule Collection resource.
- Priority *int `pulumi:"priority"`
- // The type of the rule collection.
- // Expected value is 'FirewallPolicyFilterRuleCollection'.
- RuleCollectionType string `pulumi:"ruleCollectionType"`
- // List of rules included in a rule collection.
- Rules []interface{} `pulumi:"rules"`
+// The provisioning state of the frontend IP configuration resource.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// Firewall Policy Filter Rule Collection.
-type FirewallPolicyFilterRuleCollectionResponseOutput struct{ *pulumi.OutputState }
+// The reference to the Public IP resource.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) PublicIPAddress() PublicIPAddressResponseV2PtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) *PublicIPAddressResponseV2 {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAddress
+ }).(PublicIPAddressResponseV2PtrOutput)
+}
-func (FirewallPolicyFilterRuleCollectionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyFilterRuleCollectionResponse)(nil)).Elem()
+// The reference to the Public IP Prefix resource.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPPrefix
+ }).(SubResourceResponsePtrOutput)
}
-func (o FirewallPolicyFilterRuleCollectionResponseOutput) ToFirewallPolicyFilterRuleCollectionResponseOutput() FirewallPolicyFilterRuleCollectionResponseOutput {
- return o
+// The reference to the subnet resource.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) *SubnetResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnet
+ }).(SubnetResponsePtrOutput)
}
-func (o FirewallPolicyFilterRuleCollectionResponseOutput) ToFirewallPolicyFilterRuleCollectionResponseOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleCollectionResponseOutput {
- return o
+// Resource type.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-// The action type of a Filter rule collection.
-func (o FirewallPolicyFilterRuleCollectionResponseOutput) Action() FirewallPolicyFilterRuleCollectionActionResponsePtrOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleCollectionResponse) *FirewallPolicyFilterRuleCollectionActionResponse {
- return v.Action
- }).(FirewallPolicyFilterRuleCollectionActionResponsePtrOutput)
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *FrontendIPConfigurationVirtualNetworkApplianceResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Zones
+ }).(pulumi.StringArrayOutput)
}
-// The name of the rule collection.
-func (o FirewallPolicyFilterRuleCollectionResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleCollectionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+type FrontendIPConfigurationVirtualNetworkApplianceResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (FrontendIPConfigurationVirtualNetworkApplianceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]FrontendIPConfigurationVirtualNetworkApplianceResponse)(nil)).Elem()
}
-// Priority of the Firewall Policy Rule Collection resource.
-func (o FirewallPolicyFilterRuleCollectionResponseOutput) Priority() pulumi.IntPtrOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleCollectionResponse) *int { return v.Priority }).(pulumi.IntPtrOutput)
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseArrayOutput) ToFrontendIPConfigurationVirtualNetworkApplianceResponseArrayOutput() FrontendIPConfigurationVirtualNetworkApplianceResponseArrayOutput {
+ return o
}
-// The type of the rule collection.
-// Expected value is 'FirewallPolicyFilterRuleCollection'.
-func (o FirewallPolicyFilterRuleCollectionResponseOutput) RuleCollectionType() pulumi.StringOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleCollectionResponse) string { return v.RuleCollectionType }).(pulumi.StringOutput)
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseArrayOutput) ToFrontendIPConfigurationVirtualNetworkApplianceResponseArrayOutputWithContext(ctx context.Context) FrontendIPConfigurationVirtualNetworkApplianceResponseArrayOutput {
+ return o
}
-// List of rules included in a rule collection.
-func (o FirewallPolicyFilterRuleCollectionResponseOutput) Rules() pulumi.ArrayOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleCollectionResponse) []interface{} { return v.Rules }).(pulumi.ArrayOutput)
+func (o FrontendIPConfigurationVirtualNetworkApplianceResponseArrayOutput) Index(i pulumi.IntInput) FrontendIPConfigurationVirtualNetworkApplianceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) FrontendIPConfigurationVirtualNetworkApplianceResponse {
+ return vs[0].([]FrontendIPConfigurationVirtualNetworkApplianceResponse)[vs[1].(int)]
+ }).(FrontendIPConfigurationVirtualNetworkApplianceResponseOutput)
}
-// Firewall Policy Filter Rule.
-type FirewallPolicyFilterRuleResponse struct {
- // The action type of a Filter rule.
- Action *FirewallPolicyFilterRuleActionResponse `pulumi:"action"`
- // The name of the rule.
- Name *string `pulumi:"name"`
- // Priority of the Firewall Policy Rule resource.
- Priority *int `pulumi:"priority"`
- // Collection of rule conditions used by a rule.
- RuleConditions []interface{} `pulumi:"ruleConditions"`
- // The type of the rule.
- // Expected value is 'FirewallPolicyFilterRule'.
- RuleType string `pulumi:"ruleType"`
+// GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection.
+type GatewayCustomBgpIpAddressIpConfiguration struct {
+ // The custom BgpPeeringAddress which belongs to IpconfigurationId.
+ CustomBgpIpAddress string `pulumi:"customBgpIpAddress"`
+ // The IpconfigurationId of ipconfiguration which belongs to gateway.
+ IpConfigurationId string `pulumi:"ipConfigurationId"`
}
-// Firewall Policy Filter Rule.
-type FirewallPolicyFilterRuleResponseOutput struct{ *pulumi.OutputState }
+// GatewayCustomBgpIpAddressIpConfigurationInput is an input type that accepts GatewayCustomBgpIpAddressIpConfigurationArgs and GatewayCustomBgpIpAddressIpConfigurationOutput values.
+// You can construct a concrete instance of `GatewayCustomBgpIpAddressIpConfigurationInput` via:
+//
+// GatewayCustomBgpIpAddressIpConfigurationArgs{...}
+type GatewayCustomBgpIpAddressIpConfigurationInput interface {
+ pulumi.Input
-func (FirewallPolicyFilterRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyFilterRuleResponse)(nil)).Elem()
+ ToGatewayCustomBgpIpAddressIpConfigurationOutput() GatewayCustomBgpIpAddressIpConfigurationOutput
+ ToGatewayCustomBgpIpAddressIpConfigurationOutputWithContext(context.Context) GatewayCustomBgpIpAddressIpConfigurationOutput
}
-func (o FirewallPolicyFilterRuleResponseOutput) ToFirewallPolicyFilterRuleResponseOutput() FirewallPolicyFilterRuleResponseOutput {
- return o
+// GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection.
+type GatewayCustomBgpIpAddressIpConfigurationArgs struct {
+ // The custom BgpPeeringAddress which belongs to IpconfigurationId.
+ CustomBgpIpAddress pulumi.StringInput `pulumi:"customBgpIpAddress"`
+ // The IpconfigurationId of ipconfiguration which belongs to gateway.
+ IpConfigurationId pulumi.StringInput `pulumi:"ipConfigurationId"`
}
-func (o FirewallPolicyFilterRuleResponseOutput) ToFirewallPolicyFilterRuleResponseOutputWithContext(ctx context.Context) FirewallPolicyFilterRuleResponseOutput {
- return o
+func (GatewayCustomBgpIpAddressIpConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GatewayCustomBgpIpAddressIpConfiguration)(nil)).Elem()
}
-// The action type of a Filter rule.
-func (o FirewallPolicyFilterRuleResponseOutput) Action() FirewallPolicyFilterRuleActionResponsePtrOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleResponse) *FirewallPolicyFilterRuleActionResponse { return v.Action }).(FirewallPolicyFilterRuleActionResponsePtrOutput)
+func (i GatewayCustomBgpIpAddressIpConfigurationArgs) ToGatewayCustomBgpIpAddressIpConfigurationOutput() GatewayCustomBgpIpAddressIpConfigurationOutput {
+ return i.ToGatewayCustomBgpIpAddressIpConfigurationOutputWithContext(context.Background())
}
-// The name of the rule.
-func (o FirewallPolicyFilterRuleResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (i GatewayCustomBgpIpAddressIpConfigurationArgs) ToGatewayCustomBgpIpAddressIpConfigurationOutputWithContext(ctx context.Context) GatewayCustomBgpIpAddressIpConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GatewayCustomBgpIpAddressIpConfigurationOutput)
}
-// Priority of the Firewall Policy Rule resource.
-func (o FirewallPolicyFilterRuleResponseOutput) Priority() pulumi.IntPtrOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleResponse) *int { return v.Priority }).(pulumi.IntPtrOutput)
-}
-
-// Collection of rule conditions used by a rule.
-func (o FirewallPolicyFilterRuleResponseOutput) RuleConditions() pulumi.ArrayOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleResponse) []interface{} { return v.RuleConditions }).(pulumi.ArrayOutput)
-}
-
-// The type of the rule.
-// Expected value is 'FirewallPolicyFilterRule'.
-func (o FirewallPolicyFilterRuleResponseOutput) RuleType() pulumi.StringOutput {
- return o.ApplyT(func(v FirewallPolicyFilterRuleResponse) string { return v.RuleType }).(pulumi.StringOutput)
-}
-
-// name and value of HTTP/S header to insert
-type FirewallPolicyHttpHeaderToInsert struct {
- // Contains the name of the header
- HeaderName *string `pulumi:"headerName"`
- // Contains the value of the header
- HeaderValue *string `pulumi:"headerValue"`
-}
-
-// FirewallPolicyHttpHeaderToInsertInput is an input type that accepts FirewallPolicyHttpHeaderToInsertArgs and FirewallPolicyHttpHeaderToInsertOutput values.
-// You can construct a concrete instance of `FirewallPolicyHttpHeaderToInsertInput` via:
+// GatewayCustomBgpIpAddressIpConfigurationArrayInput is an input type that accepts GatewayCustomBgpIpAddressIpConfigurationArray and GatewayCustomBgpIpAddressIpConfigurationArrayOutput values.
+// You can construct a concrete instance of `GatewayCustomBgpIpAddressIpConfigurationArrayInput` via:
//
-// FirewallPolicyHttpHeaderToInsertArgs{...}
-type FirewallPolicyHttpHeaderToInsertInput interface {
+// GatewayCustomBgpIpAddressIpConfigurationArray{ GatewayCustomBgpIpAddressIpConfigurationArgs{...} }
+type GatewayCustomBgpIpAddressIpConfigurationArrayInput interface {
pulumi.Input
- ToFirewallPolicyHttpHeaderToInsertOutput() FirewallPolicyHttpHeaderToInsertOutput
- ToFirewallPolicyHttpHeaderToInsertOutputWithContext(context.Context) FirewallPolicyHttpHeaderToInsertOutput
+ ToGatewayCustomBgpIpAddressIpConfigurationArrayOutput() GatewayCustomBgpIpAddressIpConfigurationArrayOutput
+ ToGatewayCustomBgpIpAddressIpConfigurationArrayOutputWithContext(context.Context) GatewayCustomBgpIpAddressIpConfigurationArrayOutput
}
-// name and value of HTTP/S header to insert
-type FirewallPolicyHttpHeaderToInsertArgs struct {
- // Contains the name of the header
- HeaderName pulumi.StringPtrInput `pulumi:"headerName"`
- // Contains the value of the header
- HeaderValue pulumi.StringPtrInput `pulumi:"headerValue"`
-}
+type GatewayCustomBgpIpAddressIpConfigurationArray []GatewayCustomBgpIpAddressIpConfigurationInput
-func (FirewallPolicyHttpHeaderToInsertArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyHttpHeaderToInsert)(nil)).Elem()
+func (GatewayCustomBgpIpAddressIpConfigurationArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GatewayCustomBgpIpAddressIpConfiguration)(nil)).Elem()
}
-func (i FirewallPolicyHttpHeaderToInsertArgs) ToFirewallPolicyHttpHeaderToInsertOutput() FirewallPolicyHttpHeaderToInsertOutput {
- return i.ToFirewallPolicyHttpHeaderToInsertOutputWithContext(context.Background())
+func (i GatewayCustomBgpIpAddressIpConfigurationArray) ToGatewayCustomBgpIpAddressIpConfigurationArrayOutput() GatewayCustomBgpIpAddressIpConfigurationArrayOutput {
+ return i.ToGatewayCustomBgpIpAddressIpConfigurationArrayOutputWithContext(context.Background())
}
-func (i FirewallPolicyHttpHeaderToInsertArgs) ToFirewallPolicyHttpHeaderToInsertOutputWithContext(ctx context.Context) FirewallPolicyHttpHeaderToInsertOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyHttpHeaderToInsertOutput)
+func (i GatewayCustomBgpIpAddressIpConfigurationArray) ToGatewayCustomBgpIpAddressIpConfigurationArrayOutputWithContext(ctx context.Context) GatewayCustomBgpIpAddressIpConfigurationArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GatewayCustomBgpIpAddressIpConfigurationArrayOutput)
}
-// FirewallPolicyHttpHeaderToInsertArrayInput is an input type that accepts FirewallPolicyHttpHeaderToInsertArray and FirewallPolicyHttpHeaderToInsertArrayOutput values.
-// You can construct a concrete instance of `FirewallPolicyHttpHeaderToInsertArrayInput` via:
-//
-// FirewallPolicyHttpHeaderToInsertArray{ FirewallPolicyHttpHeaderToInsertArgs{...} }
-type FirewallPolicyHttpHeaderToInsertArrayInput interface {
- pulumi.Input
+// GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection.
+type GatewayCustomBgpIpAddressIpConfigurationOutput struct{ *pulumi.OutputState }
- ToFirewallPolicyHttpHeaderToInsertArrayOutput() FirewallPolicyHttpHeaderToInsertArrayOutput
- ToFirewallPolicyHttpHeaderToInsertArrayOutputWithContext(context.Context) FirewallPolicyHttpHeaderToInsertArrayOutput
+func (GatewayCustomBgpIpAddressIpConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GatewayCustomBgpIpAddressIpConfiguration)(nil)).Elem()
}
-type FirewallPolicyHttpHeaderToInsertArray []FirewallPolicyHttpHeaderToInsertInput
+func (o GatewayCustomBgpIpAddressIpConfigurationOutput) ToGatewayCustomBgpIpAddressIpConfigurationOutput() GatewayCustomBgpIpAddressIpConfigurationOutput {
+ return o
+}
-func (FirewallPolicyHttpHeaderToInsertArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyHttpHeaderToInsert)(nil)).Elem()
+func (o GatewayCustomBgpIpAddressIpConfigurationOutput) ToGatewayCustomBgpIpAddressIpConfigurationOutputWithContext(ctx context.Context) GatewayCustomBgpIpAddressIpConfigurationOutput {
+ return o
}
-func (i FirewallPolicyHttpHeaderToInsertArray) ToFirewallPolicyHttpHeaderToInsertArrayOutput() FirewallPolicyHttpHeaderToInsertArrayOutput {
- return i.ToFirewallPolicyHttpHeaderToInsertArrayOutputWithContext(context.Background())
+// The custom BgpPeeringAddress which belongs to IpconfigurationId.
+func (o GatewayCustomBgpIpAddressIpConfigurationOutput) CustomBgpIpAddress() pulumi.StringOutput {
+ return o.ApplyT(func(v GatewayCustomBgpIpAddressIpConfiguration) string { return v.CustomBgpIpAddress }).(pulumi.StringOutput)
}
-func (i FirewallPolicyHttpHeaderToInsertArray) ToFirewallPolicyHttpHeaderToInsertArrayOutputWithContext(ctx context.Context) FirewallPolicyHttpHeaderToInsertArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyHttpHeaderToInsertArrayOutput)
+// The IpconfigurationId of ipconfiguration which belongs to gateway.
+func (o GatewayCustomBgpIpAddressIpConfigurationOutput) IpConfigurationId() pulumi.StringOutput {
+ return o.ApplyT(func(v GatewayCustomBgpIpAddressIpConfiguration) string { return v.IpConfigurationId }).(pulumi.StringOutput)
}
-// name and value of HTTP/S header to insert
-type FirewallPolicyHttpHeaderToInsertOutput struct{ *pulumi.OutputState }
+type GatewayCustomBgpIpAddressIpConfigurationArrayOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyHttpHeaderToInsertOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyHttpHeaderToInsert)(nil)).Elem()
+func (GatewayCustomBgpIpAddressIpConfigurationArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GatewayCustomBgpIpAddressIpConfiguration)(nil)).Elem()
}
-func (o FirewallPolicyHttpHeaderToInsertOutput) ToFirewallPolicyHttpHeaderToInsertOutput() FirewallPolicyHttpHeaderToInsertOutput {
+func (o GatewayCustomBgpIpAddressIpConfigurationArrayOutput) ToGatewayCustomBgpIpAddressIpConfigurationArrayOutput() GatewayCustomBgpIpAddressIpConfigurationArrayOutput {
return o
}
-func (o FirewallPolicyHttpHeaderToInsertOutput) ToFirewallPolicyHttpHeaderToInsertOutputWithContext(ctx context.Context) FirewallPolicyHttpHeaderToInsertOutput {
+func (o GatewayCustomBgpIpAddressIpConfigurationArrayOutput) ToGatewayCustomBgpIpAddressIpConfigurationArrayOutputWithContext(ctx context.Context) GatewayCustomBgpIpAddressIpConfigurationArrayOutput {
return o
}
-// Contains the name of the header
-func (o FirewallPolicyHttpHeaderToInsertOutput) HeaderName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyHttpHeaderToInsert) *string { return v.HeaderName }).(pulumi.StringPtrOutput)
+func (o GatewayCustomBgpIpAddressIpConfigurationArrayOutput) Index(i pulumi.IntInput) GatewayCustomBgpIpAddressIpConfigurationOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GatewayCustomBgpIpAddressIpConfiguration {
+ return vs[0].([]GatewayCustomBgpIpAddressIpConfiguration)[vs[1].(int)]
+ }).(GatewayCustomBgpIpAddressIpConfigurationOutput)
}
-// Contains the value of the header
-func (o FirewallPolicyHttpHeaderToInsertOutput) HeaderValue() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyHttpHeaderToInsert) *string { return v.HeaderValue }).(pulumi.StringPtrOutput)
+// GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection.
+type GatewayCustomBgpIpAddressIpConfigurationResponse struct {
+ // The custom BgpPeeringAddress which belongs to IpconfigurationId.
+ CustomBgpIpAddress string `pulumi:"customBgpIpAddress"`
+ // The IpconfigurationId of ipconfiguration which belongs to gateway.
+ IpConfigurationId string `pulumi:"ipConfigurationId"`
}
-type FirewallPolicyHttpHeaderToInsertArrayOutput struct{ *pulumi.OutputState }
+// GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection.
+type GatewayCustomBgpIpAddressIpConfigurationResponseOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyHttpHeaderToInsertArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyHttpHeaderToInsert)(nil)).Elem()
+func (GatewayCustomBgpIpAddressIpConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GatewayCustomBgpIpAddressIpConfigurationResponse)(nil)).Elem()
}
-func (o FirewallPolicyHttpHeaderToInsertArrayOutput) ToFirewallPolicyHttpHeaderToInsertArrayOutput() FirewallPolicyHttpHeaderToInsertArrayOutput {
+func (o GatewayCustomBgpIpAddressIpConfigurationResponseOutput) ToGatewayCustomBgpIpAddressIpConfigurationResponseOutput() GatewayCustomBgpIpAddressIpConfigurationResponseOutput {
return o
}
-func (o FirewallPolicyHttpHeaderToInsertArrayOutput) ToFirewallPolicyHttpHeaderToInsertArrayOutputWithContext(ctx context.Context) FirewallPolicyHttpHeaderToInsertArrayOutput {
+func (o GatewayCustomBgpIpAddressIpConfigurationResponseOutput) ToGatewayCustomBgpIpAddressIpConfigurationResponseOutputWithContext(ctx context.Context) GatewayCustomBgpIpAddressIpConfigurationResponseOutput {
return o
}
-func (o FirewallPolicyHttpHeaderToInsertArrayOutput) Index(i pulumi.IntInput) FirewallPolicyHttpHeaderToInsertOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyHttpHeaderToInsert {
- return vs[0].([]FirewallPolicyHttpHeaderToInsert)[vs[1].(int)]
- }).(FirewallPolicyHttpHeaderToInsertOutput)
+// The custom BgpPeeringAddress which belongs to IpconfigurationId.
+func (o GatewayCustomBgpIpAddressIpConfigurationResponseOutput) CustomBgpIpAddress() pulumi.StringOutput {
+ return o.ApplyT(func(v GatewayCustomBgpIpAddressIpConfigurationResponse) string { return v.CustomBgpIpAddress }).(pulumi.StringOutput)
}
-// name and value of HTTP/S header to insert
-type FirewallPolicyHttpHeaderToInsertResponse struct {
- // Contains the name of the header
- HeaderName *string `pulumi:"headerName"`
- // Contains the value of the header
- HeaderValue *string `pulumi:"headerValue"`
+// The IpconfigurationId of ipconfiguration which belongs to gateway.
+func (o GatewayCustomBgpIpAddressIpConfigurationResponseOutput) IpConfigurationId() pulumi.StringOutput {
+ return o.ApplyT(func(v GatewayCustomBgpIpAddressIpConfigurationResponse) string { return v.IpConfigurationId }).(pulumi.StringOutput)
}
-// name and value of HTTP/S header to insert
-type FirewallPolicyHttpHeaderToInsertResponseOutput struct{ *pulumi.OutputState }
+type GatewayCustomBgpIpAddressIpConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyHttpHeaderToInsertResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyHttpHeaderToInsertResponse)(nil)).Elem()
+func (GatewayCustomBgpIpAddressIpConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GatewayCustomBgpIpAddressIpConfigurationResponse)(nil)).Elem()
}
-func (o FirewallPolicyHttpHeaderToInsertResponseOutput) ToFirewallPolicyHttpHeaderToInsertResponseOutput() FirewallPolicyHttpHeaderToInsertResponseOutput {
+func (o GatewayCustomBgpIpAddressIpConfigurationResponseArrayOutput) ToGatewayCustomBgpIpAddressIpConfigurationResponseArrayOutput() GatewayCustomBgpIpAddressIpConfigurationResponseArrayOutput {
return o
}
-func (o FirewallPolicyHttpHeaderToInsertResponseOutput) ToFirewallPolicyHttpHeaderToInsertResponseOutputWithContext(ctx context.Context) FirewallPolicyHttpHeaderToInsertResponseOutput {
+func (o GatewayCustomBgpIpAddressIpConfigurationResponseArrayOutput) ToGatewayCustomBgpIpAddressIpConfigurationResponseArrayOutputWithContext(ctx context.Context) GatewayCustomBgpIpAddressIpConfigurationResponseArrayOutput {
return o
}
-// Contains the name of the header
-func (o FirewallPolicyHttpHeaderToInsertResponseOutput) HeaderName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyHttpHeaderToInsertResponse) *string { return v.HeaderName }).(pulumi.StringPtrOutput)
+func (o GatewayCustomBgpIpAddressIpConfigurationResponseArrayOutput) Index(i pulumi.IntInput) GatewayCustomBgpIpAddressIpConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GatewayCustomBgpIpAddressIpConfigurationResponse {
+ return vs[0].([]GatewayCustomBgpIpAddressIpConfigurationResponse)[vs[1].(int)]
+ }).(GatewayCustomBgpIpAddressIpConfigurationResponseOutput)
}
-// Contains the value of the header
-func (o FirewallPolicyHttpHeaderToInsertResponseOutput) HeaderValue() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyHttpHeaderToInsertResponse) *string { return v.HeaderValue }).(pulumi.StringPtrOutput)
+// Gateway load balancer tunnel interface of a load balancer backend address pool.
+type GatewayLoadBalancerTunnelInterface struct {
+ // Identifier of gateway load balancer tunnel interface.
+ Identifier *int `pulumi:"identifier"`
+ // Port of gateway load balancer tunnel interface.
+ Port *int `pulumi:"port"`
+ // Protocol of gateway load balancer tunnel interface.
+ Protocol *string `pulumi:"protocol"`
+ // Traffic type of gateway load balancer tunnel interface.
+ Type *string `pulumi:"type"`
}
-type FirewallPolicyHttpHeaderToInsertResponseArrayOutput struct{ *pulumi.OutputState }
+// GatewayLoadBalancerTunnelInterfaceInput is an input type that accepts GatewayLoadBalancerTunnelInterfaceArgs and GatewayLoadBalancerTunnelInterfaceOutput values.
+// You can construct a concrete instance of `GatewayLoadBalancerTunnelInterfaceInput` via:
+//
+// GatewayLoadBalancerTunnelInterfaceArgs{...}
+type GatewayLoadBalancerTunnelInterfaceInput interface {
+ pulumi.Input
-func (FirewallPolicyHttpHeaderToInsertResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyHttpHeaderToInsertResponse)(nil)).Elem()
+ ToGatewayLoadBalancerTunnelInterfaceOutput() GatewayLoadBalancerTunnelInterfaceOutput
+ ToGatewayLoadBalancerTunnelInterfaceOutputWithContext(context.Context) GatewayLoadBalancerTunnelInterfaceOutput
}
-func (o FirewallPolicyHttpHeaderToInsertResponseArrayOutput) ToFirewallPolicyHttpHeaderToInsertResponseArrayOutput() FirewallPolicyHttpHeaderToInsertResponseArrayOutput {
- return o
+// Gateway load balancer tunnel interface of a load balancer backend address pool.
+type GatewayLoadBalancerTunnelInterfaceArgs struct {
+ // Identifier of gateway load balancer tunnel interface.
+ Identifier pulumi.IntPtrInput `pulumi:"identifier"`
+ // Port of gateway load balancer tunnel interface.
+ Port pulumi.IntPtrInput `pulumi:"port"`
+ // Protocol of gateway load balancer tunnel interface.
+ Protocol pulumi.StringPtrInput `pulumi:"protocol"`
+ // Traffic type of gateway load balancer tunnel interface.
+ Type pulumi.StringPtrInput `pulumi:"type"`
}
-func (o FirewallPolicyHttpHeaderToInsertResponseArrayOutput) ToFirewallPolicyHttpHeaderToInsertResponseArrayOutputWithContext(ctx context.Context) FirewallPolicyHttpHeaderToInsertResponseArrayOutput {
- return o
+func (GatewayLoadBalancerTunnelInterfaceArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GatewayLoadBalancerTunnelInterface)(nil)).Elem()
}
-func (o FirewallPolicyHttpHeaderToInsertResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyHttpHeaderToInsertResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyHttpHeaderToInsertResponse {
- return vs[0].([]FirewallPolicyHttpHeaderToInsertResponse)[vs[1].(int)]
- }).(FirewallPolicyHttpHeaderToInsertResponseOutput)
+func (i GatewayLoadBalancerTunnelInterfaceArgs) ToGatewayLoadBalancerTunnelInterfaceOutput() GatewayLoadBalancerTunnelInterfaceOutput {
+ return i.ToGatewayLoadBalancerTunnelInterfaceOutputWithContext(context.Background())
}
-// Firewall Policy Insights.
-type FirewallPolicyInsights struct {
- // A flag to indicate if the insights are enabled on the policy.
- IsEnabled *bool `pulumi:"isEnabled"`
- // Workspaces needed to configure the Firewall Policy Insights.
- LogAnalyticsResources *FirewallPolicyLogAnalyticsResources `pulumi:"logAnalyticsResources"`
- // Number of days the insights should be enabled on the policy.
- RetentionDays *int `pulumi:"retentionDays"`
+func (i GatewayLoadBalancerTunnelInterfaceArgs) ToGatewayLoadBalancerTunnelInterfaceOutputWithContext(ctx context.Context) GatewayLoadBalancerTunnelInterfaceOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GatewayLoadBalancerTunnelInterfaceOutput)
}
-// FirewallPolicyInsightsInput is an input type that accepts FirewallPolicyInsightsArgs and FirewallPolicyInsightsOutput values.
-// You can construct a concrete instance of `FirewallPolicyInsightsInput` via:
+// GatewayLoadBalancerTunnelInterfaceArrayInput is an input type that accepts GatewayLoadBalancerTunnelInterfaceArray and GatewayLoadBalancerTunnelInterfaceArrayOutput values.
+// You can construct a concrete instance of `GatewayLoadBalancerTunnelInterfaceArrayInput` via:
//
-// FirewallPolicyInsightsArgs{...}
-type FirewallPolicyInsightsInput interface {
+// GatewayLoadBalancerTunnelInterfaceArray{ GatewayLoadBalancerTunnelInterfaceArgs{...} }
+type GatewayLoadBalancerTunnelInterfaceArrayInput interface {
pulumi.Input
- ToFirewallPolicyInsightsOutput() FirewallPolicyInsightsOutput
- ToFirewallPolicyInsightsOutputWithContext(context.Context) FirewallPolicyInsightsOutput
+ ToGatewayLoadBalancerTunnelInterfaceArrayOutput() GatewayLoadBalancerTunnelInterfaceArrayOutput
+ ToGatewayLoadBalancerTunnelInterfaceArrayOutputWithContext(context.Context) GatewayLoadBalancerTunnelInterfaceArrayOutput
}
-// Firewall Policy Insights.
-type FirewallPolicyInsightsArgs struct {
- // A flag to indicate if the insights are enabled on the policy.
- IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"`
- // Workspaces needed to configure the Firewall Policy Insights.
- LogAnalyticsResources FirewallPolicyLogAnalyticsResourcesPtrInput `pulumi:"logAnalyticsResources"`
- // Number of days the insights should be enabled on the policy.
- RetentionDays pulumi.IntPtrInput `pulumi:"retentionDays"`
-}
+type GatewayLoadBalancerTunnelInterfaceArray []GatewayLoadBalancerTunnelInterfaceInput
-func (FirewallPolicyInsightsArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyInsights)(nil)).Elem()
+func (GatewayLoadBalancerTunnelInterfaceArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GatewayLoadBalancerTunnelInterface)(nil)).Elem()
}
-func (i FirewallPolicyInsightsArgs) ToFirewallPolicyInsightsOutput() FirewallPolicyInsightsOutput {
- return i.ToFirewallPolicyInsightsOutputWithContext(context.Background())
+func (i GatewayLoadBalancerTunnelInterfaceArray) ToGatewayLoadBalancerTunnelInterfaceArrayOutput() GatewayLoadBalancerTunnelInterfaceArrayOutput {
+ return i.ToGatewayLoadBalancerTunnelInterfaceArrayOutputWithContext(context.Background())
}
-func (i FirewallPolicyInsightsArgs) ToFirewallPolicyInsightsOutputWithContext(ctx context.Context) FirewallPolicyInsightsOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyInsightsOutput)
+func (i GatewayLoadBalancerTunnelInterfaceArray) ToGatewayLoadBalancerTunnelInterfaceArrayOutputWithContext(ctx context.Context) GatewayLoadBalancerTunnelInterfaceArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GatewayLoadBalancerTunnelInterfaceArrayOutput)
}
-func (i FirewallPolicyInsightsArgs) ToFirewallPolicyInsightsPtrOutput() FirewallPolicyInsightsPtrOutput {
- return i.ToFirewallPolicyInsightsPtrOutputWithContext(context.Background())
-}
+// Gateway load balancer tunnel interface of a load balancer backend address pool.
+type GatewayLoadBalancerTunnelInterfaceOutput struct{ *pulumi.OutputState }
-func (i FirewallPolicyInsightsArgs) ToFirewallPolicyInsightsPtrOutputWithContext(ctx context.Context) FirewallPolicyInsightsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyInsightsOutput).ToFirewallPolicyInsightsPtrOutputWithContext(ctx)
+func (GatewayLoadBalancerTunnelInterfaceOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GatewayLoadBalancerTunnelInterface)(nil)).Elem()
}
-// FirewallPolicyInsightsPtrInput is an input type that accepts FirewallPolicyInsightsArgs, FirewallPolicyInsightsPtr and FirewallPolicyInsightsPtrOutput values.
-// You can construct a concrete instance of `FirewallPolicyInsightsPtrInput` via:
-//
-// FirewallPolicyInsightsArgs{...}
-//
-// or:
-//
-// nil
-type FirewallPolicyInsightsPtrInput interface {
- pulumi.Input
-
- ToFirewallPolicyInsightsPtrOutput() FirewallPolicyInsightsPtrOutput
- ToFirewallPolicyInsightsPtrOutputWithContext(context.Context) FirewallPolicyInsightsPtrOutput
+func (o GatewayLoadBalancerTunnelInterfaceOutput) ToGatewayLoadBalancerTunnelInterfaceOutput() GatewayLoadBalancerTunnelInterfaceOutput {
+ return o
}
-type firewallPolicyInsightsPtrType FirewallPolicyInsightsArgs
+func (o GatewayLoadBalancerTunnelInterfaceOutput) ToGatewayLoadBalancerTunnelInterfaceOutputWithContext(ctx context.Context) GatewayLoadBalancerTunnelInterfaceOutput {
+ return o
+}
-func FirewallPolicyInsightsPtr(v *FirewallPolicyInsightsArgs) FirewallPolicyInsightsPtrInput {
- return (*firewallPolicyInsightsPtrType)(v)
+// Identifier of gateway load balancer tunnel interface.
+func (o GatewayLoadBalancerTunnelInterfaceOutput) Identifier() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v GatewayLoadBalancerTunnelInterface) *int { return v.Identifier }).(pulumi.IntPtrOutput)
}
-func (*firewallPolicyInsightsPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyInsights)(nil)).Elem()
+// Port of gateway load balancer tunnel interface.
+func (o GatewayLoadBalancerTunnelInterfaceOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v GatewayLoadBalancerTunnelInterface) *int { return v.Port }).(pulumi.IntPtrOutput)
}
-func (i *firewallPolicyInsightsPtrType) ToFirewallPolicyInsightsPtrOutput() FirewallPolicyInsightsPtrOutput {
- return i.ToFirewallPolicyInsightsPtrOutputWithContext(context.Background())
+// Protocol of gateway load balancer tunnel interface.
+func (o GatewayLoadBalancerTunnelInterfaceOutput) Protocol() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v GatewayLoadBalancerTunnelInterface) *string { return v.Protocol }).(pulumi.StringPtrOutput)
}
-func (i *firewallPolicyInsightsPtrType) ToFirewallPolicyInsightsPtrOutputWithContext(ctx context.Context) FirewallPolicyInsightsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyInsightsPtrOutput)
+// Traffic type of gateway load balancer tunnel interface.
+func (o GatewayLoadBalancerTunnelInterfaceOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v GatewayLoadBalancerTunnelInterface) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// Firewall Policy Insights.
-type FirewallPolicyInsightsOutput struct{ *pulumi.OutputState }
+type GatewayLoadBalancerTunnelInterfaceArrayOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyInsightsOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyInsights)(nil)).Elem()
+func (GatewayLoadBalancerTunnelInterfaceArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GatewayLoadBalancerTunnelInterface)(nil)).Elem()
}
-func (o FirewallPolicyInsightsOutput) ToFirewallPolicyInsightsOutput() FirewallPolicyInsightsOutput {
+func (o GatewayLoadBalancerTunnelInterfaceArrayOutput) ToGatewayLoadBalancerTunnelInterfaceArrayOutput() GatewayLoadBalancerTunnelInterfaceArrayOutput {
return o
}
-func (o FirewallPolicyInsightsOutput) ToFirewallPolicyInsightsOutputWithContext(ctx context.Context) FirewallPolicyInsightsOutput {
+func (o GatewayLoadBalancerTunnelInterfaceArrayOutput) ToGatewayLoadBalancerTunnelInterfaceArrayOutputWithContext(ctx context.Context) GatewayLoadBalancerTunnelInterfaceArrayOutput {
return o
}
-func (o FirewallPolicyInsightsOutput) ToFirewallPolicyInsightsPtrOutput() FirewallPolicyInsightsPtrOutput {
- return o.ToFirewallPolicyInsightsPtrOutputWithContext(context.Background())
+func (o GatewayLoadBalancerTunnelInterfaceArrayOutput) Index(i pulumi.IntInput) GatewayLoadBalancerTunnelInterfaceOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GatewayLoadBalancerTunnelInterface {
+ return vs[0].([]GatewayLoadBalancerTunnelInterface)[vs[1].(int)]
+ }).(GatewayLoadBalancerTunnelInterfaceOutput)
}
-func (o FirewallPolicyInsightsOutput) ToFirewallPolicyInsightsPtrOutputWithContext(ctx context.Context) FirewallPolicyInsightsPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyInsights) *FirewallPolicyInsights {
- return &v
- }).(FirewallPolicyInsightsPtrOutput)
+// Gateway load balancer tunnel interface of a load balancer backend address pool.
+type GatewayLoadBalancerTunnelInterfaceResponse struct {
+ // Identifier of gateway load balancer tunnel interface.
+ Identifier *int `pulumi:"identifier"`
+ // Port of gateway load balancer tunnel interface.
+ Port *int `pulumi:"port"`
+ // Protocol of gateway load balancer tunnel interface.
+ Protocol *string `pulumi:"protocol"`
+ // Traffic type of gateway load balancer tunnel interface.
+ Type *string `pulumi:"type"`
}
-// A flag to indicate if the insights are enabled on the policy.
-func (o FirewallPolicyInsightsOutput) IsEnabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v FirewallPolicyInsights) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput)
+// Gateway load balancer tunnel interface of a load balancer backend address pool.
+type GatewayLoadBalancerTunnelInterfaceResponseOutput struct{ *pulumi.OutputState }
+
+func (GatewayLoadBalancerTunnelInterfaceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GatewayLoadBalancerTunnelInterfaceResponse)(nil)).Elem()
}
-// Workspaces needed to configure the Firewall Policy Insights.
-func (o FirewallPolicyInsightsOutput) LogAnalyticsResources() FirewallPolicyLogAnalyticsResourcesPtrOutput {
- return o.ApplyT(func(v FirewallPolicyInsights) *FirewallPolicyLogAnalyticsResources { return v.LogAnalyticsResources }).(FirewallPolicyLogAnalyticsResourcesPtrOutput)
+func (o GatewayLoadBalancerTunnelInterfaceResponseOutput) ToGatewayLoadBalancerTunnelInterfaceResponseOutput() GatewayLoadBalancerTunnelInterfaceResponseOutput {
+ return o
}
-// Number of days the insights should be enabled on the policy.
-func (o FirewallPolicyInsightsOutput) RetentionDays() pulumi.IntPtrOutput {
- return o.ApplyT(func(v FirewallPolicyInsights) *int { return v.RetentionDays }).(pulumi.IntPtrOutput)
+func (o GatewayLoadBalancerTunnelInterfaceResponseOutput) ToGatewayLoadBalancerTunnelInterfaceResponseOutputWithContext(ctx context.Context) GatewayLoadBalancerTunnelInterfaceResponseOutput {
+ return o
}
-type FirewallPolicyInsightsPtrOutput struct{ *pulumi.OutputState }
+// Identifier of gateway load balancer tunnel interface.
+func (o GatewayLoadBalancerTunnelInterfaceResponseOutput) Identifier() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v GatewayLoadBalancerTunnelInterfaceResponse) *int { return v.Identifier }).(pulumi.IntPtrOutput)
+}
-func (FirewallPolicyInsightsPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyInsights)(nil)).Elem()
+// Port of gateway load balancer tunnel interface.
+func (o GatewayLoadBalancerTunnelInterfaceResponseOutput) Port() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v GatewayLoadBalancerTunnelInterfaceResponse) *int { return v.Port }).(pulumi.IntPtrOutput)
}
-func (o FirewallPolicyInsightsPtrOutput) ToFirewallPolicyInsightsPtrOutput() FirewallPolicyInsightsPtrOutput {
- return o
+// Protocol of gateway load balancer tunnel interface.
+func (o GatewayLoadBalancerTunnelInterfaceResponseOutput) Protocol() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v GatewayLoadBalancerTunnelInterfaceResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicyInsightsPtrOutput) ToFirewallPolicyInsightsPtrOutputWithContext(ctx context.Context) FirewallPolicyInsightsPtrOutput {
- return o
+// Traffic type of gateway load balancer tunnel interface.
+func (o GatewayLoadBalancerTunnelInterfaceResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v GatewayLoadBalancerTunnelInterfaceResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicyInsightsPtrOutput) Elem() FirewallPolicyInsightsOutput {
- return o.ApplyT(func(v *FirewallPolicyInsights) FirewallPolicyInsights {
- if v != nil {
- return *v
- }
- var ret FirewallPolicyInsights
- return ret
- }).(FirewallPolicyInsightsOutput)
+type GatewayLoadBalancerTunnelInterfaceResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (GatewayLoadBalancerTunnelInterfaceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GatewayLoadBalancerTunnelInterfaceResponse)(nil)).Elem()
}
-// A flag to indicate if the insights are enabled on the policy.
-func (o FirewallPolicyInsightsPtrOutput) IsEnabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyInsights) *bool {
- if v == nil {
- return nil
- }
- return v.IsEnabled
- }).(pulumi.BoolPtrOutput)
+func (o GatewayLoadBalancerTunnelInterfaceResponseArrayOutput) ToGatewayLoadBalancerTunnelInterfaceResponseArrayOutput() GatewayLoadBalancerTunnelInterfaceResponseArrayOutput {
+ return o
}
-// Workspaces needed to configure the Firewall Policy Insights.
-func (o FirewallPolicyInsightsPtrOutput) LogAnalyticsResources() FirewallPolicyLogAnalyticsResourcesPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyInsights) *FirewallPolicyLogAnalyticsResources {
- if v == nil {
- return nil
- }
- return v.LogAnalyticsResources
- }).(FirewallPolicyLogAnalyticsResourcesPtrOutput)
+func (o GatewayLoadBalancerTunnelInterfaceResponseArrayOutput) ToGatewayLoadBalancerTunnelInterfaceResponseArrayOutputWithContext(ctx context.Context) GatewayLoadBalancerTunnelInterfaceResponseArrayOutput {
+ return o
}
-// Number of days the insights should be enabled on the policy.
-func (o FirewallPolicyInsightsPtrOutput) RetentionDays() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyInsights) *int {
- if v == nil {
- return nil
- }
- return v.RetentionDays
- }).(pulumi.IntPtrOutput)
+func (o GatewayLoadBalancerTunnelInterfaceResponseArrayOutput) Index(i pulumi.IntInput) GatewayLoadBalancerTunnelInterfaceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GatewayLoadBalancerTunnelInterfaceResponse {
+ return vs[0].([]GatewayLoadBalancerTunnelInterfaceResponse)[vs[1].(int)]
+ }).(GatewayLoadBalancerTunnelInterfaceResponseOutput)
}
-// Firewall Policy Insights.
-type FirewallPolicyInsightsResponse struct {
- // A flag to indicate if the insights are enabled on the policy.
- IsEnabled *bool `pulumi:"isEnabled"`
- // Workspaces needed to configure the Firewall Policy Insights.
- LogAnalyticsResources *FirewallPolicyLogAnalyticsResourcesResponse `pulumi:"logAnalyticsResources"`
- // Number of days the insights should be enabled on the policy.
- RetentionDays *int `pulumi:"retentionDays"`
+// Resiliency Recommendation details
+type GatewayResiliencyRecommendationResponse struct {
+ // Link to the public documentation for the associated recommendation
+ CallToActionLink *string `pulumi:"callToActionLink"`
+ // Acton items to apply the recommendation
+ CallToActionText *string `pulumi:"callToActionText"`
+ // Recommendation Id
+ RecommendationId *string `pulumi:"recommendationId"`
+ // Recommendation details
+ RecommendationText *string `pulumi:"recommendationText"`
+ // Recommendation Title
+ RecommendationTitle *string `pulumi:"recommendationTitle"`
+ // Impact associated with the recommendation
+ Severity *string `pulumi:"severity"`
}
-// Firewall Policy Insights.
-type FirewallPolicyInsightsResponseOutput struct{ *pulumi.OutputState }
+// Resiliency Recommendation details
+type GatewayResiliencyRecommendationResponseOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyInsightsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyInsightsResponse)(nil)).Elem()
+func (GatewayResiliencyRecommendationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GatewayResiliencyRecommendationResponse)(nil)).Elem()
}
-func (o FirewallPolicyInsightsResponseOutput) ToFirewallPolicyInsightsResponseOutput() FirewallPolicyInsightsResponseOutput {
+func (o GatewayResiliencyRecommendationResponseOutput) ToGatewayResiliencyRecommendationResponseOutput() GatewayResiliencyRecommendationResponseOutput {
return o
}
-func (o FirewallPolicyInsightsResponseOutput) ToFirewallPolicyInsightsResponseOutputWithContext(ctx context.Context) FirewallPolicyInsightsResponseOutput {
+func (o GatewayResiliencyRecommendationResponseOutput) ToGatewayResiliencyRecommendationResponseOutputWithContext(ctx context.Context) GatewayResiliencyRecommendationResponseOutput {
return o
}
-// A flag to indicate if the insights are enabled on the policy.
-func (o FirewallPolicyInsightsResponseOutput) IsEnabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v FirewallPolicyInsightsResponse) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput)
+// Link to the public documentation for the associated recommendation
+func (o GatewayResiliencyRecommendationResponseOutput) CallToActionLink() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v GatewayResiliencyRecommendationResponse) *string { return v.CallToActionLink }).(pulumi.StringPtrOutput)
}
-// Workspaces needed to configure the Firewall Policy Insights.
-func (o FirewallPolicyInsightsResponseOutput) LogAnalyticsResources() FirewallPolicyLogAnalyticsResourcesResponsePtrOutput {
- return o.ApplyT(func(v FirewallPolicyInsightsResponse) *FirewallPolicyLogAnalyticsResourcesResponse {
- return v.LogAnalyticsResources
- }).(FirewallPolicyLogAnalyticsResourcesResponsePtrOutput)
+// Acton items to apply the recommendation
+func (o GatewayResiliencyRecommendationResponseOutput) CallToActionText() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v GatewayResiliencyRecommendationResponse) *string { return v.CallToActionText }).(pulumi.StringPtrOutput)
}
-// Number of days the insights should be enabled on the policy.
-func (o FirewallPolicyInsightsResponseOutput) RetentionDays() pulumi.IntPtrOutput {
- return o.ApplyT(func(v FirewallPolicyInsightsResponse) *int { return v.RetentionDays }).(pulumi.IntPtrOutput)
+// Recommendation Id
+func (o GatewayResiliencyRecommendationResponseOutput) RecommendationId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v GatewayResiliencyRecommendationResponse) *string { return v.RecommendationId }).(pulumi.StringPtrOutput)
}
-type FirewallPolicyInsightsResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicyInsightsResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyInsightsResponse)(nil)).Elem()
+// Recommendation details
+func (o GatewayResiliencyRecommendationResponseOutput) RecommendationText() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v GatewayResiliencyRecommendationResponse) *string { return v.RecommendationText }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicyInsightsResponsePtrOutput) ToFirewallPolicyInsightsResponsePtrOutput() FirewallPolicyInsightsResponsePtrOutput {
- return o
+// Recommendation Title
+func (o GatewayResiliencyRecommendationResponseOutput) RecommendationTitle() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v GatewayResiliencyRecommendationResponse) *string { return v.RecommendationTitle }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicyInsightsResponsePtrOutput) ToFirewallPolicyInsightsResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyInsightsResponsePtrOutput {
- return o
+// Impact associated with the recommendation
+func (o GatewayResiliencyRecommendationResponseOutput) Severity() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v GatewayResiliencyRecommendationResponse) *string { return v.Severity }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicyInsightsResponsePtrOutput) Elem() FirewallPolicyInsightsResponseOutput {
- return o.ApplyT(func(v *FirewallPolicyInsightsResponse) FirewallPolicyInsightsResponse {
- if v != nil {
- return *v
- }
- var ret FirewallPolicyInsightsResponse
- return ret
- }).(FirewallPolicyInsightsResponseOutput)
+type GatewayResiliencyRecommendationResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (GatewayResiliencyRecommendationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GatewayResiliencyRecommendationResponse)(nil)).Elem()
}
-// A flag to indicate if the insights are enabled on the policy.
-func (o FirewallPolicyInsightsResponsePtrOutput) IsEnabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyInsightsResponse) *bool {
- if v == nil {
- return nil
- }
- return v.IsEnabled
- }).(pulumi.BoolPtrOutput)
+func (o GatewayResiliencyRecommendationResponseArrayOutput) ToGatewayResiliencyRecommendationResponseArrayOutput() GatewayResiliencyRecommendationResponseArrayOutput {
+ return o
}
-// Workspaces needed to configure the Firewall Policy Insights.
-func (o FirewallPolicyInsightsResponsePtrOutput) LogAnalyticsResources() FirewallPolicyLogAnalyticsResourcesResponsePtrOutput {
- return o.ApplyT(func(v *FirewallPolicyInsightsResponse) *FirewallPolicyLogAnalyticsResourcesResponse {
- if v == nil {
- return nil
- }
- return v.LogAnalyticsResources
- }).(FirewallPolicyLogAnalyticsResourcesResponsePtrOutput)
+func (o GatewayResiliencyRecommendationResponseArrayOutput) ToGatewayResiliencyRecommendationResponseArrayOutputWithContext(ctx context.Context) GatewayResiliencyRecommendationResponseArrayOutput {
+ return o
}
-// Number of days the insights should be enabled on the policy.
-func (o FirewallPolicyInsightsResponsePtrOutput) RetentionDays() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyInsightsResponse) *int {
- if v == nil {
- return nil
- }
- return v.RetentionDays
- }).(pulumi.IntPtrOutput)
-}
-
-// Configuration for intrusion detection mode and rules.
-type FirewallPolicyIntrusionDetection struct {
- // Intrusion detection configuration properties.
- Configuration *FirewallPolicyIntrusionDetectionConfiguration `pulumi:"configuration"`
- // Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
- Mode *string `pulumi:"mode"`
- // IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
- Profile *string `pulumi:"profile"`
+func (o GatewayResiliencyRecommendationResponseArrayOutput) Index(i pulumi.IntInput) GatewayResiliencyRecommendationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GatewayResiliencyRecommendationResponse {
+ return vs[0].([]GatewayResiliencyRecommendationResponse)[vs[1].(int)]
+ }).(GatewayResiliencyRecommendationResponseOutput)
}
-// FirewallPolicyIntrusionDetectionInput is an input type that accepts FirewallPolicyIntrusionDetectionArgs and FirewallPolicyIntrusionDetectionOutput values.
-// You can construct a concrete instance of `FirewallPolicyIntrusionDetectionInput` via:
-//
-// FirewallPolicyIntrusionDetectionArgs{...}
-type FirewallPolicyIntrusionDetectionInput interface {
- pulumi.Input
-
- ToFirewallPolicyIntrusionDetectionOutput() FirewallPolicyIntrusionDetectionOutput
- ToFirewallPolicyIntrusionDetectionOutputWithContext(context.Context) FirewallPolicyIntrusionDetectionOutput
+// Gateway routing details.
+type GatewayRouteResponse struct {
+ // The route's AS path sequence.
+ AsPath string `pulumi:"asPath"`
+ // The gateway's local address.
+ LocalAddress string `pulumi:"localAddress"`
+ // The route's network prefix.
+ Network string `pulumi:"network"`
+ // The route's next hop.
+ NextHop string `pulumi:"nextHop"`
+ // The source this route was learned from.
+ Origin string `pulumi:"origin"`
+ // The peer this route was learned from.
+ SourcePeer string `pulumi:"sourcePeer"`
+ // The route's weight.
+ Weight int `pulumi:"weight"`
}
-// Configuration for intrusion detection mode and rules.
-type FirewallPolicyIntrusionDetectionArgs struct {
- // Intrusion detection configuration properties.
- Configuration FirewallPolicyIntrusionDetectionConfigurationPtrInput `pulumi:"configuration"`
- // Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
- Mode pulumi.StringPtrInput `pulumi:"mode"`
- // IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
- Profile pulumi.StringPtrInput `pulumi:"profile"`
-}
+// Gateway routing details.
+type GatewayRouteResponseOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyIntrusionDetectionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyIntrusionDetection)(nil)).Elem()
+func (GatewayRouteResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GatewayRouteResponse)(nil)).Elem()
}
-func (i FirewallPolicyIntrusionDetectionArgs) ToFirewallPolicyIntrusionDetectionOutput() FirewallPolicyIntrusionDetectionOutput {
- return i.ToFirewallPolicyIntrusionDetectionOutputWithContext(context.Background())
+func (o GatewayRouteResponseOutput) ToGatewayRouteResponseOutput() GatewayRouteResponseOutput {
+ return o
}
-func (i FirewallPolicyIntrusionDetectionArgs) ToFirewallPolicyIntrusionDetectionOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionOutput)
+func (o GatewayRouteResponseOutput) ToGatewayRouteResponseOutputWithContext(ctx context.Context) GatewayRouteResponseOutput {
+ return o
}
-func (i FirewallPolicyIntrusionDetectionArgs) ToFirewallPolicyIntrusionDetectionPtrOutput() FirewallPolicyIntrusionDetectionPtrOutput {
- return i.ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(context.Background())
+// The route's AS path sequence.
+func (o GatewayRouteResponseOutput) AsPath() pulumi.StringOutput {
+ return o.ApplyT(func(v GatewayRouteResponse) string { return v.AsPath }).(pulumi.StringOutput)
}
-func (i FirewallPolicyIntrusionDetectionArgs) ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionOutput).ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(ctx)
+// The gateway's local address.
+func (o GatewayRouteResponseOutput) LocalAddress() pulumi.StringOutput {
+ return o.ApplyT(func(v GatewayRouteResponse) string { return v.LocalAddress }).(pulumi.StringOutput)
}
-// FirewallPolicyIntrusionDetectionPtrInput is an input type that accepts FirewallPolicyIntrusionDetectionArgs, FirewallPolicyIntrusionDetectionPtr and FirewallPolicyIntrusionDetectionPtrOutput values.
-// You can construct a concrete instance of `FirewallPolicyIntrusionDetectionPtrInput` via:
-//
-// FirewallPolicyIntrusionDetectionArgs{...}
-//
-// or:
-//
-// nil
-type FirewallPolicyIntrusionDetectionPtrInput interface {
- pulumi.Input
-
- ToFirewallPolicyIntrusionDetectionPtrOutput() FirewallPolicyIntrusionDetectionPtrOutput
- ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(context.Context) FirewallPolicyIntrusionDetectionPtrOutput
+// The route's network prefix.
+func (o GatewayRouteResponseOutput) Network() pulumi.StringOutput {
+ return o.ApplyT(func(v GatewayRouteResponse) string { return v.Network }).(pulumi.StringOutput)
}
-type firewallPolicyIntrusionDetectionPtrType FirewallPolicyIntrusionDetectionArgs
-
-func FirewallPolicyIntrusionDetectionPtr(v *FirewallPolicyIntrusionDetectionArgs) FirewallPolicyIntrusionDetectionPtrInput {
- return (*firewallPolicyIntrusionDetectionPtrType)(v)
+// The route's next hop.
+func (o GatewayRouteResponseOutput) NextHop() pulumi.StringOutput {
+ return o.ApplyT(func(v GatewayRouteResponse) string { return v.NextHop }).(pulumi.StringOutput)
}
-func (*firewallPolicyIntrusionDetectionPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyIntrusionDetection)(nil)).Elem()
+// The source this route was learned from.
+func (o GatewayRouteResponseOutput) Origin() pulumi.StringOutput {
+ return o.ApplyT(func(v GatewayRouteResponse) string { return v.Origin }).(pulumi.StringOutput)
}
-func (i *firewallPolicyIntrusionDetectionPtrType) ToFirewallPolicyIntrusionDetectionPtrOutput() FirewallPolicyIntrusionDetectionPtrOutput {
- return i.ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(context.Background())
+// The peer this route was learned from.
+func (o GatewayRouteResponseOutput) SourcePeer() pulumi.StringOutput {
+ return o.ApplyT(func(v GatewayRouteResponse) string { return v.SourcePeer }).(pulumi.StringOutput)
}
-func (i *firewallPolicyIntrusionDetectionPtrType) ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionPtrOutput)
+// The route's weight.
+func (o GatewayRouteResponseOutput) Weight() pulumi.IntOutput {
+ return o.ApplyT(func(v GatewayRouteResponse) int { return v.Weight }).(pulumi.IntOutput)
}
-// Configuration for intrusion detection mode and rules.
-type FirewallPolicyIntrusionDetectionOutput struct{ *pulumi.OutputState }
+type GatewayRouteResponseArrayOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyIntrusionDetectionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyIntrusionDetection)(nil)).Elem()
+func (GatewayRouteResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GatewayRouteResponse)(nil)).Elem()
}
-func (o FirewallPolicyIntrusionDetectionOutput) ToFirewallPolicyIntrusionDetectionOutput() FirewallPolicyIntrusionDetectionOutput {
+func (o GatewayRouteResponseArrayOutput) ToGatewayRouteResponseArrayOutput() GatewayRouteResponseArrayOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionOutput) ToFirewallPolicyIntrusionDetectionOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionOutput {
+func (o GatewayRouteResponseArrayOutput) ToGatewayRouteResponseArrayOutputWithContext(ctx context.Context) GatewayRouteResponseArrayOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionOutput) ToFirewallPolicyIntrusionDetectionPtrOutput() FirewallPolicyIntrusionDetectionPtrOutput {
- return o.ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(context.Background())
+func (o GatewayRouteResponseArrayOutput) Index(i pulumi.IntInput) GatewayRouteResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GatewayRouteResponse {
+ return vs[0].([]GatewayRouteResponse)[vs[1].(int)]
+ }).(GatewayRouteResponseOutput)
}
-func (o FirewallPolicyIntrusionDetectionOutput) ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyIntrusionDetection) *FirewallPolicyIntrusionDetection {
- return &v
- }).(FirewallPolicyIntrusionDetectionPtrOutput)
+type GatewayRouteSetResponse struct {
+ // List of different Route Sources
+ Details map[string][]RouteSourceDetailsResponse `pulumi:"details"`
+ // List of different locations from where the routes are learned
+ Locations []string `pulumi:"locations"`
+ // Route Set name
+ Name *string `pulumi:"name"`
}
-// Intrusion detection configuration properties.
-func (o FirewallPolicyIntrusionDetectionOutput) Configuration() FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetection) *FirewallPolicyIntrusionDetectionConfiguration {
- return v.Configuration
- }).(FirewallPolicyIntrusionDetectionConfigurationPtrOutput)
-}
+type GatewayRouteSetResponseOutput struct{ *pulumi.OutputState }
-// Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
-func (o FirewallPolicyIntrusionDetectionOutput) Mode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetection) *string { return v.Mode }).(pulumi.StringPtrOutput)
+func (GatewayRouteSetResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GatewayRouteSetResponse)(nil)).Elem()
}
-// IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
-func (o FirewallPolicyIntrusionDetectionOutput) Profile() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetection) *string { return v.Profile }).(pulumi.StringPtrOutput)
+func (o GatewayRouteSetResponseOutput) ToGatewayRouteSetResponseOutput() GatewayRouteSetResponseOutput {
+ return o
}
-type FirewallPolicyIntrusionDetectionPtrOutput struct{ *pulumi.OutputState }
+func (o GatewayRouteSetResponseOutput) ToGatewayRouteSetResponseOutputWithContext(ctx context.Context) GatewayRouteSetResponseOutput {
+ return o
+}
-func (FirewallPolicyIntrusionDetectionPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyIntrusionDetection)(nil)).Elem()
+// List of different Route Sources
+func (o GatewayRouteSetResponseOutput) Details() RouteSourceDetailsResponseArrayMapOutput {
+ return o.ApplyT(func(v GatewayRouteSetResponse) map[string][]RouteSourceDetailsResponse { return v.Details }).(RouteSourceDetailsResponseArrayMapOutput)
}
-func (o FirewallPolicyIntrusionDetectionPtrOutput) ToFirewallPolicyIntrusionDetectionPtrOutput() FirewallPolicyIntrusionDetectionPtrOutput {
- return o
+// List of different locations from where the routes are learned
+func (o GatewayRouteSetResponseOutput) Locations() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GatewayRouteSetResponse) []string { return v.Locations }).(pulumi.StringArrayOutput)
}
-func (o FirewallPolicyIntrusionDetectionPtrOutput) ToFirewallPolicyIntrusionDetectionPtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionPtrOutput {
- return o
+// Route Set name
+func (o GatewayRouteSetResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v GatewayRouteSetResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicyIntrusionDetectionPtrOutput) Elem() FirewallPolicyIntrusionDetectionOutput {
- return o.ApplyT(func(v *FirewallPolicyIntrusionDetection) FirewallPolicyIntrusionDetection {
- if v != nil {
- return *v
- }
- var ret FirewallPolicyIntrusionDetection
- return ret
- }).(FirewallPolicyIntrusionDetectionOutput)
+type GatewayRouteSetResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (GatewayRouteSetResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GatewayRouteSetResponse)(nil)).Elem()
}
-// Intrusion detection configuration properties.
-func (o FirewallPolicyIntrusionDetectionPtrOutput) Configuration() FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyIntrusionDetection) *FirewallPolicyIntrusionDetectionConfiguration {
- if v == nil {
- return nil
- }
- return v.Configuration
- }).(FirewallPolicyIntrusionDetectionConfigurationPtrOutput)
+func (o GatewayRouteSetResponseArrayOutput) ToGatewayRouteSetResponseArrayOutput() GatewayRouteSetResponseArrayOutput {
+ return o
}
-// Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
-func (o FirewallPolicyIntrusionDetectionPtrOutput) Mode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyIntrusionDetection) *string {
- if v == nil {
- return nil
- }
- return v.Mode
- }).(pulumi.StringPtrOutput)
+func (o GatewayRouteSetResponseArrayOutput) ToGatewayRouteSetResponseArrayOutputWithContext(ctx context.Context) GatewayRouteSetResponseArrayOutput {
+ return o
}
-// IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
-func (o FirewallPolicyIntrusionDetectionPtrOutput) Profile() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyIntrusionDetection) *string {
- if v == nil {
- return nil
- }
- return v.Profile
- }).(pulumi.StringPtrOutput)
+func (o GatewayRouteSetResponseArrayOutput) Index(i pulumi.IntInput) GatewayRouteSetResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GatewayRouteSetResponse {
+ return vs[0].([]GatewayRouteSetResponse)[vs[1].(int)]
+ }).(GatewayRouteSetResponseOutput)
}
-// Intrusion detection bypass traffic specification.
-type FirewallPolicyIntrusionDetectionBypassTrafficSpecifications struct {
- // Description of the bypass traffic rule.
- Description *string `pulumi:"description"`
- // List of destination IP addresses or ranges for this rule.
- DestinationAddresses []string `pulumi:"destinationAddresses"`
- // List of destination IpGroups for this rule.
- DestinationIpGroups []string `pulumi:"destinationIpGroups"`
- // List of destination ports or ranges.
- DestinationPorts []string `pulumi:"destinationPorts"`
- // Name of the bypass traffic rule.
- Name *string `pulumi:"name"`
- // The rule bypass protocol.
- Protocol *string `pulumi:"protocol"`
- // List of source IP addresses or ranges for this rule.
- SourceAddresses []string `pulumi:"sourceAddresses"`
- // List of source IpGroups for this rule.
- SourceIpGroups []string `pulumi:"sourceIpGroups"`
+// Define user session identifier group by clauses.
+type GroupByUserSession struct {
+ // List of group by clause variables.
+ GroupByVariables []GroupByVariable `pulumi:"groupByVariables"`
}
-// FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsInput is an input type that accepts FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArgs and FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput values.
-// You can construct a concrete instance of `FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsInput` via:
+// GroupByUserSessionInput is an input type that accepts GroupByUserSessionArgs and GroupByUserSessionOutput values.
+// You can construct a concrete instance of `GroupByUserSessionInput` via:
//
-// FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArgs{...}
-type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsInput interface {
+// GroupByUserSessionArgs{...}
+type GroupByUserSessionInput interface {
pulumi.Input
- ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput
- ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutputWithContext(context.Context) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput
+ ToGroupByUserSessionOutput() GroupByUserSessionOutput
+ ToGroupByUserSessionOutputWithContext(context.Context) GroupByUserSessionOutput
}
-// Intrusion detection bypass traffic specification.
-type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArgs struct {
- // Description of the bypass traffic rule.
- Description pulumi.StringPtrInput `pulumi:"description"`
- // List of destination IP addresses or ranges for this rule.
- DestinationAddresses pulumi.StringArrayInput `pulumi:"destinationAddresses"`
- // List of destination IpGroups for this rule.
- DestinationIpGroups pulumi.StringArrayInput `pulumi:"destinationIpGroups"`
- // List of destination ports or ranges.
- DestinationPorts pulumi.StringArrayInput `pulumi:"destinationPorts"`
- // Name of the bypass traffic rule.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The rule bypass protocol.
- Protocol pulumi.StringPtrInput `pulumi:"protocol"`
- // List of source IP addresses or ranges for this rule.
- SourceAddresses pulumi.StringArrayInput `pulumi:"sourceAddresses"`
- // List of source IpGroups for this rule.
- SourceIpGroups pulumi.StringArrayInput `pulumi:"sourceIpGroups"`
+// Define user session identifier group by clauses.
+type GroupByUserSessionArgs struct {
+ // List of group by clause variables.
+ GroupByVariables GroupByVariableArrayInput `pulumi:"groupByVariables"`
}
-func (FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyIntrusionDetectionBypassTrafficSpecifications)(nil)).Elem()
+func (GroupByUserSessionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GroupByUserSession)(nil)).Elem()
}
-func (i FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArgs) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput {
- return i.ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutputWithContext(context.Background())
+func (i GroupByUserSessionArgs) ToGroupByUserSessionOutput() GroupByUserSessionOutput {
+ return i.ToGroupByUserSessionOutputWithContext(context.Background())
}
-func (i FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArgs) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput)
+func (i GroupByUserSessionArgs) ToGroupByUserSessionOutputWithContext(ctx context.Context) GroupByUserSessionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GroupByUserSessionOutput)
}
-// FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayInput is an input type that accepts FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArray and FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput values.
-// You can construct a concrete instance of `FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayInput` via:
+// GroupByUserSessionArrayInput is an input type that accepts GroupByUserSessionArray and GroupByUserSessionArrayOutput values.
+// You can construct a concrete instance of `GroupByUserSessionArrayInput` via:
//
-// FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArray{ FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArgs{...} }
-type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayInput interface {
+// GroupByUserSessionArray{ GroupByUserSessionArgs{...} }
+type GroupByUserSessionArrayInput interface {
pulumi.Input
- ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput
- ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutputWithContext(context.Context) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput
+ ToGroupByUserSessionArrayOutput() GroupByUserSessionArrayOutput
+ ToGroupByUserSessionArrayOutputWithContext(context.Context) GroupByUserSessionArrayOutput
}
-type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArray []FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsInput
+type GroupByUserSessionArray []GroupByUserSessionInput
-func (FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyIntrusionDetectionBypassTrafficSpecifications)(nil)).Elem()
+func (GroupByUserSessionArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GroupByUserSession)(nil)).Elem()
}
-func (i FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArray) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput {
- return i.ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutputWithContext(context.Background())
+func (i GroupByUserSessionArray) ToGroupByUserSessionArrayOutput() GroupByUserSessionArrayOutput {
+ return i.ToGroupByUserSessionArrayOutputWithContext(context.Background())
}
-func (i FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArray) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput)
+func (i GroupByUserSessionArray) ToGroupByUserSessionArrayOutputWithContext(ctx context.Context) GroupByUserSessionArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GroupByUserSessionArrayOutput)
}
-// Intrusion detection bypass traffic specification.
-type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput struct{ *pulumi.OutputState }
+// Define user session identifier group by clauses.
+type GroupByUserSessionOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyIntrusionDetectionBypassTrafficSpecifications)(nil)).Elem()
+func (GroupByUserSessionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GroupByUserSession)(nil)).Elem()
}
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput {
+func (o GroupByUserSessionOutput) ToGroupByUserSessionOutput() GroupByUserSessionOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput {
+func (o GroupByUserSessionOutput) ToGroupByUserSessionOutputWithContext(ctx context.Context) GroupByUserSessionOutput {
return o
}
-// Description of the bypass traffic rule.
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) *string { return v.Description }).(pulumi.StringPtrOutput)
-}
-
-// List of destination IP addresses or ranges for this rule.
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) DestinationAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) []string {
- return v.DestinationAddresses
- }).(pulumi.StringArrayOutput)
+// List of group by clause variables.
+func (o GroupByUserSessionOutput) GroupByVariables() GroupByVariableArrayOutput {
+ return o.ApplyT(func(v GroupByUserSession) []GroupByVariable { return v.GroupByVariables }).(GroupByVariableArrayOutput)
}
-// List of destination IpGroups for this rule.
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) DestinationIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) []string {
- return v.DestinationIpGroups
- }).(pulumi.StringArrayOutput)
-}
+type GroupByUserSessionArrayOutput struct{ *pulumi.OutputState }
-// List of destination ports or ranges.
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) []string {
- return v.DestinationPorts
- }).(pulumi.StringArrayOutput)
+func (GroupByUserSessionArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GroupByUserSession)(nil)).Elem()
}
-// Name of the bypass traffic rule.
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o GroupByUserSessionArrayOutput) ToGroupByUserSessionArrayOutput() GroupByUserSessionArrayOutput {
+ return o
}
-// The rule bypass protocol.
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) Protocol() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) *string { return v.Protocol }).(pulumi.StringPtrOutput)
+func (o GroupByUserSessionArrayOutput) ToGroupByUserSessionArrayOutputWithContext(ctx context.Context) GroupByUserSessionArrayOutput {
+ return o
}
-// List of source IP addresses or ranges for this rule.
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) SourceAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
+func (o GroupByUserSessionArrayOutput) Index(i pulumi.IntInput) GroupByUserSessionOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupByUserSession {
+ return vs[0].([]GroupByUserSession)[vs[1].(int)]
+ }).(GroupByUserSessionOutput)
}
-// List of source IpGroups for this rule.
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput) SourceIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
+// Define user session identifier group by clauses.
+type GroupByUserSessionResponse struct {
+ // List of group by clause variables.
+ GroupByVariables []GroupByVariableResponse `pulumi:"groupByVariables"`
}
-type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput struct{ *pulumi.OutputState }
+// Define user session identifier group by clauses.
+type GroupByUserSessionResponseOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyIntrusionDetectionBypassTrafficSpecifications)(nil)).Elem()
+func (GroupByUserSessionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GroupByUserSessionResponse)(nil)).Elem()
}
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput {
+func (o GroupByUserSessionResponseOutput) ToGroupByUserSessionResponseOutput() GroupByUserSessionResponseOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput {
+func (o GroupByUserSessionResponseOutput) ToGroupByUserSessionResponseOutputWithContext(ctx context.Context) GroupByUserSessionResponseOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput) Index(i pulumi.IntInput) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyIntrusionDetectionBypassTrafficSpecifications {
- return vs[0].([]FirewallPolicyIntrusionDetectionBypassTrafficSpecifications)[vs[1].(int)]
- }).(FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsOutput)
-}
-
-// Intrusion detection bypass traffic specification.
-type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse struct {
- // Description of the bypass traffic rule.
- Description *string `pulumi:"description"`
- // List of destination IP addresses or ranges for this rule.
- DestinationAddresses []string `pulumi:"destinationAddresses"`
- // List of destination IpGroups for this rule.
- DestinationIpGroups []string `pulumi:"destinationIpGroups"`
- // List of destination ports or ranges.
- DestinationPorts []string `pulumi:"destinationPorts"`
- // Name of the bypass traffic rule.
- Name *string `pulumi:"name"`
- // The rule bypass protocol.
- Protocol *string `pulumi:"protocol"`
- // List of source IP addresses or ranges for this rule.
- SourceAddresses []string `pulumi:"sourceAddresses"`
- // List of source IpGroups for this rule.
- SourceIpGroups []string `pulumi:"sourceIpGroups"`
+// List of group by clause variables.
+func (o GroupByUserSessionResponseOutput) GroupByVariables() GroupByVariableResponseArrayOutput {
+ return o.ApplyT(func(v GroupByUserSessionResponse) []GroupByVariableResponse { return v.GroupByVariables }).(GroupByVariableResponseArrayOutput)
}
-// Intrusion detection bypass traffic specification.
-type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput struct{ *pulumi.OutputState }
+type GroupByUserSessionResponseArrayOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse)(nil)).Elem()
+func (GroupByUserSessionResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GroupByUserSessionResponse)(nil)).Elem()
}
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput {
+func (o GroupByUserSessionResponseArrayOutput) ToGroupByUserSessionResponseArrayOutput() GroupByUserSessionResponseArrayOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput {
+func (o GroupByUserSessionResponseArrayOutput) ToGroupByUserSessionResponseArrayOutputWithContext(ctx context.Context) GroupByUserSessionResponseArrayOutput {
return o
}
-// Description of the bypass traffic rule.
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse) *string {
- return v.Description
- }).(pulumi.StringPtrOutput)
+func (o GroupByUserSessionResponseArrayOutput) Index(i pulumi.IntInput) GroupByUserSessionResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupByUserSessionResponse {
+ return vs[0].([]GroupByUserSessionResponse)[vs[1].(int)]
+ }).(GroupByUserSessionResponseOutput)
}
-// List of destination IP addresses or ranges for this rule.
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) DestinationAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse) []string {
- return v.DestinationAddresses
- }).(pulumi.StringArrayOutput)
+// Define user session group by clause variables.
+type GroupByVariable struct {
+ // User Session clause variable.
+ VariableName string `pulumi:"variableName"`
}
-// List of destination IpGroups for this rule.
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) DestinationIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse) []string {
- return v.DestinationIpGroups
- }).(pulumi.StringArrayOutput)
-}
+// GroupByVariableInput is an input type that accepts GroupByVariableArgs and GroupByVariableOutput values.
+// You can construct a concrete instance of `GroupByVariableInput` via:
+//
+// GroupByVariableArgs{...}
+type GroupByVariableInput interface {
+ pulumi.Input
-// List of destination ports or ranges.
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse) []string {
- return v.DestinationPorts
- }).(pulumi.StringArrayOutput)
+ ToGroupByVariableOutput() GroupByVariableOutput
+ ToGroupByVariableOutputWithContext(context.Context) GroupByVariableOutput
}
-// Name of the bypass traffic rule.
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Define user session group by clause variables.
+type GroupByVariableArgs struct {
+ // User Session clause variable.
+ VariableName pulumi.StringInput `pulumi:"variableName"`
}
-// The rule bypass protocol.
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) Protocol() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput)
+func (GroupByVariableArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*GroupByVariable)(nil)).Elem()
}
-// List of source IP addresses or ranges for this rule.
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) SourceAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse) []string {
- return v.SourceAddresses
- }).(pulumi.StringArrayOutput)
+func (i GroupByVariableArgs) ToGroupByVariableOutput() GroupByVariableOutput {
+ return i.ToGroupByVariableOutputWithContext(context.Background())
}
-// List of source IpGroups for this rule.
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput) SourceIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse) []string {
- return v.SourceIpGroups
- }).(pulumi.StringArrayOutput)
+func (i GroupByVariableArgs) ToGroupByVariableOutputWithContext(ctx context.Context) GroupByVariableOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GroupByVariableOutput)
}
-type FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput struct{ *pulumi.OutputState }
+// GroupByVariableArrayInput is an input type that accepts GroupByVariableArray and GroupByVariableArrayOutput values.
+// You can construct a concrete instance of `GroupByVariableArrayInput` via:
+//
+// GroupByVariableArray{ GroupByVariableArgs{...} }
+type GroupByVariableArrayInput interface {
+ pulumi.Input
-func (FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse)(nil)).Elem()
+ ToGroupByVariableArrayOutput() GroupByVariableArrayOutput
+ ToGroupByVariableArrayOutputWithContext(context.Context) GroupByVariableArrayOutput
}
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput {
- return o
+type GroupByVariableArray []GroupByVariableInput
+
+func (GroupByVariableArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GroupByVariable)(nil)).Elem()
}
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput) ToFirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput {
- return o
-}
-
-func (o FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse {
- return vs[0].([]FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse)[vs[1].(int)]
- }).(FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseOutput)
+func (i GroupByVariableArray) ToGroupByVariableArrayOutput() GroupByVariableArrayOutput {
+ return i.ToGroupByVariableArrayOutputWithContext(context.Background())
}
-// The operation for configuring intrusion detection.
-type FirewallPolicyIntrusionDetectionConfiguration struct {
- // List of rules for traffic to bypass.
- BypassTrafficSettings []FirewallPolicyIntrusionDetectionBypassTrafficSpecifications `pulumi:"bypassTrafficSettings"`
- // IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property
- PrivateRanges []string `pulumi:"privateRanges"`
- // List of specific signatures states.
- SignatureOverrides []FirewallPolicyIntrusionDetectionSignatureSpecification `pulumi:"signatureOverrides"`
+func (i GroupByVariableArray) ToGroupByVariableArrayOutputWithContext(ctx context.Context) GroupByVariableArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(GroupByVariableArrayOutput)
}
-// FirewallPolicyIntrusionDetectionConfigurationInput is an input type that accepts FirewallPolicyIntrusionDetectionConfigurationArgs and FirewallPolicyIntrusionDetectionConfigurationOutput values.
-// You can construct a concrete instance of `FirewallPolicyIntrusionDetectionConfigurationInput` via:
-//
-// FirewallPolicyIntrusionDetectionConfigurationArgs{...}
-type FirewallPolicyIntrusionDetectionConfigurationInput interface {
- pulumi.Input
+// Define user session group by clause variables.
+type GroupByVariableOutput struct{ *pulumi.OutputState }
- ToFirewallPolicyIntrusionDetectionConfigurationOutput() FirewallPolicyIntrusionDetectionConfigurationOutput
- ToFirewallPolicyIntrusionDetectionConfigurationOutputWithContext(context.Context) FirewallPolicyIntrusionDetectionConfigurationOutput
+func (GroupByVariableOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GroupByVariable)(nil)).Elem()
}
-// The operation for configuring intrusion detection.
-type FirewallPolicyIntrusionDetectionConfigurationArgs struct {
- // List of rules for traffic to bypass.
- BypassTrafficSettings FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayInput `pulumi:"bypassTrafficSettings"`
- // IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property
- PrivateRanges pulumi.StringArrayInput `pulumi:"privateRanges"`
- // List of specific signatures states.
- SignatureOverrides FirewallPolicyIntrusionDetectionSignatureSpecificationArrayInput `pulumi:"signatureOverrides"`
+func (o GroupByVariableOutput) ToGroupByVariableOutput() GroupByVariableOutput {
+ return o
}
-func (FirewallPolicyIntrusionDetectionConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyIntrusionDetectionConfiguration)(nil)).Elem()
+func (o GroupByVariableOutput) ToGroupByVariableOutputWithContext(ctx context.Context) GroupByVariableOutput {
+ return o
}
-func (i FirewallPolicyIntrusionDetectionConfigurationArgs) ToFirewallPolicyIntrusionDetectionConfigurationOutput() FirewallPolicyIntrusionDetectionConfigurationOutput {
- return i.ToFirewallPolicyIntrusionDetectionConfigurationOutputWithContext(context.Background())
+// User Session clause variable.
+func (o GroupByVariableOutput) VariableName() pulumi.StringOutput {
+ return o.ApplyT(func(v GroupByVariable) string { return v.VariableName }).(pulumi.StringOutput)
}
-func (i FirewallPolicyIntrusionDetectionConfigurationArgs) ToFirewallPolicyIntrusionDetectionConfigurationOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionConfigurationOutput)
+type GroupByVariableArrayOutput struct{ *pulumi.OutputState }
+
+func (GroupByVariableArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GroupByVariable)(nil)).Elem()
}
-func (i FirewallPolicyIntrusionDetectionConfigurationArgs) ToFirewallPolicyIntrusionDetectionConfigurationPtrOutput() FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
- return i.ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(context.Background())
+func (o GroupByVariableArrayOutput) ToGroupByVariableArrayOutput() GroupByVariableArrayOutput {
+ return o
}
-func (i FirewallPolicyIntrusionDetectionConfigurationArgs) ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionConfigurationOutput).ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(ctx)
+func (o GroupByVariableArrayOutput) ToGroupByVariableArrayOutputWithContext(ctx context.Context) GroupByVariableArrayOutput {
+ return o
}
-// FirewallPolicyIntrusionDetectionConfigurationPtrInput is an input type that accepts FirewallPolicyIntrusionDetectionConfigurationArgs, FirewallPolicyIntrusionDetectionConfigurationPtr and FirewallPolicyIntrusionDetectionConfigurationPtrOutput values.
-// You can construct a concrete instance of `FirewallPolicyIntrusionDetectionConfigurationPtrInput` via:
-//
-// FirewallPolicyIntrusionDetectionConfigurationArgs{...}
-//
-// or:
-//
-// nil
-type FirewallPolicyIntrusionDetectionConfigurationPtrInput interface {
- pulumi.Input
+func (o GroupByVariableArrayOutput) Index(i pulumi.IntInput) GroupByVariableOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupByVariable {
+ return vs[0].([]GroupByVariable)[vs[1].(int)]
+ }).(GroupByVariableOutput)
+}
- ToFirewallPolicyIntrusionDetectionConfigurationPtrOutput() FirewallPolicyIntrusionDetectionConfigurationPtrOutput
- ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(context.Context) FirewallPolicyIntrusionDetectionConfigurationPtrOutput
+// Define user session group by clause variables.
+type GroupByVariableResponse struct {
+ // User Session clause variable.
+ VariableName string `pulumi:"variableName"`
}
-type firewallPolicyIntrusionDetectionConfigurationPtrType FirewallPolicyIntrusionDetectionConfigurationArgs
+// Define user session group by clause variables.
+type GroupByVariableResponseOutput struct{ *pulumi.OutputState }
-func FirewallPolicyIntrusionDetectionConfigurationPtr(v *FirewallPolicyIntrusionDetectionConfigurationArgs) FirewallPolicyIntrusionDetectionConfigurationPtrInput {
- return (*firewallPolicyIntrusionDetectionConfigurationPtrType)(v)
+func (GroupByVariableResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GroupByVariableResponse)(nil)).Elem()
}
-func (*firewallPolicyIntrusionDetectionConfigurationPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyIntrusionDetectionConfiguration)(nil)).Elem()
+func (o GroupByVariableResponseOutput) ToGroupByVariableResponseOutput() GroupByVariableResponseOutput {
+ return o
}
-func (i *firewallPolicyIntrusionDetectionConfigurationPtrType) ToFirewallPolicyIntrusionDetectionConfigurationPtrOutput() FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
- return i.ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(context.Background())
+func (o GroupByVariableResponseOutput) ToGroupByVariableResponseOutputWithContext(ctx context.Context) GroupByVariableResponseOutput {
+ return o
}
-func (i *firewallPolicyIntrusionDetectionConfigurationPtrType) ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionConfigurationPtrOutput)
+// User Session clause variable.
+func (o GroupByVariableResponseOutput) VariableName() pulumi.StringOutput {
+ return o.ApplyT(func(v GroupByVariableResponse) string { return v.VariableName }).(pulumi.StringOutput)
}
-// The operation for configuring intrusion detection.
-type FirewallPolicyIntrusionDetectionConfigurationOutput struct{ *pulumi.OutputState }
+type GroupByVariableResponseArrayOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyIntrusionDetectionConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyIntrusionDetectionConfiguration)(nil)).Elem()
+func (GroupByVariableResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GroupByVariableResponse)(nil)).Elem()
}
-func (o FirewallPolicyIntrusionDetectionConfigurationOutput) ToFirewallPolicyIntrusionDetectionConfigurationOutput() FirewallPolicyIntrusionDetectionConfigurationOutput {
+func (o GroupByVariableResponseArrayOutput) ToGroupByVariableResponseArrayOutput() GroupByVariableResponseArrayOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionConfigurationOutput) ToFirewallPolicyIntrusionDetectionConfigurationOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionConfigurationOutput {
+func (o GroupByVariableResponseArrayOutput) ToGroupByVariableResponseArrayOutputWithContext(ctx context.Context) GroupByVariableResponseArrayOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionConfigurationOutput) ToFirewallPolicyIntrusionDetectionConfigurationPtrOutput() FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
- return o.ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(context.Background())
+func (o GroupByVariableResponseArrayOutput) Index(i pulumi.IntInput) GroupByVariableResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupByVariableResponse {
+ return vs[0].([]GroupByVariableResponse)[vs[1].(int)]
+ }).(GroupByVariableResponseOutput)
}
-func (o FirewallPolicyIntrusionDetectionConfigurationOutput) ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyIntrusionDetectionConfiguration) *FirewallPolicyIntrusionDetectionConfiguration {
- return &v
- }).(FirewallPolicyIntrusionDetectionConfigurationPtrOutput)
+// GroupMembers Item.
+type GroupMembersItemResponse struct {
+ // Resource Id.
+ ResourceId *string `pulumi:"resourceId"`
}
-// List of rules for traffic to bypass.
-func (o FirewallPolicyIntrusionDetectionConfigurationOutput) BypassTrafficSettings() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionConfiguration) []FirewallPolicyIntrusionDetectionBypassTrafficSpecifications {
- return v.BypassTrafficSettings
- }).(FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput)
+// GroupMembers Item.
+type GroupMembersItemResponseOutput struct{ *pulumi.OutputState }
+
+func (GroupMembersItemResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GroupMembersItemResponse)(nil)).Elem()
}
-// IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property
-func (o FirewallPolicyIntrusionDetectionConfigurationOutput) PrivateRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionConfiguration) []string { return v.PrivateRanges }).(pulumi.StringArrayOutput)
+func (o GroupMembersItemResponseOutput) ToGroupMembersItemResponseOutput() GroupMembersItemResponseOutput {
+ return o
}
-// List of specific signatures states.
-func (o FirewallPolicyIntrusionDetectionConfigurationOutput) SignatureOverrides() FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionConfiguration) []FirewallPolicyIntrusionDetectionSignatureSpecification {
- return v.SignatureOverrides
- }).(FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput)
+func (o GroupMembersItemResponseOutput) ToGroupMembersItemResponseOutputWithContext(ctx context.Context) GroupMembersItemResponseOutput {
+ return o
}
-type FirewallPolicyIntrusionDetectionConfigurationPtrOutput struct{ *pulumi.OutputState }
+// Resource Id.
+func (o GroupMembersItemResponseOutput) ResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v GroupMembersItemResponse) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
+}
-func (FirewallPolicyIntrusionDetectionConfigurationPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyIntrusionDetectionConfiguration)(nil)).Elem()
+type GroupMembersItemResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (GroupMembersItemResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]GroupMembersItemResponse)(nil)).Elem()
}
-func (o FirewallPolicyIntrusionDetectionConfigurationPtrOutput) ToFirewallPolicyIntrusionDetectionConfigurationPtrOutput() FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
+func (o GroupMembersItemResponseArrayOutput) ToGroupMembersItemResponseArrayOutput() GroupMembersItemResponseArrayOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionConfigurationPtrOutput) ToFirewallPolicyIntrusionDetectionConfigurationPtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionConfigurationPtrOutput {
+func (o GroupMembersItemResponseArrayOutput) ToGroupMembersItemResponseArrayOutputWithContext(ctx context.Context) GroupMembersItemResponseArrayOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionConfigurationPtrOutput) Elem() FirewallPolicyIntrusionDetectionConfigurationOutput {
- return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionConfiguration) FirewallPolicyIntrusionDetectionConfiguration {
- if v != nil {
- return *v
- }
- var ret FirewallPolicyIntrusionDetectionConfiguration
- return ret
- }).(FirewallPolicyIntrusionDetectionConfigurationOutput)
+func (o GroupMembersItemResponseArrayOutput) Index(i pulumi.IntInput) GroupMembersItemResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupMembersItemResponse {
+ return vs[0].([]GroupMembersItemResponse)[vs[1].(int)]
+ }).(GroupMembersItemResponseOutput)
}
-// List of rules for traffic to bypass.
-func (o FirewallPolicyIntrusionDetectionConfigurationPtrOutput) BypassTrafficSettings() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput {
- return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionConfiguration) []FirewallPolicyIntrusionDetectionBypassTrafficSpecifications {
- if v == nil {
- return nil
- }
- return v.BypassTrafficSettings
- }).(FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsArrayOutput)
+// The HTTP header.
+type HTTPHeader struct {
+ // The name in HTTP header.
+ Name *string `pulumi:"name"`
+ // The value in HTTP header.
+ Value *string `pulumi:"value"`
}
-// IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property
-func (o FirewallPolicyIntrusionDetectionConfigurationPtrOutput) PrivateRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionConfiguration) []string {
- if v == nil {
- return nil
- }
- return v.PrivateRanges
- }).(pulumi.StringArrayOutput)
-}
+// HTTPHeaderInput is an input type that accepts HTTPHeaderArgs and HTTPHeaderOutput values.
+// You can construct a concrete instance of `HTTPHeaderInput` via:
+//
+// HTTPHeaderArgs{...}
+type HTTPHeaderInput interface {
+ pulumi.Input
-// List of specific signatures states.
-func (o FirewallPolicyIntrusionDetectionConfigurationPtrOutput) SignatureOverrides() FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput {
- return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionConfiguration) []FirewallPolicyIntrusionDetectionSignatureSpecification {
- if v == nil {
- return nil
- }
- return v.SignatureOverrides
- }).(FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput)
+ ToHTTPHeaderOutput() HTTPHeaderOutput
+ ToHTTPHeaderOutputWithContext(context.Context) HTTPHeaderOutput
}
-// The operation for configuring intrusion detection.
-type FirewallPolicyIntrusionDetectionConfigurationResponse struct {
- // List of rules for traffic to bypass.
- BypassTrafficSettings []FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse `pulumi:"bypassTrafficSettings"`
- // IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property
- PrivateRanges []string `pulumi:"privateRanges"`
- // List of specific signatures states.
- SignatureOverrides []FirewallPolicyIntrusionDetectionSignatureSpecificationResponse `pulumi:"signatureOverrides"`
+// The HTTP header.
+type HTTPHeaderArgs struct {
+ // The name in HTTP header.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The value in HTTP header.
+ Value pulumi.StringPtrInput `pulumi:"value"`
}
-// The operation for configuring intrusion detection.
-type FirewallPolicyIntrusionDetectionConfigurationResponseOutput struct{ *pulumi.OutputState }
+func (HTTPHeaderArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*HTTPHeader)(nil)).Elem()
+}
-func (FirewallPolicyIntrusionDetectionConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyIntrusionDetectionConfigurationResponse)(nil)).Elem()
+func (i HTTPHeaderArgs) ToHTTPHeaderOutput() HTTPHeaderOutput {
+ return i.ToHTTPHeaderOutputWithContext(context.Background())
}
-func (o FirewallPolicyIntrusionDetectionConfigurationResponseOutput) ToFirewallPolicyIntrusionDetectionConfigurationResponseOutput() FirewallPolicyIntrusionDetectionConfigurationResponseOutput {
- return o
+func (i HTTPHeaderArgs) ToHTTPHeaderOutputWithContext(ctx context.Context) HTTPHeaderOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(HTTPHeaderOutput)
}
-func (o FirewallPolicyIntrusionDetectionConfigurationResponseOutput) ToFirewallPolicyIntrusionDetectionConfigurationResponseOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionConfigurationResponseOutput {
- return o
+// HTTPHeaderArrayInput is an input type that accepts HTTPHeaderArray and HTTPHeaderArrayOutput values.
+// You can construct a concrete instance of `HTTPHeaderArrayInput` via:
+//
+// HTTPHeaderArray{ HTTPHeaderArgs{...} }
+type HTTPHeaderArrayInput interface {
+ pulumi.Input
+
+ ToHTTPHeaderArrayOutput() HTTPHeaderArrayOutput
+ ToHTTPHeaderArrayOutputWithContext(context.Context) HTTPHeaderArrayOutput
}
-// List of rules for traffic to bypass.
-func (o FirewallPolicyIntrusionDetectionConfigurationResponseOutput) BypassTrafficSettings() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionConfigurationResponse) []FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse {
- return v.BypassTrafficSettings
- }).(FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput)
+type HTTPHeaderArray []HTTPHeaderInput
+
+func (HTTPHeaderArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]HTTPHeader)(nil)).Elem()
}
-// IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property
-func (o FirewallPolicyIntrusionDetectionConfigurationResponseOutput) PrivateRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionConfigurationResponse) []string { return v.PrivateRanges }).(pulumi.StringArrayOutput)
+func (i HTTPHeaderArray) ToHTTPHeaderArrayOutput() HTTPHeaderArrayOutput {
+ return i.ToHTTPHeaderArrayOutputWithContext(context.Background())
}
-// List of specific signatures states.
-func (o FirewallPolicyIntrusionDetectionConfigurationResponseOutput) SignatureOverrides() FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionConfigurationResponse) []FirewallPolicyIntrusionDetectionSignatureSpecificationResponse {
- return v.SignatureOverrides
- }).(FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput)
+func (i HTTPHeaderArray) ToHTTPHeaderArrayOutputWithContext(ctx context.Context) HTTPHeaderArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(HTTPHeaderArrayOutput)
}
-type FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
+// The HTTP header.
+type HTTPHeaderOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyIntrusionDetectionConfigurationResponse)(nil)).Elem()
+func (HTTPHeaderOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*HTTPHeader)(nil)).Elem()
}
-func (o FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput) ToFirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput() FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput {
+func (o HTTPHeaderOutput) ToHTTPHeaderOutput() HTTPHeaderOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput) ToFirewallPolicyIntrusionDetectionConfigurationResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput {
+func (o HTTPHeaderOutput) ToHTTPHeaderOutputWithContext(ctx context.Context) HTTPHeaderOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput) Elem() FirewallPolicyIntrusionDetectionConfigurationResponseOutput {
- return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionConfigurationResponse) FirewallPolicyIntrusionDetectionConfigurationResponse {
- if v != nil {
- return *v
- }
- var ret FirewallPolicyIntrusionDetectionConfigurationResponse
- return ret
- }).(FirewallPolicyIntrusionDetectionConfigurationResponseOutput)
+// The name in HTTP header.
+func (o HTTPHeaderOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v HTTPHeader) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// List of rules for traffic to bypass.
-func (o FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput) BypassTrafficSettings() FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput {
- return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionConfigurationResponse) []FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponse {
- if v == nil {
- return nil
- }
- return v.BypassTrafficSettings
- }).(FirewallPolicyIntrusionDetectionBypassTrafficSpecificationsResponseArrayOutput)
+// The value in HTTP header.
+func (o HTTPHeaderOutput) Value() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v HTTPHeader) *string { return v.Value }).(pulumi.StringPtrOutput)
}
-// IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property
-func (o FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput) PrivateRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionConfigurationResponse) []string {
- if v == nil {
- return nil
- }
- return v.PrivateRanges
- }).(pulumi.StringArrayOutput)
+type HTTPHeaderArrayOutput struct{ *pulumi.OutputState }
+
+func (HTTPHeaderArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]HTTPHeader)(nil)).Elem()
}
-// List of specific signatures states.
-func (o FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput) SignatureOverrides() FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput {
- return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionConfigurationResponse) []FirewallPolicyIntrusionDetectionSignatureSpecificationResponse {
- if v == nil {
- return nil
- }
- return v.SignatureOverrides
- }).(FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput)
+func (o HTTPHeaderArrayOutput) ToHTTPHeaderArrayOutput() HTTPHeaderArrayOutput {
+ return o
}
-// Configuration for intrusion detection mode and rules.
-type FirewallPolicyIntrusionDetectionResponse struct {
- // Intrusion detection configuration properties.
- Configuration *FirewallPolicyIntrusionDetectionConfigurationResponse `pulumi:"configuration"`
- // Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
- Mode *string `pulumi:"mode"`
- // IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
- Profile *string `pulumi:"profile"`
+func (o HTTPHeaderArrayOutput) ToHTTPHeaderArrayOutputWithContext(ctx context.Context) HTTPHeaderArrayOutput {
+ return o
}
-// Configuration for intrusion detection mode and rules.
-type FirewallPolicyIntrusionDetectionResponseOutput struct{ *pulumi.OutputState }
+func (o HTTPHeaderArrayOutput) Index(i pulumi.IntInput) HTTPHeaderOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) HTTPHeader {
+ return vs[0].([]HTTPHeader)[vs[1].(int)]
+ }).(HTTPHeaderOutput)
+}
-func (FirewallPolicyIntrusionDetectionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyIntrusionDetectionResponse)(nil)).Elem()
+// The HTTP header.
+type HTTPHeaderResponse struct {
+ // The name in HTTP header.
+ Name *string `pulumi:"name"`
+ // The value in HTTP header.
+ Value *string `pulumi:"value"`
}
-func (o FirewallPolicyIntrusionDetectionResponseOutput) ToFirewallPolicyIntrusionDetectionResponseOutput() FirewallPolicyIntrusionDetectionResponseOutput {
- return o
+// The HTTP header.
+type HTTPHeaderResponseOutput struct{ *pulumi.OutputState }
+
+func (HTTPHeaderResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*HTTPHeaderResponse)(nil)).Elem()
}
-func (o FirewallPolicyIntrusionDetectionResponseOutput) ToFirewallPolicyIntrusionDetectionResponseOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionResponseOutput {
+func (o HTTPHeaderResponseOutput) ToHTTPHeaderResponseOutput() HTTPHeaderResponseOutput {
return o
}
-// Intrusion detection configuration properties.
-func (o FirewallPolicyIntrusionDetectionResponseOutput) Configuration() FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionResponse) *FirewallPolicyIntrusionDetectionConfigurationResponse {
- return v.Configuration
- }).(FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput)
+func (o HTTPHeaderResponseOutput) ToHTTPHeaderResponseOutputWithContext(ctx context.Context) HTTPHeaderResponseOutput {
+ return o
}
-// Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
-func (o FirewallPolicyIntrusionDetectionResponseOutput) Mode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionResponse) *string { return v.Mode }).(pulumi.StringPtrOutput)
+// The name in HTTP header.
+func (o HTTPHeaderResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v HTTPHeaderResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
-func (o FirewallPolicyIntrusionDetectionResponseOutput) Profile() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionResponse) *string { return v.Profile }).(pulumi.StringPtrOutput)
+// The value in HTTP header.
+func (o HTTPHeaderResponseOutput) Value() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v HTTPHeaderResponse) *string { return v.Value }).(pulumi.StringPtrOutput)
}
-type FirewallPolicyIntrusionDetectionResponsePtrOutput struct{ *pulumi.OutputState }
+type HTTPHeaderResponseArrayOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyIntrusionDetectionResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyIntrusionDetectionResponse)(nil)).Elem()
+func (HTTPHeaderResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]HTTPHeaderResponse)(nil)).Elem()
}
-func (o FirewallPolicyIntrusionDetectionResponsePtrOutput) ToFirewallPolicyIntrusionDetectionResponsePtrOutput() FirewallPolicyIntrusionDetectionResponsePtrOutput {
+func (o HTTPHeaderResponseArrayOutput) ToHTTPHeaderResponseArrayOutput() HTTPHeaderResponseArrayOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionResponsePtrOutput) ToFirewallPolicyIntrusionDetectionResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionResponsePtrOutput {
+func (o HTTPHeaderResponseArrayOutput) ToHTTPHeaderResponseArrayOutputWithContext(ctx context.Context) HTTPHeaderResponseArrayOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionResponsePtrOutput) Elem() FirewallPolicyIntrusionDetectionResponseOutput {
- return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionResponse) FirewallPolicyIntrusionDetectionResponse {
- if v != nil {
- return *v
- }
- var ret FirewallPolicyIntrusionDetectionResponse
- return ret
- }).(FirewallPolicyIntrusionDetectionResponseOutput)
+func (o HTTPHeaderResponseArrayOutput) Index(i pulumi.IntInput) HTTPHeaderResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) HTTPHeaderResponse {
+ return vs[0].([]HTTPHeaderResponse)[vs[1].(int)]
+ }).(HTTPHeaderResponseOutput)
}
-// Intrusion detection configuration properties.
-func (o FirewallPolicyIntrusionDetectionResponsePtrOutput) Configuration() FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput {
- return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionResponse) *FirewallPolicyIntrusionDetectionConfigurationResponse {
- if v == nil {
- return nil
- }
- return v.Configuration
- }).(FirewallPolicyIntrusionDetectionConfigurationResponsePtrOutput)
+// An optional field under "Rewrite Action". It lets you capture and modify the value(s) of a specific header when multiple headers with the same name exist. Currently supported for Set-Cookie Response header only. For more details, visit https://aka.ms/appgwheadercrud
+type HeaderValueMatcher struct {
+ // Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
+ IgnoreCase *bool `pulumi:"ignoreCase"`
+ // Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.
+ Negate *bool `pulumi:"negate"`
+ // The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.
+ Pattern *string `pulumi:"pattern"`
}
-// Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
-func (o FirewallPolicyIntrusionDetectionResponsePtrOutput) Mode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionResponse) *string {
- if v == nil {
- return nil
- }
- return v.Mode
- }).(pulumi.StringPtrOutput)
-}
+// HeaderValueMatcherInput is an input type that accepts HeaderValueMatcherArgs and HeaderValueMatcherOutput values.
+// You can construct a concrete instance of `HeaderValueMatcherInput` via:
+//
+// HeaderValueMatcherArgs{...}
+type HeaderValueMatcherInput interface {
+ pulumi.Input
-// IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
-func (o FirewallPolicyIntrusionDetectionResponsePtrOutput) Profile() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyIntrusionDetectionResponse) *string {
- if v == nil {
- return nil
- }
- return v.Profile
- }).(pulumi.StringPtrOutput)
+ ToHeaderValueMatcherOutput() HeaderValueMatcherOutput
+ ToHeaderValueMatcherOutputWithContext(context.Context) HeaderValueMatcherOutput
}
-// Intrusion detection signatures specification states.
-type FirewallPolicyIntrusionDetectionSignatureSpecification struct {
- // Signature id.
- Id *string `pulumi:"id"`
- // The signature state.
- Mode *string `pulumi:"mode"`
+// An optional field under "Rewrite Action". It lets you capture and modify the value(s) of a specific header when multiple headers with the same name exist. Currently supported for Set-Cookie Response header only. For more details, visit https://aka.ms/appgwheadercrud
+type HeaderValueMatcherArgs struct {
+ // Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
+ IgnoreCase pulumi.BoolPtrInput `pulumi:"ignoreCase"`
+ // Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.
+ Negate pulumi.BoolPtrInput `pulumi:"negate"`
+ // The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.
+ Pattern pulumi.StringPtrInput `pulumi:"pattern"`
}
-// FirewallPolicyIntrusionDetectionSignatureSpecificationInput is an input type that accepts FirewallPolicyIntrusionDetectionSignatureSpecificationArgs and FirewallPolicyIntrusionDetectionSignatureSpecificationOutput values.
-// You can construct a concrete instance of `FirewallPolicyIntrusionDetectionSignatureSpecificationInput` via:
-//
-// FirewallPolicyIntrusionDetectionSignatureSpecificationArgs{...}
-type FirewallPolicyIntrusionDetectionSignatureSpecificationInput interface {
- pulumi.Input
-
- ToFirewallPolicyIntrusionDetectionSignatureSpecificationOutput() FirewallPolicyIntrusionDetectionSignatureSpecificationOutput
- ToFirewallPolicyIntrusionDetectionSignatureSpecificationOutputWithContext(context.Context) FirewallPolicyIntrusionDetectionSignatureSpecificationOutput
+func (HeaderValueMatcherArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*HeaderValueMatcher)(nil)).Elem()
}
-// Intrusion detection signatures specification states.
-type FirewallPolicyIntrusionDetectionSignatureSpecificationArgs struct {
- // Signature id.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The signature state.
- Mode pulumi.StringPtrInput `pulumi:"mode"`
+func (i HeaderValueMatcherArgs) ToHeaderValueMatcherOutput() HeaderValueMatcherOutput {
+ return i.ToHeaderValueMatcherOutputWithContext(context.Background())
}
-func (FirewallPolicyIntrusionDetectionSignatureSpecificationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyIntrusionDetectionSignatureSpecification)(nil)).Elem()
+func (i HeaderValueMatcherArgs) ToHeaderValueMatcherOutputWithContext(ctx context.Context) HeaderValueMatcherOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(HeaderValueMatcherOutput)
}
-func (i FirewallPolicyIntrusionDetectionSignatureSpecificationArgs) ToFirewallPolicyIntrusionDetectionSignatureSpecificationOutput() FirewallPolicyIntrusionDetectionSignatureSpecificationOutput {
- return i.ToFirewallPolicyIntrusionDetectionSignatureSpecificationOutputWithContext(context.Background())
+func (i HeaderValueMatcherArgs) ToHeaderValueMatcherPtrOutput() HeaderValueMatcherPtrOutput {
+ return i.ToHeaderValueMatcherPtrOutputWithContext(context.Background())
}
-func (i FirewallPolicyIntrusionDetectionSignatureSpecificationArgs) ToFirewallPolicyIntrusionDetectionSignatureSpecificationOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionSignatureSpecificationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionSignatureSpecificationOutput)
+func (i HeaderValueMatcherArgs) ToHeaderValueMatcherPtrOutputWithContext(ctx context.Context) HeaderValueMatcherPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(HeaderValueMatcherOutput).ToHeaderValueMatcherPtrOutputWithContext(ctx)
}
-// FirewallPolicyIntrusionDetectionSignatureSpecificationArrayInput is an input type that accepts FirewallPolicyIntrusionDetectionSignatureSpecificationArray and FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput values.
-// You can construct a concrete instance of `FirewallPolicyIntrusionDetectionSignatureSpecificationArrayInput` via:
+// HeaderValueMatcherPtrInput is an input type that accepts HeaderValueMatcherArgs, HeaderValueMatcherPtr and HeaderValueMatcherPtrOutput values.
+// You can construct a concrete instance of `HeaderValueMatcherPtrInput` via:
//
-// FirewallPolicyIntrusionDetectionSignatureSpecificationArray{ FirewallPolicyIntrusionDetectionSignatureSpecificationArgs{...} }
-type FirewallPolicyIntrusionDetectionSignatureSpecificationArrayInput interface {
+// HeaderValueMatcherArgs{...}
+//
+// or:
+//
+// nil
+type HeaderValueMatcherPtrInput interface {
pulumi.Input
- ToFirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput() FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput
- ToFirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutputWithContext(context.Context) FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput
+ ToHeaderValueMatcherPtrOutput() HeaderValueMatcherPtrOutput
+ ToHeaderValueMatcherPtrOutputWithContext(context.Context) HeaderValueMatcherPtrOutput
}
-type FirewallPolicyIntrusionDetectionSignatureSpecificationArray []FirewallPolicyIntrusionDetectionSignatureSpecificationInput
+type headerValueMatcherPtrType HeaderValueMatcherArgs
-func (FirewallPolicyIntrusionDetectionSignatureSpecificationArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyIntrusionDetectionSignatureSpecification)(nil)).Elem()
+func HeaderValueMatcherPtr(v *HeaderValueMatcherArgs) HeaderValueMatcherPtrInput {
+ return (*headerValueMatcherPtrType)(v)
}
-func (i FirewallPolicyIntrusionDetectionSignatureSpecificationArray) ToFirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput() FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput {
- return i.ToFirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutputWithContext(context.Background())
+func (*headerValueMatcherPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**HeaderValueMatcher)(nil)).Elem()
}
-func (i FirewallPolicyIntrusionDetectionSignatureSpecificationArray) ToFirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput)
+func (i *headerValueMatcherPtrType) ToHeaderValueMatcherPtrOutput() HeaderValueMatcherPtrOutput {
+ return i.ToHeaderValueMatcherPtrOutputWithContext(context.Background())
}
-// Intrusion detection signatures specification states.
-type FirewallPolicyIntrusionDetectionSignatureSpecificationOutput struct{ *pulumi.OutputState }
+func (i *headerValueMatcherPtrType) ToHeaderValueMatcherPtrOutputWithContext(ctx context.Context) HeaderValueMatcherPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(HeaderValueMatcherPtrOutput)
+}
-func (FirewallPolicyIntrusionDetectionSignatureSpecificationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyIntrusionDetectionSignatureSpecification)(nil)).Elem()
+// An optional field under "Rewrite Action". It lets you capture and modify the value(s) of a specific header when multiple headers with the same name exist. Currently supported for Set-Cookie Response header only. For more details, visit https://aka.ms/appgwheadercrud
+type HeaderValueMatcherOutput struct{ *pulumi.OutputState }
+
+func (HeaderValueMatcherOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*HeaderValueMatcher)(nil)).Elem()
}
-func (o FirewallPolicyIntrusionDetectionSignatureSpecificationOutput) ToFirewallPolicyIntrusionDetectionSignatureSpecificationOutput() FirewallPolicyIntrusionDetectionSignatureSpecificationOutput {
+func (o HeaderValueMatcherOutput) ToHeaderValueMatcherOutput() HeaderValueMatcherOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionSignatureSpecificationOutput) ToFirewallPolicyIntrusionDetectionSignatureSpecificationOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionSignatureSpecificationOutput {
+func (o HeaderValueMatcherOutput) ToHeaderValueMatcherOutputWithContext(ctx context.Context) HeaderValueMatcherOutput {
return o
}
-// Signature id.
-func (o FirewallPolicyIntrusionDetectionSignatureSpecificationOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionSignatureSpecification) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o HeaderValueMatcherOutput) ToHeaderValueMatcherPtrOutput() HeaderValueMatcherPtrOutput {
+ return o.ToHeaderValueMatcherPtrOutputWithContext(context.Background())
}
-// The signature state.
-func (o FirewallPolicyIntrusionDetectionSignatureSpecificationOutput) Mode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionSignatureSpecification) *string { return v.Mode }).(pulumi.StringPtrOutput)
+func (o HeaderValueMatcherOutput) ToHeaderValueMatcherPtrOutputWithContext(ctx context.Context) HeaderValueMatcherPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v HeaderValueMatcher) *HeaderValueMatcher {
+ return &v
+ }).(HeaderValueMatcherPtrOutput)
}
-type FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput struct{ *pulumi.OutputState }
+// Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
+func (o HeaderValueMatcherOutput) IgnoreCase() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v HeaderValueMatcher) *bool { return v.IgnoreCase }).(pulumi.BoolPtrOutput)
+}
-func (FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyIntrusionDetectionSignatureSpecification)(nil)).Elem()
+// Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.
+func (o HeaderValueMatcherOutput) Negate() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v HeaderValueMatcher) *bool { return v.Negate }).(pulumi.BoolPtrOutput)
}
-func (o FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput) ToFirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput() FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput {
+// The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.
+func (o HeaderValueMatcherOutput) Pattern() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v HeaderValueMatcher) *string { return v.Pattern }).(pulumi.StringPtrOutput)
+}
+
+type HeaderValueMatcherPtrOutput struct{ *pulumi.OutputState }
+
+func (HeaderValueMatcherPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**HeaderValueMatcher)(nil)).Elem()
+}
+
+func (o HeaderValueMatcherPtrOutput) ToHeaderValueMatcherPtrOutput() HeaderValueMatcherPtrOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput) ToFirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput {
+func (o HeaderValueMatcherPtrOutput) ToHeaderValueMatcherPtrOutputWithContext(ctx context.Context) HeaderValueMatcherPtrOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionSignatureSpecificationArrayOutput) Index(i pulumi.IntInput) FirewallPolicyIntrusionDetectionSignatureSpecificationOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyIntrusionDetectionSignatureSpecification {
- return vs[0].([]FirewallPolicyIntrusionDetectionSignatureSpecification)[vs[1].(int)]
- }).(FirewallPolicyIntrusionDetectionSignatureSpecificationOutput)
+func (o HeaderValueMatcherPtrOutput) Elem() HeaderValueMatcherOutput {
+ return o.ApplyT(func(v *HeaderValueMatcher) HeaderValueMatcher {
+ if v != nil {
+ return *v
+ }
+ var ret HeaderValueMatcher
+ return ret
+ }).(HeaderValueMatcherOutput)
}
-// Intrusion detection signatures specification states.
-type FirewallPolicyIntrusionDetectionSignatureSpecificationResponse struct {
- // Signature id.
- Id *string `pulumi:"id"`
- // The signature state.
- Mode *string `pulumi:"mode"`
+// Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
+func (o HeaderValueMatcherPtrOutput) IgnoreCase() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *HeaderValueMatcher) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.IgnoreCase
+ }).(pulumi.BoolPtrOutput)
}
-// Intrusion detection signatures specification states.
-type FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput struct{ *pulumi.OutputState }
+// Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.
+func (o HeaderValueMatcherPtrOutput) Negate() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *HeaderValueMatcher) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.Negate
+ }).(pulumi.BoolPtrOutput)
+}
-func (FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyIntrusionDetectionSignatureSpecificationResponse)(nil)).Elem()
+// The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.
+func (o HeaderValueMatcherPtrOutput) Pattern() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *HeaderValueMatcher) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Pattern
+ }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput) ToFirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput() FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput {
+// An optional field under "Rewrite Action". It lets you capture and modify the value(s) of a specific header when multiple headers with the same name exist. Currently supported for Set-Cookie Response header only. For more details, visit https://aka.ms/appgwheadercrud
+type HeaderValueMatcherResponse struct {
+ // Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
+ IgnoreCase *bool `pulumi:"ignoreCase"`
+ // Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.
+ Negate *bool `pulumi:"negate"`
+ // The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.
+ Pattern *string `pulumi:"pattern"`
+}
+
+// An optional field under "Rewrite Action". It lets you capture and modify the value(s) of a specific header when multiple headers with the same name exist. Currently supported for Set-Cookie Response header only. For more details, visit https://aka.ms/appgwheadercrud
+type HeaderValueMatcherResponseOutput struct{ *pulumi.OutputState }
+
+func (HeaderValueMatcherResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*HeaderValueMatcherResponse)(nil)).Elem()
+}
+
+func (o HeaderValueMatcherResponseOutput) ToHeaderValueMatcherResponseOutput() HeaderValueMatcherResponseOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput) ToFirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput {
+func (o HeaderValueMatcherResponseOutput) ToHeaderValueMatcherResponseOutputWithContext(ctx context.Context) HeaderValueMatcherResponseOutput {
return o
}
-// Signature id.
-func (o FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionSignatureSpecificationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
+func (o HeaderValueMatcherResponseOutput) IgnoreCase() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v HeaderValueMatcherResponse) *bool { return v.IgnoreCase }).(pulumi.BoolPtrOutput)
}
-// The signature state.
-func (o FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput) Mode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyIntrusionDetectionSignatureSpecificationResponse) *string { return v.Mode }).(pulumi.StringPtrOutput)
+// Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.
+func (o HeaderValueMatcherResponseOutput) Negate() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v HeaderValueMatcherResponse) *bool { return v.Negate }).(pulumi.BoolPtrOutput)
}
-type FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput struct{ *pulumi.OutputState }
+// The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.
+func (o HeaderValueMatcherResponseOutput) Pattern() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v HeaderValueMatcherResponse) *string { return v.Pattern }).(pulumi.StringPtrOutput)
+}
-func (FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyIntrusionDetectionSignatureSpecificationResponse)(nil)).Elem()
+type HeaderValueMatcherResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (HeaderValueMatcherResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**HeaderValueMatcherResponse)(nil)).Elem()
}
-func (o FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput) ToFirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput() FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput {
+func (o HeaderValueMatcherResponsePtrOutput) ToHeaderValueMatcherResponsePtrOutput() HeaderValueMatcherResponsePtrOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput) ToFirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutputWithContext(ctx context.Context) FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput {
+func (o HeaderValueMatcherResponsePtrOutput) ToHeaderValueMatcherResponsePtrOutputWithContext(ctx context.Context) HeaderValueMatcherResponsePtrOutput {
return o
}
-func (o FirewallPolicyIntrusionDetectionSignatureSpecificationResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyIntrusionDetectionSignatureSpecificationResponse {
- return vs[0].([]FirewallPolicyIntrusionDetectionSignatureSpecificationResponse)[vs[1].(int)]
- }).(FirewallPolicyIntrusionDetectionSignatureSpecificationResponseOutput)
+func (o HeaderValueMatcherResponsePtrOutput) Elem() HeaderValueMatcherResponseOutput {
+ return o.ApplyT(func(v *HeaderValueMatcherResponse) HeaderValueMatcherResponse {
+ if v != nil {
+ return *v
+ }
+ var ret HeaderValueMatcherResponse
+ return ret
+ }).(HeaderValueMatcherResponseOutput)
}
-// Log Analytics Resources for Firewall Policy Insights.
-type FirewallPolicyLogAnalyticsResources struct {
- // The default workspace Id for Firewall Policy Insights.
- DefaultWorkspaceId *SubResource `pulumi:"defaultWorkspaceId"`
- // List of workspaces for Firewall Policy Insights.
- Workspaces []FirewallPolicyLogAnalyticsWorkspace `pulumi:"workspaces"`
+// Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
+func (o HeaderValueMatcherResponsePtrOutput) IgnoreCase() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *HeaderValueMatcherResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.IgnoreCase
+ }).(pulumi.BoolPtrOutput)
}
-// FirewallPolicyLogAnalyticsResourcesInput is an input type that accepts FirewallPolicyLogAnalyticsResourcesArgs and FirewallPolicyLogAnalyticsResourcesOutput values.
-// You can construct a concrete instance of `FirewallPolicyLogAnalyticsResourcesInput` via:
-//
-// FirewallPolicyLogAnalyticsResourcesArgs{...}
-type FirewallPolicyLogAnalyticsResourcesInput interface {
- pulumi.Input
+// Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.
+func (o HeaderValueMatcherResponsePtrOutput) Negate() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *HeaderValueMatcherResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.Negate
+ }).(pulumi.BoolPtrOutput)
+}
- ToFirewallPolicyLogAnalyticsResourcesOutput() FirewallPolicyLogAnalyticsResourcesOutput
- ToFirewallPolicyLogAnalyticsResourcesOutputWithContext(context.Context) FirewallPolicyLogAnalyticsResourcesOutput
+// The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.
+func (o HeaderValueMatcherResponsePtrOutput) Pattern() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *HeaderValueMatcherResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Pattern
+ }).(pulumi.StringPtrOutput)
}
-// Log Analytics Resources for Firewall Policy Insights.
-type FirewallPolicyLogAnalyticsResourcesArgs struct {
- // The default workspace Id for Firewall Policy Insights.
- DefaultWorkspaceId SubResourcePtrInput `pulumi:"defaultWorkspaceId"`
- // List of workspaces for Firewall Policy Insights.
- Workspaces FirewallPolicyLogAnalyticsWorkspaceArrayInput `pulumi:"workspaces"`
+// Hub Item.
+type Hub struct {
+ // Resource Id.
+ ResourceId *string `pulumi:"resourceId"`
+ // Resource Type.
+ ResourceType *string `pulumi:"resourceType"`
}
-func (FirewallPolicyLogAnalyticsResourcesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyLogAnalyticsResources)(nil)).Elem()
+// HubInput is an input type that accepts HubArgs and HubOutput values.
+// You can construct a concrete instance of `HubInput` via:
+//
+// HubArgs{...}
+type HubInput interface {
+ pulumi.Input
+
+ ToHubOutput() HubOutput
+ ToHubOutputWithContext(context.Context) HubOutput
}
-func (i FirewallPolicyLogAnalyticsResourcesArgs) ToFirewallPolicyLogAnalyticsResourcesOutput() FirewallPolicyLogAnalyticsResourcesOutput {
- return i.ToFirewallPolicyLogAnalyticsResourcesOutputWithContext(context.Background())
+// Hub Item.
+type HubArgs struct {
+ // Resource Id.
+ ResourceId pulumi.StringPtrInput `pulumi:"resourceId"`
+ // Resource Type.
+ ResourceType pulumi.StringPtrInput `pulumi:"resourceType"`
}
-func (i FirewallPolicyLogAnalyticsResourcesArgs) ToFirewallPolicyLogAnalyticsResourcesOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsResourcesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyLogAnalyticsResourcesOutput)
+func (HubArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*Hub)(nil)).Elem()
}
-func (i FirewallPolicyLogAnalyticsResourcesArgs) ToFirewallPolicyLogAnalyticsResourcesPtrOutput() FirewallPolicyLogAnalyticsResourcesPtrOutput {
- return i.ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(context.Background())
+func (i HubArgs) ToHubOutput() HubOutput {
+ return i.ToHubOutputWithContext(context.Background())
}
-func (i FirewallPolicyLogAnalyticsResourcesArgs) ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsResourcesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyLogAnalyticsResourcesOutput).ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(ctx)
+func (i HubArgs) ToHubOutputWithContext(ctx context.Context) HubOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(HubOutput)
}
-// FirewallPolicyLogAnalyticsResourcesPtrInput is an input type that accepts FirewallPolicyLogAnalyticsResourcesArgs, FirewallPolicyLogAnalyticsResourcesPtr and FirewallPolicyLogAnalyticsResourcesPtrOutput values.
-// You can construct a concrete instance of `FirewallPolicyLogAnalyticsResourcesPtrInput` via:
-//
-// FirewallPolicyLogAnalyticsResourcesArgs{...}
-//
-// or:
+// HubArrayInput is an input type that accepts HubArray and HubArrayOutput values.
+// You can construct a concrete instance of `HubArrayInput` via:
//
-// nil
-type FirewallPolicyLogAnalyticsResourcesPtrInput interface {
+// HubArray{ HubArgs{...} }
+type HubArrayInput interface {
pulumi.Input
- ToFirewallPolicyLogAnalyticsResourcesPtrOutput() FirewallPolicyLogAnalyticsResourcesPtrOutput
- ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(context.Context) FirewallPolicyLogAnalyticsResourcesPtrOutput
+ ToHubArrayOutput() HubArrayOutput
+ ToHubArrayOutputWithContext(context.Context) HubArrayOutput
}
-type firewallPolicyLogAnalyticsResourcesPtrType FirewallPolicyLogAnalyticsResourcesArgs
+type HubArray []HubInput
-func FirewallPolicyLogAnalyticsResourcesPtr(v *FirewallPolicyLogAnalyticsResourcesArgs) FirewallPolicyLogAnalyticsResourcesPtrInput {
- return (*firewallPolicyLogAnalyticsResourcesPtrType)(v)
+func (HubArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]Hub)(nil)).Elem()
}
-func (*firewallPolicyLogAnalyticsResourcesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyLogAnalyticsResources)(nil)).Elem()
+func (i HubArray) ToHubArrayOutput() HubArrayOutput {
+ return i.ToHubArrayOutputWithContext(context.Background())
}
-func (i *firewallPolicyLogAnalyticsResourcesPtrType) ToFirewallPolicyLogAnalyticsResourcesPtrOutput() FirewallPolicyLogAnalyticsResourcesPtrOutput {
- return i.ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(context.Background())
+func (i HubArray) ToHubArrayOutputWithContext(ctx context.Context) HubArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(HubArrayOutput)
}
-func (i *firewallPolicyLogAnalyticsResourcesPtrType) ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsResourcesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyLogAnalyticsResourcesPtrOutput)
+// Hub Item.
+type HubOutput struct{ *pulumi.OutputState }
+
+func (HubOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*Hub)(nil)).Elem()
}
-// Log Analytics Resources for Firewall Policy Insights.
-type FirewallPolicyLogAnalyticsResourcesOutput struct{ *pulumi.OutputState }
+func (o HubOutput) ToHubOutput() HubOutput {
+ return o
+}
-func (FirewallPolicyLogAnalyticsResourcesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyLogAnalyticsResources)(nil)).Elem()
+func (o HubOutput) ToHubOutputWithContext(ctx context.Context) HubOutput {
+ return o
}
-func (o FirewallPolicyLogAnalyticsResourcesOutput) ToFirewallPolicyLogAnalyticsResourcesOutput() FirewallPolicyLogAnalyticsResourcesOutput {
+// Resource Id.
+func (o HubOutput) ResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Hub) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
+}
+
+// Resource Type.
+func (o HubOutput) ResourceType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Hub) *string { return v.ResourceType }).(pulumi.StringPtrOutput)
+}
+
+type HubArrayOutput struct{ *pulumi.OutputState }
+
+func (HubArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]Hub)(nil)).Elem()
+}
+
+func (o HubArrayOutput) ToHubArrayOutput() HubArrayOutput {
return o
}
-func (o FirewallPolicyLogAnalyticsResourcesOutput) ToFirewallPolicyLogAnalyticsResourcesOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsResourcesOutput {
+func (o HubArrayOutput) ToHubArrayOutputWithContext(ctx context.Context) HubArrayOutput {
return o
}
-func (o FirewallPolicyLogAnalyticsResourcesOutput) ToFirewallPolicyLogAnalyticsResourcesPtrOutput() FirewallPolicyLogAnalyticsResourcesPtrOutput {
- return o.ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(context.Background())
+func (o HubArrayOutput) Index(i pulumi.IntInput) HubOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) Hub {
+ return vs[0].([]Hub)[vs[1].(int)]
+ }).(HubOutput)
}
-func (o FirewallPolicyLogAnalyticsResourcesOutput) ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsResourcesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyLogAnalyticsResources) *FirewallPolicyLogAnalyticsResources {
- return &v
- }).(FirewallPolicyLogAnalyticsResourcesPtrOutput)
+// IP addresses associated with azure firewall.
+type HubIPAddresses struct {
+ // Private IP Address associated with azure firewall.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // Public IP addresses associated with azure firewall.
+ PublicIPs *HubPublicIPAddresses `pulumi:"publicIPs"`
}
-// The default workspace Id for Firewall Policy Insights.
-func (o FirewallPolicyLogAnalyticsResourcesOutput) DefaultWorkspaceId() SubResourcePtrOutput {
- return o.ApplyT(func(v FirewallPolicyLogAnalyticsResources) *SubResource { return v.DefaultWorkspaceId }).(SubResourcePtrOutput)
+// HubIPAddressesInput is an input type that accepts HubIPAddressesArgs and HubIPAddressesOutput values.
+// You can construct a concrete instance of `HubIPAddressesInput` via:
+//
+// HubIPAddressesArgs{...}
+type HubIPAddressesInput interface {
+ pulumi.Input
+
+ ToHubIPAddressesOutput() HubIPAddressesOutput
+ ToHubIPAddressesOutputWithContext(context.Context) HubIPAddressesOutput
}
-// List of workspaces for Firewall Policy Insights.
-func (o FirewallPolicyLogAnalyticsResourcesOutput) Workspaces() FirewallPolicyLogAnalyticsWorkspaceArrayOutput {
- return o.ApplyT(func(v FirewallPolicyLogAnalyticsResources) []FirewallPolicyLogAnalyticsWorkspace { return v.Workspaces }).(FirewallPolicyLogAnalyticsWorkspaceArrayOutput)
+// IP addresses associated with azure firewall.
+type HubIPAddressesArgs struct {
+ // Private IP Address associated with azure firewall.
+ PrivateIPAddress pulumi.StringPtrInput `pulumi:"privateIPAddress"`
+ // Public IP addresses associated with azure firewall.
+ PublicIPs HubPublicIPAddressesPtrInput `pulumi:"publicIPs"`
}
-type FirewallPolicyLogAnalyticsResourcesPtrOutput struct{ *pulumi.OutputState }
+func (HubIPAddressesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*HubIPAddresses)(nil)).Elem()
+}
-func (FirewallPolicyLogAnalyticsResourcesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyLogAnalyticsResources)(nil)).Elem()
+func (i HubIPAddressesArgs) ToHubIPAddressesOutput() HubIPAddressesOutput {
+ return i.ToHubIPAddressesOutputWithContext(context.Background())
}
-func (o FirewallPolicyLogAnalyticsResourcesPtrOutput) ToFirewallPolicyLogAnalyticsResourcesPtrOutput() FirewallPolicyLogAnalyticsResourcesPtrOutput {
- return o
+func (i HubIPAddressesArgs) ToHubIPAddressesOutputWithContext(ctx context.Context) HubIPAddressesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(HubIPAddressesOutput)
}
-func (o FirewallPolicyLogAnalyticsResourcesPtrOutput) ToFirewallPolicyLogAnalyticsResourcesPtrOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsResourcesPtrOutput {
- return o
+func (i HubIPAddressesArgs) ToHubIPAddressesPtrOutput() HubIPAddressesPtrOutput {
+ return i.ToHubIPAddressesPtrOutputWithContext(context.Background())
}
-func (o FirewallPolicyLogAnalyticsResourcesPtrOutput) Elem() FirewallPolicyLogAnalyticsResourcesOutput {
- return o.ApplyT(func(v *FirewallPolicyLogAnalyticsResources) FirewallPolicyLogAnalyticsResources {
- if v != nil {
- return *v
- }
- var ret FirewallPolicyLogAnalyticsResources
- return ret
- }).(FirewallPolicyLogAnalyticsResourcesOutput)
+func (i HubIPAddressesArgs) ToHubIPAddressesPtrOutputWithContext(ctx context.Context) HubIPAddressesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(HubIPAddressesOutput).ToHubIPAddressesPtrOutputWithContext(ctx)
}
-// The default workspace Id for Firewall Policy Insights.
-func (o FirewallPolicyLogAnalyticsResourcesPtrOutput) DefaultWorkspaceId() SubResourcePtrOutput {
- return o.ApplyT(func(v *FirewallPolicyLogAnalyticsResources) *SubResource {
- if v == nil {
- return nil
- }
- return v.DefaultWorkspaceId
- }).(SubResourcePtrOutput)
+// HubIPAddressesPtrInput is an input type that accepts HubIPAddressesArgs, HubIPAddressesPtr and HubIPAddressesPtrOutput values.
+// You can construct a concrete instance of `HubIPAddressesPtrInput` via:
+//
+// HubIPAddressesArgs{...}
+//
+// or:
+//
+// nil
+type HubIPAddressesPtrInput interface {
+ pulumi.Input
+
+ ToHubIPAddressesPtrOutput() HubIPAddressesPtrOutput
+ ToHubIPAddressesPtrOutputWithContext(context.Context) HubIPAddressesPtrOutput
}
-// List of workspaces for Firewall Policy Insights.
-func (o FirewallPolicyLogAnalyticsResourcesPtrOutput) Workspaces() FirewallPolicyLogAnalyticsWorkspaceArrayOutput {
- return o.ApplyT(func(v *FirewallPolicyLogAnalyticsResources) []FirewallPolicyLogAnalyticsWorkspace {
- if v == nil {
- return nil
- }
- return v.Workspaces
- }).(FirewallPolicyLogAnalyticsWorkspaceArrayOutput)
+type hubIPAddressesPtrType HubIPAddressesArgs
+
+func HubIPAddressesPtr(v *HubIPAddressesArgs) HubIPAddressesPtrInput {
+ return (*hubIPAddressesPtrType)(v)
}
-// Log Analytics Resources for Firewall Policy Insights.
-type FirewallPolicyLogAnalyticsResourcesResponse struct {
- // The default workspace Id for Firewall Policy Insights.
- DefaultWorkspaceId *SubResourceResponse `pulumi:"defaultWorkspaceId"`
- // List of workspaces for Firewall Policy Insights.
- Workspaces []FirewallPolicyLogAnalyticsWorkspaceResponse `pulumi:"workspaces"`
+func (*hubIPAddressesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**HubIPAddresses)(nil)).Elem()
}
-// Log Analytics Resources for Firewall Policy Insights.
-type FirewallPolicyLogAnalyticsResourcesResponseOutput struct{ *pulumi.OutputState }
+func (i *hubIPAddressesPtrType) ToHubIPAddressesPtrOutput() HubIPAddressesPtrOutput {
+ return i.ToHubIPAddressesPtrOutputWithContext(context.Background())
+}
-func (FirewallPolicyLogAnalyticsResourcesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyLogAnalyticsResourcesResponse)(nil)).Elem()
+func (i *hubIPAddressesPtrType) ToHubIPAddressesPtrOutputWithContext(ctx context.Context) HubIPAddressesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(HubIPAddressesPtrOutput)
}
-func (o FirewallPolicyLogAnalyticsResourcesResponseOutput) ToFirewallPolicyLogAnalyticsResourcesResponseOutput() FirewallPolicyLogAnalyticsResourcesResponseOutput {
+// IP addresses associated with azure firewall.
+type HubIPAddressesOutput struct{ *pulumi.OutputState }
+
+func (HubIPAddressesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*HubIPAddresses)(nil)).Elem()
+}
+
+func (o HubIPAddressesOutput) ToHubIPAddressesOutput() HubIPAddressesOutput {
return o
}
-func (o FirewallPolicyLogAnalyticsResourcesResponseOutput) ToFirewallPolicyLogAnalyticsResourcesResponseOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsResourcesResponseOutput {
+func (o HubIPAddressesOutput) ToHubIPAddressesOutputWithContext(ctx context.Context) HubIPAddressesOutput {
return o
}
-// The default workspace Id for Firewall Policy Insights.
-func (o FirewallPolicyLogAnalyticsResourcesResponseOutput) DefaultWorkspaceId() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v FirewallPolicyLogAnalyticsResourcesResponse) *SubResourceResponse { return v.DefaultWorkspaceId }).(SubResourceResponsePtrOutput)
+func (o HubIPAddressesOutput) ToHubIPAddressesPtrOutput() HubIPAddressesPtrOutput {
+ return o.ToHubIPAddressesPtrOutputWithContext(context.Background())
}
-// List of workspaces for Firewall Policy Insights.
-func (o FirewallPolicyLogAnalyticsResourcesResponseOutput) Workspaces() FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput {
- return o.ApplyT(func(v FirewallPolicyLogAnalyticsResourcesResponse) []FirewallPolicyLogAnalyticsWorkspaceResponse {
- return v.Workspaces
- }).(FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput)
+func (o HubIPAddressesOutput) ToHubIPAddressesPtrOutputWithContext(ctx context.Context) HubIPAddressesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v HubIPAddresses) *HubIPAddresses {
+ return &v
+ }).(HubIPAddressesPtrOutput)
}
-type FirewallPolicyLogAnalyticsResourcesResponsePtrOutput struct{ *pulumi.OutputState }
+// Private IP Address associated with azure firewall.
+func (o HubIPAddressesOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v HubIPAddresses) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+}
-func (FirewallPolicyLogAnalyticsResourcesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyLogAnalyticsResourcesResponse)(nil)).Elem()
+// Public IP addresses associated with azure firewall.
+func (o HubIPAddressesOutput) PublicIPs() HubPublicIPAddressesPtrOutput {
+ return o.ApplyT(func(v HubIPAddresses) *HubPublicIPAddresses { return v.PublicIPs }).(HubPublicIPAddressesPtrOutput)
}
-func (o FirewallPolicyLogAnalyticsResourcesResponsePtrOutput) ToFirewallPolicyLogAnalyticsResourcesResponsePtrOutput() FirewallPolicyLogAnalyticsResourcesResponsePtrOutput {
+type HubIPAddressesPtrOutput struct{ *pulumi.OutputState }
+
+func (HubIPAddressesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**HubIPAddresses)(nil)).Elem()
+}
+
+func (o HubIPAddressesPtrOutput) ToHubIPAddressesPtrOutput() HubIPAddressesPtrOutput {
return o
}
-func (o FirewallPolicyLogAnalyticsResourcesResponsePtrOutput) ToFirewallPolicyLogAnalyticsResourcesResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsResourcesResponsePtrOutput {
+func (o HubIPAddressesPtrOutput) ToHubIPAddressesPtrOutputWithContext(ctx context.Context) HubIPAddressesPtrOutput {
return o
}
-func (o FirewallPolicyLogAnalyticsResourcesResponsePtrOutput) Elem() FirewallPolicyLogAnalyticsResourcesResponseOutput {
- return o.ApplyT(func(v *FirewallPolicyLogAnalyticsResourcesResponse) FirewallPolicyLogAnalyticsResourcesResponse {
+func (o HubIPAddressesPtrOutput) Elem() HubIPAddressesOutput {
+ return o.ApplyT(func(v *HubIPAddresses) HubIPAddresses {
if v != nil {
return *v
}
- var ret FirewallPolicyLogAnalyticsResourcesResponse
+ var ret HubIPAddresses
return ret
- }).(FirewallPolicyLogAnalyticsResourcesResponseOutput)
+ }).(HubIPAddressesOutput)
}
-// The default workspace Id for Firewall Policy Insights.
-func (o FirewallPolicyLogAnalyticsResourcesResponsePtrOutput) DefaultWorkspaceId() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *FirewallPolicyLogAnalyticsResourcesResponse) *SubResourceResponse {
+// Private IP Address associated with azure firewall.
+func (o HubIPAddressesPtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *HubIPAddresses) *string {
if v == nil {
return nil
}
- return v.DefaultWorkspaceId
- }).(SubResourceResponsePtrOutput)
+ return v.PrivateIPAddress
+ }).(pulumi.StringPtrOutput)
}
-// List of workspaces for Firewall Policy Insights.
-func (o FirewallPolicyLogAnalyticsResourcesResponsePtrOutput) Workspaces() FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput {
- return o.ApplyT(func(v *FirewallPolicyLogAnalyticsResourcesResponse) []FirewallPolicyLogAnalyticsWorkspaceResponse {
+// Public IP addresses associated with azure firewall.
+func (o HubIPAddressesPtrOutput) PublicIPs() HubPublicIPAddressesPtrOutput {
+ return o.ApplyT(func(v *HubIPAddresses) *HubPublicIPAddresses {
if v == nil {
return nil
}
- return v.Workspaces
- }).(FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput)
+ return v.PublicIPs
+ }).(HubPublicIPAddressesPtrOutput)
}
-// Log Analytics Workspace for Firewall Policy Insights.
-type FirewallPolicyLogAnalyticsWorkspace struct {
- // Region to configure the Workspace.
- Region *string `pulumi:"region"`
- // The workspace Id for Firewall Policy Insights.
- WorkspaceId *SubResource `pulumi:"workspaceId"`
-}
-
-// FirewallPolicyLogAnalyticsWorkspaceInput is an input type that accepts FirewallPolicyLogAnalyticsWorkspaceArgs and FirewallPolicyLogAnalyticsWorkspaceOutput values.
-// You can construct a concrete instance of `FirewallPolicyLogAnalyticsWorkspaceInput` via:
-//
-// FirewallPolicyLogAnalyticsWorkspaceArgs{...}
-type FirewallPolicyLogAnalyticsWorkspaceInput interface {
- pulumi.Input
-
- ToFirewallPolicyLogAnalyticsWorkspaceOutput() FirewallPolicyLogAnalyticsWorkspaceOutput
- ToFirewallPolicyLogAnalyticsWorkspaceOutputWithContext(context.Context) FirewallPolicyLogAnalyticsWorkspaceOutput
-}
-
-// Log Analytics Workspace for Firewall Policy Insights.
-type FirewallPolicyLogAnalyticsWorkspaceArgs struct {
- // Region to configure the Workspace.
- Region pulumi.StringPtrInput `pulumi:"region"`
- // The workspace Id for Firewall Policy Insights.
- WorkspaceId SubResourcePtrInput `pulumi:"workspaceId"`
-}
-
-func (FirewallPolicyLogAnalyticsWorkspaceArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyLogAnalyticsWorkspace)(nil)).Elem()
-}
-
-func (i FirewallPolicyLogAnalyticsWorkspaceArgs) ToFirewallPolicyLogAnalyticsWorkspaceOutput() FirewallPolicyLogAnalyticsWorkspaceOutput {
- return i.ToFirewallPolicyLogAnalyticsWorkspaceOutputWithContext(context.Background())
-}
-
-func (i FirewallPolicyLogAnalyticsWorkspaceArgs) ToFirewallPolicyLogAnalyticsWorkspaceOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsWorkspaceOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyLogAnalyticsWorkspaceOutput)
-}
-
-// FirewallPolicyLogAnalyticsWorkspaceArrayInput is an input type that accepts FirewallPolicyLogAnalyticsWorkspaceArray and FirewallPolicyLogAnalyticsWorkspaceArrayOutput values.
-// You can construct a concrete instance of `FirewallPolicyLogAnalyticsWorkspaceArrayInput` via:
-//
-// FirewallPolicyLogAnalyticsWorkspaceArray{ FirewallPolicyLogAnalyticsWorkspaceArgs{...} }
-type FirewallPolicyLogAnalyticsWorkspaceArrayInput interface {
- pulumi.Input
-
- ToFirewallPolicyLogAnalyticsWorkspaceArrayOutput() FirewallPolicyLogAnalyticsWorkspaceArrayOutput
- ToFirewallPolicyLogAnalyticsWorkspaceArrayOutputWithContext(context.Context) FirewallPolicyLogAnalyticsWorkspaceArrayOutput
-}
-
-type FirewallPolicyLogAnalyticsWorkspaceArray []FirewallPolicyLogAnalyticsWorkspaceInput
-
-func (FirewallPolicyLogAnalyticsWorkspaceArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyLogAnalyticsWorkspace)(nil)).Elem()
-}
-
-func (i FirewallPolicyLogAnalyticsWorkspaceArray) ToFirewallPolicyLogAnalyticsWorkspaceArrayOutput() FirewallPolicyLogAnalyticsWorkspaceArrayOutput {
- return i.ToFirewallPolicyLogAnalyticsWorkspaceArrayOutputWithContext(context.Background())
-}
-
-func (i FirewallPolicyLogAnalyticsWorkspaceArray) ToFirewallPolicyLogAnalyticsWorkspaceArrayOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsWorkspaceArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyLogAnalyticsWorkspaceArrayOutput)
+// IP addresses associated with azure firewall.
+type HubIPAddressesResponse struct {
+ // Private IP Address associated with azure firewall.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // Public IP addresses associated with azure firewall.
+ PublicIPs *HubPublicIPAddressesResponse `pulumi:"publicIPs"`
}
-// Log Analytics Workspace for Firewall Policy Insights.
-type FirewallPolicyLogAnalyticsWorkspaceOutput struct{ *pulumi.OutputState }
+// IP addresses associated with azure firewall.
+type HubIPAddressesResponseOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyLogAnalyticsWorkspaceOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyLogAnalyticsWorkspace)(nil)).Elem()
+func (HubIPAddressesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*HubIPAddressesResponse)(nil)).Elem()
}
-func (o FirewallPolicyLogAnalyticsWorkspaceOutput) ToFirewallPolicyLogAnalyticsWorkspaceOutput() FirewallPolicyLogAnalyticsWorkspaceOutput {
+func (o HubIPAddressesResponseOutput) ToHubIPAddressesResponseOutput() HubIPAddressesResponseOutput {
return o
}
-func (o FirewallPolicyLogAnalyticsWorkspaceOutput) ToFirewallPolicyLogAnalyticsWorkspaceOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsWorkspaceOutput {
+func (o HubIPAddressesResponseOutput) ToHubIPAddressesResponseOutputWithContext(ctx context.Context) HubIPAddressesResponseOutput {
return o
}
-// Region to configure the Workspace.
-func (o FirewallPolicyLogAnalyticsWorkspaceOutput) Region() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyLogAnalyticsWorkspace) *string { return v.Region }).(pulumi.StringPtrOutput)
+// Private IP Address associated with azure firewall.
+func (o HubIPAddressesResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v HubIPAddressesResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-// The workspace Id for Firewall Policy Insights.
-func (o FirewallPolicyLogAnalyticsWorkspaceOutput) WorkspaceId() SubResourcePtrOutput {
- return o.ApplyT(func(v FirewallPolicyLogAnalyticsWorkspace) *SubResource { return v.WorkspaceId }).(SubResourcePtrOutput)
+// Public IP addresses associated with azure firewall.
+func (o HubIPAddressesResponseOutput) PublicIPs() HubPublicIPAddressesResponsePtrOutput {
+ return o.ApplyT(func(v HubIPAddressesResponse) *HubPublicIPAddressesResponse { return v.PublicIPs }).(HubPublicIPAddressesResponsePtrOutput)
}
-type FirewallPolicyLogAnalyticsWorkspaceArrayOutput struct{ *pulumi.OutputState }
+type HubIPAddressesResponsePtrOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyLogAnalyticsWorkspaceArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyLogAnalyticsWorkspace)(nil)).Elem()
+func (HubIPAddressesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**HubIPAddressesResponse)(nil)).Elem()
}
-func (o FirewallPolicyLogAnalyticsWorkspaceArrayOutput) ToFirewallPolicyLogAnalyticsWorkspaceArrayOutput() FirewallPolicyLogAnalyticsWorkspaceArrayOutput {
+func (o HubIPAddressesResponsePtrOutput) ToHubIPAddressesResponsePtrOutput() HubIPAddressesResponsePtrOutput {
return o
}
-func (o FirewallPolicyLogAnalyticsWorkspaceArrayOutput) ToFirewallPolicyLogAnalyticsWorkspaceArrayOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsWorkspaceArrayOutput {
+func (o HubIPAddressesResponsePtrOutput) ToHubIPAddressesResponsePtrOutputWithContext(ctx context.Context) HubIPAddressesResponsePtrOutput {
return o
}
-func (o FirewallPolicyLogAnalyticsWorkspaceArrayOutput) Index(i pulumi.IntInput) FirewallPolicyLogAnalyticsWorkspaceOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyLogAnalyticsWorkspace {
- return vs[0].([]FirewallPolicyLogAnalyticsWorkspace)[vs[1].(int)]
- }).(FirewallPolicyLogAnalyticsWorkspaceOutput)
+func (o HubIPAddressesResponsePtrOutput) Elem() HubIPAddressesResponseOutput {
+ return o.ApplyT(func(v *HubIPAddressesResponse) HubIPAddressesResponse {
+ if v != nil {
+ return *v
+ }
+ var ret HubIPAddressesResponse
+ return ret
+ }).(HubIPAddressesResponseOutput)
}
-// Log Analytics Workspace for Firewall Policy Insights.
-type FirewallPolicyLogAnalyticsWorkspaceResponse struct {
- // Region to configure the Workspace.
- Region *string `pulumi:"region"`
- // The workspace Id for Firewall Policy Insights.
- WorkspaceId *SubResourceResponse `pulumi:"workspaceId"`
+// Private IP Address associated with azure firewall.
+func (o HubIPAddressesResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *HubIPAddressesResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAddress
+ }).(pulumi.StringPtrOutput)
}
-// Log Analytics Workspace for Firewall Policy Insights.
-type FirewallPolicyLogAnalyticsWorkspaceResponseOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicyLogAnalyticsWorkspaceResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyLogAnalyticsWorkspaceResponse)(nil)).Elem()
+// Public IP addresses associated with azure firewall.
+func (o HubIPAddressesResponsePtrOutput) PublicIPs() HubPublicIPAddressesResponsePtrOutput {
+ return o.ApplyT(func(v *HubIPAddressesResponse) *HubPublicIPAddressesResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPs
+ }).(HubPublicIPAddressesResponsePtrOutput)
}
-func (o FirewallPolicyLogAnalyticsWorkspaceResponseOutput) ToFirewallPolicyLogAnalyticsWorkspaceResponseOutput() FirewallPolicyLogAnalyticsWorkspaceResponseOutput {
- return o
+// Public IP addresses associated with azure firewall.
+type HubPublicIPAddresses struct {
+ // The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
+ Addresses []AzureFirewallPublicIPAddress `pulumi:"addresses"`
+ // The number of Public IP addresses associated with azure firewall.
+ Count *int `pulumi:"count"`
}
-func (o FirewallPolicyLogAnalyticsWorkspaceResponseOutput) ToFirewallPolicyLogAnalyticsWorkspaceResponseOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsWorkspaceResponseOutput {
- return o
-}
+// HubPublicIPAddressesInput is an input type that accepts HubPublicIPAddressesArgs and HubPublicIPAddressesOutput values.
+// You can construct a concrete instance of `HubPublicIPAddressesInput` via:
+//
+// HubPublicIPAddressesArgs{...}
+type HubPublicIPAddressesInput interface {
+ pulumi.Input
-// Region to configure the Workspace.
-func (o FirewallPolicyLogAnalyticsWorkspaceResponseOutput) Region() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyLogAnalyticsWorkspaceResponse) *string { return v.Region }).(pulumi.StringPtrOutput)
+ ToHubPublicIPAddressesOutput() HubPublicIPAddressesOutput
+ ToHubPublicIPAddressesOutputWithContext(context.Context) HubPublicIPAddressesOutput
}
-// The workspace Id for Firewall Policy Insights.
-func (o FirewallPolicyLogAnalyticsWorkspaceResponseOutput) WorkspaceId() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v FirewallPolicyLogAnalyticsWorkspaceResponse) *SubResourceResponse { return v.WorkspaceId }).(SubResourceResponsePtrOutput)
+// Public IP addresses associated with azure firewall.
+type HubPublicIPAddressesArgs struct {
+ // The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
+ Addresses AzureFirewallPublicIPAddressArrayInput `pulumi:"addresses"`
+ // The number of Public IP addresses associated with azure firewall.
+ Count pulumi.IntPtrInput `pulumi:"count"`
}
-type FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyLogAnalyticsWorkspaceResponse)(nil)).Elem()
+func (HubPublicIPAddressesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*HubPublicIPAddresses)(nil)).Elem()
}
-func (o FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput) ToFirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput() FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput {
- return o
+func (i HubPublicIPAddressesArgs) ToHubPublicIPAddressesOutput() HubPublicIPAddressesOutput {
+ return i.ToHubPublicIPAddressesOutputWithContext(context.Background())
}
-func (o FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput) ToFirewallPolicyLogAnalyticsWorkspaceResponseArrayOutputWithContext(ctx context.Context) FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput {
- return o
+func (i HubPublicIPAddressesArgs) ToHubPublicIPAddressesOutputWithContext(ctx context.Context) HubPublicIPAddressesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(HubPublicIPAddressesOutput)
}
-func (o FirewallPolicyLogAnalyticsWorkspaceResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyLogAnalyticsWorkspaceResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyLogAnalyticsWorkspaceResponse {
- return vs[0].([]FirewallPolicyLogAnalyticsWorkspaceResponse)[vs[1].(int)]
- }).(FirewallPolicyLogAnalyticsWorkspaceResponseOutput)
+func (i HubPublicIPAddressesArgs) ToHubPublicIPAddressesPtrOutput() HubPublicIPAddressesPtrOutput {
+ return i.ToHubPublicIPAddressesPtrOutputWithContext(context.Background())
}
-// Firewall Policy NAT Rule.
-type FirewallPolicyNatRule struct {
- // The action type of a Nat rule.
- Action *FirewallPolicyNatRuleAction `pulumi:"action"`
- // The name of the rule.
- Name *string `pulumi:"name"`
- // Priority of the Firewall Policy Rule resource.
- Priority *int `pulumi:"priority"`
- // The match conditions for incoming traffic.
- RuleCondition interface{} `pulumi:"ruleCondition"`
- // The type of the rule.
- // Expected value is 'FirewallPolicyNatRule'.
- RuleType string `pulumi:"ruleType"`
- // The translated address for this NAT rule.
- TranslatedAddress *string `pulumi:"translatedAddress"`
- // The translated port for this NAT rule.
- TranslatedPort *string `pulumi:"translatedPort"`
+func (i HubPublicIPAddressesArgs) ToHubPublicIPAddressesPtrOutputWithContext(ctx context.Context) HubPublicIPAddressesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(HubPublicIPAddressesOutput).ToHubPublicIPAddressesPtrOutputWithContext(ctx)
}
-// FirewallPolicyNatRuleInput is an input type that accepts FirewallPolicyNatRuleArgs and FirewallPolicyNatRuleOutput values.
-// You can construct a concrete instance of `FirewallPolicyNatRuleInput` via:
+// HubPublicIPAddressesPtrInput is an input type that accepts HubPublicIPAddressesArgs, HubPublicIPAddressesPtr and HubPublicIPAddressesPtrOutput values.
+// You can construct a concrete instance of `HubPublicIPAddressesPtrInput` via:
//
-// FirewallPolicyNatRuleArgs{...}
-type FirewallPolicyNatRuleInput interface {
+// HubPublicIPAddressesArgs{...}
+//
+// or:
+//
+// nil
+type HubPublicIPAddressesPtrInput interface {
pulumi.Input
- ToFirewallPolicyNatRuleOutput() FirewallPolicyNatRuleOutput
- ToFirewallPolicyNatRuleOutputWithContext(context.Context) FirewallPolicyNatRuleOutput
+ ToHubPublicIPAddressesPtrOutput() HubPublicIPAddressesPtrOutput
+ ToHubPublicIPAddressesPtrOutputWithContext(context.Context) HubPublicIPAddressesPtrOutput
}
-// Firewall Policy NAT Rule.
-type FirewallPolicyNatRuleArgs struct {
- // The action type of a Nat rule.
- Action FirewallPolicyNatRuleActionPtrInput `pulumi:"action"`
- // The name of the rule.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Priority of the Firewall Policy Rule resource.
- Priority pulumi.IntPtrInput `pulumi:"priority"`
- // The match conditions for incoming traffic.
- RuleCondition pulumi.Input `pulumi:"ruleCondition"`
- // The type of the rule.
- // Expected value is 'FirewallPolicyNatRule'.
- RuleType pulumi.StringInput `pulumi:"ruleType"`
- // The translated address for this NAT rule.
- TranslatedAddress pulumi.StringPtrInput `pulumi:"translatedAddress"`
- // The translated port for this NAT rule.
- TranslatedPort pulumi.StringPtrInput `pulumi:"translatedPort"`
+type hubPublicIPAddressesPtrType HubPublicIPAddressesArgs
+
+func HubPublicIPAddressesPtr(v *HubPublicIPAddressesArgs) HubPublicIPAddressesPtrInput {
+ return (*hubPublicIPAddressesPtrType)(v)
}
-func (FirewallPolicyNatRuleArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyNatRule)(nil)).Elem()
+func (*hubPublicIPAddressesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**HubPublicIPAddresses)(nil)).Elem()
}
-func (i FirewallPolicyNatRuleArgs) ToFirewallPolicyNatRuleOutput() FirewallPolicyNatRuleOutput {
- return i.ToFirewallPolicyNatRuleOutputWithContext(context.Background())
+func (i *hubPublicIPAddressesPtrType) ToHubPublicIPAddressesPtrOutput() HubPublicIPAddressesPtrOutput {
+ return i.ToHubPublicIPAddressesPtrOutputWithContext(context.Background())
}
-func (i FirewallPolicyNatRuleArgs) ToFirewallPolicyNatRuleOutputWithContext(ctx context.Context) FirewallPolicyNatRuleOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyNatRuleOutput)
+func (i *hubPublicIPAddressesPtrType) ToHubPublicIPAddressesPtrOutputWithContext(ctx context.Context) HubPublicIPAddressesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(HubPublicIPAddressesPtrOutput)
}
-// Firewall Policy NAT Rule.
-type FirewallPolicyNatRuleOutput struct{ *pulumi.OutputState }
+// Public IP addresses associated with azure firewall.
+type HubPublicIPAddressesOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyNatRuleOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyNatRule)(nil)).Elem()
+func (HubPublicIPAddressesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*HubPublicIPAddresses)(nil)).Elem()
}
-func (o FirewallPolicyNatRuleOutput) ToFirewallPolicyNatRuleOutput() FirewallPolicyNatRuleOutput {
+func (o HubPublicIPAddressesOutput) ToHubPublicIPAddressesOutput() HubPublicIPAddressesOutput {
return o
}
-func (o FirewallPolicyNatRuleOutput) ToFirewallPolicyNatRuleOutputWithContext(ctx context.Context) FirewallPolicyNatRuleOutput {
+func (o HubPublicIPAddressesOutput) ToHubPublicIPAddressesOutputWithContext(ctx context.Context) HubPublicIPAddressesOutput {
return o
}
-// The action type of a Nat rule.
-func (o FirewallPolicyNatRuleOutput) Action() FirewallPolicyNatRuleActionPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRule) *FirewallPolicyNatRuleAction { return v.Action }).(FirewallPolicyNatRuleActionPtrOutput)
-}
-
-// The name of the rule.
-func (o FirewallPolicyNatRuleOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRule) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-// Priority of the Firewall Policy Rule resource.
-func (o FirewallPolicyNatRuleOutput) Priority() pulumi.IntPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRule) *int { return v.Priority }).(pulumi.IntPtrOutput)
-}
-
-// The match conditions for incoming traffic.
-func (o FirewallPolicyNatRuleOutput) RuleCondition() pulumi.AnyOutput {
- return o.ApplyT(func(v FirewallPolicyNatRule) interface{} { return v.RuleCondition }).(pulumi.AnyOutput)
-}
-
-// The type of the rule.
-// Expected value is 'FirewallPolicyNatRule'.
-func (o FirewallPolicyNatRuleOutput) RuleType() pulumi.StringOutput {
- return o.ApplyT(func(v FirewallPolicyNatRule) string { return v.RuleType }).(pulumi.StringOutput)
-}
-
-// The translated address for this NAT rule.
-func (o FirewallPolicyNatRuleOutput) TranslatedAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRule) *string { return v.TranslatedAddress }).(pulumi.StringPtrOutput)
-}
-
-// The translated port for this NAT rule.
-func (o FirewallPolicyNatRuleOutput) TranslatedPort() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRule) *string { return v.TranslatedPort }).(pulumi.StringPtrOutput)
-}
-
-// Properties of the FirewallPolicyNatRuleAction.
-type FirewallPolicyNatRuleAction struct {
- // The type of action.
- Type *string `pulumi:"type"`
-}
-
-// FirewallPolicyNatRuleActionInput is an input type that accepts FirewallPolicyNatRuleActionArgs and FirewallPolicyNatRuleActionOutput values.
-// You can construct a concrete instance of `FirewallPolicyNatRuleActionInput` via:
-//
-// FirewallPolicyNatRuleActionArgs{...}
-type FirewallPolicyNatRuleActionInput interface {
- pulumi.Input
-
- ToFirewallPolicyNatRuleActionOutput() FirewallPolicyNatRuleActionOutput
- ToFirewallPolicyNatRuleActionOutputWithContext(context.Context) FirewallPolicyNatRuleActionOutput
+func (o HubPublicIPAddressesOutput) ToHubPublicIPAddressesPtrOutput() HubPublicIPAddressesPtrOutput {
+ return o.ToHubPublicIPAddressesPtrOutputWithContext(context.Background())
}
-// Properties of the FirewallPolicyNatRuleAction.
-type FirewallPolicyNatRuleActionArgs struct {
- // The type of action.
- Type pulumi.StringPtrInput `pulumi:"type"`
+func (o HubPublicIPAddressesOutput) ToHubPublicIPAddressesPtrOutputWithContext(ctx context.Context) HubPublicIPAddressesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v HubPublicIPAddresses) *HubPublicIPAddresses {
+ return &v
+ }).(HubPublicIPAddressesPtrOutput)
}
-func (FirewallPolicyNatRuleActionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyNatRuleAction)(nil)).Elem()
+// The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
+func (o HubPublicIPAddressesOutput) Addresses() AzureFirewallPublicIPAddressArrayOutput {
+ return o.ApplyT(func(v HubPublicIPAddresses) []AzureFirewallPublicIPAddress { return v.Addresses }).(AzureFirewallPublicIPAddressArrayOutput)
}
-func (i FirewallPolicyNatRuleActionArgs) ToFirewallPolicyNatRuleActionOutput() FirewallPolicyNatRuleActionOutput {
- return i.ToFirewallPolicyNatRuleActionOutputWithContext(context.Background())
+// The number of Public IP addresses associated with azure firewall.
+func (o HubPublicIPAddressesOutput) Count() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v HubPublicIPAddresses) *int { return v.Count }).(pulumi.IntPtrOutput)
}
-func (i FirewallPolicyNatRuleActionArgs) ToFirewallPolicyNatRuleActionOutputWithContext(ctx context.Context) FirewallPolicyNatRuleActionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyNatRuleActionOutput)
-}
+type HubPublicIPAddressesPtrOutput struct{ *pulumi.OutputState }
-func (i FirewallPolicyNatRuleActionArgs) ToFirewallPolicyNatRuleActionPtrOutput() FirewallPolicyNatRuleActionPtrOutput {
- return i.ToFirewallPolicyNatRuleActionPtrOutputWithContext(context.Background())
+func (HubPublicIPAddressesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**HubPublicIPAddresses)(nil)).Elem()
}
-func (i FirewallPolicyNatRuleActionArgs) ToFirewallPolicyNatRuleActionPtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleActionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyNatRuleActionOutput).ToFirewallPolicyNatRuleActionPtrOutputWithContext(ctx)
+func (o HubPublicIPAddressesPtrOutput) ToHubPublicIPAddressesPtrOutput() HubPublicIPAddressesPtrOutput {
+ return o
}
-// FirewallPolicyNatRuleActionPtrInput is an input type that accepts FirewallPolicyNatRuleActionArgs, FirewallPolicyNatRuleActionPtr and FirewallPolicyNatRuleActionPtrOutput values.
-// You can construct a concrete instance of `FirewallPolicyNatRuleActionPtrInput` via:
-//
-// FirewallPolicyNatRuleActionArgs{...}
-//
-// or:
-//
-// nil
-type FirewallPolicyNatRuleActionPtrInput interface {
- pulumi.Input
-
- ToFirewallPolicyNatRuleActionPtrOutput() FirewallPolicyNatRuleActionPtrOutput
- ToFirewallPolicyNatRuleActionPtrOutputWithContext(context.Context) FirewallPolicyNatRuleActionPtrOutput
+func (o HubPublicIPAddressesPtrOutput) ToHubPublicIPAddressesPtrOutputWithContext(ctx context.Context) HubPublicIPAddressesPtrOutput {
+ return o
}
-type firewallPolicyNatRuleActionPtrType FirewallPolicyNatRuleActionArgs
-
-func FirewallPolicyNatRuleActionPtr(v *FirewallPolicyNatRuleActionArgs) FirewallPolicyNatRuleActionPtrInput {
- return (*firewallPolicyNatRuleActionPtrType)(v)
+func (o HubPublicIPAddressesPtrOutput) Elem() HubPublicIPAddressesOutput {
+ return o.ApplyT(func(v *HubPublicIPAddresses) HubPublicIPAddresses {
+ if v != nil {
+ return *v
+ }
+ var ret HubPublicIPAddresses
+ return ret
+ }).(HubPublicIPAddressesOutput)
}
-func (*firewallPolicyNatRuleActionPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyNatRuleAction)(nil)).Elem()
+// The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
+func (o HubPublicIPAddressesPtrOutput) Addresses() AzureFirewallPublicIPAddressArrayOutput {
+ return o.ApplyT(func(v *HubPublicIPAddresses) []AzureFirewallPublicIPAddress {
+ if v == nil {
+ return nil
+ }
+ return v.Addresses
+ }).(AzureFirewallPublicIPAddressArrayOutput)
}
-func (i *firewallPolicyNatRuleActionPtrType) ToFirewallPolicyNatRuleActionPtrOutput() FirewallPolicyNatRuleActionPtrOutput {
- return i.ToFirewallPolicyNatRuleActionPtrOutputWithContext(context.Background())
+// The number of Public IP addresses associated with azure firewall.
+func (o HubPublicIPAddressesPtrOutput) Count() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *HubPublicIPAddresses) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Count
+ }).(pulumi.IntPtrOutput)
}
-func (i *firewallPolicyNatRuleActionPtrType) ToFirewallPolicyNatRuleActionPtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleActionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyNatRuleActionPtrOutput)
+// Public IP addresses associated with azure firewall.
+type HubPublicIPAddressesResponse struct {
+ // The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
+ Addresses []AzureFirewallPublicIPAddressResponse `pulumi:"addresses"`
+ // The number of Public IP addresses associated with azure firewall.
+ Count *int `pulumi:"count"`
}
-// Properties of the FirewallPolicyNatRuleAction.
-type FirewallPolicyNatRuleActionOutput struct{ *pulumi.OutputState }
+// Public IP addresses associated with azure firewall.
+type HubPublicIPAddressesResponseOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyNatRuleActionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyNatRuleAction)(nil)).Elem()
+func (HubPublicIPAddressesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*HubPublicIPAddressesResponse)(nil)).Elem()
}
-func (o FirewallPolicyNatRuleActionOutput) ToFirewallPolicyNatRuleActionOutput() FirewallPolicyNatRuleActionOutput {
+func (o HubPublicIPAddressesResponseOutput) ToHubPublicIPAddressesResponseOutput() HubPublicIPAddressesResponseOutput {
return o
}
-func (o FirewallPolicyNatRuleActionOutput) ToFirewallPolicyNatRuleActionOutputWithContext(ctx context.Context) FirewallPolicyNatRuleActionOutput {
+func (o HubPublicIPAddressesResponseOutput) ToHubPublicIPAddressesResponseOutputWithContext(ctx context.Context) HubPublicIPAddressesResponseOutput {
return o
}
-func (o FirewallPolicyNatRuleActionOutput) ToFirewallPolicyNatRuleActionPtrOutput() FirewallPolicyNatRuleActionPtrOutput {
- return o.ToFirewallPolicyNatRuleActionPtrOutputWithContext(context.Background())
-}
-
-func (o FirewallPolicyNatRuleActionOutput) ToFirewallPolicyNatRuleActionPtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleActionPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyNatRuleAction) *FirewallPolicyNatRuleAction {
- return &v
- }).(FirewallPolicyNatRuleActionPtrOutput)
+// The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
+func (o HubPublicIPAddressesResponseOutput) Addresses() AzureFirewallPublicIPAddressResponseArrayOutput {
+ return o.ApplyT(func(v HubPublicIPAddressesResponse) []AzureFirewallPublicIPAddressResponse { return v.Addresses }).(AzureFirewallPublicIPAddressResponseArrayOutput)
}
-// The type of action.
-func (o FirewallPolicyNatRuleActionOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleAction) *string { return v.Type }).(pulumi.StringPtrOutput)
+// The number of Public IP addresses associated with azure firewall.
+func (o HubPublicIPAddressesResponseOutput) Count() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v HubPublicIPAddressesResponse) *int { return v.Count }).(pulumi.IntPtrOutput)
}
-type FirewallPolicyNatRuleActionPtrOutput struct{ *pulumi.OutputState }
+type HubPublicIPAddressesResponsePtrOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyNatRuleActionPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyNatRuleAction)(nil)).Elem()
+func (HubPublicIPAddressesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**HubPublicIPAddressesResponse)(nil)).Elem()
}
-func (o FirewallPolicyNatRuleActionPtrOutput) ToFirewallPolicyNatRuleActionPtrOutput() FirewallPolicyNatRuleActionPtrOutput {
+func (o HubPublicIPAddressesResponsePtrOutput) ToHubPublicIPAddressesResponsePtrOutput() HubPublicIPAddressesResponsePtrOutput {
return o
}
-func (o FirewallPolicyNatRuleActionPtrOutput) ToFirewallPolicyNatRuleActionPtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleActionPtrOutput {
+func (o HubPublicIPAddressesResponsePtrOutput) ToHubPublicIPAddressesResponsePtrOutputWithContext(ctx context.Context) HubPublicIPAddressesResponsePtrOutput {
return o
}
-func (o FirewallPolicyNatRuleActionPtrOutput) Elem() FirewallPolicyNatRuleActionOutput {
- return o.ApplyT(func(v *FirewallPolicyNatRuleAction) FirewallPolicyNatRuleAction {
+func (o HubPublicIPAddressesResponsePtrOutput) Elem() HubPublicIPAddressesResponseOutput {
+ return o.ApplyT(func(v *HubPublicIPAddressesResponse) HubPublicIPAddressesResponse {
if v != nil {
return *v
}
- var ret FirewallPolicyNatRuleAction
+ var ret HubPublicIPAddressesResponse
return ret
- }).(FirewallPolicyNatRuleActionOutput)
+ }).(HubPublicIPAddressesResponseOutput)
}
-// The type of action.
-func (o FirewallPolicyNatRuleActionPtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyNatRuleAction) *string {
+// The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
+func (o HubPublicIPAddressesResponsePtrOutput) Addresses() AzureFirewallPublicIPAddressResponseArrayOutput {
+ return o.ApplyT(func(v *HubPublicIPAddressesResponse) []AzureFirewallPublicIPAddressResponse {
if v == nil {
return nil
}
- return v.Type
- }).(pulumi.StringPtrOutput)
+ return v.Addresses
+ }).(AzureFirewallPublicIPAddressResponseArrayOutput)
}
-// Properties of the FirewallPolicyNatRuleAction.
-type FirewallPolicyNatRuleActionResponse struct {
- // The type of action.
- Type *string `pulumi:"type"`
+// The number of Public IP addresses associated with azure firewall.
+func (o HubPublicIPAddressesResponsePtrOutput) Count() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *HubPublicIPAddressesResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Count
+ }).(pulumi.IntPtrOutput)
}
-// Properties of the FirewallPolicyNatRuleAction.
-type FirewallPolicyNatRuleActionResponseOutput struct{ *pulumi.OutputState }
+// Hub Item.
+type HubResponse struct {
+ // Resource Id.
+ ResourceId *string `pulumi:"resourceId"`
+ // Resource Type.
+ ResourceType *string `pulumi:"resourceType"`
+}
-func (FirewallPolicyNatRuleActionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyNatRuleActionResponse)(nil)).Elem()
+// Hub Item.
+type HubResponseOutput struct{ *pulumi.OutputState }
+
+func (HubResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*HubResponse)(nil)).Elem()
}
-func (o FirewallPolicyNatRuleActionResponseOutput) ToFirewallPolicyNatRuleActionResponseOutput() FirewallPolicyNatRuleActionResponseOutput {
+func (o HubResponseOutput) ToHubResponseOutput() HubResponseOutput {
return o
}
-func (o FirewallPolicyNatRuleActionResponseOutput) ToFirewallPolicyNatRuleActionResponseOutputWithContext(ctx context.Context) FirewallPolicyNatRuleActionResponseOutput {
+func (o HubResponseOutput) ToHubResponseOutputWithContext(ctx context.Context) HubResponseOutput {
return o
}
-// The type of action.
-func (o FirewallPolicyNatRuleActionResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleActionResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Resource Id.
+func (o HubResponseOutput) ResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v HubResponse) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
}
-type FirewallPolicyNatRuleActionResponsePtrOutput struct{ *pulumi.OutputState }
+// Resource Type.
+func (o HubResponseOutput) ResourceType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v HubResponse) *string { return v.ResourceType }).(pulumi.StringPtrOutput)
+}
-func (FirewallPolicyNatRuleActionResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyNatRuleActionResponse)(nil)).Elem()
+type HubResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (HubResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]HubResponse)(nil)).Elem()
}
-func (o FirewallPolicyNatRuleActionResponsePtrOutput) ToFirewallPolicyNatRuleActionResponsePtrOutput() FirewallPolicyNatRuleActionResponsePtrOutput {
+func (o HubResponseArrayOutput) ToHubResponseArrayOutput() HubResponseArrayOutput {
return o
}
-func (o FirewallPolicyNatRuleActionResponsePtrOutput) ToFirewallPolicyNatRuleActionResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleActionResponsePtrOutput {
+func (o HubResponseArrayOutput) ToHubResponseArrayOutputWithContext(ctx context.Context) HubResponseArrayOutput {
return o
}
-func (o FirewallPolicyNatRuleActionResponsePtrOutput) Elem() FirewallPolicyNatRuleActionResponseOutput {
- return o.ApplyT(func(v *FirewallPolicyNatRuleActionResponse) FirewallPolicyNatRuleActionResponse {
- if v != nil {
- return *v
- }
- var ret FirewallPolicyNatRuleActionResponse
- return ret
- }).(FirewallPolicyNatRuleActionResponseOutput)
-}
-
-// The type of action.
-func (o FirewallPolicyNatRuleActionResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyNatRuleActionResponse) *string {
- if v == nil {
- return nil
- }
- return v.Type
- }).(pulumi.StringPtrOutput)
+func (o HubResponseArrayOutput) Index(i pulumi.IntInput) HubResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) HubResponse {
+ return vs[0].([]HubResponse)[vs[1].(int)]
+ }).(HubResponseOutput)
}
-// Firewall Policy NAT Rule Collection.
-type FirewallPolicyNatRuleCollection struct {
- // The action type of a Nat rule collection.
- Action *FirewallPolicyNatRuleCollectionAction `pulumi:"action"`
- // The name of the rule collection.
- Name *string `pulumi:"name"`
- // Priority of the Firewall Policy Rule Collection resource.
- Priority *int `pulumi:"priority"`
- // The type of the rule collection.
- // Expected value is 'FirewallPolicyNatRuleCollection'.
- RuleCollectionType string `pulumi:"ruleCollectionType"`
- // List of rules included in a rule collection.
- Rules []interface{} `pulumi:"rules"`
+// RouteTable route.
+type HubRoute struct {
+ // The type of destinations (eg: CIDR, ResourceId, Service).
+ DestinationType string `pulumi:"destinationType"`
+ // List of all destinations.
+ Destinations []string `pulumi:"destinations"`
+ // The name of the Route that is unique within a RouteTable. This name can be used to access this route.
+ Name string `pulumi:"name"`
+ // NextHop resource ID.
+ NextHop string `pulumi:"nextHop"`
+ // The type of next hop (eg: ResourceId).
+ NextHopType string `pulumi:"nextHopType"`
}
-// FirewallPolicyNatRuleCollectionInput is an input type that accepts FirewallPolicyNatRuleCollectionArgs and FirewallPolicyNatRuleCollectionOutput values.
-// You can construct a concrete instance of `FirewallPolicyNatRuleCollectionInput` via:
+// HubRouteInput is an input type that accepts HubRouteArgs and HubRouteOutput values.
+// You can construct a concrete instance of `HubRouteInput` via:
//
-// FirewallPolicyNatRuleCollectionArgs{...}
-type FirewallPolicyNatRuleCollectionInput interface {
+// HubRouteArgs{...}
+type HubRouteInput interface {
pulumi.Input
- ToFirewallPolicyNatRuleCollectionOutput() FirewallPolicyNatRuleCollectionOutput
- ToFirewallPolicyNatRuleCollectionOutputWithContext(context.Context) FirewallPolicyNatRuleCollectionOutput
+ ToHubRouteOutput() HubRouteOutput
+ ToHubRouteOutputWithContext(context.Context) HubRouteOutput
}
-// Firewall Policy NAT Rule Collection.
-type FirewallPolicyNatRuleCollectionArgs struct {
- // The action type of a Nat rule collection.
- Action FirewallPolicyNatRuleCollectionActionPtrInput `pulumi:"action"`
- // The name of the rule collection.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Priority of the Firewall Policy Rule Collection resource.
- Priority pulumi.IntPtrInput `pulumi:"priority"`
- // The type of the rule collection.
- // Expected value is 'FirewallPolicyNatRuleCollection'.
- RuleCollectionType pulumi.StringInput `pulumi:"ruleCollectionType"`
- // List of rules included in a rule collection.
- Rules pulumi.ArrayInput `pulumi:"rules"`
+// RouteTable route.
+type HubRouteArgs struct {
+ // The type of destinations (eg: CIDR, ResourceId, Service).
+ DestinationType pulumi.StringInput `pulumi:"destinationType"`
+ // List of all destinations.
+ Destinations pulumi.StringArrayInput `pulumi:"destinations"`
+ // The name of the Route that is unique within a RouteTable. This name can be used to access this route.
+ Name pulumi.StringInput `pulumi:"name"`
+ // NextHop resource ID.
+ NextHop pulumi.StringInput `pulumi:"nextHop"`
+ // The type of next hop (eg: ResourceId).
+ NextHopType pulumi.StringInput `pulumi:"nextHopType"`
}
-func (FirewallPolicyNatRuleCollectionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyNatRuleCollection)(nil)).Elem()
+func (HubRouteArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*HubRoute)(nil)).Elem()
}
-func (i FirewallPolicyNatRuleCollectionArgs) ToFirewallPolicyNatRuleCollectionOutput() FirewallPolicyNatRuleCollectionOutput {
- return i.ToFirewallPolicyNatRuleCollectionOutputWithContext(context.Background())
+func (i HubRouteArgs) ToHubRouteOutput() HubRouteOutput {
+ return i.ToHubRouteOutputWithContext(context.Background())
}
-func (i FirewallPolicyNatRuleCollectionArgs) ToFirewallPolicyNatRuleCollectionOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyNatRuleCollectionOutput)
+func (i HubRouteArgs) ToHubRouteOutputWithContext(ctx context.Context) HubRouteOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(HubRouteOutput)
}
-// Firewall Policy NAT Rule Collection.
-type FirewallPolicyNatRuleCollectionOutput struct{ *pulumi.OutputState }
+// HubRouteArrayInput is an input type that accepts HubRouteArray and HubRouteArrayOutput values.
+// You can construct a concrete instance of `HubRouteArrayInput` via:
+//
+// HubRouteArray{ HubRouteArgs{...} }
+type HubRouteArrayInput interface {
+ pulumi.Input
-func (FirewallPolicyNatRuleCollectionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyNatRuleCollection)(nil)).Elem()
+ ToHubRouteArrayOutput() HubRouteArrayOutput
+ ToHubRouteArrayOutputWithContext(context.Context) HubRouteArrayOutput
}
-func (o FirewallPolicyNatRuleCollectionOutput) ToFirewallPolicyNatRuleCollectionOutput() FirewallPolicyNatRuleCollectionOutput {
- return o
+type HubRouteArray []HubRouteInput
+
+func (HubRouteArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]HubRoute)(nil)).Elem()
}
-func (o FirewallPolicyNatRuleCollectionOutput) ToFirewallPolicyNatRuleCollectionOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionOutput {
- return o
+func (i HubRouteArray) ToHubRouteArrayOutput() HubRouteArrayOutput {
+ return i.ToHubRouteArrayOutputWithContext(context.Background())
}
-// The action type of a Nat rule collection.
-func (o FirewallPolicyNatRuleCollectionOutput) Action() FirewallPolicyNatRuleCollectionActionPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleCollection) *FirewallPolicyNatRuleCollectionAction { return v.Action }).(FirewallPolicyNatRuleCollectionActionPtrOutput)
+func (i HubRouteArray) ToHubRouteArrayOutputWithContext(ctx context.Context) HubRouteArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(HubRouteArrayOutput)
}
-// The name of the rule collection.
-func (o FirewallPolicyNatRuleCollectionOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleCollection) *string { return v.Name }).(pulumi.StringPtrOutput)
+// RouteTable route.
+type HubRouteOutput struct{ *pulumi.OutputState }
+
+func (HubRouteOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*HubRoute)(nil)).Elem()
}
-// Priority of the Firewall Policy Rule Collection resource.
-func (o FirewallPolicyNatRuleCollectionOutput) Priority() pulumi.IntPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleCollection) *int { return v.Priority }).(pulumi.IntPtrOutput)
+func (o HubRouteOutput) ToHubRouteOutput() HubRouteOutput {
+ return o
}
-// The type of the rule collection.
-// Expected value is 'FirewallPolicyNatRuleCollection'.
-func (o FirewallPolicyNatRuleCollectionOutput) RuleCollectionType() pulumi.StringOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleCollection) string { return v.RuleCollectionType }).(pulumi.StringOutput)
+func (o HubRouteOutput) ToHubRouteOutputWithContext(ctx context.Context) HubRouteOutput {
+ return o
}
-// List of rules included in a rule collection.
-func (o FirewallPolicyNatRuleCollectionOutput) Rules() pulumi.ArrayOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleCollection) []interface{} { return v.Rules }).(pulumi.ArrayOutput)
+// The type of destinations (eg: CIDR, ResourceId, Service).
+func (o HubRouteOutput) DestinationType() pulumi.StringOutput {
+ return o.ApplyT(func(v HubRoute) string { return v.DestinationType }).(pulumi.StringOutput)
}
-// Properties of the FirewallPolicyNatRuleCollectionAction.
-type FirewallPolicyNatRuleCollectionAction struct {
- // The type of action.
- Type *string `pulumi:"type"`
+// List of all destinations.
+func (o HubRouteOutput) Destinations() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v HubRoute) []string { return v.Destinations }).(pulumi.StringArrayOutput)
}
-// FirewallPolicyNatRuleCollectionActionInput is an input type that accepts FirewallPolicyNatRuleCollectionActionArgs and FirewallPolicyNatRuleCollectionActionOutput values.
-// You can construct a concrete instance of `FirewallPolicyNatRuleCollectionActionInput` via:
-//
-// FirewallPolicyNatRuleCollectionActionArgs{...}
-type FirewallPolicyNatRuleCollectionActionInput interface {
- pulumi.Input
+// The name of the Route that is unique within a RouteTable. This name can be used to access this route.
+func (o HubRouteOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v HubRoute) string { return v.Name }).(pulumi.StringOutput)
+}
- ToFirewallPolicyNatRuleCollectionActionOutput() FirewallPolicyNatRuleCollectionActionOutput
- ToFirewallPolicyNatRuleCollectionActionOutputWithContext(context.Context) FirewallPolicyNatRuleCollectionActionOutput
+// NextHop resource ID.
+func (o HubRouteOutput) NextHop() pulumi.StringOutput {
+ return o.ApplyT(func(v HubRoute) string { return v.NextHop }).(pulumi.StringOutput)
}
-// Properties of the FirewallPolicyNatRuleCollectionAction.
-type FirewallPolicyNatRuleCollectionActionArgs struct {
- // The type of action.
- Type pulumi.StringPtrInput `pulumi:"type"`
+// The type of next hop (eg: ResourceId).
+func (o HubRouteOutput) NextHopType() pulumi.StringOutput {
+ return o.ApplyT(func(v HubRoute) string { return v.NextHopType }).(pulumi.StringOutput)
}
-func (FirewallPolicyNatRuleCollectionActionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyNatRuleCollectionAction)(nil)).Elem()
+type HubRouteArrayOutput struct{ *pulumi.OutputState }
+
+func (HubRouteArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]HubRoute)(nil)).Elem()
}
-func (i FirewallPolicyNatRuleCollectionActionArgs) ToFirewallPolicyNatRuleCollectionActionOutput() FirewallPolicyNatRuleCollectionActionOutput {
- return i.ToFirewallPolicyNatRuleCollectionActionOutputWithContext(context.Background())
+func (o HubRouteArrayOutput) ToHubRouteArrayOutput() HubRouteArrayOutput {
+ return o
}
-func (i FirewallPolicyNatRuleCollectionActionArgs) ToFirewallPolicyNatRuleCollectionActionOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionActionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyNatRuleCollectionActionOutput)
+func (o HubRouteArrayOutput) ToHubRouteArrayOutputWithContext(ctx context.Context) HubRouteArrayOutput {
+ return o
}
-func (i FirewallPolicyNatRuleCollectionActionArgs) ToFirewallPolicyNatRuleCollectionActionPtrOutput() FirewallPolicyNatRuleCollectionActionPtrOutput {
- return i.ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(context.Background())
+func (o HubRouteArrayOutput) Index(i pulumi.IntInput) HubRouteOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) HubRoute {
+ return vs[0].([]HubRoute)[vs[1].(int)]
+ }).(HubRouteOutput)
}
-func (i FirewallPolicyNatRuleCollectionActionArgs) ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionActionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyNatRuleCollectionActionOutput).ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(ctx)
+// RouteTable route.
+type HubRouteResponse struct {
+ // The type of destinations (eg: CIDR, ResourceId, Service).
+ DestinationType string `pulumi:"destinationType"`
+ // List of all destinations.
+ Destinations []string `pulumi:"destinations"`
+ // The name of the Route that is unique within a RouteTable. This name can be used to access this route.
+ Name string `pulumi:"name"`
+ // NextHop resource ID.
+ NextHop string `pulumi:"nextHop"`
+ // The type of next hop (eg: ResourceId).
+ NextHopType string `pulumi:"nextHopType"`
}
-// FirewallPolicyNatRuleCollectionActionPtrInput is an input type that accepts FirewallPolicyNatRuleCollectionActionArgs, FirewallPolicyNatRuleCollectionActionPtr and FirewallPolicyNatRuleCollectionActionPtrOutput values.
-// You can construct a concrete instance of `FirewallPolicyNatRuleCollectionActionPtrInput` via:
-//
-// FirewallPolicyNatRuleCollectionActionArgs{...}
-//
-// or:
-//
-// nil
-type FirewallPolicyNatRuleCollectionActionPtrInput interface {
- pulumi.Input
+// RouteTable route.
+type HubRouteResponseOutput struct{ *pulumi.OutputState }
- ToFirewallPolicyNatRuleCollectionActionPtrOutput() FirewallPolicyNatRuleCollectionActionPtrOutput
- ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(context.Context) FirewallPolicyNatRuleCollectionActionPtrOutput
+func (HubRouteResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*HubRouteResponse)(nil)).Elem()
}
-type firewallPolicyNatRuleCollectionActionPtrType FirewallPolicyNatRuleCollectionActionArgs
+func (o HubRouteResponseOutput) ToHubRouteResponseOutput() HubRouteResponseOutput {
+ return o
+}
-func FirewallPolicyNatRuleCollectionActionPtr(v *FirewallPolicyNatRuleCollectionActionArgs) FirewallPolicyNatRuleCollectionActionPtrInput {
- return (*firewallPolicyNatRuleCollectionActionPtrType)(v)
+func (o HubRouteResponseOutput) ToHubRouteResponseOutputWithContext(ctx context.Context) HubRouteResponseOutput {
+ return o
}
-func (*firewallPolicyNatRuleCollectionActionPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyNatRuleCollectionAction)(nil)).Elem()
+// The type of destinations (eg: CIDR, ResourceId, Service).
+func (o HubRouteResponseOutput) DestinationType() pulumi.StringOutput {
+ return o.ApplyT(func(v HubRouteResponse) string { return v.DestinationType }).(pulumi.StringOutput)
}
-func (i *firewallPolicyNatRuleCollectionActionPtrType) ToFirewallPolicyNatRuleCollectionActionPtrOutput() FirewallPolicyNatRuleCollectionActionPtrOutput {
- return i.ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(context.Background())
+// List of all destinations.
+func (o HubRouteResponseOutput) Destinations() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v HubRouteResponse) []string { return v.Destinations }).(pulumi.StringArrayOutput)
}
-func (i *firewallPolicyNatRuleCollectionActionPtrType) ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionActionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyNatRuleCollectionActionPtrOutput)
+// The name of the Route that is unique within a RouteTable. This name can be used to access this route.
+func (o HubRouteResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v HubRouteResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// Properties of the FirewallPolicyNatRuleCollectionAction.
-type FirewallPolicyNatRuleCollectionActionOutput struct{ *pulumi.OutputState }
+// NextHop resource ID.
+func (o HubRouteResponseOutput) NextHop() pulumi.StringOutput {
+ return o.ApplyT(func(v HubRouteResponse) string { return v.NextHop }).(pulumi.StringOutput)
+}
-func (FirewallPolicyNatRuleCollectionActionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyNatRuleCollectionAction)(nil)).Elem()
+// The type of next hop (eg: ResourceId).
+func (o HubRouteResponseOutput) NextHopType() pulumi.StringOutput {
+ return o.ApplyT(func(v HubRouteResponse) string { return v.NextHopType }).(pulumi.StringOutput)
}
-func (o FirewallPolicyNatRuleCollectionActionOutput) ToFirewallPolicyNatRuleCollectionActionOutput() FirewallPolicyNatRuleCollectionActionOutput {
+type HubRouteResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (HubRouteResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]HubRouteResponse)(nil)).Elem()
+}
+
+func (o HubRouteResponseArrayOutput) ToHubRouteResponseArrayOutput() HubRouteResponseArrayOutput {
return o
}
-func (o FirewallPolicyNatRuleCollectionActionOutput) ToFirewallPolicyNatRuleCollectionActionOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionActionOutput {
+func (o HubRouteResponseArrayOutput) ToHubRouteResponseArrayOutputWithContext(ctx context.Context) HubRouteResponseArrayOutput {
return o
}
-func (o FirewallPolicyNatRuleCollectionActionOutput) ToFirewallPolicyNatRuleCollectionActionPtrOutput() FirewallPolicyNatRuleCollectionActionPtrOutput {
- return o.ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(context.Background())
+func (o HubRouteResponseArrayOutput) Index(i pulumi.IntInput) HubRouteResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) HubRouteResponse {
+ return vs[0].([]HubRouteResponse)[vs[1].(int)]
+ }).(HubRouteResponseOutput)
}
-func (o FirewallPolicyNatRuleCollectionActionOutput) ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionActionPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyNatRuleCollectionAction) *FirewallPolicyNatRuleCollectionAction {
- return &v
- }).(FirewallPolicyNatRuleCollectionActionPtrOutput)
+// Properties of IPConfigurationBgpPeeringAddress.
+type IPConfigurationBgpPeeringAddress struct {
+ // The list of custom BGP peering addresses which belong to IP configuration.
+ CustomBgpIpAddresses []string `pulumi:"customBgpIpAddresses"`
+ // The ID of IP configuration which belongs to gateway.
+ IpconfigurationId *string `pulumi:"ipconfigurationId"`
}
-// The type of action.
-func (o FirewallPolicyNatRuleCollectionActionOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleCollectionAction) *string { return v.Type }).(pulumi.StringPtrOutput)
+// IPConfigurationBgpPeeringAddressInput is an input type that accepts IPConfigurationBgpPeeringAddressArgs and IPConfigurationBgpPeeringAddressOutput values.
+// You can construct a concrete instance of `IPConfigurationBgpPeeringAddressInput` via:
+//
+// IPConfigurationBgpPeeringAddressArgs{...}
+type IPConfigurationBgpPeeringAddressInput interface {
+ pulumi.Input
+
+ ToIPConfigurationBgpPeeringAddressOutput() IPConfigurationBgpPeeringAddressOutput
+ ToIPConfigurationBgpPeeringAddressOutputWithContext(context.Context) IPConfigurationBgpPeeringAddressOutput
}
-type FirewallPolicyNatRuleCollectionActionPtrOutput struct{ *pulumi.OutputState }
+// Properties of IPConfigurationBgpPeeringAddress.
+type IPConfigurationBgpPeeringAddressArgs struct {
+ // The list of custom BGP peering addresses which belong to IP configuration.
+ CustomBgpIpAddresses pulumi.StringArrayInput `pulumi:"customBgpIpAddresses"`
+ // The ID of IP configuration which belongs to gateway.
+ IpconfigurationId pulumi.StringPtrInput `pulumi:"ipconfigurationId"`
+}
-func (FirewallPolicyNatRuleCollectionActionPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyNatRuleCollectionAction)(nil)).Elem()
+func (IPConfigurationBgpPeeringAddressArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPConfigurationBgpPeeringAddress)(nil)).Elem()
}
-func (o FirewallPolicyNatRuleCollectionActionPtrOutput) ToFirewallPolicyNatRuleCollectionActionPtrOutput() FirewallPolicyNatRuleCollectionActionPtrOutput {
- return o
+func (i IPConfigurationBgpPeeringAddressArgs) ToIPConfigurationBgpPeeringAddressOutput() IPConfigurationBgpPeeringAddressOutput {
+ return i.ToIPConfigurationBgpPeeringAddressOutputWithContext(context.Background())
}
-func (o FirewallPolicyNatRuleCollectionActionPtrOutput) ToFirewallPolicyNatRuleCollectionActionPtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionActionPtrOutput {
- return o
+func (i IPConfigurationBgpPeeringAddressArgs) ToIPConfigurationBgpPeeringAddressOutputWithContext(ctx context.Context) IPConfigurationBgpPeeringAddressOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(IPConfigurationBgpPeeringAddressOutput)
}
-func (o FirewallPolicyNatRuleCollectionActionPtrOutput) Elem() FirewallPolicyNatRuleCollectionActionOutput {
- return o.ApplyT(func(v *FirewallPolicyNatRuleCollectionAction) FirewallPolicyNatRuleCollectionAction {
- if v != nil {
- return *v
- }
- var ret FirewallPolicyNatRuleCollectionAction
- return ret
- }).(FirewallPolicyNatRuleCollectionActionOutput)
+// IPConfigurationBgpPeeringAddressArrayInput is an input type that accepts IPConfigurationBgpPeeringAddressArray and IPConfigurationBgpPeeringAddressArrayOutput values.
+// You can construct a concrete instance of `IPConfigurationBgpPeeringAddressArrayInput` via:
+//
+// IPConfigurationBgpPeeringAddressArray{ IPConfigurationBgpPeeringAddressArgs{...} }
+type IPConfigurationBgpPeeringAddressArrayInput interface {
+ pulumi.Input
+
+ ToIPConfigurationBgpPeeringAddressArrayOutput() IPConfigurationBgpPeeringAddressArrayOutput
+ ToIPConfigurationBgpPeeringAddressArrayOutputWithContext(context.Context) IPConfigurationBgpPeeringAddressArrayOutput
}
-// The type of action.
-func (o FirewallPolicyNatRuleCollectionActionPtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyNatRuleCollectionAction) *string {
- if v == nil {
- return nil
- }
- return v.Type
- }).(pulumi.StringPtrOutput)
+type IPConfigurationBgpPeeringAddressArray []IPConfigurationBgpPeeringAddressInput
+
+func (IPConfigurationBgpPeeringAddressArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IPConfigurationBgpPeeringAddress)(nil)).Elem()
}
-// Properties of the FirewallPolicyNatRuleCollectionAction.
-type FirewallPolicyNatRuleCollectionActionResponse struct {
- // The type of action.
- Type *string `pulumi:"type"`
+func (i IPConfigurationBgpPeeringAddressArray) ToIPConfigurationBgpPeeringAddressArrayOutput() IPConfigurationBgpPeeringAddressArrayOutput {
+ return i.ToIPConfigurationBgpPeeringAddressArrayOutputWithContext(context.Background())
}
-// Properties of the FirewallPolicyNatRuleCollectionAction.
-type FirewallPolicyNatRuleCollectionActionResponseOutput struct{ *pulumi.OutputState }
+func (i IPConfigurationBgpPeeringAddressArray) ToIPConfigurationBgpPeeringAddressArrayOutputWithContext(ctx context.Context) IPConfigurationBgpPeeringAddressArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(IPConfigurationBgpPeeringAddressArrayOutput)
+}
-func (FirewallPolicyNatRuleCollectionActionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyNatRuleCollectionActionResponse)(nil)).Elem()
+// Properties of IPConfigurationBgpPeeringAddress.
+type IPConfigurationBgpPeeringAddressOutput struct{ *pulumi.OutputState }
+
+func (IPConfigurationBgpPeeringAddressOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPConfigurationBgpPeeringAddress)(nil)).Elem()
}
-func (o FirewallPolicyNatRuleCollectionActionResponseOutput) ToFirewallPolicyNatRuleCollectionActionResponseOutput() FirewallPolicyNatRuleCollectionActionResponseOutput {
+func (o IPConfigurationBgpPeeringAddressOutput) ToIPConfigurationBgpPeeringAddressOutput() IPConfigurationBgpPeeringAddressOutput {
return o
}
-func (o FirewallPolicyNatRuleCollectionActionResponseOutput) ToFirewallPolicyNatRuleCollectionActionResponseOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionActionResponseOutput {
+func (o IPConfigurationBgpPeeringAddressOutput) ToIPConfigurationBgpPeeringAddressOutputWithContext(ctx context.Context) IPConfigurationBgpPeeringAddressOutput {
return o
}
-// The type of action.
-func (o FirewallPolicyNatRuleCollectionActionResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleCollectionActionResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+// The list of custom BGP peering addresses which belong to IP configuration.
+func (o IPConfigurationBgpPeeringAddressOutput) CustomBgpIpAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IPConfigurationBgpPeeringAddress) []string { return v.CustomBgpIpAddresses }).(pulumi.StringArrayOutput)
}
-type FirewallPolicyNatRuleCollectionActionResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicyNatRuleCollectionActionResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyNatRuleCollectionActionResponse)(nil)).Elem()
+// The ID of IP configuration which belongs to gateway.
+func (o IPConfigurationBgpPeeringAddressOutput) IpconfigurationId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationBgpPeeringAddress) *string { return v.IpconfigurationId }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicyNatRuleCollectionActionResponsePtrOutput) ToFirewallPolicyNatRuleCollectionActionResponsePtrOutput() FirewallPolicyNatRuleCollectionActionResponsePtrOutput {
- return o
+type IPConfigurationBgpPeeringAddressArrayOutput struct{ *pulumi.OutputState }
+
+func (IPConfigurationBgpPeeringAddressArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IPConfigurationBgpPeeringAddress)(nil)).Elem()
}
-func (o FirewallPolicyNatRuleCollectionActionResponsePtrOutput) ToFirewallPolicyNatRuleCollectionActionResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionActionResponsePtrOutput {
+func (o IPConfigurationBgpPeeringAddressArrayOutput) ToIPConfigurationBgpPeeringAddressArrayOutput() IPConfigurationBgpPeeringAddressArrayOutput {
return o
}
-func (o FirewallPolicyNatRuleCollectionActionResponsePtrOutput) Elem() FirewallPolicyNatRuleCollectionActionResponseOutput {
- return o.ApplyT(func(v *FirewallPolicyNatRuleCollectionActionResponse) FirewallPolicyNatRuleCollectionActionResponse {
- if v != nil {
- return *v
- }
- var ret FirewallPolicyNatRuleCollectionActionResponse
- return ret
- }).(FirewallPolicyNatRuleCollectionActionResponseOutput)
+func (o IPConfigurationBgpPeeringAddressArrayOutput) ToIPConfigurationBgpPeeringAddressArrayOutputWithContext(ctx context.Context) IPConfigurationBgpPeeringAddressArrayOutput {
+ return o
}
-// The type of action.
-func (o FirewallPolicyNatRuleCollectionActionResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyNatRuleCollectionActionResponse) *string {
- if v == nil {
- return nil
- }
- return v.Type
- }).(pulumi.StringPtrOutput)
+func (o IPConfigurationBgpPeeringAddressArrayOutput) Index(i pulumi.IntInput) IPConfigurationBgpPeeringAddressOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationBgpPeeringAddress {
+ return vs[0].([]IPConfigurationBgpPeeringAddress)[vs[1].(int)]
+ }).(IPConfigurationBgpPeeringAddressOutput)
}
-// Firewall Policy NAT Rule Collection.
-type FirewallPolicyNatRuleCollectionResponse struct {
- // The action type of a Nat rule collection.
- Action *FirewallPolicyNatRuleCollectionActionResponse `pulumi:"action"`
- // The name of the rule collection.
- Name *string `pulumi:"name"`
- // Priority of the Firewall Policy Rule Collection resource.
- Priority *int `pulumi:"priority"`
- // The type of the rule collection.
- // Expected value is 'FirewallPolicyNatRuleCollection'.
- RuleCollectionType string `pulumi:"ruleCollectionType"`
- // List of rules included in a rule collection.
- Rules []interface{} `pulumi:"rules"`
+// Properties of IPConfigurationBgpPeeringAddress.
+type IPConfigurationBgpPeeringAddressResponse struct {
+ // The list of custom BGP peering addresses which belong to IP configuration.
+ CustomBgpIpAddresses []string `pulumi:"customBgpIpAddresses"`
+ // The list of default BGP peering addresses which belong to IP configuration.
+ DefaultBgpIpAddresses []string `pulumi:"defaultBgpIpAddresses"`
+ // The ID of IP configuration which belongs to gateway.
+ IpconfigurationId *string `pulumi:"ipconfigurationId"`
+ // The list of tunnel public IP addresses which belong to IP configuration.
+ TunnelIpAddresses []string `pulumi:"tunnelIpAddresses"`
}
-// Firewall Policy NAT Rule Collection.
-type FirewallPolicyNatRuleCollectionResponseOutput struct{ *pulumi.OutputState }
+// Properties of IPConfigurationBgpPeeringAddress.
+type IPConfigurationBgpPeeringAddressResponseOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyNatRuleCollectionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyNatRuleCollectionResponse)(nil)).Elem()
+func (IPConfigurationBgpPeeringAddressResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPConfigurationBgpPeeringAddressResponse)(nil)).Elem()
}
-func (o FirewallPolicyNatRuleCollectionResponseOutput) ToFirewallPolicyNatRuleCollectionResponseOutput() FirewallPolicyNatRuleCollectionResponseOutput {
+func (o IPConfigurationBgpPeeringAddressResponseOutput) ToIPConfigurationBgpPeeringAddressResponseOutput() IPConfigurationBgpPeeringAddressResponseOutput {
return o
}
-func (o FirewallPolicyNatRuleCollectionResponseOutput) ToFirewallPolicyNatRuleCollectionResponseOutputWithContext(ctx context.Context) FirewallPolicyNatRuleCollectionResponseOutput {
+func (o IPConfigurationBgpPeeringAddressResponseOutput) ToIPConfigurationBgpPeeringAddressResponseOutputWithContext(ctx context.Context) IPConfigurationBgpPeeringAddressResponseOutput {
return o
}
-// The action type of a Nat rule collection.
-func (o FirewallPolicyNatRuleCollectionResponseOutput) Action() FirewallPolicyNatRuleCollectionActionResponsePtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleCollectionResponse) *FirewallPolicyNatRuleCollectionActionResponse {
- return v.Action
- }).(FirewallPolicyNatRuleCollectionActionResponsePtrOutput)
-}
-
-// The name of the rule collection.
-func (o FirewallPolicyNatRuleCollectionResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleCollectionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-// Priority of the Firewall Policy Rule Collection resource.
-func (o FirewallPolicyNatRuleCollectionResponseOutput) Priority() pulumi.IntPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleCollectionResponse) *int { return v.Priority }).(pulumi.IntPtrOutput)
+// The list of custom BGP peering addresses which belong to IP configuration.
+func (o IPConfigurationBgpPeeringAddressResponseOutput) CustomBgpIpAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IPConfigurationBgpPeeringAddressResponse) []string { return v.CustomBgpIpAddresses }).(pulumi.StringArrayOutput)
}
-// The type of the rule collection.
-// Expected value is 'FirewallPolicyNatRuleCollection'.
-func (o FirewallPolicyNatRuleCollectionResponseOutput) RuleCollectionType() pulumi.StringOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleCollectionResponse) string { return v.RuleCollectionType }).(pulumi.StringOutput)
+// The list of default BGP peering addresses which belong to IP configuration.
+func (o IPConfigurationBgpPeeringAddressResponseOutput) DefaultBgpIpAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IPConfigurationBgpPeeringAddressResponse) []string { return v.DefaultBgpIpAddresses }).(pulumi.StringArrayOutput)
}
-// List of rules included in a rule collection.
-func (o FirewallPolicyNatRuleCollectionResponseOutput) Rules() pulumi.ArrayOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleCollectionResponse) []interface{} { return v.Rules }).(pulumi.ArrayOutput)
+// The ID of IP configuration which belongs to gateway.
+func (o IPConfigurationBgpPeeringAddressResponseOutput) IpconfigurationId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationBgpPeeringAddressResponse) *string { return v.IpconfigurationId }).(pulumi.StringPtrOutput)
}
-// Firewall Policy NAT Rule.
-type FirewallPolicyNatRuleResponse struct {
- // The action type of a Nat rule.
- Action *FirewallPolicyNatRuleActionResponse `pulumi:"action"`
- // The name of the rule.
- Name *string `pulumi:"name"`
- // Priority of the Firewall Policy Rule resource.
- Priority *int `pulumi:"priority"`
- // The match conditions for incoming traffic.
- RuleCondition interface{} `pulumi:"ruleCondition"`
- // The type of the rule.
- // Expected value is 'FirewallPolicyNatRule'.
- RuleType string `pulumi:"ruleType"`
- // The translated address for this NAT rule.
- TranslatedAddress *string `pulumi:"translatedAddress"`
- // The translated port for this NAT rule.
- TranslatedPort *string `pulumi:"translatedPort"`
+// The list of tunnel public IP addresses which belong to IP configuration.
+func (o IPConfigurationBgpPeeringAddressResponseOutput) TunnelIpAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IPConfigurationBgpPeeringAddressResponse) []string { return v.TunnelIpAddresses }).(pulumi.StringArrayOutput)
}
-// Firewall Policy NAT Rule.
-type FirewallPolicyNatRuleResponseOutput struct{ *pulumi.OutputState }
+type IPConfigurationBgpPeeringAddressResponseArrayOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyNatRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyNatRuleResponse)(nil)).Elem()
+func (IPConfigurationBgpPeeringAddressResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IPConfigurationBgpPeeringAddressResponse)(nil)).Elem()
}
-func (o FirewallPolicyNatRuleResponseOutput) ToFirewallPolicyNatRuleResponseOutput() FirewallPolicyNatRuleResponseOutput {
+func (o IPConfigurationBgpPeeringAddressResponseArrayOutput) ToIPConfigurationBgpPeeringAddressResponseArrayOutput() IPConfigurationBgpPeeringAddressResponseArrayOutput {
return o
}
-func (o FirewallPolicyNatRuleResponseOutput) ToFirewallPolicyNatRuleResponseOutputWithContext(ctx context.Context) FirewallPolicyNatRuleResponseOutput {
+func (o IPConfigurationBgpPeeringAddressResponseArrayOutput) ToIPConfigurationBgpPeeringAddressResponseArrayOutputWithContext(ctx context.Context) IPConfigurationBgpPeeringAddressResponseArrayOutput {
return o
}
-// The action type of a Nat rule.
-func (o FirewallPolicyNatRuleResponseOutput) Action() FirewallPolicyNatRuleActionResponsePtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleResponse) *FirewallPolicyNatRuleActionResponse { return v.Action }).(FirewallPolicyNatRuleActionResponsePtrOutput)
+func (o IPConfigurationBgpPeeringAddressResponseArrayOutput) Index(i pulumi.IntInput) IPConfigurationBgpPeeringAddressResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationBgpPeeringAddressResponse {
+ return vs[0].([]IPConfigurationBgpPeeringAddressResponse)[vs[1].(int)]
+ }).(IPConfigurationBgpPeeringAddressResponseOutput)
}
-// The name of the rule.
-func (o FirewallPolicyNatRuleResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// IP configuration
+type IPConfigurationInterfaceEndpointResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The private IP address of the IP configuration.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState *string `pulumi:"provisioningState"`
+ // The reference of the public IP resource.
+ PublicIPAddress *PublicIPAddressInterfaceEndpointResponse `pulumi:"publicIPAddress"`
+ // The reference of the subnet resource.
+ Subnet *SubnetResponse `pulumi:"subnet"`
}
-// Priority of the Firewall Policy Rule resource.
-func (o FirewallPolicyNatRuleResponseOutput) Priority() pulumi.IntPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleResponse) *int { return v.Priority }).(pulumi.IntPtrOutput)
+// Defaults sets the appropriate defaults for IPConfigurationInterfaceEndpointResponse
+func (val *IPConfigurationInterfaceEndpointResponse) Defaults() *IPConfigurationInterfaceEndpointResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
+
+ tmp.Subnet = tmp.Subnet.Defaults()
+
+ return &tmp
}
-// The match conditions for incoming traffic.
-func (o FirewallPolicyNatRuleResponseOutput) RuleCondition() pulumi.AnyOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleResponse) interface{} { return v.RuleCondition }).(pulumi.AnyOutput)
+// IP configuration
+type IPConfigurationInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
+
+func (IPConfigurationInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPConfigurationInterfaceEndpointResponse)(nil)).Elem()
}
-// The type of the rule.
-// Expected value is 'FirewallPolicyNatRule'.
-func (o FirewallPolicyNatRuleResponseOutput) RuleType() pulumi.StringOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleResponse) string { return v.RuleType }).(pulumi.StringOutput)
+func (o IPConfigurationInterfaceEndpointResponseOutput) ToIPConfigurationInterfaceEndpointResponseOutput() IPConfigurationInterfaceEndpointResponseOutput {
+ return o
}
-// The translated address for this NAT rule.
-func (o FirewallPolicyNatRuleResponseOutput) TranslatedAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleResponse) *string { return v.TranslatedAddress }).(pulumi.StringPtrOutput)
+func (o IPConfigurationInterfaceEndpointResponseOutput) ToIPConfigurationInterfaceEndpointResponseOutputWithContext(ctx context.Context) IPConfigurationInterfaceEndpointResponseOutput {
+ return o
}
-// The translated port for this NAT rule.
-func (o FirewallPolicyNatRuleResponseOutput) TranslatedPort() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyNatRuleResponse) *string { return v.TranslatedPort }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o IPConfigurationInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// Properties of the application rule protocol.
-type FirewallPolicyRuleApplicationProtocol struct {
- // Port number for the protocol, cannot be greater than 64000.
- Port *int `pulumi:"port"`
- // Protocol type.
- ProtocolType *string `pulumi:"protocolType"`
+// Resource ID.
+func (o IPConfigurationInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// FirewallPolicyRuleApplicationProtocolInput is an input type that accepts FirewallPolicyRuleApplicationProtocolArgs and FirewallPolicyRuleApplicationProtocolOutput values.
-// You can construct a concrete instance of `FirewallPolicyRuleApplicationProtocolInput` via:
-//
-// FirewallPolicyRuleApplicationProtocolArgs{...}
-type FirewallPolicyRuleApplicationProtocolInput interface {
- pulumi.Input
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o IPConfigurationInterfaceEndpointResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationInterfaceEndpointResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
- ToFirewallPolicyRuleApplicationProtocolOutput() FirewallPolicyRuleApplicationProtocolOutput
- ToFirewallPolicyRuleApplicationProtocolOutputWithContext(context.Context) FirewallPolicyRuleApplicationProtocolOutput
+// The private IP address of the IP configuration.
+func (o IPConfigurationInterfaceEndpointResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationInterfaceEndpointResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-// Properties of the application rule protocol.
-type FirewallPolicyRuleApplicationProtocolArgs struct {
- // Port number for the protocol, cannot be greater than 64000.
- Port pulumi.IntPtrInput `pulumi:"port"`
- // Protocol type.
- ProtocolType pulumi.StringPtrInput `pulumi:"protocolType"`
+// The private IP address allocation method.
+func (o IPConfigurationInterfaceEndpointResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationInterfaceEndpointResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-func (FirewallPolicyRuleApplicationProtocolArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyRuleApplicationProtocol)(nil)).Elem()
+// Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o IPConfigurationInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationInterfaceEndpointResponse) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-func (i FirewallPolicyRuleApplicationProtocolArgs) ToFirewallPolicyRuleApplicationProtocolOutput() FirewallPolicyRuleApplicationProtocolOutput {
- return i.ToFirewallPolicyRuleApplicationProtocolOutputWithContext(context.Background())
+// The reference of the public IP resource.
+func (o IPConfigurationInterfaceEndpointResponseOutput) PublicIPAddress() PublicIPAddressInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v IPConfigurationInterfaceEndpointResponse) *PublicIPAddressInterfaceEndpointResponse {
+ return v.PublicIPAddress
+ }).(PublicIPAddressInterfaceEndpointResponsePtrOutput)
}
-func (i FirewallPolicyRuleApplicationProtocolArgs) ToFirewallPolicyRuleApplicationProtocolOutputWithContext(ctx context.Context) FirewallPolicyRuleApplicationProtocolOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleApplicationProtocolOutput)
+// The reference of the subnet resource.
+func (o IPConfigurationInterfaceEndpointResponseOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v IPConfigurationInterfaceEndpointResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
}
-// FirewallPolicyRuleApplicationProtocolArrayInput is an input type that accepts FirewallPolicyRuleApplicationProtocolArray and FirewallPolicyRuleApplicationProtocolArrayOutput values.
-// You can construct a concrete instance of `FirewallPolicyRuleApplicationProtocolArrayInput` via:
-//
-// FirewallPolicyRuleApplicationProtocolArray{ FirewallPolicyRuleApplicationProtocolArgs{...} }
-type FirewallPolicyRuleApplicationProtocolArrayInput interface {
- pulumi.Input
+type IPConfigurationInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
- ToFirewallPolicyRuleApplicationProtocolArrayOutput() FirewallPolicyRuleApplicationProtocolArrayOutput
- ToFirewallPolicyRuleApplicationProtocolArrayOutputWithContext(context.Context) FirewallPolicyRuleApplicationProtocolArrayOutput
+func (IPConfigurationInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IPConfigurationInterfaceEndpointResponse)(nil)).Elem()
}
-type FirewallPolicyRuleApplicationProtocolArray []FirewallPolicyRuleApplicationProtocolInput
+func (o IPConfigurationInterfaceEndpointResponseArrayOutput) ToIPConfigurationInterfaceEndpointResponseArrayOutput() IPConfigurationInterfaceEndpointResponseArrayOutput {
+ return o
+}
-func (FirewallPolicyRuleApplicationProtocolArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyRuleApplicationProtocol)(nil)).Elem()
+func (o IPConfigurationInterfaceEndpointResponseArrayOutput) ToIPConfigurationInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) IPConfigurationInterfaceEndpointResponseArrayOutput {
+ return o
}
-func (i FirewallPolicyRuleApplicationProtocolArray) ToFirewallPolicyRuleApplicationProtocolArrayOutput() FirewallPolicyRuleApplicationProtocolArrayOutput {
- return i.ToFirewallPolicyRuleApplicationProtocolArrayOutputWithContext(context.Background())
+func (o IPConfigurationInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) IPConfigurationInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationInterfaceEndpointResponse {
+ return vs[0].([]IPConfigurationInterfaceEndpointResponse)[vs[1].(int)]
+ }).(IPConfigurationInterfaceEndpointResponseOutput)
}
-func (i FirewallPolicyRuleApplicationProtocolArray) ToFirewallPolicyRuleApplicationProtocolArrayOutputWithContext(ctx context.Context) FirewallPolicyRuleApplicationProtocolArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleApplicationProtocolArrayOutput)
+// IP configuration profile child resource.
+type IPConfigurationProfile struct {
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The reference to the subnet resource to create a container network interface ip configuration.
+ Subnet *SubnetType `pulumi:"subnet"`
}
-// Properties of the application rule protocol.
-type FirewallPolicyRuleApplicationProtocolOutput struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for IPConfigurationProfile
+func (val *IPConfigurationProfile) Defaults() *IPConfigurationProfile {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.Subnet = tmp.Subnet.Defaults()
-func (FirewallPolicyRuleApplicationProtocolOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyRuleApplicationProtocol)(nil)).Elem()
+ return &tmp
}
-func (o FirewallPolicyRuleApplicationProtocolOutput) ToFirewallPolicyRuleApplicationProtocolOutput() FirewallPolicyRuleApplicationProtocolOutput {
- return o
-}
+// IPConfigurationProfileInput is an input type that accepts IPConfigurationProfileArgs and IPConfigurationProfileOutput values.
+// You can construct a concrete instance of `IPConfigurationProfileInput` via:
+//
+// IPConfigurationProfileArgs{...}
+type IPConfigurationProfileInput interface {
+ pulumi.Input
-func (o FirewallPolicyRuleApplicationProtocolOutput) ToFirewallPolicyRuleApplicationProtocolOutputWithContext(ctx context.Context) FirewallPolicyRuleApplicationProtocolOutput {
- return o
+ ToIPConfigurationProfileOutput() IPConfigurationProfileOutput
+ ToIPConfigurationProfileOutputWithContext(context.Context) IPConfigurationProfileOutput
}
-// Port number for the protocol, cannot be greater than 64000.
-func (o FirewallPolicyRuleApplicationProtocolOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v FirewallPolicyRuleApplicationProtocol) *int { return v.Port }).(pulumi.IntPtrOutput)
+// IP configuration profile child resource.
+type IPConfigurationProfileArgs struct {
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The name of the resource. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The reference to the subnet resource to create a container network interface ip configuration.
+ Subnet SubnetTypePtrInput `pulumi:"subnet"`
}
-// Protocol type.
-func (o FirewallPolicyRuleApplicationProtocolOutput) ProtocolType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyRuleApplicationProtocol) *string { return v.ProtocolType }).(pulumi.StringPtrOutput)
+// Defaults sets the appropriate defaults for IPConfigurationProfileArgs
+func (val *IPConfigurationProfileArgs) Defaults() *IPConfigurationProfileArgs {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+
+ return &tmp
+}
+func (IPConfigurationProfileArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPConfigurationProfile)(nil)).Elem()
}
-type FirewallPolicyRuleApplicationProtocolArrayOutput struct{ *pulumi.OutputState }
+func (i IPConfigurationProfileArgs) ToIPConfigurationProfileOutput() IPConfigurationProfileOutput {
+ return i.ToIPConfigurationProfileOutputWithContext(context.Background())
+}
-func (FirewallPolicyRuleApplicationProtocolArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyRuleApplicationProtocol)(nil)).Elem()
+func (i IPConfigurationProfileArgs) ToIPConfigurationProfileOutputWithContext(ctx context.Context) IPConfigurationProfileOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(IPConfigurationProfileOutput)
}
-func (o FirewallPolicyRuleApplicationProtocolArrayOutput) ToFirewallPolicyRuleApplicationProtocolArrayOutput() FirewallPolicyRuleApplicationProtocolArrayOutput {
- return o
+// IPConfigurationProfileArrayInput is an input type that accepts IPConfigurationProfileArray and IPConfigurationProfileArrayOutput values.
+// You can construct a concrete instance of `IPConfigurationProfileArrayInput` via:
+//
+// IPConfigurationProfileArray{ IPConfigurationProfileArgs{...} }
+type IPConfigurationProfileArrayInput interface {
+ pulumi.Input
+
+ ToIPConfigurationProfileArrayOutput() IPConfigurationProfileArrayOutput
+ ToIPConfigurationProfileArrayOutputWithContext(context.Context) IPConfigurationProfileArrayOutput
}
-func (o FirewallPolicyRuleApplicationProtocolArrayOutput) ToFirewallPolicyRuleApplicationProtocolArrayOutputWithContext(ctx context.Context) FirewallPolicyRuleApplicationProtocolArrayOutput {
- return o
+type IPConfigurationProfileArray []IPConfigurationProfileInput
+
+func (IPConfigurationProfileArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IPConfigurationProfile)(nil)).Elem()
}
-func (o FirewallPolicyRuleApplicationProtocolArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleApplicationProtocolOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleApplicationProtocol {
- return vs[0].([]FirewallPolicyRuleApplicationProtocol)[vs[1].(int)]
- }).(FirewallPolicyRuleApplicationProtocolOutput)
+func (i IPConfigurationProfileArray) ToIPConfigurationProfileArrayOutput() IPConfigurationProfileArrayOutput {
+ return i.ToIPConfigurationProfileArrayOutputWithContext(context.Background())
}
-// Properties of the application rule protocol.
-type FirewallPolicyRuleApplicationProtocolResponse struct {
- // Port number for the protocol, cannot be greater than 64000.
- Port *int `pulumi:"port"`
- // Protocol type.
- ProtocolType *string `pulumi:"protocolType"`
+func (i IPConfigurationProfileArray) ToIPConfigurationProfileArrayOutputWithContext(ctx context.Context) IPConfigurationProfileArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(IPConfigurationProfileArrayOutput)
}
-// Properties of the application rule protocol.
-type FirewallPolicyRuleApplicationProtocolResponseOutput struct{ *pulumi.OutputState }
+// IP configuration profile child resource.
+type IPConfigurationProfileOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyRuleApplicationProtocolResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyRuleApplicationProtocolResponse)(nil)).Elem()
+func (IPConfigurationProfileOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPConfigurationProfile)(nil)).Elem()
}
-func (o FirewallPolicyRuleApplicationProtocolResponseOutput) ToFirewallPolicyRuleApplicationProtocolResponseOutput() FirewallPolicyRuleApplicationProtocolResponseOutput {
+func (o IPConfigurationProfileOutput) ToIPConfigurationProfileOutput() IPConfigurationProfileOutput {
return o
}
-func (o FirewallPolicyRuleApplicationProtocolResponseOutput) ToFirewallPolicyRuleApplicationProtocolResponseOutputWithContext(ctx context.Context) FirewallPolicyRuleApplicationProtocolResponseOutput {
+func (o IPConfigurationProfileOutput) ToIPConfigurationProfileOutputWithContext(ctx context.Context) IPConfigurationProfileOutput {
return o
}
-// Port number for the protocol, cannot be greater than 64000.
-func (o FirewallPolicyRuleApplicationProtocolResponseOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v FirewallPolicyRuleApplicationProtocolResponse) *int { return v.Port }).(pulumi.IntPtrOutput)
+// Resource ID.
+func (o IPConfigurationProfileOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationProfile) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Protocol type.
-func (o FirewallPolicyRuleApplicationProtocolResponseOutput) ProtocolType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyRuleApplicationProtocolResponse) *string { return v.ProtocolType }).(pulumi.StringPtrOutput)
+// The name of the resource. This name can be used to access the resource.
+func (o IPConfigurationProfileOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationProfile) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-type FirewallPolicyRuleApplicationProtocolResponseArrayOutput struct{ *pulumi.OutputState }
+// The reference to the subnet resource to create a container network interface ip configuration.
+func (o IPConfigurationProfileOutput) Subnet() SubnetTypePtrOutput {
+ return o.ApplyT(func(v IPConfigurationProfile) *SubnetType { return v.Subnet }).(SubnetTypePtrOutput)
+}
-func (FirewallPolicyRuleApplicationProtocolResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyRuleApplicationProtocolResponse)(nil)).Elem()
+type IPConfigurationProfileArrayOutput struct{ *pulumi.OutputState }
+
+func (IPConfigurationProfileArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IPConfigurationProfile)(nil)).Elem()
}
-func (o FirewallPolicyRuleApplicationProtocolResponseArrayOutput) ToFirewallPolicyRuleApplicationProtocolResponseArrayOutput() FirewallPolicyRuleApplicationProtocolResponseArrayOutput {
+func (o IPConfigurationProfileArrayOutput) ToIPConfigurationProfileArrayOutput() IPConfigurationProfileArrayOutput {
return o
}
-func (o FirewallPolicyRuleApplicationProtocolResponseArrayOutput) ToFirewallPolicyRuleApplicationProtocolResponseArrayOutputWithContext(ctx context.Context) FirewallPolicyRuleApplicationProtocolResponseArrayOutput {
+func (o IPConfigurationProfileArrayOutput) ToIPConfigurationProfileArrayOutputWithContext(ctx context.Context) IPConfigurationProfileArrayOutput {
return o
}
-func (o FirewallPolicyRuleApplicationProtocolResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleApplicationProtocolResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleApplicationProtocolResponse {
- return vs[0].([]FirewallPolicyRuleApplicationProtocolResponse)[vs[1].(int)]
- }).(FirewallPolicyRuleApplicationProtocolResponseOutput)
+func (o IPConfigurationProfileArrayOutput) Index(i pulumi.IntInput) IPConfigurationProfileOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationProfile {
+ return vs[0].([]IPConfigurationProfile)[vs[1].(int)]
+ }).(IPConfigurationProfileOutput)
}
-// Properties of the application rule protocol.
-type FirewallPolicyRuleConditionApplicationProtocol struct {
- // Port number for the protocol, cannot be greater than 64000.
- Port *int `pulumi:"port"`
- // Protocol type.
- ProtocolType *string `pulumi:"protocolType"`
+// IP configuration profile child resource.
+type IPConfigurationProfileInterfaceEndpointResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The reference of the subnet resource to create a container network interface ip configuration.
+ Subnet *SubnetResponse `pulumi:"subnet"`
+ // Sub Resource type.
+ Type string `pulumi:"type"`
}
-// FirewallPolicyRuleConditionApplicationProtocolInput is an input type that accepts FirewallPolicyRuleConditionApplicationProtocolArgs and FirewallPolicyRuleConditionApplicationProtocolOutput values.
-// You can construct a concrete instance of `FirewallPolicyRuleConditionApplicationProtocolInput` via:
-//
-// FirewallPolicyRuleConditionApplicationProtocolArgs{...}
-type FirewallPolicyRuleConditionApplicationProtocolInput interface {
- pulumi.Input
+// Defaults sets the appropriate defaults for IPConfigurationProfileInterfaceEndpointResponse
+func (val *IPConfigurationProfileInterfaceEndpointResponse) Defaults() *IPConfigurationProfileInterfaceEndpointResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.Subnet = tmp.Subnet.Defaults()
- ToFirewallPolicyRuleConditionApplicationProtocolOutput() FirewallPolicyRuleConditionApplicationProtocolOutput
- ToFirewallPolicyRuleConditionApplicationProtocolOutputWithContext(context.Context) FirewallPolicyRuleConditionApplicationProtocolOutput
+ return &tmp
}
-// Properties of the application rule protocol.
-type FirewallPolicyRuleConditionApplicationProtocolArgs struct {
- // Port number for the protocol, cannot be greater than 64000.
- Port pulumi.IntPtrInput `pulumi:"port"`
- // Protocol type.
- ProtocolType pulumi.StringPtrInput `pulumi:"protocolType"`
-}
+// IP configuration profile child resource.
+type IPConfigurationProfileInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyRuleConditionApplicationProtocolArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyRuleConditionApplicationProtocol)(nil)).Elem()
+func (IPConfigurationProfileInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPConfigurationProfileInterfaceEndpointResponse)(nil)).Elem()
}
-func (i FirewallPolicyRuleConditionApplicationProtocolArgs) ToFirewallPolicyRuleConditionApplicationProtocolOutput() FirewallPolicyRuleConditionApplicationProtocolOutput {
- return i.ToFirewallPolicyRuleConditionApplicationProtocolOutputWithContext(context.Background())
+func (o IPConfigurationProfileInterfaceEndpointResponseOutput) ToIPConfigurationProfileInterfaceEndpointResponseOutput() IPConfigurationProfileInterfaceEndpointResponseOutput {
+ return o
}
-func (i FirewallPolicyRuleConditionApplicationProtocolArgs) ToFirewallPolicyRuleConditionApplicationProtocolOutputWithContext(ctx context.Context) FirewallPolicyRuleConditionApplicationProtocolOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleConditionApplicationProtocolOutput)
+func (o IPConfigurationProfileInterfaceEndpointResponseOutput) ToIPConfigurationProfileInterfaceEndpointResponseOutputWithContext(ctx context.Context) IPConfigurationProfileInterfaceEndpointResponseOutput {
+ return o
}
-// FirewallPolicyRuleConditionApplicationProtocolArrayInput is an input type that accepts FirewallPolicyRuleConditionApplicationProtocolArray and FirewallPolicyRuleConditionApplicationProtocolArrayOutput values.
-// You can construct a concrete instance of `FirewallPolicyRuleConditionApplicationProtocolArrayInput` via:
-//
-// FirewallPolicyRuleConditionApplicationProtocolArray{ FirewallPolicyRuleConditionApplicationProtocolArgs{...} }
-type FirewallPolicyRuleConditionApplicationProtocolArrayInput interface {
- pulumi.Input
+// A unique read-only string that changes whenever the resource is updated.
+func (o IPConfigurationProfileInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationProfileInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
+}
- ToFirewallPolicyRuleConditionApplicationProtocolArrayOutput() FirewallPolicyRuleConditionApplicationProtocolArrayOutput
- ToFirewallPolicyRuleConditionApplicationProtocolArrayOutputWithContext(context.Context) FirewallPolicyRuleConditionApplicationProtocolArrayOutput
+// Resource ID.
+func (o IPConfigurationProfileInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationProfileInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-type FirewallPolicyRuleConditionApplicationProtocolArray []FirewallPolicyRuleConditionApplicationProtocolInput
+// The name of the resource. This name can be used to access the resource.
+func (o IPConfigurationProfileInterfaceEndpointResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationProfileInterfaceEndpointResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
-func (FirewallPolicyRuleConditionApplicationProtocolArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyRuleConditionApplicationProtocol)(nil)).Elem()
+// The provisioning state of the resource.
+func (o IPConfigurationProfileInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationProfileInterfaceEndpointResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i FirewallPolicyRuleConditionApplicationProtocolArray) ToFirewallPolicyRuleConditionApplicationProtocolArrayOutput() FirewallPolicyRuleConditionApplicationProtocolArrayOutput {
- return i.ToFirewallPolicyRuleConditionApplicationProtocolArrayOutputWithContext(context.Background())
+// The reference of the subnet resource to create a container network interface ip configuration.
+func (o IPConfigurationProfileInterfaceEndpointResponseOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v IPConfigurationProfileInterfaceEndpointResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
}
-func (i FirewallPolicyRuleConditionApplicationProtocolArray) ToFirewallPolicyRuleConditionApplicationProtocolArrayOutputWithContext(ctx context.Context) FirewallPolicyRuleConditionApplicationProtocolArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleConditionApplicationProtocolArrayOutput)
+// Sub Resource type.
+func (o IPConfigurationProfileInterfaceEndpointResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationProfileInterfaceEndpointResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Properties of the application rule protocol.
-type FirewallPolicyRuleConditionApplicationProtocolOutput struct{ *pulumi.OutputState }
+type IPConfigurationProfileInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyRuleConditionApplicationProtocolOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyRuleConditionApplicationProtocol)(nil)).Elem()
+func (IPConfigurationProfileInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IPConfigurationProfileInterfaceEndpointResponse)(nil)).Elem()
}
-func (o FirewallPolicyRuleConditionApplicationProtocolOutput) ToFirewallPolicyRuleConditionApplicationProtocolOutput() FirewallPolicyRuleConditionApplicationProtocolOutput {
+func (o IPConfigurationProfileInterfaceEndpointResponseArrayOutput) ToIPConfigurationProfileInterfaceEndpointResponseArrayOutput() IPConfigurationProfileInterfaceEndpointResponseArrayOutput {
return o
}
-func (o FirewallPolicyRuleConditionApplicationProtocolOutput) ToFirewallPolicyRuleConditionApplicationProtocolOutputWithContext(ctx context.Context) FirewallPolicyRuleConditionApplicationProtocolOutput {
+func (o IPConfigurationProfileInterfaceEndpointResponseArrayOutput) ToIPConfigurationProfileInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) IPConfigurationProfileInterfaceEndpointResponseArrayOutput {
return o
}
-// Port number for the protocol, cannot be greater than 64000.
-func (o FirewallPolicyRuleConditionApplicationProtocolOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v FirewallPolicyRuleConditionApplicationProtocol) *int { return v.Port }).(pulumi.IntPtrOutput)
+func (o IPConfigurationProfileInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) IPConfigurationProfileInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationProfileInterfaceEndpointResponse {
+ return vs[0].([]IPConfigurationProfileInterfaceEndpointResponse)[vs[1].(int)]
+ }).(IPConfigurationProfileInterfaceEndpointResponseOutput)
}
-// Protocol type.
-func (o FirewallPolicyRuleConditionApplicationProtocolOutput) ProtocolType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyRuleConditionApplicationProtocol) *string { return v.ProtocolType }).(pulumi.StringPtrOutput)
+// IP configuration profile child resource.
+type IPConfigurationProfileResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the IP configuration profile resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The reference to the subnet resource to create a container network interface ip configuration.
+ Subnet *SubnetResponse `pulumi:"subnet"`
+ // Sub Resource type.
+ Type string `pulumi:"type"`
}
-type FirewallPolicyRuleConditionApplicationProtocolArrayOutput struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for IPConfigurationProfileResponse
+func (val *IPConfigurationProfileResponse) Defaults() *IPConfigurationProfileResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.Subnet = tmp.Subnet.Defaults()
-func (FirewallPolicyRuleConditionApplicationProtocolArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyRuleConditionApplicationProtocol)(nil)).Elem()
+ return &tmp
}
-func (o FirewallPolicyRuleConditionApplicationProtocolArrayOutput) ToFirewallPolicyRuleConditionApplicationProtocolArrayOutput() FirewallPolicyRuleConditionApplicationProtocolArrayOutput {
- return o
+// IP configuration profile child resource.
+type IPConfigurationProfileResponseOutput struct{ *pulumi.OutputState }
+
+func (IPConfigurationProfileResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPConfigurationProfileResponse)(nil)).Elem()
}
-func (o FirewallPolicyRuleConditionApplicationProtocolArrayOutput) ToFirewallPolicyRuleConditionApplicationProtocolArrayOutputWithContext(ctx context.Context) FirewallPolicyRuleConditionApplicationProtocolArrayOutput {
+func (o IPConfigurationProfileResponseOutput) ToIPConfigurationProfileResponseOutput() IPConfigurationProfileResponseOutput {
return o
}
-func (o FirewallPolicyRuleConditionApplicationProtocolArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleConditionApplicationProtocolOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleConditionApplicationProtocol {
- return vs[0].([]FirewallPolicyRuleConditionApplicationProtocol)[vs[1].(int)]
- }).(FirewallPolicyRuleConditionApplicationProtocolOutput)
+func (o IPConfigurationProfileResponseOutput) ToIPConfigurationProfileResponseOutputWithContext(ctx context.Context) IPConfigurationProfileResponseOutput {
+ return o
}
-// Properties of the application rule protocol.
-type FirewallPolicyRuleConditionApplicationProtocolResponse struct {
- // Port number for the protocol, cannot be greater than 64000.
- Port *int `pulumi:"port"`
- // Protocol type.
- ProtocolType *string `pulumi:"protocolType"`
+// A unique read-only string that changes whenever the resource is updated.
+func (o IPConfigurationProfileResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationProfileResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Properties of the application rule protocol.
-type FirewallPolicyRuleConditionApplicationProtocolResponseOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicyRuleConditionApplicationProtocolResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyRuleConditionApplicationProtocolResponse)(nil)).Elem()
+// Resource ID.
+func (o IPConfigurationProfileResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationProfileResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicyRuleConditionApplicationProtocolResponseOutput) ToFirewallPolicyRuleConditionApplicationProtocolResponseOutput() FirewallPolicyRuleConditionApplicationProtocolResponseOutput {
- return o
+// The name of the resource. This name can be used to access the resource.
+func (o IPConfigurationProfileResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationProfileResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicyRuleConditionApplicationProtocolResponseOutput) ToFirewallPolicyRuleConditionApplicationProtocolResponseOutputWithContext(ctx context.Context) FirewallPolicyRuleConditionApplicationProtocolResponseOutput {
- return o
+// The provisioning state of the IP configuration profile resource.
+func (o IPConfigurationProfileResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationProfileResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Port number for the protocol, cannot be greater than 64000.
-func (o FirewallPolicyRuleConditionApplicationProtocolResponseOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v FirewallPolicyRuleConditionApplicationProtocolResponse) *int { return v.Port }).(pulumi.IntPtrOutput)
+// The reference to the subnet resource to create a container network interface ip configuration.
+func (o IPConfigurationProfileResponseOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v IPConfigurationProfileResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
}
-// Protocol type.
-func (o FirewallPolicyRuleConditionApplicationProtocolResponseOutput) ProtocolType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicyRuleConditionApplicationProtocolResponse) *string { return v.ProtocolType }).(pulumi.StringPtrOutput)
+// Sub Resource type.
+func (o IPConfigurationProfileResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationProfileResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type FirewallPolicyRuleConditionApplicationProtocolResponseArrayOutput struct{ *pulumi.OutputState }
+type IPConfigurationProfileResponseArrayOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyRuleConditionApplicationProtocolResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FirewallPolicyRuleConditionApplicationProtocolResponse)(nil)).Elem()
+func (IPConfigurationProfileResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IPConfigurationProfileResponse)(nil)).Elem()
}
-func (o FirewallPolicyRuleConditionApplicationProtocolResponseArrayOutput) ToFirewallPolicyRuleConditionApplicationProtocolResponseArrayOutput() FirewallPolicyRuleConditionApplicationProtocolResponseArrayOutput {
+func (o IPConfigurationProfileResponseArrayOutput) ToIPConfigurationProfileResponseArrayOutput() IPConfigurationProfileResponseArrayOutput {
return o
}
-func (o FirewallPolicyRuleConditionApplicationProtocolResponseArrayOutput) ToFirewallPolicyRuleConditionApplicationProtocolResponseArrayOutputWithContext(ctx context.Context) FirewallPolicyRuleConditionApplicationProtocolResponseArrayOutput {
+func (o IPConfigurationProfileResponseArrayOutput) ToIPConfigurationProfileResponseArrayOutputWithContext(ctx context.Context) IPConfigurationProfileResponseArrayOutput {
return o
}
-func (o FirewallPolicyRuleConditionApplicationProtocolResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleConditionApplicationProtocolResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleConditionApplicationProtocolResponse {
- return vs[0].([]FirewallPolicyRuleConditionApplicationProtocolResponse)[vs[1].(int)]
- }).(FirewallPolicyRuleConditionApplicationProtocolResponseOutput)
+func (o IPConfigurationProfileResponseArrayOutput) Index(i pulumi.IntInput) IPConfigurationProfileResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationProfileResponse {
+ return vs[0].([]IPConfigurationProfileResponse)[vs[1].(int)]
+ }).(IPConfigurationProfileResponseOutput)
}
-// The private IP addresses/IP ranges to which traffic will not be SNAT.
-type FirewallPolicySNAT struct {
- // The operation mode for automatically learning private ranges to not be SNAT
- AutoLearnPrivateRanges *string `pulumi:"autoLearnPrivateRanges"`
- // List of private IP addresses/IP address ranges to not be SNAT.
- PrivateRanges []string `pulumi:"privateRanges"`
+// IP configuration profile child resource.
+type IPConfigurationProfileServiceGatewayResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the IP configuration profile resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The reference to the subnet resource to create a container network interface ip configuration.
+ Subnet *SubnetServiceGatewayResponse `pulumi:"subnet"`
+ // Sub Resource type.
+ Type string `pulumi:"type"`
}
-// FirewallPolicySNATInput is an input type that accepts FirewallPolicySNATArgs and FirewallPolicySNATOutput values.
-// You can construct a concrete instance of `FirewallPolicySNATInput` via:
-//
-// FirewallPolicySNATArgs{...}
-type FirewallPolicySNATInput interface {
- pulumi.Input
+// Defaults sets the appropriate defaults for IPConfigurationProfileServiceGatewayResponse
+func (val *IPConfigurationProfileServiceGatewayResponse) Defaults() *IPConfigurationProfileServiceGatewayResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.Subnet = tmp.Subnet.Defaults()
- ToFirewallPolicySNATOutput() FirewallPolicySNATOutput
- ToFirewallPolicySNATOutputWithContext(context.Context) FirewallPolicySNATOutput
+ return &tmp
}
-// The private IP addresses/IP ranges to which traffic will not be SNAT.
-type FirewallPolicySNATArgs struct {
- // The operation mode for automatically learning private ranges to not be SNAT
- AutoLearnPrivateRanges pulumi.StringPtrInput `pulumi:"autoLearnPrivateRanges"`
- // List of private IP addresses/IP address ranges to not be SNAT.
- PrivateRanges pulumi.StringArrayInput `pulumi:"privateRanges"`
-}
+// IP configuration profile child resource.
+type IPConfigurationProfileServiceGatewayResponseOutput struct{ *pulumi.OutputState }
-func (FirewallPolicySNATArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicySNAT)(nil)).Elem()
+func (IPConfigurationProfileServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPConfigurationProfileServiceGatewayResponse)(nil)).Elem()
}
-func (i FirewallPolicySNATArgs) ToFirewallPolicySNATOutput() FirewallPolicySNATOutput {
- return i.ToFirewallPolicySNATOutputWithContext(context.Background())
+func (o IPConfigurationProfileServiceGatewayResponseOutput) ToIPConfigurationProfileServiceGatewayResponseOutput() IPConfigurationProfileServiceGatewayResponseOutput {
+ return o
}
-func (i FirewallPolicySNATArgs) ToFirewallPolicySNATOutputWithContext(ctx context.Context) FirewallPolicySNATOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySNATOutput)
+func (o IPConfigurationProfileServiceGatewayResponseOutput) ToIPConfigurationProfileServiceGatewayResponseOutputWithContext(ctx context.Context) IPConfigurationProfileServiceGatewayResponseOutput {
+ return o
}
-func (i FirewallPolicySNATArgs) ToFirewallPolicySNATPtrOutput() FirewallPolicySNATPtrOutput {
- return i.ToFirewallPolicySNATPtrOutputWithContext(context.Background())
+// A unique read-only string that changes whenever the resource is updated.
+func (o IPConfigurationProfileServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationProfileServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (i FirewallPolicySNATArgs) ToFirewallPolicySNATPtrOutputWithContext(ctx context.Context) FirewallPolicySNATPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySNATOutput).ToFirewallPolicySNATPtrOutputWithContext(ctx)
+// Resource ID.
+func (o IPConfigurationProfileServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationProfileServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// FirewallPolicySNATPtrInput is an input type that accepts FirewallPolicySNATArgs, FirewallPolicySNATPtr and FirewallPolicySNATPtrOutput values.
-// You can construct a concrete instance of `FirewallPolicySNATPtrInput` via:
-//
-// FirewallPolicySNATArgs{...}
-//
-// or:
-//
-// nil
-type FirewallPolicySNATPtrInput interface {
- pulumi.Input
+// The name of the resource. This name can be used to access the resource.
+func (o IPConfigurationProfileServiceGatewayResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationProfileServiceGatewayResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
- ToFirewallPolicySNATPtrOutput() FirewallPolicySNATPtrOutput
- ToFirewallPolicySNATPtrOutputWithContext(context.Context) FirewallPolicySNATPtrOutput
+// The provisioning state of the IP configuration profile resource.
+func (o IPConfigurationProfileServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationProfileServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-type firewallPolicySNATPtrType FirewallPolicySNATArgs
+// The reference to the subnet resource to create a container network interface ip configuration.
+func (o IPConfigurationProfileServiceGatewayResponseOutput) Subnet() SubnetServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v IPConfigurationProfileServiceGatewayResponse) *SubnetServiceGatewayResponse { return v.Subnet }).(SubnetServiceGatewayResponsePtrOutput)
+}
-func FirewallPolicySNATPtr(v *FirewallPolicySNATArgs) FirewallPolicySNATPtrInput {
- return (*firewallPolicySNATPtrType)(v)
+// Sub Resource type.
+func (o IPConfigurationProfileServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationProfileServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (*firewallPolicySNATPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicySNAT)(nil)).Elem()
+type IPConfigurationProfileServiceGatewayResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (IPConfigurationProfileServiceGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IPConfigurationProfileServiceGatewayResponse)(nil)).Elem()
}
-func (i *firewallPolicySNATPtrType) ToFirewallPolicySNATPtrOutput() FirewallPolicySNATPtrOutput {
- return i.ToFirewallPolicySNATPtrOutputWithContext(context.Background())
+func (o IPConfigurationProfileServiceGatewayResponseArrayOutput) ToIPConfigurationProfileServiceGatewayResponseArrayOutput() IPConfigurationProfileServiceGatewayResponseArrayOutput {
+ return o
}
-func (i *firewallPolicySNATPtrType) ToFirewallPolicySNATPtrOutputWithContext(ctx context.Context) FirewallPolicySNATPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySNATPtrOutput)
+func (o IPConfigurationProfileServiceGatewayResponseArrayOutput) ToIPConfigurationProfileServiceGatewayResponseArrayOutputWithContext(ctx context.Context) IPConfigurationProfileServiceGatewayResponseArrayOutput {
+ return o
}
-// The private IP addresses/IP ranges to which traffic will not be SNAT.
-type FirewallPolicySNATOutput struct{ *pulumi.OutputState }
+func (o IPConfigurationProfileServiceGatewayResponseArrayOutput) Index(i pulumi.IntInput) IPConfigurationProfileServiceGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationProfileServiceGatewayResponse {
+ return vs[0].([]IPConfigurationProfileServiceGatewayResponse)[vs[1].(int)]
+ }).(IPConfigurationProfileServiceGatewayResponseOutput)
+}
-func (FirewallPolicySNATOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicySNAT)(nil)).Elem()
+// IP configuration profile child resource.
+type IPConfigurationProfileVirtualNetworkApplianceResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the IP configuration profile resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The reference to the subnet resource to create a container network interface ip configuration.
+ Subnet *SubnetVirtualNetworkApplianceResponse `pulumi:"subnet"`
+ // Sub Resource type.
+ Type string `pulumi:"type"`
}
-func (o FirewallPolicySNATOutput) ToFirewallPolicySNATOutput() FirewallPolicySNATOutput {
+// Defaults sets the appropriate defaults for IPConfigurationProfileVirtualNetworkApplianceResponse
+func (val *IPConfigurationProfileVirtualNetworkApplianceResponse) Defaults() *IPConfigurationProfileVirtualNetworkApplianceResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.Subnet = tmp.Subnet.Defaults()
+
+ return &tmp
+}
+
+// IP configuration profile child resource.
+type IPConfigurationProfileVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
+
+func (IPConfigurationProfileVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPConfigurationProfileVirtualNetworkApplianceResponse)(nil)).Elem()
+}
+
+func (o IPConfigurationProfileVirtualNetworkApplianceResponseOutput) ToIPConfigurationProfileVirtualNetworkApplianceResponseOutput() IPConfigurationProfileVirtualNetworkApplianceResponseOutput {
return o
}
-func (o FirewallPolicySNATOutput) ToFirewallPolicySNATOutputWithContext(ctx context.Context) FirewallPolicySNATOutput {
+func (o IPConfigurationProfileVirtualNetworkApplianceResponseOutput) ToIPConfigurationProfileVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) IPConfigurationProfileVirtualNetworkApplianceResponseOutput {
return o
}
-func (o FirewallPolicySNATOutput) ToFirewallPolicySNATPtrOutput() FirewallPolicySNATPtrOutput {
- return o.ToFirewallPolicySNATPtrOutputWithContext(context.Background())
+// A unique read-only string that changes whenever the resource is updated.
+func (o IPConfigurationProfileVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationProfileVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (o FirewallPolicySNATOutput) ToFirewallPolicySNATPtrOutputWithContext(ctx context.Context) FirewallPolicySNATPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicySNAT) *FirewallPolicySNAT {
- return &v
- }).(FirewallPolicySNATPtrOutput)
+// Resource ID.
+func (o IPConfigurationProfileVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationProfileVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The operation mode for automatically learning private ranges to not be SNAT
-func (o FirewallPolicySNATOutput) AutoLearnPrivateRanges() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicySNAT) *string { return v.AutoLearnPrivateRanges }).(pulumi.StringPtrOutput)
+// The name of the resource. This name can be used to access the resource.
+func (o IPConfigurationProfileVirtualNetworkApplianceResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationProfileVirtualNetworkApplianceResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// List of private IP addresses/IP address ranges to not be SNAT.
-func (o FirewallPolicySNATOutput) PrivateRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicySNAT) []string { return v.PrivateRanges }).(pulumi.StringArrayOutput)
+// The provisioning state of the IP configuration profile resource.
+func (o IPConfigurationProfileVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationProfileVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-type FirewallPolicySNATPtrOutput struct{ *pulumi.OutputState }
+// The reference to the subnet resource to create a container network interface ip configuration.
+func (o IPConfigurationProfileVirtualNetworkApplianceResponseOutput) Subnet() SubnetVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v IPConfigurationProfileVirtualNetworkApplianceResponse) *SubnetVirtualNetworkApplianceResponse {
+ return v.Subnet
+ }).(SubnetVirtualNetworkApplianceResponsePtrOutput)
+}
-func (FirewallPolicySNATPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicySNAT)(nil)).Elem()
+// Sub Resource type.
+func (o IPConfigurationProfileVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationProfileVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (o FirewallPolicySNATPtrOutput) ToFirewallPolicySNATPtrOutput() FirewallPolicySNATPtrOutput {
- return o
+type IPConfigurationProfileVirtualNetworkApplianceResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (IPConfigurationProfileVirtualNetworkApplianceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IPConfigurationProfileVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o FirewallPolicySNATPtrOutput) ToFirewallPolicySNATPtrOutputWithContext(ctx context.Context) FirewallPolicySNATPtrOutput {
+func (o IPConfigurationProfileVirtualNetworkApplianceResponseArrayOutput) ToIPConfigurationProfileVirtualNetworkApplianceResponseArrayOutput() IPConfigurationProfileVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o FirewallPolicySNATPtrOutput) Elem() FirewallPolicySNATOutput {
- return o.ApplyT(func(v *FirewallPolicySNAT) FirewallPolicySNAT {
- if v != nil {
- return *v
- }
- var ret FirewallPolicySNAT
- return ret
- }).(FirewallPolicySNATOutput)
+func (o IPConfigurationProfileVirtualNetworkApplianceResponseArrayOutput) ToIPConfigurationProfileVirtualNetworkApplianceResponseArrayOutputWithContext(ctx context.Context) IPConfigurationProfileVirtualNetworkApplianceResponseArrayOutput {
+ return o
}
-// The operation mode for automatically learning private ranges to not be SNAT
-func (o FirewallPolicySNATPtrOutput) AutoLearnPrivateRanges() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicySNAT) *string {
- if v == nil {
- return nil
- }
- return v.AutoLearnPrivateRanges
- }).(pulumi.StringPtrOutput)
+func (o IPConfigurationProfileVirtualNetworkApplianceResponseArrayOutput) Index(i pulumi.IntInput) IPConfigurationProfileVirtualNetworkApplianceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationProfileVirtualNetworkApplianceResponse {
+ return vs[0].([]IPConfigurationProfileVirtualNetworkApplianceResponse)[vs[1].(int)]
+ }).(IPConfigurationProfileVirtualNetworkApplianceResponseOutput)
}
-// List of private IP addresses/IP address ranges to not be SNAT.
-func (o FirewallPolicySNATPtrOutput) PrivateRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *FirewallPolicySNAT) []string {
- if v == nil {
- return nil
- }
- return v.PrivateRanges
- }).(pulumi.StringArrayOutput)
+// IP configuration.
+type IPConfigurationResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The private IP address of the IP configuration.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // The provisioning state of the IP configuration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The reference to the public IP resource.
+ PublicIPAddress *PublicIPAddressResponse `pulumi:"publicIPAddress"`
+ // The reference to the subnet resource.
+ Subnet *SubnetResponse `pulumi:"subnet"`
}
-// The private IP addresses/IP ranges to which traffic will not be SNAT.
-type FirewallPolicySNATResponse struct {
- // The operation mode for automatically learning private ranges to not be SNAT
- AutoLearnPrivateRanges *string `pulumi:"autoLearnPrivateRanges"`
- // List of private IP addresses/IP address ranges to not be SNAT.
- PrivateRanges []string `pulumi:"privateRanges"`
+// Defaults sets the appropriate defaults for IPConfigurationResponse
+func (val *IPConfigurationResponse) Defaults() *IPConfigurationResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.PrivateIPAllocationMethod == nil {
+ privateIPAllocationMethod_ := "Dynamic"
+ tmp.PrivateIPAllocationMethod = &privateIPAllocationMethod_
+ }
+ tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
+
+ tmp.Subnet = tmp.Subnet.Defaults()
+
+ return &tmp
}
-// The private IP addresses/IP ranges to which traffic will not be SNAT.
-type FirewallPolicySNATResponseOutput struct{ *pulumi.OutputState }
+// IP configuration.
+type IPConfigurationResponseOutput struct{ *pulumi.OutputState }
-func (FirewallPolicySNATResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicySNATResponse)(nil)).Elem()
+func (IPConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPConfigurationResponse)(nil)).Elem()
}
-func (o FirewallPolicySNATResponseOutput) ToFirewallPolicySNATResponseOutput() FirewallPolicySNATResponseOutput {
+func (o IPConfigurationResponseOutput) ToIPConfigurationResponseOutput() IPConfigurationResponseOutput {
return o
}
-func (o FirewallPolicySNATResponseOutput) ToFirewallPolicySNATResponseOutputWithContext(ctx context.Context) FirewallPolicySNATResponseOutput {
+func (o IPConfigurationResponseOutput) ToIPConfigurationResponseOutputWithContext(ctx context.Context) IPConfigurationResponseOutput {
return o
}
-// The operation mode for automatically learning private ranges to not be SNAT
-func (o FirewallPolicySNATResponseOutput) AutoLearnPrivateRanges() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicySNATResponse) *string { return v.AutoLearnPrivateRanges }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o IPConfigurationResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// List of private IP addresses/IP address ranges to not be SNAT.
-func (o FirewallPolicySNATResponseOutput) PrivateRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicySNATResponse) []string { return v.PrivateRanges }).(pulumi.StringArrayOutput)
+// Resource ID.
+func (o IPConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-type FirewallPolicySNATResponsePtrOutput struct{ *pulumi.OutputState }
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o IPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
-func (FirewallPolicySNATResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicySNATResponse)(nil)).Elem()
+// The private IP address of the IP configuration.
+func (o IPConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicySNATResponsePtrOutput) ToFirewallPolicySNATResponsePtrOutput() FirewallPolicySNATResponsePtrOutput {
+// The private IP address allocation method.
+func (o IPConfigurationResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+}
+
+// The provisioning state of the IP configuration resource.
+func (o IPConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
+
+// The reference to the public IP resource.
+func (o IPConfigurationResponseOutput) PublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v IPConfigurationResponse) *PublicIPAddressResponse { return v.PublicIPAddress }).(PublicIPAddressResponsePtrOutput)
+}
+
+// The reference to the subnet resource.
+func (o IPConfigurationResponseOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v IPConfigurationResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
+}
+
+type IPConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (IPConfigurationResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**IPConfigurationResponse)(nil)).Elem()
+}
+
+func (o IPConfigurationResponsePtrOutput) ToIPConfigurationResponsePtrOutput() IPConfigurationResponsePtrOutput {
return o
}
-func (o FirewallPolicySNATResponsePtrOutput) ToFirewallPolicySNATResponsePtrOutputWithContext(ctx context.Context) FirewallPolicySNATResponsePtrOutput {
+func (o IPConfigurationResponsePtrOutput) ToIPConfigurationResponsePtrOutputWithContext(ctx context.Context) IPConfigurationResponsePtrOutput {
return o
}
-func (o FirewallPolicySNATResponsePtrOutput) Elem() FirewallPolicySNATResponseOutput {
- return o.ApplyT(func(v *FirewallPolicySNATResponse) FirewallPolicySNATResponse {
+func (o IPConfigurationResponsePtrOutput) Elem() IPConfigurationResponseOutput {
+ return o.ApplyT(func(v *IPConfigurationResponse) IPConfigurationResponse {
if v != nil {
return *v
}
- var ret FirewallPolicySNATResponse
+ var ret IPConfigurationResponse
return ret
- }).(FirewallPolicySNATResponseOutput)
+ }).(IPConfigurationResponseOutput)
}
-// The operation mode for automatically learning private ranges to not be SNAT
-func (o FirewallPolicySNATResponsePtrOutput) AutoLearnPrivateRanges() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicySNATResponse) *string {
+// A unique read-only string that changes whenever the resource is updated.
+func (o IPConfigurationResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationResponse) *string {
if v == nil {
return nil
}
- return v.AutoLearnPrivateRanges
+ return &v.Etag
}).(pulumi.StringPtrOutput)
}
-// List of private IP addresses/IP address ranges to not be SNAT.
-func (o FirewallPolicySNATResponsePtrOutput) PrivateRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *FirewallPolicySNATResponse) []string {
+// Resource ID.
+func (o IPConfigurationResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationResponse) *string {
if v == nil {
return nil
}
- return v.PrivateRanges
- }).(pulumi.StringArrayOutput)
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// SQL Settings in Firewall Policy.
-type FirewallPolicySQL struct {
- // A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
- AllowSqlRedirect *bool `pulumi:"allowSqlRedirect"`
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o IPConfigurationResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// FirewallPolicySQLInput is an input type that accepts FirewallPolicySQLArgs and FirewallPolicySQLOutput values.
-// You can construct a concrete instance of `FirewallPolicySQLInput` via:
-//
-// FirewallPolicySQLArgs{...}
-type FirewallPolicySQLInput interface {
- pulumi.Input
+// The private IP address of the IP configuration.
+func (o IPConfigurationResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAddress
+ }).(pulumi.StringPtrOutput)
+}
- ToFirewallPolicySQLOutput() FirewallPolicySQLOutput
- ToFirewallPolicySQLOutputWithContext(context.Context) FirewallPolicySQLOutput
+// The private IP address allocation method.
+func (o IPConfigurationResponsePtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
}
-// SQL Settings in Firewall Policy.
-type FirewallPolicySQLArgs struct {
- // A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
- AllowSqlRedirect pulumi.BoolPtrInput `pulumi:"allowSqlRedirect"`
+// The provisioning state of the IP configuration resource.
+func (o IPConfigurationResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-func (FirewallPolicySQLArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicySQL)(nil)).Elem()
+// The reference to the public IP resource.
+func (o IPConfigurationResponsePtrOutput) PublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v *IPConfigurationResponse) *PublicIPAddressResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAddress
+ }).(PublicIPAddressResponsePtrOutput)
}
-func (i FirewallPolicySQLArgs) ToFirewallPolicySQLOutput() FirewallPolicySQLOutput {
- return i.ToFirewallPolicySQLOutputWithContext(context.Background())
+// The reference to the subnet resource.
+func (o IPConfigurationResponsePtrOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v *IPConfigurationResponse) *SubnetResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnet
+ }).(SubnetResponsePtrOutput)
}
-func (i FirewallPolicySQLArgs) ToFirewallPolicySQLOutputWithContext(ctx context.Context) FirewallPolicySQLOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySQLOutput)
+type IPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (IPConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IPConfigurationResponse)(nil)).Elem()
}
-func (i FirewallPolicySQLArgs) ToFirewallPolicySQLPtrOutput() FirewallPolicySQLPtrOutput {
- return i.ToFirewallPolicySQLPtrOutputWithContext(context.Background())
+func (o IPConfigurationResponseArrayOutput) ToIPConfigurationResponseArrayOutput() IPConfigurationResponseArrayOutput {
+ return o
}
-func (i FirewallPolicySQLArgs) ToFirewallPolicySQLPtrOutputWithContext(ctx context.Context) FirewallPolicySQLPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySQLOutput).ToFirewallPolicySQLPtrOutputWithContext(ctx)
+func (o IPConfigurationResponseArrayOutput) ToIPConfigurationResponseArrayOutputWithContext(ctx context.Context) IPConfigurationResponseArrayOutput {
+ return o
}
-// FirewallPolicySQLPtrInput is an input type that accepts FirewallPolicySQLArgs, FirewallPolicySQLPtr and FirewallPolicySQLPtrOutput values.
-// You can construct a concrete instance of `FirewallPolicySQLPtrInput` via:
-//
-// FirewallPolicySQLArgs{...}
-//
-// or:
-//
-// nil
-type FirewallPolicySQLPtrInput interface {
- pulumi.Input
+func (o IPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) IPConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationResponse {
+ return vs[0].([]IPConfigurationResponse)[vs[1].(int)]
+ }).(IPConfigurationResponseOutput)
+}
- ToFirewallPolicySQLPtrOutput() FirewallPolicySQLPtrOutput
- ToFirewallPolicySQLPtrOutputWithContext(context.Context) FirewallPolicySQLPtrOutput
+// IP configuration.
+type IPConfigurationServiceGatewayResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The private IP address of the IP configuration.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // The provisioning state of the IP configuration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The reference to the public IP resource.
+ PublicIPAddress *PublicIPAddressServiceGatewayResponse `pulumi:"publicIPAddress"`
+ // The reference to the subnet resource.
+ Subnet *SubnetResponse `pulumi:"subnet"`
}
-type firewallPolicySQLPtrType FirewallPolicySQLArgs
+// Defaults sets the appropriate defaults for IPConfigurationServiceGatewayResponse
+func (val *IPConfigurationServiceGatewayResponse) Defaults() *IPConfigurationServiceGatewayResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
-func FirewallPolicySQLPtr(v *FirewallPolicySQLArgs) FirewallPolicySQLPtrInput {
- return (*firewallPolicySQLPtrType)(v)
+ tmp.Subnet = tmp.Subnet.Defaults()
+
+ return &tmp
}
-func (*firewallPolicySQLPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicySQL)(nil)).Elem()
+// IP configuration.
+type IPConfigurationServiceGatewayResponseOutput struct{ *pulumi.OutputState }
+
+func (IPConfigurationServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPConfigurationServiceGatewayResponse)(nil)).Elem()
}
-func (i *firewallPolicySQLPtrType) ToFirewallPolicySQLPtrOutput() FirewallPolicySQLPtrOutput {
- return i.ToFirewallPolicySQLPtrOutputWithContext(context.Background())
+func (o IPConfigurationServiceGatewayResponseOutput) ToIPConfigurationServiceGatewayResponseOutput() IPConfigurationServiceGatewayResponseOutput {
+ return o
}
-func (i *firewallPolicySQLPtrType) ToFirewallPolicySQLPtrOutputWithContext(ctx context.Context) FirewallPolicySQLPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySQLPtrOutput)
+func (o IPConfigurationServiceGatewayResponseOutput) ToIPConfigurationServiceGatewayResponseOutputWithContext(ctx context.Context) IPConfigurationServiceGatewayResponseOutput {
+ return o
}
-// SQL Settings in Firewall Policy.
-type FirewallPolicySQLOutput struct{ *pulumi.OutputState }
+// A unique read-only string that changes whenever the resource is updated.
+func (o IPConfigurationServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
+}
-func (FirewallPolicySQLOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicySQL)(nil)).Elem()
+// Resource ID.
+func (o IPConfigurationServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicySQLOutput) ToFirewallPolicySQLOutput() FirewallPolicySQLOutput {
- return o
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o IPConfigurationServiceGatewayResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationServiceGatewayResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicySQLOutput) ToFirewallPolicySQLOutputWithContext(ctx context.Context) FirewallPolicySQLOutput {
- return o
+// The private IP address of the IP configuration.
+func (o IPConfigurationServiceGatewayResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationServiceGatewayResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicySQLOutput) ToFirewallPolicySQLPtrOutput() FirewallPolicySQLPtrOutput {
- return o.ToFirewallPolicySQLPtrOutputWithContext(context.Background())
+// The private IP address allocation method.
+func (o IPConfigurationServiceGatewayResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationServiceGatewayResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicySQLOutput) ToFirewallPolicySQLPtrOutputWithContext(ctx context.Context) FirewallPolicySQLPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicySQL) *FirewallPolicySQL {
- return &v
- }).(FirewallPolicySQLPtrOutput)
+// The provisioning state of the IP configuration resource.
+func (o IPConfigurationServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
-func (o FirewallPolicySQLOutput) AllowSqlRedirect() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v FirewallPolicySQL) *bool { return v.AllowSqlRedirect }).(pulumi.BoolPtrOutput)
+// The reference to the public IP resource.
+func (o IPConfigurationServiceGatewayResponseOutput) PublicIPAddress() PublicIPAddressServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v IPConfigurationServiceGatewayResponse) *PublicIPAddressServiceGatewayResponse {
+ return v.PublicIPAddress
+ }).(PublicIPAddressServiceGatewayResponsePtrOutput)
}
-type FirewallPolicySQLPtrOutput struct{ *pulumi.OutputState }
+// The reference to the subnet resource.
+func (o IPConfigurationServiceGatewayResponseOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v IPConfigurationServiceGatewayResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
+}
-func (FirewallPolicySQLPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicySQL)(nil)).Elem()
+type IPConfigurationServiceGatewayResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (IPConfigurationServiceGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**IPConfigurationServiceGatewayResponse)(nil)).Elem()
}
-func (o FirewallPolicySQLPtrOutput) ToFirewallPolicySQLPtrOutput() FirewallPolicySQLPtrOutput {
+func (o IPConfigurationServiceGatewayResponsePtrOutput) ToIPConfigurationServiceGatewayResponsePtrOutput() IPConfigurationServiceGatewayResponsePtrOutput {
return o
}
-func (o FirewallPolicySQLPtrOutput) ToFirewallPolicySQLPtrOutputWithContext(ctx context.Context) FirewallPolicySQLPtrOutput {
+func (o IPConfigurationServiceGatewayResponsePtrOutput) ToIPConfigurationServiceGatewayResponsePtrOutputWithContext(ctx context.Context) IPConfigurationServiceGatewayResponsePtrOutput {
return o
}
-func (o FirewallPolicySQLPtrOutput) Elem() FirewallPolicySQLOutput {
- return o.ApplyT(func(v *FirewallPolicySQL) FirewallPolicySQL {
+func (o IPConfigurationServiceGatewayResponsePtrOutput) Elem() IPConfigurationServiceGatewayResponseOutput {
+ return o.ApplyT(func(v *IPConfigurationServiceGatewayResponse) IPConfigurationServiceGatewayResponse {
if v != nil {
return *v
}
- var ret FirewallPolicySQL
+ var ret IPConfigurationServiceGatewayResponse
return ret
- }).(FirewallPolicySQLOutput)
+ }).(IPConfigurationServiceGatewayResponseOutput)
}
-// A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
-func (o FirewallPolicySQLPtrOutput) AllowSqlRedirect() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *FirewallPolicySQL) *bool {
+// A unique read-only string that changes whenever the resource is updated.
+func (o IPConfigurationServiceGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationServiceGatewayResponse) *string {
if v == nil {
return nil
}
- return v.AllowSqlRedirect
- }).(pulumi.BoolPtrOutput)
-}
-
-// SQL Settings in Firewall Policy.
-type FirewallPolicySQLResponse struct {
- // A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
- AllowSqlRedirect *bool `pulumi:"allowSqlRedirect"`
-}
-
-// SQL Settings in Firewall Policy.
-type FirewallPolicySQLResponseOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicySQLResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicySQLResponse)(nil)).Elem()
-}
-
-func (o FirewallPolicySQLResponseOutput) ToFirewallPolicySQLResponseOutput() FirewallPolicySQLResponseOutput {
- return o
-}
-
-func (o FirewallPolicySQLResponseOutput) ToFirewallPolicySQLResponseOutputWithContext(ctx context.Context) FirewallPolicySQLResponseOutput {
- return o
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-// A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
-func (o FirewallPolicySQLResponseOutput) AllowSqlRedirect() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v FirewallPolicySQLResponse) *bool { return v.AllowSqlRedirect }).(pulumi.BoolPtrOutput)
+// Resource ID.
+func (o IPConfigurationServiceGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-type FirewallPolicySQLResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicySQLResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicySQLResponse)(nil)).Elem()
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o IPConfigurationServiceGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicySQLResponsePtrOutput) ToFirewallPolicySQLResponsePtrOutput() FirewallPolicySQLResponsePtrOutput {
- return o
+// The private IP address of the IP configuration.
+func (o IPConfigurationServiceGatewayResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAddress
+ }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicySQLResponsePtrOutput) ToFirewallPolicySQLResponsePtrOutputWithContext(ctx context.Context) FirewallPolicySQLResponsePtrOutput {
- return o
+// The private IP address allocation method.
+func (o IPConfigurationServiceGatewayResponsePtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicySQLResponsePtrOutput) Elem() FirewallPolicySQLResponseOutput {
- return o.ApplyT(func(v *FirewallPolicySQLResponse) FirewallPolicySQLResponse {
- if v != nil {
- return *v
+// The provisioning state of the IP configuration resource.
+func (o IPConfigurationServiceGatewayResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
}
- var ret FirewallPolicySQLResponse
- return ret
- }).(FirewallPolicySQLResponseOutput)
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
-func (o FirewallPolicySQLResponsePtrOutput) AllowSqlRedirect() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *FirewallPolicySQLResponse) *bool {
+// The reference to the public IP resource.
+func (o IPConfigurationServiceGatewayResponsePtrOutput) PublicIPAddress() PublicIPAddressServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *IPConfigurationServiceGatewayResponse) *PublicIPAddressServiceGatewayResponse {
if v == nil {
return nil
}
- return v.AllowSqlRedirect
- }).(pulumi.BoolPtrOutput)
+ return v.PublicIPAddress
+ }).(PublicIPAddressServiceGatewayResponsePtrOutput)
}
-// SKU of Firewall policy.
-type FirewallPolicySku struct {
- // Tier of Firewall Policy.
- Tier *string `pulumi:"tier"`
+// The reference to the subnet resource.
+func (o IPConfigurationServiceGatewayResponsePtrOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v *IPConfigurationServiceGatewayResponse) *SubnetResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnet
+ }).(SubnetResponsePtrOutput)
}
-// FirewallPolicySkuInput is an input type that accepts FirewallPolicySkuArgs and FirewallPolicySkuOutput values.
-// You can construct a concrete instance of `FirewallPolicySkuInput` via:
-//
-// FirewallPolicySkuArgs{...}
-type FirewallPolicySkuInput interface {
- pulumi.Input
-
- ToFirewallPolicySkuOutput() FirewallPolicySkuOutput
- ToFirewallPolicySkuOutputWithContext(context.Context) FirewallPolicySkuOutput
-}
+type IPConfigurationServiceGatewayResponseArrayOutput struct{ *pulumi.OutputState }
-// SKU of Firewall policy.
-type FirewallPolicySkuArgs struct {
- // Tier of Firewall Policy.
- Tier pulumi.StringPtrInput `pulumi:"tier"`
+func (IPConfigurationServiceGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IPConfigurationServiceGatewayResponse)(nil)).Elem()
}
-func (FirewallPolicySkuArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicySku)(nil)).Elem()
+func (o IPConfigurationServiceGatewayResponseArrayOutput) ToIPConfigurationServiceGatewayResponseArrayOutput() IPConfigurationServiceGatewayResponseArrayOutput {
+ return o
}
-func (i FirewallPolicySkuArgs) ToFirewallPolicySkuOutput() FirewallPolicySkuOutput {
- return i.ToFirewallPolicySkuOutputWithContext(context.Background())
+func (o IPConfigurationServiceGatewayResponseArrayOutput) ToIPConfigurationServiceGatewayResponseArrayOutputWithContext(ctx context.Context) IPConfigurationServiceGatewayResponseArrayOutput {
+ return o
}
-func (i FirewallPolicySkuArgs) ToFirewallPolicySkuOutputWithContext(ctx context.Context) FirewallPolicySkuOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySkuOutput)
+func (o IPConfigurationServiceGatewayResponseArrayOutput) Index(i pulumi.IntInput) IPConfigurationServiceGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationServiceGatewayResponse {
+ return vs[0].([]IPConfigurationServiceGatewayResponse)[vs[1].(int)]
+ }).(IPConfigurationServiceGatewayResponseOutput)
}
-func (i FirewallPolicySkuArgs) ToFirewallPolicySkuPtrOutput() FirewallPolicySkuPtrOutput {
- return i.ToFirewallPolicySkuPtrOutputWithContext(context.Background())
-}
-
-func (i FirewallPolicySkuArgs) ToFirewallPolicySkuPtrOutputWithContext(ctx context.Context) FirewallPolicySkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySkuOutput).ToFirewallPolicySkuPtrOutputWithContext(ctx)
+// IP configuration.
+type IPConfigurationVirtualNetworkApplianceResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The private IP address of the IP configuration.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // The provisioning state of the IP configuration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The reference to the public IP resource.
+ PublicIPAddress *PublicIPAddressVirtualNetworkApplianceResponse `pulumi:"publicIPAddress"`
+ // The reference to the subnet resource.
+ Subnet *SubnetResponse `pulumi:"subnet"`
}
-// FirewallPolicySkuPtrInput is an input type that accepts FirewallPolicySkuArgs, FirewallPolicySkuPtr and FirewallPolicySkuPtrOutput values.
-// You can construct a concrete instance of `FirewallPolicySkuPtrInput` via:
-//
-// FirewallPolicySkuArgs{...}
-//
-// or:
-//
-// nil
-type FirewallPolicySkuPtrInput interface {
- pulumi.Input
+// Defaults sets the appropriate defaults for IPConfigurationVirtualNetworkApplianceResponse
+func (val *IPConfigurationVirtualNetworkApplianceResponse) Defaults() *IPConfigurationVirtualNetworkApplianceResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
- ToFirewallPolicySkuPtrOutput() FirewallPolicySkuPtrOutput
- ToFirewallPolicySkuPtrOutputWithContext(context.Context) FirewallPolicySkuPtrOutput
+ tmp.Subnet = tmp.Subnet.Defaults()
+
+ return &tmp
}
-type firewallPolicySkuPtrType FirewallPolicySkuArgs
+// IP configuration.
+type IPConfigurationVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
-func FirewallPolicySkuPtr(v *FirewallPolicySkuArgs) FirewallPolicySkuPtrInput {
- return (*firewallPolicySkuPtrType)(v)
+func (IPConfigurationVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPConfigurationVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (*firewallPolicySkuPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicySku)(nil)).Elem()
+func (o IPConfigurationVirtualNetworkApplianceResponseOutput) ToIPConfigurationVirtualNetworkApplianceResponseOutput() IPConfigurationVirtualNetworkApplianceResponseOutput {
+ return o
}
-func (i *firewallPolicySkuPtrType) ToFirewallPolicySkuPtrOutput() FirewallPolicySkuPtrOutput {
- return i.ToFirewallPolicySkuPtrOutputWithContext(context.Background())
+func (o IPConfigurationVirtualNetworkApplianceResponseOutput) ToIPConfigurationVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) IPConfigurationVirtualNetworkApplianceResponseOutput {
+ return o
}
-func (i *firewallPolicySkuPtrType) ToFirewallPolicySkuPtrOutputWithContext(ctx context.Context) FirewallPolicySkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicySkuPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o IPConfigurationVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// SKU of Firewall policy.
-type FirewallPolicySkuOutput struct{ *pulumi.OutputState }
+// Resource ID.
+func (o IPConfigurationVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
-func (FirewallPolicySkuOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicySku)(nil)).Elem()
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o IPConfigurationVirtualNetworkApplianceResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationVirtualNetworkApplianceResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicySkuOutput) ToFirewallPolicySkuOutput() FirewallPolicySkuOutput {
- return o
+// The private IP address of the IP configuration.
+func (o IPConfigurationVirtualNetworkApplianceResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationVirtualNetworkApplianceResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicySkuOutput) ToFirewallPolicySkuOutputWithContext(ctx context.Context) FirewallPolicySkuOutput {
- return o
+// The private IP address allocation method.
+func (o IPConfigurationVirtualNetworkApplianceResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPConfigurationVirtualNetworkApplianceResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicySkuOutput) ToFirewallPolicySkuPtrOutput() FirewallPolicySkuPtrOutput {
- return o.ToFirewallPolicySkuPtrOutputWithContext(context.Background())
+// The provisioning state of the IP configuration resource.
+func (o IPConfigurationVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v IPConfigurationVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o FirewallPolicySkuOutput) ToFirewallPolicySkuPtrOutputWithContext(ctx context.Context) FirewallPolicySkuPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicySku) *FirewallPolicySku {
- return &v
- }).(FirewallPolicySkuPtrOutput)
+// The reference to the public IP resource.
+func (o IPConfigurationVirtualNetworkApplianceResponseOutput) PublicIPAddress() PublicIPAddressVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v IPConfigurationVirtualNetworkApplianceResponse) *PublicIPAddressVirtualNetworkApplianceResponse {
+ return v.PublicIPAddress
+ }).(PublicIPAddressVirtualNetworkApplianceResponsePtrOutput)
}
-// Tier of Firewall Policy.
-func (o FirewallPolicySkuOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicySku) *string { return v.Tier }).(pulumi.StringPtrOutput)
+// The reference to the subnet resource.
+func (o IPConfigurationVirtualNetworkApplianceResponseOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v IPConfigurationVirtualNetworkApplianceResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
}
-type FirewallPolicySkuPtrOutput struct{ *pulumi.OutputState }
+type IPConfigurationVirtualNetworkApplianceResponsePtrOutput struct{ *pulumi.OutputState }
-func (FirewallPolicySkuPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicySku)(nil)).Elem()
+func (IPConfigurationVirtualNetworkApplianceResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**IPConfigurationVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o FirewallPolicySkuPtrOutput) ToFirewallPolicySkuPtrOutput() FirewallPolicySkuPtrOutput {
+func (o IPConfigurationVirtualNetworkApplianceResponsePtrOutput) ToIPConfigurationVirtualNetworkApplianceResponsePtrOutput() IPConfigurationVirtualNetworkApplianceResponsePtrOutput {
return o
}
-func (o FirewallPolicySkuPtrOutput) ToFirewallPolicySkuPtrOutputWithContext(ctx context.Context) FirewallPolicySkuPtrOutput {
+func (o IPConfigurationVirtualNetworkApplianceResponsePtrOutput) ToIPConfigurationVirtualNetworkApplianceResponsePtrOutputWithContext(ctx context.Context) IPConfigurationVirtualNetworkApplianceResponsePtrOutput {
return o
}
-func (o FirewallPolicySkuPtrOutput) Elem() FirewallPolicySkuOutput {
- return o.ApplyT(func(v *FirewallPolicySku) FirewallPolicySku {
+func (o IPConfigurationVirtualNetworkApplianceResponsePtrOutput) Elem() IPConfigurationVirtualNetworkApplianceResponseOutput {
+ return o.ApplyT(func(v *IPConfigurationVirtualNetworkApplianceResponse) IPConfigurationVirtualNetworkApplianceResponse {
if v != nil {
return *v
}
- var ret FirewallPolicySku
+ var ret IPConfigurationVirtualNetworkApplianceResponse
return ret
- }).(FirewallPolicySkuOutput)
+ }).(IPConfigurationVirtualNetworkApplianceResponseOutput)
}
-// Tier of Firewall Policy.
-func (o FirewallPolicySkuPtrOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicySku) *string {
+// A unique read-only string that changes whenever the resource is updated.
+func (o IPConfigurationVirtualNetworkApplianceResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
- return v.Tier
+ return &v.Etag
}).(pulumi.StringPtrOutput)
}
-// SKU of Firewall policy.
-type FirewallPolicySkuResponse struct {
- // Tier of Firewall Policy.
- Tier *string `pulumi:"tier"`
+// Resource ID.
+func (o IPConfigurationVirtualNetworkApplianceResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// SKU of Firewall policy.
-type FirewallPolicySkuResponseOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicySkuResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicySkuResponse)(nil)).Elem()
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o IPConfigurationVirtualNetworkApplianceResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicySkuResponseOutput) ToFirewallPolicySkuResponseOutput() FirewallPolicySkuResponseOutput {
- return o
+// The private IP address of the IP configuration.
+func (o IPConfigurationVirtualNetworkApplianceResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAddress
+ }).(pulumi.StringPtrOutput)
}
-func (o FirewallPolicySkuResponseOutput) ToFirewallPolicySkuResponseOutputWithContext(ctx context.Context) FirewallPolicySkuResponseOutput {
- return o
+// The private IP address allocation method.
+func (o IPConfigurationVirtualNetworkApplianceResponsePtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
}
-// Tier of Firewall Policy.
-func (o FirewallPolicySkuResponseOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FirewallPolicySkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput)
+// The provisioning state of the IP configuration resource.
+func (o IPConfigurationVirtualNetworkApplianceResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *IPConfigurationVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-type FirewallPolicySkuResponsePtrOutput struct{ *pulumi.OutputState }
+// The reference to the public IP resource.
+func (o IPConfigurationVirtualNetworkApplianceResponsePtrOutput) PublicIPAddress() PublicIPAddressVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v *IPConfigurationVirtualNetworkApplianceResponse) *PublicIPAddressVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAddress
+ }).(PublicIPAddressVirtualNetworkApplianceResponsePtrOutput)
+}
-func (FirewallPolicySkuResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicySkuResponse)(nil)).Elem()
+// The reference to the subnet resource.
+func (o IPConfigurationVirtualNetworkApplianceResponsePtrOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v *IPConfigurationVirtualNetworkApplianceResponse) *SubnetResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnet
+ }).(SubnetResponsePtrOutput)
}
-func (o FirewallPolicySkuResponsePtrOutput) ToFirewallPolicySkuResponsePtrOutput() FirewallPolicySkuResponsePtrOutput {
- return o
+type IPConfigurationVirtualNetworkApplianceResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (IPConfigurationVirtualNetworkApplianceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IPConfigurationVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o FirewallPolicySkuResponsePtrOutput) ToFirewallPolicySkuResponsePtrOutputWithContext(ctx context.Context) FirewallPolicySkuResponsePtrOutput {
+func (o IPConfigurationVirtualNetworkApplianceResponseArrayOutput) ToIPConfigurationVirtualNetworkApplianceResponseArrayOutput() IPConfigurationVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o FirewallPolicySkuResponsePtrOutput) Elem() FirewallPolicySkuResponseOutput {
- return o.ApplyT(func(v *FirewallPolicySkuResponse) FirewallPolicySkuResponse {
- if v != nil {
- return *v
- }
- var ret FirewallPolicySkuResponse
- return ret
- }).(FirewallPolicySkuResponseOutput)
+func (o IPConfigurationVirtualNetworkApplianceResponseArrayOutput) ToIPConfigurationVirtualNetworkApplianceResponseArrayOutputWithContext(ctx context.Context) IPConfigurationVirtualNetworkApplianceResponseArrayOutput {
+ return o
}
-// Tier of Firewall Policy.
-func (o FirewallPolicySkuResponsePtrOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FirewallPolicySkuResponse) *string {
- if v == nil {
- return nil
- }
- return v.Tier
- }).(pulumi.StringPtrOutput)
+func (o IPConfigurationVirtualNetworkApplianceResponseArrayOutput) Index(i pulumi.IntInput) IPConfigurationVirtualNetworkApplianceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationVirtualNetworkApplianceResponse {
+ return vs[0].([]IPConfigurationVirtualNetworkApplianceResponse)[vs[1].(int)]
+ }).(IPConfigurationVirtualNetworkApplianceResponseOutput)
}
-// ThreatIntel Whitelist for Firewall Policy.
-type FirewallPolicyThreatIntelWhitelist struct {
- // List of FQDNs for the ThreatIntel Whitelist.
- Fqdns []string `pulumi:"fqdns"`
- // List of IP addresses for the ThreatIntel Whitelist.
- IpAddresses []string `pulumi:"ipAddresses"`
+type IPRule struct {
+ // Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
+ AddressPrefix *string `pulumi:"addressPrefix"`
}
-// FirewallPolicyThreatIntelWhitelistInput is an input type that accepts FirewallPolicyThreatIntelWhitelistArgs and FirewallPolicyThreatIntelWhitelistOutput values.
-// You can construct a concrete instance of `FirewallPolicyThreatIntelWhitelistInput` via:
+// IPRuleInput is an input type that accepts IPRuleArgs and IPRuleOutput values.
+// You can construct a concrete instance of `IPRuleInput` via:
//
-// FirewallPolicyThreatIntelWhitelistArgs{...}
-type FirewallPolicyThreatIntelWhitelistInput interface {
+// IPRuleArgs{...}
+type IPRuleInput interface {
pulumi.Input
- ToFirewallPolicyThreatIntelWhitelistOutput() FirewallPolicyThreatIntelWhitelistOutput
- ToFirewallPolicyThreatIntelWhitelistOutputWithContext(context.Context) FirewallPolicyThreatIntelWhitelistOutput
-}
-
-// ThreatIntel Whitelist for Firewall Policy.
-type FirewallPolicyThreatIntelWhitelistArgs struct {
- // List of FQDNs for the ThreatIntel Whitelist.
- Fqdns pulumi.StringArrayInput `pulumi:"fqdns"`
- // List of IP addresses for the ThreatIntel Whitelist.
- IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"`
-}
-
-func (FirewallPolicyThreatIntelWhitelistArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyThreatIntelWhitelist)(nil)).Elem()
+ ToIPRuleOutput() IPRuleOutput
+ ToIPRuleOutputWithContext(context.Context) IPRuleOutput
}
-func (i FirewallPolicyThreatIntelWhitelistArgs) ToFirewallPolicyThreatIntelWhitelistOutput() FirewallPolicyThreatIntelWhitelistOutput {
- return i.ToFirewallPolicyThreatIntelWhitelistOutputWithContext(context.Background())
+type IPRuleArgs struct {
+ // Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
+ AddressPrefix pulumi.StringPtrInput `pulumi:"addressPrefix"`
}
-func (i FirewallPolicyThreatIntelWhitelistArgs) ToFirewallPolicyThreatIntelWhitelistOutputWithContext(ctx context.Context) FirewallPolicyThreatIntelWhitelistOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyThreatIntelWhitelistOutput)
+func (IPRuleArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPRule)(nil)).Elem()
}
-func (i FirewallPolicyThreatIntelWhitelistArgs) ToFirewallPolicyThreatIntelWhitelistPtrOutput() FirewallPolicyThreatIntelWhitelistPtrOutput {
- return i.ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(context.Background())
+func (i IPRuleArgs) ToIPRuleOutput() IPRuleOutput {
+ return i.ToIPRuleOutputWithContext(context.Background())
}
-func (i FirewallPolicyThreatIntelWhitelistArgs) ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(ctx context.Context) FirewallPolicyThreatIntelWhitelistPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyThreatIntelWhitelistOutput).ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(ctx)
+func (i IPRuleArgs) ToIPRuleOutputWithContext(ctx context.Context) IPRuleOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(IPRuleOutput)
}
-// FirewallPolicyThreatIntelWhitelistPtrInput is an input type that accepts FirewallPolicyThreatIntelWhitelistArgs, FirewallPolicyThreatIntelWhitelistPtr and FirewallPolicyThreatIntelWhitelistPtrOutput values.
-// You can construct a concrete instance of `FirewallPolicyThreatIntelWhitelistPtrInput` via:
-//
-// FirewallPolicyThreatIntelWhitelistArgs{...}
-//
-// or:
+// IPRuleArrayInput is an input type that accepts IPRuleArray and IPRuleArrayOutput values.
+// You can construct a concrete instance of `IPRuleArrayInput` via:
//
-// nil
-type FirewallPolicyThreatIntelWhitelistPtrInput interface {
+// IPRuleArray{ IPRuleArgs{...} }
+type IPRuleArrayInput interface {
pulumi.Input
- ToFirewallPolicyThreatIntelWhitelistPtrOutput() FirewallPolicyThreatIntelWhitelistPtrOutput
- ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(context.Context) FirewallPolicyThreatIntelWhitelistPtrOutput
+ ToIPRuleArrayOutput() IPRuleArrayOutput
+ ToIPRuleArrayOutputWithContext(context.Context) IPRuleArrayOutput
}
-type firewallPolicyThreatIntelWhitelistPtrType FirewallPolicyThreatIntelWhitelistArgs
-
-func FirewallPolicyThreatIntelWhitelistPtr(v *FirewallPolicyThreatIntelWhitelistArgs) FirewallPolicyThreatIntelWhitelistPtrInput {
- return (*firewallPolicyThreatIntelWhitelistPtrType)(v)
-}
+type IPRuleArray []IPRuleInput
-func (*firewallPolicyThreatIntelWhitelistPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyThreatIntelWhitelist)(nil)).Elem()
+func (IPRuleArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IPRule)(nil)).Elem()
}
-func (i *firewallPolicyThreatIntelWhitelistPtrType) ToFirewallPolicyThreatIntelWhitelistPtrOutput() FirewallPolicyThreatIntelWhitelistPtrOutput {
- return i.ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(context.Background())
+func (i IPRuleArray) ToIPRuleArrayOutput() IPRuleArrayOutput {
+ return i.ToIPRuleArrayOutputWithContext(context.Background())
}
-func (i *firewallPolicyThreatIntelWhitelistPtrType) ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(ctx context.Context) FirewallPolicyThreatIntelWhitelistPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyThreatIntelWhitelistPtrOutput)
+func (i IPRuleArray) ToIPRuleArrayOutputWithContext(ctx context.Context) IPRuleArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(IPRuleArrayOutput)
}
-// ThreatIntel Whitelist for Firewall Policy.
-type FirewallPolicyThreatIntelWhitelistOutput struct{ *pulumi.OutputState }
+type IPRuleOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyThreatIntelWhitelistOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyThreatIntelWhitelist)(nil)).Elem()
+func (IPRuleOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPRule)(nil)).Elem()
}
-func (o FirewallPolicyThreatIntelWhitelistOutput) ToFirewallPolicyThreatIntelWhitelistOutput() FirewallPolicyThreatIntelWhitelistOutput {
+func (o IPRuleOutput) ToIPRuleOutput() IPRuleOutput {
return o
}
-func (o FirewallPolicyThreatIntelWhitelistOutput) ToFirewallPolicyThreatIntelWhitelistOutputWithContext(ctx context.Context) FirewallPolicyThreatIntelWhitelistOutput {
+func (o IPRuleOutput) ToIPRuleOutputWithContext(ctx context.Context) IPRuleOutput {
return o
}
-func (o FirewallPolicyThreatIntelWhitelistOutput) ToFirewallPolicyThreatIntelWhitelistPtrOutput() FirewallPolicyThreatIntelWhitelistPtrOutput {
- return o.ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(context.Background())
-}
-
-func (o FirewallPolicyThreatIntelWhitelistOutput) ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(ctx context.Context) FirewallPolicyThreatIntelWhitelistPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyThreatIntelWhitelist) *FirewallPolicyThreatIntelWhitelist {
- return &v
- }).(FirewallPolicyThreatIntelWhitelistPtrOutput)
-}
-
-// List of FQDNs for the ThreatIntel Whitelist.
-func (o FirewallPolicyThreatIntelWhitelistOutput) Fqdns() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicyThreatIntelWhitelist) []string { return v.Fqdns }).(pulumi.StringArrayOutput)
-}
-
-// List of IP addresses for the ThreatIntel Whitelist.
-func (o FirewallPolicyThreatIntelWhitelistOutput) IpAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicyThreatIntelWhitelist) []string { return v.IpAddresses }).(pulumi.StringArrayOutput)
+// Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
+func (o IPRuleOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPRule) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-type FirewallPolicyThreatIntelWhitelistPtrOutput struct{ *pulumi.OutputState }
+type IPRuleArrayOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyThreatIntelWhitelistPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyThreatIntelWhitelist)(nil)).Elem()
+func (IPRuleArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IPRule)(nil)).Elem()
}
-func (o FirewallPolicyThreatIntelWhitelistPtrOutput) ToFirewallPolicyThreatIntelWhitelistPtrOutput() FirewallPolicyThreatIntelWhitelistPtrOutput {
+func (o IPRuleArrayOutput) ToIPRuleArrayOutput() IPRuleArrayOutput {
return o
}
-func (o FirewallPolicyThreatIntelWhitelistPtrOutput) ToFirewallPolicyThreatIntelWhitelistPtrOutputWithContext(ctx context.Context) FirewallPolicyThreatIntelWhitelistPtrOutput {
+func (o IPRuleArrayOutput) ToIPRuleArrayOutputWithContext(ctx context.Context) IPRuleArrayOutput {
return o
}
-func (o FirewallPolicyThreatIntelWhitelistPtrOutput) Elem() FirewallPolicyThreatIntelWhitelistOutput {
- return o.ApplyT(func(v *FirewallPolicyThreatIntelWhitelist) FirewallPolicyThreatIntelWhitelist {
- if v != nil {
- return *v
- }
- var ret FirewallPolicyThreatIntelWhitelist
- return ret
- }).(FirewallPolicyThreatIntelWhitelistOutput)
-}
-
-// List of FQDNs for the ThreatIntel Whitelist.
-func (o FirewallPolicyThreatIntelWhitelistPtrOutput) Fqdns() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *FirewallPolicyThreatIntelWhitelist) []string {
- if v == nil {
- return nil
- }
- return v.Fqdns
- }).(pulumi.StringArrayOutput)
-}
-
-// List of IP addresses for the ThreatIntel Whitelist.
-func (o FirewallPolicyThreatIntelWhitelistPtrOutput) IpAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *FirewallPolicyThreatIntelWhitelist) []string {
- if v == nil {
- return nil
- }
- return v.IpAddresses
- }).(pulumi.StringArrayOutput)
+func (o IPRuleArrayOutput) Index(i pulumi.IntInput) IPRuleOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPRule {
+ return vs[0].([]IPRule)[vs[1].(int)]
+ }).(IPRuleOutput)
}
-// ThreatIntel Whitelist for Firewall Policy.
-type FirewallPolicyThreatIntelWhitelistResponse struct {
- // List of FQDNs for the ThreatIntel Whitelist.
- Fqdns []string `pulumi:"fqdns"`
- // List of IP addresses for the ThreatIntel Whitelist.
- IpAddresses []string `pulumi:"ipAddresses"`
+type IPRuleResponse struct {
+ // Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
+ AddressPrefix *string `pulumi:"addressPrefix"`
}
-// ThreatIntel Whitelist for Firewall Policy.
-type FirewallPolicyThreatIntelWhitelistResponseOutput struct{ *pulumi.OutputState }
+type IPRuleResponseOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyThreatIntelWhitelistResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyThreatIntelWhitelistResponse)(nil)).Elem()
+func (IPRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPRuleResponse)(nil)).Elem()
}
-func (o FirewallPolicyThreatIntelWhitelistResponseOutput) ToFirewallPolicyThreatIntelWhitelistResponseOutput() FirewallPolicyThreatIntelWhitelistResponseOutput {
+func (o IPRuleResponseOutput) ToIPRuleResponseOutput() IPRuleResponseOutput {
return o
}
-func (o FirewallPolicyThreatIntelWhitelistResponseOutput) ToFirewallPolicyThreatIntelWhitelistResponseOutputWithContext(ctx context.Context) FirewallPolicyThreatIntelWhitelistResponseOutput {
+func (o IPRuleResponseOutput) ToIPRuleResponseOutputWithContext(ctx context.Context) IPRuleResponseOutput {
return o
}
-// List of FQDNs for the ThreatIntel Whitelist.
-func (o FirewallPolicyThreatIntelWhitelistResponseOutput) Fqdns() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicyThreatIntelWhitelistResponse) []string { return v.Fqdns }).(pulumi.StringArrayOutput)
-}
-
-// List of IP addresses for the ThreatIntel Whitelist.
-func (o FirewallPolicyThreatIntelWhitelistResponseOutput) IpAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FirewallPolicyThreatIntelWhitelistResponse) []string { return v.IpAddresses }).(pulumi.StringArrayOutput)
+// Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
+func (o IPRuleResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IPRuleResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-type FirewallPolicyThreatIntelWhitelistResponsePtrOutput struct{ *pulumi.OutputState }
+type IPRuleResponseArrayOutput struct{ *pulumi.OutputState }
-func (FirewallPolicyThreatIntelWhitelistResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyThreatIntelWhitelistResponse)(nil)).Elem()
+func (IPRuleResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IPRuleResponse)(nil)).Elem()
}
-func (o FirewallPolicyThreatIntelWhitelistResponsePtrOutput) ToFirewallPolicyThreatIntelWhitelistResponsePtrOutput() FirewallPolicyThreatIntelWhitelistResponsePtrOutput {
+func (o IPRuleResponseArrayOutput) ToIPRuleResponseArrayOutput() IPRuleResponseArrayOutput {
return o
}
-func (o FirewallPolicyThreatIntelWhitelistResponsePtrOutput) ToFirewallPolicyThreatIntelWhitelistResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyThreatIntelWhitelistResponsePtrOutput {
+func (o IPRuleResponseArrayOutput) ToIPRuleResponseArrayOutputWithContext(ctx context.Context) IPRuleResponseArrayOutput {
return o
}
-func (o FirewallPolicyThreatIntelWhitelistResponsePtrOutput) Elem() FirewallPolicyThreatIntelWhitelistResponseOutput {
- return o.ApplyT(func(v *FirewallPolicyThreatIntelWhitelistResponse) FirewallPolicyThreatIntelWhitelistResponse {
- if v != nil {
- return *v
- }
- var ret FirewallPolicyThreatIntelWhitelistResponse
- return ret
- }).(FirewallPolicyThreatIntelWhitelistResponseOutput)
-}
-
-// List of FQDNs for the ThreatIntel Whitelist.
-func (o FirewallPolicyThreatIntelWhitelistResponsePtrOutput) Fqdns() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *FirewallPolicyThreatIntelWhitelistResponse) []string {
- if v == nil {
- return nil
- }
- return v.Fqdns
- }).(pulumi.StringArrayOutput)
-}
-
-// List of IP addresses for the ThreatIntel Whitelist.
-func (o FirewallPolicyThreatIntelWhitelistResponsePtrOutput) IpAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *FirewallPolicyThreatIntelWhitelistResponse) []string {
- if v == nil {
- return nil
- }
- return v.IpAddresses
- }).(pulumi.StringArrayOutput)
+func (o IPRuleResponseArrayOutput) Index(i pulumi.IntInput) IPRuleResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPRuleResponse {
+ return vs[0].([]IPRuleResponse)[vs[1].(int)]
+ }).(IPRuleResponseOutput)
}
-// Configuration needed to perform TLS termination & initiation.
-type FirewallPolicyTransportSecurity struct {
- // The CA used for intermediate CA generation.
- CertificateAuthority *FirewallPolicyCertificateAuthority `pulumi:"certificateAuthority"`
+// IP traffic information.
+type IPTraffic struct {
+ // List of destination IP addresses of the traffic..
+ DestinationIps []string `pulumi:"destinationIps"`
+ // The destination ports of the traffic.
+ DestinationPorts []string `pulumi:"destinationPorts"`
+ Protocols []string `pulumi:"protocols"`
+ // List of source IP addresses of the traffic..
+ SourceIps []string `pulumi:"sourceIps"`
+ // The source ports of the traffic.
+ SourcePorts []string `pulumi:"sourcePorts"`
}
-// FirewallPolicyTransportSecurityInput is an input type that accepts FirewallPolicyTransportSecurityArgs and FirewallPolicyTransportSecurityOutput values.
-// You can construct a concrete instance of `FirewallPolicyTransportSecurityInput` via:
+// IPTrafficInput is an input type that accepts IPTrafficArgs and IPTrafficOutput values.
+// You can construct a concrete instance of `IPTrafficInput` via:
//
-// FirewallPolicyTransportSecurityArgs{...}
-type FirewallPolicyTransportSecurityInput interface {
+// IPTrafficArgs{...}
+type IPTrafficInput interface {
pulumi.Input
- ToFirewallPolicyTransportSecurityOutput() FirewallPolicyTransportSecurityOutput
- ToFirewallPolicyTransportSecurityOutputWithContext(context.Context) FirewallPolicyTransportSecurityOutput
+ ToIPTrafficOutput() IPTrafficOutput
+ ToIPTrafficOutputWithContext(context.Context) IPTrafficOutput
}
-// Configuration needed to perform TLS termination & initiation.
-type FirewallPolicyTransportSecurityArgs struct {
- // The CA used for intermediate CA generation.
- CertificateAuthority FirewallPolicyCertificateAuthorityPtrInput `pulumi:"certificateAuthority"`
+// IP traffic information.
+type IPTrafficArgs struct {
+ // List of destination IP addresses of the traffic..
+ DestinationIps pulumi.StringArrayInput `pulumi:"destinationIps"`
+ // The destination ports of the traffic.
+ DestinationPorts pulumi.StringArrayInput `pulumi:"destinationPorts"`
+ Protocols pulumi.StringArrayInput `pulumi:"protocols"`
+ // List of source IP addresses of the traffic..
+ SourceIps pulumi.StringArrayInput `pulumi:"sourceIps"`
+ // The source ports of the traffic.
+ SourcePorts pulumi.StringArrayInput `pulumi:"sourcePorts"`
}
-func (FirewallPolicyTransportSecurityArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyTransportSecurity)(nil)).Elem()
+func (IPTrafficArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPTraffic)(nil)).Elem()
}
-func (i FirewallPolicyTransportSecurityArgs) ToFirewallPolicyTransportSecurityOutput() FirewallPolicyTransportSecurityOutput {
- return i.ToFirewallPolicyTransportSecurityOutputWithContext(context.Background())
+func (i IPTrafficArgs) ToIPTrafficOutput() IPTrafficOutput {
+ return i.ToIPTrafficOutputWithContext(context.Background())
}
-func (i FirewallPolicyTransportSecurityArgs) ToFirewallPolicyTransportSecurityOutputWithContext(ctx context.Context) FirewallPolicyTransportSecurityOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyTransportSecurityOutput)
+func (i IPTrafficArgs) ToIPTrafficOutputWithContext(ctx context.Context) IPTrafficOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(IPTrafficOutput)
}
-func (i FirewallPolicyTransportSecurityArgs) ToFirewallPolicyTransportSecurityPtrOutput() FirewallPolicyTransportSecurityPtrOutput {
- return i.ToFirewallPolicyTransportSecurityPtrOutputWithContext(context.Background())
-}
+// IP traffic information.
+type IPTrafficOutput struct{ *pulumi.OutputState }
-func (i FirewallPolicyTransportSecurityArgs) ToFirewallPolicyTransportSecurityPtrOutputWithContext(ctx context.Context) FirewallPolicyTransportSecurityPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyTransportSecurityOutput).ToFirewallPolicyTransportSecurityPtrOutputWithContext(ctx)
+func (IPTrafficOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPTraffic)(nil)).Elem()
}
-// FirewallPolicyTransportSecurityPtrInput is an input type that accepts FirewallPolicyTransportSecurityArgs, FirewallPolicyTransportSecurityPtr and FirewallPolicyTransportSecurityPtrOutput values.
-// You can construct a concrete instance of `FirewallPolicyTransportSecurityPtrInput` via:
-//
-// FirewallPolicyTransportSecurityArgs{...}
-//
-// or:
-//
-// nil
-type FirewallPolicyTransportSecurityPtrInput interface {
- pulumi.Input
-
- ToFirewallPolicyTransportSecurityPtrOutput() FirewallPolicyTransportSecurityPtrOutput
- ToFirewallPolicyTransportSecurityPtrOutputWithContext(context.Context) FirewallPolicyTransportSecurityPtrOutput
+func (o IPTrafficOutput) ToIPTrafficOutput() IPTrafficOutput {
+ return o
}
-type firewallPolicyTransportSecurityPtrType FirewallPolicyTransportSecurityArgs
-
-func FirewallPolicyTransportSecurityPtr(v *FirewallPolicyTransportSecurityArgs) FirewallPolicyTransportSecurityPtrInput {
- return (*firewallPolicyTransportSecurityPtrType)(v)
+func (o IPTrafficOutput) ToIPTrafficOutputWithContext(ctx context.Context) IPTrafficOutput {
+ return o
}
-func (*firewallPolicyTransportSecurityPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyTransportSecurity)(nil)).Elem()
+// List of destination IP addresses of the traffic..
+func (o IPTrafficOutput) DestinationIps() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IPTraffic) []string { return v.DestinationIps }).(pulumi.StringArrayOutput)
}
-func (i *firewallPolicyTransportSecurityPtrType) ToFirewallPolicyTransportSecurityPtrOutput() FirewallPolicyTransportSecurityPtrOutput {
- return i.ToFirewallPolicyTransportSecurityPtrOutputWithContext(context.Background())
+// The destination ports of the traffic.
+func (o IPTrafficOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IPTraffic) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
}
-func (i *firewallPolicyTransportSecurityPtrType) ToFirewallPolicyTransportSecurityPtrOutputWithContext(ctx context.Context) FirewallPolicyTransportSecurityPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyTransportSecurityPtrOutput)
+func (o IPTrafficOutput) Protocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IPTraffic) []string { return v.Protocols }).(pulumi.StringArrayOutput)
}
-// Configuration needed to perform TLS termination & initiation.
-type FirewallPolicyTransportSecurityOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicyTransportSecurityOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyTransportSecurity)(nil)).Elem()
+// List of source IP addresses of the traffic..
+func (o IPTrafficOutput) SourceIps() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IPTraffic) []string { return v.SourceIps }).(pulumi.StringArrayOutput)
}
-func (o FirewallPolicyTransportSecurityOutput) ToFirewallPolicyTransportSecurityOutput() FirewallPolicyTransportSecurityOutput {
- return o
+// The source ports of the traffic.
+func (o IPTrafficOutput) SourcePorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IPTraffic) []string { return v.SourcePorts }).(pulumi.StringArrayOutput)
}
-func (o FirewallPolicyTransportSecurityOutput) ToFirewallPolicyTransportSecurityOutputWithContext(ctx context.Context) FirewallPolicyTransportSecurityOutput {
- return o
+// IP traffic information.
+type IPTrafficResponse struct {
+ // List of destination IP addresses of the traffic..
+ DestinationIps []string `pulumi:"destinationIps"`
+ // The destination ports of the traffic.
+ DestinationPorts []string `pulumi:"destinationPorts"`
+ Protocols []string `pulumi:"protocols"`
+ // List of source IP addresses of the traffic..
+ SourceIps []string `pulumi:"sourceIps"`
+ // The source ports of the traffic.
+ SourcePorts []string `pulumi:"sourcePorts"`
}
-func (o FirewallPolicyTransportSecurityOutput) ToFirewallPolicyTransportSecurityPtrOutput() FirewallPolicyTransportSecurityPtrOutput {
- return o.ToFirewallPolicyTransportSecurityPtrOutputWithContext(context.Background())
-}
+// IP traffic information.
+type IPTrafficResponseOutput struct{ *pulumi.OutputState }
-func (o FirewallPolicyTransportSecurityOutput) ToFirewallPolicyTransportSecurityPtrOutputWithContext(ctx context.Context) FirewallPolicyTransportSecurityPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v FirewallPolicyTransportSecurity) *FirewallPolicyTransportSecurity {
- return &v
- }).(FirewallPolicyTransportSecurityPtrOutput)
+func (IPTrafficResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IPTrafficResponse)(nil)).Elem()
}
-// The CA used for intermediate CA generation.
-func (o FirewallPolicyTransportSecurityOutput) CertificateAuthority() FirewallPolicyCertificateAuthorityPtrOutput {
- return o.ApplyT(func(v FirewallPolicyTransportSecurity) *FirewallPolicyCertificateAuthority {
- return v.CertificateAuthority
- }).(FirewallPolicyCertificateAuthorityPtrOutput)
+func (o IPTrafficResponseOutput) ToIPTrafficResponseOutput() IPTrafficResponseOutput {
+ return o
}
-type FirewallPolicyTransportSecurityPtrOutput struct{ *pulumi.OutputState }
+func (o IPTrafficResponseOutput) ToIPTrafficResponseOutputWithContext(ctx context.Context) IPTrafficResponseOutput {
+ return o
+}
-func (FirewallPolicyTransportSecurityPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyTransportSecurity)(nil)).Elem()
+// List of destination IP addresses of the traffic..
+func (o IPTrafficResponseOutput) DestinationIps() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IPTrafficResponse) []string { return v.DestinationIps }).(pulumi.StringArrayOutput)
}
-func (o FirewallPolicyTransportSecurityPtrOutput) ToFirewallPolicyTransportSecurityPtrOutput() FirewallPolicyTransportSecurityPtrOutput {
- return o
+// The destination ports of the traffic.
+func (o IPTrafficResponseOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IPTrafficResponse) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
}
-func (o FirewallPolicyTransportSecurityPtrOutput) ToFirewallPolicyTransportSecurityPtrOutputWithContext(ctx context.Context) FirewallPolicyTransportSecurityPtrOutput {
- return o
+func (o IPTrafficResponseOutput) Protocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IPTrafficResponse) []string { return v.Protocols }).(pulumi.StringArrayOutput)
}
-func (o FirewallPolicyTransportSecurityPtrOutput) Elem() FirewallPolicyTransportSecurityOutput {
- return o.ApplyT(func(v *FirewallPolicyTransportSecurity) FirewallPolicyTransportSecurity {
- if v != nil {
- return *v
- }
- var ret FirewallPolicyTransportSecurity
- return ret
- }).(FirewallPolicyTransportSecurityOutput)
+// List of source IP addresses of the traffic..
+func (o IPTrafficResponseOutput) SourceIps() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IPTrafficResponse) []string { return v.SourceIps }).(pulumi.StringArrayOutput)
}
-// The CA used for intermediate CA generation.
-func (o FirewallPolicyTransportSecurityPtrOutput) CertificateAuthority() FirewallPolicyCertificateAuthorityPtrOutput {
- return o.ApplyT(func(v *FirewallPolicyTransportSecurity) *FirewallPolicyCertificateAuthority {
- if v == nil {
- return nil
- }
- return v.CertificateAuthority
- }).(FirewallPolicyCertificateAuthorityPtrOutput)
+// The source ports of the traffic.
+func (o IPTrafficResponseOutput) SourcePorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IPTrafficResponse) []string { return v.SourcePorts }).(pulumi.StringArrayOutput)
}
-// Configuration needed to perform TLS termination & initiation.
-type FirewallPolicyTransportSecurityResponse struct {
- // The CA used for intermediate CA generation.
- CertificateAuthority *FirewallPolicyCertificateAuthorityResponse `pulumi:"certificateAuthority"`
+// Inbound NAT pool of the load balancer.
+type InboundNatPool struct {
+ // The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.
+ BackendPort int `pulumi:"backendPort"`
+ // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+ EnableFloatingIP *bool `pulumi:"enableFloatingIP"`
+ // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+ EnableTcpReset *bool `pulumi:"enableTcpReset"`
+ // A reference to frontend IP addresses.
+ FrontendIPConfiguration *SubResource `pulumi:"frontendIPConfiguration"`
+ // The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.
+ FrontendPortRangeEnd int `pulumi:"frontendPortRangeEnd"`
+ // The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.
+ FrontendPortRangeStart int `pulumi:"frontendPortRangeStart"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The reference to the transport protocol used by the inbound NAT pool.
+ Protocol string `pulumi:"protocol"`
}
-// Configuration needed to perform TLS termination & initiation.
-type FirewallPolicyTransportSecurityResponseOutput struct{ *pulumi.OutputState }
+// InboundNatPoolInput is an input type that accepts InboundNatPoolArgs and InboundNatPoolOutput values.
+// You can construct a concrete instance of `InboundNatPoolInput` via:
+//
+// InboundNatPoolArgs{...}
+type InboundNatPoolInput interface {
+ pulumi.Input
-func (FirewallPolicyTransportSecurityResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FirewallPolicyTransportSecurityResponse)(nil)).Elem()
+ ToInboundNatPoolOutput() InboundNatPoolOutput
+ ToInboundNatPoolOutputWithContext(context.Context) InboundNatPoolOutput
}
-func (o FirewallPolicyTransportSecurityResponseOutput) ToFirewallPolicyTransportSecurityResponseOutput() FirewallPolicyTransportSecurityResponseOutput {
- return o
+// Inbound NAT pool of the load balancer.
+type InboundNatPoolArgs struct {
+ // The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.
+ BackendPort pulumi.IntInput `pulumi:"backendPort"`
+ // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+ EnableFloatingIP pulumi.BoolPtrInput `pulumi:"enableFloatingIP"`
+ // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+ EnableTcpReset pulumi.BoolPtrInput `pulumi:"enableTcpReset"`
+ // A reference to frontend IP addresses.
+ FrontendIPConfiguration SubResourcePtrInput `pulumi:"frontendIPConfiguration"`
+ // The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.
+ FrontendPortRangeEnd pulumi.IntInput `pulumi:"frontendPortRangeEnd"`
+ // The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.
+ FrontendPortRangeStart pulumi.IntInput `pulumi:"frontendPortRangeStart"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+ IdleTimeoutInMinutes pulumi.IntPtrInput `pulumi:"idleTimeoutInMinutes"`
+ // The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The reference to the transport protocol used by the inbound NAT pool.
+ Protocol pulumi.StringInput `pulumi:"protocol"`
}
-func (o FirewallPolicyTransportSecurityResponseOutput) ToFirewallPolicyTransportSecurityResponseOutputWithContext(ctx context.Context) FirewallPolicyTransportSecurityResponseOutput {
- return o
+func (InboundNatPoolArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*InboundNatPool)(nil)).Elem()
}
-// The CA used for intermediate CA generation.
-func (o FirewallPolicyTransportSecurityResponseOutput) CertificateAuthority() FirewallPolicyCertificateAuthorityResponsePtrOutput {
- return o.ApplyT(func(v FirewallPolicyTransportSecurityResponse) *FirewallPolicyCertificateAuthorityResponse {
- return v.CertificateAuthority
- }).(FirewallPolicyCertificateAuthorityResponsePtrOutput)
+func (i InboundNatPoolArgs) ToInboundNatPoolOutput() InboundNatPoolOutput {
+ return i.ToInboundNatPoolOutputWithContext(context.Background())
}
-type FirewallPolicyTransportSecurityResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (FirewallPolicyTransportSecurityResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FirewallPolicyTransportSecurityResponse)(nil)).Elem()
+func (i InboundNatPoolArgs) ToInboundNatPoolOutputWithContext(ctx context.Context) InboundNatPoolOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(InboundNatPoolOutput)
}
-func (o FirewallPolicyTransportSecurityResponsePtrOutput) ToFirewallPolicyTransportSecurityResponsePtrOutput() FirewallPolicyTransportSecurityResponsePtrOutput {
- return o
-}
+// InboundNatPoolArrayInput is an input type that accepts InboundNatPoolArray and InboundNatPoolArrayOutput values.
+// You can construct a concrete instance of `InboundNatPoolArrayInput` via:
+//
+// InboundNatPoolArray{ InboundNatPoolArgs{...} }
+type InboundNatPoolArrayInput interface {
+ pulumi.Input
-func (o FirewallPolicyTransportSecurityResponsePtrOutput) ToFirewallPolicyTransportSecurityResponsePtrOutputWithContext(ctx context.Context) FirewallPolicyTransportSecurityResponsePtrOutput {
- return o
+ ToInboundNatPoolArrayOutput() InboundNatPoolArrayOutput
+ ToInboundNatPoolArrayOutputWithContext(context.Context) InboundNatPoolArrayOutput
}
-func (o FirewallPolicyTransportSecurityResponsePtrOutput) Elem() FirewallPolicyTransportSecurityResponseOutput {
- return o.ApplyT(func(v *FirewallPolicyTransportSecurityResponse) FirewallPolicyTransportSecurityResponse {
- if v != nil {
- return *v
- }
- var ret FirewallPolicyTransportSecurityResponse
- return ret
- }).(FirewallPolicyTransportSecurityResponseOutput)
-}
+type InboundNatPoolArray []InboundNatPoolInput
-// The CA used for intermediate CA generation.
-func (o FirewallPolicyTransportSecurityResponsePtrOutput) CertificateAuthority() FirewallPolicyCertificateAuthorityResponsePtrOutput {
- return o.ApplyT(func(v *FirewallPolicyTransportSecurityResponse) *FirewallPolicyCertificateAuthorityResponse {
- if v == nil {
- return nil
- }
- return v.CertificateAuthority
- }).(FirewallPolicyCertificateAuthorityResponsePtrOutput)
+func (InboundNatPoolArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]InboundNatPool)(nil)).Elem()
}
-// Parameters that define the flow log format.
-type FlowLogFormatParameters struct {
- // The file type of flow log.
- Type *string `pulumi:"type"`
- // The version (revision) of the flow log.
- Version *int `pulumi:"version"`
+func (i InboundNatPoolArray) ToInboundNatPoolArrayOutput() InboundNatPoolArrayOutput {
+ return i.ToInboundNatPoolArrayOutputWithContext(context.Background())
}
-// Defaults sets the appropriate defaults for FlowLogFormatParameters
-func (val *FlowLogFormatParameters) Defaults() *FlowLogFormatParameters {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.Version == nil {
- version_ := 0
- tmp.Version = &version_
- }
- return &tmp
+func (i InboundNatPoolArray) ToInboundNatPoolArrayOutputWithContext(ctx context.Context) InboundNatPoolArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(InboundNatPoolArrayOutput)
}
-// FlowLogFormatParametersInput is an input type that accepts FlowLogFormatParametersArgs and FlowLogFormatParametersOutput values.
-// You can construct a concrete instance of `FlowLogFormatParametersInput` via:
-//
-// FlowLogFormatParametersArgs{...}
-type FlowLogFormatParametersInput interface {
- pulumi.Input
+// Inbound NAT pool of the load balancer.
+type InboundNatPoolOutput struct{ *pulumi.OutputState }
- ToFlowLogFormatParametersOutput() FlowLogFormatParametersOutput
- ToFlowLogFormatParametersOutputWithContext(context.Context) FlowLogFormatParametersOutput
+func (InboundNatPoolOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*InboundNatPool)(nil)).Elem()
}
-// Parameters that define the flow log format.
-type FlowLogFormatParametersArgs struct {
- // The file type of flow log.
- Type pulumi.StringPtrInput `pulumi:"type"`
- // The version (revision) of the flow log.
- Version pulumi.IntPtrInput `pulumi:"version"`
+func (o InboundNatPoolOutput) ToInboundNatPoolOutput() InboundNatPoolOutput {
+ return o
}
-// Defaults sets the appropriate defaults for FlowLogFormatParametersArgs
-func (val *FlowLogFormatParametersArgs) Defaults() *FlowLogFormatParametersArgs {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.Version == nil {
- tmp.Version = pulumi.IntPtr(0)
- }
- return &tmp
-}
-func (FlowLogFormatParametersArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FlowLogFormatParameters)(nil)).Elem()
+func (o InboundNatPoolOutput) ToInboundNatPoolOutputWithContext(ctx context.Context) InboundNatPoolOutput {
+ return o
}
-func (i FlowLogFormatParametersArgs) ToFlowLogFormatParametersOutput() FlowLogFormatParametersOutput {
- return i.ToFlowLogFormatParametersOutputWithContext(context.Background())
+// The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.
+func (o InboundNatPoolOutput) BackendPort() pulumi.IntOutput {
+ return o.ApplyT(func(v InboundNatPool) int { return v.BackendPort }).(pulumi.IntOutput)
}
-func (i FlowLogFormatParametersArgs) ToFlowLogFormatParametersOutputWithContext(ctx context.Context) FlowLogFormatParametersOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FlowLogFormatParametersOutput)
+// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+func (o InboundNatPoolOutput) EnableFloatingIP() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v InboundNatPool) *bool { return v.EnableFloatingIP }).(pulumi.BoolPtrOutput)
}
-func (i FlowLogFormatParametersArgs) ToFlowLogFormatParametersPtrOutput() FlowLogFormatParametersPtrOutput {
- return i.ToFlowLogFormatParametersPtrOutputWithContext(context.Background())
+// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+func (o InboundNatPoolOutput) EnableTcpReset() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v InboundNatPool) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
}
-func (i FlowLogFormatParametersArgs) ToFlowLogFormatParametersPtrOutputWithContext(ctx context.Context) FlowLogFormatParametersPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FlowLogFormatParametersOutput).ToFlowLogFormatParametersPtrOutputWithContext(ctx)
+// A reference to frontend IP addresses.
+func (o InboundNatPoolOutput) FrontendIPConfiguration() SubResourcePtrOutput {
+ return o.ApplyT(func(v InboundNatPool) *SubResource { return v.FrontendIPConfiguration }).(SubResourcePtrOutput)
}
-// FlowLogFormatParametersPtrInput is an input type that accepts FlowLogFormatParametersArgs, FlowLogFormatParametersPtr and FlowLogFormatParametersPtrOutput values.
-// You can construct a concrete instance of `FlowLogFormatParametersPtrInput` via:
-//
-// FlowLogFormatParametersArgs{...}
-//
-// or:
-//
-// nil
-type FlowLogFormatParametersPtrInput interface {
- pulumi.Input
-
- ToFlowLogFormatParametersPtrOutput() FlowLogFormatParametersPtrOutput
- ToFlowLogFormatParametersPtrOutputWithContext(context.Context) FlowLogFormatParametersPtrOutput
+// The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.
+func (o InboundNatPoolOutput) FrontendPortRangeEnd() pulumi.IntOutput {
+ return o.ApplyT(func(v InboundNatPool) int { return v.FrontendPortRangeEnd }).(pulumi.IntOutput)
}
-type flowLogFormatParametersPtrType FlowLogFormatParametersArgs
+// The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.
+func (o InboundNatPoolOutput) FrontendPortRangeStart() pulumi.IntOutput {
+ return o.ApplyT(func(v InboundNatPool) int { return v.FrontendPortRangeStart }).(pulumi.IntOutput)
+}
-func FlowLogFormatParametersPtr(v *FlowLogFormatParametersArgs) FlowLogFormatParametersPtrInput {
- return (*flowLogFormatParametersPtrType)(v)
+// Resource ID.
+func (o InboundNatPoolOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InboundNatPool) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (*flowLogFormatParametersPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**FlowLogFormatParameters)(nil)).Elem()
+// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+func (o InboundNatPoolOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v InboundNatPool) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-func (i *flowLogFormatParametersPtrType) ToFlowLogFormatParametersPtrOutput() FlowLogFormatParametersPtrOutput {
- return i.ToFlowLogFormatParametersPtrOutputWithContext(context.Background())
+// The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.
+func (o InboundNatPoolOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InboundNatPool) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (i *flowLogFormatParametersPtrType) ToFlowLogFormatParametersPtrOutputWithContext(ctx context.Context) FlowLogFormatParametersPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FlowLogFormatParametersPtrOutput)
+// The reference to the transport protocol used by the inbound NAT pool.
+func (o InboundNatPoolOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v InboundNatPool) string { return v.Protocol }).(pulumi.StringOutput)
}
-// Parameters that define the flow log format.
-type FlowLogFormatParametersOutput struct{ *pulumi.OutputState }
+type InboundNatPoolArrayOutput struct{ *pulumi.OutputState }
-func (FlowLogFormatParametersOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FlowLogFormatParameters)(nil)).Elem()
+func (InboundNatPoolArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]InboundNatPool)(nil)).Elem()
}
-func (o FlowLogFormatParametersOutput) ToFlowLogFormatParametersOutput() FlowLogFormatParametersOutput {
+func (o InboundNatPoolArrayOutput) ToInboundNatPoolArrayOutput() InboundNatPoolArrayOutput {
return o
}
-func (o FlowLogFormatParametersOutput) ToFlowLogFormatParametersOutputWithContext(ctx context.Context) FlowLogFormatParametersOutput {
+func (o InboundNatPoolArrayOutput) ToInboundNatPoolArrayOutputWithContext(ctx context.Context) InboundNatPoolArrayOutput {
return o
}
-func (o FlowLogFormatParametersOutput) ToFlowLogFormatParametersPtrOutput() FlowLogFormatParametersPtrOutput {
- return o.ToFlowLogFormatParametersPtrOutputWithContext(context.Background())
-}
-
-func (o FlowLogFormatParametersOutput) ToFlowLogFormatParametersPtrOutputWithContext(ctx context.Context) FlowLogFormatParametersPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v FlowLogFormatParameters) *FlowLogFormatParameters {
- return &v
- }).(FlowLogFormatParametersPtrOutput)
-}
-
-// The file type of flow log.
-func (o FlowLogFormatParametersOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FlowLogFormatParameters) *string { return v.Type }).(pulumi.StringPtrOutput)
+func (o InboundNatPoolArrayOutput) Index(i pulumi.IntInput) InboundNatPoolOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) InboundNatPool {
+ return vs[0].([]InboundNatPool)[vs[1].(int)]
+ }).(InboundNatPoolOutput)
}
-// The version (revision) of the flow log.
-func (o FlowLogFormatParametersOutput) Version() pulumi.IntPtrOutput {
- return o.ApplyT(func(v FlowLogFormatParameters) *int { return v.Version }).(pulumi.IntPtrOutput)
+// Inbound NAT pool of the load balancer.
+type InboundNatPoolResponse struct {
+ // The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.
+ BackendPort int `pulumi:"backendPort"`
+ // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+ EnableFloatingIP *bool `pulumi:"enableFloatingIP"`
+ // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+ EnableTcpReset *bool `pulumi:"enableTcpReset"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // A reference to frontend IP addresses.
+ FrontendIPConfiguration *SubResourceResponse `pulumi:"frontendIPConfiguration"`
+ // The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.
+ FrontendPortRangeEnd int `pulumi:"frontendPortRangeEnd"`
+ // The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.
+ FrontendPortRangeStart int `pulumi:"frontendPortRangeStart"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The reference to the transport protocol used by the inbound NAT pool.
+ Protocol string `pulumi:"protocol"`
+ // The provisioning state of the inbound NAT pool resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Type of the resource.
+ Type string `pulumi:"type"`
}
-type FlowLogFormatParametersPtrOutput struct{ *pulumi.OutputState }
+// Inbound NAT pool of the load balancer.
+type InboundNatPoolResponseOutput struct{ *pulumi.OutputState }
-func (FlowLogFormatParametersPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FlowLogFormatParameters)(nil)).Elem()
+func (InboundNatPoolResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*InboundNatPoolResponse)(nil)).Elem()
}
-func (o FlowLogFormatParametersPtrOutput) ToFlowLogFormatParametersPtrOutput() FlowLogFormatParametersPtrOutput {
+func (o InboundNatPoolResponseOutput) ToInboundNatPoolResponseOutput() InboundNatPoolResponseOutput {
return o
}
-func (o FlowLogFormatParametersPtrOutput) ToFlowLogFormatParametersPtrOutputWithContext(ctx context.Context) FlowLogFormatParametersPtrOutput {
+func (o InboundNatPoolResponseOutput) ToInboundNatPoolResponseOutputWithContext(ctx context.Context) InboundNatPoolResponseOutput {
return o
}
-func (o FlowLogFormatParametersPtrOutput) Elem() FlowLogFormatParametersOutput {
- return o.ApplyT(func(v *FlowLogFormatParameters) FlowLogFormatParameters {
- if v != nil {
- return *v
- }
- var ret FlowLogFormatParameters
- return ret
- }).(FlowLogFormatParametersOutput)
+// The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.
+func (o InboundNatPoolResponseOutput) BackendPort() pulumi.IntOutput {
+ return o.ApplyT(func(v InboundNatPoolResponse) int { return v.BackendPort }).(pulumi.IntOutput)
}
-// The file type of flow log.
-func (o FlowLogFormatParametersPtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FlowLogFormatParameters) *string {
- if v == nil {
- return nil
- }
- return v.Type
- }).(pulumi.StringPtrOutput)
+// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+func (o InboundNatPoolResponseOutput) EnableFloatingIP() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v InboundNatPoolResponse) *bool { return v.EnableFloatingIP }).(pulumi.BoolPtrOutput)
}
-// The version (revision) of the flow log.
-func (o FlowLogFormatParametersPtrOutput) Version() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *FlowLogFormatParameters) *int {
- if v == nil {
- return nil
- }
- return v.Version
- }).(pulumi.IntPtrOutput)
+// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+func (o InboundNatPoolResponseOutput) EnableTcpReset() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v InboundNatPoolResponse) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
}
-// Parameters that define the flow log format.
-type FlowLogFormatParametersResponse struct {
- // The file type of flow log.
- Type *string `pulumi:"type"`
- // The version (revision) of the flow log.
- Version *int `pulumi:"version"`
+// A unique read-only string that changes whenever the resource is updated.
+func (o InboundNatPoolResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v InboundNatPoolResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Defaults sets the appropriate defaults for FlowLogFormatParametersResponse
-func (val *FlowLogFormatParametersResponse) Defaults() *FlowLogFormatParametersResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.Version == nil {
- version_ := 0
- tmp.Version = &version_
- }
- return &tmp
+// A reference to frontend IP addresses.
+func (o InboundNatPoolResponseOutput) FrontendIPConfiguration() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v InboundNatPoolResponse) *SubResourceResponse { return v.FrontendIPConfiguration }).(SubResourceResponsePtrOutput)
}
-// Parameters that define the flow log format.
-type FlowLogFormatParametersResponseOutput struct{ *pulumi.OutputState }
+// The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.
+func (o InboundNatPoolResponseOutput) FrontendPortRangeEnd() pulumi.IntOutput {
+ return o.ApplyT(func(v InboundNatPoolResponse) int { return v.FrontendPortRangeEnd }).(pulumi.IntOutput)
+}
-func (FlowLogFormatParametersResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FlowLogFormatParametersResponse)(nil)).Elem()
+// The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.
+func (o InboundNatPoolResponseOutput) FrontendPortRangeStart() pulumi.IntOutput {
+ return o.ApplyT(func(v InboundNatPoolResponse) int { return v.FrontendPortRangeStart }).(pulumi.IntOutput)
}
-func (o FlowLogFormatParametersResponseOutput) ToFlowLogFormatParametersResponseOutput() FlowLogFormatParametersResponseOutput {
- return o
+// Resource ID.
+func (o InboundNatPoolResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InboundNatPoolResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o FlowLogFormatParametersResponseOutput) ToFlowLogFormatParametersResponseOutputWithContext(ctx context.Context) FlowLogFormatParametersResponseOutput {
- return o
+// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+func (o InboundNatPoolResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v InboundNatPoolResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-// The file type of flow log.
-func (o FlowLogFormatParametersResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FlowLogFormatParametersResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+// The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.
+func (o InboundNatPoolResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InboundNatPoolResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The version (revision) of the flow log.
-func (o FlowLogFormatParametersResponseOutput) Version() pulumi.IntPtrOutput {
- return o.ApplyT(func(v FlowLogFormatParametersResponse) *int { return v.Version }).(pulumi.IntPtrOutput)
+// The reference to the transport protocol used by the inbound NAT pool.
+func (o InboundNatPoolResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v InboundNatPoolResponse) string { return v.Protocol }).(pulumi.StringOutput)
}
-type FlowLogFormatParametersResponsePtrOutput struct{ *pulumi.OutputState }
+// The provisioning state of the inbound NAT pool resource.
+func (o InboundNatPoolResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v InboundNatPoolResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
-func (FlowLogFormatParametersResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FlowLogFormatParametersResponse)(nil)).Elem()
+// Type of the resource.
+func (o InboundNatPoolResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v InboundNatPoolResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (o FlowLogFormatParametersResponsePtrOutput) ToFlowLogFormatParametersResponsePtrOutput() FlowLogFormatParametersResponsePtrOutput {
- return o
+type InboundNatPoolResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (InboundNatPoolResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]InboundNatPoolResponse)(nil)).Elem()
}
-func (o FlowLogFormatParametersResponsePtrOutput) ToFlowLogFormatParametersResponsePtrOutputWithContext(ctx context.Context) FlowLogFormatParametersResponsePtrOutput {
+func (o InboundNatPoolResponseArrayOutput) ToInboundNatPoolResponseArrayOutput() InboundNatPoolResponseArrayOutput {
return o
}
-func (o FlowLogFormatParametersResponsePtrOutput) Elem() FlowLogFormatParametersResponseOutput {
- return o.ApplyT(func(v *FlowLogFormatParametersResponse) FlowLogFormatParametersResponse {
- if v != nil {
- return *v
- }
- var ret FlowLogFormatParametersResponse
- return ret
- }).(FlowLogFormatParametersResponseOutput)
+func (o InboundNatPoolResponseArrayOutput) ToInboundNatPoolResponseArrayOutputWithContext(ctx context.Context) InboundNatPoolResponseArrayOutput {
+ return o
}
-// The file type of flow log.
-func (o FlowLogFormatParametersResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FlowLogFormatParametersResponse) *string {
- if v == nil {
- return nil
- }
- return v.Type
- }).(pulumi.StringPtrOutput)
+func (o InboundNatPoolResponseArrayOutput) Index(i pulumi.IntInput) InboundNatPoolResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) InboundNatPoolResponse {
+ return vs[0].([]InboundNatPoolResponse)[vs[1].(int)]
+ }).(InboundNatPoolResponseOutput)
}
-// The version (revision) of the flow log.
-func (o FlowLogFormatParametersResponsePtrOutput) Version() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *FlowLogFormatParametersResponse) *int {
- if v == nil {
- return nil
- }
- return v.Version
- }).(pulumi.IntPtrOutput)
+// Inbound NAT rule of the load balancer.
+type InboundNatRuleType struct {
+ // A reference to backendAddressPool resource.
+ BackendAddressPool *SubResource `pulumi:"backendAddressPool"`
+ // The port used for the internal endpoint. Acceptable values range from 1 to 65535.
+ BackendPort *int `pulumi:"backendPort"`
+ // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+ EnableFloatingIP *bool `pulumi:"enableFloatingIP"`
+ // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+ EnableTcpReset *bool `pulumi:"enableTcpReset"`
+ // A reference to frontend IP addresses.
+ FrontendIPConfiguration *SubResource `pulumi:"frontendIPConfiguration"`
+ // The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
+ FrontendPort *int `pulumi:"frontendPort"`
+ // The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
+ FrontendPortRangeEnd *int `pulumi:"frontendPortRangeEnd"`
+ // The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
+ FrontendPortRangeStart *int `pulumi:"frontendPortRangeStart"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The reference to the transport protocol used by the load balancing rule.
+ Protocol *string `pulumi:"protocol"`
}
-// A flow log resource.
-type FlowLogResponse struct {
- // Flag to enable/disable flow logging.
- Enabled *bool `pulumi:"enabled"`
- // Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged.
- EnabledFilteringCriteria *string `pulumi:"enabledFilteringCriteria"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Parameters that define the configuration of traffic analytics.
- FlowAnalyticsConfiguration *TrafficAnalyticsPropertiesResponse `pulumi:"flowAnalyticsConfiguration"`
- // Parameters that define the flow log format.
- Format *FlowLogFormatParametersResponse `pulumi:"format"`
+// InboundNatRuleTypeInput is an input type that accepts InboundNatRuleTypeArgs and InboundNatRuleTypeOutput values.
+// You can construct a concrete instance of `InboundNatRuleTypeInput` via:
+//
+// InboundNatRuleTypeArgs{...}
+type InboundNatRuleTypeInput interface {
+ pulumi.Input
+
+ ToInboundNatRuleTypeOutput() InboundNatRuleTypeOutput
+ ToInboundNatRuleTypeOutputWithContext(context.Context) InboundNatRuleTypeOutput
+}
+
+// Inbound NAT rule of the load balancer.
+type InboundNatRuleTypeArgs struct {
+ // A reference to backendAddressPool resource.
+ BackendAddressPool SubResourcePtrInput `pulumi:"backendAddressPool"`
+ // The port used for the internal endpoint. Acceptable values range from 1 to 65535.
+ BackendPort pulumi.IntPtrInput `pulumi:"backendPort"`
+ // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+ EnableFloatingIP pulumi.BoolPtrInput `pulumi:"enableFloatingIP"`
+ // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+ EnableTcpReset pulumi.BoolPtrInput `pulumi:"enableTcpReset"`
+ // A reference to frontend IP addresses.
+ FrontendIPConfiguration SubResourcePtrInput `pulumi:"frontendIPConfiguration"`
+ // The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
+ FrontendPort pulumi.IntPtrInput `pulumi:"frontendPort"`
+ // The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
+ FrontendPortRangeEnd pulumi.IntPtrInput `pulumi:"frontendPortRangeEnd"`
+ // The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
+ FrontendPortRangeStart pulumi.IntPtrInput `pulumi:"frontendPortRangeStart"`
// Resource ID.
- Id *string `pulumi:"id"`
- // FlowLog resource Managed Identity
- Identity *ManagedServiceIdentityResponse `pulumi:"identity"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // The provisioning state of the flow log.
- ProvisioningState string `pulumi:"provisioningState"`
- // Parameters that define the retention policy for flow log.
- RetentionPolicy *RetentionPolicyParametersResponse `pulumi:"retentionPolicy"`
- // ID of the storage account which is used to store the flow log.
- StorageId string `pulumi:"storageId"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Guid of network security group to which flow log will be applied.
- TargetResourceGuid string `pulumi:"targetResourceGuid"`
- // ID of network security group to which flow log will be applied.
- TargetResourceId string `pulumi:"targetResourceId"`
- // Resource type.
- Type string `pulumi:"type"`
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+ IdleTimeoutInMinutes pulumi.IntPtrInput `pulumi:"idleTimeoutInMinutes"`
+ // The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The reference to the transport protocol used by the load balancing rule.
+ Protocol pulumi.StringPtrInput `pulumi:"protocol"`
}
-// Defaults sets the appropriate defaults for FlowLogResponse
-func (val *FlowLogResponse) Defaults() *FlowLogResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.Format = tmp.Format.Defaults()
+func (InboundNatRuleTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*InboundNatRuleType)(nil)).Elem()
+}
- tmp.RetentionPolicy = tmp.RetentionPolicy.Defaults()
+func (i InboundNatRuleTypeArgs) ToInboundNatRuleTypeOutput() InboundNatRuleTypeOutput {
+ return i.ToInboundNatRuleTypeOutputWithContext(context.Background())
+}
- return &tmp
+func (i InboundNatRuleTypeArgs) ToInboundNatRuleTypeOutputWithContext(ctx context.Context) InboundNatRuleTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(InboundNatRuleTypeOutput)
}
-// A flow log resource.
-type FlowLogResponseOutput struct{ *pulumi.OutputState }
+// InboundNatRuleTypeArrayInput is an input type that accepts InboundNatRuleTypeArray and InboundNatRuleTypeArrayOutput values.
+// You can construct a concrete instance of `InboundNatRuleTypeArrayInput` via:
+//
+// InboundNatRuleTypeArray{ InboundNatRuleTypeArgs{...} }
+type InboundNatRuleTypeArrayInput interface {
+ pulumi.Input
-func (FlowLogResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FlowLogResponse)(nil)).Elem()
+ ToInboundNatRuleTypeArrayOutput() InboundNatRuleTypeArrayOutput
+ ToInboundNatRuleTypeArrayOutputWithContext(context.Context) InboundNatRuleTypeArrayOutput
}
-func (o FlowLogResponseOutput) ToFlowLogResponseOutput() FlowLogResponseOutput {
- return o
+type InboundNatRuleTypeArray []InboundNatRuleTypeInput
+
+func (InboundNatRuleTypeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]InboundNatRuleType)(nil)).Elem()
}
-func (o FlowLogResponseOutput) ToFlowLogResponseOutputWithContext(ctx context.Context) FlowLogResponseOutput {
- return o
+func (i InboundNatRuleTypeArray) ToInboundNatRuleTypeArrayOutput() InboundNatRuleTypeArrayOutput {
+ return i.ToInboundNatRuleTypeArrayOutputWithContext(context.Background())
}
-// Flag to enable/disable flow logging.
-func (o FlowLogResponseOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v FlowLogResponse) *bool { return v.Enabled }).(pulumi.BoolPtrOutput)
+func (i InboundNatRuleTypeArray) ToInboundNatRuleTypeArrayOutputWithContext(ctx context.Context) InboundNatRuleTypeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(InboundNatRuleTypeArrayOutput)
}
-// Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged.
-func (o FlowLogResponseOutput) EnabledFilteringCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FlowLogResponse) *string { return v.EnabledFilteringCriteria }).(pulumi.StringPtrOutput)
+// Inbound NAT rule of the load balancer.
+type InboundNatRuleTypeOutput struct{ *pulumi.OutputState }
+
+func (InboundNatRuleTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*InboundNatRuleType)(nil)).Elem()
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o FlowLogResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v FlowLogResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o InboundNatRuleTypeOutput) ToInboundNatRuleTypeOutput() InboundNatRuleTypeOutput {
+ return o
}
-// Parameters that define the configuration of traffic analytics.
-func (o FlowLogResponseOutput) FlowAnalyticsConfiguration() TrafficAnalyticsPropertiesResponsePtrOutput {
- return o.ApplyT(func(v FlowLogResponse) *TrafficAnalyticsPropertiesResponse { return v.FlowAnalyticsConfiguration }).(TrafficAnalyticsPropertiesResponsePtrOutput)
+func (o InboundNatRuleTypeOutput) ToInboundNatRuleTypeOutputWithContext(ctx context.Context) InboundNatRuleTypeOutput {
+ return o
}
-// Parameters that define the flow log format.
-func (o FlowLogResponseOutput) Format() FlowLogFormatParametersResponsePtrOutput {
- return o.ApplyT(func(v FlowLogResponse) *FlowLogFormatParametersResponse { return v.Format }).(FlowLogFormatParametersResponsePtrOutput)
+// A reference to backendAddressPool resource.
+func (o InboundNatRuleTypeOutput) BackendAddressPool() SubResourcePtrOutput {
+ return o.ApplyT(func(v InboundNatRuleType) *SubResource { return v.BackendAddressPool }).(SubResourcePtrOutput)
}
-// Resource ID.
-func (o FlowLogResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FlowLogResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The port used for the internal endpoint. Acceptable values range from 1 to 65535.
+func (o InboundNatRuleTypeOutput) BackendPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleType) *int { return v.BackendPort }).(pulumi.IntPtrOutput)
}
-// FlowLog resource Managed Identity
-func (o FlowLogResponseOutput) Identity() ManagedServiceIdentityResponsePtrOutput {
- return o.ApplyT(func(v FlowLogResponse) *ManagedServiceIdentityResponse { return v.Identity }).(ManagedServiceIdentityResponsePtrOutput)
+// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+func (o InboundNatRuleTypeOutput) EnableFloatingIP() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleType) *bool { return v.EnableFloatingIP }).(pulumi.BoolPtrOutput)
}
-// Resource location.
-func (o FlowLogResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FlowLogResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+func (o InboundNatRuleTypeOutput) EnableTcpReset() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleType) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
}
-// Resource name.
-func (o FlowLogResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v FlowLogResponse) string { return v.Name }).(pulumi.StringOutput)
+// A reference to frontend IP addresses.
+func (o InboundNatRuleTypeOutput) FrontendIPConfiguration() SubResourcePtrOutput {
+ return o.ApplyT(func(v InboundNatRuleType) *SubResource { return v.FrontendIPConfiguration }).(SubResourcePtrOutput)
}
-// The provisioning state of the flow log.
-func (o FlowLogResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v FlowLogResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
+func (o InboundNatRuleTypeOutput) FrontendPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleType) *int { return v.FrontendPort }).(pulumi.IntPtrOutput)
}
-// Parameters that define the retention policy for flow log.
-func (o FlowLogResponseOutput) RetentionPolicy() RetentionPolicyParametersResponsePtrOutput {
- return o.ApplyT(func(v FlowLogResponse) *RetentionPolicyParametersResponse { return v.RetentionPolicy }).(RetentionPolicyParametersResponsePtrOutput)
+// The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
+func (o InboundNatRuleTypeOutput) FrontendPortRangeEnd() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleType) *int { return v.FrontendPortRangeEnd }).(pulumi.IntPtrOutput)
}
-// ID of the storage account which is used to store the flow log.
-func (o FlowLogResponseOutput) StorageId() pulumi.StringOutput {
- return o.ApplyT(func(v FlowLogResponse) string { return v.StorageId }).(pulumi.StringOutput)
+// The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
+func (o InboundNatRuleTypeOutput) FrontendPortRangeStart() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleType) *int { return v.FrontendPortRangeStart }).(pulumi.IntPtrOutput)
}
-// Resource tags.
-func (o FlowLogResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v FlowLogResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// Resource ID.
+func (o InboundNatRuleTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Guid of network security group to which flow log will be applied.
-func (o FlowLogResponseOutput) TargetResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v FlowLogResponse) string { return v.TargetResourceGuid }).(pulumi.StringOutput)
+// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+func (o InboundNatRuleTypeOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleType) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-// ID of network security group to which flow log will be applied.
-func (o FlowLogResponseOutput) TargetResourceId() pulumi.StringOutput {
- return o.ApplyT(func(v FlowLogResponse) string { return v.TargetResourceId }).(pulumi.StringOutput)
+// The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource.
+func (o InboundNatRuleTypeOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleType) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Resource type.
-func (o FlowLogResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v FlowLogResponse) string { return v.Type }).(pulumi.StringOutput)
+// The reference to the transport protocol used by the load balancing rule.
+func (o InboundNatRuleTypeOutput) Protocol() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleType) *string { return v.Protocol }).(pulumi.StringPtrOutput)
}
-type FlowLogResponseArrayOutput struct{ *pulumi.OutputState }
+type InboundNatRuleTypeArrayOutput struct{ *pulumi.OutputState }
-func (FlowLogResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FlowLogResponse)(nil)).Elem()
+func (InboundNatRuleTypeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]InboundNatRuleType)(nil)).Elem()
}
-func (o FlowLogResponseArrayOutput) ToFlowLogResponseArrayOutput() FlowLogResponseArrayOutput {
+func (o InboundNatRuleTypeArrayOutput) ToInboundNatRuleTypeArrayOutput() InboundNatRuleTypeArrayOutput {
return o
}
-func (o FlowLogResponseArrayOutput) ToFlowLogResponseArrayOutputWithContext(ctx context.Context) FlowLogResponseArrayOutput {
+func (o InboundNatRuleTypeArrayOutput) ToInboundNatRuleTypeArrayOutputWithContext(ctx context.Context) InboundNatRuleTypeArrayOutput {
return o
}
-func (o FlowLogResponseArrayOutput) Index(i pulumi.IntInput) FlowLogResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) FlowLogResponse {
- return vs[0].([]FlowLogResponse)[vs[1].(int)]
- }).(FlowLogResponseOutput)
+func (o InboundNatRuleTypeArrayOutput) Index(i pulumi.IntInput) InboundNatRuleTypeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) InboundNatRuleType {
+ return vs[0].([]InboundNatRuleType)[vs[1].(int)]
+ }).(InboundNatRuleTypeOutput)
}
-// Frontend IP address of the load balancer.
-type FrontendIPConfiguration struct {
- // The reference to gateway load balancer frontend IP.
- GatewayLoadBalancer *SubResource `pulumi:"gatewayLoadBalancer"`
+// Inbound NAT rule of the load balancer.
+type InboundNatRuleInterfaceEndpointResponse struct {
+ // A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP.
+ BackendIPConfiguration NetworkInterfaceIPConfigurationResponse `pulumi:"backendIPConfiguration"`
+ // The port used for the internal endpoint. Acceptable values range from 1 to 65535.
+ BackendPort *int `pulumi:"backendPort"`
+ // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+ EnableFloatingIP *bool `pulumi:"enableFloatingIP"`
+ // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+ EnableTcpReset *bool `pulumi:"enableTcpReset"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // A reference to frontend IP addresses.
+ FrontendIPConfiguration *SubResourceResponse `pulumi:"frontendIPConfiguration"`
+ // The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
+ FrontendPort *int `pulumi:"frontendPort"`
// Resource ID.
Id *string `pulumi:"id"`
- // The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
+ // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // Gets name of the resource that is unique within a resource group. This name can be used to access the resource.
Name *string `pulumi:"name"`
- // The private IP address of the IP configuration.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
- PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
- // The Private IP allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // The reference to the Public IP resource.
- PublicIPAddress *PublicIPAddressType `pulumi:"publicIPAddress"`
- // The reference to the Public IP Prefix resource.
- PublicIPPrefix *SubResource `pulumi:"publicIPPrefix"`
- // The reference to the subnet resource.
- Subnet *SubnetType `pulumi:"subnet"`
- // A list of availability zones denoting the IP allocated for the resource needs to come from.
- Zones []string `pulumi:"zones"`
+ // The reference to the transport protocol used by the load balancing rule.
+ Protocol *string `pulumi:"protocol"`
+ // Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState *string `pulumi:"provisioningState"`
}
-// Defaults sets the appropriate defaults for FrontendIPConfiguration
-func (val *FrontendIPConfiguration) Defaults() *FrontendIPConfiguration {
+// Defaults sets the appropriate defaults for InboundNatRuleInterfaceEndpointResponse
+func (val *InboundNatRuleInterfaceEndpointResponse) Defaults() *InboundNatRuleInterfaceEndpointResponse {
if val == nil {
return nil
}
tmp := *val
- tmp.Subnet = tmp.Subnet.Defaults()
+ tmp.BackendIPConfiguration = *tmp.BackendIPConfiguration.Defaults()
return &tmp
}
-// FrontendIPConfigurationInput is an input type that accepts FrontendIPConfigurationArgs and FrontendIPConfigurationOutput values.
-// You can construct a concrete instance of `FrontendIPConfigurationInput` via:
-//
-// FrontendIPConfigurationArgs{...}
-type FrontendIPConfigurationInput interface {
- pulumi.Input
+// Inbound NAT rule of the load balancer.
+type InboundNatRuleInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
- ToFrontendIPConfigurationOutput() FrontendIPConfigurationOutput
- ToFrontendIPConfigurationOutputWithContext(context.Context) FrontendIPConfigurationOutput
+func (InboundNatRuleInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*InboundNatRuleInterfaceEndpointResponse)(nil)).Elem()
}
-// Frontend IP address of the load balancer.
-type FrontendIPConfigurationArgs struct {
- // The reference to gateway load balancer frontend IP.
- GatewayLoadBalancer SubResourcePtrInput `pulumi:"gatewayLoadBalancer"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The private IP address of the IP configuration.
- PrivateIPAddress pulumi.StringPtrInput `pulumi:"privateIPAddress"`
- // Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
- PrivateIPAddressVersion pulumi.StringPtrInput `pulumi:"privateIPAddressVersion"`
- // The Private IP allocation method.
- PrivateIPAllocationMethod pulumi.StringPtrInput `pulumi:"privateIPAllocationMethod"`
- // The reference to the Public IP resource.
- PublicIPAddress PublicIPAddressTypePtrInput `pulumi:"publicIPAddress"`
- // The reference to the Public IP Prefix resource.
- PublicIPPrefix SubResourcePtrInput `pulumi:"publicIPPrefix"`
- // The reference to the subnet resource.
- Subnet SubnetTypePtrInput `pulumi:"subnet"`
- // A list of availability zones denoting the IP allocated for the resource needs to come from.
- Zones pulumi.StringArrayInput `pulumi:"zones"`
+func (o InboundNatRuleInterfaceEndpointResponseOutput) ToInboundNatRuleInterfaceEndpointResponseOutput() InboundNatRuleInterfaceEndpointResponseOutput {
+ return o
}
-// Defaults sets the appropriate defaults for FrontendIPConfigurationArgs
-func (val *FrontendIPConfigurationArgs) Defaults() *FrontendIPConfigurationArgs {
- if val == nil {
- return nil
- }
- tmp := *val
-
- return &tmp
+func (o InboundNatRuleInterfaceEndpointResponseOutput) ToInboundNatRuleInterfaceEndpointResponseOutputWithContext(ctx context.Context) InboundNatRuleInterfaceEndpointResponseOutput {
+ return o
}
-func (FrontendIPConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*FrontendIPConfiguration)(nil)).Elem()
+
+// A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP.
+func (o InboundNatRuleInterfaceEndpointResponseOutput) BackendIPConfiguration() NetworkInterfaceIPConfigurationResponseOutput {
+ return o.ApplyT(func(v InboundNatRuleInterfaceEndpointResponse) NetworkInterfaceIPConfigurationResponse {
+ return v.BackendIPConfiguration
+ }).(NetworkInterfaceIPConfigurationResponseOutput)
}
-func (i FrontendIPConfigurationArgs) ToFrontendIPConfigurationOutput() FrontendIPConfigurationOutput {
- return i.ToFrontendIPConfigurationOutputWithContext(context.Background())
+// The port used for the internal endpoint. Acceptable values range from 1 to 65535.
+func (o InboundNatRuleInterfaceEndpointResponseOutput) BackendPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleInterfaceEndpointResponse) *int { return v.BackendPort }).(pulumi.IntPtrOutput)
}
-func (i FrontendIPConfigurationArgs) ToFrontendIPConfigurationOutputWithContext(ctx context.Context) FrontendIPConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FrontendIPConfigurationOutput)
+// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+func (o InboundNatRuleInterfaceEndpointResponseOutput) EnableFloatingIP() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleInterfaceEndpointResponse) *bool { return v.EnableFloatingIP }).(pulumi.BoolPtrOutput)
}
-func (i FrontendIPConfigurationArgs) ToFrontendIPConfigurationPtrOutput() FrontendIPConfigurationPtrOutput {
- return i.ToFrontendIPConfigurationPtrOutputWithContext(context.Background())
+// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+func (o InboundNatRuleInterfaceEndpointResponseOutput) EnableTcpReset() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleInterfaceEndpointResponse) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
}
-func (i FrontendIPConfigurationArgs) ToFrontendIPConfigurationPtrOutputWithContext(ctx context.Context) FrontendIPConfigurationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FrontendIPConfigurationOutput).ToFrontendIPConfigurationPtrOutputWithContext(ctx)
+// A unique read-only string that changes whenever the resource is updated.
+func (o InboundNatRuleInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// FrontendIPConfigurationPtrInput is an input type that accepts FrontendIPConfigurationArgs, FrontendIPConfigurationPtr and FrontendIPConfigurationPtrOutput values.
-// You can construct a concrete instance of `FrontendIPConfigurationPtrInput` via:
-//
-// FrontendIPConfigurationArgs{...}
-//
-// or:
-//
-// nil
-type FrontendIPConfigurationPtrInput interface {
- pulumi.Input
+// A reference to frontend IP addresses.
+func (o InboundNatRuleInterfaceEndpointResponseOutput) FrontendIPConfiguration() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v InboundNatRuleInterfaceEndpointResponse) *SubResourceResponse { return v.FrontendIPConfiguration }).(SubResourceResponsePtrOutput)
+}
- ToFrontendIPConfigurationPtrOutput() FrontendIPConfigurationPtrOutput
- ToFrontendIPConfigurationPtrOutputWithContext(context.Context) FrontendIPConfigurationPtrOutput
+// The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
+func (o InboundNatRuleInterfaceEndpointResponseOutput) FrontendPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleInterfaceEndpointResponse) *int { return v.FrontendPort }).(pulumi.IntPtrOutput)
}
-type frontendIPConfigurationPtrType FrontendIPConfigurationArgs
+// Resource ID.
+func (o InboundNatRuleInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
-func FrontendIPConfigurationPtr(v *FrontendIPConfigurationArgs) FrontendIPConfigurationPtrInput {
- return (*frontendIPConfigurationPtrType)(v)
+// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+func (o InboundNatRuleInterfaceEndpointResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleInterfaceEndpointResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-func (*frontendIPConfigurationPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**FrontendIPConfiguration)(nil)).Elem()
+// Gets name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o InboundNatRuleInterfaceEndpointResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleInterfaceEndpointResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (i *frontendIPConfigurationPtrType) ToFrontendIPConfigurationPtrOutput() FrontendIPConfigurationPtrOutput {
- return i.ToFrontendIPConfigurationPtrOutputWithContext(context.Background())
+// The reference to the transport protocol used by the load balancing rule.
+func (o InboundNatRuleInterfaceEndpointResponseOutput) Protocol() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleInterfaceEndpointResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput)
}
-func (i *frontendIPConfigurationPtrType) ToFrontendIPConfigurationPtrOutputWithContext(ctx context.Context) FrontendIPConfigurationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FrontendIPConfigurationPtrOutput)
+// Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o InboundNatRuleInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleInterfaceEndpointResponse) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-// FrontendIPConfigurationArrayInput is an input type that accepts FrontendIPConfigurationArray and FrontendIPConfigurationArrayOutput values.
-// You can construct a concrete instance of `FrontendIPConfigurationArrayInput` via:
-//
-// FrontendIPConfigurationArray{ FrontendIPConfigurationArgs{...} }
-type FrontendIPConfigurationArrayInput interface {
- pulumi.Input
+type InboundNatRuleInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
- ToFrontendIPConfigurationArrayOutput() FrontendIPConfigurationArrayOutput
- ToFrontendIPConfigurationArrayOutputWithContext(context.Context) FrontendIPConfigurationArrayOutput
+func (InboundNatRuleInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]InboundNatRuleInterfaceEndpointResponse)(nil)).Elem()
}
-type FrontendIPConfigurationArray []FrontendIPConfigurationInput
+func (o InboundNatRuleInterfaceEndpointResponseArrayOutput) ToInboundNatRuleInterfaceEndpointResponseArrayOutput() InboundNatRuleInterfaceEndpointResponseArrayOutput {
+ return o
+}
-func (FrontendIPConfigurationArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FrontendIPConfiguration)(nil)).Elem()
+func (o InboundNatRuleInterfaceEndpointResponseArrayOutput) ToInboundNatRuleInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) InboundNatRuleInterfaceEndpointResponseArrayOutput {
+ return o
}
-func (i FrontendIPConfigurationArray) ToFrontendIPConfigurationArrayOutput() FrontendIPConfigurationArrayOutput {
- return i.ToFrontendIPConfigurationArrayOutputWithContext(context.Background())
+func (o InboundNatRuleInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) InboundNatRuleInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) InboundNatRuleInterfaceEndpointResponse {
+ return vs[0].([]InboundNatRuleInterfaceEndpointResponse)[vs[1].(int)]
+ }).(InboundNatRuleInterfaceEndpointResponseOutput)
}
-func (i FrontendIPConfigurationArray) ToFrontendIPConfigurationArrayOutputWithContext(ctx context.Context) FrontendIPConfigurationArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(FrontendIPConfigurationArrayOutput)
+// Inbound NAT rule of the load balancer.
+type InboundNatRuleResponse struct {
+ // A reference to backendAddressPool resource.
+ BackendAddressPool *SubResourceResponse `pulumi:"backendAddressPool"`
+ // A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP.
+ BackendIPConfiguration NetworkInterfaceIPConfigurationResponse `pulumi:"backendIPConfiguration"`
+ // The port used for the internal endpoint. Acceptable values range from 1 to 65535.
+ BackendPort *int `pulumi:"backendPort"`
+ // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+ EnableFloatingIP *bool `pulumi:"enableFloatingIP"`
+ // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+ EnableTcpReset *bool `pulumi:"enableTcpReset"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // A reference to frontend IP addresses.
+ FrontendIPConfiguration *SubResourceResponse `pulumi:"frontendIPConfiguration"`
+ // The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
+ FrontendPort *int `pulumi:"frontendPort"`
+ // The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
+ FrontendPortRangeEnd *int `pulumi:"frontendPortRangeEnd"`
+ // The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
+ FrontendPortRangeStart *int `pulumi:"frontendPortRangeStart"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The reference to the transport protocol used by the load balancing rule.
+ Protocol *string `pulumi:"protocol"`
+ // The provisioning state of the inbound NAT rule resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Type of the resource.
+ Type string `pulumi:"type"`
}
-// Frontend IP address of the load balancer.
-type FrontendIPConfigurationOutput struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for InboundNatRuleResponse
+func (val *InboundNatRuleResponse) Defaults() *InboundNatRuleResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.BackendIPConfiguration = *tmp.BackendIPConfiguration.Defaults()
-func (FrontendIPConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FrontendIPConfiguration)(nil)).Elem()
+ return &tmp
}
-func (o FrontendIPConfigurationOutput) ToFrontendIPConfigurationOutput() FrontendIPConfigurationOutput {
+// Inbound NAT rule of the load balancer.
+type InboundNatRuleResponseOutput struct{ *pulumi.OutputState }
+
+func (InboundNatRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*InboundNatRuleResponse)(nil)).Elem()
+}
+
+func (o InboundNatRuleResponseOutput) ToInboundNatRuleResponseOutput() InboundNatRuleResponseOutput {
return o
}
-func (o FrontendIPConfigurationOutput) ToFrontendIPConfigurationOutputWithContext(ctx context.Context) FrontendIPConfigurationOutput {
+func (o InboundNatRuleResponseOutput) ToInboundNatRuleResponseOutputWithContext(ctx context.Context) InboundNatRuleResponseOutput {
return o
}
-func (o FrontendIPConfigurationOutput) ToFrontendIPConfigurationPtrOutput() FrontendIPConfigurationPtrOutput {
- return o.ToFrontendIPConfigurationPtrOutputWithContext(context.Background())
+// A reference to backendAddressPool resource.
+func (o InboundNatRuleResponseOutput) BackendAddressPool() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v InboundNatRuleResponse) *SubResourceResponse { return v.BackendAddressPool }).(SubResourceResponsePtrOutput)
}
-func (o FrontendIPConfigurationOutput) ToFrontendIPConfigurationPtrOutputWithContext(ctx context.Context) FrontendIPConfigurationPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v FrontendIPConfiguration) *FrontendIPConfiguration {
- return &v
- }).(FrontendIPConfigurationPtrOutput)
+// A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP.
+func (o InboundNatRuleResponseOutput) BackendIPConfiguration() NetworkInterfaceIPConfigurationResponseOutput {
+ return o.ApplyT(func(v InboundNatRuleResponse) NetworkInterfaceIPConfigurationResponse {
+ return v.BackendIPConfiguration
+ }).(NetworkInterfaceIPConfigurationResponseOutput)
}
-// The reference to gateway load balancer frontend IP.
-func (o FrontendIPConfigurationOutput) GatewayLoadBalancer() SubResourcePtrOutput {
- return o.ApplyT(func(v FrontendIPConfiguration) *SubResource { return v.GatewayLoadBalancer }).(SubResourcePtrOutput)
+// The port used for the internal endpoint. Acceptable values range from 1 to 65535.
+func (o InboundNatRuleResponseOutput) BackendPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleResponse) *int { return v.BackendPort }).(pulumi.IntPtrOutput)
}
-// Resource ID.
-func (o FrontendIPConfigurationOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FrontendIPConfiguration) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+func (o InboundNatRuleResponseOutput) EnableFloatingIP() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleResponse) *bool { return v.EnableFloatingIP }).(pulumi.BoolPtrOutput)
}
-// The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
-func (o FrontendIPConfigurationOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FrontendIPConfiguration) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+func (o InboundNatRuleResponseOutput) EnableTcpReset() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleResponse) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
}
-// The private IP address of the IP configuration.
-func (o FrontendIPConfigurationOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FrontendIPConfiguration) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o InboundNatRuleResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v InboundNatRuleResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
-func (o FrontendIPConfigurationOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FrontendIPConfiguration) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
+// A reference to frontend IP addresses.
+func (o InboundNatRuleResponseOutput) FrontendIPConfiguration() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v InboundNatRuleResponse) *SubResourceResponse { return v.FrontendIPConfiguration }).(SubResourceResponsePtrOutput)
}
-// The Private IP allocation method.
-func (o FrontendIPConfigurationOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FrontendIPConfiguration) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+// The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
+func (o InboundNatRuleResponseOutput) FrontendPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleResponse) *int { return v.FrontendPort }).(pulumi.IntPtrOutput)
}
-// The reference to the Public IP resource.
-func (o FrontendIPConfigurationOutput) PublicIPAddress() PublicIPAddressTypePtrOutput {
- return o.ApplyT(func(v FrontendIPConfiguration) *PublicIPAddressType { return v.PublicIPAddress }).(PublicIPAddressTypePtrOutput)
+// The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
+func (o InboundNatRuleResponseOutput) FrontendPortRangeEnd() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleResponse) *int { return v.FrontendPortRangeEnd }).(pulumi.IntPtrOutput)
}
-// The reference to the Public IP Prefix resource.
-func (o FrontendIPConfigurationOutput) PublicIPPrefix() SubResourcePtrOutput {
- return o.ApplyT(func(v FrontendIPConfiguration) *SubResource { return v.PublicIPPrefix }).(SubResourcePtrOutput)
+// The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
+func (o InboundNatRuleResponseOutput) FrontendPortRangeStart() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleResponse) *int { return v.FrontendPortRangeStart }).(pulumi.IntPtrOutput)
}
-// The reference to the subnet resource.
-func (o FrontendIPConfigurationOutput) Subnet() SubnetTypePtrOutput {
- return o.ApplyT(func(v FrontendIPConfiguration) *SubnetType { return v.Subnet }).(SubnetTypePtrOutput)
+// Resource ID.
+func (o InboundNatRuleResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// A list of availability zones denoting the IP allocated for the resource needs to come from.
-func (o FrontendIPConfigurationOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FrontendIPConfiguration) []string { return v.Zones }).(pulumi.StringArrayOutput)
+// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+func (o InboundNatRuleResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-type FrontendIPConfigurationPtrOutput struct{ *pulumi.OutputState }
-
-func (FrontendIPConfigurationPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FrontendIPConfiguration)(nil)).Elem()
+// The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource.
+func (o InboundNatRuleResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o FrontendIPConfigurationPtrOutput) ToFrontendIPConfigurationPtrOutput() FrontendIPConfigurationPtrOutput {
- return o
+// The reference to the transport protocol used by the load balancing rule.
+func (o InboundNatRuleResponseOutput) Protocol() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InboundNatRuleResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput)
}
-func (o FrontendIPConfigurationPtrOutput) ToFrontendIPConfigurationPtrOutputWithContext(ctx context.Context) FrontendIPConfigurationPtrOutput {
- return o
+// The provisioning state of the inbound NAT rule resource.
+func (o InboundNatRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v InboundNatRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o FrontendIPConfigurationPtrOutput) Elem() FrontendIPConfigurationOutput {
- return o.ApplyT(func(v *FrontendIPConfiguration) FrontendIPConfiguration {
- if v != nil {
- return *v
- }
- var ret FrontendIPConfiguration
- return ret
- }).(FrontendIPConfigurationOutput)
+// Type of the resource.
+func (o InboundNatRuleResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v InboundNatRuleResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// The reference to gateway load balancer frontend IP.
-func (o FrontendIPConfigurationPtrOutput) GatewayLoadBalancer() SubResourcePtrOutput {
- return o.ApplyT(func(v *FrontendIPConfiguration) *SubResource {
- if v == nil {
- return nil
- }
- return v.GatewayLoadBalancer
- }).(SubResourcePtrOutput)
-}
+type InboundNatRuleResponseArrayOutput struct{ *pulumi.OutputState }
-// Resource ID.
-func (o FrontendIPConfigurationPtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfiguration) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+func (InboundNatRuleResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]InboundNatRuleResponse)(nil)).Elem()
}
-// The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
-func (o FrontendIPConfigurationPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfiguration) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+func (o InboundNatRuleResponseArrayOutput) ToInboundNatRuleResponseArrayOutput() InboundNatRuleResponseArrayOutput {
+ return o
}
-// The private IP address of the IP configuration.
-func (o FrontendIPConfigurationPtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfiguration) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddress
- }).(pulumi.StringPtrOutput)
+func (o InboundNatRuleResponseArrayOutput) ToInboundNatRuleResponseArrayOutputWithContext(ctx context.Context) InboundNatRuleResponseArrayOutput {
+ return o
}
-// Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
-func (o FrontendIPConfigurationPtrOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfiguration) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddressVersion
- }).(pulumi.StringPtrOutput)
+func (o InboundNatRuleResponseArrayOutput) Index(i pulumi.IntInput) InboundNatRuleResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) InboundNatRuleResponse {
+ return vs[0].([]InboundNatRuleResponse)[vs[1].(int)]
+ }).(InboundNatRuleResponseOutput)
}
-// The Private IP allocation method.
-func (o FrontendIPConfigurationPtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfiguration) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAllocationMethod
- }).(pulumi.StringPtrOutput)
+// Intent information.
+type IntentContentResponse struct {
+ Description *string `pulumi:"description"`
+ // Destination resource id of the intent.
+ DestinationResourceId string `pulumi:"destinationResourceId"`
+ // IP traffic information.
+ IpTraffic IPTrafficResponse `pulumi:"ipTraffic"`
+ // Source resource id of the intent.
+ SourceResourceId string `pulumi:"sourceResourceId"`
}
-// The reference to the Public IP resource.
-func (o FrontendIPConfigurationPtrOutput) PublicIPAddress() PublicIPAddressTypePtrOutput {
- return o.ApplyT(func(v *FrontendIPConfiguration) *PublicIPAddressType {
- if v == nil {
- return nil
- }
- return v.PublicIPAddress
- }).(PublicIPAddressTypePtrOutput)
-}
+// Intent information.
+type IntentContentResponseOutput struct{ *pulumi.OutputState }
-// The reference to the Public IP Prefix resource.
-func (o FrontendIPConfigurationPtrOutput) PublicIPPrefix() SubResourcePtrOutput {
- return o.ApplyT(func(v *FrontendIPConfiguration) *SubResource {
- if v == nil {
- return nil
- }
- return v.PublicIPPrefix
- }).(SubResourcePtrOutput)
+func (IntentContentResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IntentContentResponse)(nil)).Elem()
}
-// The reference to the subnet resource.
-func (o FrontendIPConfigurationPtrOutput) Subnet() SubnetTypePtrOutput {
- return o.ApplyT(func(v *FrontendIPConfiguration) *SubnetType {
- if v == nil {
- return nil
- }
- return v.Subnet
- }).(SubnetTypePtrOutput)
+func (o IntentContentResponseOutput) ToIntentContentResponseOutput() IntentContentResponseOutput {
+ return o
}
-// A list of availability zones denoting the IP allocated for the resource needs to come from.
-func (o FrontendIPConfigurationPtrOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *FrontendIPConfiguration) []string {
- if v == nil {
- return nil
- }
- return v.Zones
- }).(pulumi.StringArrayOutput)
+func (o IntentContentResponseOutput) ToIntentContentResponseOutputWithContext(ctx context.Context) IntentContentResponseOutput {
+ return o
}
-type FrontendIPConfigurationArrayOutput struct{ *pulumi.OutputState }
-
-func (FrontendIPConfigurationArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FrontendIPConfiguration)(nil)).Elem()
+func (o IntentContentResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IntentContentResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-func (o FrontendIPConfigurationArrayOutput) ToFrontendIPConfigurationArrayOutput() FrontendIPConfigurationArrayOutput {
- return o
+// Destination resource id of the intent.
+func (o IntentContentResponseOutput) DestinationResourceId() pulumi.StringOutput {
+ return o.ApplyT(func(v IntentContentResponse) string { return v.DestinationResourceId }).(pulumi.StringOutput)
}
-func (o FrontendIPConfigurationArrayOutput) ToFrontendIPConfigurationArrayOutputWithContext(ctx context.Context) FrontendIPConfigurationArrayOutput {
- return o
+// IP traffic information.
+func (o IntentContentResponseOutput) IpTraffic() IPTrafficResponseOutput {
+ return o.ApplyT(func(v IntentContentResponse) IPTrafficResponse { return v.IpTraffic }).(IPTrafficResponseOutput)
}
-func (o FrontendIPConfigurationArrayOutput) Index(i pulumi.IntInput) FrontendIPConfigurationOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) FrontendIPConfiguration {
- return vs[0].([]FrontendIPConfiguration)[vs[1].(int)]
- }).(FrontendIPConfigurationOutput)
+// Source resource id of the intent.
+func (o IntentContentResponseOutput) SourceResourceId() pulumi.StringOutput {
+ return o.ApplyT(func(v IntentContentResponse) string { return v.SourceResourceId }).(pulumi.StringOutput)
}
-// Frontend IP address of the load balancer.
-type FrontendIPConfigurationResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The reference to gateway load balancer frontend IP.
- GatewayLoadBalancer *SubResourceResponse `pulumi:"gatewayLoadBalancer"`
+// Interface endpoint resource.
+type InterfaceEndpointResponse struct {
+ // A reference to the service being brought into the virtual network.
+ EndpointService *EndpointServiceResponse `pulumi:"endpointService"`
+ // Gets a unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // A first-party service's FQDN that is mapped to the private IP allocated via this interface endpoint.
+ Fqdn *string `pulumi:"fqdn"`
// Resource ID.
Id *string `pulumi:"id"`
- // An array of references to inbound pools that use this frontend IP.
- InboundNatPools []SubResourceResponse `pulumi:"inboundNatPools"`
- // An array of references to inbound rules that use this frontend IP.
- InboundNatRules []SubResourceResponse `pulumi:"inboundNatRules"`
- // An array of references to load balancing rules that use this frontend IP.
- LoadBalancingRules []SubResourceResponse `pulumi:"loadBalancingRules"`
- // The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // An array of references to outbound rules that use this frontend IP.
- OutboundRules []SubResourceResponse `pulumi:"outboundRules"`
- // The private IP address of the IP configuration.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
- PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
- // The Private IP allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // The provisioning state of the frontend IP configuration resource.
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // Gets an array of references to the network interfaces created for this interface endpoint.
+ NetworkInterfaces []NetworkInterfaceResponse `pulumi:"networkInterfaces"`
+ // A read-only property that identifies who created this interface endpoint.
+ Owner string `pulumi:"owner"`
+ // The provisioning state of the interface endpoint. Possible values are: 'Updating', 'Deleting', and 'Failed'.
ProvisioningState string `pulumi:"provisioningState"`
- // The reference to the Public IP resource.
- PublicIPAddress *PublicIPAddressResponse `pulumi:"publicIPAddress"`
- // The reference to the Public IP Prefix resource.
- PublicIPPrefix *SubResourceResponse `pulumi:"publicIPPrefix"`
- // The reference to the subnet resource.
- Subnet *SubnetResponse `pulumi:"subnet"`
- // Type of the resource.
+ // The ID of the subnet from which the private IP will be allocated.
+ Subnet *SubnetInterfaceEndpointResponse `pulumi:"subnet"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
Type string `pulumi:"type"`
- // A list of availability zones denoting the IP allocated for the resource needs to come from.
- Zones []string `pulumi:"zones"`
}
-// Defaults sets the appropriate defaults for FrontendIPConfigurationResponse
-func (val *FrontendIPConfigurationResponse) Defaults() *FrontendIPConfigurationResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
-
- tmp.Subnet = tmp.Subnet.Defaults()
+// Interface endpoint resource.
+type InterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
- return &tmp
+func (InterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*InterfaceEndpointResponse)(nil)).Elem()
}
-// Frontend IP address of the load balancer.
-type FrontendIPConfigurationResponseOutput struct{ *pulumi.OutputState }
-
-func (FrontendIPConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*FrontendIPConfigurationResponse)(nil)).Elem()
+func (o InterfaceEndpointResponseOutput) ToInterfaceEndpointResponseOutput() InterfaceEndpointResponseOutput {
+ return o
}
-func (o FrontendIPConfigurationResponseOutput) ToFrontendIPConfigurationResponseOutput() FrontendIPConfigurationResponseOutput {
+func (o InterfaceEndpointResponseOutput) ToInterfaceEndpointResponseOutputWithContext(ctx context.Context) InterfaceEndpointResponseOutput {
return o
}
-func (o FrontendIPConfigurationResponseOutput) ToFrontendIPConfigurationResponseOutputWithContext(ctx context.Context) FrontendIPConfigurationResponseOutput {
- return o
+// A reference to the service being brought into the virtual network.
+func (o InterfaceEndpointResponseOutput) EndpointService() EndpointServiceResponsePtrOutput {
+ return o.ApplyT(func(v InterfaceEndpointResponse) *EndpointServiceResponse { return v.EndpointService }).(EndpointServiceResponsePtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o FrontendIPConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
+// Gets a unique read-only string that changes whenever the resource is updated.
+func (o InterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// The reference to gateway load balancer frontend IP.
-func (o FrontendIPConfigurationResponseOutput) GatewayLoadBalancer() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) *SubResourceResponse { return v.GatewayLoadBalancer }).(SubResourceResponsePtrOutput)
+// A first-party service's FQDN that is mapped to the private IP allocated via this interface endpoint.
+func (o InterfaceEndpointResponseOutput) Fqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InterfaceEndpointResponse) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
}
// Resource ID.
-func (o FrontendIPConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o InterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// An array of references to inbound pools that use this frontend IP.
-func (o FrontendIPConfigurationResponseOutput) InboundNatPools() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) []SubResourceResponse { return v.InboundNatPools }).(SubResourceResponseArrayOutput)
+// Resource location.
+func (o InterfaceEndpointResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InterfaceEndpointResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// An array of references to inbound rules that use this frontend IP.
-func (o FrontendIPConfigurationResponseOutput) InboundNatRules() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) []SubResourceResponse { return v.InboundNatRules }).(SubResourceResponseArrayOutput)
+// Resource name.
+func (o InterfaceEndpointResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v InterfaceEndpointResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// An array of references to load balancing rules that use this frontend IP.
-func (o FrontendIPConfigurationResponseOutput) LoadBalancingRules() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) []SubResourceResponse { return v.LoadBalancingRules }).(SubResourceResponseArrayOutput)
+// Gets an array of references to the network interfaces created for this interface endpoint.
+func (o InterfaceEndpointResponseOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
+ return o.ApplyT(func(v InterfaceEndpointResponse) []NetworkInterfaceResponse { return v.NetworkInterfaces }).(NetworkInterfaceResponseArrayOutput)
}
-// The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
-func (o FrontendIPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// A read-only property that identifies who created this interface endpoint.
+func (o InterfaceEndpointResponseOutput) Owner() pulumi.StringOutput {
+ return o.ApplyT(func(v InterfaceEndpointResponse) string { return v.Owner }).(pulumi.StringOutput)
}
-// An array of references to outbound rules that use this frontend IP.
-func (o FrontendIPConfigurationResponseOutput) OutboundRules() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) []SubResourceResponse { return v.OutboundRules }).(SubResourceResponseArrayOutput)
+// The provisioning state of the interface endpoint. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o InterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v InterfaceEndpointResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The private IP address of the IP configuration.
-func (o FrontendIPConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+// The ID of the subnet from which the private IP will be allocated.
+func (o InterfaceEndpointResponseOutput) Subnet() SubnetInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v InterfaceEndpointResponse) *SubnetInterfaceEndpointResponse { return v.Subnet }).(SubnetInterfaceEndpointResponsePtrOutput)
}
-// Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
-func (o FrontendIPConfigurationResponseOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
+// Resource tags.
+func (o InterfaceEndpointResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v InterfaceEndpointResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// The Private IP allocation method.
-func (o FrontendIPConfigurationResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+// Resource type.
+func (o InterfaceEndpointResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v InterfaceEndpointResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// The provisioning state of the frontend IP configuration resource.
-func (o FrontendIPConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
+type InterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
-// The reference to the Public IP resource.
-func (o FrontendIPConfigurationResponseOutput) PublicIPAddress() PublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) *PublicIPAddressResponse { return v.PublicIPAddress }).(PublicIPAddressResponsePtrOutput)
+func (InterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]InterfaceEndpointResponse)(nil)).Elem()
}
-// The reference to the Public IP Prefix resource.
-func (o FrontendIPConfigurationResponseOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) *SubResourceResponse { return v.PublicIPPrefix }).(SubResourceResponsePtrOutput)
+func (o InterfaceEndpointResponseArrayOutput) ToInterfaceEndpointResponseArrayOutput() InterfaceEndpointResponseArrayOutput {
+ return o
}
-// The reference to the subnet resource.
-func (o FrontendIPConfigurationResponseOutput) Subnet() SubnetResponsePtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
+func (o InterfaceEndpointResponseArrayOutput) ToInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) InterfaceEndpointResponseArrayOutput {
+ return o
}
-// Type of the resource.
-func (o FrontendIPConfigurationResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
+func (o InterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) InterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) InterfaceEndpointResponse {
+ return vs[0].([]InterfaceEndpointResponse)[vs[1].(int)]
+ }).(InterfaceEndpointResponseOutput)
}
-// A list of availability zones denoting the IP allocated for the resource needs to come from.
-func (o FrontendIPConfigurationResponseOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
+// Resource Uri of Public Ip for Standard Load Balancer Frontend End.
+type InternetIngressPublicIpsProperties struct {
+ // Resource Uri of Public Ip
+ Id *string `pulumi:"id"`
}
-type FrontendIPConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
+// InternetIngressPublicIpsPropertiesInput is an input type that accepts InternetIngressPublicIpsPropertiesArgs and InternetIngressPublicIpsPropertiesOutput values.
+// You can construct a concrete instance of `InternetIngressPublicIpsPropertiesInput` via:
+//
+// InternetIngressPublicIpsPropertiesArgs{...}
+type InternetIngressPublicIpsPropertiesInput interface {
+ pulumi.Input
-func (FrontendIPConfigurationResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FrontendIPConfigurationResponse)(nil)).Elem()
+ ToInternetIngressPublicIpsPropertiesOutput() InternetIngressPublicIpsPropertiesOutput
+ ToInternetIngressPublicIpsPropertiesOutputWithContext(context.Context) InternetIngressPublicIpsPropertiesOutput
}
-func (o FrontendIPConfigurationResponsePtrOutput) ToFrontendIPConfigurationResponsePtrOutput() FrontendIPConfigurationResponsePtrOutput {
- return o
+// Resource Uri of Public Ip for Standard Load Balancer Frontend End.
+type InternetIngressPublicIpsPropertiesArgs struct {
+ // Resource Uri of Public Ip
+ Id pulumi.StringPtrInput `pulumi:"id"`
}
-func (o FrontendIPConfigurationResponsePtrOutput) ToFrontendIPConfigurationResponsePtrOutputWithContext(ctx context.Context) FrontendIPConfigurationResponsePtrOutput {
- return o
+func (InternetIngressPublicIpsPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*InternetIngressPublicIpsProperties)(nil)).Elem()
}
-func (o FrontendIPConfigurationResponsePtrOutput) Elem() FrontendIPConfigurationResponseOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) FrontendIPConfigurationResponse {
- if v != nil {
- return *v
- }
- var ret FrontendIPConfigurationResponse
- return ret
- }).(FrontendIPConfigurationResponseOutput)
+func (i InternetIngressPublicIpsPropertiesArgs) ToInternetIngressPublicIpsPropertiesOutput() InternetIngressPublicIpsPropertiesOutput {
+ return i.ToInternetIngressPublicIpsPropertiesOutputWithContext(context.Background())
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o FrontendIPConfigurationResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Etag
- }).(pulumi.StringPtrOutput)
+func (i InternetIngressPublicIpsPropertiesArgs) ToInternetIngressPublicIpsPropertiesOutputWithContext(ctx context.Context) InternetIngressPublicIpsPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(InternetIngressPublicIpsPropertiesOutput)
}
-// The reference to gateway load balancer frontend IP.
-func (o FrontendIPConfigurationResponsePtrOutput) GatewayLoadBalancer() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.GatewayLoadBalancer
- }).(SubResourceResponsePtrOutput)
+// InternetIngressPublicIpsPropertiesArrayInput is an input type that accepts InternetIngressPublicIpsPropertiesArray and InternetIngressPublicIpsPropertiesArrayOutput values.
+// You can construct a concrete instance of `InternetIngressPublicIpsPropertiesArrayInput` via:
+//
+// InternetIngressPublicIpsPropertiesArray{ InternetIngressPublicIpsPropertiesArgs{...} }
+type InternetIngressPublicIpsPropertiesArrayInput interface {
+ pulumi.Input
+
+ ToInternetIngressPublicIpsPropertiesArrayOutput() InternetIngressPublicIpsPropertiesArrayOutput
+ ToInternetIngressPublicIpsPropertiesArrayOutputWithContext(context.Context) InternetIngressPublicIpsPropertiesArrayOutput
}
-// Resource ID.
-func (o FrontendIPConfigurationResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+type InternetIngressPublicIpsPropertiesArray []InternetIngressPublicIpsPropertiesInput
+
+func (InternetIngressPublicIpsPropertiesArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]InternetIngressPublicIpsProperties)(nil)).Elem()
}
-// An array of references to inbound pools that use this frontend IP.
-func (o FrontendIPConfigurationResponsePtrOutput) InboundNatPools() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.InboundNatPools
- }).(SubResourceResponseArrayOutput)
+func (i InternetIngressPublicIpsPropertiesArray) ToInternetIngressPublicIpsPropertiesArrayOutput() InternetIngressPublicIpsPropertiesArrayOutput {
+ return i.ToInternetIngressPublicIpsPropertiesArrayOutputWithContext(context.Background())
}
-// An array of references to inbound rules that use this frontend IP.
-func (o FrontendIPConfigurationResponsePtrOutput) InboundNatRules() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.InboundNatRules
- }).(SubResourceResponseArrayOutput)
+func (i InternetIngressPublicIpsPropertiesArray) ToInternetIngressPublicIpsPropertiesArrayOutputWithContext(ctx context.Context) InternetIngressPublicIpsPropertiesArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(InternetIngressPublicIpsPropertiesArrayOutput)
}
-// An array of references to load balancing rules that use this frontend IP.
-func (o FrontendIPConfigurationResponsePtrOutput) LoadBalancingRules() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.LoadBalancingRules
- }).(SubResourceResponseArrayOutput)
+// Resource Uri of Public Ip for Standard Load Balancer Frontend End.
+type InternetIngressPublicIpsPropertiesOutput struct{ *pulumi.OutputState }
+
+func (InternetIngressPublicIpsPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*InternetIngressPublicIpsProperties)(nil)).Elem()
}
-// The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
-func (o FrontendIPConfigurationResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+func (o InternetIngressPublicIpsPropertiesOutput) ToInternetIngressPublicIpsPropertiesOutput() InternetIngressPublicIpsPropertiesOutput {
+ return o
}
-// An array of references to outbound rules that use this frontend IP.
-func (o FrontendIPConfigurationResponsePtrOutput) OutboundRules() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.OutboundRules
- }).(SubResourceResponseArrayOutput)
+func (o InternetIngressPublicIpsPropertiesOutput) ToInternetIngressPublicIpsPropertiesOutputWithContext(ctx context.Context) InternetIngressPublicIpsPropertiesOutput {
+ return o
}
-// The private IP address of the IP configuration.
-func (o FrontendIPConfigurationResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddress
- }).(pulumi.StringPtrOutput)
+// Resource Uri of Public Ip
+func (o InternetIngressPublicIpsPropertiesOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InternetIngressPublicIpsProperties) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
-func (o FrontendIPConfigurationResponsePtrOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddressVersion
- }).(pulumi.StringPtrOutput)
+type InternetIngressPublicIpsPropertiesArrayOutput struct{ *pulumi.OutputState }
+
+func (InternetIngressPublicIpsPropertiesArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]InternetIngressPublicIpsProperties)(nil)).Elem()
}
-// The Private IP allocation method.
-func (o FrontendIPConfigurationResponsePtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAllocationMethod
- }).(pulumi.StringPtrOutput)
+func (o InternetIngressPublicIpsPropertiesArrayOutput) ToInternetIngressPublicIpsPropertiesArrayOutput() InternetIngressPublicIpsPropertiesArrayOutput {
+ return o
}
-// The provisioning state of the frontend IP configuration resource.
-func (o FrontendIPConfigurationResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) *string {
+func (o InternetIngressPublicIpsPropertiesArrayOutput) ToInternetIngressPublicIpsPropertiesArrayOutputWithContext(ctx context.Context) InternetIngressPublicIpsPropertiesArrayOutput {
+ return o
+}
+
+func (o InternetIngressPublicIpsPropertiesArrayOutput) Index(i pulumi.IntInput) InternetIngressPublicIpsPropertiesOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) InternetIngressPublicIpsProperties {
+ return vs[0].([]InternetIngressPublicIpsProperties)[vs[1].(int)]
+ }).(InternetIngressPublicIpsPropertiesOutput)
+}
+
+// Resource Uri of Public Ip for Standard Load Balancer Frontend End.
+type InternetIngressPublicIpsPropertiesResponse struct {
+ // Resource Uri of Public Ip
+ Id *string `pulumi:"id"`
+}
+
+// Resource Uri of Public Ip for Standard Load Balancer Frontend End.
+type InternetIngressPublicIpsPropertiesResponseOutput struct{ *pulumi.OutputState }
+
+func (InternetIngressPublicIpsPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*InternetIngressPublicIpsPropertiesResponse)(nil)).Elem()
+}
+
+func (o InternetIngressPublicIpsPropertiesResponseOutput) ToInternetIngressPublicIpsPropertiesResponseOutput() InternetIngressPublicIpsPropertiesResponseOutput {
+ return o
+}
+
+func (o InternetIngressPublicIpsPropertiesResponseOutput) ToInternetIngressPublicIpsPropertiesResponseOutputWithContext(ctx context.Context) InternetIngressPublicIpsPropertiesResponseOutput {
+ return o
+}
+
+// Resource Uri of Public Ip
+func (o InternetIngressPublicIpsPropertiesResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v InternetIngressPublicIpsPropertiesResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
+
+type InternetIngressPublicIpsPropertiesResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (InternetIngressPublicIpsPropertiesResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]InternetIngressPublicIpsPropertiesResponse)(nil)).Elem()
+}
+
+func (o InternetIngressPublicIpsPropertiesResponseArrayOutput) ToInternetIngressPublicIpsPropertiesResponseArrayOutput() InternetIngressPublicIpsPropertiesResponseArrayOutput {
+ return o
+}
+
+func (o InternetIngressPublicIpsPropertiesResponseArrayOutput) ToInternetIngressPublicIpsPropertiesResponseArrayOutputWithContext(ctx context.Context) InternetIngressPublicIpsPropertiesResponseArrayOutput {
+ return o
+}
+
+func (o InternetIngressPublicIpsPropertiesResponseArrayOutput) Index(i pulumi.IntInput) InternetIngressPublicIpsPropertiesResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) InternetIngressPublicIpsPropertiesResponse {
+ return vs[0].([]InternetIngressPublicIpsPropertiesResponse)[vs[1].(int)]
+ }).(InternetIngressPublicIpsPropertiesResponseOutput)
+}
+
+// Contains the IpTag associated with the object.
+type IpTag struct {
+ // The IP tag type. Example: FirstPartyUsage.
+ IpTagType *string `pulumi:"ipTagType"`
+ // The value of the IP tag associated with the public IP. Example: SQL.
+ Tag *string `pulumi:"tag"`
+}
+
+// IpTagInput is an input type that accepts IpTagArgs and IpTagOutput values.
+// You can construct a concrete instance of `IpTagInput` via:
+//
+// IpTagArgs{...}
+type IpTagInput interface {
+ pulumi.Input
+
+ ToIpTagOutput() IpTagOutput
+ ToIpTagOutputWithContext(context.Context) IpTagOutput
+}
+
+// Contains the IpTag associated with the object.
+type IpTagArgs struct {
+ // The IP tag type. Example: FirstPartyUsage.
+ IpTagType pulumi.StringPtrInput `pulumi:"ipTagType"`
+ // The value of the IP tag associated with the public IP. Example: SQL.
+ Tag pulumi.StringPtrInput `pulumi:"tag"`
+}
+
+func (IpTagArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*IpTag)(nil)).Elem()
+}
+
+func (i IpTagArgs) ToIpTagOutput() IpTagOutput {
+ return i.ToIpTagOutputWithContext(context.Background())
+}
+
+func (i IpTagArgs) ToIpTagOutputWithContext(ctx context.Context) IpTagOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(IpTagOutput)
+}
+
+// IpTagArrayInput is an input type that accepts IpTagArray and IpTagArrayOutput values.
+// You can construct a concrete instance of `IpTagArrayInput` via:
+//
+// IpTagArray{ IpTagArgs{...} }
+type IpTagArrayInput interface {
+ pulumi.Input
+
+ ToIpTagArrayOutput() IpTagArrayOutput
+ ToIpTagArrayOutputWithContext(context.Context) IpTagArrayOutput
+}
+
+type IpTagArray []IpTagInput
+
+func (IpTagArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IpTag)(nil)).Elem()
+}
+
+func (i IpTagArray) ToIpTagArrayOutput() IpTagArrayOutput {
+ return i.ToIpTagArrayOutputWithContext(context.Background())
+}
+
+func (i IpTagArray) ToIpTagArrayOutputWithContext(ctx context.Context) IpTagArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(IpTagArrayOutput)
+}
+
+// Contains the IpTag associated with the object.
+type IpTagOutput struct{ *pulumi.OutputState }
+
+func (IpTagOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IpTag)(nil)).Elem()
+}
+
+func (o IpTagOutput) ToIpTagOutput() IpTagOutput {
+ return o
+}
+
+func (o IpTagOutput) ToIpTagOutputWithContext(ctx context.Context) IpTagOutput {
+ return o
+}
+
+// The IP tag type. Example: FirstPartyUsage.
+func (o IpTagOutput) IpTagType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IpTag) *string { return v.IpTagType }).(pulumi.StringPtrOutput)
+}
+
+// The value of the IP tag associated with the public IP. Example: SQL.
+func (o IpTagOutput) Tag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IpTag) *string { return v.Tag }).(pulumi.StringPtrOutput)
+}
+
+type IpTagArrayOutput struct{ *pulumi.OutputState }
+
+func (IpTagArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IpTag)(nil)).Elem()
+}
+
+func (o IpTagArrayOutput) ToIpTagArrayOutput() IpTagArrayOutput {
+ return o
+}
+
+func (o IpTagArrayOutput) ToIpTagArrayOutputWithContext(ctx context.Context) IpTagArrayOutput {
+ return o
+}
+
+func (o IpTagArrayOutput) Index(i pulumi.IntInput) IpTagOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpTag {
+ return vs[0].([]IpTag)[vs[1].(int)]
+ }).(IpTagOutput)
+}
+
+// Contains the IpTag associated with the object.
+type IpTagResponse struct {
+ // The IP tag type. Example: FirstPartyUsage.
+ IpTagType *string `pulumi:"ipTagType"`
+ // The value of the IP tag associated with the public IP. Example: SQL.
+ Tag *string `pulumi:"tag"`
+}
+
+// Contains the IpTag associated with the object.
+type IpTagResponseOutput struct{ *pulumi.OutputState }
+
+func (IpTagResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IpTagResponse)(nil)).Elem()
+}
+
+func (o IpTagResponseOutput) ToIpTagResponseOutput() IpTagResponseOutput {
+ return o
+}
+
+func (o IpTagResponseOutput) ToIpTagResponseOutputWithContext(ctx context.Context) IpTagResponseOutput {
+ return o
+}
+
+// The IP tag type. Example: FirstPartyUsage.
+func (o IpTagResponseOutput) IpTagType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IpTagResponse) *string { return v.IpTagType }).(pulumi.StringPtrOutput)
+}
+
+// The value of the IP tag associated with the public IP. Example: SQL.
+func (o IpTagResponseOutput) Tag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IpTagResponse) *string { return v.Tag }).(pulumi.StringPtrOutput)
+}
+
+type IpTagResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (IpTagResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IpTagResponse)(nil)).Elem()
+}
+
+func (o IpTagResponseArrayOutput) ToIpTagResponseArrayOutput() IpTagResponseArrayOutput {
+ return o
+}
+
+func (o IpTagResponseArrayOutput) ToIpTagResponseArrayOutputWithContext(ctx context.Context) IpTagResponseArrayOutput {
+ return o
+}
+
+func (o IpTagResponseArrayOutput) Index(i pulumi.IntInput) IpTagResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpTagResponse {
+ return vs[0].([]IpTagResponse)[vs[1].(int)]
+ }).(IpTagResponseOutput)
+}
+
+// IpamPool prefix allocation reference.
+type IpamPoolPrefixAllocation struct {
+ // Resource id of the associated Azure IpamPool resource.
+ Id *string `pulumi:"id"`
+ // Number of IP addresses to allocate.
+ NumberOfIpAddresses *string `pulumi:"numberOfIpAddresses"`
+}
+
+// IpamPoolPrefixAllocationInput is an input type that accepts IpamPoolPrefixAllocationArgs and IpamPoolPrefixAllocationOutput values.
+// You can construct a concrete instance of `IpamPoolPrefixAllocationInput` via:
+//
+// IpamPoolPrefixAllocationArgs{...}
+type IpamPoolPrefixAllocationInput interface {
+ pulumi.Input
+
+ ToIpamPoolPrefixAllocationOutput() IpamPoolPrefixAllocationOutput
+ ToIpamPoolPrefixAllocationOutputWithContext(context.Context) IpamPoolPrefixAllocationOutput
+}
+
+// IpamPool prefix allocation reference.
+type IpamPoolPrefixAllocationArgs struct {
+ // Resource id of the associated Azure IpamPool resource.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Number of IP addresses to allocate.
+ NumberOfIpAddresses pulumi.StringPtrInput `pulumi:"numberOfIpAddresses"`
+}
+
+func (IpamPoolPrefixAllocationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*IpamPoolPrefixAllocation)(nil)).Elem()
+}
+
+func (i IpamPoolPrefixAllocationArgs) ToIpamPoolPrefixAllocationOutput() IpamPoolPrefixAllocationOutput {
+ return i.ToIpamPoolPrefixAllocationOutputWithContext(context.Background())
+}
+
+func (i IpamPoolPrefixAllocationArgs) ToIpamPoolPrefixAllocationOutputWithContext(ctx context.Context) IpamPoolPrefixAllocationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(IpamPoolPrefixAllocationOutput)
+}
+
+// IpamPoolPrefixAllocationArrayInput is an input type that accepts IpamPoolPrefixAllocationArray and IpamPoolPrefixAllocationArrayOutput values.
+// You can construct a concrete instance of `IpamPoolPrefixAllocationArrayInput` via:
+//
+// IpamPoolPrefixAllocationArray{ IpamPoolPrefixAllocationArgs{...} }
+type IpamPoolPrefixAllocationArrayInput interface {
+ pulumi.Input
+
+ ToIpamPoolPrefixAllocationArrayOutput() IpamPoolPrefixAllocationArrayOutput
+ ToIpamPoolPrefixAllocationArrayOutputWithContext(context.Context) IpamPoolPrefixAllocationArrayOutput
+}
+
+type IpamPoolPrefixAllocationArray []IpamPoolPrefixAllocationInput
+
+func (IpamPoolPrefixAllocationArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IpamPoolPrefixAllocation)(nil)).Elem()
+}
+
+func (i IpamPoolPrefixAllocationArray) ToIpamPoolPrefixAllocationArrayOutput() IpamPoolPrefixAllocationArrayOutput {
+ return i.ToIpamPoolPrefixAllocationArrayOutputWithContext(context.Background())
+}
+
+func (i IpamPoolPrefixAllocationArray) ToIpamPoolPrefixAllocationArrayOutputWithContext(ctx context.Context) IpamPoolPrefixAllocationArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(IpamPoolPrefixAllocationArrayOutput)
+}
+
+// IpamPool prefix allocation reference.
+type IpamPoolPrefixAllocationOutput struct{ *pulumi.OutputState }
+
+func (IpamPoolPrefixAllocationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IpamPoolPrefixAllocation)(nil)).Elem()
+}
+
+func (o IpamPoolPrefixAllocationOutput) ToIpamPoolPrefixAllocationOutput() IpamPoolPrefixAllocationOutput {
+ return o
+}
+
+func (o IpamPoolPrefixAllocationOutput) ToIpamPoolPrefixAllocationOutputWithContext(ctx context.Context) IpamPoolPrefixAllocationOutput {
+ return o
+}
+
+// Resource id of the associated Azure IpamPool resource.
+func (o IpamPoolPrefixAllocationOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IpamPoolPrefixAllocation) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
+
+// Number of IP addresses to allocate.
+func (o IpamPoolPrefixAllocationOutput) NumberOfIpAddresses() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IpamPoolPrefixAllocation) *string { return v.NumberOfIpAddresses }).(pulumi.StringPtrOutput)
+}
+
+type IpamPoolPrefixAllocationArrayOutput struct{ *pulumi.OutputState }
+
+func (IpamPoolPrefixAllocationArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IpamPoolPrefixAllocation)(nil)).Elem()
+}
+
+func (o IpamPoolPrefixAllocationArrayOutput) ToIpamPoolPrefixAllocationArrayOutput() IpamPoolPrefixAllocationArrayOutput {
+ return o
+}
+
+func (o IpamPoolPrefixAllocationArrayOutput) ToIpamPoolPrefixAllocationArrayOutputWithContext(ctx context.Context) IpamPoolPrefixAllocationArrayOutput {
+ return o
+}
+
+func (o IpamPoolPrefixAllocationArrayOutput) Index(i pulumi.IntInput) IpamPoolPrefixAllocationOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpamPoolPrefixAllocation {
+ return vs[0].([]IpamPoolPrefixAllocation)[vs[1].(int)]
+ }).(IpamPoolPrefixAllocationOutput)
+}
+
+// IpamPool prefix allocation reference.
+type IpamPoolPrefixAllocationResponse struct {
+ // List of assigned IP address prefixes in the IpamPool of the associated resource.
+ AllocatedAddressPrefixes []string `pulumi:"allocatedAddressPrefixes"`
+ // Resource id of the associated Azure IpamPool resource.
+ Id *string `pulumi:"id"`
+ // Number of IP addresses to allocate.
+ NumberOfIpAddresses *string `pulumi:"numberOfIpAddresses"`
+}
+
+// IpamPool prefix allocation reference.
+type IpamPoolPrefixAllocationResponseOutput struct{ *pulumi.OutputState }
+
+func (IpamPoolPrefixAllocationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IpamPoolPrefixAllocationResponse)(nil)).Elem()
+}
+
+func (o IpamPoolPrefixAllocationResponseOutput) ToIpamPoolPrefixAllocationResponseOutput() IpamPoolPrefixAllocationResponseOutput {
+ return o
+}
+
+func (o IpamPoolPrefixAllocationResponseOutput) ToIpamPoolPrefixAllocationResponseOutputWithContext(ctx context.Context) IpamPoolPrefixAllocationResponseOutput {
+ return o
+}
+
+// List of assigned IP address prefixes in the IpamPool of the associated resource.
+func (o IpamPoolPrefixAllocationResponseOutput) AllocatedAddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IpamPoolPrefixAllocationResponse) []string { return v.AllocatedAddressPrefixes }).(pulumi.StringArrayOutput)
+}
+
+// Resource id of the associated Azure IpamPool resource.
+func (o IpamPoolPrefixAllocationResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IpamPoolPrefixAllocationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
+
+// Number of IP addresses to allocate.
+func (o IpamPoolPrefixAllocationResponseOutput) NumberOfIpAddresses() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IpamPoolPrefixAllocationResponse) *string { return v.NumberOfIpAddresses }).(pulumi.StringPtrOutput)
+}
+
+type IpamPoolPrefixAllocationResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (IpamPoolPrefixAllocationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IpamPoolPrefixAllocationResponse)(nil)).Elem()
+}
+
+func (o IpamPoolPrefixAllocationResponseArrayOutput) ToIpamPoolPrefixAllocationResponseArrayOutput() IpamPoolPrefixAllocationResponseArrayOutput {
+ return o
+}
+
+func (o IpamPoolPrefixAllocationResponseArrayOutput) ToIpamPoolPrefixAllocationResponseArrayOutputWithContext(ctx context.Context) IpamPoolPrefixAllocationResponseArrayOutput {
+ return o
+}
+
+func (o IpamPoolPrefixAllocationResponseArrayOutput) Index(i pulumi.IntInput) IpamPoolPrefixAllocationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpamPoolPrefixAllocationResponse {
+ return vs[0].([]IpamPoolPrefixAllocationResponse)[vs[1].(int)]
+ }).(IpamPoolPrefixAllocationResponseOutput)
+}
+
+// Properties of IpamPool resource properties which are specific to the Pool resource.
+type IpamPoolProperties struct {
+ // List of IP address prefixes of the resource.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ Description *string `pulumi:"description"`
+ // String representing a friendly name for the resource.
+ DisplayName *string `pulumi:"displayName"`
+ // String representing parent IpamPool resource name. If empty the IpamPool will be a root pool.
+ ParentPoolName *string `pulumi:"parentPoolName"`
+}
+
+// IpamPoolPropertiesInput is an input type that accepts IpamPoolPropertiesArgs and IpamPoolPropertiesOutput values.
+// You can construct a concrete instance of `IpamPoolPropertiesInput` via:
+//
+// IpamPoolPropertiesArgs{...}
+type IpamPoolPropertiesInput interface {
+ pulumi.Input
+
+ ToIpamPoolPropertiesOutput() IpamPoolPropertiesOutput
+ ToIpamPoolPropertiesOutputWithContext(context.Context) IpamPoolPropertiesOutput
+}
+
+// Properties of IpamPool resource properties which are specific to the Pool resource.
+type IpamPoolPropertiesArgs struct {
+ // List of IP address prefixes of the resource.
+ AddressPrefixes pulumi.StringArrayInput `pulumi:"addressPrefixes"`
+ Description pulumi.StringPtrInput `pulumi:"description"`
+ // String representing a friendly name for the resource.
+ DisplayName pulumi.StringPtrInput `pulumi:"displayName"`
+ // String representing parent IpamPool resource name. If empty the IpamPool will be a root pool.
+ ParentPoolName pulumi.StringPtrInput `pulumi:"parentPoolName"`
+}
+
+func (IpamPoolPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*IpamPoolProperties)(nil)).Elem()
+}
+
+func (i IpamPoolPropertiesArgs) ToIpamPoolPropertiesOutput() IpamPoolPropertiesOutput {
+ return i.ToIpamPoolPropertiesOutputWithContext(context.Background())
+}
+
+func (i IpamPoolPropertiesArgs) ToIpamPoolPropertiesOutputWithContext(ctx context.Context) IpamPoolPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(IpamPoolPropertiesOutput)
+}
+
+// Properties of IpamPool resource properties which are specific to the Pool resource.
+type IpamPoolPropertiesOutput struct{ *pulumi.OutputState }
+
+func (IpamPoolPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IpamPoolProperties)(nil)).Elem()
+}
+
+func (o IpamPoolPropertiesOutput) ToIpamPoolPropertiesOutput() IpamPoolPropertiesOutput {
+ return o
+}
+
+func (o IpamPoolPropertiesOutput) ToIpamPoolPropertiesOutputWithContext(ctx context.Context) IpamPoolPropertiesOutput {
+ return o
+}
+
+// List of IP address prefixes of the resource.
+func (o IpamPoolPropertiesOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IpamPoolProperties) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+}
+
+func (o IpamPoolPropertiesOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IpamPoolProperties) *string { return v.Description }).(pulumi.StringPtrOutput)
+}
+
+// String representing a friendly name for the resource.
+func (o IpamPoolPropertiesOutput) DisplayName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IpamPoolProperties) *string { return v.DisplayName }).(pulumi.StringPtrOutput)
+}
+
+// String representing parent IpamPool resource name. If empty the IpamPool will be a root pool.
+func (o IpamPoolPropertiesOutput) ParentPoolName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IpamPoolProperties) *string { return v.ParentPoolName }).(pulumi.StringPtrOutput)
+}
+
+// Properties of IpamPool resource properties which are specific to the Pool resource.
+type IpamPoolPropertiesResponse struct {
+ // List of IP address prefixes of the resource.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ Description *string `pulumi:"description"`
+ // String representing a friendly name for the resource.
+ DisplayName *string `pulumi:"displayName"`
+ // List of IP address type for the IpamPool.
+ IpAddressType []string `pulumi:"ipAddressType"`
+ // String representing parent IpamPool resource name. If empty the IpamPool will be a root pool.
+ ParentPoolName *string `pulumi:"parentPoolName"`
+ // Provisioning states of a resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+}
+
+// Properties of IpamPool resource properties which are specific to the Pool resource.
+type IpamPoolPropertiesResponseOutput struct{ *pulumi.OutputState }
+
+func (IpamPoolPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IpamPoolPropertiesResponse)(nil)).Elem()
+}
+
+func (o IpamPoolPropertiesResponseOutput) ToIpamPoolPropertiesResponseOutput() IpamPoolPropertiesResponseOutput {
+ return o
+}
+
+func (o IpamPoolPropertiesResponseOutput) ToIpamPoolPropertiesResponseOutputWithContext(ctx context.Context) IpamPoolPropertiesResponseOutput {
+ return o
+}
+
+// List of IP address prefixes of the resource.
+func (o IpamPoolPropertiesResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IpamPoolPropertiesResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+}
+
+func (o IpamPoolPropertiesResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IpamPoolPropertiesResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+}
+
+// String representing a friendly name for the resource.
+func (o IpamPoolPropertiesResponseOutput) DisplayName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IpamPoolPropertiesResponse) *string { return v.DisplayName }).(pulumi.StringPtrOutput)
+}
+
+// List of IP address type for the IpamPool.
+func (o IpamPoolPropertiesResponseOutput) IpAddressType() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v IpamPoolPropertiesResponse) []string { return v.IpAddressType }).(pulumi.StringArrayOutput)
+}
+
+// String representing parent IpamPool resource name. If empty the IpamPool will be a root pool.
+func (o IpamPoolPropertiesResponseOutput) ParentPoolName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v IpamPoolPropertiesResponse) *string { return v.ParentPoolName }).(pulumi.StringPtrOutput)
+}
+
+// Provisioning states of a resource.
+func (o IpamPoolPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v IpamPoolPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
+
+// An IPSec Policy configuration for a virtual network gateway connection.
+type IpsecPolicy struct {
+ // The DH Group used in IKE Phase 1 for initial SA.
+ DhGroup string `pulumi:"dhGroup"`
+ // The IKE encryption algorithm (IKE phase 2).
+ IkeEncryption string `pulumi:"ikeEncryption"`
+ // The IKE integrity algorithm (IKE phase 2).
+ IkeIntegrity string `pulumi:"ikeIntegrity"`
+ // The IPSec encryption algorithm (IKE phase 1).
+ IpsecEncryption string `pulumi:"ipsecEncryption"`
+ // The IPSec integrity algorithm (IKE phase 1).
+ IpsecIntegrity string `pulumi:"ipsecIntegrity"`
+ // The Pfs Group used in IKE Phase 2 for new child SA.
+ PfsGroup string `pulumi:"pfsGroup"`
+ // The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
+ SaDataSizeKilobytes int `pulumi:"saDataSizeKilobytes"`
+ // The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
+ SaLifeTimeSeconds int `pulumi:"saLifeTimeSeconds"`
+}
+
+// IpsecPolicyInput is an input type that accepts IpsecPolicyArgs and IpsecPolicyOutput values.
+// You can construct a concrete instance of `IpsecPolicyInput` via:
+//
+// IpsecPolicyArgs{...}
+type IpsecPolicyInput interface {
+ pulumi.Input
+
+ ToIpsecPolicyOutput() IpsecPolicyOutput
+ ToIpsecPolicyOutputWithContext(context.Context) IpsecPolicyOutput
+}
+
+// An IPSec Policy configuration for a virtual network gateway connection.
+type IpsecPolicyArgs struct {
+ // The DH Group used in IKE Phase 1 for initial SA.
+ DhGroup pulumi.StringInput `pulumi:"dhGroup"`
+ // The IKE encryption algorithm (IKE phase 2).
+ IkeEncryption pulumi.StringInput `pulumi:"ikeEncryption"`
+ // The IKE integrity algorithm (IKE phase 2).
+ IkeIntegrity pulumi.StringInput `pulumi:"ikeIntegrity"`
+ // The IPSec encryption algorithm (IKE phase 1).
+ IpsecEncryption pulumi.StringInput `pulumi:"ipsecEncryption"`
+ // The IPSec integrity algorithm (IKE phase 1).
+ IpsecIntegrity pulumi.StringInput `pulumi:"ipsecIntegrity"`
+ // The Pfs Group used in IKE Phase 2 for new child SA.
+ PfsGroup pulumi.StringInput `pulumi:"pfsGroup"`
+ // The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
+ SaDataSizeKilobytes pulumi.IntInput `pulumi:"saDataSizeKilobytes"`
+ // The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
+ SaLifeTimeSeconds pulumi.IntInput `pulumi:"saLifeTimeSeconds"`
+}
+
+func (IpsecPolicyArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*IpsecPolicy)(nil)).Elem()
+}
+
+func (i IpsecPolicyArgs) ToIpsecPolicyOutput() IpsecPolicyOutput {
+ return i.ToIpsecPolicyOutputWithContext(context.Background())
+}
+
+func (i IpsecPolicyArgs) ToIpsecPolicyOutputWithContext(ctx context.Context) IpsecPolicyOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(IpsecPolicyOutput)
+}
+
+// IpsecPolicyArrayInput is an input type that accepts IpsecPolicyArray and IpsecPolicyArrayOutput values.
+// You can construct a concrete instance of `IpsecPolicyArrayInput` via:
+//
+// IpsecPolicyArray{ IpsecPolicyArgs{...} }
+type IpsecPolicyArrayInput interface {
+ pulumi.Input
+
+ ToIpsecPolicyArrayOutput() IpsecPolicyArrayOutput
+ ToIpsecPolicyArrayOutputWithContext(context.Context) IpsecPolicyArrayOutput
+}
+
+type IpsecPolicyArray []IpsecPolicyInput
+
+func (IpsecPolicyArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IpsecPolicy)(nil)).Elem()
+}
+
+func (i IpsecPolicyArray) ToIpsecPolicyArrayOutput() IpsecPolicyArrayOutput {
+ return i.ToIpsecPolicyArrayOutputWithContext(context.Background())
+}
+
+func (i IpsecPolicyArray) ToIpsecPolicyArrayOutputWithContext(ctx context.Context) IpsecPolicyArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(IpsecPolicyArrayOutput)
+}
+
+// An IPSec Policy configuration for a virtual network gateway connection.
+type IpsecPolicyOutput struct{ *pulumi.OutputState }
+
+func (IpsecPolicyOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IpsecPolicy)(nil)).Elem()
+}
+
+func (o IpsecPolicyOutput) ToIpsecPolicyOutput() IpsecPolicyOutput {
+ return o
+}
+
+func (o IpsecPolicyOutput) ToIpsecPolicyOutputWithContext(ctx context.Context) IpsecPolicyOutput {
+ return o
+}
+
+// The DH Group used in IKE Phase 1 for initial SA.
+func (o IpsecPolicyOutput) DhGroup() pulumi.StringOutput {
+ return o.ApplyT(func(v IpsecPolicy) string { return v.DhGroup }).(pulumi.StringOutput)
+}
+
+// The IKE encryption algorithm (IKE phase 2).
+func (o IpsecPolicyOutput) IkeEncryption() pulumi.StringOutput {
+ return o.ApplyT(func(v IpsecPolicy) string { return v.IkeEncryption }).(pulumi.StringOutput)
+}
+
+// The IKE integrity algorithm (IKE phase 2).
+func (o IpsecPolicyOutput) IkeIntegrity() pulumi.StringOutput {
+ return o.ApplyT(func(v IpsecPolicy) string { return v.IkeIntegrity }).(pulumi.StringOutput)
+}
+
+// The IPSec encryption algorithm (IKE phase 1).
+func (o IpsecPolicyOutput) IpsecEncryption() pulumi.StringOutput {
+ return o.ApplyT(func(v IpsecPolicy) string { return v.IpsecEncryption }).(pulumi.StringOutput)
+}
+
+// The IPSec integrity algorithm (IKE phase 1).
+func (o IpsecPolicyOutput) IpsecIntegrity() pulumi.StringOutput {
+ return o.ApplyT(func(v IpsecPolicy) string { return v.IpsecIntegrity }).(pulumi.StringOutput)
+}
+
+// The Pfs Group used in IKE Phase 2 for new child SA.
+func (o IpsecPolicyOutput) PfsGroup() pulumi.StringOutput {
+ return o.ApplyT(func(v IpsecPolicy) string { return v.PfsGroup }).(pulumi.StringOutput)
+}
+
+// The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
+func (o IpsecPolicyOutput) SaDataSizeKilobytes() pulumi.IntOutput {
+ return o.ApplyT(func(v IpsecPolicy) int { return v.SaDataSizeKilobytes }).(pulumi.IntOutput)
+}
+
+// The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
+func (o IpsecPolicyOutput) SaLifeTimeSeconds() pulumi.IntOutput {
+ return o.ApplyT(func(v IpsecPolicy) int { return v.SaLifeTimeSeconds }).(pulumi.IntOutput)
+}
+
+type IpsecPolicyArrayOutput struct{ *pulumi.OutputState }
+
+func (IpsecPolicyArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IpsecPolicy)(nil)).Elem()
+}
+
+func (o IpsecPolicyArrayOutput) ToIpsecPolicyArrayOutput() IpsecPolicyArrayOutput {
+ return o
+}
+
+func (o IpsecPolicyArrayOutput) ToIpsecPolicyArrayOutputWithContext(ctx context.Context) IpsecPolicyArrayOutput {
+ return o
+}
+
+func (o IpsecPolicyArrayOutput) Index(i pulumi.IntInput) IpsecPolicyOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpsecPolicy {
+ return vs[0].([]IpsecPolicy)[vs[1].(int)]
+ }).(IpsecPolicyOutput)
+}
+
+// An IPSec Policy configuration for a virtual network gateway connection.
+type IpsecPolicyResponse struct {
+ // The DH Group used in IKE Phase 1 for initial SA.
+ DhGroup string `pulumi:"dhGroup"`
+ // The IKE encryption algorithm (IKE phase 2).
+ IkeEncryption string `pulumi:"ikeEncryption"`
+ // The IKE integrity algorithm (IKE phase 2).
+ IkeIntegrity string `pulumi:"ikeIntegrity"`
+ // The IPSec encryption algorithm (IKE phase 1).
+ IpsecEncryption string `pulumi:"ipsecEncryption"`
+ // The IPSec integrity algorithm (IKE phase 1).
+ IpsecIntegrity string `pulumi:"ipsecIntegrity"`
+ // The Pfs Group used in IKE Phase 2 for new child SA.
+ PfsGroup string `pulumi:"pfsGroup"`
+ // The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
+ SaDataSizeKilobytes int `pulumi:"saDataSizeKilobytes"`
+ // The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
+ SaLifeTimeSeconds int `pulumi:"saLifeTimeSeconds"`
+}
+
+// An IPSec Policy configuration for a virtual network gateway connection.
+type IpsecPolicyResponseOutput struct{ *pulumi.OutputState }
+
+func (IpsecPolicyResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*IpsecPolicyResponse)(nil)).Elem()
+}
+
+func (o IpsecPolicyResponseOutput) ToIpsecPolicyResponseOutput() IpsecPolicyResponseOutput {
+ return o
+}
+
+func (o IpsecPolicyResponseOutput) ToIpsecPolicyResponseOutputWithContext(ctx context.Context) IpsecPolicyResponseOutput {
+ return o
+}
+
+// The DH Group used in IKE Phase 1 for initial SA.
+func (o IpsecPolicyResponseOutput) DhGroup() pulumi.StringOutput {
+ return o.ApplyT(func(v IpsecPolicyResponse) string { return v.DhGroup }).(pulumi.StringOutput)
+}
+
+// The IKE encryption algorithm (IKE phase 2).
+func (o IpsecPolicyResponseOutput) IkeEncryption() pulumi.StringOutput {
+ return o.ApplyT(func(v IpsecPolicyResponse) string { return v.IkeEncryption }).(pulumi.StringOutput)
+}
+
+// The IKE integrity algorithm (IKE phase 2).
+func (o IpsecPolicyResponseOutput) IkeIntegrity() pulumi.StringOutput {
+ return o.ApplyT(func(v IpsecPolicyResponse) string { return v.IkeIntegrity }).(pulumi.StringOutput)
+}
+
+// The IPSec encryption algorithm (IKE phase 1).
+func (o IpsecPolicyResponseOutput) IpsecEncryption() pulumi.StringOutput {
+ return o.ApplyT(func(v IpsecPolicyResponse) string { return v.IpsecEncryption }).(pulumi.StringOutput)
+}
+
+// The IPSec integrity algorithm (IKE phase 1).
+func (o IpsecPolicyResponseOutput) IpsecIntegrity() pulumi.StringOutput {
+ return o.ApplyT(func(v IpsecPolicyResponse) string { return v.IpsecIntegrity }).(pulumi.StringOutput)
+}
+
+// The Pfs Group used in IKE Phase 2 for new child SA.
+func (o IpsecPolicyResponseOutput) PfsGroup() pulumi.StringOutput {
+ return o.ApplyT(func(v IpsecPolicyResponse) string { return v.PfsGroup }).(pulumi.StringOutput)
+}
+
+// The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
+func (o IpsecPolicyResponseOutput) SaDataSizeKilobytes() pulumi.IntOutput {
+ return o.ApplyT(func(v IpsecPolicyResponse) int { return v.SaDataSizeKilobytes }).(pulumi.IntOutput)
+}
+
+// The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
+func (o IpsecPolicyResponseOutput) SaLifeTimeSeconds() pulumi.IntOutput {
+ return o.ApplyT(func(v IpsecPolicyResponse) int { return v.SaLifeTimeSeconds }).(pulumi.IntOutput)
+}
+
+type IpsecPolicyResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (IpsecPolicyResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]IpsecPolicyResponse)(nil)).Elem()
+}
+
+func (o IpsecPolicyResponseArrayOutput) ToIpsecPolicyResponseArrayOutput() IpsecPolicyResponseArrayOutput {
+ return o
+}
+
+func (o IpsecPolicyResponseArrayOutput) ToIpsecPolicyResponseArrayOutputWithContext(ctx context.Context) IpsecPolicyResponseArrayOutput {
+ return o
+}
+
+func (o IpsecPolicyResponseArrayOutput) Index(i pulumi.IntInput) IpsecPolicyResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpsecPolicyResponse {
+ return vs[0].([]IpsecPolicyResponse)[vs[1].(int)]
+ }).(IpsecPolicyResponseOutput)
+}
+
+// IPv6 Circuit Connection properties for global reach.
+type Ipv6CircuitConnectionConfig struct {
+ // /125 IP address space to carve out customer addresses for global reach.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+}
+
+// Ipv6CircuitConnectionConfigInput is an input type that accepts Ipv6CircuitConnectionConfigArgs and Ipv6CircuitConnectionConfigOutput values.
+// You can construct a concrete instance of `Ipv6CircuitConnectionConfigInput` via:
+//
+// Ipv6CircuitConnectionConfigArgs{...}
+type Ipv6CircuitConnectionConfigInput interface {
+ pulumi.Input
+
+ ToIpv6CircuitConnectionConfigOutput() Ipv6CircuitConnectionConfigOutput
+ ToIpv6CircuitConnectionConfigOutputWithContext(context.Context) Ipv6CircuitConnectionConfigOutput
+}
+
+// IPv6 Circuit Connection properties for global reach.
+type Ipv6CircuitConnectionConfigArgs struct {
+ // /125 IP address space to carve out customer addresses for global reach.
+ AddressPrefix pulumi.StringPtrInput `pulumi:"addressPrefix"`
+}
+
+func (Ipv6CircuitConnectionConfigArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*Ipv6CircuitConnectionConfig)(nil)).Elem()
+}
+
+func (i Ipv6CircuitConnectionConfigArgs) ToIpv6CircuitConnectionConfigOutput() Ipv6CircuitConnectionConfigOutput {
+ return i.ToIpv6CircuitConnectionConfigOutputWithContext(context.Background())
+}
+
+func (i Ipv6CircuitConnectionConfigArgs) ToIpv6CircuitConnectionConfigOutputWithContext(ctx context.Context) Ipv6CircuitConnectionConfigOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(Ipv6CircuitConnectionConfigOutput)
+}
+
+func (i Ipv6CircuitConnectionConfigArgs) ToIpv6CircuitConnectionConfigPtrOutput() Ipv6CircuitConnectionConfigPtrOutput {
+ return i.ToIpv6CircuitConnectionConfigPtrOutputWithContext(context.Background())
+}
+
+func (i Ipv6CircuitConnectionConfigArgs) ToIpv6CircuitConnectionConfigPtrOutputWithContext(ctx context.Context) Ipv6CircuitConnectionConfigPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(Ipv6CircuitConnectionConfigOutput).ToIpv6CircuitConnectionConfigPtrOutputWithContext(ctx)
+}
+
+// Ipv6CircuitConnectionConfigPtrInput is an input type that accepts Ipv6CircuitConnectionConfigArgs, Ipv6CircuitConnectionConfigPtr and Ipv6CircuitConnectionConfigPtrOutput values.
+// You can construct a concrete instance of `Ipv6CircuitConnectionConfigPtrInput` via:
+//
+// Ipv6CircuitConnectionConfigArgs{...}
+//
+// or:
+//
+// nil
+type Ipv6CircuitConnectionConfigPtrInput interface {
+ pulumi.Input
+
+ ToIpv6CircuitConnectionConfigPtrOutput() Ipv6CircuitConnectionConfigPtrOutput
+ ToIpv6CircuitConnectionConfigPtrOutputWithContext(context.Context) Ipv6CircuitConnectionConfigPtrOutput
+}
+
+type ipv6CircuitConnectionConfigPtrType Ipv6CircuitConnectionConfigArgs
+
+func Ipv6CircuitConnectionConfigPtr(v *Ipv6CircuitConnectionConfigArgs) Ipv6CircuitConnectionConfigPtrInput {
+ return (*ipv6CircuitConnectionConfigPtrType)(v)
+}
+
+func (*ipv6CircuitConnectionConfigPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**Ipv6CircuitConnectionConfig)(nil)).Elem()
+}
+
+func (i *ipv6CircuitConnectionConfigPtrType) ToIpv6CircuitConnectionConfigPtrOutput() Ipv6CircuitConnectionConfigPtrOutput {
+ return i.ToIpv6CircuitConnectionConfigPtrOutputWithContext(context.Background())
+}
+
+func (i *ipv6CircuitConnectionConfigPtrType) ToIpv6CircuitConnectionConfigPtrOutputWithContext(ctx context.Context) Ipv6CircuitConnectionConfigPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(Ipv6CircuitConnectionConfigPtrOutput)
+}
+
+// IPv6 Circuit Connection properties for global reach.
+type Ipv6CircuitConnectionConfigOutput struct{ *pulumi.OutputState }
+
+func (Ipv6CircuitConnectionConfigOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*Ipv6CircuitConnectionConfig)(nil)).Elem()
+}
+
+func (o Ipv6CircuitConnectionConfigOutput) ToIpv6CircuitConnectionConfigOutput() Ipv6CircuitConnectionConfigOutput {
+ return o
+}
+
+func (o Ipv6CircuitConnectionConfigOutput) ToIpv6CircuitConnectionConfigOutputWithContext(ctx context.Context) Ipv6CircuitConnectionConfigOutput {
+ return o
+}
+
+func (o Ipv6CircuitConnectionConfigOutput) ToIpv6CircuitConnectionConfigPtrOutput() Ipv6CircuitConnectionConfigPtrOutput {
+ return o.ToIpv6CircuitConnectionConfigPtrOutputWithContext(context.Background())
+}
+
+func (o Ipv6CircuitConnectionConfigOutput) ToIpv6CircuitConnectionConfigPtrOutputWithContext(ctx context.Context) Ipv6CircuitConnectionConfigPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v Ipv6CircuitConnectionConfig) *Ipv6CircuitConnectionConfig {
+ return &v
+ }).(Ipv6CircuitConnectionConfigPtrOutput)
+}
+
+// /125 IP address space to carve out customer addresses for global reach.
+func (o Ipv6CircuitConnectionConfigOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Ipv6CircuitConnectionConfig) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
+}
+
+type Ipv6CircuitConnectionConfigPtrOutput struct{ *pulumi.OutputState }
+
+func (Ipv6CircuitConnectionConfigPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**Ipv6CircuitConnectionConfig)(nil)).Elem()
+}
+
+func (o Ipv6CircuitConnectionConfigPtrOutput) ToIpv6CircuitConnectionConfigPtrOutput() Ipv6CircuitConnectionConfigPtrOutput {
+ return o
+}
+
+func (o Ipv6CircuitConnectionConfigPtrOutput) ToIpv6CircuitConnectionConfigPtrOutputWithContext(ctx context.Context) Ipv6CircuitConnectionConfigPtrOutput {
+ return o
+}
+
+func (o Ipv6CircuitConnectionConfigPtrOutput) Elem() Ipv6CircuitConnectionConfigOutput {
+ return o.ApplyT(func(v *Ipv6CircuitConnectionConfig) Ipv6CircuitConnectionConfig {
+ if v != nil {
+ return *v
+ }
+ var ret Ipv6CircuitConnectionConfig
+ return ret
+ }).(Ipv6CircuitConnectionConfigOutput)
+}
+
+// /125 IP address space to carve out customer addresses for global reach.
+func (o Ipv6CircuitConnectionConfigPtrOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *Ipv6CircuitConnectionConfig) *string {
+ if v == nil {
+ return nil
+ }
+ return v.AddressPrefix
+ }).(pulumi.StringPtrOutput)
+}
+
+// IPv6 Circuit Connection properties for global reach.
+type Ipv6CircuitConnectionConfigResponse struct {
+ // /125 IP address space to carve out customer addresses for global reach.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // Express Route Circuit connection state.
+ CircuitConnectionStatus string `pulumi:"circuitConnectionStatus"`
+}
+
+// IPv6 Circuit Connection properties for global reach.
+type Ipv6CircuitConnectionConfigResponseOutput struct{ *pulumi.OutputState }
+
+func (Ipv6CircuitConnectionConfigResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*Ipv6CircuitConnectionConfigResponse)(nil)).Elem()
+}
+
+func (o Ipv6CircuitConnectionConfigResponseOutput) ToIpv6CircuitConnectionConfigResponseOutput() Ipv6CircuitConnectionConfigResponseOutput {
+ return o
+}
+
+func (o Ipv6CircuitConnectionConfigResponseOutput) ToIpv6CircuitConnectionConfigResponseOutputWithContext(ctx context.Context) Ipv6CircuitConnectionConfigResponseOutput {
+ return o
+}
+
+// /125 IP address space to carve out customer addresses for global reach.
+func (o Ipv6CircuitConnectionConfigResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Ipv6CircuitConnectionConfigResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
+}
+
+// Express Route Circuit connection state.
+func (o Ipv6CircuitConnectionConfigResponseOutput) CircuitConnectionStatus() pulumi.StringOutput {
+ return o.ApplyT(func(v Ipv6CircuitConnectionConfigResponse) string { return v.CircuitConnectionStatus }).(pulumi.StringOutput)
+}
+
+type Ipv6CircuitConnectionConfigResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (Ipv6CircuitConnectionConfigResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**Ipv6CircuitConnectionConfigResponse)(nil)).Elem()
+}
+
+func (o Ipv6CircuitConnectionConfigResponsePtrOutput) ToIpv6CircuitConnectionConfigResponsePtrOutput() Ipv6CircuitConnectionConfigResponsePtrOutput {
+ return o
+}
+
+func (o Ipv6CircuitConnectionConfigResponsePtrOutput) ToIpv6CircuitConnectionConfigResponsePtrOutputWithContext(ctx context.Context) Ipv6CircuitConnectionConfigResponsePtrOutput {
+ return o
+}
+
+func (o Ipv6CircuitConnectionConfigResponsePtrOutput) Elem() Ipv6CircuitConnectionConfigResponseOutput {
+ return o.ApplyT(func(v *Ipv6CircuitConnectionConfigResponse) Ipv6CircuitConnectionConfigResponse {
+ if v != nil {
+ return *v
+ }
+ var ret Ipv6CircuitConnectionConfigResponse
+ return ret
+ }).(Ipv6CircuitConnectionConfigResponseOutput)
+}
+
+// /125 IP address space to carve out customer addresses for global reach.
+func (o Ipv6CircuitConnectionConfigResponsePtrOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *Ipv6CircuitConnectionConfigResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.AddressPrefix
+ }).(pulumi.StringPtrOutput)
+}
+
+// Express Route Circuit connection state.
+func (o Ipv6CircuitConnectionConfigResponsePtrOutput) CircuitConnectionStatus() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *Ipv6CircuitConnectionConfigResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.CircuitConnectionStatus
+ }).(pulumi.StringPtrOutput)
+}
+
+// Contains IPv6 peering config.
+type Ipv6ExpressRouteCircuitPeeringConfig struct {
+ // The Microsoft peering configuration.
+ MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `pulumi:"microsoftPeeringConfig"`
+ // The primary address prefix.
+ PrimaryPeerAddressPrefix *string `pulumi:"primaryPeerAddressPrefix"`
+ // The reference to the RouteFilter resource.
+ RouteFilter *SubResource `pulumi:"routeFilter"`
+ // The secondary address prefix.
+ SecondaryPeerAddressPrefix *string `pulumi:"secondaryPeerAddressPrefix"`
+ // The state of peering.
+ State *string `pulumi:"state"`
+}
+
+// Ipv6ExpressRouteCircuitPeeringConfigInput is an input type that accepts Ipv6ExpressRouteCircuitPeeringConfigArgs and Ipv6ExpressRouteCircuitPeeringConfigOutput values.
+// You can construct a concrete instance of `Ipv6ExpressRouteCircuitPeeringConfigInput` via:
+//
+// Ipv6ExpressRouteCircuitPeeringConfigArgs{...}
+type Ipv6ExpressRouteCircuitPeeringConfigInput interface {
+ pulumi.Input
+
+ ToIpv6ExpressRouteCircuitPeeringConfigOutput() Ipv6ExpressRouteCircuitPeeringConfigOutput
+ ToIpv6ExpressRouteCircuitPeeringConfigOutputWithContext(context.Context) Ipv6ExpressRouteCircuitPeeringConfigOutput
+}
+
+// Contains IPv6 peering config.
+type Ipv6ExpressRouteCircuitPeeringConfigArgs struct {
+ // The Microsoft peering configuration.
+ MicrosoftPeeringConfig ExpressRouteCircuitPeeringConfigPtrInput `pulumi:"microsoftPeeringConfig"`
+ // The primary address prefix.
+ PrimaryPeerAddressPrefix pulumi.StringPtrInput `pulumi:"primaryPeerAddressPrefix"`
+ // The reference to the RouteFilter resource.
+ RouteFilter SubResourcePtrInput `pulumi:"routeFilter"`
+ // The secondary address prefix.
+ SecondaryPeerAddressPrefix pulumi.StringPtrInput `pulumi:"secondaryPeerAddressPrefix"`
+ // The state of peering.
+ State pulumi.StringPtrInput `pulumi:"state"`
+}
+
+func (Ipv6ExpressRouteCircuitPeeringConfigArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*Ipv6ExpressRouteCircuitPeeringConfig)(nil)).Elem()
+}
+
+func (i Ipv6ExpressRouteCircuitPeeringConfigArgs) ToIpv6ExpressRouteCircuitPeeringConfigOutput() Ipv6ExpressRouteCircuitPeeringConfigOutput {
+ return i.ToIpv6ExpressRouteCircuitPeeringConfigOutputWithContext(context.Background())
+}
+
+func (i Ipv6ExpressRouteCircuitPeeringConfigArgs) ToIpv6ExpressRouteCircuitPeeringConfigOutputWithContext(ctx context.Context) Ipv6ExpressRouteCircuitPeeringConfigOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(Ipv6ExpressRouteCircuitPeeringConfigOutput)
+}
+
+func (i Ipv6ExpressRouteCircuitPeeringConfigArgs) ToIpv6ExpressRouteCircuitPeeringConfigPtrOutput() Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
+ return i.ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(context.Background())
+}
+
+func (i Ipv6ExpressRouteCircuitPeeringConfigArgs) ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx context.Context) Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(Ipv6ExpressRouteCircuitPeeringConfigOutput).ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx)
+}
+
+// Ipv6ExpressRouteCircuitPeeringConfigPtrInput is an input type that accepts Ipv6ExpressRouteCircuitPeeringConfigArgs, Ipv6ExpressRouteCircuitPeeringConfigPtr and Ipv6ExpressRouteCircuitPeeringConfigPtrOutput values.
+// You can construct a concrete instance of `Ipv6ExpressRouteCircuitPeeringConfigPtrInput` via:
+//
+// Ipv6ExpressRouteCircuitPeeringConfigArgs{...}
+//
+// or:
+//
+// nil
+type Ipv6ExpressRouteCircuitPeeringConfigPtrInput interface {
+ pulumi.Input
+
+ ToIpv6ExpressRouteCircuitPeeringConfigPtrOutput() Ipv6ExpressRouteCircuitPeeringConfigPtrOutput
+ ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(context.Context) Ipv6ExpressRouteCircuitPeeringConfigPtrOutput
+}
+
+type ipv6ExpressRouteCircuitPeeringConfigPtrType Ipv6ExpressRouteCircuitPeeringConfigArgs
+
+func Ipv6ExpressRouteCircuitPeeringConfigPtr(v *Ipv6ExpressRouteCircuitPeeringConfigArgs) Ipv6ExpressRouteCircuitPeeringConfigPtrInput {
+ return (*ipv6ExpressRouteCircuitPeeringConfigPtrType)(v)
+}
+
+func (*ipv6ExpressRouteCircuitPeeringConfigPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**Ipv6ExpressRouteCircuitPeeringConfig)(nil)).Elem()
+}
+
+func (i *ipv6ExpressRouteCircuitPeeringConfigPtrType) ToIpv6ExpressRouteCircuitPeeringConfigPtrOutput() Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
+ return i.ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(context.Background())
+}
+
+func (i *ipv6ExpressRouteCircuitPeeringConfigPtrType) ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx context.Context) Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(Ipv6ExpressRouteCircuitPeeringConfigPtrOutput)
+}
+
+// Contains IPv6 peering config.
+type Ipv6ExpressRouteCircuitPeeringConfigOutput struct{ *pulumi.OutputState }
+
+func (Ipv6ExpressRouteCircuitPeeringConfigOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*Ipv6ExpressRouteCircuitPeeringConfig)(nil)).Elem()
+}
+
+func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) ToIpv6ExpressRouteCircuitPeeringConfigOutput() Ipv6ExpressRouteCircuitPeeringConfigOutput {
+ return o
+}
+
+func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) ToIpv6ExpressRouteCircuitPeeringConfigOutputWithContext(ctx context.Context) Ipv6ExpressRouteCircuitPeeringConfigOutput {
+ return o
+}
+
+func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) ToIpv6ExpressRouteCircuitPeeringConfigPtrOutput() Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
+ return o.ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(context.Background())
+}
+
+func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx context.Context) Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v Ipv6ExpressRouteCircuitPeeringConfig) *Ipv6ExpressRouteCircuitPeeringConfig {
+ return &v
+ }).(Ipv6ExpressRouteCircuitPeeringConfigPtrOutput)
+}
+
+// The Microsoft peering configuration.
+func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) MicrosoftPeeringConfig() ExpressRouteCircuitPeeringConfigPtrOutput {
+ return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfig) *ExpressRouteCircuitPeeringConfig {
+ return v.MicrosoftPeeringConfig
+ }).(ExpressRouteCircuitPeeringConfigPtrOutput)
+}
+
+// The primary address prefix.
+func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) PrimaryPeerAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfig) *string { return v.PrimaryPeerAddressPrefix }).(pulumi.StringPtrOutput)
+}
+
+// The reference to the RouteFilter resource.
+func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) RouteFilter() SubResourcePtrOutput {
+ return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfig) *SubResource { return v.RouteFilter }).(SubResourcePtrOutput)
+}
+
+// The secondary address prefix.
+func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) SecondaryPeerAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfig) *string { return v.SecondaryPeerAddressPrefix }).(pulumi.StringPtrOutput)
+}
+
+// The state of peering.
+func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) State() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfig) *string { return v.State }).(pulumi.StringPtrOutput)
+}
+
+type Ipv6ExpressRouteCircuitPeeringConfigPtrOutput struct{ *pulumi.OutputState }
+
+func (Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**Ipv6ExpressRouteCircuitPeeringConfig)(nil)).Elem()
+}
+
+func (o Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) ToIpv6ExpressRouteCircuitPeeringConfigPtrOutput() Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
+ return o
+}
+
+func (o Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx context.Context) Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
+ return o
+}
+
+func (o Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) Elem() Ipv6ExpressRouteCircuitPeeringConfigOutput {
+ return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfig) Ipv6ExpressRouteCircuitPeeringConfig {
+ if v != nil {
+ return *v
+ }
+ var ret Ipv6ExpressRouteCircuitPeeringConfig
+ return ret
+ }).(Ipv6ExpressRouteCircuitPeeringConfigOutput)
+}
+
+// The Microsoft peering configuration.
+func (o Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) MicrosoftPeeringConfig() ExpressRouteCircuitPeeringConfigPtrOutput {
+ return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfig) *ExpressRouteCircuitPeeringConfig {
+ if v == nil {
+ return nil
+ }
+ return v.MicrosoftPeeringConfig
+ }).(ExpressRouteCircuitPeeringConfigPtrOutput)
+}
+
+// The primary address prefix.
+func (o Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) PrimaryPeerAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfig) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrimaryPeerAddressPrefix
+ }).(pulumi.StringPtrOutput)
+}
+
+// The reference to the RouteFilter resource.
+func (o Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) RouteFilter() SubResourcePtrOutput {
+ return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfig) *SubResource {
+ if v == nil {
+ return nil
+ }
+ return v.RouteFilter
+ }).(SubResourcePtrOutput)
+}
+
+// The secondary address prefix.
+func (o Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) SecondaryPeerAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfig) *string {
+ if v == nil {
+ return nil
+ }
+ return v.SecondaryPeerAddressPrefix
+ }).(pulumi.StringPtrOutput)
+}
+
+// The state of peering.
+func (o Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) State() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfig) *string {
+ if v == nil {
+ return nil
+ }
+ return v.State
+ }).(pulumi.StringPtrOutput)
+}
+
+// Contains IPv6 peering config.
+type Ipv6ExpressRouteCircuitPeeringConfigResponse struct {
+ // The Microsoft peering configuration.
+ MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfigResponse `pulumi:"microsoftPeeringConfig"`
+ // The primary address prefix.
+ PrimaryPeerAddressPrefix *string `pulumi:"primaryPeerAddressPrefix"`
+ // The reference to the RouteFilter resource.
+ RouteFilter *SubResourceResponse `pulumi:"routeFilter"`
+ // The secondary address prefix.
+ SecondaryPeerAddressPrefix *string `pulumi:"secondaryPeerAddressPrefix"`
+ // The state of peering.
+ State *string `pulumi:"state"`
+}
+
+// Contains IPv6 peering config.
+type Ipv6ExpressRouteCircuitPeeringConfigResponseOutput struct{ *pulumi.OutputState }
+
+func (Ipv6ExpressRouteCircuitPeeringConfigResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*Ipv6ExpressRouteCircuitPeeringConfigResponse)(nil)).Elem()
+}
+
+func (o Ipv6ExpressRouteCircuitPeeringConfigResponseOutput) ToIpv6ExpressRouteCircuitPeeringConfigResponseOutput() Ipv6ExpressRouteCircuitPeeringConfigResponseOutput {
+ return o
+}
+
+func (o Ipv6ExpressRouteCircuitPeeringConfigResponseOutput) ToIpv6ExpressRouteCircuitPeeringConfigResponseOutputWithContext(ctx context.Context) Ipv6ExpressRouteCircuitPeeringConfigResponseOutput {
+ return o
+}
+
+// The Microsoft peering configuration.
+func (o Ipv6ExpressRouteCircuitPeeringConfigResponseOutput) MicrosoftPeeringConfig() ExpressRouteCircuitPeeringConfigResponsePtrOutput {
+ return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfigResponse) *ExpressRouteCircuitPeeringConfigResponse {
+ return v.MicrosoftPeeringConfig
+ }).(ExpressRouteCircuitPeeringConfigResponsePtrOutput)
+}
+
+// The primary address prefix.
+func (o Ipv6ExpressRouteCircuitPeeringConfigResponseOutput) PrimaryPeerAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfigResponse) *string { return v.PrimaryPeerAddressPrefix }).(pulumi.StringPtrOutput)
+}
+
+// The reference to the RouteFilter resource.
+func (o Ipv6ExpressRouteCircuitPeeringConfigResponseOutput) RouteFilter() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfigResponse) *SubResourceResponse { return v.RouteFilter }).(SubResourceResponsePtrOutput)
+}
+
+// The secondary address prefix.
+func (o Ipv6ExpressRouteCircuitPeeringConfigResponseOutput) SecondaryPeerAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfigResponse) *string { return v.SecondaryPeerAddressPrefix }).(pulumi.StringPtrOutput)
+}
+
+// The state of peering.
+func (o Ipv6ExpressRouteCircuitPeeringConfigResponseOutput) State() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfigResponse) *string { return v.State }).(pulumi.StringPtrOutput)
+}
+
+type Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**Ipv6ExpressRouteCircuitPeeringConfigResponse)(nil)).Elem()
+}
+
+func (o Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) ToIpv6ExpressRouteCircuitPeeringConfigResponsePtrOutput() Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput {
+ return o
+}
+
+func (o Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) ToIpv6ExpressRouteCircuitPeeringConfigResponsePtrOutputWithContext(ctx context.Context) Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput {
+ return o
+}
+
+func (o Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) Elem() Ipv6ExpressRouteCircuitPeeringConfigResponseOutput {
+ return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfigResponse) Ipv6ExpressRouteCircuitPeeringConfigResponse {
+ if v != nil {
+ return *v
+ }
+ var ret Ipv6ExpressRouteCircuitPeeringConfigResponse
+ return ret
+ }).(Ipv6ExpressRouteCircuitPeeringConfigResponseOutput)
+}
+
+// The Microsoft peering configuration.
+func (o Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) MicrosoftPeeringConfig() ExpressRouteCircuitPeeringConfigResponsePtrOutput {
+ return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfigResponse) *ExpressRouteCircuitPeeringConfigResponse {
+ if v == nil {
+ return nil
+ }
+ return v.MicrosoftPeeringConfig
+ }).(ExpressRouteCircuitPeeringConfigResponsePtrOutput)
+}
+
+// The primary address prefix.
+func (o Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) PrimaryPeerAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfigResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrimaryPeerAddressPrefix
+ }).(pulumi.StringPtrOutput)
+}
+
+// The reference to the RouteFilter resource.
+func (o Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) RouteFilter() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfigResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.RouteFilter
+ }).(SubResourceResponsePtrOutput)
+}
+
+// The secondary address prefix.
+func (o Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) SecondaryPeerAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfigResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.SecondaryPeerAddressPrefix
+ }).(pulumi.StringPtrOutput)
+}
+
+// The state of peering.
+func (o Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) State() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfigResponse) *string {
if v == nil {
return nil
}
- return &v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+ return v.State
+ }).(pulumi.StringPtrOutput)
+}
+
+// Load balancer backend addresses.
+type LoadBalancerBackendAddress struct {
+ // A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.
+ AdminState *string `pulumi:"adminState"`
+ // IP Address belonging to the referenced virtual network.
+ IpAddress *string `pulumi:"ipAddress"`
+ // Reference to the frontend ip address configuration defined in regional loadbalancer.
+ LoadBalancerFrontendIPConfiguration *SubResource `pulumi:"loadBalancerFrontendIPConfiguration"`
+ // Name of the backend address.
+ Name *string `pulumi:"name"`
+ // Reference to an existing subnet.
+ Subnet *SubResource `pulumi:"subnet"`
+ // Reference to an existing virtual network.
+ VirtualNetwork *SubResource `pulumi:"virtualNetwork"`
+}
+
+// LoadBalancerBackendAddressInput is an input type that accepts LoadBalancerBackendAddressArgs and LoadBalancerBackendAddressOutput values.
+// You can construct a concrete instance of `LoadBalancerBackendAddressInput` via:
+//
+// LoadBalancerBackendAddressArgs{...}
+type LoadBalancerBackendAddressInput interface {
+ pulumi.Input
+
+ ToLoadBalancerBackendAddressOutput() LoadBalancerBackendAddressOutput
+ ToLoadBalancerBackendAddressOutputWithContext(context.Context) LoadBalancerBackendAddressOutput
+}
+
+// Load balancer backend addresses.
+type LoadBalancerBackendAddressArgs struct {
+ // A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.
+ AdminState pulumi.StringPtrInput `pulumi:"adminState"`
+ // IP Address belonging to the referenced virtual network.
+ IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
+ // Reference to the frontend ip address configuration defined in regional loadbalancer.
+ LoadBalancerFrontendIPConfiguration SubResourcePtrInput `pulumi:"loadBalancerFrontendIPConfiguration"`
+ // Name of the backend address.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Reference to an existing subnet.
+ Subnet SubResourcePtrInput `pulumi:"subnet"`
+ // Reference to an existing virtual network.
+ VirtualNetwork SubResourcePtrInput `pulumi:"virtualNetwork"`
+}
+
+func (LoadBalancerBackendAddressArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*LoadBalancerBackendAddress)(nil)).Elem()
+}
+
+func (i LoadBalancerBackendAddressArgs) ToLoadBalancerBackendAddressOutput() LoadBalancerBackendAddressOutput {
+ return i.ToLoadBalancerBackendAddressOutputWithContext(context.Background())
+}
+
+func (i LoadBalancerBackendAddressArgs) ToLoadBalancerBackendAddressOutputWithContext(ctx context.Context) LoadBalancerBackendAddressOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerBackendAddressOutput)
+}
+
+// LoadBalancerBackendAddressArrayInput is an input type that accepts LoadBalancerBackendAddressArray and LoadBalancerBackendAddressArrayOutput values.
+// You can construct a concrete instance of `LoadBalancerBackendAddressArrayInput` via:
+//
+// LoadBalancerBackendAddressArray{ LoadBalancerBackendAddressArgs{...} }
+type LoadBalancerBackendAddressArrayInput interface {
+ pulumi.Input
+
+ ToLoadBalancerBackendAddressArrayOutput() LoadBalancerBackendAddressArrayOutput
+ ToLoadBalancerBackendAddressArrayOutputWithContext(context.Context) LoadBalancerBackendAddressArrayOutput
+}
+
+type LoadBalancerBackendAddressArray []LoadBalancerBackendAddressInput
+
+func (LoadBalancerBackendAddressArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]LoadBalancerBackendAddress)(nil)).Elem()
+}
+
+func (i LoadBalancerBackendAddressArray) ToLoadBalancerBackendAddressArrayOutput() LoadBalancerBackendAddressArrayOutput {
+ return i.ToLoadBalancerBackendAddressArrayOutputWithContext(context.Background())
+}
+
+func (i LoadBalancerBackendAddressArray) ToLoadBalancerBackendAddressArrayOutputWithContext(ctx context.Context) LoadBalancerBackendAddressArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerBackendAddressArrayOutput)
+}
+
+// Load balancer backend addresses.
+type LoadBalancerBackendAddressOutput struct{ *pulumi.OutputState }
+
+func (LoadBalancerBackendAddressOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*LoadBalancerBackendAddress)(nil)).Elem()
+}
+
+func (o LoadBalancerBackendAddressOutput) ToLoadBalancerBackendAddressOutput() LoadBalancerBackendAddressOutput {
+ return o
+}
+
+func (o LoadBalancerBackendAddressOutput) ToLoadBalancerBackendAddressOutputWithContext(ctx context.Context) LoadBalancerBackendAddressOutput {
+ return o
+}
+
+// A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.
+func (o LoadBalancerBackendAddressOutput) AdminState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LoadBalancerBackendAddress) *string { return v.AdminState }).(pulumi.StringPtrOutput)
+}
+
+// IP Address belonging to the referenced virtual network.
+func (o LoadBalancerBackendAddressOutput) IpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LoadBalancerBackendAddress) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
+}
+
+// Reference to the frontend ip address configuration defined in regional loadbalancer.
+func (o LoadBalancerBackendAddressOutput) LoadBalancerFrontendIPConfiguration() SubResourcePtrOutput {
+ return o.ApplyT(func(v LoadBalancerBackendAddress) *SubResource { return v.LoadBalancerFrontendIPConfiguration }).(SubResourcePtrOutput)
+}
+
+// Name of the backend address.
+func (o LoadBalancerBackendAddressOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LoadBalancerBackendAddress) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
+
+// Reference to an existing subnet.
+func (o LoadBalancerBackendAddressOutput) Subnet() SubResourcePtrOutput {
+ return o.ApplyT(func(v LoadBalancerBackendAddress) *SubResource { return v.Subnet }).(SubResourcePtrOutput)
+}
+
+// Reference to an existing virtual network.
+func (o LoadBalancerBackendAddressOutput) VirtualNetwork() SubResourcePtrOutput {
+ return o.ApplyT(func(v LoadBalancerBackendAddress) *SubResource { return v.VirtualNetwork }).(SubResourcePtrOutput)
+}
+
+type LoadBalancerBackendAddressArrayOutput struct{ *pulumi.OutputState }
+
+func (LoadBalancerBackendAddressArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]LoadBalancerBackendAddress)(nil)).Elem()
+}
+
+func (o LoadBalancerBackendAddressArrayOutput) ToLoadBalancerBackendAddressArrayOutput() LoadBalancerBackendAddressArrayOutput {
+ return o
+}
+
+func (o LoadBalancerBackendAddressArrayOutput) ToLoadBalancerBackendAddressArrayOutputWithContext(ctx context.Context) LoadBalancerBackendAddressArrayOutput {
+ return o
+}
+
+func (o LoadBalancerBackendAddressArrayOutput) Index(i pulumi.IntInput) LoadBalancerBackendAddressOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerBackendAddress {
+ return vs[0].([]LoadBalancerBackendAddress)[vs[1].(int)]
+ }).(LoadBalancerBackendAddressOutput)
+}
+
+// Load balancer backend addresses.
+type LoadBalancerBackendAddressResponse struct {
+ // A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.
+ AdminState *string `pulumi:"adminState"`
+ // Collection of inbound NAT rule port mappings.
+ InboundNatRulesPortMapping []NatRulePortMappingResponse `pulumi:"inboundNatRulesPortMapping"`
+ // IP Address belonging to the referenced virtual network.
+ IpAddress *string `pulumi:"ipAddress"`
+ // Reference to the frontend ip address configuration defined in regional loadbalancer.
+ LoadBalancerFrontendIPConfiguration *SubResourceResponse `pulumi:"loadBalancerFrontendIPConfiguration"`
+ // Name of the backend address.
+ Name *string `pulumi:"name"`
+ // Reference to IP address defined in network interfaces.
+ NetworkInterfaceIPConfiguration SubResourceResponse `pulumi:"networkInterfaceIPConfiguration"`
+ // Reference to an existing subnet.
+ Subnet *SubResourceResponse `pulumi:"subnet"`
+ // Reference to an existing virtual network.
+ VirtualNetwork *SubResourceResponse `pulumi:"virtualNetwork"`
+}
+
+// Load balancer backend addresses.
+type LoadBalancerBackendAddressResponseOutput struct{ *pulumi.OutputState }
+
+func (LoadBalancerBackendAddressResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*LoadBalancerBackendAddressResponse)(nil)).Elem()
+}
+
+func (o LoadBalancerBackendAddressResponseOutput) ToLoadBalancerBackendAddressResponseOutput() LoadBalancerBackendAddressResponseOutput {
+ return o
+}
+
+func (o LoadBalancerBackendAddressResponseOutput) ToLoadBalancerBackendAddressResponseOutputWithContext(ctx context.Context) LoadBalancerBackendAddressResponseOutput {
+ return o
+}
+
+// A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.
+func (o LoadBalancerBackendAddressResponseOutput) AdminState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LoadBalancerBackendAddressResponse) *string { return v.AdminState }).(pulumi.StringPtrOutput)
+}
+
+// Collection of inbound NAT rule port mappings.
+func (o LoadBalancerBackendAddressResponseOutput) InboundNatRulesPortMapping() NatRulePortMappingResponseArrayOutput {
+ return o.ApplyT(func(v LoadBalancerBackendAddressResponse) []NatRulePortMappingResponse {
+ return v.InboundNatRulesPortMapping
+ }).(NatRulePortMappingResponseArrayOutput)
+}
+
+// IP Address belonging to the referenced virtual network.
+func (o LoadBalancerBackendAddressResponseOutput) IpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LoadBalancerBackendAddressResponse) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
+}
+
+// Reference to the frontend ip address configuration defined in regional loadbalancer.
+func (o LoadBalancerBackendAddressResponseOutput) LoadBalancerFrontendIPConfiguration() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v LoadBalancerBackendAddressResponse) *SubResourceResponse {
+ return v.LoadBalancerFrontendIPConfiguration
+ }).(SubResourceResponsePtrOutput)
+}
+
+// Name of the backend address.
+func (o LoadBalancerBackendAddressResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LoadBalancerBackendAddressResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
+
+// Reference to IP address defined in network interfaces.
+func (o LoadBalancerBackendAddressResponseOutput) NetworkInterfaceIPConfiguration() SubResourceResponseOutput {
+ return o.ApplyT(func(v LoadBalancerBackendAddressResponse) SubResourceResponse {
+ return v.NetworkInterfaceIPConfiguration
+ }).(SubResourceResponseOutput)
+}
+
+// Reference to an existing subnet.
+func (o LoadBalancerBackendAddressResponseOutput) Subnet() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v LoadBalancerBackendAddressResponse) *SubResourceResponse { return v.Subnet }).(SubResourceResponsePtrOutput)
+}
+
+// Reference to an existing virtual network.
+func (o LoadBalancerBackendAddressResponseOutput) VirtualNetwork() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v LoadBalancerBackendAddressResponse) *SubResourceResponse { return v.VirtualNetwork }).(SubResourceResponsePtrOutput)
+}
+
+type LoadBalancerBackendAddressResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (LoadBalancerBackendAddressResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]LoadBalancerBackendAddressResponse)(nil)).Elem()
+}
+
+func (o LoadBalancerBackendAddressResponseArrayOutput) ToLoadBalancerBackendAddressResponseArrayOutput() LoadBalancerBackendAddressResponseArrayOutput {
+ return o
+}
+
+func (o LoadBalancerBackendAddressResponseArrayOutput) ToLoadBalancerBackendAddressResponseArrayOutputWithContext(ctx context.Context) LoadBalancerBackendAddressResponseArrayOutput {
+ return o
+}
+
+func (o LoadBalancerBackendAddressResponseArrayOutput) Index(i pulumi.IntInput) LoadBalancerBackendAddressResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerBackendAddressResponse {
+ return vs[0].([]LoadBalancerBackendAddressResponse)[vs[1].(int)]
+ }).(LoadBalancerBackendAddressResponseOutput)
+}
+
+// SKU of a load balancer.
+type LoadBalancerSku struct {
+ // Name of a load balancer SKU.
+ Name *string `pulumi:"name"`
+ // Tier of a load balancer SKU.
+ Tier *string `pulumi:"tier"`
+}
+
+// LoadBalancerSkuInput is an input type that accepts LoadBalancerSkuArgs and LoadBalancerSkuOutput values.
+// You can construct a concrete instance of `LoadBalancerSkuInput` via:
+//
+// LoadBalancerSkuArgs{...}
+type LoadBalancerSkuInput interface {
+ pulumi.Input
+
+ ToLoadBalancerSkuOutput() LoadBalancerSkuOutput
+ ToLoadBalancerSkuOutputWithContext(context.Context) LoadBalancerSkuOutput
+}
+
+// SKU of a load balancer.
+type LoadBalancerSkuArgs struct {
+ // Name of a load balancer SKU.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Tier of a load balancer SKU.
+ Tier pulumi.StringPtrInput `pulumi:"tier"`
+}
+
+func (LoadBalancerSkuArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*LoadBalancerSku)(nil)).Elem()
+}
+
+func (i LoadBalancerSkuArgs) ToLoadBalancerSkuOutput() LoadBalancerSkuOutput {
+ return i.ToLoadBalancerSkuOutputWithContext(context.Background())
+}
+
+func (i LoadBalancerSkuArgs) ToLoadBalancerSkuOutputWithContext(ctx context.Context) LoadBalancerSkuOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerSkuOutput)
+}
+
+func (i LoadBalancerSkuArgs) ToLoadBalancerSkuPtrOutput() LoadBalancerSkuPtrOutput {
+ return i.ToLoadBalancerSkuPtrOutputWithContext(context.Background())
+}
+
+func (i LoadBalancerSkuArgs) ToLoadBalancerSkuPtrOutputWithContext(ctx context.Context) LoadBalancerSkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerSkuOutput).ToLoadBalancerSkuPtrOutputWithContext(ctx)
+}
+
+// LoadBalancerSkuPtrInput is an input type that accepts LoadBalancerSkuArgs, LoadBalancerSkuPtr and LoadBalancerSkuPtrOutput values.
+// You can construct a concrete instance of `LoadBalancerSkuPtrInput` via:
+//
+// LoadBalancerSkuArgs{...}
+//
+// or:
+//
+// nil
+type LoadBalancerSkuPtrInput interface {
+ pulumi.Input
+
+ ToLoadBalancerSkuPtrOutput() LoadBalancerSkuPtrOutput
+ ToLoadBalancerSkuPtrOutputWithContext(context.Context) LoadBalancerSkuPtrOutput
+}
+
+type loadBalancerSkuPtrType LoadBalancerSkuArgs
+
+func LoadBalancerSkuPtr(v *LoadBalancerSkuArgs) LoadBalancerSkuPtrInput {
+ return (*loadBalancerSkuPtrType)(v)
+}
+
+func (*loadBalancerSkuPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**LoadBalancerSku)(nil)).Elem()
+}
+
+func (i *loadBalancerSkuPtrType) ToLoadBalancerSkuPtrOutput() LoadBalancerSkuPtrOutput {
+ return i.ToLoadBalancerSkuPtrOutputWithContext(context.Background())
+}
+
+func (i *loadBalancerSkuPtrType) ToLoadBalancerSkuPtrOutputWithContext(ctx context.Context) LoadBalancerSkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerSkuPtrOutput)
+}
+
+// SKU of a load balancer.
+type LoadBalancerSkuOutput struct{ *pulumi.OutputState }
+
+func (LoadBalancerSkuOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*LoadBalancerSku)(nil)).Elem()
+}
+
+func (o LoadBalancerSkuOutput) ToLoadBalancerSkuOutput() LoadBalancerSkuOutput {
+ return o
+}
+
+func (o LoadBalancerSkuOutput) ToLoadBalancerSkuOutputWithContext(ctx context.Context) LoadBalancerSkuOutput {
+ return o
+}
+
+func (o LoadBalancerSkuOutput) ToLoadBalancerSkuPtrOutput() LoadBalancerSkuPtrOutput {
+ return o.ToLoadBalancerSkuPtrOutputWithContext(context.Background())
+}
+
+func (o LoadBalancerSkuOutput) ToLoadBalancerSkuPtrOutputWithContext(ctx context.Context) LoadBalancerSkuPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v LoadBalancerSku) *LoadBalancerSku {
+ return &v
+ }).(LoadBalancerSkuPtrOutput)
+}
+
+// Name of a load balancer SKU.
+func (o LoadBalancerSkuOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LoadBalancerSku) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
+
+// Tier of a load balancer SKU.
+func (o LoadBalancerSkuOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LoadBalancerSku) *string { return v.Tier }).(pulumi.StringPtrOutput)
+}
+
+type LoadBalancerSkuPtrOutput struct{ *pulumi.OutputState }
+
+func (LoadBalancerSkuPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**LoadBalancerSku)(nil)).Elem()
+}
+
+func (o LoadBalancerSkuPtrOutput) ToLoadBalancerSkuPtrOutput() LoadBalancerSkuPtrOutput {
+ return o
+}
+
+func (o LoadBalancerSkuPtrOutput) ToLoadBalancerSkuPtrOutputWithContext(ctx context.Context) LoadBalancerSkuPtrOutput {
+ return o
+}
+
+func (o LoadBalancerSkuPtrOutput) Elem() LoadBalancerSkuOutput {
+ return o.ApplyT(func(v *LoadBalancerSku) LoadBalancerSku {
+ if v != nil {
+ return *v
+ }
+ var ret LoadBalancerSku
+ return ret
+ }).(LoadBalancerSkuOutput)
}
-// The reference to the Public IP resource.
-func (o FrontendIPConfigurationResponsePtrOutput) PublicIPAddress() PublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) *PublicIPAddressResponse {
+// Name of a load balancer SKU.
+func (o LoadBalancerSkuPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LoadBalancerSku) *string {
if v == nil {
return nil
}
- return v.PublicIPAddress
- }).(PublicIPAddressResponsePtrOutput)
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// The reference to the Public IP Prefix resource.
-func (o FrontendIPConfigurationResponsePtrOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) *SubResourceResponse {
+// Tier of a load balancer SKU.
+func (o LoadBalancerSkuPtrOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LoadBalancerSku) *string {
if v == nil {
return nil
}
- return v.PublicIPPrefix
- }).(SubResourceResponsePtrOutput)
+ return v.Tier
+ }).(pulumi.StringPtrOutput)
}
-// The reference to the subnet resource.
-func (o FrontendIPConfigurationResponsePtrOutput) Subnet() SubnetResponsePtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) *SubnetResponse {
- if v == nil {
- return nil
+// SKU of a load balancer.
+type LoadBalancerSkuResponse struct {
+ // Name of a load balancer SKU.
+ Name *string `pulumi:"name"`
+ // Tier of a load balancer SKU.
+ Tier *string `pulumi:"tier"`
+}
+
+// SKU of a load balancer.
+type LoadBalancerSkuResponseOutput struct{ *pulumi.OutputState }
+
+func (LoadBalancerSkuResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*LoadBalancerSkuResponse)(nil)).Elem()
+}
+
+func (o LoadBalancerSkuResponseOutput) ToLoadBalancerSkuResponseOutput() LoadBalancerSkuResponseOutput {
+ return o
+}
+
+func (o LoadBalancerSkuResponseOutput) ToLoadBalancerSkuResponseOutputWithContext(ctx context.Context) LoadBalancerSkuResponseOutput {
+ return o
+}
+
+// Name of a load balancer SKU.
+func (o LoadBalancerSkuResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LoadBalancerSkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
+
+// Tier of a load balancer SKU.
+func (o LoadBalancerSkuResponseOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LoadBalancerSkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput)
+}
+
+type LoadBalancerSkuResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (LoadBalancerSkuResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**LoadBalancerSkuResponse)(nil)).Elem()
+}
+
+func (o LoadBalancerSkuResponsePtrOutput) ToLoadBalancerSkuResponsePtrOutput() LoadBalancerSkuResponsePtrOutput {
+ return o
+}
+
+func (o LoadBalancerSkuResponsePtrOutput) ToLoadBalancerSkuResponsePtrOutputWithContext(ctx context.Context) LoadBalancerSkuResponsePtrOutput {
+ return o
+}
+
+func (o LoadBalancerSkuResponsePtrOutput) Elem() LoadBalancerSkuResponseOutput {
+ return o.ApplyT(func(v *LoadBalancerSkuResponse) LoadBalancerSkuResponse {
+ if v != nil {
+ return *v
}
- return v.Subnet
- }).(SubnetResponsePtrOutput)
+ var ret LoadBalancerSkuResponse
+ return ret
+ }).(LoadBalancerSkuResponseOutput)
}
-// Type of the resource.
-func (o FrontendIPConfigurationResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) *string {
+// Name of a load balancer SKU.
+func (o LoadBalancerSkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LoadBalancerSkuResponse) *string {
if v == nil {
return nil
}
- return &v.Type
+ return v.Name
}).(pulumi.StringPtrOutput)
}
-// A list of availability zones denoting the IP allocated for the resource needs to come from.
-func (o FrontendIPConfigurationResponsePtrOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponse) []string {
+// Tier of a load balancer SKU.
+func (o LoadBalancerSkuResponsePtrOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LoadBalancerSkuResponse) *string {
if v == nil {
return nil
}
- return v.Zones
- }).(pulumi.StringArrayOutput)
+ return v.Tier
+ }).(pulumi.StringPtrOutput)
}
-type FrontendIPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+// A load balancing rule for a load balancer.
+type LoadBalancingRule struct {
+ // A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs.
+ BackendAddressPool *SubResource `pulumi:"backendAddressPool"`
+ // An array of references to pool of DIPs.
+ BackendAddressPools []SubResource `pulumi:"backendAddressPools"`
+ // The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port".
+ BackendPort *int `pulumi:"backendPort"`
+ // Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.
+ DisableOutboundSnat *bool `pulumi:"disableOutboundSnat"`
+ // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+ EnableFloatingIP *bool `pulumi:"enableFloatingIP"`
+ // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+ EnableTcpReset *bool `pulumi:"enableTcpReset"`
+ // A reference to frontend IP addresses.
+ FrontendIPConfiguration *SubResource `pulumi:"frontendIPConfiguration"`
+ // The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port".
+ FrontendPort int `pulumi:"frontendPort"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // The load distribution policy for this rule.
+ LoadDistribution *string `pulumi:"loadDistribution"`
+ // The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The reference to the load balancer probe used by the load balancing rule.
+ Probe *SubResource `pulumi:"probe"`
+ // The reference to the transport protocol used by the load balancing rule.
+ Protocol string `pulumi:"protocol"`
+}
-func (FrontendIPConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]FrontendIPConfigurationResponse)(nil)).Elem()
+// LoadBalancingRuleInput is an input type that accepts LoadBalancingRuleArgs and LoadBalancingRuleOutput values.
+// You can construct a concrete instance of `LoadBalancingRuleInput` via:
+//
+// LoadBalancingRuleArgs{...}
+type LoadBalancingRuleInput interface {
+ pulumi.Input
+
+ ToLoadBalancingRuleOutput() LoadBalancingRuleOutput
+ ToLoadBalancingRuleOutputWithContext(context.Context) LoadBalancingRuleOutput
}
-func (o FrontendIPConfigurationResponseArrayOutput) ToFrontendIPConfigurationResponseArrayOutput() FrontendIPConfigurationResponseArrayOutput {
+// A load balancing rule for a load balancer.
+type LoadBalancingRuleArgs struct {
+ // A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs.
+ BackendAddressPool SubResourcePtrInput `pulumi:"backendAddressPool"`
+ // An array of references to pool of DIPs.
+ BackendAddressPools SubResourceArrayInput `pulumi:"backendAddressPools"`
+ // The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port".
+ BackendPort pulumi.IntPtrInput `pulumi:"backendPort"`
+ // Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.
+ DisableOutboundSnat pulumi.BoolPtrInput `pulumi:"disableOutboundSnat"`
+ // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+ EnableFloatingIP pulumi.BoolPtrInput `pulumi:"enableFloatingIP"`
+ // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+ EnableTcpReset pulumi.BoolPtrInput `pulumi:"enableTcpReset"`
+ // A reference to frontend IP addresses.
+ FrontendIPConfiguration SubResourcePtrInput `pulumi:"frontendIPConfiguration"`
+ // The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port".
+ FrontendPort pulumi.IntInput `pulumi:"frontendPort"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+ IdleTimeoutInMinutes pulumi.IntPtrInput `pulumi:"idleTimeoutInMinutes"`
+ // The load distribution policy for this rule.
+ LoadDistribution pulumi.StringPtrInput `pulumi:"loadDistribution"`
+ // The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The reference to the load balancer probe used by the load balancing rule.
+ Probe SubResourcePtrInput `pulumi:"probe"`
+ // The reference to the transport protocol used by the load balancing rule.
+ Protocol pulumi.StringInput `pulumi:"protocol"`
+}
+
+func (LoadBalancingRuleArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*LoadBalancingRule)(nil)).Elem()
+}
+
+func (i LoadBalancingRuleArgs) ToLoadBalancingRuleOutput() LoadBalancingRuleOutput {
+ return i.ToLoadBalancingRuleOutputWithContext(context.Background())
+}
+
+func (i LoadBalancingRuleArgs) ToLoadBalancingRuleOutputWithContext(ctx context.Context) LoadBalancingRuleOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(LoadBalancingRuleOutput)
+}
+
+// LoadBalancingRuleArrayInput is an input type that accepts LoadBalancingRuleArray and LoadBalancingRuleArrayOutput values.
+// You can construct a concrete instance of `LoadBalancingRuleArrayInput` via:
+//
+// LoadBalancingRuleArray{ LoadBalancingRuleArgs{...} }
+type LoadBalancingRuleArrayInput interface {
+ pulumi.Input
+
+ ToLoadBalancingRuleArrayOutput() LoadBalancingRuleArrayOutput
+ ToLoadBalancingRuleArrayOutputWithContext(context.Context) LoadBalancingRuleArrayOutput
+}
+
+type LoadBalancingRuleArray []LoadBalancingRuleInput
+
+func (LoadBalancingRuleArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]LoadBalancingRule)(nil)).Elem()
+}
+
+func (i LoadBalancingRuleArray) ToLoadBalancingRuleArrayOutput() LoadBalancingRuleArrayOutput {
+ return i.ToLoadBalancingRuleArrayOutputWithContext(context.Background())
+}
+
+func (i LoadBalancingRuleArray) ToLoadBalancingRuleArrayOutputWithContext(ctx context.Context) LoadBalancingRuleArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(LoadBalancingRuleArrayOutput)
+}
+
+// A load balancing rule for a load balancer.
+type LoadBalancingRuleOutput struct{ *pulumi.OutputState }
+
+func (LoadBalancingRuleOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*LoadBalancingRule)(nil)).Elem()
+}
+
+func (o LoadBalancingRuleOutput) ToLoadBalancingRuleOutput() LoadBalancingRuleOutput {
return o
}
-func (o FrontendIPConfigurationResponseArrayOutput) ToFrontendIPConfigurationResponseArrayOutputWithContext(ctx context.Context) FrontendIPConfigurationResponseArrayOutput {
+func (o LoadBalancingRuleOutput) ToLoadBalancingRuleOutputWithContext(ctx context.Context) LoadBalancingRuleOutput {
return o
}
-func (o FrontendIPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) FrontendIPConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) FrontendIPConfigurationResponse {
- return vs[0].([]FrontendIPConfigurationResponse)[vs[1].(int)]
- }).(FrontendIPConfigurationResponseOutput)
+// A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs.
+func (o LoadBalancingRuleOutput) BackendAddressPool() SubResourcePtrOutput {
+ return o.ApplyT(func(v LoadBalancingRule) *SubResource { return v.BackendAddressPool }).(SubResourcePtrOutput)
}
-// Frontend IP address of the load balancer.
-type FrontendIPConfigurationResponseV1 struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Read only. Inbound pools URIs that use this frontend IP.
- InboundNatPools []SubResourceResponse `pulumi:"inboundNatPools"`
- // Read only. Inbound rules URIs that use this frontend IP.
- InboundNatRules []SubResourceResponse `pulumi:"inboundNatRules"`
- // Gets load balancing rules URIs that use this frontend IP.
- LoadBalancingRules []SubResourceResponse `pulumi:"loadBalancingRules"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // Read only. Outbound rules URIs that use this frontend IP.
- OutboundRules []SubResourceResponse `pulumi:"outboundRules"`
- // The private IP address of the IP configuration.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // The Private IP allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState *string `pulumi:"provisioningState"`
- // The reference of the Public IP resource.
- PublicIPAddress *PublicIPAddressResponse `pulumi:"publicIPAddress"`
- // The reference of the Public IP Prefix resource.
- PublicIPPrefix *SubResourceResponse `pulumi:"publicIPPrefix"`
- // The reference of the subnet resource.
- Subnet *SubnetResponse `pulumi:"subnet"`
- // A list of availability zones denoting the IP allocated for the resource needs to come from.
- Zones []string `pulumi:"zones"`
+// An array of references to pool of DIPs.
+func (o LoadBalancingRuleOutput) BackendAddressPools() SubResourceArrayOutput {
+ return o.ApplyT(func(v LoadBalancingRule) []SubResource { return v.BackendAddressPools }).(SubResourceArrayOutput)
}
-// Defaults sets the appropriate defaults for FrontendIPConfigurationResponseV1
-func (val *FrontendIPConfigurationResponseV1) Defaults() *FrontendIPConfigurationResponseV1 {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
+// The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port".
+func (o LoadBalancingRuleOutput) BackendPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v LoadBalancingRule) *int { return v.BackendPort }).(pulumi.IntPtrOutput)
+}
- tmp.Subnet = tmp.Subnet.Defaults()
+// Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.
+func (o LoadBalancingRuleOutput) DisableOutboundSnat() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v LoadBalancingRule) *bool { return v.DisableOutboundSnat }).(pulumi.BoolPtrOutput)
+}
- return &tmp
+// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+func (o LoadBalancingRuleOutput) EnableFloatingIP() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v LoadBalancingRule) *bool { return v.EnableFloatingIP }).(pulumi.BoolPtrOutput)
+}
+
+// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+func (o LoadBalancingRuleOutput) EnableTcpReset() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v LoadBalancingRule) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
+}
+
+// A reference to frontend IP addresses.
+func (o LoadBalancingRuleOutput) FrontendIPConfiguration() SubResourcePtrOutput {
+ return o.ApplyT(func(v LoadBalancingRule) *SubResource { return v.FrontendIPConfiguration }).(SubResourcePtrOutput)
+}
+
+// The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port".
+func (o LoadBalancingRuleOutput) FrontendPort() pulumi.IntOutput {
+ return o.ApplyT(func(v LoadBalancingRule) int { return v.FrontendPort }).(pulumi.IntOutput)
+}
+
+// Resource ID.
+func (o LoadBalancingRuleOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LoadBalancingRule) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
+
+// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+func (o LoadBalancingRuleOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v LoadBalancingRule) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+}
+
+// The load distribution policy for this rule.
+func (o LoadBalancingRuleOutput) LoadDistribution() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LoadBalancingRule) *string { return v.LoadDistribution }).(pulumi.StringPtrOutput)
+}
+
+// The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource.
+func (o LoadBalancingRuleOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LoadBalancingRule) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
+
+// The reference to the load balancer probe used by the load balancing rule.
+func (o LoadBalancingRuleOutput) Probe() SubResourcePtrOutput {
+ return o.ApplyT(func(v LoadBalancingRule) *SubResource { return v.Probe }).(SubResourcePtrOutput)
+}
+
+// The reference to the transport protocol used by the load balancing rule.
+func (o LoadBalancingRuleOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v LoadBalancingRule) string { return v.Protocol }).(pulumi.StringOutput)
+}
+
+type LoadBalancingRuleArrayOutput struct{ *pulumi.OutputState }
+
+func (LoadBalancingRuleArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]LoadBalancingRule)(nil)).Elem()
+}
+
+func (o LoadBalancingRuleArrayOutput) ToLoadBalancingRuleArrayOutput() LoadBalancingRuleArrayOutput {
+ return o
+}
+
+func (o LoadBalancingRuleArrayOutput) ToLoadBalancingRuleArrayOutputWithContext(ctx context.Context) LoadBalancingRuleArrayOutput {
+ return o
+}
+
+func (o LoadBalancingRuleArrayOutput) Index(i pulumi.IntInput) LoadBalancingRuleOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancingRule {
+ return vs[0].([]LoadBalancingRule)[vs[1].(int)]
+ }).(LoadBalancingRuleOutput)
+}
+
+// A load balancing rule for a load balancer.
+type LoadBalancingRuleResponse struct {
+ // A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs.
+ BackendAddressPool *SubResourceResponse `pulumi:"backendAddressPool"`
+ // An array of references to pool of DIPs.
+ BackendAddressPools []SubResourceResponse `pulumi:"backendAddressPools"`
+ // The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port".
+ BackendPort *int `pulumi:"backendPort"`
+ // Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.
+ DisableOutboundSnat *bool `pulumi:"disableOutboundSnat"`
+ // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+ EnableFloatingIP *bool `pulumi:"enableFloatingIP"`
+ // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+ EnableTcpReset *bool `pulumi:"enableTcpReset"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // A reference to frontend IP addresses.
+ FrontendIPConfiguration *SubResourceResponse `pulumi:"frontendIPConfiguration"`
+ // The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port".
+ FrontendPort int `pulumi:"frontendPort"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // The load distribution policy for this rule.
+ LoadDistribution *string `pulumi:"loadDistribution"`
+ // The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The reference to the load balancer probe used by the load balancing rule.
+ Probe *SubResourceResponse `pulumi:"probe"`
+ // The reference to the transport protocol used by the load balancing rule.
+ Protocol string `pulumi:"protocol"`
+ // The provisioning state of the load balancing rule resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Type of the resource.
+ Type string `pulumi:"type"`
}
-// Frontend IP address of the load balancer.
-type FrontendIPConfigurationResponseV1Output struct{ *pulumi.OutputState }
+// A load balancing rule for a load balancer.
+type LoadBalancingRuleResponseOutput struct{ *pulumi.OutputState }
-func (FrontendIPConfigurationResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*FrontendIPConfigurationResponseV1)(nil)).Elem()
+func (LoadBalancingRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*LoadBalancingRuleResponse)(nil)).Elem()
}
-func (o FrontendIPConfigurationResponseV1Output) ToFrontendIPConfigurationResponseV1Output() FrontendIPConfigurationResponseV1Output {
+func (o LoadBalancingRuleResponseOutput) ToLoadBalancingRuleResponseOutput() LoadBalancingRuleResponseOutput {
return o
}
-func (o FrontendIPConfigurationResponseV1Output) ToFrontendIPConfigurationResponseV1OutputWithContext(ctx context.Context) FrontendIPConfigurationResponseV1Output {
+func (o LoadBalancingRuleResponseOutput) ToLoadBalancingRuleResponseOutputWithContext(ctx context.Context) LoadBalancingRuleResponseOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o FrontendIPConfigurationResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
-}
-
-// Resource ID.
-func (o FrontendIPConfigurationResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// Read only. Inbound pools URIs that use this frontend IP.
-func (o FrontendIPConfigurationResponseV1Output) InboundNatPools() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponseV1) []SubResourceResponse { return v.InboundNatPools }).(SubResourceResponseArrayOutput)
+// A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs.
+func (o LoadBalancingRuleResponseOutput) BackendAddressPool() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) *SubResourceResponse { return v.BackendAddressPool }).(SubResourceResponsePtrOutput)
}
-// Read only. Inbound rules URIs that use this frontend IP.
-func (o FrontendIPConfigurationResponseV1Output) InboundNatRules() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponseV1) []SubResourceResponse { return v.InboundNatRules }).(SubResourceResponseArrayOutput)
+// An array of references to pool of DIPs.
+func (o LoadBalancingRuleResponseOutput) BackendAddressPools() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) []SubResourceResponse { return v.BackendAddressPools }).(SubResourceResponseArrayOutput)
}
-// Gets load balancing rules URIs that use this frontend IP.
-func (o FrontendIPConfigurationResponseV1Output) LoadBalancingRules() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponseV1) []SubResourceResponse { return v.LoadBalancingRules }).(SubResourceResponseArrayOutput)
+// The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port".
+func (o LoadBalancingRuleResponseOutput) BackendPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) *int { return v.BackendPort }).(pulumi.IntPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o FrontendIPConfigurationResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.
+func (o LoadBalancingRuleResponseOutput) DisableOutboundSnat() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) *bool { return v.DisableOutboundSnat }).(pulumi.BoolPtrOutput)
}
-// Read only. Outbound rules URIs that use this frontend IP.
-func (o FrontendIPConfigurationResponseV1Output) OutboundRules() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponseV1) []SubResourceResponse { return v.OutboundRules }).(SubResourceResponseArrayOutput)
+// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
+func (o LoadBalancingRuleResponseOutput) EnableFloatingIP() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) *bool { return v.EnableFloatingIP }).(pulumi.BoolPtrOutput)
}
-// The private IP address of the IP configuration.
-func (o FrontendIPConfigurationResponseV1Output) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponseV1) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+func (o LoadBalancingRuleResponseOutput) EnableTcpReset() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
}
-// The Private IP allocation method.
-func (o FrontendIPConfigurationResponseV1Output) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponseV1) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o LoadBalancingRuleResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o FrontendIPConfigurationResponseV1Output) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponseV1) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+// A reference to frontend IP addresses.
+func (o LoadBalancingRuleResponseOutput) FrontendIPConfiguration() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) *SubResourceResponse { return v.FrontendIPConfiguration }).(SubResourceResponsePtrOutput)
}
-// The reference of the Public IP resource.
-func (o FrontendIPConfigurationResponseV1Output) PublicIPAddress() PublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponseV1) *PublicIPAddressResponse { return v.PublicIPAddress }).(PublicIPAddressResponsePtrOutput)
+// The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port".
+func (o LoadBalancingRuleResponseOutput) FrontendPort() pulumi.IntOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) int { return v.FrontendPort }).(pulumi.IntOutput)
}
-// The reference of the Public IP Prefix resource.
-func (o FrontendIPConfigurationResponseV1Output) PublicIPPrefix() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponseV1) *SubResourceResponse { return v.PublicIPPrefix }).(SubResourceResponsePtrOutput)
+// Resource ID.
+func (o LoadBalancingRuleResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The reference of the subnet resource.
-func (o FrontendIPConfigurationResponseV1Output) Subnet() SubnetResponsePtrOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponseV1) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
+// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
+func (o LoadBalancingRuleResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-// A list of availability zones denoting the IP allocated for the resource needs to come from.
-func (o FrontendIPConfigurationResponseV1Output) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v FrontendIPConfigurationResponseV1) []string { return v.Zones }).(pulumi.StringArrayOutput)
+// The load distribution policy for this rule.
+func (o LoadBalancingRuleResponseOutput) LoadDistribution() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) *string { return v.LoadDistribution }).(pulumi.StringPtrOutput)
}
-type FrontendIPConfigurationResponseV1PtrOutput struct{ *pulumi.OutputState }
-
-func (FrontendIPConfigurationResponseV1PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**FrontendIPConfigurationResponseV1)(nil)).Elem()
+// The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource.
+func (o LoadBalancingRuleResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o FrontendIPConfigurationResponseV1PtrOutput) ToFrontendIPConfigurationResponseV1PtrOutput() FrontendIPConfigurationResponseV1PtrOutput {
- return o
+// The reference to the load balancer probe used by the load balancing rule.
+func (o LoadBalancingRuleResponseOutput) Probe() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) *SubResourceResponse { return v.Probe }).(SubResourceResponsePtrOutput)
}
-func (o FrontendIPConfigurationResponseV1PtrOutput) ToFrontendIPConfigurationResponseV1PtrOutputWithContext(ctx context.Context) FrontendIPConfigurationResponseV1PtrOutput {
- return o
+// The reference to the transport protocol used by the load balancing rule.
+func (o LoadBalancingRuleResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) string { return v.Protocol }).(pulumi.StringOutput)
}
-func (o FrontendIPConfigurationResponseV1PtrOutput) Elem() FrontendIPConfigurationResponseV1Output {
- return o.ApplyT(func(v *FrontendIPConfigurationResponseV1) FrontendIPConfigurationResponseV1 {
- if v != nil {
- return *v
- }
- var ret FrontendIPConfigurationResponseV1
- return ret
- }).(FrontendIPConfigurationResponseV1Output)
+// The provisioning state of the load balancing rule resource.
+func (o LoadBalancingRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o FrontendIPConfigurationResponseV1PtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.Etag
- }).(pulumi.StringPtrOutput)
+// Type of the resource.
+func (o LoadBalancingRuleResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v LoadBalancingRuleResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Resource ID.
-func (o FrontendIPConfigurationResponseV1PtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
-}
+type LoadBalancingRuleResponseArrayOutput struct{ *pulumi.OutputState }
-// Read only. Inbound pools URIs that use this frontend IP.
-func (o FrontendIPConfigurationResponseV1PtrOutput) InboundNatPools() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponseV1) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.InboundNatPools
- }).(SubResourceResponseArrayOutput)
+func (LoadBalancingRuleResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]LoadBalancingRuleResponse)(nil)).Elem()
}
-// Read only. Inbound rules URIs that use this frontend IP.
-func (o FrontendIPConfigurationResponseV1PtrOutput) InboundNatRules() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponseV1) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.InboundNatRules
- }).(SubResourceResponseArrayOutput)
+func (o LoadBalancingRuleResponseArrayOutput) ToLoadBalancingRuleResponseArrayOutput() LoadBalancingRuleResponseArrayOutput {
+ return o
}
-// Gets load balancing rules URIs that use this frontend IP.
-func (o FrontendIPConfigurationResponseV1PtrOutput) LoadBalancingRules() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponseV1) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.LoadBalancingRules
- }).(SubResourceResponseArrayOutput)
+func (o LoadBalancingRuleResponseArrayOutput) ToLoadBalancingRuleResponseArrayOutputWithContext(ctx context.Context) LoadBalancingRuleResponseArrayOutput {
+ return o
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o FrontendIPConfigurationResponseV1PtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+func (o LoadBalancingRuleResponseArrayOutput) Index(i pulumi.IntInput) LoadBalancingRuleResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancingRuleResponse {
+ return vs[0].([]LoadBalancingRuleResponse)[vs[1].(int)]
+ }).(LoadBalancingRuleResponseOutput)
}
-// Read only. Outbound rules URIs that use this frontend IP.
-func (o FrontendIPConfigurationResponseV1PtrOutput) OutboundRules() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponseV1) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.OutboundRules
- }).(SubResourceResponseArrayOutput)
+// A common class for general resource information.
+type LocalNetworkGatewayType struct {
+ // Local network gateway's BGP speaker settings.
+ BgpSettings *BgpSettings `pulumi:"bgpSettings"`
+ // FQDN of local network gateway.
+ Fqdn *string `pulumi:"fqdn"`
+ // IP address of local network gateway.
+ GatewayIpAddress *string `pulumi:"gatewayIpAddress"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Local network site address space.
+ LocalNetworkAddressSpace *AddressSpace `pulumi:"localNetworkAddressSpace"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
}
-// The private IP address of the IP configuration.
-func (o FrontendIPConfigurationResponseV1PtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddress
- }).(pulumi.StringPtrOutput)
-}
+// LocalNetworkGatewayTypeInput is an input type that accepts LocalNetworkGatewayTypeArgs and LocalNetworkGatewayTypeOutput values.
+// You can construct a concrete instance of `LocalNetworkGatewayTypeInput` via:
+//
+// LocalNetworkGatewayTypeArgs{...}
+type LocalNetworkGatewayTypeInput interface {
+ pulumi.Input
-// The Private IP allocation method.
-func (o FrontendIPConfigurationResponseV1PtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAllocationMethod
- }).(pulumi.StringPtrOutput)
+ ToLocalNetworkGatewayTypeOutput() LocalNetworkGatewayTypeOutput
+ ToLocalNetworkGatewayTypeOutputWithContext(context.Context) LocalNetworkGatewayTypeOutput
}
-// Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o FrontendIPConfigurationResponseV1PtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+// A common class for general resource information.
+type LocalNetworkGatewayTypeArgs struct {
+ // Local network gateway's BGP speaker settings.
+ BgpSettings BgpSettingsPtrInput `pulumi:"bgpSettings"`
+ // FQDN of local network gateway.
+ Fqdn pulumi.StringPtrInput `pulumi:"fqdn"`
+ // IP address of local network gateway.
+ GatewayIpAddress pulumi.StringPtrInput `pulumi:"gatewayIpAddress"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Local network site address space.
+ LocalNetworkAddressSpace AddressSpacePtrInput `pulumi:"localNetworkAddressSpace"`
+ // Resource location.
+ Location pulumi.StringPtrInput `pulumi:"location"`
+ // Resource tags.
+ Tags pulumi.StringMapInput `pulumi:"tags"`
}
-// The reference of the Public IP resource.
-func (o FrontendIPConfigurationResponseV1PtrOutput) PublicIPAddress() PublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponseV1) *PublicIPAddressResponse {
- if v == nil {
- return nil
- }
- return v.PublicIPAddress
- }).(PublicIPAddressResponsePtrOutput)
+func (LocalNetworkGatewayTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*LocalNetworkGatewayType)(nil)).Elem()
}
-// The reference of the Public IP Prefix resource.
-func (o FrontendIPConfigurationResponseV1PtrOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponseV1) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.PublicIPPrefix
- }).(SubResourceResponsePtrOutput)
+func (i LocalNetworkGatewayTypeArgs) ToLocalNetworkGatewayTypeOutput() LocalNetworkGatewayTypeOutput {
+ return i.ToLocalNetworkGatewayTypeOutputWithContext(context.Background())
}
-// The reference of the subnet resource.
-func (o FrontendIPConfigurationResponseV1PtrOutput) Subnet() SubnetResponsePtrOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponseV1) *SubnetResponse {
- if v == nil {
- return nil
- }
- return v.Subnet
- }).(SubnetResponsePtrOutput)
+func (i LocalNetworkGatewayTypeArgs) ToLocalNetworkGatewayTypeOutputWithContext(ctx context.Context) LocalNetworkGatewayTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(LocalNetworkGatewayTypeOutput)
}
-// A list of availability zones denoting the IP allocated for the resource needs to come from.
-func (o FrontendIPConfigurationResponseV1PtrOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *FrontendIPConfigurationResponseV1) []string {
- if v == nil {
- return nil
- }
- return v.Zones
- }).(pulumi.StringArrayOutput)
+func (i LocalNetworkGatewayTypeArgs) ToLocalNetworkGatewayTypePtrOutput() LocalNetworkGatewayTypePtrOutput {
+ return i.ToLocalNetworkGatewayTypePtrOutputWithContext(context.Background())
}
-// GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection.
-type GatewayCustomBgpIpAddressIpConfiguration struct {
- // The custom BgpPeeringAddress which belongs to IpconfigurationId.
- CustomBgpIpAddress string `pulumi:"customBgpIpAddress"`
- // The IpconfigurationId of ipconfiguration which belongs to gateway.
- IpConfigurationId string `pulumi:"ipConfigurationId"`
+func (i LocalNetworkGatewayTypeArgs) ToLocalNetworkGatewayTypePtrOutputWithContext(ctx context.Context) LocalNetworkGatewayTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(LocalNetworkGatewayTypeOutput).ToLocalNetworkGatewayTypePtrOutputWithContext(ctx)
}
-// GatewayCustomBgpIpAddressIpConfigurationInput is an input type that accepts GatewayCustomBgpIpAddressIpConfigurationArgs and GatewayCustomBgpIpAddressIpConfigurationOutput values.
-// You can construct a concrete instance of `GatewayCustomBgpIpAddressIpConfigurationInput` via:
+// LocalNetworkGatewayTypePtrInput is an input type that accepts LocalNetworkGatewayTypeArgs, LocalNetworkGatewayTypePtr and LocalNetworkGatewayTypePtrOutput values.
+// You can construct a concrete instance of `LocalNetworkGatewayTypePtrInput` via:
//
-// GatewayCustomBgpIpAddressIpConfigurationArgs{...}
-type GatewayCustomBgpIpAddressIpConfigurationInput interface {
+// LocalNetworkGatewayTypeArgs{...}
+//
+// or:
+//
+// nil
+type LocalNetworkGatewayTypePtrInput interface {
pulumi.Input
- ToGatewayCustomBgpIpAddressIpConfigurationOutput() GatewayCustomBgpIpAddressIpConfigurationOutput
- ToGatewayCustomBgpIpAddressIpConfigurationOutputWithContext(context.Context) GatewayCustomBgpIpAddressIpConfigurationOutput
-}
-
-// GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection.
-type GatewayCustomBgpIpAddressIpConfigurationArgs struct {
- // The custom BgpPeeringAddress which belongs to IpconfigurationId.
- CustomBgpIpAddress pulumi.StringInput `pulumi:"customBgpIpAddress"`
- // The IpconfigurationId of ipconfiguration which belongs to gateway.
- IpConfigurationId pulumi.StringInput `pulumi:"ipConfigurationId"`
-}
-
-func (GatewayCustomBgpIpAddressIpConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*GatewayCustomBgpIpAddressIpConfiguration)(nil)).Elem()
-}
-
-func (i GatewayCustomBgpIpAddressIpConfigurationArgs) ToGatewayCustomBgpIpAddressIpConfigurationOutput() GatewayCustomBgpIpAddressIpConfigurationOutput {
- return i.ToGatewayCustomBgpIpAddressIpConfigurationOutputWithContext(context.Background())
-}
-
-func (i GatewayCustomBgpIpAddressIpConfigurationArgs) ToGatewayCustomBgpIpAddressIpConfigurationOutputWithContext(ctx context.Context) GatewayCustomBgpIpAddressIpConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GatewayCustomBgpIpAddressIpConfigurationOutput)
+ ToLocalNetworkGatewayTypePtrOutput() LocalNetworkGatewayTypePtrOutput
+ ToLocalNetworkGatewayTypePtrOutputWithContext(context.Context) LocalNetworkGatewayTypePtrOutput
}
-// GatewayCustomBgpIpAddressIpConfigurationArrayInput is an input type that accepts GatewayCustomBgpIpAddressIpConfigurationArray and GatewayCustomBgpIpAddressIpConfigurationArrayOutput values.
-// You can construct a concrete instance of `GatewayCustomBgpIpAddressIpConfigurationArrayInput` via:
-//
-// GatewayCustomBgpIpAddressIpConfigurationArray{ GatewayCustomBgpIpAddressIpConfigurationArgs{...} }
-type GatewayCustomBgpIpAddressIpConfigurationArrayInput interface {
- pulumi.Input
+type localNetworkGatewayTypePtrType LocalNetworkGatewayTypeArgs
- ToGatewayCustomBgpIpAddressIpConfigurationArrayOutput() GatewayCustomBgpIpAddressIpConfigurationArrayOutput
- ToGatewayCustomBgpIpAddressIpConfigurationArrayOutputWithContext(context.Context) GatewayCustomBgpIpAddressIpConfigurationArrayOutput
+func LocalNetworkGatewayTypePtr(v *LocalNetworkGatewayTypeArgs) LocalNetworkGatewayTypePtrInput {
+ return (*localNetworkGatewayTypePtrType)(v)
}
-type GatewayCustomBgpIpAddressIpConfigurationArray []GatewayCustomBgpIpAddressIpConfigurationInput
-
-func (GatewayCustomBgpIpAddressIpConfigurationArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GatewayCustomBgpIpAddressIpConfiguration)(nil)).Elem()
+func (*localNetworkGatewayTypePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**LocalNetworkGatewayType)(nil)).Elem()
}
-func (i GatewayCustomBgpIpAddressIpConfigurationArray) ToGatewayCustomBgpIpAddressIpConfigurationArrayOutput() GatewayCustomBgpIpAddressIpConfigurationArrayOutput {
- return i.ToGatewayCustomBgpIpAddressIpConfigurationArrayOutputWithContext(context.Background())
+func (i *localNetworkGatewayTypePtrType) ToLocalNetworkGatewayTypePtrOutput() LocalNetworkGatewayTypePtrOutput {
+ return i.ToLocalNetworkGatewayTypePtrOutputWithContext(context.Background())
}
-func (i GatewayCustomBgpIpAddressIpConfigurationArray) ToGatewayCustomBgpIpAddressIpConfigurationArrayOutputWithContext(ctx context.Context) GatewayCustomBgpIpAddressIpConfigurationArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GatewayCustomBgpIpAddressIpConfigurationArrayOutput)
+func (i *localNetworkGatewayTypePtrType) ToLocalNetworkGatewayTypePtrOutputWithContext(ctx context.Context) LocalNetworkGatewayTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(LocalNetworkGatewayTypePtrOutput)
}
-// GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection.
-type GatewayCustomBgpIpAddressIpConfigurationOutput struct{ *pulumi.OutputState }
+// A common class for general resource information.
+type LocalNetworkGatewayTypeOutput struct{ *pulumi.OutputState }
-func (GatewayCustomBgpIpAddressIpConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GatewayCustomBgpIpAddressIpConfiguration)(nil)).Elem()
+func (LocalNetworkGatewayTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*LocalNetworkGatewayType)(nil)).Elem()
}
-func (o GatewayCustomBgpIpAddressIpConfigurationOutput) ToGatewayCustomBgpIpAddressIpConfigurationOutput() GatewayCustomBgpIpAddressIpConfigurationOutput {
+func (o LocalNetworkGatewayTypeOutput) ToLocalNetworkGatewayTypeOutput() LocalNetworkGatewayTypeOutput {
return o
}
-func (o GatewayCustomBgpIpAddressIpConfigurationOutput) ToGatewayCustomBgpIpAddressIpConfigurationOutputWithContext(ctx context.Context) GatewayCustomBgpIpAddressIpConfigurationOutput {
+func (o LocalNetworkGatewayTypeOutput) ToLocalNetworkGatewayTypeOutputWithContext(ctx context.Context) LocalNetworkGatewayTypeOutput {
return o
}
-// The custom BgpPeeringAddress which belongs to IpconfigurationId.
-func (o GatewayCustomBgpIpAddressIpConfigurationOutput) CustomBgpIpAddress() pulumi.StringOutput {
- return o.ApplyT(func(v GatewayCustomBgpIpAddressIpConfiguration) string { return v.CustomBgpIpAddress }).(pulumi.StringOutput)
-}
-
-// The IpconfigurationId of ipconfiguration which belongs to gateway.
-func (o GatewayCustomBgpIpAddressIpConfigurationOutput) IpConfigurationId() pulumi.StringOutput {
- return o.ApplyT(func(v GatewayCustomBgpIpAddressIpConfiguration) string { return v.IpConfigurationId }).(pulumi.StringOutput)
-}
-
-type GatewayCustomBgpIpAddressIpConfigurationArrayOutput struct{ *pulumi.OutputState }
-
-func (GatewayCustomBgpIpAddressIpConfigurationArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GatewayCustomBgpIpAddressIpConfiguration)(nil)).Elem()
-}
-
-func (o GatewayCustomBgpIpAddressIpConfigurationArrayOutput) ToGatewayCustomBgpIpAddressIpConfigurationArrayOutput() GatewayCustomBgpIpAddressIpConfigurationArrayOutput {
- return o
+func (o LocalNetworkGatewayTypeOutput) ToLocalNetworkGatewayTypePtrOutput() LocalNetworkGatewayTypePtrOutput {
+ return o.ToLocalNetworkGatewayTypePtrOutputWithContext(context.Background())
}
-func (o GatewayCustomBgpIpAddressIpConfigurationArrayOutput) ToGatewayCustomBgpIpAddressIpConfigurationArrayOutputWithContext(ctx context.Context) GatewayCustomBgpIpAddressIpConfigurationArrayOutput {
- return o
+func (o LocalNetworkGatewayTypeOutput) ToLocalNetworkGatewayTypePtrOutputWithContext(ctx context.Context) LocalNetworkGatewayTypePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v LocalNetworkGatewayType) *LocalNetworkGatewayType {
+ return &v
+ }).(LocalNetworkGatewayTypePtrOutput)
}
-func (o GatewayCustomBgpIpAddressIpConfigurationArrayOutput) Index(i pulumi.IntInput) GatewayCustomBgpIpAddressIpConfigurationOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GatewayCustomBgpIpAddressIpConfiguration {
- return vs[0].([]GatewayCustomBgpIpAddressIpConfiguration)[vs[1].(int)]
- }).(GatewayCustomBgpIpAddressIpConfigurationOutput)
+// Local network gateway's BGP speaker settings.
+func (o LocalNetworkGatewayTypeOutput) BgpSettings() BgpSettingsPtrOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayType) *BgpSettings { return v.BgpSettings }).(BgpSettingsPtrOutput)
}
-// GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection.
-type GatewayCustomBgpIpAddressIpConfigurationResponse struct {
- // The custom BgpPeeringAddress which belongs to IpconfigurationId.
- CustomBgpIpAddress string `pulumi:"customBgpIpAddress"`
- // The IpconfigurationId of ipconfiguration which belongs to gateway.
- IpConfigurationId string `pulumi:"ipConfigurationId"`
+// FQDN of local network gateway.
+func (o LocalNetworkGatewayTypeOutput) Fqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayType) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
}
-// GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection.
-type GatewayCustomBgpIpAddressIpConfigurationResponseOutput struct{ *pulumi.OutputState }
-
-func (GatewayCustomBgpIpAddressIpConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GatewayCustomBgpIpAddressIpConfigurationResponse)(nil)).Elem()
+// IP address of local network gateway.
+func (o LocalNetworkGatewayTypeOutput) GatewayIpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayType) *string { return v.GatewayIpAddress }).(pulumi.StringPtrOutput)
}
-func (o GatewayCustomBgpIpAddressIpConfigurationResponseOutput) ToGatewayCustomBgpIpAddressIpConfigurationResponseOutput() GatewayCustomBgpIpAddressIpConfigurationResponseOutput {
- return o
+// Resource ID.
+func (o LocalNetworkGatewayTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o GatewayCustomBgpIpAddressIpConfigurationResponseOutput) ToGatewayCustomBgpIpAddressIpConfigurationResponseOutputWithContext(ctx context.Context) GatewayCustomBgpIpAddressIpConfigurationResponseOutput {
- return o
+// Local network site address space.
+func (o LocalNetworkGatewayTypeOutput) LocalNetworkAddressSpace() AddressSpacePtrOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayType) *AddressSpace { return v.LocalNetworkAddressSpace }).(AddressSpacePtrOutput)
}
-// The custom BgpPeeringAddress which belongs to IpconfigurationId.
-func (o GatewayCustomBgpIpAddressIpConfigurationResponseOutput) CustomBgpIpAddress() pulumi.StringOutput {
- return o.ApplyT(func(v GatewayCustomBgpIpAddressIpConfigurationResponse) string { return v.CustomBgpIpAddress }).(pulumi.StringOutput)
+// Resource location.
+func (o LocalNetworkGatewayTypeOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayType) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// The IpconfigurationId of ipconfiguration which belongs to gateway.
-func (o GatewayCustomBgpIpAddressIpConfigurationResponseOutput) IpConfigurationId() pulumi.StringOutput {
- return o.ApplyT(func(v GatewayCustomBgpIpAddressIpConfigurationResponse) string { return v.IpConfigurationId }).(pulumi.StringOutput)
+// Resource tags.
+func (o LocalNetworkGatewayTypeOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-type GatewayCustomBgpIpAddressIpConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+type LocalNetworkGatewayTypePtrOutput struct{ *pulumi.OutputState }
-func (GatewayCustomBgpIpAddressIpConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GatewayCustomBgpIpAddressIpConfigurationResponse)(nil)).Elem()
+func (LocalNetworkGatewayTypePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**LocalNetworkGatewayType)(nil)).Elem()
}
-func (o GatewayCustomBgpIpAddressIpConfigurationResponseArrayOutput) ToGatewayCustomBgpIpAddressIpConfigurationResponseArrayOutput() GatewayCustomBgpIpAddressIpConfigurationResponseArrayOutput {
+func (o LocalNetworkGatewayTypePtrOutput) ToLocalNetworkGatewayTypePtrOutput() LocalNetworkGatewayTypePtrOutput {
return o
}
-func (o GatewayCustomBgpIpAddressIpConfigurationResponseArrayOutput) ToGatewayCustomBgpIpAddressIpConfigurationResponseArrayOutputWithContext(ctx context.Context) GatewayCustomBgpIpAddressIpConfigurationResponseArrayOutput {
+func (o LocalNetworkGatewayTypePtrOutput) ToLocalNetworkGatewayTypePtrOutputWithContext(ctx context.Context) LocalNetworkGatewayTypePtrOutput {
return o
}
-func (o GatewayCustomBgpIpAddressIpConfigurationResponseArrayOutput) Index(i pulumi.IntInput) GatewayCustomBgpIpAddressIpConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GatewayCustomBgpIpAddressIpConfigurationResponse {
- return vs[0].([]GatewayCustomBgpIpAddressIpConfigurationResponse)[vs[1].(int)]
- }).(GatewayCustomBgpIpAddressIpConfigurationResponseOutput)
-}
-
-// Gateway load balancer tunnel interface of a load balancer backend address pool.
-type GatewayLoadBalancerTunnelInterface struct {
- // Identifier of gateway load balancer tunnel interface.
- Identifier *int `pulumi:"identifier"`
- // Port of gateway load balancer tunnel interface.
- Port *int `pulumi:"port"`
- // Protocol of gateway load balancer tunnel interface.
- Protocol *string `pulumi:"protocol"`
- // Traffic type of gateway load balancer tunnel interface.
- Type *string `pulumi:"type"`
-}
-
-// GatewayLoadBalancerTunnelInterfaceInput is an input type that accepts GatewayLoadBalancerTunnelInterfaceArgs and GatewayLoadBalancerTunnelInterfaceOutput values.
-// You can construct a concrete instance of `GatewayLoadBalancerTunnelInterfaceInput` via:
-//
-// GatewayLoadBalancerTunnelInterfaceArgs{...}
-type GatewayLoadBalancerTunnelInterfaceInput interface {
- pulumi.Input
-
- ToGatewayLoadBalancerTunnelInterfaceOutput() GatewayLoadBalancerTunnelInterfaceOutput
- ToGatewayLoadBalancerTunnelInterfaceOutputWithContext(context.Context) GatewayLoadBalancerTunnelInterfaceOutput
+func (o LocalNetworkGatewayTypePtrOutput) Elem() LocalNetworkGatewayTypeOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayType) LocalNetworkGatewayType {
+ if v != nil {
+ return *v
+ }
+ var ret LocalNetworkGatewayType
+ return ret
+ }).(LocalNetworkGatewayTypeOutput)
}
-// Gateway load balancer tunnel interface of a load balancer backend address pool.
-type GatewayLoadBalancerTunnelInterfaceArgs struct {
- // Identifier of gateway load balancer tunnel interface.
- Identifier pulumi.IntPtrInput `pulumi:"identifier"`
- // Port of gateway load balancer tunnel interface.
- Port pulumi.IntPtrInput `pulumi:"port"`
- // Protocol of gateway load balancer tunnel interface.
- Protocol pulumi.StringPtrInput `pulumi:"protocol"`
- // Traffic type of gateway load balancer tunnel interface.
- Type pulumi.StringPtrInput `pulumi:"type"`
+// Local network gateway's BGP speaker settings.
+func (o LocalNetworkGatewayTypePtrOutput) BgpSettings() BgpSettingsPtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayType) *BgpSettings {
+ if v == nil {
+ return nil
+ }
+ return v.BgpSettings
+ }).(BgpSettingsPtrOutput)
}
-func (GatewayLoadBalancerTunnelInterfaceArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*GatewayLoadBalancerTunnelInterface)(nil)).Elem()
+// FQDN of local network gateway.
+func (o LocalNetworkGatewayTypePtrOutput) Fqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Fqdn
+ }).(pulumi.StringPtrOutput)
}
-func (i GatewayLoadBalancerTunnelInterfaceArgs) ToGatewayLoadBalancerTunnelInterfaceOutput() GatewayLoadBalancerTunnelInterfaceOutput {
- return i.ToGatewayLoadBalancerTunnelInterfaceOutputWithContext(context.Background())
+// IP address of local network gateway.
+func (o LocalNetworkGatewayTypePtrOutput) GatewayIpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.GatewayIpAddress
+ }).(pulumi.StringPtrOutput)
}
-func (i GatewayLoadBalancerTunnelInterfaceArgs) ToGatewayLoadBalancerTunnelInterfaceOutputWithContext(ctx context.Context) GatewayLoadBalancerTunnelInterfaceOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GatewayLoadBalancerTunnelInterfaceOutput)
+// Resource ID.
+func (o LocalNetworkGatewayTypePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// GatewayLoadBalancerTunnelInterfaceArrayInput is an input type that accepts GatewayLoadBalancerTunnelInterfaceArray and GatewayLoadBalancerTunnelInterfaceArrayOutput values.
-// You can construct a concrete instance of `GatewayLoadBalancerTunnelInterfaceArrayInput` via:
-//
-// GatewayLoadBalancerTunnelInterfaceArray{ GatewayLoadBalancerTunnelInterfaceArgs{...} }
-type GatewayLoadBalancerTunnelInterfaceArrayInput interface {
- pulumi.Input
-
- ToGatewayLoadBalancerTunnelInterfaceArrayOutput() GatewayLoadBalancerTunnelInterfaceArrayOutput
- ToGatewayLoadBalancerTunnelInterfaceArrayOutputWithContext(context.Context) GatewayLoadBalancerTunnelInterfaceArrayOutput
+// Local network site address space.
+func (o LocalNetworkGatewayTypePtrOutput) LocalNetworkAddressSpace() AddressSpacePtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayType) *AddressSpace {
+ if v == nil {
+ return nil
+ }
+ return v.LocalNetworkAddressSpace
+ }).(AddressSpacePtrOutput)
}
-type GatewayLoadBalancerTunnelInterfaceArray []GatewayLoadBalancerTunnelInterfaceInput
-
-func (GatewayLoadBalancerTunnelInterfaceArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GatewayLoadBalancerTunnelInterface)(nil)).Elem()
+// Resource location.
+func (o LocalNetworkGatewayTypePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-func (i GatewayLoadBalancerTunnelInterfaceArray) ToGatewayLoadBalancerTunnelInterfaceArrayOutput() GatewayLoadBalancerTunnelInterfaceArrayOutput {
- return i.ToGatewayLoadBalancerTunnelInterfaceArrayOutputWithContext(context.Background())
+// Resource tags.
+func (o LocalNetworkGatewayTypePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayType) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-func (i GatewayLoadBalancerTunnelInterfaceArray) ToGatewayLoadBalancerTunnelInterfaceArrayOutputWithContext(ctx context.Context) GatewayLoadBalancerTunnelInterfaceArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GatewayLoadBalancerTunnelInterfaceArrayOutput)
+// A common class for general resource information.
+type LocalNetworkGatewayResponse struct {
+ // Local network gateway's BGP speaker settings.
+ BgpSettings *BgpSettingsResponse `pulumi:"bgpSettings"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // FQDN of local network gateway.
+ Fqdn *string `pulumi:"fqdn"`
+ // IP address of local network gateway.
+ GatewayIpAddress *string `pulumi:"gatewayIpAddress"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Local network site address space.
+ LocalNetworkAddressSpace *AddressSpaceResponse `pulumi:"localNetworkAddressSpace"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The provisioning state of the local network gateway resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The resource GUID property of the local network gateway resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// Gateway load balancer tunnel interface of a load balancer backend address pool.
-type GatewayLoadBalancerTunnelInterfaceOutput struct{ *pulumi.OutputState }
+// A common class for general resource information.
+type LocalNetworkGatewayResponseOutput struct{ *pulumi.OutputState }
-func (GatewayLoadBalancerTunnelInterfaceOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GatewayLoadBalancerTunnelInterface)(nil)).Elem()
+func (LocalNetworkGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*LocalNetworkGatewayResponse)(nil)).Elem()
}
-func (o GatewayLoadBalancerTunnelInterfaceOutput) ToGatewayLoadBalancerTunnelInterfaceOutput() GatewayLoadBalancerTunnelInterfaceOutput {
+func (o LocalNetworkGatewayResponseOutput) ToLocalNetworkGatewayResponseOutput() LocalNetworkGatewayResponseOutput {
return o
}
-func (o GatewayLoadBalancerTunnelInterfaceOutput) ToGatewayLoadBalancerTunnelInterfaceOutputWithContext(ctx context.Context) GatewayLoadBalancerTunnelInterfaceOutput {
+func (o LocalNetworkGatewayResponseOutput) ToLocalNetworkGatewayResponseOutputWithContext(ctx context.Context) LocalNetworkGatewayResponseOutput {
return o
}
-// Identifier of gateway load balancer tunnel interface.
-func (o GatewayLoadBalancerTunnelInterfaceOutput) Identifier() pulumi.IntPtrOutput {
- return o.ApplyT(func(v GatewayLoadBalancerTunnelInterface) *int { return v.Identifier }).(pulumi.IntPtrOutput)
+// Local network gateway's BGP speaker settings.
+func (o LocalNetworkGatewayResponseOutput) BgpSettings() BgpSettingsResponsePtrOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayResponse) *BgpSettingsResponse { return v.BgpSettings }).(BgpSettingsResponsePtrOutput)
}
-// Port of gateway load balancer tunnel interface.
-func (o GatewayLoadBalancerTunnelInterfaceOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v GatewayLoadBalancerTunnelInterface) *int { return v.Port }).(pulumi.IntPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o LocalNetworkGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Protocol of gateway load balancer tunnel interface.
-func (o GatewayLoadBalancerTunnelInterfaceOutput) Protocol() pulumi.StringPtrOutput {
- return o.ApplyT(func(v GatewayLoadBalancerTunnelInterface) *string { return v.Protocol }).(pulumi.StringPtrOutput)
+// FQDN of local network gateway.
+func (o LocalNetworkGatewayResponseOutput) Fqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayResponse) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
}
-// Traffic type of gateway load balancer tunnel interface.
-func (o GatewayLoadBalancerTunnelInterfaceOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v GatewayLoadBalancerTunnelInterface) *string { return v.Type }).(pulumi.StringPtrOutput)
+// IP address of local network gateway.
+func (o LocalNetworkGatewayResponseOutput) GatewayIpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayResponse) *string { return v.GatewayIpAddress }).(pulumi.StringPtrOutput)
}
-type GatewayLoadBalancerTunnelInterfaceArrayOutput struct{ *pulumi.OutputState }
-
-func (GatewayLoadBalancerTunnelInterfaceArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GatewayLoadBalancerTunnelInterface)(nil)).Elem()
+// Resource ID.
+func (o LocalNetworkGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o GatewayLoadBalancerTunnelInterfaceArrayOutput) ToGatewayLoadBalancerTunnelInterfaceArrayOutput() GatewayLoadBalancerTunnelInterfaceArrayOutput {
- return o
+// Local network site address space.
+func (o LocalNetworkGatewayResponseOutput) LocalNetworkAddressSpace() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayResponse) *AddressSpaceResponse { return v.LocalNetworkAddressSpace }).(AddressSpaceResponsePtrOutput)
}
-func (o GatewayLoadBalancerTunnelInterfaceArrayOutput) ToGatewayLoadBalancerTunnelInterfaceArrayOutputWithContext(ctx context.Context) GatewayLoadBalancerTunnelInterfaceArrayOutput {
- return o
+// Resource location.
+func (o LocalNetworkGatewayResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o GatewayLoadBalancerTunnelInterfaceArrayOutput) Index(i pulumi.IntInput) GatewayLoadBalancerTunnelInterfaceOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GatewayLoadBalancerTunnelInterface {
- return vs[0].([]GatewayLoadBalancerTunnelInterface)[vs[1].(int)]
- }).(GatewayLoadBalancerTunnelInterfaceOutput)
+// Resource name.
+func (o LocalNetworkGatewayResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// Gateway load balancer tunnel interface of a load balancer backend address pool.
-type GatewayLoadBalancerTunnelInterfaceResponse struct {
- // Identifier of gateway load balancer tunnel interface.
- Identifier *int `pulumi:"identifier"`
- // Port of gateway load balancer tunnel interface.
- Port *int `pulumi:"port"`
- // Protocol of gateway load balancer tunnel interface.
- Protocol *string `pulumi:"protocol"`
- // Traffic type of gateway load balancer tunnel interface.
- Type *string `pulumi:"type"`
+// The provisioning state of the local network gateway resource.
+func (o LocalNetworkGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Gateway load balancer tunnel interface of a load balancer backend address pool.
-type GatewayLoadBalancerTunnelInterfaceResponseOutput struct{ *pulumi.OutputState }
-
-func (GatewayLoadBalancerTunnelInterfaceResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GatewayLoadBalancerTunnelInterfaceResponse)(nil)).Elem()
+// The resource GUID property of the local network gateway resource.
+func (o LocalNetworkGatewayResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-func (o GatewayLoadBalancerTunnelInterfaceResponseOutput) ToGatewayLoadBalancerTunnelInterfaceResponseOutput() GatewayLoadBalancerTunnelInterfaceResponseOutput {
- return o
+// Resource tags.
+func (o LocalNetworkGatewayResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (o GatewayLoadBalancerTunnelInterfaceResponseOutput) ToGatewayLoadBalancerTunnelInterfaceResponseOutputWithContext(ctx context.Context) GatewayLoadBalancerTunnelInterfaceResponseOutput {
- return o
+// Resource type.
+func (o LocalNetworkGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v LocalNetworkGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Identifier of gateway load balancer tunnel interface.
-func (o GatewayLoadBalancerTunnelInterfaceResponseOutput) Identifier() pulumi.IntPtrOutput {
- return o.ApplyT(func(v GatewayLoadBalancerTunnelInterfaceResponse) *int { return v.Identifier }).(pulumi.IntPtrOutput)
-}
+type LocalNetworkGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-// Port of gateway load balancer tunnel interface.
-func (o GatewayLoadBalancerTunnelInterfaceResponseOutput) Port() pulumi.IntPtrOutput {
- return o.ApplyT(func(v GatewayLoadBalancerTunnelInterfaceResponse) *int { return v.Port }).(pulumi.IntPtrOutput)
+func (LocalNetworkGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**LocalNetworkGatewayResponse)(nil)).Elem()
}
-// Protocol of gateway load balancer tunnel interface.
-func (o GatewayLoadBalancerTunnelInterfaceResponseOutput) Protocol() pulumi.StringPtrOutput {
- return o.ApplyT(func(v GatewayLoadBalancerTunnelInterfaceResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput)
+func (o LocalNetworkGatewayResponsePtrOutput) ToLocalNetworkGatewayResponsePtrOutput() LocalNetworkGatewayResponsePtrOutput {
+ return o
}
-// Traffic type of gateway load balancer tunnel interface.
-func (o GatewayLoadBalancerTunnelInterfaceResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v GatewayLoadBalancerTunnelInterfaceResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+func (o LocalNetworkGatewayResponsePtrOutput) ToLocalNetworkGatewayResponsePtrOutputWithContext(ctx context.Context) LocalNetworkGatewayResponsePtrOutput {
+ return o
}
-type GatewayLoadBalancerTunnelInterfaceResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (GatewayLoadBalancerTunnelInterfaceResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GatewayLoadBalancerTunnelInterfaceResponse)(nil)).Elem()
+func (o LocalNetworkGatewayResponsePtrOutput) Elem() LocalNetworkGatewayResponseOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayResponse) LocalNetworkGatewayResponse {
+ if v != nil {
+ return *v
+ }
+ var ret LocalNetworkGatewayResponse
+ return ret
+ }).(LocalNetworkGatewayResponseOutput)
}
-func (o GatewayLoadBalancerTunnelInterfaceResponseArrayOutput) ToGatewayLoadBalancerTunnelInterfaceResponseArrayOutput() GatewayLoadBalancerTunnelInterfaceResponseArrayOutput {
- return o
+// Local network gateway's BGP speaker settings.
+func (o LocalNetworkGatewayResponsePtrOutput) BgpSettings() BgpSettingsResponsePtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayResponse) *BgpSettingsResponse {
+ if v == nil {
+ return nil
+ }
+ return v.BgpSettings
+ }).(BgpSettingsResponsePtrOutput)
}
-func (o GatewayLoadBalancerTunnelInterfaceResponseArrayOutput) ToGatewayLoadBalancerTunnelInterfaceResponseArrayOutputWithContext(ctx context.Context) GatewayLoadBalancerTunnelInterfaceResponseArrayOutput {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o LocalNetworkGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-func (o GatewayLoadBalancerTunnelInterfaceResponseArrayOutput) Index(i pulumi.IntInput) GatewayLoadBalancerTunnelInterfaceResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GatewayLoadBalancerTunnelInterfaceResponse {
- return vs[0].([]GatewayLoadBalancerTunnelInterfaceResponse)[vs[1].(int)]
- }).(GatewayLoadBalancerTunnelInterfaceResponseOutput)
+// FQDN of local network gateway.
+func (o LocalNetworkGatewayResponsePtrOutput) Fqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Fqdn
+ }).(pulumi.StringPtrOutput)
}
-// Resiliency Recommendation details
-type GatewayResiliencyRecommendationResponse struct {
- // Link to the public documentation for the associated recommendation
- CallToActionLink *string `pulumi:"callToActionLink"`
- // Acton items to apply the recommendation
- CallToActionText *string `pulumi:"callToActionText"`
- // Recommendation Id
- RecommendationId *string `pulumi:"recommendationId"`
- // Recommendation details
- RecommendationText *string `pulumi:"recommendationText"`
- // Recommendation Title
- RecommendationTitle *string `pulumi:"recommendationTitle"`
- // Impact associated with the recommendation
- Severity *string `pulumi:"severity"`
+// IP address of local network gateway.
+func (o LocalNetworkGatewayResponsePtrOutput) GatewayIpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.GatewayIpAddress
+ }).(pulumi.StringPtrOutput)
}
-// Resiliency Recommendation details
-type GatewayResiliencyRecommendationResponseOutput struct{ *pulumi.OutputState }
-
-func (GatewayResiliencyRecommendationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GatewayResiliencyRecommendationResponse)(nil)).Elem()
+// Resource ID.
+func (o LocalNetworkGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (o GatewayResiliencyRecommendationResponseOutput) ToGatewayResiliencyRecommendationResponseOutput() GatewayResiliencyRecommendationResponseOutput {
- return o
+// Local network site address space.
+func (o LocalNetworkGatewayResponsePtrOutput) LocalNetworkAddressSpace() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayResponse) *AddressSpaceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.LocalNetworkAddressSpace
+ }).(AddressSpaceResponsePtrOutput)
}
-func (o GatewayResiliencyRecommendationResponseOutput) ToGatewayResiliencyRecommendationResponseOutputWithContext(ctx context.Context) GatewayResiliencyRecommendationResponseOutput {
- return o
+// Resource location.
+func (o LocalNetworkGatewayResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-// Link to the public documentation for the associated recommendation
-func (o GatewayResiliencyRecommendationResponseOutput) CallToActionLink() pulumi.StringPtrOutput {
- return o.ApplyT(func(v GatewayResiliencyRecommendationResponse) *string { return v.CallToActionLink }).(pulumi.StringPtrOutput)
+// Resource name.
+func (o LocalNetworkGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-// Acton items to apply the recommendation
-func (o GatewayResiliencyRecommendationResponseOutput) CallToActionText() pulumi.StringPtrOutput {
- return o.ApplyT(func(v GatewayResiliencyRecommendationResponse) *string { return v.CallToActionText }).(pulumi.StringPtrOutput)
+// The provisioning state of the local network gateway resource.
+func (o LocalNetworkGatewayResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// Recommendation Id
-func (o GatewayResiliencyRecommendationResponseOutput) RecommendationId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v GatewayResiliencyRecommendationResponse) *string { return v.RecommendationId }).(pulumi.StringPtrOutput)
+// The resource GUID property of the local network gateway resource.
+func (o LocalNetworkGatewayResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
}
-// Recommendation details
-func (o GatewayResiliencyRecommendationResponseOutput) RecommendationText() pulumi.StringPtrOutput {
- return o.ApplyT(func(v GatewayResiliencyRecommendationResponse) *string { return v.RecommendationText }).(pulumi.StringPtrOutput)
+// Resource tags.
+func (o LocalNetworkGatewayResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-// Recommendation Title
-func (o GatewayResiliencyRecommendationResponseOutput) RecommendationTitle() pulumi.StringPtrOutput {
- return o.ApplyT(func(v GatewayResiliencyRecommendationResponse) *string { return v.RecommendationTitle }).(pulumi.StringPtrOutput)
+// Resource type.
+func (o LocalNetworkGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-// Impact associated with the recommendation
-func (o GatewayResiliencyRecommendationResponseOutput) Severity() pulumi.StringPtrOutput {
- return o.ApplyT(func(v GatewayResiliencyRecommendationResponse) *string { return v.Severity }).(pulumi.StringPtrOutput)
+// Defines a managed rule group override setting.
+type ManagedRuleGroupOverride struct {
+ // The managed rule group to override.
+ RuleGroupName string `pulumi:"ruleGroupName"`
+ // List of rules that will be disabled. If none specified, all rules in the group will be disabled.
+ Rules []ManagedRuleOverride `pulumi:"rules"`
}
-type GatewayResiliencyRecommendationResponseArrayOutput struct{ *pulumi.OutputState }
+// ManagedRuleGroupOverrideInput is an input type that accepts ManagedRuleGroupOverrideArgs and ManagedRuleGroupOverrideOutput values.
+// You can construct a concrete instance of `ManagedRuleGroupOverrideInput` via:
+//
+// ManagedRuleGroupOverrideArgs{...}
+type ManagedRuleGroupOverrideInput interface {
+ pulumi.Input
-func (GatewayResiliencyRecommendationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GatewayResiliencyRecommendationResponse)(nil)).Elem()
+ ToManagedRuleGroupOverrideOutput() ManagedRuleGroupOverrideOutput
+ ToManagedRuleGroupOverrideOutputWithContext(context.Context) ManagedRuleGroupOverrideOutput
}
-func (o GatewayResiliencyRecommendationResponseArrayOutput) ToGatewayResiliencyRecommendationResponseArrayOutput() GatewayResiliencyRecommendationResponseArrayOutput {
- return o
+// Defines a managed rule group override setting.
+type ManagedRuleGroupOverrideArgs struct {
+ // The managed rule group to override.
+ RuleGroupName pulumi.StringInput `pulumi:"ruleGroupName"`
+ // List of rules that will be disabled. If none specified, all rules in the group will be disabled.
+ Rules ManagedRuleOverrideArrayInput `pulumi:"rules"`
}
-func (o GatewayResiliencyRecommendationResponseArrayOutput) ToGatewayResiliencyRecommendationResponseArrayOutputWithContext(ctx context.Context) GatewayResiliencyRecommendationResponseArrayOutput {
- return o
+func (ManagedRuleGroupOverrideArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedRuleGroupOverride)(nil)).Elem()
}
-func (o GatewayResiliencyRecommendationResponseArrayOutput) Index(i pulumi.IntInput) GatewayResiliencyRecommendationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GatewayResiliencyRecommendationResponse {
- return vs[0].([]GatewayResiliencyRecommendationResponse)[vs[1].(int)]
- }).(GatewayResiliencyRecommendationResponseOutput)
+func (i ManagedRuleGroupOverrideArgs) ToManagedRuleGroupOverrideOutput() ManagedRuleGroupOverrideOutput {
+ return i.ToManagedRuleGroupOverrideOutputWithContext(context.Background())
}
-// Gateway routing details.
-type GatewayRouteResponse struct {
- // The route's AS path sequence.
- AsPath string `pulumi:"asPath"`
- // The gateway's local address.
- LocalAddress string `pulumi:"localAddress"`
- // The route's network prefix.
- Network string `pulumi:"network"`
- // The route's next hop.
- NextHop string `pulumi:"nextHop"`
- // The source this route was learned from.
- Origin string `pulumi:"origin"`
- // The peer this route was learned from.
- SourcePeer string `pulumi:"sourcePeer"`
- // The route's weight.
- Weight int `pulumi:"weight"`
+func (i ManagedRuleGroupOverrideArgs) ToManagedRuleGroupOverrideOutputWithContext(ctx context.Context) ManagedRuleGroupOverrideOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ManagedRuleGroupOverrideOutput)
}
-// Gateway routing details.
-type GatewayRouteResponseOutput struct{ *pulumi.OutputState }
+// ManagedRuleGroupOverrideArrayInput is an input type that accepts ManagedRuleGroupOverrideArray and ManagedRuleGroupOverrideArrayOutput values.
+// You can construct a concrete instance of `ManagedRuleGroupOverrideArrayInput` via:
+//
+// ManagedRuleGroupOverrideArray{ ManagedRuleGroupOverrideArgs{...} }
+type ManagedRuleGroupOverrideArrayInput interface {
+ pulumi.Input
-func (GatewayRouteResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GatewayRouteResponse)(nil)).Elem()
+ ToManagedRuleGroupOverrideArrayOutput() ManagedRuleGroupOverrideArrayOutput
+ ToManagedRuleGroupOverrideArrayOutputWithContext(context.Context) ManagedRuleGroupOverrideArrayOutput
}
-func (o GatewayRouteResponseOutput) ToGatewayRouteResponseOutput() GatewayRouteResponseOutput {
- return o
-}
+type ManagedRuleGroupOverrideArray []ManagedRuleGroupOverrideInput
-func (o GatewayRouteResponseOutput) ToGatewayRouteResponseOutputWithContext(ctx context.Context) GatewayRouteResponseOutput {
- return o
+func (ManagedRuleGroupOverrideArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ManagedRuleGroupOverride)(nil)).Elem()
}
-// The route's AS path sequence.
-func (o GatewayRouteResponseOutput) AsPath() pulumi.StringOutput {
- return o.ApplyT(func(v GatewayRouteResponse) string { return v.AsPath }).(pulumi.StringOutput)
+func (i ManagedRuleGroupOverrideArray) ToManagedRuleGroupOverrideArrayOutput() ManagedRuleGroupOverrideArrayOutput {
+ return i.ToManagedRuleGroupOverrideArrayOutputWithContext(context.Background())
}
-// The gateway's local address.
-func (o GatewayRouteResponseOutput) LocalAddress() pulumi.StringOutput {
- return o.ApplyT(func(v GatewayRouteResponse) string { return v.LocalAddress }).(pulumi.StringOutput)
+func (i ManagedRuleGroupOverrideArray) ToManagedRuleGroupOverrideArrayOutputWithContext(ctx context.Context) ManagedRuleGroupOverrideArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ManagedRuleGroupOverrideArrayOutput)
}
-// The route's network prefix.
-func (o GatewayRouteResponseOutput) Network() pulumi.StringOutput {
- return o.ApplyT(func(v GatewayRouteResponse) string { return v.Network }).(pulumi.StringOutput)
+// Defines a managed rule group override setting.
+type ManagedRuleGroupOverrideOutput struct{ *pulumi.OutputState }
+
+func (ManagedRuleGroupOverrideOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedRuleGroupOverride)(nil)).Elem()
}
-// The route's next hop.
-func (o GatewayRouteResponseOutput) NextHop() pulumi.StringOutput {
- return o.ApplyT(func(v GatewayRouteResponse) string { return v.NextHop }).(pulumi.StringOutput)
+func (o ManagedRuleGroupOverrideOutput) ToManagedRuleGroupOverrideOutput() ManagedRuleGroupOverrideOutput {
+ return o
}
-// The source this route was learned from.
-func (o GatewayRouteResponseOutput) Origin() pulumi.StringOutput {
- return o.ApplyT(func(v GatewayRouteResponse) string { return v.Origin }).(pulumi.StringOutput)
+func (o ManagedRuleGroupOverrideOutput) ToManagedRuleGroupOverrideOutputWithContext(ctx context.Context) ManagedRuleGroupOverrideOutput {
+ return o
}
-// The peer this route was learned from.
-func (o GatewayRouteResponseOutput) SourcePeer() pulumi.StringOutput {
- return o.ApplyT(func(v GatewayRouteResponse) string { return v.SourcePeer }).(pulumi.StringOutput)
+// The managed rule group to override.
+func (o ManagedRuleGroupOverrideOutput) RuleGroupName() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedRuleGroupOverride) string { return v.RuleGroupName }).(pulumi.StringOutput)
}
-// The route's weight.
-func (o GatewayRouteResponseOutput) Weight() pulumi.IntOutput {
- return o.ApplyT(func(v GatewayRouteResponse) int { return v.Weight }).(pulumi.IntOutput)
+// List of rules that will be disabled. If none specified, all rules in the group will be disabled.
+func (o ManagedRuleGroupOverrideOutput) Rules() ManagedRuleOverrideArrayOutput {
+ return o.ApplyT(func(v ManagedRuleGroupOverride) []ManagedRuleOverride { return v.Rules }).(ManagedRuleOverrideArrayOutput)
}
-type GatewayRouteResponseArrayOutput struct{ *pulumi.OutputState }
+type ManagedRuleGroupOverrideArrayOutput struct{ *pulumi.OutputState }
-func (GatewayRouteResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GatewayRouteResponse)(nil)).Elem()
+func (ManagedRuleGroupOverrideArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ManagedRuleGroupOverride)(nil)).Elem()
}
-func (o GatewayRouteResponseArrayOutput) ToGatewayRouteResponseArrayOutput() GatewayRouteResponseArrayOutput {
+func (o ManagedRuleGroupOverrideArrayOutput) ToManagedRuleGroupOverrideArrayOutput() ManagedRuleGroupOverrideArrayOutput {
return o
}
-func (o GatewayRouteResponseArrayOutput) ToGatewayRouteResponseArrayOutputWithContext(ctx context.Context) GatewayRouteResponseArrayOutput {
+func (o ManagedRuleGroupOverrideArrayOutput) ToManagedRuleGroupOverrideArrayOutputWithContext(ctx context.Context) ManagedRuleGroupOverrideArrayOutput {
return o
}
-func (o GatewayRouteResponseArrayOutput) Index(i pulumi.IntInput) GatewayRouteResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GatewayRouteResponse {
- return vs[0].([]GatewayRouteResponse)[vs[1].(int)]
- }).(GatewayRouteResponseOutput)
+func (o ManagedRuleGroupOverrideArrayOutput) Index(i pulumi.IntInput) ManagedRuleGroupOverrideOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedRuleGroupOverride {
+ return vs[0].([]ManagedRuleGroupOverride)[vs[1].(int)]
+ }).(ManagedRuleGroupOverrideOutput)
}
-type GatewayRouteSetResponse struct {
- // List of different Route Sources
- Details map[string][]RouteSourceDetailsResponse `pulumi:"details"`
- // List of different locations from where the routes are learned
- Locations []string `pulumi:"locations"`
- // Route Set name
- Name *string `pulumi:"name"`
+// Defines a managed rule group override setting.
+type ManagedRuleGroupOverrideResponse struct {
+ // The managed rule group to override.
+ RuleGroupName string `pulumi:"ruleGroupName"`
+ // List of rules that will be disabled. If none specified, all rules in the group will be disabled.
+ Rules []ManagedRuleOverrideResponse `pulumi:"rules"`
}
-type GatewayRouteSetResponseOutput struct{ *pulumi.OutputState }
+// Defines a managed rule group override setting.
+type ManagedRuleGroupOverrideResponseOutput struct{ *pulumi.OutputState }
-func (GatewayRouteSetResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GatewayRouteSetResponse)(nil)).Elem()
+func (ManagedRuleGroupOverrideResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedRuleGroupOverrideResponse)(nil)).Elem()
}
-func (o GatewayRouteSetResponseOutput) ToGatewayRouteSetResponseOutput() GatewayRouteSetResponseOutput {
+func (o ManagedRuleGroupOverrideResponseOutput) ToManagedRuleGroupOverrideResponseOutput() ManagedRuleGroupOverrideResponseOutput {
return o
}
-func (o GatewayRouteSetResponseOutput) ToGatewayRouteSetResponseOutputWithContext(ctx context.Context) GatewayRouteSetResponseOutput {
+func (o ManagedRuleGroupOverrideResponseOutput) ToManagedRuleGroupOverrideResponseOutputWithContext(ctx context.Context) ManagedRuleGroupOverrideResponseOutput {
return o
}
-// List of different Route Sources
-func (o GatewayRouteSetResponseOutput) Details() RouteSourceDetailsResponseArrayMapOutput {
- return o.ApplyT(func(v GatewayRouteSetResponse) map[string][]RouteSourceDetailsResponse { return v.Details }).(RouteSourceDetailsResponseArrayMapOutput)
-}
-
-// List of different locations from where the routes are learned
-func (o GatewayRouteSetResponseOutput) Locations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v GatewayRouteSetResponse) []string { return v.Locations }).(pulumi.StringArrayOutput)
+// The managed rule group to override.
+func (o ManagedRuleGroupOverrideResponseOutput) RuleGroupName() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedRuleGroupOverrideResponse) string { return v.RuleGroupName }).(pulumi.StringOutput)
}
-// Route Set name
-func (o GatewayRouteSetResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v GatewayRouteSetResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// List of rules that will be disabled. If none specified, all rules in the group will be disabled.
+func (o ManagedRuleGroupOverrideResponseOutput) Rules() ManagedRuleOverrideResponseArrayOutput {
+ return o.ApplyT(func(v ManagedRuleGroupOverrideResponse) []ManagedRuleOverrideResponse { return v.Rules }).(ManagedRuleOverrideResponseArrayOutput)
}
-type GatewayRouteSetResponseArrayOutput struct{ *pulumi.OutputState }
+type ManagedRuleGroupOverrideResponseArrayOutput struct{ *pulumi.OutputState }
-func (GatewayRouteSetResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GatewayRouteSetResponse)(nil)).Elem()
+func (ManagedRuleGroupOverrideResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ManagedRuleGroupOverrideResponse)(nil)).Elem()
}
-func (o GatewayRouteSetResponseArrayOutput) ToGatewayRouteSetResponseArrayOutput() GatewayRouteSetResponseArrayOutput {
+func (o ManagedRuleGroupOverrideResponseArrayOutput) ToManagedRuleGroupOverrideResponseArrayOutput() ManagedRuleGroupOverrideResponseArrayOutput {
return o
}
-func (o GatewayRouteSetResponseArrayOutput) ToGatewayRouteSetResponseArrayOutputWithContext(ctx context.Context) GatewayRouteSetResponseArrayOutput {
+func (o ManagedRuleGroupOverrideResponseArrayOutput) ToManagedRuleGroupOverrideResponseArrayOutputWithContext(ctx context.Context) ManagedRuleGroupOverrideResponseArrayOutput {
return o
}
-func (o GatewayRouteSetResponseArrayOutput) Index(i pulumi.IntInput) GatewayRouteSetResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GatewayRouteSetResponse {
- return vs[0].([]GatewayRouteSetResponse)[vs[1].(int)]
- }).(GatewayRouteSetResponseOutput)
+func (o ManagedRuleGroupOverrideResponseArrayOutput) Index(i pulumi.IntInput) ManagedRuleGroupOverrideResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedRuleGroupOverrideResponse {
+ return vs[0].([]ManagedRuleGroupOverrideResponse)[vs[1].(int)]
+ }).(ManagedRuleGroupOverrideResponseOutput)
}
-// Define user session identifier group by clauses.
-type GroupByUserSession struct {
- // List of group by clause variables.
- GroupByVariables []GroupByVariable `pulumi:"groupByVariables"`
+// Defines a managed rule group override setting.
+type ManagedRuleOverride struct {
+ // Describes the override action to be applied when rule matches.
+ Action *string `pulumi:"action"`
+ // Identifier for the managed rule.
+ RuleId string `pulumi:"ruleId"`
+ // Describes the override sensitivity to be applied when rule matches.
+ Sensitivity *string `pulumi:"sensitivity"`
+ // The state of the managed rule. Defaults to Disabled if not specified.
+ State *string `pulumi:"state"`
}
-// GroupByUserSessionInput is an input type that accepts GroupByUserSessionArgs and GroupByUserSessionOutput values.
-// You can construct a concrete instance of `GroupByUserSessionInput` via:
+// ManagedRuleOverrideInput is an input type that accepts ManagedRuleOverrideArgs and ManagedRuleOverrideOutput values.
+// You can construct a concrete instance of `ManagedRuleOverrideInput` via:
//
-// GroupByUserSessionArgs{...}
-type GroupByUserSessionInput interface {
+// ManagedRuleOverrideArgs{...}
+type ManagedRuleOverrideInput interface {
pulumi.Input
- ToGroupByUserSessionOutput() GroupByUserSessionOutput
- ToGroupByUserSessionOutputWithContext(context.Context) GroupByUserSessionOutput
+ ToManagedRuleOverrideOutput() ManagedRuleOverrideOutput
+ ToManagedRuleOverrideOutputWithContext(context.Context) ManagedRuleOverrideOutput
}
-// Define user session identifier group by clauses.
-type GroupByUserSessionArgs struct {
- // List of group by clause variables.
- GroupByVariables GroupByVariableArrayInput `pulumi:"groupByVariables"`
+// Defines a managed rule group override setting.
+type ManagedRuleOverrideArgs struct {
+ // Describes the override action to be applied when rule matches.
+ Action pulumi.StringPtrInput `pulumi:"action"`
+ // Identifier for the managed rule.
+ RuleId pulumi.StringInput `pulumi:"ruleId"`
+ // Describes the override sensitivity to be applied when rule matches.
+ Sensitivity pulumi.StringPtrInput `pulumi:"sensitivity"`
+ // The state of the managed rule. Defaults to Disabled if not specified.
+ State pulumi.StringPtrInput `pulumi:"state"`
}
-func (GroupByUserSessionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*GroupByUserSession)(nil)).Elem()
+func (ManagedRuleOverrideArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedRuleOverride)(nil)).Elem()
}
-func (i GroupByUserSessionArgs) ToGroupByUserSessionOutput() GroupByUserSessionOutput {
- return i.ToGroupByUserSessionOutputWithContext(context.Background())
+func (i ManagedRuleOverrideArgs) ToManagedRuleOverrideOutput() ManagedRuleOverrideOutput {
+ return i.ToManagedRuleOverrideOutputWithContext(context.Background())
}
-func (i GroupByUserSessionArgs) ToGroupByUserSessionOutputWithContext(ctx context.Context) GroupByUserSessionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GroupByUserSessionOutput)
+func (i ManagedRuleOverrideArgs) ToManagedRuleOverrideOutputWithContext(ctx context.Context) ManagedRuleOverrideOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ManagedRuleOverrideOutput)
}
-// GroupByUserSessionArrayInput is an input type that accepts GroupByUserSessionArray and GroupByUserSessionArrayOutput values.
-// You can construct a concrete instance of `GroupByUserSessionArrayInput` via:
+// ManagedRuleOverrideArrayInput is an input type that accepts ManagedRuleOverrideArray and ManagedRuleOverrideArrayOutput values.
+// You can construct a concrete instance of `ManagedRuleOverrideArrayInput` via:
//
-// GroupByUserSessionArray{ GroupByUserSessionArgs{...} }
-type GroupByUserSessionArrayInput interface {
+// ManagedRuleOverrideArray{ ManagedRuleOverrideArgs{...} }
+type ManagedRuleOverrideArrayInput interface {
pulumi.Input
- ToGroupByUserSessionArrayOutput() GroupByUserSessionArrayOutput
- ToGroupByUserSessionArrayOutputWithContext(context.Context) GroupByUserSessionArrayOutput
+ ToManagedRuleOverrideArrayOutput() ManagedRuleOverrideArrayOutput
+ ToManagedRuleOverrideArrayOutputWithContext(context.Context) ManagedRuleOverrideArrayOutput
}
-type GroupByUserSessionArray []GroupByUserSessionInput
+type ManagedRuleOverrideArray []ManagedRuleOverrideInput
-func (GroupByUserSessionArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GroupByUserSession)(nil)).Elem()
+func (ManagedRuleOverrideArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ManagedRuleOverride)(nil)).Elem()
}
-func (i GroupByUserSessionArray) ToGroupByUserSessionArrayOutput() GroupByUserSessionArrayOutput {
- return i.ToGroupByUserSessionArrayOutputWithContext(context.Background())
+func (i ManagedRuleOverrideArray) ToManagedRuleOverrideArrayOutput() ManagedRuleOverrideArrayOutput {
+ return i.ToManagedRuleOverrideArrayOutputWithContext(context.Background())
}
-func (i GroupByUserSessionArray) ToGroupByUserSessionArrayOutputWithContext(ctx context.Context) GroupByUserSessionArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GroupByUserSessionArrayOutput)
+func (i ManagedRuleOverrideArray) ToManagedRuleOverrideArrayOutputWithContext(ctx context.Context) ManagedRuleOverrideArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ManagedRuleOverrideArrayOutput)
}
-// Define user session identifier group by clauses.
-type GroupByUserSessionOutput struct{ *pulumi.OutputState }
+// Defines a managed rule group override setting.
+type ManagedRuleOverrideOutput struct{ *pulumi.OutputState }
-func (GroupByUserSessionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GroupByUserSession)(nil)).Elem()
+func (ManagedRuleOverrideOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedRuleOverride)(nil)).Elem()
}
-func (o GroupByUserSessionOutput) ToGroupByUserSessionOutput() GroupByUserSessionOutput {
+func (o ManagedRuleOverrideOutput) ToManagedRuleOverrideOutput() ManagedRuleOverrideOutput {
return o
}
-func (o GroupByUserSessionOutput) ToGroupByUserSessionOutputWithContext(ctx context.Context) GroupByUserSessionOutput {
+func (o ManagedRuleOverrideOutput) ToManagedRuleOverrideOutputWithContext(ctx context.Context) ManagedRuleOverrideOutput {
return o
}
-// List of group by clause variables.
-func (o GroupByUserSessionOutput) GroupByVariables() GroupByVariableArrayOutput {
- return o.ApplyT(func(v GroupByUserSession) []GroupByVariable { return v.GroupByVariables }).(GroupByVariableArrayOutput)
+// Describes the override action to be applied when rule matches.
+func (o ManagedRuleOverrideOutput) Action() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ManagedRuleOverride) *string { return v.Action }).(pulumi.StringPtrOutput)
}
-type GroupByUserSessionArrayOutput struct{ *pulumi.OutputState }
+// Identifier for the managed rule.
+func (o ManagedRuleOverrideOutput) RuleId() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedRuleOverride) string { return v.RuleId }).(pulumi.StringOutput)
+}
-func (GroupByUserSessionArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GroupByUserSession)(nil)).Elem()
+// Describes the override sensitivity to be applied when rule matches.
+func (o ManagedRuleOverrideOutput) Sensitivity() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ManagedRuleOverride) *string { return v.Sensitivity }).(pulumi.StringPtrOutput)
}
-func (o GroupByUserSessionArrayOutput) ToGroupByUserSessionArrayOutput() GroupByUserSessionArrayOutput {
+// The state of the managed rule. Defaults to Disabled if not specified.
+func (o ManagedRuleOverrideOutput) State() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ManagedRuleOverride) *string { return v.State }).(pulumi.StringPtrOutput)
+}
+
+type ManagedRuleOverrideArrayOutput struct{ *pulumi.OutputState }
+
+func (ManagedRuleOverrideArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ManagedRuleOverride)(nil)).Elem()
+}
+
+func (o ManagedRuleOverrideArrayOutput) ToManagedRuleOverrideArrayOutput() ManagedRuleOverrideArrayOutput {
return o
}
-func (o GroupByUserSessionArrayOutput) ToGroupByUserSessionArrayOutputWithContext(ctx context.Context) GroupByUserSessionArrayOutput {
+func (o ManagedRuleOverrideArrayOutput) ToManagedRuleOverrideArrayOutputWithContext(ctx context.Context) ManagedRuleOverrideArrayOutput {
return o
}
-func (o GroupByUserSessionArrayOutput) Index(i pulumi.IntInput) GroupByUserSessionOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupByUserSession {
- return vs[0].([]GroupByUserSession)[vs[1].(int)]
- }).(GroupByUserSessionOutput)
+func (o ManagedRuleOverrideArrayOutput) Index(i pulumi.IntInput) ManagedRuleOverrideOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedRuleOverride {
+ return vs[0].([]ManagedRuleOverride)[vs[1].(int)]
+ }).(ManagedRuleOverrideOutput)
}
-// Define user session identifier group by clauses.
-type GroupByUserSessionResponse struct {
- // List of group by clause variables.
- GroupByVariables []GroupByVariableResponse `pulumi:"groupByVariables"`
+// Defines a managed rule group override setting.
+type ManagedRuleOverrideResponse struct {
+ // Describes the override action to be applied when rule matches.
+ Action *string `pulumi:"action"`
+ // Identifier for the managed rule.
+ RuleId string `pulumi:"ruleId"`
+ // Describes the override sensitivity to be applied when rule matches.
+ Sensitivity *string `pulumi:"sensitivity"`
+ // The state of the managed rule. Defaults to Disabled if not specified.
+ State *string `pulumi:"state"`
}
-// Define user session identifier group by clauses.
-type GroupByUserSessionResponseOutput struct{ *pulumi.OutputState }
+// Defines a managed rule group override setting.
+type ManagedRuleOverrideResponseOutput struct{ *pulumi.OutputState }
-func (GroupByUserSessionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GroupByUserSessionResponse)(nil)).Elem()
+func (ManagedRuleOverrideResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedRuleOverrideResponse)(nil)).Elem()
}
-func (o GroupByUserSessionResponseOutput) ToGroupByUserSessionResponseOutput() GroupByUserSessionResponseOutput {
+func (o ManagedRuleOverrideResponseOutput) ToManagedRuleOverrideResponseOutput() ManagedRuleOverrideResponseOutput {
return o
}
-func (o GroupByUserSessionResponseOutput) ToGroupByUserSessionResponseOutputWithContext(ctx context.Context) GroupByUserSessionResponseOutput {
+func (o ManagedRuleOverrideResponseOutput) ToManagedRuleOverrideResponseOutputWithContext(ctx context.Context) ManagedRuleOverrideResponseOutput {
return o
}
-// List of group by clause variables.
-func (o GroupByUserSessionResponseOutput) GroupByVariables() GroupByVariableResponseArrayOutput {
- return o.ApplyT(func(v GroupByUserSessionResponse) []GroupByVariableResponse { return v.GroupByVariables }).(GroupByVariableResponseArrayOutput)
+// Describes the override action to be applied when rule matches.
+func (o ManagedRuleOverrideResponseOutput) Action() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ManagedRuleOverrideResponse) *string { return v.Action }).(pulumi.StringPtrOutput)
}
-type GroupByUserSessionResponseArrayOutput struct{ *pulumi.OutputState }
+// Identifier for the managed rule.
+func (o ManagedRuleOverrideResponseOutput) RuleId() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedRuleOverrideResponse) string { return v.RuleId }).(pulumi.StringOutput)
+}
-func (GroupByUserSessionResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GroupByUserSessionResponse)(nil)).Elem()
+// Describes the override sensitivity to be applied when rule matches.
+func (o ManagedRuleOverrideResponseOutput) Sensitivity() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ManagedRuleOverrideResponse) *string { return v.Sensitivity }).(pulumi.StringPtrOutput)
}
-func (o GroupByUserSessionResponseArrayOutput) ToGroupByUserSessionResponseArrayOutput() GroupByUserSessionResponseArrayOutput {
+// The state of the managed rule. Defaults to Disabled if not specified.
+func (o ManagedRuleOverrideResponseOutput) State() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ManagedRuleOverrideResponse) *string { return v.State }).(pulumi.StringPtrOutput)
+}
+
+type ManagedRuleOverrideResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ManagedRuleOverrideResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ManagedRuleOverrideResponse)(nil)).Elem()
+}
+
+func (o ManagedRuleOverrideResponseArrayOutput) ToManagedRuleOverrideResponseArrayOutput() ManagedRuleOverrideResponseArrayOutput {
return o
}
-func (o GroupByUserSessionResponseArrayOutput) ToGroupByUserSessionResponseArrayOutputWithContext(ctx context.Context) GroupByUserSessionResponseArrayOutput {
+func (o ManagedRuleOverrideResponseArrayOutput) ToManagedRuleOverrideResponseArrayOutputWithContext(ctx context.Context) ManagedRuleOverrideResponseArrayOutput {
return o
}
-func (o GroupByUserSessionResponseArrayOutput) Index(i pulumi.IntInput) GroupByUserSessionResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupByUserSessionResponse {
- return vs[0].([]GroupByUserSessionResponse)[vs[1].(int)]
- }).(GroupByUserSessionResponseOutput)
+func (o ManagedRuleOverrideResponseArrayOutput) Index(i pulumi.IntInput) ManagedRuleOverrideResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedRuleOverrideResponse {
+ return vs[0].([]ManagedRuleOverrideResponse)[vs[1].(int)]
+ }).(ManagedRuleOverrideResponseOutput)
}
-// Define user session group by clause variables.
-type GroupByVariable struct {
- // User Session clause variable.
- VariableName string `pulumi:"variableName"`
+// Defines a managed rule set.
+type ManagedRuleSet struct {
+ // Defines the rule group overrides to apply to the rule set.
+ RuleGroupOverrides []ManagedRuleGroupOverride `pulumi:"ruleGroupOverrides"`
+ // Defines the rule set type to use.
+ RuleSetType string `pulumi:"ruleSetType"`
+ // Defines the version of the rule set to use.
+ RuleSetVersion string `pulumi:"ruleSetVersion"`
}
-// GroupByVariableInput is an input type that accepts GroupByVariableArgs and GroupByVariableOutput values.
-// You can construct a concrete instance of `GroupByVariableInput` via:
+// ManagedRuleSetInput is an input type that accepts ManagedRuleSetArgs and ManagedRuleSetOutput values.
+// You can construct a concrete instance of `ManagedRuleSetInput` via:
//
-// GroupByVariableArgs{...}
-type GroupByVariableInput interface {
+// ManagedRuleSetArgs{...}
+type ManagedRuleSetInput interface {
pulumi.Input
- ToGroupByVariableOutput() GroupByVariableOutput
- ToGroupByVariableOutputWithContext(context.Context) GroupByVariableOutput
+ ToManagedRuleSetOutput() ManagedRuleSetOutput
+ ToManagedRuleSetOutputWithContext(context.Context) ManagedRuleSetOutput
}
-// Define user session group by clause variables.
-type GroupByVariableArgs struct {
- // User Session clause variable.
- VariableName pulumi.StringInput `pulumi:"variableName"`
+// Defines a managed rule set.
+type ManagedRuleSetArgs struct {
+ // Defines the rule group overrides to apply to the rule set.
+ RuleGroupOverrides ManagedRuleGroupOverrideArrayInput `pulumi:"ruleGroupOverrides"`
+ // Defines the rule set type to use.
+ RuleSetType pulumi.StringInput `pulumi:"ruleSetType"`
+ // Defines the version of the rule set to use.
+ RuleSetVersion pulumi.StringInput `pulumi:"ruleSetVersion"`
}
-func (GroupByVariableArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*GroupByVariable)(nil)).Elem()
+func (ManagedRuleSetArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedRuleSet)(nil)).Elem()
}
-func (i GroupByVariableArgs) ToGroupByVariableOutput() GroupByVariableOutput {
- return i.ToGroupByVariableOutputWithContext(context.Background())
+func (i ManagedRuleSetArgs) ToManagedRuleSetOutput() ManagedRuleSetOutput {
+ return i.ToManagedRuleSetOutputWithContext(context.Background())
}
-func (i GroupByVariableArgs) ToGroupByVariableOutputWithContext(ctx context.Context) GroupByVariableOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GroupByVariableOutput)
+func (i ManagedRuleSetArgs) ToManagedRuleSetOutputWithContext(ctx context.Context) ManagedRuleSetOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ManagedRuleSetOutput)
}
-// GroupByVariableArrayInput is an input type that accepts GroupByVariableArray and GroupByVariableArrayOutput values.
-// You can construct a concrete instance of `GroupByVariableArrayInput` via:
+// ManagedRuleSetArrayInput is an input type that accepts ManagedRuleSetArray and ManagedRuleSetArrayOutput values.
+// You can construct a concrete instance of `ManagedRuleSetArrayInput` via:
//
-// GroupByVariableArray{ GroupByVariableArgs{...} }
-type GroupByVariableArrayInput interface {
+// ManagedRuleSetArray{ ManagedRuleSetArgs{...} }
+type ManagedRuleSetArrayInput interface {
pulumi.Input
- ToGroupByVariableArrayOutput() GroupByVariableArrayOutput
- ToGroupByVariableArrayOutputWithContext(context.Context) GroupByVariableArrayOutput
+ ToManagedRuleSetArrayOutput() ManagedRuleSetArrayOutput
+ ToManagedRuleSetArrayOutputWithContext(context.Context) ManagedRuleSetArrayOutput
}
-type GroupByVariableArray []GroupByVariableInput
+type ManagedRuleSetArray []ManagedRuleSetInput
-func (GroupByVariableArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GroupByVariable)(nil)).Elem()
+func (ManagedRuleSetArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ManagedRuleSet)(nil)).Elem()
}
-func (i GroupByVariableArray) ToGroupByVariableArrayOutput() GroupByVariableArrayOutput {
- return i.ToGroupByVariableArrayOutputWithContext(context.Background())
+func (i ManagedRuleSetArray) ToManagedRuleSetArrayOutput() ManagedRuleSetArrayOutput {
+ return i.ToManagedRuleSetArrayOutputWithContext(context.Background())
}
-func (i GroupByVariableArray) ToGroupByVariableArrayOutputWithContext(ctx context.Context) GroupByVariableArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(GroupByVariableArrayOutput)
+func (i ManagedRuleSetArray) ToManagedRuleSetArrayOutputWithContext(ctx context.Context) ManagedRuleSetArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ManagedRuleSetArrayOutput)
}
-// Define user session group by clause variables.
-type GroupByVariableOutput struct{ *pulumi.OutputState }
+// Defines a managed rule set.
+type ManagedRuleSetOutput struct{ *pulumi.OutputState }
-func (GroupByVariableOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GroupByVariable)(nil)).Elem()
+func (ManagedRuleSetOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedRuleSet)(nil)).Elem()
}
-func (o GroupByVariableOutput) ToGroupByVariableOutput() GroupByVariableOutput {
+func (o ManagedRuleSetOutput) ToManagedRuleSetOutput() ManagedRuleSetOutput {
return o
}
-func (o GroupByVariableOutput) ToGroupByVariableOutputWithContext(ctx context.Context) GroupByVariableOutput {
+func (o ManagedRuleSetOutput) ToManagedRuleSetOutputWithContext(ctx context.Context) ManagedRuleSetOutput {
return o
}
-// User Session clause variable.
-func (o GroupByVariableOutput) VariableName() pulumi.StringOutput {
- return o.ApplyT(func(v GroupByVariable) string { return v.VariableName }).(pulumi.StringOutput)
+// Defines the rule group overrides to apply to the rule set.
+func (o ManagedRuleSetOutput) RuleGroupOverrides() ManagedRuleGroupOverrideArrayOutput {
+ return o.ApplyT(func(v ManagedRuleSet) []ManagedRuleGroupOverride { return v.RuleGroupOverrides }).(ManagedRuleGroupOverrideArrayOutput)
}
-type GroupByVariableArrayOutput struct{ *pulumi.OutputState }
+// Defines the rule set type to use.
+func (o ManagedRuleSetOutput) RuleSetType() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedRuleSet) string { return v.RuleSetType }).(pulumi.StringOutput)
+}
-func (GroupByVariableArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GroupByVariable)(nil)).Elem()
+// Defines the version of the rule set to use.
+func (o ManagedRuleSetOutput) RuleSetVersion() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedRuleSet) string { return v.RuleSetVersion }).(pulumi.StringOutput)
}
-func (o GroupByVariableArrayOutput) ToGroupByVariableArrayOutput() GroupByVariableArrayOutput {
+type ManagedRuleSetArrayOutput struct{ *pulumi.OutputState }
+
+func (ManagedRuleSetArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ManagedRuleSet)(nil)).Elem()
+}
+
+func (o ManagedRuleSetArrayOutput) ToManagedRuleSetArrayOutput() ManagedRuleSetArrayOutput {
return o
}
-func (o GroupByVariableArrayOutput) ToGroupByVariableArrayOutputWithContext(ctx context.Context) GroupByVariableArrayOutput {
+func (o ManagedRuleSetArrayOutput) ToManagedRuleSetArrayOutputWithContext(ctx context.Context) ManagedRuleSetArrayOutput {
return o
}
-func (o GroupByVariableArrayOutput) Index(i pulumi.IntInput) GroupByVariableOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupByVariable {
- return vs[0].([]GroupByVariable)[vs[1].(int)]
- }).(GroupByVariableOutput)
+func (o ManagedRuleSetArrayOutput) Index(i pulumi.IntInput) ManagedRuleSetOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedRuleSet {
+ return vs[0].([]ManagedRuleSet)[vs[1].(int)]
+ }).(ManagedRuleSetOutput)
}
-// Define user session group by clause variables.
-type GroupByVariableResponse struct {
- // User Session clause variable.
- VariableName string `pulumi:"variableName"`
+// Defines a managed rule set.
+type ManagedRuleSetResponse struct {
+ // Defines the rule group overrides to apply to the rule set.
+ RuleGroupOverrides []ManagedRuleGroupOverrideResponse `pulumi:"ruleGroupOverrides"`
+ // Defines the rule set type to use.
+ RuleSetType string `pulumi:"ruleSetType"`
+ // Defines the version of the rule set to use.
+ RuleSetVersion string `pulumi:"ruleSetVersion"`
}
-// Define user session group by clause variables.
-type GroupByVariableResponseOutput struct{ *pulumi.OutputState }
+// Defines a managed rule set.
+type ManagedRuleSetResponseOutput struct{ *pulumi.OutputState }
-func (GroupByVariableResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GroupByVariableResponse)(nil)).Elem()
+func (ManagedRuleSetResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedRuleSetResponse)(nil)).Elem()
}
-func (o GroupByVariableResponseOutput) ToGroupByVariableResponseOutput() GroupByVariableResponseOutput {
+func (o ManagedRuleSetResponseOutput) ToManagedRuleSetResponseOutput() ManagedRuleSetResponseOutput {
return o
}
-func (o GroupByVariableResponseOutput) ToGroupByVariableResponseOutputWithContext(ctx context.Context) GroupByVariableResponseOutput {
+func (o ManagedRuleSetResponseOutput) ToManagedRuleSetResponseOutputWithContext(ctx context.Context) ManagedRuleSetResponseOutput {
return o
}
-// User Session clause variable.
-func (o GroupByVariableResponseOutput) VariableName() pulumi.StringOutput {
- return o.ApplyT(func(v GroupByVariableResponse) string { return v.VariableName }).(pulumi.StringOutput)
+// Defines the rule group overrides to apply to the rule set.
+func (o ManagedRuleSetResponseOutput) RuleGroupOverrides() ManagedRuleGroupOverrideResponseArrayOutput {
+ return o.ApplyT(func(v ManagedRuleSetResponse) []ManagedRuleGroupOverrideResponse { return v.RuleGroupOverrides }).(ManagedRuleGroupOverrideResponseArrayOutput)
}
-type GroupByVariableResponseArrayOutput struct{ *pulumi.OutputState }
+// Defines the rule set type to use.
+func (o ManagedRuleSetResponseOutput) RuleSetType() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedRuleSetResponse) string { return v.RuleSetType }).(pulumi.StringOutput)
+}
-func (GroupByVariableResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GroupByVariableResponse)(nil)).Elem()
+// Defines the version of the rule set to use.
+func (o ManagedRuleSetResponseOutput) RuleSetVersion() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedRuleSetResponse) string { return v.RuleSetVersion }).(pulumi.StringOutput)
}
-func (o GroupByVariableResponseArrayOutput) ToGroupByVariableResponseArrayOutput() GroupByVariableResponseArrayOutput {
+type ManagedRuleSetResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ManagedRuleSetResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ManagedRuleSetResponse)(nil)).Elem()
+}
+
+func (o ManagedRuleSetResponseArrayOutput) ToManagedRuleSetResponseArrayOutput() ManagedRuleSetResponseArrayOutput {
return o
}
-func (o GroupByVariableResponseArrayOutput) ToGroupByVariableResponseArrayOutputWithContext(ctx context.Context) GroupByVariableResponseArrayOutput {
+func (o ManagedRuleSetResponseArrayOutput) ToManagedRuleSetResponseArrayOutputWithContext(ctx context.Context) ManagedRuleSetResponseArrayOutput {
return o
}
-func (o GroupByVariableResponseArrayOutput) Index(i pulumi.IntInput) GroupByVariableResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupByVariableResponse {
- return vs[0].([]GroupByVariableResponse)[vs[1].(int)]
- }).(GroupByVariableResponseOutput)
+func (o ManagedRuleSetResponseArrayOutput) Index(i pulumi.IntInput) ManagedRuleSetResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedRuleSetResponse {
+ return vs[0].([]ManagedRuleSetResponse)[vs[1].(int)]
+ }).(ManagedRuleSetResponseOutput)
}
-// GroupMembers Item.
-type GroupMembersItemResponse struct {
- // Resource Id.
- ResourceId *string `pulumi:"resourceId"`
+// Allow to exclude some variable satisfy the condition for the WAF check.
+type ManagedRulesDefinition struct {
+ // The exceptions that are applied on the policy.
+ Exceptions []ExceptionEntry `pulumi:"exceptions"`
+ // The Exclusions that are applied on the policy.
+ Exclusions []OwaspCrsExclusionEntry `pulumi:"exclusions"`
+ // The managed rule sets that are associated with the policy.
+ ManagedRuleSets []ManagedRuleSet `pulumi:"managedRuleSets"`
}
-// GroupMembers Item.
-type GroupMembersItemResponseOutput struct{ *pulumi.OutputState }
+// ManagedRulesDefinitionInput is an input type that accepts ManagedRulesDefinitionArgs and ManagedRulesDefinitionOutput values.
+// You can construct a concrete instance of `ManagedRulesDefinitionInput` via:
+//
+// ManagedRulesDefinitionArgs{...}
+type ManagedRulesDefinitionInput interface {
+ pulumi.Input
-func (GroupMembersItemResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*GroupMembersItemResponse)(nil)).Elem()
+ ToManagedRulesDefinitionOutput() ManagedRulesDefinitionOutput
+ ToManagedRulesDefinitionOutputWithContext(context.Context) ManagedRulesDefinitionOutput
}
-func (o GroupMembersItemResponseOutput) ToGroupMembersItemResponseOutput() GroupMembersItemResponseOutput {
+// Allow to exclude some variable satisfy the condition for the WAF check.
+type ManagedRulesDefinitionArgs struct {
+ // The exceptions that are applied on the policy.
+ Exceptions ExceptionEntryArrayInput `pulumi:"exceptions"`
+ // The Exclusions that are applied on the policy.
+ Exclusions OwaspCrsExclusionEntryArrayInput `pulumi:"exclusions"`
+ // The managed rule sets that are associated with the policy.
+ ManagedRuleSets ManagedRuleSetArrayInput `pulumi:"managedRuleSets"`
+}
+
+func (ManagedRulesDefinitionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedRulesDefinition)(nil)).Elem()
+}
+
+func (i ManagedRulesDefinitionArgs) ToManagedRulesDefinitionOutput() ManagedRulesDefinitionOutput {
+ return i.ToManagedRulesDefinitionOutputWithContext(context.Background())
+}
+
+func (i ManagedRulesDefinitionArgs) ToManagedRulesDefinitionOutputWithContext(ctx context.Context) ManagedRulesDefinitionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ManagedRulesDefinitionOutput)
+}
+
+// Allow to exclude some variable satisfy the condition for the WAF check.
+type ManagedRulesDefinitionOutput struct{ *pulumi.OutputState }
+
+func (ManagedRulesDefinitionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedRulesDefinition)(nil)).Elem()
+}
+
+func (o ManagedRulesDefinitionOutput) ToManagedRulesDefinitionOutput() ManagedRulesDefinitionOutput {
return o
}
-func (o GroupMembersItemResponseOutput) ToGroupMembersItemResponseOutputWithContext(ctx context.Context) GroupMembersItemResponseOutput {
+func (o ManagedRulesDefinitionOutput) ToManagedRulesDefinitionOutputWithContext(ctx context.Context) ManagedRulesDefinitionOutput {
return o
}
-// Resource Id.
-func (o GroupMembersItemResponseOutput) ResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v GroupMembersItemResponse) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
+// The exceptions that are applied on the policy.
+func (o ManagedRulesDefinitionOutput) Exceptions() ExceptionEntryArrayOutput {
+ return o.ApplyT(func(v ManagedRulesDefinition) []ExceptionEntry { return v.Exceptions }).(ExceptionEntryArrayOutput)
}
-type GroupMembersItemResponseArrayOutput struct{ *pulumi.OutputState }
+// The Exclusions that are applied on the policy.
+func (o ManagedRulesDefinitionOutput) Exclusions() OwaspCrsExclusionEntryArrayOutput {
+ return o.ApplyT(func(v ManagedRulesDefinition) []OwaspCrsExclusionEntry { return v.Exclusions }).(OwaspCrsExclusionEntryArrayOutput)
+}
-func (GroupMembersItemResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]GroupMembersItemResponse)(nil)).Elem()
+// The managed rule sets that are associated with the policy.
+func (o ManagedRulesDefinitionOutput) ManagedRuleSets() ManagedRuleSetArrayOutput {
+ return o.ApplyT(func(v ManagedRulesDefinition) []ManagedRuleSet { return v.ManagedRuleSets }).(ManagedRuleSetArrayOutput)
}
-func (o GroupMembersItemResponseArrayOutput) ToGroupMembersItemResponseArrayOutput() GroupMembersItemResponseArrayOutput {
+// Allow to exclude some variable satisfy the condition for the WAF check.
+type ManagedRulesDefinitionResponse struct {
+ // The exceptions that are applied on the policy.
+ Exceptions []ExceptionEntryResponse `pulumi:"exceptions"`
+ // The Exclusions that are applied on the policy.
+ Exclusions []OwaspCrsExclusionEntryResponse `pulumi:"exclusions"`
+ // The managed rule sets that are associated with the policy.
+ ManagedRuleSets []ManagedRuleSetResponse `pulumi:"managedRuleSets"`
+}
+
+// Allow to exclude some variable satisfy the condition for the WAF check.
+type ManagedRulesDefinitionResponseOutput struct{ *pulumi.OutputState }
+
+func (ManagedRulesDefinitionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedRulesDefinitionResponse)(nil)).Elem()
+}
+
+func (o ManagedRulesDefinitionResponseOutput) ToManagedRulesDefinitionResponseOutput() ManagedRulesDefinitionResponseOutput {
return o
}
-func (o GroupMembersItemResponseArrayOutput) ToGroupMembersItemResponseArrayOutputWithContext(ctx context.Context) GroupMembersItemResponseArrayOutput {
+func (o ManagedRulesDefinitionResponseOutput) ToManagedRulesDefinitionResponseOutputWithContext(ctx context.Context) ManagedRulesDefinitionResponseOutput {
return o
}
-func (o GroupMembersItemResponseArrayOutput) Index(i pulumi.IntInput) GroupMembersItemResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupMembersItemResponse {
- return vs[0].([]GroupMembersItemResponse)[vs[1].(int)]
- }).(GroupMembersItemResponseOutput)
+// The exceptions that are applied on the policy.
+func (o ManagedRulesDefinitionResponseOutput) Exceptions() ExceptionEntryResponseArrayOutput {
+ return o.ApplyT(func(v ManagedRulesDefinitionResponse) []ExceptionEntryResponse { return v.Exceptions }).(ExceptionEntryResponseArrayOutput)
}
-// The HTTP header.
-type HTTPHeader struct {
- // The name in HTTP header.
- Name *string `pulumi:"name"`
- // The value in HTTP header.
- Value *string `pulumi:"value"`
+// The Exclusions that are applied on the policy.
+func (o ManagedRulesDefinitionResponseOutput) Exclusions() OwaspCrsExclusionEntryResponseArrayOutput {
+ return o.ApplyT(func(v ManagedRulesDefinitionResponse) []OwaspCrsExclusionEntryResponse { return v.Exclusions }).(OwaspCrsExclusionEntryResponseArrayOutput)
}
-// HTTPHeaderInput is an input type that accepts HTTPHeaderArgs and HTTPHeaderOutput values.
-// You can construct a concrete instance of `HTTPHeaderInput` via:
+// The managed rule sets that are associated with the policy.
+func (o ManagedRulesDefinitionResponseOutput) ManagedRuleSets() ManagedRuleSetResponseArrayOutput {
+ return o.ApplyT(func(v ManagedRulesDefinitionResponse) []ManagedRuleSetResponse { return v.ManagedRuleSets }).(ManagedRuleSetResponseArrayOutput)
+}
+
+// Identity for the resource.
+type ManagedServiceIdentity struct {
+ // The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
+ Type *ResourceIdentityType `pulumi:"type"`
+ // The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+ UserAssignedIdentities []string `pulumi:"userAssignedIdentities"`
+}
+
+// ManagedServiceIdentityInput is an input type that accepts ManagedServiceIdentityArgs and ManagedServiceIdentityOutput values.
+// You can construct a concrete instance of `ManagedServiceIdentityInput` via:
//
-// HTTPHeaderArgs{...}
-type HTTPHeaderInput interface {
+// ManagedServiceIdentityArgs{...}
+type ManagedServiceIdentityInput interface {
pulumi.Input
- ToHTTPHeaderOutput() HTTPHeaderOutput
- ToHTTPHeaderOutputWithContext(context.Context) HTTPHeaderOutput
+ ToManagedServiceIdentityOutput() ManagedServiceIdentityOutput
+ ToManagedServiceIdentityOutputWithContext(context.Context) ManagedServiceIdentityOutput
}
-// The HTTP header.
-type HTTPHeaderArgs struct {
- // The name in HTTP header.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The value in HTTP header.
- Value pulumi.StringPtrInput `pulumi:"value"`
+// Identity for the resource.
+type ManagedServiceIdentityArgs struct {
+ // The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
+ Type ResourceIdentityTypePtrInput `pulumi:"type"`
+ // The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+ UserAssignedIdentities pulumi.StringArrayInput `pulumi:"userAssignedIdentities"`
+}
+
+func (ManagedServiceIdentityArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedServiceIdentity)(nil)).Elem()
+}
+
+func (i ManagedServiceIdentityArgs) ToManagedServiceIdentityOutput() ManagedServiceIdentityOutput {
+ return i.ToManagedServiceIdentityOutputWithContext(context.Background())
}
-func (HTTPHeaderArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*HTTPHeader)(nil)).Elem()
+func (i ManagedServiceIdentityArgs) ToManagedServiceIdentityOutputWithContext(ctx context.Context) ManagedServiceIdentityOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ManagedServiceIdentityOutput)
}
-func (i HTTPHeaderArgs) ToHTTPHeaderOutput() HTTPHeaderOutput {
- return i.ToHTTPHeaderOutputWithContext(context.Background())
+func (i ManagedServiceIdentityArgs) ToManagedServiceIdentityPtrOutput() ManagedServiceIdentityPtrOutput {
+ return i.ToManagedServiceIdentityPtrOutputWithContext(context.Background())
}
-func (i HTTPHeaderArgs) ToHTTPHeaderOutputWithContext(ctx context.Context) HTTPHeaderOutput {
- return pulumi.ToOutputWithContext(ctx, i).(HTTPHeaderOutput)
+func (i ManagedServiceIdentityArgs) ToManagedServiceIdentityPtrOutputWithContext(ctx context.Context) ManagedServiceIdentityPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ManagedServiceIdentityOutput).ToManagedServiceIdentityPtrOutputWithContext(ctx)
}
-// HTTPHeaderArrayInput is an input type that accepts HTTPHeaderArray and HTTPHeaderArrayOutput values.
-// You can construct a concrete instance of `HTTPHeaderArrayInput` via:
+// ManagedServiceIdentityPtrInput is an input type that accepts ManagedServiceIdentityArgs, ManagedServiceIdentityPtr and ManagedServiceIdentityPtrOutput values.
+// You can construct a concrete instance of `ManagedServiceIdentityPtrInput` via:
//
-// HTTPHeaderArray{ HTTPHeaderArgs{...} }
-type HTTPHeaderArrayInput interface {
+// ManagedServiceIdentityArgs{...}
+//
+// or:
+//
+// nil
+type ManagedServiceIdentityPtrInput interface {
pulumi.Input
- ToHTTPHeaderArrayOutput() HTTPHeaderArrayOutput
- ToHTTPHeaderArrayOutputWithContext(context.Context) HTTPHeaderArrayOutput
+ ToManagedServiceIdentityPtrOutput() ManagedServiceIdentityPtrOutput
+ ToManagedServiceIdentityPtrOutputWithContext(context.Context) ManagedServiceIdentityPtrOutput
}
-type HTTPHeaderArray []HTTPHeaderInput
+type managedServiceIdentityPtrType ManagedServiceIdentityArgs
-func (HTTPHeaderArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]HTTPHeader)(nil)).Elem()
+func ManagedServiceIdentityPtr(v *ManagedServiceIdentityArgs) ManagedServiceIdentityPtrInput {
+ return (*managedServiceIdentityPtrType)(v)
}
-func (i HTTPHeaderArray) ToHTTPHeaderArrayOutput() HTTPHeaderArrayOutput {
- return i.ToHTTPHeaderArrayOutputWithContext(context.Background())
+func (*managedServiceIdentityPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ManagedServiceIdentity)(nil)).Elem()
}
-func (i HTTPHeaderArray) ToHTTPHeaderArrayOutputWithContext(ctx context.Context) HTTPHeaderArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(HTTPHeaderArrayOutput)
+func (i *managedServiceIdentityPtrType) ToManagedServiceIdentityPtrOutput() ManagedServiceIdentityPtrOutput {
+ return i.ToManagedServiceIdentityPtrOutputWithContext(context.Background())
}
-// The HTTP header.
-type HTTPHeaderOutput struct{ *pulumi.OutputState }
+func (i *managedServiceIdentityPtrType) ToManagedServiceIdentityPtrOutputWithContext(ctx context.Context) ManagedServiceIdentityPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ManagedServiceIdentityPtrOutput)
+}
-func (HTTPHeaderOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*HTTPHeader)(nil)).Elem()
+// Identity for the resource.
+type ManagedServiceIdentityOutput struct{ *pulumi.OutputState }
+
+func (ManagedServiceIdentityOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedServiceIdentity)(nil)).Elem()
}
-func (o HTTPHeaderOutput) ToHTTPHeaderOutput() HTTPHeaderOutput {
+func (o ManagedServiceIdentityOutput) ToManagedServiceIdentityOutput() ManagedServiceIdentityOutput {
return o
}
-func (o HTTPHeaderOutput) ToHTTPHeaderOutputWithContext(ctx context.Context) HTTPHeaderOutput {
+func (o ManagedServiceIdentityOutput) ToManagedServiceIdentityOutputWithContext(ctx context.Context) ManagedServiceIdentityOutput {
return o
}
-// The name in HTTP header.
-func (o HTTPHeaderOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v HTTPHeader) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o ManagedServiceIdentityOutput) ToManagedServiceIdentityPtrOutput() ManagedServiceIdentityPtrOutput {
+ return o.ToManagedServiceIdentityPtrOutputWithContext(context.Background())
}
-// The value in HTTP header.
-func (o HTTPHeaderOutput) Value() pulumi.StringPtrOutput {
- return o.ApplyT(func(v HTTPHeader) *string { return v.Value }).(pulumi.StringPtrOutput)
+func (o ManagedServiceIdentityOutput) ToManagedServiceIdentityPtrOutputWithContext(ctx context.Context) ManagedServiceIdentityPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ManagedServiceIdentity) *ManagedServiceIdentity {
+ return &v
+ }).(ManagedServiceIdentityPtrOutput)
}
-type HTTPHeaderArrayOutput struct{ *pulumi.OutputState }
+// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
+func (o ManagedServiceIdentityOutput) Type() ResourceIdentityTypePtrOutput {
+ return o.ApplyT(func(v ManagedServiceIdentity) *ResourceIdentityType { return v.Type }).(ResourceIdentityTypePtrOutput)
+}
-func (HTTPHeaderArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]HTTPHeader)(nil)).Elem()
+// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+func (o ManagedServiceIdentityOutput) UserAssignedIdentities() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ManagedServiceIdentity) []string { return v.UserAssignedIdentities }).(pulumi.StringArrayOutput)
}
-func (o HTTPHeaderArrayOutput) ToHTTPHeaderArrayOutput() HTTPHeaderArrayOutput {
+type ManagedServiceIdentityPtrOutput struct{ *pulumi.OutputState }
+
+func (ManagedServiceIdentityPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ManagedServiceIdentity)(nil)).Elem()
+}
+
+func (o ManagedServiceIdentityPtrOutput) ToManagedServiceIdentityPtrOutput() ManagedServiceIdentityPtrOutput {
return o
}
-func (o HTTPHeaderArrayOutput) ToHTTPHeaderArrayOutputWithContext(ctx context.Context) HTTPHeaderArrayOutput {
+func (o ManagedServiceIdentityPtrOutput) ToManagedServiceIdentityPtrOutputWithContext(ctx context.Context) ManagedServiceIdentityPtrOutput {
return o
}
-func (o HTTPHeaderArrayOutput) Index(i pulumi.IntInput) HTTPHeaderOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) HTTPHeader {
- return vs[0].([]HTTPHeader)[vs[1].(int)]
- }).(HTTPHeaderOutput)
+func (o ManagedServiceIdentityPtrOutput) Elem() ManagedServiceIdentityOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentity) ManagedServiceIdentity {
+ if v != nil {
+ return *v
+ }
+ var ret ManagedServiceIdentity
+ return ret
+ }).(ManagedServiceIdentityOutput)
}
-// The HTTP header.
-type HTTPHeaderResponse struct {
- // The name in HTTP header.
- Name *string `pulumi:"name"`
- // The value in HTTP header.
- Value *string `pulumi:"value"`
+// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
+func (o ManagedServiceIdentityPtrOutput) Type() ResourceIdentityTypePtrOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentity) *ResourceIdentityType {
+ if v == nil {
+ return nil
+ }
+ return v.Type
+ }).(ResourceIdentityTypePtrOutput)
}
-// The HTTP header.
-type HTTPHeaderResponseOutput struct{ *pulumi.OutputState }
+// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+func (o ManagedServiceIdentityPtrOutput) UserAssignedIdentities() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentity) []string {
+ if v == nil {
+ return nil
+ }
+ return v.UserAssignedIdentities
+ }).(pulumi.StringArrayOutput)
+}
-func (HTTPHeaderResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*HTTPHeaderResponse)(nil)).Elem()
+// Identity for the resource.
+type ManagedServiceIdentityResponse struct {
+ // The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
+ PrincipalId string `pulumi:"principalId"`
+ // The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
+ TenantId string `pulumi:"tenantId"`
+ // The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
+ Type *string `pulumi:"type"`
+ // The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+ UserAssignedIdentities map[string]ManagedServiceIdentityResponseUserAssignedIdentities `pulumi:"userAssignedIdentities"`
}
-func (o HTTPHeaderResponseOutput) ToHTTPHeaderResponseOutput() HTTPHeaderResponseOutput {
+// Identity for the resource.
+type ManagedServiceIdentityResponseOutput struct{ *pulumi.OutputState }
+
+func (ManagedServiceIdentityResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedServiceIdentityResponse)(nil)).Elem()
+}
+
+func (o ManagedServiceIdentityResponseOutput) ToManagedServiceIdentityResponseOutput() ManagedServiceIdentityResponseOutput {
return o
}
-func (o HTTPHeaderResponseOutput) ToHTTPHeaderResponseOutputWithContext(ctx context.Context) HTTPHeaderResponseOutput {
+func (o ManagedServiceIdentityResponseOutput) ToManagedServiceIdentityResponseOutputWithContext(ctx context.Context) ManagedServiceIdentityResponseOutput {
return o
}
-// The name in HTTP header.
-func (o HTTPHeaderResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v HTTPHeaderResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
+func (o ManagedServiceIdentityResponseOutput) PrincipalId() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedServiceIdentityResponse) string { return v.PrincipalId }).(pulumi.StringOutput)
}
-// The value in HTTP header.
-func (o HTTPHeaderResponseOutput) Value() pulumi.StringPtrOutput {
- return o.ApplyT(func(v HTTPHeaderResponse) *string { return v.Value }).(pulumi.StringPtrOutput)
+// The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
+func (o ManagedServiceIdentityResponseOutput) TenantId() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedServiceIdentityResponse) string { return v.TenantId }).(pulumi.StringOutput)
}
-type HTTPHeaderResponseArrayOutput struct{ *pulumi.OutputState }
+// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
+func (o ManagedServiceIdentityResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ManagedServiceIdentityResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+}
-func (HTTPHeaderResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]HTTPHeaderResponse)(nil)).Elem()
+// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+func (o ManagedServiceIdentityResponseOutput) UserAssignedIdentities() ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput {
+ return o.ApplyT(func(v ManagedServiceIdentityResponse) map[string]ManagedServiceIdentityResponseUserAssignedIdentities {
+ return v.UserAssignedIdentities
+ }).(ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput)
}
-func (o HTTPHeaderResponseArrayOutput) ToHTTPHeaderResponseArrayOutput() HTTPHeaderResponseArrayOutput {
- return o
+type ManagedServiceIdentityResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (ManagedServiceIdentityResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ManagedServiceIdentityResponse)(nil)).Elem()
}
-func (o HTTPHeaderResponseArrayOutput) ToHTTPHeaderResponseArrayOutputWithContext(ctx context.Context) HTTPHeaderResponseArrayOutput {
+func (o ManagedServiceIdentityResponsePtrOutput) ToManagedServiceIdentityResponsePtrOutput() ManagedServiceIdentityResponsePtrOutput {
return o
}
-func (o HTTPHeaderResponseArrayOutput) Index(i pulumi.IntInput) HTTPHeaderResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) HTTPHeaderResponse {
- return vs[0].([]HTTPHeaderResponse)[vs[1].(int)]
- }).(HTTPHeaderResponseOutput)
+func (o ManagedServiceIdentityResponsePtrOutput) ToManagedServiceIdentityResponsePtrOutputWithContext(ctx context.Context) ManagedServiceIdentityResponsePtrOutput {
+ return o
}
-// An optional field under "Rewrite Action". It lets you capture and modify the value(s) of a specific header when multiple headers with the same name exist. Currently supported for Set-Cookie Response header only. For more details, visit https://aka.ms/appgwheadercrud
-type HeaderValueMatcher struct {
- // Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
- IgnoreCase *bool `pulumi:"ignoreCase"`
- // Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.
- Negate *bool `pulumi:"negate"`
- // The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.
- Pattern *string `pulumi:"pattern"`
+func (o ManagedServiceIdentityResponsePtrOutput) Elem() ManagedServiceIdentityResponseOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentityResponse) ManagedServiceIdentityResponse {
+ if v != nil {
+ return *v
+ }
+ var ret ManagedServiceIdentityResponse
+ return ret
+ }).(ManagedServiceIdentityResponseOutput)
}
-// HeaderValueMatcherInput is an input type that accepts HeaderValueMatcherArgs and HeaderValueMatcherOutput values.
-// You can construct a concrete instance of `HeaderValueMatcherInput` via:
-//
-// HeaderValueMatcherArgs{...}
-type HeaderValueMatcherInput interface {
- pulumi.Input
+// The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
+func (o ManagedServiceIdentityResponsePtrOutput) PrincipalId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentityResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.PrincipalId
+ }).(pulumi.StringPtrOutput)
+}
- ToHeaderValueMatcherOutput() HeaderValueMatcherOutput
- ToHeaderValueMatcherOutputWithContext(context.Context) HeaderValueMatcherOutput
+// The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
+func (o ManagedServiceIdentityResponsePtrOutput) TenantId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentityResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.TenantId
+ }).(pulumi.StringPtrOutput)
}
-// An optional field under "Rewrite Action". It lets you capture and modify the value(s) of a specific header when multiple headers with the same name exist. Currently supported for Set-Cookie Response header only. For more details, visit https://aka.ms/appgwheadercrud
-type HeaderValueMatcherArgs struct {
- // Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
- IgnoreCase pulumi.BoolPtrInput `pulumi:"ignoreCase"`
- // Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.
- Negate pulumi.BoolPtrInput `pulumi:"negate"`
- // The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.
- Pattern pulumi.StringPtrInput `pulumi:"pattern"`
+// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
+func (o ManagedServiceIdentityResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentityResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Type
+ }).(pulumi.StringPtrOutput)
}
-func (HeaderValueMatcherArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*HeaderValueMatcher)(nil)).Elem()
+// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+func (o ManagedServiceIdentityResponsePtrOutput) UserAssignedIdentities() ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentityResponse) map[string]ManagedServiceIdentityResponseUserAssignedIdentities {
+ if v == nil {
+ return nil
+ }
+ return v.UserAssignedIdentities
+ }).(ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput)
}
-func (i HeaderValueMatcherArgs) ToHeaderValueMatcherOutput() HeaderValueMatcherOutput {
- return i.ToHeaderValueMatcherOutputWithContext(context.Background())
+type ManagedServiceIdentityResponseUserAssignedIdentities struct {
+ // The client id of user assigned identity.
+ ClientId string `pulumi:"clientId"`
+ // The principal id of user assigned identity.
+ PrincipalId string `pulumi:"principalId"`
}
-func (i HeaderValueMatcherArgs) ToHeaderValueMatcherOutputWithContext(ctx context.Context) HeaderValueMatcherOutput {
- return pulumi.ToOutputWithContext(ctx, i).(HeaderValueMatcherOutput)
+type ManagedServiceIdentityResponseUserAssignedIdentitiesOutput struct{ *pulumi.OutputState }
+
+func (ManagedServiceIdentityResponseUserAssignedIdentitiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedServiceIdentityResponseUserAssignedIdentities)(nil)).Elem()
}
-func (i HeaderValueMatcherArgs) ToHeaderValueMatcherPtrOutput() HeaderValueMatcherPtrOutput {
- return i.ToHeaderValueMatcherPtrOutputWithContext(context.Background())
+func (o ManagedServiceIdentityResponseUserAssignedIdentitiesOutput) ToManagedServiceIdentityResponseUserAssignedIdentitiesOutput() ManagedServiceIdentityResponseUserAssignedIdentitiesOutput {
+ return o
}
-func (i HeaderValueMatcherArgs) ToHeaderValueMatcherPtrOutputWithContext(ctx context.Context) HeaderValueMatcherPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(HeaderValueMatcherOutput).ToHeaderValueMatcherPtrOutputWithContext(ctx)
+func (o ManagedServiceIdentityResponseUserAssignedIdentitiesOutput) ToManagedServiceIdentityResponseUserAssignedIdentitiesOutputWithContext(ctx context.Context) ManagedServiceIdentityResponseUserAssignedIdentitiesOutput {
+ return o
}
-// HeaderValueMatcherPtrInput is an input type that accepts HeaderValueMatcherArgs, HeaderValueMatcherPtr and HeaderValueMatcherPtrOutput values.
-// You can construct a concrete instance of `HeaderValueMatcherPtrInput` via:
-//
-// HeaderValueMatcherArgs{...}
-//
-// or:
-//
-// nil
-type HeaderValueMatcherPtrInput interface {
- pulumi.Input
+// The client id of user assigned identity.
+func (o ManagedServiceIdentityResponseUserAssignedIdentitiesOutput) ClientId() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedServiceIdentityResponseUserAssignedIdentities) string { return v.ClientId }).(pulumi.StringOutput)
+}
- ToHeaderValueMatcherPtrOutput() HeaderValueMatcherPtrOutput
- ToHeaderValueMatcherPtrOutputWithContext(context.Context) HeaderValueMatcherPtrOutput
+// The principal id of user assigned identity.
+func (o ManagedServiceIdentityResponseUserAssignedIdentitiesOutput) PrincipalId() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedServiceIdentityResponseUserAssignedIdentities) string { return v.PrincipalId }).(pulumi.StringOutput)
}
-type headerValueMatcherPtrType HeaderValueMatcherArgs
+type ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput struct{ *pulumi.OutputState }
-func HeaderValueMatcherPtr(v *HeaderValueMatcherArgs) HeaderValueMatcherPtrInput {
- return (*headerValueMatcherPtrType)(v)
+func (ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*map[string]ManagedServiceIdentityResponseUserAssignedIdentities)(nil)).Elem()
}
-func (*headerValueMatcherPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**HeaderValueMatcher)(nil)).Elem()
+func (o ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput) ToManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput() ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput {
+ return o
}
-func (i *headerValueMatcherPtrType) ToHeaderValueMatcherPtrOutput() HeaderValueMatcherPtrOutput {
- return i.ToHeaderValueMatcherPtrOutputWithContext(context.Background())
+func (o ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput) ToManagedServiceIdentityResponseUserAssignedIdentitiesMapOutputWithContext(ctx context.Context) ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput {
+ return o
}
-func (i *headerValueMatcherPtrType) ToHeaderValueMatcherPtrOutputWithContext(ctx context.Context) HeaderValueMatcherPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(HeaderValueMatcherPtrOutput)
+func (o ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput) MapIndex(k pulumi.StringInput) ManagedServiceIdentityResponseUserAssignedIdentitiesOutput {
+ return pulumi.All(o, k).ApplyT(func(vs []interface{}) ManagedServiceIdentityResponseUserAssignedIdentities {
+ return vs[0].(map[string]ManagedServiceIdentityResponseUserAssignedIdentities)[vs[1].(string)]
+ }).(ManagedServiceIdentityResponseUserAssignedIdentitiesOutput)
}
-// An optional field under "Rewrite Action". It lets you capture and modify the value(s) of a specific header when multiple headers with the same name exist. Currently supported for Set-Cookie Response header only. For more details, visit https://aka.ms/appgwheadercrud
-type HeaderValueMatcherOutput struct{ *pulumi.OutputState }
-
-func (HeaderValueMatcherOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*HeaderValueMatcher)(nil)).Elem()
+// Identity for the resource.
+type ManagedServiceIdentityServiceGatewayResponse struct {
+ // The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
+ PrincipalId string `pulumi:"principalId"`
+ // The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
+ TenantId string `pulumi:"tenantId"`
+ // The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
+ Type *string `pulumi:"type"`
+ // The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+ UserAssignedIdentities map[string]ManagedServiceIdentityUserAssignedIdentitiesResponse `pulumi:"userAssignedIdentities"`
}
-func (o HeaderValueMatcherOutput) ToHeaderValueMatcherOutput() HeaderValueMatcherOutput {
- return o
+// Identity for the resource.
+type ManagedServiceIdentityServiceGatewayResponseOutput struct{ *pulumi.OutputState }
+
+func (ManagedServiceIdentityServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedServiceIdentityServiceGatewayResponse)(nil)).Elem()
}
-func (o HeaderValueMatcherOutput) ToHeaderValueMatcherOutputWithContext(ctx context.Context) HeaderValueMatcherOutput {
+func (o ManagedServiceIdentityServiceGatewayResponseOutput) ToManagedServiceIdentityServiceGatewayResponseOutput() ManagedServiceIdentityServiceGatewayResponseOutput {
return o
}
-func (o HeaderValueMatcherOutput) ToHeaderValueMatcherPtrOutput() HeaderValueMatcherPtrOutput {
- return o.ToHeaderValueMatcherPtrOutputWithContext(context.Background())
+func (o ManagedServiceIdentityServiceGatewayResponseOutput) ToManagedServiceIdentityServiceGatewayResponseOutputWithContext(ctx context.Context) ManagedServiceIdentityServiceGatewayResponseOutput {
+ return o
}
-func (o HeaderValueMatcherOutput) ToHeaderValueMatcherPtrOutputWithContext(ctx context.Context) HeaderValueMatcherPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v HeaderValueMatcher) *HeaderValueMatcher {
- return &v
- }).(HeaderValueMatcherPtrOutput)
+// The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
+func (o ManagedServiceIdentityServiceGatewayResponseOutput) PrincipalId() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedServiceIdentityServiceGatewayResponse) string { return v.PrincipalId }).(pulumi.StringOutput)
}
-// Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
-func (o HeaderValueMatcherOutput) IgnoreCase() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v HeaderValueMatcher) *bool { return v.IgnoreCase }).(pulumi.BoolPtrOutput)
+// The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
+func (o ManagedServiceIdentityServiceGatewayResponseOutput) TenantId() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedServiceIdentityServiceGatewayResponse) string { return v.TenantId }).(pulumi.StringOutput)
}
-// Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.
-func (o HeaderValueMatcherOutput) Negate() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v HeaderValueMatcher) *bool { return v.Negate }).(pulumi.BoolPtrOutput)
+// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
+func (o ManagedServiceIdentityServiceGatewayResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ManagedServiceIdentityServiceGatewayResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.
-func (o HeaderValueMatcherOutput) Pattern() pulumi.StringPtrOutput {
- return o.ApplyT(func(v HeaderValueMatcher) *string { return v.Pattern }).(pulumi.StringPtrOutput)
+// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+func (o ManagedServiceIdentityServiceGatewayResponseOutput) UserAssignedIdentities() ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput {
+ return o.ApplyT(func(v ManagedServiceIdentityServiceGatewayResponse) map[string]ManagedServiceIdentityUserAssignedIdentitiesResponse {
+ return v.UserAssignedIdentities
+ }).(ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput)
}
-type HeaderValueMatcherPtrOutput struct{ *pulumi.OutputState }
+type ManagedServiceIdentityServiceGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-func (HeaderValueMatcherPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**HeaderValueMatcher)(nil)).Elem()
+func (ManagedServiceIdentityServiceGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ManagedServiceIdentityServiceGatewayResponse)(nil)).Elem()
}
-func (o HeaderValueMatcherPtrOutput) ToHeaderValueMatcherPtrOutput() HeaderValueMatcherPtrOutput {
+func (o ManagedServiceIdentityServiceGatewayResponsePtrOutput) ToManagedServiceIdentityServiceGatewayResponsePtrOutput() ManagedServiceIdentityServiceGatewayResponsePtrOutput {
return o
}
-func (o HeaderValueMatcherPtrOutput) ToHeaderValueMatcherPtrOutputWithContext(ctx context.Context) HeaderValueMatcherPtrOutput {
+func (o ManagedServiceIdentityServiceGatewayResponsePtrOutput) ToManagedServiceIdentityServiceGatewayResponsePtrOutputWithContext(ctx context.Context) ManagedServiceIdentityServiceGatewayResponsePtrOutput {
return o
}
-func (o HeaderValueMatcherPtrOutput) Elem() HeaderValueMatcherOutput {
- return o.ApplyT(func(v *HeaderValueMatcher) HeaderValueMatcher {
+func (o ManagedServiceIdentityServiceGatewayResponsePtrOutput) Elem() ManagedServiceIdentityServiceGatewayResponseOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentityServiceGatewayResponse) ManagedServiceIdentityServiceGatewayResponse {
if v != nil {
return *v
}
- var ret HeaderValueMatcher
+ var ret ManagedServiceIdentityServiceGatewayResponse
return ret
- }).(HeaderValueMatcherOutput)
+ }).(ManagedServiceIdentityServiceGatewayResponseOutput)
}
-// Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
-func (o HeaderValueMatcherPtrOutput) IgnoreCase() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *HeaderValueMatcher) *bool {
+// The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
+func (o ManagedServiceIdentityServiceGatewayResponsePtrOutput) PrincipalId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentityServiceGatewayResponse) *string {
if v == nil {
return nil
}
- return v.IgnoreCase
- }).(pulumi.BoolPtrOutput)
+ return &v.PrincipalId
+ }).(pulumi.StringPtrOutput)
}
-// Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.
-func (o HeaderValueMatcherPtrOutput) Negate() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *HeaderValueMatcher) *bool {
+// The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
+func (o ManagedServiceIdentityServiceGatewayResponsePtrOutput) TenantId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentityServiceGatewayResponse) *string {
if v == nil {
return nil
}
- return v.Negate
- }).(pulumi.BoolPtrOutput)
+ return &v.TenantId
+ }).(pulumi.StringPtrOutput)
}
-// The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.
-func (o HeaderValueMatcherPtrOutput) Pattern() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *HeaderValueMatcher) *string {
+// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
+func (o ManagedServiceIdentityServiceGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentityServiceGatewayResponse) *string {
if v == nil {
return nil
}
- return v.Pattern
+ return v.Type
}).(pulumi.StringPtrOutput)
}
-// An optional field under "Rewrite Action". It lets you capture and modify the value(s) of a specific header when multiple headers with the same name exist. Currently supported for Set-Cookie Response header only. For more details, visit https://aka.ms/appgwheadercrud
-type HeaderValueMatcherResponse struct {
- // Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
- IgnoreCase *bool `pulumi:"ignoreCase"`
- // Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.
- Negate *bool `pulumi:"negate"`
- // The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.
- Pattern *string `pulumi:"pattern"`
+// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+func (o ManagedServiceIdentityServiceGatewayResponsePtrOutput) UserAssignedIdentities() ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentityServiceGatewayResponse) map[string]ManagedServiceIdentityUserAssignedIdentitiesResponse {
+ if v == nil {
+ return nil
+ }
+ return v.UserAssignedIdentities
+ }).(ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput)
}
-// An optional field under "Rewrite Action". It lets you capture and modify the value(s) of a specific header when multiple headers with the same name exist. Currently supported for Set-Cookie Response header only. For more details, visit https://aka.ms/appgwheadercrud
-type HeaderValueMatcherResponseOutput struct{ *pulumi.OutputState }
+type ManagedServiceIdentityUserAssignedIdentitiesResponse struct {
+ // The client id of user assigned identity.
+ ClientId string `pulumi:"clientId"`
+ // The principal id of user assigned identity.
+ PrincipalId string `pulumi:"principalId"`
+}
-func (HeaderValueMatcherResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*HeaderValueMatcherResponse)(nil)).Elem()
+type ManagedServiceIdentityUserAssignedIdentitiesResponseOutput struct{ *pulumi.OutputState }
+
+func (ManagedServiceIdentityUserAssignedIdentitiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedServiceIdentityUserAssignedIdentitiesResponse)(nil)).Elem()
}
-func (o HeaderValueMatcherResponseOutput) ToHeaderValueMatcherResponseOutput() HeaderValueMatcherResponseOutput {
+func (o ManagedServiceIdentityUserAssignedIdentitiesResponseOutput) ToManagedServiceIdentityUserAssignedIdentitiesResponseOutput() ManagedServiceIdentityUserAssignedIdentitiesResponseOutput {
return o
}
-func (o HeaderValueMatcherResponseOutput) ToHeaderValueMatcherResponseOutputWithContext(ctx context.Context) HeaderValueMatcherResponseOutput {
+func (o ManagedServiceIdentityUserAssignedIdentitiesResponseOutput) ToManagedServiceIdentityUserAssignedIdentitiesResponseOutputWithContext(ctx context.Context) ManagedServiceIdentityUserAssignedIdentitiesResponseOutput {
return o
}
-// Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
-func (o HeaderValueMatcherResponseOutput) IgnoreCase() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v HeaderValueMatcherResponse) *bool { return v.IgnoreCase }).(pulumi.BoolPtrOutput)
+// The client id of user assigned identity.
+func (o ManagedServiceIdentityUserAssignedIdentitiesResponseOutput) ClientId() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedServiceIdentityUserAssignedIdentitiesResponse) string { return v.ClientId }).(pulumi.StringOutput)
}
-// Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.
-func (o HeaderValueMatcherResponseOutput) Negate() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v HeaderValueMatcherResponse) *bool { return v.Negate }).(pulumi.BoolPtrOutput)
+// The principal id of user assigned identity.
+func (o ManagedServiceIdentityUserAssignedIdentitiesResponseOutput) PrincipalId() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedServiceIdentityUserAssignedIdentitiesResponse) string { return v.PrincipalId }).(pulumi.StringOutput)
}
-// The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.
-func (o HeaderValueMatcherResponseOutput) Pattern() pulumi.StringPtrOutput {
- return o.ApplyT(func(v HeaderValueMatcherResponse) *string { return v.Pattern }).(pulumi.StringPtrOutput)
+type ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput struct{ *pulumi.OutputState }
+
+func (ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*map[string]ManagedServiceIdentityUserAssignedIdentitiesResponse)(nil)).Elem()
}
-type HeaderValueMatcherResponsePtrOutput struct{ *pulumi.OutputState }
+func (o ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput) ToManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput() ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput {
+ return o
+}
-func (HeaderValueMatcherResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**HeaderValueMatcherResponse)(nil)).Elem()
+func (o ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput) ToManagedServiceIdentityUserAssignedIdentitiesResponseMapOutputWithContext(ctx context.Context) ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput {
+ return o
}
-func (o HeaderValueMatcherResponsePtrOutput) ToHeaderValueMatcherResponsePtrOutput() HeaderValueMatcherResponsePtrOutput {
+func (o ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput) MapIndex(k pulumi.StringInput) ManagedServiceIdentityUserAssignedIdentitiesResponseOutput {
+ return pulumi.All(o, k).ApplyT(func(vs []interface{}) ManagedServiceIdentityUserAssignedIdentitiesResponse {
+ return vs[0].(map[string]ManagedServiceIdentityUserAssignedIdentitiesResponse)[vs[1].(string)]
+ }).(ManagedServiceIdentityUserAssignedIdentitiesResponseOutput)
+}
+
+// Identity for the resource.
+type ManagedServiceIdentityVirtualNetworkApplianceResponse struct {
+ // The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
+ PrincipalId string `pulumi:"principalId"`
+ // The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
+ TenantId string `pulumi:"tenantId"`
+ // The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
+ Type *string `pulumi:"type"`
+ // The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+ UserAssignedIdentities map[string]ManagedServiceIdentityUserAssignedIdentitiesResponse `pulumi:"userAssignedIdentities"`
+}
+
+// Identity for the resource.
+type ManagedServiceIdentityVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
+
+func (ManagedServiceIdentityVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ManagedServiceIdentityVirtualNetworkApplianceResponse)(nil)).Elem()
+}
+
+func (o ManagedServiceIdentityVirtualNetworkApplianceResponseOutput) ToManagedServiceIdentityVirtualNetworkApplianceResponseOutput() ManagedServiceIdentityVirtualNetworkApplianceResponseOutput {
return o
}
-func (o HeaderValueMatcherResponsePtrOutput) ToHeaderValueMatcherResponsePtrOutputWithContext(ctx context.Context) HeaderValueMatcherResponsePtrOutput {
+func (o ManagedServiceIdentityVirtualNetworkApplianceResponseOutput) ToManagedServiceIdentityVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) ManagedServiceIdentityVirtualNetworkApplianceResponseOutput {
return o
}
-func (o HeaderValueMatcherResponsePtrOutput) Elem() HeaderValueMatcherResponseOutput {
- return o.ApplyT(func(v *HeaderValueMatcherResponse) HeaderValueMatcherResponse {
+// The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
+func (o ManagedServiceIdentityVirtualNetworkApplianceResponseOutput) PrincipalId() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedServiceIdentityVirtualNetworkApplianceResponse) string { return v.PrincipalId }).(pulumi.StringOutput)
+}
+
+// The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
+func (o ManagedServiceIdentityVirtualNetworkApplianceResponseOutput) TenantId() pulumi.StringOutput {
+ return o.ApplyT(func(v ManagedServiceIdentityVirtualNetworkApplianceResponse) string { return v.TenantId }).(pulumi.StringOutput)
+}
+
+// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
+func (o ManagedServiceIdentityVirtualNetworkApplianceResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ManagedServiceIdentityVirtualNetworkApplianceResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+}
+
+// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+func (o ManagedServiceIdentityVirtualNetworkApplianceResponseOutput) UserAssignedIdentities() ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput {
+ return o.ApplyT(func(v ManagedServiceIdentityVirtualNetworkApplianceResponse) map[string]ManagedServiceIdentityUserAssignedIdentitiesResponse {
+ return v.UserAssignedIdentities
+ }).(ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput)
+}
+
+type ManagedServiceIdentityVirtualNetworkApplianceResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (ManagedServiceIdentityVirtualNetworkApplianceResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ManagedServiceIdentityVirtualNetworkApplianceResponse)(nil)).Elem()
+}
+
+func (o ManagedServiceIdentityVirtualNetworkApplianceResponsePtrOutput) ToManagedServiceIdentityVirtualNetworkApplianceResponsePtrOutput() ManagedServiceIdentityVirtualNetworkApplianceResponsePtrOutput {
+ return o
+}
+
+func (o ManagedServiceIdentityVirtualNetworkApplianceResponsePtrOutput) ToManagedServiceIdentityVirtualNetworkApplianceResponsePtrOutputWithContext(ctx context.Context) ManagedServiceIdentityVirtualNetworkApplianceResponsePtrOutput {
+ return o
+}
+
+func (o ManagedServiceIdentityVirtualNetworkApplianceResponsePtrOutput) Elem() ManagedServiceIdentityVirtualNetworkApplianceResponseOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentityVirtualNetworkApplianceResponse) ManagedServiceIdentityVirtualNetworkApplianceResponse {
if v != nil {
return *v
}
- var ret HeaderValueMatcherResponse
+ var ret ManagedServiceIdentityVirtualNetworkApplianceResponse
return ret
- }).(HeaderValueMatcherResponseOutput)
+ }).(ManagedServiceIdentityVirtualNetworkApplianceResponseOutput)
}
-// Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
-func (o HeaderValueMatcherResponsePtrOutput) IgnoreCase() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *HeaderValueMatcherResponse) *bool {
+// The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
+func (o ManagedServiceIdentityVirtualNetworkApplianceResponsePtrOutput) PrincipalId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentityVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
- return v.IgnoreCase
- }).(pulumi.BoolPtrOutput)
+ return &v.PrincipalId
+ }).(pulumi.StringPtrOutput)
+}
+
+// The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
+func (o ManagedServiceIdentityVirtualNetworkApplianceResponsePtrOutput) TenantId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentityVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.TenantId
+ }).(pulumi.StringPtrOutput)
}
-// Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.
-func (o HeaderValueMatcherResponsePtrOutput) Negate() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *HeaderValueMatcherResponse) *bool {
+// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
+func (o ManagedServiceIdentityVirtualNetworkApplianceResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentityVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
- return v.Negate
- }).(pulumi.BoolPtrOutput)
+ return v.Type
+ }).(pulumi.StringPtrOutput)
}
-// The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.
-func (o HeaderValueMatcherResponsePtrOutput) Pattern() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *HeaderValueMatcherResponse) *string {
+// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+func (o ManagedServiceIdentityVirtualNetworkApplianceResponsePtrOutput) UserAssignedIdentities() ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput {
+ return o.ApplyT(func(v *ManagedServiceIdentityVirtualNetworkApplianceResponse) map[string]ManagedServiceIdentityUserAssignedIdentitiesResponse {
if v == nil {
return nil
}
- return v.Pattern
- }).(pulumi.StringPtrOutput)
+ return v.UserAssignedIdentities
+ }).(ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput)
}
-// Hub Item.
-type Hub struct {
- // Resource Id.
- ResourceId *string `pulumi:"resourceId"`
- // Resource Type.
- ResourceType *string `pulumi:"resourceType"`
+// Define match conditions.
+type MatchCondition struct {
+ // Match value.
+ MatchValues []string `pulumi:"matchValues"`
+ // List of match variables.
+ MatchVariables []MatchVariable `pulumi:"matchVariables"`
+ // Whether this is negate condition or not.
+ NegationConditon *bool `pulumi:"negationConditon"`
+ // The operator to be matched.
+ Operator string `pulumi:"operator"`
+ // List of transforms.
+ Transforms []string `pulumi:"transforms"`
}
-// HubInput is an input type that accepts HubArgs and HubOutput values.
-// You can construct a concrete instance of `HubInput` via:
+// MatchConditionInput is an input type that accepts MatchConditionArgs and MatchConditionOutput values.
+// You can construct a concrete instance of `MatchConditionInput` via:
//
-// HubArgs{...}
-type HubInput interface {
+// MatchConditionArgs{...}
+type MatchConditionInput interface {
pulumi.Input
- ToHubOutput() HubOutput
- ToHubOutputWithContext(context.Context) HubOutput
+ ToMatchConditionOutput() MatchConditionOutput
+ ToMatchConditionOutputWithContext(context.Context) MatchConditionOutput
}
-// Hub Item.
-type HubArgs struct {
- // Resource Id.
- ResourceId pulumi.StringPtrInput `pulumi:"resourceId"`
- // Resource Type.
- ResourceType pulumi.StringPtrInput `pulumi:"resourceType"`
+// Define match conditions.
+type MatchConditionArgs struct {
+ // Match value.
+ MatchValues pulumi.StringArrayInput `pulumi:"matchValues"`
+ // List of match variables.
+ MatchVariables MatchVariableArrayInput `pulumi:"matchVariables"`
+ // Whether this is negate condition or not.
+ NegationConditon pulumi.BoolPtrInput `pulumi:"negationConditon"`
+ // The operator to be matched.
+ Operator pulumi.StringInput `pulumi:"operator"`
+ // List of transforms.
+ Transforms pulumi.StringArrayInput `pulumi:"transforms"`
}
-func (HubArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*Hub)(nil)).Elem()
+func (MatchConditionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*MatchCondition)(nil)).Elem()
}
-func (i HubArgs) ToHubOutput() HubOutput {
- return i.ToHubOutputWithContext(context.Background())
+func (i MatchConditionArgs) ToMatchConditionOutput() MatchConditionOutput {
+ return i.ToMatchConditionOutputWithContext(context.Background())
}
-func (i HubArgs) ToHubOutputWithContext(ctx context.Context) HubOutput {
- return pulumi.ToOutputWithContext(ctx, i).(HubOutput)
+func (i MatchConditionArgs) ToMatchConditionOutputWithContext(ctx context.Context) MatchConditionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(MatchConditionOutput)
}
-// HubArrayInput is an input type that accepts HubArray and HubArrayOutput values.
-// You can construct a concrete instance of `HubArrayInput` via:
+// MatchConditionArrayInput is an input type that accepts MatchConditionArray and MatchConditionArrayOutput values.
+// You can construct a concrete instance of `MatchConditionArrayInput` via:
//
-// HubArray{ HubArgs{...} }
-type HubArrayInput interface {
+// MatchConditionArray{ MatchConditionArgs{...} }
+type MatchConditionArrayInput interface {
pulumi.Input
- ToHubArrayOutput() HubArrayOutput
- ToHubArrayOutputWithContext(context.Context) HubArrayOutput
+ ToMatchConditionArrayOutput() MatchConditionArrayOutput
+ ToMatchConditionArrayOutputWithContext(context.Context) MatchConditionArrayOutput
}
-type HubArray []HubInput
+type MatchConditionArray []MatchConditionInput
-func (HubArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]Hub)(nil)).Elem()
+func (MatchConditionArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]MatchCondition)(nil)).Elem()
}
-func (i HubArray) ToHubArrayOutput() HubArrayOutput {
- return i.ToHubArrayOutputWithContext(context.Background())
+func (i MatchConditionArray) ToMatchConditionArrayOutput() MatchConditionArrayOutput {
+ return i.ToMatchConditionArrayOutputWithContext(context.Background())
}
-func (i HubArray) ToHubArrayOutputWithContext(ctx context.Context) HubArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(HubArrayOutput)
+func (i MatchConditionArray) ToMatchConditionArrayOutputWithContext(ctx context.Context) MatchConditionArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(MatchConditionArrayOutput)
}
-// Hub Item.
-type HubOutput struct{ *pulumi.OutputState }
+// Define match conditions.
+type MatchConditionOutput struct{ *pulumi.OutputState }
-func (HubOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*Hub)(nil)).Elem()
+func (MatchConditionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*MatchCondition)(nil)).Elem()
}
-func (o HubOutput) ToHubOutput() HubOutput {
+func (o MatchConditionOutput) ToMatchConditionOutput() MatchConditionOutput {
return o
}
-func (o HubOutput) ToHubOutputWithContext(ctx context.Context) HubOutput {
+func (o MatchConditionOutput) ToMatchConditionOutputWithContext(ctx context.Context) MatchConditionOutput {
return o
}
-// Resource Id.
-func (o HubOutput) ResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Hub) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
+// Match value.
+func (o MatchConditionOutput) MatchValues() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v MatchCondition) []string { return v.MatchValues }).(pulumi.StringArrayOutput)
}
-// Resource Type.
-func (o HubOutput) ResourceType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Hub) *string { return v.ResourceType }).(pulumi.StringPtrOutput)
+// List of match variables.
+func (o MatchConditionOutput) MatchVariables() MatchVariableArrayOutput {
+ return o.ApplyT(func(v MatchCondition) []MatchVariable { return v.MatchVariables }).(MatchVariableArrayOutput)
}
-type HubArrayOutput struct{ *pulumi.OutputState }
+// Whether this is negate condition or not.
+func (o MatchConditionOutput) NegationConditon() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v MatchCondition) *bool { return v.NegationConditon }).(pulumi.BoolPtrOutput)
+}
-func (HubArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]Hub)(nil)).Elem()
+// The operator to be matched.
+func (o MatchConditionOutput) Operator() pulumi.StringOutput {
+ return o.ApplyT(func(v MatchCondition) string { return v.Operator }).(pulumi.StringOutput)
}
-func (o HubArrayOutput) ToHubArrayOutput() HubArrayOutput {
+// List of transforms.
+func (o MatchConditionOutput) Transforms() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v MatchCondition) []string { return v.Transforms }).(pulumi.StringArrayOutput)
+}
+
+type MatchConditionArrayOutput struct{ *pulumi.OutputState }
+
+func (MatchConditionArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]MatchCondition)(nil)).Elem()
+}
+
+func (o MatchConditionArrayOutput) ToMatchConditionArrayOutput() MatchConditionArrayOutput {
return o
}
-func (o HubArrayOutput) ToHubArrayOutputWithContext(ctx context.Context) HubArrayOutput {
+func (o MatchConditionArrayOutput) ToMatchConditionArrayOutputWithContext(ctx context.Context) MatchConditionArrayOutput {
return o
}
-func (o HubArrayOutput) Index(i pulumi.IntInput) HubOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) Hub {
- return vs[0].([]Hub)[vs[1].(int)]
- }).(HubOutput)
+func (o MatchConditionArrayOutput) Index(i pulumi.IntInput) MatchConditionOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) MatchCondition {
+ return vs[0].([]MatchCondition)[vs[1].(int)]
+ }).(MatchConditionOutput)
}
-// IP addresses associated with azure firewall.
-type HubIPAddresses struct {
- // Private IP Address associated with azure firewall.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // Public IP addresses associated with azure firewall.
- PublicIPs *HubPublicIPAddresses `pulumi:"publicIPs"`
+// Define match conditions.
+type MatchConditionResponse struct {
+ // Match value.
+ MatchValues []string `pulumi:"matchValues"`
+ // List of match variables.
+ MatchVariables []MatchVariableResponse `pulumi:"matchVariables"`
+ // Whether this is negate condition or not.
+ NegationConditon *bool `pulumi:"negationConditon"`
+ // The operator to be matched.
+ Operator string `pulumi:"operator"`
+ // List of transforms.
+ Transforms []string `pulumi:"transforms"`
}
-// HubIPAddressesInput is an input type that accepts HubIPAddressesArgs and HubIPAddressesOutput values.
-// You can construct a concrete instance of `HubIPAddressesInput` via:
-//
-// HubIPAddressesArgs{...}
-type HubIPAddressesInput interface {
- pulumi.Input
+// Define match conditions.
+type MatchConditionResponseOutput struct{ *pulumi.OutputState }
- ToHubIPAddressesOutput() HubIPAddressesOutput
- ToHubIPAddressesOutputWithContext(context.Context) HubIPAddressesOutput
+func (MatchConditionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*MatchConditionResponse)(nil)).Elem()
}
-// IP addresses associated with azure firewall.
-type HubIPAddressesArgs struct {
- // Private IP Address associated with azure firewall.
- PrivateIPAddress pulumi.StringPtrInput `pulumi:"privateIPAddress"`
- // Public IP addresses associated with azure firewall.
- PublicIPs HubPublicIPAddressesPtrInput `pulumi:"publicIPs"`
+func (o MatchConditionResponseOutput) ToMatchConditionResponseOutput() MatchConditionResponseOutput {
+ return o
}
-func (HubIPAddressesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*HubIPAddresses)(nil)).Elem()
+func (o MatchConditionResponseOutput) ToMatchConditionResponseOutputWithContext(ctx context.Context) MatchConditionResponseOutput {
+ return o
}
-func (i HubIPAddressesArgs) ToHubIPAddressesOutput() HubIPAddressesOutput {
- return i.ToHubIPAddressesOutputWithContext(context.Background())
+// Match value.
+func (o MatchConditionResponseOutput) MatchValues() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v MatchConditionResponse) []string { return v.MatchValues }).(pulumi.StringArrayOutput)
}
-func (i HubIPAddressesArgs) ToHubIPAddressesOutputWithContext(ctx context.Context) HubIPAddressesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(HubIPAddressesOutput)
+// List of match variables.
+func (o MatchConditionResponseOutput) MatchVariables() MatchVariableResponseArrayOutput {
+ return o.ApplyT(func(v MatchConditionResponse) []MatchVariableResponse { return v.MatchVariables }).(MatchVariableResponseArrayOutput)
}
-func (i HubIPAddressesArgs) ToHubIPAddressesPtrOutput() HubIPAddressesPtrOutput {
- return i.ToHubIPAddressesPtrOutputWithContext(context.Background())
+// Whether this is negate condition or not.
+func (o MatchConditionResponseOutput) NegationConditon() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v MatchConditionResponse) *bool { return v.NegationConditon }).(pulumi.BoolPtrOutput)
}
-func (i HubIPAddressesArgs) ToHubIPAddressesPtrOutputWithContext(ctx context.Context) HubIPAddressesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(HubIPAddressesOutput).ToHubIPAddressesPtrOutputWithContext(ctx)
+// The operator to be matched.
+func (o MatchConditionResponseOutput) Operator() pulumi.StringOutput {
+ return o.ApplyT(func(v MatchConditionResponse) string { return v.Operator }).(pulumi.StringOutput)
}
-// HubIPAddressesPtrInput is an input type that accepts HubIPAddressesArgs, HubIPAddressesPtr and HubIPAddressesPtrOutput values.
-// You can construct a concrete instance of `HubIPAddressesPtrInput` via:
-//
-// HubIPAddressesArgs{...}
-//
-// or:
-//
-// nil
-type HubIPAddressesPtrInput interface {
- pulumi.Input
-
- ToHubIPAddressesPtrOutput() HubIPAddressesPtrOutput
- ToHubIPAddressesPtrOutputWithContext(context.Context) HubIPAddressesPtrOutput
+// List of transforms.
+func (o MatchConditionResponseOutput) Transforms() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v MatchConditionResponse) []string { return v.Transforms }).(pulumi.StringArrayOutput)
}
-type hubIPAddressesPtrType HubIPAddressesArgs
+type MatchConditionResponseArrayOutput struct{ *pulumi.OutputState }
-func HubIPAddressesPtr(v *HubIPAddressesArgs) HubIPAddressesPtrInput {
- return (*hubIPAddressesPtrType)(v)
+func (MatchConditionResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]MatchConditionResponse)(nil)).Elem()
}
-func (*hubIPAddressesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**HubIPAddresses)(nil)).Elem()
+func (o MatchConditionResponseArrayOutput) ToMatchConditionResponseArrayOutput() MatchConditionResponseArrayOutput {
+ return o
}
-func (i *hubIPAddressesPtrType) ToHubIPAddressesPtrOutput() HubIPAddressesPtrOutput {
- return i.ToHubIPAddressesPtrOutputWithContext(context.Background())
+func (o MatchConditionResponseArrayOutput) ToMatchConditionResponseArrayOutputWithContext(ctx context.Context) MatchConditionResponseArrayOutput {
+ return o
}
-func (i *hubIPAddressesPtrType) ToHubIPAddressesPtrOutputWithContext(ctx context.Context) HubIPAddressesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(HubIPAddressesPtrOutput)
+func (o MatchConditionResponseArrayOutput) Index(i pulumi.IntInput) MatchConditionResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) MatchConditionResponse {
+ return vs[0].([]MatchConditionResponse)[vs[1].(int)]
+ }).(MatchConditionResponseOutput)
}
-// IP addresses associated with azure firewall.
-type HubIPAddressesOutput struct{ *pulumi.OutputState }
-
-func (HubIPAddressesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*HubIPAddresses)(nil)).Elem()
+// Define match variables.
+type MatchVariable struct {
+ // The selector of match variable.
+ Selector *string `pulumi:"selector"`
+ // Match Variable.
+ VariableName string `pulumi:"variableName"`
}
-func (o HubIPAddressesOutput) ToHubIPAddressesOutput() HubIPAddressesOutput {
- return o
+// MatchVariableInput is an input type that accepts MatchVariableArgs and MatchVariableOutput values.
+// You can construct a concrete instance of `MatchVariableInput` via:
+//
+// MatchVariableArgs{...}
+type MatchVariableInput interface {
+ pulumi.Input
+
+ ToMatchVariableOutput() MatchVariableOutput
+ ToMatchVariableOutputWithContext(context.Context) MatchVariableOutput
}
-func (o HubIPAddressesOutput) ToHubIPAddressesOutputWithContext(ctx context.Context) HubIPAddressesOutput {
- return o
+// Define match variables.
+type MatchVariableArgs struct {
+ // The selector of match variable.
+ Selector pulumi.StringPtrInput `pulumi:"selector"`
+ // Match Variable.
+ VariableName pulumi.StringInput `pulumi:"variableName"`
}
-func (o HubIPAddressesOutput) ToHubIPAddressesPtrOutput() HubIPAddressesPtrOutput {
- return o.ToHubIPAddressesPtrOutputWithContext(context.Background())
+func (MatchVariableArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*MatchVariable)(nil)).Elem()
}
-func (o HubIPAddressesOutput) ToHubIPAddressesPtrOutputWithContext(ctx context.Context) HubIPAddressesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v HubIPAddresses) *HubIPAddresses {
- return &v
- }).(HubIPAddressesPtrOutput)
+func (i MatchVariableArgs) ToMatchVariableOutput() MatchVariableOutput {
+ return i.ToMatchVariableOutputWithContext(context.Background())
}
-// Private IP Address associated with azure firewall.
-func (o HubIPAddressesOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v HubIPAddresses) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+func (i MatchVariableArgs) ToMatchVariableOutputWithContext(ctx context.Context) MatchVariableOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(MatchVariableOutput)
}
-// Public IP addresses associated with azure firewall.
-func (o HubIPAddressesOutput) PublicIPs() HubPublicIPAddressesPtrOutput {
- return o.ApplyT(func(v HubIPAddresses) *HubPublicIPAddresses { return v.PublicIPs }).(HubPublicIPAddressesPtrOutput)
+// MatchVariableArrayInput is an input type that accepts MatchVariableArray and MatchVariableArrayOutput values.
+// You can construct a concrete instance of `MatchVariableArrayInput` via:
+//
+// MatchVariableArray{ MatchVariableArgs{...} }
+type MatchVariableArrayInput interface {
+ pulumi.Input
+
+ ToMatchVariableArrayOutput() MatchVariableArrayOutput
+ ToMatchVariableArrayOutputWithContext(context.Context) MatchVariableArrayOutput
}
-type HubIPAddressesPtrOutput struct{ *pulumi.OutputState }
+type MatchVariableArray []MatchVariableInput
-func (HubIPAddressesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**HubIPAddresses)(nil)).Elem()
+func (MatchVariableArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]MatchVariable)(nil)).Elem()
}
-func (o HubIPAddressesPtrOutput) ToHubIPAddressesPtrOutput() HubIPAddressesPtrOutput {
- return o
+func (i MatchVariableArray) ToMatchVariableArrayOutput() MatchVariableArrayOutput {
+ return i.ToMatchVariableArrayOutputWithContext(context.Background())
}
-func (o HubIPAddressesPtrOutput) ToHubIPAddressesPtrOutputWithContext(ctx context.Context) HubIPAddressesPtrOutput {
- return o
+func (i MatchVariableArray) ToMatchVariableArrayOutputWithContext(ctx context.Context) MatchVariableArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(MatchVariableArrayOutput)
}
-func (o HubIPAddressesPtrOutput) Elem() HubIPAddressesOutput {
- return o.ApplyT(func(v *HubIPAddresses) HubIPAddresses {
- if v != nil {
- return *v
- }
- var ret HubIPAddresses
- return ret
- }).(HubIPAddressesOutput)
+// Define match variables.
+type MatchVariableOutput struct{ *pulumi.OutputState }
+
+func (MatchVariableOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*MatchVariable)(nil)).Elem()
}
-// Private IP Address associated with azure firewall.
-func (o HubIPAddressesPtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *HubIPAddresses) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddress
- }).(pulumi.StringPtrOutput)
+func (o MatchVariableOutput) ToMatchVariableOutput() MatchVariableOutput {
+ return o
}
-// Public IP addresses associated with azure firewall.
-func (o HubIPAddressesPtrOutput) PublicIPs() HubPublicIPAddressesPtrOutput {
- return o.ApplyT(func(v *HubIPAddresses) *HubPublicIPAddresses {
- if v == nil {
- return nil
- }
- return v.PublicIPs
- }).(HubPublicIPAddressesPtrOutput)
+func (o MatchVariableOutput) ToMatchVariableOutputWithContext(ctx context.Context) MatchVariableOutput {
+ return o
}
-// IP addresses associated with azure firewall.
-type HubIPAddressesResponse struct {
- // Private IP Address associated with azure firewall.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // Public IP addresses associated with azure firewall.
- PublicIPs *HubPublicIPAddressesResponse `pulumi:"publicIPs"`
+// The selector of match variable.
+func (o MatchVariableOutput) Selector() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v MatchVariable) *string { return v.Selector }).(pulumi.StringPtrOutput)
}
-// IP addresses associated with azure firewall.
-type HubIPAddressesResponseOutput struct{ *pulumi.OutputState }
+// Match Variable.
+func (o MatchVariableOutput) VariableName() pulumi.StringOutput {
+ return o.ApplyT(func(v MatchVariable) string { return v.VariableName }).(pulumi.StringOutput)
+}
-func (HubIPAddressesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*HubIPAddressesResponse)(nil)).Elem()
+type MatchVariableArrayOutput struct{ *pulumi.OutputState }
+
+func (MatchVariableArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]MatchVariable)(nil)).Elem()
}
-func (o HubIPAddressesResponseOutput) ToHubIPAddressesResponseOutput() HubIPAddressesResponseOutput {
+func (o MatchVariableArrayOutput) ToMatchVariableArrayOutput() MatchVariableArrayOutput {
return o
}
-func (o HubIPAddressesResponseOutput) ToHubIPAddressesResponseOutputWithContext(ctx context.Context) HubIPAddressesResponseOutput {
+func (o MatchVariableArrayOutput) ToMatchVariableArrayOutputWithContext(ctx context.Context) MatchVariableArrayOutput {
return o
}
-// Private IP Address associated with azure firewall.
-func (o HubIPAddressesResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v HubIPAddressesResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+func (o MatchVariableArrayOutput) Index(i pulumi.IntInput) MatchVariableOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) MatchVariable {
+ return vs[0].([]MatchVariable)[vs[1].(int)]
+ }).(MatchVariableOutput)
}
-// Public IP addresses associated with azure firewall.
-func (o HubIPAddressesResponseOutput) PublicIPs() HubPublicIPAddressesResponsePtrOutput {
- return o.ApplyT(func(v HubIPAddressesResponse) *HubPublicIPAddressesResponse { return v.PublicIPs }).(HubPublicIPAddressesResponsePtrOutput)
+// Define match variables.
+type MatchVariableResponse struct {
+ // The selector of match variable.
+ Selector *string `pulumi:"selector"`
+ // Match Variable.
+ VariableName string `pulumi:"variableName"`
}
-type HubIPAddressesResponsePtrOutput struct{ *pulumi.OutputState }
+// Define match variables.
+type MatchVariableResponseOutput struct{ *pulumi.OutputState }
-func (HubIPAddressesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**HubIPAddressesResponse)(nil)).Elem()
+func (MatchVariableResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*MatchVariableResponse)(nil)).Elem()
}
-func (o HubIPAddressesResponsePtrOutput) ToHubIPAddressesResponsePtrOutput() HubIPAddressesResponsePtrOutput {
+func (o MatchVariableResponseOutput) ToMatchVariableResponseOutput() MatchVariableResponseOutput {
return o
}
-func (o HubIPAddressesResponsePtrOutput) ToHubIPAddressesResponsePtrOutputWithContext(ctx context.Context) HubIPAddressesResponsePtrOutput {
+func (o MatchVariableResponseOutput) ToMatchVariableResponseOutputWithContext(ctx context.Context) MatchVariableResponseOutput {
return o
}
-func (o HubIPAddressesResponsePtrOutput) Elem() HubIPAddressesResponseOutput {
- return o.ApplyT(func(v *HubIPAddressesResponse) HubIPAddressesResponse {
- if v != nil {
- return *v
- }
- var ret HubIPAddressesResponse
- return ret
- }).(HubIPAddressesResponseOutput)
+// The selector of match variable.
+func (o MatchVariableResponseOutput) Selector() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v MatchVariableResponse) *string { return v.Selector }).(pulumi.StringPtrOutput)
}
-// Private IP Address associated with azure firewall.
-func (o HubIPAddressesResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *HubIPAddressesResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddress
- }).(pulumi.StringPtrOutput)
+// Match Variable.
+func (o MatchVariableResponseOutput) VariableName() pulumi.StringOutput {
+ return o.ApplyT(func(v MatchVariableResponse) string { return v.VariableName }).(pulumi.StringOutput)
}
-// Public IP addresses associated with azure firewall.
-func (o HubIPAddressesResponsePtrOutput) PublicIPs() HubPublicIPAddressesResponsePtrOutput {
- return o.ApplyT(func(v *HubIPAddressesResponse) *HubPublicIPAddressesResponse {
- if v == nil {
- return nil
- }
- return v.PublicIPs
- }).(HubPublicIPAddressesResponsePtrOutput)
+type MatchVariableResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (MatchVariableResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]MatchVariableResponse)(nil)).Elem()
}
-// Public IP addresses associated with azure firewall.
-type HubPublicIPAddresses struct {
- // The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
- Addresses []AzureFirewallPublicIPAddress `pulumi:"addresses"`
- // The number of Public IP addresses associated with azure firewall.
- Count *int `pulumi:"count"`
+func (o MatchVariableResponseArrayOutput) ToMatchVariableResponseArrayOutput() MatchVariableResponseArrayOutput {
+ return o
}
-// HubPublicIPAddressesInput is an input type that accepts HubPublicIPAddressesArgs and HubPublicIPAddressesOutput values.
-// You can construct a concrete instance of `HubPublicIPAddressesInput` via:
+func (o MatchVariableResponseArrayOutput) ToMatchVariableResponseArrayOutputWithContext(ctx context.Context) MatchVariableResponseArrayOutput {
+ return o
+}
+
+func (o MatchVariableResponseArrayOutput) Index(i pulumi.IntInput) MatchVariableResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) MatchVariableResponse {
+ return vs[0].([]MatchVariableResponse)[vs[1].(int)]
+ }).(MatchVariableResponseOutput)
+}
+
+// Nat Gateway resource.
+type NatGatewayType struct {
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The idle timeout of the nat gateway.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // An array of public ip addresses associated with the nat gateway resource.
+ PublicIpAddresses []SubResource `pulumi:"publicIpAddresses"`
+ // An array of public ip prefixes associated with the nat gateway resource.
+ PublicIpPrefixes []SubResource `pulumi:"publicIpPrefixes"`
+ // The nat gateway SKU.
+ Sku *NatGatewaySku `pulumi:"sku"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // A list of availability zones denoting the zone in which Nat Gateway should be deployed.
+ Zones []string `pulumi:"zones"`
+}
+
+// NatGatewayTypeInput is an input type that accepts NatGatewayTypeArgs and NatGatewayTypeOutput values.
+// You can construct a concrete instance of `NatGatewayTypeInput` via:
//
-// HubPublicIPAddressesArgs{...}
-type HubPublicIPAddressesInput interface {
+// NatGatewayTypeArgs{...}
+type NatGatewayTypeInput interface {
pulumi.Input
- ToHubPublicIPAddressesOutput() HubPublicIPAddressesOutput
- ToHubPublicIPAddressesOutputWithContext(context.Context) HubPublicIPAddressesOutput
+ ToNatGatewayTypeOutput() NatGatewayTypeOutput
+ ToNatGatewayTypeOutputWithContext(context.Context) NatGatewayTypeOutput
}
-// Public IP addresses associated with azure firewall.
-type HubPublicIPAddressesArgs struct {
- // The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
- Addresses AzureFirewallPublicIPAddressArrayInput `pulumi:"addresses"`
- // The number of Public IP addresses associated with azure firewall.
- Count pulumi.IntPtrInput `pulumi:"count"`
+// Nat Gateway resource.
+type NatGatewayTypeArgs struct {
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The idle timeout of the nat gateway.
+ IdleTimeoutInMinutes pulumi.IntPtrInput `pulumi:"idleTimeoutInMinutes"`
+ // Resource location.
+ Location pulumi.StringPtrInput `pulumi:"location"`
+ // An array of public ip addresses associated with the nat gateway resource.
+ PublicIpAddresses SubResourceArrayInput `pulumi:"publicIpAddresses"`
+ // An array of public ip prefixes associated with the nat gateway resource.
+ PublicIpPrefixes SubResourceArrayInput `pulumi:"publicIpPrefixes"`
+ // The nat gateway SKU.
+ Sku NatGatewaySkuPtrInput `pulumi:"sku"`
+ // Resource tags.
+ Tags pulumi.StringMapInput `pulumi:"tags"`
+ // A list of availability zones denoting the zone in which Nat Gateway should be deployed.
+ Zones pulumi.StringArrayInput `pulumi:"zones"`
}
-func (HubPublicIPAddressesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*HubPublicIPAddresses)(nil)).Elem()
+func (NatGatewayTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NatGatewayType)(nil)).Elem()
}
-func (i HubPublicIPAddressesArgs) ToHubPublicIPAddressesOutput() HubPublicIPAddressesOutput {
- return i.ToHubPublicIPAddressesOutputWithContext(context.Background())
+func (i NatGatewayTypeArgs) ToNatGatewayTypeOutput() NatGatewayTypeOutput {
+ return i.ToNatGatewayTypeOutputWithContext(context.Background())
}
-func (i HubPublicIPAddressesArgs) ToHubPublicIPAddressesOutputWithContext(ctx context.Context) HubPublicIPAddressesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(HubPublicIPAddressesOutput)
+func (i NatGatewayTypeArgs) ToNatGatewayTypeOutputWithContext(ctx context.Context) NatGatewayTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NatGatewayTypeOutput)
}
-func (i HubPublicIPAddressesArgs) ToHubPublicIPAddressesPtrOutput() HubPublicIPAddressesPtrOutput {
- return i.ToHubPublicIPAddressesPtrOutputWithContext(context.Background())
+func (i NatGatewayTypeArgs) ToNatGatewayTypePtrOutput() NatGatewayTypePtrOutput {
+ return i.ToNatGatewayTypePtrOutputWithContext(context.Background())
}
-func (i HubPublicIPAddressesArgs) ToHubPublicIPAddressesPtrOutputWithContext(ctx context.Context) HubPublicIPAddressesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(HubPublicIPAddressesOutput).ToHubPublicIPAddressesPtrOutputWithContext(ctx)
+func (i NatGatewayTypeArgs) ToNatGatewayTypePtrOutputWithContext(ctx context.Context) NatGatewayTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NatGatewayTypeOutput).ToNatGatewayTypePtrOutputWithContext(ctx)
}
-// HubPublicIPAddressesPtrInput is an input type that accepts HubPublicIPAddressesArgs, HubPublicIPAddressesPtr and HubPublicIPAddressesPtrOutput values.
-// You can construct a concrete instance of `HubPublicIPAddressesPtrInput` via:
+// NatGatewayTypePtrInput is an input type that accepts NatGatewayTypeArgs, NatGatewayTypePtr and NatGatewayTypePtrOutput values.
+// You can construct a concrete instance of `NatGatewayTypePtrInput` via:
//
-// HubPublicIPAddressesArgs{...}
+// NatGatewayTypeArgs{...}
//
// or:
//
// nil
-type HubPublicIPAddressesPtrInput interface {
+type NatGatewayTypePtrInput interface {
pulumi.Input
- ToHubPublicIPAddressesPtrOutput() HubPublicIPAddressesPtrOutput
- ToHubPublicIPAddressesPtrOutputWithContext(context.Context) HubPublicIPAddressesPtrOutput
+ ToNatGatewayTypePtrOutput() NatGatewayTypePtrOutput
+ ToNatGatewayTypePtrOutputWithContext(context.Context) NatGatewayTypePtrOutput
}
-type hubPublicIPAddressesPtrType HubPublicIPAddressesArgs
+type natGatewayTypePtrType NatGatewayTypeArgs
-func HubPublicIPAddressesPtr(v *HubPublicIPAddressesArgs) HubPublicIPAddressesPtrInput {
- return (*hubPublicIPAddressesPtrType)(v)
+func NatGatewayTypePtr(v *NatGatewayTypeArgs) NatGatewayTypePtrInput {
+ return (*natGatewayTypePtrType)(v)
}
-func (*hubPublicIPAddressesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**HubPublicIPAddresses)(nil)).Elem()
+func (*natGatewayTypePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**NatGatewayType)(nil)).Elem()
}
-func (i *hubPublicIPAddressesPtrType) ToHubPublicIPAddressesPtrOutput() HubPublicIPAddressesPtrOutput {
- return i.ToHubPublicIPAddressesPtrOutputWithContext(context.Background())
+func (i *natGatewayTypePtrType) ToNatGatewayTypePtrOutput() NatGatewayTypePtrOutput {
+ return i.ToNatGatewayTypePtrOutputWithContext(context.Background())
}
-func (i *hubPublicIPAddressesPtrType) ToHubPublicIPAddressesPtrOutputWithContext(ctx context.Context) HubPublicIPAddressesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(HubPublicIPAddressesPtrOutput)
+func (i *natGatewayTypePtrType) ToNatGatewayTypePtrOutputWithContext(ctx context.Context) NatGatewayTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NatGatewayTypePtrOutput)
}
-// Public IP addresses associated with azure firewall.
-type HubPublicIPAddressesOutput struct{ *pulumi.OutputState }
+// Nat Gateway resource.
+type NatGatewayTypeOutput struct{ *pulumi.OutputState }
-func (HubPublicIPAddressesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*HubPublicIPAddresses)(nil)).Elem()
+func (NatGatewayTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NatGatewayType)(nil)).Elem()
}
-func (o HubPublicIPAddressesOutput) ToHubPublicIPAddressesOutput() HubPublicIPAddressesOutput {
+func (o NatGatewayTypeOutput) ToNatGatewayTypeOutput() NatGatewayTypeOutput {
return o
}
-func (o HubPublicIPAddressesOutput) ToHubPublicIPAddressesOutputWithContext(ctx context.Context) HubPublicIPAddressesOutput {
+func (o NatGatewayTypeOutput) ToNatGatewayTypeOutputWithContext(ctx context.Context) NatGatewayTypeOutput {
return o
}
-func (o HubPublicIPAddressesOutput) ToHubPublicIPAddressesPtrOutput() HubPublicIPAddressesPtrOutput {
- return o.ToHubPublicIPAddressesPtrOutputWithContext(context.Background())
+func (o NatGatewayTypeOutput) ToNatGatewayTypePtrOutput() NatGatewayTypePtrOutput {
+ return o.ToNatGatewayTypePtrOutputWithContext(context.Background())
}
-func (o HubPublicIPAddressesOutput) ToHubPublicIPAddressesPtrOutputWithContext(ctx context.Context) HubPublicIPAddressesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v HubPublicIPAddresses) *HubPublicIPAddresses {
+func (o NatGatewayTypeOutput) ToNatGatewayTypePtrOutputWithContext(ctx context.Context) NatGatewayTypePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v NatGatewayType) *NatGatewayType {
return &v
- }).(HubPublicIPAddressesPtrOutput)
-}
-
-// The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
-func (o HubPublicIPAddressesOutput) Addresses() AzureFirewallPublicIPAddressArrayOutput {
- return o.ApplyT(func(v HubPublicIPAddresses) []AzureFirewallPublicIPAddress { return v.Addresses }).(AzureFirewallPublicIPAddressArrayOutput)
+ }).(NatGatewayTypePtrOutput)
}
-// The number of Public IP addresses associated with azure firewall.
-func (o HubPublicIPAddressesOutput) Count() pulumi.IntPtrOutput {
- return o.ApplyT(func(v HubPublicIPAddresses) *int { return v.Count }).(pulumi.IntPtrOutput)
+// Resource ID.
+func (o NatGatewayTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatGatewayType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-type HubPublicIPAddressesPtrOutput struct{ *pulumi.OutputState }
-
-func (HubPublicIPAddressesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**HubPublicIPAddresses)(nil)).Elem()
+// The idle timeout of the nat gateway.
+func (o NatGatewayTypeOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v NatGatewayType) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-func (o HubPublicIPAddressesPtrOutput) ToHubPublicIPAddressesPtrOutput() HubPublicIPAddressesPtrOutput {
- return o
+// Resource location.
+func (o NatGatewayTypeOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatGatewayType) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o HubPublicIPAddressesPtrOutput) ToHubPublicIPAddressesPtrOutputWithContext(ctx context.Context) HubPublicIPAddressesPtrOutput {
- return o
+// An array of public ip addresses associated with the nat gateway resource.
+func (o NatGatewayTypeOutput) PublicIpAddresses() SubResourceArrayOutput {
+ return o.ApplyT(func(v NatGatewayType) []SubResource { return v.PublicIpAddresses }).(SubResourceArrayOutput)
}
-func (o HubPublicIPAddressesPtrOutput) Elem() HubPublicIPAddressesOutput {
- return o.ApplyT(func(v *HubPublicIPAddresses) HubPublicIPAddresses {
- if v != nil {
- return *v
- }
- var ret HubPublicIPAddresses
- return ret
- }).(HubPublicIPAddressesOutput)
+// An array of public ip prefixes associated with the nat gateway resource.
+func (o NatGatewayTypeOutput) PublicIpPrefixes() SubResourceArrayOutput {
+ return o.ApplyT(func(v NatGatewayType) []SubResource { return v.PublicIpPrefixes }).(SubResourceArrayOutput)
}
-// The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
-func (o HubPublicIPAddressesPtrOutput) Addresses() AzureFirewallPublicIPAddressArrayOutput {
- return o.ApplyT(func(v *HubPublicIPAddresses) []AzureFirewallPublicIPAddress {
- if v == nil {
- return nil
- }
- return v.Addresses
- }).(AzureFirewallPublicIPAddressArrayOutput)
+// The nat gateway SKU.
+func (o NatGatewayTypeOutput) Sku() NatGatewaySkuPtrOutput {
+ return o.ApplyT(func(v NatGatewayType) *NatGatewaySku { return v.Sku }).(NatGatewaySkuPtrOutput)
}
-// The number of Public IP addresses associated with azure firewall.
-func (o HubPublicIPAddressesPtrOutput) Count() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *HubPublicIPAddresses) *int {
- if v == nil {
- return nil
- }
- return v.Count
- }).(pulumi.IntPtrOutput)
+// Resource tags.
+func (o NatGatewayTypeOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NatGatewayType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// Public IP addresses associated with azure firewall.
-type HubPublicIPAddressesResponse struct {
- // The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
- Addresses []AzureFirewallPublicIPAddressResponse `pulumi:"addresses"`
- // The number of Public IP addresses associated with azure firewall.
- Count *int `pulumi:"count"`
+// A list of availability zones denoting the zone in which Nat Gateway should be deployed.
+func (o NatGatewayTypeOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatGatewayType) []string { return v.Zones }).(pulumi.StringArrayOutput)
}
-// Public IP addresses associated with azure firewall.
-type HubPublicIPAddressesResponseOutput struct{ *pulumi.OutputState }
+type NatGatewayTypePtrOutput struct{ *pulumi.OutputState }
-func (HubPublicIPAddressesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*HubPublicIPAddressesResponse)(nil)).Elem()
+func (NatGatewayTypePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NatGatewayType)(nil)).Elem()
}
-func (o HubPublicIPAddressesResponseOutput) ToHubPublicIPAddressesResponseOutput() HubPublicIPAddressesResponseOutput {
+func (o NatGatewayTypePtrOutput) ToNatGatewayTypePtrOutput() NatGatewayTypePtrOutput {
return o
}
-func (o HubPublicIPAddressesResponseOutput) ToHubPublicIPAddressesResponseOutputWithContext(ctx context.Context) HubPublicIPAddressesResponseOutput {
+func (o NatGatewayTypePtrOutput) ToNatGatewayTypePtrOutputWithContext(ctx context.Context) NatGatewayTypePtrOutput {
return o
}
-// The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
-func (o HubPublicIPAddressesResponseOutput) Addresses() AzureFirewallPublicIPAddressResponseArrayOutput {
- return o.ApplyT(func(v HubPublicIPAddressesResponse) []AzureFirewallPublicIPAddressResponse { return v.Addresses }).(AzureFirewallPublicIPAddressResponseArrayOutput)
+func (o NatGatewayTypePtrOutput) Elem() NatGatewayTypeOutput {
+ return o.ApplyT(func(v *NatGatewayType) NatGatewayType {
+ if v != nil {
+ return *v
+ }
+ var ret NatGatewayType
+ return ret
+ }).(NatGatewayTypeOutput)
}
-// The number of Public IP addresses associated with azure firewall.
-func (o HubPublicIPAddressesResponseOutput) Count() pulumi.IntPtrOutput {
- return o.ApplyT(func(v HubPublicIPAddressesResponse) *int { return v.Count }).(pulumi.IntPtrOutput)
+// Resource ID.
+func (o NatGatewayTypePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-type HubPublicIPAddressesResponsePtrOutput struct{ *pulumi.OutputState }
+// The idle timeout of the nat gateway.
+func (o NatGatewayTypePtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *NatGatewayType) *int {
+ if v == nil {
+ return nil
+ }
+ return v.IdleTimeoutInMinutes
+ }).(pulumi.IntPtrOutput)
+}
-func (HubPublicIPAddressesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**HubPublicIPAddressesResponse)(nil)).Elem()
+// Resource location.
+func (o NatGatewayTypePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-func (o HubPublicIPAddressesResponsePtrOutput) ToHubPublicIPAddressesResponsePtrOutput() HubPublicIPAddressesResponsePtrOutput {
- return o
+// An array of public ip addresses associated with the nat gateway resource.
+func (o NatGatewayTypePtrOutput) PublicIpAddresses() SubResourceArrayOutput {
+ return o.ApplyT(func(v *NatGatewayType) []SubResource {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIpAddresses
+ }).(SubResourceArrayOutput)
}
-func (o HubPublicIPAddressesResponsePtrOutput) ToHubPublicIPAddressesResponsePtrOutputWithContext(ctx context.Context) HubPublicIPAddressesResponsePtrOutput {
- return o
+// An array of public ip prefixes associated with the nat gateway resource.
+func (o NatGatewayTypePtrOutput) PublicIpPrefixes() SubResourceArrayOutput {
+ return o.ApplyT(func(v *NatGatewayType) []SubResource {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIpPrefixes
+ }).(SubResourceArrayOutput)
}
-func (o HubPublicIPAddressesResponsePtrOutput) Elem() HubPublicIPAddressesResponseOutput {
- return o.ApplyT(func(v *HubPublicIPAddressesResponse) HubPublicIPAddressesResponse {
- if v != nil {
- return *v
+// The nat gateway SKU.
+func (o NatGatewayTypePtrOutput) Sku() NatGatewaySkuPtrOutput {
+ return o.ApplyT(func(v *NatGatewayType) *NatGatewaySku {
+ if v == nil {
+ return nil
}
- var ret HubPublicIPAddressesResponse
- return ret
- }).(HubPublicIPAddressesResponseOutput)
+ return v.Sku
+ }).(NatGatewaySkuPtrOutput)
}
-// The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
-func (o HubPublicIPAddressesResponsePtrOutput) Addresses() AzureFirewallPublicIPAddressResponseArrayOutput {
- return o.ApplyT(func(v *HubPublicIPAddressesResponse) []AzureFirewallPublicIPAddressResponse {
+// Resource tags.
+func (o NatGatewayTypePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *NatGatewayType) map[string]string {
if v == nil {
return nil
}
- return v.Addresses
- }).(AzureFirewallPublicIPAddressResponseArrayOutput)
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-// The number of Public IP addresses associated with azure firewall.
-func (o HubPublicIPAddressesResponsePtrOutput) Count() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *HubPublicIPAddressesResponse) *int {
+// A list of availability zones denoting the zone in which Nat Gateway should be deployed.
+func (o NatGatewayTypePtrOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NatGatewayType) []string {
if v == nil {
return nil
}
- return v.Count
- }).(pulumi.IntPtrOutput)
+ return v.Zones
+ }).(pulumi.StringArrayOutput)
}
-// Hub Item.
-type HubResponse struct {
- // Resource Id.
- ResourceId *string `pulumi:"resourceId"`
- // Resource Type.
- ResourceType *string `pulumi:"resourceType"`
+// Nat Gateway resource.
+type NatGatewayResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The idle timeout of the nat gateway.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The provisioning state of the NAT gateway resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // An array of public ip addresses associated with the nat gateway resource.
+ PublicIpAddresses []SubResourceResponse `pulumi:"publicIpAddresses"`
+ // An array of public ip prefixes associated with the nat gateway resource.
+ PublicIpPrefixes []SubResourceResponse `pulumi:"publicIpPrefixes"`
+ // The resource GUID property of the NAT gateway resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // The nat gateway SKU.
+ Sku *NatGatewaySkuResponse `pulumi:"sku"`
+ // An array of references to the subnets using this nat gateway resource.
+ Subnets []SubResourceResponse `pulumi:"subnets"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // A list of availability zones denoting the zone in which Nat Gateway should be deployed.
+ Zones []string `pulumi:"zones"`
}
-// Hub Item.
-type HubResponseOutput struct{ *pulumi.OutputState }
+// Nat Gateway resource.
+type NatGatewayResponseOutput struct{ *pulumi.OutputState }
-func (HubResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*HubResponse)(nil)).Elem()
+func (NatGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NatGatewayResponse)(nil)).Elem()
}
-func (o HubResponseOutput) ToHubResponseOutput() HubResponseOutput {
+func (o NatGatewayResponseOutput) ToNatGatewayResponseOutput() NatGatewayResponseOutput {
return o
}
-func (o HubResponseOutput) ToHubResponseOutputWithContext(ctx context.Context) HubResponseOutput {
+func (o NatGatewayResponseOutput) ToNatGatewayResponseOutputWithContext(ctx context.Context) NatGatewayResponseOutput {
return o
}
-// Resource Id.
-func (o HubResponseOutput) ResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v HubResponse) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o NatGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NatGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Resource Type.
-func (o HubResponseOutput) ResourceType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v HubResponse) *string { return v.ResourceType }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o NatGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-type HubResponseArrayOutput struct{ *pulumi.OutputState }
+// The idle timeout of the nat gateway.
+func (o NatGatewayResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v NatGatewayResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+}
-func (HubResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]HubResponse)(nil)).Elem()
+// Resource location.
+func (o NatGatewayResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o HubResponseArrayOutput) ToHubResponseArrayOutput() HubResponseArrayOutput {
- return o
+// Resource name.
+func (o NatGatewayResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v NatGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (o HubResponseArrayOutput) ToHubResponseArrayOutputWithContext(ctx context.Context) HubResponseArrayOutput {
- return o
+// The provisioning state of the NAT gateway resource.
+func (o NatGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NatGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o HubResponseArrayOutput) Index(i pulumi.IntInput) HubResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) HubResponse {
- return vs[0].([]HubResponse)[vs[1].(int)]
- }).(HubResponseOutput)
+// An array of public ip addresses associated with the nat gateway resource.
+func (o NatGatewayResponseOutput) PublicIpAddresses() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v NatGatewayResponse) []SubResourceResponse { return v.PublicIpAddresses }).(SubResourceResponseArrayOutput)
}
-// RouteTable route.
-type HubRoute struct {
- // The type of destinations (eg: CIDR, ResourceId, Service).
- DestinationType string `pulumi:"destinationType"`
- // List of all destinations.
- Destinations []string `pulumi:"destinations"`
- // The name of the Route that is unique within a RouteTable. This name can be used to access this route.
- Name string `pulumi:"name"`
- // NextHop resource ID.
- NextHop string `pulumi:"nextHop"`
- // The type of next hop (eg: ResourceId).
- NextHopType string `pulumi:"nextHopType"`
+// An array of public ip prefixes associated with the nat gateway resource.
+func (o NatGatewayResponseOutput) PublicIpPrefixes() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v NatGatewayResponse) []SubResourceResponse { return v.PublicIpPrefixes }).(SubResourceResponseArrayOutput)
}
-// HubRouteInput is an input type that accepts HubRouteArgs and HubRouteOutput values.
-// You can construct a concrete instance of `HubRouteInput` via:
-//
-// HubRouteArgs{...}
-type HubRouteInput interface {
- pulumi.Input
+// The resource GUID property of the NAT gateway resource.
+func (o NatGatewayResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v NatGatewayResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+}
- ToHubRouteOutput() HubRouteOutput
- ToHubRouteOutputWithContext(context.Context) HubRouteOutput
+// The nat gateway SKU.
+func (o NatGatewayResponseOutput) Sku() NatGatewaySkuResponsePtrOutput {
+ return o.ApplyT(func(v NatGatewayResponse) *NatGatewaySkuResponse { return v.Sku }).(NatGatewaySkuResponsePtrOutput)
}
-// RouteTable route.
-type HubRouteArgs struct {
- // The type of destinations (eg: CIDR, ResourceId, Service).
- DestinationType pulumi.StringInput `pulumi:"destinationType"`
- // List of all destinations.
- Destinations pulumi.StringArrayInput `pulumi:"destinations"`
- // The name of the Route that is unique within a RouteTable. This name can be used to access this route.
- Name pulumi.StringInput `pulumi:"name"`
- // NextHop resource ID.
- NextHop pulumi.StringInput `pulumi:"nextHop"`
- // The type of next hop (eg: ResourceId).
- NextHopType pulumi.StringInput `pulumi:"nextHopType"`
+// An array of references to the subnets using this nat gateway resource.
+func (o NatGatewayResponseOutput) Subnets() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v NatGatewayResponse) []SubResourceResponse { return v.Subnets }).(SubResourceResponseArrayOutput)
}
-func (HubRouteArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*HubRoute)(nil)).Elem()
+// Resource tags.
+func (o NatGatewayResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NatGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (i HubRouteArgs) ToHubRouteOutput() HubRouteOutput {
- return i.ToHubRouteOutputWithContext(context.Background())
+// Resource type.
+func (o NatGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NatGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (i HubRouteArgs) ToHubRouteOutputWithContext(ctx context.Context) HubRouteOutput {
- return pulumi.ToOutputWithContext(ctx, i).(HubRouteOutput)
+// A list of availability zones denoting the zone in which Nat Gateway should be deployed.
+func (o NatGatewayResponseOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatGatewayResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
}
-// HubRouteArrayInput is an input type that accepts HubRouteArray and HubRouteArrayOutput values.
-// You can construct a concrete instance of `HubRouteArrayInput` via:
-//
-// HubRouteArray{ HubRouteArgs{...} }
-type HubRouteArrayInput interface {
- pulumi.Input
+type NatGatewayResponsePtrOutput struct{ *pulumi.OutputState }
- ToHubRouteArrayOutput() HubRouteArrayOutput
- ToHubRouteArrayOutputWithContext(context.Context) HubRouteArrayOutput
+func (NatGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NatGatewayResponse)(nil)).Elem()
}
-type HubRouteArray []HubRouteInput
-
-func (HubRouteArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]HubRoute)(nil)).Elem()
+func (o NatGatewayResponsePtrOutput) ToNatGatewayResponsePtrOutput() NatGatewayResponsePtrOutput {
+ return o
}
-func (i HubRouteArray) ToHubRouteArrayOutput() HubRouteArrayOutput {
- return i.ToHubRouteArrayOutputWithContext(context.Background())
+func (o NatGatewayResponsePtrOutput) ToNatGatewayResponsePtrOutputWithContext(ctx context.Context) NatGatewayResponsePtrOutput {
+ return o
}
-func (i HubRouteArray) ToHubRouteArrayOutputWithContext(ctx context.Context) HubRouteArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(HubRouteArrayOutput)
+func (o NatGatewayResponsePtrOutput) Elem() NatGatewayResponseOutput {
+ return o.ApplyT(func(v *NatGatewayResponse) NatGatewayResponse {
+ if v != nil {
+ return *v
+ }
+ var ret NatGatewayResponse
+ return ret
+ }).(NatGatewayResponseOutput)
}
-// RouteTable route.
-type HubRouteOutput struct{ *pulumi.OutputState }
+// A unique read-only string that changes whenever the resource is updated.
+func (o NatGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
+}
-func (HubRouteOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*HubRoute)(nil)).Elem()
+// Resource ID.
+func (o NatGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (o HubRouteOutput) ToHubRouteOutput() HubRouteOutput {
- return o
+// The idle timeout of the nat gateway.
+func (o NatGatewayResponsePtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *NatGatewayResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.IdleTimeoutInMinutes
+ }).(pulumi.IntPtrOutput)
}
-func (o HubRouteOutput) ToHubRouteOutputWithContext(ctx context.Context) HubRouteOutput {
- return o
+// Resource location.
+func (o NatGatewayResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-// The type of destinations (eg: CIDR, ResourceId, Service).
-func (o HubRouteOutput) DestinationType() pulumi.StringOutput {
- return o.ApplyT(func(v HubRoute) string { return v.DestinationType }).(pulumi.StringOutput)
+// Resource name.
+func (o NatGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-// List of all destinations.
-func (o HubRouteOutput) Destinations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v HubRoute) []string { return v.Destinations }).(pulumi.StringArrayOutput)
+// The provisioning state of the NAT gateway resource.
+func (o NatGatewayResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// The name of the Route that is unique within a RouteTable. This name can be used to access this route.
-func (o HubRouteOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v HubRoute) string { return v.Name }).(pulumi.StringOutput)
+// An array of public ip addresses associated with the nat gateway resource.
+func (o NatGatewayResponsePtrOutput) PublicIpAddresses() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *NatGatewayResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIpAddresses
+ }).(SubResourceResponseArrayOutput)
}
-// NextHop resource ID.
-func (o HubRouteOutput) NextHop() pulumi.StringOutput {
- return o.ApplyT(func(v HubRoute) string { return v.NextHop }).(pulumi.StringOutput)
+// An array of public ip prefixes associated with the nat gateway resource.
+func (o NatGatewayResponsePtrOutput) PublicIpPrefixes() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *NatGatewayResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIpPrefixes
+ }).(SubResourceResponseArrayOutput)
}
-// The type of next hop (eg: ResourceId).
-func (o HubRouteOutput) NextHopType() pulumi.StringOutput {
- return o.ApplyT(func(v HubRoute) string { return v.NextHopType }).(pulumi.StringOutput)
+// The resource GUID property of the NAT gateway resource.
+func (o NatGatewayResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
}
-type HubRouteArrayOutput struct{ *pulumi.OutputState }
+// The nat gateway SKU.
+func (o NatGatewayResponsePtrOutput) Sku() NatGatewaySkuResponsePtrOutput {
+ return o.ApplyT(func(v *NatGatewayResponse) *NatGatewaySkuResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Sku
+ }).(NatGatewaySkuResponsePtrOutput)
+}
-func (HubRouteArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]HubRoute)(nil)).Elem()
+// An array of references to the subnets using this nat gateway resource.
+func (o NatGatewayResponsePtrOutput) Subnets() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *NatGatewayResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnets
+ }).(SubResourceResponseArrayOutput)
}
-func (o HubRouteArrayOutput) ToHubRouteArrayOutput() HubRouteArrayOutput {
- return o
+// Resource tags.
+func (o NatGatewayResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *NatGatewayResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-func (o HubRouteArrayOutput) ToHubRouteArrayOutputWithContext(ctx context.Context) HubRouteArrayOutput {
- return o
+// Resource type.
+func (o NatGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-func (o HubRouteArrayOutput) Index(i pulumi.IntInput) HubRouteOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) HubRoute {
- return vs[0].([]HubRoute)[vs[1].(int)]
- }).(HubRouteOutput)
+// A list of availability zones denoting the zone in which Nat Gateway should be deployed.
+func (o NatGatewayResponsePtrOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NatGatewayResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Zones
+ }).(pulumi.StringArrayOutput)
}
-// RouteTable route.
-type HubRouteResponse struct {
- // The type of destinations (eg: CIDR, ResourceId, Service).
- DestinationType string `pulumi:"destinationType"`
- // List of all destinations.
- Destinations []string `pulumi:"destinations"`
- // The name of the Route that is unique within a RouteTable. This name can be used to access this route.
+// Nat Gateway resource.
+type NatGatewayServiceGatewayResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The idle timeout of the nat gateway.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
Name string `pulumi:"name"`
- // NextHop resource ID.
- NextHop string `pulumi:"nextHop"`
- // The type of next hop (eg: ResourceId).
- NextHopType string `pulumi:"nextHopType"`
+ // The provisioning state of the NAT gateway resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // An array of public ip addresses V4 associated with the nat gateway resource.
+ PublicIpAddresses []SubResourceResponse `pulumi:"publicIpAddresses"`
+ // An array of public ip addresses V6 associated with the nat gateway resource.
+ PublicIpAddressesV6 []SubResourceResponse `pulumi:"publicIpAddressesV6"`
+ // An array of public ip prefixes V4 associated with the nat gateway resource.
+ PublicIpPrefixes []SubResourceResponse `pulumi:"publicIpPrefixes"`
+ // An array of public ip prefixes V6 associated with the nat gateway resource.
+ PublicIpPrefixesV6 []SubResourceResponse `pulumi:"publicIpPrefixesV6"`
+ // The resource GUID property of the NAT gateway resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // Reference to an existing service gateway.
+ ServiceGateway *SubResourceResponse `pulumi:"serviceGateway"`
+ // The nat gateway SKU.
+ Sku *NatGatewaySkuResponse `pulumi:"sku"`
+ // A reference to the source virtual network using this nat gateway resource.
+ SourceVirtualNetwork *SubResourceResponse `pulumi:"sourceVirtualNetwork"`
+ // An array of references to the subnets using this nat gateway resource.
+ Subnets []SubResourceResponse `pulumi:"subnets"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // A list of availability zones denoting the zone in which Nat Gateway should be deployed.
+ Zones []string `pulumi:"zones"`
}
-// RouteTable route.
-type HubRouteResponseOutput struct{ *pulumi.OutputState }
+// Nat Gateway resource.
+type NatGatewayServiceGatewayResponseOutput struct{ *pulumi.OutputState }
-func (HubRouteResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*HubRouteResponse)(nil)).Elem()
+func (NatGatewayServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NatGatewayServiceGatewayResponse)(nil)).Elem()
}
-func (o HubRouteResponseOutput) ToHubRouteResponseOutput() HubRouteResponseOutput {
+func (o NatGatewayServiceGatewayResponseOutput) ToNatGatewayServiceGatewayResponseOutput() NatGatewayServiceGatewayResponseOutput {
return o
}
-func (o HubRouteResponseOutput) ToHubRouteResponseOutputWithContext(ctx context.Context) HubRouteResponseOutput {
+func (o NatGatewayServiceGatewayResponseOutput) ToNatGatewayServiceGatewayResponseOutputWithContext(ctx context.Context) NatGatewayServiceGatewayResponseOutput {
return o
}
-// The type of destinations (eg: CIDR, ResourceId, Service).
-func (o HubRouteResponseOutput) DestinationType() pulumi.StringOutput {
- return o.ApplyT(func(v HubRouteResponse) string { return v.DestinationType }).(pulumi.StringOutput)
-}
-
-// List of all destinations.
-func (o HubRouteResponseOutput) Destinations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v HubRouteResponse) []string { return v.Destinations }).(pulumi.StringArrayOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o NatGatewayServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// The name of the Route that is unique within a RouteTable. This name can be used to access this route.
-func (o HubRouteResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v HubRouteResponse) string { return v.Name }).(pulumi.StringOutput)
+// Resource ID.
+func (o NatGatewayServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// NextHop resource ID.
-func (o HubRouteResponseOutput) NextHop() pulumi.StringOutput {
- return o.ApplyT(func(v HubRouteResponse) string { return v.NextHop }).(pulumi.StringOutput)
+// The idle timeout of the nat gateway.
+func (o NatGatewayServiceGatewayResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-// The type of next hop (eg: ResourceId).
-func (o HubRouteResponseOutput) NextHopType() pulumi.StringOutput {
- return o.ApplyT(func(v HubRouteResponse) string { return v.NextHopType }).(pulumi.StringOutput)
+// Resource location.
+func (o NatGatewayServiceGatewayResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-type HubRouteResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (HubRouteResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]HubRouteResponse)(nil)).Elem()
+// Resource name.
+func (o NatGatewayServiceGatewayResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (o HubRouteResponseArrayOutput) ToHubRouteResponseArrayOutput() HubRouteResponseArrayOutput {
- return o
+// The provisioning state of the NAT gateway resource.
+func (o NatGatewayServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o HubRouteResponseArrayOutput) ToHubRouteResponseArrayOutputWithContext(ctx context.Context) HubRouteResponseArrayOutput {
- return o
+// An array of public ip addresses V4 associated with the nat gateway resource.
+func (o NatGatewayServiceGatewayResponseOutput) PublicIpAddresses() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) []SubResourceResponse { return v.PublicIpAddresses }).(SubResourceResponseArrayOutput)
}
-func (o HubRouteResponseArrayOutput) Index(i pulumi.IntInput) HubRouteResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) HubRouteResponse {
- return vs[0].([]HubRouteResponse)[vs[1].(int)]
- }).(HubRouteResponseOutput)
+// An array of public ip addresses V6 associated with the nat gateway resource.
+func (o NatGatewayServiceGatewayResponseOutput) PublicIpAddressesV6() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) []SubResourceResponse { return v.PublicIpAddressesV6 }).(SubResourceResponseArrayOutput)
}
-// Properties of IPConfigurationBgpPeeringAddress.
-type IPConfigurationBgpPeeringAddress struct {
- // The list of custom BGP peering addresses which belong to IP configuration.
- CustomBgpIpAddresses []string `pulumi:"customBgpIpAddresses"`
- // The ID of IP configuration which belongs to gateway.
- IpconfigurationId *string `pulumi:"ipconfigurationId"`
+// An array of public ip prefixes V4 associated with the nat gateway resource.
+func (o NatGatewayServiceGatewayResponseOutput) PublicIpPrefixes() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) []SubResourceResponse { return v.PublicIpPrefixes }).(SubResourceResponseArrayOutput)
}
-// IPConfigurationBgpPeeringAddressInput is an input type that accepts IPConfigurationBgpPeeringAddressArgs and IPConfigurationBgpPeeringAddressOutput values.
-// You can construct a concrete instance of `IPConfigurationBgpPeeringAddressInput` via:
-//
-// IPConfigurationBgpPeeringAddressArgs{...}
-type IPConfigurationBgpPeeringAddressInput interface {
- pulumi.Input
-
- ToIPConfigurationBgpPeeringAddressOutput() IPConfigurationBgpPeeringAddressOutput
- ToIPConfigurationBgpPeeringAddressOutputWithContext(context.Context) IPConfigurationBgpPeeringAddressOutput
+// An array of public ip prefixes V6 associated with the nat gateway resource.
+func (o NatGatewayServiceGatewayResponseOutput) PublicIpPrefixesV6() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) []SubResourceResponse { return v.PublicIpPrefixesV6 }).(SubResourceResponseArrayOutput)
}
-// Properties of IPConfigurationBgpPeeringAddress.
-type IPConfigurationBgpPeeringAddressArgs struct {
- // The list of custom BGP peering addresses which belong to IP configuration.
- CustomBgpIpAddresses pulumi.StringArrayInput `pulumi:"customBgpIpAddresses"`
- // The ID of IP configuration which belongs to gateway.
- IpconfigurationId pulumi.StringPtrInput `pulumi:"ipconfigurationId"`
+// The resource GUID property of the NAT gateway resource.
+func (o NatGatewayServiceGatewayResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-func (IPConfigurationBgpPeeringAddressArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*IPConfigurationBgpPeeringAddress)(nil)).Elem()
+// Reference to an existing service gateway.
+func (o NatGatewayServiceGatewayResponseOutput) ServiceGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) *SubResourceResponse { return v.ServiceGateway }).(SubResourceResponsePtrOutput)
}
-func (i IPConfigurationBgpPeeringAddressArgs) ToIPConfigurationBgpPeeringAddressOutput() IPConfigurationBgpPeeringAddressOutput {
- return i.ToIPConfigurationBgpPeeringAddressOutputWithContext(context.Background())
+// The nat gateway SKU.
+func (o NatGatewayServiceGatewayResponseOutput) Sku() NatGatewaySkuResponsePtrOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) *NatGatewaySkuResponse { return v.Sku }).(NatGatewaySkuResponsePtrOutput)
}
-func (i IPConfigurationBgpPeeringAddressArgs) ToIPConfigurationBgpPeeringAddressOutputWithContext(ctx context.Context) IPConfigurationBgpPeeringAddressOutput {
- return pulumi.ToOutputWithContext(ctx, i).(IPConfigurationBgpPeeringAddressOutput)
+// A reference to the source virtual network using this nat gateway resource.
+func (o NatGatewayServiceGatewayResponseOutput) SourceVirtualNetwork() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) *SubResourceResponse { return v.SourceVirtualNetwork }).(SubResourceResponsePtrOutput)
}
-// IPConfigurationBgpPeeringAddressArrayInput is an input type that accepts IPConfigurationBgpPeeringAddressArray and IPConfigurationBgpPeeringAddressArrayOutput values.
-// You can construct a concrete instance of `IPConfigurationBgpPeeringAddressArrayInput` via:
-//
-// IPConfigurationBgpPeeringAddressArray{ IPConfigurationBgpPeeringAddressArgs{...} }
-type IPConfigurationBgpPeeringAddressArrayInput interface {
- pulumi.Input
-
- ToIPConfigurationBgpPeeringAddressArrayOutput() IPConfigurationBgpPeeringAddressArrayOutput
- ToIPConfigurationBgpPeeringAddressArrayOutputWithContext(context.Context) IPConfigurationBgpPeeringAddressArrayOutput
+// An array of references to the subnets using this nat gateway resource.
+func (o NatGatewayServiceGatewayResponseOutput) Subnets() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) []SubResourceResponse { return v.Subnets }).(SubResourceResponseArrayOutput)
}
-type IPConfigurationBgpPeeringAddressArray []IPConfigurationBgpPeeringAddressInput
-
-func (IPConfigurationBgpPeeringAddressArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IPConfigurationBgpPeeringAddress)(nil)).Elem()
+// Resource tags.
+func (o NatGatewayServiceGatewayResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (i IPConfigurationBgpPeeringAddressArray) ToIPConfigurationBgpPeeringAddressArrayOutput() IPConfigurationBgpPeeringAddressArrayOutput {
- return i.ToIPConfigurationBgpPeeringAddressArrayOutputWithContext(context.Background())
+// Resource type.
+func (o NatGatewayServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (i IPConfigurationBgpPeeringAddressArray) ToIPConfigurationBgpPeeringAddressArrayOutputWithContext(ctx context.Context) IPConfigurationBgpPeeringAddressArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(IPConfigurationBgpPeeringAddressArrayOutput)
+// A list of availability zones denoting the zone in which Nat Gateway should be deployed.
+func (o NatGatewayServiceGatewayResponseOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatGatewayServiceGatewayResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
}
-// Properties of IPConfigurationBgpPeeringAddress.
-type IPConfigurationBgpPeeringAddressOutput struct{ *pulumi.OutputState }
+type NatGatewayServiceGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-func (IPConfigurationBgpPeeringAddressOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IPConfigurationBgpPeeringAddress)(nil)).Elem()
+func (NatGatewayServiceGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NatGatewayServiceGatewayResponse)(nil)).Elem()
}
-func (o IPConfigurationBgpPeeringAddressOutput) ToIPConfigurationBgpPeeringAddressOutput() IPConfigurationBgpPeeringAddressOutput {
+func (o NatGatewayServiceGatewayResponsePtrOutput) ToNatGatewayServiceGatewayResponsePtrOutput() NatGatewayServiceGatewayResponsePtrOutput {
return o
}
-func (o IPConfigurationBgpPeeringAddressOutput) ToIPConfigurationBgpPeeringAddressOutputWithContext(ctx context.Context) IPConfigurationBgpPeeringAddressOutput {
+func (o NatGatewayServiceGatewayResponsePtrOutput) ToNatGatewayServiceGatewayResponsePtrOutputWithContext(ctx context.Context) NatGatewayServiceGatewayResponsePtrOutput {
return o
}
-// The list of custom BGP peering addresses which belong to IP configuration.
-func (o IPConfigurationBgpPeeringAddressOutput) CustomBgpIpAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IPConfigurationBgpPeeringAddress) []string { return v.CustomBgpIpAddresses }).(pulumi.StringArrayOutput)
+func (o NatGatewayServiceGatewayResponsePtrOutput) Elem() NatGatewayServiceGatewayResponseOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) NatGatewayServiceGatewayResponse {
+ if v != nil {
+ return *v
+ }
+ var ret NatGatewayServiceGatewayResponse
+ return ret
+ }).(NatGatewayServiceGatewayResponseOutput)
}
-// The ID of IP configuration which belongs to gateway.
-func (o IPConfigurationBgpPeeringAddressOutput) IpconfigurationId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationBgpPeeringAddress) *string { return v.IpconfigurationId }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o NatGatewayServiceGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-type IPConfigurationBgpPeeringAddressArrayOutput struct{ *pulumi.OutputState }
-
-func (IPConfigurationBgpPeeringAddressArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IPConfigurationBgpPeeringAddress)(nil)).Elem()
+// Resource ID.
+func (o NatGatewayServiceGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (o IPConfigurationBgpPeeringAddressArrayOutput) ToIPConfigurationBgpPeeringAddressArrayOutput() IPConfigurationBgpPeeringAddressArrayOutput {
- return o
+// The idle timeout of the nat gateway.
+func (o NatGatewayServiceGatewayResponsePtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.IdleTimeoutInMinutes
+ }).(pulumi.IntPtrOutput)
}
-func (o IPConfigurationBgpPeeringAddressArrayOutput) ToIPConfigurationBgpPeeringAddressArrayOutputWithContext(ctx context.Context) IPConfigurationBgpPeeringAddressArrayOutput {
- return o
+// Resource location.
+func (o NatGatewayServiceGatewayResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-func (o IPConfigurationBgpPeeringAddressArrayOutput) Index(i pulumi.IntInput) IPConfigurationBgpPeeringAddressOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationBgpPeeringAddress {
- return vs[0].([]IPConfigurationBgpPeeringAddress)[vs[1].(int)]
- }).(IPConfigurationBgpPeeringAddressOutput)
+// Resource name.
+func (o NatGatewayServiceGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-// Properties of IPConfigurationBgpPeeringAddress.
-type IPConfigurationBgpPeeringAddressResponse struct {
- // The list of custom BGP peering addresses which belong to IP configuration.
- CustomBgpIpAddresses []string `pulumi:"customBgpIpAddresses"`
- // The list of default BGP peering addresses which belong to IP configuration.
- DefaultBgpIpAddresses []string `pulumi:"defaultBgpIpAddresses"`
- // The ID of IP configuration which belongs to gateway.
- IpconfigurationId *string `pulumi:"ipconfigurationId"`
- // The list of tunnel public IP addresses which belong to IP configuration.
- TunnelIpAddresses []string `pulumi:"tunnelIpAddresses"`
+// The provisioning state of the NAT gateway resource.
+func (o NatGatewayServiceGatewayResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// Properties of IPConfigurationBgpPeeringAddress.
-type IPConfigurationBgpPeeringAddressResponseOutput struct{ *pulumi.OutputState }
-
-func (IPConfigurationBgpPeeringAddressResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IPConfigurationBgpPeeringAddressResponse)(nil)).Elem()
+// An array of public ip addresses V4 associated with the nat gateway resource.
+func (o NatGatewayServiceGatewayResponsePtrOutput) PublicIpAddresses() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIpAddresses
+ }).(SubResourceResponseArrayOutput)
}
-func (o IPConfigurationBgpPeeringAddressResponseOutput) ToIPConfigurationBgpPeeringAddressResponseOutput() IPConfigurationBgpPeeringAddressResponseOutput {
- return o
+// An array of public ip addresses V6 associated with the nat gateway resource.
+func (o NatGatewayServiceGatewayResponsePtrOutput) PublicIpAddressesV6() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIpAddressesV6
+ }).(SubResourceResponseArrayOutput)
}
-func (o IPConfigurationBgpPeeringAddressResponseOutput) ToIPConfigurationBgpPeeringAddressResponseOutputWithContext(ctx context.Context) IPConfigurationBgpPeeringAddressResponseOutput {
- return o
+// An array of public ip prefixes V4 associated with the nat gateway resource.
+func (o NatGatewayServiceGatewayResponsePtrOutput) PublicIpPrefixes() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIpPrefixes
+ }).(SubResourceResponseArrayOutput)
}
-// The list of custom BGP peering addresses which belong to IP configuration.
-func (o IPConfigurationBgpPeeringAddressResponseOutput) CustomBgpIpAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IPConfigurationBgpPeeringAddressResponse) []string { return v.CustomBgpIpAddresses }).(pulumi.StringArrayOutput)
+// An array of public ip prefixes V6 associated with the nat gateway resource.
+func (o NatGatewayServiceGatewayResponsePtrOutput) PublicIpPrefixesV6() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIpPrefixesV6
+ }).(SubResourceResponseArrayOutput)
}
-// The list of default BGP peering addresses which belong to IP configuration.
-func (o IPConfigurationBgpPeeringAddressResponseOutput) DefaultBgpIpAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IPConfigurationBgpPeeringAddressResponse) []string { return v.DefaultBgpIpAddresses }).(pulumi.StringArrayOutput)
+// The resource GUID property of the NAT gateway resource.
+func (o NatGatewayServiceGatewayResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
}
-// The ID of IP configuration which belongs to gateway.
-func (o IPConfigurationBgpPeeringAddressResponseOutput) IpconfigurationId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationBgpPeeringAddressResponse) *string { return v.IpconfigurationId }).(pulumi.StringPtrOutput)
+// Reference to an existing service gateway.
+func (o NatGatewayServiceGatewayResponsePtrOutput) ServiceGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceGateway
+ }).(SubResourceResponsePtrOutput)
}
-// The list of tunnel public IP addresses which belong to IP configuration.
-func (o IPConfigurationBgpPeeringAddressResponseOutput) TunnelIpAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IPConfigurationBgpPeeringAddressResponse) []string { return v.TunnelIpAddresses }).(pulumi.StringArrayOutput)
+// The nat gateway SKU.
+func (o NatGatewayServiceGatewayResponsePtrOutput) Sku() NatGatewaySkuResponsePtrOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) *NatGatewaySkuResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Sku
+ }).(NatGatewaySkuResponsePtrOutput)
}
-type IPConfigurationBgpPeeringAddressResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (IPConfigurationBgpPeeringAddressResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IPConfigurationBgpPeeringAddressResponse)(nil)).Elem()
+// A reference to the source virtual network using this nat gateway resource.
+func (o NatGatewayServiceGatewayResponsePtrOutput) SourceVirtualNetwork() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.SourceVirtualNetwork
+ }).(SubResourceResponsePtrOutput)
}
-func (o IPConfigurationBgpPeeringAddressResponseArrayOutput) ToIPConfigurationBgpPeeringAddressResponseArrayOutput() IPConfigurationBgpPeeringAddressResponseArrayOutput {
- return o
+// An array of references to the subnets using this nat gateway resource.
+func (o NatGatewayServiceGatewayResponsePtrOutput) Subnets() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnets
+ }).(SubResourceResponseArrayOutput)
}
-func (o IPConfigurationBgpPeeringAddressResponseArrayOutput) ToIPConfigurationBgpPeeringAddressResponseArrayOutputWithContext(ctx context.Context) IPConfigurationBgpPeeringAddressResponseArrayOutput {
- return o
+// Resource tags.
+func (o NatGatewayServiceGatewayResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-func (o IPConfigurationBgpPeeringAddressResponseArrayOutput) Index(i pulumi.IntInput) IPConfigurationBgpPeeringAddressResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationBgpPeeringAddressResponse {
- return vs[0].([]IPConfigurationBgpPeeringAddressResponse)[vs[1].(int)]
- }).(IPConfigurationBgpPeeringAddressResponseOutput)
+// Resource type.
+func (o NatGatewayServiceGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-// IP configuration profile child resource.
-type IPConfigurationProfile struct {
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The reference to the subnet resource to create a container network interface ip configuration.
- Subnet *SubnetType `pulumi:"subnet"`
+// A list of availability zones denoting the zone in which Nat Gateway should be deployed.
+func (o NatGatewayServiceGatewayResponsePtrOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NatGatewayServiceGatewayResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Zones
+ }).(pulumi.StringArrayOutput)
}
-// Defaults sets the appropriate defaults for IPConfigurationProfile
-func (val *IPConfigurationProfile) Defaults() *IPConfigurationProfile {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.Subnet = tmp.Subnet.Defaults()
-
- return &tmp
+// SKU of nat gateway.
+type NatGatewaySku struct {
+ // Name of Nat Gateway SKU.
+ Name *string `pulumi:"name"`
}
-// IPConfigurationProfileInput is an input type that accepts IPConfigurationProfileArgs and IPConfigurationProfileOutput values.
-// You can construct a concrete instance of `IPConfigurationProfileInput` via:
+// NatGatewaySkuInput is an input type that accepts NatGatewaySkuArgs and NatGatewaySkuOutput values.
+// You can construct a concrete instance of `NatGatewaySkuInput` via:
//
-// IPConfigurationProfileArgs{...}
-type IPConfigurationProfileInput interface {
+// NatGatewaySkuArgs{...}
+type NatGatewaySkuInput interface {
pulumi.Input
- ToIPConfigurationProfileOutput() IPConfigurationProfileOutput
- ToIPConfigurationProfileOutputWithContext(context.Context) IPConfigurationProfileOutput
+ ToNatGatewaySkuOutput() NatGatewaySkuOutput
+ ToNatGatewaySkuOutputWithContext(context.Context) NatGatewaySkuOutput
}
-// IP configuration profile child resource.
-type IPConfigurationProfileArgs struct {
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The name of the resource. This name can be used to access the resource.
+// SKU of nat gateway.
+type NatGatewaySkuArgs struct {
+ // Name of Nat Gateway SKU.
Name pulumi.StringPtrInput `pulumi:"name"`
- // The reference to the subnet resource to create a container network interface ip configuration.
- Subnet SubnetTypePtrInput `pulumi:"subnet"`
-}
-
-// Defaults sets the appropriate defaults for IPConfigurationProfileArgs
-func (val *IPConfigurationProfileArgs) Defaults() *IPConfigurationProfileArgs {
- if val == nil {
- return nil
- }
- tmp := *val
-
- return &tmp
-}
-func (IPConfigurationProfileArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*IPConfigurationProfile)(nil)).Elem()
-}
-
-func (i IPConfigurationProfileArgs) ToIPConfigurationProfileOutput() IPConfigurationProfileOutput {
- return i.ToIPConfigurationProfileOutputWithContext(context.Background())
}
-func (i IPConfigurationProfileArgs) ToIPConfigurationProfileOutputWithContext(ctx context.Context) IPConfigurationProfileOutput {
- return pulumi.ToOutputWithContext(ctx, i).(IPConfigurationProfileOutput)
+func (NatGatewaySkuArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NatGatewaySku)(nil)).Elem()
}
-// IPConfigurationProfileArrayInput is an input type that accepts IPConfigurationProfileArray and IPConfigurationProfileArrayOutput values.
-// You can construct a concrete instance of `IPConfigurationProfileArrayInput` via:
-//
-// IPConfigurationProfileArray{ IPConfigurationProfileArgs{...} }
-type IPConfigurationProfileArrayInput interface {
- pulumi.Input
-
- ToIPConfigurationProfileArrayOutput() IPConfigurationProfileArrayOutput
- ToIPConfigurationProfileArrayOutputWithContext(context.Context) IPConfigurationProfileArrayOutput
+func (i NatGatewaySkuArgs) ToNatGatewaySkuOutput() NatGatewaySkuOutput {
+ return i.ToNatGatewaySkuOutputWithContext(context.Background())
}
-type IPConfigurationProfileArray []IPConfigurationProfileInput
-
-func (IPConfigurationProfileArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IPConfigurationProfile)(nil)).Elem()
+func (i NatGatewaySkuArgs) ToNatGatewaySkuOutputWithContext(ctx context.Context) NatGatewaySkuOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NatGatewaySkuOutput)
}
-func (i IPConfigurationProfileArray) ToIPConfigurationProfileArrayOutput() IPConfigurationProfileArrayOutput {
- return i.ToIPConfigurationProfileArrayOutputWithContext(context.Background())
+func (i NatGatewaySkuArgs) ToNatGatewaySkuPtrOutput() NatGatewaySkuPtrOutput {
+ return i.ToNatGatewaySkuPtrOutputWithContext(context.Background())
}
-func (i IPConfigurationProfileArray) ToIPConfigurationProfileArrayOutputWithContext(ctx context.Context) IPConfigurationProfileArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(IPConfigurationProfileArrayOutput)
+func (i NatGatewaySkuArgs) ToNatGatewaySkuPtrOutputWithContext(ctx context.Context) NatGatewaySkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NatGatewaySkuOutput).ToNatGatewaySkuPtrOutputWithContext(ctx)
}
-// IP configuration profile child resource.
-type IPConfigurationProfileOutput struct{ *pulumi.OutputState }
+// NatGatewaySkuPtrInput is an input type that accepts NatGatewaySkuArgs, NatGatewaySkuPtr and NatGatewaySkuPtrOutput values.
+// You can construct a concrete instance of `NatGatewaySkuPtrInput` via:
+//
+// NatGatewaySkuArgs{...}
+//
+// or:
+//
+// nil
+type NatGatewaySkuPtrInput interface {
+ pulumi.Input
-func (IPConfigurationProfileOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IPConfigurationProfile)(nil)).Elem()
+ ToNatGatewaySkuPtrOutput() NatGatewaySkuPtrOutput
+ ToNatGatewaySkuPtrOutputWithContext(context.Context) NatGatewaySkuPtrOutput
}
-func (o IPConfigurationProfileOutput) ToIPConfigurationProfileOutput() IPConfigurationProfileOutput {
- return o
-}
+type natGatewaySkuPtrType NatGatewaySkuArgs
-func (o IPConfigurationProfileOutput) ToIPConfigurationProfileOutputWithContext(ctx context.Context) IPConfigurationProfileOutput {
- return o
+func NatGatewaySkuPtr(v *NatGatewaySkuArgs) NatGatewaySkuPtrInput {
+ return (*natGatewaySkuPtrType)(v)
}
-// Resource ID.
-func (o IPConfigurationProfileOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationProfile) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (*natGatewaySkuPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**NatGatewaySku)(nil)).Elem()
}
-// The name of the resource. This name can be used to access the resource.
-func (o IPConfigurationProfileOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationProfile) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (i *natGatewaySkuPtrType) ToNatGatewaySkuPtrOutput() NatGatewaySkuPtrOutput {
+ return i.ToNatGatewaySkuPtrOutputWithContext(context.Background())
}
-// The reference to the subnet resource to create a container network interface ip configuration.
-func (o IPConfigurationProfileOutput) Subnet() SubnetTypePtrOutput {
- return o.ApplyT(func(v IPConfigurationProfile) *SubnetType { return v.Subnet }).(SubnetTypePtrOutput)
+func (i *natGatewaySkuPtrType) ToNatGatewaySkuPtrOutputWithContext(ctx context.Context) NatGatewaySkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NatGatewaySkuPtrOutput)
}
-type IPConfigurationProfileArrayOutput struct{ *pulumi.OutputState }
+// SKU of nat gateway.
+type NatGatewaySkuOutput struct{ *pulumi.OutputState }
-func (IPConfigurationProfileArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IPConfigurationProfile)(nil)).Elem()
+func (NatGatewaySkuOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NatGatewaySku)(nil)).Elem()
}
-func (o IPConfigurationProfileArrayOutput) ToIPConfigurationProfileArrayOutput() IPConfigurationProfileArrayOutput {
+func (o NatGatewaySkuOutput) ToNatGatewaySkuOutput() NatGatewaySkuOutput {
return o
}
-func (o IPConfigurationProfileArrayOutput) ToIPConfigurationProfileArrayOutputWithContext(ctx context.Context) IPConfigurationProfileArrayOutput {
+func (o NatGatewaySkuOutput) ToNatGatewaySkuOutputWithContext(ctx context.Context) NatGatewaySkuOutput {
return o
}
-func (o IPConfigurationProfileArrayOutput) Index(i pulumi.IntInput) IPConfigurationProfileOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationProfile {
- return vs[0].([]IPConfigurationProfile)[vs[1].(int)]
- }).(IPConfigurationProfileOutput)
+func (o NatGatewaySkuOutput) ToNatGatewaySkuPtrOutput() NatGatewaySkuPtrOutput {
+ return o.ToNatGatewaySkuPtrOutputWithContext(context.Background())
}
-// IP configuration profile child resource.
-type IPConfigurationProfileResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the IP configuration profile resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The reference to the subnet resource to create a container network interface ip configuration.
- Subnet *SubnetResponse `pulumi:"subnet"`
- // Sub Resource type.
- Type string `pulumi:"type"`
+func (o NatGatewaySkuOutput) ToNatGatewaySkuPtrOutputWithContext(ctx context.Context) NatGatewaySkuPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v NatGatewaySku) *NatGatewaySku {
+ return &v
+ }).(NatGatewaySkuPtrOutput)
}
-// Defaults sets the appropriate defaults for IPConfigurationProfileResponse
-func (val *IPConfigurationProfileResponse) Defaults() *IPConfigurationProfileResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.Subnet = tmp.Subnet.Defaults()
-
- return &tmp
+// Name of Nat Gateway SKU.
+func (o NatGatewaySkuOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatGatewaySku) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// IP configuration profile child resource.
-type IPConfigurationProfileResponseOutput struct{ *pulumi.OutputState }
+type NatGatewaySkuPtrOutput struct{ *pulumi.OutputState }
-func (IPConfigurationProfileResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IPConfigurationProfileResponse)(nil)).Elem()
+func (NatGatewaySkuPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NatGatewaySku)(nil)).Elem()
}
-func (o IPConfigurationProfileResponseOutput) ToIPConfigurationProfileResponseOutput() IPConfigurationProfileResponseOutput {
+func (o NatGatewaySkuPtrOutput) ToNatGatewaySkuPtrOutput() NatGatewaySkuPtrOutput {
return o
}
-func (o IPConfigurationProfileResponseOutput) ToIPConfigurationProfileResponseOutputWithContext(ctx context.Context) IPConfigurationProfileResponseOutput {
+func (o NatGatewaySkuPtrOutput) ToNatGatewaySkuPtrOutputWithContext(ctx context.Context) NatGatewaySkuPtrOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o IPConfigurationProfileResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v IPConfigurationProfileResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o NatGatewaySkuPtrOutput) Elem() NatGatewaySkuOutput {
+ return o.ApplyT(func(v *NatGatewaySku) NatGatewaySku {
+ if v != nil {
+ return *v
+ }
+ var ret NatGatewaySku
+ return ret
+ }).(NatGatewaySkuOutput)
}
-// Resource ID.
-func (o IPConfigurationProfileResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationProfileResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Name of Nat Gateway SKU.
+func (o NatGatewaySkuPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewaySku) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// The name of the resource. This name can be used to access the resource.
-func (o IPConfigurationProfileResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationProfileResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// SKU of nat gateway.
+type NatGatewaySkuResponse struct {
+ // Name of Nat Gateway SKU.
+ Name *string `pulumi:"name"`
}
-// The provisioning state of the IP configuration profile resource.
-func (o IPConfigurationProfileResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v IPConfigurationProfileResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// SKU of nat gateway.
+type NatGatewaySkuResponseOutput struct{ *pulumi.OutputState }
+
+func (NatGatewaySkuResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NatGatewaySkuResponse)(nil)).Elem()
}
-// The reference to the subnet resource to create a container network interface ip configuration.
-func (o IPConfigurationProfileResponseOutput) Subnet() SubnetResponsePtrOutput {
- return o.ApplyT(func(v IPConfigurationProfileResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
+func (o NatGatewaySkuResponseOutput) ToNatGatewaySkuResponseOutput() NatGatewaySkuResponseOutput {
+ return o
}
-// Sub Resource type.
-func (o IPConfigurationProfileResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v IPConfigurationProfileResponse) string { return v.Type }).(pulumi.StringOutput)
+func (o NatGatewaySkuResponseOutput) ToNatGatewaySkuResponseOutputWithContext(ctx context.Context) NatGatewaySkuResponseOutput {
+ return o
}
-type IPConfigurationProfileResponseArrayOutput struct{ *pulumi.OutputState }
+// Name of Nat Gateway SKU.
+func (o NatGatewaySkuResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatGatewaySkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
-func (IPConfigurationProfileResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IPConfigurationProfileResponse)(nil)).Elem()
+type NatGatewaySkuResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (NatGatewaySkuResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NatGatewaySkuResponse)(nil)).Elem()
}
-func (o IPConfigurationProfileResponseArrayOutput) ToIPConfigurationProfileResponseArrayOutput() IPConfigurationProfileResponseArrayOutput {
+func (o NatGatewaySkuResponsePtrOutput) ToNatGatewaySkuResponsePtrOutput() NatGatewaySkuResponsePtrOutput {
return o
}
-func (o IPConfigurationProfileResponseArrayOutput) ToIPConfigurationProfileResponseArrayOutputWithContext(ctx context.Context) IPConfigurationProfileResponseArrayOutput {
+func (o NatGatewaySkuResponsePtrOutput) ToNatGatewaySkuResponsePtrOutputWithContext(ctx context.Context) NatGatewaySkuResponsePtrOutput {
return o
}
-func (o IPConfigurationProfileResponseArrayOutput) Index(i pulumi.IntInput) IPConfigurationProfileResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationProfileResponse {
- return vs[0].([]IPConfigurationProfileResponse)[vs[1].(int)]
- }).(IPConfigurationProfileResponseOutput)
+func (o NatGatewaySkuResponsePtrOutput) Elem() NatGatewaySkuResponseOutput {
+ return o.ApplyT(func(v *NatGatewaySkuResponse) NatGatewaySkuResponse {
+ if v != nil {
+ return *v
+ }
+ var ret NatGatewaySkuResponse
+ return ret
+ }).(NatGatewaySkuResponseOutput)
}
-// IP configuration profile child resource.
-type IPConfigurationProfileResponseV1 struct {
+// Name of Nat Gateway SKU.
+func (o NatGatewaySkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewaySkuResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
+}
+
+// Nat Gateway resource.
+type NatGatewayVirtualNetworkApplianceResponse struct {
// A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
+ Etag string `pulumi:"etag"`
// Resource ID.
Id *string `pulumi:"id"`
- // The name of the resource. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the resource.
+ // The idle timeout of the nat gateway.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The provisioning state of the NAT gateway resource.
ProvisioningState string `pulumi:"provisioningState"`
- // The reference of the subnet resource to create a container network interface ip configuration.
- Subnet *SubnetResponse `pulumi:"subnet"`
- // Sub Resource type.
+ // An array of public ip addresses V4 associated with the nat gateway resource.
+ PublicIpAddresses []SubResourceResponse `pulumi:"publicIpAddresses"`
+ // An array of public ip addresses V6 associated with the nat gateway resource.
+ PublicIpAddressesV6 []SubResourceResponse `pulumi:"publicIpAddressesV6"`
+ // An array of public ip prefixes V4 associated with the nat gateway resource.
+ PublicIpPrefixes []SubResourceResponse `pulumi:"publicIpPrefixes"`
+ // An array of public ip prefixes V6 associated with the nat gateway resource.
+ PublicIpPrefixesV6 []SubResourceResponse `pulumi:"publicIpPrefixesV6"`
+ // The resource GUID property of the NAT gateway resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // Reference to an existing service gateway.
+ ServiceGateway *SubResourceResponse `pulumi:"serviceGateway"`
+ // The nat gateway SKU.
+ Sku *NatGatewaySkuResponse `pulumi:"sku"`
+ // A reference to the source virtual network using this nat gateway resource.
+ SourceVirtualNetwork *SubResourceResponse `pulumi:"sourceVirtualNetwork"`
+ // An array of references to the subnets using this nat gateway resource.
+ Subnets []SubResourceResponse `pulumi:"subnets"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
Type string `pulumi:"type"`
+ // A list of availability zones denoting the zone in which Nat Gateway should be deployed.
+ Zones []string `pulumi:"zones"`
}
-// Defaults sets the appropriate defaults for IPConfigurationProfileResponseV1
-func (val *IPConfigurationProfileResponseV1) Defaults() *IPConfigurationProfileResponseV1 {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.Subnet = tmp.Subnet.Defaults()
-
- return &tmp
-}
-
-// IP configuration profile child resource.
-type IPConfigurationProfileResponseV1Output struct{ *pulumi.OutputState }
+// Nat Gateway resource.
+type NatGatewayVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
-func (IPConfigurationProfileResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*IPConfigurationProfileResponseV1)(nil)).Elem()
+func (NatGatewayVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NatGatewayVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o IPConfigurationProfileResponseV1Output) ToIPConfigurationProfileResponseV1Output() IPConfigurationProfileResponseV1Output {
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) ToNatGatewayVirtualNetworkApplianceResponseOutput() NatGatewayVirtualNetworkApplianceResponseOutput {
return o
}
-func (o IPConfigurationProfileResponseV1Output) ToIPConfigurationProfileResponseV1OutputWithContext(ctx context.Context) IPConfigurationProfileResponseV1Output {
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) ToNatGatewayVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) NatGatewayVirtualNetworkApplianceResponseOutput {
return o
}
// A unique read-only string that changes whenever the resource is updated.
-func (o IPConfigurationProfileResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationProfileResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
// Resource ID.
-func (o IPConfigurationProfileResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationProfileResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// The name of the resource. This name can be used to access the resource.
-func (o IPConfigurationProfileResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationProfileResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-// The provisioning state of the resource.
-func (o IPConfigurationProfileResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v IPConfigurationProfileResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
-
-// The reference of the subnet resource to create a container network interface ip configuration.
-func (o IPConfigurationProfileResponseV1Output) Subnet() SubnetResponsePtrOutput {
- return o.ApplyT(func(v IPConfigurationProfileResponseV1) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Sub Resource type.
-func (o IPConfigurationProfileResponseV1Output) Type() pulumi.StringOutput {
- return o.ApplyT(func(v IPConfigurationProfileResponseV1) string { return v.Type }).(pulumi.StringOutput)
-}
-
-type IPConfigurationProfileResponseV1ArrayOutput struct{ *pulumi.OutputState }
-
-func (IPConfigurationProfileResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IPConfigurationProfileResponseV1)(nil)).Elem()
-}
-
-func (o IPConfigurationProfileResponseV1ArrayOutput) ToIPConfigurationProfileResponseV1ArrayOutput() IPConfigurationProfileResponseV1ArrayOutput {
- return o
+// The idle timeout of the nat gateway.
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-func (o IPConfigurationProfileResponseV1ArrayOutput) ToIPConfigurationProfileResponseV1ArrayOutputWithContext(ctx context.Context) IPConfigurationProfileResponseV1ArrayOutput {
- return o
+// Resource location.
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o IPConfigurationProfileResponseV1ArrayOutput) Index(i pulumi.IntInput) IPConfigurationProfileResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationProfileResponseV1 {
- return vs[0].([]IPConfigurationProfileResponseV1)[vs[1].(int)]
- }).(IPConfigurationProfileResponseV1Output)
+// Resource name.
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// IP configuration.
-type IPConfigurationResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The private IP address of the IP configuration.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // The private IP address allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // The provisioning state of the IP configuration resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The reference to the public IP resource.
- PublicIPAddress *PublicIPAddressResponse `pulumi:"publicIPAddress"`
- // The reference to the subnet resource.
- Subnet *SubnetResponse `pulumi:"subnet"`
+// The provisioning state of the NAT gateway resource.
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Defaults sets the appropriate defaults for IPConfigurationResponse
-func (val *IPConfigurationResponse) Defaults() *IPConfigurationResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.PrivateIPAllocationMethod == nil {
- privateIPAllocationMethod_ := "Dynamic"
- tmp.PrivateIPAllocationMethod = &privateIPAllocationMethod_
- }
- tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
-
- tmp.Subnet = tmp.Subnet.Defaults()
-
- return &tmp
+// An array of public ip addresses V4 associated with the nat gateway resource.
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) PublicIpAddresses() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) []SubResourceResponse { return v.PublicIpAddresses }).(SubResourceResponseArrayOutput)
}
-// IP configuration.
-type IPConfigurationResponseOutput struct{ *pulumi.OutputState }
-
-func (IPConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IPConfigurationResponse)(nil)).Elem()
+// An array of public ip addresses V6 associated with the nat gateway resource.
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) PublicIpAddressesV6() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) []SubResourceResponse { return v.PublicIpAddressesV6 }).(SubResourceResponseArrayOutput)
}
-func (o IPConfigurationResponseOutput) ToIPConfigurationResponseOutput() IPConfigurationResponseOutput {
- return o
+// An array of public ip prefixes V4 associated with the nat gateway resource.
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) PublicIpPrefixes() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) []SubResourceResponse { return v.PublicIpPrefixes }).(SubResourceResponseArrayOutput)
}
-func (o IPConfigurationResponseOutput) ToIPConfigurationResponseOutputWithContext(ctx context.Context) IPConfigurationResponseOutput {
- return o
+// An array of public ip prefixes V6 associated with the nat gateway resource.
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) PublicIpPrefixesV6() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) []SubResourceResponse { return v.PublicIpPrefixesV6 }).(SubResourceResponseArrayOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o IPConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v IPConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
+// The resource GUID property of the NAT gateway resource.
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// Resource ID.
-func (o IPConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Reference to an existing service gateway.
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) ServiceGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) *SubResourceResponse { return v.ServiceGateway }).(SubResourceResponsePtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o IPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The nat gateway SKU.
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) Sku() NatGatewaySkuResponsePtrOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) *NatGatewaySkuResponse { return v.Sku }).(NatGatewaySkuResponsePtrOutput)
}
-// The private IP address of the IP configuration.
-func (o IPConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+// A reference to the source virtual network using this nat gateway resource.
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) SourceVirtualNetwork() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) *SubResourceResponse { return v.SourceVirtualNetwork }).(SubResourceResponsePtrOutput)
}
-// The private IP address allocation method.
-func (o IPConfigurationResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+// An array of references to the subnets using this nat gateway resource.
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) Subnets() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) []SubResourceResponse { return v.Subnets }).(SubResourceResponseArrayOutput)
}
-// The provisioning state of the IP configuration resource.
-func (o IPConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v IPConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Resource tags.
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// The reference to the public IP resource.
-func (o IPConfigurationResponseOutput) PublicIPAddress() PublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v IPConfigurationResponse) *PublicIPAddressResponse { return v.PublicIPAddress }).(PublicIPAddressResponsePtrOutput)
+// Resource type.
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// The reference to the subnet resource.
-func (o IPConfigurationResponseOutput) Subnet() SubnetResponsePtrOutput {
- return o.ApplyT(func(v IPConfigurationResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
+// A list of availability zones denoting the zone in which Nat Gateway should be deployed.
+func (o NatGatewayVirtualNetworkApplianceResponseOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatGatewayVirtualNetworkApplianceResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
}
-type IPConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
+type NatGatewayVirtualNetworkApplianceResponsePtrOutput struct{ *pulumi.OutputState }
-func (IPConfigurationResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**IPConfigurationResponse)(nil)).Elem()
+func (NatGatewayVirtualNetworkApplianceResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NatGatewayVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o IPConfigurationResponsePtrOutput) ToIPConfigurationResponsePtrOutput() IPConfigurationResponsePtrOutput {
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) ToNatGatewayVirtualNetworkApplianceResponsePtrOutput() NatGatewayVirtualNetworkApplianceResponsePtrOutput {
return o
}
-func (o IPConfigurationResponsePtrOutput) ToIPConfigurationResponsePtrOutputWithContext(ctx context.Context) IPConfigurationResponsePtrOutput {
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) ToNatGatewayVirtualNetworkApplianceResponsePtrOutputWithContext(ctx context.Context) NatGatewayVirtualNetworkApplianceResponsePtrOutput {
return o
}
-func (o IPConfigurationResponsePtrOutput) Elem() IPConfigurationResponseOutput {
- return o.ApplyT(func(v *IPConfigurationResponse) IPConfigurationResponse {
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) Elem() NatGatewayVirtualNetworkApplianceResponseOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) NatGatewayVirtualNetworkApplianceResponse {
if v != nil {
return *v
}
- var ret IPConfigurationResponse
+ var ret NatGatewayVirtualNetworkApplianceResponse
return ret
- }).(IPConfigurationResponseOutput)
+ }).(NatGatewayVirtualNetworkApplianceResponseOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o IPConfigurationResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *IPConfigurationResponse) *string {
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
@@ -55539,8 +55577,8 @@ func (o IPConfigurationResponsePtrOutput) Etag() pulumi.StringPtrOutput {
}
// Resource ID.
-func (o IPConfigurationResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *IPConfigurationResponse) *string {
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
@@ -55548,39 +55586,39 @@ func (o IPConfigurationResponsePtrOutput) Id() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o IPConfigurationResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *IPConfigurationResponse) *string {
+// The idle timeout of the nat gateway.
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) *int {
if v == nil {
return nil
}
- return v.Name
- }).(pulumi.StringPtrOutput)
+ return v.IdleTimeoutInMinutes
+ }).(pulumi.IntPtrOutput)
}
-// The private IP address of the IP configuration.
-func (o IPConfigurationResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *IPConfigurationResponse) *string {
+// Resource location.
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
- return v.PrivateIPAddress
+ return v.Location
}).(pulumi.StringPtrOutput)
}
-// The private IP address allocation method.
-func (o IPConfigurationResponsePtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *IPConfigurationResponse) *string {
+// Resource name.
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
- return v.PrivateIPAllocationMethod
+ return &v.Name
}).(pulumi.StringPtrOutput)
}
-// The provisioning state of the IP configuration resource.
-func (o IPConfigurationResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *IPConfigurationResponse) *string {
+// The provisioning state of the NAT gateway resource.
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
@@ -55588,5858 +55626,6813 @@ func (o IPConfigurationResponsePtrOutput) ProvisioningState() pulumi.StringPtrOu
}).(pulumi.StringPtrOutput)
}
-// The reference to the public IP resource.
-func (o IPConfigurationResponsePtrOutput) PublicIPAddress() PublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v *IPConfigurationResponse) *PublicIPAddressResponse {
+// An array of public ip addresses V4 associated with the nat gateway resource.
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) PublicIpAddresses() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) []SubResourceResponse {
if v == nil {
return nil
}
- return v.PublicIPAddress
- }).(PublicIPAddressResponsePtrOutput)
+ return v.PublicIpAddresses
+ }).(SubResourceResponseArrayOutput)
}
-// The reference to the subnet resource.
-func (o IPConfigurationResponsePtrOutput) Subnet() SubnetResponsePtrOutput {
- return o.ApplyT(func(v *IPConfigurationResponse) *SubnetResponse {
+// An array of public ip addresses V6 associated with the nat gateway resource.
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) PublicIpAddressesV6() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) []SubResourceResponse {
if v == nil {
return nil
}
- return v.Subnet
- }).(SubnetResponsePtrOutput)
+ return v.PublicIpAddressesV6
+ }).(SubResourceResponseArrayOutput)
}
-type IPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (IPConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IPConfigurationResponse)(nil)).Elem()
+// An array of public ip prefixes V4 associated with the nat gateway resource.
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) PublicIpPrefixes() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIpPrefixes
+ }).(SubResourceResponseArrayOutput)
}
-func (o IPConfigurationResponseArrayOutput) ToIPConfigurationResponseArrayOutput() IPConfigurationResponseArrayOutput {
- return o
+// An array of public ip prefixes V6 associated with the nat gateway resource.
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) PublicIpPrefixesV6() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIpPrefixesV6
+ }).(SubResourceResponseArrayOutput)
}
-func (o IPConfigurationResponseArrayOutput) ToIPConfigurationResponseArrayOutputWithContext(ctx context.Context) IPConfigurationResponseArrayOutput {
- return o
+// The resource GUID property of the NAT gateway resource.
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
}
-func (o IPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) IPConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationResponse {
- return vs[0].([]IPConfigurationResponse)[vs[1].(int)]
- }).(IPConfigurationResponseOutput)
+// Reference to an existing service gateway.
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) ServiceGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceGateway
+ }).(SubResourceResponsePtrOutput)
}
-// IP configuration
-type IPConfigurationResponseV1 struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The private IP address of the IP configuration.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // The private IP address allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState *string `pulumi:"provisioningState"`
- // The reference of the public IP resource.
- PublicIPAddress *PublicIPAddressResponseV1 `pulumi:"publicIPAddress"`
- // The reference of the subnet resource.
- Subnet *SubnetResponse `pulumi:"subnet"`
+// The nat gateway SKU.
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) Sku() NatGatewaySkuResponsePtrOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) *NatGatewaySkuResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Sku
+ }).(NatGatewaySkuResponsePtrOutput)
}
-// Defaults sets the appropriate defaults for IPConfigurationResponseV1
-func (val *IPConfigurationResponseV1) Defaults() *IPConfigurationResponseV1 {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
-
- tmp.Subnet = tmp.Subnet.Defaults()
-
- return &tmp
+// A reference to the source virtual network using this nat gateway resource.
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) SourceVirtualNetwork() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.SourceVirtualNetwork
+ }).(SubResourceResponsePtrOutput)
}
-// IP configuration
-type IPConfigurationResponseV1Output struct{ *pulumi.OutputState }
-
-func (IPConfigurationResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*IPConfigurationResponseV1)(nil)).Elem()
+// An array of references to the subnets using this nat gateway resource.
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) Subnets() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnets
+ }).(SubResourceResponseArrayOutput)
}
-func (o IPConfigurationResponseV1Output) ToIPConfigurationResponseV1Output() IPConfigurationResponseV1Output {
- return o
+// Resource tags.
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-func (o IPConfigurationResponseV1Output) ToIPConfigurationResponseV1OutputWithContext(ctx context.Context) IPConfigurationResponseV1Output {
- return o
+// Resource type.
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o IPConfigurationResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
+// A list of availability zones denoting the zone in which Nat Gateway should be deployed.
+func (o NatGatewayVirtualNetworkApplianceResponsePtrOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NatGatewayVirtualNetworkApplianceResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Zones
+ }).(pulumi.StringArrayOutput)
}
-// Resource ID.
-func (o IPConfigurationResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Rule of type nat.
+type NatRuleType struct {
+ // Description of the rule.
+ Description *string `pulumi:"description"`
+ // List of destination IP addresses or Service Tags.
+ DestinationAddresses []string `pulumi:"destinationAddresses"`
+ // List of destination ports.
+ DestinationPorts []string `pulumi:"destinationPorts"`
+ // Array of FirewallPolicyRuleNetworkProtocols.
+ IpProtocols []string `pulumi:"ipProtocols"`
+ // Name of the rule.
+ Name *string `pulumi:"name"`
+ // Rule Type.
+ // Expected value is 'NatRule'.
+ RuleType string `pulumi:"ruleType"`
+ // List of source IP addresses for this rule.
+ SourceAddresses []string `pulumi:"sourceAddresses"`
+ // List of source IpGroups for this rule.
+ SourceIpGroups []string `pulumi:"sourceIpGroups"`
+ // The translated address for this NAT rule.
+ TranslatedAddress *string `pulumi:"translatedAddress"`
+ // The translated FQDN for this NAT rule.
+ TranslatedFqdn *string `pulumi:"translatedFqdn"`
+ // The translated port for this NAT rule.
+ TranslatedPort *string `pulumi:"translatedPort"`
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o IPConfigurationResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
+// NatRuleTypeInput is an input type that accepts NatRuleTypeArgs and NatRuleTypeOutput values.
+// You can construct a concrete instance of `NatRuleTypeInput` via:
+//
+// NatRuleTypeArgs{...}
+type NatRuleTypeInput interface {
+ pulumi.Input
-// The private IP address of the IP configuration.
-func (o IPConfigurationResponseV1Output) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationResponseV1) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+ ToNatRuleTypeOutput() NatRuleTypeOutput
+ ToNatRuleTypeOutputWithContext(context.Context) NatRuleTypeOutput
}
-// The private IP address allocation method.
-func (o IPConfigurationResponseV1Output) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationResponseV1) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+// Rule of type nat.
+type NatRuleTypeArgs struct {
+ // Description of the rule.
+ Description pulumi.StringPtrInput `pulumi:"description"`
+ // List of destination IP addresses or Service Tags.
+ DestinationAddresses pulumi.StringArrayInput `pulumi:"destinationAddresses"`
+ // List of destination ports.
+ DestinationPorts pulumi.StringArrayInput `pulumi:"destinationPorts"`
+ // Array of FirewallPolicyRuleNetworkProtocols.
+ IpProtocols pulumi.StringArrayInput `pulumi:"ipProtocols"`
+ // Name of the rule.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Rule Type.
+ // Expected value is 'NatRule'.
+ RuleType pulumi.StringInput `pulumi:"ruleType"`
+ // List of source IP addresses for this rule.
+ SourceAddresses pulumi.StringArrayInput `pulumi:"sourceAddresses"`
+ // List of source IpGroups for this rule.
+ SourceIpGroups pulumi.StringArrayInput `pulumi:"sourceIpGroups"`
+ // The translated address for this NAT rule.
+ TranslatedAddress pulumi.StringPtrInput `pulumi:"translatedAddress"`
+ // The translated FQDN for this NAT rule.
+ TranslatedFqdn pulumi.StringPtrInput `pulumi:"translatedFqdn"`
+ // The translated port for this NAT rule.
+ TranslatedPort pulumi.StringPtrInput `pulumi:"translatedPort"`
}
-// Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o IPConfigurationResponseV1Output) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPConfigurationResponseV1) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+func (NatRuleTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NatRuleType)(nil)).Elem()
}
-// The reference of the public IP resource.
-func (o IPConfigurationResponseV1Output) PublicIPAddress() PublicIPAddressResponseV1PtrOutput {
- return o.ApplyT(func(v IPConfigurationResponseV1) *PublicIPAddressResponseV1 { return v.PublicIPAddress }).(PublicIPAddressResponseV1PtrOutput)
+func (i NatRuleTypeArgs) ToNatRuleTypeOutput() NatRuleTypeOutput {
+ return i.ToNatRuleTypeOutputWithContext(context.Background())
}
-// The reference of the subnet resource.
-func (o IPConfigurationResponseV1Output) Subnet() SubnetResponsePtrOutput {
- return o.ApplyT(func(v IPConfigurationResponseV1) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
+func (i NatRuleTypeArgs) ToNatRuleTypeOutputWithContext(ctx context.Context) NatRuleTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NatRuleTypeOutput)
}
-type IPConfigurationResponseV1ArrayOutput struct{ *pulumi.OutputState }
+// Rule of type nat.
+type NatRuleTypeOutput struct{ *pulumi.OutputState }
-func (IPConfigurationResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IPConfigurationResponseV1)(nil)).Elem()
+func (NatRuleTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NatRuleType)(nil)).Elem()
}
-func (o IPConfigurationResponseV1ArrayOutput) ToIPConfigurationResponseV1ArrayOutput() IPConfigurationResponseV1ArrayOutput {
+func (o NatRuleTypeOutput) ToNatRuleTypeOutput() NatRuleTypeOutput {
return o
}
-func (o IPConfigurationResponseV1ArrayOutput) ToIPConfigurationResponseV1ArrayOutputWithContext(ctx context.Context) IPConfigurationResponseV1ArrayOutput {
+func (o NatRuleTypeOutput) ToNatRuleTypeOutputWithContext(ctx context.Context) NatRuleTypeOutput {
return o
}
-func (o IPConfigurationResponseV1ArrayOutput) Index(i pulumi.IntInput) IPConfigurationResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPConfigurationResponseV1 {
- return vs[0].([]IPConfigurationResponseV1)[vs[1].(int)]
- }).(IPConfigurationResponseV1Output)
+// Description of the rule.
+func (o NatRuleTypeOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatRuleType) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-type IPRule struct {
- // Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
- AddressPrefix *string `pulumi:"addressPrefix"`
+// List of destination IP addresses or Service Tags.
+func (o NatRuleTypeOutput) DestinationAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleType) []string { return v.DestinationAddresses }).(pulumi.StringArrayOutput)
}
-// IPRuleInput is an input type that accepts IPRuleArgs and IPRuleOutput values.
-// You can construct a concrete instance of `IPRuleInput` via:
-//
-// IPRuleArgs{...}
-type IPRuleInput interface {
- pulumi.Input
-
- ToIPRuleOutput() IPRuleOutput
- ToIPRuleOutputWithContext(context.Context) IPRuleOutput
+// List of destination ports.
+func (o NatRuleTypeOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleType) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
}
-type IPRuleArgs struct {
- // Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
- AddressPrefix pulumi.StringPtrInput `pulumi:"addressPrefix"`
+// Array of FirewallPolicyRuleNetworkProtocols.
+func (o NatRuleTypeOutput) IpProtocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleType) []string { return v.IpProtocols }).(pulumi.StringArrayOutput)
}
-func (IPRuleArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*IPRule)(nil)).Elem()
+// Name of the rule.
+func (o NatRuleTypeOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatRuleType) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (i IPRuleArgs) ToIPRuleOutput() IPRuleOutput {
- return i.ToIPRuleOutputWithContext(context.Background())
+// Rule Type.
+// Expected value is 'NatRule'.
+func (o NatRuleTypeOutput) RuleType() pulumi.StringOutput {
+ return o.ApplyT(func(v NatRuleType) string { return v.RuleType }).(pulumi.StringOutput)
}
-func (i IPRuleArgs) ToIPRuleOutputWithContext(ctx context.Context) IPRuleOutput {
- return pulumi.ToOutputWithContext(ctx, i).(IPRuleOutput)
+// List of source IP addresses for this rule.
+func (o NatRuleTypeOutput) SourceAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleType) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
}
-// IPRuleArrayInput is an input type that accepts IPRuleArray and IPRuleArrayOutput values.
-// You can construct a concrete instance of `IPRuleArrayInput` via:
-//
-// IPRuleArray{ IPRuleArgs{...} }
-type IPRuleArrayInput interface {
- pulumi.Input
-
- ToIPRuleArrayOutput() IPRuleArrayOutput
- ToIPRuleArrayOutputWithContext(context.Context) IPRuleArrayOutput
+// List of source IpGroups for this rule.
+func (o NatRuleTypeOutput) SourceIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleType) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
}
-type IPRuleArray []IPRuleInput
+// The translated address for this NAT rule.
+func (o NatRuleTypeOutput) TranslatedAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatRuleType) *string { return v.TranslatedAddress }).(pulumi.StringPtrOutput)
+}
-func (IPRuleArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IPRule)(nil)).Elem()
+// The translated FQDN for this NAT rule.
+func (o NatRuleTypeOutput) TranslatedFqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatRuleType) *string { return v.TranslatedFqdn }).(pulumi.StringPtrOutput)
}
-func (i IPRuleArray) ToIPRuleArrayOutput() IPRuleArrayOutput {
- return i.ToIPRuleArrayOutputWithContext(context.Background())
+// The translated port for this NAT rule.
+func (o NatRuleTypeOutput) TranslatedPort() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatRuleType) *string { return v.TranslatedPort }).(pulumi.StringPtrOutput)
}
-func (i IPRuleArray) ToIPRuleArrayOutputWithContext(ctx context.Context) IPRuleArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(IPRuleArrayOutput)
+// Rule condition of type nat.
+type NatRuleCondition struct {
+ // Description of the rule condition.
+ Description *string `pulumi:"description"`
+ // List of destination IP addresses or Service Tags.
+ DestinationAddresses []string `pulumi:"destinationAddresses"`
+ // List of destination ports.
+ DestinationPorts []string `pulumi:"destinationPorts"`
+ // Array of FirewallPolicyRuleConditionNetworkProtocols.
+ IpProtocols []string `pulumi:"ipProtocols"`
+ // Name of the rule condition.
+ Name *string `pulumi:"name"`
+ // Rule Condition Type.
+ // Expected value is 'NatRuleCondition'.
+ RuleConditionType string `pulumi:"ruleConditionType"`
+ // List of source IP addresses for this rule.
+ SourceAddresses []string `pulumi:"sourceAddresses"`
+ // List of source IpGroups for this rule.
+ SourceIpGroups []string `pulumi:"sourceIpGroups"`
}
-type IPRuleOutput struct{ *pulumi.OutputState }
+// NatRuleConditionInput is an input type that accepts NatRuleConditionArgs and NatRuleConditionOutput values.
+// You can construct a concrete instance of `NatRuleConditionInput` via:
+//
+// NatRuleConditionArgs{...}
+type NatRuleConditionInput interface {
+ pulumi.Input
-func (IPRuleOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IPRule)(nil)).Elem()
+ ToNatRuleConditionOutput() NatRuleConditionOutput
+ ToNatRuleConditionOutputWithContext(context.Context) NatRuleConditionOutput
}
-func (o IPRuleOutput) ToIPRuleOutput() IPRuleOutput {
- return o
+// Rule condition of type nat.
+type NatRuleConditionArgs struct {
+ // Description of the rule condition.
+ Description pulumi.StringPtrInput `pulumi:"description"`
+ // List of destination IP addresses or Service Tags.
+ DestinationAddresses pulumi.StringArrayInput `pulumi:"destinationAddresses"`
+ // List of destination ports.
+ DestinationPorts pulumi.StringArrayInput `pulumi:"destinationPorts"`
+ // Array of FirewallPolicyRuleConditionNetworkProtocols.
+ IpProtocols pulumi.StringArrayInput `pulumi:"ipProtocols"`
+ // Name of the rule condition.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Rule Condition Type.
+ // Expected value is 'NatRuleCondition'.
+ RuleConditionType pulumi.StringInput `pulumi:"ruleConditionType"`
+ // List of source IP addresses for this rule.
+ SourceAddresses pulumi.StringArrayInput `pulumi:"sourceAddresses"`
+ // List of source IpGroups for this rule.
+ SourceIpGroups pulumi.StringArrayInput `pulumi:"sourceIpGroups"`
}
-func (o IPRuleOutput) ToIPRuleOutputWithContext(ctx context.Context) IPRuleOutput {
- return o
+func (NatRuleConditionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NatRuleCondition)(nil)).Elem()
}
-// Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
-func (o IPRuleOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPRule) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
+func (i NatRuleConditionArgs) ToNatRuleConditionOutput() NatRuleConditionOutput {
+ return i.ToNatRuleConditionOutputWithContext(context.Background())
}
-type IPRuleArrayOutput struct{ *pulumi.OutputState }
-
-func (IPRuleArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IPRule)(nil)).Elem()
+func (i NatRuleConditionArgs) ToNatRuleConditionOutputWithContext(ctx context.Context) NatRuleConditionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NatRuleConditionOutput)
}
-func (o IPRuleArrayOutput) ToIPRuleArrayOutput() IPRuleArrayOutput {
- return o
+func (i NatRuleConditionArgs) ToNatRuleConditionPtrOutput() NatRuleConditionPtrOutput {
+ return i.ToNatRuleConditionPtrOutputWithContext(context.Background())
}
-func (o IPRuleArrayOutput) ToIPRuleArrayOutputWithContext(ctx context.Context) IPRuleArrayOutput {
- return o
+func (i NatRuleConditionArgs) ToNatRuleConditionPtrOutputWithContext(ctx context.Context) NatRuleConditionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NatRuleConditionOutput).ToNatRuleConditionPtrOutputWithContext(ctx)
}
-func (o IPRuleArrayOutput) Index(i pulumi.IntInput) IPRuleOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPRule {
- return vs[0].([]IPRule)[vs[1].(int)]
- }).(IPRuleOutput)
-}
+// NatRuleConditionPtrInput is an input type that accepts NatRuleConditionArgs, NatRuleConditionPtr and NatRuleConditionPtrOutput values.
+// You can construct a concrete instance of `NatRuleConditionPtrInput` via:
+//
+// NatRuleConditionArgs{...}
+//
+// or:
+//
+// nil
+type NatRuleConditionPtrInput interface {
+ pulumi.Input
-type IPRuleResponse struct {
- // Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
- AddressPrefix *string `pulumi:"addressPrefix"`
+ ToNatRuleConditionPtrOutput() NatRuleConditionPtrOutput
+ ToNatRuleConditionPtrOutputWithContext(context.Context) NatRuleConditionPtrOutput
}
-type IPRuleResponseOutput struct{ *pulumi.OutputState }
+type natRuleConditionPtrType NatRuleConditionArgs
-func (IPRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IPRuleResponse)(nil)).Elem()
+func NatRuleConditionPtr(v *NatRuleConditionArgs) NatRuleConditionPtrInput {
+ return (*natRuleConditionPtrType)(v)
}
-func (o IPRuleResponseOutput) ToIPRuleResponseOutput() IPRuleResponseOutput {
- return o
+func (*natRuleConditionPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**NatRuleCondition)(nil)).Elem()
}
-func (o IPRuleResponseOutput) ToIPRuleResponseOutputWithContext(ctx context.Context) IPRuleResponseOutput {
- return o
+func (i *natRuleConditionPtrType) ToNatRuleConditionPtrOutput() NatRuleConditionPtrOutput {
+ return i.ToNatRuleConditionPtrOutputWithContext(context.Background())
}
-// Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
-func (o IPRuleResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IPRuleResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
+func (i *natRuleConditionPtrType) ToNatRuleConditionPtrOutputWithContext(ctx context.Context) NatRuleConditionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NatRuleConditionPtrOutput)
}
-type IPRuleResponseArrayOutput struct{ *pulumi.OutputState }
+// Rule condition of type nat.
+type NatRuleConditionOutput struct{ *pulumi.OutputState }
-func (IPRuleResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IPRuleResponse)(nil)).Elem()
+func (NatRuleConditionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NatRuleCondition)(nil)).Elem()
}
-func (o IPRuleResponseArrayOutput) ToIPRuleResponseArrayOutput() IPRuleResponseArrayOutput {
+func (o NatRuleConditionOutput) ToNatRuleConditionOutput() NatRuleConditionOutput {
return o
}
-func (o IPRuleResponseArrayOutput) ToIPRuleResponseArrayOutputWithContext(ctx context.Context) IPRuleResponseArrayOutput {
+func (o NatRuleConditionOutput) ToNatRuleConditionOutputWithContext(ctx context.Context) NatRuleConditionOutput {
return o
}
-func (o IPRuleResponseArrayOutput) Index(i pulumi.IntInput) IPRuleResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) IPRuleResponse {
- return vs[0].([]IPRuleResponse)[vs[1].(int)]
- }).(IPRuleResponseOutput)
-}
-
-// IP traffic information.
-type IPTraffic struct {
- // List of destination IP addresses of the traffic..
- DestinationIps []string `pulumi:"destinationIps"`
- // The destination ports of the traffic.
- DestinationPorts []string `pulumi:"destinationPorts"`
- Protocols []string `pulumi:"protocols"`
- // List of source IP addresses of the traffic..
- SourceIps []string `pulumi:"sourceIps"`
- // The source ports of the traffic.
- SourcePorts []string `pulumi:"sourcePorts"`
+func (o NatRuleConditionOutput) ToNatRuleConditionPtrOutput() NatRuleConditionPtrOutput {
+ return o.ToNatRuleConditionPtrOutputWithContext(context.Background())
}
-// IPTrafficInput is an input type that accepts IPTrafficArgs and IPTrafficOutput values.
-// You can construct a concrete instance of `IPTrafficInput` via:
-//
-// IPTrafficArgs{...}
-type IPTrafficInput interface {
- pulumi.Input
-
- ToIPTrafficOutput() IPTrafficOutput
- ToIPTrafficOutputWithContext(context.Context) IPTrafficOutput
+func (o NatRuleConditionOutput) ToNatRuleConditionPtrOutputWithContext(ctx context.Context) NatRuleConditionPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v NatRuleCondition) *NatRuleCondition {
+ return &v
+ }).(NatRuleConditionPtrOutput)
}
-// IP traffic information.
-type IPTrafficArgs struct {
- // List of destination IP addresses of the traffic..
- DestinationIps pulumi.StringArrayInput `pulumi:"destinationIps"`
- // The destination ports of the traffic.
- DestinationPorts pulumi.StringArrayInput `pulumi:"destinationPorts"`
- Protocols pulumi.StringArrayInput `pulumi:"protocols"`
- // List of source IP addresses of the traffic..
- SourceIps pulumi.StringArrayInput `pulumi:"sourceIps"`
- // The source ports of the traffic.
- SourcePorts pulumi.StringArrayInput `pulumi:"sourcePorts"`
+// Description of the rule condition.
+func (o NatRuleConditionOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatRuleCondition) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-func (IPTrafficArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*IPTraffic)(nil)).Elem()
+// List of destination IP addresses or Service Tags.
+func (o NatRuleConditionOutput) DestinationAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleCondition) []string { return v.DestinationAddresses }).(pulumi.StringArrayOutput)
}
-func (i IPTrafficArgs) ToIPTrafficOutput() IPTrafficOutput {
- return i.ToIPTrafficOutputWithContext(context.Background())
+// List of destination ports.
+func (o NatRuleConditionOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleCondition) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
}
-func (i IPTrafficArgs) ToIPTrafficOutputWithContext(ctx context.Context) IPTrafficOutput {
- return pulumi.ToOutputWithContext(ctx, i).(IPTrafficOutput)
+// Array of FirewallPolicyRuleConditionNetworkProtocols.
+func (o NatRuleConditionOutput) IpProtocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleCondition) []string { return v.IpProtocols }).(pulumi.StringArrayOutput)
}
-// IP traffic information.
-type IPTrafficOutput struct{ *pulumi.OutputState }
-
-func (IPTrafficOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IPTraffic)(nil)).Elem()
+// Name of the rule condition.
+func (o NatRuleConditionOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatRuleCondition) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o IPTrafficOutput) ToIPTrafficOutput() IPTrafficOutput {
- return o
+// Rule Condition Type.
+// Expected value is 'NatRuleCondition'.
+func (o NatRuleConditionOutput) RuleConditionType() pulumi.StringOutput {
+ return o.ApplyT(func(v NatRuleCondition) string { return v.RuleConditionType }).(pulumi.StringOutput)
}
-func (o IPTrafficOutput) ToIPTrafficOutputWithContext(ctx context.Context) IPTrafficOutput {
- return o
+// List of source IP addresses for this rule.
+func (o NatRuleConditionOutput) SourceAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleCondition) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
}
-// List of destination IP addresses of the traffic..
-func (o IPTrafficOutput) DestinationIps() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IPTraffic) []string { return v.DestinationIps }).(pulumi.StringArrayOutput)
+// List of source IpGroups for this rule.
+func (o NatRuleConditionOutput) SourceIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleCondition) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
}
-// The destination ports of the traffic.
-func (o IPTrafficOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IPTraffic) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
-}
+type NatRuleConditionPtrOutput struct{ *pulumi.OutputState }
-func (o IPTrafficOutput) Protocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IPTraffic) []string { return v.Protocols }).(pulumi.StringArrayOutput)
+func (NatRuleConditionPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NatRuleCondition)(nil)).Elem()
}
-// List of source IP addresses of the traffic..
-func (o IPTrafficOutput) SourceIps() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IPTraffic) []string { return v.SourceIps }).(pulumi.StringArrayOutput)
+func (o NatRuleConditionPtrOutput) ToNatRuleConditionPtrOutput() NatRuleConditionPtrOutput {
+ return o
}
-// The source ports of the traffic.
-func (o IPTrafficOutput) SourcePorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IPTraffic) []string { return v.SourcePorts }).(pulumi.StringArrayOutput)
+func (o NatRuleConditionPtrOutput) ToNatRuleConditionPtrOutputWithContext(ctx context.Context) NatRuleConditionPtrOutput {
+ return o
}
-// IP traffic information.
-type IPTrafficResponse struct {
- // List of destination IP addresses of the traffic..
- DestinationIps []string `pulumi:"destinationIps"`
- // The destination ports of the traffic.
- DestinationPorts []string `pulumi:"destinationPorts"`
- Protocols []string `pulumi:"protocols"`
- // List of source IP addresses of the traffic..
- SourceIps []string `pulumi:"sourceIps"`
- // The source ports of the traffic.
- SourcePorts []string `pulumi:"sourcePorts"`
+func (o NatRuleConditionPtrOutput) Elem() NatRuleConditionOutput {
+ return o.ApplyT(func(v *NatRuleCondition) NatRuleCondition {
+ if v != nil {
+ return *v
+ }
+ var ret NatRuleCondition
+ return ret
+ }).(NatRuleConditionOutput)
}
-// IP traffic information.
-type IPTrafficResponseOutput struct{ *pulumi.OutputState }
-
-func (IPTrafficResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IPTrafficResponse)(nil)).Elem()
+// Description of the rule condition.
+func (o NatRuleConditionPtrOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatRuleCondition) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Description
+ }).(pulumi.StringPtrOutput)
}
-func (o IPTrafficResponseOutput) ToIPTrafficResponseOutput() IPTrafficResponseOutput {
- return o
+// List of destination IP addresses or Service Tags.
+func (o NatRuleConditionPtrOutput) DestinationAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NatRuleCondition) []string {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationAddresses
+ }).(pulumi.StringArrayOutput)
}
-func (o IPTrafficResponseOutput) ToIPTrafficResponseOutputWithContext(ctx context.Context) IPTrafficResponseOutput {
- return o
+// List of destination ports.
+func (o NatRuleConditionPtrOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NatRuleCondition) []string {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationPorts
+ }).(pulumi.StringArrayOutput)
}
-// List of destination IP addresses of the traffic..
-func (o IPTrafficResponseOutput) DestinationIps() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IPTrafficResponse) []string { return v.DestinationIps }).(pulumi.StringArrayOutput)
+// Array of FirewallPolicyRuleConditionNetworkProtocols.
+func (o NatRuleConditionPtrOutput) IpProtocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NatRuleCondition) []string {
+ if v == nil {
+ return nil
+ }
+ return v.IpProtocols
+ }).(pulumi.StringArrayOutput)
}
-// The destination ports of the traffic.
-func (o IPTrafficResponseOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IPTrafficResponse) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
+// Name of the rule condition.
+func (o NatRuleConditionPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatRuleCondition) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o IPTrafficResponseOutput) Protocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IPTrafficResponse) []string { return v.Protocols }).(pulumi.StringArrayOutput)
+// Rule Condition Type.
+// Expected value is 'NatRuleCondition'.
+func (o NatRuleConditionPtrOutput) RuleConditionType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatRuleCondition) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.RuleConditionType
+ }).(pulumi.StringPtrOutput)
}
-// List of source IP addresses of the traffic..
-func (o IPTrafficResponseOutput) SourceIps() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IPTrafficResponse) []string { return v.SourceIps }).(pulumi.StringArrayOutput)
+// List of source IP addresses for this rule.
+func (o NatRuleConditionPtrOutput) SourceAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NatRuleCondition) []string {
+ if v == nil {
+ return nil
+ }
+ return v.SourceAddresses
+ }).(pulumi.StringArrayOutput)
}
-// The source ports of the traffic.
-func (o IPTrafficResponseOutput) SourcePorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IPTrafficResponse) []string { return v.SourcePorts }).(pulumi.StringArrayOutput)
+// List of source IpGroups for this rule.
+func (o NatRuleConditionPtrOutput) SourceIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NatRuleCondition) []string {
+ if v == nil {
+ return nil
+ }
+ return v.SourceIpGroups
+ }).(pulumi.StringArrayOutput)
}
-// Inbound NAT pool of the load balancer.
-type InboundNatPool struct {
- // The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.
- BackendPort int `pulumi:"backendPort"`
- // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
- EnableFloatingIP *bool `pulumi:"enableFloatingIP"`
- // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
- EnableTcpReset *bool `pulumi:"enableTcpReset"`
- // A reference to frontend IP addresses.
- FrontendIPConfiguration *SubResource `pulumi:"frontendIPConfiguration"`
- // The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.
- FrontendPortRangeEnd int `pulumi:"frontendPortRangeEnd"`
- // The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.
- FrontendPortRangeStart int `pulumi:"frontendPortRangeStart"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
- // The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.
+// Rule condition of type nat.
+type NatRuleConditionResponse struct {
+ // Description of the rule condition.
+ Description *string `pulumi:"description"`
+ // List of destination IP addresses or Service Tags.
+ DestinationAddresses []string `pulumi:"destinationAddresses"`
+ // List of destination ports.
+ DestinationPorts []string `pulumi:"destinationPorts"`
+ // Array of FirewallPolicyRuleConditionNetworkProtocols.
+ IpProtocols []string `pulumi:"ipProtocols"`
+ // Name of the rule condition.
Name *string `pulumi:"name"`
- // The reference to the transport protocol used by the inbound NAT pool.
- Protocol string `pulumi:"protocol"`
+ // Rule Condition Type.
+ // Expected value is 'NatRuleCondition'.
+ RuleConditionType string `pulumi:"ruleConditionType"`
+ // List of source IP addresses for this rule.
+ SourceAddresses []string `pulumi:"sourceAddresses"`
+ // List of source IpGroups for this rule.
+ SourceIpGroups []string `pulumi:"sourceIpGroups"`
}
-// InboundNatPoolInput is an input type that accepts InboundNatPoolArgs and InboundNatPoolOutput values.
-// You can construct a concrete instance of `InboundNatPoolInput` via:
-//
-// InboundNatPoolArgs{...}
-type InboundNatPoolInput interface {
- pulumi.Input
+// Rule condition of type nat.
+type NatRuleConditionResponseOutput struct{ *pulumi.OutputState }
- ToInboundNatPoolOutput() InboundNatPoolOutput
- ToInboundNatPoolOutputWithContext(context.Context) InboundNatPoolOutput
+func (NatRuleConditionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NatRuleConditionResponse)(nil)).Elem()
}
-// Inbound NAT pool of the load balancer.
-type InboundNatPoolArgs struct {
- // The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.
- BackendPort pulumi.IntInput `pulumi:"backendPort"`
- // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
- EnableFloatingIP pulumi.BoolPtrInput `pulumi:"enableFloatingIP"`
- // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
- EnableTcpReset pulumi.BoolPtrInput `pulumi:"enableTcpReset"`
- // A reference to frontend IP addresses.
- FrontendIPConfiguration SubResourcePtrInput `pulumi:"frontendIPConfiguration"`
- // The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.
- FrontendPortRangeEnd pulumi.IntInput `pulumi:"frontendPortRangeEnd"`
- // The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.
- FrontendPortRangeStart pulumi.IntInput `pulumi:"frontendPortRangeStart"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
- IdleTimeoutInMinutes pulumi.IntPtrInput `pulumi:"idleTimeoutInMinutes"`
- // The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The reference to the transport protocol used by the inbound NAT pool.
- Protocol pulumi.StringInput `pulumi:"protocol"`
+func (o NatRuleConditionResponseOutput) ToNatRuleConditionResponseOutput() NatRuleConditionResponseOutput {
+ return o
}
-func (InboundNatPoolArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*InboundNatPool)(nil)).Elem()
+func (o NatRuleConditionResponseOutput) ToNatRuleConditionResponseOutputWithContext(ctx context.Context) NatRuleConditionResponseOutput {
+ return o
}
-func (i InboundNatPoolArgs) ToInboundNatPoolOutput() InboundNatPoolOutput {
- return i.ToInboundNatPoolOutputWithContext(context.Background())
+// Description of the rule condition.
+func (o NatRuleConditionResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatRuleConditionResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-func (i InboundNatPoolArgs) ToInboundNatPoolOutputWithContext(ctx context.Context) InboundNatPoolOutput {
- return pulumi.ToOutputWithContext(ctx, i).(InboundNatPoolOutput)
+// List of destination IP addresses or Service Tags.
+func (o NatRuleConditionResponseOutput) DestinationAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleConditionResponse) []string { return v.DestinationAddresses }).(pulumi.StringArrayOutput)
}
-// InboundNatPoolArrayInput is an input type that accepts InboundNatPoolArray and InboundNatPoolArrayOutput values.
-// You can construct a concrete instance of `InboundNatPoolArrayInput` via:
-//
-// InboundNatPoolArray{ InboundNatPoolArgs{...} }
-type InboundNatPoolArrayInput interface {
- pulumi.Input
+// List of destination ports.
+func (o NatRuleConditionResponseOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleConditionResponse) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
+}
- ToInboundNatPoolArrayOutput() InboundNatPoolArrayOutput
- ToInboundNatPoolArrayOutputWithContext(context.Context) InboundNatPoolArrayOutput
+// Array of FirewallPolicyRuleConditionNetworkProtocols.
+func (o NatRuleConditionResponseOutput) IpProtocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleConditionResponse) []string { return v.IpProtocols }).(pulumi.StringArrayOutput)
}
-type InboundNatPoolArray []InboundNatPoolInput
+// Name of the rule condition.
+func (o NatRuleConditionResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatRuleConditionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
-func (InboundNatPoolArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]InboundNatPool)(nil)).Elem()
+// Rule Condition Type.
+// Expected value is 'NatRuleCondition'.
+func (o NatRuleConditionResponseOutput) RuleConditionType() pulumi.StringOutput {
+ return o.ApplyT(func(v NatRuleConditionResponse) string { return v.RuleConditionType }).(pulumi.StringOutput)
}
-func (i InboundNatPoolArray) ToInboundNatPoolArrayOutput() InboundNatPoolArrayOutput {
- return i.ToInboundNatPoolArrayOutputWithContext(context.Background())
+// List of source IP addresses for this rule.
+func (o NatRuleConditionResponseOutput) SourceAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleConditionResponse) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
}
-func (i InboundNatPoolArray) ToInboundNatPoolArrayOutputWithContext(ctx context.Context) InboundNatPoolArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(InboundNatPoolArrayOutput)
+// List of source IpGroups for this rule.
+func (o NatRuleConditionResponseOutput) SourceIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleConditionResponse) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
}
-// Inbound NAT pool of the load balancer.
-type InboundNatPoolOutput struct{ *pulumi.OutputState }
+type NatRuleConditionResponsePtrOutput struct{ *pulumi.OutputState }
-func (InboundNatPoolOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*InboundNatPool)(nil)).Elem()
+func (NatRuleConditionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NatRuleConditionResponse)(nil)).Elem()
}
-func (o InboundNatPoolOutput) ToInboundNatPoolOutput() InboundNatPoolOutput {
+func (o NatRuleConditionResponsePtrOutput) ToNatRuleConditionResponsePtrOutput() NatRuleConditionResponsePtrOutput {
return o
}
-func (o InboundNatPoolOutput) ToInboundNatPoolOutputWithContext(ctx context.Context) InboundNatPoolOutput {
+func (o NatRuleConditionResponsePtrOutput) ToNatRuleConditionResponsePtrOutputWithContext(ctx context.Context) NatRuleConditionResponsePtrOutput {
return o
}
-// The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.
-func (o InboundNatPoolOutput) BackendPort() pulumi.IntOutput {
- return o.ApplyT(func(v InboundNatPool) int { return v.BackendPort }).(pulumi.IntOutput)
+func (o NatRuleConditionResponsePtrOutput) Elem() NatRuleConditionResponseOutput {
+ return o.ApplyT(func(v *NatRuleConditionResponse) NatRuleConditionResponse {
+ if v != nil {
+ return *v
+ }
+ var ret NatRuleConditionResponse
+ return ret
+ }).(NatRuleConditionResponseOutput)
}
-// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
-func (o InboundNatPoolOutput) EnableFloatingIP() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v InboundNatPool) *bool { return v.EnableFloatingIP }).(pulumi.BoolPtrOutput)
+// Description of the rule condition.
+func (o NatRuleConditionResponsePtrOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatRuleConditionResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Description
+ }).(pulumi.StringPtrOutput)
}
-// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
-func (o InboundNatPoolOutput) EnableTcpReset() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v InboundNatPool) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
+// List of destination IP addresses or Service Tags.
+func (o NatRuleConditionResponsePtrOutput) DestinationAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NatRuleConditionResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationAddresses
+ }).(pulumi.StringArrayOutput)
}
-// A reference to frontend IP addresses.
-func (o InboundNatPoolOutput) FrontendIPConfiguration() SubResourcePtrOutput {
- return o.ApplyT(func(v InboundNatPool) *SubResource { return v.FrontendIPConfiguration }).(SubResourcePtrOutput)
+// List of destination ports.
+func (o NatRuleConditionResponsePtrOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NatRuleConditionResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationPorts
+ }).(pulumi.StringArrayOutput)
}
-// The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.
-func (o InboundNatPoolOutput) FrontendPortRangeEnd() pulumi.IntOutput {
- return o.ApplyT(func(v InboundNatPool) int { return v.FrontendPortRangeEnd }).(pulumi.IntOutput)
+// Array of FirewallPolicyRuleConditionNetworkProtocols.
+func (o NatRuleConditionResponsePtrOutput) IpProtocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NatRuleConditionResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.IpProtocols
+ }).(pulumi.StringArrayOutput)
}
-// The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.
-func (o InboundNatPoolOutput) FrontendPortRangeStart() pulumi.IntOutput {
- return o.ApplyT(func(v InboundNatPool) int { return v.FrontendPortRangeStart }).(pulumi.IntOutput)
+// Name of the rule condition.
+func (o NatRuleConditionResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatRuleConditionResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// Resource ID.
-func (o InboundNatPoolOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InboundNatPool) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Rule Condition Type.
+// Expected value is 'NatRuleCondition'.
+func (o NatRuleConditionResponsePtrOutput) RuleConditionType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NatRuleConditionResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.RuleConditionType
+ }).(pulumi.StringPtrOutput)
}
-// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
-func (o InboundNatPoolOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v InboundNatPool) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+// List of source IP addresses for this rule.
+func (o NatRuleConditionResponsePtrOutput) SourceAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NatRuleConditionResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.SourceAddresses
+ }).(pulumi.StringArrayOutput)
}
-// The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.
-func (o InboundNatPoolOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InboundNatPool) *string { return v.Name }).(pulumi.StringPtrOutput)
+// List of source IpGroups for this rule.
+func (o NatRuleConditionResponsePtrOutput) SourceIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NatRuleConditionResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.SourceIpGroups
+ }).(pulumi.StringArrayOutput)
}
-// The reference to the transport protocol used by the inbound NAT pool.
-func (o InboundNatPoolOutput) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v InboundNatPool) string { return v.Protocol }).(pulumi.StringOutput)
+// Individual port mappings for inbound NAT rule created for backend pool.
+type NatRulePortMappingResponse struct {
+ // Backend port.
+ BackendPort *int `pulumi:"backendPort"`
+ // Frontend port.
+ FrontendPort *int `pulumi:"frontendPort"`
+ // Name of inbound NAT rule.
+ InboundNatRuleName *string `pulumi:"inboundNatRuleName"`
}
-type InboundNatPoolArrayOutput struct{ *pulumi.OutputState }
+// Individual port mappings for inbound NAT rule created for backend pool.
+type NatRulePortMappingResponseOutput struct{ *pulumi.OutputState }
-func (InboundNatPoolArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]InboundNatPool)(nil)).Elem()
+func (NatRulePortMappingResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NatRulePortMappingResponse)(nil)).Elem()
}
-func (o InboundNatPoolArrayOutput) ToInboundNatPoolArrayOutput() InboundNatPoolArrayOutput {
+func (o NatRulePortMappingResponseOutput) ToNatRulePortMappingResponseOutput() NatRulePortMappingResponseOutput {
return o
}
-func (o InboundNatPoolArrayOutput) ToInboundNatPoolArrayOutputWithContext(ctx context.Context) InboundNatPoolArrayOutput {
+func (o NatRulePortMappingResponseOutput) ToNatRulePortMappingResponseOutputWithContext(ctx context.Context) NatRulePortMappingResponseOutput {
return o
}
-func (o InboundNatPoolArrayOutput) Index(i pulumi.IntInput) InboundNatPoolOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) InboundNatPool {
- return vs[0].([]InboundNatPool)[vs[1].(int)]
- }).(InboundNatPoolOutput)
+// Backend port.
+func (o NatRulePortMappingResponseOutput) BackendPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v NatRulePortMappingResponse) *int { return v.BackendPort }).(pulumi.IntPtrOutput)
}
-// Inbound NAT pool of the load balancer.
-type InboundNatPoolResponse struct {
- // The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.
- BackendPort int `pulumi:"backendPort"`
- // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
- EnableFloatingIP *bool `pulumi:"enableFloatingIP"`
- // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
- EnableTcpReset *bool `pulumi:"enableTcpReset"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // A reference to frontend IP addresses.
- FrontendIPConfiguration *SubResourceResponse `pulumi:"frontendIPConfiguration"`
- // The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.
- FrontendPortRangeEnd int `pulumi:"frontendPortRangeEnd"`
- // The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.
- FrontendPortRangeStart int `pulumi:"frontendPortRangeStart"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
- // The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The reference to the transport protocol used by the inbound NAT pool.
- Protocol string `pulumi:"protocol"`
- // The provisioning state of the inbound NAT pool resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Type of the resource.
- Type string `pulumi:"type"`
+// Frontend port.
+func (o NatRulePortMappingResponseOutput) FrontendPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v NatRulePortMappingResponse) *int { return v.FrontendPort }).(pulumi.IntPtrOutput)
}
-// Inbound NAT pool of the load balancer.
-type InboundNatPoolResponseOutput struct{ *pulumi.OutputState }
+// Name of inbound NAT rule.
+func (o NatRulePortMappingResponseOutput) InboundNatRuleName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatRulePortMappingResponse) *string { return v.InboundNatRuleName }).(pulumi.StringPtrOutput)
+}
-func (InboundNatPoolResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*InboundNatPoolResponse)(nil)).Elem()
+type NatRulePortMappingResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (NatRulePortMappingResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NatRulePortMappingResponse)(nil)).Elem()
}
-func (o InboundNatPoolResponseOutput) ToInboundNatPoolResponseOutput() InboundNatPoolResponseOutput {
+func (o NatRulePortMappingResponseArrayOutput) ToNatRulePortMappingResponseArrayOutput() NatRulePortMappingResponseArrayOutput {
return o
}
-func (o InboundNatPoolResponseOutput) ToInboundNatPoolResponseOutputWithContext(ctx context.Context) InboundNatPoolResponseOutput {
+func (o NatRulePortMappingResponseArrayOutput) ToNatRulePortMappingResponseArrayOutputWithContext(ctx context.Context) NatRulePortMappingResponseArrayOutput {
return o
}
-// The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.
-func (o InboundNatPoolResponseOutput) BackendPort() pulumi.IntOutput {
- return o.ApplyT(func(v InboundNatPoolResponse) int { return v.BackendPort }).(pulumi.IntOutput)
+func (o NatRulePortMappingResponseArrayOutput) Index(i pulumi.IntInput) NatRulePortMappingResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NatRulePortMappingResponse {
+ return vs[0].([]NatRulePortMappingResponse)[vs[1].(int)]
+ }).(NatRulePortMappingResponseOutput)
}
-// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
-func (o InboundNatPoolResponseOutput) EnableFloatingIP() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v InboundNatPoolResponse) *bool { return v.EnableFloatingIP }).(pulumi.BoolPtrOutput)
+// Rule of type nat.
+type NatRuleResponse struct {
+ // Description of the rule.
+ Description *string `pulumi:"description"`
+ // List of destination IP addresses or Service Tags.
+ DestinationAddresses []string `pulumi:"destinationAddresses"`
+ // List of destination ports.
+ DestinationPorts []string `pulumi:"destinationPorts"`
+ // Array of FirewallPolicyRuleNetworkProtocols.
+ IpProtocols []string `pulumi:"ipProtocols"`
+ // Name of the rule.
+ Name *string `pulumi:"name"`
+ // Rule Type.
+ // Expected value is 'NatRule'.
+ RuleType string `pulumi:"ruleType"`
+ // List of source IP addresses for this rule.
+ SourceAddresses []string `pulumi:"sourceAddresses"`
+ // List of source IpGroups for this rule.
+ SourceIpGroups []string `pulumi:"sourceIpGroups"`
+ // The translated address for this NAT rule.
+ TranslatedAddress *string `pulumi:"translatedAddress"`
+ // The translated FQDN for this NAT rule.
+ TranslatedFqdn *string `pulumi:"translatedFqdn"`
+ // The translated port for this NAT rule.
+ TranslatedPort *string `pulumi:"translatedPort"`
}
-// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
-func (o InboundNatPoolResponseOutput) EnableTcpReset() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v InboundNatPoolResponse) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
-}
+// Rule of type nat.
+type NatRuleResponseOutput struct{ *pulumi.OutputState }
-// A unique read-only string that changes whenever the resource is updated.
-func (o InboundNatPoolResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v InboundNatPoolResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (NatRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NatRuleResponse)(nil)).Elem()
}
-// A reference to frontend IP addresses.
-func (o InboundNatPoolResponseOutput) FrontendIPConfiguration() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v InboundNatPoolResponse) *SubResourceResponse { return v.FrontendIPConfiguration }).(SubResourceResponsePtrOutput)
+func (o NatRuleResponseOutput) ToNatRuleResponseOutput() NatRuleResponseOutput {
+ return o
}
-// The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.
-func (o InboundNatPoolResponseOutput) FrontendPortRangeEnd() pulumi.IntOutput {
- return o.ApplyT(func(v InboundNatPoolResponse) int { return v.FrontendPortRangeEnd }).(pulumi.IntOutput)
+func (o NatRuleResponseOutput) ToNatRuleResponseOutputWithContext(ctx context.Context) NatRuleResponseOutput {
+ return o
}
-// The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.
-func (o InboundNatPoolResponseOutput) FrontendPortRangeStart() pulumi.IntOutput {
- return o.ApplyT(func(v InboundNatPoolResponse) int { return v.FrontendPortRangeStart }).(pulumi.IntOutput)
+// Description of the rule.
+func (o NatRuleResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatRuleResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// Resource ID.
-func (o InboundNatPoolResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InboundNatPoolResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// List of destination IP addresses or Service Tags.
+func (o NatRuleResponseOutput) DestinationAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleResponse) []string { return v.DestinationAddresses }).(pulumi.StringArrayOutput)
}
-// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
-func (o InboundNatPoolResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v InboundNatPoolResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+// List of destination ports.
+func (o NatRuleResponseOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleResponse) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
}
-// The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.
-func (o InboundNatPoolResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InboundNatPoolResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Array of FirewallPolicyRuleNetworkProtocols.
+func (o NatRuleResponseOutput) IpProtocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleResponse) []string { return v.IpProtocols }).(pulumi.StringArrayOutput)
}
-// The reference to the transport protocol used by the inbound NAT pool.
-func (o InboundNatPoolResponseOutput) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v InboundNatPoolResponse) string { return v.Protocol }).(pulumi.StringOutput)
+// Name of the rule.
+func (o NatRuleResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the inbound NAT pool resource.
-func (o InboundNatPoolResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v InboundNatPoolResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Rule Type.
+// Expected value is 'NatRule'.
+func (o NatRuleResponseOutput) RuleType() pulumi.StringOutput {
+ return o.ApplyT(func(v NatRuleResponse) string { return v.RuleType }).(pulumi.StringOutput)
}
-// Type of the resource.
-func (o InboundNatPoolResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v InboundNatPoolResponse) string { return v.Type }).(pulumi.StringOutput)
+// List of source IP addresses for this rule.
+func (o NatRuleResponseOutput) SourceAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleResponse) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
}
-type InboundNatPoolResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (InboundNatPoolResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]InboundNatPoolResponse)(nil)).Elem()
+// List of source IpGroups for this rule.
+func (o NatRuleResponseOutput) SourceIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NatRuleResponse) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
}
-func (o InboundNatPoolResponseArrayOutput) ToInboundNatPoolResponseArrayOutput() InboundNatPoolResponseArrayOutput {
- return o
+// The translated address for this NAT rule.
+func (o NatRuleResponseOutput) TranslatedAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatRuleResponse) *string { return v.TranslatedAddress }).(pulumi.StringPtrOutput)
}
-func (o InboundNatPoolResponseArrayOutput) ToInboundNatPoolResponseArrayOutputWithContext(ctx context.Context) InboundNatPoolResponseArrayOutput {
- return o
+// The translated FQDN for this NAT rule.
+func (o NatRuleResponseOutput) TranslatedFqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatRuleResponse) *string { return v.TranslatedFqdn }).(pulumi.StringPtrOutput)
}
-func (o InboundNatPoolResponseArrayOutput) Index(i pulumi.IntInput) InboundNatPoolResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) InboundNatPoolResponse {
- return vs[0].([]InboundNatPoolResponse)[vs[1].(int)]
- }).(InboundNatPoolResponseOutput)
+// The translated port for this NAT rule.
+func (o NatRuleResponseOutput) TranslatedPort() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NatRuleResponse) *string { return v.TranslatedPort }).(pulumi.StringPtrOutput)
}
-// Inbound NAT rule of the load balancer.
-type InboundNatRuleType struct {
- // A reference to backendAddressPool resource.
- BackendAddressPool *SubResource `pulumi:"backendAddressPool"`
- // The port used for the internal endpoint. Acceptable values range from 1 to 65535.
- BackendPort *int `pulumi:"backendPort"`
- // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
- EnableFloatingIP *bool `pulumi:"enableFloatingIP"`
- // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
- EnableTcpReset *bool `pulumi:"enableTcpReset"`
- // A reference to frontend IP addresses.
- FrontendIPConfiguration *SubResource `pulumi:"frontendIPConfiguration"`
- // The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
- FrontendPort *int `pulumi:"frontendPort"`
- // The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
- FrontendPortRangeEnd *int `pulumi:"frontendPortRangeEnd"`
- // The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
- FrontendPortRangeStart *int `pulumi:"frontendPortRangeStart"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
- // The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The reference to the transport protocol used by the load balancing rule.
- Protocol *string `pulumi:"protocol"`
+// DNS settings of a network interface.
+type NetworkInterfaceDnsSettings struct {
+ // List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
+ DnsServers []string `pulumi:"dnsServers"`
+ // Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
+ InternalDnsNameLabel *string `pulumi:"internalDnsNameLabel"`
}
-// InboundNatRuleTypeInput is an input type that accepts InboundNatRuleTypeArgs and InboundNatRuleTypeOutput values.
-// You can construct a concrete instance of `InboundNatRuleTypeInput` via:
+// NetworkInterfaceDnsSettingsInput is an input type that accepts NetworkInterfaceDnsSettingsArgs and NetworkInterfaceDnsSettingsOutput values.
+// You can construct a concrete instance of `NetworkInterfaceDnsSettingsInput` via:
//
-// InboundNatRuleTypeArgs{...}
-type InboundNatRuleTypeInput interface {
+// NetworkInterfaceDnsSettingsArgs{...}
+type NetworkInterfaceDnsSettingsInput interface {
pulumi.Input
- ToInboundNatRuleTypeOutput() InboundNatRuleTypeOutput
- ToInboundNatRuleTypeOutputWithContext(context.Context) InboundNatRuleTypeOutput
-}
-
-// Inbound NAT rule of the load balancer.
-type InboundNatRuleTypeArgs struct {
- // A reference to backendAddressPool resource.
- BackendAddressPool SubResourcePtrInput `pulumi:"backendAddressPool"`
- // The port used for the internal endpoint. Acceptable values range from 1 to 65535.
- BackendPort pulumi.IntPtrInput `pulumi:"backendPort"`
- // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
- EnableFloatingIP pulumi.BoolPtrInput `pulumi:"enableFloatingIP"`
- // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
- EnableTcpReset pulumi.BoolPtrInput `pulumi:"enableTcpReset"`
- // A reference to frontend IP addresses.
- FrontendIPConfiguration SubResourcePtrInput `pulumi:"frontendIPConfiguration"`
- // The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
- FrontendPort pulumi.IntPtrInput `pulumi:"frontendPort"`
- // The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
- FrontendPortRangeEnd pulumi.IntPtrInput `pulumi:"frontendPortRangeEnd"`
- // The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
- FrontendPortRangeStart pulumi.IntPtrInput `pulumi:"frontendPortRangeStart"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
- IdleTimeoutInMinutes pulumi.IntPtrInput `pulumi:"idleTimeoutInMinutes"`
- // The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The reference to the transport protocol used by the load balancing rule.
- Protocol pulumi.StringPtrInput `pulumi:"protocol"`
-}
-
-func (InboundNatRuleTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*InboundNatRuleType)(nil)).Elem()
-}
-
-func (i InboundNatRuleTypeArgs) ToInboundNatRuleTypeOutput() InboundNatRuleTypeOutput {
- return i.ToInboundNatRuleTypeOutputWithContext(context.Background())
+ ToNetworkInterfaceDnsSettingsOutput() NetworkInterfaceDnsSettingsOutput
+ ToNetworkInterfaceDnsSettingsOutputWithContext(context.Context) NetworkInterfaceDnsSettingsOutput
}
-func (i InboundNatRuleTypeArgs) ToInboundNatRuleTypeOutputWithContext(ctx context.Context) InboundNatRuleTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(InboundNatRuleTypeOutput)
+// DNS settings of a network interface.
+type NetworkInterfaceDnsSettingsArgs struct {
+ // List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
+ DnsServers pulumi.StringArrayInput `pulumi:"dnsServers"`
+ // Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
+ InternalDnsNameLabel pulumi.StringPtrInput `pulumi:"internalDnsNameLabel"`
}
-// InboundNatRuleTypeArrayInput is an input type that accepts InboundNatRuleTypeArray and InboundNatRuleTypeArrayOutput values.
-// You can construct a concrete instance of `InboundNatRuleTypeArrayInput` via:
-//
-// InboundNatRuleTypeArray{ InboundNatRuleTypeArgs{...} }
-type InboundNatRuleTypeArrayInput interface {
- pulumi.Input
-
- ToInboundNatRuleTypeArrayOutput() InboundNatRuleTypeArrayOutput
- ToInboundNatRuleTypeArrayOutputWithContext(context.Context) InboundNatRuleTypeArrayOutput
+func (NetworkInterfaceDnsSettingsArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceDnsSettings)(nil)).Elem()
}
-type InboundNatRuleTypeArray []InboundNatRuleTypeInput
-
-func (InboundNatRuleTypeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]InboundNatRuleType)(nil)).Elem()
+func (i NetworkInterfaceDnsSettingsArgs) ToNetworkInterfaceDnsSettingsOutput() NetworkInterfaceDnsSettingsOutput {
+ return i.ToNetworkInterfaceDnsSettingsOutputWithContext(context.Background())
}
-func (i InboundNatRuleTypeArray) ToInboundNatRuleTypeArrayOutput() InboundNatRuleTypeArrayOutput {
- return i.ToInboundNatRuleTypeArrayOutputWithContext(context.Background())
+func (i NetworkInterfaceDnsSettingsArgs) ToNetworkInterfaceDnsSettingsOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceDnsSettingsOutput)
}
-func (i InboundNatRuleTypeArray) ToInboundNatRuleTypeArrayOutputWithContext(ctx context.Context) InboundNatRuleTypeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(InboundNatRuleTypeArrayOutput)
+func (i NetworkInterfaceDnsSettingsArgs) ToNetworkInterfaceDnsSettingsPtrOutput() NetworkInterfaceDnsSettingsPtrOutput {
+ return i.ToNetworkInterfaceDnsSettingsPtrOutputWithContext(context.Background())
}
-// Inbound NAT rule of the load balancer.
-type InboundNatRuleTypeOutput struct{ *pulumi.OutputState }
-
-func (InboundNatRuleTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*InboundNatRuleType)(nil)).Elem()
+func (i NetworkInterfaceDnsSettingsArgs) ToNetworkInterfaceDnsSettingsPtrOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceDnsSettingsOutput).ToNetworkInterfaceDnsSettingsPtrOutputWithContext(ctx)
}
-func (o InboundNatRuleTypeOutput) ToInboundNatRuleTypeOutput() InboundNatRuleTypeOutput {
- return o
-}
+// NetworkInterfaceDnsSettingsPtrInput is an input type that accepts NetworkInterfaceDnsSettingsArgs, NetworkInterfaceDnsSettingsPtr and NetworkInterfaceDnsSettingsPtrOutput values.
+// You can construct a concrete instance of `NetworkInterfaceDnsSettingsPtrInput` via:
+//
+// NetworkInterfaceDnsSettingsArgs{...}
+//
+// or:
+//
+// nil
+type NetworkInterfaceDnsSettingsPtrInput interface {
+ pulumi.Input
-func (o InboundNatRuleTypeOutput) ToInboundNatRuleTypeOutputWithContext(ctx context.Context) InboundNatRuleTypeOutput {
- return o
+ ToNetworkInterfaceDnsSettingsPtrOutput() NetworkInterfaceDnsSettingsPtrOutput
+ ToNetworkInterfaceDnsSettingsPtrOutputWithContext(context.Context) NetworkInterfaceDnsSettingsPtrOutput
}
-// A reference to backendAddressPool resource.
-func (o InboundNatRuleTypeOutput) BackendAddressPool() SubResourcePtrOutput {
- return o.ApplyT(func(v InboundNatRuleType) *SubResource { return v.BackendAddressPool }).(SubResourcePtrOutput)
-}
+type networkInterfaceDnsSettingsPtrType NetworkInterfaceDnsSettingsArgs
-// The port used for the internal endpoint. Acceptable values range from 1 to 65535.
-func (o InboundNatRuleTypeOutput) BackendPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v InboundNatRuleType) *int { return v.BackendPort }).(pulumi.IntPtrOutput)
+func NetworkInterfaceDnsSettingsPtr(v *NetworkInterfaceDnsSettingsArgs) NetworkInterfaceDnsSettingsPtrInput {
+ return (*networkInterfaceDnsSettingsPtrType)(v)
}
-// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
-func (o InboundNatRuleTypeOutput) EnableFloatingIP() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v InboundNatRuleType) *bool { return v.EnableFloatingIP }).(pulumi.BoolPtrOutput)
+func (*networkInterfaceDnsSettingsPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkInterfaceDnsSettings)(nil)).Elem()
}
-// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
-func (o InboundNatRuleTypeOutput) EnableTcpReset() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v InboundNatRuleType) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
+func (i *networkInterfaceDnsSettingsPtrType) ToNetworkInterfaceDnsSettingsPtrOutput() NetworkInterfaceDnsSettingsPtrOutput {
+ return i.ToNetworkInterfaceDnsSettingsPtrOutputWithContext(context.Background())
}
-// A reference to frontend IP addresses.
-func (o InboundNatRuleTypeOutput) FrontendIPConfiguration() SubResourcePtrOutput {
- return o.ApplyT(func(v InboundNatRuleType) *SubResource { return v.FrontendIPConfiguration }).(SubResourcePtrOutput)
+func (i *networkInterfaceDnsSettingsPtrType) ToNetworkInterfaceDnsSettingsPtrOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceDnsSettingsPtrOutput)
}
-// The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
-func (o InboundNatRuleTypeOutput) FrontendPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v InboundNatRuleType) *int { return v.FrontendPort }).(pulumi.IntPtrOutput)
+// DNS settings of a network interface.
+type NetworkInterfaceDnsSettingsOutput struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceDnsSettingsOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceDnsSettings)(nil)).Elem()
}
-// The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
-func (o InboundNatRuleTypeOutput) FrontendPortRangeEnd() pulumi.IntPtrOutput {
- return o.ApplyT(func(v InboundNatRuleType) *int { return v.FrontendPortRangeEnd }).(pulumi.IntPtrOutput)
+func (o NetworkInterfaceDnsSettingsOutput) ToNetworkInterfaceDnsSettingsOutput() NetworkInterfaceDnsSettingsOutput {
+ return o
}
-// The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
-func (o InboundNatRuleTypeOutput) FrontendPortRangeStart() pulumi.IntPtrOutput {
- return o.ApplyT(func(v InboundNatRuleType) *int { return v.FrontendPortRangeStart }).(pulumi.IntPtrOutput)
+func (o NetworkInterfaceDnsSettingsOutput) ToNetworkInterfaceDnsSettingsOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsOutput {
+ return o
}
-// Resource ID.
-func (o InboundNatRuleTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InboundNatRuleType) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceDnsSettingsOutput) ToNetworkInterfaceDnsSettingsPtrOutput() NetworkInterfaceDnsSettingsPtrOutput {
+ return o.ToNetworkInterfaceDnsSettingsPtrOutputWithContext(context.Background())
}
-// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
-func (o InboundNatRuleTypeOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v InboundNatRuleType) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+func (o NetworkInterfaceDnsSettingsOutput) ToNetworkInterfaceDnsSettingsPtrOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v NetworkInterfaceDnsSettings) *NetworkInterfaceDnsSettings {
+ return &v
+ }).(NetworkInterfaceDnsSettingsPtrOutput)
}
-// The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource.
-func (o InboundNatRuleTypeOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InboundNatRuleType) *string { return v.Name }).(pulumi.StringPtrOutput)
+// List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
+func (o NetworkInterfaceDnsSettingsOutput) DnsServers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceDnsSettings) []string { return v.DnsServers }).(pulumi.StringArrayOutput)
}
-// The reference to the transport protocol used by the load balancing rule.
-func (o InboundNatRuleTypeOutput) Protocol() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InboundNatRuleType) *string { return v.Protocol }).(pulumi.StringPtrOutput)
+// Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
+func (o NetworkInterfaceDnsSettingsOutput) InternalDnsNameLabel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceDnsSettings) *string { return v.InternalDnsNameLabel }).(pulumi.StringPtrOutput)
}
-type InboundNatRuleTypeArrayOutput struct{ *pulumi.OutputState }
+type NetworkInterfaceDnsSettingsPtrOutput struct{ *pulumi.OutputState }
-func (InboundNatRuleTypeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]InboundNatRuleType)(nil)).Elem()
+func (NetworkInterfaceDnsSettingsPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkInterfaceDnsSettings)(nil)).Elem()
}
-func (o InboundNatRuleTypeArrayOutput) ToInboundNatRuleTypeArrayOutput() InboundNatRuleTypeArrayOutput {
+func (o NetworkInterfaceDnsSettingsPtrOutput) ToNetworkInterfaceDnsSettingsPtrOutput() NetworkInterfaceDnsSettingsPtrOutput {
return o
}
-func (o InboundNatRuleTypeArrayOutput) ToInboundNatRuleTypeArrayOutputWithContext(ctx context.Context) InboundNatRuleTypeArrayOutput {
+func (o NetworkInterfaceDnsSettingsPtrOutput) ToNetworkInterfaceDnsSettingsPtrOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsPtrOutput {
return o
}
-func (o InboundNatRuleTypeArrayOutput) Index(i pulumi.IntInput) InboundNatRuleTypeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) InboundNatRuleType {
- return vs[0].([]InboundNatRuleType)[vs[1].(int)]
- }).(InboundNatRuleTypeOutput)
+func (o NetworkInterfaceDnsSettingsPtrOutput) Elem() NetworkInterfaceDnsSettingsOutput {
+ return o.ApplyT(func(v *NetworkInterfaceDnsSettings) NetworkInterfaceDnsSettings {
+ if v != nil {
+ return *v
+ }
+ var ret NetworkInterfaceDnsSettings
+ return ret
+ }).(NetworkInterfaceDnsSettingsOutput)
}
-// Inbound NAT rule of the load balancer.
-type InboundNatRuleResponse struct {
- // A reference to backendAddressPool resource.
- BackendAddressPool *SubResourceResponse `pulumi:"backendAddressPool"`
- // A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP.
- BackendIPConfiguration NetworkInterfaceIPConfigurationResponse `pulumi:"backendIPConfiguration"`
- // The port used for the internal endpoint. Acceptable values range from 1 to 65535.
- BackendPort *int `pulumi:"backendPort"`
- // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
- EnableFloatingIP *bool `pulumi:"enableFloatingIP"`
- // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
- EnableTcpReset *bool `pulumi:"enableTcpReset"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // A reference to frontend IP addresses.
- FrontendIPConfiguration *SubResourceResponse `pulumi:"frontendIPConfiguration"`
- // The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
- FrontendPort *int `pulumi:"frontendPort"`
- // The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
- FrontendPortRangeEnd *int `pulumi:"frontendPortRangeEnd"`
- // The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
- FrontendPortRangeStart *int `pulumi:"frontendPortRangeStart"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
- // The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The reference to the transport protocol used by the load balancing rule.
- Protocol *string `pulumi:"protocol"`
- // The provisioning state of the inbound NAT rule resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Type of the resource.
- Type string `pulumi:"type"`
+// List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
+func (o NetworkInterfaceDnsSettingsPtrOutput) DnsServers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkInterfaceDnsSettings) []string {
+ if v == nil {
+ return nil
+ }
+ return v.DnsServers
+ }).(pulumi.StringArrayOutput)
}
-// Defaults sets the appropriate defaults for InboundNatRuleResponse
-func (val *InboundNatRuleResponse) Defaults() *InboundNatRuleResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.BackendIPConfiguration = *tmp.BackendIPConfiguration.Defaults()
+// Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
+func (o NetworkInterfaceDnsSettingsPtrOutput) InternalDnsNameLabel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceDnsSettings) *string {
+ if v == nil {
+ return nil
+ }
+ return v.InternalDnsNameLabel
+ }).(pulumi.StringPtrOutput)
+}
- return &tmp
+// DNS settings of a network interface.
+type NetworkInterfaceDnsSettingsInterfaceEndpointResponse struct {
+ // If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.
+ AppliedDnsServers []string `pulumi:"appliedDnsServers"`
+ // List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
+ DnsServers []string `pulumi:"dnsServers"`
+ // Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
+ InternalDnsNameLabel *string `pulumi:"internalDnsNameLabel"`
+ // Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
+ InternalDomainNameSuffix *string `pulumi:"internalDomainNameSuffix"`
+ // Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
+ InternalFqdn *string `pulumi:"internalFqdn"`
}
-// Inbound NAT rule of the load balancer.
-type InboundNatRuleResponseOutput struct{ *pulumi.OutputState }
+// DNS settings of a network interface.
+type NetworkInterfaceDnsSettingsInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
-func (InboundNatRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*InboundNatRuleResponse)(nil)).Elem()
+func (NetworkInterfaceDnsSettingsInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceDnsSettingsInterfaceEndpointResponse)(nil)).Elem()
}
-func (o InboundNatRuleResponseOutput) ToInboundNatRuleResponseOutput() InboundNatRuleResponseOutput {
+func (o NetworkInterfaceDnsSettingsInterfaceEndpointResponseOutput) ToNetworkInterfaceDnsSettingsInterfaceEndpointResponseOutput() NetworkInterfaceDnsSettingsInterfaceEndpointResponseOutput {
return o
}
-func (o InboundNatRuleResponseOutput) ToInboundNatRuleResponseOutputWithContext(ctx context.Context) InboundNatRuleResponseOutput {
+func (o NetworkInterfaceDnsSettingsInterfaceEndpointResponseOutput) ToNetworkInterfaceDnsSettingsInterfaceEndpointResponseOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsInterfaceEndpointResponseOutput {
return o
}
-// A reference to backendAddressPool resource.
-func (o InboundNatRuleResponseOutput) BackendAddressPool() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponse) *SubResourceResponse { return v.BackendAddressPool }).(SubResourceResponsePtrOutput)
+// If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.
+func (o NetworkInterfaceDnsSettingsInterfaceEndpointResponseOutput) AppliedDnsServers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceDnsSettingsInterfaceEndpointResponse) []string { return v.AppliedDnsServers }).(pulumi.StringArrayOutput)
}
-// A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP.
-func (o InboundNatRuleResponseOutput) BackendIPConfiguration() NetworkInterfaceIPConfigurationResponseOutput {
- return o.ApplyT(func(v InboundNatRuleResponse) NetworkInterfaceIPConfigurationResponse {
- return v.BackendIPConfiguration
- }).(NetworkInterfaceIPConfigurationResponseOutput)
+// List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
+func (o NetworkInterfaceDnsSettingsInterfaceEndpointResponseOutput) DnsServers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceDnsSettingsInterfaceEndpointResponse) []string { return v.DnsServers }).(pulumi.StringArrayOutput)
}
-// The port used for the internal endpoint. Acceptable values range from 1 to 65535.
-func (o InboundNatRuleResponseOutput) BackendPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponse) *int { return v.BackendPort }).(pulumi.IntPtrOutput)
+// Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
+func (o NetworkInterfaceDnsSettingsInterfaceEndpointResponseOutput) InternalDnsNameLabel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceDnsSettingsInterfaceEndpointResponse) *string { return v.InternalDnsNameLabel }).(pulumi.StringPtrOutput)
}
-// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
-func (o InboundNatRuleResponseOutput) EnableFloatingIP() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponse) *bool { return v.EnableFloatingIP }).(pulumi.BoolPtrOutput)
+// Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
+func (o NetworkInterfaceDnsSettingsInterfaceEndpointResponseOutput) InternalDomainNameSuffix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceDnsSettingsInterfaceEndpointResponse) *string {
+ return v.InternalDomainNameSuffix
+ }).(pulumi.StringPtrOutput)
}
-// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
-func (o InboundNatRuleResponseOutput) EnableTcpReset() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponse) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
+// Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
+func (o NetworkInterfaceDnsSettingsInterfaceEndpointResponseOutput) InternalFqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceDnsSettingsInterfaceEndpointResponse) *string { return v.InternalFqdn }).(pulumi.StringPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o InboundNatRuleResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v InboundNatRuleResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
+type NetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutput struct{ *pulumi.OutputState }
-// A reference to frontend IP addresses.
-func (o InboundNatRuleResponseOutput) FrontendIPConfiguration() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponse) *SubResourceResponse { return v.FrontendIPConfiguration }).(SubResourceResponsePtrOutput)
+func (NetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkInterfaceDnsSettingsInterfaceEndpointResponse)(nil)).Elem()
}
-// The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
-func (o InboundNatRuleResponseOutput) FrontendPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponse) *int { return v.FrontendPort }).(pulumi.IntPtrOutput)
+func (o NetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutput) ToNetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutput() NetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutput {
+ return o
}
-// The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
-func (o InboundNatRuleResponseOutput) FrontendPortRangeEnd() pulumi.IntPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponse) *int { return v.FrontendPortRangeEnd }).(pulumi.IntPtrOutput)
+func (o NetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutput) ToNetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutput {
+ return o
}
-// The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
-func (o InboundNatRuleResponseOutput) FrontendPortRangeStart() pulumi.IntPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponse) *int { return v.FrontendPortRangeStart }).(pulumi.IntPtrOutput)
+func (o NetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutput) Elem() NetworkInterfaceDnsSettingsInterfaceEndpointResponseOutput {
+ return o.ApplyT(func(v *NetworkInterfaceDnsSettingsInterfaceEndpointResponse) NetworkInterfaceDnsSettingsInterfaceEndpointResponse {
+ if v != nil {
+ return *v
+ }
+ var ret NetworkInterfaceDnsSettingsInterfaceEndpointResponse
+ return ret
+ }).(NetworkInterfaceDnsSettingsInterfaceEndpointResponseOutput)
}
-// Resource ID.
-func (o InboundNatRuleResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.
+func (o NetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutput) AppliedDnsServers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkInterfaceDnsSettingsInterfaceEndpointResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.AppliedDnsServers
+ }).(pulumi.StringArrayOutput)
}
-// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
-func (o InboundNatRuleResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+// List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
+func (o NetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutput) DnsServers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkInterfaceDnsSettingsInterfaceEndpointResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.DnsServers
+ }).(pulumi.StringArrayOutput)
}
-// The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource.
-func (o InboundNatRuleResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
+func (o NetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutput) InternalDnsNameLabel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceDnsSettingsInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.InternalDnsNameLabel
+ }).(pulumi.StringPtrOutput)
}
-// The reference to the transport protocol used by the load balancing rule.
-func (o InboundNatRuleResponseOutput) Protocol() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput)
+// Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
+func (o NetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutput) InternalDomainNameSuffix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceDnsSettingsInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.InternalDomainNameSuffix
+ }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the inbound NAT rule resource.
-func (o InboundNatRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v InboundNatRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
+func (o NetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutput) InternalFqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceDnsSettingsInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.InternalFqdn
+ }).(pulumi.StringPtrOutput)
}
-// Type of the resource.
-func (o InboundNatRuleResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v InboundNatRuleResponse) string { return v.Type }).(pulumi.StringOutput)
+// DNS settings of a network interface.
+type NetworkInterfaceDnsSettingsResponse struct {
+ // If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.
+ AppliedDnsServers []string `pulumi:"appliedDnsServers"`
+ // List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
+ DnsServers []string `pulumi:"dnsServers"`
+ // Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
+ InternalDnsNameLabel *string `pulumi:"internalDnsNameLabel"`
+ // Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
+ InternalDomainNameSuffix string `pulumi:"internalDomainNameSuffix"`
+ // Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
+ InternalFqdn string `pulumi:"internalFqdn"`
}
-type InboundNatRuleResponseArrayOutput struct{ *pulumi.OutputState }
+// DNS settings of a network interface.
+type NetworkInterfaceDnsSettingsResponseOutput struct{ *pulumi.OutputState }
-func (InboundNatRuleResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]InboundNatRuleResponse)(nil)).Elem()
+func (NetworkInterfaceDnsSettingsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceDnsSettingsResponse)(nil)).Elem()
}
-func (o InboundNatRuleResponseArrayOutput) ToInboundNatRuleResponseArrayOutput() InboundNatRuleResponseArrayOutput {
+func (o NetworkInterfaceDnsSettingsResponseOutput) ToNetworkInterfaceDnsSettingsResponseOutput() NetworkInterfaceDnsSettingsResponseOutput {
return o
}
-func (o InboundNatRuleResponseArrayOutput) ToInboundNatRuleResponseArrayOutputWithContext(ctx context.Context) InboundNatRuleResponseArrayOutput {
+func (o NetworkInterfaceDnsSettingsResponseOutput) ToNetworkInterfaceDnsSettingsResponseOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsResponseOutput {
return o
}
-func (o InboundNatRuleResponseArrayOutput) Index(i pulumi.IntInput) InboundNatRuleResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) InboundNatRuleResponse {
- return vs[0].([]InboundNatRuleResponse)[vs[1].(int)]
- }).(InboundNatRuleResponseOutput)
+// If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.
+func (o NetworkInterfaceDnsSettingsResponseOutput) AppliedDnsServers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceDnsSettingsResponse) []string { return v.AppliedDnsServers }).(pulumi.StringArrayOutput)
}
-// Inbound NAT rule of the load balancer.
-type InboundNatRuleResponseV1 struct {
- // A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP.
- BackendIPConfiguration NetworkInterfaceIPConfigurationResponse `pulumi:"backendIPConfiguration"`
- // The port used for the internal endpoint. Acceptable values range from 1 to 65535.
- BackendPort *int `pulumi:"backendPort"`
- // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
- EnableFloatingIP *bool `pulumi:"enableFloatingIP"`
- // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
- EnableTcpReset *bool `pulumi:"enableTcpReset"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // A reference to frontend IP addresses.
- FrontendIPConfiguration *SubResourceResponse `pulumi:"frontendIPConfiguration"`
- // The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
- FrontendPort *int `pulumi:"frontendPort"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
- // Gets name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The reference to the transport protocol used by the load balancing rule.
- Protocol *string `pulumi:"protocol"`
- // Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState *string `pulumi:"provisioningState"`
+// List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
+func (o NetworkInterfaceDnsSettingsResponseOutput) DnsServers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceDnsSettingsResponse) []string { return v.DnsServers }).(pulumi.StringArrayOutput)
}
-// Defaults sets the appropriate defaults for InboundNatRuleResponseV1
-func (val *InboundNatRuleResponseV1) Defaults() *InboundNatRuleResponseV1 {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.BackendIPConfiguration = *tmp.BackendIPConfiguration.Defaults()
+// Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
+func (o NetworkInterfaceDnsSettingsResponseOutput) InternalDnsNameLabel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceDnsSettingsResponse) *string { return v.InternalDnsNameLabel }).(pulumi.StringPtrOutput)
+}
- return &tmp
+// Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
+func (o NetworkInterfaceDnsSettingsResponseOutput) InternalDomainNameSuffix() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceDnsSettingsResponse) string { return v.InternalDomainNameSuffix }).(pulumi.StringOutput)
}
-// Inbound NAT rule of the load balancer.
-type InboundNatRuleResponseV1Output struct{ *pulumi.OutputState }
+// Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
+func (o NetworkInterfaceDnsSettingsResponseOutput) InternalFqdn() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceDnsSettingsResponse) string { return v.InternalFqdn }).(pulumi.StringOutput)
+}
+
+type NetworkInterfaceDnsSettingsResponsePtrOutput struct{ *pulumi.OutputState }
-func (InboundNatRuleResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*InboundNatRuleResponseV1)(nil)).Elem()
+func (NetworkInterfaceDnsSettingsResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkInterfaceDnsSettingsResponse)(nil)).Elem()
}
-func (o InboundNatRuleResponseV1Output) ToInboundNatRuleResponseV1Output() InboundNatRuleResponseV1Output {
+func (o NetworkInterfaceDnsSettingsResponsePtrOutput) ToNetworkInterfaceDnsSettingsResponsePtrOutput() NetworkInterfaceDnsSettingsResponsePtrOutput {
return o
}
-func (o InboundNatRuleResponseV1Output) ToInboundNatRuleResponseV1OutputWithContext(ctx context.Context) InboundNatRuleResponseV1Output {
+func (o NetworkInterfaceDnsSettingsResponsePtrOutput) ToNetworkInterfaceDnsSettingsResponsePtrOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsResponsePtrOutput {
return o
}
-// A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP.
-func (o InboundNatRuleResponseV1Output) BackendIPConfiguration() NetworkInterfaceIPConfigurationResponseOutput {
- return o.ApplyT(func(v InboundNatRuleResponseV1) NetworkInterfaceIPConfigurationResponse {
- return v.BackendIPConfiguration
- }).(NetworkInterfaceIPConfigurationResponseOutput)
+func (o NetworkInterfaceDnsSettingsResponsePtrOutput) Elem() NetworkInterfaceDnsSettingsResponseOutput {
+ return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponse) NetworkInterfaceDnsSettingsResponse {
+ if v != nil {
+ return *v
+ }
+ var ret NetworkInterfaceDnsSettingsResponse
+ return ret
+ }).(NetworkInterfaceDnsSettingsResponseOutput)
}
-// The port used for the internal endpoint. Acceptable values range from 1 to 65535.
-func (o InboundNatRuleResponseV1Output) BackendPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponseV1) *int { return v.BackendPort }).(pulumi.IntPtrOutput)
+// If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.
+func (o NetworkInterfaceDnsSettingsResponsePtrOutput) AppliedDnsServers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.AppliedDnsServers
+ }).(pulumi.StringArrayOutput)
}
-// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
-func (o InboundNatRuleResponseV1Output) EnableFloatingIP() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponseV1) *bool { return v.EnableFloatingIP }).(pulumi.BoolPtrOutput)
+// List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
+func (o NetworkInterfaceDnsSettingsResponsePtrOutput) DnsServers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.DnsServers
+ }).(pulumi.StringArrayOutput)
}
-// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
-func (o InboundNatRuleResponseV1Output) EnableTcpReset() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponseV1) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
+// Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
+func (o NetworkInterfaceDnsSettingsResponsePtrOutput) InternalDnsNameLabel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.InternalDnsNameLabel
+ }).(pulumi.StringPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o InboundNatRuleResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
+// Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
+func (o NetworkInterfaceDnsSettingsResponsePtrOutput) InternalDomainNameSuffix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.InternalDomainNameSuffix
+ }).(pulumi.StringPtrOutput)
}
-// A reference to frontend IP addresses.
-func (o InboundNatRuleResponseV1Output) FrontendIPConfiguration() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponseV1) *SubResourceResponse { return v.FrontendIPConfiguration }).(SubResourceResponsePtrOutput)
+// Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
+func (o NetworkInterfaceDnsSettingsResponsePtrOutput) InternalFqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.InternalFqdn
+ }).(pulumi.StringPtrOutput)
}
-// The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
-func (o InboundNatRuleResponseV1Output) FrontendPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponseV1) *int { return v.FrontendPort }).(pulumi.IntPtrOutput)
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfiguration struct {
+ // The reference to ApplicationGatewayBackendAddressPool resource.
+ ApplicationGatewayBackendAddressPools []ApplicationGatewayBackendAddressPool `pulumi:"applicationGatewayBackendAddressPools"`
+ // Application security groups in which the IP configuration is included.
+ ApplicationSecurityGroups []ApplicationSecurityGroupType `pulumi:"applicationSecurityGroups"`
+ // The reference to gateway load balancer frontend IP.
+ GatewayLoadBalancer *SubResource `pulumi:"gatewayLoadBalancer"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The reference to LoadBalancerBackendAddressPool resource.
+ LoadBalancerBackendAddressPools []BackendAddressPool `pulumi:"loadBalancerBackendAddressPools"`
+ // A list of references of LoadBalancerInboundNatRules.
+ LoadBalancerInboundNatRules []InboundNatRuleType `pulumi:"loadBalancerInboundNatRules"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Whether this is a primary customer address on the network interface.
+ Primary *bool `pulumi:"primary"`
+ // Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
+ PrivateIPAddressPrefixLength *int `pulumi:"privateIPAddressPrefixLength"`
+ // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+ PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // Public IP address bound to the IP configuration.
+ PublicIPAddress *PublicIPAddressType `pulumi:"publicIPAddress"`
+ // Subnet bound to the IP configuration.
+ Subnet *SubnetType `pulumi:"subnet"`
+ // Resource type.
+ Type *string `pulumi:"type"`
+ // The reference to Virtual Network Taps.
+ VirtualNetworkTaps []VirtualNetworkTapType `pulumi:"virtualNetworkTaps"`
}
-// Resource ID.
-func (o InboundNatRuleResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
+// Defaults sets the appropriate defaults for NetworkInterfaceIPConfiguration
+func (val *NetworkInterfaceIPConfiguration) Defaults() *NetworkInterfaceIPConfiguration {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.Subnet = tmp.Subnet.Defaults()
-// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
-func (o InboundNatRuleResponseV1Output) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponseV1) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+ return &tmp
}
-// Gets name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o InboundNatRuleResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
+// NetworkInterfaceIPConfigurationInput is an input type that accepts NetworkInterfaceIPConfigurationArgs and NetworkInterfaceIPConfigurationOutput values.
+// You can construct a concrete instance of `NetworkInterfaceIPConfigurationInput` via:
+//
+// NetworkInterfaceIPConfigurationArgs{...}
+type NetworkInterfaceIPConfigurationInput interface {
+ pulumi.Input
-// The reference to the transport protocol used by the load balancing rule.
-func (o InboundNatRuleResponseV1Output) Protocol() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponseV1) *string { return v.Protocol }).(pulumi.StringPtrOutput)
+ ToNetworkInterfaceIPConfigurationOutput() NetworkInterfaceIPConfigurationOutput
+ ToNetworkInterfaceIPConfigurationOutputWithContext(context.Context) NetworkInterfaceIPConfigurationOutput
}
-// Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o InboundNatRuleResponseV1Output) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InboundNatRuleResponseV1) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfigurationArgs struct {
+ // The reference to ApplicationGatewayBackendAddressPool resource.
+ ApplicationGatewayBackendAddressPools ApplicationGatewayBackendAddressPoolArrayInput `pulumi:"applicationGatewayBackendAddressPools"`
+ // Application security groups in which the IP configuration is included.
+ ApplicationSecurityGroups ApplicationSecurityGroupTypeArrayInput `pulumi:"applicationSecurityGroups"`
+ // The reference to gateway load balancer frontend IP.
+ GatewayLoadBalancer SubResourcePtrInput `pulumi:"gatewayLoadBalancer"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The reference to LoadBalancerBackendAddressPool resource.
+ LoadBalancerBackendAddressPools BackendAddressPoolArrayInput `pulumi:"loadBalancerBackendAddressPools"`
+ // A list of references of LoadBalancerInboundNatRules.
+ LoadBalancerInboundNatRules InboundNatRuleTypeArrayInput `pulumi:"loadBalancerInboundNatRules"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Whether this is a primary customer address on the network interface.
+ Primary pulumi.BoolPtrInput `pulumi:"primary"`
+ // Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
+ PrivateIPAddress pulumi.StringPtrInput `pulumi:"privateIPAddress"`
+ // The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
+ PrivateIPAddressPrefixLength pulumi.IntPtrInput `pulumi:"privateIPAddressPrefixLength"`
+ // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+ PrivateIPAddressVersion pulumi.StringPtrInput `pulumi:"privateIPAddressVersion"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod pulumi.StringPtrInput `pulumi:"privateIPAllocationMethod"`
+ // Public IP address bound to the IP configuration.
+ PublicIPAddress PublicIPAddressTypePtrInput `pulumi:"publicIPAddress"`
+ // Subnet bound to the IP configuration.
+ Subnet SubnetTypePtrInput `pulumi:"subnet"`
+ // Resource type.
+ Type pulumi.StringPtrInput `pulumi:"type"`
+ // The reference to Virtual Network Taps.
+ VirtualNetworkTaps VirtualNetworkTapTypeArrayInput `pulumi:"virtualNetworkTaps"`
}
-type InboundNatRuleResponseV1ArrayOutput struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for NetworkInterfaceIPConfigurationArgs
+func (val *NetworkInterfaceIPConfigurationArgs) Defaults() *NetworkInterfaceIPConfigurationArgs {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
-func (InboundNatRuleResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]InboundNatRuleResponseV1)(nil)).Elem()
+ return &tmp
+}
+func (NetworkInterfaceIPConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceIPConfiguration)(nil)).Elem()
}
-func (o InboundNatRuleResponseV1ArrayOutput) ToInboundNatRuleResponseV1ArrayOutput() InboundNatRuleResponseV1ArrayOutput {
- return o
+func (i NetworkInterfaceIPConfigurationArgs) ToNetworkInterfaceIPConfigurationOutput() NetworkInterfaceIPConfigurationOutput {
+ return i.ToNetworkInterfaceIPConfigurationOutputWithContext(context.Background())
}
-func (o InboundNatRuleResponseV1ArrayOutput) ToInboundNatRuleResponseV1ArrayOutputWithContext(ctx context.Context) InboundNatRuleResponseV1ArrayOutput {
- return o
+func (i NetworkInterfaceIPConfigurationArgs) ToNetworkInterfaceIPConfigurationOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceIPConfigurationOutput)
}
-func (o InboundNatRuleResponseV1ArrayOutput) Index(i pulumi.IntInput) InboundNatRuleResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) InboundNatRuleResponseV1 {
- return vs[0].([]InboundNatRuleResponseV1)[vs[1].(int)]
- }).(InboundNatRuleResponseV1Output)
+func (i NetworkInterfaceIPConfigurationArgs) ToNetworkInterfaceIPConfigurationPtrOutput() NetworkInterfaceIPConfigurationPtrOutput {
+ return i.ToNetworkInterfaceIPConfigurationPtrOutputWithContext(context.Background())
}
-// Intent information.
-type IntentContentResponse struct {
- Description *string `pulumi:"description"`
- // Destination resource id of the intent.
- DestinationResourceId string `pulumi:"destinationResourceId"`
- // IP traffic information.
- IpTraffic IPTrafficResponse `pulumi:"ipTraffic"`
- // Source resource id of the intent.
- SourceResourceId string `pulumi:"sourceResourceId"`
+func (i NetworkInterfaceIPConfigurationArgs) ToNetworkInterfaceIPConfigurationPtrOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceIPConfigurationOutput).ToNetworkInterfaceIPConfigurationPtrOutputWithContext(ctx)
}
-// Intent information.
-type IntentContentResponseOutput struct{ *pulumi.OutputState }
+// NetworkInterfaceIPConfigurationPtrInput is an input type that accepts NetworkInterfaceIPConfigurationArgs, NetworkInterfaceIPConfigurationPtr and NetworkInterfaceIPConfigurationPtrOutput values.
+// You can construct a concrete instance of `NetworkInterfaceIPConfigurationPtrInput` via:
+//
+// NetworkInterfaceIPConfigurationArgs{...}
+//
+// or:
+//
+// nil
+type NetworkInterfaceIPConfigurationPtrInput interface {
+ pulumi.Input
-func (IntentContentResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IntentContentResponse)(nil)).Elem()
+ ToNetworkInterfaceIPConfigurationPtrOutput() NetworkInterfaceIPConfigurationPtrOutput
+ ToNetworkInterfaceIPConfigurationPtrOutputWithContext(context.Context) NetworkInterfaceIPConfigurationPtrOutput
}
-func (o IntentContentResponseOutput) ToIntentContentResponseOutput() IntentContentResponseOutput {
- return o
-}
+type networkInterfaceIPConfigurationPtrType NetworkInterfaceIPConfigurationArgs
-func (o IntentContentResponseOutput) ToIntentContentResponseOutputWithContext(ctx context.Context) IntentContentResponseOutput {
- return o
+func NetworkInterfaceIPConfigurationPtr(v *NetworkInterfaceIPConfigurationArgs) NetworkInterfaceIPConfigurationPtrInput {
+ return (*networkInterfaceIPConfigurationPtrType)(v)
}
-func (o IntentContentResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IntentContentResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (*networkInterfaceIPConfigurationPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkInterfaceIPConfiguration)(nil)).Elem()
}
-// Destination resource id of the intent.
-func (o IntentContentResponseOutput) DestinationResourceId() pulumi.StringOutput {
- return o.ApplyT(func(v IntentContentResponse) string { return v.DestinationResourceId }).(pulumi.StringOutput)
+func (i *networkInterfaceIPConfigurationPtrType) ToNetworkInterfaceIPConfigurationPtrOutput() NetworkInterfaceIPConfigurationPtrOutput {
+ return i.ToNetworkInterfaceIPConfigurationPtrOutputWithContext(context.Background())
}
-// IP traffic information.
-func (o IntentContentResponseOutput) IpTraffic() IPTrafficResponseOutput {
- return o.ApplyT(func(v IntentContentResponse) IPTrafficResponse { return v.IpTraffic }).(IPTrafficResponseOutput)
+func (i *networkInterfaceIPConfigurationPtrType) ToNetworkInterfaceIPConfigurationPtrOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceIPConfigurationPtrOutput)
}
-// Source resource id of the intent.
-func (o IntentContentResponseOutput) SourceResourceId() pulumi.StringOutput {
- return o.ApplyT(func(v IntentContentResponse) string { return v.SourceResourceId }).(pulumi.StringOutput)
-}
+// NetworkInterfaceIPConfigurationArrayInput is an input type that accepts NetworkInterfaceIPConfigurationArray and NetworkInterfaceIPConfigurationArrayOutput values.
+// You can construct a concrete instance of `NetworkInterfaceIPConfigurationArrayInput` via:
+//
+// NetworkInterfaceIPConfigurationArray{ NetworkInterfaceIPConfigurationArgs{...} }
+type NetworkInterfaceIPConfigurationArrayInput interface {
+ pulumi.Input
-// Interface endpoint resource.
-type InterfaceEndpointResponse struct {
- // A reference to the service being brought into the virtual network.
- EndpointService *EndpointServiceResponse `pulumi:"endpointService"`
- // Gets a unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // A first-party service's FQDN that is mapped to the private IP allocated via this interface endpoint.
- Fqdn *string `pulumi:"fqdn"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // Gets an array of references to the network interfaces created for this interface endpoint.
- NetworkInterfaces []NetworkInterfaceResponse `pulumi:"networkInterfaces"`
- // A read-only property that identifies who created this interface endpoint.
- Owner string `pulumi:"owner"`
- // The provisioning state of the interface endpoint. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState string `pulumi:"provisioningState"`
- // The ID of the subnet from which the private IP will be allocated.
- Subnet *SubnetResponseV1 `pulumi:"subnet"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
+ ToNetworkInterfaceIPConfigurationArrayOutput() NetworkInterfaceIPConfigurationArrayOutput
+ ToNetworkInterfaceIPConfigurationArrayOutputWithContext(context.Context) NetworkInterfaceIPConfigurationArrayOutput
+}
+
+type NetworkInterfaceIPConfigurationArray []NetworkInterfaceIPConfigurationInput
+
+func (NetworkInterfaceIPConfigurationArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceIPConfiguration)(nil)).Elem()
}
-// Interface endpoint resource.
-type InterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
+func (i NetworkInterfaceIPConfigurationArray) ToNetworkInterfaceIPConfigurationArrayOutput() NetworkInterfaceIPConfigurationArrayOutput {
+ return i.ToNetworkInterfaceIPConfigurationArrayOutputWithContext(context.Background())
+}
-func (InterfaceEndpointResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*InterfaceEndpointResponse)(nil)).Elem()
+func (i NetworkInterfaceIPConfigurationArray) ToNetworkInterfaceIPConfigurationArrayOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceIPConfigurationArrayOutput)
}
-func (o InterfaceEndpointResponseOutput) ToInterfaceEndpointResponseOutput() InterfaceEndpointResponseOutput {
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfigurationOutput struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceIPConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceIPConfiguration)(nil)).Elem()
+}
+
+func (o NetworkInterfaceIPConfigurationOutput) ToNetworkInterfaceIPConfigurationOutput() NetworkInterfaceIPConfigurationOutput {
return o
}
-func (o InterfaceEndpointResponseOutput) ToInterfaceEndpointResponseOutputWithContext(ctx context.Context) InterfaceEndpointResponseOutput {
+func (o NetworkInterfaceIPConfigurationOutput) ToNetworkInterfaceIPConfigurationOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationOutput {
return o
}
-// A reference to the service being brought into the virtual network.
-func (o InterfaceEndpointResponseOutput) EndpointService() EndpointServiceResponsePtrOutput {
- return o.ApplyT(func(v InterfaceEndpointResponse) *EndpointServiceResponse { return v.EndpointService }).(EndpointServiceResponsePtrOutput)
+func (o NetworkInterfaceIPConfigurationOutput) ToNetworkInterfaceIPConfigurationPtrOutput() NetworkInterfaceIPConfigurationPtrOutput {
+ return o.ToNetworkInterfaceIPConfigurationPtrOutputWithContext(context.Background())
}
-// Gets a unique read-only string that changes whenever the resource is updated.
-func (o InterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceIPConfigurationOutput) ToNetworkInterfaceIPConfigurationPtrOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v NetworkInterfaceIPConfiguration) *NetworkInterfaceIPConfiguration {
+ return &v
+ }).(NetworkInterfaceIPConfigurationPtrOutput)
}
-// A first-party service's FQDN that is mapped to the private IP allocated via this interface endpoint.
-func (o InterfaceEndpointResponseOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InterfaceEndpointResponse) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
+// The reference to ApplicationGatewayBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationOutput) ApplicationGatewayBackendAddressPools() ApplicationGatewayBackendAddressPoolArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfiguration) []ApplicationGatewayBackendAddressPool {
+ return v.ApplicationGatewayBackendAddressPools
+ }).(ApplicationGatewayBackendAddressPoolArrayOutput)
+}
+
+// Application security groups in which the IP configuration is included.
+func (o NetworkInterfaceIPConfigurationOutput) ApplicationSecurityGroups() ApplicationSecurityGroupTypeArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfiguration) []ApplicationSecurityGroupType {
+ return v.ApplicationSecurityGroups
+ }).(ApplicationSecurityGroupTypeArrayOutput)
+}
+
+// The reference to gateway load balancer frontend IP.
+func (o NetworkInterfaceIPConfigurationOutput) GatewayLoadBalancer() SubResourcePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *SubResource { return v.GatewayLoadBalancer }).(SubResourcePtrOutput)
}
// Resource ID.
-func (o InterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceIPConfigurationOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Resource location.
-func (o InterfaceEndpointResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InterfaceEndpointResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+// The reference to LoadBalancerBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationOutput) LoadBalancerBackendAddressPools() BackendAddressPoolArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfiguration) []BackendAddressPool { return v.LoadBalancerBackendAddressPools }).(BackendAddressPoolArrayOutput)
}
-// Resource name.
-func (o InterfaceEndpointResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v InterfaceEndpointResponse) string { return v.Name }).(pulumi.StringOutput)
+// A list of references of LoadBalancerInboundNatRules.
+func (o NetworkInterfaceIPConfigurationOutput) LoadBalancerInboundNatRules() InboundNatRuleTypeArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfiguration) []InboundNatRuleType { return v.LoadBalancerInboundNatRules }).(InboundNatRuleTypeArrayOutput)
}
-// Gets an array of references to the network interfaces created for this interface endpoint.
-func (o InterfaceEndpointResponseOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
- return o.ApplyT(func(v InterfaceEndpointResponse) []NetworkInterfaceResponse { return v.NetworkInterfaces }).(NetworkInterfaceResponseArrayOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o NetworkInterfaceIPConfigurationOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// A read-only property that identifies who created this interface endpoint.
-func (o InterfaceEndpointResponseOutput) Owner() pulumi.StringOutput {
- return o.ApplyT(func(v InterfaceEndpointResponse) string { return v.Owner }).(pulumi.StringOutput)
+// Whether this is a primary customer address on the network interface.
+func (o NetworkInterfaceIPConfigurationOutput) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
}
-// The provisioning state of the interface endpoint. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o InterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v InterfaceEndpointResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
+func (o NetworkInterfaceIPConfigurationOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-// The ID of the subnet from which the private IP will be allocated.
-func (o InterfaceEndpointResponseOutput) Subnet() SubnetResponseV1PtrOutput {
- return o.ApplyT(func(v InterfaceEndpointResponse) *SubnetResponseV1 { return v.Subnet }).(SubnetResponseV1PtrOutput)
+// The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
+func (o NetworkInterfaceIPConfigurationOutput) PrivateIPAddressPrefixLength() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *int { return v.PrivateIPAddressPrefixLength }).(pulumi.IntPtrOutput)
}
-// Resource tags.
-func (o InterfaceEndpointResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v InterfaceEndpointResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+func (o NetworkInterfaceIPConfigurationOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
+}
+
+// The private IP address allocation method.
+func (o NetworkInterfaceIPConfigurationOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+}
+
+// Public IP address bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationOutput) PublicIPAddress() PublicIPAddressTypePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *PublicIPAddressType { return v.PublicIPAddress }).(PublicIPAddressTypePtrOutput)
+}
+
+// Subnet bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationOutput) Subnet() SubnetTypePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *SubnetType { return v.Subnet }).(SubnetTypePtrOutput)
}
// Resource type.
-func (o InterfaceEndpointResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v InterfaceEndpointResponse) string { return v.Type }).(pulumi.StringOutput)
+func (o NetworkInterfaceIPConfigurationOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-type InterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
+// The reference to Virtual Network Taps.
+func (o NetworkInterfaceIPConfigurationOutput) VirtualNetworkTaps() VirtualNetworkTapTypeArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfiguration) []VirtualNetworkTapType { return v.VirtualNetworkTaps }).(VirtualNetworkTapTypeArrayOutput)
+}
-func (InterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]InterfaceEndpointResponse)(nil)).Elem()
+type NetworkInterfaceIPConfigurationPtrOutput struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceIPConfigurationPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkInterfaceIPConfiguration)(nil)).Elem()
}
-func (o InterfaceEndpointResponseArrayOutput) ToInterfaceEndpointResponseArrayOutput() InterfaceEndpointResponseArrayOutput {
+func (o NetworkInterfaceIPConfigurationPtrOutput) ToNetworkInterfaceIPConfigurationPtrOutput() NetworkInterfaceIPConfigurationPtrOutput {
return o
}
-func (o InterfaceEndpointResponseArrayOutput) ToInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) InterfaceEndpointResponseArrayOutput {
+func (o NetworkInterfaceIPConfigurationPtrOutput) ToNetworkInterfaceIPConfigurationPtrOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationPtrOutput {
return o
}
-func (o InterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) InterfaceEndpointResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) InterfaceEndpointResponse {
- return vs[0].([]InterfaceEndpointResponse)[vs[1].(int)]
- }).(InterfaceEndpointResponseOutput)
+func (o NetworkInterfaceIPConfigurationPtrOutput) Elem() NetworkInterfaceIPConfigurationOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) NetworkInterfaceIPConfiguration {
+ if v != nil {
+ return *v
+ }
+ var ret NetworkInterfaceIPConfiguration
+ return ret
+ }).(NetworkInterfaceIPConfigurationOutput)
}
-// Resource Uri of Public Ip for Standard Load Balancer Frontend End.
-type InternetIngressPublicIpsProperties struct {
- // Resource Uri of Public Ip
- Id *string `pulumi:"id"`
+// The reference to ApplicationGatewayBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationPtrOutput) ApplicationGatewayBackendAddressPools() ApplicationGatewayBackendAddressPoolArrayOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) []ApplicationGatewayBackendAddressPool {
+ if v == nil {
+ return nil
+ }
+ return v.ApplicationGatewayBackendAddressPools
+ }).(ApplicationGatewayBackendAddressPoolArrayOutput)
}
-// InternetIngressPublicIpsPropertiesInput is an input type that accepts InternetIngressPublicIpsPropertiesArgs and InternetIngressPublicIpsPropertiesOutput values.
-// You can construct a concrete instance of `InternetIngressPublicIpsPropertiesInput` via:
-//
-// InternetIngressPublicIpsPropertiesArgs{...}
-type InternetIngressPublicIpsPropertiesInput interface {
- pulumi.Input
-
- ToInternetIngressPublicIpsPropertiesOutput() InternetIngressPublicIpsPropertiesOutput
- ToInternetIngressPublicIpsPropertiesOutputWithContext(context.Context) InternetIngressPublicIpsPropertiesOutput
+// Application security groups in which the IP configuration is included.
+func (o NetworkInterfaceIPConfigurationPtrOutput) ApplicationSecurityGroups() ApplicationSecurityGroupTypeArrayOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) []ApplicationSecurityGroupType {
+ if v == nil {
+ return nil
+ }
+ return v.ApplicationSecurityGroups
+ }).(ApplicationSecurityGroupTypeArrayOutput)
}
-// Resource Uri of Public Ip for Standard Load Balancer Frontend End.
-type InternetIngressPublicIpsPropertiesArgs struct {
- // Resource Uri of Public Ip
- Id pulumi.StringPtrInput `pulumi:"id"`
+// The reference to gateway load balancer frontend IP.
+func (o NetworkInterfaceIPConfigurationPtrOutput) GatewayLoadBalancer() SubResourcePtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *SubResource {
+ if v == nil {
+ return nil
+ }
+ return v.GatewayLoadBalancer
+ }).(SubResourcePtrOutput)
}
-func (InternetIngressPublicIpsPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*InternetIngressPublicIpsProperties)(nil)).Elem()
+// Resource ID.
+func (o NetworkInterfaceIPConfigurationPtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (i InternetIngressPublicIpsPropertiesArgs) ToInternetIngressPublicIpsPropertiesOutput() InternetIngressPublicIpsPropertiesOutput {
- return i.ToInternetIngressPublicIpsPropertiesOutputWithContext(context.Background())
+// The reference to LoadBalancerBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationPtrOutput) LoadBalancerBackendAddressPools() BackendAddressPoolArrayOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) []BackendAddressPool {
+ if v == nil {
+ return nil
+ }
+ return v.LoadBalancerBackendAddressPools
+ }).(BackendAddressPoolArrayOutput)
}
-func (i InternetIngressPublicIpsPropertiesArgs) ToInternetIngressPublicIpsPropertiesOutputWithContext(ctx context.Context) InternetIngressPublicIpsPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(InternetIngressPublicIpsPropertiesOutput)
+// A list of references of LoadBalancerInboundNatRules.
+func (o NetworkInterfaceIPConfigurationPtrOutput) LoadBalancerInboundNatRules() InboundNatRuleTypeArrayOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) []InboundNatRuleType {
+ if v == nil {
+ return nil
+ }
+ return v.LoadBalancerInboundNatRules
+ }).(InboundNatRuleTypeArrayOutput)
}
-// InternetIngressPublicIpsPropertiesArrayInput is an input type that accepts InternetIngressPublicIpsPropertiesArray and InternetIngressPublicIpsPropertiesArrayOutput values.
-// You can construct a concrete instance of `InternetIngressPublicIpsPropertiesArrayInput` via:
-//
-// InternetIngressPublicIpsPropertiesArray{ InternetIngressPublicIpsPropertiesArgs{...} }
-type InternetIngressPublicIpsPropertiesArrayInput interface {
- pulumi.Input
-
- ToInternetIngressPublicIpsPropertiesArrayOutput() InternetIngressPublicIpsPropertiesArrayOutput
- ToInternetIngressPublicIpsPropertiesArrayOutputWithContext(context.Context) InternetIngressPublicIpsPropertiesArrayOutput
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o NetworkInterfaceIPConfigurationPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-type InternetIngressPublicIpsPropertiesArray []InternetIngressPublicIpsPropertiesInput
+// Whether this is a primary customer address on the network interface.
+func (o NetworkInterfaceIPConfigurationPtrOutput) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.Primary
+ }).(pulumi.BoolPtrOutput)
+}
-func (InternetIngressPublicIpsPropertiesArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]InternetIngressPublicIpsProperties)(nil)).Elem()
+// Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
+func (o NetworkInterfaceIPConfigurationPtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAddress
+ }).(pulumi.StringPtrOutput)
}
-func (i InternetIngressPublicIpsPropertiesArray) ToInternetIngressPublicIpsPropertiesArrayOutput() InternetIngressPublicIpsPropertiesArrayOutput {
- return i.ToInternetIngressPublicIpsPropertiesArrayOutputWithContext(context.Background())
+// The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
+func (o NetworkInterfaceIPConfigurationPtrOutput) PrivateIPAddressPrefixLength() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *int {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAddressPrefixLength
+ }).(pulumi.IntPtrOutput)
}
-func (i InternetIngressPublicIpsPropertiesArray) ToInternetIngressPublicIpsPropertiesArrayOutputWithContext(ctx context.Context) InternetIngressPublicIpsPropertiesArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(InternetIngressPublicIpsPropertiesArrayOutput)
+// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+func (o NetworkInterfaceIPConfigurationPtrOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAddressVersion
+ }).(pulumi.StringPtrOutput)
}
-// Resource Uri of Public Ip for Standard Load Balancer Frontend End.
-type InternetIngressPublicIpsPropertiesOutput struct{ *pulumi.OutputState }
+// The private IP address allocation method.
+func (o NetworkInterfaceIPConfigurationPtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
+}
-func (InternetIngressPublicIpsPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*InternetIngressPublicIpsProperties)(nil)).Elem()
+// Public IP address bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationPtrOutput) PublicIPAddress() PublicIPAddressTypePtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *PublicIPAddressType {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAddress
+ }).(PublicIPAddressTypePtrOutput)
}
-func (o InternetIngressPublicIpsPropertiesOutput) ToInternetIngressPublicIpsPropertiesOutput() InternetIngressPublicIpsPropertiesOutput {
- return o
+// Subnet bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationPtrOutput) Subnet() SubnetTypePtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *SubnetType {
+ if v == nil {
+ return nil
+ }
+ return v.Subnet
+ }).(SubnetTypePtrOutput)
}
-func (o InternetIngressPublicIpsPropertiesOutput) ToInternetIngressPublicIpsPropertiesOutputWithContext(ctx context.Context) InternetIngressPublicIpsPropertiesOutput {
- return o
+// Resource type.
+func (o NetworkInterfaceIPConfigurationPtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Type
+ }).(pulumi.StringPtrOutput)
}
-// Resource Uri of Public Ip
-func (o InternetIngressPublicIpsPropertiesOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InternetIngressPublicIpsProperties) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The reference to Virtual Network Taps.
+func (o NetworkInterfaceIPConfigurationPtrOutput) VirtualNetworkTaps() VirtualNetworkTapTypeArrayOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) []VirtualNetworkTapType {
+ if v == nil {
+ return nil
+ }
+ return v.VirtualNetworkTaps
+ }).(VirtualNetworkTapTypeArrayOutput)
}
-type InternetIngressPublicIpsPropertiesArrayOutput struct{ *pulumi.OutputState }
+type NetworkInterfaceIPConfigurationArrayOutput struct{ *pulumi.OutputState }
-func (InternetIngressPublicIpsPropertiesArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]InternetIngressPublicIpsProperties)(nil)).Elem()
+func (NetworkInterfaceIPConfigurationArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceIPConfiguration)(nil)).Elem()
}
-func (o InternetIngressPublicIpsPropertiesArrayOutput) ToInternetIngressPublicIpsPropertiesArrayOutput() InternetIngressPublicIpsPropertiesArrayOutput {
+func (o NetworkInterfaceIPConfigurationArrayOutput) ToNetworkInterfaceIPConfigurationArrayOutput() NetworkInterfaceIPConfigurationArrayOutput {
return o
}
-func (o InternetIngressPublicIpsPropertiesArrayOutput) ToInternetIngressPublicIpsPropertiesArrayOutputWithContext(ctx context.Context) InternetIngressPublicIpsPropertiesArrayOutput {
+func (o NetworkInterfaceIPConfigurationArrayOutput) ToNetworkInterfaceIPConfigurationArrayOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationArrayOutput {
return o
}
-func (o InternetIngressPublicIpsPropertiesArrayOutput) Index(i pulumi.IntInput) InternetIngressPublicIpsPropertiesOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) InternetIngressPublicIpsProperties {
- return vs[0].([]InternetIngressPublicIpsProperties)[vs[1].(int)]
- }).(InternetIngressPublicIpsPropertiesOutput)
+func (o NetworkInterfaceIPConfigurationArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceIPConfigurationOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceIPConfiguration {
+ return vs[0].([]NetworkInterfaceIPConfiguration)[vs[1].(int)]
+ }).(NetworkInterfaceIPConfigurationOutput)
}
-// Resource Uri of Public Ip for Standard Load Balancer Frontend End.
-type InternetIngressPublicIpsPropertiesResponse struct {
- // Resource Uri of Public Ip
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfigurationInterfaceEndpointResponse struct {
+ // The reference of ApplicationGatewayBackendAddressPool resource.
+ ApplicationGatewayBackendAddressPools []ApplicationGatewayBackendAddressPoolResponse `pulumi:"applicationGatewayBackendAddressPools"`
+ // Application security groups in which the IP configuration is included.
+ ApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"applicationSecurityGroups"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
Id *string `pulumi:"id"`
+ // The reference of LoadBalancerBackendAddressPool resource.
+ LoadBalancerBackendAddressPools []BackendAddressPoolInterfaceEndpointResponse `pulumi:"loadBalancerBackendAddressPools"`
+ // A list of references of LoadBalancerInboundNatRules.
+ LoadBalancerInboundNatRules []InboundNatRuleInterfaceEndpointResponse `pulumi:"loadBalancerInboundNatRules"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Gets whether this is a primary customer address on the network interface.
+ Primary *bool `pulumi:"primary"`
+ // Private IP address of the IP configuration.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+ PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // The provisioning state of the network interface IP configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState *string `pulumi:"provisioningState"`
+ // Public IP address bound to the IP configuration.
+ PublicIPAddress *PublicIPAddressInterfaceEndpointResponse `pulumi:"publicIPAddress"`
+ // Subnet bound to the IP configuration.
+ Subnet *SubnetInterfaceEndpointResponse `pulumi:"subnet"`
+ // The reference to Virtual Network Taps.
+ VirtualNetworkTaps []VirtualNetworkTapInterfaceEndpointResponse `pulumi:"virtualNetworkTaps"`
}
-// Resource Uri of Public Ip for Standard Load Balancer Frontend End.
-type InternetIngressPublicIpsPropertiesResponseOutput struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for NetworkInterfaceIPConfigurationInterfaceEndpointResponse
+func (val *NetworkInterfaceIPConfigurationInterfaceEndpointResponse) Defaults() *NetworkInterfaceIPConfigurationInterfaceEndpointResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
-func (InternetIngressPublicIpsPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*InternetIngressPublicIpsPropertiesResponse)(nil)).Elem()
+ return &tmp
}
-func (o InternetIngressPublicIpsPropertiesResponseOutput) ToInternetIngressPublicIpsPropertiesResponseOutput() InternetIngressPublicIpsPropertiesResponseOutput {
- return o
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceIPConfigurationInterfaceEndpointResponse)(nil)).Elem()
}
-func (o InternetIngressPublicIpsPropertiesResponseOutput) ToInternetIngressPublicIpsPropertiesResponseOutputWithContext(ctx context.Context) InternetIngressPublicIpsPropertiesResponseOutput {
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) ToNetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput() NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput {
return o
}
-// Resource Uri of Public Ip
-func (o InternetIngressPublicIpsPropertiesResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v InternetIngressPublicIpsPropertiesResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) ToNetworkInterfaceIPConfigurationInterfaceEndpointResponseOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput {
+ return o
}
-type InternetIngressPublicIpsPropertiesResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (InternetIngressPublicIpsPropertiesResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]InternetIngressPublicIpsPropertiesResponse)(nil)).Elem()
+// The reference of ApplicationGatewayBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) ApplicationGatewayBackendAddressPools() ApplicationGatewayBackendAddressPoolResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationInterfaceEndpointResponse) []ApplicationGatewayBackendAddressPoolResponse {
+ return v.ApplicationGatewayBackendAddressPools
+ }).(ApplicationGatewayBackendAddressPoolResponseArrayOutput)
}
-func (o InternetIngressPublicIpsPropertiesResponseArrayOutput) ToInternetIngressPublicIpsPropertiesResponseArrayOutput() InternetIngressPublicIpsPropertiesResponseArrayOutput {
- return o
+// Application security groups in which the IP configuration is included.
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) ApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationInterfaceEndpointResponse) []ApplicationSecurityGroupResponse {
+ return v.ApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
}
-func (o InternetIngressPublicIpsPropertiesResponseArrayOutput) ToInternetIngressPublicIpsPropertiesResponseArrayOutputWithContext(ctx context.Context) InternetIngressPublicIpsPropertiesResponseArrayOutput {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-func (o InternetIngressPublicIpsPropertiesResponseArrayOutput) Index(i pulumi.IntInput) InternetIngressPublicIpsPropertiesResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) InternetIngressPublicIpsPropertiesResponse {
- return vs[0].([]InternetIngressPublicIpsPropertiesResponse)[vs[1].(int)]
- }).(InternetIngressPublicIpsPropertiesResponseOutput)
+// Resource ID.
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Contains the IpTag associated with the object.
-type IpTag struct {
- // The IP tag type. Example: FirstPartyUsage.
- IpTagType *string `pulumi:"ipTagType"`
- // The value of the IP tag associated with the public IP. Example: SQL.
- Tag *string `pulumi:"tag"`
+// The reference of LoadBalancerBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) LoadBalancerBackendAddressPools() BackendAddressPoolInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationInterfaceEndpointResponse) []BackendAddressPoolInterfaceEndpointResponse {
+ return v.LoadBalancerBackendAddressPools
+ }).(BackendAddressPoolInterfaceEndpointResponseArrayOutput)
}
-// IpTagInput is an input type that accepts IpTagArgs and IpTagOutput values.
-// You can construct a concrete instance of `IpTagInput` via:
-//
-// IpTagArgs{...}
-type IpTagInput interface {
- pulumi.Input
-
- ToIpTagOutput() IpTagOutput
- ToIpTagOutputWithContext(context.Context) IpTagOutput
+// A list of references of LoadBalancerInboundNatRules.
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) LoadBalancerInboundNatRules() InboundNatRuleInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationInterfaceEndpointResponse) []InboundNatRuleInterfaceEndpointResponse {
+ return v.LoadBalancerInboundNatRules
+ }).(InboundNatRuleInterfaceEndpointResponseArrayOutput)
}
-// Contains the IpTag associated with the object.
-type IpTagArgs struct {
- // The IP tag type. Example: FirstPartyUsage.
- IpTagType pulumi.StringPtrInput `pulumi:"ipTagType"`
- // The value of the IP tag associated with the public IP. Example: SQL.
- Tag pulumi.StringPtrInput `pulumi:"tag"`
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationInterfaceEndpointResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (IpTagArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*IpTag)(nil)).Elem()
+// Gets whether this is a primary customer address on the network interface.
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationInterfaceEndpointResponse) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
}
-func (i IpTagArgs) ToIpTagOutput() IpTagOutput {
- return i.ToIpTagOutputWithContext(context.Background())
+// Private IP address of the IP configuration.
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationInterfaceEndpointResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-func (i IpTagArgs) ToIpTagOutputWithContext(ctx context.Context) IpTagOutput {
- return pulumi.ToOutputWithContext(ctx, i).(IpTagOutput)
+// Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationInterfaceEndpointResponse) *string {
+ return v.PrivateIPAddressVersion
+ }).(pulumi.StringPtrOutput)
}
-// IpTagArrayInput is an input type that accepts IpTagArray and IpTagArrayOutput values.
-// You can construct a concrete instance of `IpTagArrayInput` via:
-//
-// IpTagArray{ IpTagArgs{...} }
-type IpTagArrayInput interface {
- pulumi.Input
-
- ToIpTagArrayOutput() IpTagArrayOutput
- ToIpTagArrayOutputWithContext(context.Context) IpTagArrayOutput
+// The private IP address allocation method.
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationInterfaceEndpointResponse) *string {
+ return v.PrivateIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
}
-type IpTagArray []IpTagInput
+// The provisioning state of the network interface IP configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationInterfaceEndpointResponse) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+}
-func (IpTagArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IpTag)(nil)).Elem()
+// Public IP address bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) PublicIPAddress() PublicIPAddressInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationInterfaceEndpointResponse) *PublicIPAddressInterfaceEndpointResponse {
+ return v.PublicIPAddress
+ }).(PublicIPAddressInterfaceEndpointResponsePtrOutput)
}
-func (i IpTagArray) ToIpTagArrayOutput() IpTagArrayOutput {
- return i.ToIpTagArrayOutputWithContext(context.Background())
+// Subnet bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) Subnet() SubnetInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationInterfaceEndpointResponse) *SubnetInterfaceEndpointResponse {
+ return v.Subnet
+ }).(SubnetInterfaceEndpointResponsePtrOutput)
}
-func (i IpTagArray) ToIpTagArrayOutputWithContext(ctx context.Context) IpTagArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(IpTagArrayOutput)
+// The reference to Virtual Network Taps.
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput) VirtualNetworkTaps() VirtualNetworkTapInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationInterfaceEndpointResponse) []VirtualNetworkTapInterfaceEndpointResponse {
+ return v.VirtualNetworkTaps
+ }).(VirtualNetworkTapInterfaceEndpointResponseArrayOutput)
}
-// Contains the IpTag associated with the object.
-type IpTagOutput struct{ *pulumi.OutputState }
+type NetworkInterfaceIPConfigurationInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
-func (IpTagOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IpTag)(nil)).Elem()
+func (NetworkInterfaceIPConfigurationInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceIPConfigurationInterfaceEndpointResponse)(nil)).Elem()
}
-func (o IpTagOutput) ToIpTagOutput() IpTagOutput {
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseArrayOutput) ToNetworkInterfaceIPConfigurationInterfaceEndpointResponseArrayOutput() NetworkInterfaceIPConfigurationInterfaceEndpointResponseArrayOutput {
return o
}
-func (o IpTagOutput) ToIpTagOutputWithContext(ctx context.Context) IpTagOutput {
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseArrayOutput) ToNetworkInterfaceIPConfigurationInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationInterfaceEndpointResponseArrayOutput {
return o
}
-// The IP tag type. Example: FirstPartyUsage.
-func (o IpTagOutput) IpTagType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IpTag) *string { return v.IpTagType }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceIPConfigurationInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceIPConfigurationInterfaceEndpointResponse {
+ return vs[0].([]NetworkInterfaceIPConfigurationInterfaceEndpointResponse)[vs[1].(int)]
+ }).(NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput)
}
-// The value of the IP tag associated with the public IP. Example: SQL.
-func (o IpTagOutput) Tag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IpTag) *string { return v.Tag }).(pulumi.StringPtrOutput)
+// PrivateLinkConnection properties for the network interface.
+type NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse struct {
+ // List of FQDNs for current private link connection.
+ Fqdns []string `pulumi:"fqdns"`
+ // The group ID for current private link connection.
+ GroupId string `pulumi:"groupId"`
+ // The required member name for current private link connection.
+ RequiredMemberName string `pulumi:"requiredMemberName"`
}
-type IpTagArrayOutput struct{ *pulumi.OutputState }
+// PrivateLinkConnection properties for the network interface.
+type NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput struct{ *pulumi.OutputState }
-func (IpTagArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IpTag)(nil)).Elem()
+func (NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse)(nil)).Elem()
}
-func (o IpTagArrayOutput) ToIpTagArrayOutput() IpTagArrayOutput {
+func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) ToNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput() NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput {
return o
}
-func (o IpTagArrayOutput) ToIpTagArrayOutputWithContext(ctx context.Context) IpTagArrayOutput {
+func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) ToNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput {
return o
}
-func (o IpTagArrayOutput) Index(i pulumi.IntInput) IpTagOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpTag {
- return vs[0].([]IpTag)[vs[1].(int)]
- }).(IpTagOutput)
+// List of FQDNs for current private link connection.
+func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) Fqdns() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) []string {
+ return v.Fqdns
+ }).(pulumi.StringArrayOutput)
}
-// Contains the IpTag associated with the object.
-type IpTagResponse struct {
- // The IP tag type. Example: FirstPartyUsage.
- IpTagType *string `pulumi:"ipTagType"`
- // The value of the IP tag associated with the public IP. Example: SQL.
- Tag *string `pulumi:"tag"`
+// The group ID for current private link connection.
+func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) GroupId() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) string {
+ return v.GroupId
+ }).(pulumi.StringOutput)
}
-// Contains the IpTag associated with the object.
-type IpTagResponseOutput struct{ *pulumi.OutputState }
-
-func (IpTagResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IpTagResponse)(nil)).Elem()
+// The required member name for current private link connection.
+func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) RequiredMemberName() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) string {
+ return v.RequiredMemberName
+ }).(pulumi.StringOutput)
}
-func (o IpTagResponseOutput) ToIpTagResponseOutput() IpTagResponseOutput {
- return o
-}
+type NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
-func (o IpTagResponseOutput) ToIpTagResponseOutputWithContext(ctx context.Context) IpTagResponseOutput {
- return o
+func (NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse)(nil)).Elem()
}
-// The IP tag type. Example: FirstPartyUsage.
-func (o IpTagResponseOutput) IpTagType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IpTagResponse) *string { return v.IpTagType }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) ToNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput() NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput {
+ return o
}
-// The value of the IP tag associated with the public IP. Example: SQL.
-func (o IpTagResponseOutput) Tag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IpTagResponse) *string { return v.Tag }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) ToNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput {
+ return o
}
-type IpTagResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (IpTagResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IpTagResponse)(nil)).Elem()
+func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) Elem() NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse {
+ if v != nil {
+ return *v
+ }
+ var ret NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse
+ return ret
+ }).(NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput)
}
-func (o IpTagResponseArrayOutput) ToIpTagResponseArrayOutput() IpTagResponseArrayOutput {
- return o
+// List of FQDNs for current private link connection.
+func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) Fqdns() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Fqdns
+ }).(pulumi.StringArrayOutput)
}
-func (o IpTagResponseArrayOutput) ToIpTagResponseArrayOutputWithContext(ctx context.Context) IpTagResponseArrayOutput {
- return o
+// The group ID for current private link connection.
+func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) GroupId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.GroupId
+ }).(pulumi.StringPtrOutput)
}
-func (o IpTagResponseArrayOutput) Index(i pulumi.IntInput) IpTagResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpTagResponse {
- return vs[0].([]IpTagResponse)[vs[1].(int)]
- }).(IpTagResponseOutput)
+// The required member name for current private link connection.
+func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) RequiredMemberName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.RequiredMemberName
+ }).(pulumi.StringPtrOutput)
}
-// IpamPool prefix allocation reference.
-type IpamPoolPrefixAllocation struct {
- // Resource id of the associated Azure IpamPool resource.
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfigurationResponse struct {
+ // The reference to ApplicationGatewayBackendAddressPool resource.
+ ApplicationGatewayBackendAddressPools []ApplicationGatewayBackendAddressPoolResponse `pulumi:"applicationGatewayBackendAddressPools"`
+ // Application security groups in which the IP configuration is included.
+ ApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"applicationSecurityGroups"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The reference to gateway load balancer frontend IP.
+ GatewayLoadBalancer *SubResourceResponse `pulumi:"gatewayLoadBalancer"`
+ // Resource ID.
Id *string `pulumi:"id"`
- // Number of IP addresses to allocate.
- NumberOfIpAddresses *string `pulumi:"numberOfIpAddresses"`
+ // The reference to LoadBalancerBackendAddressPool resource.
+ LoadBalancerBackendAddressPools []BackendAddressPoolResponse `pulumi:"loadBalancerBackendAddressPools"`
+ // A list of references of LoadBalancerInboundNatRules.
+ LoadBalancerInboundNatRules []InboundNatRuleResponse `pulumi:"loadBalancerInboundNatRules"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Whether this is a primary customer address on the network interface.
+ Primary *bool `pulumi:"primary"`
+ // Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
+ PrivateIPAddressPrefixLength *int `pulumi:"privateIPAddressPrefixLength"`
+ // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+ PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // PrivateLinkConnection properties for the network interface.
+ PrivateLinkConnectionProperties NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse `pulumi:"privateLinkConnectionProperties"`
+ // The provisioning state of the network interface IP configuration.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Public IP address bound to the IP configuration.
+ PublicIPAddress *PublicIPAddressResponse `pulumi:"publicIPAddress"`
+ // Subnet bound to the IP configuration.
+ Subnet *SubnetResponse `pulumi:"subnet"`
+ // Resource type.
+ Type *string `pulumi:"type"`
+ // The reference to Virtual Network Taps.
+ VirtualNetworkTaps []VirtualNetworkTapResponse `pulumi:"virtualNetworkTaps"`
}
-// IpamPoolPrefixAllocationInput is an input type that accepts IpamPoolPrefixAllocationArgs and IpamPoolPrefixAllocationOutput values.
-// You can construct a concrete instance of `IpamPoolPrefixAllocationInput` via:
-//
-// IpamPoolPrefixAllocationArgs{...}
-type IpamPoolPrefixAllocationInput interface {
- pulumi.Input
+// Defaults sets the appropriate defaults for NetworkInterfaceIPConfigurationResponse
+func (val *NetworkInterfaceIPConfigurationResponse) Defaults() *NetworkInterfaceIPConfigurationResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
- ToIpamPoolPrefixAllocationOutput() IpamPoolPrefixAllocationOutput
- ToIpamPoolPrefixAllocationOutputWithContext(context.Context) IpamPoolPrefixAllocationOutput
+ tmp.Subnet = tmp.Subnet.Defaults()
+
+ return &tmp
}
-// IpamPool prefix allocation reference.
-type IpamPoolPrefixAllocationArgs struct {
- // Resource id of the associated Azure IpamPool resource.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Number of IP addresses to allocate.
- NumberOfIpAddresses pulumi.StringPtrInput `pulumi:"numberOfIpAddresses"`
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfigurationResponseOutput struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceIPConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceIPConfigurationResponse)(nil)).Elem()
}
-func (IpamPoolPrefixAllocationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*IpamPoolPrefixAllocation)(nil)).Elem()
+func (o NetworkInterfaceIPConfigurationResponseOutput) ToNetworkInterfaceIPConfigurationResponseOutput() NetworkInterfaceIPConfigurationResponseOutput {
+ return o
}
-func (i IpamPoolPrefixAllocationArgs) ToIpamPoolPrefixAllocationOutput() IpamPoolPrefixAllocationOutput {
- return i.ToIpamPoolPrefixAllocationOutputWithContext(context.Background())
+func (o NetworkInterfaceIPConfigurationResponseOutput) ToNetworkInterfaceIPConfigurationResponseOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationResponseOutput {
+ return o
}
-func (i IpamPoolPrefixAllocationArgs) ToIpamPoolPrefixAllocationOutputWithContext(ctx context.Context) IpamPoolPrefixAllocationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(IpamPoolPrefixAllocationOutput)
+// The reference to ApplicationGatewayBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationResponseOutput) ApplicationGatewayBackendAddressPools() ApplicationGatewayBackendAddressPoolResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) []ApplicationGatewayBackendAddressPoolResponse {
+ return v.ApplicationGatewayBackendAddressPools
+ }).(ApplicationGatewayBackendAddressPoolResponseArrayOutput)
}
-// IpamPoolPrefixAllocationArrayInput is an input type that accepts IpamPoolPrefixAllocationArray and IpamPoolPrefixAllocationArrayOutput values.
-// You can construct a concrete instance of `IpamPoolPrefixAllocationArrayInput` via:
-//
-// IpamPoolPrefixAllocationArray{ IpamPoolPrefixAllocationArgs{...} }
-type IpamPoolPrefixAllocationArrayInput interface {
- pulumi.Input
+// Application security groups in which the IP configuration is included.
+func (o NetworkInterfaceIPConfigurationResponseOutput) ApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) []ApplicationSecurityGroupResponse {
+ return v.ApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
+}
- ToIpamPoolPrefixAllocationArrayOutput() IpamPoolPrefixAllocationArrayOutput
- ToIpamPoolPrefixAllocationArrayOutputWithContext(context.Context) IpamPoolPrefixAllocationArrayOutput
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceIPConfigurationResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-type IpamPoolPrefixAllocationArray []IpamPoolPrefixAllocationInput
+// The reference to gateway load balancer frontend IP.
+func (o NetworkInterfaceIPConfigurationResponseOutput) GatewayLoadBalancer() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *SubResourceResponse { return v.GatewayLoadBalancer }).(SubResourceResponsePtrOutput)
+}
-func (IpamPoolPrefixAllocationArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IpamPoolPrefixAllocation)(nil)).Elem()
+// Resource ID.
+func (o NetworkInterfaceIPConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (i IpamPoolPrefixAllocationArray) ToIpamPoolPrefixAllocationArrayOutput() IpamPoolPrefixAllocationArrayOutput {
- return i.ToIpamPoolPrefixAllocationArrayOutputWithContext(context.Background())
+// The reference to LoadBalancerBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationResponseOutput) LoadBalancerBackendAddressPools() BackendAddressPoolResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) []BackendAddressPoolResponse {
+ return v.LoadBalancerBackendAddressPools
+ }).(BackendAddressPoolResponseArrayOutput)
}
-func (i IpamPoolPrefixAllocationArray) ToIpamPoolPrefixAllocationArrayOutputWithContext(ctx context.Context) IpamPoolPrefixAllocationArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(IpamPoolPrefixAllocationArrayOutput)
+// A list of references of LoadBalancerInboundNatRules.
+func (o NetworkInterfaceIPConfigurationResponseOutput) LoadBalancerInboundNatRules() InboundNatRuleResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) []InboundNatRuleResponse {
+ return v.LoadBalancerInboundNatRules
+ }).(InboundNatRuleResponseArrayOutput)
}
-// IpamPool prefix allocation reference.
-type IpamPoolPrefixAllocationOutput struct{ *pulumi.OutputState }
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o NetworkInterfaceIPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
-func (IpamPoolPrefixAllocationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IpamPoolPrefixAllocation)(nil)).Elem()
+// Whether this is a primary customer address on the network interface.
+func (o NetworkInterfaceIPConfigurationResponseOutput) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
}
-func (o IpamPoolPrefixAllocationOutput) ToIpamPoolPrefixAllocationOutput() IpamPoolPrefixAllocationOutput {
- return o
+// Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
+func (o NetworkInterfaceIPConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-func (o IpamPoolPrefixAllocationOutput) ToIpamPoolPrefixAllocationOutputWithContext(ctx context.Context) IpamPoolPrefixAllocationOutput {
- return o
+// The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
+func (o NetworkInterfaceIPConfigurationResponseOutput) PrivateIPAddressPrefixLength() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *int { return v.PrivateIPAddressPrefixLength }).(pulumi.IntPtrOutput)
}
-// Resource id of the associated Azure IpamPool resource.
-func (o IpamPoolPrefixAllocationOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IpamPoolPrefixAllocation) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+func (o NetworkInterfaceIPConfigurationResponseOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
}
-// Number of IP addresses to allocate.
-func (o IpamPoolPrefixAllocationOutput) NumberOfIpAddresses() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IpamPoolPrefixAllocation) *string { return v.NumberOfIpAddresses }).(pulumi.StringPtrOutput)
+// The private IP address allocation method.
+func (o NetworkInterfaceIPConfigurationResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-type IpamPoolPrefixAllocationArrayOutput struct{ *pulumi.OutputState }
+// PrivateLinkConnection properties for the network interface.
+func (o NetworkInterfaceIPConfigurationResponseOutput) PrivateLinkConnectionProperties() NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse {
+ return v.PrivateLinkConnectionProperties
+ }).(NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput)
+}
-func (IpamPoolPrefixAllocationArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IpamPoolPrefixAllocation)(nil)).Elem()
+// The provisioning state of the network interface IP configuration.
+func (o NetworkInterfaceIPConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o IpamPoolPrefixAllocationArrayOutput) ToIpamPoolPrefixAllocationArrayOutput() IpamPoolPrefixAllocationArrayOutput {
- return o
+// Public IP address bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationResponseOutput) PublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *PublicIPAddressResponse { return v.PublicIPAddress }).(PublicIPAddressResponsePtrOutput)
}
-func (o IpamPoolPrefixAllocationArrayOutput) ToIpamPoolPrefixAllocationArrayOutputWithContext(ctx context.Context) IpamPoolPrefixAllocationArrayOutput {
- return o
+// Subnet bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationResponseOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
}
-func (o IpamPoolPrefixAllocationArrayOutput) Index(i pulumi.IntInput) IpamPoolPrefixAllocationOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpamPoolPrefixAllocation {
- return vs[0].([]IpamPoolPrefixAllocation)[vs[1].(int)]
- }).(IpamPoolPrefixAllocationOutput)
+// Resource type.
+func (o NetworkInterfaceIPConfigurationResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// IpamPool prefix allocation reference.
-type IpamPoolPrefixAllocationResponse struct {
- // List of assigned IP address prefixes in the IpamPool of the associated resource.
- AllocatedAddressPrefixes []string `pulumi:"allocatedAddressPrefixes"`
- // Resource id of the associated Azure IpamPool resource.
- Id *string `pulumi:"id"`
- // Number of IP addresses to allocate.
- NumberOfIpAddresses *string `pulumi:"numberOfIpAddresses"`
+// The reference to Virtual Network Taps.
+func (o NetworkInterfaceIPConfigurationResponseOutput) VirtualNetworkTaps() VirtualNetworkTapResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) []VirtualNetworkTapResponse {
+ return v.VirtualNetworkTaps
+ }).(VirtualNetworkTapResponseArrayOutput)
}
-// IpamPool prefix allocation reference.
-type IpamPoolPrefixAllocationResponseOutput struct{ *pulumi.OutputState }
+type NetworkInterfaceIPConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
-func (IpamPoolPrefixAllocationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IpamPoolPrefixAllocationResponse)(nil)).Elem()
+func (NetworkInterfaceIPConfigurationResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkInterfaceIPConfigurationResponse)(nil)).Elem()
}
-func (o IpamPoolPrefixAllocationResponseOutput) ToIpamPoolPrefixAllocationResponseOutput() IpamPoolPrefixAllocationResponseOutput {
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) ToNetworkInterfaceIPConfigurationResponsePtrOutput() NetworkInterfaceIPConfigurationResponsePtrOutput {
return o
}
-func (o IpamPoolPrefixAllocationResponseOutput) ToIpamPoolPrefixAllocationResponseOutputWithContext(ctx context.Context) IpamPoolPrefixAllocationResponseOutput {
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) ToNetworkInterfaceIPConfigurationResponsePtrOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationResponsePtrOutput {
return o
}
-// List of assigned IP address prefixes in the IpamPool of the associated resource.
-func (o IpamPoolPrefixAllocationResponseOutput) AllocatedAddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IpamPoolPrefixAllocationResponse) []string { return v.AllocatedAddressPrefixes }).(pulumi.StringArrayOutput)
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) Elem() NetworkInterfaceIPConfigurationResponseOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) NetworkInterfaceIPConfigurationResponse {
+ if v != nil {
+ return *v
+ }
+ var ret NetworkInterfaceIPConfigurationResponse
+ return ret
+ }).(NetworkInterfaceIPConfigurationResponseOutput)
}
-// Resource id of the associated Azure IpamPool resource.
-func (o IpamPoolPrefixAllocationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IpamPoolPrefixAllocationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The reference to ApplicationGatewayBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) ApplicationGatewayBackendAddressPools() ApplicationGatewayBackendAddressPoolResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) []ApplicationGatewayBackendAddressPoolResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ApplicationGatewayBackendAddressPools
+ }).(ApplicationGatewayBackendAddressPoolResponseArrayOutput)
}
-// Number of IP addresses to allocate.
-func (o IpamPoolPrefixAllocationResponseOutput) NumberOfIpAddresses() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IpamPoolPrefixAllocationResponse) *string { return v.NumberOfIpAddresses }).(pulumi.StringPtrOutput)
+// Application security groups in which the IP configuration is included.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) ApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) []ApplicationSecurityGroupResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
}
-type IpamPoolPrefixAllocationResponseArrayOutput struct{ *pulumi.OutputState }
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
+}
-func (IpamPoolPrefixAllocationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IpamPoolPrefixAllocationResponse)(nil)).Elem()
+// The reference to gateway load balancer frontend IP.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) GatewayLoadBalancer() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.GatewayLoadBalancer
+ }).(SubResourceResponsePtrOutput)
}
-func (o IpamPoolPrefixAllocationResponseArrayOutput) ToIpamPoolPrefixAllocationResponseArrayOutput() IpamPoolPrefixAllocationResponseArrayOutput {
- return o
+// Resource ID.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (o IpamPoolPrefixAllocationResponseArrayOutput) ToIpamPoolPrefixAllocationResponseArrayOutputWithContext(ctx context.Context) IpamPoolPrefixAllocationResponseArrayOutput {
- return o
+// The reference to LoadBalancerBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) LoadBalancerBackendAddressPools() BackendAddressPoolResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) []BackendAddressPoolResponse {
+ if v == nil {
+ return nil
+ }
+ return v.LoadBalancerBackendAddressPools
+ }).(BackendAddressPoolResponseArrayOutput)
}
-func (o IpamPoolPrefixAllocationResponseArrayOutput) Index(i pulumi.IntInput) IpamPoolPrefixAllocationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpamPoolPrefixAllocationResponse {
- return vs[0].([]IpamPoolPrefixAllocationResponse)[vs[1].(int)]
- }).(IpamPoolPrefixAllocationResponseOutput)
+// A list of references of LoadBalancerInboundNatRules.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) LoadBalancerInboundNatRules() InboundNatRuleResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) []InboundNatRuleResponse {
+ if v == nil {
+ return nil
+ }
+ return v.LoadBalancerInboundNatRules
+ }).(InboundNatRuleResponseArrayOutput)
}
-// Properties of IpamPool resource properties which are specific to the Pool resource.
-type IpamPoolProperties struct {
- // List of IP address prefixes of the resource.
- AddressPrefixes []string `pulumi:"addressPrefixes"`
- Description *string `pulumi:"description"`
- // String representing a friendly name for the resource.
- DisplayName *string `pulumi:"displayName"`
- // String representing parent IpamPool resource name. If empty the IpamPool will be a root pool.
- ParentPoolName *string `pulumi:"parentPoolName"`
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// IpamPoolPropertiesInput is an input type that accepts IpamPoolPropertiesArgs and IpamPoolPropertiesOutput values.
-// You can construct a concrete instance of `IpamPoolPropertiesInput` via:
-//
-// IpamPoolPropertiesArgs{...}
-type IpamPoolPropertiesInput interface {
- pulumi.Input
+// Whether this is a primary customer address on the network interface.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.Primary
+ }).(pulumi.BoolPtrOutput)
+}
- ToIpamPoolPropertiesOutput() IpamPoolPropertiesOutput
- ToIpamPoolPropertiesOutputWithContext(context.Context) IpamPoolPropertiesOutput
+// Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAddress
+ }).(pulumi.StringPtrOutput)
}
-// Properties of IpamPool resource properties which are specific to the Pool resource.
-type IpamPoolPropertiesArgs struct {
- // List of IP address prefixes of the resource.
- AddressPrefixes pulumi.StringArrayInput `pulumi:"addressPrefixes"`
- Description pulumi.StringPtrInput `pulumi:"description"`
- // String representing a friendly name for the resource.
- DisplayName pulumi.StringPtrInput `pulumi:"displayName"`
- // String representing parent IpamPool resource name. If empty the IpamPool will be a root pool.
- ParentPoolName pulumi.StringPtrInput `pulumi:"parentPoolName"`
+// The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) PrivateIPAddressPrefixLength() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAddressPrefixLength
+ }).(pulumi.IntPtrOutput)
}
-func (IpamPoolPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*IpamPoolProperties)(nil)).Elem()
+// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAddressVersion
+ }).(pulumi.StringPtrOutput)
}
-func (i IpamPoolPropertiesArgs) ToIpamPoolPropertiesOutput() IpamPoolPropertiesOutput {
- return i.ToIpamPoolPropertiesOutputWithContext(context.Background())
+// The private IP address allocation method.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
}
-func (i IpamPoolPropertiesArgs) ToIpamPoolPropertiesOutputWithContext(ctx context.Context) IpamPoolPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(IpamPoolPropertiesOutput)
+// PrivateLinkConnection properties for the network interface.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) PrivateLinkConnectionProperties() NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse {
+ if v == nil {
+ return nil
+ }
+ return &v.PrivateLinkConnectionProperties
+ }).(NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput)
}
-// Properties of IpamPool resource properties which are specific to the Pool resource.
-type IpamPoolPropertiesOutput struct{ *pulumi.OutputState }
+// The provisioning state of the network interface IP configuration.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
+}
-func (IpamPoolPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IpamPoolProperties)(nil)).Elem()
+// Public IP address bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) PublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *PublicIPAddressResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAddress
+ }).(PublicIPAddressResponsePtrOutput)
}
-func (o IpamPoolPropertiesOutput) ToIpamPoolPropertiesOutput() IpamPoolPropertiesOutput {
- return o
+// Subnet bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *SubnetResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnet
+ }).(SubnetResponsePtrOutput)
}
-func (o IpamPoolPropertiesOutput) ToIpamPoolPropertiesOutputWithContext(ctx context.Context) IpamPoolPropertiesOutput {
- return o
+// Resource type.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Type
+ }).(pulumi.StringPtrOutput)
}
-// List of IP address prefixes of the resource.
-func (o IpamPoolPropertiesOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IpamPoolProperties) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+// The reference to Virtual Network Taps.
+func (o NetworkInterfaceIPConfigurationResponsePtrOutput) VirtualNetworkTaps() VirtualNetworkTapResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) []VirtualNetworkTapResponse {
+ if v == nil {
+ return nil
+ }
+ return v.VirtualNetworkTaps
+ }).(VirtualNetworkTapResponseArrayOutput)
}
-func (o IpamPoolPropertiesOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IpamPoolProperties) *string { return v.Description }).(pulumi.StringPtrOutput)
+type NetworkInterfaceIPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceIPConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceIPConfigurationResponse)(nil)).Elem()
}
-// String representing a friendly name for the resource.
-func (o IpamPoolPropertiesOutput) DisplayName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IpamPoolProperties) *string { return v.DisplayName }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceIPConfigurationResponseArrayOutput) ToNetworkInterfaceIPConfigurationResponseArrayOutput() NetworkInterfaceIPConfigurationResponseArrayOutput {
+ return o
}
-// String representing parent IpamPool resource name. If empty the IpamPool will be a root pool.
-func (o IpamPoolPropertiesOutput) ParentPoolName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IpamPoolProperties) *string { return v.ParentPoolName }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceIPConfigurationResponseArrayOutput) ToNetworkInterfaceIPConfigurationResponseArrayOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationResponseArrayOutput {
+ return o
}
-// Properties of IpamPool resource properties which are specific to the Pool resource.
-type IpamPoolPropertiesResponse struct {
- // List of IP address prefixes of the resource.
- AddressPrefixes []string `pulumi:"addressPrefixes"`
- Description *string `pulumi:"description"`
- // String representing a friendly name for the resource.
- DisplayName *string `pulumi:"displayName"`
- // List of IP address type for the IpamPool.
- IpAddressType []string `pulumi:"ipAddressType"`
- // String representing parent IpamPool resource name. If empty the IpamPool will be a root pool.
- ParentPoolName *string `pulumi:"parentPoolName"`
- // Provisioning states of a resource.
- ProvisioningState string `pulumi:"provisioningState"`
+func (o NetworkInterfaceIPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceIPConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceIPConfigurationResponse {
+ return vs[0].([]NetworkInterfaceIPConfigurationResponse)[vs[1].(int)]
+ }).(NetworkInterfaceIPConfigurationResponseOutput)
}
-// Properties of IpamPool resource properties which are specific to the Pool resource.
-type IpamPoolPropertiesResponseOutput struct{ *pulumi.OutputState }
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfigurationResponseV1 struct {
+ // The reference of ApplicationGatewayBackendAddressPool resource.
+ ApplicationGatewayBackendAddressPools []ApplicationGatewayBackendAddressPoolInterfaceEndpointResponse `pulumi:"applicationGatewayBackendAddressPools"`
+ // Application security groups in which the IP configuration is included.
+ ApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"applicationSecurityGroups"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The reference of LoadBalancerBackendAddressPool resource.
+ LoadBalancerBackendAddressPools []BackendAddressPoolInterfaceEndpointResponse `pulumi:"loadBalancerBackendAddressPools"`
+ // A list of references of LoadBalancerInboundNatRules.
+ LoadBalancerInboundNatRules []InboundNatRuleInterfaceEndpointResponse `pulumi:"loadBalancerInboundNatRules"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Gets whether this is a primary customer address on the network interface.
+ Primary *bool `pulumi:"primary"`
+ // Private IP address of the IP configuration.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+ PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // The provisioning state of the network interface IP configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState *string `pulumi:"provisioningState"`
+ // Public IP address bound to the IP configuration.
+ PublicIPAddress *PublicIPAddressInterfaceEndpointResponse `pulumi:"publicIPAddress"`
+ // Subnet bound to the IP configuration.
+ Subnet *SubnetInterfaceEndpointResponse `pulumi:"subnet"`
+ // The reference to Virtual Network Taps.
+ VirtualNetworkTaps []VirtualNetworkTapInterfaceEndpointResponse `pulumi:"virtualNetworkTaps"`
+}
-func (IpamPoolPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IpamPoolPropertiesResponse)(nil)).Elem()
+// Defaults sets the appropriate defaults for NetworkInterfaceIPConfigurationResponseV1
+func (val *NetworkInterfaceIPConfigurationResponseV1) Defaults() *NetworkInterfaceIPConfigurationResponseV1 {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
+
+ return &tmp
}
-func (o IpamPoolPropertiesResponseOutput) ToIpamPoolPropertiesResponseOutput() IpamPoolPropertiesResponseOutput {
- return o
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfigurationResponseV1Output struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceIPConfigurationResponseV1Output) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceIPConfigurationResponseV1)(nil)).Elem()
}
-func (o IpamPoolPropertiesResponseOutput) ToIpamPoolPropertiesResponseOutputWithContext(ctx context.Context) IpamPoolPropertiesResponseOutput {
+func (o NetworkInterfaceIPConfigurationResponseV1Output) ToNetworkInterfaceIPConfigurationResponseV1Output() NetworkInterfaceIPConfigurationResponseV1Output {
return o
}
-// List of IP address prefixes of the resource.
-func (o IpamPoolPropertiesResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IpamPoolPropertiesResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+func (o NetworkInterfaceIPConfigurationResponseV1Output) ToNetworkInterfaceIPConfigurationResponseV1OutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationResponseV1Output {
+ return o
}
-func (o IpamPoolPropertiesResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IpamPoolPropertiesResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+// The reference of ApplicationGatewayBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationResponseV1Output) ApplicationGatewayBackendAddressPools() ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) []ApplicationGatewayBackendAddressPoolInterfaceEndpointResponse {
+ return v.ApplicationGatewayBackendAddressPools
+ }).(ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseArrayOutput)
}
-// String representing a friendly name for the resource.
-func (o IpamPoolPropertiesResponseOutput) DisplayName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IpamPoolPropertiesResponse) *string { return v.DisplayName }).(pulumi.StringPtrOutput)
+// Application security groups in which the IP configuration is included.
+func (o NetworkInterfaceIPConfigurationResponseV1Output) ApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) []ApplicationSecurityGroupResponse {
+ return v.ApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
}
-// List of IP address type for the IpamPool.
-func (o IpamPoolPropertiesResponseOutput) IpAddressType() pulumi.StringArrayOutput {
- return o.ApplyT(func(v IpamPoolPropertiesResponse) []string { return v.IpAddressType }).(pulumi.StringArrayOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceIPConfigurationResponseV1Output) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// String representing parent IpamPool resource name. If empty the IpamPool will be a root pool.
-func (o IpamPoolPropertiesResponseOutput) ParentPoolName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v IpamPoolPropertiesResponse) *string { return v.ParentPoolName }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o NetworkInterfaceIPConfigurationResponseV1Output) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Provisioning states of a resource.
-func (o IpamPoolPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v IpamPoolPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The reference of LoadBalancerBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationResponseV1Output) LoadBalancerBackendAddressPools() BackendAddressPoolInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) []BackendAddressPoolInterfaceEndpointResponse {
+ return v.LoadBalancerBackendAddressPools
+ }).(BackendAddressPoolInterfaceEndpointResponseArrayOutput)
}
-// An IPSec Policy configuration for a virtual network gateway connection.
-type IpsecPolicy struct {
- // The DH Group used in IKE Phase 1 for initial SA.
- DhGroup string `pulumi:"dhGroup"`
- // The IKE encryption algorithm (IKE phase 2).
- IkeEncryption string `pulumi:"ikeEncryption"`
- // The IKE integrity algorithm (IKE phase 2).
- IkeIntegrity string `pulumi:"ikeIntegrity"`
- // The IPSec encryption algorithm (IKE phase 1).
- IpsecEncryption string `pulumi:"ipsecEncryption"`
- // The IPSec integrity algorithm (IKE phase 1).
- IpsecIntegrity string `pulumi:"ipsecIntegrity"`
- // The Pfs Group used in IKE Phase 2 for new child SA.
- PfsGroup string `pulumi:"pfsGroup"`
- // The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
- SaDataSizeKilobytes int `pulumi:"saDataSizeKilobytes"`
- // The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
- SaLifeTimeSeconds int `pulumi:"saLifeTimeSeconds"`
+// A list of references of LoadBalancerInboundNatRules.
+func (o NetworkInterfaceIPConfigurationResponseV1Output) LoadBalancerInboundNatRules() InboundNatRuleInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) []InboundNatRuleInterfaceEndpointResponse {
+ return v.LoadBalancerInboundNatRules
+ }).(InboundNatRuleInterfaceEndpointResponseArrayOutput)
}
-// IpsecPolicyInput is an input type that accepts IpsecPolicyArgs and IpsecPolicyOutput values.
-// You can construct a concrete instance of `IpsecPolicyInput` via:
-//
-// IpsecPolicyArgs{...}
-type IpsecPolicyInput interface {
- pulumi.Input
-
- ToIpsecPolicyOutput() IpsecPolicyOutput
- ToIpsecPolicyOutputWithContext(context.Context) IpsecPolicyOutput
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o NetworkInterfaceIPConfigurationResponseV1Output) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// An IPSec Policy configuration for a virtual network gateway connection.
-type IpsecPolicyArgs struct {
- // The DH Group used in IKE Phase 1 for initial SA.
- DhGroup pulumi.StringInput `pulumi:"dhGroup"`
- // The IKE encryption algorithm (IKE phase 2).
- IkeEncryption pulumi.StringInput `pulumi:"ikeEncryption"`
- // The IKE integrity algorithm (IKE phase 2).
- IkeIntegrity pulumi.StringInput `pulumi:"ikeIntegrity"`
- // The IPSec encryption algorithm (IKE phase 1).
- IpsecEncryption pulumi.StringInput `pulumi:"ipsecEncryption"`
- // The IPSec integrity algorithm (IKE phase 1).
- IpsecIntegrity pulumi.StringInput `pulumi:"ipsecIntegrity"`
- // The Pfs Group used in IKE Phase 2 for new child SA.
- PfsGroup pulumi.StringInput `pulumi:"pfsGroup"`
- // The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
- SaDataSizeKilobytes pulumi.IntInput `pulumi:"saDataSizeKilobytes"`
- // The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
- SaLifeTimeSeconds pulumi.IntInput `pulumi:"saLifeTimeSeconds"`
+// Gets whether this is a primary customer address on the network interface.
+func (o NetworkInterfaceIPConfigurationResponseV1Output) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
}
-func (IpsecPolicyArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*IpsecPolicy)(nil)).Elem()
+// Private IP address of the IP configuration.
+func (o NetworkInterfaceIPConfigurationResponseV1Output) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-func (i IpsecPolicyArgs) ToIpsecPolicyOutput() IpsecPolicyOutput {
- return i.ToIpsecPolicyOutputWithContext(context.Background())
+// Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
+func (o NetworkInterfaceIPConfigurationResponseV1Output) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
}
-func (i IpsecPolicyArgs) ToIpsecPolicyOutputWithContext(ctx context.Context) IpsecPolicyOutput {
- return pulumi.ToOutputWithContext(ctx, i).(IpsecPolicyOutput)
+// The private IP address allocation method.
+func (o NetworkInterfaceIPConfigurationResponseV1Output) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-// IpsecPolicyArrayInput is an input type that accepts IpsecPolicyArray and IpsecPolicyArrayOutput values.
-// You can construct a concrete instance of `IpsecPolicyArrayInput` via:
-//
-// IpsecPolicyArray{ IpsecPolicyArgs{...} }
-type IpsecPolicyArrayInput interface {
- pulumi.Input
-
- ToIpsecPolicyArrayOutput() IpsecPolicyArrayOutput
- ToIpsecPolicyArrayOutputWithContext(context.Context) IpsecPolicyArrayOutput
+// The provisioning state of the network interface IP configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o NetworkInterfaceIPConfigurationResponseV1Output) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-type IpsecPolicyArray []IpsecPolicyInput
-
-func (IpsecPolicyArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IpsecPolicy)(nil)).Elem()
+// Public IP address bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationResponseV1Output) PublicIPAddress() PublicIPAddressInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *PublicIPAddressInterfaceEndpointResponse {
+ return v.PublicIPAddress
+ }).(PublicIPAddressInterfaceEndpointResponsePtrOutput)
}
-func (i IpsecPolicyArray) ToIpsecPolicyArrayOutput() IpsecPolicyArrayOutput {
- return i.ToIpsecPolicyArrayOutputWithContext(context.Background())
+// Subnet bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationResponseV1Output) Subnet() SubnetInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *SubnetInterfaceEndpointResponse { return v.Subnet }).(SubnetInterfaceEndpointResponsePtrOutput)
}
-func (i IpsecPolicyArray) ToIpsecPolicyArrayOutputWithContext(ctx context.Context) IpsecPolicyArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(IpsecPolicyArrayOutput)
+// The reference to Virtual Network Taps.
+func (o NetworkInterfaceIPConfigurationResponseV1Output) VirtualNetworkTaps() VirtualNetworkTapInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) []VirtualNetworkTapInterfaceEndpointResponse {
+ return v.VirtualNetworkTaps
+ }).(VirtualNetworkTapInterfaceEndpointResponseArrayOutput)
}
-// An IPSec Policy configuration for a virtual network gateway connection.
-type IpsecPolicyOutput struct{ *pulumi.OutputState }
+type NetworkInterfaceIPConfigurationResponseV1ArrayOutput struct{ *pulumi.OutputState }
-func (IpsecPolicyOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IpsecPolicy)(nil)).Elem()
+func (NetworkInterfaceIPConfigurationResponseV1ArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceIPConfigurationResponseV1)(nil)).Elem()
}
-func (o IpsecPolicyOutput) ToIpsecPolicyOutput() IpsecPolicyOutput {
+func (o NetworkInterfaceIPConfigurationResponseV1ArrayOutput) ToNetworkInterfaceIPConfigurationResponseV1ArrayOutput() NetworkInterfaceIPConfigurationResponseV1ArrayOutput {
return o
}
-func (o IpsecPolicyOutput) ToIpsecPolicyOutputWithContext(ctx context.Context) IpsecPolicyOutput {
+func (o NetworkInterfaceIPConfigurationResponseV1ArrayOutput) ToNetworkInterfaceIPConfigurationResponseV1ArrayOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationResponseV1ArrayOutput {
return o
}
-// The DH Group used in IKE Phase 1 for initial SA.
-func (o IpsecPolicyOutput) DhGroup() pulumi.StringOutput {
- return o.ApplyT(func(v IpsecPolicy) string { return v.DhGroup }).(pulumi.StringOutput)
+func (o NetworkInterfaceIPConfigurationResponseV1ArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceIPConfigurationResponseV1Output {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceIPConfigurationResponseV1 {
+ return vs[0].([]NetworkInterfaceIPConfigurationResponseV1)[vs[1].(int)]
+ }).(NetworkInterfaceIPConfigurationResponseV1Output)
}
-// The IKE encryption algorithm (IKE phase 2).
-func (o IpsecPolicyOutput) IkeEncryption() pulumi.StringOutput {
- return o.ApplyT(func(v IpsecPolicy) string { return v.IkeEncryption }).(pulumi.StringOutput)
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfigurationResponseV2 struct {
+ // The reference to ApplicationGatewayBackendAddressPool resource.
+ ApplicationGatewayBackendAddressPools []ApplicationGatewayBackendAddressPoolServiceGatewayResponse `pulumi:"applicationGatewayBackendAddressPools"`
+ // Application security groups in which the IP configuration is included.
+ ApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"applicationSecurityGroups"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The reference to gateway load balancer frontend IP.
+ GatewayLoadBalancer *SubResourceResponse `pulumi:"gatewayLoadBalancer"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The reference to LoadBalancerBackendAddressPool resource.
+ LoadBalancerBackendAddressPools []BackendAddressPoolResponse `pulumi:"loadBalancerBackendAddressPools"`
+ // A list of references of LoadBalancerInboundNatRules.
+ LoadBalancerInboundNatRules []InboundNatRuleResponse `pulumi:"loadBalancerInboundNatRules"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // Whether this is a primary customer address on the network interface.
+ Primary *bool `pulumi:"primary"`
+ // Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
+ PrivateIPAddressPrefixLength *int `pulumi:"privateIPAddressPrefixLength"`
+ // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+ PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // PrivateLinkConnection properties for the network interface.
+ PrivateLinkConnectionProperties NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse `pulumi:"privateLinkConnectionProperties"`
+ // The provisioning state of the network interface IP configuration.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Public IP address bound to the IP configuration.
+ PublicIPAddress *PublicIPAddressServiceGatewayResponse `pulumi:"publicIPAddress"`
+ // Subnet bound to the IP configuration.
+ Subnet *SubnetResponse `pulumi:"subnet"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // The reference to Virtual Network Taps.
+ VirtualNetworkTaps []VirtualNetworkTapServiceGatewayResponse `pulumi:"virtualNetworkTaps"`
}
-// The IKE integrity algorithm (IKE phase 2).
-func (o IpsecPolicyOutput) IkeIntegrity() pulumi.StringOutput {
- return o.ApplyT(func(v IpsecPolicy) string { return v.IkeIntegrity }).(pulumi.StringOutput)
+// Defaults sets the appropriate defaults for NetworkInterfaceIPConfigurationResponseV2
+func (val *NetworkInterfaceIPConfigurationResponseV2) Defaults() *NetworkInterfaceIPConfigurationResponseV2 {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
+
+ tmp.Subnet = tmp.Subnet.Defaults()
+
+ return &tmp
}
-// The IPSec encryption algorithm (IKE phase 1).
-func (o IpsecPolicyOutput) IpsecEncryption() pulumi.StringOutput {
- return o.ApplyT(func(v IpsecPolicy) string { return v.IpsecEncryption }).(pulumi.StringOutput)
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfigurationResponseV2Output struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceIPConfigurationResponseV2Output) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceIPConfigurationResponseV2)(nil)).Elem()
}
-// The IPSec integrity algorithm (IKE phase 1).
-func (o IpsecPolicyOutput) IpsecIntegrity() pulumi.StringOutput {
- return o.ApplyT(func(v IpsecPolicy) string { return v.IpsecIntegrity }).(pulumi.StringOutput)
+func (o NetworkInterfaceIPConfigurationResponseV2Output) ToNetworkInterfaceIPConfigurationResponseV2Output() NetworkInterfaceIPConfigurationResponseV2Output {
+ return o
}
-// The Pfs Group used in IKE Phase 2 for new child SA.
-func (o IpsecPolicyOutput) PfsGroup() pulumi.StringOutput {
- return o.ApplyT(func(v IpsecPolicy) string { return v.PfsGroup }).(pulumi.StringOutput)
+func (o NetworkInterfaceIPConfigurationResponseV2Output) ToNetworkInterfaceIPConfigurationResponseV2OutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationResponseV2Output {
+ return o
}
-// The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
-func (o IpsecPolicyOutput) SaDataSizeKilobytes() pulumi.IntOutput {
- return o.ApplyT(func(v IpsecPolicy) int { return v.SaDataSizeKilobytes }).(pulumi.IntOutput)
+// The reference to ApplicationGatewayBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) ApplicationGatewayBackendAddressPools() ApplicationGatewayBackendAddressPoolServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) []ApplicationGatewayBackendAddressPoolServiceGatewayResponse {
+ return v.ApplicationGatewayBackendAddressPools
+ }).(ApplicationGatewayBackendAddressPoolServiceGatewayResponseArrayOutput)
}
-// The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
-func (o IpsecPolicyOutput) SaLifeTimeSeconds() pulumi.IntOutput {
- return o.ApplyT(func(v IpsecPolicy) int { return v.SaLifeTimeSeconds }).(pulumi.IntOutput)
+// Application security groups in which the IP configuration is included.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) ApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) []ApplicationSecurityGroupResponse {
+ return v.ApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
}
-type IpsecPolicyArrayOutput struct{ *pulumi.OutputState }
-
-func (IpsecPolicyArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IpsecPolicy)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) string { return v.Etag }).(pulumi.StringOutput)
}
-func (o IpsecPolicyArrayOutput) ToIpsecPolicyArrayOutput() IpsecPolicyArrayOutput {
- return o
+// The reference to gateway load balancer frontend IP.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) GatewayLoadBalancer() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) *SubResourceResponse { return v.GatewayLoadBalancer }).(SubResourceResponsePtrOutput)
}
-func (o IpsecPolicyArrayOutput) ToIpsecPolicyArrayOutputWithContext(ctx context.Context) IpsecPolicyArrayOutput {
- return o
+// Resource ID.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o IpsecPolicyArrayOutput) Index(i pulumi.IntInput) IpsecPolicyOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpsecPolicy {
- return vs[0].([]IpsecPolicy)[vs[1].(int)]
- }).(IpsecPolicyOutput)
+// The reference to LoadBalancerBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) LoadBalancerBackendAddressPools() BackendAddressPoolResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) []BackendAddressPoolResponse {
+ return v.LoadBalancerBackendAddressPools
+ }).(BackendAddressPoolResponseArrayOutput)
}
-// An IPSec Policy configuration for a virtual network gateway connection.
-type IpsecPolicyResponse struct {
- // The DH Group used in IKE Phase 1 for initial SA.
- DhGroup string `pulumi:"dhGroup"`
- // The IKE encryption algorithm (IKE phase 2).
- IkeEncryption string `pulumi:"ikeEncryption"`
- // The IKE integrity algorithm (IKE phase 2).
- IkeIntegrity string `pulumi:"ikeIntegrity"`
- // The IPSec encryption algorithm (IKE phase 1).
- IpsecEncryption string `pulumi:"ipsecEncryption"`
- // The IPSec integrity algorithm (IKE phase 1).
- IpsecIntegrity string `pulumi:"ipsecIntegrity"`
- // The Pfs Group used in IKE Phase 2 for new child SA.
- PfsGroup string `pulumi:"pfsGroup"`
- // The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
- SaDataSizeKilobytes int `pulumi:"saDataSizeKilobytes"`
- // The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
- SaLifeTimeSeconds int `pulumi:"saLifeTimeSeconds"`
+// A list of references of LoadBalancerInboundNatRules.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) LoadBalancerInboundNatRules() InboundNatRuleResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) []InboundNatRuleResponse {
+ return v.LoadBalancerInboundNatRules
+ }).(InboundNatRuleResponseArrayOutput)
}
-// An IPSec Policy configuration for a virtual network gateway connection.
-type IpsecPolicyResponseOutput struct{ *pulumi.OutputState }
+// Name of the resource.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
-func (IpsecPolicyResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*IpsecPolicyResponse)(nil)).Elem()
+// Whether this is a primary customer address on the network interface.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
}
-func (o IpsecPolicyResponseOutput) ToIpsecPolicyResponseOutput() IpsecPolicyResponseOutput {
- return o
+// Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-func (o IpsecPolicyResponseOutput) ToIpsecPolicyResponseOutputWithContext(ctx context.Context) IpsecPolicyResponseOutput {
- return o
+// The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) PrivateIPAddressPrefixLength() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) *int { return v.PrivateIPAddressPrefixLength }).(pulumi.IntPtrOutput)
}
-// The DH Group used in IKE Phase 1 for initial SA.
-func (o IpsecPolicyResponseOutput) DhGroup() pulumi.StringOutput {
- return o.ApplyT(func(v IpsecPolicyResponse) string { return v.DhGroup }).(pulumi.StringOutput)
+// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
}
-// The IKE encryption algorithm (IKE phase 2).
-func (o IpsecPolicyResponseOutput) IkeEncryption() pulumi.StringOutput {
- return o.ApplyT(func(v IpsecPolicyResponse) string { return v.IkeEncryption }).(pulumi.StringOutput)
+// The private IP address allocation method.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-// The IKE integrity algorithm (IKE phase 2).
-func (o IpsecPolicyResponseOutput) IkeIntegrity() pulumi.StringOutput {
- return o.ApplyT(func(v IpsecPolicyResponse) string { return v.IkeIntegrity }).(pulumi.StringOutput)
+// PrivateLinkConnection properties for the network interface.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) PrivateLinkConnectionProperties() NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse {
+ return v.PrivateLinkConnectionProperties
+ }).(NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput)
}
-// The IPSec encryption algorithm (IKE phase 1).
-func (o IpsecPolicyResponseOutput) IpsecEncryption() pulumi.StringOutput {
- return o.ApplyT(func(v IpsecPolicyResponse) string { return v.IpsecEncryption }).(pulumi.StringOutput)
+// The provisioning state of the network interface IP configuration.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The IPSec integrity algorithm (IKE phase 1).
-func (o IpsecPolicyResponseOutput) IpsecIntegrity() pulumi.StringOutput {
- return o.ApplyT(func(v IpsecPolicyResponse) string { return v.IpsecIntegrity }).(pulumi.StringOutput)
+// Public IP address bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) PublicIPAddress() PublicIPAddressServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) *PublicIPAddressServiceGatewayResponse {
+ return v.PublicIPAddress
+ }).(PublicIPAddressServiceGatewayResponsePtrOutput)
}
-// The Pfs Group used in IKE Phase 2 for new child SA.
-func (o IpsecPolicyResponseOutput) PfsGroup() pulumi.StringOutput {
- return o.ApplyT(func(v IpsecPolicyResponse) string { return v.PfsGroup }).(pulumi.StringOutput)
+// Subnet bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
}
-// The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
-func (o IpsecPolicyResponseOutput) SaDataSizeKilobytes() pulumi.IntOutput {
- return o.ApplyT(func(v IpsecPolicyResponse) int { return v.SaDataSizeKilobytes }).(pulumi.IntOutput)
+// Resource type.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) string { return v.Type }).(pulumi.StringOutput)
}
-// The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
-func (o IpsecPolicyResponseOutput) SaLifeTimeSeconds() pulumi.IntOutput {
- return o.ApplyT(func(v IpsecPolicyResponse) int { return v.SaLifeTimeSeconds }).(pulumi.IntOutput)
+// The reference to Virtual Network Taps.
+func (o NetworkInterfaceIPConfigurationResponseV2Output) VirtualNetworkTaps() VirtualNetworkTapServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV2) []VirtualNetworkTapServiceGatewayResponse {
+ return v.VirtualNetworkTaps
+ }).(VirtualNetworkTapServiceGatewayResponseArrayOutput)
}
-type IpsecPolicyResponseArrayOutput struct{ *pulumi.OutputState }
+type NetworkInterfaceIPConfigurationResponseV2ArrayOutput struct{ *pulumi.OutputState }
-func (IpsecPolicyResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]IpsecPolicyResponse)(nil)).Elem()
+func (NetworkInterfaceIPConfigurationResponseV2ArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceIPConfigurationResponseV2)(nil)).Elem()
}
-func (o IpsecPolicyResponseArrayOutput) ToIpsecPolicyResponseArrayOutput() IpsecPolicyResponseArrayOutput {
+func (o NetworkInterfaceIPConfigurationResponseV2ArrayOutput) ToNetworkInterfaceIPConfigurationResponseV2ArrayOutput() NetworkInterfaceIPConfigurationResponseV2ArrayOutput {
return o
}
-func (o IpsecPolicyResponseArrayOutput) ToIpsecPolicyResponseArrayOutputWithContext(ctx context.Context) IpsecPolicyResponseArrayOutput {
+func (o NetworkInterfaceIPConfigurationResponseV2ArrayOutput) ToNetworkInterfaceIPConfigurationResponseV2ArrayOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationResponseV2ArrayOutput {
return o
}
-func (o IpsecPolicyResponseArrayOutput) Index(i pulumi.IntInput) IpsecPolicyResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpsecPolicyResponse {
- return vs[0].([]IpsecPolicyResponse)[vs[1].(int)]
- }).(IpsecPolicyResponseOutput)
+func (o NetworkInterfaceIPConfigurationResponseV2ArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceIPConfigurationResponseV2Output {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceIPConfigurationResponseV2 {
+ return vs[0].([]NetworkInterfaceIPConfigurationResponseV2)[vs[1].(int)]
+ }).(NetworkInterfaceIPConfigurationResponseV2Output)
}
-// IPv6 Circuit Connection properties for global reach.
-type Ipv6CircuitConnectionConfig struct {
- // /125 IP address space to carve out customer addresses for global reach.
- AddressPrefix *string `pulumi:"addressPrefix"`
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfigurationResponseV3 struct {
+ // The reference to ApplicationGatewayBackendAddressPool resource.
+ ApplicationGatewayBackendAddressPools []ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponse `pulumi:"applicationGatewayBackendAddressPools"`
+ // Application security groups in which the IP configuration is included.
+ ApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"applicationSecurityGroups"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The reference to gateway load balancer frontend IP.
+ GatewayLoadBalancer *SubResourceResponse `pulumi:"gatewayLoadBalancer"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The reference to LoadBalancerBackendAddressPool resource.
+ LoadBalancerBackendAddressPools []BackendAddressPoolResponse `pulumi:"loadBalancerBackendAddressPools"`
+ // A list of references of LoadBalancerInboundNatRules.
+ LoadBalancerInboundNatRules []InboundNatRuleResponse `pulumi:"loadBalancerInboundNatRules"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // Whether this is a primary customer address on the network interface.
+ Primary *bool `pulumi:"primary"`
+ // Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
+ PrivateIPAddressPrefixLength *int `pulumi:"privateIPAddressPrefixLength"`
+ // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+ PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // PrivateLinkConnection properties for the network interface.
+ PrivateLinkConnectionProperties NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse `pulumi:"privateLinkConnectionProperties"`
+ // The provisioning state of the network interface IP configuration.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Public IP address bound to the IP configuration.
+ PublicIPAddress *PublicIPAddressVirtualNetworkApplianceResponse `pulumi:"publicIPAddress"`
+ // Subnet bound to the IP configuration.
+ Subnet *SubnetResponse `pulumi:"subnet"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // The reference to Virtual Network Taps.
+ VirtualNetworkTaps []VirtualNetworkTapVirtualNetworkApplianceResponse `pulumi:"virtualNetworkTaps"`
}
-// Ipv6CircuitConnectionConfigInput is an input type that accepts Ipv6CircuitConnectionConfigArgs and Ipv6CircuitConnectionConfigOutput values.
-// You can construct a concrete instance of `Ipv6CircuitConnectionConfigInput` via:
-//
-// Ipv6CircuitConnectionConfigArgs{...}
-type Ipv6CircuitConnectionConfigInput interface {
- pulumi.Input
+// Defaults sets the appropriate defaults for NetworkInterfaceIPConfigurationResponseV3
+func (val *NetworkInterfaceIPConfigurationResponseV3) Defaults() *NetworkInterfaceIPConfigurationResponseV3 {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
- ToIpv6CircuitConnectionConfigOutput() Ipv6CircuitConnectionConfigOutput
- ToIpv6CircuitConnectionConfigOutputWithContext(context.Context) Ipv6CircuitConnectionConfigOutput
-}
+ tmp.Subnet = tmp.Subnet.Defaults()
-// IPv6 Circuit Connection properties for global reach.
-type Ipv6CircuitConnectionConfigArgs struct {
- // /125 IP address space to carve out customer addresses for global reach.
- AddressPrefix pulumi.StringPtrInput `pulumi:"addressPrefix"`
+ return &tmp
}
-func (Ipv6CircuitConnectionConfigArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*Ipv6CircuitConnectionConfig)(nil)).Elem()
-}
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfigurationResponseV3Output struct{ *pulumi.OutputState }
-func (i Ipv6CircuitConnectionConfigArgs) ToIpv6CircuitConnectionConfigOutput() Ipv6CircuitConnectionConfigOutput {
- return i.ToIpv6CircuitConnectionConfigOutputWithContext(context.Background())
+func (NetworkInterfaceIPConfigurationResponseV3Output) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceIPConfigurationResponseV3)(nil)).Elem()
}
-func (i Ipv6CircuitConnectionConfigArgs) ToIpv6CircuitConnectionConfigOutputWithContext(ctx context.Context) Ipv6CircuitConnectionConfigOutput {
- return pulumi.ToOutputWithContext(ctx, i).(Ipv6CircuitConnectionConfigOutput)
+func (o NetworkInterfaceIPConfigurationResponseV3Output) ToNetworkInterfaceIPConfigurationResponseV3Output() NetworkInterfaceIPConfigurationResponseV3Output {
+ return o
}
-func (i Ipv6CircuitConnectionConfigArgs) ToIpv6CircuitConnectionConfigPtrOutput() Ipv6CircuitConnectionConfigPtrOutput {
- return i.ToIpv6CircuitConnectionConfigPtrOutputWithContext(context.Background())
+func (o NetworkInterfaceIPConfigurationResponseV3Output) ToNetworkInterfaceIPConfigurationResponseV3OutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationResponseV3Output {
+ return o
}
-func (i Ipv6CircuitConnectionConfigArgs) ToIpv6CircuitConnectionConfigPtrOutputWithContext(ctx context.Context) Ipv6CircuitConnectionConfigPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(Ipv6CircuitConnectionConfigOutput).ToIpv6CircuitConnectionConfigPtrOutputWithContext(ctx)
+// The reference to ApplicationGatewayBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) ApplicationGatewayBackendAddressPools() ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) []ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponse {
+ return v.ApplicationGatewayBackendAddressPools
+ }).(ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseArrayOutput)
}
-// Ipv6CircuitConnectionConfigPtrInput is an input type that accepts Ipv6CircuitConnectionConfigArgs, Ipv6CircuitConnectionConfigPtr and Ipv6CircuitConnectionConfigPtrOutput values.
-// You can construct a concrete instance of `Ipv6CircuitConnectionConfigPtrInput` via:
-//
-// Ipv6CircuitConnectionConfigArgs{...}
-//
-// or:
-//
-// nil
-type Ipv6CircuitConnectionConfigPtrInput interface {
- pulumi.Input
-
- ToIpv6CircuitConnectionConfigPtrOutput() Ipv6CircuitConnectionConfigPtrOutput
- ToIpv6CircuitConnectionConfigPtrOutputWithContext(context.Context) Ipv6CircuitConnectionConfigPtrOutput
+// Application security groups in which the IP configuration is included.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) ApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) []ApplicationSecurityGroupResponse {
+ return v.ApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
}
-type ipv6CircuitConnectionConfigPtrType Ipv6CircuitConnectionConfigArgs
-
-func Ipv6CircuitConnectionConfigPtr(v *Ipv6CircuitConnectionConfigArgs) Ipv6CircuitConnectionConfigPtrInput {
- return (*ipv6CircuitConnectionConfigPtrType)(v)
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) string { return v.Etag }).(pulumi.StringOutput)
}
-func (*ipv6CircuitConnectionConfigPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**Ipv6CircuitConnectionConfig)(nil)).Elem()
+// The reference to gateway load balancer frontend IP.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) GatewayLoadBalancer() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) *SubResourceResponse { return v.GatewayLoadBalancer }).(SubResourceResponsePtrOutput)
}
-func (i *ipv6CircuitConnectionConfigPtrType) ToIpv6CircuitConnectionConfigPtrOutput() Ipv6CircuitConnectionConfigPtrOutput {
- return i.ToIpv6CircuitConnectionConfigPtrOutputWithContext(context.Background())
+// Resource ID.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (i *ipv6CircuitConnectionConfigPtrType) ToIpv6CircuitConnectionConfigPtrOutputWithContext(ctx context.Context) Ipv6CircuitConnectionConfigPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(Ipv6CircuitConnectionConfigPtrOutput)
+// The reference to LoadBalancerBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) LoadBalancerBackendAddressPools() BackendAddressPoolResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) []BackendAddressPoolResponse {
+ return v.LoadBalancerBackendAddressPools
+ }).(BackendAddressPoolResponseArrayOutput)
}
-// IPv6 Circuit Connection properties for global reach.
-type Ipv6CircuitConnectionConfigOutput struct{ *pulumi.OutputState }
-
-func (Ipv6CircuitConnectionConfigOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*Ipv6CircuitConnectionConfig)(nil)).Elem()
+// A list of references of LoadBalancerInboundNatRules.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) LoadBalancerInboundNatRules() InboundNatRuleResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) []InboundNatRuleResponse {
+ return v.LoadBalancerInboundNatRules
+ }).(InboundNatRuleResponseArrayOutput)
}
-func (o Ipv6CircuitConnectionConfigOutput) ToIpv6CircuitConnectionConfigOutput() Ipv6CircuitConnectionConfigOutput {
- return o
+// Name of the resource.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o Ipv6CircuitConnectionConfigOutput) ToIpv6CircuitConnectionConfigOutputWithContext(ctx context.Context) Ipv6CircuitConnectionConfigOutput {
- return o
+// Whether this is a primary customer address on the network interface.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
}
-func (o Ipv6CircuitConnectionConfigOutput) ToIpv6CircuitConnectionConfigPtrOutput() Ipv6CircuitConnectionConfigPtrOutput {
- return o.ToIpv6CircuitConnectionConfigPtrOutputWithContext(context.Background())
+// Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-func (o Ipv6CircuitConnectionConfigOutput) ToIpv6CircuitConnectionConfigPtrOutputWithContext(ctx context.Context) Ipv6CircuitConnectionConfigPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v Ipv6CircuitConnectionConfig) *Ipv6CircuitConnectionConfig {
- return &v
- }).(Ipv6CircuitConnectionConfigPtrOutput)
+// The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) PrivateIPAddressPrefixLength() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) *int { return v.PrivateIPAddressPrefixLength }).(pulumi.IntPtrOutput)
}
-// /125 IP address space to carve out customer addresses for global reach.
-func (o Ipv6CircuitConnectionConfigOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Ipv6CircuitConnectionConfig) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
+// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
}
-type Ipv6CircuitConnectionConfigPtrOutput struct{ *pulumi.OutputState }
+// The private IP address allocation method.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+}
-func (Ipv6CircuitConnectionConfigPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**Ipv6CircuitConnectionConfig)(nil)).Elem()
+// PrivateLinkConnection properties for the network interface.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) PrivateLinkConnectionProperties() NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse {
+ return v.PrivateLinkConnectionProperties
+ }).(NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput)
}
-func (o Ipv6CircuitConnectionConfigPtrOutput) ToIpv6CircuitConnectionConfigPtrOutput() Ipv6CircuitConnectionConfigPtrOutput {
- return o
+// The provisioning state of the network interface IP configuration.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o Ipv6CircuitConnectionConfigPtrOutput) ToIpv6CircuitConnectionConfigPtrOutputWithContext(ctx context.Context) Ipv6CircuitConnectionConfigPtrOutput {
- return o
+// Public IP address bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) PublicIPAddress() PublicIPAddressVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) *PublicIPAddressVirtualNetworkApplianceResponse {
+ return v.PublicIPAddress
+ }).(PublicIPAddressVirtualNetworkApplianceResponsePtrOutput)
}
-func (o Ipv6CircuitConnectionConfigPtrOutput) Elem() Ipv6CircuitConnectionConfigOutput {
- return o.ApplyT(func(v *Ipv6CircuitConnectionConfig) Ipv6CircuitConnectionConfig {
- if v != nil {
- return *v
- }
- var ret Ipv6CircuitConnectionConfig
- return ret
- }).(Ipv6CircuitConnectionConfigOutput)
+// Subnet bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
}
-// /125 IP address space to carve out customer addresses for global reach.
-func (o Ipv6CircuitConnectionConfigPtrOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *Ipv6CircuitConnectionConfig) *string {
- if v == nil {
- return nil
- }
- return v.AddressPrefix
- }).(pulumi.StringPtrOutput)
+// Resource type.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) string { return v.Type }).(pulumi.StringOutput)
}
-// IPv6 Circuit Connection properties for global reach.
-type Ipv6CircuitConnectionConfigResponse struct {
- // /125 IP address space to carve out customer addresses for global reach.
- AddressPrefix *string `pulumi:"addressPrefix"`
- // Express Route Circuit connection state.
- CircuitConnectionStatus string `pulumi:"circuitConnectionStatus"`
+// The reference to Virtual Network Taps.
+func (o NetworkInterfaceIPConfigurationResponseV3Output) VirtualNetworkTaps() VirtualNetworkTapVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV3) []VirtualNetworkTapVirtualNetworkApplianceResponse {
+ return v.VirtualNetworkTaps
+ }).(VirtualNetworkTapVirtualNetworkApplianceResponseArrayOutput)
}
-// IPv6 Circuit Connection properties for global reach.
-type Ipv6CircuitConnectionConfigResponseOutput struct{ *pulumi.OutputState }
+type NetworkInterfaceIPConfigurationResponseV3ArrayOutput struct{ *pulumi.OutputState }
-func (Ipv6CircuitConnectionConfigResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*Ipv6CircuitConnectionConfigResponse)(nil)).Elem()
+func (NetworkInterfaceIPConfigurationResponseV3ArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceIPConfigurationResponseV3)(nil)).Elem()
}
-func (o Ipv6CircuitConnectionConfigResponseOutput) ToIpv6CircuitConnectionConfigResponseOutput() Ipv6CircuitConnectionConfigResponseOutput {
+func (o NetworkInterfaceIPConfigurationResponseV3ArrayOutput) ToNetworkInterfaceIPConfigurationResponseV3ArrayOutput() NetworkInterfaceIPConfigurationResponseV3ArrayOutput {
return o
}
-func (o Ipv6CircuitConnectionConfigResponseOutput) ToIpv6CircuitConnectionConfigResponseOutputWithContext(ctx context.Context) Ipv6CircuitConnectionConfigResponseOutput {
+func (o NetworkInterfaceIPConfigurationResponseV3ArrayOutput) ToNetworkInterfaceIPConfigurationResponseV3ArrayOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationResponseV3ArrayOutput {
return o
}
-// /125 IP address space to carve out customer addresses for global reach.
-func (o Ipv6CircuitConnectionConfigResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Ipv6CircuitConnectionConfigResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceIPConfigurationResponseV3ArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceIPConfigurationResponseV3Output {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceIPConfigurationResponseV3 {
+ return vs[0].([]NetworkInterfaceIPConfigurationResponseV3)[vs[1].(int)]
+ }).(NetworkInterfaceIPConfigurationResponseV3Output)
}
-// Express Route Circuit connection state.
-func (o Ipv6CircuitConnectionConfigResponseOutput) CircuitConnectionStatus() pulumi.StringOutput {
- return o.ApplyT(func(v Ipv6CircuitConnectionConfigResponse) string { return v.CircuitConnectionStatus }).(pulumi.StringOutput)
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfigurationServiceGatewayResponse struct {
+ // The reference to ApplicationGatewayBackendAddressPool resource.
+ ApplicationGatewayBackendAddressPools []ApplicationGatewayBackendAddressPoolResponse `pulumi:"applicationGatewayBackendAddressPools"`
+ // Application security groups in which the IP configuration is included.
+ ApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"applicationSecurityGroups"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The reference to gateway load balancer frontend IP.
+ GatewayLoadBalancer *SubResourceResponse `pulumi:"gatewayLoadBalancer"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The reference to LoadBalancerBackendAddressPool resource.
+ LoadBalancerBackendAddressPools []BackendAddressPoolResponse `pulumi:"loadBalancerBackendAddressPools"`
+ // A list of references of LoadBalancerInboundNatRules.
+ LoadBalancerInboundNatRules []InboundNatRuleResponse `pulumi:"loadBalancerInboundNatRules"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // Whether this is a primary customer address on the network interface.
+ Primary *bool `pulumi:"primary"`
+ // Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
+ PrivateIPAddressPrefixLength *int `pulumi:"privateIPAddressPrefixLength"`
+ // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+ PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // PrivateLinkConnection properties for the network interface.
+ PrivateLinkConnectionProperties NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse `pulumi:"privateLinkConnectionProperties"`
+ // The provisioning state of the network interface IP configuration.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Public IP address bound to the IP configuration.
+ PublicIPAddress *PublicIPAddressServiceGatewayResponse `pulumi:"publicIPAddress"`
+ // Subnet bound to the IP configuration.
+ Subnet *SubnetResponse `pulumi:"subnet"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // The reference to Virtual Network Taps.
+ VirtualNetworkTaps []VirtualNetworkTapServiceGatewayResponse `pulumi:"virtualNetworkTaps"`
}
-type Ipv6CircuitConnectionConfigResponsePtrOutput struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for NetworkInterfaceIPConfigurationServiceGatewayResponse
+func (val *NetworkInterfaceIPConfigurationServiceGatewayResponse) Defaults() *NetworkInterfaceIPConfigurationServiceGatewayResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
-func (Ipv6CircuitConnectionConfigResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**Ipv6CircuitConnectionConfigResponse)(nil)).Elem()
+ tmp.Subnet = tmp.Subnet.Defaults()
+
+ return &tmp
}
-func (o Ipv6CircuitConnectionConfigResponsePtrOutput) ToIpv6CircuitConnectionConfigResponsePtrOutput() Ipv6CircuitConnectionConfigResponsePtrOutput {
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfigurationServiceGatewayResponseOutput struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceIPConfigurationServiceGatewayResponse)(nil)).Elem()
+}
+
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) ToNetworkInterfaceIPConfigurationServiceGatewayResponseOutput() NetworkInterfaceIPConfigurationServiceGatewayResponseOutput {
return o
}
-func (o Ipv6CircuitConnectionConfigResponsePtrOutput) ToIpv6CircuitConnectionConfigResponsePtrOutputWithContext(ctx context.Context) Ipv6CircuitConnectionConfigResponsePtrOutput {
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) ToNetworkInterfaceIPConfigurationServiceGatewayResponseOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationServiceGatewayResponseOutput {
return o
}
-func (o Ipv6CircuitConnectionConfigResponsePtrOutput) Elem() Ipv6CircuitConnectionConfigResponseOutput {
- return o.ApplyT(func(v *Ipv6CircuitConnectionConfigResponse) Ipv6CircuitConnectionConfigResponse {
- if v != nil {
- return *v
- }
- var ret Ipv6CircuitConnectionConfigResponse
- return ret
- }).(Ipv6CircuitConnectionConfigResponseOutput)
+// The reference to ApplicationGatewayBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) ApplicationGatewayBackendAddressPools() ApplicationGatewayBackendAddressPoolResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) []ApplicationGatewayBackendAddressPoolResponse {
+ return v.ApplicationGatewayBackendAddressPools
+ }).(ApplicationGatewayBackendAddressPoolResponseArrayOutput)
}
-// /125 IP address space to carve out customer addresses for global reach.
-func (o Ipv6CircuitConnectionConfigResponsePtrOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *Ipv6CircuitConnectionConfigResponse) *string {
- if v == nil {
- return nil
- }
- return v.AddressPrefix
- }).(pulumi.StringPtrOutput)
+// Application security groups in which the IP configuration is included.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) ApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) []ApplicationSecurityGroupResponse {
+ return v.ApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
}
-// Express Route Circuit connection state.
-func (o Ipv6CircuitConnectionConfigResponsePtrOutput) CircuitConnectionStatus() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *Ipv6CircuitConnectionConfigResponse) *string {
- if v == nil {
- return nil
- }
- return &v.CircuitConnectionStatus
- }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Contains IPv6 peering config.
-type Ipv6ExpressRouteCircuitPeeringConfig struct {
- // The Microsoft peering configuration.
- MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `pulumi:"microsoftPeeringConfig"`
- // The primary address prefix.
- PrimaryPeerAddressPrefix *string `pulumi:"primaryPeerAddressPrefix"`
- // The reference to the RouteFilter resource.
- RouteFilter *SubResource `pulumi:"routeFilter"`
- // The secondary address prefix.
- SecondaryPeerAddressPrefix *string `pulumi:"secondaryPeerAddressPrefix"`
- // The state of peering.
- State *string `pulumi:"state"`
+// The reference to gateway load balancer frontend IP.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) GatewayLoadBalancer() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) *SubResourceResponse {
+ return v.GatewayLoadBalancer
+ }).(SubResourceResponsePtrOutput)
}
-// Ipv6ExpressRouteCircuitPeeringConfigInput is an input type that accepts Ipv6ExpressRouteCircuitPeeringConfigArgs and Ipv6ExpressRouteCircuitPeeringConfigOutput values.
-// You can construct a concrete instance of `Ipv6ExpressRouteCircuitPeeringConfigInput` via:
-//
-// Ipv6ExpressRouteCircuitPeeringConfigArgs{...}
-type Ipv6ExpressRouteCircuitPeeringConfigInput interface {
- pulumi.Input
+// Resource ID.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
- ToIpv6ExpressRouteCircuitPeeringConfigOutput() Ipv6ExpressRouteCircuitPeeringConfigOutput
- ToIpv6ExpressRouteCircuitPeeringConfigOutputWithContext(context.Context) Ipv6ExpressRouteCircuitPeeringConfigOutput
+// The reference to LoadBalancerBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) LoadBalancerBackendAddressPools() BackendAddressPoolResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) []BackendAddressPoolResponse {
+ return v.LoadBalancerBackendAddressPools
+ }).(BackendAddressPoolResponseArrayOutput)
}
-// Contains IPv6 peering config.
-type Ipv6ExpressRouteCircuitPeeringConfigArgs struct {
- // The Microsoft peering configuration.
- MicrosoftPeeringConfig ExpressRouteCircuitPeeringConfigPtrInput `pulumi:"microsoftPeeringConfig"`
- // The primary address prefix.
- PrimaryPeerAddressPrefix pulumi.StringPtrInput `pulumi:"primaryPeerAddressPrefix"`
- // The reference to the RouteFilter resource.
- RouteFilter SubResourcePtrInput `pulumi:"routeFilter"`
- // The secondary address prefix.
- SecondaryPeerAddressPrefix pulumi.StringPtrInput `pulumi:"secondaryPeerAddressPrefix"`
- // The state of peering.
- State pulumi.StringPtrInput `pulumi:"state"`
+// A list of references of LoadBalancerInboundNatRules.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) LoadBalancerInboundNatRules() InboundNatRuleResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) []InboundNatRuleResponse {
+ return v.LoadBalancerInboundNatRules
+ }).(InboundNatRuleResponseArrayOutput)
}
-func (Ipv6ExpressRouteCircuitPeeringConfigArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*Ipv6ExpressRouteCircuitPeeringConfig)(nil)).Elem()
+// Name of the resource.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (i Ipv6ExpressRouteCircuitPeeringConfigArgs) ToIpv6ExpressRouteCircuitPeeringConfigOutput() Ipv6ExpressRouteCircuitPeeringConfigOutput {
- return i.ToIpv6ExpressRouteCircuitPeeringConfigOutputWithContext(context.Background())
+// Whether this is a primary customer address on the network interface.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
}
-func (i Ipv6ExpressRouteCircuitPeeringConfigArgs) ToIpv6ExpressRouteCircuitPeeringConfigOutputWithContext(ctx context.Context) Ipv6ExpressRouteCircuitPeeringConfigOutput {
- return pulumi.ToOutputWithContext(ctx, i).(Ipv6ExpressRouteCircuitPeeringConfigOutput)
+// Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-func (i Ipv6ExpressRouteCircuitPeeringConfigArgs) ToIpv6ExpressRouteCircuitPeeringConfigPtrOutput() Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
- return i.ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(context.Background())
+// The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) PrivateIPAddressPrefixLength() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) *int {
+ return v.PrivateIPAddressPrefixLength
+ }).(pulumi.IntPtrOutput)
}
-func (i Ipv6ExpressRouteCircuitPeeringConfigArgs) ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx context.Context) Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(Ipv6ExpressRouteCircuitPeeringConfigOutput).ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx)
+// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) *string {
+ return v.PrivateIPAddressVersion
+ }).(pulumi.StringPtrOutput)
}
-// Ipv6ExpressRouteCircuitPeeringConfigPtrInput is an input type that accepts Ipv6ExpressRouteCircuitPeeringConfigArgs, Ipv6ExpressRouteCircuitPeeringConfigPtr and Ipv6ExpressRouteCircuitPeeringConfigPtrOutput values.
-// You can construct a concrete instance of `Ipv6ExpressRouteCircuitPeeringConfigPtrInput` via:
-//
-// Ipv6ExpressRouteCircuitPeeringConfigArgs{...}
-//
-// or:
-//
-// nil
-type Ipv6ExpressRouteCircuitPeeringConfigPtrInput interface {
- pulumi.Input
+// The private IP address allocation method.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) *string {
+ return v.PrivateIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
+}
- ToIpv6ExpressRouteCircuitPeeringConfigPtrOutput() Ipv6ExpressRouteCircuitPeeringConfigPtrOutput
- ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(context.Context) Ipv6ExpressRouteCircuitPeeringConfigPtrOutput
+// PrivateLinkConnection properties for the network interface.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) PrivateLinkConnectionProperties() NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse {
+ return v.PrivateLinkConnectionProperties
+ }).(NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput)
}
-type ipv6ExpressRouteCircuitPeeringConfigPtrType Ipv6ExpressRouteCircuitPeeringConfigArgs
+// The provisioning state of the network interface IP configuration.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
-func Ipv6ExpressRouteCircuitPeeringConfigPtr(v *Ipv6ExpressRouteCircuitPeeringConfigArgs) Ipv6ExpressRouteCircuitPeeringConfigPtrInput {
- return (*ipv6ExpressRouteCircuitPeeringConfigPtrType)(v)
+// Public IP address bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) PublicIPAddress() PublicIPAddressServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) *PublicIPAddressServiceGatewayResponse {
+ return v.PublicIPAddress
+ }).(PublicIPAddressServiceGatewayResponsePtrOutput)
}
-func (*ipv6ExpressRouteCircuitPeeringConfigPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**Ipv6ExpressRouteCircuitPeeringConfig)(nil)).Elem()
+// Subnet bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
}
-func (i *ipv6ExpressRouteCircuitPeeringConfigPtrType) ToIpv6ExpressRouteCircuitPeeringConfigPtrOutput() Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
- return i.ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(context.Background())
+// Resource type.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (i *ipv6ExpressRouteCircuitPeeringConfigPtrType) ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx context.Context) Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(Ipv6ExpressRouteCircuitPeeringConfigPtrOutput)
+// The reference to Virtual Network Taps.
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseOutput) VirtualNetworkTaps() VirtualNetworkTapServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationServiceGatewayResponse) []VirtualNetworkTapServiceGatewayResponse {
+ return v.VirtualNetworkTaps
+ }).(VirtualNetworkTapServiceGatewayResponseArrayOutput)
}
-// Contains IPv6 peering config.
-type Ipv6ExpressRouteCircuitPeeringConfigOutput struct{ *pulumi.OutputState }
+type NetworkInterfaceIPConfigurationServiceGatewayResponseArrayOutput struct{ *pulumi.OutputState }
-func (Ipv6ExpressRouteCircuitPeeringConfigOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*Ipv6ExpressRouteCircuitPeeringConfig)(nil)).Elem()
+func (NetworkInterfaceIPConfigurationServiceGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceIPConfigurationServiceGatewayResponse)(nil)).Elem()
}
-func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) ToIpv6ExpressRouteCircuitPeeringConfigOutput() Ipv6ExpressRouteCircuitPeeringConfigOutput {
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseArrayOutput) ToNetworkInterfaceIPConfigurationServiceGatewayResponseArrayOutput() NetworkInterfaceIPConfigurationServiceGatewayResponseArrayOutput {
return o
}
-func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) ToIpv6ExpressRouteCircuitPeeringConfigOutputWithContext(ctx context.Context) Ipv6ExpressRouteCircuitPeeringConfigOutput {
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseArrayOutput) ToNetworkInterfaceIPConfigurationServiceGatewayResponseArrayOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationServiceGatewayResponseArrayOutput {
return o
}
-func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) ToIpv6ExpressRouteCircuitPeeringConfigPtrOutput() Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
- return o.ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(context.Background())
+func (o NetworkInterfaceIPConfigurationServiceGatewayResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceIPConfigurationServiceGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceIPConfigurationServiceGatewayResponse {
+ return vs[0].([]NetworkInterfaceIPConfigurationServiceGatewayResponse)[vs[1].(int)]
+ }).(NetworkInterfaceIPConfigurationServiceGatewayResponseOutput)
}
-func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx context.Context) Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v Ipv6ExpressRouteCircuitPeeringConfig) *Ipv6ExpressRouteCircuitPeeringConfig {
- return &v
- }).(Ipv6ExpressRouteCircuitPeeringConfigPtrOutput)
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse struct {
+ // The reference to ApplicationGatewayBackendAddressPool resource.
+ ApplicationGatewayBackendAddressPools []ApplicationGatewayBackendAddressPoolResponse `pulumi:"applicationGatewayBackendAddressPools"`
+ // Application security groups in which the IP configuration is included.
+ ApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"applicationSecurityGroups"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The reference to gateway load balancer frontend IP.
+ GatewayLoadBalancer *SubResourceResponse `pulumi:"gatewayLoadBalancer"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The reference to LoadBalancerBackendAddressPool resource.
+ LoadBalancerBackendAddressPools []BackendAddressPoolResponse `pulumi:"loadBalancerBackendAddressPools"`
+ // A list of references of LoadBalancerInboundNatRules.
+ LoadBalancerInboundNatRules []InboundNatRuleResponse `pulumi:"loadBalancerInboundNatRules"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // Whether this is a primary customer address on the network interface.
+ Primary *bool `pulumi:"primary"`
+ // Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
+ PrivateIPAddressPrefixLength *int `pulumi:"privateIPAddressPrefixLength"`
+ // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+ PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // PrivateLinkConnection properties for the network interface.
+ PrivateLinkConnectionProperties NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse `pulumi:"privateLinkConnectionProperties"`
+ // The provisioning state of the network interface IP configuration.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Public IP address bound to the IP configuration.
+ PublicIPAddress *PublicIPAddressVirtualNetworkApplianceResponse `pulumi:"publicIPAddress"`
+ // Subnet bound to the IP configuration.
+ Subnet *SubnetResponse `pulumi:"subnet"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // The reference to Virtual Network Taps.
+ VirtualNetworkTaps []VirtualNetworkTapVirtualNetworkApplianceResponse `pulumi:"virtualNetworkTaps"`
}
-// The Microsoft peering configuration.
-func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) MicrosoftPeeringConfig() ExpressRouteCircuitPeeringConfigPtrOutput {
- return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfig) *ExpressRouteCircuitPeeringConfig {
- return v.MicrosoftPeeringConfig
- }).(ExpressRouteCircuitPeeringConfigPtrOutput)
-}
+// Defaults sets the appropriate defaults for NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse
+func (val *NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) Defaults() *NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
-// The primary address prefix.
-func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) PrimaryPeerAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfig) *string { return v.PrimaryPeerAddressPrefix }).(pulumi.StringPtrOutput)
+ tmp.Subnet = tmp.Subnet.Defaults()
+
+ return &tmp
}
-// The reference to the RouteFilter resource.
-func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) RouteFilter() SubResourcePtrOutput {
- return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfig) *SubResource { return v.RouteFilter }).(SubResourcePtrOutput)
+// IPConfiguration in a network interface.
+type NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse)(nil)).Elem()
}
-// The secondary address prefix.
-func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) SecondaryPeerAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfig) *string { return v.SecondaryPeerAddressPrefix }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) ToNetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput() NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput {
+ return o
}
-// The state of peering.
-func (o Ipv6ExpressRouteCircuitPeeringConfigOutput) State() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfig) *string { return v.State }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) ToNetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput {
+ return o
}
-type Ipv6ExpressRouteCircuitPeeringConfigPtrOutput struct{ *pulumi.OutputState }
+// The reference to ApplicationGatewayBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) ApplicationGatewayBackendAddressPools() ApplicationGatewayBackendAddressPoolResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) []ApplicationGatewayBackendAddressPoolResponse {
+ return v.ApplicationGatewayBackendAddressPools
+ }).(ApplicationGatewayBackendAddressPoolResponseArrayOutput)
+}
-func (Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**Ipv6ExpressRouteCircuitPeeringConfig)(nil)).Elem()
+// Application security groups in which the IP configuration is included.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) ApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) []ApplicationSecurityGroupResponse {
+ return v.ApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
}
-func (o Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) ToIpv6ExpressRouteCircuitPeeringConfigPtrOutput() Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (o Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) ToIpv6ExpressRouteCircuitPeeringConfigPtrOutputWithContext(ctx context.Context) Ipv6ExpressRouteCircuitPeeringConfigPtrOutput {
- return o
+// The reference to gateway load balancer frontend IP.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) GatewayLoadBalancer() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) *SubResourceResponse {
+ return v.GatewayLoadBalancer
+ }).(SubResourceResponsePtrOutput)
}
-func (o Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) Elem() Ipv6ExpressRouteCircuitPeeringConfigOutput {
- return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfig) Ipv6ExpressRouteCircuitPeeringConfig {
- if v != nil {
- return *v
- }
- var ret Ipv6ExpressRouteCircuitPeeringConfig
- return ret
- }).(Ipv6ExpressRouteCircuitPeeringConfigOutput)
+// Resource ID.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The Microsoft peering configuration.
-func (o Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) MicrosoftPeeringConfig() ExpressRouteCircuitPeeringConfigPtrOutput {
- return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfig) *ExpressRouteCircuitPeeringConfig {
- if v == nil {
- return nil
- }
- return v.MicrosoftPeeringConfig
- }).(ExpressRouteCircuitPeeringConfigPtrOutput)
+// The reference to LoadBalancerBackendAddressPool resource.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) LoadBalancerBackendAddressPools() BackendAddressPoolResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) []BackendAddressPoolResponse {
+ return v.LoadBalancerBackendAddressPools
+ }).(BackendAddressPoolResponseArrayOutput)
}
-// The primary address prefix.
-func (o Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) PrimaryPeerAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfig) *string {
- if v == nil {
- return nil
- }
- return v.PrimaryPeerAddressPrefix
- }).(pulumi.StringPtrOutput)
+// A list of references of LoadBalancerInboundNatRules.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) LoadBalancerInboundNatRules() InboundNatRuleResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) []InboundNatRuleResponse {
+ return v.LoadBalancerInboundNatRules
+ }).(InboundNatRuleResponseArrayOutput)
}
-// The reference to the RouteFilter resource.
-func (o Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) RouteFilter() SubResourcePtrOutput {
- return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfig) *SubResource {
- if v == nil {
- return nil
- }
- return v.RouteFilter
- }).(SubResourcePtrOutput)
+// Name of the resource.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The secondary address prefix.
-func (o Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) SecondaryPeerAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfig) *string {
- if v == nil {
- return nil
- }
- return v.SecondaryPeerAddressPrefix
- }).(pulumi.StringPtrOutput)
+// Whether this is a primary customer address on the network interface.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
}
-// The state of peering.
-func (o Ipv6ExpressRouteCircuitPeeringConfigPtrOutput) State() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfig) *string {
- if v == nil {
- return nil
- }
- return v.State
+// Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) *string {
+ return v.PrivateIPAddress
}).(pulumi.StringPtrOutput)
}
-// Contains IPv6 peering config.
-type Ipv6ExpressRouteCircuitPeeringConfigResponse struct {
- // The Microsoft peering configuration.
- MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfigResponse `pulumi:"microsoftPeeringConfig"`
- // The primary address prefix.
- PrimaryPeerAddressPrefix *string `pulumi:"primaryPeerAddressPrefix"`
- // The reference to the RouteFilter resource.
- RouteFilter *SubResourceResponse `pulumi:"routeFilter"`
- // The secondary address prefix.
- SecondaryPeerAddressPrefix *string `pulumi:"secondaryPeerAddressPrefix"`
- // The state of peering.
- State *string `pulumi:"state"`
+// The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) PrivateIPAddressPrefixLength() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) *int {
+ return v.PrivateIPAddressPrefixLength
+ }).(pulumi.IntPtrOutput)
}
-// Contains IPv6 peering config.
-type Ipv6ExpressRouteCircuitPeeringConfigResponseOutput struct{ *pulumi.OutputState }
-
-func (Ipv6ExpressRouteCircuitPeeringConfigResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*Ipv6ExpressRouteCircuitPeeringConfigResponse)(nil)).Elem()
+// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) *string {
+ return v.PrivateIPAddressVersion
+ }).(pulumi.StringPtrOutput)
}
-func (o Ipv6ExpressRouteCircuitPeeringConfigResponseOutput) ToIpv6ExpressRouteCircuitPeeringConfigResponseOutput() Ipv6ExpressRouteCircuitPeeringConfigResponseOutput {
- return o
+// The private IP address allocation method.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) *string {
+ return v.PrivateIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
}
-func (o Ipv6ExpressRouteCircuitPeeringConfigResponseOutput) ToIpv6ExpressRouteCircuitPeeringConfigResponseOutputWithContext(ctx context.Context) Ipv6ExpressRouteCircuitPeeringConfigResponseOutput {
- return o
+// PrivateLinkConnection properties for the network interface.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) PrivateLinkConnectionProperties() NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse {
+ return v.PrivateLinkConnectionProperties
+ }).(NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput)
}
-// The Microsoft peering configuration.
-func (o Ipv6ExpressRouteCircuitPeeringConfigResponseOutput) MicrosoftPeeringConfig() ExpressRouteCircuitPeeringConfigResponsePtrOutput {
- return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfigResponse) *ExpressRouteCircuitPeeringConfigResponse {
- return v.MicrosoftPeeringConfig
- }).(ExpressRouteCircuitPeeringConfigResponsePtrOutput)
+// The provisioning state of the network interface IP configuration.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) string {
+ return v.ProvisioningState
+ }).(pulumi.StringOutput)
}
-// The primary address prefix.
-func (o Ipv6ExpressRouteCircuitPeeringConfigResponseOutput) PrimaryPeerAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfigResponse) *string { return v.PrimaryPeerAddressPrefix }).(pulumi.StringPtrOutput)
+// Public IP address bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) PublicIPAddress() PublicIPAddressVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) *PublicIPAddressVirtualNetworkApplianceResponse {
+ return v.PublicIPAddress
+ }).(PublicIPAddressVirtualNetworkApplianceResponsePtrOutput)
}
-// The reference to the RouteFilter resource.
-func (o Ipv6ExpressRouteCircuitPeeringConfigResponseOutput) RouteFilter() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfigResponse) *SubResourceResponse { return v.RouteFilter }).(SubResourceResponsePtrOutput)
+// Subnet bound to the IP configuration.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) *SubnetResponse {
+ return v.Subnet
+ }).(SubnetResponsePtrOutput)
}
-// The secondary address prefix.
-func (o Ipv6ExpressRouteCircuitPeeringConfigResponseOutput) SecondaryPeerAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfigResponse) *string { return v.SecondaryPeerAddressPrefix }).(pulumi.StringPtrOutput)
+// Resource type.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// The state of peering.
-func (o Ipv6ExpressRouteCircuitPeeringConfigResponseOutput) State() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Ipv6ExpressRouteCircuitPeeringConfigResponse) *string { return v.State }).(pulumi.StringPtrOutput)
+// The reference to Virtual Network Taps.
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput) VirtualNetworkTaps() VirtualNetworkTapVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse) []VirtualNetworkTapVirtualNetworkApplianceResponse {
+ return v.VirtualNetworkTaps
+ }).(VirtualNetworkTapVirtualNetworkApplianceResponseArrayOutput)
}
-type Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput struct{ *pulumi.OutputState }
+type NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseArrayOutput struct{ *pulumi.OutputState }
-func (Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**Ipv6ExpressRouteCircuitPeeringConfigResponse)(nil)).Elem()
+func (NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) ToIpv6ExpressRouteCircuitPeeringConfigResponsePtrOutput() Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput {
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseArrayOutput) ToNetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseArrayOutput() NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) ToIpv6ExpressRouteCircuitPeeringConfigResponsePtrOutputWithContext(ctx context.Context) Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput {
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseArrayOutput) ToNetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseArrayOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) Elem() Ipv6ExpressRouteCircuitPeeringConfigResponseOutput {
- return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfigResponse) Ipv6ExpressRouteCircuitPeeringConfigResponse {
- if v != nil {
- return *v
- }
- var ret Ipv6ExpressRouteCircuitPeeringConfigResponse
- return ret
- }).(Ipv6ExpressRouteCircuitPeeringConfigResponseOutput)
+func (o NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse {
+ return vs[0].([]NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponse)[vs[1].(int)]
+ }).(NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput)
}
-// The Microsoft peering configuration.
-func (o Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) MicrosoftPeeringConfig() ExpressRouteCircuitPeeringConfigResponsePtrOutput {
- return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfigResponse) *ExpressRouteCircuitPeeringConfigResponse {
- if v == nil {
- return nil
- }
- return v.MicrosoftPeeringConfig
- }).(ExpressRouteCircuitPeeringConfigResponsePtrOutput)
+// A network interface in a resource group.
+type NetworkInterfaceInterfaceEndpointResponse struct {
+ // The DNS settings in network interface.
+ DnsSettings *NetworkInterfaceDnsSettingsInterfaceEndpointResponse `pulumi:"dnsSettings"`
+ // If the network interface is accelerated networking enabled.
+ EnableAcceleratedNetworking *bool `pulumi:"enableAcceleratedNetworking"`
+ // Indicates whether IP forwarding is enabled on this network interface.
+ EnableIPForwarding *bool `pulumi:"enableIPForwarding"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // A list of references to linked BareMetal resources
+ HostedWorkloads []string `pulumi:"hostedWorkloads"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // A reference to the interface endpoint to which the network interface is linked.
+ InterfaceEndpoint InterfaceEndpointResponse `pulumi:"interfaceEndpoint"`
+ // A list of IPConfigurations of the network interface.
+ IpConfigurations []NetworkInterfaceIPConfigurationResponseV1 `pulumi:"ipConfigurations"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // The MAC address of the network interface.
+ MacAddress *string `pulumi:"macAddress"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The reference of the NetworkSecurityGroup resource.
+ NetworkSecurityGroup *NetworkSecurityGroupInterfaceEndpointResponse `pulumi:"networkSecurityGroup"`
+ // Gets whether this is a primary network interface on a virtual machine.
+ Primary *bool `pulumi:"primary"`
+ // The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState *string `pulumi:"provisioningState"`
+ // The resource GUID property of the network interface resource.
+ ResourceGuid *string `pulumi:"resourceGuid"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // A list of TapConfigurations of the network interface.
+ TapConfigurations []NetworkInterfaceTapConfigurationResponseV1 `pulumi:"tapConfigurations"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // The reference of a virtual machine.
+ VirtualMachine SubResourceResponse `pulumi:"virtualMachine"`
}
-// The primary address prefix.
-func (o Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) PrimaryPeerAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfigResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrimaryPeerAddressPrefix
- }).(pulumi.StringPtrOutput)
-}
+// A network interface in a resource group.
+type NetworkInterfaceInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
-// The reference to the RouteFilter resource.
-func (o Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) RouteFilter() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfigResponse) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.RouteFilter
- }).(SubResourceResponsePtrOutput)
+func (NetworkInterfaceInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceInterfaceEndpointResponse)(nil)).Elem()
}
-// The secondary address prefix.
-func (o Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) SecondaryPeerAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfigResponse) *string {
- if v == nil {
- return nil
- }
- return v.SecondaryPeerAddressPrefix
- }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) ToNetworkInterfaceInterfaceEndpointResponseOutput() NetworkInterfaceInterfaceEndpointResponseOutput {
+ return o
}
-// The state of peering.
-func (o Ipv6ExpressRouteCircuitPeeringConfigResponsePtrOutput) State() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *Ipv6ExpressRouteCircuitPeeringConfigResponse) *string {
- if v == nil {
- return nil
- }
- return v.State
- }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) ToNetworkInterfaceInterfaceEndpointResponseOutputWithContext(ctx context.Context) NetworkInterfaceInterfaceEndpointResponseOutput {
+ return o
}
-// Load balancer backend addresses.
-type LoadBalancerBackendAddress struct {
- // A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.
- AdminState *string `pulumi:"adminState"`
- // IP Address belonging to the referenced virtual network.
- IpAddress *string `pulumi:"ipAddress"`
- // Reference to the frontend ip address configuration defined in regional loadbalancer.
- LoadBalancerFrontendIPConfiguration *SubResource `pulumi:"loadBalancerFrontendIPConfiguration"`
- // Name of the backend address.
- Name *string `pulumi:"name"`
- // Reference to an existing subnet.
- Subnet *SubResource `pulumi:"subnet"`
- // Reference to an existing virtual network.
- VirtualNetwork *SubResource `pulumi:"virtualNetwork"`
+// The DNS settings in network interface.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) DnsSettings() NetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) *NetworkInterfaceDnsSettingsInterfaceEndpointResponse {
+ return v.DnsSettings
+ }).(NetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutput)
}
-// LoadBalancerBackendAddressInput is an input type that accepts LoadBalancerBackendAddressArgs and LoadBalancerBackendAddressOutput values.
-// You can construct a concrete instance of `LoadBalancerBackendAddressInput` via:
-//
-// LoadBalancerBackendAddressArgs{...}
-type LoadBalancerBackendAddressInput interface {
- pulumi.Input
-
- ToLoadBalancerBackendAddressOutput() LoadBalancerBackendAddressOutput
- ToLoadBalancerBackendAddressOutputWithContext(context.Context) LoadBalancerBackendAddressOutput
+// If the network interface is accelerated networking enabled.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) EnableAcceleratedNetworking() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) *bool { return v.EnableAcceleratedNetworking }).(pulumi.BoolPtrOutput)
}
-// Load balancer backend addresses.
-type LoadBalancerBackendAddressArgs struct {
- // A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.
- AdminState pulumi.StringPtrInput `pulumi:"adminState"`
- // IP Address belonging to the referenced virtual network.
- IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
- // Reference to the frontend ip address configuration defined in regional loadbalancer.
- LoadBalancerFrontendIPConfiguration SubResourcePtrInput `pulumi:"loadBalancerFrontendIPConfiguration"`
- // Name of the backend address.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Reference to an existing subnet.
- Subnet SubResourcePtrInput `pulumi:"subnet"`
- // Reference to an existing virtual network.
- VirtualNetwork SubResourcePtrInput `pulumi:"virtualNetwork"`
+// Indicates whether IP forwarding is enabled on this network interface.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) EnableIPForwarding() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) *bool { return v.EnableIPForwarding }).(pulumi.BoolPtrOutput)
}
-func (LoadBalancerBackendAddressArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*LoadBalancerBackendAddress)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-func (i LoadBalancerBackendAddressArgs) ToLoadBalancerBackendAddressOutput() LoadBalancerBackendAddressOutput {
- return i.ToLoadBalancerBackendAddressOutputWithContext(context.Background())
+// A list of references to linked BareMetal resources
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) HostedWorkloads() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) []string { return v.HostedWorkloads }).(pulumi.StringArrayOutput)
}
-func (i LoadBalancerBackendAddressArgs) ToLoadBalancerBackendAddressOutputWithContext(ctx context.Context) LoadBalancerBackendAddressOutput {
- return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerBackendAddressOutput)
+// Resource ID.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// LoadBalancerBackendAddressArrayInput is an input type that accepts LoadBalancerBackendAddressArray and LoadBalancerBackendAddressArrayOutput values.
-// You can construct a concrete instance of `LoadBalancerBackendAddressArrayInput` via:
-//
-// LoadBalancerBackendAddressArray{ LoadBalancerBackendAddressArgs{...} }
-type LoadBalancerBackendAddressArrayInput interface {
- pulumi.Input
-
- ToLoadBalancerBackendAddressArrayOutput() LoadBalancerBackendAddressArrayOutput
- ToLoadBalancerBackendAddressArrayOutputWithContext(context.Context) LoadBalancerBackendAddressArrayOutput
+// A reference to the interface endpoint to which the network interface is linked.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) InterfaceEndpoint() InterfaceEndpointResponseOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) InterfaceEndpointResponse {
+ return v.InterfaceEndpoint
+ }).(InterfaceEndpointResponseOutput)
}
-type LoadBalancerBackendAddressArray []LoadBalancerBackendAddressInput
-
-func (LoadBalancerBackendAddressArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]LoadBalancerBackendAddress)(nil)).Elem()
+// A list of IPConfigurations of the network interface.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) IpConfigurations() NetworkInterfaceIPConfigurationResponseV1ArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) []NetworkInterfaceIPConfigurationResponseV1 {
+ return v.IpConfigurations
+ }).(NetworkInterfaceIPConfigurationResponseV1ArrayOutput)
}
-func (i LoadBalancerBackendAddressArray) ToLoadBalancerBackendAddressArrayOutput() LoadBalancerBackendAddressArrayOutput {
- return i.ToLoadBalancerBackendAddressArrayOutputWithContext(context.Background())
+// Resource location.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (i LoadBalancerBackendAddressArray) ToLoadBalancerBackendAddressArrayOutputWithContext(ctx context.Context) LoadBalancerBackendAddressArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerBackendAddressArrayOutput)
+// The MAC address of the network interface.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) MacAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) *string { return v.MacAddress }).(pulumi.StringPtrOutput)
}
-// Load balancer backend addresses.
-type LoadBalancerBackendAddressOutput struct{ *pulumi.OutputState }
-
-func (LoadBalancerBackendAddressOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*LoadBalancerBackendAddress)(nil)).Elem()
+// Resource name.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (o LoadBalancerBackendAddressOutput) ToLoadBalancerBackendAddressOutput() LoadBalancerBackendAddressOutput {
- return o
+// The reference of the NetworkSecurityGroup resource.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) NetworkSecurityGroup() NetworkSecurityGroupInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) *NetworkSecurityGroupInterfaceEndpointResponse {
+ return v.NetworkSecurityGroup
+ }).(NetworkSecurityGroupInterfaceEndpointResponsePtrOutput)
}
-func (o LoadBalancerBackendAddressOutput) ToLoadBalancerBackendAddressOutputWithContext(ctx context.Context) LoadBalancerBackendAddressOutput {
- return o
+// Gets whether this is a primary network interface on a virtual machine.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
}
-// A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.
-func (o LoadBalancerBackendAddressOutput) AdminState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LoadBalancerBackendAddress) *string { return v.AdminState }).(pulumi.StringPtrOutput)
+// The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-// IP Address belonging to the referenced virtual network.
-func (o LoadBalancerBackendAddressOutput) IpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LoadBalancerBackendAddress) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
+// The resource GUID property of the network interface resource.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) *string { return v.ResourceGuid }).(pulumi.StringPtrOutput)
}
-// Reference to the frontend ip address configuration defined in regional loadbalancer.
-func (o LoadBalancerBackendAddressOutput) LoadBalancerFrontendIPConfiguration() SubResourcePtrOutput {
- return o.ApplyT(func(v LoadBalancerBackendAddress) *SubResource { return v.LoadBalancerFrontendIPConfiguration }).(SubResourcePtrOutput)
+// Resource tags.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// Name of the backend address.
-func (o LoadBalancerBackendAddressOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LoadBalancerBackendAddress) *string { return v.Name }).(pulumi.StringPtrOutput)
+// A list of TapConfigurations of the network interface.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) TapConfigurations() NetworkInterfaceTapConfigurationResponseV1ArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) []NetworkInterfaceTapConfigurationResponseV1 {
+ return v.TapConfigurations
+ }).(NetworkInterfaceTapConfigurationResponseV1ArrayOutput)
}
-// Reference to an existing subnet.
-func (o LoadBalancerBackendAddressOutput) Subnet() SubResourcePtrOutput {
- return o.ApplyT(func(v LoadBalancerBackendAddress) *SubResource { return v.Subnet }).(SubResourcePtrOutput)
+// Resource type.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Reference to an existing virtual network.
-func (o LoadBalancerBackendAddressOutput) VirtualNetwork() SubResourcePtrOutput {
- return o.ApplyT(func(v LoadBalancerBackendAddress) *SubResource { return v.VirtualNetwork }).(SubResourcePtrOutput)
+// The reference of a virtual machine.
+func (o NetworkInterfaceInterfaceEndpointResponseOutput) VirtualMachine() SubResourceResponseOutput {
+ return o.ApplyT(func(v NetworkInterfaceInterfaceEndpointResponse) SubResourceResponse { return v.VirtualMachine }).(SubResourceResponseOutput)
}
-type LoadBalancerBackendAddressArrayOutput struct{ *pulumi.OutputState }
+type NetworkInterfaceInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
-func (LoadBalancerBackendAddressArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]LoadBalancerBackendAddress)(nil)).Elem()
+func (NetworkInterfaceInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceInterfaceEndpointResponse)(nil)).Elem()
}
-func (o LoadBalancerBackendAddressArrayOutput) ToLoadBalancerBackendAddressArrayOutput() LoadBalancerBackendAddressArrayOutput {
+func (o NetworkInterfaceInterfaceEndpointResponseArrayOutput) ToNetworkInterfaceInterfaceEndpointResponseArrayOutput() NetworkInterfaceInterfaceEndpointResponseArrayOutput {
return o
}
-func (o LoadBalancerBackendAddressArrayOutput) ToLoadBalancerBackendAddressArrayOutputWithContext(ctx context.Context) LoadBalancerBackendAddressArrayOutput {
+func (o NetworkInterfaceInterfaceEndpointResponseArrayOutput) ToNetworkInterfaceInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) NetworkInterfaceInterfaceEndpointResponseArrayOutput {
return o
}
-func (o LoadBalancerBackendAddressArrayOutput) Index(i pulumi.IntInput) LoadBalancerBackendAddressOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerBackendAddress {
- return vs[0].([]LoadBalancerBackendAddress)[vs[1].(int)]
- }).(LoadBalancerBackendAddressOutput)
+func (o NetworkInterfaceInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceInterfaceEndpointResponse {
+ return vs[0].([]NetworkInterfaceInterfaceEndpointResponse)[vs[1].(int)]
+ }).(NetworkInterfaceInterfaceEndpointResponseOutput)
}
-// Load balancer backend addresses.
-type LoadBalancerBackendAddressResponse struct {
- // A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.
- AdminState *string `pulumi:"adminState"`
- // Collection of inbound NAT rule port mappings.
- InboundNatRulesPortMapping []NatRulePortMappingResponse `pulumi:"inboundNatRulesPortMapping"`
- // IP Address belonging to the referenced virtual network.
- IpAddress *string `pulumi:"ipAddress"`
- // Reference to the frontend ip address configuration defined in regional loadbalancer.
- LoadBalancerFrontendIPConfiguration *SubResourceResponse `pulumi:"loadBalancerFrontendIPConfiguration"`
- // Name of the backend address.
- Name *string `pulumi:"name"`
- // Reference to IP address defined in network interfaces.
- NetworkInterfaceIPConfiguration SubResourceResponse `pulumi:"networkInterfaceIPConfiguration"`
- // Reference to an existing subnet.
- Subnet *SubResourceResponse `pulumi:"subnet"`
- // Reference to an existing virtual network.
- VirtualNetwork *SubResourceResponse `pulumi:"virtualNetwork"`
+// A network interface in a resource group.
+type NetworkInterfaceResponse struct {
+ // Auxiliary mode of Network Interface resource.
+ AuxiliaryMode *string `pulumi:"auxiliaryMode"`
+ // Auxiliary sku of Network Interface resource.
+ AuxiliarySku *string `pulumi:"auxiliarySku"`
+ // Whether default outbound connectivity for nic was configured or not.
+ DefaultOutboundConnectivityEnabled bool `pulumi:"defaultOutboundConnectivityEnabled"`
+ // Indicates whether to disable tcp state tracking.
+ DisableTcpStateTracking *bool `pulumi:"disableTcpStateTracking"`
+ // The DNS settings in network interface.
+ DnsSettings *NetworkInterfaceDnsSettingsResponse `pulumi:"dnsSettings"`
+ // A reference to the dscp configuration to which the network interface is linked.
+ DscpConfiguration SubResourceResponse `pulumi:"dscpConfiguration"`
+ // If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking.
+ EnableAcceleratedNetworking *bool `pulumi:"enableAcceleratedNetworking"`
+ // Indicates whether IP forwarding is enabled on this network interface.
+ EnableIPForwarding *bool `pulumi:"enableIPForwarding"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The extended location of the network interface.
+ ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
+ // A list of references to linked BareMetal resources.
+ HostedWorkloads []string `pulumi:"hostedWorkloads"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // A list of IPConfigurations of the network interface.
+ IpConfigurations []NetworkInterfaceIPConfigurationResponse `pulumi:"ipConfigurations"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // The MAC address of the network interface.
+ MacAddress string `pulumi:"macAddress"`
+ // Migration phase of Network Interface resource.
+ MigrationPhase *string `pulumi:"migrationPhase"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The reference to the NetworkSecurityGroup resource.
+ NetworkSecurityGroup *NetworkSecurityGroupResponse `pulumi:"networkSecurityGroup"`
+ // Type of Network Interface resource.
+ NicType *string `pulumi:"nicType"`
+ // Whether this is a primary network interface on a virtual machine.
+ Primary bool `pulumi:"primary"`
+ // A reference to the private endpoint to which the network interface is linked.
+ PrivateEndpoint PrivateEndpointResponse `pulumi:"privateEndpoint"`
+ // Privatelinkservice of the network interface resource.
+ PrivateLinkService *PrivateLinkServiceResponse `pulumi:"privateLinkService"`
+ // The provisioning state of the network interface resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The resource GUID property of the network interface resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // A list of TapConfigurations of the network interface.
+ TapConfigurations []NetworkInterfaceTapConfigurationResponse `pulumi:"tapConfigurations"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // The reference to a virtual machine.
+ VirtualMachine SubResourceResponse `pulumi:"virtualMachine"`
+ // Whether the virtual machine this nic is attached to supports encryption.
+ VnetEncryptionSupported bool `pulumi:"vnetEncryptionSupported"`
+ // WorkloadType of the NetworkInterface for BareMetal resources
+ WorkloadType *string `pulumi:"workloadType"`
}
-// Load balancer backend addresses.
-type LoadBalancerBackendAddressResponseOutput struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for NetworkInterfaceResponse
+func (val *NetworkInterfaceResponse) Defaults() *NetworkInterfaceResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PrivateEndpoint = *tmp.PrivateEndpoint.Defaults()
-func (LoadBalancerBackendAddressResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*LoadBalancerBackendAddressResponse)(nil)).Elem()
+ return &tmp
}
-func (o LoadBalancerBackendAddressResponseOutput) ToLoadBalancerBackendAddressResponseOutput() LoadBalancerBackendAddressResponseOutput {
+// A network interface in a resource group.
+type NetworkInterfaceResponseOutput struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceResponse)(nil)).Elem()
+}
+
+func (o NetworkInterfaceResponseOutput) ToNetworkInterfaceResponseOutput() NetworkInterfaceResponseOutput {
return o
}
-func (o LoadBalancerBackendAddressResponseOutput) ToLoadBalancerBackendAddressResponseOutputWithContext(ctx context.Context) LoadBalancerBackendAddressResponseOutput {
+func (o NetworkInterfaceResponseOutput) ToNetworkInterfaceResponseOutputWithContext(ctx context.Context) NetworkInterfaceResponseOutput {
return o
}
-// A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.
-func (o LoadBalancerBackendAddressResponseOutput) AdminState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LoadBalancerBackendAddressResponse) *string { return v.AdminState }).(pulumi.StringPtrOutput)
+// Auxiliary mode of Network Interface resource.
+func (o NetworkInterfaceResponseOutput) AuxiliaryMode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) *string { return v.AuxiliaryMode }).(pulumi.StringPtrOutput)
}
-// Collection of inbound NAT rule port mappings.
-func (o LoadBalancerBackendAddressResponseOutput) InboundNatRulesPortMapping() NatRulePortMappingResponseArrayOutput {
- return o.ApplyT(func(v LoadBalancerBackendAddressResponse) []NatRulePortMappingResponse {
- return v.InboundNatRulesPortMapping
- }).(NatRulePortMappingResponseArrayOutput)
+// Auxiliary sku of Network Interface resource.
+func (o NetworkInterfaceResponseOutput) AuxiliarySku() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) *string { return v.AuxiliarySku }).(pulumi.StringPtrOutput)
}
-// IP Address belonging to the referenced virtual network.
-func (o LoadBalancerBackendAddressResponseOutput) IpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LoadBalancerBackendAddressResponse) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
+// Whether default outbound connectivity for nic was configured or not.
+func (o NetworkInterfaceResponseOutput) DefaultOutboundConnectivityEnabled() pulumi.BoolOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) bool { return v.DefaultOutboundConnectivityEnabled }).(pulumi.BoolOutput)
}
-// Reference to the frontend ip address configuration defined in regional loadbalancer.
-func (o LoadBalancerBackendAddressResponseOutput) LoadBalancerFrontendIPConfiguration() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v LoadBalancerBackendAddressResponse) *SubResourceResponse {
- return v.LoadBalancerFrontendIPConfiguration
- }).(SubResourceResponsePtrOutput)
+// Indicates whether to disable tcp state tracking.
+func (o NetworkInterfaceResponseOutput) DisableTcpStateTracking() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) *bool { return v.DisableTcpStateTracking }).(pulumi.BoolPtrOutput)
}
-// Name of the backend address.
-func (o LoadBalancerBackendAddressResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LoadBalancerBackendAddressResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The DNS settings in network interface.
+func (o NetworkInterfaceResponseOutput) DnsSettings() NetworkInterfaceDnsSettingsResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) *NetworkInterfaceDnsSettingsResponse { return v.DnsSettings }).(NetworkInterfaceDnsSettingsResponsePtrOutput)
}
-// Reference to IP address defined in network interfaces.
-func (o LoadBalancerBackendAddressResponseOutput) NetworkInterfaceIPConfiguration() SubResourceResponseOutput {
- return o.ApplyT(func(v LoadBalancerBackendAddressResponse) SubResourceResponse {
- return v.NetworkInterfaceIPConfiguration
- }).(SubResourceResponseOutput)
+// A reference to the dscp configuration to which the network interface is linked.
+func (o NetworkInterfaceResponseOutput) DscpConfiguration() SubResourceResponseOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) SubResourceResponse { return v.DscpConfiguration }).(SubResourceResponseOutput)
}
-// Reference to an existing subnet.
-func (o LoadBalancerBackendAddressResponseOutput) Subnet() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v LoadBalancerBackendAddressResponse) *SubResourceResponse { return v.Subnet }).(SubResourceResponsePtrOutput)
+// If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking.
+func (o NetworkInterfaceResponseOutput) EnableAcceleratedNetworking() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) *bool { return v.EnableAcceleratedNetworking }).(pulumi.BoolPtrOutput)
}
-// Reference to an existing virtual network.
-func (o LoadBalancerBackendAddressResponseOutput) VirtualNetwork() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v LoadBalancerBackendAddressResponse) *SubResourceResponse { return v.VirtualNetwork }).(SubResourceResponsePtrOutput)
+// Indicates whether IP forwarding is enabled on this network interface.
+func (o NetworkInterfaceResponseOutput) EnableIPForwarding() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) *bool { return v.EnableIPForwarding }).(pulumi.BoolPtrOutput)
}
-type LoadBalancerBackendAddressResponseArrayOutput struct{ *pulumi.OutputState }
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) string { return v.Etag }).(pulumi.StringOutput)
+}
-func (LoadBalancerBackendAddressResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]LoadBalancerBackendAddressResponse)(nil)).Elem()
+// The extended location of the network interface.
+func (o NetworkInterfaceResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
}
-func (o LoadBalancerBackendAddressResponseArrayOutput) ToLoadBalancerBackendAddressResponseArrayOutput() LoadBalancerBackendAddressResponseArrayOutput {
- return o
+// A list of references to linked BareMetal resources.
+func (o NetworkInterfaceResponseOutput) HostedWorkloads() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) []string { return v.HostedWorkloads }).(pulumi.StringArrayOutput)
}
-func (o LoadBalancerBackendAddressResponseArrayOutput) ToLoadBalancerBackendAddressResponseArrayOutputWithContext(ctx context.Context) LoadBalancerBackendAddressResponseArrayOutput {
- return o
+// Resource ID.
+func (o NetworkInterfaceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o LoadBalancerBackendAddressResponseArrayOutput) Index(i pulumi.IntInput) LoadBalancerBackendAddressResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerBackendAddressResponse {
- return vs[0].([]LoadBalancerBackendAddressResponse)[vs[1].(int)]
- }).(LoadBalancerBackendAddressResponseOutput)
+// A list of IPConfigurations of the network interface.
+func (o NetworkInterfaceResponseOutput) IpConfigurations() NetworkInterfaceIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) []NetworkInterfaceIPConfigurationResponse { return v.IpConfigurations }).(NetworkInterfaceIPConfigurationResponseArrayOutput)
}
-// SKU of a load balancer.
-type LoadBalancerSku struct {
- // Name of a load balancer SKU.
- Name *string `pulumi:"name"`
- // Tier of a load balancer SKU.
- Tier *string `pulumi:"tier"`
+// Resource location.
+func (o NetworkInterfaceResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// LoadBalancerSkuInput is an input type that accepts LoadBalancerSkuArgs and LoadBalancerSkuOutput values.
-// You can construct a concrete instance of `LoadBalancerSkuInput` via:
-//
-// LoadBalancerSkuArgs{...}
-type LoadBalancerSkuInput interface {
- pulumi.Input
+// The MAC address of the network interface.
+func (o NetworkInterfaceResponseOutput) MacAddress() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) string { return v.MacAddress }).(pulumi.StringOutput)
+}
- ToLoadBalancerSkuOutput() LoadBalancerSkuOutput
- ToLoadBalancerSkuOutputWithContext(context.Context) LoadBalancerSkuOutput
+// Migration phase of Network Interface resource.
+func (o NetworkInterfaceResponseOutput) MigrationPhase() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) *string { return v.MigrationPhase }).(pulumi.StringPtrOutput)
}
-// SKU of a load balancer.
-type LoadBalancerSkuArgs struct {
- // Name of a load balancer SKU.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Tier of a load balancer SKU.
- Tier pulumi.StringPtrInput `pulumi:"tier"`
+// Resource name.
+func (o NetworkInterfaceResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (LoadBalancerSkuArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*LoadBalancerSku)(nil)).Elem()
+// The reference to the NetworkSecurityGroup resource.
+func (o NetworkInterfaceResponseOutput) NetworkSecurityGroup() NetworkSecurityGroupResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) *NetworkSecurityGroupResponse { return v.NetworkSecurityGroup }).(NetworkSecurityGroupResponsePtrOutput)
+}
+
+// Type of Network Interface resource.
+func (o NetworkInterfaceResponseOutput) NicType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) *string { return v.NicType }).(pulumi.StringPtrOutput)
+}
+
+// Whether this is a primary network interface on a virtual machine.
+func (o NetworkInterfaceResponseOutput) Primary() pulumi.BoolOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) bool { return v.Primary }).(pulumi.BoolOutput)
}
-func (i LoadBalancerSkuArgs) ToLoadBalancerSkuOutput() LoadBalancerSkuOutput {
- return i.ToLoadBalancerSkuOutputWithContext(context.Background())
+// A reference to the private endpoint to which the network interface is linked.
+func (o NetworkInterfaceResponseOutput) PrivateEndpoint() PrivateEndpointResponseOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) PrivateEndpointResponse { return v.PrivateEndpoint }).(PrivateEndpointResponseOutput)
}
-func (i LoadBalancerSkuArgs) ToLoadBalancerSkuOutputWithContext(ctx context.Context) LoadBalancerSkuOutput {
- return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerSkuOutput)
+// Privatelinkservice of the network interface resource.
+func (o NetworkInterfaceResponseOutput) PrivateLinkService() PrivateLinkServiceResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) *PrivateLinkServiceResponse { return v.PrivateLinkService }).(PrivateLinkServiceResponsePtrOutput)
}
-func (i LoadBalancerSkuArgs) ToLoadBalancerSkuPtrOutput() LoadBalancerSkuPtrOutput {
- return i.ToLoadBalancerSkuPtrOutputWithContext(context.Background())
+// The provisioning state of the network interface resource.
+func (o NetworkInterfaceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i LoadBalancerSkuArgs) ToLoadBalancerSkuPtrOutputWithContext(ctx context.Context) LoadBalancerSkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerSkuOutput).ToLoadBalancerSkuPtrOutputWithContext(ctx)
+// The resource GUID property of the network interface resource.
+func (o NetworkInterfaceResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// LoadBalancerSkuPtrInput is an input type that accepts LoadBalancerSkuArgs, LoadBalancerSkuPtr and LoadBalancerSkuPtrOutput values.
-// You can construct a concrete instance of `LoadBalancerSkuPtrInput` via:
-//
-// LoadBalancerSkuArgs{...}
-//
-// or:
-//
-// nil
-type LoadBalancerSkuPtrInput interface {
- pulumi.Input
-
- ToLoadBalancerSkuPtrOutput() LoadBalancerSkuPtrOutput
- ToLoadBalancerSkuPtrOutputWithContext(context.Context) LoadBalancerSkuPtrOutput
+// Resource tags.
+func (o NetworkInterfaceResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-type loadBalancerSkuPtrType LoadBalancerSkuArgs
+// A list of TapConfigurations of the network interface.
+func (o NetworkInterfaceResponseOutput) TapConfigurations() NetworkInterfaceTapConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) []NetworkInterfaceTapConfigurationResponse {
+ return v.TapConfigurations
+ }).(NetworkInterfaceTapConfigurationResponseArrayOutput)
+}
-func LoadBalancerSkuPtr(v *LoadBalancerSkuArgs) LoadBalancerSkuPtrInput {
- return (*loadBalancerSkuPtrType)(v)
+// Resource type.
+func (o NetworkInterfaceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (*loadBalancerSkuPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**LoadBalancerSku)(nil)).Elem()
+// The reference to a virtual machine.
+func (o NetworkInterfaceResponseOutput) VirtualMachine() SubResourceResponseOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) SubResourceResponse { return v.VirtualMachine }).(SubResourceResponseOutput)
}
-func (i *loadBalancerSkuPtrType) ToLoadBalancerSkuPtrOutput() LoadBalancerSkuPtrOutput {
- return i.ToLoadBalancerSkuPtrOutputWithContext(context.Background())
+// Whether the virtual machine this nic is attached to supports encryption.
+func (o NetworkInterfaceResponseOutput) VnetEncryptionSupported() pulumi.BoolOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) bool { return v.VnetEncryptionSupported }).(pulumi.BoolOutput)
}
-func (i *loadBalancerSkuPtrType) ToLoadBalancerSkuPtrOutputWithContext(ctx context.Context) LoadBalancerSkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(LoadBalancerSkuPtrOutput)
+// WorkloadType of the NetworkInterface for BareMetal resources
+func (o NetworkInterfaceResponseOutput) WorkloadType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceResponse) *string { return v.WorkloadType }).(pulumi.StringPtrOutput)
}
-// SKU of a load balancer.
-type LoadBalancerSkuOutput struct{ *pulumi.OutputState }
+type NetworkInterfaceResponseArrayOutput struct{ *pulumi.OutputState }
-func (LoadBalancerSkuOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*LoadBalancerSku)(nil)).Elem()
+func (NetworkInterfaceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceResponse)(nil)).Elem()
}
-func (o LoadBalancerSkuOutput) ToLoadBalancerSkuOutput() LoadBalancerSkuOutput {
+func (o NetworkInterfaceResponseArrayOutput) ToNetworkInterfaceResponseArrayOutput() NetworkInterfaceResponseArrayOutput {
return o
}
-func (o LoadBalancerSkuOutput) ToLoadBalancerSkuOutputWithContext(ctx context.Context) LoadBalancerSkuOutput {
+func (o NetworkInterfaceResponseArrayOutput) ToNetworkInterfaceResponseArrayOutputWithContext(ctx context.Context) NetworkInterfaceResponseArrayOutput {
return o
}
-func (o LoadBalancerSkuOutput) ToLoadBalancerSkuPtrOutput() LoadBalancerSkuPtrOutput {
- return o.ToLoadBalancerSkuPtrOutputWithContext(context.Background())
+func (o NetworkInterfaceResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceResponse {
+ return vs[0].([]NetworkInterfaceResponse)[vs[1].(int)]
+ }).(NetworkInterfaceResponseOutput)
}
-func (o LoadBalancerSkuOutput) ToLoadBalancerSkuPtrOutputWithContext(ctx context.Context) LoadBalancerSkuPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v LoadBalancerSku) *LoadBalancerSku {
- return &v
- }).(LoadBalancerSkuPtrOutput)
+// A network interface in a resource group.
+type NetworkInterfaceServiceGatewayResponse struct {
+ // Auxiliary mode of Network Interface resource.
+ AuxiliaryMode *string `pulumi:"auxiliaryMode"`
+ // Auxiliary sku of Network Interface resource.
+ AuxiliarySku *string `pulumi:"auxiliarySku"`
+ // Whether default outbound connectivity for nic was configured or not.
+ DefaultOutboundConnectivityEnabled bool `pulumi:"defaultOutboundConnectivityEnabled"`
+ // Indicates whether to disable tcp state tracking.
+ DisableTcpStateTracking *bool `pulumi:"disableTcpStateTracking"`
+ // The DNS settings in network interface.
+ DnsSettings *NetworkInterfaceDnsSettingsResponse `pulumi:"dnsSettings"`
+ // A reference to the dscp configuration to which the network interface is linked.
+ DscpConfiguration SubResourceResponse `pulumi:"dscpConfiguration"`
+ // If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking.
+ EnableAcceleratedNetworking *bool `pulumi:"enableAcceleratedNetworking"`
+ // Indicates whether IP forwarding is enabled on this network interface.
+ EnableIPForwarding *bool `pulumi:"enableIPForwarding"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The extended location of the network interface.
+ ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
+ // A list of references to linked BareMetal resources.
+ HostedWorkloads []string `pulumi:"hostedWorkloads"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // A list of IPConfigurations of the network interface.
+ IpConfigurations []NetworkInterfaceIPConfigurationResponseV2 `pulumi:"ipConfigurations"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // The MAC address of the network interface.
+ MacAddress string `pulumi:"macAddress"`
+ // Migration phase of Network Interface resource.
+ MigrationPhase *string `pulumi:"migrationPhase"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The reference to the NetworkSecurityGroup resource.
+ NetworkSecurityGroup *NetworkSecurityGroupResponse `pulumi:"networkSecurityGroup"`
+ // Type of Network Interface resource.
+ NicType *string `pulumi:"nicType"`
+ // Whether this is a primary network interface on a virtual machine.
+ Primary bool `pulumi:"primary"`
+ // A reference to the private endpoint to which the network interface is linked.
+ PrivateEndpoint PrivateEndpointServiceGatewayResponse `pulumi:"privateEndpoint"`
+ // Privatelinkservice of the network interface resource.
+ PrivateLinkService *PrivateLinkServiceServiceGatewayResponse `pulumi:"privateLinkService"`
+ // The provisioning state of the network interface resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The resource GUID property of the network interface resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // A list of TapConfigurations of the network interface.
+ TapConfigurations []NetworkInterfaceTapConfigurationServiceGatewayResponse `pulumi:"tapConfigurations"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // The reference to a virtual machine.
+ VirtualMachine SubResourceResponse `pulumi:"virtualMachine"`
+ // Whether the virtual machine this nic is attached to supports encryption.
+ VnetEncryptionSupported bool `pulumi:"vnetEncryptionSupported"`
+ // WorkloadType of the NetworkInterface for BareMetal resources
+ WorkloadType *string `pulumi:"workloadType"`
}
-// Name of a load balancer SKU.
-func (o LoadBalancerSkuOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LoadBalancerSku) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
+// Defaults sets the appropriate defaults for NetworkInterfaceServiceGatewayResponse
+func (val *NetworkInterfaceServiceGatewayResponse) Defaults() *NetworkInterfaceServiceGatewayResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PrivateEndpoint = *tmp.PrivateEndpoint.Defaults()
-// Tier of a load balancer SKU.
-func (o LoadBalancerSkuOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LoadBalancerSku) *string { return v.Tier }).(pulumi.StringPtrOutput)
+ return &tmp
}
-type LoadBalancerSkuPtrOutput struct{ *pulumi.OutputState }
+// A network interface in a resource group.
+type NetworkInterfaceServiceGatewayResponseOutput struct{ *pulumi.OutputState }
-func (LoadBalancerSkuPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**LoadBalancerSku)(nil)).Elem()
+func (NetworkInterfaceServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceServiceGatewayResponse)(nil)).Elem()
}
-func (o LoadBalancerSkuPtrOutput) ToLoadBalancerSkuPtrOutput() LoadBalancerSkuPtrOutput {
+func (o NetworkInterfaceServiceGatewayResponseOutput) ToNetworkInterfaceServiceGatewayResponseOutput() NetworkInterfaceServiceGatewayResponseOutput {
return o
}
-func (o LoadBalancerSkuPtrOutput) ToLoadBalancerSkuPtrOutputWithContext(ctx context.Context) LoadBalancerSkuPtrOutput {
+func (o NetworkInterfaceServiceGatewayResponseOutput) ToNetworkInterfaceServiceGatewayResponseOutputWithContext(ctx context.Context) NetworkInterfaceServiceGatewayResponseOutput {
return o
}
-func (o LoadBalancerSkuPtrOutput) Elem() LoadBalancerSkuOutput {
- return o.ApplyT(func(v *LoadBalancerSku) LoadBalancerSku {
- if v != nil {
- return *v
- }
- var ret LoadBalancerSku
- return ret
- }).(LoadBalancerSkuOutput)
+// Auxiliary mode of Network Interface resource.
+func (o NetworkInterfaceServiceGatewayResponseOutput) AuxiliaryMode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) *string { return v.AuxiliaryMode }).(pulumi.StringPtrOutput)
}
-// Name of a load balancer SKU.
-func (o LoadBalancerSkuPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LoadBalancerSku) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+// Auxiliary sku of Network Interface resource.
+func (o NetworkInterfaceServiceGatewayResponseOutput) AuxiliarySku() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) *string { return v.AuxiliarySku }).(pulumi.StringPtrOutput)
}
-// Tier of a load balancer SKU.
-func (o LoadBalancerSkuPtrOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LoadBalancerSku) *string {
- if v == nil {
- return nil
- }
- return v.Tier
- }).(pulumi.StringPtrOutput)
+// Whether default outbound connectivity for nic was configured or not.
+func (o NetworkInterfaceServiceGatewayResponseOutput) DefaultOutboundConnectivityEnabled() pulumi.BoolOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) bool { return v.DefaultOutboundConnectivityEnabled }).(pulumi.BoolOutput)
}
-// SKU of a load balancer.
-type LoadBalancerSkuResponse struct {
- // Name of a load balancer SKU.
- Name *string `pulumi:"name"`
- // Tier of a load balancer SKU.
- Tier *string `pulumi:"tier"`
+// Indicates whether to disable tcp state tracking.
+func (o NetworkInterfaceServiceGatewayResponseOutput) DisableTcpStateTracking() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) *bool { return v.DisableTcpStateTracking }).(pulumi.BoolPtrOutput)
}
-// SKU of a load balancer.
-type LoadBalancerSkuResponseOutput struct{ *pulumi.OutputState }
+// The DNS settings in network interface.
+func (o NetworkInterfaceServiceGatewayResponseOutput) DnsSettings() NetworkInterfaceDnsSettingsResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) *NetworkInterfaceDnsSettingsResponse {
+ return v.DnsSettings
+ }).(NetworkInterfaceDnsSettingsResponsePtrOutput)
+}
-func (LoadBalancerSkuResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*LoadBalancerSkuResponse)(nil)).Elem()
+// A reference to the dscp configuration to which the network interface is linked.
+func (o NetworkInterfaceServiceGatewayResponseOutput) DscpConfiguration() SubResourceResponseOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) SubResourceResponse { return v.DscpConfiguration }).(SubResourceResponseOutput)
}
-func (o LoadBalancerSkuResponseOutput) ToLoadBalancerSkuResponseOutput() LoadBalancerSkuResponseOutput {
- return o
+// If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking.
+func (o NetworkInterfaceServiceGatewayResponseOutput) EnableAcceleratedNetworking() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) *bool { return v.EnableAcceleratedNetworking }).(pulumi.BoolPtrOutput)
}
-func (o LoadBalancerSkuResponseOutput) ToLoadBalancerSkuResponseOutputWithContext(ctx context.Context) LoadBalancerSkuResponseOutput {
- return o
+// Indicates whether IP forwarding is enabled on this network interface.
+func (o NetworkInterfaceServiceGatewayResponseOutput) EnableIPForwarding() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) *bool { return v.EnableIPForwarding }).(pulumi.BoolPtrOutput)
}
-// Name of a load balancer SKU.
-func (o LoadBalancerSkuResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LoadBalancerSkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Tier of a load balancer SKU.
-func (o LoadBalancerSkuResponseOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LoadBalancerSkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput)
+// The extended location of the network interface.
+func (o NetworkInterfaceServiceGatewayResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
}
-type LoadBalancerSkuResponsePtrOutput struct{ *pulumi.OutputState }
+// A list of references to linked BareMetal resources.
+func (o NetworkInterfaceServiceGatewayResponseOutput) HostedWorkloads() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) []string { return v.HostedWorkloads }).(pulumi.StringArrayOutput)
+}
-func (LoadBalancerSkuResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**LoadBalancerSkuResponse)(nil)).Elem()
+// Resource ID.
+func (o NetworkInterfaceServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o LoadBalancerSkuResponsePtrOutput) ToLoadBalancerSkuResponsePtrOutput() LoadBalancerSkuResponsePtrOutput {
- return o
+// A list of IPConfigurations of the network interface.
+func (o NetworkInterfaceServiceGatewayResponseOutput) IpConfigurations() NetworkInterfaceIPConfigurationResponseV2ArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) []NetworkInterfaceIPConfigurationResponseV2 {
+ return v.IpConfigurations
+ }).(NetworkInterfaceIPConfigurationResponseV2ArrayOutput)
}
-func (o LoadBalancerSkuResponsePtrOutput) ToLoadBalancerSkuResponsePtrOutputWithContext(ctx context.Context) LoadBalancerSkuResponsePtrOutput {
- return o
+// Resource location.
+func (o NetworkInterfaceServiceGatewayResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o LoadBalancerSkuResponsePtrOutput) Elem() LoadBalancerSkuResponseOutput {
- return o.ApplyT(func(v *LoadBalancerSkuResponse) LoadBalancerSkuResponse {
- if v != nil {
- return *v
- }
- var ret LoadBalancerSkuResponse
- return ret
- }).(LoadBalancerSkuResponseOutput)
+// The MAC address of the network interface.
+func (o NetworkInterfaceServiceGatewayResponseOutput) MacAddress() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) string { return v.MacAddress }).(pulumi.StringOutput)
}
-// Name of a load balancer SKU.
-func (o LoadBalancerSkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LoadBalancerSkuResponse) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+// Migration phase of Network Interface resource.
+func (o NetworkInterfaceServiceGatewayResponseOutput) MigrationPhase() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) *string { return v.MigrationPhase }).(pulumi.StringPtrOutput)
}
-// Tier of a load balancer SKU.
-func (o LoadBalancerSkuResponsePtrOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LoadBalancerSkuResponse) *string {
- if v == nil {
- return nil
- }
- return v.Tier
- }).(pulumi.StringPtrOutput)
+// Resource name.
+func (o NetworkInterfaceServiceGatewayResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// A load balancing rule for a load balancer.
-type LoadBalancingRule struct {
- // A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs.
- BackendAddressPool *SubResource `pulumi:"backendAddressPool"`
- // An array of references to pool of DIPs.
- BackendAddressPools []SubResource `pulumi:"backendAddressPools"`
- // The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port".
- BackendPort *int `pulumi:"backendPort"`
- // Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.
- DisableOutboundSnat *bool `pulumi:"disableOutboundSnat"`
- // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
- EnableFloatingIP *bool `pulumi:"enableFloatingIP"`
- // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
- EnableTcpReset *bool `pulumi:"enableTcpReset"`
- // A reference to frontend IP addresses.
- FrontendIPConfiguration *SubResource `pulumi:"frontendIPConfiguration"`
- // The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port".
- FrontendPort int `pulumi:"frontendPort"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
- // The load distribution policy for this rule.
- LoadDistribution *string `pulumi:"loadDistribution"`
- // The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The reference to the load balancer probe used by the load balancing rule.
- Probe *SubResource `pulumi:"probe"`
- // The reference to the transport protocol used by the load balancing rule.
- Protocol string `pulumi:"protocol"`
+// The reference to the NetworkSecurityGroup resource.
+func (o NetworkInterfaceServiceGatewayResponseOutput) NetworkSecurityGroup() NetworkSecurityGroupResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) *NetworkSecurityGroupResponse {
+ return v.NetworkSecurityGroup
+ }).(NetworkSecurityGroupResponsePtrOutput)
}
-// LoadBalancingRuleInput is an input type that accepts LoadBalancingRuleArgs and LoadBalancingRuleOutput values.
-// You can construct a concrete instance of `LoadBalancingRuleInput` via:
-//
-// LoadBalancingRuleArgs{...}
-type LoadBalancingRuleInput interface {
- pulumi.Input
+// Type of Network Interface resource.
+func (o NetworkInterfaceServiceGatewayResponseOutput) NicType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) *string { return v.NicType }).(pulumi.StringPtrOutput)
+}
- ToLoadBalancingRuleOutput() LoadBalancingRuleOutput
- ToLoadBalancingRuleOutputWithContext(context.Context) LoadBalancingRuleOutput
+// Whether this is a primary network interface on a virtual machine.
+func (o NetworkInterfaceServiceGatewayResponseOutput) Primary() pulumi.BoolOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) bool { return v.Primary }).(pulumi.BoolOutput)
}
-// A load balancing rule for a load balancer.
-type LoadBalancingRuleArgs struct {
- // A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs.
- BackendAddressPool SubResourcePtrInput `pulumi:"backendAddressPool"`
- // An array of references to pool of DIPs.
- BackendAddressPools SubResourceArrayInput `pulumi:"backendAddressPools"`
- // The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port".
- BackendPort pulumi.IntPtrInput `pulumi:"backendPort"`
- // Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.
- DisableOutboundSnat pulumi.BoolPtrInput `pulumi:"disableOutboundSnat"`
- // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
- EnableFloatingIP pulumi.BoolPtrInput `pulumi:"enableFloatingIP"`
- // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
- EnableTcpReset pulumi.BoolPtrInput `pulumi:"enableTcpReset"`
- // A reference to frontend IP addresses.
- FrontendIPConfiguration SubResourcePtrInput `pulumi:"frontendIPConfiguration"`
- // The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port".
- FrontendPort pulumi.IntInput `pulumi:"frontendPort"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
- IdleTimeoutInMinutes pulumi.IntPtrInput `pulumi:"idleTimeoutInMinutes"`
- // The load distribution policy for this rule.
- LoadDistribution pulumi.StringPtrInput `pulumi:"loadDistribution"`
- // The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The reference to the load balancer probe used by the load balancing rule.
- Probe SubResourcePtrInput `pulumi:"probe"`
- // The reference to the transport protocol used by the load balancing rule.
- Protocol pulumi.StringInput `pulumi:"protocol"`
+// A reference to the private endpoint to which the network interface is linked.
+func (o NetworkInterfaceServiceGatewayResponseOutput) PrivateEndpoint() PrivateEndpointServiceGatewayResponseOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) PrivateEndpointServiceGatewayResponse {
+ return v.PrivateEndpoint
+ }).(PrivateEndpointServiceGatewayResponseOutput)
}
-func (LoadBalancingRuleArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*LoadBalancingRule)(nil)).Elem()
+// Privatelinkservice of the network interface resource.
+func (o NetworkInterfaceServiceGatewayResponseOutput) PrivateLinkService() PrivateLinkServiceServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) *PrivateLinkServiceServiceGatewayResponse {
+ return v.PrivateLinkService
+ }).(PrivateLinkServiceServiceGatewayResponsePtrOutput)
}
-func (i LoadBalancingRuleArgs) ToLoadBalancingRuleOutput() LoadBalancingRuleOutput {
- return i.ToLoadBalancingRuleOutputWithContext(context.Background())
+// The provisioning state of the network interface resource.
+func (o NetworkInterfaceServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i LoadBalancingRuleArgs) ToLoadBalancingRuleOutputWithContext(ctx context.Context) LoadBalancingRuleOutput {
- return pulumi.ToOutputWithContext(ctx, i).(LoadBalancingRuleOutput)
+// The resource GUID property of the network interface resource.
+func (o NetworkInterfaceServiceGatewayResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// LoadBalancingRuleArrayInput is an input type that accepts LoadBalancingRuleArray and LoadBalancingRuleArrayOutput values.
-// You can construct a concrete instance of `LoadBalancingRuleArrayInput` via:
-//
-// LoadBalancingRuleArray{ LoadBalancingRuleArgs{...} }
-type LoadBalancingRuleArrayInput interface {
- pulumi.Input
+// Resource tags.
+func (o NetworkInterfaceServiceGatewayResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+}
- ToLoadBalancingRuleArrayOutput() LoadBalancingRuleArrayOutput
- ToLoadBalancingRuleArrayOutputWithContext(context.Context) LoadBalancingRuleArrayOutput
+// A list of TapConfigurations of the network interface.
+func (o NetworkInterfaceServiceGatewayResponseOutput) TapConfigurations() NetworkInterfaceTapConfigurationServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) []NetworkInterfaceTapConfigurationServiceGatewayResponse {
+ return v.TapConfigurations
+ }).(NetworkInterfaceTapConfigurationServiceGatewayResponseArrayOutput)
}
-type LoadBalancingRuleArray []LoadBalancingRuleInput
+// Resource type.
+func (o NetworkInterfaceServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
+}
-func (LoadBalancingRuleArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]LoadBalancingRule)(nil)).Elem()
+// The reference to a virtual machine.
+func (o NetworkInterfaceServiceGatewayResponseOutput) VirtualMachine() SubResourceResponseOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) SubResourceResponse { return v.VirtualMachine }).(SubResourceResponseOutput)
}
-func (i LoadBalancingRuleArray) ToLoadBalancingRuleArrayOutput() LoadBalancingRuleArrayOutput {
- return i.ToLoadBalancingRuleArrayOutputWithContext(context.Background())
+// Whether the virtual machine this nic is attached to supports encryption.
+func (o NetworkInterfaceServiceGatewayResponseOutput) VnetEncryptionSupported() pulumi.BoolOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) bool { return v.VnetEncryptionSupported }).(pulumi.BoolOutput)
}
-func (i LoadBalancingRuleArray) ToLoadBalancingRuleArrayOutputWithContext(ctx context.Context) LoadBalancingRuleArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(LoadBalancingRuleArrayOutput)
+// WorkloadType of the NetworkInterface for BareMetal resources
+func (o NetworkInterfaceServiceGatewayResponseOutput) WorkloadType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceServiceGatewayResponse) *string { return v.WorkloadType }).(pulumi.StringPtrOutput)
}
-// A load balancing rule for a load balancer.
-type LoadBalancingRuleOutput struct{ *pulumi.OutputState }
+type NetworkInterfaceServiceGatewayResponseArrayOutput struct{ *pulumi.OutputState }
-func (LoadBalancingRuleOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*LoadBalancingRule)(nil)).Elem()
+func (NetworkInterfaceServiceGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceServiceGatewayResponse)(nil)).Elem()
}
-func (o LoadBalancingRuleOutput) ToLoadBalancingRuleOutput() LoadBalancingRuleOutput {
+func (o NetworkInterfaceServiceGatewayResponseArrayOutput) ToNetworkInterfaceServiceGatewayResponseArrayOutput() NetworkInterfaceServiceGatewayResponseArrayOutput {
return o
}
-func (o LoadBalancingRuleOutput) ToLoadBalancingRuleOutputWithContext(ctx context.Context) LoadBalancingRuleOutput {
+func (o NetworkInterfaceServiceGatewayResponseArrayOutput) ToNetworkInterfaceServiceGatewayResponseArrayOutputWithContext(ctx context.Context) NetworkInterfaceServiceGatewayResponseArrayOutput {
return o
}
-// A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs.
-func (o LoadBalancingRuleOutput) BackendAddressPool() SubResourcePtrOutput {
- return o.ApplyT(func(v LoadBalancingRule) *SubResource { return v.BackendAddressPool }).(SubResourcePtrOutput)
+func (o NetworkInterfaceServiceGatewayResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceServiceGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceServiceGatewayResponse {
+ return vs[0].([]NetworkInterfaceServiceGatewayResponse)[vs[1].(int)]
+ }).(NetworkInterfaceServiceGatewayResponseOutput)
}
-// An array of references to pool of DIPs.
-func (o LoadBalancingRuleOutput) BackendAddressPools() SubResourceArrayOutput {
- return o.ApplyT(func(v LoadBalancingRule) []SubResource { return v.BackendAddressPools }).(SubResourceArrayOutput)
+// Tap configuration in a Network Interface
+type NetworkInterfaceTapConfigurationInterfaceEndpointResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the network interface tap configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Sub Resource type.
+ Type string `pulumi:"type"`
+ // The reference of the Virtual Network Tap resource.
+ VirtualNetworkTap *VirtualNetworkTapResponse `pulumi:"virtualNetworkTap"`
}
-// The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port".
-func (o LoadBalancingRuleOutput) BackendPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v LoadBalancingRule) *int { return v.BackendPort }).(pulumi.IntPtrOutput)
-}
+// Defaults sets the appropriate defaults for NetworkInterfaceTapConfigurationInterfaceEndpointResponse
+func (val *NetworkInterfaceTapConfigurationInterfaceEndpointResponse) Defaults() *NetworkInterfaceTapConfigurationInterfaceEndpointResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.VirtualNetworkTap = tmp.VirtualNetworkTap.Defaults()
-// Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.
-func (o LoadBalancingRuleOutput) DisableOutboundSnat() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v LoadBalancingRule) *bool { return v.DisableOutboundSnat }).(pulumi.BoolPtrOutput)
+ return &tmp
}
-// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
-func (o LoadBalancingRuleOutput) EnableFloatingIP() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v LoadBalancingRule) *bool { return v.EnableFloatingIP }).(pulumi.BoolPtrOutput)
-}
+// Tap configuration in a Network Interface
+type NetworkInterfaceTapConfigurationInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
-// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
-func (o LoadBalancingRuleOutput) EnableTcpReset() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v LoadBalancingRule) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
+func (NetworkInterfaceTapConfigurationInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceTapConfigurationInterfaceEndpointResponse)(nil)).Elem()
}
-// A reference to frontend IP addresses.
-func (o LoadBalancingRuleOutput) FrontendIPConfiguration() SubResourcePtrOutput {
- return o.ApplyT(func(v LoadBalancingRule) *SubResource { return v.FrontendIPConfiguration }).(SubResourcePtrOutput)
+func (o NetworkInterfaceTapConfigurationInterfaceEndpointResponseOutput) ToNetworkInterfaceTapConfigurationInterfaceEndpointResponseOutput() NetworkInterfaceTapConfigurationInterfaceEndpointResponseOutput {
+ return o
}
-// The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port".
-func (o LoadBalancingRuleOutput) FrontendPort() pulumi.IntOutput {
- return o.ApplyT(func(v LoadBalancingRule) int { return v.FrontendPort }).(pulumi.IntOutput)
+func (o NetworkInterfaceTapConfigurationInterfaceEndpointResponseOutput) ToNetworkInterfaceTapConfigurationInterfaceEndpointResponseOutputWithContext(ctx context.Context) NetworkInterfaceTapConfigurationInterfaceEndpointResponseOutput {
+ return o
}
-// Resource ID.
-func (o LoadBalancingRuleOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LoadBalancingRule) *string { return v.Id }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceTapConfigurationInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
-func (o LoadBalancingRuleOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v LoadBalancingRule) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+// Resource ID.
+func (o NetworkInterfaceTapConfigurationInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The load distribution policy for this rule.
-func (o LoadBalancingRuleOutput) LoadDistribution() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LoadBalancingRule) *string { return v.LoadDistribution }).(pulumi.StringPtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o NetworkInterfaceTapConfigurationInterfaceEndpointResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationInterfaceEndpointResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource.
-func (o LoadBalancingRuleOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LoadBalancingRule) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The provisioning state of the network interface tap configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o NetworkInterfaceTapConfigurationInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationInterfaceEndpointResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The reference to the load balancer probe used by the load balancing rule.
-func (o LoadBalancingRuleOutput) Probe() SubResourcePtrOutput {
- return o.ApplyT(func(v LoadBalancingRule) *SubResource { return v.Probe }).(SubResourcePtrOutput)
+// Sub Resource type.
+func (o NetworkInterfaceTapConfigurationInterfaceEndpointResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationInterfaceEndpointResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// The reference to the transport protocol used by the load balancing rule.
-func (o LoadBalancingRuleOutput) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v LoadBalancingRule) string { return v.Protocol }).(pulumi.StringOutput)
+// The reference of the Virtual Network Tap resource.
+func (o NetworkInterfaceTapConfigurationInterfaceEndpointResponseOutput) VirtualNetworkTap() VirtualNetworkTapResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationInterfaceEndpointResponse) *VirtualNetworkTapResponse {
+ return v.VirtualNetworkTap
+ }).(VirtualNetworkTapResponsePtrOutput)
}
-type LoadBalancingRuleArrayOutput struct{ *pulumi.OutputState }
+type NetworkInterfaceTapConfigurationInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
-func (LoadBalancingRuleArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]LoadBalancingRule)(nil)).Elem()
+func (NetworkInterfaceTapConfigurationInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceTapConfigurationInterfaceEndpointResponse)(nil)).Elem()
}
-func (o LoadBalancingRuleArrayOutput) ToLoadBalancingRuleArrayOutput() LoadBalancingRuleArrayOutput {
+func (o NetworkInterfaceTapConfigurationInterfaceEndpointResponseArrayOutput) ToNetworkInterfaceTapConfigurationInterfaceEndpointResponseArrayOutput() NetworkInterfaceTapConfigurationInterfaceEndpointResponseArrayOutput {
return o
}
-func (o LoadBalancingRuleArrayOutput) ToLoadBalancingRuleArrayOutputWithContext(ctx context.Context) LoadBalancingRuleArrayOutput {
+func (o NetworkInterfaceTapConfigurationInterfaceEndpointResponseArrayOutput) ToNetworkInterfaceTapConfigurationInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) NetworkInterfaceTapConfigurationInterfaceEndpointResponseArrayOutput {
return o
}
-func (o LoadBalancingRuleArrayOutput) Index(i pulumi.IntInput) LoadBalancingRuleOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancingRule {
- return vs[0].([]LoadBalancingRule)[vs[1].(int)]
- }).(LoadBalancingRuleOutput)
+func (o NetworkInterfaceTapConfigurationInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceTapConfigurationInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceTapConfigurationInterfaceEndpointResponse {
+ return vs[0].([]NetworkInterfaceTapConfigurationInterfaceEndpointResponse)[vs[1].(int)]
+ }).(NetworkInterfaceTapConfigurationInterfaceEndpointResponseOutput)
}
-// A load balancing rule for a load balancer.
-type LoadBalancingRuleResponse struct {
- // A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs.
- BackendAddressPool *SubResourceResponse `pulumi:"backendAddressPool"`
- // An array of references to pool of DIPs.
- BackendAddressPools []SubResourceResponse `pulumi:"backendAddressPools"`
- // The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port".
- BackendPort *int `pulumi:"backendPort"`
- // Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.
- DisableOutboundSnat *bool `pulumi:"disableOutboundSnat"`
- // Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
- EnableFloatingIP *bool `pulumi:"enableFloatingIP"`
- // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
- EnableTcpReset *bool `pulumi:"enableTcpReset"`
+// Tap configuration in a Network Interface.
+type NetworkInterfaceTapConfigurationResponse struct {
// A unique read-only string that changes whenever the resource is updated.
Etag string `pulumi:"etag"`
- // A reference to frontend IP addresses.
- FrontendIPConfiguration *SubResourceResponse `pulumi:"frontendIPConfiguration"`
- // The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port".
- FrontendPort int `pulumi:"frontendPort"`
// Resource ID.
Id *string `pulumi:"id"`
- // The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
- // The load distribution policy for this rule.
- LoadDistribution *string `pulumi:"loadDistribution"`
- // The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource.
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
Name *string `pulumi:"name"`
- // The reference to the load balancer probe used by the load balancing rule.
- Probe *SubResourceResponse `pulumi:"probe"`
- // The reference to the transport protocol used by the load balancing rule.
- Protocol string `pulumi:"protocol"`
- // The provisioning state of the load balancing rule resource.
+ // The provisioning state of the network interface tap configuration resource.
ProvisioningState string `pulumi:"provisioningState"`
- // Type of the resource.
+ // Sub Resource type.
Type string `pulumi:"type"`
+ // The reference to the Virtual Network Tap resource.
+ VirtualNetworkTap *VirtualNetworkTapResponse `pulumi:"virtualNetworkTap"`
}
-// A load balancing rule for a load balancer.
-type LoadBalancingRuleResponseOutput struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for NetworkInterfaceTapConfigurationResponse
+func (val *NetworkInterfaceTapConfigurationResponse) Defaults() *NetworkInterfaceTapConfigurationResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.VirtualNetworkTap = tmp.VirtualNetworkTap.Defaults()
-func (LoadBalancingRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*LoadBalancingRuleResponse)(nil)).Elem()
+ return &tmp
}
-func (o LoadBalancingRuleResponseOutput) ToLoadBalancingRuleResponseOutput() LoadBalancingRuleResponseOutput {
+// Tap configuration in a Network Interface.
+type NetworkInterfaceTapConfigurationResponseOutput struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceTapConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceTapConfigurationResponse)(nil)).Elem()
+}
+
+func (o NetworkInterfaceTapConfigurationResponseOutput) ToNetworkInterfaceTapConfigurationResponseOutput() NetworkInterfaceTapConfigurationResponseOutput {
return o
}
-func (o LoadBalancingRuleResponseOutput) ToLoadBalancingRuleResponseOutputWithContext(ctx context.Context) LoadBalancingRuleResponseOutput {
+func (o NetworkInterfaceTapConfigurationResponseOutput) ToNetworkInterfaceTapConfigurationResponseOutputWithContext(ctx context.Context) NetworkInterfaceTapConfigurationResponseOutput {
return o
}
-// A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs.
-func (o LoadBalancingRuleResponseOutput) BackendAddressPool() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) *SubResourceResponse { return v.BackendAddressPool }).(SubResourceResponsePtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceTapConfigurationResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// An array of references to pool of DIPs.
-func (o LoadBalancingRuleResponseOutput) BackendAddressPools() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) []SubResourceResponse { return v.BackendAddressPools }).(SubResourceResponseArrayOutput)
+// Resource ID.
+func (o NetworkInterfaceTapConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port".
-func (o LoadBalancingRuleResponseOutput) BackendPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) *int { return v.BackendPort }).(pulumi.IntPtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o NetworkInterfaceTapConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.
-func (o LoadBalancingRuleResponseOutput) DisableOutboundSnat() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) *bool { return v.DisableOutboundSnat }).(pulumi.BoolPtrOutput)
+// The provisioning state of the network interface tap configuration resource.
+func (o NetworkInterfaceTapConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
-func (o LoadBalancingRuleResponseOutput) EnableFloatingIP() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) *bool { return v.EnableFloatingIP }).(pulumi.BoolPtrOutput)
+// Sub Resource type.
+func (o NetworkInterfaceTapConfigurationResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
-func (o LoadBalancingRuleResponseOutput) EnableTcpReset() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
+// The reference to the Virtual Network Tap resource.
+func (o NetworkInterfaceTapConfigurationResponseOutput) VirtualNetworkTap() VirtualNetworkTapResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponse) *VirtualNetworkTapResponse {
+ return v.VirtualNetworkTap
+ }).(VirtualNetworkTapResponsePtrOutput)
+}
+
+type NetworkInterfaceTapConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceTapConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceTapConfigurationResponse)(nil)).Elem()
+}
+
+func (o NetworkInterfaceTapConfigurationResponseArrayOutput) ToNetworkInterfaceTapConfigurationResponseArrayOutput() NetworkInterfaceTapConfigurationResponseArrayOutput {
+ return o
+}
+
+func (o NetworkInterfaceTapConfigurationResponseArrayOutput) ToNetworkInterfaceTapConfigurationResponseArrayOutputWithContext(ctx context.Context) NetworkInterfaceTapConfigurationResponseArrayOutput {
+ return o
+}
+
+func (o NetworkInterfaceTapConfigurationResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceTapConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceTapConfigurationResponse {
+ return vs[0].([]NetworkInterfaceTapConfigurationResponse)[vs[1].(int)]
+ }).(NetworkInterfaceTapConfigurationResponseOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o LoadBalancingRuleResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) string { return v.Etag }).(pulumi.StringOutput)
+// Tap configuration in a Network Interface
+type NetworkInterfaceTapConfigurationResponseV1 struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the network interface tap configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Sub Resource type.
+ Type string `pulumi:"type"`
+ // The reference of the Virtual Network Tap resource.
+ VirtualNetworkTap *VirtualNetworkTapInterfaceEndpointResponse `pulumi:"virtualNetworkTap"`
+}
+
+// Defaults sets the appropriate defaults for NetworkInterfaceTapConfigurationResponseV1
+func (val *NetworkInterfaceTapConfigurationResponseV1) Defaults() *NetworkInterfaceTapConfigurationResponseV1 {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.VirtualNetworkTap = tmp.VirtualNetworkTap.Defaults()
+
+ return &tmp
}
-// A reference to frontend IP addresses.
-func (o LoadBalancingRuleResponseOutput) FrontendIPConfiguration() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) *SubResourceResponse { return v.FrontendIPConfiguration }).(SubResourceResponsePtrOutput)
-}
+// Tap configuration in a Network Interface
+type NetworkInterfaceTapConfigurationResponseV1Output struct{ *pulumi.OutputState }
-// The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port".
-func (o LoadBalancingRuleResponseOutput) FrontendPort() pulumi.IntOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) int { return v.FrontendPort }).(pulumi.IntOutput)
+func (NetworkInterfaceTapConfigurationResponseV1Output) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceTapConfigurationResponseV1)(nil)).Elem()
}
-// Resource ID.
-func (o LoadBalancingRuleResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceTapConfigurationResponseV1Output) ToNetworkInterfaceTapConfigurationResponseV1Output() NetworkInterfaceTapConfigurationResponseV1Output {
+ return o
}
-// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
-func (o LoadBalancingRuleResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+func (o NetworkInterfaceTapConfigurationResponseV1Output) ToNetworkInterfaceTapConfigurationResponseV1OutputWithContext(ctx context.Context) NetworkInterfaceTapConfigurationResponseV1Output {
+ return o
}
-// The load distribution policy for this rule.
-func (o LoadBalancingRuleResponseOutput) LoadDistribution() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) *string { return v.LoadDistribution }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceTapConfigurationResponseV1Output) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource.
-func (o LoadBalancingRuleResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o NetworkInterfaceTapConfigurationResponseV1Output) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The reference to the load balancer probe used by the load balancing rule.
-func (o LoadBalancingRuleResponseOutput) Probe() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) *SubResourceResponse { return v.Probe }).(SubResourceResponsePtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o NetworkInterfaceTapConfigurationResponseV1Output) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The reference to the transport protocol used by the load balancing rule.
-func (o LoadBalancingRuleResponseOutput) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) string { return v.Protocol }).(pulumi.StringOutput)
+// The provisioning state of the network interface tap configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o NetworkInterfaceTapConfigurationResponseV1Output) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The provisioning state of the load balancing rule resource.
-func (o LoadBalancingRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Sub Resource type.
+func (o NetworkInterfaceTapConfigurationResponseV1Output) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponseV1) string { return v.Type }).(pulumi.StringOutput)
}
-// Type of the resource.
-func (o LoadBalancingRuleResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v LoadBalancingRuleResponse) string { return v.Type }).(pulumi.StringOutput)
+// The reference of the Virtual Network Tap resource.
+func (o NetworkInterfaceTapConfigurationResponseV1Output) VirtualNetworkTap() VirtualNetworkTapInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponseV1) *VirtualNetworkTapInterfaceEndpointResponse {
+ return v.VirtualNetworkTap
+ }).(VirtualNetworkTapInterfaceEndpointResponsePtrOutput)
}
-type LoadBalancingRuleResponseArrayOutput struct{ *pulumi.OutputState }
+type NetworkInterfaceTapConfigurationResponseV1ArrayOutput struct{ *pulumi.OutputState }
-func (LoadBalancingRuleResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]LoadBalancingRuleResponse)(nil)).Elem()
+func (NetworkInterfaceTapConfigurationResponseV1ArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceTapConfigurationResponseV1)(nil)).Elem()
}
-func (o LoadBalancingRuleResponseArrayOutput) ToLoadBalancingRuleResponseArrayOutput() LoadBalancingRuleResponseArrayOutput {
+func (o NetworkInterfaceTapConfigurationResponseV1ArrayOutput) ToNetworkInterfaceTapConfigurationResponseV1ArrayOutput() NetworkInterfaceTapConfigurationResponseV1ArrayOutput {
return o
}
-func (o LoadBalancingRuleResponseArrayOutput) ToLoadBalancingRuleResponseArrayOutputWithContext(ctx context.Context) LoadBalancingRuleResponseArrayOutput {
+func (o NetworkInterfaceTapConfigurationResponseV1ArrayOutput) ToNetworkInterfaceTapConfigurationResponseV1ArrayOutputWithContext(ctx context.Context) NetworkInterfaceTapConfigurationResponseV1ArrayOutput {
return o
}
-func (o LoadBalancingRuleResponseArrayOutput) Index(i pulumi.IntInput) LoadBalancingRuleResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancingRuleResponse {
- return vs[0].([]LoadBalancingRuleResponse)[vs[1].(int)]
- }).(LoadBalancingRuleResponseOutput)
+func (o NetworkInterfaceTapConfigurationResponseV1ArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceTapConfigurationResponseV1Output {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceTapConfigurationResponseV1 {
+ return vs[0].([]NetworkInterfaceTapConfigurationResponseV1)[vs[1].(int)]
+ }).(NetworkInterfaceTapConfigurationResponseV1Output)
}
-// A common class for general resource information.
-type LocalNetworkGatewayType struct {
- // Local network gateway's BGP speaker settings.
- BgpSettings *BgpSettings `pulumi:"bgpSettings"`
- // FQDN of local network gateway.
- Fqdn *string `pulumi:"fqdn"`
- // IP address of local network gateway.
- GatewayIpAddress *string `pulumi:"gatewayIpAddress"`
+// Tap configuration in a Network Interface.
+type NetworkInterfaceTapConfigurationServiceGatewayResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
// Resource ID.
Id *string `pulumi:"id"`
- // Local network site address space.
- LocalNetworkAddressSpace *AddressSpace `pulumi:"localNetworkAddressSpace"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the network interface tap configuration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // The reference to the Virtual Network Tap resource.
+ VirtualNetworkTap *VirtualNetworkTapServiceGatewayResponse `pulumi:"virtualNetworkTap"`
}
-// LocalNetworkGatewayTypeInput is an input type that accepts LocalNetworkGatewayTypeArgs and LocalNetworkGatewayTypeOutput values.
-// You can construct a concrete instance of `LocalNetworkGatewayTypeInput` via:
-//
-// LocalNetworkGatewayTypeArgs{...}
-type LocalNetworkGatewayTypeInput interface {
- pulumi.Input
-
- ToLocalNetworkGatewayTypeOutput() LocalNetworkGatewayTypeOutput
- ToLocalNetworkGatewayTypeOutputWithContext(context.Context) LocalNetworkGatewayTypeOutput
-}
+// Defaults sets the appropriate defaults for NetworkInterfaceTapConfigurationServiceGatewayResponse
+func (val *NetworkInterfaceTapConfigurationServiceGatewayResponse) Defaults() *NetworkInterfaceTapConfigurationServiceGatewayResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.VirtualNetworkTap = tmp.VirtualNetworkTap.Defaults()
-// A common class for general resource information.
-type LocalNetworkGatewayTypeArgs struct {
- // Local network gateway's BGP speaker settings.
- BgpSettings BgpSettingsPtrInput `pulumi:"bgpSettings"`
- // FQDN of local network gateway.
- Fqdn pulumi.StringPtrInput `pulumi:"fqdn"`
- // IP address of local network gateway.
- GatewayIpAddress pulumi.StringPtrInput `pulumi:"gatewayIpAddress"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Local network site address space.
- LocalNetworkAddressSpace AddressSpacePtrInput `pulumi:"localNetworkAddressSpace"`
- // Resource location.
- Location pulumi.StringPtrInput `pulumi:"location"`
- // Resource tags.
- Tags pulumi.StringMapInput `pulumi:"tags"`
+ return &tmp
}
-func (LocalNetworkGatewayTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*LocalNetworkGatewayType)(nil)).Elem()
-}
+// Tap configuration in a Network Interface.
+type NetworkInterfaceTapConfigurationServiceGatewayResponseOutput struct{ *pulumi.OutputState }
-func (i LocalNetworkGatewayTypeArgs) ToLocalNetworkGatewayTypeOutput() LocalNetworkGatewayTypeOutput {
- return i.ToLocalNetworkGatewayTypeOutputWithContext(context.Background())
+func (NetworkInterfaceTapConfigurationServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceTapConfigurationServiceGatewayResponse)(nil)).Elem()
}
-func (i LocalNetworkGatewayTypeArgs) ToLocalNetworkGatewayTypeOutputWithContext(ctx context.Context) LocalNetworkGatewayTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(LocalNetworkGatewayTypeOutput)
+func (o NetworkInterfaceTapConfigurationServiceGatewayResponseOutput) ToNetworkInterfaceTapConfigurationServiceGatewayResponseOutput() NetworkInterfaceTapConfigurationServiceGatewayResponseOutput {
+ return o
}
-func (i LocalNetworkGatewayTypeArgs) ToLocalNetworkGatewayTypePtrOutput() LocalNetworkGatewayTypePtrOutput {
- return i.ToLocalNetworkGatewayTypePtrOutputWithContext(context.Background())
+func (o NetworkInterfaceTapConfigurationServiceGatewayResponseOutput) ToNetworkInterfaceTapConfigurationServiceGatewayResponseOutputWithContext(ctx context.Context) NetworkInterfaceTapConfigurationServiceGatewayResponseOutput {
+ return o
}
-func (i LocalNetworkGatewayTypeArgs) ToLocalNetworkGatewayTypePtrOutputWithContext(ctx context.Context) LocalNetworkGatewayTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(LocalNetworkGatewayTypeOutput).ToLocalNetworkGatewayTypePtrOutputWithContext(ctx)
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceTapConfigurationServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// LocalNetworkGatewayTypePtrInput is an input type that accepts LocalNetworkGatewayTypeArgs, LocalNetworkGatewayTypePtr and LocalNetworkGatewayTypePtrOutput values.
-// You can construct a concrete instance of `LocalNetworkGatewayTypePtrInput` via:
-//
-// LocalNetworkGatewayTypeArgs{...}
-//
-// or:
-//
-// nil
-type LocalNetworkGatewayTypePtrInput interface {
- pulumi.Input
-
- ToLocalNetworkGatewayTypePtrOutput() LocalNetworkGatewayTypePtrOutput
- ToLocalNetworkGatewayTypePtrOutputWithContext(context.Context) LocalNetworkGatewayTypePtrOutput
+// Resource ID.
+func (o NetworkInterfaceTapConfigurationServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-type localNetworkGatewayTypePtrType LocalNetworkGatewayTypeArgs
-
-func LocalNetworkGatewayTypePtr(v *LocalNetworkGatewayTypeArgs) LocalNetworkGatewayTypePtrInput {
- return (*localNetworkGatewayTypePtrType)(v)
+// Name of the resource.
+func (o NetworkInterfaceTapConfigurationServiceGatewayResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationServiceGatewayResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (*localNetworkGatewayTypePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**LocalNetworkGatewayType)(nil)).Elem()
+// The provisioning state of the network interface tap configuration resource.
+func (o NetworkInterfaceTapConfigurationServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i *localNetworkGatewayTypePtrType) ToLocalNetworkGatewayTypePtrOutput() LocalNetworkGatewayTypePtrOutput {
- return i.ToLocalNetworkGatewayTypePtrOutputWithContext(context.Background())
+// Resource type.
+func (o NetworkInterfaceTapConfigurationServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (i *localNetworkGatewayTypePtrType) ToLocalNetworkGatewayTypePtrOutputWithContext(ctx context.Context) LocalNetworkGatewayTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(LocalNetworkGatewayTypePtrOutput)
+// The reference to the Virtual Network Tap resource.
+func (o NetworkInterfaceTapConfigurationServiceGatewayResponseOutput) VirtualNetworkTap() VirtualNetworkTapServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationServiceGatewayResponse) *VirtualNetworkTapServiceGatewayResponse {
+ return v.VirtualNetworkTap
+ }).(VirtualNetworkTapServiceGatewayResponsePtrOutput)
}
-// A common class for general resource information.
-type LocalNetworkGatewayTypeOutput struct{ *pulumi.OutputState }
+type NetworkInterfaceTapConfigurationServiceGatewayResponseArrayOutput struct{ *pulumi.OutputState }
-func (LocalNetworkGatewayTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*LocalNetworkGatewayType)(nil)).Elem()
+func (NetworkInterfaceTapConfigurationServiceGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceTapConfigurationServiceGatewayResponse)(nil)).Elem()
}
-func (o LocalNetworkGatewayTypeOutput) ToLocalNetworkGatewayTypeOutput() LocalNetworkGatewayTypeOutput {
+func (o NetworkInterfaceTapConfigurationServiceGatewayResponseArrayOutput) ToNetworkInterfaceTapConfigurationServiceGatewayResponseArrayOutput() NetworkInterfaceTapConfigurationServiceGatewayResponseArrayOutput {
return o
}
-func (o LocalNetworkGatewayTypeOutput) ToLocalNetworkGatewayTypeOutputWithContext(ctx context.Context) LocalNetworkGatewayTypeOutput {
+func (o NetworkInterfaceTapConfigurationServiceGatewayResponseArrayOutput) ToNetworkInterfaceTapConfigurationServiceGatewayResponseArrayOutputWithContext(ctx context.Context) NetworkInterfaceTapConfigurationServiceGatewayResponseArrayOutput {
return o
}
-func (o LocalNetworkGatewayTypeOutput) ToLocalNetworkGatewayTypePtrOutput() LocalNetworkGatewayTypePtrOutput {
- return o.ToLocalNetworkGatewayTypePtrOutputWithContext(context.Background())
-}
-
-func (o LocalNetworkGatewayTypeOutput) ToLocalNetworkGatewayTypePtrOutputWithContext(ctx context.Context) LocalNetworkGatewayTypePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v LocalNetworkGatewayType) *LocalNetworkGatewayType {
- return &v
- }).(LocalNetworkGatewayTypePtrOutput)
+func (o NetworkInterfaceTapConfigurationServiceGatewayResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceTapConfigurationServiceGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceTapConfigurationServiceGatewayResponse {
+ return vs[0].([]NetworkInterfaceTapConfigurationServiceGatewayResponse)[vs[1].(int)]
+ }).(NetworkInterfaceTapConfigurationServiceGatewayResponseOutput)
}
-// Local network gateway's BGP speaker settings.
-func (o LocalNetworkGatewayTypeOutput) BgpSettings() BgpSettingsPtrOutput {
- return o.ApplyT(func(v LocalNetworkGatewayType) *BgpSettings { return v.BgpSettings }).(BgpSettingsPtrOutput)
+// Tap configuration in a Network Interface.
+type NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the network interface tap configuration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // The reference to the Virtual Network Tap resource.
+ VirtualNetworkTap *VirtualNetworkTapVirtualNetworkApplianceResponse `pulumi:"virtualNetworkTap"`
}
-// FQDN of local network gateway.
-func (o LocalNetworkGatewayTypeOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LocalNetworkGatewayType) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
-}
+// Defaults sets the appropriate defaults for NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponse
+func (val *NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponse) Defaults() *NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.VirtualNetworkTap = tmp.VirtualNetworkTap.Defaults()
-// IP address of local network gateway.
-func (o LocalNetworkGatewayTypeOutput) GatewayIpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LocalNetworkGatewayType) *string { return v.GatewayIpAddress }).(pulumi.StringPtrOutput)
+ return &tmp
}
-// Resource ID.
-func (o LocalNetworkGatewayTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LocalNetworkGatewayType) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
+// Tap configuration in a Network Interface.
+type NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
-// Local network site address space.
-func (o LocalNetworkGatewayTypeOutput) LocalNetworkAddressSpace() AddressSpacePtrOutput {
- return o.ApplyT(func(v LocalNetworkGatewayType) *AddressSpace { return v.LocalNetworkAddressSpace }).(AddressSpacePtrOutput)
+func (NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponse)(nil)).Elem()
}
-// Resource location.
-func (o LocalNetworkGatewayTypeOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LocalNetworkGatewayType) *string { return v.Location }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutput) ToNetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutput() NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutput {
+ return o
}
-// Resource tags.
-func (o LocalNetworkGatewayTypeOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v LocalNetworkGatewayType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+func (o NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutput) ToNetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutput {
+ return o
}
-type LocalNetworkGatewayTypePtrOutput struct{ *pulumi.OutputState }
-
-func (LocalNetworkGatewayTypePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**LocalNetworkGatewayType)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (o LocalNetworkGatewayTypePtrOutput) ToLocalNetworkGatewayTypePtrOutput() LocalNetworkGatewayTypePtrOutput {
- return o
+// Resource ID.
+func (o NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o LocalNetworkGatewayTypePtrOutput) ToLocalNetworkGatewayTypePtrOutputWithContext(ctx context.Context) LocalNetworkGatewayTypePtrOutput {
- return o
+// Name of the resource.
+func (o NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o LocalNetworkGatewayTypePtrOutput) Elem() LocalNetworkGatewayTypeOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayType) LocalNetworkGatewayType {
- if v != nil {
- return *v
- }
- var ret LocalNetworkGatewayType
- return ret
- }).(LocalNetworkGatewayTypeOutput)
+// The provisioning state of the network interface tap configuration resource.
+func (o NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponse) string {
+ return v.ProvisioningState
+ }).(pulumi.StringOutput)
}
-// Local network gateway's BGP speaker settings.
-func (o LocalNetworkGatewayTypePtrOutput) BgpSettings() BgpSettingsPtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayType) *BgpSettings {
- if v == nil {
- return nil
- }
- return v.BgpSettings
- }).(BgpSettingsPtrOutput)
+// Resource type.
+func (o NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// FQDN of local network gateway.
-func (o LocalNetworkGatewayTypePtrOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayType) *string {
- if v == nil {
- return nil
- }
- return v.Fqdn
- }).(pulumi.StringPtrOutput)
+// The reference to the Virtual Network Tap resource.
+func (o NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutput) VirtualNetworkTap() VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponse) *VirtualNetworkTapVirtualNetworkApplianceResponse {
+ return v.VirtualNetworkTap
+ }).(VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput)
}
-// IP address of local network gateway.
-func (o LocalNetworkGatewayTypePtrOutput) GatewayIpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayType) *string {
- if v == nil {
- return nil
- }
- return v.GatewayIpAddress
- }).(pulumi.StringPtrOutput)
-}
+type NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseArrayOutput struct{ *pulumi.OutputState }
-// Resource ID.
-func (o LocalNetworkGatewayTypePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayType) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+func (NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponse)(nil)).Elem()
}
-// Local network site address space.
-func (o LocalNetworkGatewayTypePtrOutput) LocalNetworkAddressSpace() AddressSpacePtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayType) *AddressSpace {
- if v == nil {
- return nil
- }
- return v.LocalNetworkAddressSpace
- }).(AddressSpacePtrOutput)
+func (o NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseArrayOutput) ToNetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseArrayOutput() NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseArrayOutput {
+ return o
}
-// Resource location.
-func (o LocalNetworkGatewayTypePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayType) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
+func (o NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseArrayOutput) ToNetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseArrayOutputWithContext(ctx context.Context) NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseArrayOutput {
+ return o
}
-// Resource tags.
-func (o LocalNetworkGatewayTypePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayType) map[string]string {
- if v == nil {
- return nil
- }
- return v.Tags
- }).(pulumi.StringMapOutput)
+func (o NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponse {
+ return vs[0].([]NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponse)[vs[1].(int)]
+ }).(NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutput)
}
-// A common class for general resource information.
-type LocalNetworkGatewayResponse struct {
- // Local network gateway's BGP speaker settings.
- BgpSettings *BgpSettingsResponse `pulumi:"bgpSettings"`
+// A network interface in a resource group.
+type NetworkInterfaceVirtualNetworkApplianceResponse struct {
+ // Auxiliary mode of Network Interface resource.
+ AuxiliaryMode *string `pulumi:"auxiliaryMode"`
+ // Auxiliary sku of Network Interface resource.
+ AuxiliarySku *string `pulumi:"auxiliarySku"`
+ // Whether default outbound connectivity for nic was configured or not.
+ DefaultOutboundConnectivityEnabled bool `pulumi:"defaultOutboundConnectivityEnabled"`
+ // Indicates whether to disable tcp state tracking.
+ DisableTcpStateTracking *bool `pulumi:"disableTcpStateTracking"`
+ // The DNS settings in network interface.
+ DnsSettings *NetworkInterfaceDnsSettingsResponse `pulumi:"dnsSettings"`
+ // A reference to the dscp configuration to which the network interface is linked.
+ DscpConfiguration SubResourceResponse `pulumi:"dscpConfiguration"`
+ // If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking.
+ EnableAcceleratedNetworking *bool `pulumi:"enableAcceleratedNetworking"`
+ // Indicates whether IP forwarding is enabled on this network interface.
+ EnableIPForwarding *bool `pulumi:"enableIPForwarding"`
// A unique read-only string that changes whenever the resource is updated.
Etag string `pulumi:"etag"`
- // FQDN of local network gateway.
- Fqdn *string `pulumi:"fqdn"`
- // IP address of local network gateway.
- GatewayIpAddress *string `pulumi:"gatewayIpAddress"`
+ // The extended location of the network interface.
+ ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
+ // A list of references to linked BareMetal resources.
+ HostedWorkloads []string `pulumi:"hostedWorkloads"`
// Resource ID.
Id *string `pulumi:"id"`
- // Local network site address space.
- LocalNetworkAddressSpace *AddressSpaceResponse `pulumi:"localNetworkAddressSpace"`
+ // A list of IPConfigurations of the network interface.
+ IpConfigurations []NetworkInterfaceIPConfigurationResponseV3 `pulumi:"ipConfigurations"`
// Resource location.
Location *string `pulumi:"location"`
+ // The MAC address of the network interface.
+ MacAddress string `pulumi:"macAddress"`
+ // Migration phase of Network Interface resource.
+ MigrationPhase *string `pulumi:"migrationPhase"`
// Resource name.
Name string `pulumi:"name"`
- // The provisioning state of the local network gateway resource.
+ // The reference to the NetworkSecurityGroup resource.
+ NetworkSecurityGroup *NetworkSecurityGroupResponse `pulumi:"networkSecurityGroup"`
+ // Type of Network Interface resource.
+ NicType *string `pulumi:"nicType"`
+ // Whether this is a primary network interface on a virtual machine.
+ Primary bool `pulumi:"primary"`
+ // A reference to the private endpoint to which the network interface is linked.
+ PrivateEndpoint PrivateEndpointVirtualNetworkApplianceResponse `pulumi:"privateEndpoint"`
+ // Privatelinkservice of the network interface resource.
+ PrivateLinkService *PrivateLinkServiceVirtualNetworkApplianceResponse `pulumi:"privateLinkService"`
+ // The provisioning state of the network interface resource.
ProvisioningState string `pulumi:"provisioningState"`
- // The resource GUID property of the local network gateway resource.
+ // The resource GUID property of the network interface resource.
ResourceGuid string `pulumi:"resourceGuid"`
// Resource tags.
Tags map[string]string `pulumi:"tags"`
+ // A list of TapConfigurations of the network interface.
+ TapConfigurations []NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponse `pulumi:"tapConfigurations"`
// Resource type.
Type string `pulumi:"type"`
+ // The reference to a virtual machine.
+ VirtualMachine SubResourceResponse `pulumi:"virtualMachine"`
+ // Whether the virtual machine this nic is attached to supports encryption.
+ VnetEncryptionSupported bool `pulumi:"vnetEncryptionSupported"`
+ // WorkloadType of the NetworkInterface for BareMetal resources
+ WorkloadType *string `pulumi:"workloadType"`
}
-// A common class for general resource information.
-type LocalNetworkGatewayResponseOutput struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for NetworkInterfaceVirtualNetworkApplianceResponse
+func (val *NetworkInterfaceVirtualNetworkApplianceResponse) Defaults() *NetworkInterfaceVirtualNetworkApplianceResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PrivateEndpoint = *tmp.PrivateEndpoint.Defaults()
-func (LocalNetworkGatewayResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*LocalNetworkGatewayResponse)(nil)).Elem()
+ return &tmp
}
-func (o LocalNetworkGatewayResponseOutput) ToLocalNetworkGatewayResponseOutput() LocalNetworkGatewayResponseOutput {
+// A network interface in a resource group.
+type NetworkInterfaceVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkInterfaceVirtualNetworkApplianceResponse)(nil)).Elem()
+}
+
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) ToNetworkInterfaceVirtualNetworkApplianceResponseOutput() NetworkInterfaceVirtualNetworkApplianceResponseOutput {
return o
}
-func (o LocalNetworkGatewayResponseOutput) ToLocalNetworkGatewayResponseOutputWithContext(ctx context.Context) LocalNetworkGatewayResponseOutput {
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) ToNetworkInterfaceVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) NetworkInterfaceVirtualNetworkApplianceResponseOutput {
return o
}
-// Local network gateway's BGP speaker settings.
-func (o LocalNetworkGatewayResponseOutput) BgpSettings() BgpSettingsResponsePtrOutput {
- return o.ApplyT(func(v LocalNetworkGatewayResponse) *BgpSettingsResponse { return v.BgpSettings }).(BgpSettingsResponsePtrOutput)
+// Auxiliary mode of Network Interface resource.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) AuxiliaryMode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) *string { return v.AuxiliaryMode }).(pulumi.StringPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o LocalNetworkGatewayResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v LocalNetworkGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
+// Auxiliary sku of Network Interface resource.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) AuxiliarySku() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) *string { return v.AuxiliarySku }).(pulumi.StringPtrOutput)
}
-// FQDN of local network gateway.
-func (o LocalNetworkGatewayResponseOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LocalNetworkGatewayResponse) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
+// Whether default outbound connectivity for nic was configured or not.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) DefaultOutboundConnectivityEnabled() pulumi.BoolOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) bool {
+ return v.DefaultOutboundConnectivityEnabled
+ }).(pulumi.BoolOutput)
}
-// IP address of local network gateway.
-func (o LocalNetworkGatewayResponseOutput) GatewayIpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LocalNetworkGatewayResponse) *string { return v.GatewayIpAddress }).(pulumi.StringPtrOutput)
+// Indicates whether to disable tcp state tracking.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) DisableTcpStateTracking() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) *bool { return v.DisableTcpStateTracking }).(pulumi.BoolPtrOutput)
}
-// Resource ID.
-func (o LocalNetworkGatewayResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LocalNetworkGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The DNS settings in network interface.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) DnsSettings() NetworkInterfaceDnsSettingsResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) *NetworkInterfaceDnsSettingsResponse {
+ return v.DnsSettings
+ }).(NetworkInterfaceDnsSettingsResponsePtrOutput)
}
-// Local network site address space.
-func (o LocalNetworkGatewayResponseOutput) LocalNetworkAddressSpace() AddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v LocalNetworkGatewayResponse) *AddressSpaceResponse { return v.LocalNetworkAddressSpace }).(AddressSpaceResponsePtrOutput)
+// A reference to the dscp configuration to which the network interface is linked.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) DscpConfiguration() SubResourceResponseOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) SubResourceResponse {
+ return v.DscpConfiguration
+ }).(SubResourceResponseOutput)
}
-// Resource location.
-func (o LocalNetworkGatewayResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v LocalNetworkGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+// If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) EnableAcceleratedNetworking() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) *bool { return v.EnableAcceleratedNetworking }).(pulumi.BoolPtrOutput)
}
-// Resource name.
-func (o LocalNetworkGatewayResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v LocalNetworkGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
+// Indicates whether IP forwarding is enabled on this network interface.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) EnableIPForwarding() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) *bool { return v.EnableIPForwarding }).(pulumi.BoolPtrOutput)
}
-// The provisioning state of the local network gateway resource.
-func (o LocalNetworkGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v LocalNetworkGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// The resource GUID property of the local network gateway resource.
-func (o LocalNetworkGatewayResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v LocalNetworkGatewayResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// The extended location of the network interface.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) *ExtendedLocationResponse {
+ return v.ExtendedLocation
+ }).(ExtendedLocationResponsePtrOutput)
}
-// Resource tags.
-func (o LocalNetworkGatewayResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v LocalNetworkGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// A list of references to linked BareMetal resources.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) HostedWorkloads() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) []string { return v.HostedWorkloads }).(pulumi.StringArrayOutput)
}
-// Resource type.
-func (o LocalNetworkGatewayResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v LocalNetworkGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
+// Resource ID.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-type LocalNetworkGatewayResponsePtrOutput struct{ *pulumi.OutputState }
+// A list of IPConfigurations of the network interface.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) IpConfigurations() NetworkInterfaceIPConfigurationResponseV3ArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) []NetworkInterfaceIPConfigurationResponseV3 {
+ return v.IpConfigurations
+ }).(NetworkInterfaceIPConfigurationResponseV3ArrayOutput)
+}
-func (LocalNetworkGatewayResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**LocalNetworkGatewayResponse)(nil)).Elem()
+// Resource location.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o LocalNetworkGatewayResponsePtrOutput) ToLocalNetworkGatewayResponsePtrOutput() LocalNetworkGatewayResponsePtrOutput {
- return o
+// The MAC address of the network interface.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) MacAddress() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) string { return v.MacAddress }).(pulumi.StringOutput)
}
-func (o LocalNetworkGatewayResponsePtrOutput) ToLocalNetworkGatewayResponsePtrOutputWithContext(ctx context.Context) LocalNetworkGatewayResponsePtrOutput {
- return o
+// Migration phase of Network Interface resource.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) MigrationPhase() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) *string { return v.MigrationPhase }).(pulumi.StringPtrOutput)
}
-func (o LocalNetworkGatewayResponsePtrOutput) Elem() LocalNetworkGatewayResponseOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayResponse) LocalNetworkGatewayResponse {
- if v != nil {
- return *v
- }
- var ret LocalNetworkGatewayResponse
- return ret
- }).(LocalNetworkGatewayResponseOutput)
+// Resource name.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// Local network gateway's BGP speaker settings.
-func (o LocalNetworkGatewayResponsePtrOutput) BgpSettings() BgpSettingsResponsePtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayResponse) *BgpSettingsResponse {
- if v == nil {
- return nil
- }
- return v.BgpSettings
- }).(BgpSettingsResponsePtrOutput)
+// The reference to the NetworkSecurityGroup resource.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) NetworkSecurityGroup() NetworkSecurityGroupResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) *NetworkSecurityGroupResponse {
+ return v.NetworkSecurityGroup
+ }).(NetworkSecurityGroupResponsePtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o LocalNetworkGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Etag
- }).(pulumi.StringPtrOutput)
+// Type of Network Interface resource.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) NicType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) *string { return v.NicType }).(pulumi.StringPtrOutput)
}
-// FQDN of local network gateway.
-func (o LocalNetworkGatewayResponsePtrOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
- if v == nil {
- return nil
- }
- return v.Fqdn
- }).(pulumi.StringPtrOutput)
+// Whether this is a primary network interface on a virtual machine.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) Primary() pulumi.BoolOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) bool { return v.Primary }).(pulumi.BoolOutput)
}
-// IP address of local network gateway.
-func (o LocalNetworkGatewayResponsePtrOutput) GatewayIpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
- if v == nil {
- return nil
- }
- return v.GatewayIpAddress
- }).(pulumi.StringPtrOutput)
+// A reference to the private endpoint to which the network interface is linked.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) PrivateEndpoint() PrivateEndpointVirtualNetworkApplianceResponseOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) PrivateEndpointVirtualNetworkApplianceResponse {
+ return v.PrivateEndpoint
+ }).(PrivateEndpointVirtualNetworkApplianceResponseOutput)
}
-// Resource ID.
-func (o LocalNetworkGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+// Privatelinkservice of the network interface resource.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) PrivateLinkService() PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) *PrivateLinkServiceVirtualNetworkApplianceResponse {
+ return v.PrivateLinkService
+ }).(PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput)
}
-// Local network site address space.
-func (o LocalNetworkGatewayResponsePtrOutput) LocalNetworkAddressSpace() AddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayResponse) *AddressSpaceResponse {
- if v == nil {
- return nil
- }
- return v.LocalNetworkAddressSpace
- }).(AddressSpaceResponsePtrOutput)
+// The provisioning state of the network interface resource.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Resource location.
-func (o LocalNetworkGatewayResponsePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
+// The resource GUID property of the network interface resource.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// Resource name.
-func (o LocalNetworkGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Name
- }).(pulumi.StringPtrOutput)
+// Resource tags.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+}
+
+// A list of TapConfigurations of the network interface.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) TapConfigurations() NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) []NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponse {
+ return v.TapConfigurations
+ }).(NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseArrayOutput)
+}
+
+// Resource type.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// The provisioning state of the local network gateway resource.
-func (o LocalNetworkGatewayResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+// The reference to a virtual machine.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) VirtualMachine() SubResourceResponseOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) SubResourceResponse { return v.VirtualMachine }).(SubResourceResponseOutput)
}
-// The resource GUID property of the local network gateway resource.
-func (o LocalNetworkGatewayResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ResourceGuid
- }).(pulumi.StringPtrOutput)
+// Whether the virtual machine this nic is attached to supports encryption.
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) VnetEncryptionSupported() pulumi.BoolOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) bool { return v.VnetEncryptionSupported }).(pulumi.BoolOutput)
}
-// Resource tags.
-func (o LocalNetworkGatewayResponsePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayResponse) map[string]string {
- if v == nil {
- return nil
- }
- return v.Tags
- }).(pulumi.StringMapOutput)
+// WorkloadType of the NetworkInterface for BareMetal resources
+func (o NetworkInterfaceVirtualNetworkApplianceResponseOutput) WorkloadType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkInterfaceVirtualNetworkApplianceResponse) *string { return v.WorkloadType }).(pulumi.StringPtrOutput)
}
-// Resource type.
-func (o LocalNetworkGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *LocalNetworkGatewayResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Type
- }).(pulumi.StringPtrOutput)
+type NetworkInterfaceVirtualNetworkApplianceResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (NetworkInterfaceVirtualNetworkApplianceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkInterfaceVirtualNetworkApplianceResponse)(nil)).Elem()
}
-// Defines a managed rule group override setting.
-type ManagedRuleGroupOverride struct {
- // The managed rule group to override.
- RuleGroupName string `pulumi:"ruleGroupName"`
- // List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- Rules []ManagedRuleOverride `pulumi:"rules"`
+func (o NetworkInterfaceVirtualNetworkApplianceResponseArrayOutput) ToNetworkInterfaceVirtualNetworkApplianceResponseArrayOutput() NetworkInterfaceVirtualNetworkApplianceResponseArrayOutput {
+ return o
}
-// ManagedRuleGroupOverrideInput is an input type that accepts ManagedRuleGroupOverrideArgs and ManagedRuleGroupOverrideOutput values.
-// You can construct a concrete instance of `ManagedRuleGroupOverrideInput` via:
-//
-// ManagedRuleGroupOverrideArgs{...}
-type ManagedRuleGroupOverrideInput interface {
- pulumi.Input
+func (o NetworkInterfaceVirtualNetworkApplianceResponseArrayOutput) ToNetworkInterfaceVirtualNetworkApplianceResponseArrayOutputWithContext(ctx context.Context) NetworkInterfaceVirtualNetworkApplianceResponseArrayOutput {
+ return o
+}
- ToManagedRuleGroupOverrideOutput() ManagedRuleGroupOverrideOutput
- ToManagedRuleGroupOverrideOutputWithContext(context.Context) ManagedRuleGroupOverrideOutput
+func (o NetworkInterfaceVirtualNetworkApplianceResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceVirtualNetworkApplianceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceVirtualNetworkApplianceResponse {
+ return vs[0].([]NetworkInterfaceVirtualNetworkApplianceResponse)[vs[1].(int)]
+ }).(NetworkInterfaceVirtualNetworkApplianceResponseOutput)
}
-// Defines a managed rule group override setting.
-type ManagedRuleGroupOverrideArgs struct {
- // The managed rule group to override.
- RuleGroupName pulumi.StringInput `pulumi:"ruleGroupName"`
- // List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- Rules ManagedRuleOverrideArrayInput `pulumi:"rules"`
+// Network Manager Deployment Status.
+type NetworkManagerDeploymentStatusResponse struct {
+ // Commit Time.
+ CommitTime *string `pulumi:"commitTime"`
+ // List of configuration ids.
+ ConfigurationIds []string `pulumi:"configurationIds"`
+ // Deployment Status.
+ DeploymentStatus *string `pulumi:"deploymentStatus"`
+ // Configuration Deployment Type.
+ DeploymentType *string `pulumi:"deploymentType"`
+ // Error Message.
+ ErrorMessage *string `pulumi:"errorMessage"`
+ // Region Name.
+ Region *string `pulumi:"region"`
}
-func (ManagedRuleGroupOverrideArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedRuleGroupOverride)(nil)).Elem()
+// Network Manager Deployment Status.
+type NetworkManagerDeploymentStatusResponseOutput struct{ *pulumi.OutputState }
+
+func (NetworkManagerDeploymentStatusResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkManagerDeploymentStatusResponse)(nil)).Elem()
}
-func (i ManagedRuleGroupOverrideArgs) ToManagedRuleGroupOverrideOutput() ManagedRuleGroupOverrideOutput {
- return i.ToManagedRuleGroupOverrideOutputWithContext(context.Background())
+func (o NetworkManagerDeploymentStatusResponseOutput) ToNetworkManagerDeploymentStatusResponseOutput() NetworkManagerDeploymentStatusResponseOutput {
+ return o
}
-func (i ManagedRuleGroupOverrideArgs) ToManagedRuleGroupOverrideOutputWithContext(ctx context.Context) ManagedRuleGroupOverrideOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ManagedRuleGroupOverrideOutput)
+func (o NetworkManagerDeploymentStatusResponseOutput) ToNetworkManagerDeploymentStatusResponseOutputWithContext(ctx context.Context) NetworkManagerDeploymentStatusResponseOutput {
+ return o
}
-// ManagedRuleGroupOverrideArrayInput is an input type that accepts ManagedRuleGroupOverrideArray and ManagedRuleGroupOverrideArrayOutput values.
-// You can construct a concrete instance of `ManagedRuleGroupOverrideArrayInput` via:
-//
-// ManagedRuleGroupOverrideArray{ ManagedRuleGroupOverrideArgs{...} }
-type ManagedRuleGroupOverrideArrayInput interface {
- pulumi.Input
+// Commit Time.
+func (o NetworkManagerDeploymentStatusResponseOutput) CommitTime() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkManagerDeploymentStatusResponse) *string { return v.CommitTime }).(pulumi.StringPtrOutput)
+}
- ToManagedRuleGroupOverrideArrayOutput() ManagedRuleGroupOverrideArrayOutput
- ToManagedRuleGroupOverrideArrayOutputWithContext(context.Context) ManagedRuleGroupOverrideArrayOutput
+// List of configuration ids.
+func (o NetworkManagerDeploymentStatusResponseOutput) ConfigurationIds() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkManagerDeploymentStatusResponse) []string { return v.ConfigurationIds }).(pulumi.StringArrayOutput)
}
-type ManagedRuleGroupOverrideArray []ManagedRuleGroupOverrideInput
+// Deployment Status.
+func (o NetworkManagerDeploymentStatusResponseOutput) DeploymentStatus() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkManagerDeploymentStatusResponse) *string { return v.DeploymentStatus }).(pulumi.StringPtrOutput)
+}
-func (ManagedRuleGroupOverrideArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ManagedRuleGroupOverride)(nil)).Elem()
+// Configuration Deployment Type.
+func (o NetworkManagerDeploymentStatusResponseOutput) DeploymentType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkManagerDeploymentStatusResponse) *string { return v.DeploymentType }).(pulumi.StringPtrOutput)
}
-func (i ManagedRuleGroupOverrideArray) ToManagedRuleGroupOverrideArrayOutput() ManagedRuleGroupOverrideArrayOutput {
- return i.ToManagedRuleGroupOverrideArrayOutputWithContext(context.Background())
+// Error Message.
+func (o NetworkManagerDeploymentStatusResponseOutput) ErrorMessage() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkManagerDeploymentStatusResponse) *string { return v.ErrorMessage }).(pulumi.StringPtrOutput)
}
-func (i ManagedRuleGroupOverrideArray) ToManagedRuleGroupOverrideArrayOutputWithContext(ctx context.Context) ManagedRuleGroupOverrideArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ManagedRuleGroupOverrideArrayOutput)
+// Region Name.
+func (o NetworkManagerDeploymentStatusResponseOutput) Region() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkManagerDeploymentStatusResponse) *string { return v.Region }).(pulumi.StringPtrOutput)
}
-// Defines a managed rule group override setting.
-type ManagedRuleGroupOverrideOutput struct{ *pulumi.OutputState }
+type NetworkManagerDeploymentStatusResponseArrayOutput struct{ *pulumi.OutputState }
-func (ManagedRuleGroupOverrideOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedRuleGroupOverride)(nil)).Elem()
+func (NetworkManagerDeploymentStatusResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkManagerDeploymentStatusResponse)(nil)).Elem()
}
-func (o ManagedRuleGroupOverrideOutput) ToManagedRuleGroupOverrideOutput() ManagedRuleGroupOverrideOutput {
+func (o NetworkManagerDeploymentStatusResponseArrayOutput) ToNetworkManagerDeploymentStatusResponseArrayOutput() NetworkManagerDeploymentStatusResponseArrayOutput {
return o
}
-func (o ManagedRuleGroupOverrideOutput) ToManagedRuleGroupOverrideOutputWithContext(ctx context.Context) ManagedRuleGroupOverrideOutput {
+func (o NetworkManagerDeploymentStatusResponseArrayOutput) ToNetworkManagerDeploymentStatusResponseArrayOutputWithContext(ctx context.Context) NetworkManagerDeploymentStatusResponseArrayOutput {
return o
}
-// The managed rule group to override.
-func (o ManagedRuleGroupOverrideOutput) RuleGroupName() pulumi.StringOutput {
- return o.ApplyT(func(v ManagedRuleGroupOverride) string { return v.RuleGroupName }).(pulumi.StringOutput)
+func (o NetworkManagerDeploymentStatusResponseArrayOutput) Index(i pulumi.IntInput) NetworkManagerDeploymentStatusResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkManagerDeploymentStatusResponse {
+ return vs[0].([]NetworkManagerDeploymentStatusResponse)[vs[1].(int)]
+ }).(NetworkManagerDeploymentStatusResponseOutput)
}
-// List of rules that will be disabled. If none specified, all rules in the group will be disabled.
-func (o ManagedRuleGroupOverrideOutput) Rules() ManagedRuleOverrideArrayOutput {
- return o.ApplyT(func(v ManagedRuleGroupOverride) []ManagedRuleOverride { return v.Rules }).(ManagedRuleOverrideArrayOutput)
+// Scope of Network Manager.
+type NetworkManagerPropertiesNetworkManagerScopes struct {
+ // List of management groups.
+ ManagementGroups []string `pulumi:"managementGroups"`
+ // List of subscriptions.
+ Subscriptions []string `pulumi:"subscriptions"`
}
-type ManagedRuleGroupOverrideArrayOutput struct{ *pulumi.OutputState }
+// NetworkManagerPropertiesNetworkManagerScopesInput is an input type that accepts NetworkManagerPropertiesNetworkManagerScopesArgs and NetworkManagerPropertiesNetworkManagerScopesOutput values.
+// You can construct a concrete instance of `NetworkManagerPropertiesNetworkManagerScopesInput` via:
+//
+// NetworkManagerPropertiesNetworkManagerScopesArgs{...}
+type NetworkManagerPropertiesNetworkManagerScopesInput interface {
+ pulumi.Input
-func (ManagedRuleGroupOverrideArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ManagedRuleGroupOverride)(nil)).Elem()
+ ToNetworkManagerPropertiesNetworkManagerScopesOutput() NetworkManagerPropertiesNetworkManagerScopesOutput
+ ToNetworkManagerPropertiesNetworkManagerScopesOutputWithContext(context.Context) NetworkManagerPropertiesNetworkManagerScopesOutput
}
-func (o ManagedRuleGroupOverrideArrayOutput) ToManagedRuleGroupOverrideArrayOutput() ManagedRuleGroupOverrideArrayOutput {
- return o
+// Scope of Network Manager.
+type NetworkManagerPropertiesNetworkManagerScopesArgs struct {
+ // List of management groups.
+ ManagementGroups pulumi.StringArrayInput `pulumi:"managementGroups"`
+ // List of subscriptions.
+ Subscriptions pulumi.StringArrayInput `pulumi:"subscriptions"`
}
-func (o ManagedRuleGroupOverrideArrayOutput) ToManagedRuleGroupOverrideArrayOutputWithContext(ctx context.Context) ManagedRuleGroupOverrideArrayOutput {
- return o
+func (NetworkManagerPropertiesNetworkManagerScopesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkManagerPropertiesNetworkManagerScopes)(nil)).Elem()
}
-func (o ManagedRuleGroupOverrideArrayOutput) Index(i pulumi.IntInput) ManagedRuleGroupOverrideOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedRuleGroupOverride {
- return vs[0].([]ManagedRuleGroupOverride)[vs[1].(int)]
- }).(ManagedRuleGroupOverrideOutput)
+func (i NetworkManagerPropertiesNetworkManagerScopesArgs) ToNetworkManagerPropertiesNetworkManagerScopesOutput() NetworkManagerPropertiesNetworkManagerScopesOutput {
+ return i.ToNetworkManagerPropertiesNetworkManagerScopesOutputWithContext(context.Background())
}
-// Defines a managed rule group override setting.
-type ManagedRuleGroupOverrideResponse struct {
- // The managed rule group to override.
- RuleGroupName string `pulumi:"ruleGroupName"`
- // List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- Rules []ManagedRuleOverrideResponse `pulumi:"rules"`
+func (i NetworkManagerPropertiesNetworkManagerScopesArgs) ToNetworkManagerPropertiesNetworkManagerScopesOutputWithContext(ctx context.Context) NetworkManagerPropertiesNetworkManagerScopesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkManagerPropertiesNetworkManagerScopesOutput)
}
-// Defines a managed rule group override setting.
-type ManagedRuleGroupOverrideResponseOutput struct{ *pulumi.OutputState }
+// Scope of Network Manager.
+type NetworkManagerPropertiesNetworkManagerScopesOutput struct{ *pulumi.OutputState }
-func (ManagedRuleGroupOverrideResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedRuleGroupOverrideResponse)(nil)).Elem()
+func (NetworkManagerPropertiesNetworkManagerScopesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkManagerPropertiesNetworkManagerScopes)(nil)).Elem()
}
-func (o ManagedRuleGroupOverrideResponseOutput) ToManagedRuleGroupOverrideResponseOutput() ManagedRuleGroupOverrideResponseOutput {
+func (o NetworkManagerPropertiesNetworkManagerScopesOutput) ToNetworkManagerPropertiesNetworkManagerScopesOutput() NetworkManagerPropertiesNetworkManagerScopesOutput {
return o
}
-func (o ManagedRuleGroupOverrideResponseOutput) ToManagedRuleGroupOverrideResponseOutputWithContext(ctx context.Context) ManagedRuleGroupOverrideResponseOutput {
+func (o NetworkManagerPropertiesNetworkManagerScopesOutput) ToNetworkManagerPropertiesNetworkManagerScopesOutputWithContext(ctx context.Context) NetworkManagerPropertiesNetworkManagerScopesOutput {
return o
}
-// The managed rule group to override.
-func (o ManagedRuleGroupOverrideResponseOutput) RuleGroupName() pulumi.StringOutput {
- return o.ApplyT(func(v ManagedRuleGroupOverrideResponse) string { return v.RuleGroupName }).(pulumi.StringOutput)
+// List of management groups.
+func (o NetworkManagerPropertiesNetworkManagerScopesOutput) ManagementGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkManagerPropertiesNetworkManagerScopes) []string { return v.ManagementGroups }).(pulumi.StringArrayOutput)
}
-// List of rules that will be disabled. If none specified, all rules in the group will be disabled.
-func (o ManagedRuleGroupOverrideResponseOutput) Rules() ManagedRuleOverrideResponseArrayOutput {
- return o.ApplyT(func(v ManagedRuleGroupOverrideResponse) []ManagedRuleOverrideResponse { return v.Rules }).(ManagedRuleOverrideResponseArrayOutput)
+// List of subscriptions.
+func (o NetworkManagerPropertiesNetworkManagerScopesOutput) Subscriptions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkManagerPropertiesNetworkManagerScopes) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
}
-type ManagedRuleGroupOverrideResponseArrayOutput struct{ *pulumi.OutputState }
+// Scope of Network Manager.
+type NetworkManagerPropertiesResponseNetworkManagerScopes struct {
+ // List of cross tenant scopes.
+ CrossTenantScopes []CrossTenantScopesResponse `pulumi:"crossTenantScopes"`
+ // List of management groups.
+ ManagementGroups []string `pulumi:"managementGroups"`
+ // List of subscriptions.
+ Subscriptions []string `pulumi:"subscriptions"`
+}
-func (ManagedRuleGroupOverrideResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ManagedRuleGroupOverrideResponse)(nil)).Elem()
+// Scope of Network Manager.
+type NetworkManagerPropertiesResponseNetworkManagerScopesOutput struct{ *pulumi.OutputState }
+
+func (NetworkManagerPropertiesResponseNetworkManagerScopesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkManagerPropertiesResponseNetworkManagerScopes)(nil)).Elem()
}
-func (o ManagedRuleGroupOverrideResponseArrayOutput) ToManagedRuleGroupOverrideResponseArrayOutput() ManagedRuleGroupOverrideResponseArrayOutput {
+func (o NetworkManagerPropertiesResponseNetworkManagerScopesOutput) ToNetworkManagerPropertiesResponseNetworkManagerScopesOutput() NetworkManagerPropertiesResponseNetworkManagerScopesOutput {
return o
}
-func (o ManagedRuleGroupOverrideResponseArrayOutput) ToManagedRuleGroupOverrideResponseArrayOutputWithContext(ctx context.Context) ManagedRuleGroupOverrideResponseArrayOutput {
+func (o NetworkManagerPropertiesResponseNetworkManagerScopesOutput) ToNetworkManagerPropertiesResponseNetworkManagerScopesOutputWithContext(ctx context.Context) NetworkManagerPropertiesResponseNetworkManagerScopesOutput {
return o
}
-func (o ManagedRuleGroupOverrideResponseArrayOutput) Index(i pulumi.IntInput) ManagedRuleGroupOverrideResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedRuleGroupOverrideResponse {
- return vs[0].([]ManagedRuleGroupOverrideResponse)[vs[1].(int)]
- }).(ManagedRuleGroupOverrideResponseOutput)
+// List of cross tenant scopes.
+func (o NetworkManagerPropertiesResponseNetworkManagerScopesOutput) CrossTenantScopes() CrossTenantScopesResponseArrayOutput {
+ return o.ApplyT(func(v NetworkManagerPropertiesResponseNetworkManagerScopes) []CrossTenantScopesResponse {
+ return v.CrossTenantScopes
+ }).(CrossTenantScopesResponseArrayOutput)
}
-// Defines a managed rule group override setting.
-type ManagedRuleOverride struct {
- // Describes the override action to be applied when rule matches.
- Action *string `pulumi:"action"`
- // Identifier for the managed rule.
- RuleId string `pulumi:"ruleId"`
- // Describes the override sensitivity to be applied when rule matches.
- Sensitivity *string `pulumi:"sensitivity"`
- // The state of the managed rule. Defaults to Disabled if not specified.
- State *string `pulumi:"state"`
+// List of management groups.
+func (o NetworkManagerPropertiesResponseNetworkManagerScopesOutput) ManagementGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkManagerPropertiesResponseNetworkManagerScopes) []string { return v.ManagementGroups }).(pulumi.StringArrayOutput)
}
-// ManagedRuleOverrideInput is an input type that accepts ManagedRuleOverrideArgs and ManagedRuleOverrideOutput values.
-// You can construct a concrete instance of `ManagedRuleOverrideInput` via:
+// List of subscriptions.
+func (o NetworkManagerPropertiesResponseNetworkManagerScopesOutput) Subscriptions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkManagerPropertiesResponseNetworkManagerScopes) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
+}
+
+// Network manager routing group item.
+type NetworkManagerRoutingGroupItem struct {
+ // Network manager group Id.
+ NetworkGroupId string `pulumi:"networkGroupId"`
+}
+
+// NetworkManagerRoutingGroupItemInput is an input type that accepts NetworkManagerRoutingGroupItemArgs and NetworkManagerRoutingGroupItemOutput values.
+// You can construct a concrete instance of `NetworkManagerRoutingGroupItemInput` via:
//
-// ManagedRuleOverrideArgs{...}
-type ManagedRuleOverrideInput interface {
+// NetworkManagerRoutingGroupItemArgs{...}
+type NetworkManagerRoutingGroupItemInput interface {
pulumi.Input
- ToManagedRuleOverrideOutput() ManagedRuleOverrideOutput
- ToManagedRuleOverrideOutputWithContext(context.Context) ManagedRuleOverrideOutput
+ ToNetworkManagerRoutingGroupItemOutput() NetworkManagerRoutingGroupItemOutput
+ ToNetworkManagerRoutingGroupItemOutputWithContext(context.Context) NetworkManagerRoutingGroupItemOutput
}
-// Defines a managed rule group override setting.
-type ManagedRuleOverrideArgs struct {
- // Describes the override action to be applied when rule matches.
- Action pulumi.StringPtrInput `pulumi:"action"`
- // Identifier for the managed rule.
- RuleId pulumi.StringInput `pulumi:"ruleId"`
- // Describes the override sensitivity to be applied when rule matches.
- Sensitivity pulumi.StringPtrInput `pulumi:"sensitivity"`
- // The state of the managed rule. Defaults to Disabled if not specified.
- State pulumi.StringPtrInput `pulumi:"state"`
+// Network manager routing group item.
+type NetworkManagerRoutingGroupItemArgs struct {
+ // Network manager group Id.
+ NetworkGroupId pulumi.StringInput `pulumi:"networkGroupId"`
}
-func (ManagedRuleOverrideArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedRuleOverride)(nil)).Elem()
+func (NetworkManagerRoutingGroupItemArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkManagerRoutingGroupItem)(nil)).Elem()
}
-func (i ManagedRuleOverrideArgs) ToManagedRuleOverrideOutput() ManagedRuleOverrideOutput {
- return i.ToManagedRuleOverrideOutputWithContext(context.Background())
+func (i NetworkManagerRoutingGroupItemArgs) ToNetworkManagerRoutingGroupItemOutput() NetworkManagerRoutingGroupItemOutput {
+ return i.ToNetworkManagerRoutingGroupItemOutputWithContext(context.Background())
}
-func (i ManagedRuleOverrideArgs) ToManagedRuleOverrideOutputWithContext(ctx context.Context) ManagedRuleOverrideOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ManagedRuleOverrideOutput)
+func (i NetworkManagerRoutingGroupItemArgs) ToNetworkManagerRoutingGroupItemOutputWithContext(ctx context.Context) NetworkManagerRoutingGroupItemOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkManagerRoutingGroupItemOutput)
}
-// ManagedRuleOverrideArrayInput is an input type that accepts ManagedRuleOverrideArray and ManagedRuleOverrideArrayOutput values.
-// You can construct a concrete instance of `ManagedRuleOverrideArrayInput` via:
+// NetworkManagerRoutingGroupItemArrayInput is an input type that accepts NetworkManagerRoutingGroupItemArray and NetworkManagerRoutingGroupItemArrayOutput values.
+// You can construct a concrete instance of `NetworkManagerRoutingGroupItemArrayInput` via:
//
-// ManagedRuleOverrideArray{ ManagedRuleOverrideArgs{...} }
-type ManagedRuleOverrideArrayInput interface {
+// NetworkManagerRoutingGroupItemArray{ NetworkManagerRoutingGroupItemArgs{...} }
+type NetworkManagerRoutingGroupItemArrayInput interface {
pulumi.Input
- ToManagedRuleOverrideArrayOutput() ManagedRuleOverrideArrayOutput
- ToManagedRuleOverrideArrayOutputWithContext(context.Context) ManagedRuleOverrideArrayOutput
+ ToNetworkManagerRoutingGroupItemArrayOutput() NetworkManagerRoutingGroupItemArrayOutput
+ ToNetworkManagerRoutingGroupItemArrayOutputWithContext(context.Context) NetworkManagerRoutingGroupItemArrayOutput
}
-type ManagedRuleOverrideArray []ManagedRuleOverrideInput
+type NetworkManagerRoutingGroupItemArray []NetworkManagerRoutingGroupItemInput
-func (ManagedRuleOverrideArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ManagedRuleOverride)(nil)).Elem()
+func (NetworkManagerRoutingGroupItemArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkManagerRoutingGroupItem)(nil)).Elem()
}
-func (i ManagedRuleOverrideArray) ToManagedRuleOverrideArrayOutput() ManagedRuleOverrideArrayOutput {
- return i.ToManagedRuleOverrideArrayOutputWithContext(context.Background())
+func (i NetworkManagerRoutingGroupItemArray) ToNetworkManagerRoutingGroupItemArrayOutput() NetworkManagerRoutingGroupItemArrayOutput {
+ return i.ToNetworkManagerRoutingGroupItemArrayOutputWithContext(context.Background())
}
-func (i ManagedRuleOverrideArray) ToManagedRuleOverrideArrayOutputWithContext(ctx context.Context) ManagedRuleOverrideArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ManagedRuleOverrideArrayOutput)
+func (i NetworkManagerRoutingGroupItemArray) ToNetworkManagerRoutingGroupItemArrayOutputWithContext(ctx context.Context) NetworkManagerRoutingGroupItemArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkManagerRoutingGroupItemArrayOutput)
}
-// Defines a managed rule group override setting.
-type ManagedRuleOverrideOutput struct{ *pulumi.OutputState }
+// Network manager routing group item.
+type NetworkManagerRoutingGroupItemOutput struct{ *pulumi.OutputState }
-func (ManagedRuleOverrideOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedRuleOverride)(nil)).Elem()
+func (NetworkManagerRoutingGroupItemOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkManagerRoutingGroupItem)(nil)).Elem()
}
-func (o ManagedRuleOverrideOutput) ToManagedRuleOverrideOutput() ManagedRuleOverrideOutput {
+func (o NetworkManagerRoutingGroupItemOutput) ToNetworkManagerRoutingGroupItemOutput() NetworkManagerRoutingGroupItemOutput {
return o
}
-func (o ManagedRuleOverrideOutput) ToManagedRuleOverrideOutputWithContext(ctx context.Context) ManagedRuleOverrideOutput {
+func (o NetworkManagerRoutingGroupItemOutput) ToNetworkManagerRoutingGroupItemOutputWithContext(ctx context.Context) NetworkManagerRoutingGroupItemOutput {
return o
}
-// Describes the override action to be applied when rule matches.
-func (o ManagedRuleOverrideOutput) Action() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ManagedRuleOverride) *string { return v.Action }).(pulumi.StringPtrOutput)
+// Network manager group Id.
+func (o NetworkManagerRoutingGroupItemOutput) NetworkGroupId() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkManagerRoutingGroupItem) string { return v.NetworkGroupId }).(pulumi.StringOutput)
}
-// Identifier for the managed rule.
-func (o ManagedRuleOverrideOutput) RuleId() pulumi.StringOutput {
- return o.ApplyT(func(v ManagedRuleOverride) string { return v.RuleId }).(pulumi.StringOutput)
+type NetworkManagerRoutingGroupItemArrayOutput struct{ *pulumi.OutputState }
+
+func (NetworkManagerRoutingGroupItemArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkManagerRoutingGroupItem)(nil)).Elem()
}
-// Describes the override sensitivity to be applied when rule matches.
-func (o ManagedRuleOverrideOutput) Sensitivity() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ManagedRuleOverride) *string { return v.Sensitivity }).(pulumi.StringPtrOutput)
+func (o NetworkManagerRoutingGroupItemArrayOutput) ToNetworkManagerRoutingGroupItemArrayOutput() NetworkManagerRoutingGroupItemArrayOutput {
+ return o
}
-// The state of the managed rule. Defaults to Disabled if not specified.
-func (o ManagedRuleOverrideOutput) State() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ManagedRuleOverride) *string { return v.State }).(pulumi.StringPtrOutput)
+func (o NetworkManagerRoutingGroupItemArrayOutput) ToNetworkManagerRoutingGroupItemArrayOutputWithContext(ctx context.Context) NetworkManagerRoutingGroupItemArrayOutput {
+ return o
}
-type ManagedRuleOverrideArrayOutput struct{ *pulumi.OutputState }
+func (o NetworkManagerRoutingGroupItemArrayOutput) Index(i pulumi.IntInput) NetworkManagerRoutingGroupItemOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkManagerRoutingGroupItem {
+ return vs[0].([]NetworkManagerRoutingGroupItem)[vs[1].(int)]
+ }).(NetworkManagerRoutingGroupItemOutput)
+}
-func (ManagedRuleOverrideArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ManagedRuleOverride)(nil)).Elem()
+// Network manager routing group item.
+type NetworkManagerRoutingGroupItemResponse struct {
+ // Network manager group Id.
+ NetworkGroupId string `pulumi:"networkGroupId"`
}
-func (o ManagedRuleOverrideArrayOutput) ToManagedRuleOverrideArrayOutput() ManagedRuleOverrideArrayOutput {
- return o
+// Network manager routing group item.
+type NetworkManagerRoutingGroupItemResponseOutput struct{ *pulumi.OutputState }
+
+func (NetworkManagerRoutingGroupItemResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkManagerRoutingGroupItemResponse)(nil)).Elem()
}
-func (o ManagedRuleOverrideArrayOutput) ToManagedRuleOverrideArrayOutputWithContext(ctx context.Context) ManagedRuleOverrideArrayOutput {
+func (o NetworkManagerRoutingGroupItemResponseOutput) ToNetworkManagerRoutingGroupItemResponseOutput() NetworkManagerRoutingGroupItemResponseOutput {
return o
}
-func (o ManagedRuleOverrideArrayOutput) Index(i pulumi.IntInput) ManagedRuleOverrideOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedRuleOverride {
- return vs[0].([]ManagedRuleOverride)[vs[1].(int)]
- }).(ManagedRuleOverrideOutput)
+func (o NetworkManagerRoutingGroupItemResponseOutput) ToNetworkManagerRoutingGroupItemResponseOutputWithContext(ctx context.Context) NetworkManagerRoutingGroupItemResponseOutput {
+ return o
}
-// Defines a managed rule group override setting.
-type ManagedRuleOverrideResponse struct {
- // Describes the override action to be applied when rule matches.
- Action *string `pulumi:"action"`
- // Identifier for the managed rule.
- RuleId string `pulumi:"ruleId"`
- // Describes the override sensitivity to be applied when rule matches.
- Sensitivity *string `pulumi:"sensitivity"`
- // The state of the managed rule. Defaults to Disabled if not specified.
- State *string `pulumi:"state"`
+// Network manager group Id.
+func (o NetworkManagerRoutingGroupItemResponseOutput) NetworkGroupId() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkManagerRoutingGroupItemResponse) string { return v.NetworkGroupId }).(pulumi.StringOutput)
}
-// Defines a managed rule group override setting.
-type ManagedRuleOverrideResponseOutput struct{ *pulumi.OutputState }
+type NetworkManagerRoutingGroupItemResponseArrayOutput struct{ *pulumi.OutputState }
-func (ManagedRuleOverrideResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedRuleOverrideResponse)(nil)).Elem()
+func (NetworkManagerRoutingGroupItemResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkManagerRoutingGroupItemResponse)(nil)).Elem()
}
-func (o ManagedRuleOverrideResponseOutput) ToManagedRuleOverrideResponseOutput() ManagedRuleOverrideResponseOutput {
+func (o NetworkManagerRoutingGroupItemResponseArrayOutput) ToNetworkManagerRoutingGroupItemResponseArrayOutput() NetworkManagerRoutingGroupItemResponseArrayOutput {
return o
}
-func (o ManagedRuleOverrideResponseOutput) ToManagedRuleOverrideResponseOutputWithContext(ctx context.Context) ManagedRuleOverrideResponseOutput {
+func (o NetworkManagerRoutingGroupItemResponseArrayOutput) ToNetworkManagerRoutingGroupItemResponseArrayOutputWithContext(ctx context.Context) NetworkManagerRoutingGroupItemResponseArrayOutput {
return o
}
-// Describes the override action to be applied when rule matches.
-func (o ManagedRuleOverrideResponseOutput) Action() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ManagedRuleOverrideResponse) *string { return v.Action }).(pulumi.StringPtrOutput)
+func (o NetworkManagerRoutingGroupItemResponseArrayOutput) Index(i pulumi.IntInput) NetworkManagerRoutingGroupItemResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkManagerRoutingGroupItemResponse {
+ return vs[0].([]NetworkManagerRoutingGroupItemResponse)[vs[1].(int)]
+ }).(NetworkManagerRoutingGroupItemResponseOutput)
}
-// Identifier for the managed rule.
-func (o ManagedRuleOverrideResponseOutput) RuleId() pulumi.StringOutput {
- return o.ApplyT(func(v ManagedRuleOverrideResponse) string { return v.RuleId }).(pulumi.StringOutput)
+// Network manager security group item.
+type NetworkManagerSecurityGroupItem struct {
+ // Network manager group Id.
+ NetworkGroupId string `pulumi:"networkGroupId"`
}
-// Describes the override sensitivity to be applied when rule matches.
-func (o ManagedRuleOverrideResponseOutput) Sensitivity() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ManagedRuleOverrideResponse) *string { return v.Sensitivity }).(pulumi.StringPtrOutput)
+// NetworkManagerSecurityGroupItemInput is an input type that accepts NetworkManagerSecurityGroupItemArgs and NetworkManagerSecurityGroupItemOutput values.
+// You can construct a concrete instance of `NetworkManagerSecurityGroupItemInput` via:
+//
+// NetworkManagerSecurityGroupItemArgs{...}
+type NetworkManagerSecurityGroupItemInput interface {
+ pulumi.Input
+
+ ToNetworkManagerSecurityGroupItemOutput() NetworkManagerSecurityGroupItemOutput
+ ToNetworkManagerSecurityGroupItemOutputWithContext(context.Context) NetworkManagerSecurityGroupItemOutput
}
-// The state of the managed rule. Defaults to Disabled if not specified.
-func (o ManagedRuleOverrideResponseOutput) State() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ManagedRuleOverrideResponse) *string { return v.State }).(pulumi.StringPtrOutput)
+// Network manager security group item.
+type NetworkManagerSecurityGroupItemArgs struct {
+ // Network manager group Id.
+ NetworkGroupId pulumi.StringInput `pulumi:"networkGroupId"`
}
-type ManagedRuleOverrideResponseArrayOutput struct{ *pulumi.OutputState }
+func (NetworkManagerSecurityGroupItemArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkManagerSecurityGroupItem)(nil)).Elem()
+}
-func (ManagedRuleOverrideResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ManagedRuleOverrideResponse)(nil)).Elem()
+func (i NetworkManagerSecurityGroupItemArgs) ToNetworkManagerSecurityGroupItemOutput() NetworkManagerSecurityGroupItemOutput {
+ return i.ToNetworkManagerSecurityGroupItemOutputWithContext(context.Background())
}
-func (o ManagedRuleOverrideResponseArrayOutput) ToManagedRuleOverrideResponseArrayOutput() ManagedRuleOverrideResponseArrayOutput {
+func (i NetworkManagerSecurityGroupItemArgs) ToNetworkManagerSecurityGroupItemOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkManagerSecurityGroupItemOutput)
+}
+
+// NetworkManagerSecurityGroupItemArrayInput is an input type that accepts NetworkManagerSecurityGroupItemArray and NetworkManagerSecurityGroupItemArrayOutput values.
+// You can construct a concrete instance of `NetworkManagerSecurityGroupItemArrayInput` via:
+//
+// NetworkManagerSecurityGroupItemArray{ NetworkManagerSecurityGroupItemArgs{...} }
+type NetworkManagerSecurityGroupItemArrayInput interface {
+ pulumi.Input
+
+ ToNetworkManagerSecurityGroupItemArrayOutput() NetworkManagerSecurityGroupItemArrayOutput
+ ToNetworkManagerSecurityGroupItemArrayOutputWithContext(context.Context) NetworkManagerSecurityGroupItemArrayOutput
+}
+
+type NetworkManagerSecurityGroupItemArray []NetworkManagerSecurityGroupItemInput
+
+func (NetworkManagerSecurityGroupItemArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkManagerSecurityGroupItem)(nil)).Elem()
+}
+
+func (i NetworkManagerSecurityGroupItemArray) ToNetworkManagerSecurityGroupItemArrayOutput() NetworkManagerSecurityGroupItemArrayOutput {
+ return i.ToNetworkManagerSecurityGroupItemArrayOutputWithContext(context.Background())
+}
+
+func (i NetworkManagerSecurityGroupItemArray) ToNetworkManagerSecurityGroupItemArrayOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkManagerSecurityGroupItemArrayOutput)
+}
+
+// Network manager security group item.
+type NetworkManagerSecurityGroupItemOutput struct{ *pulumi.OutputState }
+
+func (NetworkManagerSecurityGroupItemOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkManagerSecurityGroupItem)(nil)).Elem()
+}
+
+func (o NetworkManagerSecurityGroupItemOutput) ToNetworkManagerSecurityGroupItemOutput() NetworkManagerSecurityGroupItemOutput {
return o
}
-func (o ManagedRuleOverrideResponseArrayOutput) ToManagedRuleOverrideResponseArrayOutputWithContext(ctx context.Context) ManagedRuleOverrideResponseArrayOutput {
+func (o NetworkManagerSecurityGroupItemOutput) ToNetworkManagerSecurityGroupItemOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemOutput {
return o
}
-func (o ManagedRuleOverrideResponseArrayOutput) Index(i pulumi.IntInput) ManagedRuleOverrideResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedRuleOverrideResponse {
- return vs[0].([]ManagedRuleOverrideResponse)[vs[1].(int)]
- }).(ManagedRuleOverrideResponseOutput)
+// Network manager group Id.
+func (o NetworkManagerSecurityGroupItemOutput) NetworkGroupId() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkManagerSecurityGroupItem) string { return v.NetworkGroupId }).(pulumi.StringOutput)
}
-// Defines a managed rule set.
-type ManagedRuleSet struct {
- // Defines the rule group overrides to apply to the rule set.
- RuleGroupOverrides []ManagedRuleGroupOverride `pulumi:"ruleGroupOverrides"`
- // Defines the rule set type to use.
- RuleSetType string `pulumi:"ruleSetType"`
- // Defines the version of the rule set to use.
- RuleSetVersion string `pulumi:"ruleSetVersion"`
+type NetworkManagerSecurityGroupItemArrayOutput struct{ *pulumi.OutputState }
+
+func (NetworkManagerSecurityGroupItemArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkManagerSecurityGroupItem)(nil)).Elem()
}
-// ManagedRuleSetInput is an input type that accepts ManagedRuleSetArgs and ManagedRuleSetOutput values.
-// You can construct a concrete instance of `ManagedRuleSetInput` via:
-//
-// ManagedRuleSetArgs{...}
-type ManagedRuleSetInput interface {
- pulumi.Input
+func (o NetworkManagerSecurityGroupItemArrayOutput) ToNetworkManagerSecurityGroupItemArrayOutput() NetworkManagerSecurityGroupItemArrayOutput {
+ return o
+}
- ToManagedRuleSetOutput() ManagedRuleSetOutput
- ToManagedRuleSetOutputWithContext(context.Context) ManagedRuleSetOutput
+func (o NetworkManagerSecurityGroupItemArrayOutput) ToNetworkManagerSecurityGroupItemArrayOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemArrayOutput {
+ return o
}
-// Defines a managed rule set.
-type ManagedRuleSetArgs struct {
- // Defines the rule group overrides to apply to the rule set.
- RuleGroupOverrides ManagedRuleGroupOverrideArrayInput `pulumi:"ruleGroupOverrides"`
- // Defines the rule set type to use.
- RuleSetType pulumi.StringInput `pulumi:"ruleSetType"`
- // Defines the version of the rule set to use.
- RuleSetVersion pulumi.StringInput `pulumi:"ruleSetVersion"`
+func (o NetworkManagerSecurityGroupItemArrayOutput) Index(i pulumi.IntInput) NetworkManagerSecurityGroupItemOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkManagerSecurityGroupItem {
+ return vs[0].([]NetworkManagerSecurityGroupItem)[vs[1].(int)]
+ }).(NetworkManagerSecurityGroupItemOutput)
}
-func (ManagedRuleSetArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedRuleSet)(nil)).Elem()
+// Network manager security group item.
+type NetworkManagerSecurityGroupItemResponse struct {
+ // Network manager group Id.
+ NetworkGroupId string `pulumi:"networkGroupId"`
}
-func (i ManagedRuleSetArgs) ToManagedRuleSetOutput() ManagedRuleSetOutput {
- return i.ToManagedRuleSetOutputWithContext(context.Background())
+// Network manager security group item.
+type NetworkManagerSecurityGroupItemResponseOutput struct{ *pulumi.OutputState }
+
+func (NetworkManagerSecurityGroupItemResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkManagerSecurityGroupItemResponse)(nil)).Elem()
}
-func (i ManagedRuleSetArgs) ToManagedRuleSetOutputWithContext(ctx context.Context) ManagedRuleSetOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ManagedRuleSetOutput)
+func (o NetworkManagerSecurityGroupItemResponseOutput) ToNetworkManagerSecurityGroupItemResponseOutput() NetworkManagerSecurityGroupItemResponseOutput {
+ return o
}
-// ManagedRuleSetArrayInput is an input type that accepts ManagedRuleSetArray and ManagedRuleSetArrayOutput values.
-// You can construct a concrete instance of `ManagedRuleSetArrayInput` via:
-//
-// ManagedRuleSetArray{ ManagedRuleSetArgs{...} }
-type ManagedRuleSetArrayInput interface {
- pulumi.Input
+func (o NetworkManagerSecurityGroupItemResponseOutput) ToNetworkManagerSecurityGroupItemResponseOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemResponseOutput {
+ return o
+}
- ToManagedRuleSetArrayOutput() ManagedRuleSetArrayOutput
- ToManagedRuleSetArrayOutputWithContext(context.Context) ManagedRuleSetArrayOutput
+// Network manager group Id.
+func (o NetworkManagerSecurityGroupItemResponseOutput) NetworkGroupId() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkManagerSecurityGroupItemResponse) string { return v.NetworkGroupId }).(pulumi.StringOutput)
}
-type ManagedRuleSetArray []ManagedRuleSetInput
+type NetworkManagerSecurityGroupItemResponseArrayOutput struct{ *pulumi.OutputState }
-func (ManagedRuleSetArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ManagedRuleSet)(nil)).Elem()
+func (NetworkManagerSecurityGroupItemResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkManagerSecurityGroupItemResponse)(nil)).Elem()
}
-func (i ManagedRuleSetArray) ToManagedRuleSetArrayOutput() ManagedRuleSetArrayOutput {
- return i.ToManagedRuleSetArrayOutputWithContext(context.Background())
+func (o NetworkManagerSecurityGroupItemResponseArrayOutput) ToNetworkManagerSecurityGroupItemResponseArrayOutput() NetworkManagerSecurityGroupItemResponseArrayOutput {
+ return o
}
-func (i ManagedRuleSetArray) ToManagedRuleSetArrayOutputWithContext(ctx context.Context) ManagedRuleSetArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ManagedRuleSetArrayOutput)
+func (o NetworkManagerSecurityGroupItemResponseArrayOutput) ToNetworkManagerSecurityGroupItemResponseArrayOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemResponseArrayOutput {
+ return o
}
-// Defines a managed rule set.
-type ManagedRuleSetOutput struct{ *pulumi.OutputState }
+func (o NetworkManagerSecurityGroupItemResponseArrayOutput) Index(i pulumi.IntInput) NetworkManagerSecurityGroupItemResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkManagerSecurityGroupItemResponse {
+ return vs[0].([]NetworkManagerSecurityGroupItemResponse)[vs[1].(int)]
+ }).(NetworkManagerSecurityGroupItemResponseOutput)
+}
-func (ManagedRuleSetOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedRuleSet)(nil)).Elem()
+// Network manager security group item.
+type NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponse struct {
+ // Network manager group Id.
+ NetworkGroupId *string `pulumi:"networkGroupId"`
}
-func (o ManagedRuleSetOutput) ToManagedRuleSetOutput() ManagedRuleSetOutput {
+// Network manager security group item.
+type NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseOutput struct{ *pulumi.OutputState }
+
+func (NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponse)(nil)).Elem()
+}
+
+func (o NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseOutput) ToNetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseOutput() NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseOutput {
return o
}
-func (o ManagedRuleSetOutput) ToManagedRuleSetOutputWithContext(ctx context.Context) ManagedRuleSetOutput {
+func (o NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseOutput) ToNetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseOutput {
return o
}
-// Defines the rule group overrides to apply to the rule set.
-func (o ManagedRuleSetOutput) RuleGroupOverrides() ManagedRuleGroupOverrideArrayOutput {
- return o.ApplyT(func(v ManagedRuleSet) []ManagedRuleGroupOverride { return v.RuleGroupOverrides }).(ManagedRuleGroupOverrideArrayOutput)
+// Network manager group Id.
+func (o NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseOutput) NetworkGroupId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponse) *string {
+ return v.NetworkGroupId
+ }).(pulumi.StringPtrOutput)
}
-// Defines the rule set type to use.
-func (o ManagedRuleSetOutput) RuleSetType() pulumi.StringOutput {
- return o.ApplyT(func(v ManagedRuleSet) string { return v.RuleSetType }).(pulumi.StringOutput)
+type NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponse)(nil)).Elem()
}
-// Defines the version of the rule set to use.
-func (o ManagedRuleSetOutput) RuleSetVersion() pulumi.StringOutput {
- return o.ApplyT(func(v ManagedRuleSet) string { return v.RuleSetVersion }).(pulumi.StringOutput)
+func (o NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseArrayOutput) ToNetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseArrayOutput() NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseArrayOutput {
+ return o
}
-type ManagedRuleSetArrayOutput struct{ *pulumi.OutputState }
+func (o NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseArrayOutput) ToNetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseArrayOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseArrayOutput {
+ return o
+}
-func (ManagedRuleSetArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ManagedRuleSet)(nil)).Elem()
+func (o NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseArrayOutput) Index(i pulumi.IntInput) NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponse {
+ return vs[0].([]NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponse)[vs[1].(int)]
+ }).(NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseOutput)
}
-func (o ManagedRuleSetArrayOutput) ToManagedRuleSetArrayOutput() ManagedRuleSetArrayOutput {
- return o
+// Network manager security group item.
+type NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponse struct {
+ // Network manager group Id.
+ NetworkGroupId *string `pulumi:"networkGroupId"`
}
-func (o ManagedRuleSetArrayOutput) ToManagedRuleSetArrayOutputWithContext(ctx context.Context) ManagedRuleSetArrayOutput {
+// Network manager security group item.
+type NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseOutput struct{ *pulumi.OutputState }
+
+func (NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponse)(nil)).Elem()
+}
+
+func (o NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseOutput) ToNetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseOutput() NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseOutput {
return o
}
-func (o ManagedRuleSetArrayOutput) Index(i pulumi.IntInput) ManagedRuleSetOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedRuleSet {
- return vs[0].([]ManagedRuleSet)[vs[1].(int)]
- }).(ManagedRuleSetOutput)
+func (o NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseOutput) ToNetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseOutput {
+ return o
}
-// Defines a managed rule set.
-type ManagedRuleSetResponse struct {
- // Defines the rule group overrides to apply to the rule set.
- RuleGroupOverrides []ManagedRuleGroupOverrideResponse `pulumi:"ruleGroupOverrides"`
- // Defines the rule set type to use.
- RuleSetType string `pulumi:"ruleSetType"`
- // Defines the version of the rule set to use.
- RuleSetVersion string `pulumi:"ruleSetVersion"`
+// Network manager group Id.
+func (o NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseOutput) NetworkGroupId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponse) *string {
+ return v.NetworkGroupId
+ }).(pulumi.StringPtrOutput)
}
-// Defines a managed rule set.
-type ManagedRuleSetResponseOutput struct{ *pulumi.OutputState }
+type NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseArrayOutput struct{ *pulumi.OutputState }
-func (ManagedRuleSetResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedRuleSetResponse)(nil)).Elem()
+func (NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponse)(nil)).Elem()
}
-func (o ManagedRuleSetResponseOutput) ToManagedRuleSetResponseOutput() ManagedRuleSetResponseOutput {
+func (o NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseArrayOutput) ToNetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseArrayOutput() NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseArrayOutput {
return o
}
-func (o ManagedRuleSetResponseOutput) ToManagedRuleSetResponseOutputWithContext(ctx context.Context) ManagedRuleSetResponseOutput {
+func (o NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseArrayOutput) ToNetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseArrayOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseArrayOutput {
return o
}
-// Defines the rule group overrides to apply to the rule set.
-func (o ManagedRuleSetResponseOutput) RuleGroupOverrides() ManagedRuleGroupOverrideResponseArrayOutput {
- return o.ApplyT(func(v ManagedRuleSetResponse) []ManagedRuleGroupOverrideResponse { return v.RuleGroupOverrides }).(ManagedRuleGroupOverrideResponseArrayOutput)
+func (o NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseArrayOutput) Index(i pulumi.IntInput) NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponse {
+ return vs[0].([]NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponse)[vs[1].(int)]
+ }).(NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseOutput)
}
-// Defines the rule set type to use.
-func (o ManagedRuleSetResponseOutput) RuleSetType() pulumi.StringOutput {
- return o.ApplyT(func(v ManagedRuleSetResponse) string { return v.RuleSetType }).(pulumi.StringOutput)
+// Network manager security group item.
+type NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponse struct {
+ // Network manager group Id.
+ NetworkGroupId *string `pulumi:"networkGroupId"`
}
-// Defines the version of the rule set to use.
-func (o ManagedRuleSetResponseOutput) RuleSetVersion() pulumi.StringOutput {
- return o.ApplyT(func(v ManagedRuleSetResponse) string { return v.RuleSetVersion }).(pulumi.StringOutput)
+// Network manager security group item.
+type NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseOutput struct{ *pulumi.OutputState }
+
+func (NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponse)(nil)).Elem()
}
-type ManagedRuleSetResponseArrayOutput struct{ *pulumi.OutputState }
+func (o NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseOutput) ToNetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseOutput() NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseOutput {
+ return o
+}
-func (ManagedRuleSetResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ManagedRuleSetResponse)(nil)).Elem()
+func (o NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseOutput) ToNetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseOutput {
+ return o
}
-func (o ManagedRuleSetResponseArrayOutput) ToManagedRuleSetResponseArrayOutput() ManagedRuleSetResponseArrayOutput {
+// Network manager group Id.
+func (o NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseOutput) NetworkGroupId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponse) *string {
+ return v.NetworkGroupId
+ }).(pulumi.StringPtrOutput)
+}
+
+type NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponse)(nil)).Elem()
+}
+
+func (o NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseArrayOutput) ToNetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseArrayOutput() NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseArrayOutput {
return o
}
-func (o ManagedRuleSetResponseArrayOutput) ToManagedRuleSetResponseArrayOutputWithContext(ctx context.Context) ManagedRuleSetResponseArrayOutput {
+func (o NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseArrayOutput) ToNetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseArrayOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseArrayOutput {
return o
}
-func (o ManagedRuleSetResponseArrayOutput) Index(i pulumi.IntInput) ManagedRuleSetResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedRuleSetResponse {
- return vs[0].([]ManagedRuleSetResponse)[vs[1].(int)]
- }).(ManagedRuleSetResponseOutput)
+func (o NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseArrayOutput) Index(i pulumi.IntInput) NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponse {
+ return vs[0].([]NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponse)[vs[1].(int)]
+ }).(NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseOutput)
}
-// Allow to exclude some variable satisfy the condition for the WAF check.
-type ManagedRulesDefinition struct {
- // The exceptions that are applied on the policy.
- Exceptions []ExceptionEntry `pulumi:"exceptions"`
- // The Exclusions that are applied on the policy.
- Exclusions []OwaspCrsExclusionEntry `pulumi:"exclusions"`
- // The managed rule sets that are associated with the policy.
- ManagedRuleSets []ManagedRuleSet `pulumi:"managedRuleSets"`
+// Rule of type network.
+type NetworkRule struct {
+ // Description of the rule.
+ Description *string `pulumi:"description"`
+ // List of destination IP addresses or Service Tags.
+ DestinationAddresses []string `pulumi:"destinationAddresses"`
+ // List of destination FQDNs.
+ DestinationFqdns []string `pulumi:"destinationFqdns"`
+ // List of destination IpGroups for this rule.
+ DestinationIpGroups []string `pulumi:"destinationIpGroups"`
+ // List of destination ports.
+ DestinationPorts []string `pulumi:"destinationPorts"`
+ // Array of FirewallPolicyRuleNetworkProtocols.
+ IpProtocols []string `pulumi:"ipProtocols"`
+ // Name of the rule.
+ Name *string `pulumi:"name"`
+ // Rule Type.
+ // Expected value is 'NetworkRule'.
+ RuleType string `pulumi:"ruleType"`
+ // List of source IP addresses for this rule.
+ SourceAddresses []string `pulumi:"sourceAddresses"`
+ // List of source IpGroups for this rule.
+ SourceIpGroups []string `pulumi:"sourceIpGroups"`
}
-// ManagedRulesDefinitionInput is an input type that accepts ManagedRulesDefinitionArgs and ManagedRulesDefinitionOutput values.
-// You can construct a concrete instance of `ManagedRulesDefinitionInput` via:
+// NetworkRuleInput is an input type that accepts NetworkRuleArgs and NetworkRuleOutput values.
+// You can construct a concrete instance of `NetworkRuleInput` via:
//
-// ManagedRulesDefinitionArgs{...}
-type ManagedRulesDefinitionInput interface {
+// NetworkRuleArgs{...}
+type NetworkRuleInput interface {
pulumi.Input
- ToManagedRulesDefinitionOutput() ManagedRulesDefinitionOutput
- ToManagedRulesDefinitionOutputWithContext(context.Context) ManagedRulesDefinitionOutput
+ ToNetworkRuleOutput() NetworkRuleOutput
+ ToNetworkRuleOutputWithContext(context.Context) NetworkRuleOutput
}
-// Allow to exclude some variable satisfy the condition for the WAF check.
-type ManagedRulesDefinitionArgs struct {
- // The exceptions that are applied on the policy.
- Exceptions ExceptionEntryArrayInput `pulumi:"exceptions"`
- // The Exclusions that are applied on the policy.
- Exclusions OwaspCrsExclusionEntryArrayInput `pulumi:"exclusions"`
- // The managed rule sets that are associated with the policy.
- ManagedRuleSets ManagedRuleSetArrayInput `pulumi:"managedRuleSets"`
+// Rule of type network.
+type NetworkRuleArgs struct {
+ // Description of the rule.
+ Description pulumi.StringPtrInput `pulumi:"description"`
+ // List of destination IP addresses or Service Tags.
+ DestinationAddresses pulumi.StringArrayInput `pulumi:"destinationAddresses"`
+ // List of destination FQDNs.
+ DestinationFqdns pulumi.StringArrayInput `pulumi:"destinationFqdns"`
+ // List of destination IpGroups for this rule.
+ DestinationIpGroups pulumi.StringArrayInput `pulumi:"destinationIpGroups"`
+ // List of destination ports.
+ DestinationPorts pulumi.StringArrayInput `pulumi:"destinationPorts"`
+ // Array of FirewallPolicyRuleNetworkProtocols.
+ IpProtocols pulumi.StringArrayInput `pulumi:"ipProtocols"`
+ // Name of the rule.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Rule Type.
+ // Expected value is 'NetworkRule'.
+ RuleType pulumi.StringInput `pulumi:"ruleType"`
+ // List of source IP addresses for this rule.
+ SourceAddresses pulumi.StringArrayInput `pulumi:"sourceAddresses"`
+ // List of source IpGroups for this rule.
+ SourceIpGroups pulumi.StringArrayInput `pulumi:"sourceIpGroups"`
}
-func (ManagedRulesDefinitionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedRulesDefinition)(nil)).Elem()
+func (NetworkRuleArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkRule)(nil)).Elem()
}
-func (i ManagedRulesDefinitionArgs) ToManagedRulesDefinitionOutput() ManagedRulesDefinitionOutput {
- return i.ToManagedRulesDefinitionOutputWithContext(context.Background())
+func (i NetworkRuleArgs) ToNetworkRuleOutput() NetworkRuleOutput {
+ return i.ToNetworkRuleOutputWithContext(context.Background())
}
-func (i ManagedRulesDefinitionArgs) ToManagedRulesDefinitionOutputWithContext(ctx context.Context) ManagedRulesDefinitionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ManagedRulesDefinitionOutput)
+func (i NetworkRuleArgs) ToNetworkRuleOutputWithContext(ctx context.Context) NetworkRuleOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkRuleOutput)
}
-// Allow to exclude some variable satisfy the condition for the WAF check.
-type ManagedRulesDefinitionOutput struct{ *pulumi.OutputState }
+// Rule of type network.
+type NetworkRuleOutput struct{ *pulumi.OutputState }
-func (ManagedRulesDefinitionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedRulesDefinition)(nil)).Elem()
+func (NetworkRuleOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkRule)(nil)).Elem()
}
-func (o ManagedRulesDefinitionOutput) ToManagedRulesDefinitionOutput() ManagedRulesDefinitionOutput {
+func (o NetworkRuleOutput) ToNetworkRuleOutput() NetworkRuleOutput {
return o
}
-func (o ManagedRulesDefinitionOutput) ToManagedRulesDefinitionOutputWithContext(ctx context.Context) ManagedRulesDefinitionOutput {
+func (o NetworkRuleOutput) ToNetworkRuleOutputWithContext(ctx context.Context) NetworkRuleOutput {
return o
}
-// The exceptions that are applied on the policy.
-func (o ManagedRulesDefinitionOutput) Exceptions() ExceptionEntryArrayOutput {
- return o.ApplyT(func(v ManagedRulesDefinition) []ExceptionEntry { return v.Exceptions }).(ExceptionEntryArrayOutput)
+// Description of the rule.
+func (o NetworkRuleOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkRule) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// The Exclusions that are applied on the policy.
-func (o ManagedRulesDefinitionOutput) Exclusions() OwaspCrsExclusionEntryArrayOutput {
- return o.ApplyT(func(v ManagedRulesDefinition) []OwaspCrsExclusionEntry { return v.Exclusions }).(OwaspCrsExclusionEntryArrayOutput)
+// List of destination IP addresses or Service Tags.
+func (o NetworkRuleOutput) DestinationAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRule) []string { return v.DestinationAddresses }).(pulumi.StringArrayOutput)
}
-// The managed rule sets that are associated with the policy.
-func (o ManagedRulesDefinitionOutput) ManagedRuleSets() ManagedRuleSetArrayOutput {
- return o.ApplyT(func(v ManagedRulesDefinition) []ManagedRuleSet { return v.ManagedRuleSets }).(ManagedRuleSetArrayOutput)
+// List of destination FQDNs.
+func (o NetworkRuleOutput) DestinationFqdns() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRule) []string { return v.DestinationFqdns }).(pulumi.StringArrayOutput)
}
-// Allow to exclude some variable satisfy the condition for the WAF check.
-type ManagedRulesDefinitionResponse struct {
- // The exceptions that are applied on the policy.
- Exceptions []ExceptionEntryResponse `pulumi:"exceptions"`
- // The Exclusions that are applied on the policy.
- Exclusions []OwaspCrsExclusionEntryResponse `pulumi:"exclusions"`
- // The managed rule sets that are associated with the policy.
- ManagedRuleSets []ManagedRuleSetResponse `pulumi:"managedRuleSets"`
+// List of destination IpGroups for this rule.
+func (o NetworkRuleOutput) DestinationIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRule) []string { return v.DestinationIpGroups }).(pulumi.StringArrayOutput)
}
-// Allow to exclude some variable satisfy the condition for the WAF check.
-type ManagedRulesDefinitionResponseOutput struct{ *pulumi.OutputState }
-
-func (ManagedRulesDefinitionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedRulesDefinitionResponse)(nil)).Elem()
+// List of destination ports.
+func (o NetworkRuleOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRule) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
}
-func (o ManagedRulesDefinitionResponseOutput) ToManagedRulesDefinitionResponseOutput() ManagedRulesDefinitionResponseOutput {
- return o
+// Array of FirewallPolicyRuleNetworkProtocols.
+func (o NetworkRuleOutput) IpProtocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRule) []string { return v.IpProtocols }).(pulumi.StringArrayOutput)
}
-func (o ManagedRulesDefinitionResponseOutput) ToManagedRulesDefinitionResponseOutputWithContext(ctx context.Context) ManagedRulesDefinitionResponseOutput {
- return o
+// Name of the rule.
+func (o NetworkRuleOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkRule) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The exceptions that are applied on the policy.
-func (o ManagedRulesDefinitionResponseOutput) Exceptions() ExceptionEntryResponseArrayOutput {
- return o.ApplyT(func(v ManagedRulesDefinitionResponse) []ExceptionEntryResponse { return v.Exceptions }).(ExceptionEntryResponseArrayOutput)
+// Rule Type.
+// Expected value is 'NetworkRule'.
+func (o NetworkRuleOutput) RuleType() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkRule) string { return v.RuleType }).(pulumi.StringOutput)
}
-// The Exclusions that are applied on the policy.
-func (o ManagedRulesDefinitionResponseOutput) Exclusions() OwaspCrsExclusionEntryResponseArrayOutput {
- return o.ApplyT(func(v ManagedRulesDefinitionResponse) []OwaspCrsExclusionEntryResponse { return v.Exclusions }).(OwaspCrsExclusionEntryResponseArrayOutput)
+// List of source IP addresses for this rule.
+func (o NetworkRuleOutput) SourceAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRule) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
}
-// The managed rule sets that are associated with the policy.
-func (o ManagedRulesDefinitionResponseOutput) ManagedRuleSets() ManagedRuleSetResponseArrayOutput {
- return o.ApplyT(func(v ManagedRulesDefinitionResponse) []ManagedRuleSetResponse { return v.ManagedRuleSets }).(ManagedRuleSetResponseArrayOutput)
+// List of source IpGroups for this rule.
+func (o NetworkRuleOutput) SourceIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRule) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
}
-// Identity for the resource.
-type ManagedServiceIdentity struct {
- // The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- Type *ResourceIdentityType `pulumi:"type"`
- // The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- UserAssignedIdentities []string `pulumi:"userAssignedIdentities"`
+// Rule condition of type network.
+type NetworkRuleCondition struct {
+ // Description of the rule condition.
+ Description *string `pulumi:"description"`
+ // List of destination IP addresses or Service Tags.
+ DestinationAddresses []string `pulumi:"destinationAddresses"`
+ // List of destination IpGroups for this rule.
+ DestinationIpGroups []string `pulumi:"destinationIpGroups"`
+ // List of destination ports.
+ DestinationPorts []string `pulumi:"destinationPorts"`
+ // Array of FirewallPolicyRuleConditionNetworkProtocols.
+ IpProtocols []string `pulumi:"ipProtocols"`
+ // Name of the rule condition.
+ Name *string `pulumi:"name"`
+ // Rule Condition Type.
+ // Expected value is 'NetworkRuleCondition'.
+ RuleConditionType string `pulumi:"ruleConditionType"`
+ // List of source IP addresses for this rule.
+ SourceAddresses []string `pulumi:"sourceAddresses"`
+ // List of source IpGroups for this rule.
+ SourceIpGroups []string `pulumi:"sourceIpGroups"`
}
-// ManagedServiceIdentityInput is an input type that accepts ManagedServiceIdentityArgs and ManagedServiceIdentityOutput values.
-// You can construct a concrete instance of `ManagedServiceIdentityInput` via:
+// NetworkRuleConditionInput is an input type that accepts NetworkRuleConditionArgs and NetworkRuleConditionOutput values.
+// You can construct a concrete instance of `NetworkRuleConditionInput` via:
//
-// ManagedServiceIdentityArgs{...}
-type ManagedServiceIdentityInput interface {
+// NetworkRuleConditionArgs{...}
+type NetworkRuleConditionInput interface {
pulumi.Input
- ToManagedServiceIdentityOutput() ManagedServiceIdentityOutput
- ToManagedServiceIdentityOutputWithContext(context.Context) ManagedServiceIdentityOutput
+ ToNetworkRuleConditionOutput() NetworkRuleConditionOutput
+ ToNetworkRuleConditionOutputWithContext(context.Context) NetworkRuleConditionOutput
}
-// Identity for the resource.
-type ManagedServiceIdentityArgs struct {
- // The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- Type ResourceIdentityTypePtrInput `pulumi:"type"`
- // The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- UserAssignedIdentities pulumi.StringArrayInput `pulumi:"userAssignedIdentities"`
+// Rule condition of type network.
+type NetworkRuleConditionArgs struct {
+ // Description of the rule condition.
+ Description pulumi.StringPtrInput `pulumi:"description"`
+ // List of destination IP addresses or Service Tags.
+ DestinationAddresses pulumi.StringArrayInput `pulumi:"destinationAddresses"`
+ // List of destination IpGroups for this rule.
+ DestinationIpGroups pulumi.StringArrayInput `pulumi:"destinationIpGroups"`
+ // List of destination ports.
+ DestinationPorts pulumi.StringArrayInput `pulumi:"destinationPorts"`
+ // Array of FirewallPolicyRuleConditionNetworkProtocols.
+ IpProtocols pulumi.StringArrayInput `pulumi:"ipProtocols"`
+ // Name of the rule condition.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Rule Condition Type.
+ // Expected value is 'NetworkRuleCondition'.
+ RuleConditionType pulumi.StringInput `pulumi:"ruleConditionType"`
+ // List of source IP addresses for this rule.
+ SourceAddresses pulumi.StringArrayInput `pulumi:"sourceAddresses"`
+ // List of source IpGroups for this rule.
+ SourceIpGroups pulumi.StringArrayInput `pulumi:"sourceIpGroups"`
}
-func (ManagedServiceIdentityArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedServiceIdentity)(nil)).Elem()
+func (NetworkRuleConditionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkRuleCondition)(nil)).Elem()
}
-func (i ManagedServiceIdentityArgs) ToManagedServiceIdentityOutput() ManagedServiceIdentityOutput {
- return i.ToManagedServiceIdentityOutputWithContext(context.Background())
+func (i NetworkRuleConditionArgs) ToNetworkRuleConditionOutput() NetworkRuleConditionOutput {
+ return i.ToNetworkRuleConditionOutputWithContext(context.Background())
}
-func (i ManagedServiceIdentityArgs) ToManagedServiceIdentityOutputWithContext(ctx context.Context) ManagedServiceIdentityOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ManagedServiceIdentityOutput)
+func (i NetworkRuleConditionArgs) ToNetworkRuleConditionOutputWithContext(ctx context.Context) NetworkRuleConditionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkRuleConditionOutput)
}
-func (i ManagedServiceIdentityArgs) ToManagedServiceIdentityPtrOutput() ManagedServiceIdentityPtrOutput {
- return i.ToManagedServiceIdentityPtrOutputWithContext(context.Background())
+func (i NetworkRuleConditionArgs) ToNetworkRuleConditionPtrOutput() NetworkRuleConditionPtrOutput {
+ return i.ToNetworkRuleConditionPtrOutputWithContext(context.Background())
}
-func (i ManagedServiceIdentityArgs) ToManagedServiceIdentityPtrOutputWithContext(ctx context.Context) ManagedServiceIdentityPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ManagedServiceIdentityOutput).ToManagedServiceIdentityPtrOutputWithContext(ctx)
+func (i NetworkRuleConditionArgs) ToNetworkRuleConditionPtrOutputWithContext(ctx context.Context) NetworkRuleConditionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkRuleConditionOutput).ToNetworkRuleConditionPtrOutputWithContext(ctx)
}
-// ManagedServiceIdentityPtrInput is an input type that accepts ManagedServiceIdentityArgs, ManagedServiceIdentityPtr and ManagedServiceIdentityPtrOutput values.
-// You can construct a concrete instance of `ManagedServiceIdentityPtrInput` via:
+// NetworkRuleConditionPtrInput is an input type that accepts NetworkRuleConditionArgs, NetworkRuleConditionPtr and NetworkRuleConditionPtrOutput values.
+// You can construct a concrete instance of `NetworkRuleConditionPtrInput` via:
//
-// ManagedServiceIdentityArgs{...}
+// NetworkRuleConditionArgs{...}
//
// or:
//
// nil
-type ManagedServiceIdentityPtrInput interface {
+type NetworkRuleConditionPtrInput interface {
pulumi.Input
- ToManagedServiceIdentityPtrOutput() ManagedServiceIdentityPtrOutput
- ToManagedServiceIdentityPtrOutputWithContext(context.Context) ManagedServiceIdentityPtrOutput
+ ToNetworkRuleConditionPtrOutput() NetworkRuleConditionPtrOutput
+ ToNetworkRuleConditionPtrOutputWithContext(context.Context) NetworkRuleConditionPtrOutput
}
-type managedServiceIdentityPtrType ManagedServiceIdentityArgs
+type networkRuleConditionPtrType NetworkRuleConditionArgs
-func ManagedServiceIdentityPtr(v *ManagedServiceIdentityArgs) ManagedServiceIdentityPtrInput {
- return (*managedServiceIdentityPtrType)(v)
+func NetworkRuleConditionPtr(v *NetworkRuleConditionArgs) NetworkRuleConditionPtrInput {
+ return (*networkRuleConditionPtrType)(v)
}
-func (*managedServiceIdentityPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ManagedServiceIdentity)(nil)).Elem()
+func (*networkRuleConditionPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkRuleCondition)(nil)).Elem()
}
-func (i *managedServiceIdentityPtrType) ToManagedServiceIdentityPtrOutput() ManagedServiceIdentityPtrOutput {
- return i.ToManagedServiceIdentityPtrOutputWithContext(context.Background())
+func (i *networkRuleConditionPtrType) ToNetworkRuleConditionPtrOutput() NetworkRuleConditionPtrOutput {
+ return i.ToNetworkRuleConditionPtrOutputWithContext(context.Background())
}
-func (i *managedServiceIdentityPtrType) ToManagedServiceIdentityPtrOutputWithContext(ctx context.Context) ManagedServiceIdentityPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ManagedServiceIdentityPtrOutput)
+func (i *networkRuleConditionPtrType) ToNetworkRuleConditionPtrOutputWithContext(ctx context.Context) NetworkRuleConditionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkRuleConditionPtrOutput)
}
-// Identity for the resource.
-type ManagedServiceIdentityOutput struct{ *pulumi.OutputState }
+// Rule condition of type network.
+type NetworkRuleConditionOutput struct{ *pulumi.OutputState }
-func (ManagedServiceIdentityOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedServiceIdentity)(nil)).Elem()
+func (NetworkRuleConditionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkRuleCondition)(nil)).Elem()
}
-func (o ManagedServiceIdentityOutput) ToManagedServiceIdentityOutput() ManagedServiceIdentityOutput {
+func (o NetworkRuleConditionOutput) ToNetworkRuleConditionOutput() NetworkRuleConditionOutput {
return o
}
-func (o ManagedServiceIdentityOutput) ToManagedServiceIdentityOutputWithContext(ctx context.Context) ManagedServiceIdentityOutput {
+func (o NetworkRuleConditionOutput) ToNetworkRuleConditionOutputWithContext(ctx context.Context) NetworkRuleConditionOutput {
return o
}
-func (o ManagedServiceIdentityOutput) ToManagedServiceIdentityPtrOutput() ManagedServiceIdentityPtrOutput {
- return o.ToManagedServiceIdentityPtrOutputWithContext(context.Background())
+func (o NetworkRuleConditionOutput) ToNetworkRuleConditionPtrOutput() NetworkRuleConditionPtrOutput {
+ return o.ToNetworkRuleConditionPtrOutputWithContext(context.Background())
}
-func (o ManagedServiceIdentityOutput) ToManagedServiceIdentityPtrOutputWithContext(ctx context.Context) ManagedServiceIdentityPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ManagedServiceIdentity) *ManagedServiceIdentity {
+func (o NetworkRuleConditionOutput) ToNetworkRuleConditionPtrOutputWithContext(ctx context.Context) NetworkRuleConditionPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v NetworkRuleCondition) *NetworkRuleCondition {
return &v
- }).(ManagedServiceIdentityPtrOutput)
-}
-
-// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
-func (o ManagedServiceIdentityOutput) Type() ResourceIdentityTypePtrOutput {
- return o.ApplyT(func(v ManagedServiceIdentity) *ResourceIdentityType { return v.Type }).(ResourceIdentityTypePtrOutput)
-}
-
-// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
-func (o ManagedServiceIdentityOutput) UserAssignedIdentities() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ManagedServiceIdentity) []string { return v.UserAssignedIdentities }).(pulumi.StringArrayOutput)
-}
-
-type ManagedServiceIdentityPtrOutput struct{ *pulumi.OutputState }
-
-func (ManagedServiceIdentityPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ManagedServiceIdentity)(nil)).Elem()
-}
-
-func (o ManagedServiceIdentityPtrOutput) ToManagedServiceIdentityPtrOutput() ManagedServiceIdentityPtrOutput {
- return o
-}
-
-func (o ManagedServiceIdentityPtrOutput) ToManagedServiceIdentityPtrOutputWithContext(ctx context.Context) ManagedServiceIdentityPtrOutput {
- return o
-}
-
-func (o ManagedServiceIdentityPtrOutput) Elem() ManagedServiceIdentityOutput {
- return o.ApplyT(func(v *ManagedServiceIdentity) ManagedServiceIdentity {
- if v != nil {
- return *v
- }
- var ret ManagedServiceIdentity
- return ret
- }).(ManagedServiceIdentityOutput)
-}
-
-// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
-func (o ManagedServiceIdentityPtrOutput) Type() ResourceIdentityTypePtrOutput {
- return o.ApplyT(func(v *ManagedServiceIdentity) *ResourceIdentityType {
- if v == nil {
- return nil
- }
- return v.Type
- }).(ResourceIdentityTypePtrOutput)
+ }).(NetworkRuleConditionPtrOutput)
}
-// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
-func (o ManagedServiceIdentityPtrOutput) UserAssignedIdentities() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *ManagedServiceIdentity) []string {
- if v == nil {
- return nil
- }
- return v.UserAssignedIdentities
- }).(pulumi.StringArrayOutput)
+// Description of the rule condition.
+func (o NetworkRuleConditionOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkRuleCondition) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// Identity for the resource.
-type ManagedServiceIdentityResponse struct {
- // The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- PrincipalId string `pulumi:"principalId"`
- // The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
- TenantId string `pulumi:"tenantId"`
- // The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
- Type *string `pulumi:"type"`
- // The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- UserAssignedIdentities map[string]ManagedServiceIdentityResponseUserAssignedIdentities `pulumi:"userAssignedIdentities"`
+// List of destination IP addresses or Service Tags.
+func (o NetworkRuleConditionOutput) DestinationAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleCondition) []string { return v.DestinationAddresses }).(pulumi.StringArrayOutput)
}
-// Identity for the resource.
-type ManagedServiceIdentityResponseOutput struct{ *pulumi.OutputState }
-
-func (ManagedServiceIdentityResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedServiceIdentityResponse)(nil)).Elem()
+// List of destination IpGroups for this rule.
+func (o NetworkRuleConditionOutput) DestinationIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleCondition) []string { return v.DestinationIpGroups }).(pulumi.StringArrayOutput)
}
-func (o ManagedServiceIdentityResponseOutput) ToManagedServiceIdentityResponseOutput() ManagedServiceIdentityResponseOutput {
- return o
+// List of destination ports.
+func (o NetworkRuleConditionOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleCondition) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
}
-func (o ManagedServiceIdentityResponseOutput) ToManagedServiceIdentityResponseOutputWithContext(ctx context.Context) ManagedServiceIdentityResponseOutput {
- return o
+// Array of FirewallPolicyRuleConditionNetworkProtocols.
+func (o NetworkRuleConditionOutput) IpProtocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleCondition) []string { return v.IpProtocols }).(pulumi.StringArrayOutput)
}
-// The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
-func (o ManagedServiceIdentityResponseOutput) PrincipalId() pulumi.StringOutput {
- return o.ApplyT(func(v ManagedServiceIdentityResponse) string { return v.PrincipalId }).(pulumi.StringOutput)
+// Name of the rule condition.
+func (o NetworkRuleConditionOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkRuleCondition) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
-func (o ManagedServiceIdentityResponseOutput) TenantId() pulumi.StringOutput {
- return o.ApplyT(func(v ManagedServiceIdentityResponse) string { return v.TenantId }).(pulumi.StringOutput)
+// Rule Condition Type.
+// Expected value is 'NetworkRuleCondition'.
+func (o NetworkRuleConditionOutput) RuleConditionType() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkRuleCondition) string { return v.RuleConditionType }).(pulumi.StringOutput)
}
-// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
-func (o ManagedServiceIdentityResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ManagedServiceIdentityResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+// List of source IP addresses for this rule.
+func (o NetworkRuleConditionOutput) SourceAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleCondition) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
}
-// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
-func (o ManagedServiceIdentityResponseOutput) UserAssignedIdentities() ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput {
- return o.ApplyT(func(v ManagedServiceIdentityResponse) map[string]ManagedServiceIdentityResponseUserAssignedIdentities {
- return v.UserAssignedIdentities
- }).(ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput)
+// List of source IpGroups for this rule.
+func (o NetworkRuleConditionOutput) SourceIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleCondition) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
}
-type ManagedServiceIdentityResponsePtrOutput struct{ *pulumi.OutputState }
+type NetworkRuleConditionPtrOutput struct{ *pulumi.OutputState }
-func (ManagedServiceIdentityResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ManagedServiceIdentityResponse)(nil)).Elem()
+func (NetworkRuleConditionPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkRuleCondition)(nil)).Elem()
}
-func (o ManagedServiceIdentityResponsePtrOutput) ToManagedServiceIdentityResponsePtrOutput() ManagedServiceIdentityResponsePtrOutput {
+func (o NetworkRuleConditionPtrOutput) ToNetworkRuleConditionPtrOutput() NetworkRuleConditionPtrOutput {
return o
}
-func (o ManagedServiceIdentityResponsePtrOutput) ToManagedServiceIdentityResponsePtrOutputWithContext(ctx context.Context) ManagedServiceIdentityResponsePtrOutput {
+func (o NetworkRuleConditionPtrOutput) ToNetworkRuleConditionPtrOutputWithContext(ctx context.Context) NetworkRuleConditionPtrOutput {
return o
}
-func (o ManagedServiceIdentityResponsePtrOutput) Elem() ManagedServiceIdentityResponseOutput {
- return o.ApplyT(func(v *ManagedServiceIdentityResponse) ManagedServiceIdentityResponse {
+func (o NetworkRuleConditionPtrOutput) Elem() NetworkRuleConditionOutput {
+ return o.ApplyT(func(v *NetworkRuleCondition) NetworkRuleCondition {
if v != nil {
return *v
}
- var ret ManagedServiceIdentityResponse
+ var ret NetworkRuleCondition
return ret
- }).(ManagedServiceIdentityResponseOutput)
+ }).(NetworkRuleConditionOutput)
}
-// The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
-func (o ManagedServiceIdentityResponsePtrOutput) PrincipalId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ManagedServiceIdentityResponse) *string {
+// Description of the rule condition.
+func (o NetworkRuleConditionPtrOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkRuleCondition) *string {
if v == nil {
return nil
}
- return &v.PrincipalId
+ return v.Description
}).(pulumi.StringPtrOutput)
}
-// The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
-func (o ManagedServiceIdentityResponsePtrOutput) TenantId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ManagedServiceIdentityResponse) *string {
+// List of destination IP addresses or Service Tags.
+func (o NetworkRuleConditionPtrOutput) DestinationAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkRuleCondition) []string {
if v == nil {
return nil
}
- return &v.TenantId
- }).(pulumi.StringPtrOutput)
+ return v.DestinationAddresses
+ }).(pulumi.StringArrayOutput)
}
-// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.
-func (o ManagedServiceIdentityResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ManagedServiceIdentityResponse) *string {
+// List of destination IpGroups for this rule.
+func (o NetworkRuleConditionPtrOutput) DestinationIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkRuleCondition) []string {
if v == nil {
return nil
}
- return v.Type
- }).(pulumi.StringPtrOutput)
+ return v.DestinationIpGroups
+ }).(pulumi.StringArrayOutput)
}
-// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
-func (o ManagedServiceIdentityResponsePtrOutput) UserAssignedIdentities() ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput {
- return o.ApplyT(func(v *ManagedServiceIdentityResponse) map[string]ManagedServiceIdentityResponseUserAssignedIdentities {
+// List of destination ports.
+func (o NetworkRuleConditionPtrOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkRuleCondition) []string {
if v == nil {
return nil
}
- return v.UserAssignedIdentities
- }).(ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput)
-}
-
-type ManagedServiceIdentityResponseUserAssignedIdentities struct {
- // The client id of user assigned identity.
- ClientId string `pulumi:"clientId"`
- // The principal id of user assigned identity.
- PrincipalId string `pulumi:"principalId"`
-}
-
-type ManagedServiceIdentityResponseUserAssignedIdentitiesOutput struct{ *pulumi.OutputState }
-
-func (ManagedServiceIdentityResponseUserAssignedIdentitiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedServiceIdentityResponseUserAssignedIdentities)(nil)).Elem()
-}
-
-func (o ManagedServiceIdentityResponseUserAssignedIdentitiesOutput) ToManagedServiceIdentityResponseUserAssignedIdentitiesOutput() ManagedServiceIdentityResponseUserAssignedIdentitiesOutput {
- return o
-}
-
-func (o ManagedServiceIdentityResponseUserAssignedIdentitiesOutput) ToManagedServiceIdentityResponseUserAssignedIdentitiesOutputWithContext(ctx context.Context) ManagedServiceIdentityResponseUserAssignedIdentitiesOutput {
- return o
-}
-
-// The client id of user assigned identity.
-func (o ManagedServiceIdentityResponseUserAssignedIdentitiesOutput) ClientId() pulumi.StringOutput {
- return o.ApplyT(func(v ManagedServiceIdentityResponseUserAssignedIdentities) string { return v.ClientId }).(pulumi.StringOutput)
-}
-
-// The principal id of user assigned identity.
-func (o ManagedServiceIdentityResponseUserAssignedIdentitiesOutput) PrincipalId() pulumi.StringOutput {
- return o.ApplyT(func(v ManagedServiceIdentityResponseUserAssignedIdentities) string { return v.PrincipalId }).(pulumi.StringOutput)
-}
-
-type ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput struct{ *pulumi.OutputState }
-
-func (ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*map[string]ManagedServiceIdentityResponseUserAssignedIdentities)(nil)).Elem()
-}
-
-func (o ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput) ToManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput() ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput {
- return o
-}
-
-func (o ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput) ToManagedServiceIdentityResponseUserAssignedIdentitiesMapOutputWithContext(ctx context.Context) ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput {
- return o
-}
-
-func (o ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput) MapIndex(k pulumi.StringInput) ManagedServiceIdentityResponseUserAssignedIdentitiesOutput {
- return pulumi.All(o, k).ApplyT(func(vs []interface{}) ManagedServiceIdentityResponseUserAssignedIdentities {
- return vs[0].(map[string]ManagedServiceIdentityResponseUserAssignedIdentities)[vs[1].(string)]
- }).(ManagedServiceIdentityResponseUserAssignedIdentitiesOutput)
+ return v.DestinationPorts
+ }).(pulumi.StringArrayOutput)
}
-type ManagedServiceIdentityUserAssignedIdentitiesResponse struct {
- // The client id of user assigned identity.
- ClientId string `pulumi:"clientId"`
- // The principal id of user assigned identity.
- PrincipalId string `pulumi:"principalId"`
+// Array of FirewallPolicyRuleConditionNetworkProtocols.
+func (o NetworkRuleConditionPtrOutput) IpProtocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkRuleCondition) []string {
+ if v == nil {
+ return nil
+ }
+ return v.IpProtocols
+ }).(pulumi.StringArrayOutput)
}
-type ManagedServiceIdentityUserAssignedIdentitiesResponseOutput struct{ *pulumi.OutputState }
-
-func (ManagedServiceIdentityUserAssignedIdentitiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ManagedServiceIdentityUserAssignedIdentitiesResponse)(nil)).Elem()
+// Name of the rule condition.
+func (o NetworkRuleConditionPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkRuleCondition) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o ManagedServiceIdentityUserAssignedIdentitiesResponseOutput) ToManagedServiceIdentityUserAssignedIdentitiesResponseOutput() ManagedServiceIdentityUserAssignedIdentitiesResponseOutput {
- return o
+// Rule Condition Type.
+// Expected value is 'NetworkRuleCondition'.
+func (o NetworkRuleConditionPtrOutput) RuleConditionType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkRuleCondition) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.RuleConditionType
+ }).(pulumi.StringPtrOutput)
}
-func (o ManagedServiceIdentityUserAssignedIdentitiesResponseOutput) ToManagedServiceIdentityUserAssignedIdentitiesResponseOutputWithContext(ctx context.Context) ManagedServiceIdentityUserAssignedIdentitiesResponseOutput {
- return o
+// List of source IP addresses for this rule.
+func (o NetworkRuleConditionPtrOutput) SourceAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkRuleCondition) []string {
+ if v == nil {
+ return nil
+ }
+ return v.SourceAddresses
+ }).(pulumi.StringArrayOutput)
}
-// The client id of user assigned identity.
-func (o ManagedServiceIdentityUserAssignedIdentitiesResponseOutput) ClientId() pulumi.StringOutput {
- return o.ApplyT(func(v ManagedServiceIdentityUserAssignedIdentitiesResponse) string { return v.ClientId }).(pulumi.StringOutput)
+// List of source IpGroups for this rule.
+func (o NetworkRuleConditionPtrOutput) SourceIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkRuleCondition) []string {
+ if v == nil {
+ return nil
+ }
+ return v.SourceIpGroups
+ }).(pulumi.StringArrayOutput)
}
-// The principal id of user assigned identity.
-func (o ManagedServiceIdentityUserAssignedIdentitiesResponseOutput) PrincipalId() pulumi.StringOutput {
- return o.ApplyT(func(v ManagedServiceIdentityUserAssignedIdentitiesResponse) string { return v.PrincipalId }).(pulumi.StringOutput)
+// Rule condition of type network.
+type NetworkRuleConditionResponse struct {
+ // Description of the rule condition.
+ Description *string `pulumi:"description"`
+ // List of destination IP addresses or Service Tags.
+ DestinationAddresses []string `pulumi:"destinationAddresses"`
+ // List of destination IpGroups for this rule.
+ DestinationIpGroups []string `pulumi:"destinationIpGroups"`
+ // List of destination ports.
+ DestinationPorts []string `pulumi:"destinationPorts"`
+ // Array of FirewallPolicyRuleConditionNetworkProtocols.
+ IpProtocols []string `pulumi:"ipProtocols"`
+ // Name of the rule condition.
+ Name *string `pulumi:"name"`
+ // Rule Condition Type.
+ // Expected value is 'NetworkRuleCondition'.
+ RuleConditionType string `pulumi:"ruleConditionType"`
+ // List of source IP addresses for this rule.
+ SourceAddresses []string `pulumi:"sourceAddresses"`
+ // List of source IpGroups for this rule.
+ SourceIpGroups []string `pulumi:"sourceIpGroups"`
}
-type ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput struct{ *pulumi.OutputState }
+// Rule condition of type network.
+type NetworkRuleConditionResponseOutput struct{ *pulumi.OutputState }
-func (ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*map[string]ManagedServiceIdentityUserAssignedIdentitiesResponse)(nil)).Elem()
+func (NetworkRuleConditionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkRuleConditionResponse)(nil)).Elem()
}
-func (o ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput) ToManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput() ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput {
+func (o NetworkRuleConditionResponseOutput) ToNetworkRuleConditionResponseOutput() NetworkRuleConditionResponseOutput {
return o
}
-func (o ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput) ToManagedServiceIdentityUserAssignedIdentitiesResponseMapOutputWithContext(ctx context.Context) ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput {
+func (o NetworkRuleConditionResponseOutput) ToNetworkRuleConditionResponseOutputWithContext(ctx context.Context) NetworkRuleConditionResponseOutput {
return o
}
-func (o ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput) MapIndex(k pulumi.StringInput) ManagedServiceIdentityUserAssignedIdentitiesResponseOutput {
- return pulumi.All(o, k).ApplyT(func(vs []interface{}) ManagedServiceIdentityUserAssignedIdentitiesResponse {
- return vs[0].(map[string]ManagedServiceIdentityUserAssignedIdentitiesResponse)[vs[1].(string)]
- }).(ManagedServiceIdentityUserAssignedIdentitiesResponseOutput)
+// Description of the rule condition.
+func (o NetworkRuleConditionResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkRuleConditionResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// Define match conditions.
-type MatchCondition struct {
- // Match value.
- MatchValues []string `pulumi:"matchValues"`
- // List of match variables.
- MatchVariables []MatchVariable `pulumi:"matchVariables"`
- // Whether this is negate condition or not.
- NegationConditon *bool `pulumi:"negationConditon"`
- // The operator to be matched.
- Operator string `pulumi:"operator"`
- // List of transforms.
- Transforms []string `pulumi:"transforms"`
+// List of destination IP addresses or Service Tags.
+func (o NetworkRuleConditionResponseOutput) DestinationAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleConditionResponse) []string { return v.DestinationAddresses }).(pulumi.StringArrayOutput)
}
-// MatchConditionInput is an input type that accepts MatchConditionArgs and MatchConditionOutput values.
-// You can construct a concrete instance of `MatchConditionInput` via:
-//
-// MatchConditionArgs{...}
-type MatchConditionInput interface {
- pulumi.Input
-
- ToMatchConditionOutput() MatchConditionOutput
- ToMatchConditionOutputWithContext(context.Context) MatchConditionOutput
+// List of destination IpGroups for this rule.
+func (o NetworkRuleConditionResponseOutput) DestinationIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleConditionResponse) []string { return v.DestinationIpGroups }).(pulumi.StringArrayOutput)
}
-// Define match conditions.
-type MatchConditionArgs struct {
- // Match value.
- MatchValues pulumi.StringArrayInput `pulumi:"matchValues"`
- // List of match variables.
- MatchVariables MatchVariableArrayInput `pulumi:"matchVariables"`
- // Whether this is negate condition or not.
- NegationConditon pulumi.BoolPtrInput `pulumi:"negationConditon"`
- // The operator to be matched.
- Operator pulumi.StringInput `pulumi:"operator"`
- // List of transforms.
- Transforms pulumi.StringArrayInput `pulumi:"transforms"`
+// List of destination ports.
+func (o NetworkRuleConditionResponseOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleConditionResponse) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
}
-func (MatchConditionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*MatchCondition)(nil)).Elem()
+// Array of FirewallPolicyRuleConditionNetworkProtocols.
+func (o NetworkRuleConditionResponseOutput) IpProtocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleConditionResponse) []string { return v.IpProtocols }).(pulumi.StringArrayOutput)
}
-func (i MatchConditionArgs) ToMatchConditionOutput() MatchConditionOutput {
- return i.ToMatchConditionOutputWithContext(context.Background())
+// Name of the rule condition.
+func (o NetworkRuleConditionResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkRuleConditionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (i MatchConditionArgs) ToMatchConditionOutputWithContext(ctx context.Context) MatchConditionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(MatchConditionOutput)
+// Rule Condition Type.
+// Expected value is 'NetworkRuleCondition'.
+func (o NetworkRuleConditionResponseOutput) RuleConditionType() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkRuleConditionResponse) string { return v.RuleConditionType }).(pulumi.StringOutput)
}
-// MatchConditionArrayInput is an input type that accepts MatchConditionArray and MatchConditionArrayOutput values.
-// You can construct a concrete instance of `MatchConditionArrayInput` via:
-//
-// MatchConditionArray{ MatchConditionArgs{...} }
-type MatchConditionArrayInput interface {
- pulumi.Input
-
- ToMatchConditionArrayOutput() MatchConditionArrayOutput
- ToMatchConditionArrayOutputWithContext(context.Context) MatchConditionArrayOutput
+// List of source IP addresses for this rule.
+func (o NetworkRuleConditionResponseOutput) SourceAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleConditionResponse) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
}
-type MatchConditionArray []MatchConditionInput
-
-func (MatchConditionArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]MatchCondition)(nil)).Elem()
+// List of source IpGroups for this rule.
+func (o NetworkRuleConditionResponseOutput) SourceIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleConditionResponse) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
}
-func (i MatchConditionArray) ToMatchConditionArrayOutput() MatchConditionArrayOutput {
- return i.ToMatchConditionArrayOutputWithContext(context.Background())
-}
+type NetworkRuleConditionResponsePtrOutput struct{ *pulumi.OutputState }
-func (i MatchConditionArray) ToMatchConditionArrayOutputWithContext(ctx context.Context) MatchConditionArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(MatchConditionArrayOutput)
+func (NetworkRuleConditionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkRuleConditionResponse)(nil)).Elem()
}
-// Define match conditions.
-type MatchConditionOutput struct{ *pulumi.OutputState }
-
-func (MatchConditionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*MatchCondition)(nil)).Elem()
+func (o NetworkRuleConditionResponsePtrOutput) ToNetworkRuleConditionResponsePtrOutput() NetworkRuleConditionResponsePtrOutput {
+ return o
}
-func (o MatchConditionOutput) ToMatchConditionOutput() MatchConditionOutput {
+func (o NetworkRuleConditionResponsePtrOutput) ToNetworkRuleConditionResponsePtrOutputWithContext(ctx context.Context) NetworkRuleConditionResponsePtrOutput {
return o
}
-func (o MatchConditionOutput) ToMatchConditionOutputWithContext(ctx context.Context) MatchConditionOutput {
- return o
+func (o NetworkRuleConditionResponsePtrOutput) Elem() NetworkRuleConditionResponseOutput {
+ return o.ApplyT(func(v *NetworkRuleConditionResponse) NetworkRuleConditionResponse {
+ if v != nil {
+ return *v
+ }
+ var ret NetworkRuleConditionResponse
+ return ret
+ }).(NetworkRuleConditionResponseOutput)
}
-// Match value.
-func (o MatchConditionOutput) MatchValues() pulumi.StringArrayOutput {
- return o.ApplyT(func(v MatchCondition) []string { return v.MatchValues }).(pulumi.StringArrayOutput)
+// Description of the rule condition.
+func (o NetworkRuleConditionResponsePtrOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkRuleConditionResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Description
+ }).(pulumi.StringPtrOutput)
}
-// List of match variables.
-func (o MatchConditionOutput) MatchVariables() MatchVariableArrayOutput {
- return o.ApplyT(func(v MatchCondition) []MatchVariable { return v.MatchVariables }).(MatchVariableArrayOutput)
+// List of destination IP addresses or Service Tags.
+func (o NetworkRuleConditionResponsePtrOutput) DestinationAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkRuleConditionResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationAddresses
+ }).(pulumi.StringArrayOutput)
}
-// Whether this is negate condition or not.
-func (o MatchConditionOutput) NegationConditon() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v MatchCondition) *bool { return v.NegationConditon }).(pulumi.BoolPtrOutput)
+// List of destination IpGroups for this rule.
+func (o NetworkRuleConditionResponsePtrOutput) DestinationIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkRuleConditionResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationIpGroups
+ }).(pulumi.StringArrayOutput)
}
-// The operator to be matched.
-func (o MatchConditionOutput) Operator() pulumi.StringOutput {
- return o.ApplyT(func(v MatchCondition) string { return v.Operator }).(pulumi.StringOutput)
+// List of destination ports.
+func (o NetworkRuleConditionResponsePtrOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkRuleConditionResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationPorts
+ }).(pulumi.StringArrayOutput)
}
-// List of transforms.
-func (o MatchConditionOutput) Transforms() pulumi.StringArrayOutput {
- return o.ApplyT(func(v MatchCondition) []string { return v.Transforms }).(pulumi.StringArrayOutput)
+// Array of FirewallPolicyRuleConditionNetworkProtocols.
+func (o NetworkRuleConditionResponsePtrOutput) IpProtocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkRuleConditionResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.IpProtocols
+ }).(pulumi.StringArrayOutput)
}
-type MatchConditionArrayOutput struct{ *pulumi.OutputState }
-
-func (MatchConditionArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]MatchCondition)(nil)).Elem()
+// Name of the rule condition.
+func (o NetworkRuleConditionResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkRuleConditionResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o MatchConditionArrayOutput) ToMatchConditionArrayOutput() MatchConditionArrayOutput {
- return o
+// Rule Condition Type.
+// Expected value is 'NetworkRuleCondition'.
+func (o NetworkRuleConditionResponsePtrOutput) RuleConditionType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkRuleConditionResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.RuleConditionType
+ }).(pulumi.StringPtrOutput)
}
-func (o MatchConditionArrayOutput) ToMatchConditionArrayOutputWithContext(ctx context.Context) MatchConditionArrayOutput {
- return o
+// List of source IP addresses for this rule.
+func (o NetworkRuleConditionResponsePtrOutput) SourceAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkRuleConditionResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.SourceAddresses
+ }).(pulumi.StringArrayOutput)
}
-func (o MatchConditionArrayOutput) Index(i pulumi.IntInput) MatchConditionOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) MatchCondition {
- return vs[0].([]MatchCondition)[vs[1].(int)]
- }).(MatchConditionOutput)
+// List of source IpGroups for this rule.
+func (o NetworkRuleConditionResponsePtrOutput) SourceIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkRuleConditionResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.SourceIpGroups
+ }).(pulumi.StringArrayOutput)
}
-// Define match conditions.
-type MatchConditionResponse struct {
- // Match value.
- MatchValues []string `pulumi:"matchValues"`
- // List of match variables.
- MatchVariables []MatchVariableResponse `pulumi:"matchVariables"`
- // Whether this is negate condition or not.
- NegationConditon *bool `pulumi:"negationConditon"`
- // The operator to be matched.
- Operator string `pulumi:"operator"`
- // List of transforms.
- Transforms []string `pulumi:"transforms"`
+// Rule of type network.
+type NetworkRuleResponse struct {
+ // Description of the rule.
+ Description *string `pulumi:"description"`
+ // List of destination IP addresses or Service Tags.
+ DestinationAddresses []string `pulumi:"destinationAddresses"`
+ // List of destination FQDNs.
+ DestinationFqdns []string `pulumi:"destinationFqdns"`
+ // List of destination IpGroups for this rule.
+ DestinationIpGroups []string `pulumi:"destinationIpGroups"`
+ // List of destination ports.
+ DestinationPorts []string `pulumi:"destinationPorts"`
+ // Array of FirewallPolicyRuleNetworkProtocols.
+ IpProtocols []string `pulumi:"ipProtocols"`
+ // Name of the rule.
+ Name *string `pulumi:"name"`
+ // Rule Type.
+ // Expected value is 'NetworkRule'.
+ RuleType string `pulumi:"ruleType"`
+ // List of source IP addresses for this rule.
+ SourceAddresses []string `pulumi:"sourceAddresses"`
+ // List of source IpGroups for this rule.
+ SourceIpGroups []string `pulumi:"sourceIpGroups"`
}
-// Define match conditions.
-type MatchConditionResponseOutput struct{ *pulumi.OutputState }
+// Rule of type network.
+type NetworkRuleResponseOutput struct{ *pulumi.OutputState }
-func (MatchConditionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*MatchConditionResponse)(nil)).Elem()
+func (NetworkRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkRuleResponse)(nil)).Elem()
}
-func (o MatchConditionResponseOutput) ToMatchConditionResponseOutput() MatchConditionResponseOutput {
+func (o NetworkRuleResponseOutput) ToNetworkRuleResponseOutput() NetworkRuleResponseOutput {
return o
}
-func (o MatchConditionResponseOutput) ToMatchConditionResponseOutputWithContext(ctx context.Context) MatchConditionResponseOutput {
+func (o NetworkRuleResponseOutput) ToNetworkRuleResponseOutputWithContext(ctx context.Context) NetworkRuleResponseOutput {
return o
}
-// Match value.
-func (o MatchConditionResponseOutput) MatchValues() pulumi.StringArrayOutput {
- return o.ApplyT(func(v MatchConditionResponse) []string { return v.MatchValues }).(pulumi.StringArrayOutput)
+// Description of the rule.
+func (o NetworkRuleResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkRuleResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// List of match variables.
-func (o MatchConditionResponseOutput) MatchVariables() MatchVariableResponseArrayOutput {
- return o.ApplyT(func(v MatchConditionResponse) []MatchVariableResponse { return v.MatchVariables }).(MatchVariableResponseArrayOutput)
+// List of destination IP addresses or Service Tags.
+func (o NetworkRuleResponseOutput) DestinationAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleResponse) []string { return v.DestinationAddresses }).(pulumi.StringArrayOutput)
}
-// Whether this is negate condition or not.
-func (o MatchConditionResponseOutput) NegationConditon() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v MatchConditionResponse) *bool { return v.NegationConditon }).(pulumi.BoolPtrOutput)
+// List of destination FQDNs.
+func (o NetworkRuleResponseOutput) DestinationFqdns() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleResponse) []string { return v.DestinationFqdns }).(pulumi.StringArrayOutput)
}
-// The operator to be matched.
-func (o MatchConditionResponseOutput) Operator() pulumi.StringOutput {
- return o.ApplyT(func(v MatchConditionResponse) string { return v.Operator }).(pulumi.StringOutput)
+// List of destination IpGroups for this rule.
+func (o NetworkRuleResponseOutput) DestinationIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleResponse) []string { return v.DestinationIpGroups }).(pulumi.StringArrayOutput)
}
-// List of transforms.
-func (o MatchConditionResponseOutput) Transforms() pulumi.StringArrayOutput {
- return o.ApplyT(func(v MatchConditionResponse) []string { return v.Transforms }).(pulumi.StringArrayOutput)
+// List of destination ports.
+func (o NetworkRuleResponseOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleResponse) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
}
-type MatchConditionResponseArrayOutput struct{ *pulumi.OutputState }
+// Array of FirewallPolicyRuleNetworkProtocols.
+func (o NetworkRuleResponseOutput) IpProtocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleResponse) []string { return v.IpProtocols }).(pulumi.StringArrayOutput)
+}
-func (MatchConditionResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]MatchConditionResponse)(nil)).Elem()
+// Name of the rule.
+func (o NetworkRuleResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o MatchConditionResponseArrayOutput) ToMatchConditionResponseArrayOutput() MatchConditionResponseArrayOutput {
- return o
+// Rule Type.
+// Expected value is 'NetworkRule'.
+func (o NetworkRuleResponseOutput) RuleType() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkRuleResponse) string { return v.RuleType }).(pulumi.StringOutput)
}
-func (o MatchConditionResponseArrayOutput) ToMatchConditionResponseArrayOutputWithContext(ctx context.Context) MatchConditionResponseArrayOutput {
- return o
+// List of source IP addresses for this rule.
+func (o NetworkRuleResponseOutput) SourceAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleResponse) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
}
-func (o MatchConditionResponseArrayOutput) Index(i pulumi.IntInput) MatchConditionResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) MatchConditionResponse {
- return vs[0].([]MatchConditionResponse)[vs[1].(int)]
- }).(MatchConditionResponseOutput)
+// List of source IpGroups for this rule.
+func (o NetworkRuleResponseOutput) SourceIpGroups() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkRuleResponse) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
}
-// Define match variables.
-type MatchVariable struct {
- // The selector of match variable.
- Selector *string `pulumi:"selector"`
- // Match Variable.
- VariableName string `pulumi:"variableName"`
+// NetworkSecurityGroup resource.
+type NetworkSecurityGroupType struct {
+ // The default security rules of network security group.
+ DefaultSecurityRules []SecurityRuleType `pulumi:"defaultSecurityRules"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+ FlushConnection *bool `pulumi:"flushConnection"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState *string `pulumi:"provisioningState"`
+ // The resource GUID property of the network security group resource.
+ ResourceGuid *string `pulumi:"resourceGuid"`
+ // A collection of security rules of the network security group.
+ SecurityRules []SecurityRuleType `pulumi:"securityRules"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
}
-// MatchVariableInput is an input type that accepts MatchVariableArgs and MatchVariableOutput values.
-// You can construct a concrete instance of `MatchVariableInput` via:
+// NetworkSecurityGroupTypeInput is an input type that accepts NetworkSecurityGroupTypeArgs and NetworkSecurityGroupTypeOutput values.
+// You can construct a concrete instance of `NetworkSecurityGroupTypeInput` via:
//
-// MatchVariableArgs{...}
-type MatchVariableInput interface {
+// NetworkSecurityGroupTypeArgs{...}
+type NetworkSecurityGroupTypeInput interface {
pulumi.Input
- ToMatchVariableOutput() MatchVariableOutput
- ToMatchVariableOutputWithContext(context.Context) MatchVariableOutput
+ ToNetworkSecurityGroupTypeOutput() NetworkSecurityGroupTypeOutput
+ ToNetworkSecurityGroupTypeOutputWithContext(context.Context) NetworkSecurityGroupTypeOutput
}
-// Define match variables.
-type MatchVariableArgs struct {
- // The selector of match variable.
- Selector pulumi.StringPtrInput `pulumi:"selector"`
- // Match Variable.
- VariableName pulumi.StringInput `pulumi:"variableName"`
+// NetworkSecurityGroup resource.
+type NetworkSecurityGroupTypeArgs struct {
+ // The default security rules of network security group.
+ DefaultSecurityRules SecurityRuleTypeArrayInput `pulumi:"defaultSecurityRules"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag pulumi.StringPtrInput `pulumi:"etag"`
+ // When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+ FlushConnection pulumi.BoolPtrInput `pulumi:"flushConnection"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Resource location.
+ Location pulumi.StringPtrInput `pulumi:"location"`
+ // The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState pulumi.StringPtrInput `pulumi:"provisioningState"`
+ // The resource GUID property of the network security group resource.
+ ResourceGuid pulumi.StringPtrInput `pulumi:"resourceGuid"`
+ // A collection of security rules of the network security group.
+ SecurityRules SecurityRuleTypeArrayInput `pulumi:"securityRules"`
+ // Resource tags.
+ Tags pulumi.StringMapInput `pulumi:"tags"`
}
-func (MatchVariableArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*MatchVariable)(nil)).Elem()
+func (NetworkSecurityGroupTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkSecurityGroupType)(nil)).Elem()
}
-func (i MatchVariableArgs) ToMatchVariableOutput() MatchVariableOutput {
- return i.ToMatchVariableOutputWithContext(context.Background())
+func (i NetworkSecurityGroupTypeArgs) ToNetworkSecurityGroupTypeOutput() NetworkSecurityGroupTypeOutput {
+ return i.ToNetworkSecurityGroupTypeOutputWithContext(context.Background())
}
-func (i MatchVariableArgs) ToMatchVariableOutputWithContext(ctx context.Context) MatchVariableOutput {
- return pulumi.ToOutputWithContext(ctx, i).(MatchVariableOutput)
+func (i NetworkSecurityGroupTypeArgs) ToNetworkSecurityGroupTypeOutputWithContext(ctx context.Context) NetworkSecurityGroupTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkSecurityGroupTypeOutput)
}
-// MatchVariableArrayInput is an input type that accepts MatchVariableArray and MatchVariableArrayOutput values.
-// You can construct a concrete instance of `MatchVariableArrayInput` via:
+func (i NetworkSecurityGroupTypeArgs) ToNetworkSecurityGroupTypePtrOutput() NetworkSecurityGroupTypePtrOutput {
+ return i.ToNetworkSecurityGroupTypePtrOutputWithContext(context.Background())
+}
+
+func (i NetworkSecurityGroupTypeArgs) ToNetworkSecurityGroupTypePtrOutputWithContext(ctx context.Context) NetworkSecurityGroupTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkSecurityGroupTypeOutput).ToNetworkSecurityGroupTypePtrOutputWithContext(ctx)
+}
+
+// NetworkSecurityGroupTypePtrInput is an input type that accepts NetworkSecurityGroupTypeArgs, NetworkSecurityGroupTypePtr and NetworkSecurityGroupTypePtrOutput values.
+// You can construct a concrete instance of `NetworkSecurityGroupTypePtrInput` via:
//
-// MatchVariableArray{ MatchVariableArgs{...} }
-type MatchVariableArrayInput interface {
+// NetworkSecurityGroupTypeArgs{...}
+//
+// or:
+//
+// nil
+type NetworkSecurityGroupTypePtrInput interface {
pulumi.Input
- ToMatchVariableArrayOutput() MatchVariableArrayOutput
- ToMatchVariableArrayOutputWithContext(context.Context) MatchVariableArrayOutput
+ ToNetworkSecurityGroupTypePtrOutput() NetworkSecurityGroupTypePtrOutput
+ ToNetworkSecurityGroupTypePtrOutputWithContext(context.Context) NetworkSecurityGroupTypePtrOutput
}
-type MatchVariableArray []MatchVariableInput
+type networkSecurityGroupTypePtrType NetworkSecurityGroupTypeArgs
-func (MatchVariableArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]MatchVariable)(nil)).Elem()
+func NetworkSecurityGroupTypePtr(v *NetworkSecurityGroupTypeArgs) NetworkSecurityGroupTypePtrInput {
+ return (*networkSecurityGroupTypePtrType)(v)
}
-func (i MatchVariableArray) ToMatchVariableArrayOutput() MatchVariableArrayOutput {
- return i.ToMatchVariableArrayOutputWithContext(context.Background())
+func (*networkSecurityGroupTypePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkSecurityGroupType)(nil)).Elem()
}
-func (i MatchVariableArray) ToMatchVariableArrayOutputWithContext(ctx context.Context) MatchVariableArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(MatchVariableArrayOutput)
+func (i *networkSecurityGroupTypePtrType) ToNetworkSecurityGroupTypePtrOutput() NetworkSecurityGroupTypePtrOutput {
+ return i.ToNetworkSecurityGroupTypePtrOutputWithContext(context.Background())
}
-// Define match variables.
-type MatchVariableOutput struct{ *pulumi.OutputState }
-
-func (MatchVariableOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*MatchVariable)(nil)).Elem()
+func (i *networkSecurityGroupTypePtrType) ToNetworkSecurityGroupTypePtrOutputWithContext(ctx context.Context) NetworkSecurityGroupTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkSecurityGroupTypePtrOutput)
}
-func (o MatchVariableOutput) ToMatchVariableOutput() MatchVariableOutput {
- return o
+// NetworkSecurityGroup resource.
+type NetworkSecurityGroupTypeOutput struct{ *pulumi.OutputState }
+
+func (NetworkSecurityGroupTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkSecurityGroupType)(nil)).Elem()
}
-func (o MatchVariableOutput) ToMatchVariableOutputWithContext(ctx context.Context) MatchVariableOutput {
+func (o NetworkSecurityGroupTypeOutput) ToNetworkSecurityGroupTypeOutput() NetworkSecurityGroupTypeOutput {
return o
}
-// The selector of match variable.
-func (o MatchVariableOutput) Selector() pulumi.StringPtrOutput {
- return o.ApplyT(func(v MatchVariable) *string { return v.Selector }).(pulumi.StringPtrOutput)
+func (o NetworkSecurityGroupTypeOutput) ToNetworkSecurityGroupTypeOutputWithContext(ctx context.Context) NetworkSecurityGroupTypeOutput {
+ return o
}
-// Match Variable.
-func (o MatchVariableOutput) VariableName() pulumi.StringOutput {
- return o.ApplyT(func(v MatchVariable) string { return v.VariableName }).(pulumi.StringOutput)
+func (o NetworkSecurityGroupTypeOutput) ToNetworkSecurityGroupTypePtrOutput() NetworkSecurityGroupTypePtrOutput {
+ return o.ToNetworkSecurityGroupTypePtrOutputWithContext(context.Background())
}
-type MatchVariableArrayOutput struct{ *pulumi.OutputState }
-
-func (MatchVariableArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]MatchVariable)(nil)).Elem()
+func (o NetworkSecurityGroupTypeOutput) ToNetworkSecurityGroupTypePtrOutputWithContext(ctx context.Context) NetworkSecurityGroupTypePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v NetworkSecurityGroupType) *NetworkSecurityGroupType {
+ return &v
+ }).(NetworkSecurityGroupTypePtrOutput)
}
-func (o MatchVariableArrayOutput) ToMatchVariableArrayOutput() MatchVariableArrayOutput {
- return o
+// The default security rules of network security group.
+func (o NetworkSecurityGroupTypeOutput) DefaultSecurityRules() SecurityRuleTypeArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupType) []SecurityRuleType { return v.DefaultSecurityRules }).(SecurityRuleTypeArrayOutput)
}
-func (o MatchVariableArrayOutput) ToMatchVariableArrayOutputWithContext(ctx context.Context) MatchVariableArrayOutput {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkSecurityGroupTypeOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupType) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-func (o MatchVariableArrayOutput) Index(i pulumi.IntInput) MatchVariableOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) MatchVariable {
- return vs[0].([]MatchVariable)[vs[1].(int)]
- }).(MatchVariableOutput)
+// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+func (o NetworkSecurityGroupTypeOutput) FlushConnection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupType) *bool { return v.FlushConnection }).(pulumi.BoolPtrOutput)
}
-// Define match variables.
-type MatchVariableResponse struct {
- // The selector of match variable.
- Selector *string `pulumi:"selector"`
- // Match Variable.
- VariableName string `pulumi:"variableName"`
+// Resource ID.
+func (o NetworkSecurityGroupTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Define match variables.
-type MatchVariableResponseOutput struct{ *pulumi.OutputState }
-
-func (MatchVariableResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*MatchVariableResponse)(nil)).Elem()
+// Resource location.
+func (o NetworkSecurityGroupTypeOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupType) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o MatchVariableResponseOutput) ToMatchVariableResponseOutput() MatchVariableResponseOutput {
- return o
+// The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o NetworkSecurityGroupTypeOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupType) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-func (o MatchVariableResponseOutput) ToMatchVariableResponseOutputWithContext(ctx context.Context) MatchVariableResponseOutput {
- return o
+// The resource GUID property of the network security group resource.
+func (o NetworkSecurityGroupTypeOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupType) *string { return v.ResourceGuid }).(pulumi.StringPtrOutput)
}
-// The selector of match variable.
-func (o MatchVariableResponseOutput) Selector() pulumi.StringPtrOutput {
- return o.ApplyT(func(v MatchVariableResponse) *string { return v.Selector }).(pulumi.StringPtrOutput)
+// A collection of security rules of the network security group.
+func (o NetworkSecurityGroupTypeOutput) SecurityRules() SecurityRuleTypeArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupType) []SecurityRuleType { return v.SecurityRules }).(SecurityRuleTypeArrayOutput)
}
-// Match Variable.
-func (o MatchVariableResponseOutput) VariableName() pulumi.StringOutput {
- return o.ApplyT(func(v MatchVariableResponse) string { return v.VariableName }).(pulumi.StringOutput)
+// Resource tags.
+func (o NetworkSecurityGroupTypeOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-type MatchVariableResponseArrayOutput struct{ *pulumi.OutputState }
+type NetworkSecurityGroupTypePtrOutput struct{ *pulumi.OutputState }
-func (MatchVariableResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]MatchVariableResponse)(nil)).Elem()
+func (NetworkSecurityGroupTypePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkSecurityGroupType)(nil)).Elem()
}
-func (o MatchVariableResponseArrayOutput) ToMatchVariableResponseArrayOutput() MatchVariableResponseArrayOutput {
+func (o NetworkSecurityGroupTypePtrOutput) ToNetworkSecurityGroupTypePtrOutput() NetworkSecurityGroupTypePtrOutput {
return o
}
-func (o MatchVariableResponseArrayOutput) ToMatchVariableResponseArrayOutputWithContext(ctx context.Context) MatchVariableResponseArrayOutput {
+func (o NetworkSecurityGroupTypePtrOutput) ToNetworkSecurityGroupTypePtrOutputWithContext(ctx context.Context) NetworkSecurityGroupTypePtrOutput {
return o
}
-func (o MatchVariableResponseArrayOutput) Index(i pulumi.IntInput) MatchVariableResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) MatchVariableResponse {
- return vs[0].([]MatchVariableResponse)[vs[1].(int)]
- }).(MatchVariableResponseOutput)
+func (o NetworkSecurityGroupTypePtrOutput) Elem() NetworkSecurityGroupTypeOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupType) NetworkSecurityGroupType {
+ if v != nil {
+ return *v
+ }
+ var ret NetworkSecurityGroupType
+ return ret
+ }).(NetworkSecurityGroupTypeOutput)
}
-// Nat Gateway resource.
-type NatGatewayType struct {
- // Resource ID.
- Id *string `pulumi:"id"`
- // The idle timeout of the nat gateway.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
- // Resource location.
- Location *string `pulumi:"location"`
- // An array of public ip addresses associated with the nat gateway resource.
- PublicIpAddresses []SubResource `pulumi:"publicIpAddresses"`
- // An array of public ip prefixes associated with the nat gateway resource.
- PublicIpPrefixes []SubResource `pulumi:"publicIpPrefixes"`
- // The nat gateway SKU.
- Sku *NatGatewaySku `pulumi:"sku"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // A list of availability zones denoting the zone in which Nat Gateway should be deployed.
- Zones []string `pulumi:"zones"`
+// The default security rules of network security group.
+func (o NetworkSecurityGroupTypePtrOutput) DefaultSecurityRules() SecurityRuleTypeArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupType) []SecurityRuleType {
+ if v == nil {
+ return nil
+ }
+ return v.DefaultSecurityRules
+ }).(SecurityRuleTypeArrayOutput)
}
-// NatGatewayTypeInput is an input type that accepts NatGatewayTypeArgs and NatGatewayTypeOutput values.
-// You can construct a concrete instance of `NatGatewayTypeInput` via:
-//
-// NatGatewayTypeArgs{...}
-type NatGatewayTypeInput interface {
- pulumi.Input
-
- ToNatGatewayTypeOutput() NatGatewayTypeOutput
- ToNatGatewayTypeOutputWithContext(context.Context) NatGatewayTypeOutput
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkSecurityGroupTypePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Etag
+ }).(pulumi.StringPtrOutput)
}
-// Nat Gateway resource.
-type NatGatewayTypeArgs struct {
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The idle timeout of the nat gateway.
- IdleTimeoutInMinutes pulumi.IntPtrInput `pulumi:"idleTimeoutInMinutes"`
- // Resource location.
- Location pulumi.StringPtrInput `pulumi:"location"`
- // An array of public ip addresses associated with the nat gateway resource.
- PublicIpAddresses SubResourceArrayInput `pulumi:"publicIpAddresses"`
- // An array of public ip prefixes associated with the nat gateway resource.
- PublicIpPrefixes SubResourceArrayInput `pulumi:"publicIpPrefixes"`
- // The nat gateway SKU.
- Sku NatGatewaySkuPtrInput `pulumi:"sku"`
- // Resource tags.
- Tags pulumi.StringMapInput `pulumi:"tags"`
- // A list of availability zones denoting the zone in which Nat Gateway should be deployed.
- Zones pulumi.StringArrayInput `pulumi:"zones"`
+// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+func (o NetworkSecurityGroupTypePtrOutput) FlushConnection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupType) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.FlushConnection
+ }).(pulumi.BoolPtrOutput)
}
-func (NatGatewayTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*NatGatewayType)(nil)).Elem()
+// Resource ID.
+func (o NetworkSecurityGroupTypePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (i NatGatewayTypeArgs) ToNatGatewayTypeOutput() NatGatewayTypeOutput {
- return i.ToNatGatewayTypeOutputWithContext(context.Background())
+// Resource location.
+func (o NetworkSecurityGroupTypePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-func (i NatGatewayTypeArgs) ToNatGatewayTypeOutputWithContext(ctx context.Context) NatGatewayTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NatGatewayTypeOutput)
+// The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o NetworkSecurityGroupTypePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-func (i NatGatewayTypeArgs) ToNatGatewayTypePtrOutput() NatGatewayTypePtrOutput {
- return i.ToNatGatewayTypePtrOutputWithContext(context.Background())
+// The resource GUID property of the network security group resource.
+func (o NetworkSecurityGroupTypePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
}
-func (i NatGatewayTypeArgs) ToNatGatewayTypePtrOutputWithContext(ctx context.Context) NatGatewayTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NatGatewayTypeOutput).ToNatGatewayTypePtrOutputWithContext(ctx)
+// A collection of security rules of the network security group.
+func (o NetworkSecurityGroupTypePtrOutput) SecurityRules() SecurityRuleTypeArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupType) []SecurityRuleType {
+ if v == nil {
+ return nil
+ }
+ return v.SecurityRules
+ }).(SecurityRuleTypeArrayOutput)
}
-// NatGatewayTypePtrInput is an input type that accepts NatGatewayTypeArgs, NatGatewayTypePtr and NatGatewayTypePtrOutput values.
-// You can construct a concrete instance of `NatGatewayTypePtrInput` via:
-//
-// NatGatewayTypeArgs{...}
-//
-// or:
-//
-// nil
-type NatGatewayTypePtrInput interface {
- pulumi.Input
-
- ToNatGatewayTypePtrOutput() NatGatewayTypePtrOutput
- ToNatGatewayTypePtrOutputWithContext(context.Context) NatGatewayTypePtrOutput
+// Resource tags.
+func (o NetworkSecurityGroupTypePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupType) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-type natGatewayTypePtrType NatGatewayTypeArgs
-
-func NatGatewayTypePtr(v *NatGatewayTypeArgs) NatGatewayTypePtrInput {
- return (*natGatewayTypePtrType)(v)
+// NetworkSecurityGroup resource.
+type NetworkSecurityGroupInterfaceEndpointResponse struct {
+ // The default security rules of network security group.
+ DefaultSecurityRules []SecurityRuleInterfaceEndpointResponse `pulumi:"defaultSecurityRules"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // A collection of references to network interfaces.
+ NetworkInterfaces []NetworkInterfaceResponse `pulumi:"networkInterfaces"`
+ // The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState *string `pulumi:"provisioningState"`
+ // The resource GUID property of the network security group resource.
+ ResourceGuid *string `pulumi:"resourceGuid"`
+ // A collection of security rules of the network security group.
+ SecurityRules []SecurityRuleInterfaceEndpointResponse `pulumi:"securityRules"`
+ // A collection of references to subnets.
+ Subnets []SubnetResponse `pulumi:"subnets"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-func (*natGatewayTypePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**NatGatewayType)(nil)).Elem()
-}
+// NetworkSecurityGroup resource.
+type NetworkSecurityGroupInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
-func (i *natGatewayTypePtrType) ToNatGatewayTypePtrOutput() NatGatewayTypePtrOutput {
- return i.ToNatGatewayTypePtrOutputWithContext(context.Background())
+func (NetworkSecurityGroupInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkSecurityGroupInterfaceEndpointResponse)(nil)).Elem()
}
-func (i *natGatewayTypePtrType) ToNatGatewayTypePtrOutputWithContext(ctx context.Context) NatGatewayTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NatGatewayTypePtrOutput)
+func (o NetworkSecurityGroupInterfaceEndpointResponseOutput) ToNetworkSecurityGroupInterfaceEndpointResponseOutput() NetworkSecurityGroupInterfaceEndpointResponseOutput {
+ return o
}
-// Nat Gateway resource.
-type NatGatewayTypeOutput struct{ *pulumi.OutputState }
-
-func (NatGatewayTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NatGatewayType)(nil)).Elem()
+func (o NetworkSecurityGroupInterfaceEndpointResponseOutput) ToNetworkSecurityGroupInterfaceEndpointResponseOutputWithContext(ctx context.Context) NetworkSecurityGroupInterfaceEndpointResponseOutput {
+ return o
}
-func (o NatGatewayTypeOutput) ToNatGatewayTypeOutput() NatGatewayTypeOutput {
- return o
+// The default security rules of network security group.
+func (o NetworkSecurityGroupInterfaceEndpointResponseOutput) DefaultSecurityRules() SecurityRuleInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupInterfaceEndpointResponse) []SecurityRuleInterfaceEndpointResponse {
+ return v.DefaultSecurityRules
+ }).(SecurityRuleInterfaceEndpointResponseArrayOutput)
}
-func (o NatGatewayTypeOutput) ToNatGatewayTypeOutputWithContext(ctx context.Context) NatGatewayTypeOutput {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkSecurityGroupInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-func (o NatGatewayTypeOutput) ToNatGatewayTypePtrOutput() NatGatewayTypePtrOutput {
- return o.ToNatGatewayTypePtrOutputWithContext(context.Background())
+// Resource ID.
+func (o NetworkSecurityGroupInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o NatGatewayTypeOutput) ToNatGatewayTypePtrOutputWithContext(ctx context.Context) NatGatewayTypePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v NatGatewayType) *NatGatewayType {
- return &v
- }).(NatGatewayTypePtrOutput)
+// Resource location.
+func (o NetworkSecurityGroupInterfaceEndpointResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupInterfaceEndpointResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// Resource ID.
-func (o NatGatewayTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatGatewayType) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Resource name.
+func (o NetworkSecurityGroupInterfaceEndpointResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupInterfaceEndpointResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// The idle timeout of the nat gateway.
-func (o NatGatewayTypeOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v NatGatewayType) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+// A collection of references to network interfaces.
+func (o NetworkSecurityGroupInterfaceEndpointResponseOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupInterfaceEndpointResponse) []NetworkInterfaceResponse {
+ return v.NetworkInterfaces
+ }).(NetworkInterfaceResponseArrayOutput)
}
-// Resource location.
-func (o NatGatewayTypeOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatGatewayType) *string { return v.Location }).(pulumi.StringPtrOutput)
+// The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o NetworkSecurityGroupInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupInterfaceEndpointResponse) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-// An array of public ip addresses associated with the nat gateway resource.
-func (o NatGatewayTypeOutput) PublicIpAddresses() SubResourceArrayOutput {
- return o.ApplyT(func(v NatGatewayType) []SubResource { return v.PublicIpAddresses }).(SubResourceArrayOutput)
+// The resource GUID property of the network security group resource.
+func (o NetworkSecurityGroupInterfaceEndpointResponseOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupInterfaceEndpointResponse) *string { return v.ResourceGuid }).(pulumi.StringPtrOutput)
}
-// An array of public ip prefixes associated with the nat gateway resource.
-func (o NatGatewayTypeOutput) PublicIpPrefixes() SubResourceArrayOutput {
- return o.ApplyT(func(v NatGatewayType) []SubResource { return v.PublicIpPrefixes }).(SubResourceArrayOutput)
+// A collection of security rules of the network security group.
+func (o NetworkSecurityGroupInterfaceEndpointResponseOutput) SecurityRules() SecurityRuleInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupInterfaceEndpointResponse) []SecurityRuleInterfaceEndpointResponse {
+ return v.SecurityRules
+ }).(SecurityRuleInterfaceEndpointResponseArrayOutput)
}
-// The nat gateway SKU.
-func (o NatGatewayTypeOutput) Sku() NatGatewaySkuPtrOutput {
- return o.ApplyT(func(v NatGatewayType) *NatGatewaySku { return v.Sku }).(NatGatewaySkuPtrOutput)
+// A collection of references to subnets.
+func (o NetworkSecurityGroupInterfaceEndpointResponseOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupInterfaceEndpointResponse) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
}
// Resource tags.
-func (o NatGatewayTypeOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v NatGatewayType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+func (o NetworkSecurityGroupInterfaceEndpointResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupInterfaceEndpointResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// A list of availability zones denoting the zone in which Nat Gateway should be deployed.
-func (o NatGatewayTypeOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatGatewayType) []string { return v.Zones }).(pulumi.StringArrayOutput)
+// Resource type.
+func (o NetworkSecurityGroupInterfaceEndpointResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupInterfaceEndpointResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type NatGatewayTypePtrOutput struct{ *pulumi.OutputState }
+type NetworkSecurityGroupInterfaceEndpointResponsePtrOutput struct{ *pulumi.OutputState }
-func (NatGatewayTypePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NatGatewayType)(nil)).Elem()
+func (NetworkSecurityGroupInterfaceEndpointResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkSecurityGroupInterfaceEndpointResponse)(nil)).Elem()
}
-func (o NatGatewayTypePtrOutput) ToNatGatewayTypePtrOutput() NatGatewayTypePtrOutput {
+func (o NetworkSecurityGroupInterfaceEndpointResponsePtrOutput) ToNetworkSecurityGroupInterfaceEndpointResponsePtrOutput() NetworkSecurityGroupInterfaceEndpointResponsePtrOutput {
return o
}
-func (o NatGatewayTypePtrOutput) ToNatGatewayTypePtrOutputWithContext(ctx context.Context) NatGatewayTypePtrOutput {
+func (o NetworkSecurityGroupInterfaceEndpointResponsePtrOutput) ToNetworkSecurityGroupInterfaceEndpointResponsePtrOutputWithContext(ctx context.Context) NetworkSecurityGroupInterfaceEndpointResponsePtrOutput {
return o
}
-func (o NatGatewayTypePtrOutput) Elem() NatGatewayTypeOutput {
- return o.ApplyT(func(v *NatGatewayType) NatGatewayType {
+func (o NetworkSecurityGroupInterfaceEndpointResponsePtrOutput) Elem() NetworkSecurityGroupInterfaceEndpointResponseOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupInterfaceEndpointResponse) NetworkSecurityGroupInterfaceEndpointResponse {
if v != nil {
return *v
}
- var ret NatGatewayType
+ var ret NetworkSecurityGroupInterfaceEndpointResponse
return ret
- }).(NatGatewayTypeOutput)
+ }).(NetworkSecurityGroupInterfaceEndpointResponseOutput)
+}
+
+// The default security rules of network security group.
+func (o NetworkSecurityGroupInterfaceEndpointResponsePtrOutput) DefaultSecurityRules() SecurityRuleInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupInterfaceEndpointResponse) []SecurityRuleInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DefaultSecurityRules
+ }).(SecurityRuleInterfaceEndpointResponseArrayOutput)
+}
+
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkSecurityGroupInterfaceEndpointResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Etag
+ }).(pulumi.StringPtrOutput)
}
// Resource ID.
-func (o NatGatewayTypePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatGatewayType) *string {
+func (o NetworkSecurityGroupInterfaceEndpointResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
+}
+
+// Resource location.
+func (o NetworkSecurityGroupInterfaceEndpointResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
+}
+
+// Resource name.
+func (o NetworkSecurityGroupInterfaceEndpointResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupInterfaceEndpointResponse) *string {
if v == nil {
return nil
}
- return v.Id
+ return &v.Name
}).(pulumi.StringPtrOutput)
}
-// The idle timeout of the nat gateway.
-func (o NatGatewayTypePtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *NatGatewayType) *int {
+// A collection of references to network interfaces.
+func (o NetworkSecurityGroupInterfaceEndpointResponsePtrOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupInterfaceEndpointResponse) []NetworkInterfaceResponse {
if v == nil {
return nil
}
- return v.IdleTimeoutInMinutes
- }).(pulumi.IntPtrOutput)
+ return v.NetworkInterfaces
+ }).(NetworkInterfaceResponseArrayOutput)
}
-// Resource location.
-func (o NatGatewayTypePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatGatewayType) *string {
+// The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o NetworkSecurityGroupInterfaceEndpointResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupInterfaceEndpointResponse) *string {
if v == nil {
return nil
}
- return v.Location
+ return v.ProvisioningState
}).(pulumi.StringPtrOutput)
}
-// An array of public ip addresses associated with the nat gateway resource.
-func (o NatGatewayTypePtrOutput) PublicIpAddresses() SubResourceArrayOutput {
- return o.ApplyT(func(v *NatGatewayType) []SubResource {
+// The resource GUID property of the network security group resource.
+func (o NetworkSecurityGroupInterfaceEndpointResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupInterfaceEndpointResponse) *string {
if v == nil {
return nil
}
- return v.PublicIpAddresses
- }).(SubResourceArrayOutput)
+ return v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
}
-// An array of public ip prefixes associated with the nat gateway resource.
-func (o NatGatewayTypePtrOutput) PublicIpPrefixes() SubResourceArrayOutput {
- return o.ApplyT(func(v *NatGatewayType) []SubResource {
+// A collection of security rules of the network security group.
+func (o NetworkSecurityGroupInterfaceEndpointResponsePtrOutput) SecurityRules() SecurityRuleInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupInterfaceEndpointResponse) []SecurityRuleInterfaceEndpointResponse {
if v == nil {
return nil
}
- return v.PublicIpPrefixes
- }).(SubResourceArrayOutput)
+ return v.SecurityRules
+ }).(SecurityRuleInterfaceEndpointResponseArrayOutput)
}
-// The nat gateway SKU.
-func (o NatGatewayTypePtrOutput) Sku() NatGatewaySkuPtrOutput {
- return o.ApplyT(func(v *NatGatewayType) *NatGatewaySku {
+// A collection of references to subnets.
+func (o NetworkSecurityGroupInterfaceEndpointResponsePtrOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupInterfaceEndpointResponse) []SubnetResponse {
if v == nil {
return nil
}
- return v.Sku
- }).(NatGatewaySkuPtrOutput)
+ return v.Subnets
+ }).(SubnetResponseArrayOutput)
}
// Resource tags.
-func (o NatGatewayTypePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *NatGatewayType) map[string]string {
+func (o NetworkSecurityGroupInterfaceEndpointResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupInterfaceEndpointResponse) map[string]string {
if v == nil {
return nil
}
@@ -61447,160 +62440,170 @@ func (o NatGatewayTypePtrOutput) Tags() pulumi.StringMapOutput {
}).(pulumi.StringMapOutput)
}
-// A list of availability zones denoting the zone in which Nat Gateway should be deployed.
-func (o NatGatewayTypePtrOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NatGatewayType) []string {
+// Resource type.
+func (o NetworkSecurityGroupInterfaceEndpointResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupInterfaceEndpointResponse) *string {
if v == nil {
return nil
}
- return v.Zones
- }).(pulumi.StringArrayOutput)
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-// Nat Gateway resource.
-type NatGatewayResponse struct {
+// NetworkSecurityGroup resource.
+type NetworkSecurityGroupResponse struct {
+ // The default security rules of network security group.
+ DefaultSecurityRules []SecurityRuleResponse `pulumi:"defaultSecurityRules"`
// A unique read-only string that changes whenever the resource is updated.
Etag string `pulumi:"etag"`
+ // A collection of references to flow log resources.
+ FlowLogs []FlowLogResponse `pulumi:"flowLogs"`
+ // When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+ FlushConnection *bool `pulumi:"flushConnection"`
// Resource ID.
Id *string `pulumi:"id"`
- // The idle timeout of the nat gateway.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
// Resource location.
Location *string `pulumi:"location"`
// Resource name.
Name string `pulumi:"name"`
- // The provisioning state of the NAT gateway resource.
+ // A collection of references to network interfaces.
+ NetworkInterfaces []NetworkInterfaceResponse `pulumi:"networkInterfaces"`
+ // The provisioning state of the network security group resource.
ProvisioningState string `pulumi:"provisioningState"`
- // An array of public ip addresses associated with the nat gateway resource.
- PublicIpAddresses []SubResourceResponse `pulumi:"publicIpAddresses"`
- // An array of public ip prefixes associated with the nat gateway resource.
- PublicIpPrefixes []SubResourceResponse `pulumi:"publicIpPrefixes"`
- // The resource GUID property of the NAT gateway resource.
+ // The resource GUID property of the network security group resource.
ResourceGuid string `pulumi:"resourceGuid"`
- // The nat gateway SKU.
- Sku *NatGatewaySkuResponse `pulumi:"sku"`
- // An array of references to the subnets using this nat gateway resource.
- Subnets []SubResourceResponse `pulumi:"subnets"`
+ // A collection of security rules of the network security group.
+ SecurityRules []SecurityRuleResponse `pulumi:"securityRules"`
+ // A collection of references to subnets.
+ Subnets []SubnetResponse `pulumi:"subnets"`
// Resource tags.
Tags map[string]string `pulumi:"tags"`
// Resource type.
Type string `pulumi:"type"`
- // A list of availability zones denoting the zone in which Nat Gateway should be deployed.
- Zones []string `pulumi:"zones"`
}
-// Nat Gateway resource.
-type NatGatewayResponseOutput struct{ *pulumi.OutputState }
+// NetworkSecurityGroup resource.
+type NetworkSecurityGroupResponseOutput struct{ *pulumi.OutputState }
-func (NatGatewayResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NatGatewayResponse)(nil)).Elem()
+func (NetworkSecurityGroupResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkSecurityGroupResponse)(nil)).Elem()
}
-func (o NatGatewayResponseOutput) ToNatGatewayResponseOutput() NatGatewayResponseOutput {
+func (o NetworkSecurityGroupResponseOutput) ToNetworkSecurityGroupResponseOutput() NetworkSecurityGroupResponseOutput {
return o
}
-func (o NatGatewayResponseOutput) ToNatGatewayResponseOutputWithContext(ctx context.Context) NatGatewayResponseOutput {
+func (o NetworkSecurityGroupResponseOutput) ToNetworkSecurityGroupResponseOutputWithContext(ctx context.Context) NetworkSecurityGroupResponseOutput {
return o
}
+// The default security rules of network security group.
+func (o NetworkSecurityGroupResponseOutput) DefaultSecurityRules() SecurityRuleResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupResponse) []SecurityRuleResponse { return v.DefaultSecurityRules }).(SecurityRuleResponseArrayOutput)
+}
+
// A unique read-only string that changes whenever the resource is updated.
-func (o NatGatewayResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v NatGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o NetworkSecurityGroupResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Resource ID.
-func (o NatGatewayResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// A collection of references to flow log resources.
+func (o NetworkSecurityGroupResponseOutput) FlowLogs() FlowLogResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupResponse) []FlowLogResponse { return v.FlowLogs }).(FlowLogResponseArrayOutput)
}
-// The idle timeout of the nat gateway.
-func (o NatGatewayResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v NatGatewayResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+func (o NetworkSecurityGroupResponseOutput) FlushConnection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupResponse) *bool { return v.FlushConnection }).(pulumi.BoolPtrOutput)
}
-// Resource location.
-func (o NatGatewayResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o NetworkSecurityGroupResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Resource name.
-func (o NatGatewayResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v NatGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
+// Resource location.
+func (o NetworkSecurityGroupResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the NAT gateway resource.
-func (o NatGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v NatGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Resource name.
+func (o NetworkSecurityGroupResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// An array of public ip addresses associated with the nat gateway resource.
-func (o NatGatewayResponseOutput) PublicIpAddresses() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v NatGatewayResponse) []SubResourceResponse { return v.PublicIpAddresses }).(SubResourceResponseArrayOutput)
+// A collection of references to network interfaces.
+func (o NetworkSecurityGroupResponseOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupResponse) []NetworkInterfaceResponse { return v.NetworkInterfaces }).(NetworkInterfaceResponseArrayOutput)
}
-// An array of public ip prefixes associated with the nat gateway resource.
-func (o NatGatewayResponseOutput) PublicIpPrefixes() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v NatGatewayResponse) []SubResourceResponse { return v.PublicIpPrefixes }).(SubResourceResponseArrayOutput)
+// The provisioning state of the network security group resource.
+func (o NetworkSecurityGroupResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The resource GUID property of the NAT gateway resource.
-func (o NatGatewayResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v NatGatewayResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// The resource GUID property of the network security group resource.
+func (o NetworkSecurityGroupResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// The nat gateway SKU.
-func (o NatGatewayResponseOutput) Sku() NatGatewaySkuResponsePtrOutput {
- return o.ApplyT(func(v NatGatewayResponse) *NatGatewaySkuResponse { return v.Sku }).(NatGatewaySkuResponsePtrOutput)
+// A collection of security rules of the network security group.
+func (o NetworkSecurityGroupResponseOutput) SecurityRules() SecurityRuleResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupResponse) []SecurityRuleResponse { return v.SecurityRules }).(SecurityRuleResponseArrayOutput)
}
-// An array of references to the subnets using this nat gateway resource.
-func (o NatGatewayResponseOutput) Subnets() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v NatGatewayResponse) []SubResourceResponse { return v.Subnets }).(SubResourceResponseArrayOutput)
+// A collection of references to subnets.
+func (o NetworkSecurityGroupResponseOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupResponse) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
}
// Resource tags.
-func (o NatGatewayResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v NatGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+func (o NetworkSecurityGroupResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
// Resource type.
-func (o NatGatewayResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v NatGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
-}
-
-// A list of availability zones denoting the zone in which Nat Gateway should be deployed.
-func (o NatGatewayResponseOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatGatewayResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
+func (o NetworkSecurityGroupResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type NatGatewayResponsePtrOutput struct{ *pulumi.OutputState }
+type NetworkSecurityGroupResponsePtrOutput struct{ *pulumi.OutputState }
-func (NatGatewayResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NatGatewayResponse)(nil)).Elem()
+func (NetworkSecurityGroupResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkSecurityGroupResponse)(nil)).Elem()
}
-func (o NatGatewayResponsePtrOutput) ToNatGatewayResponsePtrOutput() NatGatewayResponsePtrOutput {
+func (o NetworkSecurityGroupResponsePtrOutput) ToNetworkSecurityGroupResponsePtrOutput() NetworkSecurityGroupResponsePtrOutput {
return o
}
-func (o NatGatewayResponsePtrOutput) ToNatGatewayResponsePtrOutputWithContext(ctx context.Context) NatGatewayResponsePtrOutput {
+func (o NetworkSecurityGroupResponsePtrOutput) ToNetworkSecurityGroupResponsePtrOutputWithContext(ctx context.Context) NetworkSecurityGroupResponsePtrOutput {
return o
}
-func (o NatGatewayResponsePtrOutput) Elem() NatGatewayResponseOutput {
- return o.ApplyT(func(v *NatGatewayResponse) NatGatewayResponse {
+func (o NetworkSecurityGroupResponsePtrOutput) Elem() NetworkSecurityGroupResponseOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupResponse) NetworkSecurityGroupResponse {
if v != nil {
return *v
}
- var ret NatGatewayResponse
+ var ret NetworkSecurityGroupResponse
return ret
- }).(NatGatewayResponseOutput)
+ }).(NetworkSecurityGroupResponseOutput)
+}
+
+// The default security rules of network security group.
+func (o NetworkSecurityGroupResponsePtrOutput) DefaultSecurityRules() SecurityRuleResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupResponse) []SecurityRuleResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DefaultSecurityRules
+ }).(SecurityRuleResponseArrayOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o NatGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatGatewayResponse) *string {
+func (o NetworkSecurityGroupResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupResponse) *string {
if v == nil {
return nil
}
@@ -61608,79 +62611,79 @@ func (o NatGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-// Resource ID.
-func (o NatGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatGatewayResponse) *string {
+// A collection of references to flow log resources.
+func (o NetworkSecurityGroupResponsePtrOutput) FlowLogs() FlowLogResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupResponse) []FlowLogResponse {
if v == nil {
return nil
}
- return v.Id
- }).(pulumi.StringPtrOutput)
+ return v.FlowLogs
+ }).(FlowLogResponseArrayOutput)
}
-// The idle timeout of the nat gateway.
-func (o NatGatewayResponsePtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *NatGatewayResponse) *int {
+// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+func (o NetworkSecurityGroupResponsePtrOutput) FlushConnection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupResponse) *bool {
if v == nil {
return nil
}
- return v.IdleTimeoutInMinutes
- }).(pulumi.IntPtrOutput)
+ return v.FlushConnection
+ }).(pulumi.BoolPtrOutput)
}
-// Resource location.
-func (o NatGatewayResponsePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatGatewayResponse) *string {
+// Resource ID.
+func (o NetworkSecurityGroupResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupResponse) *string {
if v == nil {
return nil
}
- return v.Location
+ return v.Id
}).(pulumi.StringPtrOutput)
}
-// Resource name.
-func (o NatGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatGatewayResponse) *string {
+// Resource location.
+func (o NetworkSecurityGroupResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupResponse) *string {
if v == nil {
return nil
}
- return &v.Name
+ return v.Location
}).(pulumi.StringPtrOutput)
}
-// The provisioning state of the NAT gateway resource.
-func (o NatGatewayResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatGatewayResponse) *string {
+// Resource name.
+func (o NetworkSecurityGroupResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupResponse) *string {
if v == nil {
return nil
}
- return &v.ProvisioningState
+ return &v.Name
}).(pulumi.StringPtrOutput)
}
-// An array of public ip addresses associated with the nat gateway resource.
-func (o NatGatewayResponsePtrOutput) PublicIpAddresses() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *NatGatewayResponse) []SubResourceResponse {
+// A collection of references to network interfaces.
+func (o NetworkSecurityGroupResponsePtrOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupResponse) []NetworkInterfaceResponse {
if v == nil {
return nil
}
- return v.PublicIpAddresses
- }).(SubResourceResponseArrayOutput)
+ return v.NetworkInterfaces
+ }).(NetworkInterfaceResponseArrayOutput)
}
-// An array of public ip prefixes associated with the nat gateway resource.
-func (o NatGatewayResponsePtrOutput) PublicIpPrefixes() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *NatGatewayResponse) []SubResourceResponse {
+// The provisioning state of the network security group resource.
+func (o NetworkSecurityGroupResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupResponse) *string {
if v == nil {
return nil
}
- return v.PublicIpPrefixes
- }).(SubResourceResponseArrayOutput)
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// The resource GUID property of the NAT gateway resource.
-func (o NatGatewayResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatGatewayResponse) *string {
+// The resource GUID property of the network security group resource.
+func (o NetworkSecurityGroupResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupResponse) *string {
if v == nil {
return nil
}
@@ -61688,29 +62691,29 @@ func (o NatGatewayResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-// The nat gateway SKU.
-func (o NatGatewayResponsePtrOutput) Sku() NatGatewaySkuResponsePtrOutput {
- return o.ApplyT(func(v *NatGatewayResponse) *NatGatewaySkuResponse {
+// A collection of security rules of the network security group.
+func (o NetworkSecurityGroupResponsePtrOutput) SecurityRules() SecurityRuleResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupResponse) []SecurityRuleResponse {
if v == nil {
return nil
}
- return v.Sku
- }).(NatGatewaySkuResponsePtrOutput)
+ return v.SecurityRules
+ }).(SecurityRuleResponseArrayOutput)
}
-// An array of references to the subnets using this nat gateway resource.
-func (o NatGatewayResponsePtrOutput) Subnets() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *NatGatewayResponse) []SubResourceResponse {
+// A collection of references to subnets.
+func (o NetworkSecurityGroupResponsePtrOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupResponse) []SubnetResponse {
if v == nil {
return nil
}
return v.Subnets
- }).(SubResourceResponseArrayOutput)
+ }).(SubnetResponseArrayOutput)
}
// Resource tags.
-func (o NatGatewayResponsePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *NatGatewayResponse) map[string]string {
+func (o NetworkSecurityGroupResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupResponse) map[string]string {
if v == nil {
return nil
}
@@ -61719,8 +62722,8 @@ func (o NatGatewayResponsePtrOutput) Tags() pulumi.StringMapOutput {
}
// Resource type.
-func (o NatGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatGatewayResponse) *string {
+func (o NetworkSecurityGroupResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupResponse) *string {
if v == nil {
return nil
}
@@ -61728,603 +62731,792 @@ func (o NatGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-// A list of availability zones denoting the zone in which Nat Gateway should be deployed.
-func (o NatGatewayResponsePtrOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NatGatewayResponse) []string {
- if v == nil {
- return nil
- }
- return v.Zones
- }).(pulumi.StringArrayOutput)
+// NetworkSecurityGroup resource.
+type NetworkSecurityGroupServiceGatewayResponse struct {
+ // The default security rules of network security group.
+ DefaultSecurityRules []SecurityRuleServiceGatewayResponse `pulumi:"defaultSecurityRules"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // A collection of references to flow log resources.
+ FlowLogs []FlowLogServiceGatewayResponse `pulumi:"flowLogs"`
+ // When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+ FlushConnection *bool `pulumi:"flushConnection"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // A collection of references to network interfaces.
+ NetworkInterfaces []NetworkInterfaceServiceGatewayResponse `pulumi:"networkInterfaces"`
+ // The provisioning state of the network security group resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The resource GUID property of the network security group resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // A collection of security rules of the network security group.
+ SecurityRules []SecurityRuleServiceGatewayResponse `pulumi:"securityRules"`
+ // A collection of references to subnets.
+ Subnets []SubnetResponse `pulumi:"subnets"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// SKU of nat gateway.
-type NatGatewaySku struct {
- // Name of Nat Gateway SKU.
- Name *string `pulumi:"name"`
+// NetworkSecurityGroup resource.
+type NetworkSecurityGroupServiceGatewayResponseOutput struct{ *pulumi.OutputState }
+
+func (NetworkSecurityGroupServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkSecurityGroupServiceGatewayResponse)(nil)).Elem()
}
-// NatGatewaySkuInput is an input type that accepts NatGatewaySkuArgs and NatGatewaySkuOutput values.
-// You can construct a concrete instance of `NatGatewaySkuInput` via:
-//
-// NatGatewaySkuArgs{...}
-type NatGatewaySkuInput interface {
- pulumi.Input
+func (o NetworkSecurityGroupServiceGatewayResponseOutput) ToNetworkSecurityGroupServiceGatewayResponseOutput() NetworkSecurityGroupServiceGatewayResponseOutput {
+ return o
+}
- ToNatGatewaySkuOutput() NatGatewaySkuOutput
- ToNatGatewaySkuOutputWithContext(context.Context) NatGatewaySkuOutput
+func (o NetworkSecurityGroupServiceGatewayResponseOutput) ToNetworkSecurityGroupServiceGatewayResponseOutputWithContext(ctx context.Context) NetworkSecurityGroupServiceGatewayResponseOutput {
+ return o
}
-// SKU of nat gateway.
-type NatGatewaySkuArgs struct {
- // Name of Nat Gateway SKU.
- Name pulumi.StringPtrInput `pulumi:"name"`
+// The default security rules of network security group.
+func (o NetworkSecurityGroupServiceGatewayResponseOutput) DefaultSecurityRules() SecurityRuleServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupServiceGatewayResponse) []SecurityRuleServiceGatewayResponse {
+ return v.DefaultSecurityRules
+ }).(SecurityRuleServiceGatewayResponseArrayOutput)
}
-func (NatGatewaySkuArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*NatGatewaySku)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkSecurityGroupServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (i NatGatewaySkuArgs) ToNatGatewaySkuOutput() NatGatewaySkuOutput {
- return i.ToNatGatewaySkuOutputWithContext(context.Background())
+// A collection of references to flow log resources.
+func (o NetworkSecurityGroupServiceGatewayResponseOutput) FlowLogs() FlowLogServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupServiceGatewayResponse) []FlowLogServiceGatewayResponse { return v.FlowLogs }).(FlowLogServiceGatewayResponseArrayOutput)
}
-func (i NatGatewaySkuArgs) ToNatGatewaySkuOutputWithContext(ctx context.Context) NatGatewaySkuOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NatGatewaySkuOutput)
+// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+func (o NetworkSecurityGroupServiceGatewayResponseOutput) FlushConnection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupServiceGatewayResponse) *bool { return v.FlushConnection }).(pulumi.BoolPtrOutput)
}
-func (i NatGatewaySkuArgs) ToNatGatewaySkuPtrOutput() NatGatewaySkuPtrOutput {
- return i.ToNatGatewaySkuPtrOutputWithContext(context.Background())
+// Resource ID.
+func (o NetworkSecurityGroupServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (i NatGatewaySkuArgs) ToNatGatewaySkuPtrOutputWithContext(ctx context.Context) NatGatewaySkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NatGatewaySkuOutput).ToNatGatewaySkuPtrOutputWithContext(ctx)
+// Resource location.
+func (o NetworkSecurityGroupServiceGatewayResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupServiceGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// NatGatewaySkuPtrInput is an input type that accepts NatGatewaySkuArgs, NatGatewaySkuPtr and NatGatewaySkuPtrOutput values.
-// You can construct a concrete instance of `NatGatewaySkuPtrInput` via:
-//
-// NatGatewaySkuArgs{...}
-//
-// or:
-//
-// nil
-type NatGatewaySkuPtrInput interface {
- pulumi.Input
+// Resource name.
+func (o NetworkSecurityGroupServiceGatewayResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupServiceGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
+}
- ToNatGatewaySkuPtrOutput() NatGatewaySkuPtrOutput
- ToNatGatewaySkuPtrOutputWithContext(context.Context) NatGatewaySkuPtrOutput
+// A collection of references to network interfaces.
+func (o NetworkSecurityGroupServiceGatewayResponseOutput) NetworkInterfaces() NetworkInterfaceServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupServiceGatewayResponse) []NetworkInterfaceServiceGatewayResponse {
+ return v.NetworkInterfaces
+ }).(NetworkInterfaceServiceGatewayResponseArrayOutput)
}
-type natGatewaySkuPtrType NatGatewaySkuArgs
+// The provisioning state of the network security group resource.
+func (o NetworkSecurityGroupServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
-func NatGatewaySkuPtr(v *NatGatewaySkuArgs) NatGatewaySkuPtrInput {
- return (*natGatewaySkuPtrType)(v)
+// The resource GUID property of the network security group resource.
+func (o NetworkSecurityGroupServiceGatewayResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupServiceGatewayResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-func (*natGatewaySkuPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**NatGatewaySku)(nil)).Elem()
+// A collection of security rules of the network security group.
+func (o NetworkSecurityGroupServiceGatewayResponseOutput) SecurityRules() SecurityRuleServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupServiceGatewayResponse) []SecurityRuleServiceGatewayResponse {
+ return v.SecurityRules
+ }).(SecurityRuleServiceGatewayResponseArrayOutput)
}
-func (i *natGatewaySkuPtrType) ToNatGatewaySkuPtrOutput() NatGatewaySkuPtrOutput {
- return i.ToNatGatewaySkuPtrOutputWithContext(context.Background())
+// A collection of references to subnets.
+func (o NetworkSecurityGroupServiceGatewayResponseOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupServiceGatewayResponse) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
}
-func (i *natGatewaySkuPtrType) ToNatGatewaySkuPtrOutputWithContext(ctx context.Context) NatGatewaySkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NatGatewaySkuPtrOutput)
+// Resource tags.
+func (o NetworkSecurityGroupServiceGatewayResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupServiceGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// SKU of nat gateway.
-type NatGatewaySkuOutput struct{ *pulumi.OutputState }
+// Resource type.
+func (o NetworkSecurityGroupServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
+}
-func (NatGatewaySkuOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NatGatewaySku)(nil)).Elem()
+type NetworkSecurityGroupServiceGatewayResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (NetworkSecurityGroupServiceGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkSecurityGroupServiceGatewayResponse)(nil)).Elem()
}
-func (o NatGatewaySkuOutput) ToNatGatewaySkuOutput() NatGatewaySkuOutput {
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) ToNetworkSecurityGroupServiceGatewayResponsePtrOutput() NetworkSecurityGroupServiceGatewayResponsePtrOutput {
return o
}
-func (o NatGatewaySkuOutput) ToNatGatewaySkuOutputWithContext(ctx context.Context) NatGatewaySkuOutput {
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) ToNetworkSecurityGroupServiceGatewayResponsePtrOutputWithContext(ctx context.Context) NetworkSecurityGroupServiceGatewayResponsePtrOutput {
return o
}
-func (o NatGatewaySkuOutput) ToNatGatewaySkuPtrOutput() NatGatewaySkuPtrOutput {
- return o.ToNatGatewaySkuPtrOutputWithContext(context.Background())
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) Elem() NetworkSecurityGroupServiceGatewayResponseOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupServiceGatewayResponse) NetworkSecurityGroupServiceGatewayResponse {
+ if v != nil {
+ return *v
+ }
+ var ret NetworkSecurityGroupServiceGatewayResponse
+ return ret
+ }).(NetworkSecurityGroupServiceGatewayResponseOutput)
}
-func (o NatGatewaySkuOutput) ToNatGatewaySkuPtrOutputWithContext(ctx context.Context) NatGatewaySkuPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v NatGatewaySku) *NatGatewaySku {
- return &v
- }).(NatGatewaySkuPtrOutput)
+// The default security rules of network security group.
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) DefaultSecurityRules() SecurityRuleServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupServiceGatewayResponse) []SecurityRuleServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DefaultSecurityRules
+ }).(SecurityRuleServiceGatewayResponseArrayOutput)
}
-// Name of Nat Gateway SKU.
-func (o NatGatewaySkuOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatGatewaySku) *string { return v.Name }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-type NatGatewaySkuPtrOutput struct{ *pulumi.OutputState }
+// A collection of references to flow log resources.
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) FlowLogs() FlowLogServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupServiceGatewayResponse) []FlowLogServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.FlowLogs
+ }).(FlowLogServiceGatewayResponseArrayOutput)
+}
-func (NatGatewaySkuPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NatGatewaySku)(nil)).Elem()
+// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) FlushConnection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupServiceGatewayResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.FlushConnection
+ }).(pulumi.BoolPtrOutput)
}
-func (o NatGatewaySkuPtrOutput) ToNatGatewaySkuPtrOutput() NatGatewaySkuPtrOutput {
- return o
+// Resource ID.
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (o NatGatewaySkuPtrOutput) ToNatGatewaySkuPtrOutputWithContext(ctx context.Context) NatGatewaySkuPtrOutput {
- return o
+// Resource location.
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-func (o NatGatewaySkuPtrOutput) Elem() NatGatewaySkuOutput {
- return o.ApplyT(func(v *NatGatewaySku) NatGatewaySku {
- if v != nil {
- return *v
+// Resource name.
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
}
- var ret NatGatewaySku
- return ret
- }).(NatGatewaySkuOutput)
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-// Name of Nat Gateway SKU.
-func (o NatGatewaySkuPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatGatewaySku) *string {
+// A collection of references to network interfaces.
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) NetworkInterfaces() NetworkInterfaceServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupServiceGatewayResponse) []NetworkInterfaceServiceGatewayResponse {
if v == nil {
return nil
}
- return v.Name
+ return v.NetworkInterfaces
+ }).(NetworkInterfaceServiceGatewayResponseArrayOutput)
+}
+
+// The provisioning state of the network security group resource.
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
}).(pulumi.StringPtrOutput)
}
-// SKU of nat gateway.
-type NatGatewaySkuResponse struct {
- // Name of Nat Gateway SKU.
- Name *string `pulumi:"name"`
+// The resource GUID property of the network security group resource.
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
}
-// SKU of nat gateway.
-type NatGatewaySkuResponseOutput struct{ *pulumi.OutputState }
+// A collection of security rules of the network security group.
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) SecurityRules() SecurityRuleServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupServiceGatewayResponse) []SecurityRuleServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.SecurityRules
+ }).(SecurityRuleServiceGatewayResponseArrayOutput)
+}
-func (NatGatewaySkuResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NatGatewaySkuResponse)(nil)).Elem()
+// A collection of references to subnets.
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupServiceGatewayResponse) []SubnetResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnets
+ }).(SubnetResponseArrayOutput)
}
-func (o NatGatewaySkuResponseOutput) ToNatGatewaySkuResponseOutput() NatGatewaySkuResponseOutput {
- return o
+// Resource tags.
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupServiceGatewayResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-func (o NatGatewaySkuResponseOutput) ToNatGatewaySkuResponseOutputWithContext(ctx context.Context) NatGatewaySkuResponseOutput {
- return o
+// Resource type.
+func (o NetworkSecurityGroupServiceGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-// Name of Nat Gateway SKU.
-func (o NatGatewaySkuResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatGatewaySkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// NetworkSecurityGroup resource.
+type NetworkSecurityGroupVirtualNetworkApplianceResponse struct {
+ // The default security rules of network security group.
+ DefaultSecurityRules []SecurityRuleVirtualNetworkApplianceResponse `pulumi:"defaultSecurityRules"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // A collection of references to flow log resources.
+ FlowLogs []FlowLogVirtualNetworkApplianceResponse `pulumi:"flowLogs"`
+ // When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+ FlushConnection *bool `pulumi:"flushConnection"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // A collection of references to network interfaces.
+ NetworkInterfaces []NetworkInterfaceVirtualNetworkApplianceResponse `pulumi:"networkInterfaces"`
+ // The provisioning state of the network security group resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The resource GUID property of the network security group resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // A collection of security rules of the network security group.
+ SecurityRules []SecurityRuleVirtualNetworkApplianceResponse `pulumi:"securityRules"`
+ // A collection of references to subnets.
+ Subnets []SubnetResponse `pulumi:"subnets"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-type NatGatewaySkuResponsePtrOutput struct{ *pulumi.OutputState }
+// NetworkSecurityGroup resource.
+type NetworkSecurityGroupVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
-func (NatGatewaySkuResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NatGatewaySkuResponse)(nil)).Elem()
+func (NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkSecurityGroupVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o NatGatewaySkuResponsePtrOutput) ToNatGatewaySkuResponsePtrOutput() NatGatewaySkuResponsePtrOutput {
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) ToNetworkSecurityGroupVirtualNetworkApplianceResponseOutput() NetworkSecurityGroupVirtualNetworkApplianceResponseOutput {
return o
}
-func (o NatGatewaySkuResponsePtrOutput) ToNatGatewaySkuResponsePtrOutputWithContext(ctx context.Context) NatGatewaySkuResponsePtrOutput {
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) ToNetworkSecurityGroupVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) NetworkSecurityGroupVirtualNetworkApplianceResponseOutput {
return o
}
-func (o NatGatewaySkuResponsePtrOutput) Elem() NatGatewaySkuResponseOutput {
- return o.ApplyT(func(v *NatGatewaySkuResponse) NatGatewaySkuResponse {
- if v != nil {
- return *v
- }
- var ret NatGatewaySkuResponse
- return ret
- }).(NatGatewaySkuResponseOutput)
+// The default security rules of network security group.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) DefaultSecurityRules() SecurityRuleVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupVirtualNetworkApplianceResponse) []SecurityRuleVirtualNetworkApplianceResponse {
+ return v.DefaultSecurityRules
+ }).(SecurityRuleVirtualNetworkApplianceResponseArrayOutput)
+}
+
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
+}
+
+// A collection of references to flow log resources.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) FlowLogs() FlowLogVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupVirtualNetworkApplianceResponse) []FlowLogVirtualNetworkApplianceResponse {
+ return v.FlowLogs
+ }).(FlowLogVirtualNetworkApplianceResponseArrayOutput)
+}
+
+// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) FlushConnection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupVirtualNetworkApplianceResponse) *bool { return v.FlushConnection }).(pulumi.BoolPtrOutput)
+}
+
+// Resource ID.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
+
+// Resource location.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupVirtualNetworkApplianceResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// Name of Nat Gateway SKU.
-func (o NatGatewaySkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatGatewaySkuResponse) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+// Resource name.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupVirtualNetworkApplianceResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// Rule of type nat.
-type NatRuleType struct {
- // Description of the rule.
- Description *string `pulumi:"description"`
- // List of destination IP addresses or Service Tags.
- DestinationAddresses []string `pulumi:"destinationAddresses"`
- // List of destination ports.
- DestinationPorts []string `pulumi:"destinationPorts"`
- // Array of FirewallPolicyRuleNetworkProtocols.
- IpProtocols []string `pulumi:"ipProtocols"`
- // Name of the rule.
- Name *string `pulumi:"name"`
- // Rule Type.
- // Expected value is 'NatRule'.
- RuleType string `pulumi:"ruleType"`
- // List of source IP addresses for this rule.
- SourceAddresses []string `pulumi:"sourceAddresses"`
- // List of source IpGroups for this rule.
- SourceIpGroups []string `pulumi:"sourceIpGroups"`
- // The translated address for this NAT rule.
- TranslatedAddress *string `pulumi:"translatedAddress"`
- // The translated FQDN for this NAT rule.
- TranslatedFqdn *string `pulumi:"translatedFqdn"`
- // The translated port for this NAT rule.
- TranslatedPort *string `pulumi:"translatedPort"`
+// A collection of references to network interfaces.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) NetworkInterfaces() NetworkInterfaceVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupVirtualNetworkApplianceResponse) []NetworkInterfaceVirtualNetworkApplianceResponse {
+ return v.NetworkInterfaces
+ }).(NetworkInterfaceVirtualNetworkApplianceResponseArrayOutput)
}
-// NatRuleTypeInput is an input type that accepts NatRuleTypeArgs and NatRuleTypeOutput values.
-// You can construct a concrete instance of `NatRuleTypeInput` via:
-//
-// NatRuleTypeArgs{...}
-type NatRuleTypeInput interface {
- pulumi.Input
+// The provisioning state of the network security group resource.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
- ToNatRuleTypeOutput() NatRuleTypeOutput
- ToNatRuleTypeOutputWithContext(context.Context) NatRuleTypeOutput
+// The resource GUID property of the network security group resource.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupVirtualNetworkApplianceResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// Rule of type nat.
-type NatRuleTypeArgs struct {
- // Description of the rule.
- Description pulumi.StringPtrInput `pulumi:"description"`
- // List of destination IP addresses or Service Tags.
- DestinationAddresses pulumi.StringArrayInput `pulumi:"destinationAddresses"`
- // List of destination ports.
- DestinationPorts pulumi.StringArrayInput `pulumi:"destinationPorts"`
- // Array of FirewallPolicyRuleNetworkProtocols.
- IpProtocols pulumi.StringArrayInput `pulumi:"ipProtocols"`
- // Name of the rule.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Rule Type.
- // Expected value is 'NatRule'.
- RuleType pulumi.StringInput `pulumi:"ruleType"`
- // List of source IP addresses for this rule.
- SourceAddresses pulumi.StringArrayInput `pulumi:"sourceAddresses"`
- // List of source IpGroups for this rule.
- SourceIpGroups pulumi.StringArrayInput `pulumi:"sourceIpGroups"`
- // The translated address for this NAT rule.
- TranslatedAddress pulumi.StringPtrInput `pulumi:"translatedAddress"`
- // The translated FQDN for this NAT rule.
- TranslatedFqdn pulumi.StringPtrInput `pulumi:"translatedFqdn"`
- // The translated port for this NAT rule.
- TranslatedPort pulumi.StringPtrInput `pulumi:"translatedPort"`
+// A collection of security rules of the network security group.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) SecurityRules() SecurityRuleVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupVirtualNetworkApplianceResponse) []SecurityRuleVirtualNetworkApplianceResponse {
+ return v.SecurityRules
+ }).(SecurityRuleVirtualNetworkApplianceResponseArrayOutput)
}
-func (NatRuleTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*NatRuleType)(nil)).Elem()
+// A collection of references to subnets.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupVirtualNetworkApplianceResponse) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
}
-func (i NatRuleTypeArgs) ToNatRuleTypeOutput() NatRuleTypeOutput {
- return i.ToNatRuleTypeOutputWithContext(context.Background())
+// Resource tags.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupVirtualNetworkApplianceResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (i NatRuleTypeArgs) ToNatRuleTypeOutputWithContext(ctx context.Context) NatRuleTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NatRuleTypeOutput)
+// Resource type.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkSecurityGroupVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Rule of type nat.
-type NatRuleTypeOutput struct{ *pulumi.OutputState }
+type NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput struct{ *pulumi.OutputState }
-func (NatRuleTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NatRuleType)(nil)).Elem()
+func (NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkSecurityGroupVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o NatRuleTypeOutput) ToNatRuleTypeOutput() NatRuleTypeOutput {
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) ToNetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput() NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput {
return o
}
-func (o NatRuleTypeOutput) ToNatRuleTypeOutputWithContext(ctx context.Context) NatRuleTypeOutput {
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) ToNetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutputWithContext(ctx context.Context) NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput {
return o
}
-// Description of the rule.
-func (o NatRuleTypeOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatRuleType) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) Elem() NetworkSecurityGroupVirtualNetworkApplianceResponseOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupVirtualNetworkApplianceResponse) NetworkSecurityGroupVirtualNetworkApplianceResponse {
+ if v != nil {
+ return *v
+ }
+ var ret NetworkSecurityGroupVirtualNetworkApplianceResponse
+ return ret
+ }).(NetworkSecurityGroupVirtualNetworkApplianceResponseOutput)
}
-// List of destination IP addresses or Service Tags.
-func (o NatRuleTypeOutput) DestinationAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleType) []string { return v.DestinationAddresses }).(pulumi.StringArrayOutput)
+// The default security rules of network security group.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) DefaultSecurityRules() SecurityRuleVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupVirtualNetworkApplianceResponse) []SecurityRuleVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DefaultSecurityRules
+ }).(SecurityRuleVirtualNetworkApplianceResponseArrayOutput)
}
-// List of destination ports.
-func (o NatRuleTypeOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleType) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-// Array of FirewallPolicyRuleNetworkProtocols.
-func (o NatRuleTypeOutput) IpProtocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleType) []string { return v.IpProtocols }).(pulumi.StringArrayOutput)
+// A collection of references to flow log resources.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) FlowLogs() FlowLogVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupVirtualNetworkApplianceResponse) []FlowLogVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.FlowLogs
+ }).(FlowLogVirtualNetworkApplianceResponseArrayOutput)
}
-// Name of the rule.
-func (o NatRuleTypeOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatRuleType) *string { return v.Name }).(pulumi.StringPtrOutput)
+// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) FlushConnection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupVirtualNetworkApplianceResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.FlushConnection
+ }).(pulumi.BoolPtrOutput)
}
-// Rule Type.
-// Expected value is 'NatRule'.
-func (o NatRuleTypeOutput) RuleType() pulumi.StringOutput {
- return o.ApplyT(func(v NatRuleType) string { return v.RuleType }).(pulumi.StringOutput)
+// Resource ID.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// List of source IP addresses for this rule.
-func (o NatRuleTypeOutput) SourceAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleType) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
+// Resource location.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-// List of source IpGroups for this rule.
-func (o NatRuleTypeOutput) SourceIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleType) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
+// Resource name.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-// The translated address for this NAT rule.
-func (o NatRuleTypeOutput) TranslatedAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatRuleType) *string { return v.TranslatedAddress }).(pulumi.StringPtrOutput)
+// A collection of references to network interfaces.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) NetworkInterfaces() NetworkInterfaceVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupVirtualNetworkApplianceResponse) []NetworkInterfaceVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.NetworkInterfaces
+ }).(NetworkInterfaceVirtualNetworkApplianceResponseArrayOutput)
}
-// The translated FQDN for this NAT rule.
-func (o NatRuleTypeOutput) TranslatedFqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatRuleType) *string { return v.TranslatedFqdn }).(pulumi.StringPtrOutput)
+// The provisioning state of the network security group resource.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// The translated port for this NAT rule.
-func (o NatRuleTypeOutput) TranslatedPort() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatRuleType) *string { return v.TranslatedPort }).(pulumi.StringPtrOutput)
+// The resource GUID property of the network security group resource.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
}
-// Rule condition of type nat.
-type NatRuleCondition struct {
- // Description of the rule condition.
- Description *string `pulumi:"description"`
- // List of destination IP addresses or Service Tags.
- DestinationAddresses []string `pulumi:"destinationAddresses"`
- // List of destination ports.
- DestinationPorts []string `pulumi:"destinationPorts"`
- // Array of FirewallPolicyRuleConditionNetworkProtocols.
- IpProtocols []string `pulumi:"ipProtocols"`
- // Name of the rule condition.
+// A collection of security rules of the network security group.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) SecurityRules() SecurityRuleVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupVirtualNetworkApplianceResponse) []SecurityRuleVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.SecurityRules
+ }).(SecurityRuleVirtualNetworkApplianceResponseArrayOutput)
+}
+
+// A collection of references to subnets.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupVirtualNetworkApplianceResponse) []SubnetResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnets
+ }).(SubnetResponseArrayOutput)
+}
+
+// Resource tags.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupVirtualNetworkApplianceResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
+}
+
+// Resource type.
+func (o NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkSecurityGroupVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
+}
+
+// Properties of the NetworkVirtualApplianceConnection subresource.
+type NetworkVirtualApplianceConnectionProperties struct {
+ // Network Virtual Appliance ASN.
+ Asn *float64 `pulumi:"asn"`
+ // List of bgpPeerAddresses for the NVA instances
+ BgpPeerAddress []string `pulumi:"bgpPeerAddress"`
+ // Enable internet security.
+ EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
+ // The name of the resource.
Name *string `pulumi:"name"`
- // Rule Condition Type.
- // Expected value is 'NatRuleCondition'.
- RuleConditionType string `pulumi:"ruleConditionType"`
- // List of source IP addresses for this rule.
- SourceAddresses []string `pulumi:"sourceAddresses"`
- // List of source IpGroups for this rule.
- SourceIpGroups []string `pulumi:"sourceIpGroups"`
+ // The Routing Configuration indicating the associated and propagated route tables on this connection.
+ RoutingConfiguration *RoutingConfigurationType `pulumi:"routingConfiguration"`
+ // Unique identifier for the connection.
+ TunnelIdentifier *float64 `pulumi:"tunnelIdentifier"`
}
-// NatRuleConditionInput is an input type that accepts NatRuleConditionArgs and NatRuleConditionOutput values.
-// You can construct a concrete instance of `NatRuleConditionInput` via:
+// NetworkVirtualApplianceConnectionPropertiesInput is an input type that accepts NetworkVirtualApplianceConnectionPropertiesArgs and NetworkVirtualApplianceConnectionPropertiesOutput values.
+// You can construct a concrete instance of `NetworkVirtualApplianceConnectionPropertiesInput` via:
//
-// NatRuleConditionArgs{...}
-type NatRuleConditionInput interface {
+// NetworkVirtualApplianceConnectionPropertiesArgs{...}
+type NetworkVirtualApplianceConnectionPropertiesInput interface {
pulumi.Input
- ToNatRuleConditionOutput() NatRuleConditionOutput
- ToNatRuleConditionOutputWithContext(context.Context) NatRuleConditionOutput
+ ToNetworkVirtualApplianceConnectionPropertiesOutput() NetworkVirtualApplianceConnectionPropertiesOutput
+ ToNetworkVirtualApplianceConnectionPropertiesOutputWithContext(context.Context) NetworkVirtualApplianceConnectionPropertiesOutput
}
-// Rule condition of type nat.
-type NatRuleConditionArgs struct {
- // Description of the rule condition.
- Description pulumi.StringPtrInput `pulumi:"description"`
- // List of destination IP addresses or Service Tags.
- DestinationAddresses pulumi.StringArrayInput `pulumi:"destinationAddresses"`
- // List of destination ports.
- DestinationPorts pulumi.StringArrayInput `pulumi:"destinationPorts"`
- // Array of FirewallPolicyRuleConditionNetworkProtocols.
- IpProtocols pulumi.StringArrayInput `pulumi:"ipProtocols"`
- // Name of the rule condition.
+// Properties of the NetworkVirtualApplianceConnection subresource.
+type NetworkVirtualApplianceConnectionPropertiesArgs struct {
+ // Network Virtual Appliance ASN.
+ Asn pulumi.Float64PtrInput `pulumi:"asn"`
+ // List of bgpPeerAddresses for the NVA instances
+ BgpPeerAddress pulumi.StringArrayInput `pulumi:"bgpPeerAddress"`
+ // Enable internet security.
+ EnableInternetSecurity pulumi.BoolPtrInput `pulumi:"enableInternetSecurity"`
+ // The name of the resource.
Name pulumi.StringPtrInput `pulumi:"name"`
- // Rule Condition Type.
- // Expected value is 'NatRuleCondition'.
- RuleConditionType pulumi.StringInput `pulumi:"ruleConditionType"`
- // List of source IP addresses for this rule.
- SourceAddresses pulumi.StringArrayInput `pulumi:"sourceAddresses"`
- // List of source IpGroups for this rule.
- SourceIpGroups pulumi.StringArrayInput `pulumi:"sourceIpGroups"`
+ // The Routing Configuration indicating the associated and propagated route tables on this connection.
+ RoutingConfiguration RoutingConfigurationTypePtrInput `pulumi:"routingConfiguration"`
+ // Unique identifier for the connection.
+ TunnelIdentifier pulumi.Float64PtrInput `pulumi:"tunnelIdentifier"`
}
-func (NatRuleConditionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*NatRuleCondition)(nil)).Elem()
+func (NetworkVirtualApplianceConnectionPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkVirtualApplianceConnectionProperties)(nil)).Elem()
}
-func (i NatRuleConditionArgs) ToNatRuleConditionOutput() NatRuleConditionOutput {
- return i.ToNatRuleConditionOutputWithContext(context.Background())
+func (i NetworkVirtualApplianceConnectionPropertiesArgs) ToNetworkVirtualApplianceConnectionPropertiesOutput() NetworkVirtualApplianceConnectionPropertiesOutput {
+ return i.ToNetworkVirtualApplianceConnectionPropertiesOutputWithContext(context.Background())
}
-func (i NatRuleConditionArgs) ToNatRuleConditionOutputWithContext(ctx context.Context) NatRuleConditionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NatRuleConditionOutput)
+func (i NetworkVirtualApplianceConnectionPropertiesArgs) ToNetworkVirtualApplianceConnectionPropertiesOutputWithContext(ctx context.Context) NetworkVirtualApplianceConnectionPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkVirtualApplianceConnectionPropertiesOutput)
}
-func (i NatRuleConditionArgs) ToNatRuleConditionPtrOutput() NatRuleConditionPtrOutput {
- return i.ToNatRuleConditionPtrOutputWithContext(context.Background())
+func (i NetworkVirtualApplianceConnectionPropertiesArgs) ToNetworkVirtualApplianceConnectionPropertiesPtrOutput() NetworkVirtualApplianceConnectionPropertiesPtrOutput {
+ return i.ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(context.Background())
}
-func (i NatRuleConditionArgs) ToNatRuleConditionPtrOutputWithContext(ctx context.Context) NatRuleConditionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NatRuleConditionOutput).ToNatRuleConditionPtrOutputWithContext(ctx)
+func (i NetworkVirtualApplianceConnectionPropertiesArgs) ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(ctx context.Context) NetworkVirtualApplianceConnectionPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkVirtualApplianceConnectionPropertiesOutput).ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(ctx)
}
-// NatRuleConditionPtrInput is an input type that accepts NatRuleConditionArgs, NatRuleConditionPtr and NatRuleConditionPtrOutput values.
-// You can construct a concrete instance of `NatRuleConditionPtrInput` via:
+// NetworkVirtualApplianceConnectionPropertiesPtrInput is an input type that accepts NetworkVirtualApplianceConnectionPropertiesArgs, NetworkVirtualApplianceConnectionPropertiesPtr and NetworkVirtualApplianceConnectionPropertiesPtrOutput values.
+// You can construct a concrete instance of `NetworkVirtualApplianceConnectionPropertiesPtrInput` via:
//
-// NatRuleConditionArgs{...}
+// NetworkVirtualApplianceConnectionPropertiesArgs{...}
//
// or:
//
// nil
-type NatRuleConditionPtrInput interface {
+type NetworkVirtualApplianceConnectionPropertiesPtrInput interface {
pulumi.Input
- ToNatRuleConditionPtrOutput() NatRuleConditionPtrOutput
- ToNatRuleConditionPtrOutputWithContext(context.Context) NatRuleConditionPtrOutput
+ ToNetworkVirtualApplianceConnectionPropertiesPtrOutput() NetworkVirtualApplianceConnectionPropertiesPtrOutput
+ ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(context.Context) NetworkVirtualApplianceConnectionPropertiesPtrOutput
}
-type natRuleConditionPtrType NatRuleConditionArgs
+type networkVirtualApplianceConnectionPropertiesPtrType NetworkVirtualApplianceConnectionPropertiesArgs
-func NatRuleConditionPtr(v *NatRuleConditionArgs) NatRuleConditionPtrInput {
- return (*natRuleConditionPtrType)(v)
+func NetworkVirtualApplianceConnectionPropertiesPtr(v *NetworkVirtualApplianceConnectionPropertiesArgs) NetworkVirtualApplianceConnectionPropertiesPtrInput {
+ return (*networkVirtualApplianceConnectionPropertiesPtrType)(v)
}
-func (*natRuleConditionPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**NatRuleCondition)(nil)).Elem()
+func (*networkVirtualApplianceConnectionPropertiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkVirtualApplianceConnectionProperties)(nil)).Elem()
}
-func (i *natRuleConditionPtrType) ToNatRuleConditionPtrOutput() NatRuleConditionPtrOutput {
- return i.ToNatRuleConditionPtrOutputWithContext(context.Background())
+func (i *networkVirtualApplianceConnectionPropertiesPtrType) ToNetworkVirtualApplianceConnectionPropertiesPtrOutput() NetworkVirtualApplianceConnectionPropertiesPtrOutput {
+ return i.ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(context.Background())
}
-func (i *natRuleConditionPtrType) ToNatRuleConditionPtrOutputWithContext(ctx context.Context) NatRuleConditionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NatRuleConditionPtrOutput)
+func (i *networkVirtualApplianceConnectionPropertiesPtrType) ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(ctx context.Context) NetworkVirtualApplianceConnectionPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkVirtualApplianceConnectionPropertiesPtrOutput)
}
-// Rule condition of type nat.
-type NatRuleConditionOutput struct{ *pulumi.OutputState }
+// Properties of the NetworkVirtualApplianceConnection subresource.
+type NetworkVirtualApplianceConnectionPropertiesOutput struct{ *pulumi.OutputState }
-func (NatRuleConditionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NatRuleCondition)(nil)).Elem()
+func (NetworkVirtualApplianceConnectionPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkVirtualApplianceConnectionProperties)(nil)).Elem()
}
-func (o NatRuleConditionOutput) ToNatRuleConditionOutput() NatRuleConditionOutput {
+func (o NetworkVirtualApplianceConnectionPropertiesOutput) ToNetworkVirtualApplianceConnectionPropertiesOutput() NetworkVirtualApplianceConnectionPropertiesOutput {
return o
}
-func (o NatRuleConditionOutput) ToNatRuleConditionOutputWithContext(ctx context.Context) NatRuleConditionOutput {
+func (o NetworkVirtualApplianceConnectionPropertiesOutput) ToNetworkVirtualApplianceConnectionPropertiesOutputWithContext(ctx context.Context) NetworkVirtualApplianceConnectionPropertiesOutput {
return o
}
-func (o NatRuleConditionOutput) ToNatRuleConditionPtrOutput() NatRuleConditionPtrOutput {
- return o.ToNatRuleConditionPtrOutputWithContext(context.Background())
+func (o NetworkVirtualApplianceConnectionPropertiesOutput) ToNetworkVirtualApplianceConnectionPropertiesPtrOutput() NetworkVirtualApplianceConnectionPropertiesPtrOutput {
+ return o.ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(context.Background())
}
-func (o NatRuleConditionOutput) ToNatRuleConditionPtrOutputWithContext(ctx context.Context) NatRuleConditionPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v NatRuleCondition) *NatRuleCondition {
+func (o NetworkVirtualApplianceConnectionPropertiesOutput) ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(ctx context.Context) NetworkVirtualApplianceConnectionPropertiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v NetworkVirtualApplianceConnectionProperties) *NetworkVirtualApplianceConnectionProperties {
return &v
- }).(NatRuleConditionPtrOutput)
-}
-
-// Description of the rule condition.
-func (o NatRuleConditionOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatRuleCondition) *string { return v.Description }).(pulumi.StringPtrOutput)
-}
-
-// List of destination IP addresses or Service Tags.
-func (o NatRuleConditionOutput) DestinationAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleCondition) []string { return v.DestinationAddresses }).(pulumi.StringArrayOutput)
+ }).(NetworkVirtualApplianceConnectionPropertiesPtrOutput)
}
-// List of destination ports.
-func (o NatRuleConditionOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleCondition) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
+// Network Virtual Appliance ASN.
+func (o NetworkVirtualApplianceConnectionPropertiesOutput) Asn() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v NetworkVirtualApplianceConnectionProperties) *float64 { return v.Asn }).(pulumi.Float64PtrOutput)
}
-// Array of FirewallPolicyRuleConditionNetworkProtocols.
-func (o NatRuleConditionOutput) IpProtocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleCondition) []string { return v.IpProtocols }).(pulumi.StringArrayOutput)
+// List of bgpPeerAddresses for the NVA instances
+func (o NetworkVirtualApplianceConnectionPropertiesOutput) BgpPeerAddress() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkVirtualApplianceConnectionProperties) []string { return v.BgpPeerAddress }).(pulumi.StringArrayOutput)
}
-// Name of the rule condition.
-func (o NatRuleConditionOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatRuleCondition) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Enable internet security.
+func (o NetworkVirtualApplianceConnectionPropertiesOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkVirtualApplianceConnectionProperties) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
}
-// Rule Condition Type.
-// Expected value is 'NatRuleCondition'.
-func (o NatRuleConditionOutput) RuleConditionType() pulumi.StringOutput {
- return o.ApplyT(func(v NatRuleCondition) string { return v.RuleConditionType }).(pulumi.StringOutput)
+// The name of the resource.
+func (o NetworkVirtualApplianceConnectionPropertiesOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkVirtualApplianceConnectionProperties) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// List of source IP addresses for this rule.
-func (o NatRuleConditionOutput) SourceAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleCondition) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
+// The Routing Configuration indicating the associated and propagated route tables on this connection.
+func (o NetworkVirtualApplianceConnectionPropertiesOutput) RoutingConfiguration() RoutingConfigurationTypePtrOutput {
+ return o.ApplyT(func(v NetworkVirtualApplianceConnectionProperties) *RoutingConfigurationType {
+ return v.RoutingConfiguration
+ }).(RoutingConfigurationTypePtrOutput)
}
-// List of source IpGroups for this rule.
-func (o NatRuleConditionOutput) SourceIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleCondition) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
+// Unique identifier for the connection.
+func (o NetworkVirtualApplianceConnectionPropertiesOutput) TunnelIdentifier() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v NetworkVirtualApplianceConnectionProperties) *float64 { return v.TunnelIdentifier }).(pulumi.Float64PtrOutput)
}
-type NatRuleConditionPtrOutput struct{ *pulumi.OutputState }
+type NetworkVirtualApplianceConnectionPropertiesPtrOutput struct{ *pulumi.OutputState }
-func (NatRuleConditionPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NatRuleCondition)(nil)).Elem()
+func (NetworkVirtualApplianceConnectionPropertiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkVirtualApplianceConnectionProperties)(nil)).Elem()
}
-func (o NatRuleConditionPtrOutput) ToNatRuleConditionPtrOutput() NatRuleConditionPtrOutput {
+func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) ToNetworkVirtualApplianceConnectionPropertiesPtrOutput() NetworkVirtualApplianceConnectionPropertiesPtrOutput {
return o
}
-func (o NatRuleConditionPtrOutput) ToNatRuleConditionPtrOutputWithContext(ctx context.Context) NatRuleConditionPtrOutput {
+func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(ctx context.Context) NetworkVirtualApplianceConnectionPropertiesPtrOutput {
return o
}
-func (o NatRuleConditionPtrOutput) Elem() NatRuleConditionOutput {
- return o.ApplyT(func(v *NatRuleCondition) NatRuleCondition {
+func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) Elem() NetworkVirtualApplianceConnectionPropertiesOutput {
+ return o.ApplyT(func(v *NetworkVirtualApplianceConnectionProperties) NetworkVirtualApplianceConnectionProperties {
if v != nil {
return *v
}
- var ret NatRuleCondition
+ var ret NetworkVirtualApplianceConnectionProperties
return ret
- }).(NatRuleConditionOutput)
-}
-
-// Description of the rule condition.
-func (o NatRuleConditionPtrOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatRuleCondition) *string {
- if v == nil {
- return nil
- }
- return v.Description
- }).(pulumi.StringPtrOutput)
+ }).(NetworkVirtualApplianceConnectionPropertiesOutput)
}
-// List of destination IP addresses or Service Tags.
-func (o NatRuleConditionPtrOutput) DestinationAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NatRuleCondition) []string {
+// Network Virtual Appliance ASN.
+func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) Asn() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v *NetworkVirtualApplianceConnectionProperties) *float64 {
if v == nil {
return nil
}
- return v.DestinationAddresses
- }).(pulumi.StringArrayOutput)
+ return v.Asn
+ }).(pulumi.Float64PtrOutput)
}
-// List of destination ports.
-func (o NatRuleConditionPtrOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NatRuleCondition) []string {
+// List of bgpPeerAddresses for the NVA instances
+func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) BgpPeerAddress() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NetworkVirtualApplianceConnectionProperties) []string {
if v == nil {
return nil
}
- return v.DestinationPorts
+ return v.BgpPeerAddress
}).(pulumi.StringArrayOutput)
}
-// Array of FirewallPolicyRuleConditionNetworkProtocols.
-func (o NatRuleConditionPtrOutput) IpProtocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NatRuleCondition) []string {
+// Enable internet security.
+func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *NetworkVirtualApplianceConnectionProperties) *bool {
if v == nil {
return nil
}
- return v.IpProtocols
- }).(pulumi.StringArrayOutput)
+ return v.EnableInternetSecurity
+ }).(pulumi.BoolPtrOutput)
}
-// Name of the rule condition.
-func (o NatRuleConditionPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatRuleCondition) *string {
+// The name of the resource.
+func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NetworkVirtualApplianceConnectionProperties) *string {
if v == nil {
return nil
}
@@ -62332,662 +63524,957 @@ func (o NatRuleConditionPtrOutput) Name() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-// Rule Condition Type.
-// Expected value is 'NatRuleCondition'.
-func (o NatRuleConditionPtrOutput) RuleConditionType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatRuleCondition) *string {
+// The Routing Configuration indicating the associated and propagated route tables on this connection.
+func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) RoutingConfiguration() RoutingConfigurationTypePtrOutput {
+ return o.ApplyT(func(v *NetworkVirtualApplianceConnectionProperties) *RoutingConfigurationType {
if v == nil {
return nil
}
- return &v.RuleConditionType
- }).(pulumi.StringPtrOutput)
+ return v.RoutingConfiguration
+ }).(RoutingConfigurationTypePtrOutput)
}
-// List of source IP addresses for this rule.
-func (o NatRuleConditionPtrOutput) SourceAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NatRuleCondition) []string {
+// Unique identifier for the connection.
+func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) TunnelIdentifier() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v *NetworkVirtualApplianceConnectionProperties) *float64 {
if v == nil {
return nil
}
- return v.SourceAddresses
- }).(pulumi.StringArrayOutput)
+ return v.TunnelIdentifier
+ }).(pulumi.Float64PtrOutput)
}
-// List of source IpGroups for this rule.
-func (o NatRuleConditionPtrOutput) SourceIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NatRuleCondition) []string {
- if v == nil {
- return nil
- }
- return v.SourceIpGroups
- }).(pulumi.StringArrayOutput)
+// Properties of the NetworkVirtualApplianceConnection subresource.
+type NetworkVirtualApplianceConnectionPropertiesResponse struct {
+ // Network Virtual Appliance ASN.
+ Asn *float64 `pulumi:"asn"`
+ // List of bgpPeerAddresses for the NVA instances
+ BgpPeerAddress []string `pulumi:"bgpPeerAddress"`
+ // Enable internet security.
+ EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
+ // The name of the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the NetworkVirtualApplianceConnection resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The Routing Configuration indicating the associated and propagated route tables on this connection.
+ RoutingConfiguration *RoutingConfigurationNetworkVirtualApplianceConnectionResponse `pulumi:"routingConfiguration"`
+ // Unique identifier for the connection.
+ TunnelIdentifier *float64 `pulumi:"tunnelIdentifier"`
}
-// Rule condition of type nat.
-type NatRuleConditionResponse struct {
- // Description of the rule condition.
- Description *string `pulumi:"description"`
- // List of destination IP addresses or Service Tags.
- DestinationAddresses []string `pulumi:"destinationAddresses"`
- // List of destination ports.
- DestinationPorts []string `pulumi:"destinationPorts"`
- // Array of FirewallPolicyRuleConditionNetworkProtocols.
- IpProtocols []string `pulumi:"ipProtocols"`
- // Name of the rule condition.
- Name *string `pulumi:"name"`
- // Rule Condition Type.
- // Expected value is 'NatRuleCondition'.
- RuleConditionType string `pulumi:"ruleConditionType"`
- // List of source IP addresses for this rule.
- SourceAddresses []string `pulumi:"sourceAddresses"`
- // List of source IpGroups for this rule.
- SourceIpGroups []string `pulumi:"sourceIpGroups"`
+// Properties of the NetworkVirtualApplianceConnection subresource.
+type NetworkVirtualApplianceConnectionPropertiesResponseOutput struct{ *pulumi.OutputState }
+
+func (NetworkVirtualApplianceConnectionPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkVirtualApplianceConnectionPropertiesResponse)(nil)).Elem()
}
-// Rule condition of type nat.
-type NatRuleConditionResponseOutput struct{ *pulumi.OutputState }
+func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) ToNetworkVirtualApplianceConnectionPropertiesResponseOutput() NetworkVirtualApplianceConnectionPropertiesResponseOutput {
+ return o
+}
-func (NatRuleConditionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NatRuleConditionResponse)(nil)).Elem()
+func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) ToNetworkVirtualApplianceConnectionPropertiesResponseOutputWithContext(ctx context.Context) NetworkVirtualApplianceConnectionPropertiesResponseOutput {
+ return o
+}
+
+// Network Virtual Appliance ASN.
+func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) Asn() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v NetworkVirtualApplianceConnectionPropertiesResponse) *float64 { return v.Asn }).(pulumi.Float64PtrOutput)
+}
+
+// List of bgpPeerAddresses for the NVA instances
+func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) BgpPeerAddress() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NetworkVirtualApplianceConnectionPropertiesResponse) []string { return v.BgpPeerAddress }).(pulumi.StringArrayOutput)
+}
+
+// Enable internet security.
+func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v NetworkVirtualApplianceConnectionPropertiesResponse) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
+}
+
+// The name of the resource.
+func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NetworkVirtualApplianceConnectionPropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
+
+// The provisioning state of the NetworkVirtualApplianceConnection resource.
+func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v NetworkVirtualApplianceConnectionPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
+
+// The Routing Configuration indicating the associated and propagated route tables on this connection.
+func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) RoutingConfiguration() RoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutput {
+ return o.ApplyT(func(v NetworkVirtualApplianceConnectionPropertiesResponse) *RoutingConfigurationNetworkVirtualApplianceConnectionResponse {
+ return v.RoutingConfiguration
+ }).(RoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutput)
+}
+
+// Unique identifier for the connection.
+func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) TunnelIdentifier() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v NetworkVirtualApplianceConnectionPropertiesResponse) *float64 { return v.TunnelIdentifier }).(pulumi.Float64PtrOutput)
+}
+
+// Network Profile containing configurations for Public and Private NIC.
+type NetworkVirtualAppliancePropertiesFormatNetworkProfile struct {
+ NetworkInterfaceConfigurations []VirtualApplianceNetworkInterfaceConfiguration `pulumi:"networkInterfaceConfigurations"`
+}
+
+// NetworkVirtualAppliancePropertiesFormatNetworkProfileInput is an input type that accepts NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs and NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput values.
+// You can construct a concrete instance of `NetworkVirtualAppliancePropertiesFormatNetworkProfileInput` via:
+//
+// NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs{...}
+type NetworkVirtualAppliancePropertiesFormatNetworkProfileInput interface {
+ pulumi.Input
+
+ ToNetworkVirtualAppliancePropertiesFormatNetworkProfileOutput() NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput
+ ToNetworkVirtualAppliancePropertiesFormatNetworkProfileOutputWithContext(context.Context) NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput
+}
+
+// Network Profile containing configurations for Public and Private NIC.
+type NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs struct {
+ NetworkInterfaceConfigurations VirtualApplianceNetworkInterfaceConfigurationArrayInput `pulumi:"networkInterfaceConfigurations"`
+}
+
+func (NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkVirtualAppliancePropertiesFormatNetworkProfile)(nil)).Elem()
+}
+
+func (i NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs) ToNetworkVirtualAppliancePropertiesFormatNetworkProfileOutput() NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput {
+ return i.ToNetworkVirtualAppliancePropertiesFormatNetworkProfileOutputWithContext(context.Background())
+}
+
+func (i NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs) ToNetworkVirtualAppliancePropertiesFormatNetworkProfileOutputWithContext(ctx context.Context) NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput)
+}
+
+func (i NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs) ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput() NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput {
+ return i.ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(context.Background())
+}
+
+func (i NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs) ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput).ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(ctx)
+}
+
+// NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrInput is an input type that accepts NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs, NetworkVirtualAppliancePropertiesFormatNetworkProfilePtr and NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput values.
+// You can construct a concrete instance of `NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrInput` via:
+//
+// NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs{...}
+//
+// or:
+//
+// nil
+type NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrInput interface {
+ pulumi.Input
+
+ ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput() NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput
+ ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(context.Context) NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput
+}
+
+type networkVirtualAppliancePropertiesFormatNetworkProfilePtrType NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs
+
+func NetworkVirtualAppliancePropertiesFormatNetworkProfilePtr(v *NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs) NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrInput {
+ return (*networkVirtualAppliancePropertiesFormatNetworkProfilePtrType)(v)
+}
+
+func (*networkVirtualAppliancePropertiesFormatNetworkProfilePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkVirtualAppliancePropertiesFormatNetworkProfile)(nil)).Elem()
+}
+
+func (i *networkVirtualAppliancePropertiesFormatNetworkProfilePtrType) ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput() NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput {
+ return i.ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(context.Background())
+}
+
+func (i *networkVirtualAppliancePropertiesFormatNetworkProfilePtrType) ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput)
+}
+
+// Network Profile containing configurations for Public and Private NIC.
+type NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput struct{ *pulumi.OutputState }
+
+func (NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkVirtualAppliancePropertiesFormatNetworkProfile)(nil)).Elem()
+}
+
+func (o NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput) ToNetworkVirtualAppliancePropertiesFormatNetworkProfileOutput() NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput {
+ return o
+}
+
+func (o NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput) ToNetworkVirtualAppliancePropertiesFormatNetworkProfileOutputWithContext(ctx context.Context) NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput {
+ return o
+}
+
+func (o NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput) ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput() NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput {
+ return o.ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(context.Background())
+}
+
+func (o NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput) ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v NetworkVirtualAppliancePropertiesFormatNetworkProfile) *NetworkVirtualAppliancePropertiesFormatNetworkProfile {
+ return &v
+ }).(NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput)
+}
+
+func (o NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput) NetworkInterfaceConfigurations() VirtualApplianceNetworkInterfaceConfigurationArrayOutput {
+ return o.ApplyT(func(v NetworkVirtualAppliancePropertiesFormatNetworkProfile) []VirtualApplianceNetworkInterfaceConfiguration {
+ return v.NetworkInterfaceConfigurations
+ }).(VirtualApplianceNetworkInterfaceConfigurationArrayOutput)
+}
+
+type NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput struct{ *pulumi.OutputState }
+
+func (NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkVirtualAppliancePropertiesFormatNetworkProfile)(nil)).Elem()
}
-func (o NatRuleConditionResponseOutput) ToNatRuleConditionResponseOutput() NatRuleConditionResponseOutput {
+func (o NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput) ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput() NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput {
return o
}
-func (o NatRuleConditionResponseOutput) ToNatRuleConditionResponseOutputWithContext(ctx context.Context) NatRuleConditionResponseOutput {
+func (o NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput) ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput {
return o
}
-// Description of the rule condition.
-func (o NatRuleConditionResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatRuleConditionResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput) Elem() NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput {
+ return o.ApplyT(func(v *NetworkVirtualAppliancePropertiesFormatNetworkProfile) NetworkVirtualAppliancePropertiesFormatNetworkProfile {
+ if v != nil {
+ return *v
+ }
+ var ret NetworkVirtualAppliancePropertiesFormatNetworkProfile
+ return ret
+ }).(NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput)
}
-// List of destination IP addresses or Service Tags.
-func (o NatRuleConditionResponseOutput) DestinationAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleConditionResponse) []string { return v.DestinationAddresses }).(pulumi.StringArrayOutput)
+func (o NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput) NetworkInterfaceConfigurations() VirtualApplianceNetworkInterfaceConfigurationArrayOutput {
+ return o.ApplyT(func(v *NetworkVirtualAppliancePropertiesFormatNetworkProfile) []VirtualApplianceNetworkInterfaceConfiguration {
+ if v == nil {
+ return nil
+ }
+ return v.NetworkInterfaceConfigurations
+ }).(VirtualApplianceNetworkInterfaceConfigurationArrayOutput)
}
-// List of destination ports.
-func (o NatRuleConditionResponseOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleConditionResponse) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
+// Network Profile containing configurations for Public and Private NIC.
+type NetworkVirtualAppliancePropertiesFormatResponseNetworkProfile struct {
+ NetworkInterfaceConfigurations []VirtualApplianceNetworkInterfaceConfigurationResponse `pulumi:"networkInterfaceConfigurations"`
}
-// Array of FirewallPolicyRuleConditionNetworkProtocols.
-func (o NatRuleConditionResponseOutput) IpProtocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleConditionResponse) []string { return v.IpProtocols }).(pulumi.StringArrayOutput)
-}
+// Network Profile containing configurations for Public and Private NIC.
+type NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput struct{ *pulumi.OutputState }
-// Name of the rule condition.
-func (o NatRuleConditionResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatRuleConditionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NetworkVirtualAppliancePropertiesFormatResponseNetworkProfile)(nil)).Elem()
}
-// Rule Condition Type.
-// Expected value is 'NatRuleCondition'.
-func (o NatRuleConditionResponseOutput) RuleConditionType() pulumi.StringOutput {
- return o.ApplyT(func(v NatRuleConditionResponse) string { return v.RuleConditionType }).(pulumi.StringOutput)
+func (o NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput) ToNetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput() NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput {
+ return o
}
-// List of source IP addresses for this rule.
-func (o NatRuleConditionResponseOutput) SourceAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleConditionResponse) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
+func (o NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput) ToNetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutputWithContext(ctx context.Context) NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput {
+ return o
}
-// List of source IpGroups for this rule.
-func (o NatRuleConditionResponseOutput) SourceIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleConditionResponse) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
+func (o NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput) NetworkInterfaceConfigurations() VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v NetworkVirtualAppliancePropertiesFormatResponseNetworkProfile) []VirtualApplianceNetworkInterfaceConfigurationResponse {
+ return v.NetworkInterfaceConfigurations
+ }).(VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput)
}
-type NatRuleConditionResponsePtrOutput struct{ *pulumi.OutputState }
+type NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput struct{ *pulumi.OutputState }
-func (NatRuleConditionResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NatRuleConditionResponse)(nil)).Elem()
+func (NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NetworkVirtualAppliancePropertiesFormatResponseNetworkProfile)(nil)).Elem()
}
-func (o NatRuleConditionResponsePtrOutput) ToNatRuleConditionResponsePtrOutput() NatRuleConditionResponsePtrOutput {
+func (o NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput) ToNetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput() NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput {
return o
}
-func (o NatRuleConditionResponsePtrOutput) ToNatRuleConditionResponsePtrOutputWithContext(ctx context.Context) NatRuleConditionResponsePtrOutput {
+func (o NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput) ToNetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput {
return o
}
-func (o NatRuleConditionResponsePtrOutput) Elem() NatRuleConditionResponseOutput {
- return o.ApplyT(func(v *NatRuleConditionResponse) NatRuleConditionResponse {
+func (o NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput) Elem() NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput {
+ return o.ApplyT(func(v *NetworkVirtualAppliancePropertiesFormatResponseNetworkProfile) NetworkVirtualAppliancePropertiesFormatResponseNetworkProfile {
if v != nil {
return *v
}
- var ret NatRuleConditionResponse
+ var ret NetworkVirtualAppliancePropertiesFormatResponseNetworkProfile
return ret
- }).(NatRuleConditionResponseOutput)
+ }).(NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput)
}
-// Description of the rule condition.
-func (o NatRuleConditionResponsePtrOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatRuleConditionResponse) *string {
+func (o NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput) NetworkInterfaceConfigurations() VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v *NetworkVirtualAppliancePropertiesFormatResponseNetworkProfile) []VirtualApplianceNetworkInterfaceConfigurationResponse {
if v == nil {
return nil
}
- return v.Description
- }).(pulumi.StringPtrOutput)
+ return v.NetworkInterfaceConfigurations
+ }).(VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput)
}
-// List of destination IP addresses or Service Tags.
-func (o NatRuleConditionResponsePtrOutput) DestinationAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NatRuleConditionResponse) []string {
- if v == nil {
- return nil
- }
- return v.DestinationAddresses
- }).(pulumi.StringArrayOutput)
+// The NSP logging configuration properties.
+type NspLoggingConfigurationProperties struct {
+ // The log categories to enable in the NSP logging configuration.
+ EnabledLogCategories []string `pulumi:"enabledLogCategories"`
+ // The version of the NSP logging configuration.
+ Version *string `pulumi:"version"`
}
-// List of destination ports.
-func (o NatRuleConditionResponsePtrOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NatRuleConditionResponse) []string {
- if v == nil {
- return nil
- }
- return v.DestinationPorts
- }).(pulumi.StringArrayOutput)
+// NspLoggingConfigurationPropertiesInput is an input type that accepts NspLoggingConfigurationPropertiesArgs and NspLoggingConfigurationPropertiesOutput values.
+// You can construct a concrete instance of `NspLoggingConfigurationPropertiesInput` via:
+//
+// NspLoggingConfigurationPropertiesArgs{...}
+type NspLoggingConfigurationPropertiesInput interface {
+ pulumi.Input
+
+ ToNspLoggingConfigurationPropertiesOutput() NspLoggingConfigurationPropertiesOutput
+ ToNspLoggingConfigurationPropertiesOutputWithContext(context.Context) NspLoggingConfigurationPropertiesOutput
}
-// Array of FirewallPolicyRuleConditionNetworkProtocols.
-func (o NatRuleConditionResponsePtrOutput) IpProtocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NatRuleConditionResponse) []string {
- if v == nil {
- return nil
- }
- return v.IpProtocols
- }).(pulumi.StringArrayOutput)
+// The NSP logging configuration properties.
+type NspLoggingConfigurationPropertiesArgs struct {
+ // The log categories to enable in the NSP logging configuration.
+ EnabledLogCategories pulumi.StringArrayInput `pulumi:"enabledLogCategories"`
+ // The version of the NSP logging configuration.
+ Version pulumi.StringPtrInput `pulumi:"version"`
}
-// Name of the rule condition.
-func (o NatRuleConditionResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatRuleConditionResponse) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+func (NspLoggingConfigurationPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*NspLoggingConfigurationProperties)(nil)).Elem()
}
-// Rule Condition Type.
-// Expected value is 'NatRuleCondition'.
-func (o NatRuleConditionResponsePtrOutput) RuleConditionType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NatRuleConditionResponse) *string {
- if v == nil {
- return nil
- }
- return &v.RuleConditionType
- }).(pulumi.StringPtrOutput)
+func (i NspLoggingConfigurationPropertiesArgs) ToNspLoggingConfigurationPropertiesOutput() NspLoggingConfigurationPropertiesOutput {
+ return i.ToNspLoggingConfigurationPropertiesOutputWithContext(context.Background())
}
-// List of source IP addresses for this rule.
-func (o NatRuleConditionResponsePtrOutput) SourceAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NatRuleConditionResponse) []string {
- if v == nil {
- return nil
- }
- return v.SourceAddresses
- }).(pulumi.StringArrayOutput)
+func (i NspLoggingConfigurationPropertiesArgs) ToNspLoggingConfigurationPropertiesOutputWithContext(ctx context.Context) NspLoggingConfigurationPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NspLoggingConfigurationPropertiesOutput)
}
-// List of source IpGroups for this rule.
-func (o NatRuleConditionResponsePtrOutput) SourceIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NatRuleConditionResponse) []string {
- if v == nil {
- return nil
- }
- return v.SourceIpGroups
- }).(pulumi.StringArrayOutput)
+func (i NspLoggingConfigurationPropertiesArgs) ToNspLoggingConfigurationPropertiesPtrOutput() NspLoggingConfigurationPropertiesPtrOutput {
+ return i.ToNspLoggingConfigurationPropertiesPtrOutputWithContext(context.Background())
}
-// Individual port mappings for inbound NAT rule created for backend pool.
-type NatRulePortMappingResponse struct {
- // Backend port.
- BackendPort *int `pulumi:"backendPort"`
- // Frontend port.
- FrontendPort *int `pulumi:"frontendPort"`
- // Name of inbound NAT rule.
- InboundNatRuleName *string `pulumi:"inboundNatRuleName"`
+func (i NspLoggingConfigurationPropertiesArgs) ToNspLoggingConfigurationPropertiesPtrOutputWithContext(ctx context.Context) NspLoggingConfigurationPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NspLoggingConfigurationPropertiesOutput).ToNspLoggingConfigurationPropertiesPtrOutputWithContext(ctx)
}
-// Individual port mappings for inbound NAT rule created for backend pool.
-type NatRulePortMappingResponseOutput struct{ *pulumi.OutputState }
+// NspLoggingConfigurationPropertiesPtrInput is an input type that accepts NspLoggingConfigurationPropertiesArgs, NspLoggingConfigurationPropertiesPtr and NspLoggingConfigurationPropertiesPtrOutput values.
+// You can construct a concrete instance of `NspLoggingConfigurationPropertiesPtrInput` via:
+//
+// NspLoggingConfigurationPropertiesArgs{...}
+//
+// or:
+//
+// nil
+type NspLoggingConfigurationPropertiesPtrInput interface {
+ pulumi.Input
-func (NatRulePortMappingResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NatRulePortMappingResponse)(nil)).Elem()
+ ToNspLoggingConfigurationPropertiesPtrOutput() NspLoggingConfigurationPropertiesPtrOutput
+ ToNspLoggingConfigurationPropertiesPtrOutputWithContext(context.Context) NspLoggingConfigurationPropertiesPtrOutput
}
-func (o NatRulePortMappingResponseOutput) ToNatRulePortMappingResponseOutput() NatRulePortMappingResponseOutput {
- return o
-}
+type nspLoggingConfigurationPropertiesPtrType NspLoggingConfigurationPropertiesArgs
-func (o NatRulePortMappingResponseOutput) ToNatRulePortMappingResponseOutputWithContext(ctx context.Context) NatRulePortMappingResponseOutput {
- return o
+func NspLoggingConfigurationPropertiesPtr(v *NspLoggingConfigurationPropertiesArgs) NspLoggingConfigurationPropertiesPtrInput {
+ return (*nspLoggingConfigurationPropertiesPtrType)(v)
}
-// Backend port.
-func (o NatRulePortMappingResponseOutput) BackendPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v NatRulePortMappingResponse) *int { return v.BackendPort }).(pulumi.IntPtrOutput)
+func (*nspLoggingConfigurationPropertiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**NspLoggingConfigurationProperties)(nil)).Elem()
}
-// Frontend port.
-func (o NatRulePortMappingResponseOutput) FrontendPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v NatRulePortMappingResponse) *int { return v.FrontendPort }).(pulumi.IntPtrOutput)
+func (i *nspLoggingConfigurationPropertiesPtrType) ToNspLoggingConfigurationPropertiesPtrOutput() NspLoggingConfigurationPropertiesPtrOutput {
+ return i.ToNspLoggingConfigurationPropertiesPtrOutputWithContext(context.Background())
}
-// Name of inbound NAT rule.
-func (o NatRulePortMappingResponseOutput) InboundNatRuleName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatRulePortMappingResponse) *string { return v.InboundNatRuleName }).(pulumi.StringPtrOutput)
+func (i *nspLoggingConfigurationPropertiesPtrType) ToNspLoggingConfigurationPropertiesPtrOutputWithContext(ctx context.Context) NspLoggingConfigurationPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(NspLoggingConfigurationPropertiesPtrOutput)
}
-type NatRulePortMappingResponseArrayOutput struct{ *pulumi.OutputState }
+// The NSP logging configuration properties.
+type NspLoggingConfigurationPropertiesOutput struct{ *pulumi.OutputState }
-func (NatRulePortMappingResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NatRulePortMappingResponse)(nil)).Elem()
+func (NspLoggingConfigurationPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NspLoggingConfigurationProperties)(nil)).Elem()
}
-func (o NatRulePortMappingResponseArrayOutput) ToNatRulePortMappingResponseArrayOutput() NatRulePortMappingResponseArrayOutput {
+func (o NspLoggingConfigurationPropertiesOutput) ToNspLoggingConfigurationPropertiesOutput() NspLoggingConfigurationPropertiesOutput {
return o
}
-func (o NatRulePortMappingResponseArrayOutput) ToNatRulePortMappingResponseArrayOutputWithContext(ctx context.Context) NatRulePortMappingResponseArrayOutput {
+func (o NspLoggingConfigurationPropertiesOutput) ToNspLoggingConfigurationPropertiesOutputWithContext(ctx context.Context) NspLoggingConfigurationPropertiesOutput {
return o
}
-func (o NatRulePortMappingResponseArrayOutput) Index(i pulumi.IntInput) NatRulePortMappingResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) NatRulePortMappingResponse {
- return vs[0].([]NatRulePortMappingResponse)[vs[1].(int)]
- }).(NatRulePortMappingResponseOutput)
+func (o NspLoggingConfigurationPropertiesOutput) ToNspLoggingConfigurationPropertiesPtrOutput() NspLoggingConfigurationPropertiesPtrOutput {
+ return o.ToNspLoggingConfigurationPropertiesPtrOutputWithContext(context.Background())
}
-// Rule of type nat.
-type NatRuleResponse struct {
- // Description of the rule.
- Description *string `pulumi:"description"`
- // List of destination IP addresses or Service Tags.
- DestinationAddresses []string `pulumi:"destinationAddresses"`
- // List of destination ports.
- DestinationPorts []string `pulumi:"destinationPorts"`
- // Array of FirewallPolicyRuleNetworkProtocols.
- IpProtocols []string `pulumi:"ipProtocols"`
- // Name of the rule.
- Name *string `pulumi:"name"`
- // Rule Type.
- // Expected value is 'NatRule'.
- RuleType string `pulumi:"ruleType"`
- // List of source IP addresses for this rule.
- SourceAddresses []string `pulumi:"sourceAddresses"`
- // List of source IpGroups for this rule.
- SourceIpGroups []string `pulumi:"sourceIpGroups"`
- // The translated address for this NAT rule.
- TranslatedAddress *string `pulumi:"translatedAddress"`
- // The translated FQDN for this NAT rule.
- TranslatedFqdn *string `pulumi:"translatedFqdn"`
- // The translated port for this NAT rule.
- TranslatedPort *string `pulumi:"translatedPort"`
+func (o NspLoggingConfigurationPropertiesOutput) ToNspLoggingConfigurationPropertiesPtrOutputWithContext(ctx context.Context) NspLoggingConfigurationPropertiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v NspLoggingConfigurationProperties) *NspLoggingConfigurationProperties {
+ return &v
+ }).(NspLoggingConfigurationPropertiesPtrOutput)
}
-// Rule of type nat.
-type NatRuleResponseOutput struct{ *pulumi.OutputState }
+// The log categories to enable in the NSP logging configuration.
+func (o NspLoggingConfigurationPropertiesOutput) EnabledLogCategories() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NspLoggingConfigurationProperties) []string { return v.EnabledLogCategories }).(pulumi.StringArrayOutput)
+}
-func (NatRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NatRuleResponse)(nil)).Elem()
+// The version of the NSP logging configuration.
+func (o NspLoggingConfigurationPropertiesOutput) Version() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NspLoggingConfigurationProperties) *string { return v.Version }).(pulumi.StringPtrOutput)
}
-func (o NatRuleResponseOutput) ToNatRuleResponseOutput() NatRuleResponseOutput {
- return o
+type NspLoggingConfigurationPropertiesPtrOutput struct{ *pulumi.OutputState }
+
+func (NspLoggingConfigurationPropertiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**NspLoggingConfigurationProperties)(nil)).Elem()
}
-func (o NatRuleResponseOutput) ToNatRuleResponseOutputWithContext(ctx context.Context) NatRuleResponseOutput {
+func (o NspLoggingConfigurationPropertiesPtrOutput) ToNspLoggingConfigurationPropertiesPtrOutput() NspLoggingConfigurationPropertiesPtrOutput {
return o
}
-// Description of the rule.
-func (o NatRuleResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatRuleResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o NspLoggingConfigurationPropertiesPtrOutput) ToNspLoggingConfigurationPropertiesPtrOutputWithContext(ctx context.Context) NspLoggingConfigurationPropertiesPtrOutput {
+ return o
}
-// List of destination IP addresses or Service Tags.
-func (o NatRuleResponseOutput) DestinationAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleResponse) []string { return v.DestinationAddresses }).(pulumi.StringArrayOutput)
+func (o NspLoggingConfigurationPropertiesPtrOutput) Elem() NspLoggingConfigurationPropertiesOutput {
+ return o.ApplyT(func(v *NspLoggingConfigurationProperties) NspLoggingConfigurationProperties {
+ if v != nil {
+ return *v
+ }
+ var ret NspLoggingConfigurationProperties
+ return ret
+ }).(NspLoggingConfigurationPropertiesOutput)
}
-// List of destination ports.
-func (o NatRuleResponseOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleResponse) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
+// The log categories to enable in the NSP logging configuration.
+func (o NspLoggingConfigurationPropertiesPtrOutput) EnabledLogCategories() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *NspLoggingConfigurationProperties) []string {
+ if v == nil {
+ return nil
+ }
+ return v.EnabledLogCategories
+ }).(pulumi.StringArrayOutput)
}
-// Array of FirewallPolicyRuleNetworkProtocols.
-func (o NatRuleResponseOutput) IpProtocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleResponse) []string { return v.IpProtocols }).(pulumi.StringArrayOutput)
+// The version of the NSP logging configuration.
+func (o NspLoggingConfigurationPropertiesPtrOutput) Version() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *NspLoggingConfigurationProperties) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Version
+ }).(pulumi.StringPtrOutput)
}
-// Name of the rule.
-func (o NatRuleResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The NSP logging configuration properties.
+type NspLoggingConfigurationPropertiesResponse struct {
+ // The log categories to enable in the NSP logging configuration.
+ EnabledLogCategories []string `pulumi:"enabledLogCategories"`
+ // The version of the NSP logging configuration.
+ Version *string `pulumi:"version"`
}
-// Rule Type.
-// Expected value is 'NatRule'.
-func (o NatRuleResponseOutput) RuleType() pulumi.StringOutput {
- return o.ApplyT(func(v NatRuleResponse) string { return v.RuleType }).(pulumi.StringOutput)
-}
+// The NSP logging configuration properties.
+type NspLoggingConfigurationPropertiesResponseOutput struct{ *pulumi.OutputState }
-// List of source IP addresses for this rule.
-func (o NatRuleResponseOutput) SourceAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleResponse) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
+func (NspLoggingConfigurationPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*NspLoggingConfigurationPropertiesResponse)(nil)).Elem()
}
-// List of source IpGroups for this rule.
-func (o NatRuleResponseOutput) SourceIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NatRuleResponse) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
+func (o NspLoggingConfigurationPropertiesResponseOutput) ToNspLoggingConfigurationPropertiesResponseOutput() NspLoggingConfigurationPropertiesResponseOutput {
+ return o
}
-// The translated address for this NAT rule.
-func (o NatRuleResponseOutput) TranslatedAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatRuleResponse) *string { return v.TranslatedAddress }).(pulumi.StringPtrOutput)
+func (o NspLoggingConfigurationPropertiesResponseOutput) ToNspLoggingConfigurationPropertiesResponseOutputWithContext(ctx context.Context) NspLoggingConfigurationPropertiesResponseOutput {
+ return o
}
-// The translated FQDN for this NAT rule.
-func (o NatRuleResponseOutput) TranslatedFqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatRuleResponse) *string { return v.TranslatedFqdn }).(pulumi.StringPtrOutput)
+// The log categories to enable in the NSP logging configuration.
+func (o NspLoggingConfigurationPropertiesResponseOutput) EnabledLogCategories() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v NspLoggingConfigurationPropertiesResponse) []string { return v.EnabledLogCategories }).(pulumi.StringArrayOutput)
}
-// The translated port for this NAT rule.
-func (o NatRuleResponseOutput) TranslatedPort() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NatRuleResponse) *string { return v.TranslatedPort }).(pulumi.StringPtrOutput)
+// The version of the NSP logging configuration.
+func (o NspLoggingConfigurationPropertiesResponseOutput) Version() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v NspLoggingConfigurationPropertiesResponse) *string { return v.Version }).(pulumi.StringPtrOutput)
}
-// DNS settings of a network interface.
-type NetworkInterfaceDnsSettings struct {
- // List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
- DnsServers []string `pulumi:"dnsServers"`
- // Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
- InternalDnsNameLabel *string `pulumi:"internalDnsNameLabel"`
+// Office365 breakout categories.
+type O365BreakOutCategoryPolicies struct {
+ // Flag to control allow category.
+ Allow *bool `pulumi:"allow"`
+ // Flag to control default category.
+ Default *bool `pulumi:"default"`
+ // Flag to control optimize category.
+ Optimize *bool `pulumi:"optimize"`
}
-// NetworkInterfaceDnsSettingsInput is an input type that accepts NetworkInterfaceDnsSettingsArgs and NetworkInterfaceDnsSettingsOutput values.
-// You can construct a concrete instance of `NetworkInterfaceDnsSettingsInput` via:
+// O365BreakOutCategoryPoliciesInput is an input type that accepts O365BreakOutCategoryPoliciesArgs and O365BreakOutCategoryPoliciesOutput values.
+// You can construct a concrete instance of `O365BreakOutCategoryPoliciesInput` via:
//
-// NetworkInterfaceDnsSettingsArgs{...}
-type NetworkInterfaceDnsSettingsInput interface {
+// O365BreakOutCategoryPoliciesArgs{...}
+type O365BreakOutCategoryPoliciesInput interface {
pulumi.Input
- ToNetworkInterfaceDnsSettingsOutput() NetworkInterfaceDnsSettingsOutput
- ToNetworkInterfaceDnsSettingsOutputWithContext(context.Context) NetworkInterfaceDnsSettingsOutput
+ ToO365BreakOutCategoryPoliciesOutput() O365BreakOutCategoryPoliciesOutput
+ ToO365BreakOutCategoryPoliciesOutputWithContext(context.Context) O365BreakOutCategoryPoliciesOutput
}
-// DNS settings of a network interface.
-type NetworkInterfaceDnsSettingsArgs struct {
- // List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
- DnsServers pulumi.StringArrayInput `pulumi:"dnsServers"`
- // Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
- InternalDnsNameLabel pulumi.StringPtrInput `pulumi:"internalDnsNameLabel"`
+// Office365 breakout categories.
+type O365BreakOutCategoryPoliciesArgs struct {
+ // Flag to control allow category.
+ Allow pulumi.BoolPtrInput `pulumi:"allow"`
+ // Flag to control default category.
+ Default pulumi.BoolPtrInput `pulumi:"default"`
+ // Flag to control optimize category.
+ Optimize pulumi.BoolPtrInput `pulumi:"optimize"`
}
-func (NetworkInterfaceDnsSettingsArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkInterfaceDnsSettings)(nil)).Elem()
+func (O365BreakOutCategoryPoliciesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*O365BreakOutCategoryPolicies)(nil)).Elem()
}
-func (i NetworkInterfaceDnsSettingsArgs) ToNetworkInterfaceDnsSettingsOutput() NetworkInterfaceDnsSettingsOutput {
- return i.ToNetworkInterfaceDnsSettingsOutputWithContext(context.Background())
+func (i O365BreakOutCategoryPoliciesArgs) ToO365BreakOutCategoryPoliciesOutput() O365BreakOutCategoryPoliciesOutput {
+ return i.ToO365BreakOutCategoryPoliciesOutputWithContext(context.Background())
}
-func (i NetworkInterfaceDnsSettingsArgs) ToNetworkInterfaceDnsSettingsOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceDnsSettingsOutput)
+func (i O365BreakOutCategoryPoliciesArgs) ToO365BreakOutCategoryPoliciesOutputWithContext(ctx context.Context) O365BreakOutCategoryPoliciesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(O365BreakOutCategoryPoliciesOutput)
}
-func (i NetworkInterfaceDnsSettingsArgs) ToNetworkInterfaceDnsSettingsPtrOutput() NetworkInterfaceDnsSettingsPtrOutput {
- return i.ToNetworkInterfaceDnsSettingsPtrOutputWithContext(context.Background())
+func (i O365BreakOutCategoryPoliciesArgs) ToO365BreakOutCategoryPoliciesPtrOutput() O365BreakOutCategoryPoliciesPtrOutput {
+ return i.ToO365BreakOutCategoryPoliciesPtrOutputWithContext(context.Background())
}
-func (i NetworkInterfaceDnsSettingsArgs) ToNetworkInterfaceDnsSettingsPtrOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceDnsSettingsOutput).ToNetworkInterfaceDnsSettingsPtrOutputWithContext(ctx)
+func (i O365BreakOutCategoryPoliciesArgs) ToO365BreakOutCategoryPoliciesPtrOutputWithContext(ctx context.Context) O365BreakOutCategoryPoliciesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(O365BreakOutCategoryPoliciesOutput).ToO365BreakOutCategoryPoliciesPtrOutputWithContext(ctx)
}
-// NetworkInterfaceDnsSettingsPtrInput is an input type that accepts NetworkInterfaceDnsSettingsArgs, NetworkInterfaceDnsSettingsPtr and NetworkInterfaceDnsSettingsPtrOutput values.
-// You can construct a concrete instance of `NetworkInterfaceDnsSettingsPtrInput` via:
+// O365BreakOutCategoryPoliciesPtrInput is an input type that accepts O365BreakOutCategoryPoliciesArgs, O365BreakOutCategoryPoliciesPtr and O365BreakOutCategoryPoliciesPtrOutput values.
+// You can construct a concrete instance of `O365BreakOutCategoryPoliciesPtrInput` via:
//
-// NetworkInterfaceDnsSettingsArgs{...}
+// O365BreakOutCategoryPoliciesArgs{...}
//
// or:
//
// nil
-type NetworkInterfaceDnsSettingsPtrInput interface {
+type O365BreakOutCategoryPoliciesPtrInput interface {
pulumi.Input
- ToNetworkInterfaceDnsSettingsPtrOutput() NetworkInterfaceDnsSettingsPtrOutput
- ToNetworkInterfaceDnsSettingsPtrOutputWithContext(context.Context) NetworkInterfaceDnsSettingsPtrOutput
+ ToO365BreakOutCategoryPoliciesPtrOutput() O365BreakOutCategoryPoliciesPtrOutput
+ ToO365BreakOutCategoryPoliciesPtrOutputWithContext(context.Context) O365BreakOutCategoryPoliciesPtrOutput
}
-type networkInterfaceDnsSettingsPtrType NetworkInterfaceDnsSettingsArgs
+type o365breakOutCategoryPoliciesPtrType O365BreakOutCategoryPoliciesArgs
-func NetworkInterfaceDnsSettingsPtr(v *NetworkInterfaceDnsSettingsArgs) NetworkInterfaceDnsSettingsPtrInput {
- return (*networkInterfaceDnsSettingsPtrType)(v)
+func O365BreakOutCategoryPoliciesPtr(v *O365BreakOutCategoryPoliciesArgs) O365BreakOutCategoryPoliciesPtrInput {
+ return (*o365breakOutCategoryPoliciesPtrType)(v)
}
-func (*networkInterfaceDnsSettingsPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkInterfaceDnsSettings)(nil)).Elem()
+func (*o365breakOutCategoryPoliciesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**O365BreakOutCategoryPolicies)(nil)).Elem()
}
-func (i *networkInterfaceDnsSettingsPtrType) ToNetworkInterfaceDnsSettingsPtrOutput() NetworkInterfaceDnsSettingsPtrOutput {
- return i.ToNetworkInterfaceDnsSettingsPtrOutputWithContext(context.Background())
+func (i *o365breakOutCategoryPoliciesPtrType) ToO365BreakOutCategoryPoliciesPtrOutput() O365BreakOutCategoryPoliciesPtrOutput {
+ return i.ToO365BreakOutCategoryPoliciesPtrOutputWithContext(context.Background())
}
-func (i *networkInterfaceDnsSettingsPtrType) ToNetworkInterfaceDnsSettingsPtrOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceDnsSettingsPtrOutput)
+func (i *o365breakOutCategoryPoliciesPtrType) ToO365BreakOutCategoryPoliciesPtrOutputWithContext(ctx context.Context) O365BreakOutCategoryPoliciesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(O365BreakOutCategoryPoliciesPtrOutput)
}
-// DNS settings of a network interface.
-type NetworkInterfaceDnsSettingsOutput struct{ *pulumi.OutputState }
+// Office365 breakout categories.
+type O365BreakOutCategoryPoliciesOutput struct{ *pulumi.OutputState }
-func (NetworkInterfaceDnsSettingsOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkInterfaceDnsSettings)(nil)).Elem()
+func (O365BreakOutCategoryPoliciesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*O365BreakOutCategoryPolicies)(nil)).Elem()
}
-func (o NetworkInterfaceDnsSettingsOutput) ToNetworkInterfaceDnsSettingsOutput() NetworkInterfaceDnsSettingsOutput {
+func (o O365BreakOutCategoryPoliciesOutput) ToO365BreakOutCategoryPoliciesOutput() O365BreakOutCategoryPoliciesOutput {
return o
}
-func (o NetworkInterfaceDnsSettingsOutput) ToNetworkInterfaceDnsSettingsOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsOutput {
+func (o O365BreakOutCategoryPoliciesOutput) ToO365BreakOutCategoryPoliciesOutputWithContext(ctx context.Context) O365BreakOutCategoryPoliciesOutput {
return o
}
-func (o NetworkInterfaceDnsSettingsOutput) ToNetworkInterfaceDnsSettingsPtrOutput() NetworkInterfaceDnsSettingsPtrOutput {
- return o.ToNetworkInterfaceDnsSettingsPtrOutputWithContext(context.Background())
+func (o O365BreakOutCategoryPoliciesOutput) ToO365BreakOutCategoryPoliciesPtrOutput() O365BreakOutCategoryPoliciesPtrOutput {
+ return o.ToO365BreakOutCategoryPoliciesPtrOutputWithContext(context.Background())
}
-func (o NetworkInterfaceDnsSettingsOutput) ToNetworkInterfaceDnsSettingsPtrOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v NetworkInterfaceDnsSettings) *NetworkInterfaceDnsSettings {
+func (o O365BreakOutCategoryPoliciesOutput) ToO365BreakOutCategoryPoliciesPtrOutputWithContext(ctx context.Context) O365BreakOutCategoryPoliciesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v O365BreakOutCategoryPolicies) *O365BreakOutCategoryPolicies {
return &v
- }).(NetworkInterfaceDnsSettingsPtrOutput)
+ }).(O365BreakOutCategoryPoliciesPtrOutput)
}
-// List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
-func (o NetworkInterfaceDnsSettingsOutput) DnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceDnsSettings) []string { return v.DnsServers }).(pulumi.StringArrayOutput)
+// Flag to control allow category.
+func (o O365BreakOutCategoryPoliciesOutput) Allow() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v O365BreakOutCategoryPolicies) *bool { return v.Allow }).(pulumi.BoolPtrOutput)
}
-// Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
-func (o NetworkInterfaceDnsSettingsOutput) InternalDnsNameLabel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceDnsSettings) *string { return v.InternalDnsNameLabel }).(pulumi.StringPtrOutput)
+// Flag to control default category.
+func (o O365BreakOutCategoryPoliciesOutput) Default() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v O365BreakOutCategoryPolicies) *bool { return v.Default }).(pulumi.BoolPtrOutput)
}
-type NetworkInterfaceDnsSettingsPtrOutput struct{ *pulumi.OutputState }
+// Flag to control optimize category.
+func (o O365BreakOutCategoryPoliciesOutput) Optimize() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v O365BreakOutCategoryPolicies) *bool { return v.Optimize }).(pulumi.BoolPtrOutput)
+}
-func (NetworkInterfaceDnsSettingsPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkInterfaceDnsSettings)(nil)).Elem()
+type O365BreakOutCategoryPoliciesPtrOutput struct{ *pulumi.OutputState }
+
+func (O365BreakOutCategoryPoliciesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**O365BreakOutCategoryPolicies)(nil)).Elem()
}
-func (o NetworkInterfaceDnsSettingsPtrOutput) ToNetworkInterfaceDnsSettingsPtrOutput() NetworkInterfaceDnsSettingsPtrOutput {
+func (o O365BreakOutCategoryPoliciesPtrOutput) ToO365BreakOutCategoryPoliciesPtrOutput() O365BreakOutCategoryPoliciesPtrOutput {
return o
}
-func (o NetworkInterfaceDnsSettingsPtrOutput) ToNetworkInterfaceDnsSettingsPtrOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsPtrOutput {
+func (o O365BreakOutCategoryPoliciesPtrOutput) ToO365BreakOutCategoryPoliciesPtrOutputWithContext(ctx context.Context) O365BreakOutCategoryPoliciesPtrOutput {
return o
}
-func (o NetworkInterfaceDnsSettingsPtrOutput) Elem() NetworkInterfaceDnsSettingsOutput {
- return o.ApplyT(func(v *NetworkInterfaceDnsSettings) NetworkInterfaceDnsSettings {
+func (o O365BreakOutCategoryPoliciesPtrOutput) Elem() O365BreakOutCategoryPoliciesOutput {
+ return o.ApplyT(func(v *O365BreakOutCategoryPolicies) O365BreakOutCategoryPolicies {
if v != nil {
return *v
}
- var ret NetworkInterfaceDnsSettings
+ var ret O365BreakOutCategoryPolicies
return ret
- }).(NetworkInterfaceDnsSettingsOutput)
+ }).(O365BreakOutCategoryPoliciesOutput)
}
-// List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
-func (o NetworkInterfaceDnsSettingsPtrOutput) DnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkInterfaceDnsSettings) []string {
+// Flag to control allow category.
+func (o O365BreakOutCategoryPoliciesPtrOutput) Allow() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *O365BreakOutCategoryPolicies) *bool {
if v == nil {
return nil
}
- return v.DnsServers
- }).(pulumi.StringArrayOutput)
+ return v.Allow
+ }).(pulumi.BoolPtrOutput)
}
-// Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
-func (o NetworkInterfaceDnsSettingsPtrOutput) InternalDnsNameLabel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceDnsSettings) *string {
+// Flag to control default category.
+func (o O365BreakOutCategoryPoliciesPtrOutput) Default() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *O365BreakOutCategoryPolicies) *bool {
if v == nil {
return nil
}
- return v.InternalDnsNameLabel
- }).(pulumi.StringPtrOutput)
+ return v.Default
+ }).(pulumi.BoolPtrOutput)
}
-// DNS settings of a network interface.
-type NetworkInterfaceDnsSettingsResponse struct {
- // If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.
- AppliedDnsServers []string `pulumi:"appliedDnsServers"`
- // List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
- DnsServers []string `pulumi:"dnsServers"`
- // Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
- InternalDnsNameLabel *string `pulumi:"internalDnsNameLabel"`
- // Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
- InternalDomainNameSuffix string `pulumi:"internalDomainNameSuffix"`
- // Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
- InternalFqdn string `pulumi:"internalFqdn"`
+// Flag to control optimize category.
+func (o O365BreakOutCategoryPoliciesPtrOutput) Optimize() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *O365BreakOutCategoryPolicies) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.Optimize
+ }).(pulumi.BoolPtrOutput)
}
-// DNS settings of a network interface.
-type NetworkInterfaceDnsSettingsResponseOutput struct{ *pulumi.OutputState }
-
-func (NetworkInterfaceDnsSettingsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkInterfaceDnsSettingsResponse)(nil)).Elem()
+// Office365 breakout categories.
+type O365BreakOutCategoryPoliciesResponse struct {
+ // Flag to control allow category.
+ Allow *bool `pulumi:"allow"`
+ // Flag to control default category.
+ Default *bool `pulumi:"default"`
+ // Flag to control optimize category.
+ Optimize *bool `pulumi:"optimize"`
}
-func (o NetworkInterfaceDnsSettingsResponseOutput) ToNetworkInterfaceDnsSettingsResponseOutput() NetworkInterfaceDnsSettingsResponseOutput {
- return o
-}
+// Office365 breakout categories.
+type O365BreakOutCategoryPoliciesResponseOutput struct{ *pulumi.OutputState }
-func (o NetworkInterfaceDnsSettingsResponseOutput) ToNetworkInterfaceDnsSettingsResponseOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsResponseOutput {
- return o
+func (O365BreakOutCategoryPoliciesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*O365BreakOutCategoryPoliciesResponse)(nil)).Elem()
}
-// If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.
-func (o NetworkInterfaceDnsSettingsResponseOutput) AppliedDnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceDnsSettingsResponse) []string { return v.AppliedDnsServers }).(pulumi.StringArrayOutput)
+func (o O365BreakOutCategoryPoliciesResponseOutput) ToO365BreakOutCategoryPoliciesResponseOutput() O365BreakOutCategoryPoliciesResponseOutput {
+ return o
}
-// List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
-func (o NetworkInterfaceDnsSettingsResponseOutput) DnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceDnsSettingsResponse) []string { return v.DnsServers }).(pulumi.StringArrayOutput)
+func (o O365BreakOutCategoryPoliciesResponseOutput) ToO365BreakOutCategoryPoliciesResponseOutputWithContext(ctx context.Context) O365BreakOutCategoryPoliciesResponseOutput {
+ return o
}
-// Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
-func (o NetworkInterfaceDnsSettingsResponseOutput) InternalDnsNameLabel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceDnsSettingsResponse) *string { return v.InternalDnsNameLabel }).(pulumi.StringPtrOutput)
+// Flag to control allow category.
+func (o O365BreakOutCategoryPoliciesResponseOutput) Allow() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v O365BreakOutCategoryPoliciesResponse) *bool { return v.Allow }).(pulumi.BoolPtrOutput)
}
-// Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
-func (o NetworkInterfaceDnsSettingsResponseOutput) InternalDomainNameSuffix() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceDnsSettingsResponse) string { return v.InternalDomainNameSuffix }).(pulumi.StringOutput)
+// Flag to control default category.
+func (o O365BreakOutCategoryPoliciesResponseOutput) Default() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v O365BreakOutCategoryPoliciesResponse) *bool { return v.Default }).(pulumi.BoolPtrOutput)
}
-// Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
-func (o NetworkInterfaceDnsSettingsResponseOutput) InternalFqdn() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceDnsSettingsResponse) string { return v.InternalFqdn }).(pulumi.StringOutput)
+// Flag to control optimize category.
+func (o O365BreakOutCategoryPoliciesResponseOutput) Optimize() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v O365BreakOutCategoryPoliciesResponse) *bool { return v.Optimize }).(pulumi.BoolPtrOutput)
}
-type NetworkInterfaceDnsSettingsResponsePtrOutput struct{ *pulumi.OutputState }
+type O365BreakOutCategoryPoliciesResponsePtrOutput struct{ *pulumi.OutputState }
-func (NetworkInterfaceDnsSettingsResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkInterfaceDnsSettingsResponse)(nil)).Elem()
+func (O365BreakOutCategoryPoliciesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**O365BreakOutCategoryPoliciesResponse)(nil)).Elem()
}
-func (o NetworkInterfaceDnsSettingsResponsePtrOutput) ToNetworkInterfaceDnsSettingsResponsePtrOutput() NetworkInterfaceDnsSettingsResponsePtrOutput {
+func (o O365BreakOutCategoryPoliciesResponsePtrOutput) ToO365BreakOutCategoryPoliciesResponsePtrOutput() O365BreakOutCategoryPoliciesResponsePtrOutput {
return o
}
-func (o NetworkInterfaceDnsSettingsResponsePtrOutput) ToNetworkInterfaceDnsSettingsResponsePtrOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsResponsePtrOutput {
+func (o O365BreakOutCategoryPoliciesResponsePtrOutput) ToO365BreakOutCategoryPoliciesResponsePtrOutputWithContext(ctx context.Context) O365BreakOutCategoryPoliciesResponsePtrOutput {
return o
}
-func (o NetworkInterfaceDnsSettingsResponsePtrOutput) Elem() NetworkInterfaceDnsSettingsResponseOutput {
- return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponse) NetworkInterfaceDnsSettingsResponse {
+func (o O365BreakOutCategoryPoliciesResponsePtrOutput) Elem() O365BreakOutCategoryPoliciesResponseOutput {
+ return o.ApplyT(func(v *O365BreakOutCategoryPoliciesResponse) O365BreakOutCategoryPoliciesResponse {
if v != nil {
return *v
}
- var ret NetworkInterfaceDnsSettingsResponse
+ var ret O365BreakOutCategoryPoliciesResponse
return ret
- }).(NetworkInterfaceDnsSettingsResponseOutput)
+ }).(O365BreakOutCategoryPoliciesResponseOutput)
}
-// If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.
-func (o NetworkInterfaceDnsSettingsResponsePtrOutput) AppliedDnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponse) []string {
+// Flag to control allow category.
+func (o O365BreakOutCategoryPoliciesResponsePtrOutput) Allow() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *O365BreakOutCategoryPoliciesResponse) *bool {
if v == nil {
return nil
}
- return v.AppliedDnsServers
- }).(pulumi.StringArrayOutput)
+ return v.Allow
+ }).(pulumi.BoolPtrOutput)
}
-// List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
-func (o NetworkInterfaceDnsSettingsResponsePtrOutput) DnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponse) []string {
+// Flag to control default category.
+func (o O365BreakOutCategoryPoliciesResponsePtrOutput) Default() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *O365BreakOutCategoryPoliciesResponse) *bool {
if v == nil {
return nil
}
- return v.DnsServers
- }).(pulumi.StringArrayOutput)
+ return v.Default
+ }).(pulumi.BoolPtrOutput)
}
-// Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
-func (o NetworkInterfaceDnsSettingsResponsePtrOutput) InternalDnsNameLabel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponse) *string {
+// Flag to control optimize category.
+func (o O365BreakOutCategoryPoliciesResponsePtrOutput) Optimize() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *O365BreakOutCategoryPoliciesResponse) *bool {
if v == nil {
return nil
}
- return v.InternalDnsNameLabel
- }).(pulumi.StringPtrOutput)
+ return v.Optimize
+ }).(pulumi.BoolPtrOutput)
}
-// Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
-func (o NetworkInterfaceDnsSettingsResponsePtrOutput) InternalDomainNameSuffix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponse) *string {
+// The Office365 breakout policy.
+type O365PolicyProperties struct {
+ // Office365 breakout categories.
+ BreakOutCategories *O365BreakOutCategoryPolicies `pulumi:"breakOutCategories"`
+}
+
+// O365PolicyPropertiesInput is an input type that accepts O365PolicyPropertiesArgs and O365PolicyPropertiesOutput values.
+// You can construct a concrete instance of `O365PolicyPropertiesInput` via:
+//
+// O365PolicyPropertiesArgs{...}
+type O365PolicyPropertiesInput interface {
+ pulumi.Input
+
+ ToO365PolicyPropertiesOutput() O365PolicyPropertiesOutput
+ ToO365PolicyPropertiesOutputWithContext(context.Context) O365PolicyPropertiesOutput
+}
+
+// The Office365 breakout policy.
+type O365PolicyPropertiesArgs struct {
+ // Office365 breakout categories.
+ BreakOutCategories O365BreakOutCategoryPoliciesPtrInput `pulumi:"breakOutCategories"`
+}
+
+func (O365PolicyPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*O365PolicyProperties)(nil)).Elem()
+}
+
+func (i O365PolicyPropertiesArgs) ToO365PolicyPropertiesOutput() O365PolicyPropertiesOutput {
+ return i.ToO365PolicyPropertiesOutputWithContext(context.Background())
+}
+
+func (i O365PolicyPropertiesArgs) ToO365PolicyPropertiesOutputWithContext(ctx context.Context) O365PolicyPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(O365PolicyPropertiesOutput)
+}
+
+func (i O365PolicyPropertiesArgs) ToO365PolicyPropertiesPtrOutput() O365PolicyPropertiesPtrOutput {
+ return i.ToO365PolicyPropertiesPtrOutputWithContext(context.Background())
+}
+
+func (i O365PolicyPropertiesArgs) ToO365PolicyPropertiesPtrOutputWithContext(ctx context.Context) O365PolicyPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(O365PolicyPropertiesOutput).ToO365PolicyPropertiesPtrOutputWithContext(ctx)
+}
+
+// O365PolicyPropertiesPtrInput is an input type that accepts O365PolicyPropertiesArgs, O365PolicyPropertiesPtr and O365PolicyPropertiesPtrOutput values.
+// You can construct a concrete instance of `O365PolicyPropertiesPtrInput` via:
+//
+// O365PolicyPropertiesArgs{...}
+//
+// or:
+//
+// nil
+type O365PolicyPropertiesPtrInput interface {
+ pulumi.Input
+
+ ToO365PolicyPropertiesPtrOutput() O365PolicyPropertiesPtrOutput
+ ToO365PolicyPropertiesPtrOutputWithContext(context.Context) O365PolicyPropertiesPtrOutput
+}
+
+type o365policyPropertiesPtrType O365PolicyPropertiesArgs
+
+func O365PolicyPropertiesPtr(v *O365PolicyPropertiesArgs) O365PolicyPropertiesPtrInput {
+ return (*o365policyPropertiesPtrType)(v)
+}
+
+func (*o365policyPropertiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**O365PolicyProperties)(nil)).Elem()
+}
+
+func (i *o365policyPropertiesPtrType) ToO365PolicyPropertiesPtrOutput() O365PolicyPropertiesPtrOutput {
+ return i.ToO365PolicyPropertiesPtrOutputWithContext(context.Background())
+}
+
+func (i *o365policyPropertiesPtrType) ToO365PolicyPropertiesPtrOutputWithContext(ctx context.Context) O365PolicyPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(O365PolicyPropertiesPtrOutput)
+}
+
+// The Office365 breakout policy.
+type O365PolicyPropertiesOutput struct{ *pulumi.OutputState }
+
+func (O365PolicyPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*O365PolicyProperties)(nil)).Elem()
+}
+
+func (o O365PolicyPropertiesOutput) ToO365PolicyPropertiesOutput() O365PolicyPropertiesOutput {
+ return o
+}
+
+func (o O365PolicyPropertiesOutput) ToO365PolicyPropertiesOutputWithContext(ctx context.Context) O365PolicyPropertiesOutput {
+ return o
+}
+
+func (o O365PolicyPropertiesOutput) ToO365PolicyPropertiesPtrOutput() O365PolicyPropertiesPtrOutput {
+ return o.ToO365PolicyPropertiesPtrOutputWithContext(context.Background())
+}
+
+func (o O365PolicyPropertiesOutput) ToO365PolicyPropertiesPtrOutputWithContext(ctx context.Context) O365PolicyPropertiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v O365PolicyProperties) *O365PolicyProperties {
+ return &v
+ }).(O365PolicyPropertiesPtrOutput)
+}
+
+// Office365 breakout categories.
+func (o O365PolicyPropertiesOutput) BreakOutCategories() O365BreakOutCategoryPoliciesPtrOutput {
+ return o.ApplyT(func(v O365PolicyProperties) *O365BreakOutCategoryPolicies { return v.BreakOutCategories }).(O365BreakOutCategoryPoliciesPtrOutput)
+}
+
+type O365PolicyPropertiesPtrOutput struct{ *pulumi.OutputState }
+
+func (O365PolicyPropertiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**O365PolicyProperties)(nil)).Elem()
+}
+
+func (o O365PolicyPropertiesPtrOutput) ToO365PolicyPropertiesPtrOutput() O365PolicyPropertiesPtrOutput {
+ return o
+}
+
+func (o O365PolicyPropertiesPtrOutput) ToO365PolicyPropertiesPtrOutputWithContext(ctx context.Context) O365PolicyPropertiesPtrOutput {
+ return o
+}
+
+func (o O365PolicyPropertiesPtrOutput) Elem() O365PolicyPropertiesOutput {
+ return o.ApplyT(func(v *O365PolicyProperties) O365PolicyProperties {
+ if v != nil {
+ return *v
+ }
+ var ret O365PolicyProperties
+ return ret
+ }).(O365PolicyPropertiesOutput)
+}
+
+// Office365 breakout categories.
+func (o O365PolicyPropertiesPtrOutput) BreakOutCategories() O365BreakOutCategoryPoliciesPtrOutput {
+ return o.ApplyT(func(v *O365PolicyProperties) *O365BreakOutCategoryPolicies {
if v == nil {
return nil
}
- return &v.InternalDomainNameSuffix
- }).(pulumi.StringPtrOutput)
+ return v.BreakOutCategories
+ }).(O365BreakOutCategoryPoliciesPtrOutput)
}
-// Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
-func (o NetworkInterfaceDnsSettingsResponsePtrOutput) InternalFqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponse) *string {
+// The Office365 breakout policy.
+type O365PolicyPropertiesResponse struct {
+ // Office365 breakout categories.
+ BreakOutCategories *O365BreakOutCategoryPoliciesResponse `pulumi:"breakOutCategories"`
+}
+
+// The Office365 breakout policy.
+type O365PolicyPropertiesResponseOutput struct{ *pulumi.OutputState }
+
+func (O365PolicyPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*O365PolicyPropertiesResponse)(nil)).Elem()
+}
+
+func (o O365PolicyPropertiesResponseOutput) ToO365PolicyPropertiesResponseOutput() O365PolicyPropertiesResponseOutput {
+ return o
+}
+
+func (o O365PolicyPropertiesResponseOutput) ToO365PolicyPropertiesResponseOutputWithContext(ctx context.Context) O365PolicyPropertiesResponseOutput {
+ return o
+}
+
+// Office365 breakout categories.
+func (o O365PolicyPropertiesResponseOutput) BreakOutCategories() O365BreakOutCategoryPoliciesResponsePtrOutput {
+ return o.ApplyT(func(v O365PolicyPropertiesResponse) *O365BreakOutCategoryPoliciesResponse {
+ return v.BreakOutCategories
+ }).(O365BreakOutCategoryPoliciesResponsePtrOutput)
+}
+
+type O365PolicyPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (O365PolicyPropertiesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**O365PolicyPropertiesResponse)(nil)).Elem()
+}
+
+func (o O365PolicyPropertiesResponsePtrOutput) ToO365PolicyPropertiesResponsePtrOutput() O365PolicyPropertiesResponsePtrOutput {
+ return o
+}
+
+func (o O365PolicyPropertiesResponsePtrOutput) ToO365PolicyPropertiesResponsePtrOutputWithContext(ctx context.Context) O365PolicyPropertiesResponsePtrOutput {
+ return o
+}
+
+func (o O365PolicyPropertiesResponsePtrOutput) Elem() O365PolicyPropertiesResponseOutput {
+ return o.ApplyT(func(v *O365PolicyPropertiesResponse) O365PolicyPropertiesResponse {
+ if v != nil {
+ return *v
+ }
+ var ret O365PolicyPropertiesResponse
+ return ret
+ }).(O365PolicyPropertiesResponseOutput)
+}
+
+// Office365 breakout categories.
+func (o O365PolicyPropertiesResponsePtrOutput) BreakOutCategories() O365BreakOutCategoryPoliciesResponsePtrOutput {
+ return o.ApplyT(func(v *O365PolicyPropertiesResponse) *O365BreakOutCategoryPoliciesResponse {
if v == nil {
return nil
}
- return &v.InternalFqdn
- }).(pulumi.StringPtrOutput)
+ return v.BreakOutCategories
+ }).(O365BreakOutCategoryPoliciesResponsePtrOutput)
}
type RouteSourceDetailsResponseArrayMapOutput struct{ *pulumi.OutputState }
@@ -63021,16 +64508,16 @@ func init() {
pulumi.RegisterOutputType(ActionResponseArrayOutput{})
pulumi.RegisterOutputType(ActiveConnectivityConfigurationResponseOutput{})
pulumi.RegisterOutputType(ActiveConnectivityConfigurationResponseArrayOutput{})
- pulumi.RegisterOutputType(ActiveConnectivityConfigurationResponseV1Output{})
- pulumi.RegisterOutputType(ActiveConnectivityConfigurationResponseV1ArrayOutput{})
+ pulumi.RegisterOutputType(ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseOutput{})
+ pulumi.RegisterOutputType(ActiveConnectivityConfigurationlistActiveConnectivityConfigurationsResponseArrayOutput{})
pulumi.RegisterOutputType(ActiveDefaultSecurityAdminRuleResponseOutput{})
- pulumi.RegisterOutputType(ActiveDefaultSecurityAdminRuleResponseV1Output{})
+ pulumi.RegisterOutputType(ActiveDefaultSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput{})
pulumi.RegisterOutputType(ActiveDefaultSecurityUserRuleResponseOutput{})
- pulumi.RegisterOutputType(ActiveDefaultSecurityUserRuleResponseV1Output{})
+ pulumi.RegisterOutputType(ActiveDefaultSecurityUserRulelistActiveSecurityUserRulesResponseOutput{})
pulumi.RegisterOutputType(ActiveSecurityAdminRuleResponseOutput{})
- pulumi.RegisterOutputType(ActiveSecurityAdminRuleResponseV1Output{})
+ pulumi.RegisterOutputType(ActiveSecurityAdminRulelistActiveSecurityAdminRulesResponseOutput{})
pulumi.RegisterOutputType(ActiveSecurityUserRuleResponseOutput{})
- pulumi.RegisterOutputType(ActiveSecurityUserRuleResponseV1Output{})
+ pulumi.RegisterOutputType(ActiveSecurityUserRulelistActiveSecurityUserRulesResponseOutput{})
pulumi.RegisterOutputType(AddressPrefixItemOutput{})
pulumi.RegisterOutputType(AddressPrefixItemArrayOutput{})
pulumi.RegisterOutputType(AddressPrefixItemResponseOutput{})
@@ -63051,11 +64538,15 @@ func init() {
pulumi.RegisterOutputType(ApplicationGatewayBackendAddressArrayOutput{})
pulumi.RegisterOutputType(ApplicationGatewayBackendAddressPoolOutput{})
pulumi.RegisterOutputType(ApplicationGatewayBackendAddressPoolArrayOutput{})
+ pulumi.RegisterOutputType(ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(ApplicationGatewayBackendAddressPoolInterfaceEndpointResponseArrayOutput{})
pulumi.RegisterOutputType(ApplicationGatewayBackendAddressPoolResponseOutput{})
pulumi.RegisterOutputType(ApplicationGatewayBackendAddressPoolResponsePtrOutput{})
pulumi.RegisterOutputType(ApplicationGatewayBackendAddressPoolResponseArrayOutput{})
- pulumi.RegisterOutputType(ApplicationGatewayBackendAddressPoolResponseV1Output{})
- pulumi.RegisterOutputType(ApplicationGatewayBackendAddressPoolResponseV1ArrayOutput{})
+ pulumi.RegisterOutputType(ApplicationGatewayBackendAddressPoolServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(ApplicationGatewayBackendAddressPoolServiceGatewayResponseArrayOutput{})
+ pulumi.RegisterOutputType(ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(ApplicationGatewayBackendAddressPoolVirtualNetworkApplianceResponseArrayOutput{})
pulumi.RegisterOutputType(ApplicationGatewayBackendAddressResponseOutput{})
pulumi.RegisterOutputType(ApplicationGatewayBackendAddressResponseArrayOutput{})
pulumi.RegisterOutputType(ApplicationGatewayBackendHealthHttpSettingsResponseOutput{})
@@ -63285,10 +64776,10 @@ func init() {
pulumi.RegisterOutputType(AzureFirewallSkuResponsePtrOutput{})
pulumi.RegisterOutputType(BackendAddressPoolOutput{})
pulumi.RegisterOutputType(BackendAddressPoolArrayOutput{})
+ pulumi.RegisterOutputType(BackendAddressPoolInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(BackendAddressPoolInterfaceEndpointResponseArrayOutput{})
pulumi.RegisterOutputType(BackendAddressPoolResponseOutput{})
pulumi.RegisterOutputType(BackendAddressPoolResponseArrayOutput{})
- pulumi.RegisterOutputType(BackendAddressPoolResponseV1Output{})
- pulumi.RegisterOutputType(BackendAddressPoolResponseV1ArrayOutput{})
pulumi.RegisterOutputType(BastionActiveSessionResponseOutput{})
pulumi.RegisterOutputType(BastionActiveSessionResponseArrayOutput{})
pulumi.RegisterOutputType(BastionHostIPConfigurationOutput{})
@@ -63320,186 +64811,55 @@ func init() {
pulumi.RegisterOutputType(CommitPropertiesResponseOutput{})
pulumi.RegisterOutputType(CommonAddressSpaceOutput{})
pulumi.RegisterOutputType(CommonAddressSpacePtrOutput{})
- pulumi.RegisterOutputType(CommonAddressSpaceResponseOutput{})
- pulumi.RegisterOutputType(CommonAddressSpaceResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonApplicationGatewayBackendAddressPoolResponseOutput{})
- pulumi.RegisterOutputType(CommonApplicationGatewayBackendAddressPoolResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonApplicationGatewayBackendAddressResponseOutput{})
- pulumi.RegisterOutputType(CommonApplicationGatewayBackendAddressResponseArrayOutput{})
pulumi.RegisterOutputType(CommonApplicationGatewayIPConfigurationOutput{})
pulumi.RegisterOutputType(CommonApplicationGatewayIPConfigurationArrayOutput{})
- pulumi.RegisterOutputType(CommonApplicationGatewayIPConfigurationResponseOutput{})
- pulumi.RegisterOutputType(CommonApplicationGatewayIPConfigurationResponseArrayOutput{})
pulumi.RegisterOutputType(CommonApplicationSecurityGroupOutput{})
pulumi.RegisterOutputType(CommonApplicationSecurityGroupArrayOutput{})
- pulumi.RegisterOutputType(CommonApplicationSecurityGroupResponseOutput{})
- pulumi.RegisterOutputType(CommonApplicationSecurityGroupResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonBackendAddressPoolResponseOutput{})
- pulumi.RegisterOutputType(CommonBackendAddressPoolResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonCustomDnsConfigPropertiesFormatResponseOutput{})
- pulumi.RegisterOutputType(CommonCustomDnsConfigPropertiesFormatResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonDdosSettingsResponseOutput{})
- pulumi.RegisterOutputType(CommonDdosSettingsResponsePtrOutput{})
pulumi.RegisterOutputType(CommonDelegationOutput{})
pulumi.RegisterOutputType(CommonDelegationArrayOutput{})
- pulumi.RegisterOutputType(CommonDelegationResponseOutput{})
- pulumi.RegisterOutputType(CommonDelegationResponseArrayOutput{})
pulumi.RegisterOutputType(CommonDhcpOptionsOutput{})
pulumi.RegisterOutputType(CommonDhcpOptionsPtrOutput{})
- pulumi.RegisterOutputType(CommonDhcpOptionsResponseOutput{})
- pulumi.RegisterOutputType(CommonDhcpOptionsResponsePtrOutput{})
pulumi.RegisterOutputType(CommonExtendedLocationOutput{})
pulumi.RegisterOutputType(CommonExtendedLocationPtrOutput{})
- pulumi.RegisterOutputType(CommonExtendedLocationResponseOutput{})
- pulumi.RegisterOutputType(CommonExtendedLocationResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonFlowLogFormatParametersResponseOutput{})
- pulumi.RegisterOutputType(CommonFlowLogFormatParametersResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonFlowLogResponseOutput{})
- pulumi.RegisterOutputType(CommonFlowLogResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonFrontendIPConfigurationResponseOutput{})
- pulumi.RegisterOutputType(CommonFrontendIPConfigurationResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonFrontendIPConfigurationResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonGatewayLoadBalancerTunnelInterfaceResponseOutput{})
- pulumi.RegisterOutputType(CommonGatewayLoadBalancerTunnelInterfaceResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonIPConfigurationProfileResponseOutput{})
- pulumi.RegisterOutputType(CommonIPConfigurationProfileResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonIPConfigurationResponseOutput{})
- pulumi.RegisterOutputType(CommonIPConfigurationResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonIPConfigurationResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonInboundNatRuleResponseOutput{})
- pulumi.RegisterOutputType(CommonInboundNatRuleResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonIpTagResponseOutput{})
- pulumi.RegisterOutputType(CommonIpTagResponseArrayOutput{})
pulumi.RegisterOutputType(CommonIpamPoolPrefixAllocationOutput{})
pulumi.RegisterOutputType(CommonIpamPoolPrefixAllocationArrayOutput{})
- pulumi.RegisterOutputType(CommonIpamPoolPrefixAllocationResponseOutput{})
- pulumi.RegisterOutputType(CommonIpamPoolPrefixAllocationResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonLoadBalancerBackendAddressResponseOutput{})
- pulumi.RegisterOutputType(CommonLoadBalancerBackendAddressResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonManagedServiceIdentityResponseOutput{})
- pulumi.RegisterOutputType(CommonManagedServiceIdentityResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonNatGatewayResponseOutput{})
- pulumi.RegisterOutputType(CommonNatGatewayResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonNatGatewaySkuResponseOutput{})
- pulumi.RegisterOutputType(CommonNatGatewaySkuResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonNatRulePortMappingResponseOutput{})
- pulumi.RegisterOutputType(CommonNatRulePortMappingResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonNetworkInterfaceDnsSettingsResponseOutput{})
- pulumi.RegisterOutputType(CommonNetworkInterfaceDnsSettingsResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput{})
- pulumi.RegisterOutputType(CommonNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonNetworkInterfaceIPConfigurationResponseOutput{})
- pulumi.RegisterOutputType(CommonNetworkInterfaceIPConfigurationResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonNetworkInterfaceIPConfigurationResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonNetworkInterfaceResponseOutput{})
- pulumi.RegisterOutputType(CommonNetworkInterfaceResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonNetworkInterfaceTapConfigurationResponseOutput{})
- pulumi.RegisterOutputType(CommonNetworkInterfaceTapConfigurationResponseArrayOutput{})
pulumi.RegisterOutputType(CommonNetworkSecurityGroupOutput{})
pulumi.RegisterOutputType(CommonNetworkSecurityGroupPtrOutput{})
- pulumi.RegisterOutputType(CommonNetworkSecurityGroupResponseOutput{})
- pulumi.RegisterOutputType(CommonNetworkSecurityGroupResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonPrivateEndpointConnectionResponseOutput{})
- pulumi.RegisterOutputType(CommonPrivateEndpointConnectionResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonPrivateEndpointIPConfigurationResponseOutput{})
- pulumi.RegisterOutputType(CommonPrivateEndpointIPConfigurationResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonPrivateEndpointResponseOutput{})
- pulumi.RegisterOutputType(CommonPrivateEndpointResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonPrivateLinkServiceConnectionResponseOutput{})
- pulumi.RegisterOutputType(CommonPrivateLinkServiceConnectionResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonPrivateLinkServiceConnectionStateResponseOutput{})
- pulumi.RegisterOutputType(CommonPrivateLinkServiceConnectionStateResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonPrivateLinkServiceIpConfigurationResponseOutput{})
- pulumi.RegisterOutputType(CommonPrivateLinkServiceIpConfigurationResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonPrivateLinkServicePropertiesAutoApprovalResponseOutput{})
- pulumi.RegisterOutputType(CommonPrivateLinkServicePropertiesAutoApprovalResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonPrivateLinkServicePropertiesVisibilityResponseOutput{})
- pulumi.RegisterOutputType(CommonPrivateLinkServicePropertiesVisibilityResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonPrivateLinkServiceResponseOutput{})
- pulumi.RegisterOutputType(CommonPrivateLinkServiceResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonPublicIPAddressDnsSettingsResponseOutput{})
- pulumi.RegisterOutputType(CommonPublicIPAddressDnsSettingsResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonPublicIPAddressResponseOutput{})
- pulumi.RegisterOutputType(CommonPublicIPAddressResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonPublicIPAddressSkuResponseOutput{})
- pulumi.RegisterOutputType(CommonPublicIPAddressSkuResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonResourceNavigationLinkResponseOutput{})
- pulumi.RegisterOutputType(CommonResourceNavigationLinkResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonRetentionPolicyParametersResponseOutput{})
- pulumi.RegisterOutputType(CommonRetentionPolicyParametersResponsePtrOutput{})
pulumi.RegisterOutputType(CommonRouteOutput{})
pulumi.RegisterOutputType(CommonRouteArrayOutput{})
- pulumi.RegisterOutputType(CommonRouteResponseOutput{})
- pulumi.RegisterOutputType(CommonRouteResponseArrayOutput{})
pulumi.RegisterOutputType(CommonRouteTableOutput{})
pulumi.RegisterOutputType(CommonRouteTablePtrOutput{})
- pulumi.RegisterOutputType(CommonRouteTableResponseOutput{})
- pulumi.RegisterOutputType(CommonRouteTableResponsePtrOutput{})
pulumi.RegisterOutputType(CommonSecurityRuleOutput{})
pulumi.RegisterOutputType(CommonSecurityRuleArrayOutput{})
- pulumi.RegisterOutputType(CommonSecurityRuleResponseOutput{})
- pulumi.RegisterOutputType(CommonSecurityRuleResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonServiceAssociationLinkResponseOutput{})
- pulumi.RegisterOutputType(CommonServiceAssociationLinkResponseArrayOutput{})
pulumi.RegisterOutputType(CommonServiceEndpointPolicyOutput{})
pulumi.RegisterOutputType(CommonServiceEndpointPolicyArrayOutput{})
pulumi.RegisterOutputType(CommonServiceEndpointPolicyDefinitionOutput{})
pulumi.RegisterOutputType(CommonServiceEndpointPolicyDefinitionArrayOutput{})
- pulumi.RegisterOutputType(CommonServiceEndpointPolicyDefinitionResponseOutput{})
- pulumi.RegisterOutputType(CommonServiceEndpointPolicyDefinitionResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonServiceEndpointPolicyResponseOutput{})
- pulumi.RegisterOutputType(CommonServiceEndpointPolicyResponseArrayOutput{})
pulumi.RegisterOutputType(CommonServiceEndpointPropertiesFormatOutput{})
pulumi.RegisterOutputType(CommonServiceEndpointPropertiesFormatArrayOutput{})
- pulumi.RegisterOutputType(CommonServiceEndpointPropertiesFormatResponseOutput{})
- pulumi.RegisterOutputType(CommonServiceEndpointPropertiesFormatResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonSubResourceOutput{})
- pulumi.RegisterOutputType(CommonSubResourcePtrOutput{})
- pulumi.RegisterOutputType(CommonSubResourceArrayOutput{})
- pulumi.RegisterOutputType(CommonSubResourceResponseOutput{})
- pulumi.RegisterOutputType(CommonSubResourceResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonSubResourceResponseArrayOutput{})
pulumi.RegisterOutputType(CommonSubnetOutput{})
pulumi.RegisterOutputType(CommonSubnetPtrOutput{})
pulumi.RegisterOutputType(CommonSubnetArrayOutput{})
- pulumi.RegisterOutputType(CommonSubnetResponseOutput{})
- pulumi.RegisterOutputType(CommonSubnetResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonSubnetResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonTrafficAnalyticsConfigurationPropertiesResponseOutput{})
- pulumi.RegisterOutputType(CommonTrafficAnalyticsConfigurationPropertiesResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonTrafficAnalyticsPropertiesResponseOutput{})
- pulumi.RegisterOutputType(CommonTrafficAnalyticsPropertiesResponsePtrOutput{})
pulumi.RegisterOutputType(CommonVirtualNetworkOutput{})
pulumi.RegisterOutputType(CommonVirtualNetworkPtrOutput{})
pulumi.RegisterOutputType(CommonVirtualNetworkBgpCommunitiesOutput{})
pulumi.RegisterOutputType(CommonVirtualNetworkBgpCommunitiesPtrOutput{})
- pulumi.RegisterOutputType(CommonVirtualNetworkBgpCommunitiesResponseOutput{})
- pulumi.RegisterOutputType(CommonVirtualNetworkBgpCommunitiesResponsePtrOutput{})
pulumi.RegisterOutputType(CommonVirtualNetworkEncryptionOutput{})
pulumi.RegisterOutputType(CommonVirtualNetworkEncryptionPtrOutput{})
- pulumi.RegisterOutputType(CommonVirtualNetworkEncryptionResponseOutput{})
- pulumi.RegisterOutputType(CommonVirtualNetworkEncryptionResponsePtrOutput{})
pulumi.RegisterOutputType(CommonVirtualNetworkPeeringOutput{})
pulumi.RegisterOutputType(CommonVirtualNetworkPeeringArrayOutput{})
- pulumi.RegisterOutputType(CommonVirtualNetworkPeeringResponseOutput{})
- pulumi.RegisterOutputType(CommonVirtualNetworkPeeringResponseArrayOutput{})
- pulumi.RegisterOutputType(CommonVirtualNetworkResponseOutput{})
- pulumi.RegisterOutputType(CommonVirtualNetworkResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonVirtualNetworkTapResponseOutput{})
- pulumi.RegisterOutputType(CommonVirtualNetworkTapResponsePtrOutput{})
- pulumi.RegisterOutputType(CommonVirtualNetworkTapResponseArrayOutput{})
pulumi.RegisterOutputType(ConfigurationGroupResponseOutput{})
pulumi.RegisterOutputType(ConfigurationGroupResponseArrayOutput{})
- pulumi.RegisterOutputType(ConfigurationGroupResponseV1Output{})
- pulumi.RegisterOutputType(ConfigurationGroupResponseV1ArrayOutput{})
- pulumi.RegisterOutputType(ConfigurationGroupResponseV2Output{})
- pulumi.RegisterOutputType(ConfigurationGroupResponseV2ArrayOutput{})
- pulumi.RegisterOutputType(ConfigurationGroupResponseV3Output{})
- pulumi.RegisterOutputType(ConfigurationGroupResponseV3ArrayOutput{})
- pulumi.RegisterOutputType(ConfigurationGroupResponseV4Output{})
- pulumi.RegisterOutputType(ConfigurationGroupResponseV4ArrayOutput{})
- pulumi.RegisterOutputType(ConfigurationGroupResponseV5Output{})
- pulumi.RegisterOutputType(ConfigurationGroupResponseV5ArrayOutput{})
+ pulumi.RegisterOutputType(ConfigurationGrouplistActiveConnectivityConfigurationsResponseOutput{})
+ pulumi.RegisterOutputType(ConfigurationGrouplistActiveConnectivityConfigurationsResponseArrayOutput{})
+ pulumi.RegisterOutputType(ConfigurationGrouplistActiveSecurityAdminRulesResponseOutput{})
+ pulumi.RegisterOutputType(ConfigurationGrouplistActiveSecurityAdminRulesResponseArrayOutput{})
+ pulumi.RegisterOutputType(ConfigurationGrouplistActiveSecurityUserRulesResponseOutput{})
+ pulumi.RegisterOutputType(ConfigurationGrouplistActiveSecurityUserRulesResponseArrayOutput{})
+ pulumi.RegisterOutputType(ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput{})
+ pulumi.RegisterOutputType(ConfigurationGrouplistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput{})
+ pulumi.RegisterOutputType(ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseOutput{})
+ pulumi.RegisterOutputType(ConfigurationGrouplistNetworkManagerEffectiveSecurityAdminRulesResponseArrayOutput{})
pulumi.RegisterOutputType(ConnectionMonitorDestinationOutput{})
pulumi.RegisterOutputType(ConnectionMonitorDestinationPtrOutput{})
pulumi.RegisterOutputType(ConnectionMonitorDestinationResponseOutput{})
@@ -63571,10 +64931,10 @@ func init() {
pulumi.RegisterOutputType(ConnectivityGroupItemArrayOutput{})
pulumi.RegisterOutputType(ConnectivityGroupItemResponseOutput{})
pulumi.RegisterOutputType(ConnectivityGroupItemResponseArrayOutput{})
- pulumi.RegisterOutputType(ConnectivityGroupItemResponseV1Output{})
- pulumi.RegisterOutputType(ConnectivityGroupItemResponseV1ArrayOutput{})
- pulumi.RegisterOutputType(ConnectivityGroupItemResponseV2Output{})
- pulumi.RegisterOutputType(ConnectivityGroupItemResponseV2ArrayOutput{})
+ pulumi.RegisterOutputType(ConnectivityGroupItemlistActiveConnectivityConfigurationResponseOutput{})
+ pulumi.RegisterOutputType(ConnectivityGroupItemlistActiveConnectivityConfigurationResponseArrayOutput{})
+ pulumi.RegisterOutputType(ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseOutput{})
+ pulumi.RegisterOutputType(ConnectivityGroupItemlistEffectiveConnectivityConfigurationResponseArrayOutput{})
pulumi.RegisterOutputType(ContainerNetworkInterfaceConfigurationOutput{})
pulumi.RegisterOutputType(ContainerNetworkInterfaceConfigurationArrayOutput{})
pulumi.RegisterOutputType(ContainerNetworkInterfaceConfigurationResponseOutput{})
@@ -63597,20 +64957,20 @@ func init() {
pulumi.RegisterOutputType(CustomDnsConfigPropertiesFormatResponseArrayOutput{})
pulumi.RegisterOutputType(DdosSettingsOutput{})
pulumi.RegisterOutputType(DdosSettingsPtrOutput{})
+ pulumi.RegisterOutputType(DdosSettingsInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(DdosSettingsInterfaceEndpointResponsePtrOutput{})
pulumi.RegisterOutputType(DdosSettingsResponseOutput{})
pulumi.RegisterOutputType(DdosSettingsResponsePtrOutput{})
- pulumi.RegisterOutputType(DdosSettingsResponseV1Output{})
- pulumi.RegisterOutputType(DdosSettingsResponseV1PtrOutput{})
pulumi.RegisterOutputType(DelegationOutput{})
pulumi.RegisterOutputType(DelegationArrayOutput{})
+ pulumi.RegisterOutputType(DelegationInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(DelegationInterfaceEndpointResponseArrayOutput{})
pulumi.RegisterOutputType(DelegationPropertiesOutput{})
pulumi.RegisterOutputType(DelegationPropertiesPtrOutput{})
pulumi.RegisterOutputType(DelegationPropertiesResponseOutput{})
pulumi.RegisterOutputType(DelegationPropertiesResponsePtrOutput{})
pulumi.RegisterOutputType(DelegationResponseOutput{})
pulumi.RegisterOutputType(DelegationResponseArrayOutput{})
- pulumi.RegisterOutputType(DelegationResponseV1Output{})
- pulumi.RegisterOutputType(DelegationResponseV1ArrayOutput{})
pulumi.RegisterOutputType(DevicePropertiesOutput{})
pulumi.RegisterOutputType(DevicePropertiesPtrOutput{})
pulumi.RegisterOutputType(DevicePropertiesResponseOutput{})
@@ -63625,12 +64985,12 @@ func init() {
pulumi.RegisterOutputType(DnsSettingsResponsePtrOutput{})
pulumi.RegisterOutputType(EffectiveConnectivityConfigurationResponseOutput{})
pulumi.RegisterOutputType(EffectiveConnectivityConfigurationResponseArrayOutput{})
- pulumi.RegisterOutputType(EffectiveConnectivityConfigurationResponseV1Output{})
- pulumi.RegisterOutputType(EffectiveConnectivityConfigurationResponseV1ArrayOutput{})
+ pulumi.RegisterOutputType(EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseOutput{})
+ pulumi.RegisterOutputType(EffectiveConnectivityConfigurationlistNetworkManagerEffectiveConnectivityConfigurationsResponseArrayOutput{})
pulumi.RegisterOutputType(EffectiveDefaultSecurityAdminRuleResponseOutput{})
- pulumi.RegisterOutputType(EffectiveDefaultSecurityAdminRuleResponseV1Output{})
+ pulumi.RegisterOutputType(EffectiveDefaultSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput{})
pulumi.RegisterOutputType(EffectiveSecurityAdminRuleResponseOutput{})
- pulumi.RegisterOutputType(EffectiveSecurityAdminRuleResponseV1Output{})
+ pulumi.RegisterOutputType(EffectiveSecurityAdminRulelistNetworkManagerEffectiveSecurityAdminRulesResponseOutput{})
pulumi.RegisterOutputType(EffectiveVirtualNetworkResponseOutput{})
pulumi.RegisterOutputType(EffectiveVirtualNetworkResponseArrayOutput{})
pulumi.RegisterOutputType(EndpointServiceOutput{})
@@ -63809,14 +65169,24 @@ func init() {
pulumi.RegisterOutputType(FlowLogFormatParametersResponsePtrOutput{})
pulumi.RegisterOutputType(FlowLogResponseOutput{})
pulumi.RegisterOutputType(FlowLogResponseArrayOutput{})
+ pulumi.RegisterOutputType(FlowLogServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(FlowLogServiceGatewayResponseArrayOutput{})
+ pulumi.RegisterOutputType(FlowLogVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(FlowLogVirtualNetworkApplianceResponseArrayOutput{})
pulumi.RegisterOutputType(FrontendIPConfigurationOutput{})
pulumi.RegisterOutputType(FrontendIPConfigurationPtrOutput{})
pulumi.RegisterOutputType(FrontendIPConfigurationArrayOutput{})
+ pulumi.RegisterOutputType(FrontendIPConfigurationInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(FrontendIPConfigurationInterfaceEndpointResponsePtrOutput{})
pulumi.RegisterOutputType(FrontendIPConfigurationResponseOutput{})
pulumi.RegisterOutputType(FrontendIPConfigurationResponsePtrOutput{})
pulumi.RegisterOutputType(FrontendIPConfigurationResponseArrayOutput{})
- pulumi.RegisterOutputType(FrontendIPConfigurationResponseV1Output{})
- pulumi.RegisterOutputType(FrontendIPConfigurationResponseV1PtrOutput{})
+ pulumi.RegisterOutputType(FrontendIPConfigurationServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(FrontendIPConfigurationServiceGatewayResponsePtrOutput{})
+ pulumi.RegisterOutputType(FrontendIPConfigurationServiceGatewayResponseArrayOutput{})
+ pulumi.RegisterOutputType(FrontendIPConfigurationVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput{})
+ pulumi.RegisterOutputType(FrontendIPConfigurationVirtualNetworkApplianceResponseArrayOutput{})
pulumi.RegisterOutputType(GatewayCustomBgpIpAddressIpConfigurationOutput{})
pulumi.RegisterOutputType(GatewayCustomBgpIpAddressIpConfigurationArrayOutput{})
pulumi.RegisterOutputType(GatewayCustomBgpIpAddressIpConfigurationResponseOutput{})
@@ -63869,17 +65239,27 @@ func init() {
pulumi.RegisterOutputType(IPConfigurationBgpPeeringAddressArrayOutput{})
pulumi.RegisterOutputType(IPConfigurationBgpPeeringAddressResponseOutput{})
pulumi.RegisterOutputType(IPConfigurationBgpPeeringAddressResponseArrayOutput{})
+ pulumi.RegisterOutputType(IPConfigurationInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(IPConfigurationInterfaceEndpointResponseArrayOutput{})
pulumi.RegisterOutputType(IPConfigurationProfileOutput{})
pulumi.RegisterOutputType(IPConfigurationProfileArrayOutput{})
+ pulumi.RegisterOutputType(IPConfigurationProfileInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(IPConfigurationProfileInterfaceEndpointResponseArrayOutput{})
pulumi.RegisterOutputType(IPConfigurationProfileResponseOutput{})
pulumi.RegisterOutputType(IPConfigurationProfileResponseArrayOutput{})
- pulumi.RegisterOutputType(IPConfigurationProfileResponseV1Output{})
- pulumi.RegisterOutputType(IPConfigurationProfileResponseV1ArrayOutput{})
+ pulumi.RegisterOutputType(IPConfigurationProfileServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(IPConfigurationProfileServiceGatewayResponseArrayOutput{})
+ pulumi.RegisterOutputType(IPConfigurationProfileVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(IPConfigurationProfileVirtualNetworkApplianceResponseArrayOutput{})
pulumi.RegisterOutputType(IPConfigurationResponseOutput{})
pulumi.RegisterOutputType(IPConfigurationResponsePtrOutput{})
pulumi.RegisterOutputType(IPConfigurationResponseArrayOutput{})
- pulumi.RegisterOutputType(IPConfigurationResponseV1Output{})
- pulumi.RegisterOutputType(IPConfigurationResponseV1ArrayOutput{})
+ pulumi.RegisterOutputType(IPConfigurationServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(IPConfigurationServiceGatewayResponsePtrOutput{})
+ pulumi.RegisterOutputType(IPConfigurationServiceGatewayResponseArrayOutput{})
+ pulumi.RegisterOutputType(IPConfigurationVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(IPConfigurationVirtualNetworkApplianceResponsePtrOutput{})
+ pulumi.RegisterOutputType(IPConfigurationVirtualNetworkApplianceResponseArrayOutput{})
pulumi.RegisterOutputType(IPRuleOutput{})
pulumi.RegisterOutputType(IPRuleArrayOutput{})
pulumi.RegisterOutputType(IPRuleResponseOutput{})
@@ -63892,10 +65272,10 @@ func init() {
pulumi.RegisterOutputType(InboundNatPoolResponseArrayOutput{})
pulumi.RegisterOutputType(InboundNatRuleTypeOutput{})
pulumi.RegisterOutputType(InboundNatRuleTypeArrayOutput{})
+ pulumi.RegisterOutputType(InboundNatRuleInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(InboundNatRuleInterfaceEndpointResponseArrayOutput{})
pulumi.RegisterOutputType(InboundNatRuleResponseOutput{})
pulumi.RegisterOutputType(InboundNatRuleResponseArrayOutput{})
- pulumi.RegisterOutputType(InboundNatRuleResponseV1Output{})
- pulumi.RegisterOutputType(InboundNatRuleResponseV1ArrayOutput{})
pulumi.RegisterOutputType(IntentContentResponseOutput{})
pulumi.RegisterOutputType(InterfaceEndpointResponseOutput{})
pulumi.RegisterOutputType(InterfaceEndpointResponseArrayOutput{})
@@ -63961,8 +65341,12 @@ func init() {
pulumi.RegisterOutputType(ManagedServiceIdentityResponsePtrOutput{})
pulumi.RegisterOutputType(ManagedServiceIdentityResponseUserAssignedIdentitiesOutput{})
pulumi.RegisterOutputType(ManagedServiceIdentityResponseUserAssignedIdentitiesMapOutput{})
+ pulumi.RegisterOutputType(ManagedServiceIdentityServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(ManagedServiceIdentityServiceGatewayResponsePtrOutput{})
pulumi.RegisterOutputType(ManagedServiceIdentityUserAssignedIdentitiesResponseOutput{})
pulumi.RegisterOutputType(ManagedServiceIdentityUserAssignedIdentitiesResponseMapOutput{})
+ pulumi.RegisterOutputType(ManagedServiceIdentityVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(ManagedServiceIdentityVirtualNetworkApplianceResponsePtrOutput{})
pulumi.RegisterOutputType(MatchConditionOutput{})
pulumi.RegisterOutputType(MatchConditionArrayOutput{})
pulumi.RegisterOutputType(MatchConditionResponseOutput{})
@@ -63975,10 +65359,14 @@ func init() {
pulumi.RegisterOutputType(NatGatewayTypePtrOutput{})
pulumi.RegisterOutputType(NatGatewayResponseOutput{})
pulumi.RegisterOutputType(NatGatewayResponsePtrOutput{})
+ pulumi.RegisterOutputType(NatGatewayServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(NatGatewayServiceGatewayResponsePtrOutput{})
pulumi.RegisterOutputType(NatGatewaySkuOutput{})
pulumi.RegisterOutputType(NatGatewaySkuPtrOutput{})
pulumi.RegisterOutputType(NatGatewaySkuResponseOutput{})
pulumi.RegisterOutputType(NatGatewaySkuResponsePtrOutput{})
+ pulumi.RegisterOutputType(NatGatewayVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(NatGatewayVirtualNetworkApplianceResponsePtrOutput{})
pulumi.RegisterOutputType(NatRuleTypeOutput{})
pulumi.RegisterOutputType(NatRuleConditionOutput{})
pulumi.RegisterOutputType(NatRuleConditionPtrOutput{})
@@ -63989,7 +65377,99 @@ func init() {
pulumi.RegisterOutputType(NatRuleResponseOutput{})
pulumi.RegisterOutputType(NetworkInterfaceDnsSettingsOutput{})
pulumi.RegisterOutputType(NetworkInterfaceDnsSettingsPtrOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceDnsSettingsInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceDnsSettingsInterfaceEndpointResponsePtrOutput{})
pulumi.RegisterOutputType(NetworkInterfaceDnsSettingsResponseOutput{})
pulumi.RegisterOutputType(NetworkInterfaceDnsSettingsResponsePtrOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationPtrOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationArrayOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationInterfaceEndpointResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationResponseOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationResponsePtrOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationResponseV1Output{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationResponseV1ArrayOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationResponseV2Output{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationResponseV2ArrayOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationResponseV3Output{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationResponseV3ArrayOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationServiceGatewayResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationVirtualNetworkApplianceResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceInterfaceEndpointResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceResponseOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceServiceGatewayResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceTapConfigurationInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceTapConfigurationInterfaceEndpointResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceTapConfigurationResponseOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceTapConfigurationResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceTapConfigurationResponseV1Output{})
+ pulumi.RegisterOutputType(NetworkInterfaceTapConfigurationResponseV1ArrayOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceTapConfigurationServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceTapConfigurationServiceGatewayResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceTapConfigurationVirtualNetworkApplianceResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(NetworkInterfaceVirtualNetworkApplianceResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkManagerDeploymentStatusResponseOutput{})
+ pulumi.RegisterOutputType(NetworkManagerDeploymentStatusResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkManagerPropertiesNetworkManagerScopesOutput{})
+ pulumi.RegisterOutputType(NetworkManagerPropertiesResponseNetworkManagerScopesOutput{})
+ pulumi.RegisterOutputType(NetworkManagerRoutingGroupItemOutput{})
+ pulumi.RegisterOutputType(NetworkManagerRoutingGroupItemArrayOutput{})
+ pulumi.RegisterOutputType(NetworkManagerRoutingGroupItemResponseOutput{})
+ pulumi.RegisterOutputType(NetworkManagerRoutingGroupItemResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemOutput{})
+ pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemArrayOutput{})
+ pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemResponseOutput{})
+ pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseOutput{})
+ pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemlistActiveSecurityAdminRuleResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseOutput{})
+ pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemlistActiveSecurityUserRuleResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseOutput{})
+ pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemlistNetworkManagerEffectiveSecurityAdminRuleResponseArrayOutput{})
+ pulumi.RegisterOutputType(NetworkRuleOutput{})
+ pulumi.RegisterOutputType(NetworkRuleConditionOutput{})
+ pulumi.RegisterOutputType(NetworkRuleConditionPtrOutput{})
+ pulumi.RegisterOutputType(NetworkRuleConditionResponseOutput{})
+ pulumi.RegisterOutputType(NetworkRuleConditionResponsePtrOutput{})
+ pulumi.RegisterOutputType(NetworkRuleResponseOutput{})
+ pulumi.RegisterOutputType(NetworkSecurityGroupTypeOutput{})
+ pulumi.RegisterOutputType(NetworkSecurityGroupTypePtrOutput{})
+ pulumi.RegisterOutputType(NetworkSecurityGroupInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(NetworkSecurityGroupInterfaceEndpointResponsePtrOutput{})
+ pulumi.RegisterOutputType(NetworkSecurityGroupResponseOutput{})
+ pulumi.RegisterOutputType(NetworkSecurityGroupResponsePtrOutput{})
+ pulumi.RegisterOutputType(NetworkSecurityGroupServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(NetworkSecurityGroupServiceGatewayResponsePtrOutput{})
+ pulumi.RegisterOutputType(NetworkSecurityGroupVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput{})
+ pulumi.RegisterOutputType(NetworkVirtualApplianceConnectionPropertiesOutput{})
+ pulumi.RegisterOutputType(NetworkVirtualApplianceConnectionPropertiesPtrOutput{})
+ pulumi.RegisterOutputType(NetworkVirtualApplianceConnectionPropertiesResponseOutput{})
+ pulumi.RegisterOutputType(NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput{})
+ pulumi.RegisterOutputType(NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput{})
+ pulumi.RegisterOutputType(NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput{})
+ pulumi.RegisterOutputType(NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput{})
+ pulumi.RegisterOutputType(NspLoggingConfigurationPropertiesOutput{})
+ pulumi.RegisterOutputType(NspLoggingConfigurationPropertiesPtrOutput{})
+ pulumi.RegisterOutputType(NspLoggingConfigurationPropertiesResponseOutput{})
+ pulumi.RegisterOutputType(O365BreakOutCategoryPoliciesOutput{})
+ pulumi.RegisterOutputType(O365BreakOutCategoryPoliciesPtrOutput{})
+ pulumi.RegisterOutputType(O365BreakOutCategoryPoliciesResponseOutput{})
+ pulumi.RegisterOutputType(O365BreakOutCategoryPoliciesResponsePtrOutput{})
+ pulumi.RegisterOutputType(O365PolicyPropertiesOutput{})
+ pulumi.RegisterOutputType(O365PolicyPropertiesPtrOutput{})
+ pulumi.RegisterOutputType(O365PolicyPropertiesResponseOutput{})
+ pulumi.RegisterOutputType(O365PolicyPropertiesResponsePtrOutput{})
pulumi.RegisterOutputType(RouteSourceDetailsResponseArrayMapOutput{})
}
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/pulumiTypes1.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/pulumiTypes1.go
index b669a84f3..d8cc6fce6 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/pulumiTypes1.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/pulumiTypes1.go
@@ -13,12739 +13,13441 @@ import (
var _ = utilities.GetEnvOrDefault
-// DNS settings of a network interface.
-type NetworkInterfaceDnsSettingsResponseV1 struct {
- // If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.
- AppliedDnsServers []string `pulumi:"appliedDnsServers"`
- // List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
- DnsServers []string `pulumi:"dnsServers"`
- // Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
- InternalDnsNameLabel *string `pulumi:"internalDnsNameLabel"`
- // Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
- InternalDomainNameSuffix *string `pulumi:"internalDomainNameSuffix"`
- // Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
- InternalFqdn *string `pulumi:"internalFqdn"`
+// Network Virtual Appliance Sku Properties.
+type Office365PolicyProperties struct {
+ // Office 365 breakout categories.
+ BreakOutCategories *BreakOutCategoryPolicies `pulumi:"breakOutCategories"`
}
-// DNS settings of a network interface.
-type NetworkInterfaceDnsSettingsResponseV1Output struct{ *pulumi.OutputState }
-
-func (NetworkInterfaceDnsSettingsResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkInterfaceDnsSettingsResponseV1)(nil)).Elem()
-}
+// Office365PolicyPropertiesInput is an input type that accepts Office365PolicyPropertiesArgs and Office365PolicyPropertiesOutput values.
+// You can construct a concrete instance of `Office365PolicyPropertiesInput` via:
+//
+// Office365PolicyPropertiesArgs{...}
+type Office365PolicyPropertiesInput interface {
+ pulumi.Input
-func (o NetworkInterfaceDnsSettingsResponseV1Output) ToNetworkInterfaceDnsSettingsResponseV1Output() NetworkInterfaceDnsSettingsResponseV1Output {
- return o
+ ToOffice365PolicyPropertiesOutput() Office365PolicyPropertiesOutput
+ ToOffice365PolicyPropertiesOutputWithContext(context.Context) Office365PolicyPropertiesOutput
}
-func (o NetworkInterfaceDnsSettingsResponseV1Output) ToNetworkInterfaceDnsSettingsResponseV1OutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsResponseV1Output {
- return o
+// Network Virtual Appliance Sku Properties.
+type Office365PolicyPropertiesArgs struct {
+ // Office 365 breakout categories.
+ BreakOutCategories BreakOutCategoryPoliciesPtrInput `pulumi:"breakOutCategories"`
}
-// If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.
-func (o NetworkInterfaceDnsSettingsResponseV1Output) AppliedDnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceDnsSettingsResponseV1) []string { return v.AppliedDnsServers }).(pulumi.StringArrayOutput)
+func (Office365PolicyPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*Office365PolicyProperties)(nil)).Elem()
}
-// List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
-func (o NetworkInterfaceDnsSettingsResponseV1Output) DnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceDnsSettingsResponseV1) []string { return v.DnsServers }).(pulumi.StringArrayOutput)
+func (i Office365PolicyPropertiesArgs) ToOffice365PolicyPropertiesOutput() Office365PolicyPropertiesOutput {
+ return i.ToOffice365PolicyPropertiesOutputWithContext(context.Background())
}
-// Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
-func (o NetworkInterfaceDnsSettingsResponseV1Output) InternalDnsNameLabel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceDnsSettingsResponseV1) *string { return v.InternalDnsNameLabel }).(pulumi.StringPtrOutput)
+func (i Office365PolicyPropertiesArgs) ToOffice365PolicyPropertiesOutputWithContext(ctx context.Context) Office365PolicyPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(Office365PolicyPropertiesOutput)
}
-// Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
-func (o NetworkInterfaceDnsSettingsResponseV1Output) InternalDomainNameSuffix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceDnsSettingsResponseV1) *string { return v.InternalDomainNameSuffix }).(pulumi.StringPtrOutput)
+func (i Office365PolicyPropertiesArgs) ToOffice365PolicyPropertiesPtrOutput() Office365PolicyPropertiesPtrOutput {
+ return i.ToOffice365PolicyPropertiesPtrOutputWithContext(context.Background())
}
-// Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
-func (o NetworkInterfaceDnsSettingsResponseV1Output) InternalFqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceDnsSettingsResponseV1) *string { return v.InternalFqdn }).(pulumi.StringPtrOutput)
+func (i Office365PolicyPropertiesArgs) ToOffice365PolicyPropertiesPtrOutputWithContext(ctx context.Context) Office365PolicyPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(Office365PolicyPropertiesOutput).ToOffice365PolicyPropertiesPtrOutputWithContext(ctx)
}
-type NetworkInterfaceDnsSettingsResponseV1PtrOutput struct{ *pulumi.OutputState }
+// Office365PolicyPropertiesPtrInput is an input type that accepts Office365PolicyPropertiesArgs, Office365PolicyPropertiesPtr and Office365PolicyPropertiesPtrOutput values.
+// You can construct a concrete instance of `Office365PolicyPropertiesPtrInput` via:
+//
+// Office365PolicyPropertiesArgs{...}
+//
+// or:
+//
+// nil
+type Office365PolicyPropertiesPtrInput interface {
+ pulumi.Input
-func (NetworkInterfaceDnsSettingsResponseV1PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkInterfaceDnsSettingsResponseV1)(nil)).Elem()
+ ToOffice365PolicyPropertiesPtrOutput() Office365PolicyPropertiesPtrOutput
+ ToOffice365PolicyPropertiesPtrOutputWithContext(context.Context) Office365PolicyPropertiesPtrOutput
}
-func (o NetworkInterfaceDnsSettingsResponseV1PtrOutput) ToNetworkInterfaceDnsSettingsResponseV1PtrOutput() NetworkInterfaceDnsSettingsResponseV1PtrOutput {
- return o
-}
+type office365PolicyPropertiesPtrType Office365PolicyPropertiesArgs
-func (o NetworkInterfaceDnsSettingsResponseV1PtrOutput) ToNetworkInterfaceDnsSettingsResponseV1PtrOutputWithContext(ctx context.Context) NetworkInterfaceDnsSettingsResponseV1PtrOutput {
- return o
+func Office365PolicyPropertiesPtr(v *Office365PolicyPropertiesArgs) Office365PolicyPropertiesPtrInput {
+ return (*office365PolicyPropertiesPtrType)(v)
}
-func (o NetworkInterfaceDnsSettingsResponseV1PtrOutput) Elem() NetworkInterfaceDnsSettingsResponseV1Output {
- return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponseV1) NetworkInterfaceDnsSettingsResponseV1 {
- if v != nil {
- return *v
- }
- var ret NetworkInterfaceDnsSettingsResponseV1
- return ret
- }).(NetworkInterfaceDnsSettingsResponseV1Output)
+func (*office365PolicyPropertiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**Office365PolicyProperties)(nil)).Elem()
}
-// If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.
-func (o NetworkInterfaceDnsSettingsResponseV1PtrOutput) AppliedDnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponseV1) []string {
- if v == nil {
- return nil
- }
- return v.AppliedDnsServers
- }).(pulumi.StringArrayOutput)
+func (i *office365PolicyPropertiesPtrType) ToOffice365PolicyPropertiesPtrOutput() Office365PolicyPropertiesPtrOutput {
+ return i.ToOffice365PolicyPropertiesPtrOutputWithContext(context.Background())
}
-// List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
-func (o NetworkInterfaceDnsSettingsResponseV1PtrOutput) DnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponseV1) []string {
- if v == nil {
- return nil
- }
- return v.DnsServers
- }).(pulumi.StringArrayOutput)
+func (i *office365PolicyPropertiesPtrType) ToOffice365PolicyPropertiesPtrOutputWithContext(ctx context.Context) Office365PolicyPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(Office365PolicyPropertiesPtrOutput)
}
-// Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
-func (o NetworkInterfaceDnsSettingsResponseV1PtrOutput) InternalDnsNameLabel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.InternalDnsNameLabel
- }).(pulumi.StringPtrOutput)
-}
+// Network Virtual Appliance Sku Properties.
+type Office365PolicyPropertiesOutput struct{ *pulumi.OutputState }
-// Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
-func (o NetworkInterfaceDnsSettingsResponseV1PtrOutput) InternalDomainNameSuffix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.InternalDomainNameSuffix
- }).(pulumi.StringPtrOutput)
+func (Office365PolicyPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*Office365PolicyProperties)(nil)).Elem()
}
-// Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
-func (o NetworkInterfaceDnsSettingsResponseV1PtrOutput) InternalFqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceDnsSettingsResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.InternalFqdn
- }).(pulumi.StringPtrOutput)
+func (o Office365PolicyPropertiesOutput) ToOffice365PolicyPropertiesOutput() Office365PolicyPropertiesOutput {
+ return o
}
-// IPConfiguration in a network interface.
-type NetworkInterfaceIPConfiguration struct {
- // The reference to ApplicationGatewayBackendAddressPool resource.
- ApplicationGatewayBackendAddressPools []ApplicationGatewayBackendAddressPool `pulumi:"applicationGatewayBackendAddressPools"`
- // Application security groups in which the IP configuration is included.
- ApplicationSecurityGroups []ApplicationSecurityGroupType `pulumi:"applicationSecurityGroups"`
- // The reference to gateway load balancer frontend IP.
- GatewayLoadBalancer *SubResource `pulumi:"gatewayLoadBalancer"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The reference to LoadBalancerBackendAddressPool resource.
- LoadBalancerBackendAddressPools []BackendAddressPool `pulumi:"loadBalancerBackendAddressPools"`
- // A list of references of LoadBalancerInboundNatRules.
- LoadBalancerInboundNatRules []InboundNatRuleType `pulumi:"loadBalancerInboundNatRules"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // Whether this is a primary customer address on the network interface.
- Primary *bool `pulumi:"primary"`
- // Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
- PrivateIPAddressPrefixLength *int `pulumi:"privateIPAddressPrefixLength"`
- // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
- PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
- // The private IP address allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // Public IP address bound to the IP configuration.
- PublicIPAddress *PublicIPAddressType `pulumi:"publicIPAddress"`
- // Subnet bound to the IP configuration.
- Subnet *SubnetType `pulumi:"subnet"`
- // Resource type.
- Type *string `pulumi:"type"`
- // The reference to Virtual Network Taps.
- VirtualNetworkTaps []VirtualNetworkTapType `pulumi:"virtualNetworkTaps"`
+func (o Office365PolicyPropertiesOutput) ToOffice365PolicyPropertiesOutputWithContext(ctx context.Context) Office365PolicyPropertiesOutput {
+ return o
}
-// Defaults sets the appropriate defaults for NetworkInterfaceIPConfiguration
-func (val *NetworkInterfaceIPConfiguration) Defaults() *NetworkInterfaceIPConfiguration {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.Subnet = tmp.Subnet.Defaults()
-
- return &tmp
+func (o Office365PolicyPropertiesOutput) ToOffice365PolicyPropertiesPtrOutput() Office365PolicyPropertiesPtrOutput {
+ return o.ToOffice365PolicyPropertiesPtrOutputWithContext(context.Background())
}
-// NetworkInterfaceIPConfigurationInput is an input type that accepts NetworkInterfaceIPConfigurationArgs and NetworkInterfaceIPConfigurationOutput values.
-// You can construct a concrete instance of `NetworkInterfaceIPConfigurationInput` via:
-//
-// NetworkInterfaceIPConfigurationArgs{...}
-type NetworkInterfaceIPConfigurationInput interface {
- pulumi.Input
-
- ToNetworkInterfaceIPConfigurationOutput() NetworkInterfaceIPConfigurationOutput
- ToNetworkInterfaceIPConfigurationOutputWithContext(context.Context) NetworkInterfaceIPConfigurationOutput
+func (o Office365PolicyPropertiesOutput) ToOffice365PolicyPropertiesPtrOutputWithContext(ctx context.Context) Office365PolicyPropertiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v Office365PolicyProperties) *Office365PolicyProperties {
+ return &v
+ }).(Office365PolicyPropertiesPtrOutput)
}
-// IPConfiguration in a network interface.
-type NetworkInterfaceIPConfigurationArgs struct {
- // The reference to ApplicationGatewayBackendAddressPool resource.
- ApplicationGatewayBackendAddressPools ApplicationGatewayBackendAddressPoolArrayInput `pulumi:"applicationGatewayBackendAddressPools"`
- // Application security groups in which the IP configuration is included.
- ApplicationSecurityGroups ApplicationSecurityGroupTypeArrayInput `pulumi:"applicationSecurityGroups"`
- // The reference to gateway load balancer frontend IP.
- GatewayLoadBalancer SubResourcePtrInput `pulumi:"gatewayLoadBalancer"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The reference to LoadBalancerBackendAddressPool resource.
- LoadBalancerBackendAddressPools BackendAddressPoolArrayInput `pulumi:"loadBalancerBackendAddressPools"`
- // A list of references of LoadBalancerInboundNatRules.
- LoadBalancerInboundNatRules InboundNatRuleTypeArrayInput `pulumi:"loadBalancerInboundNatRules"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Whether this is a primary customer address on the network interface.
- Primary pulumi.BoolPtrInput `pulumi:"primary"`
- // Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
- PrivateIPAddress pulumi.StringPtrInput `pulumi:"privateIPAddress"`
- // The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
- PrivateIPAddressPrefixLength pulumi.IntPtrInput `pulumi:"privateIPAddressPrefixLength"`
- // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
- PrivateIPAddressVersion pulumi.StringPtrInput `pulumi:"privateIPAddressVersion"`
- // The private IP address allocation method.
- PrivateIPAllocationMethod pulumi.StringPtrInput `pulumi:"privateIPAllocationMethod"`
- // Public IP address bound to the IP configuration.
- PublicIPAddress PublicIPAddressTypePtrInput `pulumi:"publicIPAddress"`
- // Subnet bound to the IP configuration.
- Subnet SubnetTypePtrInput `pulumi:"subnet"`
- // Resource type.
- Type pulumi.StringPtrInput `pulumi:"type"`
- // The reference to Virtual Network Taps.
- VirtualNetworkTaps VirtualNetworkTapTypeArrayInput `pulumi:"virtualNetworkTaps"`
+// Office 365 breakout categories.
+func (o Office365PolicyPropertiesOutput) BreakOutCategories() BreakOutCategoryPoliciesPtrOutput {
+ return o.ApplyT(func(v Office365PolicyProperties) *BreakOutCategoryPolicies { return v.BreakOutCategories }).(BreakOutCategoryPoliciesPtrOutput)
}
-// Defaults sets the appropriate defaults for NetworkInterfaceIPConfigurationArgs
-func (val *NetworkInterfaceIPConfigurationArgs) Defaults() *NetworkInterfaceIPConfigurationArgs {
- if val == nil {
- return nil
- }
- tmp := *val
+type Office365PolicyPropertiesPtrOutput struct{ *pulumi.OutputState }
- return &tmp
-}
-func (NetworkInterfaceIPConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkInterfaceIPConfiguration)(nil)).Elem()
+func (Office365PolicyPropertiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**Office365PolicyProperties)(nil)).Elem()
}
-func (i NetworkInterfaceIPConfigurationArgs) ToNetworkInterfaceIPConfigurationOutput() NetworkInterfaceIPConfigurationOutput {
- return i.ToNetworkInterfaceIPConfigurationOutputWithContext(context.Background())
+func (o Office365PolicyPropertiesPtrOutput) ToOffice365PolicyPropertiesPtrOutput() Office365PolicyPropertiesPtrOutput {
+ return o
}
-func (i NetworkInterfaceIPConfigurationArgs) ToNetworkInterfaceIPConfigurationOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceIPConfigurationOutput)
+func (o Office365PolicyPropertiesPtrOutput) ToOffice365PolicyPropertiesPtrOutputWithContext(ctx context.Context) Office365PolicyPropertiesPtrOutput {
+ return o
}
-func (i NetworkInterfaceIPConfigurationArgs) ToNetworkInterfaceIPConfigurationPtrOutput() NetworkInterfaceIPConfigurationPtrOutput {
- return i.ToNetworkInterfaceIPConfigurationPtrOutputWithContext(context.Background())
+func (o Office365PolicyPropertiesPtrOutput) Elem() Office365PolicyPropertiesOutput {
+ return o.ApplyT(func(v *Office365PolicyProperties) Office365PolicyProperties {
+ if v != nil {
+ return *v
+ }
+ var ret Office365PolicyProperties
+ return ret
+ }).(Office365PolicyPropertiesOutput)
}
-func (i NetworkInterfaceIPConfigurationArgs) ToNetworkInterfaceIPConfigurationPtrOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceIPConfigurationOutput).ToNetworkInterfaceIPConfigurationPtrOutputWithContext(ctx)
+// Office 365 breakout categories.
+func (o Office365PolicyPropertiesPtrOutput) BreakOutCategories() BreakOutCategoryPoliciesPtrOutput {
+ return o.ApplyT(func(v *Office365PolicyProperties) *BreakOutCategoryPolicies {
+ if v == nil {
+ return nil
+ }
+ return v.BreakOutCategories
+ }).(BreakOutCategoryPoliciesPtrOutput)
}
-// NetworkInterfaceIPConfigurationPtrInput is an input type that accepts NetworkInterfaceIPConfigurationArgs, NetworkInterfaceIPConfigurationPtr and NetworkInterfaceIPConfigurationPtrOutput values.
-// You can construct a concrete instance of `NetworkInterfaceIPConfigurationPtrInput` via:
-//
-// NetworkInterfaceIPConfigurationArgs{...}
-//
-// or:
-//
-// nil
-type NetworkInterfaceIPConfigurationPtrInput interface {
- pulumi.Input
-
- ToNetworkInterfaceIPConfigurationPtrOutput() NetworkInterfaceIPConfigurationPtrOutput
- ToNetworkInterfaceIPConfigurationPtrOutputWithContext(context.Context) NetworkInterfaceIPConfigurationPtrOutput
+// Network Virtual Appliance Sku Properties.
+type Office365PolicyPropertiesResponse struct {
+ // Office 365 breakout categories.
+ BreakOutCategories *BreakOutCategoryPoliciesResponse `pulumi:"breakOutCategories"`
}
-type networkInterfaceIPConfigurationPtrType NetworkInterfaceIPConfigurationArgs
+// Network Virtual Appliance Sku Properties.
+type Office365PolicyPropertiesResponseOutput struct{ *pulumi.OutputState }
-func NetworkInterfaceIPConfigurationPtr(v *NetworkInterfaceIPConfigurationArgs) NetworkInterfaceIPConfigurationPtrInput {
- return (*networkInterfaceIPConfigurationPtrType)(v)
+func (Office365PolicyPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*Office365PolicyPropertiesResponse)(nil)).Elem()
}
-func (*networkInterfaceIPConfigurationPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkInterfaceIPConfiguration)(nil)).Elem()
+func (o Office365PolicyPropertiesResponseOutput) ToOffice365PolicyPropertiesResponseOutput() Office365PolicyPropertiesResponseOutput {
+ return o
}
-func (i *networkInterfaceIPConfigurationPtrType) ToNetworkInterfaceIPConfigurationPtrOutput() NetworkInterfaceIPConfigurationPtrOutput {
- return i.ToNetworkInterfaceIPConfigurationPtrOutputWithContext(context.Background())
+func (o Office365PolicyPropertiesResponseOutput) ToOffice365PolicyPropertiesResponseOutputWithContext(ctx context.Context) Office365PolicyPropertiesResponseOutput {
+ return o
}
-func (i *networkInterfaceIPConfigurationPtrType) ToNetworkInterfaceIPConfigurationPtrOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceIPConfigurationPtrOutput)
+// Office 365 breakout categories.
+func (o Office365PolicyPropertiesResponseOutput) BreakOutCategories() BreakOutCategoryPoliciesResponsePtrOutput {
+ return o.ApplyT(func(v Office365PolicyPropertiesResponse) *BreakOutCategoryPoliciesResponse {
+ return v.BreakOutCategories
+ }).(BreakOutCategoryPoliciesResponsePtrOutput)
}
-// NetworkInterfaceIPConfigurationArrayInput is an input type that accepts NetworkInterfaceIPConfigurationArray and NetworkInterfaceIPConfigurationArrayOutput values.
-// You can construct a concrete instance of `NetworkInterfaceIPConfigurationArrayInput` via:
-//
-// NetworkInterfaceIPConfigurationArray{ NetworkInterfaceIPConfigurationArgs{...} }
-type NetworkInterfaceIPConfigurationArrayInput interface {
- pulumi.Input
+type Office365PolicyPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
- ToNetworkInterfaceIPConfigurationArrayOutput() NetworkInterfaceIPConfigurationArrayOutput
- ToNetworkInterfaceIPConfigurationArrayOutputWithContext(context.Context) NetworkInterfaceIPConfigurationArrayOutput
+func (Office365PolicyPropertiesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**Office365PolicyPropertiesResponse)(nil)).Elem()
}
-type NetworkInterfaceIPConfigurationArray []NetworkInterfaceIPConfigurationInput
-
-func (NetworkInterfaceIPConfigurationArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkInterfaceIPConfiguration)(nil)).Elem()
+func (o Office365PolicyPropertiesResponsePtrOutput) ToOffice365PolicyPropertiesResponsePtrOutput() Office365PolicyPropertiesResponsePtrOutput {
+ return o
}
-func (i NetworkInterfaceIPConfigurationArray) ToNetworkInterfaceIPConfigurationArrayOutput() NetworkInterfaceIPConfigurationArrayOutput {
- return i.ToNetworkInterfaceIPConfigurationArrayOutputWithContext(context.Background())
+func (o Office365PolicyPropertiesResponsePtrOutput) ToOffice365PolicyPropertiesResponsePtrOutputWithContext(ctx context.Context) Office365PolicyPropertiesResponsePtrOutput {
+ return o
}
-func (i NetworkInterfaceIPConfigurationArray) ToNetworkInterfaceIPConfigurationArrayOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceIPConfigurationArrayOutput)
+func (o Office365PolicyPropertiesResponsePtrOutput) Elem() Office365PolicyPropertiesResponseOutput {
+ return o.ApplyT(func(v *Office365PolicyPropertiesResponse) Office365PolicyPropertiesResponse {
+ if v != nil {
+ return *v
+ }
+ var ret Office365PolicyPropertiesResponse
+ return ret
+ }).(Office365PolicyPropertiesResponseOutput)
}
-// IPConfiguration in a network interface.
-type NetworkInterfaceIPConfigurationOutput struct{ *pulumi.OutputState }
-
-func (NetworkInterfaceIPConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkInterfaceIPConfiguration)(nil)).Elem()
+// Office 365 breakout categories.
+func (o Office365PolicyPropertiesResponsePtrOutput) BreakOutCategories() BreakOutCategoryPoliciesResponsePtrOutput {
+ return o.ApplyT(func(v *Office365PolicyPropertiesResponse) *BreakOutCategoryPoliciesResponse {
+ if v == nil {
+ return nil
+ }
+ return v.BreakOutCategories
+ }).(BreakOutCategoryPoliciesResponsePtrOutput)
}
-func (o NetworkInterfaceIPConfigurationOutput) ToNetworkInterfaceIPConfigurationOutput() NetworkInterfaceIPConfigurationOutput {
- return o
+// Describes a column to sort
+type OrderBy struct {
+ // Describes the actual column name to sort by
+ Field *string `pulumi:"field"`
+ // Describes if results should be in ascending/descending order
+ Order *string `pulumi:"order"`
}
-func (o NetworkInterfaceIPConfigurationOutput) ToNetworkInterfaceIPConfigurationOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationOutput {
- return o
+// OrderByInput is an input type that accepts OrderByArgs and OrderByOutput values.
+// You can construct a concrete instance of `OrderByInput` via:
+//
+// OrderByArgs{...}
+type OrderByInput interface {
+ pulumi.Input
+
+ ToOrderByOutput() OrderByOutput
+ ToOrderByOutputWithContext(context.Context) OrderByOutput
}
-func (o NetworkInterfaceIPConfigurationOutput) ToNetworkInterfaceIPConfigurationPtrOutput() NetworkInterfaceIPConfigurationPtrOutput {
- return o.ToNetworkInterfaceIPConfigurationPtrOutputWithContext(context.Background())
+// Describes a column to sort
+type OrderByArgs struct {
+ // Describes the actual column name to sort by
+ Field pulumi.StringPtrInput `pulumi:"field"`
+ // Describes if results should be in ascending/descending order
+ Order pulumi.StringPtrInput `pulumi:"order"`
}
-func (o NetworkInterfaceIPConfigurationOutput) ToNetworkInterfaceIPConfigurationPtrOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v NetworkInterfaceIPConfiguration) *NetworkInterfaceIPConfiguration {
- return &v
- }).(NetworkInterfaceIPConfigurationPtrOutput)
+func (OrderByArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*OrderBy)(nil)).Elem()
}
-// The reference to ApplicationGatewayBackendAddressPool resource.
-func (o NetworkInterfaceIPConfigurationOutput) ApplicationGatewayBackendAddressPools() ApplicationGatewayBackendAddressPoolArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfiguration) []ApplicationGatewayBackendAddressPool {
- return v.ApplicationGatewayBackendAddressPools
- }).(ApplicationGatewayBackendAddressPoolArrayOutput)
+func (i OrderByArgs) ToOrderByOutput() OrderByOutput {
+ return i.ToOrderByOutputWithContext(context.Background())
}
-// Application security groups in which the IP configuration is included.
-func (o NetworkInterfaceIPConfigurationOutput) ApplicationSecurityGroups() ApplicationSecurityGroupTypeArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfiguration) []ApplicationSecurityGroupType {
- return v.ApplicationSecurityGroups
- }).(ApplicationSecurityGroupTypeArrayOutput)
+func (i OrderByArgs) ToOrderByOutputWithContext(ctx context.Context) OrderByOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(OrderByOutput)
}
-// The reference to gateway load balancer frontend IP.
-func (o NetworkInterfaceIPConfigurationOutput) GatewayLoadBalancer() SubResourcePtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *SubResource { return v.GatewayLoadBalancer }).(SubResourcePtrOutput)
+func (i OrderByArgs) ToOrderByPtrOutput() OrderByPtrOutput {
+ return i.ToOrderByPtrOutputWithContext(context.Background())
}
-// Resource ID.
-func (o NetworkInterfaceIPConfigurationOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (i OrderByArgs) ToOrderByPtrOutputWithContext(ctx context.Context) OrderByPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(OrderByOutput).ToOrderByPtrOutputWithContext(ctx)
}
-// The reference to LoadBalancerBackendAddressPool resource.
-func (o NetworkInterfaceIPConfigurationOutput) LoadBalancerBackendAddressPools() BackendAddressPoolArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfiguration) []BackendAddressPool { return v.LoadBalancerBackendAddressPools }).(BackendAddressPoolArrayOutput)
+// OrderByPtrInput is an input type that accepts OrderByArgs, OrderByPtr and OrderByPtrOutput values.
+// You can construct a concrete instance of `OrderByPtrInput` via:
+//
+// OrderByArgs{...}
+//
+// or:
+//
+// nil
+type OrderByPtrInput interface {
+ pulumi.Input
+
+ ToOrderByPtrOutput() OrderByPtrOutput
+ ToOrderByPtrOutputWithContext(context.Context) OrderByPtrOutput
}
-// A list of references of LoadBalancerInboundNatRules.
-func (o NetworkInterfaceIPConfigurationOutput) LoadBalancerInboundNatRules() InboundNatRuleTypeArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfiguration) []InboundNatRuleType { return v.LoadBalancerInboundNatRules }).(InboundNatRuleTypeArrayOutput)
+type orderByPtrType OrderByArgs
+
+func OrderByPtr(v *OrderByArgs) OrderByPtrInput {
+ return (*orderByPtrType)(v)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o NetworkInterfaceIPConfigurationOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (*orderByPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**OrderBy)(nil)).Elem()
}
-// Whether this is a primary customer address on the network interface.
-func (o NetworkInterfaceIPConfigurationOutput) Primary() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
+func (i *orderByPtrType) ToOrderByPtrOutput() OrderByPtrOutput {
+ return i.ToOrderByPtrOutputWithContext(context.Background())
}
-// Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
-func (o NetworkInterfaceIPConfigurationOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+func (i *orderByPtrType) ToOrderByPtrOutputWithContext(ctx context.Context) OrderByPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(OrderByPtrOutput)
}
-// The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
-func (o NetworkInterfaceIPConfigurationOutput) PrivateIPAddressPrefixLength() pulumi.IntPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *int { return v.PrivateIPAddressPrefixLength }).(pulumi.IntPtrOutput)
+// Describes a column to sort
+type OrderByOutput struct{ *pulumi.OutputState }
+
+func (OrderByOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*OrderBy)(nil)).Elem()
}
-// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
-func (o NetworkInterfaceIPConfigurationOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
+func (o OrderByOutput) ToOrderByOutput() OrderByOutput {
+ return o
}
-// The private IP address allocation method.
-func (o NetworkInterfaceIPConfigurationOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+func (o OrderByOutput) ToOrderByOutputWithContext(ctx context.Context) OrderByOutput {
+ return o
}
-// Public IP address bound to the IP configuration.
-func (o NetworkInterfaceIPConfigurationOutput) PublicIPAddress() PublicIPAddressTypePtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *PublicIPAddressType { return v.PublicIPAddress }).(PublicIPAddressTypePtrOutput)
+func (o OrderByOutput) ToOrderByPtrOutput() OrderByPtrOutput {
+ return o.ToOrderByPtrOutputWithContext(context.Background())
}
-// Subnet bound to the IP configuration.
-func (o NetworkInterfaceIPConfigurationOutput) Subnet() SubnetTypePtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *SubnetType { return v.Subnet }).(SubnetTypePtrOutput)
+func (o OrderByOutput) ToOrderByPtrOutputWithContext(ctx context.Context) OrderByPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v OrderBy) *OrderBy {
+ return &v
+ }).(OrderByPtrOutput)
}
-// Resource type.
-func (o NetworkInterfaceIPConfigurationOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfiguration) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Describes the actual column name to sort by
+func (o OrderByOutput) Field() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v OrderBy) *string { return v.Field }).(pulumi.StringPtrOutput)
}
-// The reference to Virtual Network Taps.
-func (o NetworkInterfaceIPConfigurationOutput) VirtualNetworkTaps() VirtualNetworkTapTypeArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfiguration) []VirtualNetworkTapType { return v.VirtualNetworkTaps }).(VirtualNetworkTapTypeArrayOutput)
+// Describes if results should be in ascending/descending order
+func (o OrderByOutput) Order() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v OrderBy) *string { return v.Order }).(pulumi.StringPtrOutput)
}
-type NetworkInterfaceIPConfigurationPtrOutput struct{ *pulumi.OutputState }
+type OrderByPtrOutput struct{ *pulumi.OutputState }
-func (NetworkInterfaceIPConfigurationPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkInterfaceIPConfiguration)(nil)).Elem()
+func (OrderByPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**OrderBy)(nil)).Elem()
}
-func (o NetworkInterfaceIPConfigurationPtrOutput) ToNetworkInterfaceIPConfigurationPtrOutput() NetworkInterfaceIPConfigurationPtrOutput {
+func (o OrderByPtrOutput) ToOrderByPtrOutput() OrderByPtrOutput {
return o
}
-func (o NetworkInterfaceIPConfigurationPtrOutput) ToNetworkInterfaceIPConfigurationPtrOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationPtrOutput {
+func (o OrderByPtrOutput) ToOrderByPtrOutputWithContext(ctx context.Context) OrderByPtrOutput {
return o
}
-func (o NetworkInterfaceIPConfigurationPtrOutput) Elem() NetworkInterfaceIPConfigurationOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) NetworkInterfaceIPConfiguration {
+func (o OrderByPtrOutput) Elem() OrderByOutput {
+ return o.ApplyT(func(v *OrderBy) OrderBy {
if v != nil {
return *v
}
- var ret NetworkInterfaceIPConfiguration
+ var ret OrderBy
return ret
- }).(NetworkInterfaceIPConfigurationOutput)
-}
-
-// The reference to ApplicationGatewayBackendAddressPool resource.
-func (o NetworkInterfaceIPConfigurationPtrOutput) ApplicationGatewayBackendAddressPools() ApplicationGatewayBackendAddressPoolArrayOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) []ApplicationGatewayBackendAddressPool {
- if v == nil {
- return nil
- }
- return v.ApplicationGatewayBackendAddressPools
- }).(ApplicationGatewayBackendAddressPoolArrayOutput)
-}
-
-// Application security groups in which the IP configuration is included.
-func (o NetworkInterfaceIPConfigurationPtrOutput) ApplicationSecurityGroups() ApplicationSecurityGroupTypeArrayOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) []ApplicationSecurityGroupType {
- if v == nil {
- return nil
- }
- return v.ApplicationSecurityGroups
- }).(ApplicationSecurityGroupTypeArrayOutput)
+ }).(OrderByOutput)
}
-// The reference to gateway load balancer frontend IP.
-func (o NetworkInterfaceIPConfigurationPtrOutput) GatewayLoadBalancer() SubResourcePtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *SubResource {
+// Describes the actual column name to sort by
+func (o OrderByPtrOutput) Field() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *OrderBy) *string {
if v == nil {
return nil
}
- return v.GatewayLoadBalancer
- }).(SubResourcePtrOutput)
+ return v.Field
+ }).(pulumi.StringPtrOutput)
}
-// Resource ID.
-func (o NetworkInterfaceIPConfigurationPtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *string {
+// Describes if results should be in ascending/descending order
+func (o OrderByPtrOutput) Order() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *OrderBy) *string {
if v == nil {
return nil
}
- return v.Id
+ return v.Order
}).(pulumi.StringPtrOutput)
}
-// The reference to LoadBalancerBackendAddressPool resource.
-func (o NetworkInterfaceIPConfigurationPtrOutput) LoadBalancerBackendAddressPools() BackendAddressPoolArrayOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) []BackendAddressPool {
- if v == nil {
- return nil
- }
- return v.LoadBalancerBackendAddressPools
- }).(BackendAddressPoolArrayOutput)
+// Outbound rule of the load balancer.
+type OutboundRule struct {
+ // The number of outbound ports to be used for NAT.
+ AllocatedOutboundPorts *int `pulumi:"allocatedOutboundPorts"`
+ // A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.
+ BackendAddressPool SubResource `pulumi:"backendAddressPool"`
+ // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+ EnableTcpReset *bool `pulumi:"enableTcpReset"`
+ // The Frontend IP addresses of the load balancer.
+ FrontendIPConfigurations []SubResource `pulumi:"frontendIPConfigurations"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The timeout for the TCP idle connection.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The protocol for the outbound rule in load balancer.
+ Protocol string `pulumi:"protocol"`
}
-// A list of references of LoadBalancerInboundNatRules.
-func (o NetworkInterfaceIPConfigurationPtrOutput) LoadBalancerInboundNatRules() InboundNatRuleTypeArrayOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) []InboundNatRuleType {
- if v == nil {
- return nil
- }
- return v.LoadBalancerInboundNatRules
- }).(InboundNatRuleTypeArrayOutput)
-}
+// OutboundRuleInput is an input type that accepts OutboundRuleArgs and OutboundRuleOutput values.
+// You can construct a concrete instance of `OutboundRuleInput` via:
+//
+// OutboundRuleArgs{...}
+type OutboundRuleInput interface {
+ pulumi.Input
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o NetworkInterfaceIPConfigurationPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+ ToOutboundRuleOutput() OutboundRuleOutput
+ ToOutboundRuleOutputWithContext(context.Context) OutboundRuleOutput
}
-// Whether this is a primary customer address on the network interface.
-func (o NetworkInterfaceIPConfigurationPtrOutput) Primary() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *bool {
- if v == nil {
- return nil
- }
- return v.Primary
- }).(pulumi.BoolPtrOutput)
+// Outbound rule of the load balancer.
+type OutboundRuleArgs struct {
+ // The number of outbound ports to be used for NAT.
+ AllocatedOutboundPorts pulumi.IntPtrInput `pulumi:"allocatedOutboundPorts"`
+ // A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.
+ BackendAddressPool SubResourceInput `pulumi:"backendAddressPool"`
+ // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+ EnableTcpReset pulumi.BoolPtrInput `pulumi:"enableTcpReset"`
+ // The Frontend IP addresses of the load balancer.
+ FrontendIPConfigurations SubResourceArrayInput `pulumi:"frontendIPConfigurations"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The timeout for the TCP idle connection.
+ IdleTimeoutInMinutes pulumi.IntPtrInput `pulumi:"idleTimeoutInMinutes"`
+ // The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The protocol for the outbound rule in load balancer.
+ Protocol pulumi.StringInput `pulumi:"protocol"`
}
-// Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
-func (o NetworkInterfaceIPConfigurationPtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddress
- }).(pulumi.StringPtrOutput)
+func (OutboundRuleArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*OutboundRule)(nil)).Elem()
}
-// The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
-func (o NetworkInterfaceIPConfigurationPtrOutput) PrivateIPAddressPrefixLength() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *int {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddressPrefixLength
- }).(pulumi.IntPtrOutput)
+func (i OutboundRuleArgs) ToOutboundRuleOutput() OutboundRuleOutput {
+ return i.ToOutboundRuleOutputWithContext(context.Background())
}
-// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
-func (o NetworkInterfaceIPConfigurationPtrOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddressVersion
- }).(pulumi.StringPtrOutput)
+func (i OutboundRuleArgs) ToOutboundRuleOutputWithContext(ctx context.Context) OutboundRuleOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(OutboundRuleOutput)
}
-// The private IP address allocation method.
-func (o NetworkInterfaceIPConfigurationPtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAllocationMethod
- }).(pulumi.StringPtrOutput)
-}
+// OutboundRuleArrayInput is an input type that accepts OutboundRuleArray and OutboundRuleArrayOutput values.
+// You can construct a concrete instance of `OutboundRuleArrayInput` via:
+//
+// OutboundRuleArray{ OutboundRuleArgs{...} }
+type OutboundRuleArrayInput interface {
+ pulumi.Input
-// Public IP address bound to the IP configuration.
-func (o NetworkInterfaceIPConfigurationPtrOutput) PublicIPAddress() PublicIPAddressTypePtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *PublicIPAddressType {
- if v == nil {
- return nil
- }
- return v.PublicIPAddress
- }).(PublicIPAddressTypePtrOutput)
+ ToOutboundRuleArrayOutput() OutboundRuleArrayOutput
+ ToOutboundRuleArrayOutputWithContext(context.Context) OutboundRuleArrayOutput
}
-// Subnet bound to the IP configuration.
-func (o NetworkInterfaceIPConfigurationPtrOutput) Subnet() SubnetTypePtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *SubnetType {
- if v == nil {
- return nil
- }
- return v.Subnet
- }).(SubnetTypePtrOutput)
+type OutboundRuleArray []OutboundRuleInput
+
+func (OutboundRuleArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]OutboundRule)(nil)).Elem()
}
-// Resource type.
-func (o NetworkInterfaceIPConfigurationPtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) *string {
- if v == nil {
- return nil
- }
- return v.Type
- }).(pulumi.StringPtrOutput)
+func (i OutboundRuleArray) ToOutboundRuleArrayOutput() OutboundRuleArrayOutput {
+ return i.ToOutboundRuleArrayOutputWithContext(context.Background())
}
-// The reference to Virtual Network Taps.
-func (o NetworkInterfaceIPConfigurationPtrOutput) VirtualNetworkTaps() VirtualNetworkTapTypeArrayOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfiguration) []VirtualNetworkTapType {
- if v == nil {
- return nil
- }
- return v.VirtualNetworkTaps
- }).(VirtualNetworkTapTypeArrayOutput)
+func (i OutboundRuleArray) ToOutboundRuleArrayOutputWithContext(ctx context.Context) OutboundRuleArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(OutboundRuleArrayOutput)
}
-type NetworkInterfaceIPConfigurationArrayOutput struct{ *pulumi.OutputState }
+// Outbound rule of the load balancer.
+type OutboundRuleOutput struct{ *pulumi.OutputState }
-func (NetworkInterfaceIPConfigurationArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkInterfaceIPConfiguration)(nil)).Elem()
+func (OutboundRuleOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*OutboundRule)(nil)).Elem()
}
-func (o NetworkInterfaceIPConfigurationArrayOutput) ToNetworkInterfaceIPConfigurationArrayOutput() NetworkInterfaceIPConfigurationArrayOutput {
+func (o OutboundRuleOutput) ToOutboundRuleOutput() OutboundRuleOutput {
return o
}
-func (o NetworkInterfaceIPConfigurationArrayOutput) ToNetworkInterfaceIPConfigurationArrayOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationArrayOutput {
+func (o OutboundRuleOutput) ToOutboundRuleOutputWithContext(ctx context.Context) OutboundRuleOutput {
return o
}
-func (o NetworkInterfaceIPConfigurationArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceIPConfigurationOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceIPConfiguration {
- return vs[0].([]NetworkInterfaceIPConfiguration)[vs[1].(int)]
- }).(NetworkInterfaceIPConfigurationOutput)
+// The number of outbound ports to be used for NAT.
+func (o OutboundRuleOutput) AllocatedOutboundPorts() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v OutboundRule) *int { return v.AllocatedOutboundPorts }).(pulumi.IntPtrOutput)
}
-// PrivateLinkConnection properties for the network interface.
-type NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse struct {
- // List of FQDNs for current private link connection.
- Fqdns []string `pulumi:"fqdns"`
- // The group ID for current private link connection.
- GroupId string `pulumi:"groupId"`
- // The required member name for current private link connection.
- RequiredMemberName string `pulumi:"requiredMemberName"`
+// A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.
+func (o OutboundRuleOutput) BackendAddressPool() SubResourceOutput {
+ return o.ApplyT(func(v OutboundRule) SubResource { return v.BackendAddressPool }).(SubResourceOutput)
}
-// PrivateLinkConnection properties for the network interface.
-type NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput struct{ *pulumi.OutputState }
-
-func (NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse)(nil)).Elem()
+// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+func (o OutboundRuleOutput) EnableTcpReset() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v OutboundRule) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
}
-func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) ToNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput() NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput {
- return o
+// The Frontend IP addresses of the load balancer.
+func (o OutboundRuleOutput) FrontendIPConfigurations() SubResourceArrayOutput {
+ return o.ApplyT(func(v OutboundRule) []SubResource { return v.FrontendIPConfigurations }).(SubResourceArrayOutput)
}
-func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) ToNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput {
- return o
+// Resource ID.
+func (o OutboundRuleOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v OutboundRule) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// List of FQDNs for current private link connection.
-func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) Fqdns() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) []string {
- return v.Fqdns
- }).(pulumi.StringArrayOutput)
+// The timeout for the TCP idle connection.
+func (o OutboundRuleOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v OutboundRule) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-// The group ID for current private link connection.
-func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) GroupId() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) string {
- return v.GroupId
- }).(pulumi.StringOutput)
+// The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource.
+func (o OutboundRuleOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v OutboundRule) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The required member name for current private link connection.
-func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput) RequiredMemberName() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) string {
- return v.RequiredMemberName
- }).(pulumi.StringOutput)
+// The protocol for the outbound rule in load balancer.
+func (o OutboundRuleOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v OutboundRule) string { return v.Protocol }).(pulumi.StringOutput)
}
-type NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+type OutboundRuleArrayOutput struct{ *pulumi.OutputState }
-func (NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse)(nil)).Elem()
+func (OutboundRuleArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]OutboundRule)(nil)).Elem()
}
-func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) ToNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput() NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput {
+func (o OutboundRuleArrayOutput) ToOutboundRuleArrayOutput() OutboundRuleArrayOutput {
return o
}
-func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) ToNetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput {
+func (o OutboundRuleArrayOutput) ToOutboundRuleArrayOutputWithContext(ctx context.Context) OutboundRuleArrayOutput {
return o
}
-func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) Elem() NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse {
- if v != nil {
- return *v
- }
- var ret NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse
- return ret
- }).(NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput)
-}
-
-// List of FQDNs for current private link connection.
-func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) Fqdns() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) []string {
- if v == nil {
- return nil
- }
- return v.Fqdns
- }).(pulumi.StringArrayOutput)
+func (o OutboundRuleArrayOutput) Index(i pulumi.IntInput) OutboundRuleOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) OutboundRule {
+ return vs[0].([]OutboundRule)[vs[1].(int)]
+ }).(OutboundRuleOutput)
}
-// The group ID for current private link connection.
-func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) GroupId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) *string {
- if v == nil {
- return nil
- }
- return &v.GroupId
- }).(pulumi.StringPtrOutput)
-}
-
-// The required member name for current private link connection.
-func (o NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput) RequiredMemberName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse) *string {
- if v == nil {
- return nil
- }
- return &v.RequiredMemberName
- }).(pulumi.StringPtrOutput)
-}
-
-// IPConfiguration in a network interface.
-type NetworkInterfaceIPConfigurationResponse struct {
- // The reference to ApplicationGatewayBackendAddressPool resource.
- ApplicationGatewayBackendAddressPools []ApplicationGatewayBackendAddressPoolResponse `pulumi:"applicationGatewayBackendAddressPools"`
- // Application security groups in which the IP configuration is included.
- ApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"applicationSecurityGroups"`
+// Outbound rule of the load balancer.
+type OutboundRuleResponse struct {
+ // The number of outbound ports to be used for NAT.
+ AllocatedOutboundPorts *int `pulumi:"allocatedOutboundPorts"`
+ // A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.
+ BackendAddressPool SubResourceResponse `pulumi:"backendAddressPool"`
+ // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+ EnableTcpReset *bool `pulumi:"enableTcpReset"`
// A unique read-only string that changes whenever the resource is updated.
Etag string `pulumi:"etag"`
- // The reference to gateway load balancer frontend IP.
- GatewayLoadBalancer *SubResourceResponse `pulumi:"gatewayLoadBalancer"`
+ // The Frontend IP addresses of the load balancer.
+ FrontendIPConfigurations []SubResourceResponse `pulumi:"frontendIPConfigurations"`
// Resource ID.
Id *string `pulumi:"id"`
- // The reference to LoadBalancerBackendAddressPool resource.
- LoadBalancerBackendAddressPools []BackendAddressPoolResponse `pulumi:"loadBalancerBackendAddressPools"`
- // A list of references of LoadBalancerInboundNatRules.
- LoadBalancerInboundNatRules []InboundNatRuleResponse `pulumi:"loadBalancerInboundNatRules"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ // The timeout for the TCP idle connection.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource.
Name *string `pulumi:"name"`
- // Whether this is a primary customer address on the network interface.
- Primary *bool `pulumi:"primary"`
- // Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
- PrivateIPAddressPrefixLength *int `pulumi:"privateIPAddressPrefixLength"`
- // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
- PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
- // The private IP address allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // PrivateLinkConnection properties for the network interface.
- PrivateLinkConnectionProperties NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse `pulumi:"privateLinkConnectionProperties"`
- // The provisioning state of the network interface IP configuration.
+ // The protocol for the outbound rule in load balancer.
+ Protocol string `pulumi:"protocol"`
+ // The provisioning state of the outbound rule resource.
ProvisioningState string `pulumi:"provisioningState"`
- // Public IP address bound to the IP configuration.
- PublicIPAddress *PublicIPAddressResponse `pulumi:"publicIPAddress"`
- // Subnet bound to the IP configuration.
- Subnet *SubnetResponse `pulumi:"subnet"`
- // Resource type.
- Type *string `pulumi:"type"`
- // The reference to Virtual Network Taps.
- VirtualNetworkTaps []VirtualNetworkTapResponse `pulumi:"virtualNetworkTaps"`
+ // Type of the resource.
+ Type string `pulumi:"type"`
}
-// Defaults sets the appropriate defaults for NetworkInterfaceIPConfigurationResponse
-func (val *NetworkInterfaceIPConfigurationResponse) Defaults() *NetworkInterfaceIPConfigurationResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
-
- tmp.Subnet = tmp.Subnet.Defaults()
+// Outbound rule of the load balancer.
+type OutboundRuleResponseOutput struct{ *pulumi.OutputState }
- return &tmp
+func (OutboundRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*OutboundRuleResponse)(nil)).Elem()
}
-// IPConfiguration in a network interface.
-type NetworkInterfaceIPConfigurationResponseOutput struct{ *pulumi.OutputState }
-
-func (NetworkInterfaceIPConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkInterfaceIPConfigurationResponse)(nil)).Elem()
+func (o OutboundRuleResponseOutput) ToOutboundRuleResponseOutput() OutboundRuleResponseOutput {
+ return o
}
-func (o NetworkInterfaceIPConfigurationResponseOutput) ToNetworkInterfaceIPConfigurationResponseOutput() NetworkInterfaceIPConfigurationResponseOutput {
+func (o OutboundRuleResponseOutput) ToOutboundRuleResponseOutputWithContext(ctx context.Context) OutboundRuleResponseOutput {
return o
}
-func (o NetworkInterfaceIPConfigurationResponseOutput) ToNetworkInterfaceIPConfigurationResponseOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationResponseOutput {
- return o
+// The number of outbound ports to be used for NAT.
+func (o OutboundRuleResponseOutput) AllocatedOutboundPorts() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v OutboundRuleResponse) *int { return v.AllocatedOutboundPorts }).(pulumi.IntPtrOutput)
}
-// The reference to ApplicationGatewayBackendAddressPool resource.
-func (o NetworkInterfaceIPConfigurationResponseOutput) ApplicationGatewayBackendAddressPools() ApplicationGatewayBackendAddressPoolResponseArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) []ApplicationGatewayBackendAddressPoolResponse {
- return v.ApplicationGatewayBackendAddressPools
- }).(ApplicationGatewayBackendAddressPoolResponseArrayOutput)
+// A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.
+func (o OutboundRuleResponseOutput) BackendAddressPool() SubResourceResponseOutput {
+ return o.ApplyT(func(v OutboundRuleResponse) SubResourceResponse { return v.BackendAddressPool }).(SubResourceResponseOutput)
}
-// Application security groups in which the IP configuration is included.
-func (o NetworkInterfaceIPConfigurationResponseOutput) ApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) []ApplicationSecurityGroupResponse {
- return v.ApplicationSecurityGroups
- }).(ApplicationSecurityGroupResponseArrayOutput)
+// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
+func (o OutboundRuleResponseOutput) EnableTcpReset() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v OutboundRuleResponse) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o NetworkInterfaceIPConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o OutboundRuleResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v OutboundRuleResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// The reference to gateway load balancer frontend IP.
-func (o NetworkInterfaceIPConfigurationResponseOutput) GatewayLoadBalancer() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *SubResourceResponse { return v.GatewayLoadBalancer }).(SubResourceResponsePtrOutput)
+// The Frontend IP addresses of the load balancer.
+func (o OutboundRuleResponseOutput) FrontendIPConfigurations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v OutboundRuleResponse) []SubResourceResponse { return v.FrontendIPConfigurations }).(SubResourceResponseArrayOutput)
}
// Resource ID.
-func (o NetworkInterfaceIPConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o OutboundRuleResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v OutboundRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The reference to LoadBalancerBackendAddressPool resource.
-func (o NetworkInterfaceIPConfigurationResponseOutput) LoadBalancerBackendAddressPools() BackendAddressPoolResponseArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) []BackendAddressPoolResponse {
- return v.LoadBalancerBackendAddressPools
- }).(BackendAddressPoolResponseArrayOutput)
+// The timeout for the TCP idle connection.
+func (o OutboundRuleResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v OutboundRuleResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-// A list of references of LoadBalancerInboundNatRules.
-func (o NetworkInterfaceIPConfigurationResponseOutput) LoadBalancerInboundNatRules() InboundNatRuleResponseArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) []InboundNatRuleResponse {
- return v.LoadBalancerInboundNatRules
- }).(InboundNatRuleResponseArrayOutput)
+// The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource.
+func (o OutboundRuleResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v OutboundRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o NetworkInterfaceIPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The protocol for the outbound rule in load balancer.
+func (o OutboundRuleResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v OutboundRuleResponse) string { return v.Protocol }).(pulumi.StringOutput)
}
-// Whether this is a primary customer address on the network interface.
-func (o NetworkInterfaceIPConfigurationResponseOutput) Primary() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
+// The provisioning state of the outbound rule resource.
+func (o OutboundRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v OutboundRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
-func (o NetworkInterfaceIPConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+// Type of the resource.
+func (o OutboundRuleResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v OutboundRuleResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
-func (o NetworkInterfaceIPConfigurationResponseOutput) PrivateIPAddressPrefixLength() pulumi.IntPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *int { return v.PrivateIPAddressPrefixLength }).(pulumi.IntPtrOutput)
+type OutboundRuleResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (OutboundRuleResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]OutboundRuleResponse)(nil)).Elem()
}
-// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
-func (o NetworkInterfaceIPConfigurationResponseOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
+func (o OutboundRuleResponseArrayOutput) ToOutboundRuleResponseArrayOutput() OutboundRuleResponseArrayOutput {
+ return o
}
-// The private IP address allocation method.
-func (o NetworkInterfaceIPConfigurationResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+func (o OutboundRuleResponseArrayOutput) ToOutboundRuleResponseArrayOutputWithContext(ctx context.Context) OutboundRuleResponseArrayOutput {
+ return o
+}
+
+func (o OutboundRuleResponseArrayOutput) Index(i pulumi.IntInput) OutboundRuleResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) OutboundRuleResponse {
+ return vs[0].([]OutboundRuleResponse)[vs[1].(int)]
+ }).(OutboundRuleResponseOutput)
}
-// PrivateLinkConnection properties for the network interface.
-func (o NetworkInterfaceIPConfigurationResponseOutput) PrivateLinkConnectionProperties() NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse {
- return v.PrivateLinkConnectionProperties
- }).(NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput)
+// Allow to exclude some variable satisfy the condition for the WAF check.
+type OwaspCrsExclusionEntry struct {
+ // The managed rule sets that are associated with the exclusion.
+ ExclusionManagedRuleSets []ExclusionManagedRuleSet `pulumi:"exclusionManagedRuleSets"`
+ // The variable to be excluded.
+ MatchVariable string `pulumi:"matchVariable"`
+ // When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
+ Selector string `pulumi:"selector"`
+ // When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
+ SelectorMatchOperator string `pulumi:"selectorMatchOperator"`
}
-// The provisioning state of the network interface IP configuration.
-func (o NetworkInterfaceIPConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// OwaspCrsExclusionEntryInput is an input type that accepts OwaspCrsExclusionEntryArgs and OwaspCrsExclusionEntryOutput values.
+// You can construct a concrete instance of `OwaspCrsExclusionEntryInput` via:
+//
+// OwaspCrsExclusionEntryArgs{...}
+type OwaspCrsExclusionEntryInput interface {
+ pulumi.Input
+
+ ToOwaspCrsExclusionEntryOutput() OwaspCrsExclusionEntryOutput
+ ToOwaspCrsExclusionEntryOutputWithContext(context.Context) OwaspCrsExclusionEntryOutput
}
-// Public IP address bound to the IP configuration.
-func (o NetworkInterfaceIPConfigurationResponseOutput) PublicIPAddress() PublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *PublicIPAddressResponse { return v.PublicIPAddress }).(PublicIPAddressResponsePtrOutput)
+// Allow to exclude some variable satisfy the condition for the WAF check.
+type OwaspCrsExclusionEntryArgs struct {
+ // The managed rule sets that are associated with the exclusion.
+ ExclusionManagedRuleSets ExclusionManagedRuleSetArrayInput `pulumi:"exclusionManagedRuleSets"`
+ // The variable to be excluded.
+ MatchVariable pulumi.StringInput `pulumi:"matchVariable"`
+ // When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
+ Selector pulumi.StringInput `pulumi:"selector"`
+ // When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
+ SelectorMatchOperator pulumi.StringInput `pulumi:"selectorMatchOperator"`
}
-// Subnet bound to the IP configuration.
-func (o NetworkInterfaceIPConfigurationResponseOutput) Subnet() SubnetResponsePtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
+func (OwaspCrsExclusionEntryArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*OwaspCrsExclusionEntry)(nil)).Elem()
}
-// Resource type.
-func (o NetworkInterfaceIPConfigurationResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+func (i OwaspCrsExclusionEntryArgs) ToOwaspCrsExclusionEntryOutput() OwaspCrsExclusionEntryOutput {
+ return i.ToOwaspCrsExclusionEntryOutputWithContext(context.Background())
}
-// The reference to Virtual Network Taps.
-func (o NetworkInterfaceIPConfigurationResponseOutput) VirtualNetworkTaps() VirtualNetworkTapResponseArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponse) []VirtualNetworkTapResponse {
- return v.VirtualNetworkTaps
- }).(VirtualNetworkTapResponseArrayOutput)
+func (i OwaspCrsExclusionEntryArgs) ToOwaspCrsExclusionEntryOutputWithContext(ctx context.Context) OwaspCrsExclusionEntryOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(OwaspCrsExclusionEntryOutput)
}
-type NetworkInterfaceIPConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
+// OwaspCrsExclusionEntryArrayInput is an input type that accepts OwaspCrsExclusionEntryArray and OwaspCrsExclusionEntryArrayOutput values.
+// You can construct a concrete instance of `OwaspCrsExclusionEntryArrayInput` via:
+//
+// OwaspCrsExclusionEntryArray{ OwaspCrsExclusionEntryArgs{...} }
+type OwaspCrsExclusionEntryArrayInput interface {
+ pulumi.Input
-func (NetworkInterfaceIPConfigurationResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkInterfaceIPConfigurationResponse)(nil)).Elem()
+ ToOwaspCrsExclusionEntryArrayOutput() OwaspCrsExclusionEntryArrayOutput
+ ToOwaspCrsExclusionEntryArrayOutputWithContext(context.Context) OwaspCrsExclusionEntryArrayOutput
}
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) ToNetworkInterfaceIPConfigurationResponsePtrOutput() NetworkInterfaceIPConfigurationResponsePtrOutput {
- return o
+type OwaspCrsExclusionEntryArray []OwaspCrsExclusionEntryInput
+
+func (OwaspCrsExclusionEntryArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]OwaspCrsExclusionEntry)(nil)).Elem()
}
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) ToNetworkInterfaceIPConfigurationResponsePtrOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationResponsePtrOutput {
- return o
+func (i OwaspCrsExclusionEntryArray) ToOwaspCrsExclusionEntryArrayOutput() OwaspCrsExclusionEntryArrayOutput {
+ return i.ToOwaspCrsExclusionEntryArrayOutputWithContext(context.Background())
}
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) Elem() NetworkInterfaceIPConfigurationResponseOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) NetworkInterfaceIPConfigurationResponse {
- if v != nil {
- return *v
- }
- var ret NetworkInterfaceIPConfigurationResponse
- return ret
- }).(NetworkInterfaceIPConfigurationResponseOutput)
+func (i OwaspCrsExclusionEntryArray) ToOwaspCrsExclusionEntryArrayOutputWithContext(ctx context.Context) OwaspCrsExclusionEntryArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(OwaspCrsExclusionEntryArrayOutput)
}
-// The reference to ApplicationGatewayBackendAddressPool resource.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) ApplicationGatewayBackendAddressPools() ApplicationGatewayBackendAddressPoolResponseArrayOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) []ApplicationGatewayBackendAddressPoolResponse {
- if v == nil {
- return nil
- }
- return v.ApplicationGatewayBackendAddressPools
- }).(ApplicationGatewayBackendAddressPoolResponseArrayOutput)
+// Allow to exclude some variable satisfy the condition for the WAF check.
+type OwaspCrsExclusionEntryOutput struct{ *pulumi.OutputState }
+
+func (OwaspCrsExclusionEntryOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*OwaspCrsExclusionEntry)(nil)).Elem()
}
-// Application security groups in which the IP configuration is included.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) ApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) []ApplicationSecurityGroupResponse {
- if v == nil {
- return nil
- }
- return v.ApplicationSecurityGroups
- }).(ApplicationSecurityGroupResponseArrayOutput)
+func (o OwaspCrsExclusionEntryOutput) ToOwaspCrsExclusionEntryOutput() OwaspCrsExclusionEntryOutput {
+ return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Etag
- }).(pulumi.StringPtrOutput)
+func (o OwaspCrsExclusionEntryOutput) ToOwaspCrsExclusionEntryOutputWithContext(ctx context.Context) OwaspCrsExclusionEntryOutput {
+ return o
}
-// The reference to gateway load balancer frontend IP.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) GatewayLoadBalancer() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.GatewayLoadBalancer
- }).(SubResourceResponsePtrOutput)
+// The managed rule sets that are associated with the exclusion.
+func (o OwaspCrsExclusionEntryOutput) ExclusionManagedRuleSets() ExclusionManagedRuleSetArrayOutput {
+ return o.ApplyT(func(v OwaspCrsExclusionEntry) []ExclusionManagedRuleSet { return v.ExclusionManagedRuleSets }).(ExclusionManagedRuleSetArrayOutput)
}
-// Resource ID.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+// The variable to be excluded.
+func (o OwaspCrsExclusionEntryOutput) MatchVariable() pulumi.StringOutput {
+ return o.ApplyT(func(v OwaspCrsExclusionEntry) string { return v.MatchVariable }).(pulumi.StringOutput)
}
-// The reference to LoadBalancerBackendAddressPool resource.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) LoadBalancerBackendAddressPools() BackendAddressPoolResponseArrayOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) []BackendAddressPoolResponse {
- if v == nil {
- return nil
- }
- return v.LoadBalancerBackendAddressPools
- }).(BackendAddressPoolResponseArrayOutput)
+// When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
+func (o OwaspCrsExclusionEntryOutput) Selector() pulumi.StringOutput {
+ return o.ApplyT(func(v OwaspCrsExclusionEntry) string { return v.Selector }).(pulumi.StringOutput)
}
-// A list of references of LoadBalancerInboundNatRules.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) LoadBalancerInboundNatRules() InboundNatRuleResponseArrayOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) []InboundNatRuleResponse {
- if v == nil {
- return nil
- }
- return v.LoadBalancerInboundNatRules
- }).(InboundNatRuleResponseArrayOutput)
+// When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
+func (o OwaspCrsExclusionEntryOutput) SelectorMatchOperator() pulumi.StringOutput {
+ return o.ApplyT(func(v OwaspCrsExclusionEntry) string { return v.SelectorMatchOperator }).(pulumi.StringOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+type OwaspCrsExclusionEntryArrayOutput struct{ *pulumi.OutputState }
+
+func (OwaspCrsExclusionEntryArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]OwaspCrsExclusionEntry)(nil)).Elem()
}
-// Whether this is a primary customer address on the network interface.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) Primary() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *bool {
- if v == nil {
- return nil
- }
- return v.Primary
- }).(pulumi.BoolPtrOutput)
+func (o OwaspCrsExclusionEntryArrayOutput) ToOwaspCrsExclusionEntryArrayOutput() OwaspCrsExclusionEntryArrayOutput {
+ return o
}
-// Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format /.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddress
- }).(pulumi.StringPtrOutput)
+func (o OwaspCrsExclusionEntryArrayOutput) ToOwaspCrsExclusionEntryArrayOutputWithContext(ctx context.Context) OwaspCrsExclusionEntryArrayOutput {
+ return o
}
-// The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) PrivateIPAddressPrefixLength() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *int {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddressPrefixLength
- }).(pulumi.IntPtrOutput)
+func (o OwaspCrsExclusionEntryArrayOutput) Index(i pulumi.IntInput) OwaspCrsExclusionEntryOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) OwaspCrsExclusionEntry {
+ return vs[0].([]OwaspCrsExclusionEntry)[vs[1].(int)]
+ }).(OwaspCrsExclusionEntryOutput)
}
-// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddressVersion
- }).(pulumi.StringPtrOutput)
+// Allow to exclude some variable satisfy the condition for the WAF check.
+type OwaspCrsExclusionEntryResponse struct {
+ // The managed rule sets that are associated with the exclusion.
+ ExclusionManagedRuleSets []ExclusionManagedRuleSetResponse `pulumi:"exclusionManagedRuleSets"`
+ // The variable to be excluded.
+ MatchVariable string `pulumi:"matchVariable"`
+ // When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
+ Selector string `pulumi:"selector"`
+ // When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
+ SelectorMatchOperator string `pulumi:"selectorMatchOperator"`
}
-// The private IP address allocation method.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAllocationMethod
- }).(pulumi.StringPtrOutput)
+// Allow to exclude some variable satisfy the condition for the WAF check.
+type OwaspCrsExclusionEntryResponseOutput struct{ *pulumi.OutputState }
+
+func (OwaspCrsExclusionEntryResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*OwaspCrsExclusionEntryResponse)(nil)).Elem()
}
-// PrivateLinkConnection properties for the network interface.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) PrivateLinkConnectionProperties() NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse {
- if v == nil {
- return nil
- }
- return &v.PrivateLinkConnectionProperties
- }).(NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput)
+func (o OwaspCrsExclusionEntryResponseOutput) ToOwaspCrsExclusionEntryResponseOutput() OwaspCrsExclusionEntryResponseOutput {
+ return o
}
-// The provisioning state of the network interface IP configuration.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+func (o OwaspCrsExclusionEntryResponseOutput) ToOwaspCrsExclusionEntryResponseOutputWithContext(ctx context.Context) OwaspCrsExclusionEntryResponseOutput {
+ return o
}
-// Public IP address bound to the IP configuration.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) PublicIPAddress() PublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *PublicIPAddressResponse {
- if v == nil {
- return nil
- }
- return v.PublicIPAddress
- }).(PublicIPAddressResponsePtrOutput)
+// The managed rule sets that are associated with the exclusion.
+func (o OwaspCrsExclusionEntryResponseOutput) ExclusionManagedRuleSets() ExclusionManagedRuleSetResponseArrayOutput {
+ return o.ApplyT(func(v OwaspCrsExclusionEntryResponse) []ExclusionManagedRuleSetResponse {
+ return v.ExclusionManagedRuleSets
+ }).(ExclusionManagedRuleSetResponseArrayOutput)
}
-// Subnet bound to the IP configuration.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) Subnet() SubnetResponsePtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *SubnetResponse {
- if v == nil {
- return nil
- }
- return v.Subnet
- }).(SubnetResponsePtrOutput)
+// The variable to be excluded.
+func (o OwaspCrsExclusionEntryResponseOutput) MatchVariable() pulumi.StringOutput {
+ return o.ApplyT(func(v OwaspCrsExclusionEntryResponse) string { return v.MatchVariable }).(pulumi.StringOutput)
}
-// Resource type.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) *string {
- if v == nil {
- return nil
- }
- return v.Type
- }).(pulumi.StringPtrOutput)
+// When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
+func (o OwaspCrsExclusionEntryResponseOutput) Selector() pulumi.StringOutput {
+ return o.ApplyT(func(v OwaspCrsExclusionEntryResponse) string { return v.Selector }).(pulumi.StringOutput)
}
-// The reference to Virtual Network Taps.
-func (o NetworkInterfaceIPConfigurationResponsePtrOutput) VirtualNetworkTaps() VirtualNetworkTapResponseArrayOutput {
- return o.ApplyT(func(v *NetworkInterfaceIPConfigurationResponse) []VirtualNetworkTapResponse {
- if v == nil {
- return nil
- }
- return v.VirtualNetworkTaps
- }).(VirtualNetworkTapResponseArrayOutput)
+// When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
+func (o OwaspCrsExclusionEntryResponseOutput) SelectorMatchOperator() pulumi.StringOutput {
+ return o.ApplyT(func(v OwaspCrsExclusionEntryResponse) string { return v.SelectorMatchOperator }).(pulumi.StringOutput)
}
-type NetworkInterfaceIPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+type OwaspCrsExclusionEntryResponseArrayOutput struct{ *pulumi.OutputState }
-func (NetworkInterfaceIPConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkInterfaceIPConfigurationResponse)(nil)).Elem()
+func (OwaspCrsExclusionEntryResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]OwaspCrsExclusionEntryResponse)(nil)).Elem()
}
-func (o NetworkInterfaceIPConfigurationResponseArrayOutput) ToNetworkInterfaceIPConfigurationResponseArrayOutput() NetworkInterfaceIPConfigurationResponseArrayOutput {
+func (o OwaspCrsExclusionEntryResponseArrayOutput) ToOwaspCrsExclusionEntryResponseArrayOutput() OwaspCrsExclusionEntryResponseArrayOutput {
return o
}
-func (o NetworkInterfaceIPConfigurationResponseArrayOutput) ToNetworkInterfaceIPConfigurationResponseArrayOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationResponseArrayOutput {
+func (o OwaspCrsExclusionEntryResponseArrayOutput) ToOwaspCrsExclusionEntryResponseArrayOutputWithContext(ctx context.Context) OwaspCrsExclusionEntryResponseArrayOutput {
return o
}
-func (o NetworkInterfaceIPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceIPConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceIPConfigurationResponse {
- return vs[0].([]NetworkInterfaceIPConfigurationResponse)[vs[1].(int)]
- }).(NetworkInterfaceIPConfigurationResponseOutput)
+func (o OwaspCrsExclusionEntryResponseArrayOutput) Index(i pulumi.IntInput) OwaspCrsExclusionEntryResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) OwaspCrsExclusionEntryResponse {
+ return vs[0].([]OwaspCrsExclusionEntryResponse)[vs[1].(int)]
+ }).(OwaspCrsExclusionEntryResponseOutput)
}
-// IPConfiguration in a network interface.
-type NetworkInterfaceIPConfigurationResponseV1 struct {
- // The reference of ApplicationGatewayBackendAddressPool resource.
- ApplicationGatewayBackendAddressPools []ApplicationGatewayBackendAddressPoolResponseV1 `pulumi:"applicationGatewayBackendAddressPools"`
- // Application security groups in which the IP configuration is included.
- ApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"applicationSecurityGroups"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
+// P2SConnectionConfiguration Resource.
+type P2SConnectionConfiguration struct {
+ // Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
+ EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
// Resource ID.
Id *string `pulumi:"id"`
- // The reference of LoadBalancerBackendAddressPool resource.
- LoadBalancerBackendAddressPools []BackendAddressPoolResponseV1 `pulumi:"loadBalancerBackendAddressPools"`
- // A list of references of LoadBalancerInboundNatRules.
- LoadBalancerInboundNatRules []InboundNatRuleResponseV1 `pulumi:"loadBalancerInboundNatRules"`
// The name of the resource that is unique within a resource group. This name can be used to access the resource.
Name *string `pulumi:"name"`
- // Gets whether this is a primary customer address on the network interface.
- Primary *bool `pulumi:"primary"`
- // Private IP address of the IP configuration.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
- PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
- // The private IP address allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // The provisioning state of the network interface IP configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState *string `pulumi:"provisioningState"`
- // Public IP address bound to the IP configuration.
- PublicIPAddress *PublicIPAddressResponse `pulumi:"publicIPAddress"`
- // Subnet bound to the IP configuration.
- Subnet *SubnetResponse `pulumi:"subnet"`
- // The reference to Virtual Network Taps.
- VirtualNetworkTaps []VirtualNetworkTapResponseV1 `pulumi:"virtualNetworkTaps"`
+ // The Routing Configuration indicating the associated and propagated route tables on this connection.
+ RoutingConfiguration *RoutingConfigurationType `pulumi:"routingConfiguration"`
+ // The reference to the address space resource which represents Address space for P2S VpnClient.
+ VpnClientAddressPool *AddressSpace `pulumi:"vpnClientAddressPool"`
}
-// Defaults sets the appropriate defaults for NetworkInterfaceIPConfigurationResponseV1
-func (val *NetworkInterfaceIPConfigurationResponseV1) Defaults() *NetworkInterfaceIPConfigurationResponseV1 {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.PublicIPAddress = tmp.PublicIPAddress.Defaults()
-
- tmp.Subnet = tmp.Subnet.Defaults()
+// P2SConnectionConfigurationInput is an input type that accepts P2SConnectionConfigurationArgs and P2SConnectionConfigurationOutput values.
+// You can construct a concrete instance of `P2SConnectionConfigurationInput` via:
+//
+// P2SConnectionConfigurationArgs{...}
+type P2SConnectionConfigurationInput interface {
+ pulumi.Input
- return &tmp
+ ToP2SConnectionConfigurationOutput() P2SConnectionConfigurationOutput
+ ToP2SConnectionConfigurationOutputWithContext(context.Context) P2SConnectionConfigurationOutput
}
-// IPConfiguration in a network interface.
-type NetworkInterfaceIPConfigurationResponseV1Output struct{ *pulumi.OutputState }
-
-func (NetworkInterfaceIPConfigurationResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkInterfaceIPConfigurationResponseV1)(nil)).Elem()
+// P2SConnectionConfiguration Resource.
+type P2SConnectionConfigurationArgs struct {
+ // Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
+ EnableInternetSecurity pulumi.BoolPtrInput `pulumi:"enableInternetSecurity"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The Routing Configuration indicating the associated and propagated route tables on this connection.
+ RoutingConfiguration RoutingConfigurationTypePtrInput `pulumi:"routingConfiguration"`
+ // The reference to the address space resource which represents Address space for P2S VpnClient.
+ VpnClientAddressPool AddressSpacePtrInput `pulumi:"vpnClientAddressPool"`
}
-func (o NetworkInterfaceIPConfigurationResponseV1Output) ToNetworkInterfaceIPConfigurationResponseV1Output() NetworkInterfaceIPConfigurationResponseV1Output {
- return o
+func (P2SConnectionConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SConnectionConfiguration)(nil)).Elem()
}
-func (o NetworkInterfaceIPConfigurationResponseV1Output) ToNetworkInterfaceIPConfigurationResponseV1OutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationResponseV1Output {
- return o
+func (i P2SConnectionConfigurationArgs) ToP2SConnectionConfigurationOutput() P2SConnectionConfigurationOutput {
+ return i.ToP2SConnectionConfigurationOutputWithContext(context.Background())
}
-// The reference of ApplicationGatewayBackendAddressPool resource.
-func (o NetworkInterfaceIPConfigurationResponseV1Output) ApplicationGatewayBackendAddressPools() ApplicationGatewayBackendAddressPoolResponseV1ArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) []ApplicationGatewayBackendAddressPoolResponseV1 {
- return v.ApplicationGatewayBackendAddressPools
- }).(ApplicationGatewayBackendAddressPoolResponseV1ArrayOutput)
+func (i P2SConnectionConfigurationArgs) ToP2SConnectionConfigurationOutputWithContext(ctx context.Context) P2SConnectionConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(P2SConnectionConfigurationOutput)
}
-// Application security groups in which the IP configuration is included.
-func (o NetworkInterfaceIPConfigurationResponseV1Output) ApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) []ApplicationSecurityGroupResponse {
- return v.ApplicationSecurityGroups
- }).(ApplicationSecurityGroupResponseArrayOutput)
-}
+// P2SConnectionConfigurationArrayInput is an input type that accepts P2SConnectionConfigurationArray and P2SConnectionConfigurationArrayOutput values.
+// You can construct a concrete instance of `P2SConnectionConfigurationArrayInput` via:
+//
+// P2SConnectionConfigurationArray{ P2SConnectionConfigurationArgs{...} }
+type P2SConnectionConfigurationArrayInput interface {
+ pulumi.Input
-// A unique read-only string that changes whenever the resource is updated.
-func (o NetworkInterfaceIPConfigurationResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
+ ToP2SConnectionConfigurationArrayOutput() P2SConnectionConfigurationArrayOutput
+ ToP2SConnectionConfigurationArrayOutputWithContext(context.Context) P2SConnectionConfigurationArrayOutput
}
-// Resource ID.
-func (o NetworkInterfaceIPConfigurationResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
+type P2SConnectionConfigurationArray []P2SConnectionConfigurationInput
-// The reference of LoadBalancerBackendAddressPool resource.
-func (o NetworkInterfaceIPConfigurationResponseV1Output) LoadBalancerBackendAddressPools() BackendAddressPoolResponseV1ArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) []BackendAddressPoolResponseV1 {
- return v.LoadBalancerBackendAddressPools
- }).(BackendAddressPoolResponseV1ArrayOutput)
+func (P2SConnectionConfigurationArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SConnectionConfiguration)(nil)).Elem()
}
-// A list of references of LoadBalancerInboundNatRules.
-func (o NetworkInterfaceIPConfigurationResponseV1Output) LoadBalancerInboundNatRules() InboundNatRuleResponseV1ArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) []InboundNatRuleResponseV1 {
- return v.LoadBalancerInboundNatRules
- }).(InboundNatRuleResponseV1ArrayOutput)
+func (i P2SConnectionConfigurationArray) ToP2SConnectionConfigurationArrayOutput() P2SConnectionConfigurationArrayOutput {
+ return i.ToP2SConnectionConfigurationArrayOutputWithContext(context.Background())
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o NetworkInterfaceIPConfigurationResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (i P2SConnectionConfigurationArray) ToP2SConnectionConfigurationArrayOutputWithContext(ctx context.Context) P2SConnectionConfigurationArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(P2SConnectionConfigurationArrayOutput)
}
-// Gets whether this is a primary customer address on the network interface.
-func (o NetworkInterfaceIPConfigurationResponseV1Output) Primary() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
+// P2SConnectionConfiguration Resource.
+type P2SConnectionConfigurationOutput struct{ *pulumi.OutputState }
+
+func (P2SConnectionConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SConnectionConfiguration)(nil)).Elem()
}
-// Private IP address of the IP configuration.
-func (o NetworkInterfaceIPConfigurationResponseV1Output) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+func (o P2SConnectionConfigurationOutput) ToP2SConnectionConfigurationOutput() P2SConnectionConfigurationOutput {
+ return o
}
-// Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
-func (o NetworkInterfaceIPConfigurationResponseV1Output) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
+func (o P2SConnectionConfigurationOutput) ToP2SConnectionConfigurationOutputWithContext(ctx context.Context) P2SConnectionConfigurationOutput {
+ return o
}
-// The private IP address allocation method.
-func (o NetworkInterfaceIPConfigurationResponseV1Output) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+// Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
+func (o P2SConnectionConfigurationOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfiguration) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
}
-// The provisioning state of the network interface IP configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o NetworkInterfaceIPConfigurationResponseV1Output) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o P2SConnectionConfigurationOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfiguration) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Public IP address bound to the IP configuration.
-func (o NetworkInterfaceIPConfigurationResponseV1Output) PublicIPAddress() PublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *PublicIPAddressResponse { return v.PublicIPAddress }).(PublicIPAddressResponsePtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o P2SConnectionConfigurationOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfiguration) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Subnet bound to the IP configuration.
-func (o NetworkInterfaceIPConfigurationResponseV1Output) Subnet() SubnetResponsePtrOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
+// The Routing Configuration indicating the associated and propagated route tables on this connection.
+func (o P2SConnectionConfigurationOutput) RoutingConfiguration() RoutingConfigurationTypePtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfiguration) *RoutingConfigurationType { return v.RoutingConfiguration }).(RoutingConfigurationTypePtrOutput)
}
-// The reference to Virtual Network Taps.
-func (o NetworkInterfaceIPConfigurationResponseV1Output) VirtualNetworkTaps() VirtualNetworkTapResponseV1ArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceIPConfigurationResponseV1) []VirtualNetworkTapResponseV1 {
- return v.VirtualNetworkTaps
- }).(VirtualNetworkTapResponseV1ArrayOutput)
+// The reference to the address space resource which represents Address space for P2S VpnClient.
+func (o P2SConnectionConfigurationOutput) VpnClientAddressPool() AddressSpacePtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfiguration) *AddressSpace { return v.VpnClientAddressPool }).(AddressSpacePtrOutput)
}
-type NetworkInterfaceIPConfigurationResponseV1ArrayOutput struct{ *pulumi.OutputState }
+type P2SConnectionConfigurationArrayOutput struct{ *pulumi.OutputState }
-func (NetworkInterfaceIPConfigurationResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkInterfaceIPConfigurationResponseV1)(nil)).Elem()
+func (P2SConnectionConfigurationArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SConnectionConfiguration)(nil)).Elem()
}
-func (o NetworkInterfaceIPConfigurationResponseV1ArrayOutput) ToNetworkInterfaceIPConfigurationResponseV1ArrayOutput() NetworkInterfaceIPConfigurationResponseV1ArrayOutput {
+func (o P2SConnectionConfigurationArrayOutput) ToP2SConnectionConfigurationArrayOutput() P2SConnectionConfigurationArrayOutput {
return o
}
-func (o NetworkInterfaceIPConfigurationResponseV1ArrayOutput) ToNetworkInterfaceIPConfigurationResponseV1ArrayOutputWithContext(ctx context.Context) NetworkInterfaceIPConfigurationResponseV1ArrayOutput {
+func (o P2SConnectionConfigurationArrayOutput) ToP2SConnectionConfigurationArrayOutputWithContext(ctx context.Context) P2SConnectionConfigurationArrayOutput {
return o
}
-func (o NetworkInterfaceIPConfigurationResponseV1ArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceIPConfigurationResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceIPConfigurationResponseV1 {
- return vs[0].([]NetworkInterfaceIPConfigurationResponseV1)[vs[1].(int)]
- }).(NetworkInterfaceIPConfigurationResponseV1Output)
+func (o P2SConnectionConfigurationArrayOutput) Index(i pulumi.IntInput) P2SConnectionConfigurationOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SConnectionConfiguration {
+ return vs[0].([]P2SConnectionConfiguration)[vs[1].(int)]
+ }).(P2SConnectionConfigurationOutput)
}
-// A network interface in a resource group.
-type NetworkInterfaceResponse struct {
- // Auxiliary mode of Network Interface resource.
- AuxiliaryMode *string `pulumi:"auxiliaryMode"`
- // Auxiliary sku of Network Interface resource.
- AuxiliarySku *string `pulumi:"auxiliarySku"`
- // Whether default outbound connectivity for nic was configured or not.
- DefaultOutboundConnectivityEnabled bool `pulumi:"defaultOutboundConnectivityEnabled"`
- // Indicates whether to disable tcp state tracking.
- DisableTcpStateTracking *bool `pulumi:"disableTcpStateTracking"`
- // The DNS settings in network interface.
- DnsSettings *NetworkInterfaceDnsSettingsResponse `pulumi:"dnsSettings"`
- // A reference to the dscp configuration to which the network interface is linked.
- DscpConfiguration SubResourceResponse `pulumi:"dscpConfiguration"`
- // If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking.
- EnableAcceleratedNetworking *bool `pulumi:"enableAcceleratedNetworking"`
- // Indicates whether IP forwarding is enabled on this network interface.
- EnableIPForwarding *bool `pulumi:"enableIPForwarding"`
+// P2SConnectionConfiguration Resource.
+type P2SConnectionConfigurationResponse struct {
+ // List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
+ ConfigurationPolicyGroupAssociations []SubResourceResponse `pulumi:"configurationPolicyGroupAssociations"`
+ // Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
+ EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
// A unique read-only string that changes whenever the resource is updated.
Etag string `pulumi:"etag"`
- // The extended location of the network interface.
- ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
- // A list of references to linked BareMetal resources.
- HostedWorkloads []string `pulumi:"hostedWorkloads"`
// Resource ID.
Id *string `pulumi:"id"`
- // A list of IPConfigurations of the network interface.
- IpConfigurations []NetworkInterfaceIPConfigurationResponse `pulumi:"ipConfigurations"`
- // Resource location.
- Location *string `pulumi:"location"`
- // The MAC address of the network interface.
- MacAddress string `pulumi:"macAddress"`
- // Migration phase of Network Interface resource.
- MigrationPhase *string `pulumi:"migrationPhase"`
- // Resource name.
- Name string `pulumi:"name"`
- // The reference to the NetworkSecurityGroup resource.
- NetworkSecurityGroup *NetworkSecurityGroupResponse `pulumi:"networkSecurityGroup"`
- // Type of Network Interface resource.
- NicType *string `pulumi:"nicType"`
- // Whether this is a primary network interface on a virtual machine.
- Primary bool `pulumi:"primary"`
- // A reference to the private endpoint to which the network interface is linked.
- PrivateEndpoint PrivateEndpointResponse `pulumi:"privateEndpoint"`
- // Privatelinkservice of the network interface resource.
- PrivateLinkService *PrivateLinkServiceResponse `pulumi:"privateLinkService"`
- // The provisioning state of the network interface resource.
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
+ PreviousConfigurationPolicyGroupAssociations []VpnServerConfigurationPolicyGroupResponse `pulumi:"previousConfigurationPolicyGroupAssociations"`
+ // The provisioning state of the P2SConnectionConfiguration resource.
ProvisioningState string `pulumi:"provisioningState"`
- // The resource GUID property of the network interface resource.
- ResourceGuid string `pulumi:"resourceGuid"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // A list of TapConfigurations of the network interface.
- TapConfigurations []NetworkInterfaceTapConfigurationResponse `pulumi:"tapConfigurations"`
- // Resource type.
- Type string `pulumi:"type"`
- // The reference to a virtual machine.
- VirtualMachine SubResourceResponse `pulumi:"virtualMachine"`
- // Whether the virtual machine this nic is attached to supports encryption.
- VnetEncryptionSupported bool `pulumi:"vnetEncryptionSupported"`
- // WorkloadType of the NetworkInterface for BareMetal resources
- WorkloadType *string `pulumi:"workloadType"`
-}
-
-// Defaults sets the appropriate defaults for NetworkInterfaceResponse
-func (val *NetworkInterfaceResponse) Defaults() *NetworkInterfaceResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.PrivateEndpoint = *tmp.PrivateEndpoint.Defaults()
-
- return &tmp
+ // The Routing Configuration indicating the associated and propagated route tables on this connection.
+ RoutingConfiguration *RoutingConfigurationP2sVpnGatewayResponse `pulumi:"routingConfiguration"`
+ // The reference to the address space resource which represents Address space for P2S VpnClient.
+ VpnClientAddressPool *AddressSpaceResponse `pulumi:"vpnClientAddressPool"`
}
-// A network interface in a resource group.
-type NetworkInterfaceResponseOutput struct{ *pulumi.OutputState }
+// P2SConnectionConfiguration Resource.
+type P2SConnectionConfigurationResponseOutput struct{ *pulumi.OutputState }
-func (NetworkInterfaceResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkInterfaceResponse)(nil)).Elem()
+func (P2SConnectionConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SConnectionConfigurationResponse)(nil)).Elem()
}
-func (o NetworkInterfaceResponseOutput) ToNetworkInterfaceResponseOutput() NetworkInterfaceResponseOutput {
+func (o P2SConnectionConfigurationResponseOutput) ToP2SConnectionConfigurationResponseOutput() P2SConnectionConfigurationResponseOutput {
return o
}
-func (o NetworkInterfaceResponseOutput) ToNetworkInterfaceResponseOutputWithContext(ctx context.Context) NetworkInterfaceResponseOutput {
+func (o P2SConnectionConfigurationResponseOutput) ToP2SConnectionConfigurationResponseOutputWithContext(ctx context.Context) P2SConnectionConfigurationResponseOutput {
return o
}
-// Auxiliary mode of Network Interface resource.
-func (o NetworkInterfaceResponseOutput) AuxiliaryMode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) *string { return v.AuxiliaryMode }).(pulumi.StringPtrOutput)
+// List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
+func (o P2SConnectionConfigurationResponseOutput) ConfigurationPolicyGroupAssociations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationResponse) []SubResourceResponse {
+ return v.ConfigurationPolicyGroupAssociations
+ }).(SubResourceResponseArrayOutput)
}
-// Auxiliary sku of Network Interface resource.
-func (o NetworkInterfaceResponseOutput) AuxiliarySku() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) *string { return v.AuxiliarySku }).(pulumi.StringPtrOutput)
+// Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
+func (o P2SConnectionConfigurationResponseOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationResponse) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
}
-// Whether default outbound connectivity for nic was configured or not.
-func (o NetworkInterfaceResponseOutput) DefaultOutboundConnectivityEnabled() pulumi.BoolOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) bool { return v.DefaultOutboundConnectivityEnabled }).(pulumi.BoolOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o P2SConnectionConfigurationResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Indicates whether to disable tcp state tracking.
-func (o NetworkInterfaceResponseOutput) DisableTcpStateTracking() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) *bool { return v.DisableTcpStateTracking }).(pulumi.BoolPtrOutput)
+// Resource ID.
+func (o P2SConnectionConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The DNS settings in network interface.
-func (o NetworkInterfaceResponseOutput) DnsSettings() NetworkInterfaceDnsSettingsResponsePtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) *NetworkInterfaceDnsSettingsResponse { return v.DnsSettings }).(NetworkInterfaceDnsSettingsResponsePtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o P2SConnectionConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// A reference to the dscp configuration to which the network interface is linked.
-func (o NetworkInterfaceResponseOutput) DscpConfiguration() SubResourceResponseOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) SubResourceResponse { return v.DscpConfiguration }).(SubResourceResponseOutput)
+// List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
+func (o P2SConnectionConfigurationResponseOutput) PreviousConfigurationPolicyGroupAssociations() VpnServerConfigurationPolicyGroupResponseArrayOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationResponse) []VpnServerConfigurationPolicyGroupResponse {
+ return v.PreviousConfigurationPolicyGroupAssociations
+ }).(VpnServerConfigurationPolicyGroupResponseArrayOutput)
}
-// If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking.
-func (o NetworkInterfaceResponseOutput) EnableAcceleratedNetworking() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) *bool { return v.EnableAcceleratedNetworking }).(pulumi.BoolPtrOutput)
+// The provisioning state of the P2SConnectionConfiguration resource.
+func (o P2SConnectionConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Indicates whether IP forwarding is enabled on this network interface.
-func (o NetworkInterfaceResponseOutput) EnableIPForwarding() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) *bool { return v.EnableIPForwarding }).(pulumi.BoolPtrOutput)
+// The Routing Configuration indicating the associated and propagated route tables on this connection.
+func (o P2SConnectionConfigurationResponseOutput) RoutingConfiguration() RoutingConfigurationP2sVpnGatewayResponsePtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationResponse) *RoutingConfigurationP2sVpnGatewayResponse {
+ return v.RoutingConfiguration
+ }).(RoutingConfigurationP2sVpnGatewayResponsePtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o NetworkInterfaceResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) string { return v.Etag }).(pulumi.StringOutput)
+// The reference to the address space resource which represents Address space for P2S VpnClient.
+func (o P2SConnectionConfigurationResponseOutput) VpnClientAddressPool() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationResponse) *AddressSpaceResponse { return v.VpnClientAddressPool }).(AddressSpaceResponsePtrOutput)
}
-// The extended location of the network interface.
-func (o NetworkInterfaceResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
-}
+type P2SConnectionConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-// A list of references to linked BareMetal resources.
-func (o NetworkInterfaceResponseOutput) HostedWorkloads() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) []string { return v.HostedWorkloads }).(pulumi.StringArrayOutput)
+func (P2SConnectionConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SConnectionConfigurationResponse)(nil)).Elem()
}
-// Resource ID.
-func (o NetworkInterfaceResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// A list of IPConfigurations of the network interface.
-func (o NetworkInterfaceResponseOutput) IpConfigurations() NetworkInterfaceIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) []NetworkInterfaceIPConfigurationResponse { return v.IpConfigurations }).(NetworkInterfaceIPConfigurationResponseArrayOutput)
-}
-
-// Resource location.
-func (o NetworkInterfaceResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+func (o P2SConnectionConfigurationResponseArrayOutput) ToP2SConnectionConfigurationResponseArrayOutput() P2SConnectionConfigurationResponseArrayOutput {
+ return o
}
-// The MAC address of the network interface.
-func (o NetworkInterfaceResponseOutput) MacAddress() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) string { return v.MacAddress }).(pulumi.StringOutput)
+func (o P2SConnectionConfigurationResponseArrayOutput) ToP2SConnectionConfigurationResponseArrayOutputWithContext(ctx context.Context) P2SConnectionConfigurationResponseArrayOutput {
+ return o
}
-// Migration phase of Network Interface resource.
-func (o NetworkInterfaceResponseOutput) MigrationPhase() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) *string { return v.MigrationPhase }).(pulumi.StringPtrOutput)
+func (o P2SConnectionConfigurationResponseArrayOutput) Index(i pulumi.IntInput) P2SConnectionConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SConnectionConfigurationResponse {
+ return vs[0].([]P2SConnectionConfigurationResponse)[vs[1].(int)]
+ }).(P2SConnectionConfigurationResponseOutput)
}
-// Resource name.
-func (o NetworkInterfaceResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) string { return v.Name }).(pulumi.StringOutput)
+// P2SConnectionConfiguration Resource.
+type P2SConnectionConfigurationVpnServerConfigurationResponse struct {
+ // List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
+ ConfigurationPolicyGroupAssociations []SubResourceResponse `pulumi:"configurationPolicyGroupAssociations"`
+ // Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
+ EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
+ PreviousConfigurationPolicyGroupAssociations []VpnServerConfigurationPolicyGroupResponse `pulumi:"previousConfigurationPolicyGroupAssociations"`
+ // The provisioning state of the P2SConnectionConfiguration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The Routing Configuration indicating the associated and propagated route tables on this connection.
+ RoutingConfiguration *RoutingConfigurationVpnServerConfigurationResponse `pulumi:"routingConfiguration"`
+ // The reference to the address space resource which represents Address space for P2S VpnClient.
+ VpnClientAddressPool *AddressSpaceResponse `pulumi:"vpnClientAddressPool"`
}
-// The reference to the NetworkSecurityGroup resource.
-func (o NetworkInterfaceResponseOutput) NetworkSecurityGroup() NetworkSecurityGroupResponsePtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) *NetworkSecurityGroupResponse { return v.NetworkSecurityGroup }).(NetworkSecurityGroupResponsePtrOutput)
-}
+// P2SConnectionConfiguration Resource.
+type P2SConnectionConfigurationVpnServerConfigurationResponseOutput struct{ *pulumi.OutputState }
-// Type of Network Interface resource.
-func (o NetworkInterfaceResponseOutput) NicType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) *string { return v.NicType }).(pulumi.StringPtrOutput)
+func (P2SConnectionConfigurationVpnServerConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SConnectionConfigurationVpnServerConfigurationResponse)(nil)).Elem()
}
-// Whether this is a primary network interface on a virtual machine.
-func (o NetworkInterfaceResponseOutput) Primary() pulumi.BoolOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) bool { return v.Primary }).(pulumi.BoolOutput)
+func (o P2SConnectionConfigurationVpnServerConfigurationResponseOutput) ToP2SConnectionConfigurationVpnServerConfigurationResponseOutput() P2SConnectionConfigurationVpnServerConfigurationResponseOutput {
+ return o
}
-// A reference to the private endpoint to which the network interface is linked.
-func (o NetworkInterfaceResponseOutput) PrivateEndpoint() PrivateEndpointResponseOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) PrivateEndpointResponse { return v.PrivateEndpoint }).(PrivateEndpointResponseOutput)
+func (o P2SConnectionConfigurationVpnServerConfigurationResponseOutput) ToP2SConnectionConfigurationVpnServerConfigurationResponseOutputWithContext(ctx context.Context) P2SConnectionConfigurationVpnServerConfigurationResponseOutput {
+ return o
}
-// Privatelinkservice of the network interface resource.
-func (o NetworkInterfaceResponseOutput) PrivateLinkService() PrivateLinkServiceResponsePtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) *PrivateLinkServiceResponse { return v.PrivateLinkService }).(PrivateLinkServiceResponsePtrOutput)
+// List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
+func (o P2SConnectionConfigurationVpnServerConfigurationResponseOutput) ConfigurationPolicyGroupAssociations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationVpnServerConfigurationResponse) []SubResourceResponse {
+ return v.ConfigurationPolicyGroupAssociations
+ }).(SubResourceResponseArrayOutput)
}
-// The provisioning state of the network interface resource.
-func (o NetworkInterfaceResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
+func (o P2SConnectionConfigurationVpnServerConfigurationResponseOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationVpnServerConfigurationResponse) *bool {
+ return v.EnableInternetSecurity
+ }).(pulumi.BoolPtrOutput)
}
-// The resource GUID property of the network interface resource.
-func (o NetworkInterfaceResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o P2SConnectionConfigurationVpnServerConfigurationResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationVpnServerConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Resource tags.
-func (o NetworkInterfaceResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// Resource ID.
+func (o P2SConnectionConfigurationVpnServerConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationVpnServerConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// A list of TapConfigurations of the network interface.
-func (o NetworkInterfaceResponseOutput) TapConfigurations() NetworkInterfaceTapConfigurationResponseArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) []NetworkInterfaceTapConfigurationResponse {
- return v.TapConfigurations
- }).(NetworkInterfaceTapConfigurationResponseArrayOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o P2SConnectionConfigurationVpnServerConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationVpnServerConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Resource type.
-func (o NetworkInterfaceResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) string { return v.Type }).(pulumi.StringOutput)
+// List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
+func (o P2SConnectionConfigurationVpnServerConfigurationResponseOutput) PreviousConfigurationPolicyGroupAssociations() VpnServerConfigurationPolicyGroupResponseArrayOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationVpnServerConfigurationResponse) []VpnServerConfigurationPolicyGroupResponse {
+ return v.PreviousConfigurationPolicyGroupAssociations
+ }).(VpnServerConfigurationPolicyGroupResponseArrayOutput)
}
-// The reference to a virtual machine.
-func (o NetworkInterfaceResponseOutput) VirtualMachine() SubResourceResponseOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) SubResourceResponse { return v.VirtualMachine }).(SubResourceResponseOutput)
+// The provisioning state of the P2SConnectionConfiguration resource.
+func (o P2SConnectionConfigurationVpnServerConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationVpnServerConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Whether the virtual machine this nic is attached to supports encryption.
-func (o NetworkInterfaceResponseOutput) VnetEncryptionSupported() pulumi.BoolOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) bool { return v.VnetEncryptionSupported }).(pulumi.BoolOutput)
+// The Routing Configuration indicating the associated and propagated route tables on this connection.
+func (o P2SConnectionConfigurationVpnServerConfigurationResponseOutput) RoutingConfiguration() RoutingConfigurationVpnServerConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationVpnServerConfigurationResponse) *RoutingConfigurationVpnServerConfigurationResponse {
+ return v.RoutingConfiguration
+ }).(RoutingConfigurationVpnServerConfigurationResponsePtrOutput)
}
-// WorkloadType of the NetworkInterface for BareMetal resources
-func (o NetworkInterfaceResponseOutput) WorkloadType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponse) *string { return v.WorkloadType }).(pulumi.StringPtrOutput)
+// The reference to the address space resource which represents Address space for P2S VpnClient.
+func (o P2SConnectionConfigurationVpnServerConfigurationResponseOutput) VpnClientAddressPool() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationVpnServerConfigurationResponse) *AddressSpaceResponse {
+ return v.VpnClientAddressPool
+ }).(AddressSpaceResponsePtrOutput)
}
-type NetworkInterfaceResponseArrayOutput struct{ *pulumi.OutputState }
+type P2SConnectionConfigurationVpnServerConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-func (NetworkInterfaceResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkInterfaceResponse)(nil)).Elem()
+func (P2SConnectionConfigurationVpnServerConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SConnectionConfigurationVpnServerConfigurationResponse)(nil)).Elem()
}
-func (o NetworkInterfaceResponseArrayOutput) ToNetworkInterfaceResponseArrayOutput() NetworkInterfaceResponseArrayOutput {
+func (o P2SConnectionConfigurationVpnServerConfigurationResponseArrayOutput) ToP2SConnectionConfigurationVpnServerConfigurationResponseArrayOutput() P2SConnectionConfigurationVpnServerConfigurationResponseArrayOutput {
return o
}
-func (o NetworkInterfaceResponseArrayOutput) ToNetworkInterfaceResponseArrayOutputWithContext(ctx context.Context) NetworkInterfaceResponseArrayOutput {
+func (o P2SConnectionConfigurationVpnServerConfigurationResponseArrayOutput) ToP2SConnectionConfigurationVpnServerConfigurationResponseArrayOutputWithContext(ctx context.Context) P2SConnectionConfigurationVpnServerConfigurationResponseArrayOutput {
return o
}
-func (o NetworkInterfaceResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceResponse {
- return vs[0].([]NetworkInterfaceResponse)[vs[1].(int)]
- }).(NetworkInterfaceResponseOutput)
+func (o P2SConnectionConfigurationVpnServerConfigurationResponseArrayOutput) Index(i pulumi.IntInput) P2SConnectionConfigurationVpnServerConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SConnectionConfigurationVpnServerConfigurationResponse {
+ return vs[0].([]P2SConnectionConfigurationVpnServerConfigurationResponse)[vs[1].(int)]
+ }).(P2SConnectionConfigurationVpnServerConfigurationResponseOutput)
}
-// A network interface in a resource group.
-type NetworkInterfaceResponseV1 struct {
- // The DNS settings in network interface.
- DnsSettings *NetworkInterfaceDnsSettingsResponseV1 `pulumi:"dnsSettings"`
- // If the network interface is accelerated networking enabled.
- EnableAcceleratedNetworking *bool `pulumi:"enableAcceleratedNetworking"`
- // Indicates whether IP forwarding is enabled on this network interface.
- EnableIPForwarding *bool `pulumi:"enableIPForwarding"`
+// P2SConnectionConfiguration Resource.
+type P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse struct {
+ // List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
+ ConfigurationPolicyGroupAssociations []SubResourceResponse `pulumi:"configurationPolicyGroupAssociations"`
+ // Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
+ EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
// A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // A list of references to linked BareMetal resources
- HostedWorkloads []string `pulumi:"hostedWorkloads"`
+ Etag string `pulumi:"etag"`
// Resource ID.
Id *string `pulumi:"id"`
- // A reference to the interface endpoint to which the network interface is linked.
- InterfaceEndpoint InterfaceEndpointResponse `pulumi:"interfaceEndpoint"`
- // A list of IPConfigurations of the network interface.
- IpConfigurations []NetworkInterfaceIPConfigurationResponseV1 `pulumi:"ipConfigurations"`
- // Resource location.
- Location *string `pulumi:"location"`
- // The MAC address of the network interface.
- MacAddress *string `pulumi:"macAddress"`
- // Resource name.
- Name string `pulumi:"name"`
- // The reference of the NetworkSecurityGroup resource.
- NetworkSecurityGroup *NetworkSecurityGroupResponse `pulumi:"networkSecurityGroup"`
- // Gets whether this is a primary network interface on a virtual machine.
- Primary *bool `pulumi:"primary"`
- // The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState *string `pulumi:"provisioningState"`
- // The resource GUID property of the network interface resource.
- ResourceGuid *string `pulumi:"resourceGuid"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // A list of TapConfigurations of the network interface.
- TapConfigurations []NetworkInterfaceTapConfigurationResponse `pulumi:"tapConfigurations"`
- // Resource type.
- Type string `pulumi:"type"`
- // The reference of a virtual machine.
- VirtualMachine SubResourceResponse `pulumi:"virtualMachine"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
+ PreviousConfigurationPolicyGroupAssociations []VpnServerConfigurationPolicyGroupResponse `pulumi:"previousConfigurationPolicyGroupAssociations"`
+ // The provisioning state of the P2SConnectionConfiguration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The Routing Configuration indicating the associated and propagated route tables on this connection.
+ RoutingConfiguration *RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse `pulumi:"routingConfiguration"`
+ // The reference to the address space resource which represents Address space for P2S VpnClient.
+ VpnClientAddressPool *AddressSpaceResponse `pulumi:"vpnClientAddressPool"`
}
-// A network interface in a resource group.
-type NetworkInterfaceResponseV1Output struct{ *pulumi.OutputState }
+// P2SConnectionConfiguration Resource.
+type P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput struct{ *pulumi.OutputState }
-func (NetworkInterfaceResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkInterfaceResponseV1)(nil)).Elem()
+func (P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse)(nil)).Elem()
}
-func (o NetworkInterfaceResponseV1Output) ToNetworkInterfaceResponseV1Output() NetworkInterfaceResponseV1Output {
+func (o P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) ToP2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput() P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput {
return o
}
-func (o NetworkInterfaceResponseV1Output) ToNetworkInterfaceResponseV1OutputWithContext(ctx context.Context) NetworkInterfaceResponseV1Output {
+func (o P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) ToP2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutputWithContext(ctx context.Context) P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput {
return o
}
-// The DNS settings in network interface.
-func (o NetworkInterfaceResponseV1Output) DnsSettings() NetworkInterfaceDnsSettingsResponseV1PtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) *NetworkInterfaceDnsSettingsResponseV1 { return v.DnsSettings }).(NetworkInterfaceDnsSettingsResponseV1PtrOutput)
-}
-
-// If the network interface is accelerated networking enabled.
-func (o NetworkInterfaceResponseV1Output) EnableAcceleratedNetworking() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) *bool { return v.EnableAcceleratedNetworking }).(pulumi.BoolPtrOutput)
+// List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
+func (o P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) ConfigurationPolicyGroupAssociations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) []SubResourceResponse {
+ return v.ConfigurationPolicyGroupAssociations
+ }).(SubResourceResponseArrayOutput)
}
-// Indicates whether IP forwarding is enabled on this network interface.
-func (o NetworkInterfaceResponseV1Output) EnableIPForwarding() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) *bool { return v.EnableIPForwarding }).(pulumi.BoolPtrOutput)
+// Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
+func (o P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) *bool {
+ return v.EnableInternetSecurity
+ }).(pulumi.BoolPtrOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o NetworkInterfaceResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
-}
-
-// A list of references to linked BareMetal resources
-func (o NetworkInterfaceResponseV1Output) HostedWorkloads() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) []string { return v.HostedWorkloads }).(pulumi.StringArrayOutput)
+func (o P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) string { return v.Etag }).(pulumi.StringOutput)
}
// Resource ID.
-func (o NetworkInterfaceResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// A reference to the interface endpoint to which the network interface is linked.
-func (o NetworkInterfaceResponseV1Output) InterfaceEndpoint() InterfaceEndpointResponseOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) InterfaceEndpointResponse { return v.InterfaceEndpoint }).(InterfaceEndpointResponseOutput)
-}
-
-// A list of IPConfigurations of the network interface.
-func (o NetworkInterfaceResponseV1Output) IpConfigurations() NetworkInterfaceIPConfigurationResponseV1ArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) []NetworkInterfaceIPConfigurationResponseV1 {
- return v.IpConfigurations
- }).(NetworkInterfaceIPConfigurationResponseV1ArrayOutput)
-}
-
-// Resource location.
-func (o NetworkInterfaceResponseV1Output) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) *string { return v.Location }).(pulumi.StringPtrOutput)
-}
-
-// The MAC address of the network interface.
-func (o NetworkInterfaceResponseV1Output) MacAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) *string { return v.MacAddress }).(pulumi.StringPtrOutput)
-}
-
-// Resource name.
-func (o NetworkInterfaceResponseV1Output) Name() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) string { return v.Name }).(pulumi.StringOutput)
+func (o P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The reference of the NetworkSecurityGroup resource.
-func (o NetworkInterfaceResponseV1Output) NetworkSecurityGroup() NetworkSecurityGroupResponsePtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) *NetworkSecurityGroupResponse { return v.NetworkSecurityGroup }).(NetworkSecurityGroupResponsePtrOutput)
-}
-
-// Gets whether this is a primary network interface on a virtual machine.
-func (o NetworkInterfaceResponseV1Output) Primary() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
-}
-
-// The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o NetworkInterfaceResponseV1Output) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
-}
-
-// The resource GUID property of the network interface resource.
-func (o NetworkInterfaceResponseV1Output) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) *string { return v.ResourceGuid }).(pulumi.StringPtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) *string {
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// Resource tags.
-func (o NetworkInterfaceResponseV1Output) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
+func (o P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) PreviousConfigurationPolicyGroupAssociations() VpnServerConfigurationPolicyGroupResponseArrayOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) []VpnServerConfigurationPolicyGroupResponse {
+ return v.PreviousConfigurationPolicyGroupAssociations
+ }).(VpnServerConfigurationPolicyGroupResponseArrayOutput)
}
-// A list of TapConfigurations of the network interface.
-func (o NetworkInterfaceResponseV1Output) TapConfigurations() NetworkInterfaceTapConfigurationResponseArrayOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) []NetworkInterfaceTapConfigurationResponse {
- return v.TapConfigurations
- }).(NetworkInterfaceTapConfigurationResponseArrayOutput)
+// The provisioning state of the P2SConnectionConfiguration resource.
+func (o P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) string {
+ return v.ProvisioningState
+ }).(pulumi.StringOutput)
}
-// Resource type.
-func (o NetworkInterfaceResponseV1Output) Type() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) string { return v.Type }).(pulumi.StringOutput)
+// The Routing Configuration indicating the associated and propagated route tables on this connection.
+func (o P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) RoutingConfiguration() RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) *RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse {
+ return v.RoutingConfiguration
+ }).(RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput)
}
-// The reference of a virtual machine.
-func (o NetworkInterfaceResponseV1Output) VirtualMachine() SubResourceResponseOutput {
- return o.ApplyT(func(v NetworkInterfaceResponseV1) SubResourceResponse { return v.VirtualMachine }).(SubResourceResponseOutput)
+// The reference to the address space resource which represents Address space for P2S VpnClient.
+func (o P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) VpnClientAddressPool() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) *AddressSpaceResponse {
+ return v.VpnClientAddressPool
+ }).(AddressSpaceResponsePtrOutput)
}
-type NetworkInterfaceResponseV1ArrayOutput struct{ *pulumi.OutputState }
+type P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseArrayOutput struct{ *pulumi.OutputState }
-func (NetworkInterfaceResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkInterfaceResponseV1)(nil)).Elem()
+func (P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse)(nil)).Elem()
}
-func (o NetworkInterfaceResponseV1ArrayOutput) ToNetworkInterfaceResponseV1ArrayOutput() NetworkInterfaceResponseV1ArrayOutput {
+func (o P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseArrayOutput) ToP2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseArrayOutput() P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseArrayOutput {
return o
}
-func (o NetworkInterfaceResponseV1ArrayOutput) ToNetworkInterfaceResponseV1ArrayOutputWithContext(ctx context.Context) NetworkInterfaceResponseV1ArrayOutput {
+func (o P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseArrayOutput) ToP2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseArrayOutputWithContext(ctx context.Context) P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseArrayOutput {
return o
}
-func (o NetworkInterfaceResponseV1ArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceResponseV1 {
- return vs[0].([]NetworkInterfaceResponseV1)[vs[1].(int)]
- }).(NetworkInterfaceResponseV1Output)
+func (o P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseArrayOutput) Index(i pulumi.IntInput) P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse {
+ return vs[0].([]P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse)[vs[1].(int)]
+ }).(P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput)
}
-// Tap configuration in a Network Interface.
-type NetworkInterfaceTapConfigurationResponse struct {
+// P2SVpnGateway Resource.
+type P2SVpnGatewayResponse struct {
+ // List of all customer specified DNS servers IP addresses.
+ CustomDnsServers []string `pulumi:"customDnsServers"`
// A unique read-only string that changes whenever the resource is updated.
Etag string `pulumi:"etag"`
// Resource ID.
Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the network interface tap configuration resource.
+ // Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.
+ IsRoutingPreferenceInternet *bool `pulumi:"isRoutingPreferenceInternet"`
+ // Resource location.
+ Location string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // List of all p2s connection configurations of the gateway.
+ P2SConnectionConfigurations []P2SConnectionConfigurationVpnServerConfigurationResponse `pulumi:"p2SConnectionConfigurations"`
+ // The provisioning state of the P2S VPN gateway resource.
ProvisioningState string `pulumi:"provisioningState"`
- // Sub Resource type.
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
Type string `pulumi:"type"`
- // The reference to the Virtual Network Tap resource.
- VirtualNetworkTap *VirtualNetworkTapResponse `pulumi:"virtualNetworkTap"`
+ // The VirtualHub to which the gateway belongs.
+ VirtualHub *SubResourceResponse `pulumi:"virtualHub"`
+ // All P2S VPN clients' connection health status.
+ VpnClientConnectionHealth VpnClientConnectionHealthResponse `pulumi:"vpnClientConnectionHealth"`
+ // The scale unit for this p2s vpn gateway.
+ VpnGatewayScaleUnit *int `pulumi:"vpnGatewayScaleUnit"`
+ // The VpnServerConfiguration to which the p2sVpnGateway is attached to.
+ VpnServerConfiguration *SubResourceResponse `pulumi:"vpnServerConfiguration"`
}
-// Defaults sets the appropriate defaults for NetworkInterfaceTapConfigurationResponse
-func (val *NetworkInterfaceTapConfigurationResponse) Defaults() *NetworkInterfaceTapConfigurationResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.VirtualNetworkTap = tmp.VirtualNetworkTap.Defaults()
+// P2SVpnGateway Resource.
+type P2SVpnGatewayResponseOutput struct{ *pulumi.OutputState }
- return &tmp
+func (P2SVpnGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SVpnGatewayResponse)(nil)).Elem()
}
-// Tap configuration in a Network Interface.
-type NetworkInterfaceTapConfigurationResponseOutput struct{ *pulumi.OutputState }
-
-func (NetworkInterfaceTapConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkInterfaceTapConfigurationResponse)(nil)).Elem()
+func (o P2SVpnGatewayResponseOutput) ToP2SVpnGatewayResponseOutput() P2SVpnGatewayResponseOutput {
+ return o
}
-func (o NetworkInterfaceTapConfigurationResponseOutput) ToNetworkInterfaceTapConfigurationResponseOutput() NetworkInterfaceTapConfigurationResponseOutput {
+func (o P2SVpnGatewayResponseOutput) ToP2SVpnGatewayResponseOutputWithContext(ctx context.Context) P2SVpnGatewayResponseOutput {
return o
}
-func (o NetworkInterfaceTapConfigurationResponseOutput) ToNetworkInterfaceTapConfigurationResponseOutputWithContext(ctx context.Context) NetworkInterfaceTapConfigurationResponseOutput {
- return o
+// List of all customer specified DNS servers IP addresses.
+func (o P2SVpnGatewayResponseOutput) CustomDnsServers() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v P2SVpnGatewayResponse) []string { return v.CustomDnsServers }).(pulumi.StringArrayOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o NetworkInterfaceTapConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o P2SVpnGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SVpnGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
// Resource ID.
-func (o NetworkInterfaceTapConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o P2SVpnGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o NetworkInterfaceTapConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.
+func (o P2SVpnGatewayResponseOutput) IsRoutingPreferenceInternet() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v P2SVpnGatewayResponse) *bool { return v.IsRoutingPreferenceInternet }).(pulumi.BoolPtrOutput)
}
-// The provisioning state of the network interface tap configuration resource.
-func (o NetworkInterfaceTapConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Resource location.
+func (o P2SVpnGatewayResponseOutput) Location() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SVpnGatewayResponse) string { return v.Location }).(pulumi.StringOutput)
}
-// Sub Resource type.
-func (o NetworkInterfaceTapConfigurationResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
+// Resource name.
+func (o P2SVpnGatewayResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SVpnGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// The reference to the Virtual Network Tap resource.
-func (o NetworkInterfaceTapConfigurationResponseOutput) VirtualNetworkTap() VirtualNetworkTapResponsePtrOutput {
- return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponse) *VirtualNetworkTapResponse {
- return v.VirtualNetworkTap
- }).(VirtualNetworkTapResponsePtrOutput)
+// List of all p2s connection configurations of the gateway.
+func (o P2SVpnGatewayResponseOutput) P2SConnectionConfigurations() P2SConnectionConfigurationVpnServerConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v P2SVpnGatewayResponse) []P2SConnectionConfigurationVpnServerConfigurationResponse {
+ return v.P2SConnectionConfigurations
+ }).(P2SConnectionConfigurationVpnServerConfigurationResponseArrayOutput)
}
-type NetworkInterfaceTapConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (NetworkInterfaceTapConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkInterfaceTapConfigurationResponse)(nil)).Elem()
+// The provisioning state of the P2S VPN gateway resource.
+func (o P2SVpnGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SVpnGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o NetworkInterfaceTapConfigurationResponseArrayOutput) ToNetworkInterfaceTapConfigurationResponseArrayOutput() NetworkInterfaceTapConfigurationResponseArrayOutput {
- return o
+// Resource tags.
+func (o P2SVpnGatewayResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v P2SVpnGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (o NetworkInterfaceTapConfigurationResponseArrayOutput) ToNetworkInterfaceTapConfigurationResponseArrayOutputWithContext(ctx context.Context) NetworkInterfaceTapConfigurationResponseArrayOutput {
- return o
+// Resource type.
+func (o P2SVpnGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SVpnGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (o NetworkInterfaceTapConfigurationResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceTapConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceTapConfigurationResponse {
- return vs[0].([]NetworkInterfaceTapConfigurationResponse)[vs[1].(int)]
- }).(NetworkInterfaceTapConfigurationResponseOutput)
+// The VirtualHub to which the gateway belongs.
+func (o P2SVpnGatewayResponseOutput) VirtualHub() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v P2SVpnGatewayResponse) *SubResourceResponse { return v.VirtualHub }).(SubResourceResponsePtrOutput)
}
-// Tap configuration in a Network Interface
-type NetworkInterfaceTapConfigurationResponseV1 struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the network interface tap configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState string `pulumi:"provisioningState"`
- // Sub Resource type.
- Type string `pulumi:"type"`
- // The reference of the Virtual Network Tap resource.
- VirtualNetworkTap *VirtualNetworkTapResponse `pulumi:"virtualNetworkTap"`
+// All P2S VPN clients' connection health status.
+func (o P2SVpnGatewayResponseOutput) VpnClientConnectionHealth() VpnClientConnectionHealthResponseOutput {
+ return o.ApplyT(func(v P2SVpnGatewayResponse) VpnClientConnectionHealthResponse { return v.VpnClientConnectionHealth }).(VpnClientConnectionHealthResponseOutput)
}
-// Defaults sets the appropriate defaults for NetworkInterfaceTapConfigurationResponseV1
-func (val *NetworkInterfaceTapConfigurationResponseV1) Defaults() *NetworkInterfaceTapConfigurationResponseV1 {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.VirtualNetworkTap = tmp.VirtualNetworkTap.Defaults()
+// The scale unit for this p2s vpn gateway.
+func (o P2SVpnGatewayResponseOutput) VpnGatewayScaleUnit() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v P2SVpnGatewayResponse) *int { return v.VpnGatewayScaleUnit }).(pulumi.IntPtrOutput)
+}
- return &tmp
+// The VpnServerConfiguration to which the p2sVpnGateway is attached to.
+func (o P2SVpnGatewayResponseOutput) VpnServerConfiguration() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v P2SVpnGatewayResponse) *SubResourceResponse { return v.VpnServerConfiguration }).(SubResourceResponsePtrOutput)
}
-// Tap configuration in a Network Interface
-type NetworkInterfaceTapConfigurationResponseV1Output struct{ *pulumi.OutputState }
+type P2SVpnGatewayResponseArrayOutput struct{ *pulumi.OutputState }
-func (NetworkInterfaceTapConfigurationResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkInterfaceTapConfigurationResponseV1)(nil)).Elem()
+func (P2SVpnGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SVpnGatewayResponse)(nil)).Elem()
}
-func (o NetworkInterfaceTapConfigurationResponseV1Output) ToNetworkInterfaceTapConfigurationResponseV1Output() NetworkInterfaceTapConfigurationResponseV1Output {
+func (o P2SVpnGatewayResponseArrayOutput) ToP2SVpnGatewayResponseArrayOutput() P2SVpnGatewayResponseArrayOutput {
return o
}
-func (o NetworkInterfaceTapConfigurationResponseV1Output) ToNetworkInterfaceTapConfigurationResponseV1OutputWithContext(ctx context.Context) NetworkInterfaceTapConfigurationResponseV1Output {
+func (o P2SVpnGatewayResponseArrayOutput) ToP2SVpnGatewayResponseArrayOutputWithContext(ctx context.Context) P2SVpnGatewayResponseArrayOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o NetworkInterfaceTapConfigurationResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (o P2SVpnGatewayResponseArrayOutput) Index(i pulumi.IntInput) P2SVpnGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnGatewayResponse {
+ return vs[0].([]P2SVpnGatewayResponse)[vs[1].(int)]
+ }).(P2SVpnGatewayResponseOutput)
}
-// Resource ID.
-func (o NetworkInterfaceTapConfigurationResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Radius client root certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigRadiusClientRootCertificate struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The Radius client root certificate thumbprint.
+ Thumbprint *string `pulumi:"thumbprint"`
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o NetworkInterfaceTapConfigurationResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
+// P2SVpnServerConfigRadiusClientRootCertificateInput is an input type that accepts P2SVpnServerConfigRadiusClientRootCertificateArgs and P2SVpnServerConfigRadiusClientRootCertificateOutput values.
+// You can construct a concrete instance of `P2SVpnServerConfigRadiusClientRootCertificateInput` via:
+//
+// P2SVpnServerConfigRadiusClientRootCertificateArgs{...}
+type P2SVpnServerConfigRadiusClientRootCertificateInput interface {
+ pulumi.Input
-// The provisioning state of the network interface tap configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o NetworkInterfaceTapConfigurationResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
+ ToP2SVpnServerConfigRadiusClientRootCertificateOutput() P2SVpnServerConfigRadiusClientRootCertificateOutput
+ ToP2SVpnServerConfigRadiusClientRootCertificateOutputWithContext(context.Context) P2SVpnServerConfigRadiusClientRootCertificateOutput
}
-// Sub Resource type.
-func (o NetworkInterfaceTapConfigurationResponseV1Output) Type() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponseV1) string { return v.Type }).(pulumi.StringOutput)
+// Radius client root certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigRadiusClientRootCertificateArgs struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag pulumi.StringPtrInput `pulumi:"etag"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The Radius client root certificate thumbprint.
+ Thumbprint pulumi.StringPtrInput `pulumi:"thumbprint"`
}
-// The reference of the Virtual Network Tap resource.
-func (o NetworkInterfaceTapConfigurationResponseV1Output) VirtualNetworkTap() VirtualNetworkTapResponsePtrOutput {
- return o.ApplyT(func(v NetworkInterfaceTapConfigurationResponseV1) *VirtualNetworkTapResponse {
- return v.VirtualNetworkTap
- }).(VirtualNetworkTapResponsePtrOutput)
+func (P2SVpnServerConfigRadiusClientRootCertificateArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SVpnServerConfigRadiusClientRootCertificate)(nil)).Elem()
}
-type NetworkInterfaceTapConfigurationResponseV1ArrayOutput struct{ *pulumi.OutputState }
+func (i P2SVpnServerConfigRadiusClientRootCertificateArgs) ToP2SVpnServerConfigRadiusClientRootCertificateOutput() P2SVpnServerConfigRadiusClientRootCertificateOutput {
+ return i.ToP2SVpnServerConfigRadiusClientRootCertificateOutputWithContext(context.Background())
+}
-func (NetworkInterfaceTapConfigurationResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkInterfaceTapConfigurationResponseV1)(nil)).Elem()
+func (i P2SVpnServerConfigRadiusClientRootCertificateArgs) ToP2SVpnServerConfigRadiusClientRootCertificateOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusClientRootCertificateOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigRadiusClientRootCertificateOutput)
}
-func (o NetworkInterfaceTapConfigurationResponseV1ArrayOutput) ToNetworkInterfaceTapConfigurationResponseV1ArrayOutput() NetworkInterfaceTapConfigurationResponseV1ArrayOutput {
- return o
+// P2SVpnServerConfigRadiusClientRootCertificateArrayInput is an input type that accepts P2SVpnServerConfigRadiusClientRootCertificateArray and P2SVpnServerConfigRadiusClientRootCertificateArrayOutput values.
+// You can construct a concrete instance of `P2SVpnServerConfigRadiusClientRootCertificateArrayInput` via:
+//
+// P2SVpnServerConfigRadiusClientRootCertificateArray{ P2SVpnServerConfigRadiusClientRootCertificateArgs{...} }
+type P2SVpnServerConfigRadiusClientRootCertificateArrayInput interface {
+ pulumi.Input
+
+ ToP2SVpnServerConfigRadiusClientRootCertificateArrayOutput() P2SVpnServerConfigRadiusClientRootCertificateArrayOutput
+ ToP2SVpnServerConfigRadiusClientRootCertificateArrayOutputWithContext(context.Context) P2SVpnServerConfigRadiusClientRootCertificateArrayOutput
}
-func (o NetworkInterfaceTapConfigurationResponseV1ArrayOutput) ToNetworkInterfaceTapConfigurationResponseV1ArrayOutputWithContext(ctx context.Context) NetworkInterfaceTapConfigurationResponseV1ArrayOutput {
- return o
+type P2SVpnServerConfigRadiusClientRootCertificateArray []P2SVpnServerConfigRadiusClientRootCertificateInput
+
+func (P2SVpnServerConfigRadiusClientRootCertificateArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SVpnServerConfigRadiusClientRootCertificate)(nil)).Elem()
}
-func (o NetworkInterfaceTapConfigurationResponseV1ArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceTapConfigurationResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceTapConfigurationResponseV1 {
- return vs[0].([]NetworkInterfaceTapConfigurationResponseV1)[vs[1].(int)]
- }).(NetworkInterfaceTapConfigurationResponseV1Output)
+func (i P2SVpnServerConfigRadiusClientRootCertificateArray) ToP2SVpnServerConfigRadiusClientRootCertificateArrayOutput() P2SVpnServerConfigRadiusClientRootCertificateArrayOutput {
+ return i.ToP2SVpnServerConfigRadiusClientRootCertificateArrayOutputWithContext(context.Background())
}
-// Network Manager Deployment Status.
-type NetworkManagerDeploymentStatusResponse struct {
- // Commit Time.
- CommitTime *string `pulumi:"commitTime"`
- // List of configuration ids.
- ConfigurationIds []string `pulumi:"configurationIds"`
- // Deployment Status.
- DeploymentStatus *string `pulumi:"deploymentStatus"`
- // Configuration Deployment Type.
- DeploymentType *string `pulumi:"deploymentType"`
- // Error Message.
- ErrorMessage *string `pulumi:"errorMessage"`
- // Region Name.
- Region *string `pulumi:"region"`
+func (i P2SVpnServerConfigRadiusClientRootCertificateArray) ToP2SVpnServerConfigRadiusClientRootCertificateArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusClientRootCertificateArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigRadiusClientRootCertificateArrayOutput)
}
-// Network Manager Deployment Status.
-type NetworkManagerDeploymentStatusResponseOutput struct{ *pulumi.OutputState }
+// Radius client root certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigRadiusClientRootCertificateOutput struct{ *pulumi.OutputState }
-func (NetworkManagerDeploymentStatusResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkManagerDeploymentStatusResponse)(nil)).Elem()
+func (P2SVpnServerConfigRadiusClientRootCertificateOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SVpnServerConfigRadiusClientRootCertificate)(nil)).Elem()
}
-func (o NetworkManagerDeploymentStatusResponseOutput) ToNetworkManagerDeploymentStatusResponseOutput() NetworkManagerDeploymentStatusResponseOutput {
+func (o P2SVpnServerConfigRadiusClientRootCertificateOutput) ToP2SVpnServerConfigRadiusClientRootCertificateOutput() P2SVpnServerConfigRadiusClientRootCertificateOutput {
return o
}
-func (o NetworkManagerDeploymentStatusResponseOutput) ToNetworkManagerDeploymentStatusResponseOutputWithContext(ctx context.Context) NetworkManagerDeploymentStatusResponseOutput {
+func (o P2SVpnServerConfigRadiusClientRootCertificateOutput) ToP2SVpnServerConfigRadiusClientRootCertificateOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusClientRootCertificateOutput {
return o
}
-// Commit Time.
-func (o NetworkManagerDeploymentStatusResponseOutput) CommitTime() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkManagerDeploymentStatusResponse) *string { return v.CommitTime }).(pulumi.StringPtrOutput)
-}
-
-// List of configuration ids.
-func (o NetworkManagerDeploymentStatusResponseOutput) ConfigurationIds() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkManagerDeploymentStatusResponse) []string { return v.ConfigurationIds }).(pulumi.StringArrayOutput)
-}
-
-// Deployment Status.
-func (o NetworkManagerDeploymentStatusResponseOutput) DeploymentStatus() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkManagerDeploymentStatusResponse) *string { return v.DeploymentStatus }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o P2SVpnServerConfigRadiusClientRootCertificateOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificate) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// Configuration Deployment Type.
-func (o NetworkManagerDeploymentStatusResponseOutput) DeploymentType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkManagerDeploymentStatusResponse) *string { return v.DeploymentType }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o P2SVpnServerConfigRadiusClientRootCertificateOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificate) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Error Message.
-func (o NetworkManagerDeploymentStatusResponseOutput) ErrorMessage() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkManagerDeploymentStatusResponse) *string { return v.ErrorMessage }).(pulumi.StringPtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o P2SVpnServerConfigRadiusClientRootCertificateOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificate) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Region Name.
-func (o NetworkManagerDeploymentStatusResponseOutput) Region() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkManagerDeploymentStatusResponse) *string { return v.Region }).(pulumi.StringPtrOutput)
+// The Radius client root certificate thumbprint.
+func (o P2SVpnServerConfigRadiusClientRootCertificateOutput) Thumbprint() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificate) *string { return v.Thumbprint }).(pulumi.StringPtrOutput)
}
-type NetworkManagerDeploymentStatusResponseArrayOutput struct{ *pulumi.OutputState }
+type P2SVpnServerConfigRadiusClientRootCertificateArrayOutput struct{ *pulumi.OutputState }
-func (NetworkManagerDeploymentStatusResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkManagerDeploymentStatusResponse)(nil)).Elem()
+func (P2SVpnServerConfigRadiusClientRootCertificateArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SVpnServerConfigRadiusClientRootCertificate)(nil)).Elem()
}
-func (o NetworkManagerDeploymentStatusResponseArrayOutput) ToNetworkManagerDeploymentStatusResponseArrayOutput() NetworkManagerDeploymentStatusResponseArrayOutput {
+func (o P2SVpnServerConfigRadiusClientRootCertificateArrayOutput) ToP2SVpnServerConfigRadiusClientRootCertificateArrayOutput() P2SVpnServerConfigRadiusClientRootCertificateArrayOutput {
return o
}
-func (o NetworkManagerDeploymentStatusResponseArrayOutput) ToNetworkManagerDeploymentStatusResponseArrayOutputWithContext(ctx context.Context) NetworkManagerDeploymentStatusResponseArrayOutput {
+func (o P2SVpnServerConfigRadiusClientRootCertificateArrayOutput) ToP2SVpnServerConfigRadiusClientRootCertificateArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusClientRootCertificateArrayOutput {
return o
}
-func (o NetworkManagerDeploymentStatusResponseArrayOutput) Index(i pulumi.IntInput) NetworkManagerDeploymentStatusResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkManagerDeploymentStatusResponse {
- return vs[0].([]NetworkManagerDeploymentStatusResponse)[vs[1].(int)]
- }).(NetworkManagerDeploymentStatusResponseOutput)
-}
-
-// Scope of Network Manager.
-type NetworkManagerPropertiesNetworkManagerScopes struct {
- // List of management groups.
- ManagementGroups []string `pulumi:"managementGroups"`
- // List of subscriptions.
- Subscriptions []string `pulumi:"subscriptions"`
-}
-
-// NetworkManagerPropertiesNetworkManagerScopesInput is an input type that accepts NetworkManagerPropertiesNetworkManagerScopesArgs and NetworkManagerPropertiesNetworkManagerScopesOutput values.
-// You can construct a concrete instance of `NetworkManagerPropertiesNetworkManagerScopesInput` via:
-//
-// NetworkManagerPropertiesNetworkManagerScopesArgs{...}
-type NetworkManagerPropertiesNetworkManagerScopesInput interface {
- pulumi.Input
-
- ToNetworkManagerPropertiesNetworkManagerScopesOutput() NetworkManagerPropertiesNetworkManagerScopesOutput
- ToNetworkManagerPropertiesNetworkManagerScopesOutputWithContext(context.Context) NetworkManagerPropertiesNetworkManagerScopesOutput
+func (o P2SVpnServerConfigRadiusClientRootCertificateArrayOutput) Index(i pulumi.IntInput) P2SVpnServerConfigRadiusClientRootCertificateOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnServerConfigRadiusClientRootCertificate {
+ return vs[0].([]P2SVpnServerConfigRadiusClientRootCertificate)[vs[1].(int)]
+ }).(P2SVpnServerConfigRadiusClientRootCertificateOutput)
}
-// Scope of Network Manager.
-type NetworkManagerPropertiesNetworkManagerScopesArgs struct {
- // List of management groups.
- ManagementGroups pulumi.StringArrayInput `pulumi:"managementGroups"`
- // List of subscriptions.
- Subscriptions pulumi.StringArrayInput `pulumi:"subscriptions"`
+// Radius client root certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigRadiusClientRootCertificateResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the radius client root certificate resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The Radius client root certificate thumbprint.
+ Thumbprint *string `pulumi:"thumbprint"`
}
-func (NetworkManagerPropertiesNetworkManagerScopesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkManagerPropertiesNetworkManagerScopes)(nil)).Elem()
-}
+// Radius client root certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigRadiusClientRootCertificateResponseOutput struct{ *pulumi.OutputState }
-func (i NetworkManagerPropertiesNetworkManagerScopesArgs) ToNetworkManagerPropertiesNetworkManagerScopesOutput() NetworkManagerPropertiesNetworkManagerScopesOutput {
- return i.ToNetworkManagerPropertiesNetworkManagerScopesOutputWithContext(context.Background())
+func (P2SVpnServerConfigRadiusClientRootCertificateResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SVpnServerConfigRadiusClientRootCertificateResponse)(nil)).Elem()
}
-func (i NetworkManagerPropertiesNetworkManagerScopesArgs) ToNetworkManagerPropertiesNetworkManagerScopesOutputWithContext(ctx context.Context) NetworkManagerPropertiesNetworkManagerScopesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkManagerPropertiesNetworkManagerScopesOutput)
+func (o P2SVpnServerConfigRadiusClientRootCertificateResponseOutput) ToP2SVpnServerConfigRadiusClientRootCertificateResponseOutput() P2SVpnServerConfigRadiusClientRootCertificateResponseOutput {
+ return o
}
-// Scope of Network Manager.
-type NetworkManagerPropertiesNetworkManagerScopesOutput struct{ *pulumi.OutputState }
-
-func (NetworkManagerPropertiesNetworkManagerScopesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkManagerPropertiesNetworkManagerScopes)(nil)).Elem()
+func (o P2SVpnServerConfigRadiusClientRootCertificateResponseOutput) ToP2SVpnServerConfigRadiusClientRootCertificateResponseOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusClientRootCertificateResponseOutput {
+ return o
}
-func (o NetworkManagerPropertiesNetworkManagerScopesOutput) ToNetworkManagerPropertiesNetworkManagerScopesOutput() NetworkManagerPropertiesNetworkManagerScopesOutput {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o P2SVpnServerConfigRadiusClientRootCertificateResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificateResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-func (o NetworkManagerPropertiesNetworkManagerScopesOutput) ToNetworkManagerPropertiesNetworkManagerScopesOutputWithContext(ctx context.Context) NetworkManagerPropertiesNetworkManagerScopesOutput {
- return o
+// Resource ID.
+func (o P2SVpnServerConfigRadiusClientRootCertificateResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificateResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// List of management groups.
-func (o NetworkManagerPropertiesNetworkManagerScopesOutput) ManagementGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkManagerPropertiesNetworkManagerScopes) []string { return v.ManagementGroups }).(pulumi.StringArrayOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o P2SVpnServerConfigRadiusClientRootCertificateResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificateResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// List of subscriptions.
-func (o NetworkManagerPropertiesNetworkManagerScopesOutput) Subscriptions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkManagerPropertiesNetworkManagerScopes) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
+// The provisioning state of the radius client root certificate resource.
+func (o P2SVpnServerConfigRadiusClientRootCertificateResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificateResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Scope of Network Manager.
-type NetworkManagerPropertiesResponseNetworkManagerScopes struct {
- // List of cross tenant scopes.
- CrossTenantScopes []CrossTenantScopesResponse `pulumi:"crossTenantScopes"`
- // List of management groups.
- ManagementGroups []string `pulumi:"managementGroups"`
- // List of subscriptions.
- Subscriptions []string `pulumi:"subscriptions"`
+// The Radius client root certificate thumbprint.
+func (o P2SVpnServerConfigRadiusClientRootCertificateResponseOutput) Thumbprint() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificateResponse) *string { return v.Thumbprint }).(pulumi.StringPtrOutput)
}
-// Scope of Network Manager.
-type NetworkManagerPropertiesResponseNetworkManagerScopesOutput struct{ *pulumi.OutputState }
+type P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput struct{ *pulumi.OutputState }
-func (NetworkManagerPropertiesResponseNetworkManagerScopesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkManagerPropertiesResponseNetworkManagerScopes)(nil)).Elem()
+func (P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SVpnServerConfigRadiusClientRootCertificateResponse)(nil)).Elem()
}
-func (o NetworkManagerPropertiesResponseNetworkManagerScopesOutput) ToNetworkManagerPropertiesResponseNetworkManagerScopesOutput() NetworkManagerPropertiesResponseNetworkManagerScopesOutput {
+func (o P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput) ToP2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput() P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput {
return o
}
-func (o NetworkManagerPropertiesResponseNetworkManagerScopesOutput) ToNetworkManagerPropertiesResponseNetworkManagerScopesOutputWithContext(ctx context.Context) NetworkManagerPropertiesResponseNetworkManagerScopesOutput {
+func (o P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput) ToP2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput {
return o
}
-// List of cross tenant scopes.
-func (o NetworkManagerPropertiesResponseNetworkManagerScopesOutput) CrossTenantScopes() CrossTenantScopesResponseArrayOutput {
- return o.ApplyT(func(v NetworkManagerPropertiesResponseNetworkManagerScopes) []CrossTenantScopesResponse {
- return v.CrossTenantScopes
- }).(CrossTenantScopesResponseArrayOutput)
-}
-
-// List of management groups.
-func (o NetworkManagerPropertiesResponseNetworkManagerScopesOutput) ManagementGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkManagerPropertiesResponseNetworkManagerScopes) []string { return v.ManagementGroups }).(pulumi.StringArrayOutput)
-}
-
-// List of subscriptions.
-func (o NetworkManagerPropertiesResponseNetworkManagerScopesOutput) Subscriptions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkManagerPropertiesResponseNetworkManagerScopes) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
+func (o P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput) Index(i pulumi.IntInput) P2SVpnServerConfigRadiusClientRootCertificateResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnServerConfigRadiusClientRootCertificateResponse {
+ return vs[0].([]P2SVpnServerConfigRadiusClientRootCertificateResponse)[vs[1].(int)]
+ }).(P2SVpnServerConfigRadiusClientRootCertificateResponseOutput)
}
-// Network manager routing group item.
-type NetworkManagerRoutingGroupItem struct {
- // Network manager group Id.
- NetworkGroupId string `pulumi:"networkGroupId"`
+// Radius Server root certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigRadiusServerRootCertificate struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The certificate public data.
+ PublicCertData string `pulumi:"publicCertData"`
}
-// NetworkManagerRoutingGroupItemInput is an input type that accepts NetworkManagerRoutingGroupItemArgs and NetworkManagerRoutingGroupItemOutput values.
-// You can construct a concrete instance of `NetworkManagerRoutingGroupItemInput` via:
+// P2SVpnServerConfigRadiusServerRootCertificateInput is an input type that accepts P2SVpnServerConfigRadiusServerRootCertificateArgs and P2SVpnServerConfigRadiusServerRootCertificateOutput values.
+// You can construct a concrete instance of `P2SVpnServerConfigRadiusServerRootCertificateInput` via:
//
-// NetworkManagerRoutingGroupItemArgs{...}
-type NetworkManagerRoutingGroupItemInput interface {
+// P2SVpnServerConfigRadiusServerRootCertificateArgs{...}
+type P2SVpnServerConfigRadiusServerRootCertificateInput interface {
pulumi.Input
- ToNetworkManagerRoutingGroupItemOutput() NetworkManagerRoutingGroupItemOutput
- ToNetworkManagerRoutingGroupItemOutputWithContext(context.Context) NetworkManagerRoutingGroupItemOutput
+ ToP2SVpnServerConfigRadiusServerRootCertificateOutput() P2SVpnServerConfigRadiusServerRootCertificateOutput
+ ToP2SVpnServerConfigRadiusServerRootCertificateOutputWithContext(context.Context) P2SVpnServerConfigRadiusServerRootCertificateOutput
}
-// Network manager routing group item.
-type NetworkManagerRoutingGroupItemArgs struct {
- // Network manager group Id.
- NetworkGroupId pulumi.StringInput `pulumi:"networkGroupId"`
+// Radius Server root certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigRadiusServerRootCertificateArgs struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag pulumi.StringPtrInput `pulumi:"etag"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The certificate public data.
+ PublicCertData pulumi.StringInput `pulumi:"publicCertData"`
}
-func (NetworkManagerRoutingGroupItemArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkManagerRoutingGroupItem)(nil)).Elem()
+func (P2SVpnServerConfigRadiusServerRootCertificateArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SVpnServerConfigRadiusServerRootCertificate)(nil)).Elem()
}
-func (i NetworkManagerRoutingGroupItemArgs) ToNetworkManagerRoutingGroupItemOutput() NetworkManagerRoutingGroupItemOutput {
- return i.ToNetworkManagerRoutingGroupItemOutputWithContext(context.Background())
+func (i P2SVpnServerConfigRadiusServerRootCertificateArgs) ToP2SVpnServerConfigRadiusServerRootCertificateOutput() P2SVpnServerConfigRadiusServerRootCertificateOutput {
+ return i.ToP2SVpnServerConfigRadiusServerRootCertificateOutputWithContext(context.Background())
}
-func (i NetworkManagerRoutingGroupItemArgs) ToNetworkManagerRoutingGroupItemOutputWithContext(ctx context.Context) NetworkManagerRoutingGroupItemOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkManagerRoutingGroupItemOutput)
+func (i P2SVpnServerConfigRadiusServerRootCertificateArgs) ToP2SVpnServerConfigRadiusServerRootCertificateOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusServerRootCertificateOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigRadiusServerRootCertificateOutput)
}
-// NetworkManagerRoutingGroupItemArrayInput is an input type that accepts NetworkManagerRoutingGroupItemArray and NetworkManagerRoutingGroupItemArrayOutput values.
-// You can construct a concrete instance of `NetworkManagerRoutingGroupItemArrayInput` via:
+// P2SVpnServerConfigRadiusServerRootCertificateArrayInput is an input type that accepts P2SVpnServerConfigRadiusServerRootCertificateArray and P2SVpnServerConfigRadiusServerRootCertificateArrayOutput values.
+// You can construct a concrete instance of `P2SVpnServerConfigRadiusServerRootCertificateArrayInput` via:
//
-// NetworkManagerRoutingGroupItemArray{ NetworkManagerRoutingGroupItemArgs{...} }
-type NetworkManagerRoutingGroupItemArrayInput interface {
+// P2SVpnServerConfigRadiusServerRootCertificateArray{ P2SVpnServerConfigRadiusServerRootCertificateArgs{...} }
+type P2SVpnServerConfigRadiusServerRootCertificateArrayInput interface {
pulumi.Input
- ToNetworkManagerRoutingGroupItemArrayOutput() NetworkManagerRoutingGroupItemArrayOutput
- ToNetworkManagerRoutingGroupItemArrayOutputWithContext(context.Context) NetworkManagerRoutingGroupItemArrayOutput
+ ToP2SVpnServerConfigRadiusServerRootCertificateArrayOutput() P2SVpnServerConfigRadiusServerRootCertificateArrayOutput
+ ToP2SVpnServerConfigRadiusServerRootCertificateArrayOutputWithContext(context.Context) P2SVpnServerConfigRadiusServerRootCertificateArrayOutput
}
-type NetworkManagerRoutingGroupItemArray []NetworkManagerRoutingGroupItemInput
+type P2SVpnServerConfigRadiusServerRootCertificateArray []P2SVpnServerConfigRadiusServerRootCertificateInput
-func (NetworkManagerRoutingGroupItemArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkManagerRoutingGroupItem)(nil)).Elem()
+func (P2SVpnServerConfigRadiusServerRootCertificateArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SVpnServerConfigRadiusServerRootCertificate)(nil)).Elem()
}
-func (i NetworkManagerRoutingGroupItemArray) ToNetworkManagerRoutingGroupItemArrayOutput() NetworkManagerRoutingGroupItemArrayOutput {
- return i.ToNetworkManagerRoutingGroupItemArrayOutputWithContext(context.Background())
+func (i P2SVpnServerConfigRadiusServerRootCertificateArray) ToP2SVpnServerConfigRadiusServerRootCertificateArrayOutput() P2SVpnServerConfigRadiusServerRootCertificateArrayOutput {
+ return i.ToP2SVpnServerConfigRadiusServerRootCertificateArrayOutputWithContext(context.Background())
}
-func (i NetworkManagerRoutingGroupItemArray) ToNetworkManagerRoutingGroupItemArrayOutputWithContext(ctx context.Context) NetworkManagerRoutingGroupItemArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkManagerRoutingGroupItemArrayOutput)
+func (i P2SVpnServerConfigRadiusServerRootCertificateArray) ToP2SVpnServerConfigRadiusServerRootCertificateArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusServerRootCertificateArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigRadiusServerRootCertificateArrayOutput)
}
-// Network manager routing group item.
-type NetworkManagerRoutingGroupItemOutput struct{ *pulumi.OutputState }
+// Radius Server root certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigRadiusServerRootCertificateOutput struct{ *pulumi.OutputState }
-func (NetworkManagerRoutingGroupItemOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkManagerRoutingGroupItem)(nil)).Elem()
+func (P2SVpnServerConfigRadiusServerRootCertificateOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SVpnServerConfigRadiusServerRootCertificate)(nil)).Elem()
}
-func (o NetworkManagerRoutingGroupItemOutput) ToNetworkManagerRoutingGroupItemOutput() NetworkManagerRoutingGroupItemOutput {
+func (o P2SVpnServerConfigRadiusServerRootCertificateOutput) ToP2SVpnServerConfigRadiusServerRootCertificateOutput() P2SVpnServerConfigRadiusServerRootCertificateOutput {
return o
}
-func (o NetworkManagerRoutingGroupItemOutput) ToNetworkManagerRoutingGroupItemOutputWithContext(ctx context.Context) NetworkManagerRoutingGroupItemOutput {
+func (o P2SVpnServerConfigRadiusServerRootCertificateOutput) ToP2SVpnServerConfigRadiusServerRootCertificateOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusServerRootCertificateOutput {
return o
}
-// Network manager group Id.
-func (o NetworkManagerRoutingGroupItemOutput) NetworkGroupId() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkManagerRoutingGroupItem) string { return v.NetworkGroupId }).(pulumi.StringOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o P2SVpnServerConfigRadiusServerRootCertificateOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificate) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-type NetworkManagerRoutingGroupItemArrayOutput struct{ *pulumi.OutputState }
-
-func (NetworkManagerRoutingGroupItemArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkManagerRoutingGroupItem)(nil)).Elem()
+// Resource ID.
+func (o P2SVpnServerConfigRadiusServerRootCertificateOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificate) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o NetworkManagerRoutingGroupItemArrayOutput) ToNetworkManagerRoutingGroupItemArrayOutput() NetworkManagerRoutingGroupItemArrayOutput {
- return o
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o P2SVpnServerConfigRadiusServerRootCertificateOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificate) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o NetworkManagerRoutingGroupItemArrayOutput) ToNetworkManagerRoutingGroupItemArrayOutputWithContext(ctx context.Context) NetworkManagerRoutingGroupItemArrayOutput {
- return o
+// The certificate public data.
+func (o P2SVpnServerConfigRadiusServerRootCertificateOutput) PublicCertData() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificate) string { return v.PublicCertData }).(pulumi.StringOutput)
}
-func (o NetworkManagerRoutingGroupItemArrayOutput) Index(i pulumi.IntInput) NetworkManagerRoutingGroupItemOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkManagerRoutingGroupItem {
- return vs[0].([]NetworkManagerRoutingGroupItem)[vs[1].(int)]
- }).(NetworkManagerRoutingGroupItemOutput)
-}
+type P2SVpnServerConfigRadiusServerRootCertificateArrayOutput struct{ *pulumi.OutputState }
-// Network manager routing group item.
-type NetworkManagerRoutingGroupItemResponse struct {
- // Network manager group Id.
- NetworkGroupId string `pulumi:"networkGroupId"`
+func (P2SVpnServerConfigRadiusServerRootCertificateArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SVpnServerConfigRadiusServerRootCertificate)(nil)).Elem()
}
-// Network manager routing group item.
-type NetworkManagerRoutingGroupItemResponseOutput struct{ *pulumi.OutputState }
-
-func (NetworkManagerRoutingGroupItemResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkManagerRoutingGroupItemResponse)(nil)).Elem()
+func (o P2SVpnServerConfigRadiusServerRootCertificateArrayOutput) ToP2SVpnServerConfigRadiusServerRootCertificateArrayOutput() P2SVpnServerConfigRadiusServerRootCertificateArrayOutput {
+ return o
}
-func (o NetworkManagerRoutingGroupItemResponseOutput) ToNetworkManagerRoutingGroupItemResponseOutput() NetworkManagerRoutingGroupItemResponseOutput {
+func (o P2SVpnServerConfigRadiusServerRootCertificateArrayOutput) ToP2SVpnServerConfigRadiusServerRootCertificateArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusServerRootCertificateArrayOutput {
return o
}
-func (o NetworkManagerRoutingGroupItemResponseOutput) ToNetworkManagerRoutingGroupItemResponseOutputWithContext(ctx context.Context) NetworkManagerRoutingGroupItemResponseOutput {
- return o
+func (o P2SVpnServerConfigRadiusServerRootCertificateArrayOutput) Index(i pulumi.IntInput) P2SVpnServerConfigRadiusServerRootCertificateOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnServerConfigRadiusServerRootCertificate {
+ return vs[0].([]P2SVpnServerConfigRadiusServerRootCertificate)[vs[1].(int)]
+ }).(P2SVpnServerConfigRadiusServerRootCertificateOutput)
}
-// Network manager group Id.
-func (o NetworkManagerRoutingGroupItemResponseOutput) NetworkGroupId() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkManagerRoutingGroupItemResponse) string { return v.NetworkGroupId }).(pulumi.StringOutput)
+// Radius Server root certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigRadiusServerRootCertificateResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the radius server root certificate resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The certificate public data.
+ PublicCertData string `pulumi:"publicCertData"`
}
-type NetworkManagerRoutingGroupItemResponseArrayOutput struct{ *pulumi.OutputState }
+// Radius Server root certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigRadiusServerRootCertificateResponseOutput struct{ *pulumi.OutputState }
-func (NetworkManagerRoutingGroupItemResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkManagerRoutingGroupItemResponse)(nil)).Elem()
+func (P2SVpnServerConfigRadiusServerRootCertificateResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SVpnServerConfigRadiusServerRootCertificateResponse)(nil)).Elem()
}
-func (o NetworkManagerRoutingGroupItemResponseArrayOutput) ToNetworkManagerRoutingGroupItemResponseArrayOutput() NetworkManagerRoutingGroupItemResponseArrayOutput {
+func (o P2SVpnServerConfigRadiusServerRootCertificateResponseOutput) ToP2SVpnServerConfigRadiusServerRootCertificateResponseOutput() P2SVpnServerConfigRadiusServerRootCertificateResponseOutput {
return o
}
-func (o NetworkManagerRoutingGroupItemResponseArrayOutput) ToNetworkManagerRoutingGroupItemResponseArrayOutputWithContext(ctx context.Context) NetworkManagerRoutingGroupItemResponseArrayOutput {
+func (o P2SVpnServerConfigRadiusServerRootCertificateResponseOutput) ToP2SVpnServerConfigRadiusServerRootCertificateResponseOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusServerRootCertificateResponseOutput {
return o
}
-func (o NetworkManagerRoutingGroupItemResponseArrayOutput) Index(i pulumi.IntInput) NetworkManagerRoutingGroupItemResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkManagerRoutingGroupItemResponse {
- return vs[0].([]NetworkManagerRoutingGroupItemResponse)[vs[1].(int)]
- }).(NetworkManagerRoutingGroupItemResponseOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o P2SVpnServerConfigRadiusServerRootCertificateResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificateResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// Network manager security group item.
-type NetworkManagerSecurityGroupItem struct {
- // Network manager group Id.
- NetworkGroupId string `pulumi:"networkGroupId"`
+// Resource ID.
+func (o P2SVpnServerConfigRadiusServerRootCertificateResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificateResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// NetworkManagerSecurityGroupItemInput is an input type that accepts NetworkManagerSecurityGroupItemArgs and NetworkManagerSecurityGroupItemOutput values.
-// You can construct a concrete instance of `NetworkManagerSecurityGroupItemInput` via:
-//
-// NetworkManagerSecurityGroupItemArgs{...}
-type NetworkManagerSecurityGroupItemInput interface {
- pulumi.Input
-
- ToNetworkManagerSecurityGroupItemOutput() NetworkManagerSecurityGroupItemOutput
- ToNetworkManagerSecurityGroupItemOutputWithContext(context.Context) NetworkManagerSecurityGroupItemOutput
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o P2SVpnServerConfigRadiusServerRootCertificateResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificateResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Network manager security group item.
-type NetworkManagerSecurityGroupItemArgs struct {
- // Network manager group Id.
- NetworkGroupId pulumi.StringInput `pulumi:"networkGroupId"`
+// The provisioning state of the radius server root certificate resource.
+func (o P2SVpnServerConfigRadiusServerRootCertificateResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificateResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
+
+// The certificate public data.
+func (o P2SVpnServerConfigRadiusServerRootCertificateResponseOutput) PublicCertData() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificateResponse) string { return v.PublicCertData }).(pulumi.StringOutput)
+}
+
+type P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SVpnServerConfigRadiusServerRootCertificateResponse)(nil)).Elem()
}
-func (NetworkManagerSecurityGroupItemArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkManagerSecurityGroupItem)(nil)).Elem()
+func (o P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput) ToP2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput() P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput {
+ return o
+}
+
+func (o P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput) ToP2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput {
+ return o
}
-func (i NetworkManagerSecurityGroupItemArgs) ToNetworkManagerSecurityGroupItemOutput() NetworkManagerSecurityGroupItemOutput {
- return i.ToNetworkManagerSecurityGroupItemOutputWithContext(context.Background())
+func (o P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput) Index(i pulumi.IntInput) P2SVpnServerConfigRadiusServerRootCertificateResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnServerConfigRadiusServerRootCertificateResponse {
+ return vs[0].([]P2SVpnServerConfigRadiusServerRootCertificateResponse)[vs[1].(int)]
+ }).(P2SVpnServerConfigRadiusServerRootCertificateResponseOutput)
}
-func (i NetworkManagerSecurityGroupItemArgs) ToNetworkManagerSecurityGroupItemOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkManagerSecurityGroupItemOutput)
+// VPN client revoked certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigVpnClientRevokedCertificate struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The revoked VPN client certificate thumbprint.
+ Thumbprint *string `pulumi:"thumbprint"`
}
-// NetworkManagerSecurityGroupItemArrayInput is an input type that accepts NetworkManagerSecurityGroupItemArray and NetworkManagerSecurityGroupItemArrayOutput values.
-// You can construct a concrete instance of `NetworkManagerSecurityGroupItemArrayInput` via:
+// P2SVpnServerConfigVpnClientRevokedCertificateInput is an input type that accepts P2SVpnServerConfigVpnClientRevokedCertificateArgs and P2SVpnServerConfigVpnClientRevokedCertificateOutput values.
+// You can construct a concrete instance of `P2SVpnServerConfigVpnClientRevokedCertificateInput` via:
//
-// NetworkManagerSecurityGroupItemArray{ NetworkManagerSecurityGroupItemArgs{...} }
-type NetworkManagerSecurityGroupItemArrayInput interface {
+// P2SVpnServerConfigVpnClientRevokedCertificateArgs{...}
+type P2SVpnServerConfigVpnClientRevokedCertificateInput interface {
pulumi.Input
- ToNetworkManagerSecurityGroupItemArrayOutput() NetworkManagerSecurityGroupItemArrayOutput
- ToNetworkManagerSecurityGroupItemArrayOutputWithContext(context.Context) NetworkManagerSecurityGroupItemArrayOutput
+ ToP2SVpnServerConfigVpnClientRevokedCertificateOutput() P2SVpnServerConfigVpnClientRevokedCertificateOutput
+ ToP2SVpnServerConfigVpnClientRevokedCertificateOutputWithContext(context.Context) P2SVpnServerConfigVpnClientRevokedCertificateOutput
}
-type NetworkManagerSecurityGroupItemArray []NetworkManagerSecurityGroupItemInput
+// VPN client revoked certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigVpnClientRevokedCertificateArgs struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag pulumi.StringPtrInput `pulumi:"etag"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The revoked VPN client certificate thumbprint.
+ Thumbprint pulumi.StringPtrInput `pulumi:"thumbprint"`
+}
-func (NetworkManagerSecurityGroupItemArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkManagerSecurityGroupItem)(nil)).Elem()
+func (P2SVpnServerConfigVpnClientRevokedCertificateArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SVpnServerConfigVpnClientRevokedCertificate)(nil)).Elem()
}
-func (i NetworkManagerSecurityGroupItemArray) ToNetworkManagerSecurityGroupItemArrayOutput() NetworkManagerSecurityGroupItemArrayOutput {
- return i.ToNetworkManagerSecurityGroupItemArrayOutputWithContext(context.Background())
+func (i P2SVpnServerConfigVpnClientRevokedCertificateArgs) ToP2SVpnServerConfigVpnClientRevokedCertificateOutput() P2SVpnServerConfigVpnClientRevokedCertificateOutput {
+ return i.ToP2SVpnServerConfigVpnClientRevokedCertificateOutputWithContext(context.Background())
}
-func (i NetworkManagerSecurityGroupItemArray) ToNetworkManagerSecurityGroupItemArrayOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkManagerSecurityGroupItemArrayOutput)
+func (i P2SVpnServerConfigVpnClientRevokedCertificateArgs) ToP2SVpnServerConfigVpnClientRevokedCertificateOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRevokedCertificateOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigVpnClientRevokedCertificateOutput)
}
-// Network manager security group item.
-type NetworkManagerSecurityGroupItemOutput struct{ *pulumi.OutputState }
+// P2SVpnServerConfigVpnClientRevokedCertificateArrayInput is an input type that accepts P2SVpnServerConfigVpnClientRevokedCertificateArray and P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput values.
+// You can construct a concrete instance of `P2SVpnServerConfigVpnClientRevokedCertificateArrayInput` via:
+//
+// P2SVpnServerConfigVpnClientRevokedCertificateArray{ P2SVpnServerConfigVpnClientRevokedCertificateArgs{...} }
+type P2SVpnServerConfigVpnClientRevokedCertificateArrayInput interface {
+ pulumi.Input
-func (NetworkManagerSecurityGroupItemOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkManagerSecurityGroupItem)(nil)).Elem()
+ ToP2SVpnServerConfigVpnClientRevokedCertificateArrayOutput() P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput
+ ToP2SVpnServerConfigVpnClientRevokedCertificateArrayOutputWithContext(context.Context) P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput
}
-func (o NetworkManagerSecurityGroupItemOutput) ToNetworkManagerSecurityGroupItemOutput() NetworkManagerSecurityGroupItemOutput {
- return o
+type P2SVpnServerConfigVpnClientRevokedCertificateArray []P2SVpnServerConfigVpnClientRevokedCertificateInput
+
+func (P2SVpnServerConfigVpnClientRevokedCertificateArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SVpnServerConfigVpnClientRevokedCertificate)(nil)).Elem()
}
-func (o NetworkManagerSecurityGroupItemOutput) ToNetworkManagerSecurityGroupItemOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemOutput {
- return o
+func (i P2SVpnServerConfigVpnClientRevokedCertificateArray) ToP2SVpnServerConfigVpnClientRevokedCertificateArrayOutput() P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput {
+ return i.ToP2SVpnServerConfigVpnClientRevokedCertificateArrayOutputWithContext(context.Background())
}
-// Network manager group Id.
-func (o NetworkManagerSecurityGroupItemOutput) NetworkGroupId() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkManagerSecurityGroupItem) string { return v.NetworkGroupId }).(pulumi.StringOutput)
+func (i P2SVpnServerConfigVpnClientRevokedCertificateArray) ToP2SVpnServerConfigVpnClientRevokedCertificateArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput)
}
-type NetworkManagerSecurityGroupItemArrayOutput struct{ *pulumi.OutputState }
+// VPN client revoked certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigVpnClientRevokedCertificateOutput struct{ *pulumi.OutputState }
-func (NetworkManagerSecurityGroupItemArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkManagerSecurityGroupItem)(nil)).Elem()
+func (P2SVpnServerConfigVpnClientRevokedCertificateOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SVpnServerConfigVpnClientRevokedCertificate)(nil)).Elem()
}
-func (o NetworkManagerSecurityGroupItemArrayOutput) ToNetworkManagerSecurityGroupItemArrayOutput() NetworkManagerSecurityGroupItemArrayOutput {
+func (o P2SVpnServerConfigVpnClientRevokedCertificateOutput) ToP2SVpnServerConfigVpnClientRevokedCertificateOutput() P2SVpnServerConfigVpnClientRevokedCertificateOutput {
return o
}
-func (o NetworkManagerSecurityGroupItemArrayOutput) ToNetworkManagerSecurityGroupItemArrayOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemArrayOutput {
+func (o P2SVpnServerConfigVpnClientRevokedCertificateOutput) ToP2SVpnServerConfigVpnClientRevokedCertificateOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRevokedCertificateOutput {
return o
}
-func (o NetworkManagerSecurityGroupItemArrayOutput) Index(i pulumi.IntInput) NetworkManagerSecurityGroupItemOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkManagerSecurityGroupItem {
- return vs[0].([]NetworkManagerSecurityGroupItem)[vs[1].(int)]
- }).(NetworkManagerSecurityGroupItemOutput)
-}
-
-// Network manager security group item.
-type NetworkManagerSecurityGroupItemResponse struct {
- // Network manager group Id.
- NetworkGroupId string `pulumi:"networkGroupId"`
-}
-
-// Network manager security group item.
-type NetworkManagerSecurityGroupItemResponseOutput struct{ *pulumi.OutputState }
-
-func (NetworkManagerSecurityGroupItemResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkManagerSecurityGroupItemResponse)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o P2SVpnServerConfigVpnClientRevokedCertificateOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificate) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-func (o NetworkManagerSecurityGroupItemResponseOutput) ToNetworkManagerSecurityGroupItemResponseOutput() NetworkManagerSecurityGroupItemResponseOutput {
- return o
+// Resource ID.
+func (o P2SVpnServerConfigVpnClientRevokedCertificateOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificate) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o NetworkManagerSecurityGroupItemResponseOutput) ToNetworkManagerSecurityGroupItemResponseOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemResponseOutput {
- return o
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o P2SVpnServerConfigVpnClientRevokedCertificateOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificate) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Network manager group Id.
-func (o NetworkManagerSecurityGroupItemResponseOutput) NetworkGroupId() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkManagerSecurityGroupItemResponse) string { return v.NetworkGroupId }).(pulumi.StringOutput)
+// The revoked VPN client certificate thumbprint.
+func (o P2SVpnServerConfigVpnClientRevokedCertificateOutput) Thumbprint() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificate) *string { return v.Thumbprint }).(pulumi.StringPtrOutput)
}
-type NetworkManagerSecurityGroupItemResponseArrayOutput struct{ *pulumi.OutputState }
+type P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput struct{ *pulumi.OutputState }
-func (NetworkManagerSecurityGroupItemResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkManagerSecurityGroupItemResponse)(nil)).Elem()
+func (P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SVpnServerConfigVpnClientRevokedCertificate)(nil)).Elem()
}
-func (o NetworkManagerSecurityGroupItemResponseArrayOutput) ToNetworkManagerSecurityGroupItemResponseArrayOutput() NetworkManagerSecurityGroupItemResponseArrayOutput {
+func (o P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput) ToP2SVpnServerConfigVpnClientRevokedCertificateArrayOutput() P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput {
return o
}
-func (o NetworkManagerSecurityGroupItemResponseArrayOutput) ToNetworkManagerSecurityGroupItemResponseArrayOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemResponseArrayOutput {
+func (o P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput) ToP2SVpnServerConfigVpnClientRevokedCertificateArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput {
return o
}
-func (o NetworkManagerSecurityGroupItemResponseArrayOutput) Index(i pulumi.IntInput) NetworkManagerSecurityGroupItemResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkManagerSecurityGroupItemResponse {
- return vs[0].([]NetworkManagerSecurityGroupItemResponse)[vs[1].(int)]
- }).(NetworkManagerSecurityGroupItemResponseOutput)
+func (o P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput) Index(i pulumi.IntInput) P2SVpnServerConfigVpnClientRevokedCertificateOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnServerConfigVpnClientRevokedCertificate {
+ return vs[0].([]P2SVpnServerConfigVpnClientRevokedCertificate)[vs[1].(int)]
+ }).(P2SVpnServerConfigVpnClientRevokedCertificateOutput)
}
-// Network manager security group item.
-type NetworkManagerSecurityGroupItemResponseV1 struct {
- // Network manager group Id.
- NetworkGroupId *string `pulumi:"networkGroupId"`
+// VPN client revoked certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigVpnClientRevokedCertificateResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the VPN client revoked certificate resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The revoked VPN client certificate thumbprint.
+ Thumbprint *string `pulumi:"thumbprint"`
}
-// Network manager security group item.
-type NetworkManagerSecurityGroupItemResponseV1Output struct{ *pulumi.OutputState }
+// VPN client revoked certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput struct{ *pulumi.OutputState }
-func (NetworkManagerSecurityGroupItemResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkManagerSecurityGroupItemResponseV1)(nil)).Elem()
+func (P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SVpnServerConfigVpnClientRevokedCertificateResponse)(nil)).Elem()
}
-func (o NetworkManagerSecurityGroupItemResponseV1Output) ToNetworkManagerSecurityGroupItemResponseV1Output() NetworkManagerSecurityGroupItemResponseV1Output {
+func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput) ToP2SVpnServerConfigVpnClientRevokedCertificateResponseOutput() P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput {
return o
}
-func (o NetworkManagerSecurityGroupItemResponseV1Output) ToNetworkManagerSecurityGroupItemResponseV1OutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemResponseV1Output {
+func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput) ToP2SVpnServerConfigVpnClientRevokedCertificateResponseOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput {
return o
}
-// Network manager group Id.
-func (o NetworkManagerSecurityGroupItemResponseV1Output) NetworkGroupId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkManagerSecurityGroupItemResponseV1) *string { return v.NetworkGroupId }).(pulumi.StringPtrOutput)
-}
-
-type NetworkManagerSecurityGroupItemResponseV1ArrayOutput struct{ *pulumi.OutputState }
-
-func (NetworkManagerSecurityGroupItemResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkManagerSecurityGroupItemResponseV1)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificateResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-func (o NetworkManagerSecurityGroupItemResponseV1ArrayOutput) ToNetworkManagerSecurityGroupItemResponseV1ArrayOutput() NetworkManagerSecurityGroupItemResponseV1ArrayOutput {
- return o
+// Resource ID.
+func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificateResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o NetworkManagerSecurityGroupItemResponseV1ArrayOutput) ToNetworkManagerSecurityGroupItemResponseV1ArrayOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemResponseV1ArrayOutput {
- return o
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificateResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o NetworkManagerSecurityGroupItemResponseV1ArrayOutput) Index(i pulumi.IntInput) NetworkManagerSecurityGroupItemResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkManagerSecurityGroupItemResponseV1 {
- return vs[0].([]NetworkManagerSecurityGroupItemResponseV1)[vs[1].(int)]
- }).(NetworkManagerSecurityGroupItemResponseV1Output)
+// The provisioning state of the VPN client revoked certificate resource.
+func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificateResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Network manager security group item.
-type NetworkManagerSecurityGroupItemResponseV2 struct {
- // Network manager group Id.
- NetworkGroupId *string `pulumi:"networkGroupId"`
+// The revoked VPN client certificate thumbprint.
+func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput) Thumbprint() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificateResponse) *string { return v.Thumbprint }).(pulumi.StringPtrOutput)
}
-// Network manager security group item.
-type NetworkManagerSecurityGroupItemResponseV2Output struct{ *pulumi.OutputState }
+type P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput struct{ *pulumi.OutputState }
-func (NetworkManagerSecurityGroupItemResponseV2Output) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkManagerSecurityGroupItemResponseV2)(nil)).Elem()
+func (P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SVpnServerConfigVpnClientRevokedCertificateResponse)(nil)).Elem()
}
-func (o NetworkManagerSecurityGroupItemResponseV2Output) ToNetworkManagerSecurityGroupItemResponseV2Output() NetworkManagerSecurityGroupItemResponseV2Output {
+func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput) ToP2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput() P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput {
return o
}
-func (o NetworkManagerSecurityGroupItemResponseV2Output) ToNetworkManagerSecurityGroupItemResponseV2OutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemResponseV2Output {
+func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput) ToP2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput {
return o
}
-// Network manager group Id.
-func (o NetworkManagerSecurityGroupItemResponseV2Output) NetworkGroupId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkManagerSecurityGroupItemResponseV2) *string { return v.NetworkGroupId }).(pulumi.StringPtrOutput)
+func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput) Index(i pulumi.IntInput) P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnServerConfigVpnClientRevokedCertificateResponse {
+ return vs[0].([]P2SVpnServerConfigVpnClientRevokedCertificateResponse)[vs[1].(int)]
+ }).(P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput)
+}
+
+// VPN client root certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigVpnClientRootCertificate struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The certificate public data.
+ PublicCertData string `pulumi:"publicCertData"`
}
-type NetworkManagerSecurityGroupItemResponseV2ArrayOutput struct{ *pulumi.OutputState }
+// P2SVpnServerConfigVpnClientRootCertificateInput is an input type that accepts P2SVpnServerConfigVpnClientRootCertificateArgs and P2SVpnServerConfigVpnClientRootCertificateOutput values.
+// You can construct a concrete instance of `P2SVpnServerConfigVpnClientRootCertificateInput` via:
+//
+// P2SVpnServerConfigVpnClientRootCertificateArgs{...}
+type P2SVpnServerConfigVpnClientRootCertificateInput interface {
+ pulumi.Input
-func (NetworkManagerSecurityGroupItemResponseV2ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkManagerSecurityGroupItemResponseV2)(nil)).Elem()
+ ToP2SVpnServerConfigVpnClientRootCertificateOutput() P2SVpnServerConfigVpnClientRootCertificateOutput
+ ToP2SVpnServerConfigVpnClientRootCertificateOutputWithContext(context.Context) P2SVpnServerConfigVpnClientRootCertificateOutput
}
-func (o NetworkManagerSecurityGroupItemResponseV2ArrayOutput) ToNetworkManagerSecurityGroupItemResponseV2ArrayOutput() NetworkManagerSecurityGroupItemResponseV2ArrayOutput {
- return o
+// VPN client root certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigVpnClientRootCertificateArgs struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag pulumi.StringPtrInput `pulumi:"etag"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The certificate public data.
+ PublicCertData pulumi.StringInput `pulumi:"publicCertData"`
}
-func (o NetworkManagerSecurityGroupItemResponseV2ArrayOutput) ToNetworkManagerSecurityGroupItemResponseV2ArrayOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemResponseV2ArrayOutput {
- return o
+func (P2SVpnServerConfigVpnClientRootCertificateArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SVpnServerConfigVpnClientRootCertificate)(nil)).Elem()
}
-func (o NetworkManagerSecurityGroupItemResponseV2ArrayOutput) Index(i pulumi.IntInput) NetworkManagerSecurityGroupItemResponseV2Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkManagerSecurityGroupItemResponseV2 {
- return vs[0].([]NetworkManagerSecurityGroupItemResponseV2)[vs[1].(int)]
- }).(NetworkManagerSecurityGroupItemResponseV2Output)
+func (i P2SVpnServerConfigVpnClientRootCertificateArgs) ToP2SVpnServerConfigVpnClientRootCertificateOutput() P2SVpnServerConfigVpnClientRootCertificateOutput {
+ return i.ToP2SVpnServerConfigVpnClientRootCertificateOutputWithContext(context.Background())
}
-// Network manager security group item.
-type NetworkManagerSecurityGroupItemResponseV3 struct {
- // Network manager group Id.
- NetworkGroupId *string `pulumi:"networkGroupId"`
+func (i P2SVpnServerConfigVpnClientRootCertificateArgs) ToP2SVpnServerConfigVpnClientRootCertificateOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRootCertificateOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigVpnClientRootCertificateOutput)
}
-// Network manager security group item.
-type NetworkManagerSecurityGroupItemResponseV3Output struct{ *pulumi.OutputState }
+// P2SVpnServerConfigVpnClientRootCertificateArrayInput is an input type that accepts P2SVpnServerConfigVpnClientRootCertificateArray and P2SVpnServerConfigVpnClientRootCertificateArrayOutput values.
+// You can construct a concrete instance of `P2SVpnServerConfigVpnClientRootCertificateArrayInput` via:
+//
+// P2SVpnServerConfigVpnClientRootCertificateArray{ P2SVpnServerConfigVpnClientRootCertificateArgs{...} }
+type P2SVpnServerConfigVpnClientRootCertificateArrayInput interface {
+ pulumi.Input
-func (NetworkManagerSecurityGroupItemResponseV3Output) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkManagerSecurityGroupItemResponseV3)(nil)).Elem()
+ ToP2SVpnServerConfigVpnClientRootCertificateArrayOutput() P2SVpnServerConfigVpnClientRootCertificateArrayOutput
+ ToP2SVpnServerConfigVpnClientRootCertificateArrayOutputWithContext(context.Context) P2SVpnServerConfigVpnClientRootCertificateArrayOutput
}
-func (o NetworkManagerSecurityGroupItemResponseV3Output) ToNetworkManagerSecurityGroupItemResponseV3Output() NetworkManagerSecurityGroupItemResponseV3Output {
- return o
+type P2SVpnServerConfigVpnClientRootCertificateArray []P2SVpnServerConfigVpnClientRootCertificateInput
+
+func (P2SVpnServerConfigVpnClientRootCertificateArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SVpnServerConfigVpnClientRootCertificate)(nil)).Elem()
}
-func (o NetworkManagerSecurityGroupItemResponseV3Output) ToNetworkManagerSecurityGroupItemResponseV3OutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemResponseV3Output {
- return o
+func (i P2SVpnServerConfigVpnClientRootCertificateArray) ToP2SVpnServerConfigVpnClientRootCertificateArrayOutput() P2SVpnServerConfigVpnClientRootCertificateArrayOutput {
+ return i.ToP2SVpnServerConfigVpnClientRootCertificateArrayOutputWithContext(context.Background())
}
-// Network manager group Id.
-func (o NetworkManagerSecurityGroupItemResponseV3Output) NetworkGroupId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkManagerSecurityGroupItemResponseV3) *string { return v.NetworkGroupId }).(pulumi.StringPtrOutput)
+func (i P2SVpnServerConfigVpnClientRootCertificateArray) ToP2SVpnServerConfigVpnClientRootCertificateArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRootCertificateArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigVpnClientRootCertificateArrayOutput)
}
-type NetworkManagerSecurityGroupItemResponseV3ArrayOutput struct{ *pulumi.OutputState }
+// VPN client root certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigVpnClientRootCertificateOutput struct{ *pulumi.OutputState }
-func (NetworkManagerSecurityGroupItemResponseV3ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]NetworkManagerSecurityGroupItemResponseV3)(nil)).Elem()
+func (P2SVpnServerConfigVpnClientRootCertificateOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SVpnServerConfigVpnClientRootCertificate)(nil)).Elem()
}
-func (o NetworkManagerSecurityGroupItemResponseV3ArrayOutput) ToNetworkManagerSecurityGroupItemResponseV3ArrayOutput() NetworkManagerSecurityGroupItemResponseV3ArrayOutput {
+func (o P2SVpnServerConfigVpnClientRootCertificateOutput) ToP2SVpnServerConfigVpnClientRootCertificateOutput() P2SVpnServerConfigVpnClientRootCertificateOutput {
return o
}
-func (o NetworkManagerSecurityGroupItemResponseV3ArrayOutput) ToNetworkManagerSecurityGroupItemResponseV3ArrayOutputWithContext(ctx context.Context) NetworkManagerSecurityGroupItemResponseV3ArrayOutput {
+func (o P2SVpnServerConfigVpnClientRootCertificateOutput) ToP2SVpnServerConfigVpnClientRootCertificateOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRootCertificateOutput {
return o
}
-func (o NetworkManagerSecurityGroupItemResponseV3ArrayOutput) Index(i pulumi.IntInput) NetworkManagerSecurityGroupItemResponseV3Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkManagerSecurityGroupItemResponseV3 {
- return vs[0].([]NetworkManagerSecurityGroupItemResponseV3)[vs[1].(int)]
- }).(NetworkManagerSecurityGroupItemResponseV3Output)
+// A unique read-only string that changes whenever the resource is updated.
+func (o P2SVpnServerConfigVpnClientRootCertificateOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificate) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// Rule of type network.
-type NetworkRule struct {
- // Description of the rule.
- Description *string `pulumi:"description"`
- // List of destination IP addresses or Service Tags.
- DestinationAddresses []string `pulumi:"destinationAddresses"`
- // List of destination FQDNs.
- DestinationFqdns []string `pulumi:"destinationFqdns"`
- // List of destination IpGroups for this rule.
- DestinationIpGroups []string `pulumi:"destinationIpGroups"`
- // List of destination ports.
- DestinationPorts []string `pulumi:"destinationPorts"`
- // Array of FirewallPolicyRuleNetworkProtocols.
- IpProtocols []string `pulumi:"ipProtocols"`
- // Name of the rule.
- Name *string `pulumi:"name"`
- // Rule Type.
- // Expected value is 'NetworkRule'.
- RuleType string `pulumi:"ruleType"`
- // List of source IP addresses for this rule.
- SourceAddresses []string `pulumi:"sourceAddresses"`
- // List of source IpGroups for this rule.
- SourceIpGroups []string `pulumi:"sourceIpGroups"`
+// Resource ID.
+func (o P2SVpnServerConfigVpnClientRootCertificateOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificate) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// NetworkRuleInput is an input type that accepts NetworkRuleArgs and NetworkRuleOutput values.
-// You can construct a concrete instance of `NetworkRuleInput` via:
-//
-// NetworkRuleArgs{...}
-type NetworkRuleInput interface {
- pulumi.Input
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o P2SVpnServerConfigVpnClientRootCertificateOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificate) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
- ToNetworkRuleOutput() NetworkRuleOutput
- ToNetworkRuleOutputWithContext(context.Context) NetworkRuleOutput
+// The certificate public data.
+func (o P2SVpnServerConfigVpnClientRootCertificateOutput) PublicCertData() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificate) string { return v.PublicCertData }).(pulumi.StringOutput)
}
-// Rule of type network.
-type NetworkRuleArgs struct {
- // Description of the rule.
- Description pulumi.StringPtrInput `pulumi:"description"`
- // List of destination IP addresses or Service Tags.
- DestinationAddresses pulumi.StringArrayInput `pulumi:"destinationAddresses"`
- // List of destination FQDNs.
- DestinationFqdns pulumi.StringArrayInput `pulumi:"destinationFqdns"`
- // List of destination IpGroups for this rule.
- DestinationIpGroups pulumi.StringArrayInput `pulumi:"destinationIpGroups"`
- // List of destination ports.
- DestinationPorts pulumi.StringArrayInput `pulumi:"destinationPorts"`
- // Array of FirewallPolicyRuleNetworkProtocols.
- IpProtocols pulumi.StringArrayInput `pulumi:"ipProtocols"`
- // Name of the rule.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Rule Type.
- // Expected value is 'NetworkRule'.
- RuleType pulumi.StringInput `pulumi:"ruleType"`
- // List of source IP addresses for this rule.
- SourceAddresses pulumi.StringArrayInput `pulumi:"sourceAddresses"`
- // List of source IpGroups for this rule.
- SourceIpGroups pulumi.StringArrayInput `pulumi:"sourceIpGroups"`
+type P2SVpnServerConfigVpnClientRootCertificateArrayOutput struct{ *pulumi.OutputState }
+
+func (P2SVpnServerConfigVpnClientRootCertificateArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SVpnServerConfigVpnClientRootCertificate)(nil)).Elem()
}
-func (NetworkRuleArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkRule)(nil)).Elem()
+func (o P2SVpnServerConfigVpnClientRootCertificateArrayOutput) ToP2SVpnServerConfigVpnClientRootCertificateArrayOutput() P2SVpnServerConfigVpnClientRootCertificateArrayOutput {
+ return o
+}
+
+func (o P2SVpnServerConfigVpnClientRootCertificateArrayOutput) ToP2SVpnServerConfigVpnClientRootCertificateArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRootCertificateArrayOutput {
+ return o
}
-func (i NetworkRuleArgs) ToNetworkRuleOutput() NetworkRuleOutput {
- return i.ToNetworkRuleOutputWithContext(context.Background())
+func (o P2SVpnServerConfigVpnClientRootCertificateArrayOutput) Index(i pulumi.IntInput) P2SVpnServerConfigVpnClientRootCertificateOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnServerConfigVpnClientRootCertificate {
+ return vs[0].([]P2SVpnServerConfigVpnClientRootCertificate)[vs[1].(int)]
+ }).(P2SVpnServerConfigVpnClientRootCertificateOutput)
}
-func (i NetworkRuleArgs) ToNetworkRuleOutputWithContext(ctx context.Context) NetworkRuleOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkRuleOutput)
+// VPN client root certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigVpnClientRootCertificateResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the VPN client root certificate resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The certificate public data.
+ PublicCertData string `pulumi:"publicCertData"`
}
-// Rule of type network.
-type NetworkRuleOutput struct{ *pulumi.OutputState }
+// VPN client root certificate of P2SVpnServerConfiguration.
+type P2SVpnServerConfigVpnClientRootCertificateResponseOutput struct{ *pulumi.OutputState }
-func (NetworkRuleOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkRule)(nil)).Elem()
+func (P2SVpnServerConfigVpnClientRootCertificateResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SVpnServerConfigVpnClientRootCertificateResponse)(nil)).Elem()
}
-func (o NetworkRuleOutput) ToNetworkRuleOutput() NetworkRuleOutput {
+func (o P2SVpnServerConfigVpnClientRootCertificateResponseOutput) ToP2SVpnServerConfigVpnClientRootCertificateResponseOutput() P2SVpnServerConfigVpnClientRootCertificateResponseOutput {
return o
}
-func (o NetworkRuleOutput) ToNetworkRuleOutputWithContext(ctx context.Context) NetworkRuleOutput {
+func (o P2SVpnServerConfigVpnClientRootCertificateResponseOutput) ToP2SVpnServerConfigVpnClientRootCertificateResponseOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRootCertificateResponseOutput {
return o
}
-// Description of the rule.
-func (o NetworkRuleOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkRule) *string { return v.Description }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o P2SVpnServerConfigVpnClientRootCertificateResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificateResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// List of destination IP addresses or Service Tags.
-func (o NetworkRuleOutput) DestinationAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRule) []string { return v.DestinationAddresses }).(pulumi.StringArrayOutput)
+// Resource ID.
+func (o P2SVpnServerConfigVpnClientRootCertificateResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificateResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// List of destination FQDNs.
-func (o NetworkRuleOutput) DestinationFqdns() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRule) []string { return v.DestinationFqdns }).(pulumi.StringArrayOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o P2SVpnServerConfigVpnClientRootCertificateResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificateResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// List of destination IpGroups for this rule.
-func (o NetworkRuleOutput) DestinationIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRule) []string { return v.DestinationIpGroups }).(pulumi.StringArrayOutput)
+// The provisioning state of the VPN client root certificate resource.
+func (o P2SVpnServerConfigVpnClientRootCertificateResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificateResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// List of destination ports.
-func (o NetworkRuleOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRule) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
+// The certificate public data.
+func (o P2SVpnServerConfigVpnClientRootCertificateResponseOutput) PublicCertData() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificateResponse) string { return v.PublicCertData }).(pulumi.StringOutput)
}
-// Array of FirewallPolicyRuleNetworkProtocols.
-func (o NetworkRuleOutput) IpProtocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRule) []string { return v.IpProtocols }).(pulumi.StringArrayOutput)
-}
+type P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput struct{ *pulumi.OutputState }
-// Name of the rule.
-func (o NetworkRuleOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkRule) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]P2SVpnServerConfigVpnClientRootCertificateResponse)(nil)).Elem()
}
-// Rule Type.
-// Expected value is 'NetworkRule'.
-func (o NetworkRuleOutput) RuleType() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkRule) string { return v.RuleType }).(pulumi.StringOutput)
+func (o P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput) ToP2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput() P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput {
+ return o
}
-// List of source IP addresses for this rule.
-func (o NetworkRuleOutput) SourceAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRule) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
+func (o P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput) ToP2SVpnServerConfigVpnClientRootCertificateResponseArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput {
+ return o
}
-// List of source IpGroups for this rule.
-func (o NetworkRuleOutput) SourceIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRule) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
+func (o P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput) Index(i pulumi.IntInput) P2SVpnServerConfigVpnClientRootCertificateResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnServerConfigVpnClientRootCertificateResponse {
+ return vs[0].([]P2SVpnServerConfigVpnClientRootCertificateResponse)[vs[1].(int)]
+ }).(P2SVpnServerConfigVpnClientRootCertificateResponseOutput)
}
-// Rule condition of type network.
-type NetworkRuleCondition struct {
- // Description of the rule condition.
- Description *string `pulumi:"description"`
- // List of destination IP addresses or Service Tags.
- DestinationAddresses []string `pulumi:"destinationAddresses"`
- // List of destination IpGroups for this rule.
- DestinationIpGroups []string `pulumi:"destinationIpGroups"`
- // List of destination ports.
- DestinationPorts []string `pulumi:"destinationPorts"`
- // Array of FirewallPolicyRuleConditionNetworkProtocols.
- IpProtocols []string `pulumi:"ipProtocols"`
- // Name of the rule condition.
+// Parameters for P2SVpnServerConfiguration.
+type P2SVpnServerConfigurationProperties struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // The name of the P2SVpnServerConfiguration that is unique within a VirtualWan in a resource group. This name can be used to access the resource along with Paren VirtualWan resource name.
Name *string `pulumi:"name"`
- // Rule Condition Type.
- // Expected value is 'NetworkRuleCondition'.
- RuleConditionType string `pulumi:"ruleConditionType"`
- // List of source IP addresses for this rule.
- SourceAddresses []string `pulumi:"sourceAddresses"`
- // List of source IpGroups for this rule.
- SourceIpGroups []string `pulumi:"sourceIpGroups"`
+ // Radius client root certificate of P2SVpnServerConfiguration.
+ P2SVpnServerConfigRadiusClientRootCertificates []P2SVpnServerConfigRadiusClientRootCertificate `pulumi:"p2SVpnServerConfigRadiusClientRootCertificates"`
+ // Radius Server root certificate of P2SVpnServerConfiguration.
+ P2SVpnServerConfigRadiusServerRootCertificates []P2SVpnServerConfigRadiusServerRootCertificate `pulumi:"p2SVpnServerConfigRadiusServerRootCertificates"`
+ // VPN client revoked certificate of P2SVpnServerConfiguration.
+ P2SVpnServerConfigVpnClientRevokedCertificates []P2SVpnServerConfigVpnClientRevokedCertificate `pulumi:"p2SVpnServerConfigVpnClientRevokedCertificates"`
+ // VPN client root certificate of P2SVpnServerConfiguration.
+ P2SVpnServerConfigVpnClientRootCertificates []P2SVpnServerConfigVpnClientRootCertificate `pulumi:"p2SVpnServerConfigVpnClientRootCertificates"`
+ // The radius server address property of the P2SVpnServerConfiguration resource for point to site client connection.
+ RadiusServerAddress *string `pulumi:"radiusServerAddress"`
+ // The radius secret property of the P2SVpnServerConfiguration resource for point to site client connection.
+ RadiusServerSecret *string `pulumi:"radiusServerSecret"`
+ // VpnClientIpsecPolicies for P2SVpnServerConfiguration.
+ VpnClientIpsecPolicies []IpsecPolicy `pulumi:"vpnClientIpsecPolicies"`
+ // VPN protocols for the P2SVpnServerConfiguration.
+ VpnProtocols []string `pulumi:"vpnProtocols"`
}
-// NetworkRuleConditionInput is an input type that accepts NetworkRuleConditionArgs and NetworkRuleConditionOutput values.
-// You can construct a concrete instance of `NetworkRuleConditionInput` via:
+// P2SVpnServerConfigurationPropertiesInput is an input type that accepts P2SVpnServerConfigurationPropertiesArgs and P2SVpnServerConfigurationPropertiesOutput values.
+// You can construct a concrete instance of `P2SVpnServerConfigurationPropertiesInput` via:
//
-// NetworkRuleConditionArgs{...}
-type NetworkRuleConditionInput interface {
+// P2SVpnServerConfigurationPropertiesArgs{...}
+type P2SVpnServerConfigurationPropertiesInput interface {
pulumi.Input
- ToNetworkRuleConditionOutput() NetworkRuleConditionOutput
- ToNetworkRuleConditionOutputWithContext(context.Context) NetworkRuleConditionOutput
+ ToP2SVpnServerConfigurationPropertiesOutput() P2SVpnServerConfigurationPropertiesOutput
+ ToP2SVpnServerConfigurationPropertiesOutputWithContext(context.Context) P2SVpnServerConfigurationPropertiesOutput
}
-// Rule condition of type network.
-type NetworkRuleConditionArgs struct {
- // Description of the rule condition.
- Description pulumi.StringPtrInput `pulumi:"description"`
- // List of destination IP addresses or Service Tags.
- DestinationAddresses pulumi.StringArrayInput `pulumi:"destinationAddresses"`
- // List of destination IpGroups for this rule.
- DestinationIpGroups pulumi.StringArrayInput `pulumi:"destinationIpGroups"`
- // List of destination ports.
- DestinationPorts pulumi.StringArrayInput `pulumi:"destinationPorts"`
- // Array of FirewallPolicyRuleConditionNetworkProtocols.
- IpProtocols pulumi.StringArrayInput `pulumi:"ipProtocols"`
- // Name of the rule condition.
+// Parameters for P2SVpnServerConfiguration.
+type P2SVpnServerConfigurationPropertiesArgs struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag pulumi.StringPtrInput `pulumi:"etag"`
+ // The name of the P2SVpnServerConfiguration that is unique within a VirtualWan in a resource group. This name can be used to access the resource along with Paren VirtualWan resource name.
Name pulumi.StringPtrInput `pulumi:"name"`
- // Rule Condition Type.
- // Expected value is 'NetworkRuleCondition'.
- RuleConditionType pulumi.StringInput `pulumi:"ruleConditionType"`
- // List of source IP addresses for this rule.
- SourceAddresses pulumi.StringArrayInput `pulumi:"sourceAddresses"`
- // List of source IpGroups for this rule.
- SourceIpGroups pulumi.StringArrayInput `pulumi:"sourceIpGroups"`
+ // Radius client root certificate of P2SVpnServerConfiguration.
+ P2SVpnServerConfigRadiusClientRootCertificates P2SVpnServerConfigRadiusClientRootCertificateArrayInput `pulumi:"p2SVpnServerConfigRadiusClientRootCertificates"`
+ // Radius Server root certificate of P2SVpnServerConfiguration.
+ P2SVpnServerConfigRadiusServerRootCertificates P2SVpnServerConfigRadiusServerRootCertificateArrayInput `pulumi:"p2SVpnServerConfigRadiusServerRootCertificates"`
+ // VPN client revoked certificate of P2SVpnServerConfiguration.
+ P2SVpnServerConfigVpnClientRevokedCertificates P2SVpnServerConfigVpnClientRevokedCertificateArrayInput `pulumi:"p2SVpnServerConfigVpnClientRevokedCertificates"`
+ // VPN client root certificate of P2SVpnServerConfiguration.
+ P2SVpnServerConfigVpnClientRootCertificates P2SVpnServerConfigVpnClientRootCertificateArrayInput `pulumi:"p2SVpnServerConfigVpnClientRootCertificates"`
+ // The radius server address property of the P2SVpnServerConfiguration resource for point to site client connection.
+ RadiusServerAddress pulumi.StringPtrInput `pulumi:"radiusServerAddress"`
+ // The radius secret property of the P2SVpnServerConfiguration resource for point to site client connection.
+ RadiusServerSecret pulumi.StringPtrInput `pulumi:"radiusServerSecret"`
+ // VpnClientIpsecPolicies for P2SVpnServerConfiguration.
+ VpnClientIpsecPolicies IpsecPolicyArrayInput `pulumi:"vpnClientIpsecPolicies"`
+ // VPN protocols for the P2SVpnServerConfiguration.
+ VpnProtocols pulumi.StringArrayInput `pulumi:"vpnProtocols"`
}
-func (NetworkRuleConditionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkRuleCondition)(nil)).Elem()
+func (P2SVpnServerConfigurationPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SVpnServerConfigurationProperties)(nil)).Elem()
}
-func (i NetworkRuleConditionArgs) ToNetworkRuleConditionOutput() NetworkRuleConditionOutput {
- return i.ToNetworkRuleConditionOutputWithContext(context.Background())
+func (i P2SVpnServerConfigurationPropertiesArgs) ToP2SVpnServerConfigurationPropertiesOutput() P2SVpnServerConfigurationPropertiesOutput {
+ return i.ToP2SVpnServerConfigurationPropertiesOutputWithContext(context.Background())
}
-func (i NetworkRuleConditionArgs) ToNetworkRuleConditionOutputWithContext(ctx context.Context) NetworkRuleConditionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkRuleConditionOutput)
+func (i P2SVpnServerConfigurationPropertiesArgs) ToP2SVpnServerConfigurationPropertiesOutputWithContext(ctx context.Context) P2SVpnServerConfigurationPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigurationPropertiesOutput)
}
-func (i NetworkRuleConditionArgs) ToNetworkRuleConditionPtrOutput() NetworkRuleConditionPtrOutput {
- return i.ToNetworkRuleConditionPtrOutputWithContext(context.Background())
+func (i P2SVpnServerConfigurationPropertiesArgs) ToP2SVpnServerConfigurationPropertiesPtrOutput() P2SVpnServerConfigurationPropertiesPtrOutput {
+ return i.ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(context.Background())
}
-func (i NetworkRuleConditionArgs) ToNetworkRuleConditionPtrOutputWithContext(ctx context.Context) NetworkRuleConditionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkRuleConditionOutput).ToNetworkRuleConditionPtrOutputWithContext(ctx)
+func (i P2SVpnServerConfigurationPropertiesArgs) ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(ctx context.Context) P2SVpnServerConfigurationPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigurationPropertiesOutput).ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(ctx)
}
-// NetworkRuleConditionPtrInput is an input type that accepts NetworkRuleConditionArgs, NetworkRuleConditionPtr and NetworkRuleConditionPtrOutput values.
-// You can construct a concrete instance of `NetworkRuleConditionPtrInput` via:
+// P2SVpnServerConfigurationPropertiesPtrInput is an input type that accepts P2SVpnServerConfigurationPropertiesArgs, P2SVpnServerConfigurationPropertiesPtr and P2SVpnServerConfigurationPropertiesPtrOutput values.
+// You can construct a concrete instance of `P2SVpnServerConfigurationPropertiesPtrInput` via:
//
-// NetworkRuleConditionArgs{...}
+// P2SVpnServerConfigurationPropertiesArgs{...}
//
// or:
//
// nil
-type NetworkRuleConditionPtrInput interface {
+type P2SVpnServerConfigurationPropertiesPtrInput interface {
pulumi.Input
- ToNetworkRuleConditionPtrOutput() NetworkRuleConditionPtrOutput
- ToNetworkRuleConditionPtrOutputWithContext(context.Context) NetworkRuleConditionPtrOutput
+ ToP2SVpnServerConfigurationPropertiesPtrOutput() P2SVpnServerConfigurationPropertiesPtrOutput
+ ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(context.Context) P2SVpnServerConfigurationPropertiesPtrOutput
}
-type networkRuleConditionPtrType NetworkRuleConditionArgs
+type p2svpnServerConfigurationPropertiesPtrType P2SVpnServerConfigurationPropertiesArgs
-func NetworkRuleConditionPtr(v *NetworkRuleConditionArgs) NetworkRuleConditionPtrInput {
- return (*networkRuleConditionPtrType)(v)
+func P2SVpnServerConfigurationPropertiesPtr(v *P2SVpnServerConfigurationPropertiesArgs) P2SVpnServerConfigurationPropertiesPtrInput {
+ return (*p2svpnServerConfigurationPropertiesPtrType)(v)
}
-func (*networkRuleConditionPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkRuleCondition)(nil)).Elem()
+func (*p2svpnServerConfigurationPropertiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**P2SVpnServerConfigurationProperties)(nil)).Elem()
}
-func (i *networkRuleConditionPtrType) ToNetworkRuleConditionPtrOutput() NetworkRuleConditionPtrOutput {
- return i.ToNetworkRuleConditionPtrOutputWithContext(context.Background())
+func (i *p2svpnServerConfigurationPropertiesPtrType) ToP2SVpnServerConfigurationPropertiesPtrOutput() P2SVpnServerConfigurationPropertiesPtrOutput {
+ return i.ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(context.Background())
}
-func (i *networkRuleConditionPtrType) ToNetworkRuleConditionPtrOutputWithContext(ctx context.Context) NetworkRuleConditionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkRuleConditionPtrOutput)
+func (i *p2svpnServerConfigurationPropertiesPtrType) ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(ctx context.Context) P2SVpnServerConfigurationPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigurationPropertiesPtrOutput)
}
-// Rule condition of type network.
-type NetworkRuleConditionOutput struct{ *pulumi.OutputState }
+// Parameters for P2SVpnServerConfiguration.
+type P2SVpnServerConfigurationPropertiesOutput struct{ *pulumi.OutputState }
-func (NetworkRuleConditionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkRuleCondition)(nil)).Elem()
+func (P2SVpnServerConfigurationPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SVpnServerConfigurationProperties)(nil)).Elem()
}
-func (o NetworkRuleConditionOutput) ToNetworkRuleConditionOutput() NetworkRuleConditionOutput {
+func (o P2SVpnServerConfigurationPropertiesOutput) ToP2SVpnServerConfigurationPropertiesOutput() P2SVpnServerConfigurationPropertiesOutput {
return o
}
-func (o NetworkRuleConditionOutput) ToNetworkRuleConditionOutputWithContext(ctx context.Context) NetworkRuleConditionOutput {
+func (o P2SVpnServerConfigurationPropertiesOutput) ToP2SVpnServerConfigurationPropertiesOutputWithContext(ctx context.Context) P2SVpnServerConfigurationPropertiesOutput {
return o
}
-func (o NetworkRuleConditionOutput) ToNetworkRuleConditionPtrOutput() NetworkRuleConditionPtrOutput {
- return o.ToNetworkRuleConditionPtrOutputWithContext(context.Background())
+func (o P2SVpnServerConfigurationPropertiesOutput) ToP2SVpnServerConfigurationPropertiesPtrOutput() P2SVpnServerConfigurationPropertiesPtrOutput {
+ return o.ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(context.Background())
}
-func (o NetworkRuleConditionOutput) ToNetworkRuleConditionPtrOutputWithContext(ctx context.Context) NetworkRuleConditionPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v NetworkRuleCondition) *NetworkRuleCondition {
+func (o P2SVpnServerConfigurationPropertiesOutput) ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(ctx context.Context) P2SVpnServerConfigurationPropertiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v P2SVpnServerConfigurationProperties) *P2SVpnServerConfigurationProperties {
return &v
- }).(NetworkRuleConditionPtrOutput)
+ }).(P2SVpnServerConfigurationPropertiesPtrOutput)
+}
+
+// A unique read-only string that changes whenever the resource is updated.
+func (o P2SVpnServerConfigurationPropertiesOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationProperties) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// Description of the rule condition.
-func (o NetworkRuleConditionOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkRuleCondition) *string { return v.Description }).(pulumi.StringPtrOutput)
+// The name of the P2SVpnServerConfiguration that is unique within a VirtualWan in a resource group. This name can be used to access the resource along with Paren VirtualWan resource name.
+func (o P2SVpnServerConfigurationPropertiesOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationProperties) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// List of destination IP addresses or Service Tags.
-func (o NetworkRuleConditionOutput) DestinationAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleCondition) []string { return v.DestinationAddresses }).(pulumi.StringArrayOutput)
+// Radius client root certificate of P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesOutput) P2SVpnServerConfigRadiusClientRootCertificates() P2SVpnServerConfigRadiusClientRootCertificateArrayOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationProperties) []P2SVpnServerConfigRadiusClientRootCertificate {
+ return v.P2SVpnServerConfigRadiusClientRootCertificates
+ }).(P2SVpnServerConfigRadiusClientRootCertificateArrayOutput)
}
-// List of destination IpGroups for this rule.
-func (o NetworkRuleConditionOutput) DestinationIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleCondition) []string { return v.DestinationIpGroups }).(pulumi.StringArrayOutput)
+// Radius Server root certificate of P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesOutput) P2SVpnServerConfigRadiusServerRootCertificates() P2SVpnServerConfigRadiusServerRootCertificateArrayOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationProperties) []P2SVpnServerConfigRadiusServerRootCertificate {
+ return v.P2SVpnServerConfigRadiusServerRootCertificates
+ }).(P2SVpnServerConfigRadiusServerRootCertificateArrayOutput)
}
-// List of destination ports.
-func (o NetworkRuleConditionOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleCondition) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
+// VPN client revoked certificate of P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesOutput) P2SVpnServerConfigVpnClientRevokedCertificates() P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationProperties) []P2SVpnServerConfigVpnClientRevokedCertificate {
+ return v.P2SVpnServerConfigVpnClientRevokedCertificates
+ }).(P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput)
}
-// Array of FirewallPolicyRuleConditionNetworkProtocols.
-func (o NetworkRuleConditionOutput) IpProtocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleCondition) []string { return v.IpProtocols }).(pulumi.StringArrayOutput)
+// VPN client root certificate of P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesOutput) P2SVpnServerConfigVpnClientRootCertificates() P2SVpnServerConfigVpnClientRootCertificateArrayOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationProperties) []P2SVpnServerConfigVpnClientRootCertificate {
+ return v.P2SVpnServerConfigVpnClientRootCertificates
+ }).(P2SVpnServerConfigVpnClientRootCertificateArrayOutput)
}
-// Name of the rule condition.
-func (o NetworkRuleConditionOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkRuleCondition) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The radius server address property of the P2SVpnServerConfiguration resource for point to site client connection.
+func (o P2SVpnServerConfigurationPropertiesOutput) RadiusServerAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationProperties) *string { return v.RadiusServerAddress }).(pulumi.StringPtrOutput)
}
-// Rule Condition Type.
-// Expected value is 'NetworkRuleCondition'.
-func (o NetworkRuleConditionOutput) RuleConditionType() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkRuleCondition) string { return v.RuleConditionType }).(pulumi.StringOutput)
+// The radius secret property of the P2SVpnServerConfiguration resource for point to site client connection.
+func (o P2SVpnServerConfigurationPropertiesOutput) RadiusServerSecret() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationProperties) *string { return v.RadiusServerSecret }).(pulumi.StringPtrOutput)
}
-// List of source IP addresses for this rule.
-func (o NetworkRuleConditionOutput) SourceAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleCondition) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
+// VpnClientIpsecPolicies for P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesOutput) VpnClientIpsecPolicies() IpsecPolicyArrayOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationProperties) []IpsecPolicy { return v.VpnClientIpsecPolicies }).(IpsecPolicyArrayOutput)
}
-// List of source IpGroups for this rule.
-func (o NetworkRuleConditionOutput) SourceIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleCondition) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
+// VPN protocols for the P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesOutput) VpnProtocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationProperties) []string { return v.VpnProtocols }).(pulumi.StringArrayOutput)
}
-type NetworkRuleConditionPtrOutput struct{ *pulumi.OutputState }
+type P2SVpnServerConfigurationPropertiesPtrOutput struct{ *pulumi.OutputState }
-func (NetworkRuleConditionPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkRuleCondition)(nil)).Elem()
+func (P2SVpnServerConfigurationPropertiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**P2SVpnServerConfigurationProperties)(nil)).Elem()
}
-func (o NetworkRuleConditionPtrOutput) ToNetworkRuleConditionPtrOutput() NetworkRuleConditionPtrOutput {
+func (o P2SVpnServerConfigurationPropertiesPtrOutput) ToP2SVpnServerConfigurationPropertiesPtrOutput() P2SVpnServerConfigurationPropertiesPtrOutput {
return o
}
-func (o NetworkRuleConditionPtrOutput) ToNetworkRuleConditionPtrOutputWithContext(ctx context.Context) NetworkRuleConditionPtrOutput {
+func (o P2SVpnServerConfigurationPropertiesPtrOutput) ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(ctx context.Context) P2SVpnServerConfigurationPropertiesPtrOutput {
return o
}
-func (o NetworkRuleConditionPtrOutput) Elem() NetworkRuleConditionOutput {
- return o.ApplyT(func(v *NetworkRuleCondition) NetworkRuleCondition {
+func (o P2SVpnServerConfigurationPropertiesPtrOutput) Elem() P2SVpnServerConfigurationPropertiesOutput {
+ return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) P2SVpnServerConfigurationProperties {
if v != nil {
return *v
}
- var ret NetworkRuleCondition
+ var ret P2SVpnServerConfigurationProperties
return ret
- }).(NetworkRuleConditionOutput)
+ }).(P2SVpnServerConfigurationPropertiesOutput)
+}
+
+// A unique read-only string that changes whenever the resource is updated.
+func (o P2SVpnServerConfigurationPropertiesPtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Etag
+ }).(pulumi.StringPtrOutput)
}
-// Description of the rule condition.
-func (o NetworkRuleConditionPtrOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkRuleCondition) *string {
+// The name of the P2SVpnServerConfiguration that is unique within a VirtualWan in a resource group. This name can be used to access the resource along with Paren VirtualWan resource name.
+func (o P2SVpnServerConfigurationPropertiesPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) *string {
if v == nil {
return nil
}
- return v.Description
+ return v.Name
}).(pulumi.StringPtrOutput)
}
-// List of destination IP addresses or Service Tags.
-func (o NetworkRuleConditionPtrOutput) DestinationAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkRuleCondition) []string {
+// Radius client root certificate of P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesPtrOutput) P2SVpnServerConfigRadiusClientRootCertificates() P2SVpnServerConfigRadiusClientRootCertificateArrayOutput {
+ return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) []P2SVpnServerConfigRadiusClientRootCertificate {
if v == nil {
return nil
}
- return v.DestinationAddresses
- }).(pulumi.StringArrayOutput)
+ return v.P2SVpnServerConfigRadiusClientRootCertificates
+ }).(P2SVpnServerConfigRadiusClientRootCertificateArrayOutput)
}
-// List of destination IpGroups for this rule.
-func (o NetworkRuleConditionPtrOutput) DestinationIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkRuleCondition) []string {
+// Radius Server root certificate of P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesPtrOutput) P2SVpnServerConfigRadiusServerRootCertificates() P2SVpnServerConfigRadiusServerRootCertificateArrayOutput {
+ return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) []P2SVpnServerConfigRadiusServerRootCertificate {
if v == nil {
return nil
}
- return v.DestinationIpGroups
- }).(pulumi.StringArrayOutput)
+ return v.P2SVpnServerConfigRadiusServerRootCertificates
+ }).(P2SVpnServerConfigRadiusServerRootCertificateArrayOutput)
}
-// List of destination ports.
-func (o NetworkRuleConditionPtrOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkRuleCondition) []string {
+// VPN client revoked certificate of P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesPtrOutput) P2SVpnServerConfigVpnClientRevokedCertificates() P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput {
+ return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) []P2SVpnServerConfigVpnClientRevokedCertificate {
if v == nil {
return nil
}
- return v.DestinationPorts
- }).(pulumi.StringArrayOutput)
+ return v.P2SVpnServerConfigVpnClientRevokedCertificates
+ }).(P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput)
}
-// Array of FirewallPolicyRuleConditionNetworkProtocols.
-func (o NetworkRuleConditionPtrOutput) IpProtocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkRuleCondition) []string {
+// VPN client root certificate of P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesPtrOutput) P2SVpnServerConfigVpnClientRootCertificates() P2SVpnServerConfigVpnClientRootCertificateArrayOutput {
+ return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) []P2SVpnServerConfigVpnClientRootCertificate {
if v == nil {
return nil
}
- return v.IpProtocols
- }).(pulumi.StringArrayOutput)
+ return v.P2SVpnServerConfigVpnClientRootCertificates
+ }).(P2SVpnServerConfigVpnClientRootCertificateArrayOutput)
}
-// Name of the rule condition.
-func (o NetworkRuleConditionPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkRuleCondition) *string {
+// The radius server address property of the P2SVpnServerConfiguration resource for point to site client connection.
+func (o P2SVpnServerConfigurationPropertiesPtrOutput) RadiusServerAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) *string {
if v == nil {
return nil
}
- return v.Name
+ return v.RadiusServerAddress
}).(pulumi.StringPtrOutput)
}
-// Rule Condition Type.
-// Expected value is 'NetworkRuleCondition'.
-func (o NetworkRuleConditionPtrOutput) RuleConditionType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkRuleCondition) *string {
+// The radius secret property of the P2SVpnServerConfiguration resource for point to site client connection.
+func (o P2SVpnServerConfigurationPropertiesPtrOutput) RadiusServerSecret() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) *string {
if v == nil {
return nil
}
- return &v.RuleConditionType
+ return v.RadiusServerSecret
}).(pulumi.StringPtrOutput)
}
-// List of source IP addresses for this rule.
-func (o NetworkRuleConditionPtrOutput) SourceAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkRuleCondition) []string {
+// VpnClientIpsecPolicies for P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesPtrOutput) VpnClientIpsecPolicies() IpsecPolicyArrayOutput {
+ return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) []IpsecPolicy {
if v == nil {
return nil
}
- return v.SourceAddresses
- }).(pulumi.StringArrayOutput)
+ return v.VpnClientIpsecPolicies
+ }).(IpsecPolicyArrayOutput)
}
-// List of source IpGroups for this rule.
-func (o NetworkRuleConditionPtrOutput) SourceIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkRuleCondition) []string {
+// VPN protocols for the P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesPtrOutput) VpnProtocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) []string {
if v == nil {
return nil
}
- return v.SourceIpGroups
+ return v.VpnProtocols
}).(pulumi.StringArrayOutput)
}
-// Rule condition of type network.
-type NetworkRuleConditionResponse struct {
- // Description of the rule condition.
- Description *string `pulumi:"description"`
- // List of destination IP addresses or Service Tags.
- DestinationAddresses []string `pulumi:"destinationAddresses"`
- // List of destination IpGroups for this rule.
- DestinationIpGroups []string `pulumi:"destinationIpGroups"`
- // List of destination ports.
- DestinationPorts []string `pulumi:"destinationPorts"`
- // Array of FirewallPolicyRuleConditionNetworkProtocols.
- IpProtocols []string `pulumi:"ipProtocols"`
- // Name of the rule condition.
+// Parameters for P2SVpnServerConfiguration.
+type P2SVpnServerConfigurationPropertiesResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // The name of the P2SVpnServerConfiguration that is unique within a VirtualWan in a resource group. This name can be used to access the resource along with Paren VirtualWan resource name.
Name *string `pulumi:"name"`
- // Rule Condition Type.
- // Expected value is 'NetworkRuleCondition'.
- RuleConditionType string `pulumi:"ruleConditionType"`
- // List of source IP addresses for this rule.
- SourceAddresses []string `pulumi:"sourceAddresses"`
- // List of source IpGroups for this rule.
- SourceIpGroups []string `pulumi:"sourceIpGroups"`
+ // List of references to P2SVpnGateways.
+ P2SVpnGateways []SubResourceResponse `pulumi:"p2SVpnGateways"`
+ // Radius client root certificate of P2SVpnServerConfiguration.
+ P2SVpnServerConfigRadiusClientRootCertificates []P2SVpnServerConfigRadiusClientRootCertificateResponse `pulumi:"p2SVpnServerConfigRadiusClientRootCertificates"`
+ // Radius Server root certificate of P2SVpnServerConfiguration.
+ P2SVpnServerConfigRadiusServerRootCertificates []P2SVpnServerConfigRadiusServerRootCertificateResponse `pulumi:"p2SVpnServerConfigRadiusServerRootCertificates"`
+ // VPN client revoked certificate of P2SVpnServerConfiguration.
+ P2SVpnServerConfigVpnClientRevokedCertificates []P2SVpnServerConfigVpnClientRevokedCertificateResponse `pulumi:"p2SVpnServerConfigVpnClientRevokedCertificates"`
+ // VPN client root certificate of P2SVpnServerConfiguration.
+ P2SVpnServerConfigVpnClientRootCertificates []P2SVpnServerConfigVpnClientRootCertificateResponse `pulumi:"p2SVpnServerConfigVpnClientRootCertificates"`
+ // The provisioning state of the P2S VPN server configuration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The radius server address property of the P2SVpnServerConfiguration resource for point to site client connection.
+ RadiusServerAddress *string `pulumi:"radiusServerAddress"`
+ // The radius secret property of the P2SVpnServerConfiguration resource for point to site client connection.
+ RadiusServerSecret *string `pulumi:"radiusServerSecret"`
+ // VpnClientIpsecPolicies for P2SVpnServerConfiguration.
+ VpnClientIpsecPolicies []IpsecPolicyResponse `pulumi:"vpnClientIpsecPolicies"`
+ // VPN protocols for the P2SVpnServerConfiguration.
+ VpnProtocols []string `pulumi:"vpnProtocols"`
}
-// Rule condition of type network.
-type NetworkRuleConditionResponseOutput struct{ *pulumi.OutputState }
+// Parameters for P2SVpnServerConfiguration.
+type P2SVpnServerConfigurationPropertiesResponseOutput struct{ *pulumi.OutputState }
-func (NetworkRuleConditionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkRuleConditionResponse)(nil)).Elem()
+func (P2SVpnServerConfigurationPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*P2SVpnServerConfigurationPropertiesResponse)(nil)).Elem()
}
-func (o NetworkRuleConditionResponseOutput) ToNetworkRuleConditionResponseOutput() NetworkRuleConditionResponseOutput {
+func (o P2SVpnServerConfigurationPropertiesResponseOutput) ToP2SVpnServerConfigurationPropertiesResponseOutput() P2SVpnServerConfigurationPropertiesResponseOutput {
return o
}
-func (o NetworkRuleConditionResponseOutput) ToNetworkRuleConditionResponseOutputWithContext(ctx context.Context) NetworkRuleConditionResponseOutput {
+func (o P2SVpnServerConfigurationPropertiesResponseOutput) ToP2SVpnServerConfigurationPropertiesResponseOutputWithContext(ctx context.Context) P2SVpnServerConfigurationPropertiesResponseOutput {
return o
}
-// Description of the rule condition.
-func (o NetworkRuleConditionResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkRuleConditionResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o P2SVpnServerConfigurationPropertiesResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// List of destination IP addresses or Service Tags.
-func (o NetworkRuleConditionResponseOutput) DestinationAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleConditionResponse) []string { return v.DestinationAddresses }).(pulumi.StringArrayOutput)
+// The name of the P2SVpnServerConfiguration that is unique within a VirtualWan in a resource group. This name can be used to access the resource along with Paren VirtualWan resource name.
+func (o P2SVpnServerConfigurationPropertiesResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// List of destination IpGroups for this rule.
-func (o NetworkRuleConditionResponseOutput) DestinationIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleConditionResponse) []string { return v.DestinationIpGroups }).(pulumi.StringArrayOutput)
+// List of references to P2SVpnGateways.
+func (o P2SVpnServerConfigurationPropertiesResponseOutput) P2SVpnGateways() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) []SubResourceResponse { return v.P2SVpnGateways }).(SubResourceResponseArrayOutput)
}
-// List of destination ports.
-func (o NetworkRuleConditionResponseOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleConditionResponse) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
+// Radius client root certificate of P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesResponseOutput) P2SVpnServerConfigRadiusClientRootCertificates() P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) []P2SVpnServerConfigRadiusClientRootCertificateResponse {
+ return v.P2SVpnServerConfigRadiusClientRootCertificates
+ }).(P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput)
}
-// Array of FirewallPolicyRuleConditionNetworkProtocols.
-func (o NetworkRuleConditionResponseOutput) IpProtocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleConditionResponse) []string { return v.IpProtocols }).(pulumi.StringArrayOutput)
+// Radius Server root certificate of P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesResponseOutput) P2SVpnServerConfigRadiusServerRootCertificates() P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) []P2SVpnServerConfigRadiusServerRootCertificateResponse {
+ return v.P2SVpnServerConfigRadiusServerRootCertificates
+ }).(P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput)
}
-// Name of the rule condition.
-func (o NetworkRuleConditionResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkRuleConditionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// VPN client revoked certificate of P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesResponseOutput) P2SVpnServerConfigVpnClientRevokedCertificates() P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) []P2SVpnServerConfigVpnClientRevokedCertificateResponse {
+ return v.P2SVpnServerConfigVpnClientRevokedCertificates
+ }).(P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput)
}
-// Rule Condition Type.
-// Expected value is 'NetworkRuleCondition'.
-func (o NetworkRuleConditionResponseOutput) RuleConditionType() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkRuleConditionResponse) string { return v.RuleConditionType }).(pulumi.StringOutput)
+// VPN client root certificate of P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesResponseOutput) P2SVpnServerConfigVpnClientRootCertificates() P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) []P2SVpnServerConfigVpnClientRootCertificateResponse {
+ return v.P2SVpnServerConfigVpnClientRootCertificates
+ }).(P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput)
}
-// List of source IP addresses for this rule.
-func (o NetworkRuleConditionResponseOutput) SourceAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleConditionResponse) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
+// The provisioning state of the P2S VPN server configuration resource.
+func (o P2SVpnServerConfigurationPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// List of source IpGroups for this rule.
-func (o NetworkRuleConditionResponseOutput) SourceIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleConditionResponse) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
+// The radius server address property of the P2SVpnServerConfiguration resource for point to site client connection.
+func (o P2SVpnServerConfigurationPropertiesResponseOutput) RadiusServerAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) *string { return v.RadiusServerAddress }).(pulumi.StringPtrOutput)
}
-type NetworkRuleConditionResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (NetworkRuleConditionResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkRuleConditionResponse)(nil)).Elem()
+// The radius secret property of the P2SVpnServerConfiguration resource for point to site client connection.
+func (o P2SVpnServerConfigurationPropertiesResponseOutput) RadiusServerSecret() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) *string { return v.RadiusServerSecret }).(pulumi.StringPtrOutput)
}
-func (o NetworkRuleConditionResponsePtrOutput) ToNetworkRuleConditionResponsePtrOutput() NetworkRuleConditionResponsePtrOutput {
- return o
+// VpnClientIpsecPolicies for P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesResponseOutput) VpnClientIpsecPolicies() IpsecPolicyResponseArrayOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) []IpsecPolicyResponse {
+ return v.VpnClientIpsecPolicies
+ }).(IpsecPolicyResponseArrayOutput)
}
-func (o NetworkRuleConditionResponsePtrOutput) ToNetworkRuleConditionResponsePtrOutputWithContext(ctx context.Context) NetworkRuleConditionResponsePtrOutput {
- return o
+// VPN protocols for the P2SVpnServerConfiguration.
+func (o P2SVpnServerConfigurationPropertiesResponseOutput) VpnProtocols() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) []string { return v.VpnProtocols }).(pulumi.StringArrayOutput)
}
-func (o NetworkRuleConditionResponsePtrOutput) Elem() NetworkRuleConditionResponseOutput {
- return o.ApplyT(func(v *NetworkRuleConditionResponse) NetworkRuleConditionResponse {
- if v != nil {
- return *v
- }
- var ret NetworkRuleConditionResponse
- return ret
- }).(NetworkRuleConditionResponseOutput)
+// Filter that is applied to packet capture request. Multiple filters can be applied.
+type PacketCaptureFilter struct {
+ // Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+ LocalIPAddress *string `pulumi:"localIPAddress"`
+ // Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+ LocalPort *string `pulumi:"localPort"`
+ // Protocol to be filtered on.
+ Protocol *string `pulumi:"protocol"`
+ // Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+ RemoteIPAddress *string `pulumi:"remoteIPAddress"`
+ // Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+ RemotePort *string `pulumi:"remotePort"`
}
-// Description of the rule condition.
-func (o NetworkRuleConditionResponsePtrOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkRuleConditionResponse) *string {
- if v == nil {
- return nil
- }
- return v.Description
- }).(pulumi.StringPtrOutput)
+// Defaults sets the appropriate defaults for PacketCaptureFilter
+func (val *PacketCaptureFilter) Defaults() *PacketCaptureFilter {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.Protocol == nil {
+ protocol_ := "Any"
+ tmp.Protocol = &protocol_
+ }
+ return &tmp
}
-// List of destination IP addresses or Service Tags.
-func (o NetworkRuleConditionResponsePtrOutput) DestinationAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkRuleConditionResponse) []string {
- if v == nil {
- return nil
- }
- return v.DestinationAddresses
- }).(pulumi.StringArrayOutput)
+// PacketCaptureFilterInput is an input type that accepts PacketCaptureFilterArgs and PacketCaptureFilterOutput values.
+// You can construct a concrete instance of `PacketCaptureFilterInput` via:
+//
+// PacketCaptureFilterArgs{...}
+type PacketCaptureFilterInput interface {
+ pulumi.Input
+
+ ToPacketCaptureFilterOutput() PacketCaptureFilterOutput
+ ToPacketCaptureFilterOutputWithContext(context.Context) PacketCaptureFilterOutput
}
-// List of destination IpGroups for this rule.
-func (o NetworkRuleConditionResponsePtrOutput) DestinationIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkRuleConditionResponse) []string {
- if v == nil {
- return nil
- }
- return v.DestinationIpGroups
- }).(pulumi.StringArrayOutput)
+// Filter that is applied to packet capture request. Multiple filters can be applied.
+type PacketCaptureFilterArgs struct {
+ // Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+ LocalIPAddress pulumi.StringPtrInput `pulumi:"localIPAddress"`
+ // Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+ LocalPort pulumi.StringPtrInput `pulumi:"localPort"`
+ // Protocol to be filtered on.
+ Protocol pulumi.StringPtrInput `pulumi:"protocol"`
+ // Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+ RemoteIPAddress pulumi.StringPtrInput `pulumi:"remoteIPAddress"`
+ // Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+ RemotePort pulumi.StringPtrInput `pulumi:"remotePort"`
}
-// List of destination ports.
-func (o NetworkRuleConditionResponsePtrOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkRuleConditionResponse) []string {
- if v == nil {
- return nil
- }
- return v.DestinationPorts
- }).(pulumi.StringArrayOutput)
+// Defaults sets the appropriate defaults for PacketCaptureFilterArgs
+func (val *PacketCaptureFilterArgs) Defaults() *PacketCaptureFilterArgs {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.Protocol == nil {
+ tmp.Protocol = pulumi.StringPtr("Any")
+ }
+ return &tmp
+}
+func (PacketCaptureFilterArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PacketCaptureFilter)(nil)).Elem()
}
-// Array of FirewallPolicyRuleConditionNetworkProtocols.
-func (o NetworkRuleConditionResponsePtrOutput) IpProtocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkRuleConditionResponse) []string {
- if v == nil {
- return nil
- }
- return v.IpProtocols
- }).(pulumi.StringArrayOutput)
+func (i PacketCaptureFilterArgs) ToPacketCaptureFilterOutput() PacketCaptureFilterOutput {
+ return i.ToPacketCaptureFilterOutputWithContext(context.Background())
}
-// Name of the rule condition.
-func (o NetworkRuleConditionResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkRuleConditionResponse) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+func (i PacketCaptureFilterArgs) ToPacketCaptureFilterOutputWithContext(ctx context.Context) PacketCaptureFilterOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureFilterOutput)
}
-// Rule Condition Type.
-// Expected value is 'NetworkRuleCondition'.
-func (o NetworkRuleConditionResponsePtrOutput) RuleConditionType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkRuleConditionResponse) *string {
- if v == nil {
- return nil
- }
- return &v.RuleConditionType
- }).(pulumi.StringPtrOutput)
+// PacketCaptureFilterArrayInput is an input type that accepts PacketCaptureFilterArray and PacketCaptureFilterArrayOutput values.
+// You can construct a concrete instance of `PacketCaptureFilterArrayInput` via:
+//
+// PacketCaptureFilterArray{ PacketCaptureFilterArgs{...} }
+type PacketCaptureFilterArrayInput interface {
+ pulumi.Input
+
+ ToPacketCaptureFilterArrayOutput() PacketCaptureFilterArrayOutput
+ ToPacketCaptureFilterArrayOutputWithContext(context.Context) PacketCaptureFilterArrayOutput
}
-// List of source IP addresses for this rule.
-func (o NetworkRuleConditionResponsePtrOutput) SourceAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkRuleConditionResponse) []string {
- if v == nil {
- return nil
- }
- return v.SourceAddresses
- }).(pulumi.StringArrayOutput)
+type PacketCaptureFilterArray []PacketCaptureFilterInput
+
+func (PacketCaptureFilterArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PacketCaptureFilter)(nil)).Elem()
}
-// List of source IpGroups for this rule.
-func (o NetworkRuleConditionResponsePtrOutput) SourceIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkRuleConditionResponse) []string {
- if v == nil {
- return nil
- }
- return v.SourceIpGroups
- }).(pulumi.StringArrayOutput)
+func (i PacketCaptureFilterArray) ToPacketCaptureFilterArrayOutput() PacketCaptureFilterArrayOutput {
+ return i.ToPacketCaptureFilterArrayOutputWithContext(context.Background())
}
-// Rule of type network.
-type NetworkRuleResponse struct {
- // Description of the rule.
- Description *string `pulumi:"description"`
- // List of destination IP addresses or Service Tags.
- DestinationAddresses []string `pulumi:"destinationAddresses"`
- // List of destination FQDNs.
- DestinationFqdns []string `pulumi:"destinationFqdns"`
- // List of destination IpGroups for this rule.
- DestinationIpGroups []string `pulumi:"destinationIpGroups"`
- // List of destination ports.
- DestinationPorts []string `pulumi:"destinationPorts"`
- // Array of FirewallPolicyRuleNetworkProtocols.
- IpProtocols []string `pulumi:"ipProtocols"`
- // Name of the rule.
- Name *string `pulumi:"name"`
- // Rule Type.
- // Expected value is 'NetworkRule'.
- RuleType string `pulumi:"ruleType"`
- // List of source IP addresses for this rule.
- SourceAddresses []string `pulumi:"sourceAddresses"`
- // List of source IpGroups for this rule.
- SourceIpGroups []string `pulumi:"sourceIpGroups"`
+func (i PacketCaptureFilterArray) ToPacketCaptureFilterArrayOutputWithContext(ctx context.Context) PacketCaptureFilterArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureFilterArrayOutput)
}
-// Rule of type network.
-type NetworkRuleResponseOutput struct{ *pulumi.OutputState }
+// Filter that is applied to packet capture request. Multiple filters can be applied.
+type PacketCaptureFilterOutput struct{ *pulumi.OutputState }
-func (NetworkRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkRuleResponse)(nil)).Elem()
+func (PacketCaptureFilterOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PacketCaptureFilter)(nil)).Elem()
}
-func (o NetworkRuleResponseOutput) ToNetworkRuleResponseOutput() NetworkRuleResponseOutput {
+func (o PacketCaptureFilterOutput) ToPacketCaptureFilterOutput() PacketCaptureFilterOutput {
return o
}
-func (o NetworkRuleResponseOutput) ToNetworkRuleResponseOutputWithContext(ctx context.Context) NetworkRuleResponseOutput {
+func (o PacketCaptureFilterOutput) ToPacketCaptureFilterOutputWithContext(ctx context.Context) PacketCaptureFilterOutput {
return o
}
-// Description of the rule.
-func (o NetworkRuleResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkRuleResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+// Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+func (o PacketCaptureFilterOutput) LocalIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureFilter) *string { return v.LocalIPAddress }).(pulumi.StringPtrOutput)
}
-// List of destination IP addresses or Service Tags.
-func (o NetworkRuleResponseOutput) DestinationAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleResponse) []string { return v.DestinationAddresses }).(pulumi.StringArrayOutput)
+// Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+func (o PacketCaptureFilterOutput) LocalPort() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureFilter) *string { return v.LocalPort }).(pulumi.StringPtrOutput)
}
-// List of destination FQDNs.
-func (o NetworkRuleResponseOutput) DestinationFqdns() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleResponse) []string { return v.DestinationFqdns }).(pulumi.StringArrayOutput)
+// Protocol to be filtered on.
+func (o PacketCaptureFilterOutput) Protocol() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureFilter) *string { return v.Protocol }).(pulumi.StringPtrOutput)
}
-// List of destination IpGroups for this rule.
-func (o NetworkRuleResponseOutput) DestinationIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleResponse) []string { return v.DestinationIpGroups }).(pulumi.StringArrayOutput)
+// Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+func (o PacketCaptureFilterOutput) RemoteIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureFilter) *string { return v.RemoteIPAddress }).(pulumi.StringPtrOutput)
}
-// List of destination ports.
-func (o NetworkRuleResponseOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleResponse) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
+// Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+func (o PacketCaptureFilterOutput) RemotePort() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureFilter) *string { return v.RemotePort }).(pulumi.StringPtrOutput)
}
-// Array of FirewallPolicyRuleNetworkProtocols.
-func (o NetworkRuleResponseOutput) IpProtocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleResponse) []string { return v.IpProtocols }).(pulumi.StringArrayOutput)
+type PacketCaptureFilterArrayOutput struct{ *pulumi.OutputState }
+
+func (PacketCaptureFilterArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PacketCaptureFilter)(nil)).Elem()
}
-// Name of the rule.
-func (o NetworkRuleResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o PacketCaptureFilterArrayOutput) ToPacketCaptureFilterArrayOutput() PacketCaptureFilterArrayOutput {
+ return o
}
-// Rule Type.
-// Expected value is 'NetworkRule'.
-func (o NetworkRuleResponseOutput) RuleType() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkRuleResponse) string { return v.RuleType }).(pulumi.StringOutput)
+func (o PacketCaptureFilterArrayOutput) ToPacketCaptureFilterArrayOutputWithContext(ctx context.Context) PacketCaptureFilterArrayOutput {
+ return o
}
-// List of source IP addresses for this rule.
-func (o NetworkRuleResponseOutput) SourceAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleResponse) []string { return v.SourceAddresses }).(pulumi.StringArrayOutput)
+func (o PacketCaptureFilterArrayOutput) Index(i pulumi.IntInput) PacketCaptureFilterOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PacketCaptureFilter {
+ return vs[0].([]PacketCaptureFilter)[vs[1].(int)]
+ }).(PacketCaptureFilterOutput)
}
-// List of source IpGroups for this rule.
-func (o NetworkRuleResponseOutput) SourceIpGroups() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkRuleResponse) []string { return v.SourceIpGroups }).(pulumi.StringArrayOutput)
+// Filter that is applied to packet capture request. Multiple filters can be applied.
+type PacketCaptureFilterResponse struct {
+ // Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+ LocalIPAddress *string `pulumi:"localIPAddress"`
+ // Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+ LocalPort *string `pulumi:"localPort"`
+ // Protocol to be filtered on.
+ Protocol *string `pulumi:"protocol"`
+ // Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+ RemoteIPAddress *string `pulumi:"remoteIPAddress"`
+ // Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+ RemotePort *string `pulumi:"remotePort"`
}
-// NetworkSecurityGroup resource.
-type NetworkSecurityGroupType struct {
- // The default security rules of network security group.
- DefaultSecurityRules []SecurityRuleType `pulumi:"defaultSecurityRules"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
- FlushConnection *bool `pulumi:"flushConnection"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState *string `pulumi:"provisioningState"`
- // The resource GUID property of the network security group resource.
- ResourceGuid *string `pulumi:"resourceGuid"`
- // A collection of security rules of the network security group.
- SecurityRules []SecurityRuleType `pulumi:"securityRules"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
+// Defaults sets the appropriate defaults for PacketCaptureFilterResponse
+func (val *PacketCaptureFilterResponse) Defaults() *PacketCaptureFilterResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.Protocol == nil {
+ protocol_ := "Any"
+ tmp.Protocol = &protocol_
+ }
+ return &tmp
}
-// NetworkSecurityGroupTypeInput is an input type that accepts NetworkSecurityGroupTypeArgs and NetworkSecurityGroupTypeOutput values.
-// You can construct a concrete instance of `NetworkSecurityGroupTypeInput` via:
-//
-// NetworkSecurityGroupTypeArgs{...}
-type NetworkSecurityGroupTypeInput interface {
- pulumi.Input
+// Filter that is applied to packet capture request. Multiple filters can be applied.
+type PacketCaptureFilterResponseOutput struct{ *pulumi.OutputState }
- ToNetworkSecurityGroupTypeOutput() NetworkSecurityGroupTypeOutput
- ToNetworkSecurityGroupTypeOutputWithContext(context.Context) NetworkSecurityGroupTypeOutput
+func (PacketCaptureFilterResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PacketCaptureFilterResponse)(nil)).Elem()
}
-// NetworkSecurityGroup resource.
-type NetworkSecurityGroupTypeArgs struct {
- // The default security rules of network security group.
- DefaultSecurityRules SecurityRuleTypeArrayInput `pulumi:"defaultSecurityRules"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag pulumi.StringPtrInput `pulumi:"etag"`
- // When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
- FlushConnection pulumi.BoolPtrInput `pulumi:"flushConnection"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Resource location.
- Location pulumi.StringPtrInput `pulumi:"location"`
- // The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState pulumi.StringPtrInput `pulumi:"provisioningState"`
- // The resource GUID property of the network security group resource.
- ResourceGuid pulumi.StringPtrInput `pulumi:"resourceGuid"`
- // A collection of security rules of the network security group.
- SecurityRules SecurityRuleTypeArrayInput `pulumi:"securityRules"`
- // Resource tags.
- Tags pulumi.StringMapInput `pulumi:"tags"`
+func (o PacketCaptureFilterResponseOutput) ToPacketCaptureFilterResponseOutput() PacketCaptureFilterResponseOutput {
+ return o
}
-func (NetworkSecurityGroupTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkSecurityGroupType)(nil)).Elem()
+func (o PacketCaptureFilterResponseOutput) ToPacketCaptureFilterResponseOutputWithContext(ctx context.Context) PacketCaptureFilterResponseOutput {
+ return o
}
-func (i NetworkSecurityGroupTypeArgs) ToNetworkSecurityGroupTypeOutput() NetworkSecurityGroupTypeOutput {
- return i.ToNetworkSecurityGroupTypeOutputWithContext(context.Background())
+// Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+func (o PacketCaptureFilterResponseOutput) LocalIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureFilterResponse) *string { return v.LocalIPAddress }).(pulumi.StringPtrOutput)
}
-func (i NetworkSecurityGroupTypeArgs) ToNetworkSecurityGroupTypeOutputWithContext(ctx context.Context) NetworkSecurityGroupTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkSecurityGroupTypeOutput)
+// Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+func (o PacketCaptureFilterResponseOutput) LocalPort() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureFilterResponse) *string { return v.LocalPort }).(pulumi.StringPtrOutput)
}
-func (i NetworkSecurityGroupTypeArgs) ToNetworkSecurityGroupTypePtrOutput() NetworkSecurityGroupTypePtrOutput {
- return i.ToNetworkSecurityGroupTypePtrOutputWithContext(context.Background())
+// Protocol to be filtered on.
+func (o PacketCaptureFilterResponseOutput) Protocol() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureFilterResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput)
}
-func (i NetworkSecurityGroupTypeArgs) ToNetworkSecurityGroupTypePtrOutputWithContext(ctx context.Context) NetworkSecurityGroupTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkSecurityGroupTypeOutput).ToNetworkSecurityGroupTypePtrOutputWithContext(ctx)
+// Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+func (o PacketCaptureFilterResponseOutput) RemoteIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureFilterResponse) *string { return v.RemoteIPAddress }).(pulumi.StringPtrOutput)
}
-// NetworkSecurityGroupTypePtrInput is an input type that accepts NetworkSecurityGroupTypeArgs, NetworkSecurityGroupTypePtr and NetworkSecurityGroupTypePtrOutput values.
-// You can construct a concrete instance of `NetworkSecurityGroupTypePtrInput` via:
-//
-// NetworkSecurityGroupTypeArgs{...}
-//
-// or:
-//
-// nil
-type NetworkSecurityGroupTypePtrInput interface {
- pulumi.Input
-
- ToNetworkSecurityGroupTypePtrOutput() NetworkSecurityGroupTypePtrOutput
- ToNetworkSecurityGroupTypePtrOutputWithContext(context.Context) NetworkSecurityGroupTypePtrOutput
+// Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
+func (o PacketCaptureFilterResponseOutput) RemotePort() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureFilterResponse) *string { return v.RemotePort }).(pulumi.StringPtrOutput)
}
-type networkSecurityGroupTypePtrType NetworkSecurityGroupTypeArgs
+type PacketCaptureFilterResponseArrayOutput struct{ *pulumi.OutputState }
-func NetworkSecurityGroupTypePtr(v *NetworkSecurityGroupTypeArgs) NetworkSecurityGroupTypePtrInput {
- return (*networkSecurityGroupTypePtrType)(v)
+func (PacketCaptureFilterResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PacketCaptureFilterResponse)(nil)).Elem()
}
-func (*networkSecurityGroupTypePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkSecurityGroupType)(nil)).Elem()
+func (o PacketCaptureFilterResponseArrayOutput) ToPacketCaptureFilterResponseArrayOutput() PacketCaptureFilterResponseArrayOutput {
+ return o
}
-func (i *networkSecurityGroupTypePtrType) ToNetworkSecurityGroupTypePtrOutput() NetworkSecurityGroupTypePtrOutput {
- return i.ToNetworkSecurityGroupTypePtrOutputWithContext(context.Background())
+func (o PacketCaptureFilterResponseArrayOutput) ToPacketCaptureFilterResponseArrayOutputWithContext(ctx context.Context) PacketCaptureFilterResponseArrayOutput {
+ return o
}
-func (i *networkSecurityGroupTypePtrType) ToNetworkSecurityGroupTypePtrOutputWithContext(ctx context.Context) NetworkSecurityGroupTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkSecurityGroupTypePtrOutput)
+func (o PacketCaptureFilterResponseArrayOutput) Index(i pulumi.IntInput) PacketCaptureFilterResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PacketCaptureFilterResponse {
+ return vs[0].([]PacketCaptureFilterResponse)[vs[1].(int)]
+ }).(PacketCaptureFilterResponseOutput)
}
-// NetworkSecurityGroup resource.
-type NetworkSecurityGroupTypeOutput struct{ *pulumi.OutputState }
-
-func (NetworkSecurityGroupTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkSecurityGroupType)(nil)).Elem()
+// A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
+type PacketCaptureMachineScope struct {
+ // List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
+ Exclude []string `pulumi:"exclude"`
+ // List of AzureVMSS instances to run packet capture on.
+ Include []string `pulumi:"include"`
}
-func (o NetworkSecurityGroupTypeOutput) ToNetworkSecurityGroupTypeOutput() NetworkSecurityGroupTypeOutput {
- return o
-}
+// PacketCaptureMachineScopeInput is an input type that accepts PacketCaptureMachineScopeArgs and PacketCaptureMachineScopeOutput values.
+// You can construct a concrete instance of `PacketCaptureMachineScopeInput` via:
+//
+// PacketCaptureMachineScopeArgs{...}
+type PacketCaptureMachineScopeInput interface {
+ pulumi.Input
-func (o NetworkSecurityGroupTypeOutput) ToNetworkSecurityGroupTypeOutputWithContext(ctx context.Context) NetworkSecurityGroupTypeOutput {
- return o
+ ToPacketCaptureMachineScopeOutput() PacketCaptureMachineScopeOutput
+ ToPacketCaptureMachineScopeOutputWithContext(context.Context) PacketCaptureMachineScopeOutput
}
-func (o NetworkSecurityGroupTypeOutput) ToNetworkSecurityGroupTypePtrOutput() NetworkSecurityGroupTypePtrOutput {
- return o.ToNetworkSecurityGroupTypePtrOutputWithContext(context.Background())
+// A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
+type PacketCaptureMachineScopeArgs struct {
+ // List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
+ Exclude pulumi.StringArrayInput `pulumi:"exclude"`
+ // List of AzureVMSS instances to run packet capture on.
+ Include pulumi.StringArrayInput `pulumi:"include"`
}
-func (o NetworkSecurityGroupTypeOutput) ToNetworkSecurityGroupTypePtrOutputWithContext(ctx context.Context) NetworkSecurityGroupTypePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v NetworkSecurityGroupType) *NetworkSecurityGroupType {
- return &v
- }).(NetworkSecurityGroupTypePtrOutput)
+func (PacketCaptureMachineScopeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PacketCaptureMachineScope)(nil)).Elem()
}
-// The default security rules of network security group.
-func (o NetworkSecurityGroupTypeOutput) DefaultSecurityRules() SecurityRuleTypeArrayOutput {
- return o.ApplyT(func(v NetworkSecurityGroupType) []SecurityRuleType { return v.DefaultSecurityRules }).(SecurityRuleTypeArrayOutput)
+func (i PacketCaptureMachineScopeArgs) ToPacketCaptureMachineScopeOutput() PacketCaptureMachineScopeOutput {
+ return i.ToPacketCaptureMachineScopeOutputWithContext(context.Background())
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o NetworkSecurityGroupTypeOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkSecurityGroupType) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (i PacketCaptureMachineScopeArgs) ToPacketCaptureMachineScopeOutputWithContext(ctx context.Context) PacketCaptureMachineScopeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureMachineScopeOutput)
}
-// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
-func (o NetworkSecurityGroupTypeOutput) FlushConnection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v NetworkSecurityGroupType) *bool { return v.FlushConnection }).(pulumi.BoolPtrOutput)
+func (i PacketCaptureMachineScopeArgs) ToPacketCaptureMachineScopePtrOutput() PacketCaptureMachineScopePtrOutput {
+ return i.ToPacketCaptureMachineScopePtrOutputWithContext(context.Background())
}
-// Resource ID.
-func (o NetworkSecurityGroupTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkSecurityGroupType) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (i PacketCaptureMachineScopeArgs) ToPacketCaptureMachineScopePtrOutputWithContext(ctx context.Context) PacketCaptureMachineScopePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureMachineScopeOutput).ToPacketCaptureMachineScopePtrOutputWithContext(ctx)
}
-// Resource location.
-func (o NetworkSecurityGroupTypeOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkSecurityGroupType) *string { return v.Location }).(pulumi.StringPtrOutput)
+// PacketCaptureMachineScopePtrInput is an input type that accepts PacketCaptureMachineScopeArgs, PacketCaptureMachineScopePtr and PacketCaptureMachineScopePtrOutput values.
+// You can construct a concrete instance of `PacketCaptureMachineScopePtrInput` via:
+//
+// PacketCaptureMachineScopeArgs{...}
+//
+// or:
+//
+// nil
+type PacketCaptureMachineScopePtrInput interface {
+ pulumi.Input
+
+ ToPacketCaptureMachineScopePtrOutput() PacketCaptureMachineScopePtrOutput
+ ToPacketCaptureMachineScopePtrOutputWithContext(context.Context) PacketCaptureMachineScopePtrOutput
}
-// The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o NetworkSecurityGroupTypeOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkSecurityGroupType) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+type packetCaptureMachineScopePtrType PacketCaptureMachineScopeArgs
+
+func PacketCaptureMachineScopePtr(v *PacketCaptureMachineScopeArgs) PacketCaptureMachineScopePtrInput {
+ return (*packetCaptureMachineScopePtrType)(v)
}
-// The resource GUID property of the network security group resource.
-func (o NetworkSecurityGroupTypeOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkSecurityGroupType) *string { return v.ResourceGuid }).(pulumi.StringPtrOutput)
+func (*packetCaptureMachineScopePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**PacketCaptureMachineScope)(nil)).Elem()
}
-// A collection of security rules of the network security group.
-func (o NetworkSecurityGroupTypeOutput) SecurityRules() SecurityRuleTypeArrayOutput {
- return o.ApplyT(func(v NetworkSecurityGroupType) []SecurityRuleType { return v.SecurityRules }).(SecurityRuleTypeArrayOutput)
+func (i *packetCaptureMachineScopePtrType) ToPacketCaptureMachineScopePtrOutput() PacketCaptureMachineScopePtrOutput {
+ return i.ToPacketCaptureMachineScopePtrOutputWithContext(context.Background())
}
-// Resource tags.
-func (o NetworkSecurityGroupTypeOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v NetworkSecurityGroupType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+func (i *packetCaptureMachineScopePtrType) ToPacketCaptureMachineScopePtrOutputWithContext(ctx context.Context) PacketCaptureMachineScopePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureMachineScopePtrOutput)
}
-type NetworkSecurityGroupTypePtrOutput struct{ *pulumi.OutputState }
+// A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
+type PacketCaptureMachineScopeOutput struct{ *pulumi.OutputState }
-func (NetworkSecurityGroupTypePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkSecurityGroupType)(nil)).Elem()
+func (PacketCaptureMachineScopeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PacketCaptureMachineScope)(nil)).Elem()
}
-func (o NetworkSecurityGroupTypePtrOutput) ToNetworkSecurityGroupTypePtrOutput() NetworkSecurityGroupTypePtrOutput {
+func (o PacketCaptureMachineScopeOutput) ToPacketCaptureMachineScopeOutput() PacketCaptureMachineScopeOutput {
return o
}
-func (o NetworkSecurityGroupTypePtrOutput) ToNetworkSecurityGroupTypePtrOutputWithContext(ctx context.Context) NetworkSecurityGroupTypePtrOutput {
+func (o PacketCaptureMachineScopeOutput) ToPacketCaptureMachineScopeOutputWithContext(ctx context.Context) PacketCaptureMachineScopeOutput {
return o
}
-func (o NetworkSecurityGroupTypePtrOutput) Elem() NetworkSecurityGroupTypeOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupType) NetworkSecurityGroupType {
- if v != nil {
- return *v
- }
- var ret NetworkSecurityGroupType
- return ret
- }).(NetworkSecurityGroupTypeOutput)
+func (o PacketCaptureMachineScopeOutput) ToPacketCaptureMachineScopePtrOutput() PacketCaptureMachineScopePtrOutput {
+ return o.ToPacketCaptureMachineScopePtrOutputWithContext(context.Background())
}
-// The default security rules of network security group.
-func (o NetworkSecurityGroupTypePtrOutput) DefaultSecurityRules() SecurityRuleTypeArrayOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupType) []SecurityRuleType {
- if v == nil {
- return nil
- }
- return v.DefaultSecurityRules
- }).(SecurityRuleTypeArrayOutput)
+func (o PacketCaptureMachineScopeOutput) ToPacketCaptureMachineScopePtrOutputWithContext(ctx context.Context) PacketCaptureMachineScopePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v PacketCaptureMachineScope) *PacketCaptureMachineScope {
+ return &v
+ }).(PacketCaptureMachineScopePtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o NetworkSecurityGroupTypePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupType) *string {
- if v == nil {
- return nil
- }
- return v.Etag
- }).(pulumi.StringPtrOutput)
+// List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
+func (o PacketCaptureMachineScopeOutput) Exclude() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PacketCaptureMachineScope) []string { return v.Exclude }).(pulumi.StringArrayOutput)
}
-// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
-func (o NetworkSecurityGroupTypePtrOutput) FlushConnection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupType) *bool {
- if v == nil {
- return nil
- }
- return v.FlushConnection
- }).(pulumi.BoolPtrOutput)
+// List of AzureVMSS instances to run packet capture on.
+func (o PacketCaptureMachineScopeOutput) Include() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PacketCaptureMachineScope) []string { return v.Include }).(pulumi.StringArrayOutput)
}
-// Resource ID.
-func (o NetworkSecurityGroupTypePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupType) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+type PacketCaptureMachineScopePtrOutput struct{ *pulumi.OutputState }
+
+func (PacketCaptureMachineScopePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PacketCaptureMachineScope)(nil)).Elem()
}
-// Resource location.
-func (o NetworkSecurityGroupTypePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupType) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
+func (o PacketCaptureMachineScopePtrOutput) ToPacketCaptureMachineScopePtrOutput() PacketCaptureMachineScopePtrOutput {
+ return o
}
-// The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o NetworkSecurityGroupTypePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupType) *string {
- if v == nil {
- return nil
- }
- return v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+func (o PacketCaptureMachineScopePtrOutput) ToPacketCaptureMachineScopePtrOutputWithContext(ctx context.Context) PacketCaptureMachineScopePtrOutput {
+ return o
}
-// The resource GUID property of the network security group resource.
-func (o NetworkSecurityGroupTypePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupType) *string {
- if v == nil {
- return nil
+func (o PacketCaptureMachineScopePtrOutput) Elem() PacketCaptureMachineScopeOutput {
+ return o.ApplyT(func(v *PacketCaptureMachineScope) PacketCaptureMachineScope {
+ if v != nil {
+ return *v
}
- return v.ResourceGuid
- }).(pulumi.StringPtrOutput)
+ var ret PacketCaptureMachineScope
+ return ret
+ }).(PacketCaptureMachineScopeOutput)
}
-// A collection of security rules of the network security group.
-func (o NetworkSecurityGroupTypePtrOutput) SecurityRules() SecurityRuleTypeArrayOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupType) []SecurityRuleType {
+// List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
+func (o PacketCaptureMachineScopePtrOutput) Exclude() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PacketCaptureMachineScope) []string {
if v == nil {
return nil
}
- return v.SecurityRules
- }).(SecurityRuleTypeArrayOutput)
+ return v.Exclude
+ }).(pulumi.StringArrayOutput)
}
-// Resource tags.
-func (o NetworkSecurityGroupTypePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupType) map[string]string {
+// List of AzureVMSS instances to run packet capture on.
+func (o PacketCaptureMachineScopePtrOutput) Include() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PacketCaptureMachineScope) []string {
if v == nil {
return nil
}
- return v.Tags
- }).(pulumi.StringMapOutput)
+ return v.Include
+ }).(pulumi.StringArrayOutput)
}
-// NetworkSecurityGroup resource.
-type NetworkSecurityGroupResponse struct {
- // The default security rules of network security group.
- DefaultSecurityRules []SecurityRuleResponse `pulumi:"defaultSecurityRules"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // A collection of references to flow log resources.
- FlowLogs []FlowLogResponse `pulumi:"flowLogs"`
- // When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
- FlushConnection *bool `pulumi:"flushConnection"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // A collection of references to network interfaces.
- NetworkInterfaces []NetworkInterfaceResponse `pulumi:"networkInterfaces"`
- // The provisioning state of the network security group resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The resource GUID property of the network security group resource.
- ResourceGuid string `pulumi:"resourceGuid"`
- // A collection of security rules of the network security group.
- SecurityRules []SecurityRuleResponse `pulumi:"securityRules"`
- // A collection of references to subnets.
- Subnets []SubnetResponse `pulumi:"subnets"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
+// A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
+type PacketCaptureMachineScopeResponse struct {
+ // List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
+ Exclude []string `pulumi:"exclude"`
+ // List of AzureVMSS instances to run packet capture on.
+ Include []string `pulumi:"include"`
}
-// NetworkSecurityGroup resource.
-type NetworkSecurityGroupResponseOutput struct{ *pulumi.OutputState }
+// A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
+type PacketCaptureMachineScopeResponseOutput struct{ *pulumi.OutputState }
-func (NetworkSecurityGroupResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkSecurityGroupResponse)(nil)).Elem()
+func (PacketCaptureMachineScopeResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PacketCaptureMachineScopeResponse)(nil)).Elem()
}
-func (o NetworkSecurityGroupResponseOutput) ToNetworkSecurityGroupResponseOutput() NetworkSecurityGroupResponseOutput {
+func (o PacketCaptureMachineScopeResponseOutput) ToPacketCaptureMachineScopeResponseOutput() PacketCaptureMachineScopeResponseOutput {
return o
}
-func (o NetworkSecurityGroupResponseOutput) ToNetworkSecurityGroupResponseOutputWithContext(ctx context.Context) NetworkSecurityGroupResponseOutput {
+func (o PacketCaptureMachineScopeResponseOutput) ToPacketCaptureMachineScopeResponseOutputWithContext(ctx context.Context) PacketCaptureMachineScopeResponseOutput {
return o
}
-// The default security rules of network security group.
-func (o NetworkSecurityGroupResponseOutput) DefaultSecurityRules() SecurityRuleResponseArrayOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponse) []SecurityRuleResponse { return v.DefaultSecurityRules }).(SecurityRuleResponseArrayOutput)
+// List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
+func (o PacketCaptureMachineScopeResponseOutput) Exclude() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PacketCaptureMachineScopeResponse) []string { return v.Exclude }).(pulumi.StringArrayOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o NetworkSecurityGroupResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponse) string { return v.Etag }).(pulumi.StringOutput)
+// List of AzureVMSS instances to run packet capture on.
+func (o PacketCaptureMachineScopeResponseOutput) Include() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PacketCaptureMachineScopeResponse) []string { return v.Include }).(pulumi.StringArrayOutput)
}
-// A collection of references to flow log resources.
-func (o NetworkSecurityGroupResponseOutput) FlowLogs() FlowLogResponseArrayOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponse) []FlowLogResponse { return v.FlowLogs }).(FlowLogResponseArrayOutput)
+type PacketCaptureMachineScopeResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (PacketCaptureMachineScopeResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PacketCaptureMachineScopeResponse)(nil)).Elem()
}
-// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
-func (o NetworkSecurityGroupResponseOutput) FlushConnection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponse) *bool { return v.FlushConnection }).(pulumi.BoolPtrOutput)
+func (o PacketCaptureMachineScopeResponsePtrOutput) ToPacketCaptureMachineScopeResponsePtrOutput() PacketCaptureMachineScopeResponsePtrOutput {
+ return o
}
-// Resource ID.
-func (o NetworkSecurityGroupResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// Resource location.
-func (o NetworkSecurityGroupResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
-}
-
-// Resource name.
-func (o NetworkSecurityGroupResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponse) string { return v.Name }).(pulumi.StringOutput)
-}
-
-// A collection of references to network interfaces.
-func (o NetworkSecurityGroupResponseOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponse) []NetworkInterfaceResponse { return v.NetworkInterfaces }).(NetworkInterfaceResponseArrayOutput)
-}
-
-// The provisioning state of the network security group resource.
-func (o NetworkSecurityGroupResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
-
-// The resource GUID property of the network security group resource.
-func (o NetworkSecurityGroupResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
-}
-
-// A collection of security rules of the network security group.
-func (o NetworkSecurityGroupResponseOutput) SecurityRules() SecurityRuleResponseArrayOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponse) []SecurityRuleResponse { return v.SecurityRules }).(SecurityRuleResponseArrayOutput)
-}
-
-// A collection of references to subnets.
-func (o NetworkSecurityGroupResponseOutput) Subnets() SubnetResponseArrayOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponse) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
-}
-
-// Resource tags.
-func (o NetworkSecurityGroupResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
-}
-
-// Resource type.
-func (o NetworkSecurityGroupResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponse) string { return v.Type }).(pulumi.StringOutput)
-}
-
-type NetworkSecurityGroupResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (NetworkSecurityGroupResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkSecurityGroupResponse)(nil)).Elem()
-}
-
-func (o NetworkSecurityGroupResponsePtrOutput) ToNetworkSecurityGroupResponsePtrOutput() NetworkSecurityGroupResponsePtrOutput {
- return o
-}
-
-func (o NetworkSecurityGroupResponsePtrOutput) ToNetworkSecurityGroupResponsePtrOutputWithContext(ctx context.Context) NetworkSecurityGroupResponsePtrOutput {
+func (o PacketCaptureMachineScopeResponsePtrOutput) ToPacketCaptureMachineScopeResponsePtrOutputWithContext(ctx context.Context) PacketCaptureMachineScopeResponsePtrOutput {
return o
}
-func (o NetworkSecurityGroupResponsePtrOutput) Elem() NetworkSecurityGroupResponseOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponse) NetworkSecurityGroupResponse {
+func (o PacketCaptureMachineScopeResponsePtrOutput) Elem() PacketCaptureMachineScopeResponseOutput {
+ return o.ApplyT(func(v *PacketCaptureMachineScopeResponse) PacketCaptureMachineScopeResponse {
if v != nil {
return *v
}
- var ret NetworkSecurityGroupResponse
+ var ret PacketCaptureMachineScopeResponse
return ret
- }).(NetworkSecurityGroupResponseOutput)
-}
-
-// The default security rules of network security group.
-func (o NetworkSecurityGroupResponsePtrOutput) DefaultSecurityRules() SecurityRuleResponseArrayOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponse) []SecurityRuleResponse {
- if v == nil {
- return nil
- }
- return v.DefaultSecurityRules
- }).(SecurityRuleResponseArrayOutput)
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o NetworkSecurityGroupResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Etag
- }).(pulumi.StringPtrOutput)
+ }).(PacketCaptureMachineScopeResponseOutput)
}
-// A collection of references to flow log resources.
-func (o NetworkSecurityGroupResponsePtrOutput) FlowLogs() FlowLogResponseArrayOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponse) []FlowLogResponse {
+// List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
+func (o PacketCaptureMachineScopeResponsePtrOutput) Exclude() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PacketCaptureMachineScopeResponse) []string {
if v == nil {
return nil
}
- return v.FlowLogs
- }).(FlowLogResponseArrayOutput)
+ return v.Exclude
+ }).(pulumi.StringArrayOutput)
}
-// When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
-func (o NetworkSecurityGroupResponsePtrOutput) FlushConnection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponse) *bool {
+// List of AzureVMSS instances to run packet capture on.
+func (o PacketCaptureMachineScopeResponsePtrOutput) Include() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PacketCaptureMachineScopeResponse) []string {
if v == nil {
return nil
}
- return v.FlushConnection
- }).(pulumi.BoolPtrOutput)
+ return v.Include
+ }).(pulumi.StringArrayOutput)
}
-// Resource ID.
-func (o NetworkSecurityGroupResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+// The storage location for a packet capture session.
+type PacketCaptureSettings struct {
+ // Number of file count. Default value of count is 10 and maximum number is 10000.
+ FileCount *int `pulumi:"fileCount"`
+ // Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).
+ FileSizeInBytes *float64 `pulumi:"fileSizeInBytes"`
+ // Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).
+ SessionTimeLimitInSeconds *int `pulumi:"sessionTimeLimitInSeconds"`
}
-// Resource location.
-func (o NetworkSecurityGroupResponsePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponse) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
+// Defaults sets the appropriate defaults for PacketCaptureSettings
+func (val *PacketCaptureSettings) Defaults() *PacketCaptureSettings {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.FileCount == nil {
+ fileCount_ := 10
+ tmp.FileCount = &fileCount_
+ }
+ if tmp.FileSizeInBytes == nil {
+ fileSizeInBytes_ := 104857600.0
+ tmp.FileSizeInBytes = &fileSizeInBytes_
+ }
+ if tmp.SessionTimeLimitInSeconds == nil {
+ sessionTimeLimitInSeconds_ := 86400
+ tmp.SessionTimeLimitInSeconds = &sessionTimeLimitInSeconds_
+ }
+ return &tmp
}
-// Resource name.
-func (o NetworkSecurityGroupResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Name
- }).(pulumi.StringPtrOutput)
-}
+// PacketCaptureSettingsInput is an input type that accepts PacketCaptureSettingsArgs and PacketCaptureSettingsOutput values.
+// You can construct a concrete instance of `PacketCaptureSettingsInput` via:
+//
+// PacketCaptureSettingsArgs{...}
+type PacketCaptureSettingsInput interface {
+ pulumi.Input
-// A collection of references to network interfaces.
-func (o NetworkSecurityGroupResponsePtrOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponse) []NetworkInterfaceResponse {
- if v == nil {
- return nil
- }
- return v.NetworkInterfaces
- }).(NetworkInterfaceResponseArrayOutput)
+ ToPacketCaptureSettingsOutput() PacketCaptureSettingsOutput
+ ToPacketCaptureSettingsOutputWithContext(context.Context) PacketCaptureSettingsOutput
}
-// The provisioning state of the network security group resource.
-func (o NetworkSecurityGroupResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+// The storage location for a packet capture session.
+type PacketCaptureSettingsArgs struct {
+ // Number of file count. Default value of count is 10 and maximum number is 10000.
+ FileCount pulumi.IntPtrInput `pulumi:"fileCount"`
+ // Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).
+ FileSizeInBytes pulumi.Float64PtrInput `pulumi:"fileSizeInBytes"`
+ // Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).
+ SessionTimeLimitInSeconds pulumi.IntPtrInput `pulumi:"sessionTimeLimitInSeconds"`
}
-// The resource GUID property of the network security group resource.
-func (o NetworkSecurityGroupResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ResourceGuid
- }).(pulumi.StringPtrOutput)
+// Defaults sets the appropriate defaults for PacketCaptureSettingsArgs
+func (val *PacketCaptureSettingsArgs) Defaults() *PacketCaptureSettingsArgs {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.FileCount == nil {
+ tmp.FileCount = pulumi.IntPtr(10)
+ }
+ if tmp.FileSizeInBytes == nil {
+ tmp.FileSizeInBytes = pulumi.Float64Ptr(104857600.0)
+ }
+ if tmp.SessionTimeLimitInSeconds == nil {
+ tmp.SessionTimeLimitInSeconds = pulumi.IntPtr(86400)
+ }
+ return &tmp
}
-
-// A collection of security rules of the network security group.
-func (o NetworkSecurityGroupResponsePtrOutput) SecurityRules() SecurityRuleResponseArrayOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponse) []SecurityRuleResponse {
- if v == nil {
- return nil
- }
- return v.SecurityRules
- }).(SecurityRuleResponseArrayOutput)
+func (PacketCaptureSettingsArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PacketCaptureSettings)(nil)).Elem()
}
-// A collection of references to subnets.
-func (o NetworkSecurityGroupResponsePtrOutput) Subnets() SubnetResponseArrayOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponse) []SubnetResponse {
- if v == nil {
- return nil
- }
- return v.Subnets
- }).(SubnetResponseArrayOutput)
+func (i PacketCaptureSettingsArgs) ToPacketCaptureSettingsOutput() PacketCaptureSettingsOutput {
+ return i.ToPacketCaptureSettingsOutputWithContext(context.Background())
}
-// Resource tags.
-func (o NetworkSecurityGroupResponsePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponse) map[string]string {
- if v == nil {
- return nil
- }
- return v.Tags
- }).(pulumi.StringMapOutput)
+func (i PacketCaptureSettingsArgs) ToPacketCaptureSettingsOutputWithContext(ctx context.Context) PacketCaptureSettingsOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureSettingsOutput)
}
-// Resource type.
-func (o NetworkSecurityGroupResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Type
- }).(pulumi.StringPtrOutput)
+func (i PacketCaptureSettingsArgs) ToPacketCaptureSettingsPtrOutput() PacketCaptureSettingsPtrOutput {
+ return i.ToPacketCaptureSettingsPtrOutputWithContext(context.Background())
}
-// NetworkSecurityGroup resource.
-type NetworkSecurityGroupResponseV1 struct {
- // The default security rules of network security group.
- DefaultSecurityRules []SecurityRuleResponseV1 `pulumi:"defaultSecurityRules"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // A collection of references to network interfaces.
- NetworkInterfaces []NetworkInterfaceResponse `pulumi:"networkInterfaces"`
- // The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState *string `pulumi:"provisioningState"`
- // The resource GUID property of the network security group resource.
- ResourceGuid *string `pulumi:"resourceGuid"`
- // A collection of security rules of the network security group.
- SecurityRules []SecurityRuleResponse `pulumi:"securityRules"`
- // A collection of references to subnets.
- Subnets []SubnetResponse `pulumi:"subnets"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
+func (i PacketCaptureSettingsArgs) ToPacketCaptureSettingsPtrOutputWithContext(ctx context.Context) PacketCaptureSettingsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureSettingsOutput).ToPacketCaptureSettingsPtrOutputWithContext(ctx)
}
-// NetworkSecurityGroup resource.
-type NetworkSecurityGroupResponseV1Output struct{ *pulumi.OutputState }
+// PacketCaptureSettingsPtrInput is an input type that accepts PacketCaptureSettingsArgs, PacketCaptureSettingsPtr and PacketCaptureSettingsPtrOutput values.
+// You can construct a concrete instance of `PacketCaptureSettingsPtrInput` via:
+//
+// PacketCaptureSettingsArgs{...}
+//
+// or:
+//
+// nil
+type PacketCaptureSettingsPtrInput interface {
+ pulumi.Input
-func (NetworkSecurityGroupResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkSecurityGroupResponseV1)(nil)).Elem()
+ ToPacketCaptureSettingsPtrOutput() PacketCaptureSettingsPtrOutput
+ ToPacketCaptureSettingsPtrOutputWithContext(context.Context) PacketCaptureSettingsPtrOutput
}
-func (o NetworkSecurityGroupResponseV1Output) ToNetworkSecurityGroupResponseV1Output() NetworkSecurityGroupResponseV1Output {
- return o
-}
+type packetCaptureSettingsPtrType PacketCaptureSettingsArgs
-func (o NetworkSecurityGroupResponseV1Output) ToNetworkSecurityGroupResponseV1OutputWithContext(ctx context.Context) NetworkSecurityGroupResponseV1Output {
- return o
+func PacketCaptureSettingsPtr(v *PacketCaptureSettingsArgs) PacketCaptureSettingsPtrInput {
+ return (*packetCaptureSettingsPtrType)(v)
}
-// The default security rules of network security group.
-func (o NetworkSecurityGroupResponseV1Output) DefaultSecurityRules() SecurityRuleResponseV1ArrayOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponseV1) []SecurityRuleResponseV1 { return v.DefaultSecurityRules }).(SecurityRuleResponseV1ArrayOutput)
+func (*packetCaptureSettingsPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**PacketCaptureSettings)(nil)).Elem()
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o NetworkSecurityGroupResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (i *packetCaptureSettingsPtrType) ToPacketCaptureSettingsPtrOutput() PacketCaptureSettingsPtrOutput {
+ return i.ToPacketCaptureSettingsPtrOutputWithContext(context.Background())
}
-// Resource ID.
-func (o NetworkSecurityGroupResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (i *packetCaptureSettingsPtrType) ToPacketCaptureSettingsPtrOutputWithContext(ctx context.Context) PacketCaptureSettingsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureSettingsPtrOutput)
}
-// Resource location.
-func (o NetworkSecurityGroupResponseV1Output) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponseV1) *string { return v.Location }).(pulumi.StringPtrOutput)
-}
+// The storage location for a packet capture session.
+type PacketCaptureSettingsOutput struct{ *pulumi.OutputState }
-// Resource name.
-func (o NetworkSecurityGroupResponseV1Output) Name() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponseV1) string { return v.Name }).(pulumi.StringOutput)
+func (PacketCaptureSettingsOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PacketCaptureSettings)(nil)).Elem()
}
-// A collection of references to network interfaces.
-func (o NetworkSecurityGroupResponseV1Output) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponseV1) []NetworkInterfaceResponse { return v.NetworkInterfaces }).(NetworkInterfaceResponseArrayOutput)
+func (o PacketCaptureSettingsOutput) ToPacketCaptureSettingsOutput() PacketCaptureSettingsOutput {
+ return o
}
-// The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o NetworkSecurityGroupResponseV1Output) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponseV1) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+func (o PacketCaptureSettingsOutput) ToPacketCaptureSettingsOutputWithContext(ctx context.Context) PacketCaptureSettingsOutput {
+ return o
}
-// The resource GUID property of the network security group resource.
-func (o NetworkSecurityGroupResponseV1Output) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponseV1) *string { return v.ResourceGuid }).(pulumi.StringPtrOutput)
+func (o PacketCaptureSettingsOutput) ToPacketCaptureSettingsPtrOutput() PacketCaptureSettingsPtrOutput {
+ return o.ToPacketCaptureSettingsPtrOutputWithContext(context.Background())
}
-// A collection of security rules of the network security group.
-func (o NetworkSecurityGroupResponseV1Output) SecurityRules() SecurityRuleResponseArrayOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponseV1) []SecurityRuleResponse { return v.SecurityRules }).(SecurityRuleResponseArrayOutput)
+func (o PacketCaptureSettingsOutput) ToPacketCaptureSettingsPtrOutputWithContext(ctx context.Context) PacketCaptureSettingsPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v PacketCaptureSettings) *PacketCaptureSettings {
+ return &v
+ }).(PacketCaptureSettingsPtrOutput)
}
-// A collection of references to subnets.
-func (o NetworkSecurityGroupResponseV1Output) Subnets() SubnetResponseArrayOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponseV1) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
+// Number of file count. Default value of count is 10 and maximum number is 10000.
+func (o PacketCaptureSettingsOutput) FileCount() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PacketCaptureSettings) *int { return v.FileCount }).(pulumi.IntPtrOutput)
}
-// Resource tags.
-func (o NetworkSecurityGroupResponseV1Output) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponseV1) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).
+func (o PacketCaptureSettingsOutput) FileSizeInBytes() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v PacketCaptureSettings) *float64 { return v.FileSizeInBytes }).(pulumi.Float64PtrOutput)
}
-// Resource type.
-func (o NetworkSecurityGroupResponseV1Output) Type() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkSecurityGroupResponseV1) string { return v.Type }).(pulumi.StringOutput)
+// Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).
+func (o PacketCaptureSettingsOutput) SessionTimeLimitInSeconds() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PacketCaptureSettings) *int { return v.SessionTimeLimitInSeconds }).(pulumi.IntPtrOutput)
}
-type NetworkSecurityGroupResponseV1PtrOutput struct{ *pulumi.OutputState }
+type PacketCaptureSettingsPtrOutput struct{ *pulumi.OutputState }
-func (NetworkSecurityGroupResponseV1PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkSecurityGroupResponseV1)(nil)).Elem()
+func (PacketCaptureSettingsPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PacketCaptureSettings)(nil)).Elem()
}
-func (o NetworkSecurityGroupResponseV1PtrOutput) ToNetworkSecurityGroupResponseV1PtrOutput() NetworkSecurityGroupResponseV1PtrOutput {
+func (o PacketCaptureSettingsPtrOutput) ToPacketCaptureSettingsPtrOutput() PacketCaptureSettingsPtrOutput {
return o
}
-func (o NetworkSecurityGroupResponseV1PtrOutput) ToNetworkSecurityGroupResponseV1PtrOutputWithContext(ctx context.Context) NetworkSecurityGroupResponseV1PtrOutput {
+func (o PacketCaptureSettingsPtrOutput) ToPacketCaptureSettingsPtrOutputWithContext(ctx context.Context) PacketCaptureSettingsPtrOutput {
return o
}
-func (o NetworkSecurityGroupResponseV1PtrOutput) Elem() NetworkSecurityGroupResponseV1Output {
- return o.ApplyT(func(v *NetworkSecurityGroupResponseV1) NetworkSecurityGroupResponseV1 {
+func (o PacketCaptureSettingsPtrOutput) Elem() PacketCaptureSettingsOutput {
+ return o.ApplyT(func(v *PacketCaptureSettings) PacketCaptureSettings {
if v != nil {
return *v
}
- var ret NetworkSecurityGroupResponseV1
+ var ret PacketCaptureSettings
return ret
- }).(NetworkSecurityGroupResponseV1Output)
+ }).(PacketCaptureSettingsOutput)
}
-// The default security rules of network security group.
-func (o NetworkSecurityGroupResponseV1PtrOutput) DefaultSecurityRules() SecurityRuleResponseV1ArrayOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponseV1) []SecurityRuleResponseV1 {
+// Number of file count. Default value of count is 10 and maximum number is 10000.
+func (o PacketCaptureSettingsPtrOutput) FileCount() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PacketCaptureSettings) *int {
if v == nil {
return nil
}
- return v.DefaultSecurityRules
- }).(SecurityRuleResponseV1ArrayOutput)
+ return v.FileCount
+ }).(pulumi.IntPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o NetworkSecurityGroupResponseV1PtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponseV1) *string {
+// Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).
+func (o PacketCaptureSettingsPtrOutput) FileSizeInBytes() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v *PacketCaptureSettings) *float64 {
if v == nil {
return nil
}
- return v.Etag
- }).(pulumi.StringPtrOutput)
+ return v.FileSizeInBytes
+ }).(pulumi.Float64PtrOutput)
}
-// Resource ID.
-func (o NetworkSecurityGroupResponseV1PtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponseV1) *string {
+// Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).
+func (o PacketCaptureSettingsPtrOutput) SessionTimeLimitInSeconds() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PacketCaptureSettings) *int {
if v == nil {
return nil
}
- return v.Id
- }).(pulumi.StringPtrOutput)
+ return v.SessionTimeLimitInSeconds
+ }).(pulumi.IntPtrOutput)
}
-// Resource location.
-func (o NetworkSecurityGroupResponseV1PtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
+// The storage location for a packet capture session.
+type PacketCaptureSettingsResponse struct {
+ // Number of file count. Default value of count is 10 and maximum number is 10000.
+ FileCount *int `pulumi:"fileCount"`
+ // Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).
+ FileSizeInBytes *float64 `pulumi:"fileSizeInBytes"`
+ // Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).
+ SessionTimeLimitInSeconds *int `pulumi:"sessionTimeLimitInSeconds"`
}
-// Resource name.
-func (o NetworkSecurityGroupResponseV1PtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponseV1) *string {
- if v == nil {
- return nil
- }
- return &v.Name
- }).(pulumi.StringPtrOutput)
+// Defaults sets the appropriate defaults for PacketCaptureSettingsResponse
+func (val *PacketCaptureSettingsResponse) Defaults() *PacketCaptureSettingsResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.FileCount == nil {
+ fileCount_ := 10
+ tmp.FileCount = &fileCount_
+ }
+ if tmp.FileSizeInBytes == nil {
+ fileSizeInBytes_ := 104857600.0
+ tmp.FileSizeInBytes = &fileSizeInBytes_
+ }
+ if tmp.SessionTimeLimitInSeconds == nil {
+ sessionTimeLimitInSeconds_ := 86400
+ tmp.SessionTimeLimitInSeconds = &sessionTimeLimitInSeconds_
+ }
+ return &tmp
}
-// A collection of references to network interfaces.
-func (o NetworkSecurityGroupResponseV1PtrOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponseV1) []NetworkInterfaceResponse {
- if v == nil {
- return nil
- }
- return v.NetworkInterfaces
- }).(NetworkInterfaceResponseArrayOutput)
+// The storage location for a packet capture session.
+type PacketCaptureSettingsResponseOutput struct{ *pulumi.OutputState }
+
+func (PacketCaptureSettingsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PacketCaptureSettingsResponse)(nil)).Elem()
}
-// The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o NetworkSecurityGroupResponseV1PtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+func (o PacketCaptureSettingsResponseOutput) ToPacketCaptureSettingsResponseOutput() PacketCaptureSettingsResponseOutput {
+ return o
}
-// The resource GUID property of the network security group resource.
-func (o NetworkSecurityGroupResponseV1PtrOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.ResourceGuid
- }).(pulumi.StringPtrOutput)
+func (o PacketCaptureSettingsResponseOutput) ToPacketCaptureSettingsResponseOutputWithContext(ctx context.Context) PacketCaptureSettingsResponseOutput {
+ return o
}
-// A collection of security rules of the network security group.
-func (o NetworkSecurityGroupResponseV1PtrOutput) SecurityRules() SecurityRuleResponseArrayOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponseV1) []SecurityRuleResponse {
- if v == nil {
- return nil
+// Number of file count. Default value of count is 10 and maximum number is 10000.
+func (o PacketCaptureSettingsResponseOutput) FileCount() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PacketCaptureSettingsResponse) *int { return v.FileCount }).(pulumi.IntPtrOutput)
+}
+
+// Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).
+func (o PacketCaptureSettingsResponseOutput) FileSizeInBytes() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v PacketCaptureSettingsResponse) *float64 { return v.FileSizeInBytes }).(pulumi.Float64PtrOutput)
+}
+
+// Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).
+func (o PacketCaptureSettingsResponseOutput) SessionTimeLimitInSeconds() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PacketCaptureSettingsResponse) *int { return v.SessionTimeLimitInSeconds }).(pulumi.IntPtrOutput)
+}
+
+type PacketCaptureSettingsResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (PacketCaptureSettingsResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PacketCaptureSettingsResponse)(nil)).Elem()
+}
+
+func (o PacketCaptureSettingsResponsePtrOutput) ToPacketCaptureSettingsResponsePtrOutput() PacketCaptureSettingsResponsePtrOutput {
+ return o
+}
+
+func (o PacketCaptureSettingsResponsePtrOutput) ToPacketCaptureSettingsResponsePtrOutputWithContext(ctx context.Context) PacketCaptureSettingsResponsePtrOutput {
+ return o
+}
+
+func (o PacketCaptureSettingsResponsePtrOutput) Elem() PacketCaptureSettingsResponseOutput {
+ return o.ApplyT(func(v *PacketCaptureSettingsResponse) PacketCaptureSettingsResponse {
+ if v != nil {
+ return *v
}
- return v.SecurityRules
- }).(SecurityRuleResponseArrayOutput)
+ var ret PacketCaptureSettingsResponse
+ return ret
+ }).(PacketCaptureSettingsResponseOutput)
}
-// A collection of references to subnets.
-func (o NetworkSecurityGroupResponseV1PtrOutput) Subnets() SubnetResponseArrayOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponseV1) []SubnetResponse {
+// Number of file count. Default value of count is 10 and maximum number is 10000.
+func (o PacketCaptureSettingsResponsePtrOutput) FileCount() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PacketCaptureSettingsResponse) *int {
if v == nil {
return nil
}
- return v.Subnets
- }).(SubnetResponseArrayOutput)
+ return v.FileCount
+ }).(pulumi.IntPtrOutput)
}
-// Resource tags.
-func (o NetworkSecurityGroupResponseV1PtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponseV1) map[string]string {
+// Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).
+func (o PacketCaptureSettingsResponsePtrOutput) FileSizeInBytes() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v *PacketCaptureSettingsResponse) *float64 {
if v == nil {
return nil
}
- return v.Tags
- }).(pulumi.StringMapOutput)
+ return v.FileSizeInBytes
+ }).(pulumi.Float64PtrOutput)
}
-// Resource type.
-func (o NetworkSecurityGroupResponseV1PtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkSecurityGroupResponseV1) *string {
+// Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).
+func (o PacketCaptureSettingsResponsePtrOutput) SessionTimeLimitInSeconds() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PacketCaptureSettingsResponse) *int {
if v == nil {
return nil
}
- return &v.Type
- }).(pulumi.StringPtrOutput)
+ return v.SessionTimeLimitInSeconds
+ }).(pulumi.IntPtrOutput)
}
-// Properties of the NetworkVirtualApplianceConnection subresource.
-type NetworkVirtualApplianceConnectionProperties struct {
- // Network Virtual Appliance ASN.
- Asn *float64 `pulumi:"asn"`
- // List of bgpPeerAddresses for the NVA instances
- BgpPeerAddress []string `pulumi:"bgpPeerAddress"`
- // Enable internet security.
- EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
- // The name of the resource.
- Name *string `pulumi:"name"`
- // The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationType `pulumi:"routingConfiguration"`
- // Unique identifier for the connection.
- TunnelIdentifier *float64 `pulumi:"tunnelIdentifier"`
+// The storage location for a packet capture session.
+type PacketCaptureStorageLocation struct {
+ // This path is invalid if 'Continuous Capture' is provided with 'true' or 'false'. A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
+ FilePath *string `pulumi:"filePath"`
+ // This path is valid if 'Continuous Capture' is provided with 'true' or 'false' and required if no storage ID is provided, otherwise optional. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures.
+ LocalPath *string `pulumi:"localPath"`
+ // The ID of the storage account to save the packet capture session. Required if no localPath or filePath is provided.
+ StorageId *string `pulumi:"storageId"`
+ // The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
+ StoragePath *string `pulumi:"storagePath"`
}
-// NetworkVirtualApplianceConnectionPropertiesInput is an input type that accepts NetworkVirtualApplianceConnectionPropertiesArgs and NetworkVirtualApplianceConnectionPropertiesOutput values.
-// You can construct a concrete instance of `NetworkVirtualApplianceConnectionPropertiesInput` via:
+// PacketCaptureStorageLocationInput is an input type that accepts PacketCaptureStorageLocationArgs and PacketCaptureStorageLocationOutput values.
+// You can construct a concrete instance of `PacketCaptureStorageLocationInput` via:
//
-// NetworkVirtualApplianceConnectionPropertiesArgs{...}
-type NetworkVirtualApplianceConnectionPropertiesInput interface {
+// PacketCaptureStorageLocationArgs{...}
+type PacketCaptureStorageLocationInput interface {
pulumi.Input
- ToNetworkVirtualApplianceConnectionPropertiesOutput() NetworkVirtualApplianceConnectionPropertiesOutput
- ToNetworkVirtualApplianceConnectionPropertiesOutputWithContext(context.Context) NetworkVirtualApplianceConnectionPropertiesOutput
+ ToPacketCaptureStorageLocationOutput() PacketCaptureStorageLocationOutput
+ ToPacketCaptureStorageLocationOutputWithContext(context.Context) PacketCaptureStorageLocationOutput
}
-// Properties of the NetworkVirtualApplianceConnection subresource.
-type NetworkVirtualApplianceConnectionPropertiesArgs struct {
- // Network Virtual Appliance ASN.
- Asn pulumi.Float64PtrInput `pulumi:"asn"`
- // List of bgpPeerAddresses for the NVA instances
- BgpPeerAddress pulumi.StringArrayInput `pulumi:"bgpPeerAddress"`
- // Enable internet security.
- EnableInternetSecurity pulumi.BoolPtrInput `pulumi:"enableInternetSecurity"`
- // The name of the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration RoutingConfigurationTypePtrInput `pulumi:"routingConfiguration"`
- // Unique identifier for the connection.
- TunnelIdentifier pulumi.Float64PtrInput `pulumi:"tunnelIdentifier"`
+// The storage location for a packet capture session.
+type PacketCaptureStorageLocationArgs struct {
+ // This path is invalid if 'Continuous Capture' is provided with 'true' or 'false'. A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
+ FilePath pulumi.StringPtrInput `pulumi:"filePath"`
+ // This path is valid if 'Continuous Capture' is provided with 'true' or 'false' and required if no storage ID is provided, otherwise optional. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures.
+ LocalPath pulumi.StringPtrInput `pulumi:"localPath"`
+ // The ID of the storage account to save the packet capture session. Required if no localPath or filePath is provided.
+ StorageId pulumi.StringPtrInput `pulumi:"storageId"`
+ // The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
+ StoragePath pulumi.StringPtrInput `pulumi:"storagePath"`
}
-func (NetworkVirtualApplianceConnectionPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkVirtualApplianceConnectionProperties)(nil)).Elem()
+func (PacketCaptureStorageLocationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PacketCaptureStorageLocation)(nil)).Elem()
}
-func (i NetworkVirtualApplianceConnectionPropertiesArgs) ToNetworkVirtualApplianceConnectionPropertiesOutput() NetworkVirtualApplianceConnectionPropertiesOutput {
- return i.ToNetworkVirtualApplianceConnectionPropertiesOutputWithContext(context.Background())
+func (i PacketCaptureStorageLocationArgs) ToPacketCaptureStorageLocationOutput() PacketCaptureStorageLocationOutput {
+ return i.ToPacketCaptureStorageLocationOutputWithContext(context.Background())
}
-func (i NetworkVirtualApplianceConnectionPropertiesArgs) ToNetworkVirtualApplianceConnectionPropertiesOutputWithContext(ctx context.Context) NetworkVirtualApplianceConnectionPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkVirtualApplianceConnectionPropertiesOutput)
+func (i PacketCaptureStorageLocationArgs) ToPacketCaptureStorageLocationOutputWithContext(ctx context.Context) PacketCaptureStorageLocationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureStorageLocationOutput)
}
-func (i NetworkVirtualApplianceConnectionPropertiesArgs) ToNetworkVirtualApplianceConnectionPropertiesPtrOutput() NetworkVirtualApplianceConnectionPropertiesPtrOutput {
- return i.ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(context.Background())
-}
+// The storage location for a packet capture session.
+type PacketCaptureStorageLocationOutput struct{ *pulumi.OutputState }
-func (i NetworkVirtualApplianceConnectionPropertiesArgs) ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(ctx context.Context) NetworkVirtualApplianceConnectionPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkVirtualApplianceConnectionPropertiesOutput).ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(ctx)
+func (PacketCaptureStorageLocationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PacketCaptureStorageLocation)(nil)).Elem()
}
-// NetworkVirtualApplianceConnectionPropertiesPtrInput is an input type that accepts NetworkVirtualApplianceConnectionPropertiesArgs, NetworkVirtualApplianceConnectionPropertiesPtr and NetworkVirtualApplianceConnectionPropertiesPtrOutput values.
-// You can construct a concrete instance of `NetworkVirtualApplianceConnectionPropertiesPtrInput` via:
-//
-// NetworkVirtualApplianceConnectionPropertiesArgs{...}
-//
-// or:
-//
-// nil
-type NetworkVirtualApplianceConnectionPropertiesPtrInput interface {
- pulumi.Input
+func (o PacketCaptureStorageLocationOutput) ToPacketCaptureStorageLocationOutput() PacketCaptureStorageLocationOutput {
+ return o
+}
- ToNetworkVirtualApplianceConnectionPropertiesPtrOutput() NetworkVirtualApplianceConnectionPropertiesPtrOutput
- ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(context.Context) NetworkVirtualApplianceConnectionPropertiesPtrOutput
+func (o PacketCaptureStorageLocationOutput) ToPacketCaptureStorageLocationOutputWithContext(ctx context.Context) PacketCaptureStorageLocationOutput {
+ return o
}
-type networkVirtualApplianceConnectionPropertiesPtrType NetworkVirtualApplianceConnectionPropertiesArgs
+// This path is invalid if 'Continuous Capture' is provided with 'true' or 'false'. A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
+func (o PacketCaptureStorageLocationOutput) FilePath() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureStorageLocation) *string { return v.FilePath }).(pulumi.StringPtrOutput)
+}
-func NetworkVirtualApplianceConnectionPropertiesPtr(v *NetworkVirtualApplianceConnectionPropertiesArgs) NetworkVirtualApplianceConnectionPropertiesPtrInput {
- return (*networkVirtualApplianceConnectionPropertiesPtrType)(v)
+// This path is valid if 'Continuous Capture' is provided with 'true' or 'false' and required if no storage ID is provided, otherwise optional. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures.
+func (o PacketCaptureStorageLocationOutput) LocalPath() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureStorageLocation) *string { return v.LocalPath }).(pulumi.StringPtrOutput)
}
-func (*networkVirtualApplianceConnectionPropertiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkVirtualApplianceConnectionProperties)(nil)).Elem()
+// The ID of the storage account to save the packet capture session. Required if no localPath or filePath is provided.
+func (o PacketCaptureStorageLocationOutput) StorageId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureStorageLocation) *string { return v.StorageId }).(pulumi.StringPtrOutput)
}
-func (i *networkVirtualApplianceConnectionPropertiesPtrType) ToNetworkVirtualApplianceConnectionPropertiesPtrOutput() NetworkVirtualApplianceConnectionPropertiesPtrOutput {
- return i.ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(context.Background())
+// The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
+func (o PacketCaptureStorageLocationOutput) StoragePath() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureStorageLocation) *string { return v.StoragePath }).(pulumi.StringPtrOutput)
}
-func (i *networkVirtualApplianceConnectionPropertiesPtrType) ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(ctx context.Context) NetworkVirtualApplianceConnectionPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkVirtualApplianceConnectionPropertiesPtrOutput)
+// The storage location for a packet capture session.
+type PacketCaptureStorageLocationResponse struct {
+ // This path is invalid if 'Continuous Capture' is provided with 'true' or 'false'. A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
+ FilePath *string `pulumi:"filePath"`
+ // This path is valid if 'Continuous Capture' is provided with 'true' or 'false' and required if no storage ID is provided, otherwise optional. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures.
+ LocalPath *string `pulumi:"localPath"`
+ // The ID of the storage account to save the packet capture session. Required if no localPath or filePath is provided.
+ StorageId *string `pulumi:"storageId"`
+ // The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
+ StoragePath *string `pulumi:"storagePath"`
}
-// Properties of the NetworkVirtualApplianceConnection subresource.
-type NetworkVirtualApplianceConnectionPropertiesOutput struct{ *pulumi.OutputState }
+// The storage location for a packet capture session.
+type PacketCaptureStorageLocationResponseOutput struct{ *pulumi.OutputState }
-func (NetworkVirtualApplianceConnectionPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkVirtualApplianceConnectionProperties)(nil)).Elem()
+func (PacketCaptureStorageLocationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PacketCaptureStorageLocationResponse)(nil)).Elem()
}
-func (o NetworkVirtualApplianceConnectionPropertiesOutput) ToNetworkVirtualApplianceConnectionPropertiesOutput() NetworkVirtualApplianceConnectionPropertiesOutput {
+func (o PacketCaptureStorageLocationResponseOutput) ToPacketCaptureStorageLocationResponseOutput() PacketCaptureStorageLocationResponseOutput {
return o
}
-func (o NetworkVirtualApplianceConnectionPropertiesOutput) ToNetworkVirtualApplianceConnectionPropertiesOutputWithContext(ctx context.Context) NetworkVirtualApplianceConnectionPropertiesOutput {
+func (o PacketCaptureStorageLocationResponseOutput) ToPacketCaptureStorageLocationResponseOutputWithContext(ctx context.Context) PacketCaptureStorageLocationResponseOutput {
return o
}
-func (o NetworkVirtualApplianceConnectionPropertiesOutput) ToNetworkVirtualApplianceConnectionPropertiesPtrOutput() NetworkVirtualApplianceConnectionPropertiesPtrOutput {
- return o.ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(context.Background())
+// This path is invalid if 'Continuous Capture' is provided with 'true' or 'false'. A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
+func (o PacketCaptureStorageLocationResponseOutput) FilePath() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureStorageLocationResponse) *string { return v.FilePath }).(pulumi.StringPtrOutput)
}
-func (o NetworkVirtualApplianceConnectionPropertiesOutput) ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(ctx context.Context) NetworkVirtualApplianceConnectionPropertiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v NetworkVirtualApplianceConnectionProperties) *NetworkVirtualApplianceConnectionProperties {
- return &v
- }).(NetworkVirtualApplianceConnectionPropertiesPtrOutput)
-}
-
-// Network Virtual Appliance ASN.
-func (o NetworkVirtualApplianceConnectionPropertiesOutput) Asn() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v NetworkVirtualApplianceConnectionProperties) *float64 { return v.Asn }).(pulumi.Float64PtrOutput)
-}
-
-// List of bgpPeerAddresses for the NVA instances
-func (o NetworkVirtualApplianceConnectionPropertiesOutput) BgpPeerAddress() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkVirtualApplianceConnectionProperties) []string { return v.BgpPeerAddress }).(pulumi.StringArrayOutput)
-}
-
-// Enable internet security.
-func (o NetworkVirtualApplianceConnectionPropertiesOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v NetworkVirtualApplianceConnectionProperties) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
+// This path is valid if 'Continuous Capture' is provided with 'true' or 'false' and required if no storage ID is provided, otherwise optional. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures.
+func (o PacketCaptureStorageLocationResponseOutput) LocalPath() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureStorageLocationResponse) *string { return v.LocalPath }).(pulumi.StringPtrOutput)
}
-// The name of the resource.
-func (o NetworkVirtualApplianceConnectionPropertiesOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkVirtualApplianceConnectionProperties) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The ID of the storage account to save the packet capture session. Required if no localPath or filePath is provided.
+func (o PacketCaptureStorageLocationResponseOutput) StorageId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureStorageLocationResponse) *string { return v.StorageId }).(pulumi.StringPtrOutput)
}
-// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o NetworkVirtualApplianceConnectionPropertiesOutput) RoutingConfiguration() RoutingConfigurationTypePtrOutput {
- return o.ApplyT(func(v NetworkVirtualApplianceConnectionProperties) *RoutingConfigurationType {
- return v.RoutingConfiguration
- }).(RoutingConfigurationTypePtrOutput)
+// The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
+func (o PacketCaptureStorageLocationResponseOutput) StoragePath() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PacketCaptureStorageLocationResponse) *string { return v.StoragePath }).(pulumi.StringPtrOutput)
}
-// Unique identifier for the connection.
-func (o NetworkVirtualApplianceConnectionPropertiesOutput) TunnelIdentifier() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v NetworkVirtualApplianceConnectionProperties) *float64 { return v.TunnelIdentifier }).(pulumi.Float64PtrOutput)
+// Parameters for an Action.
+type Parameter struct {
+ // List of AS paths.
+ AsPath []string `pulumi:"asPath"`
+ // List of BGP communities.
+ Community []string `pulumi:"community"`
+ // List of route prefixes.
+ RoutePrefix []string `pulumi:"routePrefix"`
}
-type NetworkVirtualApplianceConnectionPropertiesPtrOutput struct{ *pulumi.OutputState }
+// ParameterInput is an input type that accepts ParameterArgs and ParameterOutput values.
+// You can construct a concrete instance of `ParameterInput` via:
+//
+// ParameterArgs{...}
+type ParameterInput interface {
+ pulumi.Input
-func (NetworkVirtualApplianceConnectionPropertiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkVirtualApplianceConnectionProperties)(nil)).Elem()
+ ToParameterOutput() ParameterOutput
+ ToParameterOutputWithContext(context.Context) ParameterOutput
}
-func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) ToNetworkVirtualApplianceConnectionPropertiesPtrOutput() NetworkVirtualApplianceConnectionPropertiesPtrOutput {
- return o
+// Parameters for an Action.
+type ParameterArgs struct {
+ // List of AS paths.
+ AsPath pulumi.StringArrayInput `pulumi:"asPath"`
+ // List of BGP communities.
+ Community pulumi.StringArrayInput `pulumi:"community"`
+ // List of route prefixes.
+ RoutePrefix pulumi.StringArrayInput `pulumi:"routePrefix"`
}
-func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) ToNetworkVirtualApplianceConnectionPropertiesPtrOutputWithContext(ctx context.Context) NetworkVirtualApplianceConnectionPropertiesPtrOutput {
- return o
+func (ParameterArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*Parameter)(nil)).Elem()
}
-func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) Elem() NetworkVirtualApplianceConnectionPropertiesOutput {
- return o.ApplyT(func(v *NetworkVirtualApplianceConnectionProperties) NetworkVirtualApplianceConnectionProperties {
- if v != nil {
- return *v
- }
- var ret NetworkVirtualApplianceConnectionProperties
- return ret
- }).(NetworkVirtualApplianceConnectionPropertiesOutput)
+func (i ParameterArgs) ToParameterOutput() ParameterOutput {
+ return i.ToParameterOutputWithContext(context.Background())
}
-// Network Virtual Appliance ASN.
-func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) Asn() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v *NetworkVirtualApplianceConnectionProperties) *float64 {
- if v == nil {
- return nil
- }
- return v.Asn
- }).(pulumi.Float64PtrOutput)
+func (i ParameterArgs) ToParameterOutputWithContext(ctx context.Context) ParameterOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ParameterOutput)
}
-// List of bgpPeerAddresses for the NVA instances
-func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) BgpPeerAddress() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NetworkVirtualApplianceConnectionProperties) []string {
- if v == nil {
- return nil
- }
- return v.BgpPeerAddress
- }).(pulumi.StringArrayOutput)
-}
+// ParameterArrayInput is an input type that accepts ParameterArray and ParameterArrayOutput values.
+// You can construct a concrete instance of `ParameterArrayInput` via:
+//
+// ParameterArray{ ParameterArgs{...} }
+type ParameterArrayInput interface {
+ pulumi.Input
-// Enable internet security.
-func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *NetworkVirtualApplianceConnectionProperties) *bool {
- if v == nil {
- return nil
- }
- return v.EnableInternetSecurity
- }).(pulumi.BoolPtrOutput)
+ ToParameterArrayOutput() ParameterArrayOutput
+ ToParameterArrayOutputWithContext(context.Context) ParameterArrayOutput
}
-// The name of the resource.
-func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NetworkVirtualApplianceConnectionProperties) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
-}
+type ParameterArray []ParameterInput
-// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) RoutingConfiguration() RoutingConfigurationTypePtrOutput {
- return o.ApplyT(func(v *NetworkVirtualApplianceConnectionProperties) *RoutingConfigurationType {
- if v == nil {
- return nil
- }
- return v.RoutingConfiguration
- }).(RoutingConfigurationTypePtrOutput)
+func (ParameterArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]Parameter)(nil)).Elem()
}
-// Unique identifier for the connection.
-func (o NetworkVirtualApplianceConnectionPropertiesPtrOutput) TunnelIdentifier() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v *NetworkVirtualApplianceConnectionProperties) *float64 {
- if v == nil {
- return nil
- }
- return v.TunnelIdentifier
- }).(pulumi.Float64PtrOutput)
+func (i ParameterArray) ToParameterArrayOutput() ParameterArrayOutput {
+ return i.ToParameterArrayOutputWithContext(context.Background())
}
-// Properties of the NetworkVirtualApplianceConnection subresource.
-type NetworkVirtualApplianceConnectionPropertiesResponse struct {
- // Network Virtual Appliance ASN.
- Asn *float64 `pulumi:"asn"`
- // List of bgpPeerAddresses for the NVA instances
- BgpPeerAddress []string `pulumi:"bgpPeerAddress"`
- // Enable internet security.
- EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
- // The name of the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the NetworkVirtualApplianceConnection resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationResponse `pulumi:"routingConfiguration"`
- // Unique identifier for the connection.
- TunnelIdentifier *float64 `pulumi:"tunnelIdentifier"`
+func (i ParameterArray) ToParameterArrayOutputWithContext(ctx context.Context) ParameterArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ParameterArrayOutput)
}
-// Properties of the NetworkVirtualApplianceConnection subresource.
-type NetworkVirtualApplianceConnectionPropertiesResponseOutput struct{ *pulumi.OutputState }
+// Parameters for an Action.
+type ParameterOutput struct{ *pulumi.OutputState }
-func (NetworkVirtualApplianceConnectionPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkVirtualApplianceConnectionPropertiesResponse)(nil)).Elem()
+func (ParameterOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*Parameter)(nil)).Elem()
}
-func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) ToNetworkVirtualApplianceConnectionPropertiesResponseOutput() NetworkVirtualApplianceConnectionPropertiesResponseOutput {
+func (o ParameterOutput) ToParameterOutput() ParameterOutput {
return o
}
-func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) ToNetworkVirtualApplianceConnectionPropertiesResponseOutputWithContext(ctx context.Context) NetworkVirtualApplianceConnectionPropertiesResponseOutput {
+func (o ParameterOutput) ToParameterOutputWithContext(ctx context.Context) ParameterOutput {
return o
}
-// Network Virtual Appliance ASN.
-func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) Asn() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v NetworkVirtualApplianceConnectionPropertiesResponse) *float64 { return v.Asn }).(pulumi.Float64PtrOutput)
+// List of AS paths.
+func (o ParameterOutput) AsPath() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v Parameter) []string { return v.AsPath }).(pulumi.StringArrayOutput)
}
-// List of bgpPeerAddresses for the NVA instances
-func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) BgpPeerAddress() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NetworkVirtualApplianceConnectionPropertiesResponse) []string { return v.BgpPeerAddress }).(pulumi.StringArrayOutput)
+// List of BGP communities.
+func (o ParameterOutput) Community() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v Parameter) []string { return v.Community }).(pulumi.StringArrayOutput)
}
-// Enable internet security.
-func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v NetworkVirtualApplianceConnectionPropertiesResponse) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
+// List of route prefixes.
+func (o ParameterOutput) RoutePrefix() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v Parameter) []string { return v.RoutePrefix }).(pulumi.StringArrayOutput)
}
-// The name of the resource.
-func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NetworkVirtualApplianceConnectionPropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
+type ParameterArrayOutput struct{ *pulumi.OutputState }
-// The provisioning state of the NetworkVirtualApplianceConnection resource.
-func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v NetworkVirtualApplianceConnectionPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (ParameterArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]Parameter)(nil)).Elem()
}
-// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) RoutingConfiguration() RoutingConfigurationResponsePtrOutput {
- return o.ApplyT(func(v NetworkVirtualApplianceConnectionPropertiesResponse) *RoutingConfigurationResponse {
- return v.RoutingConfiguration
- }).(RoutingConfigurationResponsePtrOutput)
+func (o ParameterArrayOutput) ToParameterArrayOutput() ParameterArrayOutput {
+ return o
}
-// Unique identifier for the connection.
-func (o NetworkVirtualApplianceConnectionPropertiesResponseOutput) TunnelIdentifier() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v NetworkVirtualApplianceConnectionPropertiesResponse) *float64 { return v.TunnelIdentifier }).(pulumi.Float64PtrOutput)
+func (o ParameterArrayOutput) ToParameterArrayOutputWithContext(ctx context.Context) ParameterArrayOutput {
+ return o
}
-// Network Profile containing configurations for Public and Private NIC.
-type NetworkVirtualAppliancePropertiesFormatNetworkProfile struct {
- NetworkInterfaceConfigurations []VirtualApplianceNetworkInterfaceConfiguration `pulumi:"networkInterfaceConfigurations"`
+func (o ParameterArrayOutput) Index(i pulumi.IntInput) ParameterOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) Parameter {
+ return vs[0].([]Parameter)[vs[1].(int)]
+ }).(ParameterOutput)
}
-// NetworkVirtualAppliancePropertiesFormatNetworkProfileInput is an input type that accepts NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs and NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput values.
-// You can construct a concrete instance of `NetworkVirtualAppliancePropertiesFormatNetworkProfileInput` via:
-//
-// NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs{...}
-type NetworkVirtualAppliancePropertiesFormatNetworkProfileInput interface {
- pulumi.Input
-
- ToNetworkVirtualAppliancePropertiesFormatNetworkProfileOutput() NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput
- ToNetworkVirtualAppliancePropertiesFormatNetworkProfileOutputWithContext(context.Context) NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput
+// Parameters for an Action.
+type ParameterResponse struct {
+ // List of AS paths.
+ AsPath []string `pulumi:"asPath"`
+ // List of BGP communities.
+ Community []string `pulumi:"community"`
+ // List of route prefixes.
+ RoutePrefix []string `pulumi:"routePrefix"`
}
-// Network Profile containing configurations for Public and Private NIC.
-type NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs struct {
- NetworkInterfaceConfigurations VirtualApplianceNetworkInterfaceConfigurationArrayInput `pulumi:"networkInterfaceConfigurations"`
+// Parameters for an Action.
+type ParameterResponseOutput struct{ *pulumi.OutputState }
+
+func (ParameterResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ParameterResponse)(nil)).Elem()
}
-func (NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkVirtualAppliancePropertiesFormatNetworkProfile)(nil)).Elem()
+func (o ParameterResponseOutput) ToParameterResponseOutput() ParameterResponseOutput {
+ return o
}
-func (i NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs) ToNetworkVirtualAppliancePropertiesFormatNetworkProfileOutput() NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput {
- return i.ToNetworkVirtualAppliancePropertiesFormatNetworkProfileOutputWithContext(context.Background())
+func (o ParameterResponseOutput) ToParameterResponseOutputWithContext(ctx context.Context) ParameterResponseOutput {
+ return o
}
-func (i NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs) ToNetworkVirtualAppliancePropertiesFormatNetworkProfileOutputWithContext(ctx context.Context) NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput)
+// List of AS paths.
+func (o ParameterResponseOutput) AsPath() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ParameterResponse) []string { return v.AsPath }).(pulumi.StringArrayOutput)
}
-func (i NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs) ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput() NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput {
- return i.ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(context.Background())
+// List of BGP communities.
+func (o ParameterResponseOutput) Community() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ParameterResponse) []string { return v.Community }).(pulumi.StringArrayOutput)
}
-func (i NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs) ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput).ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(ctx)
+// List of route prefixes.
+func (o ParameterResponseOutput) RoutePrefix() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ParameterResponse) []string { return v.RoutePrefix }).(pulumi.StringArrayOutput)
}
-// NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrInput is an input type that accepts NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs, NetworkVirtualAppliancePropertiesFormatNetworkProfilePtr and NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput values.
-// You can construct a concrete instance of `NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrInput` via:
-//
-// NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs{...}
-//
-// or:
-//
-// nil
-type NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrInput interface {
- pulumi.Input
+type ParameterResponseArrayOutput struct{ *pulumi.OutputState }
- ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput() NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput
- ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(context.Context) NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput
+func (ParameterResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ParameterResponse)(nil)).Elem()
}
-type networkVirtualAppliancePropertiesFormatNetworkProfilePtrType NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs
-
-func NetworkVirtualAppliancePropertiesFormatNetworkProfilePtr(v *NetworkVirtualAppliancePropertiesFormatNetworkProfileArgs) NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrInput {
- return (*networkVirtualAppliancePropertiesFormatNetworkProfilePtrType)(v)
+func (o ParameterResponseArrayOutput) ToParameterResponseArrayOutput() ParameterResponseArrayOutput {
+ return o
}
-func (*networkVirtualAppliancePropertiesFormatNetworkProfilePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkVirtualAppliancePropertiesFormatNetworkProfile)(nil)).Elem()
+func (o ParameterResponseArrayOutput) ToParameterResponseArrayOutputWithContext(ctx context.Context) ParameterResponseArrayOutput {
+ return o
}
-func (i *networkVirtualAppliancePropertiesFormatNetworkProfilePtrType) ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput() NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput {
- return i.ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(context.Background())
+func (o ParameterResponseArrayOutput) Index(i pulumi.IntInput) ParameterResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ParameterResponse {
+ return vs[0].([]ParameterResponse)[vs[1].(int)]
+ }).(ParameterResponseOutput)
}
-func (i *networkVirtualAppliancePropertiesFormatNetworkProfilePtrType) ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput)
+// Properties of the partner managed resource.
+type PartnerManagedResourcePropertiesResponse struct {
+ // The partner managed resource id.
+ Id string `pulumi:"id"`
+ // The partner managed ILB resource id
+ InternalLoadBalancerId string `pulumi:"internalLoadBalancerId"`
+ // The partner managed SLB resource id
+ StandardLoadBalancerId string `pulumi:"standardLoadBalancerId"`
}
-// Network Profile containing configurations for Public and Private NIC.
-type NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput struct{ *pulumi.OutputState }
+// Properties of the partner managed resource.
+type PartnerManagedResourcePropertiesResponseOutput struct{ *pulumi.OutputState }
-func (NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkVirtualAppliancePropertiesFormatNetworkProfile)(nil)).Elem()
+func (PartnerManagedResourcePropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PartnerManagedResourcePropertiesResponse)(nil)).Elem()
}
-func (o NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput) ToNetworkVirtualAppliancePropertiesFormatNetworkProfileOutput() NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput {
+func (o PartnerManagedResourcePropertiesResponseOutput) ToPartnerManagedResourcePropertiesResponseOutput() PartnerManagedResourcePropertiesResponseOutput {
return o
}
-func (o NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput) ToNetworkVirtualAppliancePropertiesFormatNetworkProfileOutputWithContext(ctx context.Context) NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput {
+func (o PartnerManagedResourcePropertiesResponseOutput) ToPartnerManagedResourcePropertiesResponseOutputWithContext(ctx context.Context) PartnerManagedResourcePropertiesResponseOutput {
return o
}
-func (o NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput) ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput() NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput {
- return o.ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(context.Background())
+// The partner managed resource id.
+func (o PartnerManagedResourcePropertiesResponseOutput) Id() pulumi.StringOutput {
+ return o.ApplyT(func(v PartnerManagedResourcePropertiesResponse) string { return v.Id }).(pulumi.StringOutput)
}
-func (o NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput) ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v NetworkVirtualAppliancePropertiesFormatNetworkProfile) *NetworkVirtualAppliancePropertiesFormatNetworkProfile {
- return &v
- }).(NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput)
+// The partner managed ILB resource id
+func (o PartnerManagedResourcePropertiesResponseOutput) InternalLoadBalancerId() pulumi.StringOutput {
+ return o.ApplyT(func(v PartnerManagedResourcePropertiesResponse) string { return v.InternalLoadBalancerId }).(pulumi.StringOutput)
}
-func (o NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput) NetworkInterfaceConfigurations() VirtualApplianceNetworkInterfaceConfigurationArrayOutput {
- return o.ApplyT(func(v NetworkVirtualAppliancePropertiesFormatNetworkProfile) []VirtualApplianceNetworkInterfaceConfiguration {
- return v.NetworkInterfaceConfigurations
- }).(VirtualApplianceNetworkInterfaceConfigurationArrayOutput)
+// The partner managed SLB resource id
+func (o PartnerManagedResourcePropertiesResponseOutput) StandardLoadBalancerId() pulumi.StringOutput {
+ return o.ApplyT(func(v PartnerManagedResourcePropertiesResponse) string { return v.StandardLoadBalancerId }).(pulumi.StringOutput)
}
-type NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput struct{ *pulumi.OutputState }
+type PartnerManagedResourcePropertiesResponsePtrOutput struct{ *pulumi.OutputState }
-func (NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkVirtualAppliancePropertiesFormatNetworkProfile)(nil)).Elem()
+func (PartnerManagedResourcePropertiesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PartnerManagedResourcePropertiesResponse)(nil)).Elem()
}
-func (o NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput) ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput() NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput {
+func (o PartnerManagedResourcePropertiesResponsePtrOutput) ToPartnerManagedResourcePropertiesResponsePtrOutput() PartnerManagedResourcePropertiesResponsePtrOutput {
return o
}
-func (o NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput) ToNetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput {
+func (o PartnerManagedResourcePropertiesResponsePtrOutput) ToPartnerManagedResourcePropertiesResponsePtrOutputWithContext(ctx context.Context) PartnerManagedResourcePropertiesResponsePtrOutput {
return o
}
-func (o NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput) Elem() NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput {
- return o.ApplyT(func(v *NetworkVirtualAppliancePropertiesFormatNetworkProfile) NetworkVirtualAppliancePropertiesFormatNetworkProfile {
+func (o PartnerManagedResourcePropertiesResponsePtrOutput) Elem() PartnerManagedResourcePropertiesResponseOutput {
+ return o.ApplyT(func(v *PartnerManagedResourcePropertiesResponse) PartnerManagedResourcePropertiesResponse {
if v != nil {
return *v
}
- var ret NetworkVirtualAppliancePropertiesFormatNetworkProfile
+ var ret PartnerManagedResourcePropertiesResponse
return ret
- }).(NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput)
+ }).(PartnerManagedResourcePropertiesResponseOutput)
}
-func (o NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput) NetworkInterfaceConfigurations() VirtualApplianceNetworkInterfaceConfigurationArrayOutput {
- return o.ApplyT(func(v *NetworkVirtualAppliancePropertiesFormatNetworkProfile) []VirtualApplianceNetworkInterfaceConfiguration {
+// The partner managed resource id.
+func (o PartnerManagedResourcePropertiesResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PartnerManagedResourcePropertiesResponse) *string {
if v == nil {
return nil
}
- return v.NetworkInterfaceConfigurations
- }).(VirtualApplianceNetworkInterfaceConfigurationArrayOutput)
-}
-
-// Network Profile containing configurations for Public and Private NIC.
-type NetworkVirtualAppliancePropertiesFormatResponseNetworkProfile struct {
- NetworkInterfaceConfigurations []VirtualApplianceNetworkInterfaceConfigurationResponse `pulumi:"networkInterfaceConfigurations"`
-}
-
-// Network Profile containing configurations for Public and Private NIC.
-type NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput struct{ *pulumi.OutputState }
-
-func (NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NetworkVirtualAppliancePropertiesFormatResponseNetworkProfile)(nil)).Elem()
-}
-
-func (o NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput) ToNetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput() NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput {
- return o
-}
-
-func (o NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput) ToNetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutputWithContext(ctx context.Context) NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput {
- return o
-}
-
-func (o NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput) NetworkInterfaceConfigurations() VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput {
- return o.ApplyT(func(v NetworkVirtualAppliancePropertiesFormatResponseNetworkProfile) []VirtualApplianceNetworkInterfaceConfigurationResponse {
- return v.NetworkInterfaceConfigurations
- }).(VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput)
-}
-
-type NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput struct{ *pulumi.OutputState }
-
-func (NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NetworkVirtualAppliancePropertiesFormatResponseNetworkProfile)(nil)).Elem()
-}
-
-func (o NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput) ToNetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput() NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput {
- return o
-}
-
-func (o NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput) ToNetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput {
- return o
+ return &v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (o NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput) Elem() NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput {
- return o.ApplyT(func(v *NetworkVirtualAppliancePropertiesFormatResponseNetworkProfile) NetworkVirtualAppliancePropertiesFormatResponseNetworkProfile {
- if v != nil {
- return *v
+// The partner managed ILB resource id
+func (o PartnerManagedResourcePropertiesResponsePtrOutput) InternalLoadBalancerId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PartnerManagedResourcePropertiesResponse) *string {
+ if v == nil {
+ return nil
}
- var ret NetworkVirtualAppliancePropertiesFormatResponseNetworkProfile
- return ret
- }).(NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput)
+ return &v.InternalLoadBalancerId
+ }).(pulumi.StringPtrOutput)
}
-func (o NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput) NetworkInterfaceConfigurations() VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput {
- return o.ApplyT(func(v *NetworkVirtualAppliancePropertiesFormatResponseNetworkProfile) []VirtualApplianceNetworkInterfaceConfigurationResponse {
+// The partner managed SLB resource id
+func (o PartnerManagedResourcePropertiesResponsePtrOutput) StandardLoadBalancerId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PartnerManagedResourcePropertiesResponse) *string {
if v == nil {
return nil
}
- return v.NetworkInterfaceConfigurations
- }).(VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput)
+ return &v.StandardLoadBalancerId
+ }).(pulumi.StringPtrOutput)
}
-// The NSP logging configuration properties.
-type NspLoggingConfigurationProperties struct {
- // The log categories to enable in the NSP logging configuration.
- EnabledLogCategories []string `pulumi:"enabledLogCategories"`
- // The version of the NSP logging configuration.
- Version *string `pulumi:"version"`
+// Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
+type PeerExpressRouteCircuitConnectionResponse struct {
+ // /29 IP address space to carve out Customer addresses for tunnels.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // The resource guid of the authorization used for the express route circuit connection.
+ AuthResourceGuid *string `pulumi:"authResourceGuid"`
+ // Express Route Circuit connection state.
+ CircuitConnectionStatus string `pulumi:"circuitConnectionStatus"`
+ // The name of the express route circuit connection resource.
+ ConnectionName *string `pulumi:"connectionName"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Reference to Express Route Circuit Private Peering Resource of the circuit.
+ ExpressRouteCircuitPeering *SubResourceResponse `pulumi:"expressRouteCircuitPeering"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Reference to Express Route Circuit Private Peering Resource of the peered circuit.
+ PeerExpressRouteCircuitPeering *SubResourceResponse `pulumi:"peerExpressRouteCircuitPeering"`
+ // The provisioning state of the peer express route circuit connection resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Type of the resource.
+ Type string `pulumi:"type"`
}
-// NspLoggingConfigurationPropertiesInput is an input type that accepts NspLoggingConfigurationPropertiesArgs and NspLoggingConfigurationPropertiesOutput values.
-// You can construct a concrete instance of `NspLoggingConfigurationPropertiesInput` via:
-//
-// NspLoggingConfigurationPropertiesArgs{...}
-type NspLoggingConfigurationPropertiesInput interface {
- pulumi.Input
+// Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
+type PeerExpressRouteCircuitConnectionResponseOutput struct{ *pulumi.OutputState }
- ToNspLoggingConfigurationPropertiesOutput() NspLoggingConfigurationPropertiesOutput
- ToNspLoggingConfigurationPropertiesOutputWithContext(context.Context) NspLoggingConfigurationPropertiesOutput
+func (PeerExpressRouteCircuitConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PeerExpressRouteCircuitConnectionResponse)(nil)).Elem()
}
-// The NSP logging configuration properties.
-type NspLoggingConfigurationPropertiesArgs struct {
- // The log categories to enable in the NSP logging configuration.
- EnabledLogCategories pulumi.StringArrayInput `pulumi:"enabledLogCategories"`
- // The version of the NSP logging configuration.
- Version pulumi.StringPtrInput `pulumi:"version"`
+func (o PeerExpressRouteCircuitConnectionResponseOutput) ToPeerExpressRouteCircuitConnectionResponseOutput() PeerExpressRouteCircuitConnectionResponseOutput {
+ return o
}
-func (NspLoggingConfigurationPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*NspLoggingConfigurationProperties)(nil)).Elem()
+func (o PeerExpressRouteCircuitConnectionResponseOutput) ToPeerExpressRouteCircuitConnectionResponseOutputWithContext(ctx context.Context) PeerExpressRouteCircuitConnectionResponseOutput {
+ return o
}
-func (i NspLoggingConfigurationPropertiesArgs) ToNspLoggingConfigurationPropertiesOutput() NspLoggingConfigurationPropertiesOutput {
- return i.ToNspLoggingConfigurationPropertiesOutputWithContext(context.Background())
+// /29 IP address space to carve out Customer addresses for tunnels.
+func (o PeerExpressRouteCircuitConnectionResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-func (i NspLoggingConfigurationPropertiesArgs) ToNspLoggingConfigurationPropertiesOutputWithContext(ctx context.Context) NspLoggingConfigurationPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NspLoggingConfigurationPropertiesOutput)
+// The resource guid of the authorization used for the express route circuit connection.
+func (o PeerExpressRouteCircuitConnectionResponseOutput) AuthResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) *string { return v.AuthResourceGuid }).(pulumi.StringPtrOutput)
}
-func (i NspLoggingConfigurationPropertiesArgs) ToNspLoggingConfigurationPropertiesPtrOutput() NspLoggingConfigurationPropertiesPtrOutput {
- return i.ToNspLoggingConfigurationPropertiesPtrOutputWithContext(context.Background())
+// Express Route Circuit connection state.
+func (o PeerExpressRouteCircuitConnectionResponseOutput) CircuitConnectionStatus() pulumi.StringOutput {
+ return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) string { return v.CircuitConnectionStatus }).(pulumi.StringOutput)
}
-func (i NspLoggingConfigurationPropertiesArgs) ToNspLoggingConfigurationPropertiesPtrOutputWithContext(ctx context.Context) NspLoggingConfigurationPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NspLoggingConfigurationPropertiesOutput).ToNspLoggingConfigurationPropertiesPtrOutputWithContext(ctx)
+// The name of the express route circuit connection resource.
+func (o PeerExpressRouteCircuitConnectionResponseOutput) ConnectionName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) *string { return v.ConnectionName }).(pulumi.StringPtrOutput)
}
-// NspLoggingConfigurationPropertiesPtrInput is an input type that accepts NspLoggingConfigurationPropertiesArgs, NspLoggingConfigurationPropertiesPtr and NspLoggingConfigurationPropertiesPtrOutput values.
-// You can construct a concrete instance of `NspLoggingConfigurationPropertiesPtrInput` via:
-//
-// NspLoggingConfigurationPropertiesArgs{...}
-//
-// or:
-//
-// nil
-type NspLoggingConfigurationPropertiesPtrInput interface {
- pulumi.Input
+// A unique read-only string that changes whenever the resource is updated.
+func (o PeerExpressRouteCircuitConnectionResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) string { return v.Etag }).(pulumi.StringOutput)
+}
- ToNspLoggingConfigurationPropertiesPtrOutput() NspLoggingConfigurationPropertiesPtrOutput
- ToNspLoggingConfigurationPropertiesPtrOutputWithContext(context.Context) NspLoggingConfigurationPropertiesPtrOutput
+// Reference to Express Route Circuit Private Peering Resource of the circuit.
+func (o PeerExpressRouteCircuitConnectionResponseOutput) ExpressRouteCircuitPeering() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) *SubResourceResponse {
+ return v.ExpressRouteCircuitPeering
+ }).(SubResourceResponsePtrOutput)
}
-type nspLoggingConfigurationPropertiesPtrType NspLoggingConfigurationPropertiesArgs
+// Resource ID.
+func (o PeerExpressRouteCircuitConnectionResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
-func NspLoggingConfigurationPropertiesPtr(v *NspLoggingConfigurationPropertiesArgs) NspLoggingConfigurationPropertiesPtrInput {
- return (*nspLoggingConfigurationPropertiesPtrType)(v)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o PeerExpressRouteCircuitConnectionResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (*nspLoggingConfigurationPropertiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**NspLoggingConfigurationProperties)(nil)).Elem()
+// Reference to Express Route Circuit Private Peering Resource of the peered circuit.
+func (o PeerExpressRouteCircuitConnectionResponseOutput) PeerExpressRouteCircuitPeering() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) *SubResourceResponse {
+ return v.PeerExpressRouteCircuitPeering
+ }).(SubResourceResponsePtrOutput)
}
-func (i *nspLoggingConfigurationPropertiesPtrType) ToNspLoggingConfigurationPropertiesPtrOutput() NspLoggingConfigurationPropertiesPtrOutput {
- return i.ToNspLoggingConfigurationPropertiesPtrOutputWithContext(context.Background())
+// The provisioning state of the peer express route circuit connection resource.
+func (o PeerExpressRouteCircuitConnectionResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i *nspLoggingConfigurationPropertiesPtrType) ToNspLoggingConfigurationPropertiesPtrOutputWithContext(ctx context.Context) NspLoggingConfigurationPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(NspLoggingConfigurationPropertiesPtrOutput)
+// Type of the resource.
+func (o PeerExpressRouteCircuitConnectionResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// The NSP logging configuration properties.
-type NspLoggingConfigurationPropertiesOutput struct{ *pulumi.OutputState }
+type PeerExpressRouteCircuitConnectionResponseArrayOutput struct{ *pulumi.OutputState }
-func (NspLoggingConfigurationPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NspLoggingConfigurationProperties)(nil)).Elem()
+func (PeerExpressRouteCircuitConnectionResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PeerExpressRouteCircuitConnectionResponse)(nil)).Elem()
}
-func (o NspLoggingConfigurationPropertiesOutput) ToNspLoggingConfigurationPropertiesOutput() NspLoggingConfigurationPropertiesOutput {
+func (o PeerExpressRouteCircuitConnectionResponseArrayOutput) ToPeerExpressRouteCircuitConnectionResponseArrayOutput() PeerExpressRouteCircuitConnectionResponseArrayOutput {
return o
}
-func (o NspLoggingConfigurationPropertiesOutput) ToNspLoggingConfigurationPropertiesOutputWithContext(ctx context.Context) NspLoggingConfigurationPropertiesOutput {
+func (o PeerExpressRouteCircuitConnectionResponseArrayOutput) ToPeerExpressRouteCircuitConnectionResponseArrayOutputWithContext(ctx context.Context) PeerExpressRouteCircuitConnectionResponseArrayOutput {
return o
}
-func (o NspLoggingConfigurationPropertiesOutput) ToNspLoggingConfigurationPropertiesPtrOutput() NspLoggingConfigurationPropertiesPtrOutput {
- return o.ToNspLoggingConfigurationPropertiesPtrOutputWithContext(context.Background())
-}
-
-func (o NspLoggingConfigurationPropertiesOutput) ToNspLoggingConfigurationPropertiesPtrOutputWithContext(ctx context.Context) NspLoggingConfigurationPropertiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v NspLoggingConfigurationProperties) *NspLoggingConfigurationProperties {
- return &v
- }).(NspLoggingConfigurationPropertiesPtrOutput)
-}
-
-// The log categories to enable in the NSP logging configuration.
-func (o NspLoggingConfigurationPropertiesOutput) EnabledLogCategories() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NspLoggingConfigurationProperties) []string { return v.EnabledLogCategories }).(pulumi.StringArrayOutput)
+func (o PeerExpressRouteCircuitConnectionResponseArrayOutput) Index(i pulumi.IntInput) PeerExpressRouteCircuitConnectionResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PeerExpressRouteCircuitConnectionResponse {
+ return vs[0].([]PeerExpressRouteCircuitConnectionResponse)[vs[1].(int)]
+ }).(PeerExpressRouteCircuitConnectionResponseOutput)
}
-// The version of the NSP logging configuration.
-func (o NspLoggingConfigurationPropertiesOutput) Version() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NspLoggingConfigurationProperties) *string { return v.Version }).(pulumi.StringPtrOutput)
+type PerimeterBasedAccessRuleResponse struct {
+ // NSP id in the ARM id format.
+ Id string `pulumi:"id"`
+ // Location of the NSP supplied.
+ Location string `pulumi:"location"`
+ // Resource guid of the NSP supplied.
+ PerimeterGuid string `pulumi:"perimeterGuid"`
}
-type NspLoggingConfigurationPropertiesPtrOutput struct{ *pulumi.OutputState }
+type PerimeterBasedAccessRuleResponseOutput struct{ *pulumi.OutputState }
-func (NspLoggingConfigurationPropertiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**NspLoggingConfigurationProperties)(nil)).Elem()
+func (PerimeterBasedAccessRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PerimeterBasedAccessRuleResponse)(nil)).Elem()
}
-func (o NspLoggingConfigurationPropertiesPtrOutput) ToNspLoggingConfigurationPropertiesPtrOutput() NspLoggingConfigurationPropertiesPtrOutput {
+func (o PerimeterBasedAccessRuleResponseOutput) ToPerimeterBasedAccessRuleResponseOutput() PerimeterBasedAccessRuleResponseOutput {
return o
}
-func (o NspLoggingConfigurationPropertiesPtrOutput) ToNspLoggingConfigurationPropertiesPtrOutputWithContext(ctx context.Context) NspLoggingConfigurationPropertiesPtrOutput {
+func (o PerimeterBasedAccessRuleResponseOutput) ToPerimeterBasedAccessRuleResponseOutputWithContext(ctx context.Context) PerimeterBasedAccessRuleResponseOutput {
return o
}
-func (o NspLoggingConfigurationPropertiesPtrOutput) Elem() NspLoggingConfigurationPropertiesOutput {
- return o.ApplyT(func(v *NspLoggingConfigurationProperties) NspLoggingConfigurationProperties {
- if v != nil {
- return *v
- }
- var ret NspLoggingConfigurationProperties
- return ret
- }).(NspLoggingConfigurationPropertiesOutput)
-}
-
-// The log categories to enable in the NSP logging configuration.
-func (o NspLoggingConfigurationPropertiesPtrOutput) EnabledLogCategories() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *NspLoggingConfigurationProperties) []string {
- if v == nil {
- return nil
- }
- return v.EnabledLogCategories
- }).(pulumi.StringArrayOutput)
+// NSP id in the ARM id format.
+func (o PerimeterBasedAccessRuleResponseOutput) Id() pulumi.StringOutput {
+ return o.ApplyT(func(v PerimeterBasedAccessRuleResponse) string { return v.Id }).(pulumi.StringOutput)
}
-// The version of the NSP logging configuration.
-func (o NspLoggingConfigurationPropertiesPtrOutput) Version() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *NspLoggingConfigurationProperties) *string {
- if v == nil {
- return nil
- }
- return v.Version
- }).(pulumi.StringPtrOutput)
+// Location of the NSP supplied.
+func (o PerimeterBasedAccessRuleResponseOutput) Location() pulumi.StringOutput {
+ return o.ApplyT(func(v PerimeterBasedAccessRuleResponse) string { return v.Location }).(pulumi.StringOutput)
}
-// The NSP logging configuration properties.
-type NspLoggingConfigurationPropertiesResponse struct {
- // The log categories to enable in the NSP logging configuration.
- EnabledLogCategories []string `pulumi:"enabledLogCategories"`
- // The version of the NSP logging configuration.
- Version *string `pulumi:"version"`
+// Resource guid of the NSP supplied.
+func (o PerimeterBasedAccessRuleResponseOutput) PerimeterGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v PerimeterBasedAccessRuleResponse) string { return v.PerimeterGuid }).(pulumi.StringOutput)
}
-// The NSP logging configuration properties.
-type NspLoggingConfigurationPropertiesResponseOutput struct{ *pulumi.OutputState }
+type PerimeterBasedAccessRuleResponseArrayOutput struct{ *pulumi.OutputState }
-func (NspLoggingConfigurationPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*NspLoggingConfigurationPropertiesResponse)(nil)).Elem()
+func (PerimeterBasedAccessRuleResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PerimeterBasedAccessRuleResponse)(nil)).Elem()
}
-func (o NspLoggingConfigurationPropertiesResponseOutput) ToNspLoggingConfigurationPropertiesResponseOutput() NspLoggingConfigurationPropertiesResponseOutput {
+func (o PerimeterBasedAccessRuleResponseArrayOutput) ToPerimeterBasedAccessRuleResponseArrayOutput() PerimeterBasedAccessRuleResponseArrayOutput {
return o
}
-func (o NspLoggingConfigurationPropertiesResponseOutput) ToNspLoggingConfigurationPropertiesResponseOutputWithContext(ctx context.Context) NspLoggingConfigurationPropertiesResponseOutput {
+func (o PerimeterBasedAccessRuleResponseArrayOutput) ToPerimeterBasedAccessRuleResponseArrayOutputWithContext(ctx context.Context) PerimeterBasedAccessRuleResponseArrayOutput {
return o
}
-// The log categories to enable in the NSP logging configuration.
-func (o NspLoggingConfigurationPropertiesResponseOutput) EnabledLogCategories() pulumi.StringArrayOutput {
- return o.ApplyT(func(v NspLoggingConfigurationPropertiesResponse) []string { return v.EnabledLogCategories }).(pulumi.StringArrayOutput)
+func (o PerimeterBasedAccessRuleResponseArrayOutput) Index(i pulumi.IntInput) PerimeterBasedAccessRuleResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PerimeterBasedAccessRuleResponse {
+ return vs[0].([]PerimeterBasedAccessRuleResponse)[vs[1].(int)]
+ }).(PerimeterBasedAccessRuleResponseOutput)
}
-// The version of the NSP logging configuration.
-func (o NspLoggingConfigurationPropertiesResponseOutput) Version() pulumi.StringPtrOutput {
- return o.ApplyT(func(v NspLoggingConfigurationPropertiesResponse) *string { return v.Version }).(pulumi.StringPtrOutput)
+// Defines contents of a web application firewall global configuration.
+type PolicySettings struct {
+ // If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
+ CustomBlockResponseBody *string `pulumi:"customBlockResponseBody"`
+ // If the action type is block, customer can override the response status code.
+ CustomBlockResponseStatusCode *int `pulumi:"customBlockResponseStatusCode"`
+ // Whether allow WAF to enforce file upload limits.
+ FileUploadEnforcement *bool `pulumi:"fileUploadEnforcement"`
+ // Maximum file upload size in Mb for WAF.
+ FileUploadLimitInMb *int `pulumi:"fileUploadLimitInMb"`
+ // Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.
+ JsChallengeCookieExpirationInMins *int `pulumi:"jsChallengeCookieExpirationInMins"`
+ // To scrub sensitive log fields
+ LogScrubbing *PolicySettingsLogScrubbing `pulumi:"logScrubbing"`
+ // Maximum request body size in Kb for WAF.
+ MaxRequestBodySizeInKb *int `pulumi:"maxRequestBodySizeInKb"`
+ // The mode of the policy.
+ Mode *string `pulumi:"mode"`
+ // Whether to allow WAF to check request Body.
+ RequestBodyCheck *bool `pulumi:"requestBodyCheck"`
+ // Whether allow WAF to enforce request body limits.
+ RequestBodyEnforcement *bool `pulumi:"requestBodyEnforcement"`
+ // Max inspection limit in KB for request body inspection for WAF.
+ RequestBodyInspectLimitInKB *int `pulumi:"requestBodyInspectLimitInKB"`
+ // The state of the policy.
+ State *string `pulumi:"state"`
}
-// Office365 breakout categories.
-type O365BreakOutCategoryPolicies struct {
- // Flag to control allow category.
- Allow *bool `pulumi:"allow"`
- // Flag to control default category.
- Default *bool `pulumi:"default"`
- // Flag to control optimize category.
- Optimize *bool `pulumi:"optimize"`
+// Defaults sets the appropriate defaults for PolicySettings
+func (val *PolicySettings) Defaults() *PolicySettings {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.FileUploadEnforcement == nil {
+ fileUploadEnforcement_ := true
+ tmp.FileUploadEnforcement = &fileUploadEnforcement_
+ }
+ if tmp.RequestBodyEnforcement == nil {
+ requestBodyEnforcement_ := true
+ tmp.RequestBodyEnforcement = &requestBodyEnforcement_
+ }
+ return &tmp
}
-// O365BreakOutCategoryPoliciesInput is an input type that accepts O365BreakOutCategoryPoliciesArgs and O365BreakOutCategoryPoliciesOutput values.
-// You can construct a concrete instance of `O365BreakOutCategoryPoliciesInput` via:
+// PolicySettingsInput is an input type that accepts PolicySettingsArgs and PolicySettingsOutput values.
+// You can construct a concrete instance of `PolicySettingsInput` via:
//
-// O365BreakOutCategoryPoliciesArgs{...}
-type O365BreakOutCategoryPoliciesInput interface {
+// PolicySettingsArgs{...}
+type PolicySettingsInput interface {
pulumi.Input
- ToO365BreakOutCategoryPoliciesOutput() O365BreakOutCategoryPoliciesOutput
- ToO365BreakOutCategoryPoliciesOutputWithContext(context.Context) O365BreakOutCategoryPoliciesOutput
+ ToPolicySettingsOutput() PolicySettingsOutput
+ ToPolicySettingsOutputWithContext(context.Context) PolicySettingsOutput
}
-// Office365 breakout categories.
-type O365BreakOutCategoryPoliciesArgs struct {
- // Flag to control allow category.
- Allow pulumi.BoolPtrInput `pulumi:"allow"`
- // Flag to control default category.
- Default pulumi.BoolPtrInput `pulumi:"default"`
- // Flag to control optimize category.
- Optimize pulumi.BoolPtrInput `pulumi:"optimize"`
+// Defines contents of a web application firewall global configuration.
+type PolicySettingsArgs struct {
+ // If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
+ CustomBlockResponseBody pulumi.StringPtrInput `pulumi:"customBlockResponseBody"`
+ // If the action type is block, customer can override the response status code.
+ CustomBlockResponseStatusCode pulumi.IntPtrInput `pulumi:"customBlockResponseStatusCode"`
+ // Whether allow WAF to enforce file upload limits.
+ FileUploadEnforcement pulumi.BoolPtrInput `pulumi:"fileUploadEnforcement"`
+ // Maximum file upload size in Mb for WAF.
+ FileUploadLimitInMb pulumi.IntPtrInput `pulumi:"fileUploadLimitInMb"`
+ // Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.
+ JsChallengeCookieExpirationInMins pulumi.IntPtrInput `pulumi:"jsChallengeCookieExpirationInMins"`
+ // To scrub sensitive log fields
+ LogScrubbing PolicySettingsLogScrubbingPtrInput `pulumi:"logScrubbing"`
+ // Maximum request body size in Kb for WAF.
+ MaxRequestBodySizeInKb pulumi.IntPtrInput `pulumi:"maxRequestBodySizeInKb"`
+ // The mode of the policy.
+ Mode pulumi.StringPtrInput `pulumi:"mode"`
+ // Whether to allow WAF to check request Body.
+ RequestBodyCheck pulumi.BoolPtrInput `pulumi:"requestBodyCheck"`
+ // Whether allow WAF to enforce request body limits.
+ RequestBodyEnforcement pulumi.BoolPtrInput `pulumi:"requestBodyEnforcement"`
+ // Max inspection limit in KB for request body inspection for WAF.
+ RequestBodyInspectLimitInKB pulumi.IntPtrInput `pulumi:"requestBodyInspectLimitInKB"`
+ // The state of the policy.
+ State pulumi.StringPtrInput `pulumi:"state"`
}
-func (O365BreakOutCategoryPoliciesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*O365BreakOutCategoryPolicies)(nil)).Elem()
+// Defaults sets the appropriate defaults for PolicySettingsArgs
+func (val *PolicySettingsArgs) Defaults() *PolicySettingsArgs {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.FileUploadEnforcement == nil {
+ tmp.FileUploadEnforcement = pulumi.BoolPtr(true)
+ }
+ if tmp.RequestBodyEnforcement == nil {
+ tmp.RequestBodyEnforcement = pulumi.BoolPtr(true)
+ }
+ return &tmp
+}
+func (PolicySettingsArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PolicySettings)(nil)).Elem()
}
-func (i O365BreakOutCategoryPoliciesArgs) ToO365BreakOutCategoryPoliciesOutput() O365BreakOutCategoryPoliciesOutput {
- return i.ToO365BreakOutCategoryPoliciesOutputWithContext(context.Background())
+func (i PolicySettingsArgs) ToPolicySettingsOutput() PolicySettingsOutput {
+ return i.ToPolicySettingsOutputWithContext(context.Background())
}
-func (i O365BreakOutCategoryPoliciesArgs) ToO365BreakOutCategoryPoliciesOutputWithContext(ctx context.Context) O365BreakOutCategoryPoliciesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(O365BreakOutCategoryPoliciesOutput)
+func (i PolicySettingsArgs) ToPolicySettingsOutputWithContext(ctx context.Context) PolicySettingsOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PolicySettingsOutput)
}
-func (i O365BreakOutCategoryPoliciesArgs) ToO365BreakOutCategoryPoliciesPtrOutput() O365BreakOutCategoryPoliciesPtrOutput {
- return i.ToO365BreakOutCategoryPoliciesPtrOutputWithContext(context.Background())
+func (i PolicySettingsArgs) ToPolicySettingsPtrOutput() PolicySettingsPtrOutput {
+ return i.ToPolicySettingsPtrOutputWithContext(context.Background())
}
-func (i O365BreakOutCategoryPoliciesArgs) ToO365BreakOutCategoryPoliciesPtrOutputWithContext(ctx context.Context) O365BreakOutCategoryPoliciesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(O365BreakOutCategoryPoliciesOutput).ToO365BreakOutCategoryPoliciesPtrOutputWithContext(ctx)
+func (i PolicySettingsArgs) ToPolicySettingsPtrOutputWithContext(ctx context.Context) PolicySettingsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PolicySettingsOutput).ToPolicySettingsPtrOutputWithContext(ctx)
}
-// O365BreakOutCategoryPoliciesPtrInput is an input type that accepts O365BreakOutCategoryPoliciesArgs, O365BreakOutCategoryPoliciesPtr and O365BreakOutCategoryPoliciesPtrOutput values.
-// You can construct a concrete instance of `O365BreakOutCategoryPoliciesPtrInput` via:
+// PolicySettingsPtrInput is an input type that accepts PolicySettingsArgs, PolicySettingsPtr and PolicySettingsPtrOutput values.
+// You can construct a concrete instance of `PolicySettingsPtrInput` via:
//
-// O365BreakOutCategoryPoliciesArgs{...}
+// PolicySettingsArgs{...}
//
// or:
//
// nil
-type O365BreakOutCategoryPoliciesPtrInput interface {
+type PolicySettingsPtrInput interface {
pulumi.Input
- ToO365BreakOutCategoryPoliciesPtrOutput() O365BreakOutCategoryPoliciesPtrOutput
- ToO365BreakOutCategoryPoliciesPtrOutputWithContext(context.Context) O365BreakOutCategoryPoliciesPtrOutput
+ ToPolicySettingsPtrOutput() PolicySettingsPtrOutput
+ ToPolicySettingsPtrOutputWithContext(context.Context) PolicySettingsPtrOutput
}
-type o365breakOutCategoryPoliciesPtrType O365BreakOutCategoryPoliciesArgs
+type policySettingsPtrType PolicySettingsArgs
-func O365BreakOutCategoryPoliciesPtr(v *O365BreakOutCategoryPoliciesArgs) O365BreakOutCategoryPoliciesPtrInput {
- return (*o365breakOutCategoryPoliciesPtrType)(v)
+func PolicySettingsPtr(v *PolicySettingsArgs) PolicySettingsPtrInput {
+ return (*policySettingsPtrType)(v)
}
-func (*o365breakOutCategoryPoliciesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**O365BreakOutCategoryPolicies)(nil)).Elem()
+func (*policySettingsPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**PolicySettings)(nil)).Elem()
}
-func (i *o365breakOutCategoryPoliciesPtrType) ToO365BreakOutCategoryPoliciesPtrOutput() O365BreakOutCategoryPoliciesPtrOutput {
- return i.ToO365BreakOutCategoryPoliciesPtrOutputWithContext(context.Background())
+func (i *policySettingsPtrType) ToPolicySettingsPtrOutput() PolicySettingsPtrOutput {
+ return i.ToPolicySettingsPtrOutputWithContext(context.Background())
}
-func (i *o365breakOutCategoryPoliciesPtrType) ToO365BreakOutCategoryPoliciesPtrOutputWithContext(ctx context.Context) O365BreakOutCategoryPoliciesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(O365BreakOutCategoryPoliciesPtrOutput)
+func (i *policySettingsPtrType) ToPolicySettingsPtrOutputWithContext(ctx context.Context) PolicySettingsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PolicySettingsPtrOutput)
}
-// Office365 breakout categories.
-type O365BreakOutCategoryPoliciesOutput struct{ *pulumi.OutputState }
+// Defines contents of a web application firewall global configuration.
+type PolicySettingsOutput struct{ *pulumi.OutputState }
-func (O365BreakOutCategoryPoliciesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*O365BreakOutCategoryPolicies)(nil)).Elem()
+func (PolicySettingsOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PolicySettings)(nil)).Elem()
}
-func (o O365BreakOutCategoryPoliciesOutput) ToO365BreakOutCategoryPoliciesOutput() O365BreakOutCategoryPoliciesOutput {
+func (o PolicySettingsOutput) ToPolicySettingsOutput() PolicySettingsOutput {
return o
}
-func (o O365BreakOutCategoryPoliciesOutput) ToO365BreakOutCategoryPoliciesOutputWithContext(ctx context.Context) O365BreakOutCategoryPoliciesOutput {
+func (o PolicySettingsOutput) ToPolicySettingsOutputWithContext(ctx context.Context) PolicySettingsOutput {
return o
}
-func (o O365BreakOutCategoryPoliciesOutput) ToO365BreakOutCategoryPoliciesPtrOutput() O365BreakOutCategoryPoliciesPtrOutput {
- return o.ToO365BreakOutCategoryPoliciesPtrOutputWithContext(context.Background())
+func (o PolicySettingsOutput) ToPolicySettingsPtrOutput() PolicySettingsPtrOutput {
+ return o.ToPolicySettingsPtrOutputWithContext(context.Background())
}
-func (o O365BreakOutCategoryPoliciesOutput) ToO365BreakOutCategoryPoliciesPtrOutputWithContext(ctx context.Context) O365BreakOutCategoryPoliciesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v O365BreakOutCategoryPolicies) *O365BreakOutCategoryPolicies {
+func (o PolicySettingsOutput) ToPolicySettingsPtrOutputWithContext(ctx context.Context) PolicySettingsPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v PolicySettings) *PolicySettings {
return &v
- }).(O365BreakOutCategoryPoliciesPtrOutput)
+ }).(PolicySettingsPtrOutput)
+}
+
+// If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
+func (o PolicySettingsOutput) CustomBlockResponseBody() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PolicySettings) *string { return v.CustomBlockResponseBody }).(pulumi.StringPtrOutput)
+}
+
+// If the action type is block, customer can override the response status code.
+func (o PolicySettingsOutput) CustomBlockResponseStatusCode() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PolicySettings) *int { return v.CustomBlockResponseStatusCode }).(pulumi.IntPtrOutput)
+}
+
+// Whether allow WAF to enforce file upload limits.
+func (o PolicySettingsOutput) FileUploadEnforcement() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v PolicySettings) *bool { return v.FileUploadEnforcement }).(pulumi.BoolPtrOutput)
+}
+
+// Maximum file upload size in Mb for WAF.
+func (o PolicySettingsOutput) FileUploadLimitInMb() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PolicySettings) *int { return v.FileUploadLimitInMb }).(pulumi.IntPtrOutput)
+}
+
+// Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.
+func (o PolicySettingsOutput) JsChallengeCookieExpirationInMins() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PolicySettings) *int { return v.JsChallengeCookieExpirationInMins }).(pulumi.IntPtrOutput)
}
-// Flag to control allow category.
-func (o O365BreakOutCategoryPoliciesOutput) Allow() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v O365BreakOutCategoryPolicies) *bool { return v.Allow }).(pulumi.BoolPtrOutput)
+// To scrub sensitive log fields
+func (o PolicySettingsOutput) LogScrubbing() PolicySettingsLogScrubbingPtrOutput {
+ return o.ApplyT(func(v PolicySettings) *PolicySettingsLogScrubbing { return v.LogScrubbing }).(PolicySettingsLogScrubbingPtrOutput)
+}
+
+// Maximum request body size in Kb for WAF.
+func (o PolicySettingsOutput) MaxRequestBodySizeInKb() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PolicySettings) *int { return v.MaxRequestBodySizeInKb }).(pulumi.IntPtrOutput)
+}
+
+// The mode of the policy.
+func (o PolicySettingsOutput) Mode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PolicySettings) *string { return v.Mode }).(pulumi.StringPtrOutput)
+}
+
+// Whether to allow WAF to check request Body.
+func (o PolicySettingsOutput) RequestBodyCheck() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v PolicySettings) *bool { return v.RequestBodyCheck }).(pulumi.BoolPtrOutput)
+}
+
+// Whether allow WAF to enforce request body limits.
+func (o PolicySettingsOutput) RequestBodyEnforcement() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v PolicySettings) *bool { return v.RequestBodyEnforcement }).(pulumi.BoolPtrOutput)
}
-// Flag to control default category.
-func (o O365BreakOutCategoryPoliciesOutput) Default() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v O365BreakOutCategoryPolicies) *bool { return v.Default }).(pulumi.BoolPtrOutput)
+// Max inspection limit in KB for request body inspection for WAF.
+func (o PolicySettingsOutput) RequestBodyInspectLimitInKB() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PolicySettings) *int { return v.RequestBodyInspectLimitInKB }).(pulumi.IntPtrOutput)
}
-// Flag to control optimize category.
-func (o O365BreakOutCategoryPoliciesOutput) Optimize() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v O365BreakOutCategoryPolicies) *bool { return v.Optimize }).(pulumi.BoolPtrOutput)
+// The state of the policy.
+func (o PolicySettingsOutput) State() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PolicySettings) *string { return v.State }).(pulumi.StringPtrOutput)
}
-type O365BreakOutCategoryPoliciesPtrOutput struct{ *pulumi.OutputState }
+type PolicySettingsPtrOutput struct{ *pulumi.OutputState }
-func (O365BreakOutCategoryPoliciesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**O365BreakOutCategoryPolicies)(nil)).Elem()
+func (PolicySettingsPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PolicySettings)(nil)).Elem()
}
-func (o O365BreakOutCategoryPoliciesPtrOutput) ToO365BreakOutCategoryPoliciesPtrOutput() O365BreakOutCategoryPoliciesPtrOutput {
+func (o PolicySettingsPtrOutput) ToPolicySettingsPtrOutput() PolicySettingsPtrOutput {
return o
}
-func (o O365BreakOutCategoryPoliciesPtrOutput) ToO365BreakOutCategoryPoliciesPtrOutputWithContext(ctx context.Context) O365BreakOutCategoryPoliciesPtrOutput {
+func (o PolicySettingsPtrOutput) ToPolicySettingsPtrOutputWithContext(ctx context.Context) PolicySettingsPtrOutput {
return o
}
-func (o O365BreakOutCategoryPoliciesPtrOutput) Elem() O365BreakOutCategoryPoliciesOutput {
- return o.ApplyT(func(v *O365BreakOutCategoryPolicies) O365BreakOutCategoryPolicies {
+func (o PolicySettingsPtrOutput) Elem() PolicySettingsOutput {
+ return o.ApplyT(func(v *PolicySettings) PolicySettings {
if v != nil {
return *v
}
- var ret O365BreakOutCategoryPolicies
+ var ret PolicySettings
return ret
- }).(O365BreakOutCategoryPoliciesOutput)
+ }).(PolicySettingsOutput)
}
-// Flag to control allow category.
-func (o O365BreakOutCategoryPoliciesPtrOutput) Allow() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *O365BreakOutCategoryPolicies) *bool {
+// If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
+func (o PolicySettingsPtrOutput) CustomBlockResponseBody() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PolicySettings) *string {
if v == nil {
return nil
}
- return v.Allow
- }).(pulumi.BoolPtrOutput)
+ return v.CustomBlockResponseBody
+ }).(pulumi.StringPtrOutput)
}
-// Flag to control default category.
-func (o O365BreakOutCategoryPoliciesPtrOutput) Default() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *O365BreakOutCategoryPolicies) *bool {
+// If the action type is block, customer can override the response status code.
+func (o PolicySettingsPtrOutput) CustomBlockResponseStatusCode() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PolicySettings) *int {
if v == nil {
return nil
}
- return v.Default
- }).(pulumi.BoolPtrOutput)
+ return v.CustomBlockResponseStatusCode
+ }).(pulumi.IntPtrOutput)
}
-// Flag to control optimize category.
-func (o O365BreakOutCategoryPoliciesPtrOutput) Optimize() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *O365BreakOutCategoryPolicies) *bool {
+// Whether allow WAF to enforce file upload limits.
+func (o PolicySettingsPtrOutput) FileUploadEnforcement() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *PolicySettings) *bool {
if v == nil {
return nil
}
- return v.Optimize
+ return v.FileUploadEnforcement
}).(pulumi.BoolPtrOutput)
}
-// Office365 breakout categories.
-type O365BreakOutCategoryPoliciesResponse struct {
- // Flag to control allow category.
- Allow *bool `pulumi:"allow"`
- // Flag to control default category.
- Default *bool `pulumi:"default"`
- // Flag to control optimize category.
- Optimize *bool `pulumi:"optimize"`
-}
-
-// Office365 breakout categories.
-type O365BreakOutCategoryPoliciesResponseOutput struct{ *pulumi.OutputState }
-
-func (O365BreakOutCategoryPoliciesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*O365BreakOutCategoryPoliciesResponse)(nil)).Elem()
-}
-
-func (o O365BreakOutCategoryPoliciesResponseOutput) ToO365BreakOutCategoryPoliciesResponseOutput() O365BreakOutCategoryPoliciesResponseOutput {
- return o
-}
-
-func (o O365BreakOutCategoryPoliciesResponseOutput) ToO365BreakOutCategoryPoliciesResponseOutputWithContext(ctx context.Context) O365BreakOutCategoryPoliciesResponseOutput {
- return o
-}
-
-// Flag to control allow category.
-func (o O365BreakOutCategoryPoliciesResponseOutput) Allow() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v O365BreakOutCategoryPoliciesResponse) *bool { return v.Allow }).(pulumi.BoolPtrOutput)
-}
-
-// Flag to control default category.
-func (o O365BreakOutCategoryPoliciesResponseOutput) Default() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v O365BreakOutCategoryPoliciesResponse) *bool { return v.Default }).(pulumi.BoolPtrOutput)
+// Maximum file upload size in Mb for WAF.
+func (o PolicySettingsPtrOutput) FileUploadLimitInMb() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PolicySettings) *int {
+ if v == nil {
+ return nil
+ }
+ return v.FileUploadLimitInMb
+ }).(pulumi.IntPtrOutput)
}
-// Flag to control optimize category.
-func (o O365BreakOutCategoryPoliciesResponseOutput) Optimize() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v O365BreakOutCategoryPoliciesResponse) *bool { return v.Optimize }).(pulumi.BoolPtrOutput)
+// Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.
+func (o PolicySettingsPtrOutput) JsChallengeCookieExpirationInMins() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PolicySettings) *int {
+ if v == nil {
+ return nil
+ }
+ return v.JsChallengeCookieExpirationInMins
+ }).(pulumi.IntPtrOutput)
}
-type O365BreakOutCategoryPoliciesResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (O365BreakOutCategoryPoliciesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**O365BreakOutCategoryPoliciesResponse)(nil)).Elem()
+// To scrub sensitive log fields
+func (o PolicySettingsPtrOutput) LogScrubbing() PolicySettingsLogScrubbingPtrOutput {
+ return o.ApplyT(func(v *PolicySettings) *PolicySettingsLogScrubbing {
+ if v == nil {
+ return nil
+ }
+ return v.LogScrubbing
+ }).(PolicySettingsLogScrubbingPtrOutput)
}
-func (o O365BreakOutCategoryPoliciesResponsePtrOutput) ToO365BreakOutCategoryPoliciesResponsePtrOutput() O365BreakOutCategoryPoliciesResponsePtrOutput {
- return o
+// Maximum request body size in Kb for WAF.
+func (o PolicySettingsPtrOutput) MaxRequestBodySizeInKb() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PolicySettings) *int {
+ if v == nil {
+ return nil
+ }
+ return v.MaxRequestBodySizeInKb
+ }).(pulumi.IntPtrOutput)
}
-func (o O365BreakOutCategoryPoliciesResponsePtrOutput) ToO365BreakOutCategoryPoliciesResponsePtrOutputWithContext(ctx context.Context) O365BreakOutCategoryPoliciesResponsePtrOutput {
- return o
+// The mode of the policy.
+func (o PolicySettingsPtrOutput) Mode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PolicySettings) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Mode
+ }).(pulumi.StringPtrOutput)
}
-func (o O365BreakOutCategoryPoliciesResponsePtrOutput) Elem() O365BreakOutCategoryPoliciesResponseOutput {
- return o.ApplyT(func(v *O365BreakOutCategoryPoliciesResponse) O365BreakOutCategoryPoliciesResponse {
- if v != nil {
- return *v
+// Whether to allow WAF to check request Body.
+func (o PolicySettingsPtrOutput) RequestBodyCheck() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *PolicySettings) *bool {
+ if v == nil {
+ return nil
}
- var ret O365BreakOutCategoryPoliciesResponse
- return ret
- }).(O365BreakOutCategoryPoliciesResponseOutput)
+ return v.RequestBodyCheck
+ }).(pulumi.BoolPtrOutput)
}
-// Flag to control allow category.
-func (o O365BreakOutCategoryPoliciesResponsePtrOutput) Allow() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *O365BreakOutCategoryPoliciesResponse) *bool {
+// Whether allow WAF to enforce request body limits.
+func (o PolicySettingsPtrOutput) RequestBodyEnforcement() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *PolicySettings) *bool {
if v == nil {
return nil
}
- return v.Allow
+ return v.RequestBodyEnforcement
}).(pulumi.BoolPtrOutput)
}
-// Flag to control default category.
-func (o O365BreakOutCategoryPoliciesResponsePtrOutput) Default() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *O365BreakOutCategoryPoliciesResponse) *bool {
+// Max inspection limit in KB for request body inspection for WAF.
+func (o PolicySettingsPtrOutput) RequestBodyInspectLimitInKB() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PolicySettings) *int {
if v == nil {
return nil
}
- return v.Default
- }).(pulumi.BoolPtrOutput)
+ return v.RequestBodyInspectLimitInKB
+ }).(pulumi.IntPtrOutput)
}
-// Flag to control optimize category.
-func (o O365BreakOutCategoryPoliciesResponsePtrOutput) Optimize() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *O365BreakOutCategoryPoliciesResponse) *bool {
+// The state of the policy.
+func (o PolicySettingsPtrOutput) State() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PolicySettings) *string {
if v == nil {
return nil
}
- return v.Optimize
- }).(pulumi.BoolPtrOutput)
+ return v.State
+ }).(pulumi.StringPtrOutput)
}
-// The Office365 breakout policy.
-type O365PolicyProperties struct {
- // Office365 breakout categories.
- BreakOutCategories *O365BreakOutCategoryPolicies `pulumi:"breakOutCategories"`
+// To scrub sensitive log fields
+type PolicySettingsLogScrubbing struct {
+ // The rules that are applied to the logs for scrubbing.
+ ScrubbingRules []WebApplicationFirewallScrubbingRules `pulumi:"scrubbingRules"`
+ // State of the log scrubbing config. Default value is Enabled.
+ State *string `pulumi:"state"`
}
-// O365PolicyPropertiesInput is an input type that accepts O365PolicyPropertiesArgs and O365PolicyPropertiesOutput values.
-// You can construct a concrete instance of `O365PolicyPropertiesInput` via:
+// PolicySettingsLogScrubbingInput is an input type that accepts PolicySettingsLogScrubbingArgs and PolicySettingsLogScrubbingOutput values.
+// You can construct a concrete instance of `PolicySettingsLogScrubbingInput` via:
//
-// O365PolicyPropertiesArgs{...}
-type O365PolicyPropertiesInput interface {
+// PolicySettingsLogScrubbingArgs{...}
+type PolicySettingsLogScrubbingInput interface {
pulumi.Input
- ToO365PolicyPropertiesOutput() O365PolicyPropertiesOutput
- ToO365PolicyPropertiesOutputWithContext(context.Context) O365PolicyPropertiesOutput
+ ToPolicySettingsLogScrubbingOutput() PolicySettingsLogScrubbingOutput
+ ToPolicySettingsLogScrubbingOutputWithContext(context.Context) PolicySettingsLogScrubbingOutput
}
-// The Office365 breakout policy.
-type O365PolicyPropertiesArgs struct {
- // Office365 breakout categories.
- BreakOutCategories O365BreakOutCategoryPoliciesPtrInput `pulumi:"breakOutCategories"`
+// To scrub sensitive log fields
+type PolicySettingsLogScrubbingArgs struct {
+ // The rules that are applied to the logs for scrubbing.
+ ScrubbingRules WebApplicationFirewallScrubbingRulesArrayInput `pulumi:"scrubbingRules"`
+ // State of the log scrubbing config. Default value is Enabled.
+ State pulumi.StringPtrInput `pulumi:"state"`
}
-func (O365PolicyPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*O365PolicyProperties)(nil)).Elem()
+func (PolicySettingsLogScrubbingArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PolicySettingsLogScrubbing)(nil)).Elem()
}
-func (i O365PolicyPropertiesArgs) ToO365PolicyPropertiesOutput() O365PolicyPropertiesOutput {
- return i.ToO365PolicyPropertiesOutputWithContext(context.Background())
+func (i PolicySettingsLogScrubbingArgs) ToPolicySettingsLogScrubbingOutput() PolicySettingsLogScrubbingOutput {
+ return i.ToPolicySettingsLogScrubbingOutputWithContext(context.Background())
}
-func (i O365PolicyPropertiesArgs) ToO365PolicyPropertiesOutputWithContext(ctx context.Context) O365PolicyPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(O365PolicyPropertiesOutput)
+func (i PolicySettingsLogScrubbingArgs) ToPolicySettingsLogScrubbingOutputWithContext(ctx context.Context) PolicySettingsLogScrubbingOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PolicySettingsLogScrubbingOutput)
}
-func (i O365PolicyPropertiesArgs) ToO365PolicyPropertiesPtrOutput() O365PolicyPropertiesPtrOutput {
- return i.ToO365PolicyPropertiesPtrOutputWithContext(context.Background())
+func (i PolicySettingsLogScrubbingArgs) ToPolicySettingsLogScrubbingPtrOutput() PolicySettingsLogScrubbingPtrOutput {
+ return i.ToPolicySettingsLogScrubbingPtrOutputWithContext(context.Background())
}
-func (i O365PolicyPropertiesArgs) ToO365PolicyPropertiesPtrOutputWithContext(ctx context.Context) O365PolicyPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(O365PolicyPropertiesOutput).ToO365PolicyPropertiesPtrOutputWithContext(ctx)
+func (i PolicySettingsLogScrubbingArgs) ToPolicySettingsLogScrubbingPtrOutputWithContext(ctx context.Context) PolicySettingsLogScrubbingPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PolicySettingsLogScrubbingOutput).ToPolicySettingsLogScrubbingPtrOutputWithContext(ctx)
}
-// O365PolicyPropertiesPtrInput is an input type that accepts O365PolicyPropertiesArgs, O365PolicyPropertiesPtr and O365PolicyPropertiesPtrOutput values.
-// You can construct a concrete instance of `O365PolicyPropertiesPtrInput` via:
+// PolicySettingsLogScrubbingPtrInput is an input type that accepts PolicySettingsLogScrubbingArgs, PolicySettingsLogScrubbingPtr and PolicySettingsLogScrubbingPtrOutput values.
+// You can construct a concrete instance of `PolicySettingsLogScrubbingPtrInput` via:
//
-// O365PolicyPropertiesArgs{...}
+// PolicySettingsLogScrubbingArgs{...}
//
// or:
//
// nil
-type O365PolicyPropertiesPtrInput interface {
+type PolicySettingsLogScrubbingPtrInput interface {
pulumi.Input
- ToO365PolicyPropertiesPtrOutput() O365PolicyPropertiesPtrOutput
- ToO365PolicyPropertiesPtrOutputWithContext(context.Context) O365PolicyPropertiesPtrOutput
+ ToPolicySettingsLogScrubbingPtrOutput() PolicySettingsLogScrubbingPtrOutput
+ ToPolicySettingsLogScrubbingPtrOutputWithContext(context.Context) PolicySettingsLogScrubbingPtrOutput
}
-type o365policyPropertiesPtrType O365PolicyPropertiesArgs
+type policySettingsLogScrubbingPtrType PolicySettingsLogScrubbingArgs
-func O365PolicyPropertiesPtr(v *O365PolicyPropertiesArgs) O365PolicyPropertiesPtrInput {
- return (*o365policyPropertiesPtrType)(v)
+func PolicySettingsLogScrubbingPtr(v *PolicySettingsLogScrubbingArgs) PolicySettingsLogScrubbingPtrInput {
+ return (*policySettingsLogScrubbingPtrType)(v)
}
-func (*o365policyPropertiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**O365PolicyProperties)(nil)).Elem()
+func (*policySettingsLogScrubbingPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**PolicySettingsLogScrubbing)(nil)).Elem()
}
-func (i *o365policyPropertiesPtrType) ToO365PolicyPropertiesPtrOutput() O365PolicyPropertiesPtrOutput {
- return i.ToO365PolicyPropertiesPtrOutputWithContext(context.Background())
+func (i *policySettingsLogScrubbingPtrType) ToPolicySettingsLogScrubbingPtrOutput() PolicySettingsLogScrubbingPtrOutput {
+ return i.ToPolicySettingsLogScrubbingPtrOutputWithContext(context.Background())
}
-func (i *o365policyPropertiesPtrType) ToO365PolicyPropertiesPtrOutputWithContext(ctx context.Context) O365PolicyPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(O365PolicyPropertiesPtrOutput)
+func (i *policySettingsLogScrubbingPtrType) ToPolicySettingsLogScrubbingPtrOutputWithContext(ctx context.Context) PolicySettingsLogScrubbingPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PolicySettingsLogScrubbingPtrOutput)
}
-// The Office365 breakout policy.
-type O365PolicyPropertiesOutput struct{ *pulumi.OutputState }
+// To scrub sensitive log fields
+type PolicySettingsLogScrubbingOutput struct{ *pulumi.OutputState }
-func (O365PolicyPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*O365PolicyProperties)(nil)).Elem()
+func (PolicySettingsLogScrubbingOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PolicySettingsLogScrubbing)(nil)).Elem()
}
-func (o O365PolicyPropertiesOutput) ToO365PolicyPropertiesOutput() O365PolicyPropertiesOutput {
+func (o PolicySettingsLogScrubbingOutput) ToPolicySettingsLogScrubbingOutput() PolicySettingsLogScrubbingOutput {
return o
}
-func (o O365PolicyPropertiesOutput) ToO365PolicyPropertiesOutputWithContext(ctx context.Context) O365PolicyPropertiesOutput {
+func (o PolicySettingsLogScrubbingOutput) ToPolicySettingsLogScrubbingOutputWithContext(ctx context.Context) PolicySettingsLogScrubbingOutput {
return o
}
-func (o O365PolicyPropertiesOutput) ToO365PolicyPropertiesPtrOutput() O365PolicyPropertiesPtrOutput {
- return o.ToO365PolicyPropertiesPtrOutputWithContext(context.Background())
+func (o PolicySettingsLogScrubbingOutput) ToPolicySettingsLogScrubbingPtrOutput() PolicySettingsLogScrubbingPtrOutput {
+ return o.ToPolicySettingsLogScrubbingPtrOutputWithContext(context.Background())
}
-func (o O365PolicyPropertiesOutput) ToO365PolicyPropertiesPtrOutputWithContext(ctx context.Context) O365PolicyPropertiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v O365PolicyProperties) *O365PolicyProperties {
+func (o PolicySettingsLogScrubbingOutput) ToPolicySettingsLogScrubbingPtrOutputWithContext(ctx context.Context) PolicySettingsLogScrubbingPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v PolicySettingsLogScrubbing) *PolicySettingsLogScrubbing {
return &v
- }).(O365PolicyPropertiesPtrOutput)
+ }).(PolicySettingsLogScrubbingPtrOutput)
+}
+
+// The rules that are applied to the logs for scrubbing.
+func (o PolicySettingsLogScrubbingOutput) ScrubbingRules() WebApplicationFirewallScrubbingRulesArrayOutput {
+ return o.ApplyT(func(v PolicySettingsLogScrubbing) []WebApplicationFirewallScrubbingRules { return v.ScrubbingRules }).(WebApplicationFirewallScrubbingRulesArrayOutput)
}
-// Office365 breakout categories.
-func (o O365PolicyPropertiesOutput) BreakOutCategories() O365BreakOutCategoryPoliciesPtrOutput {
- return o.ApplyT(func(v O365PolicyProperties) *O365BreakOutCategoryPolicies { return v.BreakOutCategories }).(O365BreakOutCategoryPoliciesPtrOutput)
+// State of the log scrubbing config. Default value is Enabled.
+func (o PolicySettingsLogScrubbingOutput) State() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PolicySettingsLogScrubbing) *string { return v.State }).(pulumi.StringPtrOutput)
}
-type O365PolicyPropertiesPtrOutput struct{ *pulumi.OutputState }
+type PolicySettingsLogScrubbingPtrOutput struct{ *pulumi.OutputState }
-func (O365PolicyPropertiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**O365PolicyProperties)(nil)).Elem()
+func (PolicySettingsLogScrubbingPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PolicySettingsLogScrubbing)(nil)).Elem()
}
-func (o O365PolicyPropertiesPtrOutput) ToO365PolicyPropertiesPtrOutput() O365PolicyPropertiesPtrOutput {
+func (o PolicySettingsLogScrubbingPtrOutput) ToPolicySettingsLogScrubbingPtrOutput() PolicySettingsLogScrubbingPtrOutput {
return o
}
-func (o O365PolicyPropertiesPtrOutput) ToO365PolicyPropertiesPtrOutputWithContext(ctx context.Context) O365PolicyPropertiesPtrOutput {
+func (o PolicySettingsLogScrubbingPtrOutput) ToPolicySettingsLogScrubbingPtrOutputWithContext(ctx context.Context) PolicySettingsLogScrubbingPtrOutput {
return o
}
-func (o O365PolicyPropertiesPtrOutput) Elem() O365PolicyPropertiesOutput {
- return o.ApplyT(func(v *O365PolicyProperties) O365PolicyProperties {
+func (o PolicySettingsLogScrubbingPtrOutput) Elem() PolicySettingsLogScrubbingOutput {
+ return o.ApplyT(func(v *PolicySettingsLogScrubbing) PolicySettingsLogScrubbing {
if v != nil {
return *v
}
- var ret O365PolicyProperties
+ var ret PolicySettingsLogScrubbing
return ret
- }).(O365PolicyPropertiesOutput)
+ }).(PolicySettingsLogScrubbingOutput)
}
-// Office365 breakout categories.
-func (o O365PolicyPropertiesPtrOutput) BreakOutCategories() O365BreakOutCategoryPoliciesPtrOutput {
- return o.ApplyT(func(v *O365PolicyProperties) *O365BreakOutCategoryPolicies {
+// The rules that are applied to the logs for scrubbing.
+func (o PolicySettingsLogScrubbingPtrOutput) ScrubbingRules() WebApplicationFirewallScrubbingRulesArrayOutput {
+ return o.ApplyT(func(v *PolicySettingsLogScrubbing) []WebApplicationFirewallScrubbingRules {
if v == nil {
return nil
}
- return v.BreakOutCategories
- }).(O365BreakOutCategoryPoliciesPtrOutput)
-}
-
-// The Office365 breakout policy.
-type O365PolicyPropertiesResponse struct {
- // Office365 breakout categories.
- BreakOutCategories *O365BreakOutCategoryPoliciesResponse `pulumi:"breakOutCategories"`
-}
-
-// The Office365 breakout policy.
-type O365PolicyPropertiesResponseOutput struct{ *pulumi.OutputState }
-
-func (O365PolicyPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*O365PolicyPropertiesResponse)(nil)).Elem()
-}
-
-func (o O365PolicyPropertiesResponseOutput) ToO365PolicyPropertiesResponseOutput() O365PolicyPropertiesResponseOutput {
- return o
-}
-
-func (o O365PolicyPropertiesResponseOutput) ToO365PolicyPropertiesResponseOutputWithContext(ctx context.Context) O365PolicyPropertiesResponseOutput {
- return o
-}
-
-// Office365 breakout categories.
-func (o O365PolicyPropertiesResponseOutput) BreakOutCategories() O365BreakOutCategoryPoliciesResponsePtrOutput {
- return o.ApplyT(func(v O365PolicyPropertiesResponse) *O365BreakOutCategoryPoliciesResponse {
- return v.BreakOutCategories
- }).(O365BreakOutCategoryPoliciesResponsePtrOutput)
-}
-
-type O365PolicyPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (O365PolicyPropertiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**O365PolicyPropertiesResponse)(nil)).Elem()
-}
-
-func (o O365PolicyPropertiesResponsePtrOutput) ToO365PolicyPropertiesResponsePtrOutput() O365PolicyPropertiesResponsePtrOutput {
- return o
-}
-
-func (o O365PolicyPropertiesResponsePtrOutput) ToO365PolicyPropertiesResponsePtrOutputWithContext(ctx context.Context) O365PolicyPropertiesResponsePtrOutput {
- return o
-}
-
-func (o O365PolicyPropertiesResponsePtrOutput) Elem() O365PolicyPropertiesResponseOutput {
- return o.ApplyT(func(v *O365PolicyPropertiesResponse) O365PolicyPropertiesResponse {
- if v != nil {
- return *v
- }
- var ret O365PolicyPropertiesResponse
- return ret
- }).(O365PolicyPropertiesResponseOutput)
+ return v.ScrubbingRules
+ }).(WebApplicationFirewallScrubbingRulesArrayOutput)
}
-// Office365 breakout categories.
-func (o O365PolicyPropertiesResponsePtrOutput) BreakOutCategories() O365BreakOutCategoryPoliciesResponsePtrOutput {
- return o.ApplyT(func(v *O365PolicyPropertiesResponse) *O365BreakOutCategoryPoliciesResponse {
+// State of the log scrubbing config. Default value is Enabled.
+func (o PolicySettingsLogScrubbingPtrOutput) State() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PolicySettingsLogScrubbing) *string {
if v == nil {
return nil
}
- return v.BreakOutCategories
- }).(O365BreakOutCategoryPoliciesResponsePtrOutput)
-}
-
-// Network Virtual Appliance Sku Properties.
-type Office365PolicyProperties struct {
- // Office 365 breakout categories.
- BreakOutCategories *BreakOutCategoryPolicies `pulumi:"breakOutCategories"`
+ return v.State
+ }).(pulumi.StringPtrOutput)
}
-// Office365PolicyPropertiesInput is an input type that accepts Office365PolicyPropertiesArgs and Office365PolicyPropertiesOutput values.
-// You can construct a concrete instance of `Office365PolicyPropertiesInput` via:
-//
-// Office365PolicyPropertiesArgs{...}
-type Office365PolicyPropertiesInput interface {
- pulumi.Input
-
- ToOffice365PolicyPropertiesOutput() Office365PolicyPropertiesOutput
- ToOffice365PolicyPropertiesOutputWithContext(context.Context) Office365PolicyPropertiesOutput
+// Defines contents of a web application firewall global configuration.
+type PolicySettingsResponse struct {
+ // If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
+ CustomBlockResponseBody *string `pulumi:"customBlockResponseBody"`
+ // If the action type is block, customer can override the response status code.
+ CustomBlockResponseStatusCode *int `pulumi:"customBlockResponseStatusCode"`
+ // Whether allow WAF to enforce file upload limits.
+ FileUploadEnforcement *bool `pulumi:"fileUploadEnforcement"`
+ // Maximum file upload size in Mb for WAF.
+ FileUploadLimitInMb *int `pulumi:"fileUploadLimitInMb"`
+ // Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.
+ JsChallengeCookieExpirationInMins *int `pulumi:"jsChallengeCookieExpirationInMins"`
+ // To scrub sensitive log fields
+ LogScrubbing *PolicySettingsResponseLogScrubbing `pulumi:"logScrubbing"`
+ // Maximum request body size in Kb for WAF.
+ MaxRequestBodySizeInKb *int `pulumi:"maxRequestBodySizeInKb"`
+ // The mode of the policy.
+ Mode *string `pulumi:"mode"`
+ // Whether to allow WAF to check request Body.
+ RequestBodyCheck *bool `pulumi:"requestBodyCheck"`
+ // Whether allow WAF to enforce request body limits.
+ RequestBodyEnforcement *bool `pulumi:"requestBodyEnforcement"`
+ // Max inspection limit in KB for request body inspection for WAF.
+ RequestBodyInspectLimitInKB *int `pulumi:"requestBodyInspectLimitInKB"`
+ // The state of the policy.
+ State *string `pulumi:"state"`
}
-// Network Virtual Appliance Sku Properties.
-type Office365PolicyPropertiesArgs struct {
- // Office 365 breakout categories.
- BreakOutCategories BreakOutCategoryPoliciesPtrInput `pulumi:"breakOutCategories"`
+// Defaults sets the appropriate defaults for PolicySettingsResponse
+func (val *PolicySettingsResponse) Defaults() *PolicySettingsResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.FileUploadEnforcement == nil {
+ fileUploadEnforcement_ := true
+ tmp.FileUploadEnforcement = &fileUploadEnforcement_
+ }
+ if tmp.RequestBodyEnforcement == nil {
+ requestBodyEnforcement_ := true
+ tmp.RequestBodyEnforcement = &requestBodyEnforcement_
+ }
+ return &tmp
}
-func (Office365PolicyPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*Office365PolicyProperties)(nil)).Elem()
-}
+// Defines contents of a web application firewall global configuration.
+type PolicySettingsResponseOutput struct{ *pulumi.OutputState }
-func (i Office365PolicyPropertiesArgs) ToOffice365PolicyPropertiesOutput() Office365PolicyPropertiesOutput {
- return i.ToOffice365PolicyPropertiesOutputWithContext(context.Background())
+func (PolicySettingsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PolicySettingsResponse)(nil)).Elem()
}
-func (i Office365PolicyPropertiesArgs) ToOffice365PolicyPropertiesOutputWithContext(ctx context.Context) Office365PolicyPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(Office365PolicyPropertiesOutput)
+func (o PolicySettingsResponseOutput) ToPolicySettingsResponseOutput() PolicySettingsResponseOutput {
+ return o
}
-func (i Office365PolicyPropertiesArgs) ToOffice365PolicyPropertiesPtrOutput() Office365PolicyPropertiesPtrOutput {
- return i.ToOffice365PolicyPropertiesPtrOutputWithContext(context.Background())
+func (o PolicySettingsResponseOutput) ToPolicySettingsResponseOutputWithContext(ctx context.Context) PolicySettingsResponseOutput {
+ return o
}
-func (i Office365PolicyPropertiesArgs) ToOffice365PolicyPropertiesPtrOutputWithContext(ctx context.Context) Office365PolicyPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(Office365PolicyPropertiesOutput).ToOffice365PolicyPropertiesPtrOutputWithContext(ctx)
+// If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
+func (o PolicySettingsResponseOutput) CustomBlockResponseBody() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PolicySettingsResponse) *string { return v.CustomBlockResponseBody }).(pulumi.StringPtrOutput)
}
-// Office365PolicyPropertiesPtrInput is an input type that accepts Office365PolicyPropertiesArgs, Office365PolicyPropertiesPtr and Office365PolicyPropertiesPtrOutput values.
-// You can construct a concrete instance of `Office365PolicyPropertiesPtrInput` via:
-//
-// Office365PolicyPropertiesArgs{...}
-//
-// or:
-//
-// nil
-type Office365PolicyPropertiesPtrInput interface {
- pulumi.Input
-
- ToOffice365PolicyPropertiesPtrOutput() Office365PolicyPropertiesPtrOutput
- ToOffice365PolicyPropertiesPtrOutputWithContext(context.Context) Office365PolicyPropertiesPtrOutput
+// If the action type is block, customer can override the response status code.
+func (o PolicySettingsResponseOutput) CustomBlockResponseStatusCode() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PolicySettingsResponse) *int { return v.CustomBlockResponseStatusCode }).(pulumi.IntPtrOutput)
}
-type office365PolicyPropertiesPtrType Office365PolicyPropertiesArgs
-
-func Office365PolicyPropertiesPtr(v *Office365PolicyPropertiesArgs) Office365PolicyPropertiesPtrInput {
- return (*office365PolicyPropertiesPtrType)(v)
+// Whether allow WAF to enforce file upload limits.
+func (o PolicySettingsResponseOutput) FileUploadEnforcement() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v PolicySettingsResponse) *bool { return v.FileUploadEnforcement }).(pulumi.BoolPtrOutput)
}
-func (*office365PolicyPropertiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**Office365PolicyProperties)(nil)).Elem()
+// Maximum file upload size in Mb for WAF.
+func (o PolicySettingsResponseOutput) FileUploadLimitInMb() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PolicySettingsResponse) *int { return v.FileUploadLimitInMb }).(pulumi.IntPtrOutput)
}
-func (i *office365PolicyPropertiesPtrType) ToOffice365PolicyPropertiesPtrOutput() Office365PolicyPropertiesPtrOutput {
- return i.ToOffice365PolicyPropertiesPtrOutputWithContext(context.Background())
+// Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.
+func (o PolicySettingsResponseOutput) JsChallengeCookieExpirationInMins() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PolicySettingsResponse) *int { return v.JsChallengeCookieExpirationInMins }).(pulumi.IntPtrOutput)
}
-func (i *office365PolicyPropertiesPtrType) ToOffice365PolicyPropertiesPtrOutputWithContext(ctx context.Context) Office365PolicyPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(Office365PolicyPropertiesPtrOutput)
+// To scrub sensitive log fields
+func (o PolicySettingsResponseOutput) LogScrubbing() PolicySettingsResponseLogScrubbingPtrOutput {
+ return o.ApplyT(func(v PolicySettingsResponse) *PolicySettingsResponseLogScrubbing { return v.LogScrubbing }).(PolicySettingsResponseLogScrubbingPtrOutput)
}
-// Network Virtual Appliance Sku Properties.
-type Office365PolicyPropertiesOutput struct{ *pulumi.OutputState }
-
-func (Office365PolicyPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*Office365PolicyProperties)(nil)).Elem()
+// Maximum request body size in Kb for WAF.
+func (o PolicySettingsResponseOutput) MaxRequestBodySizeInKb() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PolicySettingsResponse) *int { return v.MaxRequestBodySizeInKb }).(pulumi.IntPtrOutput)
}
-func (o Office365PolicyPropertiesOutput) ToOffice365PolicyPropertiesOutput() Office365PolicyPropertiesOutput {
- return o
+// The mode of the policy.
+func (o PolicySettingsResponseOutput) Mode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PolicySettingsResponse) *string { return v.Mode }).(pulumi.StringPtrOutput)
}
-func (o Office365PolicyPropertiesOutput) ToOffice365PolicyPropertiesOutputWithContext(ctx context.Context) Office365PolicyPropertiesOutput {
- return o
+// Whether to allow WAF to check request Body.
+func (o PolicySettingsResponseOutput) RequestBodyCheck() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v PolicySettingsResponse) *bool { return v.RequestBodyCheck }).(pulumi.BoolPtrOutput)
}
-func (o Office365PolicyPropertiesOutput) ToOffice365PolicyPropertiesPtrOutput() Office365PolicyPropertiesPtrOutput {
- return o.ToOffice365PolicyPropertiesPtrOutputWithContext(context.Background())
+// Whether allow WAF to enforce request body limits.
+func (o PolicySettingsResponseOutput) RequestBodyEnforcement() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v PolicySettingsResponse) *bool { return v.RequestBodyEnforcement }).(pulumi.BoolPtrOutput)
}
-func (o Office365PolicyPropertiesOutput) ToOffice365PolicyPropertiesPtrOutputWithContext(ctx context.Context) Office365PolicyPropertiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v Office365PolicyProperties) *Office365PolicyProperties {
- return &v
- }).(Office365PolicyPropertiesPtrOutput)
+// Max inspection limit in KB for request body inspection for WAF.
+func (o PolicySettingsResponseOutput) RequestBodyInspectLimitInKB() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PolicySettingsResponse) *int { return v.RequestBodyInspectLimitInKB }).(pulumi.IntPtrOutput)
}
-// Office 365 breakout categories.
-func (o Office365PolicyPropertiesOutput) BreakOutCategories() BreakOutCategoryPoliciesPtrOutput {
- return o.ApplyT(func(v Office365PolicyProperties) *BreakOutCategoryPolicies { return v.BreakOutCategories }).(BreakOutCategoryPoliciesPtrOutput)
+// The state of the policy.
+func (o PolicySettingsResponseOutput) State() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PolicySettingsResponse) *string { return v.State }).(pulumi.StringPtrOutput)
}
-type Office365PolicyPropertiesPtrOutput struct{ *pulumi.OutputState }
+type PolicySettingsResponsePtrOutput struct{ *pulumi.OutputState }
-func (Office365PolicyPropertiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**Office365PolicyProperties)(nil)).Elem()
+func (PolicySettingsResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PolicySettingsResponse)(nil)).Elem()
}
-func (o Office365PolicyPropertiesPtrOutput) ToOffice365PolicyPropertiesPtrOutput() Office365PolicyPropertiesPtrOutput {
+func (o PolicySettingsResponsePtrOutput) ToPolicySettingsResponsePtrOutput() PolicySettingsResponsePtrOutput {
return o
}
-func (o Office365PolicyPropertiesPtrOutput) ToOffice365PolicyPropertiesPtrOutputWithContext(ctx context.Context) Office365PolicyPropertiesPtrOutput {
+func (o PolicySettingsResponsePtrOutput) ToPolicySettingsResponsePtrOutputWithContext(ctx context.Context) PolicySettingsResponsePtrOutput {
return o
}
-func (o Office365PolicyPropertiesPtrOutput) Elem() Office365PolicyPropertiesOutput {
- return o.ApplyT(func(v *Office365PolicyProperties) Office365PolicyProperties {
+func (o PolicySettingsResponsePtrOutput) Elem() PolicySettingsResponseOutput {
+ return o.ApplyT(func(v *PolicySettingsResponse) PolicySettingsResponse {
if v != nil {
return *v
}
- var ret Office365PolicyProperties
+ var ret PolicySettingsResponse
return ret
- }).(Office365PolicyPropertiesOutput)
+ }).(PolicySettingsResponseOutput)
}
-// Office 365 breakout categories.
-func (o Office365PolicyPropertiesPtrOutput) BreakOutCategories() BreakOutCategoryPoliciesPtrOutput {
- return o.ApplyT(func(v *Office365PolicyProperties) *BreakOutCategoryPolicies {
+// If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
+func (o PolicySettingsResponsePtrOutput) CustomBlockResponseBody() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PolicySettingsResponse) *string {
if v == nil {
return nil
}
- return v.BreakOutCategories
- }).(BreakOutCategoryPoliciesPtrOutput)
+ return v.CustomBlockResponseBody
+ }).(pulumi.StringPtrOutput)
}
-// Network Virtual Appliance Sku Properties.
-type Office365PolicyPropertiesResponse struct {
- // Office 365 breakout categories.
- BreakOutCategories *BreakOutCategoryPoliciesResponse `pulumi:"breakOutCategories"`
+// If the action type is block, customer can override the response status code.
+func (o PolicySettingsResponsePtrOutput) CustomBlockResponseStatusCode() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PolicySettingsResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.CustomBlockResponseStatusCode
+ }).(pulumi.IntPtrOutput)
}
-// Network Virtual Appliance Sku Properties.
-type Office365PolicyPropertiesResponseOutput struct{ *pulumi.OutputState }
-
-func (Office365PolicyPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*Office365PolicyPropertiesResponse)(nil)).Elem()
+// Whether allow WAF to enforce file upload limits.
+func (o PolicySettingsResponsePtrOutput) FileUploadEnforcement() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *PolicySettingsResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.FileUploadEnforcement
+ }).(pulumi.BoolPtrOutput)
}
-func (o Office365PolicyPropertiesResponseOutput) ToOffice365PolicyPropertiesResponseOutput() Office365PolicyPropertiesResponseOutput {
- return o
+// Maximum file upload size in Mb for WAF.
+func (o PolicySettingsResponsePtrOutput) FileUploadLimitInMb() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PolicySettingsResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.FileUploadLimitInMb
+ }).(pulumi.IntPtrOutput)
}
-func (o Office365PolicyPropertiesResponseOutput) ToOffice365PolicyPropertiesResponseOutputWithContext(ctx context.Context) Office365PolicyPropertiesResponseOutput {
- return o
+// Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.
+func (o PolicySettingsResponsePtrOutput) JsChallengeCookieExpirationInMins() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PolicySettingsResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.JsChallengeCookieExpirationInMins
+ }).(pulumi.IntPtrOutput)
}
-// Office 365 breakout categories.
-func (o Office365PolicyPropertiesResponseOutput) BreakOutCategories() BreakOutCategoryPoliciesResponsePtrOutput {
- return o.ApplyT(func(v Office365PolicyPropertiesResponse) *BreakOutCategoryPoliciesResponse {
- return v.BreakOutCategories
- }).(BreakOutCategoryPoliciesResponsePtrOutput)
+// To scrub sensitive log fields
+func (o PolicySettingsResponsePtrOutput) LogScrubbing() PolicySettingsResponseLogScrubbingPtrOutput {
+ return o.ApplyT(func(v *PolicySettingsResponse) *PolicySettingsResponseLogScrubbing {
+ if v == nil {
+ return nil
+ }
+ return v.LogScrubbing
+ }).(PolicySettingsResponseLogScrubbingPtrOutput)
}
-type Office365PolicyPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+// Maximum request body size in Kb for WAF.
+func (o PolicySettingsResponsePtrOutput) MaxRequestBodySizeInKb() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PolicySettingsResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.MaxRequestBodySizeInKb
+ }).(pulumi.IntPtrOutput)
+}
-func (Office365PolicyPropertiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**Office365PolicyPropertiesResponse)(nil)).Elem()
+// The mode of the policy.
+func (o PolicySettingsResponsePtrOutput) Mode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PolicySettingsResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Mode
+ }).(pulumi.StringPtrOutput)
}
-func (o Office365PolicyPropertiesResponsePtrOutput) ToOffice365PolicyPropertiesResponsePtrOutput() Office365PolicyPropertiesResponsePtrOutput {
- return o
+// Whether to allow WAF to check request Body.
+func (o PolicySettingsResponsePtrOutput) RequestBodyCheck() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *PolicySettingsResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.RequestBodyCheck
+ }).(pulumi.BoolPtrOutput)
}
-func (o Office365PolicyPropertiesResponsePtrOutput) ToOffice365PolicyPropertiesResponsePtrOutputWithContext(ctx context.Context) Office365PolicyPropertiesResponsePtrOutput {
- return o
+// Whether allow WAF to enforce request body limits.
+func (o PolicySettingsResponsePtrOutput) RequestBodyEnforcement() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *PolicySettingsResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.RequestBodyEnforcement
+ }).(pulumi.BoolPtrOutput)
}
-func (o Office365PolicyPropertiesResponsePtrOutput) Elem() Office365PolicyPropertiesResponseOutput {
- return o.ApplyT(func(v *Office365PolicyPropertiesResponse) Office365PolicyPropertiesResponse {
- if v != nil {
- return *v
+// Max inspection limit in KB for request body inspection for WAF.
+func (o PolicySettingsResponsePtrOutput) RequestBodyInspectLimitInKB() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PolicySettingsResponse) *int {
+ if v == nil {
+ return nil
}
- var ret Office365PolicyPropertiesResponse
- return ret
- }).(Office365PolicyPropertiesResponseOutput)
+ return v.RequestBodyInspectLimitInKB
+ }).(pulumi.IntPtrOutput)
}
-// Office 365 breakout categories.
-func (o Office365PolicyPropertiesResponsePtrOutput) BreakOutCategories() BreakOutCategoryPoliciesResponsePtrOutput {
- return o.ApplyT(func(v *Office365PolicyPropertiesResponse) *BreakOutCategoryPoliciesResponse {
+// The state of the policy.
+func (o PolicySettingsResponsePtrOutput) State() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PolicySettingsResponse) *string {
if v == nil {
return nil
}
- return v.BreakOutCategories
- }).(BreakOutCategoryPoliciesResponsePtrOutput)
+ return v.State
+ }).(pulumi.StringPtrOutput)
}
-// Describes a column to sort
-type OrderBy struct {
- // Describes the actual column name to sort by
- Field *string `pulumi:"field"`
- // Describes if results should be in ascending/descending order
- Order *string `pulumi:"order"`
+// To scrub sensitive log fields
+type PolicySettingsResponseLogScrubbing struct {
+ // The rules that are applied to the logs for scrubbing.
+ ScrubbingRules []WebApplicationFirewallScrubbingRulesResponse `pulumi:"scrubbingRules"`
+ // State of the log scrubbing config. Default value is Enabled.
+ State *string `pulumi:"state"`
}
-// OrderByInput is an input type that accepts OrderByArgs and OrderByOutput values.
-// You can construct a concrete instance of `OrderByInput` via:
-//
-// OrderByArgs{...}
-type OrderByInput interface {
- pulumi.Input
+// To scrub sensitive log fields
+type PolicySettingsResponseLogScrubbingOutput struct{ *pulumi.OutputState }
- ToOrderByOutput() OrderByOutput
- ToOrderByOutputWithContext(context.Context) OrderByOutput
+func (PolicySettingsResponseLogScrubbingOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PolicySettingsResponseLogScrubbing)(nil)).Elem()
}
-// Describes a column to sort
-type OrderByArgs struct {
- // Describes the actual column name to sort by
- Field pulumi.StringPtrInput `pulumi:"field"`
- // Describes if results should be in ascending/descending order
- Order pulumi.StringPtrInput `pulumi:"order"`
+func (o PolicySettingsResponseLogScrubbingOutput) ToPolicySettingsResponseLogScrubbingOutput() PolicySettingsResponseLogScrubbingOutput {
+ return o
}
-func (OrderByArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*OrderBy)(nil)).Elem()
+func (o PolicySettingsResponseLogScrubbingOutput) ToPolicySettingsResponseLogScrubbingOutputWithContext(ctx context.Context) PolicySettingsResponseLogScrubbingOutput {
+ return o
}
-func (i OrderByArgs) ToOrderByOutput() OrderByOutput {
- return i.ToOrderByOutputWithContext(context.Background())
+// The rules that are applied to the logs for scrubbing.
+func (o PolicySettingsResponseLogScrubbingOutput) ScrubbingRules() WebApplicationFirewallScrubbingRulesResponseArrayOutput {
+ return o.ApplyT(func(v PolicySettingsResponseLogScrubbing) []WebApplicationFirewallScrubbingRulesResponse {
+ return v.ScrubbingRules
+ }).(WebApplicationFirewallScrubbingRulesResponseArrayOutput)
}
-func (i OrderByArgs) ToOrderByOutputWithContext(ctx context.Context) OrderByOutput {
- return pulumi.ToOutputWithContext(ctx, i).(OrderByOutput)
+// State of the log scrubbing config. Default value is Enabled.
+func (o PolicySettingsResponseLogScrubbingOutput) State() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PolicySettingsResponseLogScrubbing) *string { return v.State }).(pulumi.StringPtrOutput)
}
-func (i OrderByArgs) ToOrderByPtrOutput() OrderByPtrOutput {
- return i.ToOrderByPtrOutputWithContext(context.Background())
-}
+type PolicySettingsResponseLogScrubbingPtrOutput struct{ *pulumi.OutputState }
-func (i OrderByArgs) ToOrderByPtrOutputWithContext(ctx context.Context) OrderByPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(OrderByOutput).ToOrderByPtrOutputWithContext(ctx)
+func (PolicySettingsResponseLogScrubbingPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PolicySettingsResponseLogScrubbing)(nil)).Elem()
}
-// OrderByPtrInput is an input type that accepts OrderByArgs, OrderByPtr and OrderByPtrOutput values.
-// You can construct a concrete instance of `OrderByPtrInput` via:
-//
-// OrderByArgs{...}
-//
-// or:
-//
-// nil
-type OrderByPtrInput interface {
- pulumi.Input
-
- ToOrderByPtrOutput() OrderByPtrOutput
- ToOrderByPtrOutputWithContext(context.Context) OrderByPtrOutput
+func (o PolicySettingsResponseLogScrubbingPtrOutput) ToPolicySettingsResponseLogScrubbingPtrOutput() PolicySettingsResponseLogScrubbingPtrOutput {
+ return o
}
-type orderByPtrType OrderByArgs
+func (o PolicySettingsResponseLogScrubbingPtrOutput) ToPolicySettingsResponseLogScrubbingPtrOutputWithContext(ctx context.Context) PolicySettingsResponseLogScrubbingPtrOutput {
+ return o
+}
-func OrderByPtr(v *OrderByArgs) OrderByPtrInput {
- return (*orderByPtrType)(v)
+func (o PolicySettingsResponseLogScrubbingPtrOutput) Elem() PolicySettingsResponseLogScrubbingOutput {
+ return o.ApplyT(func(v *PolicySettingsResponseLogScrubbing) PolicySettingsResponseLogScrubbing {
+ if v != nil {
+ return *v
+ }
+ var ret PolicySettingsResponseLogScrubbing
+ return ret
+ }).(PolicySettingsResponseLogScrubbingOutput)
}
-func (*orderByPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**OrderBy)(nil)).Elem()
+// The rules that are applied to the logs for scrubbing.
+func (o PolicySettingsResponseLogScrubbingPtrOutput) ScrubbingRules() WebApplicationFirewallScrubbingRulesResponseArrayOutput {
+ return o.ApplyT(func(v *PolicySettingsResponseLogScrubbing) []WebApplicationFirewallScrubbingRulesResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ScrubbingRules
+ }).(WebApplicationFirewallScrubbingRulesResponseArrayOutput)
}
-func (i *orderByPtrType) ToOrderByPtrOutput() OrderByPtrOutput {
- return i.ToOrderByPtrOutputWithContext(context.Background())
+// State of the log scrubbing config. Default value is Enabled.
+func (o PolicySettingsResponseLogScrubbingPtrOutput) State() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PolicySettingsResponseLogScrubbing) *string {
+ if v == nil {
+ return nil
+ }
+ return v.State
+ }).(pulumi.StringPtrOutput)
}
-func (i *orderByPtrType) ToOrderByPtrOutputWithContext(ctx context.Context) OrderByPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(OrderByPtrOutput)
+// IpamPool association information.
+type PoolAssociationResponse struct {
+ // List of assigned IP address prefixes in the IpamPool of the associated resource.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ // Creation time of the association.
+ CreatedAt string `pulumi:"createdAt"`
+ Description *string `pulumi:"description"`
+ // Total number of reserved IP addresses of the association.
+ NumberOfReservedIPAddresses string `pulumi:"numberOfReservedIPAddresses"`
+ // IpamPool id for which the resource is associated to.
+ PoolId *string `pulumi:"poolId"`
+ // Expire time for IP addresses reserved.
+ ReservationExpiresAt string `pulumi:"reservationExpiresAt"`
+ // List of reserved IP address prefixes in the IpamPool of the associated resource.
+ ReservedPrefixes []string `pulumi:"reservedPrefixes"`
+ // Resource id of the associated Azure resource.
+ ResourceId string `pulumi:"resourceId"`
+ // Total number of assigned IP addresses of the association.
+ TotalNumberOfIPAddresses string `pulumi:"totalNumberOfIPAddresses"`
}
-// Describes a column to sort
-type OrderByOutput struct{ *pulumi.OutputState }
+// IpamPool association information.
+type PoolAssociationResponseOutput struct{ *pulumi.OutputState }
-func (OrderByOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*OrderBy)(nil)).Elem()
+func (PoolAssociationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PoolAssociationResponse)(nil)).Elem()
}
-func (o OrderByOutput) ToOrderByOutput() OrderByOutput {
+func (o PoolAssociationResponseOutput) ToPoolAssociationResponseOutput() PoolAssociationResponseOutput {
return o
}
-func (o OrderByOutput) ToOrderByOutputWithContext(ctx context.Context) OrderByOutput {
+func (o PoolAssociationResponseOutput) ToPoolAssociationResponseOutputWithContext(ctx context.Context) PoolAssociationResponseOutput {
return o
}
-func (o OrderByOutput) ToOrderByPtrOutput() OrderByPtrOutput {
- return o.ToOrderByPtrOutputWithContext(context.Background())
+// List of assigned IP address prefixes in the IpamPool of the associated resource.
+func (o PoolAssociationResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PoolAssociationResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
-func (o OrderByOutput) ToOrderByPtrOutputWithContext(ctx context.Context) OrderByPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v OrderBy) *OrderBy {
- return &v
- }).(OrderByPtrOutput)
+// Creation time of the association.
+func (o PoolAssociationResponseOutput) CreatedAt() pulumi.StringOutput {
+ return o.ApplyT(func(v PoolAssociationResponse) string { return v.CreatedAt }).(pulumi.StringOutput)
}
-// Describes the actual column name to sort by
-func (o OrderByOutput) Field() pulumi.StringPtrOutput {
- return o.ApplyT(func(v OrderBy) *string { return v.Field }).(pulumi.StringPtrOutput)
+func (o PoolAssociationResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PoolAssociationResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// Describes if results should be in ascending/descending order
-func (o OrderByOutput) Order() pulumi.StringPtrOutput {
- return o.ApplyT(func(v OrderBy) *string { return v.Order }).(pulumi.StringPtrOutput)
+// Total number of reserved IP addresses of the association.
+func (o PoolAssociationResponseOutput) NumberOfReservedIPAddresses() pulumi.StringOutput {
+ return o.ApplyT(func(v PoolAssociationResponse) string { return v.NumberOfReservedIPAddresses }).(pulumi.StringOutput)
}
-type OrderByPtrOutput struct{ *pulumi.OutputState }
+// IpamPool id for which the resource is associated to.
+func (o PoolAssociationResponseOutput) PoolId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PoolAssociationResponse) *string { return v.PoolId }).(pulumi.StringPtrOutput)
+}
-func (OrderByPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**OrderBy)(nil)).Elem()
+// Expire time for IP addresses reserved.
+func (o PoolAssociationResponseOutput) ReservationExpiresAt() pulumi.StringOutput {
+ return o.ApplyT(func(v PoolAssociationResponse) string { return v.ReservationExpiresAt }).(pulumi.StringOutput)
}
-func (o OrderByPtrOutput) ToOrderByPtrOutput() OrderByPtrOutput {
- return o
+// List of reserved IP address prefixes in the IpamPool of the associated resource.
+func (o PoolAssociationResponseOutput) ReservedPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PoolAssociationResponse) []string { return v.ReservedPrefixes }).(pulumi.StringArrayOutput)
}
-func (o OrderByPtrOutput) ToOrderByPtrOutputWithContext(ctx context.Context) OrderByPtrOutput {
- return o
+// Resource id of the associated Azure resource.
+func (o PoolAssociationResponseOutput) ResourceId() pulumi.StringOutput {
+ return o.ApplyT(func(v PoolAssociationResponse) string { return v.ResourceId }).(pulumi.StringOutput)
}
-func (o OrderByPtrOutput) Elem() OrderByOutput {
- return o.ApplyT(func(v *OrderBy) OrderBy {
- if v != nil {
- return *v
- }
- var ret OrderBy
- return ret
- }).(OrderByOutput)
+// Total number of assigned IP addresses of the association.
+func (o PoolAssociationResponseOutput) TotalNumberOfIPAddresses() pulumi.StringOutput {
+ return o.ApplyT(func(v PoolAssociationResponse) string { return v.TotalNumberOfIPAddresses }).(pulumi.StringOutput)
}
-// Describes the actual column name to sort by
-func (o OrderByPtrOutput) Field() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *OrderBy) *string {
- if v == nil {
- return nil
- }
- return v.Field
- }).(pulumi.StringPtrOutput)
+type PoolAssociationResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (PoolAssociationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PoolAssociationResponse)(nil)).Elem()
}
-// Describes if results should be in ascending/descending order
-func (o OrderByPtrOutput) Order() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *OrderBy) *string {
- if v == nil {
- return nil
- }
- return v.Order
- }).(pulumi.StringPtrOutput)
+func (o PoolAssociationResponseArrayOutput) ToPoolAssociationResponseArrayOutput() PoolAssociationResponseArrayOutput {
+ return o
}
-// Outbound rule of the load balancer.
-type OutboundRule struct {
- // The number of outbound ports to be used for NAT.
- AllocatedOutboundPorts *int `pulumi:"allocatedOutboundPorts"`
- // A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.
- BackendAddressPool SubResource `pulumi:"backendAddressPool"`
- // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
- EnableTcpReset *bool `pulumi:"enableTcpReset"`
- // The Frontend IP addresses of the load balancer.
- FrontendIPConfigurations []SubResource `pulumi:"frontendIPConfigurations"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The timeout for the TCP idle connection.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
- // The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource.
+func (o PoolAssociationResponseArrayOutput) ToPoolAssociationResponseArrayOutputWithContext(ctx context.Context) PoolAssociationResponseArrayOutput {
+ return o
+}
+
+func (o PoolAssociationResponseArrayOutput) Index(i pulumi.IntInput) PoolAssociationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PoolAssociationResponse {
+ return vs[0].([]PoolAssociationResponse)[vs[1].(int)]
+ }).(PoolAssociationResponseOutput)
+}
+
+// PrivateDnsZoneConfig resource.
+type PrivateDnsZoneConfig struct {
+ // Name of the resource that is unique within a resource group. This name can be used to access the resource.
Name *string `pulumi:"name"`
- // The protocol for the outbound rule in load balancer.
- Protocol string `pulumi:"protocol"`
+ // The resource id of the private dns zone.
+ PrivateDnsZoneId *string `pulumi:"privateDnsZoneId"`
}
-// OutboundRuleInput is an input type that accepts OutboundRuleArgs and OutboundRuleOutput values.
-// You can construct a concrete instance of `OutboundRuleInput` via:
+// PrivateDnsZoneConfigInput is an input type that accepts PrivateDnsZoneConfigArgs and PrivateDnsZoneConfigOutput values.
+// You can construct a concrete instance of `PrivateDnsZoneConfigInput` via:
//
-// OutboundRuleArgs{...}
-type OutboundRuleInput interface {
+// PrivateDnsZoneConfigArgs{...}
+type PrivateDnsZoneConfigInput interface {
pulumi.Input
- ToOutboundRuleOutput() OutboundRuleOutput
- ToOutboundRuleOutputWithContext(context.Context) OutboundRuleOutput
+ ToPrivateDnsZoneConfigOutput() PrivateDnsZoneConfigOutput
+ ToPrivateDnsZoneConfigOutputWithContext(context.Context) PrivateDnsZoneConfigOutput
}
-// Outbound rule of the load balancer.
-type OutboundRuleArgs struct {
- // The number of outbound ports to be used for NAT.
- AllocatedOutboundPorts pulumi.IntPtrInput `pulumi:"allocatedOutboundPorts"`
- // A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.
- BackendAddressPool SubResourceInput `pulumi:"backendAddressPool"`
- // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
- EnableTcpReset pulumi.BoolPtrInput `pulumi:"enableTcpReset"`
- // The Frontend IP addresses of the load balancer.
- FrontendIPConfigurations SubResourceArrayInput `pulumi:"frontendIPConfigurations"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The timeout for the TCP idle connection.
- IdleTimeoutInMinutes pulumi.IntPtrInput `pulumi:"idleTimeoutInMinutes"`
- // The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource.
+// PrivateDnsZoneConfig resource.
+type PrivateDnsZoneConfigArgs struct {
+ // Name of the resource that is unique within a resource group. This name can be used to access the resource.
Name pulumi.StringPtrInput `pulumi:"name"`
- // The protocol for the outbound rule in load balancer.
- Protocol pulumi.StringInput `pulumi:"protocol"`
+ // The resource id of the private dns zone.
+ PrivateDnsZoneId pulumi.StringPtrInput `pulumi:"privateDnsZoneId"`
}
-func (OutboundRuleArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*OutboundRule)(nil)).Elem()
+func (PrivateDnsZoneConfigArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateDnsZoneConfig)(nil)).Elem()
}
-func (i OutboundRuleArgs) ToOutboundRuleOutput() OutboundRuleOutput {
- return i.ToOutboundRuleOutputWithContext(context.Background())
+func (i PrivateDnsZoneConfigArgs) ToPrivateDnsZoneConfigOutput() PrivateDnsZoneConfigOutput {
+ return i.ToPrivateDnsZoneConfigOutputWithContext(context.Background())
}
-func (i OutboundRuleArgs) ToOutboundRuleOutputWithContext(ctx context.Context) OutboundRuleOutput {
- return pulumi.ToOutputWithContext(ctx, i).(OutboundRuleOutput)
+func (i PrivateDnsZoneConfigArgs) ToPrivateDnsZoneConfigOutputWithContext(ctx context.Context) PrivateDnsZoneConfigOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateDnsZoneConfigOutput)
}
-// OutboundRuleArrayInput is an input type that accepts OutboundRuleArray and OutboundRuleArrayOutput values.
-// You can construct a concrete instance of `OutboundRuleArrayInput` via:
+// PrivateDnsZoneConfigArrayInput is an input type that accepts PrivateDnsZoneConfigArray and PrivateDnsZoneConfigArrayOutput values.
+// You can construct a concrete instance of `PrivateDnsZoneConfigArrayInput` via:
//
-// OutboundRuleArray{ OutboundRuleArgs{...} }
-type OutboundRuleArrayInput interface {
+// PrivateDnsZoneConfigArray{ PrivateDnsZoneConfigArgs{...} }
+type PrivateDnsZoneConfigArrayInput interface {
pulumi.Input
- ToOutboundRuleArrayOutput() OutboundRuleArrayOutput
- ToOutboundRuleArrayOutputWithContext(context.Context) OutboundRuleArrayOutput
+ ToPrivateDnsZoneConfigArrayOutput() PrivateDnsZoneConfigArrayOutput
+ ToPrivateDnsZoneConfigArrayOutputWithContext(context.Context) PrivateDnsZoneConfigArrayOutput
}
-type OutboundRuleArray []OutboundRuleInput
+type PrivateDnsZoneConfigArray []PrivateDnsZoneConfigInput
-func (OutboundRuleArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]OutboundRule)(nil)).Elem()
+func (PrivateDnsZoneConfigArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateDnsZoneConfig)(nil)).Elem()
}
-func (i OutboundRuleArray) ToOutboundRuleArrayOutput() OutboundRuleArrayOutput {
- return i.ToOutboundRuleArrayOutputWithContext(context.Background())
+func (i PrivateDnsZoneConfigArray) ToPrivateDnsZoneConfigArrayOutput() PrivateDnsZoneConfigArrayOutput {
+ return i.ToPrivateDnsZoneConfigArrayOutputWithContext(context.Background())
}
-func (i OutboundRuleArray) ToOutboundRuleArrayOutputWithContext(ctx context.Context) OutboundRuleArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(OutboundRuleArrayOutput)
+func (i PrivateDnsZoneConfigArray) ToPrivateDnsZoneConfigArrayOutputWithContext(ctx context.Context) PrivateDnsZoneConfigArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateDnsZoneConfigArrayOutput)
}
-// Outbound rule of the load balancer.
-type OutboundRuleOutput struct{ *pulumi.OutputState }
+// PrivateDnsZoneConfig resource.
+type PrivateDnsZoneConfigOutput struct{ *pulumi.OutputState }
-func (OutboundRuleOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*OutboundRule)(nil)).Elem()
+func (PrivateDnsZoneConfigOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateDnsZoneConfig)(nil)).Elem()
}
-func (o OutboundRuleOutput) ToOutboundRuleOutput() OutboundRuleOutput {
+func (o PrivateDnsZoneConfigOutput) ToPrivateDnsZoneConfigOutput() PrivateDnsZoneConfigOutput {
return o
}
-func (o OutboundRuleOutput) ToOutboundRuleOutputWithContext(ctx context.Context) OutboundRuleOutput {
+func (o PrivateDnsZoneConfigOutput) ToPrivateDnsZoneConfigOutputWithContext(ctx context.Context) PrivateDnsZoneConfigOutput {
return o
}
-// The number of outbound ports to be used for NAT.
-func (o OutboundRuleOutput) AllocatedOutboundPorts() pulumi.IntPtrOutput {
- return o.ApplyT(func(v OutboundRule) *int { return v.AllocatedOutboundPorts }).(pulumi.IntPtrOutput)
+// Name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o PrivateDnsZoneConfigOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateDnsZoneConfig) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.
-func (o OutboundRuleOutput) BackendAddressPool() SubResourceOutput {
- return o.ApplyT(func(v OutboundRule) SubResource { return v.BackendAddressPool }).(SubResourceOutput)
+// The resource id of the private dns zone.
+func (o PrivateDnsZoneConfigOutput) PrivateDnsZoneId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateDnsZoneConfig) *string { return v.PrivateDnsZoneId }).(pulumi.StringPtrOutput)
}
-// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
-func (o OutboundRuleOutput) EnableTcpReset() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v OutboundRule) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
-}
+type PrivateDnsZoneConfigArrayOutput struct{ *pulumi.OutputState }
-// The Frontend IP addresses of the load balancer.
-func (o OutboundRuleOutput) FrontendIPConfigurations() SubResourceArrayOutput {
- return o.ApplyT(func(v OutboundRule) []SubResource { return v.FrontendIPConfigurations }).(SubResourceArrayOutput)
+func (PrivateDnsZoneConfigArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateDnsZoneConfig)(nil)).Elem()
}
-// Resource ID.
-func (o OutboundRuleOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v OutboundRule) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o PrivateDnsZoneConfigArrayOutput) ToPrivateDnsZoneConfigArrayOutput() PrivateDnsZoneConfigArrayOutput {
+ return o
}
-// The timeout for the TCP idle connection.
-func (o OutboundRuleOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v OutboundRule) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+func (o PrivateDnsZoneConfigArrayOutput) ToPrivateDnsZoneConfigArrayOutputWithContext(ctx context.Context) PrivateDnsZoneConfigArrayOutput {
+ return o
}
-// The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource.
-func (o OutboundRuleOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v OutboundRule) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o PrivateDnsZoneConfigArrayOutput) Index(i pulumi.IntInput) PrivateDnsZoneConfigOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateDnsZoneConfig {
+ return vs[0].([]PrivateDnsZoneConfig)[vs[1].(int)]
+ }).(PrivateDnsZoneConfigOutput)
}
-// The protocol for the outbound rule in load balancer.
-func (o OutboundRuleOutput) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v OutboundRule) string { return v.Protocol }).(pulumi.StringOutput)
+// PrivateDnsZoneConfig resource.
+type PrivateDnsZoneConfigResponse struct {
+ // Name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The resource id of the private dns zone.
+ PrivateDnsZoneId *string `pulumi:"privateDnsZoneId"`
+ // A collection of information regarding a recordSet, holding information to identify private resources.
+ RecordSets []RecordSetResponse `pulumi:"recordSets"`
}
-type OutboundRuleArrayOutput struct{ *pulumi.OutputState }
+// PrivateDnsZoneConfig resource.
+type PrivateDnsZoneConfigResponseOutput struct{ *pulumi.OutputState }
-func (OutboundRuleArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]OutboundRule)(nil)).Elem()
+func (PrivateDnsZoneConfigResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateDnsZoneConfigResponse)(nil)).Elem()
}
-func (o OutboundRuleArrayOutput) ToOutboundRuleArrayOutput() OutboundRuleArrayOutput {
+func (o PrivateDnsZoneConfigResponseOutput) ToPrivateDnsZoneConfigResponseOutput() PrivateDnsZoneConfigResponseOutput {
return o
}
-func (o OutboundRuleArrayOutput) ToOutboundRuleArrayOutputWithContext(ctx context.Context) OutboundRuleArrayOutput {
+func (o PrivateDnsZoneConfigResponseOutput) ToPrivateDnsZoneConfigResponseOutputWithContext(ctx context.Context) PrivateDnsZoneConfigResponseOutput {
return o
}
-func (o OutboundRuleArrayOutput) Index(i pulumi.IntInput) OutboundRuleOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) OutboundRule {
- return vs[0].([]OutboundRule)[vs[1].(int)]
- }).(OutboundRuleOutput)
+// Name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o PrivateDnsZoneConfigResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateDnsZoneConfigResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Outbound rule of the load balancer.
-type OutboundRuleResponse struct {
- // The number of outbound ports to be used for NAT.
- AllocatedOutboundPorts *int `pulumi:"allocatedOutboundPorts"`
- // A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.
- BackendAddressPool SubResourceResponse `pulumi:"backendAddressPool"`
- // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
- EnableTcpReset *bool `pulumi:"enableTcpReset"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The Frontend IP addresses of the load balancer.
- FrontendIPConfigurations []SubResourceResponse `pulumi:"frontendIPConfigurations"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The timeout for the TCP idle connection.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
- // The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The protocol for the outbound rule in load balancer.
- Protocol string `pulumi:"protocol"`
- // The provisioning state of the outbound rule resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Type of the resource.
- Type string `pulumi:"type"`
+// The resource id of the private dns zone.
+func (o PrivateDnsZoneConfigResponseOutput) PrivateDnsZoneId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateDnsZoneConfigResponse) *string { return v.PrivateDnsZoneId }).(pulumi.StringPtrOutput)
}
-// Outbound rule of the load balancer.
-type OutboundRuleResponseOutput struct{ *pulumi.OutputState }
-
-func (OutboundRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*OutboundRuleResponse)(nil)).Elem()
+// A collection of information regarding a recordSet, holding information to identify private resources.
+func (o PrivateDnsZoneConfigResponseOutput) RecordSets() RecordSetResponseArrayOutput {
+ return o.ApplyT(func(v PrivateDnsZoneConfigResponse) []RecordSetResponse { return v.RecordSets }).(RecordSetResponseArrayOutput)
}
-func (o OutboundRuleResponseOutput) ToOutboundRuleResponseOutput() OutboundRuleResponseOutput {
- return o
-}
+type PrivateDnsZoneConfigResponseArrayOutput struct{ *pulumi.OutputState }
-func (o OutboundRuleResponseOutput) ToOutboundRuleResponseOutputWithContext(ctx context.Context) OutboundRuleResponseOutput {
+func (PrivateDnsZoneConfigResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateDnsZoneConfigResponse)(nil)).Elem()
+}
+
+func (o PrivateDnsZoneConfigResponseArrayOutput) ToPrivateDnsZoneConfigResponseArrayOutput() PrivateDnsZoneConfigResponseArrayOutput {
return o
}
-// The number of outbound ports to be used for NAT.
-func (o OutboundRuleResponseOutput) AllocatedOutboundPorts() pulumi.IntPtrOutput {
- return o.ApplyT(func(v OutboundRuleResponse) *int { return v.AllocatedOutboundPorts }).(pulumi.IntPtrOutput)
+func (o PrivateDnsZoneConfigResponseArrayOutput) ToPrivateDnsZoneConfigResponseArrayOutputWithContext(ctx context.Context) PrivateDnsZoneConfigResponseArrayOutput {
+ return o
}
-// A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.
-func (o OutboundRuleResponseOutput) BackendAddressPool() SubResourceResponseOutput {
- return o.ApplyT(func(v OutboundRuleResponse) SubResourceResponse { return v.BackendAddressPool }).(SubResourceResponseOutput)
+func (o PrivateDnsZoneConfigResponseArrayOutput) Index(i pulumi.IntInput) PrivateDnsZoneConfigResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateDnsZoneConfigResponse {
+ return vs[0].([]PrivateDnsZoneConfigResponse)[vs[1].(int)]
+ }).(PrivateDnsZoneConfigResponseOutput)
}
-// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
-func (o OutboundRuleResponseOutput) EnableTcpReset() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v OutboundRuleResponse) *bool { return v.EnableTcpReset }).(pulumi.BoolPtrOutput)
+// PrivateEndpointConnection resource.
+type PrivateEndpointConnectionResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The consumer link id.
+ LinkIdentifier string `pulumi:"linkIdentifier"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The resource of private end point.
+ PrivateEndpoint PrivateEndpointResponse `pulumi:"privateEndpoint"`
+ // The location of the private endpoint.
+ PrivateEndpointLocation string `pulumi:"privateEndpointLocation"`
+ // A collection of information about the state of the connection between service consumer and provider.
+ PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateResponse `pulumi:"privateLinkServiceConnectionState"`
+ // The provisioning state of the private endpoint connection resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The resource type.
+ Type string `pulumi:"type"`
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o OutboundRuleResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v OutboundRuleResponse) string { return v.Etag }).(pulumi.StringOutput)
+// Defaults sets the appropriate defaults for PrivateEndpointConnectionResponse
+func (val *PrivateEndpointConnectionResponse) Defaults() *PrivateEndpointConnectionResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PrivateEndpoint = *tmp.PrivateEndpoint.Defaults()
+
+ return &tmp
}
-// The Frontend IP addresses of the load balancer.
-func (o OutboundRuleResponseOutput) FrontendIPConfigurations() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v OutboundRuleResponse) []SubResourceResponse { return v.FrontendIPConfigurations }).(SubResourceResponseArrayOutput)
+// PrivateEndpointConnection resource.
+type PrivateEndpointConnectionResponseOutput struct{ *pulumi.OutputState }
+
+func (PrivateEndpointConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateEndpointConnectionResponse)(nil)).Elem()
+}
+
+func (o PrivateEndpointConnectionResponseOutput) ToPrivateEndpointConnectionResponseOutput() PrivateEndpointConnectionResponseOutput {
+ return o
+}
+
+func (o PrivateEndpointConnectionResponseOutput) ToPrivateEndpointConnectionResponseOutputWithContext(ctx context.Context) PrivateEndpointConnectionResponseOutput {
+ return o
+}
+
+// A unique read-only string that changes whenever the resource is updated.
+func (o PrivateEndpointConnectionResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.Etag }).(pulumi.StringOutput)
}
// Resource ID.
-func (o OutboundRuleResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v OutboundRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o PrivateEndpointConnectionResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The timeout for the TCP idle connection.
-func (o OutboundRuleResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v OutboundRuleResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+// The consumer link id.
+func (o PrivateEndpointConnectionResponseOutput) LinkIdentifier() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.LinkIdentifier }).(pulumi.StringOutput)
}
-// The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource.
-func (o OutboundRuleResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v OutboundRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o PrivateEndpointConnectionResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The protocol for the outbound rule in load balancer.
-func (o OutboundRuleResponseOutput) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v OutboundRuleResponse) string { return v.Protocol }).(pulumi.StringOutput)
+// The resource of private end point.
+func (o PrivateEndpointConnectionResponseOutput) PrivateEndpoint() PrivateEndpointResponseOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionResponse) PrivateEndpointResponse { return v.PrivateEndpoint }).(PrivateEndpointResponseOutput)
}
-// The provisioning state of the outbound rule resource.
-func (o OutboundRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v OutboundRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The location of the private endpoint.
+func (o PrivateEndpointConnectionResponseOutput) PrivateEndpointLocation() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.PrivateEndpointLocation }).(pulumi.StringOutput)
}
-// Type of the resource.
-func (o OutboundRuleResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v OutboundRuleResponse) string { return v.Type }).(pulumi.StringOutput)
+// A collection of information about the state of the connection between service consumer and provider.
+func (o PrivateEndpointConnectionResponseOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStateResponsePtrOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionResponse) *PrivateLinkServiceConnectionStateResponse {
+ return v.PrivateLinkServiceConnectionState
+ }).(PrivateLinkServiceConnectionStateResponsePtrOutput)
}
-type OutboundRuleResponseArrayOutput struct{ *pulumi.OutputState }
+// The provisioning state of the private endpoint connection resource.
+func (o PrivateEndpointConnectionResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
-func (OutboundRuleResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]OutboundRuleResponse)(nil)).Elem()
+// The resource type.
+func (o PrivateEndpointConnectionResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (o OutboundRuleResponseArrayOutput) ToOutboundRuleResponseArrayOutput() OutboundRuleResponseArrayOutput {
+type PrivateEndpointConnectionResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (PrivateEndpointConnectionResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateEndpointConnectionResponse)(nil)).Elem()
+}
+
+func (o PrivateEndpointConnectionResponseArrayOutput) ToPrivateEndpointConnectionResponseArrayOutput() PrivateEndpointConnectionResponseArrayOutput {
return o
}
-func (o OutboundRuleResponseArrayOutput) ToOutboundRuleResponseArrayOutputWithContext(ctx context.Context) OutboundRuleResponseArrayOutput {
+func (o PrivateEndpointConnectionResponseArrayOutput) ToPrivateEndpointConnectionResponseArrayOutputWithContext(ctx context.Context) PrivateEndpointConnectionResponseArrayOutput {
return o
}
-func (o OutboundRuleResponseArrayOutput) Index(i pulumi.IntInput) OutboundRuleResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) OutboundRuleResponse {
- return vs[0].([]OutboundRuleResponse)[vs[1].(int)]
- }).(OutboundRuleResponseOutput)
+func (o PrivateEndpointConnectionResponseArrayOutput) Index(i pulumi.IntInput) PrivateEndpointConnectionResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointConnectionResponse {
+ return vs[0].([]PrivateEndpointConnectionResponse)[vs[1].(int)]
+ }).(PrivateEndpointConnectionResponseOutput)
}
-// Allow to exclude some variable satisfy the condition for the WAF check.
-type OwaspCrsExclusionEntry struct {
- // The managed rule sets that are associated with the exclusion.
- ExclusionManagedRuleSets []ExclusionManagedRuleSet `pulumi:"exclusionManagedRuleSets"`
- // The variable to be excluded.
- MatchVariable string `pulumi:"matchVariable"`
- // When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
- Selector string `pulumi:"selector"`
- // When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
- SelectorMatchOperator string `pulumi:"selectorMatchOperator"`
+// PrivateEndpointConnection resource.
+type PrivateEndpointConnectionServiceGatewayResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The consumer link id.
+ LinkIdentifier string `pulumi:"linkIdentifier"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // The resource of private end point.
+ PrivateEndpoint PrivateEndpointServiceGatewayResponse `pulumi:"privateEndpoint"`
+ // The location of the private endpoint.
+ PrivateEndpointLocation string `pulumi:"privateEndpointLocation"`
+ // A collection of information about the state of the connection between service consumer and provider.
+ PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateResponse `pulumi:"privateLinkServiceConnectionState"`
+ // The provisioning state of the private endpoint connection resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// OwaspCrsExclusionEntryInput is an input type that accepts OwaspCrsExclusionEntryArgs and OwaspCrsExclusionEntryOutput values.
-// You can construct a concrete instance of `OwaspCrsExclusionEntryInput` via:
-//
-// OwaspCrsExclusionEntryArgs{...}
-type OwaspCrsExclusionEntryInput interface {
- pulumi.Input
+// Defaults sets the appropriate defaults for PrivateEndpointConnectionServiceGatewayResponse
+func (val *PrivateEndpointConnectionServiceGatewayResponse) Defaults() *PrivateEndpointConnectionServiceGatewayResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PrivateEndpoint = *tmp.PrivateEndpoint.Defaults()
- ToOwaspCrsExclusionEntryOutput() OwaspCrsExclusionEntryOutput
- ToOwaspCrsExclusionEntryOutputWithContext(context.Context) OwaspCrsExclusionEntryOutput
+ return &tmp
}
-// Allow to exclude some variable satisfy the condition for the WAF check.
-type OwaspCrsExclusionEntryArgs struct {
- // The managed rule sets that are associated with the exclusion.
- ExclusionManagedRuleSets ExclusionManagedRuleSetArrayInput `pulumi:"exclusionManagedRuleSets"`
- // The variable to be excluded.
- MatchVariable pulumi.StringInput `pulumi:"matchVariable"`
- // When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
- Selector pulumi.StringInput `pulumi:"selector"`
- // When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
- SelectorMatchOperator pulumi.StringInput `pulumi:"selectorMatchOperator"`
+// PrivateEndpointConnection resource.
+type PrivateEndpointConnectionServiceGatewayResponseOutput struct{ *pulumi.OutputState }
+
+func (PrivateEndpointConnectionServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateEndpointConnectionServiceGatewayResponse)(nil)).Elem()
}
-func (OwaspCrsExclusionEntryArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*OwaspCrsExclusionEntry)(nil)).Elem()
+func (o PrivateEndpointConnectionServiceGatewayResponseOutput) ToPrivateEndpointConnectionServiceGatewayResponseOutput() PrivateEndpointConnectionServiceGatewayResponseOutput {
+ return o
}
-func (i OwaspCrsExclusionEntryArgs) ToOwaspCrsExclusionEntryOutput() OwaspCrsExclusionEntryOutput {
- return i.ToOwaspCrsExclusionEntryOutputWithContext(context.Background())
+func (o PrivateEndpointConnectionServiceGatewayResponseOutput) ToPrivateEndpointConnectionServiceGatewayResponseOutputWithContext(ctx context.Context) PrivateEndpointConnectionServiceGatewayResponseOutput {
+ return o
}
-func (i OwaspCrsExclusionEntryArgs) ToOwaspCrsExclusionEntryOutputWithContext(ctx context.Context) OwaspCrsExclusionEntryOutput {
- return pulumi.ToOutputWithContext(ctx, i).(OwaspCrsExclusionEntryOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o PrivateEndpointConnectionServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// OwaspCrsExclusionEntryArrayInput is an input type that accepts OwaspCrsExclusionEntryArray and OwaspCrsExclusionEntryArrayOutput values.
-// You can construct a concrete instance of `OwaspCrsExclusionEntryArrayInput` via:
-//
-// OwaspCrsExclusionEntryArray{ OwaspCrsExclusionEntryArgs{...} }
-type OwaspCrsExclusionEntryArrayInput interface {
- pulumi.Input
+// Resource ID.
+func (o PrivateEndpointConnectionServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
- ToOwaspCrsExclusionEntryArrayOutput() OwaspCrsExclusionEntryArrayOutput
- ToOwaspCrsExclusionEntryArrayOutputWithContext(context.Context) OwaspCrsExclusionEntryArrayOutput
+// The consumer link id.
+func (o PrivateEndpointConnectionServiceGatewayResponseOutput) LinkIdentifier() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionServiceGatewayResponse) string { return v.LinkIdentifier }).(pulumi.StringOutput)
}
-type OwaspCrsExclusionEntryArray []OwaspCrsExclusionEntryInput
+// Name of the resource.
+func (o PrivateEndpointConnectionServiceGatewayResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionServiceGatewayResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
-func (OwaspCrsExclusionEntryArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]OwaspCrsExclusionEntry)(nil)).Elem()
+// The resource of private end point.
+func (o PrivateEndpointConnectionServiceGatewayResponseOutput) PrivateEndpoint() PrivateEndpointServiceGatewayResponseOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionServiceGatewayResponse) PrivateEndpointServiceGatewayResponse {
+ return v.PrivateEndpoint
+ }).(PrivateEndpointServiceGatewayResponseOutput)
}
-func (i OwaspCrsExclusionEntryArray) ToOwaspCrsExclusionEntryArrayOutput() OwaspCrsExclusionEntryArrayOutput {
- return i.ToOwaspCrsExclusionEntryArrayOutputWithContext(context.Background())
+// The location of the private endpoint.
+func (o PrivateEndpointConnectionServiceGatewayResponseOutput) PrivateEndpointLocation() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionServiceGatewayResponse) string { return v.PrivateEndpointLocation }).(pulumi.StringOutput)
}
-func (i OwaspCrsExclusionEntryArray) ToOwaspCrsExclusionEntryArrayOutputWithContext(ctx context.Context) OwaspCrsExclusionEntryArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(OwaspCrsExclusionEntryArrayOutput)
+// A collection of information about the state of the connection between service consumer and provider.
+func (o PrivateEndpointConnectionServiceGatewayResponseOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStateResponsePtrOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionServiceGatewayResponse) *PrivateLinkServiceConnectionStateResponse {
+ return v.PrivateLinkServiceConnectionState
+ }).(PrivateLinkServiceConnectionStateResponsePtrOutput)
}
-// Allow to exclude some variable satisfy the condition for the WAF check.
-type OwaspCrsExclusionEntryOutput struct{ *pulumi.OutputState }
+// The provisioning state of the private endpoint connection resource.
+func (o PrivateEndpointConnectionServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
-func (OwaspCrsExclusionEntryOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*OwaspCrsExclusionEntry)(nil)).Elem()
+// Resource type.
+func (o PrivateEndpointConnectionServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (o OwaspCrsExclusionEntryOutput) ToOwaspCrsExclusionEntryOutput() OwaspCrsExclusionEntryOutput {
- return o
+type PrivateEndpointConnectionServiceGatewayResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (PrivateEndpointConnectionServiceGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateEndpointConnectionServiceGatewayResponse)(nil)).Elem()
}
-func (o OwaspCrsExclusionEntryOutput) ToOwaspCrsExclusionEntryOutputWithContext(ctx context.Context) OwaspCrsExclusionEntryOutput {
+func (o PrivateEndpointConnectionServiceGatewayResponseArrayOutput) ToPrivateEndpointConnectionServiceGatewayResponseArrayOutput() PrivateEndpointConnectionServiceGatewayResponseArrayOutput {
return o
}
-// The managed rule sets that are associated with the exclusion.
-func (o OwaspCrsExclusionEntryOutput) ExclusionManagedRuleSets() ExclusionManagedRuleSetArrayOutput {
- return o.ApplyT(func(v OwaspCrsExclusionEntry) []ExclusionManagedRuleSet { return v.ExclusionManagedRuleSets }).(ExclusionManagedRuleSetArrayOutput)
+func (o PrivateEndpointConnectionServiceGatewayResponseArrayOutput) ToPrivateEndpointConnectionServiceGatewayResponseArrayOutputWithContext(ctx context.Context) PrivateEndpointConnectionServiceGatewayResponseArrayOutput {
+ return o
}
-// The variable to be excluded.
-func (o OwaspCrsExclusionEntryOutput) MatchVariable() pulumi.StringOutput {
- return o.ApplyT(func(v OwaspCrsExclusionEntry) string { return v.MatchVariable }).(pulumi.StringOutput)
+func (o PrivateEndpointConnectionServiceGatewayResponseArrayOutput) Index(i pulumi.IntInput) PrivateEndpointConnectionServiceGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointConnectionServiceGatewayResponse {
+ return vs[0].([]PrivateEndpointConnectionServiceGatewayResponse)[vs[1].(int)]
+ }).(PrivateEndpointConnectionServiceGatewayResponseOutput)
}
-// When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
-func (o OwaspCrsExclusionEntryOutput) Selector() pulumi.StringOutput {
- return o.ApplyT(func(v OwaspCrsExclusionEntry) string { return v.Selector }).(pulumi.StringOutput)
+// PrivateEndpointConnection resource.
+type PrivateEndpointConnectionVirtualNetworkApplianceResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The consumer link id.
+ LinkIdentifier string `pulumi:"linkIdentifier"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // The resource of private end point.
+ PrivateEndpoint PrivateEndpointVirtualNetworkApplianceResponse `pulumi:"privateEndpoint"`
+ // The location of the private endpoint.
+ PrivateEndpointLocation string `pulumi:"privateEndpointLocation"`
+ // A collection of information about the state of the connection between service consumer and provider.
+ PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateResponse `pulumi:"privateLinkServiceConnectionState"`
+ // The provisioning state of the private endpoint connection resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
-func (o OwaspCrsExclusionEntryOutput) SelectorMatchOperator() pulumi.StringOutput {
- return o.ApplyT(func(v OwaspCrsExclusionEntry) string { return v.SelectorMatchOperator }).(pulumi.StringOutput)
+// Defaults sets the appropriate defaults for PrivateEndpointConnectionVirtualNetworkApplianceResponse
+func (val *PrivateEndpointConnectionVirtualNetworkApplianceResponse) Defaults() *PrivateEndpointConnectionVirtualNetworkApplianceResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.PrivateEndpoint = *tmp.PrivateEndpoint.Defaults()
+
+ return &tmp
}
-type OwaspCrsExclusionEntryArrayOutput struct{ *pulumi.OutputState }
+// PrivateEndpointConnection resource.
+type PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
-func (OwaspCrsExclusionEntryArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]OwaspCrsExclusionEntry)(nil)).Elem()
+func (PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateEndpointConnectionVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o OwaspCrsExclusionEntryArrayOutput) ToOwaspCrsExclusionEntryArrayOutput() OwaspCrsExclusionEntryArrayOutput {
+func (o PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput) ToPrivateEndpointConnectionVirtualNetworkApplianceResponseOutput() PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput {
return o
}
-func (o OwaspCrsExclusionEntryArrayOutput) ToOwaspCrsExclusionEntryArrayOutputWithContext(ctx context.Context) OwaspCrsExclusionEntryArrayOutput {
+func (o PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput) ToPrivateEndpointConnectionVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput {
return o
}
-func (o OwaspCrsExclusionEntryArrayOutput) Index(i pulumi.IntInput) OwaspCrsExclusionEntryOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) OwaspCrsExclusionEntry {
- return vs[0].([]OwaspCrsExclusionEntry)[vs[1].(int)]
- }).(OwaspCrsExclusionEntryOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Allow to exclude some variable satisfy the condition for the WAF check.
-type OwaspCrsExclusionEntryResponse struct {
- // The managed rule sets that are associated with the exclusion.
- ExclusionManagedRuleSets []ExclusionManagedRuleSetResponse `pulumi:"exclusionManagedRuleSets"`
- // The variable to be excluded.
- MatchVariable string `pulumi:"matchVariable"`
- // When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
- Selector string `pulumi:"selector"`
- // When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
- SelectorMatchOperator string `pulumi:"selectorMatchOperator"`
+// Resource ID.
+func (o PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Allow to exclude some variable satisfy the condition for the WAF check.
-type OwaspCrsExclusionEntryResponseOutput struct{ *pulumi.OutputState }
-
-func (OwaspCrsExclusionEntryResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*OwaspCrsExclusionEntryResponse)(nil)).Elem()
+// The consumer link id.
+func (o PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput) LinkIdentifier() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionVirtualNetworkApplianceResponse) string { return v.LinkIdentifier }).(pulumi.StringOutput)
}
-func (o OwaspCrsExclusionEntryResponseOutput) ToOwaspCrsExclusionEntryResponseOutput() OwaspCrsExclusionEntryResponseOutput {
- return o
+// Name of the resource.
+func (o PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionVirtualNetworkApplianceResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o OwaspCrsExclusionEntryResponseOutput) ToOwaspCrsExclusionEntryResponseOutputWithContext(ctx context.Context) OwaspCrsExclusionEntryResponseOutput {
- return o
+// The resource of private end point.
+func (o PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput) PrivateEndpoint() PrivateEndpointVirtualNetworkApplianceResponseOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionVirtualNetworkApplianceResponse) PrivateEndpointVirtualNetworkApplianceResponse {
+ return v.PrivateEndpoint
+ }).(PrivateEndpointVirtualNetworkApplianceResponseOutput)
}
-// The managed rule sets that are associated with the exclusion.
-func (o OwaspCrsExclusionEntryResponseOutput) ExclusionManagedRuleSets() ExclusionManagedRuleSetResponseArrayOutput {
- return o.ApplyT(func(v OwaspCrsExclusionEntryResponse) []ExclusionManagedRuleSetResponse {
- return v.ExclusionManagedRuleSets
- }).(ExclusionManagedRuleSetResponseArrayOutput)
+// The location of the private endpoint.
+func (o PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput) PrivateEndpointLocation() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionVirtualNetworkApplianceResponse) string {
+ return v.PrivateEndpointLocation
+ }).(pulumi.StringOutput)
}
-// The variable to be excluded.
-func (o OwaspCrsExclusionEntryResponseOutput) MatchVariable() pulumi.StringOutput {
- return o.ApplyT(func(v OwaspCrsExclusionEntryResponse) string { return v.MatchVariable }).(pulumi.StringOutput)
+// A collection of information about the state of the connection between service consumer and provider.
+func (o PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStateResponsePtrOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionVirtualNetworkApplianceResponse) *PrivateLinkServiceConnectionStateResponse {
+ return v.PrivateLinkServiceConnectionState
+ }).(PrivateLinkServiceConnectionStateResponsePtrOutput)
}
-// When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
-func (o OwaspCrsExclusionEntryResponseOutput) Selector() pulumi.StringOutput {
- return o.ApplyT(func(v OwaspCrsExclusionEntryResponse) string { return v.Selector }).(pulumi.StringOutput)
+// The provisioning state of the private endpoint connection resource.
+func (o PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
-func (o OwaspCrsExclusionEntryResponseOutput) SelectorMatchOperator() pulumi.StringOutput {
- return o.ApplyT(func(v OwaspCrsExclusionEntryResponse) string { return v.SelectorMatchOperator }).(pulumi.StringOutput)
+// Resource type.
+func (o PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointConnectionVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type OwaspCrsExclusionEntryResponseArrayOutput struct{ *pulumi.OutputState }
+type PrivateEndpointConnectionVirtualNetworkApplianceResponseArrayOutput struct{ *pulumi.OutputState }
-func (OwaspCrsExclusionEntryResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]OwaspCrsExclusionEntryResponse)(nil)).Elem()
+func (PrivateEndpointConnectionVirtualNetworkApplianceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateEndpointConnectionVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o OwaspCrsExclusionEntryResponseArrayOutput) ToOwaspCrsExclusionEntryResponseArrayOutput() OwaspCrsExclusionEntryResponseArrayOutput {
+func (o PrivateEndpointConnectionVirtualNetworkApplianceResponseArrayOutput) ToPrivateEndpointConnectionVirtualNetworkApplianceResponseArrayOutput() PrivateEndpointConnectionVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o OwaspCrsExclusionEntryResponseArrayOutput) ToOwaspCrsExclusionEntryResponseArrayOutputWithContext(ctx context.Context) OwaspCrsExclusionEntryResponseArrayOutput {
+func (o PrivateEndpointConnectionVirtualNetworkApplianceResponseArrayOutput) ToPrivateEndpointConnectionVirtualNetworkApplianceResponseArrayOutputWithContext(ctx context.Context) PrivateEndpointConnectionVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o OwaspCrsExclusionEntryResponseArrayOutput) Index(i pulumi.IntInput) OwaspCrsExclusionEntryResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) OwaspCrsExclusionEntryResponse {
- return vs[0].([]OwaspCrsExclusionEntryResponse)[vs[1].(int)]
- }).(OwaspCrsExclusionEntryResponseOutput)
+func (o PrivateEndpointConnectionVirtualNetworkApplianceResponseArrayOutput) Index(i pulumi.IntInput) PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointConnectionVirtualNetworkApplianceResponse {
+ return vs[0].([]PrivateEndpointConnectionVirtualNetworkApplianceResponse)[vs[1].(int)]
+ }).(PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput)
}
-// P2SConnectionConfiguration Resource.
-type P2SConnectionConfiguration struct {
- // Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+// An IP Configuration of the private endpoint.
+type PrivateEndpointIPConfiguration struct {
+ // The ID of a group obtained from the remote resource that this private endpoint should connect to.
+ GroupId *string `pulumi:"groupId"`
+ // The member name of a group obtained from the remote resource that this private endpoint should connect to.
+ MemberName *string `pulumi:"memberName"`
+ // The name of the resource that is unique within a resource group.
Name *string `pulumi:"name"`
- // The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationV5 `pulumi:"routingConfiguration"`
- // The reference to the address space resource which represents Address space for P2S VpnClient.
- VpnClientAddressPool *AddressSpace `pulumi:"vpnClientAddressPool"`
+ // A private ip address obtained from the private endpoint's subnet.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
}
-// P2SConnectionConfigurationInput is an input type that accepts P2SConnectionConfigurationArgs and P2SConnectionConfigurationOutput values.
-// You can construct a concrete instance of `P2SConnectionConfigurationInput` via:
+// PrivateEndpointIPConfigurationInput is an input type that accepts PrivateEndpointIPConfigurationArgs and PrivateEndpointIPConfigurationOutput values.
+// You can construct a concrete instance of `PrivateEndpointIPConfigurationInput` via:
//
-// P2SConnectionConfigurationArgs{...}
-type P2SConnectionConfigurationInput interface {
+// PrivateEndpointIPConfigurationArgs{...}
+type PrivateEndpointIPConfigurationInput interface {
pulumi.Input
- ToP2SConnectionConfigurationOutput() P2SConnectionConfigurationOutput
- ToP2SConnectionConfigurationOutputWithContext(context.Context) P2SConnectionConfigurationOutput
+ ToPrivateEndpointIPConfigurationOutput() PrivateEndpointIPConfigurationOutput
+ ToPrivateEndpointIPConfigurationOutputWithContext(context.Context) PrivateEndpointIPConfigurationOutput
}
-// P2SConnectionConfiguration Resource.
-type P2SConnectionConfigurationArgs struct {
- // Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- EnableInternetSecurity pulumi.BoolPtrInput `pulumi:"enableInternetSecurity"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+// An IP Configuration of the private endpoint.
+type PrivateEndpointIPConfigurationArgs struct {
+ // The ID of a group obtained from the remote resource that this private endpoint should connect to.
+ GroupId pulumi.StringPtrInput `pulumi:"groupId"`
+ // The member name of a group obtained from the remote resource that this private endpoint should connect to.
+ MemberName pulumi.StringPtrInput `pulumi:"memberName"`
+ // The name of the resource that is unique within a resource group.
Name pulumi.StringPtrInput `pulumi:"name"`
- // The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration RoutingConfigurationV5PtrInput `pulumi:"routingConfiguration"`
- // The reference to the address space resource which represents Address space for P2S VpnClient.
- VpnClientAddressPool AddressSpacePtrInput `pulumi:"vpnClientAddressPool"`
+ // A private ip address obtained from the private endpoint's subnet.
+ PrivateIPAddress pulumi.StringPtrInput `pulumi:"privateIPAddress"`
}
-func (P2SConnectionConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SConnectionConfiguration)(nil)).Elem()
+func (PrivateEndpointIPConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateEndpointIPConfiguration)(nil)).Elem()
}
-func (i P2SConnectionConfigurationArgs) ToP2SConnectionConfigurationOutput() P2SConnectionConfigurationOutput {
- return i.ToP2SConnectionConfigurationOutputWithContext(context.Background())
+func (i PrivateEndpointIPConfigurationArgs) ToPrivateEndpointIPConfigurationOutput() PrivateEndpointIPConfigurationOutput {
+ return i.ToPrivateEndpointIPConfigurationOutputWithContext(context.Background())
}
-func (i P2SConnectionConfigurationArgs) ToP2SConnectionConfigurationOutputWithContext(ctx context.Context) P2SConnectionConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(P2SConnectionConfigurationOutput)
+func (i PrivateEndpointIPConfigurationArgs) ToPrivateEndpointIPConfigurationOutputWithContext(ctx context.Context) PrivateEndpointIPConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointIPConfigurationOutput)
}
-// P2SConnectionConfigurationArrayInput is an input type that accepts P2SConnectionConfigurationArray and P2SConnectionConfigurationArrayOutput values.
-// You can construct a concrete instance of `P2SConnectionConfigurationArrayInput` via:
+// PrivateEndpointIPConfigurationArrayInput is an input type that accepts PrivateEndpointIPConfigurationArray and PrivateEndpointIPConfigurationArrayOutput values.
+// You can construct a concrete instance of `PrivateEndpointIPConfigurationArrayInput` via:
//
-// P2SConnectionConfigurationArray{ P2SConnectionConfigurationArgs{...} }
-type P2SConnectionConfigurationArrayInput interface {
+// PrivateEndpointIPConfigurationArray{ PrivateEndpointIPConfigurationArgs{...} }
+type PrivateEndpointIPConfigurationArrayInput interface {
pulumi.Input
- ToP2SConnectionConfigurationArrayOutput() P2SConnectionConfigurationArrayOutput
- ToP2SConnectionConfigurationArrayOutputWithContext(context.Context) P2SConnectionConfigurationArrayOutput
+ ToPrivateEndpointIPConfigurationArrayOutput() PrivateEndpointIPConfigurationArrayOutput
+ ToPrivateEndpointIPConfigurationArrayOutputWithContext(context.Context) PrivateEndpointIPConfigurationArrayOutput
}
-type P2SConnectionConfigurationArray []P2SConnectionConfigurationInput
+type PrivateEndpointIPConfigurationArray []PrivateEndpointIPConfigurationInput
-func (P2SConnectionConfigurationArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SConnectionConfiguration)(nil)).Elem()
+func (PrivateEndpointIPConfigurationArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateEndpointIPConfiguration)(nil)).Elem()
}
-func (i P2SConnectionConfigurationArray) ToP2SConnectionConfigurationArrayOutput() P2SConnectionConfigurationArrayOutput {
- return i.ToP2SConnectionConfigurationArrayOutputWithContext(context.Background())
+func (i PrivateEndpointIPConfigurationArray) ToPrivateEndpointIPConfigurationArrayOutput() PrivateEndpointIPConfigurationArrayOutput {
+ return i.ToPrivateEndpointIPConfigurationArrayOutputWithContext(context.Background())
}
-func (i P2SConnectionConfigurationArray) ToP2SConnectionConfigurationArrayOutputWithContext(ctx context.Context) P2SConnectionConfigurationArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(P2SConnectionConfigurationArrayOutput)
+func (i PrivateEndpointIPConfigurationArray) ToPrivateEndpointIPConfigurationArrayOutputWithContext(ctx context.Context) PrivateEndpointIPConfigurationArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointIPConfigurationArrayOutput)
}
-// P2SConnectionConfiguration Resource.
-type P2SConnectionConfigurationOutput struct{ *pulumi.OutputState }
+// An IP Configuration of the private endpoint.
+type PrivateEndpointIPConfigurationOutput struct{ *pulumi.OutputState }
-func (P2SConnectionConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SConnectionConfiguration)(nil)).Elem()
+func (PrivateEndpointIPConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateEndpointIPConfiguration)(nil)).Elem()
}
-func (o P2SConnectionConfigurationOutput) ToP2SConnectionConfigurationOutput() P2SConnectionConfigurationOutput {
+func (o PrivateEndpointIPConfigurationOutput) ToPrivateEndpointIPConfigurationOutput() PrivateEndpointIPConfigurationOutput {
return o
}
-func (o P2SConnectionConfigurationOutput) ToP2SConnectionConfigurationOutputWithContext(ctx context.Context) P2SConnectionConfigurationOutput {
+func (o PrivateEndpointIPConfigurationOutput) ToPrivateEndpointIPConfigurationOutputWithContext(ctx context.Context) PrivateEndpointIPConfigurationOutput {
return o
}
-// Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
-func (o P2SConnectionConfigurationOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v P2SConnectionConfiguration) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
-}
-
-// Resource ID.
-func (o P2SConnectionConfigurationOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SConnectionConfiguration) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The ID of a group obtained from the remote resource that this private endpoint should connect to.
+func (o PrivateEndpointIPConfigurationOutput) GroupId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointIPConfiguration) *string { return v.GroupId }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o P2SConnectionConfigurationOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SConnectionConfiguration) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The member name of a group obtained from the remote resource that this private endpoint should connect to.
+func (o PrivateEndpointIPConfigurationOutput) MemberName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointIPConfiguration) *string { return v.MemberName }).(pulumi.StringPtrOutput)
}
-// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o P2SConnectionConfigurationOutput) RoutingConfiguration() RoutingConfigurationV5PtrOutput {
- return o.ApplyT(func(v P2SConnectionConfiguration) *RoutingConfigurationV5 { return v.RoutingConfiguration }).(RoutingConfigurationV5PtrOutput)
+// The name of the resource that is unique within a resource group.
+func (o PrivateEndpointIPConfigurationOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointIPConfiguration) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The reference to the address space resource which represents Address space for P2S VpnClient.
-func (o P2SConnectionConfigurationOutput) VpnClientAddressPool() AddressSpacePtrOutput {
- return o.ApplyT(func(v P2SConnectionConfiguration) *AddressSpace { return v.VpnClientAddressPool }).(AddressSpacePtrOutput)
+// A private ip address obtained from the private endpoint's subnet.
+func (o PrivateEndpointIPConfigurationOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointIPConfiguration) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-type P2SConnectionConfigurationArrayOutput struct{ *pulumi.OutputState }
+type PrivateEndpointIPConfigurationArrayOutput struct{ *pulumi.OutputState }
-func (P2SConnectionConfigurationArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SConnectionConfiguration)(nil)).Elem()
+func (PrivateEndpointIPConfigurationArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateEndpointIPConfiguration)(nil)).Elem()
}
-func (o P2SConnectionConfigurationArrayOutput) ToP2SConnectionConfigurationArrayOutput() P2SConnectionConfigurationArrayOutput {
+func (o PrivateEndpointIPConfigurationArrayOutput) ToPrivateEndpointIPConfigurationArrayOutput() PrivateEndpointIPConfigurationArrayOutput {
return o
}
-func (o P2SConnectionConfigurationArrayOutput) ToP2SConnectionConfigurationArrayOutputWithContext(ctx context.Context) P2SConnectionConfigurationArrayOutput {
+func (o PrivateEndpointIPConfigurationArrayOutput) ToPrivateEndpointIPConfigurationArrayOutputWithContext(ctx context.Context) PrivateEndpointIPConfigurationArrayOutput {
return o
}
-func (o P2SConnectionConfigurationArrayOutput) Index(i pulumi.IntInput) P2SConnectionConfigurationOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SConnectionConfiguration {
- return vs[0].([]P2SConnectionConfiguration)[vs[1].(int)]
- }).(P2SConnectionConfigurationOutput)
+func (o PrivateEndpointIPConfigurationArrayOutput) Index(i pulumi.IntInput) PrivateEndpointIPConfigurationOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointIPConfiguration {
+ return vs[0].([]PrivateEndpointIPConfiguration)[vs[1].(int)]
+ }).(PrivateEndpointIPConfigurationOutput)
}
-// P2SConnectionConfiguration Resource.
-type P2SConnectionConfigurationResponse struct {
- // List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
- ConfigurationPolicyGroupAssociations []SubResourceResponse `pulumi:"configurationPolicyGroupAssociations"`
- // Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
+// An IP Configuration of the private endpoint.
+type PrivateEndpointIPConfigurationResponse struct {
// A unique read-only string that changes whenever the resource is updated.
Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ // The ID of a group obtained from the remote resource that this private endpoint should connect to.
+ GroupId *string `pulumi:"groupId"`
+ // The member name of a group obtained from the remote resource that this private endpoint should connect to.
+ MemberName *string `pulumi:"memberName"`
+ // The name of the resource that is unique within a resource group.
Name *string `pulumi:"name"`
- // List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
- PreviousConfigurationPolicyGroupAssociations []VpnServerConfigurationPolicyGroupResponse `pulumi:"previousConfigurationPolicyGroupAssociations"`
- // The provisioning state of the P2SConnectionConfiguration resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationResponseV5 `pulumi:"routingConfiguration"`
- // The reference to the address space resource which represents Address space for P2S VpnClient.
- VpnClientAddressPool *AddressSpaceResponse `pulumi:"vpnClientAddressPool"`
+ // A private ip address obtained from the private endpoint's subnet.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // The resource type.
+ Type string `pulumi:"type"`
}
-// P2SConnectionConfiguration Resource.
-type P2SConnectionConfigurationResponseOutput struct{ *pulumi.OutputState }
+// An IP Configuration of the private endpoint.
+type PrivateEndpointIPConfigurationResponseOutput struct{ *pulumi.OutputState }
-func (P2SConnectionConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SConnectionConfigurationResponse)(nil)).Elem()
+func (PrivateEndpointIPConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateEndpointIPConfigurationResponse)(nil)).Elem()
}
-func (o P2SConnectionConfigurationResponseOutput) ToP2SConnectionConfigurationResponseOutput() P2SConnectionConfigurationResponseOutput {
+func (o PrivateEndpointIPConfigurationResponseOutput) ToPrivateEndpointIPConfigurationResponseOutput() PrivateEndpointIPConfigurationResponseOutput {
return o
}
-func (o P2SConnectionConfigurationResponseOutput) ToP2SConnectionConfigurationResponseOutputWithContext(ctx context.Context) P2SConnectionConfigurationResponseOutput {
+func (o PrivateEndpointIPConfigurationResponseOutput) ToPrivateEndpointIPConfigurationResponseOutputWithContext(ctx context.Context) PrivateEndpointIPConfigurationResponseOutput {
return o
}
-// List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
-func (o P2SConnectionConfigurationResponseOutput) ConfigurationPolicyGroupAssociations() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponse) []SubResourceResponse {
- return v.ConfigurationPolicyGroupAssociations
- }).(SubResourceResponseArrayOutput)
-}
-
-// Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
-func (o P2SConnectionConfigurationResponseOutput) EnableInternetSecurity() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponse) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
-}
-
// A unique read-only string that changes whenever the resource is updated.
-func (o P2SConnectionConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
-
-// Resource ID.
-func (o P2SConnectionConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o PrivateEndpointIPConfigurationResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointIPConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o P2SConnectionConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The ID of a group obtained from the remote resource that this private endpoint should connect to.
+func (o PrivateEndpointIPConfigurationResponseOutput) GroupId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointIPConfigurationResponse) *string { return v.GroupId }).(pulumi.StringPtrOutput)
}
-// List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
-func (o P2SConnectionConfigurationResponseOutput) PreviousConfigurationPolicyGroupAssociations() VpnServerConfigurationPolicyGroupResponseArrayOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponse) []VpnServerConfigurationPolicyGroupResponse {
- return v.PreviousConfigurationPolicyGroupAssociations
- }).(VpnServerConfigurationPolicyGroupResponseArrayOutput)
+// The member name of a group obtained from the remote resource that this private endpoint should connect to.
+func (o PrivateEndpointIPConfigurationResponseOutput) MemberName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointIPConfigurationResponse) *string { return v.MemberName }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the P2SConnectionConfiguration resource.
-func (o P2SConnectionConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The name of the resource that is unique within a resource group.
+func (o PrivateEndpointIPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointIPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o P2SConnectionConfigurationResponseOutput) RoutingConfiguration() RoutingConfigurationResponseV5PtrOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponse) *RoutingConfigurationResponseV5 {
- return v.RoutingConfiguration
- }).(RoutingConfigurationResponseV5PtrOutput)
+// A private ip address obtained from the private endpoint's subnet.
+func (o PrivateEndpointIPConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointIPConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-// The reference to the address space resource which represents Address space for P2S VpnClient.
-func (o P2SConnectionConfigurationResponseOutput) VpnClientAddressPool() AddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponse) *AddressSpaceResponse { return v.VpnClientAddressPool }).(AddressSpaceResponsePtrOutput)
+// The resource type.
+func (o PrivateEndpointIPConfigurationResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointIPConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type P2SConnectionConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+type PrivateEndpointIPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-func (P2SConnectionConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SConnectionConfigurationResponse)(nil)).Elem()
+func (PrivateEndpointIPConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateEndpointIPConfigurationResponse)(nil)).Elem()
}
-func (o P2SConnectionConfigurationResponseArrayOutput) ToP2SConnectionConfigurationResponseArrayOutput() P2SConnectionConfigurationResponseArrayOutput {
+func (o PrivateEndpointIPConfigurationResponseArrayOutput) ToPrivateEndpointIPConfigurationResponseArrayOutput() PrivateEndpointIPConfigurationResponseArrayOutput {
return o
}
-func (o P2SConnectionConfigurationResponseArrayOutput) ToP2SConnectionConfigurationResponseArrayOutputWithContext(ctx context.Context) P2SConnectionConfigurationResponseArrayOutput {
+func (o PrivateEndpointIPConfigurationResponseArrayOutput) ToPrivateEndpointIPConfigurationResponseArrayOutputWithContext(ctx context.Context) PrivateEndpointIPConfigurationResponseArrayOutput {
return o
}
-func (o P2SConnectionConfigurationResponseArrayOutput) Index(i pulumi.IntInput) P2SConnectionConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SConnectionConfigurationResponse {
- return vs[0].([]P2SConnectionConfigurationResponse)[vs[1].(int)]
- }).(P2SConnectionConfigurationResponseOutput)
+func (o PrivateEndpointIPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) PrivateEndpointIPConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointIPConfigurationResponse {
+ return vs[0].([]PrivateEndpointIPConfigurationResponse)[vs[1].(int)]
+ }).(PrivateEndpointIPConfigurationResponseOutput)
}
-// P2SConnectionConfiguration Resource.
-type P2SConnectionConfigurationResponseV1 struct {
- // List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
- ConfigurationPolicyGroupAssociations []SubResourceResponse `pulumi:"configurationPolicyGroupAssociations"`
- // Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
+// Private endpoint resource.
+type PrivateEndpointResponse struct {
+ // Application security groups in which the private endpoint IP configuration is included.
+ ApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"applicationSecurityGroups"`
+ // An array of custom dns configurations.
+ CustomDnsConfigs []CustomDnsConfigPropertiesFormatResponse `pulumi:"customDnsConfigs"`
+ // The custom name of the network interface attached to the private endpoint.
+ CustomNetworkInterfaceName *string `pulumi:"customNetworkInterfaceName"`
// A unique read-only string that changes whenever the resource is updated.
Etag string `pulumi:"etag"`
+ // The extended location of the load balancer.
+ ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
// Resource ID.
Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
- PreviousConfigurationPolicyGroupAssociations []VpnServerConfigurationPolicyGroupResponse `pulumi:"previousConfigurationPolicyGroupAssociations"`
- // The provisioning state of the P2SConnectionConfiguration resource.
+ // A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
+ IpConfigurations []PrivateEndpointIPConfigurationResponse `pulumi:"ipConfigurations"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
+ ManualPrivateLinkServiceConnections []PrivateLinkServiceConnectionResponse `pulumi:"manualPrivateLinkServiceConnections"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // An array of references to the network interfaces created for this private endpoint.
+ NetworkInterfaces []NetworkInterfaceResponse `pulumi:"networkInterfaces"`
+ // A grouping of information about the connection to the remote resource.
+ PrivateLinkServiceConnections []PrivateLinkServiceConnectionResponse `pulumi:"privateLinkServiceConnections"`
+ // The provisioning state of the private endpoint resource.
ProvisioningState string `pulumi:"provisioningState"`
- // The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationResponseV8 `pulumi:"routingConfiguration"`
- // The reference to the address space resource which represents Address space for P2S VpnClient.
- VpnClientAddressPool *AddressSpaceResponse `pulumi:"vpnClientAddressPool"`
+ // The ID of the subnet from which the private IP will be allocated.
+ Subnet *SubnetResponse `pulumi:"subnet"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// P2SConnectionConfiguration Resource.
-type P2SConnectionConfigurationResponseV1Output struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for PrivateEndpointResponse
+func (val *PrivateEndpointResponse) Defaults() *PrivateEndpointResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.Subnet = tmp.Subnet.Defaults()
+
+ return &tmp
+}
+
+// Private endpoint resource.
+type PrivateEndpointResponseOutput struct{ *pulumi.OutputState }
-func (P2SConnectionConfigurationResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SConnectionConfigurationResponseV1)(nil)).Elem()
+func (PrivateEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateEndpointResponse)(nil)).Elem()
}
-func (o P2SConnectionConfigurationResponseV1Output) ToP2SConnectionConfigurationResponseV1Output() P2SConnectionConfigurationResponseV1Output {
+func (o PrivateEndpointResponseOutput) ToPrivateEndpointResponseOutput() PrivateEndpointResponseOutput {
return o
}
-func (o P2SConnectionConfigurationResponseV1Output) ToP2SConnectionConfigurationResponseV1OutputWithContext(ctx context.Context) P2SConnectionConfigurationResponseV1Output {
+func (o PrivateEndpointResponseOutput) ToPrivateEndpointResponseOutputWithContext(ctx context.Context) PrivateEndpointResponseOutput {
return o
}
-// List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
-func (o P2SConnectionConfigurationResponseV1Output) ConfigurationPolicyGroupAssociations() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV1) []SubResourceResponse {
- return v.ConfigurationPolicyGroupAssociations
- }).(SubResourceResponseArrayOutput)
+// Application security groups in which the private endpoint IP configuration is included.
+func (o PrivateEndpointResponseOutput) ApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointResponse) []ApplicationSecurityGroupResponse { return v.ApplicationSecurityGroups }).(ApplicationSecurityGroupResponseArrayOutput)
}
-// Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
-func (o P2SConnectionConfigurationResponseV1Output) EnableInternetSecurity() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV1) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
+// An array of custom dns configurations.
+func (o PrivateEndpointResponseOutput) CustomDnsConfigs() CustomDnsConfigPropertiesFormatResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointResponse) []CustomDnsConfigPropertiesFormatResponse { return v.CustomDnsConfigs }).(CustomDnsConfigPropertiesFormatResponseArrayOutput)
+}
+
+// The custom name of the network interface attached to the private endpoint.
+func (o PrivateEndpointResponseOutput) CustomNetworkInterfaceName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointResponse) *string { return v.CustomNetworkInterfaceName }).(pulumi.StringPtrOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o P2SConnectionConfigurationResponseV1Output) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV1) string { return v.Etag }).(pulumi.StringOutput)
+func (o PrivateEndpointResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointResponse) string { return v.Etag }).(pulumi.StringOutput)
+}
+
+// The extended location of the load balancer.
+func (o PrivateEndpointResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v PrivateEndpointResponse) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
}
// Resource ID.
-func (o P2SConnectionConfigurationResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o PrivateEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o P2SConnectionConfigurationResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
+// A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
+func (o PrivateEndpointResponseOutput) IpConfigurations() PrivateEndpointIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointResponse) []PrivateEndpointIPConfigurationResponse { return v.IpConfigurations }).(PrivateEndpointIPConfigurationResponseArrayOutput)
}
-// List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
-func (o P2SConnectionConfigurationResponseV1Output) PreviousConfigurationPolicyGroupAssociations() VpnServerConfigurationPolicyGroupResponseArrayOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV1) []VpnServerConfigurationPolicyGroupResponse {
- return v.PreviousConfigurationPolicyGroupAssociations
- }).(VpnServerConfigurationPolicyGroupResponseArrayOutput)
+// Resource location.
+func (o PrivateEndpointResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the P2SConnectionConfiguration resource.
-func (o P2SConnectionConfigurationResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
+func (o PrivateEndpointResponseOutput) ManualPrivateLinkServiceConnections() PrivateLinkServiceConnectionResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointResponse) []PrivateLinkServiceConnectionResponse {
+ return v.ManualPrivateLinkServiceConnections
+ }).(PrivateLinkServiceConnectionResponseArrayOutput)
}
-// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o P2SConnectionConfigurationResponseV1Output) RoutingConfiguration() RoutingConfigurationResponseV8PtrOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV1) *RoutingConfigurationResponseV8 {
- return v.RoutingConfiguration
- }).(RoutingConfigurationResponseV8PtrOutput)
+// Resource name.
+func (o PrivateEndpointResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// The reference to the address space resource which represents Address space for P2S VpnClient.
-func (o P2SConnectionConfigurationResponseV1Output) VpnClientAddressPool() AddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV1) *AddressSpaceResponse { return v.VpnClientAddressPool }).(AddressSpaceResponsePtrOutput)
+// An array of references to the network interfaces created for this private endpoint.
+func (o PrivateEndpointResponseOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointResponse) []NetworkInterfaceResponse { return v.NetworkInterfaces }).(NetworkInterfaceResponseArrayOutput)
+}
+
+// A grouping of information about the connection to the remote resource.
+func (o PrivateEndpointResponseOutput) PrivateLinkServiceConnections() PrivateLinkServiceConnectionResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointResponse) []PrivateLinkServiceConnectionResponse {
+ return v.PrivateLinkServiceConnections
+ }).(PrivateLinkServiceConnectionResponseArrayOutput)
+}
+
+// The provisioning state of the private endpoint resource.
+func (o PrivateEndpointResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
+
+// The ID of the subnet from which the private IP will be allocated.
+func (o PrivateEndpointResponseOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v PrivateEndpointResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
+}
+
+// Resource tags.
+func (o PrivateEndpointResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v PrivateEndpointResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+}
+
+// Resource type.
+func (o PrivateEndpointResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type P2SConnectionConfigurationResponseV1ArrayOutput struct{ *pulumi.OutputState }
+type PrivateEndpointResponseArrayOutput struct{ *pulumi.OutputState }
-func (P2SConnectionConfigurationResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SConnectionConfigurationResponseV1)(nil)).Elem()
+func (PrivateEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateEndpointResponse)(nil)).Elem()
}
-func (o P2SConnectionConfigurationResponseV1ArrayOutput) ToP2SConnectionConfigurationResponseV1ArrayOutput() P2SConnectionConfigurationResponseV1ArrayOutput {
+func (o PrivateEndpointResponseArrayOutput) ToPrivateEndpointResponseArrayOutput() PrivateEndpointResponseArrayOutput {
return o
}
-func (o P2SConnectionConfigurationResponseV1ArrayOutput) ToP2SConnectionConfigurationResponseV1ArrayOutputWithContext(ctx context.Context) P2SConnectionConfigurationResponseV1ArrayOutput {
+func (o PrivateEndpointResponseArrayOutput) ToPrivateEndpointResponseArrayOutputWithContext(ctx context.Context) PrivateEndpointResponseArrayOutput {
return o
}
-func (o P2SConnectionConfigurationResponseV1ArrayOutput) Index(i pulumi.IntInput) P2SConnectionConfigurationResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SConnectionConfigurationResponseV1 {
- return vs[0].([]P2SConnectionConfigurationResponseV1)[vs[1].(int)]
- }).(P2SConnectionConfigurationResponseV1Output)
+func (o PrivateEndpointResponseArrayOutput) Index(i pulumi.IntInput) PrivateEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointResponse {
+ return vs[0].([]PrivateEndpointResponse)[vs[1].(int)]
+ }).(PrivateEndpointResponseOutput)
}
-// P2SConnectionConfiguration Resource.
-type P2SConnectionConfigurationResponseV2 struct {
- // List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
- ConfigurationPolicyGroupAssociations []SubResourceResponse `pulumi:"configurationPolicyGroupAssociations"`
- // Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
- EnableInternetSecurity *bool `pulumi:"enableInternetSecurity"`
+// Private endpoint resource.
+type PrivateEndpointServiceGatewayResponse struct {
+ // Application security groups in which the private endpoint IP configuration is included.
+ ApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"applicationSecurityGroups"`
+ // An array of custom dns configurations.
+ CustomDnsConfigs []CustomDnsConfigPropertiesFormatResponse `pulumi:"customDnsConfigs"`
+ // The custom name of the network interface attached to the private endpoint.
+ CustomNetworkInterfaceName *string `pulumi:"customNetworkInterfaceName"`
// A unique read-only string that changes whenever the resource is updated.
Etag string `pulumi:"etag"`
+ // The extended location of the load balancer.
+ ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
// Resource ID.
Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
- PreviousConfigurationPolicyGroupAssociations []VpnServerConfigurationPolicyGroupResponse `pulumi:"previousConfigurationPolicyGroupAssociations"`
- // The provisioning state of the P2SConnectionConfiguration resource.
+ // A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
+ IpConfigurations []PrivateEndpointIPConfigurationResponse `pulumi:"ipConfigurations"`
+ // Specifies the IP version type for the private IPs of the private endpoint. If not defined, this defaults to IPv4.
+ IpVersionType *string `pulumi:"ipVersionType"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
+ ManualPrivateLinkServiceConnections []PrivateLinkServiceConnectionResponse `pulumi:"manualPrivateLinkServiceConnections"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // An array of references to the network interfaces created for this private endpoint.
+ NetworkInterfaces []NetworkInterfaceResponse `pulumi:"networkInterfaces"`
+ // A grouping of information about the connection to the remote resource.
+ PrivateLinkServiceConnections []PrivateLinkServiceConnectionResponse `pulumi:"privateLinkServiceConnections"`
+ // The provisioning state of the private endpoint resource.
ProvisioningState string `pulumi:"provisioningState"`
- // The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationResponseV9 `pulumi:"routingConfiguration"`
- // The reference to the address space resource which represents Address space for P2S VpnClient.
- VpnClientAddressPool *AddressSpaceResponse `pulumi:"vpnClientAddressPool"`
+ // The ID of the subnet from which the private IP will be allocated.
+ Subnet *SubnetResponse `pulumi:"subnet"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// P2SConnectionConfiguration Resource.
-type P2SConnectionConfigurationResponseV2Output struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for PrivateEndpointServiceGatewayResponse
+func (val *PrivateEndpointServiceGatewayResponse) Defaults() *PrivateEndpointServiceGatewayResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.IpVersionType == nil {
+ ipVersionType_ := "IPv4"
+ tmp.IpVersionType = &ipVersionType_
+ }
+ tmp.Subnet = tmp.Subnet.Defaults()
+
+ return &tmp
+}
-func (P2SConnectionConfigurationResponseV2Output) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SConnectionConfigurationResponseV2)(nil)).Elem()
+// Private endpoint resource.
+type PrivateEndpointServiceGatewayResponseOutput struct{ *pulumi.OutputState }
+
+func (PrivateEndpointServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateEndpointServiceGatewayResponse)(nil)).Elem()
}
-func (o P2SConnectionConfigurationResponseV2Output) ToP2SConnectionConfigurationResponseV2Output() P2SConnectionConfigurationResponseV2Output {
+func (o PrivateEndpointServiceGatewayResponseOutput) ToPrivateEndpointServiceGatewayResponseOutput() PrivateEndpointServiceGatewayResponseOutput {
return o
}
-func (o P2SConnectionConfigurationResponseV2Output) ToP2SConnectionConfigurationResponseV2OutputWithContext(ctx context.Context) P2SConnectionConfigurationResponseV2Output {
+func (o PrivateEndpointServiceGatewayResponseOutput) ToPrivateEndpointServiceGatewayResponseOutputWithContext(ctx context.Context) PrivateEndpointServiceGatewayResponseOutput {
return o
}
-// List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.
-func (o P2SConnectionConfigurationResponseV2Output) ConfigurationPolicyGroupAssociations() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV2) []SubResourceResponse {
- return v.ConfigurationPolicyGroupAssociations
- }).(SubResourceResponseArrayOutput)
+// Application security groups in which the private endpoint IP configuration is included.
+func (o PrivateEndpointServiceGatewayResponseOutput) ApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) []ApplicationSecurityGroupResponse {
+ return v.ApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
}
-// Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
-func (o P2SConnectionConfigurationResponseV2Output) EnableInternetSecurity() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV2) *bool { return v.EnableInternetSecurity }).(pulumi.BoolPtrOutput)
+// An array of custom dns configurations.
+func (o PrivateEndpointServiceGatewayResponseOutput) CustomDnsConfigs() CustomDnsConfigPropertiesFormatResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) []CustomDnsConfigPropertiesFormatResponse {
+ return v.CustomDnsConfigs
+ }).(CustomDnsConfigPropertiesFormatResponseArrayOutput)
+}
+
+// The custom name of the network interface attached to the private endpoint.
+func (o PrivateEndpointServiceGatewayResponseOutput) CustomNetworkInterfaceName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) *string { return v.CustomNetworkInterfaceName }).(pulumi.StringPtrOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o P2SConnectionConfigurationResponseV2Output) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV2) string { return v.Etag }).(pulumi.StringOutput)
+func (o PrivateEndpointServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
+}
+
+// The extended location of the load balancer.
+func (o PrivateEndpointServiceGatewayResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
}
// Resource ID.
-func (o P2SConnectionConfigurationResponseV2Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV2) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o PrivateEndpointServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o P2SConnectionConfigurationResponseV2Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV2) *string { return v.Name }).(pulumi.StringPtrOutput)
+// A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
+func (o PrivateEndpointServiceGatewayResponseOutput) IpConfigurations() PrivateEndpointIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) []PrivateEndpointIPConfigurationResponse {
+ return v.IpConfigurations
+ }).(PrivateEndpointIPConfigurationResponseArrayOutput)
}
-// List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.
-func (o P2SConnectionConfigurationResponseV2Output) PreviousConfigurationPolicyGroupAssociations() VpnServerConfigurationPolicyGroupResponseArrayOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV2) []VpnServerConfigurationPolicyGroupResponse {
- return v.PreviousConfigurationPolicyGroupAssociations
- }).(VpnServerConfigurationPolicyGroupResponseArrayOutput)
+// Specifies the IP version type for the private IPs of the private endpoint. If not defined, this defaults to IPv4.
+func (o PrivateEndpointServiceGatewayResponseOutput) IpVersionType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) *string { return v.IpVersionType }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the P2SConnectionConfiguration resource.
-func (o P2SConnectionConfigurationResponseV2Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV2) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Resource location.
+func (o PrivateEndpointServiceGatewayResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o P2SConnectionConfigurationResponseV2Output) RoutingConfiguration() RoutingConfigurationResponseV9PtrOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV2) *RoutingConfigurationResponseV9 {
- return v.RoutingConfiguration
- }).(RoutingConfigurationResponseV9PtrOutput)
+// A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
+func (o PrivateEndpointServiceGatewayResponseOutput) ManualPrivateLinkServiceConnections() PrivateLinkServiceConnectionResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) []PrivateLinkServiceConnectionResponse {
+ return v.ManualPrivateLinkServiceConnections
+ }).(PrivateLinkServiceConnectionResponseArrayOutput)
}
-// The reference to the address space resource which represents Address space for P2S VpnClient.
-func (o P2SConnectionConfigurationResponseV2Output) VpnClientAddressPool() AddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v P2SConnectionConfigurationResponseV2) *AddressSpaceResponse { return v.VpnClientAddressPool }).(AddressSpaceResponsePtrOutput)
+// Resource name.
+func (o PrivateEndpointServiceGatewayResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
+}
+
+// An array of references to the network interfaces created for this private endpoint.
+func (o PrivateEndpointServiceGatewayResponseOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) []NetworkInterfaceResponse { return v.NetworkInterfaces }).(NetworkInterfaceResponseArrayOutput)
+}
+
+// A grouping of information about the connection to the remote resource.
+func (o PrivateEndpointServiceGatewayResponseOutput) PrivateLinkServiceConnections() PrivateLinkServiceConnectionResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) []PrivateLinkServiceConnectionResponse {
+ return v.PrivateLinkServiceConnections
+ }).(PrivateLinkServiceConnectionResponseArrayOutput)
+}
+
+// The provisioning state of the private endpoint resource.
+func (o PrivateEndpointServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
+
+// The ID of the subnet from which the private IP will be allocated.
+func (o PrivateEndpointServiceGatewayResponseOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
+}
+
+// Resource tags.
+func (o PrivateEndpointServiceGatewayResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-type P2SConnectionConfigurationResponseV2ArrayOutput struct{ *pulumi.OutputState }
+// Resource type.
+func (o PrivateEndpointServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
+}
-func (P2SConnectionConfigurationResponseV2ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SConnectionConfigurationResponseV2)(nil)).Elem()
+type PrivateEndpointServiceGatewayResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (PrivateEndpointServiceGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateEndpointServiceGatewayResponse)(nil)).Elem()
}
-func (o P2SConnectionConfigurationResponseV2ArrayOutput) ToP2SConnectionConfigurationResponseV2ArrayOutput() P2SConnectionConfigurationResponseV2ArrayOutput {
+func (o PrivateEndpointServiceGatewayResponseArrayOutput) ToPrivateEndpointServiceGatewayResponseArrayOutput() PrivateEndpointServiceGatewayResponseArrayOutput {
return o
}
-func (o P2SConnectionConfigurationResponseV2ArrayOutput) ToP2SConnectionConfigurationResponseV2ArrayOutputWithContext(ctx context.Context) P2SConnectionConfigurationResponseV2ArrayOutput {
+func (o PrivateEndpointServiceGatewayResponseArrayOutput) ToPrivateEndpointServiceGatewayResponseArrayOutputWithContext(ctx context.Context) PrivateEndpointServiceGatewayResponseArrayOutput {
return o
}
-func (o P2SConnectionConfigurationResponseV2ArrayOutput) Index(i pulumi.IntInput) P2SConnectionConfigurationResponseV2Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SConnectionConfigurationResponseV2 {
- return vs[0].([]P2SConnectionConfigurationResponseV2)[vs[1].(int)]
- }).(P2SConnectionConfigurationResponseV2Output)
+func (o PrivateEndpointServiceGatewayResponseArrayOutput) Index(i pulumi.IntInput) PrivateEndpointServiceGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointServiceGatewayResponse {
+ return vs[0].([]PrivateEndpointServiceGatewayResponse)[vs[1].(int)]
+ }).(PrivateEndpointServiceGatewayResponseOutput)
}
-// P2SVpnGateway Resource.
-type P2SVpnGatewayResponse struct {
- // List of all customer specified DNS servers IP addresses.
- CustomDnsServers []string `pulumi:"customDnsServers"`
+// Private endpoint resource.
+type PrivateEndpointVirtualNetworkApplianceResponse struct {
+ // Application security groups in which the private endpoint IP configuration is included.
+ ApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"applicationSecurityGroups"`
+ // An array of custom dns configurations.
+ CustomDnsConfigs []CustomDnsConfigPropertiesFormatResponse `pulumi:"customDnsConfigs"`
+ // The custom name of the network interface attached to the private endpoint.
+ CustomNetworkInterfaceName *string `pulumi:"customNetworkInterfaceName"`
// A unique read-only string that changes whenever the resource is updated.
Etag string `pulumi:"etag"`
+ // The extended location of the load balancer.
+ ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
// Resource ID.
Id *string `pulumi:"id"`
- // Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.
- IsRoutingPreferenceInternet *bool `pulumi:"isRoutingPreferenceInternet"`
+ // A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
+ IpConfigurations []PrivateEndpointIPConfigurationResponse `pulumi:"ipConfigurations"`
+ // Specifies the IP version type for the private IPs of the private endpoint. If not defined, this defaults to IPv4.
+ IpVersionType *string `pulumi:"ipVersionType"`
// Resource location.
- Location string `pulumi:"location"`
+ Location *string `pulumi:"location"`
+ // A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
+ ManualPrivateLinkServiceConnections []PrivateLinkServiceConnectionResponse `pulumi:"manualPrivateLinkServiceConnections"`
// Resource name.
Name string `pulumi:"name"`
- // List of all p2s connection configurations of the gateway.
- P2SConnectionConfigurations []P2SConnectionConfigurationResponseV1 `pulumi:"p2SConnectionConfigurations"`
- // The provisioning state of the P2S VPN gateway resource.
+ // An array of references to the network interfaces created for this private endpoint.
+ NetworkInterfaces []NetworkInterfaceResponse `pulumi:"networkInterfaces"`
+ // A grouping of information about the connection to the remote resource.
+ PrivateLinkServiceConnections []PrivateLinkServiceConnectionResponse `pulumi:"privateLinkServiceConnections"`
+ // The provisioning state of the private endpoint resource.
ProvisioningState string `pulumi:"provisioningState"`
+ // The ID of the subnet from which the private IP will be allocated.
+ Subnet *SubnetResponse `pulumi:"subnet"`
// Resource tags.
Tags map[string]string `pulumi:"tags"`
// Resource type.
Type string `pulumi:"type"`
- // The VirtualHub to which the gateway belongs.
- VirtualHub *SubResourceResponse `pulumi:"virtualHub"`
- // All P2S VPN clients' connection health status.
- VpnClientConnectionHealth VpnClientConnectionHealthResponse `pulumi:"vpnClientConnectionHealth"`
- // The scale unit for this p2s vpn gateway.
- VpnGatewayScaleUnit *int `pulumi:"vpnGatewayScaleUnit"`
- // The VpnServerConfiguration to which the p2sVpnGateway is attached to.
- VpnServerConfiguration *SubResourceResponse `pulumi:"vpnServerConfiguration"`
}
-// P2SVpnGateway Resource.
-type P2SVpnGatewayResponseOutput struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for PrivateEndpointVirtualNetworkApplianceResponse
+func (val *PrivateEndpointVirtualNetworkApplianceResponse) Defaults() *PrivateEndpointVirtualNetworkApplianceResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.IpVersionType == nil {
+ ipVersionType_ := "IPv4"
+ tmp.IpVersionType = &ipVersionType_
+ }
+ tmp.Subnet = tmp.Subnet.Defaults()
-func (P2SVpnGatewayResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SVpnGatewayResponse)(nil)).Elem()
+ return &tmp
}
-func (o P2SVpnGatewayResponseOutput) ToP2SVpnGatewayResponseOutput() P2SVpnGatewayResponseOutput {
+// Private endpoint resource.
+type PrivateEndpointVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
+
+func (PrivateEndpointVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateEndpointVirtualNetworkApplianceResponse)(nil)).Elem()
+}
+
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) ToPrivateEndpointVirtualNetworkApplianceResponseOutput() PrivateEndpointVirtualNetworkApplianceResponseOutput {
return o
}
-func (o P2SVpnGatewayResponseOutput) ToP2SVpnGatewayResponseOutputWithContext(ctx context.Context) P2SVpnGatewayResponseOutput {
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) ToPrivateEndpointVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) PrivateEndpointVirtualNetworkApplianceResponseOutput {
return o
}
-// List of all customer specified DNS servers IP addresses.
-func (o P2SVpnGatewayResponseOutput) CustomDnsServers() pulumi.StringArrayOutput {
- return o.ApplyT(func(v P2SVpnGatewayResponse) []string { return v.CustomDnsServers }).(pulumi.StringArrayOutput)
+// Application security groups in which the private endpoint IP configuration is included.
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) ApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) []ApplicationSecurityGroupResponse {
+ return v.ApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
+}
+
+// An array of custom dns configurations.
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) CustomDnsConfigs() CustomDnsConfigPropertiesFormatResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) []CustomDnsConfigPropertiesFormatResponse {
+ return v.CustomDnsConfigs
+ }).(CustomDnsConfigPropertiesFormatResponseArrayOutput)
+}
+
+// The custom name of the network interface attached to the private endpoint.
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) CustomNetworkInterfaceName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) *string { return v.CustomNetworkInterfaceName }).(pulumi.StringPtrOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o P2SVpnGatewayResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v P2SVpnGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
+}
+
+// The extended location of the load balancer.
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) *ExtendedLocationResponse {
+ return v.ExtendedLocation
+ }).(ExtendedLocationResponsePtrOutput)
}
// Resource ID.
-func (o P2SVpnGatewayResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.
-func (o P2SVpnGatewayResponseOutput) IsRoutingPreferenceInternet() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v P2SVpnGatewayResponse) *bool { return v.IsRoutingPreferenceInternet }).(pulumi.BoolPtrOutput)
+// A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) IpConfigurations() PrivateEndpointIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) []PrivateEndpointIPConfigurationResponse {
+ return v.IpConfigurations
+ }).(PrivateEndpointIPConfigurationResponseArrayOutput)
}
-// Resource location.
-func (o P2SVpnGatewayResponseOutput) Location() pulumi.StringOutput {
- return o.ApplyT(func(v P2SVpnGatewayResponse) string { return v.Location }).(pulumi.StringOutput)
+// Specifies the IP version type for the private IPs of the private endpoint. If not defined, this defaults to IPv4.
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) IpVersionType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) *string { return v.IpVersionType }).(pulumi.StringPtrOutput)
}
-// Resource name.
-func (o P2SVpnGatewayResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v P2SVpnGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
+// Resource location.
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// List of all p2s connection configurations of the gateway.
-func (o P2SVpnGatewayResponseOutput) P2SConnectionConfigurations() P2SConnectionConfigurationResponseV1ArrayOutput {
- return o.ApplyT(func(v P2SVpnGatewayResponse) []P2SConnectionConfigurationResponseV1 {
- return v.P2SConnectionConfigurations
- }).(P2SConnectionConfigurationResponseV1ArrayOutput)
+// A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) ManualPrivateLinkServiceConnections() PrivateLinkServiceConnectionResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) []PrivateLinkServiceConnectionResponse {
+ return v.ManualPrivateLinkServiceConnections
+ }).(PrivateLinkServiceConnectionResponseArrayOutput)
}
-// The provisioning state of the P2S VPN gateway resource.
-func (o P2SVpnGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v P2SVpnGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Resource name.
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// Resource tags.
-func (o P2SVpnGatewayResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v P2SVpnGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// An array of references to the network interfaces created for this private endpoint.
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) []NetworkInterfaceResponse {
+ return v.NetworkInterfaces
+ }).(NetworkInterfaceResponseArrayOutput)
}
-// Resource type.
-func (o P2SVpnGatewayResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v P2SVpnGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
+// A grouping of information about the connection to the remote resource.
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) PrivateLinkServiceConnections() PrivateLinkServiceConnectionResponseArrayOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) []PrivateLinkServiceConnectionResponse {
+ return v.PrivateLinkServiceConnections
+ }).(PrivateLinkServiceConnectionResponseArrayOutput)
}
-// The VirtualHub to which the gateway belongs.
-func (o P2SVpnGatewayResponseOutput) VirtualHub() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v P2SVpnGatewayResponse) *SubResourceResponse { return v.VirtualHub }).(SubResourceResponsePtrOutput)
+// The provisioning state of the private endpoint resource.
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// All P2S VPN clients' connection health status.
-func (o P2SVpnGatewayResponseOutput) VpnClientConnectionHealth() VpnClientConnectionHealthResponseOutput {
- return o.ApplyT(func(v P2SVpnGatewayResponse) VpnClientConnectionHealthResponse { return v.VpnClientConnectionHealth }).(VpnClientConnectionHealthResponseOutput)
+// The ID of the subnet from which the private IP will be allocated.
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
}
-// The scale unit for this p2s vpn gateway.
-func (o P2SVpnGatewayResponseOutput) VpnGatewayScaleUnit() pulumi.IntPtrOutput {
- return o.ApplyT(func(v P2SVpnGatewayResponse) *int { return v.VpnGatewayScaleUnit }).(pulumi.IntPtrOutput)
+// Resource tags.
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// The VpnServerConfiguration to which the p2sVpnGateway is attached to.
-func (o P2SVpnGatewayResponseOutput) VpnServerConfiguration() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v P2SVpnGatewayResponse) *SubResourceResponse { return v.VpnServerConfiguration }).(SubResourceResponsePtrOutput)
+// Resource type.
+func (o PrivateEndpointVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateEndpointVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type P2SVpnGatewayResponseArrayOutput struct{ *pulumi.OutputState }
+type PrivateEndpointVirtualNetworkApplianceResponseArrayOutput struct{ *pulumi.OutputState }
-func (P2SVpnGatewayResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SVpnGatewayResponse)(nil)).Elem()
+func (PrivateEndpointVirtualNetworkApplianceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateEndpointVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o P2SVpnGatewayResponseArrayOutput) ToP2SVpnGatewayResponseArrayOutput() P2SVpnGatewayResponseArrayOutput {
+func (o PrivateEndpointVirtualNetworkApplianceResponseArrayOutput) ToPrivateEndpointVirtualNetworkApplianceResponseArrayOutput() PrivateEndpointVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o P2SVpnGatewayResponseArrayOutput) ToP2SVpnGatewayResponseArrayOutputWithContext(ctx context.Context) P2SVpnGatewayResponseArrayOutput {
+func (o PrivateEndpointVirtualNetworkApplianceResponseArrayOutput) ToPrivateEndpointVirtualNetworkApplianceResponseArrayOutputWithContext(ctx context.Context) PrivateEndpointVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o P2SVpnGatewayResponseArrayOutput) Index(i pulumi.IntInput) P2SVpnGatewayResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnGatewayResponse {
- return vs[0].([]P2SVpnGatewayResponse)[vs[1].(int)]
- }).(P2SVpnGatewayResponseOutput)
+func (o PrivateEndpointVirtualNetworkApplianceResponseArrayOutput) Index(i pulumi.IntInput) PrivateEndpointVirtualNetworkApplianceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointVirtualNetworkApplianceResponse {
+ return vs[0].([]PrivateEndpointVirtualNetworkApplianceResponse)[vs[1].(int)]
+ }).(PrivateEndpointVirtualNetworkApplianceResponseOutput)
}
-// Radius client root certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigRadiusClientRootCertificate struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
+// Private link service resource.
+type PrivateLinkServiceType struct {
+ // The auto-approval list of the private link service.
+ AutoApproval *PrivateLinkServicePropertiesAutoApproval `pulumi:"autoApproval"`
+ // The destination IP address of the private link service.
+ DestinationIPAddress *string `pulumi:"destinationIPAddress"`
+ // Whether the private link service is enabled for proxy protocol or not.
+ EnableProxyProtocol *bool `pulumi:"enableProxyProtocol"`
+ // The extended location of the load balancer.
+ ExtendedLocation *ExtendedLocation `pulumi:"extendedLocation"`
+ // The list of Fqdn.
+ Fqdns []string `pulumi:"fqdns"`
// Resource ID.
Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The Radius client root certificate thumbprint.
- Thumbprint *string `pulumi:"thumbprint"`
+ // An array of private link service IP configurations.
+ IpConfigurations []PrivateLinkServiceIpConfiguration `pulumi:"ipConfigurations"`
+ // An array of references to the load balancer IP configurations.
+ LoadBalancerFrontendIpConfigurations []FrontendIPConfiguration `pulumi:"loadBalancerFrontendIpConfigurations"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // The visibility list of the private link service.
+ Visibility *PrivateLinkServicePropertiesVisibility `pulumi:"visibility"`
}
-// P2SVpnServerConfigRadiusClientRootCertificateInput is an input type that accepts P2SVpnServerConfigRadiusClientRootCertificateArgs and P2SVpnServerConfigRadiusClientRootCertificateOutput values.
-// You can construct a concrete instance of `P2SVpnServerConfigRadiusClientRootCertificateInput` via:
+// PrivateLinkServiceTypeInput is an input type that accepts PrivateLinkServiceTypeArgs and PrivateLinkServiceTypeOutput values.
+// You can construct a concrete instance of `PrivateLinkServiceTypeInput` via:
//
-// P2SVpnServerConfigRadiusClientRootCertificateArgs{...}
-type P2SVpnServerConfigRadiusClientRootCertificateInput interface {
+// PrivateLinkServiceTypeArgs{...}
+type PrivateLinkServiceTypeInput interface {
pulumi.Input
- ToP2SVpnServerConfigRadiusClientRootCertificateOutput() P2SVpnServerConfigRadiusClientRootCertificateOutput
- ToP2SVpnServerConfigRadiusClientRootCertificateOutputWithContext(context.Context) P2SVpnServerConfigRadiusClientRootCertificateOutput
+ ToPrivateLinkServiceTypeOutput() PrivateLinkServiceTypeOutput
+ ToPrivateLinkServiceTypeOutputWithContext(context.Context) PrivateLinkServiceTypeOutput
}
-// Radius client root certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigRadiusClientRootCertificateArgs struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag pulumi.StringPtrInput `pulumi:"etag"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The Radius client root certificate thumbprint.
- Thumbprint pulumi.StringPtrInput `pulumi:"thumbprint"`
+// Private link service resource.
+type PrivateLinkServiceTypeArgs struct {
+ // The auto-approval list of the private link service.
+ AutoApproval PrivateLinkServicePropertiesAutoApprovalPtrInput `pulumi:"autoApproval"`
+ // The destination IP address of the private link service.
+ DestinationIPAddress pulumi.StringPtrInput `pulumi:"destinationIPAddress"`
+ // Whether the private link service is enabled for proxy protocol or not.
+ EnableProxyProtocol pulumi.BoolPtrInput `pulumi:"enableProxyProtocol"`
+ // The extended location of the load balancer.
+ ExtendedLocation ExtendedLocationPtrInput `pulumi:"extendedLocation"`
+ // The list of Fqdn.
+ Fqdns pulumi.StringArrayInput `pulumi:"fqdns"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // An array of private link service IP configurations.
+ IpConfigurations PrivateLinkServiceIpConfigurationArrayInput `pulumi:"ipConfigurations"`
+ // An array of references to the load balancer IP configurations.
+ LoadBalancerFrontendIpConfigurations FrontendIPConfigurationArrayInput `pulumi:"loadBalancerFrontendIpConfigurations"`
+ // Resource location.
+ Location pulumi.StringPtrInput `pulumi:"location"`
+ // Resource tags.
+ Tags pulumi.StringMapInput `pulumi:"tags"`
+ // The visibility list of the private link service.
+ Visibility PrivateLinkServicePropertiesVisibilityPtrInput `pulumi:"visibility"`
}
-func (P2SVpnServerConfigRadiusClientRootCertificateArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SVpnServerConfigRadiusClientRootCertificate)(nil)).Elem()
+func (PrivateLinkServiceTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServiceType)(nil)).Elem()
}
-func (i P2SVpnServerConfigRadiusClientRootCertificateArgs) ToP2SVpnServerConfigRadiusClientRootCertificateOutput() P2SVpnServerConfigRadiusClientRootCertificateOutput {
- return i.ToP2SVpnServerConfigRadiusClientRootCertificateOutputWithContext(context.Background())
+func (i PrivateLinkServiceTypeArgs) ToPrivateLinkServiceTypeOutput() PrivateLinkServiceTypeOutput {
+ return i.ToPrivateLinkServiceTypeOutputWithContext(context.Background())
}
-func (i P2SVpnServerConfigRadiusClientRootCertificateArgs) ToP2SVpnServerConfigRadiusClientRootCertificateOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusClientRootCertificateOutput {
- return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigRadiusClientRootCertificateOutput)
+func (i PrivateLinkServiceTypeArgs) ToPrivateLinkServiceTypeOutputWithContext(ctx context.Context) PrivateLinkServiceTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceTypeOutput)
}
-// P2SVpnServerConfigRadiusClientRootCertificateArrayInput is an input type that accepts P2SVpnServerConfigRadiusClientRootCertificateArray and P2SVpnServerConfigRadiusClientRootCertificateArrayOutput values.
-// You can construct a concrete instance of `P2SVpnServerConfigRadiusClientRootCertificateArrayInput` via:
+func (i PrivateLinkServiceTypeArgs) ToPrivateLinkServiceTypePtrOutput() PrivateLinkServiceTypePtrOutput {
+ return i.ToPrivateLinkServiceTypePtrOutputWithContext(context.Background())
+}
+
+func (i PrivateLinkServiceTypeArgs) ToPrivateLinkServiceTypePtrOutputWithContext(ctx context.Context) PrivateLinkServiceTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceTypeOutput).ToPrivateLinkServiceTypePtrOutputWithContext(ctx)
+}
+
+// PrivateLinkServiceTypePtrInput is an input type that accepts PrivateLinkServiceTypeArgs, PrivateLinkServiceTypePtr and PrivateLinkServiceTypePtrOutput values.
+// You can construct a concrete instance of `PrivateLinkServiceTypePtrInput` via:
//
-// P2SVpnServerConfigRadiusClientRootCertificateArray{ P2SVpnServerConfigRadiusClientRootCertificateArgs{...} }
-type P2SVpnServerConfigRadiusClientRootCertificateArrayInput interface {
+// PrivateLinkServiceTypeArgs{...}
+//
+// or:
+//
+// nil
+type PrivateLinkServiceTypePtrInput interface {
pulumi.Input
- ToP2SVpnServerConfigRadiusClientRootCertificateArrayOutput() P2SVpnServerConfigRadiusClientRootCertificateArrayOutput
- ToP2SVpnServerConfigRadiusClientRootCertificateArrayOutputWithContext(context.Context) P2SVpnServerConfigRadiusClientRootCertificateArrayOutput
+ ToPrivateLinkServiceTypePtrOutput() PrivateLinkServiceTypePtrOutput
+ ToPrivateLinkServiceTypePtrOutputWithContext(context.Context) PrivateLinkServiceTypePtrOutput
}
-type P2SVpnServerConfigRadiusClientRootCertificateArray []P2SVpnServerConfigRadiusClientRootCertificateInput
+type privateLinkServiceTypePtrType PrivateLinkServiceTypeArgs
-func (P2SVpnServerConfigRadiusClientRootCertificateArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SVpnServerConfigRadiusClientRootCertificate)(nil)).Elem()
+func PrivateLinkServiceTypePtr(v *PrivateLinkServiceTypeArgs) PrivateLinkServiceTypePtrInput {
+ return (*privateLinkServiceTypePtrType)(v)
}
-func (i P2SVpnServerConfigRadiusClientRootCertificateArray) ToP2SVpnServerConfigRadiusClientRootCertificateArrayOutput() P2SVpnServerConfigRadiusClientRootCertificateArrayOutput {
- return i.ToP2SVpnServerConfigRadiusClientRootCertificateArrayOutputWithContext(context.Background())
+func (*privateLinkServiceTypePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrivateLinkServiceType)(nil)).Elem()
}
-func (i P2SVpnServerConfigRadiusClientRootCertificateArray) ToP2SVpnServerConfigRadiusClientRootCertificateArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusClientRootCertificateArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigRadiusClientRootCertificateArrayOutput)
+func (i *privateLinkServiceTypePtrType) ToPrivateLinkServiceTypePtrOutput() PrivateLinkServiceTypePtrOutput {
+ return i.ToPrivateLinkServiceTypePtrOutputWithContext(context.Background())
}
-// Radius client root certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigRadiusClientRootCertificateOutput struct{ *pulumi.OutputState }
+func (i *privateLinkServiceTypePtrType) ToPrivateLinkServiceTypePtrOutputWithContext(ctx context.Context) PrivateLinkServiceTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceTypePtrOutput)
+}
-func (P2SVpnServerConfigRadiusClientRootCertificateOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SVpnServerConfigRadiusClientRootCertificate)(nil)).Elem()
+// Private link service resource.
+type PrivateLinkServiceTypeOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServiceTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServiceType)(nil)).Elem()
}
-func (o P2SVpnServerConfigRadiusClientRootCertificateOutput) ToP2SVpnServerConfigRadiusClientRootCertificateOutput() P2SVpnServerConfigRadiusClientRootCertificateOutput {
+func (o PrivateLinkServiceTypeOutput) ToPrivateLinkServiceTypeOutput() PrivateLinkServiceTypeOutput {
return o
}
-func (o P2SVpnServerConfigRadiusClientRootCertificateOutput) ToP2SVpnServerConfigRadiusClientRootCertificateOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusClientRootCertificateOutput {
+func (o PrivateLinkServiceTypeOutput) ToPrivateLinkServiceTypeOutputWithContext(ctx context.Context) PrivateLinkServiceTypeOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o P2SVpnServerConfigRadiusClientRootCertificateOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificate) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (o PrivateLinkServiceTypeOutput) ToPrivateLinkServiceTypePtrOutput() PrivateLinkServiceTypePtrOutput {
+ return o.ToPrivateLinkServiceTypePtrOutputWithContext(context.Background())
}
-// Resource ID.
-func (o P2SVpnServerConfigRadiusClientRootCertificateOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificate) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o PrivateLinkServiceTypeOutput) ToPrivateLinkServiceTypePtrOutputWithContext(ctx context.Context) PrivateLinkServiceTypePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v PrivateLinkServiceType) *PrivateLinkServiceType {
+ return &v
+ }).(PrivateLinkServiceTypePtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o P2SVpnServerConfigRadiusClientRootCertificateOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificate) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The auto-approval list of the private link service.
+func (o PrivateLinkServiceTypeOutput) AutoApproval() PrivateLinkServicePropertiesAutoApprovalPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceType) *PrivateLinkServicePropertiesAutoApproval { return v.AutoApproval }).(PrivateLinkServicePropertiesAutoApprovalPtrOutput)
}
-// The Radius client root certificate thumbprint.
-func (o P2SVpnServerConfigRadiusClientRootCertificateOutput) Thumbprint() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificate) *string { return v.Thumbprint }).(pulumi.StringPtrOutput)
+// The destination IP address of the private link service.
+func (o PrivateLinkServiceTypeOutput) DestinationIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceType) *string { return v.DestinationIPAddress }).(pulumi.StringPtrOutput)
}
-type P2SVpnServerConfigRadiusClientRootCertificateArrayOutput struct{ *pulumi.OutputState }
+// Whether the private link service is enabled for proxy protocol or not.
+func (o PrivateLinkServiceTypeOutput) EnableProxyProtocol() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceType) *bool { return v.EnableProxyProtocol }).(pulumi.BoolPtrOutput)
+}
-func (P2SVpnServerConfigRadiusClientRootCertificateArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SVpnServerConfigRadiusClientRootCertificate)(nil)).Elem()
+// The extended location of the load balancer.
+func (o PrivateLinkServiceTypeOutput) ExtendedLocation() ExtendedLocationPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceType) *ExtendedLocation { return v.ExtendedLocation }).(ExtendedLocationPtrOutput)
}
-func (o P2SVpnServerConfigRadiusClientRootCertificateArrayOutput) ToP2SVpnServerConfigRadiusClientRootCertificateArrayOutput() P2SVpnServerConfigRadiusClientRootCertificateArrayOutput {
- return o
+// The list of Fqdn.
+func (o PrivateLinkServiceTypeOutput) Fqdns() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceType) []string { return v.Fqdns }).(pulumi.StringArrayOutput)
}
-func (o P2SVpnServerConfigRadiusClientRootCertificateArrayOutput) ToP2SVpnServerConfigRadiusClientRootCertificateArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusClientRootCertificateArrayOutput {
- return o
+// Resource ID.
+func (o PrivateLinkServiceTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o P2SVpnServerConfigRadiusClientRootCertificateArrayOutput) Index(i pulumi.IntInput) P2SVpnServerConfigRadiusClientRootCertificateOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnServerConfigRadiusClientRootCertificate {
- return vs[0].([]P2SVpnServerConfigRadiusClientRootCertificate)[vs[1].(int)]
- }).(P2SVpnServerConfigRadiusClientRootCertificateOutput)
+// An array of private link service IP configurations.
+func (o PrivateLinkServiceTypeOutput) IpConfigurations() PrivateLinkServiceIpConfigurationArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceType) []PrivateLinkServiceIpConfiguration { return v.IpConfigurations }).(PrivateLinkServiceIpConfigurationArrayOutput)
}
-// Radius client root certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigRadiusClientRootCertificateResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the radius client root certificate resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The Radius client root certificate thumbprint.
- Thumbprint *string `pulumi:"thumbprint"`
+// An array of references to the load balancer IP configurations.
+func (o PrivateLinkServiceTypeOutput) LoadBalancerFrontendIpConfigurations() FrontendIPConfigurationArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceType) []FrontendIPConfiguration {
+ return v.LoadBalancerFrontendIpConfigurations
+ }).(FrontendIPConfigurationArrayOutput)
}
-// Radius client root certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigRadiusClientRootCertificateResponseOutput struct{ *pulumi.OutputState }
+// Resource location.
+func (o PrivateLinkServiceTypeOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceType) *string { return v.Location }).(pulumi.StringPtrOutput)
+}
-func (P2SVpnServerConfigRadiusClientRootCertificateResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SVpnServerConfigRadiusClientRootCertificateResponse)(nil)).Elem()
+// Resource tags.
+func (o PrivateLinkServiceTypeOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v PrivateLinkServiceType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (o P2SVpnServerConfigRadiusClientRootCertificateResponseOutput) ToP2SVpnServerConfigRadiusClientRootCertificateResponseOutput() P2SVpnServerConfigRadiusClientRootCertificateResponseOutput {
+// The visibility list of the private link service.
+func (o PrivateLinkServiceTypeOutput) Visibility() PrivateLinkServicePropertiesVisibilityPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceType) *PrivateLinkServicePropertiesVisibility { return v.Visibility }).(PrivateLinkServicePropertiesVisibilityPtrOutput)
+}
+
+type PrivateLinkServiceTypePtrOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServiceTypePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrivateLinkServiceType)(nil)).Elem()
+}
+
+func (o PrivateLinkServiceTypePtrOutput) ToPrivateLinkServiceTypePtrOutput() PrivateLinkServiceTypePtrOutput {
return o
}
-func (o P2SVpnServerConfigRadiusClientRootCertificateResponseOutput) ToP2SVpnServerConfigRadiusClientRootCertificateResponseOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusClientRootCertificateResponseOutput {
+func (o PrivateLinkServiceTypePtrOutput) ToPrivateLinkServiceTypePtrOutputWithContext(ctx context.Context) PrivateLinkServiceTypePtrOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o P2SVpnServerConfigRadiusClientRootCertificateResponseOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificateResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (o PrivateLinkServiceTypePtrOutput) Elem() PrivateLinkServiceTypeOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceType) PrivateLinkServiceType {
+ if v != nil {
+ return *v
+ }
+ var ret PrivateLinkServiceType
+ return ret
+ }).(PrivateLinkServiceTypeOutput)
}
-// Resource ID.
-func (o P2SVpnServerConfigRadiusClientRootCertificateResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificateResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The auto-approval list of the private link service.
+func (o PrivateLinkServiceTypePtrOutput) AutoApproval() PrivateLinkServicePropertiesAutoApprovalPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceType) *PrivateLinkServicePropertiesAutoApproval {
+ if v == nil {
+ return nil
+ }
+ return v.AutoApproval
+ }).(PrivateLinkServicePropertiesAutoApprovalPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o P2SVpnServerConfigRadiusClientRootCertificateResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificateResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The destination IP address of the private link service.
+func (o PrivateLinkServiceTypePtrOutput) DestinationIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationIPAddress
+ }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the radius client root certificate resource.
-func (o P2SVpnServerConfigRadiusClientRootCertificateResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificateResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Whether the private link service is enabled for proxy protocol or not.
+func (o PrivateLinkServiceTypePtrOutput) EnableProxyProtocol() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceType) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnableProxyProtocol
+ }).(pulumi.BoolPtrOutput)
}
-// The Radius client root certificate thumbprint.
-func (o P2SVpnServerConfigRadiusClientRootCertificateResponseOutput) Thumbprint() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusClientRootCertificateResponse) *string { return v.Thumbprint }).(pulumi.StringPtrOutput)
+// The extended location of the load balancer.
+func (o PrivateLinkServiceTypePtrOutput) ExtendedLocation() ExtendedLocationPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceType) *ExtendedLocation {
+ if v == nil {
+ return nil
+ }
+ return v.ExtendedLocation
+ }).(ExtendedLocationPtrOutput)
}
-type P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput struct{ *pulumi.OutputState }
+// The list of Fqdn.
+func (o PrivateLinkServiceTypePtrOutput) Fqdns() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceType) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Fqdns
+ }).(pulumi.StringArrayOutput)
+}
-func (P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SVpnServerConfigRadiusClientRootCertificateResponse)(nil)).Elem()
+// Resource ID.
+func (o PrivateLinkServiceTypePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (o P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput) ToP2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput() P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput {
- return o
+// An array of private link service IP configurations.
+func (o PrivateLinkServiceTypePtrOutput) IpConfigurations() PrivateLinkServiceIpConfigurationArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceType) []PrivateLinkServiceIpConfiguration {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurations
+ }).(PrivateLinkServiceIpConfigurationArrayOutput)
}
-func (o P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput) ToP2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput {
- return o
+// An array of references to the load balancer IP configurations.
+func (o PrivateLinkServiceTypePtrOutput) LoadBalancerFrontendIpConfigurations() FrontendIPConfigurationArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceType) []FrontendIPConfiguration {
+ if v == nil {
+ return nil
+ }
+ return v.LoadBalancerFrontendIpConfigurations
+ }).(FrontendIPConfigurationArrayOutput)
}
-func (o P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput) Index(i pulumi.IntInput) P2SVpnServerConfigRadiusClientRootCertificateResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnServerConfigRadiusClientRootCertificateResponse {
- return vs[0].([]P2SVpnServerConfigRadiusClientRootCertificateResponse)[vs[1].(int)]
- }).(P2SVpnServerConfigRadiusClientRootCertificateResponseOutput)
+// Resource location.
+func (o PrivateLinkServiceTypePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-// Radius Server root certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigRadiusServerRootCertificate struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
+// Resource tags.
+func (o PrivateLinkServiceTypePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceType) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
+}
+
+// The visibility list of the private link service.
+func (o PrivateLinkServiceTypePtrOutput) Visibility() PrivateLinkServicePropertiesVisibilityPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceType) *PrivateLinkServicePropertiesVisibility {
+ if v == nil {
+ return nil
+ }
+ return v.Visibility
+ }).(PrivateLinkServicePropertiesVisibilityPtrOutput)
+}
+
+// PrivateLinkServiceConnection resource.
+type PrivateLinkServiceConnection struct {
+ // The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
+ GroupIds []string `pulumi:"groupIds"`
// Resource ID.
Id *string `pulumi:"id"`
// The name of the resource that is unique within a resource group. This name can be used to access the resource.
Name *string `pulumi:"name"`
- // The certificate public data.
- PublicCertData string `pulumi:"publicCertData"`
+ // A collection of read-only information about the state of the connection to the remote resource.
+ PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `pulumi:"privateLinkServiceConnectionState"`
+ // The resource id of private link service.
+ PrivateLinkServiceId *string `pulumi:"privateLinkServiceId"`
+ // A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
+ RequestMessage *string `pulumi:"requestMessage"`
}
-// P2SVpnServerConfigRadiusServerRootCertificateInput is an input type that accepts P2SVpnServerConfigRadiusServerRootCertificateArgs and P2SVpnServerConfigRadiusServerRootCertificateOutput values.
-// You can construct a concrete instance of `P2SVpnServerConfigRadiusServerRootCertificateInput` via:
+// PrivateLinkServiceConnectionInput is an input type that accepts PrivateLinkServiceConnectionArgs and PrivateLinkServiceConnectionOutput values.
+// You can construct a concrete instance of `PrivateLinkServiceConnectionInput` via:
//
-// P2SVpnServerConfigRadiusServerRootCertificateArgs{...}
-type P2SVpnServerConfigRadiusServerRootCertificateInput interface {
+// PrivateLinkServiceConnectionArgs{...}
+type PrivateLinkServiceConnectionInput interface {
pulumi.Input
- ToP2SVpnServerConfigRadiusServerRootCertificateOutput() P2SVpnServerConfigRadiusServerRootCertificateOutput
- ToP2SVpnServerConfigRadiusServerRootCertificateOutputWithContext(context.Context) P2SVpnServerConfigRadiusServerRootCertificateOutput
+ ToPrivateLinkServiceConnectionOutput() PrivateLinkServiceConnectionOutput
+ ToPrivateLinkServiceConnectionOutputWithContext(context.Context) PrivateLinkServiceConnectionOutput
}
-// Radius Server root certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigRadiusServerRootCertificateArgs struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag pulumi.StringPtrInput `pulumi:"etag"`
+// PrivateLinkServiceConnection resource.
+type PrivateLinkServiceConnectionArgs struct {
+ // The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
+ GroupIds pulumi.StringArrayInput `pulumi:"groupIds"`
// Resource ID.
Id pulumi.StringPtrInput `pulumi:"id"`
// The name of the resource that is unique within a resource group. This name can be used to access the resource.
Name pulumi.StringPtrInput `pulumi:"name"`
- // The certificate public data.
- PublicCertData pulumi.StringInput `pulumi:"publicCertData"`
+ // A collection of read-only information about the state of the connection to the remote resource.
+ PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStatePtrInput `pulumi:"privateLinkServiceConnectionState"`
+ // The resource id of private link service.
+ PrivateLinkServiceId pulumi.StringPtrInput `pulumi:"privateLinkServiceId"`
+ // A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
+ RequestMessage pulumi.StringPtrInput `pulumi:"requestMessage"`
}
-func (P2SVpnServerConfigRadiusServerRootCertificateArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SVpnServerConfigRadiusServerRootCertificate)(nil)).Elem()
+func (PrivateLinkServiceConnectionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServiceConnection)(nil)).Elem()
}
-func (i P2SVpnServerConfigRadiusServerRootCertificateArgs) ToP2SVpnServerConfigRadiusServerRootCertificateOutput() P2SVpnServerConfigRadiusServerRootCertificateOutput {
- return i.ToP2SVpnServerConfigRadiusServerRootCertificateOutputWithContext(context.Background())
+func (i PrivateLinkServiceConnectionArgs) ToPrivateLinkServiceConnectionOutput() PrivateLinkServiceConnectionOutput {
+ return i.ToPrivateLinkServiceConnectionOutputWithContext(context.Background())
}
-func (i P2SVpnServerConfigRadiusServerRootCertificateArgs) ToP2SVpnServerConfigRadiusServerRootCertificateOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusServerRootCertificateOutput {
- return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigRadiusServerRootCertificateOutput)
+func (i PrivateLinkServiceConnectionArgs) ToPrivateLinkServiceConnectionOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionOutput)
}
-// P2SVpnServerConfigRadiusServerRootCertificateArrayInput is an input type that accepts P2SVpnServerConfigRadiusServerRootCertificateArray and P2SVpnServerConfigRadiusServerRootCertificateArrayOutput values.
-// You can construct a concrete instance of `P2SVpnServerConfigRadiusServerRootCertificateArrayInput` via:
+// PrivateLinkServiceConnectionArrayInput is an input type that accepts PrivateLinkServiceConnectionArray and PrivateLinkServiceConnectionArrayOutput values.
+// You can construct a concrete instance of `PrivateLinkServiceConnectionArrayInput` via:
//
-// P2SVpnServerConfigRadiusServerRootCertificateArray{ P2SVpnServerConfigRadiusServerRootCertificateArgs{...} }
-type P2SVpnServerConfigRadiusServerRootCertificateArrayInput interface {
+// PrivateLinkServiceConnectionArray{ PrivateLinkServiceConnectionArgs{...} }
+type PrivateLinkServiceConnectionArrayInput interface {
pulumi.Input
- ToP2SVpnServerConfigRadiusServerRootCertificateArrayOutput() P2SVpnServerConfigRadiusServerRootCertificateArrayOutput
- ToP2SVpnServerConfigRadiusServerRootCertificateArrayOutputWithContext(context.Context) P2SVpnServerConfigRadiusServerRootCertificateArrayOutput
+ ToPrivateLinkServiceConnectionArrayOutput() PrivateLinkServiceConnectionArrayOutput
+ ToPrivateLinkServiceConnectionArrayOutputWithContext(context.Context) PrivateLinkServiceConnectionArrayOutput
}
-type P2SVpnServerConfigRadiusServerRootCertificateArray []P2SVpnServerConfigRadiusServerRootCertificateInput
+type PrivateLinkServiceConnectionArray []PrivateLinkServiceConnectionInput
-func (P2SVpnServerConfigRadiusServerRootCertificateArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SVpnServerConfigRadiusServerRootCertificate)(nil)).Elem()
+func (PrivateLinkServiceConnectionArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateLinkServiceConnection)(nil)).Elem()
}
-func (i P2SVpnServerConfigRadiusServerRootCertificateArray) ToP2SVpnServerConfigRadiusServerRootCertificateArrayOutput() P2SVpnServerConfigRadiusServerRootCertificateArrayOutput {
- return i.ToP2SVpnServerConfigRadiusServerRootCertificateArrayOutputWithContext(context.Background())
+func (i PrivateLinkServiceConnectionArray) ToPrivateLinkServiceConnectionArrayOutput() PrivateLinkServiceConnectionArrayOutput {
+ return i.ToPrivateLinkServiceConnectionArrayOutputWithContext(context.Background())
}
-func (i P2SVpnServerConfigRadiusServerRootCertificateArray) ToP2SVpnServerConfigRadiusServerRootCertificateArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusServerRootCertificateArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigRadiusServerRootCertificateArrayOutput)
+func (i PrivateLinkServiceConnectionArray) ToPrivateLinkServiceConnectionArrayOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionArrayOutput)
}
-// Radius Server root certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigRadiusServerRootCertificateOutput struct{ *pulumi.OutputState }
+// PrivateLinkServiceConnection resource.
+type PrivateLinkServiceConnectionOutput struct{ *pulumi.OutputState }
-func (P2SVpnServerConfigRadiusServerRootCertificateOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SVpnServerConfigRadiusServerRootCertificate)(nil)).Elem()
+func (PrivateLinkServiceConnectionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServiceConnection)(nil)).Elem()
}
-func (o P2SVpnServerConfigRadiusServerRootCertificateOutput) ToP2SVpnServerConfigRadiusServerRootCertificateOutput() P2SVpnServerConfigRadiusServerRootCertificateOutput {
+func (o PrivateLinkServiceConnectionOutput) ToPrivateLinkServiceConnectionOutput() PrivateLinkServiceConnectionOutput {
return o
}
-func (o P2SVpnServerConfigRadiusServerRootCertificateOutput) ToP2SVpnServerConfigRadiusServerRootCertificateOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusServerRootCertificateOutput {
+func (o PrivateLinkServiceConnectionOutput) ToPrivateLinkServiceConnectionOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o P2SVpnServerConfigRadiusServerRootCertificateOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificate) *string { return v.Etag }).(pulumi.StringPtrOutput)
+// The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
+func (o PrivateLinkServiceConnectionOutput) GroupIds() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnection) []string { return v.GroupIds }).(pulumi.StringArrayOutput)
}
// Resource ID.
-func (o P2SVpnServerConfigRadiusServerRootCertificateOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificate) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o PrivateLinkServiceConnectionOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnection) *string { return v.Id }).(pulumi.StringPtrOutput)
}
// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o P2SVpnServerConfigRadiusServerRootCertificateOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificate) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o PrivateLinkServiceConnectionOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnection) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The certificate public data.
-func (o P2SVpnServerConfigRadiusServerRootCertificateOutput) PublicCertData() pulumi.StringOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificate) string { return v.PublicCertData }).(pulumi.StringOutput)
+// A collection of read-only information about the state of the connection to the remote resource.
+func (o PrivateLinkServiceConnectionOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStatePtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnection) *PrivateLinkServiceConnectionState {
+ return v.PrivateLinkServiceConnectionState
+ }).(PrivateLinkServiceConnectionStatePtrOutput)
}
-type P2SVpnServerConfigRadiusServerRootCertificateArrayOutput struct{ *pulumi.OutputState }
+// The resource id of private link service.
+func (o PrivateLinkServiceConnectionOutput) PrivateLinkServiceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnection) *string { return v.PrivateLinkServiceId }).(pulumi.StringPtrOutput)
+}
-func (P2SVpnServerConfigRadiusServerRootCertificateArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SVpnServerConfigRadiusServerRootCertificate)(nil)).Elem()
+// A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
+func (o PrivateLinkServiceConnectionOutput) RequestMessage() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnection) *string { return v.RequestMessage }).(pulumi.StringPtrOutput)
}
-func (o P2SVpnServerConfigRadiusServerRootCertificateArrayOutput) ToP2SVpnServerConfigRadiusServerRootCertificateArrayOutput() P2SVpnServerConfigRadiusServerRootCertificateArrayOutput {
+type PrivateLinkServiceConnectionArrayOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServiceConnectionArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateLinkServiceConnection)(nil)).Elem()
+}
+
+func (o PrivateLinkServiceConnectionArrayOutput) ToPrivateLinkServiceConnectionArrayOutput() PrivateLinkServiceConnectionArrayOutput {
return o
}
-func (o P2SVpnServerConfigRadiusServerRootCertificateArrayOutput) ToP2SVpnServerConfigRadiusServerRootCertificateArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusServerRootCertificateArrayOutput {
+func (o PrivateLinkServiceConnectionArrayOutput) ToPrivateLinkServiceConnectionArrayOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionArrayOutput {
return o
}
-func (o P2SVpnServerConfigRadiusServerRootCertificateArrayOutput) Index(i pulumi.IntInput) P2SVpnServerConfigRadiusServerRootCertificateOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnServerConfigRadiusServerRootCertificate {
- return vs[0].([]P2SVpnServerConfigRadiusServerRootCertificate)[vs[1].(int)]
- }).(P2SVpnServerConfigRadiusServerRootCertificateOutput)
+func (o PrivateLinkServiceConnectionArrayOutput) Index(i pulumi.IntInput) PrivateLinkServiceConnectionOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateLinkServiceConnection {
+ return vs[0].([]PrivateLinkServiceConnection)[vs[1].(int)]
+ }).(PrivateLinkServiceConnectionOutput)
}
-// Radius Server root certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigRadiusServerRootCertificateResponse struct {
+// PrivateLinkServiceConnection resource.
+type PrivateLinkServiceConnectionResponse struct {
// A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
+ Etag string `pulumi:"etag"`
+ // The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
+ GroupIds []string `pulumi:"groupIds"`
// Resource ID.
Id *string `pulumi:"id"`
// The name of the resource that is unique within a resource group. This name can be used to access the resource.
Name *string `pulumi:"name"`
- // The provisioning state of the radius server root certificate resource.
+ // A collection of read-only information about the state of the connection to the remote resource.
+ PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateResponse `pulumi:"privateLinkServiceConnectionState"`
+ // The resource id of private link service.
+ PrivateLinkServiceId *string `pulumi:"privateLinkServiceId"`
+ // The provisioning state of the private link service connection resource.
ProvisioningState string `pulumi:"provisioningState"`
- // The certificate public data.
- PublicCertData string `pulumi:"publicCertData"`
+ // A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
+ RequestMessage *string `pulumi:"requestMessage"`
+ // The resource type.
+ Type string `pulumi:"type"`
}
-// Radius Server root certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigRadiusServerRootCertificateResponseOutput struct{ *pulumi.OutputState }
+// PrivateLinkServiceConnection resource.
+type PrivateLinkServiceConnectionResponseOutput struct{ *pulumi.OutputState }
-func (P2SVpnServerConfigRadiusServerRootCertificateResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SVpnServerConfigRadiusServerRootCertificateResponse)(nil)).Elem()
+func (PrivateLinkServiceConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServiceConnectionResponse)(nil)).Elem()
}
-func (o P2SVpnServerConfigRadiusServerRootCertificateResponseOutput) ToP2SVpnServerConfigRadiusServerRootCertificateResponseOutput() P2SVpnServerConfigRadiusServerRootCertificateResponseOutput {
+func (o PrivateLinkServiceConnectionResponseOutput) ToPrivateLinkServiceConnectionResponseOutput() PrivateLinkServiceConnectionResponseOutput {
return o
}
-func (o P2SVpnServerConfigRadiusServerRootCertificateResponseOutput) ToP2SVpnServerConfigRadiusServerRootCertificateResponseOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusServerRootCertificateResponseOutput {
+func (o PrivateLinkServiceConnectionResponseOutput) ToPrivateLinkServiceConnectionResponseOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionResponseOutput {
return o
}
// A unique read-only string that changes whenever the resource is updated.
-func (o P2SVpnServerConfigRadiusServerRootCertificateResponseOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificateResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (o PrivateLinkServiceConnectionResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Resource ID.
-func (o P2SVpnServerConfigRadiusServerRootCertificateResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificateResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
+func (o PrivateLinkServiceConnectionResponseOutput) GroupIds() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) []string { return v.GroupIds }).(pulumi.StringArrayOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o P2SVpnServerConfigRadiusServerRootCertificateResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificateResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o PrivateLinkServiceConnectionResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the radius server root certificate resource.
-func (o P2SVpnServerConfigRadiusServerRootCertificateResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificateResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o PrivateLinkServiceConnectionResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The certificate public data.
-func (o P2SVpnServerConfigRadiusServerRootCertificateResponseOutput) PublicCertData() pulumi.StringOutput {
- return o.ApplyT(func(v P2SVpnServerConfigRadiusServerRootCertificateResponse) string { return v.PublicCertData }).(pulumi.StringOutput)
+// A collection of read-only information about the state of the connection to the remote resource.
+func (o PrivateLinkServiceConnectionResponseOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStateResponsePtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) *PrivateLinkServiceConnectionStateResponse {
+ return v.PrivateLinkServiceConnectionState
+ }).(PrivateLinkServiceConnectionStateResponsePtrOutput)
}
-type P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput struct{ *pulumi.OutputState }
+// The resource id of private link service.
+func (o PrivateLinkServiceConnectionResponseOutput) PrivateLinkServiceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) *string { return v.PrivateLinkServiceId }).(pulumi.StringPtrOutput)
+}
-func (P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SVpnServerConfigRadiusServerRootCertificateResponse)(nil)).Elem()
+// The provisioning state of the private link service connection resource.
+func (o PrivateLinkServiceConnectionResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput) ToP2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput() P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput {
+// A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
+func (o PrivateLinkServiceConnectionResponseOutput) RequestMessage() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) *string { return v.RequestMessage }).(pulumi.StringPtrOutput)
+}
+
+// The resource type.
+func (o PrivateLinkServiceConnectionResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) string { return v.Type }).(pulumi.StringOutput)
+}
+
+type PrivateLinkServiceConnectionResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServiceConnectionResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateLinkServiceConnectionResponse)(nil)).Elem()
+}
+
+func (o PrivateLinkServiceConnectionResponseArrayOutput) ToPrivateLinkServiceConnectionResponseArrayOutput() PrivateLinkServiceConnectionResponseArrayOutput {
return o
}
-func (o P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput) ToP2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput {
+func (o PrivateLinkServiceConnectionResponseArrayOutput) ToPrivateLinkServiceConnectionResponseArrayOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionResponseArrayOutput {
return o
}
-func (o P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput) Index(i pulumi.IntInput) P2SVpnServerConfigRadiusServerRootCertificateResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnServerConfigRadiusServerRootCertificateResponse {
- return vs[0].([]P2SVpnServerConfigRadiusServerRootCertificateResponse)[vs[1].(int)]
- }).(P2SVpnServerConfigRadiusServerRootCertificateResponseOutput)
+func (o PrivateLinkServiceConnectionResponseArrayOutput) Index(i pulumi.IntInput) PrivateLinkServiceConnectionResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateLinkServiceConnectionResponse {
+ return vs[0].([]PrivateLinkServiceConnectionResponse)[vs[1].(int)]
+ }).(PrivateLinkServiceConnectionResponseOutput)
}
-// VPN client revoked certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigVpnClientRevokedCertificate struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The revoked VPN client certificate thumbprint.
- Thumbprint *string `pulumi:"thumbprint"`
+// A collection of information about the state of the connection between service consumer and provider.
+type PrivateLinkServiceConnectionState struct {
+ // A message indicating if changes on the service provider require any updates on the consumer.
+ ActionsRequired *string `pulumi:"actionsRequired"`
+ // The reason for approval/rejection of the connection.
+ Description *string `pulumi:"description"`
+ // Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
+ Status *string `pulumi:"status"`
}
-// P2SVpnServerConfigVpnClientRevokedCertificateInput is an input type that accepts P2SVpnServerConfigVpnClientRevokedCertificateArgs and P2SVpnServerConfigVpnClientRevokedCertificateOutput values.
-// You can construct a concrete instance of `P2SVpnServerConfigVpnClientRevokedCertificateInput` via:
+// PrivateLinkServiceConnectionStateInput is an input type that accepts PrivateLinkServiceConnectionStateArgs and PrivateLinkServiceConnectionStateOutput values.
+// You can construct a concrete instance of `PrivateLinkServiceConnectionStateInput` via:
//
-// P2SVpnServerConfigVpnClientRevokedCertificateArgs{...}
-type P2SVpnServerConfigVpnClientRevokedCertificateInput interface {
+// PrivateLinkServiceConnectionStateArgs{...}
+type PrivateLinkServiceConnectionStateInput interface {
pulumi.Input
- ToP2SVpnServerConfigVpnClientRevokedCertificateOutput() P2SVpnServerConfigVpnClientRevokedCertificateOutput
- ToP2SVpnServerConfigVpnClientRevokedCertificateOutputWithContext(context.Context) P2SVpnServerConfigVpnClientRevokedCertificateOutput
+ ToPrivateLinkServiceConnectionStateOutput() PrivateLinkServiceConnectionStateOutput
+ ToPrivateLinkServiceConnectionStateOutputWithContext(context.Context) PrivateLinkServiceConnectionStateOutput
}
-// VPN client revoked certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigVpnClientRevokedCertificateArgs struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag pulumi.StringPtrInput `pulumi:"etag"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The revoked VPN client certificate thumbprint.
- Thumbprint pulumi.StringPtrInput `pulumi:"thumbprint"`
+// A collection of information about the state of the connection between service consumer and provider.
+type PrivateLinkServiceConnectionStateArgs struct {
+ // A message indicating if changes on the service provider require any updates on the consumer.
+ ActionsRequired pulumi.StringPtrInput `pulumi:"actionsRequired"`
+ // The reason for approval/rejection of the connection.
+ Description pulumi.StringPtrInput `pulumi:"description"`
+ // Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
+ Status pulumi.StringPtrInput `pulumi:"status"`
}
-func (P2SVpnServerConfigVpnClientRevokedCertificateArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SVpnServerConfigVpnClientRevokedCertificate)(nil)).Elem()
+func (PrivateLinkServiceConnectionStateArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServiceConnectionState)(nil)).Elem()
}
-func (i P2SVpnServerConfigVpnClientRevokedCertificateArgs) ToP2SVpnServerConfigVpnClientRevokedCertificateOutput() P2SVpnServerConfigVpnClientRevokedCertificateOutput {
- return i.ToP2SVpnServerConfigVpnClientRevokedCertificateOutputWithContext(context.Background())
+func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStateOutput() PrivateLinkServiceConnectionStateOutput {
+ return i.ToPrivateLinkServiceConnectionStateOutputWithContext(context.Background())
}
-func (i P2SVpnServerConfigVpnClientRevokedCertificateArgs) ToP2SVpnServerConfigVpnClientRevokedCertificateOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRevokedCertificateOutput {
- return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigVpnClientRevokedCertificateOutput)
+func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStateOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStateOutput)
}
-// P2SVpnServerConfigVpnClientRevokedCertificateArrayInput is an input type that accepts P2SVpnServerConfigVpnClientRevokedCertificateArray and P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput values.
-// You can construct a concrete instance of `P2SVpnServerConfigVpnClientRevokedCertificateArrayInput` via:
+func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput {
+ return i.ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Background())
+}
+
+func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStateOutput).ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx)
+}
+
+// PrivateLinkServiceConnectionStatePtrInput is an input type that accepts PrivateLinkServiceConnectionStateArgs, PrivateLinkServiceConnectionStatePtr and PrivateLinkServiceConnectionStatePtrOutput values.
+// You can construct a concrete instance of `PrivateLinkServiceConnectionStatePtrInput` via:
//
-// P2SVpnServerConfigVpnClientRevokedCertificateArray{ P2SVpnServerConfigVpnClientRevokedCertificateArgs{...} }
-type P2SVpnServerConfigVpnClientRevokedCertificateArrayInput interface {
+// PrivateLinkServiceConnectionStateArgs{...}
+//
+// or:
+//
+// nil
+type PrivateLinkServiceConnectionStatePtrInput interface {
pulumi.Input
- ToP2SVpnServerConfigVpnClientRevokedCertificateArrayOutput() P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput
- ToP2SVpnServerConfigVpnClientRevokedCertificateArrayOutputWithContext(context.Context) P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput
+ ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput
+ ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Context) PrivateLinkServiceConnectionStatePtrOutput
}
-type P2SVpnServerConfigVpnClientRevokedCertificateArray []P2SVpnServerConfigVpnClientRevokedCertificateInput
+type privateLinkServiceConnectionStatePtrType PrivateLinkServiceConnectionStateArgs
-func (P2SVpnServerConfigVpnClientRevokedCertificateArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SVpnServerConfigVpnClientRevokedCertificate)(nil)).Elem()
+func PrivateLinkServiceConnectionStatePtr(v *PrivateLinkServiceConnectionStateArgs) PrivateLinkServiceConnectionStatePtrInput {
+ return (*privateLinkServiceConnectionStatePtrType)(v)
}
-func (i P2SVpnServerConfigVpnClientRevokedCertificateArray) ToP2SVpnServerConfigVpnClientRevokedCertificateArrayOutput() P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput {
- return i.ToP2SVpnServerConfigVpnClientRevokedCertificateArrayOutputWithContext(context.Background())
+func (*privateLinkServiceConnectionStatePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrivateLinkServiceConnectionState)(nil)).Elem()
}
-func (i P2SVpnServerConfigVpnClientRevokedCertificateArray) ToP2SVpnServerConfigVpnClientRevokedCertificateArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput)
+func (i *privateLinkServiceConnectionStatePtrType) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput {
+ return i.ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Background())
}
-// VPN client revoked certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigVpnClientRevokedCertificateOutput struct{ *pulumi.OutputState }
+func (i *privateLinkServiceConnectionStatePtrType) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStatePtrOutput)
+}
-func (P2SVpnServerConfigVpnClientRevokedCertificateOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SVpnServerConfigVpnClientRevokedCertificate)(nil)).Elem()
+// A collection of information about the state of the connection between service consumer and provider.
+type PrivateLinkServiceConnectionStateOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServiceConnectionStateOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServiceConnectionState)(nil)).Elem()
}
-func (o P2SVpnServerConfigVpnClientRevokedCertificateOutput) ToP2SVpnServerConfigVpnClientRevokedCertificateOutput() P2SVpnServerConfigVpnClientRevokedCertificateOutput {
+func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStateOutput() PrivateLinkServiceConnectionStateOutput {
return o
}
-func (o P2SVpnServerConfigVpnClientRevokedCertificateOutput) ToP2SVpnServerConfigVpnClientRevokedCertificateOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRevokedCertificateOutput {
+func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStateOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o P2SVpnServerConfigVpnClientRevokedCertificateOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificate) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput {
+ return o.ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Background())
}
-// Resource ID.
-func (o P2SVpnServerConfigVpnClientRevokedCertificateOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificate) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v PrivateLinkServiceConnectionState) *PrivateLinkServiceConnectionState {
+ return &v
+ }).(PrivateLinkServiceConnectionStatePtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o P2SVpnServerConfigVpnClientRevokedCertificateOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificate) *string { return v.Name }).(pulumi.StringPtrOutput)
+// A message indicating if changes on the service provider require any updates on the consumer.
+func (o PrivateLinkServiceConnectionStateOutput) ActionsRequired() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnectionState) *string { return v.ActionsRequired }).(pulumi.StringPtrOutput)
}
-// The revoked VPN client certificate thumbprint.
-func (o P2SVpnServerConfigVpnClientRevokedCertificateOutput) Thumbprint() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificate) *string { return v.Thumbprint }).(pulumi.StringPtrOutput)
+// The reason for approval/rejection of the connection.
+func (o PrivateLinkServiceConnectionStateOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnectionState) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-type P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput struct{ *pulumi.OutputState }
+// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
+func (o PrivateLinkServiceConnectionStateOutput) Status() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnectionState) *string { return v.Status }).(pulumi.StringPtrOutput)
+}
-func (P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SVpnServerConfigVpnClientRevokedCertificate)(nil)).Elem()
+type PrivateLinkServiceConnectionStatePtrOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServiceConnectionStatePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrivateLinkServiceConnectionState)(nil)).Elem()
}
-func (o P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput) ToP2SVpnServerConfigVpnClientRevokedCertificateArrayOutput() P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput {
+func (o PrivateLinkServiceConnectionStatePtrOutput) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput {
return o
}
-func (o P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput) ToP2SVpnServerConfigVpnClientRevokedCertificateArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput {
+func (o PrivateLinkServiceConnectionStatePtrOutput) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput {
return o
}
-func (o P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput) Index(i pulumi.IntInput) P2SVpnServerConfigVpnClientRevokedCertificateOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnServerConfigVpnClientRevokedCertificate {
- return vs[0].([]P2SVpnServerConfigVpnClientRevokedCertificate)[vs[1].(int)]
- }).(P2SVpnServerConfigVpnClientRevokedCertificateOutput)
+func (o PrivateLinkServiceConnectionStatePtrOutput) Elem() PrivateLinkServiceConnectionStateOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceConnectionState) PrivateLinkServiceConnectionState {
+ if v != nil {
+ return *v
+ }
+ var ret PrivateLinkServiceConnectionState
+ return ret
+ }).(PrivateLinkServiceConnectionStateOutput)
}
-// VPN client revoked certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigVpnClientRevokedCertificateResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the VPN client revoked certificate resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The revoked VPN client certificate thumbprint.
- Thumbprint *string `pulumi:"thumbprint"`
+// A message indicating if changes on the service provider require any updates on the consumer.
+func (o PrivateLinkServiceConnectionStatePtrOutput) ActionsRequired() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceConnectionState) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ActionsRequired
+ }).(pulumi.StringPtrOutput)
}
-// VPN client revoked certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput struct{ *pulumi.OutputState }
+// The reason for approval/rejection of the connection.
+func (o PrivateLinkServiceConnectionStatePtrOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceConnectionState) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Description
+ }).(pulumi.StringPtrOutput)
+}
-func (P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SVpnServerConfigVpnClientRevokedCertificateResponse)(nil)).Elem()
+// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
+func (o PrivateLinkServiceConnectionStatePtrOutput) Status() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceConnectionState) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Status
+ }).(pulumi.StringPtrOutput)
}
-func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput) ToP2SVpnServerConfigVpnClientRevokedCertificateResponseOutput() P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput {
- return o
+// A collection of information about the state of the connection between service consumer and provider.
+type PrivateLinkServiceConnectionStateResponse struct {
+ // A message indicating if changes on the service provider require any updates on the consumer.
+ ActionsRequired *string `pulumi:"actionsRequired"`
+ // The reason for approval/rejection of the connection.
+ Description *string `pulumi:"description"`
+ // Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
+ Status *string `pulumi:"status"`
}
-func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput) ToP2SVpnServerConfigVpnClientRevokedCertificateResponseOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput {
- return o
+// A collection of information about the state of the connection between service consumer and provider.
+type PrivateLinkServiceConnectionStateResponseOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServiceConnectionStateResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServiceConnectionStateResponse)(nil)).Elem()
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificateResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (o PrivateLinkServiceConnectionStateResponseOutput) ToPrivateLinkServiceConnectionStateResponseOutput() PrivateLinkServiceConnectionStateResponseOutput {
+ return o
}
-// Resource ID.
-func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificateResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o PrivateLinkServiceConnectionStateResponseOutput) ToPrivateLinkServiceConnectionStateResponseOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponseOutput {
+ return o
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificateResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// A message indicating if changes on the service provider require any updates on the consumer.
+func (o PrivateLinkServiceConnectionStateResponseOutput) ActionsRequired() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) *string { return v.ActionsRequired }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the VPN client revoked certificate resource.
-func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificateResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The reason for approval/rejection of the connection.
+func (o PrivateLinkServiceConnectionStateResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// The revoked VPN client certificate thumbprint.
-func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput) Thumbprint() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRevokedCertificateResponse) *string { return v.Thumbprint }).(pulumi.StringPtrOutput)
+// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
+func (o PrivateLinkServiceConnectionStateResponseOutput) Status() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) *string { return v.Status }).(pulumi.StringPtrOutput)
}
-type P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput struct{ *pulumi.OutputState }
+type PrivateLinkServiceConnectionStateResponsePtrOutput struct{ *pulumi.OutputState }
-func (P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SVpnServerConfigVpnClientRevokedCertificateResponse)(nil)).Elem()
+func (PrivateLinkServiceConnectionStateResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrivateLinkServiceConnectionStateResponse)(nil)).Elem()
}
-func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput) ToP2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput() P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput {
+func (o PrivateLinkServiceConnectionStateResponsePtrOutput) ToPrivateLinkServiceConnectionStateResponsePtrOutput() PrivateLinkServiceConnectionStateResponsePtrOutput {
return o
}
-func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput) ToP2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput {
+func (o PrivateLinkServiceConnectionStateResponsePtrOutput) ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponsePtrOutput {
return o
}
-func (o P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput) Index(i pulumi.IntInput) P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnServerConfigVpnClientRevokedCertificateResponse {
- return vs[0].([]P2SVpnServerConfigVpnClientRevokedCertificateResponse)[vs[1].(int)]
- }).(P2SVpnServerConfigVpnClientRevokedCertificateResponseOutput)
+func (o PrivateLinkServiceConnectionStateResponsePtrOutput) Elem() PrivateLinkServiceConnectionStateResponseOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) PrivateLinkServiceConnectionStateResponse {
+ if v != nil {
+ return *v
+ }
+ var ret PrivateLinkServiceConnectionStateResponse
+ return ret
+ }).(PrivateLinkServiceConnectionStateResponseOutput)
}
-// VPN client root certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigVpnClientRootCertificate struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
+// A message indicating if changes on the service provider require any updates on the consumer.
+func (o PrivateLinkServiceConnectionStateResponsePtrOutput) ActionsRequired() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ActionsRequired
+ }).(pulumi.StringPtrOutput)
+}
+
+// The reason for approval/rejection of the connection.
+func (o PrivateLinkServiceConnectionStateResponsePtrOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Description
+ }).(pulumi.StringPtrOutput)
+}
+
+// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
+func (o PrivateLinkServiceConnectionStateResponsePtrOutput) Status() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Status
+ }).(pulumi.StringPtrOutput)
+}
+
+// The private link service ip configuration.
+type PrivateLinkServiceIpConfiguration struct {
// Resource ID.
Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ // The name of private link service ip configuration.
Name *string `pulumi:"name"`
- // The certificate public data.
- PublicCertData string `pulumi:"publicCertData"`
+ // Whether the ip configuration is primary or not.
+ Primary *bool `pulumi:"primary"`
+ // The private IP address of the IP configuration.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+ PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // The reference to the subnet resource.
+ Subnet *SubnetType `pulumi:"subnet"`
}
-// P2SVpnServerConfigVpnClientRootCertificateInput is an input type that accepts P2SVpnServerConfigVpnClientRootCertificateArgs and P2SVpnServerConfigVpnClientRootCertificateOutput values.
-// You can construct a concrete instance of `P2SVpnServerConfigVpnClientRootCertificateInput` via:
+// Defaults sets the appropriate defaults for PrivateLinkServiceIpConfiguration
+func (val *PrivateLinkServiceIpConfiguration) Defaults() *PrivateLinkServiceIpConfiguration {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.Subnet = tmp.Subnet.Defaults()
+
+ return &tmp
+}
+
+// PrivateLinkServiceIpConfigurationInput is an input type that accepts PrivateLinkServiceIpConfigurationArgs and PrivateLinkServiceIpConfigurationOutput values.
+// You can construct a concrete instance of `PrivateLinkServiceIpConfigurationInput` via:
//
-// P2SVpnServerConfigVpnClientRootCertificateArgs{...}
-type P2SVpnServerConfigVpnClientRootCertificateInput interface {
+// PrivateLinkServiceIpConfigurationArgs{...}
+type PrivateLinkServiceIpConfigurationInput interface {
pulumi.Input
- ToP2SVpnServerConfigVpnClientRootCertificateOutput() P2SVpnServerConfigVpnClientRootCertificateOutput
- ToP2SVpnServerConfigVpnClientRootCertificateOutputWithContext(context.Context) P2SVpnServerConfigVpnClientRootCertificateOutput
+ ToPrivateLinkServiceIpConfigurationOutput() PrivateLinkServiceIpConfigurationOutput
+ ToPrivateLinkServiceIpConfigurationOutputWithContext(context.Context) PrivateLinkServiceIpConfigurationOutput
}
-// VPN client root certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigVpnClientRootCertificateArgs struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag pulumi.StringPtrInput `pulumi:"etag"`
+// The private link service ip configuration.
+type PrivateLinkServiceIpConfigurationArgs struct {
// Resource ID.
Id pulumi.StringPtrInput `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ // The name of private link service ip configuration.
Name pulumi.StringPtrInput `pulumi:"name"`
- // The certificate public data.
- PublicCertData pulumi.StringInput `pulumi:"publicCertData"`
+ // Whether the ip configuration is primary or not.
+ Primary pulumi.BoolPtrInput `pulumi:"primary"`
+ // The private IP address of the IP configuration.
+ PrivateIPAddress pulumi.StringPtrInput `pulumi:"privateIPAddress"`
+ // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+ PrivateIPAddressVersion pulumi.StringPtrInput `pulumi:"privateIPAddressVersion"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod pulumi.StringPtrInput `pulumi:"privateIPAllocationMethod"`
+ // The reference to the subnet resource.
+ Subnet SubnetTypePtrInput `pulumi:"subnet"`
}
-func (P2SVpnServerConfigVpnClientRootCertificateArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SVpnServerConfigVpnClientRootCertificate)(nil)).Elem()
+// Defaults sets the appropriate defaults for PrivateLinkServiceIpConfigurationArgs
+func (val *PrivateLinkServiceIpConfigurationArgs) Defaults() *PrivateLinkServiceIpConfigurationArgs {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+
+ return &tmp
+}
+func (PrivateLinkServiceIpConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServiceIpConfiguration)(nil)).Elem()
}
-func (i P2SVpnServerConfigVpnClientRootCertificateArgs) ToP2SVpnServerConfigVpnClientRootCertificateOutput() P2SVpnServerConfigVpnClientRootCertificateOutput {
- return i.ToP2SVpnServerConfigVpnClientRootCertificateOutputWithContext(context.Background())
+func (i PrivateLinkServiceIpConfigurationArgs) ToPrivateLinkServiceIpConfigurationOutput() PrivateLinkServiceIpConfigurationOutput {
+ return i.ToPrivateLinkServiceIpConfigurationOutputWithContext(context.Background())
}
-func (i P2SVpnServerConfigVpnClientRootCertificateArgs) ToP2SVpnServerConfigVpnClientRootCertificateOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRootCertificateOutput {
- return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigVpnClientRootCertificateOutput)
+func (i PrivateLinkServiceIpConfigurationArgs) ToPrivateLinkServiceIpConfigurationOutputWithContext(ctx context.Context) PrivateLinkServiceIpConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceIpConfigurationOutput)
}
-// P2SVpnServerConfigVpnClientRootCertificateArrayInput is an input type that accepts P2SVpnServerConfigVpnClientRootCertificateArray and P2SVpnServerConfigVpnClientRootCertificateArrayOutput values.
-// You can construct a concrete instance of `P2SVpnServerConfigVpnClientRootCertificateArrayInput` via:
+// PrivateLinkServiceIpConfigurationArrayInput is an input type that accepts PrivateLinkServiceIpConfigurationArray and PrivateLinkServiceIpConfigurationArrayOutput values.
+// You can construct a concrete instance of `PrivateLinkServiceIpConfigurationArrayInput` via:
//
-// P2SVpnServerConfigVpnClientRootCertificateArray{ P2SVpnServerConfigVpnClientRootCertificateArgs{...} }
-type P2SVpnServerConfigVpnClientRootCertificateArrayInput interface {
+// PrivateLinkServiceIpConfigurationArray{ PrivateLinkServiceIpConfigurationArgs{...} }
+type PrivateLinkServiceIpConfigurationArrayInput interface {
pulumi.Input
- ToP2SVpnServerConfigVpnClientRootCertificateArrayOutput() P2SVpnServerConfigVpnClientRootCertificateArrayOutput
- ToP2SVpnServerConfigVpnClientRootCertificateArrayOutputWithContext(context.Context) P2SVpnServerConfigVpnClientRootCertificateArrayOutput
+ ToPrivateLinkServiceIpConfigurationArrayOutput() PrivateLinkServiceIpConfigurationArrayOutput
+ ToPrivateLinkServiceIpConfigurationArrayOutputWithContext(context.Context) PrivateLinkServiceIpConfigurationArrayOutput
}
-type P2SVpnServerConfigVpnClientRootCertificateArray []P2SVpnServerConfigVpnClientRootCertificateInput
+type PrivateLinkServiceIpConfigurationArray []PrivateLinkServiceIpConfigurationInput
-func (P2SVpnServerConfigVpnClientRootCertificateArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SVpnServerConfigVpnClientRootCertificate)(nil)).Elem()
+func (PrivateLinkServiceIpConfigurationArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateLinkServiceIpConfiguration)(nil)).Elem()
}
-func (i P2SVpnServerConfigVpnClientRootCertificateArray) ToP2SVpnServerConfigVpnClientRootCertificateArrayOutput() P2SVpnServerConfigVpnClientRootCertificateArrayOutput {
- return i.ToP2SVpnServerConfigVpnClientRootCertificateArrayOutputWithContext(context.Background())
+func (i PrivateLinkServiceIpConfigurationArray) ToPrivateLinkServiceIpConfigurationArrayOutput() PrivateLinkServiceIpConfigurationArrayOutput {
+ return i.ToPrivateLinkServiceIpConfigurationArrayOutputWithContext(context.Background())
}
-func (i P2SVpnServerConfigVpnClientRootCertificateArray) ToP2SVpnServerConfigVpnClientRootCertificateArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRootCertificateArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigVpnClientRootCertificateArrayOutput)
+func (i PrivateLinkServiceIpConfigurationArray) ToPrivateLinkServiceIpConfigurationArrayOutputWithContext(ctx context.Context) PrivateLinkServiceIpConfigurationArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceIpConfigurationArrayOutput)
}
-// VPN client root certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigVpnClientRootCertificateOutput struct{ *pulumi.OutputState }
+// The private link service ip configuration.
+type PrivateLinkServiceIpConfigurationOutput struct{ *pulumi.OutputState }
-func (P2SVpnServerConfigVpnClientRootCertificateOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SVpnServerConfigVpnClientRootCertificate)(nil)).Elem()
+func (PrivateLinkServiceIpConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServiceIpConfiguration)(nil)).Elem()
}
-func (o P2SVpnServerConfigVpnClientRootCertificateOutput) ToP2SVpnServerConfigVpnClientRootCertificateOutput() P2SVpnServerConfigVpnClientRootCertificateOutput {
+func (o PrivateLinkServiceIpConfigurationOutput) ToPrivateLinkServiceIpConfigurationOutput() PrivateLinkServiceIpConfigurationOutput {
return o
}
-func (o P2SVpnServerConfigVpnClientRootCertificateOutput) ToP2SVpnServerConfigVpnClientRootCertificateOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRootCertificateOutput {
+func (o PrivateLinkServiceIpConfigurationOutput) ToPrivateLinkServiceIpConfigurationOutputWithContext(ctx context.Context) PrivateLinkServiceIpConfigurationOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o P2SVpnServerConfigVpnClientRootCertificateOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificate) *string { return v.Etag }).(pulumi.StringPtrOutput)
-}
-
// Resource ID.
-func (o P2SVpnServerConfigVpnClientRootCertificateOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificate) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o PrivateLinkServiceIpConfigurationOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfiguration) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o P2SVpnServerConfigVpnClientRootCertificateOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificate) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The name of private link service ip configuration.
+func (o PrivateLinkServiceIpConfigurationOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfiguration) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The certificate public data.
-func (o P2SVpnServerConfigVpnClientRootCertificateOutput) PublicCertData() pulumi.StringOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificate) string { return v.PublicCertData }).(pulumi.StringOutput)
+// Whether the ip configuration is primary or not.
+func (o PrivateLinkServiceIpConfigurationOutput) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfiguration) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
}
-type P2SVpnServerConfigVpnClientRootCertificateArrayOutput struct{ *pulumi.OutputState }
+// The private IP address of the IP configuration.
+func (o PrivateLinkServiceIpConfigurationOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfiguration) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+}
-func (P2SVpnServerConfigVpnClientRootCertificateArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SVpnServerConfigVpnClientRootCertificate)(nil)).Elem()
+// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+func (o PrivateLinkServiceIpConfigurationOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfiguration) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
}
-func (o P2SVpnServerConfigVpnClientRootCertificateArrayOutput) ToP2SVpnServerConfigVpnClientRootCertificateArrayOutput() P2SVpnServerConfigVpnClientRootCertificateArrayOutput {
- return o
+// The private IP address allocation method.
+func (o PrivateLinkServiceIpConfigurationOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfiguration) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-func (o P2SVpnServerConfigVpnClientRootCertificateArrayOutput) ToP2SVpnServerConfigVpnClientRootCertificateArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRootCertificateArrayOutput {
- return o
+// The reference to the subnet resource.
+func (o PrivateLinkServiceIpConfigurationOutput) Subnet() SubnetTypePtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfiguration) *SubnetType { return v.Subnet }).(SubnetTypePtrOutput)
}
-func (o P2SVpnServerConfigVpnClientRootCertificateArrayOutput) Index(i pulumi.IntInput) P2SVpnServerConfigVpnClientRootCertificateOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnServerConfigVpnClientRootCertificate {
- return vs[0].([]P2SVpnServerConfigVpnClientRootCertificate)[vs[1].(int)]
- }).(P2SVpnServerConfigVpnClientRootCertificateOutput)
+type PrivateLinkServiceIpConfigurationArrayOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServiceIpConfigurationArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateLinkServiceIpConfiguration)(nil)).Elem()
}
-// VPN client root certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigVpnClientRootCertificateResponse struct {
+func (o PrivateLinkServiceIpConfigurationArrayOutput) ToPrivateLinkServiceIpConfigurationArrayOutput() PrivateLinkServiceIpConfigurationArrayOutput {
+ return o
+}
+
+func (o PrivateLinkServiceIpConfigurationArrayOutput) ToPrivateLinkServiceIpConfigurationArrayOutputWithContext(ctx context.Context) PrivateLinkServiceIpConfigurationArrayOutput {
+ return o
+}
+
+func (o PrivateLinkServiceIpConfigurationArrayOutput) Index(i pulumi.IntInput) PrivateLinkServiceIpConfigurationOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateLinkServiceIpConfiguration {
+ return vs[0].([]PrivateLinkServiceIpConfiguration)[vs[1].(int)]
+ }).(PrivateLinkServiceIpConfigurationOutput)
+}
+
+// The private link service ip configuration.
+type PrivateLinkServiceIpConfigurationResponse struct {
// A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
+ Etag string `pulumi:"etag"`
// Resource ID.
Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ // The name of private link service ip configuration.
Name *string `pulumi:"name"`
- // The provisioning state of the VPN client root certificate resource.
+ // Whether the ip configuration is primary or not.
+ Primary *bool `pulumi:"primary"`
+ // The private IP address of the IP configuration.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+ PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // The provisioning state of the private link service IP configuration resource.
ProvisioningState string `pulumi:"provisioningState"`
- // The certificate public data.
- PublicCertData string `pulumi:"publicCertData"`
+ // The reference to the subnet resource.
+ Subnet *SubnetResponse `pulumi:"subnet"`
+ // The resource type.
+ Type string `pulumi:"type"`
}
-// VPN client root certificate of P2SVpnServerConfiguration.
-type P2SVpnServerConfigVpnClientRootCertificateResponseOutput struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for PrivateLinkServiceIpConfigurationResponse
+func (val *PrivateLinkServiceIpConfigurationResponse) Defaults() *PrivateLinkServiceIpConfigurationResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.Subnet = tmp.Subnet.Defaults()
-func (P2SVpnServerConfigVpnClientRootCertificateResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SVpnServerConfigVpnClientRootCertificateResponse)(nil)).Elem()
+ return &tmp
}
-func (o P2SVpnServerConfigVpnClientRootCertificateResponseOutput) ToP2SVpnServerConfigVpnClientRootCertificateResponseOutput() P2SVpnServerConfigVpnClientRootCertificateResponseOutput {
+// The private link service ip configuration.
+type PrivateLinkServiceIpConfigurationResponseOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServiceIpConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServiceIpConfigurationResponse)(nil)).Elem()
+}
+
+func (o PrivateLinkServiceIpConfigurationResponseOutput) ToPrivateLinkServiceIpConfigurationResponseOutput() PrivateLinkServiceIpConfigurationResponseOutput {
return o
}
-func (o P2SVpnServerConfigVpnClientRootCertificateResponseOutput) ToP2SVpnServerConfigVpnClientRootCertificateResponseOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRootCertificateResponseOutput {
+func (o PrivateLinkServiceIpConfigurationResponseOutput) ToPrivateLinkServiceIpConfigurationResponseOutputWithContext(ctx context.Context) PrivateLinkServiceIpConfigurationResponseOutput {
return o
}
// A unique read-only string that changes whenever the resource is updated.
-func (o P2SVpnServerConfigVpnClientRootCertificateResponseOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificateResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (o PrivateLinkServiceIpConfigurationResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
}
// Resource ID.
-func (o P2SVpnServerConfigVpnClientRootCertificateResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificateResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o PrivateLinkServiceIpConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o P2SVpnServerConfigVpnClientRootCertificateResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificateResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The name of private link service ip configuration.
+func (o PrivateLinkServiceIpConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the VPN client root certificate resource.
-func (o P2SVpnServerConfigVpnClientRootCertificateResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificateResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Whether the ip configuration is primary or not.
+func (o PrivateLinkServiceIpConfigurationResponseOutput) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
}
-// The certificate public data.
-func (o P2SVpnServerConfigVpnClientRootCertificateResponseOutput) PublicCertData() pulumi.StringOutput {
- return o.ApplyT(func(v P2SVpnServerConfigVpnClientRootCertificateResponse) string { return v.PublicCertData }).(pulumi.StringOutput)
+// The private IP address of the IP configuration.
+func (o PrivateLinkServiceIpConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-type P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput struct{ *pulumi.OutputState }
+// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+func (o PrivateLinkServiceIpConfigurationResponseOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
+}
-func (P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]P2SVpnServerConfigVpnClientRootCertificateResponse)(nil)).Elem()
+// The private IP address allocation method.
+func (o PrivateLinkServiceIpConfigurationResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-func (o P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput) ToP2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput() P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput {
+// The provisioning state of the private link service IP configuration resource.
+func (o PrivateLinkServiceIpConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
+
+// The reference to the subnet resource.
+func (o PrivateLinkServiceIpConfigurationResponseOutput) Subnet() SubnetResponsePtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
+}
+
+// The resource type.
+func (o PrivateLinkServiceIpConfigurationResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
+}
+
+type PrivateLinkServiceIpConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServiceIpConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]PrivateLinkServiceIpConfigurationResponse)(nil)).Elem()
+}
+
+func (o PrivateLinkServiceIpConfigurationResponseArrayOutput) ToPrivateLinkServiceIpConfigurationResponseArrayOutput() PrivateLinkServiceIpConfigurationResponseArrayOutput {
return o
}
-func (o P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput) ToP2SVpnServerConfigVpnClientRootCertificateResponseArrayOutputWithContext(ctx context.Context) P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput {
+func (o PrivateLinkServiceIpConfigurationResponseArrayOutput) ToPrivateLinkServiceIpConfigurationResponseArrayOutputWithContext(ctx context.Context) PrivateLinkServiceIpConfigurationResponseArrayOutput {
return o
}
-func (o P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput) Index(i pulumi.IntInput) P2SVpnServerConfigVpnClientRootCertificateResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) P2SVpnServerConfigVpnClientRootCertificateResponse {
- return vs[0].([]P2SVpnServerConfigVpnClientRootCertificateResponse)[vs[1].(int)]
- }).(P2SVpnServerConfigVpnClientRootCertificateResponseOutput)
+func (o PrivateLinkServiceIpConfigurationResponseArrayOutput) Index(i pulumi.IntInput) PrivateLinkServiceIpConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateLinkServiceIpConfigurationResponse {
+ return vs[0].([]PrivateLinkServiceIpConfigurationResponse)[vs[1].(int)]
+ }).(PrivateLinkServiceIpConfigurationResponseOutput)
}
-// Parameters for P2SVpnServerConfiguration.
-type P2SVpnServerConfigurationProperties struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // The name of the P2SVpnServerConfiguration that is unique within a VirtualWan in a resource group. This name can be used to access the resource along with Paren VirtualWan resource name.
- Name *string `pulumi:"name"`
- // Radius client root certificate of P2SVpnServerConfiguration.
- P2SVpnServerConfigRadiusClientRootCertificates []P2SVpnServerConfigRadiusClientRootCertificate `pulumi:"p2SVpnServerConfigRadiusClientRootCertificates"`
- // Radius Server root certificate of P2SVpnServerConfiguration.
- P2SVpnServerConfigRadiusServerRootCertificates []P2SVpnServerConfigRadiusServerRootCertificate `pulumi:"p2SVpnServerConfigRadiusServerRootCertificates"`
- // VPN client revoked certificate of P2SVpnServerConfiguration.
- P2SVpnServerConfigVpnClientRevokedCertificates []P2SVpnServerConfigVpnClientRevokedCertificate `pulumi:"p2SVpnServerConfigVpnClientRevokedCertificates"`
- // VPN client root certificate of P2SVpnServerConfiguration.
- P2SVpnServerConfigVpnClientRootCertificates []P2SVpnServerConfigVpnClientRootCertificate `pulumi:"p2SVpnServerConfigVpnClientRootCertificates"`
- // The radius server address property of the P2SVpnServerConfiguration resource for point to site client connection.
- RadiusServerAddress *string `pulumi:"radiusServerAddress"`
- // The radius secret property of the P2SVpnServerConfiguration resource for point to site client connection.
- RadiusServerSecret *string `pulumi:"radiusServerSecret"`
- // VpnClientIpsecPolicies for P2SVpnServerConfiguration.
- VpnClientIpsecPolicies []IpsecPolicy `pulumi:"vpnClientIpsecPolicies"`
- // VPN protocols for the P2SVpnServerConfiguration.
- VpnProtocols []string `pulumi:"vpnProtocols"`
+// The auto-approval list of the private link service.
+type PrivateLinkServicePropertiesAutoApproval struct {
+ // The list of subscriptions.
+ Subscriptions []string `pulumi:"subscriptions"`
}
-// P2SVpnServerConfigurationPropertiesInput is an input type that accepts P2SVpnServerConfigurationPropertiesArgs and P2SVpnServerConfigurationPropertiesOutput values.
-// You can construct a concrete instance of `P2SVpnServerConfigurationPropertiesInput` via:
+// PrivateLinkServicePropertiesAutoApprovalInput is an input type that accepts PrivateLinkServicePropertiesAutoApprovalArgs and PrivateLinkServicePropertiesAutoApprovalOutput values.
+// You can construct a concrete instance of `PrivateLinkServicePropertiesAutoApprovalInput` via:
//
-// P2SVpnServerConfigurationPropertiesArgs{...}
-type P2SVpnServerConfigurationPropertiesInput interface {
+// PrivateLinkServicePropertiesAutoApprovalArgs{...}
+type PrivateLinkServicePropertiesAutoApprovalInput interface {
pulumi.Input
- ToP2SVpnServerConfigurationPropertiesOutput() P2SVpnServerConfigurationPropertiesOutput
- ToP2SVpnServerConfigurationPropertiesOutputWithContext(context.Context) P2SVpnServerConfigurationPropertiesOutput
+ ToPrivateLinkServicePropertiesAutoApprovalOutput() PrivateLinkServicePropertiesAutoApprovalOutput
+ ToPrivateLinkServicePropertiesAutoApprovalOutputWithContext(context.Context) PrivateLinkServicePropertiesAutoApprovalOutput
}
-// Parameters for P2SVpnServerConfiguration.
-type P2SVpnServerConfigurationPropertiesArgs struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag pulumi.StringPtrInput `pulumi:"etag"`
- // The name of the P2SVpnServerConfiguration that is unique within a VirtualWan in a resource group. This name can be used to access the resource along with Paren VirtualWan resource name.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Radius client root certificate of P2SVpnServerConfiguration.
- P2SVpnServerConfigRadiusClientRootCertificates P2SVpnServerConfigRadiusClientRootCertificateArrayInput `pulumi:"p2SVpnServerConfigRadiusClientRootCertificates"`
- // Radius Server root certificate of P2SVpnServerConfiguration.
- P2SVpnServerConfigRadiusServerRootCertificates P2SVpnServerConfigRadiusServerRootCertificateArrayInput `pulumi:"p2SVpnServerConfigRadiusServerRootCertificates"`
- // VPN client revoked certificate of P2SVpnServerConfiguration.
- P2SVpnServerConfigVpnClientRevokedCertificates P2SVpnServerConfigVpnClientRevokedCertificateArrayInput `pulumi:"p2SVpnServerConfigVpnClientRevokedCertificates"`
- // VPN client root certificate of P2SVpnServerConfiguration.
- P2SVpnServerConfigVpnClientRootCertificates P2SVpnServerConfigVpnClientRootCertificateArrayInput `pulumi:"p2SVpnServerConfigVpnClientRootCertificates"`
- // The radius server address property of the P2SVpnServerConfiguration resource for point to site client connection.
- RadiusServerAddress pulumi.StringPtrInput `pulumi:"radiusServerAddress"`
- // The radius secret property of the P2SVpnServerConfiguration resource for point to site client connection.
- RadiusServerSecret pulumi.StringPtrInput `pulumi:"radiusServerSecret"`
- // VpnClientIpsecPolicies for P2SVpnServerConfiguration.
- VpnClientIpsecPolicies IpsecPolicyArrayInput `pulumi:"vpnClientIpsecPolicies"`
- // VPN protocols for the P2SVpnServerConfiguration.
- VpnProtocols pulumi.StringArrayInput `pulumi:"vpnProtocols"`
+// The auto-approval list of the private link service.
+type PrivateLinkServicePropertiesAutoApprovalArgs struct {
+ // The list of subscriptions.
+ Subscriptions pulumi.StringArrayInput `pulumi:"subscriptions"`
}
-func (P2SVpnServerConfigurationPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SVpnServerConfigurationProperties)(nil)).Elem()
+func (PrivateLinkServicePropertiesAutoApprovalArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServicePropertiesAutoApproval)(nil)).Elem()
}
-func (i P2SVpnServerConfigurationPropertiesArgs) ToP2SVpnServerConfigurationPropertiesOutput() P2SVpnServerConfigurationPropertiesOutput {
- return i.ToP2SVpnServerConfigurationPropertiesOutputWithContext(context.Background())
+func (i PrivateLinkServicePropertiesAutoApprovalArgs) ToPrivateLinkServicePropertiesAutoApprovalOutput() PrivateLinkServicePropertiesAutoApprovalOutput {
+ return i.ToPrivateLinkServicePropertiesAutoApprovalOutputWithContext(context.Background())
}
-func (i P2SVpnServerConfigurationPropertiesArgs) ToP2SVpnServerConfigurationPropertiesOutputWithContext(ctx context.Context) P2SVpnServerConfigurationPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigurationPropertiesOutput)
+func (i PrivateLinkServicePropertiesAutoApprovalArgs) ToPrivateLinkServicePropertiesAutoApprovalOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesAutoApprovalOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServicePropertiesAutoApprovalOutput)
}
-func (i P2SVpnServerConfigurationPropertiesArgs) ToP2SVpnServerConfigurationPropertiesPtrOutput() P2SVpnServerConfigurationPropertiesPtrOutput {
- return i.ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(context.Background())
+func (i PrivateLinkServicePropertiesAutoApprovalArgs) ToPrivateLinkServicePropertiesAutoApprovalPtrOutput() PrivateLinkServicePropertiesAutoApprovalPtrOutput {
+ return i.ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(context.Background())
}
-func (i P2SVpnServerConfigurationPropertiesArgs) ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(ctx context.Context) P2SVpnServerConfigurationPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigurationPropertiesOutput).ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(ctx)
+func (i PrivateLinkServicePropertiesAutoApprovalArgs) ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesAutoApprovalPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServicePropertiesAutoApprovalOutput).ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(ctx)
}
-// P2SVpnServerConfigurationPropertiesPtrInput is an input type that accepts P2SVpnServerConfigurationPropertiesArgs, P2SVpnServerConfigurationPropertiesPtr and P2SVpnServerConfigurationPropertiesPtrOutput values.
-// You can construct a concrete instance of `P2SVpnServerConfigurationPropertiesPtrInput` via:
+// PrivateLinkServicePropertiesAutoApprovalPtrInput is an input type that accepts PrivateLinkServicePropertiesAutoApprovalArgs, PrivateLinkServicePropertiesAutoApprovalPtr and PrivateLinkServicePropertiesAutoApprovalPtrOutput values.
+// You can construct a concrete instance of `PrivateLinkServicePropertiesAutoApprovalPtrInput` via:
//
-// P2SVpnServerConfigurationPropertiesArgs{...}
+// PrivateLinkServicePropertiesAutoApprovalArgs{...}
//
// or:
//
// nil
-type P2SVpnServerConfigurationPropertiesPtrInput interface {
+type PrivateLinkServicePropertiesAutoApprovalPtrInput interface {
pulumi.Input
- ToP2SVpnServerConfigurationPropertiesPtrOutput() P2SVpnServerConfigurationPropertiesPtrOutput
- ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(context.Context) P2SVpnServerConfigurationPropertiesPtrOutput
+ ToPrivateLinkServicePropertiesAutoApprovalPtrOutput() PrivateLinkServicePropertiesAutoApprovalPtrOutput
+ ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(context.Context) PrivateLinkServicePropertiesAutoApprovalPtrOutput
}
-type p2svpnServerConfigurationPropertiesPtrType P2SVpnServerConfigurationPropertiesArgs
+type privateLinkServicePropertiesAutoApprovalPtrType PrivateLinkServicePropertiesAutoApprovalArgs
-func P2SVpnServerConfigurationPropertiesPtr(v *P2SVpnServerConfigurationPropertiesArgs) P2SVpnServerConfigurationPropertiesPtrInput {
- return (*p2svpnServerConfigurationPropertiesPtrType)(v)
+func PrivateLinkServicePropertiesAutoApprovalPtr(v *PrivateLinkServicePropertiesAutoApprovalArgs) PrivateLinkServicePropertiesAutoApprovalPtrInput {
+ return (*privateLinkServicePropertiesAutoApprovalPtrType)(v)
}
-func (*p2svpnServerConfigurationPropertiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**P2SVpnServerConfigurationProperties)(nil)).Elem()
+func (*privateLinkServicePropertiesAutoApprovalPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrivateLinkServicePropertiesAutoApproval)(nil)).Elem()
}
-func (i *p2svpnServerConfigurationPropertiesPtrType) ToP2SVpnServerConfigurationPropertiesPtrOutput() P2SVpnServerConfigurationPropertiesPtrOutput {
- return i.ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(context.Background())
+func (i *privateLinkServicePropertiesAutoApprovalPtrType) ToPrivateLinkServicePropertiesAutoApprovalPtrOutput() PrivateLinkServicePropertiesAutoApprovalPtrOutput {
+ return i.ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(context.Background())
}
-func (i *p2svpnServerConfigurationPropertiesPtrType) ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(ctx context.Context) P2SVpnServerConfigurationPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(P2SVpnServerConfigurationPropertiesPtrOutput)
+func (i *privateLinkServicePropertiesAutoApprovalPtrType) ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesAutoApprovalPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServicePropertiesAutoApprovalPtrOutput)
}
-// Parameters for P2SVpnServerConfiguration.
-type P2SVpnServerConfigurationPropertiesOutput struct{ *pulumi.OutputState }
+// The auto-approval list of the private link service.
+type PrivateLinkServicePropertiesAutoApprovalOutput struct{ *pulumi.OutputState }
-func (P2SVpnServerConfigurationPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SVpnServerConfigurationProperties)(nil)).Elem()
+func (PrivateLinkServicePropertiesAutoApprovalOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServicePropertiesAutoApproval)(nil)).Elem()
}
-func (o P2SVpnServerConfigurationPropertiesOutput) ToP2SVpnServerConfigurationPropertiesOutput() P2SVpnServerConfigurationPropertiesOutput {
+func (o PrivateLinkServicePropertiesAutoApprovalOutput) ToPrivateLinkServicePropertiesAutoApprovalOutput() PrivateLinkServicePropertiesAutoApprovalOutput {
return o
}
-func (o P2SVpnServerConfigurationPropertiesOutput) ToP2SVpnServerConfigurationPropertiesOutputWithContext(ctx context.Context) P2SVpnServerConfigurationPropertiesOutput {
+func (o PrivateLinkServicePropertiesAutoApprovalOutput) ToPrivateLinkServicePropertiesAutoApprovalOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesAutoApprovalOutput {
return o
}
-func (o P2SVpnServerConfigurationPropertiesOutput) ToP2SVpnServerConfigurationPropertiesPtrOutput() P2SVpnServerConfigurationPropertiesPtrOutput {
- return o.ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(context.Background())
+func (o PrivateLinkServicePropertiesAutoApprovalOutput) ToPrivateLinkServicePropertiesAutoApprovalPtrOutput() PrivateLinkServicePropertiesAutoApprovalPtrOutput {
+ return o.ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(context.Background())
}
-func (o P2SVpnServerConfigurationPropertiesOutput) ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(ctx context.Context) P2SVpnServerConfigurationPropertiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v P2SVpnServerConfigurationProperties) *P2SVpnServerConfigurationProperties {
+func (o PrivateLinkServicePropertiesAutoApprovalOutput) ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesAutoApprovalPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v PrivateLinkServicePropertiesAutoApproval) *PrivateLinkServicePropertiesAutoApproval {
return &v
- }).(P2SVpnServerConfigurationPropertiesPtrOutput)
+ }).(PrivateLinkServicePropertiesAutoApprovalPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o P2SVpnServerConfigurationPropertiesOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationProperties) *string { return v.Etag }).(pulumi.StringPtrOutput)
+// The list of subscriptions.
+func (o PrivateLinkServicePropertiesAutoApprovalOutput) Subscriptions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServicePropertiesAutoApproval) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
}
-// The name of the P2SVpnServerConfiguration that is unique within a VirtualWan in a resource group. This name can be used to access the resource along with Paren VirtualWan resource name.
-func (o P2SVpnServerConfigurationPropertiesOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationProperties) *string { return v.Name }).(pulumi.StringPtrOutput)
+type PrivateLinkServicePropertiesAutoApprovalPtrOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServicePropertiesAutoApprovalPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrivateLinkServicePropertiesAutoApproval)(nil)).Elem()
}
-// Radius client root certificate of P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesOutput) P2SVpnServerConfigRadiusClientRootCertificates() P2SVpnServerConfigRadiusClientRootCertificateArrayOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationProperties) []P2SVpnServerConfigRadiusClientRootCertificate {
- return v.P2SVpnServerConfigRadiusClientRootCertificates
- }).(P2SVpnServerConfigRadiusClientRootCertificateArrayOutput)
+func (o PrivateLinkServicePropertiesAutoApprovalPtrOutput) ToPrivateLinkServicePropertiesAutoApprovalPtrOutput() PrivateLinkServicePropertiesAutoApprovalPtrOutput {
+ return o
}
-// Radius Server root certificate of P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesOutput) P2SVpnServerConfigRadiusServerRootCertificates() P2SVpnServerConfigRadiusServerRootCertificateArrayOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationProperties) []P2SVpnServerConfigRadiusServerRootCertificate {
- return v.P2SVpnServerConfigRadiusServerRootCertificates
- }).(P2SVpnServerConfigRadiusServerRootCertificateArrayOutput)
+func (o PrivateLinkServicePropertiesAutoApprovalPtrOutput) ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesAutoApprovalPtrOutput {
+ return o
}
-// VPN client revoked certificate of P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesOutput) P2SVpnServerConfigVpnClientRevokedCertificates() P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationProperties) []P2SVpnServerConfigVpnClientRevokedCertificate {
- return v.P2SVpnServerConfigVpnClientRevokedCertificates
- }).(P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput)
+func (o PrivateLinkServicePropertiesAutoApprovalPtrOutput) Elem() PrivateLinkServicePropertiesAutoApprovalOutput {
+ return o.ApplyT(func(v *PrivateLinkServicePropertiesAutoApproval) PrivateLinkServicePropertiesAutoApproval {
+ if v != nil {
+ return *v
+ }
+ var ret PrivateLinkServicePropertiesAutoApproval
+ return ret
+ }).(PrivateLinkServicePropertiesAutoApprovalOutput)
}
-// VPN client root certificate of P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesOutput) P2SVpnServerConfigVpnClientRootCertificates() P2SVpnServerConfigVpnClientRootCertificateArrayOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationProperties) []P2SVpnServerConfigVpnClientRootCertificate {
- return v.P2SVpnServerConfigVpnClientRootCertificates
- }).(P2SVpnServerConfigVpnClientRootCertificateArrayOutput)
+// The list of subscriptions.
+func (o PrivateLinkServicePropertiesAutoApprovalPtrOutput) Subscriptions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServicePropertiesAutoApproval) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Subscriptions
+ }).(pulumi.StringArrayOutput)
}
-// The radius server address property of the P2SVpnServerConfiguration resource for point to site client connection.
-func (o P2SVpnServerConfigurationPropertiesOutput) RadiusServerAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationProperties) *string { return v.RadiusServerAddress }).(pulumi.StringPtrOutput)
+// The auto-approval list of the private link service.
+type PrivateLinkServicePropertiesAutoApprovalResponse struct {
+ // The list of subscriptions.
+ Subscriptions []string `pulumi:"subscriptions"`
}
-// The radius secret property of the P2SVpnServerConfiguration resource for point to site client connection.
-func (o P2SVpnServerConfigurationPropertiesOutput) RadiusServerSecret() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationProperties) *string { return v.RadiusServerSecret }).(pulumi.StringPtrOutput)
+// The auto-approval list of the private link service.
+type PrivateLinkServicePropertiesAutoApprovalResponseOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServicePropertiesAutoApprovalResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServicePropertiesAutoApprovalResponse)(nil)).Elem()
}
-// VpnClientIpsecPolicies for P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesOutput) VpnClientIpsecPolicies() IpsecPolicyArrayOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationProperties) []IpsecPolicy { return v.VpnClientIpsecPolicies }).(IpsecPolicyArrayOutput)
+func (o PrivateLinkServicePropertiesAutoApprovalResponseOutput) ToPrivateLinkServicePropertiesAutoApprovalResponseOutput() PrivateLinkServicePropertiesAutoApprovalResponseOutput {
+ return o
}
-// VPN protocols for the P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesOutput) VpnProtocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationProperties) []string { return v.VpnProtocols }).(pulumi.StringArrayOutput)
+func (o PrivateLinkServicePropertiesAutoApprovalResponseOutput) ToPrivateLinkServicePropertiesAutoApprovalResponseOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesAutoApprovalResponseOutput {
+ return o
}
-type P2SVpnServerConfigurationPropertiesPtrOutput struct{ *pulumi.OutputState }
+// The list of subscriptions.
+func (o PrivateLinkServicePropertiesAutoApprovalResponseOutput) Subscriptions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServicePropertiesAutoApprovalResponse) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
+}
-func (P2SVpnServerConfigurationPropertiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**P2SVpnServerConfigurationProperties)(nil)).Elem()
+type PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrivateLinkServicePropertiesAutoApprovalResponse)(nil)).Elem()
}
-func (o P2SVpnServerConfigurationPropertiesPtrOutput) ToP2SVpnServerConfigurationPropertiesPtrOutput() P2SVpnServerConfigurationPropertiesPtrOutput {
+func (o PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput) ToPrivateLinkServicePropertiesAutoApprovalResponsePtrOutput() PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput {
return o
}
-func (o P2SVpnServerConfigurationPropertiesPtrOutput) ToP2SVpnServerConfigurationPropertiesPtrOutputWithContext(ctx context.Context) P2SVpnServerConfigurationPropertiesPtrOutput {
+func (o PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput) ToPrivateLinkServicePropertiesAutoApprovalResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput {
return o
}
-func (o P2SVpnServerConfigurationPropertiesPtrOutput) Elem() P2SVpnServerConfigurationPropertiesOutput {
- return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) P2SVpnServerConfigurationProperties {
+func (o PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput) Elem() PrivateLinkServicePropertiesAutoApprovalResponseOutput {
+ return o.ApplyT(func(v *PrivateLinkServicePropertiesAutoApprovalResponse) PrivateLinkServicePropertiesAutoApprovalResponse {
if v != nil {
return *v
}
- var ret P2SVpnServerConfigurationProperties
+ var ret PrivateLinkServicePropertiesAutoApprovalResponse
return ret
- }).(P2SVpnServerConfigurationPropertiesOutput)
+ }).(PrivateLinkServicePropertiesAutoApprovalResponseOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o P2SVpnServerConfigurationPropertiesPtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) *string {
+// The list of subscriptions.
+func (o PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput) Subscriptions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServicePropertiesAutoApprovalResponse) []string {
if v == nil {
return nil
}
- return v.Etag
- }).(pulumi.StringPtrOutput)
+ return v.Subscriptions
+ }).(pulumi.StringArrayOutput)
}
-// The name of the P2SVpnServerConfiguration that is unique within a VirtualWan in a resource group. This name can be used to access the resource along with Paren VirtualWan resource name.
-func (o P2SVpnServerConfigurationPropertiesPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+// The auto-approval list of the private link service.
+type PrivateLinkServicePropertiesResponseAutoApproval struct {
+ // The list of subscriptions.
+ Subscriptions []string `pulumi:"subscriptions"`
}
-// Radius client root certificate of P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesPtrOutput) P2SVpnServerConfigRadiusClientRootCertificates() P2SVpnServerConfigRadiusClientRootCertificateArrayOutput {
- return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) []P2SVpnServerConfigRadiusClientRootCertificate {
- if v == nil {
- return nil
- }
- return v.P2SVpnServerConfigRadiusClientRootCertificates
- }).(P2SVpnServerConfigRadiusClientRootCertificateArrayOutput)
+// The auto-approval list of the private link service.
+type PrivateLinkServicePropertiesResponseAutoApprovalOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServicePropertiesResponseAutoApprovalOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServicePropertiesResponseAutoApproval)(nil)).Elem()
}
-// Radius Server root certificate of P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesPtrOutput) P2SVpnServerConfigRadiusServerRootCertificates() P2SVpnServerConfigRadiusServerRootCertificateArrayOutput {
- return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) []P2SVpnServerConfigRadiusServerRootCertificate {
- if v == nil {
- return nil
- }
- return v.P2SVpnServerConfigRadiusServerRootCertificates
- }).(P2SVpnServerConfigRadiusServerRootCertificateArrayOutput)
+func (o PrivateLinkServicePropertiesResponseAutoApprovalOutput) ToPrivateLinkServicePropertiesResponseAutoApprovalOutput() PrivateLinkServicePropertiesResponseAutoApprovalOutput {
+ return o
}
-// VPN client revoked certificate of P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesPtrOutput) P2SVpnServerConfigVpnClientRevokedCertificates() P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput {
- return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) []P2SVpnServerConfigVpnClientRevokedCertificate {
- if v == nil {
- return nil
- }
- return v.P2SVpnServerConfigVpnClientRevokedCertificates
- }).(P2SVpnServerConfigVpnClientRevokedCertificateArrayOutput)
+func (o PrivateLinkServicePropertiesResponseAutoApprovalOutput) ToPrivateLinkServicePropertiesResponseAutoApprovalOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesResponseAutoApprovalOutput {
+ return o
}
-// VPN client root certificate of P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesPtrOutput) P2SVpnServerConfigVpnClientRootCertificates() P2SVpnServerConfigVpnClientRootCertificateArrayOutput {
- return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) []P2SVpnServerConfigVpnClientRootCertificate {
- if v == nil {
- return nil
- }
- return v.P2SVpnServerConfigVpnClientRootCertificates
- }).(P2SVpnServerConfigVpnClientRootCertificateArrayOutput)
+// The list of subscriptions.
+func (o PrivateLinkServicePropertiesResponseAutoApprovalOutput) Subscriptions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServicePropertiesResponseAutoApproval) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
}
-// The radius server address property of the P2SVpnServerConfiguration resource for point to site client connection.
-func (o P2SVpnServerConfigurationPropertiesPtrOutput) RadiusServerAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) *string {
- if v == nil {
- return nil
- }
- return v.RadiusServerAddress
- }).(pulumi.StringPtrOutput)
+type PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrivateLinkServicePropertiesResponseAutoApproval)(nil)).Elem()
}
-// The radius secret property of the P2SVpnServerConfiguration resource for point to site client connection.
-func (o P2SVpnServerConfigurationPropertiesPtrOutput) RadiusServerSecret() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) *string {
- if v == nil {
- return nil
- }
- return v.RadiusServerSecret
- }).(pulumi.StringPtrOutput)
+func (o PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput) ToPrivateLinkServicePropertiesResponseAutoApprovalPtrOutput() PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput {
+ return o
}
-// VpnClientIpsecPolicies for P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesPtrOutput) VpnClientIpsecPolicies() IpsecPolicyArrayOutput {
- return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) []IpsecPolicy {
- if v == nil {
- return nil
+func (o PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput) ToPrivateLinkServicePropertiesResponseAutoApprovalPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput {
+ return o
+}
+
+func (o PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput) Elem() PrivateLinkServicePropertiesResponseAutoApprovalOutput {
+ return o.ApplyT(func(v *PrivateLinkServicePropertiesResponseAutoApproval) PrivateLinkServicePropertiesResponseAutoApproval {
+ if v != nil {
+ return *v
}
- return v.VpnClientIpsecPolicies
- }).(IpsecPolicyArrayOutput)
+ var ret PrivateLinkServicePropertiesResponseAutoApproval
+ return ret
+ }).(PrivateLinkServicePropertiesResponseAutoApprovalOutput)
}
-// VPN protocols for the P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesPtrOutput) VpnProtocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *P2SVpnServerConfigurationProperties) []string {
+// The list of subscriptions.
+func (o PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput) Subscriptions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServicePropertiesResponseAutoApproval) []string {
if v == nil {
return nil
}
- return v.VpnProtocols
+ return v.Subscriptions
}).(pulumi.StringArrayOutput)
}
-// Parameters for P2SVpnServerConfiguration.
-type P2SVpnServerConfigurationPropertiesResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // The name of the P2SVpnServerConfiguration that is unique within a VirtualWan in a resource group. This name can be used to access the resource along with Paren VirtualWan resource name.
- Name *string `pulumi:"name"`
- // List of references to P2SVpnGateways.
- P2SVpnGateways []SubResourceResponse `pulumi:"p2SVpnGateways"`
- // Radius client root certificate of P2SVpnServerConfiguration.
- P2SVpnServerConfigRadiusClientRootCertificates []P2SVpnServerConfigRadiusClientRootCertificateResponse `pulumi:"p2SVpnServerConfigRadiusClientRootCertificates"`
- // Radius Server root certificate of P2SVpnServerConfiguration.
- P2SVpnServerConfigRadiusServerRootCertificates []P2SVpnServerConfigRadiusServerRootCertificateResponse `pulumi:"p2SVpnServerConfigRadiusServerRootCertificates"`
- // VPN client revoked certificate of P2SVpnServerConfiguration.
- P2SVpnServerConfigVpnClientRevokedCertificates []P2SVpnServerConfigVpnClientRevokedCertificateResponse `pulumi:"p2SVpnServerConfigVpnClientRevokedCertificates"`
- // VPN client root certificate of P2SVpnServerConfiguration.
- P2SVpnServerConfigVpnClientRootCertificates []P2SVpnServerConfigVpnClientRootCertificateResponse `pulumi:"p2SVpnServerConfigVpnClientRootCertificates"`
- // The provisioning state of the P2S VPN server configuration resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The radius server address property of the P2SVpnServerConfiguration resource for point to site client connection.
- RadiusServerAddress *string `pulumi:"radiusServerAddress"`
- // The radius secret property of the P2SVpnServerConfiguration resource for point to site client connection.
- RadiusServerSecret *string `pulumi:"radiusServerSecret"`
- // VpnClientIpsecPolicies for P2SVpnServerConfiguration.
- VpnClientIpsecPolicies []IpsecPolicyResponse `pulumi:"vpnClientIpsecPolicies"`
- // VPN protocols for the P2SVpnServerConfiguration.
- VpnProtocols []string `pulumi:"vpnProtocols"`
+// The visibility list of the private link service.
+type PrivateLinkServicePropertiesResponseVisibility struct {
+ // The list of subscriptions.
+ Subscriptions []string `pulumi:"subscriptions"`
}
-// Parameters for P2SVpnServerConfiguration.
-type P2SVpnServerConfigurationPropertiesResponseOutput struct{ *pulumi.OutputState }
+// The visibility list of the private link service.
+type PrivateLinkServicePropertiesResponseVisibilityOutput struct{ *pulumi.OutputState }
-func (P2SVpnServerConfigurationPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*P2SVpnServerConfigurationPropertiesResponse)(nil)).Elem()
+func (PrivateLinkServicePropertiesResponseVisibilityOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServicePropertiesResponseVisibility)(nil)).Elem()
}
-func (o P2SVpnServerConfigurationPropertiesResponseOutput) ToP2SVpnServerConfigurationPropertiesResponseOutput() P2SVpnServerConfigurationPropertiesResponseOutput {
+func (o PrivateLinkServicePropertiesResponseVisibilityOutput) ToPrivateLinkServicePropertiesResponseVisibilityOutput() PrivateLinkServicePropertiesResponseVisibilityOutput {
return o
}
-func (o P2SVpnServerConfigurationPropertiesResponseOutput) ToP2SVpnServerConfigurationPropertiesResponseOutputWithContext(ctx context.Context) P2SVpnServerConfigurationPropertiesResponseOutput {
+func (o PrivateLinkServicePropertiesResponseVisibilityOutput) ToPrivateLinkServicePropertiesResponseVisibilityOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesResponseVisibilityOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o P2SVpnServerConfigurationPropertiesResponseOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
+// The list of subscriptions.
+func (o PrivateLinkServicePropertiesResponseVisibilityOutput) Subscriptions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServicePropertiesResponseVisibility) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
}
-// The name of the P2SVpnServerConfiguration that is unique within a VirtualWan in a resource group. This name can be used to access the resource along with Paren VirtualWan resource name.
-func (o P2SVpnServerConfigurationPropertiesResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+type PrivateLinkServicePropertiesResponseVisibilityPtrOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServicePropertiesResponseVisibilityPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrivateLinkServicePropertiesResponseVisibility)(nil)).Elem()
}
-// List of references to P2SVpnGateways.
-func (o P2SVpnServerConfigurationPropertiesResponseOutput) P2SVpnGateways() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) []SubResourceResponse { return v.P2SVpnGateways }).(SubResourceResponseArrayOutput)
+func (o PrivateLinkServicePropertiesResponseVisibilityPtrOutput) ToPrivateLinkServicePropertiesResponseVisibilityPtrOutput() PrivateLinkServicePropertiesResponseVisibilityPtrOutput {
+ return o
}
-// Radius client root certificate of P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesResponseOutput) P2SVpnServerConfigRadiusClientRootCertificates() P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) []P2SVpnServerConfigRadiusClientRootCertificateResponse {
- return v.P2SVpnServerConfigRadiusClientRootCertificates
- }).(P2SVpnServerConfigRadiusClientRootCertificateResponseArrayOutput)
+func (o PrivateLinkServicePropertiesResponseVisibilityPtrOutput) ToPrivateLinkServicePropertiesResponseVisibilityPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesResponseVisibilityPtrOutput {
+ return o
}
-// Radius Server root certificate of P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesResponseOutput) P2SVpnServerConfigRadiusServerRootCertificates() P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) []P2SVpnServerConfigRadiusServerRootCertificateResponse {
- return v.P2SVpnServerConfigRadiusServerRootCertificates
- }).(P2SVpnServerConfigRadiusServerRootCertificateResponseArrayOutput)
+func (o PrivateLinkServicePropertiesResponseVisibilityPtrOutput) Elem() PrivateLinkServicePropertiesResponseVisibilityOutput {
+ return o.ApplyT(func(v *PrivateLinkServicePropertiesResponseVisibility) PrivateLinkServicePropertiesResponseVisibility {
+ if v != nil {
+ return *v
+ }
+ var ret PrivateLinkServicePropertiesResponseVisibility
+ return ret
+ }).(PrivateLinkServicePropertiesResponseVisibilityOutput)
}
-// VPN client revoked certificate of P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesResponseOutput) P2SVpnServerConfigVpnClientRevokedCertificates() P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) []P2SVpnServerConfigVpnClientRevokedCertificateResponse {
- return v.P2SVpnServerConfigVpnClientRevokedCertificates
- }).(P2SVpnServerConfigVpnClientRevokedCertificateResponseArrayOutput)
+// The list of subscriptions.
+func (o PrivateLinkServicePropertiesResponseVisibilityPtrOutput) Subscriptions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServicePropertiesResponseVisibility) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Subscriptions
+ }).(pulumi.StringArrayOutput)
}
-// VPN client root certificate of P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesResponseOutput) P2SVpnServerConfigVpnClientRootCertificates() P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) []P2SVpnServerConfigVpnClientRootCertificateResponse {
- return v.P2SVpnServerConfigVpnClientRootCertificates
- }).(P2SVpnServerConfigVpnClientRootCertificateResponseArrayOutput)
+// The visibility list of the private link service.
+type PrivateLinkServicePropertiesVisibility struct {
+ // The list of subscriptions.
+ Subscriptions []string `pulumi:"subscriptions"`
}
-// The provisioning state of the P2S VPN server configuration resource.
-func (o P2SVpnServerConfigurationPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// PrivateLinkServicePropertiesVisibilityInput is an input type that accepts PrivateLinkServicePropertiesVisibilityArgs and PrivateLinkServicePropertiesVisibilityOutput values.
+// You can construct a concrete instance of `PrivateLinkServicePropertiesVisibilityInput` via:
+//
+// PrivateLinkServicePropertiesVisibilityArgs{...}
+type PrivateLinkServicePropertiesVisibilityInput interface {
+ pulumi.Input
+
+ ToPrivateLinkServicePropertiesVisibilityOutput() PrivateLinkServicePropertiesVisibilityOutput
+ ToPrivateLinkServicePropertiesVisibilityOutputWithContext(context.Context) PrivateLinkServicePropertiesVisibilityOutput
}
-// The radius server address property of the P2SVpnServerConfiguration resource for point to site client connection.
-func (o P2SVpnServerConfigurationPropertiesResponseOutput) RadiusServerAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) *string { return v.RadiusServerAddress }).(pulumi.StringPtrOutput)
+// The visibility list of the private link service.
+type PrivateLinkServicePropertiesVisibilityArgs struct {
+ // The list of subscriptions.
+ Subscriptions pulumi.StringArrayInput `pulumi:"subscriptions"`
}
-// The radius secret property of the P2SVpnServerConfiguration resource for point to site client connection.
-func (o P2SVpnServerConfigurationPropertiesResponseOutput) RadiusServerSecret() pulumi.StringPtrOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) *string { return v.RadiusServerSecret }).(pulumi.StringPtrOutput)
+func (PrivateLinkServicePropertiesVisibilityArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServicePropertiesVisibility)(nil)).Elem()
}
-// VpnClientIpsecPolicies for P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesResponseOutput) VpnClientIpsecPolicies() IpsecPolicyResponseArrayOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) []IpsecPolicyResponse {
- return v.VpnClientIpsecPolicies
- }).(IpsecPolicyResponseArrayOutput)
+func (i PrivateLinkServicePropertiesVisibilityArgs) ToPrivateLinkServicePropertiesVisibilityOutput() PrivateLinkServicePropertiesVisibilityOutput {
+ return i.ToPrivateLinkServicePropertiesVisibilityOutputWithContext(context.Background())
}
-// VPN protocols for the P2SVpnServerConfiguration.
-func (o P2SVpnServerConfigurationPropertiesResponseOutput) VpnProtocols() pulumi.StringArrayOutput {
- return o.ApplyT(func(v P2SVpnServerConfigurationPropertiesResponse) []string { return v.VpnProtocols }).(pulumi.StringArrayOutput)
+func (i PrivateLinkServicePropertiesVisibilityArgs) ToPrivateLinkServicePropertiesVisibilityOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesVisibilityOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServicePropertiesVisibilityOutput)
}
-// Filter that is applied to packet capture request. Multiple filters can be applied.
-type PacketCaptureFilter struct {
- // Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- LocalIPAddress *string `pulumi:"localIPAddress"`
- // Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- LocalPort *string `pulumi:"localPort"`
- // Protocol to be filtered on.
- Protocol *string `pulumi:"protocol"`
- // Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- RemoteIPAddress *string `pulumi:"remoteIPAddress"`
- // Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- RemotePort *string `pulumi:"remotePort"`
+func (i PrivateLinkServicePropertiesVisibilityArgs) ToPrivateLinkServicePropertiesVisibilityPtrOutput() PrivateLinkServicePropertiesVisibilityPtrOutput {
+ return i.ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(context.Background())
}
-// Defaults sets the appropriate defaults for PacketCaptureFilter
-func (val *PacketCaptureFilter) Defaults() *PacketCaptureFilter {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.Protocol == nil {
- protocol_ := "Any"
- tmp.Protocol = &protocol_
- }
- return &tmp
+func (i PrivateLinkServicePropertiesVisibilityArgs) ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesVisibilityPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServicePropertiesVisibilityOutput).ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(ctx)
}
-// PacketCaptureFilterInput is an input type that accepts PacketCaptureFilterArgs and PacketCaptureFilterOutput values.
-// You can construct a concrete instance of `PacketCaptureFilterInput` via:
+// PrivateLinkServicePropertiesVisibilityPtrInput is an input type that accepts PrivateLinkServicePropertiesVisibilityArgs, PrivateLinkServicePropertiesVisibilityPtr and PrivateLinkServicePropertiesVisibilityPtrOutput values.
+// You can construct a concrete instance of `PrivateLinkServicePropertiesVisibilityPtrInput` via:
//
-// PacketCaptureFilterArgs{...}
-type PacketCaptureFilterInput interface {
+// PrivateLinkServicePropertiesVisibilityArgs{...}
+//
+// or:
+//
+// nil
+type PrivateLinkServicePropertiesVisibilityPtrInput interface {
pulumi.Input
- ToPacketCaptureFilterOutput() PacketCaptureFilterOutput
- ToPacketCaptureFilterOutputWithContext(context.Context) PacketCaptureFilterOutput
+ ToPrivateLinkServicePropertiesVisibilityPtrOutput() PrivateLinkServicePropertiesVisibilityPtrOutput
+ ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(context.Context) PrivateLinkServicePropertiesVisibilityPtrOutput
}
-// Filter that is applied to packet capture request. Multiple filters can be applied.
-type PacketCaptureFilterArgs struct {
- // Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- LocalIPAddress pulumi.StringPtrInput `pulumi:"localIPAddress"`
- // Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- LocalPort pulumi.StringPtrInput `pulumi:"localPort"`
- // Protocol to be filtered on.
- Protocol pulumi.StringPtrInput `pulumi:"protocol"`
- // Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- RemoteIPAddress pulumi.StringPtrInput `pulumi:"remoteIPAddress"`
- // Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- RemotePort pulumi.StringPtrInput `pulumi:"remotePort"`
-}
+type privateLinkServicePropertiesVisibilityPtrType PrivateLinkServicePropertiesVisibilityArgs
-// Defaults sets the appropriate defaults for PacketCaptureFilterArgs
-func (val *PacketCaptureFilterArgs) Defaults() *PacketCaptureFilterArgs {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.Protocol == nil {
- tmp.Protocol = pulumi.StringPtr("Any")
- }
- return &tmp
+func PrivateLinkServicePropertiesVisibilityPtr(v *PrivateLinkServicePropertiesVisibilityArgs) PrivateLinkServicePropertiesVisibilityPtrInput {
+ return (*privateLinkServicePropertiesVisibilityPtrType)(v)
}
-func (PacketCaptureFilterArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PacketCaptureFilter)(nil)).Elem()
+
+func (*privateLinkServicePropertiesVisibilityPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrivateLinkServicePropertiesVisibility)(nil)).Elem()
}
-func (i PacketCaptureFilterArgs) ToPacketCaptureFilterOutput() PacketCaptureFilterOutput {
- return i.ToPacketCaptureFilterOutputWithContext(context.Background())
+func (i *privateLinkServicePropertiesVisibilityPtrType) ToPrivateLinkServicePropertiesVisibilityPtrOutput() PrivateLinkServicePropertiesVisibilityPtrOutput {
+ return i.ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(context.Background())
}
-func (i PacketCaptureFilterArgs) ToPacketCaptureFilterOutputWithContext(ctx context.Context) PacketCaptureFilterOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureFilterOutput)
+func (i *privateLinkServicePropertiesVisibilityPtrType) ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesVisibilityPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServicePropertiesVisibilityPtrOutput)
}
-// PacketCaptureFilterArrayInput is an input type that accepts PacketCaptureFilterArray and PacketCaptureFilterArrayOutput values.
-// You can construct a concrete instance of `PacketCaptureFilterArrayInput` via:
-//
-// PacketCaptureFilterArray{ PacketCaptureFilterArgs{...} }
-type PacketCaptureFilterArrayInput interface {
- pulumi.Input
+// The visibility list of the private link service.
+type PrivateLinkServicePropertiesVisibilityOutput struct{ *pulumi.OutputState }
- ToPacketCaptureFilterArrayOutput() PacketCaptureFilterArrayOutput
- ToPacketCaptureFilterArrayOutputWithContext(context.Context) PacketCaptureFilterArrayOutput
+func (PrivateLinkServicePropertiesVisibilityOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServicePropertiesVisibility)(nil)).Elem()
}
-type PacketCaptureFilterArray []PacketCaptureFilterInput
+func (o PrivateLinkServicePropertiesVisibilityOutput) ToPrivateLinkServicePropertiesVisibilityOutput() PrivateLinkServicePropertiesVisibilityOutput {
+ return o
+}
-func (PacketCaptureFilterArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PacketCaptureFilter)(nil)).Elem()
+func (o PrivateLinkServicePropertiesVisibilityOutput) ToPrivateLinkServicePropertiesVisibilityOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesVisibilityOutput {
+ return o
}
-func (i PacketCaptureFilterArray) ToPacketCaptureFilterArrayOutput() PacketCaptureFilterArrayOutput {
- return i.ToPacketCaptureFilterArrayOutputWithContext(context.Background())
+func (o PrivateLinkServicePropertiesVisibilityOutput) ToPrivateLinkServicePropertiesVisibilityPtrOutput() PrivateLinkServicePropertiesVisibilityPtrOutput {
+ return o.ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(context.Background())
}
-func (i PacketCaptureFilterArray) ToPacketCaptureFilterArrayOutputWithContext(ctx context.Context) PacketCaptureFilterArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureFilterArrayOutput)
+func (o PrivateLinkServicePropertiesVisibilityOutput) ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesVisibilityPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v PrivateLinkServicePropertiesVisibility) *PrivateLinkServicePropertiesVisibility {
+ return &v
+ }).(PrivateLinkServicePropertiesVisibilityPtrOutput)
}
-// Filter that is applied to packet capture request. Multiple filters can be applied.
-type PacketCaptureFilterOutput struct{ *pulumi.OutputState }
+// The list of subscriptions.
+func (o PrivateLinkServicePropertiesVisibilityOutput) Subscriptions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServicePropertiesVisibility) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
+}
-func (PacketCaptureFilterOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PacketCaptureFilter)(nil)).Elem()
+type PrivateLinkServicePropertiesVisibilityPtrOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServicePropertiesVisibilityPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrivateLinkServicePropertiesVisibility)(nil)).Elem()
}
-func (o PacketCaptureFilterOutput) ToPacketCaptureFilterOutput() PacketCaptureFilterOutput {
+func (o PrivateLinkServicePropertiesVisibilityPtrOutput) ToPrivateLinkServicePropertiesVisibilityPtrOutput() PrivateLinkServicePropertiesVisibilityPtrOutput {
return o
}
-func (o PacketCaptureFilterOutput) ToPacketCaptureFilterOutputWithContext(ctx context.Context) PacketCaptureFilterOutput {
+func (o PrivateLinkServicePropertiesVisibilityPtrOutput) ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesVisibilityPtrOutput {
return o
}
-// Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
-func (o PacketCaptureFilterOutput) LocalIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureFilter) *string { return v.LocalIPAddress }).(pulumi.StringPtrOutput)
+func (o PrivateLinkServicePropertiesVisibilityPtrOutput) Elem() PrivateLinkServicePropertiesVisibilityOutput {
+ return o.ApplyT(func(v *PrivateLinkServicePropertiesVisibility) PrivateLinkServicePropertiesVisibility {
+ if v != nil {
+ return *v
+ }
+ var ret PrivateLinkServicePropertiesVisibility
+ return ret
+ }).(PrivateLinkServicePropertiesVisibilityOutput)
}
-// Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
-func (o PacketCaptureFilterOutput) LocalPort() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureFilter) *string { return v.LocalPort }).(pulumi.StringPtrOutput)
+// The list of subscriptions.
+func (o PrivateLinkServicePropertiesVisibilityPtrOutput) Subscriptions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServicePropertiesVisibility) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Subscriptions
+ }).(pulumi.StringArrayOutput)
}
-// Protocol to be filtered on.
-func (o PacketCaptureFilterOutput) Protocol() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureFilter) *string { return v.Protocol }).(pulumi.StringPtrOutput)
+// The visibility list of the private link service.
+type PrivateLinkServicePropertiesVisibilityResponse struct {
+ // The list of subscriptions.
+ Subscriptions []string `pulumi:"subscriptions"`
}
-// Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
-func (o PacketCaptureFilterOutput) RemoteIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureFilter) *string { return v.RemoteIPAddress }).(pulumi.StringPtrOutput)
+// The visibility list of the private link service.
+type PrivateLinkServicePropertiesVisibilityResponseOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServicePropertiesVisibilityResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServicePropertiesVisibilityResponse)(nil)).Elem()
}
-// Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
-func (o PacketCaptureFilterOutput) RemotePort() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureFilter) *string { return v.RemotePort }).(pulumi.StringPtrOutput)
+func (o PrivateLinkServicePropertiesVisibilityResponseOutput) ToPrivateLinkServicePropertiesVisibilityResponseOutput() PrivateLinkServicePropertiesVisibilityResponseOutput {
+ return o
}
-type PacketCaptureFilterArrayOutput struct{ *pulumi.OutputState }
+func (o PrivateLinkServicePropertiesVisibilityResponseOutput) ToPrivateLinkServicePropertiesVisibilityResponseOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesVisibilityResponseOutput {
+ return o
+}
-func (PacketCaptureFilterArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PacketCaptureFilter)(nil)).Elem()
+// The list of subscriptions.
+func (o PrivateLinkServicePropertiesVisibilityResponseOutput) Subscriptions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServicePropertiesVisibilityResponse) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
}
-func (o PacketCaptureFilterArrayOutput) ToPacketCaptureFilterArrayOutput() PacketCaptureFilterArrayOutput {
+type PrivateLinkServicePropertiesVisibilityResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (PrivateLinkServicePropertiesVisibilityResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrivateLinkServicePropertiesVisibilityResponse)(nil)).Elem()
+}
+
+func (o PrivateLinkServicePropertiesVisibilityResponsePtrOutput) ToPrivateLinkServicePropertiesVisibilityResponsePtrOutput() PrivateLinkServicePropertiesVisibilityResponsePtrOutput {
return o
}
-func (o PacketCaptureFilterArrayOutput) ToPacketCaptureFilterArrayOutputWithContext(ctx context.Context) PacketCaptureFilterArrayOutput {
+func (o PrivateLinkServicePropertiesVisibilityResponsePtrOutput) ToPrivateLinkServicePropertiesVisibilityResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesVisibilityResponsePtrOutput {
return o
}
-func (o PacketCaptureFilterArrayOutput) Index(i pulumi.IntInput) PacketCaptureFilterOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PacketCaptureFilter {
- return vs[0].([]PacketCaptureFilter)[vs[1].(int)]
- }).(PacketCaptureFilterOutput)
+func (o PrivateLinkServicePropertiesVisibilityResponsePtrOutput) Elem() PrivateLinkServicePropertiesVisibilityResponseOutput {
+ return o.ApplyT(func(v *PrivateLinkServicePropertiesVisibilityResponse) PrivateLinkServicePropertiesVisibilityResponse {
+ if v != nil {
+ return *v
+ }
+ var ret PrivateLinkServicePropertiesVisibilityResponse
+ return ret
+ }).(PrivateLinkServicePropertiesVisibilityResponseOutput)
}
-// Filter that is applied to packet capture request. Multiple filters can be applied.
-type PacketCaptureFilterResponse struct {
- // Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- LocalIPAddress *string `pulumi:"localIPAddress"`
- // Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- LocalPort *string `pulumi:"localPort"`
- // Protocol to be filtered on.
- Protocol *string `pulumi:"protocol"`
- // Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- RemoteIPAddress *string `pulumi:"remoteIPAddress"`
- // Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
- RemotePort *string `pulumi:"remotePort"`
+// The list of subscriptions.
+func (o PrivateLinkServicePropertiesVisibilityResponsePtrOutput) Subscriptions() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServicePropertiesVisibilityResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Subscriptions
+ }).(pulumi.StringArrayOutput)
}
-// Defaults sets the appropriate defaults for PacketCaptureFilterResponse
-func (val *PacketCaptureFilterResponse) Defaults() *PacketCaptureFilterResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.Protocol == nil {
- protocol_ := "Any"
- tmp.Protocol = &protocol_
- }
- return &tmp
+// Private link service resource.
+type PrivateLinkServiceResponse struct {
+ // The alias of the private link service.
+ Alias string `pulumi:"alias"`
+ // The auto-approval list of the private link service.
+ AutoApproval *PrivateLinkServicePropertiesResponseAutoApproval `pulumi:"autoApproval"`
+ // The destination IP address of the private link service.
+ DestinationIPAddress *string `pulumi:"destinationIPAddress"`
+ // Whether the private link service is enabled for proxy protocol or not.
+ EnableProxyProtocol *bool `pulumi:"enableProxyProtocol"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The extended location of the load balancer.
+ ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
+ // The list of Fqdn.
+ Fqdns []string `pulumi:"fqdns"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // An array of private link service IP configurations.
+ IpConfigurations []PrivateLinkServiceIpConfigurationResponse `pulumi:"ipConfigurations"`
+ // An array of references to the load balancer IP configurations.
+ LoadBalancerFrontendIpConfigurations []FrontendIPConfigurationResponse `pulumi:"loadBalancerFrontendIpConfigurations"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // An array of references to the network interfaces created for this private link service.
+ NetworkInterfaces []NetworkInterfaceResponse `pulumi:"networkInterfaces"`
+ // An array of list about connections to the private endpoint.
+ PrivateEndpointConnections []PrivateEndpointConnectionResponse `pulumi:"privateEndpointConnections"`
+ // The provisioning state of the private link service resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // The visibility list of the private link service.
+ Visibility *PrivateLinkServicePropertiesResponseVisibility `pulumi:"visibility"`
}
-// Filter that is applied to packet capture request. Multiple filters can be applied.
-type PacketCaptureFilterResponseOutput struct{ *pulumi.OutputState }
+// Private link service resource.
+type PrivateLinkServiceResponseOutput struct{ *pulumi.OutputState }
-func (PacketCaptureFilterResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PacketCaptureFilterResponse)(nil)).Elem()
+func (PrivateLinkServiceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServiceResponse)(nil)).Elem()
}
-func (o PacketCaptureFilterResponseOutput) ToPacketCaptureFilterResponseOutput() PacketCaptureFilterResponseOutput {
+func (o PrivateLinkServiceResponseOutput) ToPrivateLinkServiceResponseOutput() PrivateLinkServiceResponseOutput {
return o
}
-func (o PacketCaptureFilterResponseOutput) ToPacketCaptureFilterResponseOutputWithContext(ctx context.Context) PacketCaptureFilterResponseOutput {
+func (o PrivateLinkServiceResponseOutput) ToPrivateLinkServiceResponseOutputWithContext(ctx context.Context) PrivateLinkServiceResponseOutput {
return o
}
-// Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
-func (o PacketCaptureFilterResponseOutput) LocalIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureFilterResponse) *string { return v.LocalIPAddress }).(pulumi.StringPtrOutput)
+// The alias of the private link service.
+func (o PrivateLinkServiceResponseOutput) Alias() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) string { return v.Alias }).(pulumi.StringOutput)
}
-// Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
-func (o PacketCaptureFilterResponseOutput) LocalPort() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureFilterResponse) *string { return v.LocalPort }).(pulumi.StringPtrOutput)
+// The auto-approval list of the private link service.
+func (o PrivateLinkServiceResponseOutput) AutoApproval() PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) *PrivateLinkServicePropertiesResponseAutoApproval {
+ return v.AutoApproval
+ }).(PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput)
}
-// Protocol to be filtered on.
-func (o PacketCaptureFilterResponseOutput) Protocol() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureFilterResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput)
+// The destination IP address of the private link service.
+func (o PrivateLinkServiceResponseOutput) DestinationIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) *string { return v.DestinationIPAddress }).(pulumi.StringPtrOutput)
}
-// Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
-func (o PacketCaptureFilterResponseOutput) RemoteIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureFilterResponse) *string { return v.RemoteIPAddress }).(pulumi.StringPtrOutput)
+// Whether the private link service is enabled for proxy protocol or not.
+func (o PrivateLinkServiceResponseOutput) EnableProxyProtocol() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) *bool { return v.EnableProxyProtocol }).(pulumi.BoolPtrOutput)
}
-// Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
-func (o PacketCaptureFilterResponseOutput) RemotePort() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureFilterResponse) *string { return v.RemotePort }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o PrivateLinkServiceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-type PacketCaptureFilterResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (PacketCaptureFilterResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PacketCaptureFilterResponse)(nil)).Elem()
+// The extended location of the load balancer.
+func (o PrivateLinkServiceResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
}
-func (o PacketCaptureFilterResponseArrayOutput) ToPacketCaptureFilterResponseArrayOutput() PacketCaptureFilterResponseArrayOutput {
- return o
+// The list of Fqdn.
+func (o PrivateLinkServiceResponseOutput) Fqdns() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) []string { return v.Fqdns }).(pulumi.StringArrayOutput)
}
-func (o PacketCaptureFilterResponseArrayOutput) ToPacketCaptureFilterResponseArrayOutputWithContext(ctx context.Context) PacketCaptureFilterResponseArrayOutput {
- return o
+// Resource ID.
+func (o PrivateLinkServiceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o PacketCaptureFilterResponseArrayOutput) Index(i pulumi.IntInput) PacketCaptureFilterResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PacketCaptureFilterResponse {
- return vs[0].([]PacketCaptureFilterResponse)[vs[1].(int)]
- }).(PacketCaptureFilterResponseOutput)
+// An array of private link service IP configurations.
+func (o PrivateLinkServiceResponseOutput) IpConfigurations() PrivateLinkServiceIpConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) []PrivateLinkServiceIpConfigurationResponse {
+ return v.IpConfigurations
+ }).(PrivateLinkServiceIpConfigurationResponseArrayOutput)
}
-// A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
-type PacketCaptureMachineScope struct {
- // List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
- Exclude []string `pulumi:"exclude"`
- // List of AzureVMSS instances to run packet capture on.
- Include []string `pulumi:"include"`
+// An array of references to the load balancer IP configurations.
+func (o PrivateLinkServiceResponseOutput) LoadBalancerFrontendIpConfigurations() FrontendIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) []FrontendIPConfigurationResponse {
+ return v.LoadBalancerFrontendIpConfigurations
+ }).(FrontendIPConfigurationResponseArrayOutput)
}
-// PacketCaptureMachineScopeInput is an input type that accepts PacketCaptureMachineScopeArgs and PacketCaptureMachineScopeOutput values.
-// You can construct a concrete instance of `PacketCaptureMachineScopeInput` via:
-//
-// PacketCaptureMachineScopeArgs{...}
-type PacketCaptureMachineScopeInput interface {
- pulumi.Input
-
- ToPacketCaptureMachineScopeOutput() PacketCaptureMachineScopeOutput
- ToPacketCaptureMachineScopeOutputWithContext(context.Context) PacketCaptureMachineScopeOutput
+// Resource location.
+func (o PrivateLinkServiceResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
-type PacketCaptureMachineScopeArgs struct {
- // List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
- Exclude pulumi.StringArrayInput `pulumi:"exclude"`
- // List of AzureVMSS instances to run packet capture on.
- Include pulumi.StringArrayInput `pulumi:"include"`
+// Resource name.
+func (o PrivateLinkServiceResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (PacketCaptureMachineScopeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PacketCaptureMachineScope)(nil)).Elem()
+// An array of references to the network interfaces created for this private link service.
+func (o PrivateLinkServiceResponseOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) []NetworkInterfaceResponse { return v.NetworkInterfaces }).(NetworkInterfaceResponseArrayOutput)
}
-func (i PacketCaptureMachineScopeArgs) ToPacketCaptureMachineScopeOutput() PacketCaptureMachineScopeOutput {
- return i.ToPacketCaptureMachineScopeOutputWithContext(context.Background())
+// An array of list about connections to the private endpoint.
+func (o PrivateLinkServiceResponseOutput) PrivateEndpointConnections() PrivateEndpointConnectionResponseArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) []PrivateEndpointConnectionResponse {
+ return v.PrivateEndpointConnections
+ }).(PrivateEndpointConnectionResponseArrayOutput)
}
-func (i PacketCaptureMachineScopeArgs) ToPacketCaptureMachineScopeOutputWithContext(ctx context.Context) PacketCaptureMachineScopeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureMachineScopeOutput)
+// The provisioning state of the private link service resource.
+func (o PrivateLinkServiceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i PacketCaptureMachineScopeArgs) ToPacketCaptureMachineScopePtrOutput() PacketCaptureMachineScopePtrOutput {
- return i.ToPacketCaptureMachineScopePtrOutputWithContext(context.Background())
+// Resource tags.
+func (o PrivateLinkServiceResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (i PacketCaptureMachineScopeArgs) ToPacketCaptureMachineScopePtrOutputWithContext(ctx context.Context) PacketCaptureMachineScopePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureMachineScopeOutput).ToPacketCaptureMachineScopePtrOutputWithContext(ctx)
+// Resource type.
+func (o PrivateLinkServiceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// PacketCaptureMachineScopePtrInput is an input type that accepts PacketCaptureMachineScopeArgs, PacketCaptureMachineScopePtr and PacketCaptureMachineScopePtrOutput values.
-// You can construct a concrete instance of `PacketCaptureMachineScopePtrInput` via:
-//
-// PacketCaptureMachineScopeArgs{...}
-//
-// or:
-//
-// nil
-type PacketCaptureMachineScopePtrInput interface {
- pulumi.Input
-
- ToPacketCaptureMachineScopePtrOutput() PacketCaptureMachineScopePtrOutput
- ToPacketCaptureMachineScopePtrOutputWithContext(context.Context) PacketCaptureMachineScopePtrOutput
+// The visibility list of the private link service.
+func (o PrivateLinkServiceResponseOutput) Visibility() PrivateLinkServicePropertiesResponseVisibilityPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceResponse) *PrivateLinkServicePropertiesResponseVisibility {
+ return v.Visibility
+ }).(PrivateLinkServicePropertiesResponseVisibilityPtrOutput)
}
-type packetCaptureMachineScopePtrType PacketCaptureMachineScopeArgs
-
-func PacketCaptureMachineScopePtr(v *PacketCaptureMachineScopeArgs) PacketCaptureMachineScopePtrInput {
- return (*packetCaptureMachineScopePtrType)(v)
-}
+type PrivateLinkServiceResponsePtrOutput struct{ *pulumi.OutputState }
-func (*packetCaptureMachineScopePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PacketCaptureMachineScope)(nil)).Elem()
+func (PrivateLinkServiceResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrivateLinkServiceResponse)(nil)).Elem()
}
-func (i *packetCaptureMachineScopePtrType) ToPacketCaptureMachineScopePtrOutput() PacketCaptureMachineScopePtrOutput {
- return i.ToPacketCaptureMachineScopePtrOutputWithContext(context.Background())
+func (o PrivateLinkServiceResponsePtrOutput) ToPrivateLinkServiceResponsePtrOutput() PrivateLinkServiceResponsePtrOutput {
+ return o
}
-func (i *packetCaptureMachineScopePtrType) ToPacketCaptureMachineScopePtrOutputWithContext(ctx context.Context) PacketCaptureMachineScopePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureMachineScopePtrOutput)
+func (o PrivateLinkServiceResponsePtrOutput) ToPrivateLinkServiceResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServiceResponsePtrOutput {
+ return o
}
-// A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
-type PacketCaptureMachineScopeOutput struct{ *pulumi.OutputState }
-
-func (PacketCaptureMachineScopeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PacketCaptureMachineScope)(nil)).Elem()
-}
-
-func (o PacketCaptureMachineScopeOutput) ToPacketCaptureMachineScopeOutput() PacketCaptureMachineScopeOutput {
- return o
-}
-
-func (o PacketCaptureMachineScopeOutput) ToPacketCaptureMachineScopeOutputWithContext(ctx context.Context) PacketCaptureMachineScopeOutput {
- return o
-}
-
-func (o PacketCaptureMachineScopeOutput) ToPacketCaptureMachineScopePtrOutput() PacketCaptureMachineScopePtrOutput {
- return o.ToPacketCaptureMachineScopePtrOutputWithContext(context.Background())
-}
-
-func (o PacketCaptureMachineScopeOutput) ToPacketCaptureMachineScopePtrOutputWithContext(ctx context.Context) PacketCaptureMachineScopePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PacketCaptureMachineScope) *PacketCaptureMachineScope {
- return &v
- }).(PacketCaptureMachineScopePtrOutput)
-}
-
-// List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
-func (o PacketCaptureMachineScopeOutput) Exclude() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PacketCaptureMachineScope) []string { return v.Exclude }).(pulumi.StringArrayOutput)
+func (o PrivateLinkServiceResponsePtrOutput) Elem() PrivateLinkServiceResponseOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) PrivateLinkServiceResponse {
+ if v != nil {
+ return *v
+ }
+ var ret PrivateLinkServiceResponse
+ return ret
+ }).(PrivateLinkServiceResponseOutput)
}
-// List of AzureVMSS instances to run packet capture on.
-func (o PacketCaptureMachineScopeOutput) Include() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PacketCaptureMachineScope) []string { return v.Include }).(pulumi.StringArrayOutput)
+// The alias of the private link service.
+func (o PrivateLinkServiceResponsePtrOutput) Alias() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Alias
+ }).(pulumi.StringPtrOutput)
}
-type PacketCaptureMachineScopePtrOutput struct{ *pulumi.OutputState }
-
-func (PacketCaptureMachineScopePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PacketCaptureMachineScope)(nil)).Elem()
+// The auto-approval list of the private link service.
+func (o PrivateLinkServiceResponsePtrOutput) AutoApproval() PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) *PrivateLinkServicePropertiesResponseAutoApproval {
+ if v == nil {
+ return nil
+ }
+ return v.AutoApproval
+ }).(PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput)
}
-func (o PacketCaptureMachineScopePtrOutput) ToPacketCaptureMachineScopePtrOutput() PacketCaptureMachineScopePtrOutput {
- return o
+// The destination IP address of the private link service.
+func (o PrivateLinkServiceResponsePtrOutput) DestinationIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationIPAddress
+ }).(pulumi.StringPtrOutput)
}
-func (o PacketCaptureMachineScopePtrOutput) ToPacketCaptureMachineScopePtrOutputWithContext(ctx context.Context) PacketCaptureMachineScopePtrOutput {
- return o
+// Whether the private link service is enabled for proxy protocol or not.
+func (o PrivateLinkServiceResponsePtrOutput) EnableProxyProtocol() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnableProxyProtocol
+ }).(pulumi.BoolPtrOutput)
}
-func (o PacketCaptureMachineScopePtrOutput) Elem() PacketCaptureMachineScopeOutput {
- return o.ApplyT(func(v *PacketCaptureMachineScope) PacketCaptureMachineScope {
- if v != nil {
- return *v
+// A unique read-only string that changes whenever the resource is updated.
+func (o PrivateLinkServiceResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) *string {
+ if v == nil {
+ return nil
}
- var ret PacketCaptureMachineScope
- return ret
- }).(PacketCaptureMachineScopeOutput)
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-// List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
-func (o PacketCaptureMachineScopePtrOutput) Exclude() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PacketCaptureMachineScope) []string {
+// The extended location of the load balancer.
+func (o PrivateLinkServiceResponsePtrOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) *ExtendedLocationResponse {
if v == nil {
return nil
}
- return v.Exclude
- }).(pulumi.StringArrayOutput)
+ return v.ExtendedLocation
+ }).(ExtendedLocationResponsePtrOutput)
}
-// List of AzureVMSS instances to run packet capture on.
-func (o PacketCaptureMachineScopePtrOutput) Include() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PacketCaptureMachineScope) []string {
+// The list of Fqdn.
+func (o PrivateLinkServiceResponsePtrOutput) Fqdns() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) []string {
if v == nil {
return nil
}
- return v.Include
+ return v.Fqdns
}).(pulumi.StringArrayOutput)
}
-// A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
-type PacketCaptureMachineScopeResponse struct {
- // List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
- Exclude []string `pulumi:"exclude"`
- // List of AzureVMSS instances to run packet capture on.
- Include []string `pulumi:"include"`
-}
-
-// A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
-type PacketCaptureMachineScopeResponseOutput struct{ *pulumi.OutputState }
-
-func (PacketCaptureMachineScopeResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PacketCaptureMachineScopeResponse)(nil)).Elem()
-}
-
-func (o PacketCaptureMachineScopeResponseOutput) ToPacketCaptureMachineScopeResponseOutput() PacketCaptureMachineScopeResponseOutput {
- return o
+// Resource ID.
+func (o PrivateLinkServiceResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (o PacketCaptureMachineScopeResponseOutput) ToPacketCaptureMachineScopeResponseOutputWithContext(ctx context.Context) PacketCaptureMachineScopeResponseOutput {
- return o
+// An array of private link service IP configurations.
+func (o PrivateLinkServiceResponsePtrOutput) IpConfigurations() PrivateLinkServiceIpConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) []PrivateLinkServiceIpConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurations
+ }).(PrivateLinkServiceIpConfigurationResponseArrayOutput)
}
-// List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
-func (o PacketCaptureMachineScopeResponseOutput) Exclude() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PacketCaptureMachineScopeResponse) []string { return v.Exclude }).(pulumi.StringArrayOutput)
+// An array of references to the load balancer IP configurations.
+func (o PrivateLinkServiceResponsePtrOutput) LoadBalancerFrontendIpConfigurations() FrontendIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) []FrontendIPConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.LoadBalancerFrontendIpConfigurations
+ }).(FrontendIPConfigurationResponseArrayOutput)
}
-// List of AzureVMSS instances to run packet capture on.
-func (o PacketCaptureMachineScopeResponseOutput) Include() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PacketCaptureMachineScopeResponse) []string { return v.Include }).(pulumi.StringArrayOutput)
+// Resource location.
+func (o PrivateLinkServiceResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-type PacketCaptureMachineScopeResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (PacketCaptureMachineScopeResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PacketCaptureMachineScopeResponse)(nil)).Elem()
+// Resource name.
+func (o PrivateLinkServiceResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o PacketCaptureMachineScopeResponsePtrOutput) ToPacketCaptureMachineScopeResponsePtrOutput() PacketCaptureMachineScopeResponsePtrOutput {
- return o
+// An array of references to the network interfaces created for this private link service.
+func (o PrivateLinkServiceResponsePtrOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) []NetworkInterfaceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.NetworkInterfaces
+ }).(NetworkInterfaceResponseArrayOutput)
}
-func (o PacketCaptureMachineScopeResponsePtrOutput) ToPacketCaptureMachineScopeResponsePtrOutputWithContext(ctx context.Context) PacketCaptureMachineScopeResponsePtrOutput {
- return o
+// An array of list about connections to the private endpoint.
+func (o PrivateLinkServiceResponsePtrOutput) PrivateEndpointConnections() PrivateEndpointConnectionResponseArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) []PrivateEndpointConnectionResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateEndpointConnections
+ }).(PrivateEndpointConnectionResponseArrayOutput)
}
-func (o PacketCaptureMachineScopeResponsePtrOutput) Elem() PacketCaptureMachineScopeResponseOutput {
- return o.ApplyT(func(v *PacketCaptureMachineScopeResponse) PacketCaptureMachineScopeResponse {
- if v != nil {
- return *v
+// The provisioning state of the private link service resource.
+func (o PrivateLinkServiceResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) *string {
+ if v == nil {
+ return nil
}
- var ret PacketCaptureMachineScopeResponse
- return ret
- }).(PacketCaptureMachineScopeResponseOutput)
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
-func (o PacketCaptureMachineScopeResponsePtrOutput) Exclude() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PacketCaptureMachineScopeResponse) []string {
+// Resource tags.
+func (o PrivateLinkServiceResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) map[string]string {
if v == nil {
return nil
}
- return v.Exclude
- }).(pulumi.StringArrayOutput)
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-// List of AzureVMSS instances to run packet capture on.
-func (o PacketCaptureMachineScopeResponsePtrOutput) Include() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PacketCaptureMachineScopeResponse) []string {
+// Resource type.
+func (o PrivateLinkServiceResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) *string {
if v == nil {
return nil
}
- return v.Include
- }).(pulumi.StringArrayOutput)
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-// The storage location for a packet capture session.
-type PacketCaptureSettings struct {
- // Number of file count. Default value of count is 10 and maximum number is 10000.
- FileCount *int `pulumi:"fileCount"`
- // Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).
- FileSizeInBytes *float64 `pulumi:"fileSizeInBytes"`
- // Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).
- SessionTimeLimitInSeconds *int `pulumi:"sessionTimeLimitInSeconds"`
+// The visibility list of the private link service.
+func (o PrivateLinkServiceResponsePtrOutput) Visibility() PrivateLinkServicePropertiesResponseVisibilityPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceResponse) *PrivateLinkServicePropertiesResponseVisibility {
+ if v == nil {
+ return nil
+ }
+ return v.Visibility
+ }).(PrivateLinkServicePropertiesResponseVisibilityPtrOutput)
}
-// Defaults sets the appropriate defaults for PacketCaptureSettings
-func (val *PacketCaptureSettings) Defaults() *PacketCaptureSettings {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.FileCount == nil {
- fileCount_ := 10
- tmp.FileCount = &fileCount_
- }
- if tmp.FileSizeInBytes == nil {
- fileSizeInBytes_ := 104857600.0
- tmp.FileSizeInBytes = &fileSizeInBytes_
- }
- if tmp.SessionTimeLimitInSeconds == nil {
- sessionTimeLimitInSeconds_ := 86400
- tmp.SessionTimeLimitInSeconds = &sessionTimeLimitInSeconds_
- }
- return &tmp
+// Private link service resource.
+type PrivateLinkServiceServiceGatewayResponse struct {
+ // The access mode of the private link service.
+ AccessMode *string `pulumi:"accessMode"`
+ // The alias of the private link service.
+ Alias string `pulumi:"alias"`
+ // The auto-approval list of the private link service.
+ AutoApproval *PrivateLinkServicePropertiesAutoApprovalResponse `pulumi:"autoApproval"`
+ // The destination IP address of the private link service.
+ DestinationIPAddress *string `pulumi:"destinationIPAddress"`
+ // Whether the private link service is enabled for proxy protocol or not.
+ EnableProxyProtocol *bool `pulumi:"enableProxyProtocol"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The extended location of the load balancer.
+ ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
+ // The list of Fqdn.
+ Fqdns []string `pulumi:"fqdns"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // An array of private link service IP configurations.
+ IpConfigurations []PrivateLinkServiceIpConfigurationResponse `pulumi:"ipConfigurations"`
+ // An array of references to the load balancer IP configurations.
+ LoadBalancerFrontendIpConfigurations []FrontendIPConfigurationServiceGatewayResponse `pulumi:"loadBalancerFrontendIpConfigurations"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // An array of references to the network interfaces created for this private link service.
+ NetworkInterfaces []NetworkInterfaceResponse `pulumi:"networkInterfaces"`
+ // An array of list about connections to the private endpoint.
+ PrivateEndpointConnections []PrivateEndpointConnectionServiceGatewayResponse `pulumi:"privateEndpointConnections"`
+ // The provisioning state of the private link service resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // The visibility list of the private link service.
+ Visibility *PrivateLinkServicePropertiesVisibilityResponse `pulumi:"visibility"`
}
-// PacketCaptureSettingsInput is an input type that accepts PacketCaptureSettingsArgs and PacketCaptureSettingsOutput values.
-// You can construct a concrete instance of `PacketCaptureSettingsInput` via:
-//
-// PacketCaptureSettingsArgs{...}
-type PacketCaptureSettingsInput interface {
- pulumi.Input
+// Private link service resource.
+type PrivateLinkServiceServiceGatewayResponseOutput struct{ *pulumi.OutputState }
- ToPacketCaptureSettingsOutput() PacketCaptureSettingsOutput
- ToPacketCaptureSettingsOutputWithContext(context.Context) PacketCaptureSettingsOutput
+func (PrivateLinkServiceServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServiceServiceGatewayResponse)(nil)).Elem()
}
-// The storage location for a packet capture session.
-type PacketCaptureSettingsArgs struct {
- // Number of file count. Default value of count is 10 and maximum number is 10000.
- FileCount pulumi.IntPtrInput `pulumi:"fileCount"`
- // Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).
- FileSizeInBytes pulumi.Float64PtrInput `pulumi:"fileSizeInBytes"`
- // Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).
- SessionTimeLimitInSeconds pulumi.IntPtrInput `pulumi:"sessionTimeLimitInSeconds"`
+func (o PrivateLinkServiceServiceGatewayResponseOutput) ToPrivateLinkServiceServiceGatewayResponseOutput() PrivateLinkServiceServiceGatewayResponseOutput {
+ return o
}
-// Defaults sets the appropriate defaults for PacketCaptureSettingsArgs
-func (val *PacketCaptureSettingsArgs) Defaults() *PacketCaptureSettingsArgs {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.FileCount == nil {
- tmp.FileCount = pulumi.IntPtr(10)
- }
- if tmp.FileSizeInBytes == nil {
- tmp.FileSizeInBytes = pulumi.Float64Ptr(104857600.0)
- }
- if tmp.SessionTimeLimitInSeconds == nil {
- tmp.SessionTimeLimitInSeconds = pulumi.IntPtr(86400)
- }
- return &tmp
-}
-func (PacketCaptureSettingsArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PacketCaptureSettings)(nil)).Elem()
+func (o PrivateLinkServiceServiceGatewayResponseOutput) ToPrivateLinkServiceServiceGatewayResponseOutputWithContext(ctx context.Context) PrivateLinkServiceServiceGatewayResponseOutput {
+ return o
}
-func (i PacketCaptureSettingsArgs) ToPacketCaptureSettingsOutput() PacketCaptureSettingsOutput {
- return i.ToPacketCaptureSettingsOutputWithContext(context.Background())
+// The access mode of the private link service.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) AccessMode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) *string { return v.AccessMode }).(pulumi.StringPtrOutput)
}
-func (i PacketCaptureSettingsArgs) ToPacketCaptureSettingsOutputWithContext(ctx context.Context) PacketCaptureSettingsOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureSettingsOutput)
+// The alias of the private link service.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) Alias() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) string { return v.Alias }).(pulumi.StringOutput)
}
-func (i PacketCaptureSettingsArgs) ToPacketCaptureSettingsPtrOutput() PacketCaptureSettingsPtrOutput {
- return i.ToPacketCaptureSettingsPtrOutputWithContext(context.Background())
+// The auto-approval list of the private link service.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) AutoApproval() PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) *PrivateLinkServicePropertiesAutoApprovalResponse {
+ return v.AutoApproval
+ }).(PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput)
}
-func (i PacketCaptureSettingsArgs) ToPacketCaptureSettingsPtrOutputWithContext(ctx context.Context) PacketCaptureSettingsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureSettingsOutput).ToPacketCaptureSettingsPtrOutputWithContext(ctx)
+// The destination IP address of the private link service.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) DestinationIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) *string { return v.DestinationIPAddress }).(pulumi.StringPtrOutput)
}
-// PacketCaptureSettingsPtrInput is an input type that accepts PacketCaptureSettingsArgs, PacketCaptureSettingsPtr and PacketCaptureSettingsPtrOutput values.
-// You can construct a concrete instance of `PacketCaptureSettingsPtrInput` via:
-//
-// PacketCaptureSettingsArgs{...}
-//
-// or:
-//
-// nil
-type PacketCaptureSettingsPtrInput interface {
- pulumi.Input
-
- ToPacketCaptureSettingsPtrOutput() PacketCaptureSettingsPtrOutput
- ToPacketCaptureSettingsPtrOutputWithContext(context.Context) PacketCaptureSettingsPtrOutput
+// Whether the private link service is enabled for proxy protocol or not.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) EnableProxyProtocol() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) *bool { return v.EnableProxyProtocol }).(pulumi.BoolPtrOutput)
}
-type packetCaptureSettingsPtrType PacketCaptureSettingsArgs
+// A unique read-only string that changes whenever the resource is updated.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
+}
-func PacketCaptureSettingsPtr(v *PacketCaptureSettingsArgs) PacketCaptureSettingsPtrInput {
- return (*packetCaptureSettingsPtrType)(v)
+// The extended location of the load balancer.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
}
-func (*packetCaptureSettingsPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PacketCaptureSettings)(nil)).Elem()
+// The list of Fqdn.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) Fqdns() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) []string { return v.Fqdns }).(pulumi.StringArrayOutput)
}
-func (i *packetCaptureSettingsPtrType) ToPacketCaptureSettingsPtrOutput() PacketCaptureSettingsPtrOutput {
- return i.ToPacketCaptureSettingsPtrOutputWithContext(context.Background())
+// Resource ID.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (i *packetCaptureSettingsPtrType) ToPacketCaptureSettingsPtrOutputWithContext(ctx context.Context) PacketCaptureSettingsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureSettingsPtrOutput)
+// An array of private link service IP configurations.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) IpConfigurations() PrivateLinkServiceIpConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) []PrivateLinkServiceIpConfigurationResponse {
+ return v.IpConfigurations
+ }).(PrivateLinkServiceIpConfigurationResponseArrayOutput)
}
-// The storage location for a packet capture session.
-type PacketCaptureSettingsOutput struct{ *pulumi.OutputState }
+// An array of references to the load balancer IP configurations.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) LoadBalancerFrontendIpConfigurations() FrontendIPConfigurationServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) []FrontendIPConfigurationServiceGatewayResponse {
+ return v.LoadBalancerFrontendIpConfigurations
+ }).(FrontendIPConfigurationServiceGatewayResponseArrayOutput)
+}
-func (PacketCaptureSettingsOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PacketCaptureSettings)(nil)).Elem()
+// Resource location.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o PacketCaptureSettingsOutput) ToPacketCaptureSettingsOutput() PacketCaptureSettingsOutput {
- return o
+// Resource name.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (o PacketCaptureSettingsOutput) ToPacketCaptureSettingsOutputWithContext(ctx context.Context) PacketCaptureSettingsOutput {
- return o
+// An array of references to the network interfaces created for this private link service.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) []NetworkInterfaceResponse {
+ return v.NetworkInterfaces
+ }).(NetworkInterfaceResponseArrayOutput)
}
-func (o PacketCaptureSettingsOutput) ToPacketCaptureSettingsPtrOutput() PacketCaptureSettingsPtrOutput {
- return o.ToPacketCaptureSettingsPtrOutputWithContext(context.Background())
+// An array of list about connections to the private endpoint.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) PrivateEndpointConnections() PrivateEndpointConnectionServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) []PrivateEndpointConnectionServiceGatewayResponse {
+ return v.PrivateEndpointConnections
+ }).(PrivateEndpointConnectionServiceGatewayResponseArrayOutput)
}
-func (o PacketCaptureSettingsOutput) ToPacketCaptureSettingsPtrOutputWithContext(ctx context.Context) PacketCaptureSettingsPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PacketCaptureSettings) *PacketCaptureSettings {
- return &v
- }).(PacketCaptureSettingsPtrOutput)
+// The provisioning state of the private link service resource.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Number of file count. Default value of count is 10 and maximum number is 10000.
-func (o PacketCaptureSettingsOutput) FileCount() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PacketCaptureSettings) *int { return v.FileCount }).(pulumi.IntPtrOutput)
+// Resource tags.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).
-func (o PacketCaptureSettingsOutput) FileSizeInBytes() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v PacketCaptureSettings) *float64 { return v.FileSizeInBytes }).(pulumi.Float64PtrOutput)
+// Resource type.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).
-func (o PacketCaptureSettingsOutput) SessionTimeLimitInSeconds() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PacketCaptureSettings) *int { return v.SessionTimeLimitInSeconds }).(pulumi.IntPtrOutput)
+// The visibility list of the private link service.
+func (o PrivateLinkServiceServiceGatewayResponseOutput) Visibility() PrivateLinkServicePropertiesVisibilityResponsePtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceServiceGatewayResponse) *PrivateLinkServicePropertiesVisibilityResponse {
+ return v.Visibility
+ }).(PrivateLinkServicePropertiesVisibilityResponsePtrOutput)
}
-type PacketCaptureSettingsPtrOutput struct{ *pulumi.OutputState }
+type PrivateLinkServiceServiceGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-func (PacketCaptureSettingsPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PacketCaptureSettings)(nil)).Elem()
+func (PrivateLinkServiceServiceGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrivateLinkServiceServiceGatewayResponse)(nil)).Elem()
}
-func (o PacketCaptureSettingsPtrOutput) ToPacketCaptureSettingsPtrOutput() PacketCaptureSettingsPtrOutput {
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) ToPrivateLinkServiceServiceGatewayResponsePtrOutput() PrivateLinkServiceServiceGatewayResponsePtrOutput {
return o
}
-func (o PacketCaptureSettingsPtrOutput) ToPacketCaptureSettingsPtrOutputWithContext(ctx context.Context) PacketCaptureSettingsPtrOutput {
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) ToPrivateLinkServiceServiceGatewayResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServiceServiceGatewayResponsePtrOutput {
return o
}
-func (o PacketCaptureSettingsPtrOutput) Elem() PacketCaptureSettingsOutput {
- return o.ApplyT(func(v *PacketCaptureSettings) PacketCaptureSettings {
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) Elem() PrivateLinkServiceServiceGatewayResponseOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) PrivateLinkServiceServiceGatewayResponse {
if v != nil {
return *v
}
- var ret PacketCaptureSettings
+ var ret PrivateLinkServiceServiceGatewayResponse
return ret
- }).(PacketCaptureSettingsOutput)
+ }).(PrivateLinkServiceServiceGatewayResponseOutput)
}
-// Number of file count. Default value of count is 10 and maximum number is 10000.
-func (o PacketCaptureSettingsPtrOutput) FileCount() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PacketCaptureSettings) *int {
+// The access mode of the private link service.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) AccessMode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) *string {
if v == nil {
return nil
}
- return v.FileCount
- }).(pulumi.IntPtrOutput)
+ return v.AccessMode
+ }).(pulumi.StringPtrOutput)
}
-// Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).
-func (o PacketCaptureSettingsPtrOutput) FileSizeInBytes() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v *PacketCaptureSettings) *float64 {
+// The alias of the private link service.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) Alias() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) *string {
if v == nil {
return nil
}
- return v.FileSizeInBytes
- }).(pulumi.Float64PtrOutput)
+ return &v.Alias
+ }).(pulumi.StringPtrOutput)
}
-// Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).
-func (o PacketCaptureSettingsPtrOutput) SessionTimeLimitInSeconds() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PacketCaptureSettings) *int {
+// The auto-approval list of the private link service.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) AutoApproval() PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) *PrivateLinkServicePropertiesAutoApprovalResponse {
if v == nil {
return nil
}
- return v.SessionTimeLimitInSeconds
- }).(pulumi.IntPtrOutput)
-}
-
-// The storage location for a packet capture session.
-type PacketCaptureSettingsResponse struct {
- // Number of file count. Default value of count is 10 and maximum number is 10000.
- FileCount *int `pulumi:"fileCount"`
- // Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).
- FileSizeInBytes *float64 `pulumi:"fileSizeInBytes"`
- // Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).
- SessionTimeLimitInSeconds *int `pulumi:"sessionTimeLimitInSeconds"`
+ return v.AutoApproval
+ }).(PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput)
}
-// Defaults sets the appropriate defaults for PacketCaptureSettingsResponse
-func (val *PacketCaptureSettingsResponse) Defaults() *PacketCaptureSettingsResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.FileCount == nil {
- fileCount_ := 10
- tmp.FileCount = &fileCount_
- }
- if tmp.FileSizeInBytes == nil {
- fileSizeInBytes_ := 104857600.0
- tmp.FileSizeInBytes = &fileSizeInBytes_
- }
- if tmp.SessionTimeLimitInSeconds == nil {
- sessionTimeLimitInSeconds_ := 86400
- tmp.SessionTimeLimitInSeconds = &sessionTimeLimitInSeconds_
- }
- return &tmp
+// The destination IP address of the private link service.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) DestinationIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationIPAddress
+ }).(pulumi.StringPtrOutput)
}
-// The storage location for a packet capture session.
-type PacketCaptureSettingsResponseOutput struct{ *pulumi.OutputState }
-
-func (PacketCaptureSettingsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PacketCaptureSettingsResponse)(nil)).Elem()
+// Whether the private link service is enabled for proxy protocol or not.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) EnableProxyProtocol() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnableProxyProtocol
+ }).(pulumi.BoolPtrOutput)
}
-func (o PacketCaptureSettingsResponseOutput) ToPacketCaptureSettingsResponseOutput() PacketCaptureSettingsResponseOutput {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-func (o PacketCaptureSettingsResponseOutput) ToPacketCaptureSettingsResponseOutputWithContext(ctx context.Context) PacketCaptureSettingsResponseOutput {
- return o
+// The extended location of the load balancer.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) *ExtendedLocationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ExtendedLocation
+ }).(ExtendedLocationResponsePtrOutput)
}
-// Number of file count. Default value of count is 10 and maximum number is 10000.
-func (o PacketCaptureSettingsResponseOutput) FileCount() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PacketCaptureSettingsResponse) *int { return v.FileCount }).(pulumi.IntPtrOutput)
-}
-
-// Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).
-func (o PacketCaptureSettingsResponseOutput) FileSizeInBytes() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v PacketCaptureSettingsResponse) *float64 { return v.FileSizeInBytes }).(pulumi.Float64PtrOutput)
-}
-
-// Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).
-func (o PacketCaptureSettingsResponseOutput) SessionTimeLimitInSeconds() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PacketCaptureSettingsResponse) *int { return v.SessionTimeLimitInSeconds }).(pulumi.IntPtrOutput)
-}
-
-type PacketCaptureSettingsResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (PacketCaptureSettingsResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PacketCaptureSettingsResponse)(nil)).Elem()
+// The list of Fqdn.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) Fqdns() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Fqdns
+ }).(pulumi.StringArrayOutput)
}
-func (o PacketCaptureSettingsResponsePtrOutput) ToPacketCaptureSettingsResponsePtrOutput() PacketCaptureSettingsResponsePtrOutput {
- return o
+// Resource ID.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (o PacketCaptureSettingsResponsePtrOutput) ToPacketCaptureSettingsResponsePtrOutputWithContext(ctx context.Context) PacketCaptureSettingsResponsePtrOutput {
- return o
+// An array of private link service IP configurations.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) IpConfigurations() PrivateLinkServiceIpConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) []PrivateLinkServiceIpConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurations
+ }).(PrivateLinkServiceIpConfigurationResponseArrayOutput)
}
-func (o PacketCaptureSettingsResponsePtrOutput) Elem() PacketCaptureSettingsResponseOutput {
- return o.ApplyT(func(v *PacketCaptureSettingsResponse) PacketCaptureSettingsResponse {
- if v != nil {
- return *v
+// An array of references to the load balancer IP configurations.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) LoadBalancerFrontendIpConfigurations() FrontendIPConfigurationServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) []FrontendIPConfigurationServiceGatewayResponse {
+ if v == nil {
+ return nil
}
- var ret PacketCaptureSettingsResponse
- return ret
- }).(PacketCaptureSettingsResponseOutput)
+ return v.LoadBalancerFrontendIpConfigurations
+ }).(FrontendIPConfigurationServiceGatewayResponseArrayOutput)
}
-// Number of file count. Default value of count is 10 and maximum number is 10000.
-func (o PacketCaptureSettingsResponsePtrOutput) FileCount() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PacketCaptureSettingsResponse) *int {
+// Resource location.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) *string {
if v == nil {
return nil
}
- return v.FileCount
- }).(pulumi.IntPtrOutput)
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-// Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).
-func (o PacketCaptureSettingsResponsePtrOutput) FileSizeInBytes() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v *PacketCaptureSettingsResponse) *float64 {
+// Resource name.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) *string {
if v == nil {
return nil
}
- return v.FileSizeInBytes
- }).(pulumi.Float64PtrOutput)
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-// Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).
-func (o PacketCaptureSettingsResponsePtrOutput) SessionTimeLimitInSeconds() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PacketCaptureSettingsResponse) *int {
+// An array of references to the network interfaces created for this private link service.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) []NetworkInterfaceResponse {
if v == nil {
return nil
}
- return v.SessionTimeLimitInSeconds
- }).(pulumi.IntPtrOutput)
+ return v.NetworkInterfaces
+ }).(NetworkInterfaceResponseArrayOutput)
}
-// The storage location for a packet capture session.
-type PacketCaptureStorageLocation struct {
- // This path is invalid if 'Continuous Capture' is provided with 'true' or 'false'. A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
- FilePath *string `pulumi:"filePath"`
- // This path is valid if 'Continuous Capture' is provided with 'true' or 'false' and required if no storage ID is provided, otherwise optional. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures.
- LocalPath *string `pulumi:"localPath"`
- // The ID of the storage account to save the packet capture session. Required if no localPath or filePath is provided.
- StorageId *string `pulumi:"storageId"`
- // The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
- StoragePath *string `pulumi:"storagePath"`
+// An array of list about connections to the private endpoint.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) PrivateEndpointConnections() PrivateEndpointConnectionServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) []PrivateEndpointConnectionServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateEndpointConnections
+ }).(PrivateEndpointConnectionServiceGatewayResponseArrayOutput)
}
-// PacketCaptureStorageLocationInput is an input type that accepts PacketCaptureStorageLocationArgs and PacketCaptureStorageLocationOutput values.
-// You can construct a concrete instance of `PacketCaptureStorageLocationInput` via:
-//
-// PacketCaptureStorageLocationArgs{...}
-type PacketCaptureStorageLocationInput interface {
- pulumi.Input
-
- ToPacketCaptureStorageLocationOutput() PacketCaptureStorageLocationOutput
- ToPacketCaptureStorageLocationOutputWithContext(context.Context) PacketCaptureStorageLocationOutput
+// The provisioning state of the private link service resource.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// The storage location for a packet capture session.
-type PacketCaptureStorageLocationArgs struct {
- // This path is invalid if 'Continuous Capture' is provided with 'true' or 'false'. A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
- FilePath pulumi.StringPtrInput `pulumi:"filePath"`
- // This path is valid if 'Continuous Capture' is provided with 'true' or 'false' and required if no storage ID is provided, otherwise optional. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures.
- LocalPath pulumi.StringPtrInput `pulumi:"localPath"`
- // The ID of the storage account to save the packet capture session. Required if no localPath or filePath is provided.
- StorageId pulumi.StringPtrInput `pulumi:"storageId"`
- // The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
- StoragePath pulumi.StringPtrInput `pulumi:"storagePath"`
+// Resource tags.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-func (PacketCaptureStorageLocationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PacketCaptureStorageLocation)(nil)).Elem()
+// Resource type.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-func (i PacketCaptureStorageLocationArgs) ToPacketCaptureStorageLocationOutput() PacketCaptureStorageLocationOutput {
- return i.ToPacketCaptureStorageLocationOutputWithContext(context.Background())
+// The visibility list of the private link service.
+func (o PrivateLinkServiceServiceGatewayResponsePtrOutput) Visibility() PrivateLinkServicePropertiesVisibilityResponsePtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceServiceGatewayResponse) *PrivateLinkServicePropertiesVisibilityResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Visibility
+ }).(PrivateLinkServicePropertiesVisibilityResponsePtrOutput)
}
-func (i PacketCaptureStorageLocationArgs) ToPacketCaptureStorageLocationOutputWithContext(ctx context.Context) PacketCaptureStorageLocationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PacketCaptureStorageLocationOutput)
+// Private link service resource.
+type PrivateLinkServiceVirtualNetworkApplianceResponse struct {
+ // The access mode of the private link service.
+ AccessMode *string `pulumi:"accessMode"`
+ // The alias of the private link service.
+ Alias string `pulumi:"alias"`
+ // The auto-approval list of the private link service.
+ AutoApproval *PrivateLinkServicePropertiesAutoApprovalResponse `pulumi:"autoApproval"`
+ // The destination IP address of the private link service.
+ DestinationIPAddress *string `pulumi:"destinationIPAddress"`
+ // Whether the private link service is enabled for proxy protocol or not.
+ EnableProxyProtocol *bool `pulumi:"enableProxyProtocol"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The extended location of the load balancer.
+ ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
+ // The list of Fqdn.
+ Fqdns []string `pulumi:"fqdns"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // An array of private link service IP configurations.
+ IpConfigurations []PrivateLinkServiceIpConfigurationResponse `pulumi:"ipConfigurations"`
+ // An array of references to the load balancer IP configurations.
+ LoadBalancerFrontendIpConfigurations []FrontendIPConfigurationVirtualNetworkApplianceResponse `pulumi:"loadBalancerFrontendIpConfigurations"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // An array of references to the network interfaces created for this private link service.
+ NetworkInterfaces []NetworkInterfaceResponse `pulumi:"networkInterfaces"`
+ // An array of list about connections to the private endpoint.
+ PrivateEndpointConnections []PrivateEndpointConnectionVirtualNetworkApplianceResponse `pulumi:"privateEndpointConnections"`
+ // The provisioning state of the private link service resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // The visibility list of the private link service.
+ Visibility *PrivateLinkServicePropertiesVisibilityResponse `pulumi:"visibility"`
}
-// The storage location for a packet capture session.
-type PacketCaptureStorageLocationOutput struct{ *pulumi.OutputState }
+// Private link service resource.
+type PrivateLinkServiceVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
-func (PacketCaptureStorageLocationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PacketCaptureStorageLocation)(nil)).Elem()
+func (PrivateLinkServiceVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PrivateLinkServiceVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o PacketCaptureStorageLocationOutput) ToPacketCaptureStorageLocationOutput() PacketCaptureStorageLocationOutput {
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) ToPrivateLinkServiceVirtualNetworkApplianceResponseOutput() PrivateLinkServiceVirtualNetworkApplianceResponseOutput {
return o
}
-func (o PacketCaptureStorageLocationOutput) ToPacketCaptureStorageLocationOutputWithContext(ctx context.Context) PacketCaptureStorageLocationOutput {
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) ToPrivateLinkServiceVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) PrivateLinkServiceVirtualNetworkApplianceResponseOutput {
return o
}
-// This path is invalid if 'Continuous Capture' is provided with 'true' or 'false'. A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
-func (o PacketCaptureStorageLocationOutput) FilePath() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureStorageLocation) *string { return v.FilePath }).(pulumi.StringPtrOutput)
+// The access mode of the private link service.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) AccessMode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) *string { return v.AccessMode }).(pulumi.StringPtrOutput)
}
-// This path is valid if 'Continuous Capture' is provided with 'true' or 'false' and required if no storage ID is provided, otherwise optional. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures.
-func (o PacketCaptureStorageLocationOutput) LocalPath() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureStorageLocation) *string { return v.LocalPath }).(pulumi.StringPtrOutput)
+// The alias of the private link service.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) Alias() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) string { return v.Alias }).(pulumi.StringOutput)
}
-// The ID of the storage account to save the packet capture session. Required if no localPath or filePath is provided.
-func (o PacketCaptureStorageLocationOutput) StorageId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureStorageLocation) *string { return v.StorageId }).(pulumi.StringPtrOutput)
+// The auto-approval list of the private link service.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) AutoApproval() PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) *PrivateLinkServicePropertiesAutoApprovalResponse {
+ return v.AutoApproval
+ }).(PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput)
}
-// The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
-func (o PacketCaptureStorageLocationOutput) StoragePath() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureStorageLocation) *string { return v.StoragePath }).(pulumi.StringPtrOutput)
+// The destination IP address of the private link service.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) DestinationIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) *string { return v.DestinationIPAddress }).(pulumi.StringPtrOutput)
}
-// The storage location for a packet capture session.
-type PacketCaptureStorageLocationResponse struct {
- // This path is invalid if 'Continuous Capture' is provided with 'true' or 'false'. A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
- FilePath *string `pulumi:"filePath"`
- // This path is valid if 'Continuous Capture' is provided with 'true' or 'false' and required if no storage ID is provided, otherwise optional. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures.
- LocalPath *string `pulumi:"localPath"`
- // The ID of the storage account to save the packet capture session. Required if no localPath or filePath is provided.
- StorageId *string `pulumi:"storageId"`
- // The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
- StoragePath *string `pulumi:"storagePath"`
+// Whether the private link service is enabled for proxy protocol or not.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) EnableProxyProtocol() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) *bool { return v.EnableProxyProtocol }).(pulumi.BoolPtrOutput)
}
-// The storage location for a packet capture session.
-type PacketCaptureStorageLocationResponseOutput struct{ *pulumi.OutputState }
-
-func (PacketCaptureStorageLocationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PacketCaptureStorageLocationResponse)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (o PacketCaptureStorageLocationResponseOutput) ToPacketCaptureStorageLocationResponseOutput() PacketCaptureStorageLocationResponseOutput {
- return o
+// The extended location of the load balancer.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) *ExtendedLocationResponse {
+ return v.ExtendedLocation
+ }).(ExtendedLocationResponsePtrOutput)
}
-func (o PacketCaptureStorageLocationResponseOutput) ToPacketCaptureStorageLocationResponseOutputWithContext(ctx context.Context) PacketCaptureStorageLocationResponseOutput {
- return o
+// The list of Fqdn.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) Fqdns() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) []string { return v.Fqdns }).(pulumi.StringArrayOutput)
}
-// This path is invalid if 'Continuous Capture' is provided with 'true' or 'false'. A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
-func (o PacketCaptureStorageLocationResponseOutput) FilePath() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureStorageLocationResponse) *string { return v.FilePath }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// This path is valid if 'Continuous Capture' is provided with 'true' or 'false' and required if no storage ID is provided, otherwise optional. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures.
-func (o PacketCaptureStorageLocationResponseOutput) LocalPath() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureStorageLocationResponse) *string { return v.LocalPath }).(pulumi.StringPtrOutput)
+// An array of private link service IP configurations.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) IpConfigurations() PrivateLinkServiceIpConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) []PrivateLinkServiceIpConfigurationResponse {
+ return v.IpConfigurations
+ }).(PrivateLinkServiceIpConfigurationResponseArrayOutput)
}
-// The ID of the storage account to save the packet capture session. Required if no localPath or filePath is provided.
-func (o PacketCaptureStorageLocationResponseOutput) StorageId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureStorageLocationResponse) *string { return v.StorageId }).(pulumi.StringPtrOutput)
+// An array of references to the load balancer IP configurations.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) LoadBalancerFrontendIpConfigurations() FrontendIPConfigurationVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) []FrontendIPConfigurationVirtualNetworkApplianceResponse {
+ return v.LoadBalancerFrontendIpConfigurations
+ }).(FrontendIPConfigurationVirtualNetworkApplianceResponseArrayOutput)
}
-// The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
-func (o PacketCaptureStorageLocationResponseOutput) StoragePath() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PacketCaptureStorageLocationResponse) *string { return v.StoragePath }).(pulumi.StringPtrOutput)
+// Resource location.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// Parameters for an Action.
-type Parameter struct {
- // List of AS paths.
- AsPath []string `pulumi:"asPath"`
- // List of BGP communities.
- Community []string `pulumi:"community"`
- // List of route prefixes.
- RoutePrefix []string `pulumi:"routePrefix"`
+// Resource name.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// ParameterInput is an input type that accepts ParameterArgs and ParameterOutput values.
-// You can construct a concrete instance of `ParameterInput` via:
-//
-// ParameterArgs{...}
-type ParameterInput interface {
- pulumi.Input
-
- ToParameterOutput() ParameterOutput
- ToParameterOutputWithContext(context.Context) ParameterOutput
+// An array of references to the network interfaces created for this private link service.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) []NetworkInterfaceResponse {
+ return v.NetworkInterfaces
+ }).(NetworkInterfaceResponseArrayOutput)
}
-// Parameters for an Action.
-type ParameterArgs struct {
- // List of AS paths.
- AsPath pulumi.StringArrayInput `pulumi:"asPath"`
- // List of BGP communities.
- Community pulumi.StringArrayInput `pulumi:"community"`
- // List of route prefixes.
- RoutePrefix pulumi.StringArrayInput `pulumi:"routePrefix"`
+// An array of list about connections to the private endpoint.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) PrivateEndpointConnections() PrivateEndpointConnectionVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) []PrivateEndpointConnectionVirtualNetworkApplianceResponse {
+ return v.PrivateEndpointConnections
+ }).(PrivateEndpointConnectionVirtualNetworkApplianceResponseArrayOutput)
}
-func (ParameterArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*Parameter)(nil)).Elem()
+// The provisioning state of the private link service resource.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i ParameterArgs) ToParameterOutput() ParameterOutput {
- return i.ToParameterOutputWithContext(context.Background())
+// Resource tags.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (i ParameterArgs) ToParameterOutputWithContext(ctx context.Context) ParameterOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ParameterOutput)
+// Resource type.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// ParameterArrayInput is an input type that accepts ParameterArray and ParameterArrayOutput values.
-// You can construct a concrete instance of `ParameterArrayInput` via:
-//
-// ParameterArray{ ParameterArgs{...} }
-type ParameterArrayInput interface {
- pulumi.Input
-
- ToParameterArrayOutput() ParameterArrayOutput
- ToParameterArrayOutputWithContext(context.Context) ParameterArrayOutput
+// The visibility list of the private link service.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponseOutput) Visibility() PrivateLinkServicePropertiesVisibilityResponsePtrOutput {
+ return o.ApplyT(func(v PrivateLinkServiceVirtualNetworkApplianceResponse) *PrivateLinkServicePropertiesVisibilityResponse {
+ return v.Visibility
+ }).(PrivateLinkServicePropertiesVisibilityResponsePtrOutput)
}
-type ParameterArray []ParameterInput
+type PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput struct{ *pulumi.OutputState }
-func (ParameterArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]Parameter)(nil)).Elem()
+func (PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PrivateLinkServiceVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (i ParameterArray) ToParameterArrayOutput() ParameterArrayOutput {
- return i.ToParameterArrayOutputWithContext(context.Background())
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) ToPrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput() PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput {
+ return o
}
-func (i ParameterArray) ToParameterArrayOutputWithContext(ctx context.Context) ParameterArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ParameterArrayOutput)
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) ToPrivateLinkServiceVirtualNetworkApplianceResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput {
+ return o
}
-// Parameters for an Action.
-type ParameterOutput struct{ *pulumi.OutputState }
-
-func (ParameterOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*Parameter)(nil)).Elem()
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) Elem() PrivateLinkServiceVirtualNetworkApplianceResponseOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) PrivateLinkServiceVirtualNetworkApplianceResponse {
+ if v != nil {
+ return *v
+ }
+ var ret PrivateLinkServiceVirtualNetworkApplianceResponse
+ return ret
+ }).(PrivateLinkServiceVirtualNetworkApplianceResponseOutput)
}
-func (o ParameterOutput) ToParameterOutput() ParameterOutput {
- return o
+// The access mode of the private link service.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) AccessMode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.AccessMode
+ }).(pulumi.StringPtrOutput)
}
-func (o ParameterOutput) ToParameterOutputWithContext(ctx context.Context) ParameterOutput {
- return o
+// The alias of the private link service.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) Alias() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Alias
+ }).(pulumi.StringPtrOutput)
}
-// List of AS paths.
-func (o ParameterOutput) AsPath() pulumi.StringArrayOutput {
- return o.ApplyT(func(v Parameter) []string { return v.AsPath }).(pulumi.StringArrayOutput)
+// The auto-approval list of the private link service.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) AutoApproval() PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) *PrivateLinkServicePropertiesAutoApprovalResponse {
+ if v == nil {
+ return nil
+ }
+ return v.AutoApproval
+ }).(PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput)
}
-// List of BGP communities.
-func (o ParameterOutput) Community() pulumi.StringArrayOutput {
- return o.ApplyT(func(v Parameter) []string { return v.Community }).(pulumi.StringArrayOutput)
+// The destination IP address of the private link service.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) DestinationIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationIPAddress
+ }).(pulumi.StringPtrOutput)
}
-// List of route prefixes.
-func (o ParameterOutput) RoutePrefix() pulumi.StringArrayOutput {
- return o.ApplyT(func(v Parameter) []string { return v.RoutePrefix }).(pulumi.StringArrayOutput)
+// Whether the private link service is enabled for proxy protocol or not.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) EnableProxyProtocol() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnableProxyProtocol
+ }).(pulumi.BoolPtrOutput)
}
-type ParameterArrayOutput struct{ *pulumi.OutputState }
-
-func (ParameterArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]Parameter)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-func (o ParameterArrayOutput) ToParameterArrayOutput() ParameterArrayOutput {
- return o
+// The extended location of the load balancer.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) *ExtendedLocationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ExtendedLocation
+ }).(ExtendedLocationResponsePtrOutput)
}
-func (o ParameterArrayOutput) ToParameterArrayOutputWithContext(ctx context.Context) ParameterArrayOutput {
- return o
+// The list of Fqdn.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) Fqdns() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Fqdns
+ }).(pulumi.StringArrayOutput)
}
-func (o ParameterArrayOutput) Index(i pulumi.IntInput) ParameterOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) Parameter {
- return vs[0].([]Parameter)[vs[1].(int)]
- }).(ParameterOutput)
+// Resource ID.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// Parameters for an Action.
-type ParameterResponse struct {
- // List of AS paths.
- AsPath []string `pulumi:"asPath"`
- // List of BGP communities.
- Community []string `pulumi:"community"`
- // List of route prefixes.
- RoutePrefix []string `pulumi:"routePrefix"`
+// An array of private link service IP configurations.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) IpConfigurations() PrivateLinkServiceIpConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) []PrivateLinkServiceIpConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurations
+ }).(PrivateLinkServiceIpConfigurationResponseArrayOutput)
}
-// Parameters for an Action.
-type ParameterResponseOutput struct{ *pulumi.OutputState }
-
-func (ParameterResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ParameterResponse)(nil)).Elem()
+// An array of references to the load balancer IP configurations.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) LoadBalancerFrontendIpConfigurations() FrontendIPConfigurationVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) []FrontendIPConfigurationVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.LoadBalancerFrontendIpConfigurations
+ }).(FrontendIPConfigurationVirtualNetworkApplianceResponseArrayOutput)
}
-func (o ParameterResponseOutput) ToParameterResponseOutput() ParameterResponseOutput {
- return o
+// Resource location.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-func (o ParameterResponseOutput) ToParameterResponseOutputWithContext(ctx context.Context) ParameterResponseOutput {
- return o
+// Resource name.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-// List of AS paths.
-func (o ParameterResponseOutput) AsPath() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ParameterResponse) []string { return v.AsPath }).(pulumi.StringArrayOutput)
+// An array of references to the network interfaces created for this private link service.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) []NetworkInterfaceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.NetworkInterfaces
+ }).(NetworkInterfaceResponseArrayOutput)
}
-// List of BGP communities.
-func (o ParameterResponseOutput) Community() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ParameterResponse) []string { return v.Community }).(pulumi.StringArrayOutput)
+// An array of list about connections to the private endpoint.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) PrivateEndpointConnections() PrivateEndpointConnectionVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) []PrivateEndpointConnectionVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateEndpointConnections
+ }).(PrivateEndpointConnectionVirtualNetworkApplianceResponseArrayOutput)
}
-// List of route prefixes.
-func (o ParameterResponseOutput) RoutePrefix() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ParameterResponse) []string { return v.RoutePrefix }).(pulumi.StringArrayOutput)
+// The provisioning state of the private link service resource.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-type ParameterResponseArrayOutput struct{ *pulumi.OutputState }
+// Resource tags.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
+}
-func (ParameterResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ParameterResponse)(nil)).Elem()
+// Resource type.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-func (o ParameterResponseArrayOutput) ToParameterResponseArrayOutput() ParameterResponseArrayOutput {
- return o
+// The visibility list of the private link service.
+func (o PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput) Visibility() PrivateLinkServicePropertiesVisibilityResponsePtrOutput {
+ return o.ApplyT(func(v *PrivateLinkServiceVirtualNetworkApplianceResponse) *PrivateLinkServicePropertiesVisibilityResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Visibility
+ }).(PrivateLinkServicePropertiesVisibilityResponsePtrOutput)
}
-func (o ParameterResponseArrayOutput) ToParameterResponseArrayOutputWithContext(ctx context.Context) ParameterResponseArrayOutput {
- return o
+// A load balancer probe.
+type Probe struct {
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.
+ IntervalInSeconds *int `pulumi:"intervalInSeconds"`
+ // The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Determines how new connections are handled by the load balancer when all backend instances are probed down.
+ NoHealthyBackendsBehavior *string `pulumi:"noHealthyBackendsBehavior"`
+ // The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.
+ NumberOfProbes *int `pulumi:"numberOfProbes"`
+ // The port for communicating the probe. Possible values range from 1 to 65535, inclusive.
+ Port int `pulumi:"port"`
+ // The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation.
+ ProbeThreshold *int `pulumi:"probeThreshold"`
+ // The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.
+ Protocol string `pulumi:"protocol"`
+ // The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.
+ RequestPath *string `pulumi:"requestPath"`
}
-func (o ParameterResponseArrayOutput) Index(i pulumi.IntInput) ParameterResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ParameterResponse {
- return vs[0].([]ParameterResponse)[vs[1].(int)]
- }).(ParameterResponseOutput)
+// ProbeInput is an input type that accepts ProbeArgs and ProbeOutput values.
+// You can construct a concrete instance of `ProbeInput` via:
+//
+// ProbeArgs{...}
+type ProbeInput interface {
+ pulumi.Input
+
+ ToProbeOutput() ProbeOutput
+ ToProbeOutputWithContext(context.Context) ProbeOutput
}
-// Properties of the partner managed resource.
-type PartnerManagedResourcePropertiesResponse struct {
- // The partner managed resource id.
- Id string `pulumi:"id"`
- // The partner managed ILB resource id
- InternalLoadBalancerId string `pulumi:"internalLoadBalancerId"`
- // The partner managed SLB resource id
- StandardLoadBalancerId string `pulumi:"standardLoadBalancerId"`
+// A load balancer probe.
+type ProbeArgs struct {
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.
+ IntervalInSeconds pulumi.IntPtrInput `pulumi:"intervalInSeconds"`
+ // The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Determines how new connections are handled by the load balancer when all backend instances are probed down.
+ NoHealthyBackendsBehavior pulumi.StringPtrInput `pulumi:"noHealthyBackendsBehavior"`
+ // The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.
+ NumberOfProbes pulumi.IntPtrInput `pulumi:"numberOfProbes"`
+ // The port for communicating the probe. Possible values range from 1 to 65535, inclusive.
+ Port pulumi.IntInput `pulumi:"port"`
+ // The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation.
+ ProbeThreshold pulumi.IntPtrInput `pulumi:"probeThreshold"`
+ // The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.
+ Protocol pulumi.StringInput `pulumi:"protocol"`
+ // The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.
+ RequestPath pulumi.StringPtrInput `pulumi:"requestPath"`
}
-// Properties of the partner managed resource.
-type PartnerManagedResourcePropertiesResponseOutput struct{ *pulumi.OutputState }
+func (ProbeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*Probe)(nil)).Elem()
+}
-func (PartnerManagedResourcePropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PartnerManagedResourcePropertiesResponse)(nil)).Elem()
+func (i ProbeArgs) ToProbeOutput() ProbeOutput {
+ return i.ToProbeOutputWithContext(context.Background())
}
-func (o PartnerManagedResourcePropertiesResponseOutput) ToPartnerManagedResourcePropertiesResponseOutput() PartnerManagedResourcePropertiesResponseOutput {
- return o
+func (i ProbeArgs) ToProbeOutputWithContext(ctx context.Context) ProbeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ProbeOutput)
}
-func (o PartnerManagedResourcePropertiesResponseOutput) ToPartnerManagedResourcePropertiesResponseOutputWithContext(ctx context.Context) PartnerManagedResourcePropertiesResponseOutput {
- return o
+// ProbeArrayInput is an input type that accepts ProbeArray and ProbeArrayOutput values.
+// You can construct a concrete instance of `ProbeArrayInput` via:
+//
+// ProbeArray{ ProbeArgs{...} }
+type ProbeArrayInput interface {
+ pulumi.Input
+
+ ToProbeArrayOutput() ProbeArrayOutput
+ ToProbeArrayOutputWithContext(context.Context) ProbeArrayOutput
}
-// The partner managed resource id.
-func (o PartnerManagedResourcePropertiesResponseOutput) Id() pulumi.StringOutput {
- return o.ApplyT(func(v PartnerManagedResourcePropertiesResponse) string { return v.Id }).(pulumi.StringOutput)
+type ProbeArray []ProbeInput
+
+func (ProbeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]Probe)(nil)).Elem()
}
-// The partner managed ILB resource id
-func (o PartnerManagedResourcePropertiesResponseOutput) InternalLoadBalancerId() pulumi.StringOutput {
- return o.ApplyT(func(v PartnerManagedResourcePropertiesResponse) string { return v.InternalLoadBalancerId }).(pulumi.StringOutput)
+func (i ProbeArray) ToProbeArrayOutput() ProbeArrayOutput {
+ return i.ToProbeArrayOutputWithContext(context.Background())
}
-// The partner managed SLB resource id
-func (o PartnerManagedResourcePropertiesResponseOutput) StandardLoadBalancerId() pulumi.StringOutput {
- return o.ApplyT(func(v PartnerManagedResourcePropertiesResponse) string { return v.StandardLoadBalancerId }).(pulumi.StringOutput)
+func (i ProbeArray) ToProbeArrayOutputWithContext(ctx context.Context) ProbeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ProbeArrayOutput)
}
-type PartnerManagedResourcePropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+// A load balancer probe.
+type ProbeOutput struct{ *pulumi.OutputState }
-func (PartnerManagedResourcePropertiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PartnerManagedResourcePropertiesResponse)(nil)).Elem()
+func (ProbeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*Probe)(nil)).Elem()
}
-func (o PartnerManagedResourcePropertiesResponsePtrOutput) ToPartnerManagedResourcePropertiesResponsePtrOutput() PartnerManagedResourcePropertiesResponsePtrOutput {
+func (o ProbeOutput) ToProbeOutput() ProbeOutput {
return o
}
-func (o PartnerManagedResourcePropertiesResponsePtrOutput) ToPartnerManagedResourcePropertiesResponsePtrOutputWithContext(ctx context.Context) PartnerManagedResourcePropertiesResponsePtrOutput {
+func (o ProbeOutput) ToProbeOutputWithContext(ctx context.Context) ProbeOutput {
return o
}
-func (o PartnerManagedResourcePropertiesResponsePtrOutput) Elem() PartnerManagedResourcePropertiesResponseOutput {
- return o.ApplyT(func(v *PartnerManagedResourcePropertiesResponse) PartnerManagedResourcePropertiesResponse {
- if v != nil {
- return *v
- }
- var ret PartnerManagedResourcePropertiesResponse
- return ret
- }).(PartnerManagedResourcePropertiesResponseOutput)
+// Resource ID.
+func (o ProbeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Probe) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The partner managed resource id.
-func (o PartnerManagedResourcePropertiesResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PartnerManagedResourcePropertiesResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Id
- }).(pulumi.StringPtrOutput)
+// The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.
+func (o ProbeOutput) IntervalInSeconds() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v Probe) *int { return v.IntervalInSeconds }).(pulumi.IntPtrOutput)
}
-// The partner managed ILB resource id
-func (o PartnerManagedResourcePropertiesResponsePtrOutput) InternalLoadBalancerId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PartnerManagedResourcePropertiesResponse) *string {
- if v == nil {
- return nil
- }
- return &v.InternalLoadBalancerId
- }).(pulumi.StringPtrOutput)
+// The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource.
+func (o ProbeOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Probe) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The partner managed SLB resource id
-func (o PartnerManagedResourcePropertiesResponsePtrOutput) StandardLoadBalancerId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PartnerManagedResourcePropertiesResponse) *string {
- if v == nil {
- return nil
- }
- return &v.StandardLoadBalancerId
- }).(pulumi.StringPtrOutput)
+// Determines how new connections are handled by the load balancer when all backend instances are probed down.
+func (o ProbeOutput) NoHealthyBackendsBehavior() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Probe) *string { return v.NoHealthyBackendsBehavior }).(pulumi.StringPtrOutput)
}
-// Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
-type PeerExpressRouteCircuitConnectionResponse struct {
- // /29 IP address space to carve out Customer addresses for tunnels.
- AddressPrefix *string `pulumi:"addressPrefix"`
- // The resource guid of the authorization used for the express route circuit connection.
- AuthResourceGuid *string `pulumi:"authResourceGuid"`
- // Express Route Circuit connection state.
- CircuitConnectionStatus string `pulumi:"circuitConnectionStatus"`
- // The name of the express route circuit connection resource.
- ConnectionName *string `pulumi:"connectionName"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Reference to Express Route Circuit Private Peering Resource of the circuit.
- ExpressRouteCircuitPeering *SubResourceResponse `pulumi:"expressRouteCircuitPeering"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // Reference to Express Route Circuit Private Peering Resource of the peered circuit.
- PeerExpressRouteCircuitPeering *SubResourceResponse `pulumi:"peerExpressRouteCircuitPeering"`
- // The provisioning state of the peer express route circuit connection resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Type of the resource.
- Type string `pulumi:"type"`
+// The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.
+func (o ProbeOutput) NumberOfProbes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v Probe) *int { return v.NumberOfProbes }).(pulumi.IntPtrOutput)
}
-// Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
-type PeerExpressRouteCircuitConnectionResponseOutput struct{ *pulumi.OutputState }
-
-func (PeerExpressRouteCircuitConnectionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PeerExpressRouteCircuitConnectionResponse)(nil)).Elem()
+// The port for communicating the probe. Possible values range from 1 to 65535, inclusive.
+func (o ProbeOutput) Port() pulumi.IntOutput {
+ return o.ApplyT(func(v Probe) int { return v.Port }).(pulumi.IntOutput)
}
-func (o PeerExpressRouteCircuitConnectionResponseOutput) ToPeerExpressRouteCircuitConnectionResponseOutput() PeerExpressRouteCircuitConnectionResponseOutput {
- return o
+// The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation.
+func (o ProbeOutput) ProbeThreshold() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v Probe) *int { return v.ProbeThreshold }).(pulumi.IntPtrOutput)
}
-func (o PeerExpressRouteCircuitConnectionResponseOutput) ToPeerExpressRouteCircuitConnectionResponseOutputWithContext(ctx context.Context) PeerExpressRouteCircuitConnectionResponseOutput {
- return o
+// The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.
+func (o ProbeOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v Probe) string { return v.Protocol }).(pulumi.StringOutput)
}
-// /29 IP address space to carve out Customer addresses for tunnels.
-func (o PeerExpressRouteCircuitConnectionResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
+// The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.
+func (o ProbeOutput) RequestPath() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Probe) *string { return v.RequestPath }).(pulumi.StringPtrOutput)
}
-// The resource guid of the authorization used for the express route circuit connection.
-func (o PeerExpressRouteCircuitConnectionResponseOutput) AuthResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) *string { return v.AuthResourceGuid }).(pulumi.StringPtrOutput)
-}
+type ProbeArrayOutput struct{ *pulumi.OutputState }
-// Express Route Circuit connection state.
-func (o PeerExpressRouteCircuitConnectionResponseOutput) CircuitConnectionStatus() pulumi.StringOutput {
- return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) string { return v.CircuitConnectionStatus }).(pulumi.StringOutput)
+func (ProbeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]Probe)(nil)).Elem()
}
-// The name of the express route circuit connection resource.
-func (o PeerExpressRouteCircuitConnectionResponseOutput) ConnectionName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) *string { return v.ConnectionName }).(pulumi.StringPtrOutput)
+func (o ProbeArrayOutput) ToProbeArrayOutput() ProbeArrayOutput {
+ return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o PeerExpressRouteCircuitConnectionResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o ProbeArrayOutput) ToProbeArrayOutputWithContext(ctx context.Context) ProbeArrayOutput {
+ return o
}
-// Reference to Express Route Circuit Private Peering Resource of the circuit.
-func (o PeerExpressRouteCircuitConnectionResponseOutput) ExpressRouteCircuitPeering() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) *SubResourceResponse {
- return v.ExpressRouteCircuitPeering
- }).(SubResourceResponsePtrOutput)
+func (o ProbeArrayOutput) Index(i pulumi.IntInput) ProbeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) Probe {
+ return vs[0].([]Probe)[vs[1].(int)]
+ }).(ProbeOutput)
}
-// Resource ID.
-func (o PeerExpressRouteCircuitConnectionResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// A load balancer probe.
+type ProbeResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.
+ IntervalInSeconds *int `pulumi:"intervalInSeconds"`
+ // The load balancer rules that use this probe.
+ LoadBalancingRules []SubResourceResponse `pulumi:"loadBalancingRules"`
+ // The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Determines how new connections are handled by the load balancer when all backend instances are probed down.
+ NoHealthyBackendsBehavior *string `pulumi:"noHealthyBackendsBehavior"`
+ // The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.
+ NumberOfProbes *int `pulumi:"numberOfProbes"`
+ // The port for communicating the probe. Possible values range from 1 to 65535, inclusive.
+ Port int `pulumi:"port"`
+ // The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation.
+ ProbeThreshold *int `pulumi:"probeThreshold"`
+ // The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.
+ Protocol string `pulumi:"protocol"`
+ // The provisioning state of the probe resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.
+ RequestPath *string `pulumi:"requestPath"`
+ // Type of the resource.
+ Type string `pulumi:"type"`
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o PeerExpressRouteCircuitConnectionResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
+// A load balancer probe.
+type ProbeResponseOutput struct{ *pulumi.OutputState }
-// Reference to Express Route Circuit Private Peering Resource of the peered circuit.
-func (o PeerExpressRouteCircuitConnectionResponseOutput) PeerExpressRouteCircuitPeering() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) *SubResourceResponse {
- return v.PeerExpressRouteCircuitPeering
- }).(SubResourceResponsePtrOutput)
+func (ProbeResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ProbeResponse)(nil)).Elem()
}
-// The provisioning state of the peer express route circuit connection resource.
-func (o PeerExpressRouteCircuitConnectionResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o ProbeResponseOutput) ToProbeResponseOutput() ProbeResponseOutput {
+ return o
}
-// Type of the resource.
-func (o PeerExpressRouteCircuitConnectionResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v PeerExpressRouteCircuitConnectionResponse) string { return v.Type }).(pulumi.StringOutput)
+func (o ProbeResponseOutput) ToProbeResponseOutputWithContext(ctx context.Context) ProbeResponseOutput {
+ return o
}
-type PeerExpressRouteCircuitConnectionResponseArrayOutput struct{ *pulumi.OutputState }
+// A unique read-only string that changes whenever the resource is updated.
+func (o ProbeResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ProbeResponse) string { return v.Etag }).(pulumi.StringOutput)
+}
-func (PeerExpressRouteCircuitConnectionResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PeerExpressRouteCircuitConnectionResponse)(nil)).Elem()
+// Resource ID.
+func (o ProbeResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ProbeResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o PeerExpressRouteCircuitConnectionResponseArrayOutput) ToPeerExpressRouteCircuitConnectionResponseArrayOutput() PeerExpressRouteCircuitConnectionResponseArrayOutput {
- return o
+// The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.
+func (o ProbeResponseOutput) IntervalInSeconds() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ProbeResponse) *int { return v.IntervalInSeconds }).(pulumi.IntPtrOutput)
}
-func (o PeerExpressRouteCircuitConnectionResponseArrayOutput) ToPeerExpressRouteCircuitConnectionResponseArrayOutputWithContext(ctx context.Context) PeerExpressRouteCircuitConnectionResponseArrayOutput {
- return o
+// The load balancer rules that use this probe.
+func (o ProbeResponseOutput) LoadBalancingRules() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v ProbeResponse) []SubResourceResponse { return v.LoadBalancingRules }).(SubResourceResponseArrayOutput)
}
-func (o PeerExpressRouteCircuitConnectionResponseArrayOutput) Index(i pulumi.IntInput) PeerExpressRouteCircuitConnectionResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PeerExpressRouteCircuitConnectionResponse {
- return vs[0].([]PeerExpressRouteCircuitConnectionResponse)[vs[1].(int)]
- }).(PeerExpressRouteCircuitConnectionResponseOutput)
+// The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource.
+func (o ProbeResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ProbeResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-type PerimeterBasedAccessRuleResponse struct {
- // NSP id in the ARM id format.
- Id string `pulumi:"id"`
- // Location of the NSP supplied.
- Location string `pulumi:"location"`
- // Resource guid of the NSP supplied.
- PerimeterGuid string `pulumi:"perimeterGuid"`
+// Determines how new connections are handled by the load balancer when all backend instances are probed down.
+func (o ProbeResponseOutput) NoHealthyBackendsBehavior() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ProbeResponse) *string { return v.NoHealthyBackendsBehavior }).(pulumi.StringPtrOutput)
}
-type PerimeterBasedAccessRuleResponseOutput struct{ *pulumi.OutputState }
+// The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.
+func (o ProbeResponseOutput) NumberOfProbes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ProbeResponse) *int { return v.NumberOfProbes }).(pulumi.IntPtrOutput)
+}
-func (PerimeterBasedAccessRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PerimeterBasedAccessRuleResponse)(nil)).Elem()
+// The port for communicating the probe. Possible values range from 1 to 65535, inclusive.
+func (o ProbeResponseOutput) Port() pulumi.IntOutput {
+ return o.ApplyT(func(v ProbeResponse) int { return v.Port }).(pulumi.IntOutput)
}
-func (o PerimeterBasedAccessRuleResponseOutput) ToPerimeterBasedAccessRuleResponseOutput() PerimeterBasedAccessRuleResponseOutput {
- return o
+// The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation.
+func (o ProbeResponseOutput) ProbeThreshold() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v ProbeResponse) *int { return v.ProbeThreshold }).(pulumi.IntPtrOutput)
}
-func (o PerimeterBasedAccessRuleResponseOutput) ToPerimeterBasedAccessRuleResponseOutputWithContext(ctx context.Context) PerimeterBasedAccessRuleResponseOutput {
- return o
+// The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.
+func (o ProbeResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v ProbeResponse) string { return v.Protocol }).(pulumi.StringOutput)
}
-// NSP id in the ARM id format.
-func (o PerimeterBasedAccessRuleResponseOutput) Id() pulumi.StringOutput {
- return o.ApplyT(func(v PerimeterBasedAccessRuleResponse) string { return v.Id }).(pulumi.StringOutput)
+// The provisioning state of the probe resource.
+func (o ProbeResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ProbeResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Location of the NSP supplied.
-func (o PerimeterBasedAccessRuleResponseOutput) Location() pulumi.StringOutput {
- return o.ApplyT(func(v PerimeterBasedAccessRuleResponse) string { return v.Location }).(pulumi.StringOutput)
+// The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.
+func (o ProbeResponseOutput) RequestPath() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ProbeResponse) *string { return v.RequestPath }).(pulumi.StringPtrOutput)
}
-// Resource guid of the NSP supplied.
-func (o PerimeterBasedAccessRuleResponseOutput) PerimeterGuid() pulumi.StringOutput {
- return o.ApplyT(func(v PerimeterBasedAccessRuleResponse) string { return v.PerimeterGuid }).(pulumi.StringOutput)
+// Type of the resource.
+func (o ProbeResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ProbeResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type PerimeterBasedAccessRuleResponseArrayOutput struct{ *pulumi.OutputState }
+type ProbeResponseArrayOutput struct{ *pulumi.OutputState }
-func (PerimeterBasedAccessRuleResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PerimeterBasedAccessRuleResponse)(nil)).Elem()
+func (ProbeResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ProbeResponse)(nil)).Elem()
}
-func (o PerimeterBasedAccessRuleResponseArrayOutput) ToPerimeterBasedAccessRuleResponseArrayOutput() PerimeterBasedAccessRuleResponseArrayOutput {
+func (o ProbeResponseArrayOutput) ToProbeResponseArrayOutput() ProbeResponseArrayOutput {
return o
}
-func (o PerimeterBasedAccessRuleResponseArrayOutput) ToPerimeterBasedAccessRuleResponseArrayOutputWithContext(ctx context.Context) PerimeterBasedAccessRuleResponseArrayOutput {
+func (o ProbeResponseArrayOutput) ToProbeResponseArrayOutputWithContext(ctx context.Context) ProbeResponseArrayOutput {
return o
}
-func (o PerimeterBasedAccessRuleResponseArrayOutput) Index(i pulumi.IntInput) PerimeterBasedAccessRuleResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PerimeterBasedAccessRuleResponse {
- return vs[0].([]PerimeterBasedAccessRuleResponse)[vs[1].(int)]
- }).(PerimeterBasedAccessRuleResponseOutput)
-}
-
-// Defines contents of a web application firewall global configuration.
-type PolicySettings struct {
- // If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- CustomBlockResponseBody *string `pulumi:"customBlockResponseBody"`
- // If the action type is block, customer can override the response status code.
- CustomBlockResponseStatusCode *int `pulumi:"customBlockResponseStatusCode"`
- // Whether allow WAF to enforce file upload limits.
- FileUploadEnforcement *bool `pulumi:"fileUploadEnforcement"`
- // Maximum file upload size in Mb for WAF.
- FileUploadLimitInMb *int `pulumi:"fileUploadLimitInMb"`
- // Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.
- JsChallengeCookieExpirationInMins *int `pulumi:"jsChallengeCookieExpirationInMins"`
- // To scrub sensitive log fields
- LogScrubbing *PolicySettingsLogScrubbing `pulumi:"logScrubbing"`
- // Maximum request body size in Kb for WAF.
- MaxRequestBodySizeInKb *int `pulumi:"maxRequestBodySizeInKb"`
- // The mode of the policy.
- Mode *string `pulumi:"mode"`
- // Whether to allow WAF to check request Body.
- RequestBodyCheck *bool `pulumi:"requestBodyCheck"`
- // Whether allow WAF to enforce request body limits.
- RequestBodyEnforcement *bool `pulumi:"requestBodyEnforcement"`
- // Max inspection limit in KB for request body inspection for WAF.
- RequestBodyInspectLimitInKB *int `pulumi:"requestBodyInspectLimitInKB"`
- // The state of the policy.
- State *string `pulumi:"state"`
+func (o ProbeResponseArrayOutput) Index(i pulumi.IntInput) ProbeResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProbeResponse {
+ return vs[0].([]ProbeResponse)[vs[1].(int)]
+ }).(ProbeResponseOutput)
}
-// Defaults sets the appropriate defaults for PolicySettings
-func (val *PolicySettings) Defaults() *PolicySettings {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.FileUploadEnforcement == nil {
- fileUploadEnforcement_ := true
- tmp.FileUploadEnforcement = &fileUploadEnforcement_
- }
- if tmp.RequestBodyEnforcement == nil {
- requestBodyEnforcement_ := true
- tmp.RequestBodyEnforcement = &requestBodyEnforcement_
- }
- return &tmp
+// The list of RouteTables to advertise the routes to.
+type PropagatedRouteTable struct {
+ // The list of resource ids of all the RouteTables.
+ Ids []SubResource `pulumi:"ids"`
+ // The list of labels.
+ Labels []string `pulumi:"labels"`
}
-// PolicySettingsInput is an input type that accepts PolicySettingsArgs and PolicySettingsOutput values.
-// You can construct a concrete instance of `PolicySettingsInput` via:
+// PropagatedRouteTableInput is an input type that accepts PropagatedRouteTableArgs and PropagatedRouteTableOutput values.
+// You can construct a concrete instance of `PropagatedRouteTableInput` via:
//
-// PolicySettingsArgs{...}
-type PolicySettingsInput interface {
+// PropagatedRouteTableArgs{...}
+type PropagatedRouteTableInput interface {
pulumi.Input
- ToPolicySettingsOutput() PolicySettingsOutput
- ToPolicySettingsOutputWithContext(context.Context) PolicySettingsOutput
+ ToPropagatedRouteTableOutput() PropagatedRouteTableOutput
+ ToPropagatedRouteTableOutputWithContext(context.Context) PropagatedRouteTableOutput
}
-// Defines contents of a web application firewall global configuration.
-type PolicySettingsArgs struct {
- // If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- CustomBlockResponseBody pulumi.StringPtrInput `pulumi:"customBlockResponseBody"`
- // If the action type is block, customer can override the response status code.
- CustomBlockResponseStatusCode pulumi.IntPtrInput `pulumi:"customBlockResponseStatusCode"`
- // Whether allow WAF to enforce file upload limits.
- FileUploadEnforcement pulumi.BoolPtrInput `pulumi:"fileUploadEnforcement"`
- // Maximum file upload size in Mb for WAF.
- FileUploadLimitInMb pulumi.IntPtrInput `pulumi:"fileUploadLimitInMb"`
- // Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.
- JsChallengeCookieExpirationInMins pulumi.IntPtrInput `pulumi:"jsChallengeCookieExpirationInMins"`
- // To scrub sensitive log fields
- LogScrubbing PolicySettingsLogScrubbingPtrInput `pulumi:"logScrubbing"`
- // Maximum request body size in Kb for WAF.
- MaxRequestBodySizeInKb pulumi.IntPtrInput `pulumi:"maxRequestBodySizeInKb"`
- // The mode of the policy.
- Mode pulumi.StringPtrInput `pulumi:"mode"`
- // Whether to allow WAF to check request Body.
- RequestBodyCheck pulumi.BoolPtrInput `pulumi:"requestBodyCheck"`
- // Whether allow WAF to enforce request body limits.
- RequestBodyEnforcement pulumi.BoolPtrInput `pulumi:"requestBodyEnforcement"`
- // Max inspection limit in KB for request body inspection for WAF.
- RequestBodyInspectLimitInKB pulumi.IntPtrInput `pulumi:"requestBodyInspectLimitInKB"`
- // The state of the policy.
- State pulumi.StringPtrInput `pulumi:"state"`
+// The list of RouteTables to advertise the routes to.
+type PropagatedRouteTableArgs struct {
+ // The list of resource ids of all the RouteTables.
+ Ids SubResourceArrayInput `pulumi:"ids"`
+ // The list of labels.
+ Labels pulumi.StringArrayInput `pulumi:"labels"`
}
-// Defaults sets the appropriate defaults for PolicySettingsArgs
-func (val *PolicySettingsArgs) Defaults() *PolicySettingsArgs {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.FileUploadEnforcement == nil {
- tmp.FileUploadEnforcement = pulumi.BoolPtr(true)
- }
- if tmp.RequestBodyEnforcement == nil {
- tmp.RequestBodyEnforcement = pulumi.BoolPtr(true)
- }
- return &tmp
-}
-func (PolicySettingsArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PolicySettings)(nil)).Elem()
+func (PropagatedRouteTableArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PropagatedRouteTable)(nil)).Elem()
}
-func (i PolicySettingsArgs) ToPolicySettingsOutput() PolicySettingsOutput {
- return i.ToPolicySettingsOutputWithContext(context.Background())
+func (i PropagatedRouteTableArgs) ToPropagatedRouteTableOutput() PropagatedRouteTableOutput {
+ return i.ToPropagatedRouteTableOutputWithContext(context.Background())
}
-func (i PolicySettingsArgs) ToPolicySettingsOutputWithContext(ctx context.Context) PolicySettingsOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PolicySettingsOutput)
+func (i PropagatedRouteTableArgs) ToPropagatedRouteTableOutputWithContext(ctx context.Context) PropagatedRouteTableOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableOutput)
}
-func (i PolicySettingsArgs) ToPolicySettingsPtrOutput() PolicySettingsPtrOutput {
- return i.ToPolicySettingsPtrOutputWithContext(context.Background())
+func (i PropagatedRouteTableArgs) ToPropagatedRouteTablePtrOutput() PropagatedRouteTablePtrOutput {
+ return i.ToPropagatedRouteTablePtrOutputWithContext(context.Background())
}
-func (i PolicySettingsArgs) ToPolicySettingsPtrOutputWithContext(ctx context.Context) PolicySettingsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PolicySettingsOutput).ToPolicySettingsPtrOutputWithContext(ctx)
+func (i PropagatedRouteTableArgs) ToPropagatedRouteTablePtrOutputWithContext(ctx context.Context) PropagatedRouteTablePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableOutput).ToPropagatedRouteTablePtrOutputWithContext(ctx)
}
-// PolicySettingsPtrInput is an input type that accepts PolicySettingsArgs, PolicySettingsPtr and PolicySettingsPtrOutput values.
-// You can construct a concrete instance of `PolicySettingsPtrInput` via:
+// PropagatedRouteTablePtrInput is an input type that accepts PropagatedRouteTableArgs, PropagatedRouteTablePtr and PropagatedRouteTablePtrOutput values.
+// You can construct a concrete instance of `PropagatedRouteTablePtrInput` via:
//
-// PolicySettingsArgs{...}
+// PropagatedRouteTableArgs{...}
//
// or:
//
// nil
-type PolicySettingsPtrInput interface {
+type PropagatedRouteTablePtrInput interface {
pulumi.Input
- ToPolicySettingsPtrOutput() PolicySettingsPtrOutput
- ToPolicySettingsPtrOutputWithContext(context.Context) PolicySettingsPtrOutput
+ ToPropagatedRouteTablePtrOutput() PropagatedRouteTablePtrOutput
+ ToPropagatedRouteTablePtrOutputWithContext(context.Context) PropagatedRouteTablePtrOutput
}
-type policySettingsPtrType PolicySettingsArgs
+type propagatedRouteTablePtrType PropagatedRouteTableArgs
-func PolicySettingsPtr(v *PolicySettingsArgs) PolicySettingsPtrInput {
- return (*policySettingsPtrType)(v)
+func PropagatedRouteTablePtr(v *PropagatedRouteTableArgs) PropagatedRouteTablePtrInput {
+ return (*propagatedRouteTablePtrType)(v)
}
-func (*policySettingsPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PolicySettings)(nil)).Elem()
+func (*propagatedRouteTablePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**PropagatedRouteTable)(nil)).Elem()
}
-func (i *policySettingsPtrType) ToPolicySettingsPtrOutput() PolicySettingsPtrOutput {
- return i.ToPolicySettingsPtrOutputWithContext(context.Background())
+func (i *propagatedRouteTablePtrType) ToPropagatedRouteTablePtrOutput() PropagatedRouteTablePtrOutput {
+ return i.ToPropagatedRouteTablePtrOutputWithContext(context.Background())
}
-func (i *policySettingsPtrType) ToPolicySettingsPtrOutputWithContext(ctx context.Context) PolicySettingsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PolicySettingsPtrOutput)
+func (i *propagatedRouteTablePtrType) ToPropagatedRouteTablePtrOutputWithContext(ctx context.Context) PropagatedRouteTablePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTablePtrOutput)
}
-// Defines contents of a web application firewall global configuration.
-type PolicySettingsOutput struct{ *pulumi.OutputState }
+// The list of RouteTables to advertise the routes to.
+type PropagatedRouteTableOutput struct{ *pulumi.OutputState }
-func (PolicySettingsOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PolicySettings)(nil)).Elem()
+func (PropagatedRouteTableOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PropagatedRouteTable)(nil)).Elem()
}
-func (o PolicySettingsOutput) ToPolicySettingsOutput() PolicySettingsOutput {
+func (o PropagatedRouteTableOutput) ToPropagatedRouteTableOutput() PropagatedRouteTableOutput {
return o
}
-func (o PolicySettingsOutput) ToPolicySettingsOutputWithContext(ctx context.Context) PolicySettingsOutput {
+func (o PropagatedRouteTableOutput) ToPropagatedRouteTableOutputWithContext(ctx context.Context) PropagatedRouteTableOutput {
return o
}
-func (o PolicySettingsOutput) ToPolicySettingsPtrOutput() PolicySettingsPtrOutput {
- return o.ToPolicySettingsPtrOutputWithContext(context.Background())
+func (o PropagatedRouteTableOutput) ToPropagatedRouteTablePtrOutput() PropagatedRouteTablePtrOutput {
+ return o.ToPropagatedRouteTablePtrOutputWithContext(context.Background())
}
-func (o PolicySettingsOutput) ToPolicySettingsPtrOutputWithContext(ctx context.Context) PolicySettingsPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PolicySettings) *PolicySettings {
+func (o PropagatedRouteTableOutput) ToPropagatedRouteTablePtrOutputWithContext(ctx context.Context) PropagatedRouteTablePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v PropagatedRouteTable) *PropagatedRouteTable {
return &v
- }).(PolicySettingsPtrOutput)
-}
-
-// If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
-func (o PolicySettingsOutput) CustomBlockResponseBody() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PolicySettings) *string { return v.CustomBlockResponseBody }).(pulumi.StringPtrOutput)
-}
-
-// If the action type is block, customer can override the response status code.
-func (o PolicySettingsOutput) CustomBlockResponseStatusCode() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PolicySettings) *int { return v.CustomBlockResponseStatusCode }).(pulumi.IntPtrOutput)
-}
-
-// Whether allow WAF to enforce file upload limits.
-func (o PolicySettingsOutput) FileUploadEnforcement() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v PolicySettings) *bool { return v.FileUploadEnforcement }).(pulumi.BoolPtrOutput)
-}
-
-// Maximum file upload size in Mb for WAF.
-func (o PolicySettingsOutput) FileUploadLimitInMb() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PolicySettings) *int { return v.FileUploadLimitInMb }).(pulumi.IntPtrOutput)
-}
-
-// Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.
-func (o PolicySettingsOutput) JsChallengeCookieExpirationInMins() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PolicySettings) *int { return v.JsChallengeCookieExpirationInMins }).(pulumi.IntPtrOutput)
-}
-
-// To scrub sensitive log fields
-func (o PolicySettingsOutput) LogScrubbing() PolicySettingsLogScrubbingPtrOutput {
- return o.ApplyT(func(v PolicySettings) *PolicySettingsLogScrubbing { return v.LogScrubbing }).(PolicySettingsLogScrubbingPtrOutput)
-}
-
-// Maximum request body size in Kb for WAF.
-func (o PolicySettingsOutput) MaxRequestBodySizeInKb() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PolicySettings) *int { return v.MaxRequestBodySizeInKb }).(pulumi.IntPtrOutput)
-}
-
-// The mode of the policy.
-func (o PolicySettingsOutput) Mode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PolicySettings) *string { return v.Mode }).(pulumi.StringPtrOutput)
-}
-
-// Whether to allow WAF to check request Body.
-func (o PolicySettingsOutput) RequestBodyCheck() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v PolicySettings) *bool { return v.RequestBodyCheck }).(pulumi.BoolPtrOutput)
-}
-
-// Whether allow WAF to enforce request body limits.
-func (o PolicySettingsOutput) RequestBodyEnforcement() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v PolicySettings) *bool { return v.RequestBodyEnforcement }).(pulumi.BoolPtrOutput)
+ }).(PropagatedRouteTablePtrOutput)
}
-// Max inspection limit in KB for request body inspection for WAF.
-func (o PolicySettingsOutput) RequestBodyInspectLimitInKB() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PolicySettings) *int { return v.RequestBodyInspectLimitInKB }).(pulumi.IntPtrOutput)
+// The list of resource ids of all the RouteTables.
+func (o PropagatedRouteTableOutput) Ids() SubResourceArrayOutput {
+ return o.ApplyT(func(v PropagatedRouteTable) []SubResource { return v.Ids }).(SubResourceArrayOutput)
}
-// The state of the policy.
-func (o PolicySettingsOutput) State() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PolicySettings) *string { return v.State }).(pulumi.StringPtrOutput)
+// The list of labels.
+func (o PropagatedRouteTableOutput) Labels() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PropagatedRouteTable) []string { return v.Labels }).(pulumi.StringArrayOutput)
}
-type PolicySettingsPtrOutput struct{ *pulumi.OutputState }
+type PropagatedRouteTablePtrOutput struct{ *pulumi.OutputState }
-func (PolicySettingsPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PolicySettings)(nil)).Elem()
+func (PropagatedRouteTablePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PropagatedRouteTable)(nil)).Elem()
}
-func (o PolicySettingsPtrOutput) ToPolicySettingsPtrOutput() PolicySettingsPtrOutput {
+func (o PropagatedRouteTablePtrOutput) ToPropagatedRouteTablePtrOutput() PropagatedRouteTablePtrOutput {
return o
}
-func (o PolicySettingsPtrOutput) ToPolicySettingsPtrOutputWithContext(ctx context.Context) PolicySettingsPtrOutput {
+func (o PropagatedRouteTablePtrOutput) ToPropagatedRouteTablePtrOutputWithContext(ctx context.Context) PropagatedRouteTablePtrOutput {
return o
}
-func (o PolicySettingsPtrOutput) Elem() PolicySettingsOutput {
- return o.ApplyT(func(v *PolicySettings) PolicySettings {
+func (o PropagatedRouteTablePtrOutput) Elem() PropagatedRouteTableOutput {
+ return o.ApplyT(func(v *PropagatedRouteTable) PropagatedRouteTable {
if v != nil {
return *v
}
- var ret PolicySettings
+ var ret PropagatedRouteTable
return ret
- }).(PolicySettingsOutput)
+ }).(PropagatedRouteTableOutput)
}
-// If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
-func (o PolicySettingsPtrOutput) CustomBlockResponseBody() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PolicySettings) *string {
+// The list of resource ids of all the RouteTables.
+func (o PropagatedRouteTablePtrOutput) Ids() SubResourceArrayOutput {
+ return o.ApplyT(func(v *PropagatedRouteTable) []SubResource {
if v == nil {
return nil
}
- return v.CustomBlockResponseBody
- }).(pulumi.StringPtrOutput)
+ return v.Ids
+ }).(SubResourceArrayOutput)
}
-// If the action type is block, customer can override the response status code.
-func (o PolicySettingsPtrOutput) CustomBlockResponseStatusCode() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PolicySettings) *int {
+// The list of labels.
+func (o PropagatedRouteTablePtrOutput) Labels() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PropagatedRouteTable) []string {
if v == nil {
return nil
}
- return v.CustomBlockResponseStatusCode
- }).(pulumi.IntPtrOutput)
+ return v.Labels
+ }).(pulumi.StringArrayOutput)
}
-// Whether allow WAF to enforce file upload limits.
-func (o PolicySettingsPtrOutput) FileUploadEnforcement() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *PolicySettings) *bool {
- if v == nil {
- return nil
- }
- return v.FileUploadEnforcement
- }).(pulumi.BoolPtrOutput)
+// The list of RouteTables to advertise the routes to.
+type PropagatedRouteTableResponse struct {
+ // The list of resource ids of all the RouteTables.
+ Ids []SubResourceResponse `pulumi:"ids"`
+ // The list of labels.
+ Labels []string `pulumi:"labels"`
}
-// Maximum file upload size in Mb for WAF.
-func (o PolicySettingsPtrOutput) FileUploadLimitInMb() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PolicySettings) *int {
- if v == nil {
- return nil
- }
- return v.FileUploadLimitInMb
- }).(pulumi.IntPtrOutput)
+// The list of RouteTables to advertise the routes to.
+type PropagatedRouteTableResponseOutput struct{ *pulumi.OutputState }
+
+func (PropagatedRouteTableResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PropagatedRouteTableResponse)(nil)).Elem()
}
-// Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.
-func (o PolicySettingsPtrOutput) JsChallengeCookieExpirationInMins() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PolicySettings) *int {
- if v == nil {
- return nil
- }
- return v.JsChallengeCookieExpirationInMins
- }).(pulumi.IntPtrOutput)
+func (o PropagatedRouteTableResponseOutput) ToPropagatedRouteTableResponseOutput() PropagatedRouteTableResponseOutput {
+ return o
}
-// To scrub sensitive log fields
-func (o PolicySettingsPtrOutput) LogScrubbing() PolicySettingsLogScrubbingPtrOutput {
- return o.ApplyT(func(v *PolicySettings) *PolicySettingsLogScrubbing {
- if v == nil {
- return nil
- }
- return v.LogScrubbing
- }).(PolicySettingsLogScrubbingPtrOutput)
+func (o PropagatedRouteTableResponseOutput) ToPropagatedRouteTableResponseOutputWithContext(ctx context.Context) PropagatedRouteTableResponseOutput {
+ return o
}
-// Maximum request body size in Kb for WAF.
-func (o PolicySettingsPtrOutput) MaxRequestBodySizeInKb() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PolicySettings) *int {
- if v == nil {
- return nil
- }
- return v.MaxRequestBodySizeInKb
- }).(pulumi.IntPtrOutput)
+// The list of resource ids of all the RouteTables.
+func (o PropagatedRouteTableResponseOutput) Ids() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v PropagatedRouteTableResponse) []SubResourceResponse { return v.Ids }).(SubResourceResponseArrayOutput)
}
-// The mode of the policy.
-func (o PolicySettingsPtrOutput) Mode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PolicySettings) *string {
- if v == nil {
- return nil
- }
- return v.Mode
- }).(pulumi.StringPtrOutput)
+// The list of labels.
+func (o PropagatedRouteTableResponseOutput) Labels() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PropagatedRouteTableResponse) []string { return v.Labels }).(pulumi.StringArrayOutput)
}
-// Whether to allow WAF to check request Body.
-func (o PolicySettingsPtrOutput) RequestBodyCheck() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *PolicySettings) *bool {
- if v == nil {
- return nil
- }
- return v.RequestBodyCheck
- }).(pulumi.BoolPtrOutput)
+type PropagatedRouteTableResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (PropagatedRouteTableResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PropagatedRouteTableResponse)(nil)).Elem()
}
-// Whether allow WAF to enforce request body limits.
-func (o PolicySettingsPtrOutput) RequestBodyEnforcement() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *PolicySettings) *bool {
- if v == nil {
- return nil
+func (o PropagatedRouteTableResponsePtrOutput) ToPropagatedRouteTableResponsePtrOutput() PropagatedRouteTableResponsePtrOutput {
+ return o
+}
+
+func (o PropagatedRouteTableResponsePtrOutput) ToPropagatedRouteTableResponsePtrOutputWithContext(ctx context.Context) PropagatedRouteTableResponsePtrOutput {
+ return o
+}
+
+func (o PropagatedRouteTableResponsePtrOutput) Elem() PropagatedRouteTableResponseOutput {
+ return o.ApplyT(func(v *PropagatedRouteTableResponse) PropagatedRouteTableResponse {
+ if v != nil {
+ return *v
}
- return v.RequestBodyEnforcement
- }).(pulumi.BoolPtrOutput)
+ var ret PropagatedRouteTableResponse
+ return ret
+ }).(PropagatedRouteTableResponseOutput)
}
-// Max inspection limit in KB for request body inspection for WAF.
-func (o PolicySettingsPtrOutput) RequestBodyInspectLimitInKB() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PolicySettings) *int {
+// The list of resource ids of all the RouteTables.
+func (o PropagatedRouteTableResponsePtrOutput) Ids() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *PropagatedRouteTableResponse) []SubResourceResponse {
if v == nil {
return nil
}
- return v.RequestBodyInspectLimitInKB
- }).(pulumi.IntPtrOutput)
+ return v.Ids
+ }).(SubResourceResponseArrayOutput)
}
-// The state of the policy.
-func (o PolicySettingsPtrOutput) State() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PolicySettings) *string {
+// The list of labels.
+func (o PropagatedRouteTableResponsePtrOutput) Labels() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PropagatedRouteTableResponse) []string {
if v == nil {
return nil
}
- return v.State
- }).(pulumi.StringPtrOutput)
+ return v.Labels
+ }).(pulumi.StringArrayOutput)
}
-// To scrub sensitive log fields
-type PolicySettingsLogScrubbing struct {
- // The rules that are applied to the logs for scrubbing.
- ScrubbingRules []WebApplicationFirewallScrubbingRules `pulumi:"scrubbingRules"`
- // State of the log scrubbing config. Default value is Enabled.
- State *string `pulumi:"state"`
+// Public IP address resource.
+type PublicIPAddressType struct {
+ // The DDoS protection custom policy associated with the public IP address.
+ DdosSettings *DdosSettings `pulumi:"ddosSettings"`
+ // Specify what happens to the public IP address when the VM using it is deleted
+ DeleteOption *string `pulumi:"deleteOption"`
+ // The FQDN of the DNS record associated with the public IP address.
+ DnsSettings *PublicIPAddressDnsSettings `pulumi:"dnsSettings"`
+ // The extended location of the public ip address.
+ ExtendedLocation *ExtendedLocation `pulumi:"extendedLocation"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The idle timeout of the public IP address.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // The IP address associated with the public IP address resource.
+ IpAddress *string `pulumi:"ipAddress"`
+ // The list of tags associated with the public IP address.
+ IpTags []IpTag `pulumi:"ipTags"`
+ // The linked public IP address of the public IP address resource.
+ LinkedPublicIPAddress *PublicIPAddressType `pulumi:"linkedPublicIPAddress"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Migration phase of Public IP Address.
+ MigrationPhase *string `pulumi:"migrationPhase"`
+ // The NatGateway for the Public IP address.
+ NatGateway *NatGatewayType `pulumi:"natGateway"`
+ // The public IP address version.
+ PublicIPAddressVersion *string `pulumi:"publicIPAddressVersion"`
+ // The public IP address allocation method.
+ PublicIPAllocationMethod *string `pulumi:"publicIPAllocationMethod"`
+ // The Public IP Prefix this Public IP Address should be allocated from.
+ PublicIPPrefix *SubResource `pulumi:"publicIPPrefix"`
+ // The service public IP address of the public IP address resource.
+ ServicePublicIPAddress *PublicIPAddressType `pulumi:"servicePublicIPAddress"`
+ // The public IP address SKU.
+ Sku *PublicIPAddressSku `pulumi:"sku"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // A list of availability zones denoting the IP allocated for the resource needs to come from.
+ Zones []string `pulumi:"zones"`
}
-// PolicySettingsLogScrubbingInput is an input type that accepts PolicySettingsLogScrubbingArgs and PolicySettingsLogScrubbingOutput values.
-// You can construct a concrete instance of `PolicySettingsLogScrubbingInput` via:
+// PublicIPAddressTypeInput is an input type that accepts PublicIPAddressTypeArgs and PublicIPAddressTypeOutput values.
+// You can construct a concrete instance of `PublicIPAddressTypeInput` via:
//
-// PolicySettingsLogScrubbingArgs{...}
-type PolicySettingsLogScrubbingInput interface {
+// PublicIPAddressTypeArgs{...}
+type PublicIPAddressTypeInput interface {
pulumi.Input
- ToPolicySettingsLogScrubbingOutput() PolicySettingsLogScrubbingOutput
- ToPolicySettingsLogScrubbingOutputWithContext(context.Context) PolicySettingsLogScrubbingOutput
+ ToPublicIPAddressTypeOutput() PublicIPAddressTypeOutput
+ ToPublicIPAddressTypeOutputWithContext(context.Context) PublicIPAddressTypeOutput
}
-// To scrub sensitive log fields
-type PolicySettingsLogScrubbingArgs struct {
- // The rules that are applied to the logs for scrubbing.
- ScrubbingRules WebApplicationFirewallScrubbingRulesArrayInput `pulumi:"scrubbingRules"`
- // State of the log scrubbing config. Default value is Enabled.
- State pulumi.StringPtrInput `pulumi:"state"`
+// Public IP address resource.
+type PublicIPAddressTypeArgs struct {
+ // The DDoS protection custom policy associated with the public IP address.
+ DdosSettings DdosSettingsPtrInput `pulumi:"ddosSettings"`
+ // Specify what happens to the public IP address when the VM using it is deleted
+ DeleteOption pulumi.StringPtrInput `pulumi:"deleteOption"`
+ // The FQDN of the DNS record associated with the public IP address.
+ DnsSettings PublicIPAddressDnsSettingsPtrInput `pulumi:"dnsSettings"`
+ // The extended location of the public ip address.
+ ExtendedLocation ExtendedLocationPtrInput `pulumi:"extendedLocation"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The idle timeout of the public IP address.
+ IdleTimeoutInMinutes pulumi.IntPtrInput `pulumi:"idleTimeoutInMinutes"`
+ // The IP address associated with the public IP address resource.
+ IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
+ // The list of tags associated with the public IP address.
+ IpTags IpTagArrayInput `pulumi:"ipTags"`
+ // The linked public IP address of the public IP address resource.
+ LinkedPublicIPAddress PublicIPAddressTypePtrInput `pulumi:"linkedPublicIPAddress"`
+ // Resource location.
+ Location pulumi.StringPtrInput `pulumi:"location"`
+ // Migration phase of Public IP Address.
+ MigrationPhase pulumi.StringPtrInput `pulumi:"migrationPhase"`
+ // The NatGateway for the Public IP address.
+ NatGateway NatGatewayTypePtrInput `pulumi:"natGateway"`
+ // The public IP address version.
+ PublicIPAddressVersion pulumi.StringPtrInput `pulumi:"publicIPAddressVersion"`
+ // The public IP address allocation method.
+ PublicIPAllocationMethod pulumi.StringPtrInput `pulumi:"publicIPAllocationMethod"`
+ // The Public IP Prefix this Public IP Address should be allocated from.
+ PublicIPPrefix SubResourcePtrInput `pulumi:"publicIPPrefix"`
+ // The service public IP address of the public IP address resource.
+ ServicePublicIPAddress PublicIPAddressTypePtrInput `pulumi:"servicePublicIPAddress"`
+ // The public IP address SKU.
+ Sku PublicIPAddressSkuPtrInput `pulumi:"sku"`
+ // Resource tags.
+ Tags pulumi.StringMapInput `pulumi:"tags"`
+ // A list of availability zones denoting the IP allocated for the resource needs to come from.
+ Zones pulumi.StringArrayInput `pulumi:"zones"`
}
-func (PolicySettingsLogScrubbingArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PolicySettingsLogScrubbing)(nil)).Elem()
+func (PublicIPAddressTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPAddressType)(nil)).Elem()
}
-func (i PolicySettingsLogScrubbingArgs) ToPolicySettingsLogScrubbingOutput() PolicySettingsLogScrubbingOutput {
- return i.ToPolicySettingsLogScrubbingOutputWithContext(context.Background())
+func (i PublicIPAddressTypeArgs) ToPublicIPAddressTypeOutput() PublicIPAddressTypeOutput {
+ return i.ToPublicIPAddressTypeOutputWithContext(context.Background())
}
-func (i PolicySettingsLogScrubbingArgs) ToPolicySettingsLogScrubbingOutputWithContext(ctx context.Context) PolicySettingsLogScrubbingOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PolicySettingsLogScrubbingOutput)
+func (i PublicIPAddressTypeArgs) ToPublicIPAddressTypeOutputWithContext(ctx context.Context) PublicIPAddressTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressTypeOutput)
}
-func (i PolicySettingsLogScrubbingArgs) ToPolicySettingsLogScrubbingPtrOutput() PolicySettingsLogScrubbingPtrOutput {
- return i.ToPolicySettingsLogScrubbingPtrOutputWithContext(context.Background())
+func (i PublicIPAddressTypeArgs) ToPublicIPAddressTypePtrOutput() PublicIPAddressTypePtrOutput {
+ return i.ToPublicIPAddressTypePtrOutputWithContext(context.Background())
}
-func (i PolicySettingsLogScrubbingArgs) ToPolicySettingsLogScrubbingPtrOutputWithContext(ctx context.Context) PolicySettingsLogScrubbingPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PolicySettingsLogScrubbingOutput).ToPolicySettingsLogScrubbingPtrOutputWithContext(ctx)
+func (i PublicIPAddressTypeArgs) ToPublicIPAddressTypePtrOutputWithContext(ctx context.Context) PublicIPAddressTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressTypeOutput).ToPublicIPAddressTypePtrOutputWithContext(ctx)
}
-// PolicySettingsLogScrubbingPtrInput is an input type that accepts PolicySettingsLogScrubbingArgs, PolicySettingsLogScrubbingPtr and PolicySettingsLogScrubbingPtrOutput values.
-// You can construct a concrete instance of `PolicySettingsLogScrubbingPtrInput` via:
+// PublicIPAddressTypePtrInput is an input type that accepts PublicIPAddressTypeArgs, PublicIPAddressTypePtr and PublicIPAddressTypePtrOutput values.
+// You can construct a concrete instance of `PublicIPAddressTypePtrInput` via:
//
-// PolicySettingsLogScrubbingArgs{...}
+// PublicIPAddressTypeArgs{...}
//
// or:
//
// nil
-type PolicySettingsLogScrubbingPtrInput interface {
+type PublicIPAddressTypePtrInput interface {
pulumi.Input
- ToPolicySettingsLogScrubbingPtrOutput() PolicySettingsLogScrubbingPtrOutput
- ToPolicySettingsLogScrubbingPtrOutputWithContext(context.Context) PolicySettingsLogScrubbingPtrOutput
+ ToPublicIPAddressTypePtrOutput() PublicIPAddressTypePtrOutput
+ ToPublicIPAddressTypePtrOutputWithContext(context.Context) PublicIPAddressTypePtrOutput
}
-type policySettingsLogScrubbingPtrType PolicySettingsLogScrubbingArgs
+type publicIPAddressTypePtrType PublicIPAddressTypeArgs
-func PolicySettingsLogScrubbingPtr(v *PolicySettingsLogScrubbingArgs) PolicySettingsLogScrubbingPtrInput {
- return (*policySettingsLogScrubbingPtrType)(v)
+func PublicIPAddressTypePtr(v *PublicIPAddressTypeArgs) PublicIPAddressTypePtrInput {
+ return (*publicIPAddressTypePtrType)(v)
}
-func (*policySettingsLogScrubbingPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PolicySettingsLogScrubbing)(nil)).Elem()
+func (*publicIPAddressTypePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPAddressType)(nil)).Elem()
}
-func (i *policySettingsLogScrubbingPtrType) ToPolicySettingsLogScrubbingPtrOutput() PolicySettingsLogScrubbingPtrOutput {
- return i.ToPolicySettingsLogScrubbingPtrOutputWithContext(context.Background())
+func (i *publicIPAddressTypePtrType) ToPublicIPAddressTypePtrOutput() PublicIPAddressTypePtrOutput {
+ return i.ToPublicIPAddressTypePtrOutputWithContext(context.Background())
}
-func (i *policySettingsLogScrubbingPtrType) ToPolicySettingsLogScrubbingPtrOutputWithContext(ctx context.Context) PolicySettingsLogScrubbingPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PolicySettingsLogScrubbingPtrOutput)
+func (i *publicIPAddressTypePtrType) ToPublicIPAddressTypePtrOutputWithContext(ctx context.Context) PublicIPAddressTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressTypePtrOutput)
}
-// To scrub sensitive log fields
-type PolicySettingsLogScrubbingOutput struct{ *pulumi.OutputState }
+// Public IP address resource.
+type PublicIPAddressTypeOutput struct{ *pulumi.OutputState }
-func (PolicySettingsLogScrubbingOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PolicySettingsLogScrubbing)(nil)).Elem()
+func (PublicIPAddressTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPAddressType)(nil)).Elem()
}
-func (o PolicySettingsLogScrubbingOutput) ToPolicySettingsLogScrubbingOutput() PolicySettingsLogScrubbingOutput {
+func (o PublicIPAddressTypeOutput) ToPublicIPAddressTypeOutput() PublicIPAddressTypeOutput {
return o
}
-func (o PolicySettingsLogScrubbingOutput) ToPolicySettingsLogScrubbingOutputWithContext(ctx context.Context) PolicySettingsLogScrubbingOutput {
+func (o PublicIPAddressTypeOutput) ToPublicIPAddressTypeOutputWithContext(ctx context.Context) PublicIPAddressTypeOutput {
return o
}
-func (o PolicySettingsLogScrubbingOutput) ToPolicySettingsLogScrubbingPtrOutput() PolicySettingsLogScrubbingPtrOutput {
- return o.ToPolicySettingsLogScrubbingPtrOutputWithContext(context.Background())
+func (o PublicIPAddressTypeOutput) ToPublicIPAddressTypePtrOutput() PublicIPAddressTypePtrOutput {
+ return o.ToPublicIPAddressTypePtrOutputWithContext(context.Background())
}
-func (o PolicySettingsLogScrubbingOutput) ToPolicySettingsLogScrubbingPtrOutputWithContext(ctx context.Context) PolicySettingsLogScrubbingPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PolicySettingsLogScrubbing) *PolicySettingsLogScrubbing {
+func (o PublicIPAddressTypeOutput) ToPublicIPAddressTypePtrOutputWithContext(ctx context.Context) PublicIPAddressTypePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v PublicIPAddressType) *PublicIPAddressType {
return &v
- }).(PolicySettingsLogScrubbingPtrOutput)
+ }).(PublicIPAddressTypePtrOutput)
}
-// The rules that are applied to the logs for scrubbing.
-func (o PolicySettingsLogScrubbingOutput) ScrubbingRules() WebApplicationFirewallScrubbingRulesArrayOutput {
- return o.ApplyT(func(v PolicySettingsLogScrubbing) []WebApplicationFirewallScrubbingRules { return v.ScrubbingRules }).(WebApplicationFirewallScrubbingRulesArrayOutput)
+// The DDoS protection custom policy associated with the public IP address.
+func (o PublicIPAddressTypeOutput) DdosSettings() DdosSettingsPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressType) *DdosSettings { return v.DdosSettings }).(DdosSettingsPtrOutput)
}
-// State of the log scrubbing config. Default value is Enabled.
-func (o PolicySettingsLogScrubbingOutput) State() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PolicySettingsLogScrubbing) *string { return v.State }).(pulumi.StringPtrOutput)
+// Specify what happens to the public IP address when the VM using it is deleted
+func (o PublicIPAddressTypeOutput) DeleteOption() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressType) *string { return v.DeleteOption }).(pulumi.StringPtrOutput)
}
-type PolicySettingsLogScrubbingPtrOutput struct{ *pulumi.OutputState }
+// The FQDN of the DNS record associated with the public IP address.
+func (o PublicIPAddressTypeOutput) DnsSettings() PublicIPAddressDnsSettingsPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressType) *PublicIPAddressDnsSettings { return v.DnsSettings }).(PublicIPAddressDnsSettingsPtrOutput)
+}
-func (PolicySettingsLogScrubbingPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PolicySettingsLogScrubbing)(nil)).Elem()
+// The extended location of the public ip address.
+func (o PublicIPAddressTypeOutput) ExtendedLocation() ExtendedLocationPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressType) *ExtendedLocation { return v.ExtendedLocation }).(ExtendedLocationPtrOutput)
}
-func (o PolicySettingsLogScrubbingPtrOutput) ToPolicySettingsLogScrubbingPtrOutput() PolicySettingsLogScrubbingPtrOutput {
- return o
+// Resource ID.
+func (o PublicIPAddressTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o PolicySettingsLogScrubbingPtrOutput) ToPolicySettingsLogScrubbingPtrOutputWithContext(ctx context.Context) PolicySettingsLogScrubbingPtrOutput {
- return o
+// The idle timeout of the public IP address.
+func (o PublicIPAddressTypeOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressType) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-func (o PolicySettingsLogScrubbingPtrOutput) Elem() PolicySettingsLogScrubbingOutput {
- return o.ApplyT(func(v *PolicySettingsLogScrubbing) PolicySettingsLogScrubbing {
- if v != nil {
- return *v
- }
- var ret PolicySettingsLogScrubbing
- return ret
- }).(PolicySettingsLogScrubbingOutput)
+// The IP address associated with the public IP address resource.
+func (o PublicIPAddressTypeOutput) IpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressType) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
}
-// The rules that are applied to the logs for scrubbing.
-func (o PolicySettingsLogScrubbingPtrOutput) ScrubbingRules() WebApplicationFirewallScrubbingRulesArrayOutput {
- return o.ApplyT(func(v *PolicySettingsLogScrubbing) []WebApplicationFirewallScrubbingRules {
- if v == nil {
- return nil
- }
- return v.ScrubbingRules
- }).(WebApplicationFirewallScrubbingRulesArrayOutput)
+// The list of tags associated with the public IP address.
+func (o PublicIPAddressTypeOutput) IpTags() IpTagArrayOutput {
+ return o.ApplyT(func(v PublicIPAddressType) []IpTag { return v.IpTags }).(IpTagArrayOutput)
}
-// State of the log scrubbing config. Default value is Enabled.
-func (o PolicySettingsLogScrubbingPtrOutput) State() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PolicySettingsLogScrubbing) *string {
- if v == nil {
- return nil
- }
- return v.State
- }).(pulumi.StringPtrOutput)
+// The linked public IP address of the public IP address resource.
+func (o PublicIPAddressTypeOutput) LinkedPublicIPAddress() PublicIPAddressTypePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressType) *PublicIPAddressType { return v.LinkedPublicIPAddress }).(PublicIPAddressTypePtrOutput)
}
-// Defines contents of a web application firewall global configuration.
-type PolicySettingsResponse struct {
- // If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- CustomBlockResponseBody *string `pulumi:"customBlockResponseBody"`
- // If the action type is block, customer can override the response status code.
- CustomBlockResponseStatusCode *int `pulumi:"customBlockResponseStatusCode"`
- // Whether allow WAF to enforce file upload limits.
- FileUploadEnforcement *bool `pulumi:"fileUploadEnforcement"`
- // Maximum file upload size in Mb for WAF.
- FileUploadLimitInMb *int `pulumi:"fileUploadLimitInMb"`
- // Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.
- JsChallengeCookieExpirationInMins *int `pulumi:"jsChallengeCookieExpirationInMins"`
- // To scrub sensitive log fields
- LogScrubbing *PolicySettingsResponseLogScrubbing `pulumi:"logScrubbing"`
- // Maximum request body size in Kb for WAF.
- MaxRequestBodySizeInKb *int `pulumi:"maxRequestBodySizeInKb"`
- // The mode of the policy.
- Mode *string `pulumi:"mode"`
- // Whether to allow WAF to check request Body.
- RequestBodyCheck *bool `pulumi:"requestBodyCheck"`
- // Whether allow WAF to enforce request body limits.
- RequestBodyEnforcement *bool `pulumi:"requestBodyEnforcement"`
- // Max inspection limit in KB for request body inspection for WAF.
- RequestBodyInspectLimitInKB *int `pulumi:"requestBodyInspectLimitInKB"`
- // The state of the policy.
- State *string `pulumi:"state"`
+// Resource location.
+func (o PublicIPAddressTypeOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressType) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// Defaults sets the appropriate defaults for PolicySettingsResponse
-func (val *PolicySettingsResponse) Defaults() *PolicySettingsResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.FileUploadEnforcement == nil {
- fileUploadEnforcement_ := true
- tmp.FileUploadEnforcement = &fileUploadEnforcement_
- }
- if tmp.RequestBodyEnforcement == nil {
- requestBodyEnforcement_ := true
- tmp.RequestBodyEnforcement = &requestBodyEnforcement_
- }
- return &tmp
-}
-
-// Defines contents of a web application firewall global configuration.
-type PolicySettingsResponseOutput struct{ *pulumi.OutputState }
-
-func (PolicySettingsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PolicySettingsResponse)(nil)).Elem()
-}
-
-func (o PolicySettingsResponseOutput) ToPolicySettingsResponseOutput() PolicySettingsResponseOutput {
- return o
-}
-
-func (o PolicySettingsResponseOutput) ToPolicySettingsResponseOutputWithContext(ctx context.Context) PolicySettingsResponseOutput {
- return o
-}
-
-// If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
-func (o PolicySettingsResponseOutput) CustomBlockResponseBody() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PolicySettingsResponse) *string { return v.CustomBlockResponseBody }).(pulumi.StringPtrOutput)
-}
-
-// If the action type is block, customer can override the response status code.
-func (o PolicySettingsResponseOutput) CustomBlockResponseStatusCode() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PolicySettingsResponse) *int { return v.CustomBlockResponseStatusCode }).(pulumi.IntPtrOutput)
-}
-
-// Whether allow WAF to enforce file upload limits.
-func (o PolicySettingsResponseOutput) FileUploadEnforcement() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v PolicySettingsResponse) *bool { return v.FileUploadEnforcement }).(pulumi.BoolPtrOutput)
-}
-
-// Maximum file upload size in Mb for WAF.
-func (o PolicySettingsResponseOutput) FileUploadLimitInMb() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PolicySettingsResponse) *int { return v.FileUploadLimitInMb }).(pulumi.IntPtrOutput)
+// Migration phase of Public IP Address.
+func (o PublicIPAddressTypeOutput) MigrationPhase() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressType) *string { return v.MigrationPhase }).(pulumi.StringPtrOutput)
}
-// Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.
-func (o PolicySettingsResponseOutput) JsChallengeCookieExpirationInMins() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PolicySettingsResponse) *int { return v.JsChallengeCookieExpirationInMins }).(pulumi.IntPtrOutput)
+// The NatGateway for the Public IP address.
+func (o PublicIPAddressTypeOutput) NatGateway() NatGatewayTypePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressType) *NatGatewayType { return v.NatGateway }).(NatGatewayTypePtrOutput)
}
-// To scrub sensitive log fields
-func (o PolicySettingsResponseOutput) LogScrubbing() PolicySettingsResponseLogScrubbingPtrOutput {
- return o.ApplyT(func(v PolicySettingsResponse) *PolicySettingsResponseLogScrubbing { return v.LogScrubbing }).(PolicySettingsResponseLogScrubbingPtrOutput)
+// The public IP address version.
+func (o PublicIPAddressTypeOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressType) *string { return v.PublicIPAddressVersion }).(pulumi.StringPtrOutput)
}
-// Maximum request body size in Kb for WAF.
-func (o PolicySettingsResponseOutput) MaxRequestBodySizeInKb() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PolicySettingsResponse) *int { return v.MaxRequestBodySizeInKb }).(pulumi.IntPtrOutput)
+// The public IP address allocation method.
+func (o PublicIPAddressTypeOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressType) *string { return v.PublicIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-// The mode of the policy.
-func (o PolicySettingsResponseOutput) Mode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PolicySettingsResponse) *string { return v.Mode }).(pulumi.StringPtrOutput)
+// The Public IP Prefix this Public IP Address should be allocated from.
+func (o PublicIPAddressTypeOutput) PublicIPPrefix() SubResourcePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressType) *SubResource { return v.PublicIPPrefix }).(SubResourcePtrOutput)
}
-// Whether to allow WAF to check request Body.
-func (o PolicySettingsResponseOutput) RequestBodyCheck() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v PolicySettingsResponse) *bool { return v.RequestBodyCheck }).(pulumi.BoolPtrOutput)
+// The service public IP address of the public IP address resource.
+func (o PublicIPAddressTypeOutput) ServicePublicIPAddress() PublicIPAddressTypePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressType) *PublicIPAddressType { return v.ServicePublicIPAddress }).(PublicIPAddressTypePtrOutput)
}
-// Whether allow WAF to enforce request body limits.
-func (o PolicySettingsResponseOutput) RequestBodyEnforcement() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v PolicySettingsResponse) *bool { return v.RequestBodyEnforcement }).(pulumi.BoolPtrOutput)
+// The public IP address SKU.
+func (o PublicIPAddressTypeOutput) Sku() PublicIPAddressSkuPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressType) *PublicIPAddressSku { return v.Sku }).(PublicIPAddressSkuPtrOutput)
}
-// Max inspection limit in KB for request body inspection for WAF.
-func (o PolicySettingsResponseOutput) RequestBodyInspectLimitInKB() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PolicySettingsResponse) *int { return v.RequestBodyInspectLimitInKB }).(pulumi.IntPtrOutput)
+// Resource tags.
+func (o PublicIPAddressTypeOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v PublicIPAddressType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// The state of the policy.
-func (o PolicySettingsResponseOutput) State() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PolicySettingsResponse) *string { return v.State }).(pulumi.StringPtrOutput)
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o PublicIPAddressTypeOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PublicIPAddressType) []string { return v.Zones }).(pulumi.StringArrayOutput)
}
-type PolicySettingsResponsePtrOutput struct{ *pulumi.OutputState }
+type PublicIPAddressTypePtrOutput struct{ *pulumi.OutputState }
-func (PolicySettingsResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PolicySettingsResponse)(nil)).Elem()
+func (PublicIPAddressTypePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPAddressType)(nil)).Elem()
}
-func (o PolicySettingsResponsePtrOutput) ToPolicySettingsResponsePtrOutput() PolicySettingsResponsePtrOutput {
+func (o PublicIPAddressTypePtrOutput) ToPublicIPAddressTypePtrOutput() PublicIPAddressTypePtrOutput {
return o
}
-func (o PolicySettingsResponsePtrOutput) ToPolicySettingsResponsePtrOutputWithContext(ctx context.Context) PolicySettingsResponsePtrOutput {
+func (o PublicIPAddressTypePtrOutput) ToPublicIPAddressTypePtrOutputWithContext(ctx context.Context) PublicIPAddressTypePtrOutput {
return o
}
-func (o PolicySettingsResponsePtrOutput) Elem() PolicySettingsResponseOutput {
- return o.ApplyT(func(v *PolicySettingsResponse) PolicySettingsResponse {
+func (o PublicIPAddressTypePtrOutput) Elem() PublicIPAddressTypeOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) PublicIPAddressType {
if v != nil {
return *v
}
- var ret PolicySettingsResponse
+ var ret PublicIPAddressType
return ret
- }).(PolicySettingsResponseOutput)
+ }).(PublicIPAddressTypeOutput)
}
-// If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
-func (o PolicySettingsResponsePtrOutput) CustomBlockResponseBody() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PolicySettingsResponse) *string {
+// The DDoS protection custom policy associated with the public IP address.
+func (o PublicIPAddressTypePtrOutput) DdosSettings() DdosSettingsPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) *DdosSettings {
if v == nil {
return nil
}
- return v.CustomBlockResponseBody
+ return v.DdosSettings
+ }).(DdosSettingsPtrOutput)
+}
+
+// Specify what happens to the public IP address when the VM using it is deleted
+func (o PublicIPAddressTypePtrOutput) DeleteOption() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DeleteOption
}).(pulumi.StringPtrOutput)
}
-// If the action type is block, customer can override the response status code.
-func (o PolicySettingsResponsePtrOutput) CustomBlockResponseStatusCode() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PolicySettingsResponse) *int {
+// The FQDN of the DNS record associated with the public IP address.
+func (o PublicIPAddressTypePtrOutput) DnsSettings() PublicIPAddressDnsSettingsPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) *PublicIPAddressDnsSettings {
if v == nil {
return nil
}
- return v.CustomBlockResponseStatusCode
- }).(pulumi.IntPtrOutput)
+ return v.DnsSettings
+ }).(PublicIPAddressDnsSettingsPtrOutput)
}
-// Whether allow WAF to enforce file upload limits.
-func (o PolicySettingsResponsePtrOutput) FileUploadEnforcement() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *PolicySettingsResponse) *bool {
+// The extended location of the public ip address.
+func (o PublicIPAddressTypePtrOutput) ExtendedLocation() ExtendedLocationPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) *ExtendedLocation {
if v == nil {
return nil
}
- return v.FileUploadEnforcement
- }).(pulumi.BoolPtrOutput)
+ return v.ExtendedLocation
+ }).(ExtendedLocationPtrOutput)
}
-// Maximum file upload size in Mb for WAF.
-func (o PolicySettingsResponsePtrOutput) FileUploadLimitInMb() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PolicySettingsResponse) *int {
+// Resource ID.
+func (o PublicIPAddressTypePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) *string {
if v == nil {
return nil
}
- return v.FileUploadLimitInMb
- }).(pulumi.IntPtrOutput)
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.
-func (o PolicySettingsResponsePtrOutput) JsChallengeCookieExpirationInMins() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PolicySettingsResponse) *int {
+// The idle timeout of the public IP address.
+func (o PublicIPAddressTypePtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) *int {
if v == nil {
return nil
}
- return v.JsChallengeCookieExpirationInMins
+ return v.IdleTimeoutInMinutes
}).(pulumi.IntPtrOutput)
}
-// To scrub sensitive log fields
-func (o PolicySettingsResponsePtrOutput) LogScrubbing() PolicySettingsResponseLogScrubbingPtrOutput {
- return o.ApplyT(func(v *PolicySettingsResponse) *PolicySettingsResponseLogScrubbing {
+// The IP address associated with the public IP address resource.
+func (o PublicIPAddressTypePtrOutput) IpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) *string {
if v == nil {
return nil
}
- return v.LogScrubbing
- }).(PolicySettingsResponseLogScrubbingPtrOutput)
+ return v.IpAddress
+ }).(pulumi.StringPtrOutput)
}
-// Maximum request body size in Kb for WAF.
-func (o PolicySettingsResponsePtrOutput) MaxRequestBodySizeInKb() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PolicySettingsResponse) *int {
+// The list of tags associated with the public IP address.
+func (o PublicIPAddressTypePtrOutput) IpTags() IpTagArrayOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) []IpTag {
if v == nil {
return nil
}
- return v.MaxRequestBodySizeInKb
- }).(pulumi.IntPtrOutput)
+ return v.IpTags
+ }).(IpTagArrayOutput)
}
-// The mode of the policy.
-func (o PolicySettingsResponsePtrOutput) Mode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PolicySettingsResponse) *string {
+// The linked public IP address of the public IP address resource.
+func (o PublicIPAddressTypePtrOutput) LinkedPublicIPAddress() PublicIPAddressTypePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) *PublicIPAddressType {
if v == nil {
return nil
}
- return v.Mode
- }).(pulumi.StringPtrOutput)
+ return v.LinkedPublicIPAddress
+ }).(PublicIPAddressTypePtrOutput)
}
-// Whether to allow WAF to check request Body.
-func (o PolicySettingsResponsePtrOutput) RequestBodyCheck() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *PolicySettingsResponse) *bool {
+// Resource location.
+func (o PublicIPAddressTypePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) *string {
if v == nil {
return nil
}
- return v.RequestBodyCheck
- }).(pulumi.BoolPtrOutput)
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-// Whether allow WAF to enforce request body limits.
-func (o PolicySettingsResponsePtrOutput) RequestBodyEnforcement() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *PolicySettingsResponse) *bool {
+// Migration phase of Public IP Address.
+func (o PublicIPAddressTypePtrOutput) MigrationPhase() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) *string {
if v == nil {
return nil
}
- return v.RequestBodyEnforcement
- }).(pulumi.BoolPtrOutput)
+ return v.MigrationPhase
+ }).(pulumi.StringPtrOutput)
}
-// Max inspection limit in KB for request body inspection for WAF.
-func (o PolicySettingsResponsePtrOutput) RequestBodyInspectLimitInKB() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PolicySettingsResponse) *int {
+// The NatGateway for the Public IP address.
+func (o PublicIPAddressTypePtrOutput) NatGateway() NatGatewayTypePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) *NatGatewayType {
if v == nil {
return nil
}
- return v.RequestBodyInspectLimitInKB
- }).(pulumi.IntPtrOutput)
+ return v.NatGateway
+ }).(NatGatewayTypePtrOutput)
}
-// The state of the policy.
-func (o PolicySettingsResponsePtrOutput) State() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PolicySettingsResponse) *string {
+// The public IP address version.
+func (o PublicIPAddressTypePtrOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) *string {
if v == nil {
return nil
}
- return v.State
+ return v.PublicIPAddressVersion
}).(pulumi.StringPtrOutput)
}
-// To scrub sensitive log fields
-type PolicySettingsResponseLogScrubbing struct {
- // The rules that are applied to the logs for scrubbing.
- ScrubbingRules []WebApplicationFirewallScrubbingRulesResponse `pulumi:"scrubbingRules"`
- // State of the log scrubbing config. Default value is Enabled.
- State *string `pulumi:"state"`
-}
-
-// To scrub sensitive log fields
-type PolicySettingsResponseLogScrubbingOutput struct{ *pulumi.OutputState }
-
-func (PolicySettingsResponseLogScrubbingOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PolicySettingsResponseLogScrubbing)(nil)).Elem()
-}
-
-func (o PolicySettingsResponseLogScrubbingOutput) ToPolicySettingsResponseLogScrubbingOutput() PolicySettingsResponseLogScrubbingOutput {
- return o
-}
-
-func (o PolicySettingsResponseLogScrubbingOutput) ToPolicySettingsResponseLogScrubbingOutputWithContext(ctx context.Context) PolicySettingsResponseLogScrubbingOutput {
- return o
-}
-
-// The rules that are applied to the logs for scrubbing.
-func (o PolicySettingsResponseLogScrubbingOutput) ScrubbingRules() WebApplicationFirewallScrubbingRulesResponseArrayOutput {
- return o.ApplyT(func(v PolicySettingsResponseLogScrubbing) []WebApplicationFirewallScrubbingRulesResponse {
- return v.ScrubbingRules
- }).(WebApplicationFirewallScrubbingRulesResponseArrayOutput)
-}
-
-// State of the log scrubbing config. Default value is Enabled.
-func (o PolicySettingsResponseLogScrubbingOutput) State() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PolicySettingsResponseLogScrubbing) *string { return v.State }).(pulumi.StringPtrOutput)
-}
-
-type PolicySettingsResponseLogScrubbingPtrOutput struct{ *pulumi.OutputState }
-
-func (PolicySettingsResponseLogScrubbingPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PolicySettingsResponseLogScrubbing)(nil)).Elem()
+// The public IP address allocation method.
+func (o PublicIPAddressTypePtrOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
}
-func (o PolicySettingsResponseLogScrubbingPtrOutput) ToPolicySettingsResponseLogScrubbingPtrOutput() PolicySettingsResponseLogScrubbingPtrOutput {
- return o
+// The Public IP Prefix this Public IP Address should be allocated from.
+func (o PublicIPAddressTypePtrOutput) PublicIPPrefix() SubResourcePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) *SubResource {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPPrefix
+ }).(SubResourcePtrOutput)
}
-func (o PolicySettingsResponseLogScrubbingPtrOutput) ToPolicySettingsResponseLogScrubbingPtrOutputWithContext(ctx context.Context) PolicySettingsResponseLogScrubbingPtrOutput {
- return o
+// The service public IP address of the public IP address resource.
+func (o PublicIPAddressTypePtrOutput) ServicePublicIPAddress() PublicIPAddressTypePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) *PublicIPAddressType {
+ if v == nil {
+ return nil
+ }
+ return v.ServicePublicIPAddress
+ }).(PublicIPAddressTypePtrOutput)
}
-func (o PolicySettingsResponseLogScrubbingPtrOutput) Elem() PolicySettingsResponseLogScrubbingOutput {
- return o.ApplyT(func(v *PolicySettingsResponseLogScrubbing) PolicySettingsResponseLogScrubbing {
- if v != nil {
- return *v
+// The public IP address SKU.
+func (o PublicIPAddressTypePtrOutput) Sku() PublicIPAddressSkuPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) *PublicIPAddressSku {
+ if v == nil {
+ return nil
}
- var ret PolicySettingsResponseLogScrubbing
- return ret
- }).(PolicySettingsResponseLogScrubbingOutput)
+ return v.Sku
+ }).(PublicIPAddressSkuPtrOutput)
}
-// The rules that are applied to the logs for scrubbing.
-func (o PolicySettingsResponseLogScrubbingPtrOutput) ScrubbingRules() WebApplicationFirewallScrubbingRulesResponseArrayOutput {
- return o.ApplyT(func(v *PolicySettingsResponseLogScrubbing) []WebApplicationFirewallScrubbingRulesResponse {
+// Resource tags.
+func (o PublicIPAddressTypePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) map[string]string {
if v == nil {
return nil
}
- return v.ScrubbingRules
- }).(WebApplicationFirewallScrubbingRulesResponseArrayOutput)
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-// State of the log scrubbing config. Default value is Enabled.
-func (o PolicySettingsResponseLogScrubbingPtrOutput) State() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PolicySettingsResponseLogScrubbing) *string {
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o PublicIPAddressTypePtrOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PublicIPAddressType) []string {
if v == nil {
return nil
}
- return v.State
- }).(pulumi.StringPtrOutput)
+ return v.Zones
+ }).(pulumi.StringArrayOutput)
}
-// IpamPool association information.
-type PoolAssociationResponse struct {
- // List of assigned IP address prefixes in the IpamPool of the associated resource.
- AddressPrefixes []string `pulumi:"addressPrefixes"`
- // Creation time of the association.
- CreatedAt string `pulumi:"createdAt"`
- Description *string `pulumi:"description"`
- // Total number of reserved IP addresses of the association.
- NumberOfReservedIPAddresses string `pulumi:"numberOfReservedIPAddresses"`
- // IpamPool id for which the resource is associated to.
- PoolId *string `pulumi:"poolId"`
- // Expire time for IP addresses reserved.
- ReservationExpiresAt string `pulumi:"reservationExpiresAt"`
- // List of reserved IP address prefixes in the IpamPool of the associated resource.
- ReservedPrefixes []string `pulumi:"reservedPrefixes"`
- // Resource id of the associated Azure resource.
- ResourceId string `pulumi:"resourceId"`
- // Total number of assigned IP addresses of the association.
- TotalNumberOfIPAddresses string `pulumi:"totalNumberOfIPAddresses"`
+// Contains FQDN of the DNS record associated with the public IP address.
+type PublicIPAddressDnsSettings struct {
+ // The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
+ DomainNameLabel *string `pulumi:"domainNameLabel"`
+ // The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
+ DomainNameLabelScope *PublicIpAddressDnsSettingsDomainNameLabelScope `pulumi:"domainNameLabelScope"`
+ // The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
+ Fqdn *string `pulumi:"fqdn"`
+ // The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
+ ReverseFqdn *string `pulumi:"reverseFqdn"`
}
-// IpamPool association information.
-type PoolAssociationResponseOutput struct{ *pulumi.OutputState }
+// PublicIPAddressDnsSettingsInput is an input type that accepts PublicIPAddressDnsSettingsArgs and PublicIPAddressDnsSettingsOutput values.
+// You can construct a concrete instance of `PublicIPAddressDnsSettingsInput` via:
+//
+// PublicIPAddressDnsSettingsArgs{...}
+type PublicIPAddressDnsSettingsInput interface {
+ pulumi.Input
-func (PoolAssociationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PoolAssociationResponse)(nil)).Elem()
+ ToPublicIPAddressDnsSettingsOutput() PublicIPAddressDnsSettingsOutput
+ ToPublicIPAddressDnsSettingsOutputWithContext(context.Context) PublicIPAddressDnsSettingsOutput
}
-func (o PoolAssociationResponseOutput) ToPoolAssociationResponseOutput() PoolAssociationResponseOutput {
- return o
+// Contains FQDN of the DNS record associated with the public IP address.
+type PublicIPAddressDnsSettingsArgs struct {
+ // The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
+ DomainNameLabel pulumi.StringPtrInput `pulumi:"domainNameLabel"`
+ // The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
+ DomainNameLabelScope PublicIpAddressDnsSettingsDomainNameLabelScopePtrInput `pulumi:"domainNameLabelScope"`
+ // The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
+ Fqdn pulumi.StringPtrInput `pulumi:"fqdn"`
+ // The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
+ ReverseFqdn pulumi.StringPtrInput `pulumi:"reverseFqdn"`
}
-func (o PoolAssociationResponseOutput) ToPoolAssociationResponseOutputWithContext(ctx context.Context) PoolAssociationResponseOutput {
- return o
+func (PublicIPAddressDnsSettingsArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPAddressDnsSettings)(nil)).Elem()
}
-// List of assigned IP address prefixes in the IpamPool of the associated resource.
-func (o PoolAssociationResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PoolAssociationResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+func (i PublicIPAddressDnsSettingsArgs) ToPublicIPAddressDnsSettingsOutput() PublicIPAddressDnsSettingsOutput {
+ return i.ToPublicIPAddressDnsSettingsOutputWithContext(context.Background())
}
-// Creation time of the association.
-func (o PoolAssociationResponseOutput) CreatedAt() pulumi.StringOutput {
- return o.ApplyT(func(v PoolAssociationResponse) string { return v.CreatedAt }).(pulumi.StringOutput)
+func (i PublicIPAddressDnsSettingsArgs) ToPublicIPAddressDnsSettingsOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressDnsSettingsOutput)
}
-func (o PoolAssociationResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PoolAssociationResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (i PublicIPAddressDnsSettingsArgs) ToPublicIPAddressDnsSettingsPtrOutput() PublicIPAddressDnsSettingsPtrOutput {
+ return i.ToPublicIPAddressDnsSettingsPtrOutputWithContext(context.Background())
}
-// Total number of reserved IP addresses of the association.
-func (o PoolAssociationResponseOutput) NumberOfReservedIPAddresses() pulumi.StringOutput {
- return o.ApplyT(func(v PoolAssociationResponse) string { return v.NumberOfReservedIPAddresses }).(pulumi.StringOutput)
+func (i PublicIPAddressDnsSettingsArgs) ToPublicIPAddressDnsSettingsPtrOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressDnsSettingsOutput).ToPublicIPAddressDnsSettingsPtrOutputWithContext(ctx)
}
-// IpamPool id for which the resource is associated to.
-func (o PoolAssociationResponseOutput) PoolId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PoolAssociationResponse) *string { return v.PoolId }).(pulumi.StringPtrOutput)
+// PublicIPAddressDnsSettingsPtrInput is an input type that accepts PublicIPAddressDnsSettingsArgs, PublicIPAddressDnsSettingsPtr and PublicIPAddressDnsSettingsPtrOutput values.
+// You can construct a concrete instance of `PublicIPAddressDnsSettingsPtrInput` via:
+//
+// PublicIPAddressDnsSettingsArgs{...}
+//
+// or:
+//
+// nil
+type PublicIPAddressDnsSettingsPtrInput interface {
+ pulumi.Input
+
+ ToPublicIPAddressDnsSettingsPtrOutput() PublicIPAddressDnsSettingsPtrOutput
+ ToPublicIPAddressDnsSettingsPtrOutputWithContext(context.Context) PublicIPAddressDnsSettingsPtrOutput
}
-// Expire time for IP addresses reserved.
-func (o PoolAssociationResponseOutput) ReservationExpiresAt() pulumi.StringOutput {
- return o.ApplyT(func(v PoolAssociationResponse) string { return v.ReservationExpiresAt }).(pulumi.StringOutput)
+type publicIPAddressDnsSettingsPtrType PublicIPAddressDnsSettingsArgs
+
+func PublicIPAddressDnsSettingsPtr(v *PublicIPAddressDnsSettingsArgs) PublicIPAddressDnsSettingsPtrInput {
+ return (*publicIPAddressDnsSettingsPtrType)(v)
}
-// List of reserved IP address prefixes in the IpamPool of the associated resource.
-func (o PoolAssociationResponseOutput) ReservedPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PoolAssociationResponse) []string { return v.ReservedPrefixes }).(pulumi.StringArrayOutput)
+func (*publicIPAddressDnsSettingsPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPAddressDnsSettings)(nil)).Elem()
}
-// Resource id of the associated Azure resource.
-func (o PoolAssociationResponseOutput) ResourceId() pulumi.StringOutput {
- return o.ApplyT(func(v PoolAssociationResponse) string { return v.ResourceId }).(pulumi.StringOutput)
+func (i *publicIPAddressDnsSettingsPtrType) ToPublicIPAddressDnsSettingsPtrOutput() PublicIPAddressDnsSettingsPtrOutput {
+ return i.ToPublicIPAddressDnsSettingsPtrOutputWithContext(context.Background())
}
-// Total number of assigned IP addresses of the association.
-func (o PoolAssociationResponseOutput) TotalNumberOfIPAddresses() pulumi.StringOutput {
- return o.ApplyT(func(v PoolAssociationResponse) string { return v.TotalNumberOfIPAddresses }).(pulumi.StringOutput)
+func (i *publicIPAddressDnsSettingsPtrType) ToPublicIPAddressDnsSettingsPtrOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressDnsSettingsPtrOutput)
}
-type PoolAssociationResponseArrayOutput struct{ *pulumi.OutputState }
+// Contains FQDN of the DNS record associated with the public IP address.
+type PublicIPAddressDnsSettingsOutput struct{ *pulumi.OutputState }
-func (PoolAssociationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PoolAssociationResponse)(nil)).Elem()
+func (PublicIPAddressDnsSettingsOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPAddressDnsSettings)(nil)).Elem()
}
-func (o PoolAssociationResponseArrayOutput) ToPoolAssociationResponseArrayOutput() PoolAssociationResponseArrayOutput {
+func (o PublicIPAddressDnsSettingsOutput) ToPublicIPAddressDnsSettingsOutput() PublicIPAddressDnsSettingsOutput {
return o
}
-func (o PoolAssociationResponseArrayOutput) ToPoolAssociationResponseArrayOutputWithContext(ctx context.Context) PoolAssociationResponseArrayOutput {
+func (o PublicIPAddressDnsSettingsOutput) ToPublicIPAddressDnsSettingsOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsOutput {
return o
}
-func (o PoolAssociationResponseArrayOutput) Index(i pulumi.IntInput) PoolAssociationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PoolAssociationResponse {
- return vs[0].([]PoolAssociationResponse)[vs[1].(int)]
- }).(PoolAssociationResponseOutput)
+func (o PublicIPAddressDnsSettingsOutput) ToPublicIPAddressDnsSettingsPtrOutput() PublicIPAddressDnsSettingsPtrOutput {
+ return o.ToPublicIPAddressDnsSettingsPtrOutputWithContext(context.Background())
}
-// PrivateDnsZoneConfig resource.
-type PrivateDnsZoneConfig struct {
- // Name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The resource id of the private dns zone.
- PrivateDnsZoneId *string `pulumi:"privateDnsZoneId"`
+func (o PublicIPAddressDnsSettingsOutput) ToPublicIPAddressDnsSettingsPtrOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v PublicIPAddressDnsSettings) *PublicIPAddressDnsSettings {
+ return &v
+ }).(PublicIPAddressDnsSettingsPtrOutput)
}
-// PrivateDnsZoneConfigInput is an input type that accepts PrivateDnsZoneConfigArgs and PrivateDnsZoneConfigOutput values.
-// You can construct a concrete instance of `PrivateDnsZoneConfigInput` via:
-//
-// PrivateDnsZoneConfigArgs{...}
-type PrivateDnsZoneConfigInput interface {
- pulumi.Input
+// The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
+func (o PublicIPAddressDnsSettingsOutput) DomainNameLabel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressDnsSettings) *string { return v.DomainNameLabel }).(pulumi.StringPtrOutput)
+}
- ToPrivateDnsZoneConfigOutput() PrivateDnsZoneConfigOutput
- ToPrivateDnsZoneConfigOutputWithContext(context.Context) PrivateDnsZoneConfigOutput
+// The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
+func (o PublicIPAddressDnsSettingsOutput) DomainNameLabelScope() PublicIpAddressDnsSettingsDomainNameLabelScopePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressDnsSettings) *PublicIpAddressDnsSettingsDomainNameLabelScope {
+ return v.DomainNameLabelScope
+ }).(PublicIpAddressDnsSettingsDomainNameLabelScopePtrOutput)
}
-// PrivateDnsZoneConfig resource.
-type PrivateDnsZoneConfigArgs struct {
- // Name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The resource id of the private dns zone.
- PrivateDnsZoneId pulumi.StringPtrInput `pulumi:"privateDnsZoneId"`
+// The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
+func (o PublicIPAddressDnsSettingsOutput) Fqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressDnsSettings) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
}
-func (PrivateDnsZoneConfigArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateDnsZoneConfig)(nil)).Elem()
+// The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
+func (o PublicIPAddressDnsSettingsOutput) ReverseFqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressDnsSettings) *string { return v.ReverseFqdn }).(pulumi.StringPtrOutput)
}
-func (i PrivateDnsZoneConfigArgs) ToPrivateDnsZoneConfigOutput() PrivateDnsZoneConfigOutput {
- return i.ToPrivateDnsZoneConfigOutputWithContext(context.Background())
+type PublicIPAddressDnsSettingsPtrOutput struct{ *pulumi.OutputState }
+
+func (PublicIPAddressDnsSettingsPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPAddressDnsSettings)(nil)).Elem()
}
-func (i PrivateDnsZoneConfigArgs) ToPrivateDnsZoneConfigOutputWithContext(ctx context.Context) PrivateDnsZoneConfigOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateDnsZoneConfigOutput)
+func (o PublicIPAddressDnsSettingsPtrOutput) ToPublicIPAddressDnsSettingsPtrOutput() PublicIPAddressDnsSettingsPtrOutput {
+ return o
}
-// PrivateDnsZoneConfigArrayInput is an input type that accepts PrivateDnsZoneConfigArray and PrivateDnsZoneConfigArrayOutput values.
-// You can construct a concrete instance of `PrivateDnsZoneConfigArrayInput` via:
-//
-// PrivateDnsZoneConfigArray{ PrivateDnsZoneConfigArgs{...} }
-type PrivateDnsZoneConfigArrayInput interface {
- pulumi.Input
+func (o PublicIPAddressDnsSettingsPtrOutput) ToPublicIPAddressDnsSettingsPtrOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsPtrOutput {
+ return o
+}
- ToPrivateDnsZoneConfigArrayOutput() PrivateDnsZoneConfigArrayOutput
- ToPrivateDnsZoneConfigArrayOutputWithContext(context.Context) PrivateDnsZoneConfigArrayOutput
+func (o PublicIPAddressDnsSettingsPtrOutput) Elem() PublicIPAddressDnsSettingsOutput {
+ return o.ApplyT(func(v *PublicIPAddressDnsSettings) PublicIPAddressDnsSettings {
+ if v != nil {
+ return *v
+ }
+ var ret PublicIPAddressDnsSettings
+ return ret
+ }).(PublicIPAddressDnsSettingsOutput)
}
-type PrivateDnsZoneConfigArray []PrivateDnsZoneConfigInput
+// The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
+func (o PublicIPAddressDnsSettingsPtrOutput) DomainNameLabel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressDnsSettings) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DomainNameLabel
+ }).(pulumi.StringPtrOutput)
+}
-func (PrivateDnsZoneConfigArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PrivateDnsZoneConfig)(nil)).Elem()
+// The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
+func (o PublicIPAddressDnsSettingsPtrOutput) DomainNameLabelScope() PublicIpAddressDnsSettingsDomainNameLabelScopePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressDnsSettings) *PublicIpAddressDnsSettingsDomainNameLabelScope {
+ if v == nil {
+ return nil
+ }
+ return v.DomainNameLabelScope
+ }).(PublicIpAddressDnsSettingsDomainNameLabelScopePtrOutput)
}
-func (i PrivateDnsZoneConfigArray) ToPrivateDnsZoneConfigArrayOutput() PrivateDnsZoneConfigArrayOutput {
- return i.ToPrivateDnsZoneConfigArrayOutputWithContext(context.Background())
+// The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
+func (o PublicIPAddressDnsSettingsPtrOutput) Fqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressDnsSettings) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Fqdn
+ }).(pulumi.StringPtrOutput)
}
-func (i PrivateDnsZoneConfigArray) ToPrivateDnsZoneConfigArrayOutputWithContext(ctx context.Context) PrivateDnsZoneConfigArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateDnsZoneConfigArrayOutput)
+// The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
+func (o PublicIPAddressDnsSettingsPtrOutput) ReverseFqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressDnsSettings) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ReverseFqdn
+ }).(pulumi.StringPtrOutput)
}
-// PrivateDnsZoneConfig resource.
-type PrivateDnsZoneConfigOutput struct{ *pulumi.OutputState }
+// Contains FQDN of the DNS record associated with the public IP address
+type PublicIPAddressDnsSettingsInterfaceEndpointResponse struct {
+ // Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
+ DomainNameLabel *string `pulumi:"domainNameLabel"`
+ // Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
+ Fqdn *string `pulumi:"fqdn"`
+ // Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
+ ReverseFqdn *string `pulumi:"reverseFqdn"`
+}
-func (PrivateDnsZoneConfigOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateDnsZoneConfig)(nil)).Elem()
+// Contains FQDN of the DNS record associated with the public IP address
+type PublicIPAddressDnsSettingsInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
+
+func (PublicIPAddressDnsSettingsInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPAddressDnsSettingsInterfaceEndpointResponse)(nil)).Elem()
}
-func (o PrivateDnsZoneConfigOutput) ToPrivateDnsZoneConfigOutput() PrivateDnsZoneConfigOutput {
+func (o PublicIPAddressDnsSettingsInterfaceEndpointResponseOutput) ToPublicIPAddressDnsSettingsInterfaceEndpointResponseOutput() PublicIPAddressDnsSettingsInterfaceEndpointResponseOutput {
return o
}
-func (o PrivateDnsZoneConfigOutput) ToPrivateDnsZoneConfigOutputWithContext(ctx context.Context) PrivateDnsZoneConfigOutput {
+func (o PublicIPAddressDnsSettingsInterfaceEndpointResponseOutput) ToPublicIPAddressDnsSettingsInterfaceEndpointResponseOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsInterfaceEndpointResponseOutput {
return o
}
-// Name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o PrivateDnsZoneConfigOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateDnsZoneConfig) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
+func (o PublicIPAddressDnsSettingsInterfaceEndpointResponseOutput) DomainNameLabel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressDnsSettingsInterfaceEndpointResponse) *string { return v.DomainNameLabel }).(pulumi.StringPtrOutput)
}
-// The resource id of the private dns zone.
-func (o PrivateDnsZoneConfigOutput) PrivateDnsZoneId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateDnsZoneConfig) *string { return v.PrivateDnsZoneId }).(pulumi.StringPtrOutput)
+// Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
+func (o PublicIPAddressDnsSettingsInterfaceEndpointResponseOutput) Fqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressDnsSettingsInterfaceEndpointResponse) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
}
-type PrivateDnsZoneConfigArrayOutput struct{ *pulumi.OutputState }
+// Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
+func (o PublicIPAddressDnsSettingsInterfaceEndpointResponseOutput) ReverseFqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressDnsSettingsInterfaceEndpointResponse) *string { return v.ReverseFqdn }).(pulumi.StringPtrOutput)
+}
-func (PrivateDnsZoneConfigArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PrivateDnsZoneConfig)(nil)).Elem()
+type PublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (PublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPAddressDnsSettingsInterfaceEndpointResponse)(nil)).Elem()
}
-func (o PrivateDnsZoneConfigArrayOutput) ToPrivateDnsZoneConfigArrayOutput() PrivateDnsZoneConfigArrayOutput {
+func (o PublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutput) ToPublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutput() PublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutput {
return o
}
-func (o PrivateDnsZoneConfigArrayOutput) ToPrivateDnsZoneConfigArrayOutputWithContext(ctx context.Context) PrivateDnsZoneConfigArrayOutput {
+func (o PublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutput) ToPublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutput {
return o
}
-func (o PrivateDnsZoneConfigArrayOutput) Index(i pulumi.IntInput) PrivateDnsZoneConfigOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateDnsZoneConfig {
- return vs[0].([]PrivateDnsZoneConfig)[vs[1].(int)]
- }).(PrivateDnsZoneConfigOutput)
+func (o PublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutput) Elem() PublicIPAddressDnsSettingsInterfaceEndpointResponseOutput {
+ return o.ApplyT(func(v *PublicIPAddressDnsSettingsInterfaceEndpointResponse) PublicIPAddressDnsSettingsInterfaceEndpointResponse {
+ if v != nil {
+ return *v
+ }
+ var ret PublicIPAddressDnsSettingsInterfaceEndpointResponse
+ return ret
+ }).(PublicIPAddressDnsSettingsInterfaceEndpointResponseOutput)
}
-// PrivateDnsZoneConfig resource.
-type PrivateDnsZoneConfigResponse struct {
- // Name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The resource id of the private dns zone.
- PrivateDnsZoneId *string `pulumi:"privateDnsZoneId"`
- // A collection of information regarding a recordSet, holding information to identify private resources.
- RecordSets []RecordSetResponse `pulumi:"recordSets"`
+// Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
+func (o PublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutput) DomainNameLabel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressDnsSettingsInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DomainNameLabel
+ }).(pulumi.StringPtrOutput)
}
-// PrivateDnsZoneConfig resource.
-type PrivateDnsZoneConfigResponseOutput struct{ *pulumi.OutputState }
+// Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
+func (o PublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutput) Fqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressDnsSettingsInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Fqdn
+ }).(pulumi.StringPtrOutput)
+}
-func (PrivateDnsZoneConfigResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateDnsZoneConfigResponse)(nil)).Elem()
+// Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
+func (o PublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutput) ReverseFqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressDnsSettingsInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ReverseFqdn
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateDnsZoneConfigResponseOutput) ToPrivateDnsZoneConfigResponseOutput() PrivateDnsZoneConfigResponseOutput {
+// Contains FQDN of the DNS record associated with the public IP address.
+type PublicIPAddressDnsSettingsResponse struct {
+ // The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
+ DomainNameLabel *string `pulumi:"domainNameLabel"`
+ // The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
+ DomainNameLabelScope *string `pulumi:"domainNameLabelScope"`
+ // The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
+ Fqdn *string `pulumi:"fqdn"`
+ // The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
+ ReverseFqdn *string `pulumi:"reverseFqdn"`
+}
+
+// Contains FQDN of the DNS record associated with the public IP address.
+type PublicIPAddressDnsSettingsResponseOutput struct{ *pulumi.OutputState }
+
+func (PublicIPAddressDnsSettingsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPAddressDnsSettingsResponse)(nil)).Elem()
+}
+
+func (o PublicIPAddressDnsSettingsResponseOutput) ToPublicIPAddressDnsSettingsResponseOutput() PublicIPAddressDnsSettingsResponseOutput {
return o
}
-func (o PrivateDnsZoneConfigResponseOutput) ToPrivateDnsZoneConfigResponseOutputWithContext(ctx context.Context) PrivateDnsZoneConfigResponseOutput {
+func (o PublicIPAddressDnsSettingsResponseOutput) ToPublicIPAddressDnsSettingsResponseOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsResponseOutput {
return o
}
-// Name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o PrivateDnsZoneConfigResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateDnsZoneConfigResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
+func (o PublicIPAddressDnsSettingsResponseOutput) DomainNameLabel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressDnsSettingsResponse) *string { return v.DomainNameLabel }).(pulumi.StringPtrOutput)
}
-// The resource id of the private dns zone.
-func (o PrivateDnsZoneConfigResponseOutput) PrivateDnsZoneId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateDnsZoneConfigResponse) *string { return v.PrivateDnsZoneId }).(pulumi.StringPtrOutput)
+// The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
+func (o PublicIPAddressDnsSettingsResponseOutput) DomainNameLabelScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressDnsSettingsResponse) *string { return v.DomainNameLabelScope }).(pulumi.StringPtrOutput)
}
-// A collection of information regarding a recordSet, holding information to identify private resources.
-func (o PrivateDnsZoneConfigResponseOutput) RecordSets() RecordSetResponseArrayOutput {
- return o.ApplyT(func(v PrivateDnsZoneConfigResponse) []RecordSetResponse { return v.RecordSets }).(RecordSetResponseArrayOutput)
+// The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
+func (o PublicIPAddressDnsSettingsResponseOutput) Fqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressDnsSettingsResponse) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
}
-type PrivateDnsZoneConfigResponseArrayOutput struct{ *pulumi.OutputState }
+// The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
+func (o PublicIPAddressDnsSettingsResponseOutput) ReverseFqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressDnsSettingsResponse) *string { return v.ReverseFqdn }).(pulumi.StringPtrOutput)
+}
-func (PrivateDnsZoneConfigResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PrivateDnsZoneConfigResponse)(nil)).Elem()
+type PublicIPAddressDnsSettingsResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (PublicIPAddressDnsSettingsResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPAddressDnsSettingsResponse)(nil)).Elem()
}
-func (o PrivateDnsZoneConfigResponseArrayOutput) ToPrivateDnsZoneConfigResponseArrayOutput() PrivateDnsZoneConfigResponseArrayOutput {
+func (o PublicIPAddressDnsSettingsResponsePtrOutput) ToPublicIPAddressDnsSettingsResponsePtrOutput() PublicIPAddressDnsSettingsResponsePtrOutput {
return o
}
-func (o PrivateDnsZoneConfigResponseArrayOutput) ToPrivateDnsZoneConfigResponseArrayOutputWithContext(ctx context.Context) PrivateDnsZoneConfigResponseArrayOutput {
+func (o PublicIPAddressDnsSettingsResponsePtrOutput) ToPublicIPAddressDnsSettingsResponsePtrOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsResponsePtrOutput {
return o
}
-func (o PrivateDnsZoneConfigResponseArrayOutput) Index(i pulumi.IntInput) PrivateDnsZoneConfigResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateDnsZoneConfigResponse {
- return vs[0].([]PrivateDnsZoneConfigResponse)[vs[1].(int)]
- }).(PrivateDnsZoneConfigResponseOutput)
+func (o PublicIPAddressDnsSettingsResponsePtrOutput) Elem() PublicIPAddressDnsSettingsResponseOutput {
+ return o.ApplyT(func(v *PublicIPAddressDnsSettingsResponse) PublicIPAddressDnsSettingsResponse {
+ if v != nil {
+ return *v
+ }
+ var ret PublicIPAddressDnsSettingsResponse
+ return ret
+ }).(PublicIPAddressDnsSettingsResponseOutput)
}
-// PrivateEndpointConnection resource.
-type PrivateEndpointConnectionResponse struct {
+// The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
+func (o PublicIPAddressDnsSettingsResponsePtrOutput) DomainNameLabel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressDnsSettingsResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DomainNameLabel
+ }).(pulumi.StringPtrOutput)
+}
+
+// The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
+func (o PublicIPAddressDnsSettingsResponsePtrOutput) DomainNameLabelScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressDnsSettingsResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DomainNameLabelScope
+ }).(pulumi.StringPtrOutput)
+}
+
+// The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
+func (o PublicIPAddressDnsSettingsResponsePtrOutput) Fqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressDnsSettingsResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Fqdn
+ }).(pulumi.StringPtrOutput)
+}
+
+// The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
+func (o PublicIPAddressDnsSettingsResponsePtrOutput) ReverseFqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressDnsSettingsResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ReverseFqdn
+ }).(pulumi.StringPtrOutput)
+}
+
+// Public IP address resource.
+type PublicIPAddressInterfaceEndpointResponse struct {
+ // The DDoS protection custom policy associated with the public IP address.
+ DdosSettings *DdosSettingsInterfaceEndpointResponse `pulumi:"ddosSettings"`
+ // The FQDN of the DNS record associated with the public IP address.
+ DnsSettings *PublicIPAddressDnsSettingsInterfaceEndpointResponse `pulumi:"dnsSettings"`
// A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
+ Etag *string `pulumi:"etag"`
// Resource ID.
Id *string `pulumi:"id"`
- // The consumer link id.
- LinkIdentifier string `pulumi:"linkIdentifier"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The resource of private end point.
- PrivateEndpoint PrivateEndpointResponse `pulumi:"privateEndpoint"`
- // The location of the private endpoint.
- PrivateEndpointLocation string `pulumi:"privateEndpointLocation"`
- // A collection of information about the state of the connection between service consumer and provider.
- PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateResponse `pulumi:"privateLinkServiceConnectionState"`
- // The provisioning state of the private endpoint connection resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The resource type.
+ // The idle timeout of the public IP address.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // The IP address associated with the public IP address resource.
+ IpAddress *string `pulumi:"ipAddress"`
+ // The IP configuration associated with the public IP address.
+ IpConfiguration IPConfigurationResponse `pulumi:"ipConfiguration"`
+ // The list of tags associated with the public IP address.
+ IpTags []IpTagResponse `pulumi:"ipTags"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState *string `pulumi:"provisioningState"`
+ // The public IP address version.
+ PublicIPAddressVersion *string `pulumi:"publicIPAddressVersion"`
+ // The public IP address allocation method.
+ PublicIPAllocationMethod *string `pulumi:"publicIPAllocationMethod"`
+ // The Public IP Prefix this Public IP Address should be allocated from.
+ PublicIPPrefix *SubResourceResponse `pulumi:"publicIPPrefix"`
+ // The resource GUID property of the public IP resource.
+ ResourceGuid *string `pulumi:"resourceGuid"`
+ // The public IP address SKU.
+ Sku *PublicIPAddressSkuInterfaceEndpointResponse `pulumi:"sku"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
Type string `pulumi:"type"`
+ // A list of availability zones denoting the IP allocated for the resource needs to come from.
+ Zones []string `pulumi:"zones"`
}
-// Defaults sets the appropriate defaults for PrivateEndpointConnectionResponse
-func (val *PrivateEndpointConnectionResponse) Defaults() *PrivateEndpointConnectionResponse {
+// Defaults sets the appropriate defaults for PublicIPAddressInterfaceEndpointResponse
+func (val *PublicIPAddressInterfaceEndpointResponse) Defaults() *PublicIPAddressInterfaceEndpointResponse {
if val == nil {
return nil
}
tmp := *val
- tmp.PrivateEndpoint = *tmp.PrivateEndpoint.Defaults()
+ tmp.IpConfiguration = *tmp.IpConfiguration.Defaults()
return &tmp
}
-// PrivateEndpointConnection resource.
-type PrivateEndpointConnectionResponseOutput struct{ *pulumi.OutputState }
+// Public IP address resource.
+type PublicIPAddressInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
-func (PrivateEndpointConnectionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateEndpointConnectionResponse)(nil)).Elem()
+func (PublicIPAddressInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPAddressInterfaceEndpointResponse)(nil)).Elem()
}
-func (o PrivateEndpointConnectionResponseOutput) ToPrivateEndpointConnectionResponseOutput() PrivateEndpointConnectionResponseOutput {
+func (o PublicIPAddressInterfaceEndpointResponseOutput) ToPublicIPAddressInterfaceEndpointResponseOutput() PublicIPAddressInterfaceEndpointResponseOutput {
return o
}
-func (o PrivateEndpointConnectionResponseOutput) ToPrivateEndpointConnectionResponseOutputWithContext(ctx context.Context) PrivateEndpointConnectionResponseOutput {
+func (o PublicIPAddressInterfaceEndpointResponseOutput) ToPublicIPAddressInterfaceEndpointResponseOutputWithContext(ctx context.Context) PublicIPAddressInterfaceEndpointResponseOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o PrivateEndpointConnectionResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.Etag }).(pulumi.StringOutput)
+// The DDoS protection custom policy associated with the public IP address.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) DdosSettings() DdosSettingsInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) *DdosSettingsInterfaceEndpointResponse {
+ return v.DdosSettings
+ }).(DdosSettingsInterfaceEndpointResponsePtrOutput)
}
-// Resource ID.
-func (o PrivateEndpointConnectionResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateEndpointConnectionResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The FQDN of the DNS record associated with the public IP address.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) DnsSettings() PublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) *PublicIPAddressDnsSettingsInterfaceEndpointResponse {
+ return v.DnsSettings
+ }).(PublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutput)
}
-// The consumer link id.
-func (o PrivateEndpointConnectionResponseOutput) LinkIdentifier() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.LinkIdentifier }).(pulumi.StringOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o PrivateEndpointConnectionResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateEndpointConnectionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The resource of private end point.
-func (o PrivateEndpointConnectionResponseOutput) PrivateEndpoint() PrivateEndpointResponseOutput {
- return o.ApplyT(func(v PrivateEndpointConnectionResponse) PrivateEndpointResponse { return v.PrivateEndpoint }).(PrivateEndpointResponseOutput)
+// The idle timeout of the public IP address.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-// The location of the private endpoint.
-func (o PrivateEndpointConnectionResponseOutput) PrivateEndpointLocation() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.PrivateEndpointLocation }).(pulumi.StringOutput)
+// The IP address associated with the public IP address resource.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) IpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
}
-// A collection of information about the state of the connection between service consumer and provider.
-func (o PrivateEndpointConnectionResponseOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStateResponsePtrOutput {
- return o.ApplyT(func(v PrivateEndpointConnectionResponse) *PrivateLinkServiceConnectionStateResponse {
- return v.PrivateLinkServiceConnectionState
- }).(PrivateLinkServiceConnectionStateResponsePtrOutput)
+// The IP configuration associated with the public IP address.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) IpConfiguration() IPConfigurationResponseOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) IPConfigurationResponse { return v.IpConfiguration }).(IPConfigurationResponseOutput)
}
-// The provisioning state of the private endpoint connection resource.
-func (o PrivateEndpointConnectionResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The list of tags associated with the public IP address.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) IpTags() IpTagResponseArrayOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) []IpTagResponse { return v.IpTags }).(IpTagResponseArrayOutput)
}
-// The resource type.
-func (o PrivateEndpointConnectionResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateEndpointConnectionResponse) string { return v.Type }).(pulumi.StringOutput)
+// Resource location.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-type PrivateEndpointConnectionResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (PrivateEndpointConnectionResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PrivateEndpointConnectionResponse)(nil)).Elem()
+// Resource name.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (o PrivateEndpointConnectionResponseArrayOutput) ToPrivateEndpointConnectionResponseArrayOutput() PrivateEndpointConnectionResponseArrayOutput {
- return o
+// The provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-func (o PrivateEndpointConnectionResponseArrayOutput) ToPrivateEndpointConnectionResponseArrayOutputWithContext(ctx context.Context) PrivateEndpointConnectionResponseArrayOutput {
- return o
+// The public IP address version.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) *string { return v.PublicIPAddressVersion }).(pulumi.StringPtrOutput)
}
-func (o PrivateEndpointConnectionResponseArrayOutput) Index(i pulumi.IntInput) PrivateEndpointConnectionResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointConnectionResponse {
- return vs[0].([]PrivateEndpointConnectionResponse)[vs[1].(int)]
- }).(PrivateEndpointConnectionResponseOutput)
+// The public IP address allocation method.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) *string { return v.PublicIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-// An IP Configuration of the private endpoint.
-type PrivateEndpointIPConfiguration struct {
- // The ID of a group obtained from the remote resource that this private endpoint should connect to.
- GroupId *string `pulumi:"groupId"`
- // The member name of a group obtained from the remote resource that this private endpoint should connect to.
- MemberName *string `pulumi:"memberName"`
- // The name of the resource that is unique within a resource group.
- Name *string `pulumi:"name"`
- // A private ip address obtained from the private endpoint's subnet.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
+// The Public IP Prefix this Public IP Address should be allocated from.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) *SubResourceResponse { return v.PublicIPPrefix }).(SubResourceResponsePtrOutput)
}
-// PrivateEndpointIPConfigurationInput is an input type that accepts PrivateEndpointIPConfigurationArgs and PrivateEndpointIPConfigurationOutput values.
-// You can construct a concrete instance of `PrivateEndpointIPConfigurationInput` via:
-//
-// PrivateEndpointIPConfigurationArgs{...}
-type PrivateEndpointIPConfigurationInput interface {
- pulumi.Input
-
- ToPrivateEndpointIPConfigurationOutput() PrivateEndpointIPConfigurationOutput
- ToPrivateEndpointIPConfigurationOutputWithContext(context.Context) PrivateEndpointIPConfigurationOutput
+// The resource GUID property of the public IP resource.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) *string { return v.ResourceGuid }).(pulumi.StringPtrOutput)
}
-// An IP Configuration of the private endpoint.
-type PrivateEndpointIPConfigurationArgs struct {
- // The ID of a group obtained from the remote resource that this private endpoint should connect to.
- GroupId pulumi.StringPtrInput `pulumi:"groupId"`
- // The member name of a group obtained from the remote resource that this private endpoint should connect to.
- MemberName pulumi.StringPtrInput `pulumi:"memberName"`
- // The name of the resource that is unique within a resource group.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // A private ip address obtained from the private endpoint's subnet.
- PrivateIPAddress pulumi.StringPtrInput `pulumi:"privateIPAddress"`
+// The public IP address SKU.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) Sku() PublicIPAddressSkuInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) *PublicIPAddressSkuInterfaceEndpointResponse {
+ return v.Sku
+ }).(PublicIPAddressSkuInterfaceEndpointResponsePtrOutput)
}
-func (PrivateEndpointIPConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateEndpointIPConfiguration)(nil)).Elem()
+// Resource tags.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (i PrivateEndpointIPConfigurationArgs) ToPrivateEndpointIPConfigurationOutput() PrivateEndpointIPConfigurationOutput {
- return i.ToPrivateEndpointIPConfigurationOutputWithContext(context.Background())
+// Resource type.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (i PrivateEndpointIPConfigurationArgs) ToPrivateEndpointIPConfigurationOutputWithContext(ctx context.Context) PrivateEndpointIPConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointIPConfigurationOutput)
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o PublicIPAddressInterfaceEndpointResponseOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PublicIPAddressInterfaceEndpointResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
}
-// PrivateEndpointIPConfigurationArrayInput is an input type that accepts PrivateEndpointIPConfigurationArray and PrivateEndpointIPConfigurationArrayOutput values.
-// You can construct a concrete instance of `PrivateEndpointIPConfigurationArrayInput` via:
-//
-// PrivateEndpointIPConfigurationArray{ PrivateEndpointIPConfigurationArgs{...} }
-type PrivateEndpointIPConfigurationArrayInput interface {
- pulumi.Input
+type PublicIPAddressInterfaceEndpointResponsePtrOutput struct{ *pulumi.OutputState }
- ToPrivateEndpointIPConfigurationArrayOutput() PrivateEndpointIPConfigurationArrayOutput
- ToPrivateEndpointIPConfigurationArrayOutputWithContext(context.Context) PrivateEndpointIPConfigurationArrayOutput
+func (PublicIPAddressInterfaceEndpointResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPAddressInterfaceEndpointResponse)(nil)).Elem()
}
-type PrivateEndpointIPConfigurationArray []PrivateEndpointIPConfigurationInput
-
-func (PrivateEndpointIPConfigurationArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PrivateEndpointIPConfiguration)(nil)).Elem()
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) ToPublicIPAddressInterfaceEndpointResponsePtrOutput() PublicIPAddressInterfaceEndpointResponsePtrOutput {
+ return o
}
-func (i PrivateEndpointIPConfigurationArray) ToPrivateEndpointIPConfigurationArrayOutput() PrivateEndpointIPConfigurationArrayOutput {
- return i.ToPrivateEndpointIPConfigurationArrayOutputWithContext(context.Background())
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) ToPublicIPAddressInterfaceEndpointResponsePtrOutputWithContext(ctx context.Context) PublicIPAddressInterfaceEndpointResponsePtrOutput {
+ return o
}
-func (i PrivateEndpointIPConfigurationArray) ToPrivateEndpointIPConfigurationArrayOutputWithContext(ctx context.Context) PrivateEndpointIPConfigurationArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointIPConfigurationArrayOutput)
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) Elem() PublicIPAddressInterfaceEndpointResponseOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) PublicIPAddressInterfaceEndpointResponse {
+ if v != nil {
+ return *v
+ }
+ var ret PublicIPAddressInterfaceEndpointResponse
+ return ret
+ }).(PublicIPAddressInterfaceEndpointResponseOutput)
}
-// An IP Configuration of the private endpoint.
-type PrivateEndpointIPConfigurationOutput struct{ *pulumi.OutputState }
-
-func (PrivateEndpointIPConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateEndpointIPConfiguration)(nil)).Elem()
+// The DDoS protection custom policy associated with the public IP address.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) DdosSettings() DdosSettingsInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) *DdosSettingsInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DdosSettings
+ }).(DdosSettingsInterfaceEndpointResponsePtrOutput)
}
-func (o PrivateEndpointIPConfigurationOutput) ToPrivateEndpointIPConfigurationOutput() PrivateEndpointIPConfigurationOutput {
- return o
+// The FQDN of the DNS record associated with the public IP address.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) DnsSettings() PublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) *PublicIPAddressDnsSettingsInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DnsSettings
+ }).(PublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutput)
}
-func (o PrivateEndpointIPConfigurationOutput) ToPrivateEndpointIPConfigurationOutputWithContext(ctx context.Context) PrivateEndpointIPConfigurationOutput {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Etag
+ }).(pulumi.StringPtrOutput)
}
-// The ID of a group obtained from the remote resource that this private endpoint should connect to.
-func (o PrivateEndpointIPConfigurationOutput) GroupId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateEndpointIPConfiguration) *string { return v.GroupId }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// The member name of a group obtained from the remote resource that this private endpoint should connect to.
-func (o PrivateEndpointIPConfigurationOutput) MemberName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateEndpointIPConfiguration) *string { return v.MemberName }).(pulumi.StringPtrOutput)
+// The idle timeout of the public IP address.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.IdleTimeoutInMinutes
+ }).(pulumi.IntPtrOutput)
}
-// The name of the resource that is unique within a resource group.
-func (o PrivateEndpointIPConfigurationOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateEndpointIPConfiguration) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The IP address associated with the public IP address resource.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) IpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.IpAddress
+ }).(pulumi.StringPtrOutput)
}
-// A private ip address obtained from the private endpoint's subnet.
-func (o PrivateEndpointIPConfigurationOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateEndpointIPConfiguration) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+// The IP configuration associated with the public IP address.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) IpConfiguration() IPConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) *IPConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return &v.IpConfiguration
+ }).(IPConfigurationResponsePtrOutput)
}
-type PrivateEndpointIPConfigurationArrayOutput struct{ *pulumi.OutputState }
+// The list of tags associated with the public IP address.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) IpTags() IpTagResponseArrayOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) []IpTagResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpTags
+ }).(IpTagResponseArrayOutput)
+}
-func (PrivateEndpointIPConfigurationArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PrivateEndpointIPConfiguration)(nil)).Elem()
+// Resource location.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateEndpointIPConfigurationArrayOutput) ToPrivateEndpointIPConfigurationArrayOutput() PrivateEndpointIPConfigurationArrayOutput {
- return o
+// Resource name.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateEndpointIPConfigurationArrayOutput) ToPrivateEndpointIPConfigurationArrayOutputWithContext(ctx context.Context) PrivateEndpointIPConfigurationArrayOutput {
- return o
+// The provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateEndpointIPConfigurationArrayOutput) Index(i pulumi.IntInput) PrivateEndpointIPConfigurationOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointIPConfiguration {
- return vs[0].([]PrivateEndpointIPConfiguration)[vs[1].(int)]
- }).(PrivateEndpointIPConfigurationOutput)
-}
-
-// An IP Configuration of the private endpoint.
-type PrivateEndpointIPConfigurationResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The ID of a group obtained from the remote resource that this private endpoint should connect to.
- GroupId *string `pulumi:"groupId"`
- // The member name of a group obtained from the remote resource that this private endpoint should connect to.
- MemberName *string `pulumi:"memberName"`
- // The name of the resource that is unique within a resource group.
- Name *string `pulumi:"name"`
- // A private ip address obtained from the private endpoint's subnet.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // The resource type.
- Type string `pulumi:"type"`
-}
-
-// An IP Configuration of the private endpoint.
-type PrivateEndpointIPConfigurationResponseOutput struct{ *pulumi.OutputState }
-
-func (PrivateEndpointIPConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateEndpointIPConfigurationResponse)(nil)).Elem()
-}
-
-func (o PrivateEndpointIPConfigurationResponseOutput) ToPrivateEndpointIPConfigurationResponseOutput() PrivateEndpointIPConfigurationResponseOutput {
- return o
-}
-
-func (o PrivateEndpointIPConfigurationResponseOutput) ToPrivateEndpointIPConfigurationResponseOutputWithContext(ctx context.Context) PrivateEndpointIPConfigurationResponseOutput {
- return o
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o PrivateEndpointIPConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateEndpointIPConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
-
-// The ID of a group obtained from the remote resource that this private endpoint should connect to.
-func (o PrivateEndpointIPConfigurationResponseOutput) GroupId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateEndpointIPConfigurationResponse) *string { return v.GroupId }).(pulumi.StringPtrOutput)
-}
-
-// The member name of a group obtained from the remote resource that this private endpoint should connect to.
-func (o PrivateEndpointIPConfigurationResponseOutput) MemberName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateEndpointIPConfigurationResponse) *string { return v.MemberName }).(pulumi.StringPtrOutput)
+// The public IP address version.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAddressVersion
+ }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within a resource group.
-func (o PrivateEndpointIPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateEndpointIPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The public IP address allocation method.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
}
-// A private ip address obtained from the private endpoint's subnet.
-func (o PrivateEndpointIPConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateEndpointIPConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+// The Public IP Prefix this Public IP Address should be allocated from.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPPrefix
+ }).(SubResourceResponsePtrOutput)
}
-// The resource type.
-func (o PrivateEndpointIPConfigurationResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateEndpointIPConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
+// The resource GUID property of the public IP resource.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
}
-type PrivateEndpointIPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (PrivateEndpointIPConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PrivateEndpointIPConfigurationResponse)(nil)).Elem()
+// The public IP address SKU.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) Sku() PublicIPAddressSkuInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) *PublicIPAddressSkuInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Sku
+ }).(PublicIPAddressSkuInterfaceEndpointResponsePtrOutput)
}
-func (o PrivateEndpointIPConfigurationResponseArrayOutput) ToPrivateEndpointIPConfigurationResponseArrayOutput() PrivateEndpointIPConfigurationResponseArrayOutput {
- return o
+// Resource tags.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-func (o PrivateEndpointIPConfigurationResponseArrayOutput) ToPrivateEndpointIPConfigurationResponseArrayOutputWithContext(ctx context.Context) PrivateEndpointIPConfigurationResponseArrayOutput {
- return o
+// Resource type.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateEndpointIPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) PrivateEndpointIPConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointIPConfigurationResponse {
- return vs[0].([]PrivateEndpointIPConfigurationResponse)[vs[1].(int)]
- }).(PrivateEndpointIPConfigurationResponseOutput)
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o PublicIPAddressInterfaceEndpointResponsePtrOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PublicIPAddressInterfaceEndpointResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Zones
+ }).(pulumi.StringArrayOutput)
}
-// Private endpoint resource.
-type PrivateEndpointResponse struct {
- // Application security groups in which the private endpoint IP configuration is included.
- ApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"applicationSecurityGroups"`
- // An array of custom dns configurations.
- CustomDnsConfigs []CustomDnsConfigPropertiesFormatResponse `pulumi:"customDnsConfigs"`
- // The custom name of the network interface attached to the private endpoint.
- CustomNetworkInterfaceName *string `pulumi:"customNetworkInterfaceName"`
+// Public IP address resource.
+type PublicIPAddressResponse struct {
+ // The DDoS protection custom policy associated with the public IP address.
+ DdosSettings *DdosSettingsResponse `pulumi:"ddosSettings"`
+ // Specify what happens to the public IP address when the VM using it is deleted
+ DeleteOption *string `pulumi:"deleteOption"`
+ // The FQDN of the DNS record associated with the public IP address.
+ DnsSettings *PublicIPAddressDnsSettingsResponse `pulumi:"dnsSettings"`
// A unique read-only string that changes whenever the resource is updated.
Etag string `pulumi:"etag"`
- // The extended location of the load balancer.
+ // The extended location of the public ip address.
ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
// Resource ID.
Id *string `pulumi:"id"`
- // A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
- IpConfigurations []PrivateEndpointIPConfigurationResponse `pulumi:"ipConfigurations"`
+ // The idle timeout of the public IP address.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // The IP address associated with the public IP address resource.
+ IpAddress *string `pulumi:"ipAddress"`
+ // The IP configuration associated with the public IP address.
+ IpConfiguration IPConfigurationResponse `pulumi:"ipConfiguration"`
+ // The list of tags associated with the public IP address.
+ IpTags []IpTagResponse `pulumi:"ipTags"`
+ // The linked public IP address of the public IP address resource.
+ LinkedPublicIPAddress *PublicIPAddressResponse `pulumi:"linkedPublicIPAddress"`
// Resource location.
Location *string `pulumi:"location"`
- // A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
- ManualPrivateLinkServiceConnections []PrivateLinkServiceConnectionResponse `pulumi:"manualPrivateLinkServiceConnections"`
+ // Migration phase of Public IP Address.
+ MigrationPhase *string `pulumi:"migrationPhase"`
// Resource name.
Name string `pulumi:"name"`
- // An array of references to the network interfaces created for this private endpoint.
- NetworkInterfaces []NetworkInterfaceResponse `pulumi:"networkInterfaces"`
- // A grouping of information about the connection to the remote resource.
- PrivateLinkServiceConnections []PrivateLinkServiceConnectionResponse `pulumi:"privateLinkServiceConnections"`
- // The provisioning state of the private endpoint resource.
+ // The NatGateway for the Public IP address.
+ NatGateway *NatGatewayResponse `pulumi:"natGateway"`
+ // The provisioning state of the public IP address resource.
ProvisioningState string `pulumi:"provisioningState"`
- // The ID of the subnet from which the private IP will be allocated.
- Subnet *SubnetResponse `pulumi:"subnet"`
+ // The public IP address version.
+ PublicIPAddressVersion *string `pulumi:"publicIPAddressVersion"`
+ // The public IP address allocation method.
+ PublicIPAllocationMethod *string `pulumi:"publicIPAllocationMethod"`
+ // The Public IP Prefix this Public IP Address should be allocated from.
+ PublicIPPrefix *SubResourceResponse `pulumi:"publicIPPrefix"`
+ // The resource GUID property of the public IP address resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // The service public IP address of the public IP address resource.
+ ServicePublicIPAddress *PublicIPAddressResponse `pulumi:"servicePublicIPAddress"`
+ // The public IP address SKU.
+ Sku *PublicIPAddressSkuResponse `pulumi:"sku"`
// Resource tags.
Tags map[string]string `pulumi:"tags"`
// Resource type.
Type string `pulumi:"type"`
+ // A list of availability zones denoting the IP allocated for the resource needs to come from.
+ Zones []string `pulumi:"zones"`
}
-// Defaults sets the appropriate defaults for PrivateEndpointResponse
-func (val *PrivateEndpointResponse) Defaults() *PrivateEndpointResponse {
+// Defaults sets the appropriate defaults for PublicIPAddressResponse
+func (val *PublicIPAddressResponse) Defaults() *PublicIPAddressResponse {
if val == nil {
return nil
}
tmp := *val
- tmp.Subnet = tmp.Subnet.Defaults()
+ tmp.IpConfiguration = *tmp.IpConfiguration.Defaults()
+
+ tmp.LinkedPublicIPAddress = tmp.LinkedPublicIPAddress.Defaults()
+
+ tmp.ServicePublicIPAddress = tmp.ServicePublicIPAddress.Defaults()
return &tmp
}
-// Private endpoint resource.
-type PrivateEndpointResponseOutput struct{ *pulumi.OutputState }
+// Public IP address resource.
+type PublicIPAddressResponseOutput struct{ *pulumi.OutputState }
-func (PrivateEndpointResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateEndpointResponse)(nil)).Elem()
+func (PublicIPAddressResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPAddressResponse)(nil)).Elem()
}
-func (o PrivateEndpointResponseOutput) ToPrivateEndpointResponseOutput() PrivateEndpointResponseOutput {
+func (o PublicIPAddressResponseOutput) ToPublicIPAddressResponseOutput() PublicIPAddressResponseOutput {
return o
}
-func (o PrivateEndpointResponseOutput) ToPrivateEndpointResponseOutputWithContext(ctx context.Context) PrivateEndpointResponseOutput {
+func (o PublicIPAddressResponseOutput) ToPublicIPAddressResponseOutputWithContext(ctx context.Context) PublicIPAddressResponseOutput {
return o
}
-// Application security groups in which the private endpoint IP configuration is included.
-func (o PrivateEndpointResponseOutput) ApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
- return o.ApplyT(func(v PrivateEndpointResponse) []ApplicationSecurityGroupResponse { return v.ApplicationSecurityGroups }).(ApplicationSecurityGroupResponseArrayOutput)
+// The DDoS protection custom policy associated with the public IP address.
+func (o PublicIPAddressResponseOutput) DdosSettings() DdosSettingsResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) *DdosSettingsResponse { return v.DdosSettings }).(DdosSettingsResponsePtrOutput)
}
-// An array of custom dns configurations.
-func (o PrivateEndpointResponseOutput) CustomDnsConfigs() CustomDnsConfigPropertiesFormatResponseArrayOutput {
- return o.ApplyT(func(v PrivateEndpointResponse) []CustomDnsConfigPropertiesFormatResponse { return v.CustomDnsConfigs }).(CustomDnsConfigPropertiesFormatResponseArrayOutput)
+// Specify what happens to the public IP address when the VM using it is deleted
+func (o PublicIPAddressResponseOutput) DeleteOption() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) *string { return v.DeleteOption }).(pulumi.StringPtrOutput)
}
-// The custom name of the network interface attached to the private endpoint.
-func (o PrivateEndpointResponseOutput) CustomNetworkInterfaceName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateEndpointResponse) *string { return v.CustomNetworkInterfaceName }).(pulumi.StringPtrOutput)
+// The FQDN of the DNS record associated with the public IP address.
+func (o PublicIPAddressResponseOutput) DnsSettings() PublicIPAddressDnsSettingsResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) *PublicIPAddressDnsSettingsResponse { return v.DnsSettings }).(PublicIPAddressDnsSettingsResponsePtrOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o PrivateEndpointResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateEndpointResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o PublicIPAddressResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// The extended location of the load balancer.
-func (o PrivateEndpointResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
- return o.ApplyT(func(v PrivateEndpointResponse) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
+// The extended location of the public ip address.
+func (o PublicIPAddressResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
}
// Resource ID.
-func (o PrivateEndpointResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o PublicIPAddressResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
-func (o PrivateEndpointResponseOutput) IpConfigurations() PrivateEndpointIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v PrivateEndpointResponse) []PrivateEndpointIPConfigurationResponse { return v.IpConfigurations }).(PrivateEndpointIPConfigurationResponseArrayOutput)
+// The idle timeout of the public IP address.
+func (o PublicIPAddressResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-// Resource location.
-func (o PrivateEndpointResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateEndpointResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+// The IP address associated with the public IP address resource.
+func (o PublicIPAddressResponseOutput) IpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
}
-// A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
-func (o PrivateEndpointResponseOutput) ManualPrivateLinkServiceConnections() PrivateLinkServiceConnectionResponseArrayOutput {
- return o.ApplyT(func(v PrivateEndpointResponse) []PrivateLinkServiceConnectionResponse {
- return v.ManualPrivateLinkServiceConnections
- }).(PrivateLinkServiceConnectionResponseArrayOutput)
+// The IP configuration associated with the public IP address.
+func (o PublicIPAddressResponseOutput) IpConfiguration() IPConfigurationResponseOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) IPConfigurationResponse { return v.IpConfiguration }).(IPConfigurationResponseOutput)
}
-// Resource name.
-func (o PrivateEndpointResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateEndpointResponse) string { return v.Name }).(pulumi.StringOutput)
+// The list of tags associated with the public IP address.
+func (o PublicIPAddressResponseOutput) IpTags() IpTagResponseArrayOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) []IpTagResponse { return v.IpTags }).(IpTagResponseArrayOutput)
}
-// An array of references to the network interfaces created for this private endpoint.
-func (o PrivateEndpointResponseOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
- return o.ApplyT(func(v PrivateEndpointResponse) []NetworkInterfaceResponse { return v.NetworkInterfaces }).(NetworkInterfaceResponseArrayOutput)
+// The linked public IP address of the public IP address resource.
+func (o PublicIPAddressResponseOutput) LinkedPublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) *PublicIPAddressResponse { return v.LinkedPublicIPAddress }).(PublicIPAddressResponsePtrOutput)
}
-// A grouping of information about the connection to the remote resource.
-func (o PrivateEndpointResponseOutput) PrivateLinkServiceConnections() PrivateLinkServiceConnectionResponseArrayOutput {
- return o.ApplyT(func(v PrivateEndpointResponse) []PrivateLinkServiceConnectionResponse {
- return v.PrivateLinkServiceConnections
- }).(PrivateLinkServiceConnectionResponseArrayOutput)
+// Resource location.
+func (o PublicIPAddressResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the private endpoint resource.
-func (o PrivateEndpointResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateEndpointResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Migration phase of Public IP Address.
+func (o PublicIPAddressResponseOutput) MigrationPhase() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) *string { return v.MigrationPhase }).(pulumi.StringPtrOutput)
}
-// The ID of the subnet from which the private IP will be allocated.
-func (o PrivateEndpointResponseOutput) Subnet() SubnetResponsePtrOutput {
- return o.ApplyT(func(v PrivateEndpointResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
+// Resource name.
+func (o PublicIPAddressResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// Resource tags.
-func (o PrivateEndpointResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v PrivateEndpointResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// The NatGateway for the Public IP address.
+func (o PublicIPAddressResponseOutput) NatGateway() NatGatewayResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) *NatGatewayResponse { return v.NatGateway }).(NatGatewayResponsePtrOutput)
}
-// Resource type.
-func (o PrivateEndpointResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateEndpointResponse) string { return v.Type }).(pulumi.StringOutput)
+// The provisioning state of the public IP address resource.
+func (o PublicIPAddressResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-type PrivateEndpointResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (PrivateEndpointResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PrivateEndpointResponse)(nil)).Elem()
+// The public IP address version.
+func (o PublicIPAddressResponseOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) *string { return v.PublicIPAddressVersion }).(pulumi.StringPtrOutput)
}
-func (o PrivateEndpointResponseArrayOutput) ToPrivateEndpointResponseArrayOutput() PrivateEndpointResponseArrayOutput {
- return o
+// The public IP address allocation method.
+func (o PublicIPAddressResponseOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) *string { return v.PublicIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-func (o PrivateEndpointResponseArrayOutput) ToPrivateEndpointResponseArrayOutputWithContext(ctx context.Context) PrivateEndpointResponseArrayOutput {
- return o
+// The Public IP Prefix this Public IP Address should be allocated from.
+func (o PublicIPAddressResponseOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) *SubResourceResponse { return v.PublicIPPrefix }).(SubResourceResponsePtrOutput)
}
-func (o PrivateEndpointResponseArrayOutput) Index(i pulumi.IntInput) PrivateEndpointResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateEndpointResponse {
- return vs[0].([]PrivateEndpointResponse)[vs[1].(int)]
- }).(PrivateEndpointResponseOutput)
+// The resource GUID property of the public IP address resource.
+func (o PublicIPAddressResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// Private link service resource.
-type PrivateLinkServiceType struct {
- // The auto-approval list of the private link service.
- AutoApproval *PrivateLinkServicePropertiesAutoApproval `pulumi:"autoApproval"`
- // The destination IP address of the private link service.
- DestinationIPAddress *string `pulumi:"destinationIPAddress"`
- // Whether the private link service is enabled for proxy protocol or not.
- EnableProxyProtocol *bool `pulumi:"enableProxyProtocol"`
- // The extended location of the load balancer.
- ExtendedLocation *ExtendedLocation `pulumi:"extendedLocation"`
- // The list of Fqdn.
- Fqdns []string `pulumi:"fqdns"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // An array of private link service IP configurations.
- IpConfigurations []PrivateLinkServiceIpConfiguration `pulumi:"ipConfigurations"`
- // An array of references to the load balancer IP configurations.
- LoadBalancerFrontendIpConfigurations []FrontendIPConfiguration `pulumi:"loadBalancerFrontendIpConfigurations"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // The visibility list of the private link service.
- Visibility *PrivateLinkServicePropertiesVisibility `pulumi:"visibility"`
+// The service public IP address of the public IP address resource.
+func (o PublicIPAddressResponseOutput) ServicePublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) *PublicIPAddressResponse { return v.ServicePublicIPAddress }).(PublicIPAddressResponsePtrOutput)
}
-// PrivateLinkServiceTypeInput is an input type that accepts PrivateLinkServiceTypeArgs and PrivateLinkServiceTypeOutput values.
-// You can construct a concrete instance of `PrivateLinkServiceTypeInput` via:
-//
-// PrivateLinkServiceTypeArgs{...}
-type PrivateLinkServiceTypeInput interface {
- pulumi.Input
-
- ToPrivateLinkServiceTypeOutput() PrivateLinkServiceTypeOutput
- ToPrivateLinkServiceTypeOutputWithContext(context.Context) PrivateLinkServiceTypeOutput
+// The public IP address SKU.
+func (o PublicIPAddressResponseOutput) Sku() PublicIPAddressSkuResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) *PublicIPAddressSkuResponse { return v.Sku }).(PublicIPAddressSkuResponsePtrOutput)
}
-// Private link service resource.
-type PrivateLinkServiceTypeArgs struct {
- // The auto-approval list of the private link service.
- AutoApproval PrivateLinkServicePropertiesAutoApprovalPtrInput `pulumi:"autoApproval"`
- // The destination IP address of the private link service.
- DestinationIPAddress pulumi.StringPtrInput `pulumi:"destinationIPAddress"`
- // Whether the private link service is enabled for proxy protocol or not.
- EnableProxyProtocol pulumi.BoolPtrInput `pulumi:"enableProxyProtocol"`
- // The extended location of the load balancer.
- ExtendedLocation ExtendedLocationPtrInput `pulumi:"extendedLocation"`
- // The list of Fqdn.
- Fqdns pulumi.StringArrayInput `pulumi:"fqdns"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // An array of private link service IP configurations.
- IpConfigurations PrivateLinkServiceIpConfigurationArrayInput `pulumi:"ipConfigurations"`
- // An array of references to the load balancer IP configurations.
- LoadBalancerFrontendIpConfigurations FrontendIPConfigurationArrayInput `pulumi:"loadBalancerFrontendIpConfigurations"`
- // Resource location.
- Location pulumi.StringPtrInput `pulumi:"location"`
- // Resource tags.
- Tags pulumi.StringMapInput `pulumi:"tags"`
- // The visibility list of the private link service.
- Visibility PrivateLinkServicePropertiesVisibilityPtrInput `pulumi:"visibility"`
+// Resource tags.
+func (o PublicIPAddressResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (PrivateLinkServiceTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServiceType)(nil)).Elem()
+// Resource type.
+func (o PublicIPAddressResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (i PrivateLinkServiceTypeArgs) ToPrivateLinkServiceTypeOutput() PrivateLinkServiceTypeOutput {
- return i.ToPrivateLinkServiceTypeOutputWithContext(context.Background())
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o PublicIPAddressResponseOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PublicIPAddressResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
}
-func (i PrivateLinkServiceTypeArgs) ToPrivateLinkServiceTypeOutputWithContext(ctx context.Context) PrivateLinkServiceTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceTypeOutput)
-}
+type PublicIPAddressResponsePtrOutput struct{ *pulumi.OutputState }
-func (i PrivateLinkServiceTypeArgs) ToPrivateLinkServiceTypePtrOutput() PrivateLinkServiceTypePtrOutput {
- return i.ToPrivateLinkServiceTypePtrOutputWithContext(context.Background())
+func (PublicIPAddressResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPAddressResponse)(nil)).Elem()
}
-func (i PrivateLinkServiceTypeArgs) ToPrivateLinkServiceTypePtrOutputWithContext(ctx context.Context) PrivateLinkServiceTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceTypeOutput).ToPrivateLinkServiceTypePtrOutputWithContext(ctx)
+func (o PublicIPAddressResponsePtrOutput) ToPublicIPAddressResponsePtrOutput() PublicIPAddressResponsePtrOutput {
+ return o
}
-// PrivateLinkServiceTypePtrInput is an input type that accepts PrivateLinkServiceTypeArgs, PrivateLinkServiceTypePtr and PrivateLinkServiceTypePtrOutput values.
-// You can construct a concrete instance of `PrivateLinkServiceTypePtrInput` via:
-//
-// PrivateLinkServiceTypeArgs{...}
-//
-// or:
-//
-// nil
-type PrivateLinkServiceTypePtrInput interface {
- pulumi.Input
-
- ToPrivateLinkServiceTypePtrOutput() PrivateLinkServiceTypePtrOutput
- ToPrivateLinkServiceTypePtrOutputWithContext(context.Context) PrivateLinkServiceTypePtrOutput
+func (o PublicIPAddressResponsePtrOutput) ToPublicIPAddressResponsePtrOutputWithContext(ctx context.Context) PublicIPAddressResponsePtrOutput {
+ return o
}
-type privateLinkServiceTypePtrType PrivateLinkServiceTypeArgs
-
-func PrivateLinkServiceTypePtr(v *PrivateLinkServiceTypeArgs) PrivateLinkServiceTypePtrInput {
- return (*privateLinkServiceTypePtrType)(v)
+func (o PublicIPAddressResponsePtrOutput) Elem() PublicIPAddressResponseOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) PublicIPAddressResponse {
+ if v != nil {
+ return *v
+ }
+ var ret PublicIPAddressResponse
+ return ret
+ }).(PublicIPAddressResponseOutput)
}
-func (*privateLinkServiceTypePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PrivateLinkServiceType)(nil)).Elem()
+// The DDoS protection custom policy associated with the public IP address.
+func (o PublicIPAddressResponsePtrOutput) DdosSettings() DdosSettingsResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *DdosSettingsResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DdosSettings
+ }).(DdosSettingsResponsePtrOutput)
}
-func (i *privateLinkServiceTypePtrType) ToPrivateLinkServiceTypePtrOutput() PrivateLinkServiceTypePtrOutput {
- return i.ToPrivateLinkServiceTypePtrOutputWithContext(context.Background())
+// Specify what happens to the public IP address when the VM using it is deleted
+func (o PublicIPAddressResponsePtrOutput) DeleteOption() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DeleteOption
+ }).(pulumi.StringPtrOutput)
}
-func (i *privateLinkServiceTypePtrType) ToPrivateLinkServiceTypePtrOutputWithContext(ctx context.Context) PrivateLinkServiceTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceTypePtrOutput)
+// The FQDN of the DNS record associated with the public IP address.
+func (o PublicIPAddressResponsePtrOutput) DnsSettings() PublicIPAddressDnsSettingsResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *PublicIPAddressDnsSettingsResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DnsSettings
+ }).(PublicIPAddressDnsSettingsResponsePtrOutput)
}
-// Private link service resource.
-type PrivateLinkServiceTypeOutput struct{ *pulumi.OutputState }
+// A unique read-only string that changes whenever the resource is updated.
+func (o PublicIPAddressResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
+}
-func (PrivateLinkServiceTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServiceType)(nil)).Elem()
+// The extended location of the public ip address.
+func (o PublicIPAddressResponsePtrOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *ExtendedLocationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ExtendedLocation
+ }).(ExtendedLocationResponsePtrOutput)
}
-func (o PrivateLinkServiceTypeOutput) ToPrivateLinkServiceTypeOutput() PrivateLinkServiceTypeOutput {
- return o
+// Resource ID.
+func (o PublicIPAddressResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServiceTypeOutput) ToPrivateLinkServiceTypeOutputWithContext(ctx context.Context) PrivateLinkServiceTypeOutput {
- return o
+// The idle timeout of the public IP address.
+func (o PublicIPAddressResponsePtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.IdleTimeoutInMinutes
+ }).(pulumi.IntPtrOutput)
}
-func (o PrivateLinkServiceTypeOutput) ToPrivateLinkServiceTypePtrOutput() PrivateLinkServiceTypePtrOutput {
- return o.ToPrivateLinkServiceTypePtrOutputWithContext(context.Background())
+// The IP address associated with the public IP address resource.
+func (o PublicIPAddressResponsePtrOutput) IpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.IpAddress
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServiceTypeOutput) ToPrivateLinkServiceTypePtrOutputWithContext(ctx context.Context) PrivateLinkServiceTypePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PrivateLinkServiceType) *PrivateLinkServiceType {
- return &v
- }).(PrivateLinkServiceTypePtrOutput)
-}
-
-// The auto-approval list of the private link service.
-func (o PrivateLinkServiceTypeOutput) AutoApproval() PrivateLinkServicePropertiesAutoApprovalPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceType) *PrivateLinkServicePropertiesAutoApproval { return v.AutoApproval }).(PrivateLinkServicePropertiesAutoApprovalPtrOutput)
-}
-
-// The destination IP address of the private link service.
-func (o PrivateLinkServiceTypeOutput) DestinationIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceType) *string { return v.DestinationIPAddress }).(pulumi.StringPtrOutput)
-}
-
-// Whether the private link service is enabled for proxy protocol or not.
-func (o PrivateLinkServiceTypeOutput) EnableProxyProtocol() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceType) *bool { return v.EnableProxyProtocol }).(pulumi.BoolPtrOutput)
-}
-
-// The extended location of the load balancer.
-func (o PrivateLinkServiceTypeOutput) ExtendedLocation() ExtendedLocationPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceType) *ExtendedLocation { return v.ExtendedLocation }).(ExtendedLocationPtrOutput)
-}
-
-// The list of Fqdn.
-func (o PrivateLinkServiceTypeOutput) Fqdns() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PrivateLinkServiceType) []string { return v.Fqdns }).(pulumi.StringArrayOutput)
-}
-
-// Resource ID.
-func (o PrivateLinkServiceTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceType) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The IP configuration associated with the public IP address.
+func (o PublicIPAddressResponsePtrOutput) IpConfiguration() IPConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *IPConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return &v.IpConfiguration
+ }).(IPConfigurationResponsePtrOutput)
}
-// An array of private link service IP configurations.
-func (o PrivateLinkServiceTypeOutput) IpConfigurations() PrivateLinkServiceIpConfigurationArrayOutput {
- return o.ApplyT(func(v PrivateLinkServiceType) []PrivateLinkServiceIpConfiguration { return v.IpConfigurations }).(PrivateLinkServiceIpConfigurationArrayOutput)
+// The list of tags associated with the public IP address.
+func (o PublicIPAddressResponsePtrOutput) IpTags() IpTagResponseArrayOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) []IpTagResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpTags
+ }).(IpTagResponseArrayOutput)
}
-// An array of references to the load balancer IP configurations.
-func (o PrivateLinkServiceTypeOutput) LoadBalancerFrontendIpConfigurations() FrontendIPConfigurationArrayOutput {
- return o.ApplyT(func(v PrivateLinkServiceType) []FrontendIPConfiguration {
- return v.LoadBalancerFrontendIpConfigurations
- }).(FrontendIPConfigurationArrayOutput)
+// The linked public IP address of the public IP address resource.
+func (o PublicIPAddressResponsePtrOutput) LinkedPublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *PublicIPAddressResponse {
+ if v == nil {
+ return nil
+ }
+ return v.LinkedPublicIPAddress
+ }).(PublicIPAddressResponsePtrOutput)
}
// Resource location.
-func (o PrivateLinkServiceTypeOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceType) *string { return v.Location }).(pulumi.StringPtrOutput)
-}
-
-// Resource tags.
-func (o PrivateLinkServiceTypeOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v PrivateLinkServiceType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
-}
-
-// The visibility list of the private link service.
-func (o PrivateLinkServiceTypeOutput) Visibility() PrivateLinkServicePropertiesVisibilityPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceType) *PrivateLinkServicePropertiesVisibility { return v.Visibility }).(PrivateLinkServicePropertiesVisibilityPtrOutput)
-}
-
-type PrivateLinkServiceTypePtrOutput struct{ *pulumi.OutputState }
-
-func (PrivateLinkServiceTypePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PrivateLinkServiceType)(nil)).Elem()
-}
-
-func (o PrivateLinkServiceTypePtrOutput) ToPrivateLinkServiceTypePtrOutput() PrivateLinkServiceTypePtrOutput {
- return o
+func (o PublicIPAddressResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServiceTypePtrOutput) ToPrivateLinkServiceTypePtrOutputWithContext(ctx context.Context) PrivateLinkServiceTypePtrOutput {
- return o
+// Migration phase of Public IP Address.
+func (o PublicIPAddressResponsePtrOutput) MigrationPhase() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.MigrationPhase
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServiceTypePtrOutput) Elem() PrivateLinkServiceTypeOutput {
- return o.ApplyT(func(v *PrivateLinkServiceType) PrivateLinkServiceType {
- if v != nil {
- return *v
+// Resource name.
+func (o PublicIPAddressResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *string {
+ if v == nil {
+ return nil
}
- var ret PrivateLinkServiceType
- return ret
- }).(PrivateLinkServiceTypeOutput)
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-// The auto-approval list of the private link service.
-func (o PrivateLinkServiceTypePtrOutput) AutoApproval() PrivateLinkServicePropertiesAutoApprovalPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceType) *PrivateLinkServicePropertiesAutoApproval {
+// The NatGateway for the Public IP address.
+func (o PublicIPAddressResponsePtrOutput) NatGateway() NatGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *NatGatewayResponse {
if v == nil {
return nil
}
- return v.AutoApproval
- }).(PrivateLinkServicePropertiesAutoApprovalPtrOutput)
+ return v.NatGateway
+ }).(NatGatewayResponsePtrOutput)
}
-// The destination IP address of the private link service.
-func (o PrivateLinkServiceTypePtrOutput) DestinationIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceType) *string {
+// The provisioning state of the public IP address resource.
+func (o PublicIPAddressResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *string {
if v == nil {
return nil
}
- return v.DestinationIPAddress
+ return &v.ProvisioningState
}).(pulumi.StringPtrOutput)
}
-// Whether the private link service is enabled for proxy protocol or not.
-func (o PrivateLinkServiceTypePtrOutput) EnableProxyProtocol() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceType) *bool {
+// The public IP address version.
+func (o PublicIPAddressResponsePtrOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *string {
if v == nil {
return nil
}
- return v.EnableProxyProtocol
- }).(pulumi.BoolPtrOutput)
+ return v.PublicIPAddressVersion
+ }).(pulumi.StringPtrOutput)
}
-// The extended location of the load balancer.
-func (o PrivateLinkServiceTypePtrOutput) ExtendedLocation() ExtendedLocationPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceType) *ExtendedLocation {
+// The public IP address allocation method.
+func (o PublicIPAddressResponsePtrOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *string {
if v == nil {
return nil
}
- return v.ExtendedLocation
- }).(ExtendedLocationPtrOutput)
+ return v.PublicIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
}
-// The list of Fqdn.
-func (o PrivateLinkServiceTypePtrOutput) Fqdns() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PrivateLinkServiceType) []string {
+// The Public IP Prefix this Public IP Address should be allocated from.
+func (o PublicIPAddressResponsePtrOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *SubResourceResponse {
if v == nil {
return nil
}
- return v.Fqdns
- }).(pulumi.StringArrayOutput)
+ return v.PublicIPPrefix
+ }).(SubResourceResponsePtrOutput)
}
-// Resource ID.
-func (o PrivateLinkServiceTypePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceType) *string {
+// The resource GUID property of the public IP address resource.
+func (o PublicIPAddressResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *string {
if v == nil {
return nil
}
- return v.Id
+ return &v.ResourceGuid
}).(pulumi.StringPtrOutput)
}
-// An array of private link service IP configurations.
-func (o PrivateLinkServiceTypePtrOutput) IpConfigurations() PrivateLinkServiceIpConfigurationArrayOutput {
- return o.ApplyT(func(v *PrivateLinkServiceType) []PrivateLinkServiceIpConfiguration {
+// The service public IP address of the public IP address resource.
+func (o PublicIPAddressResponsePtrOutput) ServicePublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *PublicIPAddressResponse {
if v == nil {
return nil
}
- return v.IpConfigurations
- }).(PrivateLinkServiceIpConfigurationArrayOutput)
+ return v.ServicePublicIPAddress
+ }).(PublicIPAddressResponsePtrOutput)
}
-// An array of references to the load balancer IP configurations.
-func (o PrivateLinkServiceTypePtrOutput) LoadBalancerFrontendIpConfigurations() FrontendIPConfigurationArrayOutput {
- return o.ApplyT(func(v *PrivateLinkServiceType) []FrontendIPConfiguration {
+// The public IP address SKU.
+func (o PublicIPAddressResponsePtrOutput) Sku() PublicIPAddressSkuResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *PublicIPAddressSkuResponse {
if v == nil {
return nil
}
- return v.LoadBalancerFrontendIpConfigurations
- }).(FrontendIPConfigurationArrayOutput)
+ return v.Sku
+ }).(PublicIPAddressSkuResponsePtrOutput)
}
-// Resource location.
-func (o PrivateLinkServiceTypePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceType) *string {
+// Resource tags.
+func (o PublicIPAddressResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) map[string]string {
if v == nil {
return nil
}
- return v.Location
- }).(pulumi.StringPtrOutput)
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-// Resource tags.
-func (o PrivateLinkServiceTypePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *PrivateLinkServiceType) map[string]string {
+// Resource type.
+func (o PublicIPAddressResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) *string {
if v == nil {
return nil
}
- return v.Tags
- }).(pulumi.StringMapOutput)
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-// The visibility list of the private link service.
-func (o PrivateLinkServiceTypePtrOutput) Visibility() PrivateLinkServicePropertiesVisibilityPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceType) *PrivateLinkServicePropertiesVisibility {
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o PublicIPAddressResponsePtrOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponse) []string {
if v == nil {
return nil
}
- return v.Visibility
- }).(PrivateLinkServicePropertiesVisibilityPtrOutput)
+ return v.Zones
+ }).(pulumi.StringArrayOutput)
}
-// PrivateLinkServiceConnection resource.
-type PrivateLinkServiceConnection struct {
- // The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
- GroupIds []string `pulumi:"groupIds"`
+// Public IP address resource.
+type PublicIPAddressResponseV1 struct {
+ // The DDoS protection custom policy associated with the public IP address.
+ DdosSettings *DdosSettingsResponse `pulumi:"ddosSettings"`
+ // Specify what happens to the public IP address when the VM using it is deleted
+ DeleteOption *string `pulumi:"deleteOption"`
+ // The FQDN of the DNS record associated with the public IP address.
+ DnsSettings *PublicIPAddressDnsSettingsResponse `pulumi:"dnsSettings"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The extended location of the public ip address.
+ ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
// Resource ID.
Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // A collection of read-only information about the state of the connection to the remote resource.
- PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `pulumi:"privateLinkServiceConnectionState"`
- // The resource id of private link service.
- PrivateLinkServiceId *string `pulumi:"privateLinkServiceId"`
- // A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
- RequestMessage *string `pulumi:"requestMessage"`
-}
-
-// PrivateLinkServiceConnectionInput is an input type that accepts PrivateLinkServiceConnectionArgs and PrivateLinkServiceConnectionOutput values.
-// You can construct a concrete instance of `PrivateLinkServiceConnectionInput` via:
-//
-// PrivateLinkServiceConnectionArgs{...}
-type PrivateLinkServiceConnectionInput interface {
- pulumi.Input
-
- ToPrivateLinkServiceConnectionOutput() PrivateLinkServiceConnectionOutput
- ToPrivateLinkServiceConnectionOutputWithContext(context.Context) PrivateLinkServiceConnectionOutput
+ // The idle timeout of the public IP address.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // The IP address associated with the public IP address resource.
+ IpAddress *string `pulumi:"ipAddress"`
+ // The IP configuration associated with the public IP address.
+ IpConfiguration IPConfigurationServiceGatewayResponse `pulumi:"ipConfiguration"`
+ // The list of tags associated with the public IP address.
+ IpTags []IpTagResponse `pulumi:"ipTags"`
+ // The linked public IP address of the public IP address resource.
+ LinkedPublicIPAddress *PublicIPAddressServiceGatewayResponse `pulumi:"linkedPublicIPAddress"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Migration phase of Public IP Address.
+ MigrationPhase *string `pulumi:"migrationPhase"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The NatGateway for the Public IP address.
+ NatGateway *NatGatewayServiceGatewayResponse `pulumi:"natGateway"`
+ // The provisioning state of the public IP address resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The public IP address version.
+ PublicIPAddressVersion *string `pulumi:"publicIPAddressVersion"`
+ // The public IP address allocation method.
+ PublicIPAllocationMethod *string `pulumi:"publicIPAllocationMethod"`
+ // The Public IP Prefix this Public IP Address should be allocated from.
+ PublicIPPrefix *SubResourceResponse `pulumi:"publicIPPrefix"`
+ // The resource GUID property of the public IP address resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // The service public IP address of the public IP address resource.
+ ServicePublicIPAddress *PublicIPAddressServiceGatewayResponse `pulumi:"servicePublicIPAddress"`
+ // The public IP address SKU.
+ Sku *PublicIPAddressSkuResponse `pulumi:"sku"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // A list of availability zones denoting the IP allocated for the resource needs to come from.
+ Zones []string `pulumi:"zones"`
}
-// PrivateLinkServiceConnection resource.
-type PrivateLinkServiceConnectionArgs struct {
- // The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
- GroupIds pulumi.StringArrayInput `pulumi:"groupIds"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // A collection of read-only information about the state of the connection to the remote resource.
- PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStatePtrInput `pulumi:"privateLinkServiceConnectionState"`
- // The resource id of private link service.
- PrivateLinkServiceId pulumi.StringPtrInput `pulumi:"privateLinkServiceId"`
- // A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
- RequestMessage pulumi.StringPtrInput `pulumi:"requestMessage"`
-}
+// Defaults sets the appropriate defaults for PublicIPAddressResponseV1
+func (val *PublicIPAddressResponseV1) Defaults() *PublicIPAddressResponseV1 {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.IpConfiguration = *tmp.IpConfiguration.Defaults()
-func (PrivateLinkServiceConnectionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServiceConnection)(nil)).Elem()
-}
+ tmp.LinkedPublicIPAddress = tmp.LinkedPublicIPAddress.Defaults()
-func (i PrivateLinkServiceConnectionArgs) ToPrivateLinkServiceConnectionOutput() PrivateLinkServiceConnectionOutput {
- return i.ToPrivateLinkServiceConnectionOutputWithContext(context.Background())
-}
+ tmp.ServicePublicIPAddress = tmp.ServicePublicIPAddress.Defaults()
-func (i PrivateLinkServiceConnectionArgs) ToPrivateLinkServiceConnectionOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionOutput)
+ return &tmp
}
-// PrivateLinkServiceConnectionArrayInput is an input type that accepts PrivateLinkServiceConnectionArray and PrivateLinkServiceConnectionArrayOutput values.
-// You can construct a concrete instance of `PrivateLinkServiceConnectionArrayInput` via:
-//
-// PrivateLinkServiceConnectionArray{ PrivateLinkServiceConnectionArgs{...} }
-type PrivateLinkServiceConnectionArrayInput interface {
- pulumi.Input
+// Public IP address resource.
+type PublicIPAddressResponseV1Output struct{ *pulumi.OutputState }
- ToPrivateLinkServiceConnectionArrayOutput() PrivateLinkServiceConnectionArrayOutput
- ToPrivateLinkServiceConnectionArrayOutputWithContext(context.Context) PrivateLinkServiceConnectionArrayOutput
+func (PublicIPAddressResponseV1Output) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPAddressResponseV1)(nil)).Elem()
}
-type PrivateLinkServiceConnectionArray []PrivateLinkServiceConnectionInput
-
-func (PrivateLinkServiceConnectionArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PrivateLinkServiceConnection)(nil)).Elem()
+func (o PublicIPAddressResponseV1Output) ToPublicIPAddressResponseV1Output() PublicIPAddressResponseV1Output {
+ return o
}
-func (i PrivateLinkServiceConnectionArray) ToPrivateLinkServiceConnectionArrayOutput() PrivateLinkServiceConnectionArrayOutput {
- return i.ToPrivateLinkServiceConnectionArrayOutputWithContext(context.Background())
+func (o PublicIPAddressResponseV1Output) ToPublicIPAddressResponseV1OutputWithContext(ctx context.Context) PublicIPAddressResponseV1Output {
+ return o
}
-func (i PrivateLinkServiceConnectionArray) ToPrivateLinkServiceConnectionArrayOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionArrayOutput)
+// The DDoS protection custom policy associated with the public IP address.
+func (o PublicIPAddressResponseV1Output) DdosSettings() DdosSettingsResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) *DdosSettingsResponse { return v.DdosSettings }).(DdosSettingsResponsePtrOutput)
}
-// PrivateLinkServiceConnection resource.
-type PrivateLinkServiceConnectionOutput struct{ *pulumi.OutputState }
-
-func (PrivateLinkServiceConnectionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServiceConnection)(nil)).Elem()
+// Specify what happens to the public IP address when the VM using it is deleted
+func (o PublicIPAddressResponseV1Output) DeleteOption() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) *string { return v.DeleteOption }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServiceConnectionOutput) ToPrivateLinkServiceConnectionOutput() PrivateLinkServiceConnectionOutput {
- return o
+// The FQDN of the DNS record associated with the public IP address.
+func (o PublicIPAddressResponseV1Output) DnsSettings() PublicIPAddressDnsSettingsResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) *PublicIPAddressDnsSettingsResponse { return v.DnsSettings }).(PublicIPAddressDnsSettingsResponsePtrOutput)
}
-func (o PrivateLinkServiceConnectionOutput) ToPrivateLinkServiceConnectionOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionOutput {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o PublicIPAddressResponseV1Output) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) string { return v.Etag }).(pulumi.StringOutput)
}
-// The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
-func (o PrivateLinkServiceConnectionOutput) GroupIds() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnection) []string { return v.GroupIds }).(pulumi.StringArrayOutput)
+// The extended location of the public ip address.
+func (o PublicIPAddressResponseV1Output) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
}
// Resource ID.
-func (o PrivateLinkServiceConnectionOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnection) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o PublicIPAddressResponseV1Output) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o PrivateLinkServiceConnectionOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnection) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The idle timeout of the public IP address.
+func (o PublicIPAddressResponseV1Output) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-// A collection of read-only information about the state of the connection to the remote resource.
-func (o PrivateLinkServiceConnectionOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStatePtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnection) *PrivateLinkServiceConnectionState {
- return v.PrivateLinkServiceConnectionState
- }).(PrivateLinkServiceConnectionStatePtrOutput)
+// The IP address associated with the public IP address resource.
+func (o PublicIPAddressResponseV1Output) IpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
}
-// The resource id of private link service.
-func (o PrivateLinkServiceConnectionOutput) PrivateLinkServiceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnection) *string { return v.PrivateLinkServiceId }).(pulumi.StringPtrOutput)
+// The IP configuration associated with the public IP address.
+func (o PublicIPAddressResponseV1Output) IpConfiguration() IPConfigurationServiceGatewayResponseOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) IPConfigurationServiceGatewayResponse { return v.IpConfiguration }).(IPConfigurationServiceGatewayResponseOutput)
}
-// A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
-func (o PrivateLinkServiceConnectionOutput) RequestMessage() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnection) *string { return v.RequestMessage }).(pulumi.StringPtrOutput)
+// The list of tags associated with the public IP address.
+func (o PublicIPAddressResponseV1Output) IpTags() IpTagResponseArrayOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) []IpTagResponse { return v.IpTags }).(IpTagResponseArrayOutput)
}
-type PrivateLinkServiceConnectionArrayOutput struct{ *pulumi.OutputState }
-
-func (PrivateLinkServiceConnectionArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PrivateLinkServiceConnection)(nil)).Elem()
+// The linked public IP address of the public IP address resource.
+func (o PublicIPAddressResponseV1Output) LinkedPublicIPAddress() PublicIPAddressServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) *PublicIPAddressServiceGatewayResponse {
+ return v.LinkedPublicIPAddress
+ }).(PublicIPAddressServiceGatewayResponsePtrOutput)
}
-func (o PrivateLinkServiceConnectionArrayOutput) ToPrivateLinkServiceConnectionArrayOutput() PrivateLinkServiceConnectionArrayOutput {
- return o
+// Resource location.
+func (o PublicIPAddressResponseV1Output) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServiceConnectionArrayOutput) ToPrivateLinkServiceConnectionArrayOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionArrayOutput {
- return o
+// Migration phase of Public IP Address.
+func (o PublicIPAddressResponseV1Output) MigrationPhase() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) *string { return v.MigrationPhase }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServiceConnectionArrayOutput) Index(i pulumi.IntInput) PrivateLinkServiceConnectionOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateLinkServiceConnection {
- return vs[0].([]PrivateLinkServiceConnection)[vs[1].(int)]
- }).(PrivateLinkServiceConnectionOutput)
+// Resource name.
+func (o PublicIPAddressResponseV1Output) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) string { return v.Name }).(pulumi.StringOutput)
}
-// PrivateLinkServiceConnection resource.
-type PrivateLinkServiceConnectionResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
- GroupIds []string `pulumi:"groupIds"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // A collection of read-only information about the state of the connection to the remote resource.
- PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateResponse `pulumi:"privateLinkServiceConnectionState"`
- // The resource id of private link service.
- PrivateLinkServiceId *string `pulumi:"privateLinkServiceId"`
- // The provisioning state of the private link service connection resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
- RequestMessage *string `pulumi:"requestMessage"`
- // The resource type.
- Type string `pulumi:"type"`
+// The NatGateway for the Public IP address.
+func (o PublicIPAddressResponseV1Output) NatGateway() NatGatewayServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) *NatGatewayServiceGatewayResponse { return v.NatGateway }).(NatGatewayServiceGatewayResponsePtrOutput)
}
-// PrivateLinkServiceConnection resource.
-type PrivateLinkServiceConnectionResponseOutput struct{ *pulumi.OutputState }
-
-func (PrivateLinkServiceConnectionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServiceConnectionResponse)(nil)).Elem()
+// The provisioning state of the public IP address resource.
+func (o PublicIPAddressResponseV1Output) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o PrivateLinkServiceConnectionResponseOutput) ToPrivateLinkServiceConnectionResponseOutput() PrivateLinkServiceConnectionResponseOutput {
- return o
+// The public IP address version.
+func (o PublicIPAddressResponseV1Output) PublicIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) *string { return v.PublicIPAddressVersion }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServiceConnectionResponseOutput) ToPrivateLinkServiceConnectionResponseOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionResponseOutput {
- return o
+// The public IP address allocation method.
+func (o PublicIPAddressResponseV1Output) PublicIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) *string { return v.PublicIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o PrivateLinkServiceConnectionResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) string { return v.Etag }).(pulumi.StringOutput)
+// The Public IP Prefix this Public IP Address should be allocated from.
+func (o PublicIPAddressResponseV1Output) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) *SubResourceResponse { return v.PublicIPPrefix }).(SubResourceResponsePtrOutput)
}
-// The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
-func (o PrivateLinkServiceConnectionResponseOutput) GroupIds() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) []string { return v.GroupIds }).(pulumi.StringArrayOutput)
+// The resource GUID property of the public IP address resource.
+func (o PublicIPAddressResponseV1Output) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// Resource ID.
-func (o PrivateLinkServiceConnectionResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The service public IP address of the public IP address resource.
+func (o PublicIPAddressResponseV1Output) ServicePublicIPAddress() PublicIPAddressServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) *PublicIPAddressServiceGatewayResponse {
+ return v.ServicePublicIPAddress
+ }).(PublicIPAddressServiceGatewayResponsePtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o PrivateLinkServiceConnectionResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The public IP address SKU.
+func (o PublicIPAddressResponseV1Output) Sku() PublicIPAddressSkuResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) *PublicIPAddressSkuResponse { return v.Sku }).(PublicIPAddressSkuResponsePtrOutput)
}
-// A collection of read-only information about the state of the connection to the remote resource.
-func (o PrivateLinkServiceConnectionResponseOutput) PrivateLinkServiceConnectionState() PrivateLinkServiceConnectionStateResponsePtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) *PrivateLinkServiceConnectionStateResponse {
- return v.PrivateLinkServiceConnectionState
- }).(PrivateLinkServiceConnectionStateResponsePtrOutput)
+// Resource tags.
+func (o PublicIPAddressResponseV1Output) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// The resource id of private link service.
-func (o PrivateLinkServiceConnectionResponseOutput) PrivateLinkServiceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) *string { return v.PrivateLinkServiceId }).(pulumi.StringPtrOutput)
+// Resource type.
+func (o PublicIPAddressResponseV1Output) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) string { return v.Type }).(pulumi.StringOutput)
}
-// The provisioning state of the private link service connection resource.
-func (o PrivateLinkServiceConnectionResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o PublicIPAddressResponseV1Output) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV1) []string { return v.Zones }).(pulumi.StringArrayOutput)
}
-// A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
-func (o PrivateLinkServiceConnectionResponseOutput) RequestMessage() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) *string { return v.RequestMessage }).(pulumi.StringPtrOutput)
-}
+type PublicIPAddressResponseV1PtrOutput struct{ *pulumi.OutputState }
-// The resource type.
-func (o PrivateLinkServiceConnectionResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnectionResponse) string { return v.Type }).(pulumi.StringOutput)
+func (PublicIPAddressResponseV1PtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPAddressResponseV1)(nil)).Elem()
}
-type PrivateLinkServiceConnectionResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (PrivateLinkServiceConnectionResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PrivateLinkServiceConnectionResponse)(nil)).Elem()
+func (o PublicIPAddressResponseV1PtrOutput) ToPublicIPAddressResponseV1PtrOutput() PublicIPAddressResponseV1PtrOutput {
+ return o
}
-func (o PrivateLinkServiceConnectionResponseArrayOutput) ToPrivateLinkServiceConnectionResponseArrayOutput() PrivateLinkServiceConnectionResponseArrayOutput {
+func (o PublicIPAddressResponseV1PtrOutput) ToPublicIPAddressResponseV1PtrOutputWithContext(ctx context.Context) PublicIPAddressResponseV1PtrOutput {
return o
}
-func (o PrivateLinkServiceConnectionResponseArrayOutput) ToPrivateLinkServiceConnectionResponseArrayOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionResponseArrayOutput {
- return o
+func (o PublicIPAddressResponseV1PtrOutput) Elem() PublicIPAddressResponseV1Output {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) PublicIPAddressResponseV1 {
+ if v != nil {
+ return *v
+ }
+ var ret PublicIPAddressResponseV1
+ return ret
+ }).(PublicIPAddressResponseV1Output)
}
-func (o PrivateLinkServiceConnectionResponseArrayOutput) Index(i pulumi.IntInput) PrivateLinkServiceConnectionResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateLinkServiceConnectionResponse {
- return vs[0].([]PrivateLinkServiceConnectionResponse)[vs[1].(int)]
- }).(PrivateLinkServiceConnectionResponseOutput)
+// The DDoS protection custom policy associated with the public IP address.
+func (o PublicIPAddressResponseV1PtrOutput) DdosSettings() DdosSettingsResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *DdosSettingsResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DdosSettings
+ }).(DdosSettingsResponsePtrOutput)
}
-// A collection of information about the state of the connection between service consumer and provider.
-type PrivateLinkServiceConnectionState struct {
- // A message indicating if changes on the service provider require any updates on the consumer.
- ActionsRequired *string `pulumi:"actionsRequired"`
- // The reason for approval/rejection of the connection.
- Description *string `pulumi:"description"`
- // Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- Status *string `pulumi:"status"`
+// Specify what happens to the public IP address when the VM using it is deleted
+func (o PublicIPAddressResponseV1PtrOutput) DeleteOption() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DeleteOption
+ }).(pulumi.StringPtrOutput)
}
-// PrivateLinkServiceConnectionStateInput is an input type that accepts PrivateLinkServiceConnectionStateArgs and PrivateLinkServiceConnectionStateOutput values.
-// You can construct a concrete instance of `PrivateLinkServiceConnectionStateInput` via:
-//
-// PrivateLinkServiceConnectionStateArgs{...}
-type PrivateLinkServiceConnectionStateInput interface {
- pulumi.Input
+// The FQDN of the DNS record associated with the public IP address.
+func (o PublicIPAddressResponseV1PtrOutput) DnsSettings() PublicIPAddressDnsSettingsResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *PublicIPAddressDnsSettingsResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DnsSettings
+ }).(PublicIPAddressDnsSettingsResponsePtrOutput)
+}
- ToPrivateLinkServiceConnectionStateOutput() PrivateLinkServiceConnectionStateOutput
- ToPrivateLinkServiceConnectionStateOutputWithContext(context.Context) PrivateLinkServiceConnectionStateOutput
+// A unique read-only string that changes whenever the resource is updated.
+func (o PublicIPAddressResponseV1PtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-// A collection of information about the state of the connection between service consumer and provider.
-type PrivateLinkServiceConnectionStateArgs struct {
- // A message indicating if changes on the service provider require any updates on the consumer.
- ActionsRequired pulumi.StringPtrInput `pulumi:"actionsRequired"`
- // The reason for approval/rejection of the connection.
- Description pulumi.StringPtrInput `pulumi:"description"`
- // Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- Status pulumi.StringPtrInput `pulumi:"status"`
+// The extended location of the public ip address.
+func (o PublicIPAddressResponseV1PtrOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *ExtendedLocationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ExtendedLocation
+ }).(ExtendedLocationResponsePtrOutput)
}
-func (PrivateLinkServiceConnectionStateArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServiceConnectionState)(nil)).Elem()
+// Resource ID.
+func (o PublicIPAddressResponseV1PtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStateOutput() PrivateLinkServiceConnectionStateOutput {
- return i.ToPrivateLinkServiceConnectionStateOutputWithContext(context.Background())
+// The idle timeout of the public IP address.
+func (o PublicIPAddressResponseV1PtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *int {
+ if v == nil {
+ return nil
+ }
+ return v.IdleTimeoutInMinutes
+ }).(pulumi.IntPtrOutput)
}
-func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStateOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStateOutput)
+// The IP address associated with the public IP address resource.
+func (o PublicIPAddressResponseV1PtrOutput) IpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return v.IpAddress
+ }).(pulumi.StringPtrOutput)
}
-func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput {
- return i.ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Background())
+// The IP configuration associated with the public IP address.
+func (o PublicIPAddressResponseV1PtrOutput) IpConfiguration() IPConfigurationServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *IPConfigurationServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return &v.IpConfiguration
+ }).(IPConfigurationServiceGatewayResponsePtrOutput)
}
-func (i PrivateLinkServiceConnectionStateArgs) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStateOutput).ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx)
+// The list of tags associated with the public IP address.
+func (o PublicIPAddressResponseV1PtrOutput) IpTags() IpTagResponseArrayOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) []IpTagResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpTags
+ }).(IpTagResponseArrayOutput)
}
-// PrivateLinkServiceConnectionStatePtrInput is an input type that accepts PrivateLinkServiceConnectionStateArgs, PrivateLinkServiceConnectionStatePtr and PrivateLinkServiceConnectionStatePtrOutput values.
-// You can construct a concrete instance of `PrivateLinkServiceConnectionStatePtrInput` via:
-//
-// PrivateLinkServiceConnectionStateArgs{...}
-//
-// or:
-//
-// nil
-type PrivateLinkServiceConnectionStatePtrInput interface {
- pulumi.Input
+// The linked public IP address of the public IP address resource.
+func (o PublicIPAddressResponseV1PtrOutput) LinkedPublicIPAddress() PublicIPAddressServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *PublicIPAddressServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.LinkedPublicIPAddress
+ }).(PublicIPAddressServiceGatewayResponsePtrOutput)
+}
- ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput
- ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Context) PrivateLinkServiceConnectionStatePtrOutput
+// Resource location.
+func (o PublicIPAddressResponseV1PtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-type privateLinkServiceConnectionStatePtrType PrivateLinkServiceConnectionStateArgs
+// Migration phase of Public IP Address.
+func (o PublicIPAddressResponseV1PtrOutput) MigrationPhase() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return v.MigrationPhase
+ }).(pulumi.StringPtrOutput)
+}
-func PrivateLinkServiceConnectionStatePtr(v *PrivateLinkServiceConnectionStateArgs) PrivateLinkServiceConnectionStatePtrInput {
- return (*privateLinkServiceConnectionStatePtrType)(v)
+// Resource name.
+func (o PublicIPAddressResponseV1PtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (*privateLinkServiceConnectionStatePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PrivateLinkServiceConnectionState)(nil)).Elem()
+// The NatGateway for the Public IP address.
+func (o PublicIPAddressResponseV1PtrOutput) NatGateway() NatGatewayServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *NatGatewayServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.NatGateway
+ }).(NatGatewayServiceGatewayResponsePtrOutput)
}
-func (i *privateLinkServiceConnectionStatePtrType) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput {
- return i.ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Background())
+// The provisioning state of the public IP address resource.
+func (o PublicIPAddressResponseV1PtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-func (i *privateLinkServiceConnectionStatePtrType) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceConnectionStatePtrOutput)
+// The public IP address version.
+func (o PublicIPAddressResponseV1PtrOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAddressVersion
+ }).(pulumi.StringPtrOutput)
}
-// A collection of information about the state of the connection between service consumer and provider.
-type PrivateLinkServiceConnectionStateOutput struct{ *pulumi.OutputState }
+// The public IP address allocation method.
+func (o PublicIPAddressResponseV1PtrOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
+}
-func (PrivateLinkServiceConnectionStateOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServiceConnectionState)(nil)).Elem()
+// The Public IP Prefix this Public IP Address should be allocated from.
+func (o PublicIPAddressResponseV1PtrOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPPrefix
+ }).(SubResourceResponsePtrOutput)
}
-func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStateOutput() PrivateLinkServiceConnectionStateOutput {
- return o
+// The resource GUID property of the public IP address resource.
+func (o PublicIPAddressResponseV1PtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStateOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateOutput {
- return o
+// The service public IP address of the public IP address resource.
+func (o PublicIPAddressResponseV1PtrOutput) ServicePublicIPAddress() PublicIPAddressServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *PublicIPAddressServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServicePublicIPAddress
+ }).(PublicIPAddressServiceGatewayResponsePtrOutput)
}
-func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput {
- return o.ToPrivateLinkServiceConnectionStatePtrOutputWithContext(context.Background())
+// The public IP address SKU.
+func (o PublicIPAddressResponseV1PtrOutput) Sku() PublicIPAddressSkuResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *PublicIPAddressSkuResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Sku
+ }).(PublicIPAddressSkuResponsePtrOutput)
}
-func (o PrivateLinkServiceConnectionStateOutput) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PrivateLinkServiceConnectionState) *PrivateLinkServiceConnectionState {
- return &v
- }).(PrivateLinkServiceConnectionStatePtrOutput)
+// Resource tags.
+func (o PublicIPAddressResponseV1PtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-// A message indicating if changes on the service provider require any updates on the consumer.
-func (o PrivateLinkServiceConnectionStateOutput) ActionsRequired() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnectionState) *string { return v.ActionsRequired }).(pulumi.StringPtrOutput)
+// Resource type.
+func (o PublicIPAddressResponseV1PtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-// The reason for approval/rejection of the connection.
-func (o PrivateLinkServiceConnectionStateOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnectionState) *string { return v.Description }).(pulumi.StringPtrOutput)
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o PublicIPAddressResponseV1PtrOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV1) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Zones
+ }).(pulumi.StringArrayOutput)
}
-// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
-func (o PrivateLinkServiceConnectionStateOutput) Status() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnectionState) *string { return v.Status }).(pulumi.StringPtrOutput)
+// Public IP address resource.
+type PublicIPAddressResponseV2 struct {
+ // The DDoS protection custom policy associated with the public IP address.
+ DdosSettings *DdosSettingsResponse `pulumi:"ddosSettings"`
+ // Specify what happens to the public IP address when the VM using it is deleted
+ DeleteOption *string `pulumi:"deleteOption"`
+ // The FQDN of the DNS record associated with the public IP address.
+ DnsSettings *PublicIPAddressDnsSettingsResponse `pulumi:"dnsSettings"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The extended location of the public ip address.
+ ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The idle timeout of the public IP address.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // The IP address associated with the public IP address resource.
+ IpAddress *string `pulumi:"ipAddress"`
+ // The IP configuration associated with the public IP address.
+ IpConfiguration IPConfigurationVirtualNetworkApplianceResponse `pulumi:"ipConfiguration"`
+ // The list of tags associated with the public IP address.
+ IpTags []IpTagResponse `pulumi:"ipTags"`
+ // The linked public IP address of the public IP address resource.
+ LinkedPublicIPAddress *PublicIPAddressVirtualNetworkApplianceResponse `pulumi:"linkedPublicIPAddress"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Migration phase of Public IP Address.
+ MigrationPhase *string `pulumi:"migrationPhase"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The NatGateway for the Public IP address.
+ NatGateway *NatGatewayVirtualNetworkApplianceResponse `pulumi:"natGateway"`
+ // The provisioning state of the public IP address resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The public IP address version.
+ PublicIPAddressVersion *string `pulumi:"publicIPAddressVersion"`
+ // The public IP address allocation method.
+ PublicIPAllocationMethod *string `pulumi:"publicIPAllocationMethod"`
+ // The Public IP Prefix this Public IP Address should be allocated from.
+ PublicIPPrefix *SubResourceResponse `pulumi:"publicIPPrefix"`
+ // The resource GUID property of the public IP address resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // The service public IP address of the public IP address resource.
+ ServicePublicIPAddress *PublicIPAddressVirtualNetworkApplianceResponse `pulumi:"servicePublicIPAddress"`
+ // The public IP address SKU.
+ Sku *PublicIPAddressSkuResponse `pulumi:"sku"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // A list of availability zones denoting the IP allocated for the resource needs to come from.
+ Zones []string `pulumi:"zones"`
}
-type PrivateLinkServiceConnectionStatePtrOutput struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for PublicIPAddressResponseV2
+func (val *PublicIPAddressResponseV2) Defaults() *PublicIPAddressResponseV2 {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.IpConfiguration = *tmp.IpConfiguration.Defaults()
-func (PrivateLinkServiceConnectionStatePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PrivateLinkServiceConnectionState)(nil)).Elem()
+ tmp.LinkedPublicIPAddress = tmp.LinkedPublicIPAddress.Defaults()
+
+ tmp.ServicePublicIPAddress = tmp.ServicePublicIPAddress.Defaults()
+
+ return &tmp
}
-func (o PrivateLinkServiceConnectionStatePtrOutput) ToPrivateLinkServiceConnectionStatePtrOutput() PrivateLinkServiceConnectionStatePtrOutput {
+// Public IP address resource.
+type PublicIPAddressResponseV2Output struct{ *pulumi.OutputState }
+
+func (PublicIPAddressResponseV2Output) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPAddressResponseV2)(nil)).Elem()
+}
+
+func (o PublicIPAddressResponseV2Output) ToPublicIPAddressResponseV2Output() PublicIPAddressResponseV2Output {
return o
}
-func (o PrivateLinkServiceConnectionStatePtrOutput) ToPrivateLinkServiceConnectionStatePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStatePtrOutput {
+func (o PublicIPAddressResponseV2Output) ToPublicIPAddressResponseV2OutputWithContext(ctx context.Context) PublicIPAddressResponseV2Output {
return o
}
-func (o PrivateLinkServiceConnectionStatePtrOutput) Elem() PrivateLinkServiceConnectionStateOutput {
- return o.ApplyT(func(v *PrivateLinkServiceConnectionState) PrivateLinkServiceConnectionState {
- if v != nil {
- return *v
- }
- var ret PrivateLinkServiceConnectionState
- return ret
- }).(PrivateLinkServiceConnectionStateOutput)
+// The DDoS protection custom policy associated with the public IP address.
+func (o PublicIPAddressResponseV2Output) DdosSettings() DdosSettingsResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) *DdosSettingsResponse { return v.DdosSettings }).(DdosSettingsResponsePtrOutput)
}
-// A message indicating if changes on the service provider require any updates on the consumer.
-func (o PrivateLinkServiceConnectionStatePtrOutput) ActionsRequired() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceConnectionState) *string {
- if v == nil {
- return nil
- }
- return v.ActionsRequired
- }).(pulumi.StringPtrOutput)
+// Specify what happens to the public IP address when the VM using it is deleted
+func (o PublicIPAddressResponseV2Output) DeleteOption() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) *string { return v.DeleteOption }).(pulumi.StringPtrOutput)
}
-// The reason for approval/rejection of the connection.
-func (o PrivateLinkServiceConnectionStatePtrOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceConnectionState) *string {
- if v == nil {
- return nil
- }
- return v.Description
- }).(pulumi.StringPtrOutput)
+// The FQDN of the DNS record associated with the public IP address.
+func (o PublicIPAddressResponseV2Output) DnsSettings() PublicIPAddressDnsSettingsResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) *PublicIPAddressDnsSettingsResponse { return v.DnsSettings }).(PublicIPAddressDnsSettingsResponsePtrOutput)
}
-// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
-func (o PrivateLinkServiceConnectionStatePtrOutput) Status() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceConnectionState) *string {
- if v == nil {
- return nil
- }
- return v.Status
- }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o PublicIPAddressResponseV2Output) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) string { return v.Etag }).(pulumi.StringOutput)
}
-// A collection of information about the state of the connection between service consumer and provider.
-type PrivateLinkServiceConnectionStateResponse struct {
- // A message indicating if changes on the service provider require any updates on the consumer.
- ActionsRequired *string `pulumi:"actionsRequired"`
- // The reason for approval/rejection of the connection.
- Description *string `pulumi:"description"`
- // Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- Status *string `pulumi:"status"`
+// The extended location of the public ip address.
+func (o PublicIPAddressResponseV2Output) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
}
-// A collection of information about the state of the connection between service consumer and provider.
-type PrivateLinkServiceConnectionStateResponseOutput struct{ *pulumi.OutputState }
+// Resource ID.
+func (o PublicIPAddressResponseV2Output) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
-func (PrivateLinkServiceConnectionStateResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServiceConnectionStateResponse)(nil)).Elem()
+// The idle timeout of the public IP address.
+func (o PublicIPAddressResponseV2Output) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-func (o PrivateLinkServiceConnectionStateResponseOutput) ToPrivateLinkServiceConnectionStateResponseOutput() PrivateLinkServiceConnectionStateResponseOutput {
- return o
+// The IP address associated with the public IP address resource.
+func (o PublicIPAddressResponseV2Output) IpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServiceConnectionStateResponseOutput) ToPrivateLinkServiceConnectionStateResponseOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponseOutput {
- return o
+// The IP configuration associated with the public IP address.
+func (o PublicIPAddressResponseV2Output) IpConfiguration() IPConfigurationVirtualNetworkApplianceResponseOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) IPConfigurationVirtualNetworkApplianceResponse {
+ return v.IpConfiguration
+ }).(IPConfigurationVirtualNetworkApplianceResponseOutput)
}
-// A message indicating if changes on the service provider require any updates on the consumer.
-func (o PrivateLinkServiceConnectionStateResponseOutput) ActionsRequired() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) *string { return v.ActionsRequired }).(pulumi.StringPtrOutput)
+// The list of tags associated with the public IP address.
+func (o PublicIPAddressResponseV2Output) IpTags() IpTagResponseArrayOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) []IpTagResponse { return v.IpTags }).(IpTagResponseArrayOutput)
}
-// The reason for approval/rejection of the connection.
-func (o PrivateLinkServiceConnectionStateResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+// The linked public IP address of the public IP address resource.
+func (o PublicIPAddressResponseV2Output) LinkedPublicIPAddress() PublicIPAddressVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) *PublicIPAddressVirtualNetworkApplianceResponse {
+ return v.LinkedPublicIPAddress
+ }).(PublicIPAddressVirtualNetworkApplianceResponsePtrOutput)
}
-// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
-func (o PrivateLinkServiceConnectionStateResponseOutput) Status() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceConnectionStateResponse) *string { return v.Status }).(pulumi.StringPtrOutput)
+// Resource location.
+func (o PublicIPAddressResponseV2Output) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-type PrivateLinkServiceConnectionStateResponsePtrOutput struct{ *pulumi.OutputState }
+// Migration phase of Public IP Address.
+func (o PublicIPAddressResponseV2Output) MigrationPhase() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) *string { return v.MigrationPhase }).(pulumi.StringPtrOutput)
+}
-func (PrivateLinkServiceConnectionStateResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PrivateLinkServiceConnectionStateResponse)(nil)).Elem()
+// Resource name.
+func (o PublicIPAddressResponseV2Output) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) string { return v.Name }).(pulumi.StringOutput)
}
-func (o PrivateLinkServiceConnectionStateResponsePtrOutput) ToPrivateLinkServiceConnectionStateResponsePtrOutput() PrivateLinkServiceConnectionStateResponsePtrOutput {
+// The NatGateway for the Public IP address.
+func (o PublicIPAddressResponseV2Output) NatGateway() NatGatewayVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) *NatGatewayVirtualNetworkApplianceResponse { return v.NatGateway }).(NatGatewayVirtualNetworkApplianceResponsePtrOutput)
+}
+
+// The provisioning state of the public IP address resource.
+func (o PublicIPAddressResponseV2Output) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
+
+// The public IP address version.
+func (o PublicIPAddressResponseV2Output) PublicIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) *string { return v.PublicIPAddressVersion }).(pulumi.StringPtrOutput)
+}
+
+// The public IP address allocation method.
+func (o PublicIPAddressResponseV2Output) PublicIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) *string { return v.PublicIPAllocationMethod }).(pulumi.StringPtrOutput)
+}
+
+// The Public IP Prefix this Public IP Address should be allocated from.
+func (o PublicIPAddressResponseV2Output) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) *SubResourceResponse { return v.PublicIPPrefix }).(SubResourceResponsePtrOutput)
+}
+
+// The resource GUID property of the public IP address resource.
+func (o PublicIPAddressResponseV2Output) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) string { return v.ResourceGuid }).(pulumi.StringOutput)
+}
+
+// The service public IP address of the public IP address resource.
+func (o PublicIPAddressResponseV2Output) ServicePublicIPAddress() PublicIPAddressVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) *PublicIPAddressVirtualNetworkApplianceResponse {
+ return v.ServicePublicIPAddress
+ }).(PublicIPAddressVirtualNetworkApplianceResponsePtrOutput)
+}
+
+// The public IP address SKU.
+func (o PublicIPAddressResponseV2Output) Sku() PublicIPAddressSkuResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) *PublicIPAddressSkuResponse { return v.Sku }).(PublicIPAddressSkuResponsePtrOutput)
+}
+
+// Resource tags.
+func (o PublicIPAddressResponseV2Output) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+}
+
+// Resource type.
+func (o PublicIPAddressResponseV2Output) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) string { return v.Type }).(pulumi.StringOutput)
+}
+
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o PublicIPAddressResponseV2Output) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PublicIPAddressResponseV2) []string { return v.Zones }).(pulumi.StringArrayOutput)
+}
+
+type PublicIPAddressResponseV2PtrOutput struct{ *pulumi.OutputState }
+
+func (PublicIPAddressResponseV2PtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPAddressResponseV2)(nil)).Elem()
+}
+
+func (o PublicIPAddressResponseV2PtrOutput) ToPublicIPAddressResponseV2PtrOutput() PublicIPAddressResponseV2PtrOutput {
return o
}
-func (o PrivateLinkServiceConnectionStateResponsePtrOutput) ToPrivateLinkServiceConnectionStateResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServiceConnectionStateResponsePtrOutput {
+func (o PublicIPAddressResponseV2PtrOutput) ToPublicIPAddressResponseV2PtrOutputWithContext(ctx context.Context) PublicIPAddressResponseV2PtrOutput {
return o
}
-func (o PrivateLinkServiceConnectionStateResponsePtrOutput) Elem() PrivateLinkServiceConnectionStateResponseOutput {
- return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) PrivateLinkServiceConnectionStateResponse {
+func (o PublicIPAddressResponseV2PtrOutput) Elem() PublicIPAddressResponseV2Output {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) PublicIPAddressResponseV2 {
if v != nil {
return *v
}
- var ret PrivateLinkServiceConnectionStateResponse
+ var ret PublicIPAddressResponseV2
return ret
- }).(PrivateLinkServiceConnectionStateResponseOutput)
+ }).(PublicIPAddressResponseV2Output)
}
-// A message indicating if changes on the service provider require any updates on the consumer.
-func (o PrivateLinkServiceConnectionStateResponsePtrOutput) ActionsRequired() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) *string {
+// The DDoS protection custom policy associated with the public IP address.
+func (o PublicIPAddressResponseV2PtrOutput) DdosSettings() DdosSettingsResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *DdosSettingsResponse {
if v == nil {
return nil
}
- return v.ActionsRequired
- }).(pulumi.StringPtrOutput)
+ return v.DdosSettings
+ }).(DdosSettingsResponsePtrOutput)
}
-// The reason for approval/rejection of the connection.
-func (o PrivateLinkServiceConnectionStateResponsePtrOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) *string {
+// Specify what happens to the public IP address when the VM using it is deleted
+func (o PublicIPAddressResponseV2PtrOutput) DeleteOption() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *string {
if v == nil {
return nil
}
- return v.Description
+ return v.DeleteOption
}).(pulumi.StringPtrOutput)
}
-// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
-func (o PrivateLinkServiceConnectionStateResponsePtrOutput) Status() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceConnectionStateResponse) *string {
+// The FQDN of the DNS record associated with the public IP address.
+func (o PublicIPAddressResponseV2PtrOutput) DnsSettings() PublicIPAddressDnsSettingsResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *PublicIPAddressDnsSettingsResponse {
if v == nil {
return nil
}
- return v.Status
+ return v.DnsSettings
+ }).(PublicIPAddressDnsSettingsResponsePtrOutput)
+}
+
+// A unique read-only string that changes whenever the resource is updated.
+func (o PublicIPAddressResponseV2PtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
}).(pulumi.StringPtrOutput)
}
-// The private link service ip configuration.
-type PrivateLinkServiceIpConfiguration struct {
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of private link service ip configuration.
- Name *string `pulumi:"name"`
- // Whether the ip configuration is primary or not.
- Primary *bool `pulumi:"primary"`
- // The private IP address of the IP configuration.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
- PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
- // The private IP address allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // The reference to the subnet resource.
- Subnet *SubnetType `pulumi:"subnet"`
+// The extended location of the public ip address.
+func (o PublicIPAddressResponseV2PtrOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *ExtendedLocationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ExtendedLocation
+ }).(ExtendedLocationResponsePtrOutput)
}
-// Defaults sets the appropriate defaults for PrivateLinkServiceIpConfiguration
-func (val *PrivateLinkServiceIpConfiguration) Defaults() *PrivateLinkServiceIpConfiguration {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.Subnet = tmp.Subnet.Defaults()
-
- return &tmp
-}
-
-// PrivateLinkServiceIpConfigurationInput is an input type that accepts PrivateLinkServiceIpConfigurationArgs and PrivateLinkServiceIpConfigurationOutput values.
-// You can construct a concrete instance of `PrivateLinkServiceIpConfigurationInput` via:
-//
-// PrivateLinkServiceIpConfigurationArgs{...}
-type PrivateLinkServiceIpConfigurationInput interface {
- pulumi.Input
-
- ToPrivateLinkServiceIpConfigurationOutput() PrivateLinkServiceIpConfigurationOutput
- ToPrivateLinkServiceIpConfigurationOutputWithContext(context.Context) PrivateLinkServiceIpConfigurationOutput
-}
-
-// The private link service ip configuration.
-type PrivateLinkServiceIpConfigurationArgs struct {
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The name of private link service ip configuration.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Whether the ip configuration is primary or not.
- Primary pulumi.BoolPtrInput `pulumi:"primary"`
- // The private IP address of the IP configuration.
- PrivateIPAddress pulumi.StringPtrInput `pulumi:"privateIPAddress"`
- // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
- PrivateIPAddressVersion pulumi.StringPtrInput `pulumi:"privateIPAddressVersion"`
- // The private IP address allocation method.
- PrivateIPAllocationMethod pulumi.StringPtrInput `pulumi:"privateIPAllocationMethod"`
- // The reference to the subnet resource.
- Subnet SubnetTypePtrInput `pulumi:"subnet"`
-}
-
-// Defaults sets the appropriate defaults for PrivateLinkServiceIpConfigurationArgs
-func (val *PrivateLinkServiceIpConfigurationArgs) Defaults() *PrivateLinkServiceIpConfigurationArgs {
- if val == nil {
- return nil
- }
- tmp := *val
-
- return &tmp
-}
-func (PrivateLinkServiceIpConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServiceIpConfiguration)(nil)).Elem()
-}
-
-func (i PrivateLinkServiceIpConfigurationArgs) ToPrivateLinkServiceIpConfigurationOutput() PrivateLinkServiceIpConfigurationOutput {
- return i.ToPrivateLinkServiceIpConfigurationOutputWithContext(context.Background())
+// Resource ID.
+func (o PublicIPAddressResponseV2PtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (i PrivateLinkServiceIpConfigurationArgs) ToPrivateLinkServiceIpConfigurationOutputWithContext(ctx context.Context) PrivateLinkServiceIpConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceIpConfigurationOutput)
+// The idle timeout of the public IP address.
+func (o PublicIPAddressResponseV2PtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *int {
+ if v == nil {
+ return nil
+ }
+ return v.IdleTimeoutInMinutes
+ }).(pulumi.IntPtrOutput)
}
-// PrivateLinkServiceIpConfigurationArrayInput is an input type that accepts PrivateLinkServiceIpConfigurationArray and PrivateLinkServiceIpConfigurationArrayOutput values.
-// You can construct a concrete instance of `PrivateLinkServiceIpConfigurationArrayInput` via:
-//
-// PrivateLinkServiceIpConfigurationArray{ PrivateLinkServiceIpConfigurationArgs{...} }
-type PrivateLinkServiceIpConfigurationArrayInput interface {
- pulumi.Input
-
- ToPrivateLinkServiceIpConfigurationArrayOutput() PrivateLinkServiceIpConfigurationArrayOutput
- ToPrivateLinkServiceIpConfigurationArrayOutputWithContext(context.Context) PrivateLinkServiceIpConfigurationArrayOutput
+// The IP address associated with the public IP address resource.
+func (o PublicIPAddressResponseV2PtrOutput) IpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return v.IpAddress
+ }).(pulumi.StringPtrOutput)
}
-type PrivateLinkServiceIpConfigurationArray []PrivateLinkServiceIpConfigurationInput
-
-func (PrivateLinkServiceIpConfigurationArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PrivateLinkServiceIpConfiguration)(nil)).Elem()
+// The IP configuration associated with the public IP address.
+func (o PublicIPAddressResponseV2PtrOutput) IpConfiguration() IPConfigurationVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *IPConfigurationVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return &v.IpConfiguration
+ }).(IPConfigurationVirtualNetworkApplianceResponsePtrOutput)
}
-func (i PrivateLinkServiceIpConfigurationArray) ToPrivateLinkServiceIpConfigurationArrayOutput() PrivateLinkServiceIpConfigurationArrayOutput {
- return i.ToPrivateLinkServiceIpConfigurationArrayOutputWithContext(context.Background())
+// The list of tags associated with the public IP address.
+func (o PublicIPAddressResponseV2PtrOutput) IpTags() IpTagResponseArrayOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) []IpTagResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpTags
+ }).(IpTagResponseArrayOutput)
}
-func (i PrivateLinkServiceIpConfigurationArray) ToPrivateLinkServiceIpConfigurationArrayOutputWithContext(ctx context.Context) PrivateLinkServiceIpConfigurationArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServiceIpConfigurationArrayOutput)
+// The linked public IP address of the public IP address resource.
+func (o PublicIPAddressResponseV2PtrOutput) LinkedPublicIPAddress() PublicIPAddressVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *PublicIPAddressVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.LinkedPublicIPAddress
+ }).(PublicIPAddressVirtualNetworkApplianceResponsePtrOutput)
}
-// The private link service ip configuration.
-type PrivateLinkServiceIpConfigurationOutput struct{ *pulumi.OutputState }
-
-func (PrivateLinkServiceIpConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServiceIpConfiguration)(nil)).Elem()
+// Resource location.
+func (o PublicIPAddressResponseV2PtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServiceIpConfigurationOutput) ToPrivateLinkServiceIpConfigurationOutput() PrivateLinkServiceIpConfigurationOutput {
- return o
+// Migration phase of Public IP Address.
+func (o PublicIPAddressResponseV2PtrOutput) MigrationPhase() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return v.MigrationPhase
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServiceIpConfigurationOutput) ToPrivateLinkServiceIpConfigurationOutputWithContext(ctx context.Context) PrivateLinkServiceIpConfigurationOutput {
- return o
+// Resource name.
+func (o PublicIPAddressResponseV2PtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-// Resource ID.
-func (o PrivateLinkServiceIpConfigurationOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfiguration) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The NatGateway for the Public IP address.
+func (o PublicIPAddressResponseV2PtrOutput) NatGateway() NatGatewayVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *NatGatewayVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.NatGateway
+ }).(NatGatewayVirtualNetworkApplianceResponsePtrOutput)
}
-// The name of private link service ip configuration.
-func (o PrivateLinkServiceIpConfigurationOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfiguration) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The provisioning state of the public IP address resource.
+func (o PublicIPAddressResponseV2PtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// Whether the ip configuration is primary or not.
-func (o PrivateLinkServiceIpConfigurationOutput) Primary() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfiguration) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
+// The public IP address version.
+func (o PublicIPAddressResponseV2PtrOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAddressVersion
+ }).(pulumi.StringPtrOutput)
}
-// The private IP address of the IP configuration.
-func (o PrivateLinkServiceIpConfigurationOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfiguration) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+// The public IP address allocation method.
+func (o PublicIPAddressResponseV2PtrOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
}
-// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
-func (o PrivateLinkServiceIpConfigurationOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfiguration) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
+// The Public IP Prefix this Public IP Address should be allocated from.
+func (o PublicIPAddressResponseV2PtrOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPPrefix
+ }).(SubResourceResponsePtrOutput)
}
-// The private IP address allocation method.
-func (o PrivateLinkServiceIpConfigurationOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfiguration) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+// The resource GUID property of the public IP address resource.
+func (o PublicIPAddressResponseV2PtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
}
-// The reference to the subnet resource.
-func (o PrivateLinkServiceIpConfigurationOutput) Subnet() SubnetTypePtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfiguration) *SubnetType { return v.Subnet }).(SubnetTypePtrOutput)
+// The service public IP address of the public IP address resource.
+func (o PublicIPAddressResponseV2PtrOutput) ServicePublicIPAddress() PublicIPAddressVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *PublicIPAddressVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServicePublicIPAddress
+ }).(PublicIPAddressVirtualNetworkApplianceResponsePtrOutput)
}
-type PrivateLinkServiceIpConfigurationArrayOutput struct{ *pulumi.OutputState }
-
-func (PrivateLinkServiceIpConfigurationArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PrivateLinkServiceIpConfiguration)(nil)).Elem()
+// The public IP address SKU.
+func (o PublicIPAddressResponseV2PtrOutput) Sku() PublicIPAddressSkuResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *PublicIPAddressSkuResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Sku
+ }).(PublicIPAddressSkuResponsePtrOutput)
}
-func (o PrivateLinkServiceIpConfigurationArrayOutput) ToPrivateLinkServiceIpConfigurationArrayOutput() PrivateLinkServiceIpConfigurationArrayOutput {
- return o
+// Resource tags.
+func (o PublicIPAddressResponseV2PtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-func (o PrivateLinkServiceIpConfigurationArrayOutput) ToPrivateLinkServiceIpConfigurationArrayOutputWithContext(ctx context.Context) PrivateLinkServiceIpConfigurationArrayOutput {
- return o
+// Resource type.
+func (o PublicIPAddressResponseV2PtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServiceIpConfigurationArrayOutput) Index(i pulumi.IntInput) PrivateLinkServiceIpConfigurationOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateLinkServiceIpConfiguration {
- return vs[0].([]PrivateLinkServiceIpConfiguration)[vs[1].(int)]
- }).(PrivateLinkServiceIpConfigurationOutput)
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o PublicIPAddressResponseV2PtrOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PublicIPAddressResponseV2) []string {
+ if v == nil {
+ return nil
+ }
+ return v.Zones
+ }).(pulumi.StringArrayOutput)
}
-// The private link service ip configuration.
-type PrivateLinkServiceIpConfigurationResponse struct {
+// Public IP address resource.
+type PublicIPAddressServiceGatewayResponse struct {
+ // The DDoS protection custom policy associated with the public IP address.
+ DdosSettings *DdosSettingsResponse `pulumi:"ddosSettings"`
+ // Specify what happens to the public IP address when the VM using it is deleted
+ DeleteOption *string `pulumi:"deleteOption"`
+ // The FQDN of the DNS record associated with the public IP address.
+ DnsSettings *PublicIPAddressDnsSettingsResponse `pulumi:"dnsSettings"`
// A unique read-only string that changes whenever the resource is updated.
Etag string `pulumi:"etag"`
+ // The extended location of the public ip address.
+ ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
// Resource ID.
Id *string `pulumi:"id"`
- // The name of private link service ip configuration.
- Name *string `pulumi:"name"`
- // Whether the ip configuration is primary or not.
- Primary *bool `pulumi:"primary"`
- // The private IP address of the IP configuration.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
- PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
- // The private IP address allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // The provisioning state of the private link service IP configuration resource.
+ // The idle timeout of the public IP address.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // The IP address associated with the public IP address resource.
+ IpAddress *string `pulumi:"ipAddress"`
+ // The IP configuration associated with the public IP address.
+ IpConfiguration IPConfigurationResponse `pulumi:"ipConfiguration"`
+ // The list of tags associated with the public IP address.
+ IpTags []IpTagResponse `pulumi:"ipTags"`
+ // The linked public IP address of the public IP address resource.
+ LinkedPublicIPAddress *PublicIPAddressResponse `pulumi:"linkedPublicIPAddress"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Migration phase of Public IP Address.
+ MigrationPhase *string `pulumi:"migrationPhase"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The NatGateway for the Public IP address.
+ NatGateway *NatGatewayServiceGatewayResponse `pulumi:"natGateway"`
+ // The provisioning state of the public IP address resource.
ProvisioningState string `pulumi:"provisioningState"`
- // The reference to the subnet resource.
- Subnet *SubnetResponse `pulumi:"subnet"`
- // The resource type.
+ // The public IP address version.
+ PublicIPAddressVersion *string `pulumi:"publicIPAddressVersion"`
+ // The public IP address allocation method.
+ PublicIPAllocationMethod *string `pulumi:"publicIPAllocationMethod"`
+ // The Public IP Prefix this Public IP Address should be allocated from.
+ PublicIPPrefix *SubResourceResponse `pulumi:"publicIPPrefix"`
+ // The resource GUID property of the public IP address resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // The service public IP address of the public IP address resource.
+ ServicePublicIPAddress *PublicIPAddressResponse `pulumi:"servicePublicIPAddress"`
+ // The public IP address SKU.
+ Sku *PublicIPAddressSkuResponse `pulumi:"sku"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
Type string `pulumi:"type"`
+ // A list of availability zones denoting the IP allocated for the resource needs to come from.
+ Zones []string `pulumi:"zones"`
}
-// Defaults sets the appropriate defaults for PrivateLinkServiceIpConfigurationResponse
-func (val *PrivateLinkServiceIpConfigurationResponse) Defaults() *PrivateLinkServiceIpConfigurationResponse {
+// Defaults sets the appropriate defaults for PublicIPAddressServiceGatewayResponse
+func (val *PublicIPAddressServiceGatewayResponse) Defaults() *PublicIPAddressServiceGatewayResponse {
if val == nil {
return nil
}
tmp := *val
- tmp.Subnet = tmp.Subnet.Defaults()
+ tmp.IpConfiguration = *tmp.IpConfiguration.Defaults()
+
+ tmp.LinkedPublicIPAddress = tmp.LinkedPublicIPAddress.Defaults()
+
+ tmp.ServicePublicIPAddress = tmp.ServicePublicIPAddress.Defaults()
return &tmp
}
-// The private link service ip configuration.
-type PrivateLinkServiceIpConfigurationResponseOutput struct{ *pulumi.OutputState }
+// Public IP address resource.
+type PublicIPAddressServiceGatewayResponseOutput struct{ *pulumi.OutputState }
-func (PrivateLinkServiceIpConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServiceIpConfigurationResponse)(nil)).Elem()
+func (PublicIPAddressServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPAddressServiceGatewayResponse)(nil)).Elem()
}
-func (o PrivateLinkServiceIpConfigurationResponseOutput) ToPrivateLinkServiceIpConfigurationResponseOutput() PrivateLinkServiceIpConfigurationResponseOutput {
+func (o PublicIPAddressServiceGatewayResponseOutput) ToPublicIPAddressServiceGatewayResponseOutput() PublicIPAddressServiceGatewayResponseOutput {
return o
}
-func (o PrivateLinkServiceIpConfigurationResponseOutput) ToPrivateLinkServiceIpConfigurationResponseOutputWithContext(ctx context.Context) PrivateLinkServiceIpConfigurationResponseOutput {
+func (o PublicIPAddressServiceGatewayResponseOutput) ToPublicIPAddressServiceGatewayResponseOutputWithContext(ctx context.Context) PublicIPAddressServiceGatewayResponseOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o PrivateLinkServiceIpConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
-
-// Resource ID.
-func (o PrivateLinkServiceIpConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// The name of private link service ip configuration.
-func (o PrivateLinkServiceIpConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The DDoS protection custom policy associated with the public IP address.
+func (o PublicIPAddressServiceGatewayResponseOutput) DdosSettings() DdosSettingsResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) *DdosSettingsResponse { return v.DdosSettings }).(DdosSettingsResponsePtrOutput)
}
-// Whether the ip configuration is primary or not.
-func (o PrivateLinkServiceIpConfigurationResponseOutput) Primary() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
+// Specify what happens to the public IP address when the VM using it is deleted
+func (o PublicIPAddressServiceGatewayResponseOutput) DeleteOption() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) *string { return v.DeleteOption }).(pulumi.StringPtrOutput)
}
-// The private IP address of the IP configuration.
-func (o PrivateLinkServiceIpConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+// The FQDN of the DNS record associated with the public IP address.
+func (o PublicIPAddressServiceGatewayResponseOutput) DnsSettings() PublicIPAddressDnsSettingsResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) *PublicIPAddressDnsSettingsResponse {
+ return v.DnsSettings
+ }).(PublicIPAddressDnsSettingsResponsePtrOutput)
}
-// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
-func (o PrivateLinkServiceIpConfigurationResponseOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o PublicIPAddressServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// The private IP address allocation method.
-func (o PrivateLinkServiceIpConfigurationResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+// The extended location of the public ip address.
+func (o PublicIPAddressServiceGatewayResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
}
-// The provisioning state of the private link service IP configuration resource.
-func (o PrivateLinkServiceIpConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Resource ID.
+func (o PublicIPAddressServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The reference to the subnet resource.
-func (o PrivateLinkServiceIpConfigurationResponseOutput) Subnet() SubnetResponsePtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) *SubnetResponse { return v.Subnet }).(SubnetResponsePtrOutput)
+// The idle timeout of the public IP address.
+func (o PublicIPAddressServiceGatewayResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-// The resource type.
-func (o PrivateLinkServiceIpConfigurationResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateLinkServiceIpConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
+// The IP address associated with the public IP address resource.
+func (o PublicIPAddressServiceGatewayResponseOutput) IpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
}
-type PrivateLinkServiceIpConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (PrivateLinkServiceIpConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]PrivateLinkServiceIpConfigurationResponse)(nil)).Elem()
+// The IP configuration associated with the public IP address.
+func (o PublicIPAddressServiceGatewayResponseOutput) IpConfiguration() IPConfigurationResponseOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) IPConfigurationResponse { return v.IpConfiguration }).(IPConfigurationResponseOutput)
}
-func (o PrivateLinkServiceIpConfigurationResponseArrayOutput) ToPrivateLinkServiceIpConfigurationResponseArrayOutput() PrivateLinkServiceIpConfigurationResponseArrayOutput {
- return o
+// The list of tags associated with the public IP address.
+func (o PublicIPAddressServiceGatewayResponseOutput) IpTags() IpTagResponseArrayOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) []IpTagResponse { return v.IpTags }).(IpTagResponseArrayOutput)
}
-func (o PrivateLinkServiceIpConfigurationResponseArrayOutput) ToPrivateLinkServiceIpConfigurationResponseArrayOutputWithContext(ctx context.Context) PrivateLinkServiceIpConfigurationResponseArrayOutput {
- return o
+// The linked public IP address of the public IP address resource.
+func (o PublicIPAddressServiceGatewayResponseOutput) LinkedPublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) *PublicIPAddressResponse { return v.LinkedPublicIPAddress }).(PublicIPAddressResponsePtrOutput)
}
-func (o PrivateLinkServiceIpConfigurationResponseArrayOutput) Index(i pulumi.IntInput) PrivateLinkServiceIpConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrivateLinkServiceIpConfigurationResponse {
- return vs[0].([]PrivateLinkServiceIpConfigurationResponse)[vs[1].(int)]
- }).(PrivateLinkServiceIpConfigurationResponseOutput)
+// Resource location.
+func (o PublicIPAddressServiceGatewayResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// The auto-approval list of the private link service.
-type PrivateLinkServicePropertiesAutoApproval struct {
- // The list of subscriptions.
- Subscriptions []string `pulumi:"subscriptions"`
+// Migration phase of Public IP Address.
+func (o PublicIPAddressServiceGatewayResponseOutput) MigrationPhase() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) *string { return v.MigrationPhase }).(pulumi.StringPtrOutput)
}
-// PrivateLinkServicePropertiesAutoApprovalInput is an input type that accepts PrivateLinkServicePropertiesAutoApprovalArgs and PrivateLinkServicePropertiesAutoApprovalOutput values.
-// You can construct a concrete instance of `PrivateLinkServicePropertiesAutoApprovalInput` via:
-//
-// PrivateLinkServicePropertiesAutoApprovalArgs{...}
-type PrivateLinkServicePropertiesAutoApprovalInput interface {
- pulumi.Input
-
- ToPrivateLinkServicePropertiesAutoApprovalOutput() PrivateLinkServicePropertiesAutoApprovalOutput
- ToPrivateLinkServicePropertiesAutoApprovalOutputWithContext(context.Context) PrivateLinkServicePropertiesAutoApprovalOutput
+// Resource name.
+func (o PublicIPAddressServiceGatewayResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// The auto-approval list of the private link service.
-type PrivateLinkServicePropertiesAutoApprovalArgs struct {
- // The list of subscriptions.
- Subscriptions pulumi.StringArrayInput `pulumi:"subscriptions"`
+// The NatGateway for the Public IP address.
+func (o PublicIPAddressServiceGatewayResponseOutput) NatGateway() NatGatewayServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) *NatGatewayServiceGatewayResponse { return v.NatGateway }).(NatGatewayServiceGatewayResponsePtrOutput)
}
-func (PrivateLinkServicePropertiesAutoApprovalArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServicePropertiesAutoApproval)(nil)).Elem()
+// The provisioning state of the public IP address resource.
+func (o PublicIPAddressServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i PrivateLinkServicePropertiesAutoApprovalArgs) ToPrivateLinkServicePropertiesAutoApprovalOutput() PrivateLinkServicePropertiesAutoApprovalOutput {
- return i.ToPrivateLinkServicePropertiesAutoApprovalOutputWithContext(context.Background())
+// The public IP address version.
+func (o PublicIPAddressServiceGatewayResponseOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) *string { return v.PublicIPAddressVersion }).(pulumi.StringPtrOutput)
}
-func (i PrivateLinkServicePropertiesAutoApprovalArgs) ToPrivateLinkServicePropertiesAutoApprovalOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesAutoApprovalOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServicePropertiesAutoApprovalOutput)
+// The public IP address allocation method.
+func (o PublicIPAddressServiceGatewayResponseOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) *string { return v.PublicIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-func (i PrivateLinkServicePropertiesAutoApprovalArgs) ToPrivateLinkServicePropertiesAutoApprovalPtrOutput() PrivateLinkServicePropertiesAutoApprovalPtrOutput {
- return i.ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(context.Background())
+// The Public IP Prefix this Public IP Address should be allocated from.
+func (o PublicIPAddressServiceGatewayResponseOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) *SubResourceResponse { return v.PublicIPPrefix }).(SubResourceResponsePtrOutput)
}
-func (i PrivateLinkServicePropertiesAutoApprovalArgs) ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesAutoApprovalPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServicePropertiesAutoApprovalOutput).ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(ctx)
+// The resource GUID property of the public IP address resource.
+func (o PublicIPAddressServiceGatewayResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// PrivateLinkServicePropertiesAutoApprovalPtrInput is an input type that accepts PrivateLinkServicePropertiesAutoApprovalArgs, PrivateLinkServicePropertiesAutoApprovalPtr and PrivateLinkServicePropertiesAutoApprovalPtrOutput values.
-// You can construct a concrete instance of `PrivateLinkServicePropertiesAutoApprovalPtrInput` via:
-//
-// PrivateLinkServicePropertiesAutoApprovalArgs{...}
-//
-// or:
-//
-// nil
-type PrivateLinkServicePropertiesAutoApprovalPtrInput interface {
- pulumi.Input
-
- ToPrivateLinkServicePropertiesAutoApprovalPtrOutput() PrivateLinkServicePropertiesAutoApprovalPtrOutput
- ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(context.Context) PrivateLinkServicePropertiesAutoApprovalPtrOutput
+// The service public IP address of the public IP address resource.
+func (o PublicIPAddressServiceGatewayResponseOutput) ServicePublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) *PublicIPAddressResponse {
+ return v.ServicePublicIPAddress
+ }).(PublicIPAddressResponsePtrOutput)
}
-type privateLinkServicePropertiesAutoApprovalPtrType PrivateLinkServicePropertiesAutoApprovalArgs
-
-func PrivateLinkServicePropertiesAutoApprovalPtr(v *PrivateLinkServicePropertiesAutoApprovalArgs) PrivateLinkServicePropertiesAutoApprovalPtrInput {
- return (*privateLinkServicePropertiesAutoApprovalPtrType)(v)
+// The public IP address SKU.
+func (o PublicIPAddressServiceGatewayResponseOutput) Sku() PublicIPAddressSkuResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) *PublicIPAddressSkuResponse { return v.Sku }).(PublicIPAddressSkuResponsePtrOutput)
}
-func (*privateLinkServicePropertiesAutoApprovalPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PrivateLinkServicePropertiesAutoApproval)(nil)).Elem()
+// Resource tags.
+func (o PublicIPAddressServiceGatewayResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (i *privateLinkServicePropertiesAutoApprovalPtrType) ToPrivateLinkServicePropertiesAutoApprovalPtrOutput() PrivateLinkServicePropertiesAutoApprovalPtrOutput {
- return i.ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(context.Background())
+// Resource type.
+func (o PublicIPAddressServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (i *privateLinkServicePropertiesAutoApprovalPtrType) ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesAutoApprovalPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServicePropertiesAutoApprovalPtrOutput)
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o PublicIPAddressServiceGatewayResponseOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PublicIPAddressServiceGatewayResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
}
-// The auto-approval list of the private link service.
-type PrivateLinkServicePropertiesAutoApprovalOutput struct{ *pulumi.OutputState }
+type PublicIPAddressServiceGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-func (PrivateLinkServicePropertiesAutoApprovalOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServicePropertiesAutoApproval)(nil)).Elem()
+func (PublicIPAddressServiceGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPAddressServiceGatewayResponse)(nil)).Elem()
}
-func (o PrivateLinkServicePropertiesAutoApprovalOutput) ToPrivateLinkServicePropertiesAutoApprovalOutput() PrivateLinkServicePropertiesAutoApprovalOutput {
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) ToPublicIPAddressServiceGatewayResponsePtrOutput() PublicIPAddressServiceGatewayResponsePtrOutput {
return o
}
-func (o PrivateLinkServicePropertiesAutoApprovalOutput) ToPrivateLinkServicePropertiesAutoApprovalOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesAutoApprovalOutput {
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) ToPublicIPAddressServiceGatewayResponsePtrOutputWithContext(ctx context.Context) PublicIPAddressServiceGatewayResponsePtrOutput {
return o
}
-func (o PrivateLinkServicePropertiesAutoApprovalOutput) ToPrivateLinkServicePropertiesAutoApprovalPtrOutput() PrivateLinkServicePropertiesAutoApprovalPtrOutput {
- return o.ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(context.Background())
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) Elem() PublicIPAddressServiceGatewayResponseOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) PublicIPAddressServiceGatewayResponse {
+ if v != nil {
+ return *v
+ }
+ var ret PublicIPAddressServiceGatewayResponse
+ return ret
+ }).(PublicIPAddressServiceGatewayResponseOutput)
}
-func (o PrivateLinkServicePropertiesAutoApprovalOutput) ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesAutoApprovalPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PrivateLinkServicePropertiesAutoApproval) *PrivateLinkServicePropertiesAutoApproval {
- return &v
- }).(PrivateLinkServicePropertiesAutoApprovalPtrOutput)
+// The DDoS protection custom policy associated with the public IP address.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) DdosSettings() DdosSettingsResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *DdosSettingsResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DdosSettings
+ }).(DdosSettingsResponsePtrOutput)
}
-// The list of subscriptions.
-func (o PrivateLinkServicePropertiesAutoApprovalOutput) Subscriptions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PrivateLinkServicePropertiesAutoApproval) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
+// Specify what happens to the public IP address when the VM using it is deleted
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) DeleteOption() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DeleteOption
+ }).(pulumi.StringPtrOutput)
}
-type PrivateLinkServicePropertiesAutoApprovalPtrOutput struct{ *pulumi.OutputState }
+// The FQDN of the DNS record associated with the public IP address.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) DnsSettings() PublicIPAddressDnsSettingsResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *PublicIPAddressDnsSettingsResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DnsSettings
+ }).(PublicIPAddressDnsSettingsResponsePtrOutput)
+}
-func (PrivateLinkServicePropertiesAutoApprovalPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PrivateLinkServicePropertiesAutoApproval)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServicePropertiesAutoApprovalPtrOutput) ToPrivateLinkServicePropertiesAutoApprovalPtrOutput() PrivateLinkServicePropertiesAutoApprovalPtrOutput {
- return o
+// The extended location of the public ip address.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *ExtendedLocationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ExtendedLocation
+ }).(ExtendedLocationResponsePtrOutput)
}
-func (o PrivateLinkServicePropertiesAutoApprovalPtrOutput) ToPrivateLinkServicePropertiesAutoApprovalPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesAutoApprovalPtrOutput {
- return o
+// Resource ID.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServicePropertiesAutoApprovalPtrOutput) Elem() PrivateLinkServicePropertiesAutoApprovalOutput {
- return o.ApplyT(func(v *PrivateLinkServicePropertiesAutoApproval) PrivateLinkServicePropertiesAutoApproval {
- if v != nil {
- return *v
+// The idle timeout of the public IP address.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *int {
+ if v == nil {
+ return nil
}
- var ret PrivateLinkServicePropertiesAutoApproval
- return ret
- }).(PrivateLinkServicePropertiesAutoApprovalOutput)
+ return v.IdleTimeoutInMinutes
+ }).(pulumi.IntPtrOutput)
}
-// The list of subscriptions.
-func (o PrivateLinkServicePropertiesAutoApprovalPtrOutput) Subscriptions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PrivateLinkServicePropertiesAutoApproval) []string {
+// The IP address associated with the public IP address resource.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) IpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *string {
if v == nil {
return nil
}
- return v.Subscriptions
- }).(pulumi.StringArrayOutput)
+ return v.IpAddress
+ }).(pulumi.StringPtrOutput)
}
-// The auto-approval list of the private link service.
-type PrivateLinkServicePropertiesResponseAutoApproval struct {
- // The list of subscriptions.
- Subscriptions []string `pulumi:"subscriptions"`
-}
-
-// The auto-approval list of the private link service.
-type PrivateLinkServicePropertiesResponseAutoApprovalOutput struct{ *pulumi.OutputState }
-
-func (PrivateLinkServicePropertiesResponseAutoApprovalOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServicePropertiesResponseAutoApproval)(nil)).Elem()
-}
-
-func (o PrivateLinkServicePropertiesResponseAutoApprovalOutput) ToPrivateLinkServicePropertiesResponseAutoApprovalOutput() PrivateLinkServicePropertiesResponseAutoApprovalOutput {
- return o
-}
-
-func (o PrivateLinkServicePropertiesResponseAutoApprovalOutput) ToPrivateLinkServicePropertiesResponseAutoApprovalOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesResponseAutoApprovalOutput {
- return o
+// The IP configuration associated with the public IP address.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) IpConfiguration() IPConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *IPConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return &v.IpConfiguration
+ }).(IPConfigurationResponsePtrOutput)
}
-// The list of subscriptions.
-func (o PrivateLinkServicePropertiesResponseAutoApprovalOutput) Subscriptions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PrivateLinkServicePropertiesResponseAutoApproval) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
+// The list of tags associated with the public IP address.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) IpTags() IpTagResponseArrayOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) []IpTagResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpTags
+ }).(IpTagResponseArrayOutput)
}
-type PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput struct{ *pulumi.OutputState }
-
-func (PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PrivateLinkServicePropertiesResponseAutoApproval)(nil)).Elem()
+// The linked public IP address of the public IP address resource.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) LinkedPublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *PublicIPAddressResponse {
+ if v == nil {
+ return nil
+ }
+ return v.LinkedPublicIPAddress
+ }).(PublicIPAddressResponsePtrOutput)
}
-func (o PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput) ToPrivateLinkServicePropertiesResponseAutoApprovalPtrOutput() PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput {
- return o
+// Resource location.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput) ToPrivateLinkServicePropertiesResponseAutoApprovalPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput {
- return o
+// Migration phase of Public IP Address.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) MigrationPhase() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.MigrationPhase
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput) Elem() PrivateLinkServicePropertiesResponseAutoApprovalOutput {
- return o.ApplyT(func(v *PrivateLinkServicePropertiesResponseAutoApproval) PrivateLinkServicePropertiesResponseAutoApproval {
- if v != nil {
- return *v
+// Resource name.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
}
- var ret PrivateLinkServicePropertiesResponseAutoApproval
- return ret
- }).(PrivateLinkServicePropertiesResponseAutoApprovalOutput)
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-// The list of subscriptions.
-func (o PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput) Subscriptions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PrivateLinkServicePropertiesResponseAutoApproval) []string {
+// The NatGateway for the Public IP address.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) NatGateway() NatGatewayServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *NatGatewayServiceGatewayResponse {
if v == nil {
return nil
}
- return v.Subscriptions
- }).(pulumi.StringArrayOutput)
+ return v.NatGateway
+ }).(NatGatewayServiceGatewayResponsePtrOutput)
}
-// The visibility list of the private link service.
-type PrivateLinkServicePropertiesResponseVisibility struct {
- // The list of subscriptions.
- Subscriptions []string `pulumi:"subscriptions"`
+// The provisioning state of the public IP address resource.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// The visibility list of the private link service.
-type PrivateLinkServicePropertiesResponseVisibilityOutput struct{ *pulumi.OutputState }
-
-func (PrivateLinkServicePropertiesResponseVisibilityOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServicePropertiesResponseVisibility)(nil)).Elem()
+// The public IP address version.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAddressVersion
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServicePropertiesResponseVisibilityOutput) ToPrivateLinkServicePropertiesResponseVisibilityOutput() PrivateLinkServicePropertiesResponseVisibilityOutput {
- return o
+// The public IP address allocation method.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServicePropertiesResponseVisibilityOutput) ToPrivateLinkServicePropertiesResponseVisibilityOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesResponseVisibilityOutput {
- return o
+// The Public IP Prefix this Public IP Address should be allocated from.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPPrefix
+ }).(SubResourceResponsePtrOutput)
}
-// The list of subscriptions.
-func (o PrivateLinkServicePropertiesResponseVisibilityOutput) Subscriptions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PrivateLinkServicePropertiesResponseVisibility) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
+// The resource GUID property of the public IP address resource.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
}
-type PrivateLinkServicePropertiesResponseVisibilityPtrOutput struct{ *pulumi.OutputState }
-
-func (PrivateLinkServicePropertiesResponseVisibilityPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PrivateLinkServicePropertiesResponseVisibility)(nil)).Elem()
+// The service public IP address of the public IP address resource.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) ServicePublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *PublicIPAddressResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServicePublicIPAddress
+ }).(PublicIPAddressResponsePtrOutput)
}
-func (o PrivateLinkServicePropertiesResponseVisibilityPtrOutput) ToPrivateLinkServicePropertiesResponseVisibilityPtrOutput() PrivateLinkServicePropertiesResponseVisibilityPtrOutput {
- return o
+// The public IP address SKU.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) Sku() PublicIPAddressSkuResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *PublicIPAddressSkuResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Sku
+ }).(PublicIPAddressSkuResponsePtrOutput)
}
-func (o PrivateLinkServicePropertiesResponseVisibilityPtrOutput) ToPrivateLinkServicePropertiesResponseVisibilityPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesResponseVisibilityPtrOutput {
- return o
+// Resource tags.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-func (o PrivateLinkServicePropertiesResponseVisibilityPtrOutput) Elem() PrivateLinkServicePropertiesResponseVisibilityOutput {
- return o.ApplyT(func(v *PrivateLinkServicePropertiesResponseVisibility) PrivateLinkServicePropertiesResponseVisibility {
- if v != nil {
- return *v
+// Resource type.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
}
- var ret PrivateLinkServicePropertiesResponseVisibility
- return ret
- }).(PrivateLinkServicePropertiesResponseVisibilityOutput)
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-// The list of subscriptions.
-func (o PrivateLinkServicePropertiesResponseVisibilityPtrOutput) Subscriptions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PrivateLinkServicePropertiesResponseVisibility) []string {
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o PublicIPAddressServiceGatewayResponsePtrOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PublicIPAddressServiceGatewayResponse) []string {
if v == nil {
return nil
}
- return v.Subscriptions
+ return v.Zones
}).(pulumi.StringArrayOutput)
}
-// The visibility list of the private link service.
-type PrivateLinkServicePropertiesVisibility struct {
- // The list of subscriptions.
- Subscriptions []string `pulumi:"subscriptions"`
+// SKU of a public IP address.
+type PublicIPAddressSku struct {
+ // Name of a public IP address SKU.
+ Name *string `pulumi:"name"`
+ // Tier of a public IP address SKU.
+ Tier *string `pulumi:"tier"`
}
-// PrivateLinkServicePropertiesVisibilityInput is an input type that accepts PrivateLinkServicePropertiesVisibilityArgs and PrivateLinkServicePropertiesVisibilityOutput values.
-// You can construct a concrete instance of `PrivateLinkServicePropertiesVisibilityInput` via:
+// PublicIPAddressSkuInput is an input type that accepts PublicIPAddressSkuArgs and PublicIPAddressSkuOutput values.
+// You can construct a concrete instance of `PublicIPAddressSkuInput` via:
//
-// PrivateLinkServicePropertiesVisibilityArgs{...}
-type PrivateLinkServicePropertiesVisibilityInput interface {
+// PublicIPAddressSkuArgs{...}
+type PublicIPAddressSkuInput interface {
pulumi.Input
- ToPrivateLinkServicePropertiesVisibilityOutput() PrivateLinkServicePropertiesVisibilityOutput
- ToPrivateLinkServicePropertiesVisibilityOutputWithContext(context.Context) PrivateLinkServicePropertiesVisibilityOutput
+ ToPublicIPAddressSkuOutput() PublicIPAddressSkuOutput
+ ToPublicIPAddressSkuOutputWithContext(context.Context) PublicIPAddressSkuOutput
}
-// The visibility list of the private link service.
-type PrivateLinkServicePropertiesVisibilityArgs struct {
- // The list of subscriptions.
- Subscriptions pulumi.StringArrayInput `pulumi:"subscriptions"`
+// SKU of a public IP address.
+type PublicIPAddressSkuArgs struct {
+ // Name of a public IP address SKU.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Tier of a public IP address SKU.
+ Tier pulumi.StringPtrInput `pulumi:"tier"`
}
-func (PrivateLinkServicePropertiesVisibilityArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServicePropertiesVisibility)(nil)).Elem()
+func (PublicIPAddressSkuArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPAddressSku)(nil)).Elem()
}
-func (i PrivateLinkServicePropertiesVisibilityArgs) ToPrivateLinkServicePropertiesVisibilityOutput() PrivateLinkServicePropertiesVisibilityOutput {
- return i.ToPrivateLinkServicePropertiesVisibilityOutputWithContext(context.Background())
+func (i PublicIPAddressSkuArgs) ToPublicIPAddressSkuOutput() PublicIPAddressSkuOutput {
+ return i.ToPublicIPAddressSkuOutputWithContext(context.Background())
}
-func (i PrivateLinkServicePropertiesVisibilityArgs) ToPrivateLinkServicePropertiesVisibilityOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesVisibilityOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServicePropertiesVisibilityOutput)
+func (i PublicIPAddressSkuArgs) ToPublicIPAddressSkuOutputWithContext(ctx context.Context) PublicIPAddressSkuOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressSkuOutput)
}
-func (i PrivateLinkServicePropertiesVisibilityArgs) ToPrivateLinkServicePropertiesVisibilityPtrOutput() PrivateLinkServicePropertiesVisibilityPtrOutput {
- return i.ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(context.Background())
+func (i PublicIPAddressSkuArgs) ToPublicIPAddressSkuPtrOutput() PublicIPAddressSkuPtrOutput {
+ return i.ToPublicIPAddressSkuPtrOutputWithContext(context.Background())
}
-func (i PrivateLinkServicePropertiesVisibilityArgs) ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesVisibilityPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServicePropertiesVisibilityOutput).ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(ctx)
+func (i PublicIPAddressSkuArgs) ToPublicIPAddressSkuPtrOutputWithContext(ctx context.Context) PublicIPAddressSkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressSkuOutput).ToPublicIPAddressSkuPtrOutputWithContext(ctx)
}
-// PrivateLinkServicePropertiesVisibilityPtrInput is an input type that accepts PrivateLinkServicePropertiesVisibilityArgs, PrivateLinkServicePropertiesVisibilityPtr and PrivateLinkServicePropertiesVisibilityPtrOutput values.
-// You can construct a concrete instance of `PrivateLinkServicePropertiesVisibilityPtrInput` via:
+// PublicIPAddressSkuPtrInput is an input type that accepts PublicIPAddressSkuArgs, PublicIPAddressSkuPtr and PublicIPAddressSkuPtrOutput values.
+// You can construct a concrete instance of `PublicIPAddressSkuPtrInput` via:
//
-// PrivateLinkServicePropertiesVisibilityArgs{...}
+// PublicIPAddressSkuArgs{...}
//
// or:
//
// nil
-type PrivateLinkServicePropertiesVisibilityPtrInput interface {
+type PublicIPAddressSkuPtrInput interface {
pulumi.Input
- ToPrivateLinkServicePropertiesVisibilityPtrOutput() PrivateLinkServicePropertiesVisibilityPtrOutput
- ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(context.Context) PrivateLinkServicePropertiesVisibilityPtrOutput
+ ToPublicIPAddressSkuPtrOutput() PublicIPAddressSkuPtrOutput
+ ToPublicIPAddressSkuPtrOutputWithContext(context.Context) PublicIPAddressSkuPtrOutput
}
-type privateLinkServicePropertiesVisibilityPtrType PrivateLinkServicePropertiesVisibilityArgs
+type publicIPAddressSkuPtrType PublicIPAddressSkuArgs
-func PrivateLinkServicePropertiesVisibilityPtr(v *PrivateLinkServicePropertiesVisibilityArgs) PrivateLinkServicePropertiesVisibilityPtrInput {
- return (*privateLinkServicePropertiesVisibilityPtrType)(v)
+func PublicIPAddressSkuPtr(v *PublicIPAddressSkuArgs) PublicIPAddressSkuPtrInput {
+ return (*publicIPAddressSkuPtrType)(v)
}
-func (*privateLinkServicePropertiesVisibilityPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PrivateLinkServicePropertiesVisibility)(nil)).Elem()
+func (*publicIPAddressSkuPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPAddressSku)(nil)).Elem()
}
-func (i *privateLinkServicePropertiesVisibilityPtrType) ToPrivateLinkServicePropertiesVisibilityPtrOutput() PrivateLinkServicePropertiesVisibilityPtrOutput {
- return i.ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(context.Background())
+func (i *publicIPAddressSkuPtrType) ToPublicIPAddressSkuPtrOutput() PublicIPAddressSkuPtrOutput {
+ return i.ToPublicIPAddressSkuPtrOutputWithContext(context.Background())
}
-func (i *privateLinkServicePropertiesVisibilityPtrType) ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesVisibilityPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PrivateLinkServicePropertiesVisibilityPtrOutput)
+func (i *publicIPAddressSkuPtrType) ToPublicIPAddressSkuPtrOutputWithContext(ctx context.Context) PublicIPAddressSkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressSkuPtrOutput)
}
-// The visibility list of the private link service.
-type PrivateLinkServicePropertiesVisibilityOutput struct{ *pulumi.OutputState }
+// SKU of a public IP address.
+type PublicIPAddressSkuOutput struct{ *pulumi.OutputState }
-func (PrivateLinkServicePropertiesVisibilityOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServicePropertiesVisibility)(nil)).Elem()
+func (PublicIPAddressSkuOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPAddressSku)(nil)).Elem()
}
-func (o PrivateLinkServicePropertiesVisibilityOutput) ToPrivateLinkServicePropertiesVisibilityOutput() PrivateLinkServicePropertiesVisibilityOutput {
+func (o PublicIPAddressSkuOutput) ToPublicIPAddressSkuOutput() PublicIPAddressSkuOutput {
return o
}
-func (o PrivateLinkServicePropertiesVisibilityOutput) ToPrivateLinkServicePropertiesVisibilityOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesVisibilityOutput {
+func (o PublicIPAddressSkuOutput) ToPublicIPAddressSkuOutputWithContext(ctx context.Context) PublicIPAddressSkuOutput {
return o
}
-func (o PrivateLinkServicePropertiesVisibilityOutput) ToPrivateLinkServicePropertiesVisibilityPtrOutput() PrivateLinkServicePropertiesVisibilityPtrOutput {
- return o.ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(context.Background())
+func (o PublicIPAddressSkuOutput) ToPublicIPAddressSkuPtrOutput() PublicIPAddressSkuPtrOutput {
+ return o.ToPublicIPAddressSkuPtrOutputWithContext(context.Background())
}
-func (o PrivateLinkServicePropertiesVisibilityOutput) ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesVisibilityPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PrivateLinkServicePropertiesVisibility) *PrivateLinkServicePropertiesVisibility {
+func (o PublicIPAddressSkuOutput) ToPublicIPAddressSkuPtrOutputWithContext(ctx context.Context) PublicIPAddressSkuPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v PublicIPAddressSku) *PublicIPAddressSku {
return &v
- }).(PrivateLinkServicePropertiesVisibilityPtrOutput)
+ }).(PublicIPAddressSkuPtrOutput)
}
-// The list of subscriptions.
-func (o PrivateLinkServicePropertiesVisibilityOutput) Subscriptions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PrivateLinkServicePropertiesVisibility) []string { return v.Subscriptions }).(pulumi.StringArrayOutput)
+// Name of a public IP address SKU.
+func (o PublicIPAddressSkuOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressSku) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-type PrivateLinkServicePropertiesVisibilityPtrOutput struct{ *pulumi.OutputState }
+// Tier of a public IP address SKU.
+func (o PublicIPAddressSkuOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressSku) *string { return v.Tier }).(pulumi.StringPtrOutput)
+}
-func (PrivateLinkServicePropertiesVisibilityPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PrivateLinkServicePropertiesVisibility)(nil)).Elem()
+type PublicIPAddressSkuPtrOutput struct{ *pulumi.OutputState }
+
+func (PublicIPAddressSkuPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPAddressSku)(nil)).Elem()
}
-func (o PrivateLinkServicePropertiesVisibilityPtrOutput) ToPrivateLinkServicePropertiesVisibilityPtrOutput() PrivateLinkServicePropertiesVisibilityPtrOutput {
+func (o PublicIPAddressSkuPtrOutput) ToPublicIPAddressSkuPtrOutput() PublicIPAddressSkuPtrOutput {
return o
}
-func (o PrivateLinkServicePropertiesVisibilityPtrOutput) ToPrivateLinkServicePropertiesVisibilityPtrOutputWithContext(ctx context.Context) PrivateLinkServicePropertiesVisibilityPtrOutput {
+func (o PublicIPAddressSkuPtrOutput) ToPublicIPAddressSkuPtrOutputWithContext(ctx context.Context) PublicIPAddressSkuPtrOutput {
return o
}
-func (o PrivateLinkServicePropertiesVisibilityPtrOutput) Elem() PrivateLinkServicePropertiesVisibilityOutput {
- return o.ApplyT(func(v *PrivateLinkServicePropertiesVisibility) PrivateLinkServicePropertiesVisibility {
+func (o PublicIPAddressSkuPtrOutput) Elem() PublicIPAddressSkuOutput {
+ return o.ApplyT(func(v *PublicIPAddressSku) PublicIPAddressSku {
if v != nil {
return *v
}
- var ret PrivateLinkServicePropertiesVisibility
+ var ret PublicIPAddressSku
return ret
- }).(PrivateLinkServicePropertiesVisibilityOutput)
+ }).(PublicIPAddressSkuOutput)
}
-// The list of subscriptions.
-func (o PrivateLinkServicePropertiesVisibilityPtrOutput) Subscriptions() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PrivateLinkServicePropertiesVisibility) []string {
+// Name of a public IP address SKU.
+func (o PublicIPAddressSkuPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressSku) *string {
if v == nil {
return nil
}
- return v.Subscriptions
- }).(pulumi.StringArrayOutput)
-}
-
-// Private link service resource.
-type PrivateLinkServiceResponse struct {
- // The alias of the private link service.
- Alias string `pulumi:"alias"`
- // The auto-approval list of the private link service.
- AutoApproval *PrivateLinkServicePropertiesResponseAutoApproval `pulumi:"autoApproval"`
- // The destination IP address of the private link service.
- DestinationIPAddress *string `pulumi:"destinationIPAddress"`
- // Whether the private link service is enabled for proxy protocol or not.
- EnableProxyProtocol *bool `pulumi:"enableProxyProtocol"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The extended location of the load balancer.
- ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
- // The list of Fqdn.
- Fqdns []string `pulumi:"fqdns"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // An array of private link service IP configurations.
- IpConfigurations []PrivateLinkServiceIpConfigurationResponse `pulumi:"ipConfigurations"`
- // An array of references to the load balancer IP configurations.
- LoadBalancerFrontendIpConfigurations []FrontendIPConfigurationResponse `pulumi:"loadBalancerFrontendIpConfigurations"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // An array of references to the network interfaces created for this private link service.
- NetworkInterfaces []NetworkInterfaceResponse `pulumi:"networkInterfaces"`
- // An array of list about connections to the private endpoint.
- PrivateEndpointConnections []PrivateEndpointConnectionResponse `pulumi:"privateEndpointConnections"`
- // The provisioning state of the private link service resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
- // The visibility list of the private link service.
- Visibility *PrivateLinkServicePropertiesResponseVisibility `pulumi:"visibility"`
-}
-
-// Private link service resource.
-type PrivateLinkServiceResponseOutput struct{ *pulumi.OutputState }
-
-func (PrivateLinkServiceResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PrivateLinkServiceResponse)(nil)).Elem()
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServiceResponseOutput) ToPrivateLinkServiceResponseOutput() PrivateLinkServiceResponseOutput {
- return o
+// Tier of a public IP address SKU.
+func (o PublicIPAddressSkuPtrOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressSku) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Tier
+ }).(pulumi.StringPtrOutput)
}
-func (o PrivateLinkServiceResponseOutput) ToPrivateLinkServiceResponseOutputWithContext(ctx context.Context) PrivateLinkServiceResponseOutput {
- return o
+// SKU of a public IP address
+type PublicIPAddressSkuInterfaceEndpointResponse struct {
+ // Name of a public IP address SKU.
+ Name *string `pulumi:"name"`
}
-// The alias of the private link service.
-func (o PrivateLinkServiceResponseOutput) Alias() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) string { return v.Alias }).(pulumi.StringOutput)
-}
+// SKU of a public IP address
+type PublicIPAddressSkuInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
-// The auto-approval list of the private link service.
-func (o PrivateLinkServiceResponseOutput) AutoApproval() PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) *PrivateLinkServicePropertiesResponseAutoApproval {
- return v.AutoApproval
- }).(PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput)
+func (PublicIPAddressSkuInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPAddressSkuInterfaceEndpointResponse)(nil)).Elem()
}
-// The destination IP address of the private link service.
-func (o PrivateLinkServiceResponseOutput) DestinationIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) *string { return v.DestinationIPAddress }).(pulumi.StringPtrOutput)
+func (o PublicIPAddressSkuInterfaceEndpointResponseOutput) ToPublicIPAddressSkuInterfaceEndpointResponseOutput() PublicIPAddressSkuInterfaceEndpointResponseOutput {
+ return o
}
-// Whether the private link service is enabled for proxy protocol or not.
-func (o PrivateLinkServiceResponseOutput) EnableProxyProtocol() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) *bool { return v.EnableProxyProtocol }).(pulumi.BoolPtrOutput)
+func (o PublicIPAddressSkuInterfaceEndpointResponseOutput) ToPublicIPAddressSkuInterfaceEndpointResponseOutputWithContext(ctx context.Context) PublicIPAddressSkuInterfaceEndpointResponseOutput {
+ return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o PrivateLinkServiceResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) string { return v.Etag }).(pulumi.StringOutput)
+// Name of a public IP address SKU.
+func (o PublicIPAddressSkuInterfaceEndpointResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressSkuInterfaceEndpointResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The extended location of the load balancer.
-func (o PrivateLinkServiceResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
-}
+type PublicIPAddressSkuInterfaceEndpointResponsePtrOutput struct{ *pulumi.OutputState }
-// The list of Fqdn.
-func (o PrivateLinkServiceResponseOutput) Fqdns() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) []string { return v.Fqdns }).(pulumi.StringArrayOutput)
+func (PublicIPAddressSkuInterfaceEndpointResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPAddressSkuInterfaceEndpointResponse)(nil)).Elem()
}
-// Resource ID.
-func (o PrivateLinkServiceResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o PublicIPAddressSkuInterfaceEndpointResponsePtrOutput) ToPublicIPAddressSkuInterfaceEndpointResponsePtrOutput() PublicIPAddressSkuInterfaceEndpointResponsePtrOutput {
+ return o
}
-// An array of private link service IP configurations.
-func (o PrivateLinkServiceResponseOutput) IpConfigurations() PrivateLinkServiceIpConfigurationResponseArrayOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) []PrivateLinkServiceIpConfigurationResponse {
- return v.IpConfigurations
- }).(PrivateLinkServiceIpConfigurationResponseArrayOutput)
+func (o PublicIPAddressSkuInterfaceEndpointResponsePtrOutput) ToPublicIPAddressSkuInterfaceEndpointResponsePtrOutputWithContext(ctx context.Context) PublicIPAddressSkuInterfaceEndpointResponsePtrOutput {
+ return o
}
-// An array of references to the load balancer IP configurations.
-func (o PrivateLinkServiceResponseOutput) LoadBalancerFrontendIpConfigurations() FrontendIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) []FrontendIPConfigurationResponse {
- return v.LoadBalancerFrontendIpConfigurations
- }).(FrontendIPConfigurationResponseArrayOutput)
+func (o PublicIPAddressSkuInterfaceEndpointResponsePtrOutput) Elem() PublicIPAddressSkuInterfaceEndpointResponseOutput {
+ return o.ApplyT(func(v *PublicIPAddressSkuInterfaceEndpointResponse) PublicIPAddressSkuInterfaceEndpointResponse {
+ if v != nil {
+ return *v
+ }
+ var ret PublicIPAddressSkuInterfaceEndpointResponse
+ return ret
+ }).(PublicIPAddressSkuInterfaceEndpointResponseOutput)
}
-// Resource location.
-func (o PrivateLinkServiceResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+// Name of a public IP address SKU.
+func (o PublicIPAddressSkuInterfaceEndpointResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressSkuInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// Resource name.
-func (o PrivateLinkServiceResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) string { return v.Name }).(pulumi.StringOutput)
+// SKU of a public IP address.
+type PublicIPAddressSkuResponse struct {
+ // Name of a public IP address SKU.
+ Name *string `pulumi:"name"`
+ // Tier of a public IP address SKU.
+ Tier *string `pulumi:"tier"`
}
-// An array of references to the network interfaces created for this private link service.
-func (o PrivateLinkServiceResponseOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) []NetworkInterfaceResponse { return v.NetworkInterfaces }).(NetworkInterfaceResponseArrayOutput)
-}
+// SKU of a public IP address.
+type PublicIPAddressSkuResponseOutput struct{ *pulumi.OutputState }
-// An array of list about connections to the private endpoint.
-func (o PrivateLinkServiceResponseOutput) PrivateEndpointConnections() PrivateEndpointConnectionResponseArrayOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) []PrivateEndpointConnectionResponse {
- return v.PrivateEndpointConnections
- }).(PrivateEndpointConnectionResponseArrayOutput)
+func (PublicIPAddressSkuResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPAddressSkuResponse)(nil)).Elem()
}
-// The provisioning state of the private link service resource.
-func (o PrivateLinkServiceResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o PublicIPAddressSkuResponseOutput) ToPublicIPAddressSkuResponseOutput() PublicIPAddressSkuResponseOutput {
+ return o
}
-// Resource tags.
-func (o PrivateLinkServiceResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+func (o PublicIPAddressSkuResponseOutput) ToPublicIPAddressSkuResponseOutputWithContext(ctx context.Context) PublicIPAddressSkuResponseOutput {
+ return o
}
-// Resource type.
-func (o PrivateLinkServiceResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) string { return v.Type }).(pulumi.StringOutput)
+// Name of a public IP address SKU.
+func (o PublicIPAddressSkuResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressSkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The visibility list of the private link service.
-func (o PrivateLinkServiceResponseOutput) Visibility() PrivateLinkServicePropertiesResponseVisibilityPtrOutput {
- return o.ApplyT(func(v PrivateLinkServiceResponse) *PrivateLinkServicePropertiesResponseVisibility {
- return v.Visibility
- }).(PrivateLinkServicePropertiesResponseVisibilityPtrOutput)
+// Tier of a public IP address SKU.
+func (o PublicIPAddressSkuResponseOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressSkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput)
}
-type PrivateLinkServiceResponsePtrOutput struct{ *pulumi.OutputState }
+type PublicIPAddressSkuResponsePtrOutput struct{ *pulumi.OutputState }
-func (PrivateLinkServiceResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PrivateLinkServiceResponse)(nil)).Elem()
+func (PublicIPAddressSkuResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPAddressSkuResponse)(nil)).Elem()
}
-func (o PrivateLinkServiceResponsePtrOutput) ToPrivateLinkServiceResponsePtrOutput() PrivateLinkServiceResponsePtrOutput {
+func (o PublicIPAddressSkuResponsePtrOutput) ToPublicIPAddressSkuResponsePtrOutput() PublicIPAddressSkuResponsePtrOutput {
return o
}
-func (o PrivateLinkServiceResponsePtrOutput) ToPrivateLinkServiceResponsePtrOutputWithContext(ctx context.Context) PrivateLinkServiceResponsePtrOutput {
+func (o PublicIPAddressSkuResponsePtrOutput) ToPublicIPAddressSkuResponsePtrOutputWithContext(ctx context.Context) PublicIPAddressSkuResponsePtrOutput {
return o
}
-func (o PrivateLinkServiceResponsePtrOutput) Elem() PrivateLinkServiceResponseOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) PrivateLinkServiceResponse {
+func (o PublicIPAddressSkuResponsePtrOutput) Elem() PublicIPAddressSkuResponseOutput {
+ return o.ApplyT(func(v *PublicIPAddressSkuResponse) PublicIPAddressSkuResponse {
if v != nil {
return *v
}
- var ret PrivateLinkServiceResponse
+ var ret PublicIPAddressSkuResponse
return ret
- }).(PrivateLinkServiceResponseOutput)
+ }).(PublicIPAddressSkuResponseOutput)
}
-// The alias of the private link service.
-func (o PrivateLinkServiceResponsePtrOutput) Alias() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) *string {
+// Name of a public IP address SKU.
+func (o PublicIPAddressSkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressSkuResponse) *string {
if v == nil {
return nil
}
- return &v.Alias
+ return v.Name
}).(pulumi.StringPtrOutput)
}
-// The auto-approval list of the private link service.
-func (o PrivateLinkServiceResponsePtrOutput) AutoApproval() PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) *PrivateLinkServicePropertiesResponseAutoApproval {
+// Tier of a public IP address SKU.
+func (o PublicIPAddressSkuResponsePtrOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressSkuResponse) *string {
if v == nil {
return nil
}
- return v.AutoApproval
- }).(PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput)
-}
+ return v.Tier
+ }).(pulumi.StringPtrOutput)
+}
-// The destination IP address of the private link service.
-func (o PrivateLinkServiceResponsePtrOutput) DestinationIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) *string {
+// Public IP address resource.
+type PublicIPAddressVirtualNetworkApplianceResponse struct {
+ // The DDoS protection custom policy associated with the public IP address.
+ DdosSettings *DdosSettingsResponse `pulumi:"ddosSettings"`
+ // Specify what happens to the public IP address when the VM using it is deleted
+ DeleteOption *string `pulumi:"deleteOption"`
+ // The FQDN of the DNS record associated with the public IP address.
+ DnsSettings *PublicIPAddressDnsSettingsResponse `pulumi:"dnsSettings"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The extended location of the public ip address.
+ ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The idle timeout of the public IP address.
+ IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
+ // The IP address associated with the public IP address resource.
+ IpAddress *string `pulumi:"ipAddress"`
+ // The IP configuration associated with the public IP address.
+ IpConfiguration IPConfigurationResponse `pulumi:"ipConfiguration"`
+ // The list of tags associated with the public IP address.
+ IpTags []IpTagResponse `pulumi:"ipTags"`
+ // The linked public IP address of the public IP address resource.
+ LinkedPublicIPAddress *PublicIPAddressResponse `pulumi:"linkedPublicIPAddress"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Migration phase of Public IP Address.
+ MigrationPhase *string `pulumi:"migrationPhase"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The NatGateway for the Public IP address.
+ NatGateway *NatGatewayVirtualNetworkApplianceResponse `pulumi:"natGateway"`
+ // The provisioning state of the public IP address resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The public IP address version.
+ PublicIPAddressVersion *string `pulumi:"publicIPAddressVersion"`
+ // The public IP address allocation method.
+ PublicIPAllocationMethod *string `pulumi:"publicIPAllocationMethod"`
+ // The Public IP Prefix this Public IP Address should be allocated from.
+ PublicIPPrefix *SubResourceResponse `pulumi:"publicIPPrefix"`
+ // The resource GUID property of the public IP address resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // The service public IP address of the public IP address resource.
+ ServicePublicIPAddress *PublicIPAddressResponse `pulumi:"servicePublicIPAddress"`
+ // The public IP address SKU.
+ Sku *PublicIPAddressSkuResponse `pulumi:"sku"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // A list of availability zones denoting the IP allocated for the resource needs to come from.
+ Zones []string `pulumi:"zones"`
+}
+
+// Defaults sets the appropriate defaults for PublicIPAddressVirtualNetworkApplianceResponse
+func (val *PublicIPAddressVirtualNetworkApplianceResponse) Defaults() *PublicIPAddressVirtualNetworkApplianceResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.IpConfiguration = *tmp.IpConfiguration.Defaults()
+
+ tmp.LinkedPublicIPAddress = tmp.LinkedPublicIPAddress.Defaults()
+
+ tmp.ServicePublicIPAddress = tmp.ServicePublicIPAddress.Defaults()
+
+ return &tmp
+}
+
+// Public IP address resource.
+type PublicIPAddressVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
+
+func (PublicIPAddressVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPAddressVirtualNetworkApplianceResponse)(nil)).Elem()
+}
+
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) ToPublicIPAddressVirtualNetworkApplianceResponseOutput() PublicIPAddressVirtualNetworkApplianceResponseOutput {
+ return o
+}
+
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) ToPublicIPAddressVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) PublicIPAddressVirtualNetworkApplianceResponseOutput {
+ return o
+}
+
+// The DDoS protection custom policy associated with the public IP address.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) DdosSettings() DdosSettingsResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) *DdosSettingsResponse { return v.DdosSettings }).(DdosSettingsResponsePtrOutput)
+}
+
+// Specify what happens to the public IP address when the VM using it is deleted
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) DeleteOption() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) *string { return v.DeleteOption }).(pulumi.StringPtrOutput)
+}
+
+// The FQDN of the DNS record associated with the public IP address.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) DnsSettings() PublicIPAddressDnsSettingsResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) *PublicIPAddressDnsSettingsResponse {
+ return v.DnsSettings
+ }).(PublicIPAddressDnsSettingsResponsePtrOutput)
+}
+
+// A unique read-only string that changes whenever the resource is updated.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
+}
+
+// The extended location of the public ip address.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) *ExtendedLocationResponse {
+ return v.ExtendedLocation
+ }).(ExtendedLocationResponsePtrOutput)
+}
+
+// Resource ID.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
+
+// The idle timeout of the public IP address.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+}
+
+// The IP address associated with the public IP address resource.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) IpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
+}
+
+// The IP configuration associated with the public IP address.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) IpConfiguration() IPConfigurationResponseOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) IPConfigurationResponse {
+ return v.IpConfiguration
+ }).(IPConfigurationResponseOutput)
+}
+
+// The list of tags associated with the public IP address.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) IpTags() IpTagResponseArrayOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) []IpTagResponse { return v.IpTags }).(IpTagResponseArrayOutput)
+}
+
+// The linked public IP address of the public IP address resource.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) LinkedPublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) *PublicIPAddressResponse {
+ return v.LinkedPublicIPAddress
+ }).(PublicIPAddressResponsePtrOutput)
+}
+
+// Resource location.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+}
+
+// Migration phase of Public IP Address.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) MigrationPhase() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) *string { return v.MigrationPhase }).(pulumi.StringPtrOutput)
+}
+
+// Resource name.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) string { return v.Name }).(pulumi.StringOutput)
+}
+
+// The NatGateway for the Public IP address.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) NatGateway() NatGatewayVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) *NatGatewayVirtualNetworkApplianceResponse {
+ return v.NatGateway
+ }).(NatGatewayVirtualNetworkApplianceResponsePtrOutput)
+}
+
+// The provisioning state of the public IP address resource.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
+
+// The public IP address version.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) *string { return v.PublicIPAddressVersion }).(pulumi.StringPtrOutput)
+}
+
+// The public IP address allocation method.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) *string { return v.PublicIPAllocationMethod }).(pulumi.StringPtrOutput)
+}
+
+// The Public IP Prefix this Public IP Address should be allocated from.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) *SubResourceResponse { return v.PublicIPPrefix }).(SubResourceResponsePtrOutput)
+}
+
+// The resource GUID property of the public IP address resource.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+}
+
+// The service public IP address of the public IP address resource.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) ServicePublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) *PublicIPAddressResponse {
+ return v.ServicePublicIPAddress
+ }).(PublicIPAddressResponsePtrOutput)
+}
+
+// The public IP address SKU.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) Sku() PublicIPAddressSkuResponsePtrOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) *PublicIPAddressSkuResponse { return v.Sku }).(PublicIPAddressSkuResponsePtrOutput)
+}
+
+// Resource tags.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+}
+
+// Resource type.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
+}
+
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o PublicIPAddressVirtualNetworkApplianceResponseOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v PublicIPAddressVirtualNetworkApplianceResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
+}
+
+type PublicIPAddressVirtualNetworkApplianceResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPAddressVirtualNetworkApplianceResponse)(nil)).Elem()
+}
+
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) ToPublicIPAddressVirtualNetworkApplianceResponsePtrOutput() PublicIPAddressVirtualNetworkApplianceResponsePtrOutput {
+ return o
+}
+
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) ToPublicIPAddressVirtualNetworkApplianceResponsePtrOutputWithContext(ctx context.Context) PublicIPAddressVirtualNetworkApplianceResponsePtrOutput {
+ return o
+}
+
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) Elem() PublicIPAddressVirtualNetworkApplianceResponseOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) PublicIPAddressVirtualNetworkApplianceResponse {
+ if v != nil {
+ return *v
+ }
+ var ret PublicIPAddressVirtualNetworkApplianceResponse
+ return ret
+ }).(PublicIPAddressVirtualNetworkApplianceResponseOutput)
+}
+
+// The DDoS protection custom policy associated with the public IP address.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) DdosSettings() DdosSettingsResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *DdosSettingsResponse {
if v == nil {
return nil
}
- return v.DestinationIPAddress
+ return v.DdosSettings
+ }).(DdosSettingsResponsePtrOutput)
+}
+
+// Specify what happens to the public IP address when the VM using it is deleted
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) DeleteOption() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.DeleteOption
}).(pulumi.StringPtrOutput)
}
-// Whether the private link service is enabled for proxy protocol or not.
-func (o PrivateLinkServiceResponsePtrOutput) EnableProxyProtocol() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) *bool {
+// The FQDN of the DNS record associated with the public IP address.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) DnsSettings() PublicIPAddressDnsSettingsResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *PublicIPAddressDnsSettingsResponse {
if v == nil {
return nil
}
- return v.EnableProxyProtocol
- }).(pulumi.BoolPtrOutput)
+ return v.DnsSettings
+ }).(PublicIPAddressDnsSettingsResponsePtrOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o PrivateLinkServiceResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) *string {
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
@@ -12753,9 +13455,9 @@ func (o PrivateLinkServiceResponsePtrOutput) Etag() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-// The extended location of the load balancer.
-func (o PrivateLinkServiceResponsePtrOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) *ExtendedLocationResponse {
+// The extended location of the public ip address.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *ExtendedLocationResponse {
if v == nil {
return nil
}
@@ -12763,49 +13465,69 @@ func (o PrivateLinkServiceResponsePtrOutput) ExtendedLocation() ExtendedLocation
}).(ExtendedLocationResponsePtrOutput)
}
-// The list of Fqdn.
-func (o PrivateLinkServiceResponsePtrOutput) Fqdns() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) []string {
+// Resource ID.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
- return v.Fqdns
- }).(pulumi.StringArrayOutput)
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// Resource ID.
-func (o PrivateLinkServiceResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) *string {
+// The idle timeout of the public IP address.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *int {
if v == nil {
return nil
}
- return v.Id
+ return v.IdleTimeoutInMinutes
+ }).(pulumi.IntPtrOutput)
+}
+
+// The IP address associated with the public IP address resource.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) IpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.IpAddress
}).(pulumi.StringPtrOutput)
}
-// An array of private link service IP configurations.
-func (o PrivateLinkServiceResponsePtrOutput) IpConfigurations() PrivateLinkServiceIpConfigurationResponseArrayOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) []PrivateLinkServiceIpConfigurationResponse {
+// The IP configuration associated with the public IP address.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) IpConfiguration() IPConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *IPConfigurationResponse {
if v == nil {
return nil
}
- return v.IpConfigurations
- }).(PrivateLinkServiceIpConfigurationResponseArrayOutput)
+ return &v.IpConfiguration
+ }).(IPConfigurationResponsePtrOutput)
}
-// An array of references to the load balancer IP configurations.
-func (o PrivateLinkServiceResponsePtrOutput) LoadBalancerFrontendIpConfigurations() FrontendIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) []FrontendIPConfigurationResponse {
+// The list of tags associated with the public IP address.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) IpTags() IpTagResponseArrayOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) []IpTagResponse {
if v == nil {
return nil
}
- return v.LoadBalancerFrontendIpConfigurations
- }).(FrontendIPConfigurationResponseArrayOutput)
+ return v.IpTags
+ }).(IpTagResponseArrayOutput)
+}
+
+// The linked public IP address of the public IP address resource.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) LinkedPublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *PublicIPAddressResponse {
+ if v == nil {
+ return nil
+ }
+ return v.LinkedPublicIPAddress
+ }).(PublicIPAddressResponsePtrOutput)
}
// Resource location.
-func (o PrivateLinkServiceResponsePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) *string {
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
@@ -12813,9 +13535,19 @@ func (o PrivateLinkServiceResponsePtrOutput) Location() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
+// Migration phase of Public IP Address.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) MigrationPhase() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.MigrationPhase
+ }).(pulumi.StringPtrOutput)
+}
+
// Resource name.
-func (o PrivateLinkServiceResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) *string {
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
@@ -12823,39 +13555,89 @@ func (o PrivateLinkServiceResponsePtrOutput) Name() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-// An array of references to the network interfaces created for this private link service.
-func (o PrivateLinkServiceResponsePtrOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) []NetworkInterfaceResponse {
+// The NatGateway for the Public IP address.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) NatGateway() NatGatewayVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *NatGatewayVirtualNetworkApplianceResponse {
if v == nil {
return nil
}
- return v.NetworkInterfaces
- }).(NetworkInterfaceResponseArrayOutput)
+ return v.NatGateway
+ }).(NatGatewayVirtualNetworkApplianceResponsePtrOutput)
}
-// An array of list about connections to the private endpoint.
-func (o PrivateLinkServiceResponsePtrOutput) PrivateEndpointConnections() PrivateEndpointConnectionResponseArrayOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) []PrivateEndpointConnectionResponse {
+// The provisioning state of the public IP address resource.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
- return v.PrivateEndpointConnections
- }).(PrivateEndpointConnectionResponseArrayOutput)
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the private link service resource.
-func (o PrivateLinkServiceResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) *string {
+// The public IP address version.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
- return &v.ProvisioningState
+ return v.PublicIPAddressVersion
+ }).(pulumi.StringPtrOutput)
+}
+
+// The public IP address allocation method.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
+}
+
+// The Public IP Prefix this Public IP Address should be allocated from.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PublicIPPrefix
+ }).(SubResourceResponsePtrOutput)
+}
+
+// The resource GUID property of the public IP address resource.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
}).(pulumi.StringPtrOutput)
}
+// The service public IP address of the public IP address resource.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) ServicePublicIPAddress() PublicIPAddressResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *PublicIPAddressResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServicePublicIPAddress
+ }).(PublicIPAddressResponsePtrOutput)
+}
+
+// The public IP address SKU.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) Sku() PublicIPAddressSkuResponsePtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *PublicIPAddressSkuResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Sku
+ }).(PublicIPAddressSkuResponsePtrOutput)
+}
+
// Resource tags.
-func (o PrivateLinkServiceResponsePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) map[string]string {
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) map[string]string {
if v == nil {
return nil
}
@@ -12864,8 +13646,8 @@ func (o PrivateLinkServiceResponsePtrOutput) Tags() pulumi.StringMapOutput {
}
// Resource type.
-func (o PrivateLinkServiceResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) *string {
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
@@ -12873,15349 +13655,15355 @@ func (o PrivateLinkServiceResponsePtrOutput) Type() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-// The visibility list of the private link service.
-func (o PrivateLinkServiceResponsePtrOutput) Visibility() PrivateLinkServicePropertiesResponseVisibilityPtrOutput {
- return o.ApplyT(func(v *PrivateLinkServiceResponse) *PrivateLinkServicePropertiesResponseVisibility {
+// A list of availability zones denoting the IP allocated for the resource needs to come from.
+func (o PublicIPAddressVirtualNetworkApplianceResponsePtrOutput) Zones() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *PublicIPAddressVirtualNetworkApplianceResponse) []string {
if v == nil {
return nil
}
- return v.Visibility
- }).(PrivateLinkServicePropertiesResponseVisibilityPtrOutput)
+ return v.Zones
+ }).(pulumi.StringArrayOutput)
}
-// A load balancer probe.
-type Probe struct {
- // Resource ID.
- Id *string `pulumi:"id"`
- // The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.
- IntervalInSeconds *int `pulumi:"intervalInSeconds"`
- // The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource.
+// SKU of a public IP prefix.
+type PublicIPPrefixSku struct {
+ // Name of a public IP prefix SKU.
Name *string `pulumi:"name"`
- // Determines how new connections are handled by the load balancer when all backend instances are probed down.
- NoHealthyBackendsBehavior *string `pulumi:"noHealthyBackendsBehavior"`
- // The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.
- NumberOfProbes *int `pulumi:"numberOfProbes"`
- // The port for communicating the probe. Possible values range from 1 to 65535, inclusive.
- Port int `pulumi:"port"`
- // The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation.
- ProbeThreshold *int `pulumi:"probeThreshold"`
- // The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.
- Protocol string `pulumi:"protocol"`
- // The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.
- RequestPath *string `pulumi:"requestPath"`
+ // Tier of a public IP prefix SKU.
+ Tier *string `pulumi:"tier"`
}
-// ProbeInput is an input type that accepts ProbeArgs and ProbeOutput values.
-// You can construct a concrete instance of `ProbeInput` via:
+// PublicIPPrefixSkuInput is an input type that accepts PublicIPPrefixSkuArgs and PublicIPPrefixSkuOutput values.
+// You can construct a concrete instance of `PublicIPPrefixSkuInput` via:
//
-// ProbeArgs{...}
-type ProbeInput interface {
+// PublicIPPrefixSkuArgs{...}
+type PublicIPPrefixSkuInput interface {
pulumi.Input
- ToProbeOutput() ProbeOutput
- ToProbeOutputWithContext(context.Context) ProbeOutput
+ ToPublicIPPrefixSkuOutput() PublicIPPrefixSkuOutput
+ ToPublicIPPrefixSkuOutputWithContext(context.Context) PublicIPPrefixSkuOutput
}
-// A load balancer probe.
-type ProbeArgs struct {
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.
- IntervalInSeconds pulumi.IntPtrInput `pulumi:"intervalInSeconds"`
- // The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource.
+// SKU of a public IP prefix.
+type PublicIPPrefixSkuArgs struct {
+ // Name of a public IP prefix SKU.
Name pulumi.StringPtrInput `pulumi:"name"`
- // Determines how new connections are handled by the load balancer when all backend instances are probed down.
- NoHealthyBackendsBehavior pulumi.StringPtrInput `pulumi:"noHealthyBackendsBehavior"`
- // The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.
- NumberOfProbes pulumi.IntPtrInput `pulumi:"numberOfProbes"`
- // The port for communicating the probe. Possible values range from 1 to 65535, inclusive.
- Port pulumi.IntInput `pulumi:"port"`
- // The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation.
- ProbeThreshold pulumi.IntPtrInput `pulumi:"probeThreshold"`
- // The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.
- Protocol pulumi.StringInput `pulumi:"protocol"`
- // The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.
- RequestPath pulumi.StringPtrInput `pulumi:"requestPath"`
+ // Tier of a public IP prefix SKU.
+ Tier pulumi.StringPtrInput `pulumi:"tier"`
}
-func (ProbeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*Probe)(nil)).Elem()
+func (PublicIPPrefixSkuArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPPrefixSku)(nil)).Elem()
}
-func (i ProbeArgs) ToProbeOutput() ProbeOutput {
- return i.ToProbeOutputWithContext(context.Background())
+func (i PublicIPPrefixSkuArgs) ToPublicIPPrefixSkuOutput() PublicIPPrefixSkuOutput {
+ return i.ToPublicIPPrefixSkuOutputWithContext(context.Background())
}
-func (i ProbeArgs) ToProbeOutputWithContext(ctx context.Context) ProbeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ProbeOutput)
+func (i PublicIPPrefixSkuArgs) ToPublicIPPrefixSkuOutputWithContext(ctx context.Context) PublicIPPrefixSkuOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PublicIPPrefixSkuOutput)
}
-// ProbeArrayInput is an input type that accepts ProbeArray and ProbeArrayOutput values.
-// You can construct a concrete instance of `ProbeArrayInput` via:
+func (i PublicIPPrefixSkuArgs) ToPublicIPPrefixSkuPtrOutput() PublicIPPrefixSkuPtrOutput {
+ return i.ToPublicIPPrefixSkuPtrOutputWithContext(context.Background())
+}
+
+func (i PublicIPPrefixSkuArgs) ToPublicIPPrefixSkuPtrOutputWithContext(ctx context.Context) PublicIPPrefixSkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PublicIPPrefixSkuOutput).ToPublicIPPrefixSkuPtrOutputWithContext(ctx)
+}
+
+// PublicIPPrefixSkuPtrInput is an input type that accepts PublicIPPrefixSkuArgs, PublicIPPrefixSkuPtr and PublicIPPrefixSkuPtrOutput values.
+// You can construct a concrete instance of `PublicIPPrefixSkuPtrInput` via:
//
-// ProbeArray{ ProbeArgs{...} }
-type ProbeArrayInput interface {
+// PublicIPPrefixSkuArgs{...}
+//
+// or:
+//
+// nil
+type PublicIPPrefixSkuPtrInput interface {
pulumi.Input
- ToProbeArrayOutput() ProbeArrayOutput
- ToProbeArrayOutputWithContext(context.Context) ProbeArrayOutput
+ ToPublicIPPrefixSkuPtrOutput() PublicIPPrefixSkuPtrOutput
+ ToPublicIPPrefixSkuPtrOutputWithContext(context.Context) PublicIPPrefixSkuPtrOutput
}
-type ProbeArray []ProbeInput
+type publicIPPrefixSkuPtrType PublicIPPrefixSkuArgs
-func (ProbeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]Probe)(nil)).Elem()
+func PublicIPPrefixSkuPtr(v *PublicIPPrefixSkuArgs) PublicIPPrefixSkuPtrInput {
+ return (*publicIPPrefixSkuPtrType)(v)
}
-func (i ProbeArray) ToProbeArrayOutput() ProbeArrayOutput {
- return i.ToProbeArrayOutputWithContext(context.Background())
+func (*publicIPPrefixSkuPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPPrefixSku)(nil)).Elem()
}
-func (i ProbeArray) ToProbeArrayOutputWithContext(ctx context.Context) ProbeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ProbeArrayOutput)
+func (i *publicIPPrefixSkuPtrType) ToPublicIPPrefixSkuPtrOutput() PublicIPPrefixSkuPtrOutput {
+ return i.ToPublicIPPrefixSkuPtrOutputWithContext(context.Background())
}
-// A load balancer probe.
-type ProbeOutput struct{ *pulumi.OutputState }
-
-func (ProbeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*Probe)(nil)).Elem()
+func (i *publicIPPrefixSkuPtrType) ToPublicIPPrefixSkuPtrOutputWithContext(ctx context.Context) PublicIPPrefixSkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(PublicIPPrefixSkuPtrOutput)
}
-func (o ProbeOutput) ToProbeOutput() ProbeOutput {
- return o
+// SKU of a public IP prefix.
+type PublicIPPrefixSkuOutput struct{ *pulumi.OutputState }
+
+func (PublicIPPrefixSkuOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPPrefixSku)(nil)).Elem()
}
-func (o ProbeOutput) ToProbeOutputWithContext(ctx context.Context) ProbeOutput {
+func (o PublicIPPrefixSkuOutput) ToPublicIPPrefixSkuOutput() PublicIPPrefixSkuOutput {
return o
}
-// Resource ID.
-func (o ProbeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Probe) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o PublicIPPrefixSkuOutput) ToPublicIPPrefixSkuOutputWithContext(ctx context.Context) PublicIPPrefixSkuOutput {
+ return o
}
-// The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.
-func (o ProbeOutput) IntervalInSeconds() pulumi.IntPtrOutput {
- return o.ApplyT(func(v Probe) *int { return v.IntervalInSeconds }).(pulumi.IntPtrOutput)
+func (o PublicIPPrefixSkuOutput) ToPublicIPPrefixSkuPtrOutput() PublicIPPrefixSkuPtrOutput {
+ return o.ToPublicIPPrefixSkuPtrOutputWithContext(context.Background())
}
-// The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource.
-func (o ProbeOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Probe) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o PublicIPPrefixSkuOutput) ToPublicIPPrefixSkuPtrOutputWithContext(ctx context.Context) PublicIPPrefixSkuPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v PublicIPPrefixSku) *PublicIPPrefixSku {
+ return &v
+ }).(PublicIPPrefixSkuPtrOutput)
}
-// Determines how new connections are handled by the load balancer when all backend instances are probed down.
-func (o ProbeOutput) NoHealthyBackendsBehavior() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Probe) *string { return v.NoHealthyBackendsBehavior }).(pulumi.StringPtrOutput)
+// Name of a public IP prefix SKU.
+func (o PublicIPPrefixSkuOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPPrefixSku) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.
-func (o ProbeOutput) NumberOfProbes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v Probe) *int { return v.NumberOfProbes }).(pulumi.IntPtrOutput)
+// Tier of a public IP prefix SKU.
+func (o PublicIPPrefixSkuOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPPrefixSku) *string { return v.Tier }).(pulumi.StringPtrOutput)
}
-// The port for communicating the probe. Possible values range from 1 to 65535, inclusive.
-func (o ProbeOutput) Port() pulumi.IntOutput {
- return o.ApplyT(func(v Probe) int { return v.Port }).(pulumi.IntOutput)
-}
+type PublicIPPrefixSkuPtrOutput struct{ *pulumi.OutputState }
-// The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation.
-func (o ProbeOutput) ProbeThreshold() pulumi.IntPtrOutput {
- return o.ApplyT(func(v Probe) *int { return v.ProbeThreshold }).(pulumi.IntPtrOutput)
+func (PublicIPPrefixSkuPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPPrefixSku)(nil)).Elem()
}
-// The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.
-func (o ProbeOutput) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v Probe) string { return v.Protocol }).(pulumi.StringOutput)
+func (o PublicIPPrefixSkuPtrOutput) ToPublicIPPrefixSkuPtrOutput() PublicIPPrefixSkuPtrOutput {
+ return o
}
-// The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.
-func (o ProbeOutput) RequestPath() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Probe) *string { return v.RequestPath }).(pulumi.StringPtrOutput)
+func (o PublicIPPrefixSkuPtrOutput) ToPublicIPPrefixSkuPtrOutputWithContext(ctx context.Context) PublicIPPrefixSkuPtrOutput {
+ return o
}
-type ProbeArrayOutput struct{ *pulumi.OutputState }
-
-func (ProbeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]Probe)(nil)).Elem()
-}
-
-func (o ProbeArrayOutput) ToProbeArrayOutput() ProbeArrayOutput {
- return o
+func (o PublicIPPrefixSkuPtrOutput) Elem() PublicIPPrefixSkuOutput {
+ return o.ApplyT(func(v *PublicIPPrefixSku) PublicIPPrefixSku {
+ if v != nil {
+ return *v
+ }
+ var ret PublicIPPrefixSku
+ return ret
+ }).(PublicIPPrefixSkuOutput)
}
-func (o ProbeArrayOutput) ToProbeArrayOutputWithContext(ctx context.Context) ProbeArrayOutput {
- return o
+// Name of a public IP prefix SKU.
+func (o PublicIPPrefixSkuPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPPrefixSku) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o ProbeArrayOutput) Index(i pulumi.IntInput) ProbeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) Probe {
- return vs[0].([]Probe)[vs[1].(int)]
- }).(ProbeOutput)
+// Tier of a public IP prefix SKU.
+func (o PublicIPPrefixSkuPtrOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPPrefixSku) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Tier
+ }).(pulumi.StringPtrOutput)
}
-// A load balancer probe.
-type ProbeResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.
- IntervalInSeconds *int `pulumi:"intervalInSeconds"`
- // The load balancer rules that use this probe.
- LoadBalancingRules []SubResourceResponse `pulumi:"loadBalancingRules"`
- // The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource.
+// SKU of a public IP prefix.
+type PublicIPPrefixSkuResponse struct {
+ // Name of a public IP prefix SKU.
Name *string `pulumi:"name"`
- // Determines how new connections are handled by the load balancer when all backend instances are probed down.
- NoHealthyBackendsBehavior *string `pulumi:"noHealthyBackendsBehavior"`
- // The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.
- NumberOfProbes *int `pulumi:"numberOfProbes"`
- // The port for communicating the probe. Possible values range from 1 to 65535, inclusive.
- Port int `pulumi:"port"`
- // The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation.
- ProbeThreshold *int `pulumi:"probeThreshold"`
- // The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.
- Protocol string `pulumi:"protocol"`
- // The provisioning state of the probe resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.
- RequestPath *string `pulumi:"requestPath"`
- // Type of the resource.
- Type string `pulumi:"type"`
+ // Tier of a public IP prefix SKU.
+ Tier *string `pulumi:"tier"`
}
-// A load balancer probe.
-type ProbeResponseOutput struct{ *pulumi.OutputState }
+// SKU of a public IP prefix.
+type PublicIPPrefixSkuResponseOutput struct{ *pulumi.OutputState }
-func (ProbeResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ProbeResponse)(nil)).Elem()
+func (PublicIPPrefixSkuResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*PublicIPPrefixSkuResponse)(nil)).Elem()
}
-func (o ProbeResponseOutput) ToProbeResponseOutput() ProbeResponseOutput {
+func (o PublicIPPrefixSkuResponseOutput) ToPublicIPPrefixSkuResponseOutput() PublicIPPrefixSkuResponseOutput {
return o
}
-func (o ProbeResponseOutput) ToProbeResponseOutputWithContext(ctx context.Context) ProbeResponseOutput {
+func (o PublicIPPrefixSkuResponseOutput) ToPublicIPPrefixSkuResponseOutputWithContext(ctx context.Context) PublicIPPrefixSkuResponseOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o ProbeResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v ProbeResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
-
-// Resource ID.
-func (o ProbeResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ProbeResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.
-func (o ProbeResponseOutput) IntervalInSeconds() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ProbeResponse) *int { return v.IntervalInSeconds }).(pulumi.IntPtrOutput)
-}
-
-// The load balancer rules that use this probe.
-func (o ProbeResponseOutput) LoadBalancingRules() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v ProbeResponse) []SubResourceResponse { return v.LoadBalancingRules }).(SubResourceResponseArrayOutput)
+// Name of a public IP prefix SKU.
+func (o PublicIPPrefixSkuResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPPrefixSkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource.
-func (o ProbeResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ProbeResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Tier of a public IP prefix SKU.
+func (o PublicIPPrefixSkuResponseOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v PublicIPPrefixSkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput)
}
-// Determines how new connections are handled by the load balancer when all backend instances are probed down.
-func (o ProbeResponseOutput) NoHealthyBackendsBehavior() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ProbeResponse) *string { return v.NoHealthyBackendsBehavior }).(pulumi.StringPtrOutput)
-}
+type PublicIPPrefixSkuResponsePtrOutput struct{ *pulumi.OutputState }
-// The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.
-func (o ProbeResponseOutput) NumberOfProbes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ProbeResponse) *int { return v.NumberOfProbes }).(pulumi.IntPtrOutput)
+func (PublicIPPrefixSkuResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**PublicIPPrefixSkuResponse)(nil)).Elem()
}
-// The port for communicating the probe. Possible values range from 1 to 65535, inclusive.
-func (o ProbeResponseOutput) Port() pulumi.IntOutput {
- return o.ApplyT(func(v ProbeResponse) int { return v.Port }).(pulumi.IntOutput)
+func (o PublicIPPrefixSkuResponsePtrOutput) ToPublicIPPrefixSkuResponsePtrOutput() PublicIPPrefixSkuResponsePtrOutput {
+ return o
}
-// The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation.
-func (o ProbeResponseOutput) ProbeThreshold() pulumi.IntPtrOutput {
- return o.ApplyT(func(v ProbeResponse) *int { return v.ProbeThreshold }).(pulumi.IntPtrOutput)
+func (o PublicIPPrefixSkuResponsePtrOutput) ToPublicIPPrefixSkuResponsePtrOutputWithContext(ctx context.Context) PublicIPPrefixSkuResponsePtrOutput {
+ return o
}
-// The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.
-func (o ProbeResponseOutput) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v ProbeResponse) string { return v.Protocol }).(pulumi.StringOutput)
+func (o PublicIPPrefixSkuResponsePtrOutput) Elem() PublicIPPrefixSkuResponseOutput {
+ return o.ApplyT(func(v *PublicIPPrefixSkuResponse) PublicIPPrefixSkuResponse {
+ if v != nil {
+ return *v
+ }
+ var ret PublicIPPrefixSkuResponse
+ return ret
+ }).(PublicIPPrefixSkuResponseOutput)
}
-// The provisioning state of the probe resource.
-func (o ProbeResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ProbeResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Name of a public IP prefix SKU.
+func (o PublicIPPrefixSkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPPrefixSkuResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.
-func (o ProbeResponseOutput) RequestPath() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ProbeResponse) *string { return v.RequestPath }).(pulumi.StringPtrOutput)
+// Tier of a public IP prefix SKU.
+func (o PublicIPPrefixSkuResponsePtrOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *PublicIPPrefixSkuResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Tier
+ }).(pulumi.StringPtrOutput)
}
-// Type of the resource.
-func (o ProbeResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v ProbeResponse) string { return v.Type }).(pulumi.StringOutput)
+// Quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking.
+type QosDefinition struct {
+ // Destination IP ranges.
+ DestinationIpRanges []QosIpRange `pulumi:"destinationIpRanges"`
+ // Destination port ranges.
+ DestinationPortRanges []QosPortRange `pulumi:"destinationPortRanges"`
+ // List of markings to be used in the configuration.
+ Markings []int `pulumi:"markings"`
+ // RNM supported protocol types.
+ Protocol *string `pulumi:"protocol"`
+ // Source IP ranges.
+ SourceIpRanges []QosIpRange `pulumi:"sourceIpRanges"`
+ // Sources port ranges.
+ SourcePortRanges []QosPortRange `pulumi:"sourcePortRanges"`
}
-type ProbeResponseArrayOutput struct{ *pulumi.OutputState }
+// QosDefinitionInput is an input type that accepts QosDefinitionArgs and QosDefinitionOutput values.
+// You can construct a concrete instance of `QosDefinitionInput` via:
+//
+// QosDefinitionArgs{...}
+type QosDefinitionInput interface {
+ pulumi.Input
-func (ProbeResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ProbeResponse)(nil)).Elem()
+ ToQosDefinitionOutput() QosDefinitionOutput
+ ToQosDefinitionOutputWithContext(context.Context) QosDefinitionOutput
}
-func (o ProbeResponseArrayOutput) ToProbeResponseArrayOutput() ProbeResponseArrayOutput {
- return o
+// Quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking.
+type QosDefinitionArgs struct {
+ // Destination IP ranges.
+ DestinationIpRanges QosIpRangeArrayInput `pulumi:"destinationIpRanges"`
+ // Destination port ranges.
+ DestinationPortRanges QosPortRangeArrayInput `pulumi:"destinationPortRanges"`
+ // List of markings to be used in the configuration.
+ Markings pulumi.IntArrayInput `pulumi:"markings"`
+ // RNM supported protocol types.
+ Protocol pulumi.StringPtrInput `pulumi:"protocol"`
+ // Source IP ranges.
+ SourceIpRanges QosIpRangeArrayInput `pulumi:"sourceIpRanges"`
+ // Sources port ranges.
+ SourcePortRanges QosPortRangeArrayInput `pulumi:"sourcePortRanges"`
}
-func (o ProbeResponseArrayOutput) ToProbeResponseArrayOutputWithContext(ctx context.Context) ProbeResponseArrayOutput {
- return o
+func (QosDefinitionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*QosDefinition)(nil)).Elem()
}
-func (o ProbeResponseArrayOutput) Index(i pulumi.IntInput) ProbeResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProbeResponse {
- return vs[0].([]ProbeResponse)[vs[1].(int)]
- }).(ProbeResponseOutput)
+func (i QosDefinitionArgs) ToQosDefinitionOutput() QosDefinitionOutput {
+ return i.ToQosDefinitionOutputWithContext(context.Background())
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTable struct {
- // The list of resource ids of all the RouteTables.
- Ids []CommonSubResource `pulumi:"ids"`
- // The list of labels.
- Labels []string `pulumi:"labels"`
+func (i QosDefinitionArgs) ToQosDefinitionOutputWithContext(ctx context.Context) QosDefinitionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(QosDefinitionOutput)
}
-// PropagatedRouteTableInput is an input type that accepts PropagatedRouteTableArgs and PropagatedRouteTableOutput values.
-// You can construct a concrete instance of `PropagatedRouteTableInput` via:
+// QosDefinitionArrayInput is an input type that accepts QosDefinitionArray and QosDefinitionArrayOutput values.
+// You can construct a concrete instance of `QosDefinitionArrayInput` via:
//
-// PropagatedRouteTableArgs{...}
-type PropagatedRouteTableInput interface {
+// QosDefinitionArray{ QosDefinitionArgs{...} }
+type QosDefinitionArrayInput interface {
pulumi.Input
- ToPropagatedRouteTableOutput() PropagatedRouteTableOutput
- ToPropagatedRouteTableOutputWithContext(context.Context) PropagatedRouteTableOutput
+ ToQosDefinitionArrayOutput() QosDefinitionArrayOutput
+ ToQosDefinitionArrayOutputWithContext(context.Context) QosDefinitionArrayOutput
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableArgs struct {
- // The list of resource ids of all the RouteTables.
- Ids CommonSubResourceArrayInput `pulumi:"ids"`
- // The list of labels.
- Labels pulumi.StringArrayInput `pulumi:"labels"`
-}
+type QosDefinitionArray []QosDefinitionInput
-func (PropagatedRouteTableArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTable)(nil)).Elem()
+func (QosDefinitionArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]QosDefinition)(nil)).Elem()
}
-func (i PropagatedRouteTableArgs) ToPropagatedRouteTableOutput() PropagatedRouteTableOutput {
- return i.ToPropagatedRouteTableOutputWithContext(context.Background())
+func (i QosDefinitionArray) ToQosDefinitionArrayOutput() QosDefinitionArrayOutput {
+ return i.ToQosDefinitionArrayOutputWithContext(context.Background())
}
-func (i PropagatedRouteTableArgs) ToPropagatedRouteTableOutputWithContext(ctx context.Context) PropagatedRouteTableOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableOutput)
+func (i QosDefinitionArray) ToQosDefinitionArrayOutputWithContext(ctx context.Context) QosDefinitionArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(QosDefinitionArrayOutput)
}
-func (i PropagatedRouteTableArgs) ToPropagatedRouteTablePtrOutput() PropagatedRouteTablePtrOutput {
- return i.ToPropagatedRouteTablePtrOutputWithContext(context.Background())
+// Quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking.
+type QosDefinitionOutput struct{ *pulumi.OutputState }
+
+func (QosDefinitionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*QosDefinition)(nil)).Elem()
}
-func (i PropagatedRouteTableArgs) ToPropagatedRouteTablePtrOutputWithContext(ctx context.Context) PropagatedRouteTablePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableOutput).ToPropagatedRouteTablePtrOutputWithContext(ctx)
+func (o QosDefinitionOutput) ToQosDefinitionOutput() QosDefinitionOutput {
+ return o
}
-// PropagatedRouteTablePtrInput is an input type that accepts PropagatedRouteTableArgs, PropagatedRouteTablePtr and PropagatedRouteTablePtrOutput values.
-// You can construct a concrete instance of `PropagatedRouteTablePtrInput` via:
-//
-// PropagatedRouteTableArgs{...}
-//
-// or:
-//
-// nil
-type PropagatedRouteTablePtrInput interface {
- pulumi.Input
+func (o QosDefinitionOutput) ToQosDefinitionOutputWithContext(ctx context.Context) QosDefinitionOutput {
+ return o
+}
- ToPropagatedRouteTablePtrOutput() PropagatedRouteTablePtrOutput
- ToPropagatedRouteTablePtrOutputWithContext(context.Context) PropagatedRouteTablePtrOutput
+// Destination IP ranges.
+func (o QosDefinitionOutput) DestinationIpRanges() QosIpRangeArrayOutput {
+ return o.ApplyT(func(v QosDefinition) []QosIpRange { return v.DestinationIpRanges }).(QosIpRangeArrayOutput)
}
-type propagatedRouteTablePtrType PropagatedRouteTableArgs
+// Destination port ranges.
+func (o QosDefinitionOutput) DestinationPortRanges() QosPortRangeArrayOutput {
+ return o.ApplyT(func(v QosDefinition) []QosPortRange { return v.DestinationPortRanges }).(QosPortRangeArrayOutput)
+}
-func PropagatedRouteTablePtr(v *PropagatedRouteTableArgs) PropagatedRouteTablePtrInput {
- return (*propagatedRouteTablePtrType)(v)
+// List of markings to be used in the configuration.
+func (o QosDefinitionOutput) Markings() pulumi.IntArrayOutput {
+ return o.ApplyT(func(v QosDefinition) []int { return v.Markings }).(pulumi.IntArrayOutput)
}
-func (*propagatedRouteTablePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTable)(nil)).Elem()
+// RNM supported protocol types.
+func (o QosDefinitionOutput) Protocol() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v QosDefinition) *string { return v.Protocol }).(pulumi.StringPtrOutput)
}
-func (i *propagatedRouteTablePtrType) ToPropagatedRouteTablePtrOutput() PropagatedRouteTablePtrOutput {
- return i.ToPropagatedRouteTablePtrOutputWithContext(context.Background())
+// Source IP ranges.
+func (o QosDefinitionOutput) SourceIpRanges() QosIpRangeArrayOutput {
+ return o.ApplyT(func(v QosDefinition) []QosIpRange { return v.SourceIpRanges }).(QosIpRangeArrayOutput)
}
-func (i *propagatedRouteTablePtrType) ToPropagatedRouteTablePtrOutputWithContext(ctx context.Context) PropagatedRouteTablePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTablePtrOutput)
+// Sources port ranges.
+func (o QosDefinitionOutput) SourcePortRanges() QosPortRangeArrayOutput {
+ return o.ApplyT(func(v QosDefinition) []QosPortRange { return v.SourcePortRanges }).(QosPortRangeArrayOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableOutput struct{ *pulumi.OutputState }
+type QosDefinitionArrayOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTable)(nil)).Elem()
+func (QosDefinitionArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]QosDefinition)(nil)).Elem()
}
-func (o PropagatedRouteTableOutput) ToPropagatedRouteTableOutput() PropagatedRouteTableOutput {
+func (o QosDefinitionArrayOutput) ToQosDefinitionArrayOutput() QosDefinitionArrayOutput {
return o
}
-func (o PropagatedRouteTableOutput) ToPropagatedRouteTableOutputWithContext(ctx context.Context) PropagatedRouteTableOutput {
+func (o QosDefinitionArrayOutput) ToQosDefinitionArrayOutputWithContext(ctx context.Context) QosDefinitionArrayOutput {
return o
}
-func (o PropagatedRouteTableOutput) ToPropagatedRouteTablePtrOutput() PropagatedRouteTablePtrOutput {
- return o.ToPropagatedRouteTablePtrOutputWithContext(context.Background())
+func (o QosDefinitionArrayOutput) Index(i pulumi.IntInput) QosDefinitionOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) QosDefinition {
+ return vs[0].([]QosDefinition)[vs[1].(int)]
+ }).(QosDefinitionOutput)
}
-func (o PropagatedRouteTableOutput) ToPropagatedRouteTablePtrOutputWithContext(ctx context.Context) PropagatedRouteTablePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PropagatedRouteTable) *PropagatedRouteTable {
- return &v
- }).(PropagatedRouteTablePtrOutput)
+// Quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking.
+type QosDefinitionResponse struct {
+ // Destination IP ranges.
+ DestinationIpRanges []QosIpRangeResponse `pulumi:"destinationIpRanges"`
+ // Destination port ranges.
+ DestinationPortRanges []QosPortRangeResponse `pulumi:"destinationPortRanges"`
+ // List of markings to be used in the configuration.
+ Markings []int `pulumi:"markings"`
+ // RNM supported protocol types.
+ Protocol *string `pulumi:"protocol"`
+ // Source IP ranges.
+ SourceIpRanges []QosIpRangeResponse `pulumi:"sourceIpRanges"`
+ // Sources port ranges.
+ SourcePortRanges []QosPortRangeResponse `pulumi:"sourcePortRanges"`
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableOutput) Ids() CommonSubResourceArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTable) []CommonSubResource { return v.Ids }).(CommonSubResourceArrayOutput)
-}
+// Quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking.
+type QosDefinitionResponseOutput struct{ *pulumi.OutputState }
-// The list of labels.
-func (o PropagatedRouteTableOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTable) []string { return v.Labels }).(pulumi.StringArrayOutput)
+func (QosDefinitionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*QosDefinitionResponse)(nil)).Elem()
}
-type PropagatedRouteTablePtrOutput struct{ *pulumi.OutputState }
-
-func (PropagatedRouteTablePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTable)(nil)).Elem()
+func (o QosDefinitionResponseOutput) ToQosDefinitionResponseOutput() QosDefinitionResponseOutput {
+ return o
}
-func (o PropagatedRouteTablePtrOutput) ToPropagatedRouteTablePtrOutput() PropagatedRouteTablePtrOutput {
+func (o QosDefinitionResponseOutput) ToQosDefinitionResponseOutputWithContext(ctx context.Context) QosDefinitionResponseOutput {
return o
}
-func (o PropagatedRouteTablePtrOutput) ToPropagatedRouteTablePtrOutputWithContext(ctx context.Context) PropagatedRouteTablePtrOutput {
- return o
+// Destination IP ranges.
+func (o QosDefinitionResponseOutput) DestinationIpRanges() QosIpRangeResponseArrayOutput {
+ return o.ApplyT(func(v QosDefinitionResponse) []QosIpRangeResponse { return v.DestinationIpRanges }).(QosIpRangeResponseArrayOutput)
}
-func (o PropagatedRouteTablePtrOutput) Elem() PropagatedRouteTableOutput {
- return o.ApplyT(func(v *PropagatedRouteTable) PropagatedRouteTable {
- if v != nil {
- return *v
- }
- var ret PropagatedRouteTable
- return ret
- }).(PropagatedRouteTableOutput)
+// Destination port ranges.
+func (o QosDefinitionResponseOutput) DestinationPortRanges() QosPortRangeResponseArrayOutput {
+ return o.ApplyT(func(v QosDefinitionResponse) []QosPortRangeResponse { return v.DestinationPortRanges }).(QosPortRangeResponseArrayOutput)
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTablePtrOutput) Ids() CommonSubResourceArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTable) []CommonSubResource {
- if v == nil {
- return nil
- }
- return v.Ids
- }).(CommonSubResourceArrayOutput)
+// List of markings to be used in the configuration.
+func (o QosDefinitionResponseOutput) Markings() pulumi.IntArrayOutput {
+ return o.ApplyT(func(v QosDefinitionResponse) []int { return v.Markings }).(pulumi.IntArrayOutput)
}
-// The list of labels.
-func (o PropagatedRouteTablePtrOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTable) []string {
- if v == nil {
- return nil
- }
- return v.Labels
- }).(pulumi.StringArrayOutput)
+// RNM supported protocol types.
+func (o QosDefinitionResponseOutput) Protocol() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v QosDefinitionResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponse struct {
- // The list of resource ids of all the RouteTables.
- Ids []CommonSubResourceResponse `pulumi:"ids"`
- // The list of labels.
- Labels []string `pulumi:"labels"`
+// Source IP ranges.
+func (o QosDefinitionResponseOutput) SourceIpRanges() QosIpRangeResponseArrayOutput {
+ return o.ApplyT(func(v QosDefinitionResponse) []QosIpRangeResponse { return v.SourceIpRanges }).(QosIpRangeResponseArrayOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseOutput struct{ *pulumi.OutputState }
+// Sources port ranges.
+func (o QosDefinitionResponseOutput) SourcePortRanges() QosPortRangeResponseArrayOutput {
+ return o.ApplyT(func(v QosDefinitionResponse) []QosPortRangeResponse { return v.SourcePortRanges }).(QosPortRangeResponseArrayOutput)
+}
-func (PropagatedRouteTableResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableResponse)(nil)).Elem()
+type QosDefinitionResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (QosDefinitionResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]QosDefinitionResponse)(nil)).Elem()
}
-func (o PropagatedRouteTableResponseOutput) ToPropagatedRouteTableResponseOutput() PropagatedRouteTableResponseOutput {
+func (o QosDefinitionResponseArrayOutput) ToQosDefinitionResponseArrayOutput() QosDefinitionResponseArrayOutput {
return o
}
-func (o PropagatedRouteTableResponseOutput) ToPropagatedRouteTableResponseOutputWithContext(ctx context.Context) PropagatedRouteTableResponseOutput {
+func (o QosDefinitionResponseArrayOutput) ToQosDefinitionResponseArrayOutputWithContext(ctx context.Context) QosDefinitionResponseArrayOutput {
return o
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseOutput) Ids() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponse) []CommonSubResourceResponse { return v.Ids }).(CommonSubResourceResponseArrayOutput)
+func (o QosDefinitionResponseArrayOutput) Index(i pulumi.IntInput) QosDefinitionResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) QosDefinitionResponse {
+ return vs[0].([]QosDefinitionResponse)[vs[1].(int)]
+ }).(QosDefinitionResponseOutput)
}
-// The list of labels.
-func (o PropagatedRouteTableResponseOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponse) []string { return v.Labels }).(pulumi.StringArrayOutput)
+// Qos Traffic Profiler IP Range properties.
+type QosIpRange struct {
+ // End IP Address.
+ EndIP *string `pulumi:"endIP"`
+ // Start IP Address.
+ StartIP *string `pulumi:"startIP"`
}
-type PropagatedRouteTableResponsePtrOutput struct{ *pulumi.OutputState }
+// QosIpRangeInput is an input type that accepts QosIpRangeArgs and QosIpRangeOutput values.
+// You can construct a concrete instance of `QosIpRangeInput` via:
+//
+// QosIpRangeArgs{...}
+type QosIpRangeInput interface {
+ pulumi.Input
-func (PropagatedRouteTableResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableResponse)(nil)).Elem()
+ ToQosIpRangeOutput() QosIpRangeOutput
+ ToQosIpRangeOutputWithContext(context.Context) QosIpRangeOutput
}
-func (o PropagatedRouteTableResponsePtrOutput) ToPropagatedRouteTableResponsePtrOutput() PropagatedRouteTableResponsePtrOutput {
- return o
+// Qos Traffic Profiler IP Range properties.
+type QosIpRangeArgs struct {
+ // End IP Address.
+ EndIP pulumi.StringPtrInput `pulumi:"endIP"`
+ // Start IP Address.
+ StartIP pulumi.StringPtrInput `pulumi:"startIP"`
}
-func (o PropagatedRouteTableResponsePtrOutput) ToPropagatedRouteTableResponsePtrOutputWithContext(ctx context.Context) PropagatedRouteTableResponsePtrOutput {
- return o
+func (QosIpRangeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*QosIpRange)(nil)).Elem()
}
-func (o PropagatedRouteTableResponsePtrOutput) Elem() PropagatedRouteTableResponseOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponse) PropagatedRouteTableResponse {
- if v != nil {
- return *v
- }
- var ret PropagatedRouteTableResponse
- return ret
- }).(PropagatedRouteTableResponseOutput)
+func (i QosIpRangeArgs) ToQosIpRangeOutput() QosIpRangeOutput {
+ return i.ToQosIpRangeOutputWithContext(context.Background())
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponsePtrOutput) Ids() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponse) []CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.Ids
- }).(CommonSubResourceResponseArrayOutput)
+func (i QosIpRangeArgs) ToQosIpRangeOutputWithContext(ctx context.Context) QosIpRangeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(QosIpRangeOutput)
}
-// The list of labels.
-func (o PropagatedRouteTableResponsePtrOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponse) []string {
- if v == nil {
- return nil
- }
- return v.Labels
- }).(pulumi.StringArrayOutput)
-}
+// QosIpRangeArrayInput is an input type that accepts QosIpRangeArray and QosIpRangeArrayOutput values.
+// You can construct a concrete instance of `QosIpRangeArrayInput` via:
+//
+// QosIpRangeArray{ QosIpRangeArgs{...} }
+type QosIpRangeArrayInput interface {
+ pulumi.Input
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseV1 struct {
- // The list of resource ids of all the RouteTables.
- Ids []SubResourceResponse `pulumi:"ids"`
- // The list of labels.
- Labels []string `pulumi:"labels"`
+ ToQosIpRangeArrayOutput() QosIpRangeArrayOutput
+ ToQosIpRangeArrayOutputWithContext(context.Context) QosIpRangeArrayOutput
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseV1Output struct{ *pulumi.OutputState }
+type QosIpRangeArray []QosIpRangeInput
-func (PropagatedRouteTableResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableResponseV1)(nil)).Elem()
+func (QosIpRangeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]QosIpRange)(nil)).Elem()
}
-func (o PropagatedRouteTableResponseV1Output) ToPropagatedRouteTableResponseV1Output() PropagatedRouteTableResponseV1Output {
- return o
+func (i QosIpRangeArray) ToQosIpRangeArrayOutput() QosIpRangeArrayOutput {
+ return i.ToQosIpRangeArrayOutputWithContext(context.Background())
}
-func (o PropagatedRouteTableResponseV1Output) ToPropagatedRouteTableResponseV1OutputWithContext(ctx context.Context) PropagatedRouteTableResponseV1Output {
- return o
+func (i QosIpRangeArray) ToQosIpRangeArrayOutputWithContext(ctx context.Context) QosIpRangeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(QosIpRangeArrayOutput)
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseV1Output) Ids() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponseV1) []SubResourceResponse { return v.Ids }).(SubResourceResponseArrayOutput)
-}
+// Qos Traffic Profiler IP Range properties.
+type QosIpRangeOutput struct{ *pulumi.OutputState }
-// The list of labels.
-func (o PropagatedRouteTableResponseV1Output) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponseV1) []string { return v.Labels }).(pulumi.StringArrayOutput)
+func (QosIpRangeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*QosIpRange)(nil)).Elem()
}
-type PropagatedRouteTableResponseV1PtrOutput struct{ *pulumi.OutputState }
-
-func (PropagatedRouteTableResponseV1PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableResponseV1)(nil)).Elem()
-}
-
-func (o PropagatedRouteTableResponseV1PtrOutput) ToPropagatedRouteTableResponseV1PtrOutput() PropagatedRouteTableResponseV1PtrOutput {
+func (o QosIpRangeOutput) ToQosIpRangeOutput() QosIpRangeOutput {
return o
}
-func (o PropagatedRouteTableResponseV1PtrOutput) ToPropagatedRouteTableResponseV1PtrOutputWithContext(ctx context.Context) PropagatedRouteTableResponseV1PtrOutput {
+func (o QosIpRangeOutput) ToQosIpRangeOutputWithContext(ctx context.Context) QosIpRangeOutput {
return o
}
-func (o PropagatedRouteTableResponseV1PtrOutput) Elem() PropagatedRouteTableResponseV1Output {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV1) PropagatedRouteTableResponseV1 {
- if v != nil {
- return *v
- }
- var ret PropagatedRouteTableResponseV1
- return ret
- }).(PropagatedRouteTableResponseV1Output)
-}
-
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseV1PtrOutput) Ids() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV1) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.Ids
- }).(SubResourceResponseArrayOutput)
-}
-
-// The list of labels.
-func (o PropagatedRouteTableResponseV1PtrOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV1) []string {
- if v == nil {
- return nil
- }
- return v.Labels
- }).(pulumi.StringArrayOutput)
+// End IP Address.
+func (o QosIpRangeOutput) EndIP() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v QosIpRange) *string { return v.EndIP }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseV2 struct {
- // The list of resource ids of all the RouteTables.
- Ids []SubResourceResponse `pulumi:"ids"`
- // The list of labels.
- Labels []string `pulumi:"labels"`
+// Start IP Address.
+func (o QosIpRangeOutput) StartIP() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v QosIpRange) *string { return v.StartIP }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseV2Output struct{ *pulumi.OutputState }
+type QosIpRangeArrayOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableResponseV2Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableResponseV2)(nil)).Elem()
+func (QosIpRangeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]QosIpRange)(nil)).Elem()
}
-func (o PropagatedRouteTableResponseV2Output) ToPropagatedRouteTableResponseV2Output() PropagatedRouteTableResponseV2Output {
+func (o QosIpRangeArrayOutput) ToQosIpRangeArrayOutput() QosIpRangeArrayOutput {
return o
}
-func (o PropagatedRouteTableResponseV2Output) ToPropagatedRouteTableResponseV2OutputWithContext(ctx context.Context) PropagatedRouteTableResponseV2Output {
+func (o QosIpRangeArrayOutput) ToQosIpRangeArrayOutputWithContext(ctx context.Context) QosIpRangeArrayOutput {
return o
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseV2Output) Ids() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponseV2) []SubResourceResponse { return v.Ids }).(SubResourceResponseArrayOutput)
+func (o QosIpRangeArrayOutput) Index(i pulumi.IntInput) QosIpRangeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) QosIpRange {
+ return vs[0].([]QosIpRange)[vs[1].(int)]
+ }).(QosIpRangeOutput)
}
-// The list of labels.
-func (o PropagatedRouteTableResponseV2Output) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponseV2) []string { return v.Labels }).(pulumi.StringArrayOutput)
+// Qos Traffic Profiler IP Range properties.
+type QosIpRangeResponse struct {
+ // End IP Address.
+ EndIP *string `pulumi:"endIP"`
+ // Start IP Address.
+ StartIP *string `pulumi:"startIP"`
}
-type PropagatedRouteTableResponseV2PtrOutput struct{ *pulumi.OutputState }
+// Qos Traffic Profiler IP Range properties.
+type QosIpRangeResponseOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableResponseV2PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableResponseV2)(nil)).Elem()
+func (QosIpRangeResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*QosIpRangeResponse)(nil)).Elem()
}
-func (o PropagatedRouteTableResponseV2PtrOutput) ToPropagatedRouteTableResponseV2PtrOutput() PropagatedRouteTableResponseV2PtrOutput {
+func (o QosIpRangeResponseOutput) ToQosIpRangeResponseOutput() QosIpRangeResponseOutput {
return o
}
-func (o PropagatedRouteTableResponseV2PtrOutput) ToPropagatedRouteTableResponseV2PtrOutputWithContext(ctx context.Context) PropagatedRouteTableResponseV2PtrOutput {
+func (o QosIpRangeResponseOutput) ToQosIpRangeResponseOutputWithContext(ctx context.Context) QosIpRangeResponseOutput {
return o
}
-func (o PropagatedRouteTableResponseV2PtrOutput) Elem() PropagatedRouteTableResponseV2Output {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV2) PropagatedRouteTableResponseV2 {
- if v != nil {
- return *v
- }
- var ret PropagatedRouteTableResponseV2
- return ret
- }).(PropagatedRouteTableResponseV2Output)
-}
-
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseV2PtrOutput) Ids() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV2) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.Ids
- }).(SubResourceResponseArrayOutput)
-}
-
-// The list of labels.
-func (o PropagatedRouteTableResponseV2PtrOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV2) []string {
- if v == nil {
- return nil
- }
- return v.Labels
- }).(pulumi.StringArrayOutput)
+// End IP Address.
+func (o QosIpRangeResponseOutput) EndIP() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v QosIpRangeResponse) *string { return v.EndIP }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseV3 struct {
- // The list of resource ids of all the RouteTables.
- Ids []SubResourceResponse `pulumi:"ids"`
- // The list of labels.
- Labels []string `pulumi:"labels"`
+// Start IP Address.
+func (o QosIpRangeResponseOutput) StartIP() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v QosIpRangeResponse) *string { return v.StartIP }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseV3Output struct{ *pulumi.OutputState }
+type QosIpRangeResponseArrayOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableResponseV3Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableResponseV3)(nil)).Elem()
+func (QosIpRangeResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]QosIpRangeResponse)(nil)).Elem()
}
-func (o PropagatedRouteTableResponseV3Output) ToPropagatedRouteTableResponseV3Output() PropagatedRouteTableResponseV3Output {
+func (o QosIpRangeResponseArrayOutput) ToQosIpRangeResponseArrayOutput() QosIpRangeResponseArrayOutput {
return o
}
-func (o PropagatedRouteTableResponseV3Output) ToPropagatedRouteTableResponseV3OutputWithContext(ctx context.Context) PropagatedRouteTableResponseV3Output {
+func (o QosIpRangeResponseArrayOutput) ToQosIpRangeResponseArrayOutputWithContext(ctx context.Context) QosIpRangeResponseArrayOutput {
return o
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseV3Output) Ids() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponseV3) []SubResourceResponse { return v.Ids }).(SubResourceResponseArrayOutput)
-}
-
-// The list of labels.
-func (o PropagatedRouteTableResponseV3Output) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponseV3) []string { return v.Labels }).(pulumi.StringArrayOutput)
+func (o QosIpRangeResponseArrayOutput) Index(i pulumi.IntInput) QosIpRangeResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) QosIpRangeResponse {
+ return vs[0].([]QosIpRangeResponse)[vs[1].(int)]
+ }).(QosIpRangeResponseOutput)
}
-type PropagatedRouteTableResponseV3PtrOutput struct{ *pulumi.OutputState }
-
-func (PropagatedRouteTableResponseV3PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableResponseV3)(nil)).Elem()
+// Qos Traffic Profiler Port range properties.
+type QosPortRange struct {
+ // Qos Port Range end.
+ End *int `pulumi:"end"`
+ // Qos Port Range start.
+ Start *int `pulumi:"start"`
}
-func (o PropagatedRouteTableResponseV3PtrOutput) ToPropagatedRouteTableResponseV3PtrOutput() PropagatedRouteTableResponseV3PtrOutput {
- return o
-}
+// QosPortRangeInput is an input type that accepts QosPortRangeArgs and QosPortRangeOutput values.
+// You can construct a concrete instance of `QosPortRangeInput` via:
+//
+// QosPortRangeArgs{...}
+type QosPortRangeInput interface {
+ pulumi.Input
-func (o PropagatedRouteTableResponseV3PtrOutput) ToPropagatedRouteTableResponseV3PtrOutputWithContext(ctx context.Context) PropagatedRouteTableResponseV3PtrOutput {
- return o
+ ToQosPortRangeOutput() QosPortRangeOutput
+ ToQosPortRangeOutputWithContext(context.Context) QosPortRangeOutput
}
-func (o PropagatedRouteTableResponseV3PtrOutput) Elem() PropagatedRouteTableResponseV3Output {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV3) PropagatedRouteTableResponseV3 {
- if v != nil {
- return *v
- }
- var ret PropagatedRouteTableResponseV3
- return ret
- }).(PropagatedRouteTableResponseV3Output)
+// Qos Traffic Profiler Port range properties.
+type QosPortRangeArgs struct {
+ // Qos Port Range end.
+ End pulumi.IntPtrInput `pulumi:"end"`
+ // Qos Port Range start.
+ Start pulumi.IntPtrInput `pulumi:"start"`
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseV3PtrOutput) Ids() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV3) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.Ids
- }).(SubResourceResponseArrayOutput)
+func (QosPortRangeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*QosPortRange)(nil)).Elem()
}
-// The list of labels.
-func (o PropagatedRouteTableResponseV3PtrOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV3) []string {
- if v == nil {
- return nil
- }
- return v.Labels
- }).(pulumi.StringArrayOutput)
+func (i QosPortRangeArgs) ToQosPortRangeOutput() QosPortRangeOutput {
+ return i.ToQosPortRangeOutputWithContext(context.Background())
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseV5 struct {
- // The list of resource ids of all the RouteTables.
- Ids []SubResourceResponse `pulumi:"ids"`
- // The list of labels.
- Labels []string `pulumi:"labels"`
+func (i QosPortRangeArgs) ToQosPortRangeOutputWithContext(ctx context.Context) QosPortRangeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(QosPortRangeOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseV5Output struct{ *pulumi.OutputState }
+// QosPortRangeArrayInput is an input type that accepts QosPortRangeArray and QosPortRangeArrayOutput values.
+// You can construct a concrete instance of `QosPortRangeArrayInput` via:
+//
+// QosPortRangeArray{ QosPortRangeArgs{...} }
+type QosPortRangeArrayInput interface {
+ pulumi.Input
-func (PropagatedRouteTableResponseV5Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableResponseV5)(nil)).Elem()
+ ToQosPortRangeArrayOutput() QosPortRangeArrayOutput
+ ToQosPortRangeArrayOutputWithContext(context.Context) QosPortRangeArrayOutput
}
-func (o PropagatedRouteTableResponseV5Output) ToPropagatedRouteTableResponseV5Output() PropagatedRouteTableResponseV5Output {
- return o
-}
+type QosPortRangeArray []QosPortRangeInput
-func (o PropagatedRouteTableResponseV5Output) ToPropagatedRouteTableResponseV5OutputWithContext(ctx context.Context) PropagatedRouteTableResponseV5Output {
- return o
+func (QosPortRangeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]QosPortRange)(nil)).Elem()
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseV5Output) Ids() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponseV5) []SubResourceResponse { return v.Ids }).(SubResourceResponseArrayOutput)
+func (i QosPortRangeArray) ToQosPortRangeArrayOutput() QosPortRangeArrayOutput {
+ return i.ToQosPortRangeArrayOutputWithContext(context.Background())
}
-// The list of labels.
-func (o PropagatedRouteTableResponseV5Output) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponseV5) []string { return v.Labels }).(pulumi.StringArrayOutput)
+func (i QosPortRangeArray) ToQosPortRangeArrayOutputWithContext(ctx context.Context) QosPortRangeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(QosPortRangeArrayOutput)
}
-type PropagatedRouteTableResponseV5PtrOutput struct{ *pulumi.OutputState }
+// Qos Traffic Profiler Port range properties.
+type QosPortRangeOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableResponseV5PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableResponseV5)(nil)).Elem()
+func (QosPortRangeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*QosPortRange)(nil)).Elem()
}
-func (o PropagatedRouteTableResponseV5PtrOutput) ToPropagatedRouteTableResponseV5PtrOutput() PropagatedRouteTableResponseV5PtrOutput {
+func (o QosPortRangeOutput) ToQosPortRangeOutput() QosPortRangeOutput {
return o
}
-func (o PropagatedRouteTableResponseV5PtrOutput) ToPropagatedRouteTableResponseV5PtrOutputWithContext(ctx context.Context) PropagatedRouteTableResponseV5PtrOutput {
+func (o QosPortRangeOutput) ToQosPortRangeOutputWithContext(ctx context.Context) QosPortRangeOutput {
return o
}
-func (o PropagatedRouteTableResponseV5PtrOutput) Elem() PropagatedRouteTableResponseV5Output {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV5) PropagatedRouteTableResponseV5 {
- if v != nil {
- return *v
- }
- var ret PropagatedRouteTableResponseV5
- return ret
- }).(PropagatedRouteTableResponseV5Output)
-}
-
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseV5PtrOutput) Ids() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV5) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.Ids
- }).(SubResourceResponseArrayOutput)
-}
-
-// The list of labels.
-func (o PropagatedRouteTableResponseV5PtrOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV5) []string {
- if v == nil {
- return nil
- }
- return v.Labels
- }).(pulumi.StringArrayOutput)
+// Qos Port Range end.
+func (o QosPortRangeOutput) End() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v QosPortRange) *int { return v.End }).(pulumi.IntPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseV6 struct {
- // The list of resource ids of all the RouteTables.
- Ids []SubResourceResponse `pulumi:"ids"`
- // The list of labels.
- Labels []string `pulumi:"labels"`
+// Qos Port Range start.
+func (o QosPortRangeOutput) Start() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v QosPortRange) *int { return v.Start }).(pulumi.IntPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseV6Output struct{ *pulumi.OutputState }
+type QosPortRangeArrayOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableResponseV6Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableResponseV6)(nil)).Elem()
+func (QosPortRangeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]QosPortRange)(nil)).Elem()
}
-func (o PropagatedRouteTableResponseV6Output) ToPropagatedRouteTableResponseV6Output() PropagatedRouteTableResponseV6Output {
+func (o QosPortRangeArrayOutput) ToQosPortRangeArrayOutput() QosPortRangeArrayOutput {
return o
}
-func (o PropagatedRouteTableResponseV6Output) ToPropagatedRouteTableResponseV6OutputWithContext(ctx context.Context) PropagatedRouteTableResponseV6Output {
+func (o QosPortRangeArrayOutput) ToQosPortRangeArrayOutputWithContext(ctx context.Context) QosPortRangeArrayOutput {
return o
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseV6Output) Ids() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponseV6) []SubResourceResponse { return v.Ids }).(SubResourceResponseArrayOutput)
+func (o QosPortRangeArrayOutput) Index(i pulumi.IntInput) QosPortRangeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) QosPortRange {
+ return vs[0].([]QosPortRange)[vs[1].(int)]
+ }).(QosPortRangeOutput)
}
-// The list of labels.
-func (o PropagatedRouteTableResponseV6Output) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponseV6) []string { return v.Labels }).(pulumi.StringArrayOutput)
+// Qos Traffic Profiler Port range properties.
+type QosPortRangeResponse struct {
+ // Qos Port Range end.
+ End *int `pulumi:"end"`
+ // Qos Port Range start.
+ Start *int `pulumi:"start"`
}
-type PropagatedRouteTableResponseV6PtrOutput struct{ *pulumi.OutputState }
+// Qos Traffic Profiler Port range properties.
+type QosPortRangeResponseOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableResponseV6PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableResponseV6)(nil)).Elem()
+func (QosPortRangeResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*QosPortRangeResponse)(nil)).Elem()
}
-func (o PropagatedRouteTableResponseV6PtrOutput) ToPropagatedRouteTableResponseV6PtrOutput() PropagatedRouteTableResponseV6PtrOutput {
+func (o QosPortRangeResponseOutput) ToQosPortRangeResponseOutput() QosPortRangeResponseOutput {
return o
}
-func (o PropagatedRouteTableResponseV6PtrOutput) ToPropagatedRouteTableResponseV6PtrOutputWithContext(ctx context.Context) PropagatedRouteTableResponseV6PtrOutput {
+func (o QosPortRangeResponseOutput) ToQosPortRangeResponseOutputWithContext(ctx context.Context) QosPortRangeResponseOutput {
return o
}
-func (o PropagatedRouteTableResponseV6PtrOutput) Elem() PropagatedRouteTableResponseV6Output {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV6) PropagatedRouteTableResponseV6 {
- if v != nil {
- return *v
- }
- var ret PropagatedRouteTableResponseV6
- return ret
- }).(PropagatedRouteTableResponseV6Output)
-}
-
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseV6PtrOutput) Ids() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV6) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.Ids
- }).(SubResourceResponseArrayOutput)
-}
-
-// The list of labels.
-func (o PropagatedRouteTableResponseV6PtrOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV6) []string {
- if v == nil {
- return nil
- }
- return v.Labels
- }).(pulumi.StringArrayOutput)
+// Qos Port Range end.
+func (o QosPortRangeResponseOutput) End() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v QosPortRangeResponse) *int { return v.End }).(pulumi.IntPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseV7 struct {
- // The list of resource ids of all the RouteTables.
- Ids []SubResourceResponse `pulumi:"ids"`
- // The list of labels.
- Labels []string `pulumi:"labels"`
+// Qos Port Range start.
+func (o QosPortRangeResponseOutput) Start() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v QosPortRangeResponse) *int { return v.Start }).(pulumi.IntPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseV7Output struct{ *pulumi.OutputState }
+type QosPortRangeResponseArrayOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableResponseV7Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableResponseV7)(nil)).Elem()
+func (QosPortRangeResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]QosPortRangeResponse)(nil)).Elem()
}
-func (o PropagatedRouteTableResponseV7Output) ToPropagatedRouteTableResponseV7Output() PropagatedRouteTableResponseV7Output {
+func (o QosPortRangeResponseArrayOutput) ToQosPortRangeResponseArrayOutput() QosPortRangeResponseArrayOutput {
return o
}
-func (o PropagatedRouteTableResponseV7Output) ToPropagatedRouteTableResponseV7OutputWithContext(ctx context.Context) PropagatedRouteTableResponseV7Output {
+func (o QosPortRangeResponseArrayOutput) ToQosPortRangeResponseArrayOutputWithContext(ctx context.Context) QosPortRangeResponseArrayOutput {
return o
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseV7Output) Ids() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponseV7) []SubResourceResponse { return v.Ids }).(SubResourceResponseArrayOutput)
+func (o QosPortRangeResponseArrayOutput) Index(i pulumi.IntInput) QosPortRangeResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) QosPortRangeResponse {
+ return vs[0].([]QosPortRangeResponse)[vs[1].(int)]
+ }).(QosPortRangeResponseOutput)
}
-// The list of labels.
-func (o PropagatedRouteTableResponseV7Output) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponseV7) []string { return v.Labels }).(pulumi.StringArrayOutput)
+// Gateway or VpnServerConfiguration Radius server with radius secret details
+type RadiusAuthServerResponse struct {
+ // Radius server IPAddress
+ RadiusServerAddress *string `pulumi:"radiusServerAddress"`
+ // Radius server secret
+ RadiusServerSecret *string `pulumi:"radiusServerSecret"`
}
-type PropagatedRouteTableResponseV7PtrOutput struct{ *pulumi.OutputState }
+// Gateway or VpnServerConfiguration Radius server with radius secret details
+type RadiusAuthServerResponseOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableResponseV7PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableResponseV7)(nil)).Elem()
+func (RadiusAuthServerResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RadiusAuthServerResponse)(nil)).Elem()
}
-func (o PropagatedRouteTableResponseV7PtrOutput) ToPropagatedRouteTableResponseV7PtrOutput() PropagatedRouteTableResponseV7PtrOutput {
+func (o RadiusAuthServerResponseOutput) ToRadiusAuthServerResponseOutput() RadiusAuthServerResponseOutput {
return o
}
-func (o PropagatedRouteTableResponseV7PtrOutput) ToPropagatedRouteTableResponseV7PtrOutputWithContext(ctx context.Context) PropagatedRouteTableResponseV7PtrOutput {
+func (o RadiusAuthServerResponseOutput) ToRadiusAuthServerResponseOutputWithContext(ctx context.Context) RadiusAuthServerResponseOutput {
return o
}
-func (o PropagatedRouteTableResponseV7PtrOutput) Elem() PropagatedRouteTableResponseV7Output {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV7) PropagatedRouteTableResponseV7 {
- if v != nil {
- return *v
- }
- var ret PropagatedRouteTableResponseV7
- return ret
- }).(PropagatedRouteTableResponseV7Output)
-}
-
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseV7PtrOutput) Ids() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV7) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.Ids
- }).(SubResourceResponseArrayOutput)
-}
-
-// The list of labels.
-func (o PropagatedRouteTableResponseV7PtrOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV7) []string {
- if v == nil {
- return nil
- }
- return v.Labels
- }).(pulumi.StringArrayOutput)
+// Radius server IPAddress
+func (o RadiusAuthServerResponseOutput) RadiusServerAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RadiusAuthServerResponse) *string { return v.RadiusServerAddress }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseV8 struct {
- // The list of resource ids of all the RouteTables.
- Ids []SubResourceResponse `pulumi:"ids"`
- // The list of labels.
- Labels []string `pulumi:"labels"`
+// Radius server secret
+func (o RadiusAuthServerResponseOutput) RadiusServerSecret() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RadiusAuthServerResponse) *string { return v.RadiusServerSecret }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseV8Output struct{ *pulumi.OutputState }
+type RadiusAuthServerResponseArrayOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableResponseV8Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableResponseV8)(nil)).Elem()
+func (RadiusAuthServerResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RadiusAuthServerResponse)(nil)).Elem()
}
-func (o PropagatedRouteTableResponseV8Output) ToPropagatedRouteTableResponseV8Output() PropagatedRouteTableResponseV8Output {
+func (o RadiusAuthServerResponseArrayOutput) ToRadiusAuthServerResponseArrayOutput() RadiusAuthServerResponseArrayOutput {
return o
}
-func (o PropagatedRouteTableResponseV8Output) ToPropagatedRouteTableResponseV8OutputWithContext(ctx context.Context) PropagatedRouteTableResponseV8Output {
+func (o RadiusAuthServerResponseArrayOutput) ToRadiusAuthServerResponseArrayOutputWithContext(ctx context.Context) RadiusAuthServerResponseArrayOutput {
return o
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseV8Output) Ids() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponseV8) []SubResourceResponse { return v.Ids }).(SubResourceResponseArrayOutput)
-}
-
-// The list of labels.
-func (o PropagatedRouteTableResponseV8Output) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponseV8) []string { return v.Labels }).(pulumi.StringArrayOutput)
+func (o RadiusAuthServerResponseArrayOutput) Index(i pulumi.IntInput) RadiusAuthServerResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) RadiusAuthServerResponse {
+ return vs[0].([]RadiusAuthServerResponse)[vs[1].(int)]
+ }).(RadiusAuthServerResponseOutput)
}
-type PropagatedRouteTableResponseV8PtrOutput struct{ *pulumi.OutputState }
-
-func (PropagatedRouteTableResponseV8PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableResponseV8)(nil)).Elem()
+// Radius Server Settings.
+type RadiusServer struct {
+ // The address of this radius server.
+ RadiusServerAddress string `pulumi:"radiusServerAddress"`
+ // The initial score assigned to this radius server.
+ RadiusServerScore *float64 `pulumi:"radiusServerScore"`
+ // The secret used for this radius server.
+ RadiusServerSecret *string `pulumi:"radiusServerSecret"`
}
-func (o PropagatedRouteTableResponseV8PtrOutput) ToPropagatedRouteTableResponseV8PtrOutput() PropagatedRouteTableResponseV8PtrOutput {
- return o
-}
+// RadiusServerInput is an input type that accepts RadiusServerArgs and RadiusServerOutput values.
+// You can construct a concrete instance of `RadiusServerInput` via:
+//
+// RadiusServerArgs{...}
+type RadiusServerInput interface {
+ pulumi.Input
-func (o PropagatedRouteTableResponseV8PtrOutput) ToPropagatedRouteTableResponseV8PtrOutputWithContext(ctx context.Context) PropagatedRouteTableResponseV8PtrOutput {
- return o
+ ToRadiusServerOutput() RadiusServerOutput
+ ToRadiusServerOutputWithContext(context.Context) RadiusServerOutput
}
-func (o PropagatedRouteTableResponseV8PtrOutput) Elem() PropagatedRouteTableResponseV8Output {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV8) PropagatedRouteTableResponseV8 {
- if v != nil {
- return *v
- }
- var ret PropagatedRouteTableResponseV8
- return ret
- }).(PropagatedRouteTableResponseV8Output)
+// Radius Server Settings.
+type RadiusServerArgs struct {
+ // The address of this radius server.
+ RadiusServerAddress pulumi.StringInput `pulumi:"radiusServerAddress"`
+ // The initial score assigned to this radius server.
+ RadiusServerScore pulumi.Float64PtrInput `pulumi:"radiusServerScore"`
+ // The secret used for this radius server.
+ RadiusServerSecret pulumi.StringPtrInput `pulumi:"radiusServerSecret"`
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseV8PtrOutput) Ids() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV8) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.Ids
- }).(SubResourceResponseArrayOutput)
+func (RadiusServerArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*RadiusServer)(nil)).Elem()
}
-// The list of labels.
-func (o PropagatedRouteTableResponseV8PtrOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV8) []string {
- if v == nil {
- return nil
- }
- return v.Labels
- }).(pulumi.StringArrayOutput)
+func (i RadiusServerArgs) ToRadiusServerOutput() RadiusServerOutput {
+ return i.ToRadiusServerOutputWithContext(context.Background())
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseV9 struct {
- // The list of resource ids of all the RouteTables.
- Ids []SubResourceResponse `pulumi:"ids"`
- // The list of labels.
- Labels []string `pulumi:"labels"`
+func (i RadiusServerArgs) ToRadiusServerOutputWithContext(ctx context.Context) RadiusServerOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RadiusServerOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableResponseV9Output struct{ *pulumi.OutputState }
+// RadiusServerArrayInput is an input type that accepts RadiusServerArray and RadiusServerArrayOutput values.
+// You can construct a concrete instance of `RadiusServerArrayInput` via:
+//
+// RadiusServerArray{ RadiusServerArgs{...} }
+type RadiusServerArrayInput interface {
+ pulumi.Input
-func (PropagatedRouteTableResponseV9Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableResponseV9)(nil)).Elem()
+ ToRadiusServerArrayOutput() RadiusServerArrayOutput
+ ToRadiusServerArrayOutputWithContext(context.Context) RadiusServerArrayOutput
}
-func (o PropagatedRouteTableResponseV9Output) ToPropagatedRouteTableResponseV9Output() PropagatedRouteTableResponseV9Output {
- return o
-}
+type RadiusServerArray []RadiusServerInput
-func (o PropagatedRouteTableResponseV9Output) ToPropagatedRouteTableResponseV9OutputWithContext(ctx context.Context) PropagatedRouteTableResponseV9Output {
- return o
+func (RadiusServerArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RadiusServer)(nil)).Elem()
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseV9Output) Ids() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponseV9) []SubResourceResponse { return v.Ids }).(SubResourceResponseArrayOutput)
+func (i RadiusServerArray) ToRadiusServerArrayOutput() RadiusServerArrayOutput {
+ return i.ToRadiusServerArrayOutputWithContext(context.Background())
}
-// The list of labels.
-func (o PropagatedRouteTableResponseV9Output) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableResponseV9) []string { return v.Labels }).(pulumi.StringArrayOutput)
+func (i RadiusServerArray) ToRadiusServerArrayOutputWithContext(ctx context.Context) RadiusServerArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RadiusServerArrayOutput)
}
-type PropagatedRouteTableResponseV9PtrOutput struct{ *pulumi.OutputState }
+// Radius Server Settings.
+type RadiusServerOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableResponseV9PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableResponseV9)(nil)).Elem()
+func (RadiusServerOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RadiusServer)(nil)).Elem()
}
-func (o PropagatedRouteTableResponseV9PtrOutput) ToPropagatedRouteTableResponseV9PtrOutput() PropagatedRouteTableResponseV9PtrOutput {
+func (o RadiusServerOutput) ToRadiusServerOutput() RadiusServerOutput {
return o
}
-func (o PropagatedRouteTableResponseV9PtrOutput) ToPropagatedRouteTableResponseV9PtrOutputWithContext(ctx context.Context) PropagatedRouteTableResponseV9PtrOutput {
+func (o RadiusServerOutput) ToRadiusServerOutputWithContext(ctx context.Context) RadiusServerOutput {
return o
}
-func (o PropagatedRouteTableResponseV9PtrOutput) Elem() PropagatedRouteTableResponseV9Output {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV9) PropagatedRouteTableResponseV9 {
- if v != nil {
- return *v
- }
- var ret PropagatedRouteTableResponseV9
- return ret
- }).(PropagatedRouteTableResponseV9Output)
-}
-
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableResponseV9PtrOutput) Ids() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV9) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.Ids
- }).(SubResourceResponseArrayOutput)
+// The address of this radius server.
+func (o RadiusServerOutput) RadiusServerAddress() pulumi.StringOutput {
+ return o.ApplyT(func(v RadiusServer) string { return v.RadiusServerAddress }).(pulumi.StringOutput)
}
-// The list of labels.
-func (o PropagatedRouteTableResponseV9PtrOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableResponseV9) []string {
- if v == nil {
- return nil
- }
- return v.Labels
- }).(pulumi.StringArrayOutput)
+// The initial score assigned to this radius server.
+func (o RadiusServerOutput) RadiusServerScore() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v RadiusServer) *float64 { return v.RadiusServerScore }).(pulumi.Float64PtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV1 struct {
- // The list of resource ids of all the RouteTables.
- Ids []SubResource `pulumi:"ids"`
- // The list of labels.
- Labels []string `pulumi:"labels"`
+// The secret used for this radius server.
+func (o RadiusServerOutput) RadiusServerSecret() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RadiusServer) *string { return v.RadiusServerSecret }).(pulumi.StringPtrOutput)
}
-// PropagatedRouteTableV1Input is an input type that accepts PropagatedRouteTableV1Args and PropagatedRouteTableV1Output values.
-// You can construct a concrete instance of `PropagatedRouteTableV1Input` via:
-//
-// PropagatedRouteTableV1Args{...}
-type PropagatedRouteTableV1Input interface {
- pulumi.Input
+type RadiusServerArrayOutput struct{ *pulumi.OutputState }
- ToPropagatedRouteTableV1Output() PropagatedRouteTableV1Output
- ToPropagatedRouteTableV1OutputWithContext(context.Context) PropagatedRouteTableV1Output
+func (RadiusServerArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RadiusServer)(nil)).Elem()
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV1Args struct {
- // The list of resource ids of all the RouteTables.
- Ids SubResourceArrayInput `pulumi:"ids"`
- // The list of labels.
- Labels pulumi.StringArrayInput `pulumi:"labels"`
+func (o RadiusServerArrayOutput) ToRadiusServerArrayOutput() RadiusServerArrayOutput {
+ return o
}
-func (PropagatedRouteTableV1Args) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableV1)(nil)).Elem()
+func (o RadiusServerArrayOutput) ToRadiusServerArrayOutputWithContext(ctx context.Context) RadiusServerArrayOutput {
+ return o
}
-func (i PropagatedRouteTableV1Args) ToPropagatedRouteTableV1Output() PropagatedRouteTableV1Output {
- return i.ToPropagatedRouteTableV1OutputWithContext(context.Background())
+func (o RadiusServerArrayOutput) Index(i pulumi.IntInput) RadiusServerOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) RadiusServer {
+ return vs[0].([]RadiusServer)[vs[1].(int)]
+ }).(RadiusServerOutput)
}
-func (i PropagatedRouteTableV1Args) ToPropagatedRouteTableV1OutputWithContext(ctx context.Context) PropagatedRouteTableV1Output {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV1Output)
+// Radius Server Settings.
+type RadiusServerResponse struct {
+ // The address of this radius server.
+ RadiusServerAddress string `pulumi:"radiusServerAddress"`
+ // The initial score assigned to this radius server.
+ RadiusServerScore *float64 `pulumi:"radiusServerScore"`
+ // The secret used for this radius server.
+ RadiusServerSecret *string `pulumi:"radiusServerSecret"`
}
-func (i PropagatedRouteTableV1Args) ToPropagatedRouteTableV1PtrOutput() PropagatedRouteTableV1PtrOutput {
- return i.ToPropagatedRouteTableV1PtrOutputWithContext(context.Background())
-}
+// Radius Server Settings.
+type RadiusServerResponseOutput struct{ *pulumi.OutputState }
-func (i PropagatedRouteTableV1Args) ToPropagatedRouteTableV1PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV1PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV1Output).ToPropagatedRouteTableV1PtrOutputWithContext(ctx)
+func (RadiusServerResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RadiusServerResponse)(nil)).Elem()
}
-// PropagatedRouteTableV1PtrInput is an input type that accepts PropagatedRouteTableV1Args, PropagatedRouteTableV1Ptr and PropagatedRouteTableV1PtrOutput values.
-// You can construct a concrete instance of `PropagatedRouteTableV1PtrInput` via:
-//
-// PropagatedRouteTableV1Args{...}
-//
-// or:
-//
-// nil
-type PropagatedRouteTableV1PtrInput interface {
- pulumi.Input
-
- ToPropagatedRouteTableV1PtrOutput() PropagatedRouteTableV1PtrOutput
- ToPropagatedRouteTableV1PtrOutputWithContext(context.Context) PropagatedRouteTableV1PtrOutput
+func (o RadiusServerResponseOutput) ToRadiusServerResponseOutput() RadiusServerResponseOutput {
+ return o
}
-type propagatedRouteTableV1PtrType PropagatedRouteTableV1Args
-
-func PropagatedRouteTableV1Ptr(v *PropagatedRouteTableV1Args) PropagatedRouteTableV1PtrInput {
- return (*propagatedRouteTableV1PtrType)(v)
+func (o RadiusServerResponseOutput) ToRadiusServerResponseOutputWithContext(ctx context.Context) RadiusServerResponseOutput {
+ return o
}
-func (*propagatedRouteTableV1PtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableV1)(nil)).Elem()
+// The address of this radius server.
+func (o RadiusServerResponseOutput) RadiusServerAddress() pulumi.StringOutput {
+ return o.ApplyT(func(v RadiusServerResponse) string { return v.RadiusServerAddress }).(pulumi.StringOutput)
}
-func (i *propagatedRouteTableV1PtrType) ToPropagatedRouteTableV1PtrOutput() PropagatedRouteTableV1PtrOutput {
- return i.ToPropagatedRouteTableV1PtrOutputWithContext(context.Background())
+// The initial score assigned to this radius server.
+func (o RadiusServerResponseOutput) RadiusServerScore() pulumi.Float64PtrOutput {
+ return o.ApplyT(func(v RadiusServerResponse) *float64 { return v.RadiusServerScore }).(pulumi.Float64PtrOutput)
}
-func (i *propagatedRouteTableV1PtrType) ToPropagatedRouteTableV1PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV1PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV1PtrOutput)
+// The secret used for this radius server.
+func (o RadiusServerResponseOutput) RadiusServerSecret() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RadiusServerResponse) *string { return v.RadiusServerSecret }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV1Output struct{ *pulumi.OutputState }
+type RadiusServerResponseArrayOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableV1)(nil)).Elem()
+func (RadiusServerResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RadiusServerResponse)(nil)).Elem()
}
-func (o PropagatedRouteTableV1Output) ToPropagatedRouteTableV1Output() PropagatedRouteTableV1Output {
+func (o RadiusServerResponseArrayOutput) ToRadiusServerResponseArrayOutput() RadiusServerResponseArrayOutput {
return o
}
-func (o PropagatedRouteTableV1Output) ToPropagatedRouteTableV1OutputWithContext(ctx context.Context) PropagatedRouteTableV1Output {
+func (o RadiusServerResponseArrayOutput) ToRadiusServerResponseArrayOutputWithContext(ctx context.Context) RadiusServerResponseArrayOutput {
return o
}
-func (o PropagatedRouteTableV1Output) ToPropagatedRouteTableV1PtrOutput() PropagatedRouteTableV1PtrOutput {
- return o.ToPropagatedRouteTableV1PtrOutputWithContext(context.Background())
-}
-
-func (o PropagatedRouteTableV1Output) ToPropagatedRouteTableV1PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV1PtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PropagatedRouteTableV1) *PropagatedRouteTableV1 {
- return &v
- }).(PropagatedRouteTableV1PtrOutput)
-}
-
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableV1Output) Ids() SubResourceArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableV1) []SubResource { return v.Ids }).(SubResourceArrayOutput)
+func (o RadiusServerResponseArrayOutput) Index(i pulumi.IntInput) RadiusServerResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) RadiusServerResponse {
+ return vs[0].([]RadiusServerResponse)[vs[1].(int)]
+ }).(RadiusServerResponseOutput)
}
-// The list of labels.
-func (o PropagatedRouteTableV1Output) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableV1) []string { return v.Labels }).(pulumi.StringArrayOutput)
+// Represents the Reachability Analysis Intent properties.
+type ReachabilityAnalysisIntentProperties struct {
+ Description *string `pulumi:"description"`
+ // Destination resource id to verify the reachability path of.
+ DestinationResourceId string `pulumi:"destinationResourceId"`
+ // IP traffic information.
+ IpTraffic IPTraffic `pulumi:"ipTraffic"`
+ // Source resource id to verify the reachability path of.
+ SourceResourceId string `pulumi:"sourceResourceId"`
}
-type PropagatedRouteTableV1PtrOutput struct{ *pulumi.OutputState }
+// ReachabilityAnalysisIntentPropertiesInput is an input type that accepts ReachabilityAnalysisIntentPropertiesArgs and ReachabilityAnalysisIntentPropertiesOutput values.
+// You can construct a concrete instance of `ReachabilityAnalysisIntentPropertiesInput` via:
+//
+// ReachabilityAnalysisIntentPropertiesArgs{...}
+type ReachabilityAnalysisIntentPropertiesInput interface {
+ pulumi.Input
-func (PropagatedRouteTableV1PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableV1)(nil)).Elem()
+ ToReachabilityAnalysisIntentPropertiesOutput() ReachabilityAnalysisIntentPropertiesOutput
+ ToReachabilityAnalysisIntentPropertiesOutputWithContext(context.Context) ReachabilityAnalysisIntentPropertiesOutput
}
-func (o PropagatedRouteTableV1PtrOutput) ToPropagatedRouteTableV1PtrOutput() PropagatedRouteTableV1PtrOutput {
- return o
+// Represents the Reachability Analysis Intent properties.
+type ReachabilityAnalysisIntentPropertiesArgs struct {
+ Description pulumi.StringPtrInput `pulumi:"description"`
+ // Destination resource id to verify the reachability path of.
+ DestinationResourceId pulumi.StringInput `pulumi:"destinationResourceId"`
+ // IP traffic information.
+ IpTraffic IPTrafficInput `pulumi:"ipTraffic"`
+ // Source resource id to verify the reachability path of.
+ SourceResourceId pulumi.StringInput `pulumi:"sourceResourceId"`
}
-func (o PropagatedRouteTableV1PtrOutput) ToPropagatedRouteTableV1PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV1PtrOutput {
- return o
+func (ReachabilityAnalysisIntentPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ReachabilityAnalysisIntentProperties)(nil)).Elem()
}
-func (o PropagatedRouteTableV1PtrOutput) Elem() PropagatedRouteTableV1Output {
- return o.ApplyT(func(v *PropagatedRouteTableV1) PropagatedRouteTableV1 {
- if v != nil {
- return *v
- }
- var ret PropagatedRouteTableV1
- return ret
- }).(PropagatedRouteTableV1Output)
+func (i ReachabilityAnalysisIntentPropertiesArgs) ToReachabilityAnalysisIntentPropertiesOutput() ReachabilityAnalysisIntentPropertiesOutput {
+ return i.ToReachabilityAnalysisIntentPropertiesOutputWithContext(context.Background())
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableV1PtrOutput) Ids() SubResourceArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableV1) []SubResource {
- if v == nil {
- return nil
- }
- return v.Ids
- }).(SubResourceArrayOutput)
+func (i ReachabilityAnalysisIntentPropertiesArgs) ToReachabilityAnalysisIntentPropertiesOutputWithContext(ctx context.Context) ReachabilityAnalysisIntentPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ReachabilityAnalysisIntentPropertiesOutput)
}
-// The list of labels.
-func (o PropagatedRouteTableV1PtrOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableV1) []string {
- if v == nil {
- return nil
- }
- return v.Labels
- }).(pulumi.StringArrayOutput)
-}
+// Represents the Reachability Analysis Intent properties.
+type ReachabilityAnalysisIntentPropertiesOutput struct{ *pulumi.OutputState }
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV2 struct {
- // The list of resource ids of all the RouteTables.
- Ids []SubResource `pulumi:"ids"`
- // The list of labels.
- Labels []string `pulumi:"labels"`
+func (ReachabilityAnalysisIntentPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ReachabilityAnalysisIntentProperties)(nil)).Elem()
}
-// PropagatedRouteTableV2Input is an input type that accepts PropagatedRouteTableV2Args and PropagatedRouteTableV2Output values.
-// You can construct a concrete instance of `PropagatedRouteTableV2Input` via:
-//
-// PropagatedRouteTableV2Args{...}
-type PropagatedRouteTableV2Input interface {
- pulumi.Input
-
- ToPropagatedRouteTableV2Output() PropagatedRouteTableV2Output
- ToPropagatedRouteTableV2OutputWithContext(context.Context) PropagatedRouteTableV2Output
+func (o ReachabilityAnalysisIntentPropertiesOutput) ToReachabilityAnalysisIntentPropertiesOutput() ReachabilityAnalysisIntentPropertiesOutput {
+ return o
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV2Args struct {
- // The list of resource ids of all the RouteTables.
- Ids SubResourceArrayInput `pulumi:"ids"`
- // The list of labels.
- Labels pulumi.StringArrayInput `pulumi:"labels"`
+func (o ReachabilityAnalysisIntentPropertiesOutput) ToReachabilityAnalysisIntentPropertiesOutputWithContext(ctx context.Context) ReachabilityAnalysisIntentPropertiesOutput {
+ return o
}
-func (PropagatedRouteTableV2Args) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableV2)(nil)).Elem()
+func (o ReachabilityAnalysisIntentPropertiesOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisIntentProperties) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-func (i PropagatedRouteTableV2Args) ToPropagatedRouteTableV2Output() PropagatedRouteTableV2Output {
- return i.ToPropagatedRouteTableV2OutputWithContext(context.Background())
+// Destination resource id to verify the reachability path of.
+func (o ReachabilityAnalysisIntentPropertiesOutput) DestinationResourceId() pulumi.StringOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisIntentProperties) string { return v.DestinationResourceId }).(pulumi.StringOutput)
}
-func (i PropagatedRouteTableV2Args) ToPropagatedRouteTableV2OutputWithContext(ctx context.Context) PropagatedRouteTableV2Output {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV2Output)
+// IP traffic information.
+func (o ReachabilityAnalysisIntentPropertiesOutput) IpTraffic() IPTrafficOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisIntentProperties) IPTraffic { return v.IpTraffic }).(IPTrafficOutput)
}
-func (i PropagatedRouteTableV2Args) ToPropagatedRouteTableV2PtrOutput() PropagatedRouteTableV2PtrOutput {
- return i.ToPropagatedRouteTableV2PtrOutputWithContext(context.Background())
+// Source resource id to verify the reachability path of.
+func (o ReachabilityAnalysisIntentPropertiesOutput) SourceResourceId() pulumi.StringOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisIntentProperties) string { return v.SourceResourceId }).(pulumi.StringOutput)
}
-func (i PropagatedRouteTableV2Args) ToPropagatedRouteTableV2PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV2PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV2Output).ToPropagatedRouteTableV2PtrOutputWithContext(ctx)
+// Represents the Reachability Analysis Intent properties.
+type ReachabilityAnalysisIntentPropertiesResponse struct {
+ Description *string `pulumi:"description"`
+ // Destination resource id to verify the reachability path of.
+ DestinationResourceId string `pulumi:"destinationResourceId"`
+ // IP traffic information.
+ IpTraffic IPTrafficResponse `pulumi:"ipTraffic"`
+ // Provisioning states of a resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Source resource id to verify the reachability path of.
+ SourceResourceId string `pulumi:"sourceResourceId"`
}
-// PropagatedRouteTableV2PtrInput is an input type that accepts PropagatedRouteTableV2Args, PropagatedRouteTableV2Ptr and PropagatedRouteTableV2PtrOutput values.
-// You can construct a concrete instance of `PropagatedRouteTableV2PtrInput` via:
-//
-// PropagatedRouteTableV2Args{...}
-//
-// or:
-//
-// nil
-type PropagatedRouteTableV2PtrInput interface {
- pulumi.Input
+// Represents the Reachability Analysis Intent properties.
+type ReachabilityAnalysisIntentPropertiesResponseOutput struct{ *pulumi.OutputState }
- ToPropagatedRouteTableV2PtrOutput() PropagatedRouteTableV2PtrOutput
- ToPropagatedRouteTableV2PtrOutputWithContext(context.Context) PropagatedRouteTableV2PtrOutput
+func (ReachabilityAnalysisIntentPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ReachabilityAnalysisIntentPropertiesResponse)(nil)).Elem()
}
-type propagatedRouteTableV2PtrType PropagatedRouteTableV2Args
+func (o ReachabilityAnalysisIntentPropertiesResponseOutput) ToReachabilityAnalysisIntentPropertiesResponseOutput() ReachabilityAnalysisIntentPropertiesResponseOutput {
+ return o
+}
-func PropagatedRouteTableV2Ptr(v *PropagatedRouteTableV2Args) PropagatedRouteTableV2PtrInput {
- return (*propagatedRouteTableV2PtrType)(v)
+func (o ReachabilityAnalysisIntentPropertiesResponseOutput) ToReachabilityAnalysisIntentPropertiesResponseOutputWithContext(ctx context.Context) ReachabilityAnalysisIntentPropertiesResponseOutput {
+ return o
}
-func (*propagatedRouteTableV2PtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableV2)(nil)).Elem()
+func (o ReachabilityAnalysisIntentPropertiesResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisIntentPropertiesResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-func (i *propagatedRouteTableV2PtrType) ToPropagatedRouteTableV2PtrOutput() PropagatedRouteTableV2PtrOutput {
- return i.ToPropagatedRouteTableV2PtrOutputWithContext(context.Background())
+// Destination resource id to verify the reachability path of.
+func (o ReachabilityAnalysisIntentPropertiesResponseOutput) DestinationResourceId() pulumi.StringOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisIntentPropertiesResponse) string { return v.DestinationResourceId }).(pulumi.StringOutput)
}
-func (i *propagatedRouteTableV2PtrType) ToPropagatedRouteTableV2PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV2PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV2PtrOutput)
+// IP traffic information.
+func (o ReachabilityAnalysisIntentPropertiesResponseOutput) IpTraffic() IPTrafficResponseOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisIntentPropertiesResponse) IPTrafficResponse { return v.IpTraffic }).(IPTrafficResponseOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV2Output struct{ *pulumi.OutputState }
+// Provisioning states of a resource.
+func (o ReachabilityAnalysisIntentPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisIntentPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
-func (PropagatedRouteTableV2Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableV2)(nil)).Elem()
+// Source resource id to verify the reachability path of.
+func (o ReachabilityAnalysisIntentPropertiesResponseOutput) SourceResourceId() pulumi.StringOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisIntentPropertiesResponse) string { return v.SourceResourceId }).(pulumi.StringOutput)
}
-func (o PropagatedRouteTableV2Output) ToPropagatedRouteTableV2Output() PropagatedRouteTableV2Output {
- return o
+// Represents the Reachability Analysis Run properties.
+type ReachabilityAnalysisRunProperties struct {
+ Description *string `pulumi:"description"`
+ // Id of the intent resource to run analysis on.
+ IntentId string `pulumi:"intentId"`
}
-func (o PropagatedRouteTableV2Output) ToPropagatedRouteTableV2OutputWithContext(ctx context.Context) PropagatedRouteTableV2Output {
- return o
+// ReachabilityAnalysisRunPropertiesInput is an input type that accepts ReachabilityAnalysisRunPropertiesArgs and ReachabilityAnalysisRunPropertiesOutput values.
+// You can construct a concrete instance of `ReachabilityAnalysisRunPropertiesInput` via:
+//
+// ReachabilityAnalysisRunPropertiesArgs{...}
+type ReachabilityAnalysisRunPropertiesInput interface {
+ pulumi.Input
+
+ ToReachabilityAnalysisRunPropertiesOutput() ReachabilityAnalysisRunPropertiesOutput
+ ToReachabilityAnalysisRunPropertiesOutputWithContext(context.Context) ReachabilityAnalysisRunPropertiesOutput
}
-func (o PropagatedRouteTableV2Output) ToPropagatedRouteTableV2PtrOutput() PropagatedRouteTableV2PtrOutput {
- return o.ToPropagatedRouteTableV2PtrOutputWithContext(context.Background())
+// Represents the Reachability Analysis Run properties.
+type ReachabilityAnalysisRunPropertiesArgs struct {
+ Description pulumi.StringPtrInput `pulumi:"description"`
+ // Id of the intent resource to run analysis on.
+ IntentId pulumi.StringInput `pulumi:"intentId"`
}
-func (o PropagatedRouteTableV2Output) ToPropagatedRouteTableV2PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV2PtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PropagatedRouteTableV2) *PropagatedRouteTableV2 {
- return &v
- }).(PropagatedRouteTableV2PtrOutput)
+func (ReachabilityAnalysisRunPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ReachabilityAnalysisRunProperties)(nil)).Elem()
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableV2Output) Ids() SubResourceArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableV2) []SubResource { return v.Ids }).(SubResourceArrayOutput)
+func (i ReachabilityAnalysisRunPropertiesArgs) ToReachabilityAnalysisRunPropertiesOutput() ReachabilityAnalysisRunPropertiesOutput {
+ return i.ToReachabilityAnalysisRunPropertiesOutputWithContext(context.Background())
}
-// The list of labels.
-func (o PropagatedRouteTableV2Output) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableV2) []string { return v.Labels }).(pulumi.StringArrayOutput)
+func (i ReachabilityAnalysisRunPropertiesArgs) ToReachabilityAnalysisRunPropertiesOutputWithContext(ctx context.Context) ReachabilityAnalysisRunPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ReachabilityAnalysisRunPropertiesOutput)
}
-type PropagatedRouteTableV2PtrOutput struct{ *pulumi.OutputState }
+// Represents the Reachability Analysis Run properties.
+type ReachabilityAnalysisRunPropertiesOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableV2PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableV2)(nil)).Elem()
+func (ReachabilityAnalysisRunPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ReachabilityAnalysisRunProperties)(nil)).Elem()
}
-func (o PropagatedRouteTableV2PtrOutput) ToPropagatedRouteTableV2PtrOutput() PropagatedRouteTableV2PtrOutput {
+func (o ReachabilityAnalysisRunPropertiesOutput) ToReachabilityAnalysisRunPropertiesOutput() ReachabilityAnalysisRunPropertiesOutput {
return o
}
-func (o PropagatedRouteTableV2PtrOutput) ToPropagatedRouteTableV2PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV2PtrOutput {
+func (o ReachabilityAnalysisRunPropertiesOutput) ToReachabilityAnalysisRunPropertiesOutputWithContext(ctx context.Context) ReachabilityAnalysisRunPropertiesOutput {
return o
}
-func (o PropagatedRouteTableV2PtrOutput) Elem() PropagatedRouteTableV2Output {
- return o.ApplyT(func(v *PropagatedRouteTableV2) PropagatedRouteTableV2 {
- if v != nil {
- return *v
- }
- var ret PropagatedRouteTableV2
- return ret
- }).(PropagatedRouteTableV2Output)
-}
-
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableV2PtrOutput) Ids() SubResourceArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableV2) []SubResource {
- if v == nil {
- return nil
- }
- return v.Ids
- }).(SubResourceArrayOutput)
-}
-
-// The list of labels.
-func (o PropagatedRouteTableV2PtrOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableV2) []string {
- if v == nil {
- return nil
- }
- return v.Labels
- }).(pulumi.StringArrayOutput)
+func (o ReachabilityAnalysisRunPropertiesOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisRunProperties) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV3 struct {
- // The list of resource ids of all the RouteTables.
- Ids []SubResource `pulumi:"ids"`
- // The list of labels.
- Labels []string `pulumi:"labels"`
+// Id of the intent resource to run analysis on.
+func (o ReachabilityAnalysisRunPropertiesOutput) IntentId() pulumi.StringOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisRunProperties) string { return v.IntentId }).(pulumi.StringOutput)
}
-// PropagatedRouteTableV3Input is an input type that accepts PropagatedRouteTableV3Args and PropagatedRouteTableV3Output values.
-// You can construct a concrete instance of `PropagatedRouteTableV3Input` via:
-//
-// PropagatedRouteTableV3Args{...}
-type PropagatedRouteTableV3Input interface {
- pulumi.Input
-
- ToPropagatedRouteTableV3Output() PropagatedRouteTableV3Output
- ToPropagatedRouteTableV3OutputWithContext(context.Context) PropagatedRouteTableV3Output
+// Represents the Reachability Analysis Run properties.
+type ReachabilityAnalysisRunPropertiesResponse struct {
+ AnalysisResult string `pulumi:"analysisResult"`
+ Description *string `pulumi:"description"`
+ ErrorMessage string `pulumi:"errorMessage"`
+ // Intent information.
+ IntentContent IntentContentResponse `pulumi:"intentContent"`
+ // Id of the intent resource to run analysis on.
+ IntentId string `pulumi:"intentId"`
+ // Provisioning states of a resource.
+ ProvisioningState string `pulumi:"provisioningState"`
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV3Args struct {
- // The list of resource ids of all the RouteTables.
- Ids SubResourceArrayInput `pulumi:"ids"`
- // The list of labels.
- Labels pulumi.StringArrayInput `pulumi:"labels"`
-}
+// Represents the Reachability Analysis Run properties.
+type ReachabilityAnalysisRunPropertiesResponseOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableV3Args) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableV3)(nil)).Elem()
+func (ReachabilityAnalysisRunPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ReachabilityAnalysisRunPropertiesResponse)(nil)).Elem()
}
-func (i PropagatedRouteTableV3Args) ToPropagatedRouteTableV3Output() PropagatedRouteTableV3Output {
- return i.ToPropagatedRouteTableV3OutputWithContext(context.Background())
+func (o ReachabilityAnalysisRunPropertiesResponseOutput) ToReachabilityAnalysisRunPropertiesResponseOutput() ReachabilityAnalysisRunPropertiesResponseOutput {
+ return o
}
-func (i PropagatedRouteTableV3Args) ToPropagatedRouteTableV3OutputWithContext(ctx context.Context) PropagatedRouteTableV3Output {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV3Output)
+func (o ReachabilityAnalysisRunPropertiesResponseOutput) ToReachabilityAnalysisRunPropertiesResponseOutputWithContext(ctx context.Context) ReachabilityAnalysisRunPropertiesResponseOutput {
+ return o
}
-func (i PropagatedRouteTableV3Args) ToPropagatedRouteTableV3PtrOutput() PropagatedRouteTableV3PtrOutput {
- return i.ToPropagatedRouteTableV3PtrOutputWithContext(context.Background())
+func (o ReachabilityAnalysisRunPropertiesResponseOutput) AnalysisResult() pulumi.StringOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisRunPropertiesResponse) string { return v.AnalysisResult }).(pulumi.StringOutput)
}
-func (i PropagatedRouteTableV3Args) ToPropagatedRouteTableV3PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV3PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV3Output).ToPropagatedRouteTableV3PtrOutputWithContext(ctx)
+func (o ReachabilityAnalysisRunPropertiesResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisRunPropertiesResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// PropagatedRouteTableV3PtrInput is an input type that accepts PropagatedRouteTableV3Args, PropagatedRouteTableV3Ptr and PropagatedRouteTableV3PtrOutput values.
-// You can construct a concrete instance of `PropagatedRouteTableV3PtrInput` via:
-//
-// PropagatedRouteTableV3Args{...}
-//
-// or:
-//
-// nil
-type PropagatedRouteTableV3PtrInput interface {
- pulumi.Input
-
- ToPropagatedRouteTableV3PtrOutput() PropagatedRouteTableV3PtrOutput
- ToPropagatedRouteTableV3PtrOutputWithContext(context.Context) PropagatedRouteTableV3PtrOutput
+func (o ReachabilityAnalysisRunPropertiesResponseOutput) ErrorMessage() pulumi.StringOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisRunPropertiesResponse) string { return v.ErrorMessage }).(pulumi.StringOutput)
}
-type propagatedRouteTableV3PtrType PropagatedRouteTableV3Args
-
-func PropagatedRouteTableV3Ptr(v *PropagatedRouteTableV3Args) PropagatedRouteTableV3PtrInput {
- return (*propagatedRouteTableV3PtrType)(v)
+// Intent information.
+func (o ReachabilityAnalysisRunPropertiesResponseOutput) IntentContent() IntentContentResponseOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisRunPropertiesResponse) IntentContentResponse { return v.IntentContent }).(IntentContentResponseOutput)
}
-func (*propagatedRouteTableV3PtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableV3)(nil)).Elem()
+// Id of the intent resource to run analysis on.
+func (o ReachabilityAnalysisRunPropertiesResponseOutput) IntentId() pulumi.StringOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisRunPropertiesResponse) string { return v.IntentId }).(pulumi.StringOutput)
}
-func (i *propagatedRouteTableV3PtrType) ToPropagatedRouteTableV3PtrOutput() PropagatedRouteTableV3PtrOutput {
- return i.ToPropagatedRouteTableV3PtrOutputWithContext(context.Background())
+// Provisioning states of a resource.
+func (o ReachabilityAnalysisRunPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ReachabilityAnalysisRunPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i *propagatedRouteTableV3PtrType) ToPropagatedRouteTableV3PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV3PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV3PtrOutput)
+// A collective group of information about the record set information.
+type RecordSetResponse struct {
+ // Fqdn that resolves to private endpoint ip address.
+ Fqdn *string `pulumi:"fqdn"`
+ // The private ip address of the private endpoint.
+ IpAddresses []string `pulumi:"ipAddresses"`
+ // The provisioning state of the recordset.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Recordset name.
+ RecordSetName *string `pulumi:"recordSetName"`
+ // Resource record type.
+ RecordType *string `pulumi:"recordType"`
+ // Recordset time to live.
+ Ttl *int `pulumi:"ttl"`
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV3Output struct{ *pulumi.OutputState }
+// A collective group of information about the record set information.
+type RecordSetResponseOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableV3Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableV3)(nil)).Elem()
+func (RecordSetResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RecordSetResponse)(nil)).Elem()
}
-func (o PropagatedRouteTableV3Output) ToPropagatedRouteTableV3Output() PropagatedRouteTableV3Output {
+func (o RecordSetResponseOutput) ToRecordSetResponseOutput() RecordSetResponseOutput {
return o
}
-func (o PropagatedRouteTableV3Output) ToPropagatedRouteTableV3OutputWithContext(ctx context.Context) PropagatedRouteTableV3Output {
+func (o RecordSetResponseOutput) ToRecordSetResponseOutputWithContext(ctx context.Context) RecordSetResponseOutput {
return o
}
-func (o PropagatedRouteTableV3Output) ToPropagatedRouteTableV3PtrOutput() PropagatedRouteTableV3PtrOutput {
- return o.ToPropagatedRouteTableV3PtrOutputWithContext(context.Background())
-}
-
-func (o PropagatedRouteTableV3Output) ToPropagatedRouteTableV3PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV3PtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PropagatedRouteTableV3) *PropagatedRouteTableV3 {
- return &v
- }).(PropagatedRouteTableV3PtrOutput)
+// Fqdn that resolves to private endpoint ip address.
+func (o RecordSetResponseOutput) Fqdn() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RecordSetResponse) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableV3Output) Ids() SubResourceArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableV3) []SubResource { return v.Ids }).(SubResourceArrayOutput)
+// The private ip address of the private endpoint.
+func (o RecordSetResponseOutput) IpAddresses() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v RecordSetResponse) []string { return v.IpAddresses }).(pulumi.StringArrayOutput)
}
-// The list of labels.
-func (o PropagatedRouteTableV3Output) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableV3) []string { return v.Labels }).(pulumi.StringArrayOutput)
+// The provisioning state of the recordset.
+func (o RecordSetResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v RecordSetResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-type PropagatedRouteTableV3PtrOutput struct{ *pulumi.OutputState }
-
-func (PropagatedRouteTableV3PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableV3)(nil)).Elem()
+// Recordset name.
+func (o RecordSetResponseOutput) RecordSetName() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RecordSetResponse) *string { return v.RecordSetName }).(pulumi.StringPtrOutput)
}
-func (o PropagatedRouteTableV3PtrOutput) ToPropagatedRouteTableV3PtrOutput() PropagatedRouteTableV3PtrOutput {
- return o
+// Resource record type.
+func (o RecordSetResponseOutput) RecordType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RecordSetResponse) *string { return v.RecordType }).(pulumi.StringPtrOutput)
}
-func (o PropagatedRouteTableV3PtrOutput) ToPropagatedRouteTableV3PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV3PtrOutput {
- return o
+// Recordset time to live.
+func (o RecordSetResponseOutput) Ttl() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v RecordSetResponse) *int { return v.Ttl }).(pulumi.IntPtrOutput)
}
-func (o PropagatedRouteTableV3PtrOutput) Elem() PropagatedRouteTableV3Output {
- return o.ApplyT(func(v *PropagatedRouteTableV3) PropagatedRouteTableV3 {
- if v != nil {
- return *v
- }
- var ret PropagatedRouteTableV3
- return ret
- }).(PropagatedRouteTableV3Output)
-}
+type RecordSetResponseArrayOutput struct{ *pulumi.OutputState }
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableV3PtrOutput) Ids() SubResourceArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableV3) []SubResource {
- if v == nil {
- return nil
- }
- return v.Ids
- }).(SubResourceArrayOutput)
+func (RecordSetResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RecordSetResponse)(nil)).Elem()
}
-// The list of labels.
-func (o PropagatedRouteTableV3PtrOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableV3) []string {
- if v == nil {
- return nil
- }
- return v.Labels
- }).(pulumi.StringArrayOutput)
+func (o RecordSetResponseArrayOutput) ToRecordSetResponseArrayOutput() RecordSetResponseArrayOutput {
+ return o
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV5 struct {
- // The list of resource ids of all the RouteTables.
- Ids []SubResource `pulumi:"ids"`
- // The list of labels.
- Labels []string `pulumi:"labels"`
+func (o RecordSetResponseArrayOutput) ToRecordSetResponseArrayOutputWithContext(ctx context.Context) RecordSetResponseArrayOutput {
+ return o
}
-// PropagatedRouteTableV5Input is an input type that accepts PropagatedRouteTableV5Args and PropagatedRouteTableV5Output values.
-// You can construct a concrete instance of `PropagatedRouteTableV5Input` via:
-//
-// PropagatedRouteTableV5Args{...}
-type PropagatedRouteTableV5Input interface {
- pulumi.Input
-
- ToPropagatedRouteTableV5Output() PropagatedRouteTableV5Output
- ToPropagatedRouteTableV5OutputWithContext(context.Context) PropagatedRouteTableV5Output
+func (o RecordSetResponseArrayOutput) Index(i pulumi.IntInput) RecordSetResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) RecordSetResponse {
+ return vs[0].([]RecordSetResponse)[vs[1].(int)]
+ }).(RecordSetResponseOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV5Args struct {
- // The list of resource ids of all the RouteTables.
- Ids SubResourceArrayInput `pulumi:"ids"`
- // The list of labels.
- Labels pulumi.StringArrayInput `pulumi:"labels"`
+// Reference to a public IP address.
+type ReferencedPublicIpAddressResponse struct {
+ // The PublicIPAddress Reference.
+ Id *string `pulumi:"id"`
}
-func (PropagatedRouteTableV5Args) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableV5)(nil)).Elem()
-}
+// Reference to a public IP address.
+type ReferencedPublicIpAddressResponseOutput struct{ *pulumi.OutputState }
-func (i PropagatedRouteTableV5Args) ToPropagatedRouteTableV5Output() PropagatedRouteTableV5Output {
- return i.ToPropagatedRouteTableV5OutputWithContext(context.Background())
+func (ReferencedPublicIpAddressResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ReferencedPublicIpAddressResponse)(nil)).Elem()
}
-func (i PropagatedRouteTableV5Args) ToPropagatedRouteTableV5OutputWithContext(ctx context.Context) PropagatedRouteTableV5Output {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV5Output)
+func (o ReferencedPublicIpAddressResponseOutput) ToReferencedPublicIpAddressResponseOutput() ReferencedPublicIpAddressResponseOutput {
+ return o
}
-func (i PropagatedRouteTableV5Args) ToPropagatedRouteTableV5PtrOutput() PropagatedRouteTableV5PtrOutput {
- return i.ToPropagatedRouteTableV5PtrOutputWithContext(context.Background())
+func (o ReferencedPublicIpAddressResponseOutput) ToReferencedPublicIpAddressResponseOutputWithContext(ctx context.Context) ReferencedPublicIpAddressResponseOutput {
+ return o
}
-func (i PropagatedRouteTableV5Args) ToPropagatedRouteTableV5PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV5PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV5Output).ToPropagatedRouteTableV5PtrOutputWithContext(ctx)
+// The PublicIPAddress Reference.
+func (o ReferencedPublicIpAddressResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ReferencedPublicIpAddressResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// PropagatedRouteTableV5PtrInput is an input type that accepts PropagatedRouteTableV5Args, PropagatedRouteTableV5Ptr and PropagatedRouteTableV5PtrOutput values.
-// You can construct a concrete instance of `PropagatedRouteTableV5PtrInput` via:
-//
-// PropagatedRouteTableV5Args{...}
-//
-// or:
-//
-// nil
-type PropagatedRouteTableV5PtrInput interface {
- pulumi.Input
+type ReferencedPublicIpAddressResponseArrayOutput struct{ *pulumi.OutputState }
- ToPropagatedRouteTableV5PtrOutput() PropagatedRouteTableV5PtrOutput
- ToPropagatedRouteTableV5PtrOutputWithContext(context.Context) PropagatedRouteTableV5PtrOutput
+func (ReferencedPublicIpAddressResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ReferencedPublicIpAddressResponse)(nil)).Elem()
}
-type propagatedRouteTableV5PtrType PropagatedRouteTableV5Args
-
-func PropagatedRouteTableV5Ptr(v *PropagatedRouteTableV5Args) PropagatedRouteTableV5PtrInput {
- return (*propagatedRouteTableV5PtrType)(v)
+func (o ReferencedPublicIpAddressResponseArrayOutput) ToReferencedPublicIpAddressResponseArrayOutput() ReferencedPublicIpAddressResponseArrayOutput {
+ return o
}
-func (*propagatedRouteTableV5PtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableV5)(nil)).Elem()
+func (o ReferencedPublicIpAddressResponseArrayOutput) ToReferencedPublicIpAddressResponseArrayOutputWithContext(ctx context.Context) ReferencedPublicIpAddressResponseArrayOutput {
+ return o
}
-func (i *propagatedRouteTableV5PtrType) ToPropagatedRouteTableV5PtrOutput() PropagatedRouteTableV5PtrOutput {
- return i.ToPropagatedRouteTableV5PtrOutputWithContext(context.Background())
+func (o ReferencedPublicIpAddressResponseArrayOutput) Index(i pulumi.IntInput) ReferencedPublicIpAddressResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReferencedPublicIpAddressResponse {
+ return vs[0].([]ReferencedPublicIpAddressResponse)[vs[1].(int)]
+ }).(ReferencedPublicIpAddressResponseOutput)
}
-func (i *propagatedRouteTableV5PtrType) ToPropagatedRouteTableV5PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV5PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV5PtrOutput)
+// Gateway Resiliency based Recommendations
+type ResiliencyRecommendationComponentsResponse struct {
+ // Current Score of the gateway
+ CurrentScore *string `pulumi:"currentScore"`
+ // Max score that the gateway can achieve if the specified recommendation is applied
+ MaxScore *string `pulumi:"maxScore"`
+ // Name of the Resiliency based Recommendation Component
+ Name *string `pulumi:"name"`
+ // List of Gateway Resiliency based Recommendations
+ Recommendations []GatewayResiliencyRecommendationResponse `pulumi:"recommendations"`
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV5Output struct{ *pulumi.OutputState }
+// Gateway Resiliency based Recommendations
+type ResiliencyRecommendationComponentsResponseOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableV5Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableV5)(nil)).Elem()
+func (ResiliencyRecommendationComponentsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ResiliencyRecommendationComponentsResponse)(nil)).Elem()
}
-func (o PropagatedRouteTableV5Output) ToPropagatedRouteTableV5Output() PropagatedRouteTableV5Output {
+func (o ResiliencyRecommendationComponentsResponseOutput) ToResiliencyRecommendationComponentsResponseOutput() ResiliencyRecommendationComponentsResponseOutput {
return o
}
-func (o PropagatedRouteTableV5Output) ToPropagatedRouteTableV5OutputWithContext(ctx context.Context) PropagatedRouteTableV5Output {
+func (o ResiliencyRecommendationComponentsResponseOutput) ToResiliencyRecommendationComponentsResponseOutputWithContext(ctx context.Context) ResiliencyRecommendationComponentsResponseOutput {
return o
}
-func (o PropagatedRouteTableV5Output) ToPropagatedRouteTableV5PtrOutput() PropagatedRouteTableV5PtrOutput {
- return o.ToPropagatedRouteTableV5PtrOutputWithContext(context.Background())
+// Current Score of the gateway
+func (o ResiliencyRecommendationComponentsResponseOutput) CurrentScore() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ResiliencyRecommendationComponentsResponse) *string { return v.CurrentScore }).(pulumi.StringPtrOutput)
}
-func (o PropagatedRouteTableV5Output) ToPropagatedRouteTableV5PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV5PtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PropagatedRouteTableV5) *PropagatedRouteTableV5 {
- return &v
- }).(PropagatedRouteTableV5PtrOutput)
+// Max score that the gateway can achieve if the specified recommendation is applied
+func (o ResiliencyRecommendationComponentsResponseOutput) MaxScore() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ResiliencyRecommendationComponentsResponse) *string { return v.MaxScore }).(pulumi.StringPtrOutput)
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableV5Output) Ids() SubResourceArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableV5) []SubResource { return v.Ids }).(SubResourceArrayOutput)
+// Name of the Resiliency based Recommendation Component
+func (o ResiliencyRecommendationComponentsResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ResiliencyRecommendationComponentsResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The list of labels.
-func (o PropagatedRouteTableV5Output) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableV5) []string { return v.Labels }).(pulumi.StringArrayOutput)
+// List of Gateway Resiliency based Recommendations
+func (o ResiliencyRecommendationComponentsResponseOutput) Recommendations() GatewayResiliencyRecommendationResponseArrayOutput {
+ return o.ApplyT(func(v ResiliencyRecommendationComponentsResponse) []GatewayResiliencyRecommendationResponse {
+ return v.Recommendations
+ }).(GatewayResiliencyRecommendationResponseArrayOutput)
}
-type PropagatedRouteTableV5PtrOutput struct{ *pulumi.OutputState }
+type ResiliencyRecommendationComponentsResponseArrayOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableV5PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableV5)(nil)).Elem()
+func (ResiliencyRecommendationComponentsResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ResiliencyRecommendationComponentsResponse)(nil)).Elem()
}
-func (o PropagatedRouteTableV5PtrOutput) ToPropagatedRouteTableV5PtrOutput() PropagatedRouteTableV5PtrOutput {
+func (o ResiliencyRecommendationComponentsResponseArrayOutput) ToResiliencyRecommendationComponentsResponseArrayOutput() ResiliencyRecommendationComponentsResponseArrayOutput {
return o
}
-func (o PropagatedRouteTableV5PtrOutput) ToPropagatedRouteTableV5PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV5PtrOutput {
+func (o ResiliencyRecommendationComponentsResponseArrayOutput) ToResiliencyRecommendationComponentsResponseArrayOutputWithContext(ctx context.Context) ResiliencyRecommendationComponentsResponseArrayOutput {
return o
}
-func (o PropagatedRouteTableV5PtrOutput) Elem() PropagatedRouteTableV5Output {
- return o.ApplyT(func(v *PropagatedRouteTableV5) PropagatedRouteTableV5 {
- if v != nil {
- return *v
- }
- var ret PropagatedRouteTableV5
- return ret
- }).(PropagatedRouteTableV5Output)
+func (o ResiliencyRecommendationComponentsResponseArrayOutput) Index(i pulumi.IntInput) ResiliencyRecommendationComponentsResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResiliencyRecommendationComponentsResponse {
+ return vs[0].([]ResiliencyRecommendationComponentsResponse)[vs[1].(int)]
+ }).(ResiliencyRecommendationComponentsResponseOutput)
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableV5PtrOutput) Ids() SubResourceArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableV5) []SubResource {
- if v == nil {
- return nil
- }
- return v.Ids
- }).(SubResourceArrayOutput)
+// Representation of basic resource information.
+type ResourceBasicsResponse struct {
+ // List of IP address prefixes of the resource.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ // ResourceId of the Azure resource.
+ ResourceId *string `pulumi:"resourceId"`
}
-// The list of labels.
-func (o PropagatedRouteTableV5PtrOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableV5) []string {
- if v == nil {
- return nil
- }
- return v.Labels
- }).(pulumi.StringArrayOutput)
+// Representation of basic resource information.
+type ResourceBasicsResponseOutput struct{ *pulumi.OutputState }
+
+func (ResourceBasicsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ResourceBasicsResponse)(nil)).Elem()
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV6 struct {
- // The list of resource ids of all the RouteTables.
- Ids []SubResource `pulumi:"ids"`
- // The list of labels.
- Labels []string `pulumi:"labels"`
+func (o ResourceBasicsResponseOutput) ToResourceBasicsResponseOutput() ResourceBasicsResponseOutput {
+ return o
}
-// PropagatedRouteTableV6Input is an input type that accepts PropagatedRouteTableV6Args and PropagatedRouteTableV6Output values.
-// You can construct a concrete instance of `PropagatedRouteTableV6Input` via:
-//
-// PropagatedRouteTableV6Args{...}
-type PropagatedRouteTableV6Input interface {
- pulumi.Input
+func (o ResourceBasicsResponseOutput) ToResourceBasicsResponseOutputWithContext(ctx context.Context) ResourceBasicsResponseOutput {
+ return o
+}
- ToPropagatedRouteTableV6Output() PropagatedRouteTableV6Output
- ToPropagatedRouteTableV6OutputWithContext(context.Context) PropagatedRouteTableV6Output
+// List of IP address prefixes of the resource.
+func (o ResourceBasicsResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ResourceBasicsResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV6Args struct {
- // The list of resource ids of all the RouteTables.
- Ids SubResourceArrayInput `pulumi:"ids"`
- // The list of labels.
- Labels pulumi.StringArrayInput `pulumi:"labels"`
+// ResourceId of the Azure resource.
+func (o ResourceBasicsResponseOutput) ResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ResourceBasicsResponse) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
}
-func (PropagatedRouteTableV6Args) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableV6)(nil)).Elem()
+type ResourceBasicsResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ResourceBasicsResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ResourceBasicsResponse)(nil)).Elem()
}
-func (i PropagatedRouteTableV6Args) ToPropagatedRouteTableV6Output() PropagatedRouteTableV6Output {
- return i.ToPropagatedRouteTableV6OutputWithContext(context.Background())
+func (o ResourceBasicsResponseArrayOutput) ToResourceBasicsResponseArrayOutput() ResourceBasicsResponseArrayOutput {
+ return o
}
-func (i PropagatedRouteTableV6Args) ToPropagatedRouteTableV6OutputWithContext(ctx context.Context) PropagatedRouteTableV6Output {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV6Output)
+func (o ResourceBasicsResponseArrayOutput) ToResourceBasicsResponseArrayOutputWithContext(ctx context.Context) ResourceBasicsResponseArrayOutput {
+ return o
}
-func (i PropagatedRouteTableV6Args) ToPropagatedRouteTableV6PtrOutput() PropagatedRouteTableV6PtrOutput {
- return i.ToPropagatedRouteTableV6PtrOutputWithContext(context.Background())
+func (o ResourceBasicsResponseArrayOutput) Index(i pulumi.IntInput) ResourceBasicsResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceBasicsResponse {
+ return vs[0].([]ResourceBasicsResponse)[vs[1].(int)]
+ }).(ResourceBasicsResponseOutput)
}
-func (i PropagatedRouteTableV6Args) ToPropagatedRouteTableV6PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV6PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV6Output).ToPropagatedRouteTableV6PtrOutputWithContext(ctx)
+// ResourceNavigationLink resource.
+type ResourceNavigationLink struct {
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Link to the external resource
+ Link *string `pulumi:"link"`
+ // Resource type of the linked resource.
+ LinkedResourceType *string `pulumi:"linkedResourceType"`
+ // Name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
}
-// PropagatedRouteTableV6PtrInput is an input type that accepts PropagatedRouteTableV6Args, PropagatedRouteTableV6Ptr and PropagatedRouteTableV6PtrOutput values.
-// You can construct a concrete instance of `PropagatedRouteTableV6PtrInput` via:
-//
-// PropagatedRouteTableV6Args{...}
-//
-// or:
+// ResourceNavigationLinkInput is an input type that accepts ResourceNavigationLinkArgs and ResourceNavigationLinkOutput values.
+// You can construct a concrete instance of `ResourceNavigationLinkInput` via:
//
-// nil
-type PropagatedRouteTableV6PtrInput interface {
+// ResourceNavigationLinkArgs{...}
+type ResourceNavigationLinkInput interface {
pulumi.Input
- ToPropagatedRouteTableV6PtrOutput() PropagatedRouteTableV6PtrOutput
- ToPropagatedRouteTableV6PtrOutputWithContext(context.Context) PropagatedRouteTableV6PtrOutput
+ ToResourceNavigationLinkOutput() ResourceNavigationLinkOutput
+ ToResourceNavigationLinkOutputWithContext(context.Context) ResourceNavigationLinkOutput
}
-type propagatedRouteTableV6PtrType PropagatedRouteTableV6Args
-
-func PropagatedRouteTableV6Ptr(v *PropagatedRouteTableV6Args) PropagatedRouteTableV6PtrInput {
- return (*propagatedRouteTableV6PtrType)(v)
+// ResourceNavigationLink resource.
+type ResourceNavigationLinkArgs struct {
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Link to the external resource
+ Link pulumi.StringPtrInput `pulumi:"link"`
+ // Resource type of the linked resource.
+ LinkedResourceType pulumi.StringPtrInput `pulumi:"linkedResourceType"`
+ // Name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
}
-func (*propagatedRouteTableV6PtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableV6)(nil)).Elem()
+func (ResourceNavigationLinkArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ResourceNavigationLink)(nil)).Elem()
}
-func (i *propagatedRouteTableV6PtrType) ToPropagatedRouteTableV6PtrOutput() PropagatedRouteTableV6PtrOutput {
- return i.ToPropagatedRouteTableV6PtrOutputWithContext(context.Background())
+func (i ResourceNavigationLinkArgs) ToResourceNavigationLinkOutput() ResourceNavigationLinkOutput {
+ return i.ToResourceNavigationLinkOutputWithContext(context.Background())
}
-func (i *propagatedRouteTableV6PtrType) ToPropagatedRouteTableV6PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV6PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV6PtrOutput)
+func (i ResourceNavigationLinkArgs) ToResourceNavigationLinkOutputWithContext(ctx context.Context) ResourceNavigationLinkOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ResourceNavigationLinkOutput)
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV6Output struct{ *pulumi.OutputState }
+// ResourceNavigationLinkArrayInput is an input type that accepts ResourceNavigationLinkArray and ResourceNavigationLinkArrayOutput values.
+// You can construct a concrete instance of `ResourceNavigationLinkArrayInput` via:
+//
+// ResourceNavigationLinkArray{ ResourceNavigationLinkArgs{...} }
+type ResourceNavigationLinkArrayInput interface {
+ pulumi.Input
+
+ ToResourceNavigationLinkArrayOutput() ResourceNavigationLinkArrayOutput
+ ToResourceNavigationLinkArrayOutputWithContext(context.Context) ResourceNavigationLinkArrayOutput
+}
+
+type ResourceNavigationLinkArray []ResourceNavigationLinkInput
+
+func (ResourceNavigationLinkArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ResourceNavigationLink)(nil)).Elem()
+}
+
+func (i ResourceNavigationLinkArray) ToResourceNavigationLinkArrayOutput() ResourceNavigationLinkArrayOutput {
+ return i.ToResourceNavigationLinkArrayOutputWithContext(context.Background())
+}
+
+func (i ResourceNavigationLinkArray) ToResourceNavigationLinkArrayOutputWithContext(ctx context.Context) ResourceNavigationLinkArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ResourceNavigationLinkArrayOutput)
+}
+
+// ResourceNavigationLink resource.
+type ResourceNavigationLinkOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableV6Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableV6)(nil)).Elem()
+func (ResourceNavigationLinkOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ResourceNavigationLink)(nil)).Elem()
}
-func (o PropagatedRouteTableV6Output) ToPropagatedRouteTableV6Output() PropagatedRouteTableV6Output {
+func (o ResourceNavigationLinkOutput) ToResourceNavigationLinkOutput() ResourceNavigationLinkOutput {
return o
}
-func (o PropagatedRouteTableV6Output) ToPropagatedRouteTableV6OutputWithContext(ctx context.Context) PropagatedRouteTableV6Output {
+func (o ResourceNavigationLinkOutput) ToResourceNavigationLinkOutputWithContext(ctx context.Context) ResourceNavigationLinkOutput {
return o
}
-func (o PropagatedRouteTableV6Output) ToPropagatedRouteTableV6PtrOutput() PropagatedRouteTableV6PtrOutput {
- return o.ToPropagatedRouteTableV6PtrOutputWithContext(context.Background())
+// Resource ID.
+func (o ResourceNavigationLinkOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ResourceNavigationLink) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o PropagatedRouteTableV6Output) ToPropagatedRouteTableV6PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV6PtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PropagatedRouteTableV6) *PropagatedRouteTableV6 {
- return &v
- }).(PropagatedRouteTableV6PtrOutput)
+// Link to the external resource
+func (o ResourceNavigationLinkOutput) Link() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ResourceNavigationLink) *string { return v.Link }).(pulumi.StringPtrOutput)
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableV6Output) Ids() SubResourceArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableV6) []SubResource { return v.Ids }).(SubResourceArrayOutput)
+// Resource type of the linked resource.
+func (o ResourceNavigationLinkOutput) LinkedResourceType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ResourceNavigationLink) *string { return v.LinkedResourceType }).(pulumi.StringPtrOutput)
}
-// The list of labels.
-func (o PropagatedRouteTableV6Output) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableV6) []string { return v.Labels }).(pulumi.StringArrayOutput)
+// Name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o ResourceNavigationLinkOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ResourceNavigationLink) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-type PropagatedRouteTableV6PtrOutput struct{ *pulumi.OutputState }
+type ResourceNavigationLinkArrayOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableV6PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableV6)(nil)).Elem()
+func (ResourceNavigationLinkArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ResourceNavigationLink)(nil)).Elem()
}
-func (o PropagatedRouteTableV6PtrOutput) ToPropagatedRouteTableV6PtrOutput() PropagatedRouteTableV6PtrOutput {
+func (o ResourceNavigationLinkArrayOutput) ToResourceNavigationLinkArrayOutput() ResourceNavigationLinkArrayOutput {
return o
}
-func (o PropagatedRouteTableV6PtrOutput) ToPropagatedRouteTableV6PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV6PtrOutput {
+func (o ResourceNavigationLinkArrayOutput) ToResourceNavigationLinkArrayOutputWithContext(ctx context.Context) ResourceNavigationLinkArrayOutput {
return o
}
-func (o PropagatedRouteTableV6PtrOutput) Elem() PropagatedRouteTableV6Output {
- return o.ApplyT(func(v *PropagatedRouteTableV6) PropagatedRouteTableV6 {
- if v != nil {
- return *v
- }
- var ret PropagatedRouteTableV6
- return ret
- }).(PropagatedRouteTableV6Output)
+func (o ResourceNavigationLinkArrayOutput) Index(i pulumi.IntInput) ResourceNavigationLinkOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceNavigationLink {
+ return vs[0].([]ResourceNavigationLink)[vs[1].(int)]
+ }).(ResourceNavigationLinkOutput)
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableV6PtrOutput) Ids() SubResourceArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableV6) []SubResource {
- if v == nil {
- return nil
- }
- return v.Ids
- }).(SubResourceArrayOutput)
+// ResourceNavigationLink resource.
+type ResourceNavigationLinkInterfaceEndpointResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Link to the external resource
+ Link *string `pulumi:"link"`
+ // Resource type of the linked resource.
+ LinkedResourceType *string `pulumi:"linkedResourceType"`
+ // Name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Provisioning state of the ResourceNavigationLink resource.
+ ProvisioningState string `pulumi:"provisioningState"`
}
-// The list of labels.
-func (o PropagatedRouteTableV6PtrOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableV6) []string {
- if v == nil {
- return nil
- }
- return v.Labels
- }).(pulumi.StringArrayOutput)
-}
+// ResourceNavigationLink resource.
+type ResourceNavigationLinkInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV7 struct {
- // The list of resource ids of all the RouteTables.
- Ids []SubResource `pulumi:"ids"`
- // The list of labels.
- Labels []string `pulumi:"labels"`
+func (ResourceNavigationLinkInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ResourceNavigationLinkInterfaceEndpointResponse)(nil)).Elem()
}
-// PropagatedRouteTableV7Input is an input type that accepts PropagatedRouteTableV7Args and PropagatedRouteTableV7Output values.
-// You can construct a concrete instance of `PropagatedRouteTableV7Input` via:
-//
-// PropagatedRouteTableV7Args{...}
-type PropagatedRouteTableV7Input interface {
- pulumi.Input
+func (o ResourceNavigationLinkInterfaceEndpointResponseOutput) ToResourceNavigationLinkInterfaceEndpointResponseOutput() ResourceNavigationLinkInterfaceEndpointResponseOutput {
+ return o
+}
- ToPropagatedRouteTableV7Output() PropagatedRouteTableV7Output
- ToPropagatedRouteTableV7OutputWithContext(context.Context) PropagatedRouteTableV7Output
+func (o ResourceNavigationLinkInterfaceEndpointResponseOutput) ToResourceNavigationLinkInterfaceEndpointResponseOutputWithContext(ctx context.Context) ResourceNavigationLinkInterfaceEndpointResponseOutput {
+ return o
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV7Args struct {
- // The list of resource ids of all the RouteTables.
- Ids SubResourceArrayInput `pulumi:"ids"`
- // The list of labels.
- Labels pulumi.StringArrayInput `pulumi:"labels"`
+// A unique read-only string that changes whenever the resource is updated.
+func (o ResourceNavigationLinkInterfaceEndpointResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ResourceNavigationLinkInterfaceEndpointResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (PropagatedRouteTableV7Args) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableV7)(nil)).Elem()
+// Resource ID.
+func (o ResourceNavigationLinkInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ResourceNavigationLinkInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (i PropagatedRouteTableV7Args) ToPropagatedRouteTableV7Output() PropagatedRouteTableV7Output {
- return i.ToPropagatedRouteTableV7OutputWithContext(context.Background())
+// Link to the external resource
+func (o ResourceNavigationLinkInterfaceEndpointResponseOutput) Link() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ResourceNavigationLinkInterfaceEndpointResponse) *string { return v.Link }).(pulumi.StringPtrOutput)
}
-func (i PropagatedRouteTableV7Args) ToPropagatedRouteTableV7OutputWithContext(ctx context.Context) PropagatedRouteTableV7Output {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV7Output)
+// Resource type of the linked resource.
+func (o ResourceNavigationLinkInterfaceEndpointResponseOutput) LinkedResourceType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ResourceNavigationLinkInterfaceEndpointResponse) *string { return v.LinkedResourceType }).(pulumi.StringPtrOutput)
}
-func (i PropagatedRouteTableV7Args) ToPropagatedRouteTableV7PtrOutput() PropagatedRouteTableV7PtrOutput {
- return i.ToPropagatedRouteTableV7PtrOutputWithContext(context.Background())
+// Name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o ResourceNavigationLinkInterfaceEndpointResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ResourceNavigationLinkInterfaceEndpointResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (i PropagatedRouteTableV7Args) ToPropagatedRouteTableV7PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV7PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV7Output).ToPropagatedRouteTableV7PtrOutputWithContext(ctx)
+// Provisioning state of the ResourceNavigationLink resource.
+func (o ResourceNavigationLinkInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ResourceNavigationLinkInterfaceEndpointResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// PropagatedRouteTableV7PtrInput is an input type that accepts PropagatedRouteTableV7Args, PropagatedRouteTableV7Ptr and PropagatedRouteTableV7PtrOutput values.
-// You can construct a concrete instance of `PropagatedRouteTableV7PtrInput` via:
-//
-// PropagatedRouteTableV7Args{...}
-//
-// or:
-//
-// nil
-type PropagatedRouteTableV7PtrInput interface {
- pulumi.Input
+type ResourceNavigationLinkInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
- ToPropagatedRouteTableV7PtrOutput() PropagatedRouteTableV7PtrOutput
- ToPropagatedRouteTableV7PtrOutputWithContext(context.Context) PropagatedRouteTableV7PtrOutput
+func (ResourceNavigationLinkInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ResourceNavigationLinkInterfaceEndpointResponse)(nil)).Elem()
}
-type propagatedRouteTableV7PtrType PropagatedRouteTableV7Args
-
-func PropagatedRouteTableV7Ptr(v *PropagatedRouteTableV7Args) PropagatedRouteTableV7PtrInput {
- return (*propagatedRouteTableV7PtrType)(v)
+func (o ResourceNavigationLinkInterfaceEndpointResponseArrayOutput) ToResourceNavigationLinkInterfaceEndpointResponseArrayOutput() ResourceNavigationLinkInterfaceEndpointResponseArrayOutput {
+ return o
}
-func (*propagatedRouteTableV7PtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableV7)(nil)).Elem()
+func (o ResourceNavigationLinkInterfaceEndpointResponseArrayOutput) ToResourceNavigationLinkInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) ResourceNavigationLinkInterfaceEndpointResponseArrayOutput {
+ return o
}
-func (i *propagatedRouteTableV7PtrType) ToPropagatedRouteTableV7PtrOutput() PropagatedRouteTableV7PtrOutput {
- return i.ToPropagatedRouteTableV7PtrOutputWithContext(context.Background())
+func (o ResourceNavigationLinkInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) ResourceNavigationLinkInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceNavigationLinkInterfaceEndpointResponse {
+ return vs[0].([]ResourceNavigationLinkInterfaceEndpointResponse)[vs[1].(int)]
+ }).(ResourceNavigationLinkInterfaceEndpointResponseOutput)
}
-func (i *propagatedRouteTableV7PtrType) ToPropagatedRouteTableV7PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV7PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PropagatedRouteTableV7PtrOutput)
+// ResourceNavigationLink resource.
+type ResourceNavigationLinkResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id string `pulumi:"id"`
+ // Link to the external resource.
+ Link *string `pulumi:"link"`
+ // Resource type of the linked resource.
+ LinkedResourceType *string `pulumi:"linkedResourceType"`
+ // Name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the resource navigation link resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// The list of RouteTables to advertise the routes to.
-type PropagatedRouteTableV7Output struct{ *pulumi.OutputState }
+// ResourceNavigationLink resource.
+type ResourceNavigationLinkResponseOutput struct{ *pulumi.OutputState }
-func (PropagatedRouteTableV7Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PropagatedRouteTableV7)(nil)).Elem()
+func (ResourceNavigationLinkResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ResourceNavigationLinkResponse)(nil)).Elem()
}
-func (o PropagatedRouteTableV7Output) ToPropagatedRouteTableV7Output() PropagatedRouteTableV7Output {
+func (o ResourceNavigationLinkResponseOutput) ToResourceNavigationLinkResponseOutput() ResourceNavigationLinkResponseOutput {
return o
}
-func (o PropagatedRouteTableV7Output) ToPropagatedRouteTableV7OutputWithContext(ctx context.Context) PropagatedRouteTableV7Output {
+func (o ResourceNavigationLinkResponseOutput) ToResourceNavigationLinkResponseOutputWithContext(ctx context.Context) ResourceNavigationLinkResponseOutput {
return o
}
-func (o PropagatedRouteTableV7Output) ToPropagatedRouteTableV7PtrOutput() PropagatedRouteTableV7PtrOutput {
- return o.ToPropagatedRouteTableV7PtrOutputWithContext(context.Background())
+// A unique read-only string that changes whenever the resource is updated.
+func (o ResourceNavigationLinkResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ResourceNavigationLinkResponse) string { return v.Etag }).(pulumi.StringOutput)
+}
+
+// Resource ID.
+func (o ResourceNavigationLinkResponseOutput) Id() pulumi.StringOutput {
+ return o.ApplyT(func(v ResourceNavigationLinkResponse) string { return v.Id }).(pulumi.StringOutput)
}
-func (o PropagatedRouteTableV7Output) ToPropagatedRouteTableV7PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV7PtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PropagatedRouteTableV7) *PropagatedRouteTableV7 {
- return &v
- }).(PropagatedRouteTableV7PtrOutput)
+// Link to the external resource.
+func (o ResourceNavigationLinkResponseOutput) Link() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ResourceNavigationLinkResponse) *string { return v.Link }).(pulumi.StringPtrOutput)
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableV7Output) Ids() SubResourceArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableV7) []SubResource { return v.Ids }).(SubResourceArrayOutput)
+// Resource type of the linked resource.
+func (o ResourceNavigationLinkResponseOutput) LinkedResourceType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ResourceNavigationLinkResponse) *string { return v.LinkedResourceType }).(pulumi.StringPtrOutput)
}
-// The list of labels.
-func (o PropagatedRouteTableV7Output) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PropagatedRouteTableV7) []string { return v.Labels }).(pulumi.StringArrayOutput)
+// Name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o ResourceNavigationLinkResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ResourceNavigationLinkResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-type PropagatedRouteTableV7PtrOutput struct{ *pulumi.OutputState }
+// The provisioning state of the resource navigation link resource.
+func (o ResourceNavigationLinkResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ResourceNavigationLinkResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
-func (PropagatedRouteTableV7PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PropagatedRouteTableV7)(nil)).Elem()
+// Resource type.
+func (o ResourceNavigationLinkResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ResourceNavigationLinkResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (o PropagatedRouteTableV7PtrOutput) ToPropagatedRouteTableV7PtrOutput() PropagatedRouteTableV7PtrOutput {
- return o
+type ResourceNavigationLinkResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ResourceNavigationLinkResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ResourceNavigationLinkResponse)(nil)).Elem()
}
-func (o PropagatedRouteTableV7PtrOutput) ToPropagatedRouteTableV7PtrOutputWithContext(ctx context.Context) PropagatedRouteTableV7PtrOutput {
+func (o ResourceNavigationLinkResponseArrayOutput) ToResourceNavigationLinkResponseArrayOutput() ResourceNavigationLinkResponseArrayOutput {
return o
}
-func (o PropagatedRouteTableV7PtrOutput) Elem() PropagatedRouteTableV7Output {
- return o.ApplyT(func(v *PropagatedRouteTableV7) PropagatedRouteTableV7 {
- if v != nil {
- return *v
- }
- var ret PropagatedRouteTableV7
- return ret
- }).(PropagatedRouteTableV7Output)
+func (o ResourceNavigationLinkResponseArrayOutput) ToResourceNavigationLinkResponseArrayOutputWithContext(ctx context.Context) ResourceNavigationLinkResponseArrayOutput {
+ return o
}
-// The list of resource ids of all the RouteTables.
-func (o PropagatedRouteTableV7PtrOutput) Ids() SubResourceArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableV7) []SubResource {
- if v == nil {
- return nil
- }
- return v.Ids
- }).(SubResourceArrayOutput)
+func (o ResourceNavigationLinkResponseArrayOutput) Index(i pulumi.IntInput) ResourceNavigationLinkResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceNavigationLinkResponse {
+ return vs[0].([]ResourceNavigationLinkResponse)[vs[1].(int)]
+ }).(ResourceNavigationLinkResponseOutput)
}
-// The list of labels.
-func (o PropagatedRouteTableV7PtrOutput) Labels() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PropagatedRouteTableV7) []string {
- if v == nil {
- return nil
- }
- return v.Labels
- }).(pulumi.StringArrayOutput)
+// Parameters that define the retention policy for flow log.
+type RetentionPolicyParameters struct {
+ // Number of days to retain flow log records.
+ Days *int `pulumi:"days"`
+ // Flag to enable/disable retention.
+ Enabled *bool `pulumi:"enabled"`
}
-// Public IP address resource.
-type PublicIPAddressType struct {
- // The DDoS protection custom policy associated with the public IP address.
- DdosSettings *DdosSettings `pulumi:"ddosSettings"`
- // Specify what happens to the public IP address when the VM using it is deleted
- DeleteOption *string `pulumi:"deleteOption"`
- // The FQDN of the DNS record associated with the public IP address.
- DnsSettings *PublicIPAddressDnsSettings `pulumi:"dnsSettings"`
- // The extended location of the public ip address.
- ExtendedLocation *ExtendedLocation `pulumi:"extendedLocation"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The idle timeout of the public IP address.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
- // The IP address associated with the public IP address resource.
- IpAddress *string `pulumi:"ipAddress"`
- // The list of tags associated with the public IP address.
- IpTags []IpTag `pulumi:"ipTags"`
- // The linked public IP address of the public IP address resource.
- LinkedPublicIPAddress *PublicIPAddressType `pulumi:"linkedPublicIPAddress"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Migration phase of Public IP Address.
- MigrationPhase *string `pulumi:"migrationPhase"`
- // The NatGateway for the Public IP address.
- NatGateway *NatGatewayType `pulumi:"natGateway"`
- // The public IP address version.
- PublicIPAddressVersion *string `pulumi:"publicIPAddressVersion"`
- // The public IP address allocation method.
- PublicIPAllocationMethod *string `pulumi:"publicIPAllocationMethod"`
- // The Public IP Prefix this Public IP Address should be allocated from.
- PublicIPPrefix *SubResource `pulumi:"publicIPPrefix"`
- // The service public IP address of the public IP address resource.
- ServicePublicIPAddress *PublicIPAddressType `pulumi:"servicePublicIPAddress"`
- // The public IP address SKU.
- Sku *PublicIPAddressSku `pulumi:"sku"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // A list of availability zones denoting the IP allocated for the resource needs to come from.
- Zones []string `pulumi:"zones"`
+// Defaults sets the appropriate defaults for RetentionPolicyParameters
+func (val *RetentionPolicyParameters) Defaults() *RetentionPolicyParameters {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.Days == nil {
+ days_ := 0
+ tmp.Days = &days_
+ }
+ if tmp.Enabled == nil {
+ enabled_ := false
+ tmp.Enabled = &enabled_
+ }
+ return &tmp
}
-// PublicIPAddressTypeInput is an input type that accepts PublicIPAddressTypeArgs and PublicIPAddressTypeOutput values.
-// You can construct a concrete instance of `PublicIPAddressTypeInput` via:
+// RetentionPolicyParametersInput is an input type that accepts RetentionPolicyParametersArgs and RetentionPolicyParametersOutput values.
+// You can construct a concrete instance of `RetentionPolicyParametersInput` via:
//
-// PublicIPAddressTypeArgs{...}
-type PublicIPAddressTypeInput interface {
+// RetentionPolicyParametersArgs{...}
+type RetentionPolicyParametersInput interface {
pulumi.Input
- ToPublicIPAddressTypeOutput() PublicIPAddressTypeOutput
- ToPublicIPAddressTypeOutputWithContext(context.Context) PublicIPAddressTypeOutput
+ ToRetentionPolicyParametersOutput() RetentionPolicyParametersOutput
+ ToRetentionPolicyParametersOutputWithContext(context.Context) RetentionPolicyParametersOutput
}
-// Public IP address resource.
-type PublicIPAddressTypeArgs struct {
- // The DDoS protection custom policy associated with the public IP address.
- DdosSettings DdosSettingsPtrInput `pulumi:"ddosSettings"`
- // Specify what happens to the public IP address when the VM using it is deleted
- DeleteOption pulumi.StringPtrInput `pulumi:"deleteOption"`
- // The FQDN of the DNS record associated with the public IP address.
- DnsSettings PublicIPAddressDnsSettingsPtrInput `pulumi:"dnsSettings"`
- // The extended location of the public ip address.
- ExtendedLocation ExtendedLocationPtrInput `pulumi:"extendedLocation"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The idle timeout of the public IP address.
- IdleTimeoutInMinutes pulumi.IntPtrInput `pulumi:"idleTimeoutInMinutes"`
- // The IP address associated with the public IP address resource.
- IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
- // The list of tags associated with the public IP address.
- IpTags IpTagArrayInput `pulumi:"ipTags"`
- // The linked public IP address of the public IP address resource.
- LinkedPublicIPAddress PublicIPAddressTypePtrInput `pulumi:"linkedPublicIPAddress"`
- // Resource location.
- Location pulumi.StringPtrInput `pulumi:"location"`
- // Migration phase of Public IP Address.
- MigrationPhase pulumi.StringPtrInput `pulumi:"migrationPhase"`
- // The NatGateway for the Public IP address.
- NatGateway NatGatewayTypePtrInput `pulumi:"natGateway"`
- // The public IP address version.
- PublicIPAddressVersion pulumi.StringPtrInput `pulumi:"publicIPAddressVersion"`
- // The public IP address allocation method.
- PublicIPAllocationMethod pulumi.StringPtrInput `pulumi:"publicIPAllocationMethod"`
- // The Public IP Prefix this Public IP Address should be allocated from.
- PublicIPPrefix SubResourcePtrInput `pulumi:"publicIPPrefix"`
- // The service public IP address of the public IP address resource.
- ServicePublicIPAddress PublicIPAddressTypePtrInput `pulumi:"servicePublicIPAddress"`
- // The public IP address SKU.
- Sku PublicIPAddressSkuPtrInput `pulumi:"sku"`
- // Resource tags.
- Tags pulumi.StringMapInput `pulumi:"tags"`
- // A list of availability zones denoting the IP allocated for the resource needs to come from.
- Zones pulumi.StringArrayInput `pulumi:"zones"`
+// Parameters that define the retention policy for flow log.
+type RetentionPolicyParametersArgs struct {
+ // Number of days to retain flow log records.
+ Days pulumi.IntPtrInput `pulumi:"days"`
+ // Flag to enable/disable retention.
+ Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}
-func (PublicIPAddressTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PublicIPAddressType)(nil)).Elem()
+// Defaults sets the appropriate defaults for RetentionPolicyParametersArgs
+func (val *RetentionPolicyParametersArgs) Defaults() *RetentionPolicyParametersArgs {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.Days == nil {
+ tmp.Days = pulumi.IntPtr(0)
+ }
+ if tmp.Enabled == nil {
+ tmp.Enabled = pulumi.BoolPtr(false)
+ }
+ return &tmp
+}
+func (RetentionPolicyParametersArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*RetentionPolicyParameters)(nil)).Elem()
}
-func (i PublicIPAddressTypeArgs) ToPublicIPAddressTypeOutput() PublicIPAddressTypeOutput {
- return i.ToPublicIPAddressTypeOutputWithContext(context.Background())
+func (i RetentionPolicyParametersArgs) ToRetentionPolicyParametersOutput() RetentionPolicyParametersOutput {
+ return i.ToRetentionPolicyParametersOutputWithContext(context.Background())
}
-func (i PublicIPAddressTypeArgs) ToPublicIPAddressTypeOutputWithContext(ctx context.Context) PublicIPAddressTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressTypeOutput)
+func (i RetentionPolicyParametersArgs) ToRetentionPolicyParametersOutputWithContext(ctx context.Context) RetentionPolicyParametersOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RetentionPolicyParametersOutput)
}
-func (i PublicIPAddressTypeArgs) ToPublicIPAddressTypePtrOutput() PublicIPAddressTypePtrOutput {
- return i.ToPublicIPAddressTypePtrOutputWithContext(context.Background())
+func (i RetentionPolicyParametersArgs) ToRetentionPolicyParametersPtrOutput() RetentionPolicyParametersPtrOutput {
+ return i.ToRetentionPolicyParametersPtrOutputWithContext(context.Background())
}
-func (i PublicIPAddressTypeArgs) ToPublicIPAddressTypePtrOutputWithContext(ctx context.Context) PublicIPAddressTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressTypeOutput).ToPublicIPAddressTypePtrOutputWithContext(ctx)
+func (i RetentionPolicyParametersArgs) ToRetentionPolicyParametersPtrOutputWithContext(ctx context.Context) RetentionPolicyParametersPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RetentionPolicyParametersOutput).ToRetentionPolicyParametersPtrOutputWithContext(ctx)
}
-// PublicIPAddressTypePtrInput is an input type that accepts PublicIPAddressTypeArgs, PublicIPAddressTypePtr and PublicIPAddressTypePtrOutput values.
-// You can construct a concrete instance of `PublicIPAddressTypePtrInput` via:
+// RetentionPolicyParametersPtrInput is an input type that accepts RetentionPolicyParametersArgs, RetentionPolicyParametersPtr and RetentionPolicyParametersPtrOutput values.
+// You can construct a concrete instance of `RetentionPolicyParametersPtrInput` via:
//
-// PublicIPAddressTypeArgs{...}
+// RetentionPolicyParametersArgs{...}
//
// or:
//
// nil
-type PublicIPAddressTypePtrInput interface {
+type RetentionPolicyParametersPtrInput interface {
pulumi.Input
- ToPublicIPAddressTypePtrOutput() PublicIPAddressTypePtrOutput
- ToPublicIPAddressTypePtrOutputWithContext(context.Context) PublicIPAddressTypePtrOutput
+ ToRetentionPolicyParametersPtrOutput() RetentionPolicyParametersPtrOutput
+ ToRetentionPolicyParametersPtrOutputWithContext(context.Context) RetentionPolicyParametersPtrOutput
}
-type publicIPAddressTypePtrType PublicIPAddressTypeArgs
+type retentionPolicyParametersPtrType RetentionPolicyParametersArgs
-func PublicIPAddressTypePtr(v *PublicIPAddressTypeArgs) PublicIPAddressTypePtrInput {
- return (*publicIPAddressTypePtrType)(v)
+func RetentionPolicyParametersPtr(v *RetentionPolicyParametersArgs) RetentionPolicyParametersPtrInput {
+ return (*retentionPolicyParametersPtrType)(v)
}
-func (*publicIPAddressTypePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PublicIPAddressType)(nil)).Elem()
+func (*retentionPolicyParametersPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**RetentionPolicyParameters)(nil)).Elem()
}
-func (i *publicIPAddressTypePtrType) ToPublicIPAddressTypePtrOutput() PublicIPAddressTypePtrOutput {
- return i.ToPublicIPAddressTypePtrOutputWithContext(context.Background())
+func (i *retentionPolicyParametersPtrType) ToRetentionPolicyParametersPtrOutput() RetentionPolicyParametersPtrOutput {
+ return i.ToRetentionPolicyParametersPtrOutputWithContext(context.Background())
}
-func (i *publicIPAddressTypePtrType) ToPublicIPAddressTypePtrOutputWithContext(ctx context.Context) PublicIPAddressTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressTypePtrOutput)
+func (i *retentionPolicyParametersPtrType) ToRetentionPolicyParametersPtrOutputWithContext(ctx context.Context) RetentionPolicyParametersPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RetentionPolicyParametersPtrOutput)
}
-// Public IP address resource.
-type PublicIPAddressTypeOutput struct{ *pulumi.OutputState }
+// Parameters that define the retention policy for flow log.
+type RetentionPolicyParametersOutput struct{ *pulumi.OutputState }
-func (PublicIPAddressTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PublicIPAddressType)(nil)).Elem()
+func (RetentionPolicyParametersOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RetentionPolicyParameters)(nil)).Elem()
}
-func (o PublicIPAddressTypeOutput) ToPublicIPAddressTypeOutput() PublicIPAddressTypeOutput {
+func (o RetentionPolicyParametersOutput) ToRetentionPolicyParametersOutput() RetentionPolicyParametersOutput {
return o
}
-func (o PublicIPAddressTypeOutput) ToPublicIPAddressTypeOutputWithContext(ctx context.Context) PublicIPAddressTypeOutput {
+func (o RetentionPolicyParametersOutput) ToRetentionPolicyParametersOutputWithContext(ctx context.Context) RetentionPolicyParametersOutput {
return o
}
-func (o PublicIPAddressTypeOutput) ToPublicIPAddressTypePtrOutput() PublicIPAddressTypePtrOutput {
- return o.ToPublicIPAddressTypePtrOutputWithContext(context.Background())
+func (o RetentionPolicyParametersOutput) ToRetentionPolicyParametersPtrOutput() RetentionPolicyParametersPtrOutput {
+ return o.ToRetentionPolicyParametersPtrOutputWithContext(context.Background())
}
-func (o PublicIPAddressTypeOutput) ToPublicIPAddressTypePtrOutputWithContext(ctx context.Context) PublicIPAddressTypePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PublicIPAddressType) *PublicIPAddressType {
+func (o RetentionPolicyParametersOutput) ToRetentionPolicyParametersPtrOutputWithContext(ctx context.Context) RetentionPolicyParametersPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v RetentionPolicyParameters) *RetentionPolicyParameters {
return &v
- }).(PublicIPAddressTypePtrOutput)
+ }).(RetentionPolicyParametersPtrOutput)
}
-// The DDoS protection custom policy associated with the public IP address.
-func (o PublicIPAddressTypeOutput) DdosSettings() DdosSettingsPtrOutput {
- return o.ApplyT(func(v PublicIPAddressType) *DdosSettings { return v.DdosSettings }).(DdosSettingsPtrOutput)
+// Number of days to retain flow log records.
+func (o RetentionPolicyParametersOutput) Days() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v RetentionPolicyParameters) *int { return v.Days }).(pulumi.IntPtrOutput)
}
-// Specify what happens to the public IP address when the VM using it is deleted
-func (o PublicIPAddressTypeOutput) DeleteOption() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressType) *string { return v.DeleteOption }).(pulumi.StringPtrOutput)
+// Flag to enable/disable retention.
+func (o RetentionPolicyParametersOutput) Enabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v RetentionPolicyParameters) *bool { return v.Enabled }).(pulumi.BoolPtrOutput)
}
-// The FQDN of the DNS record associated with the public IP address.
-func (o PublicIPAddressTypeOutput) DnsSettings() PublicIPAddressDnsSettingsPtrOutput {
- return o.ApplyT(func(v PublicIPAddressType) *PublicIPAddressDnsSettings { return v.DnsSettings }).(PublicIPAddressDnsSettingsPtrOutput)
-}
+type RetentionPolicyParametersPtrOutput struct{ *pulumi.OutputState }
-// The extended location of the public ip address.
-func (o PublicIPAddressTypeOutput) ExtendedLocation() ExtendedLocationPtrOutput {
- return o.ApplyT(func(v PublicIPAddressType) *ExtendedLocation { return v.ExtendedLocation }).(ExtendedLocationPtrOutput)
+func (RetentionPolicyParametersPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RetentionPolicyParameters)(nil)).Elem()
}
-// Resource ID.
-func (o PublicIPAddressTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressType) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o RetentionPolicyParametersPtrOutput) ToRetentionPolicyParametersPtrOutput() RetentionPolicyParametersPtrOutput {
+ return o
}
-// The idle timeout of the public IP address.
-func (o PublicIPAddressTypeOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PublicIPAddressType) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+func (o RetentionPolicyParametersPtrOutput) ToRetentionPolicyParametersPtrOutputWithContext(ctx context.Context) RetentionPolicyParametersPtrOutput {
+ return o
}
-// The IP address associated with the public IP address resource.
-func (o PublicIPAddressTypeOutput) IpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressType) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
+func (o RetentionPolicyParametersPtrOutput) Elem() RetentionPolicyParametersOutput {
+ return o.ApplyT(func(v *RetentionPolicyParameters) RetentionPolicyParameters {
+ if v != nil {
+ return *v
+ }
+ var ret RetentionPolicyParameters
+ return ret
+ }).(RetentionPolicyParametersOutput)
}
-// The list of tags associated with the public IP address.
-func (o PublicIPAddressTypeOutput) IpTags() IpTagArrayOutput {
- return o.ApplyT(func(v PublicIPAddressType) []IpTag { return v.IpTags }).(IpTagArrayOutput)
+// Number of days to retain flow log records.
+func (o RetentionPolicyParametersPtrOutput) Days() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *RetentionPolicyParameters) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Days
+ }).(pulumi.IntPtrOutput)
}
-// The linked public IP address of the public IP address resource.
-func (o PublicIPAddressTypeOutput) LinkedPublicIPAddress() PublicIPAddressTypePtrOutput {
- return o.ApplyT(func(v PublicIPAddressType) *PublicIPAddressType { return v.LinkedPublicIPAddress }).(PublicIPAddressTypePtrOutput)
+// Flag to enable/disable retention.
+func (o RetentionPolicyParametersPtrOutput) Enabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *RetentionPolicyParameters) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.Enabled
+ }).(pulumi.BoolPtrOutput)
}
-// Resource location.
-func (o PublicIPAddressTypeOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressType) *string { return v.Location }).(pulumi.StringPtrOutput)
+// Parameters that define the retention policy for flow log.
+type RetentionPolicyParametersResponse struct {
+ // Number of days to retain flow log records.
+ Days *int `pulumi:"days"`
+ // Flag to enable/disable retention.
+ Enabled *bool `pulumi:"enabled"`
}
-// Migration phase of Public IP Address.
-func (o PublicIPAddressTypeOutput) MigrationPhase() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressType) *string { return v.MigrationPhase }).(pulumi.StringPtrOutput)
+// Defaults sets the appropriate defaults for RetentionPolicyParametersResponse
+func (val *RetentionPolicyParametersResponse) Defaults() *RetentionPolicyParametersResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.Days == nil {
+ days_ := 0
+ tmp.Days = &days_
+ }
+ if tmp.Enabled == nil {
+ enabled_ := false
+ tmp.Enabled = &enabled_
+ }
+ return &tmp
}
-// The NatGateway for the Public IP address.
-func (o PublicIPAddressTypeOutput) NatGateway() NatGatewayTypePtrOutput {
- return o.ApplyT(func(v PublicIPAddressType) *NatGatewayType { return v.NatGateway }).(NatGatewayTypePtrOutput)
+// Parameters that define the retention policy for flow log.
+type RetentionPolicyParametersResponseOutput struct{ *pulumi.OutputState }
+
+func (RetentionPolicyParametersResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RetentionPolicyParametersResponse)(nil)).Elem()
}
-// The public IP address version.
-func (o PublicIPAddressTypeOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressType) *string { return v.PublicIPAddressVersion }).(pulumi.StringPtrOutput)
+func (o RetentionPolicyParametersResponseOutput) ToRetentionPolicyParametersResponseOutput() RetentionPolicyParametersResponseOutput {
+ return o
}
-// The public IP address allocation method.
-func (o PublicIPAddressTypeOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressType) *string { return v.PublicIPAllocationMethod }).(pulumi.StringPtrOutput)
+func (o RetentionPolicyParametersResponseOutput) ToRetentionPolicyParametersResponseOutputWithContext(ctx context.Context) RetentionPolicyParametersResponseOutput {
+ return o
}
-// The Public IP Prefix this Public IP Address should be allocated from.
-func (o PublicIPAddressTypeOutput) PublicIPPrefix() SubResourcePtrOutput {
- return o.ApplyT(func(v PublicIPAddressType) *SubResource { return v.PublicIPPrefix }).(SubResourcePtrOutput)
-}
-
-// The service public IP address of the public IP address resource.
-func (o PublicIPAddressTypeOutput) ServicePublicIPAddress() PublicIPAddressTypePtrOutput {
- return o.ApplyT(func(v PublicIPAddressType) *PublicIPAddressType { return v.ServicePublicIPAddress }).(PublicIPAddressTypePtrOutput)
-}
-
-// The public IP address SKU.
-func (o PublicIPAddressTypeOutput) Sku() PublicIPAddressSkuPtrOutput {
- return o.ApplyT(func(v PublicIPAddressType) *PublicIPAddressSku { return v.Sku }).(PublicIPAddressSkuPtrOutput)
-}
-
-// Resource tags.
-func (o PublicIPAddressTypeOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v PublicIPAddressType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// Number of days to retain flow log records.
+func (o RetentionPolicyParametersResponseOutput) Days() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v RetentionPolicyParametersResponse) *int { return v.Days }).(pulumi.IntPtrOutput)
}
-// A list of availability zones denoting the IP allocated for the resource needs to come from.
-func (o PublicIPAddressTypeOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PublicIPAddressType) []string { return v.Zones }).(pulumi.StringArrayOutput)
+// Flag to enable/disable retention.
+func (o RetentionPolicyParametersResponseOutput) Enabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v RetentionPolicyParametersResponse) *bool { return v.Enabled }).(pulumi.BoolPtrOutput)
}
-type PublicIPAddressTypePtrOutput struct{ *pulumi.OutputState }
+type RetentionPolicyParametersResponsePtrOutput struct{ *pulumi.OutputState }
-func (PublicIPAddressTypePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PublicIPAddressType)(nil)).Elem()
+func (RetentionPolicyParametersResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RetentionPolicyParametersResponse)(nil)).Elem()
}
-func (o PublicIPAddressTypePtrOutput) ToPublicIPAddressTypePtrOutput() PublicIPAddressTypePtrOutput {
+func (o RetentionPolicyParametersResponsePtrOutput) ToRetentionPolicyParametersResponsePtrOutput() RetentionPolicyParametersResponsePtrOutput {
return o
}
-func (o PublicIPAddressTypePtrOutput) ToPublicIPAddressTypePtrOutputWithContext(ctx context.Context) PublicIPAddressTypePtrOutput {
+func (o RetentionPolicyParametersResponsePtrOutput) ToRetentionPolicyParametersResponsePtrOutputWithContext(ctx context.Context) RetentionPolicyParametersResponsePtrOutput {
return o
}
-func (o PublicIPAddressTypePtrOutput) Elem() PublicIPAddressTypeOutput {
- return o.ApplyT(func(v *PublicIPAddressType) PublicIPAddressType {
+func (o RetentionPolicyParametersResponsePtrOutput) Elem() RetentionPolicyParametersResponseOutput {
+ return o.ApplyT(func(v *RetentionPolicyParametersResponse) RetentionPolicyParametersResponse {
if v != nil {
return *v
}
- var ret PublicIPAddressType
+ var ret RetentionPolicyParametersResponse
return ret
- }).(PublicIPAddressTypeOutput)
+ }).(RetentionPolicyParametersResponseOutput)
}
-// The DDoS protection custom policy associated with the public IP address.
-func (o PublicIPAddressTypePtrOutput) DdosSettings() DdosSettingsPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressType) *DdosSettings {
+// Number of days to retain flow log records.
+func (o RetentionPolicyParametersResponsePtrOutput) Days() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *RetentionPolicyParametersResponse) *int {
if v == nil {
return nil
}
- return v.DdosSettings
- }).(DdosSettingsPtrOutput)
+ return v.Days
+ }).(pulumi.IntPtrOutput)
}
-// Specify what happens to the public IP address when the VM using it is deleted
-func (o PublicIPAddressTypePtrOutput) DeleteOption() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressType) *string {
+// Flag to enable/disable retention.
+func (o RetentionPolicyParametersResponsePtrOutput) Enabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *RetentionPolicyParametersResponse) *bool {
if v == nil {
return nil
}
- return v.DeleteOption
- }).(pulumi.StringPtrOutput)
+ return v.Enabled
+ }).(pulumi.BoolPtrOutput)
}
-// The FQDN of the DNS record associated with the public IP address.
-func (o PublicIPAddressTypePtrOutput) DnsSettings() PublicIPAddressDnsSettingsPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressType) *PublicIPAddressDnsSettings {
- if v == nil {
- return nil
- }
- return v.DnsSettings
- }).(PublicIPAddressDnsSettingsPtrOutput)
+// Route resource.
+type RouteType struct {
+ // The destination CIDR to which the route applies.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
+ NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
+ // The type of Azure hop the packet should be sent to.
+ NextHopType string `pulumi:"nextHopType"`
+ // The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState *string `pulumi:"provisioningState"`
+ // The type of the resource.
+ Type *string `pulumi:"type"`
}
-// The extended location of the public ip address.
-func (o PublicIPAddressTypePtrOutput) ExtendedLocation() ExtendedLocationPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressType) *ExtendedLocation {
- if v == nil {
- return nil
- }
- return v.ExtendedLocation
- }).(ExtendedLocationPtrOutput)
+// RouteTypeInput is an input type that accepts RouteTypeArgs and RouteTypeOutput values.
+// You can construct a concrete instance of `RouteTypeInput` via:
+//
+// RouteTypeArgs{...}
+type RouteTypeInput interface {
+ pulumi.Input
+
+ ToRouteTypeOutput() RouteTypeOutput
+ ToRouteTypeOutputWithContext(context.Context) RouteTypeOutput
}
-// Resource ID.
-func (o PublicIPAddressTypePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressType) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+// Route resource.
+type RouteTypeArgs struct {
+ // The destination CIDR to which the route applies.
+ AddressPrefix pulumi.StringPtrInput `pulumi:"addressPrefix"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag pulumi.StringPtrInput `pulumi:"etag"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
+ NextHopIpAddress pulumi.StringPtrInput `pulumi:"nextHopIpAddress"`
+ // The type of Azure hop the packet should be sent to.
+ NextHopType pulumi.StringInput `pulumi:"nextHopType"`
+ // The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState pulumi.StringPtrInput `pulumi:"provisioningState"`
+ // The type of the resource.
+ Type pulumi.StringPtrInput `pulumi:"type"`
}
-// The idle timeout of the public IP address.
-func (o PublicIPAddressTypePtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressType) *int {
- if v == nil {
- return nil
- }
- return v.IdleTimeoutInMinutes
- }).(pulumi.IntPtrOutput)
+func (RouteTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteType)(nil)).Elem()
}
-// The IP address associated with the public IP address resource.
-func (o PublicIPAddressTypePtrOutput) IpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressType) *string {
- if v == nil {
- return nil
- }
- return v.IpAddress
- }).(pulumi.StringPtrOutput)
+func (i RouteTypeArgs) ToRouteTypeOutput() RouteTypeOutput {
+ return i.ToRouteTypeOutputWithContext(context.Background())
}
-// The list of tags associated with the public IP address.
-func (o PublicIPAddressTypePtrOutput) IpTags() IpTagArrayOutput {
- return o.ApplyT(func(v *PublicIPAddressType) []IpTag {
- if v == nil {
- return nil
- }
- return v.IpTags
- }).(IpTagArrayOutput)
+func (i RouteTypeArgs) ToRouteTypeOutputWithContext(ctx context.Context) RouteTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RouteTypeOutput)
}
-// The linked public IP address of the public IP address resource.
-func (o PublicIPAddressTypePtrOutput) LinkedPublicIPAddress() PublicIPAddressTypePtrOutput {
- return o.ApplyT(func(v *PublicIPAddressType) *PublicIPAddressType {
- if v == nil {
- return nil
- }
- return v.LinkedPublicIPAddress
- }).(PublicIPAddressTypePtrOutput)
+// RouteTypeArrayInput is an input type that accepts RouteTypeArray and RouteTypeArrayOutput values.
+// You can construct a concrete instance of `RouteTypeArrayInput` via:
+//
+// RouteTypeArray{ RouteTypeArgs{...} }
+type RouteTypeArrayInput interface {
+ pulumi.Input
+
+ ToRouteTypeArrayOutput() RouteTypeArrayOutput
+ ToRouteTypeArrayOutputWithContext(context.Context) RouteTypeArrayOutput
}
-// Resource location.
-func (o PublicIPAddressTypePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressType) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
+type RouteTypeArray []RouteTypeInput
+
+func (RouteTypeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RouteType)(nil)).Elem()
}
-// Migration phase of Public IP Address.
-func (o PublicIPAddressTypePtrOutput) MigrationPhase() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressType) *string {
- if v == nil {
- return nil
- }
- return v.MigrationPhase
- }).(pulumi.StringPtrOutput)
+func (i RouteTypeArray) ToRouteTypeArrayOutput() RouteTypeArrayOutput {
+ return i.ToRouteTypeArrayOutputWithContext(context.Background())
}
-// The NatGateway for the Public IP address.
-func (o PublicIPAddressTypePtrOutput) NatGateway() NatGatewayTypePtrOutput {
- return o.ApplyT(func(v *PublicIPAddressType) *NatGatewayType {
- if v == nil {
- return nil
- }
- return v.NatGateway
- }).(NatGatewayTypePtrOutput)
+func (i RouteTypeArray) ToRouteTypeArrayOutputWithContext(ctx context.Context) RouteTypeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RouteTypeArrayOutput)
}
-// The public IP address version.
-func (o PublicIPAddressTypePtrOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressType) *string {
- if v == nil {
- return nil
- }
- return v.PublicIPAddressVersion
- }).(pulumi.StringPtrOutput)
+// Route resource.
+type RouteTypeOutput struct{ *pulumi.OutputState }
+
+func (RouteTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteType)(nil)).Elem()
}
-// The public IP address allocation method.
-func (o PublicIPAddressTypePtrOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressType) *string {
- if v == nil {
- return nil
- }
- return v.PublicIPAllocationMethod
- }).(pulumi.StringPtrOutput)
+func (o RouteTypeOutput) ToRouteTypeOutput() RouteTypeOutput {
+ return o
}
-// The Public IP Prefix this Public IP Address should be allocated from.
-func (o PublicIPAddressTypePtrOutput) PublicIPPrefix() SubResourcePtrOutput {
- return o.ApplyT(func(v *PublicIPAddressType) *SubResource {
- if v == nil {
- return nil
- }
- return v.PublicIPPrefix
- }).(SubResourcePtrOutput)
+func (o RouteTypeOutput) ToRouteTypeOutputWithContext(ctx context.Context) RouteTypeOutput {
+ return o
}
-// The service public IP address of the public IP address resource.
-func (o PublicIPAddressTypePtrOutput) ServicePublicIPAddress() PublicIPAddressTypePtrOutput {
- return o.ApplyT(func(v *PublicIPAddressType) *PublicIPAddressType {
- if v == nil {
- return nil
- }
- return v.ServicePublicIPAddress
- }).(PublicIPAddressTypePtrOutput)
+// The destination CIDR to which the route applies.
+func (o RouteTypeOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteType) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-// The public IP address SKU.
-func (o PublicIPAddressTypePtrOutput) Sku() PublicIPAddressSkuPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressType) *PublicIPAddressSku {
- if v == nil {
- return nil
- }
- return v.Sku
- }).(PublicIPAddressSkuPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o RouteTypeOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteType) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// Resource tags.
-func (o PublicIPAddressTypePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *PublicIPAddressType) map[string]string {
- if v == nil {
- return nil
- }
- return v.Tags
- }).(pulumi.StringMapOutput)
+// Resource ID.
+func (o RouteTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// A list of availability zones denoting the IP allocated for the resource needs to come from.
-func (o PublicIPAddressTypePtrOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PublicIPAddressType) []string {
- if v == nil {
- return nil
- }
- return v.Zones
- }).(pulumi.StringArrayOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o RouteTypeOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteType) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Contains FQDN of the DNS record associated with the public IP address.
-type PublicIPAddressDnsSettings struct {
- // The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
- DomainNameLabel *string `pulumi:"domainNameLabel"`
- // The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
- DomainNameLabelScope *PublicIpAddressDnsSettingsDomainNameLabelScope `pulumi:"domainNameLabelScope"`
- // The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
- Fqdn *string `pulumi:"fqdn"`
- // The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
- ReverseFqdn *string `pulumi:"reverseFqdn"`
+// The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
+func (o RouteTypeOutput) NextHopIpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteType) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
}
-// PublicIPAddressDnsSettingsInput is an input type that accepts PublicIPAddressDnsSettingsArgs and PublicIPAddressDnsSettingsOutput values.
-// You can construct a concrete instance of `PublicIPAddressDnsSettingsInput` via:
-//
-// PublicIPAddressDnsSettingsArgs{...}
-type PublicIPAddressDnsSettingsInput interface {
- pulumi.Input
+// The type of Azure hop the packet should be sent to.
+func (o RouteTypeOutput) NextHopType() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteType) string { return v.NextHopType }).(pulumi.StringOutput)
+}
- ToPublicIPAddressDnsSettingsOutput() PublicIPAddressDnsSettingsOutput
- ToPublicIPAddressDnsSettingsOutputWithContext(context.Context) PublicIPAddressDnsSettingsOutput
+// The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o RouteTypeOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteType) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-// Contains FQDN of the DNS record associated with the public IP address.
-type PublicIPAddressDnsSettingsArgs struct {
- // The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
- DomainNameLabel pulumi.StringPtrInput `pulumi:"domainNameLabel"`
- // The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
- DomainNameLabelScope PublicIpAddressDnsSettingsDomainNameLabelScopePtrInput `pulumi:"domainNameLabelScope"`
- // The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
- Fqdn pulumi.StringPtrInput `pulumi:"fqdn"`
- // The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
- ReverseFqdn pulumi.StringPtrInput `pulumi:"reverseFqdn"`
+// The type of the resource.
+func (o RouteTypeOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteType) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-func (PublicIPAddressDnsSettingsArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PublicIPAddressDnsSettings)(nil)).Elem()
+type RouteTypeArrayOutput struct{ *pulumi.OutputState }
+
+func (RouteTypeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RouteType)(nil)).Elem()
}
-func (i PublicIPAddressDnsSettingsArgs) ToPublicIPAddressDnsSettingsOutput() PublicIPAddressDnsSettingsOutput {
- return i.ToPublicIPAddressDnsSettingsOutputWithContext(context.Background())
+func (o RouteTypeArrayOutput) ToRouteTypeArrayOutput() RouteTypeArrayOutput {
+ return o
}
-func (i PublicIPAddressDnsSettingsArgs) ToPublicIPAddressDnsSettingsOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressDnsSettingsOutput)
+func (o RouteTypeArrayOutput) ToRouteTypeArrayOutputWithContext(ctx context.Context) RouteTypeArrayOutput {
+ return o
}
-func (i PublicIPAddressDnsSettingsArgs) ToPublicIPAddressDnsSettingsPtrOutput() PublicIPAddressDnsSettingsPtrOutput {
- return i.ToPublicIPAddressDnsSettingsPtrOutputWithContext(context.Background())
+func (o RouteTypeArrayOutput) Index(i pulumi.IntInput) RouteTypeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteType {
+ return vs[0].([]RouteType)[vs[1].(int)]
+ }).(RouteTypeOutput)
}
-func (i PublicIPAddressDnsSettingsArgs) ToPublicIPAddressDnsSettingsPtrOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressDnsSettingsOutput).ToPublicIPAddressDnsSettingsPtrOutputWithContext(ctx)
+// Route Filter Rule Resource.
+type RouteFilterRuleType struct {
+ // The access type of the rule.
+ Access string `pulumi:"access"`
+ // The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
+ Communities []string `pulumi:"communities"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The rule type of the rule.
+ RouteFilterRuleType string `pulumi:"routeFilterRuleType"`
}
-// PublicIPAddressDnsSettingsPtrInput is an input type that accepts PublicIPAddressDnsSettingsArgs, PublicIPAddressDnsSettingsPtr and PublicIPAddressDnsSettingsPtrOutput values.
-// You can construct a concrete instance of `PublicIPAddressDnsSettingsPtrInput` via:
-//
-// PublicIPAddressDnsSettingsArgs{...}
-//
-// or:
+// RouteFilterRuleTypeInput is an input type that accepts RouteFilterRuleTypeArgs and RouteFilterRuleTypeOutput values.
+// You can construct a concrete instance of `RouteFilterRuleTypeInput` via:
//
-// nil
-type PublicIPAddressDnsSettingsPtrInput interface {
+// RouteFilterRuleTypeArgs{...}
+type RouteFilterRuleTypeInput interface {
pulumi.Input
- ToPublicIPAddressDnsSettingsPtrOutput() PublicIPAddressDnsSettingsPtrOutput
- ToPublicIPAddressDnsSettingsPtrOutputWithContext(context.Context) PublicIPAddressDnsSettingsPtrOutput
+ ToRouteFilterRuleTypeOutput() RouteFilterRuleTypeOutput
+ ToRouteFilterRuleTypeOutputWithContext(context.Context) RouteFilterRuleTypeOutput
}
-type publicIPAddressDnsSettingsPtrType PublicIPAddressDnsSettingsArgs
+// Route Filter Rule Resource.
+type RouteFilterRuleTypeArgs struct {
+ // The access type of the rule.
+ Access pulumi.StringInput `pulumi:"access"`
+ // The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
+ Communities pulumi.StringArrayInput `pulumi:"communities"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Resource location.
+ Location pulumi.StringPtrInput `pulumi:"location"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The rule type of the rule.
+ RouteFilterRuleType pulumi.StringInput `pulumi:"routeFilterRuleType"`
+}
-func PublicIPAddressDnsSettingsPtr(v *PublicIPAddressDnsSettingsArgs) PublicIPAddressDnsSettingsPtrInput {
- return (*publicIPAddressDnsSettingsPtrType)(v)
+func (RouteFilterRuleTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteFilterRuleType)(nil)).Elem()
}
-func (*publicIPAddressDnsSettingsPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PublicIPAddressDnsSettings)(nil)).Elem()
+func (i RouteFilterRuleTypeArgs) ToRouteFilterRuleTypeOutput() RouteFilterRuleTypeOutput {
+ return i.ToRouteFilterRuleTypeOutputWithContext(context.Background())
}
-func (i *publicIPAddressDnsSettingsPtrType) ToPublicIPAddressDnsSettingsPtrOutput() PublicIPAddressDnsSettingsPtrOutput {
- return i.ToPublicIPAddressDnsSettingsPtrOutputWithContext(context.Background())
+func (i RouteFilterRuleTypeArgs) ToRouteFilterRuleTypeOutputWithContext(ctx context.Context) RouteFilterRuleTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RouteFilterRuleTypeOutput)
}
-func (i *publicIPAddressDnsSettingsPtrType) ToPublicIPAddressDnsSettingsPtrOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressDnsSettingsPtrOutput)
+// RouteFilterRuleTypeArrayInput is an input type that accepts RouteFilterRuleTypeArray and RouteFilterRuleTypeArrayOutput values.
+// You can construct a concrete instance of `RouteFilterRuleTypeArrayInput` via:
+//
+// RouteFilterRuleTypeArray{ RouteFilterRuleTypeArgs{...} }
+type RouteFilterRuleTypeArrayInput interface {
+ pulumi.Input
+
+ ToRouteFilterRuleTypeArrayOutput() RouteFilterRuleTypeArrayOutput
+ ToRouteFilterRuleTypeArrayOutputWithContext(context.Context) RouteFilterRuleTypeArrayOutput
}
-// Contains FQDN of the DNS record associated with the public IP address.
-type PublicIPAddressDnsSettingsOutput struct{ *pulumi.OutputState }
+type RouteFilterRuleTypeArray []RouteFilterRuleTypeInput
-func (PublicIPAddressDnsSettingsOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PublicIPAddressDnsSettings)(nil)).Elem()
+func (RouteFilterRuleTypeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RouteFilterRuleType)(nil)).Elem()
}
-func (o PublicIPAddressDnsSettingsOutput) ToPublicIPAddressDnsSettingsOutput() PublicIPAddressDnsSettingsOutput {
+func (i RouteFilterRuleTypeArray) ToRouteFilterRuleTypeArrayOutput() RouteFilterRuleTypeArrayOutput {
+ return i.ToRouteFilterRuleTypeArrayOutputWithContext(context.Background())
+}
+
+func (i RouteFilterRuleTypeArray) ToRouteFilterRuleTypeArrayOutputWithContext(ctx context.Context) RouteFilterRuleTypeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RouteFilterRuleTypeArrayOutput)
+}
+
+// Route Filter Rule Resource.
+type RouteFilterRuleTypeOutput struct{ *pulumi.OutputState }
+
+func (RouteFilterRuleTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteFilterRuleType)(nil)).Elem()
+}
+
+func (o RouteFilterRuleTypeOutput) ToRouteFilterRuleTypeOutput() RouteFilterRuleTypeOutput {
return o
}
-func (o PublicIPAddressDnsSettingsOutput) ToPublicIPAddressDnsSettingsOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsOutput {
+func (o RouteFilterRuleTypeOutput) ToRouteFilterRuleTypeOutputWithContext(ctx context.Context) RouteFilterRuleTypeOutput {
return o
}
-func (o PublicIPAddressDnsSettingsOutput) ToPublicIPAddressDnsSettingsPtrOutput() PublicIPAddressDnsSettingsPtrOutput {
- return o.ToPublicIPAddressDnsSettingsPtrOutputWithContext(context.Background())
+// The access type of the rule.
+func (o RouteFilterRuleTypeOutput) Access() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteFilterRuleType) string { return v.Access }).(pulumi.StringOutput)
}
-func (o PublicIPAddressDnsSettingsOutput) ToPublicIPAddressDnsSettingsPtrOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PublicIPAddressDnsSettings) *PublicIPAddressDnsSettings {
- return &v
- }).(PublicIPAddressDnsSettingsPtrOutput)
+// The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
+func (o RouteFilterRuleTypeOutput) Communities() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v RouteFilterRuleType) []string { return v.Communities }).(pulumi.StringArrayOutput)
}
-// The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
-func (o PublicIPAddressDnsSettingsOutput) DomainNameLabel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressDnsSettings) *string { return v.DomainNameLabel }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o RouteFilterRuleTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteFilterRuleType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
-func (o PublicIPAddressDnsSettingsOutput) DomainNameLabelScope() PublicIpAddressDnsSettingsDomainNameLabelScopePtrOutput {
- return o.ApplyT(func(v PublicIPAddressDnsSettings) *PublicIpAddressDnsSettingsDomainNameLabelScope {
- return v.DomainNameLabelScope
- }).(PublicIpAddressDnsSettingsDomainNameLabelScopePtrOutput)
+// Resource location.
+func (o RouteFilterRuleTypeOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteFilterRuleType) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
-func (o PublicIPAddressDnsSettingsOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressDnsSettings) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o RouteFilterRuleTypeOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteFilterRuleType) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
-func (o PublicIPAddressDnsSettingsOutput) ReverseFqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressDnsSettings) *string { return v.ReverseFqdn }).(pulumi.StringPtrOutput)
+// The rule type of the rule.
+func (o RouteFilterRuleTypeOutput) RouteFilterRuleType() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteFilterRuleType) string { return v.RouteFilterRuleType }).(pulumi.StringOutput)
}
-type PublicIPAddressDnsSettingsPtrOutput struct{ *pulumi.OutputState }
+type RouteFilterRuleTypeArrayOutput struct{ *pulumi.OutputState }
-func (PublicIPAddressDnsSettingsPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PublicIPAddressDnsSettings)(nil)).Elem()
+func (RouteFilterRuleTypeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RouteFilterRuleType)(nil)).Elem()
}
-func (o PublicIPAddressDnsSettingsPtrOutput) ToPublicIPAddressDnsSettingsPtrOutput() PublicIPAddressDnsSettingsPtrOutput {
+func (o RouteFilterRuleTypeArrayOutput) ToRouteFilterRuleTypeArrayOutput() RouteFilterRuleTypeArrayOutput {
return o
}
-func (o PublicIPAddressDnsSettingsPtrOutput) ToPublicIPAddressDnsSettingsPtrOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsPtrOutput {
+func (o RouteFilterRuleTypeArrayOutput) ToRouteFilterRuleTypeArrayOutputWithContext(ctx context.Context) RouteFilterRuleTypeArrayOutput {
return o
}
-func (o PublicIPAddressDnsSettingsPtrOutput) Elem() PublicIPAddressDnsSettingsOutput {
- return o.ApplyT(func(v *PublicIPAddressDnsSettings) PublicIPAddressDnsSettings {
- if v != nil {
- return *v
- }
- var ret PublicIPAddressDnsSettings
- return ret
- }).(PublicIPAddressDnsSettingsOutput)
+func (o RouteFilterRuleTypeArrayOutput) Index(i pulumi.IntInput) RouteFilterRuleTypeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteFilterRuleType {
+ return vs[0].([]RouteFilterRuleType)[vs[1].(int)]
+ }).(RouteFilterRuleTypeOutput)
}
-// The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
-func (o PublicIPAddressDnsSettingsPtrOutput) DomainNameLabel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressDnsSettings) *string {
- if v == nil {
- return nil
- }
- return v.DomainNameLabel
- }).(pulumi.StringPtrOutput)
+// Route Filter Rule Resource.
+type RouteFilterRuleResponse struct {
+ // The access type of the rule.
+ Access string `pulumi:"access"`
+ // The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
+ Communities []string `pulumi:"communities"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the route filter rule resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The rule type of the rule.
+ RouteFilterRuleType string `pulumi:"routeFilterRuleType"`
}
-// The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
-func (o PublicIPAddressDnsSettingsPtrOutput) DomainNameLabelScope() PublicIpAddressDnsSettingsDomainNameLabelScopePtrOutput {
- return o.ApplyT(func(v *PublicIPAddressDnsSettings) *PublicIpAddressDnsSettingsDomainNameLabelScope {
- if v == nil {
- return nil
- }
- return v.DomainNameLabelScope
- }).(PublicIpAddressDnsSettingsDomainNameLabelScopePtrOutput)
-}
+// Route Filter Rule Resource.
+type RouteFilterRuleResponseOutput struct{ *pulumi.OutputState }
-// The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
-func (o PublicIPAddressDnsSettingsPtrOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressDnsSettings) *string {
- if v == nil {
- return nil
- }
- return v.Fqdn
- }).(pulumi.StringPtrOutput)
+func (RouteFilterRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteFilterRuleResponse)(nil)).Elem()
}
-// The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
-func (o PublicIPAddressDnsSettingsPtrOutput) ReverseFqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressDnsSettings) *string {
- if v == nil {
- return nil
- }
- return v.ReverseFqdn
- }).(pulumi.StringPtrOutput)
+func (o RouteFilterRuleResponseOutput) ToRouteFilterRuleResponseOutput() RouteFilterRuleResponseOutput {
+ return o
}
-// Contains FQDN of the DNS record associated with the public IP address.
-type PublicIPAddressDnsSettingsResponse struct {
- // The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
- DomainNameLabel *string `pulumi:"domainNameLabel"`
- // The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
- DomainNameLabelScope *string `pulumi:"domainNameLabelScope"`
- // The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
- Fqdn *string `pulumi:"fqdn"`
- // The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
- ReverseFqdn *string `pulumi:"reverseFqdn"`
+func (o RouteFilterRuleResponseOutput) ToRouteFilterRuleResponseOutputWithContext(ctx context.Context) RouteFilterRuleResponseOutput {
+ return o
}
-// Contains FQDN of the DNS record associated with the public IP address.
-type PublicIPAddressDnsSettingsResponseOutput struct{ *pulumi.OutputState }
+// The access type of the rule.
+func (o RouteFilterRuleResponseOutput) Access() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteFilterRuleResponse) string { return v.Access }).(pulumi.StringOutput)
+}
-func (PublicIPAddressDnsSettingsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PublicIPAddressDnsSettingsResponse)(nil)).Elem()
+// The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
+func (o RouteFilterRuleResponseOutput) Communities() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v RouteFilterRuleResponse) []string { return v.Communities }).(pulumi.StringArrayOutput)
}
-func (o PublicIPAddressDnsSettingsResponseOutput) ToPublicIPAddressDnsSettingsResponseOutput() PublicIPAddressDnsSettingsResponseOutput {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o RouteFilterRuleResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteFilterRuleResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (o PublicIPAddressDnsSettingsResponseOutput) ToPublicIPAddressDnsSettingsResponseOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsResponseOutput {
- return o
+// Resource ID.
+func (o RouteFilterRuleResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteFilterRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
-func (o PublicIPAddressDnsSettingsResponseOutput) DomainNameLabel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressDnsSettingsResponse) *string { return v.DomainNameLabel }).(pulumi.StringPtrOutput)
+// Resource location.
+func (o RouteFilterRuleResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteFilterRuleResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
-func (o PublicIPAddressDnsSettingsResponseOutput) DomainNameLabelScope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressDnsSettingsResponse) *string { return v.DomainNameLabelScope }).(pulumi.StringPtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o RouteFilterRuleResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteFilterRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
-func (o PublicIPAddressDnsSettingsResponseOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressDnsSettingsResponse) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
+// The provisioning state of the route filter rule resource.
+func (o RouteFilterRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteFilterRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
-func (o PublicIPAddressDnsSettingsResponseOutput) ReverseFqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressDnsSettingsResponse) *string { return v.ReverseFqdn }).(pulumi.StringPtrOutput)
+// The rule type of the rule.
+func (o RouteFilterRuleResponseOutput) RouteFilterRuleType() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteFilterRuleResponse) string { return v.RouteFilterRuleType }).(pulumi.StringOutput)
}
-type PublicIPAddressDnsSettingsResponsePtrOutput struct{ *pulumi.OutputState }
+type RouteFilterRuleResponseArrayOutput struct{ *pulumi.OutputState }
-func (PublicIPAddressDnsSettingsResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PublicIPAddressDnsSettingsResponse)(nil)).Elem()
+func (RouteFilterRuleResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RouteFilterRuleResponse)(nil)).Elem()
}
-func (o PublicIPAddressDnsSettingsResponsePtrOutput) ToPublicIPAddressDnsSettingsResponsePtrOutput() PublicIPAddressDnsSettingsResponsePtrOutput {
+func (o RouteFilterRuleResponseArrayOutput) ToRouteFilterRuleResponseArrayOutput() RouteFilterRuleResponseArrayOutput {
return o
}
-func (o PublicIPAddressDnsSettingsResponsePtrOutput) ToPublicIPAddressDnsSettingsResponsePtrOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsResponsePtrOutput {
+func (o RouteFilterRuleResponseArrayOutput) ToRouteFilterRuleResponseArrayOutputWithContext(ctx context.Context) RouteFilterRuleResponseArrayOutput {
return o
}
-func (o PublicIPAddressDnsSettingsResponsePtrOutput) Elem() PublicIPAddressDnsSettingsResponseOutput {
- return o.ApplyT(func(v *PublicIPAddressDnsSettingsResponse) PublicIPAddressDnsSettingsResponse {
- if v != nil {
- return *v
- }
- var ret PublicIPAddressDnsSettingsResponse
- return ret
- }).(PublicIPAddressDnsSettingsResponseOutput)
+func (o RouteFilterRuleResponseArrayOutput) Index(i pulumi.IntInput) RouteFilterRuleResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteFilterRuleResponse {
+ return vs[0].([]RouteFilterRuleResponse)[vs[1].(int)]
+ }).(RouteFilterRuleResponseOutput)
}
-// The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
-func (o PublicIPAddressDnsSettingsResponsePtrOutput) DomainNameLabel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressDnsSettingsResponse) *string {
- if v == nil {
- return nil
- }
- return v.DomainNameLabel
- }).(pulumi.StringPtrOutput)
+// Route resource
+type RouteInterfaceEndpointResponse struct {
+ // The destination CIDR to which the route applies.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
+ NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
+ // The type of Azure hop the packet should be sent to.
+ NextHopType string `pulumi:"nextHopType"`
+ // The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState *string `pulumi:"provisioningState"`
}
-// The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.
-func (o PublicIPAddressDnsSettingsResponsePtrOutput) DomainNameLabelScope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressDnsSettingsResponse) *string {
- if v == nil {
- return nil
- }
- return v.DomainNameLabelScope
- }).(pulumi.StringPtrOutput)
-}
+// Route resource
+type RouteInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
-// The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
-func (o PublicIPAddressDnsSettingsResponsePtrOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressDnsSettingsResponse) *string {
- if v == nil {
- return nil
- }
- return v.Fqdn
- }).(pulumi.StringPtrOutput)
+func (RouteInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteInterfaceEndpointResponse)(nil)).Elem()
}
-// The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
-func (o PublicIPAddressDnsSettingsResponsePtrOutput) ReverseFqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressDnsSettingsResponse) *string {
- if v == nil {
- return nil
- }
- return v.ReverseFqdn
- }).(pulumi.StringPtrOutput)
+func (o RouteInterfaceEndpointResponseOutput) ToRouteInterfaceEndpointResponseOutput() RouteInterfaceEndpointResponseOutput {
+ return o
}
-// Contains FQDN of the DNS record associated with the public IP address
-type PublicIPAddressDnsSettingsResponseV1 struct {
- // Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
- DomainNameLabel *string `pulumi:"domainNameLabel"`
- // Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
- Fqdn *string `pulumi:"fqdn"`
- // Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
- ReverseFqdn *string `pulumi:"reverseFqdn"`
+func (o RouteInterfaceEndpointResponseOutput) ToRouteInterfaceEndpointResponseOutputWithContext(ctx context.Context) RouteInterfaceEndpointResponseOutput {
+ return o
}
-// Contains FQDN of the DNS record associated with the public IP address
-type PublicIPAddressDnsSettingsResponseV1Output struct{ *pulumi.OutputState }
+// The destination CIDR to which the route applies.
+func (o RouteInterfaceEndpointResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteInterfaceEndpointResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
+}
-func (PublicIPAddressDnsSettingsResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PublicIPAddressDnsSettingsResponseV1)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o RouteInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-func (o PublicIPAddressDnsSettingsResponseV1Output) ToPublicIPAddressDnsSettingsResponseV1Output() PublicIPAddressDnsSettingsResponseV1Output {
- return o
+// Resource ID.
+func (o RouteInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o PublicIPAddressDnsSettingsResponseV1Output) ToPublicIPAddressDnsSettingsResponseV1OutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsResponseV1Output {
- return o
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o RouteInterfaceEndpointResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteInterfaceEndpointResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
-func (o PublicIPAddressDnsSettingsResponseV1Output) DomainNameLabel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressDnsSettingsResponseV1) *string { return v.DomainNameLabel }).(pulumi.StringPtrOutput)
+// The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
+func (o RouteInterfaceEndpointResponseOutput) NextHopIpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteInterfaceEndpointResponse) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
}
-// Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
-func (o PublicIPAddressDnsSettingsResponseV1Output) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressDnsSettingsResponseV1) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
+// The type of Azure hop the packet should be sent to.
+func (o RouteInterfaceEndpointResponseOutput) NextHopType() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteInterfaceEndpointResponse) string { return v.NextHopType }).(pulumi.StringOutput)
}
-// Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
-func (o PublicIPAddressDnsSettingsResponseV1Output) ReverseFqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressDnsSettingsResponseV1) *string { return v.ReverseFqdn }).(pulumi.StringPtrOutput)
+// The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o RouteInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteInterfaceEndpointResponse) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-type PublicIPAddressDnsSettingsResponseV1PtrOutput struct{ *pulumi.OutputState }
+type RouteInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
-func (PublicIPAddressDnsSettingsResponseV1PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PublicIPAddressDnsSettingsResponseV1)(nil)).Elem()
+func (RouteInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RouteInterfaceEndpointResponse)(nil)).Elem()
}
-func (o PublicIPAddressDnsSettingsResponseV1PtrOutput) ToPublicIPAddressDnsSettingsResponseV1PtrOutput() PublicIPAddressDnsSettingsResponseV1PtrOutput {
+func (o RouteInterfaceEndpointResponseArrayOutput) ToRouteInterfaceEndpointResponseArrayOutput() RouteInterfaceEndpointResponseArrayOutput {
return o
}
-func (o PublicIPAddressDnsSettingsResponseV1PtrOutput) ToPublicIPAddressDnsSettingsResponseV1PtrOutputWithContext(ctx context.Context) PublicIPAddressDnsSettingsResponseV1PtrOutput {
+func (o RouteInterfaceEndpointResponseArrayOutput) ToRouteInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) RouteInterfaceEndpointResponseArrayOutput {
return o
}
-func (o PublicIPAddressDnsSettingsResponseV1PtrOutput) Elem() PublicIPAddressDnsSettingsResponseV1Output {
- return o.ApplyT(func(v *PublicIPAddressDnsSettingsResponseV1) PublicIPAddressDnsSettingsResponseV1 {
- if v != nil {
- return *v
- }
- var ret PublicIPAddressDnsSettingsResponseV1
- return ret
- }).(PublicIPAddressDnsSettingsResponseV1Output)
+func (o RouteInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) RouteInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteInterfaceEndpointResponse {
+ return vs[0].([]RouteInterfaceEndpointResponse)[vs[1].(int)]
+ }).(RouteInterfaceEndpointResponseOutput)
}
-// Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
-func (o PublicIPAddressDnsSettingsResponseV1PtrOutput) DomainNameLabel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressDnsSettingsResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.DomainNameLabel
- }).(pulumi.StringPtrOutput)
+// A RouteMap Rule.
+type RouteMapRule struct {
+ // List of actions which will be applied on a match.
+ Actions []Action `pulumi:"actions"`
+ // List of matching criterion which will be applied to traffic.
+ MatchCriteria []Criterion `pulumi:"matchCriteria"`
+ // The unique name for the rule.
+ Name *string `pulumi:"name"`
+ // Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
+ NextStepIfMatched *string `pulumi:"nextStepIfMatched"`
}
-// Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
-func (o PublicIPAddressDnsSettingsResponseV1PtrOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressDnsSettingsResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.Fqdn
- }).(pulumi.StringPtrOutput)
-}
+// RouteMapRuleInput is an input type that accepts RouteMapRuleArgs and RouteMapRuleOutput values.
+// You can construct a concrete instance of `RouteMapRuleInput` via:
+//
+// RouteMapRuleArgs{...}
+type RouteMapRuleInput interface {
+ pulumi.Input
-// Gets or Sets the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
-func (o PublicIPAddressDnsSettingsResponseV1PtrOutput) ReverseFqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressDnsSettingsResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.ReverseFqdn
- }).(pulumi.StringPtrOutput)
+ ToRouteMapRuleOutput() RouteMapRuleOutput
+ ToRouteMapRuleOutputWithContext(context.Context) RouteMapRuleOutput
}
-// Public IP address resource.
-type PublicIPAddressResponse struct {
- // The DDoS protection custom policy associated with the public IP address.
- DdosSettings *DdosSettingsResponse `pulumi:"ddosSettings"`
- // Specify what happens to the public IP address when the VM using it is deleted
- DeleteOption *string `pulumi:"deleteOption"`
- // The FQDN of the DNS record associated with the public IP address.
- DnsSettings *PublicIPAddressDnsSettingsResponse `pulumi:"dnsSettings"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The extended location of the public ip address.
- ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The idle timeout of the public IP address.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
- // The IP address associated with the public IP address resource.
- IpAddress *string `pulumi:"ipAddress"`
- // The IP configuration associated with the public IP address.
- IpConfiguration IPConfigurationResponse `pulumi:"ipConfiguration"`
- // The list of tags associated with the public IP address.
- IpTags []IpTagResponse `pulumi:"ipTags"`
- // The linked public IP address of the public IP address resource.
- LinkedPublicIPAddress *PublicIPAddressResponse `pulumi:"linkedPublicIPAddress"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Migration phase of Public IP Address.
- MigrationPhase *string `pulumi:"migrationPhase"`
- // Resource name.
- Name string `pulumi:"name"`
- // The NatGateway for the Public IP address.
- NatGateway *NatGatewayResponse `pulumi:"natGateway"`
- // The provisioning state of the public IP address resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The public IP address version.
- PublicIPAddressVersion *string `pulumi:"publicIPAddressVersion"`
- // The public IP address allocation method.
- PublicIPAllocationMethod *string `pulumi:"publicIPAllocationMethod"`
- // The Public IP Prefix this Public IP Address should be allocated from.
- PublicIPPrefix *SubResourceResponse `pulumi:"publicIPPrefix"`
- // The resource GUID property of the public IP address resource.
- ResourceGuid string `pulumi:"resourceGuid"`
- // The service public IP address of the public IP address resource.
- ServicePublicIPAddress *PublicIPAddressResponse `pulumi:"servicePublicIPAddress"`
- // The public IP address SKU.
- Sku *PublicIPAddressSkuResponse `pulumi:"sku"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
- // A list of availability zones denoting the IP allocated for the resource needs to come from.
- Zones []string `pulumi:"zones"`
+// A RouteMap Rule.
+type RouteMapRuleArgs struct {
+ // List of actions which will be applied on a match.
+ Actions ActionArrayInput `pulumi:"actions"`
+ // List of matching criterion which will be applied to traffic.
+ MatchCriteria CriterionArrayInput `pulumi:"matchCriteria"`
+ // The unique name for the rule.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
+ NextStepIfMatched pulumi.StringPtrInput `pulumi:"nextStepIfMatched"`
}
-// Defaults sets the appropriate defaults for PublicIPAddressResponse
-func (val *PublicIPAddressResponse) Defaults() *PublicIPAddressResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.IpConfiguration = *tmp.IpConfiguration.Defaults()
-
- tmp.LinkedPublicIPAddress = tmp.LinkedPublicIPAddress.Defaults()
-
- tmp.ServicePublicIPAddress = tmp.ServicePublicIPAddress.Defaults()
-
- return &tmp
+func (RouteMapRuleArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteMapRule)(nil)).Elem()
}
-// Public IP address resource.
-type PublicIPAddressResponseOutput struct{ *pulumi.OutputState }
-
-func (PublicIPAddressResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PublicIPAddressResponse)(nil)).Elem()
+func (i RouteMapRuleArgs) ToRouteMapRuleOutput() RouteMapRuleOutput {
+ return i.ToRouteMapRuleOutputWithContext(context.Background())
}
-func (o PublicIPAddressResponseOutput) ToPublicIPAddressResponseOutput() PublicIPAddressResponseOutput {
- return o
+func (i RouteMapRuleArgs) ToRouteMapRuleOutputWithContext(ctx context.Context) RouteMapRuleOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RouteMapRuleOutput)
}
-func (o PublicIPAddressResponseOutput) ToPublicIPAddressResponseOutputWithContext(ctx context.Context) PublicIPAddressResponseOutput {
- return o
-}
+// RouteMapRuleArrayInput is an input type that accepts RouteMapRuleArray and RouteMapRuleArrayOutput values.
+// You can construct a concrete instance of `RouteMapRuleArrayInput` via:
+//
+// RouteMapRuleArray{ RouteMapRuleArgs{...} }
+type RouteMapRuleArrayInput interface {
+ pulumi.Input
-// The DDoS protection custom policy associated with the public IP address.
-func (o PublicIPAddressResponseOutput) DdosSettings() DdosSettingsResponsePtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) *DdosSettingsResponse { return v.DdosSettings }).(DdosSettingsResponsePtrOutput)
+ ToRouteMapRuleArrayOutput() RouteMapRuleArrayOutput
+ ToRouteMapRuleArrayOutputWithContext(context.Context) RouteMapRuleArrayOutput
}
-// Specify what happens to the public IP address when the VM using it is deleted
-func (o PublicIPAddressResponseOutput) DeleteOption() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) *string { return v.DeleteOption }).(pulumi.StringPtrOutput)
-}
+type RouteMapRuleArray []RouteMapRuleInput
-// The FQDN of the DNS record associated with the public IP address.
-func (o PublicIPAddressResponseOutput) DnsSettings() PublicIPAddressDnsSettingsResponsePtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) *PublicIPAddressDnsSettingsResponse { return v.DnsSettings }).(PublicIPAddressDnsSettingsResponsePtrOutput)
+func (RouteMapRuleArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RouteMapRule)(nil)).Elem()
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o PublicIPAddressResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (i RouteMapRuleArray) ToRouteMapRuleArrayOutput() RouteMapRuleArrayOutput {
+ return i.ToRouteMapRuleArrayOutputWithContext(context.Background())
}
-// The extended location of the public ip address.
-func (o PublicIPAddressResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
+func (i RouteMapRuleArray) ToRouteMapRuleArrayOutputWithContext(ctx context.Context) RouteMapRuleArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RouteMapRuleArrayOutput)
}
-// Resource ID.
-func (o PublicIPAddressResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
+// A RouteMap Rule.
+type RouteMapRuleOutput struct{ *pulumi.OutputState }
-// The idle timeout of the public IP address.
-func (o PublicIPAddressResponseOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
+func (RouteMapRuleOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteMapRule)(nil)).Elem()
}
-// The IP address associated with the public IP address resource.
-func (o PublicIPAddressResponseOutput) IpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
+func (o RouteMapRuleOutput) ToRouteMapRuleOutput() RouteMapRuleOutput {
+ return o
}
-// The IP configuration associated with the public IP address.
-func (o PublicIPAddressResponseOutput) IpConfiguration() IPConfigurationResponseOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) IPConfigurationResponse { return v.IpConfiguration }).(IPConfigurationResponseOutput)
+func (o RouteMapRuleOutput) ToRouteMapRuleOutputWithContext(ctx context.Context) RouteMapRuleOutput {
+ return o
}
-// The list of tags associated with the public IP address.
-func (o PublicIPAddressResponseOutput) IpTags() IpTagResponseArrayOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) []IpTagResponse { return v.IpTags }).(IpTagResponseArrayOutput)
+// List of actions which will be applied on a match.
+func (o RouteMapRuleOutput) Actions() ActionArrayOutput {
+ return o.ApplyT(func(v RouteMapRule) []Action { return v.Actions }).(ActionArrayOutput)
}
-// The linked public IP address of the public IP address resource.
-func (o PublicIPAddressResponseOutput) LinkedPublicIPAddress() PublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) *PublicIPAddressResponse { return v.LinkedPublicIPAddress }).(PublicIPAddressResponsePtrOutput)
+// List of matching criterion which will be applied to traffic.
+func (o RouteMapRuleOutput) MatchCriteria() CriterionArrayOutput {
+ return o.ApplyT(func(v RouteMapRule) []Criterion { return v.MatchCriteria }).(CriterionArrayOutput)
}
-// Resource location.
-func (o PublicIPAddressResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+// The unique name for the rule.
+func (o RouteMapRuleOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteMapRule) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Migration phase of Public IP Address.
-func (o PublicIPAddressResponseOutput) MigrationPhase() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) *string { return v.MigrationPhase }).(pulumi.StringPtrOutput)
+// Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
+func (o RouteMapRuleOutput) NextStepIfMatched() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteMapRule) *string { return v.NextStepIfMatched }).(pulumi.StringPtrOutput)
}
-// Resource name.
-func (o PublicIPAddressResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) string { return v.Name }).(pulumi.StringOutput)
+type RouteMapRuleArrayOutput struct{ *pulumi.OutputState }
+
+func (RouteMapRuleArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RouteMapRule)(nil)).Elem()
}
-// The NatGateway for the Public IP address.
-func (o PublicIPAddressResponseOutput) NatGateway() NatGatewayResponsePtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) *NatGatewayResponse { return v.NatGateway }).(NatGatewayResponsePtrOutput)
+func (o RouteMapRuleArrayOutput) ToRouteMapRuleArrayOutput() RouteMapRuleArrayOutput {
+ return o
}
-// The provisioning state of the public IP address resource.
-func (o PublicIPAddressResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o RouteMapRuleArrayOutput) ToRouteMapRuleArrayOutputWithContext(ctx context.Context) RouteMapRuleArrayOutput {
+ return o
}
-// The public IP address version.
-func (o PublicIPAddressResponseOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) *string { return v.PublicIPAddressVersion }).(pulumi.StringPtrOutput)
+func (o RouteMapRuleArrayOutput) Index(i pulumi.IntInput) RouteMapRuleOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteMapRule {
+ return vs[0].([]RouteMapRule)[vs[1].(int)]
+ }).(RouteMapRuleOutput)
}
-// The public IP address allocation method.
-func (o PublicIPAddressResponseOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) *string { return v.PublicIPAllocationMethod }).(pulumi.StringPtrOutput)
+// A RouteMap Rule.
+type RouteMapRuleResponse struct {
+ // List of actions which will be applied on a match.
+ Actions []ActionResponse `pulumi:"actions"`
+ // List of matching criterion which will be applied to traffic.
+ MatchCriteria []CriterionResponse `pulumi:"matchCriteria"`
+ // The unique name for the rule.
+ Name *string `pulumi:"name"`
+ // Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
+ NextStepIfMatched *string `pulumi:"nextStepIfMatched"`
}
-// The Public IP Prefix this Public IP Address should be allocated from.
-func (o PublicIPAddressResponseOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) *SubResourceResponse { return v.PublicIPPrefix }).(SubResourceResponsePtrOutput)
+// A RouteMap Rule.
+type RouteMapRuleResponseOutput struct{ *pulumi.OutputState }
+
+func (RouteMapRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteMapRuleResponse)(nil)).Elem()
}
-// The resource GUID property of the public IP address resource.
-func (o PublicIPAddressResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+func (o RouteMapRuleResponseOutput) ToRouteMapRuleResponseOutput() RouteMapRuleResponseOutput {
+ return o
}
-// The service public IP address of the public IP address resource.
-func (o PublicIPAddressResponseOutput) ServicePublicIPAddress() PublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) *PublicIPAddressResponse { return v.ServicePublicIPAddress }).(PublicIPAddressResponsePtrOutput)
+func (o RouteMapRuleResponseOutput) ToRouteMapRuleResponseOutputWithContext(ctx context.Context) RouteMapRuleResponseOutput {
+ return o
}
-// The public IP address SKU.
-func (o PublicIPAddressResponseOutput) Sku() PublicIPAddressSkuResponsePtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) *PublicIPAddressSkuResponse { return v.Sku }).(PublicIPAddressSkuResponsePtrOutput)
+// List of actions which will be applied on a match.
+func (o RouteMapRuleResponseOutput) Actions() ActionResponseArrayOutput {
+ return o.ApplyT(func(v RouteMapRuleResponse) []ActionResponse { return v.Actions }).(ActionResponseArrayOutput)
}
-// Resource tags.
-func (o PublicIPAddressResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// List of matching criterion which will be applied to traffic.
+func (o RouteMapRuleResponseOutput) MatchCriteria() CriterionResponseArrayOutput {
+ return o.ApplyT(func(v RouteMapRuleResponse) []CriterionResponse { return v.MatchCriteria }).(CriterionResponseArrayOutput)
}
-// Resource type.
-func (o PublicIPAddressResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) string { return v.Type }).(pulumi.StringOutput)
+// The unique name for the rule.
+func (o RouteMapRuleResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteMapRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// A list of availability zones denoting the IP allocated for the resource needs to come from.
-func (o PublicIPAddressResponseOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PublicIPAddressResponse) []string { return v.Zones }).(pulumi.StringArrayOutput)
+// Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
+func (o RouteMapRuleResponseOutput) NextStepIfMatched() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteMapRuleResponse) *string { return v.NextStepIfMatched }).(pulumi.StringPtrOutput)
}
-type PublicIPAddressResponsePtrOutput struct{ *pulumi.OutputState }
+type RouteMapRuleResponseArrayOutput struct{ *pulumi.OutputState }
-func (PublicIPAddressResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PublicIPAddressResponse)(nil)).Elem()
+func (RouteMapRuleResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RouteMapRuleResponse)(nil)).Elem()
}
-func (o PublicIPAddressResponsePtrOutput) ToPublicIPAddressResponsePtrOutput() PublicIPAddressResponsePtrOutput {
+func (o RouteMapRuleResponseArrayOutput) ToRouteMapRuleResponseArrayOutput() RouteMapRuleResponseArrayOutput {
return o
}
-func (o PublicIPAddressResponsePtrOutput) ToPublicIPAddressResponsePtrOutputWithContext(ctx context.Context) PublicIPAddressResponsePtrOutput {
+func (o RouteMapRuleResponseArrayOutput) ToRouteMapRuleResponseArrayOutputWithContext(ctx context.Context) RouteMapRuleResponseArrayOutput {
return o
}
-func (o PublicIPAddressResponsePtrOutput) Elem() PublicIPAddressResponseOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) PublicIPAddressResponse {
- if v != nil {
- return *v
- }
- var ret PublicIPAddressResponse
- return ret
- }).(PublicIPAddressResponseOutput)
-}
-
-// The DDoS protection custom policy associated with the public IP address.
-func (o PublicIPAddressResponsePtrOutput) DdosSettings() DdosSettingsResponsePtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *DdosSettingsResponse {
- if v == nil {
- return nil
- }
- return v.DdosSettings
- }).(DdosSettingsResponsePtrOutput)
-}
-
-// Specify what happens to the public IP address when the VM using it is deleted
-func (o PublicIPAddressResponsePtrOutput) DeleteOption() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return v.DeleteOption
- }).(pulumi.StringPtrOutput)
-}
-
-// The FQDN of the DNS record associated with the public IP address.
-func (o PublicIPAddressResponsePtrOutput) DnsSettings() PublicIPAddressDnsSettingsResponsePtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *PublicIPAddressDnsSettingsResponse {
- if v == nil {
- return nil
- }
- return v.DnsSettings
- }).(PublicIPAddressDnsSettingsResponsePtrOutput)
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o PublicIPAddressResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Etag
- }).(pulumi.StringPtrOutput)
-}
-
-// The extended location of the public ip address.
-func (o PublicIPAddressResponsePtrOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *ExtendedLocationResponse {
- if v == nil {
- return nil
- }
- return v.ExtendedLocation
- }).(ExtendedLocationResponsePtrOutput)
-}
-
-// Resource ID.
-func (o PublicIPAddressResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
-}
-
-// The idle timeout of the public IP address.
-func (o PublicIPAddressResponsePtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *int {
- if v == nil {
- return nil
- }
- return v.IdleTimeoutInMinutes
- }).(pulumi.IntPtrOutput)
-}
-
-// The IP address associated with the public IP address resource.
-func (o PublicIPAddressResponsePtrOutput) IpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return v.IpAddress
- }).(pulumi.StringPtrOutput)
-}
-
-// The IP configuration associated with the public IP address.
-func (o PublicIPAddressResponsePtrOutput) IpConfiguration() IPConfigurationResponsePtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *IPConfigurationResponse {
- if v == nil {
- return nil
- }
- return &v.IpConfiguration
- }).(IPConfigurationResponsePtrOutput)
-}
-
-// The list of tags associated with the public IP address.
-func (o PublicIPAddressResponsePtrOutput) IpTags() IpTagResponseArrayOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) []IpTagResponse {
- if v == nil {
- return nil
- }
- return v.IpTags
- }).(IpTagResponseArrayOutput)
-}
-
-// The linked public IP address of the public IP address resource.
-func (o PublicIPAddressResponsePtrOutput) LinkedPublicIPAddress() PublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *PublicIPAddressResponse {
- if v == nil {
- return nil
- }
- return v.LinkedPublicIPAddress
- }).(PublicIPAddressResponsePtrOutput)
-}
-
-// Resource location.
-func (o PublicIPAddressResponsePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
-}
-
-// Migration phase of Public IP Address.
-func (o PublicIPAddressResponsePtrOutput) MigrationPhase() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return v.MigrationPhase
- }).(pulumi.StringPtrOutput)
-}
-
-// Resource name.
-func (o PublicIPAddressResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Name
- }).(pulumi.StringPtrOutput)
-}
-
-// The NatGateway for the Public IP address.
-func (o PublicIPAddressResponsePtrOutput) NatGateway() NatGatewayResponsePtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *NatGatewayResponse {
- if v == nil {
- return nil
- }
- return v.NatGateway
- }).(NatGatewayResponsePtrOutput)
-}
-
-// The provisioning state of the public IP address resource.
-func (o PublicIPAddressResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ProvisioningState
- }).(pulumi.StringPtrOutput)
-}
-
-// The public IP address version.
-func (o PublicIPAddressResponsePtrOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return v.PublicIPAddressVersion
- }).(pulumi.StringPtrOutput)
-}
-
-// The public IP address allocation method.
-func (o PublicIPAddressResponsePtrOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return v.PublicIPAllocationMethod
- }).(pulumi.StringPtrOutput)
-}
-
-// The Public IP Prefix this Public IP Address should be allocated from.
-func (o PublicIPAddressResponsePtrOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.PublicIPPrefix
- }).(SubResourceResponsePtrOutput)
-}
-
-// The resource GUID property of the public IP address resource.
-func (o PublicIPAddressResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ResourceGuid
- }).(pulumi.StringPtrOutput)
-}
-
-// The service public IP address of the public IP address resource.
-func (o PublicIPAddressResponsePtrOutput) ServicePublicIPAddress() PublicIPAddressResponsePtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *PublicIPAddressResponse {
- if v == nil {
- return nil
- }
- return v.ServicePublicIPAddress
- }).(PublicIPAddressResponsePtrOutput)
-}
-
-// The public IP address SKU.
-func (o PublicIPAddressResponsePtrOutput) Sku() PublicIPAddressSkuResponsePtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *PublicIPAddressSkuResponse {
- if v == nil {
- return nil
- }
- return v.Sku
- }).(PublicIPAddressSkuResponsePtrOutput)
-}
-
-// Resource tags.
-func (o PublicIPAddressResponsePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) map[string]string {
- if v == nil {
- return nil
- }
- return v.Tags
- }).(pulumi.StringMapOutput)
-}
-
-// Resource type.
-func (o PublicIPAddressResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Type
- }).(pulumi.StringPtrOutput)
-}
-
-// A list of availability zones denoting the IP allocated for the resource needs to come from.
-func (o PublicIPAddressResponsePtrOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PublicIPAddressResponse) []string {
- if v == nil {
- return nil
- }
- return v.Zones
- }).(pulumi.StringArrayOutput)
+func (o RouteMapRuleResponseArrayOutput) Index(i pulumi.IntInput) RouteMapRuleResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteMapRuleResponse {
+ return vs[0].([]RouteMapRuleResponse)[vs[1].(int)]
+ }).(RouteMapRuleResponseOutput)
}
-// Public IP address resource.
-type PublicIPAddressResponseV1 struct {
- // The DDoS protection custom policy associated with the public IP address.
- DdosSettings *DdosSettingsResponseV1 `pulumi:"ddosSettings"`
- // The FQDN of the DNS record associated with the public IP address.
- DnsSettings *PublicIPAddressDnsSettingsResponseV1 `pulumi:"dnsSettings"`
+// Route resource.
+type RouteResponse struct {
+ // The destination CIDR to which the route applies.
+ AddressPrefix *string `pulumi:"addressPrefix"`
// A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
+ Etag string `pulumi:"etag"`
+ // A value indicating whether this route overrides overlapping BGP routes regardless of LPM.
+ HasBgpOverride bool `pulumi:"hasBgpOverride"`
// Resource ID.
Id *string `pulumi:"id"`
- // The idle timeout of the public IP address.
- IdleTimeoutInMinutes *int `pulumi:"idleTimeoutInMinutes"`
- // The IP address associated with the public IP address resource.
- IpAddress *string `pulumi:"ipAddress"`
- // The IP configuration associated with the public IP address.
- IpConfiguration IPConfigurationResponse `pulumi:"ipConfiguration"`
- // The list of tags associated with the public IP address.
- IpTags []IpTagResponse `pulumi:"ipTags"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // The provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState *string `pulumi:"provisioningState"`
- // The public IP address version.
- PublicIPAddressVersion *string `pulumi:"publicIPAddressVersion"`
- // The public IP address allocation method.
- PublicIPAllocationMethod *string `pulumi:"publicIPAllocationMethod"`
- // The Public IP Prefix this Public IP Address should be allocated from.
- PublicIPPrefix *SubResourceResponse `pulumi:"publicIPPrefix"`
- // The resource GUID property of the public IP resource.
- ResourceGuid *string `pulumi:"resourceGuid"`
- // The public IP address SKU.
- Sku *PublicIPAddressSkuResponseV1 `pulumi:"sku"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
- // A list of availability zones denoting the IP allocated for the resource needs to come from.
- Zones []string `pulumi:"zones"`
-}
-
-// Defaults sets the appropriate defaults for PublicIPAddressResponseV1
-func (val *PublicIPAddressResponseV1) Defaults() *PublicIPAddressResponseV1 {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.IpConfiguration = *tmp.IpConfiguration.Defaults()
-
- return &tmp
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
+ NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
+ // The type of Azure hop the packet should be sent to.
+ NextHopType string `pulumi:"nextHopType"`
+ // The provisioning state of the route resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The type of the resource.
+ Type *string `pulumi:"type"`
}
-// Public IP address resource.
-type PublicIPAddressResponseV1Output struct{ *pulumi.OutputState }
+// Route resource.
+type RouteResponseOutput struct{ *pulumi.OutputState }
-func (PublicIPAddressResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PublicIPAddressResponseV1)(nil)).Elem()
+func (RouteResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteResponse)(nil)).Elem()
}
-func (o PublicIPAddressResponseV1Output) ToPublicIPAddressResponseV1Output() PublicIPAddressResponseV1Output {
+func (o RouteResponseOutput) ToRouteResponseOutput() RouteResponseOutput {
return o
}
-func (o PublicIPAddressResponseV1Output) ToPublicIPAddressResponseV1OutputWithContext(ctx context.Context) PublicIPAddressResponseV1Output {
+func (o RouteResponseOutput) ToRouteResponseOutputWithContext(ctx context.Context) RouteResponseOutput {
return o
}
-// The DDoS protection custom policy associated with the public IP address.
-func (o PublicIPAddressResponseV1Output) DdosSettings() DdosSettingsResponseV1PtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) *DdosSettingsResponseV1 { return v.DdosSettings }).(DdosSettingsResponseV1PtrOutput)
-}
-
-// The FQDN of the DNS record associated with the public IP address.
-func (o PublicIPAddressResponseV1Output) DnsSettings() PublicIPAddressDnsSettingsResponseV1PtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) *PublicIPAddressDnsSettingsResponseV1 { return v.DnsSettings }).(PublicIPAddressDnsSettingsResponseV1PtrOutput)
+// The destination CIDR to which the route applies.
+func (o RouteResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o PublicIPAddressResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
-}
-
-// Resource ID.
-func (o PublicIPAddressResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// The idle timeout of the public IP address.
-func (o PublicIPAddressResponseV1Output) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) *int { return v.IdleTimeoutInMinutes }).(pulumi.IntPtrOutput)
-}
-
-// The IP address associated with the public IP address resource.
-func (o PublicIPAddressResponseV1Output) IpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) *string { return v.IpAddress }).(pulumi.StringPtrOutput)
-}
-
-// The IP configuration associated with the public IP address.
-func (o PublicIPAddressResponseV1Output) IpConfiguration() IPConfigurationResponseOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) IPConfigurationResponse { return v.IpConfiguration }).(IPConfigurationResponseOutput)
-}
-
-// The list of tags associated with the public IP address.
-func (o PublicIPAddressResponseV1Output) IpTags() IpTagResponseArrayOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) []IpTagResponse { return v.IpTags }).(IpTagResponseArrayOutput)
-}
-
-// Resource location.
-func (o PublicIPAddressResponseV1Output) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) *string { return v.Location }).(pulumi.StringPtrOutput)
-}
-
-// Resource name.
-func (o PublicIPAddressResponseV1Output) Name() pulumi.StringOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) string { return v.Name }).(pulumi.StringOutput)
-}
-
-// The provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o PublicIPAddressResponseV1Output) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
-}
-
-// The public IP address version.
-func (o PublicIPAddressResponseV1Output) PublicIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) *string { return v.PublicIPAddressVersion }).(pulumi.StringPtrOutput)
-}
-
-// The public IP address allocation method.
-func (o PublicIPAddressResponseV1Output) PublicIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) *string { return v.PublicIPAllocationMethod }).(pulumi.StringPtrOutput)
-}
-
-// The Public IP Prefix this Public IP Address should be allocated from.
-func (o PublicIPAddressResponseV1Output) PublicIPPrefix() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) *SubResourceResponse { return v.PublicIPPrefix }).(SubResourceResponsePtrOutput)
-}
-
-// The resource GUID property of the public IP resource.
-func (o PublicIPAddressResponseV1Output) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) *string { return v.ResourceGuid }).(pulumi.StringPtrOutput)
-}
-
-// The public IP address SKU.
-func (o PublicIPAddressResponseV1Output) Sku() PublicIPAddressSkuResponseV1PtrOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) *PublicIPAddressSkuResponseV1 { return v.Sku }).(PublicIPAddressSkuResponseV1PtrOutput)
-}
-
-// Resource tags.
-func (o PublicIPAddressResponseV1Output) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
-}
-
-// Resource type.
-func (o PublicIPAddressResponseV1Output) Type() pulumi.StringOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) string { return v.Type }).(pulumi.StringOutput)
-}
-
-// A list of availability zones denoting the IP allocated for the resource needs to come from.
-func (o PublicIPAddressResponseV1Output) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v PublicIPAddressResponseV1) []string { return v.Zones }).(pulumi.StringArrayOutput)
-}
-
-type PublicIPAddressResponseV1PtrOutput struct{ *pulumi.OutputState }
-
-func (PublicIPAddressResponseV1PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PublicIPAddressResponseV1)(nil)).Elem()
-}
-
-func (o PublicIPAddressResponseV1PtrOutput) ToPublicIPAddressResponseV1PtrOutput() PublicIPAddressResponseV1PtrOutput {
- return o
-}
-
-func (o PublicIPAddressResponseV1PtrOutput) ToPublicIPAddressResponseV1PtrOutputWithContext(ctx context.Context) PublicIPAddressResponseV1PtrOutput {
- return o
-}
-
-func (o PublicIPAddressResponseV1PtrOutput) Elem() PublicIPAddressResponseV1Output {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) PublicIPAddressResponseV1 {
- if v != nil {
- return *v
- }
- var ret PublicIPAddressResponseV1
- return ret
- }).(PublicIPAddressResponseV1Output)
-}
-
-// The DDoS protection custom policy associated with the public IP address.
-func (o PublicIPAddressResponseV1PtrOutput) DdosSettings() DdosSettingsResponseV1PtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) *DdosSettingsResponseV1 {
- if v == nil {
- return nil
- }
- return v.DdosSettings
- }).(DdosSettingsResponseV1PtrOutput)
-}
-
-// The FQDN of the DNS record associated with the public IP address.
-func (o PublicIPAddressResponseV1PtrOutput) DnsSettings() PublicIPAddressDnsSettingsResponseV1PtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) *PublicIPAddressDnsSettingsResponseV1 {
- if v == nil {
- return nil
- }
- return v.DnsSettings
- }).(PublicIPAddressDnsSettingsResponseV1PtrOutput)
+func (o RouteResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o PublicIPAddressResponseV1PtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.Etag
- }).(pulumi.StringPtrOutput)
+// A value indicating whether this route overrides overlapping BGP routes regardless of LPM.
+func (o RouteResponseOutput) HasBgpOverride() pulumi.BoolOutput {
+ return o.ApplyT(func(v RouteResponse) bool { return v.HasBgpOverride }).(pulumi.BoolOutput)
}
// Resource ID.
-func (o PublicIPAddressResponseV1PtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
-}
-
-// The idle timeout of the public IP address.
-func (o PublicIPAddressResponseV1PtrOutput) IdleTimeoutInMinutes() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) *int {
- if v == nil {
- return nil
- }
- return v.IdleTimeoutInMinutes
- }).(pulumi.IntPtrOutput)
-}
-
-// The IP address associated with the public IP address resource.
-func (o PublicIPAddressResponseV1PtrOutput) IpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.IpAddress
- }).(pulumi.StringPtrOutput)
-}
-
-// The IP configuration associated with the public IP address.
-func (o PublicIPAddressResponseV1PtrOutput) IpConfiguration() IPConfigurationResponsePtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) *IPConfigurationResponse {
- if v == nil {
- return nil
- }
- return &v.IpConfiguration
- }).(IPConfigurationResponsePtrOutput)
-}
-
-// The list of tags associated with the public IP address.
-func (o PublicIPAddressResponseV1PtrOutput) IpTags() IpTagResponseArrayOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) []IpTagResponse {
- if v == nil {
- return nil
- }
- return v.IpTags
- }).(IpTagResponseArrayOutput)
-}
-
-// Resource location.
-func (o PublicIPAddressResponseV1PtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
-}
-
-// Resource name.
-func (o PublicIPAddressResponseV1PtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
- if v == nil {
- return nil
- }
- return &v.Name
- }).(pulumi.StringPtrOutput)
-}
-
-// The provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o PublicIPAddressResponseV1PtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.ProvisioningState
- }).(pulumi.StringPtrOutput)
-}
-
-// The public IP address version.
-func (o PublicIPAddressResponseV1PtrOutput) PublicIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.PublicIPAddressVersion
- }).(pulumi.StringPtrOutput)
-}
-
-// The public IP address allocation method.
-func (o PublicIPAddressResponseV1PtrOutput) PublicIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.PublicIPAllocationMethod
- }).(pulumi.StringPtrOutput)
-}
-
-// The Public IP Prefix this Public IP Address should be allocated from.
-func (o PublicIPAddressResponseV1PtrOutput) PublicIPPrefix() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.PublicIPPrefix
- }).(SubResourceResponsePtrOutput)
-}
-
-// The resource GUID property of the public IP resource.
-func (o PublicIPAddressResponseV1PtrOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.ResourceGuid
- }).(pulumi.StringPtrOutput)
-}
-
-// The public IP address SKU.
-func (o PublicIPAddressResponseV1PtrOutput) Sku() PublicIPAddressSkuResponseV1PtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) *PublicIPAddressSkuResponseV1 {
- if v == nil {
- return nil
- }
- return v.Sku
- }).(PublicIPAddressSkuResponseV1PtrOutput)
-}
-
-// Resource tags.
-func (o PublicIPAddressResponseV1PtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) map[string]string {
- if v == nil {
- return nil
- }
- return v.Tags
- }).(pulumi.StringMapOutput)
-}
-
-// Resource type.
-func (o PublicIPAddressResponseV1PtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) *string {
- if v == nil {
- return nil
- }
- return &v.Type
- }).(pulumi.StringPtrOutput)
-}
-
-// A list of availability zones denoting the IP allocated for the resource needs to come from.
-func (o PublicIPAddressResponseV1PtrOutput) Zones() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *PublicIPAddressResponseV1) []string {
- if v == nil {
- return nil
- }
- return v.Zones
- }).(pulumi.StringArrayOutput)
-}
-
-// SKU of a public IP address.
-type PublicIPAddressSku struct {
- // Name of a public IP address SKU.
- Name *string `pulumi:"name"`
- // Tier of a public IP address SKU.
- Tier *string `pulumi:"tier"`
-}
-
-// PublicIPAddressSkuInput is an input type that accepts PublicIPAddressSkuArgs and PublicIPAddressSkuOutput values.
-// You can construct a concrete instance of `PublicIPAddressSkuInput` via:
-//
-// PublicIPAddressSkuArgs{...}
-type PublicIPAddressSkuInput interface {
- pulumi.Input
-
- ToPublicIPAddressSkuOutput() PublicIPAddressSkuOutput
- ToPublicIPAddressSkuOutputWithContext(context.Context) PublicIPAddressSkuOutput
-}
-
-// SKU of a public IP address.
-type PublicIPAddressSkuArgs struct {
- // Name of a public IP address SKU.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Tier of a public IP address SKU.
- Tier pulumi.StringPtrInput `pulumi:"tier"`
-}
-
-func (PublicIPAddressSkuArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PublicIPAddressSku)(nil)).Elem()
-}
-
-func (i PublicIPAddressSkuArgs) ToPublicIPAddressSkuOutput() PublicIPAddressSkuOutput {
- return i.ToPublicIPAddressSkuOutputWithContext(context.Background())
-}
-
-func (i PublicIPAddressSkuArgs) ToPublicIPAddressSkuOutputWithContext(ctx context.Context) PublicIPAddressSkuOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressSkuOutput)
-}
-
-func (i PublicIPAddressSkuArgs) ToPublicIPAddressSkuPtrOutput() PublicIPAddressSkuPtrOutput {
- return i.ToPublicIPAddressSkuPtrOutputWithContext(context.Background())
-}
-
-func (i PublicIPAddressSkuArgs) ToPublicIPAddressSkuPtrOutputWithContext(ctx context.Context) PublicIPAddressSkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressSkuOutput).ToPublicIPAddressSkuPtrOutputWithContext(ctx)
-}
-
-// PublicIPAddressSkuPtrInput is an input type that accepts PublicIPAddressSkuArgs, PublicIPAddressSkuPtr and PublicIPAddressSkuPtrOutput values.
-// You can construct a concrete instance of `PublicIPAddressSkuPtrInput` via:
-//
-// PublicIPAddressSkuArgs{...}
-//
-// or:
-//
-// nil
-type PublicIPAddressSkuPtrInput interface {
- pulumi.Input
-
- ToPublicIPAddressSkuPtrOutput() PublicIPAddressSkuPtrOutput
- ToPublicIPAddressSkuPtrOutputWithContext(context.Context) PublicIPAddressSkuPtrOutput
-}
-
-type publicIPAddressSkuPtrType PublicIPAddressSkuArgs
-
-func PublicIPAddressSkuPtr(v *PublicIPAddressSkuArgs) PublicIPAddressSkuPtrInput {
- return (*publicIPAddressSkuPtrType)(v)
-}
-
-func (*publicIPAddressSkuPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PublicIPAddressSku)(nil)).Elem()
-}
-
-func (i *publicIPAddressSkuPtrType) ToPublicIPAddressSkuPtrOutput() PublicIPAddressSkuPtrOutput {
- return i.ToPublicIPAddressSkuPtrOutputWithContext(context.Background())
-}
-
-func (i *publicIPAddressSkuPtrType) ToPublicIPAddressSkuPtrOutputWithContext(ctx context.Context) PublicIPAddressSkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PublicIPAddressSkuPtrOutput)
-}
-
-// SKU of a public IP address.
-type PublicIPAddressSkuOutput struct{ *pulumi.OutputState }
-
-func (PublicIPAddressSkuOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PublicIPAddressSku)(nil)).Elem()
-}
-
-func (o PublicIPAddressSkuOutput) ToPublicIPAddressSkuOutput() PublicIPAddressSkuOutput {
- return o
+func (o RouteResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o PublicIPAddressSkuOutput) ToPublicIPAddressSkuOutputWithContext(ctx context.Context) PublicIPAddressSkuOutput {
- return o
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o RouteResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o PublicIPAddressSkuOutput) ToPublicIPAddressSkuPtrOutput() PublicIPAddressSkuPtrOutput {
- return o.ToPublicIPAddressSkuPtrOutputWithContext(context.Background())
+// The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
+func (o RouteResponseOutput) NextHopIpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteResponse) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
}
-func (o PublicIPAddressSkuOutput) ToPublicIPAddressSkuPtrOutputWithContext(ctx context.Context) PublicIPAddressSkuPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PublicIPAddressSku) *PublicIPAddressSku {
- return &v
- }).(PublicIPAddressSkuPtrOutput)
+// The type of Azure hop the packet should be sent to.
+func (o RouteResponseOutput) NextHopType() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteResponse) string { return v.NextHopType }).(pulumi.StringOutput)
}
-// Name of a public IP address SKU.
-func (o PublicIPAddressSkuOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressSku) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The provisioning state of the route resource.
+func (o RouteResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Tier of a public IP address SKU.
-func (o PublicIPAddressSkuOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressSku) *string { return v.Tier }).(pulumi.StringPtrOutput)
+// The type of the resource.
+func (o RouteResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-type PublicIPAddressSkuPtrOutput struct{ *pulumi.OutputState }
+type RouteResponseArrayOutput struct{ *pulumi.OutputState }
-func (PublicIPAddressSkuPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PublicIPAddressSku)(nil)).Elem()
+func (RouteResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RouteResponse)(nil)).Elem()
}
-func (o PublicIPAddressSkuPtrOutput) ToPublicIPAddressSkuPtrOutput() PublicIPAddressSkuPtrOutput {
+func (o RouteResponseArrayOutput) ToRouteResponseArrayOutput() RouteResponseArrayOutput {
return o
}
-func (o PublicIPAddressSkuPtrOutput) ToPublicIPAddressSkuPtrOutputWithContext(ctx context.Context) PublicIPAddressSkuPtrOutput {
+func (o RouteResponseArrayOutput) ToRouteResponseArrayOutputWithContext(ctx context.Context) RouteResponseArrayOutput {
return o
}
-func (o PublicIPAddressSkuPtrOutput) Elem() PublicIPAddressSkuOutput {
- return o.ApplyT(func(v *PublicIPAddressSku) PublicIPAddressSku {
- if v != nil {
- return *v
- }
- var ret PublicIPAddressSku
- return ret
- }).(PublicIPAddressSkuOutput)
-}
-
-// Name of a public IP address SKU.
-func (o PublicIPAddressSkuPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressSku) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
-}
-
-// Tier of a public IP address SKU.
-func (o PublicIPAddressSkuPtrOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressSku) *string {
- if v == nil {
- return nil
- }
- return v.Tier
- }).(pulumi.StringPtrOutput)
+func (o RouteResponseArrayOutput) Index(i pulumi.IntInput) RouteResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteResponse {
+ return vs[0].([]RouteResponse)[vs[1].(int)]
+ }).(RouteResponseOutput)
}
-// SKU of a public IP address.
-type PublicIPAddressSkuResponse struct {
- // Name of a public IP address SKU.
+// Route resource.
+type RouteServiceGatewayResponse struct {
+ // The destination CIDR to which the route applies.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // A value indicating whether this route overrides overlapping BGP routes regardless of LPM.
+ HasBgpOverride bool `pulumi:"hasBgpOverride"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Name of the resource.
Name *string `pulumi:"name"`
- // Tier of a public IP address SKU.
- Tier *string `pulumi:"tier"`
+ // The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
+ NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
+ // The type of Azure hop the packet should be sent to.
+ NextHopType string `pulumi:"nextHopType"`
+ // The provisioning state of the route resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// SKU of a public IP address.
-type PublicIPAddressSkuResponseOutput struct{ *pulumi.OutputState }
+// Route resource.
+type RouteServiceGatewayResponseOutput struct{ *pulumi.OutputState }
-func (PublicIPAddressSkuResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PublicIPAddressSkuResponse)(nil)).Elem()
+func (RouteServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteServiceGatewayResponse)(nil)).Elem()
}
-func (o PublicIPAddressSkuResponseOutput) ToPublicIPAddressSkuResponseOutput() PublicIPAddressSkuResponseOutput {
+func (o RouteServiceGatewayResponseOutput) ToRouteServiceGatewayResponseOutput() RouteServiceGatewayResponseOutput {
return o
}
-func (o PublicIPAddressSkuResponseOutput) ToPublicIPAddressSkuResponseOutputWithContext(ctx context.Context) PublicIPAddressSkuResponseOutput {
+func (o RouteServiceGatewayResponseOutput) ToRouteServiceGatewayResponseOutputWithContext(ctx context.Context) RouteServiceGatewayResponseOutput {
return o
}
-// Name of a public IP address SKU.
-func (o PublicIPAddressSkuResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressSkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The destination CIDR to which the route applies.
+func (o RouteServiceGatewayResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteServiceGatewayResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-// Tier of a public IP address SKU.
-func (o PublicIPAddressSkuResponseOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressSkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o RouteServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-type PublicIPAddressSkuResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (PublicIPAddressSkuResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PublicIPAddressSkuResponse)(nil)).Elem()
+// A value indicating whether this route overrides overlapping BGP routes regardless of LPM.
+func (o RouteServiceGatewayResponseOutput) HasBgpOverride() pulumi.BoolOutput {
+ return o.ApplyT(func(v RouteServiceGatewayResponse) bool { return v.HasBgpOverride }).(pulumi.BoolOutput)
}
-func (o PublicIPAddressSkuResponsePtrOutput) ToPublicIPAddressSkuResponsePtrOutput() PublicIPAddressSkuResponsePtrOutput {
- return o
+// Resource ID.
+func (o RouteServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o PublicIPAddressSkuResponsePtrOutput) ToPublicIPAddressSkuResponsePtrOutputWithContext(ctx context.Context) PublicIPAddressSkuResponsePtrOutput {
- return o
+// Name of the resource.
+func (o RouteServiceGatewayResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteServiceGatewayResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o PublicIPAddressSkuResponsePtrOutput) Elem() PublicIPAddressSkuResponseOutput {
- return o.ApplyT(func(v *PublicIPAddressSkuResponse) PublicIPAddressSkuResponse {
- if v != nil {
- return *v
- }
- var ret PublicIPAddressSkuResponse
- return ret
- }).(PublicIPAddressSkuResponseOutput)
+// The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
+func (o RouteServiceGatewayResponseOutput) NextHopIpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteServiceGatewayResponse) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
}
-// Name of a public IP address SKU.
-func (o PublicIPAddressSkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressSkuResponse) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+// The type of Azure hop the packet should be sent to.
+func (o RouteServiceGatewayResponseOutput) NextHopType() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteServiceGatewayResponse) string { return v.NextHopType }).(pulumi.StringOutput)
}
-// Tier of a public IP address SKU.
-func (o PublicIPAddressSkuResponsePtrOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressSkuResponse) *string {
- if v == nil {
- return nil
- }
- return v.Tier
- }).(pulumi.StringPtrOutput)
+// The provisioning state of the route resource.
+func (o RouteServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// SKU of a public IP address
-type PublicIPAddressSkuResponseV1 struct {
- // Name of a public IP address SKU.
- Name *string `pulumi:"name"`
+// Resource type.
+func (o RouteServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// SKU of a public IP address
-type PublicIPAddressSkuResponseV1Output struct{ *pulumi.OutputState }
+type RouteServiceGatewayResponseArrayOutput struct{ *pulumi.OutputState }
-func (PublicIPAddressSkuResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*PublicIPAddressSkuResponseV1)(nil)).Elem()
+func (RouteServiceGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RouteServiceGatewayResponse)(nil)).Elem()
}
-func (o PublicIPAddressSkuResponseV1Output) ToPublicIPAddressSkuResponseV1Output() PublicIPAddressSkuResponseV1Output {
+func (o RouteServiceGatewayResponseArrayOutput) ToRouteServiceGatewayResponseArrayOutput() RouteServiceGatewayResponseArrayOutput {
return o
}
-func (o PublicIPAddressSkuResponseV1Output) ToPublicIPAddressSkuResponseV1OutputWithContext(ctx context.Context) PublicIPAddressSkuResponseV1Output {
+func (o RouteServiceGatewayResponseArrayOutput) ToRouteServiceGatewayResponseArrayOutputWithContext(ctx context.Context) RouteServiceGatewayResponseArrayOutput {
return o
}
-// Name of a public IP address SKU.
-func (o PublicIPAddressSkuResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPAddressSkuResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o RouteServiceGatewayResponseArrayOutput) Index(i pulumi.IntInput) RouteServiceGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteServiceGatewayResponse {
+ return vs[0].([]RouteServiceGatewayResponse)[vs[1].(int)]
+ }).(RouteServiceGatewayResponseOutput)
}
-type PublicIPAddressSkuResponseV1PtrOutput struct{ *pulumi.OutputState }
-
-func (PublicIPAddressSkuResponseV1PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PublicIPAddressSkuResponseV1)(nil)).Elem()
+type RouteSourceDetailsResponse struct {
+ // Express Route Circuit identifier
+ Circuit *string `pulumi:"circuit"`
+ // Flag to indicate if the route learned from the primary device is active or passive
+ Pri *string `pulumi:"pri"`
+ // Flag to indicate if the route learned from the secondary device is active or passive
+ Sec *string `pulumi:"sec"`
}
-func (o PublicIPAddressSkuResponseV1PtrOutput) ToPublicIPAddressSkuResponseV1PtrOutput() PublicIPAddressSkuResponseV1PtrOutput {
- return o
+type RouteSourceDetailsResponseOutput struct{ *pulumi.OutputState }
+
+func (RouteSourceDetailsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteSourceDetailsResponse)(nil)).Elem()
}
-func (o PublicIPAddressSkuResponseV1PtrOutput) ToPublicIPAddressSkuResponseV1PtrOutputWithContext(ctx context.Context) PublicIPAddressSkuResponseV1PtrOutput {
+func (o RouteSourceDetailsResponseOutput) ToRouteSourceDetailsResponseOutput() RouteSourceDetailsResponseOutput {
return o
}
-func (o PublicIPAddressSkuResponseV1PtrOutput) Elem() PublicIPAddressSkuResponseV1Output {
- return o.ApplyT(func(v *PublicIPAddressSkuResponseV1) PublicIPAddressSkuResponseV1 {
- if v != nil {
- return *v
- }
- var ret PublicIPAddressSkuResponseV1
- return ret
- }).(PublicIPAddressSkuResponseV1Output)
+func (o RouteSourceDetailsResponseOutput) ToRouteSourceDetailsResponseOutputWithContext(ctx context.Context) RouteSourceDetailsResponseOutput {
+ return o
}
-// Name of a public IP address SKU.
-func (o PublicIPAddressSkuResponseV1PtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPAddressSkuResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+// Express Route Circuit identifier
+func (o RouteSourceDetailsResponseOutput) Circuit() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteSourceDetailsResponse) *string { return v.Circuit }).(pulumi.StringPtrOutput)
}
-// SKU of a public IP prefix.
-type PublicIPPrefixSku struct {
- // Name of a public IP prefix SKU.
- Name *string `pulumi:"name"`
- // Tier of a public IP prefix SKU.
- Tier *string `pulumi:"tier"`
+// Flag to indicate if the route learned from the primary device is active or passive
+func (o RouteSourceDetailsResponseOutput) Pri() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteSourceDetailsResponse) *string { return v.Pri }).(pulumi.StringPtrOutput)
}
-// PublicIPPrefixSkuInput is an input type that accepts PublicIPPrefixSkuArgs and PublicIPPrefixSkuOutput values.
-// You can construct a concrete instance of `PublicIPPrefixSkuInput` via:
-//
-// PublicIPPrefixSkuArgs{...}
-type PublicIPPrefixSkuInput interface {
- pulumi.Input
-
- ToPublicIPPrefixSkuOutput() PublicIPPrefixSkuOutput
- ToPublicIPPrefixSkuOutputWithContext(context.Context) PublicIPPrefixSkuOutput
+// Flag to indicate if the route learned from the secondary device is active or passive
+func (o RouteSourceDetailsResponseOutput) Sec() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteSourceDetailsResponse) *string { return v.Sec }).(pulumi.StringPtrOutput)
}
-// SKU of a public IP prefix.
-type PublicIPPrefixSkuArgs struct {
- // Name of a public IP prefix SKU.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Tier of a public IP prefix SKU.
- Tier pulumi.StringPtrInput `pulumi:"tier"`
-}
+type RouteSourceDetailsResponseArrayOutput struct{ *pulumi.OutputState }
-func (PublicIPPrefixSkuArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*PublicIPPrefixSku)(nil)).Elem()
+func (RouteSourceDetailsResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RouteSourceDetailsResponse)(nil)).Elem()
}
-func (i PublicIPPrefixSkuArgs) ToPublicIPPrefixSkuOutput() PublicIPPrefixSkuOutput {
- return i.ToPublicIPPrefixSkuOutputWithContext(context.Background())
+func (o RouteSourceDetailsResponseArrayOutput) ToRouteSourceDetailsResponseArrayOutput() RouteSourceDetailsResponseArrayOutput {
+ return o
}
-func (i PublicIPPrefixSkuArgs) ToPublicIPPrefixSkuOutputWithContext(ctx context.Context) PublicIPPrefixSkuOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PublicIPPrefixSkuOutput)
+func (o RouteSourceDetailsResponseArrayOutput) ToRouteSourceDetailsResponseArrayOutputWithContext(ctx context.Context) RouteSourceDetailsResponseArrayOutput {
+ return o
}
-func (i PublicIPPrefixSkuArgs) ToPublicIPPrefixSkuPtrOutput() PublicIPPrefixSkuPtrOutput {
- return i.ToPublicIPPrefixSkuPtrOutputWithContext(context.Background())
+func (o RouteSourceDetailsResponseArrayOutput) Index(i pulumi.IntInput) RouteSourceDetailsResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteSourceDetailsResponse {
+ return vs[0].([]RouteSourceDetailsResponse)[vs[1].(int)]
+ }).(RouteSourceDetailsResponseOutput)
}
-func (i PublicIPPrefixSkuArgs) ToPublicIPPrefixSkuPtrOutputWithContext(ctx context.Context) PublicIPPrefixSkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PublicIPPrefixSkuOutput).ToPublicIPPrefixSkuPtrOutputWithContext(ctx)
+// Route table resource.
+type RouteTableType struct {
+ // Whether to disable the routes learned by BGP on that route table. True means disable.
+ DisableBgpRoutePropagation *bool `pulumi:"disableBgpRoutePropagation"`
+ // Gets a unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState *string `pulumi:"provisioningState"`
+ // Collection of routes contained within a route table.
+ Routes []RouteType `pulumi:"routes"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
}
-// PublicIPPrefixSkuPtrInput is an input type that accepts PublicIPPrefixSkuArgs, PublicIPPrefixSkuPtr and PublicIPPrefixSkuPtrOutput values.
-// You can construct a concrete instance of `PublicIPPrefixSkuPtrInput` via:
-//
-// PublicIPPrefixSkuArgs{...}
-//
-// or:
+// RouteTableTypeInput is an input type that accepts RouteTableTypeArgs and RouteTableTypeOutput values.
+// You can construct a concrete instance of `RouteTableTypeInput` via:
//
-// nil
-type PublicIPPrefixSkuPtrInput interface {
+// RouteTableTypeArgs{...}
+type RouteTableTypeInput interface {
pulumi.Input
- ToPublicIPPrefixSkuPtrOutput() PublicIPPrefixSkuPtrOutput
- ToPublicIPPrefixSkuPtrOutputWithContext(context.Context) PublicIPPrefixSkuPtrOutput
+ ToRouteTableTypeOutput() RouteTableTypeOutput
+ ToRouteTableTypeOutputWithContext(context.Context) RouteTableTypeOutput
}
-type publicIPPrefixSkuPtrType PublicIPPrefixSkuArgs
-
-func PublicIPPrefixSkuPtr(v *PublicIPPrefixSkuArgs) PublicIPPrefixSkuPtrInput {
- return (*publicIPPrefixSkuPtrType)(v)
+// Route table resource.
+type RouteTableTypeArgs struct {
+ // Whether to disable the routes learned by BGP on that route table. True means disable.
+ DisableBgpRoutePropagation pulumi.BoolPtrInput `pulumi:"disableBgpRoutePropagation"`
+ // Gets a unique read-only string that changes whenever the resource is updated.
+ Etag pulumi.StringPtrInput `pulumi:"etag"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Resource location.
+ Location pulumi.StringPtrInput `pulumi:"location"`
+ // The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState pulumi.StringPtrInput `pulumi:"provisioningState"`
+ // Collection of routes contained within a route table.
+ Routes RouteTypeArrayInput `pulumi:"routes"`
+ // Resource tags.
+ Tags pulumi.StringMapInput `pulumi:"tags"`
}
-func (*publicIPPrefixSkuPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**PublicIPPrefixSku)(nil)).Elem()
+func (RouteTableTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteTableType)(nil)).Elem()
}
-func (i *publicIPPrefixSkuPtrType) ToPublicIPPrefixSkuPtrOutput() PublicIPPrefixSkuPtrOutput {
- return i.ToPublicIPPrefixSkuPtrOutputWithContext(context.Background())
+func (i RouteTableTypeArgs) ToRouteTableTypeOutput() RouteTableTypeOutput {
+ return i.ToRouteTableTypeOutputWithContext(context.Background())
}
-func (i *publicIPPrefixSkuPtrType) ToPublicIPPrefixSkuPtrOutputWithContext(ctx context.Context) PublicIPPrefixSkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(PublicIPPrefixSkuPtrOutput)
+func (i RouteTableTypeArgs) ToRouteTableTypeOutputWithContext(ctx context.Context) RouteTableTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RouteTableTypeOutput)
}
-// SKU of a public IP prefix.
-type PublicIPPrefixSkuOutput struct{ *pulumi.OutputState }
-
-func (PublicIPPrefixSkuOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PublicIPPrefixSku)(nil)).Elem()
+func (i RouteTableTypeArgs) ToRouteTableTypePtrOutput() RouteTableTypePtrOutput {
+ return i.ToRouteTableTypePtrOutputWithContext(context.Background())
}
-func (o PublicIPPrefixSkuOutput) ToPublicIPPrefixSkuOutput() PublicIPPrefixSkuOutput {
- return o
+func (i RouteTableTypeArgs) ToRouteTableTypePtrOutputWithContext(ctx context.Context) RouteTableTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RouteTableTypeOutput).ToRouteTableTypePtrOutputWithContext(ctx)
}
-func (o PublicIPPrefixSkuOutput) ToPublicIPPrefixSkuOutputWithContext(ctx context.Context) PublicIPPrefixSkuOutput {
- return o
+// RouteTableTypePtrInput is an input type that accepts RouteTableTypeArgs, RouteTableTypePtr and RouteTableTypePtrOutput values.
+// You can construct a concrete instance of `RouteTableTypePtrInput` via:
+//
+// RouteTableTypeArgs{...}
+//
+// or:
+//
+// nil
+type RouteTableTypePtrInput interface {
+ pulumi.Input
+
+ ToRouteTableTypePtrOutput() RouteTableTypePtrOutput
+ ToRouteTableTypePtrOutputWithContext(context.Context) RouteTableTypePtrOutput
}
-func (o PublicIPPrefixSkuOutput) ToPublicIPPrefixSkuPtrOutput() PublicIPPrefixSkuPtrOutput {
- return o.ToPublicIPPrefixSkuPtrOutputWithContext(context.Background())
+type routeTableTypePtrType RouteTableTypeArgs
+
+func RouteTableTypePtr(v *RouteTableTypeArgs) RouteTableTypePtrInput {
+ return (*routeTableTypePtrType)(v)
}
-func (o PublicIPPrefixSkuOutput) ToPublicIPPrefixSkuPtrOutputWithContext(ctx context.Context) PublicIPPrefixSkuPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v PublicIPPrefixSku) *PublicIPPrefixSku {
- return &v
- }).(PublicIPPrefixSkuPtrOutput)
+func (*routeTableTypePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**RouteTableType)(nil)).Elem()
}
-// Name of a public IP prefix SKU.
-func (o PublicIPPrefixSkuOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPPrefixSku) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (i *routeTableTypePtrType) ToRouteTableTypePtrOutput() RouteTableTypePtrOutput {
+ return i.ToRouteTableTypePtrOutputWithContext(context.Background())
}
-// Tier of a public IP prefix SKU.
-func (o PublicIPPrefixSkuOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPPrefixSku) *string { return v.Tier }).(pulumi.StringPtrOutput)
+func (i *routeTableTypePtrType) ToRouteTableTypePtrOutputWithContext(ctx context.Context) RouteTableTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RouteTableTypePtrOutput)
}
-type PublicIPPrefixSkuPtrOutput struct{ *pulumi.OutputState }
+// Route table resource.
+type RouteTableTypeOutput struct{ *pulumi.OutputState }
-func (PublicIPPrefixSkuPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PublicIPPrefixSku)(nil)).Elem()
+func (RouteTableTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteTableType)(nil)).Elem()
}
-func (o PublicIPPrefixSkuPtrOutput) ToPublicIPPrefixSkuPtrOutput() PublicIPPrefixSkuPtrOutput {
+func (o RouteTableTypeOutput) ToRouteTableTypeOutput() RouteTableTypeOutput {
return o
}
-func (o PublicIPPrefixSkuPtrOutput) ToPublicIPPrefixSkuPtrOutputWithContext(ctx context.Context) PublicIPPrefixSkuPtrOutput {
+func (o RouteTableTypeOutput) ToRouteTableTypeOutputWithContext(ctx context.Context) RouteTableTypeOutput {
return o
}
-func (o PublicIPPrefixSkuPtrOutput) Elem() PublicIPPrefixSkuOutput {
- return o.ApplyT(func(v *PublicIPPrefixSku) PublicIPPrefixSku {
- if v != nil {
- return *v
- }
- var ret PublicIPPrefixSku
- return ret
- }).(PublicIPPrefixSkuOutput)
+func (o RouteTableTypeOutput) ToRouteTableTypePtrOutput() RouteTableTypePtrOutput {
+ return o.ToRouteTableTypePtrOutputWithContext(context.Background())
}
-// Name of a public IP prefix SKU.
-func (o PublicIPPrefixSkuPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPPrefixSku) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+func (o RouteTableTypeOutput) ToRouteTableTypePtrOutputWithContext(ctx context.Context) RouteTableTypePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v RouteTableType) *RouteTableType {
+ return &v
+ }).(RouteTableTypePtrOutput)
}
-// Tier of a public IP prefix SKU.
-func (o PublicIPPrefixSkuPtrOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPPrefixSku) *string {
- if v == nil {
- return nil
- }
- return v.Tier
- }).(pulumi.StringPtrOutput)
+// Whether to disable the routes learned by BGP on that route table. True means disable.
+func (o RouteTableTypeOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v RouteTableType) *bool { return v.DisableBgpRoutePropagation }).(pulumi.BoolPtrOutput)
}
-// SKU of a public IP prefix.
-type PublicIPPrefixSkuResponse struct {
- // Name of a public IP prefix SKU.
- Name *string `pulumi:"name"`
- // Tier of a public IP prefix SKU.
- Tier *string `pulumi:"tier"`
+// Gets a unique read-only string that changes whenever the resource is updated.
+func (o RouteTableTypeOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTableType) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// SKU of a public IP prefix.
-type PublicIPPrefixSkuResponseOutput struct{ *pulumi.OutputState }
-
-func (PublicIPPrefixSkuResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*PublicIPPrefixSkuResponse)(nil)).Elem()
+// Resource ID.
+func (o RouteTableTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTableType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o PublicIPPrefixSkuResponseOutput) ToPublicIPPrefixSkuResponseOutput() PublicIPPrefixSkuResponseOutput {
- return o
+// Resource location.
+func (o RouteTableTypeOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTableType) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o PublicIPPrefixSkuResponseOutput) ToPublicIPPrefixSkuResponseOutputWithContext(ctx context.Context) PublicIPPrefixSkuResponseOutput {
- return o
+// The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o RouteTableTypeOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTableType) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-// Name of a public IP prefix SKU.
-func (o PublicIPPrefixSkuResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPPrefixSkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Collection of routes contained within a route table.
+func (o RouteTableTypeOutput) Routes() RouteTypeArrayOutput {
+ return o.ApplyT(func(v RouteTableType) []RouteType { return v.Routes }).(RouteTypeArrayOutput)
}
-// Tier of a public IP prefix SKU.
-func (o PublicIPPrefixSkuResponseOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v PublicIPPrefixSkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput)
+// Resource tags.
+func (o RouteTableTypeOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v RouteTableType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-type PublicIPPrefixSkuResponsePtrOutput struct{ *pulumi.OutputState }
+type RouteTableTypePtrOutput struct{ *pulumi.OutputState }
-func (PublicIPPrefixSkuResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**PublicIPPrefixSkuResponse)(nil)).Elem()
+func (RouteTableTypePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RouteTableType)(nil)).Elem()
}
-func (o PublicIPPrefixSkuResponsePtrOutput) ToPublicIPPrefixSkuResponsePtrOutput() PublicIPPrefixSkuResponsePtrOutput {
+func (o RouteTableTypePtrOutput) ToRouteTableTypePtrOutput() RouteTableTypePtrOutput {
return o
}
-func (o PublicIPPrefixSkuResponsePtrOutput) ToPublicIPPrefixSkuResponsePtrOutputWithContext(ctx context.Context) PublicIPPrefixSkuResponsePtrOutput {
+func (o RouteTableTypePtrOutput) ToRouteTableTypePtrOutputWithContext(ctx context.Context) RouteTableTypePtrOutput {
return o
}
-func (o PublicIPPrefixSkuResponsePtrOutput) Elem() PublicIPPrefixSkuResponseOutput {
- return o.ApplyT(func(v *PublicIPPrefixSkuResponse) PublicIPPrefixSkuResponse {
+func (o RouteTableTypePtrOutput) Elem() RouteTableTypeOutput {
+ return o.ApplyT(func(v *RouteTableType) RouteTableType {
if v != nil {
return *v
}
- var ret PublicIPPrefixSkuResponse
+ var ret RouteTableType
return ret
- }).(PublicIPPrefixSkuResponseOutput)
+ }).(RouteTableTypeOutput)
}
-// Name of a public IP prefix SKU.
-func (o PublicIPPrefixSkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPPrefixSkuResponse) *string {
+// Whether to disable the routes learned by BGP on that route table. True means disable.
+func (o RouteTableTypePtrOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *RouteTableType) *bool {
if v == nil {
return nil
}
- return v.Name
- }).(pulumi.StringPtrOutput)
+ return v.DisableBgpRoutePropagation
+ }).(pulumi.BoolPtrOutput)
}
-// Tier of a public IP prefix SKU.
-func (o PublicIPPrefixSkuResponsePtrOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *PublicIPPrefixSkuResponse) *string {
+// Gets a unique read-only string that changes whenever the resource is updated.
+func (o RouteTableTypePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableType) *string {
if v == nil {
return nil
}
- return v.Tier
+ return v.Etag
}).(pulumi.StringPtrOutput)
}
-// Quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking.
-type QosDefinition struct {
- // Destination IP ranges.
- DestinationIpRanges []QosIpRange `pulumi:"destinationIpRanges"`
- // Destination port ranges.
- DestinationPortRanges []QosPortRange `pulumi:"destinationPortRanges"`
- // List of markings to be used in the configuration.
- Markings []int `pulumi:"markings"`
- // RNM supported protocol types.
- Protocol *string `pulumi:"protocol"`
- // Source IP ranges.
- SourceIpRanges []QosIpRange `pulumi:"sourceIpRanges"`
- // Sources port ranges.
- SourcePortRanges []QosPortRange `pulumi:"sourcePortRanges"`
-}
-
-// QosDefinitionInput is an input type that accepts QosDefinitionArgs and QosDefinitionOutput values.
-// You can construct a concrete instance of `QosDefinitionInput` via:
-//
-// QosDefinitionArgs{...}
-type QosDefinitionInput interface {
- pulumi.Input
-
- ToQosDefinitionOutput() QosDefinitionOutput
- ToQosDefinitionOutputWithContext(context.Context) QosDefinitionOutput
-}
-
-// Quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking.
-type QosDefinitionArgs struct {
- // Destination IP ranges.
- DestinationIpRanges QosIpRangeArrayInput `pulumi:"destinationIpRanges"`
- // Destination port ranges.
- DestinationPortRanges QosPortRangeArrayInput `pulumi:"destinationPortRanges"`
- // List of markings to be used in the configuration.
- Markings pulumi.IntArrayInput `pulumi:"markings"`
- // RNM supported protocol types.
- Protocol pulumi.StringPtrInput `pulumi:"protocol"`
- // Source IP ranges.
- SourceIpRanges QosIpRangeArrayInput `pulumi:"sourceIpRanges"`
- // Sources port ranges.
- SourcePortRanges QosPortRangeArrayInput `pulumi:"sourcePortRanges"`
-}
-
-func (QosDefinitionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*QosDefinition)(nil)).Elem()
-}
-
-func (i QosDefinitionArgs) ToQosDefinitionOutput() QosDefinitionOutput {
- return i.ToQosDefinitionOutputWithContext(context.Background())
-}
-
-func (i QosDefinitionArgs) ToQosDefinitionOutputWithContext(ctx context.Context) QosDefinitionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(QosDefinitionOutput)
-}
-
-// QosDefinitionArrayInput is an input type that accepts QosDefinitionArray and QosDefinitionArrayOutput values.
-// You can construct a concrete instance of `QosDefinitionArrayInput` via:
-//
-// QosDefinitionArray{ QosDefinitionArgs{...} }
-type QosDefinitionArrayInput interface {
- pulumi.Input
-
- ToQosDefinitionArrayOutput() QosDefinitionArrayOutput
- ToQosDefinitionArrayOutputWithContext(context.Context) QosDefinitionArrayOutput
-}
-
-type QosDefinitionArray []QosDefinitionInput
-
-func (QosDefinitionArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]QosDefinition)(nil)).Elem()
-}
-
-func (i QosDefinitionArray) ToQosDefinitionArrayOutput() QosDefinitionArrayOutput {
- return i.ToQosDefinitionArrayOutputWithContext(context.Background())
-}
-
-func (i QosDefinitionArray) ToQosDefinitionArrayOutputWithContext(ctx context.Context) QosDefinitionArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(QosDefinitionArrayOutput)
-}
-
-// Quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking.
-type QosDefinitionOutput struct{ *pulumi.OutputState }
-
-func (QosDefinitionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*QosDefinition)(nil)).Elem()
-}
-
-func (o QosDefinitionOutput) ToQosDefinitionOutput() QosDefinitionOutput {
- return o
-}
-
-func (o QosDefinitionOutput) ToQosDefinitionOutputWithContext(ctx context.Context) QosDefinitionOutput {
- return o
-}
-
-// Destination IP ranges.
-func (o QosDefinitionOutput) DestinationIpRanges() QosIpRangeArrayOutput {
- return o.ApplyT(func(v QosDefinition) []QosIpRange { return v.DestinationIpRanges }).(QosIpRangeArrayOutput)
+// Resource ID.
+func (o RouteTableTypePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// Destination port ranges.
-func (o QosDefinitionOutput) DestinationPortRanges() QosPortRangeArrayOutput {
- return o.ApplyT(func(v QosDefinition) []QosPortRange { return v.DestinationPortRanges }).(QosPortRangeArrayOutput)
+// Resource location.
+func (o RouteTableTypePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-// List of markings to be used in the configuration.
-func (o QosDefinitionOutput) Markings() pulumi.IntArrayOutput {
- return o.ApplyT(func(v QosDefinition) []int { return v.Markings }).(pulumi.IntArrayOutput)
+// The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o RouteTableTypePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// RNM supported protocol types.
-func (o QosDefinitionOutput) Protocol() pulumi.StringPtrOutput {
- return o.ApplyT(func(v QosDefinition) *string { return v.Protocol }).(pulumi.StringPtrOutput)
+// Collection of routes contained within a route table.
+func (o RouteTableTypePtrOutput) Routes() RouteTypeArrayOutput {
+ return o.ApplyT(func(v *RouteTableType) []RouteType {
+ if v == nil {
+ return nil
+ }
+ return v.Routes
+ }).(RouteTypeArrayOutput)
}
-// Source IP ranges.
-func (o QosDefinitionOutput) SourceIpRanges() QosIpRangeArrayOutput {
- return o.ApplyT(func(v QosDefinition) []QosIpRange { return v.SourceIpRanges }).(QosIpRangeArrayOutput)
+// Resource tags.
+func (o RouteTableTypePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *RouteTableType) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-// Sources port ranges.
-func (o QosDefinitionOutput) SourcePortRanges() QosPortRangeArrayOutput {
- return o.ApplyT(func(v QosDefinition) []QosPortRange { return v.SourcePortRanges }).(QosPortRangeArrayOutput)
+// Route table resource.
+type RouteTableInterfaceEndpointResponse struct {
+ // Gets or sets whether to disable the routes learned by BGP on that route table. True means disable.
+ DisableBgpRoutePropagation *bool `pulumi:"disableBgpRoutePropagation"`
+ // Gets a unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState *string `pulumi:"provisioningState"`
+ // Collection of routes contained within a route table.
+ Routes []RouteInterfaceEndpointResponse `pulumi:"routes"`
+ // A collection of references to subnets.
+ Subnets []SubnetResponse `pulumi:"subnets"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-type QosDefinitionArrayOutput struct{ *pulumi.OutputState }
+// Route table resource.
+type RouteTableInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
-func (QosDefinitionArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]QosDefinition)(nil)).Elem()
+func (RouteTableInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteTableInterfaceEndpointResponse)(nil)).Elem()
}
-func (o QosDefinitionArrayOutput) ToQosDefinitionArrayOutput() QosDefinitionArrayOutput {
+func (o RouteTableInterfaceEndpointResponseOutput) ToRouteTableInterfaceEndpointResponseOutput() RouteTableInterfaceEndpointResponseOutput {
return o
}
-func (o QosDefinitionArrayOutput) ToQosDefinitionArrayOutputWithContext(ctx context.Context) QosDefinitionArrayOutput {
+func (o RouteTableInterfaceEndpointResponseOutput) ToRouteTableInterfaceEndpointResponseOutputWithContext(ctx context.Context) RouteTableInterfaceEndpointResponseOutput {
return o
}
-func (o QosDefinitionArrayOutput) Index(i pulumi.IntInput) QosDefinitionOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) QosDefinition {
- return vs[0].([]QosDefinition)[vs[1].(int)]
- }).(QosDefinitionOutput)
-}
-
-// Quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking.
-type QosDefinitionResponse struct {
- // Destination IP ranges.
- DestinationIpRanges []QosIpRangeResponse `pulumi:"destinationIpRanges"`
- // Destination port ranges.
- DestinationPortRanges []QosPortRangeResponse `pulumi:"destinationPortRanges"`
- // List of markings to be used in the configuration.
- Markings []int `pulumi:"markings"`
- // RNM supported protocol types.
- Protocol *string `pulumi:"protocol"`
- // Source IP ranges.
- SourceIpRanges []QosIpRangeResponse `pulumi:"sourceIpRanges"`
- // Sources port ranges.
- SourcePortRanges []QosPortRangeResponse `pulumi:"sourcePortRanges"`
+// Gets or sets whether to disable the routes learned by BGP on that route table. True means disable.
+func (o RouteTableInterfaceEndpointResponseOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v RouteTableInterfaceEndpointResponse) *bool { return v.DisableBgpRoutePropagation }).(pulumi.BoolPtrOutput)
}
-// Quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking.
-type QosDefinitionResponseOutput struct{ *pulumi.OutputState }
-
-func (QosDefinitionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*QosDefinitionResponse)(nil)).Elem()
+// Gets a unique read-only string that changes whenever the resource is updated.
+func (o RouteTableInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTableInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-func (o QosDefinitionResponseOutput) ToQosDefinitionResponseOutput() QosDefinitionResponseOutput {
- return o
+// Resource ID.
+func (o RouteTableInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTableInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o QosDefinitionResponseOutput) ToQosDefinitionResponseOutputWithContext(ctx context.Context) QosDefinitionResponseOutput {
- return o
+// Resource location.
+func (o RouteTableInterfaceEndpointResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTableInterfaceEndpointResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// Destination IP ranges.
-func (o QosDefinitionResponseOutput) DestinationIpRanges() QosIpRangeResponseArrayOutput {
- return o.ApplyT(func(v QosDefinitionResponse) []QosIpRangeResponse { return v.DestinationIpRanges }).(QosIpRangeResponseArrayOutput)
+// Resource name.
+func (o RouteTableInterfaceEndpointResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableInterfaceEndpointResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// Destination port ranges.
-func (o QosDefinitionResponseOutput) DestinationPortRanges() QosPortRangeResponseArrayOutput {
- return o.ApplyT(func(v QosDefinitionResponse) []QosPortRangeResponse { return v.DestinationPortRanges }).(QosPortRangeResponseArrayOutput)
+// The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o RouteTableInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTableInterfaceEndpointResponse) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-// List of markings to be used in the configuration.
-func (o QosDefinitionResponseOutput) Markings() pulumi.IntArrayOutput {
- return o.ApplyT(func(v QosDefinitionResponse) []int { return v.Markings }).(pulumi.IntArrayOutput)
+// Collection of routes contained within a route table.
+func (o RouteTableInterfaceEndpointResponseOutput) Routes() RouteInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v RouteTableInterfaceEndpointResponse) []RouteInterfaceEndpointResponse { return v.Routes }).(RouteInterfaceEndpointResponseArrayOutput)
}
-// RNM supported protocol types.
-func (o QosDefinitionResponseOutput) Protocol() pulumi.StringPtrOutput {
- return o.ApplyT(func(v QosDefinitionResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput)
+// A collection of references to subnets.
+func (o RouteTableInterfaceEndpointResponseOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v RouteTableInterfaceEndpointResponse) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
}
-// Source IP ranges.
-func (o QosDefinitionResponseOutput) SourceIpRanges() QosIpRangeResponseArrayOutput {
- return o.ApplyT(func(v QosDefinitionResponse) []QosIpRangeResponse { return v.SourceIpRanges }).(QosIpRangeResponseArrayOutput)
+// Resource tags.
+func (o RouteTableInterfaceEndpointResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v RouteTableInterfaceEndpointResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// Sources port ranges.
-func (o QosDefinitionResponseOutput) SourcePortRanges() QosPortRangeResponseArrayOutput {
- return o.ApplyT(func(v QosDefinitionResponse) []QosPortRangeResponse { return v.SourcePortRanges }).(QosPortRangeResponseArrayOutput)
+// Resource type.
+func (o RouteTableInterfaceEndpointResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableInterfaceEndpointResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type QosDefinitionResponseArrayOutput struct{ *pulumi.OutputState }
+type RouteTableInterfaceEndpointResponsePtrOutput struct{ *pulumi.OutputState }
-func (QosDefinitionResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]QosDefinitionResponse)(nil)).Elem()
+func (RouteTableInterfaceEndpointResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RouteTableInterfaceEndpointResponse)(nil)).Elem()
}
-func (o QosDefinitionResponseArrayOutput) ToQosDefinitionResponseArrayOutput() QosDefinitionResponseArrayOutput {
+func (o RouteTableInterfaceEndpointResponsePtrOutput) ToRouteTableInterfaceEndpointResponsePtrOutput() RouteTableInterfaceEndpointResponsePtrOutput {
return o
}
-func (o QosDefinitionResponseArrayOutput) ToQosDefinitionResponseArrayOutputWithContext(ctx context.Context) QosDefinitionResponseArrayOutput {
+func (o RouteTableInterfaceEndpointResponsePtrOutput) ToRouteTableInterfaceEndpointResponsePtrOutputWithContext(ctx context.Context) RouteTableInterfaceEndpointResponsePtrOutput {
return o
}
-func (o QosDefinitionResponseArrayOutput) Index(i pulumi.IntInput) QosDefinitionResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) QosDefinitionResponse {
- return vs[0].([]QosDefinitionResponse)[vs[1].(int)]
- }).(QosDefinitionResponseOutput)
+func (o RouteTableInterfaceEndpointResponsePtrOutput) Elem() RouteTableInterfaceEndpointResponseOutput {
+ return o.ApplyT(func(v *RouteTableInterfaceEndpointResponse) RouteTableInterfaceEndpointResponse {
+ if v != nil {
+ return *v
+ }
+ var ret RouteTableInterfaceEndpointResponse
+ return ret
+ }).(RouteTableInterfaceEndpointResponseOutput)
}
-// Qos Traffic Profiler IP Range properties.
-type QosIpRange struct {
- // End IP Address.
- EndIP *string `pulumi:"endIP"`
- // Start IP Address.
- StartIP *string `pulumi:"startIP"`
+// Gets or sets whether to disable the routes learned by BGP on that route table. True means disable.
+func (o RouteTableInterfaceEndpointResponsePtrOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *RouteTableInterfaceEndpointResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DisableBgpRoutePropagation
+ }).(pulumi.BoolPtrOutput)
}
-// QosIpRangeInput is an input type that accepts QosIpRangeArgs and QosIpRangeOutput values.
-// You can construct a concrete instance of `QosIpRangeInput` via:
-//
-// QosIpRangeArgs{...}
-type QosIpRangeInput interface {
- pulumi.Input
-
- ToQosIpRangeOutput() QosIpRangeOutput
- ToQosIpRangeOutputWithContext(context.Context) QosIpRangeOutput
+// Gets a unique read-only string that changes whenever the resource is updated.
+func (o RouteTableInterfaceEndpointResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Etag
+ }).(pulumi.StringPtrOutput)
}
-// Qos Traffic Profiler IP Range properties.
-type QosIpRangeArgs struct {
- // End IP Address.
- EndIP pulumi.StringPtrInput `pulumi:"endIP"`
- // Start IP Address.
- StartIP pulumi.StringPtrInput `pulumi:"startIP"`
+// Resource ID.
+func (o RouteTableInterfaceEndpointResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (QosIpRangeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*QosIpRange)(nil)).Elem()
+// Resource location.
+func (o RouteTableInterfaceEndpointResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-func (i QosIpRangeArgs) ToQosIpRangeOutput() QosIpRangeOutput {
- return i.ToQosIpRangeOutputWithContext(context.Background())
+// Resource name.
+func (o RouteTableInterfaceEndpointResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (i QosIpRangeArgs) ToQosIpRangeOutputWithContext(ctx context.Context) QosIpRangeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(QosIpRangeOutput)
+// The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o RouteTableInterfaceEndpointResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// QosIpRangeArrayInput is an input type that accepts QosIpRangeArray and QosIpRangeArrayOutput values.
-// You can construct a concrete instance of `QosIpRangeArrayInput` via:
-//
-// QosIpRangeArray{ QosIpRangeArgs{...} }
-type QosIpRangeArrayInput interface {
- pulumi.Input
-
- ToQosIpRangeArrayOutput() QosIpRangeArrayOutput
- ToQosIpRangeArrayOutputWithContext(context.Context) QosIpRangeArrayOutput
+// Collection of routes contained within a route table.
+func (o RouteTableInterfaceEndpointResponsePtrOutput) Routes() RouteInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v *RouteTableInterfaceEndpointResponse) []RouteInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Routes
+ }).(RouteInterfaceEndpointResponseArrayOutput)
}
-type QosIpRangeArray []QosIpRangeInput
+// A collection of references to subnets.
+func (o RouteTableInterfaceEndpointResponsePtrOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v *RouteTableInterfaceEndpointResponse) []SubnetResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnets
+ }).(SubnetResponseArrayOutput)
+}
-func (QosIpRangeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]QosIpRange)(nil)).Elem()
+// Resource tags.
+func (o RouteTableInterfaceEndpointResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *RouteTableInterfaceEndpointResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-func (i QosIpRangeArray) ToQosIpRangeArrayOutput() QosIpRangeArrayOutput {
- return i.ToQosIpRangeArrayOutputWithContext(context.Background())
+// Resource type.
+func (o RouteTableInterfaceEndpointResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-func (i QosIpRangeArray) ToQosIpRangeArrayOutputWithContext(ctx context.Context) QosIpRangeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(QosIpRangeArrayOutput)
+// Route table resource.
+type RouteTableResponse struct {
+ // Whether to disable the routes learned by BGP on that route table. True means disable.
+ DisableBgpRoutePropagation *bool `pulumi:"disableBgpRoutePropagation"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The provisioning state of the route table resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The resource GUID property of the route table.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // Collection of routes contained within a route table.
+ Routes []RouteResponse `pulumi:"routes"`
+ // A collection of references to subnets.
+ Subnets []SubnetResponse `pulumi:"subnets"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// Qos Traffic Profiler IP Range properties.
-type QosIpRangeOutput struct{ *pulumi.OutputState }
+// Route table resource.
+type RouteTableResponseOutput struct{ *pulumi.OutputState }
-func (QosIpRangeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*QosIpRange)(nil)).Elem()
+func (RouteTableResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteTableResponse)(nil)).Elem()
}
-func (o QosIpRangeOutput) ToQosIpRangeOutput() QosIpRangeOutput {
+func (o RouteTableResponseOutput) ToRouteTableResponseOutput() RouteTableResponseOutput {
return o
}
-func (o QosIpRangeOutput) ToQosIpRangeOutputWithContext(ctx context.Context) QosIpRangeOutput {
+func (o RouteTableResponseOutput) ToRouteTableResponseOutputWithContext(ctx context.Context) RouteTableResponseOutput {
return o
}
-// End IP Address.
-func (o QosIpRangeOutput) EndIP() pulumi.StringPtrOutput {
- return o.ApplyT(func(v QosIpRange) *string { return v.EndIP }).(pulumi.StringPtrOutput)
-}
-
-// Start IP Address.
-func (o QosIpRangeOutput) StartIP() pulumi.StringPtrOutput {
- return o.ApplyT(func(v QosIpRange) *string { return v.StartIP }).(pulumi.StringPtrOutput)
+// Whether to disable the routes learned by BGP on that route table. True means disable.
+func (o RouteTableResponseOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v RouteTableResponse) *bool { return v.DisableBgpRoutePropagation }).(pulumi.BoolPtrOutput)
}
-type QosIpRangeArrayOutput struct{ *pulumi.OutputState }
-
-func (QosIpRangeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]QosIpRange)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o RouteTableResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (o QosIpRangeArrayOutput) ToQosIpRangeArrayOutput() QosIpRangeArrayOutput {
- return o
+// Resource ID.
+func (o RouteTableResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTableResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o QosIpRangeArrayOutput) ToQosIpRangeArrayOutputWithContext(ctx context.Context) QosIpRangeArrayOutput {
- return o
+// Resource location.
+func (o RouteTableResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTableResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o QosIpRangeArrayOutput) Index(i pulumi.IntInput) QosIpRangeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) QosIpRange {
- return vs[0].([]QosIpRange)[vs[1].(int)]
- }).(QosIpRangeOutput)
+// Resource name.
+func (o RouteTableResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// Qos Traffic Profiler IP Range properties.
-type QosIpRangeResponse struct {
- // End IP Address.
- EndIP *string `pulumi:"endIP"`
- // Start IP Address.
- StartIP *string `pulumi:"startIP"`
+// The provisioning state of the route table resource.
+func (o RouteTableResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Qos Traffic Profiler IP Range properties.
-type QosIpRangeResponseOutput struct{ *pulumi.OutputState }
-
-func (QosIpRangeResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*QosIpRangeResponse)(nil)).Elem()
+// The resource GUID property of the route table.
+func (o RouteTableResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-func (o QosIpRangeResponseOutput) ToQosIpRangeResponseOutput() QosIpRangeResponseOutput {
- return o
+// Collection of routes contained within a route table.
+func (o RouteTableResponseOutput) Routes() RouteResponseArrayOutput {
+ return o.ApplyT(func(v RouteTableResponse) []RouteResponse { return v.Routes }).(RouteResponseArrayOutput)
}
-func (o QosIpRangeResponseOutput) ToQosIpRangeResponseOutputWithContext(ctx context.Context) QosIpRangeResponseOutput {
- return o
+// A collection of references to subnets.
+func (o RouteTableResponseOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v RouteTableResponse) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
}
-// End IP Address.
-func (o QosIpRangeResponseOutput) EndIP() pulumi.StringPtrOutput {
- return o.ApplyT(func(v QosIpRangeResponse) *string { return v.EndIP }).(pulumi.StringPtrOutput)
+// Resource tags.
+func (o RouteTableResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v RouteTableResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// Start IP Address.
-func (o QosIpRangeResponseOutput) StartIP() pulumi.StringPtrOutput {
- return o.ApplyT(func(v QosIpRangeResponse) *string { return v.StartIP }).(pulumi.StringPtrOutput)
+// Resource type.
+func (o RouteTableResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type QosIpRangeResponseArrayOutput struct{ *pulumi.OutputState }
+type RouteTableResponsePtrOutput struct{ *pulumi.OutputState }
-func (QosIpRangeResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]QosIpRangeResponse)(nil)).Elem()
+func (RouteTableResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RouteTableResponse)(nil)).Elem()
}
-func (o QosIpRangeResponseArrayOutput) ToQosIpRangeResponseArrayOutput() QosIpRangeResponseArrayOutput {
+func (o RouteTableResponsePtrOutput) ToRouteTableResponsePtrOutput() RouteTableResponsePtrOutput {
return o
}
-func (o QosIpRangeResponseArrayOutput) ToQosIpRangeResponseArrayOutputWithContext(ctx context.Context) QosIpRangeResponseArrayOutput {
+func (o RouteTableResponsePtrOutput) ToRouteTableResponsePtrOutputWithContext(ctx context.Context) RouteTableResponsePtrOutput {
return o
}
-func (o QosIpRangeResponseArrayOutput) Index(i pulumi.IntInput) QosIpRangeResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) QosIpRangeResponse {
- return vs[0].([]QosIpRangeResponse)[vs[1].(int)]
- }).(QosIpRangeResponseOutput)
+func (o RouteTableResponsePtrOutput) Elem() RouteTableResponseOutput {
+ return o.ApplyT(func(v *RouteTableResponse) RouteTableResponse {
+ if v != nil {
+ return *v
+ }
+ var ret RouteTableResponse
+ return ret
+ }).(RouteTableResponseOutput)
}
-// Qos Traffic Profiler Port range properties.
-type QosPortRange struct {
- // Qos Port Range end.
- End *int `pulumi:"end"`
- // Qos Port Range start.
- Start *int `pulumi:"start"`
+// Whether to disable the routes learned by BGP on that route table. True means disable.
+func (o RouteTableResponsePtrOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *RouteTableResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DisableBgpRoutePropagation
+ }).(pulumi.BoolPtrOutput)
}
-// QosPortRangeInput is an input type that accepts QosPortRangeArgs and QosPortRangeOutput values.
-// You can construct a concrete instance of `QosPortRangeInput` via:
-//
-// QosPortRangeArgs{...}
-type QosPortRangeInput interface {
- pulumi.Input
-
- ToQosPortRangeOutput() QosPortRangeOutput
- ToQosPortRangeOutputWithContext(context.Context) QosPortRangeOutput
+// A unique read-only string that changes whenever the resource is updated.
+func (o RouteTableResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-// Qos Traffic Profiler Port range properties.
-type QosPortRangeArgs struct {
- // Qos Port Range end.
- End pulumi.IntPtrInput `pulumi:"end"`
- // Qos Port Range start.
- Start pulumi.IntPtrInput `pulumi:"start"`
+// Resource ID.
+func (o RouteTableResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (QosPortRangeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*QosPortRange)(nil)).Elem()
+// Resource location.
+func (o RouteTableResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-func (i QosPortRangeArgs) ToQosPortRangeOutput() QosPortRangeOutput {
- return i.ToQosPortRangeOutputWithContext(context.Background())
+// Resource name.
+func (o RouteTableResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (i QosPortRangeArgs) ToQosPortRangeOutputWithContext(ctx context.Context) QosPortRangeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(QosPortRangeOutput)
+// The provisioning state of the route table resource.
+func (o RouteTableResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// QosPortRangeArrayInput is an input type that accepts QosPortRangeArray and QosPortRangeArrayOutput values.
-// You can construct a concrete instance of `QosPortRangeArrayInput` via:
-//
-// QosPortRangeArray{ QosPortRangeArgs{...} }
-type QosPortRangeArrayInput interface {
- pulumi.Input
+// The resource GUID property of the route table.
+func (o RouteTableResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
+}
- ToQosPortRangeArrayOutput() QosPortRangeArrayOutput
- ToQosPortRangeArrayOutputWithContext(context.Context) QosPortRangeArrayOutput
+// Collection of routes contained within a route table.
+func (o RouteTableResponsePtrOutput) Routes() RouteResponseArrayOutput {
+ return o.ApplyT(func(v *RouteTableResponse) []RouteResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Routes
+ }).(RouteResponseArrayOutput)
}
-type QosPortRangeArray []QosPortRangeInput
+// A collection of references to subnets.
+func (o RouteTableResponsePtrOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v *RouteTableResponse) []SubnetResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnets
+ }).(SubnetResponseArrayOutput)
+}
-func (QosPortRangeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]QosPortRange)(nil)).Elem()
+// Resource tags.
+func (o RouteTableResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *RouteTableResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-func (i QosPortRangeArray) ToQosPortRangeArrayOutput() QosPortRangeArrayOutput {
- return i.ToQosPortRangeArrayOutputWithContext(context.Background())
+// Resource type.
+func (o RouteTableResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-func (i QosPortRangeArray) ToQosPortRangeArrayOutputWithContext(ctx context.Context) QosPortRangeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(QosPortRangeArrayOutput)
+// Route table resource.
+type RouteTableServiceGatewayResponse struct {
+ // Whether to disable the routes learned by BGP on that route table. True means disable.
+ DisableBgpRoutePropagation *bool `pulumi:"disableBgpRoutePropagation"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The provisioning state of the route table resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The resource GUID property of the route table.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // Collection of routes contained within a route table.
+ Routes []RouteServiceGatewayResponse `pulumi:"routes"`
+ // A collection of references to subnets.
+ Subnets []SubnetResponse `pulumi:"subnets"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// Qos Traffic Profiler Port range properties.
-type QosPortRangeOutput struct{ *pulumi.OutputState }
+// Route table resource.
+type RouteTableServiceGatewayResponseOutput struct{ *pulumi.OutputState }
-func (QosPortRangeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*QosPortRange)(nil)).Elem()
+func (RouteTableServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteTableServiceGatewayResponse)(nil)).Elem()
}
-func (o QosPortRangeOutput) ToQosPortRangeOutput() QosPortRangeOutput {
+func (o RouteTableServiceGatewayResponseOutput) ToRouteTableServiceGatewayResponseOutput() RouteTableServiceGatewayResponseOutput {
return o
}
-func (o QosPortRangeOutput) ToQosPortRangeOutputWithContext(ctx context.Context) QosPortRangeOutput {
+func (o RouteTableServiceGatewayResponseOutput) ToRouteTableServiceGatewayResponseOutputWithContext(ctx context.Context) RouteTableServiceGatewayResponseOutput {
return o
}
-// Qos Port Range end.
-func (o QosPortRangeOutput) End() pulumi.IntPtrOutput {
- return o.ApplyT(func(v QosPortRange) *int { return v.End }).(pulumi.IntPtrOutput)
+// Whether to disable the routes learned by BGP on that route table. True means disable.
+func (o RouteTableServiceGatewayResponseOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v RouteTableServiceGatewayResponse) *bool { return v.DisableBgpRoutePropagation }).(pulumi.BoolPtrOutput)
}
-// Qos Port Range start.
-func (o QosPortRangeOutput) Start() pulumi.IntPtrOutput {
- return o.ApplyT(func(v QosPortRange) *int { return v.Start }).(pulumi.IntPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o RouteTableServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
+}
+
+// Resource ID.
+func (o RouteTableServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTableServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
+
+// Resource location.
+func (o RouteTableServiceGatewayResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTableServiceGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+}
+
+// Resource name.
+func (o RouteTableServiceGatewayResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableServiceGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
}
-type QosPortRangeArrayOutput struct{ *pulumi.OutputState }
+// The provisioning state of the route table resource.
+func (o RouteTableServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
-func (QosPortRangeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]QosPortRange)(nil)).Elem()
+// The resource GUID property of the route table.
+func (o RouteTableServiceGatewayResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableServiceGatewayResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-func (o QosPortRangeArrayOutput) ToQosPortRangeArrayOutput() QosPortRangeArrayOutput {
- return o
+// Collection of routes contained within a route table.
+func (o RouteTableServiceGatewayResponseOutput) Routes() RouteServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v RouteTableServiceGatewayResponse) []RouteServiceGatewayResponse { return v.Routes }).(RouteServiceGatewayResponseArrayOutput)
}
-func (o QosPortRangeArrayOutput) ToQosPortRangeArrayOutputWithContext(ctx context.Context) QosPortRangeArrayOutput {
- return o
+// A collection of references to subnets.
+func (o RouteTableServiceGatewayResponseOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v RouteTableServiceGatewayResponse) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
}
-func (o QosPortRangeArrayOutput) Index(i pulumi.IntInput) QosPortRangeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) QosPortRange {
- return vs[0].([]QosPortRange)[vs[1].(int)]
- }).(QosPortRangeOutput)
+// Resource tags.
+func (o RouteTableServiceGatewayResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v RouteTableServiceGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// Qos Traffic Profiler Port range properties.
-type QosPortRangeResponse struct {
- // Qos Port Range end.
- End *int `pulumi:"end"`
- // Qos Port Range start.
- Start *int `pulumi:"start"`
+// Resource type.
+func (o RouteTableServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Qos Traffic Profiler Port range properties.
-type QosPortRangeResponseOutput struct{ *pulumi.OutputState }
+type RouteTableServiceGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-func (QosPortRangeResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*QosPortRangeResponse)(nil)).Elem()
+func (RouteTableServiceGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RouteTableServiceGatewayResponse)(nil)).Elem()
}
-func (o QosPortRangeResponseOutput) ToQosPortRangeResponseOutput() QosPortRangeResponseOutput {
+func (o RouteTableServiceGatewayResponsePtrOutput) ToRouteTableServiceGatewayResponsePtrOutput() RouteTableServiceGatewayResponsePtrOutput {
return o
}
-func (o QosPortRangeResponseOutput) ToQosPortRangeResponseOutputWithContext(ctx context.Context) QosPortRangeResponseOutput {
+func (o RouteTableServiceGatewayResponsePtrOutput) ToRouteTableServiceGatewayResponsePtrOutputWithContext(ctx context.Context) RouteTableServiceGatewayResponsePtrOutput {
return o
}
-// Qos Port Range end.
-func (o QosPortRangeResponseOutput) End() pulumi.IntPtrOutput {
- return o.ApplyT(func(v QosPortRangeResponse) *int { return v.End }).(pulumi.IntPtrOutput)
+func (o RouteTableServiceGatewayResponsePtrOutput) Elem() RouteTableServiceGatewayResponseOutput {
+ return o.ApplyT(func(v *RouteTableServiceGatewayResponse) RouteTableServiceGatewayResponse {
+ if v != nil {
+ return *v
+ }
+ var ret RouteTableServiceGatewayResponse
+ return ret
+ }).(RouteTableServiceGatewayResponseOutput)
}
-// Qos Port Range start.
-func (o QosPortRangeResponseOutput) Start() pulumi.IntPtrOutput {
- return o.ApplyT(func(v QosPortRangeResponse) *int { return v.Start }).(pulumi.IntPtrOutput)
+// Whether to disable the routes learned by BGP on that route table. True means disable.
+func (o RouteTableServiceGatewayResponsePtrOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *RouteTableServiceGatewayResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DisableBgpRoutePropagation
+ }).(pulumi.BoolPtrOutput)
}
-type QosPortRangeResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (QosPortRangeResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]QosPortRangeResponse)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o RouteTableServiceGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-func (o QosPortRangeResponseArrayOutput) ToQosPortRangeResponseArrayOutput() QosPortRangeResponseArrayOutput {
- return o
+// Resource ID.
+func (o RouteTableServiceGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (o QosPortRangeResponseArrayOutput) ToQosPortRangeResponseArrayOutputWithContext(ctx context.Context) QosPortRangeResponseArrayOutput {
- return o
+// Resource location.
+func (o RouteTableServiceGatewayResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-func (o QosPortRangeResponseArrayOutput) Index(i pulumi.IntInput) QosPortRangeResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) QosPortRangeResponse {
- return vs[0].([]QosPortRangeResponse)[vs[1].(int)]
- }).(QosPortRangeResponseOutput)
+// Resource name.
+func (o RouteTableServiceGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-// Gateway or VpnServerConfiguration Radius server with radius secret details
-type RadiusAuthServerResponse struct {
- // Radius server IPAddress
- RadiusServerAddress *string `pulumi:"radiusServerAddress"`
- // Radius server secret
- RadiusServerSecret *string `pulumi:"radiusServerSecret"`
+// The provisioning state of the route table resource.
+func (o RouteTableServiceGatewayResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// Gateway or VpnServerConfiguration Radius server with radius secret details
-type RadiusAuthServerResponseOutput struct{ *pulumi.OutputState }
+// The resource GUID property of the route table.
+func (o RouteTableServiceGatewayResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
+}
-func (RadiusAuthServerResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RadiusAuthServerResponse)(nil)).Elem()
+// Collection of routes contained within a route table.
+func (o RouteTableServiceGatewayResponsePtrOutput) Routes() RouteServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v *RouteTableServiceGatewayResponse) []RouteServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Routes
+ }).(RouteServiceGatewayResponseArrayOutput)
}
-func (o RadiusAuthServerResponseOutput) ToRadiusAuthServerResponseOutput() RadiusAuthServerResponseOutput {
- return o
+// A collection of references to subnets.
+func (o RouteTableServiceGatewayResponsePtrOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v *RouteTableServiceGatewayResponse) []SubnetResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnets
+ }).(SubnetResponseArrayOutput)
}
-func (o RadiusAuthServerResponseOutput) ToRadiusAuthServerResponseOutputWithContext(ctx context.Context) RadiusAuthServerResponseOutput {
- return o
+// Resource tags.
+func (o RouteTableServiceGatewayResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *RouteTableServiceGatewayResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-// Radius server IPAddress
-func (o RadiusAuthServerResponseOutput) RadiusServerAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RadiusAuthServerResponse) *string { return v.RadiusServerAddress }).(pulumi.StringPtrOutput)
+// Resource type.
+func (o RouteTableServiceGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-// Radius server secret
-func (o RadiusAuthServerResponseOutput) RadiusServerSecret() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RadiusAuthServerResponse) *string { return v.RadiusServerSecret }).(pulumi.StringPtrOutput)
+// Route table resource.
+type RouteTableVirtualNetworkApplianceResponse struct {
+ // Whether to disable the routes learned by BGP on that route table. True means disable.
+ DisableBgpRoutePropagation *bool `pulumi:"disableBgpRoutePropagation"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The provisioning state of the route table resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The resource GUID property of the route table.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // Collection of routes contained within a route table.
+ Routes []RouteVirtualNetworkApplianceResponse `pulumi:"routes"`
+ // A collection of references to subnets.
+ Subnets []SubnetResponse `pulumi:"subnets"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-type RadiusAuthServerResponseArrayOutput struct{ *pulumi.OutputState }
+// Route table resource.
+type RouteTableVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
-func (RadiusAuthServerResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RadiusAuthServerResponse)(nil)).Elem()
+func (RouteTableVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteTableVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o RadiusAuthServerResponseArrayOutput) ToRadiusAuthServerResponseArrayOutput() RadiusAuthServerResponseArrayOutput {
+func (o RouteTableVirtualNetworkApplianceResponseOutput) ToRouteTableVirtualNetworkApplianceResponseOutput() RouteTableVirtualNetworkApplianceResponseOutput {
return o
}
-func (o RadiusAuthServerResponseArrayOutput) ToRadiusAuthServerResponseArrayOutputWithContext(ctx context.Context) RadiusAuthServerResponseArrayOutput {
+func (o RouteTableVirtualNetworkApplianceResponseOutput) ToRouteTableVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) RouteTableVirtualNetworkApplianceResponseOutput {
return o
}
-func (o RadiusAuthServerResponseArrayOutput) Index(i pulumi.IntInput) RadiusAuthServerResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) RadiusAuthServerResponse {
- return vs[0].([]RadiusAuthServerResponse)[vs[1].(int)]
- }).(RadiusAuthServerResponseOutput)
+// Whether to disable the routes learned by BGP on that route table. True means disable.
+func (o RouteTableVirtualNetworkApplianceResponseOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v RouteTableVirtualNetworkApplianceResponse) *bool { return v.DisableBgpRoutePropagation }).(pulumi.BoolPtrOutput)
}
-// Radius Server Settings.
-type RadiusServer struct {
- // The address of this radius server.
- RadiusServerAddress string `pulumi:"radiusServerAddress"`
- // The initial score assigned to this radius server.
- RadiusServerScore *float64 `pulumi:"radiusServerScore"`
- // The secret used for this radius server.
- RadiusServerSecret *string `pulumi:"radiusServerSecret"`
+// A unique read-only string that changes whenever the resource is updated.
+func (o RouteTableVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// RadiusServerInput is an input type that accepts RadiusServerArgs and RadiusServerOutput values.
-// You can construct a concrete instance of `RadiusServerInput` via:
-//
-// RadiusServerArgs{...}
-type RadiusServerInput interface {
- pulumi.Input
-
- ToRadiusServerOutput() RadiusServerOutput
- ToRadiusServerOutputWithContext(context.Context) RadiusServerOutput
+// Resource ID.
+func (o RouteTableVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTableVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Radius Server Settings.
-type RadiusServerArgs struct {
- // The address of this radius server.
- RadiusServerAddress pulumi.StringInput `pulumi:"radiusServerAddress"`
- // The initial score assigned to this radius server.
- RadiusServerScore pulumi.Float64PtrInput `pulumi:"radiusServerScore"`
- // The secret used for this radius server.
- RadiusServerSecret pulumi.StringPtrInput `pulumi:"radiusServerSecret"`
+// Resource location.
+func (o RouteTableVirtualNetworkApplianceResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTableVirtualNetworkApplianceResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (RadiusServerArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*RadiusServer)(nil)).Elem()
+// Resource name.
+func (o RouteTableVirtualNetworkApplianceResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableVirtualNetworkApplianceResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (i RadiusServerArgs) ToRadiusServerOutput() RadiusServerOutput {
- return i.ToRadiusServerOutputWithContext(context.Background())
+// The provisioning state of the route table resource.
+func (o RouteTableVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i RadiusServerArgs) ToRadiusServerOutputWithContext(ctx context.Context) RadiusServerOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RadiusServerOutput)
+// The resource GUID property of the route table.
+func (o RouteTableVirtualNetworkApplianceResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableVirtualNetworkApplianceResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// RadiusServerArrayInput is an input type that accepts RadiusServerArray and RadiusServerArrayOutput values.
-// You can construct a concrete instance of `RadiusServerArrayInput` via:
-//
-// RadiusServerArray{ RadiusServerArgs{...} }
-type RadiusServerArrayInput interface {
- pulumi.Input
-
- ToRadiusServerArrayOutput() RadiusServerArrayOutput
- ToRadiusServerArrayOutputWithContext(context.Context) RadiusServerArrayOutput
+// Collection of routes contained within a route table.
+func (o RouteTableVirtualNetworkApplianceResponseOutput) Routes() RouteVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v RouteTableVirtualNetworkApplianceResponse) []RouteVirtualNetworkApplianceResponse {
+ return v.Routes
+ }).(RouteVirtualNetworkApplianceResponseArrayOutput)
}
-type RadiusServerArray []RadiusServerInput
-
-func (RadiusServerArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RadiusServer)(nil)).Elem()
+// A collection of references to subnets.
+func (o RouteTableVirtualNetworkApplianceResponseOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v RouteTableVirtualNetworkApplianceResponse) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
}
-func (i RadiusServerArray) ToRadiusServerArrayOutput() RadiusServerArrayOutput {
- return i.ToRadiusServerArrayOutputWithContext(context.Background())
+// Resource tags.
+func (o RouteTableVirtualNetworkApplianceResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v RouteTableVirtualNetworkApplianceResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (i RadiusServerArray) ToRadiusServerArrayOutputWithContext(ctx context.Context) RadiusServerArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RadiusServerArrayOutput)
+// Resource type.
+func (o RouteTableVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteTableVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Radius Server Settings.
-type RadiusServerOutput struct{ *pulumi.OutputState }
+type RouteTableVirtualNetworkApplianceResponsePtrOutput struct{ *pulumi.OutputState }
-func (RadiusServerOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RadiusServer)(nil)).Elem()
+func (RouteTableVirtualNetworkApplianceResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RouteTableVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o RadiusServerOutput) ToRadiusServerOutput() RadiusServerOutput {
+func (o RouteTableVirtualNetworkApplianceResponsePtrOutput) ToRouteTableVirtualNetworkApplianceResponsePtrOutput() RouteTableVirtualNetworkApplianceResponsePtrOutput {
return o
}
-func (o RadiusServerOutput) ToRadiusServerOutputWithContext(ctx context.Context) RadiusServerOutput {
+func (o RouteTableVirtualNetworkApplianceResponsePtrOutput) ToRouteTableVirtualNetworkApplianceResponsePtrOutputWithContext(ctx context.Context) RouteTableVirtualNetworkApplianceResponsePtrOutput {
return o
}
-// The address of this radius server.
-func (o RadiusServerOutput) RadiusServerAddress() pulumi.StringOutput {
- return o.ApplyT(func(v RadiusServer) string { return v.RadiusServerAddress }).(pulumi.StringOutput)
+func (o RouteTableVirtualNetworkApplianceResponsePtrOutput) Elem() RouteTableVirtualNetworkApplianceResponseOutput {
+ return o.ApplyT(func(v *RouteTableVirtualNetworkApplianceResponse) RouteTableVirtualNetworkApplianceResponse {
+ if v != nil {
+ return *v
+ }
+ var ret RouteTableVirtualNetworkApplianceResponse
+ return ret
+ }).(RouteTableVirtualNetworkApplianceResponseOutput)
}
-// The initial score assigned to this radius server.
-func (o RadiusServerOutput) RadiusServerScore() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v RadiusServer) *float64 { return v.RadiusServerScore }).(pulumi.Float64PtrOutput)
+// Whether to disable the routes learned by BGP on that route table. True means disable.
+func (o RouteTableVirtualNetworkApplianceResponsePtrOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *RouteTableVirtualNetworkApplianceResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DisableBgpRoutePropagation
+ }).(pulumi.BoolPtrOutput)
}
-// The secret used for this radius server.
-func (o RadiusServerOutput) RadiusServerSecret() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RadiusServer) *string { return v.RadiusServerSecret }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o RouteTableVirtualNetworkApplianceResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-type RadiusServerArrayOutput struct{ *pulumi.OutputState }
+// Resource ID.
+func (o RouteTableVirtualNetworkApplianceResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
+}
-func (RadiusServerArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RadiusServer)(nil)).Elem()
+// Resource location.
+func (o RouteTableVirtualNetworkApplianceResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-func (o RadiusServerArrayOutput) ToRadiusServerArrayOutput() RadiusServerArrayOutput {
- return o
+// Resource name.
+func (o RouteTableVirtualNetworkApplianceResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o RadiusServerArrayOutput) ToRadiusServerArrayOutputWithContext(ctx context.Context) RadiusServerArrayOutput {
- return o
+// The provisioning state of the route table resource.
+func (o RouteTableVirtualNetworkApplianceResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-func (o RadiusServerArrayOutput) Index(i pulumi.IntInput) RadiusServerOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) RadiusServer {
- return vs[0].([]RadiusServer)[vs[1].(int)]
- }).(RadiusServerOutput)
+// The resource GUID property of the route table.
+func (o RouteTableVirtualNetworkApplianceResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
}
-// Radius Server Settings.
-type RadiusServerResponse struct {
- // The address of this radius server.
- RadiusServerAddress string `pulumi:"radiusServerAddress"`
- // The initial score assigned to this radius server.
- RadiusServerScore *float64 `pulumi:"radiusServerScore"`
- // The secret used for this radius server.
- RadiusServerSecret *string `pulumi:"radiusServerSecret"`
+// Collection of routes contained within a route table.
+func (o RouteTableVirtualNetworkApplianceResponsePtrOutput) Routes() RouteVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v *RouteTableVirtualNetworkApplianceResponse) []RouteVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Routes
+ }).(RouteVirtualNetworkApplianceResponseArrayOutput)
}
-// Radius Server Settings.
-type RadiusServerResponseOutput struct{ *pulumi.OutputState }
+// A collection of references to subnets.
+func (o RouteTableVirtualNetworkApplianceResponsePtrOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v *RouteTableVirtualNetworkApplianceResponse) []SubnetResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Subnets
+ }).(SubnetResponseArrayOutput)
+}
-func (RadiusServerResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RadiusServerResponse)(nil)).Elem()
+// Resource tags.
+func (o RouteTableVirtualNetworkApplianceResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *RouteTableVirtualNetworkApplianceResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-func (o RadiusServerResponseOutput) ToRadiusServerResponseOutput() RadiusServerResponseOutput {
- return o
+// Resource type.
+func (o RouteTableVirtualNetworkApplianceResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTableVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-func (o RadiusServerResponseOutput) ToRadiusServerResponseOutputWithContext(ctx context.Context) RadiusServerResponseOutput {
- return o
+// Properties of route target address
+type RouteTargetAddressPropertiesFormat struct {
+ // The private IPv4 or IPv6 address of the service gateway route target address.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // The Private IP allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // The reference to the subnet resource.
+ Subnet *CommonSubnet `pulumi:"subnet"`
}
-// The address of this radius server.
-func (o RadiusServerResponseOutput) RadiusServerAddress() pulumi.StringOutput {
- return o.ApplyT(func(v RadiusServerResponse) string { return v.RadiusServerAddress }).(pulumi.StringOutput)
+// Defaults sets the appropriate defaults for RouteTargetAddressPropertiesFormat
+func (val *RouteTargetAddressPropertiesFormat) Defaults() *RouteTargetAddressPropertiesFormat {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.Subnet = tmp.Subnet.Defaults()
+
+ return &tmp
}
-// The initial score assigned to this radius server.
-func (o RadiusServerResponseOutput) RadiusServerScore() pulumi.Float64PtrOutput {
- return o.ApplyT(func(v RadiusServerResponse) *float64 { return v.RadiusServerScore }).(pulumi.Float64PtrOutput)
+// RouteTargetAddressPropertiesFormatInput is an input type that accepts RouteTargetAddressPropertiesFormatArgs and RouteTargetAddressPropertiesFormatOutput values.
+// You can construct a concrete instance of `RouteTargetAddressPropertiesFormatInput` via:
+//
+// RouteTargetAddressPropertiesFormatArgs{...}
+type RouteTargetAddressPropertiesFormatInput interface {
+ pulumi.Input
+
+ ToRouteTargetAddressPropertiesFormatOutput() RouteTargetAddressPropertiesFormatOutput
+ ToRouteTargetAddressPropertiesFormatOutputWithContext(context.Context) RouteTargetAddressPropertiesFormatOutput
}
-// The secret used for this radius server.
-func (o RadiusServerResponseOutput) RadiusServerSecret() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RadiusServerResponse) *string { return v.RadiusServerSecret }).(pulumi.StringPtrOutput)
+// Properties of route target address
+type RouteTargetAddressPropertiesFormatArgs struct {
+ // The private IPv4 or IPv6 address of the service gateway route target address.
+ PrivateIPAddress pulumi.StringPtrInput `pulumi:"privateIPAddress"`
+ // The Private IP allocation method.
+ PrivateIPAllocationMethod pulumi.StringPtrInput `pulumi:"privateIPAllocationMethod"`
+ // The reference to the subnet resource.
+ Subnet CommonSubnetPtrInput `pulumi:"subnet"`
}
-type RadiusServerResponseArrayOutput struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for RouteTargetAddressPropertiesFormatArgs
+func (val *RouteTargetAddressPropertiesFormatArgs) Defaults() *RouteTargetAddressPropertiesFormatArgs {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
-func (RadiusServerResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RadiusServerResponse)(nil)).Elem()
+ return &tmp
+}
+func (RouteTargetAddressPropertiesFormatArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteTargetAddressPropertiesFormat)(nil)).Elem()
}
-func (o RadiusServerResponseArrayOutput) ToRadiusServerResponseArrayOutput() RadiusServerResponseArrayOutput {
- return o
+func (i RouteTargetAddressPropertiesFormatArgs) ToRouteTargetAddressPropertiesFormatOutput() RouteTargetAddressPropertiesFormatOutput {
+ return i.ToRouteTargetAddressPropertiesFormatOutputWithContext(context.Background())
}
-func (o RadiusServerResponseArrayOutput) ToRadiusServerResponseArrayOutputWithContext(ctx context.Context) RadiusServerResponseArrayOutput {
- return o
+func (i RouteTargetAddressPropertiesFormatArgs) ToRouteTargetAddressPropertiesFormatOutputWithContext(ctx context.Context) RouteTargetAddressPropertiesFormatOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RouteTargetAddressPropertiesFormatOutput)
}
-func (o RadiusServerResponseArrayOutput) Index(i pulumi.IntInput) RadiusServerResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) RadiusServerResponse {
- return vs[0].([]RadiusServerResponse)[vs[1].(int)]
- }).(RadiusServerResponseOutput)
+func (i RouteTargetAddressPropertiesFormatArgs) ToRouteTargetAddressPropertiesFormatPtrOutput() RouteTargetAddressPropertiesFormatPtrOutput {
+ return i.ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(context.Background())
}
-// Represents the Reachability Analysis Intent properties.
-type ReachabilityAnalysisIntentProperties struct {
- Description *string `pulumi:"description"`
- // Destination resource id to verify the reachability path of.
- DestinationResourceId string `pulumi:"destinationResourceId"`
- // IP traffic information.
- IpTraffic IPTraffic `pulumi:"ipTraffic"`
- // Source resource id to verify the reachability path of.
- SourceResourceId string `pulumi:"sourceResourceId"`
+func (i RouteTargetAddressPropertiesFormatArgs) ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(ctx context.Context) RouteTargetAddressPropertiesFormatPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RouteTargetAddressPropertiesFormatOutput).ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(ctx)
}
-// ReachabilityAnalysisIntentPropertiesInput is an input type that accepts ReachabilityAnalysisIntentPropertiesArgs and ReachabilityAnalysisIntentPropertiesOutput values.
-// You can construct a concrete instance of `ReachabilityAnalysisIntentPropertiesInput` via:
+// RouteTargetAddressPropertiesFormatPtrInput is an input type that accepts RouteTargetAddressPropertiesFormatArgs, RouteTargetAddressPropertiesFormatPtr and RouteTargetAddressPropertiesFormatPtrOutput values.
+// You can construct a concrete instance of `RouteTargetAddressPropertiesFormatPtrInput` via:
//
-// ReachabilityAnalysisIntentPropertiesArgs{...}
-type ReachabilityAnalysisIntentPropertiesInput interface {
+// RouteTargetAddressPropertiesFormatArgs{...}
+//
+// or:
+//
+// nil
+type RouteTargetAddressPropertiesFormatPtrInput interface {
pulumi.Input
- ToReachabilityAnalysisIntentPropertiesOutput() ReachabilityAnalysisIntentPropertiesOutput
- ToReachabilityAnalysisIntentPropertiesOutputWithContext(context.Context) ReachabilityAnalysisIntentPropertiesOutput
+ ToRouteTargetAddressPropertiesFormatPtrOutput() RouteTargetAddressPropertiesFormatPtrOutput
+ ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(context.Context) RouteTargetAddressPropertiesFormatPtrOutput
}
-// Represents the Reachability Analysis Intent properties.
-type ReachabilityAnalysisIntentPropertiesArgs struct {
- Description pulumi.StringPtrInput `pulumi:"description"`
- // Destination resource id to verify the reachability path of.
- DestinationResourceId pulumi.StringInput `pulumi:"destinationResourceId"`
- // IP traffic information.
- IpTraffic IPTrafficInput `pulumi:"ipTraffic"`
- // Source resource id to verify the reachability path of.
- SourceResourceId pulumi.StringInput `pulumi:"sourceResourceId"`
+type routeTargetAddressPropertiesFormatPtrType RouteTargetAddressPropertiesFormatArgs
+
+func RouteTargetAddressPropertiesFormatPtr(v *RouteTargetAddressPropertiesFormatArgs) RouteTargetAddressPropertiesFormatPtrInput {
+ return (*routeTargetAddressPropertiesFormatPtrType)(v)
}
-func (ReachabilityAnalysisIntentPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ReachabilityAnalysisIntentProperties)(nil)).Elem()
+func (*routeTargetAddressPropertiesFormatPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**RouteTargetAddressPropertiesFormat)(nil)).Elem()
}
-func (i ReachabilityAnalysisIntentPropertiesArgs) ToReachabilityAnalysisIntentPropertiesOutput() ReachabilityAnalysisIntentPropertiesOutput {
- return i.ToReachabilityAnalysisIntentPropertiesOutputWithContext(context.Background())
+func (i *routeTargetAddressPropertiesFormatPtrType) ToRouteTargetAddressPropertiesFormatPtrOutput() RouteTargetAddressPropertiesFormatPtrOutput {
+ return i.ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(context.Background())
}
-func (i ReachabilityAnalysisIntentPropertiesArgs) ToReachabilityAnalysisIntentPropertiesOutputWithContext(ctx context.Context) ReachabilityAnalysisIntentPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ReachabilityAnalysisIntentPropertiesOutput)
+func (i *routeTargetAddressPropertiesFormatPtrType) ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(ctx context.Context) RouteTargetAddressPropertiesFormatPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RouteTargetAddressPropertiesFormatPtrOutput)
}
-// Represents the Reachability Analysis Intent properties.
-type ReachabilityAnalysisIntentPropertiesOutput struct{ *pulumi.OutputState }
+// Properties of route target address
+type RouteTargetAddressPropertiesFormatOutput struct{ *pulumi.OutputState }
-func (ReachabilityAnalysisIntentPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ReachabilityAnalysisIntentProperties)(nil)).Elem()
+func (RouteTargetAddressPropertiesFormatOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteTargetAddressPropertiesFormat)(nil)).Elem()
}
-func (o ReachabilityAnalysisIntentPropertiesOutput) ToReachabilityAnalysisIntentPropertiesOutput() ReachabilityAnalysisIntentPropertiesOutput {
+func (o RouteTargetAddressPropertiesFormatOutput) ToRouteTargetAddressPropertiesFormatOutput() RouteTargetAddressPropertiesFormatOutput {
return o
}
-func (o ReachabilityAnalysisIntentPropertiesOutput) ToReachabilityAnalysisIntentPropertiesOutputWithContext(ctx context.Context) ReachabilityAnalysisIntentPropertiesOutput {
+func (o RouteTargetAddressPropertiesFormatOutput) ToRouteTargetAddressPropertiesFormatOutputWithContext(ctx context.Context) RouteTargetAddressPropertiesFormatOutput {
return o
}
-func (o ReachabilityAnalysisIntentPropertiesOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ReachabilityAnalysisIntentProperties) *string { return v.Description }).(pulumi.StringPtrOutput)
-}
-
-// Destination resource id to verify the reachability path of.
-func (o ReachabilityAnalysisIntentPropertiesOutput) DestinationResourceId() pulumi.StringOutput {
- return o.ApplyT(func(v ReachabilityAnalysisIntentProperties) string { return v.DestinationResourceId }).(pulumi.StringOutput)
+func (o RouteTargetAddressPropertiesFormatOutput) ToRouteTargetAddressPropertiesFormatPtrOutput() RouteTargetAddressPropertiesFormatPtrOutput {
+ return o.ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(context.Background())
}
-// IP traffic information.
-func (o ReachabilityAnalysisIntentPropertiesOutput) IpTraffic() IPTrafficOutput {
- return o.ApplyT(func(v ReachabilityAnalysisIntentProperties) IPTraffic { return v.IpTraffic }).(IPTrafficOutput)
+func (o RouteTargetAddressPropertiesFormatOutput) ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(ctx context.Context) RouteTargetAddressPropertiesFormatPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v RouteTargetAddressPropertiesFormat) *RouteTargetAddressPropertiesFormat {
+ return &v
+ }).(RouteTargetAddressPropertiesFormatPtrOutput)
}
-// Source resource id to verify the reachability path of.
-func (o ReachabilityAnalysisIntentPropertiesOutput) SourceResourceId() pulumi.StringOutput {
- return o.ApplyT(func(v ReachabilityAnalysisIntentProperties) string { return v.SourceResourceId }).(pulumi.StringOutput)
+// The private IPv4 or IPv6 address of the service gateway route target address.
+func (o RouteTargetAddressPropertiesFormatOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTargetAddressPropertiesFormat) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-// Represents the Reachability Analysis Intent properties.
-type ReachabilityAnalysisIntentPropertiesResponse struct {
- Description *string `pulumi:"description"`
- // Destination resource id to verify the reachability path of.
- DestinationResourceId string `pulumi:"destinationResourceId"`
- // IP traffic information.
- IpTraffic IPTrafficResponse `pulumi:"ipTraffic"`
- // Provisioning states of a resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Source resource id to verify the reachability path of.
- SourceResourceId string `pulumi:"sourceResourceId"`
+// The Private IP allocation method.
+func (o RouteTargetAddressPropertiesFormatOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTargetAddressPropertiesFormat) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-// Represents the Reachability Analysis Intent properties.
-type ReachabilityAnalysisIntentPropertiesResponseOutput struct{ *pulumi.OutputState }
+// The reference to the subnet resource.
+func (o RouteTargetAddressPropertiesFormatOutput) Subnet() CommonSubnetPtrOutput {
+ return o.ApplyT(func(v RouteTargetAddressPropertiesFormat) *CommonSubnet { return v.Subnet }).(CommonSubnetPtrOutput)
+}
-func (ReachabilityAnalysisIntentPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ReachabilityAnalysisIntentPropertiesResponse)(nil)).Elem()
+type RouteTargetAddressPropertiesFormatPtrOutput struct{ *pulumi.OutputState }
+
+func (RouteTargetAddressPropertiesFormatPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RouteTargetAddressPropertiesFormat)(nil)).Elem()
}
-func (o ReachabilityAnalysisIntentPropertiesResponseOutput) ToReachabilityAnalysisIntentPropertiesResponseOutput() ReachabilityAnalysisIntentPropertiesResponseOutput {
+func (o RouteTargetAddressPropertiesFormatPtrOutput) ToRouteTargetAddressPropertiesFormatPtrOutput() RouteTargetAddressPropertiesFormatPtrOutput {
return o
}
-func (o ReachabilityAnalysisIntentPropertiesResponseOutput) ToReachabilityAnalysisIntentPropertiesResponseOutputWithContext(ctx context.Context) ReachabilityAnalysisIntentPropertiesResponseOutput {
+func (o RouteTargetAddressPropertiesFormatPtrOutput) ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(ctx context.Context) RouteTargetAddressPropertiesFormatPtrOutput {
return o
}
-func (o ReachabilityAnalysisIntentPropertiesResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ReachabilityAnalysisIntentPropertiesResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o RouteTargetAddressPropertiesFormatPtrOutput) Elem() RouteTargetAddressPropertiesFormatOutput {
+ return o.ApplyT(func(v *RouteTargetAddressPropertiesFormat) RouteTargetAddressPropertiesFormat {
+ if v != nil {
+ return *v
+ }
+ var ret RouteTargetAddressPropertiesFormat
+ return ret
+ }).(RouteTargetAddressPropertiesFormatOutput)
}
-// Destination resource id to verify the reachability path of.
-func (o ReachabilityAnalysisIntentPropertiesResponseOutput) DestinationResourceId() pulumi.StringOutput {
- return o.ApplyT(func(v ReachabilityAnalysisIntentPropertiesResponse) string { return v.DestinationResourceId }).(pulumi.StringOutput)
+// The private IPv4 or IPv6 address of the service gateway route target address.
+func (o RouteTargetAddressPropertiesFormatPtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTargetAddressPropertiesFormat) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAddress
+ }).(pulumi.StringPtrOutput)
}
-// IP traffic information.
-func (o ReachabilityAnalysisIntentPropertiesResponseOutput) IpTraffic() IPTrafficResponseOutput {
- return o.ApplyT(func(v ReachabilityAnalysisIntentPropertiesResponse) IPTrafficResponse { return v.IpTraffic }).(IPTrafficResponseOutput)
+// The Private IP allocation method.
+func (o RouteTargetAddressPropertiesFormatPtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTargetAddressPropertiesFormat) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
}
-// Provisioning states of a resource.
-func (o ReachabilityAnalysisIntentPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ReachabilityAnalysisIntentPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The reference to the subnet resource.
+func (o RouteTargetAddressPropertiesFormatPtrOutput) Subnet() CommonSubnetPtrOutput {
+ return o.ApplyT(func(v *RouteTargetAddressPropertiesFormat) *CommonSubnet {
+ if v == nil {
+ return nil
+ }
+ return v.Subnet
+ }).(CommonSubnetPtrOutput)
}
-// Source resource id to verify the reachability path of.
-func (o ReachabilityAnalysisIntentPropertiesResponseOutput) SourceResourceId() pulumi.StringOutput {
- return o.ApplyT(func(v ReachabilityAnalysisIntentPropertiesResponse) string { return v.SourceResourceId }).(pulumi.StringOutput)
+// Properties of route target address
+type RouteTargetAddressPropertiesFormatResponse struct {
+ // The private IPv4 or IPv6 address of the service gateway route target address.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // The Private IP allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // The reference to the subnet resource.
+ Subnet *SubnetResponseV1 `pulumi:"subnet"`
}
-// Represents the Reachability Analysis Run properties.
-type ReachabilityAnalysisRunProperties struct {
- Description *string `pulumi:"description"`
- // Id of the intent resource to run analysis on.
- IntentId string `pulumi:"intentId"`
+// Defaults sets the appropriate defaults for RouteTargetAddressPropertiesFormatResponse
+func (val *RouteTargetAddressPropertiesFormatResponse) Defaults() *RouteTargetAddressPropertiesFormatResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.Subnet = tmp.Subnet.Defaults()
+
+ return &tmp
}
-// ReachabilityAnalysisRunPropertiesInput is an input type that accepts ReachabilityAnalysisRunPropertiesArgs and ReachabilityAnalysisRunPropertiesOutput values.
-// You can construct a concrete instance of `ReachabilityAnalysisRunPropertiesInput` via:
-//
-// ReachabilityAnalysisRunPropertiesArgs{...}
-type ReachabilityAnalysisRunPropertiesInput interface {
- pulumi.Input
+// Properties of route target address
+type RouteTargetAddressPropertiesFormatResponseOutput struct{ *pulumi.OutputState }
- ToReachabilityAnalysisRunPropertiesOutput() ReachabilityAnalysisRunPropertiesOutput
- ToReachabilityAnalysisRunPropertiesOutputWithContext(context.Context) ReachabilityAnalysisRunPropertiesOutput
+func (RouteTargetAddressPropertiesFormatResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteTargetAddressPropertiesFormatResponse)(nil)).Elem()
}
-// Represents the Reachability Analysis Run properties.
-type ReachabilityAnalysisRunPropertiesArgs struct {
- Description pulumi.StringPtrInput `pulumi:"description"`
- // Id of the intent resource to run analysis on.
- IntentId pulumi.StringInput `pulumi:"intentId"`
+func (o RouteTargetAddressPropertiesFormatResponseOutput) ToRouteTargetAddressPropertiesFormatResponseOutput() RouteTargetAddressPropertiesFormatResponseOutput {
+ return o
}
-func (ReachabilityAnalysisRunPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ReachabilityAnalysisRunProperties)(nil)).Elem()
+func (o RouteTargetAddressPropertiesFormatResponseOutput) ToRouteTargetAddressPropertiesFormatResponseOutputWithContext(ctx context.Context) RouteTargetAddressPropertiesFormatResponseOutput {
+ return o
}
-func (i ReachabilityAnalysisRunPropertiesArgs) ToReachabilityAnalysisRunPropertiesOutput() ReachabilityAnalysisRunPropertiesOutput {
- return i.ToReachabilityAnalysisRunPropertiesOutputWithContext(context.Background())
+// The private IPv4 or IPv6 address of the service gateway route target address.
+func (o RouteTargetAddressPropertiesFormatResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTargetAddressPropertiesFormatResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-func (i ReachabilityAnalysisRunPropertiesArgs) ToReachabilityAnalysisRunPropertiesOutputWithContext(ctx context.Context) ReachabilityAnalysisRunPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ReachabilityAnalysisRunPropertiesOutput)
+// The Private IP allocation method.
+func (o RouteTargetAddressPropertiesFormatResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteTargetAddressPropertiesFormatResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-// Represents the Reachability Analysis Run properties.
-type ReachabilityAnalysisRunPropertiesOutput struct{ *pulumi.OutputState }
+// The reference to the subnet resource.
+func (o RouteTargetAddressPropertiesFormatResponseOutput) Subnet() SubnetResponseV1PtrOutput {
+ return o.ApplyT(func(v RouteTargetAddressPropertiesFormatResponse) *SubnetResponseV1 { return v.Subnet }).(SubnetResponseV1PtrOutput)
+}
-func (ReachabilityAnalysisRunPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ReachabilityAnalysisRunProperties)(nil)).Elem()
+type RouteTargetAddressPropertiesFormatResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (RouteTargetAddressPropertiesFormatResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RouteTargetAddressPropertiesFormatResponse)(nil)).Elem()
}
-func (o ReachabilityAnalysisRunPropertiesOutput) ToReachabilityAnalysisRunPropertiesOutput() ReachabilityAnalysisRunPropertiesOutput {
+func (o RouteTargetAddressPropertiesFormatResponsePtrOutput) ToRouteTargetAddressPropertiesFormatResponsePtrOutput() RouteTargetAddressPropertiesFormatResponsePtrOutput {
return o
}
-func (o ReachabilityAnalysisRunPropertiesOutput) ToReachabilityAnalysisRunPropertiesOutputWithContext(ctx context.Context) ReachabilityAnalysisRunPropertiesOutput {
+func (o RouteTargetAddressPropertiesFormatResponsePtrOutput) ToRouteTargetAddressPropertiesFormatResponsePtrOutputWithContext(ctx context.Context) RouteTargetAddressPropertiesFormatResponsePtrOutput {
return o
}
-func (o ReachabilityAnalysisRunPropertiesOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ReachabilityAnalysisRunProperties) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o RouteTargetAddressPropertiesFormatResponsePtrOutput) Elem() RouteTargetAddressPropertiesFormatResponseOutput {
+ return o.ApplyT(func(v *RouteTargetAddressPropertiesFormatResponse) RouteTargetAddressPropertiesFormatResponse {
+ if v != nil {
+ return *v
+ }
+ var ret RouteTargetAddressPropertiesFormatResponse
+ return ret
+ }).(RouteTargetAddressPropertiesFormatResponseOutput)
}
-// Id of the intent resource to run analysis on.
-func (o ReachabilityAnalysisRunPropertiesOutput) IntentId() pulumi.StringOutput {
- return o.ApplyT(func(v ReachabilityAnalysisRunProperties) string { return v.IntentId }).(pulumi.StringOutput)
+// The private IPv4 or IPv6 address of the service gateway route target address.
+func (o RouteTargetAddressPropertiesFormatResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTargetAddressPropertiesFormatResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAddress
+ }).(pulumi.StringPtrOutput)
}
-// Represents the Reachability Analysis Run properties.
-type ReachabilityAnalysisRunPropertiesResponse struct {
- AnalysisResult string `pulumi:"analysisResult"`
- Description *string `pulumi:"description"`
- ErrorMessage string `pulumi:"errorMessage"`
- // Intent information.
- IntentContent IntentContentResponse `pulumi:"intentContent"`
- // Id of the intent resource to run analysis on.
- IntentId string `pulumi:"intentId"`
- // Provisioning states of a resource.
+// The Private IP allocation method.
+func (o RouteTargetAddressPropertiesFormatResponsePtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *RouteTargetAddressPropertiesFormatResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateIPAllocationMethod
+ }).(pulumi.StringPtrOutput)
+}
+
+// The reference to the subnet resource.
+func (o RouteTargetAddressPropertiesFormatResponsePtrOutput) Subnet() SubnetResponseV1PtrOutput {
+ return o.ApplyT(func(v *RouteTargetAddressPropertiesFormatResponse) *SubnetResponseV1 {
+ if v == nil {
+ return nil
+ }
+ return v.Subnet
+ }).(SubnetResponseV1PtrOutput)
+}
+
+// Route resource.
+type RouteVirtualNetworkApplianceResponse struct {
+ // The destination CIDR to which the route applies.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // A value indicating whether this route overrides overlapping BGP routes regardless of LPM.
+ HasBgpOverride bool `pulumi:"hasBgpOverride"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
+ NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
+ // The type of Azure hop the packet should be sent to.
+ NextHopType string `pulumi:"nextHopType"`
+ // The provisioning state of the route resource.
ProvisioningState string `pulumi:"provisioningState"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// Represents the Reachability Analysis Run properties.
-type ReachabilityAnalysisRunPropertiesResponseOutput struct{ *pulumi.OutputState }
+// Route resource.
+type RouteVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
-func (ReachabilityAnalysisRunPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ReachabilityAnalysisRunPropertiesResponse)(nil)).Elem()
+func (RouteVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RouteVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o ReachabilityAnalysisRunPropertiesResponseOutput) ToReachabilityAnalysisRunPropertiesResponseOutput() ReachabilityAnalysisRunPropertiesResponseOutput {
+func (o RouteVirtualNetworkApplianceResponseOutput) ToRouteVirtualNetworkApplianceResponseOutput() RouteVirtualNetworkApplianceResponseOutput {
return o
}
-func (o ReachabilityAnalysisRunPropertiesResponseOutput) ToReachabilityAnalysisRunPropertiesResponseOutputWithContext(ctx context.Context) ReachabilityAnalysisRunPropertiesResponseOutput {
+func (o RouteVirtualNetworkApplianceResponseOutput) ToRouteVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) RouteVirtualNetworkApplianceResponseOutput {
return o
}
-func (o ReachabilityAnalysisRunPropertiesResponseOutput) AnalysisResult() pulumi.StringOutput {
- return o.ApplyT(func(v ReachabilityAnalysisRunPropertiesResponse) string { return v.AnalysisResult }).(pulumi.StringOutput)
+// The destination CIDR to which the route applies.
+func (o RouteVirtualNetworkApplianceResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteVirtualNetworkApplianceResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-func (o ReachabilityAnalysisRunPropertiesResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ReachabilityAnalysisRunPropertiesResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o RouteVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (o ReachabilityAnalysisRunPropertiesResponseOutput) ErrorMessage() pulumi.StringOutput {
- return o.ApplyT(func(v ReachabilityAnalysisRunPropertiesResponse) string { return v.ErrorMessage }).(pulumi.StringOutput)
+// A value indicating whether this route overrides overlapping BGP routes regardless of LPM.
+func (o RouteVirtualNetworkApplianceResponseOutput) HasBgpOverride() pulumi.BoolOutput {
+ return o.ApplyT(func(v RouteVirtualNetworkApplianceResponse) bool { return v.HasBgpOverride }).(pulumi.BoolOutput)
}
-// Intent information.
-func (o ReachabilityAnalysisRunPropertiesResponseOutput) IntentContent() IntentContentResponseOutput {
- return o.ApplyT(func(v ReachabilityAnalysisRunPropertiesResponse) IntentContentResponse { return v.IntentContent }).(IntentContentResponseOutput)
+// Resource ID.
+func (o RouteVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Id of the intent resource to run analysis on.
-func (o ReachabilityAnalysisRunPropertiesResponseOutput) IntentId() pulumi.StringOutput {
- return o.ApplyT(func(v ReachabilityAnalysisRunPropertiesResponse) string { return v.IntentId }).(pulumi.StringOutput)
+// Name of the resource.
+func (o RouteVirtualNetworkApplianceResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteVirtualNetworkApplianceResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Provisioning states of a resource.
-func (o ReachabilityAnalysisRunPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ReachabilityAnalysisRunPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
+func (o RouteVirtualNetworkApplianceResponseOutput) NextHopIpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RouteVirtualNetworkApplianceResponse) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
}
-// A collective group of information about the record set information.
-type RecordSetResponse struct {
- // Fqdn that resolves to private endpoint ip address.
- Fqdn *string `pulumi:"fqdn"`
- // The private ip address of the private endpoint.
- IpAddresses []string `pulumi:"ipAddresses"`
- // The provisioning state of the recordset.
- ProvisioningState string `pulumi:"provisioningState"`
- // Recordset name.
- RecordSetName *string `pulumi:"recordSetName"`
- // Resource record type.
- RecordType *string `pulumi:"recordType"`
- // Recordset time to live.
- Ttl *int `pulumi:"ttl"`
+// The type of Azure hop the packet should be sent to.
+func (o RouteVirtualNetworkApplianceResponseOutput) NextHopType() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteVirtualNetworkApplianceResponse) string { return v.NextHopType }).(pulumi.StringOutput)
}
-// A collective group of information about the record set information.
-type RecordSetResponseOutput struct{ *pulumi.OutputState }
+// The provisioning state of the route resource.
+func (o RouteVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+}
-func (RecordSetResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RecordSetResponse)(nil)).Elem()
+// Resource type.
+func (o RouteVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v RouteVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (o RecordSetResponseOutput) ToRecordSetResponseOutput() RecordSetResponseOutput {
- return o
+type RouteVirtualNetworkApplianceResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (RouteVirtualNetworkApplianceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RouteVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o RecordSetResponseOutput) ToRecordSetResponseOutputWithContext(ctx context.Context) RecordSetResponseOutput {
+func (o RouteVirtualNetworkApplianceResponseArrayOutput) ToRouteVirtualNetworkApplianceResponseArrayOutput() RouteVirtualNetworkApplianceResponseArrayOutput {
return o
}
-// Fqdn that resolves to private endpoint ip address.
-func (o RecordSetResponseOutput) Fqdn() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RecordSetResponse) *string { return v.Fqdn }).(pulumi.StringPtrOutput)
+func (o RouteVirtualNetworkApplianceResponseArrayOutput) ToRouteVirtualNetworkApplianceResponseArrayOutputWithContext(ctx context.Context) RouteVirtualNetworkApplianceResponseArrayOutput {
+ return o
}
-// The private ip address of the private endpoint.
-func (o RecordSetResponseOutput) IpAddresses() pulumi.StringArrayOutput {
- return o.ApplyT(func(v RecordSetResponse) []string { return v.IpAddresses }).(pulumi.StringArrayOutput)
+func (o RouteVirtualNetworkApplianceResponseArrayOutput) Index(i pulumi.IntInput) RouteVirtualNetworkApplianceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteVirtualNetworkApplianceResponse {
+ return vs[0].([]RouteVirtualNetworkApplianceResponse)[vs[1].(int)]
+ }).(RouteVirtualNetworkApplianceResponseOutput)
}
-// The provisioning state of the recordset.
-func (o RecordSetResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v RecordSetResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationType struct {
+ // The resource id RouteTable associated with this RoutingConfiguration.
+ AssociatedRouteTable *SubResource `pulumi:"associatedRouteTable"`
+ // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+ InboundRouteMap *SubResource `pulumi:"inboundRouteMap"`
+ // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+ OutboundRouteMap *SubResource `pulumi:"outboundRouteMap"`
+ // The list of RouteTables to advertise the routes to.
+ PropagatedRouteTables *PropagatedRouteTable `pulumi:"propagatedRouteTables"`
+ // List of routes that control routing from VirtualHub into a virtual network connection.
+ VnetRoutes *VnetRoute `pulumi:"vnetRoutes"`
}
-// Recordset name.
-func (o RecordSetResponseOutput) RecordSetName() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RecordSetResponse) *string { return v.RecordSetName }).(pulumi.StringPtrOutput)
-}
+// RoutingConfigurationTypeInput is an input type that accepts RoutingConfigurationTypeArgs and RoutingConfigurationTypeOutput values.
+// You can construct a concrete instance of `RoutingConfigurationTypeInput` via:
+//
+// RoutingConfigurationTypeArgs{...}
+type RoutingConfigurationTypeInput interface {
+ pulumi.Input
-// Resource record type.
-func (o RecordSetResponseOutput) RecordType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RecordSetResponse) *string { return v.RecordType }).(pulumi.StringPtrOutput)
+ ToRoutingConfigurationTypeOutput() RoutingConfigurationTypeOutput
+ ToRoutingConfigurationTypeOutputWithContext(context.Context) RoutingConfigurationTypeOutput
}
-// Recordset time to live.
-func (o RecordSetResponseOutput) Ttl() pulumi.IntPtrOutput {
- return o.ApplyT(func(v RecordSetResponse) *int { return v.Ttl }).(pulumi.IntPtrOutput)
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationTypeArgs struct {
+ // The resource id RouteTable associated with this RoutingConfiguration.
+ AssociatedRouteTable SubResourcePtrInput `pulumi:"associatedRouteTable"`
+ // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+ InboundRouteMap SubResourcePtrInput `pulumi:"inboundRouteMap"`
+ // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+ OutboundRouteMap SubResourcePtrInput `pulumi:"outboundRouteMap"`
+ // The list of RouteTables to advertise the routes to.
+ PropagatedRouteTables PropagatedRouteTablePtrInput `pulumi:"propagatedRouteTables"`
+ // List of routes that control routing from VirtualHub into a virtual network connection.
+ VnetRoutes VnetRoutePtrInput `pulumi:"vnetRoutes"`
}
-type RecordSetResponseArrayOutput struct{ *pulumi.OutputState }
+func (RoutingConfigurationTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingConfigurationType)(nil)).Elem()
+}
-func (RecordSetResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RecordSetResponse)(nil)).Elem()
+func (i RoutingConfigurationTypeArgs) ToRoutingConfigurationTypeOutput() RoutingConfigurationTypeOutput {
+ return i.ToRoutingConfigurationTypeOutputWithContext(context.Background())
}
-func (o RecordSetResponseArrayOutput) ToRecordSetResponseArrayOutput() RecordSetResponseArrayOutput {
- return o
+func (i RoutingConfigurationTypeArgs) ToRoutingConfigurationTypeOutputWithContext(ctx context.Context) RoutingConfigurationTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationTypeOutput)
}
-func (o RecordSetResponseArrayOutput) ToRecordSetResponseArrayOutputWithContext(ctx context.Context) RecordSetResponseArrayOutput {
- return o
+func (i RoutingConfigurationTypeArgs) ToRoutingConfigurationTypePtrOutput() RoutingConfigurationTypePtrOutput {
+ return i.ToRoutingConfigurationTypePtrOutputWithContext(context.Background())
}
-func (o RecordSetResponseArrayOutput) Index(i pulumi.IntInput) RecordSetResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) RecordSetResponse {
- return vs[0].([]RecordSetResponse)[vs[1].(int)]
- }).(RecordSetResponseOutput)
+func (i RoutingConfigurationTypeArgs) ToRoutingConfigurationTypePtrOutputWithContext(ctx context.Context) RoutingConfigurationTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationTypeOutput).ToRoutingConfigurationTypePtrOutputWithContext(ctx)
}
-// Reference to a public IP address.
-type ReferencedPublicIpAddressResponse struct {
- // The PublicIPAddress Reference.
- Id *string `pulumi:"id"`
+// RoutingConfigurationTypePtrInput is an input type that accepts RoutingConfigurationTypeArgs, RoutingConfigurationTypePtr and RoutingConfigurationTypePtrOutput values.
+// You can construct a concrete instance of `RoutingConfigurationTypePtrInput` via:
+//
+// RoutingConfigurationTypeArgs{...}
+//
+// or:
+//
+// nil
+type RoutingConfigurationTypePtrInput interface {
+ pulumi.Input
+
+ ToRoutingConfigurationTypePtrOutput() RoutingConfigurationTypePtrOutput
+ ToRoutingConfigurationTypePtrOutputWithContext(context.Context) RoutingConfigurationTypePtrOutput
}
-// Reference to a public IP address.
-type ReferencedPublicIpAddressResponseOutput struct{ *pulumi.OutputState }
+type routingConfigurationTypePtrType RoutingConfigurationTypeArgs
-func (ReferencedPublicIpAddressResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ReferencedPublicIpAddressResponse)(nil)).Elem()
+func RoutingConfigurationTypePtr(v *RoutingConfigurationTypeArgs) RoutingConfigurationTypePtrInput {
+ return (*routingConfigurationTypePtrType)(v)
}
-func (o ReferencedPublicIpAddressResponseOutput) ToReferencedPublicIpAddressResponseOutput() ReferencedPublicIpAddressResponseOutput {
- return o
+func (*routingConfigurationTypePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**RoutingConfigurationType)(nil)).Elem()
}
-func (o ReferencedPublicIpAddressResponseOutput) ToReferencedPublicIpAddressResponseOutputWithContext(ctx context.Context) ReferencedPublicIpAddressResponseOutput {
- return o
+func (i *routingConfigurationTypePtrType) ToRoutingConfigurationTypePtrOutput() RoutingConfigurationTypePtrOutput {
+ return i.ToRoutingConfigurationTypePtrOutputWithContext(context.Background())
}
-// The PublicIPAddress Reference.
-func (o ReferencedPublicIpAddressResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ReferencedPublicIpAddressResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (i *routingConfigurationTypePtrType) ToRoutingConfigurationTypePtrOutputWithContext(ctx context.Context) RoutingConfigurationTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationTypePtrOutput)
}
-type ReferencedPublicIpAddressResponseArrayOutput struct{ *pulumi.OutputState }
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationTypeOutput struct{ *pulumi.OutputState }
-func (ReferencedPublicIpAddressResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ReferencedPublicIpAddressResponse)(nil)).Elem()
+func (RoutingConfigurationTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingConfigurationType)(nil)).Elem()
}
-func (o ReferencedPublicIpAddressResponseArrayOutput) ToReferencedPublicIpAddressResponseArrayOutput() ReferencedPublicIpAddressResponseArrayOutput {
+func (o RoutingConfigurationTypeOutput) ToRoutingConfigurationTypeOutput() RoutingConfigurationTypeOutput {
return o
}
-func (o ReferencedPublicIpAddressResponseArrayOutput) ToReferencedPublicIpAddressResponseArrayOutputWithContext(ctx context.Context) ReferencedPublicIpAddressResponseArrayOutput {
+func (o RoutingConfigurationTypeOutput) ToRoutingConfigurationTypeOutputWithContext(ctx context.Context) RoutingConfigurationTypeOutput {
return o
}
-func (o ReferencedPublicIpAddressResponseArrayOutput) Index(i pulumi.IntInput) ReferencedPublicIpAddressResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReferencedPublicIpAddressResponse {
- return vs[0].([]ReferencedPublicIpAddressResponse)[vs[1].(int)]
- }).(ReferencedPublicIpAddressResponseOutput)
+func (o RoutingConfigurationTypeOutput) ToRoutingConfigurationTypePtrOutput() RoutingConfigurationTypePtrOutput {
+ return o.ToRoutingConfigurationTypePtrOutputWithContext(context.Background())
}
-// Gateway Resiliency based Recommendations
-type ResiliencyRecommendationComponentsResponse struct {
- // Current Score of the gateway
- CurrentScore *string `pulumi:"currentScore"`
- // Max score that the gateway can achieve if the specified recommendation is applied
- MaxScore *string `pulumi:"maxScore"`
- // Name of the Resiliency based Recommendation Component
- Name *string `pulumi:"name"`
- // List of Gateway Resiliency based Recommendations
- Recommendations []GatewayResiliencyRecommendationResponse `pulumi:"recommendations"`
+func (o RoutingConfigurationTypeOutput) ToRoutingConfigurationTypePtrOutputWithContext(ctx context.Context) RoutingConfigurationTypePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v RoutingConfigurationType) *RoutingConfigurationType {
+ return &v
+ }).(RoutingConfigurationTypePtrOutput)
}
-// Gateway Resiliency based Recommendations
-type ResiliencyRecommendationComponentsResponseOutput struct{ *pulumi.OutputState }
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationTypeOutput) AssociatedRouteTable() SubResourcePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationType) *SubResource { return v.AssociatedRouteTable }).(SubResourcePtrOutput)
+}
-func (ResiliencyRecommendationComponentsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ResiliencyRecommendationComponentsResponse)(nil)).Elem()
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationTypeOutput) InboundRouteMap() SubResourcePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationType) *SubResource { return v.InboundRouteMap }).(SubResourcePtrOutput)
}
-func (o ResiliencyRecommendationComponentsResponseOutput) ToResiliencyRecommendationComponentsResponseOutput() ResiliencyRecommendationComponentsResponseOutput {
- return o
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationTypeOutput) OutboundRouteMap() SubResourcePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationType) *SubResource { return v.OutboundRouteMap }).(SubResourcePtrOutput)
}
-func (o ResiliencyRecommendationComponentsResponseOutput) ToResiliencyRecommendationComponentsResponseOutputWithContext(ctx context.Context) ResiliencyRecommendationComponentsResponseOutput {
- return o
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationTypeOutput) PropagatedRouteTables() PropagatedRouteTablePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationType) *PropagatedRouteTable { return v.PropagatedRouteTables }).(PropagatedRouteTablePtrOutput)
}
-// Current Score of the gateway
-func (o ResiliencyRecommendationComponentsResponseOutput) CurrentScore() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ResiliencyRecommendationComponentsResponse) *string { return v.CurrentScore }).(pulumi.StringPtrOutput)
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationTypeOutput) VnetRoutes() VnetRoutePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationType) *VnetRoute { return v.VnetRoutes }).(VnetRoutePtrOutput)
}
-// Max score that the gateway can achieve if the specified recommendation is applied
-func (o ResiliencyRecommendationComponentsResponseOutput) MaxScore() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ResiliencyRecommendationComponentsResponse) *string { return v.MaxScore }).(pulumi.StringPtrOutput)
+type RoutingConfigurationTypePtrOutput struct{ *pulumi.OutputState }
+
+func (RoutingConfigurationTypePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RoutingConfigurationType)(nil)).Elem()
}
-// Name of the Resiliency based Recommendation Component
-func (o ResiliencyRecommendationComponentsResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ResiliencyRecommendationComponentsResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o RoutingConfigurationTypePtrOutput) ToRoutingConfigurationTypePtrOutput() RoutingConfigurationTypePtrOutput {
+ return o
}
-// List of Gateway Resiliency based Recommendations
-func (o ResiliencyRecommendationComponentsResponseOutput) Recommendations() GatewayResiliencyRecommendationResponseArrayOutput {
- return o.ApplyT(func(v ResiliencyRecommendationComponentsResponse) []GatewayResiliencyRecommendationResponse {
- return v.Recommendations
- }).(GatewayResiliencyRecommendationResponseArrayOutput)
+func (o RoutingConfigurationTypePtrOutput) ToRoutingConfigurationTypePtrOutputWithContext(ctx context.Context) RoutingConfigurationTypePtrOutput {
+ return o
}
-type ResiliencyRecommendationComponentsResponseArrayOutput struct{ *pulumi.OutputState }
+func (o RoutingConfigurationTypePtrOutput) Elem() RoutingConfigurationTypeOutput {
+ return o.ApplyT(func(v *RoutingConfigurationType) RoutingConfigurationType {
+ if v != nil {
+ return *v
+ }
+ var ret RoutingConfigurationType
+ return ret
+ }).(RoutingConfigurationTypeOutput)
+}
-func (ResiliencyRecommendationComponentsResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ResiliencyRecommendationComponentsResponse)(nil)).Elem()
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationTypePtrOutput) AssociatedRouteTable() SubResourcePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationType) *SubResource {
+ if v == nil {
+ return nil
+ }
+ return v.AssociatedRouteTable
+ }).(SubResourcePtrOutput)
}
-func (o ResiliencyRecommendationComponentsResponseArrayOutput) ToResiliencyRecommendationComponentsResponseArrayOutput() ResiliencyRecommendationComponentsResponseArrayOutput {
- return o
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationTypePtrOutput) InboundRouteMap() SubResourcePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationType) *SubResource {
+ if v == nil {
+ return nil
+ }
+ return v.InboundRouteMap
+ }).(SubResourcePtrOutput)
}
-func (o ResiliencyRecommendationComponentsResponseArrayOutput) ToResiliencyRecommendationComponentsResponseArrayOutputWithContext(ctx context.Context) ResiliencyRecommendationComponentsResponseArrayOutput {
- return o
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationTypePtrOutput) OutboundRouteMap() SubResourcePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationType) *SubResource {
+ if v == nil {
+ return nil
+ }
+ return v.OutboundRouteMap
+ }).(SubResourcePtrOutput)
}
-func (o ResiliencyRecommendationComponentsResponseArrayOutput) Index(i pulumi.IntInput) ResiliencyRecommendationComponentsResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResiliencyRecommendationComponentsResponse {
- return vs[0].([]ResiliencyRecommendationComponentsResponse)[vs[1].(int)]
- }).(ResiliencyRecommendationComponentsResponseOutput)
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationTypePtrOutput) PropagatedRouteTables() PropagatedRouteTablePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationType) *PropagatedRouteTable {
+ if v == nil {
+ return nil
+ }
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTablePtrOutput)
}
-// Representation of basic resource information.
-type ResourceBasicsResponse struct {
- // List of IP address prefixes of the resource.
- AddressPrefixes []string `pulumi:"addressPrefixes"`
- // ResourceId of the Azure resource.
- ResourceId *string `pulumi:"resourceId"`
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationTypePtrOutput) VnetRoutes() VnetRoutePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationType) *VnetRoute {
+ if v == nil {
+ return nil
+ }
+ return v.VnetRoutes
+ }).(VnetRoutePtrOutput)
}
-// Representation of basic resource information.
-type ResourceBasicsResponseOutput struct{ *pulumi.OutputState }
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationExpressRouteConnectionResponse struct {
+ // The resource id RouteTable associated with this RoutingConfiguration.
+ AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
+ // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+ InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
+ // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+ OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
+ // The list of RouteTables to advertise the routes to.
+ PropagatedRouteTables *PropagatedRouteTableResponse `pulumi:"propagatedRouteTables"`
+ // List of routes that control routing from VirtualHub into a virtual network connection.
+ VnetRoutes *VnetRouteExpressRouteConnectionResponse `pulumi:"vnetRoutes"`
+}
-func (ResourceBasicsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ResourceBasicsResponse)(nil)).Elem()
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationExpressRouteConnectionResponseOutput struct{ *pulumi.OutputState }
+
+func (RoutingConfigurationExpressRouteConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingConfigurationExpressRouteConnectionResponse)(nil)).Elem()
}
-func (o ResourceBasicsResponseOutput) ToResourceBasicsResponseOutput() ResourceBasicsResponseOutput {
+func (o RoutingConfigurationExpressRouteConnectionResponseOutput) ToRoutingConfigurationExpressRouteConnectionResponseOutput() RoutingConfigurationExpressRouteConnectionResponseOutput {
return o
}
-func (o ResourceBasicsResponseOutput) ToResourceBasicsResponseOutputWithContext(ctx context.Context) ResourceBasicsResponseOutput {
+func (o RoutingConfigurationExpressRouteConnectionResponseOutput) ToRoutingConfigurationExpressRouteConnectionResponseOutputWithContext(ctx context.Context) RoutingConfigurationExpressRouteConnectionResponseOutput {
return o
}
-// List of IP address prefixes of the resource.
-func (o ResourceBasicsResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ResourceBasicsResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationExpressRouteConnectionResponseOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationExpressRouteConnectionResponse) *SubResourceResponse {
+ return v.AssociatedRouteTable
+ }).(SubResourceResponsePtrOutput)
}
-// ResourceId of the Azure resource.
-func (o ResourceBasicsResponseOutput) ResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ResourceBasicsResponse) *string { return v.ResourceId }).(pulumi.StringPtrOutput)
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationExpressRouteConnectionResponseOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationExpressRouteConnectionResponse) *SubResourceResponse {
+ return v.InboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-type ResourceBasicsResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (ResourceBasicsResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ResourceBasicsResponse)(nil)).Elem()
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationExpressRouteConnectionResponseOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationExpressRouteConnectionResponse) *SubResourceResponse {
+ return v.OutboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-func (o ResourceBasicsResponseArrayOutput) ToResourceBasicsResponseArrayOutput() ResourceBasicsResponseArrayOutput {
- return o
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationExpressRouteConnectionResponseOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationExpressRouteConnectionResponse) *PropagatedRouteTableResponse {
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-func (o ResourceBasicsResponseArrayOutput) ToResourceBasicsResponseArrayOutputWithContext(ctx context.Context) ResourceBasicsResponseArrayOutput {
- return o
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationExpressRouteConnectionResponseOutput) VnetRoutes() VnetRouteExpressRouteConnectionResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationExpressRouteConnectionResponse) *VnetRouteExpressRouteConnectionResponse {
+ return v.VnetRoutes
+ }).(VnetRouteExpressRouteConnectionResponsePtrOutput)
}
-func (o ResourceBasicsResponseArrayOutput) Index(i pulumi.IntInput) ResourceBasicsResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceBasicsResponse {
- return vs[0].([]ResourceBasicsResponse)[vs[1].(int)]
- }).(ResourceBasicsResponseOutput)
-}
+type RoutingConfigurationExpressRouteConnectionResponsePtrOutput struct{ *pulumi.OutputState }
-// ResourceNavigationLink resource.
-type ResourceNavigationLink struct {
- // Resource ID.
- Id *string `pulumi:"id"`
- // Link to the external resource
- Link *string `pulumi:"link"`
- // Resource type of the linked resource.
- LinkedResourceType *string `pulumi:"linkedResourceType"`
- // Name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
+func (RoutingConfigurationExpressRouteConnectionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RoutingConfigurationExpressRouteConnectionResponse)(nil)).Elem()
}
-// ResourceNavigationLinkInput is an input type that accepts ResourceNavigationLinkArgs and ResourceNavigationLinkOutput values.
-// You can construct a concrete instance of `ResourceNavigationLinkInput` via:
-//
-// ResourceNavigationLinkArgs{...}
-type ResourceNavigationLinkInput interface {
- pulumi.Input
-
- ToResourceNavigationLinkOutput() ResourceNavigationLinkOutput
- ToResourceNavigationLinkOutputWithContext(context.Context) ResourceNavigationLinkOutput
+func (o RoutingConfigurationExpressRouteConnectionResponsePtrOutput) ToRoutingConfigurationExpressRouteConnectionResponsePtrOutput() RoutingConfigurationExpressRouteConnectionResponsePtrOutput {
+ return o
}
-// ResourceNavigationLink resource.
-type ResourceNavigationLinkArgs struct {
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Link to the external resource
- Link pulumi.StringPtrInput `pulumi:"link"`
- // Resource type of the linked resource.
- LinkedResourceType pulumi.StringPtrInput `pulumi:"linkedResourceType"`
- // Name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
+func (o RoutingConfigurationExpressRouteConnectionResponsePtrOutput) ToRoutingConfigurationExpressRouteConnectionResponsePtrOutputWithContext(ctx context.Context) RoutingConfigurationExpressRouteConnectionResponsePtrOutput {
+ return o
}
-func (ResourceNavigationLinkArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ResourceNavigationLink)(nil)).Elem()
+func (o RoutingConfigurationExpressRouteConnectionResponsePtrOutput) Elem() RoutingConfigurationExpressRouteConnectionResponseOutput {
+ return o.ApplyT(func(v *RoutingConfigurationExpressRouteConnectionResponse) RoutingConfigurationExpressRouteConnectionResponse {
+ if v != nil {
+ return *v
+ }
+ var ret RoutingConfigurationExpressRouteConnectionResponse
+ return ret
+ }).(RoutingConfigurationExpressRouteConnectionResponseOutput)
}
-func (i ResourceNavigationLinkArgs) ToResourceNavigationLinkOutput() ResourceNavigationLinkOutput {
- return i.ToResourceNavigationLinkOutputWithContext(context.Background())
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationExpressRouteConnectionResponsePtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationExpressRouteConnectionResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.AssociatedRouteTable
+ }).(SubResourceResponsePtrOutput)
}
-func (i ResourceNavigationLinkArgs) ToResourceNavigationLinkOutputWithContext(ctx context.Context) ResourceNavigationLinkOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ResourceNavigationLinkOutput)
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationExpressRouteConnectionResponsePtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationExpressRouteConnectionResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// ResourceNavigationLinkArrayInput is an input type that accepts ResourceNavigationLinkArray and ResourceNavigationLinkArrayOutput values.
-// You can construct a concrete instance of `ResourceNavigationLinkArrayInput` via:
-//
-// ResourceNavigationLinkArray{ ResourceNavigationLinkArgs{...} }
-type ResourceNavigationLinkArrayInput interface {
- pulumi.Input
-
- ToResourceNavigationLinkArrayOutput() ResourceNavigationLinkArrayOutput
- ToResourceNavigationLinkArrayOutputWithContext(context.Context) ResourceNavigationLinkArrayOutput
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationExpressRouteConnectionResponsePtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationExpressRouteConnectionResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.OutboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-type ResourceNavigationLinkArray []ResourceNavigationLinkInput
-
-func (ResourceNavigationLinkArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ResourceNavigationLink)(nil)).Elem()
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationExpressRouteConnectionResponsePtrOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationExpressRouteConnectionResponse) *PropagatedRouteTableResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-func (i ResourceNavigationLinkArray) ToResourceNavigationLinkArrayOutput() ResourceNavigationLinkArrayOutput {
- return i.ToResourceNavigationLinkArrayOutputWithContext(context.Background())
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationExpressRouteConnectionResponsePtrOutput) VnetRoutes() VnetRouteExpressRouteConnectionResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationExpressRouteConnectionResponse) *VnetRouteExpressRouteConnectionResponse {
+ if v == nil {
+ return nil
+ }
+ return v.VnetRoutes
+ }).(VnetRouteExpressRouteConnectionResponsePtrOutput)
}
-func (i ResourceNavigationLinkArray) ToResourceNavigationLinkArrayOutputWithContext(ctx context.Context) ResourceNavigationLinkArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ResourceNavigationLinkArrayOutput)
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationExpressRouteGatewayResponse struct {
+ // The resource id RouteTable associated with this RoutingConfiguration.
+ AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
+ // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+ InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
+ // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+ OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
+ // The list of RouteTables to advertise the routes to.
+ PropagatedRouteTables *PropagatedRouteTableResponse `pulumi:"propagatedRouteTables"`
+ // List of routes that control routing from VirtualHub into a virtual network connection.
+ VnetRoutes *VnetRouteExpressRouteGatewayResponse `pulumi:"vnetRoutes"`
}
-// ResourceNavigationLink resource.
-type ResourceNavigationLinkOutput struct{ *pulumi.OutputState }
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationExpressRouteGatewayResponseOutput struct{ *pulumi.OutputState }
-func (ResourceNavigationLinkOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ResourceNavigationLink)(nil)).Elem()
+func (RoutingConfigurationExpressRouteGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingConfigurationExpressRouteGatewayResponse)(nil)).Elem()
}
-func (o ResourceNavigationLinkOutput) ToResourceNavigationLinkOutput() ResourceNavigationLinkOutput {
+func (o RoutingConfigurationExpressRouteGatewayResponseOutput) ToRoutingConfigurationExpressRouteGatewayResponseOutput() RoutingConfigurationExpressRouteGatewayResponseOutput {
return o
}
-func (o ResourceNavigationLinkOutput) ToResourceNavigationLinkOutputWithContext(ctx context.Context) ResourceNavigationLinkOutput {
+func (o RoutingConfigurationExpressRouteGatewayResponseOutput) ToRoutingConfigurationExpressRouteGatewayResponseOutputWithContext(ctx context.Context) RoutingConfigurationExpressRouteGatewayResponseOutput {
return o
}
-// Resource ID.
-func (o ResourceNavigationLinkOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ResourceNavigationLink) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationExpressRouteGatewayResponseOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationExpressRouteGatewayResponse) *SubResourceResponse {
+ return v.AssociatedRouteTable
+ }).(SubResourceResponsePtrOutput)
}
-// Link to the external resource
-func (o ResourceNavigationLinkOutput) Link() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ResourceNavigationLink) *string { return v.Link }).(pulumi.StringPtrOutput)
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationExpressRouteGatewayResponseOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationExpressRouteGatewayResponse) *SubResourceResponse { return v.InboundRouteMap }).(SubResourceResponsePtrOutput)
}
-// Resource type of the linked resource.
-func (o ResourceNavigationLinkOutput) LinkedResourceType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ResourceNavigationLink) *string { return v.LinkedResourceType }).(pulumi.StringPtrOutput)
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationExpressRouteGatewayResponseOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationExpressRouteGatewayResponse) *SubResourceResponse {
+ return v.OutboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// Name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o ResourceNavigationLinkOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ResourceNavigationLink) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationExpressRouteGatewayResponseOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationExpressRouteGatewayResponse) *PropagatedRouteTableResponse {
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-type ResourceNavigationLinkArrayOutput struct{ *pulumi.OutputState }
-
-func (ResourceNavigationLinkArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ResourceNavigationLink)(nil)).Elem()
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationExpressRouteGatewayResponseOutput) VnetRoutes() VnetRouteExpressRouteGatewayResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationExpressRouteGatewayResponse) *VnetRouteExpressRouteGatewayResponse {
+ return v.VnetRoutes
+ }).(VnetRouteExpressRouteGatewayResponsePtrOutput)
}
-func (o ResourceNavigationLinkArrayOutput) ToResourceNavigationLinkArrayOutput() ResourceNavigationLinkArrayOutput {
- return o
+type RoutingConfigurationExpressRouteGatewayResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (RoutingConfigurationExpressRouteGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RoutingConfigurationExpressRouteGatewayResponse)(nil)).Elem()
}
-func (o ResourceNavigationLinkArrayOutput) ToResourceNavigationLinkArrayOutputWithContext(ctx context.Context) ResourceNavigationLinkArrayOutput {
+func (o RoutingConfigurationExpressRouteGatewayResponsePtrOutput) ToRoutingConfigurationExpressRouteGatewayResponsePtrOutput() RoutingConfigurationExpressRouteGatewayResponsePtrOutput {
return o
}
-func (o ResourceNavigationLinkArrayOutput) Index(i pulumi.IntInput) ResourceNavigationLinkOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceNavigationLink {
- return vs[0].([]ResourceNavigationLink)[vs[1].(int)]
- }).(ResourceNavigationLinkOutput)
+func (o RoutingConfigurationExpressRouteGatewayResponsePtrOutput) ToRoutingConfigurationExpressRouteGatewayResponsePtrOutputWithContext(ctx context.Context) RoutingConfigurationExpressRouteGatewayResponsePtrOutput {
+ return o
}
-// ResourceNavigationLink resource.
-type ResourceNavigationLinkResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id string `pulumi:"id"`
- // Link to the external resource.
- Link *string `pulumi:"link"`
- // Resource type of the linked resource.
- LinkedResourceType *string `pulumi:"linkedResourceType"`
- // Name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the resource navigation link resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Resource type.
- Type string `pulumi:"type"`
+func (o RoutingConfigurationExpressRouteGatewayResponsePtrOutput) Elem() RoutingConfigurationExpressRouteGatewayResponseOutput {
+ return o.ApplyT(func(v *RoutingConfigurationExpressRouteGatewayResponse) RoutingConfigurationExpressRouteGatewayResponse {
+ if v != nil {
+ return *v
+ }
+ var ret RoutingConfigurationExpressRouteGatewayResponse
+ return ret
+ }).(RoutingConfigurationExpressRouteGatewayResponseOutput)
}
-// ResourceNavigationLink resource.
-type ResourceNavigationLinkResponseOutput struct{ *pulumi.OutputState }
-
-func (ResourceNavigationLinkResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ResourceNavigationLinkResponse)(nil)).Elem()
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationExpressRouteGatewayResponsePtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationExpressRouteGatewayResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.AssociatedRouteTable
+ }).(SubResourceResponsePtrOutput)
}
-func (o ResourceNavigationLinkResponseOutput) ToResourceNavigationLinkResponseOutput() ResourceNavigationLinkResponseOutput {
- return o
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationExpressRouteGatewayResponsePtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationExpressRouteGatewayResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-func (o ResourceNavigationLinkResponseOutput) ToResourceNavigationLinkResponseOutputWithContext(ctx context.Context) ResourceNavigationLinkResponseOutput {
- return o
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationExpressRouteGatewayResponsePtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationExpressRouteGatewayResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.OutboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o ResourceNavigationLinkResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v ResourceNavigationLinkResponse) string { return v.Etag }).(pulumi.StringOutput)
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationExpressRouteGatewayResponsePtrOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationExpressRouteGatewayResponse) *PropagatedRouteTableResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-// Resource ID.
-func (o ResourceNavigationLinkResponseOutput) Id() pulumi.StringOutput {
- return o.ApplyT(func(v ResourceNavigationLinkResponse) string { return v.Id }).(pulumi.StringOutput)
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationExpressRouteGatewayResponsePtrOutput) VnetRoutes() VnetRouteExpressRouteGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationExpressRouteGatewayResponse) *VnetRouteExpressRouteGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.VnetRoutes
+ }).(VnetRouteExpressRouteGatewayResponsePtrOutput)
}
-// Link to the external resource.
-func (o ResourceNavigationLinkResponseOutput) Link() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ResourceNavigationLinkResponse) *string { return v.Link }).(pulumi.StringPtrOutput)
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationHubVirtualNetworkConnectionResponse struct {
+ // The resource id RouteTable associated with this RoutingConfiguration.
+ AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
+ // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+ InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
+ // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+ OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
+ // The list of RouteTables to advertise the routes to.
+ PropagatedRouteTables *PropagatedRouteTableResponse `pulumi:"propagatedRouteTables"`
+ // List of routes that control routing from VirtualHub into a virtual network connection.
+ VnetRoutes *VnetRouteHubVirtualNetworkConnectionResponse `pulumi:"vnetRoutes"`
}
-// Resource type of the linked resource.
-func (o ResourceNavigationLinkResponseOutput) LinkedResourceType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ResourceNavigationLinkResponse) *string { return v.LinkedResourceType }).(pulumi.StringPtrOutput)
-}
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationHubVirtualNetworkConnectionResponseOutput struct{ *pulumi.OutputState }
-// Name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o ResourceNavigationLinkResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ResourceNavigationLinkResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (RoutingConfigurationHubVirtualNetworkConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingConfigurationHubVirtualNetworkConnectionResponse)(nil)).Elem()
}
-// The provisioning state of the resource navigation link resource.
-func (o ResourceNavigationLinkResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ResourceNavigationLinkResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o RoutingConfigurationHubVirtualNetworkConnectionResponseOutput) ToRoutingConfigurationHubVirtualNetworkConnectionResponseOutput() RoutingConfigurationHubVirtualNetworkConnectionResponseOutput {
+ return o
}
-// Resource type.
-func (o ResourceNavigationLinkResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v ResourceNavigationLinkResponse) string { return v.Type }).(pulumi.StringOutput)
+func (o RoutingConfigurationHubVirtualNetworkConnectionResponseOutput) ToRoutingConfigurationHubVirtualNetworkConnectionResponseOutputWithContext(ctx context.Context) RoutingConfigurationHubVirtualNetworkConnectionResponseOutput {
+ return o
}
-type ResourceNavigationLinkResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (ResourceNavigationLinkResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ResourceNavigationLinkResponse)(nil)).Elem()
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationHubVirtualNetworkConnectionResponseOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationHubVirtualNetworkConnectionResponse) *SubResourceResponse {
+ return v.AssociatedRouteTable
+ }).(SubResourceResponsePtrOutput)
}
-func (o ResourceNavigationLinkResponseArrayOutput) ToResourceNavigationLinkResponseArrayOutput() ResourceNavigationLinkResponseArrayOutput {
- return o
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationHubVirtualNetworkConnectionResponseOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationHubVirtualNetworkConnectionResponse) *SubResourceResponse {
+ return v.InboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-func (o ResourceNavigationLinkResponseArrayOutput) ToResourceNavigationLinkResponseArrayOutputWithContext(ctx context.Context) ResourceNavigationLinkResponseArrayOutput {
- return o
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationHubVirtualNetworkConnectionResponseOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationHubVirtualNetworkConnectionResponse) *SubResourceResponse {
+ return v.OutboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-func (o ResourceNavigationLinkResponseArrayOutput) Index(i pulumi.IntInput) ResourceNavigationLinkResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceNavigationLinkResponse {
- return vs[0].([]ResourceNavigationLinkResponse)[vs[1].(int)]
- }).(ResourceNavigationLinkResponseOutput)
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationHubVirtualNetworkConnectionResponseOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationHubVirtualNetworkConnectionResponse) *PropagatedRouteTableResponse {
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-// ResourceNavigationLink resource.
-type ResourceNavigationLinkResponseV1 struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Link to the external resource
- Link *string `pulumi:"link"`
- // Resource type of the linked resource.
- LinkedResourceType *string `pulumi:"linkedResourceType"`
- // Name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // Provisioning state of the ResourceNavigationLink resource.
- ProvisioningState string `pulumi:"provisioningState"`
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationHubVirtualNetworkConnectionResponseOutput) VnetRoutes() VnetRouteHubVirtualNetworkConnectionResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationHubVirtualNetworkConnectionResponse) *VnetRouteHubVirtualNetworkConnectionResponse {
+ return v.VnetRoutes
+ }).(VnetRouteHubVirtualNetworkConnectionResponsePtrOutput)
}
-// ResourceNavigationLink resource.
-type ResourceNavigationLinkResponseV1Output struct{ *pulumi.OutputState }
+type RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput struct{ *pulumi.OutputState }
-func (ResourceNavigationLinkResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ResourceNavigationLinkResponseV1)(nil)).Elem()
+func (RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RoutingConfigurationHubVirtualNetworkConnectionResponse)(nil)).Elem()
}
-func (o ResourceNavigationLinkResponseV1Output) ToResourceNavigationLinkResponseV1Output() ResourceNavigationLinkResponseV1Output {
+func (o RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput) ToRoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput() RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput {
return o
}
-func (o ResourceNavigationLinkResponseV1Output) ToResourceNavigationLinkResponseV1OutputWithContext(ctx context.Context) ResourceNavigationLinkResponseV1Output {
+func (o RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput) ToRoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutputWithContext(ctx context.Context) RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o ResourceNavigationLinkResponseV1Output) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v ResourceNavigationLinkResponseV1) string { return v.Etag }).(pulumi.StringOutput)
+func (o RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput) Elem() RoutingConfigurationHubVirtualNetworkConnectionResponseOutput {
+ return o.ApplyT(func(v *RoutingConfigurationHubVirtualNetworkConnectionResponse) RoutingConfigurationHubVirtualNetworkConnectionResponse {
+ if v != nil {
+ return *v
+ }
+ var ret RoutingConfigurationHubVirtualNetworkConnectionResponse
+ return ret
+ }).(RoutingConfigurationHubVirtualNetworkConnectionResponseOutput)
}
-// Resource ID.
-func (o ResourceNavigationLinkResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ResourceNavigationLinkResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationHubVirtualNetworkConnectionResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.AssociatedRouteTable
+ }).(SubResourceResponsePtrOutput)
}
-// Link to the external resource
-func (o ResourceNavigationLinkResponseV1Output) Link() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ResourceNavigationLinkResponseV1) *string { return v.Link }).(pulumi.StringPtrOutput)
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationHubVirtualNetworkConnectionResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// Resource type of the linked resource.
-func (o ResourceNavigationLinkResponseV1Output) LinkedResourceType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ResourceNavigationLinkResponseV1) *string { return v.LinkedResourceType }).(pulumi.StringPtrOutput)
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationHubVirtualNetworkConnectionResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.OutboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// Name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o ResourceNavigationLinkResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ResourceNavigationLinkResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationHubVirtualNetworkConnectionResponse) *PropagatedRouteTableResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-// Provisioning state of the ResourceNavigationLink resource.
-func (o ResourceNavigationLinkResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ResourceNavigationLinkResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput) VnetRoutes() VnetRouteHubVirtualNetworkConnectionResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationHubVirtualNetworkConnectionResponse) *VnetRouteHubVirtualNetworkConnectionResponse {
+ if v == nil {
+ return nil
+ }
+ return v.VnetRoutes
+ }).(VnetRouteHubVirtualNetworkConnectionResponsePtrOutput)
+}
+
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationNetworkVirtualApplianceConnectionResponse struct {
+ // The resource id RouteTable associated with this RoutingConfiguration.
+ AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
+ // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+ InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
+ // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+ OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
+ // The list of RouteTables to advertise the routes to.
+ PropagatedRouteTables *PropagatedRouteTableResponse `pulumi:"propagatedRouteTables"`
+ // List of routes that control routing from VirtualHub into a virtual network connection.
+ VnetRoutes *VnetRouteNetworkVirtualApplianceConnectionResponse `pulumi:"vnetRoutes"`
}
-type ResourceNavigationLinkResponseV1ArrayOutput struct{ *pulumi.OutputState }
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationNetworkVirtualApplianceConnectionResponseOutput struct{ *pulumi.OutputState }
-func (ResourceNavigationLinkResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ResourceNavigationLinkResponseV1)(nil)).Elem()
+func (RoutingConfigurationNetworkVirtualApplianceConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingConfigurationNetworkVirtualApplianceConnectionResponse)(nil)).Elem()
}
-func (o ResourceNavigationLinkResponseV1ArrayOutput) ToResourceNavigationLinkResponseV1ArrayOutput() ResourceNavigationLinkResponseV1ArrayOutput {
+func (o RoutingConfigurationNetworkVirtualApplianceConnectionResponseOutput) ToRoutingConfigurationNetworkVirtualApplianceConnectionResponseOutput() RoutingConfigurationNetworkVirtualApplianceConnectionResponseOutput {
return o
}
-func (o ResourceNavigationLinkResponseV1ArrayOutput) ToResourceNavigationLinkResponseV1ArrayOutputWithContext(ctx context.Context) ResourceNavigationLinkResponseV1ArrayOutput {
+func (o RoutingConfigurationNetworkVirtualApplianceConnectionResponseOutput) ToRoutingConfigurationNetworkVirtualApplianceConnectionResponseOutputWithContext(ctx context.Context) RoutingConfigurationNetworkVirtualApplianceConnectionResponseOutput {
return o
}
-func (o ResourceNavigationLinkResponseV1ArrayOutput) Index(i pulumi.IntInput) ResourceNavigationLinkResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceNavigationLinkResponseV1 {
- return vs[0].([]ResourceNavigationLinkResponseV1)[vs[1].(int)]
- }).(ResourceNavigationLinkResponseV1Output)
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationNetworkVirtualApplianceConnectionResponseOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationNetworkVirtualApplianceConnectionResponse) *SubResourceResponse {
+ return v.AssociatedRouteTable
+ }).(SubResourceResponsePtrOutput)
}
-// Parameters that define the retention policy for flow log.
-type RetentionPolicyParameters struct {
- // Number of days to retain flow log records.
- Days *int `pulumi:"days"`
- // Flag to enable/disable retention.
- Enabled *bool `pulumi:"enabled"`
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationNetworkVirtualApplianceConnectionResponseOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationNetworkVirtualApplianceConnectionResponse) *SubResourceResponse {
+ return v.InboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// Defaults sets the appropriate defaults for RetentionPolicyParameters
-func (val *RetentionPolicyParameters) Defaults() *RetentionPolicyParameters {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.Days == nil {
- days_ := 0
- tmp.Days = &days_
- }
- if tmp.Enabled == nil {
- enabled_ := false
- tmp.Enabled = &enabled_
- }
- return &tmp
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationNetworkVirtualApplianceConnectionResponseOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationNetworkVirtualApplianceConnectionResponse) *SubResourceResponse {
+ return v.OutboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// RetentionPolicyParametersInput is an input type that accepts RetentionPolicyParametersArgs and RetentionPolicyParametersOutput values.
-// You can construct a concrete instance of `RetentionPolicyParametersInput` via:
-//
-// RetentionPolicyParametersArgs{...}
-type RetentionPolicyParametersInput interface {
- pulumi.Input
-
- ToRetentionPolicyParametersOutput() RetentionPolicyParametersOutput
- ToRetentionPolicyParametersOutputWithContext(context.Context) RetentionPolicyParametersOutput
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationNetworkVirtualApplianceConnectionResponseOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationNetworkVirtualApplianceConnectionResponse) *PropagatedRouteTableResponse {
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-// Parameters that define the retention policy for flow log.
-type RetentionPolicyParametersArgs struct {
- // Number of days to retain flow log records.
- Days pulumi.IntPtrInput `pulumi:"days"`
- // Flag to enable/disable retention.
- Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationNetworkVirtualApplianceConnectionResponseOutput) VnetRoutes() VnetRouteNetworkVirtualApplianceConnectionResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationNetworkVirtualApplianceConnectionResponse) *VnetRouteNetworkVirtualApplianceConnectionResponse {
+ return v.VnetRoutes
+ }).(VnetRouteNetworkVirtualApplianceConnectionResponsePtrOutput)
}
-// Defaults sets the appropriate defaults for RetentionPolicyParametersArgs
-func (val *RetentionPolicyParametersArgs) Defaults() *RetentionPolicyParametersArgs {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.Days == nil {
- tmp.Days = pulumi.IntPtr(0)
- }
- if tmp.Enabled == nil {
- tmp.Enabled = pulumi.BoolPtr(false)
- }
- return &tmp
-}
-func (RetentionPolicyParametersArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*RetentionPolicyParameters)(nil)).Elem()
-}
+type RoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutput struct{ *pulumi.OutputState }
-func (i RetentionPolicyParametersArgs) ToRetentionPolicyParametersOutput() RetentionPolicyParametersOutput {
- return i.ToRetentionPolicyParametersOutputWithContext(context.Background())
+func (RoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RoutingConfigurationNetworkVirtualApplianceConnectionResponse)(nil)).Elem()
}
-func (i RetentionPolicyParametersArgs) ToRetentionPolicyParametersOutputWithContext(ctx context.Context) RetentionPolicyParametersOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RetentionPolicyParametersOutput)
+func (o RoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutput) ToRoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutput() RoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutput {
+ return o
}
-func (i RetentionPolicyParametersArgs) ToRetentionPolicyParametersPtrOutput() RetentionPolicyParametersPtrOutput {
- return i.ToRetentionPolicyParametersPtrOutputWithContext(context.Background())
+func (o RoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutput) ToRoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutputWithContext(ctx context.Context) RoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutput {
+ return o
}
-func (i RetentionPolicyParametersArgs) ToRetentionPolicyParametersPtrOutputWithContext(ctx context.Context) RetentionPolicyParametersPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RetentionPolicyParametersOutput).ToRetentionPolicyParametersPtrOutputWithContext(ctx)
+func (o RoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutput) Elem() RoutingConfigurationNetworkVirtualApplianceConnectionResponseOutput {
+ return o.ApplyT(func(v *RoutingConfigurationNetworkVirtualApplianceConnectionResponse) RoutingConfigurationNetworkVirtualApplianceConnectionResponse {
+ if v != nil {
+ return *v
+ }
+ var ret RoutingConfigurationNetworkVirtualApplianceConnectionResponse
+ return ret
+ }).(RoutingConfigurationNetworkVirtualApplianceConnectionResponseOutput)
}
-// RetentionPolicyParametersPtrInput is an input type that accepts RetentionPolicyParametersArgs, RetentionPolicyParametersPtr and RetentionPolicyParametersPtrOutput values.
-// You can construct a concrete instance of `RetentionPolicyParametersPtrInput` via:
-//
-// RetentionPolicyParametersArgs{...}
-//
-// or:
-//
-// nil
-type RetentionPolicyParametersPtrInput interface {
- pulumi.Input
-
- ToRetentionPolicyParametersPtrOutput() RetentionPolicyParametersPtrOutput
- ToRetentionPolicyParametersPtrOutputWithContext(context.Context) RetentionPolicyParametersPtrOutput
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationNetworkVirtualApplianceConnectionResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.AssociatedRouteTable
+ }).(SubResourceResponsePtrOutput)
}
-type retentionPolicyParametersPtrType RetentionPolicyParametersArgs
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationNetworkVirtualApplianceConnectionResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InboundRouteMap
+ }).(SubResourceResponsePtrOutput)
+}
-func RetentionPolicyParametersPtr(v *RetentionPolicyParametersArgs) RetentionPolicyParametersPtrInput {
- return (*retentionPolicyParametersPtrType)(v)
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationNetworkVirtualApplianceConnectionResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.OutboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-func (*retentionPolicyParametersPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**RetentionPolicyParameters)(nil)).Elem()
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationNetworkVirtualApplianceConnectionResponse) *PropagatedRouteTableResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-func (i *retentionPolicyParametersPtrType) ToRetentionPolicyParametersPtrOutput() RetentionPolicyParametersPtrOutput {
- return i.ToRetentionPolicyParametersPtrOutputWithContext(context.Background())
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutput) VnetRoutes() VnetRouteNetworkVirtualApplianceConnectionResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationNetworkVirtualApplianceConnectionResponse) *VnetRouteNetworkVirtualApplianceConnectionResponse {
+ if v == nil {
+ return nil
+ }
+ return v.VnetRoutes
+ }).(VnetRouteNetworkVirtualApplianceConnectionResponsePtrOutput)
}
-func (i *retentionPolicyParametersPtrType) ToRetentionPolicyParametersPtrOutputWithContext(ctx context.Context) RetentionPolicyParametersPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RetentionPolicyParametersPtrOutput)
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationP2sVpnGatewayResponse struct {
+ // The resource id RouteTable associated with this RoutingConfiguration.
+ AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
+ // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+ InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
+ // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+ OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
+ // The list of RouteTables to advertise the routes to.
+ PropagatedRouteTables *PropagatedRouteTableResponse `pulumi:"propagatedRouteTables"`
+ // List of routes that control routing from VirtualHub into a virtual network connection.
+ VnetRoutes *VnetRouteP2sVpnGatewayResponse `pulumi:"vnetRoutes"`
}
-// Parameters that define the retention policy for flow log.
-type RetentionPolicyParametersOutput struct{ *pulumi.OutputState }
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationP2sVpnGatewayResponseOutput struct{ *pulumi.OutputState }
-func (RetentionPolicyParametersOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RetentionPolicyParameters)(nil)).Elem()
+func (RoutingConfigurationP2sVpnGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingConfigurationP2sVpnGatewayResponse)(nil)).Elem()
}
-func (o RetentionPolicyParametersOutput) ToRetentionPolicyParametersOutput() RetentionPolicyParametersOutput {
+func (o RoutingConfigurationP2sVpnGatewayResponseOutput) ToRoutingConfigurationP2sVpnGatewayResponseOutput() RoutingConfigurationP2sVpnGatewayResponseOutput {
return o
}
-func (o RetentionPolicyParametersOutput) ToRetentionPolicyParametersOutputWithContext(ctx context.Context) RetentionPolicyParametersOutput {
+func (o RoutingConfigurationP2sVpnGatewayResponseOutput) ToRoutingConfigurationP2sVpnGatewayResponseOutputWithContext(ctx context.Context) RoutingConfigurationP2sVpnGatewayResponseOutput {
return o
}
-func (o RetentionPolicyParametersOutput) ToRetentionPolicyParametersPtrOutput() RetentionPolicyParametersPtrOutput {
- return o.ToRetentionPolicyParametersPtrOutputWithContext(context.Background())
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationP2sVpnGatewayResponseOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationP2sVpnGatewayResponse) *SubResourceResponse { return v.AssociatedRouteTable }).(SubResourceResponsePtrOutput)
+}
+
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationP2sVpnGatewayResponseOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationP2sVpnGatewayResponse) *SubResourceResponse { return v.InboundRouteMap }).(SubResourceResponsePtrOutput)
}
-func (o RetentionPolicyParametersOutput) ToRetentionPolicyParametersPtrOutputWithContext(ctx context.Context) RetentionPolicyParametersPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v RetentionPolicyParameters) *RetentionPolicyParameters {
- return &v
- }).(RetentionPolicyParametersPtrOutput)
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationP2sVpnGatewayResponseOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationP2sVpnGatewayResponse) *SubResourceResponse { return v.OutboundRouteMap }).(SubResourceResponsePtrOutput)
}
-// Number of days to retain flow log records.
-func (o RetentionPolicyParametersOutput) Days() pulumi.IntPtrOutput {
- return o.ApplyT(func(v RetentionPolicyParameters) *int { return v.Days }).(pulumi.IntPtrOutput)
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationP2sVpnGatewayResponseOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationP2sVpnGatewayResponse) *PropagatedRouteTableResponse {
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-// Flag to enable/disable retention.
-func (o RetentionPolicyParametersOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v RetentionPolicyParameters) *bool { return v.Enabled }).(pulumi.BoolPtrOutput)
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationP2sVpnGatewayResponseOutput) VnetRoutes() VnetRouteP2sVpnGatewayResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationP2sVpnGatewayResponse) *VnetRouteP2sVpnGatewayResponse { return v.VnetRoutes }).(VnetRouteP2sVpnGatewayResponsePtrOutput)
}
-type RetentionPolicyParametersPtrOutput struct{ *pulumi.OutputState }
+type RoutingConfigurationP2sVpnGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-func (RetentionPolicyParametersPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RetentionPolicyParameters)(nil)).Elem()
+func (RoutingConfigurationP2sVpnGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RoutingConfigurationP2sVpnGatewayResponse)(nil)).Elem()
}
-func (o RetentionPolicyParametersPtrOutput) ToRetentionPolicyParametersPtrOutput() RetentionPolicyParametersPtrOutput {
+func (o RoutingConfigurationP2sVpnGatewayResponsePtrOutput) ToRoutingConfigurationP2sVpnGatewayResponsePtrOutput() RoutingConfigurationP2sVpnGatewayResponsePtrOutput {
return o
}
-func (o RetentionPolicyParametersPtrOutput) ToRetentionPolicyParametersPtrOutputWithContext(ctx context.Context) RetentionPolicyParametersPtrOutput {
+func (o RoutingConfigurationP2sVpnGatewayResponsePtrOutput) ToRoutingConfigurationP2sVpnGatewayResponsePtrOutputWithContext(ctx context.Context) RoutingConfigurationP2sVpnGatewayResponsePtrOutput {
return o
}
-func (o RetentionPolicyParametersPtrOutput) Elem() RetentionPolicyParametersOutput {
- return o.ApplyT(func(v *RetentionPolicyParameters) RetentionPolicyParameters {
+func (o RoutingConfigurationP2sVpnGatewayResponsePtrOutput) Elem() RoutingConfigurationP2sVpnGatewayResponseOutput {
+ return o.ApplyT(func(v *RoutingConfigurationP2sVpnGatewayResponse) RoutingConfigurationP2sVpnGatewayResponse {
if v != nil {
return *v
}
- var ret RetentionPolicyParameters
+ var ret RoutingConfigurationP2sVpnGatewayResponse
return ret
- }).(RetentionPolicyParametersOutput)
+ }).(RoutingConfigurationP2sVpnGatewayResponseOutput)
}
-// Number of days to retain flow log records.
-func (o RetentionPolicyParametersPtrOutput) Days() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *RetentionPolicyParameters) *int {
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationP2sVpnGatewayResponsePtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationP2sVpnGatewayResponse) *SubResourceResponse {
if v == nil {
return nil
}
- return v.Days
- }).(pulumi.IntPtrOutput)
+ return v.AssociatedRouteTable
+ }).(SubResourceResponsePtrOutput)
}
-// Flag to enable/disable retention.
-func (o RetentionPolicyParametersPtrOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *RetentionPolicyParameters) *bool {
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationP2sVpnGatewayResponsePtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationP2sVpnGatewayResponse) *SubResourceResponse {
if v == nil {
return nil
}
- return v.Enabled
- }).(pulumi.BoolPtrOutput)
+ return v.InboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// Parameters that define the retention policy for flow log.
-type RetentionPolicyParametersResponse struct {
- // Number of days to retain flow log records.
- Days *int `pulumi:"days"`
- // Flag to enable/disable retention.
- Enabled *bool `pulumi:"enabled"`
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationP2sVpnGatewayResponsePtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationP2sVpnGatewayResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.OutboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// Defaults sets the appropriate defaults for RetentionPolicyParametersResponse
-func (val *RetentionPolicyParametersResponse) Defaults() *RetentionPolicyParametersResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.Days == nil {
- days_ := 0
- tmp.Days = &days_
- }
- if tmp.Enabled == nil {
- enabled_ := false
- tmp.Enabled = &enabled_
- }
- return &tmp
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationP2sVpnGatewayResponsePtrOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationP2sVpnGatewayResponse) *PropagatedRouteTableResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-// Parameters that define the retention policy for flow log.
-type RetentionPolicyParametersResponseOutput struct{ *pulumi.OutputState }
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationP2sVpnGatewayResponsePtrOutput) VnetRoutes() VnetRouteP2sVpnGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationP2sVpnGatewayResponse) *VnetRouteP2sVpnGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.VnetRoutes
+ }).(VnetRouteP2sVpnGatewayResponsePtrOutput)
+}
-func (RetentionPolicyParametersResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RetentionPolicyParametersResponse)(nil)).Elem()
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationResponse struct {
+ // The resource id RouteTable associated with this RoutingConfiguration.
+ AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
+ // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+ InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
+ // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+ OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
+ // The list of RouteTables to advertise the routes to.
+ PropagatedRouteTables *PropagatedRouteTableResponse `pulumi:"propagatedRouteTables"`
+ // List of routes that control routing from VirtualHub into a virtual network connection.
+ VnetRoutes *VnetRouteResponse `pulumi:"vnetRoutes"`
}
-func (o RetentionPolicyParametersResponseOutput) ToRetentionPolicyParametersResponseOutput() RetentionPolicyParametersResponseOutput {
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationResponseOutput struct{ *pulumi.OutputState }
+
+func (RoutingConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingConfigurationResponse)(nil)).Elem()
+}
+
+func (o RoutingConfigurationResponseOutput) ToRoutingConfigurationResponseOutput() RoutingConfigurationResponseOutput {
return o
}
-func (o RetentionPolicyParametersResponseOutput) ToRetentionPolicyParametersResponseOutputWithContext(ctx context.Context) RetentionPolicyParametersResponseOutput {
+func (o RoutingConfigurationResponseOutput) ToRoutingConfigurationResponseOutputWithContext(ctx context.Context) RoutingConfigurationResponseOutput {
return o
}
-// Number of days to retain flow log records.
-func (o RetentionPolicyParametersResponseOutput) Days() pulumi.IntPtrOutput {
- return o.ApplyT(func(v RetentionPolicyParametersResponse) *int { return v.Days }).(pulumi.IntPtrOutput)
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationResponseOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationResponse) *SubResourceResponse { return v.AssociatedRouteTable }).(SubResourceResponsePtrOutput)
}
-// Flag to enable/disable retention.
-func (o RetentionPolicyParametersResponseOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v RetentionPolicyParametersResponse) *bool { return v.Enabled }).(pulumi.BoolPtrOutput)
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationResponseOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationResponse) *SubResourceResponse { return v.InboundRouteMap }).(SubResourceResponsePtrOutput)
}
-type RetentionPolicyParametersResponsePtrOutput struct{ *pulumi.OutputState }
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationResponseOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationResponse) *SubResourceResponse { return v.OutboundRouteMap }).(SubResourceResponsePtrOutput)
+}
-func (RetentionPolicyParametersResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RetentionPolicyParametersResponse)(nil)).Elem()
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationResponseOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationResponse) *PropagatedRouteTableResponse { return v.PropagatedRouteTables }).(PropagatedRouteTableResponsePtrOutput)
}
-func (o RetentionPolicyParametersResponsePtrOutput) ToRetentionPolicyParametersResponsePtrOutput() RetentionPolicyParametersResponsePtrOutput {
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationResponseOutput) VnetRoutes() VnetRouteResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationResponse) *VnetRouteResponse { return v.VnetRoutes }).(VnetRouteResponsePtrOutput)
+}
+
+type RoutingConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (RoutingConfigurationResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RoutingConfigurationResponse)(nil)).Elem()
+}
+
+func (o RoutingConfigurationResponsePtrOutput) ToRoutingConfigurationResponsePtrOutput() RoutingConfigurationResponsePtrOutput {
return o
}
-func (o RetentionPolicyParametersResponsePtrOutput) ToRetentionPolicyParametersResponsePtrOutputWithContext(ctx context.Context) RetentionPolicyParametersResponsePtrOutput {
+func (o RoutingConfigurationResponsePtrOutput) ToRoutingConfigurationResponsePtrOutputWithContext(ctx context.Context) RoutingConfigurationResponsePtrOutput {
return o
}
-func (o RetentionPolicyParametersResponsePtrOutput) Elem() RetentionPolicyParametersResponseOutput {
- return o.ApplyT(func(v *RetentionPolicyParametersResponse) RetentionPolicyParametersResponse {
+func (o RoutingConfigurationResponsePtrOutput) Elem() RoutingConfigurationResponseOutput {
+ return o.ApplyT(func(v *RoutingConfigurationResponse) RoutingConfigurationResponse {
if v != nil {
return *v
}
- var ret RetentionPolicyParametersResponse
+ var ret RoutingConfigurationResponse
return ret
- }).(RetentionPolicyParametersResponseOutput)
+ }).(RoutingConfigurationResponseOutput)
}
-// Number of days to retain flow log records.
-func (o RetentionPolicyParametersResponsePtrOutput) Days() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *RetentionPolicyParametersResponse) *int {
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationResponsePtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationResponse) *SubResourceResponse {
if v == nil {
return nil
}
- return v.Days
- }).(pulumi.IntPtrOutput)
+ return v.AssociatedRouteTable
+ }).(SubResourceResponsePtrOutput)
}
-// Flag to enable/disable retention.
-func (o RetentionPolicyParametersResponsePtrOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *RetentionPolicyParametersResponse) *bool {
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationResponsePtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationResponse) *SubResourceResponse {
if v == nil {
return nil
}
- return v.Enabled
- }).(pulumi.BoolPtrOutput)
+ return v.InboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// Route resource.
-type RouteType struct {
- // The destination CIDR to which the route applies.
- AddressPrefix *string `pulumi:"addressPrefix"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
- NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
- // The type of Azure hop the packet should be sent to.
- NextHopType string `pulumi:"nextHopType"`
- // The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState *string `pulumi:"provisioningState"`
- // The type of the resource.
- Type *string `pulumi:"type"`
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationResponsePtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.OutboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// RouteTypeInput is an input type that accepts RouteTypeArgs and RouteTypeOutput values.
-// You can construct a concrete instance of `RouteTypeInput` via:
-//
-// RouteTypeArgs{...}
-type RouteTypeInput interface {
- pulumi.Input
-
- ToRouteTypeOutput() RouteTypeOutput
- ToRouteTypeOutputWithContext(context.Context) RouteTypeOutput
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationResponsePtrOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationResponse) *PropagatedRouteTableResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-// Route resource.
-type RouteTypeArgs struct {
- // The destination CIDR to which the route applies.
- AddressPrefix pulumi.StringPtrInput `pulumi:"addressPrefix"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag pulumi.StringPtrInput `pulumi:"etag"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
- NextHopIpAddress pulumi.StringPtrInput `pulumi:"nextHopIpAddress"`
- // The type of Azure hop the packet should be sent to.
- NextHopType pulumi.StringInput `pulumi:"nextHopType"`
- // The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState pulumi.StringPtrInput `pulumi:"provisioningState"`
- // The type of the resource.
- Type pulumi.StringPtrInput `pulumi:"type"`
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationResponsePtrOutput) VnetRoutes() VnetRouteResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationResponse) *VnetRouteResponse {
+ if v == nil {
+ return nil
+ }
+ return v.VnetRoutes
+ }).(VnetRouteResponsePtrOutput)
}
-func (RouteTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteType)(nil)).Elem()
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationVpnConnectionResponse struct {
+ // The resource id RouteTable associated with this RoutingConfiguration.
+ AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
+ // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+ InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
+ // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+ OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
+ // The list of RouteTables to advertise the routes to.
+ PropagatedRouteTables *PropagatedRouteTableResponse `pulumi:"propagatedRouteTables"`
+ // List of routes that control routing from VirtualHub into a virtual network connection.
+ VnetRoutes *VnetRouteVpnConnectionResponse `pulumi:"vnetRoutes"`
}
-func (i RouteTypeArgs) ToRouteTypeOutput() RouteTypeOutput {
- return i.ToRouteTypeOutputWithContext(context.Background())
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationVpnConnectionResponseOutput struct{ *pulumi.OutputState }
+
+func (RoutingConfigurationVpnConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingConfigurationVpnConnectionResponse)(nil)).Elem()
}
-func (i RouteTypeArgs) ToRouteTypeOutputWithContext(ctx context.Context) RouteTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RouteTypeOutput)
+func (o RoutingConfigurationVpnConnectionResponseOutput) ToRoutingConfigurationVpnConnectionResponseOutput() RoutingConfigurationVpnConnectionResponseOutput {
+ return o
}
-// RouteTypeArrayInput is an input type that accepts RouteTypeArray and RouteTypeArrayOutput values.
-// You can construct a concrete instance of `RouteTypeArrayInput` via:
-//
-// RouteTypeArray{ RouteTypeArgs{...} }
-type RouteTypeArrayInput interface {
- pulumi.Input
+func (o RoutingConfigurationVpnConnectionResponseOutput) ToRoutingConfigurationVpnConnectionResponseOutputWithContext(ctx context.Context) RoutingConfigurationVpnConnectionResponseOutput {
+ return o
+}
- ToRouteTypeArrayOutput() RouteTypeArrayOutput
- ToRouteTypeArrayOutputWithContext(context.Context) RouteTypeArrayOutput
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationVpnConnectionResponseOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationVpnConnectionResponse) *SubResourceResponse { return v.AssociatedRouteTable }).(SubResourceResponsePtrOutput)
}
-type RouteTypeArray []RouteTypeInput
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationVpnConnectionResponseOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationVpnConnectionResponse) *SubResourceResponse { return v.InboundRouteMap }).(SubResourceResponsePtrOutput)
+}
-func (RouteTypeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RouteType)(nil)).Elem()
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationVpnConnectionResponseOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationVpnConnectionResponse) *SubResourceResponse { return v.OutboundRouteMap }).(SubResourceResponsePtrOutput)
}
-func (i RouteTypeArray) ToRouteTypeArrayOutput() RouteTypeArrayOutput {
- return i.ToRouteTypeArrayOutputWithContext(context.Background())
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationVpnConnectionResponseOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationVpnConnectionResponse) *PropagatedRouteTableResponse {
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-func (i RouteTypeArray) ToRouteTypeArrayOutputWithContext(ctx context.Context) RouteTypeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RouteTypeArrayOutput)
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationVpnConnectionResponseOutput) VnetRoutes() VnetRouteVpnConnectionResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationVpnConnectionResponse) *VnetRouteVpnConnectionResponse { return v.VnetRoutes }).(VnetRouteVpnConnectionResponsePtrOutput)
}
-// Route resource.
-type RouteTypeOutput struct{ *pulumi.OutputState }
+type RoutingConfigurationVpnConnectionResponsePtrOutput struct{ *pulumi.OutputState }
-func (RouteTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteType)(nil)).Elem()
+func (RoutingConfigurationVpnConnectionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RoutingConfigurationVpnConnectionResponse)(nil)).Elem()
}
-func (o RouteTypeOutput) ToRouteTypeOutput() RouteTypeOutput {
+func (o RoutingConfigurationVpnConnectionResponsePtrOutput) ToRoutingConfigurationVpnConnectionResponsePtrOutput() RoutingConfigurationVpnConnectionResponsePtrOutput {
return o
}
-func (o RouteTypeOutput) ToRouteTypeOutputWithContext(ctx context.Context) RouteTypeOutput {
+func (o RoutingConfigurationVpnConnectionResponsePtrOutput) ToRoutingConfigurationVpnConnectionResponsePtrOutputWithContext(ctx context.Context) RoutingConfigurationVpnConnectionResponsePtrOutput {
return o
}
-// The destination CIDR to which the route applies.
-func (o RouteTypeOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteType) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o RouteTypeOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteType) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (o RoutingConfigurationVpnConnectionResponsePtrOutput) Elem() RoutingConfigurationVpnConnectionResponseOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnConnectionResponse) RoutingConfigurationVpnConnectionResponse {
+ if v != nil {
+ return *v
+ }
+ var ret RoutingConfigurationVpnConnectionResponse
+ return ret
+ }).(RoutingConfigurationVpnConnectionResponseOutput)
}
-// Resource ID.
-func (o RouteTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteType) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationVpnConnectionResponsePtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnConnectionResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.AssociatedRouteTable
+ }).(SubResourceResponsePtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o RouteTypeOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteType) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationVpnConnectionResponsePtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnConnectionResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
-func (o RouteTypeOutput) NextHopIpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteType) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationVpnConnectionResponsePtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnConnectionResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.OutboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// The type of Azure hop the packet should be sent to.
-func (o RouteTypeOutput) NextHopType() pulumi.StringOutput {
- return o.ApplyT(func(v RouteType) string { return v.NextHopType }).(pulumi.StringOutput)
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationVpnConnectionResponsePtrOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnConnectionResponse) *PropagatedRouteTableResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-// The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o RouteTypeOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteType) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationVpnConnectionResponsePtrOutput) VnetRoutes() VnetRouteVpnConnectionResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnConnectionResponse) *VnetRouteVpnConnectionResponse {
+ if v == nil {
+ return nil
+ }
+ return v.VnetRoutes
+ }).(VnetRouteVpnConnectionResponsePtrOutput)
}
-// The type of the resource.
-func (o RouteTypeOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteType) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationVpnGatewayResponse struct {
+ // The resource id RouteTable associated with this RoutingConfiguration.
+ AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
+ // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+ InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
+ // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+ OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
+ // The list of RouteTables to advertise the routes to.
+ PropagatedRouteTables *PropagatedRouteTableResponse `pulumi:"propagatedRouteTables"`
+ // List of routes that control routing from VirtualHub into a virtual network connection.
+ VnetRoutes *VnetRouteVpnGatewayResponse `pulumi:"vnetRoutes"`
}
-type RouteTypeArrayOutput struct{ *pulumi.OutputState }
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationVpnGatewayResponseOutput struct{ *pulumi.OutputState }
-func (RouteTypeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RouteType)(nil)).Elem()
+func (RoutingConfigurationVpnGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingConfigurationVpnGatewayResponse)(nil)).Elem()
}
-func (o RouteTypeArrayOutput) ToRouteTypeArrayOutput() RouteTypeArrayOutput {
+func (o RoutingConfigurationVpnGatewayResponseOutput) ToRoutingConfigurationVpnGatewayResponseOutput() RoutingConfigurationVpnGatewayResponseOutput {
return o
}
-func (o RouteTypeArrayOutput) ToRouteTypeArrayOutputWithContext(ctx context.Context) RouteTypeArrayOutput {
+func (o RoutingConfigurationVpnGatewayResponseOutput) ToRoutingConfigurationVpnGatewayResponseOutputWithContext(ctx context.Context) RoutingConfigurationVpnGatewayResponseOutput {
return o
}
-func (o RouteTypeArrayOutput) Index(i pulumi.IntInput) RouteTypeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteType {
- return vs[0].([]RouteType)[vs[1].(int)]
- }).(RouteTypeOutput)
-}
-
-// Route Filter Rule Resource.
-type RouteFilterRuleType struct {
- // The access type of the rule.
- Access string `pulumi:"access"`
- // The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
- Communities []string `pulumi:"communities"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The rule type of the rule.
- RouteFilterRuleType string `pulumi:"routeFilterRuleType"`
-}
-
-// RouteFilterRuleTypeInput is an input type that accepts RouteFilterRuleTypeArgs and RouteFilterRuleTypeOutput values.
-// You can construct a concrete instance of `RouteFilterRuleTypeInput` via:
-//
-// RouteFilterRuleTypeArgs{...}
-type RouteFilterRuleTypeInput interface {
- pulumi.Input
-
- ToRouteFilterRuleTypeOutput() RouteFilterRuleTypeOutput
- ToRouteFilterRuleTypeOutputWithContext(context.Context) RouteFilterRuleTypeOutput
-}
-
-// Route Filter Rule Resource.
-type RouteFilterRuleTypeArgs struct {
- // The access type of the rule.
- Access pulumi.StringInput `pulumi:"access"`
- // The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
- Communities pulumi.StringArrayInput `pulumi:"communities"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Resource location.
- Location pulumi.StringPtrInput `pulumi:"location"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The rule type of the rule.
- RouteFilterRuleType pulumi.StringInput `pulumi:"routeFilterRuleType"`
-}
-
-func (RouteFilterRuleTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteFilterRuleType)(nil)).Elem()
-}
-
-func (i RouteFilterRuleTypeArgs) ToRouteFilterRuleTypeOutput() RouteFilterRuleTypeOutput {
- return i.ToRouteFilterRuleTypeOutputWithContext(context.Background())
-}
-
-func (i RouteFilterRuleTypeArgs) ToRouteFilterRuleTypeOutputWithContext(ctx context.Context) RouteFilterRuleTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RouteFilterRuleTypeOutput)
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationVpnGatewayResponseOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationVpnGatewayResponse) *SubResourceResponse { return v.AssociatedRouteTable }).(SubResourceResponsePtrOutput)
}
-// RouteFilterRuleTypeArrayInput is an input type that accepts RouteFilterRuleTypeArray and RouteFilterRuleTypeArrayOutput values.
-// You can construct a concrete instance of `RouteFilterRuleTypeArrayInput` via:
-//
-// RouteFilterRuleTypeArray{ RouteFilterRuleTypeArgs{...} }
-type RouteFilterRuleTypeArrayInput interface {
- pulumi.Input
-
- ToRouteFilterRuleTypeArrayOutput() RouteFilterRuleTypeArrayOutput
- ToRouteFilterRuleTypeArrayOutputWithContext(context.Context) RouteFilterRuleTypeArrayOutput
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationVpnGatewayResponseOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationVpnGatewayResponse) *SubResourceResponse { return v.InboundRouteMap }).(SubResourceResponsePtrOutput)
}
-type RouteFilterRuleTypeArray []RouteFilterRuleTypeInput
-
-func (RouteFilterRuleTypeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RouteFilterRuleType)(nil)).Elem()
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationVpnGatewayResponseOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationVpnGatewayResponse) *SubResourceResponse { return v.OutboundRouteMap }).(SubResourceResponsePtrOutput)
}
-func (i RouteFilterRuleTypeArray) ToRouteFilterRuleTypeArrayOutput() RouteFilterRuleTypeArrayOutput {
- return i.ToRouteFilterRuleTypeArrayOutputWithContext(context.Background())
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationVpnGatewayResponseOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationVpnGatewayResponse) *PropagatedRouteTableResponse {
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-func (i RouteFilterRuleTypeArray) ToRouteFilterRuleTypeArrayOutputWithContext(ctx context.Context) RouteFilterRuleTypeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RouteFilterRuleTypeArrayOutput)
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationVpnGatewayResponseOutput) VnetRoutes() VnetRouteVpnGatewayResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationVpnGatewayResponse) *VnetRouteVpnGatewayResponse { return v.VnetRoutes }).(VnetRouteVpnGatewayResponsePtrOutput)
}
-// Route Filter Rule Resource.
-type RouteFilterRuleTypeOutput struct{ *pulumi.OutputState }
+type RoutingConfigurationVpnGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-func (RouteFilterRuleTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteFilterRuleType)(nil)).Elem()
+func (RoutingConfigurationVpnGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RoutingConfigurationVpnGatewayResponse)(nil)).Elem()
}
-func (o RouteFilterRuleTypeOutput) ToRouteFilterRuleTypeOutput() RouteFilterRuleTypeOutput {
+func (o RoutingConfigurationVpnGatewayResponsePtrOutput) ToRoutingConfigurationVpnGatewayResponsePtrOutput() RoutingConfigurationVpnGatewayResponsePtrOutput {
return o
}
-func (o RouteFilterRuleTypeOutput) ToRouteFilterRuleTypeOutputWithContext(ctx context.Context) RouteFilterRuleTypeOutput {
+func (o RoutingConfigurationVpnGatewayResponsePtrOutput) ToRoutingConfigurationVpnGatewayResponsePtrOutputWithContext(ctx context.Context) RoutingConfigurationVpnGatewayResponsePtrOutput {
return o
}
-// The access type of the rule.
-func (o RouteFilterRuleTypeOutput) Access() pulumi.StringOutput {
- return o.ApplyT(func(v RouteFilterRuleType) string { return v.Access }).(pulumi.StringOutput)
+func (o RoutingConfigurationVpnGatewayResponsePtrOutput) Elem() RoutingConfigurationVpnGatewayResponseOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnGatewayResponse) RoutingConfigurationVpnGatewayResponse {
+ if v != nil {
+ return *v
+ }
+ var ret RoutingConfigurationVpnGatewayResponse
+ return ret
+ }).(RoutingConfigurationVpnGatewayResponseOutput)
}
-// The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
-func (o RouteFilterRuleTypeOutput) Communities() pulumi.StringArrayOutput {
- return o.ApplyT(func(v RouteFilterRuleType) []string { return v.Communities }).(pulumi.StringArrayOutput)
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationVpnGatewayResponsePtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnGatewayResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.AssociatedRouteTable
+ }).(SubResourceResponsePtrOutput)
}
-// Resource ID.
-func (o RouteFilterRuleTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteFilterRuleType) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationVpnGatewayResponsePtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnGatewayResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// Resource location.
-func (o RouteFilterRuleTypeOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteFilterRuleType) *string { return v.Location }).(pulumi.StringPtrOutput)
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationVpnGatewayResponsePtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnGatewayResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.OutboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o RouteFilterRuleTypeOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteFilterRuleType) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationVpnGatewayResponsePtrOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnGatewayResponse) *PropagatedRouteTableResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-// The rule type of the rule.
-func (o RouteFilterRuleTypeOutput) RouteFilterRuleType() pulumi.StringOutput {
- return o.ApplyT(func(v RouteFilterRuleType) string { return v.RouteFilterRuleType }).(pulumi.StringOutput)
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationVpnGatewayResponsePtrOutput) VnetRoutes() VnetRouteVpnGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnGatewayResponse) *VnetRouteVpnGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.VnetRoutes
+ }).(VnetRouteVpnGatewayResponsePtrOutput)
}
-type RouteFilterRuleTypeArrayOutput struct{ *pulumi.OutputState }
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationVpnServerConfigurationResponse struct {
+ // The resource id RouteTable associated with this RoutingConfiguration.
+ AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
+ // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+ InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
+ // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+ OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
+ // The list of RouteTables to advertise the routes to.
+ PropagatedRouteTables *PropagatedRouteTableResponse `pulumi:"propagatedRouteTables"`
+ // List of routes that control routing from VirtualHub into a virtual network connection.
+ VnetRoutes *VnetRouteVpnServerConfigurationResponse `pulumi:"vnetRoutes"`
+}
-func (RouteFilterRuleTypeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RouteFilterRuleType)(nil)).Elem()
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationVpnServerConfigurationResponseOutput struct{ *pulumi.OutputState }
+
+func (RoutingConfigurationVpnServerConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingConfigurationVpnServerConfigurationResponse)(nil)).Elem()
}
-func (o RouteFilterRuleTypeArrayOutput) ToRouteFilterRuleTypeArrayOutput() RouteFilterRuleTypeArrayOutput {
+func (o RoutingConfigurationVpnServerConfigurationResponseOutput) ToRoutingConfigurationVpnServerConfigurationResponseOutput() RoutingConfigurationVpnServerConfigurationResponseOutput {
return o
}
-func (o RouteFilterRuleTypeArrayOutput) ToRouteFilterRuleTypeArrayOutputWithContext(ctx context.Context) RouteFilterRuleTypeArrayOutput {
+func (o RoutingConfigurationVpnServerConfigurationResponseOutput) ToRoutingConfigurationVpnServerConfigurationResponseOutputWithContext(ctx context.Context) RoutingConfigurationVpnServerConfigurationResponseOutput {
return o
}
-func (o RouteFilterRuleTypeArrayOutput) Index(i pulumi.IntInput) RouteFilterRuleTypeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteFilterRuleType {
- return vs[0].([]RouteFilterRuleType)[vs[1].(int)]
- }).(RouteFilterRuleTypeOutput)
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationVpnServerConfigurationResponseOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationVpnServerConfigurationResponse) *SubResourceResponse {
+ return v.AssociatedRouteTable
+ }).(SubResourceResponsePtrOutput)
}
-// Route Filter Rule Resource.
-type RouteFilterRuleResponse struct {
- // The access type of the rule.
- Access string `pulumi:"access"`
- // The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
- Communities []string `pulumi:"communities"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the route filter rule resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The rule type of the rule.
- RouteFilterRuleType string `pulumi:"routeFilterRuleType"`
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationVpnServerConfigurationResponseOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationVpnServerConfigurationResponse) *SubResourceResponse {
+ return v.InboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// Route Filter Rule Resource.
-type RouteFilterRuleResponseOutput struct{ *pulumi.OutputState }
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationVpnServerConfigurationResponseOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationVpnServerConfigurationResponse) *SubResourceResponse {
+ return v.OutboundRouteMap
+ }).(SubResourceResponsePtrOutput)
+}
-func (RouteFilterRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteFilterRuleResponse)(nil)).Elem()
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationVpnServerConfigurationResponseOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationVpnServerConfigurationResponse) *PropagatedRouteTableResponse {
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-func (o RouteFilterRuleResponseOutput) ToRouteFilterRuleResponseOutput() RouteFilterRuleResponseOutput {
- return o
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationVpnServerConfigurationResponseOutput) VnetRoutes() VnetRouteVpnServerConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationVpnServerConfigurationResponse) *VnetRouteVpnServerConfigurationResponse {
+ return v.VnetRoutes
+ }).(VnetRouteVpnServerConfigurationResponsePtrOutput)
}
-func (o RouteFilterRuleResponseOutput) ToRouteFilterRuleResponseOutputWithContext(ctx context.Context) RouteFilterRuleResponseOutput {
+type RoutingConfigurationVpnServerConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (RoutingConfigurationVpnServerConfigurationResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RoutingConfigurationVpnServerConfigurationResponse)(nil)).Elem()
+}
+
+func (o RoutingConfigurationVpnServerConfigurationResponsePtrOutput) ToRoutingConfigurationVpnServerConfigurationResponsePtrOutput() RoutingConfigurationVpnServerConfigurationResponsePtrOutput {
return o
}
-// The access type of the rule.
-func (o RouteFilterRuleResponseOutput) Access() pulumi.StringOutput {
- return o.ApplyT(func(v RouteFilterRuleResponse) string { return v.Access }).(pulumi.StringOutput)
+func (o RoutingConfigurationVpnServerConfigurationResponsePtrOutput) ToRoutingConfigurationVpnServerConfigurationResponsePtrOutputWithContext(ctx context.Context) RoutingConfigurationVpnServerConfigurationResponsePtrOutput {
+ return o
}
-// The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
-func (o RouteFilterRuleResponseOutput) Communities() pulumi.StringArrayOutput {
- return o.ApplyT(func(v RouteFilterRuleResponse) []string { return v.Communities }).(pulumi.StringArrayOutput)
+func (o RoutingConfigurationVpnServerConfigurationResponsePtrOutput) Elem() RoutingConfigurationVpnServerConfigurationResponseOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnServerConfigurationResponse) RoutingConfigurationVpnServerConfigurationResponse {
+ if v != nil {
+ return *v
+ }
+ var ret RoutingConfigurationVpnServerConfigurationResponse
+ return ret
+ }).(RoutingConfigurationVpnServerConfigurationResponseOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o RouteFilterRuleResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v RouteFilterRuleResponse) string { return v.Etag }).(pulumi.StringOutput)
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationVpnServerConfigurationResponsePtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnServerConfigurationResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.AssociatedRouteTable
+ }).(SubResourceResponsePtrOutput)
}
-// Resource ID.
-func (o RouteFilterRuleResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteFilterRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationVpnServerConfigurationResponsePtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnServerConfigurationResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// Resource location.
-func (o RouteFilterRuleResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteFilterRuleResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationVpnServerConfigurationResponsePtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnServerConfigurationResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.OutboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o RouteFilterRuleResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteFilterRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationVpnServerConfigurationResponsePtrOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnServerConfigurationResponse) *PropagatedRouteTableResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-// The provisioning state of the route filter rule resource.
-func (o RouteFilterRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v RouteFilterRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationVpnServerConfigurationResponsePtrOutput) VnetRoutes() VnetRouteVpnServerConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationVpnServerConfigurationResponse) *VnetRouteVpnServerConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.VnetRoutes
+ }).(VnetRouteVpnServerConfigurationResponsePtrOutput)
}
-// The rule type of the rule.
-func (o RouteFilterRuleResponseOutput) RouteFilterRuleType() pulumi.StringOutput {
- return o.ApplyT(func(v RouteFilterRuleResponse) string { return v.RouteFilterRuleType }).(pulumi.StringOutput)
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse struct {
+ // The resource id RouteTable associated with this RoutingConfiguration.
+ AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
+ // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+ InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
+ // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+ OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
+ // The list of RouteTables to advertise the routes to.
+ PropagatedRouteTables *PropagatedRouteTableResponse `pulumi:"propagatedRouteTables"`
+ // List of routes that control routing from VirtualHub into a virtual network connection.
+ VnetRoutes *VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponse `pulumi:"vnetRoutes"`
}
-type RouteFilterRuleResponseArrayOutput struct{ *pulumi.OutputState }
+// Routing Configuration indicating the associated and propagated route tables for this connection.
+type RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput struct{ *pulumi.OutputState }
-func (RouteFilterRuleResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RouteFilterRuleResponse)(nil)).Elem()
+func (RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse)(nil)).Elem()
}
-func (o RouteFilterRuleResponseArrayOutput) ToRouteFilterRuleResponseArrayOutput() RouteFilterRuleResponseArrayOutput {
+func (o RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) ToRoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput() RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput {
return o
}
-func (o RouteFilterRuleResponseArrayOutput) ToRouteFilterRuleResponseArrayOutputWithContext(ctx context.Context) RouteFilterRuleResponseArrayOutput {
+func (o RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) ToRoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutputWithContext(ctx context.Context) RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput {
return o
}
-func (o RouteFilterRuleResponseArrayOutput) Index(i pulumi.IntInput) RouteFilterRuleResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteFilterRuleResponse {
- return vs[0].([]RouteFilterRuleResponse)[vs[1].(int)]
- }).(RouteFilterRuleResponseOutput)
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) *SubResourceResponse {
+ return v.AssociatedRouteTable
+ }).(SubResourceResponsePtrOutput)
}
-// A RouteMap Rule.
-type RouteMapRule struct {
- // List of actions which will be applied on a match.
- Actions []Action `pulumi:"actions"`
- // List of matching criterion which will be applied to traffic.
- MatchCriteria []Criterion `pulumi:"matchCriteria"`
- // The unique name for the rule.
- Name *string `pulumi:"name"`
- // Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
- NextStepIfMatched *string `pulumi:"nextStepIfMatched"`
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) *SubResourceResponse {
+ return v.InboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// RouteMapRuleInput is an input type that accepts RouteMapRuleArgs and RouteMapRuleOutput values.
-// You can construct a concrete instance of `RouteMapRuleInput` via:
-//
-// RouteMapRuleArgs{...}
-type RouteMapRuleInput interface {
- pulumi.Input
-
- ToRouteMapRuleOutput() RouteMapRuleOutput
- ToRouteMapRuleOutputWithContext(context.Context) RouteMapRuleOutput
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) *SubResourceResponse {
+ return v.OutboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// A RouteMap Rule.
-type RouteMapRuleArgs struct {
- // List of actions which will be applied on a match.
- Actions ActionArrayInput `pulumi:"actions"`
- // List of matching criterion which will be applied to traffic.
- MatchCriteria CriterionArrayInput `pulumi:"matchCriteria"`
- // The unique name for the rule.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
- NextStepIfMatched pulumi.StringPtrInput `pulumi:"nextStepIfMatched"`
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) *PropagatedRouteTableResponse {
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
}
-func (RouteMapRuleArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteMapRule)(nil)).Elem()
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) VnetRoutes() VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput {
+ return o.ApplyT(func(v RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) *VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponse {
+ return v.VnetRoutes
+ }).(VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput)
}
-func (i RouteMapRuleArgs) ToRouteMapRuleOutput() RouteMapRuleOutput {
- return i.ToRouteMapRuleOutputWithContext(context.Background())
-}
+type RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput struct{ *pulumi.OutputState }
-func (i RouteMapRuleArgs) ToRouteMapRuleOutputWithContext(ctx context.Context) RouteMapRuleOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RouteMapRuleOutput)
+func (RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse)(nil)).Elem()
}
-// RouteMapRuleArrayInput is an input type that accepts RouteMapRuleArray and RouteMapRuleArrayOutput values.
-// You can construct a concrete instance of `RouteMapRuleArrayInput` via:
-//
-// RouteMapRuleArray{ RouteMapRuleArgs{...} }
-type RouteMapRuleArrayInput interface {
- pulumi.Input
+func (o RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) ToRoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput() RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput {
+ return o
+}
- ToRouteMapRuleArrayOutput() RouteMapRuleArrayOutput
- ToRouteMapRuleArrayOutputWithContext(context.Context) RouteMapRuleArrayOutput
+func (o RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) ToRoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutputWithContext(ctx context.Context) RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput {
+ return o
}
-type RouteMapRuleArray []RouteMapRuleInput
+func (o RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) Elem() RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput {
+ return o.ApplyT(func(v *RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse {
+ if v != nil {
+ return *v
+ }
+ var ret RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse
+ return ret
+ }).(RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput)
+}
-func (RouteMapRuleArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RouteMapRule)(nil)).Elem()
+// The resource id RouteTable associated with this RoutingConfiguration.
+func (o RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.AssociatedRouteTable
+ }).(SubResourceResponsePtrOutput)
}
-func (i RouteMapRuleArray) ToRouteMapRuleArrayOutput() RouteMapRuleArrayOutput {
- return i.ToRouteMapRuleArrayOutputWithContext(context.Background())
+// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
+func (o RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-func (i RouteMapRuleArray) ToRouteMapRuleArrayOutputWithContext(ctx context.Context) RouteMapRuleArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RouteMapRuleArrayOutput)
+// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
+func (o RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.OutboundRouteMap
+ }).(SubResourceResponsePtrOutput)
}
-// A RouteMap Rule.
-type RouteMapRuleOutput struct{ *pulumi.OutputState }
+// The list of RouteTables to advertise the routes to.
+func (o RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) *PropagatedRouteTableResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PropagatedRouteTables
+ }).(PropagatedRouteTableResponsePtrOutput)
+}
-func (RouteMapRuleOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteMapRule)(nil)).Elem()
+// List of routes that control routing from VirtualHub into a virtual network connection.
+func (o RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) VnetRoutes() VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput {
+ return o.ApplyT(func(v *RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponse) *VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponse {
+ if v == nil {
+ return nil
+ }
+ return v.VnetRoutes
+ }).(VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput)
}
-func (o RouteMapRuleOutput) ToRouteMapRuleOutput() RouteMapRuleOutput {
- return o
+// The routing policy object used in a RoutingIntent resource.
+type RoutingPolicy struct {
+ // List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
+ Destinations []string `pulumi:"destinations"`
+ // The unique name for the routing policy.
+ Name string `pulumi:"name"`
+ // The next hop resource id on which this routing policy is applicable to.
+ NextHop string `pulumi:"nextHop"`
}
-func (o RouteMapRuleOutput) ToRouteMapRuleOutputWithContext(ctx context.Context) RouteMapRuleOutput {
- return o
+// RoutingPolicyInput is an input type that accepts RoutingPolicyArgs and RoutingPolicyOutput values.
+// You can construct a concrete instance of `RoutingPolicyInput` via:
+//
+// RoutingPolicyArgs{...}
+type RoutingPolicyInput interface {
+ pulumi.Input
+
+ ToRoutingPolicyOutput() RoutingPolicyOutput
+ ToRoutingPolicyOutputWithContext(context.Context) RoutingPolicyOutput
}
-// List of actions which will be applied on a match.
-func (o RouteMapRuleOutput) Actions() ActionArrayOutput {
- return o.ApplyT(func(v RouteMapRule) []Action { return v.Actions }).(ActionArrayOutput)
+// The routing policy object used in a RoutingIntent resource.
+type RoutingPolicyArgs struct {
+ // List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
+ Destinations pulumi.StringArrayInput `pulumi:"destinations"`
+ // The unique name for the routing policy.
+ Name pulumi.StringInput `pulumi:"name"`
+ // The next hop resource id on which this routing policy is applicable to.
+ NextHop pulumi.StringInput `pulumi:"nextHop"`
}
-// List of matching criterion which will be applied to traffic.
-func (o RouteMapRuleOutput) MatchCriteria() CriterionArrayOutput {
- return o.ApplyT(func(v RouteMapRule) []Criterion { return v.MatchCriteria }).(CriterionArrayOutput)
+func (RoutingPolicyArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingPolicy)(nil)).Elem()
}
-// The unique name for the rule.
-func (o RouteMapRuleOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteMapRule) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (i RoutingPolicyArgs) ToRoutingPolicyOutput() RoutingPolicyOutput {
+ return i.ToRoutingPolicyOutputWithContext(context.Background())
}
-// Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
-func (o RouteMapRuleOutput) NextStepIfMatched() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteMapRule) *string { return v.NextStepIfMatched }).(pulumi.StringPtrOutput)
+func (i RoutingPolicyArgs) ToRoutingPolicyOutputWithContext(ctx context.Context) RoutingPolicyOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RoutingPolicyOutput)
}
-type RouteMapRuleArrayOutput struct{ *pulumi.OutputState }
+// RoutingPolicyArrayInput is an input type that accepts RoutingPolicyArray and RoutingPolicyArrayOutput values.
+// You can construct a concrete instance of `RoutingPolicyArrayInput` via:
+//
+// RoutingPolicyArray{ RoutingPolicyArgs{...} }
+type RoutingPolicyArrayInput interface {
+ pulumi.Input
-func (RouteMapRuleArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RouteMapRule)(nil)).Elem()
+ ToRoutingPolicyArrayOutput() RoutingPolicyArrayOutput
+ ToRoutingPolicyArrayOutputWithContext(context.Context) RoutingPolicyArrayOutput
}
-func (o RouteMapRuleArrayOutput) ToRouteMapRuleArrayOutput() RouteMapRuleArrayOutput {
- return o
-}
+type RoutingPolicyArray []RoutingPolicyInput
-func (o RouteMapRuleArrayOutput) ToRouteMapRuleArrayOutputWithContext(ctx context.Context) RouteMapRuleArrayOutput {
- return o
+func (RoutingPolicyArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RoutingPolicy)(nil)).Elem()
}
-func (o RouteMapRuleArrayOutput) Index(i pulumi.IntInput) RouteMapRuleOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteMapRule {
- return vs[0].([]RouteMapRule)[vs[1].(int)]
- }).(RouteMapRuleOutput)
+func (i RoutingPolicyArray) ToRoutingPolicyArrayOutput() RoutingPolicyArrayOutput {
+ return i.ToRoutingPolicyArrayOutputWithContext(context.Background())
}
-// A RouteMap Rule.
-type RouteMapRuleResponse struct {
- // List of actions which will be applied on a match.
- Actions []ActionResponse `pulumi:"actions"`
- // List of matching criterion which will be applied to traffic.
- MatchCriteria []CriterionResponse `pulumi:"matchCriteria"`
- // The unique name for the rule.
- Name *string `pulumi:"name"`
- // Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
- NextStepIfMatched *string `pulumi:"nextStepIfMatched"`
+func (i RoutingPolicyArray) ToRoutingPolicyArrayOutputWithContext(ctx context.Context) RoutingPolicyArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RoutingPolicyArrayOutput)
}
-// A RouteMap Rule.
-type RouteMapRuleResponseOutput struct{ *pulumi.OutputState }
+// The routing policy object used in a RoutingIntent resource.
+type RoutingPolicyOutput struct{ *pulumi.OutputState }
-func (RouteMapRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteMapRuleResponse)(nil)).Elem()
+func (RoutingPolicyOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingPolicy)(nil)).Elem()
}
-func (o RouteMapRuleResponseOutput) ToRouteMapRuleResponseOutput() RouteMapRuleResponseOutput {
+func (o RoutingPolicyOutput) ToRoutingPolicyOutput() RoutingPolicyOutput {
return o
}
-func (o RouteMapRuleResponseOutput) ToRouteMapRuleResponseOutputWithContext(ctx context.Context) RouteMapRuleResponseOutput {
+func (o RoutingPolicyOutput) ToRoutingPolicyOutputWithContext(ctx context.Context) RoutingPolicyOutput {
return o
}
-// List of actions which will be applied on a match.
-func (o RouteMapRuleResponseOutput) Actions() ActionResponseArrayOutput {
- return o.ApplyT(func(v RouteMapRuleResponse) []ActionResponse { return v.Actions }).(ActionResponseArrayOutput)
-}
-
-// List of matching criterion which will be applied to traffic.
-func (o RouteMapRuleResponseOutput) MatchCriteria() CriterionResponseArrayOutput {
- return o.ApplyT(func(v RouteMapRuleResponse) []CriterionResponse { return v.MatchCriteria }).(CriterionResponseArrayOutput)
+// List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
+func (o RoutingPolicyOutput) Destinations() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v RoutingPolicy) []string { return v.Destinations }).(pulumi.StringArrayOutput)
}
-// The unique name for the rule.
-func (o RouteMapRuleResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteMapRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The unique name for the routing policy.
+func (o RoutingPolicyOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v RoutingPolicy) string { return v.Name }).(pulumi.StringOutput)
}
-// Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
-func (o RouteMapRuleResponseOutput) NextStepIfMatched() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteMapRuleResponse) *string { return v.NextStepIfMatched }).(pulumi.StringPtrOutput)
+// The next hop resource id on which this routing policy is applicable to.
+func (o RoutingPolicyOutput) NextHop() pulumi.StringOutput {
+ return o.ApplyT(func(v RoutingPolicy) string { return v.NextHop }).(pulumi.StringOutput)
}
-type RouteMapRuleResponseArrayOutput struct{ *pulumi.OutputState }
+type RoutingPolicyArrayOutput struct{ *pulumi.OutputState }
-func (RouteMapRuleResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RouteMapRuleResponse)(nil)).Elem()
+func (RoutingPolicyArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RoutingPolicy)(nil)).Elem()
}
-func (o RouteMapRuleResponseArrayOutput) ToRouteMapRuleResponseArrayOutput() RouteMapRuleResponseArrayOutput {
+func (o RoutingPolicyArrayOutput) ToRoutingPolicyArrayOutput() RoutingPolicyArrayOutput {
return o
}
-func (o RouteMapRuleResponseArrayOutput) ToRouteMapRuleResponseArrayOutputWithContext(ctx context.Context) RouteMapRuleResponseArrayOutput {
+func (o RoutingPolicyArrayOutput) ToRoutingPolicyArrayOutputWithContext(ctx context.Context) RoutingPolicyArrayOutput {
return o
}
-func (o RouteMapRuleResponseArrayOutput) Index(i pulumi.IntInput) RouteMapRuleResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteMapRuleResponse {
- return vs[0].([]RouteMapRuleResponse)[vs[1].(int)]
- }).(RouteMapRuleResponseOutput)
+func (o RoutingPolicyArrayOutput) Index(i pulumi.IntInput) RoutingPolicyOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingPolicy {
+ return vs[0].([]RoutingPolicy)[vs[1].(int)]
+ }).(RoutingPolicyOutput)
}
-// Route resource.
-type RouteResponse struct {
- // The destination CIDR to which the route applies.
- AddressPrefix *string `pulumi:"addressPrefix"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // A value indicating whether this route overrides overlapping BGP routes regardless of LPM.
- HasBgpOverride bool `pulumi:"hasBgpOverride"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
- NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
- // The type of Azure hop the packet should be sent to.
- NextHopType string `pulumi:"nextHopType"`
- // The provisioning state of the route resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The type of the resource.
- Type *string `pulumi:"type"`
+// The routing policy object used in a RoutingIntent resource.
+type RoutingPolicyResponse struct {
+ // List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
+ Destinations []string `pulumi:"destinations"`
+ // The unique name for the routing policy.
+ Name string `pulumi:"name"`
+ // The next hop resource id on which this routing policy is applicable to.
+ NextHop string `pulumi:"nextHop"`
}
-// Route resource.
-type RouteResponseOutput struct{ *pulumi.OutputState }
+// The routing policy object used in a RoutingIntent resource.
+type RoutingPolicyResponseOutput struct{ *pulumi.OutputState }
-func (RouteResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteResponse)(nil)).Elem()
+func (RoutingPolicyResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingPolicyResponse)(nil)).Elem()
}
-func (o RouteResponseOutput) ToRouteResponseOutput() RouteResponseOutput {
+func (o RoutingPolicyResponseOutput) ToRoutingPolicyResponseOutput() RoutingPolicyResponseOutput {
return o
}
-func (o RouteResponseOutput) ToRouteResponseOutputWithContext(ctx context.Context) RouteResponseOutput {
+func (o RoutingPolicyResponseOutput) ToRoutingPolicyResponseOutputWithContext(ctx context.Context) RoutingPolicyResponseOutput {
return o
}
-// The destination CIDR to which the route applies.
-func (o RouteResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o RouteResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v RouteResponse) string { return v.Etag }).(pulumi.StringOutput)
+// List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
+func (o RoutingPolicyResponseOutput) Destinations() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v RoutingPolicyResponse) []string { return v.Destinations }).(pulumi.StringArrayOutput)
}
-// A value indicating whether this route overrides overlapping BGP routes regardless of LPM.
-func (o RouteResponseOutput) HasBgpOverride() pulumi.BoolOutput {
- return o.ApplyT(func(v RouteResponse) bool { return v.HasBgpOverride }).(pulumi.BoolOutput)
+// The unique name for the routing policy.
+func (o RoutingPolicyResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v RoutingPolicyResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// Resource ID.
-func (o RouteResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The next hop resource id on which this routing policy is applicable to.
+func (o RoutingPolicyResponseOutput) NextHop() pulumi.StringOutput {
+ return o.ApplyT(func(v RoutingPolicyResponse) string { return v.NextHop }).(pulumi.StringOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o RouteResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
+type RoutingPolicyResponseArrayOutput struct{ *pulumi.OutputState }
-// The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
-func (o RouteResponseOutput) NextHopIpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteResponse) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
+func (RoutingPolicyResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]RoutingPolicyResponse)(nil)).Elem()
}
-// The type of Azure hop the packet should be sent to.
-func (o RouteResponseOutput) NextHopType() pulumi.StringOutput {
- return o.ApplyT(func(v RouteResponse) string { return v.NextHopType }).(pulumi.StringOutput)
+func (o RoutingPolicyResponseArrayOutput) ToRoutingPolicyResponseArrayOutput() RoutingPolicyResponseArrayOutput {
+ return o
}
-// The provisioning state of the route resource.
-func (o RouteResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v RouteResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o RoutingPolicyResponseArrayOutput) ToRoutingPolicyResponseArrayOutputWithContext(ctx context.Context) RoutingPolicyResponseArrayOutput {
+ return o
}
-// The type of the resource.
-func (o RouteResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+func (o RoutingPolicyResponseArrayOutput) Index(i pulumi.IntInput) RoutingPolicyResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingPolicyResponse {
+ return vs[0].([]RoutingPolicyResponse)[vs[1].(int)]
+ }).(RoutingPolicyResponseOutput)
}
-type RouteResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (RouteResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RouteResponse)(nil)).Elem()
+// Next hop.
+type RoutingRuleNextHop struct {
+ // Next hop address. Only required if the next hop type is VirtualAppliance.
+ NextHopAddress *string `pulumi:"nextHopAddress"`
+ // Next hop type.
+ NextHopType string `pulumi:"nextHopType"`
}
-func (o RouteResponseArrayOutput) ToRouteResponseArrayOutput() RouteResponseArrayOutput {
- return o
-}
+// RoutingRuleNextHopInput is an input type that accepts RoutingRuleNextHopArgs and RoutingRuleNextHopOutput values.
+// You can construct a concrete instance of `RoutingRuleNextHopInput` via:
+//
+// RoutingRuleNextHopArgs{...}
+type RoutingRuleNextHopInput interface {
+ pulumi.Input
-func (o RouteResponseArrayOutput) ToRouteResponseArrayOutputWithContext(ctx context.Context) RouteResponseArrayOutput {
- return o
+ ToRoutingRuleNextHopOutput() RoutingRuleNextHopOutput
+ ToRoutingRuleNextHopOutputWithContext(context.Context) RoutingRuleNextHopOutput
}
-func (o RouteResponseArrayOutput) Index(i pulumi.IntInput) RouteResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteResponse {
- return vs[0].([]RouteResponse)[vs[1].(int)]
- }).(RouteResponseOutput)
+// Next hop.
+type RoutingRuleNextHopArgs struct {
+ // Next hop address. Only required if the next hop type is VirtualAppliance.
+ NextHopAddress pulumi.StringPtrInput `pulumi:"nextHopAddress"`
+ // Next hop type.
+ NextHopType pulumi.StringInput `pulumi:"nextHopType"`
}
-// Route resource
-type RouteResponseV1 struct {
- // The destination CIDR to which the route applies.
- AddressPrefix *string `pulumi:"addressPrefix"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
- NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
- // The type of Azure hop the packet should be sent to.
- NextHopType string `pulumi:"nextHopType"`
- // The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState *string `pulumi:"provisioningState"`
+func (RoutingRuleNextHopArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingRuleNextHop)(nil)).Elem()
}
-// Route resource
-type RouteResponseV1Output struct{ *pulumi.OutputState }
+func (i RoutingRuleNextHopArgs) ToRoutingRuleNextHopOutput() RoutingRuleNextHopOutput {
+ return i.ToRoutingRuleNextHopOutputWithContext(context.Background())
+}
+
+func (i RoutingRuleNextHopArgs) ToRoutingRuleNextHopOutputWithContext(ctx context.Context) RoutingRuleNextHopOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RoutingRuleNextHopOutput)
+}
-func (RouteResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteResponseV1)(nil)).Elem()
+// Next hop.
+type RoutingRuleNextHopOutput struct{ *pulumi.OutputState }
+
+func (RoutingRuleNextHopOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingRuleNextHop)(nil)).Elem()
}
-func (o RouteResponseV1Output) ToRouteResponseV1Output() RouteResponseV1Output {
+func (o RoutingRuleNextHopOutput) ToRoutingRuleNextHopOutput() RoutingRuleNextHopOutput {
return o
}
-func (o RouteResponseV1Output) ToRouteResponseV1OutputWithContext(ctx context.Context) RouteResponseV1Output {
+func (o RoutingRuleNextHopOutput) ToRoutingRuleNextHopOutputWithContext(ctx context.Context) RoutingRuleNextHopOutput {
return o
}
-// The destination CIDR to which the route applies.
-func (o RouteResponseV1Output) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteResponseV1) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
+// Next hop address. Only required if the next hop type is VirtualAppliance.
+func (o RoutingRuleNextHopOutput) NextHopAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RoutingRuleNextHop) *string { return v.NextHopAddress }).(pulumi.StringPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o RouteResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
+// Next hop type.
+func (o RoutingRuleNextHopOutput) NextHopType() pulumi.StringOutput {
+ return o.ApplyT(func(v RoutingRuleNextHop) string { return v.NextHopType }).(pulumi.StringOutput)
}
-// Resource ID.
-func (o RouteResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Next hop.
+type RoutingRuleNextHopResponse struct {
+ // Next hop address. Only required if the next hop type is VirtualAppliance.
+ NextHopAddress *string `pulumi:"nextHopAddress"`
+ // Next hop type.
+ NextHopType string `pulumi:"nextHopType"`
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o RouteResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Next hop.
+type RoutingRuleNextHopResponseOutput struct{ *pulumi.OutputState }
+
+func (RoutingRuleNextHopResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingRuleNextHopResponse)(nil)).Elem()
}
-// The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
-func (o RouteResponseV1Output) NextHopIpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteResponseV1) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
+func (o RoutingRuleNextHopResponseOutput) ToRoutingRuleNextHopResponseOutput() RoutingRuleNextHopResponseOutput {
+ return o
}
-// The type of Azure hop the packet should be sent to.
-func (o RouteResponseV1Output) NextHopType() pulumi.StringOutput {
- return o.ApplyT(func(v RouteResponseV1) string { return v.NextHopType }).(pulumi.StringOutput)
+func (o RoutingRuleNextHopResponseOutput) ToRoutingRuleNextHopResponseOutputWithContext(ctx context.Context) RoutingRuleNextHopResponseOutput {
+ return o
}
-// The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o RouteResponseV1Output) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteResponseV1) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+// Next hop address. Only required if the next hop type is VirtualAppliance.
+func (o RoutingRuleNextHopResponseOutput) NextHopAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v RoutingRuleNextHopResponse) *string { return v.NextHopAddress }).(pulumi.StringPtrOutput)
}
-type RouteResponseV1ArrayOutput struct{ *pulumi.OutputState }
+// Next hop type.
+func (o RoutingRuleNextHopResponseOutput) NextHopType() pulumi.StringOutput {
+ return o.ApplyT(func(v RoutingRuleNextHopResponse) string { return v.NextHopType }).(pulumi.StringOutput)
+}
-func (RouteResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RouteResponseV1)(nil)).Elem()
+// Route destination.
+type RoutingRuleRouteDestination struct {
+ // Destination address.
+ DestinationAddress string `pulumi:"destinationAddress"`
+ // Destination type.
+ Type string `pulumi:"type"`
}
-func (o RouteResponseV1ArrayOutput) ToRouteResponseV1ArrayOutput() RouteResponseV1ArrayOutput {
- return o
+// RoutingRuleRouteDestinationInput is an input type that accepts RoutingRuleRouteDestinationArgs and RoutingRuleRouteDestinationOutput values.
+// You can construct a concrete instance of `RoutingRuleRouteDestinationInput` via:
+//
+// RoutingRuleRouteDestinationArgs{...}
+type RoutingRuleRouteDestinationInput interface {
+ pulumi.Input
+
+ ToRoutingRuleRouteDestinationOutput() RoutingRuleRouteDestinationOutput
+ ToRoutingRuleRouteDestinationOutputWithContext(context.Context) RoutingRuleRouteDestinationOutput
}
-func (o RouteResponseV1ArrayOutput) ToRouteResponseV1ArrayOutputWithContext(ctx context.Context) RouteResponseV1ArrayOutput {
- return o
+// Route destination.
+type RoutingRuleRouteDestinationArgs struct {
+ // Destination address.
+ DestinationAddress pulumi.StringInput `pulumi:"destinationAddress"`
+ // Destination type.
+ Type pulumi.StringInput `pulumi:"type"`
}
-func (o RouteResponseV1ArrayOutput) Index(i pulumi.IntInput) RouteResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteResponseV1 {
- return vs[0].([]RouteResponseV1)[vs[1].(int)]
- }).(RouteResponseV1Output)
+func (RoutingRuleRouteDestinationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingRuleRouteDestination)(nil)).Elem()
}
-type RouteSourceDetailsResponse struct {
- // Express Route Circuit identifier
- Circuit *string `pulumi:"circuit"`
- // Flag to indicate if the route learned from the primary device is active or passive
- Pri *string `pulumi:"pri"`
- // Flag to indicate if the route learned from the secondary device is active or passive
- Sec *string `pulumi:"sec"`
+func (i RoutingRuleRouteDestinationArgs) ToRoutingRuleRouteDestinationOutput() RoutingRuleRouteDestinationOutput {
+ return i.ToRoutingRuleRouteDestinationOutputWithContext(context.Background())
}
-type RouteSourceDetailsResponseOutput struct{ *pulumi.OutputState }
+func (i RoutingRuleRouteDestinationArgs) ToRoutingRuleRouteDestinationOutputWithContext(ctx context.Context) RoutingRuleRouteDestinationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(RoutingRuleRouteDestinationOutput)
+}
-func (RouteSourceDetailsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteSourceDetailsResponse)(nil)).Elem()
+// Route destination.
+type RoutingRuleRouteDestinationOutput struct{ *pulumi.OutputState }
+
+func (RoutingRuleRouteDestinationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingRuleRouteDestination)(nil)).Elem()
}
-func (o RouteSourceDetailsResponseOutput) ToRouteSourceDetailsResponseOutput() RouteSourceDetailsResponseOutput {
+func (o RoutingRuleRouteDestinationOutput) ToRoutingRuleRouteDestinationOutput() RoutingRuleRouteDestinationOutput {
return o
}
-func (o RouteSourceDetailsResponseOutput) ToRouteSourceDetailsResponseOutputWithContext(ctx context.Context) RouteSourceDetailsResponseOutput {
+func (o RoutingRuleRouteDestinationOutput) ToRoutingRuleRouteDestinationOutputWithContext(ctx context.Context) RoutingRuleRouteDestinationOutput {
return o
}
-// Express Route Circuit identifier
-func (o RouteSourceDetailsResponseOutput) Circuit() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteSourceDetailsResponse) *string { return v.Circuit }).(pulumi.StringPtrOutput)
+// Destination address.
+func (o RoutingRuleRouteDestinationOutput) DestinationAddress() pulumi.StringOutput {
+ return o.ApplyT(func(v RoutingRuleRouteDestination) string { return v.DestinationAddress }).(pulumi.StringOutput)
}
-// Flag to indicate if the route learned from the primary device is active or passive
-func (o RouteSourceDetailsResponseOutput) Pri() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteSourceDetailsResponse) *string { return v.Pri }).(pulumi.StringPtrOutput)
+// Destination type.
+func (o RoutingRuleRouteDestinationOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v RoutingRuleRouteDestination) string { return v.Type }).(pulumi.StringOutput)
}
-// Flag to indicate if the route learned from the secondary device is active or passive
-func (o RouteSourceDetailsResponseOutput) Sec() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteSourceDetailsResponse) *string { return v.Sec }).(pulumi.StringPtrOutput)
+// Route destination.
+type RoutingRuleRouteDestinationResponse struct {
+ // Destination address.
+ DestinationAddress string `pulumi:"destinationAddress"`
+ // Destination type.
+ Type string `pulumi:"type"`
}
-type RouteSourceDetailsResponseArrayOutput struct{ *pulumi.OutputState }
+// Route destination.
+type RoutingRuleRouteDestinationResponseOutput struct{ *pulumi.OutputState }
-func (RouteSourceDetailsResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RouteSourceDetailsResponse)(nil)).Elem()
+func (RoutingRuleRouteDestinationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*RoutingRuleRouteDestinationResponse)(nil)).Elem()
}
-func (o RouteSourceDetailsResponseArrayOutput) ToRouteSourceDetailsResponseArrayOutput() RouteSourceDetailsResponseArrayOutput {
+func (o RoutingRuleRouteDestinationResponseOutput) ToRoutingRuleRouteDestinationResponseOutput() RoutingRuleRouteDestinationResponseOutput {
return o
}
-func (o RouteSourceDetailsResponseArrayOutput) ToRouteSourceDetailsResponseArrayOutputWithContext(ctx context.Context) RouteSourceDetailsResponseArrayOutput {
+func (o RoutingRuleRouteDestinationResponseOutput) ToRoutingRuleRouteDestinationResponseOutputWithContext(ctx context.Context) RoutingRuleRouteDestinationResponseOutput {
return o
}
-func (o RouteSourceDetailsResponseArrayOutput) Index(i pulumi.IntInput) RouteSourceDetailsResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteSourceDetailsResponse {
- return vs[0].([]RouteSourceDetailsResponse)[vs[1].(int)]
- }).(RouteSourceDetailsResponseOutput)
+// Destination address.
+func (o RoutingRuleRouteDestinationResponseOutput) DestinationAddress() pulumi.StringOutput {
+ return o.ApplyT(func(v RoutingRuleRouteDestinationResponse) string { return v.DestinationAddress }).(pulumi.StringOutput)
}
-// Route table resource.
-type RouteTableType struct {
- // Whether to disable the routes learned by BGP on that route table. True means disable.
- DisableBgpRoutePropagation *bool `pulumi:"disableBgpRoutePropagation"`
- // Gets a unique read-only string that changes whenever the resource is updated.
+// Destination type.
+func (o RoutingRuleRouteDestinationResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v RoutingRuleRouteDestinationResponse) string { return v.Type }).(pulumi.StringOutput)
+}
+
+// Network security rule.
+type SecurityRuleType struct {
+ // The network traffic is allowed or denied.
+ Access string `pulumi:"access"`
+ // A description for this rule. Restricted to 140 chars.
+ Description *string `pulumi:"description"`
+ // The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
+ DestinationAddressPrefix *string `pulumi:"destinationAddressPrefix"`
+ // The destination address prefixes. CIDR or destination IP ranges.
+ DestinationAddressPrefixes []string `pulumi:"destinationAddressPrefixes"`
+ // The application security group specified as destination.
+ DestinationApplicationSecurityGroups []ApplicationSecurityGroupType `pulumi:"destinationApplicationSecurityGroups"`
+ // The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+ DestinationPortRange *string `pulumi:"destinationPortRange"`
+ // The destination port ranges.
+ DestinationPortRanges []string `pulumi:"destinationPortRanges"`
+ // The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
+ Direction string `pulumi:"direction"`
+ // A unique read-only string that changes whenever the resource is updated.
Etag *string `pulumi:"etag"`
// Resource ID.
Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+ Priority *int `pulumi:"priority"`
+ // Network protocol this rule applies to.
+ Protocol string `pulumi:"protocol"`
+ // The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
ProvisioningState *string `pulumi:"provisioningState"`
- // Collection of routes contained within a route table.
- Routes []RouteType `pulumi:"routes"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
+ // The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
+ SourceAddressPrefix *string `pulumi:"sourceAddressPrefix"`
+ // The CIDR or source IP ranges.
+ SourceAddressPrefixes []string `pulumi:"sourceAddressPrefixes"`
+ // The application security group specified as source.
+ SourceApplicationSecurityGroups []ApplicationSecurityGroupType `pulumi:"sourceApplicationSecurityGroups"`
+ // The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+ SourcePortRange *string `pulumi:"sourcePortRange"`
+ // The source port ranges.
+ SourcePortRanges []string `pulumi:"sourcePortRanges"`
+ // The type of the resource.
+ Type *string `pulumi:"type"`
}
-// RouteTableTypeInput is an input type that accepts RouteTableTypeArgs and RouteTableTypeOutput values.
-// You can construct a concrete instance of `RouteTableTypeInput` via:
+// SecurityRuleTypeInput is an input type that accepts SecurityRuleTypeArgs and SecurityRuleTypeOutput values.
+// You can construct a concrete instance of `SecurityRuleTypeInput` via:
//
-// RouteTableTypeArgs{...}
-type RouteTableTypeInput interface {
+// SecurityRuleTypeArgs{...}
+type SecurityRuleTypeInput interface {
pulumi.Input
- ToRouteTableTypeOutput() RouteTableTypeOutput
- ToRouteTableTypeOutputWithContext(context.Context) RouteTableTypeOutput
+ ToSecurityRuleTypeOutput() SecurityRuleTypeOutput
+ ToSecurityRuleTypeOutputWithContext(context.Context) SecurityRuleTypeOutput
}
-// Route table resource.
-type RouteTableTypeArgs struct {
- // Whether to disable the routes learned by BGP on that route table. True means disable.
- DisableBgpRoutePropagation pulumi.BoolPtrInput `pulumi:"disableBgpRoutePropagation"`
- // Gets a unique read-only string that changes whenever the resource is updated.
+// Network security rule.
+type SecurityRuleTypeArgs struct {
+ // The network traffic is allowed or denied.
+ Access pulumi.StringInput `pulumi:"access"`
+ // A description for this rule. Restricted to 140 chars.
+ Description pulumi.StringPtrInput `pulumi:"description"`
+ // The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
+ DestinationAddressPrefix pulumi.StringPtrInput `pulumi:"destinationAddressPrefix"`
+ // The destination address prefixes. CIDR or destination IP ranges.
+ DestinationAddressPrefixes pulumi.StringArrayInput `pulumi:"destinationAddressPrefixes"`
+ // The application security group specified as destination.
+ DestinationApplicationSecurityGroups ApplicationSecurityGroupTypeArrayInput `pulumi:"destinationApplicationSecurityGroups"`
+ // The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+ DestinationPortRange pulumi.StringPtrInput `pulumi:"destinationPortRange"`
+ // The destination port ranges.
+ DestinationPortRanges pulumi.StringArrayInput `pulumi:"destinationPortRanges"`
+ // The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
+ Direction pulumi.StringInput `pulumi:"direction"`
+ // A unique read-only string that changes whenever the resource is updated.
Etag pulumi.StringPtrInput `pulumi:"etag"`
// Resource ID.
Id pulumi.StringPtrInput `pulumi:"id"`
- // Resource location.
- Location pulumi.StringPtrInput `pulumi:"location"`
- // The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+ Priority pulumi.IntPtrInput `pulumi:"priority"`
+ // Network protocol this rule applies to.
+ Protocol pulumi.StringInput `pulumi:"protocol"`
+ // The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
ProvisioningState pulumi.StringPtrInput `pulumi:"provisioningState"`
- // Collection of routes contained within a route table.
- Routes RouteTypeArrayInput `pulumi:"routes"`
- // Resource tags.
- Tags pulumi.StringMapInput `pulumi:"tags"`
+ // The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
+ SourceAddressPrefix pulumi.StringPtrInput `pulumi:"sourceAddressPrefix"`
+ // The CIDR or source IP ranges.
+ SourceAddressPrefixes pulumi.StringArrayInput `pulumi:"sourceAddressPrefixes"`
+ // The application security group specified as source.
+ SourceApplicationSecurityGroups ApplicationSecurityGroupTypeArrayInput `pulumi:"sourceApplicationSecurityGroups"`
+ // The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+ SourcePortRange pulumi.StringPtrInput `pulumi:"sourcePortRange"`
+ // The source port ranges.
+ SourcePortRanges pulumi.StringArrayInput `pulumi:"sourcePortRanges"`
+ // The type of the resource.
+ Type pulumi.StringPtrInput `pulumi:"type"`
}
-func (RouteTableTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteTableType)(nil)).Elem()
+func (SecurityRuleTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*SecurityRuleType)(nil)).Elem()
}
-func (i RouteTableTypeArgs) ToRouteTableTypeOutput() RouteTableTypeOutput {
- return i.ToRouteTableTypeOutputWithContext(context.Background())
+func (i SecurityRuleTypeArgs) ToSecurityRuleTypeOutput() SecurityRuleTypeOutput {
+ return i.ToSecurityRuleTypeOutputWithContext(context.Background())
}
-func (i RouteTableTypeArgs) ToRouteTableTypeOutputWithContext(ctx context.Context) RouteTableTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RouteTableTypeOutput)
+func (i SecurityRuleTypeArgs) ToSecurityRuleTypeOutputWithContext(ctx context.Context) SecurityRuleTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SecurityRuleTypeOutput)
}
-func (i RouteTableTypeArgs) ToRouteTableTypePtrOutput() RouteTableTypePtrOutput {
- return i.ToRouteTableTypePtrOutputWithContext(context.Background())
+// SecurityRuleTypeArrayInput is an input type that accepts SecurityRuleTypeArray and SecurityRuleTypeArrayOutput values.
+// You can construct a concrete instance of `SecurityRuleTypeArrayInput` via:
+//
+// SecurityRuleTypeArray{ SecurityRuleTypeArgs{...} }
+type SecurityRuleTypeArrayInput interface {
+ pulumi.Input
+
+ ToSecurityRuleTypeArrayOutput() SecurityRuleTypeArrayOutput
+ ToSecurityRuleTypeArrayOutputWithContext(context.Context) SecurityRuleTypeArrayOutput
}
-func (i RouteTableTypeArgs) ToRouteTableTypePtrOutputWithContext(ctx context.Context) RouteTableTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RouteTableTypeOutput).ToRouteTableTypePtrOutputWithContext(ctx)
+type SecurityRuleTypeArray []SecurityRuleTypeInput
+
+func (SecurityRuleTypeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SecurityRuleType)(nil)).Elem()
}
-// RouteTableTypePtrInput is an input type that accepts RouteTableTypeArgs, RouteTableTypePtr and RouteTableTypePtrOutput values.
-// You can construct a concrete instance of `RouteTableTypePtrInput` via:
-//
-// RouteTableTypeArgs{...}
-//
-// or:
-//
-// nil
-type RouteTableTypePtrInput interface {
- pulumi.Input
+func (i SecurityRuleTypeArray) ToSecurityRuleTypeArrayOutput() SecurityRuleTypeArrayOutput {
+ return i.ToSecurityRuleTypeArrayOutputWithContext(context.Background())
+}
- ToRouteTableTypePtrOutput() RouteTableTypePtrOutput
- ToRouteTableTypePtrOutputWithContext(context.Context) RouteTableTypePtrOutput
+func (i SecurityRuleTypeArray) ToSecurityRuleTypeArrayOutputWithContext(ctx context.Context) SecurityRuleTypeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SecurityRuleTypeArrayOutput)
}
-type routeTableTypePtrType RouteTableTypeArgs
+// Network security rule.
+type SecurityRuleTypeOutput struct{ *pulumi.OutputState }
-func RouteTableTypePtr(v *RouteTableTypeArgs) RouteTableTypePtrInput {
- return (*routeTableTypePtrType)(v)
+func (SecurityRuleTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SecurityRuleType)(nil)).Elem()
}
-func (*routeTableTypePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**RouteTableType)(nil)).Elem()
+func (o SecurityRuleTypeOutput) ToSecurityRuleTypeOutput() SecurityRuleTypeOutput {
+ return o
}
-func (i *routeTableTypePtrType) ToRouteTableTypePtrOutput() RouteTableTypePtrOutput {
- return i.ToRouteTableTypePtrOutputWithContext(context.Background())
+func (o SecurityRuleTypeOutput) ToSecurityRuleTypeOutputWithContext(ctx context.Context) SecurityRuleTypeOutput {
+ return o
}
-func (i *routeTableTypePtrType) ToRouteTableTypePtrOutputWithContext(ctx context.Context) RouteTableTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RouteTableTypePtrOutput)
+// The network traffic is allowed or denied.
+func (o SecurityRuleTypeOutput) Access() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleType) string { return v.Access }).(pulumi.StringOutput)
}
-// Route table resource.
-type RouteTableTypeOutput struct{ *pulumi.OutputState }
+// A description for this rule. Restricted to 140 chars.
+func (o SecurityRuleTypeOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleType) *string { return v.Description }).(pulumi.StringPtrOutput)
+}
-func (RouteTableTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteTableType)(nil)).Elem()
+// The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
+func (o SecurityRuleTypeOutput) DestinationAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleType) *string { return v.DestinationAddressPrefix }).(pulumi.StringPtrOutput)
}
-func (o RouteTableTypeOutput) ToRouteTableTypeOutput() RouteTableTypeOutput {
- return o
+// The destination address prefixes. CIDR or destination IP ranges.
+func (o SecurityRuleTypeOutput) DestinationAddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleType) []string { return v.DestinationAddressPrefixes }).(pulumi.StringArrayOutput)
}
-func (o RouteTableTypeOutput) ToRouteTableTypeOutputWithContext(ctx context.Context) RouteTableTypeOutput {
- return o
+// The application security group specified as destination.
+func (o SecurityRuleTypeOutput) DestinationApplicationSecurityGroups() ApplicationSecurityGroupTypeArrayOutput {
+ return o.ApplyT(func(v SecurityRuleType) []ApplicationSecurityGroupType { return v.DestinationApplicationSecurityGroups }).(ApplicationSecurityGroupTypeArrayOutput)
}
-func (o RouteTableTypeOutput) ToRouteTableTypePtrOutput() RouteTableTypePtrOutput {
- return o.ToRouteTableTypePtrOutputWithContext(context.Background())
+// The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+func (o SecurityRuleTypeOutput) DestinationPortRange() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleType) *string { return v.DestinationPortRange }).(pulumi.StringPtrOutput)
}
-func (o RouteTableTypeOutput) ToRouteTableTypePtrOutputWithContext(ctx context.Context) RouteTableTypePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v RouteTableType) *RouteTableType {
- return &v
- }).(RouteTableTypePtrOutput)
+// The destination port ranges.
+func (o SecurityRuleTypeOutput) DestinationPortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleType) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
}
-// Whether to disable the routes learned by BGP on that route table. True means disable.
-func (o RouteTableTypeOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v RouteTableType) *bool { return v.DisableBgpRoutePropagation }).(pulumi.BoolPtrOutput)
+// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
+func (o SecurityRuleTypeOutput) Direction() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleType) string { return v.Direction }).(pulumi.StringOutput)
}
-// Gets a unique read-only string that changes whenever the resource is updated.
-func (o RouteTableTypeOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteTableType) *string { return v.Etag }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o SecurityRuleTypeOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleType) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
// Resource ID.
-func (o RouteTableTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteTableType) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o SecurityRuleTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Resource location.
-func (o RouteTableTypeOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteTableType) *string { return v.Location }).(pulumi.StringPtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o SecurityRuleTypeOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleType) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o RouteTableTypeOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteTableType) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+// The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+func (o SecurityRuleTypeOutput) Priority() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v SecurityRuleType) *int { return v.Priority }).(pulumi.IntPtrOutput)
}
-// Collection of routes contained within a route table.
-func (o RouteTableTypeOutput) Routes() RouteTypeArrayOutput {
- return o.ApplyT(func(v RouteTableType) []RouteType { return v.Routes }).(RouteTypeArrayOutput)
+// Network protocol this rule applies to.
+func (o SecurityRuleTypeOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleType) string { return v.Protocol }).(pulumi.StringOutput)
}
-// Resource tags.
-func (o RouteTableTypeOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v RouteTableType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o SecurityRuleTypeOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleType) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-type RouteTableTypePtrOutput struct{ *pulumi.OutputState }
+// The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
+func (o SecurityRuleTypeOutput) SourceAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleType) *string { return v.SourceAddressPrefix }).(pulumi.StringPtrOutput)
+}
-func (RouteTableTypePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RouteTableType)(nil)).Elem()
+// The CIDR or source IP ranges.
+func (o SecurityRuleTypeOutput) SourceAddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleType) []string { return v.SourceAddressPrefixes }).(pulumi.StringArrayOutput)
}
-func (o RouteTableTypePtrOutput) ToRouteTableTypePtrOutput() RouteTableTypePtrOutput {
+// The application security group specified as source.
+func (o SecurityRuleTypeOutput) SourceApplicationSecurityGroups() ApplicationSecurityGroupTypeArrayOutput {
+ return o.ApplyT(func(v SecurityRuleType) []ApplicationSecurityGroupType { return v.SourceApplicationSecurityGroups }).(ApplicationSecurityGroupTypeArrayOutput)
+}
+
+// The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+func (o SecurityRuleTypeOutput) SourcePortRange() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleType) *string { return v.SourcePortRange }).(pulumi.StringPtrOutput)
+}
+
+// The source port ranges.
+func (o SecurityRuleTypeOutput) SourcePortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleType) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
+}
+
+// The type of the resource.
+func (o SecurityRuleTypeOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleType) *string { return v.Type }).(pulumi.StringPtrOutput)
+}
+
+type SecurityRuleTypeArrayOutput struct{ *pulumi.OutputState }
+
+func (SecurityRuleTypeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SecurityRuleType)(nil)).Elem()
+}
+
+func (o SecurityRuleTypeArrayOutput) ToSecurityRuleTypeArrayOutput() SecurityRuleTypeArrayOutput {
return o
}
-func (o RouteTableTypePtrOutput) ToRouteTableTypePtrOutputWithContext(ctx context.Context) RouteTableTypePtrOutput {
+func (o SecurityRuleTypeArrayOutput) ToSecurityRuleTypeArrayOutputWithContext(ctx context.Context) SecurityRuleTypeArrayOutput {
return o
}
-func (o RouteTableTypePtrOutput) Elem() RouteTableTypeOutput {
- return o.ApplyT(func(v *RouteTableType) RouteTableType {
- if v != nil {
- return *v
- }
- var ret RouteTableType
- return ret
- }).(RouteTableTypeOutput)
+func (o SecurityRuleTypeArrayOutput) Index(i pulumi.IntInput) SecurityRuleTypeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityRuleType {
+ return vs[0].([]SecurityRuleType)[vs[1].(int)]
+ }).(SecurityRuleTypeOutput)
}
-// Whether to disable the routes learned by BGP on that route table. True means disable.
-func (o RouteTableTypePtrOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *RouteTableType) *bool {
- if v == nil {
- return nil
- }
- return v.DisableBgpRoutePropagation
- }).(pulumi.BoolPtrOutput)
+// Network security rule.
+type SecurityRuleInterfaceEndpointResponse struct {
+ // The network traffic is allowed or denied.
+ Access string `pulumi:"access"`
+ // A description for this rule. Restricted to 140 chars.
+ Description *string `pulumi:"description"`
+ // The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
+ DestinationAddressPrefix *string `pulumi:"destinationAddressPrefix"`
+ // The destination address prefixes. CIDR or destination IP ranges.
+ DestinationAddressPrefixes []string `pulumi:"destinationAddressPrefixes"`
+ // The application security group specified as destination.
+ DestinationApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"destinationApplicationSecurityGroups"`
+ // The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+ DestinationPortRange *string `pulumi:"destinationPortRange"`
+ // The destination port ranges.
+ DestinationPortRanges []string `pulumi:"destinationPortRanges"`
+ // The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
+ Direction string `pulumi:"direction"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+ Priority *int `pulumi:"priority"`
+ // Network protocol this rule applies to. Possible values are 'Tcp', 'Udp', 'Icmp', 'Esp', and '*'.
+ Protocol string `pulumi:"protocol"`
+ // The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState *string `pulumi:"provisioningState"`
+ // The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
+ SourceAddressPrefix *string `pulumi:"sourceAddressPrefix"`
+ // The CIDR or source IP ranges.
+ SourceAddressPrefixes []string `pulumi:"sourceAddressPrefixes"`
+ // The application security group specified as source.
+ SourceApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"sourceApplicationSecurityGroups"`
+ // The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+ SourcePortRange *string `pulumi:"sourcePortRange"`
+ // The source port ranges.
+ SourcePortRanges []string `pulumi:"sourcePortRanges"`
}
-// Gets a unique read-only string that changes whenever the resource is updated.
-func (o RouteTableTypePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableType) *string {
- if v == nil {
- return nil
- }
- return v.Etag
- }).(pulumi.StringPtrOutput)
+// Network security rule.
+type SecurityRuleInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
+
+func (SecurityRuleInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SecurityRuleInterfaceEndpointResponse)(nil)).Elem()
}
-// Resource ID.
-func (o RouteTableTypePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableType) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+func (o SecurityRuleInterfaceEndpointResponseOutput) ToSecurityRuleInterfaceEndpointResponseOutput() SecurityRuleInterfaceEndpointResponseOutput {
+ return o
}
-// Resource location.
-func (o RouteTableTypePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableType) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
+func (o SecurityRuleInterfaceEndpointResponseOutput) ToSecurityRuleInterfaceEndpointResponseOutputWithContext(ctx context.Context) SecurityRuleInterfaceEndpointResponseOutput {
+ return o
}
-// The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o RouteTableTypePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableType) *string {
- if v == nil {
- return nil
- }
- return v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+// The network traffic is allowed or denied.
+func (o SecurityRuleInterfaceEndpointResponseOutput) Access() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) string { return v.Access }).(pulumi.StringOutput)
}
-// Collection of routes contained within a route table.
-func (o RouteTableTypePtrOutput) Routes() RouteTypeArrayOutput {
- return o.ApplyT(func(v *RouteTableType) []RouteType {
- if v == nil {
- return nil
- }
- return v.Routes
- }).(RouteTypeArrayOutput)
+// A description for this rule. Restricted to 140 chars.
+func (o SecurityRuleInterfaceEndpointResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// Resource tags.
-func (o RouteTableTypePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *RouteTableType) map[string]string {
- if v == nil {
- return nil
- }
- return v.Tags
- }).(pulumi.StringMapOutput)
+// The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
+func (o SecurityRuleInterfaceEndpointResponseOutput) DestinationAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) *string { return v.DestinationAddressPrefix }).(pulumi.StringPtrOutput)
}
-// Route table resource.
-type RouteTableResponse struct {
- // Whether to disable the routes learned by BGP on that route table. True means disable.
- DisableBgpRoutePropagation *bool `pulumi:"disableBgpRoutePropagation"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // The provisioning state of the route table resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The resource GUID property of the route table.
- ResourceGuid string `pulumi:"resourceGuid"`
- // Collection of routes contained within a route table.
- Routes []RouteResponse `pulumi:"routes"`
- // A collection of references to subnets.
- Subnets []SubnetResponse `pulumi:"subnets"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
+// The destination address prefixes. CIDR or destination IP ranges.
+func (o SecurityRuleInterfaceEndpointResponseOutput) DestinationAddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) []string { return v.DestinationAddressPrefixes }).(pulumi.StringArrayOutput)
}
-// Route table resource.
-type RouteTableResponseOutput struct{ *pulumi.OutputState }
-
-func (RouteTableResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteTableResponse)(nil)).Elem()
+// The application security group specified as destination.
+func (o SecurityRuleInterfaceEndpointResponseOutput) DestinationApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) []ApplicationSecurityGroupResponse {
+ return v.DestinationApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
}
-func (o RouteTableResponseOutput) ToRouteTableResponseOutput() RouteTableResponseOutput {
- return o
+// The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+func (o SecurityRuleInterfaceEndpointResponseOutput) DestinationPortRange() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) *string { return v.DestinationPortRange }).(pulumi.StringPtrOutput)
}
-func (o RouteTableResponseOutput) ToRouteTableResponseOutputWithContext(ctx context.Context) RouteTableResponseOutput {
- return o
+// The destination port ranges.
+func (o SecurityRuleInterfaceEndpointResponseOutput) DestinationPortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
}
-// Whether to disable the routes learned by BGP on that route table. True means disable.
-func (o RouteTableResponseOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v RouteTableResponse) *bool { return v.DisableBgpRoutePropagation }).(pulumi.BoolPtrOutput)
+// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
+func (o SecurityRuleInterfaceEndpointResponseOutput) Direction() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) string { return v.Direction }).(pulumi.StringOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o RouteTableResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v RouteTableResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o SecurityRuleInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
// Resource ID.
-func (o RouteTableResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteTableResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o SecurityRuleInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Resource location.
-func (o RouteTableResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteTableResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o SecurityRuleInterfaceEndpointResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Resource name.
-func (o RouteTableResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v RouteTableResponse) string { return v.Name }).(pulumi.StringOutput)
+// The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+func (o SecurityRuleInterfaceEndpointResponseOutput) Priority() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) *int { return v.Priority }).(pulumi.IntPtrOutput)
}
-// The provisioning state of the route table resource.
-func (o RouteTableResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v RouteTableResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Network protocol this rule applies to. Possible values are 'Tcp', 'Udp', 'Icmp', 'Esp', and '*'.
+func (o SecurityRuleInterfaceEndpointResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) string { return v.Protocol }).(pulumi.StringOutput)
}
-// The resource GUID property of the route table.
-func (o RouteTableResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v RouteTableResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o SecurityRuleInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-// Collection of routes contained within a route table.
-func (o RouteTableResponseOutput) Routes() RouteResponseArrayOutput {
- return o.ApplyT(func(v RouteTableResponse) []RouteResponse { return v.Routes }).(RouteResponseArrayOutput)
+// The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
+func (o SecurityRuleInterfaceEndpointResponseOutput) SourceAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) *string { return v.SourceAddressPrefix }).(pulumi.StringPtrOutput)
}
-// A collection of references to subnets.
-func (o RouteTableResponseOutput) Subnets() SubnetResponseArrayOutput {
- return o.ApplyT(func(v RouteTableResponse) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
+// The CIDR or source IP ranges.
+func (o SecurityRuleInterfaceEndpointResponseOutput) SourceAddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) []string { return v.SourceAddressPrefixes }).(pulumi.StringArrayOutput)
}
-// Resource tags.
-func (o RouteTableResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v RouteTableResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// The application security group specified as source.
+func (o SecurityRuleInterfaceEndpointResponseOutput) SourceApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) []ApplicationSecurityGroupResponse {
+ return v.SourceApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
}
-// Resource type.
-func (o RouteTableResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v RouteTableResponse) string { return v.Type }).(pulumi.StringOutput)
+// The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+func (o SecurityRuleInterfaceEndpointResponseOutput) SourcePortRange() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) *string { return v.SourcePortRange }).(pulumi.StringPtrOutput)
}
-type RouteTableResponsePtrOutput struct{ *pulumi.OutputState }
+// The source port ranges.
+func (o SecurityRuleInterfaceEndpointResponseOutput) SourcePortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleInterfaceEndpointResponse) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
+}
-func (RouteTableResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RouteTableResponse)(nil)).Elem()
+type SecurityRuleInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (SecurityRuleInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SecurityRuleInterfaceEndpointResponse)(nil)).Elem()
}
-func (o RouteTableResponsePtrOutput) ToRouteTableResponsePtrOutput() RouteTableResponsePtrOutput {
+func (o SecurityRuleInterfaceEndpointResponseArrayOutput) ToSecurityRuleInterfaceEndpointResponseArrayOutput() SecurityRuleInterfaceEndpointResponseArrayOutput {
return o
}
-func (o RouteTableResponsePtrOutput) ToRouteTableResponsePtrOutputWithContext(ctx context.Context) RouteTableResponsePtrOutput {
+func (o SecurityRuleInterfaceEndpointResponseArrayOutput) ToSecurityRuleInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) SecurityRuleInterfaceEndpointResponseArrayOutput {
return o
}
-func (o RouteTableResponsePtrOutput) Elem() RouteTableResponseOutput {
- return o.ApplyT(func(v *RouteTableResponse) RouteTableResponse {
- if v != nil {
- return *v
- }
- var ret RouteTableResponse
- return ret
- }).(RouteTableResponseOutput)
+func (o SecurityRuleInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) SecurityRuleInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityRuleInterfaceEndpointResponse {
+ return vs[0].([]SecurityRuleInterfaceEndpointResponse)[vs[1].(int)]
+ }).(SecurityRuleInterfaceEndpointResponseOutput)
}
-// Whether to disable the routes learned by BGP on that route table. True means disable.
-func (o RouteTableResponsePtrOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *RouteTableResponse) *bool {
- if v == nil {
- return nil
- }
- return v.DisableBgpRoutePropagation
- }).(pulumi.BoolPtrOutput)
+// Network security rule.
+type SecurityRuleResponse struct {
+ // The network traffic is allowed or denied.
+ Access string `pulumi:"access"`
+ // A description for this rule. Restricted to 140 chars.
+ Description *string `pulumi:"description"`
+ // The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
+ DestinationAddressPrefix *string `pulumi:"destinationAddressPrefix"`
+ // The destination address prefixes. CIDR or destination IP ranges.
+ DestinationAddressPrefixes []string `pulumi:"destinationAddressPrefixes"`
+ // The application security group specified as destination.
+ DestinationApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"destinationApplicationSecurityGroups"`
+ // The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+ DestinationPortRange *string `pulumi:"destinationPortRange"`
+ // The destination port ranges.
+ DestinationPortRanges []string `pulumi:"destinationPortRanges"`
+ // The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
+ Direction string `pulumi:"direction"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+ Priority int `pulumi:"priority"`
+ // Network protocol this rule applies to.
+ Protocol string `pulumi:"protocol"`
+ // The provisioning state of the security rule resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
+ SourceAddressPrefix *string `pulumi:"sourceAddressPrefix"`
+ // The CIDR or source IP ranges.
+ SourceAddressPrefixes []string `pulumi:"sourceAddressPrefixes"`
+ // The application security group specified as source.
+ SourceApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"sourceApplicationSecurityGroups"`
+ // The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+ SourcePortRange *string `pulumi:"sourcePortRange"`
+ // The source port ranges.
+ SourcePortRanges []string `pulumi:"sourcePortRanges"`
+ // The type of the resource.
+ Type *string `pulumi:"type"`
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o RouteTableResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Etag
- }).(pulumi.StringPtrOutput)
-}
+// Network security rule.
+type SecurityRuleResponseOutput struct{ *pulumi.OutputState }
-// Resource ID.
-func (o RouteTableResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+func (SecurityRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SecurityRuleResponse)(nil)).Elem()
}
-// Resource location.
-func (o RouteTableResponsePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableResponse) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
+func (o SecurityRuleResponseOutput) ToSecurityRuleResponseOutput() SecurityRuleResponseOutput {
+ return o
}
-// Resource name.
-func (o RouteTableResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Name
- }).(pulumi.StringPtrOutput)
+func (o SecurityRuleResponseOutput) ToSecurityRuleResponseOutputWithContext(ctx context.Context) SecurityRuleResponseOutput {
+ return o
}
-// The provisioning state of the route table resource.
-func (o RouteTableResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+// The network traffic is allowed or denied.
+func (o SecurityRuleResponseOutput) Access() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) string { return v.Access }).(pulumi.StringOutput)
}
-// The resource GUID property of the route table.
-func (o RouteTableResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ResourceGuid
- }).(pulumi.StringPtrOutput)
+// A description for this rule. Restricted to 140 chars.
+func (o SecurityRuleResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// Collection of routes contained within a route table.
-func (o RouteTableResponsePtrOutput) Routes() RouteResponseArrayOutput {
- return o.ApplyT(func(v *RouteTableResponse) []RouteResponse {
- if v == nil {
- return nil
- }
- return v.Routes
- }).(RouteResponseArrayOutput)
+// The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
+func (o SecurityRuleResponseOutput) DestinationAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) *string { return v.DestinationAddressPrefix }).(pulumi.StringPtrOutput)
}
-// A collection of references to subnets.
-func (o RouteTableResponsePtrOutput) Subnets() SubnetResponseArrayOutput {
- return o.ApplyT(func(v *RouteTableResponse) []SubnetResponse {
- if v == nil {
- return nil
- }
- return v.Subnets
- }).(SubnetResponseArrayOutput)
+// The destination address prefixes. CIDR or destination IP ranges.
+func (o SecurityRuleResponseOutput) DestinationAddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) []string { return v.DestinationAddressPrefixes }).(pulumi.StringArrayOutput)
}
-// Resource tags.
-func (o RouteTableResponsePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *RouteTableResponse) map[string]string {
- if v == nil {
- return nil
- }
- return v.Tags
- }).(pulumi.StringMapOutput)
+// The application security group specified as destination.
+func (o SecurityRuleResponseOutput) DestinationApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) []ApplicationSecurityGroupResponse {
+ return v.DestinationApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
}
-// Resource type.
-func (o RouteTableResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Type
- }).(pulumi.StringPtrOutput)
+// The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+func (o SecurityRuleResponseOutput) DestinationPortRange() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) *string { return v.DestinationPortRange }).(pulumi.StringPtrOutput)
}
-// Route table resource.
-type RouteTableResponseV1 struct {
- // Gets or sets whether to disable the routes learned by BGP on that route table. True means disable.
- DisableBgpRoutePropagation *bool `pulumi:"disableBgpRoutePropagation"`
- // Gets a unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState *string `pulumi:"provisioningState"`
- // Collection of routes contained within a route table.
- Routes []RouteResponseV1 `pulumi:"routes"`
- // A collection of references to subnets.
- Subnets []SubnetResponse `pulumi:"subnets"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
+// The destination port ranges.
+func (o SecurityRuleResponseOutput) DestinationPortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
}
-// Route table resource.
-type RouteTableResponseV1Output struct{ *pulumi.OutputState }
-
-func (RouteTableResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteTableResponseV1)(nil)).Elem()
+// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
+func (o SecurityRuleResponseOutput) Direction() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) string { return v.Direction }).(pulumi.StringOutput)
}
-func (o RouteTableResponseV1Output) ToRouteTableResponseV1Output() RouteTableResponseV1Output {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o SecurityRuleResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (o RouteTableResponseV1Output) ToRouteTableResponseV1OutputWithContext(ctx context.Context) RouteTableResponseV1Output {
- return o
+// Resource ID.
+func (o SecurityRuleResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Gets or sets whether to disable the routes learned by BGP on that route table. True means disable.
-func (o RouteTableResponseV1Output) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v RouteTableResponseV1) *bool { return v.DisableBgpRoutePropagation }).(pulumi.BoolPtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o SecurityRuleResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Gets a unique read-only string that changes whenever the resource is updated.
-func (o RouteTableResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteTableResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
+// The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+func (o SecurityRuleResponseOutput) Priority() pulumi.IntOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) int { return v.Priority }).(pulumi.IntOutput)
}
-// Resource ID.
-func (o RouteTableResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteTableResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Network protocol this rule applies to.
+func (o SecurityRuleResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) string { return v.Protocol }).(pulumi.StringOutput)
}
-// Resource location.
-func (o RouteTableResponseV1Output) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteTableResponseV1) *string { return v.Location }).(pulumi.StringPtrOutput)
+// The provisioning state of the security rule resource.
+func (o SecurityRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Resource name.
-func (o RouteTableResponseV1Output) Name() pulumi.StringOutput {
- return o.ApplyT(func(v RouteTableResponseV1) string { return v.Name }).(pulumi.StringOutput)
+// The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
+func (o SecurityRuleResponseOutput) SourceAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) *string { return v.SourceAddressPrefix }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o RouteTableResponseV1Output) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteTableResponseV1) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+// The CIDR or source IP ranges.
+func (o SecurityRuleResponseOutput) SourceAddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) []string { return v.SourceAddressPrefixes }).(pulumi.StringArrayOutput)
}
-// Collection of routes contained within a route table.
-func (o RouteTableResponseV1Output) Routes() RouteResponseV1ArrayOutput {
- return o.ApplyT(func(v RouteTableResponseV1) []RouteResponseV1 { return v.Routes }).(RouteResponseV1ArrayOutput)
+// The application security group specified as source.
+func (o SecurityRuleResponseOutput) SourceApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) []ApplicationSecurityGroupResponse {
+ return v.SourceApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
}
-// A collection of references to subnets.
-func (o RouteTableResponseV1Output) Subnets() SubnetResponseArrayOutput {
- return o.ApplyT(func(v RouteTableResponseV1) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
+// The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+func (o SecurityRuleResponseOutput) SourcePortRange() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) *string { return v.SourcePortRange }).(pulumi.StringPtrOutput)
}
-// Resource tags.
-func (o RouteTableResponseV1Output) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v RouteTableResponseV1) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// The source port ranges.
+func (o SecurityRuleResponseOutput) SourcePortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
}
-// Resource type.
-func (o RouteTableResponseV1Output) Type() pulumi.StringOutput {
- return o.ApplyT(func(v RouteTableResponseV1) string { return v.Type }).(pulumi.StringOutput)
+// The type of the resource.
+func (o SecurityRuleResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-type RouteTableResponseV1PtrOutput struct{ *pulumi.OutputState }
+type SecurityRuleResponseArrayOutput struct{ *pulumi.OutputState }
-func (RouteTableResponseV1PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RouteTableResponseV1)(nil)).Elem()
+func (SecurityRuleResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SecurityRuleResponse)(nil)).Elem()
}
-func (o RouteTableResponseV1PtrOutput) ToRouteTableResponseV1PtrOutput() RouteTableResponseV1PtrOutput {
+func (o SecurityRuleResponseArrayOutput) ToSecurityRuleResponseArrayOutput() SecurityRuleResponseArrayOutput {
return o
}
-func (o RouteTableResponseV1PtrOutput) ToRouteTableResponseV1PtrOutputWithContext(ctx context.Context) RouteTableResponseV1PtrOutput {
+func (o SecurityRuleResponseArrayOutput) ToSecurityRuleResponseArrayOutputWithContext(ctx context.Context) SecurityRuleResponseArrayOutput {
return o
}
-func (o RouteTableResponseV1PtrOutput) Elem() RouteTableResponseV1Output {
- return o.ApplyT(func(v *RouteTableResponseV1) RouteTableResponseV1 {
- if v != nil {
- return *v
- }
- var ret RouteTableResponseV1
- return ret
- }).(RouteTableResponseV1Output)
+func (o SecurityRuleResponseArrayOutput) Index(i pulumi.IntInput) SecurityRuleResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityRuleResponse {
+ return vs[0].([]SecurityRuleResponse)[vs[1].(int)]
+ }).(SecurityRuleResponseOutput)
}
-// Gets or sets whether to disable the routes learned by BGP on that route table. True means disable.
-func (o RouteTableResponseV1PtrOutput) DisableBgpRoutePropagation() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *RouteTableResponseV1) *bool {
- if v == nil {
- return nil
- }
- return v.DisableBgpRoutePropagation
- }).(pulumi.BoolPtrOutput)
+// Network security rule.
+type SecurityRuleServiceGatewayResponse struct {
+ // The network traffic is allowed or denied.
+ Access string `pulumi:"access"`
+ // A description for this rule. Restricted to 140 chars.
+ Description *string `pulumi:"description"`
+ // The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
+ DestinationAddressPrefix *string `pulumi:"destinationAddressPrefix"`
+ // The destination address prefixes. CIDR or destination IP ranges.
+ DestinationAddressPrefixes []string `pulumi:"destinationAddressPrefixes"`
+ // The application security group specified as destination.
+ DestinationApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"destinationApplicationSecurityGroups"`
+ // The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+ DestinationPortRange *string `pulumi:"destinationPortRange"`
+ // The destination port ranges.
+ DestinationPortRanges []string `pulumi:"destinationPortRanges"`
+ // The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
+ Direction string `pulumi:"direction"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+ Priority int `pulumi:"priority"`
+ // Network protocol this rule applies to.
+ Protocol string `pulumi:"protocol"`
+ // The provisioning state of the security rule resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
+ SourceAddressPrefix *string `pulumi:"sourceAddressPrefix"`
+ // The CIDR or source IP ranges.
+ SourceAddressPrefixes []string `pulumi:"sourceAddressPrefixes"`
+ // The application security group specified as source.
+ SourceApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"sourceApplicationSecurityGroups"`
+ // The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+ SourcePortRange *string `pulumi:"sourcePortRange"`
+ // The source port ranges.
+ SourcePortRanges []string `pulumi:"sourcePortRanges"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// Gets a unique read-only string that changes whenever the resource is updated.
-func (o RouteTableResponseV1PtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.Etag
- }).(pulumi.StringPtrOutput)
-}
+// Network security rule.
+type SecurityRuleServiceGatewayResponseOutput struct{ *pulumi.OutputState }
-// Resource ID.
-func (o RouteTableResponseV1PtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+func (SecurityRuleServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SecurityRuleServiceGatewayResponse)(nil)).Elem()
}
-// Resource location.
-func (o RouteTableResponseV1PtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
+func (o SecurityRuleServiceGatewayResponseOutput) ToSecurityRuleServiceGatewayResponseOutput() SecurityRuleServiceGatewayResponseOutput {
+ return o
}
-// Resource name.
-func (o RouteTableResponseV1PtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableResponseV1) *string {
- if v == nil {
- return nil
- }
- return &v.Name
- }).(pulumi.StringPtrOutput)
+func (o SecurityRuleServiceGatewayResponseOutput) ToSecurityRuleServiceGatewayResponseOutputWithContext(ctx context.Context) SecurityRuleServiceGatewayResponseOutput {
+ return o
}
-// The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o RouteTableResponseV1PtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+// The network traffic is allowed or denied.
+func (o SecurityRuleServiceGatewayResponseOutput) Access() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) string { return v.Access }).(pulumi.StringOutput)
}
-// Collection of routes contained within a route table.
-func (o RouteTableResponseV1PtrOutput) Routes() RouteResponseV1ArrayOutput {
- return o.ApplyT(func(v *RouteTableResponseV1) []RouteResponseV1 {
- if v == nil {
- return nil
- }
- return v.Routes
- }).(RouteResponseV1ArrayOutput)
+// A description for this rule. Restricted to 140 chars.
+func (o SecurityRuleServiceGatewayResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// A collection of references to subnets.
-func (o RouteTableResponseV1PtrOutput) Subnets() SubnetResponseArrayOutput {
- return o.ApplyT(func(v *RouteTableResponseV1) []SubnetResponse {
- if v == nil {
- return nil
- }
- return v.Subnets
- }).(SubnetResponseArrayOutput)
+// The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
+func (o SecurityRuleServiceGatewayResponseOutput) DestinationAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) *string { return v.DestinationAddressPrefix }).(pulumi.StringPtrOutput)
}
-// Resource tags.
-func (o RouteTableResponseV1PtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *RouteTableResponseV1) map[string]string {
- if v == nil {
- return nil
- }
- return v.Tags
- }).(pulumi.StringMapOutput)
+// The destination address prefixes. CIDR or destination IP ranges.
+func (o SecurityRuleServiceGatewayResponseOutput) DestinationAddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) []string { return v.DestinationAddressPrefixes }).(pulumi.StringArrayOutput)
}
-// Resource type.
-func (o RouteTableResponseV1PtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTableResponseV1) *string {
- if v == nil {
- return nil
- }
- return &v.Type
- }).(pulumi.StringPtrOutput)
+// The application security group specified as destination.
+func (o SecurityRuleServiceGatewayResponseOutput) DestinationApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) []ApplicationSecurityGroupResponse {
+ return v.DestinationApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
}
-// Properties of route target address
-type RouteTargetAddressPropertiesFormat struct {
- // The private IPv4 or IPv6 address of the service gateway route target address.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // The Private IP allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // The reference to the subnet resource.
- Subnet *CommonSubnet `pulumi:"subnet"`
+// The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+func (o SecurityRuleServiceGatewayResponseOutput) DestinationPortRange() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) *string { return v.DestinationPortRange }).(pulumi.StringPtrOutput)
}
-// Defaults sets the appropriate defaults for RouteTargetAddressPropertiesFormat
-func (val *RouteTargetAddressPropertiesFormat) Defaults() *RouteTargetAddressPropertiesFormat {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.Subnet = tmp.Subnet.Defaults()
+// The destination port ranges.
+func (o SecurityRuleServiceGatewayResponseOutput) DestinationPortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
+}
- return &tmp
+// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
+func (o SecurityRuleServiceGatewayResponseOutput) Direction() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) string { return v.Direction }).(pulumi.StringOutput)
}
-// RouteTargetAddressPropertiesFormatInput is an input type that accepts RouteTargetAddressPropertiesFormatArgs and RouteTargetAddressPropertiesFormatOutput values.
-// You can construct a concrete instance of `RouteTargetAddressPropertiesFormatInput` via:
-//
-// RouteTargetAddressPropertiesFormatArgs{...}
-type RouteTargetAddressPropertiesFormatInput interface {
- pulumi.Input
+// A unique read-only string that changes whenever the resource is updated.
+func (o SecurityRuleServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
+}
- ToRouteTargetAddressPropertiesFormatOutput() RouteTargetAddressPropertiesFormatOutput
- ToRouteTargetAddressPropertiesFormatOutputWithContext(context.Context) RouteTargetAddressPropertiesFormatOutput
+// Resource ID.
+func (o SecurityRuleServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Properties of route target address
-type RouteTargetAddressPropertiesFormatArgs struct {
- // The private IPv4 or IPv6 address of the service gateway route target address.
- PrivateIPAddress pulumi.StringPtrInput `pulumi:"privateIPAddress"`
- // The Private IP allocation method.
- PrivateIPAllocationMethod pulumi.StringPtrInput `pulumi:"privateIPAllocationMethod"`
- // The reference to the subnet resource.
- Subnet CommonSubnetPtrInput `pulumi:"subnet"`
+// Name of the resource.
+func (o SecurityRuleServiceGatewayResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Defaults sets the appropriate defaults for RouteTargetAddressPropertiesFormatArgs
-func (val *RouteTargetAddressPropertiesFormatArgs) Defaults() *RouteTargetAddressPropertiesFormatArgs {
- if val == nil {
- return nil
- }
- tmp := *val
+// The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+func (o SecurityRuleServiceGatewayResponseOutput) Priority() pulumi.IntOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) int { return v.Priority }).(pulumi.IntOutput)
+}
- return &tmp
+// Network protocol this rule applies to.
+func (o SecurityRuleServiceGatewayResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) string { return v.Protocol }).(pulumi.StringOutput)
}
-func (RouteTargetAddressPropertiesFormatArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteTargetAddressPropertiesFormat)(nil)).Elem()
+
+// The provisioning state of the security rule resource.
+func (o SecurityRuleServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i RouteTargetAddressPropertiesFormatArgs) ToRouteTargetAddressPropertiesFormatOutput() RouteTargetAddressPropertiesFormatOutput {
- return i.ToRouteTargetAddressPropertiesFormatOutputWithContext(context.Background())
+// The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
+func (o SecurityRuleServiceGatewayResponseOutput) SourceAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) *string { return v.SourceAddressPrefix }).(pulumi.StringPtrOutput)
}
-func (i RouteTargetAddressPropertiesFormatArgs) ToRouteTargetAddressPropertiesFormatOutputWithContext(ctx context.Context) RouteTargetAddressPropertiesFormatOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RouteTargetAddressPropertiesFormatOutput)
+// The CIDR or source IP ranges.
+func (o SecurityRuleServiceGatewayResponseOutput) SourceAddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) []string { return v.SourceAddressPrefixes }).(pulumi.StringArrayOutput)
}
-func (i RouteTargetAddressPropertiesFormatArgs) ToRouteTargetAddressPropertiesFormatPtrOutput() RouteTargetAddressPropertiesFormatPtrOutput {
- return i.ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(context.Background())
+// The application security group specified as source.
+func (o SecurityRuleServiceGatewayResponseOutput) SourceApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) []ApplicationSecurityGroupResponse {
+ return v.SourceApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
}
-func (i RouteTargetAddressPropertiesFormatArgs) ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(ctx context.Context) RouteTargetAddressPropertiesFormatPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RouteTargetAddressPropertiesFormatOutput).ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(ctx)
+// The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+func (o SecurityRuleServiceGatewayResponseOutput) SourcePortRange() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) *string { return v.SourcePortRange }).(pulumi.StringPtrOutput)
}
-// RouteTargetAddressPropertiesFormatPtrInput is an input type that accepts RouteTargetAddressPropertiesFormatArgs, RouteTargetAddressPropertiesFormatPtr and RouteTargetAddressPropertiesFormatPtrOutput values.
-// You can construct a concrete instance of `RouteTargetAddressPropertiesFormatPtrInput` via:
-//
-// RouteTargetAddressPropertiesFormatArgs{...}
-//
-// or:
-//
-// nil
-type RouteTargetAddressPropertiesFormatPtrInput interface {
- pulumi.Input
+// The source port ranges.
+func (o SecurityRuleServiceGatewayResponseOutput) SourcePortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
+}
- ToRouteTargetAddressPropertiesFormatPtrOutput() RouteTargetAddressPropertiesFormatPtrOutput
- ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(context.Context) RouteTargetAddressPropertiesFormatPtrOutput
+// Resource type.
+func (o SecurityRuleServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type routeTargetAddressPropertiesFormatPtrType RouteTargetAddressPropertiesFormatArgs
+type SecurityRuleServiceGatewayResponseArrayOutput struct{ *pulumi.OutputState }
-func RouteTargetAddressPropertiesFormatPtr(v *RouteTargetAddressPropertiesFormatArgs) RouteTargetAddressPropertiesFormatPtrInput {
- return (*routeTargetAddressPropertiesFormatPtrType)(v)
+func (SecurityRuleServiceGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SecurityRuleServiceGatewayResponse)(nil)).Elem()
}
-func (*routeTargetAddressPropertiesFormatPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**RouteTargetAddressPropertiesFormat)(nil)).Elem()
+func (o SecurityRuleServiceGatewayResponseArrayOutput) ToSecurityRuleServiceGatewayResponseArrayOutput() SecurityRuleServiceGatewayResponseArrayOutput {
+ return o
}
-func (i *routeTargetAddressPropertiesFormatPtrType) ToRouteTargetAddressPropertiesFormatPtrOutput() RouteTargetAddressPropertiesFormatPtrOutput {
- return i.ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(context.Background())
+func (o SecurityRuleServiceGatewayResponseArrayOutput) ToSecurityRuleServiceGatewayResponseArrayOutputWithContext(ctx context.Context) SecurityRuleServiceGatewayResponseArrayOutput {
+ return o
}
-func (i *routeTargetAddressPropertiesFormatPtrType) ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(ctx context.Context) RouteTargetAddressPropertiesFormatPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RouteTargetAddressPropertiesFormatPtrOutput)
+func (o SecurityRuleServiceGatewayResponseArrayOutput) Index(i pulumi.IntInput) SecurityRuleServiceGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityRuleServiceGatewayResponse {
+ return vs[0].([]SecurityRuleServiceGatewayResponse)[vs[1].(int)]
+ }).(SecurityRuleServiceGatewayResponseOutput)
}
-// Properties of route target address
-type RouteTargetAddressPropertiesFormatOutput struct{ *pulumi.OutputState }
+// Network security rule.
+type SecurityRuleVirtualNetworkApplianceResponse struct {
+ // The network traffic is allowed or denied.
+ Access string `pulumi:"access"`
+ // A description for this rule. Restricted to 140 chars.
+ Description *string `pulumi:"description"`
+ // The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
+ DestinationAddressPrefix *string `pulumi:"destinationAddressPrefix"`
+ // The destination address prefixes. CIDR or destination IP ranges.
+ DestinationAddressPrefixes []string `pulumi:"destinationAddressPrefixes"`
+ // The application security group specified as destination.
+ DestinationApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"destinationApplicationSecurityGroups"`
+ // The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+ DestinationPortRange *string `pulumi:"destinationPortRange"`
+ // The destination port ranges.
+ DestinationPortRanges []string `pulumi:"destinationPortRanges"`
+ // The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
+ Direction string `pulumi:"direction"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+ Priority int `pulumi:"priority"`
+ // Network protocol this rule applies to.
+ Protocol string `pulumi:"protocol"`
+ // The provisioning state of the security rule resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
+ SourceAddressPrefix *string `pulumi:"sourceAddressPrefix"`
+ // The CIDR or source IP ranges.
+ SourceAddressPrefixes []string `pulumi:"sourceAddressPrefixes"`
+ // The application security group specified as source.
+ SourceApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"sourceApplicationSecurityGroups"`
+ // The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+ SourcePortRange *string `pulumi:"sourcePortRange"`
+ // The source port ranges.
+ SourcePortRanges []string `pulumi:"sourcePortRanges"`
+ // Resource type.
+ Type string `pulumi:"type"`
+}
-func (RouteTargetAddressPropertiesFormatOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteTargetAddressPropertiesFormat)(nil)).Elem()
+// Network security rule.
+type SecurityRuleVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
+
+func (SecurityRuleVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SecurityRuleVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o RouteTargetAddressPropertiesFormatOutput) ToRouteTargetAddressPropertiesFormatOutput() RouteTargetAddressPropertiesFormatOutput {
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) ToSecurityRuleVirtualNetworkApplianceResponseOutput() SecurityRuleVirtualNetworkApplianceResponseOutput {
return o
}
-func (o RouteTargetAddressPropertiesFormatOutput) ToRouteTargetAddressPropertiesFormatOutputWithContext(ctx context.Context) RouteTargetAddressPropertiesFormatOutput {
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) ToSecurityRuleVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) SecurityRuleVirtualNetworkApplianceResponseOutput {
return o
}
-func (o RouteTargetAddressPropertiesFormatOutput) ToRouteTargetAddressPropertiesFormatPtrOutput() RouteTargetAddressPropertiesFormatPtrOutput {
- return o.ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(context.Background())
+// The network traffic is allowed or denied.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) Access() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) string { return v.Access }).(pulumi.StringOutput)
}
-func (o RouteTargetAddressPropertiesFormatOutput) ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(ctx context.Context) RouteTargetAddressPropertiesFormatPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v RouteTargetAddressPropertiesFormat) *RouteTargetAddressPropertiesFormat {
- return &v
- }).(RouteTargetAddressPropertiesFormatPtrOutput)
+// A description for this rule. Restricted to 140 chars.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// The private IPv4 or IPv6 address of the service gateway route target address.
-func (o RouteTargetAddressPropertiesFormatOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteTargetAddressPropertiesFormat) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+// The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) DestinationAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) *string { return v.DestinationAddressPrefix }).(pulumi.StringPtrOutput)
}
-// The Private IP allocation method.
-func (o RouteTargetAddressPropertiesFormatOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteTargetAddressPropertiesFormat) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+// The destination address prefixes. CIDR or destination IP ranges.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) DestinationAddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) []string { return v.DestinationAddressPrefixes }).(pulumi.StringArrayOutput)
}
-// The reference to the subnet resource.
-func (o RouteTargetAddressPropertiesFormatOutput) Subnet() CommonSubnetPtrOutput {
- return o.ApplyT(func(v RouteTargetAddressPropertiesFormat) *CommonSubnet { return v.Subnet }).(CommonSubnetPtrOutput)
+// The application security group specified as destination.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) DestinationApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) []ApplicationSecurityGroupResponse {
+ return v.DestinationApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
}
-type RouteTargetAddressPropertiesFormatPtrOutput struct{ *pulumi.OutputState }
-
-func (RouteTargetAddressPropertiesFormatPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RouteTargetAddressPropertiesFormat)(nil)).Elem()
+// The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) DestinationPortRange() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) *string { return v.DestinationPortRange }).(pulumi.StringPtrOutput)
}
-func (o RouteTargetAddressPropertiesFormatPtrOutput) ToRouteTargetAddressPropertiesFormatPtrOutput() RouteTargetAddressPropertiesFormatPtrOutput {
- return o
+// The destination port ranges.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) DestinationPortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
}
-func (o RouteTargetAddressPropertiesFormatPtrOutput) ToRouteTargetAddressPropertiesFormatPtrOutputWithContext(ctx context.Context) RouteTargetAddressPropertiesFormatPtrOutput {
- return o
+// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) Direction() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) string { return v.Direction }).(pulumi.StringOutput)
}
-func (o RouteTargetAddressPropertiesFormatPtrOutput) Elem() RouteTargetAddressPropertiesFormatOutput {
- return o.ApplyT(func(v *RouteTargetAddressPropertiesFormat) RouteTargetAddressPropertiesFormat {
- if v != nil {
- return *v
- }
- var ret RouteTargetAddressPropertiesFormat
- return ret
- }).(RouteTargetAddressPropertiesFormatOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// The private IPv4 or IPv6 address of the service gateway route target address.
-func (o RouteTargetAddressPropertiesFormatPtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTargetAddressPropertiesFormat) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddress
- }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The Private IP allocation method.
-func (o RouteTargetAddressPropertiesFormatPtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTargetAddressPropertiesFormat) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAllocationMethod
- }).(pulumi.StringPtrOutput)
+// Name of the resource.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The reference to the subnet resource.
-func (o RouteTargetAddressPropertiesFormatPtrOutput) Subnet() CommonSubnetPtrOutput {
- return o.ApplyT(func(v *RouteTargetAddressPropertiesFormat) *CommonSubnet {
- if v == nil {
- return nil
- }
- return v.Subnet
- }).(CommonSubnetPtrOutput)
+// The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) Priority() pulumi.IntOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) int { return v.Priority }).(pulumi.IntOutput)
}
-// Properties of route target address
-type RouteTargetAddressPropertiesFormatResponse struct {
- // The private IPv4 or IPv6 address of the service gateway route target address.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // The Private IP allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // The reference to the subnet resource.
- Subnet *CommonSubnetResponse `pulumi:"subnet"`
+// Network protocol this rule applies to.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) Protocol() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) string { return v.Protocol }).(pulumi.StringOutput)
}
-// Defaults sets the appropriate defaults for RouteTargetAddressPropertiesFormatResponse
-func (val *RouteTargetAddressPropertiesFormatResponse) Defaults() *RouteTargetAddressPropertiesFormatResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.Subnet = tmp.Subnet.Defaults()
-
- return &tmp
+// The provisioning state of the security rule resource.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Properties of route target address
-type RouteTargetAddressPropertiesFormatResponseOutput struct{ *pulumi.OutputState }
-
-func (RouteTargetAddressPropertiesFormatResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RouteTargetAddressPropertiesFormatResponse)(nil)).Elem()
+// The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) SourceAddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) *string { return v.SourceAddressPrefix }).(pulumi.StringPtrOutput)
}
-func (o RouteTargetAddressPropertiesFormatResponseOutput) ToRouteTargetAddressPropertiesFormatResponseOutput() RouteTargetAddressPropertiesFormatResponseOutput {
- return o
+// The CIDR or source IP ranges.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) SourceAddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) []string { return v.SourceAddressPrefixes }).(pulumi.StringArrayOutput)
}
-func (o RouteTargetAddressPropertiesFormatResponseOutput) ToRouteTargetAddressPropertiesFormatResponseOutputWithContext(ctx context.Context) RouteTargetAddressPropertiesFormatResponseOutput {
- return o
+// The application security group specified as source.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) SourceApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) []ApplicationSecurityGroupResponse {
+ return v.SourceApplicationSecurityGroups
+ }).(ApplicationSecurityGroupResponseArrayOutput)
}
-// The private IPv4 or IPv6 address of the service gateway route target address.
-func (o RouteTargetAddressPropertiesFormatResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteTargetAddressPropertiesFormatResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+// The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) SourcePortRange() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) *string { return v.SourcePortRange }).(pulumi.StringPtrOutput)
}
-// The Private IP allocation method.
-func (o RouteTargetAddressPropertiesFormatResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RouteTargetAddressPropertiesFormatResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+// The source port ranges.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) SourcePortRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
}
-// The reference to the subnet resource.
-func (o RouteTargetAddressPropertiesFormatResponseOutput) Subnet() CommonSubnetResponsePtrOutput {
- return o.ApplyT(func(v RouteTargetAddressPropertiesFormatResponse) *CommonSubnetResponse { return v.Subnet }).(CommonSubnetResponsePtrOutput)
+// Resource type.
+func (o SecurityRuleVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityRuleVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type RouteTargetAddressPropertiesFormatResponsePtrOutput struct{ *pulumi.OutputState }
+type SecurityRuleVirtualNetworkApplianceResponseArrayOutput struct{ *pulumi.OutputState }
-func (RouteTargetAddressPropertiesFormatResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RouteTargetAddressPropertiesFormatResponse)(nil)).Elem()
+func (SecurityRuleVirtualNetworkApplianceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SecurityRuleVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o RouteTargetAddressPropertiesFormatResponsePtrOutput) ToRouteTargetAddressPropertiesFormatResponsePtrOutput() RouteTargetAddressPropertiesFormatResponsePtrOutput {
+func (o SecurityRuleVirtualNetworkApplianceResponseArrayOutput) ToSecurityRuleVirtualNetworkApplianceResponseArrayOutput() SecurityRuleVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o RouteTargetAddressPropertiesFormatResponsePtrOutput) ToRouteTargetAddressPropertiesFormatResponsePtrOutputWithContext(ctx context.Context) RouteTargetAddressPropertiesFormatResponsePtrOutput {
+func (o SecurityRuleVirtualNetworkApplianceResponseArrayOutput) ToSecurityRuleVirtualNetworkApplianceResponseArrayOutputWithContext(ctx context.Context) SecurityRuleVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o RouteTargetAddressPropertiesFormatResponsePtrOutput) Elem() RouteTargetAddressPropertiesFormatResponseOutput {
- return o.ApplyT(func(v *RouteTargetAddressPropertiesFormatResponse) RouteTargetAddressPropertiesFormatResponse {
- if v != nil {
- return *v
- }
- var ret RouteTargetAddressPropertiesFormatResponse
- return ret
- }).(RouteTargetAddressPropertiesFormatResponseOutput)
+func (o SecurityRuleVirtualNetworkApplianceResponseArrayOutput) Index(i pulumi.IntInput) SecurityRuleVirtualNetworkApplianceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityRuleVirtualNetworkApplianceResponse {
+ return vs[0].([]SecurityRuleVirtualNetworkApplianceResponse)[vs[1].(int)]
+ }).(SecurityRuleVirtualNetworkApplianceResponseOutput)
}
-// The private IPv4 or IPv6 address of the service gateway route target address.
-func (o RouteTargetAddressPropertiesFormatResponsePtrOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTargetAddressPropertiesFormatResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAddress
- }).(pulumi.StringPtrOutput)
+// Network manager security user group item.
+type SecurityUserGroupItem struct {
+ // Network manager group Id.
+ NetworkGroupId string `pulumi:"networkGroupId"`
}
-// The Private IP allocation method.
-func (o RouteTargetAddressPropertiesFormatResponsePtrOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *RouteTargetAddressPropertiesFormatResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateIPAllocationMethod
- }).(pulumi.StringPtrOutput)
+// SecurityUserGroupItemInput is an input type that accepts SecurityUserGroupItemArgs and SecurityUserGroupItemOutput values.
+// You can construct a concrete instance of `SecurityUserGroupItemInput` via:
+//
+// SecurityUserGroupItemArgs{...}
+type SecurityUserGroupItemInput interface {
+ pulumi.Input
+
+ ToSecurityUserGroupItemOutput() SecurityUserGroupItemOutput
+ ToSecurityUserGroupItemOutputWithContext(context.Context) SecurityUserGroupItemOutput
}
-// The reference to the subnet resource.
-func (o RouteTargetAddressPropertiesFormatResponsePtrOutput) Subnet() CommonSubnetResponsePtrOutput {
- return o.ApplyT(func(v *RouteTargetAddressPropertiesFormatResponse) *CommonSubnetResponse {
- if v == nil {
- return nil
- }
- return v.Subnet
- }).(CommonSubnetResponsePtrOutput)
+// Network manager security user group item.
+type SecurityUserGroupItemArgs struct {
+ // Network manager group Id.
+ NetworkGroupId pulumi.StringInput `pulumi:"networkGroupId"`
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationType struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable *CommonSubResource `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap *CommonSubResource `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap *CommonSubResource `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables *PropagatedRouteTable `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes *VnetRoute `pulumi:"vnetRoutes"`
+func (SecurityUserGroupItemArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*SecurityUserGroupItem)(nil)).Elem()
}
-// RoutingConfigurationTypeInput is an input type that accepts RoutingConfigurationTypeArgs and RoutingConfigurationTypeOutput values.
-// You can construct a concrete instance of `RoutingConfigurationTypeInput` via:
+func (i SecurityUserGroupItemArgs) ToSecurityUserGroupItemOutput() SecurityUserGroupItemOutput {
+ return i.ToSecurityUserGroupItemOutputWithContext(context.Background())
+}
+
+func (i SecurityUserGroupItemArgs) ToSecurityUserGroupItemOutputWithContext(ctx context.Context) SecurityUserGroupItemOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SecurityUserGroupItemOutput)
+}
+
+// SecurityUserGroupItemArrayInput is an input type that accepts SecurityUserGroupItemArray and SecurityUserGroupItemArrayOutput values.
+// You can construct a concrete instance of `SecurityUserGroupItemArrayInput` via:
//
-// RoutingConfigurationTypeArgs{...}
-type RoutingConfigurationTypeInput interface {
+// SecurityUserGroupItemArray{ SecurityUserGroupItemArgs{...} }
+type SecurityUserGroupItemArrayInput interface {
pulumi.Input
- ToRoutingConfigurationTypeOutput() RoutingConfigurationTypeOutput
- ToRoutingConfigurationTypeOutputWithContext(context.Context) RoutingConfigurationTypeOutput
+ ToSecurityUserGroupItemArrayOutput() SecurityUserGroupItemArrayOutput
+ ToSecurityUserGroupItemArrayOutputWithContext(context.Context) SecurityUserGroupItemArrayOutput
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationTypeArgs struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable CommonSubResourcePtrInput `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap CommonSubResourcePtrInput `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap CommonSubResourcePtrInput `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables PropagatedRouteTablePtrInput `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes VnetRoutePtrInput `pulumi:"vnetRoutes"`
-}
+type SecurityUserGroupItemArray []SecurityUserGroupItemInput
-func (RoutingConfigurationTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationType)(nil)).Elem()
+func (SecurityUserGroupItemArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SecurityUserGroupItem)(nil)).Elem()
}
-func (i RoutingConfigurationTypeArgs) ToRoutingConfigurationTypeOutput() RoutingConfigurationTypeOutput {
- return i.ToRoutingConfigurationTypeOutputWithContext(context.Background())
+func (i SecurityUserGroupItemArray) ToSecurityUserGroupItemArrayOutput() SecurityUserGroupItemArrayOutput {
+ return i.ToSecurityUserGroupItemArrayOutputWithContext(context.Background())
}
-func (i RoutingConfigurationTypeArgs) ToRoutingConfigurationTypeOutputWithContext(ctx context.Context) RoutingConfigurationTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationTypeOutput)
+func (i SecurityUserGroupItemArray) ToSecurityUserGroupItemArrayOutputWithContext(ctx context.Context) SecurityUserGroupItemArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SecurityUserGroupItemArrayOutput)
}
-func (i RoutingConfigurationTypeArgs) ToRoutingConfigurationTypePtrOutput() RoutingConfigurationTypePtrOutput {
- return i.ToRoutingConfigurationTypePtrOutputWithContext(context.Background())
+// Network manager security user group item.
+type SecurityUserGroupItemOutput struct{ *pulumi.OutputState }
+
+func (SecurityUserGroupItemOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SecurityUserGroupItem)(nil)).Elem()
}
-func (i RoutingConfigurationTypeArgs) ToRoutingConfigurationTypePtrOutputWithContext(ctx context.Context) RoutingConfigurationTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationTypeOutput).ToRoutingConfigurationTypePtrOutputWithContext(ctx)
+func (o SecurityUserGroupItemOutput) ToSecurityUserGroupItemOutput() SecurityUserGroupItemOutput {
+ return o
}
-// RoutingConfigurationTypePtrInput is an input type that accepts RoutingConfigurationTypeArgs, RoutingConfigurationTypePtr and RoutingConfigurationTypePtrOutput values.
-// You can construct a concrete instance of `RoutingConfigurationTypePtrInput` via:
-//
-// RoutingConfigurationTypeArgs{...}
-//
-// or:
-//
-// nil
-type RoutingConfigurationTypePtrInput interface {
- pulumi.Input
+func (o SecurityUserGroupItemOutput) ToSecurityUserGroupItemOutputWithContext(ctx context.Context) SecurityUserGroupItemOutput {
+ return o
+}
- ToRoutingConfigurationTypePtrOutput() RoutingConfigurationTypePtrOutput
- ToRoutingConfigurationTypePtrOutputWithContext(context.Context) RoutingConfigurationTypePtrOutput
+// Network manager group Id.
+func (o SecurityUserGroupItemOutput) NetworkGroupId() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityUserGroupItem) string { return v.NetworkGroupId }).(pulumi.StringOutput)
}
-type routingConfigurationTypePtrType RoutingConfigurationTypeArgs
+type SecurityUserGroupItemArrayOutput struct{ *pulumi.OutputState }
-func RoutingConfigurationTypePtr(v *RoutingConfigurationTypeArgs) RoutingConfigurationTypePtrInput {
- return (*routingConfigurationTypePtrType)(v)
+func (SecurityUserGroupItemArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SecurityUserGroupItem)(nil)).Elem()
}
-func (*routingConfigurationTypePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationType)(nil)).Elem()
+func (o SecurityUserGroupItemArrayOutput) ToSecurityUserGroupItemArrayOutput() SecurityUserGroupItemArrayOutput {
+ return o
}
-func (i *routingConfigurationTypePtrType) ToRoutingConfigurationTypePtrOutput() RoutingConfigurationTypePtrOutput {
- return i.ToRoutingConfigurationTypePtrOutputWithContext(context.Background())
+func (o SecurityUserGroupItemArrayOutput) ToSecurityUserGroupItemArrayOutputWithContext(ctx context.Context) SecurityUserGroupItemArrayOutput {
+ return o
}
-func (i *routingConfigurationTypePtrType) ToRoutingConfigurationTypePtrOutputWithContext(ctx context.Context) RoutingConfigurationTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationTypePtrOutput)
+func (o SecurityUserGroupItemArrayOutput) Index(i pulumi.IntInput) SecurityUserGroupItemOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityUserGroupItem {
+ return vs[0].([]SecurityUserGroupItem)[vs[1].(int)]
+ }).(SecurityUserGroupItemOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationTypeOutput struct{ *pulumi.OutputState }
+// Network manager security user group item.
+type SecurityUserGroupItemResponse struct {
+ // Network manager group Id.
+ NetworkGroupId string `pulumi:"networkGroupId"`
+}
-func (RoutingConfigurationTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationType)(nil)).Elem()
+// Network manager security user group item.
+type SecurityUserGroupItemResponseOutput struct{ *pulumi.OutputState }
+
+func (SecurityUserGroupItemResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SecurityUserGroupItemResponse)(nil)).Elem()
}
-func (o RoutingConfigurationTypeOutput) ToRoutingConfigurationTypeOutput() RoutingConfigurationTypeOutput {
+func (o SecurityUserGroupItemResponseOutput) ToSecurityUserGroupItemResponseOutput() SecurityUserGroupItemResponseOutput {
return o
}
-func (o RoutingConfigurationTypeOutput) ToRoutingConfigurationTypeOutputWithContext(ctx context.Context) RoutingConfigurationTypeOutput {
+func (o SecurityUserGroupItemResponseOutput) ToSecurityUserGroupItemResponseOutputWithContext(ctx context.Context) SecurityUserGroupItemResponseOutput {
return o
}
-func (o RoutingConfigurationTypeOutput) ToRoutingConfigurationTypePtrOutput() RoutingConfigurationTypePtrOutput {
- return o.ToRoutingConfigurationTypePtrOutputWithContext(context.Background())
+// Network manager group Id.
+func (o SecurityUserGroupItemResponseOutput) NetworkGroupId() pulumi.StringOutput {
+ return o.ApplyT(func(v SecurityUserGroupItemResponse) string { return v.NetworkGroupId }).(pulumi.StringOutput)
}
-func (o RoutingConfigurationTypeOutput) ToRoutingConfigurationTypePtrOutputWithContext(ctx context.Context) RoutingConfigurationTypePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v RoutingConfigurationType) *RoutingConfigurationType {
- return &v
- }).(RoutingConfigurationTypePtrOutput)
-}
+type SecurityUserGroupItemResponseArrayOutput struct{ *pulumi.OutputState }
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationTypeOutput) AssociatedRouteTable() CommonSubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationType) *CommonSubResource { return v.AssociatedRouteTable }).(CommonSubResourcePtrOutput)
+func (SecurityUserGroupItemResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SecurityUserGroupItemResponse)(nil)).Elem()
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationTypeOutput) InboundRouteMap() CommonSubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationType) *CommonSubResource { return v.InboundRouteMap }).(CommonSubResourcePtrOutput)
+func (o SecurityUserGroupItemResponseArrayOutput) ToSecurityUserGroupItemResponseArrayOutput() SecurityUserGroupItemResponseArrayOutput {
+ return o
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationTypeOutput) OutboundRouteMap() CommonSubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationType) *CommonSubResource { return v.OutboundRouteMap }).(CommonSubResourcePtrOutput)
+func (o SecurityUserGroupItemResponseArrayOutput) ToSecurityUserGroupItemResponseArrayOutputWithContext(ctx context.Context) SecurityUserGroupItemResponseArrayOutput {
+ return o
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationTypeOutput) PropagatedRouteTables() PropagatedRouteTablePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationType) *PropagatedRouteTable { return v.PropagatedRouteTables }).(PropagatedRouteTablePtrOutput)
+func (o SecurityUserGroupItemResponseArrayOutput) Index(i pulumi.IntInput) SecurityUserGroupItemResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityUserGroupItemResponse {
+ return vs[0].([]SecurityUserGroupItemResponse)[vs[1].(int)]
+ }).(SecurityUserGroupItemResponseOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationTypeOutput) VnetRoutes() VnetRoutePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationType) *VnetRoute { return v.VnetRoutes }).(VnetRoutePtrOutput)
+// ServiceAssociationLink resource.
+type ServiceAssociationLink struct {
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Link to the external resource.
+ Link *string `pulumi:"link"`
+ // Resource type of the linked resource.
+ LinkedResourceType *string `pulumi:"linkedResourceType"`
+ // Name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
}
-type RoutingConfigurationTypePtrOutput struct{ *pulumi.OutputState }
+// ServiceAssociationLinkInput is an input type that accepts ServiceAssociationLinkArgs and ServiceAssociationLinkOutput values.
+// You can construct a concrete instance of `ServiceAssociationLinkInput` via:
+//
+// ServiceAssociationLinkArgs{...}
+type ServiceAssociationLinkInput interface {
+ pulumi.Input
-func (RoutingConfigurationTypePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationType)(nil)).Elem()
+ ToServiceAssociationLinkOutput() ServiceAssociationLinkOutput
+ ToServiceAssociationLinkOutputWithContext(context.Context) ServiceAssociationLinkOutput
}
-func (o RoutingConfigurationTypePtrOutput) ToRoutingConfigurationTypePtrOutput() RoutingConfigurationTypePtrOutput {
- return o
+// ServiceAssociationLink resource.
+type ServiceAssociationLinkArgs struct {
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Link to the external resource.
+ Link pulumi.StringPtrInput `pulumi:"link"`
+ // Resource type of the linked resource.
+ LinkedResourceType pulumi.StringPtrInput `pulumi:"linkedResourceType"`
+ // Name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
}
-func (o RoutingConfigurationTypePtrOutput) ToRoutingConfigurationTypePtrOutputWithContext(ctx context.Context) RoutingConfigurationTypePtrOutput {
- return o
+func (ServiceAssociationLinkArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceAssociationLink)(nil)).Elem()
}
-func (o RoutingConfigurationTypePtrOutput) Elem() RoutingConfigurationTypeOutput {
- return o.ApplyT(func(v *RoutingConfigurationType) RoutingConfigurationType {
- if v != nil {
- return *v
- }
- var ret RoutingConfigurationType
- return ret
- }).(RoutingConfigurationTypeOutput)
+func (i ServiceAssociationLinkArgs) ToServiceAssociationLinkOutput() ServiceAssociationLinkOutput {
+ return i.ToServiceAssociationLinkOutputWithContext(context.Background())
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationTypePtrOutput) AssociatedRouteTable() CommonSubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationType) *CommonSubResource {
- if v == nil {
- return nil
- }
- return v.AssociatedRouteTable
- }).(CommonSubResourcePtrOutput)
+func (i ServiceAssociationLinkArgs) ToServiceAssociationLinkOutputWithContext(ctx context.Context) ServiceAssociationLinkOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ServiceAssociationLinkOutput)
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationTypePtrOutput) InboundRouteMap() CommonSubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationType) *CommonSubResource {
- if v == nil {
- return nil
- }
- return v.InboundRouteMap
- }).(CommonSubResourcePtrOutput)
-}
+// ServiceAssociationLinkArrayInput is an input type that accepts ServiceAssociationLinkArray and ServiceAssociationLinkArrayOutput values.
+// You can construct a concrete instance of `ServiceAssociationLinkArrayInput` via:
+//
+// ServiceAssociationLinkArray{ ServiceAssociationLinkArgs{...} }
+type ServiceAssociationLinkArrayInput interface {
+ pulumi.Input
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationTypePtrOutput) OutboundRouteMap() CommonSubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationType) *CommonSubResource {
- if v == nil {
- return nil
- }
- return v.OutboundRouteMap
- }).(CommonSubResourcePtrOutput)
+ ToServiceAssociationLinkArrayOutput() ServiceAssociationLinkArrayOutput
+ ToServiceAssociationLinkArrayOutputWithContext(context.Context) ServiceAssociationLinkArrayOutput
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationTypePtrOutput) PropagatedRouteTables() PropagatedRouteTablePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationType) *PropagatedRouteTable {
- if v == nil {
- return nil
- }
- return v.PropagatedRouteTables
- }).(PropagatedRouteTablePtrOutput)
+type ServiceAssociationLinkArray []ServiceAssociationLinkInput
+
+func (ServiceAssociationLinkArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceAssociationLink)(nil)).Elem()
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationTypePtrOutput) VnetRoutes() VnetRoutePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationType) *VnetRoute {
- if v == nil {
- return nil
- }
- return v.VnetRoutes
- }).(VnetRoutePtrOutput)
+func (i ServiceAssociationLinkArray) ToServiceAssociationLinkArrayOutput() ServiceAssociationLinkArrayOutput {
+ return i.ToServiceAssociationLinkArrayOutputWithContext(context.Background())
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponse struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable *CommonSubResourceResponse `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap *CommonSubResourceResponse `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap *CommonSubResourceResponse `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables *PropagatedRouteTableResponse `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes *VnetRouteResponse `pulumi:"vnetRoutes"`
+func (i ServiceAssociationLinkArray) ToServiceAssociationLinkArrayOutputWithContext(ctx context.Context) ServiceAssociationLinkArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ServiceAssociationLinkArrayOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseOutput struct{ *pulumi.OutputState }
+// ServiceAssociationLink resource.
+type ServiceAssociationLinkOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationResponse)(nil)).Elem()
+func (ServiceAssociationLinkOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceAssociationLink)(nil)).Elem()
}
-func (o RoutingConfigurationResponseOutput) ToRoutingConfigurationResponseOutput() RoutingConfigurationResponseOutput {
+func (o ServiceAssociationLinkOutput) ToServiceAssociationLinkOutput() ServiceAssociationLinkOutput {
return o
}
-func (o RoutingConfigurationResponseOutput) ToRoutingConfigurationResponseOutputWithContext(ctx context.Context) RoutingConfigurationResponseOutput {
+func (o ServiceAssociationLinkOutput) ToServiceAssociationLinkOutputWithContext(ctx context.Context) ServiceAssociationLinkOutput {
return o
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseOutput) AssociatedRouteTable() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponse) *CommonSubResourceResponse { return v.AssociatedRouteTable }).(CommonSubResourceResponsePtrOutput)
-}
-
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseOutput) InboundRouteMap() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponse) *CommonSubResourceResponse { return v.InboundRouteMap }).(CommonSubResourceResponsePtrOutput)
+// Resource ID.
+func (o ServiceAssociationLinkOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceAssociationLink) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseOutput) OutboundRouteMap() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponse) *CommonSubResourceResponse { return v.OutboundRouteMap }).(CommonSubResourceResponsePtrOutput)
+// Link to the external resource.
+func (o ServiceAssociationLinkOutput) Link() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceAssociationLink) *string { return v.Link }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponse) *PropagatedRouteTableResponse { return v.PropagatedRouteTables }).(PropagatedRouteTableResponsePtrOutput)
+// Resource type of the linked resource.
+func (o ServiceAssociationLinkOutput) LinkedResourceType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceAssociationLink) *string { return v.LinkedResourceType }).(pulumi.StringPtrOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseOutput) VnetRoutes() VnetRouteResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponse) *VnetRouteResponse { return v.VnetRoutes }).(VnetRouteResponsePtrOutput)
+// Name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o ServiceAssociationLinkOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceAssociationLink) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-type RoutingConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
+type ServiceAssociationLinkArrayOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationResponse)(nil)).Elem()
+func (ServiceAssociationLinkArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceAssociationLink)(nil)).Elem()
}
-func (o RoutingConfigurationResponsePtrOutput) ToRoutingConfigurationResponsePtrOutput() RoutingConfigurationResponsePtrOutput {
+func (o ServiceAssociationLinkArrayOutput) ToServiceAssociationLinkArrayOutput() ServiceAssociationLinkArrayOutput {
return o
}
-func (o RoutingConfigurationResponsePtrOutput) ToRoutingConfigurationResponsePtrOutputWithContext(ctx context.Context) RoutingConfigurationResponsePtrOutput {
+func (o ServiceAssociationLinkArrayOutput) ToServiceAssociationLinkArrayOutputWithContext(ctx context.Context) ServiceAssociationLinkArrayOutput {
return o
}
-func (o RoutingConfigurationResponsePtrOutput) Elem() RoutingConfigurationResponseOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponse) RoutingConfigurationResponse {
- if v != nil {
- return *v
- }
- var ret RoutingConfigurationResponse
- return ret
- }).(RoutingConfigurationResponseOutput)
+func (o ServiceAssociationLinkArrayOutput) Index(i pulumi.IntInput) ServiceAssociationLinkOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAssociationLink {
+ return vs[0].([]ServiceAssociationLink)[vs[1].(int)]
+ }).(ServiceAssociationLinkOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponsePtrOutput) AssociatedRouteTable() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponse) *CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.AssociatedRouteTable
- }).(CommonSubResourceResponsePtrOutput)
+// ServiceAssociationLink resource.
+type ServiceAssociationLinkInterfaceEndpointResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Link to the external resource.
+ Link *string `pulumi:"link"`
+ // Resource type of the linked resource.
+ LinkedResourceType *string `pulumi:"linkedResourceType"`
+ // Name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Provisioning state of the ServiceAssociationLink resource.
+ ProvisioningState string `pulumi:"provisioningState"`
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponsePtrOutput) InboundRouteMap() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponse) *CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.InboundRouteMap
- }).(CommonSubResourceResponsePtrOutput)
+// ServiceAssociationLink resource.
+type ServiceAssociationLinkInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
+
+func (ServiceAssociationLinkInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceAssociationLinkInterfaceEndpointResponse)(nil)).Elem()
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponsePtrOutput) OutboundRouteMap() CommonSubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponse) *CommonSubResourceResponse {
- if v == nil {
- return nil
- }
- return v.OutboundRouteMap
- }).(CommonSubResourceResponsePtrOutput)
+func (o ServiceAssociationLinkInterfaceEndpointResponseOutput) ToServiceAssociationLinkInterfaceEndpointResponseOutput() ServiceAssociationLinkInterfaceEndpointResponseOutput {
+ return o
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponsePtrOutput) PropagatedRouteTables() PropagatedRouteTableResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponse) *PropagatedRouteTableResponse {
- if v == nil {
- return nil
- }
- return v.PropagatedRouteTables
- }).(PropagatedRouteTableResponsePtrOutput)
+func (o ServiceAssociationLinkInterfaceEndpointResponseOutput) ToServiceAssociationLinkInterfaceEndpointResponseOutputWithContext(ctx context.Context) ServiceAssociationLinkInterfaceEndpointResponseOutput {
+ return o
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponsePtrOutput) VnetRoutes() VnetRouteResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponse) *VnetRouteResponse {
- if v == nil {
- return nil
- }
- return v.VnetRoutes
- }).(VnetRouteResponsePtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o ServiceAssociationLinkInterfaceEndpointResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceAssociationLinkInterfaceEndpointResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseV1 struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables *PropagatedRouteTableResponseV1 `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes *VnetRouteResponseV1 `pulumi:"vnetRoutes"`
+// Resource ID.
+func (o ServiceAssociationLinkInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceAssociationLinkInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseV1Output struct{ *pulumi.OutputState }
+// Link to the external resource.
+func (o ServiceAssociationLinkInterfaceEndpointResponseOutput) Link() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceAssociationLinkInterfaceEndpointResponse) *string { return v.Link }).(pulumi.StringPtrOutput)
+}
-func (RoutingConfigurationResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationResponseV1)(nil)).Elem()
+// Resource type of the linked resource.
+func (o ServiceAssociationLinkInterfaceEndpointResponseOutput) LinkedResourceType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceAssociationLinkInterfaceEndpointResponse) *string { return v.LinkedResourceType }).(pulumi.StringPtrOutput)
}
-func (o RoutingConfigurationResponseV1Output) ToRoutingConfigurationResponseV1Output() RoutingConfigurationResponseV1Output {
- return o
+// Name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o ServiceAssociationLinkInterfaceEndpointResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceAssociationLinkInterfaceEndpointResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o RoutingConfigurationResponseV1Output) ToRoutingConfigurationResponseV1OutputWithContext(ctx context.Context) RoutingConfigurationResponseV1Output {
- return o
+// Provisioning state of the ServiceAssociationLink resource.
+func (o ServiceAssociationLinkInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceAssociationLinkInterfaceEndpointResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseV1Output) AssociatedRouteTable() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV1) *SubResourceResponse { return v.AssociatedRouteTable }).(SubResourceResponsePtrOutput)
+type ServiceAssociationLinkInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ServiceAssociationLinkInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceAssociationLinkInterfaceEndpointResponse)(nil)).Elem()
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseV1Output) InboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV1) *SubResourceResponse { return v.InboundRouteMap }).(SubResourceResponsePtrOutput)
+func (o ServiceAssociationLinkInterfaceEndpointResponseArrayOutput) ToServiceAssociationLinkInterfaceEndpointResponseArrayOutput() ServiceAssociationLinkInterfaceEndpointResponseArrayOutput {
+ return o
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseV1Output) OutboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV1) *SubResourceResponse { return v.OutboundRouteMap }).(SubResourceResponsePtrOutput)
+func (o ServiceAssociationLinkInterfaceEndpointResponseArrayOutput) ToServiceAssociationLinkInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) ServiceAssociationLinkInterfaceEndpointResponseArrayOutput {
+ return o
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseV1Output) PropagatedRouteTables() PropagatedRouteTableResponseV1PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV1) *PropagatedRouteTableResponseV1 { return v.PropagatedRouteTables }).(PropagatedRouteTableResponseV1PtrOutput)
+func (o ServiceAssociationLinkInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) ServiceAssociationLinkInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAssociationLinkInterfaceEndpointResponse {
+ return vs[0].([]ServiceAssociationLinkInterfaceEndpointResponse)[vs[1].(int)]
+ }).(ServiceAssociationLinkInterfaceEndpointResponseOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseV1Output) VnetRoutes() VnetRouteResponseV1PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV1) *VnetRouteResponseV1 { return v.VnetRoutes }).(VnetRouteResponseV1PtrOutput)
+// ServiceAssociationLink resource.
+type ServiceAssociationLinkResponse struct {
+ // If true, the resource can be deleted.
+ AllowDelete *bool `pulumi:"allowDelete"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Link to the external resource.
+ Link *string `pulumi:"link"`
+ // Resource type of the linked resource.
+ LinkedResourceType *string `pulumi:"linkedResourceType"`
+ // A list of locations.
+ Locations []string `pulumi:"locations"`
+ // Name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the service association link resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-type RoutingConfigurationResponseV1PtrOutput struct{ *pulumi.OutputState }
+// ServiceAssociationLink resource.
+type ServiceAssociationLinkResponseOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationResponseV1PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationResponseV1)(nil)).Elem()
+func (ServiceAssociationLinkResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceAssociationLinkResponse)(nil)).Elem()
}
-func (o RoutingConfigurationResponseV1PtrOutput) ToRoutingConfigurationResponseV1PtrOutput() RoutingConfigurationResponseV1PtrOutput {
+func (o ServiceAssociationLinkResponseOutput) ToServiceAssociationLinkResponseOutput() ServiceAssociationLinkResponseOutput {
return o
}
-func (o RoutingConfigurationResponseV1PtrOutput) ToRoutingConfigurationResponseV1PtrOutputWithContext(ctx context.Context) RoutingConfigurationResponseV1PtrOutput {
+func (o ServiceAssociationLinkResponseOutput) ToServiceAssociationLinkResponseOutputWithContext(ctx context.Context) ServiceAssociationLinkResponseOutput {
return o
}
-func (o RoutingConfigurationResponseV1PtrOutput) Elem() RoutingConfigurationResponseV1Output {
- return o.ApplyT(func(v *RoutingConfigurationResponseV1) RoutingConfigurationResponseV1 {
- if v != nil {
- return *v
- }
- var ret RoutingConfigurationResponseV1
- return ret
- }).(RoutingConfigurationResponseV1Output)
+// If true, the resource can be deleted.
+func (o ServiceAssociationLinkResponseOutput) AllowDelete() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v ServiceAssociationLinkResponse) *bool { return v.AllowDelete }).(pulumi.BoolPtrOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseV1PtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV1) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.AssociatedRouteTable
- }).(SubResourceResponsePtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o ServiceAssociationLinkResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceAssociationLinkResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseV1PtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV1) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.InboundRouteMap
- }).(SubResourceResponsePtrOutput)
+// Resource ID.
+func (o ServiceAssociationLinkResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceAssociationLinkResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseV1PtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV1) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.OutboundRouteMap
- }).(SubResourceResponsePtrOutput)
+// Link to the external resource.
+func (o ServiceAssociationLinkResponseOutput) Link() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceAssociationLinkResponse) *string { return v.Link }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseV1PtrOutput) PropagatedRouteTables() PropagatedRouteTableResponseV1PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV1) *PropagatedRouteTableResponseV1 {
- if v == nil {
- return nil
- }
- return v.PropagatedRouteTables
- }).(PropagatedRouteTableResponseV1PtrOutput)
+// Resource type of the linked resource.
+func (o ServiceAssociationLinkResponseOutput) LinkedResourceType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceAssociationLinkResponse) *string { return v.LinkedResourceType }).(pulumi.StringPtrOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseV1PtrOutput) VnetRoutes() VnetRouteResponseV1PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV1) *VnetRouteResponseV1 {
- if v == nil {
- return nil
- }
- return v.VnetRoutes
- }).(VnetRouteResponseV1PtrOutput)
+// A list of locations.
+func (o ServiceAssociationLinkResponseOutput) Locations() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ServiceAssociationLinkResponse) []string { return v.Locations }).(pulumi.StringArrayOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseV2 struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables *PropagatedRouteTableResponseV2 `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes *VnetRouteResponseV2 `pulumi:"vnetRoutes"`
+// Name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o ServiceAssociationLinkResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceAssociationLinkResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseV2Output struct{ *pulumi.OutputState }
-
-func (RoutingConfigurationResponseV2Output) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationResponseV2)(nil)).Elem()
+// The provisioning state of the service association link resource.
+func (o ServiceAssociationLinkResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceAssociationLinkResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o RoutingConfigurationResponseV2Output) ToRoutingConfigurationResponseV2Output() RoutingConfigurationResponseV2Output {
- return o
+// Resource type.
+func (o ServiceAssociationLinkResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceAssociationLinkResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (o RoutingConfigurationResponseV2Output) ToRoutingConfigurationResponseV2OutputWithContext(ctx context.Context) RoutingConfigurationResponseV2Output {
- return o
-}
+type ServiceAssociationLinkResponseArrayOutput struct{ *pulumi.OutputState }
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseV2Output) AssociatedRouteTable() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV2) *SubResourceResponse { return v.AssociatedRouteTable }).(SubResourceResponsePtrOutput)
+func (ServiceAssociationLinkResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceAssociationLinkResponse)(nil)).Elem()
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseV2Output) InboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV2) *SubResourceResponse { return v.InboundRouteMap }).(SubResourceResponsePtrOutput)
+func (o ServiceAssociationLinkResponseArrayOutput) ToServiceAssociationLinkResponseArrayOutput() ServiceAssociationLinkResponseArrayOutput {
+ return o
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseV2Output) OutboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV2) *SubResourceResponse { return v.OutboundRouteMap }).(SubResourceResponsePtrOutput)
+func (o ServiceAssociationLinkResponseArrayOutput) ToServiceAssociationLinkResponseArrayOutputWithContext(ctx context.Context) ServiceAssociationLinkResponseArrayOutput {
+ return o
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseV2Output) PropagatedRouteTables() PropagatedRouteTableResponseV2PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV2) *PropagatedRouteTableResponseV2 { return v.PropagatedRouteTables }).(PropagatedRouteTableResponseV2PtrOutput)
+func (o ServiceAssociationLinkResponseArrayOutput) Index(i pulumi.IntInput) ServiceAssociationLinkResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAssociationLinkResponse {
+ return vs[0].([]ServiceAssociationLinkResponse)[vs[1].(int)]
+ }).(ServiceAssociationLinkResponseOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseV2Output) VnetRoutes() VnetRouteResponseV2PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV2) *VnetRouteResponseV2 { return v.VnetRoutes }).(VnetRouteResponseV2PtrOutput)
+// Service End point policy resource.
+type ServiceEndpointPolicyType struct {
+ // A collection of contextual service endpoint policy.
+ ContextualServiceEndpointPolicies []string `pulumi:"contextualServiceEndpointPolicies"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // The alias indicating if the policy belongs to a service
+ ServiceAlias *string `pulumi:"serviceAlias"`
+ // A collection of service endpoint policy definitions of the service endpoint policy.
+ ServiceEndpointPolicyDefinitions []ServiceEndpointPolicyDefinitionType `pulumi:"serviceEndpointPolicyDefinitions"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
}
-type RoutingConfigurationResponseV2PtrOutput struct{ *pulumi.OutputState }
+// ServiceEndpointPolicyTypeInput is an input type that accepts ServiceEndpointPolicyTypeArgs and ServiceEndpointPolicyTypeOutput values.
+// You can construct a concrete instance of `ServiceEndpointPolicyTypeInput` via:
+//
+// ServiceEndpointPolicyTypeArgs{...}
+type ServiceEndpointPolicyTypeInput interface {
+ pulumi.Input
-func (RoutingConfigurationResponseV2PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationResponseV2)(nil)).Elem()
+ ToServiceEndpointPolicyTypeOutput() ServiceEndpointPolicyTypeOutput
+ ToServiceEndpointPolicyTypeOutputWithContext(context.Context) ServiceEndpointPolicyTypeOutput
}
-func (o RoutingConfigurationResponseV2PtrOutput) ToRoutingConfigurationResponseV2PtrOutput() RoutingConfigurationResponseV2PtrOutput {
- return o
+// Service End point policy resource.
+type ServiceEndpointPolicyTypeArgs struct {
+ // A collection of contextual service endpoint policy.
+ ContextualServiceEndpointPolicies pulumi.StringArrayInput `pulumi:"contextualServiceEndpointPolicies"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag pulumi.StringPtrInput `pulumi:"etag"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Resource location.
+ Location pulumi.StringPtrInput `pulumi:"location"`
+ // The alias indicating if the policy belongs to a service
+ ServiceAlias pulumi.StringPtrInput `pulumi:"serviceAlias"`
+ // A collection of service endpoint policy definitions of the service endpoint policy.
+ ServiceEndpointPolicyDefinitions ServiceEndpointPolicyDefinitionTypeArrayInput `pulumi:"serviceEndpointPolicyDefinitions"`
+ // Resource tags.
+ Tags pulumi.StringMapInput `pulumi:"tags"`
}
-func (o RoutingConfigurationResponseV2PtrOutput) ToRoutingConfigurationResponseV2PtrOutputWithContext(ctx context.Context) RoutingConfigurationResponseV2PtrOutput {
- return o
+func (ServiceEndpointPolicyTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceEndpointPolicyType)(nil)).Elem()
}
-func (o RoutingConfigurationResponseV2PtrOutput) Elem() RoutingConfigurationResponseV2Output {
- return o.ApplyT(func(v *RoutingConfigurationResponseV2) RoutingConfigurationResponseV2 {
- if v != nil {
- return *v
- }
- var ret RoutingConfigurationResponseV2
- return ret
- }).(RoutingConfigurationResponseV2Output)
+func (i ServiceEndpointPolicyTypeArgs) ToServiceEndpointPolicyTypeOutput() ServiceEndpointPolicyTypeOutput {
+ return i.ToServiceEndpointPolicyTypeOutputWithContext(context.Background())
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseV2PtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV2) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.AssociatedRouteTable
- }).(SubResourceResponsePtrOutput)
+func (i ServiceEndpointPolicyTypeArgs) ToServiceEndpointPolicyTypeOutputWithContext(ctx context.Context) ServiceEndpointPolicyTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ServiceEndpointPolicyTypeOutput)
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseV2PtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV2) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.InboundRouteMap
- }).(SubResourceResponsePtrOutput)
-}
+// ServiceEndpointPolicyTypeArrayInput is an input type that accepts ServiceEndpointPolicyTypeArray and ServiceEndpointPolicyTypeArrayOutput values.
+// You can construct a concrete instance of `ServiceEndpointPolicyTypeArrayInput` via:
+//
+// ServiceEndpointPolicyTypeArray{ ServiceEndpointPolicyTypeArgs{...} }
+type ServiceEndpointPolicyTypeArrayInput interface {
+ pulumi.Input
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseV2PtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV2) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.OutboundRouteMap
- }).(SubResourceResponsePtrOutput)
+ ToServiceEndpointPolicyTypeArrayOutput() ServiceEndpointPolicyTypeArrayOutput
+ ToServiceEndpointPolicyTypeArrayOutputWithContext(context.Context) ServiceEndpointPolicyTypeArrayOutput
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseV2PtrOutput) PropagatedRouteTables() PropagatedRouteTableResponseV2PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV2) *PropagatedRouteTableResponseV2 {
- if v == nil {
- return nil
- }
- return v.PropagatedRouteTables
- }).(PropagatedRouteTableResponseV2PtrOutput)
+type ServiceEndpointPolicyTypeArray []ServiceEndpointPolicyTypeInput
+
+func (ServiceEndpointPolicyTypeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceEndpointPolicyType)(nil)).Elem()
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseV2PtrOutput) VnetRoutes() VnetRouteResponseV2PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV2) *VnetRouteResponseV2 {
- if v == nil {
- return nil
- }
- return v.VnetRoutes
- }).(VnetRouteResponseV2PtrOutput)
+func (i ServiceEndpointPolicyTypeArray) ToServiceEndpointPolicyTypeArrayOutput() ServiceEndpointPolicyTypeArrayOutput {
+ return i.ToServiceEndpointPolicyTypeArrayOutputWithContext(context.Background())
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseV3 struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables *PropagatedRouteTableResponseV3 `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes *VnetRouteResponseV3 `pulumi:"vnetRoutes"`
+func (i ServiceEndpointPolicyTypeArray) ToServiceEndpointPolicyTypeArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyTypeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ServiceEndpointPolicyTypeArrayOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseV3Output struct{ *pulumi.OutputState }
+// Service End point policy resource.
+type ServiceEndpointPolicyTypeOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationResponseV3Output) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationResponseV3)(nil)).Elem()
+func (ServiceEndpointPolicyTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceEndpointPolicyType)(nil)).Elem()
}
-func (o RoutingConfigurationResponseV3Output) ToRoutingConfigurationResponseV3Output() RoutingConfigurationResponseV3Output {
+func (o ServiceEndpointPolicyTypeOutput) ToServiceEndpointPolicyTypeOutput() ServiceEndpointPolicyTypeOutput {
return o
}
-func (o RoutingConfigurationResponseV3Output) ToRoutingConfigurationResponseV3OutputWithContext(ctx context.Context) RoutingConfigurationResponseV3Output {
+func (o ServiceEndpointPolicyTypeOutput) ToServiceEndpointPolicyTypeOutputWithContext(ctx context.Context) ServiceEndpointPolicyTypeOutput {
return o
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseV3Output) AssociatedRouteTable() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV3) *SubResourceResponse { return v.AssociatedRouteTable }).(SubResourceResponsePtrOutput)
+// A collection of contextual service endpoint policy.
+func (o ServiceEndpointPolicyTypeOutput) ContextualServiceEndpointPolicies() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyType) []string { return v.ContextualServiceEndpointPolicies }).(pulumi.StringArrayOutput)
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseV3Output) InboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV3) *SubResourceResponse { return v.InboundRouteMap }).(SubResourceResponsePtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o ServiceEndpointPolicyTypeOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyType) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseV3Output) OutboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV3) *SubResourceResponse { return v.OutboundRouteMap }).(SubResourceResponsePtrOutput)
+// Resource ID.
+func (o ServiceEndpointPolicyTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseV3Output) PropagatedRouteTables() PropagatedRouteTableResponseV3PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV3) *PropagatedRouteTableResponseV3 { return v.PropagatedRouteTables }).(PropagatedRouteTableResponseV3PtrOutput)
+// Resource location.
+func (o ServiceEndpointPolicyTypeOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyType) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseV3Output) VnetRoutes() VnetRouteResponseV3PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV3) *VnetRouteResponseV3 { return v.VnetRoutes }).(VnetRouteResponseV3PtrOutput)
+// The alias indicating if the policy belongs to a service
+func (o ServiceEndpointPolicyTypeOutput) ServiceAlias() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyType) *string { return v.ServiceAlias }).(pulumi.StringPtrOutput)
}
-type RoutingConfigurationResponseV3PtrOutput struct{ *pulumi.OutputState }
-
-func (RoutingConfigurationResponseV3PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationResponseV3)(nil)).Elem()
+// A collection of service endpoint policy definitions of the service endpoint policy.
+func (o ServiceEndpointPolicyTypeOutput) ServiceEndpointPolicyDefinitions() ServiceEndpointPolicyDefinitionTypeArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyType) []ServiceEndpointPolicyDefinitionType {
+ return v.ServiceEndpointPolicyDefinitions
+ }).(ServiceEndpointPolicyDefinitionTypeArrayOutput)
}
-func (o RoutingConfigurationResponseV3PtrOutput) ToRoutingConfigurationResponseV3PtrOutput() RoutingConfigurationResponseV3PtrOutput {
- return o
+// Resource tags.
+func (o ServiceEndpointPolicyTypeOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (o RoutingConfigurationResponseV3PtrOutput) ToRoutingConfigurationResponseV3PtrOutputWithContext(ctx context.Context) RoutingConfigurationResponseV3PtrOutput {
- return o
-}
+type ServiceEndpointPolicyTypeArrayOutput struct{ *pulumi.OutputState }
-func (o RoutingConfigurationResponseV3PtrOutput) Elem() RoutingConfigurationResponseV3Output {
- return o.ApplyT(func(v *RoutingConfigurationResponseV3) RoutingConfigurationResponseV3 {
- if v != nil {
- return *v
- }
- var ret RoutingConfigurationResponseV3
- return ret
- }).(RoutingConfigurationResponseV3Output)
+func (ServiceEndpointPolicyTypeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceEndpointPolicyType)(nil)).Elem()
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseV3PtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV3) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.AssociatedRouteTable
- }).(SubResourceResponsePtrOutput)
+func (o ServiceEndpointPolicyTypeArrayOutput) ToServiceEndpointPolicyTypeArrayOutput() ServiceEndpointPolicyTypeArrayOutput {
+ return o
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseV3PtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV3) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.InboundRouteMap
- }).(SubResourceResponsePtrOutput)
+func (o ServiceEndpointPolicyTypeArrayOutput) ToServiceEndpointPolicyTypeArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyTypeArrayOutput {
+ return o
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseV3PtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV3) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.OutboundRouteMap
- }).(SubResourceResponsePtrOutput)
+func (o ServiceEndpointPolicyTypeArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPolicyTypeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPolicyType {
+ return vs[0].([]ServiceEndpointPolicyType)[vs[1].(int)]
+ }).(ServiceEndpointPolicyTypeOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseV3PtrOutput) PropagatedRouteTables() PropagatedRouteTableResponseV3PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV3) *PropagatedRouteTableResponseV3 {
- if v == nil {
- return nil
- }
- return v.PropagatedRouteTables
- }).(PropagatedRouteTableResponseV3PtrOutput)
+// Service Endpoint policy definitions.
+type ServiceEndpointPolicyDefinitionType struct {
+ // A description for this rule. Restricted to 140 chars.
+ Description *string `pulumi:"description"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Service endpoint name.
+ Service *string `pulumi:"service"`
+ // A list of service resources.
+ ServiceResources []string `pulumi:"serviceResources"`
+ // The type of the resource.
+ Type *string `pulumi:"type"`
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseV3PtrOutput) VnetRoutes() VnetRouteResponseV3PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV3) *VnetRouteResponseV3 {
- if v == nil {
- return nil
- }
- return v.VnetRoutes
- }).(VnetRouteResponseV3PtrOutput)
+// ServiceEndpointPolicyDefinitionTypeInput is an input type that accepts ServiceEndpointPolicyDefinitionTypeArgs and ServiceEndpointPolicyDefinitionTypeOutput values.
+// You can construct a concrete instance of `ServiceEndpointPolicyDefinitionTypeInput` via:
+//
+// ServiceEndpointPolicyDefinitionTypeArgs{...}
+type ServiceEndpointPolicyDefinitionTypeInput interface {
+ pulumi.Input
+
+ ToServiceEndpointPolicyDefinitionTypeOutput() ServiceEndpointPolicyDefinitionTypeOutput
+ ToServiceEndpointPolicyDefinitionTypeOutputWithContext(context.Context) ServiceEndpointPolicyDefinitionTypeOutput
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseV5 struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables *PropagatedRouteTableResponseV5 `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes *VnetRouteResponseV5 `pulumi:"vnetRoutes"`
+// Service Endpoint policy definitions.
+type ServiceEndpointPolicyDefinitionTypeArgs struct {
+ // A description for this rule. Restricted to 140 chars.
+ Description pulumi.StringPtrInput `pulumi:"description"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag pulumi.StringPtrInput `pulumi:"etag"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Service endpoint name.
+ Service pulumi.StringPtrInput `pulumi:"service"`
+ // A list of service resources.
+ ServiceResources pulumi.StringArrayInput `pulumi:"serviceResources"`
+ // The type of the resource.
+ Type pulumi.StringPtrInput `pulumi:"type"`
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseV5Output struct{ *pulumi.OutputState }
-
-func (RoutingConfigurationResponseV5Output) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationResponseV5)(nil)).Elem()
+func (ServiceEndpointPolicyDefinitionTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceEndpointPolicyDefinitionType)(nil)).Elem()
}
-func (o RoutingConfigurationResponseV5Output) ToRoutingConfigurationResponseV5Output() RoutingConfigurationResponseV5Output {
- return o
+func (i ServiceEndpointPolicyDefinitionTypeArgs) ToServiceEndpointPolicyDefinitionTypeOutput() ServiceEndpointPolicyDefinitionTypeOutput {
+ return i.ToServiceEndpointPolicyDefinitionTypeOutputWithContext(context.Background())
}
-func (o RoutingConfigurationResponseV5Output) ToRoutingConfigurationResponseV5OutputWithContext(ctx context.Context) RoutingConfigurationResponseV5Output {
- return o
+func (i ServiceEndpointPolicyDefinitionTypeArgs) ToServiceEndpointPolicyDefinitionTypeOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ServiceEndpointPolicyDefinitionTypeOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseV5Output) AssociatedRouteTable() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV5) *SubResourceResponse { return v.AssociatedRouteTable }).(SubResourceResponsePtrOutput)
-}
+// ServiceEndpointPolicyDefinitionTypeArrayInput is an input type that accepts ServiceEndpointPolicyDefinitionTypeArray and ServiceEndpointPolicyDefinitionTypeArrayOutput values.
+// You can construct a concrete instance of `ServiceEndpointPolicyDefinitionTypeArrayInput` via:
+//
+// ServiceEndpointPolicyDefinitionTypeArray{ ServiceEndpointPolicyDefinitionTypeArgs{...} }
+type ServiceEndpointPolicyDefinitionTypeArrayInput interface {
+ pulumi.Input
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseV5Output) InboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV5) *SubResourceResponse { return v.InboundRouteMap }).(SubResourceResponsePtrOutput)
+ ToServiceEndpointPolicyDefinitionTypeArrayOutput() ServiceEndpointPolicyDefinitionTypeArrayOutput
+ ToServiceEndpointPolicyDefinitionTypeArrayOutputWithContext(context.Context) ServiceEndpointPolicyDefinitionTypeArrayOutput
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseV5Output) OutboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV5) *SubResourceResponse { return v.OutboundRouteMap }).(SubResourceResponsePtrOutput)
+type ServiceEndpointPolicyDefinitionTypeArray []ServiceEndpointPolicyDefinitionTypeInput
+
+func (ServiceEndpointPolicyDefinitionTypeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceEndpointPolicyDefinitionType)(nil)).Elem()
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseV5Output) PropagatedRouteTables() PropagatedRouteTableResponseV5PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV5) *PropagatedRouteTableResponseV5 { return v.PropagatedRouteTables }).(PropagatedRouteTableResponseV5PtrOutput)
+func (i ServiceEndpointPolicyDefinitionTypeArray) ToServiceEndpointPolicyDefinitionTypeArrayOutput() ServiceEndpointPolicyDefinitionTypeArrayOutput {
+ return i.ToServiceEndpointPolicyDefinitionTypeArrayOutputWithContext(context.Background())
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseV5Output) VnetRoutes() VnetRouteResponseV5PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV5) *VnetRouteResponseV5 { return v.VnetRoutes }).(VnetRouteResponseV5PtrOutput)
+func (i ServiceEndpointPolicyDefinitionTypeArray) ToServiceEndpointPolicyDefinitionTypeArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionTypeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ServiceEndpointPolicyDefinitionTypeArrayOutput)
}
-type RoutingConfigurationResponseV5PtrOutput struct{ *pulumi.OutputState }
+// Service Endpoint policy definitions.
+type ServiceEndpointPolicyDefinitionTypeOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationResponseV5PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationResponseV5)(nil)).Elem()
+func (ServiceEndpointPolicyDefinitionTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceEndpointPolicyDefinitionType)(nil)).Elem()
}
-func (o RoutingConfigurationResponseV5PtrOutput) ToRoutingConfigurationResponseV5PtrOutput() RoutingConfigurationResponseV5PtrOutput {
+func (o ServiceEndpointPolicyDefinitionTypeOutput) ToServiceEndpointPolicyDefinitionTypeOutput() ServiceEndpointPolicyDefinitionTypeOutput {
return o
}
-func (o RoutingConfigurationResponseV5PtrOutput) ToRoutingConfigurationResponseV5PtrOutputWithContext(ctx context.Context) RoutingConfigurationResponseV5PtrOutput {
+func (o ServiceEndpointPolicyDefinitionTypeOutput) ToServiceEndpointPolicyDefinitionTypeOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionTypeOutput {
return o
}
-func (o RoutingConfigurationResponseV5PtrOutput) Elem() RoutingConfigurationResponseV5Output {
- return o.ApplyT(func(v *RoutingConfigurationResponseV5) RoutingConfigurationResponseV5 {
- if v != nil {
- return *v
- }
- var ret RoutingConfigurationResponseV5
- return ret
- }).(RoutingConfigurationResponseV5Output)
+// A description for this rule. Restricted to 140 chars.
+func (o ServiceEndpointPolicyDefinitionTypeOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionType) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseV5PtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV5) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.AssociatedRouteTable
- }).(SubResourceResponsePtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o ServiceEndpointPolicyDefinitionTypeOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionType) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseV5PtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV5) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.InboundRouteMap
- }).(SubResourceResponsePtrOutput)
+// Resource ID.
+func (o ServiceEndpointPolicyDefinitionTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseV5PtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV5) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.OutboundRouteMap
- }).(SubResourceResponsePtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o ServiceEndpointPolicyDefinitionTypeOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionType) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseV5PtrOutput) PropagatedRouteTables() PropagatedRouteTableResponseV5PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV5) *PropagatedRouteTableResponseV5 {
- if v == nil {
- return nil
- }
- return v.PropagatedRouteTables
- }).(PropagatedRouteTableResponseV5PtrOutput)
+// Service endpoint name.
+func (o ServiceEndpointPolicyDefinitionTypeOutput) Service() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionType) *string { return v.Service }).(pulumi.StringPtrOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseV5PtrOutput) VnetRoutes() VnetRouteResponseV5PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV5) *VnetRouteResponseV5 {
- if v == nil {
- return nil
- }
- return v.VnetRoutes
- }).(VnetRouteResponseV5PtrOutput)
+// A list of service resources.
+func (o ServiceEndpointPolicyDefinitionTypeOutput) ServiceResources() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionType) []string { return v.ServiceResources }).(pulumi.StringArrayOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseV6 struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables *PropagatedRouteTableResponseV6 `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes *VnetRouteResponseV6 `pulumi:"vnetRoutes"`
+// The type of the resource.
+func (o ServiceEndpointPolicyDefinitionTypeOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionType) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseV6Output struct{ *pulumi.OutputState }
+type ServiceEndpointPolicyDefinitionTypeArrayOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationResponseV6Output) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationResponseV6)(nil)).Elem()
+func (ServiceEndpointPolicyDefinitionTypeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceEndpointPolicyDefinitionType)(nil)).Elem()
}
-func (o RoutingConfigurationResponseV6Output) ToRoutingConfigurationResponseV6Output() RoutingConfigurationResponseV6Output {
+func (o ServiceEndpointPolicyDefinitionTypeArrayOutput) ToServiceEndpointPolicyDefinitionTypeArrayOutput() ServiceEndpointPolicyDefinitionTypeArrayOutput {
return o
}
-func (o RoutingConfigurationResponseV6Output) ToRoutingConfigurationResponseV6OutputWithContext(ctx context.Context) RoutingConfigurationResponseV6Output {
+func (o ServiceEndpointPolicyDefinitionTypeArrayOutput) ToServiceEndpointPolicyDefinitionTypeArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionTypeArrayOutput {
return o
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseV6Output) AssociatedRouteTable() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV6) *SubResourceResponse { return v.AssociatedRouteTable }).(SubResourceResponsePtrOutput)
-}
-
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseV6Output) InboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV6) *SubResourceResponse { return v.InboundRouteMap }).(SubResourceResponsePtrOutput)
-}
-
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseV6Output) OutboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV6) *SubResourceResponse { return v.OutboundRouteMap }).(SubResourceResponsePtrOutput)
-}
-
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseV6Output) PropagatedRouteTables() PropagatedRouteTableResponseV6PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV6) *PropagatedRouteTableResponseV6 { return v.PropagatedRouteTables }).(PropagatedRouteTableResponseV6PtrOutput)
+func (o ServiceEndpointPolicyDefinitionTypeArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPolicyDefinitionTypeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPolicyDefinitionType {
+ return vs[0].([]ServiceEndpointPolicyDefinitionType)[vs[1].(int)]
+ }).(ServiceEndpointPolicyDefinitionTypeOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseV6Output) VnetRoutes() VnetRouteResponseV6PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV6) *VnetRouteResponseV6 { return v.VnetRoutes }).(VnetRouteResponseV6PtrOutput)
+// Service Endpoint policy definitions.
+type ServiceEndpointPolicyDefinitionInterfaceEndpointResponse struct {
+ // A description for this rule. Restricted to 140 chars.
+ Description *string `pulumi:"description"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the service end point policy definition. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Service endpoint name.
+ Service *string `pulumi:"service"`
+ // A list of service resources.
+ ServiceResources []string `pulumi:"serviceResources"`
}
-type RoutingConfigurationResponseV6PtrOutput struct{ *pulumi.OutputState }
+// Service Endpoint policy definitions.
+type ServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationResponseV6PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationResponseV6)(nil)).Elem()
+func (ServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceEndpointPolicyDefinitionInterfaceEndpointResponse)(nil)).Elem()
}
-func (o RoutingConfigurationResponseV6PtrOutput) ToRoutingConfigurationResponseV6PtrOutput() RoutingConfigurationResponseV6PtrOutput {
+func (o ServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput) ToServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput() ServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput {
return o
}
-func (o RoutingConfigurationResponseV6PtrOutput) ToRoutingConfigurationResponseV6PtrOutputWithContext(ctx context.Context) RoutingConfigurationResponseV6PtrOutput {
+func (o ServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput) ToServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput {
return o
}
-func (o RoutingConfigurationResponseV6PtrOutput) Elem() RoutingConfigurationResponseV6Output {
- return o.ApplyT(func(v *RoutingConfigurationResponseV6) RoutingConfigurationResponseV6 {
- if v != nil {
- return *v
- }
- var ret RoutingConfigurationResponseV6
- return ret
- }).(RoutingConfigurationResponseV6Output)
+// A description for this rule. Restricted to 140 chars.
+func (o ServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionInterfaceEndpointResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseV6PtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV6) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.AssociatedRouteTable
- }).(SubResourceResponsePtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o ServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseV6PtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV6) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.InboundRouteMap
- }).(SubResourceResponsePtrOutput)
+// Resource ID.
+func (o ServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseV6PtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV6) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.OutboundRouteMap
- }).(SubResourceResponsePtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o ServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionInterfaceEndpointResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseV6PtrOutput) PropagatedRouteTables() PropagatedRouteTableResponseV6PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV6) *PropagatedRouteTableResponseV6 {
- if v == nil {
- return nil
- }
- return v.PropagatedRouteTables
- }).(PropagatedRouteTableResponseV6PtrOutput)
+// The provisioning state of the service end point policy definition. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o ServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionInterfaceEndpointResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseV6PtrOutput) VnetRoutes() VnetRouteResponseV6PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV6) *VnetRouteResponseV6 {
- if v == nil {
- return nil
- }
- return v.VnetRoutes
- }).(VnetRouteResponseV6PtrOutput)
+// Service endpoint name.
+func (o ServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput) Service() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionInterfaceEndpointResponse) *string { return v.Service }).(pulumi.StringPtrOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseV7 struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables *PropagatedRouteTableResponseV7 `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes *VnetRouteResponseV7 `pulumi:"vnetRoutes"`
+// A list of service resources.
+func (o ServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput) ServiceResources() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionInterfaceEndpointResponse) []string { return v.ServiceResources }).(pulumi.StringArrayOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseV7Output struct{ *pulumi.OutputState }
+type ServiceEndpointPolicyDefinitionInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationResponseV7Output) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationResponseV7)(nil)).Elem()
+func (ServiceEndpointPolicyDefinitionInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceEndpointPolicyDefinitionInterfaceEndpointResponse)(nil)).Elem()
}
-func (o RoutingConfigurationResponseV7Output) ToRoutingConfigurationResponseV7Output() RoutingConfigurationResponseV7Output {
+func (o ServiceEndpointPolicyDefinitionInterfaceEndpointResponseArrayOutput) ToServiceEndpointPolicyDefinitionInterfaceEndpointResponseArrayOutput() ServiceEndpointPolicyDefinitionInterfaceEndpointResponseArrayOutput {
return o
}
-func (o RoutingConfigurationResponseV7Output) ToRoutingConfigurationResponseV7OutputWithContext(ctx context.Context) RoutingConfigurationResponseV7Output {
+func (o ServiceEndpointPolicyDefinitionInterfaceEndpointResponseArrayOutput) ToServiceEndpointPolicyDefinitionInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionInterfaceEndpointResponseArrayOutput {
return o
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseV7Output) AssociatedRouteTable() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV7) *SubResourceResponse { return v.AssociatedRouteTable }).(SubResourceResponsePtrOutput)
-}
-
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseV7Output) InboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV7) *SubResourceResponse { return v.InboundRouteMap }).(SubResourceResponsePtrOutput)
+func (o ServiceEndpointPolicyDefinitionInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPolicyDefinitionInterfaceEndpointResponse {
+ return vs[0].([]ServiceEndpointPolicyDefinitionInterfaceEndpointResponse)[vs[1].(int)]
+ }).(ServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput)
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseV7Output) OutboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV7) *SubResourceResponse { return v.OutboundRouteMap }).(SubResourceResponsePtrOutput)
+// Service Endpoint policy definitions.
+type ServiceEndpointPolicyDefinitionResponse struct {
+ // A description for this rule. Restricted to 140 chars.
+ Description *string `pulumi:"description"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the service endpoint policy definition resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Service endpoint name.
+ Service *string `pulumi:"service"`
+ // A list of service resources.
+ ServiceResources []string `pulumi:"serviceResources"`
+ // The type of the resource.
+ Type *string `pulumi:"type"`
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseV7Output) PropagatedRouteTables() PropagatedRouteTableResponseV7PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV7) *PropagatedRouteTableResponseV7 { return v.PropagatedRouteTables }).(PropagatedRouteTableResponseV7PtrOutput)
-}
+// Service Endpoint policy definitions.
+type ServiceEndpointPolicyDefinitionResponseOutput struct{ *pulumi.OutputState }
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseV7Output) VnetRoutes() VnetRouteResponseV7PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV7) *VnetRouteResponseV7 { return v.VnetRoutes }).(VnetRouteResponseV7PtrOutput)
+func (ServiceEndpointPolicyDefinitionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceEndpointPolicyDefinitionResponse)(nil)).Elem()
}
-type RoutingConfigurationResponseV7PtrOutput struct{ *pulumi.OutputState }
-
-func (RoutingConfigurationResponseV7PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationResponseV7)(nil)).Elem()
+func (o ServiceEndpointPolicyDefinitionResponseOutput) ToServiceEndpointPolicyDefinitionResponseOutput() ServiceEndpointPolicyDefinitionResponseOutput {
+ return o
}
-func (o RoutingConfigurationResponseV7PtrOutput) ToRoutingConfigurationResponseV7PtrOutput() RoutingConfigurationResponseV7PtrOutput {
+func (o ServiceEndpointPolicyDefinitionResponseOutput) ToServiceEndpointPolicyDefinitionResponseOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionResponseOutput {
return o
}
-func (o RoutingConfigurationResponseV7PtrOutput) ToRoutingConfigurationResponseV7PtrOutputWithContext(ctx context.Context) RoutingConfigurationResponseV7PtrOutput {
- return o
+// A description for this rule. Restricted to 140 chars.
+func (o ServiceEndpointPolicyDefinitionResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-func (o RoutingConfigurationResponseV7PtrOutput) Elem() RoutingConfigurationResponseV7Output {
- return o.ApplyT(func(v *RoutingConfigurationResponseV7) RoutingConfigurationResponseV7 {
- if v != nil {
- return *v
- }
- var ret RoutingConfigurationResponseV7
- return ret
- }).(RoutingConfigurationResponseV7Output)
+// A unique read-only string that changes whenever the resource is updated.
+func (o ServiceEndpointPolicyDefinitionResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseV7PtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV7) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.AssociatedRouteTable
- }).(SubResourceResponsePtrOutput)
+// Resource ID.
+func (o ServiceEndpointPolicyDefinitionResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseV7PtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV7) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.InboundRouteMap
- }).(SubResourceResponsePtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o ServiceEndpointPolicyDefinitionResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseV7PtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV7) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.OutboundRouteMap
- }).(SubResourceResponsePtrOutput)
+// The provisioning state of the service endpoint policy definition resource.
+func (o ServiceEndpointPolicyDefinitionResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseV7PtrOutput) PropagatedRouteTables() PropagatedRouteTableResponseV7PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV7) *PropagatedRouteTableResponseV7 {
- if v == nil {
- return nil
- }
- return v.PropagatedRouteTables
- }).(PropagatedRouteTableResponseV7PtrOutput)
+// Service endpoint name.
+func (o ServiceEndpointPolicyDefinitionResponseOutput) Service() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponse) *string { return v.Service }).(pulumi.StringPtrOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseV7PtrOutput) VnetRoutes() VnetRouteResponseV7PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV7) *VnetRouteResponseV7 {
- if v == nil {
- return nil
- }
- return v.VnetRoutes
- }).(VnetRouteResponseV7PtrOutput)
+// A list of service resources.
+func (o ServiceEndpointPolicyDefinitionResponseOutput) ServiceResources() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponse) []string { return v.ServiceResources }).(pulumi.StringArrayOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseV8 struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables *PropagatedRouteTableResponseV8 `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes *VnetRouteResponseV8 `pulumi:"vnetRoutes"`
+// The type of the resource.
+func (o ServiceEndpointPolicyDefinitionResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseV8Output struct{ *pulumi.OutputState }
+type ServiceEndpointPolicyDefinitionResponseArrayOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationResponseV8Output) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationResponseV8)(nil)).Elem()
+func (ServiceEndpointPolicyDefinitionResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceEndpointPolicyDefinitionResponse)(nil)).Elem()
}
-func (o RoutingConfigurationResponseV8Output) ToRoutingConfigurationResponseV8Output() RoutingConfigurationResponseV8Output {
+func (o ServiceEndpointPolicyDefinitionResponseArrayOutput) ToServiceEndpointPolicyDefinitionResponseArrayOutput() ServiceEndpointPolicyDefinitionResponseArrayOutput {
return o
}
-func (o RoutingConfigurationResponseV8Output) ToRoutingConfigurationResponseV8OutputWithContext(ctx context.Context) RoutingConfigurationResponseV8Output {
+func (o ServiceEndpointPolicyDefinitionResponseArrayOutput) ToServiceEndpointPolicyDefinitionResponseArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionResponseArrayOutput {
return o
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseV8Output) AssociatedRouteTable() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV8) *SubResourceResponse { return v.AssociatedRouteTable }).(SubResourceResponsePtrOutput)
-}
-
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseV8Output) InboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV8) *SubResourceResponse { return v.InboundRouteMap }).(SubResourceResponsePtrOutput)
+func (o ServiceEndpointPolicyDefinitionResponseArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPolicyDefinitionResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPolicyDefinitionResponse {
+ return vs[0].([]ServiceEndpointPolicyDefinitionResponse)[vs[1].(int)]
+ }).(ServiceEndpointPolicyDefinitionResponseOutput)
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseV8Output) OutboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV8) *SubResourceResponse { return v.OutboundRouteMap }).(SubResourceResponsePtrOutput)
+// Service Endpoint policy definitions.
+type ServiceEndpointPolicyDefinitionServiceGatewayResponse struct {
+ // A description for this rule. Restricted to 140 chars.
+ Description *string `pulumi:"description"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the service endpoint policy definition resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Service endpoint name.
+ Service *string `pulumi:"service"`
+ // A list of service resources.
+ ServiceResources []string `pulumi:"serviceResources"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseV8Output) PropagatedRouteTables() PropagatedRouteTableResponseV8PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV8) *PropagatedRouteTableResponseV8 { return v.PropagatedRouteTables }).(PropagatedRouteTableResponseV8PtrOutput)
-}
+// Service Endpoint policy definitions.
+type ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput struct{ *pulumi.OutputState }
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseV8Output) VnetRoutes() VnetRouteResponseV8PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV8) *VnetRouteResponseV8 { return v.VnetRoutes }).(VnetRouteResponseV8PtrOutput)
+func (ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceEndpointPolicyDefinitionServiceGatewayResponse)(nil)).Elem()
}
-type RoutingConfigurationResponseV8PtrOutput struct{ *pulumi.OutputState }
-
-func (RoutingConfigurationResponseV8PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationResponseV8)(nil)).Elem()
+func (o ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput) ToServiceEndpointPolicyDefinitionServiceGatewayResponseOutput() ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput {
+ return o
}
-func (o RoutingConfigurationResponseV8PtrOutput) ToRoutingConfigurationResponseV8PtrOutput() RoutingConfigurationResponseV8PtrOutput {
+func (o ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput) ToServiceEndpointPolicyDefinitionServiceGatewayResponseOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput {
return o
}
-func (o RoutingConfigurationResponseV8PtrOutput) ToRoutingConfigurationResponseV8PtrOutputWithContext(ctx context.Context) RoutingConfigurationResponseV8PtrOutput {
- return o
+// A description for this rule. Restricted to 140 chars.
+func (o ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionServiceGatewayResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-func (o RoutingConfigurationResponseV8PtrOutput) Elem() RoutingConfigurationResponseV8Output {
- return o.ApplyT(func(v *RoutingConfigurationResponseV8) RoutingConfigurationResponseV8 {
- if v != nil {
- return *v
- }
- var ret RoutingConfigurationResponseV8
- return ret
- }).(RoutingConfigurationResponseV8Output)
+// A unique read-only string that changes whenever the resource is updated.
+func (o ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseV8PtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV8) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.AssociatedRouteTable
- }).(SubResourceResponsePtrOutput)
+// Resource ID.
+func (o ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseV8PtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV8) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.InboundRouteMap
- }).(SubResourceResponsePtrOutput)
+// Name of the resource.
+func (o ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionServiceGatewayResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseV8PtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV8) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.OutboundRouteMap
- }).(SubResourceResponsePtrOutput)
+// The provisioning state of the service endpoint policy definition resource.
+func (o ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseV8PtrOutput) PropagatedRouteTables() PropagatedRouteTableResponseV8PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV8) *PropagatedRouteTableResponseV8 {
- if v == nil {
- return nil
- }
- return v.PropagatedRouteTables
- }).(PropagatedRouteTableResponseV8PtrOutput)
+// Service endpoint name.
+func (o ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput) Service() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionServiceGatewayResponse) *string { return v.Service }).(pulumi.StringPtrOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseV8PtrOutput) VnetRoutes() VnetRouteResponseV8PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV8) *VnetRouteResponseV8 {
- if v == nil {
- return nil
- }
- return v.VnetRoutes
- }).(VnetRouteResponseV8PtrOutput)
+// A list of service resources.
+func (o ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput) ServiceResources() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionServiceGatewayResponse) []string { return v.ServiceResources }).(pulumi.StringArrayOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseV9 struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable *SubResourceResponse `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap *SubResourceResponse `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap *SubResourceResponse `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables *PropagatedRouteTableResponseV9 `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes *VnetRouteResponseV9 `pulumi:"vnetRoutes"`
+// Resource type.
+func (o ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationResponseV9Output struct{ *pulumi.OutputState }
+type ServiceEndpointPolicyDefinitionServiceGatewayResponseArrayOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationResponseV9Output) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationResponseV9)(nil)).Elem()
+func (ServiceEndpointPolicyDefinitionServiceGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceEndpointPolicyDefinitionServiceGatewayResponse)(nil)).Elem()
}
-func (o RoutingConfigurationResponseV9Output) ToRoutingConfigurationResponseV9Output() RoutingConfigurationResponseV9Output {
+func (o ServiceEndpointPolicyDefinitionServiceGatewayResponseArrayOutput) ToServiceEndpointPolicyDefinitionServiceGatewayResponseArrayOutput() ServiceEndpointPolicyDefinitionServiceGatewayResponseArrayOutput {
return o
}
-func (o RoutingConfigurationResponseV9Output) ToRoutingConfigurationResponseV9OutputWithContext(ctx context.Context) RoutingConfigurationResponseV9Output {
+func (o ServiceEndpointPolicyDefinitionServiceGatewayResponseArrayOutput) ToServiceEndpointPolicyDefinitionServiceGatewayResponseArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionServiceGatewayResponseArrayOutput {
return o
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseV9Output) AssociatedRouteTable() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV9) *SubResourceResponse { return v.AssociatedRouteTable }).(SubResourceResponsePtrOutput)
-}
-
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseV9Output) InboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV9) *SubResourceResponse { return v.InboundRouteMap }).(SubResourceResponsePtrOutput)
-}
-
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseV9Output) OutboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV9) *SubResourceResponse { return v.OutboundRouteMap }).(SubResourceResponsePtrOutput)
+func (o ServiceEndpointPolicyDefinitionServiceGatewayResponseArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPolicyDefinitionServiceGatewayResponse {
+ return vs[0].([]ServiceEndpointPolicyDefinitionServiceGatewayResponse)[vs[1].(int)]
+ }).(ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseV9Output) PropagatedRouteTables() PropagatedRouteTableResponseV9PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV9) *PropagatedRouteTableResponseV9 { return v.PropagatedRouteTables }).(PropagatedRouteTableResponseV9PtrOutput)
-}
-
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseV9Output) VnetRoutes() VnetRouteResponseV9PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationResponseV9) *VnetRouteResponseV9 { return v.VnetRoutes }).(VnetRouteResponseV9PtrOutput)
+// Service Endpoint policy definitions.
+type ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponse struct {
+ // A description for this rule. Restricted to 140 chars.
+ Description *string `pulumi:"description"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the service endpoint policy definition resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Service endpoint name.
+ Service *string `pulumi:"service"`
+ // A list of service resources.
+ ServiceResources []string `pulumi:"serviceResources"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-type RoutingConfigurationResponseV9PtrOutput struct{ *pulumi.OutputState }
+// Service Endpoint policy definitions.
+type ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationResponseV9PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationResponseV9)(nil)).Elem()
+func (ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o RoutingConfigurationResponseV9PtrOutput) ToRoutingConfigurationResponseV9PtrOutput() RoutingConfigurationResponseV9PtrOutput {
+func (o ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput) ToServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput() ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput {
return o
}
-func (o RoutingConfigurationResponseV9PtrOutput) ToRoutingConfigurationResponseV9PtrOutputWithContext(ctx context.Context) RoutingConfigurationResponseV9PtrOutput {
+func (o ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput) ToServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput {
return o
}
-func (o RoutingConfigurationResponseV9PtrOutput) Elem() RoutingConfigurationResponseV9Output {
- return o.ApplyT(func(v *RoutingConfigurationResponseV9) RoutingConfigurationResponseV9 {
- if v != nil {
- return *v
- }
- var ret RoutingConfigurationResponseV9
- return ret
- }).(RoutingConfigurationResponseV9Output)
-}
-
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationResponseV9PtrOutput) AssociatedRouteTable() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV9) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.AssociatedRouteTable
- }).(SubResourceResponsePtrOutput)
+// A description for this rule. Restricted to 140 chars.
+func (o ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationResponseV9PtrOutput) InboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV9) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.InboundRouteMap
- }).(SubResourceResponsePtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationResponseV9PtrOutput) OutboundRouteMap() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV9) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.OutboundRouteMap
- }).(SubResourceResponsePtrOutput)
+// Resource ID.
+func (o ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationResponseV9PtrOutput) PropagatedRouteTables() PropagatedRouteTableResponseV9PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV9) *PropagatedRouteTableResponseV9 {
- if v == nil {
- return nil
- }
- return v.PropagatedRouteTables
- }).(PropagatedRouteTableResponseV9PtrOutput)
+// Name of the resource.
+func (o ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationResponseV9PtrOutput) VnetRoutes() VnetRouteResponseV9PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationResponseV9) *VnetRouteResponseV9 {
- if v == nil {
- return nil
- }
- return v.VnetRoutes
- }).(VnetRouteResponseV9PtrOutput)
+// The provisioning state of the service endpoint policy definition resource.
+func (o ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponse) string {
+ return v.ProvisioningState
+ }).(pulumi.StringOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV1 struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable *SubResource `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap *SubResource `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap *SubResource `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables *PropagatedRouteTableV1 `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes *VnetRoute `pulumi:"vnetRoutes"`
+// Service endpoint name.
+func (o ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput) Service() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponse) *string { return v.Service }).(pulumi.StringPtrOutput)
}
-// RoutingConfigurationV1Input is an input type that accepts RoutingConfigurationV1Args and RoutingConfigurationV1Output values.
-// You can construct a concrete instance of `RoutingConfigurationV1Input` via:
-//
-// RoutingConfigurationV1Args{...}
-type RoutingConfigurationV1Input interface {
- pulumi.Input
-
- ToRoutingConfigurationV1Output() RoutingConfigurationV1Output
- ToRoutingConfigurationV1OutputWithContext(context.Context) RoutingConfigurationV1Output
+// A list of service resources.
+func (o ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput) ServiceResources() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponse) []string {
+ return v.ServiceResources
+ }).(pulumi.StringArrayOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV1Args struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable SubResourcePtrInput `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap SubResourcePtrInput `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap SubResourcePtrInput `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables PropagatedRouteTableV1PtrInput `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes VnetRoutePtrInput `pulumi:"vnetRoutes"`
+// Resource type.
+func (o ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (RoutingConfigurationV1Args) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationV1)(nil)).Elem()
-}
+type ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseArrayOutput struct{ *pulumi.OutputState }
-func (i RoutingConfigurationV1Args) ToRoutingConfigurationV1Output() RoutingConfigurationV1Output {
- return i.ToRoutingConfigurationV1OutputWithContext(context.Background())
+func (ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (i RoutingConfigurationV1Args) ToRoutingConfigurationV1OutputWithContext(ctx context.Context) RoutingConfigurationV1Output {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV1Output)
+func (o ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseArrayOutput) ToServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseArrayOutput() ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseArrayOutput {
+ return o
}
-func (i RoutingConfigurationV1Args) ToRoutingConfigurationV1PtrOutput() RoutingConfigurationV1PtrOutput {
- return i.ToRoutingConfigurationV1PtrOutputWithContext(context.Background())
+func (o ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseArrayOutput) ToServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseArrayOutput {
+ return o
}
-func (i RoutingConfigurationV1Args) ToRoutingConfigurationV1PtrOutputWithContext(ctx context.Context) RoutingConfigurationV1PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV1Output).ToRoutingConfigurationV1PtrOutputWithContext(ctx)
+func (o ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponse {
+ return vs[0].([]ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponse)[vs[1].(int)]
+ }).(ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput)
}
-// RoutingConfigurationV1PtrInput is an input type that accepts RoutingConfigurationV1Args, RoutingConfigurationV1Ptr and RoutingConfigurationV1PtrOutput values.
-// You can construct a concrete instance of `RoutingConfigurationV1PtrInput` via:
-//
-// RoutingConfigurationV1Args{...}
-//
-// or:
-//
-// nil
-type RoutingConfigurationV1PtrInput interface {
- pulumi.Input
-
- ToRoutingConfigurationV1PtrOutput() RoutingConfigurationV1PtrOutput
- ToRoutingConfigurationV1PtrOutputWithContext(context.Context) RoutingConfigurationV1PtrOutput
+// Service End point policy resource.
+type ServiceEndpointPolicyInterfaceEndpointResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The provisioning state of the service endpoint policy. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The resource GUID property of the service endpoint policy resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // A collection of service endpoint policy definitions of the service endpoint policy.
+ ServiceEndpointPolicyDefinitions []ServiceEndpointPolicyDefinitionInterfaceEndpointResponse `pulumi:"serviceEndpointPolicyDefinitions"`
+ // A collection of references to subnets.
+ Subnets []SubnetResponse `pulumi:"subnets"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-type routingConfigurationV1PtrType RoutingConfigurationV1Args
-
-func RoutingConfigurationV1Ptr(v *RoutingConfigurationV1Args) RoutingConfigurationV1PtrInput {
- return (*routingConfigurationV1PtrType)(v)
-}
+// Service End point policy resource.
+type ServiceEndpointPolicyInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
-func (*routingConfigurationV1PtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationV1)(nil)).Elem()
+func (ServiceEndpointPolicyInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceEndpointPolicyInterfaceEndpointResponse)(nil)).Elem()
}
-func (i *routingConfigurationV1PtrType) ToRoutingConfigurationV1PtrOutput() RoutingConfigurationV1PtrOutput {
- return i.ToRoutingConfigurationV1PtrOutputWithContext(context.Background())
+func (o ServiceEndpointPolicyInterfaceEndpointResponseOutput) ToServiceEndpointPolicyInterfaceEndpointResponseOutput() ServiceEndpointPolicyInterfaceEndpointResponseOutput {
+ return o
}
-func (i *routingConfigurationV1PtrType) ToRoutingConfigurationV1PtrOutputWithContext(ctx context.Context) RoutingConfigurationV1PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV1PtrOutput)
+func (o ServiceEndpointPolicyInterfaceEndpointResponseOutput) ToServiceEndpointPolicyInterfaceEndpointResponseOutputWithContext(ctx context.Context) ServiceEndpointPolicyInterfaceEndpointResponseOutput {
+ return o
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV1Output struct{ *pulumi.OutputState }
-
-func (RoutingConfigurationV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationV1)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o ServiceEndpointPolicyInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-func (o RoutingConfigurationV1Output) ToRoutingConfigurationV1Output() RoutingConfigurationV1Output {
- return o
+// Resource ID.
+func (o ServiceEndpointPolicyInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o RoutingConfigurationV1Output) ToRoutingConfigurationV1OutputWithContext(ctx context.Context) RoutingConfigurationV1Output {
- return o
+// Resource location.
+func (o ServiceEndpointPolicyInterfaceEndpointResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyInterfaceEndpointResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o RoutingConfigurationV1Output) ToRoutingConfigurationV1PtrOutput() RoutingConfigurationV1PtrOutput {
- return o.ToRoutingConfigurationV1PtrOutputWithContext(context.Background())
+// Resource name.
+func (o ServiceEndpointPolicyInterfaceEndpointResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyInterfaceEndpointResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (o RoutingConfigurationV1Output) ToRoutingConfigurationV1PtrOutputWithContext(ctx context.Context) RoutingConfigurationV1PtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v RoutingConfigurationV1) *RoutingConfigurationV1 {
- return &v
- }).(RoutingConfigurationV1PtrOutput)
+// The provisioning state of the service endpoint policy. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o ServiceEndpointPolicyInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyInterfaceEndpointResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationV1Output) AssociatedRouteTable() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV1) *SubResource { return v.AssociatedRouteTable }).(SubResourcePtrOutput)
+// The resource GUID property of the service endpoint policy resource.
+func (o ServiceEndpointPolicyInterfaceEndpointResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyInterfaceEndpointResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationV1Output) InboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV1) *SubResource { return v.InboundRouteMap }).(SubResourcePtrOutput)
+// A collection of service endpoint policy definitions of the service endpoint policy.
+func (o ServiceEndpointPolicyInterfaceEndpointResponseOutput) ServiceEndpointPolicyDefinitions() ServiceEndpointPolicyDefinitionInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyInterfaceEndpointResponse) []ServiceEndpointPolicyDefinitionInterfaceEndpointResponse {
+ return v.ServiceEndpointPolicyDefinitions
+ }).(ServiceEndpointPolicyDefinitionInterfaceEndpointResponseArrayOutput)
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationV1Output) OutboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV1) *SubResource { return v.OutboundRouteMap }).(SubResourcePtrOutput)
+// A collection of references to subnets.
+func (o ServiceEndpointPolicyInterfaceEndpointResponseOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyInterfaceEndpointResponse) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationV1Output) PropagatedRouteTables() PropagatedRouteTableV1PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV1) *PropagatedRouteTableV1 { return v.PropagatedRouteTables }).(PropagatedRouteTableV1PtrOutput)
+// Resource tags.
+func (o ServiceEndpointPolicyInterfaceEndpointResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyInterfaceEndpointResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationV1Output) VnetRoutes() VnetRoutePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV1) *VnetRoute { return v.VnetRoutes }).(VnetRoutePtrOutput)
+// Resource type.
+func (o ServiceEndpointPolicyInterfaceEndpointResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyInterfaceEndpointResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type RoutingConfigurationV1PtrOutput struct{ *pulumi.OutputState }
+type ServiceEndpointPolicyInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationV1PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationV1)(nil)).Elem()
+func (ServiceEndpointPolicyInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceEndpointPolicyInterfaceEndpointResponse)(nil)).Elem()
}
-func (o RoutingConfigurationV1PtrOutput) ToRoutingConfigurationV1PtrOutput() RoutingConfigurationV1PtrOutput {
+func (o ServiceEndpointPolicyInterfaceEndpointResponseArrayOutput) ToServiceEndpointPolicyInterfaceEndpointResponseArrayOutput() ServiceEndpointPolicyInterfaceEndpointResponseArrayOutput {
return o
}
-func (o RoutingConfigurationV1PtrOutput) ToRoutingConfigurationV1PtrOutputWithContext(ctx context.Context) RoutingConfigurationV1PtrOutput {
+func (o ServiceEndpointPolicyInterfaceEndpointResponseArrayOutput) ToServiceEndpointPolicyInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyInterfaceEndpointResponseArrayOutput {
return o
}
-func (o RoutingConfigurationV1PtrOutput) Elem() RoutingConfigurationV1Output {
- return o.ApplyT(func(v *RoutingConfigurationV1) RoutingConfigurationV1 {
- if v != nil {
- return *v
- }
- var ret RoutingConfigurationV1
- return ret
- }).(RoutingConfigurationV1Output)
+func (o ServiceEndpointPolicyInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPolicyInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPolicyInterfaceEndpointResponse {
+ return vs[0].([]ServiceEndpointPolicyInterfaceEndpointResponse)[vs[1].(int)]
+ }).(ServiceEndpointPolicyInterfaceEndpointResponseOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationV1PtrOutput) AssociatedRouteTable() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV1) *SubResource {
- if v == nil {
- return nil
- }
- return v.AssociatedRouteTable
- }).(SubResourcePtrOutput)
+// Service End point policy resource.
+type ServiceEndpointPolicyResponse struct {
+ // A collection of contextual service endpoint policy.
+ ContextualServiceEndpointPolicies []string `pulumi:"contextualServiceEndpointPolicies"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Kind of service endpoint policy. This is metadata used for the Azure portal experience.
+ Kind string `pulumi:"kind"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The provisioning state of the service endpoint policy resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The resource GUID property of the service endpoint policy resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // The alias indicating if the policy belongs to a service
+ ServiceAlias *string `pulumi:"serviceAlias"`
+ // A collection of service endpoint policy definitions of the service endpoint policy.
+ ServiceEndpointPolicyDefinitions []ServiceEndpointPolicyDefinitionResponse `pulumi:"serviceEndpointPolicyDefinitions"`
+ // A collection of references to subnets.
+ Subnets []SubnetResponse `pulumi:"subnets"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationV1PtrOutput) InboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV1) *SubResource {
- if v == nil {
- return nil
- }
- return v.InboundRouteMap
- }).(SubResourcePtrOutput)
-}
+// Service End point policy resource.
+type ServiceEndpointPolicyResponseOutput struct{ *pulumi.OutputState }
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationV1PtrOutput) OutboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV1) *SubResource {
- if v == nil {
- return nil
- }
- return v.OutboundRouteMap
- }).(SubResourcePtrOutput)
+func (ServiceEndpointPolicyResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceEndpointPolicyResponse)(nil)).Elem()
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationV1PtrOutput) PropagatedRouteTables() PropagatedRouteTableV1PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV1) *PropagatedRouteTableV1 {
- if v == nil {
- return nil
- }
- return v.PropagatedRouteTables
- }).(PropagatedRouteTableV1PtrOutput)
+func (o ServiceEndpointPolicyResponseOutput) ToServiceEndpointPolicyResponseOutput() ServiceEndpointPolicyResponseOutput {
+ return o
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationV1PtrOutput) VnetRoutes() VnetRoutePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV1) *VnetRoute {
- if v == nil {
- return nil
- }
- return v.VnetRoutes
- }).(VnetRoutePtrOutput)
+func (o ServiceEndpointPolicyResponseOutput) ToServiceEndpointPolicyResponseOutputWithContext(ctx context.Context) ServiceEndpointPolicyResponseOutput {
+ return o
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV2 struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable *SubResource `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap *SubResource `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap *SubResource `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables *PropagatedRouteTableV2 `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes *VnetRoute `pulumi:"vnetRoutes"`
+// A collection of contextual service endpoint policy.
+func (o ServiceEndpointPolicyResponseOutput) ContextualServiceEndpointPolicies() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyResponse) []string { return v.ContextualServiceEndpointPolicies }).(pulumi.StringArrayOutput)
}
-// RoutingConfigurationV2Input is an input type that accepts RoutingConfigurationV2Args and RoutingConfigurationV2Output values.
-// You can construct a concrete instance of `RoutingConfigurationV2Input` via:
-//
-// RoutingConfigurationV2Args{...}
-type RoutingConfigurationV2Input interface {
- pulumi.Input
-
- ToRoutingConfigurationV2Output() RoutingConfigurationV2Output
- ToRoutingConfigurationV2OutputWithContext(context.Context) RoutingConfigurationV2Output
+// A unique read-only string that changes whenever the resource is updated.
+func (o ServiceEndpointPolicyResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV2Args struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable SubResourcePtrInput `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap SubResourcePtrInput `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap SubResourcePtrInput `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables PropagatedRouteTableV2PtrInput `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes VnetRoutePtrInput `pulumi:"vnetRoutes"`
+// Resource ID.
+func (o ServiceEndpointPolicyResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (RoutingConfigurationV2Args) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationV2)(nil)).Elem()
+// Kind of service endpoint policy. This is metadata used for the Azure portal experience.
+func (o ServiceEndpointPolicyResponseOutput) Kind() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyResponse) string { return v.Kind }).(pulumi.StringOutput)
}
-func (i RoutingConfigurationV2Args) ToRoutingConfigurationV2Output() RoutingConfigurationV2Output {
- return i.ToRoutingConfigurationV2OutputWithContext(context.Background())
+// Resource location.
+func (o ServiceEndpointPolicyResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (i RoutingConfigurationV2Args) ToRoutingConfigurationV2OutputWithContext(ctx context.Context) RoutingConfigurationV2Output {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV2Output)
+// Resource name.
+func (o ServiceEndpointPolicyResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (i RoutingConfigurationV2Args) ToRoutingConfigurationV2PtrOutput() RoutingConfigurationV2PtrOutput {
- return i.ToRoutingConfigurationV2PtrOutputWithContext(context.Background())
+// The provisioning state of the service endpoint policy resource.
+func (o ServiceEndpointPolicyResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i RoutingConfigurationV2Args) ToRoutingConfigurationV2PtrOutputWithContext(ctx context.Context) RoutingConfigurationV2PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV2Output).ToRoutingConfigurationV2PtrOutputWithContext(ctx)
+// The resource GUID property of the service endpoint policy resource.
+func (o ServiceEndpointPolicyResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// RoutingConfigurationV2PtrInput is an input type that accepts RoutingConfigurationV2Args, RoutingConfigurationV2Ptr and RoutingConfigurationV2PtrOutput values.
-// You can construct a concrete instance of `RoutingConfigurationV2PtrInput` via:
-//
-// RoutingConfigurationV2Args{...}
-//
-// or:
-//
-// nil
-type RoutingConfigurationV2PtrInput interface {
- pulumi.Input
-
- ToRoutingConfigurationV2PtrOutput() RoutingConfigurationV2PtrOutput
- ToRoutingConfigurationV2PtrOutputWithContext(context.Context) RoutingConfigurationV2PtrOutput
+// The alias indicating if the policy belongs to a service
+func (o ServiceEndpointPolicyResponseOutput) ServiceAlias() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyResponse) *string { return v.ServiceAlias }).(pulumi.StringPtrOutput)
}
-type routingConfigurationV2PtrType RoutingConfigurationV2Args
-
-func RoutingConfigurationV2Ptr(v *RoutingConfigurationV2Args) RoutingConfigurationV2PtrInput {
- return (*routingConfigurationV2PtrType)(v)
+// A collection of service endpoint policy definitions of the service endpoint policy.
+func (o ServiceEndpointPolicyResponseOutput) ServiceEndpointPolicyDefinitions() ServiceEndpointPolicyDefinitionResponseArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyResponse) []ServiceEndpointPolicyDefinitionResponse {
+ return v.ServiceEndpointPolicyDefinitions
+ }).(ServiceEndpointPolicyDefinitionResponseArrayOutput)
}
-func (*routingConfigurationV2PtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationV2)(nil)).Elem()
+// A collection of references to subnets.
+func (o ServiceEndpointPolicyResponseOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyResponse) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
}
-func (i *routingConfigurationV2PtrType) ToRoutingConfigurationV2PtrOutput() RoutingConfigurationV2PtrOutput {
- return i.ToRoutingConfigurationV2PtrOutputWithContext(context.Background())
+// Resource tags.
+func (o ServiceEndpointPolicyResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-func (i *routingConfigurationV2PtrType) ToRoutingConfigurationV2PtrOutputWithContext(ctx context.Context) RoutingConfigurationV2PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV2PtrOutput)
+// Resource type.
+func (o ServiceEndpointPolicyResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV2Output struct{ *pulumi.OutputState }
+type ServiceEndpointPolicyResponseArrayOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationV2Output) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationV2)(nil)).Elem()
+func (ServiceEndpointPolicyResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceEndpointPolicyResponse)(nil)).Elem()
}
-func (o RoutingConfigurationV2Output) ToRoutingConfigurationV2Output() RoutingConfigurationV2Output {
+func (o ServiceEndpointPolicyResponseArrayOutput) ToServiceEndpointPolicyResponseArrayOutput() ServiceEndpointPolicyResponseArrayOutput {
return o
}
-func (o RoutingConfigurationV2Output) ToRoutingConfigurationV2OutputWithContext(ctx context.Context) RoutingConfigurationV2Output {
+func (o ServiceEndpointPolicyResponseArrayOutput) ToServiceEndpointPolicyResponseArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyResponseArrayOutput {
return o
}
-func (o RoutingConfigurationV2Output) ToRoutingConfigurationV2PtrOutput() RoutingConfigurationV2PtrOutput {
- return o.ToRoutingConfigurationV2PtrOutputWithContext(context.Background())
+func (o ServiceEndpointPolicyResponseArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPolicyResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPolicyResponse {
+ return vs[0].([]ServiceEndpointPolicyResponse)[vs[1].(int)]
+ }).(ServiceEndpointPolicyResponseOutput)
}
-func (o RoutingConfigurationV2Output) ToRoutingConfigurationV2PtrOutputWithContext(ctx context.Context) RoutingConfigurationV2PtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v RoutingConfigurationV2) *RoutingConfigurationV2 {
- return &v
- }).(RoutingConfigurationV2PtrOutput)
+// Service End point policy resource.
+type ServiceEndpointPolicyServiceGatewayResponse struct {
+ // A collection of contextual service endpoint policy.
+ ContextualServiceEndpointPolicies []string `pulumi:"contextualServiceEndpointPolicies"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Kind of service endpoint policy. This is metadata used for the Azure portal experience.
+ Kind string `pulumi:"kind"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The provisioning state of the service endpoint policy resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The resource GUID property of the service endpoint policy resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // The alias indicating if the policy belongs to a service
+ ServiceAlias *string `pulumi:"serviceAlias"`
+ // A collection of service endpoint policy definitions of the service endpoint policy.
+ ServiceEndpointPolicyDefinitions []ServiceEndpointPolicyDefinitionServiceGatewayResponse `pulumi:"serviceEndpointPolicyDefinitions"`
+ // A collection of references to subnets.
+ Subnets []SubnetResponse `pulumi:"subnets"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationV2Output) AssociatedRouteTable() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV2) *SubResource { return v.AssociatedRouteTable }).(SubResourcePtrOutput)
-}
+// Service End point policy resource.
+type ServiceEndpointPolicyServiceGatewayResponseOutput struct{ *pulumi.OutputState }
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationV2Output) InboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV2) *SubResource { return v.InboundRouteMap }).(SubResourcePtrOutput)
+func (ServiceEndpointPolicyServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceEndpointPolicyServiceGatewayResponse)(nil)).Elem()
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationV2Output) OutboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV2) *SubResource { return v.OutboundRouteMap }).(SubResourcePtrOutput)
+func (o ServiceEndpointPolicyServiceGatewayResponseOutput) ToServiceEndpointPolicyServiceGatewayResponseOutput() ServiceEndpointPolicyServiceGatewayResponseOutput {
+ return o
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationV2Output) PropagatedRouteTables() PropagatedRouteTableV2PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV2) *PropagatedRouteTableV2 { return v.PropagatedRouteTables }).(PropagatedRouteTableV2PtrOutput)
+func (o ServiceEndpointPolicyServiceGatewayResponseOutput) ToServiceEndpointPolicyServiceGatewayResponseOutputWithContext(ctx context.Context) ServiceEndpointPolicyServiceGatewayResponseOutput {
+ return o
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationV2Output) VnetRoutes() VnetRoutePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV2) *VnetRoute { return v.VnetRoutes }).(VnetRoutePtrOutput)
+// A collection of contextual service endpoint policy.
+func (o ServiceEndpointPolicyServiceGatewayResponseOutput) ContextualServiceEndpointPolicies() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyServiceGatewayResponse) []string {
+ return v.ContextualServiceEndpointPolicies
+ }).(pulumi.StringArrayOutput)
}
-type RoutingConfigurationV2PtrOutput struct{ *pulumi.OutputState }
-
-func (RoutingConfigurationV2PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationV2)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o ServiceEndpointPolicyServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (o RoutingConfigurationV2PtrOutput) ToRoutingConfigurationV2PtrOutput() RoutingConfigurationV2PtrOutput {
- return o
+// Resource ID.
+func (o ServiceEndpointPolicyServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o RoutingConfigurationV2PtrOutput) ToRoutingConfigurationV2PtrOutputWithContext(ctx context.Context) RoutingConfigurationV2PtrOutput {
- return o
+// Kind of service endpoint policy. This is metadata used for the Azure portal experience.
+func (o ServiceEndpointPolicyServiceGatewayResponseOutput) Kind() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyServiceGatewayResponse) string { return v.Kind }).(pulumi.StringOutput)
}
-func (o RoutingConfigurationV2PtrOutput) Elem() RoutingConfigurationV2Output {
- return o.ApplyT(func(v *RoutingConfigurationV2) RoutingConfigurationV2 {
- if v != nil {
- return *v
- }
- var ret RoutingConfigurationV2
- return ret
- }).(RoutingConfigurationV2Output)
+// Resource location.
+func (o ServiceEndpointPolicyServiceGatewayResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyServiceGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationV2PtrOutput) AssociatedRouteTable() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV2) *SubResource {
- if v == nil {
- return nil
- }
- return v.AssociatedRouteTable
- }).(SubResourcePtrOutput)
+// Resource name.
+func (o ServiceEndpointPolicyServiceGatewayResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyServiceGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationV2PtrOutput) InboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV2) *SubResource {
- if v == nil {
- return nil
- }
- return v.InboundRouteMap
- }).(SubResourcePtrOutput)
+// The provisioning state of the service endpoint policy resource.
+func (o ServiceEndpointPolicyServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationV2PtrOutput) OutboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV2) *SubResource {
- if v == nil {
- return nil
- }
- return v.OutboundRouteMap
- }).(SubResourcePtrOutput)
+// The resource GUID property of the service endpoint policy resource.
+func (o ServiceEndpointPolicyServiceGatewayResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyServiceGatewayResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationV2PtrOutput) PropagatedRouteTables() PropagatedRouteTableV2PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV2) *PropagatedRouteTableV2 {
- if v == nil {
- return nil
- }
- return v.PropagatedRouteTables
- }).(PropagatedRouteTableV2PtrOutput)
+// The alias indicating if the policy belongs to a service
+func (o ServiceEndpointPolicyServiceGatewayResponseOutput) ServiceAlias() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyServiceGatewayResponse) *string { return v.ServiceAlias }).(pulumi.StringPtrOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationV2PtrOutput) VnetRoutes() VnetRoutePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV2) *VnetRoute {
- if v == nil {
- return nil
- }
- return v.VnetRoutes
- }).(VnetRoutePtrOutput)
+// A collection of service endpoint policy definitions of the service endpoint policy.
+func (o ServiceEndpointPolicyServiceGatewayResponseOutput) ServiceEndpointPolicyDefinitions() ServiceEndpointPolicyDefinitionServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyServiceGatewayResponse) []ServiceEndpointPolicyDefinitionServiceGatewayResponse {
+ return v.ServiceEndpointPolicyDefinitions
+ }).(ServiceEndpointPolicyDefinitionServiceGatewayResponseArrayOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV3 struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable *SubResource `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap *SubResource `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap *SubResource `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables *PropagatedRouteTableV3 `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes *VnetRoute `pulumi:"vnetRoutes"`
+// A collection of references to subnets.
+func (o ServiceEndpointPolicyServiceGatewayResponseOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyServiceGatewayResponse) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
}
-// RoutingConfigurationV3Input is an input type that accepts RoutingConfigurationV3Args and RoutingConfigurationV3Output values.
-// You can construct a concrete instance of `RoutingConfigurationV3Input` via:
-//
-// RoutingConfigurationV3Args{...}
-type RoutingConfigurationV3Input interface {
- pulumi.Input
-
- ToRoutingConfigurationV3Output() RoutingConfigurationV3Output
- ToRoutingConfigurationV3OutputWithContext(context.Context) RoutingConfigurationV3Output
+// Resource tags.
+func (o ServiceEndpointPolicyServiceGatewayResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyServiceGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV3Args struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable SubResourcePtrInput `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap SubResourcePtrInput `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap SubResourcePtrInput `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables PropagatedRouteTableV3PtrInput `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes VnetRoutePtrInput `pulumi:"vnetRoutes"`
+// Resource type.
+func (o ServiceEndpointPolicyServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (RoutingConfigurationV3Args) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationV3)(nil)).Elem()
+type ServiceEndpointPolicyServiceGatewayResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ServiceEndpointPolicyServiceGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceEndpointPolicyServiceGatewayResponse)(nil)).Elem()
}
-func (i RoutingConfigurationV3Args) ToRoutingConfigurationV3Output() RoutingConfigurationV3Output {
- return i.ToRoutingConfigurationV3OutputWithContext(context.Background())
+func (o ServiceEndpointPolicyServiceGatewayResponseArrayOutput) ToServiceEndpointPolicyServiceGatewayResponseArrayOutput() ServiceEndpointPolicyServiceGatewayResponseArrayOutput {
+ return o
}
-func (i RoutingConfigurationV3Args) ToRoutingConfigurationV3OutputWithContext(ctx context.Context) RoutingConfigurationV3Output {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV3Output)
+func (o ServiceEndpointPolicyServiceGatewayResponseArrayOutput) ToServiceEndpointPolicyServiceGatewayResponseArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyServiceGatewayResponseArrayOutput {
+ return o
}
-func (i RoutingConfigurationV3Args) ToRoutingConfigurationV3PtrOutput() RoutingConfigurationV3PtrOutput {
- return i.ToRoutingConfigurationV3PtrOutputWithContext(context.Background())
+func (o ServiceEndpointPolicyServiceGatewayResponseArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPolicyServiceGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPolicyServiceGatewayResponse {
+ return vs[0].([]ServiceEndpointPolicyServiceGatewayResponse)[vs[1].(int)]
+ }).(ServiceEndpointPolicyServiceGatewayResponseOutput)
}
-func (i RoutingConfigurationV3Args) ToRoutingConfigurationV3PtrOutputWithContext(ctx context.Context) RoutingConfigurationV3PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV3Output).ToRoutingConfigurationV3PtrOutputWithContext(ctx)
+// Service End point policy resource.
+type ServiceEndpointPolicyVirtualNetworkApplianceResponse struct {
+ // A collection of contextual service endpoint policy.
+ ContextualServiceEndpointPolicies []string `pulumi:"contextualServiceEndpointPolicies"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Kind of service endpoint policy. This is metadata used for the Azure portal experience.
+ Kind string `pulumi:"kind"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // The provisioning state of the service endpoint policy resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The resource GUID property of the service endpoint policy resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // The alias indicating if the policy belongs to a service
+ ServiceAlias *string `pulumi:"serviceAlias"`
+ // A collection of service endpoint policy definitions of the service endpoint policy.
+ ServiceEndpointPolicyDefinitions []ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponse `pulumi:"serviceEndpointPolicyDefinitions"`
+ // A collection of references to subnets.
+ Subnets []SubnetResponse `pulumi:"subnets"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// RoutingConfigurationV3PtrInput is an input type that accepts RoutingConfigurationV3Args, RoutingConfigurationV3Ptr and RoutingConfigurationV3PtrOutput values.
-// You can construct a concrete instance of `RoutingConfigurationV3PtrInput` via:
-//
-// RoutingConfigurationV3Args{...}
-//
-// or:
-//
-// nil
-type RoutingConfigurationV3PtrInput interface {
- pulumi.Input
+// Service End point policy resource.
+type ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
- ToRoutingConfigurationV3PtrOutput() RoutingConfigurationV3PtrOutput
- ToRoutingConfigurationV3PtrOutputWithContext(context.Context) RoutingConfigurationV3PtrOutput
+func (ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceEndpointPolicyVirtualNetworkApplianceResponse)(nil)).Elem()
}
-type routingConfigurationV3PtrType RoutingConfigurationV3Args
-
-func RoutingConfigurationV3Ptr(v *RoutingConfigurationV3Args) RoutingConfigurationV3PtrInput {
- return (*routingConfigurationV3PtrType)(v)
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput) ToServiceEndpointPolicyVirtualNetworkApplianceResponseOutput() ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput {
+ return o
}
-func (*routingConfigurationV3PtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationV3)(nil)).Elem()
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput) ToServiceEndpointPolicyVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput {
+ return o
}
-func (i *routingConfigurationV3PtrType) ToRoutingConfigurationV3PtrOutput() RoutingConfigurationV3PtrOutput {
- return i.ToRoutingConfigurationV3PtrOutputWithContext(context.Background())
+// A collection of contextual service endpoint policy.
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput) ContextualServiceEndpointPolicies() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyVirtualNetworkApplianceResponse) []string {
+ return v.ContextualServiceEndpointPolicies
+ }).(pulumi.StringArrayOutput)
}
-func (i *routingConfigurationV3PtrType) ToRoutingConfigurationV3PtrOutputWithContext(ctx context.Context) RoutingConfigurationV3PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV3PtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV3Output struct{ *pulumi.OutputState }
+// Resource ID.
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
-func (RoutingConfigurationV3Output) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationV3)(nil)).Elem()
+// Kind of service endpoint policy. This is metadata used for the Azure portal experience.
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput) Kind() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyVirtualNetworkApplianceResponse) string { return v.Kind }).(pulumi.StringOutput)
}
-func (o RoutingConfigurationV3Output) ToRoutingConfigurationV3Output() RoutingConfigurationV3Output {
- return o
+// Resource location.
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyVirtualNetworkApplianceResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o RoutingConfigurationV3Output) ToRoutingConfigurationV3OutputWithContext(ctx context.Context) RoutingConfigurationV3Output {
- return o
+// Resource name.
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyVirtualNetworkApplianceResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (o RoutingConfigurationV3Output) ToRoutingConfigurationV3PtrOutput() RoutingConfigurationV3PtrOutput {
- return o.ToRoutingConfigurationV3PtrOutputWithContext(context.Background())
+// The provisioning state of the service endpoint policy resource.
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o RoutingConfigurationV3Output) ToRoutingConfigurationV3PtrOutputWithContext(ctx context.Context) RoutingConfigurationV3PtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v RoutingConfigurationV3) *RoutingConfigurationV3 {
- return &v
- }).(RoutingConfigurationV3PtrOutput)
+// The resource GUID property of the service endpoint policy resource.
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyVirtualNetworkApplianceResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationV3Output) AssociatedRouteTable() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV3) *SubResource { return v.AssociatedRouteTable }).(SubResourcePtrOutput)
+// The alias indicating if the policy belongs to a service
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput) ServiceAlias() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyVirtualNetworkApplianceResponse) *string { return v.ServiceAlias }).(pulumi.StringPtrOutput)
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationV3Output) InboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV3) *SubResource { return v.InboundRouteMap }).(SubResourcePtrOutput)
+// A collection of service endpoint policy definitions of the service endpoint policy.
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput) ServiceEndpointPolicyDefinitions() ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyVirtualNetworkApplianceResponse) []ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponse {
+ return v.ServiceEndpointPolicyDefinitions
+ }).(ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseArrayOutput)
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationV3Output) OutboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV3) *SubResource { return v.OutboundRouteMap }).(SubResourcePtrOutput)
+// A collection of references to subnets.
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput) Subnets() SubnetResponseArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyVirtualNetworkApplianceResponse) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationV3Output) PropagatedRouteTables() PropagatedRouteTableV3PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV3) *PropagatedRouteTableV3 { return v.PropagatedRouteTables }).(PropagatedRouteTableV3PtrOutput)
+// Resource tags.
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyVirtualNetworkApplianceResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationV3Output) VnetRoutes() VnetRoutePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV3) *VnetRoute { return v.VnetRoutes }).(VnetRoutePtrOutput)
+// Resource type.
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPolicyVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type RoutingConfigurationV3PtrOutput struct{ *pulumi.OutputState }
+type ServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationV3PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationV3)(nil)).Elem()
+func (ServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceEndpointPolicyVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o RoutingConfigurationV3PtrOutput) ToRoutingConfigurationV3PtrOutput() RoutingConfigurationV3PtrOutput {
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput) ToServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput() ServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o RoutingConfigurationV3PtrOutput) ToRoutingConfigurationV3PtrOutputWithContext(ctx context.Context) RoutingConfigurationV3PtrOutput {
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput) ToServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o RoutingConfigurationV3PtrOutput) Elem() RoutingConfigurationV3Output {
- return o.ApplyT(func(v *RoutingConfigurationV3) RoutingConfigurationV3 {
- if v != nil {
- return *v
- }
- var ret RoutingConfigurationV3
- return ret
- }).(RoutingConfigurationV3Output)
+func (o ServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPolicyVirtualNetworkApplianceResponse {
+ return vs[0].([]ServiceEndpointPolicyVirtualNetworkApplianceResponse)[vs[1].(int)]
+ }).(ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationV3PtrOutput) AssociatedRouteTable() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV3) *SubResource {
- if v == nil {
- return nil
- }
- return v.AssociatedRouteTable
- }).(SubResourcePtrOutput)
+// The service endpoint properties.
+type ServiceEndpointPropertiesFormat struct {
+ // A list of locations.
+ Locations []string `pulumi:"locations"`
+ // SubResource as network identifier.
+ NetworkIdentifier *SubResource `pulumi:"networkIdentifier"`
+ // The provisioning state of the resource.
+ ProvisioningState *string `pulumi:"provisioningState"`
+ // The type of the endpoint service.
+ Service *string `pulumi:"service"`
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationV3PtrOutput) InboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV3) *SubResource {
- if v == nil {
- return nil
- }
- return v.InboundRouteMap
- }).(SubResourcePtrOutput)
+// ServiceEndpointPropertiesFormatInput is an input type that accepts ServiceEndpointPropertiesFormatArgs and ServiceEndpointPropertiesFormatOutput values.
+// You can construct a concrete instance of `ServiceEndpointPropertiesFormatInput` via:
+//
+// ServiceEndpointPropertiesFormatArgs{...}
+type ServiceEndpointPropertiesFormatInput interface {
+ pulumi.Input
+
+ ToServiceEndpointPropertiesFormatOutput() ServiceEndpointPropertiesFormatOutput
+ ToServiceEndpointPropertiesFormatOutputWithContext(context.Context) ServiceEndpointPropertiesFormatOutput
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationV3PtrOutput) OutboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV3) *SubResource {
- if v == nil {
- return nil
- }
- return v.OutboundRouteMap
- }).(SubResourcePtrOutput)
+// The service endpoint properties.
+type ServiceEndpointPropertiesFormatArgs struct {
+ // A list of locations.
+ Locations pulumi.StringArrayInput `pulumi:"locations"`
+ // SubResource as network identifier.
+ NetworkIdentifier SubResourcePtrInput `pulumi:"networkIdentifier"`
+ // The provisioning state of the resource.
+ ProvisioningState pulumi.StringPtrInput `pulumi:"provisioningState"`
+ // The type of the endpoint service.
+ Service pulumi.StringPtrInput `pulumi:"service"`
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationV3PtrOutput) PropagatedRouteTables() PropagatedRouteTableV3PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV3) *PropagatedRouteTableV3 {
- if v == nil {
- return nil
- }
- return v.PropagatedRouteTables
- }).(PropagatedRouteTableV3PtrOutput)
+func (ServiceEndpointPropertiesFormatArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceEndpointPropertiesFormat)(nil)).Elem()
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationV3PtrOutput) VnetRoutes() VnetRoutePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV3) *VnetRoute {
- if v == nil {
- return nil
- }
- return v.VnetRoutes
- }).(VnetRoutePtrOutput)
+func (i ServiceEndpointPropertiesFormatArgs) ToServiceEndpointPropertiesFormatOutput() ServiceEndpointPropertiesFormatOutput {
+ return i.ToServiceEndpointPropertiesFormatOutputWithContext(context.Background())
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV5 struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable *SubResource `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap *SubResource `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap *SubResource `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables *PropagatedRouteTableV5 `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes *VnetRoute `pulumi:"vnetRoutes"`
+func (i ServiceEndpointPropertiesFormatArgs) ToServiceEndpointPropertiesFormatOutputWithContext(ctx context.Context) ServiceEndpointPropertiesFormatOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ServiceEndpointPropertiesFormatOutput)
}
-// RoutingConfigurationV5Input is an input type that accepts RoutingConfigurationV5Args and RoutingConfigurationV5Output values.
-// You can construct a concrete instance of `RoutingConfigurationV5Input` via:
+// ServiceEndpointPropertiesFormatArrayInput is an input type that accepts ServiceEndpointPropertiesFormatArray and ServiceEndpointPropertiesFormatArrayOutput values.
+// You can construct a concrete instance of `ServiceEndpointPropertiesFormatArrayInput` via:
//
-// RoutingConfigurationV5Args{...}
-type RoutingConfigurationV5Input interface {
+// ServiceEndpointPropertiesFormatArray{ ServiceEndpointPropertiesFormatArgs{...} }
+type ServiceEndpointPropertiesFormatArrayInput interface {
pulumi.Input
- ToRoutingConfigurationV5Output() RoutingConfigurationV5Output
- ToRoutingConfigurationV5OutputWithContext(context.Context) RoutingConfigurationV5Output
+ ToServiceEndpointPropertiesFormatArrayOutput() ServiceEndpointPropertiesFormatArrayOutput
+ ToServiceEndpointPropertiesFormatArrayOutputWithContext(context.Context) ServiceEndpointPropertiesFormatArrayOutput
+}
+
+type ServiceEndpointPropertiesFormatArray []ServiceEndpointPropertiesFormatInput
+
+func (ServiceEndpointPropertiesFormatArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceEndpointPropertiesFormat)(nil)).Elem()
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV5Args struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable SubResourcePtrInput `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap SubResourcePtrInput `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap SubResourcePtrInput `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables PropagatedRouteTableV5PtrInput `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes VnetRoutePtrInput `pulumi:"vnetRoutes"`
+func (i ServiceEndpointPropertiesFormatArray) ToServiceEndpointPropertiesFormatArrayOutput() ServiceEndpointPropertiesFormatArrayOutput {
+ return i.ToServiceEndpointPropertiesFormatArrayOutputWithContext(context.Background())
+}
+
+func (i ServiceEndpointPropertiesFormatArray) ToServiceEndpointPropertiesFormatArrayOutputWithContext(ctx context.Context) ServiceEndpointPropertiesFormatArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ServiceEndpointPropertiesFormatArrayOutput)
}
-func (RoutingConfigurationV5Args) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationV5)(nil)).Elem()
+// The service endpoint properties.
+type ServiceEndpointPropertiesFormatOutput struct{ *pulumi.OutputState }
+
+func (ServiceEndpointPropertiesFormatOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceEndpointPropertiesFormat)(nil)).Elem()
}
-func (i RoutingConfigurationV5Args) ToRoutingConfigurationV5Output() RoutingConfigurationV5Output {
- return i.ToRoutingConfigurationV5OutputWithContext(context.Background())
+func (o ServiceEndpointPropertiesFormatOutput) ToServiceEndpointPropertiesFormatOutput() ServiceEndpointPropertiesFormatOutput {
+ return o
}
-func (i RoutingConfigurationV5Args) ToRoutingConfigurationV5OutputWithContext(ctx context.Context) RoutingConfigurationV5Output {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV5Output)
+func (o ServiceEndpointPropertiesFormatOutput) ToServiceEndpointPropertiesFormatOutputWithContext(ctx context.Context) ServiceEndpointPropertiesFormatOutput {
+ return o
}
-func (i RoutingConfigurationV5Args) ToRoutingConfigurationV5PtrOutput() RoutingConfigurationV5PtrOutput {
- return i.ToRoutingConfigurationV5PtrOutputWithContext(context.Background())
+// A list of locations.
+func (o ServiceEndpointPropertiesFormatOutput) Locations() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPropertiesFormat) []string { return v.Locations }).(pulumi.StringArrayOutput)
}
-func (i RoutingConfigurationV5Args) ToRoutingConfigurationV5PtrOutputWithContext(ctx context.Context) RoutingConfigurationV5PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV5Output).ToRoutingConfigurationV5PtrOutputWithContext(ctx)
+// SubResource as network identifier.
+func (o ServiceEndpointPropertiesFormatOutput) NetworkIdentifier() SubResourcePtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPropertiesFormat) *SubResource { return v.NetworkIdentifier }).(SubResourcePtrOutput)
}
-// RoutingConfigurationV5PtrInput is an input type that accepts RoutingConfigurationV5Args, RoutingConfigurationV5Ptr and RoutingConfigurationV5PtrOutput values.
-// You can construct a concrete instance of `RoutingConfigurationV5PtrInput` via:
-//
-// RoutingConfigurationV5Args{...}
-//
-// or:
-//
-// nil
-type RoutingConfigurationV5PtrInput interface {
- pulumi.Input
+// The provisioning state of the resource.
+func (o ServiceEndpointPropertiesFormatOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPropertiesFormat) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+}
- ToRoutingConfigurationV5PtrOutput() RoutingConfigurationV5PtrOutput
- ToRoutingConfigurationV5PtrOutputWithContext(context.Context) RoutingConfigurationV5PtrOutput
+// The type of the endpoint service.
+func (o ServiceEndpointPropertiesFormatOutput) Service() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPropertiesFormat) *string { return v.Service }).(pulumi.StringPtrOutput)
}
-type routingConfigurationV5PtrType RoutingConfigurationV5Args
+type ServiceEndpointPropertiesFormatArrayOutput struct{ *pulumi.OutputState }
-func RoutingConfigurationV5Ptr(v *RoutingConfigurationV5Args) RoutingConfigurationV5PtrInput {
- return (*routingConfigurationV5PtrType)(v)
+func (ServiceEndpointPropertiesFormatArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceEndpointPropertiesFormat)(nil)).Elem()
}
-func (*routingConfigurationV5PtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationV5)(nil)).Elem()
+func (o ServiceEndpointPropertiesFormatArrayOutput) ToServiceEndpointPropertiesFormatArrayOutput() ServiceEndpointPropertiesFormatArrayOutput {
+ return o
}
-func (i *routingConfigurationV5PtrType) ToRoutingConfigurationV5PtrOutput() RoutingConfigurationV5PtrOutput {
- return i.ToRoutingConfigurationV5PtrOutputWithContext(context.Background())
+func (o ServiceEndpointPropertiesFormatArrayOutput) ToServiceEndpointPropertiesFormatArrayOutputWithContext(ctx context.Context) ServiceEndpointPropertiesFormatArrayOutput {
+ return o
}
-func (i *routingConfigurationV5PtrType) ToRoutingConfigurationV5PtrOutputWithContext(ctx context.Context) RoutingConfigurationV5PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV5PtrOutput)
+func (o ServiceEndpointPropertiesFormatArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPropertiesFormatOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPropertiesFormat {
+ return vs[0].([]ServiceEndpointPropertiesFormat)[vs[1].(int)]
+ }).(ServiceEndpointPropertiesFormatOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV5Output struct{ *pulumi.OutputState }
+// The service endpoint properties.
+type ServiceEndpointPropertiesFormatInterfaceEndpointResponse struct {
+ // A list of locations.
+ Locations []string `pulumi:"locations"`
+ // The provisioning state of the resource.
+ ProvisioningState *string `pulumi:"provisioningState"`
+ // The type of the endpoint service.
+ Service *string `pulumi:"service"`
+}
+
+// The service endpoint properties.
+type ServiceEndpointPropertiesFormatInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationV5Output) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationV5)(nil)).Elem()
+func (ServiceEndpointPropertiesFormatInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceEndpointPropertiesFormatInterfaceEndpointResponse)(nil)).Elem()
}
-func (o RoutingConfigurationV5Output) ToRoutingConfigurationV5Output() RoutingConfigurationV5Output {
+func (o ServiceEndpointPropertiesFormatInterfaceEndpointResponseOutput) ToServiceEndpointPropertiesFormatInterfaceEndpointResponseOutput() ServiceEndpointPropertiesFormatInterfaceEndpointResponseOutput {
return o
}
-func (o RoutingConfigurationV5Output) ToRoutingConfigurationV5OutputWithContext(ctx context.Context) RoutingConfigurationV5Output {
+func (o ServiceEndpointPropertiesFormatInterfaceEndpointResponseOutput) ToServiceEndpointPropertiesFormatInterfaceEndpointResponseOutputWithContext(ctx context.Context) ServiceEndpointPropertiesFormatInterfaceEndpointResponseOutput {
return o
}
-func (o RoutingConfigurationV5Output) ToRoutingConfigurationV5PtrOutput() RoutingConfigurationV5PtrOutput {
- return o.ToRoutingConfigurationV5PtrOutputWithContext(context.Background())
+// A list of locations.
+func (o ServiceEndpointPropertiesFormatInterfaceEndpointResponseOutput) Locations() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPropertiesFormatInterfaceEndpointResponse) []string { return v.Locations }).(pulumi.StringArrayOutput)
}
-func (o RoutingConfigurationV5Output) ToRoutingConfigurationV5PtrOutputWithContext(ctx context.Context) RoutingConfigurationV5PtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v RoutingConfigurationV5) *RoutingConfigurationV5 {
- return &v
- }).(RoutingConfigurationV5PtrOutput)
+// The provisioning state of the resource.
+func (o ServiceEndpointPropertiesFormatInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPropertiesFormatInterfaceEndpointResponse) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationV5Output) AssociatedRouteTable() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV5) *SubResource { return v.AssociatedRouteTable }).(SubResourcePtrOutput)
+// The type of the endpoint service.
+func (o ServiceEndpointPropertiesFormatInterfaceEndpointResponseOutput) Service() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPropertiesFormatInterfaceEndpointResponse) *string { return v.Service }).(pulumi.StringPtrOutput)
+}
+
+type ServiceEndpointPropertiesFormatInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ServiceEndpointPropertiesFormatInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceEndpointPropertiesFormatInterfaceEndpointResponse)(nil)).Elem()
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationV5Output) InboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV5) *SubResource { return v.InboundRouteMap }).(SubResourcePtrOutput)
+func (o ServiceEndpointPropertiesFormatInterfaceEndpointResponseArrayOutput) ToServiceEndpointPropertiesFormatInterfaceEndpointResponseArrayOutput() ServiceEndpointPropertiesFormatInterfaceEndpointResponseArrayOutput {
+ return o
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationV5Output) OutboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV5) *SubResource { return v.OutboundRouteMap }).(SubResourcePtrOutput)
+func (o ServiceEndpointPropertiesFormatInterfaceEndpointResponseArrayOutput) ToServiceEndpointPropertiesFormatInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) ServiceEndpointPropertiesFormatInterfaceEndpointResponseArrayOutput {
+ return o
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationV5Output) PropagatedRouteTables() PropagatedRouteTableV5PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV5) *PropagatedRouteTableV5 { return v.PropagatedRouteTables }).(PropagatedRouteTableV5PtrOutput)
+func (o ServiceEndpointPropertiesFormatInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPropertiesFormatInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPropertiesFormatInterfaceEndpointResponse {
+ return vs[0].([]ServiceEndpointPropertiesFormatInterfaceEndpointResponse)[vs[1].(int)]
+ }).(ServiceEndpointPropertiesFormatInterfaceEndpointResponseOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationV5Output) VnetRoutes() VnetRoutePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV5) *VnetRoute { return v.VnetRoutes }).(VnetRoutePtrOutput)
+// The service endpoint properties.
+type ServiceEndpointPropertiesFormatResponse struct {
+ // A list of locations.
+ Locations []string `pulumi:"locations"`
+ // SubResource as network identifier.
+ NetworkIdentifier *SubResourceResponse `pulumi:"networkIdentifier"`
+ // The provisioning state of the service endpoint resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The type of the endpoint service.
+ Service *string `pulumi:"service"`
}
-type RoutingConfigurationV5PtrOutput struct{ *pulumi.OutputState }
+// The service endpoint properties.
+type ServiceEndpointPropertiesFormatResponseOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationV5PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationV5)(nil)).Elem()
+func (ServiceEndpointPropertiesFormatResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceEndpointPropertiesFormatResponse)(nil)).Elem()
}
-func (o RoutingConfigurationV5PtrOutput) ToRoutingConfigurationV5PtrOutput() RoutingConfigurationV5PtrOutput {
+func (o ServiceEndpointPropertiesFormatResponseOutput) ToServiceEndpointPropertiesFormatResponseOutput() ServiceEndpointPropertiesFormatResponseOutput {
return o
}
-func (o RoutingConfigurationV5PtrOutput) ToRoutingConfigurationV5PtrOutputWithContext(ctx context.Context) RoutingConfigurationV5PtrOutput {
+func (o ServiceEndpointPropertiesFormatResponseOutput) ToServiceEndpointPropertiesFormatResponseOutputWithContext(ctx context.Context) ServiceEndpointPropertiesFormatResponseOutput {
return o
}
-func (o RoutingConfigurationV5PtrOutput) Elem() RoutingConfigurationV5Output {
- return o.ApplyT(func(v *RoutingConfigurationV5) RoutingConfigurationV5 {
- if v != nil {
- return *v
- }
- var ret RoutingConfigurationV5
- return ret
- }).(RoutingConfigurationV5Output)
+// A list of locations.
+func (o ServiceEndpointPropertiesFormatResponseOutput) Locations() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v ServiceEndpointPropertiesFormatResponse) []string { return v.Locations }).(pulumi.StringArrayOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationV5PtrOutput) AssociatedRouteTable() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV5) *SubResource {
- if v == nil {
- return nil
- }
- return v.AssociatedRouteTable
- }).(SubResourcePtrOutput)
+// SubResource as network identifier.
+func (o ServiceEndpointPropertiesFormatResponseOutput) NetworkIdentifier() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPropertiesFormatResponse) *SubResourceResponse { return v.NetworkIdentifier }).(SubResourceResponsePtrOutput)
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationV5PtrOutput) InboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV5) *SubResource {
- if v == nil {
- return nil
- }
- return v.InboundRouteMap
- }).(SubResourcePtrOutput)
+// The provisioning state of the service endpoint resource.
+func (o ServiceEndpointPropertiesFormatResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v ServiceEndpointPropertiesFormatResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationV5PtrOutput) OutboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV5) *SubResource {
- if v == nil {
- return nil
- }
- return v.OutboundRouteMap
- }).(SubResourcePtrOutput)
+// The type of the endpoint service.
+func (o ServiceEndpointPropertiesFormatResponseOutput) Service() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceEndpointPropertiesFormatResponse) *string { return v.Service }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationV5PtrOutput) PropagatedRouteTables() PropagatedRouteTableV5PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV5) *PropagatedRouteTableV5 {
- if v == nil {
- return nil
- }
- return v.PropagatedRouteTables
- }).(PropagatedRouteTableV5PtrOutput)
+type ServiceEndpointPropertiesFormatResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (ServiceEndpointPropertiesFormatResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]ServiceEndpointPropertiesFormatResponse)(nil)).Elem()
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationV5PtrOutput) VnetRoutes() VnetRoutePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV5) *VnetRoute {
- if v == nil {
- return nil
- }
- return v.VnetRoutes
- }).(VnetRoutePtrOutput)
+func (o ServiceEndpointPropertiesFormatResponseArrayOutput) ToServiceEndpointPropertiesFormatResponseArrayOutput() ServiceEndpointPropertiesFormatResponseArrayOutput {
+ return o
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV6 struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable *SubResource `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap *SubResource `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap *SubResource `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables *PropagatedRouteTableV6 `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes *VnetRoute `pulumi:"vnetRoutes"`
+func (o ServiceEndpointPropertiesFormatResponseArrayOutput) ToServiceEndpointPropertiesFormatResponseArrayOutputWithContext(ctx context.Context) ServiceEndpointPropertiesFormatResponseArrayOutput {
+ return o
+}
+
+func (o ServiceEndpointPropertiesFormatResponseArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPropertiesFormatResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPropertiesFormatResponse {
+ return vs[0].([]ServiceEndpointPropertiesFormatResponse)[vs[1].(int)]
+ }).(ServiceEndpointPropertiesFormatResponseOutput)
+}
+
+// SKU of a service gateway.
+type ServiceGatewaySku struct {
+ // Name of a service gateway SKU.
+ Name *string `pulumi:"name"`
+ // Tier of a service gateway SKU.
+ Tier *string `pulumi:"tier"`
}
-// RoutingConfigurationV6Input is an input type that accepts RoutingConfigurationV6Args and RoutingConfigurationV6Output values.
-// You can construct a concrete instance of `RoutingConfigurationV6Input` via:
+// ServiceGatewaySkuInput is an input type that accepts ServiceGatewaySkuArgs and ServiceGatewaySkuOutput values.
+// You can construct a concrete instance of `ServiceGatewaySkuInput` via:
//
-// RoutingConfigurationV6Args{...}
-type RoutingConfigurationV6Input interface {
+// ServiceGatewaySkuArgs{...}
+type ServiceGatewaySkuInput interface {
pulumi.Input
- ToRoutingConfigurationV6Output() RoutingConfigurationV6Output
- ToRoutingConfigurationV6OutputWithContext(context.Context) RoutingConfigurationV6Output
+ ToServiceGatewaySkuOutput() ServiceGatewaySkuOutput
+ ToServiceGatewaySkuOutputWithContext(context.Context) ServiceGatewaySkuOutput
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV6Args struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable SubResourcePtrInput `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap SubResourcePtrInput `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap SubResourcePtrInput `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables PropagatedRouteTableV6PtrInput `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes VnetRoutePtrInput `pulumi:"vnetRoutes"`
+// SKU of a service gateway.
+type ServiceGatewaySkuArgs struct {
+ // Name of a service gateway SKU.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Tier of a service gateway SKU.
+ Tier pulumi.StringPtrInput `pulumi:"tier"`
}
-func (RoutingConfigurationV6Args) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationV6)(nil)).Elem()
+func (ServiceGatewaySkuArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceGatewaySku)(nil)).Elem()
}
-func (i RoutingConfigurationV6Args) ToRoutingConfigurationV6Output() RoutingConfigurationV6Output {
- return i.ToRoutingConfigurationV6OutputWithContext(context.Background())
+func (i ServiceGatewaySkuArgs) ToServiceGatewaySkuOutput() ServiceGatewaySkuOutput {
+ return i.ToServiceGatewaySkuOutputWithContext(context.Background())
}
-func (i RoutingConfigurationV6Args) ToRoutingConfigurationV6OutputWithContext(ctx context.Context) RoutingConfigurationV6Output {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV6Output)
+func (i ServiceGatewaySkuArgs) ToServiceGatewaySkuOutputWithContext(ctx context.Context) ServiceGatewaySkuOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ServiceGatewaySkuOutput)
}
-func (i RoutingConfigurationV6Args) ToRoutingConfigurationV6PtrOutput() RoutingConfigurationV6PtrOutput {
- return i.ToRoutingConfigurationV6PtrOutputWithContext(context.Background())
+func (i ServiceGatewaySkuArgs) ToServiceGatewaySkuPtrOutput() ServiceGatewaySkuPtrOutput {
+ return i.ToServiceGatewaySkuPtrOutputWithContext(context.Background())
}
-func (i RoutingConfigurationV6Args) ToRoutingConfigurationV6PtrOutputWithContext(ctx context.Context) RoutingConfigurationV6PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV6Output).ToRoutingConfigurationV6PtrOutputWithContext(ctx)
+func (i ServiceGatewaySkuArgs) ToServiceGatewaySkuPtrOutputWithContext(ctx context.Context) ServiceGatewaySkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ServiceGatewaySkuOutput).ToServiceGatewaySkuPtrOutputWithContext(ctx)
}
-// RoutingConfigurationV6PtrInput is an input type that accepts RoutingConfigurationV6Args, RoutingConfigurationV6Ptr and RoutingConfigurationV6PtrOutput values.
-// You can construct a concrete instance of `RoutingConfigurationV6PtrInput` via:
+// ServiceGatewaySkuPtrInput is an input type that accepts ServiceGatewaySkuArgs, ServiceGatewaySkuPtr and ServiceGatewaySkuPtrOutput values.
+// You can construct a concrete instance of `ServiceGatewaySkuPtrInput` via:
//
-// RoutingConfigurationV6Args{...}
+// ServiceGatewaySkuArgs{...}
//
// or:
//
// nil
-type RoutingConfigurationV6PtrInput interface {
+type ServiceGatewaySkuPtrInput interface {
pulumi.Input
- ToRoutingConfigurationV6PtrOutput() RoutingConfigurationV6PtrOutput
- ToRoutingConfigurationV6PtrOutputWithContext(context.Context) RoutingConfigurationV6PtrOutput
+ ToServiceGatewaySkuPtrOutput() ServiceGatewaySkuPtrOutput
+ ToServiceGatewaySkuPtrOutputWithContext(context.Context) ServiceGatewaySkuPtrOutput
}
-type routingConfigurationV6PtrType RoutingConfigurationV6Args
+type serviceGatewaySkuPtrType ServiceGatewaySkuArgs
-func RoutingConfigurationV6Ptr(v *RoutingConfigurationV6Args) RoutingConfigurationV6PtrInput {
- return (*routingConfigurationV6PtrType)(v)
+func ServiceGatewaySkuPtr(v *ServiceGatewaySkuArgs) ServiceGatewaySkuPtrInput {
+ return (*serviceGatewaySkuPtrType)(v)
}
-func (*routingConfigurationV6PtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationV6)(nil)).Elem()
+func (*serviceGatewaySkuPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**ServiceGatewaySku)(nil)).Elem()
}
-func (i *routingConfigurationV6PtrType) ToRoutingConfigurationV6PtrOutput() RoutingConfigurationV6PtrOutput {
- return i.ToRoutingConfigurationV6PtrOutputWithContext(context.Background())
+func (i *serviceGatewaySkuPtrType) ToServiceGatewaySkuPtrOutput() ServiceGatewaySkuPtrOutput {
+ return i.ToServiceGatewaySkuPtrOutputWithContext(context.Background())
}
-func (i *routingConfigurationV6PtrType) ToRoutingConfigurationV6PtrOutputWithContext(ctx context.Context) RoutingConfigurationV6PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV6PtrOutput)
+func (i *serviceGatewaySkuPtrType) ToServiceGatewaySkuPtrOutputWithContext(ctx context.Context) ServiceGatewaySkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(ServiceGatewaySkuPtrOutput)
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV6Output struct{ *pulumi.OutputState }
+// SKU of a service gateway.
+type ServiceGatewaySkuOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationV6Output) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationV6)(nil)).Elem()
+func (ServiceGatewaySkuOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceGatewaySku)(nil)).Elem()
}
-func (o RoutingConfigurationV6Output) ToRoutingConfigurationV6Output() RoutingConfigurationV6Output {
+func (o ServiceGatewaySkuOutput) ToServiceGatewaySkuOutput() ServiceGatewaySkuOutput {
return o
}
-func (o RoutingConfigurationV6Output) ToRoutingConfigurationV6OutputWithContext(ctx context.Context) RoutingConfigurationV6Output {
+func (o ServiceGatewaySkuOutput) ToServiceGatewaySkuOutputWithContext(ctx context.Context) ServiceGatewaySkuOutput {
return o
}
-func (o RoutingConfigurationV6Output) ToRoutingConfigurationV6PtrOutput() RoutingConfigurationV6PtrOutput {
- return o.ToRoutingConfigurationV6PtrOutputWithContext(context.Background())
+func (o ServiceGatewaySkuOutput) ToServiceGatewaySkuPtrOutput() ServiceGatewaySkuPtrOutput {
+ return o.ToServiceGatewaySkuPtrOutputWithContext(context.Background())
}
-func (o RoutingConfigurationV6Output) ToRoutingConfigurationV6PtrOutputWithContext(ctx context.Context) RoutingConfigurationV6PtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v RoutingConfigurationV6) *RoutingConfigurationV6 {
+func (o ServiceGatewaySkuOutput) ToServiceGatewaySkuPtrOutputWithContext(ctx context.Context) ServiceGatewaySkuPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceGatewaySku) *ServiceGatewaySku {
return &v
- }).(RoutingConfigurationV6PtrOutput)
-}
-
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationV6Output) AssociatedRouteTable() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV6) *SubResource { return v.AssociatedRouteTable }).(SubResourcePtrOutput)
-}
-
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationV6Output) InboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV6) *SubResource { return v.InboundRouteMap }).(SubResourcePtrOutput)
-}
-
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationV6Output) OutboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV6) *SubResource { return v.OutboundRouteMap }).(SubResourcePtrOutput)
+ }).(ServiceGatewaySkuPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationV6Output) PropagatedRouteTables() PropagatedRouteTableV6PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV6) *PropagatedRouteTableV6 { return v.PropagatedRouteTables }).(PropagatedRouteTableV6PtrOutput)
+// Name of a service gateway SKU.
+func (o ServiceGatewaySkuOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceGatewaySku) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationV6Output) VnetRoutes() VnetRoutePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV6) *VnetRoute { return v.VnetRoutes }).(VnetRoutePtrOutput)
+// Tier of a service gateway SKU.
+func (o ServiceGatewaySkuOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceGatewaySku) *string { return v.Tier }).(pulumi.StringPtrOutput)
}
-type RoutingConfigurationV6PtrOutput struct{ *pulumi.OutputState }
+type ServiceGatewaySkuPtrOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationV6PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationV6)(nil)).Elem()
+func (ServiceGatewaySkuPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ServiceGatewaySku)(nil)).Elem()
}
-func (o RoutingConfigurationV6PtrOutput) ToRoutingConfigurationV6PtrOutput() RoutingConfigurationV6PtrOutput {
+func (o ServiceGatewaySkuPtrOutput) ToServiceGatewaySkuPtrOutput() ServiceGatewaySkuPtrOutput {
return o
}
-func (o RoutingConfigurationV6PtrOutput) ToRoutingConfigurationV6PtrOutputWithContext(ctx context.Context) RoutingConfigurationV6PtrOutput {
+func (o ServiceGatewaySkuPtrOutput) ToServiceGatewaySkuPtrOutputWithContext(ctx context.Context) ServiceGatewaySkuPtrOutput {
return o
}
-func (o RoutingConfigurationV6PtrOutput) Elem() RoutingConfigurationV6Output {
- return o.ApplyT(func(v *RoutingConfigurationV6) RoutingConfigurationV6 {
+func (o ServiceGatewaySkuPtrOutput) Elem() ServiceGatewaySkuOutput {
+ return o.ApplyT(func(v *ServiceGatewaySku) ServiceGatewaySku {
if v != nil {
return *v
}
- var ret RoutingConfigurationV6
+ var ret ServiceGatewaySku
return ret
- }).(RoutingConfigurationV6Output)
-}
-
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationV6PtrOutput) AssociatedRouteTable() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV6) *SubResource {
- if v == nil {
- return nil
- }
- return v.AssociatedRouteTable
- }).(SubResourcePtrOutput)
+ }).(ServiceGatewaySkuOutput)
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationV6PtrOutput) InboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV6) *SubResource {
+// Name of a service gateway SKU.
+func (o ServiceGatewaySkuPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ServiceGatewaySku) *string {
if v == nil {
return nil
}
- return v.InboundRouteMap
- }).(SubResourcePtrOutput)
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationV6PtrOutput) OutboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV6) *SubResource {
+// Tier of a service gateway SKU.
+func (o ServiceGatewaySkuPtrOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ServiceGatewaySku) *string {
if v == nil {
return nil
}
- return v.OutboundRouteMap
- }).(SubResourcePtrOutput)
+ return v.Tier
+ }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationV6PtrOutput) PropagatedRouteTables() PropagatedRouteTableV6PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV6) *PropagatedRouteTableV6 {
- if v == nil {
- return nil
- }
- return v.PropagatedRouteTables
- }).(PropagatedRouteTableV6PtrOutput)
+// SKU of a service gateway.
+type ServiceGatewaySkuResponse struct {
+ // Name of a service gateway SKU.
+ Name *string `pulumi:"name"`
+ // Tier of a service gateway SKU.
+ Tier *string `pulumi:"tier"`
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationV6PtrOutput) VnetRoutes() VnetRoutePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV6) *VnetRoute {
- if v == nil {
- return nil
- }
- return v.VnetRoutes
- }).(VnetRoutePtrOutput)
-}
+// SKU of a service gateway.
+type ServiceGatewaySkuResponseOutput struct{ *pulumi.OutputState }
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV7 struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable *SubResource `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap *SubResource `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap *SubResource `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables *PropagatedRouteTableV7 `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes *VnetRoute `pulumi:"vnetRoutes"`
+func (ServiceGatewaySkuResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ServiceGatewaySkuResponse)(nil)).Elem()
}
-// RoutingConfigurationV7Input is an input type that accepts RoutingConfigurationV7Args and RoutingConfigurationV7Output values.
-// You can construct a concrete instance of `RoutingConfigurationV7Input` via:
-//
-// RoutingConfigurationV7Args{...}
-type RoutingConfigurationV7Input interface {
- pulumi.Input
-
- ToRoutingConfigurationV7Output() RoutingConfigurationV7Output
- ToRoutingConfigurationV7OutputWithContext(context.Context) RoutingConfigurationV7Output
+func (o ServiceGatewaySkuResponseOutput) ToServiceGatewaySkuResponseOutput() ServiceGatewaySkuResponseOutput {
+ return o
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV7Args struct {
- // The resource id RouteTable associated with this RoutingConfiguration.
- AssociatedRouteTable SubResourcePtrInput `pulumi:"associatedRouteTable"`
- // The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- InboundRouteMap SubResourcePtrInput `pulumi:"inboundRouteMap"`
- // The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- OutboundRouteMap SubResourcePtrInput `pulumi:"outboundRouteMap"`
- // The list of RouteTables to advertise the routes to.
- PropagatedRouteTables PropagatedRouteTableV7PtrInput `pulumi:"propagatedRouteTables"`
- // List of routes that control routing from VirtualHub into a virtual network connection.
- VnetRoutes VnetRoutePtrInput `pulumi:"vnetRoutes"`
+func (o ServiceGatewaySkuResponseOutput) ToServiceGatewaySkuResponseOutputWithContext(ctx context.Context) ServiceGatewaySkuResponseOutput {
+ return o
}
-func (RoutingConfigurationV7Args) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationV7)(nil)).Elem()
+// Name of a service gateway SKU.
+func (o ServiceGatewaySkuResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceGatewaySkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (i RoutingConfigurationV7Args) ToRoutingConfigurationV7Output() RoutingConfigurationV7Output {
- return i.ToRoutingConfigurationV7OutputWithContext(context.Background())
+// Tier of a service gateway SKU.
+func (o ServiceGatewaySkuResponseOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ServiceGatewaySkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput)
}
-func (i RoutingConfigurationV7Args) ToRoutingConfigurationV7OutputWithContext(ctx context.Context) RoutingConfigurationV7Output {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV7Output)
-}
+type ServiceGatewaySkuResponsePtrOutput struct{ *pulumi.OutputState }
-func (i RoutingConfigurationV7Args) ToRoutingConfigurationV7PtrOutput() RoutingConfigurationV7PtrOutput {
- return i.ToRoutingConfigurationV7PtrOutputWithContext(context.Background())
+func (ServiceGatewaySkuResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**ServiceGatewaySkuResponse)(nil)).Elem()
}
-func (i RoutingConfigurationV7Args) ToRoutingConfigurationV7PtrOutputWithContext(ctx context.Context) RoutingConfigurationV7PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV7Output).ToRoutingConfigurationV7PtrOutputWithContext(ctx)
+func (o ServiceGatewaySkuResponsePtrOutput) ToServiceGatewaySkuResponsePtrOutput() ServiceGatewaySkuResponsePtrOutput {
+ return o
}
-// RoutingConfigurationV7PtrInput is an input type that accepts RoutingConfigurationV7Args, RoutingConfigurationV7Ptr and RoutingConfigurationV7PtrOutput values.
-// You can construct a concrete instance of `RoutingConfigurationV7PtrInput` via:
-//
-// RoutingConfigurationV7Args{...}
-//
-// or:
-//
-// nil
-type RoutingConfigurationV7PtrInput interface {
- pulumi.Input
-
- ToRoutingConfigurationV7PtrOutput() RoutingConfigurationV7PtrOutput
- ToRoutingConfigurationV7PtrOutputWithContext(context.Context) RoutingConfigurationV7PtrOutput
+func (o ServiceGatewaySkuResponsePtrOutput) ToServiceGatewaySkuResponsePtrOutputWithContext(ctx context.Context) ServiceGatewaySkuResponsePtrOutput {
+ return o
}
-type routingConfigurationV7PtrType RoutingConfigurationV7Args
-
-func RoutingConfigurationV7Ptr(v *RoutingConfigurationV7Args) RoutingConfigurationV7PtrInput {
- return (*routingConfigurationV7PtrType)(v)
+func (o ServiceGatewaySkuResponsePtrOutput) Elem() ServiceGatewaySkuResponseOutput {
+ return o.ApplyT(func(v *ServiceGatewaySkuResponse) ServiceGatewaySkuResponse {
+ if v != nil {
+ return *v
+ }
+ var ret ServiceGatewaySkuResponse
+ return ret
+ }).(ServiceGatewaySkuResponseOutput)
}
-func (*routingConfigurationV7PtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationV7)(nil)).Elem()
+// Name of a service gateway SKU.
+func (o ServiceGatewaySkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ServiceGatewaySkuResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (i *routingConfigurationV7PtrType) ToRoutingConfigurationV7PtrOutput() RoutingConfigurationV7PtrOutput {
- return i.ToRoutingConfigurationV7PtrOutputWithContext(context.Background())
+// Tier of a service gateway SKU.
+func (o ServiceGatewaySkuResponsePtrOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *ServiceGatewaySkuResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Tier
+ }).(pulumi.StringPtrOutput)
}
-func (i *routingConfigurationV7PtrType) ToRoutingConfigurationV7PtrOutputWithContext(ctx context.Context) RoutingConfigurationV7PtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingConfigurationV7PtrOutput)
+// Parameters for SharedKey.
+type SharedKeyPropertiesResponse struct {
+ // The provisioning state of the SharedKey resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The value of the shared key for the vpn link connection.
+ SharedKey *string `pulumi:"sharedKey"`
+ // The length of the shared key for the vpn link connection.
+ SharedKeyLength *int `pulumi:"sharedKeyLength"`
}
-// Routing Configuration indicating the associated and propagated route tables for this connection.
-type RoutingConfigurationV7Output struct{ *pulumi.OutputState }
+// Parameters for SharedKey.
+type SharedKeyPropertiesResponseOutput struct{ *pulumi.OutputState }
-func (RoutingConfigurationV7Output) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingConfigurationV7)(nil)).Elem()
+func (SharedKeyPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SharedKeyPropertiesResponse)(nil)).Elem()
}
-func (o RoutingConfigurationV7Output) ToRoutingConfigurationV7Output() RoutingConfigurationV7Output {
+func (o SharedKeyPropertiesResponseOutput) ToSharedKeyPropertiesResponseOutput() SharedKeyPropertiesResponseOutput {
return o
}
-func (o RoutingConfigurationV7Output) ToRoutingConfigurationV7OutputWithContext(ctx context.Context) RoutingConfigurationV7Output {
+func (o SharedKeyPropertiesResponseOutput) ToSharedKeyPropertiesResponseOutputWithContext(ctx context.Context) SharedKeyPropertiesResponseOutput {
return o
}
-func (o RoutingConfigurationV7Output) ToRoutingConfigurationV7PtrOutput() RoutingConfigurationV7PtrOutput {
- return o.ToRoutingConfigurationV7PtrOutputWithContext(context.Background())
+// The provisioning state of the SharedKey resource.
+func (o SharedKeyPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v SharedKeyPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o RoutingConfigurationV7Output) ToRoutingConfigurationV7PtrOutputWithContext(ctx context.Context) RoutingConfigurationV7PtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v RoutingConfigurationV7) *RoutingConfigurationV7 {
- return &v
- }).(RoutingConfigurationV7PtrOutput)
+// The value of the shared key for the vpn link connection.
+func (o SharedKeyPropertiesResponseOutput) SharedKey() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SharedKeyPropertiesResponse) *string { return v.SharedKey }).(pulumi.StringPtrOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationV7Output) AssociatedRouteTable() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV7) *SubResource { return v.AssociatedRouteTable }).(SubResourcePtrOutput)
+// The length of the shared key for the vpn link connection.
+func (o SharedKeyPropertiesResponseOutput) SharedKeyLength() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v SharedKeyPropertiesResponse) *int { return v.SharedKeyLength }).(pulumi.IntPtrOutput)
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationV7Output) InboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV7) *SubResource { return v.InboundRouteMap }).(SubResourcePtrOutput)
+type SingleQueryResultResponse struct {
+ // Describes what is the signature enforces
+ Description *string `pulumi:"description"`
+ // Describes the list of destination ports related to this signature
+ DestinationPorts []string `pulumi:"destinationPorts"`
+ // Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - InternalOutbound, 5 - InternalInbound
+ Direction *int `pulumi:"direction"`
+ // Describes the groups the signature belongs to
+ Group *string `pulumi:"group"`
+ // Describes if this override is inherited from base policy or not
+ InheritedFromParentPolicy *bool `pulumi:"inheritedFromParentPolicy"`
+ // Describes the last updated time of the signature (provided from 3rd party vendor)
+ LastUpdated *string `pulumi:"lastUpdated"`
+ // The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny
+ Mode *int `pulumi:"mode"`
+ // Describes the protocol the signatures is being enforced in
+ Protocol *string `pulumi:"protocol"`
+ // Describes the severity of signature: 1 - High, 2 - Medium, 3 - Low
+ Severity *int `pulumi:"severity"`
+ // The ID of the signature
+ SignatureId *int `pulumi:"signatureId"`
+ // Describes the list of source ports related to this signature
+ SourcePorts []string `pulumi:"sourcePorts"`
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationV7Output) OutboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV7) *SubResource { return v.OutboundRouteMap }).(SubResourcePtrOutput)
+type SingleQueryResultResponseOutput struct{ *pulumi.OutputState }
+
+func (SingleQueryResultResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SingleQueryResultResponse)(nil)).Elem()
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationV7Output) PropagatedRouteTables() PropagatedRouteTableV7PtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV7) *PropagatedRouteTableV7 { return v.PropagatedRouteTables }).(PropagatedRouteTableV7PtrOutput)
+func (o SingleQueryResultResponseOutput) ToSingleQueryResultResponseOutput() SingleQueryResultResponseOutput {
+ return o
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationV7Output) VnetRoutes() VnetRoutePtrOutput {
- return o.ApplyT(func(v RoutingConfigurationV7) *VnetRoute { return v.VnetRoutes }).(VnetRoutePtrOutput)
+func (o SingleQueryResultResponseOutput) ToSingleQueryResultResponseOutputWithContext(ctx context.Context) SingleQueryResultResponseOutput {
+ return o
}
-type RoutingConfigurationV7PtrOutput struct{ *pulumi.OutputState }
+// Describes what is the signature enforces
+func (o SingleQueryResultResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SingleQueryResultResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+}
-func (RoutingConfigurationV7PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**RoutingConfigurationV7)(nil)).Elem()
+// Describes the list of destination ports related to this signature
+func (o SingleQueryResultResponseOutput) DestinationPorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SingleQueryResultResponse) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
}
-func (o RoutingConfigurationV7PtrOutput) ToRoutingConfigurationV7PtrOutput() RoutingConfigurationV7PtrOutput {
- return o
+// Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - InternalOutbound, 5 - InternalInbound
+func (o SingleQueryResultResponseOutput) Direction() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v SingleQueryResultResponse) *int { return v.Direction }).(pulumi.IntPtrOutput)
}
-func (o RoutingConfigurationV7PtrOutput) ToRoutingConfigurationV7PtrOutputWithContext(ctx context.Context) RoutingConfigurationV7PtrOutput {
- return o
+// Describes the groups the signature belongs to
+func (o SingleQueryResultResponseOutput) Group() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SingleQueryResultResponse) *string { return v.Group }).(pulumi.StringPtrOutput)
}
-func (o RoutingConfigurationV7PtrOutput) Elem() RoutingConfigurationV7Output {
- return o.ApplyT(func(v *RoutingConfigurationV7) RoutingConfigurationV7 {
- if v != nil {
- return *v
- }
- var ret RoutingConfigurationV7
- return ret
- }).(RoutingConfigurationV7Output)
+// Describes if this override is inherited from base policy or not
+func (o SingleQueryResultResponseOutput) InheritedFromParentPolicy() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v SingleQueryResultResponse) *bool { return v.InheritedFromParentPolicy }).(pulumi.BoolPtrOutput)
}
-// The resource id RouteTable associated with this RoutingConfiguration.
-func (o RoutingConfigurationV7PtrOutput) AssociatedRouteTable() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV7) *SubResource {
- if v == nil {
- return nil
- }
- return v.AssociatedRouteTable
- }).(SubResourcePtrOutput)
+// Describes the last updated time of the signature (provided from 3rd party vendor)
+func (o SingleQueryResultResponseOutput) LastUpdated() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SingleQueryResultResponse) *string { return v.LastUpdated }).(pulumi.StringPtrOutput)
}
-// The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
-func (o RoutingConfigurationV7PtrOutput) InboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV7) *SubResource {
- if v == nil {
- return nil
- }
- return v.InboundRouteMap
- }).(SubResourcePtrOutput)
+// The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny
+func (o SingleQueryResultResponseOutput) Mode() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v SingleQueryResultResponse) *int { return v.Mode }).(pulumi.IntPtrOutput)
}
-// The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
-func (o RoutingConfigurationV7PtrOutput) OutboundRouteMap() SubResourcePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV7) *SubResource {
- if v == nil {
- return nil
- }
- return v.OutboundRouteMap
- }).(SubResourcePtrOutput)
+// Describes the protocol the signatures is being enforced in
+func (o SingleQueryResultResponseOutput) Protocol() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SingleQueryResultResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput)
}
-// The list of RouteTables to advertise the routes to.
-func (o RoutingConfigurationV7PtrOutput) PropagatedRouteTables() PropagatedRouteTableV7PtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV7) *PropagatedRouteTableV7 {
- if v == nil {
- return nil
- }
- return v.PropagatedRouteTables
- }).(PropagatedRouteTableV7PtrOutput)
+// Describes the severity of signature: 1 - High, 2 - Medium, 3 - Low
+func (o SingleQueryResultResponseOutput) Severity() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v SingleQueryResultResponse) *int { return v.Severity }).(pulumi.IntPtrOutput)
}
-// List of routes that control routing from VirtualHub into a virtual network connection.
-func (o RoutingConfigurationV7PtrOutput) VnetRoutes() VnetRoutePtrOutput {
- return o.ApplyT(func(v *RoutingConfigurationV7) *VnetRoute {
- if v == nil {
- return nil
- }
- return v.VnetRoutes
- }).(VnetRoutePtrOutput)
+// The ID of the signature
+func (o SingleQueryResultResponseOutput) SignatureId() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v SingleQueryResultResponse) *int { return v.SignatureId }).(pulumi.IntPtrOutput)
}
-// The routing policy object used in a RoutingIntent resource.
-type RoutingPolicy struct {
- // List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
- Destinations []string `pulumi:"destinations"`
- // The unique name for the routing policy.
- Name string `pulumi:"name"`
- // The next hop resource id on which this routing policy is applicable to.
- NextHop string `pulumi:"nextHop"`
+// Describes the list of source ports related to this signature
+func (o SingleQueryResultResponseOutput) SourcePorts() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SingleQueryResultResponse) []string { return v.SourcePorts }).(pulumi.StringArrayOutput)
}
-// RoutingPolicyInput is an input type that accepts RoutingPolicyArgs and RoutingPolicyOutput values.
-// You can construct a concrete instance of `RoutingPolicyInput` via:
-//
-// RoutingPolicyArgs{...}
-type RoutingPolicyInput interface {
- pulumi.Input
+type SingleQueryResultResponseArrayOutput struct{ *pulumi.OutputState }
- ToRoutingPolicyOutput() RoutingPolicyOutput
- ToRoutingPolicyOutputWithContext(context.Context) RoutingPolicyOutput
+func (SingleQueryResultResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SingleQueryResultResponse)(nil)).Elem()
}
-// The routing policy object used in a RoutingIntent resource.
-type RoutingPolicyArgs struct {
- // List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
- Destinations pulumi.StringArrayInput `pulumi:"destinations"`
- // The unique name for the routing policy.
- Name pulumi.StringInput `pulumi:"name"`
- // The next hop resource id on which this routing policy is applicable to.
- NextHop pulumi.StringInput `pulumi:"nextHop"`
+func (o SingleQueryResultResponseArrayOutput) ToSingleQueryResultResponseArrayOutput() SingleQueryResultResponseArrayOutput {
+ return o
}
-func (RoutingPolicyArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingPolicy)(nil)).Elem()
+func (o SingleQueryResultResponseArrayOutput) ToSingleQueryResultResponseArrayOutputWithContext(ctx context.Context) SingleQueryResultResponseArrayOutput {
+ return o
}
-func (i RoutingPolicyArgs) ToRoutingPolicyOutput() RoutingPolicyOutput {
- return i.ToRoutingPolicyOutputWithContext(context.Background())
+func (o SingleQueryResultResponseArrayOutput) Index(i pulumi.IntInput) SingleQueryResultResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) SingleQueryResultResponse {
+ return vs[0].([]SingleQueryResultResponse)[vs[1].(int)]
+ }).(SingleQueryResultResponseOutput)
}
-func (i RoutingPolicyArgs) ToRoutingPolicyOutputWithContext(ctx context.Context) RoutingPolicyOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingPolicyOutput)
+// The sku of this Bastion Host.
+type Sku struct {
+ // The name of the sku of this Bastion Host.
+ Name *string `pulumi:"name"`
}
-// RoutingPolicyArrayInput is an input type that accepts RoutingPolicyArray and RoutingPolicyArrayOutput values.
-// You can construct a concrete instance of `RoutingPolicyArrayInput` via:
-//
-// RoutingPolicyArray{ RoutingPolicyArgs{...} }
-type RoutingPolicyArrayInput interface {
- pulumi.Input
-
- ToRoutingPolicyArrayOutput() RoutingPolicyArrayOutput
- ToRoutingPolicyArrayOutputWithContext(context.Context) RoutingPolicyArrayOutput
+// Defaults sets the appropriate defaults for Sku
+func (val *Sku) Defaults() *Sku {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.Name == nil {
+ name_ := "Standard"
+ tmp.Name = &name_
+ }
+ return &tmp
}
-type RoutingPolicyArray []RoutingPolicyInput
-
-func (RoutingPolicyArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RoutingPolicy)(nil)).Elem()
-}
+// SkuInput is an input type that accepts SkuArgs and SkuOutput values.
+// You can construct a concrete instance of `SkuInput` via:
+//
+// SkuArgs{...}
+type SkuInput interface {
+ pulumi.Input
-func (i RoutingPolicyArray) ToRoutingPolicyArrayOutput() RoutingPolicyArrayOutput {
- return i.ToRoutingPolicyArrayOutputWithContext(context.Background())
+ ToSkuOutput() SkuOutput
+ ToSkuOutputWithContext(context.Context) SkuOutput
}
-func (i RoutingPolicyArray) ToRoutingPolicyArrayOutputWithContext(ctx context.Context) RoutingPolicyArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingPolicyArrayOutput)
+// The sku of this Bastion Host.
+type SkuArgs struct {
+ // The name of the sku of this Bastion Host.
+ Name pulumi.StringPtrInput `pulumi:"name"`
}
-// The routing policy object used in a RoutingIntent resource.
-type RoutingPolicyOutput struct{ *pulumi.OutputState }
-
-func (RoutingPolicyOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingPolicy)(nil)).Elem()
+// Defaults sets the appropriate defaults for SkuArgs
+func (val *SkuArgs) Defaults() *SkuArgs {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.Name == nil {
+ tmp.Name = pulumi.StringPtr("Standard")
+ }
+ return &tmp
}
-
-func (o RoutingPolicyOutput) ToRoutingPolicyOutput() RoutingPolicyOutput {
- return o
+func (SkuArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*Sku)(nil)).Elem()
}
-func (o RoutingPolicyOutput) ToRoutingPolicyOutputWithContext(ctx context.Context) RoutingPolicyOutput {
- return o
+func (i SkuArgs) ToSkuOutput() SkuOutput {
+ return i.ToSkuOutputWithContext(context.Background())
}
-// List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
-func (o RoutingPolicyOutput) Destinations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v RoutingPolicy) []string { return v.Destinations }).(pulumi.StringArrayOutput)
+func (i SkuArgs) ToSkuOutputWithContext(ctx context.Context) SkuOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SkuOutput)
}
-// The unique name for the routing policy.
-func (o RoutingPolicyOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v RoutingPolicy) string { return v.Name }).(pulumi.StringOutput)
+func (i SkuArgs) ToSkuPtrOutput() SkuPtrOutput {
+ return i.ToSkuPtrOutputWithContext(context.Background())
}
-// The next hop resource id on which this routing policy is applicable to.
-func (o RoutingPolicyOutput) NextHop() pulumi.StringOutput {
- return o.ApplyT(func(v RoutingPolicy) string { return v.NextHop }).(pulumi.StringOutput)
+func (i SkuArgs) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SkuOutput).ToSkuPtrOutputWithContext(ctx)
}
-type RoutingPolicyArrayOutput struct{ *pulumi.OutputState }
+// SkuPtrInput is an input type that accepts SkuArgs, SkuPtr and SkuPtrOutput values.
+// You can construct a concrete instance of `SkuPtrInput` via:
+//
+// SkuArgs{...}
+//
+// or:
+//
+// nil
+type SkuPtrInput interface {
+ pulumi.Input
-func (RoutingPolicyArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RoutingPolicy)(nil)).Elem()
+ ToSkuPtrOutput() SkuPtrOutput
+ ToSkuPtrOutputWithContext(context.Context) SkuPtrOutput
}
-func (o RoutingPolicyArrayOutput) ToRoutingPolicyArrayOutput() RoutingPolicyArrayOutput {
- return o
+type skuPtrType SkuArgs
+
+func SkuPtr(v *SkuArgs) SkuPtrInput {
+ return (*skuPtrType)(v)
}
-func (o RoutingPolicyArrayOutput) ToRoutingPolicyArrayOutputWithContext(ctx context.Context) RoutingPolicyArrayOutput {
- return o
+func (*skuPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**Sku)(nil)).Elem()
}
-func (o RoutingPolicyArrayOutput) Index(i pulumi.IntInput) RoutingPolicyOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingPolicy {
- return vs[0].([]RoutingPolicy)[vs[1].(int)]
- }).(RoutingPolicyOutput)
+func (i *skuPtrType) ToSkuPtrOutput() SkuPtrOutput {
+ return i.ToSkuPtrOutputWithContext(context.Background())
}
-// The routing policy object used in a RoutingIntent resource.
-type RoutingPolicyResponse struct {
- // List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
- Destinations []string `pulumi:"destinations"`
- // The unique name for the routing policy.
- Name string `pulumi:"name"`
- // The next hop resource id on which this routing policy is applicable to.
- NextHop string `pulumi:"nextHop"`
+func (i *skuPtrType) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SkuPtrOutput)
}
-// The routing policy object used in a RoutingIntent resource.
-type RoutingPolicyResponseOutput struct{ *pulumi.OutputState }
+// The sku of this Bastion Host.
+type SkuOutput struct{ *pulumi.OutputState }
-func (RoutingPolicyResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingPolicyResponse)(nil)).Elem()
+func (SkuOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*Sku)(nil)).Elem()
}
-func (o RoutingPolicyResponseOutput) ToRoutingPolicyResponseOutput() RoutingPolicyResponseOutput {
+func (o SkuOutput) ToSkuOutput() SkuOutput {
return o
}
-func (o RoutingPolicyResponseOutput) ToRoutingPolicyResponseOutputWithContext(ctx context.Context) RoutingPolicyResponseOutput {
+func (o SkuOutput) ToSkuOutputWithContext(ctx context.Context) SkuOutput {
return o
}
-// List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
-func (o RoutingPolicyResponseOutput) Destinations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v RoutingPolicyResponse) []string { return v.Destinations }).(pulumi.StringArrayOutput)
+func (o SkuOutput) ToSkuPtrOutput() SkuPtrOutput {
+ return o.ToSkuPtrOutputWithContext(context.Background())
}
-// The unique name for the routing policy.
-func (o RoutingPolicyResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v RoutingPolicyResponse) string { return v.Name }).(pulumi.StringOutput)
+func (o SkuOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v Sku) *Sku {
+ return &v
+ }).(SkuPtrOutput)
}
-// The next hop resource id on which this routing policy is applicable to.
-func (o RoutingPolicyResponseOutput) NextHop() pulumi.StringOutput {
- return o.ApplyT(func(v RoutingPolicyResponse) string { return v.NextHop }).(pulumi.StringOutput)
+// The name of the sku of this Bastion Host.
+func (o SkuOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v Sku) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-type RoutingPolicyResponseArrayOutput struct{ *pulumi.OutputState }
+type SkuPtrOutput struct{ *pulumi.OutputState }
-func (RoutingPolicyResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]RoutingPolicyResponse)(nil)).Elem()
+func (SkuPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**Sku)(nil)).Elem()
}
-func (o RoutingPolicyResponseArrayOutput) ToRoutingPolicyResponseArrayOutput() RoutingPolicyResponseArrayOutput {
+func (o SkuPtrOutput) ToSkuPtrOutput() SkuPtrOutput {
return o
}
-func (o RoutingPolicyResponseArrayOutput) ToRoutingPolicyResponseArrayOutputWithContext(ctx context.Context) RoutingPolicyResponseArrayOutput {
+func (o SkuPtrOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput {
return o
}
-func (o RoutingPolicyResponseArrayOutput) Index(i pulumi.IntInput) RoutingPolicyResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingPolicyResponse {
- return vs[0].([]RoutingPolicyResponse)[vs[1].(int)]
- }).(RoutingPolicyResponseOutput)
+func (o SkuPtrOutput) Elem() SkuOutput {
+ return o.ApplyT(func(v *Sku) Sku {
+ if v != nil {
+ return *v
+ }
+ var ret Sku
+ return ret
+ }).(SkuOutput)
}
-// Next hop.
-type RoutingRuleNextHop struct {
- // Next hop address. Only required if the next hop type is VirtualAppliance.
- NextHopAddress *string `pulumi:"nextHopAddress"`
- // Next hop type.
- NextHopType string `pulumi:"nextHopType"`
+// The name of the sku of this Bastion Host.
+func (o SkuPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *Sku) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// RoutingRuleNextHopInput is an input type that accepts RoutingRuleNextHopArgs and RoutingRuleNextHopOutput values.
-// You can construct a concrete instance of `RoutingRuleNextHopInput` via:
-//
-// RoutingRuleNextHopArgs{...}
-type RoutingRuleNextHopInput interface {
- pulumi.Input
+// The sku of this Bastion Host.
+type SkuResponse struct {
+ // The name of the sku of this Bastion Host.
+ Name *string `pulumi:"name"`
+}
- ToRoutingRuleNextHopOutput() RoutingRuleNextHopOutput
- ToRoutingRuleNextHopOutputWithContext(context.Context) RoutingRuleNextHopOutput
+// Defaults sets the appropriate defaults for SkuResponse
+func (val *SkuResponse) Defaults() *SkuResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.Name == nil {
+ name_ := "Standard"
+ tmp.Name = &name_
+ }
+ return &tmp
}
-// Next hop.
-type RoutingRuleNextHopArgs struct {
- // Next hop address. Only required if the next hop type is VirtualAppliance.
- NextHopAddress pulumi.StringPtrInput `pulumi:"nextHopAddress"`
- // Next hop type.
- NextHopType pulumi.StringInput `pulumi:"nextHopType"`
+// The sku of this Bastion Host.
+type SkuResponseOutput struct{ *pulumi.OutputState }
+
+func (SkuResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SkuResponse)(nil)).Elem()
}
-func (RoutingRuleNextHopArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingRuleNextHop)(nil)).Elem()
+func (o SkuResponseOutput) ToSkuResponseOutput() SkuResponseOutput {
+ return o
}
-func (i RoutingRuleNextHopArgs) ToRoutingRuleNextHopOutput() RoutingRuleNextHopOutput {
- return i.ToRoutingRuleNextHopOutputWithContext(context.Background())
+func (o SkuResponseOutput) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput {
+ return o
}
-func (i RoutingRuleNextHopArgs) ToRoutingRuleNextHopOutputWithContext(ctx context.Context) RoutingRuleNextHopOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingRuleNextHopOutput)
+// The name of the sku of this Bastion Host.
+func (o SkuResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Next hop.
-type RoutingRuleNextHopOutput struct{ *pulumi.OutputState }
+type SkuResponsePtrOutput struct{ *pulumi.OutputState }
-func (RoutingRuleNextHopOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingRuleNextHop)(nil)).Elem()
+func (SkuResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**SkuResponse)(nil)).Elem()
}
-func (o RoutingRuleNextHopOutput) ToRoutingRuleNextHopOutput() RoutingRuleNextHopOutput {
+func (o SkuResponsePtrOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput {
return o
}
-func (o RoutingRuleNextHopOutput) ToRoutingRuleNextHopOutputWithContext(ctx context.Context) RoutingRuleNextHopOutput {
+func (o SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput {
return o
}
-// Next hop address. Only required if the next hop type is VirtualAppliance.
-func (o RoutingRuleNextHopOutput) NextHopAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RoutingRuleNextHop) *string { return v.NextHopAddress }).(pulumi.StringPtrOutput)
+func (o SkuResponsePtrOutput) Elem() SkuResponseOutput {
+ return o.ApplyT(func(v *SkuResponse) SkuResponse {
+ if v != nil {
+ return *v
+ }
+ var ret SkuResponse
+ return ret
+ }).(SkuResponseOutput)
}
-// Next hop type.
-func (o RoutingRuleNextHopOutput) NextHopType() pulumi.StringOutput {
- return o.ApplyT(func(v RoutingRuleNextHop) string { return v.NextHopType }).(pulumi.StringOutput)
+// The name of the sku of this Bastion Host.
+func (o SkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SkuResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// Next hop.
-type RoutingRuleNextHopResponse struct {
- // Next hop address. Only required if the next hop type is VirtualAppliance.
- NextHopAddress *string `pulumi:"nextHopAddress"`
- // Next hop type.
- NextHopType string `pulumi:"nextHopType"`
+// Properties of static CIDR resource.
+type StaticCidrProperties struct {
+ // List of IP address prefixes of the resource.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ Description *string `pulumi:"description"`
+ // Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space.
+ NumberOfIPAddressesToAllocate *string `pulumi:"numberOfIPAddressesToAllocate"`
}
-// Next hop.
-type RoutingRuleNextHopResponseOutput struct{ *pulumi.OutputState }
+// StaticCidrPropertiesInput is an input type that accepts StaticCidrPropertiesArgs and StaticCidrPropertiesOutput values.
+// You can construct a concrete instance of `StaticCidrPropertiesInput` via:
+//
+// StaticCidrPropertiesArgs{...}
+type StaticCidrPropertiesInput interface {
+ pulumi.Input
-func (RoutingRuleNextHopResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingRuleNextHopResponse)(nil)).Elem()
+ ToStaticCidrPropertiesOutput() StaticCidrPropertiesOutput
+ ToStaticCidrPropertiesOutputWithContext(context.Context) StaticCidrPropertiesOutput
}
-func (o RoutingRuleNextHopResponseOutput) ToRoutingRuleNextHopResponseOutput() RoutingRuleNextHopResponseOutput {
- return o
+// Properties of static CIDR resource.
+type StaticCidrPropertiesArgs struct {
+ // List of IP address prefixes of the resource.
+ AddressPrefixes pulumi.StringArrayInput `pulumi:"addressPrefixes"`
+ Description pulumi.StringPtrInput `pulumi:"description"`
+ // Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space.
+ NumberOfIPAddressesToAllocate pulumi.StringPtrInput `pulumi:"numberOfIPAddressesToAllocate"`
}
-func (o RoutingRuleNextHopResponseOutput) ToRoutingRuleNextHopResponseOutputWithContext(ctx context.Context) RoutingRuleNextHopResponseOutput {
- return o
+func (StaticCidrPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticCidrProperties)(nil)).Elem()
}
-// Next hop address. Only required if the next hop type is VirtualAppliance.
-func (o RoutingRuleNextHopResponseOutput) NextHopAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v RoutingRuleNextHopResponse) *string { return v.NextHopAddress }).(pulumi.StringPtrOutput)
+func (i StaticCidrPropertiesArgs) ToStaticCidrPropertiesOutput() StaticCidrPropertiesOutput {
+ return i.ToStaticCidrPropertiesOutputWithContext(context.Background())
}
-// Next hop type.
-func (o RoutingRuleNextHopResponseOutput) NextHopType() pulumi.StringOutput {
- return o.ApplyT(func(v RoutingRuleNextHopResponse) string { return v.NextHopType }).(pulumi.StringOutput)
+func (i StaticCidrPropertiesArgs) ToStaticCidrPropertiesOutputWithContext(ctx context.Context) StaticCidrPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(StaticCidrPropertiesOutput)
}
-// Route destination.
-type RoutingRuleRouteDestination struct {
- // Destination address.
- DestinationAddress string `pulumi:"destinationAddress"`
- // Destination type.
- Type string `pulumi:"type"`
+func (i StaticCidrPropertiesArgs) ToStaticCidrPropertiesPtrOutput() StaticCidrPropertiesPtrOutput {
+ return i.ToStaticCidrPropertiesPtrOutputWithContext(context.Background())
}
-// RoutingRuleRouteDestinationInput is an input type that accepts RoutingRuleRouteDestinationArgs and RoutingRuleRouteDestinationOutput values.
-// You can construct a concrete instance of `RoutingRuleRouteDestinationInput` via:
+func (i StaticCidrPropertiesArgs) ToStaticCidrPropertiesPtrOutputWithContext(ctx context.Context) StaticCidrPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(StaticCidrPropertiesOutput).ToStaticCidrPropertiesPtrOutputWithContext(ctx)
+}
+
+// StaticCidrPropertiesPtrInput is an input type that accepts StaticCidrPropertiesArgs, StaticCidrPropertiesPtr and StaticCidrPropertiesPtrOutput values.
+// You can construct a concrete instance of `StaticCidrPropertiesPtrInput` via:
//
-// RoutingRuleRouteDestinationArgs{...}
-type RoutingRuleRouteDestinationInput interface {
+// StaticCidrPropertiesArgs{...}
+//
+// or:
+//
+// nil
+type StaticCidrPropertiesPtrInput interface {
pulumi.Input
- ToRoutingRuleRouteDestinationOutput() RoutingRuleRouteDestinationOutput
- ToRoutingRuleRouteDestinationOutputWithContext(context.Context) RoutingRuleRouteDestinationOutput
+ ToStaticCidrPropertiesPtrOutput() StaticCidrPropertiesPtrOutput
+ ToStaticCidrPropertiesPtrOutputWithContext(context.Context) StaticCidrPropertiesPtrOutput
}
-// Route destination.
-type RoutingRuleRouteDestinationArgs struct {
- // Destination address.
- DestinationAddress pulumi.StringInput `pulumi:"destinationAddress"`
- // Destination type.
- Type pulumi.StringInput `pulumi:"type"`
+type staticCidrPropertiesPtrType StaticCidrPropertiesArgs
+
+func StaticCidrPropertiesPtr(v *StaticCidrPropertiesArgs) StaticCidrPropertiesPtrInput {
+ return (*staticCidrPropertiesPtrType)(v)
}
-func (RoutingRuleRouteDestinationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingRuleRouteDestination)(nil)).Elem()
+func (*staticCidrPropertiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**StaticCidrProperties)(nil)).Elem()
}
-func (i RoutingRuleRouteDestinationArgs) ToRoutingRuleRouteDestinationOutput() RoutingRuleRouteDestinationOutput {
- return i.ToRoutingRuleRouteDestinationOutputWithContext(context.Background())
+func (i *staticCidrPropertiesPtrType) ToStaticCidrPropertiesPtrOutput() StaticCidrPropertiesPtrOutput {
+ return i.ToStaticCidrPropertiesPtrOutputWithContext(context.Background())
}
-func (i RoutingRuleRouteDestinationArgs) ToRoutingRuleRouteDestinationOutputWithContext(ctx context.Context) RoutingRuleRouteDestinationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(RoutingRuleRouteDestinationOutput)
+func (i *staticCidrPropertiesPtrType) ToStaticCidrPropertiesPtrOutputWithContext(ctx context.Context) StaticCidrPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(StaticCidrPropertiesPtrOutput)
}
-// Route destination.
-type RoutingRuleRouteDestinationOutput struct{ *pulumi.OutputState }
+// Properties of static CIDR resource.
+type StaticCidrPropertiesOutput struct{ *pulumi.OutputState }
-func (RoutingRuleRouteDestinationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingRuleRouteDestination)(nil)).Elem()
+func (StaticCidrPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticCidrProperties)(nil)).Elem()
}
-func (o RoutingRuleRouteDestinationOutput) ToRoutingRuleRouteDestinationOutput() RoutingRuleRouteDestinationOutput {
+func (o StaticCidrPropertiesOutput) ToStaticCidrPropertiesOutput() StaticCidrPropertiesOutput {
return o
}
-func (o RoutingRuleRouteDestinationOutput) ToRoutingRuleRouteDestinationOutputWithContext(ctx context.Context) RoutingRuleRouteDestinationOutput {
+func (o StaticCidrPropertiesOutput) ToStaticCidrPropertiesOutputWithContext(ctx context.Context) StaticCidrPropertiesOutput {
return o
}
-// Destination address.
-func (o RoutingRuleRouteDestinationOutput) DestinationAddress() pulumi.StringOutput {
- return o.ApplyT(func(v RoutingRuleRouteDestination) string { return v.DestinationAddress }).(pulumi.StringOutput)
+func (o StaticCidrPropertiesOutput) ToStaticCidrPropertiesPtrOutput() StaticCidrPropertiesPtrOutput {
+ return o.ToStaticCidrPropertiesPtrOutputWithContext(context.Background())
}
-// Destination type.
-func (o RoutingRuleRouteDestinationOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v RoutingRuleRouteDestination) string { return v.Type }).(pulumi.StringOutput)
+func (o StaticCidrPropertiesOutput) ToStaticCidrPropertiesPtrOutputWithContext(ctx context.Context) StaticCidrPropertiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v StaticCidrProperties) *StaticCidrProperties {
+ return &v
+ }).(StaticCidrPropertiesPtrOutput)
}
-// Route destination.
-type RoutingRuleRouteDestinationResponse struct {
- // Destination address.
- DestinationAddress string `pulumi:"destinationAddress"`
- // Destination type.
- Type string `pulumi:"type"`
+// List of IP address prefixes of the resource.
+func (o StaticCidrPropertiesOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v StaticCidrProperties) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
-// Route destination.
-type RoutingRuleRouteDestinationResponseOutput struct{ *pulumi.OutputState }
+func (o StaticCidrPropertiesOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticCidrProperties) *string { return v.Description }).(pulumi.StringPtrOutput)
+}
-func (RoutingRuleRouteDestinationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*RoutingRuleRouteDestinationResponse)(nil)).Elem()
+// Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space.
+func (o StaticCidrPropertiesOutput) NumberOfIPAddressesToAllocate() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticCidrProperties) *string { return v.NumberOfIPAddressesToAllocate }).(pulumi.StringPtrOutput)
}
-func (o RoutingRuleRouteDestinationResponseOutput) ToRoutingRuleRouteDestinationResponseOutput() RoutingRuleRouteDestinationResponseOutput {
- return o
+type StaticCidrPropertiesPtrOutput struct{ *pulumi.OutputState }
+
+func (StaticCidrPropertiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**StaticCidrProperties)(nil)).Elem()
}
-func (o RoutingRuleRouteDestinationResponseOutput) ToRoutingRuleRouteDestinationResponseOutputWithContext(ctx context.Context) RoutingRuleRouteDestinationResponseOutput {
+func (o StaticCidrPropertiesPtrOutput) ToStaticCidrPropertiesPtrOutput() StaticCidrPropertiesPtrOutput {
return o
}
-// Destination address.
-func (o RoutingRuleRouteDestinationResponseOutput) DestinationAddress() pulumi.StringOutput {
- return o.ApplyT(func(v RoutingRuleRouteDestinationResponse) string { return v.DestinationAddress }).(pulumi.StringOutput)
+func (o StaticCidrPropertiesPtrOutput) ToStaticCidrPropertiesPtrOutputWithContext(ctx context.Context) StaticCidrPropertiesPtrOutput {
+ return o
}
-// Destination type.
-func (o RoutingRuleRouteDestinationResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v RoutingRuleRouteDestinationResponse) string { return v.Type }).(pulumi.StringOutput)
+func (o StaticCidrPropertiesPtrOutput) Elem() StaticCidrPropertiesOutput {
+ return o.ApplyT(func(v *StaticCidrProperties) StaticCidrProperties {
+ if v != nil {
+ return *v
+ }
+ var ret StaticCidrProperties
+ return ret
+ }).(StaticCidrPropertiesOutput)
}
-// Network security rule.
-type SecurityRuleType struct {
- // The network traffic is allowed or denied.
- Access string `pulumi:"access"`
- // A description for this rule. Restricted to 140 chars.
- Description *string `pulumi:"description"`
- // The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- DestinationAddressPrefix *string `pulumi:"destinationAddressPrefix"`
- // The destination address prefixes. CIDR or destination IP ranges.
- DestinationAddressPrefixes []string `pulumi:"destinationAddressPrefixes"`
- // The application security group specified as destination.
- DestinationApplicationSecurityGroups []ApplicationSecurityGroupType `pulumi:"destinationApplicationSecurityGroups"`
- // The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- DestinationPortRange *string `pulumi:"destinationPortRange"`
- // The destination port ranges.
- DestinationPortRanges []string `pulumi:"destinationPortRanges"`
- // The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
- Direction string `pulumi:"direction"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Priority *int `pulumi:"priority"`
- // Network protocol this rule applies to.
- Protocol string `pulumi:"protocol"`
- // The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState *string `pulumi:"provisioningState"`
- // The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- SourceAddressPrefix *string `pulumi:"sourceAddressPrefix"`
- // The CIDR or source IP ranges.
- SourceAddressPrefixes []string `pulumi:"sourceAddressPrefixes"`
- // The application security group specified as source.
- SourceApplicationSecurityGroups []ApplicationSecurityGroupType `pulumi:"sourceApplicationSecurityGroups"`
- // The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- SourcePortRange *string `pulumi:"sourcePortRange"`
- // The source port ranges.
- SourcePortRanges []string `pulumi:"sourcePortRanges"`
- // The type of the resource.
- Type *string `pulumi:"type"`
+// List of IP address prefixes of the resource.
+func (o StaticCidrPropertiesPtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *StaticCidrProperties) []string {
+ if v == nil {
+ return nil
+ }
+ return v.AddressPrefixes
+ }).(pulumi.StringArrayOutput)
}
-// SecurityRuleTypeInput is an input type that accepts SecurityRuleTypeArgs and SecurityRuleTypeOutput values.
-// You can construct a concrete instance of `SecurityRuleTypeInput` via:
-//
-// SecurityRuleTypeArgs{...}
-type SecurityRuleTypeInput interface {
- pulumi.Input
-
- ToSecurityRuleTypeOutput() SecurityRuleTypeOutput
- ToSecurityRuleTypeOutputWithContext(context.Context) SecurityRuleTypeOutput
+func (o StaticCidrPropertiesPtrOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *StaticCidrProperties) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Description
+ }).(pulumi.StringPtrOutput)
}
-// Network security rule.
-type SecurityRuleTypeArgs struct {
- // The network traffic is allowed or denied.
- Access pulumi.StringInput `pulumi:"access"`
- // A description for this rule. Restricted to 140 chars.
- Description pulumi.StringPtrInput `pulumi:"description"`
- // The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- DestinationAddressPrefix pulumi.StringPtrInput `pulumi:"destinationAddressPrefix"`
- // The destination address prefixes. CIDR or destination IP ranges.
- DestinationAddressPrefixes pulumi.StringArrayInput `pulumi:"destinationAddressPrefixes"`
- // The application security group specified as destination.
- DestinationApplicationSecurityGroups ApplicationSecurityGroupTypeArrayInput `pulumi:"destinationApplicationSecurityGroups"`
- // The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- DestinationPortRange pulumi.StringPtrInput `pulumi:"destinationPortRange"`
- // The destination port ranges.
- DestinationPortRanges pulumi.StringArrayInput `pulumi:"destinationPortRanges"`
- // The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
- Direction pulumi.StringInput `pulumi:"direction"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag pulumi.StringPtrInput `pulumi:"etag"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Priority pulumi.IntPtrInput `pulumi:"priority"`
- // Network protocol this rule applies to.
- Protocol pulumi.StringInput `pulumi:"protocol"`
- // The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState pulumi.StringPtrInput `pulumi:"provisioningState"`
- // The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- SourceAddressPrefix pulumi.StringPtrInput `pulumi:"sourceAddressPrefix"`
- // The CIDR or source IP ranges.
- SourceAddressPrefixes pulumi.StringArrayInput `pulumi:"sourceAddressPrefixes"`
- // The application security group specified as source.
- SourceApplicationSecurityGroups ApplicationSecurityGroupTypeArrayInput `pulumi:"sourceApplicationSecurityGroups"`
- // The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- SourcePortRange pulumi.StringPtrInput `pulumi:"sourcePortRange"`
- // The source port ranges.
- SourcePortRanges pulumi.StringArrayInput `pulumi:"sourcePortRanges"`
- // The type of the resource.
- Type pulumi.StringPtrInput `pulumi:"type"`
+// Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space.
+func (o StaticCidrPropertiesPtrOutput) NumberOfIPAddressesToAllocate() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *StaticCidrProperties) *string {
+ if v == nil {
+ return nil
+ }
+ return v.NumberOfIPAddressesToAllocate
+ }).(pulumi.StringPtrOutput)
}
-func (SecurityRuleTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*SecurityRuleType)(nil)).Elem()
+// Properties of static CIDR resource.
+type StaticCidrPropertiesResponse struct {
+ // List of IP address prefixes of the resource.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ Description *string `pulumi:"description"`
+ // Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space.
+ NumberOfIPAddressesToAllocate *string `pulumi:"numberOfIPAddressesToAllocate"`
+ // Provisioning states of a resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Total number of IP addresses allocated for the static CIDR resource.
+ TotalNumberOfIPAddresses string `pulumi:"totalNumberOfIPAddresses"`
}
-func (i SecurityRuleTypeArgs) ToSecurityRuleTypeOutput() SecurityRuleTypeOutput {
- return i.ToSecurityRuleTypeOutputWithContext(context.Background())
-}
+// Properties of static CIDR resource.
+type StaticCidrPropertiesResponseOutput struct{ *pulumi.OutputState }
-func (i SecurityRuleTypeArgs) ToSecurityRuleTypeOutputWithContext(ctx context.Context) SecurityRuleTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SecurityRuleTypeOutput)
+func (StaticCidrPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticCidrPropertiesResponse)(nil)).Elem()
}
-// SecurityRuleTypeArrayInput is an input type that accepts SecurityRuleTypeArray and SecurityRuleTypeArrayOutput values.
-// You can construct a concrete instance of `SecurityRuleTypeArrayInput` via:
-//
-// SecurityRuleTypeArray{ SecurityRuleTypeArgs{...} }
-type SecurityRuleTypeArrayInput interface {
- pulumi.Input
-
- ToSecurityRuleTypeArrayOutput() SecurityRuleTypeArrayOutput
- ToSecurityRuleTypeArrayOutputWithContext(context.Context) SecurityRuleTypeArrayOutput
+func (o StaticCidrPropertiesResponseOutput) ToStaticCidrPropertiesResponseOutput() StaticCidrPropertiesResponseOutput {
+ return o
}
-type SecurityRuleTypeArray []SecurityRuleTypeInput
-
-func (SecurityRuleTypeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SecurityRuleType)(nil)).Elem()
+func (o StaticCidrPropertiesResponseOutput) ToStaticCidrPropertiesResponseOutputWithContext(ctx context.Context) StaticCidrPropertiesResponseOutput {
+ return o
}
-func (i SecurityRuleTypeArray) ToSecurityRuleTypeArrayOutput() SecurityRuleTypeArrayOutput {
- return i.ToSecurityRuleTypeArrayOutputWithContext(context.Background())
+// List of IP address prefixes of the resource.
+func (o StaticCidrPropertiesResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v StaticCidrPropertiesResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
-func (i SecurityRuleTypeArray) ToSecurityRuleTypeArrayOutputWithContext(ctx context.Context) SecurityRuleTypeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SecurityRuleTypeArrayOutput)
+func (o StaticCidrPropertiesResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticCidrPropertiesResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// Network security rule.
-type SecurityRuleTypeOutput struct{ *pulumi.OutputState }
+// Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space.
+func (o StaticCidrPropertiesResponseOutput) NumberOfIPAddressesToAllocate() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticCidrPropertiesResponse) *string { return v.NumberOfIPAddressesToAllocate }).(pulumi.StringPtrOutput)
+}
-func (SecurityRuleTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SecurityRuleType)(nil)).Elem()
+// Provisioning states of a resource.
+func (o StaticCidrPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v StaticCidrPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o SecurityRuleTypeOutput) ToSecurityRuleTypeOutput() SecurityRuleTypeOutput {
- return o
+// Total number of IP addresses allocated for the static CIDR resource.
+func (o StaticCidrPropertiesResponseOutput) TotalNumberOfIPAddresses() pulumi.StringOutput {
+ return o.ApplyT(func(v StaticCidrPropertiesResponse) string { return v.TotalNumberOfIPAddresses }).(pulumi.StringOutput)
}
-func (o SecurityRuleTypeOutput) ToSecurityRuleTypeOutputWithContext(ctx context.Context) SecurityRuleTypeOutput {
- return o
+// List of all Static Routes.
+type StaticRoute struct {
+ // List of all address prefixes.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ // The name of the StaticRoute that is unique within a VnetRoute.
+ Name *string `pulumi:"name"`
+ // The ip address of the next hop.
+ NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
}
-// The network traffic is allowed or denied.
-func (o SecurityRuleTypeOutput) Access() pulumi.StringOutput {
- return o.ApplyT(func(v SecurityRuleType) string { return v.Access }).(pulumi.StringOutput)
+// StaticRouteInput is an input type that accepts StaticRouteArgs and StaticRouteOutput values.
+// You can construct a concrete instance of `StaticRouteInput` via:
+//
+// StaticRouteArgs{...}
+type StaticRouteInput interface {
+ pulumi.Input
+
+ ToStaticRouteOutput() StaticRouteOutput
+ ToStaticRouteOutputWithContext(context.Context) StaticRouteOutput
}
-// A description for this rule. Restricted to 140 chars.
-func (o SecurityRuleTypeOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleType) *string { return v.Description }).(pulumi.StringPtrOutput)
+// List of all Static Routes.
+type StaticRouteArgs struct {
+ // List of all address prefixes.
+ AddressPrefixes pulumi.StringArrayInput `pulumi:"addressPrefixes"`
+ // The name of the StaticRoute that is unique within a VnetRoute.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The ip address of the next hop.
+ NextHopIpAddress pulumi.StringPtrInput `pulumi:"nextHopIpAddress"`
}
-// The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
-func (o SecurityRuleTypeOutput) DestinationAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleType) *string { return v.DestinationAddressPrefix }).(pulumi.StringPtrOutput)
+func (StaticRouteArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticRoute)(nil)).Elem()
}
-// The destination address prefixes. CIDR or destination IP ranges.
-func (o SecurityRuleTypeOutput) DestinationAddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SecurityRuleType) []string { return v.DestinationAddressPrefixes }).(pulumi.StringArrayOutput)
+func (i StaticRouteArgs) ToStaticRouteOutput() StaticRouteOutput {
+ return i.ToStaticRouteOutputWithContext(context.Background())
}
-// The application security group specified as destination.
-func (o SecurityRuleTypeOutput) DestinationApplicationSecurityGroups() ApplicationSecurityGroupTypeArrayOutput {
- return o.ApplyT(func(v SecurityRuleType) []ApplicationSecurityGroupType { return v.DestinationApplicationSecurityGroups }).(ApplicationSecurityGroupTypeArrayOutput)
+func (i StaticRouteArgs) ToStaticRouteOutputWithContext(ctx context.Context) StaticRouteOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(StaticRouteOutput)
}
-// The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
-func (o SecurityRuleTypeOutput) DestinationPortRange() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleType) *string { return v.DestinationPortRange }).(pulumi.StringPtrOutput)
+// StaticRouteArrayInput is an input type that accepts StaticRouteArray and StaticRouteArrayOutput values.
+// You can construct a concrete instance of `StaticRouteArrayInput` via:
+//
+// StaticRouteArray{ StaticRouteArgs{...} }
+type StaticRouteArrayInput interface {
+ pulumi.Input
+
+ ToStaticRouteArrayOutput() StaticRouteArrayOutput
+ ToStaticRouteArrayOutputWithContext(context.Context) StaticRouteArrayOutput
}
-// The destination port ranges.
-func (o SecurityRuleTypeOutput) DestinationPortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SecurityRuleType) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
+type StaticRouteArray []StaticRouteInput
+
+func (StaticRouteArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]StaticRoute)(nil)).Elem()
}
-// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
-func (o SecurityRuleTypeOutput) Direction() pulumi.StringOutput {
- return o.ApplyT(func(v SecurityRuleType) string { return v.Direction }).(pulumi.StringOutput)
+func (i StaticRouteArray) ToStaticRouteArrayOutput() StaticRouteArrayOutput {
+ return i.ToStaticRouteArrayOutputWithContext(context.Background())
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o SecurityRuleTypeOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleType) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (i StaticRouteArray) ToStaticRouteArrayOutputWithContext(ctx context.Context) StaticRouteArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(StaticRouteArrayOutput)
}
-// Resource ID.
-func (o SecurityRuleTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleType) *string { return v.Id }).(pulumi.StringPtrOutput)
+// List of all Static Routes.
+type StaticRouteOutput struct{ *pulumi.OutputState }
+
+func (StaticRouteOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticRoute)(nil)).Elem()
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o SecurityRuleTypeOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleType) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o StaticRouteOutput) ToStaticRouteOutput() StaticRouteOutput {
+ return o
}
-// The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
-func (o SecurityRuleTypeOutput) Priority() pulumi.IntPtrOutput {
- return o.ApplyT(func(v SecurityRuleType) *int { return v.Priority }).(pulumi.IntPtrOutput)
+func (o StaticRouteOutput) ToStaticRouteOutputWithContext(ctx context.Context) StaticRouteOutput {
+ return o
}
-// Network protocol this rule applies to.
-func (o SecurityRuleTypeOutput) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v SecurityRuleType) string { return v.Protocol }).(pulumi.StringOutput)
+// List of all address prefixes.
+func (o StaticRouteOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v StaticRoute) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
-// The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o SecurityRuleTypeOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleType) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+// The name of the StaticRoute that is unique within a VnetRoute.
+func (o StaticRouteOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticRoute) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
-func (o SecurityRuleTypeOutput) SourceAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleType) *string { return v.SourceAddressPrefix }).(pulumi.StringPtrOutput)
+// The ip address of the next hop.
+func (o StaticRouteOutput) NextHopIpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticRoute) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
}
-// The CIDR or source IP ranges.
-func (o SecurityRuleTypeOutput) SourceAddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SecurityRuleType) []string { return v.SourceAddressPrefixes }).(pulumi.StringArrayOutput)
+type StaticRouteArrayOutput struct{ *pulumi.OutputState }
+
+func (StaticRouteArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]StaticRoute)(nil)).Elem()
}
-// The application security group specified as source.
-func (o SecurityRuleTypeOutput) SourceApplicationSecurityGroups() ApplicationSecurityGroupTypeArrayOutput {
- return o.ApplyT(func(v SecurityRuleType) []ApplicationSecurityGroupType { return v.SourceApplicationSecurityGroups }).(ApplicationSecurityGroupTypeArrayOutput)
+func (o StaticRouteArrayOutput) ToStaticRouteArrayOutput() StaticRouteArrayOutput {
+ return o
}
-// The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
-func (o SecurityRuleTypeOutput) SourcePortRange() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleType) *string { return v.SourcePortRange }).(pulumi.StringPtrOutput)
+func (o StaticRouteArrayOutput) ToStaticRouteArrayOutputWithContext(ctx context.Context) StaticRouteArrayOutput {
+ return o
}
-// The source port ranges.
-func (o SecurityRuleTypeOutput) SourcePortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SecurityRuleType) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
+func (o StaticRouteArrayOutput) Index(i pulumi.IntInput) StaticRouteOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) StaticRoute {
+ return vs[0].([]StaticRoute)[vs[1].(int)]
+ }).(StaticRouteOutput)
}
-// The type of the resource.
-func (o SecurityRuleTypeOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleType) *string { return v.Type }).(pulumi.StringPtrOutput)
+// List of all Static Routes.
+type StaticRouteResponse struct {
+ // List of all address prefixes.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ // The name of the StaticRoute that is unique within a VnetRoute.
+ Name *string `pulumi:"name"`
+ // The ip address of the next hop.
+ NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
}
-type SecurityRuleTypeArrayOutput struct{ *pulumi.OutputState }
+// List of all Static Routes.
+type StaticRouteResponseOutput struct{ *pulumi.OutputState }
-func (SecurityRuleTypeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SecurityRuleType)(nil)).Elem()
+func (StaticRouteResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticRouteResponse)(nil)).Elem()
}
-func (o SecurityRuleTypeArrayOutput) ToSecurityRuleTypeArrayOutput() SecurityRuleTypeArrayOutput {
+func (o StaticRouteResponseOutput) ToStaticRouteResponseOutput() StaticRouteResponseOutput {
return o
}
-func (o SecurityRuleTypeArrayOutput) ToSecurityRuleTypeArrayOutputWithContext(ctx context.Context) SecurityRuleTypeArrayOutput {
+func (o StaticRouteResponseOutput) ToStaticRouteResponseOutputWithContext(ctx context.Context) StaticRouteResponseOutput {
return o
}
-func (o SecurityRuleTypeArrayOutput) Index(i pulumi.IntInput) SecurityRuleTypeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityRuleType {
- return vs[0].([]SecurityRuleType)[vs[1].(int)]
- }).(SecurityRuleTypeOutput)
+// List of all address prefixes.
+func (o StaticRouteResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v StaticRouteResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
-// Network security rule.
-type SecurityRuleResponse struct {
- // The network traffic is allowed or denied.
- Access string `pulumi:"access"`
- // A description for this rule. Restricted to 140 chars.
- Description *string `pulumi:"description"`
- // The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- DestinationAddressPrefix *string `pulumi:"destinationAddressPrefix"`
- // The destination address prefixes. CIDR or destination IP ranges.
- DestinationAddressPrefixes []string `pulumi:"destinationAddressPrefixes"`
- // The application security group specified as destination.
- DestinationApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"destinationApplicationSecurityGroups"`
- // The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- DestinationPortRange *string `pulumi:"destinationPortRange"`
- // The destination port ranges.
- DestinationPortRanges []string `pulumi:"destinationPortRanges"`
- // The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
- Direction string `pulumi:"direction"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Priority int `pulumi:"priority"`
- // Network protocol this rule applies to.
- Protocol string `pulumi:"protocol"`
- // The provisioning state of the security rule resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- SourceAddressPrefix *string `pulumi:"sourceAddressPrefix"`
- // The CIDR or source IP ranges.
- SourceAddressPrefixes []string `pulumi:"sourceAddressPrefixes"`
- // The application security group specified as source.
- SourceApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"sourceApplicationSecurityGroups"`
- // The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- SourcePortRange *string `pulumi:"sourcePortRange"`
- // The source port ranges.
- SourcePortRanges []string `pulumi:"sourcePortRanges"`
- // The type of the resource.
- Type *string `pulumi:"type"`
+// The name of the StaticRoute that is unique within a VnetRoute.
+func (o StaticRouteResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticRouteResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Network security rule.
-type SecurityRuleResponseOutput struct{ *pulumi.OutputState }
+// The ip address of the next hop.
+func (o StaticRouteResponseOutput) NextHopIpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticRouteResponse) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
+}
-func (SecurityRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SecurityRuleResponse)(nil)).Elem()
+type StaticRouteResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (StaticRouteResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]StaticRouteResponse)(nil)).Elem()
}
-func (o SecurityRuleResponseOutput) ToSecurityRuleResponseOutput() SecurityRuleResponseOutput {
+func (o StaticRouteResponseArrayOutput) ToStaticRouteResponseArrayOutput() StaticRouteResponseArrayOutput {
return o
}
-func (o SecurityRuleResponseOutput) ToSecurityRuleResponseOutputWithContext(ctx context.Context) SecurityRuleResponseOutput {
+func (o StaticRouteResponseArrayOutput) ToStaticRouteResponseArrayOutputWithContext(ctx context.Context) StaticRouteResponseArrayOutput {
return o
}
-// The network traffic is allowed or denied.
-func (o SecurityRuleResponseOutput) Access() pulumi.StringOutput {
- return o.ApplyT(func(v SecurityRuleResponse) string { return v.Access }).(pulumi.StringOutput)
+func (o StaticRouteResponseArrayOutput) Index(i pulumi.IntInput) StaticRouteResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) StaticRouteResponse {
+ return vs[0].([]StaticRouteResponse)[vs[1].(int)]
+ }).(StaticRouteResponseOutput)
}
-// A description for this rule. Restricted to 140 chars.
-func (o SecurityRuleResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfig struct {
+ // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+ PropagateStaticRoutes *bool `pulumi:"propagateStaticRoutes"`
+ // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+ VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
}
-// The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
-func (o SecurityRuleResponseOutput) DestinationAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponse) *string { return v.DestinationAddressPrefix }).(pulumi.StringPtrOutput)
+// StaticRoutesConfigInput is an input type that accepts StaticRoutesConfigArgs and StaticRoutesConfigOutput values.
+// You can construct a concrete instance of `StaticRoutesConfigInput` via:
+//
+// StaticRoutesConfigArgs{...}
+type StaticRoutesConfigInput interface {
+ pulumi.Input
+
+ ToStaticRoutesConfigOutput() StaticRoutesConfigOutput
+ ToStaticRoutesConfigOutputWithContext(context.Context) StaticRoutesConfigOutput
}
-// The destination address prefixes. CIDR or destination IP ranges.
-func (o SecurityRuleResponseOutput) DestinationAddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SecurityRuleResponse) []string { return v.DestinationAddressPrefixes }).(pulumi.StringArrayOutput)
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigArgs struct {
+ // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+ PropagateStaticRoutes pulumi.BoolPtrInput `pulumi:"propagateStaticRoutes"`
+ // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+ VnetLocalRouteOverrideCriteria pulumi.StringPtrInput `pulumi:"vnetLocalRouteOverrideCriteria"`
}
-// The application security group specified as destination.
-func (o SecurityRuleResponseOutput) DestinationApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
- return o.ApplyT(func(v SecurityRuleResponse) []ApplicationSecurityGroupResponse {
- return v.DestinationApplicationSecurityGroups
- }).(ApplicationSecurityGroupResponseArrayOutput)
+func (StaticRoutesConfigArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticRoutesConfig)(nil)).Elem()
}
-// The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
-func (o SecurityRuleResponseOutput) DestinationPortRange() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponse) *string { return v.DestinationPortRange }).(pulumi.StringPtrOutput)
+func (i StaticRoutesConfigArgs) ToStaticRoutesConfigOutput() StaticRoutesConfigOutput {
+ return i.ToStaticRoutesConfigOutputWithContext(context.Background())
}
-// The destination port ranges.
-func (o SecurityRuleResponseOutput) DestinationPortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SecurityRuleResponse) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
+func (i StaticRoutesConfigArgs) ToStaticRoutesConfigOutputWithContext(ctx context.Context) StaticRoutesConfigOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(StaticRoutesConfigOutput)
}
-// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
-func (o SecurityRuleResponseOutput) Direction() pulumi.StringOutput {
- return o.ApplyT(func(v SecurityRuleResponse) string { return v.Direction }).(pulumi.StringOutput)
+func (i StaticRoutesConfigArgs) ToStaticRoutesConfigPtrOutput() StaticRoutesConfigPtrOutput {
+ return i.ToStaticRoutesConfigPtrOutputWithContext(context.Background())
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o SecurityRuleResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v SecurityRuleResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (i StaticRoutesConfigArgs) ToStaticRoutesConfigPtrOutputWithContext(ctx context.Context) StaticRoutesConfigPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(StaticRoutesConfigOutput).ToStaticRoutesConfigPtrOutputWithContext(ctx)
}
-// Resource ID.
-func (o SecurityRuleResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// StaticRoutesConfigPtrInput is an input type that accepts StaticRoutesConfigArgs, StaticRoutesConfigPtr and StaticRoutesConfigPtrOutput values.
+// You can construct a concrete instance of `StaticRoutesConfigPtrInput` via:
+//
+// StaticRoutesConfigArgs{...}
+//
+// or:
+//
+// nil
+type StaticRoutesConfigPtrInput interface {
+ pulumi.Input
+
+ ToStaticRoutesConfigPtrOutput() StaticRoutesConfigPtrOutput
+ ToStaticRoutesConfigPtrOutputWithContext(context.Context) StaticRoutesConfigPtrOutput
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o SecurityRuleResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+type staticRoutesConfigPtrType StaticRoutesConfigArgs
+
+func StaticRoutesConfigPtr(v *StaticRoutesConfigArgs) StaticRoutesConfigPtrInput {
+ return (*staticRoutesConfigPtrType)(v)
}
-// The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
-func (o SecurityRuleResponseOutput) Priority() pulumi.IntOutput {
- return o.ApplyT(func(v SecurityRuleResponse) int { return v.Priority }).(pulumi.IntOutput)
+func (*staticRoutesConfigPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**StaticRoutesConfig)(nil)).Elem()
}
-// Network protocol this rule applies to.
-func (o SecurityRuleResponseOutput) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v SecurityRuleResponse) string { return v.Protocol }).(pulumi.StringOutput)
+func (i *staticRoutesConfigPtrType) ToStaticRoutesConfigPtrOutput() StaticRoutesConfigPtrOutput {
+ return i.ToStaticRoutesConfigPtrOutputWithContext(context.Background())
}
-// The provisioning state of the security rule resource.
-func (o SecurityRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v SecurityRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (i *staticRoutesConfigPtrType) ToStaticRoutesConfigPtrOutputWithContext(ctx context.Context) StaticRoutesConfigPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(StaticRoutesConfigPtrOutput)
}
-// The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
-func (o SecurityRuleResponseOutput) SourceAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponse) *string { return v.SourceAddressPrefix }).(pulumi.StringPtrOutput)
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigOutput struct{ *pulumi.OutputState }
+
+func (StaticRoutesConfigOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticRoutesConfig)(nil)).Elem()
}
-// The CIDR or source IP ranges.
-func (o SecurityRuleResponseOutput) SourceAddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SecurityRuleResponse) []string { return v.SourceAddressPrefixes }).(pulumi.StringArrayOutput)
+func (o StaticRoutesConfigOutput) ToStaticRoutesConfigOutput() StaticRoutesConfigOutput {
+ return o
}
-// The application security group specified as source.
-func (o SecurityRuleResponseOutput) SourceApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
- return o.ApplyT(func(v SecurityRuleResponse) []ApplicationSecurityGroupResponse {
- return v.SourceApplicationSecurityGroups
- }).(ApplicationSecurityGroupResponseArrayOutput)
+func (o StaticRoutesConfigOutput) ToStaticRoutesConfigOutputWithContext(ctx context.Context) StaticRoutesConfigOutput {
+ return o
}
-// The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
-func (o SecurityRuleResponseOutput) SourcePortRange() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponse) *string { return v.SourcePortRange }).(pulumi.StringPtrOutput)
+func (o StaticRoutesConfigOutput) ToStaticRoutesConfigPtrOutput() StaticRoutesConfigPtrOutput {
+ return o.ToStaticRoutesConfigPtrOutputWithContext(context.Background())
}
-// The source port ranges.
-func (o SecurityRuleResponseOutput) SourcePortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SecurityRuleResponse) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
+func (o StaticRoutesConfigOutput) ToStaticRoutesConfigPtrOutputWithContext(ctx context.Context) StaticRoutesConfigPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v StaticRoutesConfig) *StaticRoutesConfig {
+ return &v
+ }).(StaticRoutesConfigPtrOutput)
}
-// The type of the resource.
-func (o SecurityRuleResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v StaticRoutesConfig) *bool { return v.PropagateStaticRoutes }).(pulumi.BoolPtrOutput)
}
-type SecurityRuleResponseArrayOutput struct{ *pulumi.OutputState }
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticRoutesConfig) *string { return v.VnetLocalRouteOverrideCriteria }).(pulumi.StringPtrOutput)
+}
-func (SecurityRuleResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SecurityRuleResponse)(nil)).Elem()
+type StaticRoutesConfigPtrOutput struct{ *pulumi.OutputState }
+
+func (StaticRoutesConfigPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**StaticRoutesConfig)(nil)).Elem()
}
-func (o SecurityRuleResponseArrayOutput) ToSecurityRuleResponseArrayOutput() SecurityRuleResponseArrayOutput {
+func (o StaticRoutesConfigPtrOutput) ToStaticRoutesConfigPtrOutput() StaticRoutesConfigPtrOutput {
return o
}
-func (o SecurityRuleResponseArrayOutput) ToSecurityRuleResponseArrayOutputWithContext(ctx context.Context) SecurityRuleResponseArrayOutput {
+func (o StaticRoutesConfigPtrOutput) ToStaticRoutesConfigPtrOutputWithContext(ctx context.Context) StaticRoutesConfigPtrOutput {
return o
}
-func (o SecurityRuleResponseArrayOutput) Index(i pulumi.IntInput) SecurityRuleResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityRuleResponse {
- return vs[0].([]SecurityRuleResponse)[vs[1].(int)]
- }).(SecurityRuleResponseOutput)
+func (o StaticRoutesConfigPtrOutput) Elem() StaticRoutesConfigOutput {
+ return o.ApplyT(func(v *StaticRoutesConfig) StaticRoutesConfig {
+ if v != nil {
+ return *v
+ }
+ var ret StaticRoutesConfig
+ return ret
+ }).(StaticRoutesConfigOutput)
}
-// Network security rule.
-type SecurityRuleResponseV1 struct {
- // The network traffic is allowed or denied.
- Access string `pulumi:"access"`
- // A description for this rule. Restricted to 140 chars.
- Description *string `pulumi:"description"`
- // The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
- DestinationAddressPrefix *string `pulumi:"destinationAddressPrefix"`
- // The destination address prefixes. CIDR or destination IP ranges.
- DestinationAddressPrefixes []string `pulumi:"destinationAddressPrefixes"`
- // The application security group specified as destination.
- DestinationApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"destinationApplicationSecurityGroups"`
- // The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- DestinationPortRange *string `pulumi:"destinationPortRange"`
- // The destination port ranges.
- DestinationPortRanges []string `pulumi:"destinationPortRanges"`
- // The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
- Direction string `pulumi:"direction"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Priority *int `pulumi:"priority"`
- // Network protocol this rule applies to. Possible values are 'Tcp', 'Udp', 'Icmp', 'Esp', and '*'.
- Protocol string `pulumi:"protocol"`
- // The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState *string `pulumi:"provisioningState"`
- // The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
- SourceAddressPrefix *string `pulumi:"sourceAddressPrefix"`
- // The CIDR or source IP ranges.
- SourceAddressPrefixes []string `pulumi:"sourceAddressPrefixes"`
- // The application security group specified as source.
- SourceApplicationSecurityGroups []ApplicationSecurityGroupResponse `pulumi:"sourceApplicationSecurityGroups"`
- // The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
- SourcePortRange *string `pulumi:"sourcePortRange"`
- // The source port ranges.
- SourcePortRanges []string `pulumi:"sourcePortRanges"`
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigPtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfig) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.PropagateStaticRoutes
+ }).(pulumi.BoolPtrOutput)
}
-// Network security rule.
-type SecurityRuleResponseV1Output struct{ *pulumi.OutputState }
-
-func (SecurityRuleResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*SecurityRuleResponseV1)(nil)).Elem()
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigPtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfig) *string {
+ if v == nil {
+ return nil
+ }
+ return v.VnetLocalRouteOverrideCriteria
+ }).(pulumi.StringPtrOutput)
}
-func (o SecurityRuleResponseV1Output) ToSecurityRuleResponseV1Output() SecurityRuleResponseV1Output {
- return o
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigExpressRouteConnectionResponse struct {
+ // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+ PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
+ // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+ VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
}
-func (o SecurityRuleResponseV1Output) ToSecurityRuleResponseV1OutputWithContext(ctx context.Context) SecurityRuleResponseV1Output {
- return o
-}
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigExpressRouteConnectionResponseOutput struct{ *pulumi.OutputState }
-// The network traffic is allowed or denied.
-func (o SecurityRuleResponseV1Output) Access() pulumi.StringOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) string { return v.Access }).(pulumi.StringOutput)
+func (StaticRoutesConfigExpressRouteConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticRoutesConfigExpressRouteConnectionResponse)(nil)).Elem()
}
-// A description for this rule. Restricted to 140 chars.
-func (o SecurityRuleResponseV1Output) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o StaticRoutesConfigExpressRouteConnectionResponseOutput) ToStaticRoutesConfigExpressRouteConnectionResponseOutput() StaticRoutesConfigExpressRouteConnectionResponseOutput {
+ return o
}
-// The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
-func (o SecurityRuleResponseV1Output) DestinationAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) *string { return v.DestinationAddressPrefix }).(pulumi.StringPtrOutput)
+func (o StaticRoutesConfigExpressRouteConnectionResponseOutput) ToStaticRoutesConfigExpressRouteConnectionResponseOutputWithContext(ctx context.Context) StaticRoutesConfigExpressRouteConnectionResponseOutput {
+ return o
}
-// The destination address prefixes. CIDR or destination IP ranges.
-func (o SecurityRuleResponseV1Output) DestinationAddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) []string { return v.DestinationAddressPrefixes }).(pulumi.StringArrayOutput)
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigExpressRouteConnectionResponseOutput) PropagateStaticRoutes() pulumi.BoolOutput {
+ return o.ApplyT(func(v StaticRoutesConfigExpressRouteConnectionResponse) bool { return v.PropagateStaticRoutes }).(pulumi.BoolOutput)
}
-// The application security group specified as destination.
-func (o SecurityRuleResponseV1Output) DestinationApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) []ApplicationSecurityGroupResponse {
- return v.DestinationApplicationSecurityGroups
- }).(ApplicationSecurityGroupResponseArrayOutput)
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigExpressRouteConnectionResponseOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticRoutesConfigExpressRouteConnectionResponse) *string {
+ return v.VnetLocalRouteOverrideCriteria
+ }).(pulumi.StringPtrOutput)
}
-// The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
-func (o SecurityRuleResponseV1Output) DestinationPortRange() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) *string { return v.DestinationPortRange }).(pulumi.StringPtrOutput)
-}
+type StaticRoutesConfigExpressRouteConnectionResponsePtrOutput struct{ *pulumi.OutputState }
-// The destination port ranges.
-func (o SecurityRuleResponseV1Output) DestinationPortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) []string { return v.DestinationPortRanges }).(pulumi.StringArrayOutput)
+func (StaticRoutesConfigExpressRouteConnectionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**StaticRoutesConfigExpressRouteConnectionResponse)(nil)).Elem()
}
-// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
-func (o SecurityRuleResponseV1Output) Direction() pulumi.StringOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) string { return v.Direction }).(pulumi.StringOutput)
+func (o StaticRoutesConfigExpressRouteConnectionResponsePtrOutput) ToStaticRoutesConfigExpressRouteConnectionResponsePtrOutput() StaticRoutesConfigExpressRouteConnectionResponsePtrOutput {
+ return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o SecurityRuleResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (o StaticRoutesConfigExpressRouteConnectionResponsePtrOutput) ToStaticRoutesConfigExpressRouteConnectionResponsePtrOutputWithContext(ctx context.Context) StaticRoutesConfigExpressRouteConnectionResponsePtrOutput {
+ return o
}
-// Resource ID.
-func (o SecurityRuleResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o StaticRoutesConfigExpressRouteConnectionResponsePtrOutput) Elem() StaticRoutesConfigExpressRouteConnectionResponseOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigExpressRouteConnectionResponse) StaticRoutesConfigExpressRouteConnectionResponse {
+ if v != nil {
+ return *v
+ }
+ var ret StaticRoutesConfigExpressRouteConnectionResponse
+ return ret
+ }).(StaticRoutesConfigExpressRouteConnectionResponseOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o SecurityRuleResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigExpressRouteConnectionResponsePtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigExpressRouteConnectionResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return &v.PropagateStaticRoutes
+ }).(pulumi.BoolPtrOutput)
}
-// The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
-func (o SecurityRuleResponseV1Output) Priority() pulumi.IntPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) *int { return v.Priority }).(pulumi.IntPtrOutput)
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigExpressRouteConnectionResponsePtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigExpressRouteConnectionResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.VnetLocalRouteOverrideCriteria
+ }).(pulumi.StringPtrOutput)
}
-// Network protocol this rule applies to. Possible values are 'Tcp', 'Udp', 'Icmp', 'Esp', and '*'.
-func (o SecurityRuleResponseV1Output) Protocol() pulumi.StringOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) string { return v.Protocol }).(pulumi.StringOutput)
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigExpressRouteGatewayResponse struct {
+ // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+ PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
+ // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+ VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
}
-// The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o SecurityRuleResponseV1Output) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
-}
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigExpressRouteGatewayResponseOutput struct{ *pulumi.OutputState }
-// The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
-func (o SecurityRuleResponseV1Output) SourceAddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) *string { return v.SourceAddressPrefix }).(pulumi.StringPtrOutput)
+func (StaticRoutesConfigExpressRouteGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticRoutesConfigExpressRouteGatewayResponse)(nil)).Elem()
}
-// The CIDR or source IP ranges.
-func (o SecurityRuleResponseV1Output) SourceAddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) []string { return v.SourceAddressPrefixes }).(pulumi.StringArrayOutput)
+func (o StaticRoutesConfigExpressRouteGatewayResponseOutput) ToStaticRoutesConfigExpressRouteGatewayResponseOutput() StaticRoutesConfigExpressRouteGatewayResponseOutput {
+ return o
}
-// The application security group specified as source.
-func (o SecurityRuleResponseV1Output) SourceApplicationSecurityGroups() ApplicationSecurityGroupResponseArrayOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) []ApplicationSecurityGroupResponse {
- return v.SourceApplicationSecurityGroups
- }).(ApplicationSecurityGroupResponseArrayOutput)
+func (o StaticRoutesConfigExpressRouteGatewayResponseOutput) ToStaticRoutesConfigExpressRouteGatewayResponseOutputWithContext(ctx context.Context) StaticRoutesConfigExpressRouteGatewayResponseOutput {
+ return o
}
-// The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
-func (o SecurityRuleResponseV1Output) SourcePortRange() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) *string { return v.SourcePortRange }).(pulumi.StringPtrOutput)
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigExpressRouteGatewayResponseOutput) PropagateStaticRoutes() pulumi.BoolOutput {
+ return o.ApplyT(func(v StaticRoutesConfigExpressRouteGatewayResponse) bool { return v.PropagateStaticRoutes }).(pulumi.BoolOutput)
}
-// The source port ranges.
-func (o SecurityRuleResponseV1Output) SourcePortRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SecurityRuleResponseV1) []string { return v.SourcePortRanges }).(pulumi.StringArrayOutput)
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigExpressRouteGatewayResponseOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticRoutesConfigExpressRouteGatewayResponse) *string { return v.VnetLocalRouteOverrideCriteria }).(pulumi.StringPtrOutput)
}
-type SecurityRuleResponseV1ArrayOutput struct{ *pulumi.OutputState }
+type StaticRoutesConfigExpressRouteGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-func (SecurityRuleResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SecurityRuleResponseV1)(nil)).Elem()
+func (StaticRoutesConfigExpressRouteGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**StaticRoutesConfigExpressRouteGatewayResponse)(nil)).Elem()
}
-func (o SecurityRuleResponseV1ArrayOutput) ToSecurityRuleResponseV1ArrayOutput() SecurityRuleResponseV1ArrayOutput {
+func (o StaticRoutesConfigExpressRouteGatewayResponsePtrOutput) ToStaticRoutesConfigExpressRouteGatewayResponsePtrOutput() StaticRoutesConfigExpressRouteGatewayResponsePtrOutput {
return o
}
-func (o SecurityRuleResponseV1ArrayOutput) ToSecurityRuleResponseV1ArrayOutputWithContext(ctx context.Context) SecurityRuleResponseV1ArrayOutput {
+func (o StaticRoutesConfigExpressRouteGatewayResponsePtrOutput) ToStaticRoutesConfigExpressRouteGatewayResponsePtrOutputWithContext(ctx context.Context) StaticRoutesConfigExpressRouteGatewayResponsePtrOutput {
return o
}
-func (o SecurityRuleResponseV1ArrayOutput) Index(i pulumi.IntInput) SecurityRuleResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityRuleResponseV1 {
- return vs[0].([]SecurityRuleResponseV1)[vs[1].(int)]
- }).(SecurityRuleResponseV1Output)
-}
-
-// Network manager security user group item.
-type SecurityUserGroupItem struct {
- // Network manager group Id.
- NetworkGroupId string `pulumi:"networkGroupId"`
+func (o StaticRoutesConfigExpressRouteGatewayResponsePtrOutput) Elem() StaticRoutesConfigExpressRouteGatewayResponseOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigExpressRouteGatewayResponse) StaticRoutesConfigExpressRouteGatewayResponse {
+ if v != nil {
+ return *v
+ }
+ var ret StaticRoutesConfigExpressRouteGatewayResponse
+ return ret
+ }).(StaticRoutesConfigExpressRouteGatewayResponseOutput)
}
-// SecurityUserGroupItemInput is an input type that accepts SecurityUserGroupItemArgs and SecurityUserGroupItemOutput values.
-// You can construct a concrete instance of `SecurityUserGroupItemInput` via:
-//
-// SecurityUserGroupItemArgs{...}
-type SecurityUserGroupItemInput interface {
- pulumi.Input
-
- ToSecurityUserGroupItemOutput() SecurityUserGroupItemOutput
- ToSecurityUserGroupItemOutputWithContext(context.Context) SecurityUserGroupItemOutput
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigExpressRouteGatewayResponsePtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigExpressRouteGatewayResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return &v.PropagateStaticRoutes
+ }).(pulumi.BoolPtrOutput)
}
-// Network manager security user group item.
-type SecurityUserGroupItemArgs struct {
- // Network manager group Id.
- NetworkGroupId pulumi.StringInput `pulumi:"networkGroupId"`
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigExpressRouteGatewayResponsePtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigExpressRouteGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.VnetLocalRouteOverrideCriteria
+ }).(pulumi.StringPtrOutput)
}
-func (SecurityUserGroupItemArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*SecurityUserGroupItem)(nil)).Elem()
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigHubVirtualNetworkConnectionResponse struct {
+ // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+ PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
+ // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+ VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
}
-func (i SecurityUserGroupItemArgs) ToSecurityUserGroupItemOutput() SecurityUserGroupItemOutput {
- return i.ToSecurityUserGroupItemOutputWithContext(context.Background())
-}
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigHubVirtualNetworkConnectionResponseOutput struct{ *pulumi.OutputState }
-func (i SecurityUserGroupItemArgs) ToSecurityUserGroupItemOutputWithContext(ctx context.Context) SecurityUserGroupItemOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SecurityUserGroupItemOutput)
+func (StaticRoutesConfigHubVirtualNetworkConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticRoutesConfigHubVirtualNetworkConnectionResponse)(nil)).Elem()
}
-// SecurityUserGroupItemArrayInput is an input type that accepts SecurityUserGroupItemArray and SecurityUserGroupItemArrayOutput values.
-// You can construct a concrete instance of `SecurityUserGroupItemArrayInput` via:
-//
-// SecurityUserGroupItemArray{ SecurityUserGroupItemArgs{...} }
-type SecurityUserGroupItemArrayInput interface {
- pulumi.Input
-
- ToSecurityUserGroupItemArrayOutput() SecurityUserGroupItemArrayOutput
- ToSecurityUserGroupItemArrayOutputWithContext(context.Context) SecurityUserGroupItemArrayOutput
+func (o StaticRoutesConfigHubVirtualNetworkConnectionResponseOutput) ToStaticRoutesConfigHubVirtualNetworkConnectionResponseOutput() StaticRoutesConfigHubVirtualNetworkConnectionResponseOutput {
+ return o
}
-type SecurityUserGroupItemArray []SecurityUserGroupItemInput
-
-func (SecurityUserGroupItemArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SecurityUserGroupItem)(nil)).Elem()
+func (o StaticRoutesConfigHubVirtualNetworkConnectionResponseOutput) ToStaticRoutesConfigHubVirtualNetworkConnectionResponseOutputWithContext(ctx context.Context) StaticRoutesConfigHubVirtualNetworkConnectionResponseOutput {
+ return o
}
-func (i SecurityUserGroupItemArray) ToSecurityUserGroupItemArrayOutput() SecurityUserGroupItemArrayOutput {
- return i.ToSecurityUserGroupItemArrayOutputWithContext(context.Background())
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigHubVirtualNetworkConnectionResponseOutput) PropagateStaticRoutes() pulumi.BoolOutput {
+ return o.ApplyT(func(v StaticRoutesConfigHubVirtualNetworkConnectionResponse) bool { return v.PropagateStaticRoutes }).(pulumi.BoolOutput)
}
-func (i SecurityUserGroupItemArray) ToSecurityUserGroupItemArrayOutputWithContext(ctx context.Context) SecurityUserGroupItemArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SecurityUserGroupItemArrayOutput)
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigHubVirtualNetworkConnectionResponseOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticRoutesConfigHubVirtualNetworkConnectionResponse) *string {
+ return v.VnetLocalRouteOverrideCriteria
+ }).(pulumi.StringPtrOutput)
}
-// Network manager security user group item.
-type SecurityUserGroupItemOutput struct{ *pulumi.OutputState }
+type StaticRoutesConfigHubVirtualNetworkConnectionResponsePtrOutput struct{ *pulumi.OutputState }
-func (SecurityUserGroupItemOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SecurityUserGroupItem)(nil)).Elem()
+func (StaticRoutesConfigHubVirtualNetworkConnectionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**StaticRoutesConfigHubVirtualNetworkConnectionResponse)(nil)).Elem()
}
-func (o SecurityUserGroupItemOutput) ToSecurityUserGroupItemOutput() SecurityUserGroupItemOutput {
+func (o StaticRoutesConfigHubVirtualNetworkConnectionResponsePtrOutput) ToStaticRoutesConfigHubVirtualNetworkConnectionResponsePtrOutput() StaticRoutesConfigHubVirtualNetworkConnectionResponsePtrOutput {
return o
}
-func (o SecurityUserGroupItemOutput) ToSecurityUserGroupItemOutputWithContext(ctx context.Context) SecurityUserGroupItemOutput {
+func (o StaticRoutesConfigHubVirtualNetworkConnectionResponsePtrOutput) ToStaticRoutesConfigHubVirtualNetworkConnectionResponsePtrOutputWithContext(ctx context.Context) StaticRoutesConfigHubVirtualNetworkConnectionResponsePtrOutput {
return o
}
-// Network manager group Id.
-func (o SecurityUserGroupItemOutput) NetworkGroupId() pulumi.StringOutput {
- return o.ApplyT(func(v SecurityUserGroupItem) string { return v.NetworkGroupId }).(pulumi.StringOutput)
+func (o StaticRoutesConfigHubVirtualNetworkConnectionResponsePtrOutput) Elem() StaticRoutesConfigHubVirtualNetworkConnectionResponseOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigHubVirtualNetworkConnectionResponse) StaticRoutesConfigHubVirtualNetworkConnectionResponse {
+ if v != nil {
+ return *v
+ }
+ var ret StaticRoutesConfigHubVirtualNetworkConnectionResponse
+ return ret
+ }).(StaticRoutesConfigHubVirtualNetworkConnectionResponseOutput)
}
-type SecurityUserGroupItemArrayOutput struct{ *pulumi.OutputState }
-
-func (SecurityUserGroupItemArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SecurityUserGroupItem)(nil)).Elem()
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigHubVirtualNetworkConnectionResponsePtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigHubVirtualNetworkConnectionResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return &v.PropagateStaticRoutes
+ }).(pulumi.BoolPtrOutput)
}
-func (o SecurityUserGroupItemArrayOutput) ToSecurityUserGroupItemArrayOutput() SecurityUserGroupItemArrayOutput {
- return o
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigHubVirtualNetworkConnectionResponsePtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigHubVirtualNetworkConnectionResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.VnetLocalRouteOverrideCriteria
+ }).(pulumi.StringPtrOutput)
}
-func (o SecurityUserGroupItemArrayOutput) ToSecurityUserGroupItemArrayOutputWithContext(ctx context.Context) SecurityUserGroupItemArrayOutput {
- return o
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigNetworkVirtualApplianceConnectionResponse struct {
+ // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+ PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
+ // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+ VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
}
-func (o SecurityUserGroupItemArrayOutput) Index(i pulumi.IntInput) SecurityUserGroupItemOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityUserGroupItem {
- return vs[0].([]SecurityUserGroupItem)[vs[1].(int)]
- }).(SecurityUserGroupItemOutput)
-}
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigNetworkVirtualApplianceConnectionResponseOutput struct{ *pulumi.OutputState }
-// Network manager security user group item.
-type SecurityUserGroupItemResponse struct {
- // Network manager group Id.
- NetworkGroupId string `pulumi:"networkGroupId"`
+func (StaticRoutesConfigNetworkVirtualApplianceConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticRoutesConfigNetworkVirtualApplianceConnectionResponse)(nil)).Elem()
}
-// Network manager security user group item.
-type SecurityUserGroupItemResponseOutput struct{ *pulumi.OutputState }
-
-func (SecurityUserGroupItemResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SecurityUserGroupItemResponse)(nil)).Elem()
+func (o StaticRoutesConfigNetworkVirtualApplianceConnectionResponseOutput) ToStaticRoutesConfigNetworkVirtualApplianceConnectionResponseOutput() StaticRoutesConfigNetworkVirtualApplianceConnectionResponseOutput {
+ return o
}
-func (o SecurityUserGroupItemResponseOutput) ToSecurityUserGroupItemResponseOutput() SecurityUserGroupItemResponseOutput {
+func (o StaticRoutesConfigNetworkVirtualApplianceConnectionResponseOutput) ToStaticRoutesConfigNetworkVirtualApplianceConnectionResponseOutputWithContext(ctx context.Context) StaticRoutesConfigNetworkVirtualApplianceConnectionResponseOutput {
return o
}
-func (o SecurityUserGroupItemResponseOutput) ToSecurityUserGroupItemResponseOutputWithContext(ctx context.Context) SecurityUserGroupItemResponseOutput {
- return o
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigNetworkVirtualApplianceConnectionResponseOutput) PropagateStaticRoutes() pulumi.BoolOutput {
+ return o.ApplyT(func(v StaticRoutesConfigNetworkVirtualApplianceConnectionResponse) bool {
+ return v.PropagateStaticRoutes
+ }).(pulumi.BoolOutput)
}
-// Network manager group Id.
-func (o SecurityUserGroupItemResponseOutput) NetworkGroupId() pulumi.StringOutput {
- return o.ApplyT(func(v SecurityUserGroupItemResponse) string { return v.NetworkGroupId }).(pulumi.StringOutput)
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigNetworkVirtualApplianceConnectionResponseOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticRoutesConfigNetworkVirtualApplianceConnectionResponse) *string {
+ return v.VnetLocalRouteOverrideCriteria
+ }).(pulumi.StringPtrOutput)
}
-type SecurityUserGroupItemResponseArrayOutput struct{ *pulumi.OutputState }
+type StaticRoutesConfigNetworkVirtualApplianceConnectionResponsePtrOutput struct{ *pulumi.OutputState }
-func (SecurityUserGroupItemResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SecurityUserGroupItemResponse)(nil)).Elem()
+func (StaticRoutesConfigNetworkVirtualApplianceConnectionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**StaticRoutesConfigNetworkVirtualApplianceConnectionResponse)(nil)).Elem()
}
-func (o SecurityUserGroupItemResponseArrayOutput) ToSecurityUserGroupItemResponseArrayOutput() SecurityUserGroupItemResponseArrayOutput {
+func (o StaticRoutesConfigNetworkVirtualApplianceConnectionResponsePtrOutput) ToStaticRoutesConfigNetworkVirtualApplianceConnectionResponsePtrOutput() StaticRoutesConfigNetworkVirtualApplianceConnectionResponsePtrOutput {
return o
}
-func (o SecurityUserGroupItemResponseArrayOutput) ToSecurityUserGroupItemResponseArrayOutputWithContext(ctx context.Context) SecurityUserGroupItemResponseArrayOutput {
+func (o StaticRoutesConfigNetworkVirtualApplianceConnectionResponsePtrOutput) ToStaticRoutesConfigNetworkVirtualApplianceConnectionResponsePtrOutputWithContext(ctx context.Context) StaticRoutesConfigNetworkVirtualApplianceConnectionResponsePtrOutput {
return o
}
-func (o SecurityUserGroupItemResponseArrayOutput) Index(i pulumi.IntInput) SecurityUserGroupItemResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityUserGroupItemResponse {
- return vs[0].([]SecurityUserGroupItemResponse)[vs[1].(int)]
- }).(SecurityUserGroupItemResponseOutput)
-}
-
-// ServiceAssociationLink resource.
-type ServiceAssociationLink struct {
- // Resource ID.
- Id *string `pulumi:"id"`
- // Link to the external resource.
- Link *string `pulumi:"link"`
- // Resource type of the linked resource.
- LinkedResourceType *string `pulumi:"linkedResourceType"`
- // Name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
+func (o StaticRoutesConfigNetworkVirtualApplianceConnectionResponsePtrOutput) Elem() StaticRoutesConfigNetworkVirtualApplianceConnectionResponseOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigNetworkVirtualApplianceConnectionResponse) StaticRoutesConfigNetworkVirtualApplianceConnectionResponse {
+ if v != nil {
+ return *v
+ }
+ var ret StaticRoutesConfigNetworkVirtualApplianceConnectionResponse
+ return ret
+ }).(StaticRoutesConfigNetworkVirtualApplianceConnectionResponseOutput)
}
-// ServiceAssociationLinkInput is an input type that accepts ServiceAssociationLinkArgs and ServiceAssociationLinkOutput values.
-// You can construct a concrete instance of `ServiceAssociationLinkInput` via:
-//
-// ServiceAssociationLinkArgs{...}
-type ServiceAssociationLinkInput interface {
- pulumi.Input
-
- ToServiceAssociationLinkOutput() ServiceAssociationLinkOutput
- ToServiceAssociationLinkOutputWithContext(context.Context) ServiceAssociationLinkOutput
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigNetworkVirtualApplianceConnectionResponsePtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigNetworkVirtualApplianceConnectionResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return &v.PropagateStaticRoutes
+ }).(pulumi.BoolPtrOutput)
}
-// ServiceAssociationLink resource.
-type ServiceAssociationLinkArgs struct {
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Link to the external resource.
- Link pulumi.StringPtrInput `pulumi:"link"`
- // Resource type of the linked resource.
- LinkedResourceType pulumi.StringPtrInput `pulumi:"linkedResourceType"`
- // Name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigNetworkVirtualApplianceConnectionResponsePtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigNetworkVirtualApplianceConnectionResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.VnetLocalRouteOverrideCriteria
+ }).(pulumi.StringPtrOutput)
}
-func (ServiceAssociationLinkArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceAssociationLink)(nil)).Elem()
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigP2sVpnGatewayResponse struct {
+ // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+ PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
+ // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+ VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
}
-func (i ServiceAssociationLinkArgs) ToServiceAssociationLinkOutput() ServiceAssociationLinkOutput {
- return i.ToServiceAssociationLinkOutputWithContext(context.Background())
-}
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigP2sVpnGatewayResponseOutput struct{ *pulumi.OutputState }
-func (i ServiceAssociationLinkArgs) ToServiceAssociationLinkOutputWithContext(ctx context.Context) ServiceAssociationLinkOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ServiceAssociationLinkOutput)
+func (StaticRoutesConfigP2sVpnGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticRoutesConfigP2sVpnGatewayResponse)(nil)).Elem()
}
-// ServiceAssociationLinkArrayInput is an input type that accepts ServiceAssociationLinkArray and ServiceAssociationLinkArrayOutput values.
-// You can construct a concrete instance of `ServiceAssociationLinkArrayInput` via:
-//
-// ServiceAssociationLinkArray{ ServiceAssociationLinkArgs{...} }
-type ServiceAssociationLinkArrayInput interface {
- pulumi.Input
-
- ToServiceAssociationLinkArrayOutput() ServiceAssociationLinkArrayOutput
- ToServiceAssociationLinkArrayOutputWithContext(context.Context) ServiceAssociationLinkArrayOutput
+func (o StaticRoutesConfigP2sVpnGatewayResponseOutput) ToStaticRoutesConfigP2sVpnGatewayResponseOutput() StaticRoutesConfigP2sVpnGatewayResponseOutput {
+ return o
}
-type ServiceAssociationLinkArray []ServiceAssociationLinkInput
-
-func (ServiceAssociationLinkArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ServiceAssociationLink)(nil)).Elem()
+func (o StaticRoutesConfigP2sVpnGatewayResponseOutput) ToStaticRoutesConfigP2sVpnGatewayResponseOutputWithContext(ctx context.Context) StaticRoutesConfigP2sVpnGatewayResponseOutput {
+ return o
}
-func (i ServiceAssociationLinkArray) ToServiceAssociationLinkArrayOutput() ServiceAssociationLinkArrayOutput {
- return i.ToServiceAssociationLinkArrayOutputWithContext(context.Background())
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigP2sVpnGatewayResponseOutput) PropagateStaticRoutes() pulumi.BoolOutput {
+ return o.ApplyT(func(v StaticRoutesConfigP2sVpnGatewayResponse) bool { return v.PropagateStaticRoutes }).(pulumi.BoolOutput)
}
-func (i ServiceAssociationLinkArray) ToServiceAssociationLinkArrayOutputWithContext(ctx context.Context) ServiceAssociationLinkArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ServiceAssociationLinkArrayOutput)
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigP2sVpnGatewayResponseOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticRoutesConfigP2sVpnGatewayResponse) *string { return v.VnetLocalRouteOverrideCriteria }).(pulumi.StringPtrOutput)
}
-// ServiceAssociationLink resource.
-type ServiceAssociationLinkOutput struct{ *pulumi.OutputState }
+type StaticRoutesConfigP2sVpnGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-func (ServiceAssociationLinkOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceAssociationLink)(nil)).Elem()
+func (StaticRoutesConfigP2sVpnGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**StaticRoutesConfigP2sVpnGatewayResponse)(nil)).Elem()
}
-func (o ServiceAssociationLinkOutput) ToServiceAssociationLinkOutput() ServiceAssociationLinkOutput {
+func (o StaticRoutesConfigP2sVpnGatewayResponsePtrOutput) ToStaticRoutesConfigP2sVpnGatewayResponsePtrOutput() StaticRoutesConfigP2sVpnGatewayResponsePtrOutput {
return o
}
-func (o ServiceAssociationLinkOutput) ToServiceAssociationLinkOutputWithContext(ctx context.Context) ServiceAssociationLinkOutput {
+func (o StaticRoutesConfigP2sVpnGatewayResponsePtrOutput) ToStaticRoutesConfigP2sVpnGatewayResponsePtrOutputWithContext(ctx context.Context) StaticRoutesConfigP2sVpnGatewayResponsePtrOutput {
return o
}
-// Resource ID.
-func (o ServiceAssociationLinkOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceAssociationLink) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o StaticRoutesConfigP2sVpnGatewayResponsePtrOutput) Elem() StaticRoutesConfigP2sVpnGatewayResponseOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigP2sVpnGatewayResponse) StaticRoutesConfigP2sVpnGatewayResponse {
+ if v != nil {
+ return *v
+ }
+ var ret StaticRoutesConfigP2sVpnGatewayResponse
+ return ret
+ }).(StaticRoutesConfigP2sVpnGatewayResponseOutput)
}
-// Link to the external resource.
-func (o ServiceAssociationLinkOutput) Link() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceAssociationLink) *string { return v.Link }).(pulumi.StringPtrOutput)
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigP2sVpnGatewayResponsePtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigP2sVpnGatewayResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return &v.PropagateStaticRoutes
+ }).(pulumi.BoolPtrOutput)
}
-// Resource type of the linked resource.
-func (o ServiceAssociationLinkOutput) LinkedResourceType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceAssociationLink) *string { return v.LinkedResourceType }).(pulumi.StringPtrOutput)
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigP2sVpnGatewayResponsePtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigP2sVpnGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.VnetLocalRouteOverrideCriteria
+ }).(pulumi.StringPtrOutput)
}
-// Name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o ServiceAssociationLinkOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceAssociationLink) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigResponse struct {
+ // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+ PropagateStaticRoutes *bool `pulumi:"propagateStaticRoutes"`
+ // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+ VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
}
-type ServiceAssociationLinkArrayOutput struct{ *pulumi.OutputState }
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigResponseOutput struct{ *pulumi.OutputState }
-func (ServiceAssociationLinkArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ServiceAssociationLink)(nil)).Elem()
+func (StaticRoutesConfigResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticRoutesConfigResponse)(nil)).Elem()
}
-func (o ServiceAssociationLinkArrayOutput) ToServiceAssociationLinkArrayOutput() ServiceAssociationLinkArrayOutput {
+func (o StaticRoutesConfigResponseOutput) ToStaticRoutesConfigResponseOutput() StaticRoutesConfigResponseOutput {
return o
}
-func (o ServiceAssociationLinkArrayOutput) ToServiceAssociationLinkArrayOutputWithContext(ctx context.Context) ServiceAssociationLinkArrayOutput {
+func (o StaticRoutesConfigResponseOutput) ToStaticRoutesConfigResponseOutputWithContext(ctx context.Context) StaticRoutesConfigResponseOutput {
return o
}
-func (o ServiceAssociationLinkArrayOutput) Index(i pulumi.IntInput) ServiceAssociationLinkOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAssociationLink {
- return vs[0].([]ServiceAssociationLink)[vs[1].(int)]
- }).(ServiceAssociationLinkOutput)
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigResponseOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v StaticRoutesConfigResponse) *bool { return v.PropagateStaticRoutes }).(pulumi.BoolPtrOutput)
}
-// ServiceAssociationLink resource.
-type ServiceAssociationLinkResponse struct {
- // If true, the resource can be deleted.
- AllowDelete *bool `pulumi:"allowDelete"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Link to the external resource.
- Link *string `pulumi:"link"`
- // Resource type of the linked resource.
- LinkedResourceType *string `pulumi:"linkedResourceType"`
- // A list of locations.
- Locations []string `pulumi:"locations"`
- // Name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the service association link resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Resource type.
- Type string `pulumi:"type"`
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigResponseOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticRoutesConfigResponse) *string { return v.VnetLocalRouteOverrideCriteria }).(pulumi.StringPtrOutput)
}
-// ServiceAssociationLink resource.
-type ServiceAssociationLinkResponseOutput struct{ *pulumi.OutputState }
+type StaticRoutesConfigResponsePtrOutput struct{ *pulumi.OutputState }
-func (ServiceAssociationLinkResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceAssociationLinkResponse)(nil)).Elem()
+func (StaticRoutesConfigResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**StaticRoutesConfigResponse)(nil)).Elem()
}
-func (o ServiceAssociationLinkResponseOutput) ToServiceAssociationLinkResponseOutput() ServiceAssociationLinkResponseOutput {
+func (o StaticRoutesConfigResponsePtrOutput) ToStaticRoutesConfigResponsePtrOutput() StaticRoutesConfigResponsePtrOutput {
return o
}
-func (o ServiceAssociationLinkResponseOutput) ToServiceAssociationLinkResponseOutputWithContext(ctx context.Context) ServiceAssociationLinkResponseOutput {
+func (o StaticRoutesConfigResponsePtrOutput) ToStaticRoutesConfigResponsePtrOutputWithContext(ctx context.Context) StaticRoutesConfigResponsePtrOutput {
return o
}
-// If true, the resource can be deleted.
-func (o ServiceAssociationLinkResponseOutput) AllowDelete() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v ServiceAssociationLinkResponse) *bool { return v.AllowDelete }).(pulumi.BoolPtrOutput)
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o ServiceAssociationLinkResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceAssociationLinkResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
-
-// Resource ID.
-func (o ServiceAssociationLinkResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceAssociationLinkResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// Link to the external resource.
-func (o ServiceAssociationLinkResponseOutput) Link() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceAssociationLinkResponse) *string { return v.Link }).(pulumi.StringPtrOutput)
-}
-
-// Resource type of the linked resource.
-func (o ServiceAssociationLinkResponseOutput) LinkedResourceType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceAssociationLinkResponse) *string { return v.LinkedResourceType }).(pulumi.StringPtrOutput)
-}
-
-// A list of locations.
-func (o ServiceAssociationLinkResponseOutput) Locations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ServiceAssociationLinkResponse) []string { return v.Locations }).(pulumi.StringArrayOutput)
+func (o StaticRoutesConfigResponsePtrOutput) Elem() StaticRoutesConfigResponseOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigResponse) StaticRoutesConfigResponse {
+ if v != nil {
+ return *v
+ }
+ var ret StaticRoutesConfigResponse
+ return ret
+ }).(StaticRoutesConfigResponseOutput)
}
-// Name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o ServiceAssociationLinkResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceAssociationLinkResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigResponsePtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.PropagateStaticRoutes
+ }).(pulumi.BoolPtrOutput)
}
-// The provisioning state of the service association link resource.
-func (o ServiceAssociationLinkResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceAssociationLinkResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigResponsePtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.VnetLocalRouteOverrideCriteria
+ }).(pulumi.StringPtrOutput)
}
-// Resource type.
-func (o ServiceAssociationLinkResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceAssociationLinkResponse) string { return v.Type }).(pulumi.StringOutput)
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigVpnConnectionResponse struct {
+ // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+ PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
+ // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+ VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
}
-type ServiceAssociationLinkResponseArrayOutput struct{ *pulumi.OutputState }
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigVpnConnectionResponseOutput struct{ *pulumi.OutputState }
-func (ServiceAssociationLinkResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ServiceAssociationLinkResponse)(nil)).Elem()
+func (StaticRoutesConfigVpnConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticRoutesConfigVpnConnectionResponse)(nil)).Elem()
}
-func (o ServiceAssociationLinkResponseArrayOutput) ToServiceAssociationLinkResponseArrayOutput() ServiceAssociationLinkResponseArrayOutput {
+func (o StaticRoutesConfigVpnConnectionResponseOutput) ToStaticRoutesConfigVpnConnectionResponseOutput() StaticRoutesConfigVpnConnectionResponseOutput {
return o
}
-func (o ServiceAssociationLinkResponseArrayOutput) ToServiceAssociationLinkResponseArrayOutputWithContext(ctx context.Context) ServiceAssociationLinkResponseArrayOutput {
+func (o StaticRoutesConfigVpnConnectionResponseOutput) ToStaticRoutesConfigVpnConnectionResponseOutputWithContext(ctx context.Context) StaticRoutesConfigVpnConnectionResponseOutput {
return o
}
-func (o ServiceAssociationLinkResponseArrayOutput) Index(i pulumi.IntInput) ServiceAssociationLinkResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAssociationLinkResponse {
- return vs[0].([]ServiceAssociationLinkResponse)[vs[1].(int)]
- }).(ServiceAssociationLinkResponseOutput)
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigVpnConnectionResponseOutput) PropagateStaticRoutes() pulumi.BoolOutput {
+ return o.ApplyT(func(v StaticRoutesConfigVpnConnectionResponse) bool { return v.PropagateStaticRoutes }).(pulumi.BoolOutput)
}
-// ServiceAssociationLink resource.
-type ServiceAssociationLinkResponseV1 struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Link to the external resource.
- Link *string `pulumi:"link"`
- // Resource type of the linked resource.
- LinkedResourceType *string `pulumi:"linkedResourceType"`
- // Name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // Provisioning state of the ServiceAssociationLink resource.
- ProvisioningState string `pulumi:"provisioningState"`
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigVpnConnectionResponseOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticRoutesConfigVpnConnectionResponse) *string { return v.VnetLocalRouteOverrideCriteria }).(pulumi.StringPtrOutput)
}
-// ServiceAssociationLink resource.
-type ServiceAssociationLinkResponseV1Output struct{ *pulumi.OutputState }
+type StaticRoutesConfigVpnConnectionResponsePtrOutput struct{ *pulumi.OutputState }
-func (ServiceAssociationLinkResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceAssociationLinkResponseV1)(nil)).Elem()
+func (StaticRoutesConfigVpnConnectionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**StaticRoutesConfigVpnConnectionResponse)(nil)).Elem()
}
-func (o ServiceAssociationLinkResponseV1Output) ToServiceAssociationLinkResponseV1Output() ServiceAssociationLinkResponseV1Output {
+func (o StaticRoutesConfigVpnConnectionResponsePtrOutput) ToStaticRoutesConfigVpnConnectionResponsePtrOutput() StaticRoutesConfigVpnConnectionResponsePtrOutput {
return o
}
-func (o ServiceAssociationLinkResponseV1Output) ToServiceAssociationLinkResponseV1OutputWithContext(ctx context.Context) ServiceAssociationLinkResponseV1Output {
+func (o StaticRoutesConfigVpnConnectionResponsePtrOutput) ToStaticRoutesConfigVpnConnectionResponsePtrOutputWithContext(ctx context.Context) StaticRoutesConfigVpnConnectionResponsePtrOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o ServiceAssociationLinkResponseV1Output) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceAssociationLinkResponseV1) string { return v.Etag }).(pulumi.StringOutput)
-}
-
-// Resource ID.
-func (o ServiceAssociationLinkResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceAssociationLinkResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// Link to the external resource.
-func (o ServiceAssociationLinkResponseV1Output) Link() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceAssociationLinkResponseV1) *string { return v.Link }).(pulumi.StringPtrOutput)
+func (o StaticRoutesConfigVpnConnectionResponsePtrOutput) Elem() StaticRoutesConfigVpnConnectionResponseOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigVpnConnectionResponse) StaticRoutesConfigVpnConnectionResponse {
+ if v != nil {
+ return *v
+ }
+ var ret StaticRoutesConfigVpnConnectionResponse
+ return ret
+ }).(StaticRoutesConfigVpnConnectionResponseOutput)
}
-// Resource type of the linked resource.
-func (o ServiceAssociationLinkResponseV1Output) LinkedResourceType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceAssociationLinkResponseV1) *string { return v.LinkedResourceType }).(pulumi.StringPtrOutput)
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigVpnConnectionResponsePtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigVpnConnectionResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return &v.PropagateStaticRoutes
+ }).(pulumi.BoolPtrOutput)
}
-// Name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o ServiceAssociationLinkResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceAssociationLinkResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigVpnConnectionResponsePtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigVpnConnectionResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.VnetLocalRouteOverrideCriteria
+ }).(pulumi.StringPtrOutput)
}
-// Provisioning state of the ServiceAssociationLink resource.
-func (o ServiceAssociationLinkResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceAssociationLinkResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigVpnGatewayResponse struct {
+ // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+ PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
+ // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+ VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
}
-type ServiceAssociationLinkResponseV1ArrayOutput struct{ *pulumi.OutputState }
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigVpnGatewayResponseOutput struct{ *pulumi.OutputState }
-func (ServiceAssociationLinkResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ServiceAssociationLinkResponseV1)(nil)).Elem()
+func (StaticRoutesConfigVpnGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticRoutesConfigVpnGatewayResponse)(nil)).Elem()
}
-func (o ServiceAssociationLinkResponseV1ArrayOutput) ToServiceAssociationLinkResponseV1ArrayOutput() ServiceAssociationLinkResponseV1ArrayOutput {
+func (o StaticRoutesConfigVpnGatewayResponseOutput) ToStaticRoutesConfigVpnGatewayResponseOutput() StaticRoutesConfigVpnGatewayResponseOutput {
return o
}
-func (o ServiceAssociationLinkResponseV1ArrayOutput) ToServiceAssociationLinkResponseV1ArrayOutputWithContext(ctx context.Context) ServiceAssociationLinkResponseV1ArrayOutput {
+func (o StaticRoutesConfigVpnGatewayResponseOutput) ToStaticRoutesConfigVpnGatewayResponseOutputWithContext(ctx context.Context) StaticRoutesConfigVpnGatewayResponseOutput {
return o
}
-func (o ServiceAssociationLinkResponseV1ArrayOutput) Index(i pulumi.IntInput) ServiceAssociationLinkResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAssociationLinkResponseV1 {
- return vs[0].([]ServiceAssociationLinkResponseV1)[vs[1].(int)]
- }).(ServiceAssociationLinkResponseV1Output)
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigVpnGatewayResponseOutput) PropagateStaticRoutes() pulumi.BoolOutput {
+ return o.ApplyT(func(v StaticRoutesConfigVpnGatewayResponse) bool { return v.PropagateStaticRoutes }).(pulumi.BoolOutput)
}
-// Service End point policy resource.
-type ServiceEndpointPolicyType struct {
- // A collection of contextual service endpoint policy.
- ContextualServiceEndpointPolicies []string `pulumi:"contextualServiceEndpointPolicies"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // The alias indicating if the policy belongs to a service
- ServiceAlias *string `pulumi:"serviceAlias"`
- // A collection of service endpoint policy definitions of the service endpoint policy.
- ServiceEndpointPolicyDefinitions []ServiceEndpointPolicyDefinitionType `pulumi:"serviceEndpointPolicyDefinitions"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigVpnGatewayResponseOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticRoutesConfigVpnGatewayResponse) *string { return v.VnetLocalRouteOverrideCriteria }).(pulumi.StringPtrOutput)
}
-// ServiceEndpointPolicyTypeInput is an input type that accepts ServiceEndpointPolicyTypeArgs and ServiceEndpointPolicyTypeOutput values.
-// You can construct a concrete instance of `ServiceEndpointPolicyTypeInput` via:
-//
-// ServiceEndpointPolicyTypeArgs{...}
-type ServiceEndpointPolicyTypeInput interface {
- pulumi.Input
+type StaticRoutesConfigVpnGatewayResponsePtrOutput struct{ *pulumi.OutputState }
- ToServiceEndpointPolicyTypeOutput() ServiceEndpointPolicyTypeOutput
- ToServiceEndpointPolicyTypeOutputWithContext(context.Context) ServiceEndpointPolicyTypeOutput
+func (StaticRoutesConfigVpnGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**StaticRoutesConfigVpnGatewayResponse)(nil)).Elem()
}
-// Service End point policy resource.
-type ServiceEndpointPolicyTypeArgs struct {
- // A collection of contextual service endpoint policy.
- ContextualServiceEndpointPolicies pulumi.StringArrayInput `pulumi:"contextualServiceEndpointPolicies"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag pulumi.StringPtrInput `pulumi:"etag"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Resource location.
- Location pulumi.StringPtrInput `pulumi:"location"`
- // The alias indicating if the policy belongs to a service
- ServiceAlias pulumi.StringPtrInput `pulumi:"serviceAlias"`
- // A collection of service endpoint policy definitions of the service endpoint policy.
- ServiceEndpointPolicyDefinitions ServiceEndpointPolicyDefinitionTypeArrayInput `pulumi:"serviceEndpointPolicyDefinitions"`
- // Resource tags.
- Tags pulumi.StringMapInput `pulumi:"tags"`
+func (o StaticRoutesConfigVpnGatewayResponsePtrOutput) ToStaticRoutesConfigVpnGatewayResponsePtrOutput() StaticRoutesConfigVpnGatewayResponsePtrOutput {
+ return o
}
-func (ServiceEndpointPolicyTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceEndpointPolicyType)(nil)).Elem()
+func (o StaticRoutesConfigVpnGatewayResponsePtrOutput) ToStaticRoutesConfigVpnGatewayResponsePtrOutputWithContext(ctx context.Context) StaticRoutesConfigVpnGatewayResponsePtrOutput {
+ return o
}
-func (i ServiceEndpointPolicyTypeArgs) ToServiceEndpointPolicyTypeOutput() ServiceEndpointPolicyTypeOutput {
- return i.ToServiceEndpointPolicyTypeOutputWithContext(context.Background())
+func (o StaticRoutesConfigVpnGatewayResponsePtrOutput) Elem() StaticRoutesConfigVpnGatewayResponseOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigVpnGatewayResponse) StaticRoutesConfigVpnGatewayResponse {
+ if v != nil {
+ return *v
+ }
+ var ret StaticRoutesConfigVpnGatewayResponse
+ return ret
+ }).(StaticRoutesConfigVpnGatewayResponseOutput)
}
-func (i ServiceEndpointPolicyTypeArgs) ToServiceEndpointPolicyTypeOutputWithContext(ctx context.Context) ServiceEndpointPolicyTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ServiceEndpointPolicyTypeOutput)
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigVpnGatewayResponsePtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigVpnGatewayResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return &v.PropagateStaticRoutes
+ }).(pulumi.BoolPtrOutput)
}
-// ServiceEndpointPolicyTypeArrayInput is an input type that accepts ServiceEndpointPolicyTypeArray and ServiceEndpointPolicyTypeArrayOutput values.
-// You can construct a concrete instance of `ServiceEndpointPolicyTypeArrayInput` via:
-//
-// ServiceEndpointPolicyTypeArray{ ServiceEndpointPolicyTypeArgs{...} }
-type ServiceEndpointPolicyTypeArrayInput interface {
- pulumi.Input
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigVpnGatewayResponsePtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigVpnGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.VnetLocalRouteOverrideCriteria
+ }).(pulumi.StringPtrOutput)
+}
- ToServiceEndpointPolicyTypeArrayOutput() ServiceEndpointPolicyTypeArrayOutput
- ToServiceEndpointPolicyTypeArrayOutputWithContext(context.Context) ServiceEndpointPolicyTypeArrayOutput
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigVpnServerConfigurationResponse struct {
+ // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+ PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
+ // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+ VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
}
-type ServiceEndpointPolicyTypeArray []ServiceEndpointPolicyTypeInput
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfigVpnServerConfigurationResponseOutput struct{ *pulumi.OutputState }
-func (ServiceEndpointPolicyTypeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ServiceEndpointPolicyType)(nil)).Elem()
+func (StaticRoutesConfigVpnServerConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticRoutesConfigVpnServerConfigurationResponse)(nil)).Elem()
}
-func (i ServiceEndpointPolicyTypeArray) ToServiceEndpointPolicyTypeArrayOutput() ServiceEndpointPolicyTypeArrayOutput {
- return i.ToServiceEndpointPolicyTypeArrayOutputWithContext(context.Background())
+func (o StaticRoutesConfigVpnServerConfigurationResponseOutput) ToStaticRoutesConfigVpnServerConfigurationResponseOutput() StaticRoutesConfigVpnServerConfigurationResponseOutput {
+ return o
}
-func (i ServiceEndpointPolicyTypeArray) ToServiceEndpointPolicyTypeArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyTypeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ServiceEndpointPolicyTypeArrayOutput)
+func (o StaticRoutesConfigVpnServerConfigurationResponseOutput) ToStaticRoutesConfigVpnServerConfigurationResponseOutputWithContext(ctx context.Context) StaticRoutesConfigVpnServerConfigurationResponseOutput {
+ return o
}
-// Service End point policy resource.
-type ServiceEndpointPolicyTypeOutput struct{ *pulumi.OutputState }
-
-func (ServiceEndpointPolicyTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceEndpointPolicyType)(nil)).Elem()
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigVpnServerConfigurationResponseOutput) PropagateStaticRoutes() pulumi.BoolOutput {
+ return o.ApplyT(func(v StaticRoutesConfigVpnServerConfigurationResponse) bool { return v.PropagateStaticRoutes }).(pulumi.BoolOutput)
}
-func (o ServiceEndpointPolicyTypeOutput) ToServiceEndpointPolicyTypeOutput() ServiceEndpointPolicyTypeOutput {
- return o
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigVpnServerConfigurationResponseOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticRoutesConfigVpnServerConfigurationResponse) *string {
+ return v.VnetLocalRouteOverrideCriteria
+ }).(pulumi.StringPtrOutput)
}
-func (o ServiceEndpointPolicyTypeOutput) ToServiceEndpointPolicyTypeOutputWithContext(ctx context.Context) ServiceEndpointPolicyTypeOutput {
- return o
-}
+type StaticRoutesConfigVpnServerConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
-// A collection of contextual service endpoint policy.
-func (o ServiceEndpointPolicyTypeOutput) ContextualServiceEndpointPolicies() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyType) []string { return v.ContextualServiceEndpointPolicies }).(pulumi.StringArrayOutput)
+func (StaticRoutesConfigVpnServerConfigurationResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**StaticRoutesConfigVpnServerConfigurationResponse)(nil)).Elem()
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o ServiceEndpointPolicyTypeOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyType) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (o StaticRoutesConfigVpnServerConfigurationResponsePtrOutput) ToStaticRoutesConfigVpnServerConfigurationResponsePtrOutput() StaticRoutesConfigVpnServerConfigurationResponsePtrOutput {
+ return o
}
-// Resource ID.
-func (o ServiceEndpointPolicyTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyType) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o StaticRoutesConfigVpnServerConfigurationResponsePtrOutput) ToStaticRoutesConfigVpnServerConfigurationResponsePtrOutputWithContext(ctx context.Context) StaticRoutesConfigVpnServerConfigurationResponsePtrOutput {
+ return o
}
-// Resource location.
-func (o ServiceEndpointPolicyTypeOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyType) *string { return v.Location }).(pulumi.StringPtrOutput)
+func (o StaticRoutesConfigVpnServerConfigurationResponsePtrOutput) Elem() StaticRoutesConfigVpnServerConfigurationResponseOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigVpnServerConfigurationResponse) StaticRoutesConfigVpnServerConfigurationResponse {
+ if v != nil {
+ return *v
+ }
+ var ret StaticRoutesConfigVpnServerConfigurationResponse
+ return ret
+ }).(StaticRoutesConfigVpnServerConfigurationResponseOutput)
}
-// The alias indicating if the policy belongs to a service
-func (o ServiceEndpointPolicyTypeOutput) ServiceAlias() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyType) *string { return v.ServiceAlias }).(pulumi.StringPtrOutput)
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfigVpnServerConfigurationResponsePtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigVpnServerConfigurationResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return &v.PropagateStaticRoutes
+ }).(pulumi.BoolPtrOutput)
}
-// A collection of service endpoint policy definitions of the service endpoint policy.
-func (o ServiceEndpointPolicyTypeOutput) ServiceEndpointPolicyDefinitions() ServiceEndpointPolicyDefinitionTypeArrayOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyType) []ServiceEndpointPolicyDefinitionType {
- return v.ServiceEndpointPolicyDefinitions
- }).(ServiceEndpointPolicyDefinitionTypeArrayOutput)
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfigVpnServerConfigurationResponsePtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfigVpnServerConfigurationResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.VnetLocalRouteOverrideCriteria
+ }).(pulumi.StringPtrOutput)
}
-// Resource tags.
-func (o ServiceEndpointPolicyTypeOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponse struct {
+ // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+ PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
+ // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+ VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
}
-type ServiceEndpointPolicyTypeArrayOutput struct{ *pulumi.OutputState }
+// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
+type StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput struct{ *pulumi.OutputState }
-func (ServiceEndpointPolicyTypeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ServiceEndpointPolicyType)(nil)).Elem()
+func (StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponse)(nil)).Elem()
}
-func (o ServiceEndpointPolicyTypeArrayOutput) ToServiceEndpointPolicyTypeArrayOutput() ServiceEndpointPolicyTypeArrayOutput {
+func (o StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) ToStaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput() StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput {
return o
}
-func (o ServiceEndpointPolicyTypeArrayOutput) ToServiceEndpointPolicyTypeArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyTypeArrayOutput {
+func (o StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) ToStaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponseOutputWithContext(ctx context.Context) StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput {
return o
}
-func (o ServiceEndpointPolicyTypeArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPolicyTypeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPolicyType {
- return vs[0].([]ServiceEndpointPolicyType)[vs[1].(int)]
- }).(ServiceEndpointPolicyTypeOutput)
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) PropagateStaticRoutes() pulumi.BoolOutput {
+ return o.ApplyT(func(v StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponse) bool {
+ return v.PropagateStaticRoutes
+ }).(pulumi.BoolOutput)
}
-// Service Endpoint policy definitions.
-type ServiceEndpointPolicyDefinitionType struct {
- // A description for this rule. Restricted to 140 chars.
- Description *string `pulumi:"description"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // Service endpoint name.
- Service *string `pulumi:"service"`
- // A list of service resources.
- ServiceResources []string `pulumi:"serviceResources"`
- // The type of the resource.
- Type *string `pulumi:"type"`
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponse) *string {
+ return v.VnetLocalRouteOverrideCriteria
+ }).(pulumi.StringPtrOutput)
}
-// ServiceEndpointPolicyDefinitionTypeInput is an input type that accepts ServiceEndpointPolicyDefinitionTypeArgs and ServiceEndpointPolicyDefinitionTypeOutput values.
-// You can construct a concrete instance of `ServiceEndpointPolicyDefinitionTypeInput` via:
-//
-// ServiceEndpointPolicyDefinitionTypeArgs{...}
-type ServiceEndpointPolicyDefinitionTypeInput interface {
- pulumi.Input
+type StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput struct{ *pulumi.OutputState }
- ToServiceEndpointPolicyDefinitionTypeOutput() ServiceEndpointPolicyDefinitionTypeOutput
- ToServiceEndpointPolicyDefinitionTypeOutputWithContext(context.Context) ServiceEndpointPolicyDefinitionTypeOutput
+func (StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponse)(nil)).Elem()
}
-// Service Endpoint policy definitions.
-type ServiceEndpointPolicyDefinitionTypeArgs struct {
- // A description for this rule. Restricted to 140 chars.
- Description pulumi.StringPtrInput `pulumi:"description"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag pulumi.StringPtrInput `pulumi:"etag"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Service endpoint name.
- Service pulumi.StringPtrInput `pulumi:"service"`
- // A list of service resources.
- ServiceResources pulumi.StringArrayInput `pulumi:"serviceResources"`
- // The type of the resource.
- Type pulumi.StringPtrInput `pulumi:"type"`
+func (o StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) ToStaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput() StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput {
+ return o
}
-func (ServiceEndpointPolicyDefinitionTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceEndpointPolicyDefinitionType)(nil)).Elem()
+func (o StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) ToStaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutputWithContext(ctx context.Context) StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput {
+ return o
}
-func (i ServiceEndpointPolicyDefinitionTypeArgs) ToServiceEndpointPolicyDefinitionTypeOutput() ServiceEndpointPolicyDefinitionTypeOutput {
- return i.ToServiceEndpointPolicyDefinitionTypeOutputWithContext(context.Background())
+func (o StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) Elem() StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput {
+ return o.ApplyT(func(v *StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponse) StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponse {
+ if v != nil {
+ return *v
+ }
+ var ret StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponse
+ return ret
+ }).(StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput)
}
-func (i ServiceEndpointPolicyDefinitionTypeArgs) ToServiceEndpointPolicyDefinitionTypeOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ServiceEndpointPolicyDefinitionTypeOutput)
+// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
+func (o StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return &v.PropagateStaticRoutes
+ }).(pulumi.BoolPtrOutput)
}
-// ServiceEndpointPolicyDefinitionTypeArrayInput is an input type that accepts ServiceEndpointPolicyDefinitionTypeArray and ServiceEndpointPolicyDefinitionTypeArrayOutput values.
-// You can construct a concrete instance of `ServiceEndpointPolicyDefinitionTypeArrayInput` via:
-//
-// ServiceEndpointPolicyDefinitionTypeArray{ ServiceEndpointPolicyDefinitionTypeArgs{...} }
-type ServiceEndpointPolicyDefinitionTypeArrayInput interface {
- pulumi.Input
+// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
+func (o StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.VnetLocalRouteOverrideCriteria
+ }).(pulumi.StringPtrOutput)
+}
- ToServiceEndpointPolicyDefinitionTypeArrayOutput() ServiceEndpointPolicyDefinitionTypeArrayOutput
- ToServiceEndpointPolicyDefinitionTypeArrayOutputWithContext(context.Context) ServiceEndpointPolicyDefinitionTypeArrayOutput
+// Reference to another subresource.
+type SubResource struct {
+ // Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted.
+ // An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end.
+ // A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself.
+ // Example of a relative ID: $self/frontEndConfigurations/my-frontend.
+ Id *string `pulumi:"id"`
}
-type ServiceEndpointPolicyDefinitionTypeArray []ServiceEndpointPolicyDefinitionTypeInput
+// SubResourceInput is an input type that accepts SubResourceArgs and SubResourceOutput values.
+// You can construct a concrete instance of `SubResourceInput` via:
+//
+// SubResourceArgs{...}
+type SubResourceInput interface {
+ pulumi.Input
-func (ServiceEndpointPolicyDefinitionTypeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ServiceEndpointPolicyDefinitionType)(nil)).Elem()
+ ToSubResourceOutput() SubResourceOutput
+ ToSubResourceOutputWithContext(context.Context) SubResourceOutput
}
-func (i ServiceEndpointPolicyDefinitionTypeArray) ToServiceEndpointPolicyDefinitionTypeArrayOutput() ServiceEndpointPolicyDefinitionTypeArrayOutput {
- return i.ToServiceEndpointPolicyDefinitionTypeArrayOutputWithContext(context.Background())
+// Reference to another subresource.
+type SubResourceArgs struct {
+ // Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted.
+ // An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end.
+ // A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself.
+ // Example of a relative ID: $self/frontEndConfigurations/my-frontend.
+ Id pulumi.StringPtrInput `pulumi:"id"`
}
-func (i ServiceEndpointPolicyDefinitionTypeArray) ToServiceEndpointPolicyDefinitionTypeArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionTypeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ServiceEndpointPolicyDefinitionTypeArrayOutput)
+func (SubResourceArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubResource)(nil)).Elem()
}
-// Service Endpoint policy definitions.
-type ServiceEndpointPolicyDefinitionTypeOutput struct{ *pulumi.OutputState }
-
-func (ServiceEndpointPolicyDefinitionTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceEndpointPolicyDefinitionType)(nil)).Elem()
+func (i SubResourceArgs) ToSubResourceOutput() SubResourceOutput {
+ return i.ToSubResourceOutputWithContext(context.Background())
}
-func (o ServiceEndpointPolicyDefinitionTypeOutput) ToServiceEndpointPolicyDefinitionTypeOutput() ServiceEndpointPolicyDefinitionTypeOutput {
- return o
+func (i SubResourceArgs) ToSubResourceOutputWithContext(ctx context.Context) SubResourceOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SubResourceOutput)
}
-func (o ServiceEndpointPolicyDefinitionTypeOutput) ToServiceEndpointPolicyDefinitionTypeOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionTypeOutput {
- return o
+func (i SubResourceArgs) ToSubResourcePtrOutput() SubResourcePtrOutput {
+ return i.ToSubResourcePtrOutputWithContext(context.Background())
}
-// A description for this rule. Restricted to 140 chars.
-func (o ServiceEndpointPolicyDefinitionTypeOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionType) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (i SubResourceArgs) ToSubResourcePtrOutputWithContext(ctx context.Context) SubResourcePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SubResourceOutput).ToSubResourcePtrOutputWithContext(ctx)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o ServiceEndpointPolicyDefinitionTypeOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionType) *string { return v.Etag }).(pulumi.StringPtrOutput)
-}
+// SubResourcePtrInput is an input type that accepts SubResourceArgs, SubResourcePtr and SubResourcePtrOutput values.
+// You can construct a concrete instance of `SubResourcePtrInput` via:
+//
+// SubResourceArgs{...}
+//
+// or:
+//
+// nil
+type SubResourcePtrInput interface {
+ pulumi.Input
-// Resource ID.
-func (o ServiceEndpointPolicyDefinitionTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionType) *string { return v.Id }).(pulumi.StringPtrOutput)
+ ToSubResourcePtrOutput() SubResourcePtrOutput
+ ToSubResourcePtrOutputWithContext(context.Context) SubResourcePtrOutput
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o ServiceEndpointPolicyDefinitionTypeOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionType) *string { return v.Name }).(pulumi.StringPtrOutput)
+type subResourcePtrType SubResourceArgs
+
+func SubResourcePtr(v *SubResourceArgs) SubResourcePtrInput {
+ return (*subResourcePtrType)(v)
}
-// Service endpoint name.
-func (o ServiceEndpointPolicyDefinitionTypeOutput) Service() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionType) *string { return v.Service }).(pulumi.StringPtrOutput)
+func (*subResourcePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**SubResource)(nil)).Elem()
}
-// A list of service resources.
-func (o ServiceEndpointPolicyDefinitionTypeOutput) ServiceResources() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionType) []string { return v.ServiceResources }).(pulumi.StringArrayOutput)
+func (i *subResourcePtrType) ToSubResourcePtrOutput() SubResourcePtrOutput {
+ return i.ToSubResourcePtrOutputWithContext(context.Background())
}
-// The type of the resource.
-func (o ServiceEndpointPolicyDefinitionTypeOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionType) *string { return v.Type }).(pulumi.StringPtrOutput)
+func (i *subResourcePtrType) ToSubResourcePtrOutputWithContext(ctx context.Context) SubResourcePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SubResourcePtrOutput)
}
-type ServiceEndpointPolicyDefinitionTypeArrayOutput struct{ *pulumi.OutputState }
+// SubResourceArrayInput is an input type that accepts SubResourceArray and SubResourceArrayOutput values.
+// You can construct a concrete instance of `SubResourceArrayInput` via:
+//
+// SubResourceArray{ SubResourceArgs{...} }
+type SubResourceArrayInput interface {
+ pulumi.Input
-func (ServiceEndpointPolicyDefinitionTypeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ServiceEndpointPolicyDefinitionType)(nil)).Elem()
+ ToSubResourceArrayOutput() SubResourceArrayOutput
+ ToSubResourceArrayOutputWithContext(context.Context) SubResourceArrayOutput
}
-func (o ServiceEndpointPolicyDefinitionTypeArrayOutput) ToServiceEndpointPolicyDefinitionTypeArrayOutput() ServiceEndpointPolicyDefinitionTypeArrayOutput {
- return o
-}
+type SubResourceArray []SubResourceInput
-func (o ServiceEndpointPolicyDefinitionTypeArrayOutput) ToServiceEndpointPolicyDefinitionTypeArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionTypeArrayOutput {
- return o
+func (SubResourceArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SubResource)(nil)).Elem()
}
-func (o ServiceEndpointPolicyDefinitionTypeArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPolicyDefinitionTypeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPolicyDefinitionType {
- return vs[0].([]ServiceEndpointPolicyDefinitionType)[vs[1].(int)]
- }).(ServiceEndpointPolicyDefinitionTypeOutput)
+func (i SubResourceArray) ToSubResourceArrayOutput() SubResourceArrayOutput {
+ return i.ToSubResourceArrayOutputWithContext(context.Background())
}
-// Service Endpoint policy definitions.
-type ServiceEndpointPolicyDefinitionResponse struct {
- // A description for this rule. Restricted to 140 chars.
- Description *string `pulumi:"description"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the service endpoint policy definition resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Service endpoint name.
- Service *string `pulumi:"service"`
- // A list of service resources.
- ServiceResources []string `pulumi:"serviceResources"`
- // The type of the resource.
- Type *string `pulumi:"type"`
+func (i SubResourceArray) ToSubResourceArrayOutputWithContext(ctx context.Context) SubResourceArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SubResourceArrayOutput)
}
-// Service Endpoint policy definitions.
-type ServiceEndpointPolicyDefinitionResponseOutput struct{ *pulumi.OutputState }
+// Reference to another subresource.
+type SubResourceOutput struct{ *pulumi.OutputState }
-func (ServiceEndpointPolicyDefinitionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceEndpointPolicyDefinitionResponse)(nil)).Elem()
+func (SubResourceOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubResource)(nil)).Elem()
}
-func (o ServiceEndpointPolicyDefinitionResponseOutput) ToServiceEndpointPolicyDefinitionResponseOutput() ServiceEndpointPolicyDefinitionResponseOutput {
+func (o SubResourceOutput) ToSubResourceOutput() SubResourceOutput {
return o
}
-func (o ServiceEndpointPolicyDefinitionResponseOutput) ToServiceEndpointPolicyDefinitionResponseOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionResponseOutput {
+func (o SubResourceOutput) ToSubResourceOutputWithContext(ctx context.Context) SubResourceOutput {
return o
}
-// A description for this rule. Restricted to 140 chars.
-func (o ServiceEndpointPolicyDefinitionResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o SubResourceOutput) ToSubResourcePtrOutput() SubResourcePtrOutput {
+ return o.ToSubResourcePtrOutputWithContext(context.Background())
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o ServiceEndpointPolicyDefinitionResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o SubResourceOutput) ToSubResourcePtrOutputWithContext(ctx context.Context) SubResourcePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v SubResource) *SubResource {
+ return &v
+ }).(SubResourcePtrOutput)
}
-// Resource ID.
-func (o ServiceEndpointPolicyDefinitionResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted.
+// An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end.
+// A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself.
+// Example of a relative ID: $self/frontEndConfigurations/my-frontend.
+func (o SubResourceOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubResource) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o ServiceEndpointPolicyDefinitionResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+type SubResourcePtrOutput struct{ *pulumi.OutputState }
+
+func (SubResourcePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**SubResource)(nil)).Elem()
}
-// The provisioning state of the service endpoint policy definition resource.
-func (o ServiceEndpointPolicyDefinitionResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o SubResourcePtrOutput) ToSubResourcePtrOutput() SubResourcePtrOutput {
+ return o
}
-// Service endpoint name.
-func (o ServiceEndpointPolicyDefinitionResponseOutput) Service() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponse) *string { return v.Service }).(pulumi.StringPtrOutput)
+func (o SubResourcePtrOutput) ToSubResourcePtrOutputWithContext(ctx context.Context) SubResourcePtrOutput {
+ return o
}
-// A list of service resources.
-func (o ServiceEndpointPolicyDefinitionResponseOutput) ServiceResources() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponse) []string { return v.ServiceResources }).(pulumi.StringArrayOutput)
+func (o SubResourcePtrOutput) Elem() SubResourceOutput {
+ return o.ApplyT(func(v *SubResource) SubResource {
+ if v != nil {
+ return *v
+ }
+ var ret SubResource
+ return ret
+ }).(SubResourceOutput)
}
-// The type of the resource.
-func (o ServiceEndpointPolicyDefinitionResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted.
+// An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end.
+// A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself.
+// Example of a relative ID: $self/frontEndConfigurations/my-frontend.
+func (o SubResourcePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubResource) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-type ServiceEndpointPolicyDefinitionResponseArrayOutput struct{ *pulumi.OutputState }
+type SubResourceArrayOutput struct{ *pulumi.OutputState }
-func (ServiceEndpointPolicyDefinitionResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ServiceEndpointPolicyDefinitionResponse)(nil)).Elem()
+func (SubResourceArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SubResource)(nil)).Elem()
}
-func (o ServiceEndpointPolicyDefinitionResponseArrayOutput) ToServiceEndpointPolicyDefinitionResponseArrayOutput() ServiceEndpointPolicyDefinitionResponseArrayOutput {
+func (o SubResourceArrayOutput) ToSubResourceArrayOutput() SubResourceArrayOutput {
return o
}
-func (o ServiceEndpointPolicyDefinitionResponseArrayOutput) ToServiceEndpointPolicyDefinitionResponseArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionResponseArrayOutput {
+func (o SubResourceArrayOutput) ToSubResourceArrayOutputWithContext(ctx context.Context) SubResourceArrayOutput {
return o
}
-func (o ServiceEndpointPolicyDefinitionResponseArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPolicyDefinitionResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPolicyDefinitionResponse {
- return vs[0].([]ServiceEndpointPolicyDefinitionResponse)[vs[1].(int)]
- }).(ServiceEndpointPolicyDefinitionResponseOutput)
+func (o SubResourceArrayOutput) Index(i pulumi.IntInput) SubResourceOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubResource {
+ return vs[0].([]SubResource)[vs[1].(int)]
+ }).(SubResourceOutput)
}
-// Service Endpoint policy definitions.
-type ServiceEndpointPolicyDefinitionResponseV1 struct {
- // A description for this rule. Restricted to 140 chars.
- Description *string `pulumi:"description"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
+// Reference to another subresource.
+type SubResourceResponse struct {
// Resource ID.
Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the service end point policy definition. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState string `pulumi:"provisioningState"`
- // Service endpoint name.
- Service *string `pulumi:"service"`
- // A list of service resources.
- ServiceResources []string `pulumi:"serviceResources"`
}
-// Service Endpoint policy definitions.
-type ServiceEndpointPolicyDefinitionResponseV1Output struct{ *pulumi.OutputState }
+// Reference to another subresource.
+type SubResourceResponseOutput struct{ *pulumi.OutputState }
-func (ServiceEndpointPolicyDefinitionResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceEndpointPolicyDefinitionResponseV1)(nil)).Elem()
+func (SubResourceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubResourceResponse)(nil)).Elem()
}
-func (o ServiceEndpointPolicyDefinitionResponseV1Output) ToServiceEndpointPolicyDefinitionResponseV1Output() ServiceEndpointPolicyDefinitionResponseV1Output {
+func (o SubResourceResponseOutput) ToSubResourceResponseOutput() SubResourceResponseOutput {
return o
}
-func (o ServiceEndpointPolicyDefinitionResponseV1Output) ToServiceEndpointPolicyDefinitionResponseV1OutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionResponseV1Output {
+func (o SubResourceResponseOutput) ToSubResourceResponseOutputWithContext(ctx context.Context) SubResourceResponseOutput {
return o
}
-// A description for this rule. Restricted to 140 chars.
-func (o ServiceEndpointPolicyDefinitionResponseV1Output) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponseV1) *string { return v.Description }).(pulumi.StringPtrOutput)
-}
-
-// A unique read-only string that changes whenever the resource is updated.
-func (o ServiceEndpointPolicyDefinitionResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
-}
-
-// Resource ID.
-func (o ServiceEndpointPolicyDefinitionResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o ServiceEndpointPolicyDefinitionResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
-
-// The provisioning state of the service end point policy definition. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o ServiceEndpointPolicyDefinitionResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
-
-// Service endpoint name.
-func (o ServiceEndpointPolicyDefinitionResponseV1Output) Service() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponseV1) *string { return v.Service }).(pulumi.StringPtrOutput)
-}
-
-// A list of service resources.
-func (o ServiceEndpointPolicyDefinitionResponseV1Output) ServiceResources() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyDefinitionResponseV1) []string { return v.ServiceResources }).(pulumi.StringArrayOutput)
+// Resource ID.
+func (o SubResourceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubResourceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-type ServiceEndpointPolicyDefinitionResponseV1ArrayOutput struct{ *pulumi.OutputState }
+type SubResourceResponsePtrOutput struct{ *pulumi.OutputState }
-func (ServiceEndpointPolicyDefinitionResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ServiceEndpointPolicyDefinitionResponseV1)(nil)).Elem()
+func (SubResourceResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**SubResourceResponse)(nil)).Elem()
}
-func (o ServiceEndpointPolicyDefinitionResponseV1ArrayOutput) ToServiceEndpointPolicyDefinitionResponseV1ArrayOutput() ServiceEndpointPolicyDefinitionResponseV1ArrayOutput {
+func (o SubResourceResponsePtrOutput) ToSubResourceResponsePtrOutput() SubResourceResponsePtrOutput {
return o
}
-func (o ServiceEndpointPolicyDefinitionResponseV1ArrayOutput) ToServiceEndpointPolicyDefinitionResponseV1ArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyDefinitionResponseV1ArrayOutput {
+func (o SubResourceResponsePtrOutput) ToSubResourceResponsePtrOutputWithContext(ctx context.Context) SubResourceResponsePtrOutput {
return o
}
-func (o ServiceEndpointPolicyDefinitionResponseV1ArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPolicyDefinitionResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPolicyDefinitionResponseV1 {
- return vs[0].([]ServiceEndpointPolicyDefinitionResponseV1)[vs[1].(int)]
- }).(ServiceEndpointPolicyDefinitionResponseV1Output)
+func (o SubResourceResponsePtrOutput) Elem() SubResourceResponseOutput {
+ return o.ApplyT(func(v *SubResourceResponse) SubResourceResponse {
+ if v != nil {
+ return *v
+ }
+ var ret SubResourceResponse
+ return ret
+ }).(SubResourceResponseOutput)
}
-// Service End point policy resource.
-type ServiceEndpointPolicyResponse struct {
- // A collection of contextual service endpoint policy.
- ContextualServiceEndpointPolicies []string `pulumi:"contextualServiceEndpointPolicies"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Kind of service endpoint policy. This is metadata used for the Azure portal experience.
- Kind string `pulumi:"kind"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // The provisioning state of the service endpoint policy resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The resource GUID property of the service endpoint policy resource.
- ResourceGuid string `pulumi:"resourceGuid"`
- // The alias indicating if the policy belongs to a service
- ServiceAlias *string `pulumi:"serviceAlias"`
- // A collection of service endpoint policy definitions of the service endpoint policy.
- ServiceEndpointPolicyDefinitions []ServiceEndpointPolicyDefinitionResponse `pulumi:"serviceEndpointPolicyDefinitions"`
- // A collection of references to subnets.
- Subnets []SubnetResponse `pulumi:"subnets"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
+// Resource ID.
+func (o SubResourceResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubResourceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// Service End point policy resource.
-type ServiceEndpointPolicyResponseOutput struct{ *pulumi.OutputState }
+type SubResourceResponseArrayOutput struct{ *pulumi.OutputState }
-func (ServiceEndpointPolicyResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceEndpointPolicyResponse)(nil)).Elem()
+func (SubResourceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SubResourceResponse)(nil)).Elem()
}
-func (o ServiceEndpointPolicyResponseOutput) ToServiceEndpointPolicyResponseOutput() ServiceEndpointPolicyResponseOutput {
+func (o SubResourceResponseArrayOutput) ToSubResourceResponseArrayOutput() SubResourceResponseArrayOutput {
return o
}
-func (o ServiceEndpointPolicyResponseOutput) ToServiceEndpointPolicyResponseOutputWithContext(ctx context.Context) ServiceEndpointPolicyResponseOutput {
+func (o SubResourceResponseArrayOutput) ToSubResourceResponseArrayOutputWithContext(ctx context.Context) SubResourceResponseArrayOutput {
return o
}
-// A collection of contextual service endpoint policy.
-func (o ServiceEndpointPolicyResponseOutput) ContextualServiceEndpointPolicies() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponse) []string { return v.ContextualServiceEndpointPolicies }).(pulumi.StringArrayOutput)
+func (o SubResourceResponseArrayOutput) Index(i pulumi.IntInput) SubResourceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubResourceResponse {
+ return vs[0].([]SubResourceResponse)[vs[1].(int)]
+ }).(SubResourceResponseOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o ServiceEndpointPolicyResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponse) string { return v.Etag }).(pulumi.StringOutput)
+// Subgroup profile of the interconnect group resource.
+type SubgroupProfile struct {
+ // Scope of the subgroup profile.
+ Scope *string `pulumi:"scope"`
+ // Size of the subgroup profile.
+ Size *int `pulumi:"size"`
+ // VM size of the subgroup profile.
+ VmSize string `pulumi:"vmSize"`
}
-// Resource ID.
-func (o ServiceEndpointPolicyResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// SubgroupProfileInput is an input type that accepts SubgroupProfileArgs and SubgroupProfileOutput values.
+// You can construct a concrete instance of `SubgroupProfileInput` via:
+//
+// SubgroupProfileArgs{...}
+type SubgroupProfileInput interface {
+ pulumi.Input
+
+ ToSubgroupProfileOutput() SubgroupProfileOutput
+ ToSubgroupProfileOutputWithContext(context.Context) SubgroupProfileOutput
}
-// Kind of service endpoint policy. This is metadata used for the Azure portal experience.
-func (o ServiceEndpointPolicyResponseOutput) Kind() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponse) string { return v.Kind }).(pulumi.StringOutput)
+// Subgroup profile of the interconnect group resource.
+type SubgroupProfileArgs struct {
+ // Scope of the subgroup profile.
+ Scope pulumi.StringPtrInput `pulumi:"scope"`
+ // Size of the subgroup profile.
+ Size pulumi.IntPtrInput `pulumi:"size"`
+ // VM size of the subgroup profile.
+ VmSize pulumi.StringInput `pulumi:"vmSize"`
}
-// Resource location.
-func (o ServiceEndpointPolicyResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+func (SubgroupProfileArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubgroupProfile)(nil)).Elem()
}
-// Resource name.
-func (o ServiceEndpointPolicyResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponse) string { return v.Name }).(pulumi.StringOutput)
+func (i SubgroupProfileArgs) ToSubgroupProfileOutput() SubgroupProfileOutput {
+ return i.ToSubgroupProfileOutputWithContext(context.Background())
}
-// The provisioning state of the service endpoint policy resource.
-func (o ServiceEndpointPolicyResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (i SubgroupProfileArgs) ToSubgroupProfileOutputWithContext(ctx context.Context) SubgroupProfileOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SubgroupProfileOutput)
}
-// The resource GUID property of the service endpoint policy resource.
-func (o ServiceEndpointPolicyResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// Subgroup profile of the interconnect group resource.
+type SubgroupProfileOutput struct{ *pulumi.OutputState }
+
+func (SubgroupProfileOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubgroupProfile)(nil)).Elem()
}
-// The alias indicating if the policy belongs to a service
-func (o ServiceEndpointPolicyResponseOutput) ServiceAlias() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponse) *string { return v.ServiceAlias }).(pulumi.StringPtrOutput)
+func (o SubgroupProfileOutput) ToSubgroupProfileOutput() SubgroupProfileOutput {
+ return o
}
-// A collection of service endpoint policy definitions of the service endpoint policy.
-func (o ServiceEndpointPolicyResponseOutput) ServiceEndpointPolicyDefinitions() ServiceEndpointPolicyDefinitionResponseArrayOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponse) []ServiceEndpointPolicyDefinitionResponse {
- return v.ServiceEndpointPolicyDefinitions
- }).(ServiceEndpointPolicyDefinitionResponseArrayOutput)
+func (o SubgroupProfileOutput) ToSubgroupProfileOutputWithContext(ctx context.Context) SubgroupProfileOutput {
+ return o
}
-// A collection of references to subnets.
-func (o ServiceEndpointPolicyResponseOutput) Subnets() SubnetResponseArrayOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponse) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
+// Scope of the subgroup profile.
+func (o SubgroupProfileOutput) Scope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubgroupProfile) *string { return v.Scope }).(pulumi.StringPtrOutput)
}
-// Resource tags.
-func (o ServiceEndpointPolicyResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// Size of the subgroup profile.
+func (o SubgroupProfileOutput) Size() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v SubgroupProfile) *int { return v.Size }).(pulumi.IntPtrOutput)
}
-// Resource type.
-func (o ServiceEndpointPolicyResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponse) string { return v.Type }).(pulumi.StringOutput)
+// VM size of the subgroup profile.
+func (o SubgroupProfileOutput) VmSize() pulumi.StringOutput {
+ return o.ApplyT(func(v SubgroupProfile) string { return v.VmSize }).(pulumi.StringOutput)
}
-type ServiceEndpointPolicyResponseArrayOutput struct{ *pulumi.OutputState }
+// Subgroup profile of the interconnect group resource.
+type SubgroupProfileResponse struct {
+ // Scope of the subgroup profile.
+ Scope *string `pulumi:"scope"`
+ // Size of the subgroup profile.
+ Size *int `pulumi:"size"`
+ // VM size of the subgroup profile.
+ VmSize string `pulumi:"vmSize"`
+}
-func (ServiceEndpointPolicyResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ServiceEndpointPolicyResponse)(nil)).Elem()
+// Subgroup profile of the interconnect group resource.
+type SubgroupProfileResponseOutput struct{ *pulumi.OutputState }
+
+func (SubgroupProfileResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubgroupProfileResponse)(nil)).Elem()
}
-func (o ServiceEndpointPolicyResponseArrayOutput) ToServiceEndpointPolicyResponseArrayOutput() ServiceEndpointPolicyResponseArrayOutput {
+func (o SubgroupProfileResponseOutput) ToSubgroupProfileResponseOutput() SubgroupProfileResponseOutput {
return o
}
-func (o ServiceEndpointPolicyResponseArrayOutput) ToServiceEndpointPolicyResponseArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyResponseArrayOutput {
+func (o SubgroupProfileResponseOutput) ToSubgroupProfileResponseOutputWithContext(ctx context.Context) SubgroupProfileResponseOutput {
return o
}
-func (o ServiceEndpointPolicyResponseArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPolicyResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPolicyResponse {
- return vs[0].([]ServiceEndpointPolicyResponse)[vs[1].(int)]
- }).(ServiceEndpointPolicyResponseOutput)
+// Scope of the subgroup profile.
+func (o SubgroupProfileResponseOutput) Scope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubgroupProfileResponse) *string { return v.Scope }).(pulumi.StringPtrOutput)
}
-// Service End point policy resource.
-type ServiceEndpointPolicyResponseV1 struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
+// Size of the subgroup profile.
+func (o SubgroupProfileResponseOutput) Size() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v SubgroupProfileResponse) *int { return v.Size }).(pulumi.IntPtrOutput)
+}
+
+// VM size of the subgroup profile.
+func (o SubgroupProfileResponseOutput) VmSize() pulumi.StringOutput {
+ return o.ApplyT(func(v SubgroupProfileResponse) string { return v.VmSize }).(pulumi.StringOutput)
+}
+
+// A subgroup in an interconnect group.
+type SubgroupResponse struct {
// Resource ID.
Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // The provisioning state of the service endpoint policy. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ // The reference to an interconnect block resource.
+ InterconnectBlock SubResourceResponse `pulumi:"interconnectBlock"`
+ // The unique identifier of the subgroup.
+ InternalSubgroupId string `pulumi:"internalSubgroupId"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the subgroup.
ProvisioningState string `pulumi:"provisioningState"`
- // The resource GUID property of the service endpoint policy resource.
- ResourceGuid string `pulumi:"resourceGuid"`
- // A collection of service endpoint policy definitions of the service endpoint policy.
- ServiceEndpointPolicyDefinitions []ServiceEndpointPolicyDefinitionResponseV1 `pulumi:"serviceEndpointPolicyDefinitions"`
- // A collection of references to subnets.
- Subnets []SubnetResponse `pulumi:"subnets"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
// Resource type.
Type string `pulumi:"type"`
+ // A list of virtual machine references.
+ VirtualMachines []SubResourceResponse `pulumi:"virtualMachines"`
}
-// Service End point policy resource.
-type ServiceEndpointPolicyResponseV1Output struct{ *pulumi.OutputState }
+// A subgroup in an interconnect group.
+type SubgroupResponseOutput struct{ *pulumi.OutputState }
-func (ServiceEndpointPolicyResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceEndpointPolicyResponseV1)(nil)).Elem()
+func (SubgroupResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubgroupResponse)(nil)).Elem()
}
-func (o ServiceEndpointPolicyResponseV1Output) ToServiceEndpointPolicyResponseV1Output() ServiceEndpointPolicyResponseV1Output {
+func (o SubgroupResponseOutput) ToSubgroupResponseOutput() SubgroupResponseOutput {
return o
}
-func (o ServiceEndpointPolicyResponseV1Output) ToServiceEndpointPolicyResponseV1OutputWithContext(ctx context.Context) ServiceEndpointPolicyResponseV1Output {
+func (o SubgroupResponseOutput) ToSubgroupResponseOutputWithContext(ctx context.Context) SubgroupResponseOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o ServiceEndpointPolicyResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
-}
-
// Resource ID.
-func (o ServiceEndpointPolicyResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// Resource location.
-func (o ServiceEndpointPolicyResponseV1Output) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponseV1) *string { return v.Location }).(pulumi.StringPtrOutput)
-}
-
-// Resource name.
-func (o ServiceEndpointPolicyResponseV1Output) Name() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponseV1) string { return v.Name }).(pulumi.StringOutput)
+func (o SubgroupResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubgroupResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the service endpoint policy. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o ServiceEndpointPolicyResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The reference to an interconnect block resource.
+func (o SubgroupResponseOutput) InterconnectBlock() SubResourceResponseOutput {
+ return o.ApplyT(func(v SubgroupResponse) SubResourceResponse { return v.InterconnectBlock }).(SubResourceResponseOutput)
}
-// The resource GUID property of the service endpoint policy resource.
-func (o ServiceEndpointPolicyResponseV1Output) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponseV1) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// The unique identifier of the subgroup.
+func (o SubgroupResponseOutput) InternalSubgroupId() pulumi.StringOutput {
+ return o.ApplyT(func(v SubgroupResponse) string { return v.InternalSubgroupId }).(pulumi.StringOutput)
}
-// A collection of service endpoint policy definitions of the service endpoint policy.
-func (o ServiceEndpointPolicyResponseV1Output) ServiceEndpointPolicyDefinitions() ServiceEndpointPolicyDefinitionResponseV1ArrayOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponseV1) []ServiceEndpointPolicyDefinitionResponseV1 {
- return v.ServiceEndpointPolicyDefinitions
- }).(ServiceEndpointPolicyDefinitionResponseV1ArrayOutput)
+// Name of the resource.
+func (o SubgroupResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubgroupResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// A collection of references to subnets.
-func (o ServiceEndpointPolicyResponseV1Output) Subnets() SubnetResponseArrayOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponseV1) []SubnetResponse { return v.Subnets }).(SubnetResponseArrayOutput)
+// The provisioning state of the subgroup.
+func (o SubgroupResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v SubgroupResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Resource tags.
-func (o ServiceEndpointPolicyResponseV1Output) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponseV1) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// Resource type.
+func (o SubgroupResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v SubgroupResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Resource type.
-func (o ServiceEndpointPolicyResponseV1Output) Type() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceEndpointPolicyResponseV1) string { return v.Type }).(pulumi.StringOutput)
+// A list of virtual machine references.
+func (o SubgroupResponseOutput) VirtualMachines() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v SubgroupResponse) []SubResourceResponse { return v.VirtualMachines }).(SubResourceResponseArrayOutput)
}
-type ServiceEndpointPolicyResponseV1ArrayOutput struct{ *pulumi.OutputState }
+type SubgroupResponseArrayOutput struct{ *pulumi.OutputState }
-func (ServiceEndpointPolicyResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ServiceEndpointPolicyResponseV1)(nil)).Elem()
+func (SubgroupResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SubgroupResponse)(nil)).Elem()
}
-func (o ServiceEndpointPolicyResponseV1ArrayOutput) ToServiceEndpointPolicyResponseV1ArrayOutput() ServiceEndpointPolicyResponseV1ArrayOutput {
+func (o SubgroupResponseArrayOutput) ToSubgroupResponseArrayOutput() SubgroupResponseArrayOutput {
return o
}
-func (o ServiceEndpointPolicyResponseV1ArrayOutput) ToServiceEndpointPolicyResponseV1ArrayOutputWithContext(ctx context.Context) ServiceEndpointPolicyResponseV1ArrayOutput {
+func (o SubgroupResponseArrayOutput) ToSubgroupResponseArrayOutputWithContext(ctx context.Context) SubgroupResponseArrayOutput {
return o
}
-func (o ServiceEndpointPolicyResponseV1ArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPolicyResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPolicyResponseV1 {
- return vs[0].([]ServiceEndpointPolicyResponseV1)[vs[1].(int)]
- }).(ServiceEndpointPolicyResponseV1Output)
+func (o SubgroupResponseArrayOutput) Index(i pulumi.IntInput) SubgroupResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubgroupResponse {
+ return vs[0].([]SubgroupResponse)[vs[1].(int)]
+ }).(SubgroupResponseOutput)
}
-// The service endpoint properties.
-type ServiceEndpointPropertiesFormat struct {
- // A list of locations.
- Locations []string `pulumi:"locations"`
- // SubResource as network identifier.
- NetworkIdentifier *SubResource `pulumi:"networkIdentifier"`
+// Subnet in a virtual network resource.
+type SubnetType struct {
+ // The address prefix for the subnet.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // List of address prefixes for the subnet.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ // Application gateway IP configurations of virtual network resource.
+ ApplicationGatewayIPConfigurations []ApplicationGatewayIPConfiguration `pulumi:"applicationGatewayIPConfigurations"`
+ // Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet.
+ DefaultOutboundAccess *bool `pulumi:"defaultOutboundAccess"`
+ // An array of references to the delegations on the subnet.
+ Delegations []Delegation `pulumi:"delegations"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Array of IpAllocation which reference this subnet.
+ IpAllocations []SubResource `pulumi:"ipAllocations"`
+ // A list of IPAM Pools for allocating IP address prefixes.
+ IpamPoolPrefixAllocations []IpamPoolPrefixAllocation `pulumi:"ipamPoolPrefixAllocations"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Nat gateway associated with this subnet.
+ NatGateway *SubResource `pulumi:"natGateway"`
+ // The reference to the NetworkSecurityGroup resource.
+ NetworkSecurityGroup *NetworkSecurityGroupType `pulumi:"networkSecurityGroup"`
+ // Enable or Disable apply network policies on private end point in the subnet.
+ PrivateEndpointNetworkPolicies *string `pulumi:"privateEndpointNetworkPolicies"`
+ // Enable or Disable apply network policies on private link service in the subnet.
+ PrivateLinkServiceNetworkPolicies *string `pulumi:"privateLinkServiceNetworkPolicies"`
// The provisioning state of the resource.
ProvisioningState *string `pulumi:"provisioningState"`
- // The type of the endpoint service.
- Service *string `pulumi:"service"`
+ // Gets an array of references to the external resources using subnet.
+ ResourceNavigationLinks []ResourceNavigationLink `pulumi:"resourceNavigationLinks"`
+ // The reference to the RouteTable resource.
+ RouteTable *RouteTableType `pulumi:"routeTable"`
+ // Gets an array of references to services injecting into this subnet.
+ ServiceAssociationLinks []ServiceAssociationLink `pulumi:"serviceAssociationLinks"`
+ // An array of service endpoint policies.
+ ServiceEndpointPolicies []ServiceEndpointPolicyType `pulumi:"serviceEndpointPolicies"`
+ // An array of service endpoints.
+ ServiceEndpoints []ServiceEndpointPropertiesFormat `pulumi:"serviceEndpoints"`
+ // Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+ SharingScope *string `pulumi:"sharingScope"`
+ // Resource type.
+ Type *string `pulumi:"type"`
}
-// ServiceEndpointPropertiesFormatInput is an input type that accepts ServiceEndpointPropertiesFormatArgs and ServiceEndpointPropertiesFormatOutput values.
-// You can construct a concrete instance of `ServiceEndpointPropertiesFormatInput` via:
+// Defaults sets the appropriate defaults for SubnetType
+func (val *SubnetType) Defaults() *SubnetType {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.PrivateEndpointNetworkPolicies == nil {
+ privateEndpointNetworkPolicies_ := "Disabled"
+ tmp.PrivateEndpointNetworkPolicies = &privateEndpointNetworkPolicies_
+ }
+ if tmp.PrivateLinkServiceNetworkPolicies == nil {
+ privateLinkServiceNetworkPolicies_ := "Enabled"
+ tmp.PrivateLinkServiceNetworkPolicies = &privateLinkServiceNetworkPolicies_
+ }
+ return &tmp
+}
+
+// SubnetTypeInput is an input type that accepts SubnetTypeArgs and SubnetTypeOutput values.
+// You can construct a concrete instance of `SubnetTypeInput` via:
//
-// ServiceEndpointPropertiesFormatArgs{...}
-type ServiceEndpointPropertiesFormatInput interface {
+// SubnetTypeArgs{...}
+type SubnetTypeInput interface {
pulumi.Input
- ToServiceEndpointPropertiesFormatOutput() ServiceEndpointPropertiesFormatOutput
- ToServiceEndpointPropertiesFormatOutputWithContext(context.Context) ServiceEndpointPropertiesFormatOutput
+ ToSubnetTypeOutput() SubnetTypeOutput
+ ToSubnetTypeOutputWithContext(context.Context) SubnetTypeOutput
}
-// The service endpoint properties.
-type ServiceEndpointPropertiesFormatArgs struct {
- // A list of locations.
- Locations pulumi.StringArrayInput `pulumi:"locations"`
- // SubResource as network identifier.
- NetworkIdentifier SubResourcePtrInput `pulumi:"networkIdentifier"`
+// Subnet in a virtual network resource.
+type SubnetTypeArgs struct {
+ // The address prefix for the subnet.
+ AddressPrefix pulumi.StringPtrInput `pulumi:"addressPrefix"`
+ // List of address prefixes for the subnet.
+ AddressPrefixes pulumi.StringArrayInput `pulumi:"addressPrefixes"`
+ // Application gateway IP configurations of virtual network resource.
+ ApplicationGatewayIPConfigurations ApplicationGatewayIPConfigurationArrayInput `pulumi:"applicationGatewayIPConfigurations"`
+ // Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet.
+ DefaultOutboundAccess pulumi.BoolPtrInput `pulumi:"defaultOutboundAccess"`
+ // An array of references to the delegations on the subnet.
+ Delegations DelegationArrayInput `pulumi:"delegations"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag pulumi.StringPtrInput `pulumi:"etag"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Array of IpAllocation which reference this subnet.
+ IpAllocations SubResourceArrayInput `pulumi:"ipAllocations"`
+ // A list of IPAM Pools for allocating IP address prefixes.
+ IpamPoolPrefixAllocations IpamPoolPrefixAllocationArrayInput `pulumi:"ipamPoolPrefixAllocations"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Nat gateway associated with this subnet.
+ NatGateway SubResourcePtrInput `pulumi:"natGateway"`
+ // The reference to the NetworkSecurityGroup resource.
+ NetworkSecurityGroup NetworkSecurityGroupTypePtrInput `pulumi:"networkSecurityGroup"`
+ // Enable or Disable apply network policies on private end point in the subnet.
+ PrivateEndpointNetworkPolicies pulumi.StringPtrInput `pulumi:"privateEndpointNetworkPolicies"`
+ // Enable or Disable apply network policies on private link service in the subnet.
+ PrivateLinkServiceNetworkPolicies pulumi.StringPtrInput `pulumi:"privateLinkServiceNetworkPolicies"`
// The provisioning state of the resource.
ProvisioningState pulumi.StringPtrInput `pulumi:"provisioningState"`
- // The type of the endpoint service.
- Service pulumi.StringPtrInput `pulumi:"service"`
-}
-
-func (ServiceEndpointPropertiesFormatArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceEndpointPropertiesFormat)(nil)).Elem()
+ // Gets an array of references to the external resources using subnet.
+ ResourceNavigationLinks ResourceNavigationLinkArrayInput `pulumi:"resourceNavigationLinks"`
+ // The reference to the RouteTable resource.
+ RouteTable RouteTableTypePtrInput `pulumi:"routeTable"`
+ // Gets an array of references to services injecting into this subnet.
+ ServiceAssociationLinks ServiceAssociationLinkArrayInput `pulumi:"serviceAssociationLinks"`
+ // An array of service endpoint policies.
+ ServiceEndpointPolicies ServiceEndpointPolicyTypeArrayInput `pulumi:"serviceEndpointPolicies"`
+ // An array of service endpoints.
+ ServiceEndpoints ServiceEndpointPropertiesFormatArrayInput `pulumi:"serviceEndpoints"`
+ // Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+ SharingScope pulumi.StringPtrInput `pulumi:"sharingScope"`
+ // Resource type.
+ Type pulumi.StringPtrInput `pulumi:"type"`
}
-func (i ServiceEndpointPropertiesFormatArgs) ToServiceEndpointPropertiesFormatOutput() ServiceEndpointPropertiesFormatOutput {
- return i.ToServiceEndpointPropertiesFormatOutputWithContext(context.Background())
+// Defaults sets the appropriate defaults for SubnetTypeArgs
+func (val *SubnetTypeArgs) Defaults() *SubnetTypeArgs {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.PrivateEndpointNetworkPolicies == nil {
+ tmp.PrivateEndpointNetworkPolicies = pulumi.StringPtr("Disabled")
+ }
+ if tmp.PrivateLinkServiceNetworkPolicies == nil {
+ tmp.PrivateLinkServiceNetworkPolicies = pulumi.StringPtr("Enabled")
+ }
+ return &tmp
}
-
-func (i ServiceEndpointPropertiesFormatArgs) ToServiceEndpointPropertiesFormatOutputWithContext(ctx context.Context) ServiceEndpointPropertiesFormatOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ServiceEndpointPropertiesFormatOutput)
+func (SubnetTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubnetType)(nil)).Elem()
}
-// ServiceEndpointPropertiesFormatArrayInput is an input type that accepts ServiceEndpointPropertiesFormatArray and ServiceEndpointPropertiesFormatArrayOutput values.
-// You can construct a concrete instance of `ServiceEndpointPropertiesFormatArrayInput` via:
-//
-// ServiceEndpointPropertiesFormatArray{ ServiceEndpointPropertiesFormatArgs{...} }
-type ServiceEndpointPropertiesFormatArrayInput interface {
- pulumi.Input
-
- ToServiceEndpointPropertiesFormatArrayOutput() ServiceEndpointPropertiesFormatArrayOutput
- ToServiceEndpointPropertiesFormatArrayOutputWithContext(context.Context) ServiceEndpointPropertiesFormatArrayOutput
+func (i SubnetTypeArgs) ToSubnetTypeOutput() SubnetTypeOutput {
+ return i.ToSubnetTypeOutputWithContext(context.Background())
}
-type ServiceEndpointPropertiesFormatArray []ServiceEndpointPropertiesFormatInput
-
-func (ServiceEndpointPropertiesFormatArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ServiceEndpointPropertiesFormat)(nil)).Elem()
+func (i SubnetTypeArgs) ToSubnetTypeOutputWithContext(ctx context.Context) SubnetTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SubnetTypeOutput)
}
-func (i ServiceEndpointPropertiesFormatArray) ToServiceEndpointPropertiesFormatArrayOutput() ServiceEndpointPropertiesFormatArrayOutput {
- return i.ToServiceEndpointPropertiesFormatArrayOutputWithContext(context.Background())
+func (i SubnetTypeArgs) ToSubnetTypePtrOutput() SubnetTypePtrOutput {
+ return i.ToSubnetTypePtrOutputWithContext(context.Background())
}
-func (i ServiceEndpointPropertiesFormatArray) ToServiceEndpointPropertiesFormatArrayOutputWithContext(ctx context.Context) ServiceEndpointPropertiesFormatArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ServiceEndpointPropertiesFormatArrayOutput)
+func (i SubnetTypeArgs) ToSubnetTypePtrOutputWithContext(ctx context.Context) SubnetTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SubnetTypeOutput).ToSubnetTypePtrOutputWithContext(ctx)
}
-// The service endpoint properties.
-type ServiceEndpointPropertiesFormatOutput struct{ *pulumi.OutputState }
-
-func (ServiceEndpointPropertiesFormatOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceEndpointPropertiesFormat)(nil)).Elem()
-}
+// SubnetTypePtrInput is an input type that accepts SubnetTypeArgs, SubnetTypePtr and SubnetTypePtrOutput values.
+// You can construct a concrete instance of `SubnetTypePtrInput` via:
+//
+// SubnetTypeArgs{...}
+//
+// or:
+//
+// nil
+type SubnetTypePtrInput interface {
+ pulumi.Input
-func (o ServiceEndpointPropertiesFormatOutput) ToServiceEndpointPropertiesFormatOutput() ServiceEndpointPropertiesFormatOutput {
- return o
+ ToSubnetTypePtrOutput() SubnetTypePtrOutput
+ ToSubnetTypePtrOutputWithContext(context.Context) SubnetTypePtrOutput
}
-func (o ServiceEndpointPropertiesFormatOutput) ToServiceEndpointPropertiesFormatOutputWithContext(ctx context.Context) ServiceEndpointPropertiesFormatOutput {
- return o
-}
+type subnetTypePtrType SubnetTypeArgs
-// A list of locations.
-func (o ServiceEndpointPropertiesFormatOutput) Locations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ServiceEndpointPropertiesFormat) []string { return v.Locations }).(pulumi.StringArrayOutput)
+func SubnetTypePtr(v *SubnetTypeArgs) SubnetTypePtrInput {
+ return (*subnetTypePtrType)(v)
}
-// SubResource as network identifier.
-func (o ServiceEndpointPropertiesFormatOutput) NetworkIdentifier() SubResourcePtrOutput {
- return o.ApplyT(func(v ServiceEndpointPropertiesFormat) *SubResource { return v.NetworkIdentifier }).(SubResourcePtrOutput)
+func (*subnetTypePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**SubnetType)(nil)).Elem()
}
-// The provisioning state of the resource.
-func (o ServiceEndpointPropertiesFormatOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPropertiesFormat) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+func (i *subnetTypePtrType) ToSubnetTypePtrOutput() SubnetTypePtrOutput {
+ return i.ToSubnetTypePtrOutputWithContext(context.Background())
}
-// The type of the endpoint service.
-func (o ServiceEndpointPropertiesFormatOutput) Service() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPropertiesFormat) *string { return v.Service }).(pulumi.StringPtrOutput)
+func (i *subnetTypePtrType) ToSubnetTypePtrOutputWithContext(ctx context.Context) SubnetTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SubnetTypePtrOutput)
}
-type ServiceEndpointPropertiesFormatArrayOutput struct{ *pulumi.OutputState }
-
-func (ServiceEndpointPropertiesFormatArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ServiceEndpointPropertiesFormat)(nil)).Elem()
-}
+// SubnetTypeArrayInput is an input type that accepts SubnetTypeArray and SubnetTypeArrayOutput values.
+// You can construct a concrete instance of `SubnetTypeArrayInput` via:
+//
+// SubnetTypeArray{ SubnetTypeArgs{...} }
+type SubnetTypeArrayInput interface {
+ pulumi.Input
-func (o ServiceEndpointPropertiesFormatArrayOutput) ToServiceEndpointPropertiesFormatArrayOutput() ServiceEndpointPropertiesFormatArrayOutput {
- return o
+ ToSubnetTypeArrayOutput() SubnetTypeArrayOutput
+ ToSubnetTypeArrayOutputWithContext(context.Context) SubnetTypeArrayOutput
}
-func (o ServiceEndpointPropertiesFormatArrayOutput) ToServiceEndpointPropertiesFormatArrayOutputWithContext(ctx context.Context) ServiceEndpointPropertiesFormatArrayOutput {
- return o
+type SubnetTypeArray []SubnetTypeInput
+
+func (SubnetTypeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SubnetType)(nil)).Elem()
}
-func (o ServiceEndpointPropertiesFormatArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPropertiesFormatOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPropertiesFormat {
- return vs[0].([]ServiceEndpointPropertiesFormat)[vs[1].(int)]
- }).(ServiceEndpointPropertiesFormatOutput)
+func (i SubnetTypeArray) ToSubnetTypeArrayOutput() SubnetTypeArrayOutput {
+ return i.ToSubnetTypeArrayOutputWithContext(context.Background())
}
-// The service endpoint properties.
-type ServiceEndpointPropertiesFormatResponse struct {
- // A list of locations.
- Locations []string `pulumi:"locations"`
- // SubResource as network identifier.
- NetworkIdentifier *SubResourceResponse `pulumi:"networkIdentifier"`
- // The provisioning state of the service endpoint resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The type of the endpoint service.
- Service *string `pulumi:"service"`
+func (i SubnetTypeArray) ToSubnetTypeArrayOutputWithContext(ctx context.Context) SubnetTypeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SubnetTypeArrayOutput)
}
-// The service endpoint properties.
-type ServiceEndpointPropertiesFormatResponseOutput struct{ *pulumi.OutputState }
+// Subnet in a virtual network resource.
+type SubnetTypeOutput struct{ *pulumi.OutputState }
-func (ServiceEndpointPropertiesFormatResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceEndpointPropertiesFormatResponse)(nil)).Elem()
+func (SubnetTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubnetType)(nil)).Elem()
}
-func (o ServiceEndpointPropertiesFormatResponseOutput) ToServiceEndpointPropertiesFormatResponseOutput() ServiceEndpointPropertiesFormatResponseOutput {
+func (o SubnetTypeOutput) ToSubnetTypeOutput() SubnetTypeOutput {
return o
}
-func (o ServiceEndpointPropertiesFormatResponseOutput) ToServiceEndpointPropertiesFormatResponseOutputWithContext(ctx context.Context) ServiceEndpointPropertiesFormatResponseOutput {
+func (o SubnetTypeOutput) ToSubnetTypeOutputWithContext(ctx context.Context) SubnetTypeOutput {
return o
}
-// A list of locations.
-func (o ServiceEndpointPropertiesFormatResponseOutput) Locations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ServiceEndpointPropertiesFormatResponse) []string { return v.Locations }).(pulumi.StringArrayOutput)
+func (o SubnetTypeOutput) ToSubnetTypePtrOutput() SubnetTypePtrOutput {
+ return o.ToSubnetTypePtrOutputWithContext(context.Background())
}
-// SubResource as network identifier.
-func (o ServiceEndpointPropertiesFormatResponseOutput) NetworkIdentifier() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v ServiceEndpointPropertiesFormatResponse) *SubResourceResponse { return v.NetworkIdentifier }).(SubResourceResponsePtrOutput)
+func (o SubnetTypeOutput) ToSubnetTypePtrOutputWithContext(ctx context.Context) SubnetTypePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v SubnetType) *SubnetType {
+ return &v
+ }).(SubnetTypePtrOutput)
}
-// The provisioning state of the service endpoint resource.
-func (o ServiceEndpointPropertiesFormatResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v ServiceEndpointPropertiesFormatResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The address prefix for the subnet.
+func (o SubnetTypeOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetType) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-// The type of the endpoint service.
-func (o ServiceEndpointPropertiesFormatResponseOutput) Service() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPropertiesFormatResponse) *string { return v.Service }).(pulumi.StringPtrOutput)
+// List of address prefixes for the subnet.
+func (o SubnetTypeOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SubnetType) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
-type ServiceEndpointPropertiesFormatResponseArrayOutput struct{ *pulumi.OutputState }
+// Application gateway IP configurations of virtual network resource.
+func (o SubnetTypeOutput) ApplicationGatewayIPConfigurations() ApplicationGatewayIPConfigurationArrayOutput {
+ return o.ApplyT(func(v SubnetType) []ApplicationGatewayIPConfiguration { return v.ApplicationGatewayIPConfigurations }).(ApplicationGatewayIPConfigurationArrayOutput)
+}
-func (ServiceEndpointPropertiesFormatResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ServiceEndpointPropertiesFormatResponse)(nil)).Elem()
+// Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet.
+func (o SubnetTypeOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v SubnetType) *bool { return v.DefaultOutboundAccess }).(pulumi.BoolPtrOutput)
}
-func (o ServiceEndpointPropertiesFormatResponseArrayOutput) ToServiceEndpointPropertiesFormatResponseArrayOutput() ServiceEndpointPropertiesFormatResponseArrayOutput {
- return o
+// An array of references to the delegations on the subnet.
+func (o SubnetTypeOutput) Delegations() DelegationArrayOutput {
+ return o.ApplyT(func(v SubnetType) []Delegation { return v.Delegations }).(DelegationArrayOutput)
}
-func (o ServiceEndpointPropertiesFormatResponseArrayOutput) ToServiceEndpointPropertiesFormatResponseArrayOutputWithContext(ctx context.Context) ServiceEndpointPropertiesFormatResponseArrayOutput {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o SubnetTypeOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetType) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-func (o ServiceEndpointPropertiesFormatResponseArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPropertiesFormatResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPropertiesFormatResponse {
- return vs[0].([]ServiceEndpointPropertiesFormatResponse)[vs[1].(int)]
- }).(ServiceEndpointPropertiesFormatResponseOutput)
+// Resource ID.
+func (o SubnetTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The service endpoint properties.
-type ServiceEndpointPropertiesFormatResponseV1 struct {
- // A list of locations.
- Locations []string `pulumi:"locations"`
- // The provisioning state of the resource.
- ProvisioningState *string `pulumi:"provisioningState"`
- // The type of the endpoint service.
- Service *string `pulumi:"service"`
+// Array of IpAllocation which reference this subnet.
+func (o SubnetTypeOutput) IpAllocations() SubResourceArrayOutput {
+ return o.ApplyT(func(v SubnetType) []SubResource { return v.IpAllocations }).(SubResourceArrayOutput)
}
-// The service endpoint properties.
-type ServiceEndpointPropertiesFormatResponseV1Output struct{ *pulumi.OutputState }
+// A list of IPAM Pools for allocating IP address prefixes.
+func (o SubnetTypeOutput) IpamPoolPrefixAllocations() IpamPoolPrefixAllocationArrayOutput {
+ return o.ApplyT(func(v SubnetType) []IpamPoolPrefixAllocation { return v.IpamPoolPrefixAllocations }).(IpamPoolPrefixAllocationArrayOutput)
+}
-func (ServiceEndpointPropertiesFormatResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceEndpointPropertiesFormatResponseV1)(nil)).Elem()
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o SubnetTypeOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetType) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o ServiceEndpointPropertiesFormatResponseV1Output) ToServiceEndpointPropertiesFormatResponseV1Output() ServiceEndpointPropertiesFormatResponseV1Output {
- return o
+// Nat gateway associated with this subnet.
+func (o SubnetTypeOutput) NatGateway() SubResourcePtrOutput {
+ return o.ApplyT(func(v SubnetType) *SubResource { return v.NatGateway }).(SubResourcePtrOutput)
}
-func (o ServiceEndpointPropertiesFormatResponseV1Output) ToServiceEndpointPropertiesFormatResponseV1OutputWithContext(ctx context.Context) ServiceEndpointPropertiesFormatResponseV1Output {
- return o
+// The reference to the NetworkSecurityGroup resource.
+func (o SubnetTypeOutput) NetworkSecurityGroup() NetworkSecurityGroupTypePtrOutput {
+ return o.ApplyT(func(v SubnetType) *NetworkSecurityGroupType { return v.NetworkSecurityGroup }).(NetworkSecurityGroupTypePtrOutput)
}
-// A list of locations.
-func (o ServiceEndpointPropertiesFormatResponseV1Output) Locations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v ServiceEndpointPropertiesFormatResponseV1) []string { return v.Locations }).(pulumi.StringArrayOutput)
+// Enable or Disable apply network policies on private end point in the subnet.
+func (o SubnetTypeOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetType) *string { return v.PrivateEndpointNetworkPolicies }).(pulumi.StringPtrOutput)
+}
+
+// Enable or Disable apply network policies on private link service in the subnet.
+func (o SubnetTypeOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetType) *string { return v.PrivateLinkServiceNetworkPolicies }).(pulumi.StringPtrOutput)
}
// The provisioning state of the resource.
-func (o ServiceEndpointPropertiesFormatResponseV1Output) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPropertiesFormatResponseV1) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+func (o SubnetTypeOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetType) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-// The type of the endpoint service.
-func (o ServiceEndpointPropertiesFormatResponseV1Output) Service() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceEndpointPropertiesFormatResponseV1) *string { return v.Service }).(pulumi.StringPtrOutput)
+// Gets an array of references to the external resources using subnet.
+func (o SubnetTypeOutput) ResourceNavigationLinks() ResourceNavigationLinkArrayOutput {
+ return o.ApplyT(func(v SubnetType) []ResourceNavigationLink { return v.ResourceNavigationLinks }).(ResourceNavigationLinkArrayOutput)
}
-type ServiceEndpointPropertiesFormatResponseV1ArrayOutput struct{ *pulumi.OutputState }
+// The reference to the RouteTable resource.
+func (o SubnetTypeOutput) RouteTable() RouteTableTypePtrOutput {
+ return o.ApplyT(func(v SubnetType) *RouteTableType { return v.RouteTable }).(RouteTableTypePtrOutput)
+}
-func (ServiceEndpointPropertiesFormatResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]ServiceEndpointPropertiesFormatResponseV1)(nil)).Elem()
+// Gets an array of references to services injecting into this subnet.
+func (o SubnetTypeOutput) ServiceAssociationLinks() ServiceAssociationLinkArrayOutput {
+ return o.ApplyT(func(v SubnetType) []ServiceAssociationLink { return v.ServiceAssociationLinks }).(ServiceAssociationLinkArrayOutput)
}
-func (o ServiceEndpointPropertiesFormatResponseV1ArrayOutput) ToServiceEndpointPropertiesFormatResponseV1ArrayOutput() ServiceEndpointPropertiesFormatResponseV1ArrayOutput {
- return o
+// An array of service endpoint policies.
+func (o SubnetTypeOutput) ServiceEndpointPolicies() ServiceEndpointPolicyTypeArrayOutput {
+ return o.ApplyT(func(v SubnetType) []ServiceEndpointPolicyType { return v.ServiceEndpointPolicies }).(ServiceEndpointPolicyTypeArrayOutput)
}
-func (o ServiceEndpointPropertiesFormatResponseV1ArrayOutput) ToServiceEndpointPropertiesFormatResponseV1ArrayOutputWithContext(ctx context.Context) ServiceEndpointPropertiesFormatResponseV1ArrayOutput {
- return o
+// An array of service endpoints.
+func (o SubnetTypeOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatArrayOutput {
+ return o.ApplyT(func(v SubnetType) []ServiceEndpointPropertiesFormat { return v.ServiceEndpoints }).(ServiceEndpointPropertiesFormatArrayOutput)
}
-func (o ServiceEndpointPropertiesFormatResponseV1ArrayOutput) Index(i pulumi.IntInput) ServiceEndpointPropertiesFormatResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceEndpointPropertiesFormatResponseV1 {
- return vs[0].([]ServiceEndpointPropertiesFormatResponseV1)[vs[1].(int)]
- }).(ServiceEndpointPropertiesFormatResponseV1Output)
+// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+func (o SubnetTypeOutput) SharingScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetType) *string { return v.SharingScope }).(pulumi.StringPtrOutput)
}
-// SKU of a service gateway.
-type ServiceGatewaySku struct {
- // Name of a service gateway SKU.
- Name *string `pulumi:"name"`
- // Tier of a service gateway SKU.
- Tier *string `pulumi:"tier"`
+// Resource type.
+func (o SubnetTypeOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetType) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// ServiceGatewaySkuInput is an input type that accepts ServiceGatewaySkuArgs and ServiceGatewaySkuOutput values.
-// You can construct a concrete instance of `ServiceGatewaySkuInput` via:
-//
-// ServiceGatewaySkuArgs{...}
-type ServiceGatewaySkuInput interface {
- pulumi.Input
+type SubnetTypePtrOutput struct{ *pulumi.OutputState }
- ToServiceGatewaySkuOutput() ServiceGatewaySkuOutput
- ToServiceGatewaySkuOutputWithContext(context.Context) ServiceGatewaySkuOutput
+func (SubnetTypePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**SubnetType)(nil)).Elem()
}
-// SKU of a service gateway.
-type ServiceGatewaySkuArgs struct {
- // Name of a service gateway SKU.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Tier of a service gateway SKU.
- Tier pulumi.StringPtrInput `pulumi:"tier"`
+func (o SubnetTypePtrOutput) ToSubnetTypePtrOutput() SubnetTypePtrOutput {
+ return o
}
-func (ServiceGatewaySkuArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceGatewaySku)(nil)).Elem()
+func (o SubnetTypePtrOutput) ToSubnetTypePtrOutputWithContext(ctx context.Context) SubnetTypePtrOutput {
+ return o
}
-func (i ServiceGatewaySkuArgs) ToServiceGatewaySkuOutput() ServiceGatewaySkuOutput {
- return i.ToServiceGatewaySkuOutputWithContext(context.Background())
+func (o SubnetTypePtrOutput) Elem() SubnetTypeOutput {
+ return o.ApplyT(func(v *SubnetType) SubnetType {
+ if v != nil {
+ return *v
+ }
+ var ret SubnetType
+ return ret
+ }).(SubnetTypeOutput)
}
-func (i ServiceGatewaySkuArgs) ToServiceGatewaySkuOutputWithContext(ctx context.Context) ServiceGatewaySkuOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ServiceGatewaySkuOutput)
+// The address prefix for the subnet.
+func (o SubnetTypePtrOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.AddressPrefix
+ }).(pulumi.StringPtrOutput)
}
-func (i ServiceGatewaySkuArgs) ToServiceGatewaySkuPtrOutput() ServiceGatewaySkuPtrOutput {
- return i.ToServiceGatewaySkuPtrOutputWithContext(context.Background())
+// List of address prefixes for the subnet.
+func (o SubnetTypePtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *SubnetType) []string {
+ if v == nil {
+ return nil
+ }
+ return v.AddressPrefixes
+ }).(pulumi.StringArrayOutput)
}
-func (i ServiceGatewaySkuArgs) ToServiceGatewaySkuPtrOutputWithContext(ctx context.Context) ServiceGatewaySkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ServiceGatewaySkuOutput).ToServiceGatewaySkuPtrOutputWithContext(ctx)
+// Application gateway IP configurations of virtual network resource.
+func (o SubnetTypePtrOutput) ApplicationGatewayIPConfigurations() ApplicationGatewayIPConfigurationArrayOutput {
+ return o.ApplyT(func(v *SubnetType) []ApplicationGatewayIPConfiguration {
+ if v == nil {
+ return nil
+ }
+ return v.ApplicationGatewayIPConfigurations
+ }).(ApplicationGatewayIPConfigurationArrayOutput)
}
-// ServiceGatewaySkuPtrInput is an input type that accepts ServiceGatewaySkuArgs, ServiceGatewaySkuPtr and ServiceGatewaySkuPtrOutput values.
-// You can construct a concrete instance of `ServiceGatewaySkuPtrInput` via:
-//
-// ServiceGatewaySkuArgs{...}
-//
-// or:
-//
-// nil
-type ServiceGatewaySkuPtrInput interface {
- pulumi.Input
-
- ToServiceGatewaySkuPtrOutput() ServiceGatewaySkuPtrOutput
- ToServiceGatewaySkuPtrOutputWithContext(context.Context) ServiceGatewaySkuPtrOutput
+// Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet.
+func (o SubnetTypePtrOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *SubnetType) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DefaultOutboundAccess
+ }).(pulumi.BoolPtrOutput)
}
-type serviceGatewaySkuPtrType ServiceGatewaySkuArgs
-
-func ServiceGatewaySkuPtr(v *ServiceGatewaySkuArgs) ServiceGatewaySkuPtrInput {
- return (*serviceGatewaySkuPtrType)(v)
+// An array of references to the delegations on the subnet.
+func (o SubnetTypePtrOutput) Delegations() DelegationArrayOutput {
+ return o.ApplyT(func(v *SubnetType) []Delegation {
+ if v == nil {
+ return nil
+ }
+ return v.Delegations
+ }).(DelegationArrayOutput)
}
-func (*serviceGatewaySkuPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**ServiceGatewaySku)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o SubnetTypePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Etag
+ }).(pulumi.StringPtrOutput)
}
-func (i *serviceGatewaySkuPtrType) ToServiceGatewaySkuPtrOutput() ServiceGatewaySkuPtrOutput {
- return i.ToServiceGatewaySkuPtrOutputWithContext(context.Background())
+// Resource ID.
+func (o SubnetTypePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (i *serviceGatewaySkuPtrType) ToServiceGatewaySkuPtrOutputWithContext(ctx context.Context) ServiceGatewaySkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(ServiceGatewaySkuPtrOutput)
+// Array of IpAllocation which reference this subnet.
+func (o SubnetTypePtrOutput) IpAllocations() SubResourceArrayOutput {
+ return o.ApplyT(func(v *SubnetType) []SubResource {
+ if v == nil {
+ return nil
+ }
+ return v.IpAllocations
+ }).(SubResourceArrayOutput)
}
-// SKU of a service gateway.
-type ServiceGatewaySkuOutput struct{ *pulumi.OutputState }
-
-func (ServiceGatewaySkuOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceGatewaySku)(nil)).Elem()
+// A list of IPAM Pools for allocating IP address prefixes.
+func (o SubnetTypePtrOutput) IpamPoolPrefixAllocations() IpamPoolPrefixAllocationArrayOutput {
+ return o.ApplyT(func(v *SubnetType) []IpamPoolPrefixAllocation {
+ if v == nil {
+ return nil
+ }
+ return v.IpamPoolPrefixAllocations
+ }).(IpamPoolPrefixAllocationArrayOutput)
}
-func (o ServiceGatewaySkuOutput) ToServiceGatewaySkuOutput() ServiceGatewaySkuOutput {
- return o
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o SubnetTypePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o ServiceGatewaySkuOutput) ToServiceGatewaySkuOutputWithContext(ctx context.Context) ServiceGatewaySkuOutput {
- return o
+// Nat gateway associated with this subnet.
+func (o SubnetTypePtrOutput) NatGateway() SubResourcePtrOutput {
+ return o.ApplyT(func(v *SubnetType) *SubResource {
+ if v == nil {
+ return nil
+ }
+ return v.NatGateway
+ }).(SubResourcePtrOutput)
}
-func (o ServiceGatewaySkuOutput) ToServiceGatewaySkuPtrOutput() ServiceGatewaySkuPtrOutput {
- return o.ToServiceGatewaySkuPtrOutputWithContext(context.Background())
+// The reference to the NetworkSecurityGroup resource.
+func (o SubnetTypePtrOutput) NetworkSecurityGroup() NetworkSecurityGroupTypePtrOutput {
+ return o.ApplyT(func(v *SubnetType) *NetworkSecurityGroupType {
+ if v == nil {
+ return nil
+ }
+ return v.NetworkSecurityGroup
+ }).(NetworkSecurityGroupTypePtrOutput)
}
-func (o ServiceGatewaySkuOutput) ToServiceGatewaySkuPtrOutputWithContext(ctx context.Context) ServiceGatewaySkuPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceGatewaySku) *ServiceGatewaySku {
- return &v
- }).(ServiceGatewaySkuPtrOutput)
+// Enable or Disable apply network policies on private end point in the subnet.
+func (o SubnetTypePtrOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateEndpointNetworkPolicies
+ }).(pulumi.StringPtrOutput)
}
-// Name of a service gateway SKU.
-func (o ServiceGatewaySkuOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceGatewaySku) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Enable or Disable apply network policies on private link service in the subnet.
+func (o SubnetTypePtrOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateLinkServiceNetworkPolicies
+ }).(pulumi.StringPtrOutput)
}
-// Tier of a service gateway SKU.
-func (o ServiceGatewaySkuOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceGatewaySku) *string { return v.Tier }).(pulumi.StringPtrOutput)
+// The provisioning state of the resource.
+func (o SubnetTypePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-type ServiceGatewaySkuPtrOutput struct{ *pulumi.OutputState }
+// Gets an array of references to the external resources using subnet.
+func (o SubnetTypePtrOutput) ResourceNavigationLinks() ResourceNavigationLinkArrayOutput {
+ return o.ApplyT(func(v *SubnetType) []ResourceNavigationLink {
+ if v == nil {
+ return nil
+ }
+ return v.ResourceNavigationLinks
+ }).(ResourceNavigationLinkArrayOutput)
+}
-func (ServiceGatewaySkuPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ServiceGatewaySku)(nil)).Elem()
+// The reference to the RouteTable resource.
+func (o SubnetTypePtrOutput) RouteTable() RouteTableTypePtrOutput {
+ return o.ApplyT(func(v *SubnetType) *RouteTableType {
+ if v == nil {
+ return nil
+ }
+ return v.RouteTable
+ }).(RouteTableTypePtrOutput)
}
-func (o ServiceGatewaySkuPtrOutput) ToServiceGatewaySkuPtrOutput() ServiceGatewaySkuPtrOutput {
- return o
+// Gets an array of references to services injecting into this subnet.
+func (o SubnetTypePtrOutput) ServiceAssociationLinks() ServiceAssociationLinkArrayOutput {
+ return o.ApplyT(func(v *SubnetType) []ServiceAssociationLink {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceAssociationLinks
+ }).(ServiceAssociationLinkArrayOutput)
}
-func (o ServiceGatewaySkuPtrOutput) ToServiceGatewaySkuPtrOutputWithContext(ctx context.Context) ServiceGatewaySkuPtrOutput {
- return o
+// An array of service endpoint policies.
+func (o SubnetTypePtrOutput) ServiceEndpointPolicies() ServiceEndpointPolicyTypeArrayOutput {
+ return o.ApplyT(func(v *SubnetType) []ServiceEndpointPolicyType {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceEndpointPolicies
+ }).(ServiceEndpointPolicyTypeArrayOutput)
}
-func (o ServiceGatewaySkuPtrOutput) Elem() ServiceGatewaySkuOutput {
- return o.ApplyT(func(v *ServiceGatewaySku) ServiceGatewaySku {
- if v != nil {
- return *v
+// An array of service endpoints.
+func (o SubnetTypePtrOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatArrayOutput {
+ return o.ApplyT(func(v *SubnetType) []ServiceEndpointPropertiesFormat {
+ if v == nil {
+ return nil
}
- var ret ServiceGatewaySku
- return ret
- }).(ServiceGatewaySkuOutput)
+ return v.ServiceEndpoints
+ }).(ServiceEndpointPropertiesFormatArrayOutput)
}
-// Name of a service gateway SKU.
-func (o ServiceGatewaySkuPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ServiceGatewaySku) *string {
+// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+func (o SubnetTypePtrOutput) SharingScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetType) *string {
if v == nil {
return nil
}
- return v.Name
+ return v.SharingScope
}).(pulumi.StringPtrOutput)
}
-// Tier of a service gateway SKU.
-func (o ServiceGatewaySkuPtrOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ServiceGatewaySku) *string {
+// Resource type.
+func (o SubnetTypePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetType) *string {
if v == nil {
return nil
}
- return v.Tier
+ return v.Type
}).(pulumi.StringPtrOutput)
}
-// SKU of a service gateway.
-type ServiceGatewaySkuResponse struct {
- // Name of a service gateway SKU.
+type SubnetTypeArrayOutput struct{ *pulumi.OutputState }
+
+func (SubnetTypeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SubnetType)(nil)).Elem()
+}
+
+func (o SubnetTypeArrayOutput) ToSubnetTypeArrayOutput() SubnetTypeArrayOutput {
+ return o
+}
+
+func (o SubnetTypeArrayOutput) ToSubnetTypeArrayOutputWithContext(ctx context.Context) SubnetTypeArrayOutput {
+ return o
+}
+
+func (o SubnetTypeArrayOutput) Index(i pulumi.IntInput) SubnetTypeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubnetType {
+ return vs[0].([]SubnetType)[vs[1].(int)]
+ }).(SubnetTypeOutput)
+}
+
+// Subnet in a virtual network resource.
+type SubnetInterfaceEndpointResponse struct {
+ // The address prefix for the subnet.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // List of address prefixes for the subnet.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ // Gets an array of references to the delegations on the subnet.
+ Delegations []DelegationInterfaceEndpointResponse `pulumi:"delegations"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // An array of references to interface endpoints
+ InterfaceEndpoints []InterfaceEndpointResponse `pulumi:"interfaceEndpoints"`
+ // Array of IP configuration profiles which reference this subnet.
+ IpConfigurationProfiles []IPConfigurationProfileInterfaceEndpointResponse `pulumi:"ipConfigurationProfiles"`
+ // Gets an array of references to the network interface IP configurations using subnet.
+ IpConfigurations []IPConfigurationInterfaceEndpointResponse `pulumi:"ipConfigurations"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
Name *string `pulumi:"name"`
- // Tier of a service gateway SKU.
- Tier *string `pulumi:"tier"`
+ // Nat gateway associated with this subnet.
+ NatGateway *SubResourceResponse `pulumi:"natGateway"`
+ // The reference of the NetworkSecurityGroup resource.
+ NetworkSecurityGroup *NetworkSecurityGroupInterfaceEndpointResponse `pulumi:"networkSecurityGroup"`
+ // The provisioning state of the resource.
+ ProvisioningState *string `pulumi:"provisioningState"`
+ // A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+ Purpose string `pulumi:"purpose"`
+ // Gets an array of references to the external resources using subnet.
+ ResourceNavigationLinks []ResourceNavigationLinkInterfaceEndpointResponse `pulumi:"resourceNavigationLinks"`
+ // The reference of the RouteTable resource.
+ RouteTable *RouteTableInterfaceEndpointResponse `pulumi:"routeTable"`
+ // Gets an array of references to services injecting into this subnet.
+ ServiceAssociationLinks []ServiceAssociationLinkInterfaceEndpointResponse `pulumi:"serviceAssociationLinks"`
+ // An array of service endpoint policies.
+ ServiceEndpointPolicies []ServiceEndpointPolicyInterfaceEndpointResponse `pulumi:"serviceEndpointPolicies"`
+ // An array of service endpoints.
+ ServiceEndpoints []ServiceEndpointPropertiesFormatInterfaceEndpointResponse `pulumi:"serviceEndpoints"`
}
-// SKU of a service gateway.
-type ServiceGatewaySkuResponseOutput struct{ *pulumi.OutputState }
+// Subnet in a virtual network resource.
+type SubnetInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
-func (ServiceGatewaySkuResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ServiceGatewaySkuResponse)(nil)).Elem()
+func (SubnetInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubnetInterfaceEndpointResponse)(nil)).Elem()
}
-func (o ServiceGatewaySkuResponseOutput) ToServiceGatewaySkuResponseOutput() ServiceGatewaySkuResponseOutput {
+func (o SubnetInterfaceEndpointResponseOutput) ToSubnetInterfaceEndpointResponseOutput() SubnetInterfaceEndpointResponseOutput {
return o
}
-func (o ServiceGatewaySkuResponseOutput) ToServiceGatewaySkuResponseOutputWithContext(ctx context.Context) ServiceGatewaySkuResponseOutput {
+func (o SubnetInterfaceEndpointResponseOutput) ToSubnetInterfaceEndpointResponseOutputWithContext(ctx context.Context) SubnetInterfaceEndpointResponseOutput {
return o
}
-// Name of a service gateway SKU.
-func (o ServiceGatewaySkuResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceGatewaySkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The address prefix for the subnet.
+func (o SubnetInterfaceEndpointResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-// Tier of a service gateway SKU.
-func (o ServiceGatewaySkuResponseOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ServiceGatewaySkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput)
+// List of address prefixes for the subnet.
+func (o SubnetInterfaceEndpointResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
-type ServiceGatewaySkuResponsePtrOutput struct{ *pulumi.OutputState }
+// Gets an array of references to the delegations on the subnet.
+func (o SubnetInterfaceEndpointResponseOutput) Delegations() DelegationInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) []DelegationInterfaceEndpointResponse { return v.Delegations }).(DelegationInterfaceEndpointResponseArrayOutput)
+}
-func (ServiceGatewaySkuResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**ServiceGatewaySkuResponse)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o SubnetInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-func (o ServiceGatewaySkuResponsePtrOutput) ToServiceGatewaySkuResponsePtrOutput() ServiceGatewaySkuResponsePtrOutput {
- return o
+// Resource ID.
+func (o SubnetInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o ServiceGatewaySkuResponsePtrOutput) ToServiceGatewaySkuResponsePtrOutputWithContext(ctx context.Context) ServiceGatewaySkuResponsePtrOutput {
- return o
+// An array of references to interface endpoints
+func (o SubnetInterfaceEndpointResponseOutput) InterfaceEndpoints() InterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) []InterfaceEndpointResponse { return v.InterfaceEndpoints }).(InterfaceEndpointResponseArrayOutput)
}
-func (o ServiceGatewaySkuResponsePtrOutput) Elem() ServiceGatewaySkuResponseOutput {
- return o.ApplyT(func(v *ServiceGatewaySkuResponse) ServiceGatewaySkuResponse {
- if v != nil {
- return *v
- }
- var ret ServiceGatewaySkuResponse
- return ret
- }).(ServiceGatewaySkuResponseOutput)
+// Array of IP configuration profiles which reference this subnet.
+func (o SubnetInterfaceEndpointResponseOutput) IpConfigurationProfiles() IPConfigurationProfileInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) []IPConfigurationProfileInterfaceEndpointResponse {
+ return v.IpConfigurationProfiles
+ }).(IPConfigurationProfileInterfaceEndpointResponseArrayOutput)
}
-// Name of a service gateway SKU.
-func (o ServiceGatewaySkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ServiceGatewaySkuResponse) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+// Gets an array of references to the network interface IP configurations using subnet.
+func (o SubnetInterfaceEndpointResponseOutput) IpConfigurations() IPConfigurationInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) []IPConfigurationInterfaceEndpointResponse {
+ return v.IpConfigurations
+ }).(IPConfigurationInterfaceEndpointResponseArrayOutput)
}
-// Tier of a service gateway SKU.
-func (o ServiceGatewaySkuResponsePtrOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *ServiceGatewaySkuResponse) *string {
- if v == nil {
- return nil
- }
- return v.Tier
- }).(pulumi.StringPtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o SubnetInterfaceEndpointResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Parameters for SharedKey.
-type SharedKeyPropertiesResponse struct {
- // The provisioning state of the SharedKey resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The value of the shared key for the vpn link connection.
- SharedKey *string `pulumi:"sharedKey"`
- // The length of the shared key for the vpn link connection.
- SharedKeyLength *int `pulumi:"sharedKeyLength"`
+// Nat gateway associated with this subnet.
+func (o SubnetInterfaceEndpointResponseOutput) NatGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) *SubResourceResponse { return v.NatGateway }).(SubResourceResponsePtrOutput)
}
-// Parameters for SharedKey.
-type SharedKeyPropertiesResponseOutput struct{ *pulumi.OutputState }
+// The reference of the NetworkSecurityGroup resource.
+func (o SubnetInterfaceEndpointResponseOutput) NetworkSecurityGroup() NetworkSecurityGroupInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) *NetworkSecurityGroupInterfaceEndpointResponse {
+ return v.NetworkSecurityGroup
+ }).(NetworkSecurityGroupInterfaceEndpointResponsePtrOutput)
+}
-func (SharedKeyPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SharedKeyPropertiesResponse)(nil)).Elem()
+// The provisioning state of the resource.
+func (o SubnetInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
}
-func (o SharedKeyPropertiesResponseOutput) ToSharedKeyPropertiesResponseOutput() SharedKeyPropertiesResponseOutput {
- return o
+// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+func (o SubnetInterfaceEndpointResponseOutput) Purpose() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) string { return v.Purpose }).(pulumi.StringOutput)
}
-func (o SharedKeyPropertiesResponseOutput) ToSharedKeyPropertiesResponseOutputWithContext(ctx context.Context) SharedKeyPropertiesResponseOutput {
- return o
+// Gets an array of references to the external resources using subnet.
+func (o SubnetInterfaceEndpointResponseOutput) ResourceNavigationLinks() ResourceNavigationLinkInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) []ResourceNavigationLinkInterfaceEndpointResponse {
+ return v.ResourceNavigationLinks
+ }).(ResourceNavigationLinkInterfaceEndpointResponseArrayOutput)
}
-// The provisioning state of the SharedKey resource.
-func (o SharedKeyPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v SharedKeyPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The reference of the RouteTable resource.
+func (o SubnetInterfaceEndpointResponseOutput) RouteTable() RouteTableInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) *RouteTableInterfaceEndpointResponse { return v.RouteTable }).(RouteTableInterfaceEndpointResponsePtrOutput)
}
-// The value of the shared key for the vpn link connection.
-func (o SharedKeyPropertiesResponseOutput) SharedKey() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SharedKeyPropertiesResponse) *string { return v.SharedKey }).(pulumi.StringPtrOutput)
+// Gets an array of references to services injecting into this subnet.
+func (o SubnetInterfaceEndpointResponseOutput) ServiceAssociationLinks() ServiceAssociationLinkInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) []ServiceAssociationLinkInterfaceEndpointResponse {
+ return v.ServiceAssociationLinks
+ }).(ServiceAssociationLinkInterfaceEndpointResponseArrayOutput)
}
-// The length of the shared key for the vpn link connection.
-func (o SharedKeyPropertiesResponseOutput) SharedKeyLength() pulumi.IntPtrOutput {
- return o.ApplyT(func(v SharedKeyPropertiesResponse) *int { return v.SharedKeyLength }).(pulumi.IntPtrOutput)
+// An array of service endpoint policies.
+func (o SubnetInterfaceEndpointResponseOutput) ServiceEndpointPolicies() ServiceEndpointPolicyInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) []ServiceEndpointPolicyInterfaceEndpointResponse {
+ return v.ServiceEndpointPolicies
+ }).(ServiceEndpointPolicyInterfaceEndpointResponseArrayOutput)
}
-type SingleQueryResultResponse struct {
- // Describes what is the signature enforces
- Description *string `pulumi:"description"`
- // Describes the list of destination ports related to this signature
- DestinationPorts []string `pulumi:"destinationPorts"`
- // Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - InternalOutbound, 5 - InternalInbound
- Direction *int `pulumi:"direction"`
- // Describes the groups the signature belongs to
- Group *string `pulumi:"group"`
- // Describes if this override is inherited from base policy or not
- InheritedFromParentPolicy *bool `pulumi:"inheritedFromParentPolicy"`
- // Describes the last updated time of the signature (provided from 3rd party vendor)
- LastUpdated *string `pulumi:"lastUpdated"`
- // The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny
- Mode *int `pulumi:"mode"`
- // Describes the protocol the signatures is being enforced in
- Protocol *string `pulumi:"protocol"`
- // Describes the severity of signature: 1 - High, 2 - Medium, 3 - Low
- Severity *int `pulumi:"severity"`
- // The ID of the signature
- SignatureId *int `pulumi:"signatureId"`
- // Describes the list of source ports related to this signature
- SourcePorts []string `pulumi:"sourcePorts"`
+// An array of service endpoints.
+func (o SubnetInterfaceEndpointResponseOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v SubnetInterfaceEndpointResponse) []ServiceEndpointPropertiesFormatInterfaceEndpointResponse {
+ return v.ServiceEndpoints
+ }).(ServiceEndpointPropertiesFormatInterfaceEndpointResponseArrayOutput)
}
-type SingleQueryResultResponseOutput struct{ *pulumi.OutputState }
+type SubnetInterfaceEndpointResponsePtrOutput struct{ *pulumi.OutputState }
-func (SingleQueryResultResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SingleQueryResultResponse)(nil)).Elem()
+func (SubnetInterfaceEndpointResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**SubnetInterfaceEndpointResponse)(nil)).Elem()
}
-func (o SingleQueryResultResponseOutput) ToSingleQueryResultResponseOutput() SingleQueryResultResponseOutput {
+func (o SubnetInterfaceEndpointResponsePtrOutput) ToSubnetInterfaceEndpointResponsePtrOutput() SubnetInterfaceEndpointResponsePtrOutput {
return o
}
-func (o SingleQueryResultResponseOutput) ToSingleQueryResultResponseOutputWithContext(ctx context.Context) SingleQueryResultResponseOutput {
+func (o SubnetInterfaceEndpointResponsePtrOutput) ToSubnetInterfaceEndpointResponsePtrOutputWithContext(ctx context.Context) SubnetInterfaceEndpointResponsePtrOutput {
return o
}
-// Describes what is the signature enforces
-func (o SingleQueryResultResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SingleQueryResultResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o SubnetInterfaceEndpointResponsePtrOutput) Elem() SubnetInterfaceEndpointResponseOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) SubnetInterfaceEndpointResponse {
+ if v != nil {
+ return *v
+ }
+ var ret SubnetInterfaceEndpointResponse
+ return ret
+ }).(SubnetInterfaceEndpointResponseOutput)
}
-// Describes the list of destination ports related to this signature
-func (o SingleQueryResultResponseOutput) DestinationPorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SingleQueryResultResponse) []string { return v.DestinationPorts }).(pulumi.StringArrayOutput)
+// The address prefix for the subnet.
+func (o SubnetInterfaceEndpointResponsePtrOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.AddressPrefix
+ }).(pulumi.StringPtrOutput)
}
-// Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - InternalOutbound, 5 - InternalInbound
-func (o SingleQueryResultResponseOutput) Direction() pulumi.IntPtrOutput {
- return o.ApplyT(func(v SingleQueryResultResponse) *int { return v.Direction }).(pulumi.IntPtrOutput)
+// List of address prefixes for the subnet.
+func (o SubnetInterfaceEndpointResponsePtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.AddressPrefixes
+ }).(pulumi.StringArrayOutput)
}
-// Describes the groups the signature belongs to
-func (o SingleQueryResultResponseOutput) Group() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SingleQueryResultResponse) *string { return v.Group }).(pulumi.StringPtrOutput)
+// Gets an array of references to the delegations on the subnet.
+func (o SubnetInterfaceEndpointResponsePtrOutput) Delegations() DelegationInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) []DelegationInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Delegations
+ }).(DelegationInterfaceEndpointResponseArrayOutput)
}
-// Describes if this override is inherited from base policy or not
-func (o SingleQueryResultResponseOutput) InheritedFromParentPolicy() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v SingleQueryResultResponse) *bool { return v.InheritedFromParentPolicy }).(pulumi.BoolPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o SubnetInterfaceEndpointResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Etag
+ }).(pulumi.StringPtrOutput)
}
-// Describes the last updated time of the signature (provided from 3rd party vendor)
-func (o SingleQueryResultResponseOutput) LastUpdated() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SingleQueryResultResponse) *string { return v.LastUpdated }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o SubnetInterfaceEndpointResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny
-func (o SingleQueryResultResponseOutput) Mode() pulumi.IntPtrOutput {
- return o.ApplyT(func(v SingleQueryResultResponse) *int { return v.Mode }).(pulumi.IntPtrOutput)
+// An array of references to interface endpoints
+func (o SubnetInterfaceEndpointResponsePtrOutput) InterfaceEndpoints() InterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) []InterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.InterfaceEndpoints
+ }).(InterfaceEndpointResponseArrayOutput)
}
-// Describes the protocol the signatures is being enforced in
-func (o SingleQueryResultResponseOutput) Protocol() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SingleQueryResultResponse) *string { return v.Protocol }).(pulumi.StringPtrOutput)
+// Array of IP configuration profiles which reference this subnet.
+func (o SubnetInterfaceEndpointResponsePtrOutput) IpConfigurationProfiles() IPConfigurationProfileInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) []IPConfigurationProfileInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurationProfiles
+ }).(IPConfigurationProfileInterfaceEndpointResponseArrayOutput)
}
-// Describes the severity of signature: 1 - High, 2 - Medium, 3 - Low
-func (o SingleQueryResultResponseOutput) Severity() pulumi.IntPtrOutput {
- return o.ApplyT(func(v SingleQueryResultResponse) *int { return v.Severity }).(pulumi.IntPtrOutput)
+// Gets an array of references to the network interface IP configurations using subnet.
+func (o SubnetInterfaceEndpointResponsePtrOutput) IpConfigurations() IPConfigurationInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) []IPConfigurationInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurations
+ }).(IPConfigurationInterfaceEndpointResponseArrayOutput)
}
-// The ID of the signature
-func (o SingleQueryResultResponseOutput) SignatureId() pulumi.IntPtrOutput {
- return o.ApplyT(func(v SingleQueryResultResponse) *int { return v.SignatureId }).(pulumi.IntPtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o SubnetInterfaceEndpointResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// Describes the list of source ports related to this signature
-func (o SingleQueryResultResponseOutput) SourcePorts() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SingleQueryResultResponse) []string { return v.SourcePorts }).(pulumi.StringArrayOutput)
+// Nat gateway associated with this subnet.
+func (o SubnetInterfaceEndpointResponsePtrOutput) NatGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.NatGateway
+ }).(SubResourceResponsePtrOutput)
}
-type SingleQueryResultResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (SingleQueryResultResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SingleQueryResultResponse)(nil)).Elem()
+// The reference of the NetworkSecurityGroup resource.
+func (o SubnetInterfaceEndpointResponsePtrOutput) NetworkSecurityGroup() NetworkSecurityGroupInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) *NetworkSecurityGroupInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.NetworkSecurityGroup
+ }).(NetworkSecurityGroupInterfaceEndpointResponsePtrOutput)
}
-func (o SingleQueryResultResponseArrayOutput) ToSingleQueryResultResponseArrayOutput() SingleQueryResultResponseArrayOutput {
- return o
+// The provisioning state of the resource.
+func (o SubnetInterfaceEndpointResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-func (o SingleQueryResultResponseArrayOutput) ToSingleQueryResultResponseArrayOutputWithContext(ctx context.Context) SingleQueryResultResponseArrayOutput {
- return o
+// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+func (o SubnetInterfaceEndpointResponsePtrOutput) Purpose() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Purpose
+ }).(pulumi.StringPtrOutput)
}
-func (o SingleQueryResultResponseArrayOutput) Index(i pulumi.IntInput) SingleQueryResultResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) SingleQueryResultResponse {
- return vs[0].([]SingleQueryResultResponse)[vs[1].(int)]
- }).(SingleQueryResultResponseOutput)
+// Gets an array of references to the external resources using subnet.
+func (o SubnetInterfaceEndpointResponsePtrOutput) ResourceNavigationLinks() ResourceNavigationLinkInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) []ResourceNavigationLinkInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ResourceNavigationLinks
+ }).(ResourceNavigationLinkInterfaceEndpointResponseArrayOutput)
}
-// The sku of this Bastion Host.
-type Sku struct {
- // The name of the sku of this Bastion Host.
- Name *string `pulumi:"name"`
+// The reference of the RouteTable resource.
+func (o SubnetInterfaceEndpointResponsePtrOutput) RouteTable() RouteTableInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) *RouteTableInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.RouteTable
+ }).(RouteTableInterfaceEndpointResponsePtrOutput)
}
-// Defaults sets the appropriate defaults for Sku
-func (val *Sku) Defaults() *Sku {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.Name == nil {
- name_ := "Standard"
- tmp.Name = &name_
- }
- return &tmp
+// Gets an array of references to services injecting into this subnet.
+func (o SubnetInterfaceEndpointResponsePtrOutput) ServiceAssociationLinks() ServiceAssociationLinkInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) []ServiceAssociationLinkInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceAssociationLinks
+ }).(ServiceAssociationLinkInterfaceEndpointResponseArrayOutput)
}
-// SkuInput is an input type that accepts SkuArgs and SkuOutput values.
-// You can construct a concrete instance of `SkuInput` via:
-//
-// SkuArgs{...}
-type SkuInput interface {
- pulumi.Input
+// An array of service endpoint policies.
+func (o SubnetInterfaceEndpointResponsePtrOutput) ServiceEndpointPolicies() ServiceEndpointPolicyInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) []ServiceEndpointPolicyInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceEndpointPolicies
+ }).(ServiceEndpointPolicyInterfaceEndpointResponseArrayOutput)
+}
- ToSkuOutput() SkuOutput
- ToSkuOutputWithContext(context.Context) SkuOutput
+// An array of service endpoints.
+func (o SubnetInterfaceEndpointResponsePtrOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetInterfaceEndpointResponse) []ServiceEndpointPropertiesFormatInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceEndpoints
+ }).(ServiceEndpointPropertiesFormatInterfaceEndpointResponseArrayOutput)
}
-// The sku of this Bastion Host.
-type SkuArgs struct {
- // The name of the sku of this Bastion Host.
- Name pulumi.StringPtrInput `pulumi:"name"`
+// Subnet in a virtual network resource.
+type SubnetResponse struct {
+ // The address prefix for the subnet.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // List of address prefixes for the subnet.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ // Application gateway IP configurations of virtual network resource.
+ ApplicationGatewayIPConfigurations []ApplicationGatewayIPConfigurationResponse `pulumi:"applicationGatewayIPConfigurations"`
+ // Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet.
+ DefaultOutboundAccess *bool `pulumi:"defaultOutboundAccess"`
+ // An array of references to the delegations on the subnet.
+ Delegations []DelegationResponse `pulumi:"delegations"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Array of IpAllocation which reference this subnet.
+ IpAllocations []SubResourceResponse `pulumi:"ipAllocations"`
+ // Array of IP configuration profiles which reference this subnet.
+ IpConfigurationProfiles []IPConfigurationProfileResponse `pulumi:"ipConfigurationProfiles"`
+ // An array of references to the network interface IP configurations using subnet.
+ IpConfigurations []IPConfigurationResponse `pulumi:"ipConfigurations"`
+ // A list of IPAM Pools for allocating IP address prefixes.
+ IpamPoolPrefixAllocations []IpamPoolPrefixAllocationResponse `pulumi:"ipamPoolPrefixAllocations"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Nat gateway associated with this subnet.
+ NatGateway *SubResourceResponse `pulumi:"natGateway"`
+ // The reference to the NetworkSecurityGroup resource.
+ NetworkSecurityGroup *NetworkSecurityGroupResponse `pulumi:"networkSecurityGroup"`
+ // Enable or Disable apply network policies on private end point in the subnet.
+ PrivateEndpointNetworkPolicies *string `pulumi:"privateEndpointNetworkPolicies"`
+ // An array of references to private endpoints.
+ PrivateEndpoints []PrivateEndpointResponse `pulumi:"privateEndpoints"`
+ // Enable or Disable apply network policies on private link service in the subnet.
+ PrivateLinkServiceNetworkPolicies *string `pulumi:"privateLinkServiceNetworkPolicies"`
+ // The provisioning state of the subnet resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+ Purpose string `pulumi:"purpose"`
+ // An array of references to the external resources using subnet.
+ ResourceNavigationLinks []ResourceNavigationLinkResponse `pulumi:"resourceNavigationLinks"`
+ // The reference to the RouteTable resource.
+ RouteTable *RouteTableResponse `pulumi:"routeTable"`
+ // An array of references to services injecting into this subnet.
+ ServiceAssociationLinks []ServiceAssociationLinkResponse `pulumi:"serviceAssociationLinks"`
+ // An array of service endpoint policies.
+ ServiceEndpointPolicies []ServiceEndpointPolicyResponse `pulumi:"serviceEndpointPolicies"`
+ // An array of service endpoints.
+ ServiceEndpoints []ServiceEndpointPropertiesFormatResponse `pulumi:"serviceEndpoints"`
+ // Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+ SharingScope *string `pulumi:"sharingScope"`
+ // Resource type.
+ Type *string `pulumi:"type"`
}
-// Defaults sets the appropriate defaults for SkuArgs
-func (val *SkuArgs) Defaults() *SkuArgs {
+// Defaults sets the appropriate defaults for SubnetResponse
+func (val *SubnetResponse) Defaults() *SubnetResponse {
if val == nil {
return nil
}
tmp := *val
- if tmp.Name == nil {
- tmp.Name = pulumi.StringPtr("Standard")
+ if tmp.PrivateEndpointNetworkPolicies == nil {
+ privateEndpointNetworkPolicies_ := "Disabled"
+ tmp.PrivateEndpointNetworkPolicies = &privateEndpointNetworkPolicies_
+ }
+ if tmp.PrivateLinkServiceNetworkPolicies == nil {
+ privateLinkServiceNetworkPolicies_ := "Enabled"
+ tmp.PrivateLinkServiceNetworkPolicies = &privateLinkServiceNetworkPolicies_
}
return &tmp
}
-func (SkuArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*Sku)(nil)).Elem()
-}
-func (i SkuArgs) ToSkuOutput() SkuOutput {
- return i.ToSkuOutputWithContext(context.Background())
-}
+// Subnet in a virtual network resource.
+type SubnetResponseOutput struct{ *pulumi.OutputState }
-func (i SkuArgs) ToSkuOutputWithContext(ctx context.Context) SkuOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SkuOutput)
+func (SubnetResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubnetResponse)(nil)).Elem()
}
-func (i SkuArgs) ToSkuPtrOutput() SkuPtrOutput {
- return i.ToSkuPtrOutputWithContext(context.Background())
+func (o SubnetResponseOutput) ToSubnetResponseOutput() SubnetResponseOutput {
+ return o
}
-func (i SkuArgs) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SkuOutput).ToSkuPtrOutputWithContext(ctx)
+func (o SubnetResponseOutput) ToSubnetResponseOutputWithContext(ctx context.Context) SubnetResponseOutput {
+ return o
}
-// SkuPtrInput is an input type that accepts SkuArgs, SkuPtr and SkuPtrOutput values.
-// You can construct a concrete instance of `SkuPtrInput` via:
-//
-// SkuArgs{...}
-//
-// or:
-//
-// nil
-type SkuPtrInput interface {
- pulumi.Input
-
- ToSkuPtrOutput() SkuPtrOutput
- ToSkuPtrOutputWithContext(context.Context) SkuPtrOutput
+// The address prefix for the subnet.
+func (o SubnetResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-type skuPtrType SkuArgs
+// List of address prefixes for the subnet.
+func (o SubnetResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SubnetResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+}
-func SkuPtr(v *SkuArgs) SkuPtrInput {
- return (*skuPtrType)(v)
+// Application gateway IP configurations of virtual network resource.
+func (o SubnetResponseOutput) ApplicationGatewayIPConfigurations() ApplicationGatewayIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponse) []ApplicationGatewayIPConfigurationResponse {
+ return v.ApplicationGatewayIPConfigurations
+ }).(ApplicationGatewayIPConfigurationResponseArrayOutput)
}
-func (*skuPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**Sku)(nil)).Elem()
+// Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet.
+func (o SubnetResponseOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v SubnetResponse) *bool { return v.DefaultOutboundAccess }).(pulumi.BoolPtrOutput)
}
-func (i *skuPtrType) ToSkuPtrOutput() SkuPtrOutput {
- return i.ToSkuPtrOutputWithContext(context.Background())
+// An array of references to the delegations on the subnet.
+func (o SubnetResponseOutput) Delegations() DelegationResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponse) []DelegationResponse { return v.Delegations }).(DelegationResponseArrayOutput)
}
-func (i *skuPtrType) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SkuPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o SubnetResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// The sku of this Bastion Host.
-type SkuOutput struct{ *pulumi.OutputState }
+// Resource ID.
+func (o SubnetResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
-func (SkuOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*Sku)(nil)).Elem()
+// Array of IpAllocation which reference this subnet.
+func (o SubnetResponseOutput) IpAllocations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponse) []SubResourceResponse { return v.IpAllocations }).(SubResourceResponseArrayOutput)
}
-func (o SkuOutput) ToSkuOutput() SkuOutput {
- return o
+// Array of IP configuration profiles which reference this subnet.
+func (o SubnetResponseOutput) IpConfigurationProfiles() IPConfigurationProfileResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponse) []IPConfigurationProfileResponse { return v.IpConfigurationProfiles }).(IPConfigurationProfileResponseArrayOutput)
}
-func (o SkuOutput) ToSkuOutputWithContext(ctx context.Context) SkuOutput {
- return o
+// An array of references to the network interface IP configurations using subnet.
+func (o SubnetResponseOutput) IpConfigurations() IPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponse) []IPConfigurationResponse { return v.IpConfigurations }).(IPConfigurationResponseArrayOutput)
}
-func (o SkuOutput) ToSkuPtrOutput() SkuPtrOutput {
- return o.ToSkuPtrOutputWithContext(context.Background())
+// A list of IPAM Pools for allocating IP address prefixes.
+func (o SubnetResponseOutput) IpamPoolPrefixAllocations() IpamPoolPrefixAllocationResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponse) []IpamPoolPrefixAllocationResponse { return v.IpamPoolPrefixAllocations }).(IpamPoolPrefixAllocationResponseArrayOutput)
}
-func (o SkuOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v Sku) *Sku {
- return &v
- }).(SkuPtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o SubnetResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The name of the sku of this Bastion Host.
-func (o SkuOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v Sku) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Nat gateway associated with this subnet.
+func (o SubnetResponseOutput) NatGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v SubnetResponse) *SubResourceResponse { return v.NatGateway }).(SubResourceResponsePtrOutput)
}
-type SkuPtrOutput struct{ *pulumi.OutputState }
+// The reference to the NetworkSecurityGroup resource.
+func (o SubnetResponseOutput) NetworkSecurityGroup() NetworkSecurityGroupResponsePtrOutput {
+ return o.ApplyT(func(v SubnetResponse) *NetworkSecurityGroupResponse { return v.NetworkSecurityGroup }).(NetworkSecurityGroupResponsePtrOutput)
+}
-func (SkuPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**Sku)(nil)).Elem()
+// Enable or Disable apply network policies on private end point in the subnet.
+func (o SubnetResponseOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponse) *string { return v.PrivateEndpointNetworkPolicies }).(pulumi.StringPtrOutput)
}
-func (o SkuPtrOutput) ToSkuPtrOutput() SkuPtrOutput {
- return o
+// An array of references to private endpoints.
+func (o SubnetResponseOutput) PrivateEndpoints() PrivateEndpointResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponse) []PrivateEndpointResponse { return v.PrivateEndpoints }).(PrivateEndpointResponseArrayOutput)
}
-func (o SkuPtrOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput {
- return o
+// Enable or Disable apply network policies on private link service in the subnet.
+func (o SubnetResponseOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponse) *string { return v.PrivateLinkServiceNetworkPolicies }).(pulumi.StringPtrOutput)
}
-func (o SkuPtrOutput) Elem() SkuOutput {
- return o.ApplyT(func(v *Sku) Sku {
- if v != nil {
- return *v
- }
- var ret Sku
- return ret
- }).(SkuOutput)
+// The provisioning state of the subnet resource.
+func (o SubnetResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The name of the sku of this Bastion Host.
-func (o SkuPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *Sku) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+func (o SubnetResponseOutput) Purpose() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetResponse) string { return v.Purpose }).(pulumi.StringOutput)
}
-// The sku of this Bastion Host.
-type SkuResponse struct {
- // The name of the sku of this Bastion Host.
- Name *string `pulumi:"name"`
+// An array of references to the external resources using subnet.
+func (o SubnetResponseOutput) ResourceNavigationLinks() ResourceNavigationLinkResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponse) []ResourceNavigationLinkResponse { return v.ResourceNavigationLinks }).(ResourceNavigationLinkResponseArrayOutput)
}
-// Defaults sets the appropriate defaults for SkuResponse
-func (val *SkuResponse) Defaults() *SkuResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.Name == nil {
- name_ := "Standard"
- tmp.Name = &name_
- }
- return &tmp
+// The reference to the RouteTable resource.
+func (o SubnetResponseOutput) RouteTable() RouteTableResponsePtrOutput {
+ return o.ApplyT(func(v SubnetResponse) *RouteTableResponse { return v.RouteTable }).(RouteTableResponsePtrOutput)
}
-// The sku of this Bastion Host.
-type SkuResponseOutput struct{ *pulumi.OutputState }
+// An array of references to services injecting into this subnet.
+func (o SubnetResponseOutput) ServiceAssociationLinks() ServiceAssociationLinkResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponse) []ServiceAssociationLinkResponse { return v.ServiceAssociationLinks }).(ServiceAssociationLinkResponseArrayOutput)
+}
-func (SkuResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SkuResponse)(nil)).Elem()
+// An array of service endpoint policies.
+func (o SubnetResponseOutput) ServiceEndpointPolicies() ServiceEndpointPolicyResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponse) []ServiceEndpointPolicyResponse { return v.ServiceEndpointPolicies }).(ServiceEndpointPolicyResponseArrayOutput)
}
-func (o SkuResponseOutput) ToSkuResponseOutput() SkuResponseOutput {
- return o
+// An array of service endpoints.
+func (o SubnetResponseOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponse) []ServiceEndpointPropertiesFormatResponse { return v.ServiceEndpoints }).(ServiceEndpointPropertiesFormatResponseArrayOutput)
}
-func (o SkuResponseOutput) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput {
- return o
+// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+func (o SubnetResponseOutput) SharingScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponse) *string { return v.SharingScope }).(pulumi.StringPtrOutput)
}
-// The name of the sku of this Bastion Host.
-func (o SkuResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Resource type.
+func (o SubnetResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-type SkuResponsePtrOutput struct{ *pulumi.OutputState }
+type SubnetResponsePtrOutput struct{ *pulumi.OutputState }
-func (SkuResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**SkuResponse)(nil)).Elem()
+func (SubnetResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**SubnetResponse)(nil)).Elem()
}
-func (o SkuResponsePtrOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput {
+func (o SubnetResponsePtrOutput) ToSubnetResponsePtrOutput() SubnetResponsePtrOutput {
return o
}
-func (o SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput {
+func (o SubnetResponsePtrOutput) ToSubnetResponsePtrOutputWithContext(ctx context.Context) SubnetResponsePtrOutput {
return o
}
-func (o SkuResponsePtrOutput) Elem() SkuResponseOutput {
- return o.ApplyT(func(v *SkuResponse) SkuResponse {
+func (o SubnetResponsePtrOutput) Elem() SubnetResponseOutput {
+ return o.ApplyT(func(v *SubnetResponse) SubnetResponse {
if v != nil {
return *v
}
- var ret SkuResponse
+ var ret SubnetResponse
return ret
- }).(SkuResponseOutput)
+ }).(SubnetResponseOutput)
}
-// The name of the sku of this Bastion Host.
-func (o SkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SkuResponse) *string {
+// The address prefix for the subnet.
+func (o SubnetResponsePtrOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponse) *string {
if v == nil {
return nil
}
- return v.Name
+ return v.AddressPrefix
}).(pulumi.StringPtrOutput)
}
-// Properties of static CIDR resource.
-type StaticCidrProperties struct {
- // List of IP address prefixes of the resource.
- AddressPrefixes []string `pulumi:"addressPrefixes"`
- Description *string `pulumi:"description"`
- // Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space.
- NumberOfIPAddressesToAllocate *string `pulumi:"numberOfIPAddressesToAllocate"`
-}
-
-// StaticCidrPropertiesInput is an input type that accepts StaticCidrPropertiesArgs and StaticCidrPropertiesOutput values.
-// You can construct a concrete instance of `StaticCidrPropertiesInput` via:
-//
-// StaticCidrPropertiesArgs{...}
-type StaticCidrPropertiesInput interface {
- pulumi.Input
-
- ToStaticCidrPropertiesOutput() StaticCidrPropertiesOutput
- ToStaticCidrPropertiesOutputWithContext(context.Context) StaticCidrPropertiesOutput
-}
-
-// Properties of static CIDR resource.
-type StaticCidrPropertiesArgs struct {
- // List of IP address prefixes of the resource.
- AddressPrefixes pulumi.StringArrayInput `pulumi:"addressPrefixes"`
- Description pulumi.StringPtrInput `pulumi:"description"`
- // Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space.
- NumberOfIPAddressesToAllocate pulumi.StringPtrInput `pulumi:"numberOfIPAddressesToAllocate"`
-}
-
-func (StaticCidrPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticCidrProperties)(nil)).Elem()
+// List of address prefixes for the subnet.
+func (o SubnetResponsePtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *SubnetResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.AddressPrefixes
+ }).(pulumi.StringArrayOutput)
}
-func (i StaticCidrPropertiesArgs) ToStaticCidrPropertiesOutput() StaticCidrPropertiesOutput {
- return i.ToStaticCidrPropertiesOutputWithContext(context.Background())
+// Application gateway IP configurations of virtual network resource.
+func (o SubnetResponsePtrOutput) ApplicationGatewayIPConfigurations() ApplicationGatewayIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponse) []ApplicationGatewayIPConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ApplicationGatewayIPConfigurations
+ }).(ApplicationGatewayIPConfigurationResponseArrayOutput)
}
-func (i StaticCidrPropertiesArgs) ToStaticCidrPropertiesOutputWithContext(ctx context.Context) StaticCidrPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(StaticCidrPropertiesOutput)
+// Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet.
+func (o SubnetResponsePtrOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *SubnetResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DefaultOutboundAccess
+ }).(pulumi.BoolPtrOutput)
}
-func (i StaticCidrPropertiesArgs) ToStaticCidrPropertiesPtrOutput() StaticCidrPropertiesPtrOutput {
- return i.ToStaticCidrPropertiesPtrOutputWithContext(context.Background())
+// An array of references to the delegations on the subnet.
+func (o SubnetResponsePtrOutput) Delegations() DelegationResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponse) []DelegationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Delegations
+ }).(DelegationResponseArrayOutput)
}
-func (i StaticCidrPropertiesArgs) ToStaticCidrPropertiesPtrOutputWithContext(ctx context.Context) StaticCidrPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(StaticCidrPropertiesOutput).ToStaticCidrPropertiesPtrOutputWithContext(ctx)
+// A unique read-only string that changes whenever the resource is updated.
+func (o SubnetResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-// StaticCidrPropertiesPtrInput is an input type that accepts StaticCidrPropertiesArgs, StaticCidrPropertiesPtr and StaticCidrPropertiesPtrOutput values.
-// You can construct a concrete instance of `StaticCidrPropertiesPtrInput` via:
-//
-// StaticCidrPropertiesArgs{...}
-//
-// or:
-//
-// nil
-type StaticCidrPropertiesPtrInput interface {
- pulumi.Input
-
- ToStaticCidrPropertiesPtrOutput() StaticCidrPropertiesPtrOutput
- ToStaticCidrPropertiesPtrOutputWithContext(context.Context) StaticCidrPropertiesPtrOutput
+// Resource ID.
+func (o SubnetResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-type staticCidrPropertiesPtrType StaticCidrPropertiesArgs
-
-func StaticCidrPropertiesPtr(v *StaticCidrPropertiesArgs) StaticCidrPropertiesPtrInput {
- return (*staticCidrPropertiesPtrType)(v)
+// Array of IpAllocation which reference this subnet.
+func (o SubnetResponsePtrOutput) IpAllocations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpAllocations
+ }).(SubResourceResponseArrayOutput)
}
-func (*staticCidrPropertiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**StaticCidrProperties)(nil)).Elem()
+// Array of IP configuration profiles which reference this subnet.
+func (o SubnetResponsePtrOutput) IpConfigurationProfiles() IPConfigurationProfileResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponse) []IPConfigurationProfileResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurationProfiles
+ }).(IPConfigurationProfileResponseArrayOutput)
}
-func (i *staticCidrPropertiesPtrType) ToStaticCidrPropertiesPtrOutput() StaticCidrPropertiesPtrOutput {
- return i.ToStaticCidrPropertiesPtrOutputWithContext(context.Background())
+// An array of references to the network interface IP configurations using subnet.
+func (o SubnetResponsePtrOutput) IpConfigurations() IPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponse) []IPConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurations
+ }).(IPConfigurationResponseArrayOutput)
}
-func (i *staticCidrPropertiesPtrType) ToStaticCidrPropertiesPtrOutputWithContext(ctx context.Context) StaticCidrPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(StaticCidrPropertiesPtrOutput)
+// A list of IPAM Pools for allocating IP address prefixes.
+func (o SubnetResponsePtrOutput) IpamPoolPrefixAllocations() IpamPoolPrefixAllocationResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponse) []IpamPoolPrefixAllocationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpamPoolPrefixAllocations
+ }).(IpamPoolPrefixAllocationResponseArrayOutput)
}
-// Properties of static CIDR resource.
-type StaticCidrPropertiesOutput struct{ *pulumi.OutputState }
-
-func (StaticCidrPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticCidrProperties)(nil)).Elem()
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o SubnetResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o StaticCidrPropertiesOutput) ToStaticCidrPropertiesOutput() StaticCidrPropertiesOutput {
- return o
+// Nat gateway associated with this subnet.
+func (o SubnetResponsePtrOutput) NatGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.NatGateway
+ }).(SubResourceResponsePtrOutput)
}
-func (o StaticCidrPropertiesOutput) ToStaticCidrPropertiesOutputWithContext(ctx context.Context) StaticCidrPropertiesOutput {
- return o
+// The reference to the NetworkSecurityGroup resource.
+func (o SubnetResponsePtrOutput) NetworkSecurityGroup() NetworkSecurityGroupResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetResponse) *NetworkSecurityGroupResponse {
+ if v == nil {
+ return nil
+ }
+ return v.NetworkSecurityGroup
+ }).(NetworkSecurityGroupResponsePtrOutput)
}
-func (o StaticCidrPropertiesOutput) ToStaticCidrPropertiesPtrOutput() StaticCidrPropertiesPtrOutput {
- return o.ToStaticCidrPropertiesPtrOutputWithContext(context.Background())
+// Enable or Disable apply network policies on private end point in the subnet.
+func (o SubnetResponsePtrOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateEndpointNetworkPolicies
+ }).(pulumi.StringPtrOutput)
}
-func (o StaticCidrPropertiesOutput) ToStaticCidrPropertiesPtrOutputWithContext(ctx context.Context) StaticCidrPropertiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v StaticCidrProperties) *StaticCidrProperties {
- return &v
- }).(StaticCidrPropertiesPtrOutput)
+// An array of references to private endpoints.
+func (o SubnetResponsePtrOutput) PrivateEndpoints() PrivateEndpointResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponse) []PrivateEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateEndpoints
+ }).(PrivateEndpointResponseArrayOutput)
}
-// List of IP address prefixes of the resource.
-func (o StaticCidrPropertiesOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v StaticCidrProperties) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+// Enable or Disable apply network policies on private link service in the subnet.
+func (o SubnetResponsePtrOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateLinkServiceNetworkPolicies
+ }).(pulumi.StringPtrOutput)
}
-func (o StaticCidrPropertiesOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticCidrProperties) *string { return v.Description }).(pulumi.StringPtrOutput)
+// The provisioning state of the subnet resource.
+func (o SubnetResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space.
-func (o StaticCidrPropertiesOutput) NumberOfIPAddressesToAllocate() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticCidrProperties) *string { return v.NumberOfIPAddressesToAllocate }).(pulumi.StringPtrOutput)
+// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+func (o SubnetResponsePtrOutput) Purpose() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Purpose
+ }).(pulumi.StringPtrOutput)
}
-type StaticCidrPropertiesPtrOutput struct{ *pulumi.OutputState }
-
-func (StaticCidrPropertiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**StaticCidrProperties)(nil)).Elem()
+// An array of references to the external resources using subnet.
+func (o SubnetResponsePtrOutput) ResourceNavigationLinks() ResourceNavigationLinkResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponse) []ResourceNavigationLinkResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ResourceNavigationLinks
+ }).(ResourceNavigationLinkResponseArrayOutput)
}
-func (o StaticCidrPropertiesPtrOutput) ToStaticCidrPropertiesPtrOutput() StaticCidrPropertiesPtrOutput {
- return o
+// The reference to the RouteTable resource.
+func (o SubnetResponsePtrOutput) RouteTable() RouteTableResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetResponse) *RouteTableResponse {
+ if v == nil {
+ return nil
+ }
+ return v.RouteTable
+ }).(RouteTableResponsePtrOutput)
}
-func (o StaticCidrPropertiesPtrOutput) ToStaticCidrPropertiesPtrOutputWithContext(ctx context.Context) StaticCidrPropertiesPtrOutput {
- return o
+// An array of references to services injecting into this subnet.
+func (o SubnetResponsePtrOutput) ServiceAssociationLinks() ServiceAssociationLinkResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponse) []ServiceAssociationLinkResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceAssociationLinks
+ }).(ServiceAssociationLinkResponseArrayOutput)
}
-func (o StaticCidrPropertiesPtrOutput) Elem() StaticCidrPropertiesOutput {
- return o.ApplyT(func(v *StaticCidrProperties) StaticCidrProperties {
- if v != nil {
- return *v
+// An array of service endpoint policies.
+func (o SubnetResponsePtrOutput) ServiceEndpointPolicies() ServiceEndpointPolicyResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponse) []ServiceEndpointPolicyResponse {
+ if v == nil {
+ return nil
}
- var ret StaticCidrProperties
- return ret
- }).(StaticCidrPropertiesOutput)
+ return v.ServiceEndpointPolicies
+ }).(ServiceEndpointPolicyResponseArrayOutput)
}
-// List of IP address prefixes of the resource.
-func (o StaticCidrPropertiesPtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *StaticCidrProperties) []string {
+// An array of service endpoints.
+func (o SubnetResponsePtrOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponse) []ServiceEndpointPropertiesFormatResponse {
if v == nil {
return nil
}
- return v.AddressPrefixes
- }).(pulumi.StringArrayOutput)
+ return v.ServiceEndpoints
+ }).(ServiceEndpointPropertiesFormatResponseArrayOutput)
}
-func (o StaticCidrPropertiesPtrOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *StaticCidrProperties) *string {
+// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+func (o SubnetResponsePtrOutput) SharingScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponse) *string {
if v == nil {
return nil
}
- return v.Description
+ return v.SharingScope
}).(pulumi.StringPtrOutput)
}
-// Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space.
-func (o StaticCidrPropertiesPtrOutput) NumberOfIPAddressesToAllocate() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *StaticCidrProperties) *string {
+// Resource type.
+func (o SubnetResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponse) *string {
if v == nil {
return nil
}
- return v.NumberOfIPAddressesToAllocate
+ return v.Type
}).(pulumi.StringPtrOutput)
}
-// Properties of static CIDR resource.
-type StaticCidrPropertiesResponse struct {
- // List of IP address prefixes of the resource.
+type SubnetResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (SubnetResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SubnetResponse)(nil)).Elem()
+}
+
+func (o SubnetResponseArrayOutput) ToSubnetResponseArrayOutput() SubnetResponseArrayOutput {
+ return o
+}
+
+func (o SubnetResponseArrayOutput) ToSubnetResponseArrayOutputWithContext(ctx context.Context) SubnetResponseArrayOutput {
+ return o
+}
+
+func (o SubnetResponseArrayOutput) Index(i pulumi.IntInput) SubnetResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubnetResponse {
+ return vs[0].([]SubnetResponse)[vs[1].(int)]
+ }).(SubnetResponseOutput)
+}
+
+// Subnet in a virtual network resource.
+type SubnetResponseV1 struct {
+ // The address prefix for the subnet.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // List of address prefixes for the subnet.
AddressPrefixes []string `pulumi:"addressPrefixes"`
- Description *string `pulumi:"description"`
- // Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space.
- NumberOfIPAddressesToAllocate *string `pulumi:"numberOfIPAddressesToAllocate"`
- // Provisioning states of a resource.
+ // Application gateway IP configurations of virtual network resource.
+ ApplicationGatewayIPConfigurations []ApplicationGatewayIPConfigurationResponse `pulumi:"applicationGatewayIPConfigurations"`
+ // Set this property to false to disable default outbound connectivity for all VMs in the subnet.
+ DefaultOutboundAccess *bool `pulumi:"defaultOutboundAccess"`
+ // An array of references to the delegations on the subnet.
+ Delegations []DelegationResponse `pulumi:"delegations"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Array of IpAllocation which reference this subnet.
+ IpAllocations []SubResourceResponse `pulumi:"ipAllocations"`
+ // Array of IP configuration profiles which reference this subnet.
+ IpConfigurationProfiles []IPConfigurationProfileServiceGatewayResponse `pulumi:"ipConfigurationProfiles"`
+ // An array of references to the network interface IP configurations using subnet.
+ IpConfigurations []IPConfigurationServiceGatewayResponse `pulumi:"ipConfigurations"`
+ // A list of IPAM Pools for allocating IP address prefixes.
+ IpamPoolPrefixAllocations []IpamPoolPrefixAllocationResponse `pulumi:"ipamPoolPrefixAllocations"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // Nat gateway associated with this subnet.
+ NatGateway *SubResourceResponse `pulumi:"natGateway"`
+ // The reference to the NetworkSecurityGroup resource.
+ NetworkSecurityGroup *NetworkSecurityGroupServiceGatewayResponse `pulumi:"networkSecurityGroup"`
+ // Enable or Disable apply network policies on private end point in the subnet.
+ PrivateEndpointNetworkPolicies *string `pulumi:"privateEndpointNetworkPolicies"`
+ // An array of references to private endpoints.
+ PrivateEndpoints []PrivateEndpointServiceGatewayResponse `pulumi:"privateEndpoints"`
+ // Enable or Disable apply network policies on private link service in the subnet.
+ PrivateLinkServiceNetworkPolicies *string `pulumi:"privateLinkServiceNetworkPolicies"`
+ // The provisioning state of the subnet resource.
ProvisioningState string `pulumi:"provisioningState"`
- // Total number of IP addresses allocated for the static CIDR resource.
- TotalNumberOfIPAddresses string `pulumi:"totalNumberOfIPAddresses"`
+ // A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+ Purpose string `pulumi:"purpose"`
+ // An array of references to the external resources using subnet.
+ ResourceNavigationLinks []ResourceNavigationLinkResponse `pulumi:"resourceNavigationLinks"`
+ // The reference to the RouteTable resource.
+ RouteTable *RouteTableServiceGatewayResponse `pulumi:"routeTable"`
+ // An array of references to services injecting into this subnet.
+ ServiceAssociationLinks []ServiceAssociationLinkResponse `pulumi:"serviceAssociationLinks"`
+ // An array of service endpoint policies.
+ ServiceEndpointPolicies []ServiceEndpointPolicyServiceGatewayResponse `pulumi:"serviceEndpointPolicies"`
+ // An array of service endpoints.
+ ServiceEndpoints []ServiceEndpointPropertiesFormatResponse `pulumi:"serviceEndpoints"`
+ // Reference to an existing service gateway.
+ ServiceGateway *SubResourceResponse `pulumi:"serviceGateway"`
+ // Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+ SharingScope *string `pulumi:"sharingScope"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// Properties of static CIDR resource.
-type StaticCidrPropertiesResponseOutput struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for SubnetResponseV1
+func (val *SubnetResponseV1) Defaults() *SubnetResponseV1 {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.PrivateEndpointNetworkPolicies == nil {
+ privateEndpointNetworkPolicies_ := "Disabled"
+ tmp.PrivateEndpointNetworkPolicies = &privateEndpointNetworkPolicies_
+ }
+ if tmp.PrivateLinkServiceNetworkPolicies == nil {
+ privateLinkServiceNetworkPolicies_ := "Enabled"
+ tmp.PrivateLinkServiceNetworkPolicies = &privateLinkServiceNetworkPolicies_
+ }
+ return &tmp
+}
-func (StaticCidrPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticCidrPropertiesResponse)(nil)).Elem()
+// Subnet in a virtual network resource.
+type SubnetResponseV1Output struct{ *pulumi.OutputState }
+
+func (SubnetResponseV1Output) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubnetResponseV1)(nil)).Elem()
}
-func (o StaticCidrPropertiesResponseOutput) ToStaticCidrPropertiesResponseOutput() StaticCidrPropertiesResponseOutput {
+func (o SubnetResponseV1Output) ToSubnetResponseV1Output() SubnetResponseV1Output {
return o
}
-func (o StaticCidrPropertiesResponseOutput) ToStaticCidrPropertiesResponseOutputWithContext(ctx context.Context) StaticCidrPropertiesResponseOutput {
+func (o SubnetResponseV1Output) ToSubnetResponseV1OutputWithContext(ctx context.Context) SubnetResponseV1Output {
return o
}
-// List of IP address prefixes of the resource.
-func (o StaticCidrPropertiesResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v StaticCidrPropertiesResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+// The address prefix for the subnet.
+func (o SubnetResponseV1Output) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponseV1) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-func (o StaticCidrPropertiesResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticCidrPropertiesResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+// List of address prefixes for the subnet.
+func (o SubnetResponseV1Output) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV1) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
-// Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space.
-func (o StaticCidrPropertiesResponseOutput) NumberOfIPAddressesToAllocate() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticCidrPropertiesResponse) *string { return v.NumberOfIPAddressesToAllocate }).(pulumi.StringPtrOutput)
+// Application gateway IP configurations of virtual network resource.
+func (o SubnetResponseV1Output) ApplicationGatewayIPConfigurations() ApplicationGatewayIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV1) []ApplicationGatewayIPConfigurationResponse {
+ return v.ApplicationGatewayIPConfigurations
+ }).(ApplicationGatewayIPConfigurationResponseArrayOutput)
}
-// Provisioning states of a resource.
-func (o StaticCidrPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v StaticCidrPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Set this property to false to disable default outbound connectivity for all VMs in the subnet.
+func (o SubnetResponseV1Output) DefaultOutboundAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v SubnetResponseV1) *bool { return v.DefaultOutboundAccess }).(pulumi.BoolPtrOutput)
}
-// Total number of IP addresses allocated for the static CIDR resource.
-func (o StaticCidrPropertiesResponseOutput) TotalNumberOfIPAddresses() pulumi.StringOutput {
- return o.ApplyT(func(v StaticCidrPropertiesResponse) string { return v.TotalNumberOfIPAddresses }).(pulumi.StringOutput)
+// An array of references to the delegations on the subnet.
+func (o SubnetResponseV1Output) Delegations() DelegationResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV1) []DelegationResponse { return v.Delegations }).(DelegationResponseArrayOutput)
}
-// List of all Static Routes.
-type StaticRoute struct {
- // List of all address prefixes.
- AddressPrefixes []string `pulumi:"addressPrefixes"`
- // The name of the StaticRoute that is unique within a VnetRoute.
- Name *string `pulumi:"name"`
- // The ip address of the next hop.
- NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
+// A unique read-only string that changes whenever the resource is updated.
+func (o SubnetResponseV1Output) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetResponseV1) string { return v.Etag }).(pulumi.StringOutput)
}
-// StaticRouteInput is an input type that accepts StaticRouteArgs and StaticRouteOutput values.
-// You can construct a concrete instance of `StaticRouteInput` via:
-//
-// StaticRouteArgs{...}
-type StaticRouteInput interface {
- pulumi.Input
+// Resource ID.
+func (o SubnetResponseV1Output) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
+
+// Array of IpAllocation which reference this subnet.
+func (o SubnetResponseV1Output) IpAllocations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV1) []SubResourceResponse { return v.IpAllocations }).(SubResourceResponseArrayOutput)
+}
+
+// Array of IP configuration profiles which reference this subnet.
+func (o SubnetResponseV1Output) IpConfigurationProfiles() IPConfigurationProfileServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV1) []IPConfigurationProfileServiceGatewayResponse {
+ return v.IpConfigurationProfiles
+ }).(IPConfigurationProfileServiceGatewayResponseArrayOutput)
+}
+
+// An array of references to the network interface IP configurations using subnet.
+func (o SubnetResponseV1Output) IpConfigurations() IPConfigurationServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV1) []IPConfigurationServiceGatewayResponse { return v.IpConfigurations }).(IPConfigurationServiceGatewayResponseArrayOutput)
+}
+
+// A list of IPAM Pools for allocating IP address prefixes.
+func (o SubnetResponseV1Output) IpamPoolPrefixAllocations() IpamPoolPrefixAllocationResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV1) []IpamPoolPrefixAllocationResponse { return v.IpamPoolPrefixAllocations }).(IpamPoolPrefixAllocationResponseArrayOutput)
+}
+
+// Name of the resource.
+func (o SubnetResponseV1Output) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
+
+// Nat gateway associated with this subnet.
+func (o SubnetResponseV1Output) NatGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v SubnetResponseV1) *SubResourceResponse { return v.NatGateway }).(SubResourceResponsePtrOutput)
+}
+
+// The reference to the NetworkSecurityGroup resource.
+func (o SubnetResponseV1Output) NetworkSecurityGroup() NetworkSecurityGroupServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v SubnetResponseV1) *NetworkSecurityGroupServiceGatewayResponse { return v.NetworkSecurityGroup }).(NetworkSecurityGroupServiceGatewayResponsePtrOutput)
+}
+
+// Enable or Disable apply network policies on private end point in the subnet.
+func (o SubnetResponseV1Output) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponseV1) *string { return v.PrivateEndpointNetworkPolicies }).(pulumi.StringPtrOutput)
+}
+
+// An array of references to private endpoints.
+func (o SubnetResponseV1Output) PrivateEndpoints() PrivateEndpointServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV1) []PrivateEndpointServiceGatewayResponse { return v.PrivateEndpoints }).(PrivateEndpointServiceGatewayResponseArrayOutput)
+}
- ToStaticRouteOutput() StaticRouteOutput
- ToStaticRouteOutputWithContext(context.Context) StaticRouteOutput
+// Enable or Disable apply network policies on private link service in the subnet.
+func (o SubnetResponseV1Output) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponseV1) *string { return v.PrivateLinkServiceNetworkPolicies }).(pulumi.StringPtrOutput)
}
-// List of all Static Routes.
-type StaticRouteArgs struct {
- // List of all address prefixes.
- AddressPrefixes pulumi.StringArrayInput `pulumi:"addressPrefixes"`
- // The name of the StaticRoute that is unique within a VnetRoute.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // The ip address of the next hop.
- NextHopIpAddress pulumi.StringPtrInput `pulumi:"nextHopIpAddress"`
+// The provisioning state of the subnet resource.
+func (o SubnetResponseV1Output) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (StaticRouteArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticRoute)(nil)).Elem()
+// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+func (o SubnetResponseV1Output) Purpose() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetResponseV1) string { return v.Purpose }).(pulumi.StringOutput)
}
-func (i StaticRouteArgs) ToStaticRouteOutput() StaticRouteOutput {
- return i.ToStaticRouteOutputWithContext(context.Background())
+// An array of references to the external resources using subnet.
+func (o SubnetResponseV1Output) ResourceNavigationLinks() ResourceNavigationLinkResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV1) []ResourceNavigationLinkResponse { return v.ResourceNavigationLinks }).(ResourceNavigationLinkResponseArrayOutput)
}
-func (i StaticRouteArgs) ToStaticRouteOutputWithContext(ctx context.Context) StaticRouteOutput {
- return pulumi.ToOutputWithContext(ctx, i).(StaticRouteOutput)
+// The reference to the RouteTable resource.
+func (o SubnetResponseV1Output) RouteTable() RouteTableServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v SubnetResponseV1) *RouteTableServiceGatewayResponse { return v.RouteTable }).(RouteTableServiceGatewayResponsePtrOutput)
}
-// StaticRouteArrayInput is an input type that accepts StaticRouteArray and StaticRouteArrayOutput values.
-// You can construct a concrete instance of `StaticRouteArrayInput` via:
-//
-// StaticRouteArray{ StaticRouteArgs{...} }
-type StaticRouteArrayInput interface {
- pulumi.Input
+// An array of references to services injecting into this subnet.
+func (o SubnetResponseV1Output) ServiceAssociationLinks() ServiceAssociationLinkResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV1) []ServiceAssociationLinkResponse { return v.ServiceAssociationLinks }).(ServiceAssociationLinkResponseArrayOutput)
+}
- ToStaticRouteArrayOutput() StaticRouteArrayOutput
- ToStaticRouteArrayOutputWithContext(context.Context) StaticRouteArrayOutput
+// An array of service endpoint policies.
+func (o SubnetResponseV1Output) ServiceEndpointPolicies() ServiceEndpointPolicyServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV1) []ServiceEndpointPolicyServiceGatewayResponse {
+ return v.ServiceEndpointPolicies
+ }).(ServiceEndpointPolicyServiceGatewayResponseArrayOutput)
}
-type StaticRouteArray []StaticRouteInput
+// An array of service endpoints.
+func (o SubnetResponseV1Output) ServiceEndpoints() ServiceEndpointPropertiesFormatResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV1) []ServiceEndpointPropertiesFormatResponse { return v.ServiceEndpoints }).(ServiceEndpointPropertiesFormatResponseArrayOutput)
+}
-func (StaticRouteArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]StaticRoute)(nil)).Elem()
+// Reference to an existing service gateway.
+func (o SubnetResponseV1Output) ServiceGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v SubnetResponseV1) *SubResourceResponse { return v.ServiceGateway }).(SubResourceResponsePtrOutput)
}
-func (i StaticRouteArray) ToStaticRouteArrayOutput() StaticRouteArrayOutput {
- return i.ToStaticRouteArrayOutputWithContext(context.Background())
+// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+func (o SubnetResponseV1Output) SharingScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponseV1) *string { return v.SharingScope }).(pulumi.StringPtrOutput)
}
-func (i StaticRouteArray) ToStaticRouteArrayOutputWithContext(ctx context.Context) StaticRouteArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(StaticRouteArrayOutput)
+// Resource type.
+func (o SubnetResponseV1Output) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetResponseV1) string { return v.Type }).(pulumi.StringOutput)
}
-// List of all Static Routes.
-type StaticRouteOutput struct{ *pulumi.OutputState }
+type SubnetResponseV1PtrOutput struct{ *pulumi.OutputState }
-func (StaticRouteOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticRoute)(nil)).Elem()
+func (SubnetResponseV1PtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**SubnetResponseV1)(nil)).Elem()
}
-func (o StaticRouteOutput) ToStaticRouteOutput() StaticRouteOutput {
+func (o SubnetResponseV1PtrOutput) ToSubnetResponseV1PtrOutput() SubnetResponseV1PtrOutput {
return o
}
-func (o StaticRouteOutput) ToStaticRouteOutputWithContext(ctx context.Context) StaticRouteOutput {
+func (o SubnetResponseV1PtrOutput) ToSubnetResponseV1PtrOutputWithContext(ctx context.Context) SubnetResponseV1PtrOutput {
return o
}
-// List of all address prefixes.
-func (o StaticRouteOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v StaticRoute) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+func (o SubnetResponseV1PtrOutput) Elem() SubnetResponseV1Output {
+ return o.ApplyT(func(v *SubnetResponseV1) SubnetResponseV1 {
+ if v != nil {
+ return *v
+ }
+ var ret SubnetResponseV1
+ return ret
+ }).(SubnetResponseV1Output)
}
-// The name of the StaticRoute that is unique within a VnetRoute.
-func (o StaticRouteOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticRoute) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The address prefix for the subnet.
+func (o SubnetResponseV1PtrOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return v.AddressPrefix
+ }).(pulumi.StringPtrOutput)
}
-// The ip address of the next hop.
-func (o StaticRouteOutput) NextHopIpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticRoute) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
+// List of address prefixes for the subnet.
+func (o SubnetResponseV1PtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) []string {
+ if v == nil {
+ return nil
+ }
+ return v.AddressPrefixes
+ }).(pulumi.StringArrayOutput)
}
-type StaticRouteArrayOutput struct{ *pulumi.OutputState }
+// Application gateway IP configurations of virtual network resource.
+func (o SubnetResponseV1PtrOutput) ApplicationGatewayIPConfigurations() ApplicationGatewayIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) []ApplicationGatewayIPConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ApplicationGatewayIPConfigurations
+ }).(ApplicationGatewayIPConfigurationResponseArrayOutput)
+}
-func (StaticRouteArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]StaticRoute)(nil)).Elem()
+// Set this property to false to disable default outbound connectivity for all VMs in the subnet.
+func (o SubnetResponseV1PtrOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DefaultOutboundAccess
+ }).(pulumi.BoolPtrOutput)
}
-func (o StaticRouteArrayOutput) ToStaticRouteArrayOutput() StaticRouteArrayOutput {
- return o
+// An array of references to the delegations on the subnet.
+func (o SubnetResponseV1PtrOutput) Delegations() DelegationResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) []DelegationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Delegations
+ }).(DelegationResponseArrayOutput)
}
-func (o StaticRouteArrayOutput) ToStaticRouteArrayOutputWithContext(ctx context.Context) StaticRouteArrayOutput {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o SubnetResponseV1PtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-func (o StaticRouteArrayOutput) Index(i pulumi.IntInput) StaticRouteOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) StaticRoute {
- return vs[0].([]StaticRoute)[vs[1].(int)]
- }).(StaticRouteOutput)
+// Resource ID.
+func (o SubnetResponseV1PtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// List of all Static Routes.
-type StaticRouteResponse struct {
- // List of all address prefixes.
- AddressPrefixes []string `pulumi:"addressPrefixes"`
- // The name of the StaticRoute that is unique within a VnetRoute.
- Name *string `pulumi:"name"`
- // The ip address of the next hop.
- NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
+// Array of IpAllocation which reference this subnet.
+func (o SubnetResponseV1PtrOutput) IpAllocations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpAllocations
+ }).(SubResourceResponseArrayOutput)
}
-// List of all Static Routes.
-type StaticRouteResponseOutput struct{ *pulumi.OutputState }
+// Array of IP configuration profiles which reference this subnet.
+func (o SubnetResponseV1PtrOutput) IpConfigurationProfiles() IPConfigurationProfileServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) []IPConfigurationProfileServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurationProfiles
+ }).(IPConfigurationProfileServiceGatewayResponseArrayOutput)
+}
-func (StaticRouteResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticRouteResponse)(nil)).Elem()
+// An array of references to the network interface IP configurations using subnet.
+func (o SubnetResponseV1PtrOutput) IpConfigurations() IPConfigurationServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) []IPConfigurationServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurations
+ }).(IPConfigurationServiceGatewayResponseArrayOutput)
}
-func (o StaticRouteResponseOutput) ToStaticRouteResponseOutput() StaticRouteResponseOutput {
- return o
+// A list of IPAM Pools for allocating IP address prefixes.
+func (o SubnetResponseV1PtrOutput) IpamPoolPrefixAllocations() IpamPoolPrefixAllocationResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) []IpamPoolPrefixAllocationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpamPoolPrefixAllocations
+ }).(IpamPoolPrefixAllocationResponseArrayOutput)
}
-func (o StaticRouteResponseOutput) ToStaticRouteResponseOutputWithContext(ctx context.Context) StaticRouteResponseOutput {
- return o
+// Name of the resource.
+func (o SubnetResponseV1PtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// List of all address prefixes.
-func (o StaticRouteResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v StaticRouteResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+// Nat gateway associated with this subnet.
+func (o SubnetResponseV1PtrOutput) NatGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.NatGateway
+ }).(SubResourceResponsePtrOutput)
}
-// The name of the StaticRoute that is unique within a VnetRoute.
-func (o StaticRouteResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticRouteResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The reference to the NetworkSecurityGroup resource.
+func (o SubnetResponseV1PtrOutput) NetworkSecurityGroup() NetworkSecurityGroupServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) *NetworkSecurityGroupServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.NetworkSecurityGroup
+ }).(NetworkSecurityGroupServiceGatewayResponsePtrOutput)
}
-// The ip address of the next hop.
-func (o StaticRouteResponseOutput) NextHopIpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticRouteResponse) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
+// Enable or Disable apply network policies on private end point in the subnet.
+func (o SubnetResponseV1PtrOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateEndpointNetworkPolicies
+ }).(pulumi.StringPtrOutput)
}
-type StaticRouteResponseArrayOutput struct{ *pulumi.OutputState }
+// An array of references to private endpoints.
+func (o SubnetResponseV1PtrOutput) PrivateEndpoints() PrivateEndpointServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) []PrivateEndpointServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateEndpoints
+ }).(PrivateEndpointServiceGatewayResponseArrayOutput)
+}
-func (StaticRouteResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]StaticRouteResponse)(nil)).Elem()
+// Enable or Disable apply network policies on private link service in the subnet.
+func (o SubnetResponseV1PtrOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateLinkServiceNetworkPolicies
+ }).(pulumi.StringPtrOutput)
}
-func (o StaticRouteResponseArrayOutput) ToStaticRouteResponseArrayOutput() StaticRouteResponseArrayOutput {
- return o
+// The provisioning state of the subnet resource.
+func (o SubnetResponseV1PtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-func (o StaticRouteResponseArrayOutput) ToStaticRouteResponseArrayOutputWithContext(ctx context.Context) StaticRouteResponseArrayOutput {
- return o
+// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+func (o SubnetResponseV1PtrOutput) Purpose() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Purpose
+ }).(pulumi.StringPtrOutput)
}
-func (o StaticRouteResponseArrayOutput) Index(i pulumi.IntInput) StaticRouteResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) StaticRouteResponse {
- return vs[0].([]StaticRouteResponse)[vs[1].(int)]
- }).(StaticRouteResponseOutput)
+// An array of references to the external resources using subnet.
+func (o SubnetResponseV1PtrOutput) ResourceNavigationLinks() ResourceNavigationLinkResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) []ResourceNavigationLinkResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ResourceNavigationLinks
+ }).(ResourceNavigationLinkResponseArrayOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfig struct {
- // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- PropagateStaticRoutes *bool `pulumi:"propagateStaticRoutes"`
- // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
+// The reference to the RouteTable resource.
+func (o SubnetResponseV1PtrOutput) RouteTable() RouteTableServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) *RouteTableServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.RouteTable
+ }).(RouteTableServiceGatewayResponsePtrOutput)
}
-// StaticRoutesConfigInput is an input type that accepts StaticRoutesConfigArgs and StaticRoutesConfigOutput values.
-// You can construct a concrete instance of `StaticRoutesConfigInput` via:
-//
-// StaticRoutesConfigArgs{...}
-type StaticRoutesConfigInput interface {
- pulumi.Input
+// An array of references to services injecting into this subnet.
+func (o SubnetResponseV1PtrOutput) ServiceAssociationLinks() ServiceAssociationLinkResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) []ServiceAssociationLinkResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceAssociationLinks
+ }).(ServiceAssociationLinkResponseArrayOutput)
+}
- ToStaticRoutesConfigOutput() StaticRoutesConfigOutput
- ToStaticRoutesConfigOutputWithContext(context.Context) StaticRoutesConfigOutput
+// An array of service endpoint policies.
+func (o SubnetResponseV1PtrOutput) ServiceEndpointPolicies() ServiceEndpointPolicyServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) []ServiceEndpointPolicyServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceEndpointPolicies
+ }).(ServiceEndpointPolicyServiceGatewayResponseArrayOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigArgs struct {
- // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- PropagateStaticRoutes pulumi.BoolPtrInput `pulumi:"propagateStaticRoutes"`
- // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- VnetLocalRouteOverrideCriteria pulumi.StringPtrInput `pulumi:"vnetLocalRouteOverrideCriteria"`
+// An array of service endpoints.
+func (o SubnetResponseV1PtrOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) []ServiceEndpointPropertiesFormatResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceEndpoints
+ }).(ServiceEndpointPropertiesFormatResponseArrayOutput)
}
-func (StaticRoutesConfigArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticRoutesConfig)(nil)).Elem()
+// Reference to an existing service gateway.
+func (o SubnetResponseV1PtrOutput) ServiceGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceGateway
+ }).(SubResourceResponsePtrOutput)
}
-func (i StaticRoutesConfigArgs) ToStaticRoutesConfigOutput() StaticRoutesConfigOutput {
- return i.ToStaticRoutesConfigOutputWithContext(context.Background())
+// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+func (o SubnetResponseV1PtrOutput) SharingScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return v.SharingScope
+ }).(pulumi.StringPtrOutput)
}
-func (i StaticRoutesConfigArgs) ToStaticRoutesConfigOutputWithContext(ctx context.Context) StaticRoutesConfigOutput {
- return pulumi.ToOutputWithContext(ctx, i).(StaticRoutesConfigOutput)
+// Resource type.
+func (o SubnetResponseV1PtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV1) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-func (i StaticRoutesConfigArgs) ToStaticRoutesConfigPtrOutput() StaticRoutesConfigPtrOutput {
- return i.ToStaticRoutesConfigPtrOutputWithContext(context.Background())
+// Subnet in a virtual network resource.
+type SubnetResponseV2 struct {
+ // The address prefix for the subnet.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // List of address prefixes for the subnet.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ // Application gateway IP configurations of virtual network resource.
+ ApplicationGatewayIPConfigurations []ApplicationGatewayIPConfigurationResponse `pulumi:"applicationGatewayIPConfigurations"`
+ // Set this property to false to disable default outbound connectivity for all VMs in the subnet.
+ DefaultOutboundAccess *bool `pulumi:"defaultOutboundAccess"`
+ // An array of references to the delegations on the subnet.
+ Delegations []DelegationResponse `pulumi:"delegations"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Array of IpAllocation which reference this subnet.
+ IpAllocations []SubResourceResponse `pulumi:"ipAllocations"`
+ // Array of IP configuration profiles which reference this subnet.
+ IpConfigurationProfiles []IPConfigurationProfileVirtualNetworkApplianceResponse `pulumi:"ipConfigurationProfiles"`
+ // An array of references to the network interface IP configurations using subnet.
+ IpConfigurations []IPConfigurationVirtualNetworkApplianceResponse `pulumi:"ipConfigurations"`
+ // A list of IPAM Pools for allocating IP address prefixes.
+ IpamPoolPrefixAllocations []IpamPoolPrefixAllocationResponse `pulumi:"ipamPoolPrefixAllocations"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // Nat gateway associated with this subnet.
+ NatGateway *SubResourceResponse `pulumi:"natGateway"`
+ // The reference to the NetworkSecurityGroup resource.
+ NetworkSecurityGroup *NetworkSecurityGroupVirtualNetworkApplianceResponse `pulumi:"networkSecurityGroup"`
+ // Enable or Disable apply network policies on private end point in the subnet.
+ PrivateEndpointNetworkPolicies *string `pulumi:"privateEndpointNetworkPolicies"`
+ // An array of references to private endpoints.
+ PrivateEndpoints []PrivateEndpointVirtualNetworkApplianceResponse `pulumi:"privateEndpoints"`
+ // Enable or Disable apply network policies on private link service in the subnet.
+ PrivateLinkServiceNetworkPolicies *string `pulumi:"privateLinkServiceNetworkPolicies"`
+ // The provisioning state of the subnet resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+ Purpose string `pulumi:"purpose"`
+ // An array of references to the external resources using subnet.
+ ResourceNavigationLinks []ResourceNavigationLinkResponse `pulumi:"resourceNavigationLinks"`
+ // The reference to the RouteTable resource.
+ RouteTable *RouteTableVirtualNetworkApplianceResponse `pulumi:"routeTable"`
+ // An array of references to services injecting into this subnet.
+ ServiceAssociationLinks []ServiceAssociationLinkResponse `pulumi:"serviceAssociationLinks"`
+ // An array of service endpoint policies.
+ ServiceEndpointPolicies []ServiceEndpointPolicyVirtualNetworkApplianceResponse `pulumi:"serviceEndpointPolicies"`
+ // An array of service endpoints.
+ ServiceEndpoints []ServiceEndpointPropertiesFormatResponse `pulumi:"serviceEndpoints"`
+ // Reference to an existing service gateway.
+ ServiceGateway *SubResourceResponse `pulumi:"serviceGateway"`
+ // Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+ SharingScope *string `pulumi:"sharingScope"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-func (i StaticRoutesConfigArgs) ToStaticRoutesConfigPtrOutputWithContext(ctx context.Context) StaticRoutesConfigPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(StaticRoutesConfigOutput).ToStaticRoutesConfigPtrOutputWithContext(ctx)
+// Defaults sets the appropriate defaults for SubnetResponseV2
+func (val *SubnetResponseV2) Defaults() *SubnetResponseV2 {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.PrivateEndpointNetworkPolicies == nil {
+ privateEndpointNetworkPolicies_ := "Disabled"
+ tmp.PrivateEndpointNetworkPolicies = &privateEndpointNetworkPolicies_
+ }
+ if tmp.PrivateLinkServiceNetworkPolicies == nil {
+ privateLinkServiceNetworkPolicies_ := "Enabled"
+ tmp.PrivateLinkServiceNetworkPolicies = &privateLinkServiceNetworkPolicies_
+ }
+ return &tmp
}
-// StaticRoutesConfigPtrInput is an input type that accepts StaticRoutesConfigArgs, StaticRoutesConfigPtr and StaticRoutesConfigPtrOutput values.
-// You can construct a concrete instance of `StaticRoutesConfigPtrInput` via:
-//
-// StaticRoutesConfigArgs{...}
-//
-// or:
-//
-// nil
-type StaticRoutesConfigPtrInput interface {
- pulumi.Input
+// Subnet in a virtual network resource.
+type SubnetResponseV2Output struct{ *pulumi.OutputState }
- ToStaticRoutesConfigPtrOutput() StaticRoutesConfigPtrOutput
- ToStaticRoutesConfigPtrOutputWithContext(context.Context) StaticRoutesConfigPtrOutput
+func (SubnetResponseV2Output) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubnetResponseV2)(nil)).Elem()
}
-type staticRoutesConfigPtrType StaticRoutesConfigArgs
+func (o SubnetResponseV2Output) ToSubnetResponseV2Output() SubnetResponseV2Output {
+ return o
+}
-func StaticRoutesConfigPtr(v *StaticRoutesConfigArgs) StaticRoutesConfigPtrInput {
- return (*staticRoutesConfigPtrType)(v)
+func (o SubnetResponseV2Output) ToSubnetResponseV2OutputWithContext(ctx context.Context) SubnetResponseV2Output {
+ return o
}
-func (*staticRoutesConfigPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**StaticRoutesConfig)(nil)).Elem()
+// The address prefix for the subnet.
+func (o SubnetResponseV2Output) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponseV2) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-func (i *staticRoutesConfigPtrType) ToStaticRoutesConfigPtrOutput() StaticRoutesConfigPtrOutput {
- return i.ToStaticRoutesConfigPtrOutputWithContext(context.Background())
+// List of address prefixes for the subnet.
+func (o SubnetResponseV2Output) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV2) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
-func (i *staticRoutesConfigPtrType) ToStaticRoutesConfigPtrOutputWithContext(ctx context.Context) StaticRoutesConfigPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(StaticRoutesConfigPtrOutput)
+// Application gateway IP configurations of virtual network resource.
+func (o SubnetResponseV2Output) ApplicationGatewayIPConfigurations() ApplicationGatewayIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV2) []ApplicationGatewayIPConfigurationResponse {
+ return v.ApplicationGatewayIPConfigurations
+ }).(ApplicationGatewayIPConfigurationResponseArrayOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigOutput struct{ *pulumi.OutputState }
+// Set this property to false to disable default outbound connectivity for all VMs in the subnet.
+func (o SubnetResponseV2Output) DefaultOutboundAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v SubnetResponseV2) *bool { return v.DefaultOutboundAccess }).(pulumi.BoolPtrOutput)
+}
-func (StaticRoutesConfigOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticRoutesConfig)(nil)).Elem()
+// An array of references to the delegations on the subnet.
+func (o SubnetResponseV2Output) Delegations() DelegationResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV2) []DelegationResponse { return v.Delegations }).(DelegationResponseArrayOutput)
}
-func (o StaticRoutesConfigOutput) ToStaticRoutesConfigOutput() StaticRoutesConfigOutput {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o SubnetResponseV2Output) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetResponseV2) string { return v.Etag }).(pulumi.StringOutput)
}
-func (o StaticRoutesConfigOutput) ToStaticRoutesConfigOutputWithContext(ctx context.Context) StaticRoutesConfigOutput {
- return o
+// Resource ID.
+func (o SubnetResponseV2Output) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponseV2) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o StaticRoutesConfigOutput) ToStaticRoutesConfigPtrOutput() StaticRoutesConfigPtrOutput {
- return o.ToStaticRoutesConfigPtrOutputWithContext(context.Background())
+// Array of IpAllocation which reference this subnet.
+func (o SubnetResponseV2Output) IpAllocations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV2) []SubResourceResponse { return v.IpAllocations }).(SubResourceResponseArrayOutput)
}
-func (o StaticRoutesConfigOutput) ToStaticRoutesConfigPtrOutputWithContext(ctx context.Context) StaticRoutesConfigPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v StaticRoutesConfig) *StaticRoutesConfig {
- return &v
- }).(StaticRoutesConfigPtrOutput)
+// Array of IP configuration profiles which reference this subnet.
+func (o SubnetResponseV2Output) IpConfigurationProfiles() IPConfigurationProfileVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV2) []IPConfigurationProfileVirtualNetworkApplianceResponse {
+ return v.IpConfigurationProfiles
+ }).(IPConfigurationProfileVirtualNetworkApplianceResponseArrayOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v StaticRoutesConfig) *bool { return v.PropagateStaticRoutes }).(pulumi.BoolPtrOutput)
+// An array of references to the network interface IP configurations using subnet.
+func (o SubnetResponseV2Output) IpConfigurations() IPConfigurationVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV2) []IPConfigurationVirtualNetworkApplianceResponse { return v.IpConfigurations }).(IPConfigurationVirtualNetworkApplianceResponseArrayOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticRoutesConfig) *string { return v.VnetLocalRouteOverrideCriteria }).(pulumi.StringPtrOutput)
+// A list of IPAM Pools for allocating IP address prefixes.
+func (o SubnetResponseV2Output) IpamPoolPrefixAllocations() IpamPoolPrefixAllocationResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV2) []IpamPoolPrefixAllocationResponse { return v.IpamPoolPrefixAllocations }).(IpamPoolPrefixAllocationResponseArrayOutput)
}
-type StaticRoutesConfigPtrOutput struct{ *pulumi.OutputState }
+// Name of the resource.
+func (o SubnetResponseV2Output) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponseV2) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
-func (StaticRoutesConfigPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**StaticRoutesConfig)(nil)).Elem()
+// Nat gateway associated with this subnet.
+func (o SubnetResponseV2Output) NatGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v SubnetResponseV2) *SubResourceResponse { return v.NatGateway }).(SubResourceResponsePtrOutput)
}
-func (o StaticRoutesConfigPtrOutput) ToStaticRoutesConfigPtrOutput() StaticRoutesConfigPtrOutput {
- return o
+// The reference to the NetworkSecurityGroup resource.
+func (o SubnetResponseV2Output) NetworkSecurityGroup() NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v SubnetResponseV2) *NetworkSecurityGroupVirtualNetworkApplianceResponse {
+ return v.NetworkSecurityGroup
+ }).(NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput)
}
-func (o StaticRoutesConfigPtrOutput) ToStaticRoutesConfigPtrOutputWithContext(ctx context.Context) StaticRoutesConfigPtrOutput {
- return o
+// Enable or Disable apply network policies on private end point in the subnet.
+func (o SubnetResponseV2Output) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponseV2) *string { return v.PrivateEndpointNetworkPolicies }).(pulumi.StringPtrOutput)
}
-func (o StaticRoutesConfigPtrOutput) Elem() StaticRoutesConfigOutput {
- return o.ApplyT(func(v *StaticRoutesConfig) StaticRoutesConfig {
- if v != nil {
- return *v
- }
- var ret StaticRoutesConfig
- return ret
- }).(StaticRoutesConfigOutput)
+// An array of references to private endpoints.
+func (o SubnetResponseV2Output) PrivateEndpoints() PrivateEndpointVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV2) []PrivateEndpointVirtualNetworkApplianceResponse { return v.PrivateEndpoints }).(PrivateEndpointVirtualNetworkApplianceResponseArrayOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigPtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfig) *bool {
- if v == nil {
- return nil
- }
- return v.PropagateStaticRoutes
- }).(pulumi.BoolPtrOutput)
+// Enable or Disable apply network policies on private link service in the subnet.
+func (o SubnetResponseV2Output) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponseV2) *string { return v.PrivateLinkServiceNetworkPolicies }).(pulumi.StringPtrOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigPtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfig) *string {
- if v == nil {
- return nil
- }
- return v.VnetLocalRouteOverrideCriteria
- }).(pulumi.StringPtrOutput)
+// The provisioning state of the subnet resource.
+func (o SubnetResponseV2Output) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetResponseV2) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponse struct {
- // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- PropagateStaticRoutes *bool `pulumi:"propagateStaticRoutes"`
- // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
+// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+func (o SubnetResponseV2Output) Purpose() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetResponseV2) string { return v.Purpose }).(pulumi.StringOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseOutput struct{ *pulumi.OutputState }
+// An array of references to the external resources using subnet.
+func (o SubnetResponseV2Output) ResourceNavigationLinks() ResourceNavigationLinkResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV2) []ResourceNavigationLinkResponse { return v.ResourceNavigationLinks }).(ResourceNavigationLinkResponseArrayOutput)
+}
-func (StaticRoutesConfigResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticRoutesConfigResponse)(nil)).Elem()
+// The reference to the RouteTable resource.
+func (o SubnetResponseV2Output) RouteTable() RouteTableVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v SubnetResponseV2) *RouteTableVirtualNetworkApplianceResponse { return v.RouteTable }).(RouteTableVirtualNetworkApplianceResponsePtrOutput)
}
-func (o StaticRoutesConfigResponseOutput) ToStaticRoutesConfigResponseOutput() StaticRoutesConfigResponseOutput {
- return o
+// An array of references to services injecting into this subnet.
+func (o SubnetResponseV2Output) ServiceAssociationLinks() ServiceAssociationLinkResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV2) []ServiceAssociationLinkResponse { return v.ServiceAssociationLinks }).(ServiceAssociationLinkResponseArrayOutput)
+}
+
+// An array of service endpoint policies.
+func (o SubnetResponseV2Output) ServiceEndpointPolicies() ServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV2) []ServiceEndpointPolicyVirtualNetworkApplianceResponse {
+ return v.ServiceEndpointPolicies
+ }).(ServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput)
+}
+
+// An array of service endpoints.
+func (o SubnetResponseV2Output) ServiceEndpoints() ServiceEndpointPropertiesFormatResponseArrayOutput {
+ return o.ApplyT(func(v SubnetResponseV2) []ServiceEndpointPropertiesFormatResponse { return v.ServiceEndpoints }).(ServiceEndpointPropertiesFormatResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseOutput) ToStaticRoutesConfigResponseOutputWithContext(ctx context.Context) StaticRoutesConfigResponseOutput {
- return o
+// Reference to an existing service gateway.
+func (o SubnetResponseV2Output) ServiceGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v SubnetResponseV2) *SubResourceResponse { return v.ServiceGateway }).(SubResourceResponsePtrOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponse) *bool { return v.PropagateStaticRoutes }).(pulumi.BoolPtrOutput)
+// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+func (o SubnetResponseV2Output) SharingScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetResponseV2) *string { return v.SharingScope }).(pulumi.StringPtrOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponse) *string { return v.VnetLocalRouteOverrideCriteria }).(pulumi.StringPtrOutput)
+// Resource type.
+func (o SubnetResponseV2Output) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetResponseV2) string { return v.Type }).(pulumi.StringOutput)
}
-type StaticRoutesConfigResponsePtrOutput struct{ *pulumi.OutputState }
+type SubnetResponseV2PtrOutput struct{ *pulumi.OutputState }
-func (StaticRoutesConfigResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**StaticRoutesConfigResponse)(nil)).Elem()
+func (SubnetResponseV2PtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**SubnetResponseV2)(nil)).Elem()
}
-func (o StaticRoutesConfigResponsePtrOutput) ToStaticRoutesConfigResponsePtrOutput() StaticRoutesConfigResponsePtrOutput {
+func (o SubnetResponseV2PtrOutput) ToSubnetResponseV2PtrOutput() SubnetResponseV2PtrOutput {
return o
}
-func (o StaticRoutesConfigResponsePtrOutput) ToStaticRoutesConfigResponsePtrOutputWithContext(ctx context.Context) StaticRoutesConfigResponsePtrOutput {
+func (o SubnetResponseV2PtrOutput) ToSubnetResponseV2PtrOutputWithContext(ctx context.Context) SubnetResponseV2PtrOutput {
return o
}
-func (o StaticRoutesConfigResponsePtrOutput) Elem() StaticRoutesConfigResponseOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponse) StaticRoutesConfigResponse {
+func (o SubnetResponseV2PtrOutput) Elem() SubnetResponseV2Output {
+ return o.ApplyT(func(v *SubnetResponseV2) SubnetResponseV2 {
if v != nil {
return *v
}
- var ret StaticRoutesConfigResponse
+ var ret SubnetResponseV2
return ret
- }).(StaticRoutesConfigResponseOutput)
+ }).(SubnetResponseV2Output)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponsePtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponse) *bool {
+// The address prefix for the subnet.
+func (o SubnetResponseV2PtrOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) *string {
if v == nil {
return nil
}
- return v.PropagateStaticRoutes
- }).(pulumi.BoolPtrOutput)
+ return v.AddressPrefix
+ }).(pulumi.StringPtrOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponsePtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponse) *string {
+// List of address prefixes for the subnet.
+func (o SubnetResponseV2PtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) []string {
if v == nil {
return nil
}
- return v.VnetLocalRouteOverrideCriteria
- }).(pulumi.StringPtrOutput)
+ return v.AddressPrefixes
+ }).(pulumi.StringArrayOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseV1 struct {
- // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
- // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
+// Application gateway IP configurations of virtual network resource.
+func (o SubnetResponseV2PtrOutput) ApplicationGatewayIPConfigurations() ApplicationGatewayIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) []ApplicationGatewayIPConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ApplicationGatewayIPConfigurations
+ }).(ApplicationGatewayIPConfigurationResponseArrayOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseV1Output struct{ *pulumi.OutputState }
-
-func (StaticRoutesConfigResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticRoutesConfigResponseV1)(nil)).Elem()
+// Set this property to false to disable default outbound connectivity for all VMs in the subnet.
+func (o SubnetResponseV2PtrOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DefaultOutboundAccess
+ }).(pulumi.BoolPtrOutput)
}
-func (o StaticRoutesConfigResponseV1Output) ToStaticRoutesConfigResponseV1Output() StaticRoutesConfigResponseV1Output {
- return o
+// An array of references to the delegations on the subnet.
+func (o SubnetResponseV2PtrOutput) Delegations() DelegationResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) []DelegationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Delegations
+ }).(DelegationResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV1Output) ToStaticRoutesConfigResponseV1OutputWithContext(ctx context.Context) StaticRoutesConfigResponseV1Output {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o SubnetResponseV2PtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseV1Output) PropagateStaticRoutes() pulumi.BoolOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponseV1) bool { return v.PropagateStaticRoutes }).(pulumi.BoolOutput)
+// Resource ID.
+func (o SubnetResponseV2PtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseV1Output) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponseV1) *string { return v.VnetLocalRouteOverrideCriteria }).(pulumi.StringPtrOutput)
+// Array of IpAllocation which reference this subnet.
+func (o SubnetResponseV2PtrOutput) IpAllocations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpAllocations
+ }).(SubResourceResponseArrayOutput)
}
-type StaticRoutesConfigResponseV1PtrOutput struct{ *pulumi.OutputState }
+// Array of IP configuration profiles which reference this subnet.
+func (o SubnetResponseV2PtrOutput) IpConfigurationProfiles() IPConfigurationProfileVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) []IPConfigurationProfileVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurationProfiles
+ }).(IPConfigurationProfileVirtualNetworkApplianceResponseArrayOutput)
+}
-func (StaticRoutesConfigResponseV1PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**StaticRoutesConfigResponseV1)(nil)).Elem()
+// An array of references to the network interface IP configurations using subnet.
+func (o SubnetResponseV2PtrOutput) IpConfigurations() IPConfigurationVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) []IPConfigurationVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurations
+ }).(IPConfigurationVirtualNetworkApplianceResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV1PtrOutput) ToStaticRoutesConfigResponseV1PtrOutput() StaticRoutesConfigResponseV1PtrOutput {
- return o
+// A list of IPAM Pools for allocating IP address prefixes.
+func (o SubnetResponseV2PtrOutput) IpamPoolPrefixAllocations() IpamPoolPrefixAllocationResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) []IpamPoolPrefixAllocationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpamPoolPrefixAllocations
+ }).(IpamPoolPrefixAllocationResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV1PtrOutput) ToStaticRoutesConfigResponseV1PtrOutputWithContext(ctx context.Context) StaticRoutesConfigResponseV1PtrOutput {
- return o
+// Name of the resource.
+func (o SubnetResponseV2PtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o StaticRoutesConfigResponseV1PtrOutput) Elem() StaticRoutesConfigResponseV1Output {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV1) StaticRoutesConfigResponseV1 {
- if v != nil {
- return *v
+// Nat gateway associated with this subnet.
+func (o SubnetResponseV2PtrOutput) NatGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) *SubResourceResponse {
+ if v == nil {
+ return nil
}
- var ret StaticRoutesConfigResponseV1
- return ret
- }).(StaticRoutesConfigResponseV1Output)
+ return v.NatGateway
+ }).(SubResourceResponsePtrOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseV1PtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV1) *bool {
+// The reference to the NetworkSecurityGroup resource.
+func (o SubnetResponseV2PtrOutput) NetworkSecurityGroup() NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) *NetworkSecurityGroupVirtualNetworkApplianceResponse {
if v == nil {
return nil
}
- return &v.PropagateStaticRoutes
- }).(pulumi.BoolPtrOutput)
+ return v.NetworkSecurityGroup
+ }).(NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseV1PtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV1) *string {
+// Enable or Disable apply network policies on private end point in the subnet.
+func (o SubnetResponseV2PtrOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) *string {
if v == nil {
return nil
}
- return v.VnetLocalRouteOverrideCriteria
+ return v.PrivateEndpointNetworkPolicies
}).(pulumi.StringPtrOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseV2 struct {
- // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
- // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
+// An array of references to private endpoints.
+func (o SubnetResponseV2PtrOutput) PrivateEndpoints() PrivateEndpointVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) []PrivateEndpointVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateEndpoints
+ }).(PrivateEndpointVirtualNetworkApplianceResponseArrayOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseV2Output struct{ *pulumi.OutputState }
-
-func (StaticRoutesConfigResponseV2Output) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticRoutesConfigResponseV2)(nil)).Elem()
+// Enable or Disable apply network policies on private link service in the subnet.
+func (o SubnetResponseV2PtrOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateLinkServiceNetworkPolicies
+ }).(pulumi.StringPtrOutput)
}
-func (o StaticRoutesConfigResponseV2Output) ToStaticRoutesConfigResponseV2Output() StaticRoutesConfigResponseV2Output {
- return o
+// The provisioning state of the subnet resource.
+func (o SubnetResponseV2PtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-func (o StaticRoutesConfigResponseV2Output) ToStaticRoutesConfigResponseV2OutputWithContext(ctx context.Context) StaticRoutesConfigResponseV2Output {
- return o
+// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+func (o SubnetResponseV2PtrOutput) Purpose() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Purpose
+ }).(pulumi.StringPtrOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseV2Output) PropagateStaticRoutes() pulumi.BoolOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponseV2) bool { return v.PropagateStaticRoutes }).(pulumi.BoolOutput)
+// An array of references to the external resources using subnet.
+func (o SubnetResponseV2PtrOutput) ResourceNavigationLinks() ResourceNavigationLinkResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) []ResourceNavigationLinkResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ResourceNavigationLinks
+ }).(ResourceNavigationLinkResponseArrayOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseV2Output) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponseV2) *string { return v.VnetLocalRouteOverrideCriteria }).(pulumi.StringPtrOutput)
+// The reference to the RouteTable resource.
+func (o SubnetResponseV2PtrOutput) RouteTable() RouteTableVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) *RouteTableVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.RouteTable
+ }).(RouteTableVirtualNetworkApplianceResponsePtrOutput)
}
-type StaticRoutesConfigResponseV2PtrOutput struct{ *pulumi.OutputState }
-
-func (StaticRoutesConfigResponseV2PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**StaticRoutesConfigResponseV2)(nil)).Elem()
+// An array of references to services injecting into this subnet.
+func (o SubnetResponseV2PtrOutput) ServiceAssociationLinks() ServiceAssociationLinkResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) []ServiceAssociationLinkResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceAssociationLinks
+ }).(ServiceAssociationLinkResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV2PtrOutput) ToStaticRoutesConfigResponseV2PtrOutput() StaticRoutesConfigResponseV2PtrOutput {
- return o
+// An array of service endpoint policies.
+func (o SubnetResponseV2PtrOutput) ServiceEndpointPolicies() ServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) []ServiceEndpointPolicyVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceEndpointPolicies
+ }).(ServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV2PtrOutput) ToStaticRoutesConfigResponseV2PtrOutputWithContext(ctx context.Context) StaticRoutesConfigResponseV2PtrOutput {
- return o
+// An array of service endpoints.
+func (o SubnetResponseV2PtrOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) []ServiceEndpointPropertiesFormatResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceEndpoints
+ }).(ServiceEndpointPropertiesFormatResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV2PtrOutput) Elem() StaticRoutesConfigResponseV2Output {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV2) StaticRoutesConfigResponseV2 {
- if v != nil {
- return *v
+// Reference to an existing service gateway.
+func (o SubnetResponseV2PtrOutput) ServiceGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) *SubResourceResponse {
+ if v == nil {
+ return nil
}
- var ret StaticRoutesConfigResponseV2
- return ret
- }).(StaticRoutesConfigResponseV2Output)
+ return v.ServiceGateway
+ }).(SubResourceResponsePtrOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseV2PtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV2) *bool {
+// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+func (o SubnetResponseV2PtrOutput) SharingScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) *string {
if v == nil {
return nil
}
- return &v.PropagateStaticRoutes
- }).(pulumi.BoolPtrOutput)
+ return v.SharingScope
+ }).(pulumi.StringPtrOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseV2PtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV2) *string {
+// Resource type.
+func (o SubnetResponseV2PtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetResponseV2) *string {
if v == nil {
return nil
}
- return v.VnetLocalRouteOverrideCriteria
+ return &v.Type
}).(pulumi.StringPtrOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseV3 struct {
- // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
- // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
+// Subnet in a virtual network resource.
+type SubnetServiceGatewayResponse struct {
+ // The address prefix for the subnet.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // List of address prefixes for the subnet.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ // Application gateway IP configurations of virtual network resource.
+ ApplicationGatewayIPConfigurations []ApplicationGatewayIPConfigurationResponse `pulumi:"applicationGatewayIPConfigurations"`
+ // Set this property to false to disable default outbound connectivity for all VMs in the subnet.
+ DefaultOutboundAccess *bool `pulumi:"defaultOutboundAccess"`
+ // An array of references to the delegations on the subnet.
+ Delegations []DelegationResponse `pulumi:"delegations"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Array of IpAllocation which reference this subnet.
+ IpAllocations []SubResourceResponse `pulumi:"ipAllocations"`
+ // Array of IP configuration profiles which reference this subnet.
+ IpConfigurationProfiles []IPConfigurationProfileResponse `pulumi:"ipConfigurationProfiles"`
+ // An array of references to the network interface IP configurations using subnet.
+ IpConfigurations []IPConfigurationServiceGatewayResponse `pulumi:"ipConfigurations"`
+ // A list of IPAM Pools for allocating IP address prefixes.
+ IpamPoolPrefixAllocations []IpamPoolPrefixAllocationResponse `pulumi:"ipamPoolPrefixAllocations"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // Nat gateway associated with this subnet.
+ NatGateway *SubResourceResponse `pulumi:"natGateway"`
+ // The reference to the NetworkSecurityGroup resource.
+ NetworkSecurityGroup *NetworkSecurityGroupServiceGatewayResponse `pulumi:"networkSecurityGroup"`
+ // Enable or Disable apply network policies on private end point in the subnet.
+ PrivateEndpointNetworkPolicies *string `pulumi:"privateEndpointNetworkPolicies"`
+ // An array of references to private endpoints.
+ PrivateEndpoints []PrivateEndpointServiceGatewayResponse `pulumi:"privateEndpoints"`
+ // Enable or Disable apply network policies on private link service in the subnet.
+ PrivateLinkServiceNetworkPolicies *string `pulumi:"privateLinkServiceNetworkPolicies"`
+ // The provisioning state of the subnet resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+ Purpose string `pulumi:"purpose"`
+ // An array of references to the external resources using subnet.
+ ResourceNavigationLinks []ResourceNavigationLinkResponse `pulumi:"resourceNavigationLinks"`
+ // The reference to the RouteTable resource.
+ RouteTable *RouteTableServiceGatewayResponse `pulumi:"routeTable"`
+ // An array of references to services injecting into this subnet.
+ ServiceAssociationLinks []ServiceAssociationLinkResponse `pulumi:"serviceAssociationLinks"`
+ // An array of service endpoint policies.
+ ServiceEndpointPolicies []ServiceEndpointPolicyServiceGatewayResponse `pulumi:"serviceEndpointPolicies"`
+ // An array of service endpoints.
+ ServiceEndpoints []ServiceEndpointPropertiesFormatResponse `pulumi:"serviceEndpoints"`
+ // Reference to an existing service gateway.
+ ServiceGateway *SubResourceResponse `pulumi:"serviceGateway"`
+ // Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+ SharingScope *string `pulumi:"sharingScope"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseV3Output struct{ *pulumi.OutputState }
+// Defaults sets the appropriate defaults for SubnetServiceGatewayResponse
+func (val *SubnetServiceGatewayResponse) Defaults() *SubnetServiceGatewayResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.PrivateEndpointNetworkPolicies == nil {
+ privateEndpointNetworkPolicies_ := "Disabled"
+ tmp.PrivateEndpointNetworkPolicies = &privateEndpointNetworkPolicies_
+ }
+ if tmp.PrivateLinkServiceNetworkPolicies == nil {
+ privateLinkServiceNetworkPolicies_ := "Enabled"
+ tmp.PrivateLinkServiceNetworkPolicies = &privateLinkServiceNetworkPolicies_
+ }
+ return &tmp
+}
-func (StaticRoutesConfigResponseV3Output) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticRoutesConfigResponseV3)(nil)).Elem()
+// Subnet in a virtual network resource.
+type SubnetServiceGatewayResponseOutput struct{ *pulumi.OutputState }
+
+func (SubnetServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubnetServiceGatewayResponse)(nil)).Elem()
}
-func (o StaticRoutesConfigResponseV3Output) ToStaticRoutesConfigResponseV3Output() StaticRoutesConfigResponseV3Output {
+func (o SubnetServiceGatewayResponseOutput) ToSubnetServiceGatewayResponseOutput() SubnetServiceGatewayResponseOutput {
return o
}
-func (o StaticRoutesConfigResponseV3Output) ToStaticRoutesConfigResponseV3OutputWithContext(ctx context.Context) StaticRoutesConfigResponseV3Output {
+func (o SubnetServiceGatewayResponseOutput) ToSubnetServiceGatewayResponseOutputWithContext(ctx context.Context) SubnetServiceGatewayResponseOutput {
return o
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseV3Output) PropagateStaticRoutes() pulumi.BoolOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponseV3) bool { return v.PropagateStaticRoutes }).(pulumi.BoolOutput)
+// The address prefix for the subnet.
+func (o SubnetServiceGatewayResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseV3Output) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponseV3) *string { return v.VnetLocalRouteOverrideCriteria }).(pulumi.StringPtrOutput)
+// List of address prefixes for the subnet.
+func (o SubnetServiceGatewayResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
-type StaticRoutesConfigResponseV3PtrOutput struct{ *pulumi.OutputState }
-
-func (StaticRoutesConfigResponseV3PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**StaticRoutesConfigResponseV3)(nil)).Elem()
+// Application gateway IP configurations of virtual network resource.
+func (o SubnetServiceGatewayResponseOutput) ApplicationGatewayIPConfigurations() ApplicationGatewayIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) []ApplicationGatewayIPConfigurationResponse {
+ return v.ApplicationGatewayIPConfigurations
+ }).(ApplicationGatewayIPConfigurationResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV3PtrOutput) ToStaticRoutesConfigResponseV3PtrOutput() StaticRoutesConfigResponseV3PtrOutput {
- return o
+// Set this property to false to disable default outbound connectivity for all VMs in the subnet.
+func (o SubnetServiceGatewayResponseOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) *bool { return v.DefaultOutboundAccess }).(pulumi.BoolPtrOutput)
}
-func (o StaticRoutesConfigResponseV3PtrOutput) ToStaticRoutesConfigResponseV3PtrOutputWithContext(ctx context.Context) StaticRoutesConfigResponseV3PtrOutput {
- return o
+// An array of references to the delegations on the subnet.
+func (o SubnetServiceGatewayResponseOutput) Delegations() DelegationResponseArrayOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) []DelegationResponse { return v.Delegations }).(DelegationResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV3PtrOutput) Elem() StaticRoutesConfigResponseV3Output {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV3) StaticRoutesConfigResponseV3 {
- if v != nil {
- return *v
- }
- var ret StaticRoutesConfigResponseV3
- return ret
- }).(StaticRoutesConfigResponseV3Output)
+// A unique read-only string that changes whenever the resource is updated.
+func (o SubnetServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseV3PtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV3) *bool {
- if v == nil {
- return nil
- }
- return &v.PropagateStaticRoutes
- }).(pulumi.BoolPtrOutput)
+// Resource ID.
+func (o SubnetServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseV3PtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV3) *string {
- if v == nil {
- return nil
- }
- return v.VnetLocalRouteOverrideCriteria
- }).(pulumi.StringPtrOutput)
+// Array of IpAllocation which reference this subnet.
+func (o SubnetServiceGatewayResponseOutput) IpAllocations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) []SubResourceResponse { return v.IpAllocations }).(SubResourceResponseArrayOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseV5 struct {
- // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
- // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
+// Array of IP configuration profiles which reference this subnet.
+func (o SubnetServiceGatewayResponseOutput) IpConfigurationProfiles() IPConfigurationProfileResponseArrayOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) []IPConfigurationProfileResponse {
+ return v.IpConfigurationProfiles
+ }).(IPConfigurationProfileResponseArrayOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseV5Output struct{ *pulumi.OutputState }
-
-func (StaticRoutesConfigResponseV5Output) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticRoutesConfigResponseV5)(nil)).Elem()
+// An array of references to the network interface IP configurations using subnet.
+func (o SubnetServiceGatewayResponseOutput) IpConfigurations() IPConfigurationServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) []IPConfigurationServiceGatewayResponse {
+ return v.IpConfigurations
+ }).(IPConfigurationServiceGatewayResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV5Output) ToStaticRoutesConfigResponseV5Output() StaticRoutesConfigResponseV5Output {
- return o
+// A list of IPAM Pools for allocating IP address prefixes.
+func (o SubnetServiceGatewayResponseOutput) IpamPoolPrefixAllocations() IpamPoolPrefixAllocationResponseArrayOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) []IpamPoolPrefixAllocationResponse {
+ return v.IpamPoolPrefixAllocations
+ }).(IpamPoolPrefixAllocationResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV5Output) ToStaticRoutesConfigResponseV5OutputWithContext(ctx context.Context) StaticRoutesConfigResponseV5Output {
- return o
+// Name of the resource.
+func (o SubnetServiceGatewayResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseV5Output) PropagateStaticRoutes() pulumi.BoolOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponseV5) bool { return v.PropagateStaticRoutes }).(pulumi.BoolOutput)
+// Nat gateway associated with this subnet.
+func (o SubnetServiceGatewayResponseOutput) NatGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) *SubResourceResponse { return v.NatGateway }).(SubResourceResponsePtrOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseV5Output) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponseV5) *string { return v.VnetLocalRouteOverrideCriteria }).(pulumi.StringPtrOutput)
+// The reference to the NetworkSecurityGroup resource.
+func (o SubnetServiceGatewayResponseOutput) NetworkSecurityGroup() NetworkSecurityGroupServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) *NetworkSecurityGroupServiceGatewayResponse {
+ return v.NetworkSecurityGroup
+ }).(NetworkSecurityGroupServiceGatewayResponsePtrOutput)
}
-type StaticRoutesConfigResponseV5PtrOutput struct{ *pulumi.OutputState }
-
-func (StaticRoutesConfigResponseV5PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**StaticRoutesConfigResponseV5)(nil)).Elem()
+// Enable or Disable apply network policies on private end point in the subnet.
+func (o SubnetServiceGatewayResponseOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) *string { return v.PrivateEndpointNetworkPolicies }).(pulumi.StringPtrOutput)
}
-func (o StaticRoutesConfigResponseV5PtrOutput) ToStaticRoutesConfigResponseV5PtrOutput() StaticRoutesConfigResponseV5PtrOutput {
- return o
+// An array of references to private endpoints.
+func (o SubnetServiceGatewayResponseOutput) PrivateEndpoints() PrivateEndpointServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) []PrivateEndpointServiceGatewayResponse {
+ return v.PrivateEndpoints
+ }).(PrivateEndpointServiceGatewayResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV5PtrOutput) ToStaticRoutesConfigResponseV5PtrOutputWithContext(ctx context.Context) StaticRoutesConfigResponseV5PtrOutput {
- return o
+// Enable or Disable apply network policies on private link service in the subnet.
+func (o SubnetServiceGatewayResponseOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) *string { return v.PrivateLinkServiceNetworkPolicies }).(pulumi.StringPtrOutput)
}
-func (o StaticRoutesConfigResponseV5PtrOutput) Elem() StaticRoutesConfigResponseV5Output {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV5) StaticRoutesConfigResponseV5 {
- if v != nil {
- return *v
- }
- var ret StaticRoutesConfigResponseV5
- return ret
- }).(StaticRoutesConfigResponseV5Output)
+// The provisioning state of the subnet resource.
+func (o SubnetServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseV5PtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV5) *bool {
- if v == nil {
- return nil
- }
- return &v.PropagateStaticRoutes
- }).(pulumi.BoolPtrOutput)
+// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+func (o SubnetServiceGatewayResponseOutput) Purpose() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) string { return v.Purpose }).(pulumi.StringOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseV5PtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV5) *string {
- if v == nil {
- return nil
- }
- return v.VnetLocalRouteOverrideCriteria
- }).(pulumi.StringPtrOutput)
+// An array of references to the external resources using subnet.
+func (o SubnetServiceGatewayResponseOutput) ResourceNavigationLinks() ResourceNavigationLinkResponseArrayOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) []ResourceNavigationLinkResponse {
+ return v.ResourceNavigationLinks
+ }).(ResourceNavigationLinkResponseArrayOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseV6 struct {
- // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
- // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
+// The reference to the RouteTable resource.
+func (o SubnetServiceGatewayResponseOutput) RouteTable() RouteTableServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) *RouteTableServiceGatewayResponse { return v.RouteTable }).(RouteTableServiceGatewayResponsePtrOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseV6Output struct{ *pulumi.OutputState }
+// An array of references to services injecting into this subnet.
+func (o SubnetServiceGatewayResponseOutput) ServiceAssociationLinks() ServiceAssociationLinkResponseArrayOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) []ServiceAssociationLinkResponse {
+ return v.ServiceAssociationLinks
+ }).(ServiceAssociationLinkResponseArrayOutput)
+}
-func (StaticRoutesConfigResponseV6Output) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticRoutesConfigResponseV6)(nil)).Elem()
+// An array of service endpoint policies.
+func (o SubnetServiceGatewayResponseOutput) ServiceEndpointPolicies() ServiceEndpointPolicyServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) []ServiceEndpointPolicyServiceGatewayResponse {
+ return v.ServiceEndpointPolicies
+ }).(ServiceEndpointPolicyServiceGatewayResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV6Output) ToStaticRoutesConfigResponseV6Output() StaticRoutesConfigResponseV6Output {
- return o
+// An array of service endpoints.
+func (o SubnetServiceGatewayResponseOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatResponseArrayOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) []ServiceEndpointPropertiesFormatResponse {
+ return v.ServiceEndpoints
+ }).(ServiceEndpointPropertiesFormatResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV6Output) ToStaticRoutesConfigResponseV6OutputWithContext(ctx context.Context) StaticRoutesConfigResponseV6Output {
- return o
+// Reference to an existing service gateway.
+func (o SubnetServiceGatewayResponseOutput) ServiceGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) *SubResourceResponse { return v.ServiceGateway }).(SubResourceResponsePtrOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseV6Output) PropagateStaticRoutes() pulumi.BoolOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponseV6) bool { return v.PropagateStaticRoutes }).(pulumi.BoolOutput)
+// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+func (o SubnetServiceGatewayResponseOutput) SharingScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) *string { return v.SharingScope }).(pulumi.StringPtrOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseV6Output) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponseV6) *string { return v.VnetLocalRouteOverrideCriteria }).(pulumi.StringPtrOutput)
+// Resource type.
+func (o SubnetServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type StaticRoutesConfigResponseV6PtrOutput struct{ *pulumi.OutputState }
+type SubnetServiceGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-func (StaticRoutesConfigResponseV6PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**StaticRoutesConfigResponseV6)(nil)).Elem()
+func (SubnetServiceGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**SubnetServiceGatewayResponse)(nil)).Elem()
}
-func (o StaticRoutesConfigResponseV6PtrOutput) ToStaticRoutesConfigResponseV6PtrOutput() StaticRoutesConfigResponseV6PtrOutput {
+func (o SubnetServiceGatewayResponsePtrOutput) ToSubnetServiceGatewayResponsePtrOutput() SubnetServiceGatewayResponsePtrOutput {
return o
}
-func (o StaticRoutesConfigResponseV6PtrOutput) ToStaticRoutesConfigResponseV6PtrOutputWithContext(ctx context.Context) StaticRoutesConfigResponseV6PtrOutput {
+func (o SubnetServiceGatewayResponsePtrOutput) ToSubnetServiceGatewayResponsePtrOutputWithContext(ctx context.Context) SubnetServiceGatewayResponsePtrOutput {
return o
}
-func (o StaticRoutesConfigResponseV6PtrOutput) Elem() StaticRoutesConfigResponseV6Output {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV6) StaticRoutesConfigResponseV6 {
+func (o SubnetServiceGatewayResponsePtrOutput) Elem() SubnetServiceGatewayResponseOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) SubnetServiceGatewayResponse {
if v != nil {
return *v
}
- var ret StaticRoutesConfigResponseV6
+ var ret SubnetServiceGatewayResponse
return ret
- }).(StaticRoutesConfigResponseV6Output)
+ }).(SubnetServiceGatewayResponseOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseV6PtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV6) *bool {
+// The address prefix for the subnet.
+func (o SubnetServiceGatewayResponsePtrOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) *string {
if v == nil {
return nil
}
- return &v.PropagateStaticRoutes
- }).(pulumi.BoolPtrOutput)
+ return v.AddressPrefix
+ }).(pulumi.StringPtrOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseV6PtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV6) *string {
+// List of address prefixes for the subnet.
+func (o SubnetServiceGatewayResponsePtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) []string {
if v == nil {
return nil
}
- return v.VnetLocalRouteOverrideCriteria
- }).(pulumi.StringPtrOutput)
+ return v.AddressPrefixes
+ }).(pulumi.StringArrayOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseV7 struct {
- // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
- // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
+// Application gateway IP configurations of virtual network resource.
+func (o SubnetServiceGatewayResponsePtrOutput) ApplicationGatewayIPConfigurations() ApplicationGatewayIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) []ApplicationGatewayIPConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ApplicationGatewayIPConfigurations
+ }).(ApplicationGatewayIPConfigurationResponseArrayOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseV7Output struct{ *pulumi.OutputState }
-
-func (StaticRoutesConfigResponseV7Output) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticRoutesConfigResponseV7)(nil)).Elem()
+// Set this property to false to disable default outbound connectivity for all VMs in the subnet.
+func (o SubnetServiceGatewayResponsePtrOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DefaultOutboundAccess
+ }).(pulumi.BoolPtrOutput)
}
-func (o StaticRoutesConfigResponseV7Output) ToStaticRoutesConfigResponseV7Output() StaticRoutesConfigResponseV7Output {
- return o
+// An array of references to the delegations on the subnet.
+func (o SubnetServiceGatewayResponsePtrOutput) Delegations() DelegationResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) []DelegationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Delegations
+ }).(DelegationResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV7Output) ToStaticRoutesConfigResponseV7OutputWithContext(ctx context.Context) StaticRoutesConfigResponseV7Output {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o SubnetServiceGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseV7Output) PropagateStaticRoutes() pulumi.BoolOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponseV7) bool { return v.PropagateStaticRoutes }).(pulumi.BoolOutput)
+// Resource ID.
+func (o SubnetServiceGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseV7Output) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponseV7) *string { return v.VnetLocalRouteOverrideCriteria }).(pulumi.StringPtrOutput)
+// Array of IpAllocation which reference this subnet.
+func (o SubnetServiceGatewayResponsePtrOutput) IpAllocations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpAllocations
+ }).(SubResourceResponseArrayOutput)
}
-type StaticRoutesConfigResponseV7PtrOutput struct{ *pulumi.OutputState }
-
-func (StaticRoutesConfigResponseV7PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**StaticRoutesConfigResponseV7)(nil)).Elem()
+// Array of IP configuration profiles which reference this subnet.
+func (o SubnetServiceGatewayResponsePtrOutput) IpConfigurationProfiles() IPConfigurationProfileResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) []IPConfigurationProfileResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurationProfiles
+ }).(IPConfigurationProfileResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV7PtrOutput) ToStaticRoutesConfigResponseV7PtrOutput() StaticRoutesConfigResponseV7PtrOutput {
- return o
+// An array of references to the network interface IP configurations using subnet.
+func (o SubnetServiceGatewayResponsePtrOutput) IpConfigurations() IPConfigurationServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) []IPConfigurationServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurations
+ }).(IPConfigurationServiceGatewayResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV7PtrOutput) ToStaticRoutesConfigResponseV7PtrOutputWithContext(ctx context.Context) StaticRoutesConfigResponseV7PtrOutput {
- return o
+// A list of IPAM Pools for allocating IP address prefixes.
+func (o SubnetServiceGatewayResponsePtrOutput) IpamPoolPrefixAllocations() IpamPoolPrefixAllocationResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) []IpamPoolPrefixAllocationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpamPoolPrefixAllocations
+ }).(IpamPoolPrefixAllocationResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV7PtrOutput) Elem() StaticRoutesConfigResponseV7Output {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV7) StaticRoutesConfigResponseV7 {
- if v != nil {
- return *v
+// Name of the resource.
+func (o SubnetServiceGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
}
- var ret StaticRoutesConfigResponseV7
- return ret
- }).(StaticRoutesConfigResponseV7Output)
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseV7PtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV7) *bool {
+// Nat gateway associated with this subnet.
+func (o SubnetServiceGatewayResponsePtrOutput) NatGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) *SubResourceResponse {
if v == nil {
return nil
}
- return &v.PropagateStaticRoutes
- }).(pulumi.BoolPtrOutput)
+ return v.NatGateway
+ }).(SubResourceResponsePtrOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseV7PtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV7) *string {
+// The reference to the NetworkSecurityGroup resource.
+func (o SubnetServiceGatewayResponsePtrOutput) NetworkSecurityGroup() NetworkSecurityGroupServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) *NetworkSecurityGroupServiceGatewayResponse {
if v == nil {
return nil
}
- return v.VnetLocalRouteOverrideCriteria
- }).(pulumi.StringPtrOutput)
+ return v.NetworkSecurityGroup
+ }).(NetworkSecurityGroupServiceGatewayResponsePtrOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseV8 struct {
- // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
- // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
+// Enable or Disable apply network policies on private end point in the subnet.
+func (o SubnetServiceGatewayResponsePtrOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateEndpointNetworkPolicies
+ }).(pulumi.StringPtrOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseV8Output struct{ *pulumi.OutputState }
-
-func (StaticRoutesConfigResponseV8Output) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticRoutesConfigResponseV8)(nil)).Elem()
+// An array of references to private endpoints.
+func (o SubnetServiceGatewayResponsePtrOutput) PrivateEndpoints() PrivateEndpointServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) []PrivateEndpointServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateEndpoints
+ }).(PrivateEndpointServiceGatewayResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV8Output) ToStaticRoutesConfigResponseV8Output() StaticRoutesConfigResponseV8Output {
- return o
+// Enable or Disable apply network policies on private link service in the subnet.
+func (o SubnetServiceGatewayResponsePtrOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateLinkServiceNetworkPolicies
+ }).(pulumi.StringPtrOutput)
}
-func (o StaticRoutesConfigResponseV8Output) ToStaticRoutesConfigResponseV8OutputWithContext(ctx context.Context) StaticRoutesConfigResponseV8Output {
- return o
+// The provisioning state of the subnet resource.
+func (o SubnetServiceGatewayResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseV8Output) PropagateStaticRoutes() pulumi.BoolOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponseV8) bool { return v.PropagateStaticRoutes }).(pulumi.BoolOutput)
+// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+func (o SubnetServiceGatewayResponsePtrOutput) Purpose() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Purpose
+ }).(pulumi.StringPtrOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseV8Output) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponseV8) *string { return v.VnetLocalRouteOverrideCriteria }).(pulumi.StringPtrOutput)
+// An array of references to the external resources using subnet.
+func (o SubnetServiceGatewayResponsePtrOutput) ResourceNavigationLinks() ResourceNavigationLinkResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) []ResourceNavigationLinkResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ResourceNavigationLinks
+ }).(ResourceNavigationLinkResponseArrayOutput)
}
-type StaticRoutesConfigResponseV8PtrOutput struct{ *pulumi.OutputState }
-
-func (StaticRoutesConfigResponseV8PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**StaticRoutesConfigResponseV8)(nil)).Elem()
+// The reference to the RouteTable resource.
+func (o SubnetServiceGatewayResponsePtrOutput) RouteTable() RouteTableServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) *RouteTableServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.RouteTable
+ }).(RouteTableServiceGatewayResponsePtrOutput)
}
-func (o StaticRoutesConfigResponseV8PtrOutput) ToStaticRoutesConfigResponseV8PtrOutput() StaticRoutesConfigResponseV8PtrOutput {
- return o
+// An array of references to services injecting into this subnet.
+func (o SubnetServiceGatewayResponsePtrOutput) ServiceAssociationLinks() ServiceAssociationLinkResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) []ServiceAssociationLinkResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceAssociationLinks
+ }).(ServiceAssociationLinkResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV8PtrOutput) ToStaticRoutesConfigResponseV8PtrOutputWithContext(ctx context.Context) StaticRoutesConfigResponseV8PtrOutput {
- return o
+// An array of service endpoint policies.
+func (o SubnetServiceGatewayResponsePtrOutput) ServiceEndpointPolicies() ServiceEndpointPolicyServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) []ServiceEndpointPolicyServiceGatewayResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceEndpointPolicies
+ }).(ServiceEndpointPolicyServiceGatewayResponseArrayOutput)
}
-func (o StaticRoutesConfigResponseV8PtrOutput) Elem() StaticRoutesConfigResponseV8Output {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV8) StaticRoutesConfigResponseV8 {
- if v != nil {
- return *v
+// An array of service endpoints.
+func (o SubnetServiceGatewayResponsePtrOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) []ServiceEndpointPropertiesFormatResponse {
+ if v == nil {
+ return nil
}
- var ret StaticRoutesConfigResponseV8
- return ret
- }).(StaticRoutesConfigResponseV8Output)
+ return v.ServiceEndpoints
+ }).(ServiceEndpointPropertiesFormatResponseArrayOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseV8PtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV8) *bool {
+// Reference to an existing service gateway.
+func (o SubnetServiceGatewayResponsePtrOutput) ServiceGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) *SubResourceResponse {
if v == nil {
return nil
}
- return &v.PropagateStaticRoutes
- }).(pulumi.BoolPtrOutput)
+ return v.ServiceGateway
+ }).(SubResourceResponsePtrOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseV8PtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV8) *string {
+// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+func (o SubnetServiceGatewayResponsePtrOutput) SharingScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) *string {
if v == nil {
return nil
}
- return v.VnetLocalRouteOverrideCriteria
+ return v.SharingScope
}).(pulumi.StringPtrOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseV9 struct {
- // Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- PropagateStaticRoutes bool `pulumi:"propagateStaticRoutes"`
- // Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- VnetLocalRouteOverrideCriteria *string `pulumi:"vnetLocalRouteOverrideCriteria"`
+// Resource type.
+func (o SubnetServiceGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-// Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
-type StaticRoutesConfigResponseV9Output struct{ *pulumi.OutputState }
+type SubnetServiceGatewayResponseArrayOutput struct{ *pulumi.OutputState }
-func (StaticRoutesConfigResponseV9Output) ElementType() reflect.Type {
- return reflect.TypeOf((*StaticRoutesConfigResponseV9)(nil)).Elem()
+func (SubnetServiceGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SubnetServiceGatewayResponse)(nil)).Elem()
}
-func (o StaticRoutesConfigResponseV9Output) ToStaticRoutesConfigResponseV9Output() StaticRoutesConfigResponseV9Output {
+func (o SubnetServiceGatewayResponseArrayOutput) ToSubnetServiceGatewayResponseArrayOutput() SubnetServiceGatewayResponseArrayOutput {
return o
}
-func (o StaticRoutesConfigResponseV9Output) ToStaticRoutesConfigResponseV9OutputWithContext(ctx context.Context) StaticRoutesConfigResponseV9Output {
+func (o SubnetServiceGatewayResponseArrayOutput) ToSubnetServiceGatewayResponseArrayOutputWithContext(ctx context.Context) SubnetServiceGatewayResponseArrayOutput {
return o
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseV9Output) PropagateStaticRoutes() pulumi.BoolOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponseV9) bool { return v.PropagateStaticRoutes }).(pulumi.BoolOutput)
+func (o SubnetServiceGatewayResponseArrayOutput) Index(i pulumi.IntInput) SubnetServiceGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubnetServiceGatewayResponse {
+ return vs[0].([]SubnetServiceGatewayResponse)[vs[1].(int)]
+ }).(SubnetServiceGatewayResponseOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseV9Output) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v StaticRoutesConfigResponseV9) *string { return v.VnetLocalRouteOverrideCriteria }).(pulumi.StringPtrOutput)
+// Subnet in a virtual network resource.
+type SubnetVirtualNetworkApplianceResponse struct {
+ // The address prefix for the subnet.
+ AddressPrefix *string `pulumi:"addressPrefix"`
+ // List of address prefixes for the subnet.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ // Application gateway IP configurations of virtual network resource.
+ ApplicationGatewayIPConfigurations []ApplicationGatewayIPConfigurationResponse `pulumi:"applicationGatewayIPConfigurations"`
+ // Set this property to false to disable default outbound connectivity for all VMs in the subnet.
+ DefaultOutboundAccess *bool `pulumi:"defaultOutboundAccess"`
+ // An array of references to the delegations on the subnet.
+ Delegations []DelegationResponse `pulumi:"delegations"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Array of IpAllocation which reference this subnet.
+ IpAllocations []SubResourceResponse `pulumi:"ipAllocations"`
+ // Array of IP configuration profiles which reference this subnet.
+ IpConfigurationProfiles []IPConfigurationProfileResponse `pulumi:"ipConfigurationProfiles"`
+ // An array of references to the network interface IP configurations using subnet.
+ IpConfigurations []IPConfigurationVirtualNetworkApplianceResponse `pulumi:"ipConfigurations"`
+ // A list of IPAM Pools for allocating IP address prefixes.
+ IpamPoolPrefixAllocations []IpamPoolPrefixAllocationResponse `pulumi:"ipamPoolPrefixAllocations"`
+ // Name of the resource.
+ Name *string `pulumi:"name"`
+ // Nat gateway associated with this subnet.
+ NatGateway *SubResourceResponse `pulumi:"natGateway"`
+ // The reference to the NetworkSecurityGroup resource.
+ NetworkSecurityGroup *NetworkSecurityGroupVirtualNetworkApplianceResponse `pulumi:"networkSecurityGroup"`
+ // Enable or Disable apply network policies on private end point in the subnet.
+ PrivateEndpointNetworkPolicies *string `pulumi:"privateEndpointNetworkPolicies"`
+ // An array of references to private endpoints.
+ PrivateEndpoints []PrivateEndpointVirtualNetworkApplianceResponse `pulumi:"privateEndpoints"`
+ // Enable or Disable apply network policies on private link service in the subnet.
+ PrivateLinkServiceNetworkPolicies *string `pulumi:"privateLinkServiceNetworkPolicies"`
+ // The provisioning state of the subnet resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+ Purpose string `pulumi:"purpose"`
+ // An array of references to the external resources using subnet.
+ ResourceNavigationLinks []ResourceNavigationLinkResponse `pulumi:"resourceNavigationLinks"`
+ // The reference to the RouteTable resource.
+ RouteTable *RouteTableVirtualNetworkApplianceResponse `pulumi:"routeTable"`
+ // An array of references to services injecting into this subnet.
+ ServiceAssociationLinks []ServiceAssociationLinkResponse `pulumi:"serviceAssociationLinks"`
+ // An array of service endpoint policies.
+ ServiceEndpointPolicies []ServiceEndpointPolicyVirtualNetworkApplianceResponse `pulumi:"serviceEndpointPolicies"`
+ // An array of service endpoints.
+ ServiceEndpoints []ServiceEndpointPropertiesFormatResponse `pulumi:"serviceEndpoints"`
+ // Reference to an existing service gateway.
+ ServiceGateway *SubResourceResponse `pulumi:"serviceGateway"`
+ // Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+ SharingScope *string `pulumi:"sharingScope"`
+ // Resource type.
+ Type string `pulumi:"type"`
+}
+
+// Defaults sets the appropriate defaults for SubnetVirtualNetworkApplianceResponse
+func (val *SubnetVirtualNetworkApplianceResponse) Defaults() *SubnetVirtualNetworkApplianceResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.PrivateEndpointNetworkPolicies == nil {
+ privateEndpointNetworkPolicies_ := "Disabled"
+ tmp.PrivateEndpointNetworkPolicies = &privateEndpointNetworkPolicies_
+ }
+ if tmp.PrivateLinkServiceNetworkPolicies == nil {
+ privateLinkServiceNetworkPolicies_ := "Enabled"
+ tmp.PrivateLinkServiceNetworkPolicies = &privateLinkServiceNetworkPolicies_
+ }
+ return &tmp
}
-type StaticRoutesConfigResponseV9PtrOutput struct{ *pulumi.OutputState }
+// Subnet in a virtual network resource.
+type SubnetVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
-func (StaticRoutesConfigResponseV9PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**StaticRoutesConfigResponseV9)(nil)).Elem()
+func (SubnetVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubnetVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o StaticRoutesConfigResponseV9PtrOutput) ToStaticRoutesConfigResponseV9PtrOutput() StaticRoutesConfigResponseV9PtrOutput {
+func (o SubnetVirtualNetworkApplianceResponseOutput) ToSubnetVirtualNetworkApplianceResponseOutput() SubnetVirtualNetworkApplianceResponseOutput {
return o
}
-func (o StaticRoutesConfigResponseV9PtrOutput) ToStaticRoutesConfigResponseV9PtrOutputWithContext(ctx context.Context) StaticRoutesConfigResponseV9PtrOutput {
+func (o SubnetVirtualNetworkApplianceResponseOutput) ToSubnetVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) SubnetVirtualNetworkApplianceResponseOutput {
return o
}
-func (o StaticRoutesConfigResponseV9PtrOutput) Elem() StaticRoutesConfigResponseV9Output {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV9) StaticRoutesConfigResponseV9 {
- if v != nil {
- return *v
- }
- var ret StaticRoutesConfigResponseV9
- return ret
- }).(StaticRoutesConfigResponseV9Output)
+// The address prefix for the subnet.
+func (o SubnetVirtualNetworkApplianceResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
}
-// Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
-func (o StaticRoutesConfigResponseV9PtrOutput) PropagateStaticRoutes() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV9) *bool {
- if v == nil {
- return nil
- }
- return &v.PropagateStaticRoutes
- }).(pulumi.BoolPtrOutput)
+// List of address prefixes for the subnet.
+func (o SubnetVirtualNetworkApplianceResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
-// Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
-func (o StaticRoutesConfigResponseV9PtrOutput) VnetLocalRouteOverrideCriteria() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *StaticRoutesConfigResponseV9) *string {
- if v == nil {
- return nil
- }
- return v.VnetLocalRouteOverrideCriteria
- }).(pulumi.StringPtrOutput)
+// Application gateway IP configurations of virtual network resource.
+func (o SubnetVirtualNetworkApplianceResponseOutput) ApplicationGatewayIPConfigurations() ApplicationGatewayIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) []ApplicationGatewayIPConfigurationResponse {
+ return v.ApplicationGatewayIPConfigurations
+ }).(ApplicationGatewayIPConfigurationResponseArrayOutput)
}
-// Reference to another subresource.
-type SubResource struct {
- // Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted.
- // An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end.
- // A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself.
- // Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- Id *string `pulumi:"id"`
+// Set this property to false to disable default outbound connectivity for all VMs in the subnet.
+func (o SubnetVirtualNetworkApplianceResponseOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) *bool { return v.DefaultOutboundAccess }).(pulumi.BoolPtrOutput)
}
-// SubResourceInput is an input type that accepts SubResourceArgs and SubResourceOutput values.
-// You can construct a concrete instance of `SubResourceInput` via:
-//
-// SubResourceArgs{...}
-type SubResourceInput interface {
- pulumi.Input
-
- ToSubResourceOutput() SubResourceOutput
- ToSubResourceOutputWithContext(context.Context) SubResourceOutput
+// An array of references to the delegations on the subnet.
+func (o SubnetVirtualNetworkApplianceResponseOutput) Delegations() DelegationResponseArrayOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) []DelegationResponse { return v.Delegations }).(DelegationResponseArrayOutput)
}
-// Reference to another subresource.
-type SubResourceArgs struct {
- // Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted.
- // An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end.
- // A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself.
- // Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- Id pulumi.StringPtrInput `pulumi:"id"`
+// A unique read-only string that changes whenever the resource is updated.
+func (o SubnetVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (SubResourceArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*SubResource)(nil)).Elem()
+// Resource ID.
+func (o SubnetVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (i SubResourceArgs) ToSubResourceOutput() SubResourceOutput {
- return i.ToSubResourceOutputWithContext(context.Background())
+// Array of IpAllocation which reference this subnet.
+func (o SubnetVirtualNetworkApplianceResponseOutput) IpAllocations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) []SubResourceResponse { return v.IpAllocations }).(SubResourceResponseArrayOutput)
}
-func (i SubResourceArgs) ToSubResourceOutputWithContext(ctx context.Context) SubResourceOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SubResourceOutput)
+// Array of IP configuration profiles which reference this subnet.
+func (o SubnetVirtualNetworkApplianceResponseOutput) IpConfigurationProfiles() IPConfigurationProfileResponseArrayOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) []IPConfigurationProfileResponse {
+ return v.IpConfigurationProfiles
+ }).(IPConfigurationProfileResponseArrayOutput)
}
-func (i SubResourceArgs) ToSubResourcePtrOutput() SubResourcePtrOutput {
- return i.ToSubResourcePtrOutputWithContext(context.Background())
+// An array of references to the network interface IP configurations using subnet.
+func (o SubnetVirtualNetworkApplianceResponseOutput) IpConfigurations() IPConfigurationVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) []IPConfigurationVirtualNetworkApplianceResponse {
+ return v.IpConfigurations
+ }).(IPConfigurationVirtualNetworkApplianceResponseArrayOutput)
}
-func (i SubResourceArgs) ToSubResourcePtrOutputWithContext(ctx context.Context) SubResourcePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SubResourceOutput).ToSubResourcePtrOutputWithContext(ctx)
+// A list of IPAM Pools for allocating IP address prefixes.
+func (o SubnetVirtualNetworkApplianceResponseOutput) IpamPoolPrefixAllocations() IpamPoolPrefixAllocationResponseArrayOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) []IpamPoolPrefixAllocationResponse {
+ return v.IpamPoolPrefixAllocations
+ }).(IpamPoolPrefixAllocationResponseArrayOutput)
}
-// SubResourcePtrInput is an input type that accepts SubResourceArgs, SubResourcePtr and SubResourcePtrOutput values.
-// You can construct a concrete instance of `SubResourcePtrInput` via:
-//
-// SubResourceArgs{...}
-//
-// or:
-//
-// nil
-type SubResourcePtrInput interface {
- pulumi.Input
-
- ToSubResourcePtrOutput() SubResourcePtrOutput
- ToSubResourcePtrOutputWithContext(context.Context) SubResourcePtrOutput
+// Name of the resource.
+func (o SubnetVirtualNetworkApplianceResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-type subResourcePtrType SubResourceArgs
-
-func SubResourcePtr(v *SubResourceArgs) SubResourcePtrInput {
- return (*subResourcePtrType)(v)
+// Nat gateway associated with this subnet.
+func (o SubnetVirtualNetworkApplianceResponseOutput) NatGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) *SubResourceResponse { return v.NatGateway }).(SubResourceResponsePtrOutput)
}
-func (*subResourcePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**SubResource)(nil)).Elem()
+// The reference to the NetworkSecurityGroup resource.
+func (o SubnetVirtualNetworkApplianceResponseOutput) NetworkSecurityGroup() NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) *NetworkSecurityGroupVirtualNetworkApplianceResponse {
+ return v.NetworkSecurityGroup
+ }).(NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput)
}
-func (i *subResourcePtrType) ToSubResourcePtrOutput() SubResourcePtrOutput {
- return i.ToSubResourcePtrOutputWithContext(context.Background())
+// Enable or Disable apply network policies on private end point in the subnet.
+func (o SubnetVirtualNetworkApplianceResponseOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) *string { return v.PrivateEndpointNetworkPolicies }).(pulumi.StringPtrOutput)
}
-func (i *subResourcePtrType) ToSubResourcePtrOutputWithContext(ctx context.Context) SubResourcePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SubResourcePtrOutput)
+// An array of references to private endpoints.
+func (o SubnetVirtualNetworkApplianceResponseOutput) PrivateEndpoints() PrivateEndpointVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) []PrivateEndpointVirtualNetworkApplianceResponse {
+ return v.PrivateEndpoints
+ }).(PrivateEndpointVirtualNetworkApplianceResponseArrayOutput)
}
-// SubResourceArrayInput is an input type that accepts SubResourceArray and SubResourceArrayOutput values.
-// You can construct a concrete instance of `SubResourceArrayInput` via:
-//
-// SubResourceArray{ SubResourceArgs{...} }
-type SubResourceArrayInput interface {
- pulumi.Input
-
- ToSubResourceArrayOutput() SubResourceArrayOutput
- ToSubResourceArrayOutputWithContext(context.Context) SubResourceArrayOutput
+// Enable or Disable apply network policies on private link service in the subnet.
+func (o SubnetVirtualNetworkApplianceResponseOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) *string { return v.PrivateLinkServiceNetworkPolicies }).(pulumi.StringPtrOutput)
}
-type SubResourceArray []SubResourceInput
-
-func (SubResourceArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SubResource)(nil)).Elem()
+// The provisioning state of the subnet resource.
+func (o SubnetVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (i SubResourceArray) ToSubResourceArrayOutput() SubResourceArrayOutput {
- return i.ToSubResourceArrayOutputWithContext(context.Background())
+// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+func (o SubnetVirtualNetworkApplianceResponseOutput) Purpose() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) string { return v.Purpose }).(pulumi.StringOutput)
}
-func (i SubResourceArray) ToSubResourceArrayOutputWithContext(ctx context.Context) SubResourceArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SubResourceArrayOutput)
+// An array of references to the external resources using subnet.
+func (o SubnetVirtualNetworkApplianceResponseOutput) ResourceNavigationLinks() ResourceNavigationLinkResponseArrayOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) []ResourceNavigationLinkResponse {
+ return v.ResourceNavigationLinks
+ }).(ResourceNavigationLinkResponseArrayOutput)
}
-// Reference to another subresource.
-type SubResourceOutput struct{ *pulumi.OutputState }
+// The reference to the RouteTable resource.
+func (o SubnetVirtualNetworkApplianceResponseOutput) RouteTable() RouteTableVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) *RouteTableVirtualNetworkApplianceResponse {
+ return v.RouteTable
+ }).(RouteTableVirtualNetworkApplianceResponsePtrOutput)
+}
-func (SubResourceOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SubResource)(nil)).Elem()
+// An array of references to services injecting into this subnet.
+func (o SubnetVirtualNetworkApplianceResponseOutput) ServiceAssociationLinks() ServiceAssociationLinkResponseArrayOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) []ServiceAssociationLinkResponse {
+ return v.ServiceAssociationLinks
+ }).(ServiceAssociationLinkResponseArrayOutput)
}
-func (o SubResourceOutput) ToSubResourceOutput() SubResourceOutput {
- return o
+// An array of service endpoint policies.
+func (o SubnetVirtualNetworkApplianceResponseOutput) ServiceEndpointPolicies() ServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) []ServiceEndpointPolicyVirtualNetworkApplianceResponse {
+ return v.ServiceEndpointPolicies
+ }).(ServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput)
}
-func (o SubResourceOutput) ToSubResourceOutputWithContext(ctx context.Context) SubResourceOutput {
- return o
+// An array of service endpoints.
+func (o SubnetVirtualNetworkApplianceResponseOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatResponseArrayOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) []ServiceEndpointPropertiesFormatResponse {
+ return v.ServiceEndpoints
+ }).(ServiceEndpointPropertiesFormatResponseArrayOutput)
}
-func (o SubResourceOutput) ToSubResourcePtrOutput() SubResourcePtrOutput {
- return o.ToSubResourcePtrOutputWithContext(context.Background())
+// Reference to an existing service gateway.
+func (o SubnetVirtualNetworkApplianceResponseOutput) ServiceGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) *SubResourceResponse { return v.ServiceGateway }).(SubResourceResponsePtrOutput)
}
-func (o SubResourceOutput) ToSubResourcePtrOutputWithContext(ctx context.Context) SubResourcePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v SubResource) *SubResource {
- return &v
- }).(SubResourcePtrOutput)
+// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+func (o SubnetVirtualNetworkApplianceResponseOutput) SharingScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) *string { return v.SharingScope }).(pulumi.StringPtrOutput)
}
-// Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted.
-// An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end.
-// A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself.
-// Example of a relative ID: $self/frontEndConfigurations/my-frontend.
-func (o SubResourceOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubResource) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Resource type.
+func (o SubnetVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v SubnetVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type SubResourcePtrOutput struct{ *pulumi.OutputState }
+type SubnetVirtualNetworkApplianceResponsePtrOutput struct{ *pulumi.OutputState }
-func (SubResourcePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**SubResource)(nil)).Elem()
+func (SubnetVirtualNetworkApplianceResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**SubnetVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o SubResourcePtrOutput) ToSubResourcePtrOutput() SubResourcePtrOutput {
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) ToSubnetVirtualNetworkApplianceResponsePtrOutput() SubnetVirtualNetworkApplianceResponsePtrOutput {
return o
}
-func (o SubResourcePtrOutput) ToSubResourcePtrOutputWithContext(ctx context.Context) SubResourcePtrOutput {
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) ToSubnetVirtualNetworkApplianceResponsePtrOutputWithContext(ctx context.Context) SubnetVirtualNetworkApplianceResponsePtrOutput {
return o
}
-func (o SubResourcePtrOutput) Elem() SubResourceOutput {
- return o.ApplyT(func(v *SubResource) SubResource {
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) Elem() SubnetVirtualNetworkApplianceResponseOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) SubnetVirtualNetworkApplianceResponse {
if v != nil {
return *v
}
- var ret SubResource
+ var ret SubnetVirtualNetworkApplianceResponse
return ret
- }).(SubResourceOutput)
+ }).(SubnetVirtualNetworkApplianceResponseOutput)
}
-// Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted.
-// An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end.
-// A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself.
-// Example of a relative ID: $self/frontEndConfigurations/my-frontend.
-func (o SubResourcePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubResource) *string {
+// The address prefix for the subnet.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) AddressPrefix() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
- return v.Id
+ return v.AddressPrefix
}).(pulumi.StringPtrOutput)
}
-type SubResourceArrayOutput struct{ *pulumi.OutputState }
-
-func (SubResourceArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SubResource)(nil)).Elem()
-}
-
-func (o SubResourceArrayOutput) ToSubResourceArrayOutput() SubResourceArrayOutput {
- return o
-}
-
-func (o SubResourceArrayOutput) ToSubResourceArrayOutputWithContext(ctx context.Context) SubResourceArrayOutput {
- return o
-}
-
-func (o SubResourceArrayOutput) Index(i pulumi.IntInput) SubResourceOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubResource {
- return vs[0].([]SubResource)[vs[1].(int)]
- }).(SubResourceOutput)
-}
-
-// Reference to another subresource.
-type SubResourceResponse struct {
- // Resource ID.
- Id *string `pulumi:"id"`
-}
-
-// Reference to another subresource.
-type SubResourceResponseOutput struct{ *pulumi.OutputState }
-
-func (SubResourceResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SubResourceResponse)(nil)).Elem()
-}
-
-func (o SubResourceResponseOutput) ToSubResourceResponseOutput() SubResourceResponseOutput {
- return o
-}
-
-func (o SubResourceResponseOutput) ToSubResourceResponseOutputWithContext(ctx context.Context) SubResourceResponseOutput {
- return o
-}
-
-// Resource ID.
-func (o SubResourceResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubResourceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// List of address prefixes for the subnet.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) []string {
+ if v == nil {
+ return nil
+ }
+ return v.AddressPrefixes
+ }).(pulumi.StringArrayOutput)
}
-type SubResourceResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (SubResourceResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**SubResourceResponse)(nil)).Elem()
+// Application gateway IP configurations of virtual network resource.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) ApplicationGatewayIPConfigurations() ApplicationGatewayIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) []ApplicationGatewayIPConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ApplicationGatewayIPConfigurations
+ }).(ApplicationGatewayIPConfigurationResponseArrayOutput)
}
-func (o SubResourceResponsePtrOutput) ToSubResourceResponsePtrOutput() SubResourceResponsePtrOutput {
- return o
+// Set this property to false to disable default outbound connectivity for all VMs in the subnet.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DefaultOutboundAccess
+ }).(pulumi.BoolPtrOutput)
}
-func (o SubResourceResponsePtrOutput) ToSubResourceResponsePtrOutputWithContext(ctx context.Context) SubResourceResponsePtrOutput {
- return o
+// An array of references to the delegations on the subnet.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) Delegations() DelegationResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) []DelegationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Delegations
+ }).(DelegationResponseArrayOutput)
}
-func (o SubResourceResponsePtrOutput) Elem() SubResourceResponseOutput {
- return o.ApplyT(func(v *SubResourceResponse) SubResourceResponse {
- if v != nil {
- return *v
+// A unique read-only string that changes whenever the resource is updated.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
}
- var ret SubResourceResponse
- return ret
- }).(SubResourceResponseOutput)
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
// Resource ID.
-func (o SubResourceResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubResourceResponse) *string {
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
@@ -28223,8036 +29011,8000 @@ func (o SubResourceResponsePtrOutput) Id() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-type SubResourceResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (SubResourceResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SubResourceResponse)(nil)).Elem()
-}
-
-func (o SubResourceResponseArrayOutput) ToSubResourceResponseArrayOutput() SubResourceResponseArrayOutput {
- return o
-}
-
-func (o SubResourceResponseArrayOutput) ToSubResourceResponseArrayOutputWithContext(ctx context.Context) SubResourceResponseArrayOutput {
- return o
-}
-
-func (o SubResourceResponseArrayOutput) Index(i pulumi.IntInput) SubResourceResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubResourceResponse {
- return vs[0].([]SubResourceResponse)[vs[1].(int)]
- }).(SubResourceResponseOutput)
+// Array of IpAllocation which reference this subnet.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) IpAllocations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpAllocations
+ }).(SubResourceResponseArrayOutput)
}
-// Subgroup profile of the interconnect group resource.
-type SubgroupProfile struct {
- // Scope of the subgroup profile.
- Scope *string `pulumi:"scope"`
- // Size of the subgroup profile.
- Size *int `pulumi:"size"`
- // VM size of the subgroup profile.
- VmSize string `pulumi:"vmSize"`
+// Array of IP configuration profiles which reference this subnet.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) IpConfigurationProfiles() IPConfigurationProfileResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) []IPConfigurationProfileResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurationProfiles
+ }).(IPConfigurationProfileResponseArrayOutput)
}
-// SubgroupProfileInput is an input type that accepts SubgroupProfileArgs and SubgroupProfileOutput values.
-// You can construct a concrete instance of `SubgroupProfileInput` via:
-//
-// SubgroupProfileArgs{...}
-type SubgroupProfileInput interface {
- pulumi.Input
-
- ToSubgroupProfileOutput() SubgroupProfileOutput
- ToSubgroupProfileOutputWithContext(context.Context) SubgroupProfileOutput
+// An array of references to the network interface IP configurations using subnet.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) IpConfigurations() IPConfigurationVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) []IPConfigurationVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurations
+ }).(IPConfigurationVirtualNetworkApplianceResponseArrayOutput)
}
-// Subgroup profile of the interconnect group resource.
-type SubgroupProfileArgs struct {
- // Scope of the subgroup profile.
- Scope pulumi.StringPtrInput `pulumi:"scope"`
- // Size of the subgroup profile.
- Size pulumi.IntPtrInput `pulumi:"size"`
- // VM size of the subgroup profile.
- VmSize pulumi.StringInput `pulumi:"vmSize"`
+// A list of IPAM Pools for allocating IP address prefixes.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) IpamPoolPrefixAllocations() IpamPoolPrefixAllocationResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) []IpamPoolPrefixAllocationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpamPoolPrefixAllocations
+ }).(IpamPoolPrefixAllocationResponseArrayOutput)
}
-func (SubgroupProfileArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*SubgroupProfile)(nil)).Elem()
+// Name of the resource.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (i SubgroupProfileArgs) ToSubgroupProfileOutput() SubgroupProfileOutput {
- return i.ToSubgroupProfileOutputWithContext(context.Background())
+// Nat gateway associated with this subnet.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) NatGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.NatGateway
+ }).(SubResourceResponsePtrOutput)
}
-func (i SubgroupProfileArgs) ToSubgroupProfileOutputWithContext(ctx context.Context) SubgroupProfileOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SubgroupProfileOutput)
+// The reference to the NetworkSecurityGroup resource.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) NetworkSecurityGroup() NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) *NetworkSecurityGroupVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.NetworkSecurityGroup
+ }).(NetworkSecurityGroupVirtualNetworkApplianceResponsePtrOutput)
}
-// Subgroup profile of the interconnect group resource.
-type SubgroupProfileOutput struct{ *pulumi.OutputState }
-
-func (SubgroupProfileOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SubgroupProfile)(nil)).Elem()
+// Enable or Disable apply network policies on private end point in the subnet.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateEndpointNetworkPolicies
+ }).(pulumi.StringPtrOutput)
}
-func (o SubgroupProfileOutput) ToSubgroupProfileOutput() SubgroupProfileOutput {
- return o
+// An array of references to private endpoints.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) PrivateEndpoints() PrivateEndpointVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) []PrivateEndpointVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateEndpoints
+ }).(PrivateEndpointVirtualNetworkApplianceResponseArrayOutput)
}
-func (o SubgroupProfileOutput) ToSubgroupProfileOutputWithContext(ctx context.Context) SubgroupProfileOutput {
- return o
+// Enable or Disable apply network policies on private link service in the subnet.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.PrivateLinkServiceNetworkPolicies
+ }).(pulumi.StringPtrOutput)
}
-// Scope of the subgroup profile.
-func (o SubgroupProfileOutput) Scope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubgroupProfile) *string { return v.Scope }).(pulumi.StringPtrOutput)
+// The provisioning state of the subnet resource.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// Size of the subgroup profile.
-func (o SubgroupProfileOutput) Size() pulumi.IntPtrOutput {
- return o.ApplyT(func(v SubgroupProfile) *int { return v.Size }).(pulumi.IntPtrOutput)
+// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) Purpose() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Purpose
+ }).(pulumi.StringPtrOutput)
}
-// VM size of the subgroup profile.
-func (o SubgroupProfileOutput) VmSize() pulumi.StringOutput {
- return o.ApplyT(func(v SubgroupProfile) string { return v.VmSize }).(pulumi.StringOutput)
+// An array of references to the external resources using subnet.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) ResourceNavigationLinks() ResourceNavigationLinkResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) []ResourceNavigationLinkResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ResourceNavigationLinks
+ }).(ResourceNavigationLinkResponseArrayOutput)
}
-// Subgroup profile of the interconnect group resource.
-type SubgroupProfileResponse struct {
- // Scope of the subgroup profile.
- Scope *string `pulumi:"scope"`
- // Size of the subgroup profile.
- Size *int `pulumi:"size"`
- // VM size of the subgroup profile.
- VmSize string `pulumi:"vmSize"`
+// The reference to the RouteTable resource.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) RouteTable() RouteTableVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) *RouteTableVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.RouteTable
+ }).(RouteTableVirtualNetworkApplianceResponsePtrOutput)
}
-// Subgroup profile of the interconnect group resource.
-type SubgroupProfileResponseOutput struct{ *pulumi.OutputState }
-
-func (SubgroupProfileResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SubgroupProfileResponse)(nil)).Elem()
+// An array of references to services injecting into this subnet.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) ServiceAssociationLinks() ServiceAssociationLinkResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) []ServiceAssociationLinkResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceAssociationLinks
+ }).(ServiceAssociationLinkResponseArrayOutput)
}
-func (o SubgroupProfileResponseOutput) ToSubgroupProfileResponseOutput() SubgroupProfileResponseOutput {
- return o
+// An array of service endpoint policies.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) ServiceEndpointPolicies() ServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) []ServiceEndpointPolicyVirtualNetworkApplianceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceEndpointPolicies
+ }).(ServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput)
}
-func (o SubgroupProfileResponseOutput) ToSubgroupProfileResponseOutputWithContext(ctx context.Context) SubgroupProfileResponseOutput {
- return o
+// An array of service endpoints.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatResponseArrayOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) []ServiceEndpointPropertiesFormatResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceEndpoints
+ }).(ServiceEndpointPropertiesFormatResponseArrayOutput)
}
-// Scope of the subgroup profile.
-func (o SubgroupProfileResponseOutput) Scope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubgroupProfileResponse) *string { return v.Scope }).(pulumi.StringPtrOutput)
+// Reference to an existing service gateway.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) ServiceGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ServiceGateway
+ }).(SubResourceResponsePtrOutput)
}
-// Size of the subgroup profile.
-func (o SubgroupProfileResponseOutput) Size() pulumi.IntPtrOutput {
- return o.ApplyT(func(v SubgroupProfileResponse) *int { return v.Size }).(pulumi.IntPtrOutput)
+// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) SharingScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.SharingScope
+ }).(pulumi.StringPtrOutput)
}
-// VM size of the subgroup profile.
-func (o SubgroupProfileResponseOutput) VmSize() pulumi.StringOutput {
- return o.ApplyT(func(v SubgroupProfileResponse) string { return v.VmSize }).(pulumi.StringOutput)
+// Resource type.
+func (o SubnetVirtualNetworkApplianceResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *SubnetVirtualNetworkApplianceResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-// A subgroup in an interconnect group.
-type SubgroupResponse struct {
- // Resource ID.
+type SubscriptionId struct {
+ // Subscription id in the ARM id format.
Id *string `pulumi:"id"`
- // The reference to an interconnect block resource.
- InterconnectBlock CommonSubResourceResponse `pulumi:"interconnectBlock"`
- // The unique identifier of the subgroup.
- InternalSubgroupId string `pulumi:"internalSubgroupId"`
- // Name of the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the subgroup.
- ProvisioningState string `pulumi:"provisioningState"`
- // Resource type.
- Type string `pulumi:"type"`
- // A list of virtual machine references.
- VirtualMachines []CommonSubResourceResponse `pulumi:"virtualMachines"`
}
-// A subgroup in an interconnect group.
-type SubgroupResponseOutput struct{ *pulumi.OutputState }
+// SubscriptionIdInput is an input type that accepts SubscriptionIdArgs and SubscriptionIdOutput values.
+// You can construct a concrete instance of `SubscriptionIdInput` via:
+//
+// SubscriptionIdArgs{...}
+type SubscriptionIdInput interface {
+ pulumi.Input
-func (SubgroupResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SubgroupResponse)(nil)).Elem()
+ ToSubscriptionIdOutput() SubscriptionIdOutput
+ ToSubscriptionIdOutputWithContext(context.Context) SubscriptionIdOutput
}
-func (o SubgroupResponseOutput) ToSubgroupResponseOutput() SubgroupResponseOutput {
- return o
+type SubscriptionIdArgs struct {
+ // Subscription id in the ARM id format.
+ Id pulumi.StringPtrInput `pulumi:"id"`
}
-func (o SubgroupResponseOutput) ToSubgroupResponseOutputWithContext(ctx context.Context) SubgroupResponseOutput {
- return o
+func (SubscriptionIdArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubscriptionId)(nil)).Elem()
}
-// Resource ID.
-func (o SubgroupResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubgroupResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (i SubscriptionIdArgs) ToSubscriptionIdOutput() SubscriptionIdOutput {
+ return i.ToSubscriptionIdOutputWithContext(context.Background())
}
-// The reference to an interconnect block resource.
-func (o SubgroupResponseOutput) InterconnectBlock() CommonSubResourceResponseOutput {
- return o.ApplyT(func(v SubgroupResponse) CommonSubResourceResponse { return v.InterconnectBlock }).(CommonSubResourceResponseOutput)
+func (i SubscriptionIdArgs) ToSubscriptionIdOutputWithContext(ctx context.Context) SubscriptionIdOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SubscriptionIdOutput)
}
-// The unique identifier of the subgroup.
-func (o SubgroupResponseOutput) InternalSubgroupId() pulumi.StringOutput {
- return o.ApplyT(func(v SubgroupResponse) string { return v.InternalSubgroupId }).(pulumi.StringOutput)
-}
+// SubscriptionIdArrayInput is an input type that accepts SubscriptionIdArray and SubscriptionIdArrayOutput values.
+// You can construct a concrete instance of `SubscriptionIdArrayInput` via:
+//
+// SubscriptionIdArray{ SubscriptionIdArgs{...} }
+type SubscriptionIdArrayInput interface {
+ pulumi.Input
-// Name of the resource.
-func (o SubgroupResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubgroupResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+ ToSubscriptionIdArrayOutput() SubscriptionIdArrayOutput
+ ToSubscriptionIdArrayOutputWithContext(context.Context) SubscriptionIdArrayOutput
}
-// The provisioning state of the subgroup.
-func (o SubgroupResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v SubgroupResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+type SubscriptionIdArray []SubscriptionIdInput
+
+func (SubscriptionIdArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SubscriptionId)(nil)).Elem()
}
-// Resource type.
-func (o SubgroupResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v SubgroupResponse) string { return v.Type }).(pulumi.StringOutput)
+func (i SubscriptionIdArray) ToSubscriptionIdArrayOutput() SubscriptionIdArrayOutput {
+ return i.ToSubscriptionIdArrayOutputWithContext(context.Background())
}
-// A list of virtual machine references.
-func (o SubgroupResponseOutput) VirtualMachines() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v SubgroupResponse) []CommonSubResourceResponse { return v.VirtualMachines }).(CommonSubResourceResponseArrayOutput)
+func (i SubscriptionIdArray) ToSubscriptionIdArrayOutputWithContext(ctx context.Context) SubscriptionIdArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(SubscriptionIdArrayOutput)
}
-type SubgroupResponseArrayOutput struct{ *pulumi.OutputState }
+type SubscriptionIdOutput struct{ *pulumi.OutputState }
-func (SubgroupResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SubgroupResponse)(nil)).Elem()
+func (SubscriptionIdOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubscriptionId)(nil)).Elem()
}
-func (o SubgroupResponseArrayOutput) ToSubgroupResponseArrayOutput() SubgroupResponseArrayOutput {
+func (o SubscriptionIdOutput) ToSubscriptionIdOutput() SubscriptionIdOutput {
return o
}
-func (o SubgroupResponseArrayOutput) ToSubgroupResponseArrayOutputWithContext(ctx context.Context) SubgroupResponseArrayOutput {
+func (o SubscriptionIdOutput) ToSubscriptionIdOutputWithContext(ctx context.Context) SubscriptionIdOutput {
return o
}
-func (o SubgroupResponseArrayOutput) Index(i pulumi.IntInput) SubgroupResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubgroupResponse {
- return vs[0].([]SubgroupResponse)[vs[1].(int)]
- }).(SubgroupResponseOutput)
+// Subscription id in the ARM id format.
+func (o SubscriptionIdOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubscriptionId) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Subnet in a virtual network resource.
-type SubnetType struct {
- // The address prefix for the subnet.
- AddressPrefix *string `pulumi:"addressPrefix"`
- // List of address prefixes for the subnet.
- AddressPrefixes []string `pulumi:"addressPrefixes"`
- // Application gateway IP configurations of virtual network resource.
- ApplicationGatewayIPConfigurations []ApplicationGatewayIPConfiguration `pulumi:"applicationGatewayIPConfigurations"`
- // Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet.
- DefaultOutboundAccess *bool `pulumi:"defaultOutboundAccess"`
- // An array of references to the delegations on the subnet.
- Delegations []Delegation `pulumi:"delegations"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Array of IpAllocation which reference this subnet.
- IpAllocations []SubResource `pulumi:"ipAllocations"`
- // A list of IPAM Pools for allocating IP address prefixes.
- IpamPoolPrefixAllocations []IpamPoolPrefixAllocation `pulumi:"ipamPoolPrefixAllocations"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // Nat gateway associated with this subnet.
- NatGateway *SubResource `pulumi:"natGateway"`
- // The reference to the NetworkSecurityGroup resource.
- NetworkSecurityGroup *NetworkSecurityGroupType `pulumi:"networkSecurityGroup"`
- // Enable or Disable apply network policies on private end point in the subnet.
- PrivateEndpointNetworkPolicies *string `pulumi:"privateEndpointNetworkPolicies"`
- // Enable or Disable apply network policies on private link service in the subnet.
- PrivateLinkServiceNetworkPolicies *string `pulumi:"privateLinkServiceNetworkPolicies"`
- // The provisioning state of the resource.
- ProvisioningState *string `pulumi:"provisioningState"`
- // Gets an array of references to the external resources using subnet.
- ResourceNavigationLinks []ResourceNavigationLink `pulumi:"resourceNavigationLinks"`
- // The reference to the RouteTable resource.
- RouteTable *RouteTableType `pulumi:"routeTable"`
- // Gets an array of references to services injecting into this subnet.
- ServiceAssociationLinks []ServiceAssociationLink `pulumi:"serviceAssociationLinks"`
- // An array of service endpoint policies.
- ServiceEndpointPolicies []ServiceEndpointPolicyType `pulumi:"serviceEndpointPolicies"`
- // An array of service endpoints.
- ServiceEndpoints []ServiceEndpointPropertiesFormat `pulumi:"serviceEndpoints"`
- // Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
- SharingScope *string `pulumi:"sharingScope"`
- // Resource type.
- Type *string `pulumi:"type"`
-}
+type SubscriptionIdArrayOutput struct{ *pulumi.OutputState }
-// Defaults sets the appropriate defaults for SubnetType
-func (val *SubnetType) Defaults() *SubnetType {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.PrivateEndpointNetworkPolicies == nil {
- privateEndpointNetworkPolicies_ := "Disabled"
- tmp.PrivateEndpointNetworkPolicies = &privateEndpointNetworkPolicies_
- }
- if tmp.PrivateLinkServiceNetworkPolicies == nil {
- privateLinkServiceNetworkPolicies_ := "Enabled"
- tmp.PrivateLinkServiceNetworkPolicies = &privateLinkServiceNetworkPolicies_
- }
- return &tmp
+func (SubscriptionIdArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SubscriptionId)(nil)).Elem()
}
-// SubnetTypeInput is an input type that accepts SubnetTypeArgs and SubnetTypeOutput values.
-// You can construct a concrete instance of `SubnetTypeInput` via:
-//
-// SubnetTypeArgs{...}
-type SubnetTypeInput interface {
- pulumi.Input
-
- ToSubnetTypeOutput() SubnetTypeOutput
- ToSubnetTypeOutputWithContext(context.Context) SubnetTypeOutput
+func (o SubscriptionIdArrayOutput) ToSubscriptionIdArrayOutput() SubscriptionIdArrayOutput {
+ return o
}
-// Subnet in a virtual network resource.
-type SubnetTypeArgs struct {
- // The address prefix for the subnet.
- AddressPrefix pulumi.StringPtrInput `pulumi:"addressPrefix"`
- // List of address prefixes for the subnet.
- AddressPrefixes pulumi.StringArrayInput `pulumi:"addressPrefixes"`
- // Application gateway IP configurations of virtual network resource.
- ApplicationGatewayIPConfigurations ApplicationGatewayIPConfigurationArrayInput `pulumi:"applicationGatewayIPConfigurations"`
- // Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet.
- DefaultOutboundAccess pulumi.BoolPtrInput `pulumi:"defaultOutboundAccess"`
- // An array of references to the delegations on the subnet.
- Delegations DelegationArrayInput `pulumi:"delegations"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag pulumi.StringPtrInput `pulumi:"etag"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Array of IpAllocation which reference this subnet.
- IpAllocations SubResourceArrayInput `pulumi:"ipAllocations"`
- // A list of IPAM Pools for allocating IP address prefixes.
- IpamPoolPrefixAllocations IpamPoolPrefixAllocationArrayInput `pulumi:"ipamPoolPrefixAllocations"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Nat gateway associated with this subnet.
- NatGateway SubResourcePtrInput `pulumi:"natGateway"`
- // The reference to the NetworkSecurityGroup resource.
- NetworkSecurityGroup NetworkSecurityGroupTypePtrInput `pulumi:"networkSecurityGroup"`
- // Enable or Disable apply network policies on private end point in the subnet.
- PrivateEndpointNetworkPolicies pulumi.StringPtrInput `pulumi:"privateEndpointNetworkPolicies"`
- // Enable or Disable apply network policies on private link service in the subnet.
- PrivateLinkServiceNetworkPolicies pulumi.StringPtrInput `pulumi:"privateLinkServiceNetworkPolicies"`
- // The provisioning state of the resource.
- ProvisioningState pulumi.StringPtrInput `pulumi:"provisioningState"`
- // Gets an array of references to the external resources using subnet.
- ResourceNavigationLinks ResourceNavigationLinkArrayInput `pulumi:"resourceNavigationLinks"`
- // The reference to the RouteTable resource.
- RouteTable RouteTableTypePtrInput `pulumi:"routeTable"`
- // Gets an array of references to services injecting into this subnet.
- ServiceAssociationLinks ServiceAssociationLinkArrayInput `pulumi:"serviceAssociationLinks"`
- // An array of service endpoint policies.
- ServiceEndpointPolicies ServiceEndpointPolicyTypeArrayInput `pulumi:"serviceEndpointPolicies"`
- // An array of service endpoints.
- ServiceEndpoints ServiceEndpointPropertiesFormatArrayInput `pulumi:"serviceEndpoints"`
- // Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
- SharingScope pulumi.StringPtrInput `pulumi:"sharingScope"`
- // Resource type.
- Type pulumi.StringPtrInput `pulumi:"type"`
+func (o SubscriptionIdArrayOutput) ToSubscriptionIdArrayOutputWithContext(ctx context.Context) SubscriptionIdArrayOutput {
+ return o
}
-// Defaults sets the appropriate defaults for SubnetTypeArgs
-func (val *SubnetTypeArgs) Defaults() *SubnetTypeArgs {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.PrivateEndpointNetworkPolicies == nil {
- tmp.PrivateEndpointNetworkPolicies = pulumi.StringPtr("Disabled")
- }
- if tmp.PrivateLinkServiceNetworkPolicies == nil {
- tmp.PrivateLinkServiceNetworkPolicies = pulumi.StringPtr("Enabled")
- }
- return &tmp
+func (o SubscriptionIdArrayOutput) Index(i pulumi.IntInput) SubscriptionIdOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubscriptionId {
+ return vs[0].([]SubscriptionId)[vs[1].(int)]
+ }).(SubscriptionIdOutput)
}
-func (SubnetTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*SubnetType)(nil)).Elem()
+
+type SubscriptionIdResponse struct {
+ // Subscription id in the ARM id format.
+ Id *string `pulumi:"id"`
}
-func (i SubnetTypeArgs) ToSubnetTypeOutput() SubnetTypeOutput {
- return i.ToSubnetTypeOutputWithContext(context.Background())
+type SubscriptionIdResponseOutput struct{ *pulumi.OutputState }
+
+func (SubscriptionIdResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SubscriptionIdResponse)(nil)).Elem()
}
-func (i SubnetTypeArgs) ToSubnetTypeOutputWithContext(ctx context.Context) SubnetTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SubnetTypeOutput)
+func (o SubscriptionIdResponseOutput) ToSubscriptionIdResponseOutput() SubscriptionIdResponseOutput {
+ return o
}
-func (i SubnetTypeArgs) ToSubnetTypePtrOutput() SubnetTypePtrOutput {
- return i.ToSubnetTypePtrOutputWithContext(context.Background())
+func (o SubscriptionIdResponseOutput) ToSubscriptionIdResponseOutputWithContext(ctx context.Context) SubscriptionIdResponseOutput {
+ return o
}
-func (i SubnetTypeArgs) ToSubnetTypePtrOutputWithContext(ctx context.Context) SubnetTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SubnetTypeOutput).ToSubnetTypePtrOutputWithContext(ctx)
+// Subscription id in the ARM id format.
+func (o SubscriptionIdResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SubscriptionIdResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// SubnetTypePtrInput is an input type that accepts SubnetTypeArgs, SubnetTypePtr and SubnetTypePtrOutput values.
-// You can construct a concrete instance of `SubnetTypePtrInput` via:
-//
-// SubnetTypeArgs{...}
-//
-// or:
-//
-// nil
-type SubnetTypePtrInput interface {
- pulumi.Input
+type SubscriptionIdResponseArrayOutput struct{ *pulumi.OutputState }
- ToSubnetTypePtrOutput() SubnetTypePtrOutput
- ToSubnetTypePtrOutputWithContext(context.Context) SubnetTypePtrOutput
+func (SubscriptionIdResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]SubscriptionIdResponse)(nil)).Elem()
}
-type subnetTypePtrType SubnetTypeArgs
-
-func SubnetTypePtr(v *SubnetTypeArgs) SubnetTypePtrInput {
- return (*subnetTypePtrType)(v)
+func (o SubscriptionIdResponseArrayOutput) ToSubscriptionIdResponseArrayOutput() SubscriptionIdResponseArrayOutput {
+ return o
}
-func (*subnetTypePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**SubnetType)(nil)).Elem()
+func (o SubscriptionIdResponseArrayOutput) ToSubscriptionIdResponseArrayOutputWithContext(ctx context.Context) SubscriptionIdResponseArrayOutput {
+ return o
}
-func (i *subnetTypePtrType) ToSubnetTypePtrOutput() SubnetTypePtrOutput {
- return i.ToSubnetTypePtrOutputWithContext(context.Background())
+func (o SubscriptionIdResponseArrayOutput) Index(i pulumi.IntInput) SubscriptionIdResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubscriptionIdResponse {
+ return vs[0].([]SubscriptionIdResponse)[vs[1].(int)]
+ }).(SubscriptionIdResponseOutput)
}
-func (i *subnetTypePtrType) ToSubnetTypePtrOutputWithContext(ctx context.Context) SubnetTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SubnetTypePtrOutput)
+// Metadata pertaining to creation and last modification of the resource.
+type SystemDataResponse struct {
+ // The timestamp of resource creation (UTC).
+ CreatedAt *string `pulumi:"createdAt"`
+ // The identity that created the resource.
+ CreatedBy *string `pulumi:"createdBy"`
+ // The type of identity that created the resource.
+ CreatedByType *string `pulumi:"createdByType"`
+ // The type of identity that last modified the resource.
+ LastModifiedAt *string `pulumi:"lastModifiedAt"`
+ // The identity that last modified the resource.
+ LastModifiedBy *string `pulumi:"lastModifiedBy"`
+ // The type of identity that last modified the resource.
+ LastModifiedByType *string `pulumi:"lastModifiedByType"`
}
-// SubnetTypeArrayInput is an input type that accepts SubnetTypeArray and SubnetTypeArrayOutput values.
-// You can construct a concrete instance of `SubnetTypeArrayInput` via:
-//
-// SubnetTypeArray{ SubnetTypeArgs{...} }
-type SubnetTypeArrayInput interface {
- pulumi.Input
+// Metadata pertaining to creation and last modification of the resource.
+type SystemDataResponseOutput struct{ *pulumi.OutputState }
- ToSubnetTypeArrayOutput() SubnetTypeArrayOutput
- ToSubnetTypeArrayOutputWithContext(context.Context) SubnetTypeArrayOutput
+func (SystemDataResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*SystemDataResponse)(nil)).Elem()
}
-type SubnetTypeArray []SubnetTypeInput
-
-func (SubnetTypeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SubnetType)(nil)).Elem()
+func (o SystemDataResponseOutput) ToSystemDataResponseOutput() SystemDataResponseOutput {
+ return o
}
-func (i SubnetTypeArray) ToSubnetTypeArrayOutput() SubnetTypeArrayOutput {
- return i.ToSubnetTypeArrayOutputWithContext(context.Background())
+func (o SystemDataResponseOutput) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput {
+ return o
}
-func (i SubnetTypeArray) ToSubnetTypeArrayOutputWithContext(ctx context.Context) SubnetTypeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SubnetTypeArrayOutput)
+// The timestamp of resource creation (UTC).
+func (o SystemDataResponseOutput) CreatedAt() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedAt }).(pulumi.StringPtrOutput)
}
-// Subnet in a virtual network resource.
-type SubnetTypeOutput struct{ *pulumi.OutputState }
+// The identity that created the resource.
+func (o SystemDataResponseOutput) CreatedBy() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedBy }).(pulumi.StringPtrOutput)
+}
-func (SubnetTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SubnetType)(nil)).Elem()
+// The type of identity that created the resource.
+func (o SystemDataResponseOutput) CreatedByType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedByType }).(pulumi.StringPtrOutput)
}
-func (o SubnetTypeOutput) ToSubnetTypeOutput() SubnetTypeOutput {
- return o
+// The type of identity that last modified the resource.
+func (o SystemDataResponseOutput) LastModifiedAt() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedAt }).(pulumi.StringPtrOutput)
}
-func (o SubnetTypeOutput) ToSubnetTypeOutputWithContext(ctx context.Context) SubnetTypeOutput {
- return o
+// The identity that last modified the resource.
+func (o SystemDataResponseOutput) LastModifiedBy() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedBy }).(pulumi.StringPtrOutput)
}
-func (o SubnetTypeOutput) ToSubnetTypePtrOutput() SubnetTypePtrOutput {
- return o.ToSubnetTypePtrOutputWithContext(context.Background())
+// The type of identity that last modified the resource.
+func (o SystemDataResponseOutput) LastModifiedByType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedByType }).(pulumi.StringPtrOutput)
}
-func (o SubnetTypeOutput) ToSubnetTypePtrOutputWithContext(ctx context.Context) SubnetTypePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v SubnetType) *SubnetType {
- return &v
- }).(SubnetTypePtrOutput)
+// Parameters that define the configuration of traffic analytics.
+type TrafficAnalyticsConfigurationProperties struct {
+ // Flag to enable/disable traffic analytics.
+ Enabled *bool `pulumi:"enabled"`
+ // The interval in minutes which would decide how frequently TA service should do flow analytics.
+ TrafficAnalyticsInterval *int `pulumi:"trafficAnalyticsInterval"`
+ // The resource guid of the attached workspace.
+ WorkspaceId *string `pulumi:"workspaceId"`
+ // The location of the attached workspace.
+ WorkspaceRegion *string `pulumi:"workspaceRegion"`
+ // Resource Id of the attached workspace.
+ WorkspaceResourceId *string `pulumi:"workspaceResourceId"`
}
-// The address prefix for the subnet.
-func (o SubnetTypeOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetType) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
+// TrafficAnalyticsConfigurationPropertiesInput is an input type that accepts TrafficAnalyticsConfigurationPropertiesArgs and TrafficAnalyticsConfigurationPropertiesOutput values.
+// You can construct a concrete instance of `TrafficAnalyticsConfigurationPropertiesInput` via:
+//
+// TrafficAnalyticsConfigurationPropertiesArgs{...}
+type TrafficAnalyticsConfigurationPropertiesInput interface {
+ pulumi.Input
+
+ ToTrafficAnalyticsConfigurationPropertiesOutput() TrafficAnalyticsConfigurationPropertiesOutput
+ ToTrafficAnalyticsConfigurationPropertiesOutputWithContext(context.Context) TrafficAnalyticsConfigurationPropertiesOutput
}
-// List of address prefixes for the subnet.
-func (o SubnetTypeOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SubnetType) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+// Parameters that define the configuration of traffic analytics.
+type TrafficAnalyticsConfigurationPropertiesArgs struct {
+ // Flag to enable/disable traffic analytics.
+ Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
+ // The interval in minutes which would decide how frequently TA service should do flow analytics.
+ TrafficAnalyticsInterval pulumi.IntPtrInput `pulumi:"trafficAnalyticsInterval"`
+ // The resource guid of the attached workspace.
+ WorkspaceId pulumi.StringPtrInput `pulumi:"workspaceId"`
+ // The location of the attached workspace.
+ WorkspaceRegion pulumi.StringPtrInput `pulumi:"workspaceRegion"`
+ // Resource Id of the attached workspace.
+ WorkspaceResourceId pulumi.StringPtrInput `pulumi:"workspaceResourceId"`
}
-// Application gateway IP configurations of virtual network resource.
-func (o SubnetTypeOutput) ApplicationGatewayIPConfigurations() ApplicationGatewayIPConfigurationArrayOutput {
- return o.ApplyT(func(v SubnetType) []ApplicationGatewayIPConfiguration { return v.ApplicationGatewayIPConfigurations }).(ApplicationGatewayIPConfigurationArrayOutput)
+func (TrafficAnalyticsConfigurationPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*TrafficAnalyticsConfigurationProperties)(nil)).Elem()
}
-// Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet.
-func (o SubnetTypeOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v SubnetType) *bool { return v.DefaultOutboundAccess }).(pulumi.BoolPtrOutput)
+func (i TrafficAnalyticsConfigurationPropertiesArgs) ToTrafficAnalyticsConfigurationPropertiesOutput() TrafficAnalyticsConfigurationPropertiesOutput {
+ return i.ToTrafficAnalyticsConfigurationPropertiesOutputWithContext(context.Background())
}
-// An array of references to the delegations on the subnet.
-func (o SubnetTypeOutput) Delegations() DelegationArrayOutput {
- return o.ApplyT(func(v SubnetType) []Delegation { return v.Delegations }).(DelegationArrayOutput)
+func (i TrafficAnalyticsConfigurationPropertiesArgs) ToTrafficAnalyticsConfigurationPropertiesOutputWithContext(ctx context.Context) TrafficAnalyticsConfigurationPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(TrafficAnalyticsConfigurationPropertiesOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o SubnetTypeOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetType) *string { return v.Etag }).(pulumi.StringPtrOutput)
+func (i TrafficAnalyticsConfigurationPropertiesArgs) ToTrafficAnalyticsConfigurationPropertiesPtrOutput() TrafficAnalyticsConfigurationPropertiesPtrOutput {
+ return i.ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(context.Background())
}
-// Resource ID.
-func (o SubnetTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetType) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (i TrafficAnalyticsConfigurationPropertiesArgs) ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(ctx context.Context) TrafficAnalyticsConfigurationPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(TrafficAnalyticsConfigurationPropertiesOutput).ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(ctx)
}
-// Array of IpAllocation which reference this subnet.
-func (o SubnetTypeOutput) IpAllocations() SubResourceArrayOutput {
- return o.ApplyT(func(v SubnetType) []SubResource { return v.IpAllocations }).(SubResourceArrayOutput)
+// TrafficAnalyticsConfigurationPropertiesPtrInput is an input type that accepts TrafficAnalyticsConfigurationPropertiesArgs, TrafficAnalyticsConfigurationPropertiesPtr and TrafficAnalyticsConfigurationPropertiesPtrOutput values.
+// You can construct a concrete instance of `TrafficAnalyticsConfigurationPropertiesPtrInput` via:
+//
+// TrafficAnalyticsConfigurationPropertiesArgs{...}
+//
+// or:
+//
+// nil
+type TrafficAnalyticsConfigurationPropertiesPtrInput interface {
+ pulumi.Input
+
+ ToTrafficAnalyticsConfigurationPropertiesPtrOutput() TrafficAnalyticsConfigurationPropertiesPtrOutput
+ ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(context.Context) TrafficAnalyticsConfigurationPropertiesPtrOutput
}
-// A list of IPAM Pools for allocating IP address prefixes.
-func (o SubnetTypeOutput) IpamPoolPrefixAllocations() IpamPoolPrefixAllocationArrayOutput {
- return o.ApplyT(func(v SubnetType) []IpamPoolPrefixAllocation { return v.IpamPoolPrefixAllocations }).(IpamPoolPrefixAllocationArrayOutput)
+type trafficAnalyticsConfigurationPropertiesPtrType TrafficAnalyticsConfigurationPropertiesArgs
+
+func TrafficAnalyticsConfigurationPropertiesPtr(v *TrafficAnalyticsConfigurationPropertiesArgs) TrafficAnalyticsConfigurationPropertiesPtrInput {
+ return (*trafficAnalyticsConfigurationPropertiesPtrType)(v)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o SubnetTypeOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetType) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (*trafficAnalyticsConfigurationPropertiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**TrafficAnalyticsConfigurationProperties)(nil)).Elem()
}
-// Nat gateway associated with this subnet.
-func (o SubnetTypeOutput) NatGateway() SubResourcePtrOutput {
- return o.ApplyT(func(v SubnetType) *SubResource { return v.NatGateway }).(SubResourcePtrOutput)
+func (i *trafficAnalyticsConfigurationPropertiesPtrType) ToTrafficAnalyticsConfigurationPropertiesPtrOutput() TrafficAnalyticsConfigurationPropertiesPtrOutput {
+ return i.ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(context.Background())
}
-// The reference to the NetworkSecurityGroup resource.
-func (o SubnetTypeOutput) NetworkSecurityGroup() NetworkSecurityGroupTypePtrOutput {
- return o.ApplyT(func(v SubnetType) *NetworkSecurityGroupType { return v.NetworkSecurityGroup }).(NetworkSecurityGroupTypePtrOutput)
+func (i *trafficAnalyticsConfigurationPropertiesPtrType) ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(ctx context.Context) TrafficAnalyticsConfigurationPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(TrafficAnalyticsConfigurationPropertiesPtrOutput)
}
-// Enable or Disable apply network policies on private end point in the subnet.
-func (o SubnetTypeOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetType) *string { return v.PrivateEndpointNetworkPolicies }).(pulumi.StringPtrOutput)
+// Parameters that define the configuration of traffic analytics.
+type TrafficAnalyticsConfigurationPropertiesOutput struct{ *pulumi.OutputState }
+
+func (TrafficAnalyticsConfigurationPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*TrafficAnalyticsConfigurationProperties)(nil)).Elem()
}
-// Enable or Disable apply network policies on private link service in the subnet.
-func (o SubnetTypeOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetType) *string { return v.PrivateLinkServiceNetworkPolicies }).(pulumi.StringPtrOutput)
+func (o TrafficAnalyticsConfigurationPropertiesOutput) ToTrafficAnalyticsConfigurationPropertiesOutput() TrafficAnalyticsConfigurationPropertiesOutput {
+ return o
}
-// The provisioning state of the resource.
-func (o SubnetTypeOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetType) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+func (o TrafficAnalyticsConfigurationPropertiesOutput) ToTrafficAnalyticsConfigurationPropertiesOutputWithContext(ctx context.Context) TrafficAnalyticsConfigurationPropertiesOutput {
+ return o
}
-// Gets an array of references to the external resources using subnet.
-func (o SubnetTypeOutput) ResourceNavigationLinks() ResourceNavigationLinkArrayOutput {
- return o.ApplyT(func(v SubnetType) []ResourceNavigationLink { return v.ResourceNavigationLinks }).(ResourceNavigationLinkArrayOutput)
+func (o TrafficAnalyticsConfigurationPropertiesOutput) ToTrafficAnalyticsConfigurationPropertiesPtrOutput() TrafficAnalyticsConfigurationPropertiesPtrOutput {
+ return o.ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(context.Background())
}
-// The reference to the RouteTable resource.
-func (o SubnetTypeOutput) RouteTable() RouteTableTypePtrOutput {
- return o.ApplyT(func(v SubnetType) *RouteTableType { return v.RouteTable }).(RouteTableTypePtrOutput)
+func (o TrafficAnalyticsConfigurationPropertiesOutput) ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(ctx context.Context) TrafficAnalyticsConfigurationPropertiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v TrafficAnalyticsConfigurationProperties) *TrafficAnalyticsConfigurationProperties {
+ return &v
+ }).(TrafficAnalyticsConfigurationPropertiesPtrOutput)
}
-// Gets an array of references to services injecting into this subnet.
-func (o SubnetTypeOutput) ServiceAssociationLinks() ServiceAssociationLinkArrayOutput {
- return o.ApplyT(func(v SubnetType) []ServiceAssociationLink { return v.ServiceAssociationLinks }).(ServiceAssociationLinkArrayOutput)
+// Flag to enable/disable traffic analytics.
+func (o TrafficAnalyticsConfigurationPropertiesOutput) Enabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v TrafficAnalyticsConfigurationProperties) *bool { return v.Enabled }).(pulumi.BoolPtrOutput)
}
-// An array of service endpoint policies.
-func (o SubnetTypeOutput) ServiceEndpointPolicies() ServiceEndpointPolicyTypeArrayOutput {
- return o.ApplyT(func(v SubnetType) []ServiceEndpointPolicyType { return v.ServiceEndpointPolicies }).(ServiceEndpointPolicyTypeArrayOutput)
+// The interval in minutes which would decide how frequently TA service should do flow analytics.
+func (o TrafficAnalyticsConfigurationPropertiesOutput) TrafficAnalyticsInterval() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v TrafficAnalyticsConfigurationProperties) *int { return v.TrafficAnalyticsInterval }).(pulumi.IntPtrOutput)
}
-// An array of service endpoints.
-func (o SubnetTypeOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatArrayOutput {
- return o.ApplyT(func(v SubnetType) []ServiceEndpointPropertiesFormat { return v.ServiceEndpoints }).(ServiceEndpointPropertiesFormatArrayOutput)
+// The resource guid of the attached workspace.
+func (o TrafficAnalyticsConfigurationPropertiesOutput) WorkspaceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v TrafficAnalyticsConfigurationProperties) *string { return v.WorkspaceId }).(pulumi.StringPtrOutput)
}
-// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
-func (o SubnetTypeOutput) SharingScope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetType) *string { return v.SharingScope }).(pulumi.StringPtrOutput)
+// The location of the attached workspace.
+func (o TrafficAnalyticsConfigurationPropertiesOutput) WorkspaceRegion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v TrafficAnalyticsConfigurationProperties) *string { return v.WorkspaceRegion }).(pulumi.StringPtrOutput)
}
-// Resource type.
-func (o SubnetTypeOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetType) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Resource Id of the attached workspace.
+func (o TrafficAnalyticsConfigurationPropertiesOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v TrafficAnalyticsConfigurationProperties) *string { return v.WorkspaceResourceId }).(pulumi.StringPtrOutput)
}
-type SubnetTypePtrOutput struct{ *pulumi.OutputState }
+type TrafficAnalyticsConfigurationPropertiesPtrOutput struct{ *pulumi.OutputState }
-func (SubnetTypePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**SubnetType)(nil)).Elem()
+func (TrafficAnalyticsConfigurationPropertiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**TrafficAnalyticsConfigurationProperties)(nil)).Elem()
}
-func (o SubnetTypePtrOutput) ToSubnetTypePtrOutput() SubnetTypePtrOutput {
+func (o TrafficAnalyticsConfigurationPropertiesPtrOutput) ToTrafficAnalyticsConfigurationPropertiesPtrOutput() TrafficAnalyticsConfigurationPropertiesPtrOutput {
return o
}
-func (o SubnetTypePtrOutput) ToSubnetTypePtrOutputWithContext(ctx context.Context) SubnetTypePtrOutput {
+func (o TrafficAnalyticsConfigurationPropertiesPtrOutput) ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(ctx context.Context) TrafficAnalyticsConfigurationPropertiesPtrOutput {
return o
}
-func (o SubnetTypePtrOutput) Elem() SubnetTypeOutput {
- return o.ApplyT(func(v *SubnetType) SubnetType {
+func (o TrafficAnalyticsConfigurationPropertiesPtrOutput) Elem() TrafficAnalyticsConfigurationPropertiesOutput {
+ return o.ApplyT(func(v *TrafficAnalyticsConfigurationProperties) TrafficAnalyticsConfigurationProperties {
if v != nil {
return *v
}
- var ret SubnetType
+ var ret TrafficAnalyticsConfigurationProperties
return ret
- }).(SubnetTypeOutput)
+ }).(TrafficAnalyticsConfigurationPropertiesOutput)
}
-// The address prefix for the subnet.
-func (o SubnetTypePtrOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetType) *string {
+// Flag to enable/disable traffic analytics.
+func (o TrafficAnalyticsConfigurationPropertiesPtrOutput) Enabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *TrafficAnalyticsConfigurationProperties) *bool {
if v == nil {
return nil
}
- return v.AddressPrefix
- }).(pulumi.StringPtrOutput)
+ return v.Enabled
+ }).(pulumi.BoolPtrOutput)
}
-// List of address prefixes for the subnet.
-func (o SubnetTypePtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *SubnetType) []string {
+// The interval in minutes which would decide how frequently TA service should do flow analytics.
+func (o TrafficAnalyticsConfigurationPropertiesPtrOutput) TrafficAnalyticsInterval() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *TrafficAnalyticsConfigurationProperties) *int {
if v == nil {
return nil
}
- return v.AddressPrefixes
- }).(pulumi.StringArrayOutput)
+ return v.TrafficAnalyticsInterval
+ }).(pulumi.IntPtrOutput)
}
-// Application gateway IP configurations of virtual network resource.
-func (o SubnetTypePtrOutput) ApplicationGatewayIPConfigurations() ApplicationGatewayIPConfigurationArrayOutput {
- return o.ApplyT(func(v *SubnetType) []ApplicationGatewayIPConfiguration {
+// The resource guid of the attached workspace.
+func (o TrafficAnalyticsConfigurationPropertiesPtrOutput) WorkspaceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *TrafficAnalyticsConfigurationProperties) *string {
if v == nil {
return nil
}
- return v.ApplicationGatewayIPConfigurations
- }).(ApplicationGatewayIPConfigurationArrayOutput)
+ return v.WorkspaceId
+ }).(pulumi.StringPtrOutput)
}
-// Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet.
-func (o SubnetTypePtrOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *SubnetType) *bool {
+// The location of the attached workspace.
+func (o TrafficAnalyticsConfigurationPropertiesPtrOutput) WorkspaceRegion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *TrafficAnalyticsConfigurationProperties) *string {
if v == nil {
return nil
}
- return v.DefaultOutboundAccess
- }).(pulumi.BoolPtrOutput)
+ return v.WorkspaceRegion
+ }).(pulumi.StringPtrOutput)
}
-// An array of references to the delegations on the subnet.
-func (o SubnetTypePtrOutput) Delegations() DelegationArrayOutput {
- return o.ApplyT(func(v *SubnetType) []Delegation {
+// Resource Id of the attached workspace.
+func (o TrafficAnalyticsConfigurationPropertiesPtrOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *TrafficAnalyticsConfigurationProperties) *string {
if v == nil {
return nil
}
- return v.Delegations
- }).(DelegationArrayOutput)
+ return v.WorkspaceResourceId
+ }).(pulumi.StringPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o SubnetTypePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetType) *string {
- if v == nil {
- return nil
- }
- return v.Etag
- }).(pulumi.StringPtrOutput)
+// Parameters that define the configuration of traffic analytics.
+type TrafficAnalyticsConfigurationPropertiesResponse struct {
+ // Flag to enable/disable traffic analytics.
+ Enabled *bool `pulumi:"enabled"`
+ // The interval in minutes which would decide how frequently TA service should do flow analytics.
+ TrafficAnalyticsInterval *int `pulumi:"trafficAnalyticsInterval"`
+ // The resource guid of the attached workspace.
+ WorkspaceId *string `pulumi:"workspaceId"`
+ // The location of the attached workspace.
+ WorkspaceRegion *string `pulumi:"workspaceRegion"`
+ // Resource Id of the attached workspace.
+ WorkspaceResourceId *string `pulumi:"workspaceResourceId"`
}
-// Resource ID.
-func (o SubnetTypePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetType) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+// Parameters that define the configuration of traffic analytics.
+type TrafficAnalyticsConfigurationPropertiesResponseOutput struct{ *pulumi.OutputState }
+
+func (TrafficAnalyticsConfigurationPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*TrafficAnalyticsConfigurationPropertiesResponse)(nil)).Elem()
}
-// Array of IpAllocation which reference this subnet.
-func (o SubnetTypePtrOutput) IpAllocations() SubResourceArrayOutput {
- return o.ApplyT(func(v *SubnetType) []SubResource {
- if v == nil {
- return nil
- }
- return v.IpAllocations
- }).(SubResourceArrayOutput)
+func (o TrafficAnalyticsConfigurationPropertiesResponseOutput) ToTrafficAnalyticsConfigurationPropertiesResponseOutput() TrafficAnalyticsConfigurationPropertiesResponseOutput {
+ return o
}
-// A list of IPAM Pools for allocating IP address prefixes.
-func (o SubnetTypePtrOutput) IpamPoolPrefixAllocations() IpamPoolPrefixAllocationArrayOutput {
- return o.ApplyT(func(v *SubnetType) []IpamPoolPrefixAllocation {
- if v == nil {
- return nil
- }
- return v.IpamPoolPrefixAllocations
- }).(IpamPoolPrefixAllocationArrayOutput)
+func (o TrafficAnalyticsConfigurationPropertiesResponseOutput) ToTrafficAnalyticsConfigurationPropertiesResponseOutputWithContext(ctx context.Context) TrafficAnalyticsConfigurationPropertiesResponseOutput {
+ return o
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o SubnetTypePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetType) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+// Flag to enable/disable traffic analytics.
+func (o TrafficAnalyticsConfigurationPropertiesResponseOutput) Enabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v TrafficAnalyticsConfigurationPropertiesResponse) *bool { return v.Enabled }).(pulumi.BoolPtrOutput)
}
-// Nat gateway associated with this subnet.
-func (o SubnetTypePtrOutput) NatGateway() SubResourcePtrOutput {
- return o.ApplyT(func(v *SubnetType) *SubResource {
- if v == nil {
- return nil
- }
- return v.NatGateway
- }).(SubResourcePtrOutput)
+// The interval in minutes which would decide how frequently TA service should do flow analytics.
+func (o TrafficAnalyticsConfigurationPropertiesResponseOutput) TrafficAnalyticsInterval() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v TrafficAnalyticsConfigurationPropertiesResponse) *int { return v.TrafficAnalyticsInterval }).(pulumi.IntPtrOutput)
}
-// The reference to the NetworkSecurityGroup resource.
-func (o SubnetTypePtrOutput) NetworkSecurityGroup() NetworkSecurityGroupTypePtrOutput {
- return o.ApplyT(func(v *SubnetType) *NetworkSecurityGroupType {
- if v == nil {
- return nil
- }
- return v.NetworkSecurityGroup
- }).(NetworkSecurityGroupTypePtrOutput)
+// The resource guid of the attached workspace.
+func (o TrafficAnalyticsConfigurationPropertiesResponseOutput) WorkspaceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v TrafficAnalyticsConfigurationPropertiesResponse) *string { return v.WorkspaceId }).(pulumi.StringPtrOutput)
}
-// Enable or Disable apply network policies on private end point in the subnet.
-func (o SubnetTypePtrOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetType) *string {
- if v == nil {
- return nil
- }
- return v.PrivateEndpointNetworkPolicies
- }).(pulumi.StringPtrOutput)
+// The location of the attached workspace.
+func (o TrafficAnalyticsConfigurationPropertiesResponseOutput) WorkspaceRegion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v TrafficAnalyticsConfigurationPropertiesResponse) *string { return v.WorkspaceRegion }).(pulumi.StringPtrOutput)
}
-// Enable or Disable apply network policies on private link service in the subnet.
-func (o SubnetTypePtrOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetType) *string {
- if v == nil {
- return nil
- }
- return v.PrivateLinkServiceNetworkPolicies
- }).(pulumi.StringPtrOutput)
+// Resource Id of the attached workspace.
+func (o TrafficAnalyticsConfigurationPropertiesResponseOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v TrafficAnalyticsConfigurationPropertiesResponse) *string { return v.WorkspaceResourceId }).(pulumi.StringPtrOutput)
}
-// The provisioning state of the resource.
-func (o SubnetTypePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetType) *string {
- if v == nil {
- return nil
- }
- return v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+type TrafficAnalyticsConfigurationPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**TrafficAnalyticsConfigurationPropertiesResponse)(nil)).Elem()
}
-// Gets an array of references to the external resources using subnet.
-func (o SubnetTypePtrOutput) ResourceNavigationLinks() ResourceNavigationLinkArrayOutput {
- return o.ApplyT(func(v *SubnetType) []ResourceNavigationLink {
- if v == nil {
- return nil
- }
- return v.ResourceNavigationLinks
- }).(ResourceNavigationLinkArrayOutput)
+func (o TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) ToTrafficAnalyticsConfigurationPropertiesResponsePtrOutput() TrafficAnalyticsConfigurationPropertiesResponsePtrOutput {
+ return o
}
-// The reference to the RouteTable resource.
-func (o SubnetTypePtrOutput) RouteTable() RouteTableTypePtrOutput {
- return o.ApplyT(func(v *SubnetType) *RouteTableType {
- if v == nil {
- return nil
+func (o TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) ToTrafficAnalyticsConfigurationPropertiesResponsePtrOutputWithContext(ctx context.Context) TrafficAnalyticsConfigurationPropertiesResponsePtrOutput {
+ return o
+}
+
+func (o TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) Elem() TrafficAnalyticsConfigurationPropertiesResponseOutput {
+ return o.ApplyT(func(v *TrafficAnalyticsConfigurationPropertiesResponse) TrafficAnalyticsConfigurationPropertiesResponse {
+ if v != nil {
+ return *v
}
- return v.RouteTable
- }).(RouteTableTypePtrOutput)
+ var ret TrafficAnalyticsConfigurationPropertiesResponse
+ return ret
+ }).(TrafficAnalyticsConfigurationPropertiesResponseOutput)
}
-// Gets an array of references to services injecting into this subnet.
-func (o SubnetTypePtrOutput) ServiceAssociationLinks() ServiceAssociationLinkArrayOutput {
- return o.ApplyT(func(v *SubnetType) []ServiceAssociationLink {
+// Flag to enable/disable traffic analytics.
+func (o TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) Enabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *TrafficAnalyticsConfigurationPropertiesResponse) *bool {
if v == nil {
return nil
}
- return v.ServiceAssociationLinks
- }).(ServiceAssociationLinkArrayOutput)
+ return v.Enabled
+ }).(pulumi.BoolPtrOutput)
}
-// An array of service endpoint policies.
-func (o SubnetTypePtrOutput) ServiceEndpointPolicies() ServiceEndpointPolicyTypeArrayOutput {
- return o.ApplyT(func(v *SubnetType) []ServiceEndpointPolicyType {
+// The interval in minutes which would decide how frequently TA service should do flow analytics.
+func (o TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) TrafficAnalyticsInterval() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *TrafficAnalyticsConfigurationPropertiesResponse) *int {
if v == nil {
return nil
}
- return v.ServiceEndpointPolicies
- }).(ServiceEndpointPolicyTypeArrayOutput)
+ return v.TrafficAnalyticsInterval
+ }).(pulumi.IntPtrOutput)
}
-// An array of service endpoints.
-func (o SubnetTypePtrOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatArrayOutput {
- return o.ApplyT(func(v *SubnetType) []ServiceEndpointPropertiesFormat {
+// The resource guid of the attached workspace.
+func (o TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) WorkspaceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *TrafficAnalyticsConfigurationPropertiesResponse) *string {
if v == nil {
return nil
}
- return v.ServiceEndpoints
- }).(ServiceEndpointPropertiesFormatArrayOutput)
+ return v.WorkspaceId
+ }).(pulumi.StringPtrOutput)
}
-// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
-func (o SubnetTypePtrOutput) SharingScope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetType) *string {
+// The location of the attached workspace.
+func (o TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) WorkspaceRegion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *TrafficAnalyticsConfigurationPropertiesResponse) *string {
if v == nil {
return nil
}
- return v.SharingScope
+ return v.WorkspaceRegion
}).(pulumi.StringPtrOutput)
}
-// Resource type.
-func (o SubnetTypePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetType) *string {
+// Resource Id of the attached workspace.
+func (o TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *TrafficAnalyticsConfigurationPropertiesResponse) *string {
if v == nil {
return nil
}
- return v.Type
+ return v.WorkspaceResourceId
}).(pulumi.StringPtrOutput)
}
-type SubnetTypeArrayOutput struct{ *pulumi.OutputState }
-
-func (SubnetTypeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SubnetType)(nil)).Elem()
-}
-
-func (o SubnetTypeArrayOutput) ToSubnetTypeArrayOutput() SubnetTypeArrayOutput {
- return o
-}
-
-func (o SubnetTypeArrayOutput) ToSubnetTypeArrayOutputWithContext(ctx context.Context) SubnetTypeArrayOutput {
- return o
-}
-
-func (o SubnetTypeArrayOutput) Index(i pulumi.IntInput) SubnetTypeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubnetType {
- return vs[0].([]SubnetType)[vs[1].(int)]
- }).(SubnetTypeOutput)
+// Parameters that define the configuration of traffic analytics.
+type TrafficAnalyticsProperties struct {
+ // Parameters that define the configuration of traffic analytics.
+ NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties `pulumi:"networkWatcherFlowAnalyticsConfiguration"`
}
-// Subnet in a virtual network resource.
-type SubnetResponse struct {
- // The address prefix for the subnet.
- AddressPrefix *string `pulumi:"addressPrefix"`
- // List of address prefixes for the subnet.
- AddressPrefixes []string `pulumi:"addressPrefixes"`
- // Application gateway IP configurations of virtual network resource.
- ApplicationGatewayIPConfigurations []ApplicationGatewayIPConfigurationResponse `pulumi:"applicationGatewayIPConfigurations"`
- // Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet.
- DefaultOutboundAccess *bool `pulumi:"defaultOutboundAccess"`
- // An array of references to the delegations on the subnet.
- Delegations []DelegationResponse `pulumi:"delegations"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Array of IpAllocation which reference this subnet.
- IpAllocations []SubResourceResponse `pulumi:"ipAllocations"`
- // Array of IP configuration profiles which reference this subnet.
- IpConfigurationProfiles []IPConfigurationProfileResponse `pulumi:"ipConfigurationProfiles"`
- // An array of references to the network interface IP configurations using subnet.
- IpConfigurations []IPConfigurationResponse `pulumi:"ipConfigurations"`
- // A list of IPAM Pools for allocating IP address prefixes.
- IpamPoolPrefixAllocations []IpamPoolPrefixAllocationResponse `pulumi:"ipamPoolPrefixAllocations"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // Nat gateway associated with this subnet.
- NatGateway *SubResourceResponse `pulumi:"natGateway"`
- // The reference to the NetworkSecurityGroup resource.
- NetworkSecurityGroup *NetworkSecurityGroupResponse `pulumi:"networkSecurityGroup"`
- // Enable or Disable apply network policies on private end point in the subnet.
- PrivateEndpointNetworkPolicies *string `pulumi:"privateEndpointNetworkPolicies"`
- // An array of references to private endpoints.
- PrivateEndpoints []PrivateEndpointResponse `pulumi:"privateEndpoints"`
- // Enable or Disable apply network policies on private link service in the subnet.
- PrivateLinkServiceNetworkPolicies *string `pulumi:"privateLinkServiceNetworkPolicies"`
- // The provisioning state of the subnet resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
- Purpose string `pulumi:"purpose"`
- // An array of references to the external resources using subnet.
- ResourceNavigationLinks []ResourceNavigationLinkResponse `pulumi:"resourceNavigationLinks"`
- // The reference to the RouteTable resource.
- RouteTable *RouteTableResponse `pulumi:"routeTable"`
- // An array of references to services injecting into this subnet.
- ServiceAssociationLinks []ServiceAssociationLinkResponse `pulumi:"serviceAssociationLinks"`
- // An array of service endpoint policies.
- ServiceEndpointPolicies []ServiceEndpointPolicyResponse `pulumi:"serviceEndpointPolicies"`
- // An array of service endpoints.
- ServiceEndpoints []ServiceEndpointPropertiesFormatResponse `pulumi:"serviceEndpoints"`
- // Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
- SharingScope *string `pulumi:"sharingScope"`
- // Resource type.
- Type *string `pulumi:"type"`
-}
+// TrafficAnalyticsPropertiesInput is an input type that accepts TrafficAnalyticsPropertiesArgs and TrafficAnalyticsPropertiesOutput values.
+// You can construct a concrete instance of `TrafficAnalyticsPropertiesInput` via:
+//
+// TrafficAnalyticsPropertiesArgs{...}
+type TrafficAnalyticsPropertiesInput interface {
+ pulumi.Input
-// Defaults sets the appropriate defaults for SubnetResponse
-func (val *SubnetResponse) Defaults() *SubnetResponse {
- if val == nil {
- return nil
- }
- tmp := *val
- if tmp.PrivateEndpointNetworkPolicies == nil {
- privateEndpointNetworkPolicies_ := "Disabled"
- tmp.PrivateEndpointNetworkPolicies = &privateEndpointNetworkPolicies_
- }
- if tmp.PrivateLinkServiceNetworkPolicies == nil {
- privateLinkServiceNetworkPolicies_ := "Enabled"
- tmp.PrivateLinkServiceNetworkPolicies = &privateLinkServiceNetworkPolicies_
- }
- return &tmp
+ ToTrafficAnalyticsPropertiesOutput() TrafficAnalyticsPropertiesOutput
+ ToTrafficAnalyticsPropertiesOutputWithContext(context.Context) TrafficAnalyticsPropertiesOutput
}
-// Subnet in a virtual network resource.
-type SubnetResponseOutput struct{ *pulumi.OutputState }
-
-func (SubnetResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SubnetResponse)(nil)).Elem()
+// Parameters that define the configuration of traffic analytics.
+type TrafficAnalyticsPropertiesArgs struct {
+ // Parameters that define the configuration of traffic analytics.
+ NetworkWatcherFlowAnalyticsConfiguration TrafficAnalyticsConfigurationPropertiesPtrInput `pulumi:"networkWatcherFlowAnalyticsConfiguration"`
}
-func (o SubnetResponseOutput) ToSubnetResponseOutput() SubnetResponseOutput {
- return o
+func (TrafficAnalyticsPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*TrafficAnalyticsProperties)(nil)).Elem()
}
-func (o SubnetResponseOutput) ToSubnetResponseOutputWithContext(ctx context.Context) SubnetResponseOutput {
- return o
+func (i TrafficAnalyticsPropertiesArgs) ToTrafficAnalyticsPropertiesOutput() TrafficAnalyticsPropertiesOutput {
+ return i.ToTrafficAnalyticsPropertiesOutputWithContext(context.Background())
}
-// The address prefix for the subnet.
-func (o SubnetResponseOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetResponse) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
+func (i TrafficAnalyticsPropertiesArgs) ToTrafficAnalyticsPropertiesOutputWithContext(ctx context.Context) TrafficAnalyticsPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(TrafficAnalyticsPropertiesOutput)
}
-// List of address prefixes for the subnet.
-func (o SubnetResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SubnetResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+func (i TrafficAnalyticsPropertiesArgs) ToTrafficAnalyticsPropertiesPtrOutput() TrafficAnalyticsPropertiesPtrOutput {
+ return i.ToTrafficAnalyticsPropertiesPtrOutputWithContext(context.Background())
}
-// Application gateway IP configurations of virtual network resource.
-func (o SubnetResponseOutput) ApplicationGatewayIPConfigurations() ApplicationGatewayIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v SubnetResponse) []ApplicationGatewayIPConfigurationResponse {
- return v.ApplicationGatewayIPConfigurations
- }).(ApplicationGatewayIPConfigurationResponseArrayOutput)
+func (i TrafficAnalyticsPropertiesArgs) ToTrafficAnalyticsPropertiesPtrOutputWithContext(ctx context.Context) TrafficAnalyticsPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(TrafficAnalyticsPropertiesOutput).ToTrafficAnalyticsPropertiesPtrOutputWithContext(ctx)
}
-// Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet.
-func (o SubnetResponseOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v SubnetResponse) *bool { return v.DefaultOutboundAccess }).(pulumi.BoolPtrOutput)
-}
+// TrafficAnalyticsPropertiesPtrInput is an input type that accepts TrafficAnalyticsPropertiesArgs, TrafficAnalyticsPropertiesPtr and TrafficAnalyticsPropertiesPtrOutput values.
+// You can construct a concrete instance of `TrafficAnalyticsPropertiesPtrInput` via:
+//
+// TrafficAnalyticsPropertiesArgs{...}
+//
+// or:
+//
+// nil
+type TrafficAnalyticsPropertiesPtrInput interface {
+ pulumi.Input
-// An array of references to the delegations on the subnet.
-func (o SubnetResponseOutput) Delegations() DelegationResponseArrayOutput {
- return o.ApplyT(func(v SubnetResponse) []DelegationResponse { return v.Delegations }).(DelegationResponseArrayOutput)
+ ToTrafficAnalyticsPropertiesPtrOutput() TrafficAnalyticsPropertiesPtrOutput
+ ToTrafficAnalyticsPropertiesPtrOutputWithContext(context.Context) TrafficAnalyticsPropertiesPtrOutput
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o SubnetResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v SubnetResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
+type trafficAnalyticsPropertiesPtrType TrafficAnalyticsPropertiesArgs
-// Resource ID.
-func (o SubnetResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func TrafficAnalyticsPropertiesPtr(v *TrafficAnalyticsPropertiesArgs) TrafficAnalyticsPropertiesPtrInput {
+ return (*trafficAnalyticsPropertiesPtrType)(v)
}
-// Array of IpAllocation which reference this subnet.
-func (o SubnetResponseOutput) IpAllocations() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v SubnetResponse) []SubResourceResponse { return v.IpAllocations }).(SubResourceResponseArrayOutput)
+func (*trafficAnalyticsPropertiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**TrafficAnalyticsProperties)(nil)).Elem()
}
-// Array of IP configuration profiles which reference this subnet.
-func (o SubnetResponseOutput) IpConfigurationProfiles() IPConfigurationProfileResponseArrayOutput {
- return o.ApplyT(func(v SubnetResponse) []IPConfigurationProfileResponse { return v.IpConfigurationProfiles }).(IPConfigurationProfileResponseArrayOutput)
+func (i *trafficAnalyticsPropertiesPtrType) ToTrafficAnalyticsPropertiesPtrOutput() TrafficAnalyticsPropertiesPtrOutput {
+ return i.ToTrafficAnalyticsPropertiesPtrOutputWithContext(context.Background())
}
-// An array of references to the network interface IP configurations using subnet.
-func (o SubnetResponseOutput) IpConfigurations() IPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v SubnetResponse) []IPConfigurationResponse { return v.IpConfigurations }).(IPConfigurationResponseArrayOutput)
+func (i *trafficAnalyticsPropertiesPtrType) ToTrafficAnalyticsPropertiesPtrOutputWithContext(ctx context.Context) TrafficAnalyticsPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(TrafficAnalyticsPropertiesPtrOutput)
}
-// A list of IPAM Pools for allocating IP address prefixes.
-func (o SubnetResponseOutput) IpamPoolPrefixAllocations() IpamPoolPrefixAllocationResponseArrayOutput {
- return o.ApplyT(func(v SubnetResponse) []IpamPoolPrefixAllocationResponse { return v.IpamPoolPrefixAllocations }).(IpamPoolPrefixAllocationResponseArrayOutput)
+// Parameters that define the configuration of traffic analytics.
+type TrafficAnalyticsPropertiesOutput struct{ *pulumi.OutputState }
+
+func (TrafficAnalyticsPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*TrafficAnalyticsProperties)(nil)).Elem()
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o SubnetResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o TrafficAnalyticsPropertiesOutput) ToTrafficAnalyticsPropertiesOutput() TrafficAnalyticsPropertiesOutput {
+ return o
}
-// Nat gateway associated with this subnet.
-func (o SubnetResponseOutput) NatGateway() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v SubnetResponse) *SubResourceResponse { return v.NatGateway }).(SubResourceResponsePtrOutput)
+func (o TrafficAnalyticsPropertiesOutput) ToTrafficAnalyticsPropertiesOutputWithContext(ctx context.Context) TrafficAnalyticsPropertiesOutput {
+ return o
}
-// The reference to the NetworkSecurityGroup resource.
-func (o SubnetResponseOutput) NetworkSecurityGroup() NetworkSecurityGroupResponsePtrOutput {
- return o.ApplyT(func(v SubnetResponse) *NetworkSecurityGroupResponse { return v.NetworkSecurityGroup }).(NetworkSecurityGroupResponsePtrOutput)
+func (o TrafficAnalyticsPropertiesOutput) ToTrafficAnalyticsPropertiesPtrOutput() TrafficAnalyticsPropertiesPtrOutput {
+ return o.ToTrafficAnalyticsPropertiesPtrOutputWithContext(context.Background())
}
-// Enable or Disable apply network policies on private end point in the subnet.
-func (o SubnetResponseOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetResponse) *string { return v.PrivateEndpointNetworkPolicies }).(pulumi.StringPtrOutput)
+func (o TrafficAnalyticsPropertiesOutput) ToTrafficAnalyticsPropertiesPtrOutputWithContext(ctx context.Context) TrafficAnalyticsPropertiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v TrafficAnalyticsProperties) *TrafficAnalyticsProperties {
+ return &v
+ }).(TrafficAnalyticsPropertiesPtrOutput)
}
-// An array of references to private endpoints.
-func (o SubnetResponseOutput) PrivateEndpoints() PrivateEndpointResponseArrayOutput {
- return o.ApplyT(func(v SubnetResponse) []PrivateEndpointResponse { return v.PrivateEndpoints }).(PrivateEndpointResponseArrayOutput)
+// Parameters that define the configuration of traffic analytics.
+func (o TrafficAnalyticsPropertiesOutput) NetworkWatcherFlowAnalyticsConfiguration() TrafficAnalyticsConfigurationPropertiesPtrOutput {
+ return o.ApplyT(func(v TrafficAnalyticsProperties) *TrafficAnalyticsConfigurationProperties {
+ return v.NetworkWatcherFlowAnalyticsConfiguration
+ }).(TrafficAnalyticsConfigurationPropertiesPtrOutput)
}
-// Enable or Disable apply network policies on private link service in the subnet.
-func (o SubnetResponseOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetResponse) *string { return v.PrivateLinkServiceNetworkPolicies }).(pulumi.StringPtrOutput)
+type TrafficAnalyticsPropertiesPtrOutput struct{ *pulumi.OutputState }
+
+func (TrafficAnalyticsPropertiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**TrafficAnalyticsProperties)(nil)).Elem()
}
-// The provisioning state of the subnet resource.
-func (o SubnetResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v SubnetResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o TrafficAnalyticsPropertiesPtrOutput) ToTrafficAnalyticsPropertiesPtrOutput() TrafficAnalyticsPropertiesPtrOutput {
+ return o
}
-// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
-func (o SubnetResponseOutput) Purpose() pulumi.StringOutput {
- return o.ApplyT(func(v SubnetResponse) string { return v.Purpose }).(pulumi.StringOutput)
+func (o TrafficAnalyticsPropertiesPtrOutput) ToTrafficAnalyticsPropertiesPtrOutputWithContext(ctx context.Context) TrafficAnalyticsPropertiesPtrOutput {
+ return o
}
-// An array of references to the external resources using subnet.
-func (o SubnetResponseOutput) ResourceNavigationLinks() ResourceNavigationLinkResponseArrayOutput {
- return o.ApplyT(func(v SubnetResponse) []ResourceNavigationLinkResponse { return v.ResourceNavigationLinks }).(ResourceNavigationLinkResponseArrayOutput)
+func (o TrafficAnalyticsPropertiesPtrOutput) Elem() TrafficAnalyticsPropertiesOutput {
+ return o.ApplyT(func(v *TrafficAnalyticsProperties) TrafficAnalyticsProperties {
+ if v != nil {
+ return *v
+ }
+ var ret TrafficAnalyticsProperties
+ return ret
+ }).(TrafficAnalyticsPropertiesOutput)
}
-// The reference to the RouteTable resource.
-func (o SubnetResponseOutput) RouteTable() RouteTableResponsePtrOutput {
- return o.ApplyT(func(v SubnetResponse) *RouteTableResponse { return v.RouteTable }).(RouteTableResponsePtrOutput)
+// Parameters that define the configuration of traffic analytics.
+func (o TrafficAnalyticsPropertiesPtrOutput) NetworkWatcherFlowAnalyticsConfiguration() TrafficAnalyticsConfigurationPropertiesPtrOutput {
+ return o.ApplyT(func(v *TrafficAnalyticsProperties) *TrafficAnalyticsConfigurationProperties {
+ if v == nil {
+ return nil
+ }
+ return v.NetworkWatcherFlowAnalyticsConfiguration
+ }).(TrafficAnalyticsConfigurationPropertiesPtrOutput)
}
-// An array of references to services injecting into this subnet.
-func (o SubnetResponseOutput) ServiceAssociationLinks() ServiceAssociationLinkResponseArrayOutput {
- return o.ApplyT(func(v SubnetResponse) []ServiceAssociationLinkResponse { return v.ServiceAssociationLinks }).(ServiceAssociationLinkResponseArrayOutput)
+// Parameters that define the configuration of traffic analytics.
+type TrafficAnalyticsPropertiesResponse struct {
+ // Parameters that define the configuration of traffic analytics.
+ NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationPropertiesResponse `pulumi:"networkWatcherFlowAnalyticsConfiguration"`
}
-// An array of service endpoint policies.
-func (o SubnetResponseOutput) ServiceEndpointPolicies() ServiceEndpointPolicyResponseArrayOutput {
- return o.ApplyT(func(v SubnetResponse) []ServiceEndpointPolicyResponse { return v.ServiceEndpointPolicies }).(ServiceEndpointPolicyResponseArrayOutput)
+// Parameters that define the configuration of traffic analytics.
+type TrafficAnalyticsPropertiesResponseOutput struct{ *pulumi.OutputState }
+
+func (TrafficAnalyticsPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*TrafficAnalyticsPropertiesResponse)(nil)).Elem()
}
-// An array of service endpoints.
-func (o SubnetResponseOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatResponseArrayOutput {
- return o.ApplyT(func(v SubnetResponse) []ServiceEndpointPropertiesFormatResponse { return v.ServiceEndpoints }).(ServiceEndpointPropertiesFormatResponseArrayOutput)
+func (o TrafficAnalyticsPropertiesResponseOutput) ToTrafficAnalyticsPropertiesResponseOutput() TrafficAnalyticsPropertiesResponseOutput {
+ return o
}
-// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
-func (o SubnetResponseOutput) SharingScope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetResponse) *string { return v.SharingScope }).(pulumi.StringPtrOutput)
+func (o TrafficAnalyticsPropertiesResponseOutput) ToTrafficAnalyticsPropertiesResponseOutputWithContext(ctx context.Context) TrafficAnalyticsPropertiesResponseOutput {
+ return o
}
-// Resource type.
-func (o SubnetResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Parameters that define the configuration of traffic analytics.
+func (o TrafficAnalyticsPropertiesResponseOutput) NetworkWatcherFlowAnalyticsConfiguration() TrafficAnalyticsConfigurationPropertiesResponsePtrOutput {
+ return o.ApplyT(func(v TrafficAnalyticsPropertiesResponse) *TrafficAnalyticsConfigurationPropertiesResponse {
+ return v.NetworkWatcherFlowAnalyticsConfiguration
+ }).(TrafficAnalyticsConfigurationPropertiesResponsePtrOutput)
}
-type SubnetResponsePtrOutput struct{ *pulumi.OutputState }
+type TrafficAnalyticsPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
-func (SubnetResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**SubnetResponse)(nil)).Elem()
+func (TrafficAnalyticsPropertiesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**TrafficAnalyticsPropertiesResponse)(nil)).Elem()
}
-func (o SubnetResponsePtrOutput) ToSubnetResponsePtrOutput() SubnetResponsePtrOutput {
+func (o TrafficAnalyticsPropertiesResponsePtrOutput) ToTrafficAnalyticsPropertiesResponsePtrOutput() TrafficAnalyticsPropertiesResponsePtrOutput {
return o
}
-func (o SubnetResponsePtrOutput) ToSubnetResponsePtrOutputWithContext(ctx context.Context) SubnetResponsePtrOutput {
+func (o TrafficAnalyticsPropertiesResponsePtrOutput) ToTrafficAnalyticsPropertiesResponsePtrOutputWithContext(ctx context.Context) TrafficAnalyticsPropertiesResponsePtrOutput {
return o
}
-func (o SubnetResponsePtrOutput) Elem() SubnetResponseOutput {
- return o.ApplyT(func(v *SubnetResponse) SubnetResponse {
+func (o TrafficAnalyticsPropertiesResponsePtrOutput) Elem() TrafficAnalyticsPropertiesResponseOutput {
+ return o.ApplyT(func(v *TrafficAnalyticsPropertiesResponse) TrafficAnalyticsPropertiesResponse {
if v != nil {
return *v
}
- var ret SubnetResponse
+ var ret TrafficAnalyticsPropertiesResponse
return ret
- }).(SubnetResponseOutput)
+ }).(TrafficAnalyticsPropertiesResponseOutput)
}
-// The address prefix for the subnet.
-func (o SubnetResponsePtrOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetResponse) *string {
+// Parameters that define the configuration of traffic analytics.
+func (o TrafficAnalyticsPropertiesResponsePtrOutput) NetworkWatcherFlowAnalyticsConfiguration() TrafficAnalyticsConfigurationPropertiesResponsePtrOutput {
+ return o.ApplyT(func(v *TrafficAnalyticsPropertiesResponse) *TrafficAnalyticsConfigurationPropertiesResponse {
if v == nil {
return nil
}
- return v.AddressPrefix
- }).(pulumi.StringPtrOutput)
+ return v.NetworkWatcherFlowAnalyticsConfiguration
+ }).(TrafficAnalyticsConfigurationPropertiesResponsePtrOutput)
}
-// List of address prefixes for the subnet.
-func (o SubnetResponsePtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *SubnetResponse) []string {
- if v == nil {
- return nil
- }
- return v.AddressPrefixes
- }).(pulumi.StringArrayOutput)
+// An traffic selector policy for a virtual network gateway connection.
+type TrafficSelectorPolicy struct {
+ // A collection of local address spaces in CIDR format.
+ LocalAddressRanges []string `pulumi:"localAddressRanges"`
+ // A collection of remote address spaces in CIDR format.
+ RemoteAddressRanges []string `pulumi:"remoteAddressRanges"`
}
-// Application gateway IP configurations of virtual network resource.
-func (o SubnetResponsePtrOutput) ApplicationGatewayIPConfigurations() ApplicationGatewayIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v *SubnetResponse) []ApplicationGatewayIPConfigurationResponse {
- if v == nil {
- return nil
- }
- return v.ApplicationGatewayIPConfigurations
- }).(ApplicationGatewayIPConfigurationResponseArrayOutput)
-}
+// TrafficSelectorPolicyInput is an input type that accepts TrafficSelectorPolicyArgs and TrafficSelectorPolicyOutput values.
+// You can construct a concrete instance of `TrafficSelectorPolicyInput` via:
+//
+// TrafficSelectorPolicyArgs{...}
+type TrafficSelectorPolicyInput interface {
+ pulumi.Input
-// Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet.
-func (o SubnetResponsePtrOutput) DefaultOutboundAccess() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *SubnetResponse) *bool {
- if v == nil {
- return nil
- }
- return v.DefaultOutboundAccess
- }).(pulumi.BoolPtrOutput)
+ ToTrafficSelectorPolicyOutput() TrafficSelectorPolicyOutput
+ ToTrafficSelectorPolicyOutputWithContext(context.Context) TrafficSelectorPolicyOutput
}
-// An array of references to the delegations on the subnet.
-func (o SubnetResponsePtrOutput) Delegations() DelegationResponseArrayOutput {
- return o.ApplyT(func(v *SubnetResponse) []DelegationResponse {
- if v == nil {
- return nil
- }
- return v.Delegations
- }).(DelegationResponseArrayOutput)
+// An traffic selector policy for a virtual network gateway connection.
+type TrafficSelectorPolicyArgs struct {
+ // A collection of local address spaces in CIDR format.
+ LocalAddressRanges pulumi.StringArrayInput `pulumi:"localAddressRanges"`
+ // A collection of remote address spaces in CIDR format.
+ RemoteAddressRanges pulumi.StringArrayInput `pulumi:"remoteAddressRanges"`
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o SubnetResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Etag
- }).(pulumi.StringPtrOutput)
+func (TrafficSelectorPolicyArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*TrafficSelectorPolicy)(nil)).Elem()
}
-// Resource ID.
-func (o SubnetResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetResponse) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+func (i TrafficSelectorPolicyArgs) ToTrafficSelectorPolicyOutput() TrafficSelectorPolicyOutput {
+ return i.ToTrafficSelectorPolicyOutputWithContext(context.Background())
}
-// Array of IpAllocation which reference this subnet.
-func (o SubnetResponsePtrOutput) IpAllocations() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *SubnetResponse) []SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.IpAllocations
- }).(SubResourceResponseArrayOutput)
+func (i TrafficSelectorPolicyArgs) ToTrafficSelectorPolicyOutputWithContext(ctx context.Context) TrafficSelectorPolicyOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(TrafficSelectorPolicyOutput)
}
-// Array of IP configuration profiles which reference this subnet.
-func (o SubnetResponsePtrOutput) IpConfigurationProfiles() IPConfigurationProfileResponseArrayOutput {
- return o.ApplyT(func(v *SubnetResponse) []IPConfigurationProfileResponse {
- if v == nil {
- return nil
- }
- return v.IpConfigurationProfiles
- }).(IPConfigurationProfileResponseArrayOutput)
-}
+// TrafficSelectorPolicyArrayInput is an input type that accepts TrafficSelectorPolicyArray and TrafficSelectorPolicyArrayOutput values.
+// You can construct a concrete instance of `TrafficSelectorPolicyArrayInput` via:
+//
+// TrafficSelectorPolicyArray{ TrafficSelectorPolicyArgs{...} }
+type TrafficSelectorPolicyArrayInput interface {
+ pulumi.Input
-// An array of references to the network interface IP configurations using subnet.
-func (o SubnetResponsePtrOutput) IpConfigurations() IPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v *SubnetResponse) []IPConfigurationResponse {
- if v == nil {
- return nil
- }
- return v.IpConfigurations
- }).(IPConfigurationResponseArrayOutput)
+ ToTrafficSelectorPolicyArrayOutput() TrafficSelectorPolicyArrayOutput
+ ToTrafficSelectorPolicyArrayOutputWithContext(context.Context) TrafficSelectorPolicyArrayOutput
}
-// A list of IPAM Pools for allocating IP address prefixes.
-func (o SubnetResponsePtrOutput) IpamPoolPrefixAllocations() IpamPoolPrefixAllocationResponseArrayOutput {
- return o.ApplyT(func(v *SubnetResponse) []IpamPoolPrefixAllocationResponse {
- if v == nil {
- return nil
- }
- return v.IpamPoolPrefixAllocations
- }).(IpamPoolPrefixAllocationResponseArrayOutput)
-}
+type TrafficSelectorPolicyArray []TrafficSelectorPolicyInput
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o SubnetResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetResponse) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+func (TrafficSelectorPolicyArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]TrafficSelectorPolicy)(nil)).Elem()
}
-// Nat gateway associated with this subnet.
-func (o SubnetResponsePtrOutput) NatGateway() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *SubnetResponse) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.NatGateway
- }).(SubResourceResponsePtrOutput)
+func (i TrafficSelectorPolicyArray) ToTrafficSelectorPolicyArrayOutput() TrafficSelectorPolicyArrayOutput {
+ return i.ToTrafficSelectorPolicyArrayOutputWithContext(context.Background())
}
-// The reference to the NetworkSecurityGroup resource.
-func (o SubnetResponsePtrOutput) NetworkSecurityGroup() NetworkSecurityGroupResponsePtrOutput {
- return o.ApplyT(func(v *SubnetResponse) *NetworkSecurityGroupResponse {
- if v == nil {
- return nil
- }
- return v.NetworkSecurityGroup
- }).(NetworkSecurityGroupResponsePtrOutput)
+func (i TrafficSelectorPolicyArray) ToTrafficSelectorPolicyArrayOutputWithContext(ctx context.Context) TrafficSelectorPolicyArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(TrafficSelectorPolicyArrayOutput)
}
-// Enable or Disable apply network policies on private end point in the subnet.
-func (o SubnetResponsePtrOutput) PrivateEndpointNetworkPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateEndpointNetworkPolicies
- }).(pulumi.StringPtrOutput)
-}
+// An traffic selector policy for a virtual network gateway connection.
+type TrafficSelectorPolicyOutput struct{ *pulumi.OutputState }
-// An array of references to private endpoints.
-func (o SubnetResponsePtrOutput) PrivateEndpoints() PrivateEndpointResponseArrayOutput {
- return o.ApplyT(func(v *SubnetResponse) []PrivateEndpointResponse {
- if v == nil {
- return nil
- }
- return v.PrivateEndpoints
- }).(PrivateEndpointResponseArrayOutput)
+func (TrafficSelectorPolicyOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*TrafficSelectorPolicy)(nil)).Elem()
}
-// Enable or Disable apply network policies on private link service in the subnet.
-func (o SubnetResponsePtrOutput) PrivateLinkServiceNetworkPolicies() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetResponse) *string {
- if v == nil {
- return nil
- }
- return v.PrivateLinkServiceNetworkPolicies
- }).(pulumi.StringPtrOutput)
+func (o TrafficSelectorPolicyOutput) ToTrafficSelectorPolicyOutput() TrafficSelectorPolicyOutput {
+ return o
}
-// The provisioning state of the subnet resource.
-func (o SubnetResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetResponse) *string {
- if v == nil {
- return nil
- }
- return &v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+func (o TrafficSelectorPolicyOutput) ToTrafficSelectorPolicyOutputWithContext(ctx context.Context) TrafficSelectorPolicyOutput {
+ return o
}
-// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
-func (o SubnetResponsePtrOutput) Purpose() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetResponse) *string {
- if v == nil {
- return nil
- }
- return &v.Purpose
- }).(pulumi.StringPtrOutput)
+// A collection of local address spaces in CIDR format.
+func (o TrafficSelectorPolicyOutput) LocalAddressRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v TrafficSelectorPolicy) []string { return v.LocalAddressRanges }).(pulumi.StringArrayOutput)
}
-// An array of references to the external resources using subnet.
-func (o SubnetResponsePtrOutput) ResourceNavigationLinks() ResourceNavigationLinkResponseArrayOutput {
- return o.ApplyT(func(v *SubnetResponse) []ResourceNavigationLinkResponse {
- if v == nil {
- return nil
- }
- return v.ResourceNavigationLinks
- }).(ResourceNavigationLinkResponseArrayOutput)
+// A collection of remote address spaces in CIDR format.
+func (o TrafficSelectorPolicyOutput) RemoteAddressRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v TrafficSelectorPolicy) []string { return v.RemoteAddressRanges }).(pulumi.StringArrayOutput)
}
-// The reference to the RouteTable resource.
-func (o SubnetResponsePtrOutput) RouteTable() RouteTableResponsePtrOutput {
- return o.ApplyT(func(v *SubnetResponse) *RouteTableResponse {
- if v == nil {
- return nil
- }
- return v.RouteTable
- }).(RouteTableResponsePtrOutput)
-}
+type TrafficSelectorPolicyArrayOutput struct{ *pulumi.OutputState }
-// An array of references to services injecting into this subnet.
-func (o SubnetResponsePtrOutput) ServiceAssociationLinks() ServiceAssociationLinkResponseArrayOutput {
- return o.ApplyT(func(v *SubnetResponse) []ServiceAssociationLinkResponse {
- if v == nil {
- return nil
- }
- return v.ServiceAssociationLinks
- }).(ServiceAssociationLinkResponseArrayOutput)
+func (TrafficSelectorPolicyArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]TrafficSelectorPolicy)(nil)).Elem()
}
-// An array of service endpoint policies.
-func (o SubnetResponsePtrOutput) ServiceEndpointPolicies() ServiceEndpointPolicyResponseArrayOutput {
- return o.ApplyT(func(v *SubnetResponse) []ServiceEndpointPolicyResponse {
- if v == nil {
- return nil
- }
- return v.ServiceEndpointPolicies
- }).(ServiceEndpointPolicyResponseArrayOutput)
+func (o TrafficSelectorPolicyArrayOutput) ToTrafficSelectorPolicyArrayOutput() TrafficSelectorPolicyArrayOutput {
+ return o
}
-// An array of service endpoints.
-func (o SubnetResponsePtrOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatResponseArrayOutput {
- return o.ApplyT(func(v *SubnetResponse) []ServiceEndpointPropertiesFormatResponse {
- if v == nil {
- return nil
- }
- return v.ServiceEndpoints
- }).(ServiceEndpointPropertiesFormatResponseArrayOutput)
+func (o TrafficSelectorPolicyArrayOutput) ToTrafficSelectorPolicyArrayOutputWithContext(ctx context.Context) TrafficSelectorPolicyArrayOutput {
+ return o
}
-// Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
-func (o SubnetResponsePtrOutput) SharingScope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetResponse) *string {
- if v == nil {
- return nil
- }
- return v.SharingScope
- }).(pulumi.StringPtrOutput)
+func (o TrafficSelectorPolicyArrayOutput) Index(i pulumi.IntInput) TrafficSelectorPolicyOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) TrafficSelectorPolicy {
+ return vs[0].([]TrafficSelectorPolicy)[vs[1].(int)]
+ }).(TrafficSelectorPolicyOutput)
}
-// Resource type.
-func (o SubnetResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetResponse) *string {
- if v == nil {
- return nil
- }
- return v.Type
- }).(pulumi.StringPtrOutput)
+// An traffic selector policy for a virtual network gateway connection.
+type TrafficSelectorPolicyResponse struct {
+ // A collection of local address spaces in CIDR format.
+ LocalAddressRanges []string `pulumi:"localAddressRanges"`
+ // A collection of remote address spaces in CIDR format.
+ RemoteAddressRanges []string `pulumi:"remoteAddressRanges"`
}
-type SubnetResponseArrayOutput struct{ *pulumi.OutputState }
+// An traffic selector policy for a virtual network gateway connection.
+type TrafficSelectorPolicyResponseOutput struct{ *pulumi.OutputState }
-func (SubnetResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SubnetResponse)(nil)).Elem()
+func (TrafficSelectorPolicyResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*TrafficSelectorPolicyResponse)(nil)).Elem()
}
-func (o SubnetResponseArrayOutput) ToSubnetResponseArrayOutput() SubnetResponseArrayOutput {
+func (o TrafficSelectorPolicyResponseOutput) ToTrafficSelectorPolicyResponseOutput() TrafficSelectorPolicyResponseOutput {
return o
}
-func (o SubnetResponseArrayOutput) ToSubnetResponseArrayOutputWithContext(ctx context.Context) SubnetResponseArrayOutput {
+func (o TrafficSelectorPolicyResponseOutput) ToTrafficSelectorPolicyResponseOutputWithContext(ctx context.Context) TrafficSelectorPolicyResponseOutput {
return o
}
-func (o SubnetResponseArrayOutput) Index(i pulumi.IntInput) SubnetResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubnetResponse {
- return vs[0].([]SubnetResponse)[vs[1].(int)]
- }).(SubnetResponseOutput)
+// A collection of local address spaces in CIDR format.
+func (o TrafficSelectorPolicyResponseOutput) LocalAddressRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v TrafficSelectorPolicyResponse) []string { return v.LocalAddressRanges }).(pulumi.StringArrayOutput)
}
-// Subnet in a virtual network resource.
-type SubnetResponseV1 struct {
- // The address prefix for the subnet.
- AddressPrefix *string `pulumi:"addressPrefix"`
- // List of address prefixes for the subnet.
- AddressPrefixes []string `pulumi:"addressPrefixes"`
- // Gets an array of references to the delegations on the subnet.
- Delegations []DelegationResponseV1 `pulumi:"delegations"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // An array of references to interface endpoints
- InterfaceEndpoints []InterfaceEndpointResponse `pulumi:"interfaceEndpoints"`
- // Array of IP configuration profiles which reference this subnet.
- IpConfigurationProfiles []IPConfigurationProfileResponseV1 `pulumi:"ipConfigurationProfiles"`
- // Gets an array of references to the network interface IP configurations using subnet.
- IpConfigurations []IPConfigurationResponseV1 `pulumi:"ipConfigurations"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // Nat gateway associated with this subnet.
- NatGateway *SubResourceResponse `pulumi:"natGateway"`
- // The reference of the NetworkSecurityGroup resource.
- NetworkSecurityGroup *NetworkSecurityGroupResponseV1 `pulumi:"networkSecurityGroup"`
- // The provisioning state of the resource.
- ProvisioningState *string `pulumi:"provisioningState"`
- // A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
- Purpose string `pulumi:"purpose"`
- // Gets an array of references to the external resources using subnet.
- ResourceNavigationLinks []ResourceNavigationLinkResponseV1 `pulumi:"resourceNavigationLinks"`
- // The reference of the RouteTable resource.
- RouteTable *RouteTableResponseV1 `pulumi:"routeTable"`
- // Gets an array of references to services injecting into this subnet.
- ServiceAssociationLinks []ServiceAssociationLinkResponseV1 `pulumi:"serviceAssociationLinks"`
- // An array of service endpoint policies.
- ServiceEndpointPolicies []ServiceEndpointPolicyResponseV1 `pulumi:"serviceEndpointPolicies"`
- // An array of service endpoints.
- ServiceEndpoints []ServiceEndpointPropertiesFormatResponseV1 `pulumi:"serviceEndpoints"`
+// A collection of remote address spaces in CIDR format.
+func (o TrafficSelectorPolicyResponseOutput) RemoteAddressRanges() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v TrafficSelectorPolicyResponse) []string { return v.RemoteAddressRanges }).(pulumi.StringArrayOutput)
}
-// Subnet in a virtual network resource.
-type SubnetResponseV1Output struct{ *pulumi.OutputState }
+type TrafficSelectorPolicyResponseArrayOutput struct{ *pulumi.OutputState }
-func (SubnetResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*SubnetResponseV1)(nil)).Elem()
+func (TrafficSelectorPolicyResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]TrafficSelectorPolicyResponse)(nil)).Elem()
}
-func (o SubnetResponseV1Output) ToSubnetResponseV1Output() SubnetResponseV1Output {
+func (o TrafficSelectorPolicyResponseArrayOutput) ToTrafficSelectorPolicyResponseArrayOutput() TrafficSelectorPolicyResponseArrayOutput {
return o
}
-func (o SubnetResponseV1Output) ToSubnetResponseV1OutputWithContext(ctx context.Context) SubnetResponseV1Output {
+func (o TrafficSelectorPolicyResponseArrayOutput) ToTrafficSelectorPolicyResponseArrayOutputWithContext(ctx context.Context) TrafficSelectorPolicyResponseArrayOutput {
return o
}
-// The address prefix for the subnet.
-func (o SubnetResponseV1Output) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetResponseV1) *string { return v.AddressPrefix }).(pulumi.StringPtrOutput)
-}
-
-// List of address prefixes for the subnet.
-func (o SubnetResponseV1Output) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v SubnetResponseV1) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+func (o TrafficSelectorPolicyResponseArrayOutput) Index(i pulumi.IntInput) TrafficSelectorPolicyResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) TrafficSelectorPolicyResponse {
+ return vs[0].([]TrafficSelectorPolicyResponse)[vs[1].(int)]
+ }).(TrafficSelectorPolicyResponseOutput)
}
-// Gets an array of references to the delegations on the subnet.
-func (o SubnetResponseV1Output) Delegations() DelegationResponseV1ArrayOutput {
- return o.ApplyT(func(v SubnetResponseV1) []DelegationResponseV1 { return v.Delegations }).(DelegationResponseV1ArrayOutput)
+// VirtualNetworkGatewayConnection properties.
+type TunnelConnectionHealthResponse struct {
+ // Virtual Network Gateway connection status.
+ ConnectionStatus string `pulumi:"connectionStatus"`
+ // The Egress Bytes Transferred in this connection.
+ EgressBytesTransferred float64 `pulumi:"egressBytesTransferred"`
+ // The Ingress Bytes Transferred in this connection.
+ IngressBytesTransferred float64 `pulumi:"ingressBytesTransferred"`
+ // The time at which connection was established in Utc format.
+ LastConnectionEstablishedUtcTime string `pulumi:"lastConnectionEstablishedUtcTime"`
+ // Tunnel name.
+ Tunnel string `pulumi:"tunnel"`
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o SubnetResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
-}
+// VirtualNetworkGatewayConnection properties.
+type TunnelConnectionHealthResponseOutput struct{ *pulumi.OutputState }
-// Resource ID.
-func (o SubnetResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (TunnelConnectionHealthResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*TunnelConnectionHealthResponse)(nil)).Elem()
}
-// An array of references to interface endpoints
-func (o SubnetResponseV1Output) InterfaceEndpoints() InterfaceEndpointResponseArrayOutput {
- return o.ApplyT(func(v SubnetResponseV1) []InterfaceEndpointResponse { return v.InterfaceEndpoints }).(InterfaceEndpointResponseArrayOutput)
+func (o TunnelConnectionHealthResponseOutput) ToTunnelConnectionHealthResponseOutput() TunnelConnectionHealthResponseOutput {
+ return o
}
-// Array of IP configuration profiles which reference this subnet.
-func (o SubnetResponseV1Output) IpConfigurationProfiles() IPConfigurationProfileResponseV1ArrayOutput {
- return o.ApplyT(func(v SubnetResponseV1) []IPConfigurationProfileResponseV1 { return v.IpConfigurationProfiles }).(IPConfigurationProfileResponseV1ArrayOutput)
+func (o TunnelConnectionHealthResponseOutput) ToTunnelConnectionHealthResponseOutputWithContext(ctx context.Context) TunnelConnectionHealthResponseOutput {
+ return o
}
-// Gets an array of references to the network interface IP configurations using subnet.
-func (o SubnetResponseV1Output) IpConfigurations() IPConfigurationResponseV1ArrayOutput {
- return o.ApplyT(func(v SubnetResponseV1) []IPConfigurationResponseV1 { return v.IpConfigurations }).(IPConfigurationResponseV1ArrayOutput)
+// Virtual Network Gateway connection status.
+func (o TunnelConnectionHealthResponseOutput) ConnectionStatus() pulumi.StringOutput {
+ return o.ApplyT(func(v TunnelConnectionHealthResponse) string { return v.ConnectionStatus }).(pulumi.StringOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o SubnetResponseV1Output) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetResponseV1) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The Egress Bytes Transferred in this connection.
+func (o TunnelConnectionHealthResponseOutput) EgressBytesTransferred() pulumi.Float64Output {
+ return o.ApplyT(func(v TunnelConnectionHealthResponse) float64 { return v.EgressBytesTransferred }).(pulumi.Float64Output)
}
-// Nat gateway associated with this subnet.
-func (o SubnetResponseV1Output) NatGateway() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v SubnetResponseV1) *SubResourceResponse { return v.NatGateway }).(SubResourceResponsePtrOutput)
+// The Ingress Bytes Transferred in this connection.
+func (o TunnelConnectionHealthResponseOutput) IngressBytesTransferred() pulumi.Float64Output {
+ return o.ApplyT(func(v TunnelConnectionHealthResponse) float64 { return v.IngressBytesTransferred }).(pulumi.Float64Output)
}
-// The reference of the NetworkSecurityGroup resource.
-func (o SubnetResponseV1Output) NetworkSecurityGroup() NetworkSecurityGroupResponseV1PtrOutput {
- return o.ApplyT(func(v SubnetResponseV1) *NetworkSecurityGroupResponseV1 { return v.NetworkSecurityGroup }).(NetworkSecurityGroupResponseV1PtrOutput)
+// The time at which connection was established in Utc format.
+func (o TunnelConnectionHealthResponseOutput) LastConnectionEstablishedUtcTime() pulumi.StringOutput {
+ return o.ApplyT(func(v TunnelConnectionHealthResponse) string { return v.LastConnectionEstablishedUtcTime }).(pulumi.StringOutput)
}
-// The provisioning state of the resource.
-func (o SubnetResponseV1Output) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubnetResponseV1) *string { return v.ProvisioningState }).(pulumi.StringPtrOutput)
+// Tunnel name.
+func (o TunnelConnectionHealthResponseOutput) Tunnel() pulumi.StringOutput {
+ return o.ApplyT(func(v TunnelConnectionHealthResponse) string { return v.Tunnel }).(pulumi.StringOutput)
}
-// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
-func (o SubnetResponseV1Output) Purpose() pulumi.StringOutput {
- return o.ApplyT(func(v SubnetResponseV1) string { return v.Purpose }).(pulumi.StringOutput)
-}
+type TunnelConnectionHealthResponseArrayOutput struct{ *pulumi.OutputState }
-// Gets an array of references to the external resources using subnet.
-func (o SubnetResponseV1Output) ResourceNavigationLinks() ResourceNavigationLinkResponseV1ArrayOutput {
- return o.ApplyT(func(v SubnetResponseV1) []ResourceNavigationLinkResponseV1 { return v.ResourceNavigationLinks }).(ResourceNavigationLinkResponseV1ArrayOutput)
+func (TunnelConnectionHealthResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]TunnelConnectionHealthResponse)(nil)).Elem()
}
-// The reference of the RouteTable resource.
-func (o SubnetResponseV1Output) RouteTable() RouteTableResponseV1PtrOutput {
- return o.ApplyT(func(v SubnetResponseV1) *RouteTableResponseV1 { return v.RouteTable }).(RouteTableResponseV1PtrOutput)
+func (o TunnelConnectionHealthResponseArrayOutput) ToTunnelConnectionHealthResponseArrayOutput() TunnelConnectionHealthResponseArrayOutput {
+ return o
}
-// Gets an array of references to services injecting into this subnet.
-func (o SubnetResponseV1Output) ServiceAssociationLinks() ServiceAssociationLinkResponseV1ArrayOutput {
- return o.ApplyT(func(v SubnetResponseV1) []ServiceAssociationLinkResponseV1 { return v.ServiceAssociationLinks }).(ServiceAssociationLinkResponseV1ArrayOutput)
+func (o TunnelConnectionHealthResponseArrayOutput) ToTunnelConnectionHealthResponseArrayOutputWithContext(ctx context.Context) TunnelConnectionHealthResponseArrayOutput {
+ return o
}
-// An array of service endpoint policies.
-func (o SubnetResponseV1Output) ServiceEndpointPolicies() ServiceEndpointPolicyResponseV1ArrayOutput {
- return o.ApplyT(func(v SubnetResponseV1) []ServiceEndpointPolicyResponseV1 { return v.ServiceEndpointPolicies }).(ServiceEndpointPolicyResponseV1ArrayOutput)
+func (o TunnelConnectionHealthResponseArrayOutput) Index(i pulumi.IntInput) TunnelConnectionHealthResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) TunnelConnectionHealthResponse {
+ return vs[0].([]TunnelConnectionHealthResponse)[vs[1].(int)]
+ }).(TunnelConnectionHealthResponseOutput)
}
-// An array of service endpoints.
-func (o SubnetResponseV1Output) ServiceEndpoints() ServiceEndpointPropertiesFormatResponseV1ArrayOutput {
- return o.ApplyT(func(v SubnetResponseV1) []ServiceEndpointPropertiesFormatResponseV1 { return v.ServiceEndpoints }).(ServiceEndpointPropertiesFormatResponseV1ArrayOutput)
+// Describes a Virtual Machine.
+type VM struct {
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
}
-type SubnetResponseV1PtrOutput struct{ *pulumi.OutputState }
+// VMInput is an input type that accepts VMArgs and VMOutput values.
+// You can construct a concrete instance of `VMInput` via:
+//
+// VMArgs{...}
+type VMInput interface {
+ pulumi.Input
-func (SubnetResponseV1PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**SubnetResponseV1)(nil)).Elem()
+ ToVMOutput() VMOutput
+ ToVMOutputWithContext(context.Context) VMOutput
}
-func (o SubnetResponseV1PtrOutput) ToSubnetResponseV1PtrOutput() SubnetResponseV1PtrOutput {
- return o
+// Describes a Virtual Machine.
+type VMArgs struct {
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Resource location.
+ Location pulumi.StringPtrInput `pulumi:"location"`
+ // Resource tags.
+ Tags pulumi.StringMapInput `pulumi:"tags"`
}
-func (o SubnetResponseV1PtrOutput) ToSubnetResponseV1PtrOutputWithContext(ctx context.Context) SubnetResponseV1PtrOutput {
- return o
+func (VMArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VM)(nil)).Elem()
}
-func (o SubnetResponseV1PtrOutput) Elem() SubnetResponseV1Output {
- return o.ApplyT(func(v *SubnetResponseV1) SubnetResponseV1 {
- if v != nil {
- return *v
- }
- var ret SubnetResponseV1
- return ret
- }).(SubnetResponseV1Output)
+func (i VMArgs) ToVMOutput() VMOutput {
+ return i.ToVMOutputWithContext(context.Background())
}
-// The address prefix for the subnet.
-func (o SubnetResponseV1PtrOutput) AddressPrefix() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.AddressPrefix
- }).(pulumi.StringPtrOutput)
+func (i VMArgs) ToVMOutputWithContext(ctx context.Context) VMOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VMOutput)
}
-// List of address prefixes for the subnet.
-func (o SubnetResponseV1PtrOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v *SubnetResponseV1) []string {
- if v == nil {
- return nil
- }
- return v.AddressPrefixes
- }).(pulumi.StringArrayOutput)
-}
+// Describes a Virtual Machine.
+type VMOutput struct{ *pulumi.OutputState }
-// Gets an array of references to the delegations on the subnet.
-func (o SubnetResponseV1PtrOutput) Delegations() DelegationResponseV1ArrayOutput {
- return o.ApplyT(func(v *SubnetResponseV1) []DelegationResponseV1 {
- if v == nil {
- return nil
- }
- return v.Delegations
- }).(DelegationResponseV1ArrayOutput)
+func (VMOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VM)(nil)).Elem()
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o SubnetResponseV1PtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.Etag
- }).(pulumi.StringPtrOutput)
+func (o VMOutput) ToVMOutput() VMOutput {
+ return o
}
-// Resource ID.
-func (o SubnetResponseV1PtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+func (o VMOutput) ToVMOutputWithContext(ctx context.Context) VMOutput {
+ return o
}
-// An array of references to interface endpoints
-func (o SubnetResponseV1PtrOutput) InterfaceEndpoints() InterfaceEndpointResponseArrayOutput {
- return o.ApplyT(func(v *SubnetResponseV1) []InterfaceEndpointResponse {
- if v == nil {
- return nil
- }
- return v.InterfaceEndpoints
- }).(InterfaceEndpointResponseArrayOutput)
+// Resource ID.
+func (o VMOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VM) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Array of IP configuration profiles which reference this subnet.
-func (o SubnetResponseV1PtrOutput) IpConfigurationProfiles() IPConfigurationProfileResponseV1ArrayOutput {
- return o.ApplyT(func(v *SubnetResponseV1) []IPConfigurationProfileResponseV1 {
- if v == nil {
- return nil
- }
- return v.IpConfigurationProfiles
- }).(IPConfigurationProfileResponseV1ArrayOutput)
+// Resource location.
+func (o VMOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VM) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// Gets an array of references to the network interface IP configurations using subnet.
-func (o SubnetResponseV1PtrOutput) IpConfigurations() IPConfigurationResponseV1ArrayOutput {
- return o.ApplyT(func(v *SubnetResponseV1) []IPConfigurationResponseV1 {
- if v == nil {
- return nil
- }
- return v.IpConfigurations
- }).(IPConfigurationResponseV1ArrayOutput)
+// Resource tags.
+func (o VMOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v VM) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o SubnetResponseV1PtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
+// Describes a Virtual Machine.
+type VMResponse struct {
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// Nat gateway associated with this subnet.
-func (o SubnetResponseV1PtrOutput) NatGateway() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *SubnetResponseV1) *SubResourceResponse {
- if v == nil {
- return nil
- }
- return v.NatGateway
- }).(SubResourceResponsePtrOutput)
-}
+// Describes a Virtual Machine.
+type VMResponseOutput struct{ *pulumi.OutputState }
-// The reference of the NetworkSecurityGroup resource.
-func (o SubnetResponseV1PtrOutput) NetworkSecurityGroup() NetworkSecurityGroupResponseV1PtrOutput {
- return o.ApplyT(func(v *SubnetResponseV1) *NetworkSecurityGroupResponseV1 {
- if v == nil {
- return nil
- }
- return v.NetworkSecurityGroup
- }).(NetworkSecurityGroupResponseV1PtrOutput)
+func (VMResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VMResponse)(nil)).Elem()
}
-// The provisioning state of the resource.
-func (o SubnetResponseV1PtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetResponseV1) *string {
- if v == nil {
- return nil
- }
- return v.ProvisioningState
- }).(pulumi.StringPtrOutput)
+func (o VMResponseOutput) ToVMResponseOutput() VMResponseOutput {
+ return o
}
-// A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
-func (o SubnetResponseV1PtrOutput) Purpose() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *SubnetResponseV1) *string {
- if v == nil {
- return nil
- }
- return &v.Purpose
- }).(pulumi.StringPtrOutput)
+func (o VMResponseOutput) ToVMResponseOutputWithContext(ctx context.Context) VMResponseOutput {
+ return o
}
-// Gets an array of references to the external resources using subnet.
-func (o SubnetResponseV1PtrOutput) ResourceNavigationLinks() ResourceNavigationLinkResponseV1ArrayOutput {
- return o.ApplyT(func(v *SubnetResponseV1) []ResourceNavigationLinkResponseV1 {
- if v == nil {
- return nil
- }
- return v.ResourceNavigationLinks
- }).(ResourceNavigationLinkResponseV1ArrayOutput)
+// Resource ID.
+func (o VMResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VMResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The reference of the RouteTable resource.
-func (o SubnetResponseV1PtrOutput) RouteTable() RouteTableResponseV1PtrOutput {
- return o.ApplyT(func(v *SubnetResponseV1) *RouteTableResponseV1 {
- if v == nil {
- return nil
- }
- return v.RouteTable
- }).(RouteTableResponseV1PtrOutput)
+// Resource location.
+func (o VMResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VMResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// Gets an array of references to services injecting into this subnet.
-func (o SubnetResponseV1PtrOutput) ServiceAssociationLinks() ServiceAssociationLinkResponseV1ArrayOutput {
- return o.ApplyT(func(v *SubnetResponseV1) []ServiceAssociationLinkResponseV1 {
- if v == nil {
- return nil
- }
- return v.ServiceAssociationLinks
- }).(ServiceAssociationLinkResponseV1ArrayOutput)
+// Resource name.
+func (o VMResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v VMResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// An array of service endpoint policies.
-func (o SubnetResponseV1PtrOutput) ServiceEndpointPolicies() ServiceEndpointPolicyResponseV1ArrayOutput {
- return o.ApplyT(func(v *SubnetResponseV1) []ServiceEndpointPolicyResponseV1 {
- if v == nil {
- return nil
- }
- return v.ServiceEndpointPolicies
- }).(ServiceEndpointPolicyResponseV1ArrayOutput)
+// Resource tags.
+func (o VMResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v VMResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// An array of service endpoints.
-func (o SubnetResponseV1PtrOutput) ServiceEndpoints() ServiceEndpointPropertiesFormatResponseV1ArrayOutput {
- return o.ApplyT(func(v *SubnetResponseV1) []ServiceEndpointPropertiesFormatResponseV1 {
- if v == nil {
- return nil
- }
- return v.ServiceEndpoints
- }).(ServiceEndpointPropertiesFormatResponseV1ArrayOutput)
+// Resource type.
+func (o VMResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v VMResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type SubscriptionId struct {
- // Subscription id in the ARM id format.
- Id *string `pulumi:"id"`
+// Properties of Verifier Workspace resource.
+type VerifierWorkspaceProperties struct {
+ Description *string `pulumi:"description"`
}
-// SubscriptionIdInput is an input type that accepts SubscriptionIdArgs and SubscriptionIdOutput values.
-// You can construct a concrete instance of `SubscriptionIdInput` via:
+// VerifierWorkspacePropertiesInput is an input type that accepts VerifierWorkspacePropertiesArgs and VerifierWorkspacePropertiesOutput values.
+// You can construct a concrete instance of `VerifierWorkspacePropertiesInput` via:
//
-// SubscriptionIdArgs{...}
-type SubscriptionIdInput interface {
+// VerifierWorkspacePropertiesArgs{...}
+type VerifierWorkspacePropertiesInput interface {
pulumi.Input
- ToSubscriptionIdOutput() SubscriptionIdOutput
- ToSubscriptionIdOutputWithContext(context.Context) SubscriptionIdOutput
+ ToVerifierWorkspacePropertiesOutput() VerifierWorkspacePropertiesOutput
+ ToVerifierWorkspacePropertiesOutputWithContext(context.Context) VerifierWorkspacePropertiesOutput
}
-type SubscriptionIdArgs struct {
- // Subscription id in the ARM id format.
- Id pulumi.StringPtrInput `pulumi:"id"`
+// Properties of Verifier Workspace resource.
+type VerifierWorkspacePropertiesArgs struct {
+ Description pulumi.StringPtrInput `pulumi:"description"`
}
-func (SubscriptionIdArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*SubscriptionId)(nil)).Elem()
+func (VerifierWorkspacePropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VerifierWorkspaceProperties)(nil)).Elem()
}
-func (i SubscriptionIdArgs) ToSubscriptionIdOutput() SubscriptionIdOutput {
- return i.ToSubscriptionIdOutputWithContext(context.Background())
+func (i VerifierWorkspacePropertiesArgs) ToVerifierWorkspacePropertiesOutput() VerifierWorkspacePropertiesOutput {
+ return i.ToVerifierWorkspacePropertiesOutputWithContext(context.Background())
}
-func (i SubscriptionIdArgs) ToSubscriptionIdOutputWithContext(ctx context.Context) SubscriptionIdOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SubscriptionIdOutput)
+func (i VerifierWorkspacePropertiesArgs) ToVerifierWorkspacePropertiesOutputWithContext(ctx context.Context) VerifierWorkspacePropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VerifierWorkspacePropertiesOutput)
}
-// SubscriptionIdArrayInput is an input type that accepts SubscriptionIdArray and SubscriptionIdArrayOutput values.
-// You can construct a concrete instance of `SubscriptionIdArrayInput` via:
-//
-// SubscriptionIdArray{ SubscriptionIdArgs{...} }
-type SubscriptionIdArrayInput interface {
- pulumi.Input
-
- ToSubscriptionIdArrayOutput() SubscriptionIdArrayOutput
- ToSubscriptionIdArrayOutputWithContext(context.Context) SubscriptionIdArrayOutput
+func (i VerifierWorkspacePropertiesArgs) ToVerifierWorkspacePropertiesPtrOutput() VerifierWorkspacePropertiesPtrOutput {
+ return i.ToVerifierWorkspacePropertiesPtrOutputWithContext(context.Background())
}
-type SubscriptionIdArray []SubscriptionIdInput
-
-func (SubscriptionIdArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SubscriptionId)(nil)).Elem()
+func (i VerifierWorkspacePropertiesArgs) ToVerifierWorkspacePropertiesPtrOutputWithContext(ctx context.Context) VerifierWorkspacePropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VerifierWorkspacePropertiesOutput).ToVerifierWorkspacePropertiesPtrOutputWithContext(ctx)
}
-func (i SubscriptionIdArray) ToSubscriptionIdArrayOutput() SubscriptionIdArrayOutput {
- return i.ToSubscriptionIdArrayOutputWithContext(context.Background())
-}
+// VerifierWorkspacePropertiesPtrInput is an input type that accepts VerifierWorkspacePropertiesArgs, VerifierWorkspacePropertiesPtr and VerifierWorkspacePropertiesPtrOutput values.
+// You can construct a concrete instance of `VerifierWorkspacePropertiesPtrInput` via:
+//
+// VerifierWorkspacePropertiesArgs{...}
+//
+// or:
+//
+// nil
+type VerifierWorkspacePropertiesPtrInput interface {
+ pulumi.Input
-func (i SubscriptionIdArray) ToSubscriptionIdArrayOutputWithContext(ctx context.Context) SubscriptionIdArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(SubscriptionIdArrayOutput)
+ ToVerifierWorkspacePropertiesPtrOutput() VerifierWorkspacePropertiesPtrOutput
+ ToVerifierWorkspacePropertiesPtrOutputWithContext(context.Context) VerifierWorkspacePropertiesPtrOutput
}
-type SubscriptionIdOutput struct{ *pulumi.OutputState }
+type verifierWorkspacePropertiesPtrType VerifierWorkspacePropertiesArgs
-func (SubscriptionIdOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SubscriptionId)(nil)).Elem()
+func VerifierWorkspacePropertiesPtr(v *VerifierWorkspacePropertiesArgs) VerifierWorkspacePropertiesPtrInput {
+ return (*verifierWorkspacePropertiesPtrType)(v)
}
-func (o SubscriptionIdOutput) ToSubscriptionIdOutput() SubscriptionIdOutput {
- return o
+func (*verifierWorkspacePropertiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**VerifierWorkspaceProperties)(nil)).Elem()
}
-func (o SubscriptionIdOutput) ToSubscriptionIdOutputWithContext(ctx context.Context) SubscriptionIdOutput {
- return o
+func (i *verifierWorkspacePropertiesPtrType) ToVerifierWorkspacePropertiesPtrOutput() VerifierWorkspacePropertiesPtrOutput {
+ return i.ToVerifierWorkspacePropertiesPtrOutputWithContext(context.Background())
}
-// Subscription id in the ARM id format.
-func (o SubscriptionIdOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubscriptionId) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (i *verifierWorkspacePropertiesPtrType) ToVerifierWorkspacePropertiesPtrOutputWithContext(ctx context.Context) VerifierWorkspacePropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VerifierWorkspacePropertiesPtrOutput)
}
-type SubscriptionIdArrayOutput struct{ *pulumi.OutputState }
+// Properties of Verifier Workspace resource.
+type VerifierWorkspacePropertiesOutput struct{ *pulumi.OutputState }
-func (SubscriptionIdArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SubscriptionId)(nil)).Elem()
+func (VerifierWorkspacePropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VerifierWorkspaceProperties)(nil)).Elem()
}
-func (o SubscriptionIdArrayOutput) ToSubscriptionIdArrayOutput() SubscriptionIdArrayOutput {
+func (o VerifierWorkspacePropertiesOutput) ToVerifierWorkspacePropertiesOutput() VerifierWorkspacePropertiesOutput {
return o
}
-func (o SubscriptionIdArrayOutput) ToSubscriptionIdArrayOutputWithContext(ctx context.Context) SubscriptionIdArrayOutput {
+func (o VerifierWorkspacePropertiesOutput) ToVerifierWorkspacePropertiesOutputWithContext(ctx context.Context) VerifierWorkspacePropertiesOutput {
return o
}
-func (o SubscriptionIdArrayOutput) Index(i pulumi.IntInput) SubscriptionIdOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubscriptionId {
- return vs[0].([]SubscriptionId)[vs[1].(int)]
- }).(SubscriptionIdOutput)
-}
-
-type SubscriptionIdResponse struct {
- // Subscription id in the ARM id format.
- Id *string `pulumi:"id"`
+func (o VerifierWorkspacePropertiesOutput) ToVerifierWorkspacePropertiesPtrOutput() VerifierWorkspacePropertiesPtrOutput {
+ return o.ToVerifierWorkspacePropertiesPtrOutputWithContext(context.Background())
}
-type SubscriptionIdResponseOutput struct{ *pulumi.OutputState }
-
-func (SubscriptionIdResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SubscriptionIdResponse)(nil)).Elem()
+func (o VerifierWorkspacePropertiesOutput) ToVerifierWorkspacePropertiesPtrOutputWithContext(ctx context.Context) VerifierWorkspacePropertiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v VerifierWorkspaceProperties) *VerifierWorkspaceProperties {
+ return &v
+ }).(VerifierWorkspacePropertiesPtrOutput)
}
-func (o SubscriptionIdResponseOutput) ToSubscriptionIdResponseOutput() SubscriptionIdResponseOutput {
- return o
+func (o VerifierWorkspacePropertiesOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VerifierWorkspaceProperties) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-func (o SubscriptionIdResponseOutput) ToSubscriptionIdResponseOutputWithContext(ctx context.Context) SubscriptionIdResponseOutput {
- return o
-}
+type VerifierWorkspacePropertiesPtrOutput struct{ *pulumi.OutputState }
-// Subscription id in the ARM id format.
-func (o SubscriptionIdResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SubscriptionIdResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (VerifierWorkspacePropertiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VerifierWorkspaceProperties)(nil)).Elem()
}
-type SubscriptionIdResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (SubscriptionIdResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]SubscriptionIdResponse)(nil)).Elem()
+func (o VerifierWorkspacePropertiesPtrOutput) ToVerifierWorkspacePropertiesPtrOutput() VerifierWorkspacePropertiesPtrOutput {
+ return o
}
-func (o SubscriptionIdResponseArrayOutput) ToSubscriptionIdResponseArrayOutput() SubscriptionIdResponseArrayOutput {
+func (o VerifierWorkspacePropertiesPtrOutput) ToVerifierWorkspacePropertiesPtrOutputWithContext(ctx context.Context) VerifierWorkspacePropertiesPtrOutput {
return o
}
-func (o SubscriptionIdResponseArrayOutput) ToSubscriptionIdResponseArrayOutputWithContext(ctx context.Context) SubscriptionIdResponseArrayOutput {
- return o
+func (o VerifierWorkspacePropertiesPtrOutput) Elem() VerifierWorkspacePropertiesOutput {
+ return o.ApplyT(func(v *VerifierWorkspaceProperties) VerifierWorkspaceProperties {
+ if v != nil {
+ return *v
+ }
+ var ret VerifierWorkspaceProperties
+ return ret
+ }).(VerifierWorkspacePropertiesOutput)
}
-func (o SubscriptionIdResponseArrayOutput) Index(i pulumi.IntInput) SubscriptionIdResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubscriptionIdResponse {
- return vs[0].([]SubscriptionIdResponse)[vs[1].(int)]
- }).(SubscriptionIdResponseOutput)
+func (o VerifierWorkspacePropertiesPtrOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VerifierWorkspaceProperties) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Description
+ }).(pulumi.StringPtrOutput)
}
-// Metadata pertaining to creation and last modification of the resource.
-type SystemDataResponse struct {
- // The timestamp of resource creation (UTC).
- CreatedAt *string `pulumi:"createdAt"`
- // The identity that created the resource.
- CreatedBy *string `pulumi:"createdBy"`
- // The type of identity that created the resource.
- CreatedByType *string `pulumi:"createdByType"`
- // The type of identity that last modified the resource.
- LastModifiedAt *string `pulumi:"lastModifiedAt"`
- // The identity that last modified the resource.
- LastModifiedBy *string `pulumi:"lastModifiedBy"`
- // The type of identity that last modified the resource.
- LastModifiedByType *string `pulumi:"lastModifiedByType"`
+// Properties of Verifier Workspace resource.
+type VerifierWorkspacePropertiesResponse struct {
+ Description *string `pulumi:"description"`
+ // Provisioning states of a resource.
+ ProvisioningState string `pulumi:"provisioningState"`
}
-// Metadata pertaining to creation and last modification of the resource.
-type SystemDataResponseOutput struct{ *pulumi.OutputState }
+// Properties of Verifier Workspace resource.
+type VerifierWorkspacePropertiesResponseOutput struct{ *pulumi.OutputState }
-func (SystemDataResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*SystemDataResponse)(nil)).Elem()
+func (VerifierWorkspacePropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VerifierWorkspacePropertiesResponse)(nil)).Elem()
}
-func (o SystemDataResponseOutput) ToSystemDataResponseOutput() SystemDataResponseOutput {
+func (o VerifierWorkspacePropertiesResponseOutput) ToVerifierWorkspacePropertiesResponseOutput() VerifierWorkspacePropertiesResponseOutput {
return o
}
-func (o SystemDataResponseOutput) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput {
+func (o VerifierWorkspacePropertiesResponseOutput) ToVerifierWorkspacePropertiesResponseOutputWithContext(ctx context.Context) VerifierWorkspacePropertiesResponseOutput {
return o
}
-// The timestamp of resource creation (UTC).
-func (o SystemDataResponseOutput) CreatedAt() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedAt }).(pulumi.StringPtrOutput)
-}
-
-// The identity that created the resource.
-func (o SystemDataResponseOutput) CreatedBy() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedBy }).(pulumi.StringPtrOutput)
-}
-
-// The type of identity that created the resource.
-func (o SystemDataResponseOutput) CreatedByType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SystemDataResponse) *string { return v.CreatedByType }).(pulumi.StringPtrOutput)
-}
-
-// The type of identity that last modified the resource.
-func (o SystemDataResponseOutput) LastModifiedAt() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedAt }).(pulumi.StringPtrOutput)
-}
-
-// The identity that last modified the resource.
-func (o SystemDataResponseOutput) LastModifiedBy() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedBy }).(pulumi.StringPtrOutput)
+func (o VerifierWorkspacePropertiesResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VerifierWorkspacePropertiesResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
-// The type of identity that last modified the resource.
-func (o SystemDataResponseOutput) LastModifiedByType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v SystemDataResponse) *string { return v.LastModifiedByType }).(pulumi.StringPtrOutput)
+// Provisioning states of a resource.
+func (o VerifierWorkspacePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v VerifierWorkspacePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Parameters that define the configuration of traffic analytics.
-type TrafficAnalyticsConfigurationProperties struct {
- // Flag to enable/disable traffic analytics.
- Enabled *bool `pulumi:"enabled"`
- // The interval in minutes which would decide how frequently TA service should do flow analytics.
- TrafficAnalyticsInterval *int `pulumi:"trafficAnalyticsInterval"`
- // The resource guid of the attached workspace.
- WorkspaceId *string `pulumi:"workspaceId"`
- // The location of the attached workspace.
- WorkspaceRegion *string `pulumi:"workspaceRegion"`
- // Resource Id of the attached workspace.
- WorkspaceResourceId *string `pulumi:"workspaceResourceId"`
+// Network Virtual Appliance Additional NIC properties.
+type VirtualApplianceAdditionalNicProperties struct {
+ // Flag (true or false) for Intent for Public Ip on additional nic
+ HasPublicIp *bool `pulumi:"hasPublicIp"`
+ // Name of additional nic
+ Name *string `pulumi:"name"`
}
-// TrafficAnalyticsConfigurationPropertiesInput is an input type that accepts TrafficAnalyticsConfigurationPropertiesArgs and TrafficAnalyticsConfigurationPropertiesOutput values.
-// You can construct a concrete instance of `TrafficAnalyticsConfigurationPropertiesInput` via:
+// VirtualApplianceAdditionalNicPropertiesInput is an input type that accepts VirtualApplianceAdditionalNicPropertiesArgs and VirtualApplianceAdditionalNicPropertiesOutput values.
+// You can construct a concrete instance of `VirtualApplianceAdditionalNicPropertiesInput` via:
//
-// TrafficAnalyticsConfigurationPropertiesArgs{...}
-type TrafficAnalyticsConfigurationPropertiesInput interface {
+// VirtualApplianceAdditionalNicPropertiesArgs{...}
+type VirtualApplianceAdditionalNicPropertiesInput interface {
pulumi.Input
- ToTrafficAnalyticsConfigurationPropertiesOutput() TrafficAnalyticsConfigurationPropertiesOutput
- ToTrafficAnalyticsConfigurationPropertiesOutputWithContext(context.Context) TrafficAnalyticsConfigurationPropertiesOutput
-}
-
-// Parameters that define the configuration of traffic analytics.
-type TrafficAnalyticsConfigurationPropertiesArgs struct {
- // Flag to enable/disable traffic analytics.
- Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
- // The interval in minutes which would decide how frequently TA service should do flow analytics.
- TrafficAnalyticsInterval pulumi.IntPtrInput `pulumi:"trafficAnalyticsInterval"`
- // The resource guid of the attached workspace.
- WorkspaceId pulumi.StringPtrInput `pulumi:"workspaceId"`
- // The location of the attached workspace.
- WorkspaceRegion pulumi.StringPtrInput `pulumi:"workspaceRegion"`
- // Resource Id of the attached workspace.
- WorkspaceResourceId pulumi.StringPtrInput `pulumi:"workspaceResourceId"`
-}
-
-func (TrafficAnalyticsConfigurationPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*TrafficAnalyticsConfigurationProperties)(nil)).Elem()
+ ToVirtualApplianceAdditionalNicPropertiesOutput() VirtualApplianceAdditionalNicPropertiesOutput
+ ToVirtualApplianceAdditionalNicPropertiesOutputWithContext(context.Context) VirtualApplianceAdditionalNicPropertiesOutput
}
-func (i TrafficAnalyticsConfigurationPropertiesArgs) ToTrafficAnalyticsConfigurationPropertiesOutput() TrafficAnalyticsConfigurationPropertiesOutput {
- return i.ToTrafficAnalyticsConfigurationPropertiesOutputWithContext(context.Background())
+// Network Virtual Appliance Additional NIC properties.
+type VirtualApplianceAdditionalNicPropertiesArgs struct {
+ // Flag (true or false) for Intent for Public Ip on additional nic
+ HasPublicIp pulumi.BoolPtrInput `pulumi:"hasPublicIp"`
+ // Name of additional nic
+ Name pulumi.StringPtrInput `pulumi:"name"`
}
-func (i TrafficAnalyticsConfigurationPropertiesArgs) ToTrafficAnalyticsConfigurationPropertiesOutputWithContext(ctx context.Context) TrafficAnalyticsConfigurationPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(TrafficAnalyticsConfigurationPropertiesOutput)
+func (VirtualApplianceAdditionalNicPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceAdditionalNicProperties)(nil)).Elem()
}
-func (i TrafficAnalyticsConfigurationPropertiesArgs) ToTrafficAnalyticsConfigurationPropertiesPtrOutput() TrafficAnalyticsConfigurationPropertiesPtrOutput {
- return i.ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(context.Background())
+func (i VirtualApplianceAdditionalNicPropertiesArgs) ToVirtualApplianceAdditionalNicPropertiesOutput() VirtualApplianceAdditionalNicPropertiesOutput {
+ return i.ToVirtualApplianceAdditionalNicPropertiesOutputWithContext(context.Background())
}
-func (i TrafficAnalyticsConfigurationPropertiesArgs) ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(ctx context.Context) TrafficAnalyticsConfigurationPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(TrafficAnalyticsConfigurationPropertiesOutput).ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(ctx)
+func (i VirtualApplianceAdditionalNicPropertiesArgs) ToVirtualApplianceAdditionalNicPropertiesOutputWithContext(ctx context.Context) VirtualApplianceAdditionalNicPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceAdditionalNicPropertiesOutput)
}
-// TrafficAnalyticsConfigurationPropertiesPtrInput is an input type that accepts TrafficAnalyticsConfigurationPropertiesArgs, TrafficAnalyticsConfigurationPropertiesPtr and TrafficAnalyticsConfigurationPropertiesPtrOutput values.
-// You can construct a concrete instance of `TrafficAnalyticsConfigurationPropertiesPtrInput` via:
-//
-// TrafficAnalyticsConfigurationPropertiesArgs{...}
-//
-// or:
+// VirtualApplianceAdditionalNicPropertiesArrayInput is an input type that accepts VirtualApplianceAdditionalNicPropertiesArray and VirtualApplianceAdditionalNicPropertiesArrayOutput values.
+// You can construct a concrete instance of `VirtualApplianceAdditionalNicPropertiesArrayInput` via:
//
-// nil
-type TrafficAnalyticsConfigurationPropertiesPtrInput interface {
+// VirtualApplianceAdditionalNicPropertiesArray{ VirtualApplianceAdditionalNicPropertiesArgs{...} }
+type VirtualApplianceAdditionalNicPropertiesArrayInput interface {
pulumi.Input
- ToTrafficAnalyticsConfigurationPropertiesPtrOutput() TrafficAnalyticsConfigurationPropertiesPtrOutput
- ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(context.Context) TrafficAnalyticsConfigurationPropertiesPtrOutput
+ ToVirtualApplianceAdditionalNicPropertiesArrayOutput() VirtualApplianceAdditionalNicPropertiesArrayOutput
+ ToVirtualApplianceAdditionalNicPropertiesArrayOutputWithContext(context.Context) VirtualApplianceAdditionalNicPropertiesArrayOutput
}
-type trafficAnalyticsConfigurationPropertiesPtrType TrafficAnalyticsConfigurationPropertiesArgs
-
-func TrafficAnalyticsConfigurationPropertiesPtr(v *TrafficAnalyticsConfigurationPropertiesArgs) TrafficAnalyticsConfigurationPropertiesPtrInput {
- return (*trafficAnalyticsConfigurationPropertiesPtrType)(v)
-}
+type VirtualApplianceAdditionalNicPropertiesArray []VirtualApplianceAdditionalNicPropertiesInput
-func (*trafficAnalyticsConfigurationPropertiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**TrafficAnalyticsConfigurationProperties)(nil)).Elem()
+func (VirtualApplianceAdditionalNicPropertiesArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualApplianceAdditionalNicProperties)(nil)).Elem()
}
-func (i *trafficAnalyticsConfigurationPropertiesPtrType) ToTrafficAnalyticsConfigurationPropertiesPtrOutput() TrafficAnalyticsConfigurationPropertiesPtrOutput {
- return i.ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(context.Background())
+func (i VirtualApplianceAdditionalNicPropertiesArray) ToVirtualApplianceAdditionalNicPropertiesArrayOutput() VirtualApplianceAdditionalNicPropertiesArrayOutput {
+ return i.ToVirtualApplianceAdditionalNicPropertiesArrayOutputWithContext(context.Background())
}
-func (i *trafficAnalyticsConfigurationPropertiesPtrType) ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(ctx context.Context) TrafficAnalyticsConfigurationPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(TrafficAnalyticsConfigurationPropertiesPtrOutput)
+func (i VirtualApplianceAdditionalNicPropertiesArray) ToVirtualApplianceAdditionalNicPropertiesArrayOutputWithContext(ctx context.Context) VirtualApplianceAdditionalNicPropertiesArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceAdditionalNicPropertiesArrayOutput)
}
-// Parameters that define the configuration of traffic analytics.
-type TrafficAnalyticsConfigurationPropertiesOutput struct{ *pulumi.OutputState }
+// Network Virtual Appliance Additional NIC properties.
+type VirtualApplianceAdditionalNicPropertiesOutput struct{ *pulumi.OutputState }
-func (TrafficAnalyticsConfigurationPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*TrafficAnalyticsConfigurationProperties)(nil)).Elem()
+func (VirtualApplianceAdditionalNicPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceAdditionalNicProperties)(nil)).Elem()
}
-func (o TrafficAnalyticsConfigurationPropertiesOutput) ToTrafficAnalyticsConfigurationPropertiesOutput() TrafficAnalyticsConfigurationPropertiesOutput {
+func (o VirtualApplianceAdditionalNicPropertiesOutput) ToVirtualApplianceAdditionalNicPropertiesOutput() VirtualApplianceAdditionalNicPropertiesOutput {
return o
}
-func (o TrafficAnalyticsConfigurationPropertiesOutput) ToTrafficAnalyticsConfigurationPropertiesOutputWithContext(ctx context.Context) TrafficAnalyticsConfigurationPropertiesOutput {
+func (o VirtualApplianceAdditionalNicPropertiesOutput) ToVirtualApplianceAdditionalNicPropertiesOutputWithContext(ctx context.Context) VirtualApplianceAdditionalNicPropertiesOutput {
return o
}
-func (o TrafficAnalyticsConfigurationPropertiesOutput) ToTrafficAnalyticsConfigurationPropertiesPtrOutput() TrafficAnalyticsConfigurationPropertiesPtrOutput {
- return o.ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(context.Background())
+// Flag (true or false) for Intent for Public Ip on additional nic
+func (o VirtualApplianceAdditionalNicPropertiesOutput) HasPublicIp() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceAdditionalNicProperties) *bool { return v.HasPublicIp }).(pulumi.BoolPtrOutput)
}
-func (o TrafficAnalyticsConfigurationPropertiesOutput) ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(ctx context.Context) TrafficAnalyticsConfigurationPropertiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v TrafficAnalyticsConfigurationProperties) *TrafficAnalyticsConfigurationProperties {
- return &v
- }).(TrafficAnalyticsConfigurationPropertiesPtrOutput)
+// Name of additional nic
+func (o VirtualApplianceAdditionalNicPropertiesOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceAdditionalNicProperties) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Flag to enable/disable traffic analytics.
-func (o TrafficAnalyticsConfigurationPropertiesOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v TrafficAnalyticsConfigurationProperties) *bool { return v.Enabled }).(pulumi.BoolPtrOutput)
+type VirtualApplianceAdditionalNicPropertiesArrayOutput struct{ *pulumi.OutputState }
+
+func (VirtualApplianceAdditionalNicPropertiesArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualApplianceAdditionalNicProperties)(nil)).Elem()
}
-// The interval in minutes which would decide how frequently TA service should do flow analytics.
-func (o TrafficAnalyticsConfigurationPropertiesOutput) TrafficAnalyticsInterval() pulumi.IntPtrOutput {
- return o.ApplyT(func(v TrafficAnalyticsConfigurationProperties) *int { return v.TrafficAnalyticsInterval }).(pulumi.IntPtrOutput)
+func (o VirtualApplianceAdditionalNicPropertiesArrayOutput) ToVirtualApplianceAdditionalNicPropertiesArrayOutput() VirtualApplianceAdditionalNicPropertiesArrayOutput {
+ return o
}
-// The resource guid of the attached workspace.
-func (o TrafficAnalyticsConfigurationPropertiesOutput) WorkspaceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v TrafficAnalyticsConfigurationProperties) *string { return v.WorkspaceId }).(pulumi.StringPtrOutput)
+func (o VirtualApplianceAdditionalNicPropertiesArrayOutput) ToVirtualApplianceAdditionalNicPropertiesArrayOutputWithContext(ctx context.Context) VirtualApplianceAdditionalNicPropertiesArrayOutput {
+ return o
}
-// The location of the attached workspace.
-func (o TrafficAnalyticsConfigurationPropertiesOutput) WorkspaceRegion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v TrafficAnalyticsConfigurationProperties) *string { return v.WorkspaceRegion }).(pulumi.StringPtrOutput)
+func (o VirtualApplianceAdditionalNicPropertiesArrayOutput) Index(i pulumi.IntInput) VirtualApplianceAdditionalNicPropertiesOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualApplianceAdditionalNicProperties {
+ return vs[0].([]VirtualApplianceAdditionalNicProperties)[vs[1].(int)]
+ }).(VirtualApplianceAdditionalNicPropertiesOutput)
}
-// Resource Id of the attached workspace.
-func (o TrafficAnalyticsConfigurationPropertiesOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v TrafficAnalyticsConfigurationProperties) *string { return v.WorkspaceResourceId }).(pulumi.StringPtrOutput)
+// Network Virtual Appliance Additional NIC properties.
+type VirtualApplianceAdditionalNicPropertiesResponse struct {
+ // Flag (true or false) for Intent for Public Ip on additional nic
+ HasPublicIp *bool `pulumi:"hasPublicIp"`
+ // Name of additional nic
+ Name *string `pulumi:"name"`
}
-type TrafficAnalyticsConfigurationPropertiesPtrOutput struct{ *pulumi.OutputState }
+// Network Virtual Appliance Additional NIC properties.
+type VirtualApplianceAdditionalNicPropertiesResponseOutput struct{ *pulumi.OutputState }
-func (TrafficAnalyticsConfigurationPropertiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**TrafficAnalyticsConfigurationProperties)(nil)).Elem()
+func (VirtualApplianceAdditionalNicPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceAdditionalNicPropertiesResponse)(nil)).Elem()
}
-func (o TrafficAnalyticsConfigurationPropertiesPtrOutput) ToTrafficAnalyticsConfigurationPropertiesPtrOutput() TrafficAnalyticsConfigurationPropertiesPtrOutput {
+func (o VirtualApplianceAdditionalNicPropertiesResponseOutput) ToVirtualApplianceAdditionalNicPropertiesResponseOutput() VirtualApplianceAdditionalNicPropertiesResponseOutput {
return o
}
-func (o TrafficAnalyticsConfigurationPropertiesPtrOutput) ToTrafficAnalyticsConfigurationPropertiesPtrOutputWithContext(ctx context.Context) TrafficAnalyticsConfigurationPropertiesPtrOutput {
+func (o VirtualApplianceAdditionalNicPropertiesResponseOutput) ToVirtualApplianceAdditionalNicPropertiesResponseOutputWithContext(ctx context.Context) VirtualApplianceAdditionalNicPropertiesResponseOutput {
return o
}
-func (o TrafficAnalyticsConfigurationPropertiesPtrOutput) Elem() TrafficAnalyticsConfigurationPropertiesOutput {
- return o.ApplyT(func(v *TrafficAnalyticsConfigurationProperties) TrafficAnalyticsConfigurationProperties {
- if v != nil {
- return *v
- }
- var ret TrafficAnalyticsConfigurationProperties
- return ret
- }).(TrafficAnalyticsConfigurationPropertiesOutput)
+// Flag (true or false) for Intent for Public Ip on additional nic
+func (o VirtualApplianceAdditionalNicPropertiesResponseOutput) HasPublicIp() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceAdditionalNicPropertiesResponse) *bool { return v.HasPublicIp }).(pulumi.BoolPtrOutput)
}
-// Flag to enable/disable traffic analytics.
-func (o TrafficAnalyticsConfigurationPropertiesPtrOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *TrafficAnalyticsConfigurationProperties) *bool {
- if v == nil {
- return nil
- }
- return v.Enabled
- }).(pulumi.BoolPtrOutput)
+// Name of additional nic
+func (o VirtualApplianceAdditionalNicPropertiesResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceAdditionalNicPropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The interval in minutes which would decide how frequently TA service should do flow analytics.
-func (o TrafficAnalyticsConfigurationPropertiesPtrOutput) TrafficAnalyticsInterval() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *TrafficAnalyticsConfigurationProperties) *int {
- if v == nil {
- return nil
- }
- return v.TrafficAnalyticsInterval
- }).(pulumi.IntPtrOutput)
+type VirtualApplianceAdditionalNicPropertiesResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (VirtualApplianceAdditionalNicPropertiesResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualApplianceAdditionalNicPropertiesResponse)(nil)).Elem()
}
-// The resource guid of the attached workspace.
-func (o TrafficAnalyticsConfigurationPropertiesPtrOutput) WorkspaceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *TrafficAnalyticsConfigurationProperties) *string {
- if v == nil {
- return nil
- }
- return v.WorkspaceId
- }).(pulumi.StringPtrOutput)
+func (o VirtualApplianceAdditionalNicPropertiesResponseArrayOutput) ToVirtualApplianceAdditionalNicPropertiesResponseArrayOutput() VirtualApplianceAdditionalNicPropertiesResponseArrayOutput {
+ return o
}
-// The location of the attached workspace.
-func (o TrafficAnalyticsConfigurationPropertiesPtrOutput) WorkspaceRegion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *TrafficAnalyticsConfigurationProperties) *string {
- if v == nil {
- return nil
- }
- return v.WorkspaceRegion
- }).(pulumi.StringPtrOutput)
+func (o VirtualApplianceAdditionalNicPropertiesResponseArrayOutput) ToVirtualApplianceAdditionalNicPropertiesResponseArrayOutputWithContext(ctx context.Context) VirtualApplianceAdditionalNicPropertiesResponseArrayOutput {
+ return o
}
-// Resource Id of the attached workspace.
-func (o TrafficAnalyticsConfigurationPropertiesPtrOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *TrafficAnalyticsConfigurationProperties) *string {
- if v == nil {
- return nil
- }
- return v.WorkspaceResourceId
- }).(pulumi.StringPtrOutput)
+func (o VirtualApplianceAdditionalNicPropertiesResponseArrayOutput) Index(i pulumi.IntInput) VirtualApplianceAdditionalNicPropertiesResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualApplianceAdditionalNicPropertiesResponse {
+ return vs[0].([]VirtualApplianceAdditionalNicPropertiesResponse)[vs[1].(int)]
+ }).(VirtualApplianceAdditionalNicPropertiesResponseOutput)
}
-// Parameters that define the configuration of traffic analytics.
-type TrafficAnalyticsConfigurationPropertiesResponse struct {
- // Flag to enable/disable traffic analytics.
- Enabled *bool `pulumi:"enabled"`
- // The interval in minutes which would decide how frequently TA service should do flow analytics.
- TrafficAnalyticsInterval *int `pulumi:"trafficAnalyticsInterval"`
- // The resource guid of the attached workspace.
- WorkspaceId *string `pulumi:"workspaceId"`
- // The location of the attached workspace.
- WorkspaceRegion *string `pulumi:"workspaceRegion"`
- // Resource Id of the attached workspace.
- WorkspaceResourceId *string `pulumi:"workspaceResourceId"`
+// Represents a single IP configuration.
+type VirtualApplianceIPConfiguration struct {
+ // Name of the IP configuration.
+ Name *string `pulumi:"name"`
+ // Represents a single IP configuration properties.
+ Properties *VirtualApplianceIPConfigurationProperties `pulumi:"properties"`
}
-// Parameters that define the configuration of traffic analytics.
-type TrafficAnalyticsConfigurationPropertiesResponseOutput struct{ *pulumi.OutputState }
+// VirtualApplianceIPConfigurationInput is an input type that accepts VirtualApplianceIPConfigurationArgs and VirtualApplianceIPConfigurationOutput values.
+// You can construct a concrete instance of `VirtualApplianceIPConfigurationInput` via:
+//
+// VirtualApplianceIPConfigurationArgs{...}
+type VirtualApplianceIPConfigurationInput interface {
+ pulumi.Input
-func (TrafficAnalyticsConfigurationPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*TrafficAnalyticsConfigurationPropertiesResponse)(nil)).Elem()
+ ToVirtualApplianceIPConfigurationOutput() VirtualApplianceIPConfigurationOutput
+ ToVirtualApplianceIPConfigurationOutputWithContext(context.Context) VirtualApplianceIPConfigurationOutput
}
-func (o TrafficAnalyticsConfigurationPropertiesResponseOutput) ToTrafficAnalyticsConfigurationPropertiesResponseOutput() TrafficAnalyticsConfigurationPropertiesResponseOutput {
- return o
+// Represents a single IP configuration.
+type VirtualApplianceIPConfigurationArgs struct {
+ // Name of the IP configuration.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Represents a single IP configuration properties.
+ Properties VirtualApplianceIPConfigurationPropertiesPtrInput `pulumi:"properties"`
}
-func (o TrafficAnalyticsConfigurationPropertiesResponseOutput) ToTrafficAnalyticsConfigurationPropertiesResponseOutputWithContext(ctx context.Context) TrafficAnalyticsConfigurationPropertiesResponseOutput {
- return o
+func (VirtualApplianceIPConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceIPConfiguration)(nil)).Elem()
}
-// Flag to enable/disable traffic analytics.
-func (o TrafficAnalyticsConfigurationPropertiesResponseOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v TrafficAnalyticsConfigurationPropertiesResponse) *bool { return v.Enabled }).(pulumi.BoolPtrOutput)
+func (i VirtualApplianceIPConfigurationArgs) ToVirtualApplianceIPConfigurationOutput() VirtualApplianceIPConfigurationOutput {
+ return i.ToVirtualApplianceIPConfigurationOutputWithContext(context.Background())
}
-// The interval in minutes which would decide how frequently TA service should do flow analytics.
-func (o TrafficAnalyticsConfigurationPropertiesResponseOutput) TrafficAnalyticsInterval() pulumi.IntPtrOutput {
- return o.ApplyT(func(v TrafficAnalyticsConfigurationPropertiesResponse) *int { return v.TrafficAnalyticsInterval }).(pulumi.IntPtrOutput)
+func (i VirtualApplianceIPConfigurationArgs) ToVirtualApplianceIPConfigurationOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceIPConfigurationOutput)
}
-// The resource guid of the attached workspace.
-func (o TrafficAnalyticsConfigurationPropertiesResponseOutput) WorkspaceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v TrafficAnalyticsConfigurationPropertiesResponse) *string { return v.WorkspaceId }).(pulumi.StringPtrOutput)
+// VirtualApplianceIPConfigurationArrayInput is an input type that accepts VirtualApplianceIPConfigurationArray and VirtualApplianceIPConfigurationArrayOutput values.
+// You can construct a concrete instance of `VirtualApplianceIPConfigurationArrayInput` via:
+//
+// VirtualApplianceIPConfigurationArray{ VirtualApplianceIPConfigurationArgs{...} }
+type VirtualApplianceIPConfigurationArrayInput interface {
+ pulumi.Input
+
+ ToVirtualApplianceIPConfigurationArrayOutput() VirtualApplianceIPConfigurationArrayOutput
+ ToVirtualApplianceIPConfigurationArrayOutputWithContext(context.Context) VirtualApplianceIPConfigurationArrayOutput
}
-// The location of the attached workspace.
-func (o TrafficAnalyticsConfigurationPropertiesResponseOutput) WorkspaceRegion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v TrafficAnalyticsConfigurationPropertiesResponse) *string { return v.WorkspaceRegion }).(pulumi.StringPtrOutput)
+type VirtualApplianceIPConfigurationArray []VirtualApplianceIPConfigurationInput
+
+func (VirtualApplianceIPConfigurationArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualApplianceIPConfiguration)(nil)).Elem()
}
-// Resource Id of the attached workspace.
-func (o TrafficAnalyticsConfigurationPropertiesResponseOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v TrafficAnalyticsConfigurationPropertiesResponse) *string { return v.WorkspaceResourceId }).(pulumi.StringPtrOutput)
+func (i VirtualApplianceIPConfigurationArray) ToVirtualApplianceIPConfigurationArrayOutput() VirtualApplianceIPConfigurationArrayOutput {
+ return i.ToVirtualApplianceIPConfigurationArrayOutputWithContext(context.Background())
}
-type TrafficAnalyticsConfigurationPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+func (i VirtualApplianceIPConfigurationArray) ToVirtualApplianceIPConfigurationArrayOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceIPConfigurationArrayOutput)
+}
-func (TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**TrafficAnalyticsConfigurationPropertiesResponse)(nil)).Elem()
+// Represents a single IP configuration.
+type VirtualApplianceIPConfigurationOutput struct{ *pulumi.OutputState }
+
+func (VirtualApplianceIPConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceIPConfiguration)(nil)).Elem()
}
-func (o TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) ToTrafficAnalyticsConfigurationPropertiesResponsePtrOutput() TrafficAnalyticsConfigurationPropertiesResponsePtrOutput {
+func (o VirtualApplianceIPConfigurationOutput) ToVirtualApplianceIPConfigurationOutput() VirtualApplianceIPConfigurationOutput {
return o
}
-func (o TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) ToTrafficAnalyticsConfigurationPropertiesResponsePtrOutputWithContext(ctx context.Context) TrafficAnalyticsConfigurationPropertiesResponsePtrOutput {
+func (o VirtualApplianceIPConfigurationOutput) ToVirtualApplianceIPConfigurationOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationOutput {
return o
}
-func (o TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) Elem() TrafficAnalyticsConfigurationPropertiesResponseOutput {
- return o.ApplyT(func(v *TrafficAnalyticsConfigurationPropertiesResponse) TrafficAnalyticsConfigurationPropertiesResponse {
- if v != nil {
- return *v
- }
- var ret TrafficAnalyticsConfigurationPropertiesResponse
- return ret
- }).(TrafficAnalyticsConfigurationPropertiesResponseOutput)
+// Name of the IP configuration.
+func (o VirtualApplianceIPConfigurationOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceIPConfiguration) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Flag to enable/disable traffic analytics.
-func (o TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *TrafficAnalyticsConfigurationPropertiesResponse) *bool {
- if v == nil {
- return nil
- }
- return v.Enabled
- }).(pulumi.BoolPtrOutput)
+// Represents a single IP configuration properties.
+func (o VirtualApplianceIPConfigurationOutput) Properties() VirtualApplianceIPConfigurationPropertiesPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceIPConfiguration) *VirtualApplianceIPConfigurationProperties {
+ return v.Properties
+ }).(VirtualApplianceIPConfigurationPropertiesPtrOutput)
}
-// The interval in minutes which would decide how frequently TA service should do flow analytics.
-func (o TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) TrafficAnalyticsInterval() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *TrafficAnalyticsConfigurationPropertiesResponse) *int {
- if v == nil {
- return nil
- }
- return v.TrafficAnalyticsInterval
- }).(pulumi.IntPtrOutput)
+type VirtualApplianceIPConfigurationArrayOutput struct{ *pulumi.OutputState }
+
+func (VirtualApplianceIPConfigurationArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualApplianceIPConfiguration)(nil)).Elem()
}
-// The resource guid of the attached workspace.
-func (o TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) WorkspaceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *TrafficAnalyticsConfigurationPropertiesResponse) *string {
- if v == nil {
- return nil
- }
- return v.WorkspaceId
- }).(pulumi.StringPtrOutput)
+func (o VirtualApplianceIPConfigurationArrayOutput) ToVirtualApplianceIPConfigurationArrayOutput() VirtualApplianceIPConfigurationArrayOutput {
+ return o
}
-// The location of the attached workspace.
-func (o TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) WorkspaceRegion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *TrafficAnalyticsConfigurationPropertiesResponse) *string {
- if v == nil {
- return nil
- }
- return v.WorkspaceRegion
- }).(pulumi.StringPtrOutput)
+func (o VirtualApplianceIPConfigurationArrayOutput) ToVirtualApplianceIPConfigurationArrayOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationArrayOutput {
+ return o
}
-// Resource Id of the attached workspace.
-func (o TrafficAnalyticsConfigurationPropertiesResponsePtrOutput) WorkspaceResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *TrafficAnalyticsConfigurationPropertiesResponse) *string {
- if v == nil {
- return nil
- }
- return v.WorkspaceResourceId
- }).(pulumi.StringPtrOutput)
+func (o VirtualApplianceIPConfigurationArrayOutput) Index(i pulumi.IntInput) VirtualApplianceIPConfigurationOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualApplianceIPConfiguration {
+ return vs[0].([]VirtualApplianceIPConfiguration)[vs[1].(int)]
+ }).(VirtualApplianceIPConfigurationOutput)
}
-// Parameters that define the configuration of traffic analytics.
-type TrafficAnalyticsProperties struct {
- // Parameters that define the configuration of traffic analytics.
- NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties `pulumi:"networkWatcherFlowAnalyticsConfiguration"`
+// Represents a single IP configuration properties.
+type VirtualApplianceIPConfigurationProperties struct {
+ // Whether or not this is primary IP configuration of the NIC.
+ Primary *bool `pulumi:"primary"`
}
-// TrafficAnalyticsPropertiesInput is an input type that accepts TrafficAnalyticsPropertiesArgs and TrafficAnalyticsPropertiesOutput values.
-// You can construct a concrete instance of `TrafficAnalyticsPropertiesInput` via:
+// VirtualApplianceIPConfigurationPropertiesInput is an input type that accepts VirtualApplianceIPConfigurationPropertiesArgs and VirtualApplianceIPConfigurationPropertiesOutput values.
+// You can construct a concrete instance of `VirtualApplianceIPConfigurationPropertiesInput` via:
//
-// TrafficAnalyticsPropertiesArgs{...}
-type TrafficAnalyticsPropertiesInput interface {
+// VirtualApplianceIPConfigurationPropertiesArgs{...}
+type VirtualApplianceIPConfigurationPropertiesInput interface {
pulumi.Input
- ToTrafficAnalyticsPropertiesOutput() TrafficAnalyticsPropertiesOutput
- ToTrafficAnalyticsPropertiesOutputWithContext(context.Context) TrafficAnalyticsPropertiesOutput
+ ToVirtualApplianceIPConfigurationPropertiesOutput() VirtualApplianceIPConfigurationPropertiesOutput
+ ToVirtualApplianceIPConfigurationPropertiesOutputWithContext(context.Context) VirtualApplianceIPConfigurationPropertiesOutput
}
-// Parameters that define the configuration of traffic analytics.
-type TrafficAnalyticsPropertiesArgs struct {
- // Parameters that define the configuration of traffic analytics.
- NetworkWatcherFlowAnalyticsConfiguration TrafficAnalyticsConfigurationPropertiesPtrInput `pulumi:"networkWatcherFlowAnalyticsConfiguration"`
+// Represents a single IP configuration properties.
+type VirtualApplianceIPConfigurationPropertiesArgs struct {
+ // Whether or not this is primary IP configuration of the NIC.
+ Primary pulumi.BoolPtrInput `pulumi:"primary"`
}
-func (TrafficAnalyticsPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*TrafficAnalyticsProperties)(nil)).Elem()
+func (VirtualApplianceIPConfigurationPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceIPConfigurationProperties)(nil)).Elem()
}
-func (i TrafficAnalyticsPropertiesArgs) ToTrafficAnalyticsPropertiesOutput() TrafficAnalyticsPropertiesOutput {
- return i.ToTrafficAnalyticsPropertiesOutputWithContext(context.Background())
+func (i VirtualApplianceIPConfigurationPropertiesArgs) ToVirtualApplianceIPConfigurationPropertiesOutput() VirtualApplianceIPConfigurationPropertiesOutput {
+ return i.ToVirtualApplianceIPConfigurationPropertiesOutputWithContext(context.Background())
}
-func (i TrafficAnalyticsPropertiesArgs) ToTrafficAnalyticsPropertiesOutputWithContext(ctx context.Context) TrafficAnalyticsPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(TrafficAnalyticsPropertiesOutput)
+func (i VirtualApplianceIPConfigurationPropertiesArgs) ToVirtualApplianceIPConfigurationPropertiesOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceIPConfigurationPropertiesOutput)
}
-func (i TrafficAnalyticsPropertiesArgs) ToTrafficAnalyticsPropertiesPtrOutput() TrafficAnalyticsPropertiesPtrOutput {
- return i.ToTrafficAnalyticsPropertiesPtrOutputWithContext(context.Background())
+func (i VirtualApplianceIPConfigurationPropertiesArgs) ToVirtualApplianceIPConfigurationPropertiesPtrOutput() VirtualApplianceIPConfigurationPropertiesPtrOutput {
+ return i.ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(context.Background())
}
-func (i TrafficAnalyticsPropertiesArgs) ToTrafficAnalyticsPropertiesPtrOutputWithContext(ctx context.Context) TrafficAnalyticsPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(TrafficAnalyticsPropertiesOutput).ToTrafficAnalyticsPropertiesPtrOutputWithContext(ctx)
+func (i VirtualApplianceIPConfigurationPropertiesArgs) ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceIPConfigurationPropertiesOutput).ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(ctx)
}
-// TrafficAnalyticsPropertiesPtrInput is an input type that accepts TrafficAnalyticsPropertiesArgs, TrafficAnalyticsPropertiesPtr and TrafficAnalyticsPropertiesPtrOutput values.
-// You can construct a concrete instance of `TrafficAnalyticsPropertiesPtrInput` via:
+// VirtualApplianceIPConfigurationPropertiesPtrInput is an input type that accepts VirtualApplianceIPConfigurationPropertiesArgs, VirtualApplianceIPConfigurationPropertiesPtr and VirtualApplianceIPConfigurationPropertiesPtrOutput values.
+// You can construct a concrete instance of `VirtualApplianceIPConfigurationPropertiesPtrInput` via:
//
-// TrafficAnalyticsPropertiesArgs{...}
+// VirtualApplianceIPConfigurationPropertiesArgs{...}
//
// or:
//
// nil
-type TrafficAnalyticsPropertiesPtrInput interface {
+type VirtualApplianceIPConfigurationPropertiesPtrInput interface {
pulumi.Input
- ToTrafficAnalyticsPropertiesPtrOutput() TrafficAnalyticsPropertiesPtrOutput
- ToTrafficAnalyticsPropertiesPtrOutputWithContext(context.Context) TrafficAnalyticsPropertiesPtrOutput
+ ToVirtualApplianceIPConfigurationPropertiesPtrOutput() VirtualApplianceIPConfigurationPropertiesPtrOutput
+ ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(context.Context) VirtualApplianceIPConfigurationPropertiesPtrOutput
}
-type trafficAnalyticsPropertiesPtrType TrafficAnalyticsPropertiesArgs
+type virtualApplianceIPConfigurationPropertiesPtrType VirtualApplianceIPConfigurationPropertiesArgs
-func TrafficAnalyticsPropertiesPtr(v *TrafficAnalyticsPropertiesArgs) TrafficAnalyticsPropertiesPtrInput {
- return (*trafficAnalyticsPropertiesPtrType)(v)
+func VirtualApplianceIPConfigurationPropertiesPtr(v *VirtualApplianceIPConfigurationPropertiesArgs) VirtualApplianceIPConfigurationPropertiesPtrInput {
+ return (*virtualApplianceIPConfigurationPropertiesPtrType)(v)
}
-func (*trafficAnalyticsPropertiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**TrafficAnalyticsProperties)(nil)).Elem()
+func (*virtualApplianceIPConfigurationPropertiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualApplianceIPConfigurationProperties)(nil)).Elem()
+}
+
+func (i *virtualApplianceIPConfigurationPropertiesPtrType) ToVirtualApplianceIPConfigurationPropertiesPtrOutput() VirtualApplianceIPConfigurationPropertiesPtrOutput {
+ return i.ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(context.Background())
+}
+
+func (i *virtualApplianceIPConfigurationPropertiesPtrType) ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceIPConfigurationPropertiesPtrOutput)
+}
+
+// Represents a single IP configuration properties.
+type VirtualApplianceIPConfigurationPropertiesOutput struct{ *pulumi.OutputState }
+
+func (VirtualApplianceIPConfigurationPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceIPConfigurationProperties)(nil)).Elem()
+}
+
+func (o VirtualApplianceIPConfigurationPropertiesOutput) ToVirtualApplianceIPConfigurationPropertiesOutput() VirtualApplianceIPConfigurationPropertiesOutput {
+ return o
+}
+
+func (o VirtualApplianceIPConfigurationPropertiesOutput) ToVirtualApplianceIPConfigurationPropertiesOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationPropertiesOutput {
+ return o
+}
+
+func (o VirtualApplianceIPConfigurationPropertiesOutput) ToVirtualApplianceIPConfigurationPropertiesPtrOutput() VirtualApplianceIPConfigurationPropertiesPtrOutput {
+ return o.ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(context.Background())
+}
+
+func (o VirtualApplianceIPConfigurationPropertiesOutput) ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationPropertiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualApplianceIPConfigurationProperties) *VirtualApplianceIPConfigurationProperties {
+ return &v
+ }).(VirtualApplianceIPConfigurationPropertiesPtrOutput)
+}
+
+// Whether or not this is primary IP configuration of the NIC.
+func (o VirtualApplianceIPConfigurationPropertiesOutput) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceIPConfigurationProperties) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
+}
+
+type VirtualApplianceIPConfigurationPropertiesPtrOutput struct{ *pulumi.OutputState }
+
+func (VirtualApplianceIPConfigurationPropertiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualApplianceIPConfigurationProperties)(nil)).Elem()
+}
+
+func (o VirtualApplianceIPConfigurationPropertiesPtrOutput) ToVirtualApplianceIPConfigurationPropertiesPtrOutput() VirtualApplianceIPConfigurationPropertiesPtrOutput {
+ return o
+}
+
+func (o VirtualApplianceIPConfigurationPropertiesPtrOutput) ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationPropertiesPtrOutput {
+ return o
+}
+
+func (o VirtualApplianceIPConfigurationPropertiesPtrOutput) Elem() VirtualApplianceIPConfigurationPropertiesOutput {
+ return o.ApplyT(func(v *VirtualApplianceIPConfigurationProperties) VirtualApplianceIPConfigurationProperties {
+ if v != nil {
+ return *v
+ }
+ var ret VirtualApplianceIPConfigurationProperties
+ return ret
+ }).(VirtualApplianceIPConfigurationPropertiesOutput)
}
-func (i *trafficAnalyticsPropertiesPtrType) ToTrafficAnalyticsPropertiesPtrOutput() TrafficAnalyticsPropertiesPtrOutput {
- return i.ToTrafficAnalyticsPropertiesPtrOutputWithContext(context.Background())
+// Whether or not this is primary IP configuration of the NIC.
+func (o VirtualApplianceIPConfigurationPropertiesPtrOutput) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualApplianceIPConfigurationProperties) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.Primary
+ }).(pulumi.BoolPtrOutput)
}
-func (i *trafficAnalyticsPropertiesPtrType) ToTrafficAnalyticsPropertiesPtrOutputWithContext(ctx context.Context) TrafficAnalyticsPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(TrafficAnalyticsPropertiesPtrOutput)
+// Represents a single IP configuration properties.
+type VirtualApplianceIPConfigurationPropertiesResponse struct {
+ // Whether or not this is primary IP configuration of the NIC.
+ Primary *bool `pulumi:"primary"`
}
-// Parameters that define the configuration of traffic analytics.
-type TrafficAnalyticsPropertiesOutput struct{ *pulumi.OutputState }
+// Represents a single IP configuration properties.
+type VirtualApplianceIPConfigurationPropertiesResponseOutput struct{ *pulumi.OutputState }
-func (TrafficAnalyticsPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*TrafficAnalyticsProperties)(nil)).Elem()
+func (VirtualApplianceIPConfigurationPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceIPConfigurationPropertiesResponse)(nil)).Elem()
}
-func (o TrafficAnalyticsPropertiesOutput) ToTrafficAnalyticsPropertiesOutput() TrafficAnalyticsPropertiesOutput {
+func (o VirtualApplianceIPConfigurationPropertiesResponseOutput) ToVirtualApplianceIPConfigurationPropertiesResponseOutput() VirtualApplianceIPConfigurationPropertiesResponseOutput {
return o
}
-func (o TrafficAnalyticsPropertiesOutput) ToTrafficAnalyticsPropertiesOutputWithContext(ctx context.Context) TrafficAnalyticsPropertiesOutput {
+func (o VirtualApplianceIPConfigurationPropertiesResponseOutput) ToVirtualApplianceIPConfigurationPropertiesResponseOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationPropertiesResponseOutput {
return o
}
-func (o TrafficAnalyticsPropertiesOutput) ToTrafficAnalyticsPropertiesPtrOutput() TrafficAnalyticsPropertiesPtrOutput {
- return o.ToTrafficAnalyticsPropertiesPtrOutputWithContext(context.Background())
-}
-
-func (o TrafficAnalyticsPropertiesOutput) ToTrafficAnalyticsPropertiesPtrOutputWithContext(ctx context.Context) TrafficAnalyticsPropertiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v TrafficAnalyticsProperties) *TrafficAnalyticsProperties {
- return &v
- }).(TrafficAnalyticsPropertiesPtrOutput)
-}
-
-// Parameters that define the configuration of traffic analytics.
-func (o TrafficAnalyticsPropertiesOutput) NetworkWatcherFlowAnalyticsConfiguration() TrafficAnalyticsConfigurationPropertiesPtrOutput {
- return o.ApplyT(func(v TrafficAnalyticsProperties) *TrafficAnalyticsConfigurationProperties {
- return v.NetworkWatcherFlowAnalyticsConfiguration
- }).(TrafficAnalyticsConfigurationPropertiesPtrOutput)
+// Whether or not this is primary IP configuration of the NIC.
+func (o VirtualApplianceIPConfigurationPropertiesResponseOutput) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceIPConfigurationPropertiesResponse) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
}
-type TrafficAnalyticsPropertiesPtrOutput struct{ *pulumi.OutputState }
+type VirtualApplianceIPConfigurationPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
-func (TrafficAnalyticsPropertiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**TrafficAnalyticsProperties)(nil)).Elem()
+func (VirtualApplianceIPConfigurationPropertiesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualApplianceIPConfigurationPropertiesResponse)(nil)).Elem()
}
-func (o TrafficAnalyticsPropertiesPtrOutput) ToTrafficAnalyticsPropertiesPtrOutput() TrafficAnalyticsPropertiesPtrOutput {
+func (o VirtualApplianceIPConfigurationPropertiesResponsePtrOutput) ToVirtualApplianceIPConfigurationPropertiesResponsePtrOutput() VirtualApplianceIPConfigurationPropertiesResponsePtrOutput {
return o
}
-func (o TrafficAnalyticsPropertiesPtrOutput) ToTrafficAnalyticsPropertiesPtrOutputWithContext(ctx context.Context) TrafficAnalyticsPropertiesPtrOutput {
+func (o VirtualApplianceIPConfigurationPropertiesResponsePtrOutput) ToVirtualApplianceIPConfigurationPropertiesResponsePtrOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationPropertiesResponsePtrOutput {
return o
}
-func (o TrafficAnalyticsPropertiesPtrOutput) Elem() TrafficAnalyticsPropertiesOutput {
- return o.ApplyT(func(v *TrafficAnalyticsProperties) TrafficAnalyticsProperties {
+func (o VirtualApplianceIPConfigurationPropertiesResponsePtrOutput) Elem() VirtualApplianceIPConfigurationPropertiesResponseOutput {
+ return o.ApplyT(func(v *VirtualApplianceIPConfigurationPropertiesResponse) VirtualApplianceIPConfigurationPropertiesResponse {
if v != nil {
return *v
}
- var ret TrafficAnalyticsProperties
+ var ret VirtualApplianceIPConfigurationPropertiesResponse
return ret
- }).(TrafficAnalyticsPropertiesOutput)
+ }).(VirtualApplianceIPConfigurationPropertiesResponseOutput)
}
-// Parameters that define the configuration of traffic analytics.
-func (o TrafficAnalyticsPropertiesPtrOutput) NetworkWatcherFlowAnalyticsConfiguration() TrafficAnalyticsConfigurationPropertiesPtrOutput {
- return o.ApplyT(func(v *TrafficAnalyticsProperties) *TrafficAnalyticsConfigurationProperties {
+// Whether or not this is primary IP configuration of the NIC.
+func (o VirtualApplianceIPConfigurationPropertiesResponsePtrOutput) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualApplianceIPConfigurationPropertiesResponse) *bool {
if v == nil {
return nil
}
- return v.NetworkWatcherFlowAnalyticsConfiguration
- }).(TrafficAnalyticsConfigurationPropertiesPtrOutput)
+ return v.Primary
+ }).(pulumi.BoolPtrOutput)
}
-// Parameters that define the configuration of traffic analytics.
-type TrafficAnalyticsPropertiesResponse struct {
- // Parameters that define the configuration of traffic analytics.
- NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationPropertiesResponse `pulumi:"networkWatcherFlowAnalyticsConfiguration"`
+// Represents a single IP configuration.
+type VirtualApplianceIPConfigurationResponse struct {
+ // Name of the IP configuration.
+ Name *string `pulumi:"name"`
+ // Represents a single IP configuration properties.
+ Properties *VirtualApplianceIPConfigurationPropertiesResponse `pulumi:"properties"`
}
-// Parameters that define the configuration of traffic analytics.
-type TrafficAnalyticsPropertiesResponseOutput struct{ *pulumi.OutputState }
+// Represents a single IP configuration.
+type VirtualApplianceIPConfigurationResponseOutput struct{ *pulumi.OutputState }
-func (TrafficAnalyticsPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*TrafficAnalyticsPropertiesResponse)(nil)).Elem()
+func (VirtualApplianceIPConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceIPConfigurationResponse)(nil)).Elem()
}
-func (o TrafficAnalyticsPropertiesResponseOutput) ToTrafficAnalyticsPropertiesResponseOutput() TrafficAnalyticsPropertiesResponseOutput {
+func (o VirtualApplianceIPConfigurationResponseOutput) ToVirtualApplianceIPConfigurationResponseOutput() VirtualApplianceIPConfigurationResponseOutput {
return o
}
-func (o TrafficAnalyticsPropertiesResponseOutput) ToTrafficAnalyticsPropertiesResponseOutputWithContext(ctx context.Context) TrafficAnalyticsPropertiesResponseOutput {
+func (o VirtualApplianceIPConfigurationResponseOutput) ToVirtualApplianceIPConfigurationResponseOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationResponseOutput {
return o
}
-// Parameters that define the configuration of traffic analytics.
-func (o TrafficAnalyticsPropertiesResponseOutput) NetworkWatcherFlowAnalyticsConfiguration() TrafficAnalyticsConfigurationPropertiesResponsePtrOutput {
- return o.ApplyT(func(v TrafficAnalyticsPropertiesResponse) *TrafficAnalyticsConfigurationPropertiesResponse {
- return v.NetworkWatcherFlowAnalyticsConfiguration
- }).(TrafficAnalyticsConfigurationPropertiesResponsePtrOutput)
+// Name of the IP configuration.
+func (o VirtualApplianceIPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceIPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-type TrafficAnalyticsPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (TrafficAnalyticsPropertiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**TrafficAnalyticsPropertiesResponse)(nil)).Elem()
+// Represents a single IP configuration properties.
+func (o VirtualApplianceIPConfigurationResponseOutput) Properties() VirtualApplianceIPConfigurationPropertiesResponsePtrOutput {
+ return o.ApplyT(func(v VirtualApplianceIPConfigurationResponse) *VirtualApplianceIPConfigurationPropertiesResponse {
+ return v.Properties
+ }).(VirtualApplianceIPConfigurationPropertiesResponsePtrOutput)
}
-func (o TrafficAnalyticsPropertiesResponsePtrOutput) ToTrafficAnalyticsPropertiesResponsePtrOutput() TrafficAnalyticsPropertiesResponsePtrOutput {
- return o
+type VirtualApplianceIPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (VirtualApplianceIPConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualApplianceIPConfigurationResponse)(nil)).Elem()
}
-func (o TrafficAnalyticsPropertiesResponsePtrOutput) ToTrafficAnalyticsPropertiesResponsePtrOutputWithContext(ctx context.Context) TrafficAnalyticsPropertiesResponsePtrOutput {
+func (o VirtualApplianceIPConfigurationResponseArrayOutput) ToVirtualApplianceIPConfigurationResponseArrayOutput() VirtualApplianceIPConfigurationResponseArrayOutput {
return o
}
-func (o TrafficAnalyticsPropertiesResponsePtrOutput) Elem() TrafficAnalyticsPropertiesResponseOutput {
- return o.ApplyT(func(v *TrafficAnalyticsPropertiesResponse) TrafficAnalyticsPropertiesResponse {
- if v != nil {
- return *v
- }
- var ret TrafficAnalyticsPropertiesResponse
- return ret
- }).(TrafficAnalyticsPropertiesResponseOutput)
+func (o VirtualApplianceIPConfigurationResponseArrayOutput) ToVirtualApplianceIPConfigurationResponseArrayOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationResponseArrayOutput {
+ return o
}
-// Parameters that define the configuration of traffic analytics.
-func (o TrafficAnalyticsPropertiesResponsePtrOutput) NetworkWatcherFlowAnalyticsConfiguration() TrafficAnalyticsConfigurationPropertiesResponsePtrOutput {
- return o.ApplyT(func(v *TrafficAnalyticsPropertiesResponse) *TrafficAnalyticsConfigurationPropertiesResponse {
- if v == nil {
- return nil
- }
- return v.NetworkWatcherFlowAnalyticsConfiguration
- }).(TrafficAnalyticsConfigurationPropertiesResponsePtrOutput)
+func (o VirtualApplianceIPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) VirtualApplianceIPConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualApplianceIPConfigurationResponse {
+ return vs[0].([]VirtualApplianceIPConfigurationResponse)[vs[1].(int)]
+ }).(VirtualApplianceIPConfigurationResponseOutput)
}
-// An traffic selector policy for a virtual network gateway connection.
-type TrafficSelectorPolicy struct {
- // A collection of local address spaces in CIDR format.
- LocalAddressRanges []string `pulumi:"localAddressRanges"`
- // A collection of remote address spaces in CIDR format.
- RemoteAddressRanges []string `pulumi:"remoteAddressRanges"`
+// Represents a single NIC configuration.
+type VirtualApplianceNetworkInterfaceConfiguration struct {
+ // NIC type. This should be either PublicNic or PrivateNic.
+ NicType *string `pulumi:"nicType"`
+ // Represents a single NIC configuration properties.
+ Properties *VirtualApplianceNetworkInterfaceConfigurationProperties `pulumi:"properties"`
}
-// TrafficSelectorPolicyInput is an input type that accepts TrafficSelectorPolicyArgs and TrafficSelectorPolicyOutput values.
-// You can construct a concrete instance of `TrafficSelectorPolicyInput` via:
+// VirtualApplianceNetworkInterfaceConfigurationInput is an input type that accepts VirtualApplianceNetworkInterfaceConfigurationArgs and VirtualApplianceNetworkInterfaceConfigurationOutput values.
+// You can construct a concrete instance of `VirtualApplianceNetworkInterfaceConfigurationInput` via:
//
-// TrafficSelectorPolicyArgs{...}
-type TrafficSelectorPolicyInput interface {
+// VirtualApplianceNetworkInterfaceConfigurationArgs{...}
+type VirtualApplianceNetworkInterfaceConfigurationInput interface {
pulumi.Input
- ToTrafficSelectorPolicyOutput() TrafficSelectorPolicyOutput
- ToTrafficSelectorPolicyOutputWithContext(context.Context) TrafficSelectorPolicyOutput
+ ToVirtualApplianceNetworkInterfaceConfigurationOutput() VirtualApplianceNetworkInterfaceConfigurationOutput
+ ToVirtualApplianceNetworkInterfaceConfigurationOutputWithContext(context.Context) VirtualApplianceNetworkInterfaceConfigurationOutput
}
-// An traffic selector policy for a virtual network gateway connection.
-type TrafficSelectorPolicyArgs struct {
- // A collection of local address spaces in CIDR format.
- LocalAddressRanges pulumi.StringArrayInput `pulumi:"localAddressRanges"`
- // A collection of remote address spaces in CIDR format.
- RemoteAddressRanges pulumi.StringArrayInput `pulumi:"remoteAddressRanges"`
+// Represents a single NIC configuration.
+type VirtualApplianceNetworkInterfaceConfigurationArgs struct {
+ // NIC type. This should be either PublicNic or PrivateNic.
+ NicType pulumi.StringPtrInput `pulumi:"nicType"`
+ // Represents a single NIC configuration properties.
+ Properties VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrInput `pulumi:"properties"`
}
-func (TrafficSelectorPolicyArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*TrafficSelectorPolicy)(nil)).Elem()
+func (VirtualApplianceNetworkInterfaceConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceNetworkInterfaceConfiguration)(nil)).Elem()
}
-func (i TrafficSelectorPolicyArgs) ToTrafficSelectorPolicyOutput() TrafficSelectorPolicyOutput {
- return i.ToTrafficSelectorPolicyOutputWithContext(context.Background())
+func (i VirtualApplianceNetworkInterfaceConfigurationArgs) ToVirtualApplianceNetworkInterfaceConfigurationOutput() VirtualApplianceNetworkInterfaceConfigurationOutput {
+ return i.ToVirtualApplianceNetworkInterfaceConfigurationOutputWithContext(context.Background())
}
-func (i TrafficSelectorPolicyArgs) ToTrafficSelectorPolicyOutputWithContext(ctx context.Context) TrafficSelectorPolicyOutput {
- return pulumi.ToOutputWithContext(ctx, i).(TrafficSelectorPolicyOutput)
+func (i VirtualApplianceNetworkInterfaceConfigurationArgs) ToVirtualApplianceNetworkInterfaceConfigurationOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceNetworkInterfaceConfigurationOutput)
}
-// TrafficSelectorPolicyArrayInput is an input type that accepts TrafficSelectorPolicyArray and TrafficSelectorPolicyArrayOutput values.
-// You can construct a concrete instance of `TrafficSelectorPolicyArrayInput` via:
+// VirtualApplianceNetworkInterfaceConfigurationArrayInput is an input type that accepts VirtualApplianceNetworkInterfaceConfigurationArray and VirtualApplianceNetworkInterfaceConfigurationArrayOutput values.
+// You can construct a concrete instance of `VirtualApplianceNetworkInterfaceConfigurationArrayInput` via:
//
-// TrafficSelectorPolicyArray{ TrafficSelectorPolicyArgs{...} }
-type TrafficSelectorPolicyArrayInput interface {
+// VirtualApplianceNetworkInterfaceConfigurationArray{ VirtualApplianceNetworkInterfaceConfigurationArgs{...} }
+type VirtualApplianceNetworkInterfaceConfigurationArrayInput interface {
pulumi.Input
- ToTrafficSelectorPolicyArrayOutput() TrafficSelectorPolicyArrayOutput
- ToTrafficSelectorPolicyArrayOutputWithContext(context.Context) TrafficSelectorPolicyArrayOutput
+ ToVirtualApplianceNetworkInterfaceConfigurationArrayOutput() VirtualApplianceNetworkInterfaceConfigurationArrayOutput
+ ToVirtualApplianceNetworkInterfaceConfigurationArrayOutputWithContext(context.Context) VirtualApplianceNetworkInterfaceConfigurationArrayOutput
}
-type TrafficSelectorPolicyArray []TrafficSelectorPolicyInput
+type VirtualApplianceNetworkInterfaceConfigurationArray []VirtualApplianceNetworkInterfaceConfigurationInput
-func (TrafficSelectorPolicyArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]TrafficSelectorPolicy)(nil)).Elem()
+func (VirtualApplianceNetworkInterfaceConfigurationArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualApplianceNetworkInterfaceConfiguration)(nil)).Elem()
}
-func (i TrafficSelectorPolicyArray) ToTrafficSelectorPolicyArrayOutput() TrafficSelectorPolicyArrayOutput {
- return i.ToTrafficSelectorPolicyArrayOutputWithContext(context.Background())
+func (i VirtualApplianceNetworkInterfaceConfigurationArray) ToVirtualApplianceNetworkInterfaceConfigurationArrayOutput() VirtualApplianceNetworkInterfaceConfigurationArrayOutput {
+ return i.ToVirtualApplianceNetworkInterfaceConfigurationArrayOutputWithContext(context.Background())
}
-func (i TrafficSelectorPolicyArray) ToTrafficSelectorPolicyArrayOutputWithContext(ctx context.Context) TrafficSelectorPolicyArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(TrafficSelectorPolicyArrayOutput)
+func (i VirtualApplianceNetworkInterfaceConfigurationArray) ToVirtualApplianceNetworkInterfaceConfigurationArrayOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceNetworkInterfaceConfigurationArrayOutput)
}
-// An traffic selector policy for a virtual network gateway connection.
-type TrafficSelectorPolicyOutput struct{ *pulumi.OutputState }
+// Represents a single NIC configuration.
+type VirtualApplianceNetworkInterfaceConfigurationOutput struct{ *pulumi.OutputState }
-func (TrafficSelectorPolicyOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*TrafficSelectorPolicy)(nil)).Elem()
+func (VirtualApplianceNetworkInterfaceConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceNetworkInterfaceConfiguration)(nil)).Elem()
}
-func (o TrafficSelectorPolicyOutput) ToTrafficSelectorPolicyOutput() TrafficSelectorPolicyOutput {
+func (o VirtualApplianceNetworkInterfaceConfigurationOutput) ToVirtualApplianceNetworkInterfaceConfigurationOutput() VirtualApplianceNetworkInterfaceConfigurationOutput {
return o
}
-func (o TrafficSelectorPolicyOutput) ToTrafficSelectorPolicyOutputWithContext(ctx context.Context) TrafficSelectorPolicyOutput {
+func (o VirtualApplianceNetworkInterfaceConfigurationOutput) ToVirtualApplianceNetworkInterfaceConfigurationOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationOutput {
return o
}
-// A collection of local address spaces in CIDR format.
-func (o TrafficSelectorPolicyOutput) LocalAddressRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v TrafficSelectorPolicy) []string { return v.LocalAddressRanges }).(pulumi.StringArrayOutput)
+// NIC type. This should be either PublicNic or PrivateNic.
+func (o VirtualApplianceNetworkInterfaceConfigurationOutput) NicType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceNetworkInterfaceConfiguration) *string { return v.NicType }).(pulumi.StringPtrOutput)
}
-// A collection of remote address spaces in CIDR format.
-func (o TrafficSelectorPolicyOutput) RemoteAddressRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v TrafficSelectorPolicy) []string { return v.RemoteAddressRanges }).(pulumi.StringArrayOutput)
+// Represents a single NIC configuration properties.
+func (o VirtualApplianceNetworkInterfaceConfigurationOutput) Properties() VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceNetworkInterfaceConfiguration) *VirtualApplianceNetworkInterfaceConfigurationProperties {
+ return v.Properties
+ }).(VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput)
}
-type TrafficSelectorPolicyArrayOutput struct{ *pulumi.OutputState }
+type VirtualApplianceNetworkInterfaceConfigurationArrayOutput struct{ *pulumi.OutputState }
-func (TrafficSelectorPolicyArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]TrafficSelectorPolicy)(nil)).Elem()
+func (VirtualApplianceNetworkInterfaceConfigurationArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualApplianceNetworkInterfaceConfiguration)(nil)).Elem()
}
-func (o TrafficSelectorPolicyArrayOutput) ToTrafficSelectorPolicyArrayOutput() TrafficSelectorPolicyArrayOutput {
+func (o VirtualApplianceNetworkInterfaceConfigurationArrayOutput) ToVirtualApplianceNetworkInterfaceConfigurationArrayOutput() VirtualApplianceNetworkInterfaceConfigurationArrayOutput {
return o
}
-func (o TrafficSelectorPolicyArrayOutput) ToTrafficSelectorPolicyArrayOutputWithContext(ctx context.Context) TrafficSelectorPolicyArrayOutput {
+func (o VirtualApplianceNetworkInterfaceConfigurationArrayOutput) ToVirtualApplianceNetworkInterfaceConfigurationArrayOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationArrayOutput {
return o
}
-func (o TrafficSelectorPolicyArrayOutput) Index(i pulumi.IntInput) TrafficSelectorPolicyOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) TrafficSelectorPolicy {
- return vs[0].([]TrafficSelectorPolicy)[vs[1].(int)]
- }).(TrafficSelectorPolicyOutput)
+func (o VirtualApplianceNetworkInterfaceConfigurationArrayOutput) Index(i pulumi.IntInput) VirtualApplianceNetworkInterfaceConfigurationOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualApplianceNetworkInterfaceConfiguration {
+ return vs[0].([]VirtualApplianceNetworkInterfaceConfiguration)[vs[1].(int)]
+ }).(VirtualApplianceNetworkInterfaceConfigurationOutput)
}
-// An traffic selector policy for a virtual network gateway connection.
-type TrafficSelectorPolicyResponse struct {
- // A collection of local address spaces in CIDR format.
- LocalAddressRanges []string `pulumi:"localAddressRanges"`
- // A collection of remote address spaces in CIDR format.
- RemoteAddressRanges []string `pulumi:"remoteAddressRanges"`
+// Represents a single NIC configuration properties.
+type VirtualApplianceNetworkInterfaceConfigurationProperties struct {
+ IpConfigurations []VirtualApplianceIPConfiguration `pulumi:"ipConfigurations"`
}
-// An traffic selector policy for a virtual network gateway connection.
-type TrafficSelectorPolicyResponseOutput struct{ *pulumi.OutputState }
+// VirtualApplianceNetworkInterfaceConfigurationPropertiesInput is an input type that accepts VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs and VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput values.
+// You can construct a concrete instance of `VirtualApplianceNetworkInterfaceConfigurationPropertiesInput` via:
+//
+// VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs{...}
+type VirtualApplianceNetworkInterfaceConfigurationPropertiesInput interface {
+ pulumi.Input
-func (TrafficSelectorPolicyResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*TrafficSelectorPolicyResponse)(nil)).Elem()
+ ToVirtualApplianceNetworkInterfaceConfigurationPropertiesOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput
+ ToVirtualApplianceNetworkInterfaceConfigurationPropertiesOutputWithContext(context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput
}
-func (o TrafficSelectorPolicyResponseOutput) ToTrafficSelectorPolicyResponseOutput() TrafficSelectorPolicyResponseOutput {
- return o
+// Represents a single NIC configuration properties.
+type VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs struct {
+ IpConfigurations VirtualApplianceIPConfigurationArrayInput `pulumi:"ipConfigurations"`
}
-func (o TrafficSelectorPolicyResponseOutput) ToTrafficSelectorPolicyResponseOutputWithContext(ctx context.Context) TrafficSelectorPolicyResponseOutput {
- return o
+func (VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceNetworkInterfaceConfigurationProperties)(nil)).Elem()
}
-// A collection of local address spaces in CIDR format.
-func (o TrafficSelectorPolicyResponseOutput) LocalAddressRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v TrafficSelectorPolicyResponse) []string { return v.LocalAddressRanges }).(pulumi.StringArrayOutput)
+func (i VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput {
+ return i.ToVirtualApplianceNetworkInterfaceConfigurationPropertiesOutputWithContext(context.Background())
}
-// A collection of remote address spaces in CIDR format.
-func (o TrafficSelectorPolicyResponseOutput) RemoteAddressRanges() pulumi.StringArrayOutput {
- return o.ApplyT(func(v TrafficSelectorPolicyResponse) []string { return v.RemoteAddressRanges }).(pulumi.StringArrayOutput)
+func (i VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput)
}
-type TrafficSelectorPolicyResponseArrayOutput struct{ *pulumi.OutputState }
+func (i VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
+ return i.ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(context.Background())
+}
-func (TrafficSelectorPolicyResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]TrafficSelectorPolicyResponse)(nil)).Elem()
+func (i VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput).ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(ctx)
}
-func (o TrafficSelectorPolicyResponseArrayOutput) ToTrafficSelectorPolicyResponseArrayOutput() TrafficSelectorPolicyResponseArrayOutput {
+// VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrInput is an input type that accepts VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs, VirtualApplianceNetworkInterfaceConfigurationPropertiesPtr and VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput values.
+// You can construct a concrete instance of `VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrInput` via:
+//
+// VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs{...}
+//
+// or:
+//
+// nil
+type VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrInput interface {
+ pulumi.Input
+
+ ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput
+ ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput
+}
+
+type virtualApplianceNetworkInterfaceConfigurationPropertiesPtrType VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs
+
+func VirtualApplianceNetworkInterfaceConfigurationPropertiesPtr(v *VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs) VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrInput {
+ return (*virtualApplianceNetworkInterfaceConfigurationPropertiesPtrType)(v)
+}
+
+func (*virtualApplianceNetworkInterfaceConfigurationPropertiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualApplianceNetworkInterfaceConfigurationProperties)(nil)).Elem()
+}
+
+func (i *virtualApplianceNetworkInterfaceConfigurationPropertiesPtrType) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
+ return i.ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(context.Background())
+}
+
+func (i *virtualApplianceNetworkInterfaceConfigurationPropertiesPtrType) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput)
+}
+
+// Represents a single NIC configuration properties.
+type VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput struct{ *pulumi.OutputState }
+
+func (VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceNetworkInterfaceConfigurationProperties)(nil)).Elem()
+}
+
+func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput {
return o
}
-func (o TrafficSelectorPolicyResponseArrayOutput) ToTrafficSelectorPolicyResponseArrayOutputWithContext(ctx context.Context) TrafficSelectorPolicyResponseArrayOutput {
+func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput {
return o
}
-func (o TrafficSelectorPolicyResponseArrayOutput) Index(i pulumi.IntInput) TrafficSelectorPolicyResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) TrafficSelectorPolicyResponse {
- return vs[0].([]TrafficSelectorPolicyResponse)[vs[1].(int)]
- }).(TrafficSelectorPolicyResponseOutput)
+func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
+ return o.ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(context.Background())
}
-// VirtualNetworkGatewayConnection properties.
-type TunnelConnectionHealthResponse struct {
- // Virtual Network Gateway connection status.
- ConnectionStatus string `pulumi:"connectionStatus"`
- // The Egress Bytes Transferred in this connection.
- EgressBytesTransferred float64 `pulumi:"egressBytesTransferred"`
- // The Ingress Bytes Transferred in this connection.
- IngressBytesTransferred float64 `pulumi:"ingressBytesTransferred"`
- // The time at which connection was established in Utc format.
- LastConnectionEstablishedUtcTime string `pulumi:"lastConnectionEstablishedUtcTime"`
- // Tunnel name.
- Tunnel string `pulumi:"tunnel"`
+func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualApplianceNetworkInterfaceConfigurationProperties) *VirtualApplianceNetworkInterfaceConfigurationProperties {
+ return &v
+ }).(VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput)
}
-// VirtualNetworkGatewayConnection properties.
-type TunnelConnectionHealthResponseOutput struct{ *pulumi.OutputState }
+func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput) IpConfigurations() VirtualApplianceIPConfigurationArrayOutput {
+ return o.ApplyT(func(v VirtualApplianceNetworkInterfaceConfigurationProperties) []VirtualApplianceIPConfiguration {
+ return v.IpConfigurations
+ }).(VirtualApplianceIPConfigurationArrayOutput)
+}
-func (TunnelConnectionHealthResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*TunnelConnectionHealthResponse)(nil)).Elem()
+type VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput struct{ *pulumi.OutputState }
+
+func (VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualApplianceNetworkInterfaceConfigurationProperties)(nil)).Elem()
}
-func (o TunnelConnectionHealthResponseOutput) ToTunnelConnectionHealthResponseOutput() TunnelConnectionHealthResponseOutput {
+func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
return o
}
-func (o TunnelConnectionHealthResponseOutput) ToTunnelConnectionHealthResponseOutputWithContext(ctx context.Context) TunnelConnectionHealthResponseOutput {
+func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
return o
}
-// Virtual Network Gateway connection status.
-func (o TunnelConnectionHealthResponseOutput) ConnectionStatus() pulumi.StringOutput {
- return o.ApplyT(func(v TunnelConnectionHealthResponse) string { return v.ConnectionStatus }).(pulumi.StringOutput)
+func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput) Elem() VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput {
+ return o.ApplyT(func(v *VirtualApplianceNetworkInterfaceConfigurationProperties) VirtualApplianceNetworkInterfaceConfigurationProperties {
+ if v != nil {
+ return *v
+ }
+ var ret VirtualApplianceNetworkInterfaceConfigurationProperties
+ return ret
+ }).(VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput)
}
-// The Egress Bytes Transferred in this connection.
-func (o TunnelConnectionHealthResponseOutput) EgressBytesTransferred() pulumi.Float64Output {
- return o.ApplyT(func(v TunnelConnectionHealthResponse) float64 { return v.EgressBytesTransferred }).(pulumi.Float64Output)
+func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput) IpConfigurations() VirtualApplianceIPConfigurationArrayOutput {
+ return o.ApplyT(func(v *VirtualApplianceNetworkInterfaceConfigurationProperties) []VirtualApplianceIPConfiguration {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurations
+ }).(VirtualApplianceIPConfigurationArrayOutput)
}
-// The Ingress Bytes Transferred in this connection.
-func (o TunnelConnectionHealthResponseOutput) IngressBytesTransferred() pulumi.Float64Output {
- return o.ApplyT(func(v TunnelConnectionHealthResponse) float64 { return v.IngressBytesTransferred }).(pulumi.Float64Output)
+// Represents a single NIC configuration properties.
+type VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse struct {
+ IpConfigurations []VirtualApplianceIPConfigurationResponse `pulumi:"ipConfigurations"`
}
-// The time at which connection was established in Utc format.
-func (o TunnelConnectionHealthResponseOutput) LastConnectionEstablishedUtcTime() pulumi.StringOutput {
- return o.ApplyT(func(v TunnelConnectionHealthResponse) string { return v.LastConnectionEstablishedUtcTime }).(pulumi.StringOutput)
+// Represents a single NIC configuration properties.
+type VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput struct{ *pulumi.OutputState }
+
+func (VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse)(nil)).Elem()
}
-// Tunnel name.
-func (o TunnelConnectionHealthResponseOutput) Tunnel() pulumi.StringOutput {
- return o.ApplyT(func(v TunnelConnectionHealthResponse) string { return v.Tunnel }).(pulumi.StringOutput)
+func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput {
+ return o
}
-type TunnelConnectionHealthResponseArrayOutput struct{ *pulumi.OutputState }
+func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput {
+ return o
+}
-func (TunnelConnectionHealthResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]TunnelConnectionHealthResponse)(nil)).Elem()
+func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput) IpConfigurations() VirtualApplianceIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse) []VirtualApplianceIPConfigurationResponse {
+ return v.IpConfigurations
+ }).(VirtualApplianceIPConfigurationResponseArrayOutput)
}
-func (o TunnelConnectionHealthResponseArrayOutput) ToTunnelConnectionHealthResponseArrayOutput() TunnelConnectionHealthResponseArrayOutput {
+type VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse)(nil)).Elem()
+}
+
+func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput {
return o
}
-func (o TunnelConnectionHealthResponseArrayOutput) ToTunnelConnectionHealthResponseArrayOutputWithContext(ctx context.Context) TunnelConnectionHealthResponseArrayOutput {
+func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput {
return o
}
-func (o TunnelConnectionHealthResponseArrayOutput) Index(i pulumi.IntInput) TunnelConnectionHealthResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) TunnelConnectionHealthResponse {
- return vs[0].([]TunnelConnectionHealthResponse)[vs[1].(int)]
- }).(TunnelConnectionHealthResponseOutput)
+func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput) Elem() VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput {
+ return o.ApplyT(func(v *VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse) VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse {
+ if v != nil {
+ return *v
+ }
+ var ret VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse
+ return ret
+ }).(VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput)
}
-// Describes a Virtual Machine.
-type VM struct {
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
+func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput) IpConfigurations() VirtualApplianceIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v *VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse) []VirtualApplianceIPConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurations
+ }).(VirtualApplianceIPConfigurationResponseArrayOutput)
}
-// VMInput is an input type that accepts VMArgs and VMOutput values.
-// You can construct a concrete instance of `VMInput` via:
-//
-// VMArgs{...}
-type VMInput interface {
- pulumi.Input
+// Represents a single NIC configuration.
+type VirtualApplianceNetworkInterfaceConfigurationResponse struct {
+ // NIC type. This should be either PublicNic or PrivateNic.
+ NicType *string `pulumi:"nicType"`
+ // Represents a single NIC configuration properties.
+ Properties *VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse `pulumi:"properties"`
+}
- ToVMOutput() VMOutput
- ToVMOutputWithContext(context.Context) VMOutput
+// Represents a single NIC configuration.
+type VirtualApplianceNetworkInterfaceConfigurationResponseOutput struct{ *pulumi.OutputState }
+
+func (VirtualApplianceNetworkInterfaceConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceNetworkInterfaceConfigurationResponse)(nil)).Elem()
}
-// Describes a Virtual Machine.
-type VMArgs struct {
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Resource location.
- Location pulumi.StringPtrInput `pulumi:"location"`
- // Resource tags.
- Tags pulumi.StringMapInput `pulumi:"tags"`
+func (o VirtualApplianceNetworkInterfaceConfigurationResponseOutput) ToVirtualApplianceNetworkInterfaceConfigurationResponseOutput() VirtualApplianceNetworkInterfaceConfigurationResponseOutput {
+ return o
}
-func (VMArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VM)(nil)).Elem()
+func (o VirtualApplianceNetworkInterfaceConfigurationResponseOutput) ToVirtualApplianceNetworkInterfaceConfigurationResponseOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationResponseOutput {
+ return o
}
-func (i VMArgs) ToVMOutput() VMOutput {
- return i.ToVMOutputWithContext(context.Background())
+// NIC type. This should be either PublicNic or PrivateNic.
+func (o VirtualApplianceNetworkInterfaceConfigurationResponseOutput) NicType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceNetworkInterfaceConfigurationResponse) *string { return v.NicType }).(pulumi.StringPtrOutput)
}
-func (i VMArgs) ToVMOutputWithContext(ctx context.Context) VMOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VMOutput)
+// Represents a single NIC configuration properties.
+func (o VirtualApplianceNetworkInterfaceConfigurationResponseOutput) Properties() VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput {
+ return o.ApplyT(func(v VirtualApplianceNetworkInterfaceConfigurationResponse) *VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse {
+ return v.Properties
+ }).(VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput)
}
-// Describes a Virtual Machine.
-type VMOutput struct{ *pulumi.OutputState }
+type VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-func (VMOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VM)(nil)).Elem()
+func (VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualApplianceNetworkInterfaceConfigurationResponse)(nil)).Elem()
}
-func (o VMOutput) ToVMOutput() VMOutput {
+func (o VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput) ToVirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput() VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput {
return o
}
-func (o VMOutput) ToVMOutputWithContext(ctx context.Context) VMOutput {
+func (o VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput) ToVirtualApplianceNetworkInterfaceConfigurationResponseArrayOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput {
return o
}
-// Resource ID.
-func (o VMOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VM) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput) Index(i pulumi.IntInput) VirtualApplianceNetworkInterfaceConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualApplianceNetworkInterfaceConfigurationResponse {
+ return vs[0].([]VirtualApplianceNetworkInterfaceConfigurationResponse)[vs[1].(int)]
+ }).(VirtualApplianceNetworkInterfaceConfigurationResponseOutput)
}
-// Resource location.
-func (o VMOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VM) *string { return v.Location }).(pulumi.StringPtrOutput)
+// Network Virtual Appliance NIC properties.
+type VirtualApplianceNicPropertiesResponse struct {
+ // Instance on which nic is attached.
+ InstanceName string `pulumi:"instanceName"`
+ // NIC name.
+ Name string `pulumi:"name"`
+ // NIC type - PublicNic, PrivateNic, or AdditionalNic.
+ NicType string `pulumi:"nicType"`
+ // Private IP address.
+ PrivateIpAddress string `pulumi:"privateIpAddress"`
+ // Public IP address.
+ PublicIpAddress string `pulumi:"publicIpAddress"`
}
-// Resource tags.
-func (o VMOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v VM) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// Network Virtual Appliance NIC properties.
+type VirtualApplianceNicPropertiesResponseOutput struct{ *pulumi.OutputState }
+
+func (VirtualApplianceNicPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceNicPropertiesResponse)(nil)).Elem()
}
-// Describes a Virtual Machine.
-type VMResponse struct {
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
+func (o VirtualApplianceNicPropertiesResponseOutput) ToVirtualApplianceNicPropertiesResponseOutput() VirtualApplianceNicPropertiesResponseOutput {
+ return o
}
-// Describes a Virtual Machine.
-type VMResponseOutput struct{ *pulumi.OutputState }
+func (o VirtualApplianceNicPropertiesResponseOutput) ToVirtualApplianceNicPropertiesResponseOutputWithContext(ctx context.Context) VirtualApplianceNicPropertiesResponseOutput {
+ return o
+}
-func (VMResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VMResponse)(nil)).Elem()
+// Instance on which nic is attached.
+func (o VirtualApplianceNicPropertiesResponseOutput) InstanceName() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualApplianceNicPropertiesResponse) string { return v.InstanceName }).(pulumi.StringOutput)
}
-func (o VMResponseOutput) ToVMResponseOutput() VMResponseOutput {
- return o
+// NIC name.
+func (o VirtualApplianceNicPropertiesResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualApplianceNicPropertiesResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (o VMResponseOutput) ToVMResponseOutputWithContext(ctx context.Context) VMResponseOutput {
- return o
+// NIC type - PublicNic, PrivateNic, or AdditionalNic.
+func (o VirtualApplianceNicPropertiesResponseOutput) NicType() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualApplianceNicPropertiesResponse) string { return v.NicType }).(pulumi.StringOutput)
}
-// Resource ID.
-func (o VMResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VMResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Private IP address.
+func (o VirtualApplianceNicPropertiesResponseOutput) PrivateIpAddress() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualApplianceNicPropertiesResponse) string { return v.PrivateIpAddress }).(pulumi.StringOutput)
}
-// Resource location.
-func (o VMResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VMResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+// Public IP address.
+func (o VirtualApplianceNicPropertiesResponseOutput) PublicIpAddress() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualApplianceNicPropertiesResponse) string { return v.PublicIpAddress }).(pulumi.StringOutput)
}
-// Resource name.
-func (o VMResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v VMResponse) string { return v.Name }).(pulumi.StringOutput)
+type VirtualApplianceNicPropertiesResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (VirtualApplianceNicPropertiesResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualApplianceNicPropertiesResponse)(nil)).Elem()
}
-// Resource tags.
-func (o VMResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v VMResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+func (o VirtualApplianceNicPropertiesResponseArrayOutput) ToVirtualApplianceNicPropertiesResponseArrayOutput() VirtualApplianceNicPropertiesResponseArrayOutput {
+ return o
}
-// Resource type.
-func (o VMResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v VMResponse) string { return v.Type }).(pulumi.StringOutput)
+func (o VirtualApplianceNicPropertiesResponseArrayOutput) ToVirtualApplianceNicPropertiesResponseArrayOutputWithContext(ctx context.Context) VirtualApplianceNicPropertiesResponseArrayOutput {
+ return o
}
-// Properties of Verifier Workspace resource.
-type VerifierWorkspaceProperties struct {
- Description *string `pulumi:"description"`
+func (o VirtualApplianceNicPropertiesResponseArrayOutput) Index(i pulumi.IntInput) VirtualApplianceNicPropertiesResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualApplianceNicPropertiesResponse {
+ return vs[0].([]VirtualApplianceNicPropertiesResponse)[vs[1].(int)]
+ }).(VirtualApplianceNicPropertiesResponseOutput)
}
-// VerifierWorkspacePropertiesInput is an input type that accepts VerifierWorkspacePropertiesArgs and VerifierWorkspacePropertiesOutput values.
-// You can construct a concrete instance of `VerifierWorkspacePropertiesInput` via:
+// Network Virtual Appliance Sku Properties.
+type VirtualApplianceSkuProperties struct {
+ // Virtual Appliance Scale Unit.
+ BundledScaleUnit *string `pulumi:"bundledScaleUnit"`
+ // Virtual Appliance Version.
+ MarketPlaceVersion *string `pulumi:"marketPlaceVersion"`
+ // Virtual Appliance Vendor.
+ Vendor *string `pulumi:"vendor"`
+}
+
+// VirtualApplianceSkuPropertiesInput is an input type that accepts VirtualApplianceSkuPropertiesArgs and VirtualApplianceSkuPropertiesOutput values.
+// You can construct a concrete instance of `VirtualApplianceSkuPropertiesInput` via:
//
-// VerifierWorkspacePropertiesArgs{...}
-type VerifierWorkspacePropertiesInput interface {
+// VirtualApplianceSkuPropertiesArgs{...}
+type VirtualApplianceSkuPropertiesInput interface {
pulumi.Input
- ToVerifierWorkspacePropertiesOutput() VerifierWorkspacePropertiesOutput
- ToVerifierWorkspacePropertiesOutputWithContext(context.Context) VerifierWorkspacePropertiesOutput
+ ToVirtualApplianceSkuPropertiesOutput() VirtualApplianceSkuPropertiesOutput
+ ToVirtualApplianceSkuPropertiesOutputWithContext(context.Context) VirtualApplianceSkuPropertiesOutput
}
-// Properties of Verifier Workspace resource.
-type VerifierWorkspacePropertiesArgs struct {
- Description pulumi.StringPtrInput `pulumi:"description"`
+// Network Virtual Appliance Sku Properties.
+type VirtualApplianceSkuPropertiesArgs struct {
+ // Virtual Appliance Scale Unit.
+ BundledScaleUnit pulumi.StringPtrInput `pulumi:"bundledScaleUnit"`
+ // Virtual Appliance Version.
+ MarketPlaceVersion pulumi.StringPtrInput `pulumi:"marketPlaceVersion"`
+ // Virtual Appliance Vendor.
+ Vendor pulumi.StringPtrInput `pulumi:"vendor"`
}
-func (VerifierWorkspacePropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VerifierWorkspaceProperties)(nil)).Elem()
+func (VirtualApplianceSkuPropertiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceSkuProperties)(nil)).Elem()
}
-func (i VerifierWorkspacePropertiesArgs) ToVerifierWorkspacePropertiesOutput() VerifierWorkspacePropertiesOutput {
- return i.ToVerifierWorkspacePropertiesOutputWithContext(context.Background())
+func (i VirtualApplianceSkuPropertiesArgs) ToVirtualApplianceSkuPropertiesOutput() VirtualApplianceSkuPropertiesOutput {
+ return i.ToVirtualApplianceSkuPropertiesOutputWithContext(context.Background())
}
-func (i VerifierWorkspacePropertiesArgs) ToVerifierWorkspacePropertiesOutputWithContext(ctx context.Context) VerifierWorkspacePropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VerifierWorkspacePropertiesOutput)
+func (i VirtualApplianceSkuPropertiesArgs) ToVirtualApplianceSkuPropertiesOutputWithContext(ctx context.Context) VirtualApplianceSkuPropertiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceSkuPropertiesOutput)
}
-func (i VerifierWorkspacePropertiesArgs) ToVerifierWorkspacePropertiesPtrOutput() VerifierWorkspacePropertiesPtrOutput {
- return i.ToVerifierWorkspacePropertiesPtrOutputWithContext(context.Background())
+func (i VirtualApplianceSkuPropertiesArgs) ToVirtualApplianceSkuPropertiesPtrOutput() VirtualApplianceSkuPropertiesPtrOutput {
+ return i.ToVirtualApplianceSkuPropertiesPtrOutputWithContext(context.Background())
}
-func (i VerifierWorkspacePropertiesArgs) ToVerifierWorkspacePropertiesPtrOutputWithContext(ctx context.Context) VerifierWorkspacePropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VerifierWorkspacePropertiesOutput).ToVerifierWorkspacePropertiesPtrOutputWithContext(ctx)
+func (i VirtualApplianceSkuPropertiesArgs) ToVirtualApplianceSkuPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceSkuPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceSkuPropertiesOutput).ToVirtualApplianceSkuPropertiesPtrOutputWithContext(ctx)
}
-// VerifierWorkspacePropertiesPtrInput is an input type that accepts VerifierWorkspacePropertiesArgs, VerifierWorkspacePropertiesPtr and VerifierWorkspacePropertiesPtrOutput values.
-// You can construct a concrete instance of `VerifierWorkspacePropertiesPtrInput` via:
+// VirtualApplianceSkuPropertiesPtrInput is an input type that accepts VirtualApplianceSkuPropertiesArgs, VirtualApplianceSkuPropertiesPtr and VirtualApplianceSkuPropertiesPtrOutput values.
+// You can construct a concrete instance of `VirtualApplianceSkuPropertiesPtrInput` via:
//
-// VerifierWorkspacePropertiesArgs{...}
+// VirtualApplianceSkuPropertiesArgs{...}
//
// or:
//
// nil
-type VerifierWorkspacePropertiesPtrInput interface {
+type VirtualApplianceSkuPropertiesPtrInput interface {
pulumi.Input
- ToVerifierWorkspacePropertiesPtrOutput() VerifierWorkspacePropertiesPtrOutput
- ToVerifierWorkspacePropertiesPtrOutputWithContext(context.Context) VerifierWorkspacePropertiesPtrOutput
+ ToVirtualApplianceSkuPropertiesPtrOutput() VirtualApplianceSkuPropertiesPtrOutput
+ ToVirtualApplianceSkuPropertiesPtrOutputWithContext(context.Context) VirtualApplianceSkuPropertiesPtrOutput
}
-type verifierWorkspacePropertiesPtrType VerifierWorkspacePropertiesArgs
+type virtualApplianceSkuPropertiesPtrType VirtualApplianceSkuPropertiesArgs
-func VerifierWorkspacePropertiesPtr(v *VerifierWorkspacePropertiesArgs) VerifierWorkspacePropertiesPtrInput {
- return (*verifierWorkspacePropertiesPtrType)(v)
+func VirtualApplianceSkuPropertiesPtr(v *VirtualApplianceSkuPropertiesArgs) VirtualApplianceSkuPropertiesPtrInput {
+ return (*virtualApplianceSkuPropertiesPtrType)(v)
}
-func (*verifierWorkspacePropertiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**VerifierWorkspaceProperties)(nil)).Elem()
+func (*virtualApplianceSkuPropertiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualApplianceSkuProperties)(nil)).Elem()
}
-func (i *verifierWorkspacePropertiesPtrType) ToVerifierWorkspacePropertiesPtrOutput() VerifierWorkspacePropertiesPtrOutput {
- return i.ToVerifierWorkspacePropertiesPtrOutputWithContext(context.Background())
+func (i *virtualApplianceSkuPropertiesPtrType) ToVirtualApplianceSkuPropertiesPtrOutput() VirtualApplianceSkuPropertiesPtrOutput {
+ return i.ToVirtualApplianceSkuPropertiesPtrOutputWithContext(context.Background())
}
-func (i *verifierWorkspacePropertiesPtrType) ToVerifierWorkspacePropertiesPtrOutputWithContext(ctx context.Context) VerifierWorkspacePropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VerifierWorkspacePropertiesPtrOutput)
+func (i *virtualApplianceSkuPropertiesPtrType) ToVirtualApplianceSkuPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceSkuPropertiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceSkuPropertiesPtrOutput)
}
-// Properties of Verifier Workspace resource.
-type VerifierWorkspacePropertiesOutput struct{ *pulumi.OutputState }
+// Network Virtual Appliance Sku Properties.
+type VirtualApplianceSkuPropertiesOutput struct{ *pulumi.OutputState }
-func (VerifierWorkspacePropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VerifierWorkspaceProperties)(nil)).Elem()
+func (VirtualApplianceSkuPropertiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceSkuProperties)(nil)).Elem()
}
-func (o VerifierWorkspacePropertiesOutput) ToVerifierWorkspacePropertiesOutput() VerifierWorkspacePropertiesOutput {
+func (o VirtualApplianceSkuPropertiesOutput) ToVirtualApplianceSkuPropertiesOutput() VirtualApplianceSkuPropertiesOutput {
return o
}
-func (o VerifierWorkspacePropertiesOutput) ToVerifierWorkspacePropertiesOutputWithContext(ctx context.Context) VerifierWorkspacePropertiesOutput {
+func (o VirtualApplianceSkuPropertiesOutput) ToVirtualApplianceSkuPropertiesOutputWithContext(ctx context.Context) VirtualApplianceSkuPropertiesOutput {
return o
}
-func (o VerifierWorkspacePropertiesOutput) ToVerifierWorkspacePropertiesPtrOutput() VerifierWorkspacePropertiesPtrOutput {
- return o.ToVerifierWorkspacePropertiesPtrOutputWithContext(context.Background())
+func (o VirtualApplianceSkuPropertiesOutput) ToVirtualApplianceSkuPropertiesPtrOutput() VirtualApplianceSkuPropertiesPtrOutput {
+ return o.ToVirtualApplianceSkuPropertiesPtrOutputWithContext(context.Background())
}
-func (o VerifierWorkspacePropertiesOutput) ToVerifierWorkspacePropertiesPtrOutputWithContext(ctx context.Context) VerifierWorkspacePropertiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v VerifierWorkspaceProperties) *VerifierWorkspaceProperties {
+func (o VirtualApplianceSkuPropertiesOutput) ToVirtualApplianceSkuPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceSkuPropertiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualApplianceSkuProperties) *VirtualApplianceSkuProperties {
return &v
- }).(VerifierWorkspacePropertiesPtrOutput)
+ }).(VirtualApplianceSkuPropertiesPtrOutput)
}
-func (o VerifierWorkspacePropertiesOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VerifierWorkspaceProperties) *string { return v.Description }).(pulumi.StringPtrOutput)
+// Virtual Appliance Scale Unit.
+func (o VirtualApplianceSkuPropertiesOutput) BundledScaleUnit() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceSkuProperties) *string { return v.BundledScaleUnit }).(pulumi.StringPtrOutput)
}
-type VerifierWorkspacePropertiesPtrOutput struct{ *pulumi.OutputState }
+// Virtual Appliance Version.
+func (o VirtualApplianceSkuPropertiesOutput) MarketPlaceVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceSkuProperties) *string { return v.MarketPlaceVersion }).(pulumi.StringPtrOutput)
+}
-func (VerifierWorkspacePropertiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VerifierWorkspaceProperties)(nil)).Elem()
+// Virtual Appliance Vendor.
+func (o VirtualApplianceSkuPropertiesOutput) Vendor() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceSkuProperties) *string { return v.Vendor }).(pulumi.StringPtrOutput)
}
-func (o VerifierWorkspacePropertiesPtrOutput) ToVerifierWorkspacePropertiesPtrOutput() VerifierWorkspacePropertiesPtrOutput {
+type VirtualApplianceSkuPropertiesPtrOutput struct{ *pulumi.OutputState }
+
+func (VirtualApplianceSkuPropertiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualApplianceSkuProperties)(nil)).Elem()
+}
+
+func (o VirtualApplianceSkuPropertiesPtrOutput) ToVirtualApplianceSkuPropertiesPtrOutput() VirtualApplianceSkuPropertiesPtrOutput {
return o
}
-func (o VerifierWorkspacePropertiesPtrOutput) ToVerifierWorkspacePropertiesPtrOutputWithContext(ctx context.Context) VerifierWorkspacePropertiesPtrOutput {
+func (o VirtualApplianceSkuPropertiesPtrOutput) ToVirtualApplianceSkuPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceSkuPropertiesPtrOutput {
return o
}
-func (o VerifierWorkspacePropertiesPtrOutput) Elem() VerifierWorkspacePropertiesOutput {
- return o.ApplyT(func(v *VerifierWorkspaceProperties) VerifierWorkspaceProperties {
+func (o VirtualApplianceSkuPropertiesPtrOutput) Elem() VirtualApplianceSkuPropertiesOutput {
+ return o.ApplyT(func(v *VirtualApplianceSkuProperties) VirtualApplianceSkuProperties {
if v != nil {
return *v
}
- var ret VerifierWorkspaceProperties
+ var ret VirtualApplianceSkuProperties
return ret
- }).(VerifierWorkspacePropertiesOutput)
+ }).(VirtualApplianceSkuPropertiesOutput)
}
-func (o VerifierWorkspacePropertiesPtrOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VerifierWorkspaceProperties) *string {
+// Virtual Appliance Scale Unit.
+func (o VirtualApplianceSkuPropertiesPtrOutput) BundledScaleUnit() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualApplianceSkuProperties) *string {
if v == nil {
return nil
}
- return v.Description
+ return v.BundledScaleUnit
}).(pulumi.StringPtrOutput)
}
-// Properties of Verifier Workspace resource.
-type VerifierWorkspacePropertiesResponse struct {
- Description *string `pulumi:"description"`
- // Provisioning states of a resource.
- ProvisioningState string `pulumi:"provisioningState"`
+// Virtual Appliance Version.
+func (o VirtualApplianceSkuPropertiesPtrOutput) MarketPlaceVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualApplianceSkuProperties) *string {
+ if v == nil {
+ return nil
+ }
+ return v.MarketPlaceVersion
+ }).(pulumi.StringPtrOutput)
}
-// Properties of Verifier Workspace resource.
-type VerifierWorkspacePropertiesResponseOutput struct{ *pulumi.OutputState }
+// Virtual Appliance Vendor.
+func (o VirtualApplianceSkuPropertiesPtrOutput) Vendor() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualApplianceSkuProperties) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Vendor
+ }).(pulumi.StringPtrOutput)
+}
-func (VerifierWorkspacePropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VerifierWorkspacePropertiesResponse)(nil)).Elem()
+// Network Virtual Appliance Sku Properties.
+type VirtualApplianceSkuPropertiesResponse struct {
+ // Virtual Appliance Scale Unit.
+ BundledScaleUnit *string `pulumi:"bundledScaleUnit"`
+ // Virtual Appliance Version.
+ MarketPlaceVersion *string `pulumi:"marketPlaceVersion"`
+ // Virtual Appliance Vendor.
+ Vendor *string `pulumi:"vendor"`
}
-func (o VerifierWorkspacePropertiesResponseOutput) ToVerifierWorkspacePropertiesResponseOutput() VerifierWorkspacePropertiesResponseOutput {
+// Network Virtual Appliance Sku Properties.
+type VirtualApplianceSkuPropertiesResponseOutput struct{ *pulumi.OutputState }
+
+func (VirtualApplianceSkuPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualApplianceSkuPropertiesResponse)(nil)).Elem()
+}
+
+func (o VirtualApplianceSkuPropertiesResponseOutput) ToVirtualApplianceSkuPropertiesResponseOutput() VirtualApplianceSkuPropertiesResponseOutput {
return o
}
-func (o VerifierWorkspacePropertiesResponseOutput) ToVerifierWorkspacePropertiesResponseOutputWithContext(ctx context.Context) VerifierWorkspacePropertiesResponseOutput {
+func (o VirtualApplianceSkuPropertiesResponseOutput) ToVirtualApplianceSkuPropertiesResponseOutputWithContext(ctx context.Context) VirtualApplianceSkuPropertiesResponseOutput {
return o
}
-func (o VerifierWorkspacePropertiesResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VerifierWorkspacePropertiesResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+// Virtual Appliance Scale Unit.
+func (o VirtualApplianceSkuPropertiesResponseOutput) BundledScaleUnit() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceSkuPropertiesResponse) *string { return v.BundledScaleUnit }).(pulumi.StringPtrOutput)
}
-// Provisioning states of a resource.
-func (o VerifierWorkspacePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v VerifierWorkspacePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Virtual Appliance Version.
+func (o VirtualApplianceSkuPropertiesResponseOutput) MarketPlaceVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceSkuPropertiesResponse) *string { return v.MarketPlaceVersion }).(pulumi.StringPtrOutput)
}
-// Network Virtual Appliance Additional NIC properties.
-type VirtualApplianceAdditionalNicProperties struct {
- // Flag (true or false) for Intent for Public Ip on additional nic
- HasPublicIp *bool `pulumi:"hasPublicIp"`
- // Name of additional nic
- Name *string `pulumi:"name"`
+// Virtual Appliance Vendor.
+func (o VirtualApplianceSkuPropertiesResponseOutput) Vendor() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualApplianceSkuPropertiesResponse) *string { return v.Vendor }).(pulumi.StringPtrOutput)
}
-// VirtualApplianceAdditionalNicPropertiesInput is an input type that accepts VirtualApplianceAdditionalNicPropertiesArgs and VirtualApplianceAdditionalNicPropertiesOutput values.
-// You can construct a concrete instance of `VirtualApplianceAdditionalNicPropertiesInput` via:
-//
-// VirtualApplianceAdditionalNicPropertiesArgs{...}
-type VirtualApplianceAdditionalNicPropertiesInput interface {
- pulumi.Input
+type VirtualApplianceSkuPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
- ToVirtualApplianceAdditionalNicPropertiesOutput() VirtualApplianceAdditionalNicPropertiesOutput
- ToVirtualApplianceAdditionalNicPropertiesOutputWithContext(context.Context) VirtualApplianceAdditionalNicPropertiesOutput
+func (VirtualApplianceSkuPropertiesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualApplianceSkuPropertiesResponse)(nil)).Elem()
}
-// Network Virtual Appliance Additional NIC properties.
-type VirtualApplianceAdditionalNicPropertiesArgs struct {
- // Flag (true or false) for Intent for Public Ip on additional nic
- HasPublicIp pulumi.BoolPtrInput `pulumi:"hasPublicIp"`
- // Name of additional nic
- Name pulumi.StringPtrInput `pulumi:"name"`
+func (o VirtualApplianceSkuPropertiesResponsePtrOutput) ToVirtualApplianceSkuPropertiesResponsePtrOutput() VirtualApplianceSkuPropertiesResponsePtrOutput {
+ return o
}
-func (VirtualApplianceAdditionalNicPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceAdditionalNicProperties)(nil)).Elem()
+func (o VirtualApplianceSkuPropertiesResponsePtrOutput) ToVirtualApplianceSkuPropertiesResponsePtrOutputWithContext(ctx context.Context) VirtualApplianceSkuPropertiesResponsePtrOutput {
+ return o
}
-func (i VirtualApplianceAdditionalNicPropertiesArgs) ToVirtualApplianceAdditionalNicPropertiesOutput() VirtualApplianceAdditionalNicPropertiesOutput {
- return i.ToVirtualApplianceAdditionalNicPropertiesOutputWithContext(context.Background())
+func (o VirtualApplianceSkuPropertiesResponsePtrOutput) Elem() VirtualApplianceSkuPropertiesResponseOutput {
+ return o.ApplyT(func(v *VirtualApplianceSkuPropertiesResponse) VirtualApplianceSkuPropertiesResponse {
+ if v != nil {
+ return *v
+ }
+ var ret VirtualApplianceSkuPropertiesResponse
+ return ret
+ }).(VirtualApplianceSkuPropertiesResponseOutput)
}
-func (i VirtualApplianceAdditionalNicPropertiesArgs) ToVirtualApplianceAdditionalNicPropertiesOutputWithContext(ctx context.Context) VirtualApplianceAdditionalNicPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceAdditionalNicPropertiesOutput)
+// Virtual Appliance Scale Unit.
+func (o VirtualApplianceSkuPropertiesResponsePtrOutput) BundledScaleUnit() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualApplianceSkuPropertiesResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.BundledScaleUnit
+ }).(pulumi.StringPtrOutput)
}
-// VirtualApplianceAdditionalNicPropertiesArrayInput is an input type that accepts VirtualApplianceAdditionalNicPropertiesArray and VirtualApplianceAdditionalNicPropertiesArrayOutput values.
-// You can construct a concrete instance of `VirtualApplianceAdditionalNicPropertiesArrayInput` via:
+// Virtual Appliance Version.
+func (o VirtualApplianceSkuPropertiesResponsePtrOutput) MarketPlaceVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualApplianceSkuPropertiesResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.MarketPlaceVersion
+ }).(pulumi.StringPtrOutput)
+}
+
+// Virtual Appliance Vendor.
+func (o VirtualApplianceSkuPropertiesResponsePtrOutput) Vendor() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualApplianceSkuPropertiesResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Vendor
+ }).(pulumi.StringPtrOutput)
+}
+
+// Virtual Hub identifier.
+type VirtualHubId struct {
+ // The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
+ Id *string `pulumi:"id"`
+}
+
+// VirtualHubIdInput is an input type that accepts VirtualHubIdArgs and VirtualHubIdOutput values.
+// You can construct a concrete instance of `VirtualHubIdInput` via:
//
-// VirtualApplianceAdditionalNicPropertiesArray{ VirtualApplianceAdditionalNicPropertiesArgs{...} }
-type VirtualApplianceAdditionalNicPropertiesArrayInput interface {
+// VirtualHubIdArgs{...}
+type VirtualHubIdInput interface {
pulumi.Input
- ToVirtualApplianceAdditionalNicPropertiesArrayOutput() VirtualApplianceAdditionalNicPropertiesArrayOutput
- ToVirtualApplianceAdditionalNicPropertiesArrayOutputWithContext(context.Context) VirtualApplianceAdditionalNicPropertiesArrayOutput
+ ToVirtualHubIdOutput() VirtualHubIdOutput
+ ToVirtualHubIdOutputWithContext(context.Context) VirtualHubIdOutput
}
-type VirtualApplianceAdditionalNicPropertiesArray []VirtualApplianceAdditionalNicPropertiesInput
+// Virtual Hub identifier.
+type VirtualHubIdArgs struct {
+ // The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+}
-func (VirtualApplianceAdditionalNicPropertiesArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualApplianceAdditionalNicProperties)(nil)).Elem()
+func (VirtualHubIdArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualHubId)(nil)).Elem()
}
-func (i VirtualApplianceAdditionalNicPropertiesArray) ToVirtualApplianceAdditionalNicPropertiesArrayOutput() VirtualApplianceAdditionalNicPropertiesArrayOutput {
- return i.ToVirtualApplianceAdditionalNicPropertiesArrayOutputWithContext(context.Background())
+func (i VirtualHubIdArgs) ToVirtualHubIdOutput() VirtualHubIdOutput {
+ return i.ToVirtualHubIdOutputWithContext(context.Background())
}
-func (i VirtualApplianceAdditionalNicPropertiesArray) ToVirtualApplianceAdditionalNicPropertiesArrayOutputWithContext(ctx context.Context) VirtualApplianceAdditionalNicPropertiesArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceAdditionalNicPropertiesArrayOutput)
+func (i VirtualHubIdArgs) ToVirtualHubIdOutputWithContext(ctx context.Context) VirtualHubIdOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualHubIdOutput)
}
-// Network Virtual Appliance Additional NIC properties.
-type VirtualApplianceAdditionalNicPropertiesOutput struct{ *pulumi.OutputState }
+// Virtual Hub identifier.
+type VirtualHubIdOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceAdditionalNicPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceAdditionalNicProperties)(nil)).Elem()
+func (VirtualHubIdOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualHubId)(nil)).Elem()
}
-func (o VirtualApplianceAdditionalNicPropertiesOutput) ToVirtualApplianceAdditionalNicPropertiesOutput() VirtualApplianceAdditionalNicPropertiesOutput {
+func (o VirtualHubIdOutput) ToVirtualHubIdOutput() VirtualHubIdOutput {
return o
}
-func (o VirtualApplianceAdditionalNicPropertiesOutput) ToVirtualApplianceAdditionalNicPropertiesOutputWithContext(ctx context.Context) VirtualApplianceAdditionalNicPropertiesOutput {
+func (o VirtualHubIdOutput) ToVirtualHubIdOutputWithContext(ctx context.Context) VirtualHubIdOutput {
return o
}
-// Flag (true or false) for Intent for Public Ip on additional nic
-func (o VirtualApplianceAdditionalNicPropertiesOutput) HasPublicIp() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualApplianceAdditionalNicProperties) *bool { return v.HasPublicIp }).(pulumi.BoolPtrOutput)
+// The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
+func (o VirtualHubIdOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualHubId) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Name of additional nic
-func (o VirtualApplianceAdditionalNicPropertiesOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualApplianceAdditionalNicProperties) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Virtual Hub identifier.
+type VirtualHubIdResponse struct {
+ // The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
+ Id *string `pulumi:"id"`
}
-type VirtualApplianceAdditionalNicPropertiesArrayOutput struct{ *pulumi.OutputState }
+// Virtual Hub identifier.
+type VirtualHubIdResponseOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceAdditionalNicPropertiesArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualApplianceAdditionalNicProperties)(nil)).Elem()
+func (VirtualHubIdResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualHubIdResponse)(nil)).Elem()
}
-func (o VirtualApplianceAdditionalNicPropertiesArrayOutput) ToVirtualApplianceAdditionalNicPropertiesArrayOutput() VirtualApplianceAdditionalNicPropertiesArrayOutput {
+func (o VirtualHubIdResponseOutput) ToVirtualHubIdResponseOutput() VirtualHubIdResponseOutput {
return o
}
-func (o VirtualApplianceAdditionalNicPropertiesArrayOutput) ToVirtualApplianceAdditionalNicPropertiesArrayOutputWithContext(ctx context.Context) VirtualApplianceAdditionalNicPropertiesArrayOutput {
+func (o VirtualHubIdResponseOutput) ToVirtualHubIdResponseOutputWithContext(ctx context.Context) VirtualHubIdResponseOutput {
return o
}
-func (o VirtualApplianceAdditionalNicPropertiesArrayOutput) Index(i pulumi.IntInput) VirtualApplianceAdditionalNicPropertiesOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualApplianceAdditionalNicProperties {
- return vs[0].([]VirtualApplianceAdditionalNicProperties)[vs[1].(int)]
- }).(VirtualApplianceAdditionalNicPropertiesOutput)
+// The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
+func (o VirtualHubIdResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualHubIdResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Network Virtual Appliance Additional NIC properties.
-type VirtualApplianceAdditionalNicPropertiesResponse struct {
- // Flag (true or false) for Intent for Public Ip on additional nic
- HasPublicIp *bool `pulumi:"hasPublicIp"`
- // Name of additional nic
- Name *string `pulumi:"name"`
+// VirtualHub route.
+type VirtualHubRoute struct {
+ // List of all addressPrefixes.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ // NextHop ip address.
+ NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
}
-// Network Virtual Appliance Additional NIC properties.
-type VirtualApplianceAdditionalNicPropertiesResponseOutput struct{ *pulumi.OutputState }
+// VirtualHubRouteInput is an input type that accepts VirtualHubRouteArgs and VirtualHubRouteOutput values.
+// You can construct a concrete instance of `VirtualHubRouteInput` via:
+//
+// VirtualHubRouteArgs{...}
+type VirtualHubRouteInput interface {
+ pulumi.Input
-func (VirtualApplianceAdditionalNicPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceAdditionalNicPropertiesResponse)(nil)).Elem()
+ ToVirtualHubRouteOutput() VirtualHubRouteOutput
+ ToVirtualHubRouteOutputWithContext(context.Context) VirtualHubRouteOutput
}
-func (o VirtualApplianceAdditionalNicPropertiesResponseOutput) ToVirtualApplianceAdditionalNicPropertiesResponseOutput() VirtualApplianceAdditionalNicPropertiesResponseOutput {
- return o
+// VirtualHub route.
+type VirtualHubRouteArgs struct {
+ // List of all addressPrefixes.
+ AddressPrefixes pulumi.StringArrayInput `pulumi:"addressPrefixes"`
+ // NextHop ip address.
+ NextHopIpAddress pulumi.StringPtrInput `pulumi:"nextHopIpAddress"`
}
-func (o VirtualApplianceAdditionalNicPropertiesResponseOutput) ToVirtualApplianceAdditionalNicPropertiesResponseOutputWithContext(ctx context.Context) VirtualApplianceAdditionalNicPropertiesResponseOutput {
- return o
+func (VirtualHubRouteArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualHubRoute)(nil)).Elem()
}
-// Flag (true or false) for Intent for Public Ip on additional nic
-func (o VirtualApplianceAdditionalNicPropertiesResponseOutput) HasPublicIp() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualApplianceAdditionalNicPropertiesResponse) *bool { return v.HasPublicIp }).(pulumi.BoolPtrOutput)
+func (i VirtualHubRouteArgs) ToVirtualHubRouteOutput() VirtualHubRouteOutput {
+ return i.ToVirtualHubRouteOutputWithContext(context.Background())
}
-// Name of additional nic
-func (o VirtualApplianceAdditionalNicPropertiesResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualApplianceAdditionalNicPropertiesResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (i VirtualHubRouteArgs) ToVirtualHubRouteOutputWithContext(ctx context.Context) VirtualHubRouteOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteOutput)
}
-type VirtualApplianceAdditionalNicPropertiesResponseArrayOutput struct{ *pulumi.OutputState }
+// VirtualHubRouteArrayInput is an input type that accepts VirtualHubRouteArray and VirtualHubRouteArrayOutput values.
+// You can construct a concrete instance of `VirtualHubRouteArrayInput` via:
+//
+// VirtualHubRouteArray{ VirtualHubRouteArgs{...} }
+type VirtualHubRouteArrayInput interface {
+ pulumi.Input
-func (VirtualApplianceAdditionalNicPropertiesResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualApplianceAdditionalNicPropertiesResponse)(nil)).Elem()
+ ToVirtualHubRouteArrayOutput() VirtualHubRouteArrayOutput
+ ToVirtualHubRouteArrayOutputWithContext(context.Context) VirtualHubRouteArrayOutput
}
-func (o VirtualApplianceAdditionalNicPropertiesResponseArrayOutput) ToVirtualApplianceAdditionalNicPropertiesResponseArrayOutput() VirtualApplianceAdditionalNicPropertiesResponseArrayOutput {
- return o
-}
+type VirtualHubRouteArray []VirtualHubRouteInput
-func (o VirtualApplianceAdditionalNicPropertiesResponseArrayOutput) ToVirtualApplianceAdditionalNicPropertiesResponseArrayOutputWithContext(ctx context.Context) VirtualApplianceAdditionalNicPropertiesResponseArrayOutput {
- return o
+func (VirtualHubRouteArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualHubRoute)(nil)).Elem()
}
-func (o VirtualApplianceAdditionalNicPropertiesResponseArrayOutput) Index(i pulumi.IntInput) VirtualApplianceAdditionalNicPropertiesResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualApplianceAdditionalNicPropertiesResponse {
- return vs[0].([]VirtualApplianceAdditionalNicPropertiesResponse)[vs[1].(int)]
- }).(VirtualApplianceAdditionalNicPropertiesResponseOutput)
+func (i VirtualHubRouteArray) ToVirtualHubRouteArrayOutput() VirtualHubRouteArrayOutput {
+ return i.ToVirtualHubRouteArrayOutputWithContext(context.Background())
}
-// Represents a single IP configuration.
-type VirtualApplianceIPConfiguration struct {
- // Name of the IP configuration.
- Name *string `pulumi:"name"`
- // Represents a single IP configuration properties.
- Properties *VirtualApplianceIPConfigurationProperties `pulumi:"properties"`
+func (i VirtualHubRouteArray) ToVirtualHubRouteArrayOutputWithContext(ctx context.Context) VirtualHubRouteArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteArrayOutput)
}
-// VirtualApplianceIPConfigurationInput is an input type that accepts VirtualApplianceIPConfigurationArgs and VirtualApplianceIPConfigurationOutput values.
-// You can construct a concrete instance of `VirtualApplianceIPConfigurationInput` via:
-//
-// VirtualApplianceIPConfigurationArgs{...}
-type VirtualApplianceIPConfigurationInput interface {
- pulumi.Input
+// VirtualHub route.
+type VirtualHubRouteOutput struct{ *pulumi.OutputState }
- ToVirtualApplianceIPConfigurationOutput() VirtualApplianceIPConfigurationOutput
- ToVirtualApplianceIPConfigurationOutputWithContext(context.Context) VirtualApplianceIPConfigurationOutput
+func (VirtualHubRouteOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualHubRoute)(nil)).Elem()
}
-// Represents a single IP configuration.
-type VirtualApplianceIPConfigurationArgs struct {
- // Name of the IP configuration.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Represents a single IP configuration properties.
- Properties VirtualApplianceIPConfigurationPropertiesPtrInput `pulumi:"properties"`
+func (o VirtualHubRouteOutput) ToVirtualHubRouteOutput() VirtualHubRouteOutput {
+ return o
}
-func (VirtualApplianceIPConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceIPConfiguration)(nil)).Elem()
+func (o VirtualHubRouteOutput) ToVirtualHubRouteOutputWithContext(ctx context.Context) VirtualHubRouteOutput {
+ return o
}
-func (i VirtualApplianceIPConfigurationArgs) ToVirtualApplianceIPConfigurationOutput() VirtualApplianceIPConfigurationOutput {
- return i.ToVirtualApplianceIPConfigurationOutputWithContext(context.Background())
+// List of all addressPrefixes.
+func (o VirtualHubRouteOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v VirtualHubRoute) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
-func (i VirtualApplianceIPConfigurationArgs) ToVirtualApplianceIPConfigurationOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceIPConfigurationOutput)
+// NextHop ip address.
+func (o VirtualHubRouteOutput) NextHopIpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualHubRoute) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
}
-// VirtualApplianceIPConfigurationArrayInput is an input type that accepts VirtualApplianceIPConfigurationArray and VirtualApplianceIPConfigurationArrayOutput values.
-// You can construct a concrete instance of `VirtualApplianceIPConfigurationArrayInput` via:
-//
-// VirtualApplianceIPConfigurationArray{ VirtualApplianceIPConfigurationArgs{...} }
-type VirtualApplianceIPConfigurationArrayInput interface {
- pulumi.Input
+type VirtualHubRouteArrayOutput struct{ *pulumi.OutputState }
- ToVirtualApplianceIPConfigurationArrayOutput() VirtualApplianceIPConfigurationArrayOutput
- ToVirtualApplianceIPConfigurationArrayOutputWithContext(context.Context) VirtualApplianceIPConfigurationArrayOutput
+func (VirtualHubRouteArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualHubRoute)(nil)).Elem()
}
-type VirtualApplianceIPConfigurationArray []VirtualApplianceIPConfigurationInput
+func (o VirtualHubRouteArrayOutput) ToVirtualHubRouteArrayOutput() VirtualHubRouteArrayOutput {
+ return o
+}
-func (VirtualApplianceIPConfigurationArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualApplianceIPConfiguration)(nil)).Elem()
+func (o VirtualHubRouteArrayOutput) ToVirtualHubRouteArrayOutputWithContext(ctx context.Context) VirtualHubRouteArrayOutput {
+ return o
}
-func (i VirtualApplianceIPConfigurationArray) ToVirtualApplianceIPConfigurationArrayOutput() VirtualApplianceIPConfigurationArrayOutput {
- return i.ToVirtualApplianceIPConfigurationArrayOutputWithContext(context.Background())
+func (o VirtualHubRouteArrayOutput) Index(i pulumi.IntInput) VirtualHubRouteOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualHubRoute {
+ return vs[0].([]VirtualHubRoute)[vs[1].(int)]
+ }).(VirtualHubRouteOutput)
}
-func (i VirtualApplianceIPConfigurationArray) ToVirtualApplianceIPConfigurationArrayOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceIPConfigurationArrayOutput)
+// VirtualHub route.
+type VirtualHubRouteResponse struct {
+ // List of all addressPrefixes.
+ AddressPrefixes []string `pulumi:"addressPrefixes"`
+ // NextHop ip address.
+ NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
}
-// Represents a single IP configuration.
-type VirtualApplianceIPConfigurationOutput struct{ *pulumi.OutputState }
+// VirtualHub route.
+type VirtualHubRouteResponseOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceIPConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceIPConfiguration)(nil)).Elem()
+func (VirtualHubRouteResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualHubRouteResponse)(nil)).Elem()
}
-func (o VirtualApplianceIPConfigurationOutput) ToVirtualApplianceIPConfigurationOutput() VirtualApplianceIPConfigurationOutput {
+func (o VirtualHubRouteResponseOutput) ToVirtualHubRouteResponseOutput() VirtualHubRouteResponseOutput {
return o
}
-func (o VirtualApplianceIPConfigurationOutput) ToVirtualApplianceIPConfigurationOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationOutput {
+func (o VirtualHubRouteResponseOutput) ToVirtualHubRouteResponseOutputWithContext(ctx context.Context) VirtualHubRouteResponseOutput {
return o
}
-// Name of the IP configuration.
-func (o VirtualApplianceIPConfigurationOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualApplianceIPConfiguration) *string { return v.Name }).(pulumi.StringPtrOutput)
+// List of all addressPrefixes.
+func (o VirtualHubRouteResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v VirtualHubRouteResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
}
-// Represents a single IP configuration properties.
-func (o VirtualApplianceIPConfigurationOutput) Properties() VirtualApplianceIPConfigurationPropertiesPtrOutput {
- return o.ApplyT(func(v VirtualApplianceIPConfiguration) *VirtualApplianceIPConfigurationProperties {
- return v.Properties
- }).(VirtualApplianceIPConfigurationPropertiesPtrOutput)
+// NextHop ip address.
+func (o VirtualHubRouteResponseOutput) NextHopIpAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualHubRouteResponse) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
}
-type VirtualApplianceIPConfigurationArrayOutput struct{ *pulumi.OutputState }
+type VirtualHubRouteResponseArrayOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceIPConfigurationArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualApplianceIPConfiguration)(nil)).Elem()
+func (VirtualHubRouteResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualHubRouteResponse)(nil)).Elem()
}
-func (o VirtualApplianceIPConfigurationArrayOutput) ToVirtualApplianceIPConfigurationArrayOutput() VirtualApplianceIPConfigurationArrayOutput {
+func (o VirtualHubRouteResponseArrayOutput) ToVirtualHubRouteResponseArrayOutput() VirtualHubRouteResponseArrayOutput {
return o
}
-func (o VirtualApplianceIPConfigurationArrayOutput) ToVirtualApplianceIPConfigurationArrayOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationArrayOutput {
+func (o VirtualHubRouteResponseArrayOutput) ToVirtualHubRouteResponseArrayOutputWithContext(ctx context.Context) VirtualHubRouteResponseArrayOutput {
return o
}
-func (o VirtualApplianceIPConfigurationArrayOutput) Index(i pulumi.IntInput) VirtualApplianceIPConfigurationOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualApplianceIPConfiguration {
- return vs[0].([]VirtualApplianceIPConfiguration)[vs[1].(int)]
- }).(VirtualApplianceIPConfigurationOutput)
+func (o VirtualHubRouteResponseArrayOutput) Index(i pulumi.IntInput) VirtualHubRouteResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualHubRouteResponse {
+ return vs[0].([]VirtualHubRouteResponse)[vs[1].(int)]
+ }).(VirtualHubRouteResponseOutput)
}
-// Represents a single IP configuration properties.
-type VirtualApplianceIPConfigurationProperties struct {
- // Whether or not this is primary IP configuration of the NIC.
- Primary *bool `pulumi:"primary"`
+// VirtualHub route table.
+type VirtualHubRouteTable struct {
+ // List of all routes.
+ Routes []VirtualHubRoute `pulumi:"routes"`
}
-// VirtualApplianceIPConfigurationPropertiesInput is an input type that accepts VirtualApplianceIPConfigurationPropertiesArgs and VirtualApplianceIPConfigurationPropertiesOutput values.
-// You can construct a concrete instance of `VirtualApplianceIPConfigurationPropertiesInput` via:
+// VirtualHubRouteTableInput is an input type that accepts VirtualHubRouteTableArgs and VirtualHubRouteTableOutput values.
+// You can construct a concrete instance of `VirtualHubRouteTableInput` via:
//
-// VirtualApplianceIPConfigurationPropertiesArgs{...}
-type VirtualApplianceIPConfigurationPropertiesInput interface {
+// VirtualHubRouteTableArgs{...}
+type VirtualHubRouteTableInput interface {
pulumi.Input
- ToVirtualApplianceIPConfigurationPropertiesOutput() VirtualApplianceIPConfigurationPropertiesOutput
- ToVirtualApplianceIPConfigurationPropertiesOutputWithContext(context.Context) VirtualApplianceIPConfigurationPropertiesOutput
+ ToVirtualHubRouteTableOutput() VirtualHubRouteTableOutput
+ ToVirtualHubRouteTableOutputWithContext(context.Context) VirtualHubRouteTableOutput
}
-// Represents a single IP configuration properties.
-type VirtualApplianceIPConfigurationPropertiesArgs struct {
- // Whether or not this is primary IP configuration of the NIC.
- Primary pulumi.BoolPtrInput `pulumi:"primary"`
+// VirtualHub route table.
+type VirtualHubRouteTableArgs struct {
+ // List of all routes.
+ Routes VirtualHubRouteArrayInput `pulumi:"routes"`
}
-func (VirtualApplianceIPConfigurationPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceIPConfigurationProperties)(nil)).Elem()
+func (VirtualHubRouteTableArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualHubRouteTable)(nil)).Elem()
}
-func (i VirtualApplianceIPConfigurationPropertiesArgs) ToVirtualApplianceIPConfigurationPropertiesOutput() VirtualApplianceIPConfigurationPropertiesOutput {
- return i.ToVirtualApplianceIPConfigurationPropertiesOutputWithContext(context.Background())
+func (i VirtualHubRouteTableArgs) ToVirtualHubRouteTableOutput() VirtualHubRouteTableOutput {
+ return i.ToVirtualHubRouteTableOutputWithContext(context.Background())
}
-func (i VirtualApplianceIPConfigurationPropertiesArgs) ToVirtualApplianceIPConfigurationPropertiesOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceIPConfigurationPropertiesOutput)
+func (i VirtualHubRouteTableArgs) ToVirtualHubRouteTableOutputWithContext(ctx context.Context) VirtualHubRouteTableOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteTableOutput)
}
-func (i VirtualApplianceIPConfigurationPropertiesArgs) ToVirtualApplianceIPConfigurationPropertiesPtrOutput() VirtualApplianceIPConfigurationPropertiesPtrOutput {
- return i.ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(context.Background())
+func (i VirtualHubRouteTableArgs) ToVirtualHubRouteTablePtrOutput() VirtualHubRouteTablePtrOutput {
+ return i.ToVirtualHubRouteTablePtrOutputWithContext(context.Background())
}
-func (i VirtualApplianceIPConfigurationPropertiesArgs) ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceIPConfigurationPropertiesOutput).ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(ctx)
+func (i VirtualHubRouteTableArgs) ToVirtualHubRouteTablePtrOutputWithContext(ctx context.Context) VirtualHubRouteTablePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteTableOutput).ToVirtualHubRouteTablePtrOutputWithContext(ctx)
}
-// VirtualApplianceIPConfigurationPropertiesPtrInput is an input type that accepts VirtualApplianceIPConfigurationPropertiesArgs, VirtualApplianceIPConfigurationPropertiesPtr and VirtualApplianceIPConfigurationPropertiesPtrOutput values.
-// You can construct a concrete instance of `VirtualApplianceIPConfigurationPropertiesPtrInput` via:
+// VirtualHubRouteTablePtrInput is an input type that accepts VirtualHubRouteTableArgs, VirtualHubRouteTablePtr and VirtualHubRouteTablePtrOutput values.
+// You can construct a concrete instance of `VirtualHubRouteTablePtrInput` via:
//
-// VirtualApplianceIPConfigurationPropertiesArgs{...}
+// VirtualHubRouteTableArgs{...}
//
// or:
//
// nil
-type VirtualApplianceIPConfigurationPropertiesPtrInput interface {
+type VirtualHubRouteTablePtrInput interface {
pulumi.Input
- ToVirtualApplianceIPConfigurationPropertiesPtrOutput() VirtualApplianceIPConfigurationPropertiesPtrOutput
- ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(context.Context) VirtualApplianceIPConfigurationPropertiesPtrOutput
+ ToVirtualHubRouteTablePtrOutput() VirtualHubRouteTablePtrOutput
+ ToVirtualHubRouteTablePtrOutputWithContext(context.Context) VirtualHubRouteTablePtrOutput
}
-type virtualApplianceIPConfigurationPropertiesPtrType VirtualApplianceIPConfigurationPropertiesArgs
+type virtualHubRouteTablePtrType VirtualHubRouteTableArgs
-func VirtualApplianceIPConfigurationPropertiesPtr(v *VirtualApplianceIPConfigurationPropertiesArgs) VirtualApplianceIPConfigurationPropertiesPtrInput {
- return (*virtualApplianceIPConfigurationPropertiesPtrType)(v)
+func VirtualHubRouteTablePtr(v *VirtualHubRouteTableArgs) VirtualHubRouteTablePtrInput {
+ return (*virtualHubRouteTablePtrType)(v)
}
-func (*virtualApplianceIPConfigurationPropertiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualApplianceIPConfigurationProperties)(nil)).Elem()
+func (*virtualHubRouteTablePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualHubRouteTable)(nil)).Elem()
}
-func (i *virtualApplianceIPConfigurationPropertiesPtrType) ToVirtualApplianceIPConfigurationPropertiesPtrOutput() VirtualApplianceIPConfigurationPropertiesPtrOutput {
- return i.ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(context.Background())
+func (i *virtualHubRouteTablePtrType) ToVirtualHubRouteTablePtrOutput() VirtualHubRouteTablePtrOutput {
+ return i.ToVirtualHubRouteTablePtrOutputWithContext(context.Background())
}
-func (i *virtualApplianceIPConfigurationPropertiesPtrType) ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceIPConfigurationPropertiesPtrOutput)
+func (i *virtualHubRouteTablePtrType) ToVirtualHubRouteTablePtrOutputWithContext(ctx context.Context) VirtualHubRouteTablePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteTablePtrOutput)
}
-// Represents a single IP configuration properties.
-type VirtualApplianceIPConfigurationPropertiesOutput struct{ *pulumi.OutputState }
+// VirtualHub route table.
+type VirtualHubRouteTableOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceIPConfigurationPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceIPConfigurationProperties)(nil)).Elem()
+func (VirtualHubRouteTableOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualHubRouteTable)(nil)).Elem()
}
-func (o VirtualApplianceIPConfigurationPropertiesOutput) ToVirtualApplianceIPConfigurationPropertiesOutput() VirtualApplianceIPConfigurationPropertiesOutput {
+func (o VirtualHubRouteTableOutput) ToVirtualHubRouteTableOutput() VirtualHubRouteTableOutput {
return o
}
-func (o VirtualApplianceIPConfigurationPropertiesOutput) ToVirtualApplianceIPConfigurationPropertiesOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationPropertiesOutput {
+func (o VirtualHubRouteTableOutput) ToVirtualHubRouteTableOutputWithContext(ctx context.Context) VirtualHubRouteTableOutput {
return o
}
-func (o VirtualApplianceIPConfigurationPropertiesOutput) ToVirtualApplianceIPConfigurationPropertiesPtrOutput() VirtualApplianceIPConfigurationPropertiesPtrOutput {
- return o.ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(context.Background())
+func (o VirtualHubRouteTableOutput) ToVirtualHubRouteTablePtrOutput() VirtualHubRouteTablePtrOutput {
+ return o.ToVirtualHubRouteTablePtrOutputWithContext(context.Background())
}
-func (o VirtualApplianceIPConfigurationPropertiesOutput) ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationPropertiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualApplianceIPConfigurationProperties) *VirtualApplianceIPConfigurationProperties {
+func (o VirtualHubRouteTableOutput) ToVirtualHubRouteTablePtrOutputWithContext(ctx context.Context) VirtualHubRouteTablePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualHubRouteTable) *VirtualHubRouteTable {
return &v
- }).(VirtualApplianceIPConfigurationPropertiesPtrOutput)
+ }).(VirtualHubRouteTablePtrOutput)
}
-// Whether or not this is primary IP configuration of the NIC.
-func (o VirtualApplianceIPConfigurationPropertiesOutput) Primary() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualApplianceIPConfigurationProperties) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
+// List of all routes.
+func (o VirtualHubRouteTableOutput) Routes() VirtualHubRouteArrayOutput {
+ return o.ApplyT(func(v VirtualHubRouteTable) []VirtualHubRoute { return v.Routes }).(VirtualHubRouteArrayOutput)
}
-type VirtualApplianceIPConfigurationPropertiesPtrOutput struct{ *pulumi.OutputState }
+type VirtualHubRouteTablePtrOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceIPConfigurationPropertiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualApplianceIPConfigurationProperties)(nil)).Elem()
+func (VirtualHubRouteTablePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualHubRouteTable)(nil)).Elem()
}
-func (o VirtualApplianceIPConfigurationPropertiesPtrOutput) ToVirtualApplianceIPConfigurationPropertiesPtrOutput() VirtualApplianceIPConfigurationPropertiesPtrOutput {
+func (o VirtualHubRouteTablePtrOutput) ToVirtualHubRouteTablePtrOutput() VirtualHubRouteTablePtrOutput {
return o
}
-func (o VirtualApplianceIPConfigurationPropertiesPtrOutput) ToVirtualApplianceIPConfigurationPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationPropertiesPtrOutput {
+func (o VirtualHubRouteTablePtrOutput) ToVirtualHubRouteTablePtrOutputWithContext(ctx context.Context) VirtualHubRouteTablePtrOutput {
return o
}
-func (o VirtualApplianceIPConfigurationPropertiesPtrOutput) Elem() VirtualApplianceIPConfigurationPropertiesOutput {
- return o.ApplyT(func(v *VirtualApplianceIPConfigurationProperties) VirtualApplianceIPConfigurationProperties {
+func (o VirtualHubRouteTablePtrOutput) Elem() VirtualHubRouteTableOutput {
+ return o.ApplyT(func(v *VirtualHubRouteTable) VirtualHubRouteTable {
if v != nil {
return *v
}
- var ret VirtualApplianceIPConfigurationProperties
+ var ret VirtualHubRouteTable
return ret
- }).(VirtualApplianceIPConfigurationPropertiesOutput)
+ }).(VirtualHubRouteTableOutput)
}
-// Whether or not this is primary IP configuration of the NIC.
-func (o VirtualApplianceIPConfigurationPropertiesPtrOutput) Primary() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualApplianceIPConfigurationProperties) *bool {
+// List of all routes.
+func (o VirtualHubRouteTablePtrOutput) Routes() VirtualHubRouteArrayOutput {
+ return o.ApplyT(func(v *VirtualHubRouteTable) []VirtualHubRoute {
if v == nil {
return nil
}
- return v.Primary
- }).(pulumi.BoolPtrOutput)
+ return v.Routes
+ }).(VirtualHubRouteArrayOutput)
}
-// Represents a single IP configuration properties.
-type VirtualApplianceIPConfigurationPropertiesResponse struct {
- // Whether or not this is primary IP configuration of the NIC.
- Primary *bool `pulumi:"primary"`
+// VirtualHub route table.
+type VirtualHubRouteTableResponse struct {
+ // List of all routes.
+ Routes []VirtualHubRouteResponse `pulumi:"routes"`
}
-// Represents a single IP configuration properties.
-type VirtualApplianceIPConfigurationPropertiesResponseOutput struct{ *pulumi.OutputState }
+// VirtualHub route table.
+type VirtualHubRouteTableResponseOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceIPConfigurationPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceIPConfigurationPropertiesResponse)(nil)).Elem()
+func (VirtualHubRouteTableResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualHubRouteTableResponse)(nil)).Elem()
}
-func (o VirtualApplianceIPConfigurationPropertiesResponseOutput) ToVirtualApplianceIPConfigurationPropertiesResponseOutput() VirtualApplianceIPConfigurationPropertiesResponseOutput {
+func (o VirtualHubRouteTableResponseOutput) ToVirtualHubRouteTableResponseOutput() VirtualHubRouteTableResponseOutput {
return o
}
-func (o VirtualApplianceIPConfigurationPropertiesResponseOutput) ToVirtualApplianceIPConfigurationPropertiesResponseOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationPropertiesResponseOutput {
+func (o VirtualHubRouteTableResponseOutput) ToVirtualHubRouteTableResponseOutputWithContext(ctx context.Context) VirtualHubRouteTableResponseOutput {
return o
}
-// Whether or not this is primary IP configuration of the NIC.
-func (o VirtualApplianceIPConfigurationPropertiesResponseOutput) Primary() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualApplianceIPConfigurationPropertiesResponse) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
+// List of all routes.
+func (o VirtualHubRouteTableResponseOutput) Routes() VirtualHubRouteResponseArrayOutput {
+ return o.ApplyT(func(v VirtualHubRouteTableResponse) []VirtualHubRouteResponse { return v.Routes }).(VirtualHubRouteResponseArrayOutput)
}
-type VirtualApplianceIPConfigurationPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+type VirtualHubRouteTableResponsePtrOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceIPConfigurationPropertiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualApplianceIPConfigurationPropertiesResponse)(nil)).Elem()
+func (VirtualHubRouteTableResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualHubRouteTableResponse)(nil)).Elem()
}
-func (o VirtualApplianceIPConfigurationPropertiesResponsePtrOutput) ToVirtualApplianceIPConfigurationPropertiesResponsePtrOutput() VirtualApplianceIPConfigurationPropertiesResponsePtrOutput {
+func (o VirtualHubRouteTableResponsePtrOutput) ToVirtualHubRouteTableResponsePtrOutput() VirtualHubRouteTableResponsePtrOutput {
return o
}
-func (o VirtualApplianceIPConfigurationPropertiesResponsePtrOutput) ToVirtualApplianceIPConfigurationPropertiesResponsePtrOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationPropertiesResponsePtrOutput {
+func (o VirtualHubRouteTableResponsePtrOutput) ToVirtualHubRouteTableResponsePtrOutputWithContext(ctx context.Context) VirtualHubRouteTableResponsePtrOutput {
return o
}
-func (o VirtualApplianceIPConfigurationPropertiesResponsePtrOutput) Elem() VirtualApplianceIPConfigurationPropertiesResponseOutput {
- return o.ApplyT(func(v *VirtualApplianceIPConfigurationPropertiesResponse) VirtualApplianceIPConfigurationPropertiesResponse {
+func (o VirtualHubRouteTableResponsePtrOutput) Elem() VirtualHubRouteTableResponseOutput {
+ return o.ApplyT(func(v *VirtualHubRouteTableResponse) VirtualHubRouteTableResponse {
if v != nil {
return *v
}
- var ret VirtualApplianceIPConfigurationPropertiesResponse
+ var ret VirtualHubRouteTableResponse
return ret
- }).(VirtualApplianceIPConfigurationPropertiesResponseOutput)
+ }).(VirtualHubRouteTableResponseOutput)
}
-// Whether or not this is primary IP configuration of the NIC.
-func (o VirtualApplianceIPConfigurationPropertiesResponsePtrOutput) Primary() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualApplianceIPConfigurationPropertiesResponse) *bool {
+// List of all routes.
+func (o VirtualHubRouteTableResponsePtrOutput) Routes() VirtualHubRouteResponseArrayOutput {
+ return o.ApplyT(func(v *VirtualHubRouteTableResponse) []VirtualHubRouteResponse {
if v == nil {
return nil
}
- return v.Primary
- }).(pulumi.BoolPtrOutput)
+ return v.Routes
+ }).(VirtualHubRouteResponseArrayOutput)
}
-// Represents a single IP configuration.
-type VirtualApplianceIPConfigurationResponse struct {
- // Name of the IP configuration.
+// VirtualHubRouteTableV2 Resource.
+type VirtualHubRouteTableV2Type struct {
+ // List of all connections attached to this route table v2.
+ AttachedConnections []string `pulumi:"attachedConnections"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
Name *string `pulumi:"name"`
- // Represents a single IP configuration properties.
- Properties *VirtualApplianceIPConfigurationPropertiesResponse `pulumi:"properties"`
+ // List of all routes.
+ Routes []VirtualHubRouteV2 `pulumi:"routes"`
}
-// Represents a single IP configuration.
-type VirtualApplianceIPConfigurationResponseOutput struct{ *pulumi.OutputState }
+// VirtualHubRouteTableV2TypeInput is an input type that accepts VirtualHubRouteTableV2TypeArgs and VirtualHubRouteTableV2TypeOutput values.
+// You can construct a concrete instance of `VirtualHubRouteTableV2TypeInput` via:
+//
+// VirtualHubRouteTableV2TypeArgs{...}
+type VirtualHubRouteTableV2TypeInput interface {
+ pulumi.Input
-func (VirtualApplianceIPConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceIPConfigurationResponse)(nil)).Elem()
+ ToVirtualHubRouteTableV2TypeOutput() VirtualHubRouteTableV2TypeOutput
+ ToVirtualHubRouteTableV2TypeOutputWithContext(context.Context) VirtualHubRouteTableV2TypeOutput
+}
+
+// VirtualHubRouteTableV2 Resource.
+type VirtualHubRouteTableV2TypeArgs struct {
+ // List of all connections attached to this route table v2.
+ AttachedConnections pulumi.StringArrayInput `pulumi:"attachedConnections"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // List of all routes.
+ Routes VirtualHubRouteV2ArrayInput `pulumi:"routes"`
+}
+
+func (VirtualHubRouteTableV2TypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualHubRouteTableV2Type)(nil)).Elem()
+}
+
+func (i VirtualHubRouteTableV2TypeArgs) ToVirtualHubRouteTableV2TypeOutput() VirtualHubRouteTableV2TypeOutput {
+ return i.ToVirtualHubRouteTableV2TypeOutputWithContext(context.Background())
+}
+
+func (i VirtualHubRouteTableV2TypeArgs) ToVirtualHubRouteTableV2TypeOutputWithContext(ctx context.Context) VirtualHubRouteTableV2TypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteTableV2TypeOutput)
+}
+
+// VirtualHubRouteTableV2TypeArrayInput is an input type that accepts VirtualHubRouteTableV2TypeArray and VirtualHubRouteTableV2TypeArrayOutput values.
+// You can construct a concrete instance of `VirtualHubRouteTableV2TypeArrayInput` via:
+//
+// VirtualHubRouteTableV2TypeArray{ VirtualHubRouteTableV2TypeArgs{...} }
+type VirtualHubRouteTableV2TypeArrayInput interface {
+ pulumi.Input
+
+ ToVirtualHubRouteTableV2TypeArrayOutput() VirtualHubRouteTableV2TypeArrayOutput
+ ToVirtualHubRouteTableV2TypeArrayOutputWithContext(context.Context) VirtualHubRouteTableV2TypeArrayOutput
+}
+
+type VirtualHubRouteTableV2TypeArray []VirtualHubRouteTableV2TypeInput
+
+func (VirtualHubRouteTableV2TypeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualHubRouteTableV2Type)(nil)).Elem()
+}
+
+func (i VirtualHubRouteTableV2TypeArray) ToVirtualHubRouteTableV2TypeArrayOutput() VirtualHubRouteTableV2TypeArrayOutput {
+ return i.ToVirtualHubRouteTableV2TypeArrayOutputWithContext(context.Background())
+}
+
+func (i VirtualHubRouteTableV2TypeArray) ToVirtualHubRouteTableV2TypeArrayOutputWithContext(ctx context.Context) VirtualHubRouteTableV2TypeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteTableV2TypeArrayOutput)
+}
+
+// VirtualHubRouteTableV2 Resource.
+type VirtualHubRouteTableV2TypeOutput struct{ *pulumi.OutputState }
+
+func (VirtualHubRouteTableV2TypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualHubRouteTableV2Type)(nil)).Elem()
+}
+
+func (o VirtualHubRouteTableV2TypeOutput) ToVirtualHubRouteTableV2TypeOutput() VirtualHubRouteTableV2TypeOutput {
+ return o
+}
+
+func (o VirtualHubRouteTableV2TypeOutput) ToVirtualHubRouteTableV2TypeOutputWithContext(ctx context.Context) VirtualHubRouteTableV2TypeOutput {
+ return o
+}
+
+// List of all connections attached to this route table v2.
+func (o VirtualHubRouteTableV2TypeOutput) AttachedConnections() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v VirtualHubRouteTableV2Type) []string { return v.AttachedConnections }).(pulumi.StringArrayOutput)
+}
+
+// Resource ID.
+func (o VirtualHubRouteTableV2TypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualHubRouteTableV2Type) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
+
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o VirtualHubRouteTableV2TypeOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualHubRouteTableV2Type) *string { return v.Name }).(pulumi.StringPtrOutput)
+}
+
+// List of all routes.
+func (o VirtualHubRouteTableV2TypeOutput) Routes() VirtualHubRouteV2ArrayOutput {
+ return o.ApplyT(func(v VirtualHubRouteTableV2Type) []VirtualHubRouteV2 { return v.Routes }).(VirtualHubRouteV2ArrayOutput)
+}
+
+type VirtualHubRouteTableV2TypeArrayOutput struct{ *pulumi.OutputState }
+
+func (VirtualHubRouteTableV2TypeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualHubRouteTableV2Type)(nil)).Elem()
+}
+
+func (o VirtualHubRouteTableV2TypeArrayOutput) ToVirtualHubRouteTableV2TypeArrayOutput() VirtualHubRouteTableV2TypeArrayOutput {
+ return o
+}
+
+func (o VirtualHubRouteTableV2TypeArrayOutput) ToVirtualHubRouteTableV2TypeArrayOutputWithContext(ctx context.Context) VirtualHubRouteTableV2TypeArrayOutput {
+ return o
+}
+
+func (o VirtualHubRouteTableV2TypeArrayOutput) Index(i pulumi.IntInput) VirtualHubRouteTableV2TypeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualHubRouteTableV2Type {
+ return vs[0].([]VirtualHubRouteTableV2Type)[vs[1].(int)]
+ }).(VirtualHubRouteTableV2TypeOutput)
+}
+
+// VirtualHubRouteTableV2 Resource.
+type VirtualHubRouteTableV2Response struct {
+ // List of all connections attached to this route table v2.
+ AttachedConnections []string `pulumi:"attachedConnections"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the virtual hub route table v2 resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // List of all routes.
+ Routes []VirtualHubRouteV2Response `pulumi:"routes"`
+}
+
+// VirtualHubRouteTableV2 Resource.
+type VirtualHubRouteTableV2ResponseOutput struct{ *pulumi.OutputState }
+
+func (VirtualHubRouteTableV2ResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualHubRouteTableV2Response)(nil)).Elem()
+}
+
+func (o VirtualHubRouteTableV2ResponseOutput) ToVirtualHubRouteTableV2ResponseOutput() VirtualHubRouteTableV2ResponseOutput {
+ return o
+}
+
+func (o VirtualHubRouteTableV2ResponseOutput) ToVirtualHubRouteTableV2ResponseOutputWithContext(ctx context.Context) VirtualHubRouteTableV2ResponseOutput {
+ return o
+}
+
+// List of all connections attached to this route table v2.
+func (o VirtualHubRouteTableV2ResponseOutput) AttachedConnections() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v VirtualHubRouteTableV2Response) []string { return v.AttachedConnections }).(pulumi.StringArrayOutput)
+}
+
+// A unique read-only string that changes whenever the resource is updated.
+func (o VirtualHubRouteTableV2ResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualHubRouteTableV2Response) string { return v.Etag }).(pulumi.StringOutput)
}
-func (o VirtualApplianceIPConfigurationResponseOutput) ToVirtualApplianceIPConfigurationResponseOutput() VirtualApplianceIPConfigurationResponseOutput {
- return o
+// Resource ID.
+func (o VirtualHubRouteTableV2ResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualHubRouteTableV2Response) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o VirtualApplianceIPConfigurationResponseOutput) ToVirtualApplianceIPConfigurationResponseOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationResponseOutput {
- return o
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o VirtualHubRouteTableV2ResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualHubRouteTableV2Response) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Name of the IP configuration.
-func (o VirtualApplianceIPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualApplianceIPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The provisioning state of the virtual hub route table v2 resource.
+func (o VirtualHubRouteTableV2ResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualHubRouteTableV2Response) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Represents a single IP configuration properties.
-func (o VirtualApplianceIPConfigurationResponseOutput) Properties() VirtualApplianceIPConfigurationPropertiesResponsePtrOutput {
- return o.ApplyT(func(v VirtualApplianceIPConfigurationResponse) *VirtualApplianceIPConfigurationPropertiesResponse {
- return v.Properties
- }).(VirtualApplianceIPConfigurationPropertiesResponsePtrOutput)
+// List of all routes.
+func (o VirtualHubRouteTableV2ResponseOutput) Routes() VirtualHubRouteV2ResponseArrayOutput {
+ return o.ApplyT(func(v VirtualHubRouteTableV2Response) []VirtualHubRouteV2Response { return v.Routes }).(VirtualHubRouteV2ResponseArrayOutput)
}
-type VirtualApplianceIPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+type VirtualHubRouteTableV2ResponseArrayOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceIPConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualApplianceIPConfigurationResponse)(nil)).Elem()
+func (VirtualHubRouteTableV2ResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualHubRouteTableV2Response)(nil)).Elem()
}
-func (o VirtualApplianceIPConfigurationResponseArrayOutput) ToVirtualApplianceIPConfigurationResponseArrayOutput() VirtualApplianceIPConfigurationResponseArrayOutput {
+func (o VirtualHubRouteTableV2ResponseArrayOutput) ToVirtualHubRouteTableV2ResponseArrayOutput() VirtualHubRouteTableV2ResponseArrayOutput {
return o
}
-func (o VirtualApplianceIPConfigurationResponseArrayOutput) ToVirtualApplianceIPConfigurationResponseArrayOutputWithContext(ctx context.Context) VirtualApplianceIPConfigurationResponseArrayOutput {
+func (o VirtualHubRouteTableV2ResponseArrayOutput) ToVirtualHubRouteTableV2ResponseArrayOutputWithContext(ctx context.Context) VirtualHubRouteTableV2ResponseArrayOutput {
return o
}
-func (o VirtualApplianceIPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) VirtualApplianceIPConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualApplianceIPConfigurationResponse {
- return vs[0].([]VirtualApplianceIPConfigurationResponse)[vs[1].(int)]
- }).(VirtualApplianceIPConfigurationResponseOutput)
+func (o VirtualHubRouteTableV2ResponseArrayOutput) Index(i pulumi.IntInput) VirtualHubRouteTableV2ResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualHubRouteTableV2Response {
+ return vs[0].([]VirtualHubRouteTableV2Response)[vs[1].(int)]
+ }).(VirtualHubRouteTableV2ResponseOutput)
}
-// Represents a single NIC configuration.
-type VirtualApplianceNetworkInterfaceConfiguration struct {
- // NIC type. This should be either PublicNic or PrivateNic.
- NicType *string `pulumi:"nicType"`
- // Represents a single NIC configuration properties.
- Properties *VirtualApplianceNetworkInterfaceConfigurationProperties `pulumi:"properties"`
+// VirtualHubRouteTableV2 route.
+type VirtualHubRouteV2 struct {
+ // The type of destinations.
+ DestinationType *string `pulumi:"destinationType"`
+ // List of all destinations.
+ Destinations []string `pulumi:"destinations"`
+ // The type of next hops.
+ NextHopType *string `pulumi:"nextHopType"`
+ // NextHops ip address.
+ NextHops []string `pulumi:"nextHops"`
}
-// VirtualApplianceNetworkInterfaceConfigurationInput is an input type that accepts VirtualApplianceNetworkInterfaceConfigurationArgs and VirtualApplianceNetworkInterfaceConfigurationOutput values.
-// You can construct a concrete instance of `VirtualApplianceNetworkInterfaceConfigurationInput` via:
+// VirtualHubRouteV2Input is an input type that accepts VirtualHubRouteV2Args and VirtualHubRouteV2Output values.
+// You can construct a concrete instance of `VirtualHubRouteV2Input` via:
//
-// VirtualApplianceNetworkInterfaceConfigurationArgs{...}
-type VirtualApplianceNetworkInterfaceConfigurationInput interface {
+// VirtualHubRouteV2Args{...}
+type VirtualHubRouteV2Input interface {
pulumi.Input
- ToVirtualApplianceNetworkInterfaceConfigurationOutput() VirtualApplianceNetworkInterfaceConfigurationOutput
- ToVirtualApplianceNetworkInterfaceConfigurationOutputWithContext(context.Context) VirtualApplianceNetworkInterfaceConfigurationOutput
+ ToVirtualHubRouteV2Output() VirtualHubRouteV2Output
+ ToVirtualHubRouteV2OutputWithContext(context.Context) VirtualHubRouteV2Output
}
-// Represents a single NIC configuration.
-type VirtualApplianceNetworkInterfaceConfigurationArgs struct {
- // NIC type. This should be either PublicNic or PrivateNic.
- NicType pulumi.StringPtrInput `pulumi:"nicType"`
- // Represents a single NIC configuration properties.
- Properties VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrInput `pulumi:"properties"`
+// VirtualHubRouteTableV2 route.
+type VirtualHubRouteV2Args struct {
+ // The type of destinations.
+ DestinationType pulumi.StringPtrInput `pulumi:"destinationType"`
+ // List of all destinations.
+ Destinations pulumi.StringArrayInput `pulumi:"destinations"`
+ // The type of next hops.
+ NextHopType pulumi.StringPtrInput `pulumi:"nextHopType"`
+ // NextHops ip address.
+ NextHops pulumi.StringArrayInput `pulumi:"nextHops"`
}
-func (VirtualApplianceNetworkInterfaceConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceNetworkInterfaceConfiguration)(nil)).Elem()
+func (VirtualHubRouteV2Args) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualHubRouteV2)(nil)).Elem()
}
-func (i VirtualApplianceNetworkInterfaceConfigurationArgs) ToVirtualApplianceNetworkInterfaceConfigurationOutput() VirtualApplianceNetworkInterfaceConfigurationOutput {
- return i.ToVirtualApplianceNetworkInterfaceConfigurationOutputWithContext(context.Background())
+func (i VirtualHubRouteV2Args) ToVirtualHubRouteV2Output() VirtualHubRouteV2Output {
+ return i.ToVirtualHubRouteV2OutputWithContext(context.Background())
}
-func (i VirtualApplianceNetworkInterfaceConfigurationArgs) ToVirtualApplianceNetworkInterfaceConfigurationOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceNetworkInterfaceConfigurationOutput)
+func (i VirtualHubRouteV2Args) ToVirtualHubRouteV2OutputWithContext(ctx context.Context) VirtualHubRouteV2Output {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteV2Output)
}
-// VirtualApplianceNetworkInterfaceConfigurationArrayInput is an input type that accepts VirtualApplianceNetworkInterfaceConfigurationArray and VirtualApplianceNetworkInterfaceConfigurationArrayOutput values.
-// You can construct a concrete instance of `VirtualApplianceNetworkInterfaceConfigurationArrayInput` via:
+// VirtualHubRouteV2ArrayInput is an input type that accepts VirtualHubRouteV2Array and VirtualHubRouteV2ArrayOutput values.
+// You can construct a concrete instance of `VirtualHubRouteV2ArrayInput` via:
//
-// VirtualApplianceNetworkInterfaceConfigurationArray{ VirtualApplianceNetworkInterfaceConfigurationArgs{...} }
-type VirtualApplianceNetworkInterfaceConfigurationArrayInput interface {
+// VirtualHubRouteV2Array{ VirtualHubRouteV2Args{...} }
+type VirtualHubRouteV2ArrayInput interface {
pulumi.Input
- ToVirtualApplianceNetworkInterfaceConfigurationArrayOutput() VirtualApplianceNetworkInterfaceConfigurationArrayOutput
- ToVirtualApplianceNetworkInterfaceConfigurationArrayOutputWithContext(context.Context) VirtualApplianceNetworkInterfaceConfigurationArrayOutput
+ ToVirtualHubRouteV2ArrayOutput() VirtualHubRouteV2ArrayOutput
+ ToVirtualHubRouteV2ArrayOutputWithContext(context.Context) VirtualHubRouteV2ArrayOutput
}
-type VirtualApplianceNetworkInterfaceConfigurationArray []VirtualApplianceNetworkInterfaceConfigurationInput
+type VirtualHubRouteV2Array []VirtualHubRouteV2Input
-func (VirtualApplianceNetworkInterfaceConfigurationArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualApplianceNetworkInterfaceConfiguration)(nil)).Elem()
+func (VirtualHubRouteV2Array) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualHubRouteV2)(nil)).Elem()
}
-func (i VirtualApplianceNetworkInterfaceConfigurationArray) ToVirtualApplianceNetworkInterfaceConfigurationArrayOutput() VirtualApplianceNetworkInterfaceConfigurationArrayOutput {
- return i.ToVirtualApplianceNetworkInterfaceConfigurationArrayOutputWithContext(context.Background())
+func (i VirtualHubRouteV2Array) ToVirtualHubRouteV2ArrayOutput() VirtualHubRouteV2ArrayOutput {
+ return i.ToVirtualHubRouteV2ArrayOutputWithContext(context.Background())
}
-func (i VirtualApplianceNetworkInterfaceConfigurationArray) ToVirtualApplianceNetworkInterfaceConfigurationArrayOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceNetworkInterfaceConfigurationArrayOutput)
+func (i VirtualHubRouteV2Array) ToVirtualHubRouteV2ArrayOutputWithContext(ctx context.Context) VirtualHubRouteV2ArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteV2ArrayOutput)
}
-// Represents a single NIC configuration.
-type VirtualApplianceNetworkInterfaceConfigurationOutput struct{ *pulumi.OutputState }
+// VirtualHubRouteTableV2 route.
+type VirtualHubRouteV2Output struct{ *pulumi.OutputState }
-func (VirtualApplianceNetworkInterfaceConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceNetworkInterfaceConfiguration)(nil)).Elem()
+func (VirtualHubRouteV2Output) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualHubRouteV2)(nil)).Elem()
}
-func (o VirtualApplianceNetworkInterfaceConfigurationOutput) ToVirtualApplianceNetworkInterfaceConfigurationOutput() VirtualApplianceNetworkInterfaceConfigurationOutput {
+func (o VirtualHubRouteV2Output) ToVirtualHubRouteV2Output() VirtualHubRouteV2Output {
return o
}
-func (o VirtualApplianceNetworkInterfaceConfigurationOutput) ToVirtualApplianceNetworkInterfaceConfigurationOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationOutput {
+func (o VirtualHubRouteV2Output) ToVirtualHubRouteV2OutputWithContext(ctx context.Context) VirtualHubRouteV2Output {
return o
}
-// NIC type. This should be either PublicNic or PrivateNic.
-func (o VirtualApplianceNetworkInterfaceConfigurationOutput) NicType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualApplianceNetworkInterfaceConfiguration) *string { return v.NicType }).(pulumi.StringPtrOutput)
+// The type of destinations.
+func (o VirtualHubRouteV2Output) DestinationType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualHubRouteV2) *string { return v.DestinationType }).(pulumi.StringPtrOutput)
}
-// Represents a single NIC configuration properties.
-func (o VirtualApplianceNetworkInterfaceConfigurationOutput) Properties() VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
- return o.ApplyT(func(v VirtualApplianceNetworkInterfaceConfiguration) *VirtualApplianceNetworkInterfaceConfigurationProperties {
- return v.Properties
- }).(VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput)
+// List of all destinations.
+func (o VirtualHubRouteV2Output) Destinations() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v VirtualHubRouteV2) []string { return v.Destinations }).(pulumi.StringArrayOutput)
}
-type VirtualApplianceNetworkInterfaceConfigurationArrayOutput struct{ *pulumi.OutputState }
+// The type of next hops.
+func (o VirtualHubRouteV2Output) NextHopType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualHubRouteV2) *string { return v.NextHopType }).(pulumi.StringPtrOutput)
+}
-func (VirtualApplianceNetworkInterfaceConfigurationArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualApplianceNetworkInterfaceConfiguration)(nil)).Elem()
+// NextHops ip address.
+func (o VirtualHubRouteV2Output) NextHops() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v VirtualHubRouteV2) []string { return v.NextHops }).(pulumi.StringArrayOutput)
}
-func (o VirtualApplianceNetworkInterfaceConfigurationArrayOutput) ToVirtualApplianceNetworkInterfaceConfigurationArrayOutput() VirtualApplianceNetworkInterfaceConfigurationArrayOutput {
+type VirtualHubRouteV2ArrayOutput struct{ *pulumi.OutputState }
+
+func (VirtualHubRouteV2ArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualHubRouteV2)(nil)).Elem()
+}
+
+func (o VirtualHubRouteV2ArrayOutput) ToVirtualHubRouteV2ArrayOutput() VirtualHubRouteV2ArrayOutput {
return o
}
-func (o VirtualApplianceNetworkInterfaceConfigurationArrayOutput) ToVirtualApplianceNetworkInterfaceConfigurationArrayOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationArrayOutput {
+func (o VirtualHubRouteV2ArrayOutput) ToVirtualHubRouteV2ArrayOutputWithContext(ctx context.Context) VirtualHubRouteV2ArrayOutput {
return o
}
-func (o VirtualApplianceNetworkInterfaceConfigurationArrayOutput) Index(i pulumi.IntInput) VirtualApplianceNetworkInterfaceConfigurationOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualApplianceNetworkInterfaceConfiguration {
- return vs[0].([]VirtualApplianceNetworkInterfaceConfiguration)[vs[1].(int)]
- }).(VirtualApplianceNetworkInterfaceConfigurationOutput)
+func (o VirtualHubRouteV2ArrayOutput) Index(i pulumi.IntInput) VirtualHubRouteV2Output {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualHubRouteV2 {
+ return vs[0].([]VirtualHubRouteV2)[vs[1].(int)]
+ }).(VirtualHubRouteV2Output)
}
-// Represents a single NIC configuration properties.
-type VirtualApplianceNetworkInterfaceConfigurationProperties struct {
- IpConfigurations []VirtualApplianceIPConfiguration `pulumi:"ipConfigurations"`
+// VirtualHubRouteTableV2 route.
+type VirtualHubRouteV2Response struct {
+ // The type of destinations.
+ DestinationType *string `pulumi:"destinationType"`
+ // List of all destinations.
+ Destinations []string `pulumi:"destinations"`
+ // The type of next hops.
+ NextHopType *string `pulumi:"nextHopType"`
+ // NextHops ip address.
+ NextHops []string `pulumi:"nextHops"`
}
-// VirtualApplianceNetworkInterfaceConfigurationPropertiesInput is an input type that accepts VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs and VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput values.
-// You can construct a concrete instance of `VirtualApplianceNetworkInterfaceConfigurationPropertiesInput` via:
-//
-// VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs{...}
-type VirtualApplianceNetworkInterfaceConfigurationPropertiesInput interface {
- pulumi.Input
+// VirtualHubRouteTableV2 route.
+type VirtualHubRouteV2ResponseOutput struct{ *pulumi.OutputState }
- ToVirtualApplianceNetworkInterfaceConfigurationPropertiesOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput
- ToVirtualApplianceNetworkInterfaceConfigurationPropertiesOutputWithContext(context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput
+func (VirtualHubRouteV2ResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualHubRouteV2Response)(nil)).Elem()
}
-// Represents a single NIC configuration properties.
-type VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs struct {
- IpConfigurations VirtualApplianceIPConfigurationArrayInput `pulumi:"ipConfigurations"`
+func (o VirtualHubRouteV2ResponseOutput) ToVirtualHubRouteV2ResponseOutput() VirtualHubRouteV2ResponseOutput {
+ return o
}
-func (VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceNetworkInterfaceConfigurationProperties)(nil)).Elem()
+func (o VirtualHubRouteV2ResponseOutput) ToVirtualHubRouteV2ResponseOutputWithContext(ctx context.Context) VirtualHubRouteV2ResponseOutput {
+ return o
}
-func (i VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput {
- return i.ToVirtualApplianceNetworkInterfaceConfigurationPropertiesOutputWithContext(context.Background())
+// The type of destinations.
+func (o VirtualHubRouteV2ResponseOutput) DestinationType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualHubRouteV2Response) *string { return v.DestinationType }).(pulumi.StringPtrOutput)
}
-func (i VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput)
+// List of all destinations.
+func (o VirtualHubRouteV2ResponseOutput) Destinations() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v VirtualHubRouteV2Response) []string { return v.Destinations }).(pulumi.StringArrayOutput)
}
-func (i VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
- return i.ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(context.Background())
+// The type of next hops.
+func (o VirtualHubRouteV2ResponseOutput) NextHopType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualHubRouteV2Response) *string { return v.NextHopType }).(pulumi.StringPtrOutput)
}
-func (i VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput).ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(ctx)
+// NextHops ip address.
+func (o VirtualHubRouteV2ResponseOutput) NextHops() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v VirtualHubRouteV2Response) []string { return v.NextHops }).(pulumi.StringArrayOutput)
}
-// VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrInput is an input type that accepts VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs, VirtualApplianceNetworkInterfaceConfigurationPropertiesPtr and VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput values.
-// You can construct a concrete instance of `VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrInput` via:
-//
-// VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs{...}
-//
-// or:
-//
-// nil
-type VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrInput interface {
- pulumi.Input
+type VirtualHubRouteV2ResponseArrayOutput struct{ *pulumi.OutputState }
- ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput
- ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput
+func (VirtualHubRouteV2ResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualHubRouteV2Response)(nil)).Elem()
}
-type virtualApplianceNetworkInterfaceConfigurationPropertiesPtrType VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs
-
-func VirtualApplianceNetworkInterfaceConfigurationPropertiesPtr(v *VirtualApplianceNetworkInterfaceConfigurationPropertiesArgs) VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrInput {
- return (*virtualApplianceNetworkInterfaceConfigurationPropertiesPtrType)(v)
+func (o VirtualHubRouteV2ResponseArrayOutput) ToVirtualHubRouteV2ResponseArrayOutput() VirtualHubRouteV2ResponseArrayOutput {
+ return o
}
-func (*virtualApplianceNetworkInterfaceConfigurationPropertiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualApplianceNetworkInterfaceConfigurationProperties)(nil)).Elem()
+func (o VirtualHubRouteV2ResponseArrayOutput) ToVirtualHubRouteV2ResponseArrayOutputWithContext(ctx context.Context) VirtualHubRouteV2ResponseArrayOutput {
+ return o
}
-func (i *virtualApplianceNetworkInterfaceConfigurationPropertiesPtrType) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
- return i.ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(context.Background())
+func (o VirtualHubRouteV2ResponseArrayOutput) Index(i pulumi.IntInput) VirtualHubRouteV2ResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualHubRouteV2Response {
+ return vs[0].([]VirtualHubRouteV2Response)[vs[1].(int)]
+ }).(VirtualHubRouteV2ResponseOutput)
}
-func (i *virtualApplianceNetworkInterfaceConfigurationPropertiesPtrType) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput)
+// The virtual network appliance ip configuration.
+type VirtualNetworkApplianceIpConfigurationResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of virtual network appliance ip configuration.
+ Name *string `pulumi:"name"`
+ // Whether the ip configuration is primary or not.
+ Primary *bool `pulumi:"primary"`
+ // The private IP address of the IP configuration.
+ PrivateIPAddress *string `pulumi:"privateIPAddress"`
+ // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+ PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // The provisioning state of the private link service IP configuration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The resource type.
+ Type string `pulumi:"type"`
}
-// Represents a single NIC configuration properties.
-type VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput struct{ *pulumi.OutputState }
+// The virtual network appliance ip configuration.
+type VirtualNetworkApplianceIpConfigurationResponseOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceNetworkInterfaceConfigurationProperties)(nil)).Elem()
+func (VirtualNetworkApplianceIpConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkApplianceIpConfigurationResponse)(nil)).Elem()
}
-func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput {
+func (o VirtualNetworkApplianceIpConfigurationResponseOutput) ToVirtualNetworkApplianceIpConfigurationResponseOutput() VirtualNetworkApplianceIpConfigurationResponseOutput {
return o
}
-func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput {
+func (o VirtualNetworkApplianceIpConfigurationResponseOutput) ToVirtualNetworkApplianceIpConfigurationResponseOutputWithContext(ctx context.Context) VirtualNetworkApplianceIpConfigurationResponseOutput {
return o
}
-func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
- return o.ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(context.Background())
+// A unique read-only string that changes whenever the resource is updated.
+func (o VirtualNetworkApplianceIpConfigurationResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualApplianceNetworkInterfaceConfigurationProperties) *VirtualApplianceNetworkInterfaceConfigurationProperties {
- return &v
- }).(VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput)
+// Resource ID.
+func (o VirtualNetworkApplianceIpConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput) IpConfigurations() VirtualApplianceIPConfigurationArrayOutput {
- return o.ApplyT(func(v VirtualApplianceNetworkInterfaceConfigurationProperties) []VirtualApplianceIPConfiguration {
- return v.IpConfigurations
- }).(VirtualApplianceIPConfigurationArrayOutput)
+// The name of virtual network appliance ip configuration.
+func (o VirtualNetworkApplianceIpConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-type VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput struct{ *pulumi.OutputState }
-
-func (VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualApplianceNetworkInterfaceConfigurationProperties)(nil)).Elem()
+// Whether the ip configuration is primary or not.
+func (o VirtualNetworkApplianceIpConfigurationResponseOutput) Primary() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
}
-func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
- return o
+// The private IP address of the IP configuration.
+func (o VirtualNetworkApplianceIpConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
}
-func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput {
- return o
+// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
+func (o VirtualNetworkApplianceIpConfigurationResponseOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
}
-func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput) Elem() VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput {
- return o.ApplyT(func(v *VirtualApplianceNetworkInterfaceConfigurationProperties) VirtualApplianceNetworkInterfaceConfigurationProperties {
- if v != nil {
- return *v
- }
- var ret VirtualApplianceNetworkInterfaceConfigurationProperties
- return ret
- }).(VirtualApplianceNetworkInterfaceConfigurationPropertiesOutput)
+// The private IP address allocation method.
+func (o VirtualNetworkApplianceIpConfigurationResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesPtrOutput) IpConfigurations() VirtualApplianceIPConfigurationArrayOutput {
- return o.ApplyT(func(v *VirtualApplianceNetworkInterfaceConfigurationProperties) []VirtualApplianceIPConfiguration {
- if v == nil {
- return nil
- }
- return v.IpConfigurations
- }).(VirtualApplianceIPConfigurationArrayOutput)
+// The provisioning state of the private link service IP configuration resource.
+func (o VirtualNetworkApplianceIpConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Represents a single NIC configuration properties.
-type VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse struct {
- IpConfigurations []VirtualApplianceIPConfigurationResponse `pulumi:"ipConfigurations"`
+// The resource type.
+func (o VirtualNetworkApplianceIpConfigurationResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Represents a single NIC configuration properties.
-type VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput struct{ *pulumi.OutputState }
+type VirtualNetworkApplianceIpConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse)(nil)).Elem()
+func (VirtualNetworkApplianceIpConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkApplianceIpConfigurationResponse)(nil)).Elem()
}
-func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput {
+func (o VirtualNetworkApplianceIpConfigurationResponseArrayOutput) ToVirtualNetworkApplianceIpConfigurationResponseArrayOutput() VirtualNetworkApplianceIpConfigurationResponseArrayOutput {
return o
}
-func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput {
+func (o VirtualNetworkApplianceIpConfigurationResponseArrayOutput) ToVirtualNetworkApplianceIpConfigurationResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkApplianceIpConfigurationResponseArrayOutput {
return o
}
-func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput) IpConfigurations() VirtualApplianceIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse) []VirtualApplianceIPConfigurationResponse {
- return v.IpConfigurations
- }).(VirtualApplianceIPConfigurationResponseArrayOutput)
+func (o VirtualNetworkApplianceIpConfigurationResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkApplianceIpConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkApplianceIpConfigurationResponse {
+ return vs[0].([]VirtualNetworkApplianceIpConfigurationResponse)[vs[1].(int)]
+ }).(VirtualNetworkApplianceIpConfigurationResponseOutput)
}
-type VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
+type VirtualNetworkBgpCommunities struct {
+ // The BGP community associated with the virtual network.
+ VirtualNetworkCommunity string `pulumi:"virtualNetworkCommunity"`
+}
-func (VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse)(nil)).Elem()
+// VirtualNetworkBgpCommunitiesInput is an input type that accepts VirtualNetworkBgpCommunitiesArgs and VirtualNetworkBgpCommunitiesOutput values.
+// You can construct a concrete instance of `VirtualNetworkBgpCommunitiesInput` via:
+//
+// VirtualNetworkBgpCommunitiesArgs{...}
+type VirtualNetworkBgpCommunitiesInput interface {
+ pulumi.Input
+
+ ToVirtualNetworkBgpCommunitiesOutput() VirtualNetworkBgpCommunitiesOutput
+ ToVirtualNetworkBgpCommunitiesOutputWithContext(context.Context) VirtualNetworkBgpCommunitiesOutput
}
-func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput() VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput {
- return o
+// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
+type VirtualNetworkBgpCommunitiesArgs struct {
+ // The BGP community associated with the virtual network.
+ VirtualNetworkCommunity pulumi.StringInput `pulumi:"virtualNetworkCommunity"`
}
-func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput) ToVirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput {
- return o
+func (VirtualNetworkBgpCommunitiesArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkBgpCommunities)(nil)).Elem()
}
-func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput) Elem() VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput {
- return o.ApplyT(func(v *VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse) VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse {
- if v != nil {
- return *v
- }
- var ret VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse
- return ret
- }).(VirtualApplianceNetworkInterfaceConfigurationPropertiesResponseOutput)
+func (i VirtualNetworkBgpCommunitiesArgs) ToVirtualNetworkBgpCommunitiesOutput() VirtualNetworkBgpCommunitiesOutput {
+ return i.ToVirtualNetworkBgpCommunitiesOutputWithContext(context.Background())
}
-func (o VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput) IpConfigurations() VirtualApplianceIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v *VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse) []VirtualApplianceIPConfigurationResponse {
- if v == nil {
- return nil
- }
- return v.IpConfigurations
- }).(VirtualApplianceIPConfigurationResponseArrayOutput)
+func (i VirtualNetworkBgpCommunitiesArgs) ToVirtualNetworkBgpCommunitiesOutputWithContext(ctx context.Context) VirtualNetworkBgpCommunitiesOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkBgpCommunitiesOutput)
}
-// Represents a single NIC configuration.
-type VirtualApplianceNetworkInterfaceConfigurationResponse struct {
- // NIC type. This should be either PublicNic or PrivateNic.
- NicType *string `pulumi:"nicType"`
- // Represents a single NIC configuration properties.
- Properties *VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse `pulumi:"properties"`
+func (i VirtualNetworkBgpCommunitiesArgs) ToVirtualNetworkBgpCommunitiesPtrOutput() VirtualNetworkBgpCommunitiesPtrOutput {
+ return i.ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(context.Background())
}
-// Represents a single NIC configuration.
-type VirtualApplianceNetworkInterfaceConfigurationResponseOutput struct{ *pulumi.OutputState }
+func (i VirtualNetworkBgpCommunitiesArgs) ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx context.Context) VirtualNetworkBgpCommunitiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkBgpCommunitiesOutput).ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx)
+}
-func (VirtualApplianceNetworkInterfaceConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceNetworkInterfaceConfigurationResponse)(nil)).Elem()
+// VirtualNetworkBgpCommunitiesPtrInput is an input type that accepts VirtualNetworkBgpCommunitiesArgs, VirtualNetworkBgpCommunitiesPtr and VirtualNetworkBgpCommunitiesPtrOutput values.
+// You can construct a concrete instance of `VirtualNetworkBgpCommunitiesPtrInput` via:
+//
+// VirtualNetworkBgpCommunitiesArgs{...}
+//
+// or:
+//
+// nil
+type VirtualNetworkBgpCommunitiesPtrInput interface {
+ pulumi.Input
+
+ ToVirtualNetworkBgpCommunitiesPtrOutput() VirtualNetworkBgpCommunitiesPtrOutput
+ ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(context.Context) VirtualNetworkBgpCommunitiesPtrOutput
}
-func (o VirtualApplianceNetworkInterfaceConfigurationResponseOutput) ToVirtualApplianceNetworkInterfaceConfigurationResponseOutput() VirtualApplianceNetworkInterfaceConfigurationResponseOutput {
- return o
+type virtualNetworkBgpCommunitiesPtrType VirtualNetworkBgpCommunitiesArgs
+
+func VirtualNetworkBgpCommunitiesPtr(v *VirtualNetworkBgpCommunitiesArgs) VirtualNetworkBgpCommunitiesPtrInput {
+ return (*virtualNetworkBgpCommunitiesPtrType)(v)
}
-func (o VirtualApplianceNetworkInterfaceConfigurationResponseOutput) ToVirtualApplianceNetworkInterfaceConfigurationResponseOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationResponseOutput {
- return o
+func (*virtualNetworkBgpCommunitiesPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkBgpCommunities)(nil)).Elem()
}
-// NIC type. This should be either PublicNic or PrivateNic.
-func (o VirtualApplianceNetworkInterfaceConfigurationResponseOutput) NicType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualApplianceNetworkInterfaceConfigurationResponse) *string { return v.NicType }).(pulumi.StringPtrOutput)
+func (i *virtualNetworkBgpCommunitiesPtrType) ToVirtualNetworkBgpCommunitiesPtrOutput() VirtualNetworkBgpCommunitiesPtrOutput {
+ return i.ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(context.Background())
}
-// Represents a single NIC configuration properties.
-func (o VirtualApplianceNetworkInterfaceConfigurationResponseOutput) Properties() VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput {
- return o.ApplyT(func(v VirtualApplianceNetworkInterfaceConfigurationResponse) *VirtualApplianceNetworkInterfaceConfigurationPropertiesResponse {
- return v.Properties
- }).(VirtualApplianceNetworkInterfaceConfigurationPropertiesResponsePtrOutput)
+func (i *virtualNetworkBgpCommunitiesPtrType) ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx context.Context) VirtualNetworkBgpCommunitiesPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkBgpCommunitiesPtrOutput)
}
-type VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
+type VirtualNetworkBgpCommunitiesOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualApplianceNetworkInterfaceConfigurationResponse)(nil)).Elem()
+func (VirtualNetworkBgpCommunitiesOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkBgpCommunities)(nil)).Elem()
}
-func (o VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput) ToVirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput() VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput {
+func (o VirtualNetworkBgpCommunitiesOutput) ToVirtualNetworkBgpCommunitiesOutput() VirtualNetworkBgpCommunitiesOutput {
return o
}
-func (o VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput) ToVirtualApplianceNetworkInterfaceConfigurationResponseArrayOutputWithContext(ctx context.Context) VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput {
+func (o VirtualNetworkBgpCommunitiesOutput) ToVirtualNetworkBgpCommunitiesOutputWithContext(ctx context.Context) VirtualNetworkBgpCommunitiesOutput {
return o
}
-func (o VirtualApplianceNetworkInterfaceConfigurationResponseArrayOutput) Index(i pulumi.IntInput) VirtualApplianceNetworkInterfaceConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualApplianceNetworkInterfaceConfigurationResponse {
- return vs[0].([]VirtualApplianceNetworkInterfaceConfigurationResponse)[vs[1].(int)]
- }).(VirtualApplianceNetworkInterfaceConfigurationResponseOutput)
+func (o VirtualNetworkBgpCommunitiesOutput) ToVirtualNetworkBgpCommunitiesPtrOutput() VirtualNetworkBgpCommunitiesPtrOutput {
+ return o.ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(context.Background())
}
-// Network Virtual Appliance NIC properties.
-type VirtualApplianceNicPropertiesResponse struct {
- // Instance on which nic is attached.
- InstanceName string `pulumi:"instanceName"`
- // NIC name.
- Name string `pulumi:"name"`
- // NIC type - PublicNic, PrivateNic, or AdditionalNic.
- NicType string `pulumi:"nicType"`
- // Private IP address.
- PrivateIpAddress string `pulumi:"privateIpAddress"`
- // Public IP address.
- PublicIpAddress string `pulumi:"publicIpAddress"`
+func (o VirtualNetworkBgpCommunitiesOutput) ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx context.Context) VirtualNetworkBgpCommunitiesPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualNetworkBgpCommunities) *VirtualNetworkBgpCommunities {
+ return &v
+ }).(VirtualNetworkBgpCommunitiesPtrOutput)
+}
+
+// The BGP community associated with the virtual network.
+func (o VirtualNetworkBgpCommunitiesOutput) VirtualNetworkCommunity() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkBgpCommunities) string { return v.VirtualNetworkCommunity }).(pulumi.StringOutput)
}
-// Network Virtual Appliance NIC properties.
-type VirtualApplianceNicPropertiesResponseOutput struct{ *pulumi.OutputState }
+type VirtualNetworkBgpCommunitiesPtrOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceNicPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceNicPropertiesResponse)(nil)).Elem()
+func (VirtualNetworkBgpCommunitiesPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkBgpCommunities)(nil)).Elem()
}
-func (o VirtualApplianceNicPropertiesResponseOutput) ToVirtualApplianceNicPropertiesResponseOutput() VirtualApplianceNicPropertiesResponseOutput {
+func (o VirtualNetworkBgpCommunitiesPtrOutput) ToVirtualNetworkBgpCommunitiesPtrOutput() VirtualNetworkBgpCommunitiesPtrOutput {
return o
}
-func (o VirtualApplianceNicPropertiesResponseOutput) ToVirtualApplianceNicPropertiesResponseOutputWithContext(ctx context.Context) VirtualApplianceNicPropertiesResponseOutput {
+func (o VirtualNetworkBgpCommunitiesPtrOutput) ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx context.Context) VirtualNetworkBgpCommunitiesPtrOutput {
return o
}
-// Instance on which nic is attached.
-func (o VirtualApplianceNicPropertiesResponseOutput) InstanceName() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualApplianceNicPropertiesResponse) string { return v.InstanceName }).(pulumi.StringOutput)
+func (o VirtualNetworkBgpCommunitiesPtrOutput) Elem() VirtualNetworkBgpCommunitiesOutput {
+ return o.ApplyT(func(v *VirtualNetworkBgpCommunities) VirtualNetworkBgpCommunities {
+ if v != nil {
+ return *v
+ }
+ var ret VirtualNetworkBgpCommunities
+ return ret
+ }).(VirtualNetworkBgpCommunitiesOutput)
}
-// NIC name.
-func (o VirtualApplianceNicPropertiesResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualApplianceNicPropertiesResponse) string { return v.Name }).(pulumi.StringOutput)
+// The BGP community associated with the virtual network.
+func (o VirtualNetworkBgpCommunitiesPtrOutput) VirtualNetworkCommunity() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkBgpCommunities) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.VirtualNetworkCommunity
+ }).(pulumi.StringPtrOutput)
}
-// NIC type - PublicNic, PrivateNic, or AdditionalNic.
-func (o VirtualApplianceNicPropertiesResponseOutput) NicType() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualApplianceNicPropertiesResponse) string { return v.NicType }).(pulumi.StringOutput)
+// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
+type VirtualNetworkBgpCommunitiesResponse struct {
+ // The BGP community associated with the region of the virtual network.
+ RegionalCommunity string `pulumi:"regionalCommunity"`
+ // The BGP community associated with the virtual network.
+ VirtualNetworkCommunity string `pulumi:"virtualNetworkCommunity"`
}
-// Private IP address.
-func (o VirtualApplianceNicPropertiesResponseOutput) PrivateIpAddress() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualApplianceNicPropertiesResponse) string { return v.PrivateIpAddress }).(pulumi.StringOutput)
+// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
+type VirtualNetworkBgpCommunitiesResponseOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkBgpCommunitiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkBgpCommunitiesResponse)(nil)).Elem()
}
-// Public IP address.
-func (o VirtualApplianceNicPropertiesResponseOutput) PublicIpAddress() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualApplianceNicPropertiesResponse) string { return v.PublicIpAddress }).(pulumi.StringOutput)
+func (o VirtualNetworkBgpCommunitiesResponseOutput) ToVirtualNetworkBgpCommunitiesResponseOutput() VirtualNetworkBgpCommunitiesResponseOutput {
+ return o
}
-type VirtualApplianceNicPropertiesResponseArrayOutput struct{ *pulumi.OutputState }
+func (o VirtualNetworkBgpCommunitiesResponseOutput) ToVirtualNetworkBgpCommunitiesResponseOutputWithContext(ctx context.Context) VirtualNetworkBgpCommunitiesResponseOutput {
+ return o
+}
-func (VirtualApplianceNicPropertiesResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualApplianceNicPropertiesResponse)(nil)).Elem()
+// The BGP community associated with the region of the virtual network.
+func (o VirtualNetworkBgpCommunitiesResponseOutput) RegionalCommunity() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkBgpCommunitiesResponse) string { return v.RegionalCommunity }).(pulumi.StringOutput)
}
-func (o VirtualApplianceNicPropertiesResponseArrayOutput) ToVirtualApplianceNicPropertiesResponseArrayOutput() VirtualApplianceNicPropertiesResponseArrayOutput {
+// The BGP community associated with the virtual network.
+func (o VirtualNetworkBgpCommunitiesResponseOutput) VirtualNetworkCommunity() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkBgpCommunitiesResponse) string { return v.VirtualNetworkCommunity }).(pulumi.StringOutput)
+}
+
+type VirtualNetworkBgpCommunitiesResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkBgpCommunitiesResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkBgpCommunitiesResponse)(nil)).Elem()
+}
+
+func (o VirtualNetworkBgpCommunitiesResponsePtrOutput) ToVirtualNetworkBgpCommunitiesResponsePtrOutput() VirtualNetworkBgpCommunitiesResponsePtrOutput {
return o
}
-func (o VirtualApplianceNicPropertiesResponseArrayOutput) ToVirtualApplianceNicPropertiesResponseArrayOutputWithContext(ctx context.Context) VirtualApplianceNicPropertiesResponseArrayOutput {
+func (o VirtualNetworkBgpCommunitiesResponsePtrOutput) ToVirtualNetworkBgpCommunitiesResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkBgpCommunitiesResponsePtrOutput {
return o
}
-func (o VirtualApplianceNicPropertiesResponseArrayOutput) Index(i pulumi.IntInput) VirtualApplianceNicPropertiesResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualApplianceNicPropertiesResponse {
- return vs[0].([]VirtualApplianceNicPropertiesResponse)[vs[1].(int)]
- }).(VirtualApplianceNicPropertiesResponseOutput)
+func (o VirtualNetworkBgpCommunitiesResponsePtrOutput) Elem() VirtualNetworkBgpCommunitiesResponseOutput {
+ return o.ApplyT(func(v *VirtualNetworkBgpCommunitiesResponse) VirtualNetworkBgpCommunitiesResponse {
+ if v != nil {
+ return *v
+ }
+ var ret VirtualNetworkBgpCommunitiesResponse
+ return ret
+ }).(VirtualNetworkBgpCommunitiesResponseOutput)
}
-// Network Virtual Appliance Sku Properties.
-type VirtualApplianceSkuProperties struct {
- // Virtual Appliance Scale Unit.
- BundledScaleUnit *string `pulumi:"bundledScaleUnit"`
- // Virtual Appliance Version.
- MarketPlaceVersion *string `pulumi:"marketPlaceVersion"`
- // Virtual Appliance Vendor.
- Vendor *string `pulumi:"vendor"`
+// The BGP community associated with the region of the virtual network.
+func (o VirtualNetworkBgpCommunitiesResponsePtrOutput) RegionalCommunity() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkBgpCommunitiesResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.RegionalCommunity
+ }).(pulumi.StringPtrOutput)
}
-// VirtualApplianceSkuPropertiesInput is an input type that accepts VirtualApplianceSkuPropertiesArgs and VirtualApplianceSkuPropertiesOutput values.
-// You can construct a concrete instance of `VirtualApplianceSkuPropertiesInput` via:
+// The BGP community associated with the virtual network.
+func (o VirtualNetworkBgpCommunitiesResponsePtrOutput) VirtualNetworkCommunity() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkBgpCommunitiesResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.VirtualNetworkCommunity
+ }).(pulumi.StringPtrOutput)
+}
+
+// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
+type VirtualNetworkEncryption struct {
+ // Indicates if encryption is enabled on the virtual network.
+ Enabled bool `pulumi:"enabled"`
+ // If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
+ Enforcement *string `pulumi:"enforcement"`
+}
+
+// VirtualNetworkEncryptionInput is an input type that accepts VirtualNetworkEncryptionArgs and VirtualNetworkEncryptionOutput values.
+// You can construct a concrete instance of `VirtualNetworkEncryptionInput` via:
//
-// VirtualApplianceSkuPropertiesArgs{...}
-type VirtualApplianceSkuPropertiesInput interface {
+// VirtualNetworkEncryptionArgs{...}
+type VirtualNetworkEncryptionInput interface {
pulumi.Input
- ToVirtualApplianceSkuPropertiesOutput() VirtualApplianceSkuPropertiesOutput
- ToVirtualApplianceSkuPropertiesOutputWithContext(context.Context) VirtualApplianceSkuPropertiesOutput
+ ToVirtualNetworkEncryptionOutput() VirtualNetworkEncryptionOutput
+ ToVirtualNetworkEncryptionOutputWithContext(context.Context) VirtualNetworkEncryptionOutput
}
-// Network Virtual Appliance Sku Properties.
-type VirtualApplianceSkuPropertiesArgs struct {
- // Virtual Appliance Scale Unit.
- BundledScaleUnit pulumi.StringPtrInput `pulumi:"bundledScaleUnit"`
- // Virtual Appliance Version.
- MarketPlaceVersion pulumi.StringPtrInput `pulumi:"marketPlaceVersion"`
- // Virtual Appliance Vendor.
- Vendor pulumi.StringPtrInput `pulumi:"vendor"`
+// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
+type VirtualNetworkEncryptionArgs struct {
+ // Indicates if encryption is enabled on the virtual network.
+ Enabled pulumi.BoolInput `pulumi:"enabled"`
+ // If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
+ Enforcement pulumi.StringPtrInput `pulumi:"enforcement"`
}
-func (VirtualApplianceSkuPropertiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceSkuProperties)(nil)).Elem()
+func (VirtualNetworkEncryptionArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkEncryption)(nil)).Elem()
}
-func (i VirtualApplianceSkuPropertiesArgs) ToVirtualApplianceSkuPropertiesOutput() VirtualApplianceSkuPropertiesOutput {
- return i.ToVirtualApplianceSkuPropertiesOutputWithContext(context.Background())
+func (i VirtualNetworkEncryptionArgs) ToVirtualNetworkEncryptionOutput() VirtualNetworkEncryptionOutput {
+ return i.ToVirtualNetworkEncryptionOutputWithContext(context.Background())
}
-func (i VirtualApplianceSkuPropertiesArgs) ToVirtualApplianceSkuPropertiesOutputWithContext(ctx context.Context) VirtualApplianceSkuPropertiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceSkuPropertiesOutput)
+func (i VirtualNetworkEncryptionArgs) ToVirtualNetworkEncryptionOutputWithContext(ctx context.Context) VirtualNetworkEncryptionOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkEncryptionOutput)
}
-func (i VirtualApplianceSkuPropertiesArgs) ToVirtualApplianceSkuPropertiesPtrOutput() VirtualApplianceSkuPropertiesPtrOutput {
- return i.ToVirtualApplianceSkuPropertiesPtrOutputWithContext(context.Background())
+func (i VirtualNetworkEncryptionArgs) ToVirtualNetworkEncryptionPtrOutput() VirtualNetworkEncryptionPtrOutput {
+ return i.ToVirtualNetworkEncryptionPtrOutputWithContext(context.Background())
}
-func (i VirtualApplianceSkuPropertiesArgs) ToVirtualApplianceSkuPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceSkuPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceSkuPropertiesOutput).ToVirtualApplianceSkuPropertiesPtrOutputWithContext(ctx)
+func (i VirtualNetworkEncryptionArgs) ToVirtualNetworkEncryptionPtrOutputWithContext(ctx context.Context) VirtualNetworkEncryptionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkEncryptionOutput).ToVirtualNetworkEncryptionPtrOutputWithContext(ctx)
}
-// VirtualApplianceSkuPropertiesPtrInput is an input type that accepts VirtualApplianceSkuPropertiesArgs, VirtualApplianceSkuPropertiesPtr and VirtualApplianceSkuPropertiesPtrOutput values.
-// You can construct a concrete instance of `VirtualApplianceSkuPropertiesPtrInput` via:
+// VirtualNetworkEncryptionPtrInput is an input type that accepts VirtualNetworkEncryptionArgs, VirtualNetworkEncryptionPtr and VirtualNetworkEncryptionPtrOutput values.
+// You can construct a concrete instance of `VirtualNetworkEncryptionPtrInput` via:
//
-// VirtualApplianceSkuPropertiesArgs{...}
+// VirtualNetworkEncryptionArgs{...}
//
// or:
//
// nil
-type VirtualApplianceSkuPropertiesPtrInput interface {
+type VirtualNetworkEncryptionPtrInput interface {
pulumi.Input
- ToVirtualApplianceSkuPropertiesPtrOutput() VirtualApplianceSkuPropertiesPtrOutput
- ToVirtualApplianceSkuPropertiesPtrOutputWithContext(context.Context) VirtualApplianceSkuPropertiesPtrOutput
+ ToVirtualNetworkEncryptionPtrOutput() VirtualNetworkEncryptionPtrOutput
+ ToVirtualNetworkEncryptionPtrOutputWithContext(context.Context) VirtualNetworkEncryptionPtrOutput
}
-type virtualApplianceSkuPropertiesPtrType VirtualApplianceSkuPropertiesArgs
+type virtualNetworkEncryptionPtrType VirtualNetworkEncryptionArgs
-func VirtualApplianceSkuPropertiesPtr(v *VirtualApplianceSkuPropertiesArgs) VirtualApplianceSkuPropertiesPtrInput {
- return (*virtualApplianceSkuPropertiesPtrType)(v)
+func VirtualNetworkEncryptionPtr(v *VirtualNetworkEncryptionArgs) VirtualNetworkEncryptionPtrInput {
+ return (*virtualNetworkEncryptionPtrType)(v)
}
-func (*virtualApplianceSkuPropertiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualApplianceSkuProperties)(nil)).Elem()
+func (*virtualNetworkEncryptionPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkEncryption)(nil)).Elem()
}
-func (i *virtualApplianceSkuPropertiesPtrType) ToVirtualApplianceSkuPropertiesPtrOutput() VirtualApplianceSkuPropertiesPtrOutput {
- return i.ToVirtualApplianceSkuPropertiesPtrOutputWithContext(context.Background())
+func (i *virtualNetworkEncryptionPtrType) ToVirtualNetworkEncryptionPtrOutput() VirtualNetworkEncryptionPtrOutput {
+ return i.ToVirtualNetworkEncryptionPtrOutputWithContext(context.Background())
}
-func (i *virtualApplianceSkuPropertiesPtrType) ToVirtualApplianceSkuPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceSkuPropertiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualApplianceSkuPropertiesPtrOutput)
+func (i *virtualNetworkEncryptionPtrType) ToVirtualNetworkEncryptionPtrOutputWithContext(ctx context.Context) VirtualNetworkEncryptionPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkEncryptionPtrOutput)
}
-// Network Virtual Appliance Sku Properties.
-type VirtualApplianceSkuPropertiesOutput struct{ *pulumi.OutputState }
+// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
+type VirtualNetworkEncryptionOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceSkuPropertiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceSkuProperties)(nil)).Elem()
+func (VirtualNetworkEncryptionOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkEncryption)(nil)).Elem()
}
-func (o VirtualApplianceSkuPropertiesOutput) ToVirtualApplianceSkuPropertiesOutput() VirtualApplianceSkuPropertiesOutput {
+func (o VirtualNetworkEncryptionOutput) ToVirtualNetworkEncryptionOutput() VirtualNetworkEncryptionOutput {
return o
}
-func (o VirtualApplianceSkuPropertiesOutput) ToVirtualApplianceSkuPropertiesOutputWithContext(ctx context.Context) VirtualApplianceSkuPropertiesOutput {
+func (o VirtualNetworkEncryptionOutput) ToVirtualNetworkEncryptionOutputWithContext(ctx context.Context) VirtualNetworkEncryptionOutput {
return o
}
-func (o VirtualApplianceSkuPropertiesOutput) ToVirtualApplianceSkuPropertiesPtrOutput() VirtualApplianceSkuPropertiesPtrOutput {
- return o.ToVirtualApplianceSkuPropertiesPtrOutputWithContext(context.Background())
+func (o VirtualNetworkEncryptionOutput) ToVirtualNetworkEncryptionPtrOutput() VirtualNetworkEncryptionPtrOutput {
+ return o.ToVirtualNetworkEncryptionPtrOutputWithContext(context.Background())
}
-func (o VirtualApplianceSkuPropertiesOutput) ToVirtualApplianceSkuPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceSkuPropertiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualApplianceSkuProperties) *VirtualApplianceSkuProperties {
+func (o VirtualNetworkEncryptionOutput) ToVirtualNetworkEncryptionPtrOutputWithContext(ctx context.Context) VirtualNetworkEncryptionPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualNetworkEncryption) *VirtualNetworkEncryption {
return &v
- }).(VirtualApplianceSkuPropertiesPtrOutput)
-}
-
-// Virtual Appliance Scale Unit.
-func (o VirtualApplianceSkuPropertiesOutput) BundledScaleUnit() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualApplianceSkuProperties) *string { return v.BundledScaleUnit }).(pulumi.StringPtrOutput)
+ }).(VirtualNetworkEncryptionPtrOutput)
}
-// Virtual Appliance Version.
-func (o VirtualApplianceSkuPropertiesOutput) MarketPlaceVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualApplianceSkuProperties) *string { return v.MarketPlaceVersion }).(pulumi.StringPtrOutput)
+// Indicates if encryption is enabled on the virtual network.
+func (o VirtualNetworkEncryptionOutput) Enabled() pulumi.BoolOutput {
+ return o.ApplyT(func(v VirtualNetworkEncryption) bool { return v.Enabled }).(pulumi.BoolOutput)
}
-// Virtual Appliance Vendor.
-func (o VirtualApplianceSkuPropertiesOutput) Vendor() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualApplianceSkuProperties) *string { return v.Vendor }).(pulumi.StringPtrOutput)
+// If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
+func (o VirtualNetworkEncryptionOutput) Enforcement() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkEncryption) *string { return v.Enforcement }).(pulumi.StringPtrOutput)
}
-type VirtualApplianceSkuPropertiesPtrOutput struct{ *pulumi.OutputState }
+type VirtualNetworkEncryptionPtrOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceSkuPropertiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualApplianceSkuProperties)(nil)).Elem()
+func (VirtualNetworkEncryptionPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkEncryption)(nil)).Elem()
}
-func (o VirtualApplianceSkuPropertiesPtrOutput) ToVirtualApplianceSkuPropertiesPtrOutput() VirtualApplianceSkuPropertiesPtrOutput {
+func (o VirtualNetworkEncryptionPtrOutput) ToVirtualNetworkEncryptionPtrOutput() VirtualNetworkEncryptionPtrOutput {
return o
}
-func (o VirtualApplianceSkuPropertiesPtrOutput) ToVirtualApplianceSkuPropertiesPtrOutputWithContext(ctx context.Context) VirtualApplianceSkuPropertiesPtrOutput {
+func (o VirtualNetworkEncryptionPtrOutput) ToVirtualNetworkEncryptionPtrOutputWithContext(ctx context.Context) VirtualNetworkEncryptionPtrOutput {
return o
}
-func (o VirtualApplianceSkuPropertiesPtrOutput) Elem() VirtualApplianceSkuPropertiesOutput {
- return o.ApplyT(func(v *VirtualApplianceSkuProperties) VirtualApplianceSkuProperties {
+func (o VirtualNetworkEncryptionPtrOutput) Elem() VirtualNetworkEncryptionOutput {
+ return o.ApplyT(func(v *VirtualNetworkEncryption) VirtualNetworkEncryption {
if v != nil {
return *v
}
- var ret VirtualApplianceSkuProperties
+ var ret VirtualNetworkEncryption
return ret
- }).(VirtualApplianceSkuPropertiesOutput)
-}
-
-// Virtual Appliance Scale Unit.
-func (o VirtualApplianceSkuPropertiesPtrOutput) BundledScaleUnit() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualApplianceSkuProperties) *string {
- if v == nil {
- return nil
- }
- return v.BundledScaleUnit
- }).(pulumi.StringPtrOutput)
+ }).(VirtualNetworkEncryptionOutput)
}
-// Virtual Appliance Version.
-func (o VirtualApplianceSkuPropertiesPtrOutput) MarketPlaceVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualApplianceSkuProperties) *string {
+// Indicates if encryption is enabled on the virtual network.
+func (o VirtualNetworkEncryptionPtrOutput) Enabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkEncryption) *bool {
if v == nil {
return nil
}
- return v.MarketPlaceVersion
- }).(pulumi.StringPtrOutput)
+ return &v.Enabled
+ }).(pulumi.BoolPtrOutput)
}
-// Virtual Appliance Vendor.
-func (o VirtualApplianceSkuPropertiesPtrOutput) Vendor() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualApplianceSkuProperties) *string {
+// If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
+func (o VirtualNetworkEncryptionPtrOutput) Enforcement() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkEncryption) *string {
if v == nil {
return nil
}
- return v.Vendor
+ return v.Enforcement
}).(pulumi.StringPtrOutput)
}
-// Network Virtual Appliance Sku Properties.
-type VirtualApplianceSkuPropertiesResponse struct {
- // Virtual Appliance Scale Unit.
- BundledScaleUnit *string `pulumi:"bundledScaleUnit"`
- // Virtual Appliance Version.
- MarketPlaceVersion *string `pulumi:"marketPlaceVersion"`
- // Virtual Appliance Vendor.
- Vendor *string `pulumi:"vendor"`
+// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
+type VirtualNetworkEncryptionResponse struct {
+ // Indicates if encryption is enabled on the virtual network.
+ Enabled bool `pulumi:"enabled"`
+ // If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
+ Enforcement *string `pulumi:"enforcement"`
}
-// Network Virtual Appliance Sku Properties.
-type VirtualApplianceSkuPropertiesResponseOutput struct{ *pulumi.OutputState }
+// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
+type VirtualNetworkEncryptionResponseOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceSkuPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualApplianceSkuPropertiesResponse)(nil)).Elem()
+func (VirtualNetworkEncryptionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkEncryptionResponse)(nil)).Elem()
}
-func (o VirtualApplianceSkuPropertiesResponseOutput) ToVirtualApplianceSkuPropertiesResponseOutput() VirtualApplianceSkuPropertiesResponseOutput {
+func (o VirtualNetworkEncryptionResponseOutput) ToVirtualNetworkEncryptionResponseOutput() VirtualNetworkEncryptionResponseOutput {
return o
}
-func (o VirtualApplianceSkuPropertiesResponseOutput) ToVirtualApplianceSkuPropertiesResponseOutputWithContext(ctx context.Context) VirtualApplianceSkuPropertiesResponseOutput {
+func (o VirtualNetworkEncryptionResponseOutput) ToVirtualNetworkEncryptionResponseOutputWithContext(ctx context.Context) VirtualNetworkEncryptionResponseOutput {
return o
}
-// Virtual Appliance Scale Unit.
-func (o VirtualApplianceSkuPropertiesResponseOutput) BundledScaleUnit() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualApplianceSkuPropertiesResponse) *string { return v.BundledScaleUnit }).(pulumi.StringPtrOutput)
-}
-
-// Virtual Appliance Version.
-func (o VirtualApplianceSkuPropertiesResponseOutput) MarketPlaceVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualApplianceSkuPropertiesResponse) *string { return v.MarketPlaceVersion }).(pulumi.StringPtrOutput)
+// Indicates if encryption is enabled on the virtual network.
+func (o VirtualNetworkEncryptionResponseOutput) Enabled() pulumi.BoolOutput {
+ return o.ApplyT(func(v VirtualNetworkEncryptionResponse) bool { return v.Enabled }).(pulumi.BoolOutput)
}
-// Virtual Appliance Vendor.
-func (o VirtualApplianceSkuPropertiesResponseOutput) Vendor() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualApplianceSkuPropertiesResponse) *string { return v.Vendor }).(pulumi.StringPtrOutput)
+// If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
+func (o VirtualNetworkEncryptionResponseOutput) Enforcement() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkEncryptionResponse) *string { return v.Enforcement }).(pulumi.StringPtrOutput)
}
-type VirtualApplianceSkuPropertiesResponsePtrOutput struct{ *pulumi.OutputState }
+type VirtualNetworkEncryptionResponsePtrOutput struct{ *pulumi.OutputState }
-func (VirtualApplianceSkuPropertiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualApplianceSkuPropertiesResponse)(nil)).Elem()
+func (VirtualNetworkEncryptionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkEncryptionResponse)(nil)).Elem()
}
-func (o VirtualApplianceSkuPropertiesResponsePtrOutput) ToVirtualApplianceSkuPropertiesResponsePtrOutput() VirtualApplianceSkuPropertiesResponsePtrOutput {
+func (o VirtualNetworkEncryptionResponsePtrOutput) ToVirtualNetworkEncryptionResponsePtrOutput() VirtualNetworkEncryptionResponsePtrOutput {
return o
}
-func (o VirtualApplianceSkuPropertiesResponsePtrOutput) ToVirtualApplianceSkuPropertiesResponsePtrOutputWithContext(ctx context.Context) VirtualApplianceSkuPropertiesResponsePtrOutput {
+func (o VirtualNetworkEncryptionResponsePtrOutput) ToVirtualNetworkEncryptionResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkEncryptionResponsePtrOutput {
return o
}
-func (o VirtualApplianceSkuPropertiesResponsePtrOutput) Elem() VirtualApplianceSkuPropertiesResponseOutput {
- return o.ApplyT(func(v *VirtualApplianceSkuPropertiesResponse) VirtualApplianceSkuPropertiesResponse {
+func (o VirtualNetworkEncryptionResponsePtrOutput) Elem() VirtualNetworkEncryptionResponseOutput {
+ return o.ApplyT(func(v *VirtualNetworkEncryptionResponse) VirtualNetworkEncryptionResponse {
if v != nil {
return *v
}
- var ret VirtualApplianceSkuPropertiesResponse
+ var ret VirtualNetworkEncryptionResponse
return ret
- }).(VirtualApplianceSkuPropertiesResponseOutput)
-}
-
-// Virtual Appliance Scale Unit.
-func (o VirtualApplianceSkuPropertiesResponsePtrOutput) BundledScaleUnit() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualApplianceSkuPropertiesResponse) *string {
- if v == nil {
- return nil
- }
- return v.BundledScaleUnit
- }).(pulumi.StringPtrOutput)
+ }).(VirtualNetworkEncryptionResponseOutput)
}
-// Virtual Appliance Version.
-func (o VirtualApplianceSkuPropertiesResponsePtrOutput) MarketPlaceVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualApplianceSkuPropertiesResponse) *string {
+// Indicates if encryption is enabled on the virtual network.
+func (o VirtualNetworkEncryptionResponsePtrOutput) Enabled() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkEncryptionResponse) *bool {
if v == nil {
return nil
}
- return v.MarketPlaceVersion
- }).(pulumi.StringPtrOutput)
+ return &v.Enabled
+ }).(pulumi.BoolPtrOutput)
}
-// Virtual Appliance Vendor.
-func (o VirtualApplianceSkuPropertiesResponsePtrOutput) Vendor() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualApplianceSkuPropertiesResponse) *string {
+// If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
+func (o VirtualNetworkEncryptionResponsePtrOutput) Enforcement() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkEncryptionResponse) *string {
if v == nil {
return nil
}
- return v.Vendor
+ return v.Enforcement
}).(pulumi.StringPtrOutput)
}
-// Virtual Hub identifier.
-type VirtualHubId struct {
- // The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
+// A common class for general resource information.
+type VirtualNetworkGatewayType struct {
+ // ActiveActive flag.
+ ActiveActive *bool `pulumi:"activeActive"`
+ // Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
+ AdminState *string `pulumi:"adminState"`
+ // Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.
+ AllowRemoteVnetTraffic *bool `pulumi:"allowRemoteVnetTraffic"`
+ // Configures this gateway to accept traffic from remote Virtual WAN networks.
+ AllowVirtualWanTraffic *bool `pulumi:"allowVirtualWanTraffic"`
+ // Autoscale configuration for virutal network gateway
+ AutoScaleConfiguration *VirtualNetworkGatewayAutoScaleConfiguration `pulumi:"autoScaleConfiguration"`
+ // Virtual network gateway's BGP speaker settings.
+ BgpSettings *BgpSettings `pulumi:"bgpSettings"`
+ // The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
+ CustomRoutes *AddressSpace `pulumi:"customRoutes"`
+ // disableIPSecReplayProtection flag.
+ DisableIPSecReplayProtection *bool `pulumi:"disableIPSecReplayProtection"`
+ // Whether BGP is enabled for this virtual network gateway or not.
+ EnableBgp *bool `pulumi:"enableBgp"`
+ // EnableBgpRouteTranslationForNat flag.
+ EnableBgpRouteTranslationForNat *bool `pulumi:"enableBgpRouteTranslationForNat"`
+ // Whether dns forwarding is enabled or not.
+ EnableDnsForwarding *bool `pulumi:"enableDnsForwarding"`
+ // Whether private IP needs to be enabled on this gateway for connections or not.
+ EnablePrivateIpAddress *bool `pulumi:"enablePrivateIpAddress"`
+ // The extended location of type local virtual network gateway.
+ ExtendedLocation *ExtendedLocation `pulumi:"extendedLocation"`
+ // The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
+ GatewayDefaultSite *SubResource `pulumi:"gatewayDefaultSite"`
+ // The type of this virtual network gateway.
+ GatewayType *string `pulumi:"gatewayType"`
+ // Resource ID.
Id *string `pulumi:"id"`
+ // The identity of the virtual network gateway, if configured.
+ Identity *ManagedServiceIdentity `pulumi:"identity"`
+ // IP configurations for virtual network gateway.
+ IpConfigurations []VirtualNetworkGatewayIPConfiguration `pulumi:"ipConfigurations"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // NatRules for virtual network gateway.
+ NatRules []VirtualNetworkGatewayNatRuleType `pulumi:"natRules"`
+ // Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed
+ ResiliencyModel *string `pulumi:"resiliencyModel"`
+ // The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
+ Sku *VirtualNetworkGatewaySku `pulumi:"sku"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
+ VNetExtendedLocationResourceId *string `pulumi:"vNetExtendedLocationResourceId"`
+ // The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.
+ VirtualNetworkGatewayPolicyGroups []VirtualNetworkGatewayPolicyGroup `pulumi:"virtualNetworkGatewayPolicyGroups"`
+ // The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
+ VpnClientConfiguration *VpnClientConfiguration `pulumi:"vpnClientConfiguration"`
+ // The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
+ VpnGatewayGeneration *string `pulumi:"vpnGatewayGeneration"`
+ // The type of this virtual network gateway.
+ VpnType *string `pulumi:"vpnType"`
}
-// VirtualHubIdInput is an input type that accepts VirtualHubIdArgs and VirtualHubIdOutput values.
-// You can construct a concrete instance of `VirtualHubIdInput` via:
+// VirtualNetworkGatewayTypeInput is an input type that accepts VirtualNetworkGatewayTypeArgs and VirtualNetworkGatewayTypeOutput values.
+// You can construct a concrete instance of `VirtualNetworkGatewayTypeInput` via:
//
-// VirtualHubIdArgs{...}
-type VirtualHubIdInput interface {
+// VirtualNetworkGatewayTypeArgs{...}
+type VirtualNetworkGatewayTypeInput interface {
pulumi.Input
- ToVirtualHubIdOutput() VirtualHubIdOutput
- ToVirtualHubIdOutputWithContext(context.Context) VirtualHubIdOutput
+ ToVirtualNetworkGatewayTypeOutput() VirtualNetworkGatewayTypeOutput
+ ToVirtualNetworkGatewayTypeOutputWithContext(context.Context) VirtualNetworkGatewayTypeOutput
}
-// Virtual Hub identifier.
-type VirtualHubIdArgs struct {
- // The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
+// A common class for general resource information.
+type VirtualNetworkGatewayTypeArgs struct {
+ // ActiveActive flag.
+ ActiveActive pulumi.BoolPtrInput `pulumi:"activeActive"`
+ // Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
+ AdminState pulumi.StringPtrInput `pulumi:"adminState"`
+ // Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.
+ AllowRemoteVnetTraffic pulumi.BoolPtrInput `pulumi:"allowRemoteVnetTraffic"`
+ // Configures this gateway to accept traffic from remote Virtual WAN networks.
+ AllowVirtualWanTraffic pulumi.BoolPtrInput `pulumi:"allowVirtualWanTraffic"`
+ // Autoscale configuration for virutal network gateway
+ AutoScaleConfiguration VirtualNetworkGatewayAutoScaleConfigurationPtrInput `pulumi:"autoScaleConfiguration"`
+ // Virtual network gateway's BGP speaker settings.
+ BgpSettings BgpSettingsPtrInput `pulumi:"bgpSettings"`
+ // The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
+ CustomRoutes AddressSpacePtrInput `pulumi:"customRoutes"`
+ // disableIPSecReplayProtection flag.
+ DisableIPSecReplayProtection pulumi.BoolPtrInput `pulumi:"disableIPSecReplayProtection"`
+ // Whether BGP is enabled for this virtual network gateway or not.
+ EnableBgp pulumi.BoolPtrInput `pulumi:"enableBgp"`
+ // EnableBgpRouteTranslationForNat flag.
+ EnableBgpRouteTranslationForNat pulumi.BoolPtrInput `pulumi:"enableBgpRouteTranslationForNat"`
+ // Whether dns forwarding is enabled or not.
+ EnableDnsForwarding pulumi.BoolPtrInput `pulumi:"enableDnsForwarding"`
+ // Whether private IP needs to be enabled on this gateway for connections or not.
+ EnablePrivateIpAddress pulumi.BoolPtrInput `pulumi:"enablePrivateIpAddress"`
+ // The extended location of type local virtual network gateway.
+ ExtendedLocation ExtendedLocationPtrInput `pulumi:"extendedLocation"`
+ // The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
+ GatewayDefaultSite SubResourcePtrInput `pulumi:"gatewayDefaultSite"`
+ // The type of this virtual network gateway.
+ GatewayType pulumi.StringPtrInput `pulumi:"gatewayType"`
+ // Resource ID.
Id pulumi.StringPtrInput `pulumi:"id"`
+ // The identity of the virtual network gateway, if configured.
+ Identity ManagedServiceIdentityPtrInput `pulumi:"identity"`
+ // IP configurations for virtual network gateway.
+ IpConfigurations VirtualNetworkGatewayIPConfigurationArrayInput `pulumi:"ipConfigurations"`
+ // Resource location.
+ Location pulumi.StringPtrInput `pulumi:"location"`
+ // NatRules for virtual network gateway.
+ NatRules VirtualNetworkGatewayNatRuleTypeArrayInput `pulumi:"natRules"`
+ // Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed
+ ResiliencyModel pulumi.StringPtrInput `pulumi:"resiliencyModel"`
+ // The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
+ Sku VirtualNetworkGatewaySkuPtrInput `pulumi:"sku"`
+ // Resource tags.
+ Tags pulumi.StringMapInput `pulumi:"tags"`
+ // Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
+ VNetExtendedLocationResourceId pulumi.StringPtrInput `pulumi:"vNetExtendedLocationResourceId"`
+ // The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.
+ VirtualNetworkGatewayPolicyGroups VirtualNetworkGatewayPolicyGroupArrayInput `pulumi:"virtualNetworkGatewayPolicyGroups"`
+ // The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
+ VpnClientConfiguration VpnClientConfigurationPtrInput `pulumi:"vpnClientConfiguration"`
+ // The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
+ VpnGatewayGeneration pulumi.StringPtrInput `pulumi:"vpnGatewayGeneration"`
+ // The type of this virtual network gateway.
+ VpnType pulumi.StringPtrInput `pulumi:"vpnType"`
+}
+
+func (VirtualNetworkGatewayTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayType)(nil)).Elem()
}
-func (VirtualHubIdArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualHubId)(nil)).Elem()
+func (i VirtualNetworkGatewayTypeArgs) ToVirtualNetworkGatewayTypeOutput() VirtualNetworkGatewayTypeOutput {
+ return i.ToVirtualNetworkGatewayTypeOutputWithContext(context.Background())
}
-func (i VirtualHubIdArgs) ToVirtualHubIdOutput() VirtualHubIdOutput {
- return i.ToVirtualHubIdOutputWithContext(context.Background())
+func (i VirtualNetworkGatewayTypeArgs) ToVirtualNetworkGatewayTypeOutputWithContext(ctx context.Context) VirtualNetworkGatewayTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayTypeOutput)
}
-func (i VirtualHubIdArgs) ToVirtualHubIdOutputWithContext(ctx context.Context) VirtualHubIdOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualHubIdOutput)
+func (i VirtualNetworkGatewayTypeArgs) ToVirtualNetworkGatewayTypePtrOutput() VirtualNetworkGatewayTypePtrOutput {
+ return i.ToVirtualNetworkGatewayTypePtrOutputWithContext(context.Background())
}
-// Virtual Hub identifier.
-type VirtualHubIdOutput struct{ *pulumi.OutputState }
+func (i VirtualNetworkGatewayTypeArgs) ToVirtualNetworkGatewayTypePtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayTypeOutput).ToVirtualNetworkGatewayTypePtrOutputWithContext(ctx)
+}
-func (VirtualHubIdOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualHubId)(nil)).Elem()
+// VirtualNetworkGatewayTypePtrInput is an input type that accepts VirtualNetworkGatewayTypeArgs, VirtualNetworkGatewayTypePtr and VirtualNetworkGatewayTypePtrOutput values.
+// You can construct a concrete instance of `VirtualNetworkGatewayTypePtrInput` via:
+//
+// VirtualNetworkGatewayTypeArgs{...}
+//
+// or:
+//
+// nil
+type VirtualNetworkGatewayTypePtrInput interface {
+ pulumi.Input
+
+ ToVirtualNetworkGatewayTypePtrOutput() VirtualNetworkGatewayTypePtrOutput
+ ToVirtualNetworkGatewayTypePtrOutputWithContext(context.Context) VirtualNetworkGatewayTypePtrOutput
}
-func (o VirtualHubIdOutput) ToVirtualHubIdOutput() VirtualHubIdOutput {
- return o
+type virtualNetworkGatewayTypePtrType VirtualNetworkGatewayTypeArgs
+
+func VirtualNetworkGatewayTypePtr(v *VirtualNetworkGatewayTypeArgs) VirtualNetworkGatewayTypePtrInput {
+ return (*virtualNetworkGatewayTypePtrType)(v)
}
-func (o VirtualHubIdOutput) ToVirtualHubIdOutputWithContext(ctx context.Context) VirtualHubIdOutput {
- return o
+func (*virtualNetworkGatewayTypePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkGatewayType)(nil)).Elem()
}
-// The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
-func (o VirtualHubIdOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualHubId) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (i *virtualNetworkGatewayTypePtrType) ToVirtualNetworkGatewayTypePtrOutput() VirtualNetworkGatewayTypePtrOutput {
+ return i.ToVirtualNetworkGatewayTypePtrOutputWithContext(context.Background())
}
-// Virtual Hub identifier.
-type VirtualHubIdResponse struct {
- // The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
- Id *string `pulumi:"id"`
+func (i *virtualNetworkGatewayTypePtrType) ToVirtualNetworkGatewayTypePtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayTypePtrOutput)
}
-// Virtual Hub identifier.
-type VirtualHubIdResponseOutput struct{ *pulumi.OutputState }
+// A common class for general resource information.
+type VirtualNetworkGatewayTypeOutput struct{ *pulumi.OutputState }
-func (VirtualHubIdResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualHubIdResponse)(nil)).Elem()
+func (VirtualNetworkGatewayTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayType)(nil)).Elem()
}
-func (o VirtualHubIdResponseOutput) ToVirtualHubIdResponseOutput() VirtualHubIdResponseOutput {
+func (o VirtualNetworkGatewayTypeOutput) ToVirtualNetworkGatewayTypeOutput() VirtualNetworkGatewayTypeOutput {
return o
}
-func (o VirtualHubIdResponseOutput) ToVirtualHubIdResponseOutputWithContext(ctx context.Context) VirtualHubIdResponseOutput {
+func (o VirtualNetworkGatewayTypeOutput) ToVirtualNetworkGatewayTypeOutputWithContext(ctx context.Context) VirtualNetworkGatewayTypeOutput {
return o
}
-// The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
-func (o VirtualHubIdResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualHubIdResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// VirtualHub route.
-type VirtualHubRoute struct {
- // List of all addressPrefixes.
- AddressPrefixes []string `pulumi:"addressPrefixes"`
- // NextHop ip address.
- NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
+func (o VirtualNetworkGatewayTypeOutput) ToVirtualNetworkGatewayTypePtrOutput() VirtualNetworkGatewayTypePtrOutput {
+ return o.ToVirtualNetworkGatewayTypePtrOutputWithContext(context.Background())
}
-// VirtualHubRouteInput is an input type that accepts VirtualHubRouteArgs and VirtualHubRouteOutput values.
-// You can construct a concrete instance of `VirtualHubRouteInput` via:
-//
-// VirtualHubRouteArgs{...}
-type VirtualHubRouteInput interface {
- pulumi.Input
-
- ToVirtualHubRouteOutput() VirtualHubRouteOutput
- ToVirtualHubRouteOutputWithContext(context.Context) VirtualHubRouteOutput
+func (o VirtualNetworkGatewayTypeOutput) ToVirtualNetworkGatewayTypePtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayTypePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualNetworkGatewayType) *VirtualNetworkGatewayType {
+ return &v
+ }).(VirtualNetworkGatewayTypePtrOutput)
}
-// VirtualHub route.
-type VirtualHubRouteArgs struct {
- // List of all addressPrefixes.
- AddressPrefixes pulumi.StringArrayInput `pulumi:"addressPrefixes"`
- // NextHop ip address.
- NextHopIpAddress pulumi.StringPtrInput `pulumi:"nextHopIpAddress"`
+// ActiveActive flag.
+func (o VirtualNetworkGatewayTypeOutput) ActiveActive() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *bool { return v.ActiveActive }).(pulumi.BoolPtrOutput)
}
-func (VirtualHubRouteArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualHubRoute)(nil)).Elem()
+// Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
+func (o VirtualNetworkGatewayTypeOutput) AdminState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *string { return v.AdminState }).(pulumi.StringPtrOutput)
}
-func (i VirtualHubRouteArgs) ToVirtualHubRouteOutput() VirtualHubRouteOutput {
- return i.ToVirtualHubRouteOutputWithContext(context.Background())
+// Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.
+func (o VirtualNetworkGatewayTypeOutput) AllowRemoteVnetTraffic() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *bool { return v.AllowRemoteVnetTraffic }).(pulumi.BoolPtrOutput)
}
-func (i VirtualHubRouteArgs) ToVirtualHubRouteOutputWithContext(ctx context.Context) VirtualHubRouteOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteOutput)
+// Configures this gateway to accept traffic from remote Virtual WAN networks.
+func (o VirtualNetworkGatewayTypeOutput) AllowVirtualWanTraffic() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *bool { return v.AllowVirtualWanTraffic }).(pulumi.BoolPtrOutput)
}
-// VirtualHubRouteArrayInput is an input type that accepts VirtualHubRouteArray and VirtualHubRouteArrayOutput values.
-// You can construct a concrete instance of `VirtualHubRouteArrayInput` via:
-//
-// VirtualHubRouteArray{ VirtualHubRouteArgs{...} }
-type VirtualHubRouteArrayInput interface {
- pulumi.Input
-
- ToVirtualHubRouteArrayOutput() VirtualHubRouteArrayOutput
- ToVirtualHubRouteArrayOutputWithContext(context.Context) VirtualHubRouteArrayOutput
+// Autoscale configuration for virutal network gateway
+func (o VirtualNetworkGatewayTypeOutput) AutoScaleConfiguration() VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *VirtualNetworkGatewayAutoScaleConfiguration {
+ return v.AutoScaleConfiguration
+ }).(VirtualNetworkGatewayAutoScaleConfigurationPtrOutput)
}
-type VirtualHubRouteArray []VirtualHubRouteInput
-
-func (VirtualHubRouteArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualHubRoute)(nil)).Elem()
+// Virtual network gateway's BGP speaker settings.
+func (o VirtualNetworkGatewayTypeOutput) BgpSettings() BgpSettingsPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *BgpSettings { return v.BgpSettings }).(BgpSettingsPtrOutput)
}
-func (i VirtualHubRouteArray) ToVirtualHubRouteArrayOutput() VirtualHubRouteArrayOutput {
- return i.ToVirtualHubRouteArrayOutputWithContext(context.Background())
+// The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
+func (o VirtualNetworkGatewayTypeOutput) CustomRoutes() AddressSpacePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *AddressSpace { return v.CustomRoutes }).(AddressSpacePtrOutput)
}
-func (i VirtualHubRouteArray) ToVirtualHubRouteArrayOutputWithContext(ctx context.Context) VirtualHubRouteArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteArrayOutput)
+// disableIPSecReplayProtection flag.
+func (o VirtualNetworkGatewayTypeOutput) DisableIPSecReplayProtection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *bool { return v.DisableIPSecReplayProtection }).(pulumi.BoolPtrOutput)
}
-// VirtualHub route.
-type VirtualHubRouteOutput struct{ *pulumi.OutputState }
-
-func (VirtualHubRouteOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualHubRoute)(nil)).Elem()
+// Whether BGP is enabled for this virtual network gateway or not.
+func (o VirtualNetworkGatewayTypeOutput) EnableBgp() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *bool { return v.EnableBgp }).(pulumi.BoolPtrOutput)
}
-func (o VirtualHubRouteOutput) ToVirtualHubRouteOutput() VirtualHubRouteOutput {
- return o
+// EnableBgpRouteTranslationForNat flag.
+func (o VirtualNetworkGatewayTypeOutput) EnableBgpRouteTranslationForNat() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *bool { return v.EnableBgpRouteTranslationForNat }).(pulumi.BoolPtrOutput)
}
-func (o VirtualHubRouteOutput) ToVirtualHubRouteOutputWithContext(ctx context.Context) VirtualHubRouteOutput {
- return o
+// Whether dns forwarding is enabled or not.
+func (o VirtualNetworkGatewayTypeOutput) EnableDnsForwarding() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *bool { return v.EnableDnsForwarding }).(pulumi.BoolPtrOutput)
}
-// List of all addressPrefixes.
-func (o VirtualHubRouteOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v VirtualHubRoute) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+// Whether private IP needs to be enabled on this gateway for connections or not.
+func (o VirtualNetworkGatewayTypeOutput) EnablePrivateIpAddress() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *bool { return v.EnablePrivateIpAddress }).(pulumi.BoolPtrOutput)
}
-// NextHop ip address.
-func (o VirtualHubRouteOutput) NextHopIpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualHubRoute) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
+// The extended location of type local virtual network gateway.
+func (o VirtualNetworkGatewayTypeOutput) ExtendedLocation() ExtendedLocationPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *ExtendedLocation { return v.ExtendedLocation }).(ExtendedLocationPtrOutput)
}
-type VirtualHubRouteArrayOutput struct{ *pulumi.OutputState }
-
-func (VirtualHubRouteArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualHubRoute)(nil)).Elem()
+// The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
+func (o VirtualNetworkGatewayTypeOutput) GatewayDefaultSite() SubResourcePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *SubResource { return v.GatewayDefaultSite }).(SubResourcePtrOutput)
}
-func (o VirtualHubRouteArrayOutput) ToVirtualHubRouteArrayOutput() VirtualHubRouteArrayOutput {
- return o
+// The type of this virtual network gateway.
+func (o VirtualNetworkGatewayTypeOutput) GatewayType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *string { return v.GatewayType }).(pulumi.StringPtrOutput)
}
-func (o VirtualHubRouteArrayOutput) ToVirtualHubRouteArrayOutputWithContext(ctx context.Context) VirtualHubRouteArrayOutput {
- return o
+// Resource ID.
+func (o VirtualNetworkGatewayTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o VirtualHubRouteArrayOutput) Index(i pulumi.IntInput) VirtualHubRouteOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualHubRoute {
- return vs[0].([]VirtualHubRoute)[vs[1].(int)]
- }).(VirtualHubRouteOutput)
+// The identity of the virtual network gateway, if configured.
+func (o VirtualNetworkGatewayTypeOutput) Identity() ManagedServiceIdentityPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *ManagedServiceIdentity { return v.Identity }).(ManagedServiceIdentityPtrOutput)
}
-// VirtualHub route.
-type VirtualHubRouteResponse struct {
- // List of all addressPrefixes.
- AddressPrefixes []string `pulumi:"addressPrefixes"`
- // NextHop ip address.
- NextHopIpAddress *string `pulumi:"nextHopIpAddress"`
+// IP configurations for virtual network gateway.
+func (o VirtualNetworkGatewayTypeOutput) IpConfigurations() VirtualNetworkGatewayIPConfigurationArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) []VirtualNetworkGatewayIPConfiguration { return v.IpConfigurations }).(VirtualNetworkGatewayIPConfigurationArrayOutput)
}
-// VirtualHub route.
-type VirtualHubRouteResponseOutput struct{ *pulumi.OutputState }
-
-func (VirtualHubRouteResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualHubRouteResponse)(nil)).Elem()
+// Resource location.
+func (o VirtualNetworkGatewayTypeOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o VirtualHubRouteResponseOutput) ToVirtualHubRouteResponseOutput() VirtualHubRouteResponseOutput {
- return o
+// NatRules for virtual network gateway.
+func (o VirtualNetworkGatewayTypeOutput) NatRules() VirtualNetworkGatewayNatRuleTypeArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) []VirtualNetworkGatewayNatRuleType { return v.NatRules }).(VirtualNetworkGatewayNatRuleTypeArrayOutput)
}
-func (o VirtualHubRouteResponseOutput) ToVirtualHubRouteResponseOutputWithContext(ctx context.Context) VirtualHubRouteResponseOutput {
- return o
+// Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed
+func (o VirtualNetworkGatewayTypeOutput) ResiliencyModel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *string { return v.ResiliencyModel }).(pulumi.StringPtrOutput)
}
-// List of all addressPrefixes.
-func (o VirtualHubRouteResponseOutput) AddressPrefixes() pulumi.StringArrayOutput {
- return o.ApplyT(func(v VirtualHubRouteResponse) []string { return v.AddressPrefixes }).(pulumi.StringArrayOutput)
+// The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
+func (o VirtualNetworkGatewayTypeOutput) Sku() VirtualNetworkGatewaySkuPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *VirtualNetworkGatewaySku { return v.Sku }).(VirtualNetworkGatewaySkuPtrOutput)
}
-// NextHop ip address.
-func (o VirtualHubRouteResponseOutput) NextHopIpAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualHubRouteResponse) *string { return v.NextHopIpAddress }).(pulumi.StringPtrOutput)
+// Resource tags.
+func (o VirtualNetworkGatewayTypeOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-type VirtualHubRouteResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (VirtualHubRouteResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualHubRouteResponse)(nil)).Elem()
+// Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
+func (o VirtualNetworkGatewayTypeOutput) VNetExtendedLocationResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *string { return v.VNetExtendedLocationResourceId }).(pulumi.StringPtrOutput)
}
-func (o VirtualHubRouteResponseArrayOutput) ToVirtualHubRouteResponseArrayOutput() VirtualHubRouteResponseArrayOutput {
- return o
+// The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.
+func (o VirtualNetworkGatewayTypeOutput) VirtualNetworkGatewayPolicyGroups() VirtualNetworkGatewayPolicyGroupArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) []VirtualNetworkGatewayPolicyGroup {
+ return v.VirtualNetworkGatewayPolicyGroups
+ }).(VirtualNetworkGatewayPolicyGroupArrayOutput)
}
-func (o VirtualHubRouteResponseArrayOutput) ToVirtualHubRouteResponseArrayOutputWithContext(ctx context.Context) VirtualHubRouteResponseArrayOutput {
- return o
+// The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
+func (o VirtualNetworkGatewayTypeOutput) VpnClientConfiguration() VpnClientConfigurationPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *VpnClientConfiguration { return v.VpnClientConfiguration }).(VpnClientConfigurationPtrOutput)
}
-func (o VirtualHubRouteResponseArrayOutput) Index(i pulumi.IntInput) VirtualHubRouteResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualHubRouteResponse {
- return vs[0].([]VirtualHubRouteResponse)[vs[1].(int)]
- }).(VirtualHubRouteResponseOutput)
+// The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
+func (o VirtualNetworkGatewayTypeOutput) VpnGatewayGeneration() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *string { return v.VpnGatewayGeneration }).(pulumi.StringPtrOutput)
}
-// VirtualHub route table.
-type VirtualHubRouteTable struct {
- // List of all routes.
- Routes []VirtualHubRoute `pulumi:"routes"`
+// The type of this virtual network gateway.
+func (o VirtualNetworkGatewayTypeOutput) VpnType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayType) *string { return v.VpnType }).(pulumi.StringPtrOutput)
}
-// VirtualHubRouteTableInput is an input type that accepts VirtualHubRouteTableArgs and VirtualHubRouteTableOutput values.
-// You can construct a concrete instance of `VirtualHubRouteTableInput` via:
-//
-// VirtualHubRouteTableArgs{...}
-type VirtualHubRouteTableInput interface {
- pulumi.Input
+type VirtualNetworkGatewayTypePtrOutput struct{ *pulumi.OutputState }
- ToVirtualHubRouteTableOutput() VirtualHubRouteTableOutput
- ToVirtualHubRouteTableOutputWithContext(context.Context) VirtualHubRouteTableOutput
+func (VirtualNetworkGatewayTypePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkGatewayType)(nil)).Elem()
}
-// VirtualHub route table.
-type VirtualHubRouteTableArgs struct {
- // List of all routes.
- Routes VirtualHubRouteArrayInput `pulumi:"routes"`
+func (o VirtualNetworkGatewayTypePtrOutput) ToVirtualNetworkGatewayTypePtrOutput() VirtualNetworkGatewayTypePtrOutput {
+ return o
}
-func (VirtualHubRouteTableArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualHubRouteTable)(nil)).Elem()
+func (o VirtualNetworkGatewayTypePtrOutput) ToVirtualNetworkGatewayTypePtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayTypePtrOutput {
+ return o
}
-func (i VirtualHubRouteTableArgs) ToVirtualHubRouteTableOutput() VirtualHubRouteTableOutput {
- return i.ToVirtualHubRouteTableOutputWithContext(context.Background())
+func (o VirtualNetworkGatewayTypePtrOutput) Elem() VirtualNetworkGatewayTypeOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) VirtualNetworkGatewayType {
+ if v != nil {
+ return *v
+ }
+ var ret VirtualNetworkGatewayType
+ return ret
+ }).(VirtualNetworkGatewayTypeOutput)
}
-func (i VirtualHubRouteTableArgs) ToVirtualHubRouteTableOutputWithContext(ctx context.Context) VirtualHubRouteTableOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteTableOutput)
+// ActiveActive flag.
+func (o VirtualNetworkGatewayTypePtrOutput) ActiveActive() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.ActiveActive
+ }).(pulumi.BoolPtrOutput)
}
-func (i VirtualHubRouteTableArgs) ToVirtualHubRouteTablePtrOutput() VirtualHubRouteTablePtrOutput {
- return i.ToVirtualHubRouteTablePtrOutputWithContext(context.Background())
+// Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
+func (o VirtualNetworkGatewayTypePtrOutput) AdminState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.AdminState
+ }).(pulumi.StringPtrOutput)
}
-func (i VirtualHubRouteTableArgs) ToVirtualHubRouteTablePtrOutputWithContext(ctx context.Context) VirtualHubRouteTablePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteTableOutput).ToVirtualHubRouteTablePtrOutputWithContext(ctx)
+// Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.
+func (o VirtualNetworkGatewayTypePtrOutput) AllowRemoteVnetTraffic() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.AllowRemoteVnetTraffic
+ }).(pulumi.BoolPtrOutput)
}
-// VirtualHubRouteTablePtrInput is an input type that accepts VirtualHubRouteTableArgs, VirtualHubRouteTablePtr and VirtualHubRouteTablePtrOutput values.
-// You can construct a concrete instance of `VirtualHubRouteTablePtrInput` via:
-//
-// VirtualHubRouteTableArgs{...}
-//
-// or:
-//
-// nil
-type VirtualHubRouteTablePtrInput interface {
- pulumi.Input
-
- ToVirtualHubRouteTablePtrOutput() VirtualHubRouteTablePtrOutput
- ToVirtualHubRouteTablePtrOutputWithContext(context.Context) VirtualHubRouteTablePtrOutput
+// Configures this gateway to accept traffic from remote Virtual WAN networks.
+func (o VirtualNetworkGatewayTypePtrOutput) AllowVirtualWanTraffic() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.AllowVirtualWanTraffic
+ }).(pulumi.BoolPtrOutput)
}
-type virtualHubRouteTablePtrType VirtualHubRouteTableArgs
-
-func VirtualHubRouteTablePtr(v *VirtualHubRouteTableArgs) VirtualHubRouteTablePtrInput {
- return (*virtualHubRouteTablePtrType)(v)
+// Autoscale configuration for virutal network gateway
+func (o VirtualNetworkGatewayTypePtrOutput) AutoScaleConfiguration() VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *VirtualNetworkGatewayAutoScaleConfiguration {
+ if v == nil {
+ return nil
+ }
+ return v.AutoScaleConfiguration
+ }).(VirtualNetworkGatewayAutoScaleConfigurationPtrOutput)
}
-func (*virtualHubRouteTablePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualHubRouteTable)(nil)).Elem()
+// Virtual network gateway's BGP speaker settings.
+func (o VirtualNetworkGatewayTypePtrOutput) BgpSettings() BgpSettingsPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *BgpSettings {
+ if v == nil {
+ return nil
+ }
+ return v.BgpSettings
+ }).(BgpSettingsPtrOutput)
}
-func (i *virtualHubRouteTablePtrType) ToVirtualHubRouteTablePtrOutput() VirtualHubRouteTablePtrOutput {
- return i.ToVirtualHubRouteTablePtrOutputWithContext(context.Background())
+// The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
+func (o VirtualNetworkGatewayTypePtrOutput) CustomRoutes() AddressSpacePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *AddressSpace {
+ if v == nil {
+ return nil
+ }
+ return v.CustomRoutes
+ }).(AddressSpacePtrOutput)
}
-func (i *virtualHubRouteTablePtrType) ToVirtualHubRouteTablePtrOutputWithContext(ctx context.Context) VirtualHubRouteTablePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteTablePtrOutput)
+// disableIPSecReplayProtection flag.
+func (o VirtualNetworkGatewayTypePtrOutput) DisableIPSecReplayProtection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DisableIPSecReplayProtection
+ }).(pulumi.BoolPtrOutput)
}
-// VirtualHub route table.
-type VirtualHubRouteTableOutput struct{ *pulumi.OutputState }
-
-func (VirtualHubRouteTableOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualHubRouteTable)(nil)).Elem()
+// Whether BGP is enabled for this virtual network gateway or not.
+func (o VirtualNetworkGatewayTypePtrOutput) EnableBgp() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnableBgp
+ }).(pulumi.BoolPtrOutput)
}
-func (o VirtualHubRouteTableOutput) ToVirtualHubRouteTableOutput() VirtualHubRouteTableOutput {
- return o
+// EnableBgpRouteTranslationForNat flag.
+func (o VirtualNetworkGatewayTypePtrOutput) EnableBgpRouteTranslationForNat() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnableBgpRouteTranslationForNat
+ }).(pulumi.BoolPtrOutput)
}
-func (o VirtualHubRouteTableOutput) ToVirtualHubRouteTableOutputWithContext(ctx context.Context) VirtualHubRouteTableOutput {
- return o
+// Whether dns forwarding is enabled or not.
+func (o VirtualNetworkGatewayTypePtrOutput) EnableDnsForwarding() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnableDnsForwarding
+ }).(pulumi.BoolPtrOutput)
}
-func (o VirtualHubRouteTableOutput) ToVirtualHubRouteTablePtrOutput() VirtualHubRouteTablePtrOutput {
- return o.ToVirtualHubRouteTablePtrOutputWithContext(context.Background())
+// Whether private IP needs to be enabled on this gateway for connections or not.
+func (o VirtualNetworkGatewayTypePtrOutput) EnablePrivateIpAddress() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnablePrivateIpAddress
+ }).(pulumi.BoolPtrOutput)
}
-func (o VirtualHubRouteTableOutput) ToVirtualHubRouteTablePtrOutputWithContext(ctx context.Context) VirtualHubRouteTablePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualHubRouteTable) *VirtualHubRouteTable {
- return &v
- }).(VirtualHubRouteTablePtrOutput)
+// The extended location of type local virtual network gateway.
+func (o VirtualNetworkGatewayTypePtrOutput) ExtendedLocation() ExtendedLocationPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *ExtendedLocation {
+ if v == nil {
+ return nil
+ }
+ return v.ExtendedLocation
+ }).(ExtendedLocationPtrOutput)
}
-// List of all routes.
-func (o VirtualHubRouteTableOutput) Routes() VirtualHubRouteArrayOutput {
- return o.ApplyT(func(v VirtualHubRouteTable) []VirtualHubRoute { return v.Routes }).(VirtualHubRouteArrayOutput)
+// The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
+func (o VirtualNetworkGatewayTypePtrOutput) GatewayDefaultSite() SubResourcePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *SubResource {
+ if v == nil {
+ return nil
+ }
+ return v.GatewayDefaultSite
+ }).(SubResourcePtrOutput)
}
-type VirtualHubRouteTablePtrOutput struct{ *pulumi.OutputState }
-
-func (VirtualHubRouteTablePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualHubRouteTable)(nil)).Elem()
+// The type of this virtual network gateway.
+func (o VirtualNetworkGatewayTypePtrOutput) GatewayType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.GatewayType
+ }).(pulumi.StringPtrOutput)
}
-func (o VirtualHubRouteTablePtrOutput) ToVirtualHubRouteTablePtrOutput() VirtualHubRouteTablePtrOutput {
- return o
+// Resource ID.
+func (o VirtualNetworkGatewayTypePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-func (o VirtualHubRouteTablePtrOutput) ToVirtualHubRouteTablePtrOutputWithContext(ctx context.Context) VirtualHubRouteTablePtrOutput {
- return o
+// The identity of the virtual network gateway, if configured.
+func (o VirtualNetworkGatewayTypePtrOutput) Identity() ManagedServiceIdentityPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *ManagedServiceIdentity {
+ if v == nil {
+ return nil
+ }
+ return v.Identity
+ }).(ManagedServiceIdentityPtrOutput)
}
-func (o VirtualHubRouteTablePtrOutput) Elem() VirtualHubRouteTableOutput {
- return o.ApplyT(func(v *VirtualHubRouteTable) VirtualHubRouteTable {
- if v != nil {
- return *v
+// IP configurations for virtual network gateway.
+func (o VirtualNetworkGatewayTypePtrOutput) IpConfigurations() VirtualNetworkGatewayIPConfigurationArrayOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) []VirtualNetworkGatewayIPConfiguration {
+ if v == nil {
+ return nil
}
- var ret VirtualHubRouteTable
- return ret
- }).(VirtualHubRouteTableOutput)
+ return v.IpConfigurations
+ }).(VirtualNetworkGatewayIPConfigurationArrayOutput)
}
-// List of all routes.
-func (o VirtualHubRouteTablePtrOutput) Routes() VirtualHubRouteArrayOutput {
- return o.ApplyT(func(v *VirtualHubRouteTable) []VirtualHubRoute {
+// Resource location.
+func (o VirtualNetworkGatewayTypePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *string {
if v == nil {
return nil
}
- return v.Routes
- }).(VirtualHubRouteArrayOutput)
-}
-
-// VirtualHub route table.
-type VirtualHubRouteTableResponse struct {
- // List of all routes.
- Routes []VirtualHubRouteResponse `pulumi:"routes"`
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-// VirtualHub route table.
-type VirtualHubRouteTableResponseOutput struct{ *pulumi.OutputState }
-
-func (VirtualHubRouteTableResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualHubRouteTableResponse)(nil)).Elem()
+// NatRules for virtual network gateway.
+func (o VirtualNetworkGatewayTypePtrOutput) NatRules() VirtualNetworkGatewayNatRuleTypeArrayOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) []VirtualNetworkGatewayNatRuleType {
+ if v == nil {
+ return nil
+ }
+ return v.NatRules
+ }).(VirtualNetworkGatewayNatRuleTypeArrayOutput)
}
-func (o VirtualHubRouteTableResponseOutput) ToVirtualHubRouteTableResponseOutput() VirtualHubRouteTableResponseOutput {
- return o
+// Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed
+func (o VirtualNetworkGatewayTypePtrOutput) ResiliencyModel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ResiliencyModel
+ }).(pulumi.StringPtrOutput)
}
-func (o VirtualHubRouteTableResponseOutput) ToVirtualHubRouteTableResponseOutputWithContext(ctx context.Context) VirtualHubRouteTableResponseOutput {
- return o
+// The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
+func (o VirtualNetworkGatewayTypePtrOutput) Sku() VirtualNetworkGatewaySkuPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *VirtualNetworkGatewaySku {
+ if v == nil {
+ return nil
+ }
+ return v.Sku
+ }).(VirtualNetworkGatewaySkuPtrOutput)
}
-// List of all routes.
-func (o VirtualHubRouteTableResponseOutput) Routes() VirtualHubRouteResponseArrayOutput {
- return o.ApplyT(func(v VirtualHubRouteTableResponse) []VirtualHubRouteResponse { return v.Routes }).(VirtualHubRouteResponseArrayOutput)
+// Resource tags.
+func (o VirtualNetworkGatewayTypePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-type VirtualHubRouteTableResponsePtrOutput struct{ *pulumi.OutputState }
-
-func (VirtualHubRouteTableResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualHubRouteTableResponse)(nil)).Elem()
+// Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
+func (o VirtualNetworkGatewayTypePtrOutput) VNetExtendedLocationResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *string {
+ if v == nil {
+ return nil
+ }
+ return v.VNetExtendedLocationResourceId
+ }).(pulumi.StringPtrOutput)
}
-func (o VirtualHubRouteTableResponsePtrOutput) ToVirtualHubRouteTableResponsePtrOutput() VirtualHubRouteTableResponsePtrOutput {
- return o
+// The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.
+func (o VirtualNetworkGatewayTypePtrOutput) VirtualNetworkGatewayPolicyGroups() VirtualNetworkGatewayPolicyGroupArrayOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) []VirtualNetworkGatewayPolicyGroup {
+ if v == nil {
+ return nil
+ }
+ return v.VirtualNetworkGatewayPolicyGroups
+ }).(VirtualNetworkGatewayPolicyGroupArrayOutput)
}
-func (o VirtualHubRouteTableResponsePtrOutput) ToVirtualHubRouteTableResponsePtrOutputWithContext(ctx context.Context) VirtualHubRouteTableResponsePtrOutput {
- return o
+// The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
+func (o VirtualNetworkGatewayTypePtrOutput) VpnClientConfiguration() VpnClientConfigurationPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *VpnClientConfiguration {
+ if v == nil {
+ return nil
+ }
+ return v.VpnClientConfiguration
+ }).(VpnClientConfigurationPtrOutput)
}
-func (o VirtualHubRouteTableResponsePtrOutput) Elem() VirtualHubRouteTableResponseOutput {
- return o.ApplyT(func(v *VirtualHubRouteTableResponse) VirtualHubRouteTableResponse {
- if v != nil {
- return *v
+// The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
+func (o VirtualNetworkGatewayTypePtrOutput) VpnGatewayGeneration() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *string {
+ if v == nil {
+ return nil
}
- var ret VirtualHubRouteTableResponse
- return ret
- }).(VirtualHubRouteTableResponseOutput)
+ return v.VpnGatewayGeneration
+ }).(pulumi.StringPtrOutput)
}
-// List of all routes.
-func (o VirtualHubRouteTableResponsePtrOutput) Routes() VirtualHubRouteResponseArrayOutput {
- return o.ApplyT(func(v *VirtualHubRouteTableResponse) []VirtualHubRouteResponse {
+// The type of this virtual network gateway.
+func (o VirtualNetworkGatewayTypePtrOutput) VpnType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayType) *string {
if v == nil {
return nil
}
- return v.Routes
- }).(VirtualHubRouteResponseArrayOutput)
+ return v.VpnType
+ }).(pulumi.StringPtrOutput)
}
-// VirtualHubRouteTableV2 Resource.
-type VirtualHubRouteTableV2Type struct {
- // List of all connections attached to this route table v2.
- AttachedConnections []string `pulumi:"attachedConnections"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // List of all routes.
- Routes []VirtualHubRouteV2 `pulumi:"routes"`
+type VirtualNetworkGatewayAutoScaleBounds struct {
+ // Maximum Scale Units for Autoscale configuration
+ Max *int `pulumi:"max"`
+ // Minimum scale Units for Autoscale configuration
+ Min *int `pulumi:"min"`
}
-// VirtualHubRouteTableV2TypeInput is an input type that accepts VirtualHubRouteTableV2TypeArgs and VirtualHubRouteTableV2TypeOutput values.
-// You can construct a concrete instance of `VirtualHubRouteTableV2TypeInput` via:
+// VirtualNetworkGatewayAutoScaleBoundsInput is an input type that accepts VirtualNetworkGatewayAutoScaleBoundsArgs and VirtualNetworkGatewayAutoScaleBoundsOutput values.
+// You can construct a concrete instance of `VirtualNetworkGatewayAutoScaleBoundsInput` via:
//
-// VirtualHubRouteTableV2TypeArgs{...}
-type VirtualHubRouteTableV2TypeInput interface {
+// VirtualNetworkGatewayAutoScaleBoundsArgs{...}
+type VirtualNetworkGatewayAutoScaleBoundsInput interface {
pulumi.Input
- ToVirtualHubRouteTableV2TypeOutput() VirtualHubRouteTableV2TypeOutput
- ToVirtualHubRouteTableV2TypeOutputWithContext(context.Context) VirtualHubRouteTableV2TypeOutput
+ ToVirtualNetworkGatewayAutoScaleBoundsOutput() VirtualNetworkGatewayAutoScaleBoundsOutput
+ ToVirtualNetworkGatewayAutoScaleBoundsOutputWithContext(context.Context) VirtualNetworkGatewayAutoScaleBoundsOutput
}
-// VirtualHubRouteTableV2 Resource.
-type VirtualHubRouteTableV2TypeArgs struct {
- // List of all connections attached to this route table v2.
- AttachedConnections pulumi.StringArrayInput `pulumi:"attachedConnections"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // List of all routes.
- Routes VirtualHubRouteV2ArrayInput `pulumi:"routes"`
+type VirtualNetworkGatewayAutoScaleBoundsArgs struct {
+ // Maximum Scale Units for Autoscale configuration
+ Max pulumi.IntPtrInput `pulumi:"max"`
+ // Minimum scale Units for Autoscale configuration
+ Min pulumi.IntPtrInput `pulumi:"min"`
}
-func (VirtualHubRouteTableV2TypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualHubRouteTableV2Type)(nil)).Elem()
+func (VirtualNetworkGatewayAutoScaleBoundsArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayAutoScaleBounds)(nil)).Elem()
}
-func (i VirtualHubRouteTableV2TypeArgs) ToVirtualHubRouteTableV2TypeOutput() VirtualHubRouteTableV2TypeOutput {
- return i.ToVirtualHubRouteTableV2TypeOutputWithContext(context.Background())
+func (i VirtualNetworkGatewayAutoScaleBoundsArgs) ToVirtualNetworkGatewayAutoScaleBoundsOutput() VirtualNetworkGatewayAutoScaleBoundsOutput {
+ return i.ToVirtualNetworkGatewayAutoScaleBoundsOutputWithContext(context.Background())
}
-func (i VirtualHubRouteTableV2TypeArgs) ToVirtualHubRouteTableV2TypeOutputWithContext(ctx context.Context) VirtualHubRouteTableV2TypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteTableV2TypeOutput)
+func (i VirtualNetworkGatewayAutoScaleBoundsArgs) ToVirtualNetworkGatewayAutoScaleBoundsOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleBoundsOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayAutoScaleBoundsOutput)
}
-// VirtualHubRouteTableV2TypeArrayInput is an input type that accepts VirtualHubRouteTableV2TypeArray and VirtualHubRouteTableV2TypeArrayOutput values.
-// You can construct a concrete instance of `VirtualHubRouteTableV2TypeArrayInput` via:
+func (i VirtualNetworkGatewayAutoScaleBoundsArgs) ToVirtualNetworkGatewayAutoScaleBoundsPtrOutput() VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
+ return i.ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(context.Background())
+}
+
+func (i VirtualNetworkGatewayAutoScaleBoundsArgs) ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayAutoScaleBoundsOutput).ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(ctx)
+}
+
+// VirtualNetworkGatewayAutoScaleBoundsPtrInput is an input type that accepts VirtualNetworkGatewayAutoScaleBoundsArgs, VirtualNetworkGatewayAutoScaleBoundsPtr and VirtualNetworkGatewayAutoScaleBoundsPtrOutput values.
+// You can construct a concrete instance of `VirtualNetworkGatewayAutoScaleBoundsPtrInput` via:
//
-// VirtualHubRouteTableV2TypeArray{ VirtualHubRouteTableV2TypeArgs{...} }
-type VirtualHubRouteTableV2TypeArrayInput interface {
+// VirtualNetworkGatewayAutoScaleBoundsArgs{...}
+//
+// or:
+//
+// nil
+type VirtualNetworkGatewayAutoScaleBoundsPtrInput interface {
pulumi.Input
- ToVirtualHubRouteTableV2TypeArrayOutput() VirtualHubRouteTableV2TypeArrayOutput
- ToVirtualHubRouteTableV2TypeArrayOutputWithContext(context.Context) VirtualHubRouteTableV2TypeArrayOutput
+ ToVirtualNetworkGatewayAutoScaleBoundsPtrOutput() VirtualNetworkGatewayAutoScaleBoundsPtrOutput
+ ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(context.Context) VirtualNetworkGatewayAutoScaleBoundsPtrOutput
}
-type VirtualHubRouteTableV2TypeArray []VirtualHubRouteTableV2TypeInput
+type virtualNetworkGatewayAutoScaleBoundsPtrType VirtualNetworkGatewayAutoScaleBoundsArgs
-func (VirtualHubRouteTableV2TypeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualHubRouteTableV2Type)(nil)).Elem()
+func VirtualNetworkGatewayAutoScaleBoundsPtr(v *VirtualNetworkGatewayAutoScaleBoundsArgs) VirtualNetworkGatewayAutoScaleBoundsPtrInput {
+ return (*virtualNetworkGatewayAutoScaleBoundsPtrType)(v)
}
-func (i VirtualHubRouteTableV2TypeArray) ToVirtualHubRouteTableV2TypeArrayOutput() VirtualHubRouteTableV2TypeArrayOutput {
- return i.ToVirtualHubRouteTableV2TypeArrayOutputWithContext(context.Background())
+func (*virtualNetworkGatewayAutoScaleBoundsPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkGatewayAutoScaleBounds)(nil)).Elem()
}
-func (i VirtualHubRouteTableV2TypeArray) ToVirtualHubRouteTableV2TypeArrayOutputWithContext(ctx context.Context) VirtualHubRouteTableV2TypeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteTableV2TypeArrayOutput)
+func (i *virtualNetworkGatewayAutoScaleBoundsPtrType) ToVirtualNetworkGatewayAutoScaleBoundsPtrOutput() VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
+ return i.ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(context.Background())
}
-// VirtualHubRouteTableV2 Resource.
-type VirtualHubRouteTableV2TypeOutput struct{ *pulumi.OutputState }
+func (i *virtualNetworkGatewayAutoScaleBoundsPtrType) ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayAutoScaleBoundsPtrOutput)
+}
-func (VirtualHubRouteTableV2TypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualHubRouteTableV2Type)(nil)).Elem()
+type VirtualNetworkGatewayAutoScaleBoundsOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkGatewayAutoScaleBoundsOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayAutoScaleBounds)(nil)).Elem()
}
-func (o VirtualHubRouteTableV2TypeOutput) ToVirtualHubRouteTableV2TypeOutput() VirtualHubRouteTableV2TypeOutput {
+func (o VirtualNetworkGatewayAutoScaleBoundsOutput) ToVirtualNetworkGatewayAutoScaleBoundsOutput() VirtualNetworkGatewayAutoScaleBoundsOutput {
return o
}
-func (o VirtualHubRouteTableV2TypeOutput) ToVirtualHubRouteTableV2TypeOutputWithContext(ctx context.Context) VirtualHubRouteTableV2TypeOutput {
+func (o VirtualNetworkGatewayAutoScaleBoundsOutput) ToVirtualNetworkGatewayAutoScaleBoundsOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleBoundsOutput {
return o
}
-// List of all connections attached to this route table v2.
-func (o VirtualHubRouteTableV2TypeOutput) AttachedConnections() pulumi.StringArrayOutput {
- return o.ApplyT(func(v VirtualHubRouteTableV2Type) []string { return v.AttachedConnections }).(pulumi.StringArrayOutput)
+func (o VirtualNetworkGatewayAutoScaleBoundsOutput) ToVirtualNetworkGatewayAutoScaleBoundsPtrOutput() VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
+ return o.ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(context.Background())
}
-// Resource ID.
-func (o VirtualHubRouteTableV2TypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualHubRouteTableV2Type) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkGatewayAutoScaleBoundsOutput) ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualNetworkGatewayAutoScaleBounds) *VirtualNetworkGatewayAutoScaleBounds {
+ return &v
+ }).(VirtualNetworkGatewayAutoScaleBoundsPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o VirtualHubRouteTableV2TypeOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualHubRouteTableV2Type) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Maximum Scale Units for Autoscale configuration
+func (o VirtualNetworkGatewayAutoScaleBoundsOutput) Max() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayAutoScaleBounds) *int { return v.Max }).(pulumi.IntPtrOutput)
}
-// List of all routes.
-func (o VirtualHubRouteTableV2TypeOutput) Routes() VirtualHubRouteV2ArrayOutput {
- return o.ApplyT(func(v VirtualHubRouteTableV2Type) []VirtualHubRouteV2 { return v.Routes }).(VirtualHubRouteV2ArrayOutput)
+// Minimum scale Units for Autoscale configuration
+func (o VirtualNetworkGatewayAutoScaleBoundsOutput) Min() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayAutoScaleBounds) *int { return v.Min }).(pulumi.IntPtrOutput)
}
-type VirtualHubRouteTableV2TypeArrayOutput struct{ *pulumi.OutputState }
+type VirtualNetworkGatewayAutoScaleBoundsPtrOutput struct{ *pulumi.OutputState }
-func (VirtualHubRouteTableV2TypeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualHubRouteTableV2Type)(nil)).Elem()
+func (VirtualNetworkGatewayAutoScaleBoundsPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkGatewayAutoScaleBounds)(nil)).Elem()
}
-func (o VirtualHubRouteTableV2TypeArrayOutput) ToVirtualHubRouteTableV2TypeArrayOutput() VirtualHubRouteTableV2TypeArrayOutput {
+func (o VirtualNetworkGatewayAutoScaleBoundsPtrOutput) ToVirtualNetworkGatewayAutoScaleBoundsPtrOutput() VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
return o
}
-func (o VirtualHubRouteTableV2TypeArrayOutput) ToVirtualHubRouteTableV2TypeArrayOutputWithContext(ctx context.Context) VirtualHubRouteTableV2TypeArrayOutput {
+func (o VirtualNetworkGatewayAutoScaleBoundsPtrOutput) ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
return o
}
-func (o VirtualHubRouteTableV2TypeArrayOutput) Index(i pulumi.IntInput) VirtualHubRouteTableV2TypeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualHubRouteTableV2Type {
- return vs[0].([]VirtualHubRouteTableV2Type)[vs[1].(int)]
- }).(VirtualHubRouteTableV2TypeOutput)
-}
-
-// VirtualHubRouteTableV2 Resource.
-type VirtualHubRouteTableV2Response struct {
- // List of all connections attached to this route table v2.
- AttachedConnections []string `pulumi:"attachedConnections"`
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the virtual hub route table v2 resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // List of all routes.
- Routes []VirtualHubRouteV2Response `pulumi:"routes"`
+func (o VirtualNetworkGatewayAutoScaleBoundsPtrOutput) Elem() VirtualNetworkGatewayAutoScaleBoundsOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleBounds) VirtualNetworkGatewayAutoScaleBounds {
+ if v != nil {
+ return *v
+ }
+ var ret VirtualNetworkGatewayAutoScaleBounds
+ return ret
+ }).(VirtualNetworkGatewayAutoScaleBoundsOutput)
}
-// VirtualHubRouteTableV2 Resource.
-type VirtualHubRouteTableV2ResponseOutput struct{ *pulumi.OutputState }
-
-func (VirtualHubRouteTableV2ResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualHubRouteTableV2Response)(nil)).Elem()
+// Maximum Scale Units for Autoscale configuration
+func (o VirtualNetworkGatewayAutoScaleBoundsPtrOutput) Max() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleBounds) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Max
+ }).(pulumi.IntPtrOutput)
}
-func (o VirtualHubRouteTableV2ResponseOutput) ToVirtualHubRouteTableV2ResponseOutput() VirtualHubRouteTableV2ResponseOutput {
- return o
+// Minimum scale Units for Autoscale configuration
+func (o VirtualNetworkGatewayAutoScaleBoundsPtrOutput) Min() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleBounds) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Min
+ }).(pulumi.IntPtrOutput)
}
-func (o VirtualHubRouteTableV2ResponseOutput) ToVirtualHubRouteTableV2ResponseOutputWithContext(ctx context.Context) VirtualHubRouteTableV2ResponseOutput {
- return o
+type VirtualNetworkGatewayAutoScaleBoundsResponse struct {
+ // Maximum Scale Units for Autoscale configuration
+ Max *int `pulumi:"max"`
+ // Minimum scale Units for Autoscale configuration
+ Min *int `pulumi:"min"`
}
-// List of all connections attached to this route table v2.
-func (o VirtualHubRouteTableV2ResponseOutput) AttachedConnections() pulumi.StringArrayOutput {
- return o.ApplyT(func(v VirtualHubRouteTableV2Response) []string { return v.AttachedConnections }).(pulumi.StringArrayOutput)
-}
+type VirtualNetworkGatewayAutoScaleBoundsResponseOutput struct{ *pulumi.OutputState }
-// A unique read-only string that changes whenever the resource is updated.
-func (o VirtualHubRouteTableV2ResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualHubRouteTableV2Response) string { return v.Etag }).(pulumi.StringOutput)
+func (VirtualNetworkGatewayAutoScaleBoundsResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayAutoScaleBoundsResponse)(nil)).Elem()
}
-// Resource ID.
-func (o VirtualHubRouteTableV2ResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualHubRouteTableV2Response) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkGatewayAutoScaleBoundsResponseOutput) ToVirtualNetworkGatewayAutoScaleBoundsResponseOutput() VirtualNetworkGatewayAutoScaleBoundsResponseOutput {
+ return o
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o VirtualHubRouteTableV2ResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualHubRouteTableV2Response) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkGatewayAutoScaleBoundsResponseOutput) ToVirtualNetworkGatewayAutoScaleBoundsResponseOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleBoundsResponseOutput {
+ return o
}
-// The provisioning state of the virtual hub route table v2 resource.
-func (o VirtualHubRouteTableV2ResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualHubRouteTableV2Response) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Maximum Scale Units for Autoscale configuration
+func (o VirtualNetworkGatewayAutoScaleBoundsResponseOutput) Max() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayAutoScaleBoundsResponse) *int { return v.Max }).(pulumi.IntPtrOutput)
}
-// List of all routes.
-func (o VirtualHubRouteTableV2ResponseOutput) Routes() VirtualHubRouteV2ResponseArrayOutput {
- return o.ApplyT(func(v VirtualHubRouteTableV2Response) []VirtualHubRouteV2Response { return v.Routes }).(VirtualHubRouteV2ResponseArrayOutput)
+// Minimum scale Units for Autoscale configuration
+func (o VirtualNetworkGatewayAutoScaleBoundsResponseOutput) Min() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayAutoScaleBoundsResponse) *int { return v.Min }).(pulumi.IntPtrOutput)
}
-type VirtualHubRouteTableV2ResponseArrayOutput struct{ *pulumi.OutputState }
+type VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput struct{ *pulumi.OutputState }
-func (VirtualHubRouteTableV2ResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualHubRouteTableV2Response)(nil)).Elem()
+func (VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkGatewayAutoScaleBoundsResponse)(nil)).Elem()
}
-func (o VirtualHubRouteTableV2ResponseArrayOutput) ToVirtualHubRouteTableV2ResponseArrayOutput() VirtualHubRouteTableV2ResponseArrayOutput {
+func (o VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput) ToVirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput() VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput {
return o
}
-func (o VirtualHubRouteTableV2ResponseArrayOutput) ToVirtualHubRouteTableV2ResponseArrayOutputWithContext(ctx context.Context) VirtualHubRouteTableV2ResponseArrayOutput {
+func (o VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput) ToVirtualNetworkGatewayAutoScaleBoundsResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput {
return o
}
-func (o VirtualHubRouteTableV2ResponseArrayOutput) Index(i pulumi.IntInput) VirtualHubRouteTableV2ResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualHubRouteTableV2Response {
- return vs[0].([]VirtualHubRouteTableV2Response)[vs[1].(int)]
- }).(VirtualHubRouteTableV2ResponseOutput)
-}
-
-// VirtualHubRouteTableV2 route.
-type VirtualHubRouteV2 struct {
- // The type of destinations.
- DestinationType *string `pulumi:"destinationType"`
- // List of all destinations.
- Destinations []string `pulumi:"destinations"`
- // The type of next hops.
- NextHopType *string `pulumi:"nextHopType"`
- // NextHops ip address.
- NextHops []string `pulumi:"nextHops"`
-}
-
-// VirtualHubRouteV2Input is an input type that accepts VirtualHubRouteV2Args and VirtualHubRouteV2Output values.
-// You can construct a concrete instance of `VirtualHubRouteV2Input` via:
-//
-// VirtualHubRouteV2Args{...}
-type VirtualHubRouteV2Input interface {
- pulumi.Input
-
- ToVirtualHubRouteV2Output() VirtualHubRouteV2Output
- ToVirtualHubRouteV2OutputWithContext(context.Context) VirtualHubRouteV2Output
-}
-
-// VirtualHubRouteTableV2 route.
-type VirtualHubRouteV2Args struct {
- // The type of destinations.
- DestinationType pulumi.StringPtrInput `pulumi:"destinationType"`
- // List of all destinations.
- Destinations pulumi.StringArrayInput `pulumi:"destinations"`
- // The type of next hops.
- NextHopType pulumi.StringPtrInput `pulumi:"nextHopType"`
- // NextHops ip address.
- NextHops pulumi.StringArrayInput `pulumi:"nextHops"`
+func (o VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput) Elem() VirtualNetworkGatewayAutoScaleBoundsResponseOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleBoundsResponse) VirtualNetworkGatewayAutoScaleBoundsResponse {
+ if v != nil {
+ return *v
+ }
+ var ret VirtualNetworkGatewayAutoScaleBoundsResponse
+ return ret
+ }).(VirtualNetworkGatewayAutoScaleBoundsResponseOutput)
}
-func (VirtualHubRouteV2Args) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualHubRouteV2)(nil)).Elem()
+// Maximum Scale Units for Autoscale configuration
+func (o VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput) Max() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleBoundsResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Max
+ }).(pulumi.IntPtrOutput)
}
-func (i VirtualHubRouteV2Args) ToVirtualHubRouteV2Output() VirtualHubRouteV2Output {
- return i.ToVirtualHubRouteV2OutputWithContext(context.Background())
+// Minimum scale Units for Autoscale configuration
+func (o VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput) Min() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleBoundsResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.Min
+ }).(pulumi.IntPtrOutput)
}
-func (i VirtualHubRouteV2Args) ToVirtualHubRouteV2OutputWithContext(ctx context.Context) VirtualHubRouteV2Output {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteV2Output)
+// Virtual Network Gateway Autoscale Configuration details
+type VirtualNetworkGatewayAutoScaleConfiguration struct {
+ // The bounds of the autoscale configuration
+ Bounds *VirtualNetworkGatewayAutoScaleBounds `pulumi:"bounds"`
}
-// VirtualHubRouteV2ArrayInput is an input type that accepts VirtualHubRouteV2Array and VirtualHubRouteV2ArrayOutput values.
-// You can construct a concrete instance of `VirtualHubRouteV2ArrayInput` via:
+// VirtualNetworkGatewayAutoScaleConfigurationInput is an input type that accepts VirtualNetworkGatewayAutoScaleConfigurationArgs and VirtualNetworkGatewayAutoScaleConfigurationOutput values.
+// You can construct a concrete instance of `VirtualNetworkGatewayAutoScaleConfigurationInput` via:
//
-// VirtualHubRouteV2Array{ VirtualHubRouteV2Args{...} }
-type VirtualHubRouteV2ArrayInput interface {
+// VirtualNetworkGatewayAutoScaleConfigurationArgs{...}
+type VirtualNetworkGatewayAutoScaleConfigurationInput interface {
pulumi.Input
- ToVirtualHubRouteV2ArrayOutput() VirtualHubRouteV2ArrayOutput
- ToVirtualHubRouteV2ArrayOutputWithContext(context.Context) VirtualHubRouteV2ArrayOutput
-}
-
-type VirtualHubRouteV2Array []VirtualHubRouteV2Input
-
-func (VirtualHubRouteV2Array) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualHubRouteV2)(nil)).Elem()
-}
-
-func (i VirtualHubRouteV2Array) ToVirtualHubRouteV2ArrayOutput() VirtualHubRouteV2ArrayOutput {
- return i.ToVirtualHubRouteV2ArrayOutputWithContext(context.Background())
+ ToVirtualNetworkGatewayAutoScaleConfigurationOutput() VirtualNetworkGatewayAutoScaleConfigurationOutput
+ ToVirtualNetworkGatewayAutoScaleConfigurationOutputWithContext(context.Context) VirtualNetworkGatewayAutoScaleConfigurationOutput
}
-func (i VirtualHubRouteV2Array) ToVirtualHubRouteV2ArrayOutputWithContext(ctx context.Context) VirtualHubRouteV2ArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualHubRouteV2ArrayOutput)
+// Virtual Network Gateway Autoscale Configuration details
+type VirtualNetworkGatewayAutoScaleConfigurationArgs struct {
+ // The bounds of the autoscale configuration
+ Bounds VirtualNetworkGatewayAutoScaleBoundsPtrInput `pulumi:"bounds"`
}
-// VirtualHubRouteTableV2 route.
-type VirtualHubRouteV2Output struct{ *pulumi.OutputState }
-
-func (VirtualHubRouteV2Output) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualHubRouteV2)(nil)).Elem()
+func (VirtualNetworkGatewayAutoScaleConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayAutoScaleConfiguration)(nil)).Elem()
}
-func (o VirtualHubRouteV2Output) ToVirtualHubRouteV2Output() VirtualHubRouteV2Output {
- return o
+func (i VirtualNetworkGatewayAutoScaleConfigurationArgs) ToVirtualNetworkGatewayAutoScaleConfigurationOutput() VirtualNetworkGatewayAutoScaleConfigurationOutput {
+ return i.ToVirtualNetworkGatewayAutoScaleConfigurationOutputWithContext(context.Background())
}
-func (o VirtualHubRouteV2Output) ToVirtualHubRouteV2OutputWithContext(ctx context.Context) VirtualHubRouteV2Output {
- return o
+func (i VirtualNetworkGatewayAutoScaleConfigurationArgs) ToVirtualNetworkGatewayAutoScaleConfigurationOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayAutoScaleConfigurationOutput)
}
-// The type of destinations.
-func (o VirtualHubRouteV2Output) DestinationType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualHubRouteV2) *string { return v.DestinationType }).(pulumi.StringPtrOutput)
+func (i VirtualNetworkGatewayAutoScaleConfigurationArgs) ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutput() VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
+ return i.ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(context.Background())
}
-// List of all destinations.
-func (o VirtualHubRouteV2Output) Destinations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v VirtualHubRouteV2) []string { return v.Destinations }).(pulumi.StringArrayOutput)
+func (i VirtualNetworkGatewayAutoScaleConfigurationArgs) ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayAutoScaleConfigurationOutput).ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(ctx)
}
-// The type of next hops.
-func (o VirtualHubRouteV2Output) NextHopType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualHubRouteV2) *string { return v.NextHopType }).(pulumi.StringPtrOutput)
-}
+// VirtualNetworkGatewayAutoScaleConfigurationPtrInput is an input type that accepts VirtualNetworkGatewayAutoScaleConfigurationArgs, VirtualNetworkGatewayAutoScaleConfigurationPtr and VirtualNetworkGatewayAutoScaleConfigurationPtrOutput values.
+// You can construct a concrete instance of `VirtualNetworkGatewayAutoScaleConfigurationPtrInput` via:
+//
+// VirtualNetworkGatewayAutoScaleConfigurationArgs{...}
+//
+// or:
+//
+// nil
+type VirtualNetworkGatewayAutoScaleConfigurationPtrInput interface {
+ pulumi.Input
-// NextHops ip address.
-func (o VirtualHubRouteV2Output) NextHops() pulumi.StringArrayOutput {
- return o.ApplyT(func(v VirtualHubRouteV2) []string { return v.NextHops }).(pulumi.StringArrayOutput)
+ ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutput() VirtualNetworkGatewayAutoScaleConfigurationPtrOutput
+ ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(context.Context) VirtualNetworkGatewayAutoScaleConfigurationPtrOutput
}
-type VirtualHubRouteV2ArrayOutput struct{ *pulumi.OutputState }
-
-func (VirtualHubRouteV2ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualHubRouteV2)(nil)).Elem()
-}
+type virtualNetworkGatewayAutoScaleConfigurationPtrType VirtualNetworkGatewayAutoScaleConfigurationArgs
-func (o VirtualHubRouteV2ArrayOutput) ToVirtualHubRouteV2ArrayOutput() VirtualHubRouteV2ArrayOutput {
- return o
+func VirtualNetworkGatewayAutoScaleConfigurationPtr(v *VirtualNetworkGatewayAutoScaleConfigurationArgs) VirtualNetworkGatewayAutoScaleConfigurationPtrInput {
+ return (*virtualNetworkGatewayAutoScaleConfigurationPtrType)(v)
}
-
-func (o VirtualHubRouteV2ArrayOutput) ToVirtualHubRouteV2ArrayOutputWithContext(ctx context.Context) VirtualHubRouteV2ArrayOutput {
- return o
+
+func (*virtualNetworkGatewayAutoScaleConfigurationPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkGatewayAutoScaleConfiguration)(nil)).Elem()
}
-func (o VirtualHubRouteV2ArrayOutput) Index(i pulumi.IntInput) VirtualHubRouteV2Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualHubRouteV2 {
- return vs[0].([]VirtualHubRouteV2)[vs[1].(int)]
- }).(VirtualHubRouteV2Output)
+func (i *virtualNetworkGatewayAutoScaleConfigurationPtrType) ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutput() VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
+ return i.ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(context.Background())
}
-// VirtualHubRouteTableV2 route.
-type VirtualHubRouteV2Response struct {
- // The type of destinations.
- DestinationType *string `pulumi:"destinationType"`
- // List of all destinations.
- Destinations []string `pulumi:"destinations"`
- // The type of next hops.
- NextHopType *string `pulumi:"nextHopType"`
- // NextHops ip address.
- NextHops []string `pulumi:"nextHops"`
+func (i *virtualNetworkGatewayAutoScaleConfigurationPtrType) ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayAutoScaleConfigurationPtrOutput)
}
-// VirtualHubRouteTableV2 route.
-type VirtualHubRouteV2ResponseOutput struct{ *pulumi.OutputState }
+// Virtual Network Gateway Autoscale Configuration details
+type VirtualNetworkGatewayAutoScaleConfigurationOutput struct{ *pulumi.OutputState }
-func (VirtualHubRouteV2ResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualHubRouteV2Response)(nil)).Elem()
+func (VirtualNetworkGatewayAutoScaleConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayAutoScaleConfiguration)(nil)).Elem()
}
-func (o VirtualHubRouteV2ResponseOutput) ToVirtualHubRouteV2ResponseOutput() VirtualHubRouteV2ResponseOutput {
+func (o VirtualNetworkGatewayAutoScaleConfigurationOutput) ToVirtualNetworkGatewayAutoScaleConfigurationOutput() VirtualNetworkGatewayAutoScaleConfigurationOutput {
return o
}
-func (o VirtualHubRouteV2ResponseOutput) ToVirtualHubRouteV2ResponseOutputWithContext(ctx context.Context) VirtualHubRouteV2ResponseOutput {
+func (o VirtualNetworkGatewayAutoScaleConfigurationOutput) ToVirtualNetworkGatewayAutoScaleConfigurationOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleConfigurationOutput {
return o
}
-// The type of destinations.
-func (o VirtualHubRouteV2ResponseOutput) DestinationType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualHubRouteV2Response) *string { return v.DestinationType }).(pulumi.StringPtrOutput)
-}
-
-// List of all destinations.
-func (o VirtualHubRouteV2ResponseOutput) Destinations() pulumi.StringArrayOutput {
- return o.ApplyT(func(v VirtualHubRouteV2Response) []string { return v.Destinations }).(pulumi.StringArrayOutput)
+func (o VirtualNetworkGatewayAutoScaleConfigurationOutput) ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutput() VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
+ return o.ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(context.Background())
}
-// The type of next hops.
-func (o VirtualHubRouteV2ResponseOutput) NextHopType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualHubRouteV2Response) *string { return v.NextHopType }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkGatewayAutoScaleConfigurationOutput) ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualNetworkGatewayAutoScaleConfiguration) *VirtualNetworkGatewayAutoScaleConfiguration {
+ return &v
+ }).(VirtualNetworkGatewayAutoScaleConfigurationPtrOutput)
}
-// NextHops ip address.
-func (o VirtualHubRouteV2ResponseOutput) NextHops() pulumi.StringArrayOutput {
- return o.ApplyT(func(v VirtualHubRouteV2Response) []string { return v.NextHops }).(pulumi.StringArrayOutput)
+// The bounds of the autoscale configuration
+func (o VirtualNetworkGatewayAutoScaleConfigurationOutput) Bounds() VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayAutoScaleConfiguration) *VirtualNetworkGatewayAutoScaleBounds {
+ return v.Bounds
+ }).(VirtualNetworkGatewayAutoScaleBoundsPtrOutput)
}
-type VirtualHubRouteV2ResponseArrayOutput struct{ *pulumi.OutputState }
+type VirtualNetworkGatewayAutoScaleConfigurationPtrOutput struct{ *pulumi.OutputState }
-func (VirtualHubRouteV2ResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualHubRouteV2Response)(nil)).Elem()
+func (VirtualNetworkGatewayAutoScaleConfigurationPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkGatewayAutoScaleConfiguration)(nil)).Elem()
}
-func (o VirtualHubRouteV2ResponseArrayOutput) ToVirtualHubRouteV2ResponseArrayOutput() VirtualHubRouteV2ResponseArrayOutput {
+func (o VirtualNetworkGatewayAutoScaleConfigurationPtrOutput) ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutput() VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
return o
}
-func (o VirtualHubRouteV2ResponseArrayOutput) ToVirtualHubRouteV2ResponseArrayOutputWithContext(ctx context.Context) VirtualHubRouteV2ResponseArrayOutput {
+func (o VirtualNetworkGatewayAutoScaleConfigurationPtrOutput) ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
return o
}
-func (o VirtualHubRouteV2ResponseArrayOutput) Index(i pulumi.IntInput) VirtualHubRouteV2ResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualHubRouteV2Response {
- return vs[0].([]VirtualHubRouteV2Response)[vs[1].(int)]
- }).(VirtualHubRouteV2ResponseOutput)
+func (o VirtualNetworkGatewayAutoScaleConfigurationPtrOutput) Elem() VirtualNetworkGatewayAutoScaleConfigurationOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleConfiguration) VirtualNetworkGatewayAutoScaleConfiguration {
+ if v != nil {
+ return *v
+ }
+ var ret VirtualNetworkGatewayAutoScaleConfiguration
+ return ret
+ }).(VirtualNetworkGatewayAutoScaleConfigurationOutput)
}
-// The virtual network appliance ip configuration.
-type VirtualNetworkApplianceIpConfigurationResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of virtual network appliance ip configuration.
- Name *string `pulumi:"name"`
- // Whether the ip configuration is primary or not.
- Primary *bool `pulumi:"primary"`
- // The private IP address of the IP configuration.
- PrivateIPAddress *string `pulumi:"privateIPAddress"`
- // Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
- PrivateIPAddressVersion *string `pulumi:"privateIPAddressVersion"`
- // The private IP address allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // The provisioning state of the private link service IP configuration resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The resource type.
- Type string `pulumi:"type"`
+// The bounds of the autoscale configuration
+func (o VirtualNetworkGatewayAutoScaleConfigurationPtrOutput) Bounds() VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleConfiguration) *VirtualNetworkGatewayAutoScaleBounds {
+ if v == nil {
+ return nil
+ }
+ return v.Bounds
+ }).(VirtualNetworkGatewayAutoScaleBoundsPtrOutput)
}
-// The virtual network appliance ip configuration.
-type VirtualNetworkApplianceIpConfigurationResponseOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkApplianceIpConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkApplianceIpConfigurationResponse)(nil)).Elem()
+// Virtual Network Gateway Autoscale Configuration details
+type VirtualNetworkGatewayAutoScaleConfigurationResponse struct {
+ // The bounds of the autoscale configuration
+ Bounds *VirtualNetworkGatewayAutoScaleBoundsResponse `pulumi:"bounds"`
}
-func (o VirtualNetworkApplianceIpConfigurationResponseOutput) ToVirtualNetworkApplianceIpConfigurationResponseOutput() VirtualNetworkApplianceIpConfigurationResponseOutput {
- return o
+// Virtual Network Gateway Autoscale Configuration details
+type VirtualNetworkGatewayAutoScaleConfigurationResponseOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkGatewayAutoScaleConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayAutoScaleConfigurationResponse)(nil)).Elem()
}
-func (o VirtualNetworkApplianceIpConfigurationResponseOutput) ToVirtualNetworkApplianceIpConfigurationResponseOutputWithContext(ctx context.Context) VirtualNetworkApplianceIpConfigurationResponseOutput {
+func (o VirtualNetworkGatewayAutoScaleConfigurationResponseOutput) ToVirtualNetworkGatewayAutoScaleConfigurationResponseOutput() VirtualNetworkGatewayAutoScaleConfigurationResponseOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o VirtualNetworkApplianceIpConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o VirtualNetworkGatewayAutoScaleConfigurationResponseOutput) ToVirtualNetworkGatewayAutoScaleConfigurationResponseOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleConfigurationResponseOutput {
+ return o
}
-// Resource ID.
-func (o VirtualNetworkApplianceIpConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The bounds of the autoscale configuration
+func (o VirtualNetworkGatewayAutoScaleConfigurationResponseOutput) Bounds() VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayAutoScaleConfigurationResponse) *VirtualNetworkGatewayAutoScaleBoundsResponse {
+ return v.Bounds
+ }).(VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput)
}
-// The name of virtual network appliance ip configuration.
-func (o VirtualNetworkApplianceIpConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
-}
+type VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
-// Whether the ip configuration is primary or not.
-func (o VirtualNetworkApplianceIpConfigurationResponseOutput) Primary() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) *bool { return v.Primary }).(pulumi.BoolPtrOutput)
+func (VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkGatewayAutoScaleConfigurationResponse)(nil)).Elem()
}
-// The private IP address of the IP configuration.
-func (o VirtualNetworkApplianceIpConfigurationResponseOutput) PrivateIPAddress() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) *string { return v.PrivateIPAddress }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput) ToVirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput() VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput {
+ return o
}
-// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
-func (o VirtualNetworkApplianceIpConfigurationResponseOutput) PrivateIPAddressVersion() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) *string { return v.PrivateIPAddressVersion }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput) ToVirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput {
+ return o
}
-// The private IP address allocation method.
-func (o VirtualNetworkApplianceIpConfigurationResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput) Elem() VirtualNetworkGatewayAutoScaleConfigurationResponseOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleConfigurationResponse) VirtualNetworkGatewayAutoScaleConfigurationResponse {
+ if v != nil {
+ return *v
+ }
+ var ret VirtualNetworkGatewayAutoScaleConfigurationResponse
+ return ret
+ }).(VirtualNetworkGatewayAutoScaleConfigurationResponseOutput)
}
-// The provisioning state of the private link service IP configuration resource.
-func (o VirtualNetworkApplianceIpConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The bounds of the autoscale configuration
+func (o VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput) Bounds() VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleConfigurationResponse) *VirtualNetworkGatewayAutoScaleBoundsResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Bounds
+ }).(VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput)
}
-// The resource type.
-func (o VirtualNetworkApplianceIpConfigurationResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkApplianceIpConfigurationResponse) string { return v.Type }).(pulumi.StringOutput)
+// IP configuration for virtual network gateway.
+type VirtualNetworkGatewayIPConfiguration struct {
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // The reference to the public IP resource.
+ PublicIPAddress *SubResource `pulumi:"publicIPAddress"`
+ // The reference to the subnet resource.
+ Subnet *SubResource `pulumi:"subnet"`
}
-type VirtualNetworkApplianceIpConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
+// VirtualNetworkGatewayIPConfigurationInput is an input type that accepts VirtualNetworkGatewayIPConfigurationArgs and VirtualNetworkGatewayIPConfigurationOutput values.
+// You can construct a concrete instance of `VirtualNetworkGatewayIPConfigurationInput` via:
+//
+// VirtualNetworkGatewayIPConfigurationArgs{...}
+type VirtualNetworkGatewayIPConfigurationInput interface {
+ pulumi.Input
-func (VirtualNetworkApplianceIpConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkApplianceIpConfigurationResponse)(nil)).Elem()
+ ToVirtualNetworkGatewayIPConfigurationOutput() VirtualNetworkGatewayIPConfigurationOutput
+ ToVirtualNetworkGatewayIPConfigurationOutputWithContext(context.Context) VirtualNetworkGatewayIPConfigurationOutput
}
-func (o VirtualNetworkApplianceIpConfigurationResponseArrayOutput) ToVirtualNetworkApplianceIpConfigurationResponseArrayOutput() VirtualNetworkApplianceIpConfigurationResponseArrayOutput {
- return o
+// IP configuration for virtual network gateway.
+type VirtualNetworkGatewayIPConfigurationArgs struct {
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod pulumi.StringPtrInput `pulumi:"privateIPAllocationMethod"`
+ // The reference to the public IP resource.
+ PublicIPAddress SubResourcePtrInput `pulumi:"publicIPAddress"`
+ // The reference to the subnet resource.
+ Subnet SubResourcePtrInput `pulumi:"subnet"`
}
-func (o VirtualNetworkApplianceIpConfigurationResponseArrayOutput) ToVirtualNetworkApplianceIpConfigurationResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkApplianceIpConfigurationResponseArrayOutput {
- return o
+func (VirtualNetworkGatewayIPConfigurationArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayIPConfiguration)(nil)).Elem()
}
-func (o VirtualNetworkApplianceIpConfigurationResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkApplianceIpConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkApplianceIpConfigurationResponse {
- return vs[0].([]VirtualNetworkApplianceIpConfigurationResponse)[vs[1].(int)]
- }).(VirtualNetworkApplianceIpConfigurationResponseOutput)
+func (i VirtualNetworkGatewayIPConfigurationArgs) ToVirtualNetworkGatewayIPConfigurationOutput() VirtualNetworkGatewayIPConfigurationOutput {
+ return i.ToVirtualNetworkGatewayIPConfigurationOutputWithContext(context.Background())
}
-// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
-type VirtualNetworkBgpCommunities struct {
- // The BGP community associated with the virtual network.
- VirtualNetworkCommunity string `pulumi:"virtualNetworkCommunity"`
+func (i VirtualNetworkGatewayIPConfigurationArgs) ToVirtualNetworkGatewayIPConfigurationOutputWithContext(ctx context.Context) VirtualNetworkGatewayIPConfigurationOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayIPConfigurationOutput)
}
-// VirtualNetworkBgpCommunitiesInput is an input type that accepts VirtualNetworkBgpCommunitiesArgs and VirtualNetworkBgpCommunitiesOutput values.
-// You can construct a concrete instance of `VirtualNetworkBgpCommunitiesInput` via:
+// VirtualNetworkGatewayIPConfigurationArrayInput is an input type that accepts VirtualNetworkGatewayIPConfigurationArray and VirtualNetworkGatewayIPConfigurationArrayOutput values.
+// You can construct a concrete instance of `VirtualNetworkGatewayIPConfigurationArrayInput` via:
//
-// VirtualNetworkBgpCommunitiesArgs{...}
-type VirtualNetworkBgpCommunitiesInput interface {
+// VirtualNetworkGatewayIPConfigurationArray{ VirtualNetworkGatewayIPConfigurationArgs{...} }
+type VirtualNetworkGatewayIPConfigurationArrayInput interface {
pulumi.Input
- ToVirtualNetworkBgpCommunitiesOutput() VirtualNetworkBgpCommunitiesOutput
- ToVirtualNetworkBgpCommunitiesOutputWithContext(context.Context) VirtualNetworkBgpCommunitiesOutput
+ ToVirtualNetworkGatewayIPConfigurationArrayOutput() VirtualNetworkGatewayIPConfigurationArrayOutput
+ ToVirtualNetworkGatewayIPConfigurationArrayOutputWithContext(context.Context) VirtualNetworkGatewayIPConfigurationArrayOutput
}
-// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
-type VirtualNetworkBgpCommunitiesArgs struct {
- // The BGP community associated with the virtual network.
- VirtualNetworkCommunity pulumi.StringInput `pulumi:"virtualNetworkCommunity"`
-}
+type VirtualNetworkGatewayIPConfigurationArray []VirtualNetworkGatewayIPConfigurationInput
-func (VirtualNetworkBgpCommunitiesArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkBgpCommunities)(nil)).Elem()
+func (VirtualNetworkGatewayIPConfigurationArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkGatewayIPConfiguration)(nil)).Elem()
}
-func (i VirtualNetworkBgpCommunitiesArgs) ToVirtualNetworkBgpCommunitiesOutput() VirtualNetworkBgpCommunitiesOutput {
- return i.ToVirtualNetworkBgpCommunitiesOutputWithContext(context.Background())
+func (i VirtualNetworkGatewayIPConfigurationArray) ToVirtualNetworkGatewayIPConfigurationArrayOutput() VirtualNetworkGatewayIPConfigurationArrayOutput {
+ return i.ToVirtualNetworkGatewayIPConfigurationArrayOutputWithContext(context.Background())
}
-func (i VirtualNetworkBgpCommunitiesArgs) ToVirtualNetworkBgpCommunitiesOutputWithContext(ctx context.Context) VirtualNetworkBgpCommunitiesOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkBgpCommunitiesOutput)
+func (i VirtualNetworkGatewayIPConfigurationArray) ToVirtualNetworkGatewayIPConfigurationArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayIPConfigurationArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayIPConfigurationArrayOutput)
}
-func (i VirtualNetworkBgpCommunitiesArgs) ToVirtualNetworkBgpCommunitiesPtrOutput() VirtualNetworkBgpCommunitiesPtrOutput {
- return i.ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(context.Background())
-}
+// IP configuration for virtual network gateway.
+type VirtualNetworkGatewayIPConfigurationOutput struct{ *pulumi.OutputState }
-func (i VirtualNetworkBgpCommunitiesArgs) ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx context.Context) VirtualNetworkBgpCommunitiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkBgpCommunitiesOutput).ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx)
+func (VirtualNetworkGatewayIPConfigurationOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayIPConfiguration)(nil)).Elem()
}
-// VirtualNetworkBgpCommunitiesPtrInput is an input type that accepts VirtualNetworkBgpCommunitiesArgs, VirtualNetworkBgpCommunitiesPtr and VirtualNetworkBgpCommunitiesPtrOutput values.
-// You can construct a concrete instance of `VirtualNetworkBgpCommunitiesPtrInput` via:
-//
-// VirtualNetworkBgpCommunitiesArgs{...}
-//
-// or:
-//
-// nil
-type VirtualNetworkBgpCommunitiesPtrInput interface {
- pulumi.Input
+func (o VirtualNetworkGatewayIPConfigurationOutput) ToVirtualNetworkGatewayIPConfigurationOutput() VirtualNetworkGatewayIPConfigurationOutput {
+ return o
+}
- ToVirtualNetworkBgpCommunitiesPtrOutput() VirtualNetworkBgpCommunitiesPtrOutput
- ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(context.Context) VirtualNetworkBgpCommunitiesPtrOutput
+func (o VirtualNetworkGatewayIPConfigurationOutput) ToVirtualNetworkGatewayIPConfigurationOutputWithContext(ctx context.Context) VirtualNetworkGatewayIPConfigurationOutput {
+ return o
}
-type virtualNetworkBgpCommunitiesPtrType VirtualNetworkBgpCommunitiesArgs
+// Resource ID.
+func (o VirtualNetworkGatewayIPConfigurationOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayIPConfiguration) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
-func VirtualNetworkBgpCommunitiesPtr(v *VirtualNetworkBgpCommunitiesArgs) VirtualNetworkBgpCommunitiesPtrInput {
- return (*virtualNetworkBgpCommunitiesPtrType)(v)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o VirtualNetworkGatewayIPConfigurationOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayIPConfiguration) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (*virtualNetworkBgpCommunitiesPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkBgpCommunities)(nil)).Elem()
+// The private IP address allocation method.
+func (o VirtualNetworkGatewayIPConfigurationOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayIPConfiguration) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-func (i *virtualNetworkBgpCommunitiesPtrType) ToVirtualNetworkBgpCommunitiesPtrOutput() VirtualNetworkBgpCommunitiesPtrOutput {
- return i.ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(context.Background())
+// The reference to the public IP resource.
+func (o VirtualNetworkGatewayIPConfigurationOutput) PublicIPAddress() SubResourcePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayIPConfiguration) *SubResource { return v.PublicIPAddress }).(SubResourcePtrOutput)
}
-func (i *virtualNetworkBgpCommunitiesPtrType) ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx context.Context) VirtualNetworkBgpCommunitiesPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkBgpCommunitiesPtrOutput)
+// The reference to the subnet resource.
+func (o VirtualNetworkGatewayIPConfigurationOutput) Subnet() SubResourcePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayIPConfiguration) *SubResource { return v.Subnet }).(SubResourcePtrOutput)
}
-// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
-type VirtualNetworkBgpCommunitiesOutput struct{ *pulumi.OutputState }
+type VirtualNetworkGatewayIPConfigurationArrayOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkBgpCommunitiesOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkBgpCommunities)(nil)).Elem()
+func (VirtualNetworkGatewayIPConfigurationArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkGatewayIPConfiguration)(nil)).Elem()
}
-func (o VirtualNetworkBgpCommunitiesOutput) ToVirtualNetworkBgpCommunitiesOutput() VirtualNetworkBgpCommunitiesOutput {
+func (o VirtualNetworkGatewayIPConfigurationArrayOutput) ToVirtualNetworkGatewayIPConfigurationArrayOutput() VirtualNetworkGatewayIPConfigurationArrayOutput {
return o
}
-func (o VirtualNetworkBgpCommunitiesOutput) ToVirtualNetworkBgpCommunitiesOutputWithContext(ctx context.Context) VirtualNetworkBgpCommunitiesOutput {
+func (o VirtualNetworkGatewayIPConfigurationArrayOutput) ToVirtualNetworkGatewayIPConfigurationArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayIPConfigurationArrayOutput {
return o
}
-func (o VirtualNetworkBgpCommunitiesOutput) ToVirtualNetworkBgpCommunitiesPtrOutput() VirtualNetworkBgpCommunitiesPtrOutput {
- return o.ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(context.Background())
-}
-
-func (o VirtualNetworkBgpCommunitiesOutput) ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx context.Context) VirtualNetworkBgpCommunitiesPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualNetworkBgpCommunities) *VirtualNetworkBgpCommunities {
- return &v
- }).(VirtualNetworkBgpCommunitiesPtrOutput)
+func (o VirtualNetworkGatewayIPConfigurationArrayOutput) Index(i pulumi.IntInput) VirtualNetworkGatewayIPConfigurationOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkGatewayIPConfiguration {
+ return vs[0].([]VirtualNetworkGatewayIPConfiguration)[vs[1].(int)]
+ }).(VirtualNetworkGatewayIPConfigurationOutput)
}
-// The BGP community associated with the virtual network.
-func (o VirtualNetworkBgpCommunitiesOutput) VirtualNetworkCommunity() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkBgpCommunities) string { return v.VirtualNetworkCommunity }).(pulumi.StringOutput)
+// IP configuration for virtual network gateway.
+type VirtualNetworkGatewayIPConfigurationResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Private IP Address for this gateway.
+ PrivateIPAddress string `pulumi:"privateIPAddress"`
+ // The private IP address allocation method.
+ PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
+ // The provisioning state of the virtual network gateway IP configuration resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The reference to the public IP resource.
+ PublicIPAddress *SubResourceResponse `pulumi:"publicIPAddress"`
+ // The reference to the subnet resource.
+ Subnet *SubResourceResponse `pulumi:"subnet"`
}
-type VirtualNetworkBgpCommunitiesPtrOutput struct{ *pulumi.OutputState }
+// IP configuration for virtual network gateway.
+type VirtualNetworkGatewayIPConfigurationResponseOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkBgpCommunitiesPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkBgpCommunities)(nil)).Elem()
+func (VirtualNetworkGatewayIPConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayIPConfigurationResponse)(nil)).Elem()
}
-func (o VirtualNetworkBgpCommunitiesPtrOutput) ToVirtualNetworkBgpCommunitiesPtrOutput() VirtualNetworkBgpCommunitiesPtrOutput {
+func (o VirtualNetworkGatewayIPConfigurationResponseOutput) ToVirtualNetworkGatewayIPConfigurationResponseOutput() VirtualNetworkGatewayIPConfigurationResponseOutput {
return o
}
-func (o VirtualNetworkBgpCommunitiesPtrOutput) ToVirtualNetworkBgpCommunitiesPtrOutputWithContext(ctx context.Context) VirtualNetworkBgpCommunitiesPtrOutput {
+func (o VirtualNetworkGatewayIPConfigurationResponseOutput) ToVirtualNetworkGatewayIPConfigurationResponseOutputWithContext(ctx context.Context) VirtualNetworkGatewayIPConfigurationResponseOutput {
return o
}
-func (o VirtualNetworkBgpCommunitiesPtrOutput) Elem() VirtualNetworkBgpCommunitiesOutput {
- return o.ApplyT(func(v *VirtualNetworkBgpCommunities) VirtualNetworkBgpCommunities {
- if v != nil {
- return *v
- }
- var ret VirtualNetworkBgpCommunities
- return ret
- }).(VirtualNetworkBgpCommunitiesOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o VirtualNetworkGatewayIPConfigurationResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayIPConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// The BGP community associated with the virtual network.
-func (o VirtualNetworkBgpCommunitiesPtrOutput) VirtualNetworkCommunity() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkBgpCommunities) *string {
- if v == nil {
- return nil
- }
- return &v.VirtualNetworkCommunity
- }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o VirtualNetworkGatewayIPConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayIPConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
-type VirtualNetworkBgpCommunitiesResponse struct {
- // The BGP community associated with the region of the virtual network.
- RegionalCommunity string `pulumi:"regionalCommunity"`
- // The BGP community associated with the virtual network.
- VirtualNetworkCommunity string `pulumi:"virtualNetworkCommunity"`
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o VirtualNetworkGatewayIPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayIPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
-type VirtualNetworkBgpCommunitiesResponseOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkBgpCommunitiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkBgpCommunitiesResponse)(nil)).Elem()
+// Private IP Address for this gateway.
+func (o VirtualNetworkGatewayIPConfigurationResponseOutput) PrivateIPAddress() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayIPConfigurationResponse) string { return v.PrivateIPAddress }).(pulumi.StringOutput)
}
-func (o VirtualNetworkBgpCommunitiesResponseOutput) ToVirtualNetworkBgpCommunitiesResponseOutput() VirtualNetworkBgpCommunitiesResponseOutput {
- return o
+// The private IP address allocation method.
+func (o VirtualNetworkGatewayIPConfigurationResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayIPConfigurationResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkBgpCommunitiesResponseOutput) ToVirtualNetworkBgpCommunitiesResponseOutputWithContext(ctx context.Context) VirtualNetworkBgpCommunitiesResponseOutput {
- return o
+// The provisioning state of the virtual network gateway IP configuration resource.
+func (o VirtualNetworkGatewayIPConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayIPConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The BGP community associated with the region of the virtual network.
-func (o VirtualNetworkBgpCommunitiesResponseOutput) RegionalCommunity() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkBgpCommunitiesResponse) string { return v.RegionalCommunity }).(pulumi.StringOutput)
+// The reference to the public IP resource.
+func (o VirtualNetworkGatewayIPConfigurationResponseOutput) PublicIPAddress() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayIPConfigurationResponse) *SubResourceResponse { return v.PublicIPAddress }).(SubResourceResponsePtrOutput)
}
-// The BGP community associated with the virtual network.
-func (o VirtualNetworkBgpCommunitiesResponseOutput) VirtualNetworkCommunity() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkBgpCommunitiesResponse) string { return v.VirtualNetworkCommunity }).(pulumi.StringOutput)
+// The reference to the subnet resource.
+func (o VirtualNetworkGatewayIPConfigurationResponseOutput) Subnet() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayIPConfigurationResponse) *SubResourceResponse { return v.Subnet }).(SubResourceResponsePtrOutput)
}
-type VirtualNetworkBgpCommunitiesResponsePtrOutput struct{ *pulumi.OutputState }
+type VirtualNetworkGatewayIPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkBgpCommunitiesResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkBgpCommunitiesResponse)(nil)).Elem()
+func (VirtualNetworkGatewayIPConfigurationResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkGatewayIPConfigurationResponse)(nil)).Elem()
}
-func (o VirtualNetworkBgpCommunitiesResponsePtrOutput) ToVirtualNetworkBgpCommunitiesResponsePtrOutput() VirtualNetworkBgpCommunitiesResponsePtrOutput {
+func (o VirtualNetworkGatewayIPConfigurationResponseArrayOutput) ToVirtualNetworkGatewayIPConfigurationResponseArrayOutput() VirtualNetworkGatewayIPConfigurationResponseArrayOutput {
return o
}
-func (o VirtualNetworkBgpCommunitiesResponsePtrOutput) ToVirtualNetworkBgpCommunitiesResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkBgpCommunitiesResponsePtrOutput {
+func (o VirtualNetworkGatewayIPConfigurationResponseArrayOutput) ToVirtualNetworkGatewayIPConfigurationResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayIPConfigurationResponseArrayOutput {
return o
}
-func (o VirtualNetworkBgpCommunitiesResponsePtrOutput) Elem() VirtualNetworkBgpCommunitiesResponseOutput {
- return o.ApplyT(func(v *VirtualNetworkBgpCommunitiesResponse) VirtualNetworkBgpCommunitiesResponse {
- if v != nil {
- return *v
- }
- var ret VirtualNetworkBgpCommunitiesResponse
- return ret
- }).(VirtualNetworkBgpCommunitiesResponseOutput)
+func (o VirtualNetworkGatewayIPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkGatewayIPConfigurationResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkGatewayIPConfigurationResponse {
+ return vs[0].([]VirtualNetworkGatewayIPConfigurationResponse)[vs[1].(int)]
+ }).(VirtualNetworkGatewayIPConfigurationResponseOutput)
}
-// The BGP community associated with the region of the virtual network.
-func (o VirtualNetworkBgpCommunitiesResponsePtrOutput) RegionalCommunity() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkBgpCommunitiesResponse) *string {
- if v == nil {
- return nil
- }
- return &v.RegionalCommunity
- }).(pulumi.StringPtrOutput)
+// VirtualNetworkGatewayNatRule Resource.
+type VirtualNetworkGatewayNatRuleType struct {
+ // The private IP address external mapping for NAT.
+ ExternalMappings []VpnNatRuleMapping `pulumi:"externalMappings"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The private IP address internal mapping for NAT.
+ InternalMappings []VpnNatRuleMapping `pulumi:"internalMappings"`
+ // The IP Configuration ID this NAT rule applies to.
+ IpConfigurationId *string `pulumi:"ipConfigurationId"`
+ // The Source NAT direction of a VPN NAT.
+ Mode *string `pulumi:"mode"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The type of NAT rule for VPN NAT.
+ Type *string `pulumi:"type"`
+}
+
+// VirtualNetworkGatewayNatRuleTypeInput is an input type that accepts VirtualNetworkGatewayNatRuleTypeArgs and VirtualNetworkGatewayNatRuleTypeOutput values.
+// You can construct a concrete instance of `VirtualNetworkGatewayNatRuleTypeInput` via:
+//
+// VirtualNetworkGatewayNatRuleTypeArgs{...}
+type VirtualNetworkGatewayNatRuleTypeInput interface {
+ pulumi.Input
+
+ ToVirtualNetworkGatewayNatRuleTypeOutput() VirtualNetworkGatewayNatRuleTypeOutput
+ ToVirtualNetworkGatewayNatRuleTypeOutputWithContext(context.Context) VirtualNetworkGatewayNatRuleTypeOutput
+}
+
+// VirtualNetworkGatewayNatRule Resource.
+type VirtualNetworkGatewayNatRuleTypeArgs struct {
+ // The private IP address external mapping for NAT.
+ ExternalMappings VpnNatRuleMappingArrayInput `pulumi:"externalMappings"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // The private IP address internal mapping for NAT.
+ InternalMappings VpnNatRuleMappingArrayInput `pulumi:"internalMappings"`
+ // The IP Configuration ID this NAT rule applies to.
+ IpConfigurationId pulumi.StringPtrInput `pulumi:"ipConfigurationId"`
+ // The Source NAT direction of a VPN NAT.
+ Mode pulumi.StringPtrInput `pulumi:"mode"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // The type of NAT rule for VPN NAT.
+ Type pulumi.StringPtrInput `pulumi:"type"`
+}
+
+func (VirtualNetworkGatewayNatRuleTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayNatRuleType)(nil)).Elem()
}
-// The BGP community associated with the virtual network.
-func (o VirtualNetworkBgpCommunitiesResponsePtrOutput) VirtualNetworkCommunity() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkBgpCommunitiesResponse) *string {
- if v == nil {
- return nil
- }
- return &v.VirtualNetworkCommunity
- }).(pulumi.StringPtrOutput)
+func (i VirtualNetworkGatewayNatRuleTypeArgs) ToVirtualNetworkGatewayNatRuleTypeOutput() VirtualNetworkGatewayNatRuleTypeOutput {
+ return i.ToVirtualNetworkGatewayNatRuleTypeOutputWithContext(context.Background())
}
-// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
-type VirtualNetworkEncryption struct {
- // Indicates if encryption is enabled on the virtual network.
- Enabled bool `pulumi:"enabled"`
- // If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
- Enforcement *string `pulumi:"enforcement"`
+func (i VirtualNetworkGatewayNatRuleTypeArgs) ToVirtualNetworkGatewayNatRuleTypeOutputWithContext(ctx context.Context) VirtualNetworkGatewayNatRuleTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayNatRuleTypeOutput)
}
-// VirtualNetworkEncryptionInput is an input type that accepts VirtualNetworkEncryptionArgs and VirtualNetworkEncryptionOutput values.
-// You can construct a concrete instance of `VirtualNetworkEncryptionInput` via:
+// VirtualNetworkGatewayNatRuleTypeArrayInput is an input type that accepts VirtualNetworkGatewayNatRuleTypeArray and VirtualNetworkGatewayNatRuleTypeArrayOutput values.
+// You can construct a concrete instance of `VirtualNetworkGatewayNatRuleTypeArrayInput` via:
//
-// VirtualNetworkEncryptionArgs{...}
-type VirtualNetworkEncryptionInput interface {
+// VirtualNetworkGatewayNatRuleTypeArray{ VirtualNetworkGatewayNatRuleTypeArgs{...} }
+type VirtualNetworkGatewayNatRuleTypeArrayInput interface {
pulumi.Input
- ToVirtualNetworkEncryptionOutput() VirtualNetworkEncryptionOutput
- ToVirtualNetworkEncryptionOutputWithContext(context.Context) VirtualNetworkEncryptionOutput
+ ToVirtualNetworkGatewayNatRuleTypeArrayOutput() VirtualNetworkGatewayNatRuleTypeArrayOutput
+ ToVirtualNetworkGatewayNatRuleTypeArrayOutputWithContext(context.Context) VirtualNetworkGatewayNatRuleTypeArrayOutput
}
-// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
-type VirtualNetworkEncryptionArgs struct {
- // Indicates if encryption is enabled on the virtual network.
- Enabled pulumi.BoolInput `pulumi:"enabled"`
- // If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
- Enforcement pulumi.StringPtrInput `pulumi:"enforcement"`
+type VirtualNetworkGatewayNatRuleTypeArray []VirtualNetworkGatewayNatRuleTypeInput
+
+func (VirtualNetworkGatewayNatRuleTypeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkGatewayNatRuleType)(nil)).Elem()
}
-func (VirtualNetworkEncryptionArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkEncryption)(nil)).Elem()
+func (i VirtualNetworkGatewayNatRuleTypeArray) ToVirtualNetworkGatewayNatRuleTypeArrayOutput() VirtualNetworkGatewayNatRuleTypeArrayOutput {
+ return i.ToVirtualNetworkGatewayNatRuleTypeArrayOutputWithContext(context.Background())
}
-func (i VirtualNetworkEncryptionArgs) ToVirtualNetworkEncryptionOutput() VirtualNetworkEncryptionOutput {
- return i.ToVirtualNetworkEncryptionOutputWithContext(context.Background())
+func (i VirtualNetworkGatewayNatRuleTypeArray) ToVirtualNetworkGatewayNatRuleTypeArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayNatRuleTypeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayNatRuleTypeArrayOutput)
}
-func (i VirtualNetworkEncryptionArgs) ToVirtualNetworkEncryptionOutputWithContext(ctx context.Context) VirtualNetworkEncryptionOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkEncryptionOutput)
+// VirtualNetworkGatewayNatRule Resource.
+type VirtualNetworkGatewayNatRuleTypeOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkGatewayNatRuleTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayNatRuleType)(nil)).Elem()
}
-func (i VirtualNetworkEncryptionArgs) ToVirtualNetworkEncryptionPtrOutput() VirtualNetworkEncryptionPtrOutput {
- return i.ToVirtualNetworkEncryptionPtrOutputWithContext(context.Background())
+func (o VirtualNetworkGatewayNatRuleTypeOutput) ToVirtualNetworkGatewayNatRuleTypeOutput() VirtualNetworkGatewayNatRuleTypeOutput {
+ return o
}
-func (i VirtualNetworkEncryptionArgs) ToVirtualNetworkEncryptionPtrOutputWithContext(ctx context.Context) VirtualNetworkEncryptionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkEncryptionOutput).ToVirtualNetworkEncryptionPtrOutputWithContext(ctx)
+func (o VirtualNetworkGatewayNatRuleTypeOutput) ToVirtualNetworkGatewayNatRuleTypeOutputWithContext(ctx context.Context) VirtualNetworkGatewayNatRuleTypeOutput {
+ return o
}
-// VirtualNetworkEncryptionPtrInput is an input type that accepts VirtualNetworkEncryptionArgs, VirtualNetworkEncryptionPtr and VirtualNetworkEncryptionPtrOutput values.
-// You can construct a concrete instance of `VirtualNetworkEncryptionPtrInput` via:
-//
-// VirtualNetworkEncryptionArgs{...}
-//
-// or:
-//
-// nil
-type VirtualNetworkEncryptionPtrInput interface {
- pulumi.Input
+// The private IP address external mapping for NAT.
+func (o VirtualNetworkGatewayNatRuleTypeOutput) ExternalMappings() VpnNatRuleMappingArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayNatRuleType) []VpnNatRuleMapping { return v.ExternalMappings }).(VpnNatRuleMappingArrayOutput)
+}
- ToVirtualNetworkEncryptionPtrOutput() VirtualNetworkEncryptionPtrOutput
- ToVirtualNetworkEncryptionPtrOutputWithContext(context.Context) VirtualNetworkEncryptionPtrOutput
+// Resource ID.
+func (o VirtualNetworkGatewayNatRuleTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayNatRuleType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-type virtualNetworkEncryptionPtrType VirtualNetworkEncryptionArgs
+// The private IP address internal mapping for NAT.
+func (o VirtualNetworkGatewayNatRuleTypeOutput) InternalMappings() VpnNatRuleMappingArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayNatRuleType) []VpnNatRuleMapping { return v.InternalMappings }).(VpnNatRuleMappingArrayOutput)
+}
-func VirtualNetworkEncryptionPtr(v *VirtualNetworkEncryptionArgs) VirtualNetworkEncryptionPtrInput {
- return (*virtualNetworkEncryptionPtrType)(v)
+// The IP Configuration ID this NAT rule applies to.
+func (o VirtualNetworkGatewayNatRuleTypeOutput) IpConfigurationId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayNatRuleType) *string { return v.IpConfigurationId }).(pulumi.StringPtrOutput)
}
-func (*virtualNetworkEncryptionPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkEncryption)(nil)).Elem()
+// The Source NAT direction of a VPN NAT.
+func (o VirtualNetworkGatewayNatRuleTypeOutput) Mode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayNatRuleType) *string { return v.Mode }).(pulumi.StringPtrOutput)
}
-func (i *virtualNetworkEncryptionPtrType) ToVirtualNetworkEncryptionPtrOutput() VirtualNetworkEncryptionPtrOutput {
- return i.ToVirtualNetworkEncryptionPtrOutputWithContext(context.Background())
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o VirtualNetworkGatewayNatRuleTypeOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayNatRuleType) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (i *virtualNetworkEncryptionPtrType) ToVirtualNetworkEncryptionPtrOutputWithContext(ctx context.Context) VirtualNetworkEncryptionPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkEncryptionPtrOutput)
+// The type of NAT rule for VPN NAT.
+func (o VirtualNetworkGatewayNatRuleTypeOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayNatRuleType) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
-type VirtualNetworkEncryptionOutput struct{ *pulumi.OutputState }
+type VirtualNetworkGatewayNatRuleTypeArrayOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkEncryptionOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkEncryption)(nil)).Elem()
+func (VirtualNetworkGatewayNatRuleTypeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkGatewayNatRuleType)(nil)).Elem()
}
-func (o VirtualNetworkEncryptionOutput) ToVirtualNetworkEncryptionOutput() VirtualNetworkEncryptionOutput {
+func (o VirtualNetworkGatewayNatRuleTypeArrayOutput) ToVirtualNetworkGatewayNatRuleTypeArrayOutput() VirtualNetworkGatewayNatRuleTypeArrayOutput {
return o
}
-func (o VirtualNetworkEncryptionOutput) ToVirtualNetworkEncryptionOutputWithContext(ctx context.Context) VirtualNetworkEncryptionOutput {
+func (o VirtualNetworkGatewayNatRuleTypeArrayOutput) ToVirtualNetworkGatewayNatRuleTypeArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayNatRuleTypeArrayOutput {
return o
}
-func (o VirtualNetworkEncryptionOutput) ToVirtualNetworkEncryptionPtrOutput() VirtualNetworkEncryptionPtrOutput {
- return o.ToVirtualNetworkEncryptionPtrOutputWithContext(context.Background())
-}
-
-func (o VirtualNetworkEncryptionOutput) ToVirtualNetworkEncryptionPtrOutputWithContext(ctx context.Context) VirtualNetworkEncryptionPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualNetworkEncryption) *VirtualNetworkEncryption {
- return &v
- }).(VirtualNetworkEncryptionPtrOutput)
-}
-
-// Indicates if encryption is enabled on the virtual network.
-func (o VirtualNetworkEncryptionOutput) Enabled() pulumi.BoolOutput {
- return o.ApplyT(func(v VirtualNetworkEncryption) bool { return v.Enabled }).(pulumi.BoolOutput)
+func (o VirtualNetworkGatewayNatRuleTypeArrayOutput) Index(i pulumi.IntInput) VirtualNetworkGatewayNatRuleTypeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkGatewayNatRuleType {
+ return vs[0].([]VirtualNetworkGatewayNatRuleType)[vs[1].(int)]
+ }).(VirtualNetworkGatewayNatRuleTypeOutput)
}
-// If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
-func (o VirtualNetworkEncryptionOutput) Enforcement() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkEncryption) *string { return v.Enforcement }).(pulumi.StringPtrOutput)
+// VirtualNetworkGatewayNatRule Resource.
+type VirtualNetworkGatewayNatRuleResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The private IP address external mapping for NAT.
+ ExternalMappings []VpnNatRuleMappingResponse `pulumi:"externalMappings"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The private IP address internal mapping for NAT.
+ InternalMappings []VpnNatRuleMappingResponse `pulumi:"internalMappings"`
+ // The IP Configuration ID this NAT rule applies to.
+ IpConfigurationId *string `pulumi:"ipConfigurationId"`
+ // The Source NAT direction of a VPN NAT.
+ Mode *string `pulumi:"mode"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // The provisioning state of the NAT Rule resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-type VirtualNetworkEncryptionPtrOutput struct{ *pulumi.OutputState }
+// VirtualNetworkGatewayNatRule Resource.
+type VirtualNetworkGatewayNatRuleResponseOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkEncryptionPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkEncryption)(nil)).Elem()
+func (VirtualNetworkGatewayNatRuleResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayNatRuleResponse)(nil)).Elem()
}
-func (o VirtualNetworkEncryptionPtrOutput) ToVirtualNetworkEncryptionPtrOutput() VirtualNetworkEncryptionPtrOutput {
+func (o VirtualNetworkGatewayNatRuleResponseOutput) ToVirtualNetworkGatewayNatRuleResponseOutput() VirtualNetworkGatewayNatRuleResponseOutput {
return o
}
-func (o VirtualNetworkEncryptionPtrOutput) ToVirtualNetworkEncryptionPtrOutputWithContext(ctx context.Context) VirtualNetworkEncryptionPtrOutput {
+func (o VirtualNetworkGatewayNatRuleResponseOutput) ToVirtualNetworkGatewayNatRuleResponseOutputWithContext(ctx context.Context) VirtualNetworkGatewayNatRuleResponseOutput {
return o
}
-func (o VirtualNetworkEncryptionPtrOutput) Elem() VirtualNetworkEncryptionOutput {
- return o.ApplyT(func(v *VirtualNetworkEncryption) VirtualNetworkEncryption {
- if v != nil {
- return *v
- }
- var ret VirtualNetworkEncryption
- return ret
- }).(VirtualNetworkEncryptionOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o VirtualNetworkGatewayNatRuleResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Indicates if encryption is enabled on the virtual network.
-func (o VirtualNetworkEncryptionPtrOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkEncryption) *bool {
- if v == nil {
- return nil
- }
- return &v.Enabled
- }).(pulumi.BoolPtrOutput)
+// The private IP address external mapping for NAT.
+func (o VirtualNetworkGatewayNatRuleResponseOutput) ExternalMappings() VpnNatRuleMappingResponseArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) []VpnNatRuleMappingResponse { return v.ExternalMappings }).(VpnNatRuleMappingResponseArrayOutput)
}
-// If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
-func (o VirtualNetworkEncryptionPtrOutput) Enforcement() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkEncryption) *string {
- if v == nil {
- return nil
- }
- return v.Enforcement
- }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o VirtualNetworkGatewayNatRuleResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
-type VirtualNetworkEncryptionResponse struct {
- // Indicates if encryption is enabled on the virtual network.
- Enabled bool `pulumi:"enabled"`
- // If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
- Enforcement *string `pulumi:"enforcement"`
+// The private IP address internal mapping for NAT.
+func (o VirtualNetworkGatewayNatRuleResponseOutput) InternalMappings() VpnNatRuleMappingResponseArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) []VpnNatRuleMappingResponse { return v.InternalMappings }).(VpnNatRuleMappingResponseArrayOutput)
}
-// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
-type VirtualNetworkEncryptionResponseOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkEncryptionResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkEncryptionResponse)(nil)).Elem()
+// The IP Configuration ID this NAT rule applies to.
+func (o VirtualNetworkGatewayNatRuleResponseOutput) IpConfigurationId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) *string { return v.IpConfigurationId }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkEncryptionResponseOutput) ToVirtualNetworkEncryptionResponseOutput() VirtualNetworkEncryptionResponseOutput {
- return o
+// The Source NAT direction of a VPN NAT.
+func (o VirtualNetworkGatewayNatRuleResponseOutput) Mode() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) *string { return v.Mode }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkEncryptionResponseOutput) ToVirtualNetworkEncryptionResponseOutputWithContext(ctx context.Context) VirtualNetworkEncryptionResponseOutput {
- return o
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o VirtualNetworkGatewayNatRuleResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Indicates if encryption is enabled on the virtual network.
-func (o VirtualNetworkEncryptionResponseOutput) Enabled() pulumi.BoolOutput {
- return o.ApplyT(func(v VirtualNetworkEncryptionResponse) bool { return v.Enabled }).(pulumi.BoolOutput)
+// The provisioning state of the NAT Rule resource.
+func (o VirtualNetworkGatewayNatRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
-func (o VirtualNetworkEncryptionResponseOutput) Enforcement() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkEncryptionResponse) *string { return v.Enforcement }).(pulumi.StringPtrOutput)
+// Resource type.
+func (o VirtualNetworkGatewayNatRuleResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type VirtualNetworkEncryptionResponsePtrOutput struct{ *pulumi.OutputState }
+type VirtualNetworkGatewayNatRuleResponseArrayOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkEncryptionResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkEncryptionResponse)(nil)).Elem()
+func (VirtualNetworkGatewayNatRuleResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkGatewayNatRuleResponse)(nil)).Elem()
}
-func (o VirtualNetworkEncryptionResponsePtrOutput) ToVirtualNetworkEncryptionResponsePtrOutput() VirtualNetworkEncryptionResponsePtrOutput {
+func (o VirtualNetworkGatewayNatRuleResponseArrayOutput) ToVirtualNetworkGatewayNatRuleResponseArrayOutput() VirtualNetworkGatewayNatRuleResponseArrayOutput {
return o
}
-func (o VirtualNetworkEncryptionResponsePtrOutput) ToVirtualNetworkEncryptionResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkEncryptionResponsePtrOutput {
+func (o VirtualNetworkGatewayNatRuleResponseArrayOutput) ToVirtualNetworkGatewayNatRuleResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayNatRuleResponseArrayOutput {
return o
}
-func (o VirtualNetworkEncryptionResponsePtrOutput) Elem() VirtualNetworkEncryptionResponseOutput {
- return o.ApplyT(func(v *VirtualNetworkEncryptionResponse) VirtualNetworkEncryptionResponse {
- if v != nil {
- return *v
- }
- var ret VirtualNetworkEncryptionResponse
- return ret
- }).(VirtualNetworkEncryptionResponseOutput)
-}
-
-// Indicates if encryption is enabled on the virtual network.
-func (o VirtualNetworkEncryptionResponsePtrOutput) Enabled() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkEncryptionResponse) *bool {
- if v == nil {
- return nil
- }
- return &v.Enabled
- }).(pulumi.BoolPtrOutput)
-}
-
-// If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.
-func (o VirtualNetworkEncryptionResponsePtrOutput) Enforcement() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkEncryptionResponse) *string {
- if v == nil {
- return nil
- }
- return v.Enforcement
- }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkGatewayNatRuleResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkGatewayNatRuleResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkGatewayNatRuleResponse {
+ return vs[0].([]VirtualNetworkGatewayNatRuleResponse)[vs[1].(int)]
+ }).(VirtualNetworkGatewayNatRuleResponseOutput)
}
-// A common class for general resource information.
-type VirtualNetworkGatewayType struct {
- // ActiveActive flag.
- ActiveActive *bool `pulumi:"activeActive"`
- // Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
- AdminState *string `pulumi:"adminState"`
- // Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.
- AllowRemoteVnetTraffic *bool `pulumi:"allowRemoteVnetTraffic"`
- // Configures this gateway to accept traffic from remote Virtual WAN networks.
- AllowVirtualWanTraffic *bool `pulumi:"allowVirtualWanTraffic"`
- // Autoscale configuration for virutal network gateway
- AutoScaleConfiguration *VirtualNetworkGatewayAutoScaleConfiguration `pulumi:"autoScaleConfiguration"`
- // Virtual network gateway's BGP speaker settings.
- BgpSettings *BgpSettings `pulumi:"bgpSettings"`
- // The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
- CustomRoutes *AddressSpace `pulumi:"customRoutes"`
- // disableIPSecReplayProtection flag.
- DisableIPSecReplayProtection *bool `pulumi:"disableIPSecReplayProtection"`
- // Whether BGP is enabled for this virtual network gateway or not.
- EnableBgp *bool `pulumi:"enableBgp"`
- // EnableBgpRouteTranslationForNat flag.
- EnableBgpRouteTranslationForNat *bool `pulumi:"enableBgpRouteTranslationForNat"`
- // Whether dns forwarding is enabled or not.
- EnableDnsForwarding *bool `pulumi:"enableDnsForwarding"`
- // Whether private IP needs to be enabled on this gateway for connections or not.
- EnablePrivateIpAddress *bool `pulumi:"enablePrivateIpAddress"`
- // The extended location of type local virtual network gateway.
- ExtendedLocation *ExtendedLocation `pulumi:"extendedLocation"`
- // The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
- GatewayDefaultSite *SubResource `pulumi:"gatewayDefaultSite"`
- // The type of this virtual network gateway.
- GatewayType *string `pulumi:"gatewayType"`
+// Parameters for VirtualNetworkGatewayPolicyGroup.
+type VirtualNetworkGatewayPolicyGroup struct {
// Resource ID.
Id *string `pulumi:"id"`
- // The identity of the virtual network gateway, if configured.
- Identity *ManagedServiceIdentity `pulumi:"identity"`
- // IP configurations for virtual network gateway.
- IpConfigurations []VirtualNetworkGatewayIPConfiguration `pulumi:"ipConfigurations"`
- // Resource location.
- Location *string `pulumi:"location"`
- // NatRules for virtual network gateway.
- NatRules []VirtualNetworkGatewayNatRuleType `pulumi:"natRules"`
- // Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed
- ResiliencyModel *string `pulumi:"resiliencyModel"`
- // The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
- Sku *VirtualNetworkGatewaySku `pulumi:"sku"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
- VNetExtendedLocationResourceId *string `pulumi:"vNetExtendedLocationResourceId"`
- // The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.
- VirtualNetworkGatewayPolicyGroups []VirtualNetworkGatewayPolicyGroup `pulumi:"virtualNetworkGatewayPolicyGroups"`
- // The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
- VpnClientConfiguration *VpnClientConfiguration `pulumi:"vpnClientConfiguration"`
- // The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
- VpnGatewayGeneration *string `pulumi:"vpnGatewayGeneration"`
- // The type of this virtual network gateway.
- VpnType *string `pulumi:"vpnType"`
+ // Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
+ IsDefault bool `pulumi:"isDefault"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
+ PolicyMembers []VirtualNetworkGatewayPolicyGroupMember `pulumi:"policyMembers"`
+ // Priority for VirtualNetworkGatewayPolicyGroup.
+ Priority int `pulumi:"priority"`
}
-// VirtualNetworkGatewayTypeInput is an input type that accepts VirtualNetworkGatewayTypeArgs and VirtualNetworkGatewayTypeOutput values.
-// You can construct a concrete instance of `VirtualNetworkGatewayTypeInput` via:
+// VirtualNetworkGatewayPolicyGroupInput is an input type that accepts VirtualNetworkGatewayPolicyGroupArgs and VirtualNetworkGatewayPolicyGroupOutput values.
+// You can construct a concrete instance of `VirtualNetworkGatewayPolicyGroupInput` via:
//
-// VirtualNetworkGatewayTypeArgs{...}
-type VirtualNetworkGatewayTypeInput interface {
+// VirtualNetworkGatewayPolicyGroupArgs{...}
+type VirtualNetworkGatewayPolicyGroupInput interface {
pulumi.Input
- ToVirtualNetworkGatewayTypeOutput() VirtualNetworkGatewayTypeOutput
- ToVirtualNetworkGatewayTypeOutputWithContext(context.Context) VirtualNetworkGatewayTypeOutput
+ ToVirtualNetworkGatewayPolicyGroupOutput() VirtualNetworkGatewayPolicyGroupOutput
+ ToVirtualNetworkGatewayPolicyGroupOutputWithContext(context.Context) VirtualNetworkGatewayPolicyGroupOutput
}
-// A common class for general resource information.
-type VirtualNetworkGatewayTypeArgs struct {
- // ActiveActive flag.
- ActiveActive pulumi.BoolPtrInput `pulumi:"activeActive"`
- // Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
- AdminState pulumi.StringPtrInput `pulumi:"adminState"`
- // Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.
- AllowRemoteVnetTraffic pulumi.BoolPtrInput `pulumi:"allowRemoteVnetTraffic"`
- // Configures this gateway to accept traffic from remote Virtual WAN networks.
- AllowVirtualWanTraffic pulumi.BoolPtrInput `pulumi:"allowVirtualWanTraffic"`
- // Autoscale configuration for virutal network gateway
- AutoScaleConfiguration VirtualNetworkGatewayAutoScaleConfigurationPtrInput `pulumi:"autoScaleConfiguration"`
- // Virtual network gateway's BGP speaker settings.
- BgpSettings BgpSettingsPtrInput `pulumi:"bgpSettings"`
- // The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
- CustomRoutes AddressSpacePtrInput `pulumi:"customRoutes"`
- // disableIPSecReplayProtection flag.
- DisableIPSecReplayProtection pulumi.BoolPtrInput `pulumi:"disableIPSecReplayProtection"`
- // Whether BGP is enabled for this virtual network gateway or not.
- EnableBgp pulumi.BoolPtrInput `pulumi:"enableBgp"`
- // EnableBgpRouteTranslationForNat flag.
- EnableBgpRouteTranslationForNat pulumi.BoolPtrInput `pulumi:"enableBgpRouteTranslationForNat"`
- // Whether dns forwarding is enabled or not.
- EnableDnsForwarding pulumi.BoolPtrInput `pulumi:"enableDnsForwarding"`
- // Whether private IP needs to be enabled on this gateway for connections or not.
- EnablePrivateIpAddress pulumi.BoolPtrInput `pulumi:"enablePrivateIpAddress"`
- // The extended location of type local virtual network gateway.
- ExtendedLocation ExtendedLocationPtrInput `pulumi:"extendedLocation"`
- // The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
- GatewayDefaultSite SubResourcePtrInput `pulumi:"gatewayDefaultSite"`
- // The type of this virtual network gateway.
- GatewayType pulumi.StringPtrInput `pulumi:"gatewayType"`
+// Parameters for VirtualNetworkGatewayPolicyGroup.
+type VirtualNetworkGatewayPolicyGroupArgs struct {
// Resource ID.
Id pulumi.StringPtrInput `pulumi:"id"`
- // The identity of the virtual network gateway, if configured.
- Identity ManagedServiceIdentityPtrInput `pulumi:"identity"`
- // IP configurations for virtual network gateway.
- IpConfigurations VirtualNetworkGatewayIPConfigurationArrayInput `pulumi:"ipConfigurations"`
- // Resource location.
- Location pulumi.StringPtrInput `pulumi:"location"`
- // NatRules for virtual network gateway.
- NatRules VirtualNetworkGatewayNatRuleTypeArrayInput `pulumi:"natRules"`
- // Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed
- ResiliencyModel pulumi.StringPtrInput `pulumi:"resiliencyModel"`
- // The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
- Sku VirtualNetworkGatewaySkuPtrInput `pulumi:"sku"`
- // Resource tags.
- Tags pulumi.StringMapInput `pulumi:"tags"`
- // Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
- VNetExtendedLocationResourceId pulumi.StringPtrInput `pulumi:"vNetExtendedLocationResourceId"`
- // The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.
- VirtualNetworkGatewayPolicyGroups VirtualNetworkGatewayPolicyGroupArrayInput `pulumi:"virtualNetworkGatewayPolicyGroups"`
- // The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
- VpnClientConfiguration VpnClientConfigurationPtrInput `pulumi:"vpnClientConfiguration"`
- // The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
- VpnGatewayGeneration pulumi.StringPtrInput `pulumi:"vpnGatewayGeneration"`
- // The type of this virtual network gateway.
- VpnType pulumi.StringPtrInput `pulumi:"vpnType"`
+ // Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
+ IsDefault pulumi.BoolInput `pulumi:"isDefault"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name pulumi.StringPtrInput `pulumi:"name"`
+ // Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
+ PolicyMembers VirtualNetworkGatewayPolicyGroupMemberArrayInput `pulumi:"policyMembers"`
+ // Priority for VirtualNetworkGatewayPolicyGroup.
+ Priority pulumi.IntInput `pulumi:"priority"`
}
-func (VirtualNetworkGatewayTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayType)(nil)).Elem()
+func (VirtualNetworkGatewayPolicyGroupArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayPolicyGroup)(nil)).Elem()
}
-func (i VirtualNetworkGatewayTypeArgs) ToVirtualNetworkGatewayTypeOutput() VirtualNetworkGatewayTypeOutput {
- return i.ToVirtualNetworkGatewayTypeOutputWithContext(context.Background())
+func (i VirtualNetworkGatewayPolicyGroupArgs) ToVirtualNetworkGatewayPolicyGroupOutput() VirtualNetworkGatewayPolicyGroupOutput {
+ return i.ToVirtualNetworkGatewayPolicyGroupOutputWithContext(context.Background())
}
-func (i VirtualNetworkGatewayTypeArgs) ToVirtualNetworkGatewayTypeOutputWithContext(ctx context.Context) VirtualNetworkGatewayTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayTypeOutput)
+func (i VirtualNetworkGatewayPolicyGroupArgs) ToVirtualNetworkGatewayPolicyGroupOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayPolicyGroupOutput)
}
-func (i VirtualNetworkGatewayTypeArgs) ToVirtualNetworkGatewayTypePtrOutput() VirtualNetworkGatewayTypePtrOutput {
- return i.ToVirtualNetworkGatewayTypePtrOutputWithContext(context.Background())
+// VirtualNetworkGatewayPolicyGroupArrayInput is an input type that accepts VirtualNetworkGatewayPolicyGroupArray and VirtualNetworkGatewayPolicyGroupArrayOutput values.
+// You can construct a concrete instance of `VirtualNetworkGatewayPolicyGroupArrayInput` via:
+//
+// VirtualNetworkGatewayPolicyGroupArray{ VirtualNetworkGatewayPolicyGroupArgs{...} }
+type VirtualNetworkGatewayPolicyGroupArrayInput interface {
+ pulumi.Input
+
+ ToVirtualNetworkGatewayPolicyGroupArrayOutput() VirtualNetworkGatewayPolicyGroupArrayOutput
+ ToVirtualNetworkGatewayPolicyGroupArrayOutputWithContext(context.Context) VirtualNetworkGatewayPolicyGroupArrayOutput
}
-func (i VirtualNetworkGatewayTypeArgs) ToVirtualNetworkGatewayTypePtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayTypeOutput).ToVirtualNetworkGatewayTypePtrOutputWithContext(ctx)
+type VirtualNetworkGatewayPolicyGroupArray []VirtualNetworkGatewayPolicyGroupInput
+
+func (VirtualNetworkGatewayPolicyGroupArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkGatewayPolicyGroup)(nil)).Elem()
}
-// VirtualNetworkGatewayTypePtrInput is an input type that accepts VirtualNetworkGatewayTypeArgs, VirtualNetworkGatewayTypePtr and VirtualNetworkGatewayTypePtrOutput values.
-// You can construct a concrete instance of `VirtualNetworkGatewayTypePtrInput` via:
-//
-// VirtualNetworkGatewayTypeArgs{...}
-//
-// or:
-//
-// nil
-type VirtualNetworkGatewayTypePtrInput interface {
- pulumi.Input
+func (i VirtualNetworkGatewayPolicyGroupArray) ToVirtualNetworkGatewayPolicyGroupArrayOutput() VirtualNetworkGatewayPolicyGroupArrayOutput {
+ return i.ToVirtualNetworkGatewayPolicyGroupArrayOutputWithContext(context.Background())
+}
- ToVirtualNetworkGatewayTypePtrOutput() VirtualNetworkGatewayTypePtrOutput
- ToVirtualNetworkGatewayTypePtrOutputWithContext(context.Context) VirtualNetworkGatewayTypePtrOutput
+func (i VirtualNetworkGatewayPolicyGroupArray) ToVirtualNetworkGatewayPolicyGroupArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayPolicyGroupArrayOutput)
}
-type virtualNetworkGatewayTypePtrType VirtualNetworkGatewayTypeArgs
+// Parameters for VirtualNetworkGatewayPolicyGroup.
+type VirtualNetworkGatewayPolicyGroupOutput struct{ *pulumi.OutputState }
-func VirtualNetworkGatewayTypePtr(v *VirtualNetworkGatewayTypeArgs) VirtualNetworkGatewayTypePtrInput {
- return (*virtualNetworkGatewayTypePtrType)(v)
+func (VirtualNetworkGatewayPolicyGroupOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayPolicyGroup)(nil)).Elem()
}
-func (*virtualNetworkGatewayTypePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkGatewayType)(nil)).Elem()
+func (o VirtualNetworkGatewayPolicyGroupOutput) ToVirtualNetworkGatewayPolicyGroupOutput() VirtualNetworkGatewayPolicyGroupOutput {
+ return o
}
-func (i *virtualNetworkGatewayTypePtrType) ToVirtualNetworkGatewayTypePtrOutput() VirtualNetworkGatewayTypePtrOutput {
- return i.ToVirtualNetworkGatewayTypePtrOutputWithContext(context.Background())
+func (o VirtualNetworkGatewayPolicyGroupOutput) ToVirtualNetworkGatewayPolicyGroupOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupOutput {
+ return o
}
-func (i *virtualNetworkGatewayTypePtrType) ToVirtualNetworkGatewayTypePtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayTypePtrOutput)
+// Resource ID.
+func (o VirtualNetworkGatewayPolicyGroupOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroup) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// A common class for general resource information.
-type VirtualNetworkGatewayTypeOutput struct{ *pulumi.OutputState }
+// Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
+func (o VirtualNetworkGatewayPolicyGroupOutput) IsDefault() pulumi.BoolOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroup) bool { return v.IsDefault }).(pulumi.BoolOutput)
+}
-func (VirtualNetworkGatewayTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayType)(nil)).Elem()
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o VirtualNetworkGatewayPolicyGroupOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroup) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayTypeOutput) ToVirtualNetworkGatewayTypeOutput() VirtualNetworkGatewayTypeOutput {
- return o
+// Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
+func (o VirtualNetworkGatewayPolicyGroupOutput) PolicyMembers() VirtualNetworkGatewayPolicyGroupMemberArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroup) []VirtualNetworkGatewayPolicyGroupMember {
+ return v.PolicyMembers
+ }).(VirtualNetworkGatewayPolicyGroupMemberArrayOutput)
}
-func (o VirtualNetworkGatewayTypeOutput) ToVirtualNetworkGatewayTypeOutputWithContext(ctx context.Context) VirtualNetworkGatewayTypeOutput {
- return o
+// Priority for VirtualNetworkGatewayPolicyGroup.
+func (o VirtualNetworkGatewayPolicyGroupOutput) Priority() pulumi.IntOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroup) int { return v.Priority }).(pulumi.IntOutput)
}
-func (o VirtualNetworkGatewayTypeOutput) ToVirtualNetworkGatewayTypePtrOutput() VirtualNetworkGatewayTypePtrOutput {
- return o.ToVirtualNetworkGatewayTypePtrOutputWithContext(context.Background())
-}
+type VirtualNetworkGatewayPolicyGroupArrayOutput struct{ *pulumi.OutputState }
-func (o VirtualNetworkGatewayTypeOutput) ToVirtualNetworkGatewayTypePtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayTypePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualNetworkGatewayType) *VirtualNetworkGatewayType {
- return &v
- }).(VirtualNetworkGatewayTypePtrOutput)
+func (VirtualNetworkGatewayPolicyGroupArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkGatewayPolicyGroup)(nil)).Elem()
}
-// ActiveActive flag.
-func (o VirtualNetworkGatewayTypeOutput) ActiveActive() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *bool { return v.ActiveActive }).(pulumi.BoolPtrOutput)
+func (o VirtualNetworkGatewayPolicyGroupArrayOutput) ToVirtualNetworkGatewayPolicyGroupArrayOutput() VirtualNetworkGatewayPolicyGroupArrayOutput {
+ return o
}
-// Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
-func (o VirtualNetworkGatewayTypeOutput) AdminState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *string { return v.AdminState }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkGatewayPolicyGroupArrayOutput) ToVirtualNetworkGatewayPolicyGroupArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupArrayOutput {
+ return o
}
-// Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.
-func (o VirtualNetworkGatewayTypeOutput) AllowRemoteVnetTraffic() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *bool { return v.AllowRemoteVnetTraffic }).(pulumi.BoolPtrOutput)
+func (o VirtualNetworkGatewayPolicyGroupArrayOutput) Index(i pulumi.IntInput) VirtualNetworkGatewayPolicyGroupOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkGatewayPolicyGroup {
+ return vs[0].([]VirtualNetworkGatewayPolicyGroup)[vs[1].(int)]
+ }).(VirtualNetworkGatewayPolicyGroupOutput)
}
-// Configures this gateway to accept traffic from remote Virtual WAN networks.
-func (o VirtualNetworkGatewayTypeOutput) AllowVirtualWanTraffic() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *bool { return v.AllowVirtualWanTraffic }).(pulumi.BoolPtrOutput)
+// Vpn Client Connection configuration PolicyGroup member
+type VirtualNetworkGatewayPolicyGroupMember struct {
+ // The Vpn Policy member attribute type.
+ AttributeType *string `pulumi:"attributeType"`
+ // The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
+ AttributeValue *string `pulumi:"attributeValue"`
+ // Name of the VirtualNetworkGatewayPolicyGroupMember.
+ Name *string `pulumi:"name"`
}
-// Autoscale configuration for virutal network gateway
-func (o VirtualNetworkGatewayTypeOutput) AutoScaleConfiguration() VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *VirtualNetworkGatewayAutoScaleConfiguration {
- return v.AutoScaleConfiguration
- }).(VirtualNetworkGatewayAutoScaleConfigurationPtrOutput)
-}
+// VirtualNetworkGatewayPolicyGroupMemberInput is an input type that accepts VirtualNetworkGatewayPolicyGroupMemberArgs and VirtualNetworkGatewayPolicyGroupMemberOutput values.
+// You can construct a concrete instance of `VirtualNetworkGatewayPolicyGroupMemberInput` via:
+//
+// VirtualNetworkGatewayPolicyGroupMemberArgs{...}
+type VirtualNetworkGatewayPolicyGroupMemberInput interface {
+ pulumi.Input
-// Virtual network gateway's BGP speaker settings.
-func (o VirtualNetworkGatewayTypeOutput) BgpSettings() BgpSettingsPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *BgpSettings { return v.BgpSettings }).(BgpSettingsPtrOutput)
+ ToVirtualNetworkGatewayPolicyGroupMemberOutput() VirtualNetworkGatewayPolicyGroupMemberOutput
+ ToVirtualNetworkGatewayPolicyGroupMemberOutputWithContext(context.Context) VirtualNetworkGatewayPolicyGroupMemberOutput
}
-// The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
-func (o VirtualNetworkGatewayTypeOutput) CustomRoutes() AddressSpacePtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *AddressSpace { return v.CustomRoutes }).(AddressSpacePtrOutput)
+// Vpn Client Connection configuration PolicyGroup member
+type VirtualNetworkGatewayPolicyGroupMemberArgs struct {
+ // The Vpn Policy member attribute type.
+ AttributeType pulumi.StringPtrInput `pulumi:"attributeType"`
+ // The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
+ AttributeValue pulumi.StringPtrInput `pulumi:"attributeValue"`
+ // Name of the VirtualNetworkGatewayPolicyGroupMember.
+ Name pulumi.StringPtrInput `pulumi:"name"`
}
-// disableIPSecReplayProtection flag.
-func (o VirtualNetworkGatewayTypeOutput) DisableIPSecReplayProtection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *bool { return v.DisableIPSecReplayProtection }).(pulumi.BoolPtrOutput)
+func (VirtualNetworkGatewayPolicyGroupMemberArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayPolicyGroupMember)(nil)).Elem()
}
-// Whether BGP is enabled for this virtual network gateway or not.
-func (o VirtualNetworkGatewayTypeOutput) EnableBgp() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *bool { return v.EnableBgp }).(pulumi.BoolPtrOutput)
+func (i VirtualNetworkGatewayPolicyGroupMemberArgs) ToVirtualNetworkGatewayPolicyGroupMemberOutput() VirtualNetworkGatewayPolicyGroupMemberOutput {
+ return i.ToVirtualNetworkGatewayPolicyGroupMemberOutputWithContext(context.Background())
}
-// EnableBgpRouteTranslationForNat flag.
-func (o VirtualNetworkGatewayTypeOutput) EnableBgpRouteTranslationForNat() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *bool { return v.EnableBgpRouteTranslationForNat }).(pulumi.BoolPtrOutput)
+func (i VirtualNetworkGatewayPolicyGroupMemberArgs) ToVirtualNetworkGatewayPolicyGroupMemberOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupMemberOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayPolicyGroupMemberOutput)
}
-// Whether dns forwarding is enabled or not.
-func (o VirtualNetworkGatewayTypeOutput) EnableDnsForwarding() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *bool { return v.EnableDnsForwarding }).(pulumi.BoolPtrOutput)
-}
+// VirtualNetworkGatewayPolicyGroupMemberArrayInput is an input type that accepts VirtualNetworkGatewayPolicyGroupMemberArray and VirtualNetworkGatewayPolicyGroupMemberArrayOutput values.
+// You can construct a concrete instance of `VirtualNetworkGatewayPolicyGroupMemberArrayInput` via:
+//
+// VirtualNetworkGatewayPolicyGroupMemberArray{ VirtualNetworkGatewayPolicyGroupMemberArgs{...} }
+type VirtualNetworkGatewayPolicyGroupMemberArrayInput interface {
+ pulumi.Input
-// Whether private IP needs to be enabled on this gateway for connections or not.
-func (o VirtualNetworkGatewayTypeOutput) EnablePrivateIpAddress() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *bool { return v.EnablePrivateIpAddress }).(pulumi.BoolPtrOutput)
+ ToVirtualNetworkGatewayPolicyGroupMemberArrayOutput() VirtualNetworkGatewayPolicyGroupMemberArrayOutput
+ ToVirtualNetworkGatewayPolicyGroupMemberArrayOutputWithContext(context.Context) VirtualNetworkGatewayPolicyGroupMemberArrayOutput
}
-// The extended location of type local virtual network gateway.
-func (o VirtualNetworkGatewayTypeOutput) ExtendedLocation() ExtendedLocationPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *ExtendedLocation { return v.ExtendedLocation }).(ExtendedLocationPtrOutput)
-}
+type VirtualNetworkGatewayPolicyGroupMemberArray []VirtualNetworkGatewayPolicyGroupMemberInput
-// The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
-func (o VirtualNetworkGatewayTypeOutput) GatewayDefaultSite() SubResourcePtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *SubResource { return v.GatewayDefaultSite }).(SubResourcePtrOutput)
+func (VirtualNetworkGatewayPolicyGroupMemberArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkGatewayPolicyGroupMember)(nil)).Elem()
}
-// The type of this virtual network gateway.
-func (o VirtualNetworkGatewayTypeOutput) GatewayType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *string { return v.GatewayType }).(pulumi.StringPtrOutput)
+func (i VirtualNetworkGatewayPolicyGroupMemberArray) ToVirtualNetworkGatewayPolicyGroupMemberArrayOutput() VirtualNetworkGatewayPolicyGroupMemberArrayOutput {
+ return i.ToVirtualNetworkGatewayPolicyGroupMemberArrayOutputWithContext(context.Background())
}
-// Resource ID.
-func (o VirtualNetworkGatewayTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (i VirtualNetworkGatewayPolicyGroupMemberArray) ToVirtualNetworkGatewayPolicyGroupMemberArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupMemberArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayPolicyGroupMemberArrayOutput)
}
-// The identity of the virtual network gateway, if configured.
-func (o VirtualNetworkGatewayTypeOutput) Identity() ManagedServiceIdentityPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *ManagedServiceIdentity { return v.Identity }).(ManagedServiceIdentityPtrOutput)
-}
+// Vpn Client Connection configuration PolicyGroup member
+type VirtualNetworkGatewayPolicyGroupMemberOutput struct{ *pulumi.OutputState }
-// IP configurations for virtual network gateway.
-func (o VirtualNetworkGatewayTypeOutput) IpConfigurations() VirtualNetworkGatewayIPConfigurationArrayOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) []VirtualNetworkGatewayIPConfiguration { return v.IpConfigurations }).(VirtualNetworkGatewayIPConfigurationArrayOutput)
+func (VirtualNetworkGatewayPolicyGroupMemberOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayPolicyGroupMember)(nil)).Elem()
}
-// Resource location.
-func (o VirtualNetworkGatewayTypeOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *string { return v.Location }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkGatewayPolicyGroupMemberOutput) ToVirtualNetworkGatewayPolicyGroupMemberOutput() VirtualNetworkGatewayPolicyGroupMemberOutput {
+ return o
}
-// NatRules for virtual network gateway.
-func (o VirtualNetworkGatewayTypeOutput) NatRules() VirtualNetworkGatewayNatRuleTypeArrayOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) []VirtualNetworkGatewayNatRuleType { return v.NatRules }).(VirtualNetworkGatewayNatRuleTypeArrayOutput)
+func (o VirtualNetworkGatewayPolicyGroupMemberOutput) ToVirtualNetworkGatewayPolicyGroupMemberOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupMemberOutput {
+ return o
}
-// Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed
-func (o VirtualNetworkGatewayTypeOutput) ResiliencyModel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *string { return v.ResiliencyModel }).(pulumi.StringPtrOutput)
+// The Vpn Policy member attribute type.
+func (o VirtualNetworkGatewayPolicyGroupMemberOutput) AttributeType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupMember) *string { return v.AttributeType }).(pulumi.StringPtrOutput)
}
-// The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
-func (o VirtualNetworkGatewayTypeOutput) Sku() VirtualNetworkGatewaySkuPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *VirtualNetworkGatewaySku { return v.Sku }).(VirtualNetworkGatewaySkuPtrOutput)
+// The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
+func (o VirtualNetworkGatewayPolicyGroupMemberOutput) AttributeValue() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupMember) *string { return v.AttributeValue }).(pulumi.StringPtrOutput)
}
-// Resource tags.
-func (o VirtualNetworkGatewayTypeOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// Name of the VirtualNetworkGatewayPolicyGroupMember.
+func (o VirtualNetworkGatewayPolicyGroupMemberOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupMember) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
-func (o VirtualNetworkGatewayTypeOutput) VNetExtendedLocationResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *string { return v.VNetExtendedLocationResourceId }).(pulumi.StringPtrOutput)
+type VirtualNetworkGatewayPolicyGroupMemberArrayOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkGatewayPolicyGroupMemberArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkGatewayPolicyGroupMember)(nil)).Elem()
}
-// The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.
-func (o VirtualNetworkGatewayTypeOutput) VirtualNetworkGatewayPolicyGroups() VirtualNetworkGatewayPolicyGroupArrayOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) []VirtualNetworkGatewayPolicyGroup {
- return v.VirtualNetworkGatewayPolicyGroups
- }).(VirtualNetworkGatewayPolicyGroupArrayOutput)
+func (o VirtualNetworkGatewayPolicyGroupMemberArrayOutput) ToVirtualNetworkGatewayPolicyGroupMemberArrayOutput() VirtualNetworkGatewayPolicyGroupMemberArrayOutput {
+ return o
}
-// The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
-func (o VirtualNetworkGatewayTypeOutput) VpnClientConfiguration() VpnClientConfigurationPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *VpnClientConfiguration { return v.VpnClientConfiguration }).(VpnClientConfigurationPtrOutput)
+func (o VirtualNetworkGatewayPolicyGroupMemberArrayOutput) ToVirtualNetworkGatewayPolicyGroupMemberArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupMemberArrayOutput {
+ return o
}
-// The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
-func (o VirtualNetworkGatewayTypeOutput) VpnGatewayGeneration() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *string { return v.VpnGatewayGeneration }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkGatewayPolicyGroupMemberArrayOutput) Index(i pulumi.IntInput) VirtualNetworkGatewayPolicyGroupMemberOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkGatewayPolicyGroupMember {
+ return vs[0].([]VirtualNetworkGatewayPolicyGroupMember)[vs[1].(int)]
+ }).(VirtualNetworkGatewayPolicyGroupMemberOutput)
}
-// The type of this virtual network gateway.
-func (o VirtualNetworkGatewayTypeOutput) VpnType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayType) *string { return v.VpnType }).(pulumi.StringPtrOutput)
+// Vpn Client Connection configuration PolicyGroup member
+type VirtualNetworkGatewayPolicyGroupMemberResponse struct {
+ // The Vpn Policy member attribute type.
+ AttributeType *string `pulumi:"attributeType"`
+ // The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
+ AttributeValue *string `pulumi:"attributeValue"`
+ // Name of the VirtualNetworkGatewayPolicyGroupMember.
+ Name *string `pulumi:"name"`
}
-type VirtualNetworkGatewayTypePtrOutput struct{ *pulumi.OutputState }
+// Vpn Client Connection configuration PolicyGroup member
+type VirtualNetworkGatewayPolicyGroupMemberResponseOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkGatewayTypePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkGatewayType)(nil)).Elem()
+func (VirtualNetworkGatewayPolicyGroupMemberResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayPolicyGroupMemberResponse)(nil)).Elem()
}
-func (o VirtualNetworkGatewayTypePtrOutput) ToVirtualNetworkGatewayTypePtrOutput() VirtualNetworkGatewayTypePtrOutput {
+func (o VirtualNetworkGatewayPolicyGroupMemberResponseOutput) ToVirtualNetworkGatewayPolicyGroupMemberResponseOutput() VirtualNetworkGatewayPolicyGroupMemberResponseOutput {
return o
}
-func (o VirtualNetworkGatewayTypePtrOutput) ToVirtualNetworkGatewayTypePtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayTypePtrOutput {
+func (o VirtualNetworkGatewayPolicyGroupMemberResponseOutput) ToVirtualNetworkGatewayPolicyGroupMemberResponseOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupMemberResponseOutput {
return o
}
-func (o VirtualNetworkGatewayTypePtrOutput) Elem() VirtualNetworkGatewayTypeOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) VirtualNetworkGatewayType {
- if v != nil {
- return *v
- }
- var ret VirtualNetworkGatewayType
- return ret
- }).(VirtualNetworkGatewayTypeOutput)
+// The Vpn Policy member attribute type.
+func (o VirtualNetworkGatewayPolicyGroupMemberResponseOutput) AttributeType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupMemberResponse) *string { return v.AttributeType }).(pulumi.StringPtrOutput)
}
-// ActiveActive flag.
-func (o VirtualNetworkGatewayTypePtrOutput) ActiveActive() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *bool {
- if v == nil {
- return nil
- }
- return v.ActiveActive
- }).(pulumi.BoolPtrOutput)
+// The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
+func (o VirtualNetworkGatewayPolicyGroupMemberResponseOutput) AttributeValue() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupMemberResponse) *string { return v.AttributeValue }).(pulumi.StringPtrOutput)
}
-// Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
-func (o VirtualNetworkGatewayTypePtrOutput) AdminState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *string {
- if v == nil {
- return nil
- }
- return v.AdminState
- }).(pulumi.StringPtrOutput)
+// Name of the VirtualNetworkGatewayPolicyGroupMember.
+func (o VirtualNetworkGatewayPolicyGroupMemberResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupMemberResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.
-func (o VirtualNetworkGatewayTypePtrOutput) AllowRemoteVnetTraffic() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *bool {
- if v == nil {
- return nil
- }
- return v.AllowRemoteVnetTraffic
- }).(pulumi.BoolPtrOutput)
+type VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkGatewayPolicyGroupMemberResponse)(nil)).Elem()
}
-// Configures this gateway to accept traffic from remote Virtual WAN networks.
-func (o VirtualNetworkGatewayTypePtrOutput) AllowVirtualWanTraffic() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *bool {
- if v == nil {
- return nil
- }
- return v.AllowVirtualWanTraffic
- }).(pulumi.BoolPtrOutput)
+func (o VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput) ToVirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput() VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput {
+ return o
}
-// Autoscale configuration for virutal network gateway
-func (o VirtualNetworkGatewayTypePtrOutput) AutoScaleConfiguration() VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *VirtualNetworkGatewayAutoScaleConfiguration {
- if v == nil {
- return nil
- }
- return v.AutoScaleConfiguration
- }).(VirtualNetworkGatewayAutoScaleConfigurationPtrOutput)
+func (o VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput) ToVirtualNetworkGatewayPolicyGroupMemberResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput {
+ return o
}
-// Virtual network gateway's BGP speaker settings.
-func (o VirtualNetworkGatewayTypePtrOutput) BgpSettings() BgpSettingsPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *BgpSettings {
- if v == nil {
- return nil
- }
- return v.BgpSettings
- }).(BgpSettingsPtrOutput)
+func (o VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkGatewayPolicyGroupMemberResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkGatewayPolicyGroupMemberResponse {
+ return vs[0].([]VirtualNetworkGatewayPolicyGroupMemberResponse)[vs[1].(int)]
+ }).(VirtualNetworkGatewayPolicyGroupMemberResponseOutput)
}
-// The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
-func (o VirtualNetworkGatewayTypePtrOutput) CustomRoutes() AddressSpacePtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *AddressSpace {
- if v == nil {
- return nil
- }
- return v.CustomRoutes
- }).(AddressSpacePtrOutput)
+// Parameters for VirtualNetworkGatewayPolicyGroup.
+type VirtualNetworkGatewayPolicyGroupResponse struct {
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
+ IsDefault bool `pulumi:"isDefault"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
+ PolicyMembers []VirtualNetworkGatewayPolicyGroupMemberResponse `pulumi:"policyMembers"`
+ // Priority for VirtualNetworkGatewayPolicyGroup.
+ Priority int `pulumi:"priority"`
+ // The provisioning state of the VirtualNetworkGatewayPolicyGroup resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // List of references to vngClientConnectionConfigurations.
+ VngClientConnectionConfigurations []SubResourceResponse `pulumi:"vngClientConnectionConfigurations"`
}
-// disableIPSecReplayProtection flag.
-func (o VirtualNetworkGatewayTypePtrOutput) DisableIPSecReplayProtection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *bool {
- if v == nil {
- return nil
- }
- return v.DisableIPSecReplayProtection
- }).(pulumi.BoolPtrOutput)
+// Parameters for VirtualNetworkGatewayPolicyGroup.
+type VirtualNetworkGatewayPolicyGroupResponseOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkGatewayPolicyGroupResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayPolicyGroupResponse)(nil)).Elem()
}
-// Whether BGP is enabled for this virtual network gateway or not.
-func (o VirtualNetworkGatewayTypePtrOutput) EnableBgp() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *bool {
- if v == nil {
- return nil
- }
- return v.EnableBgp
- }).(pulumi.BoolPtrOutput)
+func (o VirtualNetworkGatewayPolicyGroupResponseOutput) ToVirtualNetworkGatewayPolicyGroupResponseOutput() VirtualNetworkGatewayPolicyGroupResponseOutput {
+ return o
}
-// EnableBgpRouteTranslationForNat flag.
-func (o VirtualNetworkGatewayTypePtrOutput) EnableBgpRouteTranslationForNat() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *bool {
- if v == nil {
- return nil
- }
- return v.EnableBgpRouteTranslationForNat
- }).(pulumi.BoolPtrOutput)
+func (o VirtualNetworkGatewayPolicyGroupResponseOutput) ToVirtualNetworkGatewayPolicyGroupResponseOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupResponseOutput {
+ return o
}
-// Whether dns forwarding is enabled or not.
-func (o VirtualNetworkGatewayTypePtrOutput) EnableDnsForwarding() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *bool {
- if v == nil {
- return nil
- }
- return v.EnableDnsForwarding
- }).(pulumi.BoolPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o VirtualNetworkGatewayPolicyGroupResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Whether private IP needs to be enabled on this gateway for connections or not.
-func (o VirtualNetworkGatewayTypePtrOutput) EnablePrivateIpAddress() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *bool {
- if v == nil {
- return nil
- }
- return v.EnablePrivateIpAddress
- }).(pulumi.BoolPtrOutput)
+// Resource ID.
+func (o VirtualNetworkGatewayPolicyGroupResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The extended location of type local virtual network gateway.
-func (o VirtualNetworkGatewayTypePtrOutput) ExtendedLocation() ExtendedLocationPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *ExtendedLocation {
- if v == nil {
- return nil
- }
- return v.ExtendedLocation
- }).(ExtendedLocationPtrOutput)
+// Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
+func (o VirtualNetworkGatewayPolicyGroupResponseOutput) IsDefault() pulumi.BoolOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupResponse) bool { return v.IsDefault }).(pulumi.BoolOutput)
}
-// The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
-func (o VirtualNetworkGatewayTypePtrOutput) GatewayDefaultSite() SubResourcePtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *SubResource {
- if v == nil {
- return nil
- }
- return v.GatewayDefaultSite
- }).(SubResourcePtrOutput)
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o VirtualNetworkGatewayPolicyGroupResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The type of this virtual network gateway.
-func (o VirtualNetworkGatewayTypePtrOutput) GatewayType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *string {
- if v == nil {
- return nil
- }
- return v.GatewayType
- }).(pulumi.StringPtrOutput)
+// Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
+func (o VirtualNetworkGatewayPolicyGroupResponseOutput) PolicyMembers() VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupResponse) []VirtualNetworkGatewayPolicyGroupMemberResponse {
+ return v.PolicyMembers
+ }).(VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput)
}
-// Resource ID.
-func (o VirtualNetworkGatewayTypePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *string {
- if v == nil {
- return nil
- }
- return v.Id
- }).(pulumi.StringPtrOutput)
+// Priority for VirtualNetworkGatewayPolicyGroup.
+func (o VirtualNetworkGatewayPolicyGroupResponseOutput) Priority() pulumi.IntOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupResponse) int { return v.Priority }).(pulumi.IntOutput)
}
-// The identity of the virtual network gateway, if configured.
-func (o VirtualNetworkGatewayTypePtrOutput) Identity() ManagedServiceIdentityPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *ManagedServiceIdentity {
- if v == nil {
- return nil
- }
- return v.Identity
- }).(ManagedServiceIdentityPtrOutput)
+// The provisioning state of the VirtualNetworkGatewayPolicyGroup resource.
+func (o VirtualNetworkGatewayPolicyGroupResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// IP configurations for virtual network gateway.
-func (o VirtualNetworkGatewayTypePtrOutput) IpConfigurations() VirtualNetworkGatewayIPConfigurationArrayOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) []VirtualNetworkGatewayIPConfiguration {
- if v == nil {
- return nil
- }
- return v.IpConfigurations
- }).(VirtualNetworkGatewayIPConfigurationArrayOutput)
+// List of references to vngClientConnectionConfigurations.
+func (o VirtualNetworkGatewayPolicyGroupResponseOutput) VngClientConnectionConfigurations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupResponse) []SubResourceResponse {
+ return v.VngClientConnectionConfigurations
+ }).(SubResourceResponseArrayOutput)
}
-// Resource location.
-func (o VirtualNetworkGatewayTypePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *string {
- if v == nil {
- return nil
- }
- return v.Location
- }).(pulumi.StringPtrOutput)
+type VirtualNetworkGatewayPolicyGroupResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkGatewayPolicyGroupResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkGatewayPolicyGroupResponse)(nil)).Elem()
}
-// NatRules for virtual network gateway.
-func (o VirtualNetworkGatewayTypePtrOutput) NatRules() VirtualNetworkGatewayNatRuleTypeArrayOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) []VirtualNetworkGatewayNatRuleType {
- if v == nil {
- return nil
- }
- return v.NatRules
- }).(VirtualNetworkGatewayNatRuleTypeArrayOutput)
+func (o VirtualNetworkGatewayPolicyGroupResponseArrayOutput) ToVirtualNetworkGatewayPolicyGroupResponseArrayOutput() VirtualNetworkGatewayPolicyGroupResponseArrayOutput {
+ return o
}
-// Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed
-func (o VirtualNetworkGatewayTypePtrOutput) ResiliencyModel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *string {
- if v == nil {
- return nil
- }
- return v.ResiliencyModel
- }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkGatewayPolicyGroupResponseArrayOutput) ToVirtualNetworkGatewayPolicyGroupResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupResponseArrayOutput {
+ return o
}
-// The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
-func (o VirtualNetworkGatewayTypePtrOutput) Sku() VirtualNetworkGatewaySkuPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *VirtualNetworkGatewaySku {
- if v == nil {
- return nil
- }
- return v.Sku
- }).(VirtualNetworkGatewaySkuPtrOutput)
+func (o VirtualNetworkGatewayPolicyGroupResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkGatewayPolicyGroupResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkGatewayPolicyGroupResponse {
+ return vs[0].([]VirtualNetworkGatewayPolicyGroupResponse)[vs[1].(int)]
+ }).(VirtualNetworkGatewayPolicyGroupResponseOutput)
+}
+
+// A common class for general resource information.
+type VirtualNetworkGatewayResponse struct {
+ // ActiveActive flag.
+ ActiveActive *bool `pulumi:"activeActive"`
+ // Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
+ AdminState *string `pulumi:"adminState"`
+ // Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.
+ AllowRemoteVnetTraffic *bool `pulumi:"allowRemoteVnetTraffic"`
+ // Configures this gateway to accept traffic from remote Virtual WAN networks.
+ AllowVirtualWanTraffic *bool `pulumi:"allowVirtualWanTraffic"`
+ // Autoscale configuration for virutal network gateway
+ AutoScaleConfiguration *VirtualNetworkGatewayAutoScaleConfigurationResponse `pulumi:"autoScaleConfiguration"`
+ // Virtual network gateway's BGP speaker settings.
+ BgpSettings *BgpSettingsResponse `pulumi:"bgpSettings"`
+ // The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
+ CustomRoutes *AddressSpaceResponse `pulumi:"customRoutes"`
+ // disableIPSecReplayProtection flag.
+ DisableIPSecReplayProtection *bool `pulumi:"disableIPSecReplayProtection"`
+ // Whether BGP is enabled for this virtual network gateway or not.
+ EnableBgp *bool `pulumi:"enableBgp"`
+ // EnableBgpRouteTranslationForNat flag.
+ EnableBgpRouteTranslationForNat *bool `pulumi:"enableBgpRouteTranslationForNat"`
+ // Whether dns forwarding is enabled or not.
+ EnableDnsForwarding *bool `pulumi:"enableDnsForwarding"`
+ // Whether private IP needs to be enabled on this gateway for connections or not.
+ EnablePrivateIpAddress *bool `pulumi:"enablePrivateIpAddress"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // The extended location of type local virtual network gateway.
+ ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
+ // The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
+ GatewayDefaultSite *SubResourceResponse `pulumi:"gatewayDefaultSite"`
+ // The type of this virtual network gateway.
+ GatewayType *string `pulumi:"gatewayType"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The identity of the virtual network gateway, if configured.
+ Identity *ManagedServiceIdentityResponse `pulumi:"identity"`
+ // The IP address allocated by the gateway to which dns requests can be sent.
+ InboundDnsForwardingEndpoint string `pulumi:"inboundDnsForwardingEndpoint"`
+ // IP configurations for virtual network gateway.
+ IpConfigurations []VirtualNetworkGatewayIPConfigurationResponse `pulumi:"ipConfigurations"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // NatRules for virtual network gateway.
+ NatRules []VirtualNetworkGatewayNatRuleResponse `pulumi:"natRules"`
+ // The provisioning state of the virtual network gateway resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed
+ ResiliencyModel *string `pulumi:"resiliencyModel"`
+ // The resource GUID property of the virtual network gateway resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
+ Sku *VirtualNetworkGatewaySkuResponse `pulumi:"sku"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
+ VNetExtendedLocationResourceId *string `pulumi:"vNetExtendedLocationResourceId"`
+ // The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.
+ VirtualNetworkGatewayPolicyGroups []VirtualNetworkGatewayPolicyGroupResponse `pulumi:"virtualNetworkGatewayPolicyGroups"`
+ // The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
+ VpnClientConfiguration *VpnClientConfigurationResponse `pulumi:"vpnClientConfiguration"`
+ // The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
+ VpnGatewayGeneration *string `pulumi:"vpnGatewayGeneration"`
+ // The type of this virtual network gateway.
+ VpnType *string `pulumi:"vpnType"`
}
-// Resource tags.
-func (o VirtualNetworkGatewayTypePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) map[string]string {
- if v == nil {
- return nil
- }
- return v.Tags
- }).(pulumi.StringMapOutput)
-}
+// A common class for general resource information.
+type VirtualNetworkGatewayResponseOutput struct{ *pulumi.OutputState }
-// Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
-func (o VirtualNetworkGatewayTypePtrOutput) VNetExtendedLocationResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *string {
- if v == nil {
- return nil
- }
- return v.VNetExtendedLocationResourceId
- }).(pulumi.StringPtrOutput)
+func (VirtualNetworkGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewayResponse)(nil)).Elem()
}
-// The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.
-func (o VirtualNetworkGatewayTypePtrOutput) VirtualNetworkGatewayPolicyGroups() VirtualNetworkGatewayPolicyGroupArrayOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) []VirtualNetworkGatewayPolicyGroup {
- if v == nil {
- return nil
- }
- return v.VirtualNetworkGatewayPolicyGroups
- }).(VirtualNetworkGatewayPolicyGroupArrayOutput)
+func (o VirtualNetworkGatewayResponseOutput) ToVirtualNetworkGatewayResponseOutput() VirtualNetworkGatewayResponseOutput {
+ return o
}
-// The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
-func (o VirtualNetworkGatewayTypePtrOutput) VpnClientConfiguration() VpnClientConfigurationPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *VpnClientConfiguration {
- if v == nil {
- return nil
- }
- return v.VpnClientConfiguration
- }).(VpnClientConfigurationPtrOutput)
+func (o VirtualNetworkGatewayResponseOutput) ToVirtualNetworkGatewayResponseOutputWithContext(ctx context.Context) VirtualNetworkGatewayResponseOutput {
+ return o
}
-// The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
-func (o VirtualNetworkGatewayTypePtrOutput) VpnGatewayGeneration() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *string {
- if v == nil {
- return nil
- }
- return v.VpnGatewayGeneration
- }).(pulumi.StringPtrOutput)
+// ActiveActive flag.
+func (o VirtualNetworkGatewayResponseOutput) ActiveActive() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *bool { return v.ActiveActive }).(pulumi.BoolPtrOutput)
}
-// The type of this virtual network gateway.
-func (o VirtualNetworkGatewayTypePtrOutput) VpnType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayType) *string {
- if v == nil {
- return nil
- }
- return v.VpnType
- }).(pulumi.StringPtrOutput)
+// Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
+func (o VirtualNetworkGatewayResponseOutput) AdminState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *string { return v.AdminState }).(pulumi.StringPtrOutput)
}
-type VirtualNetworkGatewayAutoScaleBounds struct {
- // Maximum Scale Units for Autoscale configuration
- Max *int `pulumi:"max"`
- // Minimum scale Units for Autoscale configuration
- Min *int `pulumi:"min"`
+// Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.
+func (o VirtualNetworkGatewayResponseOutput) AllowRemoteVnetTraffic() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *bool { return v.AllowRemoteVnetTraffic }).(pulumi.BoolPtrOutput)
}
-// VirtualNetworkGatewayAutoScaleBoundsInput is an input type that accepts VirtualNetworkGatewayAutoScaleBoundsArgs and VirtualNetworkGatewayAutoScaleBoundsOutput values.
-// You can construct a concrete instance of `VirtualNetworkGatewayAutoScaleBoundsInput` via:
-//
-// VirtualNetworkGatewayAutoScaleBoundsArgs{...}
-type VirtualNetworkGatewayAutoScaleBoundsInput interface {
- pulumi.Input
-
- ToVirtualNetworkGatewayAutoScaleBoundsOutput() VirtualNetworkGatewayAutoScaleBoundsOutput
- ToVirtualNetworkGatewayAutoScaleBoundsOutputWithContext(context.Context) VirtualNetworkGatewayAutoScaleBoundsOutput
+// Configures this gateway to accept traffic from remote Virtual WAN networks.
+func (o VirtualNetworkGatewayResponseOutput) AllowVirtualWanTraffic() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *bool { return v.AllowVirtualWanTraffic }).(pulumi.BoolPtrOutput)
}
-type VirtualNetworkGatewayAutoScaleBoundsArgs struct {
- // Maximum Scale Units for Autoscale configuration
- Max pulumi.IntPtrInput `pulumi:"max"`
- // Minimum scale Units for Autoscale configuration
- Min pulumi.IntPtrInput `pulumi:"min"`
+// Autoscale configuration for virutal network gateway
+func (o VirtualNetworkGatewayResponseOutput) AutoScaleConfiguration() VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *VirtualNetworkGatewayAutoScaleConfigurationResponse {
+ return v.AutoScaleConfiguration
+ }).(VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput)
}
-func (VirtualNetworkGatewayAutoScaleBoundsArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayAutoScaleBounds)(nil)).Elem()
+// Virtual network gateway's BGP speaker settings.
+func (o VirtualNetworkGatewayResponseOutput) BgpSettings() BgpSettingsResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *BgpSettingsResponse { return v.BgpSettings }).(BgpSettingsResponsePtrOutput)
}
-func (i VirtualNetworkGatewayAutoScaleBoundsArgs) ToVirtualNetworkGatewayAutoScaleBoundsOutput() VirtualNetworkGatewayAutoScaleBoundsOutput {
- return i.ToVirtualNetworkGatewayAutoScaleBoundsOutputWithContext(context.Background())
+// The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
+func (o VirtualNetworkGatewayResponseOutput) CustomRoutes() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *AddressSpaceResponse { return v.CustomRoutes }).(AddressSpaceResponsePtrOutput)
}
-func (i VirtualNetworkGatewayAutoScaleBoundsArgs) ToVirtualNetworkGatewayAutoScaleBoundsOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleBoundsOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayAutoScaleBoundsOutput)
+// disableIPSecReplayProtection flag.
+func (o VirtualNetworkGatewayResponseOutput) DisableIPSecReplayProtection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *bool { return v.DisableIPSecReplayProtection }).(pulumi.BoolPtrOutput)
}
-func (i VirtualNetworkGatewayAutoScaleBoundsArgs) ToVirtualNetworkGatewayAutoScaleBoundsPtrOutput() VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
- return i.ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(context.Background())
+// Whether BGP is enabled for this virtual network gateway or not.
+func (o VirtualNetworkGatewayResponseOutput) EnableBgp() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *bool { return v.EnableBgp }).(pulumi.BoolPtrOutput)
}
-func (i VirtualNetworkGatewayAutoScaleBoundsArgs) ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayAutoScaleBoundsOutput).ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(ctx)
+// EnableBgpRouteTranslationForNat flag.
+func (o VirtualNetworkGatewayResponseOutput) EnableBgpRouteTranslationForNat() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *bool { return v.EnableBgpRouteTranslationForNat }).(pulumi.BoolPtrOutput)
}
-// VirtualNetworkGatewayAutoScaleBoundsPtrInput is an input type that accepts VirtualNetworkGatewayAutoScaleBoundsArgs, VirtualNetworkGatewayAutoScaleBoundsPtr and VirtualNetworkGatewayAutoScaleBoundsPtrOutput values.
-// You can construct a concrete instance of `VirtualNetworkGatewayAutoScaleBoundsPtrInput` via:
-//
-// VirtualNetworkGatewayAutoScaleBoundsArgs{...}
-//
-// or:
-//
-// nil
-type VirtualNetworkGatewayAutoScaleBoundsPtrInput interface {
- pulumi.Input
-
- ToVirtualNetworkGatewayAutoScaleBoundsPtrOutput() VirtualNetworkGatewayAutoScaleBoundsPtrOutput
- ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(context.Context) VirtualNetworkGatewayAutoScaleBoundsPtrOutput
+// Whether dns forwarding is enabled or not.
+func (o VirtualNetworkGatewayResponseOutput) EnableDnsForwarding() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *bool { return v.EnableDnsForwarding }).(pulumi.BoolPtrOutput)
}
-type virtualNetworkGatewayAutoScaleBoundsPtrType VirtualNetworkGatewayAutoScaleBoundsArgs
-
-func VirtualNetworkGatewayAutoScaleBoundsPtr(v *VirtualNetworkGatewayAutoScaleBoundsArgs) VirtualNetworkGatewayAutoScaleBoundsPtrInput {
- return (*virtualNetworkGatewayAutoScaleBoundsPtrType)(v)
+// Whether private IP needs to be enabled on this gateway for connections or not.
+func (o VirtualNetworkGatewayResponseOutput) EnablePrivateIpAddress() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *bool { return v.EnablePrivateIpAddress }).(pulumi.BoolPtrOutput)
}
-func (*virtualNetworkGatewayAutoScaleBoundsPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkGatewayAutoScaleBounds)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o VirtualNetworkGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (i *virtualNetworkGatewayAutoScaleBoundsPtrType) ToVirtualNetworkGatewayAutoScaleBoundsPtrOutput() VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
- return i.ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(context.Background())
+// The extended location of type local virtual network gateway.
+func (o VirtualNetworkGatewayResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
}
-func (i *virtualNetworkGatewayAutoScaleBoundsPtrType) ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayAutoScaleBoundsPtrOutput)
+// The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
+func (o VirtualNetworkGatewayResponseOutput) GatewayDefaultSite() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *SubResourceResponse { return v.GatewayDefaultSite }).(SubResourceResponsePtrOutput)
}
-type VirtualNetworkGatewayAutoScaleBoundsOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewayAutoScaleBoundsOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayAutoScaleBounds)(nil)).Elem()
+// The type of this virtual network gateway.
+func (o VirtualNetworkGatewayResponseOutput) GatewayType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *string { return v.GatewayType }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayAutoScaleBoundsOutput) ToVirtualNetworkGatewayAutoScaleBoundsOutput() VirtualNetworkGatewayAutoScaleBoundsOutput {
- return o
+// Resource ID.
+func (o VirtualNetworkGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayAutoScaleBoundsOutput) ToVirtualNetworkGatewayAutoScaleBoundsOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleBoundsOutput {
- return o
+// The identity of the virtual network gateway, if configured.
+func (o VirtualNetworkGatewayResponseOutput) Identity() ManagedServiceIdentityResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *ManagedServiceIdentityResponse { return v.Identity }).(ManagedServiceIdentityResponsePtrOutput)
}
-func (o VirtualNetworkGatewayAutoScaleBoundsOutput) ToVirtualNetworkGatewayAutoScaleBoundsPtrOutput() VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
- return o.ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(context.Background())
+// The IP address allocated by the gateway to which dns requests can be sent.
+func (o VirtualNetworkGatewayResponseOutput) InboundDnsForwardingEndpoint() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) string { return v.InboundDnsForwardingEndpoint }).(pulumi.StringOutput)
}
-func (o VirtualNetworkGatewayAutoScaleBoundsOutput) ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualNetworkGatewayAutoScaleBounds) *VirtualNetworkGatewayAutoScaleBounds {
- return &v
- }).(VirtualNetworkGatewayAutoScaleBoundsPtrOutput)
+// IP configurations for virtual network gateway.
+func (o VirtualNetworkGatewayResponseOutput) IpConfigurations() VirtualNetworkGatewayIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) []VirtualNetworkGatewayIPConfigurationResponse {
+ return v.IpConfigurations
+ }).(VirtualNetworkGatewayIPConfigurationResponseArrayOutput)
}
-// Maximum Scale Units for Autoscale configuration
-func (o VirtualNetworkGatewayAutoScaleBoundsOutput) Max() pulumi.IntPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayAutoScaleBounds) *int { return v.Max }).(pulumi.IntPtrOutput)
+// Resource location.
+func (o VirtualNetworkGatewayResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// Minimum scale Units for Autoscale configuration
-func (o VirtualNetworkGatewayAutoScaleBoundsOutput) Min() pulumi.IntPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayAutoScaleBounds) *int { return v.Min }).(pulumi.IntPtrOutput)
+// Resource name.
+func (o VirtualNetworkGatewayResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
}
-type VirtualNetworkGatewayAutoScaleBoundsPtrOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewayAutoScaleBoundsPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkGatewayAutoScaleBounds)(nil)).Elem()
+// NatRules for virtual network gateway.
+func (o VirtualNetworkGatewayResponseOutput) NatRules() VirtualNetworkGatewayNatRuleResponseArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) []VirtualNetworkGatewayNatRuleResponse { return v.NatRules }).(VirtualNetworkGatewayNatRuleResponseArrayOutput)
}
-func (o VirtualNetworkGatewayAutoScaleBoundsPtrOutput) ToVirtualNetworkGatewayAutoScaleBoundsPtrOutput() VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
- return o
+// The provisioning state of the virtual network gateway resource.
+func (o VirtualNetworkGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o VirtualNetworkGatewayAutoScaleBoundsPtrOutput) ToVirtualNetworkGatewayAutoScaleBoundsPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
- return o
+// Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed
+func (o VirtualNetworkGatewayResponseOutput) ResiliencyModel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *string { return v.ResiliencyModel }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayAutoScaleBoundsPtrOutput) Elem() VirtualNetworkGatewayAutoScaleBoundsOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleBounds) VirtualNetworkGatewayAutoScaleBounds {
- if v != nil {
- return *v
- }
- var ret VirtualNetworkGatewayAutoScaleBounds
- return ret
- }).(VirtualNetworkGatewayAutoScaleBoundsOutput)
+// The resource GUID property of the virtual network gateway resource.
+func (o VirtualNetworkGatewayResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// Maximum Scale Units for Autoscale configuration
-func (o VirtualNetworkGatewayAutoScaleBoundsPtrOutput) Max() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleBounds) *int {
- if v == nil {
- return nil
- }
- return v.Max
- }).(pulumi.IntPtrOutput)
+// The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
+func (o VirtualNetworkGatewayResponseOutput) Sku() VirtualNetworkGatewaySkuResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *VirtualNetworkGatewaySkuResponse { return v.Sku }).(VirtualNetworkGatewaySkuResponsePtrOutput)
}
-// Minimum scale Units for Autoscale configuration
-func (o VirtualNetworkGatewayAutoScaleBoundsPtrOutput) Min() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleBounds) *int {
- if v == nil {
- return nil
- }
- return v.Min
- }).(pulumi.IntPtrOutput)
+// Resource tags.
+func (o VirtualNetworkGatewayResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-type VirtualNetworkGatewayAutoScaleBoundsResponse struct {
- // Maximum Scale Units for Autoscale configuration
- Max *int `pulumi:"max"`
- // Minimum scale Units for Autoscale configuration
- Min *int `pulumi:"min"`
+// Resource type.
+func (o VirtualNetworkGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type VirtualNetworkGatewayAutoScaleBoundsResponseOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewayAutoScaleBoundsResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayAutoScaleBoundsResponse)(nil)).Elem()
+// Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
+func (o VirtualNetworkGatewayResponseOutput) VNetExtendedLocationResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *string { return v.VNetExtendedLocationResourceId }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayAutoScaleBoundsResponseOutput) ToVirtualNetworkGatewayAutoScaleBoundsResponseOutput() VirtualNetworkGatewayAutoScaleBoundsResponseOutput {
- return o
+// The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.
+func (o VirtualNetworkGatewayResponseOutput) VirtualNetworkGatewayPolicyGroups() VirtualNetworkGatewayPolicyGroupResponseArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) []VirtualNetworkGatewayPolicyGroupResponse {
+ return v.VirtualNetworkGatewayPolicyGroups
+ }).(VirtualNetworkGatewayPolicyGroupResponseArrayOutput)
}
-func (o VirtualNetworkGatewayAutoScaleBoundsResponseOutput) ToVirtualNetworkGatewayAutoScaleBoundsResponseOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleBoundsResponseOutput {
- return o
+// The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
+func (o VirtualNetworkGatewayResponseOutput) VpnClientConfiguration() VpnClientConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *VpnClientConfigurationResponse { return v.VpnClientConfiguration }).(VpnClientConfigurationResponsePtrOutput)
}
-// Maximum Scale Units for Autoscale configuration
-func (o VirtualNetworkGatewayAutoScaleBoundsResponseOutput) Max() pulumi.IntPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayAutoScaleBoundsResponse) *int { return v.Max }).(pulumi.IntPtrOutput)
+// The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
+func (o VirtualNetworkGatewayResponseOutput) VpnGatewayGeneration() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *string { return v.VpnGatewayGeneration }).(pulumi.StringPtrOutput)
}
-// Minimum scale Units for Autoscale configuration
-func (o VirtualNetworkGatewayAutoScaleBoundsResponseOutput) Min() pulumi.IntPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayAutoScaleBoundsResponse) *int { return v.Min }).(pulumi.IntPtrOutput)
+// The type of this virtual network gateway.
+func (o VirtualNetworkGatewayResponseOutput) VpnType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewayResponse) *string { return v.VpnType }).(pulumi.StringPtrOutput)
}
-type VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput struct{ *pulumi.OutputState }
+type VirtualNetworkGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkGatewayAutoScaleBoundsResponse)(nil)).Elem()
+func (VirtualNetworkGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkGatewayResponse)(nil)).Elem()
}
-func (o VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput) ToVirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput() VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput {
+func (o VirtualNetworkGatewayResponsePtrOutput) ToVirtualNetworkGatewayResponsePtrOutput() VirtualNetworkGatewayResponsePtrOutput {
return o
}
-func (o VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput) ToVirtualNetworkGatewayAutoScaleBoundsResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput {
+func (o VirtualNetworkGatewayResponsePtrOutput) ToVirtualNetworkGatewayResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayResponsePtrOutput {
return o
}
-func (o VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput) Elem() VirtualNetworkGatewayAutoScaleBoundsResponseOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleBoundsResponse) VirtualNetworkGatewayAutoScaleBoundsResponse {
+func (o VirtualNetworkGatewayResponsePtrOutput) Elem() VirtualNetworkGatewayResponseOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) VirtualNetworkGatewayResponse {
if v != nil {
return *v
}
- var ret VirtualNetworkGatewayAutoScaleBoundsResponse
+ var ret VirtualNetworkGatewayResponse
return ret
- }).(VirtualNetworkGatewayAutoScaleBoundsResponseOutput)
+ }).(VirtualNetworkGatewayResponseOutput)
}
-// Maximum Scale Units for Autoscale configuration
-func (o VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput) Max() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleBoundsResponse) *int {
+// ActiveActive flag.
+func (o VirtualNetworkGatewayResponsePtrOutput) ActiveActive() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *bool {
if v == nil {
return nil
}
- return v.Max
- }).(pulumi.IntPtrOutput)
+ return v.ActiveActive
+ }).(pulumi.BoolPtrOutput)
}
-// Minimum scale Units for Autoscale configuration
-func (o VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput) Min() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleBoundsResponse) *int {
+// Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
+func (o VirtualNetworkGatewayResponsePtrOutput) AdminState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
if v == nil {
return nil
}
- return v.Min
- }).(pulumi.IntPtrOutput)
-}
-
-// Virtual Network Gateway Autoscale Configuration details
-type VirtualNetworkGatewayAutoScaleConfiguration struct {
- // The bounds of the autoscale configuration
- Bounds *VirtualNetworkGatewayAutoScaleBounds `pulumi:"bounds"`
-}
-
-// VirtualNetworkGatewayAutoScaleConfigurationInput is an input type that accepts VirtualNetworkGatewayAutoScaleConfigurationArgs and VirtualNetworkGatewayAutoScaleConfigurationOutput values.
-// You can construct a concrete instance of `VirtualNetworkGatewayAutoScaleConfigurationInput` via:
-//
-// VirtualNetworkGatewayAutoScaleConfigurationArgs{...}
-type VirtualNetworkGatewayAutoScaleConfigurationInput interface {
- pulumi.Input
-
- ToVirtualNetworkGatewayAutoScaleConfigurationOutput() VirtualNetworkGatewayAutoScaleConfigurationOutput
- ToVirtualNetworkGatewayAutoScaleConfigurationOutputWithContext(context.Context) VirtualNetworkGatewayAutoScaleConfigurationOutput
-}
-
-// Virtual Network Gateway Autoscale Configuration details
-type VirtualNetworkGatewayAutoScaleConfigurationArgs struct {
- // The bounds of the autoscale configuration
- Bounds VirtualNetworkGatewayAutoScaleBoundsPtrInput `pulumi:"bounds"`
+ return v.AdminState
+ }).(pulumi.StringPtrOutput)
}
-func (VirtualNetworkGatewayAutoScaleConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayAutoScaleConfiguration)(nil)).Elem()
+// Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.
+func (o VirtualNetworkGatewayResponsePtrOutput) AllowRemoteVnetTraffic() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.AllowRemoteVnetTraffic
+ }).(pulumi.BoolPtrOutput)
}
-func (i VirtualNetworkGatewayAutoScaleConfigurationArgs) ToVirtualNetworkGatewayAutoScaleConfigurationOutput() VirtualNetworkGatewayAutoScaleConfigurationOutput {
- return i.ToVirtualNetworkGatewayAutoScaleConfigurationOutputWithContext(context.Background())
+// Configures this gateway to accept traffic from remote Virtual WAN networks.
+func (o VirtualNetworkGatewayResponsePtrOutput) AllowVirtualWanTraffic() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.AllowVirtualWanTraffic
+ }).(pulumi.BoolPtrOutput)
}
-func (i VirtualNetworkGatewayAutoScaleConfigurationArgs) ToVirtualNetworkGatewayAutoScaleConfigurationOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayAutoScaleConfigurationOutput)
+// Autoscale configuration for virutal network gateway
+func (o VirtualNetworkGatewayResponsePtrOutput) AutoScaleConfiguration() VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *VirtualNetworkGatewayAutoScaleConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.AutoScaleConfiguration
+ }).(VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput)
}
-func (i VirtualNetworkGatewayAutoScaleConfigurationArgs) ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutput() VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
- return i.ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(context.Background())
+// Virtual network gateway's BGP speaker settings.
+func (o VirtualNetworkGatewayResponsePtrOutput) BgpSettings() BgpSettingsResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *BgpSettingsResponse {
+ if v == nil {
+ return nil
+ }
+ return v.BgpSettings
+ }).(BgpSettingsResponsePtrOutput)
}
-func (i VirtualNetworkGatewayAutoScaleConfigurationArgs) ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayAutoScaleConfigurationOutput).ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(ctx)
+// The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
+func (o VirtualNetworkGatewayResponsePtrOutput) CustomRoutes() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *AddressSpaceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.CustomRoutes
+ }).(AddressSpaceResponsePtrOutput)
}
-// VirtualNetworkGatewayAutoScaleConfigurationPtrInput is an input type that accepts VirtualNetworkGatewayAutoScaleConfigurationArgs, VirtualNetworkGatewayAutoScaleConfigurationPtr and VirtualNetworkGatewayAutoScaleConfigurationPtrOutput values.
-// You can construct a concrete instance of `VirtualNetworkGatewayAutoScaleConfigurationPtrInput` via:
-//
-// VirtualNetworkGatewayAutoScaleConfigurationArgs{...}
-//
-// or:
-//
-// nil
-type VirtualNetworkGatewayAutoScaleConfigurationPtrInput interface {
- pulumi.Input
-
- ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutput() VirtualNetworkGatewayAutoScaleConfigurationPtrOutput
- ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(context.Context) VirtualNetworkGatewayAutoScaleConfigurationPtrOutput
+// disableIPSecReplayProtection flag.
+func (o VirtualNetworkGatewayResponsePtrOutput) DisableIPSecReplayProtection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.DisableIPSecReplayProtection
+ }).(pulumi.BoolPtrOutput)
}
-type virtualNetworkGatewayAutoScaleConfigurationPtrType VirtualNetworkGatewayAutoScaleConfigurationArgs
-
-func VirtualNetworkGatewayAutoScaleConfigurationPtr(v *VirtualNetworkGatewayAutoScaleConfigurationArgs) VirtualNetworkGatewayAutoScaleConfigurationPtrInput {
- return (*virtualNetworkGatewayAutoScaleConfigurationPtrType)(v)
+// Whether BGP is enabled for this virtual network gateway or not.
+func (o VirtualNetworkGatewayResponsePtrOutput) EnableBgp() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnableBgp
+ }).(pulumi.BoolPtrOutput)
}
-func (*virtualNetworkGatewayAutoScaleConfigurationPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkGatewayAutoScaleConfiguration)(nil)).Elem()
+// EnableBgpRouteTranslationForNat flag.
+func (o VirtualNetworkGatewayResponsePtrOutput) EnableBgpRouteTranslationForNat() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnableBgpRouteTranslationForNat
+ }).(pulumi.BoolPtrOutput)
}
-func (i *virtualNetworkGatewayAutoScaleConfigurationPtrType) ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutput() VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
- return i.ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(context.Background())
+// Whether dns forwarding is enabled or not.
+func (o VirtualNetworkGatewayResponsePtrOutput) EnableDnsForwarding() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnableDnsForwarding
+ }).(pulumi.BoolPtrOutput)
}
-func (i *virtualNetworkGatewayAutoScaleConfigurationPtrType) ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayAutoScaleConfigurationPtrOutput)
+// Whether private IP needs to be enabled on this gateway for connections or not.
+func (o VirtualNetworkGatewayResponsePtrOutput) EnablePrivateIpAddress() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *bool {
+ if v == nil {
+ return nil
+ }
+ return v.EnablePrivateIpAddress
+ }).(pulumi.BoolPtrOutput)
}
-// Virtual Network Gateway Autoscale Configuration details
-type VirtualNetworkGatewayAutoScaleConfigurationOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewayAutoScaleConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayAutoScaleConfiguration)(nil)).Elem()
+// A unique read-only string that changes whenever the resource is updated.
+func (o VirtualNetworkGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayAutoScaleConfigurationOutput) ToVirtualNetworkGatewayAutoScaleConfigurationOutput() VirtualNetworkGatewayAutoScaleConfigurationOutput {
- return o
+// The extended location of type local virtual network gateway.
+func (o VirtualNetworkGatewayResponsePtrOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *ExtendedLocationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.ExtendedLocation
+ }).(ExtendedLocationResponsePtrOutput)
}
-func (o VirtualNetworkGatewayAutoScaleConfigurationOutput) ToVirtualNetworkGatewayAutoScaleConfigurationOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleConfigurationOutput {
- return o
+// The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
+func (o VirtualNetworkGatewayResponsePtrOutput) GatewayDefaultSite() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.GatewayDefaultSite
+ }).(SubResourceResponsePtrOutput)
}
-func (o VirtualNetworkGatewayAutoScaleConfigurationOutput) ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutput() VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
- return o.ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(context.Background())
+// The type of this virtual network gateway.
+func (o VirtualNetworkGatewayResponsePtrOutput) GatewayType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.GatewayType
+ }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayAutoScaleConfigurationOutput) ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualNetworkGatewayAutoScaleConfiguration) *VirtualNetworkGatewayAutoScaleConfiguration {
- return &v
- }).(VirtualNetworkGatewayAutoScaleConfigurationPtrOutput)
+// Resource ID.
+func (o VirtualNetworkGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// The bounds of the autoscale configuration
-func (o VirtualNetworkGatewayAutoScaleConfigurationOutput) Bounds() VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayAutoScaleConfiguration) *VirtualNetworkGatewayAutoScaleBounds {
- return v.Bounds
- }).(VirtualNetworkGatewayAutoScaleBoundsPtrOutput)
+// The identity of the virtual network gateway, if configured.
+func (o VirtualNetworkGatewayResponsePtrOutput) Identity() ManagedServiceIdentityResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *ManagedServiceIdentityResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Identity
+ }).(ManagedServiceIdentityResponsePtrOutput)
}
-type VirtualNetworkGatewayAutoScaleConfigurationPtrOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewayAutoScaleConfigurationPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkGatewayAutoScaleConfiguration)(nil)).Elem()
+// The IP address allocated by the gateway to which dns requests can be sent.
+func (o VirtualNetworkGatewayResponsePtrOutput) InboundDnsForwardingEndpoint() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.InboundDnsForwardingEndpoint
+ }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayAutoScaleConfigurationPtrOutput) ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutput() VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
- return o
+// IP configurations for virtual network gateway.
+func (o VirtualNetworkGatewayResponsePtrOutput) IpConfigurations() VirtualNetworkGatewayIPConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) []VirtualNetworkGatewayIPConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.IpConfigurations
+ }).(VirtualNetworkGatewayIPConfigurationResponseArrayOutput)
}
-func (o VirtualNetworkGatewayAutoScaleConfigurationPtrOutput) ToVirtualNetworkGatewayAutoScaleConfigurationPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleConfigurationPtrOutput {
- return o
+// Resource location.
+func (o VirtualNetworkGatewayResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayAutoScaleConfigurationPtrOutput) Elem() VirtualNetworkGatewayAutoScaleConfigurationOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleConfiguration) VirtualNetworkGatewayAutoScaleConfiguration {
- if v != nil {
- return *v
+// Resource name.
+func (o VirtualNetworkGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
}
- var ret VirtualNetworkGatewayAutoScaleConfiguration
- return ret
- }).(VirtualNetworkGatewayAutoScaleConfigurationOutput)
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-// The bounds of the autoscale configuration
-func (o VirtualNetworkGatewayAutoScaleConfigurationPtrOutput) Bounds() VirtualNetworkGatewayAutoScaleBoundsPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleConfiguration) *VirtualNetworkGatewayAutoScaleBounds {
+// NatRules for virtual network gateway.
+func (o VirtualNetworkGatewayResponsePtrOutput) NatRules() VirtualNetworkGatewayNatRuleResponseArrayOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) []VirtualNetworkGatewayNatRuleResponse {
if v == nil {
return nil
}
- return v.Bounds
- }).(VirtualNetworkGatewayAutoScaleBoundsPtrOutput)
+ return v.NatRules
+ }).(VirtualNetworkGatewayNatRuleResponseArrayOutput)
}
-// Virtual Network Gateway Autoscale Configuration details
-type VirtualNetworkGatewayAutoScaleConfigurationResponse struct {
- // The bounds of the autoscale configuration
- Bounds *VirtualNetworkGatewayAutoScaleBoundsResponse `pulumi:"bounds"`
+// The provisioning state of the virtual network gateway resource.
+func (o VirtualNetworkGatewayResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// Virtual Network Gateway Autoscale Configuration details
-type VirtualNetworkGatewayAutoScaleConfigurationResponseOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewayAutoScaleConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayAutoScaleConfigurationResponse)(nil)).Elem()
+// Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed
+func (o VirtualNetworkGatewayResponsePtrOutput) ResiliencyModel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.ResiliencyModel
+ }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayAutoScaleConfigurationResponseOutput) ToVirtualNetworkGatewayAutoScaleConfigurationResponseOutput() VirtualNetworkGatewayAutoScaleConfigurationResponseOutput {
- return o
+// The resource GUID property of the virtual network gateway resource.
+func (o VirtualNetworkGatewayResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayAutoScaleConfigurationResponseOutput) ToVirtualNetworkGatewayAutoScaleConfigurationResponseOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleConfigurationResponseOutput {
- return o
+// The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
+func (o VirtualNetworkGatewayResponsePtrOutput) Sku() VirtualNetworkGatewaySkuResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *VirtualNetworkGatewaySkuResponse {
+ if v == nil {
+ return nil
+ }
+ return v.Sku
+ }).(VirtualNetworkGatewaySkuResponsePtrOutput)
}
-// The bounds of the autoscale configuration
-func (o VirtualNetworkGatewayAutoScaleConfigurationResponseOutput) Bounds() VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayAutoScaleConfigurationResponse) *VirtualNetworkGatewayAutoScaleBoundsResponse {
- return v.Bounds
- }).(VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput)
+// Resource tags.
+func (o VirtualNetworkGatewayResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-type VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
+// Resource type.
+func (o VirtualNetworkGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
+}
-func (VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkGatewayAutoScaleConfigurationResponse)(nil)).Elem()
+// Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
+func (o VirtualNetworkGatewayResponsePtrOutput) VNetExtendedLocationResourceId() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.VNetExtendedLocationResourceId
+ }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput) ToVirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput() VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput {
- return o
+// The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.
+func (o VirtualNetworkGatewayResponsePtrOutput) VirtualNetworkGatewayPolicyGroups() VirtualNetworkGatewayPolicyGroupResponseArrayOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) []VirtualNetworkGatewayPolicyGroupResponse {
+ if v == nil {
+ return nil
+ }
+ return v.VirtualNetworkGatewayPolicyGroups
+ }).(VirtualNetworkGatewayPolicyGroupResponseArrayOutput)
}
-func (o VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput) ToVirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput {
- return o
+// The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
+func (o VirtualNetworkGatewayResponsePtrOutput) VpnClientConfiguration() VpnClientConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *VpnClientConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.VpnClientConfiguration
+ }).(VpnClientConfigurationResponsePtrOutput)
}
-func (o VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput) Elem() VirtualNetworkGatewayAutoScaleConfigurationResponseOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleConfigurationResponse) VirtualNetworkGatewayAutoScaleConfigurationResponse {
- if v != nil {
- return *v
+// The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
+func (o VirtualNetworkGatewayResponsePtrOutput) VpnGatewayGeneration() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+ if v == nil {
+ return nil
}
- var ret VirtualNetworkGatewayAutoScaleConfigurationResponse
- return ret
- }).(VirtualNetworkGatewayAutoScaleConfigurationResponseOutput)
+ return v.VpnGatewayGeneration
+ }).(pulumi.StringPtrOutput)
}
-// The bounds of the autoscale configuration
-func (o VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput) Bounds() VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayAutoScaleConfigurationResponse) *VirtualNetworkGatewayAutoScaleBoundsResponse {
+// The type of this virtual network gateway.
+func (o VirtualNetworkGatewayResponsePtrOutput) VpnType() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
if v == nil {
return nil
}
- return v.Bounds
- }).(VirtualNetworkGatewayAutoScaleBoundsResponsePtrOutput)
+ return v.VpnType
+ }).(pulumi.StringPtrOutput)
}
-// IP configuration for virtual network gateway.
-type VirtualNetworkGatewayIPConfiguration struct {
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+// VirtualNetworkGatewaySku details.
+type VirtualNetworkGatewaySku struct {
+ // Gateway SKU name.
Name *string `pulumi:"name"`
- // The private IP address allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // The reference to the public IP resource.
- PublicIPAddress *SubResource `pulumi:"publicIPAddress"`
- // The reference to the subnet resource.
- Subnet *SubResource `pulumi:"subnet"`
+ // Gateway SKU tier.
+ Tier *string `pulumi:"tier"`
}
-// VirtualNetworkGatewayIPConfigurationInput is an input type that accepts VirtualNetworkGatewayIPConfigurationArgs and VirtualNetworkGatewayIPConfigurationOutput values.
-// You can construct a concrete instance of `VirtualNetworkGatewayIPConfigurationInput` via:
+// VirtualNetworkGatewaySkuInput is an input type that accepts VirtualNetworkGatewaySkuArgs and VirtualNetworkGatewaySkuOutput values.
+// You can construct a concrete instance of `VirtualNetworkGatewaySkuInput` via:
//
-// VirtualNetworkGatewayIPConfigurationArgs{...}
-type VirtualNetworkGatewayIPConfigurationInput interface {
+// VirtualNetworkGatewaySkuArgs{...}
+type VirtualNetworkGatewaySkuInput interface {
pulumi.Input
- ToVirtualNetworkGatewayIPConfigurationOutput() VirtualNetworkGatewayIPConfigurationOutput
- ToVirtualNetworkGatewayIPConfigurationOutputWithContext(context.Context) VirtualNetworkGatewayIPConfigurationOutput
+ ToVirtualNetworkGatewaySkuOutput() VirtualNetworkGatewaySkuOutput
+ ToVirtualNetworkGatewaySkuOutputWithContext(context.Context) VirtualNetworkGatewaySkuOutput
}
-// IP configuration for virtual network gateway.
-type VirtualNetworkGatewayIPConfigurationArgs struct {
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+// VirtualNetworkGatewaySku details.
+type VirtualNetworkGatewaySkuArgs struct {
+ // Gateway SKU name.
Name pulumi.StringPtrInput `pulumi:"name"`
- // The private IP address allocation method.
- PrivateIPAllocationMethod pulumi.StringPtrInput `pulumi:"privateIPAllocationMethod"`
- // The reference to the public IP resource.
- PublicIPAddress SubResourcePtrInput `pulumi:"publicIPAddress"`
- // The reference to the subnet resource.
- Subnet SubResourcePtrInput `pulumi:"subnet"`
+ // Gateway SKU tier.
+ Tier pulumi.StringPtrInput `pulumi:"tier"`
}
-func (VirtualNetworkGatewayIPConfigurationArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayIPConfiguration)(nil)).Elem()
+func (VirtualNetworkGatewaySkuArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewaySku)(nil)).Elem()
}
-func (i VirtualNetworkGatewayIPConfigurationArgs) ToVirtualNetworkGatewayIPConfigurationOutput() VirtualNetworkGatewayIPConfigurationOutput {
- return i.ToVirtualNetworkGatewayIPConfigurationOutputWithContext(context.Background())
+func (i VirtualNetworkGatewaySkuArgs) ToVirtualNetworkGatewaySkuOutput() VirtualNetworkGatewaySkuOutput {
+ return i.ToVirtualNetworkGatewaySkuOutputWithContext(context.Background())
}
-func (i VirtualNetworkGatewayIPConfigurationArgs) ToVirtualNetworkGatewayIPConfigurationOutputWithContext(ctx context.Context) VirtualNetworkGatewayIPConfigurationOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayIPConfigurationOutput)
+func (i VirtualNetworkGatewaySkuArgs) ToVirtualNetworkGatewaySkuOutputWithContext(ctx context.Context) VirtualNetworkGatewaySkuOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewaySkuOutput)
}
-// VirtualNetworkGatewayIPConfigurationArrayInput is an input type that accepts VirtualNetworkGatewayIPConfigurationArray and VirtualNetworkGatewayIPConfigurationArrayOutput values.
-// You can construct a concrete instance of `VirtualNetworkGatewayIPConfigurationArrayInput` via:
+func (i VirtualNetworkGatewaySkuArgs) ToVirtualNetworkGatewaySkuPtrOutput() VirtualNetworkGatewaySkuPtrOutput {
+ return i.ToVirtualNetworkGatewaySkuPtrOutputWithContext(context.Background())
+}
+
+func (i VirtualNetworkGatewaySkuArgs) ToVirtualNetworkGatewaySkuPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewaySkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewaySkuOutput).ToVirtualNetworkGatewaySkuPtrOutputWithContext(ctx)
+}
+
+// VirtualNetworkGatewaySkuPtrInput is an input type that accepts VirtualNetworkGatewaySkuArgs, VirtualNetworkGatewaySkuPtr and VirtualNetworkGatewaySkuPtrOutput values.
+// You can construct a concrete instance of `VirtualNetworkGatewaySkuPtrInput` via:
//
-// VirtualNetworkGatewayIPConfigurationArray{ VirtualNetworkGatewayIPConfigurationArgs{...} }
-type VirtualNetworkGatewayIPConfigurationArrayInput interface {
+// VirtualNetworkGatewaySkuArgs{...}
+//
+// or:
+//
+// nil
+type VirtualNetworkGatewaySkuPtrInput interface {
pulumi.Input
- ToVirtualNetworkGatewayIPConfigurationArrayOutput() VirtualNetworkGatewayIPConfigurationArrayOutput
- ToVirtualNetworkGatewayIPConfigurationArrayOutputWithContext(context.Context) VirtualNetworkGatewayIPConfigurationArrayOutput
+ ToVirtualNetworkGatewaySkuPtrOutput() VirtualNetworkGatewaySkuPtrOutput
+ ToVirtualNetworkGatewaySkuPtrOutputWithContext(context.Context) VirtualNetworkGatewaySkuPtrOutput
}
-type VirtualNetworkGatewayIPConfigurationArray []VirtualNetworkGatewayIPConfigurationInput
+type virtualNetworkGatewaySkuPtrType VirtualNetworkGatewaySkuArgs
-func (VirtualNetworkGatewayIPConfigurationArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkGatewayIPConfiguration)(nil)).Elem()
+func VirtualNetworkGatewaySkuPtr(v *VirtualNetworkGatewaySkuArgs) VirtualNetworkGatewaySkuPtrInput {
+ return (*virtualNetworkGatewaySkuPtrType)(v)
}
-func (i VirtualNetworkGatewayIPConfigurationArray) ToVirtualNetworkGatewayIPConfigurationArrayOutput() VirtualNetworkGatewayIPConfigurationArrayOutput {
- return i.ToVirtualNetworkGatewayIPConfigurationArrayOutputWithContext(context.Background())
+func (*virtualNetworkGatewaySkuPtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkGatewaySku)(nil)).Elem()
}
-func (i VirtualNetworkGatewayIPConfigurationArray) ToVirtualNetworkGatewayIPConfigurationArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayIPConfigurationArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayIPConfigurationArrayOutput)
+func (i *virtualNetworkGatewaySkuPtrType) ToVirtualNetworkGatewaySkuPtrOutput() VirtualNetworkGatewaySkuPtrOutput {
+ return i.ToVirtualNetworkGatewaySkuPtrOutputWithContext(context.Background())
}
-// IP configuration for virtual network gateway.
-type VirtualNetworkGatewayIPConfigurationOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewayIPConfigurationOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayIPConfiguration)(nil)).Elem()
+func (i *virtualNetworkGatewaySkuPtrType) ToVirtualNetworkGatewaySkuPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewaySkuPtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewaySkuPtrOutput)
}
-func (o VirtualNetworkGatewayIPConfigurationOutput) ToVirtualNetworkGatewayIPConfigurationOutput() VirtualNetworkGatewayIPConfigurationOutput {
- return o
+// VirtualNetworkGatewaySku details.
+type VirtualNetworkGatewaySkuOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkGatewaySkuOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewaySku)(nil)).Elem()
}
-func (o VirtualNetworkGatewayIPConfigurationOutput) ToVirtualNetworkGatewayIPConfigurationOutputWithContext(ctx context.Context) VirtualNetworkGatewayIPConfigurationOutput {
+func (o VirtualNetworkGatewaySkuOutput) ToVirtualNetworkGatewaySkuOutput() VirtualNetworkGatewaySkuOutput {
return o
}
-// Resource ID.
-func (o VirtualNetworkGatewayIPConfigurationOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayIPConfiguration) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkGatewaySkuOutput) ToVirtualNetworkGatewaySkuOutputWithContext(ctx context.Context) VirtualNetworkGatewaySkuOutput {
+ return o
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o VirtualNetworkGatewayIPConfigurationOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayIPConfiguration) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkGatewaySkuOutput) ToVirtualNetworkGatewaySkuPtrOutput() VirtualNetworkGatewaySkuPtrOutput {
+ return o.ToVirtualNetworkGatewaySkuPtrOutputWithContext(context.Background())
}
-// The private IP address allocation method.
-func (o VirtualNetworkGatewayIPConfigurationOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayIPConfiguration) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkGatewaySkuOutput) ToVirtualNetworkGatewaySkuPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewaySkuPtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualNetworkGatewaySku) *VirtualNetworkGatewaySku {
+ return &v
+ }).(VirtualNetworkGatewaySkuPtrOutput)
}
-// The reference to the public IP resource.
-func (o VirtualNetworkGatewayIPConfigurationOutput) PublicIPAddress() SubResourcePtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayIPConfiguration) *SubResource { return v.PublicIPAddress }).(SubResourcePtrOutput)
+// Gateway SKU name.
+func (o VirtualNetworkGatewaySkuOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewaySku) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// The reference to the subnet resource.
-func (o VirtualNetworkGatewayIPConfigurationOutput) Subnet() SubResourcePtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayIPConfiguration) *SubResource { return v.Subnet }).(SubResourcePtrOutput)
+// Gateway SKU tier.
+func (o VirtualNetworkGatewaySkuOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewaySku) *string { return v.Tier }).(pulumi.StringPtrOutput)
}
-type VirtualNetworkGatewayIPConfigurationArrayOutput struct{ *pulumi.OutputState }
+type VirtualNetworkGatewaySkuPtrOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkGatewayIPConfigurationArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkGatewayIPConfiguration)(nil)).Elem()
+func (VirtualNetworkGatewaySkuPtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkGatewaySku)(nil)).Elem()
}
-func (o VirtualNetworkGatewayIPConfigurationArrayOutput) ToVirtualNetworkGatewayIPConfigurationArrayOutput() VirtualNetworkGatewayIPConfigurationArrayOutput {
+func (o VirtualNetworkGatewaySkuPtrOutput) ToVirtualNetworkGatewaySkuPtrOutput() VirtualNetworkGatewaySkuPtrOutput {
return o
}
-func (o VirtualNetworkGatewayIPConfigurationArrayOutput) ToVirtualNetworkGatewayIPConfigurationArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayIPConfigurationArrayOutput {
+func (o VirtualNetworkGatewaySkuPtrOutput) ToVirtualNetworkGatewaySkuPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewaySkuPtrOutput {
return o
}
-func (o VirtualNetworkGatewayIPConfigurationArrayOutput) Index(i pulumi.IntInput) VirtualNetworkGatewayIPConfigurationOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkGatewayIPConfiguration {
- return vs[0].([]VirtualNetworkGatewayIPConfiguration)[vs[1].(int)]
- }).(VirtualNetworkGatewayIPConfigurationOutput)
+func (o VirtualNetworkGatewaySkuPtrOutput) Elem() VirtualNetworkGatewaySkuOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewaySku) VirtualNetworkGatewaySku {
+ if v != nil {
+ return *v
+ }
+ var ret VirtualNetworkGatewaySku
+ return ret
+ }).(VirtualNetworkGatewaySkuOutput)
}
-// IP configuration for virtual network gateway.
-type VirtualNetworkGatewayIPConfigurationResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // Private IP Address for this gateway.
- PrivateIPAddress string `pulumi:"privateIPAddress"`
- // The private IP address allocation method.
- PrivateIPAllocationMethod *string `pulumi:"privateIPAllocationMethod"`
- // The provisioning state of the virtual network gateway IP configuration resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // The reference to the public IP resource.
- PublicIPAddress *SubResourceResponse `pulumi:"publicIPAddress"`
- // The reference to the subnet resource.
- Subnet *SubResourceResponse `pulumi:"subnet"`
+// Gateway SKU name.
+func (o VirtualNetworkGatewaySkuPtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewaySku) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-// IP configuration for virtual network gateway.
-type VirtualNetworkGatewayIPConfigurationResponseOutput struct{ *pulumi.OutputState }
+// Gateway SKU tier.
+func (o VirtualNetworkGatewaySkuPtrOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewaySku) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Tier
+ }).(pulumi.StringPtrOutput)
+}
-func (VirtualNetworkGatewayIPConfigurationResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayIPConfigurationResponse)(nil)).Elem()
+// VirtualNetworkGatewaySku details.
+type VirtualNetworkGatewaySkuResponse struct {
+ // The capacity.
+ Capacity int `pulumi:"capacity"`
+ // Gateway SKU name.
+ Name *string `pulumi:"name"`
+ // Gateway SKU tier.
+ Tier *string `pulumi:"tier"`
}
-func (o VirtualNetworkGatewayIPConfigurationResponseOutput) ToVirtualNetworkGatewayIPConfigurationResponseOutput() VirtualNetworkGatewayIPConfigurationResponseOutput {
- return o
+// VirtualNetworkGatewaySku details.
+type VirtualNetworkGatewaySkuResponseOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkGatewaySkuResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkGatewaySkuResponse)(nil)).Elem()
}
-func (o VirtualNetworkGatewayIPConfigurationResponseOutput) ToVirtualNetworkGatewayIPConfigurationResponseOutputWithContext(ctx context.Context) VirtualNetworkGatewayIPConfigurationResponseOutput {
+func (o VirtualNetworkGatewaySkuResponseOutput) ToVirtualNetworkGatewaySkuResponseOutput() VirtualNetworkGatewaySkuResponseOutput {
return o
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o VirtualNetworkGatewayIPConfigurationResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayIPConfigurationResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o VirtualNetworkGatewaySkuResponseOutput) ToVirtualNetworkGatewaySkuResponseOutputWithContext(ctx context.Context) VirtualNetworkGatewaySkuResponseOutput {
+ return o
}
-// Resource ID.
-func (o VirtualNetworkGatewayIPConfigurationResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayIPConfigurationResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The capacity.
+func (o VirtualNetworkGatewaySkuResponseOutput) Capacity() pulumi.IntOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewaySkuResponse) int { return v.Capacity }).(pulumi.IntOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o VirtualNetworkGatewayIPConfigurationResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayIPConfigurationResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Gateway SKU name.
+func (o VirtualNetworkGatewaySkuResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewaySkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Private IP Address for this gateway.
-func (o VirtualNetworkGatewayIPConfigurationResponseOutput) PrivateIPAddress() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayIPConfigurationResponse) string { return v.PrivateIPAddress }).(pulumi.StringOutput)
+// Gateway SKU tier.
+func (o VirtualNetworkGatewaySkuResponseOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkGatewaySkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput)
}
-// The private IP address allocation method.
-func (o VirtualNetworkGatewayIPConfigurationResponseOutput) PrivateIPAllocationMethod() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayIPConfigurationResponse) *string { return v.PrivateIPAllocationMethod }).(pulumi.StringPtrOutput)
-}
+type VirtualNetworkGatewaySkuResponsePtrOutput struct{ *pulumi.OutputState }
-// The provisioning state of the virtual network gateway IP configuration resource.
-func (o VirtualNetworkGatewayIPConfigurationResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayIPConfigurationResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (VirtualNetworkGatewaySkuResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkGatewaySkuResponse)(nil)).Elem()
}
-// The reference to the public IP resource.
-func (o VirtualNetworkGatewayIPConfigurationResponseOutput) PublicIPAddress() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayIPConfigurationResponse) *SubResourceResponse { return v.PublicIPAddress }).(SubResourceResponsePtrOutput)
+func (o VirtualNetworkGatewaySkuResponsePtrOutput) ToVirtualNetworkGatewaySkuResponsePtrOutput() VirtualNetworkGatewaySkuResponsePtrOutput {
+ return o
}
-// The reference to the subnet resource.
-func (o VirtualNetworkGatewayIPConfigurationResponseOutput) Subnet() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayIPConfigurationResponse) *SubResourceResponse { return v.Subnet }).(SubResourceResponsePtrOutput)
+func (o VirtualNetworkGatewaySkuResponsePtrOutput) ToVirtualNetworkGatewaySkuResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkGatewaySkuResponsePtrOutput {
+ return o
}
-type VirtualNetworkGatewayIPConfigurationResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewayIPConfigurationResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkGatewayIPConfigurationResponse)(nil)).Elem()
+func (o VirtualNetworkGatewaySkuResponsePtrOutput) Elem() VirtualNetworkGatewaySkuResponseOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewaySkuResponse) VirtualNetworkGatewaySkuResponse {
+ if v != nil {
+ return *v
+ }
+ var ret VirtualNetworkGatewaySkuResponse
+ return ret
+ }).(VirtualNetworkGatewaySkuResponseOutput)
}
-func (o VirtualNetworkGatewayIPConfigurationResponseArrayOutput) ToVirtualNetworkGatewayIPConfigurationResponseArrayOutput() VirtualNetworkGatewayIPConfigurationResponseArrayOutput {
- return o
+// The capacity.
+func (o VirtualNetworkGatewaySkuResponsePtrOutput) Capacity() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewaySkuResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return &v.Capacity
+ }).(pulumi.IntPtrOutput)
}
-func (o VirtualNetworkGatewayIPConfigurationResponseArrayOutput) ToVirtualNetworkGatewayIPConfigurationResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayIPConfigurationResponseArrayOutput {
- return o
+// Gateway SKU name.
+func (o VirtualNetworkGatewaySkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewaySkuResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Name
+ }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayIPConfigurationResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkGatewayIPConfigurationResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkGatewayIPConfigurationResponse {
- return vs[0].([]VirtualNetworkGatewayIPConfigurationResponse)[vs[1].(int)]
- }).(VirtualNetworkGatewayIPConfigurationResponseOutput)
+// Gateway SKU tier.
+func (o VirtualNetworkGatewaySkuResponsePtrOutput) Tier() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkGatewaySkuResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Tier
+ }).(pulumi.StringPtrOutput)
}
-// VirtualNetworkGatewayNatRule Resource.
-type VirtualNetworkGatewayNatRuleType struct {
- // The private IP address external mapping for NAT.
- ExternalMappings []VpnNatRuleMapping `pulumi:"externalMappings"`
+// Peerings in a virtual network resource.
+type VirtualNetworkPeeringType struct {
+ // Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
+ AllowForwardedTraffic *bool `pulumi:"allowForwardedTraffic"`
+ // If gateway links can be used in remote virtual networking to link to this virtual network.
+ AllowGatewayTransit *bool `pulumi:"allowGatewayTransit"`
+ // Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
+ AllowVirtualNetworkAccess *bool `pulumi:"allowVirtualNetworkAccess"`
+ // If we need to verify the provisioning state of the remote gateway.
+ DoNotVerifyRemoteGateways *bool `pulumi:"doNotVerifyRemoteGateways"`
+ // Whether only Ipv6 address space is peered for subnet peering.
+ EnableOnlyIPv6Peering *bool `pulumi:"enableOnlyIPv6Peering"`
// Resource ID.
Id *string `pulumi:"id"`
- // The private IP address internal mapping for NAT.
- InternalMappings []VpnNatRuleMapping `pulumi:"internalMappings"`
- // The IP Configuration ID this NAT rule applies to.
- IpConfigurationId *string `pulumi:"ipConfigurationId"`
- // The Source NAT direction of a VPN NAT.
- Mode *string `pulumi:"mode"`
+ // The local address space of the local virtual network that is peered.
+ LocalAddressSpace *AddressSpace `pulumi:"localAddressSpace"`
+ // List of local subnet names that are subnet peered with remote virtual network.
+ LocalSubnetNames []string `pulumi:"localSubnetNames"`
+ // The current local address space of the local virtual network that is peered.
+ LocalVirtualNetworkAddressSpace *AddressSpace `pulumi:"localVirtualNetworkAddressSpace"`
// The name of the resource that is unique within a resource group. This name can be used to access the resource.
Name *string `pulumi:"name"`
- // The type of NAT rule for VPN NAT.
+ // Whether complete virtual network address space is peered.
+ PeerCompleteVnets *bool `pulumi:"peerCompleteVnets"`
+ // The status of the virtual network peering.
+ PeeringState *string `pulumi:"peeringState"`
+ // The peering sync status of the virtual network peering.
+ PeeringSyncLevel *string `pulumi:"peeringSyncLevel"`
+ // The reference to the address space peered with the remote virtual network.
+ RemoteAddressSpace *AddressSpace `pulumi:"remoteAddressSpace"`
+ // The reference to the remote virtual network's Bgp Communities.
+ RemoteBgpCommunities *VirtualNetworkBgpCommunities `pulumi:"remoteBgpCommunities"`
+ // List of remote subnet names from remote virtual network that are subnet peered.
+ RemoteSubnetNames []string `pulumi:"remoteSubnetNames"`
+ // The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
+ RemoteVirtualNetwork *SubResource `pulumi:"remoteVirtualNetwork"`
+ // The reference to the current address space of the remote virtual network.
+ RemoteVirtualNetworkAddressSpace *AddressSpace `pulumi:"remoteVirtualNetworkAddressSpace"`
+ // Resource type.
Type *string `pulumi:"type"`
+ // If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
+ UseRemoteGateways *bool `pulumi:"useRemoteGateways"`
}
-// VirtualNetworkGatewayNatRuleTypeInput is an input type that accepts VirtualNetworkGatewayNatRuleTypeArgs and VirtualNetworkGatewayNatRuleTypeOutput values.
-// You can construct a concrete instance of `VirtualNetworkGatewayNatRuleTypeInput` via:
+// VirtualNetworkPeeringTypeInput is an input type that accepts VirtualNetworkPeeringTypeArgs and VirtualNetworkPeeringTypeOutput values.
+// You can construct a concrete instance of `VirtualNetworkPeeringTypeInput` via:
//
-// VirtualNetworkGatewayNatRuleTypeArgs{...}
-type VirtualNetworkGatewayNatRuleTypeInput interface {
+// VirtualNetworkPeeringTypeArgs{...}
+type VirtualNetworkPeeringTypeInput interface {
pulumi.Input
- ToVirtualNetworkGatewayNatRuleTypeOutput() VirtualNetworkGatewayNatRuleTypeOutput
- ToVirtualNetworkGatewayNatRuleTypeOutputWithContext(context.Context) VirtualNetworkGatewayNatRuleTypeOutput
+ ToVirtualNetworkPeeringTypeOutput() VirtualNetworkPeeringTypeOutput
+ ToVirtualNetworkPeeringTypeOutputWithContext(context.Context) VirtualNetworkPeeringTypeOutput
}
-// VirtualNetworkGatewayNatRule Resource.
-type VirtualNetworkGatewayNatRuleTypeArgs struct {
- // The private IP address external mapping for NAT.
- ExternalMappings VpnNatRuleMappingArrayInput `pulumi:"externalMappings"`
+// Peerings in a virtual network resource.
+type VirtualNetworkPeeringTypeArgs struct {
+ // Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
+ AllowForwardedTraffic pulumi.BoolPtrInput `pulumi:"allowForwardedTraffic"`
+ // If gateway links can be used in remote virtual networking to link to this virtual network.
+ AllowGatewayTransit pulumi.BoolPtrInput `pulumi:"allowGatewayTransit"`
+ // Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
+ AllowVirtualNetworkAccess pulumi.BoolPtrInput `pulumi:"allowVirtualNetworkAccess"`
+ // If we need to verify the provisioning state of the remote gateway.
+ DoNotVerifyRemoteGateways pulumi.BoolPtrInput `pulumi:"doNotVerifyRemoteGateways"`
+ // Whether only Ipv6 address space is peered for subnet peering.
+ EnableOnlyIPv6Peering pulumi.BoolPtrInput `pulumi:"enableOnlyIPv6Peering"`
// Resource ID.
Id pulumi.StringPtrInput `pulumi:"id"`
- // The private IP address internal mapping for NAT.
- InternalMappings VpnNatRuleMappingArrayInput `pulumi:"internalMappings"`
- // The IP Configuration ID this NAT rule applies to.
- IpConfigurationId pulumi.StringPtrInput `pulumi:"ipConfigurationId"`
- // The Source NAT direction of a VPN NAT.
- Mode pulumi.StringPtrInput `pulumi:"mode"`
+ // The local address space of the local virtual network that is peered.
+ LocalAddressSpace AddressSpacePtrInput `pulumi:"localAddressSpace"`
+ // List of local subnet names that are subnet peered with remote virtual network.
+ LocalSubnetNames pulumi.StringArrayInput `pulumi:"localSubnetNames"`
+ // The current local address space of the local virtual network that is peered.
+ LocalVirtualNetworkAddressSpace AddressSpacePtrInput `pulumi:"localVirtualNetworkAddressSpace"`
// The name of the resource that is unique within a resource group. This name can be used to access the resource.
Name pulumi.StringPtrInput `pulumi:"name"`
- // The type of NAT rule for VPN NAT.
+ // Whether complete virtual network address space is peered.
+ PeerCompleteVnets pulumi.BoolPtrInput `pulumi:"peerCompleteVnets"`
+ // The status of the virtual network peering.
+ PeeringState pulumi.StringPtrInput `pulumi:"peeringState"`
+ // The peering sync status of the virtual network peering.
+ PeeringSyncLevel pulumi.StringPtrInput `pulumi:"peeringSyncLevel"`
+ // The reference to the address space peered with the remote virtual network.
+ RemoteAddressSpace AddressSpacePtrInput `pulumi:"remoteAddressSpace"`
+ // The reference to the remote virtual network's Bgp Communities.
+ RemoteBgpCommunities VirtualNetworkBgpCommunitiesPtrInput `pulumi:"remoteBgpCommunities"`
+ // List of remote subnet names from remote virtual network that are subnet peered.
+ RemoteSubnetNames pulumi.StringArrayInput `pulumi:"remoteSubnetNames"`
+ // The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
+ RemoteVirtualNetwork SubResourcePtrInput `pulumi:"remoteVirtualNetwork"`
+ // The reference to the current address space of the remote virtual network.
+ RemoteVirtualNetworkAddressSpace AddressSpacePtrInput `pulumi:"remoteVirtualNetworkAddressSpace"`
+ // Resource type.
Type pulumi.StringPtrInput `pulumi:"type"`
+ // If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
+ UseRemoteGateways pulumi.BoolPtrInput `pulumi:"useRemoteGateways"`
}
-func (VirtualNetworkGatewayNatRuleTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayNatRuleType)(nil)).Elem()
+func (VirtualNetworkPeeringTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkPeeringType)(nil)).Elem()
}
-func (i VirtualNetworkGatewayNatRuleTypeArgs) ToVirtualNetworkGatewayNatRuleTypeOutput() VirtualNetworkGatewayNatRuleTypeOutput {
- return i.ToVirtualNetworkGatewayNatRuleTypeOutputWithContext(context.Background())
+func (i VirtualNetworkPeeringTypeArgs) ToVirtualNetworkPeeringTypeOutput() VirtualNetworkPeeringTypeOutput {
+ return i.ToVirtualNetworkPeeringTypeOutputWithContext(context.Background())
}
-func (i VirtualNetworkGatewayNatRuleTypeArgs) ToVirtualNetworkGatewayNatRuleTypeOutputWithContext(ctx context.Context) VirtualNetworkGatewayNatRuleTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayNatRuleTypeOutput)
+func (i VirtualNetworkPeeringTypeArgs) ToVirtualNetworkPeeringTypeOutputWithContext(ctx context.Context) VirtualNetworkPeeringTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkPeeringTypeOutput)
}
-// VirtualNetworkGatewayNatRuleTypeArrayInput is an input type that accepts VirtualNetworkGatewayNatRuleTypeArray and VirtualNetworkGatewayNatRuleTypeArrayOutput values.
-// You can construct a concrete instance of `VirtualNetworkGatewayNatRuleTypeArrayInput` via:
+// VirtualNetworkPeeringTypeArrayInput is an input type that accepts VirtualNetworkPeeringTypeArray and VirtualNetworkPeeringTypeArrayOutput values.
+// You can construct a concrete instance of `VirtualNetworkPeeringTypeArrayInput` via:
//
-// VirtualNetworkGatewayNatRuleTypeArray{ VirtualNetworkGatewayNatRuleTypeArgs{...} }
-type VirtualNetworkGatewayNatRuleTypeArrayInput interface {
+// VirtualNetworkPeeringTypeArray{ VirtualNetworkPeeringTypeArgs{...} }
+type VirtualNetworkPeeringTypeArrayInput interface {
pulumi.Input
- ToVirtualNetworkGatewayNatRuleTypeArrayOutput() VirtualNetworkGatewayNatRuleTypeArrayOutput
- ToVirtualNetworkGatewayNatRuleTypeArrayOutputWithContext(context.Context) VirtualNetworkGatewayNatRuleTypeArrayOutput
+ ToVirtualNetworkPeeringTypeArrayOutput() VirtualNetworkPeeringTypeArrayOutput
+ ToVirtualNetworkPeeringTypeArrayOutputWithContext(context.Context) VirtualNetworkPeeringTypeArrayOutput
}
-type VirtualNetworkGatewayNatRuleTypeArray []VirtualNetworkGatewayNatRuleTypeInput
+type VirtualNetworkPeeringTypeArray []VirtualNetworkPeeringTypeInput
-func (VirtualNetworkGatewayNatRuleTypeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkGatewayNatRuleType)(nil)).Elem()
+func (VirtualNetworkPeeringTypeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkPeeringType)(nil)).Elem()
}
-func (i VirtualNetworkGatewayNatRuleTypeArray) ToVirtualNetworkGatewayNatRuleTypeArrayOutput() VirtualNetworkGatewayNatRuleTypeArrayOutput {
- return i.ToVirtualNetworkGatewayNatRuleTypeArrayOutputWithContext(context.Background())
+func (i VirtualNetworkPeeringTypeArray) ToVirtualNetworkPeeringTypeArrayOutput() VirtualNetworkPeeringTypeArrayOutput {
+ return i.ToVirtualNetworkPeeringTypeArrayOutputWithContext(context.Background())
}
-func (i VirtualNetworkGatewayNatRuleTypeArray) ToVirtualNetworkGatewayNatRuleTypeArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayNatRuleTypeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayNatRuleTypeArrayOutput)
+func (i VirtualNetworkPeeringTypeArray) ToVirtualNetworkPeeringTypeArrayOutputWithContext(ctx context.Context) VirtualNetworkPeeringTypeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkPeeringTypeArrayOutput)
}
-// VirtualNetworkGatewayNatRule Resource.
-type VirtualNetworkGatewayNatRuleTypeOutput struct{ *pulumi.OutputState }
+// Peerings in a virtual network resource.
+type VirtualNetworkPeeringTypeOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkGatewayNatRuleTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayNatRuleType)(nil)).Elem()
+func (VirtualNetworkPeeringTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkPeeringType)(nil)).Elem()
}
-func (o VirtualNetworkGatewayNatRuleTypeOutput) ToVirtualNetworkGatewayNatRuleTypeOutput() VirtualNetworkGatewayNatRuleTypeOutput {
+func (o VirtualNetworkPeeringTypeOutput) ToVirtualNetworkPeeringTypeOutput() VirtualNetworkPeeringTypeOutput {
return o
}
-func (o VirtualNetworkGatewayNatRuleTypeOutput) ToVirtualNetworkGatewayNatRuleTypeOutputWithContext(ctx context.Context) VirtualNetworkGatewayNatRuleTypeOutput {
+func (o VirtualNetworkPeeringTypeOutput) ToVirtualNetworkPeeringTypeOutputWithContext(ctx context.Context) VirtualNetworkPeeringTypeOutput {
return o
}
-// The private IP address external mapping for NAT.
-func (o VirtualNetworkGatewayNatRuleTypeOutput) ExternalMappings() VpnNatRuleMappingArrayOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayNatRuleType) []VpnNatRuleMapping { return v.ExternalMappings }).(VpnNatRuleMappingArrayOutput)
-}
-
-// Resource ID.
-func (o VirtualNetworkGatewayNatRuleTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayNatRuleType) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// The private IP address internal mapping for NAT.
-func (o VirtualNetworkGatewayNatRuleTypeOutput) InternalMappings() VpnNatRuleMappingArrayOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayNatRuleType) []VpnNatRuleMapping { return v.InternalMappings }).(VpnNatRuleMappingArrayOutput)
-}
-
-// The IP Configuration ID this NAT rule applies to.
-func (o VirtualNetworkGatewayNatRuleTypeOutput) IpConfigurationId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayNatRuleType) *string { return v.IpConfigurationId }).(pulumi.StringPtrOutput)
-}
-
-// The Source NAT direction of a VPN NAT.
-func (o VirtualNetworkGatewayNatRuleTypeOutput) Mode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayNatRuleType) *string { return v.Mode }).(pulumi.StringPtrOutput)
+// Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
+func (o VirtualNetworkPeeringTypeOutput) AllowForwardedTraffic() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *bool { return v.AllowForwardedTraffic }).(pulumi.BoolPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o VirtualNetworkGatewayNatRuleTypeOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayNatRuleType) *string { return v.Name }).(pulumi.StringPtrOutput)
+// If gateway links can be used in remote virtual networking to link to this virtual network.
+func (o VirtualNetworkPeeringTypeOutput) AllowGatewayTransit() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *bool { return v.AllowGatewayTransit }).(pulumi.BoolPtrOutput)
}
-// The type of NAT rule for VPN NAT.
-func (o VirtualNetworkGatewayNatRuleTypeOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayNatRuleType) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
+func (o VirtualNetworkPeeringTypeOutput) AllowVirtualNetworkAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *bool { return v.AllowVirtualNetworkAccess }).(pulumi.BoolPtrOutput)
}
-type VirtualNetworkGatewayNatRuleTypeArrayOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewayNatRuleTypeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkGatewayNatRuleType)(nil)).Elem()
+// If we need to verify the provisioning state of the remote gateway.
+func (o VirtualNetworkPeeringTypeOutput) DoNotVerifyRemoteGateways() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *bool { return v.DoNotVerifyRemoteGateways }).(pulumi.BoolPtrOutput)
}
-func (o VirtualNetworkGatewayNatRuleTypeArrayOutput) ToVirtualNetworkGatewayNatRuleTypeArrayOutput() VirtualNetworkGatewayNatRuleTypeArrayOutput {
- return o
+// Whether only Ipv6 address space is peered for subnet peering.
+func (o VirtualNetworkPeeringTypeOutput) EnableOnlyIPv6Peering() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *bool { return v.EnableOnlyIPv6Peering }).(pulumi.BoolPtrOutput)
}
-func (o VirtualNetworkGatewayNatRuleTypeArrayOutput) ToVirtualNetworkGatewayNatRuleTypeArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayNatRuleTypeArrayOutput {
- return o
+// Resource ID.
+func (o VirtualNetworkPeeringTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayNatRuleTypeArrayOutput) Index(i pulumi.IntInput) VirtualNetworkGatewayNatRuleTypeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkGatewayNatRuleType {
- return vs[0].([]VirtualNetworkGatewayNatRuleType)[vs[1].(int)]
- }).(VirtualNetworkGatewayNatRuleTypeOutput)
+// The local address space of the local virtual network that is peered.
+func (o VirtualNetworkPeeringTypeOutput) LocalAddressSpace() AddressSpacePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *AddressSpace { return v.LocalAddressSpace }).(AddressSpacePtrOutput)
}
-// VirtualNetworkGatewayNatRule Resource.
-type VirtualNetworkGatewayNatRuleResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // The private IP address external mapping for NAT.
- ExternalMappings []VpnNatRuleMappingResponse `pulumi:"externalMappings"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The private IP address internal mapping for NAT.
- InternalMappings []VpnNatRuleMappingResponse `pulumi:"internalMappings"`
- // The IP Configuration ID this NAT rule applies to.
- IpConfigurationId *string `pulumi:"ipConfigurationId"`
- // The Source NAT direction of a VPN NAT.
- Mode *string `pulumi:"mode"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // The provisioning state of the NAT Rule resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // Resource type.
- Type string `pulumi:"type"`
+// List of local subnet names that are subnet peered with remote virtual network.
+func (o VirtualNetworkPeeringTypeOutput) LocalSubnetNames() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) []string { return v.LocalSubnetNames }).(pulumi.StringArrayOutput)
}
-// VirtualNetworkGatewayNatRule Resource.
-type VirtualNetworkGatewayNatRuleResponseOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewayNatRuleResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayNatRuleResponse)(nil)).Elem()
+// The current local address space of the local virtual network that is peered.
+func (o VirtualNetworkPeeringTypeOutput) LocalVirtualNetworkAddressSpace() AddressSpacePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *AddressSpace { return v.LocalVirtualNetworkAddressSpace }).(AddressSpacePtrOutput)
}
-func (o VirtualNetworkGatewayNatRuleResponseOutput) ToVirtualNetworkGatewayNatRuleResponseOutput() VirtualNetworkGatewayNatRuleResponseOutput {
- return o
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o VirtualNetworkPeeringTypeOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayNatRuleResponseOutput) ToVirtualNetworkGatewayNatRuleResponseOutputWithContext(ctx context.Context) VirtualNetworkGatewayNatRuleResponseOutput {
- return o
+// Whether complete virtual network address space is peered.
+func (o VirtualNetworkPeeringTypeOutput) PeerCompleteVnets() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *bool { return v.PeerCompleteVnets }).(pulumi.BoolPtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o VirtualNetworkGatewayNatRuleResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) string { return v.Etag }).(pulumi.StringOutput)
+// The status of the virtual network peering.
+func (o VirtualNetworkPeeringTypeOutput) PeeringState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *string { return v.PeeringState }).(pulumi.StringPtrOutput)
}
-// The private IP address external mapping for NAT.
-func (o VirtualNetworkGatewayNatRuleResponseOutput) ExternalMappings() VpnNatRuleMappingResponseArrayOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) []VpnNatRuleMappingResponse { return v.ExternalMappings }).(VpnNatRuleMappingResponseArrayOutput)
+// The peering sync status of the virtual network peering.
+func (o VirtualNetworkPeeringTypeOutput) PeeringSyncLevel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *string { return v.PeeringSyncLevel }).(pulumi.StringPtrOutput)
}
-// Resource ID.
-func (o VirtualNetworkGatewayNatRuleResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The reference to the address space peered with the remote virtual network.
+func (o VirtualNetworkPeeringTypeOutput) RemoteAddressSpace() AddressSpacePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *AddressSpace { return v.RemoteAddressSpace }).(AddressSpacePtrOutput)
}
-// The private IP address internal mapping for NAT.
-func (o VirtualNetworkGatewayNatRuleResponseOutput) InternalMappings() VpnNatRuleMappingResponseArrayOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) []VpnNatRuleMappingResponse { return v.InternalMappings }).(VpnNatRuleMappingResponseArrayOutput)
+// The reference to the remote virtual network's Bgp Communities.
+func (o VirtualNetworkPeeringTypeOutput) RemoteBgpCommunities() VirtualNetworkBgpCommunitiesPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *VirtualNetworkBgpCommunities { return v.RemoteBgpCommunities }).(VirtualNetworkBgpCommunitiesPtrOutput)
}
-// The IP Configuration ID this NAT rule applies to.
-func (o VirtualNetworkGatewayNatRuleResponseOutput) IpConfigurationId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) *string { return v.IpConfigurationId }).(pulumi.StringPtrOutput)
+// List of remote subnet names from remote virtual network that are subnet peered.
+func (o VirtualNetworkPeeringTypeOutput) RemoteSubnetNames() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) []string { return v.RemoteSubnetNames }).(pulumi.StringArrayOutput)
}
-// The Source NAT direction of a VPN NAT.
-func (o VirtualNetworkGatewayNatRuleResponseOutput) Mode() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) *string { return v.Mode }).(pulumi.StringPtrOutput)
+// The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
+func (o VirtualNetworkPeeringTypeOutput) RemoteVirtualNetwork() SubResourcePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *SubResource { return v.RemoteVirtualNetwork }).(SubResourcePtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o VirtualNetworkGatewayNatRuleResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The reference to the current address space of the remote virtual network.
+func (o VirtualNetworkPeeringTypeOutput) RemoteVirtualNetworkAddressSpace() AddressSpacePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *AddressSpace { return v.RemoteVirtualNetworkAddressSpace }).(AddressSpacePtrOutput)
}
-// The provisioning state of the NAT Rule resource.
-func (o VirtualNetworkGatewayNatRuleResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Resource type.
+func (o VirtualNetworkPeeringTypeOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// Resource type.
-func (o VirtualNetworkGatewayNatRuleResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayNatRuleResponse) string { return v.Type }).(pulumi.StringOutput)
+// If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
+func (o VirtualNetworkPeeringTypeOutput) UseRemoteGateways() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringType) *bool { return v.UseRemoteGateways }).(pulumi.BoolPtrOutput)
}
-type VirtualNetworkGatewayNatRuleResponseArrayOutput struct{ *pulumi.OutputState }
+type VirtualNetworkPeeringTypeArrayOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkGatewayNatRuleResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkGatewayNatRuleResponse)(nil)).Elem()
+func (VirtualNetworkPeeringTypeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkPeeringType)(nil)).Elem()
}
-func (o VirtualNetworkGatewayNatRuleResponseArrayOutput) ToVirtualNetworkGatewayNatRuleResponseArrayOutput() VirtualNetworkGatewayNatRuleResponseArrayOutput {
+func (o VirtualNetworkPeeringTypeArrayOutput) ToVirtualNetworkPeeringTypeArrayOutput() VirtualNetworkPeeringTypeArrayOutput {
return o
}
-func (o VirtualNetworkGatewayNatRuleResponseArrayOutput) ToVirtualNetworkGatewayNatRuleResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayNatRuleResponseArrayOutput {
+func (o VirtualNetworkPeeringTypeArrayOutput) ToVirtualNetworkPeeringTypeArrayOutputWithContext(ctx context.Context) VirtualNetworkPeeringTypeArrayOutput {
return o
}
-func (o VirtualNetworkGatewayNatRuleResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkGatewayNatRuleResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkGatewayNatRuleResponse {
- return vs[0].([]VirtualNetworkGatewayNatRuleResponse)[vs[1].(int)]
- }).(VirtualNetworkGatewayNatRuleResponseOutput)
+func (o VirtualNetworkPeeringTypeArrayOutput) Index(i pulumi.IntInput) VirtualNetworkPeeringTypeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkPeeringType {
+ return vs[0].([]VirtualNetworkPeeringType)[vs[1].(int)]
+ }).(VirtualNetworkPeeringTypeOutput)
}
-// Parameters for VirtualNetworkGatewayPolicyGroup.
-type VirtualNetworkGatewayPolicyGroup struct {
+// Peerings in a virtual network resource.
+type VirtualNetworkPeeringResponse struct {
+ // Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
+ AllowForwardedTraffic *bool `pulumi:"allowForwardedTraffic"`
+ // If gateway links can be used in remote virtual networking to link to this virtual network.
+ AllowGatewayTransit *bool `pulumi:"allowGatewayTransit"`
+ // Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
+ AllowVirtualNetworkAccess *bool `pulumi:"allowVirtualNetworkAccess"`
+ // If we need to verify the provisioning state of the remote gateway.
+ DoNotVerifyRemoteGateways *bool `pulumi:"doNotVerifyRemoteGateways"`
+ // Whether only Ipv6 address space is peered for subnet peering.
+ EnableOnlyIPv6Peering *bool `pulumi:"enableOnlyIPv6Peering"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
// Resource ID.
Id *string `pulumi:"id"`
- // Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
- IsDefault bool `pulumi:"isDefault"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ // The local address space of the local virtual network that is peered.
+ LocalAddressSpace *AddressSpaceResponse `pulumi:"localAddressSpace"`
+ // List of local subnet names that are subnet peered with remote virtual network.
+ LocalSubnetNames []string `pulumi:"localSubnetNames"`
+ // The current local address space of the local virtual network that is peered.
+ LocalVirtualNetworkAddressSpace *AddressSpaceResponse `pulumi:"localVirtualNetworkAddressSpace"`
+ // Name of the resource.
Name *string `pulumi:"name"`
- // Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
- PolicyMembers []VirtualNetworkGatewayPolicyGroupMember `pulumi:"policyMembers"`
- // Priority for VirtualNetworkGatewayPolicyGroup.
- Priority int `pulumi:"priority"`
-}
-
-// VirtualNetworkGatewayPolicyGroupInput is an input type that accepts VirtualNetworkGatewayPolicyGroupArgs and VirtualNetworkGatewayPolicyGroupOutput values.
-// You can construct a concrete instance of `VirtualNetworkGatewayPolicyGroupInput` via:
-//
-// VirtualNetworkGatewayPolicyGroupArgs{...}
-type VirtualNetworkGatewayPolicyGroupInput interface {
- pulumi.Input
-
- ToVirtualNetworkGatewayPolicyGroupOutput() VirtualNetworkGatewayPolicyGroupOutput
- ToVirtualNetworkGatewayPolicyGroupOutputWithContext(context.Context) VirtualNetworkGatewayPolicyGroupOutput
-}
-
-// Parameters for VirtualNetworkGatewayPolicyGroup.
-type VirtualNetworkGatewayPolicyGroupArgs struct {
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
- IsDefault pulumi.BoolInput `pulumi:"isDefault"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
- PolicyMembers VirtualNetworkGatewayPolicyGroupMemberArrayInput `pulumi:"policyMembers"`
- // Priority for VirtualNetworkGatewayPolicyGroup.
- Priority pulumi.IntInput `pulumi:"priority"`
-}
-
-func (VirtualNetworkGatewayPolicyGroupArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayPolicyGroup)(nil)).Elem()
-}
-
-func (i VirtualNetworkGatewayPolicyGroupArgs) ToVirtualNetworkGatewayPolicyGroupOutput() VirtualNetworkGatewayPolicyGroupOutput {
- return i.ToVirtualNetworkGatewayPolicyGroupOutputWithContext(context.Background())
-}
-
-func (i VirtualNetworkGatewayPolicyGroupArgs) ToVirtualNetworkGatewayPolicyGroupOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayPolicyGroupOutput)
-}
-
-// VirtualNetworkGatewayPolicyGroupArrayInput is an input type that accepts VirtualNetworkGatewayPolicyGroupArray and VirtualNetworkGatewayPolicyGroupArrayOutput values.
-// You can construct a concrete instance of `VirtualNetworkGatewayPolicyGroupArrayInput` via:
-//
-// VirtualNetworkGatewayPolicyGroupArray{ VirtualNetworkGatewayPolicyGroupArgs{...} }
-type VirtualNetworkGatewayPolicyGroupArrayInput interface {
- pulumi.Input
-
- ToVirtualNetworkGatewayPolicyGroupArrayOutput() VirtualNetworkGatewayPolicyGroupArrayOutput
- ToVirtualNetworkGatewayPolicyGroupArrayOutputWithContext(context.Context) VirtualNetworkGatewayPolicyGroupArrayOutput
-}
-
-type VirtualNetworkGatewayPolicyGroupArray []VirtualNetworkGatewayPolicyGroupInput
-
-func (VirtualNetworkGatewayPolicyGroupArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkGatewayPolicyGroup)(nil)).Elem()
+ // Whether complete virtual network address space is peered.
+ PeerCompleteVnets *bool `pulumi:"peerCompleteVnets"`
+ // The status of the virtual network peering.
+ PeeringState *string `pulumi:"peeringState"`
+ // The peering sync status of the virtual network peering.
+ PeeringSyncLevel *string `pulumi:"peeringSyncLevel"`
+ // The provisioning state of the virtual network peering resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The reference to the address space peered with the remote virtual network.
+ RemoteAddressSpace *AddressSpaceResponse `pulumi:"remoteAddressSpace"`
+ // The reference to the remote virtual network's Bgp Communities.
+ RemoteBgpCommunities *VirtualNetworkBgpCommunitiesResponse `pulumi:"remoteBgpCommunities"`
+ // List of remote subnet names from remote virtual network that are subnet peered.
+ RemoteSubnetNames []string `pulumi:"remoteSubnetNames"`
+ // The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
+ RemoteVirtualNetwork *SubResourceResponse `pulumi:"remoteVirtualNetwork"`
+ // The reference to the current address space of the remote virtual network.
+ RemoteVirtualNetworkAddressSpace *AddressSpaceResponse `pulumi:"remoteVirtualNetworkAddressSpace"`
+ // The reference to the remote virtual network's encryption
+ RemoteVirtualNetworkEncryption VirtualNetworkEncryptionResponse `pulumi:"remoteVirtualNetworkEncryption"`
+ // The resourceGuid property of the Virtual Network peering resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // Resource type.
+ Type string `pulumi:"type"`
+ // If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
+ UseRemoteGateways *bool `pulumi:"useRemoteGateways"`
}
-func (i VirtualNetworkGatewayPolicyGroupArray) ToVirtualNetworkGatewayPolicyGroupArrayOutput() VirtualNetworkGatewayPolicyGroupArrayOutput {
- return i.ToVirtualNetworkGatewayPolicyGroupArrayOutputWithContext(context.Background())
-}
+// Peerings in a virtual network resource.
+type VirtualNetworkPeeringResponseOutput struct{ *pulumi.OutputState }
-func (i VirtualNetworkGatewayPolicyGroupArray) ToVirtualNetworkGatewayPolicyGroupArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayPolicyGroupArrayOutput)
+func (VirtualNetworkPeeringResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkPeeringResponse)(nil)).Elem()
}
-// Parameters for VirtualNetworkGatewayPolicyGroup.
-type VirtualNetworkGatewayPolicyGroupOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewayPolicyGroupOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayPolicyGroup)(nil)).Elem()
+func (o VirtualNetworkPeeringResponseOutput) ToVirtualNetworkPeeringResponseOutput() VirtualNetworkPeeringResponseOutput {
+ return o
}
-func (o VirtualNetworkGatewayPolicyGroupOutput) ToVirtualNetworkGatewayPolicyGroupOutput() VirtualNetworkGatewayPolicyGroupOutput {
+func (o VirtualNetworkPeeringResponseOutput) ToVirtualNetworkPeeringResponseOutputWithContext(ctx context.Context) VirtualNetworkPeeringResponseOutput {
return o
}
-func (o VirtualNetworkGatewayPolicyGroupOutput) ToVirtualNetworkGatewayPolicyGroupOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupOutput {
- return o
+// Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
+func (o VirtualNetworkPeeringResponseOutput) AllowForwardedTraffic() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *bool { return v.AllowForwardedTraffic }).(pulumi.BoolPtrOutput)
}
-// Resource ID.
-func (o VirtualNetworkGatewayPolicyGroupOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroup) *string { return v.Id }).(pulumi.StringPtrOutput)
+// If gateway links can be used in remote virtual networking to link to this virtual network.
+func (o VirtualNetworkPeeringResponseOutput) AllowGatewayTransit() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *bool { return v.AllowGatewayTransit }).(pulumi.BoolPtrOutput)
}
-// Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
-func (o VirtualNetworkGatewayPolicyGroupOutput) IsDefault() pulumi.BoolOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroup) bool { return v.IsDefault }).(pulumi.BoolOutput)
+// Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
+func (o VirtualNetworkPeeringResponseOutput) AllowVirtualNetworkAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *bool { return v.AllowVirtualNetworkAccess }).(pulumi.BoolPtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o VirtualNetworkGatewayPolicyGroupOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroup) *string { return v.Name }).(pulumi.StringPtrOutput)
+// If we need to verify the provisioning state of the remote gateway.
+func (o VirtualNetworkPeeringResponseOutput) DoNotVerifyRemoteGateways() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *bool { return v.DoNotVerifyRemoteGateways }).(pulumi.BoolPtrOutput)
}
-// Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
-func (o VirtualNetworkGatewayPolicyGroupOutput) PolicyMembers() VirtualNetworkGatewayPolicyGroupMemberArrayOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroup) []VirtualNetworkGatewayPolicyGroupMember {
- return v.PolicyMembers
- }).(VirtualNetworkGatewayPolicyGroupMemberArrayOutput)
+// Whether only Ipv6 address space is peered for subnet peering.
+func (o VirtualNetworkPeeringResponseOutput) EnableOnlyIPv6Peering() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *bool { return v.EnableOnlyIPv6Peering }).(pulumi.BoolPtrOutput)
}
-// Priority for VirtualNetworkGatewayPolicyGroup.
-func (o VirtualNetworkGatewayPolicyGroupOutput) Priority() pulumi.IntOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroup) int { return v.Priority }).(pulumi.IntOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o VirtualNetworkPeeringResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-type VirtualNetworkGatewayPolicyGroupArrayOutput struct{ *pulumi.OutputState }
+// Resource ID.
+func (o VirtualNetworkPeeringResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
-func (VirtualNetworkGatewayPolicyGroupArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkGatewayPolicyGroup)(nil)).Elem()
+// The local address space of the local virtual network that is peered.
+func (o VirtualNetworkPeeringResponseOutput) LocalAddressSpace() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *AddressSpaceResponse { return v.LocalAddressSpace }).(AddressSpaceResponsePtrOutput)
}
-func (o VirtualNetworkGatewayPolicyGroupArrayOutput) ToVirtualNetworkGatewayPolicyGroupArrayOutput() VirtualNetworkGatewayPolicyGroupArrayOutput {
- return o
+// List of local subnet names that are subnet peered with remote virtual network.
+func (o VirtualNetworkPeeringResponseOutput) LocalSubnetNames() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) []string { return v.LocalSubnetNames }).(pulumi.StringArrayOutput)
}
-func (o VirtualNetworkGatewayPolicyGroupArrayOutput) ToVirtualNetworkGatewayPolicyGroupArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupArrayOutput {
- return o
+// The current local address space of the local virtual network that is peered.
+func (o VirtualNetworkPeeringResponseOutput) LocalVirtualNetworkAddressSpace() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *AddressSpaceResponse { return v.LocalVirtualNetworkAddressSpace }).(AddressSpaceResponsePtrOutput)
}
-func (o VirtualNetworkGatewayPolicyGroupArrayOutput) Index(i pulumi.IntInput) VirtualNetworkGatewayPolicyGroupOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkGatewayPolicyGroup {
- return vs[0].([]VirtualNetworkGatewayPolicyGroup)[vs[1].(int)]
- }).(VirtualNetworkGatewayPolicyGroupOutput)
+// Name of the resource.
+func (o VirtualNetworkPeeringResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-// Vpn Client Connection configuration PolicyGroup member
-type VirtualNetworkGatewayPolicyGroupMember struct {
- // The Vpn Policy member attribute type.
- AttributeType *string `pulumi:"attributeType"`
- // The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
- AttributeValue *string `pulumi:"attributeValue"`
- // Name of the VirtualNetworkGatewayPolicyGroupMember.
- Name *string `pulumi:"name"`
+// Whether complete virtual network address space is peered.
+func (o VirtualNetworkPeeringResponseOutput) PeerCompleteVnets() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *bool { return v.PeerCompleteVnets }).(pulumi.BoolPtrOutput)
}
-// VirtualNetworkGatewayPolicyGroupMemberInput is an input type that accepts VirtualNetworkGatewayPolicyGroupMemberArgs and VirtualNetworkGatewayPolicyGroupMemberOutput values.
-// You can construct a concrete instance of `VirtualNetworkGatewayPolicyGroupMemberInput` via:
-//
-// VirtualNetworkGatewayPolicyGroupMemberArgs{...}
-type VirtualNetworkGatewayPolicyGroupMemberInput interface {
- pulumi.Input
+// The status of the virtual network peering.
+func (o VirtualNetworkPeeringResponseOutput) PeeringState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *string { return v.PeeringState }).(pulumi.StringPtrOutput)
+}
- ToVirtualNetworkGatewayPolicyGroupMemberOutput() VirtualNetworkGatewayPolicyGroupMemberOutput
- ToVirtualNetworkGatewayPolicyGroupMemberOutputWithContext(context.Context) VirtualNetworkGatewayPolicyGroupMemberOutput
+// The peering sync status of the virtual network peering.
+func (o VirtualNetworkPeeringResponseOutput) PeeringSyncLevel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *string { return v.PeeringSyncLevel }).(pulumi.StringPtrOutput)
}
-// Vpn Client Connection configuration PolicyGroup member
-type VirtualNetworkGatewayPolicyGroupMemberArgs struct {
- // The Vpn Policy member attribute type.
- AttributeType pulumi.StringPtrInput `pulumi:"attributeType"`
- // The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
- AttributeValue pulumi.StringPtrInput `pulumi:"attributeValue"`
- // Name of the VirtualNetworkGatewayPolicyGroupMember.
- Name pulumi.StringPtrInput `pulumi:"name"`
+// The provisioning state of the virtual network peering resource.
+func (o VirtualNetworkPeeringResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (VirtualNetworkGatewayPolicyGroupMemberArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayPolicyGroupMember)(nil)).Elem()
+// The reference to the address space peered with the remote virtual network.
+func (o VirtualNetworkPeeringResponseOutput) RemoteAddressSpace() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *AddressSpaceResponse { return v.RemoteAddressSpace }).(AddressSpaceResponsePtrOutput)
}
-func (i VirtualNetworkGatewayPolicyGroupMemberArgs) ToVirtualNetworkGatewayPolicyGroupMemberOutput() VirtualNetworkGatewayPolicyGroupMemberOutput {
- return i.ToVirtualNetworkGatewayPolicyGroupMemberOutputWithContext(context.Background())
+// The reference to the remote virtual network's Bgp Communities.
+func (o VirtualNetworkPeeringResponseOutput) RemoteBgpCommunities() VirtualNetworkBgpCommunitiesResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *VirtualNetworkBgpCommunitiesResponse {
+ return v.RemoteBgpCommunities
+ }).(VirtualNetworkBgpCommunitiesResponsePtrOutput)
}
-func (i VirtualNetworkGatewayPolicyGroupMemberArgs) ToVirtualNetworkGatewayPolicyGroupMemberOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupMemberOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayPolicyGroupMemberOutput)
+// List of remote subnet names from remote virtual network that are subnet peered.
+func (o VirtualNetworkPeeringResponseOutput) RemoteSubnetNames() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) []string { return v.RemoteSubnetNames }).(pulumi.StringArrayOutput)
}
-// VirtualNetworkGatewayPolicyGroupMemberArrayInput is an input type that accepts VirtualNetworkGatewayPolicyGroupMemberArray and VirtualNetworkGatewayPolicyGroupMemberArrayOutput values.
-// You can construct a concrete instance of `VirtualNetworkGatewayPolicyGroupMemberArrayInput` via:
-//
-// VirtualNetworkGatewayPolicyGroupMemberArray{ VirtualNetworkGatewayPolicyGroupMemberArgs{...} }
-type VirtualNetworkGatewayPolicyGroupMemberArrayInput interface {
- pulumi.Input
+// The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
+func (o VirtualNetworkPeeringResponseOutput) RemoteVirtualNetwork() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *SubResourceResponse { return v.RemoteVirtualNetwork }).(SubResourceResponsePtrOutput)
+}
- ToVirtualNetworkGatewayPolicyGroupMemberArrayOutput() VirtualNetworkGatewayPolicyGroupMemberArrayOutput
- ToVirtualNetworkGatewayPolicyGroupMemberArrayOutputWithContext(context.Context) VirtualNetworkGatewayPolicyGroupMemberArrayOutput
+// The reference to the current address space of the remote virtual network.
+func (o VirtualNetworkPeeringResponseOutput) RemoteVirtualNetworkAddressSpace() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *AddressSpaceResponse { return v.RemoteVirtualNetworkAddressSpace }).(AddressSpaceResponsePtrOutput)
}
-type VirtualNetworkGatewayPolicyGroupMemberArray []VirtualNetworkGatewayPolicyGroupMemberInput
+// The reference to the remote virtual network's encryption
+func (o VirtualNetworkPeeringResponseOutput) RemoteVirtualNetworkEncryption() VirtualNetworkEncryptionResponseOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) VirtualNetworkEncryptionResponse {
+ return v.RemoteVirtualNetworkEncryption
+ }).(VirtualNetworkEncryptionResponseOutput)
+}
-func (VirtualNetworkGatewayPolicyGroupMemberArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkGatewayPolicyGroupMember)(nil)).Elem()
+// The resourceGuid property of the Virtual Network peering resource.
+func (o VirtualNetworkPeeringResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-func (i VirtualNetworkGatewayPolicyGroupMemberArray) ToVirtualNetworkGatewayPolicyGroupMemberArrayOutput() VirtualNetworkGatewayPolicyGroupMemberArrayOutput {
- return i.ToVirtualNetworkGatewayPolicyGroupMemberArrayOutputWithContext(context.Background())
+// Resource type.
+func (o VirtualNetworkPeeringResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) string { return v.Type }).(pulumi.StringOutput)
}
-func (i VirtualNetworkGatewayPolicyGroupMemberArray) ToVirtualNetworkGatewayPolicyGroupMemberArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupMemberArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewayPolicyGroupMemberArrayOutput)
+// If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
+func (o VirtualNetworkPeeringResponseOutput) UseRemoteGateways() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringResponse) *bool { return v.UseRemoteGateways }).(pulumi.BoolPtrOutput)
}
-// Vpn Client Connection configuration PolicyGroup member
-type VirtualNetworkGatewayPolicyGroupMemberOutput struct{ *pulumi.OutputState }
+type VirtualNetworkPeeringResponseArrayOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkGatewayPolicyGroupMemberOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayPolicyGroupMember)(nil)).Elem()
+func (VirtualNetworkPeeringResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkPeeringResponse)(nil)).Elem()
}
-func (o VirtualNetworkGatewayPolicyGroupMemberOutput) ToVirtualNetworkGatewayPolicyGroupMemberOutput() VirtualNetworkGatewayPolicyGroupMemberOutput {
+func (o VirtualNetworkPeeringResponseArrayOutput) ToVirtualNetworkPeeringResponseArrayOutput() VirtualNetworkPeeringResponseArrayOutput {
return o
}
-func (o VirtualNetworkGatewayPolicyGroupMemberOutput) ToVirtualNetworkGatewayPolicyGroupMemberOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupMemberOutput {
+func (o VirtualNetworkPeeringResponseArrayOutput) ToVirtualNetworkPeeringResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkPeeringResponseArrayOutput {
return o
}
-// The Vpn Policy member attribute type.
-func (o VirtualNetworkGatewayPolicyGroupMemberOutput) AttributeType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupMember) *string { return v.AttributeType }).(pulumi.StringPtrOutput)
-}
-
-// The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
-func (o VirtualNetworkGatewayPolicyGroupMemberOutput) AttributeValue() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupMember) *string { return v.AttributeValue }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkPeeringResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkPeeringResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkPeeringResponse {
+ return vs[0].([]VirtualNetworkPeeringResponse)[vs[1].(int)]
+ }).(VirtualNetworkPeeringResponseOutput)
}
-// Name of the VirtualNetworkGatewayPolicyGroupMember.
-func (o VirtualNetworkGatewayPolicyGroupMemberOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupMember) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Peerings in a virtual network resource.
+type VirtualNetworkPeeringVirtualNetworkResponse struct {
+ // Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
+ AllowForwardedTraffic *bool `pulumi:"allowForwardedTraffic"`
+ // If gateway links can be used in remote virtual networking to link to this virtual network.
+ AllowGatewayTransit *bool `pulumi:"allowGatewayTransit"`
+ // Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
+ AllowVirtualNetworkAccess *bool `pulumi:"allowVirtualNetworkAccess"`
+ // If we need to verify the provisioning state of the remote gateway.
+ DoNotVerifyRemoteGateways *bool `pulumi:"doNotVerifyRemoteGateways"`
+ // Whether only Ipv6 address space is peered for subnet peering.
+ EnableOnlyIPv6Peering *bool `pulumi:"enableOnlyIPv6Peering"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // The local address space of the local virtual network that is peered.
+ LocalAddressSpace *AddressSpaceResponse `pulumi:"localAddressSpace"`
+ // List of local subnet names that are subnet peered with remote virtual network.
+ LocalSubnetNames []string `pulumi:"localSubnetNames"`
+ // The current local address space of the local virtual network that is peered.
+ LocalVirtualNetworkAddressSpace *AddressSpaceResponse `pulumi:"localVirtualNetworkAddressSpace"`
+ // The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `pulumi:"name"`
+ // Whether complete virtual network address space is peered.
+ PeerCompleteVnets *bool `pulumi:"peerCompleteVnets"`
+ // The status of the virtual network peering.
+ PeeringState *string `pulumi:"peeringState"`
+ // The peering sync status of the virtual network peering.
+ PeeringSyncLevel *string `pulumi:"peeringSyncLevel"`
+ // The provisioning state of the virtual network peering resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The reference to the address space peered with the remote virtual network.
+ RemoteAddressSpace *AddressSpaceResponse `pulumi:"remoteAddressSpace"`
+ // The reference to the remote virtual network's Bgp Communities.
+ RemoteBgpCommunities *VirtualNetworkBgpCommunitiesResponse `pulumi:"remoteBgpCommunities"`
+ // List of remote subnet names from remote virtual network that are subnet peered.
+ RemoteSubnetNames []string `pulumi:"remoteSubnetNames"`
+ // The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
+ RemoteVirtualNetwork *SubResourceResponse `pulumi:"remoteVirtualNetwork"`
+ // The reference to the current address space of the remote virtual network.
+ RemoteVirtualNetworkAddressSpace *AddressSpaceResponse `pulumi:"remoteVirtualNetworkAddressSpace"`
+ // The reference to the remote virtual network's encryption
+ RemoteVirtualNetworkEncryption VirtualNetworkEncryptionResponse `pulumi:"remoteVirtualNetworkEncryption"`
+ // The resourceGuid property of the Virtual Network peering resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // Resource type.
+ Type *string `pulumi:"type"`
+ // If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
+ UseRemoteGateways *bool `pulumi:"useRemoteGateways"`
}
-type VirtualNetworkGatewayPolicyGroupMemberArrayOutput struct{ *pulumi.OutputState }
+// Peerings in a virtual network resource.
+type VirtualNetworkPeeringVirtualNetworkResponseOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkGatewayPolicyGroupMemberArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkGatewayPolicyGroupMember)(nil)).Elem()
+func (VirtualNetworkPeeringVirtualNetworkResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkPeeringVirtualNetworkResponse)(nil)).Elem()
}
-func (o VirtualNetworkGatewayPolicyGroupMemberArrayOutput) ToVirtualNetworkGatewayPolicyGroupMemberArrayOutput() VirtualNetworkGatewayPolicyGroupMemberArrayOutput {
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) ToVirtualNetworkPeeringVirtualNetworkResponseOutput() VirtualNetworkPeeringVirtualNetworkResponseOutput {
return o
}
-func (o VirtualNetworkGatewayPolicyGroupMemberArrayOutput) ToVirtualNetworkGatewayPolicyGroupMemberArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupMemberArrayOutput {
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) ToVirtualNetworkPeeringVirtualNetworkResponseOutputWithContext(ctx context.Context) VirtualNetworkPeeringVirtualNetworkResponseOutput {
return o
}
-func (o VirtualNetworkGatewayPolicyGroupMemberArrayOutput) Index(i pulumi.IntInput) VirtualNetworkGatewayPolicyGroupMemberOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkGatewayPolicyGroupMember {
- return vs[0].([]VirtualNetworkGatewayPolicyGroupMember)[vs[1].(int)]
- }).(VirtualNetworkGatewayPolicyGroupMemberOutput)
+// Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) AllowForwardedTraffic() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *bool { return v.AllowForwardedTraffic }).(pulumi.BoolPtrOutput)
}
-// Vpn Client Connection configuration PolicyGroup member
-type VirtualNetworkGatewayPolicyGroupMemberResponse struct {
- // The Vpn Policy member attribute type.
- AttributeType *string `pulumi:"attributeType"`
- // The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
- AttributeValue *string `pulumi:"attributeValue"`
- // Name of the VirtualNetworkGatewayPolicyGroupMember.
- Name *string `pulumi:"name"`
+// If gateway links can be used in remote virtual networking to link to this virtual network.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) AllowGatewayTransit() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *bool { return v.AllowGatewayTransit }).(pulumi.BoolPtrOutput)
}
-// Vpn Client Connection configuration PolicyGroup member
-type VirtualNetworkGatewayPolicyGroupMemberResponseOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewayPolicyGroupMemberResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayPolicyGroupMemberResponse)(nil)).Elem()
+// Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) AllowVirtualNetworkAccess() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *bool { return v.AllowVirtualNetworkAccess }).(pulumi.BoolPtrOutput)
}
-func (o VirtualNetworkGatewayPolicyGroupMemberResponseOutput) ToVirtualNetworkGatewayPolicyGroupMemberResponseOutput() VirtualNetworkGatewayPolicyGroupMemberResponseOutput {
- return o
+// If we need to verify the provisioning state of the remote gateway.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) DoNotVerifyRemoteGateways() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *bool { return v.DoNotVerifyRemoteGateways }).(pulumi.BoolPtrOutput)
}
-func (o VirtualNetworkGatewayPolicyGroupMemberResponseOutput) ToVirtualNetworkGatewayPolicyGroupMemberResponseOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupMemberResponseOutput {
- return o
+// Whether only Ipv6 address space is peered for subnet peering.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) EnableOnlyIPv6Peering() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *bool { return v.EnableOnlyIPv6Peering }).(pulumi.BoolPtrOutput)
}
-// The Vpn Policy member attribute type.
-func (o VirtualNetworkGatewayPolicyGroupMemberResponseOutput) AttributeType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupMemberResponse) *string { return v.AttributeType }).(pulumi.StringPtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember.
-func (o VirtualNetworkGatewayPolicyGroupMemberResponseOutput) AttributeValue() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupMemberResponse) *string { return v.AttributeValue }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Name of the VirtualNetworkGatewayPolicyGroupMember.
-func (o VirtualNetworkGatewayPolicyGroupMemberResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupMemberResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The local address space of the local virtual network that is peered.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) LocalAddressSpace() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *AddressSpaceResponse { return v.LocalAddressSpace }).(AddressSpaceResponsePtrOutput)
}
-type VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkGatewayPolicyGroupMemberResponse)(nil)).Elem()
+// List of local subnet names that are subnet peered with remote virtual network.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) LocalSubnetNames() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) []string { return v.LocalSubnetNames }).(pulumi.StringArrayOutput)
}
-func (o VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput) ToVirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput() VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput {
- return o
+// The current local address space of the local virtual network that is peered.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) LocalVirtualNetworkAddressSpace() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *AddressSpaceResponse {
+ return v.LocalVirtualNetworkAddressSpace
+ }).(AddressSpaceResponsePtrOutput)
}
-func (o VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput) ToVirtualNetworkGatewayPolicyGroupMemberResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput {
- return o
+// The name of the resource that is unique within a resource group. This name can be used to access the resource.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkGatewayPolicyGroupMemberResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkGatewayPolicyGroupMemberResponse {
- return vs[0].([]VirtualNetworkGatewayPolicyGroupMemberResponse)[vs[1].(int)]
- }).(VirtualNetworkGatewayPolicyGroupMemberResponseOutput)
+// Whether complete virtual network address space is peered.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) PeerCompleteVnets() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *bool { return v.PeerCompleteVnets }).(pulumi.BoolPtrOutput)
}
-// Parameters for VirtualNetworkGatewayPolicyGroup.
-type VirtualNetworkGatewayPolicyGroupResponse struct {
- // A unique read-only string that changes whenever the resource is updated.
- Etag string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
- IsDefault bool `pulumi:"isDefault"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
- PolicyMembers []VirtualNetworkGatewayPolicyGroupMemberResponse `pulumi:"policyMembers"`
- // Priority for VirtualNetworkGatewayPolicyGroup.
- Priority int `pulumi:"priority"`
- // The provisioning state of the VirtualNetworkGatewayPolicyGroup resource.
- ProvisioningState string `pulumi:"provisioningState"`
- // List of references to vngClientConnectionConfigurations.
- VngClientConnectionConfigurations []SubResourceResponse `pulumi:"vngClientConnectionConfigurations"`
+// The status of the virtual network peering.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) PeeringState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *string { return v.PeeringState }).(pulumi.StringPtrOutput)
}
-// Parameters for VirtualNetworkGatewayPolicyGroup.
-type VirtualNetworkGatewayPolicyGroupResponseOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewayPolicyGroupResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayPolicyGroupResponse)(nil)).Elem()
+// The peering sync status of the virtual network peering.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) PeeringSyncLevel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *string { return v.PeeringSyncLevel }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkGatewayPolicyGroupResponseOutput) ToVirtualNetworkGatewayPolicyGroupResponseOutput() VirtualNetworkGatewayPolicyGroupResponseOutput {
- return o
+// The provisioning state of the virtual network peering resource.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-func (o VirtualNetworkGatewayPolicyGroupResponseOutput) ToVirtualNetworkGatewayPolicyGroupResponseOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupResponseOutput {
- return o
+// The reference to the address space peered with the remote virtual network.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) RemoteAddressSpace() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *AddressSpaceResponse { return v.RemoteAddressSpace }).(AddressSpaceResponsePtrOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o VirtualNetworkGatewayPolicyGroupResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupResponse) string { return v.Etag }).(pulumi.StringOutput)
+// The reference to the remote virtual network's Bgp Communities.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) RemoteBgpCommunities() VirtualNetworkBgpCommunitiesResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *VirtualNetworkBgpCommunitiesResponse {
+ return v.RemoteBgpCommunities
+ }).(VirtualNetworkBgpCommunitiesResponsePtrOutput)
}
-// Resource ID.
-func (o VirtualNetworkGatewayPolicyGroupResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// List of remote subnet names from remote virtual network that are subnet peered.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) RemoteSubnetNames() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) []string { return v.RemoteSubnetNames }).(pulumi.StringArrayOutput)
}
-// Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not.
-func (o VirtualNetworkGatewayPolicyGroupResponseOutput) IsDefault() pulumi.BoolOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupResponse) bool { return v.IsDefault }).(pulumi.BoolOutput)
+// The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) RemoteVirtualNetwork() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *SubResourceResponse {
+ return v.RemoteVirtualNetwork
+ }).(SubResourceResponsePtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o VirtualNetworkGatewayPolicyGroupResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The reference to the current address space of the remote virtual network.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) RemoteVirtualNetworkAddressSpace() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *AddressSpaceResponse {
+ return v.RemoteVirtualNetworkAddressSpace
+ }).(AddressSpaceResponsePtrOutput)
}
-// Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.
-func (o VirtualNetworkGatewayPolicyGroupResponseOutput) PolicyMembers() VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupResponse) []VirtualNetworkGatewayPolicyGroupMemberResponse {
- return v.PolicyMembers
- }).(VirtualNetworkGatewayPolicyGroupMemberResponseArrayOutput)
+// The reference to the remote virtual network's encryption
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) RemoteVirtualNetworkEncryption() VirtualNetworkEncryptionResponseOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) VirtualNetworkEncryptionResponse {
+ return v.RemoteVirtualNetworkEncryption
+ }).(VirtualNetworkEncryptionResponseOutput)
}
-// Priority for VirtualNetworkGatewayPolicyGroup.
-func (o VirtualNetworkGatewayPolicyGroupResponseOutput) Priority() pulumi.IntOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupResponse) int { return v.Priority }).(pulumi.IntOutput)
+// The resourceGuid property of the Virtual Network peering resource.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// The provisioning state of the VirtualNetworkGatewayPolicyGroup resource.
-func (o VirtualNetworkGatewayPolicyGroupResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// Resource type.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
}
-// List of references to vngClientConnectionConfigurations.
-func (o VirtualNetworkGatewayPolicyGroupResponseOutput) VngClientConnectionConfigurations() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayPolicyGroupResponse) []SubResourceResponse {
- return v.VngClientConnectionConfigurations
- }).(SubResourceResponseArrayOutput)
+// If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
+func (o VirtualNetworkPeeringVirtualNetworkResponseOutput) UseRemoteGateways() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkPeeringVirtualNetworkResponse) *bool { return v.UseRemoteGateways }).(pulumi.BoolPtrOutput)
}
-type VirtualNetworkGatewayPolicyGroupResponseArrayOutput struct{ *pulumi.OutputState }
+type VirtualNetworkPeeringVirtualNetworkResponseArrayOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkGatewayPolicyGroupResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkGatewayPolicyGroupResponse)(nil)).Elem()
+func (VirtualNetworkPeeringVirtualNetworkResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkPeeringVirtualNetworkResponse)(nil)).Elem()
}
-func (o VirtualNetworkGatewayPolicyGroupResponseArrayOutput) ToVirtualNetworkGatewayPolicyGroupResponseArrayOutput() VirtualNetworkGatewayPolicyGroupResponseArrayOutput {
+func (o VirtualNetworkPeeringVirtualNetworkResponseArrayOutput) ToVirtualNetworkPeeringVirtualNetworkResponseArrayOutput() VirtualNetworkPeeringVirtualNetworkResponseArrayOutput {
return o
}
-func (o VirtualNetworkGatewayPolicyGroupResponseArrayOutput) ToVirtualNetworkGatewayPolicyGroupResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkGatewayPolicyGroupResponseArrayOutput {
+func (o VirtualNetworkPeeringVirtualNetworkResponseArrayOutput) ToVirtualNetworkPeeringVirtualNetworkResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkPeeringVirtualNetworkResponseArrayOutput {
return o
}
-func (o VirtualNetworkGatewayPolicyGroupResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkGatewayPolicyGroupResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkGatewayPolicyGroupResponse {
- return vs[0].([]VirtualNetworkGatewayPolicyGroupResponse)[vs[1].(int)]
- }).(VirtualNetworkGatewayPolicyGroupResponseOutput)
+func (o VirtualNetworkPeeringVirtualNetworkResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkPeeringVirtualNetworkResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkPeeringVirtualNetworkResponse {
+ return vs[0].([]VirtualNetworkPeeringVirtualNetworkResponse)[vs[1].(int)]
+ }).(VirtualNetworkPeeringVirtualNetworkResponseOutput)
}
-// A common class for general resource information.
-type VirtualNetworkGatewayResponse struct {
- // ActiveActive flag.
- ActiveActive *bool `pulumi:"activeActive"`
- // Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
- AdminState *string `pulumi:"adminState"`
- // Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.
- AllowRemoteVnetTraffic *bool `pulumi:"allowRemoteVnetTraffic"`
- // Configures this gateway to accept traffic from remote Virtual WAN networks.
- AllowVirtualWanTraffic *bool `pulumi:"allowVirtualWanTraffic"`
- // Autoscale configuration for virutal network gateway
- AutoScaleConfiguration *VirtualNetworkGatewayAutoScaleConfigurationResponse `pulumi:"autoScaleConfiguration"`
- // Virtual network gateway's BGP speaker settings.
- BgpSettings *BgpSettingsResponse `pulumi:"bgpSettings"`
- // The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
- CustomRoutes *AddressSpaceResponse `pulumi:"customRoutes"`
- // disableIPSecReplayProtection flag.
- DisableIPSecReplayProtection *bool `pulumi:"disableIPSecReplayProtection"`
- // Whether BGP is enabled for this virtual network gateway or not.
- EnableBgp *bool `pulumi:"enableBgp"`
- // EnableBgpRouteTranslationForNat flag.
- EnableBgpRouteTranslationForNat *bool `pulumi:"enableBgpRouteTranslationForNat"`
- // Whether dns forwarding is enabled or not.
- EnableDnsForwarding *bool `pulumi:"enableDnsForwarding"`
- // Whether private IP needs to be enabled on this gateway for connections or not.
- EnablePrivateIpAddress *bool `pulumi:"enablePrivateIpAddress"`
+// Virtual Network resource.
+type VirtualNetworkResponse struct {
+ // The AddressSpace that contains an array of IP address ranges that can be used by subnets.
+ AddressSpace *AddressSpaceResponse `pulumi:"addressSpace"`
+ // Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
+ BgpCommunities *VirtualNetworkBgpCommunitiesResponse `pulumi:"bgpCommunities"`
+ // The DDoS protection plan associated with the virtual network.
+ DdosProtectionPlan *SubResourceResponse `pulumi:"ddosProtectionPlan"`
+ // A reference to the default public nat gateway being used by this virtual network resource.
+ DefaultPublicNatGateway SubResourceResponse `pulumi:"defaultPublicNatGateway"`
+ // The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
+ DhcpOptions *DhcpOptionsResponse `pulumi:"dhcpOptions"`
+ // Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
+ EnableDdosProtection *bool `pulumi:"enableDdosProtection"`
+ // Indicates if VM protection is enabled for all the subnets in the virtual network.
+ EnableVmProtection *bool `pulumi:"enableVmProtection"`
+ // Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
+ Encryption *VirtualNetworkEncryptionResponse `pulumi:"encryption"`
// A unique read-only string that changes whenever the resource is updated.
Etag string `pulumi:"etag"`
- // The extended location of type local virtual network gateway.
+ // The extended location of the virtual network.
ExtendedLocation *ExtendedLocationResponse `pulumi:"extendedLocation"`
- // The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
- GatewayDefaultSite *SubResourceResponse `pulumi:"gatewayDefaultSite"`
- // The type of this virtual network gateway.
- GatewayType *string `pulumi:"gatewayType"`
+ // A collection of references to flow log resources.
+ FlowLogs []FlowLogServiceGatewayResponse `pulumi:"flowLogs"`
+ // The FlowTimeout value (in minutes) for the Virtual Network
+ FlowTimeoutInMinutes *int `pulumi:"flowTimeoutInMinutes"`
// Resource ID.
Id *string `pulumi:"id"`
- // The identity of the virtual network gateway, if configured.
- Identity *ManagedServiceIdentityResponse `pulumi:"identity"`
- // The IP address allocated by the gateway to which dns requests can be sent.
- InboundDnsForwardingEndpoint string `pulumi:"inboundDnsForwardingEndpoint"`
- // IP configurations for virtual network gateway.
- IpConfigurations []VirtualNetworkGatewayIPConfigurationResponse `pulumi:"ipConfigurations"`
+ // Array of IpAllocation which reference this VNET.
+ IpAllocations []SubResourceResponse `pulumi:"ipAllocations"`
// Resource location.
Location *string `pulumi:"location"`
// Resource name.
Name string `pulumi:"name"`
- // NatRules for virtual network gateway.
- NatRules []VirtualNetworkGatewayNatRuleResponse `pulumi:"natRules"`
- // The provisioning state of the virtual network gateway resource.
+ // Private Endpoint VNet Policies.
+ PrivateEndpointVNetPolicies *string `pulumi:"privateEndpointVNetPolicies"`
+ // The provisioning state of the virtual network resource.
ProvisioningState string `pulumi:"provisioningState"`
- // Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed
- ResiliencyModel *string `pulumi:"resiliencyModel"`
- // The resource GUID property of the virtual network gateway resource.
+ // The resourceGuid property of the Virtual Network resource.
ResourceGuid string `pulumi:"resourceGuid"`
- // The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
- Sku *VirtualNetworkGatewaySkuResponse `pulumi:"sku"`
+ // A list of subnets in a Virtual Network.
+ Subnets []SubnetServiceGatewayResponse `pulumi:"subnets"`
// Resource tags.
Tags map[string]string `pulumi:"tags"`
// Resource type.
Type string `pulumi:"type"`
- // Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
- VNetExtendedLocationResourceId *string `pulumi:"vNetExtendedLocationResourceId"`
- // The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.
- VirtualNetworkGatewayPolicyGroups []VirtualNetworkGatewayPolicyGroupResponse `pulumi:"virtualNetworkGatewayPolicyGroups"`
- // The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
- VpnClientConfiguration *VpnClientConfigurationResponse `pulumi:"vpnClientConfiguration"`
- // The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
- VpnGatewayGeneration *string `pulumi:"vpnGatewayGeneration"`
- // The type of this virtual network gateway.
- VpnType *string `pulumi:"vpnType"`
-}
-
-// A common class for general resource information.
-type VirtualNetworkGatewayResponseOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewayResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewayResponse)(nil)).Elem()
-}
-
-func (o VirtualNetworkGatewayResponseOutput) ToVirtualNetworkGatewayResponseOutput() VirtualNetworkGatewayResponseOutput {
- return o
+ // A list of peerings in a Virtual Network.
+ VirtualNetworkPeerings []VirtualNetworkPeeringResponse `pulumi:"virtualNetworkPeerings"`
}
-func (o VirtualNetworkGatewayResponseOutput) ToVirtualNetworkGatewayResponseOutputWithContext(ctx context.Context) VirtualNetworkGatewayResponseOutput {
- return o
+// Defaults sets the appropriate defaults for VirtualNetworkResponse
+func (val *VirtualNetworkResponse) Defaults() *VirtualNetworkResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ if tmp.EnableDdosProtection == nil {
+ enableDdosProtection_ := false
+ tmp.EnableDdosProtection = &enableDdosProtection_
+ }
+ if tmp.EnableVmProtection == nil {
+ enableVmProtection_ := false
+ tmp.EnableVmProtection = &enableVmProtection_
+ }
+ return &tmp
}
-// ActiveActive flag.
-func (o VirtualNetworkGatewayResponseOutput) ActiveActive() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *bool { return v.ActiveActive }).(pulumi.BoolPtrOutput)
-}
+// Virtual Network resource.
+type VirtualNetworkResponseOutput struct{ *pulumi.OutputState }
-// Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
-func (o VirtualNetworkGatewayResponseOutput) AdminState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *string { return v.AdminState }).(pulumi.StringPtrOutput)
+func (VirtualNetworkResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkResponse)(nil)).Elem()
}
-// Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.
-func (o VirtualNetworkGatewayResponseOutput) AllowRemoteVnetTraffic() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *bool { return v.AllowRemoteVnetTraffic }).(pulumi.BoolPtrOutput)
+func (o VirtualNetworkResponseOutput) ToVirtualNetworkResponseOutput() VirtualNetworkResponseOutput {
+ return o
}
-// Configures this gateway to accept traffic from remote Virtual WAN networks.
-func (o VirtualNetworkGatewayResponseOutput) AllowVirtualWanTraffic() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *bool { return v.AllowVirtualWanTraffic }).(pulumi.BoolPtrOutput)
+func (o VirtualNetworkResponseOutput) ToVirtualNetworkResponseOutputWithContext(ctx context.Context) VirtualNetworkResponseOutput {
+ return o
}
-// Autoscale configuration for virutal network gateway
-func (o VirtualNetworkGatewayResponseOutput) AutoScaleConfiguration() VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *VirtualNetworkGatewayAutoScaleConfigurationResponse {
- return v.AutoScaleConfiguration
- }).(VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput)
+// The AddressSpace that contains an array of IP address ranges that can be used by subnets.
+func (o VirtualNetworkResponseOutput) AddressSpace() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) *AddressSpaceResponse { return v.AddressSpace }).(AddressSpaceResponsePtrOutput)
}
-// Virtual network gateway's BGP speaker settings.
-func (o VirtualNetworkGatewayResponseOutput) BgpSettings() BgpSettingsResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *BgpSettingsResponse { return v.BgpSettings }).(BgpSettingsResponsePtrOutput)
+// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
+func (o VirtualNetworkResponseOutput) BgpCommunities() VirtualNetworkBgpCommunitiesResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) *VirtualNetworkBgpCommunitiesResponse { return v.BgpCommunities }).(VirtualNetworkBgpCommunitiesResponsePtrOutput)
}
-// The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
-func (o VirtualNetworkGatewayResponseOutput) CustomRoutes() AddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *AddressSpaceResponse { return v.CustomRoutes }).(AddressSpaceResponsePtrOutput)
+// The DDoS protection plan associated with the virtual network.
+func (o VirtualNetworkResponseOutput) DdosProtectionPlan() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) *SubResourceResponse { return v.DdosProtectionPlan }).(SubResourceResponsePtrOutput)
}
-// disableIPSecReplayProtection flag.
-func (o VirtualNetworkGatewayResponseOutput) DisableIPSecReplayProtection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *bool { return v.DisableIPSecReplayProtection }).(pulumi.BoolPtrOutput)
+// A reference to the default public nat gateway being used by this virtual network resource.
+func (o VirtualNetworkResponseOutput) DefaultPublicNatGateway() SubResourceResponseOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) SubResourceResponse { return v.DefaultPublicNatGateway }).(SubResourceResponseOutput)
}
-// Whether BGP is enabled for this virtual network gateway or not.
-func (o VirtualNetworkGatewayResponseOutput) EnableBgp() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *bool { return v.EnableBgp }).(pulumi.BoolPtrOutput)
+// The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
+func (o VirtualNetworkResponseOutput) DhcpOptions() DhcpOptionsResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) *DhcpOptionsResponse { return v.DhcpOptions }).(DhcpOptionsResponsePtrOutput)
}
-// EnableBgpRouteTranslationForNat flag.
-func (o VirtualNetworkGatewayResponseOutput) EnableBgpRouteTranslationForNat() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *bool { return v.EnableBgpRouteTranslationForNat }).(pulumi.BoolPtrOutput)
+// Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
+func (o VirtualNetworkResponseOutput) EnableDdosProtection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) *bool { return v.EnableDdosProtection }).(pulumi.BoolPtrOutput)
}
-// Whether dns forwarding is enabled or not.
-func (o VirtualNetworkGatewayResponseOutput) EnableDnsForwarding() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *bool { return v.EnableDnsForwarding }).(pulumi.BoolPtrOutput)
+// Indicates if VM protection is enabled for all the subnets in the virtual network.
+func (o VirtualNetworkResponseOutput) EnableVmProtection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) *bool { return v.EnableVmProtection }).(pulumi.BoolPtrOutput)
}
-// Whether private IP needs to be enabled on this gateway for connections or not.
-func (o VirtualNetworkGatewayResponseOutput) EnablePrivateIpAddress() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *bool { return v.EnablePrivateIpAddress }).(pulumi.BoolPtrOutput)
+// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
+func (o VirtualNetworkResponseOutput) Encryption() VirtualNetworkEncryptionResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) *VirtualNetworkEncryptionResponse { return v.Encryption }).(VirtualNetworkEncryptionResponsePtrOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o VirtualNetworkGatewayResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
-}
-
-// The extended location of type local virtual network gateway.
-func (o VirtualNetworkGatewayResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
-}
-
-// The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
-func (o VirtualNetworkGatewayResponseOutput) GatewayDefaultSite() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *SubResourceResponse { return v.GatewayDefaultSite }).(SubResourceResponsePtrOutput)
-}
-
-// The type of this virtual network gateway.
-func (o VirtualNetworkGatewayResponseOutput) GatewayType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *string { return v.GatewayType }).(pulumi.StringPtrOutput)
-}
-
-// Resource ID.
-func (o VirtualNetworkGatewayResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// The identity of the virtual network gateway, if configured.
-func (o VirtualNetworkGatewayResponseOutput) Identity() ManagedServiceIdentityResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *ManagedServiceIdentityResponse { return v.Identity }).(ManagedServiceIdentityResponsePtrOutput)
-}
-
-// The IP address allocated by the gateway to which dns requests can be sent.
-func (o VirtualNetworkGatewayResponseOutput) InboundDnsForwardingEndpoint() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) string { return v.InboundDnsForwardingEndpoint }).(pulumi.StringOutput)
-}
-
-// IP configurations for virtual network gateway.
-func (o VirtualNetworkGatewayResponseOutput) IpConfigurations() VirtualNetworkGatewayIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) []VirtualNetworkGatewayIPConfigurationResponse {
- return v.IpConfigurations
- }).(VirtualNetworkGatewayIPConfigurationResponseArrayOutput)
-}
-
-// Resource location.
-func (o VirtualNetworkGatewayResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Resource name.
-func (o VirtualNetworkGatewayResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
+// The extended location of the virtual network.
+func (o VirtualNetworkResponseOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) *ExtendedLocationResponse { return v.ExtendedLocation }).(ExtendedLocationResponsePtrOutput)
}
-// NatRules for virtual network gateway.
-func (o VirtualNetworkGatewayResponseOutput) NatRules() VirtualNetworkGatewayNatRuleResponseArrayOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) []VirtualNetworkGatewayNatRuleResponse { return v.NatRules }).(VirtualNetworkGatewayNatRuleResponseArrayOutput)
+// A collection of references to flow log resources.
+func (o VirtualNetworkResponseOutput) FlowLogs() FlowLogServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) []FlowLogServiceGatewayResponse { return v.FlowLogs }).(FlowLogServiceGatewayResponseArrayOutput)
}
-// The provisioning state of the virtual network gateway resource.
-func (o VirtualNetworkGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The FlowTimeout value (in minutes) for the Virtual Network
+func (o VirtualNetworkResponseOutput) FlowTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) *int { return v.FlowTimeoutInMinutes }).(pulumi.IntPtrOutput)
}
-// Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed
-func (o VirtualNetworkGatewayResponseOutput) ResiliencyModel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *string { return v.ResiliencyModel }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o VirtualNetworkResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// The resource GUID property of the virtual network gateway resource.
-func (o VirtualNetworkGatewayResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// Array of IpAllocation which reference this VNET.
+func (o VirtualNetworkResponseOutput) IpAllocations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) []SubResourceResponse { return v.IpAllocations }).(SubResourceResponseArrayOutput)
}
-// The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
-func (o VirtualNetworkGatewayResponseOutput) Sku() VirtualNetworkGatewaySkuResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *VirtualNetworkGatewaySkuResponse { return v.Sku }).(VirtualNetworkGatewaySkuResponsePtrOutput)
+// Resource location.
+func (o VirtualNetworkResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// Resource tags.
-func (o VirtualNetworkGatewayResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// Resource name.
+func (o VirtualNetworkResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// Resource type.
-func (o VirtualNetworkGatewayResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
+// Private Endpoint VNet Policies.
+func (o VirtualNetworkResponseOutput) PrivateEndpointVNetPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) *string { return v.PrivateEndpointVNetPolicies }).(pulumi.StringPtrOutput)
}
-// Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
-func (o VirtualNetworkGatewayResponseOutput) VNetExtendedLocationResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *string { return v.VNetExtendedLocationResourceId }).(pulumi.StringPtrOutput)
+// The provisioning state of the virtual network resource.
+func (o VirtualNetworkResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.
-func (o VirtualNetworkGatewayResponseOutput) VirtualNetworkGatewayPolicyGroups() VirtualNetworkGatewayPolicyGroupResponseArrayOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) []VirtualNetworkGatewayPolicyGroupResponse {
- return v.VirtualNetworkGatewayPolicyGroups
- }).(VirtualNetworkGatewayPolicyGroupResponseArrayOutput)
+// The resourceGuid property of the Virtual Network resource.
+func (o VirtualNetworkResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
-func (o VirtualNetworkGatewayResponseOutput) VpnClientConfiguration() VpnClientConfigurationResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *VpnClientConfigurationResponse { return v.VpnClientConfiguration }).(VpnClientConfigurationResponsePtrOutput)
+// A list of subnets in a Virtual Network.
+func (o VirtualNetworkResponseOutput) Subnets() SubnetServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) []SubnetServiceGatewayResponse { return v.Subnets }).(SubnetServiceGatewayResponseArrayOutput)
}
-// The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
-func (o VirtualNetworkGatewayResponseOutput) VpnGatewayGeneration() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *string { return v.VpnGatewayGeneration }).(pulumi.StringPtrOutput)
+// Resource tags.
+func (o VirtualNetworkResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// The type of this virtual network gateway.
-func (o VirtualNetworkGatewayResponseOutput) VpnType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewayResponse) *string { return v.VpnType }).(pulumi.StringPtrOutput)
+// Resource type.
+func (o VirtualNetworkResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type VirtualNetworkGatewayResponsePtrOutput struct{ *pulumi.OutputState }
+// A list of peerings in a Virtual Network.
+func (o VirtualNetworkResponseOutput) VirtualNetworkPeerings() VirtualNetworkPeeringResponseArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkResponse) []VirtualNetworkPeeringResponse { return v.VirtualNetworkPeerings }).(VirtualNetworkPeeringResponseArrayOutput)
+}
-func (VirtualNetworkGatewayResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkGatewayResponse)(nil)).Elem()
+type VirtualNetworkResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkResponse)(nil)).Elem()
}
-func (o VirtualNetworkGatewayResponsePtrOutput) ToVirtualNetworkGatewayResponsePtrOutput() VirtualNetworkGatewayResponsePtrOutput {
+func (o VirtualNetworkResponsePtrOutput) ToVirtualNetworkResponsePtrOutput() VirtualNetworkResponsePtrOutput {
return o
}
-func (o VirtualNetworkGatewayResponsePtrOutput) ToVirtualNetworkGatewayResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkGatewayResponsePtrOutput {
+func (o VirtualNetworkResponsePtrOutput) ToVirtualNetworkResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkResponsePtrOutput {
return o
}
-func (o VirtualNetworkGatewayResponsePtrOutput) Elem() VirtualNetworkGatewayResponseOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) VirtualNetworkGatewayResponse {
+func (o VirtualNetworkResponsePtrOutput) Elem() VirtualNetworkResponseOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) VirtualNetworkResponse {
if v != nil {
return *v
}
- var ret VirtualNetworkGatewayResponse
+ var ret VirtualNetworkResponse
return ret
- }).(VirtualNetworkGatewayResponseOutput)
-}
-
-// ActiveActive flag.
-func (o VirtualNetworkGatewayResponsePtrOutput) ActiveActive() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *bool {
- if v == nil {
- return nil
- }
- return v.ActiveActive
- }).(pulumi.BoolPtrOutput)
-}
-
-// Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet
-func (o VirtualNetworkGatewayResponsePtrOutput) AdminState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
- if v == nil {
- return nil
- }
- return v.AdminState
- }).(pulumi.StringPtrOutput)
-}
-
-// Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN.
-func (o VirtualNetworkGatewayResponsePtrOutput) AllowRemoteVnetTraffic() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *bool {
- if v == nil {
- return nil
- }
- return v.AllowRemoteVnetTraffic
- }).(pulumi.BoolPtrOutput)
-}
-
-// Configures this gateway to accept traffic from remote Virtual WAN networks.
-func (o VirtualNetworkGatewayResponsePtrOutput) AllowVirtualWanTraffic() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *bool {
- if v == nil {
- return nil
- }
- return v.AllowVirtualWanTraffic
- }).(pulumi.BoolPtrOutput)
+ }).(VirtualNetworkResponseOutput)
}
-// Autoscale configuration for virutal network gateway
-func (o VirtualNetworkGatewayResponsePtrOutput) AutoScaleConfiguration() VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *VirtualNetworkGatewayAutoScaleConfigurationResponse {
+// The AddressSpace that contains an array of IP address ranges that can be used by subnets.
+func (o VirtualNetworkResponsePtrOutput) AddressSpace() AddressSpaceResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *AddressSpaceResponse {
if v == nil {
return nil
}
- return v.AutoScaleConfiguration
- }).(VirtualNetworkGatewayAutoScaleConfigurationResponsePtrOutput)
+ return v.AddressSpace
+ }).(AddressSpaceResponsePtrOutput)
}
-// Virtual network gateway's BGP speaker settings.
-func (o VirtualNetworkGatewayResponsePtrOutput) BgpSettings() BgpSettingsResponsePtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *BgpSettingsResponse {
+// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
+func (o VirtualNetworkResponsePtrOutput) BgpCommunities() VirtualNetworkBgpCommunitiesResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *VirtualNetworkBgpCommunitiesResponse {
if v == nil {
return nil
}
- return v.BgpSettings
- }).(BgpSettingsResponsePtrOutput)
+ return v.BgpCommunities
+ }).(VirtualNetworkBgpCommunitiesResponsePtrOutput)
}
-// The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
-func (o VirtualNetworkGatewayResponsePtrOutput) CustomRoutes() AddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *AddressSpaceResponse {
+// The DDoS protection plan associated with the virtual network.
+func (o VirtualNetworkResponsePtrOutput) DdosProtectionPlan() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *SubResourceResponse {
if v == nil {
return nil
}
- return v.CustomRoutes
- }).(AddressSpaceResponsePtrOutput)
+ return v.DdosProtectionPlan
+ }).(SubResourceResponsePtrOutput)
}
-// disableIPSecReplayProtection flag.
-func (o VirtualNetworkGatewayResponsePtrOutput) DisableIPSecReplayProtection() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *bool {
+// A reference to the default public nat gateway being used by this virtual network resource.
+func (o VirtualNetworkResponsePtrOutput) DefaultPublicNatGateway() SubResourceResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *SubResourceResponse {
if v == nil {
return nil
}
- return v.DisableIPSecReplayProtection
- }).(pulumi.BoolPtrOutput)
+ return &v.DefaultPublicNatGateway
+ }).(SubResourceResponsePtrOutput)
}
-// Whether BGP is enabled for this virtual network gateway or not.
-func (o VirtualNetworkGatewayResponsePtrOutput) EnableBgp() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *bool {
+// The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
+func (o VirtualNetworkResponsePtrOutput) DhcpOptions() DhcpOptionsResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *DhcpOptionsResponse {
if v == nil {
return nil
}
- return v.EnableBgp
- }).(pulumi.BoolPtrOutput)
+ return v.DhcpOptions
+ }).(DhcpOptionsResponsePtrOutput)
}
-// EnableBgpRouteTranslationForNat flag.
-func (o VirtualNetworkGatewayResponsePtrOutput) EnableBgpRouteTranslationForNat() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *bool {
+// Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
+func (o VirtualNetworkResponsePtrOutput) EnableDdosProtection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *bool {
if v == nil {
return nil
}
- return v.EnableBgpRouteTranslationForNat
+ return v.EnableDdosProtection
}).(pulumi.BoolPtrOutput)
}
-// Whether dns forwarding is enabled or not.
-func (o VirtualNetworkGatewayResponsePtrOutput) EnableDnsForwarding() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *bool {
+// Indicates if VM protection is enabled for all the subnets in the virtual network.
+func (o VirtualNetworkResponsePtrOutput) EnableVmProtection() pulumi.BoolPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *bool {
if v == nil {
return nil
}
- return v.EnableDnsForwarding
+ return v.EnableVmProtection
}).(pulumi.BoolPtrOutput)
}
-// Whether private IP needs to be enabled on this gateway for connections or not.
-func (o VirtualNetworkGatewayResponsePtrOutput) EnablePrivateIpAddress() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *bool {
+// Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
+func (o VirtualNetworkResponsePtrOutput) Encryption() VirtualNetworkEncryptionResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *VirtualNetworkEncryptionResponse {
if v == nil {
return nil
}
- return v.EnablePrivateIpAddress
- }).(pulumi.BoolPtrOutput)
+ return v.Encryption
+ }).(VirtualNetworkEncryptionResponsePtrOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o VirtualNetworkGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+func (o VirtualNetworkResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *string {
if v == nil {
return nil
}
@@ -36260,9 +37012,9 @@ func (o VirtualNetworkGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-// The extended location of type local virtual network gateway.
-func (o VirtualNetworkGatewayResponsePtrOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *ExtendedLocationResponse {
+// The extended location of the virtual network.
+func (o VirtualNetworkResponsePtrOutput) ExtendedLocation() ExtendedLocationResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *ExtendedLocationResponse {
if v == nil {
return nil
}
@@ -36270,29 +37022,29 @@ func (o VirtualNetworkGatewayResponsePtrOutput) ExtendedLocation() ExtendedLocat
}).(ExtendedLocationResponsePtrOutput)
}
-// The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
-func (o VirtualNetworkGatewayResponsePtrOutput) GatewayDefaultSite() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *SubResourceResponse {
+// A collection of references to flow log resources.
+func (o VirtualNetworkResponsePtrOutput) FlowLogs() FlowLogServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) []FlowLogServiceGatewayResponse {
if v == nil {
return nil
}
- return v.GatewayDefaultSite
- }).(SubResourceResponsePtrOutput)
+ return v.FlowLogs
+ }).(FlowLogServiceGatewayResponseArrayOutput)
}
-// The type of this virtual network gateway.
-func (o VirtualNetworkGatewayResponsePtrOutput) GatewayType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+// The FlowTimeout value (in minutes) for the Virtual Network
+func (o VirtualNetworkResponsePtrOutput) FlowTimeoutInMinutes() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *int {
if v == nil {
return nil
}
- return v.GatewayType
- }).(pulumi.StringPtrOutput)
+ return v.FlowTimeoutInMinutes
+ }).(pulumi.IntPtrOutput)
}
// Resource ID.
-func (o VirtualNetworkGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+func (o VirtualNetworkResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *string {
if v == nil {
return nil
}
@@ -36300,39 +37052,19 @@ func (o VirtualNetworkGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-// The identity of the virtual network gateway, if configured.
-func (o VirtualNetworkGatewayResponsePtrOutput) Identity() ManagedServiceIdentityResponsePtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *ManagedServiceIdentityResponse {
- if v == nil {
- return nil
- }
- return v.Identity
- }).(ManagedServiceIdentityResponsePtrOutput)
-}
-
-// The IP address allocated by the gateway to which dns requests can be sent.
-func (o VirtualNetworkGatewayResponsePtrOutput) InboundDnsForwardingEndpoint() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
- if v == nil {
- return nil
- }
- return &v.InboundDnsForwardingEndpoint
- }).(pulumi.StringPtrOutput)
-}
-
-// IP configurations for virtual network gateway.
-func (o VirtualNetworkGatewayResponsePtrOutput) IpConfigurations() VirtualNetworkGatewayIPConfigurationResponseArrayOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) []VirtualNetworkGatewayIPConfigurationResponse {
+// Array of IpAllocation which reference this VNET.
+func (o VirtualNetworkResponsePtrOutput) IpAllocations() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) []SubResourceResponse {
if v == nil {
return nil
}
- return v.IpConfigurations
- }).(VirtualNetworkGatewayIPConfigurationResponseArrayOutput)
+ return v.IpAllocations
+ }).(SubResourceResponseArrayOutput)
}
// Resource location.
-func (o VirtualNetworkGatewayResponsePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+func (o VirtualNetworkResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *string {
if v == nil {
return nil
}
@@ -36341,8 +37073,8 @@ func (o VirtualNetworkGatewayResponsePtrOutput) Location() pulumi.StringPtrOutpu
}
// Resource name.
-func (o VirtualNetworkGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+func (o VirtualNetworkResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *string {
if v == nil {
return nil
}
@@ -36350,39 +37082,29 @@ func (o VirtualNetworkGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-// NatRules for virtual network gateway.
-func (o VirtualNetworkGatewayResponsePtrOutput) NatRules() VirtualNetworkGatewayNatRuleResponseArrayOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) []VirtualNetworkGatewayNatRuleResponse {
- if v == nil {
- return nil
- }
- return v.NatRules
- }).(VirtualNetworkGatewayNatRuleResponseArrayOutput)
-}
-
-// The provisioning state of the virtual network gateway resource.
-func (o VirtualNetworkGatewayResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+// Private Endpoint VNet Policies.
+func (o VirtualNetworkResponsePtrOutput) PrivateEndpointVNetPolicies() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *string {
if v == nil {
return nil
}
- return &v.ProvisioningState
+ return v.PrivateEndpointVNetPolicies
}).(pulumi.StringPtrOutput)
}
-// Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed
-func (o VirtualNetworkGatewayResponsePtrOutput) ResiliencyModel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+// The provisioning state of the virtual network resource.
+func (o VirtualNetworkResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *string {
if v == nil {
return nil
}
- return v.ResiliencyModel
+ return &v.ProvisioningState
}).(pulumi.StringPtrOutput)
}
-// The resource GUID property of the virtual network gateway resource.
-func (o VirtualNetworkGatewayResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+// The resourceGuid property of the Virtual Network resource.
+func (o VirtualNetworkResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *string {
if v == nil {
return nil
}
@@ -36390,19 +37112,19 @@ func (o VirtualNetworkGatewayResponsePtrOutput) ResourceGuid() pulumi.StringPtrO
}).(pulumi.StringPtrOutput)
}
-// The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
-func (o VirtualNetworkGatewayResponsePtrOutput) Sku() VirtualNetworkGatewaySkuResponsePtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *VirtualNetworkGatewaySkuResponse {
+// A list of subnets in a Virtual Network.
+func (o VirtualNetworkResponsePtrOutput) Subnets() SubnetServiceGatewayResponseArrayOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) []SubnetServiceGatewayResponse {
if v == nil {
return nil
}
- return v.Sku
- }).(VirtualNetworkGatewaySkuResponsePtrOutput)
+ return v.Subnets
+ }).(SubnetServiceGatewayResponseArrayOutput)
}
// Resource tags.
-func (o VirtualNetworkGatewayResponsePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) map[string]string {
+func (o VirtualNetworkResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) map[string]string {
if v == nil {
return nil
}
@@ -36411,8 +37133,8 @@ func (o VirtualNetworkGatewayResponsePtrOutput) Tags() pulumi.StringMapOutput {
}
// Resource type.
-func (o VirtualNetworkGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
+func (o VirtualNetworkResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) *string {
if v == nil {
return nil
}
@@ -36420,809 +37142,924 @@ func (o VirtualNetworkGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-// Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
-func (o VirtualNetworkGatewayResponsePtrOutput) VNetExtendedLocationResourceId() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
- if v == nil {
- return nil
- }
- return v.VNetExtendedLocationResourceId
- }).(pulumi.StringPtrOutput)
-}
-
-// The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.
-func (o VirtualNetworkGatewayResponsePtrOutput) VirtualNetworkGatewayPolicyGroups() VirtualNetworkGatewayPolicyGroupResponseArrayOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) []VirtualNetworkGatewayPolicyGroupResponse {
+// A list of peerings in a Virtual Network.
+func (o VirtualNetworkResponsePtrOutput) VirtualNetworkPeerings() VirtualNetworkPeeringResponseArrayOutput {
+ return o.ApplyT(func(v *VirtualNetworkResponse) []VirtualNetworkPeeringResponse {
if v == nil {
return nil
}
- return v.VirtualNetworkGatewayPolicyGroups
- }).(VirtualNetworkGatewayPolicyGroupResponseArrayOutput)
+ return v.VirtualNetworkPeerings
+ }).(VirtualNetworkPeeringResponseArrayOutput)
}
-// The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
-func (o VirtualNetworkGatewayResponsePtrOutput) VpnClientConfiguration() VpnClientConfigurationResponsePtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *VpnClientConfigurationResponse {
- if v == nil {
- return nil
- }
- return v.VpnClientConfiguration
- }).(VpnClientConfigurationResponsePtrOutput)
+// Virtual Network Tap resource.
+type VirtualNetworkTapType struct {
+ // The reference to the private IP address on the internal Load Balancer that will receive the tap.
+ DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfiguration `pulumi:"destinationLoadBalancerFrontEndIPConfiguration"`
+ // The reference to the private IP Address of the collector nic that will receive the tap.
+ DestinationNetworkInterfaceIPConfiguration *NetworkInterfaceIPConfiguration `pulumi:"destinationNetworkInterfaceIPConfiguration"`
+ // The VXLAN destination port that will receive the tapped traffic.
+ DestinationPort *int `pulumi:"destinationPort"`
+ // Resource ID.
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
}
-// The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
-func (o VirtualNetworkGatewayResponsePtrOutput) VpnGatewayGeneration() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
- if v == nil {
- return nil
- }
- return v.VpnGatewayGeneration
- }).(pulumi.StringPtrOutput)
-}
+// Defaults sets the appropriate defaults for VirtualNetworkTapType
+func (val *VirtualNetworkTapType) Defaults() *VirtualNetworkTapType {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.DestinationLoadBalancerFrontEndIPConfiguration = tmp.DestinationLoadBalancerFrontEndIPConfiguration.Defaults()
-// The type of this virtual network gateway.
-func (o VirtualNetworkGatewayResponsePtrOutput) VpnType() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewayResponse) *string {
- if v == nil {
- return nil
- }
- return v.VpnType
- }).(pulumi.StringPtrOutput)
-}
+ tmp.DestinationNetworkInterfaceIPConfiguration = tmp.DestinationNetworkInterfaceIPConfiguration.Defaults()
-// VirtualNetworkGatewaySku details.
-type VirtualNetworkGatewaySku struct {
- // Gateway SKU name.
- Name *string `pulumi:"name"`
- // Gateway SKU tier.
- Tier *string `pulumi:"tier"`
+ return &tmp
}
-// VirtualNetworkGatewaySkuInput is an input type that accepts VirtualNetworkGatewaySkuArgs and VirtualNetworkGatewaySkuOutput values.
-// You can construct a concrete instance of `VirtualNetworkGatewaySkuInput` via:
+// VirtualNetworkTapTypeInput is an input type that accepts VirtualNetworkTapTypeArgs and VirtualNetworkTapTypeOutput values.
+// You can construct a concrete instance of `VirtualNetworkTapTypeInput` via:
//
-// VirtualNetworkGatewaySkuArgs{...}
-type VirtualNetworkGatewaySkuInput interface {
+// VirtualNetworkTapTypeArgs{...}
+type VirtualNetworkTapTypeInput interface {
pulumi.Input
- ToVirtualNetworkGatewaySkuOutput() VirtualNetworkGatewaySkuOutput
- ToVirtualNetworkGatewaySkuOutputWithContext(context.Context) VirtualNetworkGatewaySkuOutput
+ ToVirtualNetworkTapTypeOutput() VirtualNetworkTapTypeOutput
+ ToVirtualNetworkTapTypeOutputWithContext(context.Context) VirtualNetworkTapTypeOutput
}
-// VirtualNetworkGatewaySku details.
-type VirtualNetworkGatewaySkuArgs struct {
- // Gateway SKU name.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Gateway SKU tier.
- Tier pulumi.StringPtrInput `pulumi:"tier"`
+// Virtual Network Tap resource.
+type VirtualNetworkTapTypeArgs struct {
+ // The reference to the private IP address on the internal Load Balancer that will receive the tap.
+ DestinationLoadBalancerFrontEndIPConfiguration FrontendIPConfigurationPtrInput `pulumi:"destinationLoadBalancerFrontEndIPConfiguration"`
+ // The reference to the private IP Address of the collector nic that will receive the tap.
+ DestinationNetworkInterfaceIPConfiguration NetworkInterfaceIPConfigurationPtrInput `pulumi:"destinationNetworkInterfaceIPConfiguration"`
+ // The VXLAN destination port that will receive the tapped traffic.
+ DestinationPort pulumi.IntPtrInput `pulumi:"destinationPort"`
+ // Resource ID.
+ Id pulumi.StringPtrInput `pulumi:"id"`
+ // Resource location.
+ Location pulumi.StringPtrInput `pulumi:"location"`
+ // Resource tags.
+ Tags pulumi.StringMapInput `pulumi:"tags"`
}
-func (VirtualNetworkGatewaySkuArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewaySku)(nil)).Elem()
+// Defaults sets the appropriate defaults for VirtualNetworkTapTypeArgs
+func (val *VirtualNetworkTapTypeArgs) Defaults() *VirtualNetworkTapTypeArgs {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+
+ return &tmp
+}
+func (VirtualNetworkTapTypeArgs) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkTapType)(nil)).Elem()
}
-func (i VirtualNetworkGatewaySkuArgs) ToVirtualNetworkGatewaySkuOutput() VirtualNetworkGatewaySkuOutput {
- return i.ToVirtualNetworkGatewaySkuOutputWithContext(context.Background())
+func (i VirtualNetworkTapTypeArgs) ToVirtualNetworkTapTypeOutput() VirtualNetworkTapTypeOutput {
+ return i.ToVirtualNetworkTapTypeOutputWithContext(context.Background())
}
-func (i VirtualNetworkGatewaySkuArgs) ToVirtualNetworkGatewaySkuOutputWithContext(ctx context.Context) VirtualNetworkGatewaySkuOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewaySkuOutput)
+func (i VirtualNetworkTapTypeArgs) ToVirtualNetworkTapTypeOutputWithContext(ctx context.Context) VirtualNetworkTapTypeOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkTapTypeOutput)
}
-func (i VirtualNetworkGatewaySkuArgs) ToVirtualNetworkGatewaySkuPtrOutput() VirtualNetworkGatewaySkuPtrOutput {
- return i.ToVirtualNetworkGatewaySkuPtrOutputWithContext(context.Background())
+func (i VirtualNetworkTapTypeArgs) ToVirtualNetworkTapTypePtrOutput() VirtualNetworkTapTypePtrOutput {
+ return i.ToVirtualNetworkTapTypePtrOutputWithContext(context.Background())
}
-func (i VirtualNetworkGatewaySkuArgs) ToVirtualNetworkGatewaySkuPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewaySkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewaySkuOutput).ToVirtualNetworkGatewaySkuPtrOutputWithContext(ctx)
+func (i VirtualNetworkTapTypeArgs) ToVirtualNetworkTapTypePtrOutputWithContext(ctx context.Context) VirtualNetworkTapTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkTapTypeOutput).ToVirtualNetworkTapTypePtrOutputWithContext(ctx)
}
-// VirtualNetworkGatewaySkuPtrInput is an input type that accepts VirtualNetworkGatewaySkuArgs, VirtualNetworkGatewaySkuPtr and VirtualNetworkGatewaySkuPtrOutput values.
-// You can construct a concrete instance of `VirtualNetworkGatewaySkuPtrInput` via:
+// VirtualNetworkTapTypePtrInput is an input type that accepts VirtualNetworkTapTypeArgs, VirtualNetworkTapTypePtr and VirtualNetworkTapTypePtrOutput values.
+// You can construct a concrete instance of `VirtualNetworkTapTypePtrInput` via:
//
-// VirtualNetworkGatewaySkuArgs{...}
+// VirtualNetworkTapTypeArgs{...}
//
// or:
//
// nil
-type VirtualNetworkGatewaySkuPtrInput interface {
+type VirtualNetworkTapTypePtrInput interface {
pulumi.Input
- ToVirtualNetworkGatewaySkuPtrOutput() VirtualNetworkGatewaySkuPtrOutput
- ToVirtualNetworkGatewaySkuPtrOutputWithContext(context.Context) VirtualNetworkGatewaySkuPtrOutput
+ ToVirtualNetworkTapTypePtrOutput() VirtualNetworkTapTypePtrOutput
+ ToVirtualNetworkTapTypePtrOutputWithContext(context.Context) VirtualNetworkTapTypePtrOutput
}
-type virtualNetworkGatewaySkuPtrType VirtualNetworkGatewaySkuArgs
-
-func VirtualNetworkGatewaySkuPtr(v *VirtualNetworkGatewaySkuArgs) VirtualNetworkGatewaySkuPtrInput {
- return (*virtualNetworkGatewaySkuPtrType)(v)
-}
+type virtualNetworkTapTypePtrType VirtualNetworkTapTypeArgs
-func (*virtualNetworkGatewaySkuPtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkGatewaySku)(nil)).Elem()
+func VirtualNetworkTapTypePtr(v *VirtualNetworkTapTypeArgs) VirtualNetworkTapTypePtrInput {
+ return (*virtualNetworkTapTypePtrType)(v)
}
-func (i *virtualNetworkGatewaySkuPtrType) ToVirtualNetworkGatewaySkuPtrOutput() VirtualNetworkGatewaySkuPtrOutput {
- return i.ToVirtualNetworkGatewaySkuPtrOutputWithContext(context.Background())
+func (*virtualNetworkTapTypePtrType) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkTapType)(nil)).Elem()
}
-func (i *virtualNetworkGatewaySkuPtrType) ToVirtualNetworkGatewaySkuPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewaySkuPtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkGatewaySkuPtrOutput)
+func (i *virtualNetworkTapTypePtrType) ToVirtualNetworkTapTypePtrOutput() VirtualNetworkTapTypePtrOutput {
+ return i.ToVirtualNetworkTapTypePtrOutputWithContext(context.Background())
}
-// VirtualNetworkGatewaySku details.
-type VirtualNetworkGatewaySkuOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewaySkuOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewaySku)(nil)).Elem()
+func (i *virtualNetworkTapTypePtrType) ToVirtualNetworkTapTypePtrOutputWithContext(ctx context.Context) VirtualNetworkTapTypePtrOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkTapTypePtrOutput)
}
-func (o VirtualNetworkGatewaySkuOutput) ToVirtualNetworkGatewaySkuOutput() VirtualNetworkGatewaySkuOutput {
- return o
-}
+// VirtualNetworkTapTypeArrayInput is an input type that accepts VirtualNetworkTapTypeArray and VirtualNetworkTapTypeArrayOutput values.
+// You can construct a concrete instance of `VirtualNetworkTapTypeArrayInput` via:
+//
+// VirtualNetworkTapTypeArray{ VirtualNetworkTapTypeArgs{...} }
+type VirtualNetworkTapTypeArrayInput interface {
+ pulumi.Input
-func (o VirtualNetworkGatewaySkuOutput) ToVirtualNetworkGatewaySkuOutputWithContext(ctx context.Context) VirtualNetworkGatewaySkuOutput {
- return o
+ ToVirtualNetworkTapTypeArrayOutput() VirtualNetworkTapTypeArrayOutput
+ ToVirtualNetworkTapTypeArrayOutputWithContext(context.Context) VirtualNetworkTapTypeArrayOutput
}
-func (o VirtualNetworkGatewaySkuOutput) ToVirtualNetworkGatewaySkuPtrOutput() VirtualNetworkGatewaySkuPtrOutput {
- return o.ToVirtualNetworkGatewaySkuPtrOutputWithContext(context.Background())
-}
+type VirtualNetworkTapTypeArray []VirtualNetworkTapTypeInput
-func (o VirtualNetworkGatewaySkuOutput) ToVirtualNetworkGatewaySkuPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewaySkuPtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualNetworkGatewaySku) *VirtualNetworkGatewaySku {
- return &v
- }).(VirtualNetworkGatewaySkuPtrOutput)
+func (VirtualNetworkTapTypeArray) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkTapType)(nil)).Elem()
}
-// Gateway SKU name.
-func (o VirtualNetworkGatewaySkuOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewaySku) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (i VirtualNetworkTapTypeArray) ToVirtualNetworkTapTypeArrayOutput() VirtualNetworkTapTypeArrayOutput {
+ return i.ToVirtualNetworkTapTypeArrayOutputWithContext(context.Background())
}
-// Gateway SKU tier.
-func (o VirtualNetworkGatewaySkuOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewaySku) *string { return v.Tier }).(pulumi.StringPtrOutput)
+func (i VirtualNetworkTapTypeArray) ToVirtualNetworkTapTypeArrayOutputWithContext(ctx context.Context) VirtualNetworkTapTypeArrayOutput {
+ return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkTapTypeArrayOutput)
}
-type VirtualNetworkGatewaySkuPtrOutput struct{ *pulumi.OutputState }
+// Virtual Network Tap resource.
+type VirtualNetworkTapTypeOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkGatewaySkuPtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkGatewaySku)(nil)).Elem()
+func (VirtualNetworkTapTypeOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkTapType)(nil)).Elem()
}
-func (o VirtualNetworkGatewaySkuPtrOutput) ToVirtualNetworkGatewaySkuPtrOutput() VirtualNetworkGatewaySkuPtrOutput {
+func (o VirtualNetworkTapTypeOutput) ToVirtualNetworkTapTypeOutput() VirtualNetworkTapTypeOutput {
return o
}
-func (o VirtualNetworkGatewaySkuPtrOutput) ToVirtualNetworkGatewaySkuPtrOutputWithContext(ctx context.Context) VirtualNetworkGatewaySkuPtrOutput {
+func (o VirtualNetworkTapTypeOutput) ToVirtualNetworkTapTypeOutputWithContext(ctx context.Context) VirtualNetworkTapTypeOutput {
return o
}
-func (o VirtualNetworkGatewaySkuPtrOutput) Elem() VirtualNetworkGatewaySkuOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewaySku) VirtualNetworkGatewaySku {
- if v != nil {
- return *v
- }
- var ret VirtualNetworkGatewaySku
- return ret
- }).(VirtualNetworkGatewaySkuOutput)
-}
-
-// Gateway SKU name.
-func (o VirtualNetworkGatewaySkuPtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewaySku) *string {
- if v == nil {
- return nil
- }
- return v.Name
- }).(pulumi.StringPtrOutput)
-}
-
-// Gateway SKU tier.
-func (o VirtualNetworkGatewaySkuPtrOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewaySku) *string {
- if v == nil {
- return nil
- }
- return v.Tier
- }).(pulumi.StringPtrOutput)
-}
-
-// VirtualNetworkGatewaySku details.
-type VirtualNetworkGatewaySkuResponse struct {
- // The capacity.
- Capacity int `pulumi:"capacity"`
- // Gateway SKU name.
- Name *string `pulumi:"name"`
- // Gateway SKU tier.
- Tier *string `pulumi:"tier"`
+func (o VirtualNetworkTapTypeOutput) ToVirtualNetworkTapTypePtrOutput() VirtualNetworkTapTypePtrOutput {
+ return o.ToVirtualNetworkTapTypePtrOutputWithContext(context.Background())
}
-// VirtualNetworkGatewaySku details.
-type VirtualNetworkGatewaySkuResponseOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkGatewaySkuResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkGatewaySkuResponse)(nil)).Elem()
+func (o VirtualNetworkTapTypeOutput) ToVirtualNetworkTapTypePtrOutputWithContext(ctx context.Context) VirtualNetworkTapTypePtrOutput {
+ return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualNetworkTapType) *VirtualNetworkTapType {
+ return &v
+ }).(VirtualNetworkTapTypePtrOutput)
}
-func (o VirtualNetworkGatewaySkuResponseOutput) ToVirtualNetworkGatewaySkuResponseOutput() VirtualNetworkGatewaySkuResponseOutput {
- return o
+// The reference to the private IP address on the internal Load Balancer that will receive the tap.
+func (o VirtualNetworkTapTypeOutput) DestinationLoadBalancerFrontEndIPConfiguration() FrontendIPConfigurationPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapType) *FrontendIPConfiguration {
+ return v.DestinationLoadBalancerFrontEndIPConfiguration
+ }).(FrontendIPConfigurationPtrOutput)
}
-func (o VirtualNetworkGatewaySkuResponseOutput) ToVirtualNetworkGatewaySkuResponseOutputWithContext(ctx context.Context) VirtualNetworkGatewaySkuResponseOutput {
- return o
+// The reference to the private IP Address of the collector nic that will receive the tap.
+func (o VirtualNetworkTapTypeOutput) DestinationNetworkInterfaceIPConfiguration() NetworkInterfaceIPConfigurationPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapType) *NetworkInterfaceIPConfiguration {
+ return v.DestinationNetworkInterfaceIPConfiguration
+ }).(NetworkInterfaceIPConfigurationPtrOutput)
}
-// The capacity.
-func (o VirtualNetworkGatewaySkuResponseOutput) Capacity() pulumi.IntOutput {
- return o.ApplyT(func(v VirtualNetworkGatewaySkuResponse) int { return v.Capacity }).(pulumi.IntOutput)
+// The VXLAN destination port that will receive the tapped traffic.
+func (o VirtualNetworkTapTypeOutput) DestinationPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapType) *int { return v.DestinationPort }).(pulumi.IntPtrOutput)
}
-// Gateway SKU name.
-func (o VirtualNetworkGatewaySkuResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewaySkuResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o VirtualNetworkTapTypeOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapType) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// Gateway SKU tier.
-func (o VirtualNetworkGatewaySkuResponseOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkGatewaySkuResponse) *string { return v.Tier }).(pulumi.StringPtrOutput)
+// Resource location.
+func (o VirtualNetworkTapTypeOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapType) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-type VirtualNetworkGatewaySkuResponsePtrOutput struct{ *pulumi.OutputState }
+// Resource tags.
+func (o VirtualNetworkTapTypeOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v VirtualNetworkTapType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+}
-func (VirtualNetworkGatewaySkuResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkGatewaySkuResponse)(nil)).Elem()
+type VirtualNetworkTapTypePtrOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkTapTypePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkTapType)(nil)).Elem()
}
-func (o VirtualNetworkGatewaySkuResponsePtrOutput) ToVirtualNetworkGatewaySkuResponsePtrOutput() VirtualNetworkGatewaySkuResponsePtrOutput {
+func (o VirtualNetworkTapTypePtrOutput) ToVirtualNetworkTapTypePtrOutput() VirtualNetworkTapTypePtrOutput {
return o
}
-func (o VirtualNetworkGatewaySkuResponsePtrOutput) ToVirtualNetworkGatewaySkuResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkGatewaySkuResponsePtrOutput {
+func (o VirtualNetworkTapTypePtrOutput) ToVirtualNetworkTapTypePtrOutputWithContext(ctx context.Context) VirtualNetworkTapTypePtrOutput {
return o
}
-func (o VirtualNetworkGatewaySkuResponsePtrOutput) Elem() VirtualNetworkGatewaySkuResponseOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewaySkuResponse) VirtualNetworkGatewaySkuResponse {
+func (o VirtualNetworkTapTypePtrOutput) Elem() VirtualNetworkTapTypeOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapType) VirtualNetworkTapType {
if v != nil {
return *v
}
- var ret VirtualNetworkGatewaySkuResponse
+ var ret VirtualNetworkTapType
return ret
- }).(VirtualNetworkGatewaySkuResponseOutput)
+ }).(VirtualNetworkTapTypeOutput)
}
-// The capacity.
-func (o VirtualNetworkGatewaySkuResponsePtrOutput) Capacity() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewaySkuResponse) *int {
+// The reference to the private IP address on the internal Load Balancer that will receive the tap.
+func (o VirtualNetworkTapTypePtrOutput) DestinationLoadBalancerFrontEndIPConfiguration() FrontendIPConfigurationPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapType) *FrontendIPConfiguration {
if v == nil {
return nil
}
- return &v.Capacity
+ return v.DestinationLoadBalancerFrontEndIPConfiguration
+ }).(FrontendIPConfigurationPtrOutput)
+}
+
+// The reference to the private IP Address of the collector nic that will receive the tap.
+func (o VirtualNetworkTapTypePtrOutput) DestinationNetworkInterfaceIPConfiguration() NetworkInterfaceIPConfigurationPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapType) *NetworkInterfaceIPConfiguration {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationNetworkInterfaceIPConfiguration
+ }).(NetworkInterfaceIPConfigurationPtrOutput)
+}
+
+// The VXLAN destination port that will receive the tapped traffic.
+func (o VirtualNetworkTapTypePtrOutput) DestinationPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapType) *int {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationPort
}).(pulumi.IntPtrOutput)
}
-// Gateway SKU name.
-func (o VirtualNetworkGatewaySkuResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewaySkuResponse) *string {
+// Resource ID.
+func (o VirtualNetworkTapTypePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapType) *string {
if v == nil {
return nil
}
- return v.Name
+ return v.Id
}).(pulumi.StringPtrOutput)
}
-// Gateway SKU tier.
-func (o VirtualNetworkGatewaySkuResponsePtrOutput) Tier() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkGatewaySkuResponse) *string {
+// Resource location.
+func (o VirtualNetworkTapTypePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapType) *string {
if v == nil {
return nil
}
- return v.Tier
+ return v.Location
}).(pulumi.StringPtrOutput)
}
-// Peerings in a virtual network resource.
-type VirtualNetworkPeeringType struct {
- // Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
- AllowForwardedTraffic *bool `pulumi:"allowForwardedTraffic"`
- // If gateway links can be used in remote virtual networking to link to this virtual network.
- AllowGatewayTransit *bool `pulumi:"allowGatewayTransit"`
- // Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
- AllowVirtualNetworkAccess *bool `pulumi:"allowVirtualNetworkAccess"`
- // If we need to verify the provisioning state of the remote gateway.
- DoNotVerifyRemoteGateways *bool `pulumi:"doNotVerifyRemoteGateways"`
- // Whether only Ipv6 address space is peered for subnet peering.
- EnableOnlyIPv6Peering *bool `pulumi:"enableOnlyIPv6Peering"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // The local address space of the local virtual network that is peered.
- LocalAddressSpace *AddressSpace `pulumi:"localAddressSpace"`
- // List of local subnet names that are subnet peered with remote virtual network.
- LocalSubnetNames []string `pulumi:"localSubnetNames"`
- // The current local address space of the local virtual network that is peered.
- LocalVirtualNetworkAddressSpace *AddressSpace `pulumi:"localVirtualNetworkAddressSpace"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // Whether complete virtual network address space is peered.
- PeerCompleteVnets *bool `pulumi:"peerCompleteVnets"`
- // The status of the virtual network peering.
- PeeringState *string `pulumi:"peeringState"`
- // The peering sync status of the virtual network peering.
- PeeringSyncLevel *string `pulumi:"peeringSyncLevel"`
- // The reference to the address space peered with the remote virtual network.
- RemoteAddressSpace *AddressSpace `pulumi:"remoteAddressSpace"`
- // The reference to the remote virtual network's Bgp Communities.
- RemoteBgpCommunities *VirtualNetworkBgpCommunities `pulumi:"remoteBgpCommunities"`
- // List of remote subnet names from remote virtual network that are subnet peered.
- RemoteSubnetNames []string `pulumi:"remoteSubnetNames"`
- // The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
- RemoteVirtualNetwork *SubResource `pulumi:"remoteVirtualNetwork"`
- // The reference to the current address space of the remote virtual network.
- RemoteVirtualNetworkAddressSpace *AddressSpace `pulumi:"remoteVirtualNetworkAddressSpace"`
- // Resource type.
- Type *string `pulumi:"type"`
- // If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
- UseRemoteGateways *bool `pulumi:"useRemoteGateways"`
+// Resource tags.
+func (o VirtualNetworkTapTypePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapType) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-// VirtualNetworkPeeringTypeInput is an input type that accepts VirtualNetworkPeeringTypeArgs and VirtualNetworkPeeringTypeOutput values.
-// You can construct a concrete instance of `VirtualNetworkPeeringTypeInput` via:
-//
-// VirtualNetworkPeeringTypeArgs{...}
-type VirtualNetworkPeeringTypeInput interface {
- pulumi.Input
+type VirtualNetworkTapTypeArrayOutput struct{ *pulumi.OutputState }
- ToVirtualNetworkPeeringTypeOutput() VirtualNetworkPeeringTypeOutput
- ToVirtualNetworkPeeringTypeOutputWithContext(context.Context) VirtualNetworkPeeringTypeOutput
+func (VirtualNetworkTapTypeArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkTapType)(nil)).Elem()
}
-// Peerings in a virtual network resource.
-type VirtualNetworkPeeringTypeArgs struct {
- // Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
- AllowForwardedTraffic pulumi.BoolPtrInput `pulumi:"allowForwardedTraffic"`
- // If gateway links can be used in remote virtual networking to link to this virtual network.
- AllowGatewayTransit pulumi.BoolPtrInput `pulumi:"allowGatewayTransit"`
- // Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
- AllowVirtualNetworkAccess pulumi.BoolPtrInput `pulumi:"allowVirtualNetworkAccess"`
- // If we need to verify the provisioning state of the remote gateway.
- DoNotVerifyRemoteGateways pulumi.BoolPtrInput `pulumi:"doNotVerifyRemoteGateways"`
- // Whether only Ipv6 address space is peered for subnet peering.
- EnableOnlyIPv6Peering pulumi.BoolPtrInput `pulumi:"enableOnlyIPv6Peering"`
+func (o VirtualNetworkTapTypeArrayOutput) ToVirtualNetworkTapTypeArrayOutput() VirtualNetworkTapTypeArrayOutput {
+ return o
+}
+
+func (o VirtualNetworkTapTypeArrayOutput) ToVirtualNetworkTapTypeArrayOutputWithContext(ctx context.Context) VirtualNetworkTapTypeArrayOutput {
+ return o
+}
+
+func (o VirtualNetworkTapTypeArrayOutput) Index(i pulumi.IntInput) VirtualNetworkTapTypeOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkTapType {
+ return vs[0].([]VirtualNetworkTapType)[vs[1].(int)]
+ }).(VirtualNetworkTapTypeOutput)
+}
+
+// Virtual Network Tap resource
+type VirtualNetworkTapInterfaceEndpointResponse struct {
+ // The reference to the private IP address on the internal Load Balancer that will receive the tap
+ DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfigurationInterfaceEndpointResponse `pulumi:"destinationLoadBalancerFrontEndIPConfiguration"`
+ // The reference to the private IP Address of the collector nic that will receive the tap
+ DestinationNetworkInterfaceIPConfiguration *NetworkInterfaceIPConfigurationResponse `pulumi:"destinationNetworkInterfaceIPConfiguration"`
+ // The VXLAN destination port that will receive the tapped traffic.
+ DestinationPort *int `pulumi:"destinationPort"`
+ // Gets a unique read-only string that changes whenever the resource is updated.
+ Etag *string `pulumi:"etag"`
// Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // The local address space of the local virtual network that is peered.
- LocalAddressSpace AddressSpacePtrInput `pulumi:"localAddressSpace"`
- // List of local subnet names that are subnet peered with remote virtual network.
- LocalSubnetNames pulumi.StringArrayInput `pulumi:"localSubnetNames"`
- // The current local address space of the local virtual network that is peered.
- LocalVirtualNetworkAddressSpace AddressSpacePtrInput `pulumi:"localVirtualNetworkAddressSpace"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name pulumi.StringPtrInput `pulumi:"name"`
- // Whether complete virtual network address space is peered.
- PeerCompleteVnets pulumi.BoolPtrInput `pulumi:"peerCompleteVnets"`
- // The status of the virtual network peering.
- PeeringState pulumi.StringPtrInput `pulumi:"peeringState"`
- // The peering sync status of the virtual network peering.
- PeeringSyncLevel pulumi.StringPtrInput `pulumi:"peeringSyncLevel"`
- // The reference to the address space peered with the remote virtual network.
- RemoteAddressSpace AddressSpacePtrInput `pulumi:"remoteAddressSpace"`
- // The reference to the remote virtual network's Bgp Communities.
- RemoteBgpCommunities VirtualNetworkBgpCommunitiesPtrInput `pulumi:"remoteBgpCommunities"`
- // List of remote subnet names from remote virtual network that are subnet peered.
- RemoteSubnetNames pulumi.StringArrayInput `pulumi:"remoteSubnetNames"`
- // The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
- RemoteVirtualNetwork SubResourcePtrInput `pulumi:"remoteVirtualNetwork"`
- // The reference to the current address space of the remote virtual network.
- RemoteVirtualNetworkAddressSpace AddressSpacePtrInput `pulumi:"remoteVirtualNetworkAddressSpace"`
+ Id *string `pulumi:"id"`
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
+ NetworkInterfaceTapConfigurations []NetworkInterfaceTapConfigurationInterfaceEndpointResponse `pulumi:"networkInterfaceTapConfigurations"`
+ // The provisioning state of the virtual network tap. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The resourceGuid property of the virtual network tap.
+ ResourceGuid string `pulumi:"resourceGuid"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
// Resource type.
- Type pulumi.StringPtrInput `pulumi:"type"`
- // If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
- UseRemoteGateways pulumi.BoolPtrInput `pulumi:"useRemoteGateways"`
+ Type string `pulumi:"type"`
}
-func (VirtualNetworkPeeringTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkPeeringType)(nil)).Elem()
-}
+// Defaults sets the appropriate defaults for VirtualNetworkTapInterfaceEndpointResponse
+func (val *VirtualNetworkTapInterfaceEndpointResponse) Defaults() *VirtualNetworkTapInterfaceEndpointResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.DestinationLoadBalancerFrontEndIPConfiguration = tmp.DestinationLoadBalancerFrontEndIPConfiguration.Defaults()
-func (i VirtualNetworkPeeringTypeArgs) ToVirtualNetworkPeeringTypeOutput() VirtualNetworkPeeringTypeOutput {
- return i.ToVirtualNetworkPeeringTypeOutputWithContext(context.Background())
+ tmp.DestinationNetworkInterfaceIPConfiguration = tmp.DestinationNetworkInterfaceIPConfiguration.Defaults()
+
+ return &tmp
}
-func (i VirtualNetworkPeeringTypeArgs) ToVirtualNetworkPeeringTypeOutputWithContext(ctx context.Context) VirtualNetworkPeeringTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkPeeringTypeOutput)
+// Virtual Network Tap resource
+type VirtualNetworkTapInterfaceEndpointResponseOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkTapInterfaceEndpointResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkTapInterfaceEndpointResponse)(nil)).Elem()
}
-// VirtualNetworkPeeringTypeArrayInput is an input type that accepts VirtualNetworkPeeringTypeArray and VirtualNetworkPeeringTypeArrayOutput values.
-// You can construct a concrete instance of `VirtualNetworkPeeringTypeArrayInput` via:
-//
-// VirtualNetworkPeeringTypeArray{ VirtualNetworkPeeringTypeArgs{...} }
-type VirtualNetworkPeeringTypeArrayInput interface {
- pulumi.Input
+func (o VirtualNetworkTapInterfaceEndpointResponseOutput) ToVirtualNetworkTapInterfaceEndpointResponseOutput() VirtualNetworkTapInterfaceEndpointResponseOutput {
+ return o
+}
- ToVirtualNetworkPeeringTypeArrayOutput() VirtualNetworkPeeringTypeArrayOutput
- ToVirtualNetworkPeeringTypeArrayOutputWithContext(context.Context) VirtualNetworkPeeringTypeArrayOutput
+func (o VirtualNetworkTapInterfaceEndpointResponseOutput) ToVirtualNetworkTapInterfaceEndpointResponseOutputWithContext(ctx context.Context) VirtualNetworkTapInterfaceEndpointResponseOutput {
+ return o
}
-type VirtualNetworkPeeringTypeArray []VirtualNetworkPeeringTypeInput
+// The reference to the private IP address on the internal Load Balancer that will receive the tap
+func (o VirtualNetworkTapInterfaceEndpointResponseOutput) DestinationLoadBalancerFrontEndIPConfiguration() FrontendIPConfigurationInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapInterfaceEndpointResponse) *FrontendIPConfigurationInterfaceEndpointResponse {
+ return v.DestinationLoadBalancerFrontEndIPConfiguration
+ }).(FrontendIPConfigurationInterfaceEndpointResponsePtrOutput)
+}
-func (VirtualNetworkPeeringTypeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkPeeringType)(nil)).Elem()
+// The reference to the private IP Address of the collector nic that will receive the tap
+func (o VirtualNetworkTapInterfaceEndpointResponseOutput) DestinationNetworkInterfaceIPConfiguration() NetworkInterfaceIPConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapInterfaceEndpointResponse) *NetworkInterfaceIPConfigurationResponse {
+ return v.DestinationNetworkInterfaceIPConfiguration
+ }).(NetworkInterfaceIPConfigurationResponsePtrOutput)
}
-func (i VirtualNetworkPeeringTypeArray) ToVirtualNetworkPeeringTypeArrayOutput() VirtualNetworkPeeringTypeArrayOutput {
- return i.ToVirtualNetworkPeeringTypeArrayOutputWithContext(context.Background())
+// The VXLAN destination port that will receive the tapped traffic.
+func (o VirtualNetworkTapInterfaceEndpointResponseOutput) DestinationPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapInterfaceEndpointResponse) *int { return v.DestinationPort }).(pulumi.IntPtrOutput)
}
-func (i VirtualNetworkPeeringTypeArray) ToVirtualNetworkPeeringTypeArrayOutputWithContext(ctx context.Context) VirtualNetworkPeeringTypeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkPeeringTypeArrayOutput)
+// Gets a unique read-only string that changes whenever the resource is updated.
+func (o VirtualNetworkTapInterfaceEndpointResponseOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapInterfaceEndpointResponse) *string { return v.Etag }).(pulumi.StringPtrOutput)
}
-// Peerings in a virtual network resource.
-type VirtualNetworkPeeringTypeOutput struct{ *pulumi.OutputState }
+// Resource ID.
+func (o VirtualNetworkTapInterfaceEndpointResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapInterfaceEndpointResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+}
-func (VirtualNetworkPeeringTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkPeeringType)(nil)).Elem()
+// Resource location.
+func (o VirtualNetworkTapInterfaceEndpointResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapInterfaceEndpointResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkPeeringTypeOutput) ToVirtualNetworkPeeringTypeOutput() VirtualNetworkPeeringTypeOutput {
- return o
+// Resource name.
+func (o VirtualNetworkTapInterfaceEndpointResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapInterfaceEndpointResponse) string { return v.Name }).(pulumi.StringOutput)
}
-func (o VirtualNetworkPeeringTypeOutput) ToVirtualNetworkPeeringTypeOutputWithContext(ctx context.Context) VirtualNetworkPeeringTypeOutput {
- return o
+// Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
+func (o VirtualNetworkTapInterfaceEndpointResponseOutput) NetworkInterfaceTapConfigurations() NetworkInterfaceTapConfigurationInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkTapInterfaceEndpointResponse) []NetworkInterfaceTapConfigurationInterfaceEndpointResponse {
+ return v.NetworkInterfaceTapConfigurations
+ }).(NetworkInterfaceTapConfigurationInterfaceEndpointResponseArrayOutput)
}
-// Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
-func (o VirtualNetworkPeeringTypeOutput) AllowForwardedTraffic() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *bool { return v.AllowForwardedTraffic }).(pulumi.BoolPtrOutput)
+// The provisioning state of the virtual network tap. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o VirtualNetworkTapInterfaceEndpointResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapInterfaceEndpointResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// If gateway links can be used in remote virtual networking to link to this virtual network.
-func (o VirtualNetworkPeeringTypeOutput) AllowGatewayTransit() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *bool { return v.AllowGatewayTransit }).(pulumi.BoolPtrOutput)
+// The resourceGuid property of the virtual network tap.
+func (o VirtualNetworkTapInterfaceEndpointResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapInterfaceEndpointResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
-func (o VirtualNetworkPeeringTypeOutput) AllowVirtualNetworkAccess() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *bool { return v.AllowVirtualNetworkAccess }).(pulumi.BoolPtrOutput)
+// Resource tags.
+func (o VirtualNetworkTapInterfaceEndpointResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v VirtualNetworkTapInterfaceEndpointResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// If we need to verify the provisioning state of the remote gateway.
-func (o VirtualNetworkPeeringTypeOutput) DoNotVerifyRemoteGateways() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *bool { return v.DoNotVerifyRemoteGateways }).(pulumi.BoolPtrOutput)
+// Resource type.
+func (o VirtualNetworkTapInterfaceEndpointResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapInterfaceEndpointResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// Whether only Ipv6 address space is peered for subnet peering.
-func (o VirtualNetworkPeeringTypeOutput) EnableOnlyIPv6Peering() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *bool { return v.EnableOnlyIPv6Peering }).(pulumi.BoolPtrOutput)
+type VirtualNetworkTapInterfaceEndpointResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkTapInterfaceEndpointResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkTapInterfaceEndpointResponse)(nil)).Elem()
}
-// Resource ID.
-func (o VirtualNetworkPeeringTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkTapInterfaceEndpointResponsePtrOutput) ToVirtualNetworkTapInterfaceEndpointResponsePtrOutput() VirtualNetworkTapInterfaceEndpointResponsePtrOutput {
+ return o
}
-// The local address space of the local virtual network that is peered.
-func (o VirtualNetworkPeeringTypeOutput) LocalAddressSpace() AddressSpacePtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *AddressSpace { return v.LocalAddressSpace }).(AddressSpacePtrOutput)
+func (o VirtualNetworkTapInterfaceEndpointResponsePtrOutput) ToVirtualNetworkTapInterfaceEndpointResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkTapInterfaceEndpointResponsePtrOutput {
+ return o
}
-// List of local subnet names that are subnet peered with remote virtual network.
-func (o VirtualNetworkPeeringTypeOutput) LocalSubnetNames() pulumi.StringArrayOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) []string { return v.LocalSubnetNames }).(pulumi.StringArrayOutput)
+func (o VirtualNetworkTapInterfaceEndpointResponsePtrOutput) Elem() VirtualNetworkTapInterfaceEndpointResponseOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapInterfaceEndpointResponse) VirtualNetworkTapInterfaceEndpointResponse {
+ if v != nil {
+ return *v
+ }
+ var ret VirtualNetworkTapInterfaceEndpointResponse
+ return ret
+ }).(VirtualNetworkTapInterfaceEndpointResponseOutput)
}
-// The current local address space of the local virtual network that is peered.
-func (o VirtualNetworkPeeringTypeOutput) LocalVirtualNetworkAddressSpace() AddressSpacePtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *AddressSpace { return v.LocalVirtualNetworkAddressSpace }).(AddressSpacePtrOutput)
+// The reference to the private IP address on the internal Load Balancer that will receive the tap
+func (o VirtualNetworkTapInterfaceEndpointResponsePtrOutput) DestinationLoadBalancerFrontEndIPConfiguration() FrontendIPConfigurationInterfaceEndpointResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapInterfaceEndpointResponse) *FrontendIPConfigurationInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationLoadBalancerFrontEndIPConfiguration
+ }).(FrontendIPConfigurationInterfaceEndpointResponsePtrOutput)
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o VirtualNetworkPeeringTypeOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *string { return v.Name }).(pulumi.StringPtrOutput)
+// The reference to the private IP Address of the collector nic that will receive the tap
+func (o VirtualNetworkTapInterfaceEndpointResponsePtrOutput) DestinationNetworkInterfaceIPConfiguration() NetworkInterfaceIPConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapInterfaceEndpointResponse) *NetworkInterfaceIPConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationNetworkInterfaceIPConfiguration
+ }).(NetworkInterfaceIPConfigurationResponsePtrOutput)
}
-// Whether complete virtual network address space is peered.
-func (o VirtualNetworkPeeringTypeOutput) PeerCompleteVnets() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *bool { return v.PeerCompleteVnets }).(pulumi.BoolPtrOutput)
+// The VXLAN destination port that will receive the tapped traffic.
+func (o VirtualNetworkTapInterfaceEndpointResponsePtrOutput) DestinationPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapInterfaceEndpointResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationPort
+ }).(pulumi.IntPtrOutput)
}
-// The status of the virtual network peering.
-func (o VirtualNetworkPeeringTypeOutput) PeeringState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *string { return v.PeeringState }).(pulumi.StringPtrOutput)
+// Gets a unique read-only string that changes whenever the resource is updated.
+func (o VirtualNetworkTapInterfaceEndpointResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Etag
+ }).(pulumi.StringPtrOutput)
}
-// The peering sync status of the virtual network peering.
-func (o VirtualNetworkPeeringTypeOutput) PeeringSyncLevel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *string { return v.PeeringSyncLevel }).(pulumi.StringPtrOutput)
+// Resource ID.
+func (o VirtualNetworkTapInterfaceEndpointResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// The reference to the address space peered with the remote virtual network.
-func (o VirtualNetworkPeeringTypeOutput) RemoteAddressSpace() AddressSpacePtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *AddressSpace { return v.RemoteAddressSpace }).(AddressSpacePtrOutput)
+// Resource location.
+func (o VirtualNetworkTapInterfaceEndpointResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-// The reference to the remote virtual network's Bgp Communities.
-func (o VirtualNetworkPeeringTypeOutput) RemoteBgpCommunities() VirtualNetworkBgpCommunitiesPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *VirtualNetworkBgpCommunities { return v.RemoteBgpCommunities }).(VirtualNetworkBgpCommunitiesPtrOutput)
+// Resource name.
+func (o VirtualNetworkTapInterfaceEndpointResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-// List of remote subnet names from remote virtual network that are subnet peered.
-func (o VirtualNetworkPeeringTypeOutput) RemoteSubnetNames() pulumi.StringArrayOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) []string { return v.RemoteSubnetNames }).(pulumi.StringArrayOutput)
+// Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
+func (o VirtualNetworkTapInterfaceEndpointResponsePtrOutput) NetworkInterfaceTapConfigurations() NetworkInterfaceTapConfigurationInterfaceEndpointResponseArrayOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapInterfaceEndpointResponse) []NetworkInterfaceTapConfigurationInterfaceEndpointResponse {
+ if v == nil {
+ return nil
+ }
+ return v.NetworkInterfaceTapConfigurations
+ }).(NetworkInterfaceTapConfigurationInterfaceEndpointResponseArrayOutput)
}
-// The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
-func (o VirtualNetworkPeeringTypeOutput) RemoteVirtualNetwork() SubResourcePtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *SubResource { return v.RemoteVirtualNetwork }).(SubResourcePtrOutput)
+// The provisioning state of the virtual network tap. Possible values are: 'Updating', 'Deleting', and 'Failed'.
+func (o VirtualNetworkTapInterfaceEndpointResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// The reference to the current address space of the remote virtual network.
-func (o VirtualNetworkPeeringTypeOutput) RemoteVirtualNetworkAddressSpace() AddressSpacePtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *AddressSpace { return v.RemoteVirtualNetworkAddressSpace }).(AddressSpacePtrOutput)
+// The resourceGuid property of the virtual network tap.
+func (o VirtualNetworkTapInterfaceEndpointResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
}
-// Resource type.
-func (o VirtualNetworkPeeringTypeOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Resource tags.
+func (o VirtualNetworkTapInterfaceEndpointResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapInterfaceEndpointResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-// If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
-func (o VirtualNetworkPeeringTypeOutput) UseRemoteGateways() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringType) *bool { return v.UseRemoteGateways }).(pulumi.BoolPtrOutput)
+// Resource type.
+func (o VirtualNetworkTapInterfaceEndpointResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapInterfaceEndpointResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-type VirtualNetworkPeeringTypeArrayOutput struct{ *pulumi.OutputState }
+type VirtualNetworkTapInterfaceEndpointResponseArrayOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkPeeringTypeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkPeeringType)(nil)).Elem()
+func (VirtualNetworkTapInterfaceEndpointResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkTapInterfaceEndpointResponse)(nil)).Elem()
}
-func (o VirtualNetworkPeeringTypeArrayOutput) ToVirtualNetworkPeeringTypeArrayOutput() VirtualNetworkPeeringTypeArrayOutput {
+func (o VirtualNetworkTapInterfaceEndpointResponseArrayOutput) ToVirtualNetworkTapInterfaceEndpointResponseArrayOutput() VirtualNetworkTapInterfaceEndpointResponseArrayOutput {
return o
}
-func (o VirtualNetworkPeeringTypeArrayOutput) ToVirtualNetworkPeeringTypeArrayOutputWithContext(ctx context.Context) VirtualNetworkPeeringTypeArrayOutput {
+func (o VirtualNetworkTapInterfaceEndpointResponseArrayOutput) ToVirtualNetworkTapInterfaceEndpointResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkTapInterfaceEndpointResponseArrayOutput {
return o
}
-func (o VirtualNetworkPeeringTypeArrayOutput) Index(i pulumi.IntInput) VirtualNetworkPeeringTypeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkPeeringType {
- return vs[0].([]VirtualNetworkPeeringType)[vs[1].(int)]
- }).(VirtualNetworkPeeringTypeOutput)
+func (o VirtualNetworkTapInterfaceEndpointResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkTapInterfaceEndpointResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkTapInterfaceEndpointResponse {
+ return vs[0].([]VirtualNetworkTapInterfaceEndpointResponse)[vs[1].(int)]
+ }).(VirtualNetworkTapInterfaceEndpointResponseOutput)
}
-// Peerings in a virtual network resource.
-type VirtualNetworkPeeringResponse struct {
- // Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
- AllowForwardedTraffic *bool `pulumi:"allowForwardedTraffic"`
- // If gateway links can be used in remote virtual networking to link to this virtual network.
- AllowGatewayTransit *bool `pulumi:"allowGatewayTransit"`
- // Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
- AllowVirtualNetworkAccess *bool `pulumi:"allowVirtualNetworkAccess"`
- // If we need to verify the provisioning state of the remote gateway.
- DoNotVerifyRemoteGateways *bool `pulumi:"doNotVerifyRemoteGateways"`
- // Whether only Ipv6 address space is peered for subnet peering.
- EnableOnlyIPv6Peering *bool `pulumi:"enableOnlyIPv6Peering"`
+// Virtual Network Tap resource.
+type VirtualNetworkTapResponse struct {
+ // The reference to the private IP address on the internal Load Balancer that will receive the tap.
+ DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfigurationResponse `pulumi:"destinationLoadBalancerFrontEndIPConfiguration"`
+ // The reference to the private IP Address of the collector nic that will receive the tap.
+ DestinationNetworkInterfaceIPConfiguration *NetworkInterfaceIPConfigurationResponse `pulumi:"destinationNetworkInterfaceIPConfiguration"`
+ // The VXLAN destination port that will receive the tapped traffic.
+ DestinationPort *int `pulumi:"destinationPort"`
// A unique read-only string that changes whenever the resource is updated.
Etag string `pulumi:"etag"`
// Resource ID.
Id *string `pulumi:"id"`
- // The local address space of the local virtual network that is peered.
- LocalAddressSpace *AddressSpaceResponse `pulumi:"localAddressSpace"`
- // List of local subnet names that are subnet peered with remote virtual network.
- LocalSubnetNames []string `pulumi:"localSubnetNames"`
- // The current local address space of the local virtual network that is peered.
- LocalVirtualNetworkAddressSpace *AddressSpaceResponse `pulumi:"localVirtualNetworkAddressSpace"`
- // The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Name *string `pulumi:"name"`
- // Whether complete virtual network address space is peered.
- PeerCompleteVnets *bool `pulumi:"peerCompleteVnets"`
- // The status of the virtual network peering.
- PeeringState *string `pulumi:"peeringState"`
- // The peering sync status of the virtual network peering.
- PeeringSyncLevel *string `pulumi:"peeringSyncLevel"`
- // The provisioning state of the virtual network peering resource.
+ // Resource location.
+ Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
+ NetworkInterfaceTapConfigurations []NetworkInterfaceTapConfigurationResponse `pulumi:"networkInterfaceTapConfigurations"`
+ // The provisioning state of the virtual network tap resource.
ProvisioningState string `pulumi:"provisioningState"`
- // The reference to the address space peered with the remote virtual network.
- RemoteAddressSpace *AddressSpaceResponse `pulumi:"remoteAddressSpace"`
- // The reference to the remote virtual network's Bgp Communities.
- RemoteBgpCommunities *VirtualNetworkBgpCommunitiesResponse `pulumi:"remoteBgpCommunities"`
- // List of remote subnet names from remote virtual network that are subnet peered.
- RemoteSubnetNames []string `pulumi:"remoteSubnetNames"`
- // The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
- RemoteVirtualNetwork *SubResourceResponse `pulumi:"remoteVirtualNetwork"`
- // The reference to the current address space of the remote virtual network.
- RemoteVirtualNetworkAddressSpace *AddressSpaceResponse `pulumi:"remoteVirtualNetworkAddressSpace"`
- // The reference to the remote virtual network's encryption
- RemoteVirtualNetworkEncryption VirtualNetworkEncryptionResponse `pulumi:"remoteVirtualNetworkEncryption"`
- // The resourceGuid property of the Virtual Network peering resource.
+ // The resource GUID property of the virtual network tap resource.
ResourceGuid string `pulumi:"resourceGuid"`
+ // Resource tags.
+ Tags map[string]string `pulumi:"tags"`
// Resource type.
- Type *string `pulumi:"type"`
- // If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
- UseRemoteGateways *bool `pulumi:"useRemoteGateways"`
+ Type string `pulumi:"type"`
+}
+
+// Defaults sets the appropriate defaults for VirtualNetworkTapResponse
+func (val *VirtualNetworkTapResponse) Defaults() *VirtualNetworkTapResponse {
+ if val == nil {
+ return nil
+ }
+ tmp := *val
+ tmp.DestinationLoadBalancerFrontEndIPConfiguration = tmp.DestinationLoadBalancerFrontEndIPConfiguration.Defaults()
+
+ tmp.DestinationNetworkInterfaceIPConfiguration = tmp.DestinationNetworkInterfaceIPConfiguration.Defaults()
+
+ return &tmp
+}
+
+// Virtual Network Tap resource.
+type VirtualNetworkTapResponseOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkTapResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkTapResponse)(nil)).Elem()
+}
+
+func (o VirtualNetworkTapResponseOutput) ToVirtualNetworkTapResponseOutput() VirtualNetworkTapResponseOutput {
+ return o
+}
+
+func (o VirtualNetworkTapResponseOutput) ToVirtualNetworkTapResponseOutputWithContext(ctx context.Context) VirtualNetworkTapResponseOutput {
+ return o
+}
+
+// The reference to the private IP address on the internal Load Balancer that will receive the tap.
+func (o VirtualNetworkTapResponseOutput) DestinationLoadBalancerFrontEndIPConfiguration() FrontendIPConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapResponse) *FrontendIPConfigurationResponse {
+ return v.DestinationLoadBalancerFrontEndIPConfiguration
+ }).(FrontendIPConfigurationResponsePtrOutput)
}
-// Peerings in a virtual network resource.
-type VirtualNetworkPeeringResponseOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkPeeringResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkPeeringResponse)(nil)).Elem()
+// The reference to the private IP Address of the collector nic that will receive the tap.
+func (o VirtualNetworkTapResponseOutput) DestinationNetworkInterfaceIPConfiguration() NetworkInterfaceIPConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapResponse) *NetworkInterfaceIPConfigurationResponse {
+ return v.DestinationNetworkInterfaceIPConfiguration
+ }).(NetworkInterfaceIPConfigurationResponsePtrOutput)
}
-func (o VirtualNetworkPeeringResponseOutput) ToVirtualNetworkPeeringResponseOutput() VirtualNetworkPeeringResponseOutput {
- return o
+// The VXLAN destination port that will receive the tapped traffic.
+func (o VirtualNetworkTapResponseOutput) DestinationPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapResponse) *int { return v.DestinationPort }).(pulumi.IntPtrOutput)
}
-func (o VirtualNetworkPeeringResponseOutput) ToVirtualNetworkPeeringResponseOutputWithContext(ctx context.Context) VirtualNetworkPeeringResponseOutput {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o VirtualNetworkTapResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-// Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
-func (o VirtualNetworkPeeringResponseOutput) AllowForwardedTraffic() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *bool { return v.AllowForwardedTraffic }).(pulumi.BoolPtrOutput)
+// Resource ID.
+func (o VirtualNetworkTapResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-// If gateway links can be used in remote virtual networking to link to this virtual network.
-func (o VirtualNetworkPeeringResponseOutput) AllowGatewayTransit() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *bool { return v.AllowGatewayTransit }).(pulumi.BoolPtrOutput)
+// Resource location.
+func (o VirtualNetworkTapResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
-func (o VirtualNetworkPeeringResponseOutput) AllowVirtualNetworkAccess() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *bool { return v.AllowVirtualNetworkAccess }).(pulumi.BoolPtrOutput)
+// Resource name.
+func (o VirtualNetworkTapResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// If we need to verify the provisioning state of the remote gateway.
-func (o VirtualNetworkPeeringResponseOutput) DoNotVerifyRemoteGateways() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *bool { return v.DoNotVerifyRemoteGateways }).(pulumi.BoolPtrOutput)
+// Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
+func (o VirtualNetworkTapResponseOutput) NetworkInterfaceTapConfigurations() NetworkInterfaceTapConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkTapResponse) []NetworkInterfaceTapConfigurationResponse {
+ return v.NetworkInterfaceTapConfigurations
+ }).(NetworkInterfaceTapConfigurationResponseArrayOutput)
}
-// Whether only Ipv6 address space is peered for subnet peering.
-func (o VirtualNetworkPeeringResponseOutput) EnableOnlyIPv6Peering() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *bool { return v.EnableOnlyIPv6Peering }).(pulumi.BoolPtrOutput)
+// The provisioning state of the virtual network tap resource.
+func (o VirtualNetworkTapResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// A unique read-only string that changes whenever the resource is updated.
-func (o VirtualNetworkPeeringResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) string { return v.Etag }).(pulumi.StringOutput)
+// The resource GUID property of the virtual network tap resource.
+func (o VirtualNetworkTapResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// Resource ID.
-func (o VirtualNetworkPeeringResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+// Resource tags.
+func (o VirtualNetworkTapResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v VirtualNetworkTapResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// The local address space of the local virtual network that is peered.
-func (o VirtualNetworkPeeringResponseOutput) LocalAddressSpace() AddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *AddressSpaceResponse { return v.LocalAddressSpace }).(AddressSpaceResponsePtrOutput)
+// Resource type.
+func (o VirtualNetworkTapResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapResponse) string { return v.Type }).(pulumi.StringOutput)
}
-// List of local subnet names that are subnet peered with remote virtual network.
-func (o VirtualNetworkPeeringResponseOutput) LocalSubnetNames() pulumi.StringArrayOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) []string { return v.LocalSubnetNames }).(pulumi.StringArrayOutput)
+type VirtualNetworkTapResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkTapResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkTapResponse)(nil)).Elem()
}
-// The current local address space of the local virtual network that is peered.
-func (o VirtualNetworkPeeringResponseOutput) LocalVirtualNetworkAddressSpace() AddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *AddressSpaceResponse { return v.LocalVirtualNetworkAddressSpace }).(AddressSpaceResponsePtrOutput)
+func (o VirtualNetworkTapResponsePtrOutput) ToVirtualNetworkTapResponsePtrOutput() VirtualNetworkTapResponsePtrOutput {
+ return o
}
-// The name of the resource that is unique within a resource group. This name can be used to access the resource.
-func (o VirtualNetworkPeeringResponseOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkTapResponsePtrOutput) ToVirtualNetworkTapResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkTapResponsePtrOutput {
+ return o
}
-// Whether complete virtual network address space is peered.
-func (o VirtualNetworkPeeringResponseOutput) PeerCompleteVnets() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *bool { return v.PeerCompleteVnets }).(pulumi.BoolPtrOutput)
+func (o VirtualNetworkTapResponsePtrOutput) Elem() VirtualNetworkTapResponseOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapResponse) VirtualNetworkTapResponse {
+ if v != nil {
+ return *v
+ }
+ var ret VirtualNetworkTapResponse
+ return ret
+ }).(VirtualNetworkTapResponseOutput)
}
-// The status of the virtual network peering.
-func (o VirtualNetworkPeeringResponseOutput) PeeringState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *string { return v.PeeringState }).(pulumi.StringPtrOutput)
+// The reference to the private IP address on the internal Load Balancer that will receive the tap.
+func (o VirtualNetworkTapResponsePtrOutput) DestinationLoadBalancerFrontEndIPConfiguration() FrontendIPConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapResponse) *FrontendIPConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationLoadBalancerFrontEndIPConfiguration
+ }).(FrontendIPConfigurationResponsePtrOutput)
}
-// The peering sync status of the virtual network peering.
-func (o VirtualNetworkPeeringResponseOutput) PeeringSyncLevel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *string { return v.PeeringSyncLevel }).(pulumi.StringPtrOutput)
+// The reference to the private IP Address of the collector nic that will receive the tap.
+func (o VirtualNetworkTapResponsePtrOutput) DestinationNetworkInterfaceIPConfiguration() NetworkInterfaceIPConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapResponse) *NetworkInterfaceIPConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationNetworkInterfaceIPConfiguration
+ }).(NetworkInterfaceIPConfigurationResponsePtrOutput)
}
-// The provisioning state of the virtual network peering resource.
-func (o VirtualNetworkPeeringResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+// The VXLAN destination port that will receive the tapped traffic.
+func (o VirtualNetworkTapResponsePtrOutput) DestinationPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapResponse) *int {
+ if v == nil {
+ return nil
+ }
+ return v.DestinationPort
+ }).(pulumi.IntPtrOutput)
}
-// The reference to the address space peered with the remote virtual network.
-func (o VirtualNetworkPeeringResponseOutput) RemoteAddressSpace() AddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *AddressSpaceResponse { return v.RemoteAddressSpace }).(AddressSpaceResponsePtrOutput)
+// A unique read-only string that changes whenever the resource is updated.
+func (o VirtualNetworkTapResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
}
-// The reference to the remote virtual network's Bgp Communities.
-func (o VirtualNetworkPeeringResponseOutput) RemoteBgpCommunities() VirtualNetworkBgpCommunitiesResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *VirtualNetworkBgpCommunitiesResponse {
- return v.RemoteBgpCommunities
- }).(VirtualNetworkBgpCommunitiesResponsePtrOutput)
+// Resource ID.
+func (o VirtualNetworkTapResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Id
+ }).(pulumi.StringPtrOutput)
}
-// List of remote subnet names from remote virtual network that are subnet peered.
-func (o VirtualNetworkPeeringResponseOutput) RemoteSubnetNames() pulumi.StringArrayOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) []string { return v.RemoteSubnetNames }).(pulumi.StringArrayOutput)
+// Resource location.
+func (o VirtualNetworkTapResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return v.Location
+ }).(pulumi.StringPtrOutput)
}
-// The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
-func (o VirtualNetworkPeeringResponseOutput) RemoteVirtualNetwork() SubResourceResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *SubResourceResponse { return v.RemoteVirtualNetwork }).(SubResourceResponsePtrOutput)
+// Resource name.
+func (o VirtualNetworkTapResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
}
-// The reference to the current address space of the remote virtual network.
-func (o VirtualNetworkPeeringResponseOutput) RemoteVirtualNetworkAddressSpace() AddressSpaceResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *AddressSpaceResponse { return v.RemoteVirtualNetworkAddressSpace }).(AddressSpaceResponsePtrOutput)
+// Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
+func (o VirtualNetworkTapResponsePtrOutput) NetworkInterfaceTapConfigurations() NetworkInterfaceTapConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapResponse) []NetworkInterfaceTapConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.NetworkInterfaceTapConfigurations
+ }).(NetworkInterfaceTapConfigurationResponseArrayOutput)
}
-// The reference to the remote virtual network's encryption
-func (o VirtualNetworkPeeringResponseOutput) RemoteVirtualNetworkEncryption() VirtualNetworkEncryptionResponseOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) VirtualNetworkEncryptionResponse {
- return v.RemoteVirtualNetworkEncryption
- }).(VirtualNetworkEncryptionResponseOutput)
+// The provisioning state of the virtual network tap resource.
+func (o VirtualNetworkTapResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
}
-// The resourceGuid property of the Virtual Network peering resource.
-func (o VirtualNetworkPeeringResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+// The resource GUID property of the virtual network tap resource.
+func (o VirtualNetworkTapResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
}
-// Resource type.
-func (o VirtualNetworkPeeringResponseOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *string { return v.Type }).(pulumi.StringPtrOutput)
+// Resource tags.
+func (o VirtualNetworkTapResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapResponse) map[string]string {
+ if v == nil {
+ return nil
+ }
+ return v.Tags
+ }).(pulumi.StringMapOutput)
}
-// If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
-func (o VirtualNetworkPeeringResponseOutput) UseRemoteGateways() pulumi.BoolPtrOutput {
- return o.ApplyT(func(v VirtualNetworkPeeringResponse) *bool { return v.UseRemoteGateways }).(pulumi.BoolPtrOutput)
+// Resource type.
+func (o VirtualNetworkTapResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
}
-type VirtualNetworkPeeringResponseArrayOutput struct{ *pulumi.OutputState }
+type VirtualNetworkTapResponseArrayOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkPeeringResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkPeeringResponse)(nil)).Elem()
+func (VirtualNetworkTapResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkTapResponse)(nil)).Elem()
}
-func (o VirtualNetworkPeeringResponseArrayOutput) ToVirtualNetworkPeeringResponseArrayOutput() VirtualNetworkPeeringResponseArrayOutput {
+func (o VirtualNetworkTapResponseArrayOutput) ToVirtualNetworkTapResponseArrayOutput() VirtualNetworkTapResponseArrayOutput {
return o
}
-func (o VirtualNetworkPeeringResponseArrayOutput) ToVirtualNetworkPeeringResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkPeeringResponseArrayOutput {
+func (o VirtualNetworkTapResponseArrayOutput) ToVirtualNetworkTapResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkTapResponseArrayOutput {
return o
}
-func (o VirtualNetworkPeeringResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkPeeringResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkPeeringResponse {
- return vs[0].([]VirtualNetworkPeeringResponse)[vs[1].(int)]
- }).(VirtualNetworkPeeringResponseOutput)
+func (o VirtualNetworkTapResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkTapResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkTapResponse {
+ return vs[0].([]VirtualNetworkTapResponse)[vs[1].(int)]
+ }).(VirtualNetworkTapResponseOutput)
}
// Virtual Network Tap resource.
-type VirtualNetworkTapType struct {
+type VirtualNetworkTapServiceGatewayResponse struct {
// The reference to the private IP address on the internal Load Balancer that will receive the tap.
- DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfiguration `pulumi:"destinationLoadBalancerFrontEndIPConfiguration"`
+ DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfigurationServiceGatewayResponse `pulumi:"destinationLoadBalancerFrontEndIPConfiguration"`
// The reference to the private IP Address of the collector nic that will receive the tap.
- DestinationNetworkInterfaceIPConfiguration *NetworkInterfaceIPConfiguration `pulumi:"destinationNetworkInterfaceIPConfiguration"`
+ DestinationNetworkInterfaceIPConfiguration *NetworkInterfaceIPConfigurationResponse `pulumi:"destinationNetworkInterfaceIPConfiguration"`
// The VXLAN destination port that will receive the tapped traffic.
DestinationPort *int `pulumi:"destinationPort"`
+ // A unique read-only string that changes whenever the resource is updated.
+ Etag string `pulumi:"etag"`
// Resource ID.
Id *string `pulumi:"id"`
// Resource location.
Location *string `pulumi:"location"`
+ // Resource name.
+ Name string `pulumi:"name"`
+ // Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
+ NetworkInterfaceTapConfigurations []NetworkInterfaceTapConfigurationResponse `pulumi:"networkInterfaceTapConfigurations"`
+ // The provisioning state of the virtual network tap resource.
+ ProvisioningState string `pulumi:"provisioningState"`
+ // The resource GUID property of the virtual network tap resource.
+ ResourceGuid string `pulumi:"resourceGuid"`
// Resource tags.
Tags map[string]string `pulumi:"tags"`
+ // Resource type.
+ Type string `pulumi:"type"`
}
-// Defaults sets the appropriate defaults for VirtualNetworkTapType
-func (val *VirtualNetworkTapType) Defaults() *VirtualNetworkTapType {
+// Defaults sets the appropriate defaults for VirtualNetworkTapServiceGatewayResponse
+func (val *VirtualNetworkTapServiceGatewayResponse) Defaults() *VirtualNetworkTapServiceGatewayResponse {
if val == nil {
return nil
}
@@ -37234,226 +38071,134 @@ func (val *VirtualNetworkTapType) Defaults() *VirtualNetworkTapType {
return &tmp
}
-// VirtualNetworkTapTypeInput is an input type that accepts VirtualNetworkTapTypeArgs and VirtualNetworkTapTypeOutput values.
-// You can construct a concrete instance of `VirtualNetworkTapTypeInput` via:
-//
-// VirtualNetworkTapTypeArgs{...}
-type VirtualNetworkTapTypeInput interface {
- pulumi.Input
-
- ToVirtualNetworkTapTypeOutput() VirtualNetworkTapTypeOutput
- ToVirtualNetworkTapTypeOutputWithContext(context.Context) VirtualNetworkTapTypeOutput
-}
-
// Virtual Network Tap resource.
-type VirtualNetworkTapTypeArgs struct {
- // The reference to the private IP address on the internal Load Balancer that will receive the tap.
- DestinationLoadBalancerFrontEndIPConfiguration FrontendIPConfigurationPtrInput `pulumi:"destinationLoadBalancerFrontEndIPConfiguration"`
- // The reference to the private IP Address of the collector nic that will receive the tap.
- DestinationNetworkInterfaceIPConfiguration NetworkInterfaceIPConfigurationPtrInput `pulumi:"destinationNetworkInterfaceIPConfiguration"`
- // The VXLAN destination port that will receive the tapped traffic.
- DestinationPort pulumi.IntPtrInput `pulumi:"destinationPort"`
- // Resource ID.
- Id pulumi.StringPtrInput `pulumi:"id"`
- // Resource location.
- Location pulumi.StringPtrInput `pulumi:"location"`
- // Resource tags.
- Tags pulumi.StringMapInput `pulumi:"tags"`
-}
-
-// Defaults sets the appropriate defaults for VirtualNetworkTapTypeArgs
-func (val *VirtualNetworkTapTypeArgs) Defaults() *VirtualNetworkTapTypeArgs {
- if val == nil {
- return nil
- }
- tmp := *val
-
- return &tmp
-}
-func (VirtualNetworkTapTypeArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkTapType)(nil)).Elem()
-}
-
-func (i VirtualNetworkTapTypeArgs) ToVirtualNetworkTapTypeOutput() VirtualNetworkTapTypeOutput {
- return i.ToVirtualNetworkTapTypeOutputWithContext(context.Background())
-}
-
-func (i VirtualNetworkTapTypeArgs) ToVirtualNetworkTapTypeOutputWithContext(ctx context.Context) VirtualNetworkTapTypeOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkTapTypeOutput)
-}
-
-func (i VirtualNetworkTapTypeArgs) ToVirtualNetworkTapTypePtrOutput() VirtualNetworkTapTypePtrOutput {
- return i.ToVirtualNetworkTapTypePtrOutputWithContext(context.Background())
-}
-
-func (i VirtualNetworkTapTypeArgs) ToVirtualNetworkTapTypePtrOutputWithContext(ctx context.Context) VirtualNetworkTapTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkTapTypeOutput).ToVirtualNetworkTapTypePtrOutputWithContext(ctx)
-}
-
-// VirtualNetworkTapTypePtrInput is an input type that accepts VirtualNetworkTapTypeArgs, VirtualNetworkTapTypePtr and VirtualNetworkTapTypePtrOutput values.
-// You can construct a concrete instance of `VirtualNetworkTapTypePtrInput` via:
-//
-// VirtualNetworkTapTypeArgs{...}
-//
-// or:
-//
-// nil
-type VirtualNetworkTapTypePtrInput interface {
- pulumi.Input
-
- ToVirtualNetworkTapTypePtrOutput() VirtualNetworkTapTypePtrOutput
- ToVirtualNetworkTapTypePtrOutputWithContext(context.Context) VirtualNetworkTapTypePtrOutput
-}
-
-type virtualNetworkTapTypePtrType VirtualNetworkTapTypeArgs
-
-func VirtualNetworkTapTypePtr(v *VirtualNetworkTapTypeArgs) VirtualNetworkTapTypePtrInput {
- return (*virtualNetworkTapTypePtrType)(v)
-}
-
-func (*virtualNetworkTapTypePtrType) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkTapType)(nil)).Elem()
-}
-
-func (i *virtualNetworkTapTypePtrType) ToVirtualNetworkTapTypePtrOutput() VirtualNetworkTapTypePtrOutput {
- return i.ToVirtualNetworkTapTypePtrOutputWithContext(context.Background())
-}
+type VirtualNetworkTapServiceGatewayResponseOutput struct{ *pulumi.OutputState }
-func (i *virtualNetworkTapTypePtrType) ToVirtualNetworkTapTypePtrOutputWithContext(ctx context.Context) VirtualNetworkTapTypePtrOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkTapTypePtrOutput)
-}
-
-// VirtualNetworkTapTypeArrayInput is an input type that accepts VirtualNetworkTapTypeArray and VirtualNetworkTapTypeArrayOutput values.
-// You can construct a concrete instance of `VirtualNetworkTapTypeArrayInput` via:
-//
-// VirtualNetworkTapTypeArray{ VirtualNetworkTapTypeArgs{...} }
-type VirtualNetworkTapTypeArrayInput interface {
- pulumi.Input
-
- ToVirtualNetworkTapTypeArrayOutput() VirtualNetworkTapTypeArrayOutput
- ToVirtualNetworkTapTypeArrayOutputWithContext(context.Context) VirtualNetworkTapTypeArrayOutput
+func (VirtualNetworkTapServiceGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkTapServiceGatewayResponse)(nil)).Elem()
}
-type VirtualNetworkTapTypeArray []VirtualNetworkTapTypeInput
-
-func (VirtualNetworkTapTypeArray) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkTapType)(nil)).Elem()
+func (o VirtualNetworkTapServiceGatewayResponseOutput) ToVirtualNetworkTapServiceGatewayResponseOutput() VirtualNetworkTapServiceGatewayResponseOutput {
+ return o
}
-func (i VirtualNetworkTapTypeArray) ToVirtualNetworkTapTypeArrayOutput() VirtualNetworkTapTypeArrayOutput {
- return i.ToVirtualNetworkTapTypeArrayOutputWithContext(context.Background())
+func (o VirtualNetworkTapServiceGatewayResponseOutput) ToVirtualNetworkTapServiceGatewayResponseOutputWithContext(ctx context.Context) VirtualNetworkTapServiceGatewayResponseOutput {
+ return o
}
-func (i VirtualNetworkTapTypeArray) ToVirtualNetworkTapTypeArrayOutputWithContext(ctx context.Context) VirtualNetworkTapTypeArrayOutput {
- return pulumi.ToOutputWithContext(ctx, i).(VirtualNetworkTapTypeArrayOutput)
+// The reference to the private IP address on the internal Load Balancer that will receive the tap.
+func (o VirtualNetworkTapServiceGatewayResponseOutput) DestinationLoadBalancerFrontEndIPConfiguration() FrontendIPConfigurationServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapServiceGatewayResponse) *FrontendIPConfigurationServiceGatewayResponse {
+ return v.DestinationLoadBalancerFrontEndIPConfiguration
+ }).(FrontendIPConfigurationServiceGatewayResponsePtrOutput)
}
-// Virtual Network Tap resource.
-type VirtualNetworkTapTypeOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkTapTypeOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkTapType)(nil)).Elem()
+// The reference to the private IP Address of the collector nic that will receive the tap.
+func (o VirtualNetworkTapServiceGatewayResponseOutput) DestinationNetworkInterfaceIPConfiguration() NetworkInterfaceIPConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapServiceGatewayResponse) *NetworkInterfaceIPConfigurationResponse {
+ return v.DestinationNetworkInterfaceIPConfiguration
+ }).(NetworkInterfaceIPConfigurationResponsePtrOutput)
}
-func (o VirtualNetworkTapTypeOutput) ToVirtualNetworkTapTypeOutput() VirtualNetworkTapTypeOutput {
- return o
+// The VXLAN destination port that will receive the tapped traffic.
+func (o VirtualNetworkTapServiceGatewayResponseOutput) DestinationPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapServiceGatewayResponse) *int { return v.DestinationPort }).(pulumi.IntPtrOutput)
}
-func (o VirtualNetworkTapTypeOutput) ToVirtualNetworkTapTypeOutputWithContext(ctx context.Context) VirtualNetworkTapTypeOutput {
- return o
+// A unique read-only string that changes whenever the resource is updated.
+func (o VirtualNetworkTapServiceGatewayResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapServiceGatewayResponse) string { return v.Etag }).(pulumi.StringOutput)
}
-func (o VirtualNetworkTapTypeOutput) ToVirtualNetworkTapTypePtrOutput() VirtualNetworkTapTypePtrOutput {
- return o.ToVirtualNetworkTapTypePtrOutputWithContext(context.Background())
+// Resource ID.
+func (o VirtualNetworkTapServiceGatewayResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapServiceGatewayResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
-func (o VirtualNetworkTapTypeOutput) ToVirtualNetworkTapTypePtrOutputWithContext(ctx context.Context) VirtualNetworkTapTypePtrOutput {
- return o.ApplyTWithContext(ctx, func(_ context.Context, v VirtualNetworkTapType) *VirtualNetworkTapType {
- return &v
- }).(VirtualNetworkTapTypePtrOutput)
+// Resource location.
+func (o VirtualNetworkTapServiceGatewayResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapServiceGatewayResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
-// The reference to the private IP address on the internal Load Balancer that will receive the tap.
-func (o VirtualNetworkTapTypeOutput) DestinationLoadBalancerFrontEndIPConfiguration() FrontendIPConfigurationPtrOutput {
- return o.ApplyT(func(v VirtualNetworkTapType) *FrontendIPConfiguration {
- return v.DestinationLoadBalancerFrontEndIPConfiguration
- }).(FrontendIPConfigurationPtrOutput)
+// Resource name.
+func (o VirtualNetworkTapServiceGatewayResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapServiceGatewayResponse) string { return v.Name }).(pulumi.StringOutput)
}
-// The reference to the private IP Address of the collector nic that will receive the tap.
-func (o VirtualNetworkTapTypeOutput) DestinationNetworkInterfaceIPConfiguration() NetworkInterfaceIPConfigurationPtrOutput {
- return o.ApplyT(func(v VirtualNetworkTapType) *NetworkInterfaceIPConfiguration {
- return v.DestinationNetworkInterfaceIPConfiguration
- }).(NetworkInterfaceIPConfigurationPtrOutput)
+// Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
+func (o VirtualNetworkTapServiceGatewayResponseOutput) NetworkInterfaceTapConfigurations() NetworkInterfaceTapConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkTapServiceGatewayResponse) []NetworkInterfaceTapConfigurationResponse {
+ return v.NetworkInterfaceTapConfigurations
+ }).(NetworkInterfaceTapConfigurationResponseArrayOutput)
}
-// The VXLAN destination port that will receive the tapped traffic.
-func (o VirtualNetworkTapTypeOutput) DestinationPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v VirtualNetworkTapType) *int { return v.DestinationPort }).(pulumi.IntPtrOutput)
+// The provisioning state of the virtual network tap resource.
+func (o VirtualNetworkTapServiceGatewayResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapServiceGatewayResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
-// Resource ID.
-func (o VirtualNetworkTapTypeOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkTapType) *string { return v.Id }).(pulumi.StringPtrOutput)
+// The resource GUID property of the virtual network tap resource.
+func (o VirtualNetworkTapServiceGatewayResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapServiceGatewayResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
-// Resource location.
-func (o VirtualNetworkTapTypeOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkTapType) *string { return v.Location }).(pulumi.StringPtrOutput)
+// Resource tags.
+func (o VirtualNetworkTapServiceGatewayResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v VirtualNetworkTapServiceGatewayResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
-// Resource tags.
-func (o VirtualNetworkTapTypeOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v VirtualNetworkTapType) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+// Resource type.
+func (o VirtualNetworkTapServiceGatewayResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapServiceGatewayResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type VirtualNetworkTapTypePtrOutput struct{ *pulumi.OutputState }
+type VirtualNetworkTapServiceGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkTapTypePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkTapType)(nil)).Elem()
+func (VirtualNetworkTapServiceGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkTapServiceGatewayResponse)(nil)).Elem()
}
-func (o VirtualNetworkTapTypePtrOutput) ToVirtualNetworkTapTypePtrOutput() VirtualNetworkTapTypePtrOutput {
+func (o VirtualNetworkTapServiceGatewayResponsePtrOutput) ToVirtualNetworkTapServiceGatewayResponsePtrOutput() VirtualNetworkTapServiceGatewayResponsePtrOutput {
return o
}
-func (o VirtualNetworkTapTypePtrOutput) ToVirtualNetworkTapTypePtrOutputWithContext(ctx context.Context) VirtualNetworkTapTypePtrOutput {
+func (o VirtualNetworkTapServiceGatewayResponsePtrOutput) ToVirtualNetworkTapServiceGatewayResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkTapServiceGatewayResponsePtrOutput {
return o
}
-func (o VirtualNetworkTapTypePtrOutput) Elem() VirtualNetworkTapTypeOutput {
- return o.ApplyT(func(v *VirtualNetworkTapType) VirtualNetworkTapType {
+func (o VirtualNetworkTapServiceGatewayResponsePtrOutput) Elem() VirtualNetworkTapServiceGatewayResponseOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapServiceGatewayResponse) VirtualNetworkTapServiceGatewayResponse {
if v != nil {
return *v
}
- var ret VirtualNetworkTapType
+ var ret VirtualNetworkTapServiceGatewayResponse
return ret
- }).(VirtualNetworkTapTypeOutput)
+ }).(VirtualNetworkTapServiceGatewayResponseOutput)
}
// The reference to the private IP address on the internal Load Balancer that will receive the tap.
-func (o VirtualNetworkTapTypePtrOutput) DestinationLoadBalancerFrontEndIPConfiguration() FrontendIPConfigurationPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkTapType) *FrontendIPConfiguration {
+func (o VirtualNetworkTapServiceGatewayResponsePtrOutput) DestinationLoadBalancerFrontEndIPConfiguration() FrontendIPConfigurationServiceGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapServiceGatewayResponse) *FrontendIPConfigurationServiceGatewayResponse {
if v == nil {
return nil
}
return v.DestinationLoadBalancerFrontEndIPConfiguration
- }).(FrontendIPConfigurationPtrOutput)
+ }).(FrontendIPConfigurationServiceGatewayResponsePtrOutput)
}
// The reference to the private IP Address of the collector nic that will receive the tap.
-func (o VirtualNetworkTapTypePtrOutput) DestinationNetworkInterfaceIPConfiguration() NetworkInterfaceIPConfigurationPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkTapType) *NetworkInterfaceIPConfiguration {
+func (o VirtualNetworkTapServiceGatewayResponsePtrOutput) DestinationNetworkInterfaceIPConfiguration() NetworkInterfaceIPConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapServiceGatewayResponse) *NetworkInterfaceIPConfigurationResponse {
if v == nil {
return nil
}
return v.DestinationNetworkInterfaceIPConfiguration
- }).(NetworkInterfaceIPConfigurationPtrOutput)
+ }).(NetworkInterfaceIPConfigurationResponsePtrOutput)
}
// The VXLAN destination port that will receive the tapped traffic.
-func (o VirtualNetworkTapTypePtrOutput) DestinationPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkTapType) *int {
+func (o VirtualNetworkTapServiceGatewayResponsePtrOutput) DestinationPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapServiceGatewayResponse) *int {
if v == nil {
return nil
}
@@ -37461,9 +38206,19 @@ func (o VirtualNetworkTapTypePtrOutput) DestinationPort() pulumi.IntPtrOutput {
}).(pulumi.IntPtrOutput)
}
+// A unique read-only string that changes whenever the resource is updated.
+func (o VirtualNetworkTapServiceGatewayResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Etag
+ }).(pulumi.StringPtrOutput)
+}
+
// Resource ID.
-func (o VirtualNetworkTapTypePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkTapType) *string {
+func (o VirtualNetworkTapServiceGatewayResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapServiceGatewayResponse) *string {
if v == nil {
return nil
}
@@ -37472,8 +38227,8 @@ func (o VirtualNetworkTapTypePtrOutput) Id() pulumi.StringPtrOutput {
}
// Resource location.
-func (o VirtualNetworkTapTypePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkTapType) *string {
+func (o VirtualNetworkTapServiceGatewayResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapServiceGatewayResponse) *string {
if v == nil {
return nil
}
@@ -37481,9 +38236,49 @@ func (o VirtualNetworkTapTypePtrOutput) Location() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
+// Resource name.
+func (o VirtualNetworkTapServiceGatewayResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Name
+ }).(pulumi.StringPtrOutput)
+}
+
+// Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
+func (o VirtualNetworkTapServiceGatewayResponsePtrOutput) NetworkInterfaceTapConfigurations() NetworkInterfaceTapConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapServiceGatewayResponse) []NetworkInterfaceTapConfigurationResponse {
+ if v == nil {
+ return nil
+ }
+ return v.NetworkInterfaceTapConfigurations
+ }).(NetworkInterfaceTapConfigurationResponseArrayOutput)
+}
+
+// The provisioning state of the virtual network tap resource.
+func (o VirtualNetworkTapServiceGatewayResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ProvisioningState
+ }).(pulumi.StringPtrOutput)
+}
+
+// The resource GUID property of the virtual network tap resource.
+func (o VirtualNetworkTapServiceGatewayResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.ResourceGuid
+ }).(pulumi.StringPtrOutput)
+}
+
// Resource tags.
-func (o VirtualNetworkTapTypePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *VirtualNetworkTapType) map[string]string {
+func (o VirtualNetworkTapServiceGatewayResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapServiceGatewayResponse) map[string]string {
if v == nil {
return nil
}
@@ -37491,30 +38286,40 @@ func (o VirtualNetworkTapTypePtrOutput) Tags() pulumi.StringMapOutput {
}).(pulumi.StringMapOutput)
}
-type VirtualNetworkTapTypeArrayOutput struct{ *pulumi.OutputState }
+// Resource type.
+func (o VirtualNetworkTapServiceGatewayResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapServiceGatewayResponse) *string {
+ if v == nil {
+ return nil
+ }
+ return &v.Type
+ }).(pulumi.StringPtrOutput)
+}
-func (VirtualNetworkTapTypeArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkTapType)(nil)).Elem()
+type VirtualNetworkTapServiceGatewayResponseArrayOutput struct{ *pulumi.OutputState }
+
+func (VirtualNetworkTapServiceGatewayResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkTapServiceGatewayResponse)(nil)).Elem()
}
-func (o VirtualNetworkTapTypeArrayOutput) ToVirtualNetworkTapTypeArrayOutput() VirtualNetworkTapTypeArrayOutput {
+func (o VirtualNetworkTapServiceGatewayResponseArrayOutput) ToVirtualNetworkTapServiceGatewayResponseArrayOutput() VirtualNetworkTapServiceGatewayResponseArrayOutput {
return o
}
-func (o VirtualNetworkTapTypeArrayOutput) ToVirtualNetworkTapTypeArrayOutputWithContext(ctx context.Context) VirtualNetworkTapTypeArrayOutput {
+func (o VirtualNetworkTapServiceGatewayResponseArrayOutput) ToVirtualNetworkTapServiceGatewayResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkTapServiceGatewayResponseArrayOutput {
return o
}
-func (o VirtualNetworkTapTypeArrayOutput) Index(i pulumi.IntInput) VirtualNetworkTapTypeOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkTapType {
- return vs[0].([]VirtualNetworkTapType)[vs[1].(int)]
- }).(VirtualNetworkTapTypeOutput)
+func (o VirtualNetworkTapServiceGatewayResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkTapServiceGatewayResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkTapServiceGatewayResponse {
+ return vs[0].([]VirtualNetworkTapServiceGatewayResponse)[vs[1].(int)]
+ }).(VirtualNetworkTapServiceGatewayResponseOutput)
}
// Virtual Network Tap resource.
-type VirtualNetworkTapResponse struct {
+type VirtualNetworkTapVirtualNetworkApplianceResponse struct {
// The reference to the private IP address on the internal Load Balancer that will receive the tap.
- DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfigurationResponse `pulumi:"destinationLoadBalancerFrontEndIPConfiguration"`
+ DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfigurationVirtualNetworkApplianceResponse `pulumi:"destinationLoadBalancerFrontEndIPConfiguration"`
// The reference to the private IP Address of the collector nic that will receive the tap.
DestinationNetworkInterfaceIPConfiguration *NetworkInterfaceIPConfigurationResponse `pulumi:"destinationNetworkInterfaceIPConfiguration"`
// The VXLAN destination port that will receive the tapped traffic.
@@ -37539,8 +38344,8 @@ type VirtualNetworkTapResponse struct {
Type string `pulumi:"type"`
}
-// Defaults sets the appropriate defaults for VirtualNetworkTapResponse
-func (val *VirtualNetworkTapResponse) Defaults() *VirtualNetworkTapResponse {
+// Defaults sets the appropriate defaults for VirtualNetworkTapVirtualNetworkApplianceResponse
+func (val *VirtualNetworkTapVirtualNetworkApplianceResponse) Defaults() *VirtualNetworkTapVirtualNetworkApplianceResponse {
if val == nil {
return nil
}
@@ -37553,123 +38358,123 @@ func (val *VirtualNetworkTapResponse) Defaults() *VirtualNetworkTapResponse {
}
// Virtual Network Tap resource.
-type VirtualNetworkTapResponseOutput struct{ *pulumi.OutputState }
+type VirtualNetworkTapVirtualNetworkApplianceResponseOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkTapResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkTapResponse)(nil)).Elem()
+func (VirtualNetworkTapVirtualNetworkApplianceResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VirtualNetworkTapVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o VirtualNetworkTapResponseOutput) ToVirtualNetworkTapResponseOutput() VirtualNetworkTapResponseOutput {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseOutput) ToVirtualNetworkTapVirtualNetworkApplianceResponseOutput() VirtualNetworkTapVirtualNetworkApplianceResponseOutput {
return o
}
-func (o VirtualNetworkTapResponseOutput) ToVirtualNetworkTapResponseOutputWithContext(ctx context.Context) VirtualNetworkTapResponseOutput {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseOutput) ToVirtualNetworkTapVirtualNetworkApplianceResponseOutputWithContext(ctx context.Context) VirtualNetworkTapVirtualNetworkApplianceResponseOutput {
return o
}
// The reference to the private IP address on the internal Load Balancer that will receive the tap.
-func (o VirtualNetworkTapResponseOutput) DestinationLoadBalancerFrontEndIPConfiguration() FrontendIPConfigurationResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponse) *FrontendIPConfigurationResponse {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseOutput) DestinationLoadBalancerFrontEndIPConfiguration() FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapVirtualNetworkApplianceResponse) *FrontendIPConfigurationVirtualNetworkApplianceResponse {
return v.DestinationLoadBalancerFrontEndIPConfiguration
- }).(FrontendIPConfigurationResponsePtrOutput)
+ }).(FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput)
}
// The reference to the private IP Address of the collector nic that will receive the tap.
-func (o VirtualNetworkTapResponseOutput) DestinationNetworkInterfaceIPConfiguration() NetworkInterfaceIPConfigurationResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponse) *NetworkInterfaceIPConfigurationResponse {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseOutput) DestinationNetworkInterfaceIPConfiguration() NetworkInterfaceIPConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapVirtualNetworkApplianceResponse) *NetworkInterfaceIPConfigurationResponse {
return v.DestinationNetworkInterfaceIPConfiguration
}).(NetworkInterfaceIPConfigurationResponsePtrOutput)
}
// The VXLAN destination port that will receive the tapped traffic.
-func (o VirtualNetworkTapResponseOutput) DestinationPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponse) *int { return v.DestinationPort }).(pulumi.IntPtrOutput)
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseOutput) DestinationPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapVirtualNetworkApplianceResponse) *int { return v.DestinationPort }).(pulumi.IntPtrOutput)
}
// A unique read-only string that changes whenever the resource is updated.
-func (o VirtualNetworkTapResponseOutput) Etag() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponse) string { return v.Etag }).(pulumi.StringOutput)
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseOutput) Etag() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapVirtualNetworkApplianceResponse) string { return v.Etag }).(pulumi.StringOutput)
}
// Resource ID.
-func (o VirtualNetworkTapResponseOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapVirtualNetworkApplianceResponse) *string { return v.Id }).(pulumi.StringPtrOutput)
}
// Resource location.
-func (o VirtualNetworkTapResponseOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v VirtualNetworkTapVirtualNetworkApplianceResponse) *string { return v.Location }).(pulumi.StringPtrOutput)
}
// Resource name.
-func (o VirtualNetworkTapResponseOutput) Name() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponse) string { return v.Name }).(pulumi.StringOutput)
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapVirtualNetworkApplianceResponse) string { return v.Name }).(pulumi.StringOutput)
}
// Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
-func (o VirtualNetworkTapResponseOutput) NetworkInterfaceTapConfigurations() NetworkInterfaceTapConfigurationResponseArrayOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponse) []NetworkInterfaceTapConfigurationResponse {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseOutput) NetworkInterfaceTapConfigurations() NetworkInterfaceTapConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v VirtualNetworkTapVirtualNetworkApplianceResponse) []NetworkInterfaceTapConfigurationResponse {
return v.NetworkInterfaceTapConfigurations
}).(NetworkInterfaceTapConfigurationResponseArrayOutput)
}
// The provisioning state of the virtual network tap resource.
-func (o VirtualNetworkTapResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapVirtualNetworkApplianceResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
// The resource GUID property of the virtual network tap resource.
-func (o VirtualNetworkTapResponseOutput) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseOutput) ResourceGuid() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapVirtualNetworkApplianceResponse) string { return v.ResourceGuid }).(pulumi.StringOutput)
}
// Resource tags.
-func (o VirtualNetworkTapResponseOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v VirtualNetworkTapVirtualNetworkApplianceResponse) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
}
// Resource type.
-func (o VirtualNetworkTapResponseOutput) Type() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponse) string { return v.Type }).(pulumi.StringOutput)
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseOutput) Type() pulumi.StringOutput {
+ return o.ApplyT(func(v VirtualNetworkTapVirtualNetworkApplianceResponse) string { return v.Type }).(pulumi.StringOutput)
}
-type VirtualNetworkTapResponsePtrOutput struct{ *pulumi.OutputState }
+type VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput struct{ *pulumi.OutputState }
-func (VirtualNetworkTapResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VirtualNetworkTapResponse)(nil)).Elem()
+func (VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VirtualNetworkTapVirtualNetworkApplianceResponse)(nil)).Elem()
}
-func (o VirtualNetworkTapResponsePtrOutput) ToVirtualNetworkTapResponsePtrOutput() VirtualNetworkTapResponsePtrOutput {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput) ToVirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput() VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput {
return o
}
-func (o VirtualNetworkTapResponsePtrOutput) ToVirtualNetworkTapResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkTapResponsePtrOutput {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput) ToVirtualNetworkTapVirtualNetworkApplianceResponsePtrOutputWithContext(ctx context.Context) VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput {
return o
}
-func (o VirtualNetworkTapResponsePtrOutput) Elem() VirtualNetworkTapResponseOutput {
- return o.ApplyT(func(v *VirtualNetworkTapResponse) VirtualNetworkTapResponse {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput) Elem() VirtualNetworkTapVirtualNetworkApplianceResponseOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapVirtualNetworkApplianceResponse) VirtualNetworkTapVirtualNetworkApplianceResponse {
if v != nil {
return *v
}
- var ret VirtualNetworkTapResponse
+ var ret VirtualNetworkTapVirtualNetworkApplianceResponse
return ret
- }).(VirtualNetworkTapResponseOutput)
+ }).(VirtualNetworkTapVirtualNetworkApplianceResponseOutput)
}
// The reference to the private IP address on the internal Load Balancer that will receive the tap.
-func (o VirtualNetworkTapResponsePtrOutput) DestinationLoadBalancerFrontEndIPConfiguration() FrontendIPConfigurationResponsePtrOutput {
- return o.ApplyT(func(v *VirtualNetworkTapResponse) *FrontendIPConfigurationResponse {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput) DestinationLoadBalancerFrontEndIPConfiguration() FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapVirtualNetworkApplianceResponse) *FrontendIPConfigurationVirtualNetworkApplianceResponse {
if v == nil {
return nil
}
return v.DestinationLoadBalancerFrontEndIPConfiguration
- }).(FrontendIPConfigurationResponsePtrOutput)
+ }).(FrontendIPConfigurationVirtualNetworkApplianceResponsePtrOutput)
}
// The reference to the private IP Address of the collector nic that will receive the tap.
-func (o VirtualNetworkTapResponsePtrOutput) DestinationNetworkInterfaceIPConfiguration() NetworkInterfaceIPConfigurationResponsePtrOutput {
- return o.ApplyT(func(v *VirtualNetworkTapResponse) *NetworkInterfaceIPConfigurationResponse {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput) DestinationNetworkInterfaceIPConfiguration() NetworkInterfaceIPConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapVirtualNetworkApplianceResponse) *NetworkInterfaceIPConfigurationResponse {
if v == nil {
return nil
}
@@ -37678,8 +38483,8 @@ func (o VirtualNetworkTapResponsePtrOutput) DestinationNetworkInterfaceIPConfigu
}
// The VXLAN destination port that will receive the tapped traffic.
-func (o VirtualNetworkTapResponsePtrOutput) DestinationPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkTapResponse) *int {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput) DestinationPort() pulumi.IntPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapVirtualNetworkApplianceResponse) *int {
if v == nil {
return nil
}
@@ -37688,8 +38493,8 @@ func (o VirtualNetworkTapResponsePtrOutput) DestinationPort() pulumi.IntPtrOutpu
}
// A unique read-only string that changes whenever the resource is updated.
-func (o VirtualNetworkTapResponsePtrOutput) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkTapResponse) *string {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput) Etag() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
@@ -37698,8 +38503,8 @@ func (o VirtualNetworkTapResponsePtrOutput) Etag() pulumi.StringPtrOutput {
}
// Resource ID.
-func (o VirtualNetworkTapResponsePtrOutput) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkTapResponse) *string {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput) Id() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
@@ -37708,8 +38513,8 @@ func (o VirtualNetworkTapResponsePtrOutput) Id() pulumi.StringPtrOutput {
}
// Resource location.
-func (o VirtualNetworkTapResponsePtrOutput) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkTapResponse) *string {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput) Location() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
@@ -37718,8 +38523,8 @@ func (o VirtualNetworkTapResponsePtrOutput) Location() pulumi.StringPtrOutput {
}
// Resource name.
-func (o VirtualNetworkTapResponsePtrOutput) Name() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkTapResponse) *string {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput) Name() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
@@ -37728,8 +38533,8 @@ func (o VirtualNetworkTapResponsePtrOutput) Name() pulumi.StringPtrOutput {
}
// Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
-func (o VirtualNetworkTapResponsePtrOutput) NetworkInterfaceTapConfigurations() NetworkInterfaceTapConfigurationResponseArrayOutput {
- return o.ApplyT(func(v *VirtualNetworkTapResponse) []NetworkInterfaceTapConfigurationResponse {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput) NetworkInterfaceTapConfigurations() NetworkInterfaceTapConfigurationResponseArrayOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapVirtualNetworkApplianceResponse) []NetworkInterfaceTapConfigurationResponse {
if v == nil {
return nil
}
@@ -37738,8 +38543,8 @@ func (o VirtualNetworkTapResponsePtrOutput) NetworkInterfaceTapConfigurations()
}
// The provisioning state of the virtual network tap resource.
-func (o VirtualNetworkTapResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkTapResponse) *string {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput) ProvisioningState() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
@@ -37748,8 +38553,8 @@ func (o VirtualNetworkTapResponsePtrOutput) ProvisioningState() pulumi.StringPtr
}
// The resource GUID property of the virtual network tap resource.
-func (o VirtualNetworkTapResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkTapResponse) *string {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
@@ -37758,8 +38563,8 @@ func (o VirtualNetworkTapResponsePtrOutput) ResourceGuid() pulumi.StringPtrOutpu
}
// Resource tags.
-func (o VirtualNetworkTapResponsePtrOutput) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v *VirtualNetworkTapResponse) map[string]string {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput) Tags() pulumi.StringMapOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapVirtualNetworkApplianceResponse) map[string]string {
if v == nil {
return nil
}
@@ -37768,8 +38573,8 @@ func (o VirtualNetworkTapResponsePtrOutput) Tags() pulumi.StringMapOutput {
}
// Resource type.
-func (o VirtualNetworkTapResponsePtrOutput) Type() pulumi.StringPtrOutput {
- return o.ApplyT(func(v *VirtualNetworkTapResponse) *string {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput) Type() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkTapVirtualNetworkApplianceResponse) *string {
if v == nil {
return nil
}
@@ -37777,166 +38582,24 @@ func (o VirtualNetworkTapResponsePtrOutput) Type() pulumi.StringPtrOutput {
}).(pulumi.StringPtrOutput)
}
-type VirtualNetworkTapResponseArrayOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkTapResponseArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkTapResponse)(nil)).Elem()
-}
-
-func (o VirtualNetworkTapResponseArrayOutput) ToVirtualNetworkTapResponseArrayOutput() VirtualNetworkTapResponseArrayOutput {
- return o
-}
-
-func (o VirtualNetworkTapResponseArrayOutput) ToVirtualNetworkTapResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkTapResponseArrayOutput {
- return o
-}
-
-func (o VirtualNetworkTapResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkTapResponseOutput {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkTapResponse {
- return vs[0].([]VirtualNetworkTapResponse)[vs[1].(int)]
- }).(VirtualNetworkTapResponseOutput)
-}
+type VirtualNetworkTapVirtualNetworkApplianceResponseArrayOutput struct{ *pulumi.OutputState }
-// Virtual Network Tap resource
-type VirtualNetworkTapResponseV1 struct {
- // The reference to the private IP address on the internal Load Balancer that will receive the tap
- DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfigurationResponseV1 `pulumi:"destinationLoadBalancerFrontEndIPConfiguration"`
- // The reference to the private IP Address of the collector nic that will receive the tap
- DestinationNetworkInterfaceIPConfiguration *NetworkInterfaceIPConfigurationResponse `pulumi:"destinationNetworkInterfaceIPConfiguration"`
- // The VXLAN destination port that will receive the tapped traffic.
- DestinationPort *int `pulumi:"destinationPort"`
- // Gets a unique read-only string that changes whenever the resource is updated.
- Etag *string `pulumi:"etag"`
- // Resource ID.
- Id *string `pulumi:"id"`
- // Resource location.
- Location *string `pulumi:"location"`
- // Resource name.
- Name string `pulumi:"name"`
- // Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
- NetworkInterfaceTapConfigurations []NetworkInterfaceTapConfigurationResponseV1 `pulumi:"networkInterfaceTapConfigurations"`
- // The provisioning state of the virtual network tap. Possible values are: 'Updating', 'Deleting', and 'Failed'.
- ProvisioningState string `pulumi:"provisioningState"`
- // The resourceGuid property of the virtual network tap.
- ResourceGuid string `pulumi:"resourceGuid"`
- // Resource tags.
- Tags map[string]string `pulumi:"tags"`
- // Resource type.
- Type string `pulumi:"type"`
+func (VirtualNetworkTapVirtualNetworkApplianceResponseArrayOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*[]VirtualNetworkTapVirtualNetworkApplianceResponse)(nil)).Elem()
}
-// Defaults sets the appropriate defaults for VirtualNetworkTapResponseV1
-func (val *VirtualNetworkTapResponseV1) Defaults() *VirtualNetworkTapResponseV1 {
- if val == nil {
- return nil
- }
- tmp := *val
- tmp.DestinationLoadBalancerFrontEndIPConfiguration = tmp.DestinationLoadBalancerFrontEndIPConfiguration.Defaults()
-
- tmp.DestinationNetworkInterfaceIPConfiguration = tmp.DestinationNetworkInterfaceIPConfiguration.Defaults()
-
- return &tmp
-}
-
-// Virtual Network Tap resource
-type VirtualNetworkTapResponseV1Output struct{ *pulumi.OutputState }
-
-func (VirtualNetworkTapResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*VirtualNetworkTapResponseV1)(nil)).Elem()
-}
-
-func (o VirtualNetworkTapResponseV1Output) ToVirtualNetworkTapResponseV1Output() VirtualNetworkTapResponseV1Output {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseArrayOutput) ToVirtualNetworkTapVirtualNetworkApplianceResponseArrayOutput() VirtualNetworkTapVirtualNetworkApplianceResponseArrayOutput {
return o
}
-func (o VirtualNetworkTapResponseV1Output) ToVirtualNetworkTapResponseV1OutputWithContext(ctx context.Context) VirtualNetworkTapResponseV1Output {
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseArrayOutput) ToVirtualNetworkTapVirtualNetworkApplianceResponseArrayOutputWithContext(ctx context.Context) VirtualNetworkTapVirtualNetworkApplianceResponseArrayOutput {
return o
}
-// The reference to the private IP address on the internal Load Balancer that will receive the tap
-func (o VirtualNetworkTapResponseV1Output) DestinationLoadBalancerFrontEndIPConfiguration() FrontendIPConfigurationResponseV1PtrOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponseV1) *FrontendIPConfigurationResponseV1 {
- return v.DestinationLoadBalancerFrontEndIPConfiguration
- }).(FrontendIPConfigurationResponseV1PtrOutput)
-}
-
-// The reference to the private IP Address of the collector nic that will receive the tap
-func (o VirtualNetworkTapResponseV1Output) DestinationNetworkInterfaceIPConfiguration() NetworkInterfaceIPConfigurationResponsePtrOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponseV1) *NetworkInterfaceIPConfigurationResponse {
- return v.DestinationNetworkInterfaceIPConfiguration
- }).(NetworkInterfaceIPConfigurationResponsePtrOutput)
-}
-
-// The VXLAN destination port that will receive the tapped traffic.
-func (o VirtualNetworkTapResponseV1Output) DestinationPort() pulumi.IntPtrOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponseV1) *int { return v.DestinationPort }).(pulumi.IntPtrOutput)
-}
-
-// Gets a unique read-only string that changes whenever the resource is updated.
-func (o VirtualNetworkTapResponseV1Output) Etag() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponseV1) *string { return v.Etag }).(pulumi.StringPtrOutput)
-}
-
-// Resource ID.
-func (o VirtualNetworkTapResponseV1Output) Id() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponseV1) *string { return v.Id }).(pulumi.StringPtrOutput)
-}
-
-// Resource location.
-func (o VirtualNetworkTapResponseV1Output) Location() pulumi.StringPtrOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponseV1) *string { return v.Location }).(pulumi.StringPtrOutput)
-}
-
-// Resource name.
-func (o VirtualNetworkTapResponseV1Output) Name() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponseV1) string { return v.Name }).(pulumi.StringOutput)
-}
-
-// Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
-func (o VirtualNetworkTapResponseV1Output) NetworkInterfaceTapConfigurations() NetworkInterfaceTapConfigurationResponseV1ArrayOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponseV1) []NetworkInterfaceTapConfigurationResponseV1 {
- return v.NetworkInterfaceTapConfigurations
- }).(NetworkInterfaceTapConfigurationResponseV1ArrayOutput)
-}
-
-// The provisioning state of the virtual network tap. Possible values are: 'Updating', 'Deleting', and 'Failed'.
-func (o VirtualNetworkTapResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
-}
-
-// The resourceGuid property of the virtual network tap.
-func (o VirtualNetworkTapResponseV1Output) ResourceGuid() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponseV1) string { return v.ResourceGuid }).(pulumi.StringOutput)
-}
-
-// Resource tags.
-func (o VirtualNetworkTapResponseV1Output) Tags() pulumi.StringMapOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponseV1) map[string]string { return v.Tags }).(pulumi.StringMapOutput)
-}
-
-// Resource type.
-func (o VirtualNetworkTapResponseV1Output) Type() pulumi.StringOutput {
- return o.ApplyT(func(v VirtualNetworkTapResponseV1) string { return v.Type }).(pulumi.StringOutput)
-}
-
-type VirtualNetworkTapResponseV1ArrayOutput struct{ *pulumi.OutputState }
-
-func (VirtualNetworkTapResponseV1ArrayOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*[]VirtualNetworkTapResponseV1)(nil)).Elem()
-}
-
-func (o VirtualNetworkTapResponseV1ArrayOutput) ToVirtualNetworkTapResponseV1ArrayOutput() VirtualNetworkTapResponseV1ArrayOutput {
- return o
-}
-
-func (o VirtualNetworkTapResponseV1ArrayOutput) ToVirtualNetworkTapResponseV1ArrayOutputWithContext(ctx context.Context) VirtualNetworkTapResponseV1ArrayOutput {
- return o
-}
-
-func (o VirtualNetworkTapResponseV1ArrayOutput) Index(i pulumi.IntInput) VirtualNetworkTapResponseV1Output {
- return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkTapResponseV1 {
- return vs[0].([]VirtualNetworkTapResponseV1)[vs[1].(int)]
- }).(VirtualNetworkTapResponseV1Output)
+func (o VirtualNetworkTapVirtualNetworkApplianceResponseArrayOutput) Index(i pulumi.IntInput) VirtualNetworkTapVirtualNetworkApplianceResponseOutput {
+ return pulumi.All(o, i).ApplyT(func(vs []interface{}) VirtualNetworkTapVirtualNetworkApplianceResponse {
+ return vs[0].([]VirtualNetworkTapVirtualNetworkApplianceResponse)[vs[1].(int)]
+ }).(VirtualNetworkTapVirtualNetworkApplianceResponseOutput)
}
// The VirtualHub Router autoscale configuration.
@@ -38299,82 +38962,84 @@ func (o VnetRoutePtrOutput) StaticRoutesConfig() StaticRoutesConfigPtrOutput {
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponse struct {
+type VnetRouteExpressRouteConnectionResponse struct {
// The list of references to HubBgpConnection objects.
- BgpConnections []CommonSubResourceResponse `pulumi:"bgpConnections"`
+ BgpConnections []SubResourceResponse `pulumi:"bgpConnections"`
// List of all Static Routes.
StaticRoutes []StaticRouteResponse `pulumi:"staticRoutes"`
// Configuration for static routes on this HubVnetConnection.
- StaticRoutesConfig *StaticRoutesConfigResponse `pulumi:"staticRoutesConfig"`
+ StaticRoutesConfig *StaticRoutesConfigExpressRouteConnectionResponse `pulumi:"staticRoutesConfig"`
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseOutput struct{ *pulumi.OutputState }
+type VnetRouteExpressRouteConnectionResponseOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*VnetRouteResponse)(nil)).Elem()
+func (VnetRouteExpressRouteConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VnetRouteExpressRouteConnectionResponse)(nil)).Elem()
}
-func (o VnetRouteResponseOutput) ToVnetRouteResponseOutput() VnetRouteResponseOutput {
+func (o VnetRouteExpressRouteConnectionResponseOutput) ToVnetRouteExpressRouteConnectionResponseOutput() VnetRouteExpressRouteConnectionResponseOutput {
return o
}
-func (o VnetRouteResponseOutput) ToVnetRouteResponseOutputWithContext(ctx context.Context) VnetRouteResponseOutput {
+func (o VnetRouteExpressRouteConnectionResponseOutput) ToVnetRouteExpressRouteConnectionResponseOutputWithContext(ctx context.Context) VnetRouteExpressRouteConnectionResponseOutput {
return o
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseOutput) BgpConnections() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponse) []CommonSubResourceResponse { return v.BgpConnections }).(CommonSubResourceResponseArrayOutput)
+func (o VnetRouteExpressRouteConnectionResponseOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteExpressRouteConnectionResponse) []SubResourceResponse { return v.BgpConnections }).(SubResourceResponseArrayOutput)
}
// List of all Static Routes.
-func (o VnetRouteResponseOutput) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponse) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
+func (o VnetRouteExpressRouteConnectionResponseOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteExpressRouteConnectionResponse) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseOutput) StaticRoutesConfig() StaticRoutesConfigResponsePtrOutput {
- return o.ApplyT(func(v VnetRouteResponse) *StaticRoutesConfigResponse { return v.StaticRoutesConfig }).(StaticRoutesConfigResponsePtrOutput)
+func (o VnetRouteExpressRouteConnectionResponseOutput) StaticRoutesConfig() StaticRoutesConfigExpressRouteConnectionResponsePtrOutput {
+ return o.ApplyT(func(v VnetRouteExpressRouteConnectionResponse) *StaticRoutesConfigExpressRouteConnectionResponse {
+ return v.StaticRoutesConfig
+ }).(StaticRoutesConfigExpressRouteConnectionResponsePtrOutput)
}
-type VnetRouteResponsePtrOutput struct{ *pulumi.OutputState }
+type VnetRouteExpressRouteConnectionResponsePtrOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponsePtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VnetRouteResponse)(nil)).Elem()
+func (VnetRouteExpressRouteConnectionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VnetRouteExpressRouteConnectionResponse)(nil)).Elem()
}
-func (o VnetRouteResponsePtrOutput) ToVnetRouteResponsePtrOutput() VnetRouteResponsePtrOutput {
+func (o VnetRouteExpressRouteConnectionResponsePtrOutput) ToVnetRouteExpressRouteConnectionResponsePtrOutput() VnetRouteExpressRouteConnectionResponsePtrOutput {
return o
}
-func (o VnetRouteResponsePtrOutput) ToVnetRouteResponsePtrOutputWithContext(ctx context.Context) VnetRouteResponsePtrOutput {
+func (o VnetRouteExpressRouteConnectionResponsePtrOutput) ToVnetRouteExpressRouteConnectionResponsePtrOutputWithContext(ctx context.Context) VnetRouteExpressRouteConnectionResponsePtrOutput {
return o
}
-func (o VnetRouteResponsePtrOutput) Elem() VnetRouteResponseOutput {
- return o.ApplyT(func(v *VnetRouteResponse) VnetRouteResponse {
+func (o VnetRouteExpressRouteConnectionResponsePtrOutput) Elem() VnetRouteExpressRouteConnectionResponseOutput {
+ return o.ApplyT(func(v *VnetRouteExpressRouteConnectionResponse) VnetRouteExpressRouteConnectionResponse {
if v != nil {
return *v
}
- var ret VnetRouteResponse
+ var ret VnetRouteExpressRouteConnectionResponse
return ret
- }).(VnetRouteResponseOutput)
+ }).(VnetRouteExpressRouteConnectionResponseOutput)
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponsePtrOutput) BgpConnections() CommonSubResourceResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponse) []CommonSubResourceResponse {
+func (o VnetRouteExpressRouteConnectionResponsePtrOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteExpressRouteConnectionResponse) []SubResourceResponse {
if v == nil {
return nil
}
return v.BgpConnections
- }).(CommonSubResourceResponseArrayOutput)
+ }).(SubResourceResponseArrayOutput)
}
// List of all Static Routes.
-func (o VnetRouteResponsePtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponse) []StaticRouteResponse {
+func (o VnetRouteExpressRouteConnectionResponsePtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteExpressRouteConnectionResponse) []StaticRouteResponse {
if v == nil {
return nil
}
@@ -38383,82 +39048,84 @@ func (o VnetRouteResponsePtrOutput) StaticRoutes() StaticRouteResponseArrayOutpu
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponsePtrOutput) StaticRoutesConfig() StaticRoutesConfigResponsePtrOutput {
- return o.ApplyT(func(v *VnetRouteResponse) *StaticRoutesConfigResponse {
+func (o VnetRouteExpressRouteConnectionResponsePtrOutput) StaticRoutesConfig() StaticRoutesConfigExpressRouteConnectionResponsePtrOutput {
+ return o.ApplyT(func(v *VnetRouteExpressRouteConnectionResponse) *StaticRoutesConfigExpressRouteConnectionResponse {
if v == nil {
return nil
}
return v.StaticRoutesConfig
- }).(StaticRoutesConfigResponsePtrOutput)
+ }).(StaticRoutesConfigExpressRouteConnectionResponsePtrOutput)
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseV1 struct {
+type VnetRouteExpressRouteGatewayResponse struct {
// The list of references to HubBgpConnection objects.
BgpConnections []SubResourceResponse `pulumi:"bgpConnections"`
// List of all Static Routes.
StaticRoutes []StaticRouteResponse `pulumi:"staticRoutes"`
// Configuration for static routes on this HubVnetConnection.
- StaticRoutesConfig *StaticRoutesConfigResponseV1 `pulumi:"staticRoutesConfig"`
+ StaticRoutesConfig *StaticRoutesConfigExpressRouteGatewayResponse `pulumi:"staticRoutesConfig"`
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseV1Output struct{ *pulumi.OutputState }
+type VnetRouteExpressRouteGatewayResponseOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*VnetRouteResponseV1)(nil)).Elem()
+func (VnetRouteExpressRouteGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VnetRouteExpressRouteGatewayResponse)(nil)).Elem()
}
-func (o VnetRouteResponseV1Output) ToVnetRouteResponseV1Output() VnetRouteResponseV1Output {
+func (o VnetRouteExpressRouteGatewayResponseOutput) ToVnetRouteExpressRouteGatewayResponseOutput() VnetRouteExpressRouteGatewayResponseOutput {
return o
}
-func (o VnetRouteResponseV1Output) ToVnetRouteResponseV1OutputWithContext(ctx context.Context) VnetRouteResponseV1Output {
+func (o VnetRouteExpressRouteGatewayResponseOutput) ToVnetRouteExpressRouteGatewayResponseOutputWithContext(ctx context.Context) VnetRouteExpressRouteGatewayResponseOutput {
return o
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseV1Output) BgpConnections() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponseV1) []SubResourceResponse { return v.BgpConnections }).(SubResourceResponseArrayOutput)
+func (o VnetRouteExpressRouteGatewayResponseOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteExpressRouteGatewayResponse) []SubResourceResponse { return v.BgpConnections }).(SubResourceResponseArrayOutput)
}
// List of all Static Routes.
-func (o VnetRouteResponseV1Output) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponseV1) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
+func (o VnetRouteExpressRouteGatewayResponseOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteExpressRouteGatewayResponse) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseV1Output) StaticRoutesConfig() StaticRoutesConfigResponseV1PtrOutput {
- return o.ApplyT(func(v VnetRouteResponseV1) *StaticRoutesConfigResponseV1 { return v.StaticRoutesConfig }).(StaticRoutesConfigResponseV1PtrOutput)
+func (o VnetRouteExpressRouteGatewayResponseOutput) StaticRoutesConfig() StaticRoutesConfigExpressRouteGatewayResponsePtrOutput {
+ return o.ApplyT(func(v VnetRouteExpressRouteGatewayResponse) *StaticRoutesConfigExpressRouteGatewayResponse {
+ return v.StaticRoutesConfig
+ }).(StaticRoutesConfigExpressRouteGatewayResponsePtrOutput)
}
-type VnetRouteResponseV1PtrOutput struct{ *pulumi.OutputState }
+type VnetRouteExpressRouteGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseV1PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VnetRouteResponseV1)(nil)).Elem()
+func (VnetRouteExpressRouteGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VnetRouteExpressRouteGatewayResponse)(nil)).Elem()
}
-func (o VnetRouteResponseV1PtrOutput) ToVnetRouteResponseV1PtrOutput() VnetRouteResponseV1PtrOutput {
+func (o VnetRouteExpressRouteGatewayResponsePtrOutput) ToVnetRouteExpressRouteGatewayResponsePtrOutput() VnetRouteExpressRouteGatewayResponsePtrOutput {
return o
}
-func (o VnetRouteResponseV1PtrOutput) ToVnetRouteResponseV1PtrOutputWithContext(ctx context.Context) VnetRouteResponseV1PtrOutput {
+func (o VnetRouteExpressRouteGatewayResponsePtrOutput) ToVnetRouteExpressRouteGatewayResponsePtrOutputWithContext(ctx context.Context) VnetRouteExpressRouteGatewayResponsePtrOutput {
return o
}
-func (o VnetRouteResponseV1PtrOutput) Elem() VnetRouteResponseV1Output {
- return o.ApplyT(func(v *VnetRouteResponseV1) VnetRouteResponseV1 {
+func (o VnetRouteExpressRouteGatewayResponsePtrOutput) Elem() VnetRouteExpressRouteGatewayResponseOutput {
+ return o.ApplyT(func(v *VnetRouteExpressRouteGatewayResponse) VnetRouteExpressRouteGatewayResponse {
if v != nil {
return *v
}
- var ret VnetRouteResponseV1
+ var ret VnetRouteExpressRouteGatewayResponse
return ret
- }).(VnetRouteResponseV1Output)
+ }).(VnetRouteExpressRouteGatewayResponseOutput)
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseV1PtrOutput) BgpConnections() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponseV1) []SubResourceResponse {
+func (o VnetRouteExpressRouteGatewayResponsePtrOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteExpressRouteGatewayResponse) []SubResourceResponse {
if v == nil {
return nil
}
@@ -38467,8 +39134,8 @@ func (o VnetRouteResponseV1PtrOutput) BgpConnections() SubResourceResponseArrayO
}
// List of all Static Routes.
-func (o VnetRouteResponseV1PtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponseV1) []StaticRouteResponse {
+func (o VnetRouteExpressRouteGatewayResponsePtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteExpressRouteGatewayResponse) []StaticRouteResponse {
if v == nil {
return nil
}
@@ -38477,82 +39144,84 @@ func (o VnetRouteResponseV1PtrOutput) StaticRoutes() StaticRouteResponseArrayOut
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseV1PtrOutput) StaticRoutesConfig() StaticRoutesConfigResponseV1PtrOutput {
- return o.ApplyT(func(v *VnetRouteResponseV1) *StaticRoutesConfigResponseV1 {
+func (o VnetRouteExpressRouteGatewayResponsePtrOutput) StaticRoutesConfig() StaticRoutesConfigExpressRouteGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *VnetRouteExpressRouteGatewayResponse) *StaticRoutesConfigExpressRouteGatewayResponse {
if v == nil {
return nil
}
return v.StaticRoutesConfig
- }).(StaticRoutesConfigResponseV1PtrOutput)
+ }).(StaticRoutesConfigExpressRouteGatewayResponsePtrOutput)
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseV2 struct {
+type VnetRouteHubVirtualNetworkConnectionResponse struct {
// The list of references to HubBgpConnection objects.
BgpConnections []SubResourceResponse `pulumi:"bgpConnections"`
// List of all Static Routes.
StaticRoutes []StaticRouteResponse `pulumi:"staticRoutes"`
// Configuration for static routes on this HubVnetConnection.
- StaticRoutesConfig *StaticRoutesConfigResponseV2 `pulumi:"staticRoutesConfig"`
+ StaticRoutesConfig *StaticRoutesConfigHubVirtualNetworkConnectionResponse `pulumi:"staticRoutesConfig"`
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseV2Output struct{ *pulumi.OutputState }
+type VnetRouteHubVirtualNetworkConnectionResponseOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseV2Output) ElementType() reflect.Type {
- return reflect.TypeOf((*VnetRouteResponseV2)(nil)).Elem()
+func (VnetRouteHubVirtualNetworkConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VnetRouteHubVirtualNetworkConnectionResponse)(nil)).Elem()
}
-func (o VnetRouteResponseV2Output) ToVnetRouteResponseV2Output() VnetRouteResponseV2Output {
+func (o VnetRouteHubVirtualNetworkConnectionResponseOutput) ToVnetRouteHubVirtualNetworkConnectionResponseOutput() VnetRouteHubVirtualNetworkConnectionResponseOutput {
return o
}
-func (o VnetRouteResponseV2Output) ToVnetRouteResponseV2OutputWithContext(ctx context.Context) VnetRouteResponseV2Output {
+func (o VnetRouteHubVirtualNetworkConnectionResponseOutput) ToVnetRouteHubVirtualNetworkConnectionResponseOutputWithContext(ctx context.Context) VnetRouteHubVirtualNetworkConnectionResponseOutput {
return o
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseV2Output) BgpConnections() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponseV2) []SubResourceResponse { return v.BgpConnections }).(SubResourceResponseArrayOutput)
+func (o VnetRouteHubVirtualNetworkConnectionResponseOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteHubVirtualNetworkConnectionResponse) []SubResourceResponse { return v.BgpConnections }).(SubResourceResponseArrayOutput)
}
// List of all Static Routes.
-func (o VnetRouteResponseV2Output) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponseV2) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
+func (o VnetRouteHubVirtualNetworkConnectionResponseOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteHubVirtualNetworkConnectionResponse) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseV2Output) StaticRoutesConfig() StaticRoutesConfigResponseV2PtrOutput {
- return o.ApplyT(func(v VnetRouteResponseV2) *StaticRoutesConfigResponseV2 { return v.StaticRoutesConfig }).(StaticRoutesConfigResponseV2PtrOutput)
+func (o VnetRouteHubVirtualNetworkConnectionResponseOutput) StaticRoutesConfig() StaticRoutesConfigHubVirtualNetworkConnectionResponsePtrOutput {
+ return o.ApplyT(func(v VnetRouteHubVirtualNetworkConnectionResponse) *StaticRoutesConfigHubVirtualNetworkConnectionResponse {
+ return v.StaticRoutesConfig
+ }).(StaticRoutesConfigHubVirtualNetworkConnectionResponsePtrOutput)
}
-type VnetRouteResponseV2PtrOutput struct{ *pulumi.OutputState }
+type VnetRouteHubVirtualNetworkConnectionResponsePtrOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseV2PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VnetRouteResponseV2)(nil)).Elem()
+func (VnetRouteHubVirtualNetworkConnectionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VnetRouteHubVirtualNetworkConnectionResponse)(nil)).Elem()
}
-func (o VnetRouteResponseV2PtrOutput) ToVnetRouteResponseV2PtrOutput() VnetRouteResponseV2PtrOutput {
+func (o VnetRouteHubVirtualNetworkConnectionResponsePtrOutput) ToVnetRouteHubVirtualNetworkConnectionResponsePtrOutput() VnetRouteHubVirtualNetworkConnectionResponsePtrOutput {
return o
}
-func (o VnetRouteResponseV2PtrOutput) ToVnetRouteResponseV2PtrOutputWithContext(ctx context.Context) VnetRouteResponseV2PtrOutput {
+func (o VnetRouteHubVirtualNetworkConnectionResponsePtrOutput) ToVnetRouteHubVirtualNetworkConnectionResponsePtrOutputWithContext(ctx context.Context) VnetRouteHubVirtualNetworkConnectionResponsePtrOutput {
return o
}
-func (o VnetRouteResponseV2PtrOutput) Elem() VnetRouteResponseV2Output {
- return o.ApplyT(func(v *VnetRouteResponseV2) VnetRouteResponseV2 {
+func (o VnetRouteHubVirtualNetworkConnectionResponsePtrOutput) Elem() VnetRouteHubVirtualNetworkConnectionResponseOutput {
+ return o.ApplyT(func(v *VnetRouteHubVirtualNetworkConnectionResponse) VnetRouteHubVirtualNetworkConnectionResponse {
if v != nil {
return *v
}
- var ret VnetRouteResponseV2
+ var ret VnetRouteHubVirtualNetworkConnectionResponse
return ret
- }).(VnetRouteResponseV2Output)
+ }).(VnetRouteHubVirtualNetworkConnectionResponseOutput)
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseV2PtrOutput) BgpConnections() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponseV2) []SubResourceResponse {
+func (o VnetRouteHubVirtualNetworkConnectionResponsePtrOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteHubVirtualNetworkConnectionResponse) []SubResourceResponse {
if v == nil {
return nil
}
@@ -38561,8 +39230,8 @@ func (o VnetRouteResponseV2PtrOutput) BgpConnections() SubResourceResponseArrayO
}
// List of all Static Routes.
-func (o VnetRouteResponseV2PtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponseV2) []StaticRouteResponse {
+func (o VnetRouteHubVirtualNetworkConnectionResponsePtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteHubVirtualNetworkConnectionResponse) []StaticRouteResponse {
if v == nil {
return nil
}
@@ -38571,82 +39240,88 @@ func (o VnetRouteResponseV2PtrOutput) StaticRoutes() StaticRouteResponseArrayOut
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseV2PtrOutput) StaticRoutesConfig() StaticRoutesConfigResponseV2PtrOutput {
- return o.ApplyT(func(v *VnetRouteResponseV2) *StaticRoutesConfigResponseV2 {
+func (o VnetRouteHubVirtualNetworkConnectionResponsePtrOutput) StaticRoutesConfig() StaticRoutesConfigHubVirtualNetworkConnectionResponsePtrOutput {
+ return o.ApplyT(func(v *VnetRouteHubVirtualNetworkConnectionResponse) *StaticRoutesConfigHubVirtualNetworkConnectionResponse {
if v == nil {
return nil
}
return v.StaticRoutesConfig
- }).(StaticRoutesConfigResponseV2PtrOutput)
+ }).(StaticRoutesConfigHubVirtualNetworkConnectionResponsePtrOutput)
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseV3 struct {
+type VnetRouteNetworkVirtualApplianceConnectionResponse struct {
// The list of references to HubBgpConnection objects.
BgpConnections []SubResourceResponse `pulumi:"bgpConnections"`
// List of all Static Routes.
StaticRoutes []StaticRouteResponse `pulumi:"staticRoutes"`
// Configuration for static routes on this HubVnetConnection.
- StaticRoutesConfig *StaticRoutesConfigResponseV3 `pulumi:"staticRoutesConfig"`
+ StaticRoutesConfig *StaticRoutesConfigNetworkVirtualApplianceConnectionResponse `pulumi:"staticRoutesConfig"`
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseV3Output struct{ *pulumi.OutputState }
+type VnetRouteNetworkVirtualApplianceConnectionResponseOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseV3Output) ElementType() reflect.Type {
- return reflect.TypeOf((*VnetRouteResponseV3)(nil)).Elem()
+func (VnetRouteNetworkVirtualApplianceConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VnetRouteNetworkVirtualApplianceConnectionResponse)(nil)).Elem()
}
-func (o VnetRouteResponseV3Output) ToVnetRouteResponseV3Output() VnetRouteResponseV3Output {
+func (o VnetRouteNetworkVirtualApplianceConnectionResponseOutput) ToVnetRouteNetworkVirtualApplianceConnectionResponseOutput() VnetRouteNetworkVirtualApplianceConnectionResponseOutput {
return o
}
-func (o VnetRouteResponseV3Output) ToVnetRouteResponseV3OutputWithContext(ctx context.Context) VnetRouteResponseV3Output {
+func (o VnetRouteNetworkVirtualApplianceConnectionResponseOutput) ToVnetRouteNetworkVirtualApplianceConnectionResponseOutputWithContext(ctx context.Context) VnetRouteNetworkVirtualApplianceConnectionResponseOutput {
return o
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseV3Output) BgpConnections() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponseV3) []SubResourceResponse { return v.BgpConnections }).(SubResourceResponseArrayOutput)
+func (o VnetRouteNetworkVirtualApplianceConnectionResponseOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteNetworkVirtualApplianceConnectionResponse) []SubResourceResponse {
+ return v.BgpConnections
+ }).(SubResourceResponseArrayOutput)
}
// List of all Static Routes.
-func (o VnetRouteResponseV3Output) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponseV3) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
+func (o VnetRouteNetworkVirtualApplianceConnectionResponseOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteNetworkVirtualApplianceConnectionResponse) []StaticRouteResponse {
+ return v.StaticRoutes
+ }).(StaticRouteResponseArrayOutput)
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseV3Output) StaticRoutesConfig() StaticRoutesConfigResponseV3PtrOutput {
- return o.ApplyT(func(v VnetRouteResponseV3) *StaticRoutesConfigResponseV3 { return v.StaticRoutesConfig }).(StaticRoutesConfigResponseV3PtrOutput)
+func (o VnetRouteNetworkVirtualApplianceConnectionResponseOutput) StaticRoutesConfig() StaticRoutesConfigNetworkVirtualApplianceConnectionResponsePtrOutput {
+ return o.ApplyT(func(v VnetRouteNetworkVirtualApplianceConnectionResponse) *StaticRoutesConfigNetworkVirtualApplianceConnectionResponse {
+ return v.StaticRoutesConfig
+ }).(StaticRoutesConfigNetworkVirtualApplianceConnectionResponsePtrOutput)
}
-type VnetRouteResponseV3PtrOutput struct{ *pulumi.OutputState }
+type VnetRouteNetworkVirtualApplianceConnectionResponsePtrOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseV3PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VnetRouteResponseV3)(nil)).Elem()
+func (VnetRouteNetworkVirtualApplianceConnectionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VnetRouteNetworkVirtualApplianceConnectionResponse)(nil)).Elem()
}
-func (o VnetRouteResponseV3PtrOutput) ToVnetRouteResponseV3PtrOutput() VnetRouteResponseV3PtrOutput {
+func (o VnetRouteNetworkVirtualApplianceConnectionResponsePtrOutput) ToVnetRouteNetworkVirtualApplianceConnectionResponsePtrOutput() VnetRouteNetworkVirtualApplianceConnectionResponsePtrOutput {
return o
}
-func (o VnetRouteResponseV3PtrOutput) ToVnetRouteResponseV3PtrOutputWithContext(ctx context.Context) VnetRouteResponseV3PtrOutput {
+func (o VnetRouteNetworkVirtualApplianceConnectionResponsePtrOutput) ToVnetRouteNetworkVirtualApplianceConnectionResponsePtrOutputWithContext(ctx context.Context) VnetRouteNetworkVirtualApplianceConnectionResponsePtrOutput {
return o
}
-func (o VnetRouteResponseV3PtrOutput) Elem() VnetRouteResponseV3Output {
- return o.ApplyT(func(v *VnetRouteResponseV3) VnetRouteResponseV3 {
+func (o VnetRouteNetworkVirtualApplianceConnectionResponsePtrOutput) Elem() VnetRouteNetworkVirtualApplianceConnectionResponseOutput {
+ return o.ApplyT(func(v *VnetRouteNetworkVirtualApplianceConnectionResponse) VnetRouteNetworkVirtualApplianceConnectionResponse {
if v != nil {
return *v
}
- var ret VnetRouteResponseV3
+ var ret VnetRouteNetworkVirtualApplianceConnectionResponse
return ret
- }).(VnetRouteResponseV3Output)
+ }).(VnetRouteNetworkVirtualApplianceConnectionResponseOutput)
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseV3PtrOutput) BgpConnections() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponseV3) []SubResourceResponse {
+func (o VnetRouteNetworkVirtualApplianceConnectionResponsePtrOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteNetworkVirtualApplianceConnectionResponse) []SubResourceResponse {
if v == nil {
return nil
}
@@ -38655,8 +39330,8 @@ func (o VnetRouteResponseV3PtrOutput) BgpConnections() SubResourceResponseArrayO
}
// List of all Static Routes.
-func (o VnetRouteResponseV3PtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponseV3) []StaticRouteResponse {
+func (o VnetRouteNetworkVirtualApplianceConnectionResponsePtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteNetworkVirtualApplianceConnectionResponse) []StaticRouteResponse {
if v == nil {
return nil
}
@@ -38665,82 +39340,84 @@ func (o VnetRouteResponseV3PtrOutput) StaticRoutes() StaticRouteResponseArrayOut
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseV3PtrOutput) StaticRoutesConfig() StaticRoutesConfigResponseV3PtrOutput {
- return o.ApplyT(func(v *VnetRouteResponseV3) *StaticRoutesConfigResponseV3 {
+func (o VnetRouteNetworkVirtualApplianceConnectionResponsePtrOutput) StaticRoutesConfig() StaticRoutesConfigNetworkVirtualApplianceConnectionResponsePtrOutput {
+ return o.ApplyT(func(v *VnetRouteNetworkVirtualApplianceConnectionResponse) *StaticRoutesConfigNetworkVirtualApplianceConnectionResponse {
if v == nil {
return nil
}
return v.StaticRoutesConfig
- }).(StaticRoutesConfigResponseV3PtrOutput)
+ }).(StaticRoutesConfigNetworkVirtualApplianceConnectionResponsePtrOutput)
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseV5 struct {
+type VnetRouteP2sVpnGatewayResponse struct {
// The list of references to HubBgpConnection objects.
BgpConnections []SubResourceResponse `pulumi:"bgpConnections"`
// List of all Static Routes.
StaticRoutes []StaticRouteResponse `pulumi:"staticRoutes"`
// Configuration for static routes on this HubVnetConnection.
- StaticRoutesConfig *StaticRoutesConfigResponseV5 `pulumi:"staticRoutesConfig"`
+ StaticRoutesConfig *StaticRoutesConfigP2sVpnGatewayResponse `pulumi:"staticRoutesConfig"`
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseV5Output struct{ *pulumi.OutputState }
+type VnetRouteP2sVpnGatewayResponseOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseV5Output) ElementType() reflect.Type {
- return reflect.TypeOf((*VnetRouteResponseV5)(nil)).Elem()
+func (VnetRouteP2sVpnGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VnetRouteP2sVpnGatewayResponse)(nil)).Elem()
}
-func (o VnetRouteResponseV5Output) ToVnetRouteResponseV5Output() VnetRouteResponseV5Output {
+func (o VnetRouteP2sVpnGatewayResponseOutput) ToVnetRouteP2sVpnGatewayResponseOutput() VnetRouteP2sVpnGatewayResponseOutput {
return o
}
-func (o VnetRouteResponseV5Output) ToVnetRouteResponseV5OutputWithContext(ctx context.Context) VnetRouteResponseV5Output {
+func (o VnetRouteP2sVpnGatewayResponseOutput) ToVnetRouteP2sVpnGatewayResponseOutputWithContext(ctx context.Context) VnetRouteP2sVpnGatewayResponseOutput {
return o
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseV5Output) BgpConnections() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponseV5) []SubResourceResponse { return v.BgpConnections }).(SubResourceResponseArrayOutput)
+func (o VnetRouteP2sVpnGatewayResponseOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteP2sVpnGatewayResponse) []SubResourceResponse { return v.BgpConnections }).(SubResourceResponseArrayOutput)
}
// List of all Static Routes.
-func (o VnetRouteResponseV5Output) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponseV5) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
+func (o VnetRouteP2sVpnGatewayResponseOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteP2sVpnGatewayResponse) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseV5Output) StaticRoutesConfig() StaticRoutesConfigResponseV5PtrOutput {
- return o.ApplyT(func(v VnetRouteResponseV5) *StaticRoutesConfigResponseV5 { return v.StaticRoutesConfig }).(StaticRoutesConfigResponseV5PtrOutput)
+func (o VnetRouteP2sVpnGatewayResponseOutput) StaticRoutesConfig() StaticRoutesConfigP2sVpnGatewayResponsePtrOutput {
+ return o.ApplyT(func(v VnetRouteP2sVpnGatewayResponse) *StaticRoutesConfigP2sVpnGatewayResponse {
+ return v.StaticRoutesConfig
+ }).(StaticRoutesConfigP2sVpnGatewayResponsePtrOutput)
}
-type VnetRouteResponseV5PtrOutput struct{ *pulumi.OutputState }
+type VnetRouteP2sVpnGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseV5PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VnetRouteResponseV5)(nil)).Elem()
+func (VnetRouteP2sVpnGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VnetRouteP2sVpnGatewayResponse)(nil)).Elem()
}
-func (o VnetRouteResponseV5PtrOutput) ToVnetRouteResponseV5PtrOutput() VnetRouteResponseV5PtrOutput {
+func (o VnetRouteP2sVpnGatewayResponsePtrOutput) ToVnetRouteP2sVpnGatewayResponsePtrOutput() VnetRouteP2sVpnGatewayResponsePtrOutput {
return o
}
-func (o VnetRouteResponseV5PtrOutput) ToVnetRouteResponseV5PtrOutputWithContext(ctx context.Context) VnetRouteResponseV5PtrOutput {
+func (o VnetRouteP2sVpnGatewayResponsePtrOutput) ToVnetRouteP2sVpnGatewayResponsePtrOutputWithContext(ctx context.Context) VnetRouteP2sVpnGatewayResponsePtrOutput {
return o
}
-func (o VnetRouteResponseV5PtrOutput) Elem() VnetRouteResponseV5Output {
- return o.ApplyT(func(v *VnetRouteResponseV5) VnetRouteResponseV5 {
+func (o VnetRouteP2sVpnGatewayResponsePtrOutput) Elem() VnetRouteP2sVpnGatewayResponseOutput {
+ return o.ApplyT(func(v *VnetRouteP2sVpnGatewayResponse) VnetRouteP2sVpnGatewayResponse {
if v != nil {
return *v
}
- var ret VnetRouteResponseV5
+ var ret VnetRouteP2sVpnGatewayResponse
return ret
- }).(VnetRouteResponseV5Output)
+ }).(VnetRouteP2sVpnGatewayResponseOutput)
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseV5PtrOutput) BgpConnections() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponseV5) []SubResourceResponse {
+func (o VnetRouteP2sVpnGatewayResponsePtrOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteP2sVpnGatewayResponse) []SubResourceResponse {
if v == nil {
return nil
}
@@ -38749,8 +39426,8 @@ func (o VnetRouteResponseV5PtrOutput) BgpConnections() SubResourceResponseArrayO
}
// List of all Static Routes.
-func (o VnetRouteResponseV5PtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponseV5) []StaticRouteResponse {
+func (o VnetRouteP2sVpnGatewayResponsePtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteP2sVpnGatewayResponse) []StaticRouteResponse {
if v == nil {
return nil
}
@@ -38759,82 +39436,82 @@ func (o VnetRouteResponseV5PtrOutput) StaticRoutes() StaticRouteResponseArrayOut
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseV5PtrOutput) StaticRoutesConfig() StaticRoutesConfigResponseV5PtrOutput {
- return o.ApplyT(func(v *VnetRouteResponseV5) *StaticRoutesConfigResponseV5 {
+func (o VnetRouteP2sVpnGatewayResponsePtrOutput) StaticRoutesConfig() StaticRoutesConfigP2sVpnGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *VnetRouteP2sVpnGatewayResponse) *StaticRoutesConfigP2sVpnGatewayResponse {
if v == nil {
return nil
}
return v.StaticRoutesConfig
- }).(StaticRoutesConfigResponseV5PtrOutput)
+ }).(StaticRoutesConfigP2sVpnGatewayResponsePtrOutput)
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseV6 struct {
+type VnetRouteResponse struct {
// The list of references to HubBgpConnection objects.
BgpConnections []SubResourceResponse `pulumi:"bgpConnections"`
// List of all Static Routes.
StaticRoutes []StaticRouteResponse `pulumi:"staticRoutes"`
// Configuration for static routes on this HubVnetConnection.
- StaticRoutesConfig *StaticRoutesConfigResponseV6 `pulumi:"staticRoutesConfig"`
+ StaticRoutesConfig *StaticRoutesConfigResponse `pulumi:"staticRoutesConfig"`
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseV6Output struct{ *pulumi.OutputState }
+type VnetRouteResponseOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseV6Output) ElementType() reflect.Type {
- return reflect.TypeOf((*VnetRouteResponseV6)(nil)).Elem()
+func (VnetRouteResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VnetRouteResponse)(nil)).Elem()
}
-func (o VnetRouteResponseV6Output) ToVnetRouteResponseV6Output() VnetRouteResponseV6Output {
+func (o VnetRouteResponseOutput) ToVnetRouteResponseOutput() VnetRouteResponseOutput {
return o
}
-func (o VnetRouteResponseV6Output) ToVnetRouteResponseV6OutputWithContext(ctx context.Context) VnetRouteResponseV6Output {
+func (o VnetRouteResponseOutput) ToVnetRouteResponseOutputWithContext(ctx context.Context) VnetRouteResponseOutput {
return o
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseV6Output) BgpConnections() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponseV6) []SubResourceResponse { return v.BgpConnections }).(SubResourceResponseArrayOutput)
+func (o VnetRouteResponseOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteResponse) []SubResourceResponse { return v.BgpConnections }).(SubResourceResponseArrayOutput)
}
// List of all Static Routes.
-func (o VnetRouteResponseV6Output) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponseV6) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
+func (o VnetRouteResponseOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteResponse) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseV6Output) StaticRoutesConfig() StaticRoutesConfigResponseV6PtrOutput {
- return o.ApplyT(func(v VnetRouteResponseV6) *StaticRoutesConfigResponseV6 { return v.StaticRoutesConfig }).(StaticRoutesConfigResponseV6PtrOutput)
+func (o VnetRouteResponseOutput) StaticRoutesConfig() StaticRoutesConfigResponsePtrOutput {
+ return o.ApplyT(func(v VnetRouteResponse) *StaticRoutesConfigResponse { return v.StaticRoutesConfig }).(StaticRoutesConfigResponsePtrOutput)
}
-type VnetRouteResponseV6PtrOutput struct{ *pulumi.OutputState }
+type VnetRouteResponsePtrOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseV6PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VnetRouteResponseV6)(nil)).Elem()
+func (VnetRouteResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VnetRouteResponse)(nil)).Elem()
}
-func (o VnetRouteResponseV6PtrOutput) ToVnetRouteResponseV6PtrOutput() VnetRouteResponseV6PtrOutput {
+func (o VnetRouteResponsePtrOutput) ToVnetRouteResponsePtrOutput() VnetRouteResponsePtrOutput {
return o
}
-func (o VnetRouteResponseV6PtrOutput) ToVnetRouteResponseV6PtrOutputWithContext(ctx context.Context) VnetRouteResponseV6PtrOutput {
+func (o VnetRouteResponsePtrOutput) ToVnetRouteResponsePtrOutputWithContext(ctx context.Context) VnetRouteResponsePtrOutput {
return o
}
-func (o VnetRouteResponseV6PtrOutput) Elem() VnetRouteResponseV6Output {
- return o.ApplyT(func(v *VnetRouteResponseV6) VnetRouteResponseV6 {
+func (o VnetRouteResponsePtrOutput) Elem() VnetRouteResponseOutput {
+ return o.ApplyT(func(v *VnetRouteResponse) VnetRouteResponse {
if v != nil {
return *v
}
- var ret VnetRouteResponseV6
+ var ret VnetRouteResponse
return ret
- }).(VnetRouteResponseV6Output)
+ }).(VnetRouteResponseOutput)
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseV6PtrOutput) BgpConnections() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponseV6) []SubResourceResponse {
+func (o VnetRouteResponsePtrOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteResponse) []SubResourceResponse {
if v == nil {
return nil
}
@@ -38843,8 +39520,8 @@ func (o VnetRouteResponseV6PtrOutput) BgpConnections() SubResourceResponseArrayO
}
// List of all Static Routes.
-func (o VnetRouteResponseV6PtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponseV6) []StaticRouteResponse {
+func (o VnetRouteResponsePtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteResponse) []StaticRouteResponse {
if v == nil {
return nil
}
@@ -38853,82 +39530,178 @@ func (o VnetRouteResponseV6PtrOutput) StaticRoutes() StaticRouteResponseArrayOut
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseV6PtrOutput) StaticRoutesConfig() StaticRoutesConfigResponseV6PtrOutput {
- return o.ApplyT(func(v *VnetRouteResponseV6) *StaticRoutesConfigResponseV6 {
+func (o VnetRouteResponsePtrOutput) StaticRoutesConfig() StaticRoutesConfigResponsePtrOutput {
+ return o.ApplyT(func(v *VnetRouteResponse) *StaticRoutesConfigResponse {
+ if v == nil {
+ return nil
+ }
+ return v.StaticRoutesConfig
+ }).(StaticRoutesConfigResponsePtrOutput)
+}
+
+// List of routes that control routing from VirtualHub into a virtual network connection.
+type VnetRouteVpnConnectionResponse struct {
+ // The list of references to HubBgpConnection objects.
+ BgpConnections []SubResourceResponse `pulumi:"bgpConnections"`
+ // List of all Static Routes.
+ StaticRoutes []StaticRouteResponse `pulumi:"staticRoutes"`
+ // Configuration for static routes on this HubVnetConnection.
+ StaticRoutesConfig *StaticRoutesConfigVpnConnectionResponse `pulumi:"staticRoutesConfig"`
+}
+
+// List of routes that control routing from VirtualHub into a virtual network connection.
+type VnetRouteVpnConnectionResponseOutput struct{ *pulumi.OutputState }
+
+func (VnetRouteVpnConnectionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VnetRouteVpnConnectionResponse)(nil)).Elem()
+}
+
+func (o VnetRouteVpnConnectionResponseOutput) ToVnetRouteVpnConnectionResponseOutput() VnetRouteVpnConnectionResponseOutput {
+ return o
+}
+
+func (o VnetRouteVpnConnectionResponseOutput) ToVnetRouteVpnConnectionResponseOutputWithContext(ctx context.Context) VnetRouteVpnConnectionResponseOutput {
+ return o
+}
+
+// The list of references to HubBgpConnection objects.
+func (o VnetRouteVpnConnectionResponseOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteVpnConnectionResponse) []SubResourceResponse { return v.BgpConnections }).(SubResourceResponseArrayOutput)
+}
+
+// List of all Static Routes.
+func (o VnetRouteVpnConnectionResponseOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteVpnConnectionResponse) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
+}
+
+// Configuration for static routes on this HubVnetConnection.
+func (o VnetRouteVpnConnectionResponseOutput) StaticRoutesConfig() StaticRoutesConfigVpnConnectionResponsePtrOutput {
+ return o.ApplyT(func(v VnetRouteVpnConnectionResponse) *StaticRoutesConfigVpnConnectionResponse {
+ return v.StaticRoutesConfig
+ }).(StaticRoutesConfigVpnConnectionResponsePtrOutput)
+}
+
+type VnetRouteVpnConnectionResponsePtrOutput struct{ *pulumi.OutputState }
+
+func (VnetRouteVpnConnectionResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VnetRouteVpnConnectionResponse)(nil)).Elem()
+}
+
+func (o VnetRouteVpnConnectionResponsePtrOutput) ToVnetRouteVpnConnectionResponsePtrOutput() VnetRouteVpnConnectionResponsePtrOutput {
+ return o
+}
+
+func (o VnetRouteVpnConnectionResponsePtrOutput) ToVnetRouteVpnConnectionResponsePtrOutputWithContext(ctx context.Context) VnetRouteVpnConnectionResponsePtrOutput {
+ return o
+}
+
+func (o VnetRouteVpnConnectionResponsePtrOutput) Elem() VnetRouteVpnConnectionResponseOutput {
+ return o.ApplyT(func(v *VnetRouteVpnConnectionResponse) VnetRouteVpnConnectionResponse {
+ if v != nil {
+ return *v
+ }
+ var ret VnetRouteVpnConnectionResponse
+ return ret
+ }).(VnetRouteVpnConnectionResponseOutput)
+}
+
+// The list of references to HubBgpConnection objects.
+func (o VnetRouteVpnConnectionResponsePtrOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteVpnConnectionResponse) []SubResourceResponse {
+ if v == nil {
+ return nil
+ }
+ return v.BgpConnections
+ }).(SubResourceResponseArrayOutput)
+}
+
+// List of all Static Routes.
+func (o VnetRouteVpnConnectionResponsePtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteVpnConnectionResponse) []StaticRouteResponse {
+ if v == nil {
+ return nil
+ }
+ return v.StaticRoutes
+ }).(StaticRouteResponseArrayOutput)
+}
+
+// Configuration for static routes on this HubVnetConnection.
+func (o VnetRouteVpnConnectionResponsePtrOutput) StaticRoutesConfig() StaticRoutesConfigVpnConnectionResponsePtrOutput {
+ return o.ApplyT(func(v *VnetRouteVpnConnectionResponse) *StaticRoutesConfigVpnConnectionResponse {
if v == nil {
return nil
}
return v.StaticRoutesConfig
- }).(StaticRoutesConfigResponseV6PtrOutput)
+ }).(StaticRoutesConfigVpnConnectionResponsePtrOutput)
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseV7 struct {
+type VnetRouteVpnGatewayResponse struct {
// The list of references to HubBgpConnection objects.
BgpConnections []SubResourceResponse `pulumi:"bgpConnections"`
// List of all Static Routes.
StaticRoutes []StaticRouteResponse `pulumi:"staticRoutes"`
// Configuration for static routes on this HubVnetConnection.
- StaticRoutesConfig *StaticRoutesConfigResponseV7 `pulumi:"staticRoutesConfig"`
+ StaticRoutesConfig *StaticRoutesConfigVpnGatewayResponse `pulumi:"staticRoutesConfig"`
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseV7Output struct{ *pulumi.OutputState }
+type VnetRouteVpnGatewayResponseOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseV7Output) ElementType() reflect.Type {
- return reflect.TypeOf((*VnetRouteResponseV7)(nil)).Elem()
+func (VnetRouteVpnGatewayResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VnetRouteVpnGatewayResponse)(nil)).Elem()
}
-func (o VnetRouteResponseV7Output) ToVnetRouteResponseV7Output() VnetRouteResponseV7Output {
+func (o VnetRouteVpnGatewayResponseOutput) ToVnetRouteVpnGatewayResponseOutput() VnetRouteVpnGatewayResponseOutput {
return o
}
-func (o VnetRouteResponseV7Output) ToVnetRouteResponseV7OutputWithContext(ctx context.Context) VnetRouteResponseV7Output {
+func (o VnetRouteVpnGatewayResponseOutput) ToVnetRouteVpnGatewayResponseOutputWithContext(ctx context.Context) VnetRouteVpnGatewayResponseOutput {
return o
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseV7Output) BgpConnections() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponseV7) []SubResourceResponse { return v.BgpConnections }).(SubResourceResponseArrayOutput)
+func (o VnetRouteVpnGatewayResponseOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteVpnGatewayResponse) []SubResourceResponse { return v.BgpConnections }).(SubResourceResponseArrayOutput)
}
// List of all Static Routes.
-func (o VnetRouteResponseV7Output) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponseV7) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
+func (o VnetRouteVpnGatewayResponseOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteVpnGatewayResponse) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseV7Output) StaticRoutesConfig() StaticRoutesConfigResponseV7PtrOutput {
- return o.ApplyT(func(v VnetRouteResponseV7) *StaticRoutesConfigResponseV7 { return v.StaticRoutesConfig }).(StaticRoutesConfigResponseV7PtrOutput)
+func (o VnetRouteVpnGatewayResponseOutput) StaticRoutesConfig() StaticRoutesConfigVpnGatewayResponsePtrOutput {
+ return o.ApplyT(func(v VnetRouteVpnGatewayResponse) *StaticRoutesConfigVpnGatewayResponse { return v.StaticRoutesConfig }).(StaticRoutesConfigVpnGatewayResponsePtrOutput)
}
-type VnetRouteResponseV7PtrOutput struct{ *pulumi.OutputState }
+type VnetRouteVpnGatewayResponsePtrOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseV7PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VnetRouteResponseV7)(nil)).Elem()
+func (VnetRouteVpnGatewayResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VnetRouteVpnGatewayResponse)(nil)).Elem()
}
-func (o VnetRouteResponseV7PtrOutput) ToVnetRouteResponseV7PtrOutput() VnetRouteResponseV7PtrOutput {
+func (o VnetRouteVpnGatewayResponsePtrOutput) ToVnetRouteVpnGatewayResponsePtrOutput() VnetRouteVpnGatewayResponsePtrOutput {
return o
}
-func (o VnetRouteResponseV7PtrOutput) ToVnetRouteResponseV7PtrOutputWithContext(ctx context.Context) VnetRouteResponseV7PtrOutput {
+func (o VnetRouteVpnGatewayResponsePtrOutput) ToVnetRouteVpnGatewayResponsePtrOutputWithContext(ctx context.Context) VnetRouteVpnGatewayResponsePtrOutput {
return o
}
-func (o VnetRouteResponseV7PtrOutput) Elem() VnetRouteResponseV7Output {
- return o.ApplyT(func(v *VnetRouteResponseV7) VnetRouteResponseV7 {
+func (o VnetRouteVpnGatewayResponsePtrOutput) Elem() VnetRouteVpnGatewayResponseOutput {
+ return o.ApplyT(func(v *VnetRouteVpnGatewayResponse) VnetRouteVpnGatewayResponse {
if v != nil {
return *v
}
- var ret VnetRouteResponseV7
+ var ret VnetRouteVpnGatewayResponse
return ret
- }).(VnetRouteResponseV7Output)
+ }).(VnetRouteVpnGatewayResponseOutput)
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseV7PtrOutput) BgpConnections() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponseV7) []SubResourceResponse {
+func (o VnetRouteVpnGatewayResponsePtrOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteVpnGatewayResponse) []SubResourceResponse {
if v == nil {
return nil
}
@@ -38937,8 +39710,8 @@ func (o VnetRouteResponseV7PtrOutput) BgpConnections() SubResourceResponseArrayO
}
// List of all Static Routes.
-func (o VnetRouteResponseV7PtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponseV7) []StaticRouteResponse {
+func (o VnetRouteVpnGatewayResponsePtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteVpnGatewayResponse) []StaticRouteResponse {
if v == nil {
return nil
}
@@ -38947,82 +39720,84 @@ func (o VnetRouteResponseV7PtrOutput) StaticRoutes() StaticRouteResponseArrayOut
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseV7PtrOutput) StaticRoutesConfig() StaticRoutesConfigResponseV7PtrOutput {
- return o.ApplyT(func(v *VnetRouteResponseV7) *StaticRoutesConfigResponseV7 {
+func (o VnetRouteVpnGatewayResponsePtrOutput) StaticRoutesConfig() StaticRoutesConfigVpnGatewayResponsePtrOutput {
+ return o.ApplyT(func(v *VnetRouteVpnGatewayResponse) *StaticRoutesConfigVpnGatewayResponse {
if v == nil {
return nil
}
return v.StaticRoutesConfig
- }).(StaticRoutesConfigResponseV7PtrOutput)
+ }).(StaticRoutesConfigVpnGatewayResponsePtrOutput)
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseV8 struct {
+type VnetRouteVpnServerConfigurationResponse struct {
// The list of references to HubBgpConnection objects.
BgpConnections []SubResourceResponse `pulumi:"bgpConnections"`
// List of all Static Routes.
StaticRoutes []StaticRouteResponse `pulumi:"staticRoutes"`
// Configuration for static routes on this HubVnetConnection.
- StaticRoutesConfig *StaticRoutesConfigResponseV8 `pulumi:"staticRoutesConfig"`
+ StaticRoutesConfig *StaticRoutesConfigVpnServerConfigurationResponse `pulumi:"staticRoutesConfig"`
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseV8Output struct{ *pulumi.OutputState }
+type VnetRouteVpnServerConfigurationResponseOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseV8Output) ElementType() reflect.Type {
- return reflect.TypeOf((*VnetRouteResponseV8)(nil)).Elem()
+func (VnetRouteVpnServerConfigurationResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VnetRouteVpnServerConfigurationResponse)(nil)).Elem()
}
-func (o VnetRouteResponseV8Output) ToVnetRouteResponseV8Output() VnetRouteResponseV8Output {
+func (o VnetRouteVpnServerConfigurationResponseOutput) ToVnetRouteVpnServerConfigurationResponseOutput() VnetRouteVpnServerConfigurationResponseOutput {
return o
}
-func (o VnetRouteResponseV8Output) ToVnetRouteResponseV8OutputWithContext(ctx context.Context) VnetRouteResponseV8Output {
+func (o VnetRouteVpnServerConfigurationResponseOutput) ToVnetRouteVpnServerConfigurationResponseOutputWithContext(ctx context.Context) VnetRouteVpnServerConfigurationResponseOutput {
return o
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseV8Output) BgpConnections() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponseV8) []SubResourceResponse { return v.BgpConnections }).(SubResourceResponseArrayOutput)
+func (o VnetRouteVpnServerConfigurationResponseOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteVpnServerConfigurationResponse) []SubResourceResponse { return v.BgpConnections }).(SubResourceResponseArrayOutput)
}
// List of all Static Routes.
-func (o VnetRouteResponseV8Output) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponseV8) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
+func (o VnetRouteVpnServerConfigurationResponseOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v VnetRouteVpnServerConfigurationResponse) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseV8Output) StaticRoutesConfig() StaticRoutesConfigResponseV8PtrOutput {
- return o.ApplyT(func(v VnetRouteResponseV8) *StaticRoutesConfigResponseV8 { return v.StaticRoutesConfig }).(StaticRoutesConfigResponseV8PtrOutput)
+func (o VnetRouteVpnServerConfigurationResponseOutput) StaticRoutesConfig() StaticRoutesConfigVpnServerConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v VnetRouteVpnServerConfigurationResponse) *StaticRoutesConfigVpnServerConfigurationResponse {
+ return v.StaticRoutesConfig
+ }).(StaticRoutesConfigVpnServerConfigurationResponsePtrOutput)
}
-type VnetRouteResponseV8PtrOutput struct{ *pulumi.OutputState }
+type VnetRouteVpnServerConfigurationResponsePtrOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseV8PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VnetRouteResponseV8)(nil)).Elem()
+func (VnetRouteVpnServerConfigurationResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VnetRouteVpnServerConfigurationResponse)(nil)).Elem()
}
-func (o VnetRouteResponseV8PtrOutput) ToVnetRouteResponseV8PtrOutput() VnetRouteResponseV8PtrOutput {
+func (o VnetRouteVpnServerConfigurationResponsePtrOutput) ToVnetRouteVpnServerConfigurationResponsePtrOutput() VnetRouteVpnServerConfigurationResponsePtrOutput {
return o
}
-func (o VnetRouteResponseV8PtrOutput) ToVnetRouteResponseV8PtrOutputWithContext(ctx context.Context) VnetRouteResponseV8PtrOutput {
+func (o VnetRouteVpnServerConfigurationResponsePtrOutput) ToVnetRouteVpnServerConfigurationResponsePtrOutputWithContext(ctx context.Context) VnetRouteVpnServerConfigurationResponsePtrOutput {
return o
}
-func (o VnetRouteResponseV8PtrOutput) Elem() VnetRouteResponseV8Output {
- return o.ApplyT(func(v *VnetRouteResponseV8) VnetRouteResponseV8 {
+func (o VnetRouteVpnServerConfigurationResponsePtrOutput) Elem() VnetRouteVpnServerConfigurationResponseOutput {
+ return o.ApplyT(func(v *VnetRouteVpnServerConfigurationResponse) VnetRouteVpnServerConfigurationResponse {
if v != nil {
return *v
}
- var ret VnetRouteResponseV8
+ var ret VnetRouteVpnServerConfigurationResponse
return ret
- }).(VnetRouteResponseV8Output)
+ }).(VnetRouteVpnServerConfigurationResponseOutput)
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseV8PtrOutput) BgpConnections() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponseV8) []SubResourceResponse {
+func (o VnetRouteVpnServerConfigurationResponsePtrOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteVpnServerConfigurationResponse) []SubResourceResponse {
if v == nil {
return nil
}
@@ -39031,8 +39806,8 @@ func (o VnetRouteResponseV8PtrOutput) BgpConnections() SubResourceResponseArrayO
}
// List of all Static Routes.
-func (o VnetRouteResponseV8PtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponseV8) []StaticRouteResponse {
+func (o VnetRouteVpnServerConfigurationResponsePtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRouteVpnServerConfigurationResponse) []StaticRouteResponse {
if v == nil {
return nil
}
@@ -39041,82 +39816,88 @@ func (o VnetRouteResponseV8PtrOutput) StaticRoutes() StaticRouteResponseArrayOut
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseV8PtrOutput) StaticRoutesConfig() StaticRoutesConfigResponseV8PtrOutput {
- return o.ApplyT(func(v *VnetRouteResponseV8) *StaticRoutesConfigResponseV8 {
+func (o VnetRouteVpnServerConfigurationResponsePtrOutput) StaticRoutesConfig() StaticRoutesConfigVpnServerConfigurationResponsePtrOutput {
+ return o.ApplyT(func(v *VnetRouteVpnServerConfigurationResponse) *StaticRoutesConfigVpnServerConfigurationResponse {
if v == nil {
return nil
}
return v.StaticRoutesConfig
- }).(StaticRoutesConfigResponseV8PtrOutput)
+ }).(StaticRoutesConfigVpnServerConfigurationResponsePtrOutput)
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseV9 struct {
+type VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponse struct {
// The list of references to HubBgpConnection objects.
BgpConnections []SubResourceResponse `pulumi:"bgpConnections"`
// List of all Static Routes.
StaticRoutes []StaticRouteResponse `pulumi:"staticRoutes"`
// Configuration for static routes on this HubVnetConnection.
- StaticRoutesConfig *StaticRoutesConfigResponseV9 `pulumi:"staticRoutesConfig"`
+ StaticRoutesConfig *StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponse `pulumi:"staticRoutesConfig"`
}
// List of routes that control routing from VirtualHub into a virtual network connection.
-type VnetRouteResponseV9Output struct{ *pulumi.OutputState }
+type VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseV9Output) ElementType() reflect.Type {
- return reflect.TypeOf((*VnetRouteResponseV9)(nil)).Elem()
+func (VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponse)(nil)).Elem()
}
-func (o VnetRouteResponseV9Output) ToVnetRouteResponseV9Output() VnetRouteResponseV9Output {
+func (o VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) ToVnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput() VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput {
return o
}
-func (o VnetRouteResponseV9Output) ToVnetRouteResponseV9OutputWithContext(ctx context.Context) VnetRouteResponseV9Output {
+func (o VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) ToVnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponseOutputWithContext(ctx context.Context) VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput {
return o
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseV9Output) BgpConnections() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponseV9) []SubResourceResponse { return v.BgpConnections }).(SubResourceResponseArrayOutput)
+func (o VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponse) []SubResourceResponse {
+ return v.BgpConnections
+ }).(SubResourceResponseArrayOutput)
}
// List of all Static Routes.
-func (o VnetRouteResponseV9Output) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v VnetRouteResponseV9) []StaticRouteResponse { return v.StaticRoutes }).(StaticRouteResponseArrayOutput)
+func (o VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponse) []StaticRouteResponse {
+ return v.StaticRoutes
+ }).(StaticRouteResponseArrayOutput)
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseV9Output) StaticRoutesConfig() StaticRoutesConfigResponseV9PtrOutput {
- return o.ApplyT(func(v VnetRouteResponseV9) *StaticRoutesConfigResponseV9 { return v.StaticRoutesConfig }).(StaticRoutesConfigResponseV9PtrOutput)
+func (o VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput) StaticRoutesConfig() StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput {
+ return o.ApplyT(func(v VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponse) *StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponse {
+ return v.StaticRoutesConfig
+ }).(StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput)
}
-type VnetRouteResponseV9PtrOutput struct{ *pulumi.OutputState }
+type VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput struct{ *pulumi.OutputState }
-func (VnetRouteResponseV9PtrOutput) ElementType() reflect.Type {
- return reflect.TypeOf((**VnetRouteResponseV9)(nil)).Elem()
+func (VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((**VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponse)(nil)).Elem()
}
-func (o VnetRouteResponseV9PtrOutput) ToVnetRouteResponseV9PtrOutput() VnetRouteResponseV9PtrOutput {
+func (o VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) ToVnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput() VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput {
return o
}
-func (o VnetRouteResponseV9PtrOutput) ToVnetRouteResponseV9PtrOutputWithContext(ctx context.Context) VnetRouteResponseV9PtrOutput {
+func (o VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) ToVnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutputWithContext(ctx context.Context) VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput {
return o
}
-func (o VnetRouteResponseV9PtrOutput) Elem() VnetRouteResponseV9Output {
- return o.ApplyT(func(v *VnetRouteResponseV9) VnetRouteResponseV9 {
+func (o VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) Elem() VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput {
+ return o.ApplyT(func(v *VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponse) VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponse {
if v != nil {
return *v
}
- var ret VnetRouteResponseV9
+ var ret VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponse
return ret
- }).(VnetRouteResponseV9Output)
+ }).(VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput)
}
// The list of references to HubBgpConnection objects.
-func (o VnetRouteResponseV9PtrOutput) BgpConnections() SubResourceResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponseV9) []SubResourceResponse {
+func (o VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) BgpConnections() SubResourceResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponse) []SubResourceResponse {
if v == nil {
return nil
}
@@ -39125,8 +39906,8 @@ func (o VnetRouteResponseV9PtrOutput) BgpConnections() SubResourceResponseArrayO
}
// List of all Static Routes.
-func (o VnetRouteResponseV9PtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
- return o.ApplyT(func(v *VnetRouteResponseV9) []StaticRouteResponse {
+func (o VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) StaticRoutes() StaticRouteResponseArrayOutput {
+ return o.ApplyT(func(v *VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponse) []StaticRouteResponse {
if v == nil {
return nil
}
@@ -39135,13 +39916,13 @@ func (o VnetRouteResponseV9PtrOutput) StaticRoutes() StaticRouteResponseArrayOut
}
// Configuration for static routes on this HubVnetConnection.
-func (o VnetRouteResponseV9PtrOutput) StaticRoutesConfig() StaticRoutesConfigResponseV9PtrOutput {
- return o.ApplyT(func(v *VnetRouteResponseV9) *StaticRoutesConfigResponseV9 {
+func (o VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput) StaticRoutesConfig() StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput {
+ return o.ApplyT(func(v *VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponse) *StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponse {
if v == nil {
return nil
}
return v.StaticRoutesConfig
- }).(StaticRoutesConfigResponseV9PtrOutput)
+ }).(StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput)
}
// A vpn client connection configuration for client connection configuration.
@@ -40569,7 +41350,7 @@ type VpnConnectionType struct {
// Id of the connected vpn site.
RemoteVpnSite *SubResource `pulumi:"remoteVpnSite"`
// The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationV7 `pulumi:"routingConfiguration"`
+ RoutingConfiguration *RoutingConfigurationType `pulumi:"routingConfiguration"`
// Routing weight for vpn connection.
RoutingWeight *int `pulumi:"routingWeight"`
// SharedKey for the vpn connection.
@@ -40618,7 +41399,7 @@ type VpnConnectionTypeArgs struct {
// Id of the connected vpn site.
RemoteVpnSite SubResourcePtrInput `pulumi:"remoteVpnSite"`
// The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration RoutingConfigurationV7PtrInput `pulumi:"routingConfiguration"`
+ RoutingConfiguration RoutingConfigurationTypePtrInput `pulumi:"routingConfiguration"`
// Routing weight for vpn connection.
RoutingWeight pulumi.IntPtrInput `pulumi:"routingWeight"`
// SharedKey for the vpn connection.
@@ -40733,8 +41514,8 @@ func (o VpnConnectionTypeOutput) RemoteVpnSite() SubResourcePtrOutput {
}
// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o VpnConnectionTypeOutput) RoutingConfiguration() RoutingConfigurationV7PtrOutput {
- return o.ApplyT(func(v VpnConnectionType) *RoutingConfigurationV7 { return v.RoutingConfiguration }).(RoutingConfigurationV7PtrOutput)
+func (o VpnConnectionTypeOutput) RoutingConfiguration() RoutingConfigurationTypePtrOutput {
+ return o.ApplyT(func(v VpnConnectionType) *RoutingConfigurationType { return v.RoutingConfiguration }).(RoutingConfigurationTypePtrOutput)
}
// Routing weight for vpn connection.
@@ -40823,7 +41604,7 @@ type VpnConnectionResponse struct {
// Id of the connected vpn site.
RemoteVpnSite *SubResourceResponse `pulumi:"remoteVpnSite"`
// The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationResponseV7 `pulumi:"routingConfiguration"`
+ RoutingConfiguration *RoutingConfigurationVpnGatewayResponse `pulumi:"routingConfiguration"`
// Routing weight for vpn connection.
RoutingWeight *int `pulumi:"routingWeight"`
// SharedKey for the vpn connection.
@@ -40926,8 +41707,8 @@ func (o VpnConnectionResponseOutput) RemoteVpnSite() SubResourceResponsePtrOutpu
}
// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o VpnConnectionResponseOutput) RoutingConfiguration() RoutingConfigurationResponseV7PtrOutput {
- return o.ApplyT(func(v VpnConnectionResponse) *RoutingConfigurationResponseV7 { return v.RoutingConfiguration }).(RoutingConfigurationResponseV7PtrOutput)
+func (o VpnConnectionResponseOutput) RoutingConfiguration() RoutingConfigurationVpnGatewayResponsePtrOutput {
+ return o.ApplyT(func(v VpnConnectionResponse) *RoutingConfigurationVpnGatewayResponse { return v.RoutingConfiguration }).(RoutingConfigurationVpnGatewayResponsePtrOutput)
}
// Routing weight for vpn connection.
@@ -44717,74 +45498,6 @@ func (o WebApplicationFirewallScrubbingRulesResponseArrayOutput) Index(i pulumi.
}
func init() {
- pulumi.RegisterOutputType(NetworkInterfaceDnsSettingsResponseV1Output{})
- pulumi.RegisterOutputType(NetworkInterfaceDnsSettingsResponseV1PtrOutput{})
- pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationOutput{})
- pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationPtrOutput{})
- pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationArrayOutput{})
- pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponseOutput{})
- pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponsePtrOutput{})
- pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationResponseOutput{})
- pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationResponsePtrOutput{})
- pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationResponseArrayOutput{})
- pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationResponseV1Output{})
- pulumi.RegisterOutputType(NetworkInterfaceIPConfigurationResponseV1ArrayOutput{})
- pulumi.RegisterOutputType(NetworkInterfaceResponseOutput{})
- pulumi.RegisterOutputType(NetworkInterfaceResponseArrayOutput{})
- pulumi.RegisterOutputType(NetworkInterfaceResponseV1Output{})
- pulumi.RegisterOutputType(NetworkInterfaceResponseV1ArrayOutput{})
- pulumi.RegisterOutputType(NetworkInterfaceTapConfigurationResponseOutput{})
- pulumi.RegisterOutputType(NetworkInterfaceTapConfigurationResponseArrayOutput{})
- pulumi.RegisterOutputType(NetworkInterfaceTapConfigurationResponseV1Output{})
- pulumi.RegisterOutputType(NetworkInterfaceTapConfigurationResponseV1ArrayOutput{})
- pulumi.RegisterOutputType(NetworkManagerDeploymentStatusResponseOutput{})
- pulumi.RegisterOutputType(NetworkManagerDeploymentStatusResponseArrayOutput{})
- pulumi.RegisterOutputType(NetworkManagerPropertiesNetworkManagerScopesOutput{})
- pulumi.RegisterOutputType(NetworkManagerPropertiesResponseNetworkManagerScopesOutput{})
- pulumi.RegisterOutputType(NetworkManagerRoutingGroupItemOutput{})
- pulumi.RegisterOutputType(NetworkManagerRoutingGroupItemArrayOutput{})
- pulumi.RegisterOutputType(NetworkManagerRoutingGroupItemResponseOutput{})
- pulumi.RegisterOutputType(NetworkManagerRoutingGroupItemResponseArrayOutput{})
- pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemOutput{})
- pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemArrayOutput{})
- pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemResponseOutput{})
- pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemResponseArrayOutput{})
- pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemResponseV1Output{})
- pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemResponseV1ArrayOutput{})
- pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemResponseV2Output{})
- pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemResponseV2ArrayOutput{})
- pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemResponseV3Output{})
- pulumi.RegisterOutputType(NetworkManagerSecurityGroupItemResponseV3ArrayOutput{})
- pulumi.RegisterOutputType(NetworkRuleOutput{})
- pulumi.RegisterOutputType(NetworkRuleConditionOutput{})
- pulumi.RegisterOutputType(NetworkRuleConditionPtrOutput{})
- pulumi.RegisterOutputType(NetworkRuleConditionResponseOutput{})
- pulumi.RegisterOutputType(NetworkRuleConditionResponsePtrOutput{})
- pulumi.RegisterOutputType(NetworkRuleResponseOutput{})
- pulumi.RegisterOutputType(NetworkSecurityGroupTypeOutput{})
- pulumi.RegisterOutputType(NetworkSecurityGroupTypePtrOutput{})
- pulumi.RegisterOutputType(NetworkSecurityGroupResponseOutput{})
- pulumi.RegisterOutputType(NetworkSecurityGroupResponsePtrOutput{})
- pulumi.RegisterOutputType(NetworkSecurityGroupResponseV1Output{})
- pulumi.RegisterOutputType(NetworkSecurityGroupResponseV1PtrOutput{})
- pulumi.RegisterOutputType(NetworkVirtualApplianceConnectionPropertiesOutput{})
- pulumi.RegisterOutputType(NetworkVirtualApplianceConnectionPropertiesPtrOutput{})
- pulumi.RegisterOutputType(NetworkVirtualApplianceConnectionPropertiesResponseOutput{})
- pulumi.RegisterOutputType(NetworkVirtualAppliancePropertiesFormatNetworkProfileOutput{})
- pulumi.RegisterOutputType(NetworkVirtualAppliancePropertiesFormatNetworkProfilePtrOutput{})
- pulumi.RegisterOutputType(NetworkVirtualAppliancePropertiesFormatResponseNetworkProfileOutput{})
- pulumi.RegisterOutputType(NetworkVirtualAppliancePropertiesFormatResponseNetworkProfilePtrOutput{})
- pulumi.RegisterOutputType(NspLoggingConfigurationPropertiesOutput{})
- pulumi.RegisterOutputType(NspLoggingConfigurationPropertiesPtrOutput{})
- pulumi.RegisterOutputType(NspLoggingConfigurationPropertiesResponseOutput{})
- pulumi.RegisterOutputType(O365BreakOutCategoryPoliciesOutput{})
- pulumi.RegisterOutputType(O365BreakOutCategoryPoliciesPtrOutput{})
- pulumi.RegisterOutputType(O365BreakOutCategoryPoliciesResponseOutput{})
- pulumi.RegisterOutputType(O365BreakOutCategoryPoliciesResponsePtrOutput{})
- pulumi.RegisterOutputType(O365PolicyPropertiesOutput{})
- pulumi.RegisterOutputType(O365PolicyPropertiesPtrOutput{})
- pulumi.RegisterOutputType(O365PolicyPropertiesResponseOutput{})
- pulumi.RegisterOutputType(O365PolicyPropertiesResponsePtrOutput{})
pulumi.RegisterOutputType(Office365PolicyPropertiesOutput{})
pulumi.RegisterOutputType(Office365PolicyPropertiesPtrOutput{})
pulumi.RegisterOutputType(Office365PolicyPropertiesResponseOutput{})
@@ -44803,10 +45516,10 @@ func init() {
pulumi.RegisterOutputType(P2SConnectionConfigurationArrayOutput{})
pulumi.RegisterOutputType(P2SConnectionConfigurationResponseOutput{})
pulumi.RegisterOutputType(P2SConnectionConfigurationResponseArrayOutput{})
- pulumi.RegisterOutputType(P2SConnectionConfigurationResponseV1Output{})
- pulumi.RegisterOutputType(P2SConnectionConfigurationResponseV1ArrayOutput{})
- pulumi.RegisterOutputType(P2SConnectionConfigurationResponseV2Output{})
- pulumi.RegisterOutputType(P2SConnectionConfigurationResponseV2ArrayOutput{})
+ pulumi.RegisterOutputType(P2SConnectionConfigurationVpnServerConfigurationResponseOutput{})
+ pulumi.RegisterOutputType(P2SConnectionConfigurationVpnServerConfigurationResponseArrayOutput{})
+ pulumi.RegisterOutputType(P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput{})
+ pulumi.RegisterOutputType(P2SConnectionConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseArrayOutput{})
pulumi.RegisterOutputType(P2SVpnGatewayResponseOutput{})
pulumi.RegisterOutputType(P2SVpnGatewayResponseArrayOutput{})
pulumi.RegisterOutputType(P2SVpnServerConfigRadiusClientRootCertificateOutput{})
@@ -44868,12 +45581,20 @@ func init() {
pulumi.RegisterOutputType(PrivateDnsZoneConfigResponseArrayOutput{})
pulumi.RegisterOutputType(PrivateEndpointConnectionResponseOutput{})
pulumi.RegisterOutputType(PrivateEndpointConnectionResponseArrayOutput{})
+ pulumi.RegisterOutputType(PrivateEndpointConnectionServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(PrivateEndpointConnectionServiceGatewayResponseArrayOutput{})
+ pulumi.RegisterOutputType(PrivateEndpointConnectionVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(PrivateEndpointConnectionVirtualNetworkApplianceResponseArrayOutput{})
pulumi.RegisterOutputType(PrivateEndpointIPConfigurationOutput{})
pulumi.RegisterOutputType(PrivateEndpointIPConfigurationArrayOutput{})
pulumi.RegisterOutputType(PrivateEndpointIPConfigurationResponseOutput{})
pulumi.RegisterOutputType(PrivateEndpointIPConfigurationResponseArrayOutput{})
pulumi.RegisterOutputType(PrivateEndpointResponseOutput{})
pulumi.RegisterOutputType(PrivateEndpointResponseArrayOutput{})
+ pulumi.RegisterOutputType(PrivateEndpointServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(PrivateEndpointServiceGatewayResponseArrayOutput{})
+ pulumi.RegisterOutputType(PrivateEndpointVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(PrivateEndpointVirtualNetworkApplianceResponseArrayOutput{})
pulumi.RegisterOutputType(PrivateLinkServiceTypeOutput{})
pulumi.RegisterOutputType(PrivateLinkServiceTypePtrOutput{})
pulumi.RegisterOutputType(PrivateLinkServiceConnectionOutput{})
@@ -44890,14 +45611,22 @@ func init() {
pulumi.RegisterOutputType(PrivateLinkServiceIpConfigurationResponseArrayOutput{})
pulumi.RegisterOutputType(PrivateLinkServicePropertiesAutoApprovalOutput{})
pulumi.RegisterOutputType(PrivateLinkServicePropertiesAutoApprovalPtrOutput{})
+ pulumi.RegisterOutputType(PrivateLinkServicePropertiesAutoApprovalResponseOutput{})
+ pulumi.RegisterOutputType(PrivateLinkServicePropertiesAutoApprovalResponsePtrOutput{})
pulumi.RegisterOutputType(PrivateLinkServicePropertiesResponseAutoApprovalOutput{})
pulumi.RegisterOutputType(PrivateLinkServicePropertiesResponseAutoApprovalPtrOutput{})
pulumi.RegisterOutputType(PrivateLinkServicePropertiesResponseVisibilityOutput{})
pulumi.RegisterOutputType(PrivateLinkServicePropertiesResponseVisibilityPtrOutput{})
pulumi.RegisterOutputType(PrivateLinkServicePropertiesVisibilityOutput{})
pulumi.RegisterOutputType(PrivateLinkServicePropertiesVisibilityPtrOutput{})
+ pulumi.RegisterOutputType(PrivateLinkServicePropertiesVisibilityResponseOutput{})
+ pulumi.RegisterOutputType(PrivateLinkServicePropertiesVisibilityResponsePtrOutput{})
pulumi.RegisterOutputType(PrivateLinkServiceResponseOutput{})
pulumi.RegisterOutputType(PrivateLinkServiceResponsePtrOutput{})
+ pulumi.RegisterOutputType(PrivateLinkServiceServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(PrivateLinkServiceServiceGatewayResponsePtrOutput{})
+ pulumi.RegisterOutputType(PrivateLinkServiceVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(PrivateLinkServiceVirtualNetworkApplianceResponsePtrOutput{})
pulumi.RegisterOutputType(ProbeOutput{})
pulumi.RegisterOutputType(ProbeArrayOutput{})
pulumi.RegisterOutputType(ProbeResponseOutput{})
@@ -44906,52 +45635,32 @@ func init() {
pulumi.RegisterOutputType(PropagatedRouteTablePtrOutput{})
pulumi.RegisterOutputType(PropagatedRouteTableResponseOutput{})
pulumi.RegisterOutputType(PropagatedRouteTableResponsePtrOutput{})
- pulumi.RegisterOutputType(PropagatedRouteTableResponseV1Output{})
- pulumi.RegisterOutputType(PropagatedRouteTableResponseV1PtrOutput{})
- pulumi.RegisterOutputType(PropagatedRouteTableResponseV2Output{})
- pulumi.RegisterOutputType(PropagatedRouteTableResponseV2PtrOutput{})
- pulumi.RegisterOutputType(PropagatedRouteTableResponseV3Output{})
- pulumi.RegisterOutputType(PropagatedRouteTableResponseV3PtrOutput{})
- pulumi.RegisterOutputType(PropagatedRouteTableResponseV5Output{})
- pulumi.RegisterOutputType(PropagatedRouteTableResponseV5PtrOutput{})
- pulumi.RegisterOutputType(PropagatedRouteTableResponseV6Output{})
- pulumi.RegisterOutputType(PropagatedRouteTableResponseV6PtrOutput{})
- pulumi.RegisterOutputType(PropagatedRouteTableResponseV7Output{})
- pulumi.RegisterOutputType(PropagatedRouteTableResponseV7PtrOutput{})
- pulumi.RegisterOutputType(PropagatedRouteTableResponseV8Output{})
- pulumi.RegisterOutputType(PropagatedRouteTableResponseV8PtrOutput{})
- pulumi.RegisterOutputType(PropagatedRouteTableResponseV9Output{})
- pulumi.RegisterOutputType(PropagatedRouteTableResponseV9PtrOutput{})
- pulumi.RegisterOutputType(PropagatedRouteTableV1Output{})
- pulumi.RegisterOutputType(PropagatedRouteTableV1PtrOutput{})
- pulumi.RegisterOutputType(PropagatedRouteTableV2Output{})
- pulumi.RegisterOutputType(PropagatedRouteTableV2PtrOutput{})
- pulumi.RegisterOutputType(PropagatedRouteTableV3Output{})
- pulumi.RegisterOutputType(PropagatedRouteTableV3PtrOutput{})
- pulumi.RegisterOutputType(PropagatedRouteTableV5Output{})
- pulumi.RegisterOutputType(PropagatedRouteTableV5PtrOutput{})
- pulumi.RegisterOutputType(PropagatedRouteTableV6Output{})
- pulumi.RegisterOutputType(PropagatedRouteTableV6PtrOutput{})
- pulumi.RegisterOutputType(PropagatedRouteTableV7Output{})
- pulumi.RegisterOutputType(PropagatedRouteTableV7PtrOutput{})
pulumi.RegisterOutputType(PublicIPAddressTypeOutput{})
pulumi.RegisterOutputType(PublicIPAddressTypePtrOutput{})
pulumi.RegisterOutputType(PublicIPAddressDnsSettingsOutput{})
pulumi.RegisterOutputType(PublicIPAddressDnsSettingsPtrOutput{})
+ pulumi.RegisterOutputType(PublicIPAddressDnsSettingsInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(PublicIPAddressDnsSettingsInterfaceEndpointResponsePtrOutput{})
pulumi.RegisterOutputType(PublicIPAddressDnsSettingsResponseOutput{})
pulumi.RegisterOutputType(PublicIPAddressDnsSettingsResponsePtrOutput{})
- pulumi.RegisterOutputType(PublicIPAddressDnsSettingsResponseV1Output{})
- pulumi.RegisterOutputType(PublicIPAddressDnsSettingsResponseV1PtrOutput{})
+ pulumi.RegisterOutputType(PublicIPAddressInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(PublicIPAddressInterfaceEndpointResponsePtrOutput{})
pulumi.RegisterOutputType(PublicIPAddressResponseOutput{})
pulumi.RegisterOutputType(PublicIPAddressResponsePtrOutput{})
pulumi.RegisterOutputType(PublicIPAddressResponseV1Output{})
pulumi.RegisterOutputType(PublicIPAddressResponseV1PtrOutput{})
+ pulumi.RegisterOutputType(PublicIPAddressResponseV2Output{})
+ pulumi.RegisterOutputType(PublicIPAddressResponseV2PtrOutput{})
+ pulumi.RegisterOutputType(PublicIPAddressServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(PublicIPAddressServiceGatewayResponsePtrOutput{})
pulumi.RegisterOutputType(PublicIPAddressSkuOutput{})
pulumi.RegisterOutputType(PublicIPAddressSkuPtrOutput{})
+ pulumi.RegisterOutputType(PublicIPAddressSkuInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(PublicIPAddressSkuInterfaceEndpointResponsePtrOutput{})
pulumi.RegisterOutputType(PublicIPAddressSkuResponseOutput{})
pulumi.RegisterOutputType(PublicIPAddressSkuResponsePtrOutput{})
- pulumi.RegisterOutputType(PublicIPAddressSkuResponseV1Output{})
- pulumi.RegisterOutputType(PublicIPAddressSkuResponseV1PtrOutput{})
+ pulumi.RegisterOutputType(PublicIPAddressVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(PublicIPAddressVirtualNetworkApplianceResponsePtrOutput{})
pulumi.RegisterOutputType(PublicIPPrefixSkuOutput{})
pulumi.RegisterOutputType(PublicIPPrefixSkuPtrOutput{})
pulumi.RegisterOutputType(PublicIPPrefixSkuResponseOutput{})
@@ -44988,10 +45697,10 @@ func init() {
pulumi.RegisterOutputType(ResourceBasicsResponseArrayOutput{})
pulumi.RegisterOutputType(ResourceNavigationLinkOutput{})
pulumi.RegisterOutputType(ResourceNavigationLinkArrayOutput{})
+ pulumi.RegisterOutputType(ResourceNavigationLinkInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(ResourceNavigationLinkInterfaceEndpointResponseArrayOutput{})
pulumi.RegisterOutputType(ResourceNavigationLinkResponseOutput{})
pulumi.RegisterOutputType(ResourceNavigationLinkResponseArrayOutput{})
- pulumi.RegisterOutputType(ResourceNavigationLinkResponseV1Output{})
- pulumi.RegisterOutputType(ResourceNavigationLinkResponseV1ArrayOutput{})
pulumi.RegisterOutputType(RetentionPolicyParametersOutput{})
pulumi.RegisterOutputType(RetentionPolicyParametersPtrOutput{})
pulumi.RegisterOutputType(RetentionPolicyParametersResponseOutput{})
@@ -45002,58 +45711,56 @@ func init() {
pulumi.RegisterOutputType(RouteFilterRuleTypeArrayOutput{})
pulumi.RegisterOutputType(RouteFilterRuleResponseOutput{})
pulumi.RegisterOutputType(RouteFilterRuleResponseArrayOutput{})
+ pulumi.RegisterOutputType(RouteInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(RouteInterfaceEndpointResponseArrayOutput{})
pulumi.RegisterOutputType(RouteMapRuleOutput{})
pulumi.RegisterOutputType(RouteMapRuleArrayOutput{})
pulumi.RegisterOutputType(RouteMapRuleResponseOutput{})
pulumi.RegisterOutputType(RouteMapRuleResponseArrayOutput{})
pulumi.RegisterOutputType(RouteResponseOutput{})
pulumi.RegisterOutputType(RouteResponseArrayOutput{})
- pulumi.RegisterOutputType(RouteResponseV1Output{})
- pulumi.RegisterOutputType(RouteResponseV1ArrayOutput{})
+ pulumi.RegisterOutputType(RouteServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(RouteServiceGatewayResponseArrayOutput{})
pulumi.RegisterOutputType(RouteSourceDetailsResponseOutput{})
pulumi.RegisterOutputType(RouteSourceDetailsResponseArrayOutput{})
pulumi.RegisterOutputType(RouteTableTypeOutput{})
pulumi.RegisterOutputType(RouteTableTypePtrOutput{})
+ pulumi.RegisterOutputType(RouteTableInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(RouteTableInterfaceEndpointResponsePtrOutput{})
pulumi.RegisterOutputType(RouteTableResponseOutput{})
pulumi.RegisterOutputType(RouteTableResponsePtrOutput{})
- pulumi.RegisterOutputType(RouteTableResponseV1Output{})
- pulumi.RegisterOutputType(RouteTableResponseV1PtrOutput{})
+ pulumi.RegisterOutputType(RouteTableServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(RouteTableServiceGatewayResponsePtrOutput{})
+ pulumi.RegisterOutputType(RouteTableVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(RouteTableVirtualNetworkApplianceResponsePtrOutput{})
pulumi.RegisterOutputType(RouteTargetAddressPropertiesFormatOutput{})
pulumi.RegisterOutputType(RouteTargetAddressPropertiesFormatPtrOutput{})
pulumi.RegisterOutputType(RouteTargetAddressPropertiesFormatResponseOutput{})
pulumi.RegisterOutputType(RouteTargetAddressPropertiesFormatResponsePtrOutput{})
+ pulumi.RegisterOutputType(RouteVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(RouteVirtualNetworkApplianceResponseArrayOutput{})
pulumi.RegisterOutputType(RoutingConfigurationTypeOutput{})
pulumi.RegisterOutputType(RoutingConfigurationTypePtrOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationExpressRouteConnectionResponseOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationExpressRouteConnectionResponsePtrOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationExpressRouteGatewayResponseOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationExpressRouteGatewayResponsePtrOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationHubVirtualNetworkConnectionResponseOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationHubVirtualNetworkConnectionResponsePtrOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationNetworkVirtualApplianceConnectionResponseOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationNetworkVirtualApplianceConnectionResponsePtrOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationP2sVpnGatewayResponseOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationP2sVpnGatewayResponsePtrOutput{})
pulumi.RegisterOutputType(RoutingConfigurationResponseOutput{})
pulumi.RegisterOutputType(RoutingConfigurationResponsePtrOutput{})
- pulumi.RegisterOutputType(RoutingConfigurationResponseV1Output{})
- pulumi.RegisterOutputType(RoutingConfigurationResponseV1PtrOutput{})
- pulumi.RegisterOutputType(RoutingConfigurationResponseV2Output{})
- pulumi.RegisterOutputType(RoutingConfigurationResponseV2PtrOutput{})
- pulumi.RegisterOutputType(RoutingConfigurationResponseV3Output{})
- pulumi.RegisterOutputType(RoutingConfigurationResponseV3PtrOutput{})
- pulumi.RegisterOutputType(RoutingConfigurationResponseV5Output{})
- pulumi.RegisterOutputType(RoutingConfigurationResponseV5PtrOutput{})
- pulumi.RegisterOutputType(RoutingConfigurationResponseV6Output{})
- pulumi.RegisterOutputType(RoutingConfigurationResponseV6PtrOutput{})
- pulumi.RegisterOutputType(RoutingConfigurationResponseV7Output{})
- pulumi.RegisterOutputType(RoutingConfigurationResponseV7PtrOutput{})
- pulumi.RegisterOutputType(RoutingConfigurationResponseV8Output{})
- pulumi.RegisterOutputType(RoutingConfigurationResponseV8PtrOutput{})
- pulumi.RegisterOutputType(RoutingConfigurationResponseV9Output{})
- pulumi.RegisterOutputType(RoutingConfigurationResponseV9PtrOutput{})
- pulumi.RegisterOutputType(RoutingConfigurationV1Output{})
- pulumi.RegisterOutputType(RoutingConfigurationV1PtrOutput{})
- pulumi.RegisterOutputType(RoutingConfigurationV2Output{})
- pulumi.RegisterOutputType(RoutingConfigurationV2PtrOutput{})
- pulumi.RegisterOutputType(RoutingConfigurationV3Output{})
- pulumi.RegisterOutputType(RoutingConfigurationV3PtrOutput{})
- pulumi.RegisterOutputType(RoutingConfigurationV5Output{})
- pulumi.RegisterOutputType(RoutingConfigurationV5PtrOutput{})
- pulumi.RegisterOutputType(RoutingConfigurationV6Output{})
- pulumi.RegisterOutputType(RoutingConfigurationV6PtrOutput{})
- pulumi.RegisterOutputType(RoutingConfigurationV7Output{})
- pulumi.RegisterOutputType(RoutingConfigurationV7PtrOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationVpnConnectionResponseOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationVpnConnectionResponsePtrOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationVpnGatewayResponseOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationVpnGatewayResponsePtrOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationVpnServerConfigurationResponseOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationVpnServerConfigurationResponsePtrOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput{})
+ pulumi.RegisterOutputType(RoutingConfigurationgetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput{})
pulumi.RegisterOutputType(RoutingPolicyOutput{})
pulumi.RegisterOutputType(RoutingPolicyArrayOutput{})
pulumi.RegisterOutputType(RoutingPolicyResponseOutput{})
@@ -45064,38 +45771,50 @@ func init() {
pulumi.RegisterOutputType(RoutingRuleRouteDestinationResponseOutput{})
pulumi.RegisterOutputType(SecurityRuleTypeOutput{})
pulumi.RegisterOutputType(SecurityRuleTypeArrayOutput{})
+ pulumi.RegisterOutputType(SecurityRuleInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(SecurityRuleInterfaceEndpointResponseArrayOutput{})
pulumi.RegisterOutputType(SecurityRuleResponseOutput{})
pulumi.RegisterOutputType(SecurityRuleResponseArrayOutput{})
- pulumi.RegisterOutputType(SecurityRuleResponseV1Output{})
- pulumi.RegisterOutputType(SecurityRuleResponseV1ArrayOutput{})
+ pulumi.RegisterOutputType(SecurityRuleServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(SecurityRuleServiceGatewayResponseArrayOutput{})
+ pulumi.RegisterOutputType(SecurityRuleVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(SecurityRuleVirtualNetworkApplianceResponseArrayOutput{})
pulumi.RegisterOutputType(SecurityUserGroupItemOutput{})
pulumi.RegisterOutputType(SecurityUserGroupItemArrayOutput{})
pulumi.RegisterOutputType(SecurityUserGroupItemResponseOutput{})
pulumi.RegisterOutputType(SecurityUserGroupItemResponseArrayOutput{})
pulumi.RegisterOutputType(ServiceAssociationLinkOutput{})
pulumi.RegisterOutputType(ServiceAssociationLinkArrayOutput{})
+ pulumi.RegisterOutputType(ServiceAssociationLinkInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(ServiceAssociationLinkInterfaceEndpointResponseArrayOutput{})
pulumi.RegisterOutputType(ServiceAssociationLinkResponseOutput{})
pulumi.RegisterOutputType(ServiceAssociationLinkResponseArrayOutput{})
- pulumi.RegisterOutputType(ServiceAssociationLinkResponseV1Output{})
- pulumi.RegisterOutputType(ServiceAssociationLinkResponseV1ArrayOutput{})
pulumi.RegisterOutputType(ServiceEndpointPolicyTypeOutput{})
pulumi.RegisterOutputType(ServiceEndpointPolicyTypeArrayOutput{})
pulumi.RegisterOutputType(ServiceEndpointPolicyDefinitionTypeOutput{})
pulumi.RegisterOutputType(ServiceEndpointPolicyDefinitionTypeArrayOutput{})
+ pulumi.RegisterOutputType(ServiceEndpointPolicyDefinitionInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(ServiceEndpointPolicyDefinitionInterfaceEndpointResponseArrayOutput{})
pulumi.RegisterOutputType(ServiceEndpointPolicyDefinitionResponseOutput{})
pulumi.RegisterOutputType(ServiceEndpointPolicyDefinitionResponseArrayOutput{})
- pulumi.RegisterOutputType(ServiceEndpointPolicyDefinitionResponseV1Output{})
- pulumi.RegisterOutputType(ServiceEndpointPolicyDefinitionResponseV1ArrayOutput{})
+ pulumi.RegisterOutputType(ServiceEndpointPolicyDefinitionServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(ServiceEndpointPolicyDefinitionServiceGatewayResponseArrayOutput{})
+ pulumi.RegisterOutputType(ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(ServiceEndpointPolicyDefinitionVirtualNetworkApplianceResponseArrayOutput{})
+ pulumi.RegisterOutputType(ServiceEndpointPolicyInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(ServiceEndpointPolicyInterfaceEndpointResponseArrayOutput{})
pulumi.RegisterOutputType(ServiceEndpointPolicyResponseOutput{})
pulumi.RegisterOutputType(ServiceEndpointPolicyResponseArrayOutput{})
- pulumi.RegisterOutputType(ServiceEndpointPolicyResponseV1Output{})
- pulumi.RegisterOutputType(ServiceEndpointPolicyResponseV1ArrayOutput{})
+ pulumi.RegisterOutputType(ServiceEndpointPolicyServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(ServiceEndpointPolicyServiceGatewayResponseArrayOutput{})
+ pulumi.RegisterOutputType(ServiceEndpointPolicyVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(ServiceEndpointPolicyVirtualNetworkApplianceResponseArrayOutput{})
pulumi.RegisterOutputType(ServiceEndpointPropertiesFormatOutput{})
pulumi.RegisterOutputType(ServiceEndpointPropertiesFormatArrayOutput{})
+ pulumi.RegisterOutputType(ServiceEndpointPropertiesFormatInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(ServiceEndpointPropertiesFormatInterfaceEndpointResponseArrayOutput{})
pulumi.RegisterOutputType(ServiceEndpointPropertiesFormatResponseOutput{})
pulumi.RegisterOutputType(ServiceEndpointPropertiesFormatResponseArrayOutput{})
- pulumi.RegisterOutputType(ServiceEndpointPropertiesFormatResponseV1Output{})
- pulumi.RegisterOutputType(ServiceEndpointPropertiesFormatResponseV1ArrayOutput{})
pulumi.RegisterOutputType(ServiceGatewaySkuOutput{})
pulumi.RegisterOutputType(ServiceGatewaySkuPtrOutput{})
pulumi.RegisterOutputType(ServiceGatewaySkuResponseOutput{})
@@ -45116,24 +45835,26 @@ func init() {
pulumi.RegisterOutputType(StaticRouteResponseArrayOutput{})
pulumi.RegisterOutputType(StaticRoutesConfigOutput{})
pulumi.RegisterOutputType(StaticRoutesConfigPtrOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfigExpressRouteConnectionResponseOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfigExpressRouteConnectionResponsePtrOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfigExpressRouteGatewayResponseOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfigExpressRouteGatewayResponsePtrOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfigHubVirtualNetworkConnectionResponseOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfigHubVirtualNetworkConnectionResponsePtrOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfigNetworkVirtualApplianceConnectionResponseOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfigNetworkVirtualApplianceConnectionResponsePtrOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfigP2sVpnGatewayResponseOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfigP2sVpnGatewayResponsePtrOutput{})
pulumi.RegisterOutputType(StaticRoutesConfigResponseOutput{})
pulumi.RegisterOutputType(StaticRoutesConfigResponsePtrOutput{})
- pulumi.RegisterOutputType(StaticRoutesConfigResponseV1Output{})
- pulumi.RegisterOutputType(StaticRoutesConfigResponseV1PtrOutput{})
- pulumi.RegisterOutputType(StaticRoutesConfigResponseV2Output{})
- pulumi.RegisterOutputType(StaticRoutesConfigResponseV2PtrOutput{})
- pulumi.RegisterOutputType(StaticRoutesConfigResponseV3Output{})
- pulumi.RegisterOutputType(StaticRoutesConfigResponseV3PtrOutput{})
- pulumi.RegisterOutputType(StaticRoutesConfigResponseV5Output{})
- pulumi.RegisterOutputType(StaticRoutesConfigResponseV5PtrOutput{})
- pulumi.RegisterOutputType(StaticRoutesConfigResponseV6Output{})
- pulumi.RegisterOutputType(StaticRoutesConfigResponseV6PtrOutput{})
- pulumi.RegisterOutputType(StaticRoutesConfigResponseV7Output{})
- pulumi.RegisterOutputType(StaticRoutesConfigResponseV7PtrOutput{})
- pulumi.RegisterOutputType(StaticRoutesConfigResponseV8Output{})
- pulumi.RegisterOutputType(StaticRoutesConfigResponseV8PtrOutput{})
- pulumi.RegisterOutputType(StaticRoutesConfigResponseV9Output{})
- pulumi.RegisterOutputType(StaticRoutesConfigResponseV9PtrOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfigVpnConnectionResponseOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfigVpnConnectionResponsePtrOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfigVpnGatewayResponseOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfigVpnGatewayResponsePtrOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfigVpnServerConfigurationResponseOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfigVpnServerConfigurationResponsePtrOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput{})
+ pulumi.RegisterOutputType(StaticRoutesConfiggetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput{})
pulumi.RegisterOutputType(SubResourceOutput{})
pulumi.RegisterOutputType(SubResourcePtrOutput{})
pulumi.RegisterOutputType(SubResourceArrayOutput{})
@@ -45147,11 +45868,20 @@ func init() {
pulumi.RegisterOutputType(SubnetTypeOutput{})
pulumi.RegisterOutputType(SubnetTypePtrOutput{})
pulumi.RegisterOutputType(SubnetTypeArrayOutput{})
+ pulumi.RegisterOutputType(SubnetInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(SubnetInterfaceEndpointResponsePtrOutput{})
pulumi.RegisterOutputType(SubnetResponseOutput{})
pulumi.RegisterOutputType(SubnetResponsePtrOutput{})
pulumi.RegisterOutputType(SubnetResponseArrayOutput{})
pulumi.RegisterOutputType(SubnetResponseV1Output{})
pulumi.RegisterOutputType(SubnetResponseV1PtrOutput{})
+ pulumi.RegisterOutputType(SubnetResponseV2Output{})
+ pulumi.RegisterOutputType(SubnetResponseV2PtrOutput{})
+ pulumi.RegisterOutputType(SubnetServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(SubnetServiceGatewayResponsePtrOutput{})
+ pulumi.RegisterOutputType(SubnetServiceGatewayResponseArrayOutput{})
+ pulumi.RegisterOutputType(SubnetVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(SubnetVirtualNetworkApplianceResponsePtrOutput{})
pulumi.RegisterOutputType(SubscriptionIdOutput{})
pulumi.RegisterOutputType(SubscriptionIdArrayOutput{})
pulumi.RegisterOutputType(SubscriptionIdResponseOutput{})
@@ -45266,38 +45996,51 @@ func init() {
pulumi.RegisterOutputType(VirtualNetworkPeeringTypeArrayOutput{})
pulumi.RegisterOutputType(VirtualNetworkPeeringResponseOutput{})
pulumi.RegisterOutputType(VirtualNetworkPeeringResponseArrayOutput{})
+ pulumi.RegisterOutputType(VirtualNetworkPeeringVirtualNetworkResponseOutput{})
+ pulumi.RegisterOutputType(VirtualNetworkPeeringVirtualNetworkResponseArrayOutput{})
+ pulumi.RegisterOutputType(VirtualNetworkResponseOutput{})
+ pulumi.RegisterOutputType(VirtualNetworkResponsePtrOutput{})
pulumi.RegisterOutputType(VirtualNetworkTapTypeOutput{})
pulumi.RegisterOutputType(VirtualNetworkTapTypePtrOutput{})
pulumi.RegisterOutputType(VirtualNetworkTapTypeArrayOutput{})
+ pulumi.RegisterOutputType(VirtualNetworkTapInterfaceEndpointResponseOutput{})
+ pulumi.RegisterOutputType(VirtualNetworkTapInterfaceEndpointResponsePtrOutput{})
+ pulumi.RegisterOutputType(VirtualNetworkTapInterfaceEndpointResponseArrayOutput{})
pulumi.RegisterOutputType(VirtualNetworkTapResponseOutput{})
pulumi.RegisterOutputType(VirtualNetworkTapResponsePtrOutput{})
pulumi.RegisterOutputType(VirtualNetworkTapResponseArrayOutput{})
- pulumi.RegisterOutputType(VirtualNetworkTapResponseV1Output{})
- pulumi.RegisterOutputType(VirtualNetworkTapResponseV1ArrayOutput{})
+ pulumi.RegisterOutputType(VirtualNetworkTapServiceGatewayResponseOutput{})
+ pulumi.RegisterOutputType(VirtualNetworkTapServiceGatewayResponsePtrOutput{})
+ pulumi.RegisterOutputType(VirtualNetworkTapServiceGatewayResponseArrayOutput{})
+ pulumi.RegisterOutputType(VirtualNetworkTapVirtualNetworkApplianceResponseOutput{})
+ pulumi.RegisterOutputType(VirtualNetworkTapVirtualNetworkApplianceResponsePtrOutput{})
+ pulumi.RegisterOutputType(VirtualNetworkTapVirtualNetworkApplianceResponseArrayOutput{})
pulumi.RegisterOutputType(VirtualRouterAutoScaleConfigurationOutput{})
pulumi.RegisterOutputType(VirtualRouterAutoScaleConfigurationPtrOutput{})
pulumi.RegisterOutputType(VirtualRouterAutoScaleConfigurationResponseOutput{})
pulumi.RegisterOutputType(VirtualRouterAutoScaleConfigurationResponsePtrOutput{})
pulumi.RegisterOutputType(VnetRouteOutput{})
pulumi.RegisterOutputType(VnetRoutePtrOutput{})
+ pulumi.RegisterOutputType(VnetRouteExpressRouteConnectionResponseOutput{})
+ pulumi.RegisterOutputType(VnetRouteExpressRouteConnectionResponsePtrOutput{})
+ pulumi.RegisterOutputType(VnetRouteExpressRouteGatewayResponseOutput{})
+ pulumi.RegisterOutputType(VnetRouteExpressRouteGatewayResponsePtrOutput{})
+ pulumi.RegisterOutputType(VnetRouteHubVirtualNetworkConnectionResponseOutput{})
+ pulumi.RegisterOutputType(VnetRouteHubVirtualNetworkConnectionResponsePtrOutput{})
+ pulumi.RegisterOutputType(VnetRouteNetworkVirtualApplianceConnectionResponseOutput{})
+ pulumi.RegisterOutputType(VnetRouteNetworkVirtualApplianceConnectionResponsePtrOutput{})
+ pulumi.RegisterOutputType(VnetRouteP2sVpnGatewayResponseOutput{})
+ pulumi.RegisterOutputType(VnetRouteP2sVpnGatewayResponsePtrOutput{})
pulumi.RegisterOutputType(VnetRouteResponseOutput{})
pulumi.RegisterOutputType(VnetRouteResponsePtrOutput{})
- pulumi.RegisterOutputType(VnetRouteResponseV1Output{})
- pulumi.RegisterOutputType(VnetRouteResponseV1PtrOutput{})
- pulumi.RegisterOutputType(VnetRouteResponseV2Output{})
- pulumi.RegisterOutputType(VnetRouteResponseV2PtrOutput{})
- pulumi.RegisterOutputType(VnetRouteResponseV3Output{})
- pulumi.RegisterOutputType(VnetRouteResponseV3PtrOutput{})
- pulumi.RegisterOutputType(VnetRouteResponseV5Output{})
- pulumi.RegisterOutputType(VnetRouteResponseV5PtrOutput{})
- pulumi.RegisterOutputType(VnetRouteResponseV6Output{})
- pulumi.RegisterOutputType(VnetRouteResponseV6PtrOutput{})
- pulumi.RegisterOutputType(VnetRouteResponseV7Output{})
- pulumi.RegisterOutputType(VnetRouteResponseV7PtrOutput{})
- pulumi.RegisterOutputType(VnetRouteResponseV8Output{})
- pulumi.RegisterOutputType(VnetRouteResponseV8PtrOutput{})
- pulumi.RegisterOutputType(VnetRouteResponseV9Output{})
- pulumi.RegisterOutputType(VnetRouteResponseV9PtrOutput{})
+ pulumi.RegisterOutputType(VnetRouteVpnConnectionResponseOutput{})
+ pulumi.RegisterOutputType(VnetRouteVpnConnectionResponsePtrOutput{})
+ pulumi.RegisterOutputType(VnetRouteVpnGatewayResponseOutput{})
+ pulumi.RegisterOutputType(VnetRouteVpnGatewayResponsePtrOutput{})
+ pulumi.RegisterOutputType(VnetRouteVpnServerConfigurationResponseOutput{})
+ pulumi.RegisterOutputType(VnetRouteVpnServerConfigurationResponsePtrOutput{})
+ pulumi.RegisterOutputType(VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponseOutput{})
+ pulumi.RegisterOutputType(VnetRoutegetP2sVpnGatewayP2sVpnConnectionHealthResponsePtrOutput{})
pulumi.RegisterOutputType(VngClientConnectionConfigurationOutput{})
pulumi.RegisterOutputType(VngClientConnectionConfigurationArrayOutput{})
pulumi.RegisterOutputType(VngClientConnectionConfigurationResponseOutput{})
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/serviceGateway.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/serviceGateway.go
index 028a78149..adf104d7c 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/serviceGateway.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/serviceGateway.go
@@ -45,7 +45,7 @@ type ServiceGateway struct {
// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type pulumi.StringOutput `pulumi:"type"`
// Reference to an existing virtual network.
- VirtualNetwork CommonVirtualNetworkResponsePtrOutput `pulumi:"virtualNetwork"`
+ VirtualNetwork VirtualNetworkResponsePtrOutput `pulumi:"virtualNetwork"`
// A list of availability zones denoting the zone in which service gateway should be deployed.
//
// - The zone values must be provided as strings representing numeric identifiers like "1", "2", "3" etc.
@@ -261,8 +261,8 @@ func (o ServiceGatewayOutput) Type() pulumi.StringOutput {
}
// Reference to an existing virtual network.
-func (o ServiceGatewayOutput) VirtualNetwork() CommonVirtualNetworkResponsePtrOutput {
- return o.ApplyT(func(v *ServiceGateway) CommonVirtualNetworkResponsePtrOutput { return v.VirtualNetwork }).(CommonVirtualNetworkResponsePtrOutput)
+func (o ServiceGatewayOutput) VirtualNetwork() VirtualNetworkResponsePtrOutput {
+ return o.ApplyT(func(v *ServiceGateway) VirtualNetworkResponsePtrOutput { return v.VirtualNetwork }).(VirtualNetworkResponsePtrOutput)
}
// A list of availability zones denoting the zone in which service gateway should be deployed.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/virtualNetwork.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/virtualNetwork.go
index 02a7f0504..6c29e68fc 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/virtualNetwork.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/virtualNetwork.go
@@ -63,7 +63,7 @@ type VirtualNetwork struct {
// Resource type.
Type pulumi.StringOutput `pulumi:"type"`
// A list of peerings in a Virtual Network.
- VirtualNetworkPeerings VirtualNetworkPeeringResponseArrayOutput `pulumi:"virtualNetworkPeerings"`
+ VirtualNetworkPeerings VirtualNetworkPeeringVirtualNetworkResponseArrayOutput `pulumi:"virtualNetworkPeerings"`
}
// NewVirtualNetwork registers a new resource with the given unique name, arguments, and options.
@@ -523,8 +523,10 @@ func (o VirtualNetworkOutput) Type() pulumi.StringOutput {
}
// A list of peerings in a Virtual Network.
-func (o VirtualNetworkOutput) VirtualNetworkPeerings() VirtualNetworkPeeringResponseArrayOutput {
- return o.ApplyT(func(v *VirtualNetwork) VirtualNetworkPeeringResponseArrayOutput { return v.VirtualNetworkPeerings }).(VirtualNetworkPeeringResponseArrayOutput)
+func (o VirtualNetworkOutput) VirtualNetworkPeerings() VirtualNetworkPeeringVirtualNetworkResponseArrayOutput {
+ return o.ApplyT(func(v *VirtualNetwork) VirtualNetworkPeeringVirtualNetworkResponseArrayOutput {
+ return v.VirtualNetworkPeerings
+ }).(VirtualNetworkPeeringVirtualNetworkResponseArrayOutput)
}
func init() {
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/virtualNetworkAppliance.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/virtualNetworkAppliance.go
index dce69364a..0146e0240 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/virtualNetworkAppliance.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/virtualNetworkAppliance.go
@@ -37,7 +37,7 @@ type VirtualNetworkAppliance struct {
// The resource GUID property of the virtual network appliance resource.
ResourceGuid pulumi.StringOutput `pulumi:"resourceGuid"`
// The reference to the subnet resource.
- Subnet CommonSubnetResponsePtrOutput `pulumi:"subnet"`
+ Subnet SubnetResponseV2PtrOutput `pulumi:"subnet"`
// Resource tags.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// Resource type.
@@ -213,8 +213,8 @@ func (o VirtualNetworkApplianceOutput) ResourceGuid() pulumi.StringOutput {
}
// The reference to the subnet resource.
-func (o VirtualNetworkApplianceOutput) Subnet() CommonSubnetResponsePtrOutput {
- return o.ApplyT(func(v *VirtualNetworkAppliance) CommonSubnetResponsePtrOutput { return v.Subnet }).(CommonSubnetResponsePtrOutput)
+func (o VirtualNetworkApplianceOutput) Subnet() SubnetResponseV2PtrOutput {
+ return o.ApplyT(func(v *VirtualNetworkAppliance) SubnetResponseV2PtrOutput { return v.Subnet }).(SubnetResponseV2PtrOutput)
}
// Resource tags.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/vpnConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/vpnConnection.go
index c8a433039..f2105ba36 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/vpnConnection.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v3/vpnConnection.go
@@ -49,7 +49,7 @@ type VpnConnection struct {
// Id of the connected vpn site.
RemoteVpnSite SubResourceResponsePtrOutput `pulumi:"remoteVpnSite"`
// The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration RoutingConfigurationResponseV6PtrOutput `pulumi:"routingConfiguration"`
+ RoutingConfiguration RoutingConfigurationVpnConnectionResponsePtrOutput `pulumi:"routingConfiguration"`
// Routing weight for vpn connection.
RoutingWeight pulumi.IntPtrOutput `pulumi:"routingWeight"`
// SharedKey for the vpn connection.
@@ -278,7 +278,7 @@ type vpnConnectionArgs struct {
// The resource group name of the VpnGateway.
ResourceGroupName string `pulumi:"resourceGroupName"`
// The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration *RoutingConfigurationV6 `pulumi:"routingConfiguration"`
+ RoutingConfiguration *RoutingConfigurationType `pulumi:"routingConfiguration"`
// Routing weight for vpn connection.
RoutingWeight *int `pulumi:"routingWeight"`
// SharedKey for the vpn connection.
@@ -322,7 +322,7 @@ type VpnConnectionArgs struct {
// The resource group name of the VpnGateway.
ResourceGroupName pulumi.StringInput
// The Routing Configuration indicating the associated and propagated route tables on this connection.
- RoutingConfiguration RoutingConfigurationV6PtrInput
+ RoutingConfiguration RoutingConfigurationTypePtrInput
// Routing weight for vpn connection.
RoutingWeight pulumi.IntPtrInput
// SharedKey for the vpn connection.
@@ -447,8 +447,10 @@ func (o VpnConnectionOutput) RemoteVpnSite() SubResourceResponsePtrOutput {
}
// The Routing Configuration indicating the associated and propagated route tables on this connection.
-func (o VpnConnectionOutput) RoutingConfiguration() RoutingConfigurationResponseV6PtrOutput {
- return o.ApplyT(func(v *VpnConnection) RoutingConfigurationResponseV6PtrOutput { return v.RoutingConfiguration }).(RoutingConfigurationResponseV6PtrOutput)
+func (o VpnConnectionOutput) RoutingConfiguration() RoutingConfigurationVpnConnectionResponsePtrOutput {
+ return o.ApplyT(func(v *VpnConnection) RoutingConfigurationVpnConnectionResponsePtrOutput {
+ return v.RoutingConfiguration
+ }).(RoutingConfigurationVpnConnectionResponsePtrOutput)
}
// Routing weight for vpn connection.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/deploymentStacksWhatIfResultsAtResourceGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/deploymentStacksWhatIfResultsAtResourceGroup.go
index bda79f6a4..b84689b8f 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/deploymentStacksWhatIfResultsAtResourceGroup.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/deploymentStacksWhatIfResultsAtResourceGroup.go
@@ -25,7 +25,7 @@ type DeploymentStacksWhatIfResultsAtResourceGroup struct {
// The name of the resource
Name pulumi.StringOutput `pulumi:"name"`
// The resource-specific properties for this resource.
- Properties DeploymentStacksWhatIfResultPropertiesResponseV1Output `pulumi:"properties"`
+ Properties DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput `pulumi:"properties"`
// Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData SystemDataResponseOutput `pulumi:"systemData"`
// Resource tags.
@@ -162,10 +162,10 @@ func (o DeploymentStacksWhatIfResultsAtResourceGroupOutput) Name() pulumi.String
}
// The resource-specific properties for this resource.
-func (o DeploymentStacksWhatIfResultsAtResourceGroupOutput) Properties() DeploymentStacksWhatIfResultPropertiesResponseV1Output {
- return o.ApplyT(func(v *DeploymentStacksWhatIfResultsAtResourceGroup) DeploymentStacksWhatIfResultPropertiesResponseV1Output {
+func (o DeploymentStacksWhatIfResultsAtResourceGroupOutput) Properties() DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput {
+ return o.ApplyT(func(v *DeploymentStacksWhatIfResultsAtResourceGroup) DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput {
return v.Properties
- }).(DeploymentStacksWhatIfResultPropertiesResponseV1Output)
+ }).(DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput)
}
// Azure Resource Manager metadata containing createdBy and modifiedBy information.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/deploymentStacksWhatIfResultsAtSubscription.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/deploymentStacksWhatIfResultsAtSubscription.go
index c376980ad..40e267512 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/deploymentStacksWhatIfResultsAtSubscription.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/deploymentStacksWhatIfResultsAtSubscription.go
@@ -24,7 +24,7 @@ type DeploymentStacksWhatIfResultsAtSubscription struct {
// The name of the resource
Name pulumi.StringOutput `pulumi:"name"`
// The resource-specific properties for this resource.
- Properties DeploymentStacksWhatIfResultPropertiesResponseV2Output `pulumi:"properties"`
+ Properties DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput `pulumi:"properties"`
// Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData SystemDataResponseOutput `pulumi:"systemData"`
// Resource tags.
@@ -154,10 +154,10 @@ func (o DeploymentStacksWhatIfResultsAtSubscriptionOutput) Name() pulumi.StringO
}
// The resource-specific properties for this resource.
-func (o DeploymentStacksWhatIfResultsAtSubscriptionOutput) Properties() DeploymentStacksWhatIfResultPropertiesResponseV2Output {
- return o.ApplyT(func(v *DeploymentStacksWhatIfResultsAtSubscription) DeploymentStacksWhatIfResultPropertiesResponseV2Output {
+func (o DeploymentStacksWhatIfResultsAtSubscriptionOutput) Properties() DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput {
+ return o.ApplyT(func(v *DeploymentStacksWhatIfResultsAtSubscription) DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput {
return v.Properties
- }).(DeploymentStacksWhatIfResultPropertiesResponseV2Output)
+ }).(DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput)
}
// Azure Resource Manager metadata containing createdBy and modifiedBy information.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/getDeploymentStacksWhatIfResultsAtResourceGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/getDeploymentStacksWhatIfResultsAtResourceGroup.go
index 99e8877c9..d44a0dd9a 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/getDeploymentStacksWhatIfResultsAtResourceGroup.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/getDeploymentStacksWhatIfResultsAtResourceGroup.go
@@ -42,7 +42,7 @@ type LookupDeploymentStacksWhatIfResultsAtResourceGroupResult struct {
// The name of the resource
Name string `pulumi:"name"`
// The resource-specific properties for this resource.
- Properties DeploymentStacksWhatIfResultPropertiesResponse `pulumi:"properties"`
+ Properties DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse `pulumi:"properties"`
// Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData SystemDataResponse `pulumi:"systemData"`
// Resource tags.
@@ -107,10 +107,10 @@ func (o LookupDeploymentStacksWhatIfResultsAtResourceGroupResultOutput) Name() p
}
// The resource-specific properties for this resource.
-func (o LookupDeploymentStacksWhatIfResultsAtResourceGroupResultOutput) Properties() DeploymentStacksWhatIfResultPropertiesResponseOutput {
- return o.ApplyT(func(v LookupDeploymentStacksWhatIfResultsAtResourceGroupResult) DeploymentStacksWhatIfResultPropertiesResponse {
+func (o LookupDeploymentStacksWhatIfResultsAtResourceGroupResultOutput) Properties() DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput {
+ return o.ApplyT(func(v LookupDeploymentStacksWhatIfResultsAtResourceGroupResult) DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse {
return v.Properties
- }).(DeploymentStacksWhatIfResultPropertiesResponseOutput)
+ }).(DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput)
}
// Azure Resource Manager metadata containing createdBy and modifiedBy information.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/getDeploymentStacksWhatIfResultsAtSubscription.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/getDeploymentStacksWhatIfResultsAtSubscription.go
index 54b123ad5..5a0aa92eb 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/getDeploymentStacksWhatIfResultsAtSubscription.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/getDeploymentStacksWhatIfResultsAtSubscription.go
@@ -40,7 +40,7 @@ type LookupDeploymentStacksWhatIfResultsAtSubscriptionResult struct {
// The name of the resource
Name string `pulumi:"name"`
// The resource-specific properties for this resource.
- Properties DeploymentStacksWhatIfResultPropertiesResponse `pulumi:"properties"`
+ Properties DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse `pulumi:"properties"`
// Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData SystemDataResponse `pulumi:"systemData"`
// Resource tags.
@@ -103,10 +103,10 @@ func (o LookupDeploymentStacksWhatIfResultsAtSubscriptionResultOutput) Name() pu
}
// The resource-specific properties for this resource.
-func (o LookupDeploymentStacksWhatIfResultsAtSubscriptionResultOutput) Properties() DeploymentStacksWhatIfResultPropertiesResponseOutput {
- return o.ApplyT(func(v LookupDeploymentStacksWhatIfResultsAtSubscriptionResult) DeploymentStacksWhatIfResultPropertiesResponse {
+func (o LookupDeploymentStacksWhatIfResultsAtSubscriptionResultOutput) Properties() DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput {
+ return o.ApplyT(func(v LookupDeploymentStacksWhatIfResultsAtSubscriptionResult) DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse {
return v.Properties
- }).(DeploymentStacksWhatIfResultPropertiesResponseOutput)
+ }).(DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput)
}
// Azure Resource Manager metadata containing createdBy and modifiedBy information.
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/pulumi-plugin.json
index 690917d0f..a94227cae 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/pulumi-plugin.json
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/pulumi-plugin.json
@@ -1,5 +1,5 @@
{
"resource": true,
"name": "azure-native",
- "version": "3.20.0"
+ "version": "3.24.0"
}
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/pulumiTypes.go
index 76f1b85ea..891184553 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/pulumiTypes.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v3/pulumiTypes.go
@@ -211,47 +211,62 @@ func (o ActionOnUnmanagePtrOutput) ResourcesWithoutDeleteSupport() pulumi.String
}
// Defines the behavior of resources that are no longer managed after the stack is updated or deleted.
-type ActionOnUnmanageResponse struct {
+type ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponse struct {
// Specifies an action for a newly unmanaged resource management group.
ManagementGroups *string `pulumi:"managementGroups"`
// Specifies an action for a newly unmanaged resource group.
ResourceGroups *string `pulumi:"resourceGroups"`
// Specifies an action for a newly unmanaged resource.
Resources string `pulumi:"resources"`
+ // Some resources do not support deletion. This flag will denote how the stack should handle those resources.
+ ResourcesWithoutDeleteSupport *string `pulumi:"resourcesWithoutDeleteSupport"`
}
// Defines the behavior of resources that are no longer managed after the stack is updated or deleted.
-type ActionOnUnmanageResponseOutput struct{ *pulumi.OutputState }
+type ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponseOutput struct{ *pulumi.OutputState }
-func (ActionOnUnmanageResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*ActionOnUnmanageResponse)(nil)).Elem()
+func (ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponse)(nil)).Elem()
}
-func (o ActionOnUnmanageResponseOutput) ToActionOnUnmanageResponseOutput() ActionOnUnmanageResponseOutput {
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponseOutput) ToActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponseOutput() ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponseOutput {
return o
}
-func (o ActionOnUnmanageResponseOutput) ToActionOnUnmanageResponseOutputWithContext(ctx context.Context) ActionOnUnmanageResponseOutput {
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponseOutput) ToActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponseOutputWithContext(ctx context.Context) ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponseOutput {
return o
}
// Specifies an action for a newly unmanaged resource management group.
-func (o ActionOnUnmanageResponseOutput) ManagementGroups() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActionOnUnmanageResponse) *string { return v.ManagementGroups }).(pulumi.StringPtrOutput)
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponseOutput) ManagementGroups() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponse) *string {
+ return v.ManagementGroups
+ }).(pulumi.StringPtrOutput)
}
// Specifies an action for a newly unmanaged resource group.
-func (o ActionOnUnmanageResponseOutput) ResourceGroups() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActionOnUnmanageResponse) *string { return v.ResourceGroups }).(pulumi.StringPtrOutput)
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponseOutput) ResourceGroups() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponse) *string {
+ return v.ResourceGroups
+ }).(pulumi.StringPtrOutput)
}
// Specifies an action for a newly unmanaged resource.
-func (o ActionOnUnmanageResponseOutput) Resources() pulumi.StringOutput {
- return o.ApplyT(func(v ActionOnUnmanageResponse) string { return v.Resources }).(pulumi.StringOutput)
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponseOutput) Resources() pulumi.StringOutput {
+ return o.ApplyT(func(v ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponse) string {
+ return v.Resources
+ }).(pulumi.StringOutput)
+}
+
+// Some resources do not support deletion. This flag will denote how the stack should handle those resources.
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponseOutput) ResourcesWithoutDeleteSupport() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponse) *string {
+ return v.ResourcesWithoutDeleteSupport
+ }).(pulumi.StringPtrOutput)
}
// Defines the behavior of resources that are no longer managed after the stack is updated or deleted.
-type ActionOnUnmanageResponseV1 struct {
+type ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponse struct {
// Specifies an action for a newly unmanaged resource management group.
ManagementGroups *string `pulumi:"managementGroups"`
// Specifies an action for a newly unmanaged resource group.
@@ -263,42 +278,50 @@ type ActionOnUnmanageResponseV1 struct {
}
// Defines the behavior of resources that are no longer managed after the stack is updated or deleted.
-type ActionOnUnmanageResponseV1Output struct{ *pulumi.OutputState }
+type ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput struct{ *pulumi.OutputState }
-func (ActionOnUnmanageResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ActionOnUnmanageResponseV1)(nil)).Elem()
+func (ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponse)(nil)).Elem()
}
-func (o ActionOnUnmanageResponseV1Output) ToActionOnUnmanageResponseV1Output() ActionOnUnmanageResponseV1Output {
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) ToActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput() ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput {
return o
}
-func (o ActionOnUnmanageResponseV1Output) ToActionOnUnmanageResponseV1OutputWithContext(ctx context.Context) ActionOnUnmanageResponseV1Output {
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) ToActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponseOutputWithContext(ctx context.Context) ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput {
return o
}
// Specifies an action for a newly unmanaged resource management group.
-func (o ActionOnUnmanageResponseV1Output) ManagementGroups() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActionOnUnmanageResponseV1) *string { return v.ManagementGroups }).(pulumi.StringPtrOutput)
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) ManagementGroups() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponse) *string {
+ return v.ManagementGroups
+ }).(pulumi.StringPtrOutput)
}
// Specifies an action for a newly unmanaged resource group.
-func (o ActionOnUnmanageResponseV1Output) ResourceGroups() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActionOnUnmanageResponseV1) *string { return v.ResourceGroups }).(pulumi.StringPtrOutput)
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) ResourceGroups() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponse) *string {
+ return v.ResourceGroups
+ }).(pulumi.StringPtrOutput)
}
// Specifies an action for a newly unmanaged resource.
-func (o ActionOnUnmanageResponseV1Output) Resources() pulumi.StringOutput {
- return o.ApplyT(func(v ActionOnUnmanageResponseV1) string { return v.Resources }).(pulumi.StringOutput)
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) Resources() pulumi.StringOutput {
+ return o.ApplyT(func(v ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponse) string {
+ return v.Resources
+ }).(pulumi.StringOutput)
}
// Some resources do not support deletion. This flag will denote how the stack should handle those resources.
-func (o ActionOnUnmanageResponseV1Output) ResourcesWithoutDeleteSupport() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActionOnUnmanageResponseV1) *string { return v.ResourcesWithoutDeleteSupport }).(pulumi.StringPtrOutput)
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) ResourcesWithoutDeleteSupport() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponse) *string {
+ return v.ResourcesWithoutDeleteSupport
+ }).(pulumi.StringPtrOutput)
}
// Defines the behavior of resources that are no longer managed after the stack is updated or deleted.
-type ActionOnUnmanageResponseV2 struct {
+type ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponse struct {
// Specifies an action for a newly unmanaged resource management group.
ManagementGroups *string `pulumi:"managementGroups"`
// Specifies an action for a newly unmanaged resource group.
@@ -310,85 +333,84 @@ type ActionOnUnmanageResponseV2 struct {
}
// Defines the behavior of resources that are no longer managed after the stack is updated or deleted.
-type ActionOnUnmanageResponseV2Output struct{ *pulumi.OutputState }
+type ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput struct{ *pulumi.OutputState }
-func (ActionOnUnmanageResponseV2Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ActionOnUnmanageResponseV2)(nil)).Elem()
+func (ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponse)(nil)).Elem()
}
-func (o ActionOnUnmanageResponseV2Output) ToActionOnUnmanageResponseV2Output() ActionOnUnmanageResponseV2Output {
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) ToActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput() ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput {
return o
}
-func (o ActionOnUnmanageResponseV2Output) ToActionOnUnmanageResponseV2OutputWithContext(ctx context.Context) ActionOnUnmanageResponseV2Output {
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) ToActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponseOutputWithContext(ctx context.Context) ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput {
return o
}
// Specifies an action for a newly unmanaged resource management group.
-func (o ActionOnUnmanageResponseV2Output) ManagementGroups() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActionOnUnmanageResponseV2) *string { return v.ManagementGroups }).(pulumi.StringPtrOutput)
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) ManagementGroups() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponse) *string {
+ return v.ManagementGroups
+ }).(pulumi.StringPtrOutput)
}
// Specifies an action for a newly unmanaged resource group.
-func (o ActionOnUnmanageResponseV2Output) ResourceGroups() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActionOnUnmanageResponseV2) *string { return v.ResourceGroups }).(pulumi.StringPtrOutput)
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) ResourceGroups() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponse) *string {
+ return v.ResourceGroups
+ }).(pulumi.StringPtrOutput)
}
// Specifies an action for a newly unmanaged resource.
-func (o ActionOnUnmanageResponseV2Output) Resources() pulumi.StringOutput {
- return o.ApplyT(func(v ActionOnUnmanageResponseV2) string { return v.Resources }).(pulumi.StringOutput)
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) Resources() pulumi.StringOutput {
+ return o.ApplyT(func(v ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponse) string { return v.Resources }).(pulumi.StringOutput)
}
// Some resources do not support deletion. This flag will denote how the stack should handle those resources.
-func (o ActionOnUnmanageResponseV2Output) ResourcesWithoutDeleteSupport() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActionOnUnmanageResponseV2) *string { return v.ResourcesWithoutDeleteSupport }).(pulumi.StringPtrOutput)
+func (o ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) ResourcesWithoutDeleteSupport() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponse) *string {
+ return v.ResourcesWithoutDeleteSupport
+ }).(pulumi.StringPtrOutput)
}
// Defines the behavior of resources that are no longer managed after the stack is updated or deleted.
-type ActionOnUnmanageResponseV3 struct {
+type ActionOnUnmanageResponse struct {
// Specifies an action for a newly unmanaged resource management group.
ManagementGroups *string `pulumi:"managementGroups"`
// Specifies an action for a newly unmanaged resource group.
ResourceGroups *string `pulumi:"resourceGroups"`
// Specifies an action for a newly unmanaged resource.
Resources string `pulumi:"resources"`
- // Some resources do not support deletion. This flag will denote how the stack should handle those resources.
- ResourcesWithoutDeleteSupport *string `pulumi:"resourcesWithoutDeleteSupport"`
}
// Defines the behavior of resources that are no longer managed after the stack is updated or deleted.
-type ActionOnUnmanageResponseV3Output struct{ *pulumi.OutputState }
+type ActionOnUnmanageResponseOutput struct{ *pulumi.OutputState }
-func (ActionOnUnmanageResponseV3Output) ElementType() reflect.Type {
- return reflect.TypeOf((*ActionOnUnmanageResponseV3)(nil)).Elem()
+func (ActionOnUnmanageResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*ActionOnUnmanageResponse)(nil)).Elem()
}
-func (o ActionOnUnmanageResponseV3Output) ToActionOnUnmanageResponseV3Output() ActionOnUnmanageResponseV3Output {
+func (o ActionOnUnmanageResponseOutput) ToActionOnUnmanageResponseOutput() ActionOnUnmanageResponseOutput {
return o
}
-func (o ActionOnUnmanageResponseV3Output) ToActionOnUnmanageResponseV3OutputWithContext(ctx context.Context) ActionOnUnmanageResponseV3Output {
+func (o ActionOnUnmanageResponseOutput) ToActionOnUnmanageResponseOutputWithContext(ctx context.Context) ActionOnUnmanageResponseOutput {
return o
}
// Specifies an action for a newly unmanaged resource management group.
-func (o ActionOnUnmanageResponseV3Output) ManagementGroups() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActionOnUnmanageResponseV3) *string { return v.ManagementGroups }).(pulumi.StringPtrOutput)
+func (o ActionOnUnmanageResponseOutput) ManagementGroups() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActionOnUnmanageResponse) *string { return v.ManagementGroups }).(pulumi.StringPtrOutput)
}
// Specifies an action for a newly unmanaged resource group.
-func (o ActionOnUnmanageResponseV3Output) ResourceGroups() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActionOnUnmanageResponseV3) *string { return v.ResourceGroups }).(pulumi.StringPtrOutput)
+func (o ActionOnUnmanageResponseOutput) ResourceGroups() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v ActionOnUnmanageResponse) *string { return v.ResourceGroups }).(pulumi.StringPtrOutput)
}
// Specifies an action for a newly unmanaged resource.
-func (o ActionOnUnmanageResponseV3Output) Resources() pulumi.StringOutput {
- return o.ApplyT(func(v ActionOnUnmanageResponseV3) string { return v.Resources }).(pulumi.StringOutput)
-}
-
-// Some resources do not support deletion. This flag will denote how the stack should handle those resources.
-func (o ActionOnUnmanageResponseV3Output) ResourcesWithoutDeleteSupport() pulumi.StringPtrOutput {
- return o.ApplyT(func(v ActionOnUnmanageResponseV3) *string { return v.ResourcesWithoutDeleteSupport }).(pulumi.StringPtrOutput)
+func (o ActionOnUnmanageResponseOutput) Resources() pulumi.StringOutput {
+ return o.ApplyT(func(v ActionOnUnmanageResponse) string { return v.Resources }).(pulumi.StringOutput)
}
type AliasPathMetadataResponse struct {
@@ -4358,9 +4380,9 @@ func (o DeploymentStacksWhatIfResultPropertiesPtrOutput) ValidationLevel() pulum
}
// DeploymentStack WhatIfResult Properties
-type DeploymentStacksWhatIfResultPropertiesResponse struct {
+type DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse struct {
// Defines the behavior of resources that are no longer managed after the Deployment stack is updated or deleted.
- ActionOnUnmanage ActionOnUnmanageResponseV1 `pulumi:"actionOnUnmanage"`
+ ActionOnUnmanage ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponse `pulumi:"actionOnUnmanage"`
// All of the changes predicted by the deployment stack what-if operation.
Changes DeploymentStacksWhatIfChangeResponse `pulumi:"changes"`
// The correlation id of the last Deployment stack upsert or delete operation. It is in GUID format and is used for tracing.
@@ -4394,116 +4416,136 @@ type DeploymentStacksWhatIfResultPropertiesResponse struct {
}
// DeploymentStack WhatIfResult Properties
-type DeploymentStacksWhatIfResultPropertiesResponseOutput struct{ *pulumi.OutputState }
+type DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput struct{ *pulumi.OutputState }
-func (DeploymentStacksWhatIfResultPropertiesResponseOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*DeploymentStacksWhatIfResultPropertiesResponse)(nil)).Elem()
+func (DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse)(nil)).Elem()
}
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) ToDeploymentStacksWhatIfResultPropertiesResponseOutput() DeploymentStacksWhatIfResultPropertiesResponseOutput {
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) ToDeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput() DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput {
return o
}
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) ToDeploymentStacksWhatIfResultPropertiesResponseOutputWithContext(ctx context.Context) DeploymentStacksWhatIfResultPropertiesResponseOutput {
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) ToDeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutputWithContext(ctx context.Context) DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput {
return o
}
// Defines the behavior of resources that are no longer managed after the Deployment stack is updated or deleted.
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) ActionOnUnmanage() ActionOnUnmanageResponseV1Output {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) ActionOnUnmanageResponseV1 {
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) ActionOnUnmanage() ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse) ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponse {
return v.ActionOnUnmanage
- }).(ActionOnUnmanageResponseV1Output)
+ }).(ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput)
}
// All of the changes predicted by the deployment stack what-if operation.
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) Changes() DeploymentStacksWhatIfChangeResponseOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) DeploymentStacksWhatIfChangeResponse {
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) Changes() DeploymentStacksWhatIfChangeResponseOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse) DeploymentStacksWhatIfChangeResponse {
return v.Changes
}).(DeploymentStacksWhatIfChangeResponseOutput)
}
// The correlation id of the last Deployment stack upsert or delete operation. It is in GUID format and is used for tracing.
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) CorrelationId() pulumi.StringOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) string { return v.CorrelationId }).(pulumi.StringOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) CorrelationId() pulumi.StringOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse) string {
+ return v.CorrelationId
+ }).(pulumi.StringOutput)
}
// The debug setting of the deployment.
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) DebugSetting() DeploymentStacksDebugSettingResponsePtrOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) *DeploymentStacksDebugSettingResponse {
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) DebugSetting() DeploymentStacksDebugSettingResponsePtrOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse) *DeploymentStacksDebugSettingResponse {
return v.DebugSetting
}).(DeploymentStacksDebugSettingResponsePtrOutput)
}
// Defines how resources deployed by the stack are locked.
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) DenySettings() DenySettingsResponseOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) DenySettingsResponse { return v.DenySettings }).(DenySettingsResponseOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) DenySettings() DenySettingsResponseOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse) DenySettingsResponse {
+ return v.DenySettings
+ }).(DenySettingsResponseOutput)
}
// The scope at which the initial deployment should be created. If a scope is not specified, it will default to the scope of the deployment stack. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroupId}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}').
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) DeploymentScope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) *string { return v.DeploymentScope }).(pulumi.StringPtrOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) DeploymentScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse) *string {
+ return v.DeploymentScope
+ }).(pulumi.StringPtrOutput)
}
// The timestamp for when the deployment stack was last modified. This can be used to determine if the what-if data is still current.
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) DeploymentStackLastModified() pulumi.StringOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) string { return v.DeploymentStackLastModified }).(pulumi.StringOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) DeploymentStackLastModified() pulumi.StringOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse) string {
+ return v.DeploymentStackLastModified
+ }).(pulumi.StringOutput)
}
// The deployment stack id to use as the basis for comparison.
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) DeploymentStackResourceId() pulumi.StringOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) string { return v.DeploymentStackResourceId }).(pulumi.StringOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) DeploymentStackResourceId() pulumi.StringOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse) string {
+ return v.DeploymentStackResourceId
+ }).(pulumi.StringOutput)
}
// Deployment stack description. Max length of 4096 characters.
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse) *string {
+ return v.Description
+ }).(pulumi.StringPtrOutput)
}
// List of resource diagnostics detected by What-If operation.
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) Diagnostics() DeploymentStacksDiagnosticResponseArrayOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) []DeploymentStacksDiagnosticResponse {
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) Diagnostics() DeploymentStacksDiagnosticResponseArrayOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse) []DeploymentStacksDiagnosticResponse {
return v.Diagnostics
}).(DeploymentStacksDiagnosticResponseArrayOutput)
}
// The error detail.
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) Error() ErrorDetailResponseOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) ErrorDetailResponse { return v.Error }).(ErrorDetailResponseOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) Error() ErrorDetailResponseOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse) ErrorDetailResponse {
+ return v.Error
+ }).(ErrorDetailResponseOutput)
}
// Name and value pairs that define the deployment parameters for the template. Use this element when providing the parameter values directly in the request, rather than linking to an existing parameter file. Use either the parametersLink property or the parameters property, but not both.
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) Parameters() DeploymentParameterResponseMapOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) map[string]DeploymentParameterResponse {
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) Parameters() DeploymentParameterResponseMapOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse) map[string]DeploymentParameterResponse {
return v.Parameters
}).(DeploymentParameterResponseMapOutput)
}
// The URI of parameters file. Use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) ParametersLink() DeploymentStacksParametersLinkResponsePtrOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) *DeploymentStacksParametersLinkResponse {
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) ParametersLink() DeploymentStacksParametersLinkResponsePtrOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse) *DeploymentStacksParametersLinkResponse {
return v.ParametersLink
}).(DeploymentStacksParametersLinkResponsePtrOutput)
}
// State of the deployment stack.
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse) string {
+ return v.ProvisioningState
+ }).(pulumi.StringOutput)
}
// The interval to persist the deployment stack what-if result in ISO 8601 format.
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) RetentionInterval() pulumi.StringOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) string { return v.RetentionInterval }).(pulumi.StringOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) RetentionInterval() pulumi.StringOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse) string {
+ return v.RetentionInterval
+ }).(pulumi.StringOutput)
}
// The validation level of the deployment stack
-func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) ValidationLevel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) *string { return v.ValidationLevel }).(pulumi.StringPtrOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput) ValidationLevel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponse) *string {
+ return v.ValidationLevel
+ }).(pulumi.StringPtrOutput)
}
// DeploymentStack WhatIfResult Properties
-type DeploymentStacksWhatIfResultPropertiesResponseV1 struct {
+type DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse struct {
// Defines the behavior of resources that are no longer managed after the Deployment stack is updated or deleted.
- ActionOnUnmanage ActionOnUnmanageResponseV2 `pulumi:"actionOnUnmanage"`
+ ActionOnUnmanage ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponse `pulumi:"actionOnUnmanage"`
// All of the changes predicted by the deployment stack what-if operation.
Changes DeploymentStacksWhatIfChangeResponse `pulumi:"changes"`
// The correlation id of the last Deployment stack upsert or delete operation. It is in GUID format and is used for tracing.
@@ -4537,116 +4579,136 @@ type DeploymentStacksWhatIfResultPropertiesResponseV1 struct {
}
// DeploymentStack WhatIfResult Properties
-type DeploymentStacksWhatIfResultPropertiesResponseV1Output struct{ *pulumi.OutputState }
+type DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput struct{ *pulumi.OutputState }
-func (DeploymentStacksWhatIfResultPropertiesResponseV1Output) ElementType() reflect.Type {
- return reflect.TypeOf((*DeploymentStacksWhatIfResultPropertiesResponseV1)(nil)).Elem()
+func (DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse)(nil)).Elem()
}
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) ToDeploymentStacksWhatIfResultPropertiesResponseV1Output() DeploymentStacksWhatIfResultPropertiesResponseV1Output {
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) ToDeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput() DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput {
return o
}
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) ToDeploymentStacksWhatIfResultPropertiesResponseV1OutputWithContext(ctx context.Context) DeploymentStacksWhatIfResultPropertiesResponseV1Output {
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) ToDeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutputWithContext(ctx context.Context) DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput {
return o
}
// Defines the behavior of resources that are no longer managed after the Deployment stack is updated or deleted.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) ActionOnUnmanage() ActionOnUnmanageResponseV2Output {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV1) ActionOnUnmanageResponseV2 {
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) ActionOnUnmanage() ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse) ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponse {
return v.ActionOnUnmanage
- }).(ActionOnUnmanageResponseV2Output)
+ }).(ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput)
}
// All of the changes predicted by the deployment stack what-if operation.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) Changes() DeploymentStacksWhatIfChangeResponseOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV1) DeploymentStacksWhatIfChangeResponse {
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) Changes() DeploymentStacksWhatIfChangeResponseOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse) DeploymentStacksWhatIfChangeResponse {
return v.Changes
}).(DeploymentStacksWhatIfChangeResponseOutput)
}
// The correlation id of the last Deployment stack upsert or delete operation. It is in GUID format and is used for tracing.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) CorrelationId() pulumi.StringOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV1) string { return v.CorrelationId }).(pulumi.StringOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) CorrelationId() pulumi.StringOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse) string {
+ return v.CorrelationId
+ }).(pulumi.StringOutput)
}
// The debug setting of the deployment.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) DebugSetting() DeploymentStacksDebugSettingResponsePtrOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV1) *DeploymentStacksDebugSettingResponse {
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) DebugSetting() DeploymentStacksDebugSettingResponsePtrOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse) *DeploymentStacksDebugSettingResponse {
return v.DebugSetting
}).(DeploymentStacksDebugSettingResponsePtrOutput)
}
// Defines how resources deployed by the stack are locked.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) DenySettings() DenySettingsResponseOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV1) DenySettingsResponse { return v.DenySettings }).(DenySettingsResponseOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) DenySettings() DenySettingsResponseOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse) DenySettingsResponse {
+ return v.DenySettings
+ }).(DenySettingsResponseOutput)
}
// The scope at which the initial deployment should be created. If a scope is not specified, it will default to the scope of the deployment stack. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroupId}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}').
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) DeploymentScope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV1) *string { return v.DeploymentScope }).(pulumi.StringPtrOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) DeploymentScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse) *string {
+ return v.DeploymentScope
+ }).(pulumi.StringPtrOutput)
}
// The timestamp for when the deployment stack was last modified. This can be used to determine if the what-if data is still current.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) DeploymentStackLastModified() pulumi.StringOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV1) string { return v.DeploymentStackLastModified }).(pulumi.StringOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) DeploymentStackLastModified() pulumi.StringOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse) string {
+ return v.DeploymentStackLastModified
+ }).(pulumi.StringOutput)
}
// The deployment stack id to use as the basis for comparison.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) DeploymentStackResourceId() pulumi.StringOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV1) string { return v.DeploymentStackResourceId }).(pulumi.StringOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) DeploymentStackResourceId() pulumi.StringOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse) string {
+ return v.DeploymentStackResourceId
+ }).(pulumi.StringOutput)
}
// Deployment stack description. Max length of 4096 characters.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV1) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse) *string {
+ return v.Description
+ }).(pulumi.StringPtrOutput)
}
// List of resource diagnostics detected by What-If operation.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) Diagnostics() DeploymentStacksDiagnosticResponseArrayOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV1) []DeploymentStacksDiagnosticResponse {
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) Diagnostics() DeploymentStacksDiagnosticResponseArrayOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse) []DeploymentStacksDiagnosticResponse {
return v.Diagnostics
}).(DeploymentStacksDiagnosticResponseArrayOutput)
}
// The error detail.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) Error() ErrorDetailResponseOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV1) ErrorDetailResponse { return v.Error }).(ErrorDetailResponseOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) Error() ErrorDetailResponseOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse) ErrorDetailResponse {
+ return v.Error
+ }).(ErrorDetailResponseOutput)
}
// Name and value pairs that define the deployment parameters for the template. Use this element when providing the parameter values directly in the request, rather than linking to an existing parameter file. Use either the parametersLink property or the parameters property, but not both.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) Parameters() DeploymentParameterResponseMapOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV1) map[string]DeploymentParameterResponse {
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) Parameters() DeploymentParameterResponseMapOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse) map[string]DeploymentParameterResponse {
return v.Parameters
}).(DeploymentParameterResponseMapOutput)
}
// The URI of parameters file. Use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) ParametersLink() DeploymentStacksParametersLinkResponsePtrOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV1) *DeploymentStacksParametersLinkResponse {
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) ParametersLink() DeploymentStacksParametersLinkResponsePtrOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse) *DeploymentStacksParametersLinkResponse {
return v.ParametersLink
}).(DeploymentStacksParametersLinkResponsePtrOutput)
}
// State of the deployment stack.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV1) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse) string {
+ return v.ProvisioningState
+ }).(pulumi.StringOutput)
}
// The interval to persist the deployment stack what-if result in ISO 8601 format.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) RetentionInterval() pulumi.StringOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV1) string { return v.RetentionInterval }).(pulumi.StringOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) RetentionInterval() pulumi.StringOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse) string {
+ return v.RetentionInterval
+ }).(pulumi.StringOutput)
}
// The validation level of the deployment stack
-func (o DeploymentStacksWhatIfResultPropertiesResponseV1Output) ValidationLevel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV1) *string { return v.ValidationLevel }).(pulumi.StringPtrOutput)
+func (o DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput) ValidationLevel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponse) *string {
+ return v.ValidationLevel
+ }).(pulumi.StringPtrOutput)
}
// DeploymentStack WhatIfResult Properties
-type DeploymentStacksWhatIfResultPropertiesResponseV2 struct {
+type DeploymentStacksWhatIfResultPropertiesResponse struct {
// Defines the behavior of resources that are no longer managed after the Deployment stack is updated or deleted.
- ActionOnUnmanage ActionOnUnmanageResponseV3 `pulumi:"actionOnUnmanage"`
+ ActionOnUnmanage ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponse `pulumi:"actionOnUnmanage"`
// All of the changes predicted by the deployment stack what-if operation.
Changes DeploymentStacksWhatIfChangeResponse `pulumi:"changes"`
// The correlation id of the last Deployment stack upsert or delete operation. It is in GUID format and is used for tracing.
@@ -4680,110 +4742,110 @@ type DeploymentStacksWhatIfResultPropertiesResponseV2 struct {
}
// DeploymentStack WhatIfResult Properties
-type DeploymentStacksWhatIfResultPropertiesResponseV2Output struct{ *pulumi.OutputState }
+type DeploymentStacksWhatIfResultPropertiesResponseOutput struct{ *pulumi.OutputState }
-func (DeploymentStacksWhatIfResultPropertiesResponseV2Output) ElementType() reflect.Type {
- return reflect.TypeOf((*DeploymentStacksWhatIfResultPropertiesResponseV2)(nil)).Elem()
+func (DeploymentStacksWhatIfResultPropertiesResponseOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*DeploymentStacksWhatIfResultPropertiesResponse)(nil)).Elem()
}
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) ToDeploymentStacksWhatIfResultPropertiesResponseV2Output() DeploymentStacksWhatIfResultPropertiesResponseV2Output {
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) ToDeploymentStacksWhatIfResultPropertiesResponseOutput() DeploymentStacksWhatIfResultPropertiesResponseOutput {
return o
}
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) ToDeploymentStacksWhatIfResultPropertiesResponseV2OutputWithContext(ctx context.Context) DeploymentStacksWhatIfResultPropertiesResponseV2Output {
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) ToDeploymentStacksWhatIfResultPropertiesResponseOutputWithContext(ctx context.Context) DeploymentStacksWhatIfResultPropertiesResponseOutput {
return o
}
// Defines the behavior of resources that are no longer managed after the Deployment stack is updated or deleted.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) ActionOnUnmanage() ActionOnUnmanageResponseV3Output {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV2) ActionOnUnmanageResponseV3 {
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) ActionOnUnmanage() ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponseOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponse {
return v.ActionOnUnmanage
- }).(ActionOnUnmanageResponseV3Output)
+ }).(ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponseOutput)
}
// All of the changes predicted by the deployment stack what-if operation.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) Changes() DeploymentStacksWhatIfChangeResponseOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV2) DeploymentStacksWhatIfChangeResponse {
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) Changes() DeploymentStacksWhatIfChangeResponseOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) DeploymentStacksWhatIfChangeResponse {
return v.Changes
}).(DeploymentStacksWhatIfChangeResponseOutput)
}
// The correlation id of the last Deployment stack upsert or delete operation. It is in GUID format and is used for tracing.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) CorrelationId() pulumi.StringOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV2) string { return v.CorrelationId }).(pulumi.StringOutput)
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) CorrelationId() pulumi.StringOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) string { return v.CorrelationId }).(pulumi.StringOutput)
}
// The debug setting of the deployment.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) DebugSetting() DeploymentStacksDebugSettingResponsePtrOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV2) *DeploymentStacksDebugSettingResponse {
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) DebugSetting() DeploymentStacksDebugSettingResponsePtrOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) *DeploymentStacksDebugSettingResponse {
return v.DebugSetting
}).(DeploymentStacksDebugSettingResponsePtrOutput)
}
// Defines how resources deployed by the stack are locked.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) DenySettings() DenySettingsResponseOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV2) DenySettingsResponse { return v.DenySettings }).(DenySettingsResponseOutput)
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) DenySettings() DenySettingsResponseOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) DenySettingsResponse { return v.DenySettings }).(DenySettingsResponseOutput)
}
// The scope at which the initial deployment should be created. If a scope is not specified, it will default to the scope of the deployment stack. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroupId}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}').
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) DeploymentScope() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV2) *string { return v.DeploymentScope }).(pulumi.StringPtrOutput)
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) DeploymentScope() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) *string { return v.DeploymentScope }).(pulumi.StringPtrOutput)
}
// The timestamp for when the deployment stack was last modified. This can be used to determine if the what-if data is still current.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) DeploymentStackLastModified() pulumi.StringOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV2) string { return v.DeploymentStackLastModified }).(pulumi.StringOutput)
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) DeploymentStackLastModified() pulumi.StringOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) string { return v.DeploymentStackLastModified }).(pulumi.StringOutput)
}
// The deployment stack id to use as the basis for comparison.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) DeploymentStackResourceId() pulumi.StringOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV2) string { return v.DeploymentStackResourceId }).(pulumi.StringOutput)
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) DeploymentStackResourceId() pulumi.StringOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) string { return v.DeploymentStackResourceId }).(pulumi.StringOutput)
}
// Deployment stack description. Max length of 4096 characters.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) Description() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV2) *string { return v.Description }).(pulumi.StringPtrOutput)
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) Description() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) *string { return v.Description }).(pulumi.StringPtrOutput)
}
// List of resource diagnostics detected by What-If operation.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) Diagnostics() DeploymentStacksDiagnosticResponseArrayOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV2) []DeploymentStacksDiagnosticResponse {
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) Diagnostics() DeploymentStacksDiagnosticResponseArrayOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) []DeploymentStacksDiagnosticResponse {
return v.Diagnostics
}).(DeploymentStacksDiagnosticResponseArrayOutput)
}
// The error detail.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) Error() ErrorDetailResponseOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV2) ErrorDetailResponse { return v.Error }).(ErrorDetailResponseOutput)
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) Error() ErrorDetailResponseOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) ErrorDetailResponse { return v.Error }).(ErrorDetailResponseOutput)
}
// Name and value pairs that define the deployment parameters for the template. Use this element when providing the parameter values directly in the request, rather than linking to an existing parameter file. Use either the parametersLink property or the parameters property, but not both.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) Parameters() DeploymentParameterResponseMapOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV2) map[string]DeploymentParameterResponse {
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) Parameters() DeploymentParameterResponseMapOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) map[string]DeploymentParameterResponse {
return v.Parameters
}).(DeploymentParameterResponseMapOutput)
}
// The URI of parameters file. Use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) ParametersLink() DeploymentStacksParametersLinkResponsePtrOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV2) *DeploymentStacksParametersLinkResponse {
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) ParametersLink() DeploymentStacksParametersLinkResponsePtrOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) *DeploymentStacksParametersLinkResponse {
return v.ParametersLink
}).(DeploymentStacksParametersLinkResponsePtrOutput)
}
// State of the deployment stack.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) ProvisioningState() pulumi.StringOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV2) string { return v.ProvisioningState }).(pulumi.StringOutput)
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) ProvisioningState() pulumi.StringOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput)
}
// The interval to persist the deployment stack what-if result in ISO 8601 format.
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) RetentionInterval() pulumi.StringOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV2) string { return v.RetentionInterval }).(pulumi.StringOutput)
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) RetentionInterval() pulumi.StringOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) string { return v.RetentionInterval }).(pulumi.StringOutput)
}
// The validation level of the deployment stack
-func (o DeploymentStacksWhatIfResultPropertiesResponseV2Output) ValidationLevel() pulumi.StringPtrOutput {
- return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponseV2) *string { return v.ValidationLevel }).(pulumi.StringPtrOutput)
+func (o DeploymentStacksWhatIfResultPropertiesResponseOutput) ValidationLevel() pulumi.StringPtrOutput {
+ return o.ApplyT(func(v DeploymentStacksWhatIfResultPropertiesResponse) *string { return v.ValidationLevel }).(pulumi.StringPtrOutput)
}
// The environment variable to pass to the script in the container instance.
@@ -9302,10 +9364,10 @@ func (o DeploymentExtensionConfigItemMapMapOutput) MapIndex(k pulumi.StringInput
func init() {
pulumi.RegisterOutputType(ActionOnUnmanageOutput{})
pulumi.RegisterOutputType(ActionOnUnmanagePtrOutput{})
+ pulumi.RegisterOutputType(ActionOnUnmanageDeploymentStacksWhatIfResultsAtManagementGroupResponseOutput{})
+ pulumi.RegisterOutputType(ActionOnUnmanageDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput{})
+ pulumi.RegisterOutputType(ActionOnUnmanageDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput{})
pulumi.RegisterOutputType(ActionOnUnmanageResponseOutput{})
- pulumi.RegisterOutputType(ActionOnUnmanageResponseV1Output{})
- pulumi.RegisterOutputType(ActionOnUnmanageResponseV2Output{})
- pulumi.RegisterOutputType(ActionOnUnmanageResponseV3Output{})
pulumi.RegisterOutputType(AliasPathMetadataResponseOutput{})
pulumi.RegisterOutputType(AliasPathResponseOutput{})
pulumi.RegisterOutputType(AliasPathResponseArrayOutput{})
@@ -9377,9 +9439,9 @@ func init() {
pulumi.RegisterOutputType(DeploymentStacksWhatIfResourceChangeResponseResourceConfigurationChangesPtrOutput{})
pulumi.RegisterOutputType(DeploymentStacksWhatIfResultPropertiesOutput{})
pulumi.RegisterOutputType(DeploymentStacksWhatIfResultPropertiesPtrOutput{})
+ pulumi.RegisterOutputType(DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtResourceGroupResponseOutput{})
+ pulumi.RegisterOutputType(DeploymentStacksWhatIfResultPropertiesDeploymentStacksWhatIfResultsAtSubscriptionResponseOutput{})
pulumi.RegisterOutputType(DeploymentStacksWhatIfResultPropertiesResponseOutput{})
- pulumi.RegisterOutputType(DeploymentStacksWhatIfResultPropertiesResponseV1Output{})
- pulumi.RegisterOutputType(DeploymentStacksWhatIfResultPropertiesResponseV2Output{})
pulumi.RegisterOutputType(EnvironmentVariableOutput{})
pulumi.RegisterOutputType(EnvironmentVariableArrayOutput{})
pulumi.RegisterOutputType(EnvironmentVariableResponseOutput{})
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v3/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v3/pulumi-plugin.json
index 690917d0f..a94227cae 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v3/pulumi-plugin.json
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v3/pulumi-plugin.json
@@ -1,5 +1,5 @@
{
"resource": true,
"name": "azure-native",
- "version": "3.20.0"
+ "version": "3.24.0"
}
diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/v3/utilities/pulumiUtilities.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/v3/utilities/pulumiUtilities.go
index e59ca07cd..1d577dd44 100644
--- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/v3/utilities/pulumiUtilities.go
+++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/v3/utilities/pulumiUtilities.go
@@ -165,7 +165,7 @@ func callPlainInner(
func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption {
defaults := []pulumi.ResourceOption{}
- version := semver.MustParse("3.20.0")
+ version := semver.MustParse("3.24.0")
if !version.Equals(semver.Version{}) {
defaults = append(defaults, pulumi.Version(version.String()))
}
@@ -176,7 +176,7 @@ func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOptio
func PkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption {
defaults := []pulumi.InvokeOption{}
- version := semver.MustParse("3.20.0")
+ version := semver.MustParse("3.24.0")
if !version.Equals(semver.Version{}) {
defaults = append(defaults, pulumi.Version(version.String()))
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/.version b/vendor/github.com/pulumi/pulumi/sdk/v3/.version
index 0c8aab696..92af96bb4 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/.version
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/.version
@@ -1 +1 @@
-3.253.0
+3.255.0
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optcancel/options.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optcancel/options.go
index f604ac0f2..3afa4c5d0 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optcancel/options.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optcancel/options.go
@@ -42,7 +42,7 @@ type Options struct {
Logtostderr bool
// Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate
Memprofilerate int
- // Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// for remote collectors
+ // Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors
OtelTraces string
// Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively
Profiling string
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optimport/options.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optimport/options.go
index a5ceeb69a..a047213f2 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optimport/options.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optimport/options.go
@@ -62,7 +62,7 @@ type Options struct {
Memprofilerate int
// Optional message to associate with the update operation
Message string
- // Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// for remote collectors
+ // Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors
OtelTraces string
// The path to the file that will contain the generated resource declarations
Out string
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optnew/options.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optnew/options.go
index daee4ef4f..c58f10466 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optnew/options.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optnew/options.go
@@ -64,7 +64,7 @@ type Options struct {
Name string
// Use locally cached templates without making any network requests
Offline bool
- // Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// for remote collectors
+ // Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors
OtelTraces string
// Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively
Profiling string
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorg/options.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorg/options.go
index 1c67208b2..dfe315189 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorg/options.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorg/options.go
@@ -42,7 +42,7 @@ type Options struct {
Logtostderr bool
// Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate
Memprofilerate int
- // Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// for remote collectors
+ // Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors
OtelTraces string
// Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively
Profiling string
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorggetdefault/options.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorggetdefault/options.go
index 093b5d534..a4660468f 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorggetdefault/options.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorggetdefault/options.go
@@ -42,7 +42,7 @@ type Options struct {
Logtostderr bool
// Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate
Memprofilerate int
- // Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// for remote collectors
+ // Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors
OtelTraces string
// Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively
Profiling string
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorgsearch/options.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorgsearch/options.go
index 1d4bb1adc..fcd5e9092 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorgsearch/options.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorgsearch/options.go
@@ -46,7 +46,7 @@ type Options struct {
Memprofilerate int
// Name of the organization to search. Defaults to the current user's default organization.
Org string
- // Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// for remote collectors
+ // Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors
OtelTraces string
// Output format. Supported values are: default, json, yaml and csv
Output string
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorgsearchai/options.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorgsearchai/options.go
index e38a3ed55..3d4f8c308 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorgsearchai/options.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorgsearchai/options.go
@@ -46,7 +46,7 @@ type Options struct {
Memprofilerate int
// Organization name to search within
Org string
- // Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// for remote collectors
+ // Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors
OtelTraces string
// Output format. Supported values are: default, json, yaml and csv
Output string
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorgsetdefault/options.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorgsetdefault/options.go
index bd2c1734e..c8bde553d 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorgsetdefault/options.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/automation/optorgsetdefault/options.go
@@ -42,7 +42,7 @@ type Options struct {
Logtostderr bool
// Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate
Memprofilerate int
- // Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// for remote collectors
+ // Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors
OtelTraces string
// Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively
Profiling string
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/git.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/git.go
index 06e891f81..6c7487c6f 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/git.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/git.go
@@ -38,6 +38,7 @@ func setupGitRepo(ctx context.Context, workDir string, repoArgs *GitRepo) (strin
if repoArgs.Shallow {
cloneOptions.Depth = 1
cloneOptions.SingleBranch = true
+ cloneOptions.Tags = git.NoTags
}
if repoArgs.Auth != nil {
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/local_workspace.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/local_workspace.go
index e2c2f9648..61b6c0143 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/local_workspace.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/local_workspace.go
@@ -20,6 +20,7 @@ import (
"errors"
"fmt"
"io"
+ "maps"
"os"
"path/filepath"
"strings"
@@ -488,9 +489,7 @@ func setEnvVars(l *LocalWorkspace, envvars map[string]string) error {
if l.envvars == nil {
l.envvars = map[string]string{}
}
- for k, v := range envvars {
- l.envvars[k] = v
- }
+ maps.Copy(l.envvars, envvars)
return nil
}
@@ -614,9 +613,7 @@ func (l *LocalWorkspace) cliBaseOptions() base.BaseOptions {
if l.PulumiHome() != "" {
env[pulumiHomeEnv] = l.PulumiHome()
}
- for k, v := range l.GetEnvVars() {
- env[k] = v
- }
+ maps.Copy(env, l.GetEnvVars())
return base.BaseOptions{
Cwd: l.WorkDir(),
AdditionalEnv: env,
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/stack.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/stack.go
index b674fe728..091c6dd7e 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/stack.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/stack.go
@@ -101,6 +101,7 @@ import (
"errors"
"fmt"
"io"
+ "maps"
"os"
"path/filepath"
"regexp"
@@ -1378,9 +1379,7 @@ func (s *Stack) cliBaseOptions() base.BaseOptions {
if home := s.Workspace().PulumiHome(); home != "" {
env[pulumiHomeEnv] = home
}
- for k, v := range s.Workspace().GetEnvVars() {
- env[k] = v
- }
+ maps.Copy(env, s.Workspace().GetEnvVars())
return base.BaseOptions{
Cwd: s.Workspace().WorkDir(),
AdditionalEnv: env,
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/core.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/core.go
index 98b16d060..acfa93b6f 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/core.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/core.go
@@ -695,9 +695,7 @@ type OperationStatus struct {
Started int64 `json:"started"`
}
-// ExtensionRef aliases [resource.ExtensionRef]. The canonical type lives in the
-// resource package so resource.State can use it without an import cycle.
-type ExtensionRef = resource.ExtensionRef
+type ExtensionRef string
type Extension struct {
Name string `json:"name"`
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/journal.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/journal.go
index 08512259d..a9308c815 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/journal.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/journal.go
@@ -101,6 +101,11 @@ type JournalEntry struct {
// Only set for JournalEntryKindExtensionParameterize entries.
ExtensionRef *ExtensionRef `json:"extensionRef,omitempty"`
Extension *Extension `json:"extension,omitempty"`
+
+ // True if serializing this entry's State, Operation, or NewSnapshot encoded strings containing
+ // non-UTF8 bytes. Such strings inside secrets are invisible after encryption, so the fact must be
+ // recorded at serialization time for replay to gate rebuilt deployments on the byteString feature.
+ RequiresByteString bool `json:"requiresByteString,omitempty"`
}
func (e JournalEntry) String() string {
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/property-values.json b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/property-values.json
index 3e790f42e..fff2005d8 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/property-values.json
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/property-values.json
@@ -243,6 +243,22 @@
}
},
"required": ["4dabf18193072939515e22adb298388d", "value"]
+ },
+ {
+ "title": "Byte string property values",
+ "description": "Serialized representation of string values containing bytes that are not valid UTF-8, which cannot be represented directly in JSON.",
+ "type": "object",
+ "properties": {
+ "4dabf18193072939515e22adb298388d": {
+ "description": "Byte string signature",
+ "const": "803fd3297a5875dc03ca845dda5d2a98"
+ },
+ "value": {
+ "description": "The base64 encoding of the string's bytes.",
+ "type": "string"
+ }
+ },
+ "required": ["4dabf18193072939515e22adb298388d", "value"]
}
]
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/ast/environment.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/ast/environment.go
index df65b0750..480ffc534 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/ast/environment.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/ast/environment.go
@@ -257,10 +257,10 @@ func ParseEnvironment(source []byte, node syntax.Node) (*EnvironmentDecl, syntax
}
var (
- parseDeclType = reflect.TypeOf((*parseDecl)(nil)).Elem()
- nonNilDeclType = reflect.TypeOf((*nonNilDecl)(nil)).Elem()
- recordDeclType = reflect.TypeOf((*recordDecl)(nil)).Elem()
- exprType = reflect.TypeOf((*Expr)(nil)).Elem()
+ parseDeclType = reflect.TypeFor[parseDecl]()
+ nonNilDeclType = reflect.TypeFor[nonNilDecl]()
+ recordDeclType = reflect.TypeFor[recordDecl]()
+ exprType = reflect.TypeFor[Expr]()
)
func parseNode[T Node](name string, dest *T, node syntax.Node) syntax.Diagnostics {
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/eval/eval.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/eval/eval.go
index 6f90c00d4..45aca9d91 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/eval/eval.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/eval/eval.go
@@ -50,6 +50,9 @@ type ProviderLoader interface {
type EnvironmentLoader interface {
// LoadEnvironment loads the definition for the environment with the given name.
LoadEnvironment(ctx context.Context, name string) ([]byte, Decrypter, error)
+
+ // AuthorizeImport reports whether the environment named by importer may import the environment named by imported.
+ AuthorizeImport(ctx context.Context, importer string, imported string, importerIsRoot bool) error
}
// LoadYAML decodes a YAML template from an io.Reader.
@@ -597,6 +600,12 @@ func (e *evalContext) evaluateImports() {
//
// Each environment in the import closure is only evaluated once.
func (e *evalContext) evaluateImport(expr ast.Expr, name string) (*value, bool) {
+ // Authorize the import edge before consulting the cache, so authorization runs once per (importer, imported)
+ if err := e.environments.AuthorizeImport(e.ctx, e.name, name, e.isRootEnv); err != nil {
+ e.errorf(expr, "%s", err.Error())
+ return nil, false
+ }
+
var val *value
if imported, ok := e.imports[name]; ok {
if imported.evaluating {
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/eval/value.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/eval/value.go
index dc50380df..520863dde 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/eval/value.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/eval/value.go
@@ -17,7 +17,8 @@ package eval
import (
"encoding/json"
"fmt"
- "sort"
+ "maps"
+ "slices"
"strconv"
"strings"
@@ -25,7 +26,6 @@ import (
"github.com/pulumi/pulumi/sdk/v3/go/common/esc/ast"
"github.com/pulumi/pulumi/sdk/v3/go/common/esc/schema"
"github.com/pulumi/pulumi/sdk/v3/go/common/esc/syntax"
- "golang.org/x/exp/maps"
)
// A value represents the result of evaluating an expr.
@@ -196,12 +196,9 @@ func (v *value) keys() []string {
baseKeys := v.base.keys()
if len(baseKeys) == 0 {
- v.mergedKeys = maps.Keys(m)
+ v.mergedKeys = slices.Sorted(maps.Keys(m))
} else {
- l := len(baseKeys)
- if l < len(m) {
- l = len(m)
- }
+ l := max(len(baseKeys), len(m))
keySet := make(map[string]struct{}, l)
for _, k := range baseKeys {
@@ -210,9 +207,8 @@ func (v *value) keys() []string {
for k := range m {
keySet[k] = struct{}{}
}
- v.mergedKeys = maps.Keys(keySet)
+ v.mergedKeys = slices.Sorted(maps.Keys(keySet))
}
- sort.Strings(v.mergedKeys)
}
return v.mergedKeys
}
@@ -306,8 +302,7 @@ func (v *value) toString() (str string, unknown bool, secret bool) {
}
s = strings.Join(vals, ",")
case map[string]*value:
- keys := maps.Keys(repr)
- sort.Strings(keys)
+ keys := slices.Sorted(maps.Keys(repr))
pairs := make([]string, len(repr))
for i, k := range keys {
@@ -427,15 +422,10 @@ func mergedSchema(base, top *schema.Schema) *schema.Schema {
return top
}
- l := len(base.Properties)
- if l < len(top.Properties) {
- l = len(top.Properties)
- }
+ l := max(len(base.Properties), len(top.Properties))
record := make(schema.SchemaMap, l)
- for k, base := range base.Properties {
- record[k] = base
- }
+ maps.Copy(record, base.Properties)
for k, top := range top.Properties {
if base, ok := record[k]; ok {
record[k] = mergedSchema(base.Schema(), top)
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/expr.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/expr.go
index 4adf623b6..e9e1befe2 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/expr.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/expr.go
@@ -23,7 +23,7 @@ import (
// An Expr holds information about an expression in an environment definition.
type Expr struct {
// The range of the expression.
- Range Range `json:"range"`
+ Range Range `json:"range,omitempty"`
// The schema of the expression's result.
Schema *schema.Schema `json:"schema,omitempty"`
@@ -77,7 +77,7 @@ type Accessor struct {
Key *string `json:"key,omitempty"`
// The range of the accessor.
- Range Range `json:"range,omitempty"`
+ Range Range `json:"range"`
}
// A PropertyAccessor is a single accessor that is associated with a resolved value.
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/schema/objects.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/schema/objects.go
index b85211687..f11a82e68 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/schema/objects.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/schema/objects.go
@@ -16,10 +16,9 @@ package schema
import (
"encoding/json"
- "sort"
+ "maps"
+ "slices"
"strconv"
-
- "golang.org/x/exp/maps"
)
type ObjectBuilder struct {
@@ -33,8 +32,7 @@ func Object() *ObjectBuilder {
func Record(m MapBuilder) *ObjectBuilder {
props := m.Build()
- names := maps.Keys(props)
- sort.Strings(names)
+ names := slices.Sorted(maps.Keys(props))
return Object().Properties(SchemaMap(props)).Required(names...)
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/syntax/encoding/object.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/syntax/encoding/object.go
index 3806bf651..03d8ddd73 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/syntax/encoding/object.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/syntax/encoding/object.go
@@ -203,8 +203,8 @@ func getStructFields(fields map[string]reflect.Value, v reflect.Value) reflect.V
}
var (
- nodeType = reflect.TypeOf((*syntax.Node)(nil)).Elem()
- jsonNumberType = reflect.TypeOf((*json.Number)(nil)).Elem()
+ nodeType = reflect.TypeFor[syntax.Node]()
+ jsonNumberType = reflect.TypeFor[json.Number]()
)
func encodeValue(n syntax.Node, v reflect.Value) syntax.Diagnostics {
@@ -251,7 +251,7 @@ func encodeValue(n syntax.Node, v reflect.Value) syntax.Diagnostics {
switch n := n.(type) {
case *syntax.BooleanNode:
if v.Kind() == reflect.Interface && v.NumMethod() == 0 {
- ev := reflect.New(reflect.TypeOf((*bool)(nil)).Elem()).Elem()
+ ev := reflect.New(reflect.TypeFor[bool]()).Elem()
defer v.Set(ev)
v = ev
}
@@ -340,7 +340,7 @@ func encodeValue(n syntax.Node, v reflect.Value) syntax.Diagnostics {
}
case *syntax.StringNode:
if v.Kind() == reflect.Interface && v.NumMethod() == 0 {
- ev := reflect.New(reflect.TypeOf((*string)(nil)).Elem()).Elem()
+ ev := reflect.New(reflect.TypeFor[string]()).Elem()
defer v.Set(ev)
v = ev
}
@@ -353,7 +353,7 @@ func encodeValue(n syntax.Node, v reflect.Value) syntax.Diagnostics {
return nil
case *syntax.ArrayNode:
if v.Kind() == reflect.Interface && v.NumMethod() == 0 {
- ev := reflect.New(reflect.TypeOf((*[]any)(nil)).Elem()).Elem()
+ ev := reflect.New(reflect.TypeFor[[]any]()).Elem()
defer v.Set(ev)
v = ev
}
@@ -369,20 +369,17 @@ func encodeValue(n syntax.Node, v reflect.Value) syntax.Diagnostics {
return syntax.Diagnostics{syntax.Error(rng, fmt.Sprintf("cannot encode list into location of type %v", v.Type()), "")} //nolint:lll
}
- l := n.Len()
- if v.Len() < l {
- l = v.Len()
- }
+ l := min(v.Len(), n.Len())
var diags syntax.Diagnostics
- for i := 0; i < l; i++ {
+ for i := range l {
ediags := encodeValue(n.Index(i), v.Index(i))
diags.Extend(ediags...)
}
return diags
case *syntax.ObjectNode:
if v.Kind() == reflect.Interface && v.NumMethod() == 0 {
- ev := reflect.New(reflect.TypeOf((*map[string]any)(nil)).Elem()).Elem()
+ ev := reflect.New(reflect.TypeFor[map[string]any]()).Elem()
defer v.Set(ev)
v = ev
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/syntax/encoding/yaml.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/syntax/encoding/yaml.go
index 04317ecb6..047494360 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/syntax/encoding/yaml.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/syntax/encoding/yaml.go
@@ -345,11 +345,11 @@ func (p positionIndex) yamlEndPos(n *yaml.Node) hcl.Pos {
switch n.Style {
case yaml.LiteralStyle:
for {
- nl := strings.IndexByte(s, '\n')
- if nl == -1 {
+ _, after, ok := strings.Cut(s, "\n")
+ if !ok {
break
}
- line, s = line+1, s[nl+1:]
+ line, s = line+1, after
}
case yaml.TaggedStyle:
col += len(n.Tag) + 1
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/value.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/value.go
index e3a990430..a5c68bd90 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/value.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/esc/value.go
@@ -18,12 +18,12 @@ import (
"bytes"
"encoding/json"
"fmt"
- "sort"
+ "maps"
+ "slices"
"strconv"
"strings"
"github.com/pulumi/pulumi/sdk/v3/go/common/esc/internal/util"
- "golang.org/x/exp/maps"
)
// ValueType defines the types of concrete values stored inside a Value.
@@ -172,8 +172,7 @@ func fromJSON(path string, v any) (Value, error) {
}
return NewValue(vs), nil
case map[string]any:
- keys := maps.Keys(v)
- sort.Strings(keys)
+ keys := slices.Sorted(maps.Keys(v))
vs := make(map[string]Value, len(keys))
for _, k := range keys {
vv, err := fromJSON(util.JoinKey(path, k), v[k])
@@ -242,8 +241,7 @@ func (v Value) ToString(redact bool) string {
}
return strings.Join(vals, ",")
case map[string]Value:
- keys := maps.Keys(pv)
- sort.Strings(keys)
+ keys := slices.Sorted(maps.Keys(pv))
pairs := make([]string, len(pv))
for i, k := range keys {
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/config/object.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/config/object.go
index 508bff706..5a708f0e6 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/config/object.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/config/object.go
@@ -20,6 +20,7 @@ import (
"encoding/json"
"errors"
"fmt"
+ "maps"
"strconv"
"time"
@@ -167,9 +168,7 @@ func (c object) Merge(base object) object {
if co, ok := c.value.(map[string]object); ok {
if bo, ok := base.value.(map[string]object); ok {
mo := make(map[string]object, len(co))
- for k, v := range bo {
- mo[k] = v
- }
+ maps.Copy(mo, bo)
for k, v := range co {
mo[k] = v.Merge(mo[k])
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/logging_redact.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/logging_redact.go
new file mode 100644
index 000000000..096ba935b
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/logging_redact.go
@@ -0,0 +1,61 @@
+// Copyright 2026, Pulumi Corporation.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package resource
+
+import (
+ "log/slog"
+)
+
+// RedactedLogValue replaces secret values with "[secret]" for plaintext log output. The encrypted
+// log sink and OTLP export receive the original values.
+func (v PropertyValue) RedactedLogValue() slog.Value {
+ return slog.AnyValue(redactSecretValues(v))
+}
+
+// RedactedLogValue replaces secret values with "[secret]" for plaintext log output. The encrypted
+// log sink and OTLP export receive the original values.
+func (m PropertyMap) RedactedLogValue() slog.Value {
+ return slog.AnyValue(redactSecretValues(NewProperty(m)).ObjectValue())
+}
+
+func redactSecretValues(v PropertyValue) PropertyValue {
+ switch {
+ case v.IsSecret():
+ return NewProperty("[secret]")
+ case v.IsOutput():
+ o := v.OutputValue()
+ if o.Secret {
+ return NewProperty("[secret]")
+ }
+ o.Element = redactSecretValues(o.Element)
+ return NewProperty(o)
+ case v.IsObject():
+ obj := v.ObjectValue()
+ redacted := make(PropertyMap, len(obj))
+ for k, e := range obj {
+ redacted[k] = redactSecretValues(e)
+ }
+ return NewProperty(redacted)
+ case v.IsArray():
+ arr := v.ArrayValue()
+ redacted := make([]PropertyValue, len(arr))
+ for i, e := range arr {
+ redacted[i] = redactSecretValues(e)
+ }
+ return NewProperty(redacted)
+ default:
+ return v
+ }
+}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/analyzer_plugin.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/analyzer_plugin.go
index c8034ab98..a2c6fb181 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/analyzer_plugin.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/analyzer_plugin.go
@@ -19,6 +19,7 @@ import (
"encoding/json"
"errors"
"fmt"
+ "maps"
"path/filepath"
"sort"
"strconv"
@@ -203,9 +204,7 @@ func NewPolicyAnalyzer(
analyzerEnv := env.Global()
if opts != nil && len(opts.AdditionalEnv) > 0 {
additionalStore := envutil.MapStore{}
- for k, v := range opts.AdditionalEnv {
- additionalStore[k] = v
- }
+ maps.Copy(additionalStore, opts.AdditionalEnv)
analyzerEnv = envutil.NewEnv(envutil.JoinStore(additionalStore, env.Global().GetStore()))
}
@@ -994,9 +993,7 @@ func constructEnv(opts *PolicyAnalyzerOptions, runtime string) (env.Env, error)
maybeAppendEnv("PULUMI_DRY_RUN", strconv.FormatBool(opts.DryRun))
// Inject per-pack environment variables (e.g., from ESC environments).
- for k, v := range opts.AdditionalEnv {
- store[k] = v
- }
+ maps.Copy(store, opts.AdditionalEnv)
}
return envutil.NewEnv(envutil.JoinStore(store, env.Global().GetStore())), nil
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/converter.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/converter.go
index 6f3500bfb..50f8fbe90 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/converter.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/converter.go
@@ -67,6 +67,12 @@ type ConvertSnippetRequest struct {
Package *codegenrpc.GetSchemaRequest
Token string
Attributes map[string]string
+ Resources map[string]ConvertSnippetResourceReference
+}
+
+type ConvertSnippetResourceReference struct {
+ Token string
+ Package *codegenrpc.GetSchemaRequest
}
type ConvertSnippetResponse struct {
@@ -74,6 +80,8 @@ type ConvertSnippetResponse struct {
Filename string
Source []byte
Attributes map[string]string
+ // ResourceNames maps source-language resource names to generated PCL names.
+ ResourceNames map[string]string
}
type Converter interface {
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/converter_plugin.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/converter_plugin.go
index 1577331f4..621a136a7 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/converter_plugin.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/converter_plugin.go
@@ -194,6 +194,7 @@ func (c *converter) ConvertSnippet(
Package: req.Package,
Token: req.Token,
Attributes: req.Attributes,
+ Resources: convertSnippetResourceReferencesToRPC(req.Resources),
})
if err != nil {
rpcError := rpcerror.Convert(err)
@@ -208,9 +209,26 @@ func (c *converter) ConvertSnippet(
logging.V(7).Infof("%s success", label)
return &ConvertSnippetResponse{
- Diagnostics: diags,
- Filename: resp.Filename,
- Source: resp.Source,
- Attributes: resp.Attributes,
+ Diagnostics: diags,
+ Filename: resp.Filename,
+ Source: resp.Source,
+ Attributes: resp.Attributes,
+ ResourceNames: resp.ResourceNames,
}, nil
}
+
+func convertSnippetResourceReferencesToRPC(
+ resources map[string]ConvertSnippetResourceReference,
+) map[string]*pulumirpc.ConvertSnippetRequest_ResourceReference {
+ if len(resources) == 0 {
+ return nil
+ }
+ result := make(map[string]*pulumirpc.ConvertSnippetRequest_ResourceReference, len(resources))
+ for name, res := range resources {
+ result[name] = &pulumirpc.ConvertSnippetRequest_ResourceReference{
+ Token: res.Token,
+ Package: res.Package,
+ }
+ }
+ return result
+}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/converter_server.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/converter_server.go
index 47e44ca68..b4e79910e 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/converter_server.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/converter_server.go
@@ -106,6 +106,7 @@ func (c *converterServer) ConvertSnippet(ctx context.Context,
Package: req.Package,
Token: req.Token,
Attributes: req.Attributes,
+ Resources: convertSnippetResourceReferencesFromRPC(req.Resources),
})
if err != nil {
return nil, err
@@ -117,9 +118,26 @@ func (c *converterServer) ConvertSnippet(ctx context.Context,
}
return &pulumirpc.ConvertSnippetResponse{
- Diagnostics: diags,
- Filename: resp.Filename,
- Source: resp.Source,
- Attributes: resp.Attributes,
+ Diagnostics: diags,
+ Filename: resp.Filename,
+ Source: resp.Source,
+ Attributes: resp.Attributes,
+ ResourceNames: resp.ResourceNames,
}, nil
}
+
+func convertSnippetResourceReferencesFromRPC(
+ resources map[string]*pulumirpc.ConvertSnippetRequest_ResourceReference,
+) map[string]ConvertSnippetResourceReference {
+ if len(resources) == 0 {
+ return nil
+ }
+ result := make(map[string]ConvertSnippetResourceReference, len(resources))
+ for name, res := range resources {
+ result[name] = ConvertSnippetResourceReference{
+ Token: res.Token,
+ Package: res.Package,
+ }
+ }
+ return result
+}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/langruntime_plugin.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/langruntime_plugin.go
index 4988926b0..5b6af7c6f 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/langruntime_plugin.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/langruntime_plugin.go
@@ -162,7 +162,7 @@ func GetLanguageAttachPort(runtime string) (*int, error) {
var optAttach string
if languagesEnvVar, has := os.LookupEnv("PULUMI_DEBUG_LANGUAGES"); has {
- for _, provider := range strings.Split(languagesEnvVar, ",") {
+ for provider := range strings.SplitSeq(languagesEnvVar, ",") {
parts := strings.SplitN(provider, ":", 2)
if parts[0] == runtime {
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider.go
index 1c105ac47..2c3d0eb38 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider.go
@@ -79,6 +79,11 @@ type ProviderHandshakeRequest struct {
// The target of a PackageResolver service the provider can use to resolve package specifications to concrete
// package dependencies. May be nil on older engines.
ResolverTarget *string
+
+ // True if and only if the engine supports strings containing bytes that are not valid UTF-8, marshaled as
+ // objects carrying the byte string signature and a base64 encoding of the string's bytes. If true, the
+ // provider may return such values to the engine.
+ AcceptsByteString bool
}
// The type of responses sent as part of a Handshake call.
@@ -98,6 +103,11 @@ type ProviderHandshakeResponse struct {
// True if the provider accepts and respects autonaming configuration that the engine provides on behalf of the
// user.
SupportsAutonamingConfiguration bool
+
+ // True if and only if the provider supports strings containing bytes that are not valid UTF-8, marshaled as
+ // objects carrying the byte string signature and a base64 encoding of the string's bytes. If true, the
+ // caller may pass such values to the provider.
+ AcceptsByteString bool
}
// ParameterizeParameters can either be of concrete type ParameterizeArgs or ParameterizeValue, for when parameterizing
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider_plugin.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider_plugin.go
index 73305566f..8da2781b5 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider_plugin.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider_plugin.go
@@ -117,6 +117,9 @@ type pluginProtocol struct {
// True if this plugin supports custom autonaming configuration.
supportsAutonamingConfiguration bool
+
+ // True if this plugin accepts strings containing bytes that are not valid UTF-8.
+ acceptsByteString bool
}
// pluginConfig holds the configuration of the provider
@@ -147,7 +150,7 @@ func GetProviderAttachPort(pkg tokens.Package) (*int, error) {
var optAttach string
if providersEnvVar, has := os.LookupEnv("PULUMI_DEBUG_PROVIDERS"); has {
- for _, provider := range strings.Split(providersEnvVar, ",") {
+ for provider := range strings.SplitSeq(providersEnvVar, ",") {
parts := strings.SplitN(provider, ":", 2)
if parts[0] == pkg.String() {
@@ -209,6 +212,7 @@ func NewProvider(host Host, ctx *Context, spec workspace.PluginDescriptor,
MapperTarget: mapperAddr,
LoaderTarget: loaderAddr,
ResolverTarget: resolverAddr,
+ AcceptsByteString: true,
}
return handshake(ctx, bin, prefix, conn, req)
}
@@ -275,6 +279,7 @@ func NewProvider(host Host, ctx *Context, spec workspace.PluginDescriptor,
MapperTarget: mapperAddr,
LoaderTarget: loaderAddr,
ResolverTarget: resolverAddr,
+ AcceptsByteString: true,
}
return handshake(ctx, bin, prefix, conn, req)
}
@@ -315,6 +320,7 @@ func NewProvider(host Host, ctx *Context, spec workspace.PluginDescriptor,
supportsPreview: true,
acceptOutputs: handshakeRes.AcceptOutputs,
supportsAutonamingConfiguration: handshakeRes.SupportsAutonamingConfiguration,
+ acceptsByteString: handshakeRes.AcceptsByteString,
}
}
@@ -375,6 +381,7 @@ func handshake(
MapperTarget: req.MapperTarget,
LoaderTarget: req.LoaderTarget,
ResolverTarget: req.ResolverTarget,
+ AcceptsByteString: req.AcceptsByteString,
})
if err != nil {
status, ok := status.FromError(err)
@@ -392,6 +399,7 @@ func handshake(
AcceptResources: res.GetAcceptResources(),
AcceptOutputs: res.GetAcceptOutputs(),
SupportsAutonamingConfiguration: res.GetSupportsAutonamingConfiguration(),
+ AcceptsByteString: res.GetAcceptsByteString(),
}, nil
}
@@ -439,6 +447,7 @@ func NewProviderFromPath(host Host, ctx *Context, path string) (Provider, error)
MapperTarget: mapperAddr,
LoaderTarget: loaderAddr,
ResolverTarget: resolverAddr,
+ AcceptsByteString: true,
}
return handshake(ctx, bin, prefix, conn, req)
}
@@ -470,6 +479,7 @@ func NewProviderFromPath(host Host, ctx *Context, path string) (Provider, error)
supportsPreview: true,
acceptOutputs: handshakeRes.AcceptOutputs,
supportsAutonamingConfiguration: handshakeRes.SupportsAutonamingConfiguration,
+ acceptsByteString: handshakeRes.AcceptsByteString,
}
}
@@ -569,16 +579,29 @@ func (p *provider) Handshake(ctx context.Context, req ProviderHandshakeRequest)
MapperTarget: req.MapperTarget,
LoaderTarget: req.LoaderTarget,
ResolverTarget: req.ResolverTarget,
+ AcceptsByteString: req.AcceptsByteString,
})
if err != nil {
return nil, err
}
+ // Handshaking is how capabilities are negotiated, so record the provider's answers just as we do when
+ // handshaking at plugin spawn time.
+ p.protocol = &pluginProtocol{
+ acceptSecrets: res.GetAcceptSecrets(),
+ acceptResources: res.GetAcceptResources(),
+ supportsPreview: true,
+ acceptOutputs: res.GetAcceptOutputs(),
+ supportsAutonamingConfiguration: res.GetSupportsAutonamingConfiguration(),
+ acceptsByteString: res.GetAcceptsByteString(),
+ }
+
return &ProviderHandshakeResponse{
AcceptSecrets: res.GetAcceptSecrets(),
AcceptResources: res.GetAcceptResources(),
AcceptOutputs: res.GetAcceptOutputs(),
SupportsAutonamingConfiguration: res.GetSupportsAutonamingConfiguration(),
+ AcceptsByteString: res.GetAcceptsByteString(),
}, nil
}
@@ -1117,6 +1140,8 @@ func (p *provider) Configure(ctx context.Context, req ConfigureRequest) (Configu
}
if p.protocol == nil {
+ // Byte string support is negotiated only at handshake time; providers that did not
+ // handshake never receive such values.
p.protocol = &pluginProtocol{
acceptSecrets: resp.GetAcceptSecrets(),
acceptResources: resp.GetAcceptResources(),
@@ -1160,10 +1185,11 @@ func (p *provider) Check(ctx context.Context, req CheckRequest) (CheckResponse,
}
molds, err := MarshalProperties(req.Olds, MarshalOptions{
- Label: label + ".olds",
- KeepUnknowns: req.AllowUnknowns,
- KeepSecrets: protocol.acceptSecrets,
- KeepResources: protocol.acceptResources,
+ Label: label + ".olds",
+ KeepUnknowns: req.AllowUnknowns,
+ KeepSecrets: protocol.acceptSecrets,
+ KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
// Technically, olds can be nil and we ought to be able to send it as nil so that provivders could distinguish
// between no old state (as in the case of create) vs the old state being empty (an unlikely but possible
// scenario for a resource with no set inputs). However, we have been unconditionally forcing this to empty
@@ -1175,11 +1201,12 @@ func (p *provider) Check(ctx context.Context, req CheckRequest) (CheckResponse,
return CheckResponse{}, err
}
mnews, err := MarshalProperties(req.News, MarshalOptions{
- Label: label + ".news",
- KeepUnknowns: req.AllowUnknowns,
- KeepSecrets: protocol.acceptSecrets,
- KeepResources: protocol.acceptResources,
- PropagateNil: true,
+ Label: label + ".news",
+ KeepUnknowns: req.AllowUnknowns,
+ KeepSecrets: protocol.acceptSecrets,
+ KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
+ PropagateNil: true,
})
if err != nil {
return CheckResponse{}, err
@@ -1289,6 +1316,7 @@ func (p *provider) Diff(ctx context.Context, req DiffRequest) (DiffResponse, err
KeepUnknowns: req.AllowUnknowns,
KeepSecrets: protocol.acceptSecrets,
KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
PropagateNil: true,
})
if err != nil {
@@ -1301,6 +1329,7 @@ func (p *provider) Diff(ctx context.Context, req DiffRequest) (DiffResponse, err
KeepUnknowns: req.AllowUnknowns,
KeepSecrets: protocol.acceptSecrets,
KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
PropagateNil: true,
})
if err != nil {
@@ -1313,6 +1342,7 @@ func (p *provider) Diff(ctx context.Context, req DiffRequest) (DiffResponse, err
KeepUnknowns: req.AllowUnknowns,
KeepSecrets: protocol.acceptSecrets,
KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
PropagateNil: true,
})
if err != nil {
@@ -1413,11 +1443,12 @@ func (p *provider) Create(ctx context.Context, req CreateRequest) (CreateRespons
contract.Assertf(pcfg.known, "Create cannot be called if the configuration is unknown")
mprops, err := MarshalProperties(req.Properties, MarshalOptions{
- Label: label + ".inputs",
- KeepUnknowns: req.Preview,
- KeepSecrets: protocol.acceptSecrets,
- KeepResources: protocol.acceptResources,
- PropagateNil: true,
+ Label: label + ".inputs",
+ KeepUnknowns: req.Preview,
+ KeepSecrets: protocol.acceptSecrets,
+ KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
+ PropagateNil: true,
})
if err != nil {
return CreateResponse{}, err
@@ -1524,6 +1555,7 @@ func (p *provider) Read(ctx context.Context, req ReadRequest) (ReadResponse, err
ElideAssetContents: true,
KeepSecrets: protocol.acceptSecrets,
KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
PropagateNil: true,
})
if err != nil {
@@ -1536,6 +1568,7 @@ func (p *provider) Read(ctx context.Context, req ReadRequest) (ReadResponse, err
ElideAssetContents: true,
KeepSecrets: protocol.acceptSecrets,
KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
PropagateNil: true,
})
if err != nil {
@@ -1543,10 +1576,11 @@ func (p *provider) Read(ctx context.Context, req ReadRequest) (ReadResponse, err
}
oldViews, err := marshalViews(req.OldViews, MarshalOptions{
- Label: label,
- KeepSecrets: protocol.acceptSecrets,
- KeepResources: protocol.acceptResources,
- PropagateNil: true,
+ Label: label,
+ KeepSecrets: protocol.acceptSecrets,
+ KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
+ PropagateNil: true,
})
if err != nil {
return ReadResponse{Status: resource.StatusUnknown}, err
@@ -1689,6 +1723,7 @@ func (p *provider) Update(ctx context.Context, req UpdateRequest) (UpdateRespons
ElideAssetContents: true,
KeepSecrets: protocol.acceptSecrets,
KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
PropagateNil: true,
})
if err != nil {
@@ -1699,27 +1734,30 @@ func (p *provider) Update(ctx context.Context, req UpdateRequest) (UpdateRespons
ElideAssetContents: true,
KeepSecrets: protocol.acceptSecrets,
KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
PropagateNil: true,
})
if err != nil {
return UpdateResponse{Status: resource.StatusOK}, err
}
mNewInputs, err := MarshalProperties(req.NewInputs, MarshalOptions{
- Label: label + ".newInputs",
- KeepUnknowns: req.Preview,
- KeepSecrets: protocol.acceptSecrets,
- KeepResources: protocol.acceptResources,
- PropagateNil: true,
+ Label: label + ".newInputs",
+ KeepUnknowns: req.Preview,
+ KeepSecrets: protocol.acceptSecrets,
+ KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
+ PropagateNil: true,
})
if err != nil {
return UpdateResponse{Status: resource.StatusOK}, err
}
oldViews, err := marshalViews(req.OldViews, MarshalOptions{
- Label: label + ".oldViews",
- KeepSecrets: protocol.acceptSecrets,
- KeepResources: protocol.acceptResources,
- PropagateNil: true,
+ Label: label + ".oldViews",
+ KeepSecrets: protocol.acceptSecrets,
+ KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
+ PropagateNil: true,
})
if err != nil {
return UpdateResponse{Status: resource.StatusOK}, err
@@ -1816,6 +1854,7 @@ func (p *provider) Delete(ctx context.Context, req DeleteRequest) (DeleteRespons
ElideAssetContents: true,
KeepSecrets: protocol.acceptSecrets,
KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
PropagateNil: true,
})
if err != nil {
@@ -1827,6 +1866,7 @@ func (p *provider) Delete(ctx context.Context, req DeleteRequest) (DeleteRespons
ElideAssetContents: true,
KeepSecrets: protocol.acceptSecrets,
KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
PropagateNil: true,
})
if err != nil {
@@ -1834,10 +1874,11 @@ func (p *provider) Delete(ctx context.Context, req DeleteRequest) (DeleteRespons
}
oldViews, err := marshalViews(req.OldViews, MarshalOptions{
- Label: label + ".oldViews",
- KeepSecrets: protocol.acceptSecrets,
- KeepResources: protocol.acceptResources,
- PropagateNil: true,
+ Label: label + ".oldViews",
+ KeepSecrets: protocol.acceptSecrets,
+ KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
+ PropagateNil: true,
})
if err != nil {
return DeleteResponse{}, err
@@ -1881,10 +1922,11 @@ func (p *provider) List(ctx context.Context, req ListRequest) (*ListStream, erro
}
query, err := MarshalProperties(req.Query, MarshalOptions{
- Label: label + ".query",
- KeepSecrets: protocol.acceptSecrets,
- KeepResources: protocol.acceptResources,
- PropagateNil: true,
+ Label: label + ".query",
+ KeepSecrets: protocol.acceptSecrets,
+ KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
+ PropagateNil: true,
})
if err != nil {
return nil, err
@@ -1994,10 +2036,11 @@ func (p *provider) Construct(ctx context.Context, req ConstructRequest) (Constru
// Marshal the input properties.
minputs, err := MarshalProperties(req.Inputs, MarshalOptions{
- Label: label + ".inputs",
- KeepUnknowns: true,
- KeepSecrets: protocol.acceptSecrets,
- KeepResources: protocol.acceptResources,
+ Label: label + ".inputs",
+ KeepUnknowns: true,
+ KeepSecrets: protocol.acceptSecrets,
+ KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
// To initially scope the use of this new feature, we only keep output values for
// Construct and Call (when the client accepts them).
KeepOutputValues: protocol.acceptOutputs,
@@ -2192,10 +2235,11 @@ func (p *provider) Invoke(ctx context.Context, req InvokeRequest) (InvokeRespons
}
margs, err := MarshalProperties(req.Args, MarshalOptions{
- Label: label + ".args",
- KeepSecrets: protocol.acceptSecrets,
- KeepResources: protocol.acceptResources,
- PropagateNil: true,
+ Label: label + ".args",
+ KeepSecrets: protocol.acceptSecrets,
+ KeepResources: protocol.acceptResources,
+ KeepByteString: protocol.acceptsByteString,
+ PropagateNil: true,
})
if err != nil {
return InvokeResponse{}, err
@@ -2266,10 +2310,11 @@ func (p *provider) Call(_ context.Context, req CallRequest) (CallResponse, error
}
margs, err := MarshalProperties(req.Args, MarshalOptions{
- Label: label + ".args",
- KeepUnknowns: true,
- KeepSecrets: true,
- KeepResources: true,
+ Label: label + ".args",
+ KeepUnknowns: true,
+ KeepSecrets: true,
+ KeepResources: true,
+ KeepByteString: protocol.acceptsByteString,
// To initially scope the use of this new feature, we only keep output values for
// Construct and Call (when the client accepts them).
KeepOutputValues: protocol.acceptOutputs,
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider_server.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider_server.go
index 3b2080f18..e6aa50e64 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider_server.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider_server.go
@@ -39,6 +39,11 @@ type providerServer struct {
provider Provider
acceptSecrets, sendSecrets bool
acceptResources, sendResources bool
+
+ // True if the caller accepts strings containing bytes that are not valid UTF-8. Unlike the other
+ // capabilities this defaults to false: it is only enabled when the caller advertises it via Handshake or
+ // Configure, since older engines cannot decode the encoding.
+ sendByteString bool
}
func NewProviderServer(provider Provider) pulumirpc.ResourceProviderServer {
@@ -63,11 +68,12 @@ func (p *providerServer) unmarshalOptions(label string, keepOutputValues bool) M
func (p *providerServer) marshalOptions(label string) MarshalOptions {
return MarshalOptions{
- Label: label,
- KeepUnknowns: true,
- KeepSecrets: p.sendSecrets,
- KeepResources: p.sendResources,
- PropagateNil: true,
+ Label: label,
+ KeepUnknowns: true,
+ KeepSecrets: p.sendSecrets,
+ KeepResources: p.sendResources,
+ KeepByteString: p.sendByteString,
+ PropagateNil: true,
}
}
@@ -155,6 +161,7 @@ func (p *providerServer) Handshake(
MapperTarget: req.MapperTarget,
LoaderTarget: req.LoaderTarget,
ResolverTarget: req.ResolverTarget,
+ AcceptsByteString: req.AcceptsByteString,
})
if err != nil {
return nil, err
@@ -162,12 +169,16 @@ func (p *providerServer) Handshake(
p.acceptSecrets = res.AcceptSecrets
p.acceptResources = res.AcceptResources
+ p.sendByteString = req.AcceptsByteString
return &pulumirpc.ProviderHandshakeResponse{
AcceptSecrets: res.AcceptSecrets,
AcceptResources: res.AcceptResources,
AcceptOutputs: res.AcceptOutputs,
SupportsAutonamingConfiguration: res.SupportsAutonamingConfiguration,
+ // providerServer unmarshals byte string into plain Go strings before handing them to the wrapped
+ // provider, so it can shim support regardless of the provider's own answer.
+ AcceptsByteString: true,
}, nil
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/rpc.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/rpc.go
index 72cc057b7..fd8eac5ae 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/rpc.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/rpc.go
@@ -15,10 +15,12 @@
package plugin
import (
+ "encoding/base64"
"fmt"
"maps"
"reflect"
"slices"
+ "unicode/utf8"
"google.golang.org/protobuf/types/known/structpb"
@@ -45,6 +47,11 @@ type MarshalOptions struct {
UpgradeToOutputValues bool // true if secrets and unknowns should be upgraded to output values.
WorkingDirectory string // the optional working directory to use when serializing assets & archives.
+ // true if the receiver understands strings containing bytes that are not valid UTF-8, which are marshaled with
+ // the byte string signature. Otherwise marshaling such a string returns an error, since it cannot be
+ // transported as a protobuf string field without corruption.
+ KeepByteString bool
+
// true if a nil input should result in a nil output, false if it should result in an empty struct/map.
PropagateNil bool
@@ -134,7 +141,20 @@ func MarshalPropertyValue(key resource.PropertyKey, v resource.PropertyValue,
},
}, nil
} else if v.IsString() {
- return MarshalString(v.StringValue(), opts), nil
+ s := v.StringValue()
+ if !utf8.ValidString(s) {
+ if !opts.KeepByteString {
+ return nil, fmt.Errorf(
+ "the value of property %q is a string that contains non-UTF8 bytes, which the receiver does not support",
+ key)
+ }
+ raw := resource.NewProperty(resource.PropertyMap{
+ resource.SigKey: resource.NewProperty(resource.ByteStringSig),
+ "value": resource.NewProperty(base64.StdEncoding.EncodeToString([]byte(s))),
+ })
+ return MarshalPropertyValue(key, raw, opts)
+ }
+ return MarshalString(s, opts), nil
} else if v.IsArray() {
var elems []*structpb.Value
for _, elem := range v.ArrayValue() {
@@ -456,6 +476,20 @@ func UnmarshalPropertyValue(key resource.PropertyKey, v *structpb.Value,
return nil, fmt.Errorf("malformed RPC secret: missing value for %q", key)
}
return unmarshalSecretPropertyValue(value, opts), nil
+ case resource.ByteStringSig:
+ value, ok := obj["value"]
+ if !ok {
+ return nil, fmt.Errorf("malformed byte string for %q: missing value", key)
+ }
+ if !value.IsString() {
+ return nil, fmt.Errorf("malformed byte string for %q: value is not a string", key)
+ }
+ decoded, err := base64.StdEncoding.DecodeString(value.StringValue())
+ if err != nil {
+ return nil, fmt.Errorf("malformed byte string for %q: value is not valid base64: %w", key, err)
+ }
+ m := resource.NewProperty(string(decoded))
+ return &m, nil
case resource.ResourceReferenceSig:
urn, ok := obj["urn"]
if !ok {
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/properties.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/properties.go
index f2a04bb5a..3555cfe7c 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/properties.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/properties.go
@@ -16,8 +16,9 @@ package resource
import (
"fmt"
+ "maps"
"reflect"
- "sort"
+ "slices"
"strings"
"github.com/pulumi/pulumi/sdk/v3/go/common/resource/archive"
@@ -210,9 +211,7 @@ func (props PropertyMap) MapRepl(replk func(string) (string, bool),
// Copy makes a shallow copy of the map.
func (props PropertyMap) Copy() PropertyMap {
new := make(PropertyMap)
- for k, v := range props {
- new[k] = v
- }
+ maps.Copy(new, props)
return new
}
@@ -222,7 +221,7 @@ func (props PropertyMap) StableKeys() []PropertyKey {
for k := range props {
sorted = append(sorted, k)
}
- sort.Slice(sorted, func(i, j int) bool { return sorted[i] < sorted[j] })
+ slices.Sort(sorted)
return sorted
}
@@ -722,6 +721,9 @@ const ResourceReferenceSig = sig.ResourceReference
// OutputValueSig is the unique output value signature.
const OutputValueSig = sig.OutputValue
+// ByteStringSig is the unique signature for strings containing bytes that are not valid UTF-8.
+const ByteStringSig = sig.ByteString
+
// IsInternalPropertyKey returns true if the given property key is an internal key that should not be displayed to
// users.
func IsInternalPropertyKey(key PropertyKey) bool {
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/properties_diff.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/properties_diff.go
index 4899c1652..f0ae14b44 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/properties_diff.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/properties_diff.go
@@ -15,7 +15,7 @@
package resource
import (
- "sort"
+ "slices"
"github.com/pulumi/pulumi/sdk/v3/go/common/slice"
)
@@ -78,7 +78,7 @@ func (diff *ObjectDiff) Keys() []PropertyKey {
for k := range diff.Updates {
ks = append(ks, k)
}
- sort.Slice(ks, func(i, j int) bool { return ks[i] < ks[j] })
+ slices.Sort(ks)
return ks
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/property_compatibility.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/property_compatibility.go
index f8868806d..8510c6e84 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/property_compatibility.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/property_compatibility.go
@@ -33,7 +33,7 @@ func ToResourcePropertyMap(v property.Map) PropertyMap {
return rMap
}
-// Translate a Value into a PropertyValue.
+// Translate a [property.Value] into a [PropertyValue].
//
// This is a lossless transition, such that this will be true:
//
@@ -71,10 +71,12 @@ func ToResourcePropertyValue(v property.Value) PropertyValue {
})
case v.IsNull():
r = NewNullProperty()
+ case v.IsComputed():
+ r = MakeComputed(NewProperty(""))
}
switch {
- case len(v.Dependencies()) > 0 || (v.Secret() && v.IsComputed()):
+ case len(v.Dependencies()) > 0:
r = NewProperty(Output{
Element: r,
Known: !v.IsComputed(),
@@ -83,14 +85,12 @@ func ToResourcePropertyValue(v property.Value) PropertyValue {
})
case v.Secret():
r = MakeSecret(r)
- case v.IsComputed():
- r = MakeComputed(NewProperty(""))
}
return r
}
-// Translate a [PropertyValue] into a [property.Value].
+// Translate a [PropertyMap] into a [property.Map].
//
// This is a normalizing transition, such that the last expression will be true:
//
@@ -104,7 +104,7 @@ func FromResourcePropertyMap(v PropertyMap) property.Map {
return property.NewMap(rMap)
}
-// Translate a PropertyValue into a Value.
+// Translate a [PropertyValue] into a [property.Value].
//
// This is a normalizing transition, such that the last expression will be true:
//
@@ -233,7 +233,7 @@ func toResourceArrayDiff(v *property.ArrayDiff) *ArrayDiff {
}
}
-// Translates a [property.ObjectDiff] into an [ObjectDiff].
+// Translate a [property.ObjectDiff] into an [ObjectDiff].
func ToResourceObjectDiff(v *property.ObjectDiff) *ObjectDiff {
if v == nil {
return nil
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/resource_operation.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/resource_operation.go
deleted file mode 100644
index 98d8830c4..000000000
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/resource_operation.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright 2016, Pulumi Corporation.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-package resource
-
-// OperationType is the type of operations issued by the engine.
-type OperationType string
-
-const (
- // OperationTypeCreating is the state of resources that are being created.
- OperationTypeCreating OperationType = "creating"
- // OperationTypeUpdating is the state of resources that are being updated.
- OperationTypeUpdating OperationType = "updating"
- // OperationTypeDeleting is the state of resources that are being deleted.
- OperationTypeDeleting OperationType = "deleting"
- // OperationTypeReading is the state of resources that are being read.
- OperationTypeReading OperationType = "reading"
- // OperationTypeImporting is the state of resources that are being imported.
- OperationTypeImporting OperationType = "importing"
-)
-
-// Operation represents an operation that the engine has initiated but has not yet completed. It is
-// essentially just a tuple of a resource and a string identifying the operation.
-type Operation struct {
- Resource *State
- Type OperationType
-}
-
-// NewOperation constructs a new Operation from a state and an operation name.
-func NewOperation(state *State, op OperationType) Operation {
- return Operation{state, op}
-}
-
-func (op Operation) Copy() Operation {
- return Operation{
- Resource: op.Resource.Copy(),
- Type: op.Type,
- }
-}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/resource_state.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/resource_state.go
deleted file mode 100644
index a1bc35503..000000000
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/resource_state.go
+++ /dev/null
@@ -1,383 +0,0 @@
-// Copyright 2016, Pulumi Corporation.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-package resource
-
-import (
- "slices"
- "sync"
- "time"
-
- "github.com/pulumi/pulumi/sdk/v3/go/common/tokens"
- "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract"
-)
-
-// ExtensionRef identifies an extension parameterization within a deployment.
-type ExtensionRef string
-
-// State is a structure containing state associated with a resource. This resource may have been serialized and
-// deserialized, or snapshotted from a live graph of resource objects. The value's state is not, however, associated
-// with any runtime objects in memory that may be actively involved in ongoing computations.
-//
-// Only test code should create State values directly. All other code should use [NewState].
-//
-//nolint:lll
-type State struct {
- // Currently the engine implements RegisterResourceOutputs by directly mutating the state to change the `Outputs`. This
- // triggers a race between the snapshot serialization code and the engine. Ideally we'd do a more principled fix, but
- // just locking in these two places is sufficient to stop the race detector from firing on integration tests.
- Lock sync.Mutex
-
- Type tokens.Type // the resource's type.
- URN URN // the resource's object urn, a human-friendly, unique name for the resource.
- Custom bool // true if the resource is custom, managed by a plugin.
- Delete bool // true if this resource is pending deletion due to a replacement.
- ID ID // the resource's unique ID, assigned by the resource provider (or blank if none/uncreated).
- Inputs PropertyMap // the resource's input properties (as specified by the program).
- Outputs PropertyMap // the resource's complete output state (as returned by the resource provider).
- Parent URN // an optional parent URN that this resource belongs to.
- Protect bool // true to "protect" this resource (protected resources cannot be deleted).
- Taint bool // true to force replacement of this resource during the next update.
- External bool // true if this resource is "external" to Pulumi and we don't control the lifecycle.
- Dependencies []URN // the resource's dependencies.
- InitErrors []string // the set of errors encountered in the process of initializing resource.
- Provider string // the provider to use for this resource.
- ExtensionRef ExtensionRef // the persisted reference to the extension parameterization that created this resource, if any. Empty otherwise.
- PropertyDependencies map[PropertyKey][]URN // the set of dependencies that affect each property.
- PendingReplacement bool // true if this resource was deleted and is awaiting replacement.
- AdditionalSecretOutputs []PropertyKey // an additional set of outputs that should be treated as secrets.
- Aliases []URN // an optional set of URNs for which this resource is an alias.
- CustomTimeouts CustomTimeouts // A config block that will be used to configure timeouts for CRUD operations.
- ImportID ID // the resource's import id, if this was an imported resource.
- RetainOnDelete bool // if set to True, the providers Delete method will not be called for this resource.
- DeletedWith URN // If set, the providers Delete method will not be called for this resource if specified resource is being deleted as well.
- ReplaceWith []URN // If set, the URNs of the resources whose replaces will also trigger a replace of this resource.
- Created *time.Time // If set, the time when the state was initially added to the state file. (i.e. Create, Import)
- Modified *time.Time // If set, the time when the state was last modified in the state file.
- SourcePosition string // If set, the source location of the resource registration
- StackTrace []StackFrame // If set, the stack trace at time of registration
- IgnoreChanges []string // If set, the list of properties to ignore changes for.
- ReplaceOnChanges []string // If set, the list of properties that if changed trigger a replace.
- ReplacementTrigger PropertyValue // If set, the engine will diff this with the last recorded value, and trigger a replace if they are not equal.
- HideDiff []PropertyPath // If set, the list of property paths to compact the diff for.
- RefreshBeforeUpdate bool // true if this resource should always be refreshed prior to updates.
- ViewOf URN // If set, the URN of the resource this resource is a view of.
- ResourceHooks map[HookType][]string // The resource hooks attached to the resource, by type.
- SnippetID string // If set, the UUID of the snippet that most recently registered this resource.
-}
-
-func cloneMapOfSlices[M ~map[K]V, K comparable, V ~[]E, E any](m M) M {
- if m == nil {
- return nil
- }
- result := make(M, len(m))
- for k, v := range m {
- result[k] = slices.Clone(v)
- }
- return result
-}
-
-// Copy creates a deep copy of the resource state, except without copying the lock.
-func (s *State) Copy() *State {
- return &State{
- Type: s.Type,
- URN: s.URN,
- Custom: s.Custom,
- Delete: s.Delete,
- ID: s.ID,
- Inputs: s.Inputs,
- Outputs: s.Outputs,
- Parent: s.Parent,
- Protect: s.Protect,
- Taint: s.Taint,
- External: s.External,
- Dependencies: slices.Clone(s.Dependencies),
- InitErrors: slices.Clone(s.InitErrors),
- Provider: s.Provider,
- ExtensionRef: s.ExtensionRef,
- PropertyDependencies: cloneMapOfSlices(s.PropertyDependencies),
- PendingReplacement: s.PendingReplacement,
- AdditionalSecretOutputs: slices.Clone(s.AdditionalSecretOutputs),
- Aliases: slices.Clone(s.Aliases),
- CustomTimeouts: s.CustomTimeouts,
- ImportID: s.ImportID,
- RetainOnDelete: s.RetainOnDelete,
- DeletedWith: s.DeletedWith,
- ReplaceWith: s.ReplaceWith,
- Created: s.Created,
- Modified: s.Modified,
- SourcePosition: s.SourcePosition,
- StackTrace: slices.Clone(s.StackTrace),
- IgnoreChanges: slices.Clone(s.IgnoreChanges),
- ReplaceOnChanges: slices.Clone(s.ReplaceOnChanges),
- ReplacementTrigger: s.ReplacementTrigger,
- HideDiff: slices.Clone(s.HideDiff),
- RefreshBeforeUpdate: s.RefreshBeforeUpdate,
- ViewOf: s.ViewOf,
- ResourceHooks: cloneMapOfSlices(s.ResourceHooks),
- SnippetID: s.SnippetID,
- }
-}
-
-func (s *State) GetAliasURNs() []URN {
- return s.Aliases
-}
-
-func (s *State) GetAliases() []Alias {
- aliases := make([]Alias, len(s.Aliases))
- for i, alias := range s.Aliases {
- aliases[i] = Alias{URN: alias}
- }
- return aliases
-}
-
-// NewState is used to construct State values. The dataflow for State is rather sensitive, so all fields are required.
-// Call [NewState.Make] to create the *State value.
-//
-//nolint:lll
-type NewState struct {
- // the resource's type.
- Type tokens.Type // required
-
- // the resource's object urn, a human-friendly, unique name for the resource.
- URN URN // required
-
- // true if the resource is custom, managed by a plugin.
- Custom bool // required
-
- // true if this resource is pending deletion due to a replacement.
- Delete bool // required
-
- // the resource's unique ID, assigned by the resource provider (or blank if none/uncreated).
- ID ID // required
-
- // the resource's input properties (as specified by the program).
- Inputs PropertyMap // required
-
- // the resource's complete output state (as returned by the resource provider).
- Outputs PropertyMap // required
-
- // an optional parent URN that this resource belongs to.
- Parent URN // required
-
- // true to "protect" this resource (protected resources cannot be deleted).
- Protect bool // required
-
- // true to force replacement of this resource during the next update.
- Taint bool // required
-
- // true if this resource is "external" to Pulumi and we don't control the lifecycle.
- External bool // required
-
- // the resource's dependencies.
- Dependencies []URN // required
-
- // the set of errors encountered in the process of initializing resource.
- InitErrors []string // required
-
- // the provider to use for this resource.
- Provider string // required
-
- // the extension ref for this resource, if it was generated from an extension
- ExtensionRef ExtensionRef
-
- // the set of dependencies that affect each property.
- PropertyDependencies map[PropertyKey][]URN // required
-
- // true if this resource was deleted and is awaiting replacement.
- PendingReplacement bool // required
-
- // an additional set of outputs that should be treated as secrets.
- AdditionalSecretOutputs []PropertyKey // required
-
- // an optional set of URNs for which this resource is an alias.
- Aliases []URN // required
-
- // A config block that will be used to configure timeouts for CRUD operations.
- CustomTimeouts *CustomTimeouts // required
-
- // the resource's import id, if this was an imported resource.
- ImportID ID // required
-
- // if set to True, the providers Delete method will not be called for this resource.
- RetainOnDelete bool // required
-
- // If set, the providers Delete method will not be called for this resource if specified resource is being deleted as well.
- DeletedWith URN // required
-
- // If set, the URNs of the resources whose replaces will also replace this resource.
- ReplaceWith []URN // required
-
- // If set, the time when the state was initially added to the state file. (i.e. Create, Import)
- Created *time.Time // required
-
- // If set, the time when the state was last modified in the state file.
- Modified *time.Time // required
-
- // If set, the source location of the resource registration
- SourcePosition string // required
-
- // If set, the stack trace at time of registration
- StackTrace []StackFrame // required
-
- // If set, the list of properties to ignore changes for.
- IgnoreChanges []string // required
-
- // If set, the list of properties that if changed trigger a replace.
- ReplaceOnChanges []string // required
-
- // If set, the engine will diff this with the last recorded value, and trigger a replace if they are not equal.
- ReplacementTrigger PropertyValue // required
-
- // If set, the list of properties that should have their diff suppressed.
- HideDiff []PropertyPath // required
-
- // true if this resource should always be refreshed prior to updates.
- RefreshBeforeUpdate bool // required
-
- // If set, the URN of the resource this resource is a view of.
- ViewOf URN // required
-
- // The resource hooks attached to the resource, by type.
- ResourceHooks map[HookType][]string // required
-
- // If set, the UUID of the snippet that most recently registered this resource.
- SnippetID string // required
-}
-
-// Make consumes the NewState to create a *State.
-func (s NewState) Make() *State {
- contract.Assertf(s.Type != "", "type was empty")
- contract.Assertf(s.Custom || s.ID == "", "is custom or had empty ID")
-
- var customTimeouts CustomTimeouts
- if s.CustomTimeouts != nil {
- customTimeouts = *s.CustomTimeouts
- }
-
- return &State{
- Type: s.Type,
- URN: s.URN,
- Custom: s.Custom,
- Delete: s.Delete,
- ID: s.ID,
- Inputs: s.Inputs,
- Outputs: s.Outputs,
- Parent: s.Parent,
- Protect: s.Protect,
- Taint: s.Taint,
- External: s.External,
- Dependencies: s.Dependencies,
- InitErrors: s.InitErrors,
- Provider: s.Provider,
- ExtensionRef: s.ExtensionRef,
- PropertyDependencies: s.PropertyDependencies,
- PendingReplacement: s.PendingReplacement,
- AdditionalSecretOutputs: s.AdditionalSecretOutputs,
- Aliases: s.Aliases,
- CustomTimeouts: customTimeouts,
- ImportID: s.ImportID,
- RetainOnDelete: s.RetainOnDelete,
- DeletedWith: s.DeletedWith,
- ReplaceWith: s.ReplaceWith,
- Created: s.Created,
- Modified: s.Modified,
- SourcePosition: s.SourcePosition,
- StackTrace: s.StackTrace,
- IgnoreChanges: s.IgnoreChanges,
- ReplaceOnChanges: s.ReplaceOnChanges,
- ReplacementTrigger: s.ReplacementTrigger,
- HideDiff: s.HideDiff,
- RefreshBeforeUpdate: s.RefreshBeforeUpdate,
- ViewOf: s.ViewOf,
- ResourceHooks: s.ResourceHooks,
- SnippetID: s.SnippetID,
- }
-}
-
-// StateDependency objects are used when enumerating all the dependencies of a
-// resource. They encapsulate the various types of dependency relationships that
-// Pulumi resources may have with one another.
-type StateDependency struct {
- // The type of dependency.
- Type StateDependencyType
- // If the dependency is a property dependency, the property key that owns the
- // dependency.
- Key PropertyKey
- // The URN of the resource that is being depended on.
- URN URN
-}
-
-// The type of dependencies that a resource may have.
-type StateDependencyType string
-
-const (
- // ResourceParent is the type of parent-child dependency relationships. The
- // resource being depended on is the parent of the dependent resource.
- ResourceParent StateDependencyType = "parent"
- // ResourceDependency is the type of dependency relationships where there is
- // no specific property owning the dependency.
- ResourceDependency StateDependencyType = "dependency"
- // ResourcePropertyDependency is the type of dependency relationships where a
- // specific property makes reference to another resource.
- ResourcePropertyDependency StateDependencyType = "property-dependency"
- // ResourceDeletedWith is the type of dependency relationships where a
- // resource will be "deleted with" another. The resource being depended on is
- // one whose deletion subsumes the deletion of the dependent resource.
- ResourceDeletedWith StateDependencyType = "deleted-with"
- // ResourceReplaceWith is the type of dependency relationships where a
- // resource will be also be replaced any time one of the given resources is replaced.
- // The resources being depended on are the ones whose replacement triggers the
- // replacement of the dependent resource.
- ResourceReplaceWith StateDependencyType = "replace-with"
-)
-
-// GetAllDependencies returns a resource's provider and all of its dependencies.
-// For use cases that rely on processing all possible links between sets of
-// resources, this method (coupled with e.g. an exhaustive switch over the types
-// of dependencies returned) should be preferred over direct access to e.g.
-// Dependencies, PropertyDependencies, and so on.
-func (s *State) GetAllDependencies() (string, []StateDependency) {
- var allDeps []StateDependency
- if s.Parent != "" {
- allDeps = append(allDeps, StateDependency{Type: ResourceParent, URN: s.Parent})
- }
- for _, dep := range s.Dependencies {
- if dep != "" {
- allDeps = append(allDeps, StateDependency{Type: ResourceDependency, URN: dep})
- }
- }
- for key, deps := range s.PropertyDependencies {
- for _, dep := range deps {
- if dep != "" {
- allDeps = append(allDeps, StateDependency{Type: ResourcePropertyDependency, Key: key, URN: dep})
- }
- }
- }
- if s.DeletedWith != "" {
- allDeps = append(allDeps, StateDependency{Type: ResourceDeletedWith, URN: s.DeletedWith})
- }
- for _, dep := range s.ReplaceWith {
- if dep != "" {
- allDeps = append(allDeps, StateDependency{Type: ResourceReplaceWith, URN: dep})
- }
- }
- return s.Provider, allDeps
-}
-
-// StackFrames are used to record the stack at the time a resource is registered.
-type StackFrame struct {
- // The source position associated with the stack frame.
- SourcePosition string
-}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/sig/sig.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/sig/sig.go
index 011cac0a0..3e1c58e5d 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/sig/sig.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/sig/sig.go
@@ -29,6 +29,11 @@ const (
// OutputValueSig is the unique output value signature.
OutputValue = "d0e6a833031e9bbcd3f4e8bde6ca49a4"
+ // ByteString is the unique signature for string values that contain bytes which are not
+ // valid UTF-8. Such strings cannot be transported as protobuf string fields, so they are
+ // encoded as an object carrying the base64 encoding of the string's bytes.
+ ByteString = "803fd3297a5875dc03ca845dda5d2a98"
+
// a randomly assigned type hash for assets.
AssetSig = "c44067f5952c0a294b673a41bacd8c17"
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/tokens/names.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/tokens/names.go
index 28291edba..dfab48556 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/tokens/names.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/tokens/names.go
@@ -70,7 +70,7 @@ func IsQName(s string) bool {
// necessary. The conversion is deterministic, but also lossy.
func IntoQName(s string) QName {
output := []string{}
- for _, s := range strings.Split(s, QNameDelimiter) {
+ for s := range strings.SplitSeq(s, QNameDelimiter) {
if s == "" {
continue
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil/console_input.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil/console_input.go
index a5ec63c98..2358e0c12 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil/console_input.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil/console_input.go
@@ -19,11 +19,11 @@ package cmdutil
import (
"io"
- "github.com/charmbracelet/bubbles/textinput"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
"github.com/pulumi/pulumi/sdk/v3/go/common/util/contract"
+ "github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/textinput"
)
func readConsoleFancy(stdout io.Writer, stdin io.Reader, prompt string, secret bool) (string, error) {
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil/trace.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil/trace.go
index b9c2d8788..81507db2f 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil/trace.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil/trace.go
@@ -496,9 +496,9 @@ func rootSpanTags() []opentracing.Tag {
envVarName := strings.ToLower(pair[0])
envVarValue := pair[1]
- if strings.HasPrefix(envVarName, envPrefix) {
+ if after, ok := strings.CutPrefix(envVarName, envPrefix); ok {
tags = append(tags, opentracing.Tag{
- Key: strings.TrimPrefix(envVarName, envPrefix),
+ Key: after,
Value: envVarValue,
})
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/gitutil/git.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/gitutil/git.go
index 9eb0a81d9..3a7564d37 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/gitutil/git.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/gitutil/git.go
@@ -896,8 +896,8 @@ func GetGitReferenceNameOrHashAndSubDirectory(url string, urlPath string) (
for _, ref := range refs {
shortName := ref.Short()
prefix := shortName + "/"
- if strings.HasPrefix(path, prefix) {
- subDir := strings.TrimPrefix(path, prefix)
+ if after, ok := strings.CutPrefix(path, prefix); ok {
+ subDir := after
return ref, plumbing.ZeroHash, strings.TrimSuffix(subDir, "/"), nil
}
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/gitutil/retrieve.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/gitutil/retrieve.go
new file mode 100644
index 000000000..fe4687fb0
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/gitutil/retrieve.go
@@ -0,0 +1,89 @@
+// Copyright 2026, Pulumi Corporation.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package gitutil
+
+import (
+ "context"
+ "errors"
+ "fmt"
+ "os"
+ "path/filepath"
+
+ "github.com/go-git/go-git/v6/plumbing"
+
+ "github.com/pulumi/pulumi/sdk/v3/go/common/util/logging"
+)
+
+// RetrieveGitFolder downloads the repo to path and returns the full path on disk.
+func RetrieveGitFolder(ctx context.Context, rawurl string, path string) (string, error) {
+ url, urlPath, err := ParseGitRepoURL(rawurl)
+ if err != nil {
+ return "", err
+ }
+
+ ref, commit, subDirectory, err := GetGitReferenceNameOrHashAndSubDirectory(url, urlPath)
+ if err != nil {
+ return "", fmt.Errorf("failed to get git ref: %w", err)
+ }
+ logging.V(10).Infof(
+ "Attempting to fetch from %s at commit %s@%s for subdirectory '%s'",
+ url, ref, commit, subDirectory)
+
+ if ref != "" {
+ // Different reference attempts to cycle through
+ // We default to master then main in that order. We need to order them to avoid breaking
+ // already existing processes for repos that already have a master and main branch.
+ refAttempts := []plumbing.ReferenceName{plumbing.Master, plumbing.NewBranchReferenceName("main")}
+
+ if ref != plumbing.HEAD {
+ // If we have a non-default reference, we just use it
+ refAttempts = []plumbing.ReferenceName{ref}
+ }
+
+ var cloneErrs []error
+ for _, ref := range refAttempts {
+ // Attempt the clone. If it succeeds, break
+ err := GitCloneOrPull(ctx, url, ref, path, true /*shallow*/)
+ if err == nil {
+ break
+ }
+ logging.V(10).Infof("Failed to clone %s@%s: %v", url, ref, err)
+ cloneErrs = append(cloneErrs, fmt.Errorf("ref '%s': %w", ref, err))
+ }
+ if len(cloneErrs) == len(refAttempts) {
+ return "", fmt.Errorf("failed to clone %s: %w", rawurl, errors.Join(cloneErrs...))
+ }
+ } else {
+ if cloneErr := GitCloneAndCheckoutCommit(ctx, url, commit, path); cloneErr != nil {
+ logging.V(10).Infof("Failed to clone %s@%s: %v", url, commit, err)
+ return "", fmt.Errorf("failed to clone and checkout %s(%s): %w", url, commit, cloneErr)
+ }
+ }
+
+ // Verify the sub directory exists.
+ fullPath := filepath.Join(path, filepath.FromSlash(subDirectory))
+ logging.V(10).Infof("Cloned %s at commit %s@%s to %s", url, ref, commit, fullPath)
+ info, err := os.Stat(fullPath)
+ if err != nil {
+ logging.V(10).Infof("Failed to stat %s after cloning %s: %v", fullPath, url, err)
+ return "", err
+ }
+ if !info.IsDir() {
+ logging.V(10).Infof("%s was not a directory after cloning %s: %v", fullPath, url, err)
+ return "", fmt.Errorf("%s is not a directory", fullPath)
+ }
+
+ return fullPath, nil
+}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/logging/export.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/logging/export.go
index 1d767ed4a..c86af7eae 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/logging/export.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/logging/export.go
@@ -115,6 +115,16 @@ func (pv PropertyValue) LogValue() slog.Value {
return slog.StringValue(pv.String())
}
+// RedactedLogValue replaces secret values with "[secret]" for plaintext log output. The encrypted
+// log sink and OTLP export receive the original values.
+func (pv PropertyValue) RedactedLogValue() slog.Value {
+ b, err := json.Marshal(redactSecretsInJSON(pv.Value.AsInterface()))
+ if err != nil {
+ return slog.StringValue("")
+ }
+ return slog.StringValue(string(b))
+}
+
type propertyValueExportHandler struct {
inner slog.Handler
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/logging/log.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/logging/log.go
index 888a73447..d3ab98fda 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/logging/log.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/logging/log.go
@@ -39,6 +39,7 @@ import (
// We need to re-use glogs flags otherwise we'd get conflicts if another dependency pulled in glog later.
_ "github.com/golang/glog"
+ "github.com/pulumi/pulumi/sdk/v3/go/common/resource/sig"
"github.com/pulumi/pulumi/sdk/v3/go/common/slice"
)
@@ -84,6 +85,54 @@ func rebuildLogger() {
slog.SetDefault(slog.New(h))
}
+// logRedactable is implemented by attribute values (such as the property types) that know how to
+// replace their secret contents for plaintext log output. Only the primary (stderr or log file)
+// output redacts; the sink and export handlers receive unredacted records.
+type logRedactable interface {
+ RedactedLogValue() slog.Value
+}
+
+func redactAttr(a slog.Attr) slog.Attr {
+ if k := a.Value.Kind(); k != slog.KindAny && k != slog.KindLogValuer {
+ return a
+ }
+ switch v := a.Value.Any().(type) {
+ case logRedactable:
+ a.Value = v.RedactedLogValue()
+ case map[string]any:
+ a.Value = slog.AnyValue(redactSecretsInJSON(v))
+ case []any:
+ a.Value = slog.AnyValue(redactSecretsInJSON(v))
+ }
+ return a
+}
+
+// redactSecretsInJSON walks an already-serialized JSON value and replaces any object carrying the
+// Pulumi secret signature with "[secret]". Unlike the in-place walk `pulumi logs share` uses on
+// records it owns, this copies: the original value is shared with the unredacted sink and export
+// log outputs.
+func redactSecretsInJSON(v any) any {
+ switch val := v.(type) {
+ case map[string]any:
+ if s, ok := val[sig.Key].(string); ok && s == sig.Secret {
+ return "[secret]"
+ }
+ redacted := make(map[string]any, len(val))
+ for k, child := range val {
+ redacted[k] = redactSecretsInJSON(child)
+ }
+ return redacted
+ case []any:
+ redacted := make([]any, len(val))
+ for i, child := range val {
+ redacted[i] = redactSecretsInJSON(child)
+ }
+ return redacted
+ default:
+ return val
+ }
+}
+
// SetExportHandler installs an slog.Handler for OTLP log export.
// The handler receives a copy of every log record. Pass nil to
// remove the export handler.
@@ -228,16 +277,15 @@ func InitLogging(logToStderr bool, verbose int, logFlow bool) {
} else if f := flag.CommandLine.Lookup("v"); f != nil {
fmt.Sscan(f.Value.String(), &Verbose) //nolint:errcheck
}
-
initExportHandler(filepath.Base(os.Args[0]))
handlerMu.Lock()
switch {
- case LogToStderr && exportHandler != nil:
- // Logs already flow to the engine over OTel, so ignore --logtostderr:
- // writing JSON records to stderr would only leak them into the
- // engine's display of our output.
+ case exportHandler != nil:
+ // Logs already flow to the engine over OTel, so skip local output:
+ // a log file would only duplicate them, and writing JSON records to
+ // stderr would leak them into the engine's display of our output.
primary = discardHandler{}
case LogToStderr:
primary = slog.NewJSONHandler(os.Stderr, &slog.HandlerOptions{
@@ -367,6 +415,7 @@ func (f formattingHandler) Handle(ctx context.Context, r slog.Record) error {
var fmtArgs []any
var other []slog.Attr
r.Attrs(func(a slog.Attr) bool {
+ a = redactAttr(a)
if strings.HasPrefix(a.Key, "pulumi.log.arg") {
fmtArgs = append(fmtArgs, a.Value.Any())
} else {
@@ -386,7 +435,11 @@ func (f formattingHandler) Handle(ctx context.Context, r slog.Record) error {
}
func (f formattingHandler) WithAttrs(attrs []slog.Attr) slog.Handler {
- return formattingHandler{inner: f.inner.WithAttrs(attrs)}
+ redacted := make([]slog.Attr, len(attrs))
+ for i, a := range attrs {
+ redacted[i] = redactAttr(a)
+ }
+ return formattingHandler{inner: f.inner.WithAttrs(redacted)}
}
func (f formattingHandler) WithGroup(name string) slog.Handler {
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/mapper/errors.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/mapper/errors.go
index eeaea23dd..aaba06754 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/mapper/errors.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/mapper/errors.go
@@ -17,6 +17,7 @@ package mapper
import (
"fmt"
"reflect"
+ "strings"
)
// MappingError represents a collection of decoding errors, defined below.
@@ -45,16 +46,17 @@ func (e *mappingError) AddFailure(err error) {
}
func (e *mappingError) Error() string {
- str := fmt.Sprintf("%d failures decoding:", len(e.failures))
+ var str strings.Builder
+ fmt.Fprintf(&str, "%d failures decoding:", len(e.failures))
for _, failure := range e.failures {
switch f := failure.(type) {
case FieldError:
- str += fmt.Sprintf("\n\t%v: %v", f.Field(), f.Reason())
+ fmt.Fprintf(&str, "\n\t%v: %v", f.Field(), f.Reason())
default:
- str += fmt.Sprintf("\n\t%v", f)
+ fmt.Fprintf(&str, "\n\t%v", f)
}
}
- return str
+ return str.String()
}
// FieldError represents a failure during decoding of a specific field.
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/mapper/mapper.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/mapper/mapper.go
index c42a7752c..20fdf846e 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/mapper/mapper.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/mapper/mapper.go
@@ -16,6 +16,7 @@ package mapper
import (
"reflect"
+ "slices"
"strings"
"github.com/pulumi/pulumi/sdk/v3/go/common/util/contract"
@@ -167,20 +168,14 @@ func (md *mapper) structFieldsTags(t reflect.Type) []structFieldTags {
}
for _, part := range tagparts[1:] {
var match bool
- for _, optionalTag := range optionalTags {
- if part == optionalTag {
- optional = true
- match = true
- break
- }
+ if slices.Contains(optionalTags, part) {
+ optional = true
+ match = true
}
if !match {
- for _, skipTag := range skipTags {
- if part == skipTag {
- skip = true
- match = true
- break
- }
+ if slices.Contains(skipTags, part) {
+ skip = true
+ match = true
}
}
contract.Assertf(match, "Unrecognized tagpart on field %v.%v: %v", t.Name(), fldinfo.Name, part)
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/mapper/mapper_decode.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/mapper/mapper_decode.go
index b4ea7f5f4..26224f413 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/mapper/mapper_decode.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/mapper/mapper_decode.go
@@ -135,10 +135,7 @@ func (md *mapper) DecodeValue(obj map[string]any, ty reflect.Type, key string,
return nil
}
-var (
- emptyObject = map[string]any{}
- textUnmarshalerType = reflect.TypeOf(new(encoding.TextUnmarshaler)).Elem()
-)
+var textUnmarshalerType = reflect.TypeFor[encoding.TextUnmarshaler]()
// adjustValueForAssignment converts if possible to produce the target type.
func (md *mapper) adjustValueForAssignment(val reflect.Value,
@@ -214,7 +211,7 @@ func (md *mapper) adjustValueForAssignment(val reflect.Value,
m.SetMapIndex(k, entry)
}
val = m
- } else if val.Type() == reflect.TypeOf(emptyObject) {
+ } else if val.Type() == reflect.TypeFor[map[string]any]() {
// The value is an object and needs to be decoded into a value.
obj := val.Interface().(map[string]any)
if decode, has := md.opts.CustomDecoders[to]; has {
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/mapper/object.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/mapper/object.go
index baed3edeb..f6d47bff7 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/mapper/object.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/mapper/object.go
@@ -24,7 +24,7 @@ func AsObject(v any, ty reflect.Type, key string) (map[string]any, FieldError) {
return vmap, nil
}
return nil, NewWrongTypeError(
- ty, key, reflect.TypeOf(make(map[string]any)), reflect.TypeOf(v))
+ ty, key, reflect.TypeFor[map[string]any](), reflect.TypeOf(v))
}
// AsString attempts to coerce an existing value to a string, returning a non-nil error if it cannot be done.
@@ -32,7 +32,7 @@ func AsString(v any, ty reflect.Type, key string) (*string, FieldError) {
if s, ok := v.(string); ok {
return &s, nil
}
- return nil, NewWrongTypeError(ty, key, reflect.TypeOf(""), reflect.TypeOf(v))
+ return nil, NewWrongTypeError(ty, key, reflect.TypeFor[string](), reflect.TypeOf(v))
}
// FieldObject looks up a field by name within an object map, coerces it to an object itself, and returns it. If the
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/otelreceiver/exporter.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/otelreceiver/exporter.go
index e5b097229..5db57f2b8 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/otelreceiver/exporter.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/otelreceiver/exporter.go
@@ -51,11 +51,17 @@ type SpanExporter interface {
// - file:// - writes OTLP JSON to a local file
// - grpc:// - sends OTLP via insecure gRPC (local collectors)
// - grpcs:// - sends OTLP via TLS-secured gRPC with optional header auth
+// - http:// - sends OTLP via plain HTTP (local collectors)
+// - https:// - sends OTLP via TLS-secured HTTP with optional header auth
//
-// grpc:// and grpcs:// support passing arbitrary gRPC metadata headers as
-// URL query parameters:
+// The remote schemes support passing arbitrary metadata headers as URL query
+// parameters:
//
// grpcs://api.honeycomb.io:443?x-honeycomb-team=YOUR_API_KEY
+// https://api.honeycomb.io?x-honeycomb-team=YOUR_API_KEY
+//
+// For http:// and https:// endpoints the OTLP default path /v1/traces is
+// appended when no path is given.
func NewExporter(endpoint string) (SpanExporter, error) {
if endpoint == "" {
return nil, errors.New("endpoint is required")
@@ -95,6 +101,19 @@ func NewExporter(endpoint string) (SpanExporter, error) {
headers: headersFromQuery(u.Query()),
})
+ case "http", "https":
+ if u.Host == "" {
+ return nil, fmt.Errorf("host is required for %s:// endpoint", u.Scheme)
+ }
+ target := url.URL{Scheme: u.Scheme, Host: u.Host, Path: u.Path}
+ if target.Path == "" || target.Path == "/" {
+ target.Path = "/v1/traces"
+ }
+ return newHTTPExporterWithOptions(httpExporterOptions{
+ url: target.String(),
+ headers: headersFromQuery(u.Query()),
+ }), nil
+
default:
return nil, fmt.Errorf("unsupported endpoint scheme: %s", u.Scheme)
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/otelreceiver/http_exporter.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/otelreceiver/http_exporter.go
new file mode 100644
index 000000000..3f78f23ed
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/otelreceiver/http_exporter.go
@@ -0,0 +1,84 @@
+// Copyright 2026, Pulumi Corporation.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package otelreceiver
+
+import (
+ "bytes"
+ "context"
+ "fmt"
+ "io"
+ "net/http"
+ "time"
+
+ coltracepb "go.opentelemetry.io/proto/otlp/collector/trace/v1"
+ tracepb "go.opentelemetry.io/proto/otlp/trace/v1"
+ "google.golang.org/protobuf/proto"
+)
+
+type HTTPExporter struct {
+ client *http.Client
+ url string
+ headers map[string]string
+}
+
+type httpExporterOptions struct {
+ url string
+ headers map[string]string
+}
+
+func newHTTPExporterWithOptions(opts httpExporterOptions) *HTTPExporter {
+ return &HTTPExporter{
+ client: &http.Client{Timeout: 30 * time.Second},
+ url: opts.url,
+ headers: opts.headers,
+ }
+}
+
+func (e *HTTPExporter) ExportSpans(ctx context.Context, spans []*tracepb.ResourceSpans) error {
+ if len(spans) == 0 {
+ return nil
+ }
+
+ body, err := proto.Marshal(&coltracepb.ExportTraceServiceRequest{ResourceSpans: spans})
+ if err != nil {
+ return fmt.Errorf("failed to marshal spans: %w", err)
+ }
+
+ req, err := http.NewRequestWithContext(ctx, http.MethodPost, e.url, bytes.NewReader(body))
+ if err != nil {
+ return fmt.Errorf("failed to create export request: %w", err)
+ }
+ req.Header.Set("Content-Type", "application/x-protobuf")
+ for k, v := range e.headers {
+ req.Header.Set(k, v)
+ }
+
+ resp, err := e.client.Do(req)
+ if err != nil {
+ return fmt.Errorf("failed to export spans: %w", err)
+ }
+ defer resp.Body.Close()
+
+ if resp.StatusCode != http.StatusOK {
+ msg, _ := io.ReadAll(io.LimitReader(resp.Body, 1024))
+ return fmt.Errorf("failed to export spans: %s: %s", resp.Status, msg)
+ }
+ return nil
+}
+
+func (e *HTTPExporter) Shutdown(ctx context.Context) error {
+ e.client.CloseIdleConnections()
+ return nil
+}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/config.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/config.go
deleted file mode 100644
index f93744d3a..000000000
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/config.go
+++ /dev/null
@@ -1,393 +0,0 @@
-// Copyright 2022, Pulumi Corporation.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-package workspace
-
-import (
- "context"
- "encoding/json"
- "fmt"
- "sort"
- "strings"
-
- "github.com/pulumi/pulumi/sdk/v3/go/common/esc"
- "github.com/pulumi/pulumi/sdk/v3/go/common/resource/config"
- "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract"
-)
-
-func formatMissingKeys(missingKeys []string) string {
- if len(missingKeys) == 1 {
- return fmt.Sprintf("'%v'", missingKeys[0])
- }
-
- sort.Strings(missingKeys)
-
- var formattedMissingKeys strings.Builder
- for index, key := range missingKeys {
- // if last index, then use and before the key
- if index == len(missingKeys)-1 {
- fmt.Fprintf(&formattedMissingKeys, "and '%s'", key)
- } else if index == len(missingKeys)-2 {
- // no comma before the last key
- fmt.Fprintf(&formattedMissingKeys, "'%s' ", key)
- } else {
- fmt.Fprintf(&formattedMissingKeys, "'%s', ", key)
- }
- }
-
- return formattedMissingKeys.String()
-}
-
-func missingStackConfigurationKeysError(missingKeys []string, stackName string) error {
- valueOrValues := "value"
- if len(missingKeys) > 1 {
- valueOrValues = "values"
- }
-
- return fmt.Errorf(
- "Stack '%v' is missing configuration %v %v",
- stackName,
- valueOrValues,
- formatMissingKeys(missingKeys))
-}
-
-type (
- StackName = string
- ProjectConfigKey = string
-)
-
-func validateStackConfigValues(
- stackName string,
- project *Project,
- stackConfig config.Map,
- dec config.Decrypter,
-) error {
- if dec == nil {
- return nil
- }
-
- // Batch decrypt all stack config values once to warm the cache.
- _, err := stackConfig.Decrypt(dec)
- if err != nil {
- return err
- }
-
- keys := make([]string, 0, len(project.Config))
- for k := range project.Config {
- keys = append(keys, k)
- }
- sort.Strings(keys)
-
- for _, projectConfigKey := range keys {
- projectConfigType := project.Config[projectConfigKey]
-
- key, err := parseConfigKey(project.Name.String(), projectConfigKey)
- if err != nil {
- return err
- }
-
- stackValue, _, err := stackConfig.Get(key, true)
- if err != nil {
- return fmt.Errorf("getting stack config value for key '%v': %w", key.String(), err)
- }
-
- if projectConfigType.IsExplicitlyTyped() {
- // We need to use stackValue.Value(dec) here to account for nested values.
- // We cannot get these from the decrypted config map as it does not handle nested values.
- // Uses the cached decrypted value from the batch decrypt above.
- decryptedValue, err := stackValue.Value(dec)
- if err != nil {
- return err
- }
- err = validateStackConfigValue(stackName, projectConfigKey, projectConfigType, stackValue, decryptedValue)
- if err != nil {
- return err
- }
- }
- }
-
- return nil
-}
-
-func validateStackConfigValue(
- stackName string,
- projectConfigKey string,
- projectConfigType ProjectConfigType,
- stackValue config.Value,
- decryptedValue string,
-) error {
- // First check if the project says this should be secret, and if so that the stack value is
- // secure.
- if projectConfigType.Secret && !stackValue.Secure() {
- validationError := fmt.Errorf(
- "Stack '%v' with configuration key '%v' must be encrypted as it's secret",
- stackName,
- projectConfigKey)
- return validationError
- }
-
- // Content will be a JSON string if object is true, so marshal that back into an actual structure
- var content any = decryptedValue
- if stackValue.Object() {
- err := json.Unmarshal([]byte(decryptedValue), &content)
- if err != nil {
- return err
- }
- }
-
- if !ValidateConfigValue(*projectConfigType.Type, projectConfigType.Items, content) {
- typeName := InferFullTypeName(*projectConfigType.Type, projectConfigType.Items)
- validationError := fmt.Errorf(
- "Stack '%v' with configuration key '%v' must be of type '%v'",
- stackName,
- projectConfigKey,
- typeName)
-
- return validationError
- }
-
- return nil
-}
-
-func parseConfigKey(projectName, key string) (config.Key, error) {
- if strings.Contains(key, ":") {
- // key is already namespaced
- return config.ParseKey(key)
- }
-
- // key is not namespaced
- // use the project as default namespace
- return config.MustMakeKey(projectName, key), nil
-}
-
-func createConfigValue(rawValue any) (config.Value, error) {
- if isPrimitiveValue(rawValue) {
- configValueContent := fmt.Sprintf("%v", rawValue)
- return config.NewValue(configValueContent), nil
- }
- value, err := SimplifyMarshalledValue(rawValue)
- if err != nil {
- return config.Value{}, err
- }
- configValueJSON, jsonError := json.Marshal(value)
- if jsonError != nil {
- return config.Value{}, jsonError
- }
- return config.NewObjectValue(string(configValueJSON)), nil
-}
-
-func toConfigMap(
- ctx context.Context, environmentPulumiConfig esc.Value, defaultNamespace string, encrypter config.Encrypter,
-) (config.Map, error) {
- plaintextMap := map[config.Key]config.Plaintext{}
- if envMap, ok := environmentPulumiConfig.Value.(map[string]esc.Value); ok {
- for rawKey, value := range envMap {
- key, err := parseConfigKey(defaultNamespace, rawKey)
- if err != nil {
- return nil, err
- }
- plaintextMap[key] = toPlaintext(value)
- }
- }
- return config.EncryptMap(ctx, plaintextMap, encrypter)
-}
-
-func toPlaintext(v esc.Value) config.Plaintext {
- if v.Unknown {
- if v.Secret {
- return config.NewPlaintext(config.PlaintextSecret("[unknown]"))
- }
- return config.NewPlaintext("[unknown]")
- }
-
- switch repr := v.Value.(type) {
- case nil:
- return config.Plaintext{}
- case bool:
- return config.NewPlaintext(repr)
- case json.Number:
- if i, err := repr.Int64(); err == nil {
- return config.NewPlaintext(i)
- } else if f, err := repr.Float64(); err == nil {
- return config.NewPlaintext(f)
- }
- // TODO(pdg): this disagrees with config unmarshaling semantics. Should probably fail.
- return config.NewPlaintext(string(repr))
- case string:
- if v.Secret {
- return config.NewPlaintext(config.PlaintextSecret(repr))
- }
- return config.NewPlaintext(repr)
- case []esc.Value:
- vs := make([]config.Plaintext, len(repr))
- for i, v := range repr {
- vs[i] = toPlaintext(v)
- }
- return config.NewPlaintext(vs)
- case map[string]esc.Value:
- vs := make(map[string]config.Plaintext, len(repr))
- for k, v := range repr {
- vs[k] = toPlaintext(v)
- }
- return config.NewPlaintext(vs)
- default:
- contract.Failf("unexpected environments value of type %T", repr)
- return config.Plaintext{}
- }
-}
-
-func mergeConfig(
- ctx context.Context,
- stackName string,
- project *Project,
- stackEnv esc.Value,
- stackConfig config.Map,
- encrypter config.Encrypter,
- decrypter config.Decrypter,
- validate bool,
-) error {
- projectName := project.Name.String()
-
- envConfig, err := toConfigMap(ctx, stackEnv, projectName, encrypter)
- if err != nil {
- return err
- }
-
- // First merge the stack environment and the stack config together.
- for key, envValue := range envConfig {
- stackValue, foundOnStack, err := stackConfig.Get(key, false)
- if err != nil {
- return fmt.Errorf("getting stack config value for key '%v': %w", key.String(), err)
- }
-
- if !foundOnStack {
- err = stackConfig.Set(key, envValue, false)
- } else {
- // Uses JSON merge patch semantics: https://datatracker.ietf.org/doc/html/rfc7386
- // Prefers stack values over env values.
- merged, mergeErr := stackValue.Merge(envValue)
- if mergeErr != nil {
- return fmt.Errorf("merging environment config for key '%v': %w", key.String(), err)
- }
- err = stackConfig.Set(key, merged, false)
- }
- if err != nil {
- return fmt.Errorf("setting merged config value for key '%v': %w", key.String(), err)
- }
- }
-
- missingConfigurationKeys := make([]string, 0)
- keys := make([]string, 0, len(project.Config))
- for k := range project.Config {
- keys = append(keys, k)
- }
- sort.Strings(keys)
-
- // Next validate the merged config and merge in the project config.
- for _, projectConfigKey := range keys {
- projectConfigType := project.Config[projectConfigKey]
-
- key, err := parseConfigKey(projectName, projectConfigKey)
- if err != nil {
- return err
- }
-
- _, foundOnStack, err := stackConfig.Get(key, true)
- if err != nil {
- return fmt.Errorf("getting stack config value for key '%v': %w", key.String(), err)
- }
-
- hasDefault := projectConfigType.Default != nil
- hasValue := projectConfigType.Value != nil
-
- if !foundOnStack && !hasValue && !hasDefault && key.Namespace() == projectName {
- // add it to the list of missing project configuration keys in the stack
- // which are required by the project
- // then return them as a single error
- missingConfigurationKeys = append(missingConfigurationKeys, projectConfigKey)
- continue
- }
-
- if !foundOnStack && (hasValue || hasDefault) {
- // either value or default value is provided
- var value any
- if hasValue {
- value = projectConfigType.Value
- }
- if hasDefault {
- value = projectConfigType.Default
- }
- // it is not found on the stack we are currently validating / merging values with
- // then we assign the value to that stack whatever that value is
- configValue, err := createConfigValue(value)
- if err != nil {
- return err
- }
- setError := stackConfig.Set(key, configValue, true)
- if setError != nil {
- return setError
- }
-
- continue
- }
- }
-
- if validate && len(missingConfigurationKeys) > 0 {
- // there are missing configuration keys in the stack
- // return them as a single error.
- return missingStackConfigurationKeysError(missingConfigurationKeys, stackName)
- }
-
- // Validate stack level values against the config defined at the project level
- if validate {
- err := validateStackConfigValues(stackName, project, stackConfig, decrypter)
- if err != nil {
- return err
- }
- }
-
- return nil
-}
-
-func ValidateStackConfigAndApplyProjectConfig(
- ctx context.Context,
- stackName string,
- project *Project,
- stackEnv esc.Value,
- stackConfig config.Map,
- encrypter config.Encrypter,
- decrypter config.Decrypter,
-) error {
- return mergeConfig(ctx, stackName, project, stackEnv, stackConfig, encrypter, decrypter, true)
-}
-
-// ApplyProjectConfig applies the project configuration onto the stack configuration without validating
-// the merged config: it neither errors on missing required keys nor type-checks stack values against the
-// project schema. Project-level defaults and values are still merged onto the stack config.
-//
-// This is used both during pulumi config ls and pulumi config get (where, if users are using
-// PassphraseDecrypter, we don't want to always prompt for values when not necessary, and where a single
-// missing key should not block reading the others), and by operations run with --skip-config-validation,
-// where project defaults still need to be applied even though validation is intentionally skipped.
-func ApplyProjectConfig(
- ctx context.Context,
- stackName string,
- project *Project,
- stackEnv esc.Value,
- stackConfig config.Map,
- encrypter config.Encrypter,
- decrypter config.Decrypter,
-) error {
- return mergeConfig(ctx, stackName, project, stackEnv, stackConfig, encrypter, decrypter, false)
-}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/gitfolder_deprecated.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/gitfolder_deprecated.go
new file mode 100644
index 000000000..e4b76a0d7
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/gitfolder_deprecated.go
@@ -0,0 +1,30 @@
+// Copyright 2026, Pulumi Corporation.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package workspace
+
+import (
+ "context"
+
+ "github.com/pulumi/pulumi/sdk/v3/go/common/util/gitutil"
+)
+
+// RetrieveGitFolder downloads the repo to path and returns the full path on disk.
+//
+// Deprecated: Use [gitutil.RetrieveGitFolder] instead.
+//
+//go:fix inline
+func RetrieveGitFolder(ctx context.Context, rawurl string, path string) (string, error) {
+ return gitutil.RetrieveGitFolder(ctx, rawurl, path)
+}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/paths.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/paths.go
index d6d4137cd..123334e8b 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/paths.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/paths.go
@@ -34,44 +34,15 @@ import (
)
const (
- // BackupDir is the name of the folder where backup stack information is stored.
- BackupDir = "backups"
// BookkeepingDir is the name of our bookkeeping folder, we store state here (like .git for git).
BookkeepingDir = ".pulumi"
- // ConfigDir is the name of the folder that holds local configuration information.
- ConfigDir = "config"
- // GitDir is the name of the folder git uses to store information.
- GitDir = ".git"
- // HistoryDir is the name of the directory that holds historical information for projects.
- HistoryDir = "history"
// PluginDir is the name of the directory containing plugins.
PluginDir = "plugins"
// PolicyDir is the name of the directory that holds policy packs.
PolicyDir = "policies"
- // StackDir is the name of the directory that holds stack information for projects.
- StackDir = "stacks"
- // LockDir is the name of the directory that holds locking information for projects.
- LockDir = "locks"
- // TemplateDir is the name of the directory containing templates.
- TemplateDir = "templates"
- // TemplatePolicyDir is the name of the directory containing templates for Policy Packs.
- TemplatePolicyDir = "templates-policy"
- // TemplatePackageDir is the name of the directory containing templates for Pulumi packages.
- TemplatePackageDir = "templates-packages"
- // WorkspaceDir is the name of the directory that holds workspace information for projects.
- WorkspaceDir = "workspaces"
-
- // IgnoreFile is the name of the file that we use to control what to upload to the service.
- IgnoreFile = ".pulumiignore"
// ProjectFile is the base name of a project file.
ProjectFile = "Pulumi"
- // RepoFile is the name of the file that holds information specific to the entire repository.
- RepoFile = "settings.json"
- // WorkspaceFile is the name of the file that holds workspace information.
- WorkspaceFile = "workspace.json"
- // CachedVersionFile is the name of the file we use to store when we last checked if the CLI was out of date
- CachedVersionFile = ".cachedVersionInfo"
// PulumiHomeEnvVar is a path to the '.pulumi' folder with plugins, access token, etc.
// The folder can have any name, not necessarily '.pulumi'.
@@ -105,7 +76,7 @@ func DetectProjectPath() (string, error) {
// DetectProjectStackPath returns the name of the file to store stack specific project settings in. We place stack
// specific settings next to the Pulumi.yaml file, named like: Pulumi..yaml
func DetectProjectStackPath(stackName tokens.QName) (*Project, string, error) {
- proj, projPath, err := DetectProjectAndPath()
+ proj, projPath, err := detectProjectAndPath()
if err != nil {
return nil, "", err
}
@@ -149,7 +120,8 @@ func DetectProjectPathFrom(dir string) (string, error) {
// Embed/wrap ErrProjectNotFound
return "", fmt.Errorf(
"no Pulumi.yaml project file found (searching upwards from %s). If you have not "+
- "created a project yet, use `pulumi new` to do so: %w", dir, ErrProjectNotFound)
+ "created a project yet, use `pulumi new` to do so: %w", dir, ErrProjectNotFound,
+ )
}
return path, nil
}
@@ -223,7 +195,7 @@ func DetectPolicyPackPathAt(path string) (string, error) {
// DetectProject loads the closest project from the current working directory, or an error if not found.
func DetectProject() (*Project, error) {
- proj, _, err := DetectProjectAndPath()
+ proj, _, err := detectProjectAndPath()
return proj, err
}
@@ -236,9 +208,9 @@ func DetectProjectStack(diags diag.Sink, stackName tokens.QName) (*ProjectStack,
return LoadProjectStack(diags, project, path)
}
-// DetectProjectAndPath loads the closest package from the current working directory, or an error if not found. It
+// detectProjectAndPath loads the closest package from the current working directory, or an error if not found. It
// also returns the path where the package was found.
-func DetectProjectAndPath() (*Project, string, error) {
+func detectProjectAndPath() (*Project, string, error) {
path, err := DetectProjectPath()
if err != nil {
return nil, "", err
@@ -249,25 +221,6 @@ func DetectProjectAndPath() (*Project, string, error) {
return proj, path, err
}
-// SaveProject saves the project file on top of the existing one, using the standard location.
-func SaveProject(proj *Project) error {
- path, err := DetectProjectPath()
- if err != nil {
- return err
- }
-
- return proj.Save(path)
-}
-
-func SaveProjectStack(stackName tokens.QName, stack *ProjectStack) error {
- _, path, err := DetectProjectStackPath(stackName)
- if err != nil {
- return err
- }
-
- return stack.Save(path)
-}
-
// Given a directory path search for files that appear to be a valid project that is satisfy [isProject].
func findProjectInDir(dir string) (string, bool) {
// Check all supported extensions.
@@ -336,12 +289,6 @@ func isMarkupFile(path string, expect string) bool {
return false
}
-// GetCachedVersionFilePath returns the location where the CLI caches information from pulumi.com on the newest
-// available version of the CLI
-func GetCachedVersionFilePath() (string, error) {
- return GetPulumiPath(CachedVersionFile)
-}
-
// GetPulumiHomeDir returns the path of the '.pulumi' folder where Pulumi puts its artifacts.
func GetPulumiHomeDir() (string, error) {
// Allow the folder we use to be overridden by an environment variable
@@ -391,7 +338,8 @@ func pulumiHomeDirForPath(homeDir string) (string, error) {
} else {
logging.V(7).Infof(
"Could not use default Pulumi home directory %q in agent mode (%s); using shared agent Pulumi directory: %v",
- homeDir, agent, err)
+ homeDir, agent, err,
+ )
}
return getAgentPulumiDir()
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/project.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/project.go
index a2f228868..59f379ee6 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/project.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/project.go
@@ -132,10 +132,13 @@ type PackageSpec struct {
// When marshaling, prefer to unmarshal without the @ shorthand.
unmarshalledFromFull bool
+
+ // CLI args passed to the extension's Parameterize call. This must be implemented in the provider.
+ Extensions []string
}
func (p PackageSpec) String() string {
- if len(p.Parameters) == 0 && len(p.Checksums) == 0 && len(p.PluginDownloadURL) == 0 {
+ if len(p.Parameters) == 0 && len(p.Checksums) == 0 && len(p.PluginDownloadURL) == 0 && len(p.Extensions) == 0 {
if len(p.Version) == 0 {
return p.Source
}
@@ -165,6 +168,16 @@ func (p PackageSpec) String() string {
b.WriteString(", PluginDownloadURL: ")
b.WriteString(p.PluginDownloadURL)
}
+
+ if len(p.Extensions) != 0 {
+ b.WriteString(", Extension: ")
+ for i, extension := range p.Extensions {
+ b.WriteString(extension)
+ if i != len(p.Extensions)-1 {
+ b.WriteRune(' ')
+ }
+ }
+ }
b.WriteString(" }")
return b.String()
@@ -176,10 +189,12 @@ type packageSpecMarshalled struct {
Parameters []string `json:"parameters,omitzero" yaml:"parameters,omitempty"`
Checksums map[string][]byte `json:"checksums,omitzero" yaml:"checksums,omitempty"`
PluginDownloadURL string `json:"pluginDownloadURL,omitzero" yaml:"pluginDownloadURL,omitempty"`
+ Extensions []string `json:"extensions,omitzero" yaml:"extensions,omitempty"`
}
func marshalPackageSpec[T any](ps PackageSpec, from func(any) (T, error)) (T, error) {
- if len(ps.Parameters) == 0 && len(ps.Checksums) == 0 && ps.PluginDownloadURL == "" && !ps.unmarshalledFromFull {
+ if len(ps.Parameters) == 0 && len(ps.Checksums) == 0 && ps.PluginDownloadURL == "" &&
+ len(ps.Extensions) == 0 && !ps.unmarshalledFromFull {
name := ps.Source
if ps.Version != "" {
name += "@" + ps.Version
@@ -192,6 +207,7 @@ func marshalPackageSpec[T any](ps PackageSpec, from func(any) (T, error)) (T, er
Parameters: ps.Parameters,
Checksums: ps.Checksums,
PluginDownloadURL: ps.PluginDownloadURL,
+ Extensions: ps.Extensions,
})
}
@@ -221,6 +237,7 @@ func (ps *PackageSpec) unmarshal(from func(any) error) error {
Parameters: full.Parameters,
Checksums: full.Checksums,
PluginDownloadURL: full.PluginDownloadURL,
+ Extensions: full.Extensions,
unmarshalledFromFull: true,
}
return nil
@@ -1392,8 +1409,6 @@ func (proj *Project) AddConfigStackTags(tags map[string]string) {
logging.Warningf("overwriting non-object `%s` project config", "pulumi:tags")
tagMap = map[string]string{}
}
- for k, v := range tags {
- tagMap[k] = v
- }
+ maps.Copy(tagMap, tags)
proj.Config["pulumi:tags"] = configTags
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/project.json b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/project.json
index 133c36304..71846eef6 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/project.json
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/project.json
@@ -299,6 +299,13 @@
"additionalProperties": {
"type": "string"
}
+ },
+ "extensions":{
+ "type":"array",
+ "items":{
+ "type":"string"
+ },
+ "description":"For an extension package, the parameters that extend the base provider"
}
}
},
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/templates.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/templates.go
deleted file mode 100644
index b07dcdda1..000000000
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/templates.go
+++ /dev/null
@@ -1,958 +0,0 @@
-// Copyright 2016, Pulumi Corporation.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-package workspace
-
-import (
- "context"
- "errors"
- "fmt"
- "io/fs"
- "os"
- "path/filepath"
- "runtime"
- "strings"
-
- "github.com/go-git/go-git/v6"
- "github.com/go-git/go-git/v6/plumbing"
- "github.com/texttheater/golang-levenshtein/levenshtein"
- "gopkg.in/yaml.v3"
-
- "github.com/pulumi/pulumi/sdk/v3/go/common/env"
- "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract"
- "github.com/pulumi/pulumi/sdk/v3/go/common/util/gitutil"
- "github.com/pulumi/pulumi/sdk/v3/go/common/util/logging"
-)
-
-const (
- // This file will be ignored when copying from the template cache to
- // a project directory.
- legacyPulumiTemplateManifestFile = ".pulumi.template.yaml"
-)
-
-// These are variables instead of constants in order that they can be set using the `-X`
-// `ldflag` at build time, if necessary.
-var (
- // The Git URL for Pulumi program templates
- pulumiTemplateGitRepository = "https://github.com/pulumi/templates.git"
- // The branch name for the template repository
- pulumiTemplateBranch = "master"
- // The Git URL for Pulumi Policy Pack templates
- pulumiPolicyTemplateGitRepository = "https://github.com/pulumi/templates-policy.git"
- // The branch name for the policy pack template repository
- pulumiPolicyTemplateBranch = "master"
- // The Git URL for Pulumi package templates.
- pulumiPackageTemplateGitRepository = "https://github.com/pulumi/templates-packages.git"
- // The branch name for the package template repository
- pulumiPackageTemplateBranch = "main"
-)
-
-// getTemplateGitRepository returns the Git URL for the template repository.
-// It checks the environment variable first, then falls back to the compile-time default.
-func getTemplateGitRepository(templateKind TemplateKind) string {
- switch templateKind {
- case TemplateKindPolicyPack:
- if repo := env.PolicyTemplateGitRepository.Value(); repo != "" {
- logging.V(5).Infof("Using custom policy template repository from %s: %s",
- env.PolicyTemplateGitRepository.Var().Name(), repo)
- return repo
- }
- return pulumiPolicyTemplateGitRepository
- case TemplateKindPackage:
- if repo := env.PackageTemplateGitRepository.Value(); repo != "" {
- logging.V(5).Infof("Using custom package template repository from %s: %s",
- env.PackageTemplateGitRepository.Var().Name(), repo)
- return repo
- }
- return pulumiPackageTemplateGitRepository
- case TemplateKindPulumiProject:
- if repo := env.TemplateGitRepository.Value(); repo != "" {
- logging.V(5).Infof("Using custom template repository from %s: %s",
- env.TemplateGitRepository.Var().Name(), repo)
- return repo
- }
- return pulumiTemplateGitRepository
- }
- contract.Failf("unhandled TemplateKind: %v", templateKind)
- return ""
-}
-
-// getTemplateBranch returns the branch name for the template repository.
-// It checks the environment variable first, then falls back to the compile-time default.
-func getTemplateBranch(templateKind TemplateKind) string {
- switch templateKind {
- case TemplateKindPolicyPack:
- if branch := env.PolicyTemplateBranch.Value(); branch != "" {
- logging.V(5).Infof("Using custom policy template branch from %s: %s",
- env.PolicyTemplateBranch.Var().Name(), branch)
- return branch
- }
- return pulumiPolicyTemplateBranch
- case TemplateKindPackage:
- if branch := env.PackageTemplateBranch.Value(); branch != "" {
- logging.V(5).Infof("Using custom package template branch from %s: %s",
- env.PackageTemplateBranch.Var().Name(), branch)
- return branch
- }
- return pulumiPackageTemplateBranch
- case TemplateKindPulumiProject:
- if branch := env.TemplateBranch.Value(); branch != "" {
- logging.V(5).Infof("Using custom template branch from %s: %s",
- env.TemplateBranch.Var().Name(), branch)
- return branch
- }
- return pulumiTemplateBranch
- }
- contract.Failf("unhandled TemplateKind: %v", templateKind)
- return ""
-}
-
-// TemplateKind describes the form of a template.
-type TemplateKind int
-
-const (
- // TemplateKindPulumiProject is a template for a Pulumi stack.
- TemplateKindPulumiProject TemplateKind = 0
-
- // TemplateKindPolicyPack is a template for a Policy Pack.
- TemplateKindPolicyPack TemplateKind = 1
-
- // TemplateKindPackage is a template for a Pulumi package
- // (a directory containing PulumiPlugin.yaml).
- TemplateKindPackage TemplateKind = 2
-)
-
-// TemplateRepository represents a repository of templates.
-type TemplateRepository struct {
- Root string // The full path to the root directory of the repository.
- SubDirectory string // The full path to the sub directory within the repository.
- ShouldDelete bool // Whether the root directory should be deleted.
-}
-
-// Delete deletes the template repository.
-func (repo TemplateRepository) Delete() error {
- if repo.ShouldDelete {
- return os.RemoveAll(repo.Root)
- }
- return nil
-}
-
-// Templates lists the templates in the repository.
-func (repo TemplateRepository) Templates() ([]Template, error) {
- path := repo.SubDirectory
-
- info, err := os.Stat(path)
- if err != nil {
- return nil, err
- }
-
- // If it's a file, look in its directory.
- if !info.IsDir() {
- path = filepath.Dir(path)
- }
-
- // See if there's a Pulumi.yaml in the directory.
- template, err := LoadTemplate(path)
- if err != nil && !errors.Is(err, fs.ErrNotExist) {
- return nil, err
- } else if err == nil {
- return []Template{template}, nil
- }
-
- // Otherwise, read all subdirectories to find the ones
- // that contain a Pulumi.yaml.
- infos, err := os.ReadDir(path)
- if err != nil {
- return nil, err
- }
-
- var result []Template
- for _, info := range infos {
- if info.IsDir() {
- name := info.Name()
-
- // Ignore the .git directory.
- if name == GitDir {
- continue
- }
-
- template, err := LoadTemplate(filepath.Join(path, name))
- if err != nil && !errors.Is(err, fs.ErrNotExist) {
- logging.V(2).Infof(
- "Failed to load template %s: %s",
- name, err,
- )
- result = append(result, Template{Name: name, Error: err})
- } else if err == nil {
- result = append(result, template)
- }
- }
- }
- return result, nil
-}
-
-// PolicyTemplates lists the policy templates in the repository.
-func (repo TemplateRepository) PolicyTemplates() ([]PolicyPackTemplate, error) {
- path := repo.SubDirectory
-
- info, err := os.Stat(path)
- if err != nil {
- return nil, err
- }
-
- // If it's a file, look in its directory.
- if !info.IsDir() {
- path = filepath.Dir(path)
- }
-
- // See if there's a PulumiPolicy.yaml in the directory.
- template, err := LoadPolicyPackTemplate(path)
- if err != nil && !errors.Is(err, fs.ErrNotExist) {
- return nil, err
- } else if err == nil {
- return []PolicyPackTemplate{template}, nil
- }
-
- // Otherwise, read all subdirectories to find the ones
- // that contain a PulumiPolicy.yaml.
- infos, err := os.ReadDir(path)
- if err != nil {
- return nil, err
- }
-
- var result []PolicyPackTemplate
- for _, info := range infos {
- if info.IsDir() {
- name := info.Name()
-
- // Ignore the .git directory.
- if name == GitDir {
- continue
- }
-
- template, err := LoadPolicyPackTemplate(filepath.Join(path, name))
- if err != nil && !errors.Is(err, fs.ErrNotExist) {
- logging.V(2).Infof(
- "Failed to load template %s: %s",
- name, err,
- )
- result = append(result, PolicyPackTemplate{Name: name, Error: err})
- } else if err == nil {
- result = append(result, template)
- }
- }
- }
- return result, nil
-}
-
-// PackageTemplates lists the package templates in the repository.
-func (repo TemplateRepository) PackageTemplates() ([]PackageTemplate, error) {
- path := repo.SubDirectory
-
- info, err := os.Stat(path)
- if err != nil {
- return nil, err
- }
-
- if !info.IsDir() {
- path = filepath.Dir(path)
- }
-
- template, err := LoadPackageTemplate(path)
- if err != nil && !errors.Is(err, fs.ErrNotExist) {
- return nil, err
- } else if err == nil {
- return []PackageTemplate{template}, nil
- }
-
- infos, err := os.ReadDir(path)
- if err != nil {
- return nil, err
- }
-
- var result []PackageTemplate
- for _, info := range infos {
- if info.IsDir() {
- name := info.Name()
-
- if name == GitDir {
- continue
- }
-
- template, err := LoadPackageTemplate(filepath.Join(path, name))
- if err != nil && !errors.Is(err, fs.ErrNotExist) {
- logging.V(2).Infof(
- "Failed to load template %s: %s",
- name, err,
- )
- result = append(result, PackageTemplate{Name: name, Error: err})
- } else if err == nil {
- result = append(result, template)
- }
- }
- }
- return result, nil
-}
-
-// Template represents a project template.
-type Template struct {
- Dir string // The directory containing Pulumi.yaml.
- Name string // The name of the template.
- Description string // Description of the template.
- Quickstart string // Optional text to be displayed after template creation.
- Config map[string]ProjectTemplateConfigValue // Optional template config.
- Error error // Non-nil if the template is broken.
-
- ProjectName string // Name of the project.
- ProjectDescription string // Optional description of the project.
-}
-
-// Errored returns if the template has an error
-func (t Template) Errored() bool {
- return t.Error != nil
-}
-
-// PolicyPackTemplate represents a Policy Pack template.
-type PolicyPackTemplate struct {
- Dir string // The directory containing PulumiPolicy.yaml.
- Name string // The name of the template.
- Description string // Description of the template.
- Error error // Non-nil if the template is broken.
-}
-
-// Errored returns if the template has an error
-func (t PolicyPackTemplate) Errored() bool {
- return t.Error != nil
-}
-
-// PackageTemplate represents a Pulumi package template.
-type PackageTemplate struct {
- Dir string // The directory containing PulumiPlugin.yaml.
- Name string // The name of the template.
- Description string // Description of the template.
- Quickstart string // Optional text to be displayed after template creation.
- Error error // Non-nil if the template is broken.
-}
-
-// Errored returns if the template has an error
-func (t PackageTemplate) Errored() bool {
- return t.Error != nil
-}
-
-// cleanupLegacyTemplateDir deletes an existing ~/.pulumi/templates directory if it isn't a git repository.
-func cleanupLegacyTemplateDir(templateKind TemplateKind) error {
- templateDir, err := GetTemplateDir(templateKind)
- if err != nil {
- return err
- }
-
- // See if the template directory is a Git repository.
- repo, err := git.PlainOpen(templateDir)
- if err != nil {
- // If the repository doesn't exist, it's a legacy directory.
- // Delete the entire template directory and all children.
- if err == git.ErrRepositoryNotExists {
- return os.RemoveAll(templateDir)
- }
-
- return err
- }
-
- // The template directory is a Git repository. We want to make sure that it has the same remote as the one that
- // we want to pull from. If it doesn't have the same remote, we'll delete it, so that the clone later succeeds.
- // Select the appropriate remote
- url := getTemplateGitRepository(templateKind)
- remotes, err := repo.Remotes()
- if err != nil {
- return fmt.Errorf("getting template repo remotes: %w", err)
- }
- // If the repo exists and it doesn't have exactly one remote that matches our URL, wipe the templates directory.
- if len(remotes) != 1 || remotes[0] == nil || !strings.Contains(remotes[0].String(), url) {
- return os.RemoveAll(templateDir)
- }
-
- return nil
-}
-
-// IsGitRepoTemplateURL returns true if templateNamePathOrURL is a git repository URL (https:// or ssh://).
-func IsGitRepoTemplateURL(templateNamePathOrURL string) bool {
- // Normalize the provided URL so we can check its scheme. This will
- // correctly return false in the case where the URL doesn't parse cleanly.
- url, _, _ := gitutil.ParseGitRepoURL(templateNamePathOrURL)
- return strings.HasPrefix(url, "https://") || strings.HasPrefix(url, "ssh://")
-}
-
-// isTemplateFileOrDirectory returns true if templateNamePathOrURL is the name of a valid file or directory.
-func isTemplateFileOrDirectory(templateNamePathOrURL string) bool {
- _, err := os.Stat(templateNamePathOrURL)
- return err == nil
-}
-
-// RetrieveTemplates retrieves a "template repository" based on the specified name, path, or URL.
-func RetrieveTemplates(ctx context.Context, templateNamePathOrURL string, offline bool,
- templateKind TemplateKind,
-) (TemplateRepository, error) {
- if isZIPTemplateURL(templateNamePathOrURL) {
- return RetrieveZIPTemplates(templateNamePathOrURL)
- }
- if IsGitRepoTemplateURL(templateNamePathOrURL) {
- return retrieveURLTemplates(ctx, templateNamePathOrURL, offline)
- }
- if isTemplateFileOrDirectory(templateNamePathOrURL) {
- return retrieveFileTemplates(templateNamePathOrURL)
- }
-
- // We now assume that templateNamePathOrURL is a template name that points to the
- // global templates set.
-
- pulumiTemplates, err := retrievePulumiTemplates(ctx, offline, templateKind)
- if err != nil {
- return TemplateRepository{}, err
- }
-
- if templateNamePathOrURL != "" {
- return findSpecificTemplate(pulumiTemplates, templateNamePathOrURL)
- }
-
- return pulumiTemplates, nil
-}
-
-// retrieveURLTemplates retrieves the "template repository" at the specified URL.
-func retrieveURLTemplates(
- ctx context.Context, rawurl string, offline bool,
-) (TemplateRepository, error) {
- if offline {
- return TemplateRepository{}, fmt.Errorf("cannot use %s offline", rawurl)
- }
-
- temp, err := os.MkdirTemp("", "pulumi-template-")
- if err != nil {
- return TemplateRepository{}, err
- }
-
- var fullPath string
- if fullPath, err = RetrieveGitFolder(ctx, rawurl, temp); err != nil {
- return TemplateRepository{}, fmt.Errorf("failed to retrieve git folder: %w", err)
- }
-
- return TemplateRepository{
- Root: temp,
- SubDirectory: fullPath,
- ShouldDelete: true,
- }, nil
-}
-
-// retrieveFileTemplates points to the "template repository" at the specified location in the file system.
-func retrieveFileTemplates(path string) (TemplateRepository, error) {
- return TemplateRepository{
- Root: path,
- SubDirectory: path,
- ShouldDelete: false,
- }, nil
-}
-
-// retrievePulumiTemplates retrieves the "template repository" for Pulumi templates.
-// Instead of retrieving to a temporary directory, the Pulumi templates are managed from
-// ~/.pulumi/templates.
-func retrievePulumiTemplates(
- ctx context.Context, offline bool, templateKind TemplateKind,
-) (TemplateRepository, error) {
- // Cleanup the template directory.
- if err := cleanupLegacyTemplateDir(templateKind); err != nil {
- return TemplateRepository{}, err
- }
-
- // Get the template directory.
- templateDir, err := GetTemplateDir(templateKind)
- if err != nil {
- return TemplateRepository{}, err
- }
-
- // Ensure the template directory exists.
- if err := os.MkdirAll(templateDir, 0o700); err != nil {
- return TemplateRepository{}, err
- }
-
- if !offline {
- // Clone or update the pulumi/templates repo.
- repo := getTemplateGitRepository(templateKind)
- branch := plumbing.NewBranchReferenceName(getTemplateBranch(templateKind))
- err := gitutil.GitCloneOrPull(ctx, repo, branch, templateDir, false /*shallow*/)
- if err != nil {
- return TemplateRepository{}, fmt.Errorf("cloning templates repo: %w", err)
- }
- }
-
- return TemplateRepository{
- Root: templateDir,
- SubDirectory: templateDir,
- ShouldDelete: false,
- }, nil
-}
-
-func findSpecificTemplate(repo TemplateRepository, name string) (TemplateRepository, error) {
- subDir := filepath.Join(repo.Root, name)
-
- // Provide a nicer error message when the template can't be found (dir doesn't exist).
- _, err := os.Stat(subDir)
- if err != nil {
- if errors.Is(err, fs.ErrNotExist) {
- return TemplateRepository{}, newTemplateNotFoundError(repo.Root, name)
- }
- contract.IgnoreError(err)
- }
-
- repo.SubDirectory = subDir
- return repo, nil
-}
-
-// RetrieveGitFolder downloads the repo to path and returns the full path on disk.
-func RetrieveGitFolder(ctx context.Context, rawurl string, path string) (string, error) {
- url, urlPath, err := gitutil.ParseGitRepoURL(rawurl)
- if err != nil {
- return "", err
- }
-
- ref, commit, subDirectory, err := gitutil.GetGitReferenceNameOrHashAndSubDirectory(url, urlPath)
- if err != nil {
- return "", fmt.Errorf("failed to get git ref: %w", err)
- }
- logging.V(10).Infof(
- "Attempting to fetch from %s at commit %s@%s for subdirectory '%s'",
- url, ref, commit, subDirectory)
-
- if ref != "" {
- // Different reference attempts to cycle through
- // We default to master then main in that order. We need to order them to avoid breaking
- // already existing processes for repos that already have a master and main branch.
- refAttempts := []plumbing.ReferenceName{plumbing.Master, plumbing.NewBranchReferenceName("main")}
-
- if ref != plumbing.HEAD {
- // If we have a non-default reference, we just use it
- refAttempts = []plumbing.ReferenceName{ref}
- }
-
- var cloneErrs []error
- for _, ref := range refAttempts {
- // Attempt the clone. If it succeeds, break
- err := gitutil.GitCloneOrPull(ctx, url, ref, path, true /*shallow*/)
- if err == nil {
- break
- }
- logging.V(10).Infof("Failed to clone %s@%s: %v", url, ref, err)
- cloneErrs = append(cloneErrs, fmt.Errorf("ref '%s': %w", ref, err))
- }
- if len(cloneErrs) == len(refAttempts) {
- return "", fmt.Errorf("failed to clone %s: %w", rawurl, errors.Join(cloneErrs...))
- }
- } else {
- if cloneErr := gitutil.GitCloneAndCheckoutCommit(ctx, url, commit, path); cloneErr != nil {
- logging.V(10).Infof("Failed to clone %s@%s: %v", url, commit, err)
- return "", fmt.Errorf("failed to clone and checkout %s(%s): %w", url, commit, cloneErr)
- }
- }
-
- // Verify the sub directory exists.
- fullPath := filepath.Join(path, filepath.FromSlash(subDirectory))
- logging.V(10).Infof("Cloned %s at commit %s@%s to %s", url, ref, commit, fullPath)
- info, err := os.Stat(fullPath)
- if err != nil {
- logging.V(10).Infof("Failed to stat %s after cloning %s: %v", fullPath, url, err)
- return "", err
- }
- if !info.IsDir() {
- logging.V(10).Infof("%s was not a directory after cloning %s: %v", fullPath, url, err)
- return "", fmt.Errorf("%s is not a directory", fullPath)
- }
-
- return fullPath, nil
-}
-
-// LoadTemplate returns a template from a path.
-func LoadTemplate(path string) (Template, error) {
- info, err := os.Stat(path)
- if err != nil {
- return Template{}, err
- }
- if !info.IsDir() {
- return Template{}, fmt.Errorf("%s is not a directory", path)
- }
-
- // TODO handle other extensions like Pulumi.yml and Pulumi.json?
- proj, err := LoadProject(filepath.Join(path, "Pulumi.yaml"))
- if err != nil {
- return Template{}, err
- }
-
- template := Template{
- Dir: path,
- Name: filepath.Base(path),
-
- ProjectName: proj.Name.String(),
- }
- if proj.Template != nil {
- template.Description = proj.Template.Description
- template.Quickstart = proj.Template.Quickstart
- template.Config = proj.Template.Config
- }
- if proj.Description != nil {
- template.ProjectDescription = *proj.Description
- }
-
- return template, nil
-}
-
-// CopyTemplateFilesDryRun does a dry run of copying a template to a destination directory,
-// to ensure it won't overwrite any files.
-func CopyTemplateFilesDryRun(sourceDir, destDir, projectName string) error {
- var existing []string
- if err := walkFiles(sourceDir, destDir, projectName,
- func(entry os.DirEntry, source string, dest string) error {
- if destInfo, statErr := os.Stat(dest); statErr == nil && !destInfo.IsDir() {
- existing = append(existing, filepath.Base(dest))
- }
- return nil
- }); err != nil {
- return err
- }
-
- if len(existing) > 0 {
- return newExistingFilesError(existing)
- }
- return nil
-}
-
-func toYAMLString(value string) (string, error) {
- byts, err := yaml.Marshal(value)
- if err != nil {
- return "", err
- }
- return string(byts), nil
-}
-
-// CopyTemplateFiles does the actual copy operation to a destination directory.
-func CopyTemplateFiles(
- sourceDir, destDir string, force bool, projectName string, projectDescription string,
-) error {
- // Needed for stringifying numeric user-provided project names.
- yamlName, err := toYAMLString(projectName)
- if err != nil {
- return err
- }
-
- // Needed for escaping special characters in user-provided descriptions.
- yamlDescription, err := toYAMLString(projectDescription)
- if err != nil {
- return err
- }
-
- return walkFiles(sourceDir, destDir, projectName,
- func(entry os.DirEntry, source string, dest string) error {
- if entry.IsDir() {
- // Create the destination directory.
- if force {
- info, _ := os.Stat(dest)
- if info != nil && !info.IsDir() {
- os.Remove(dest)
- }
- // MkdirAll will not error out if dest is a directory that already exists
- return os.MkdirAll(dest, 0o700)
- }
- return os.Mkdir(dest, 0o700)
- }
-
- // Read the source file.
- b, err := os.ReadFile(source)
- if err != nil {
- return err
- }
-
- // Transform only if it isn't a binary file.
- result := b
- if !isBinary(b) {
- name, description := projectName, projectDescription
- if strings.HasSuffix(source, ".yaml") {
- // Use the sanitized project name and description for the Pulumi.yaml file.
- name = yamlName
- description = yamlDescription
- }
- transformed := transform(string(b), name, description)
- result = []byte(transformed)
- }
-
- // Originally we just wrote in 0600 mode, but
- // this does not preserve the executable bit.
- // With the new logic below, we try to be at
- // least as permissive as 0600 and whatever
- // permissions the source file or symlink had.
- var mode os.FileMode
- sourceStat, err := os.Lstat(source)
- if err != nil {
- return err
- }
- mode = sourceStat.Mode().Perm() | 0o600
-
- // Write to the destination file.
- err = writeAllBytes(dest, result, force, mode)
- if err != nil {
- // An existing file has shown up in between the dry run and the actual copy operation.
- if os.IsExist(err) {
- return newExistingFilesError([]string{filepath.Base(dest)})
- }
- }
- return err
- })
-}
-
-// LoadPolicyPackTemplate returns a Policy Pack template from a path.
-func LoadPolicyPackTemplate(path string) (PolicyPackTemplate, error) {
- info, err := os.Stat(path)
- if err != nil {
- return PolicyPackTemplate{}, err
- }
- if !info.IsDir() {
- return PolicyPackTemplate{}, fmt.Errorf("%s is not a directory", path)
- }
-
- pack, err := LoadPolicyPack(filepath.Join(path, "PulumiPolicy.yaml"))
- if err != nil {
- return PolicyPackTemplate{}, err
- }
- policyPackTemplate := PolicyPackTemplate{
- Dir: path,
- Name: filepath.Base(path),
- }
- if pack.Description != nil {
- policyPackTemplate.Description = *pack.Description
- }
-
- return policyPackTemplate, nil
-}
-
-// LoadPackageTemplate returns a package template from a path.
-func LoadPackageTemplate(path string) (PackageTemplate, error) {
- info, err := os.Stat(path)
- if err != nil {
- return PackageTemplate{}, err
- }
- if !info.IsDir() {
- return PackageTemplate{}, fmt.Errorf("%s is not a directory", path)
- }
-
- plugin, err := LoadPluginProject(filepath.Join(path, "PulumiPlugin.yaml"))
- if err != nil {
- return PackageTemplate{}, err
- }
- template := PackageTemplate{
- Dir: path,
- Name: filepath.Base(path),
- }
- if plugin.Template != nil {
- template.Description = plugin.Template.Description
- template.Quickstart = plugin.Template.Quickstart
- }
-
- return template, nil
-}
-
-// GetTemplateDir returns the directory in which templates on the current machine are stored.
-func GetTemplateDir(templateKind TemplateKind) (string, error) {
- var override, classicDir string
- switch templateKind {
- case TemplateKindPolicyPack:
- override = env.PolicyTemplatePath.Value()
- classicDir = TemplatePolicyDir
- case TemplateKindPackage:
- override = env.PackageTemplatePath.Value()
- classicDir = TemplatePackageDir
- case TemplateKindPulumiProject:
- override = env.TemplatePath.Value()
- classicDir = TemplateDir
- default:
- contract.Failf("unhandled TemplateKind: %v", templateKind)
- }
- if override != "" {
- return override, nil
- }
- return GetPulumiPath(classicDir)
-}
-
-// walkFiles is a helper that walks the directories/files in a source directory
-// and performs an action for each item.
-func walkFiles(sourceDir string, destDir string, projectName string,
- actionFn func(entry os.DirEntry, source string, dest string) error,
-) error {
- contract.Requiref(sourceDir != "", "sourceDir", "must not be empty")
- contract.Requiref(destDir != "", "destDir", "must not be empty")
- contract.Requiref(actionFn != nil, "actionFn", "must not be nil")
-
- entries, err := os.ReadDir(sourceDir)
- if err != nil {
- return err
- }
- for _, entry := range entries {
- name := entry.Name()
- source := filepath.Join(sourceDir, name)
- dest := filepath.Join(destDir, name)
-
- if entry.IsDir() {
- // Ignore the .git directory.
- if name == GitDir {
- continue
- }
-
- if err := actionFn(entry, source, dest); err != nil {
- return err
- }
-
- if err := walkFiles(source, dest, projectName, actionFn); err != nil {
- return err
- }
- } else {
- // Ignore the legacy template manifest.
- if name == legacyPulumiTemplateManifestFile {
- continue
- }
-
- // The file name may contain a placeholder for project name: replace it with the actual value.
- newDest := transform(dest, projectName, "")
-
- if err := actionFn(entry, source, newDest); err != nil {
- return err
- }
- }
- }
-
- return nil
-}
-
-// newExistingFilesError returns a new error from a list of existing file names
-// that would be overwritten.
-func newExistingFilesError(existing []string) error {
- contract.Assertf(len(existing) > 0, "called with no existing files")
- var message strings.Builder
- message.WriteString("creating this template will make changes to existing files:\n")
- for _, file := range existing {
- fmt.Fprintf(&message, " overwrite %s\n", file)
- }
- message.WriteString("\nrerun the command and pass --force to accept and create")
- return errors.New(message.String())
-}
-
-type TemplateNotFoundError struct {
- templateName string
- suggestions []string
-}
-
-func (err TemplateNotFoundError) Error() string {
- var message strings.Builder
- fmt.Fprintf(&message, "template '%s' not found", err.templateName)
- if len(err.suggestions) == 0 {
- return message.String()
- }
- // Build-up error message with suggestions.
- message.WriteString("\n\nDid you mean this?\n")
- for _, suggestion := range err.suggestions {
- fmt.Fprintf(&message, "\t%s\n", suggestion)
- }
-
- return message.String()
-}
-
-// newTemplateNotFoundError returns an error for when the template doesn't exist,
-// offering distance-based suggestions in the error message.
-func newTemplateNotFoundError(templateDir string, templateName string) TemplateNotFoundError {
- // Attempt to read the directory to offer suggestions.
- entries, err := os.ReadDir(templateDir)
- if err != nil {
- // We failed to build suggestions, so just return the error we have.
- return TemplateNotFoundError{
- templateName: templateName,
- }
- }
-
- // Get suggestions based on levenshtein distance.
- suggestions := []string{}
- const minDistance = 2
- op := levenshtein.DefaultOptions
- for _, entry := range entries {
- distance := levenshtein.DistanceForStrings([]rune(templateName), []rune(entry.Name()), op)
- if distance <= minDistance {
- suggestions = append(suggestions, entry.Name())
- }
- }
-
- return TemplateNotFoundError{templateName, suggestions}
-}
-
-// transform returns a new string with ${PROJECT} and ${DESCRIPTION} replaced by
-// the value of projectName and projectDescription.
-func transform(content string, projectName string, projectDescription string) string {
- // On Windows, we need to replace \n with \r\n because go-git does not currently handle it.
- if runtime.GOOS == "windows" {
- content = strings.ReplaceAll(content, "\n", "\r\n")
- }
- content = strings.ReplaceAll(content, "${PROJECT}", projectName)
- content = strings.ReplaceAll(content, "${DESCRIPTION}", projectDescription)
- return content
-}
-
-// writeAllBytes writes the bytes to the specified file, with an option to overwrite.
-func writeAllBytes(filename string, bytes []byte, overwrite bool, mode os.FileMode) error {
- flag := os.O_WRONLY | os.O_CREATE
- if overwrite {
- flag = flag | os.O_TRUNC
- } else {
- flag = flag | os.O_EXCL
- }
-
- if overwrite {
- info, _ := os.Stat(filename)
- if info != nil && info.IsDir() {
- err := os.RemoveAll(filename)
- if err != nil {
- return err
- }
- }
- }
-
- f, err := os.OpenFile(filename, flag, mode)
- if err != nil {
- return err
- }
- defer contract.IgnoreClose(f)
-
- _, err = f.Write(bytes)
- return err
-}
-
-// isBinary returns true if a zero byte occurs within the first
-// 8000 bytes (or the entire length if shorter). This is the
-// same approach that git uses to determine if a file is binary.
-func isBinary(bytes []byte) bool {
- const firstFewBytes = 8000
-
- length := len(bytes)
- if firstFewBytes < length {
- length = firstFewBytes
- }
-
- for i := 0; i < length; i++ {
- if bytes[i] == 0 {
- return true
- }
- }
-
- return false
-}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/templates_zip.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/templates_zip.go
deleted file mode 100644
index 412afe6dc..000000000
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/templates_zip.go
+++ /dev/null
@@ -1,239 +0,0 @@
-// Copyright 2016, Pulumi Corporation.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-package workspace
-
-import (
- "archive/zip"
- "bytes"
- "errors"
- "fmt"
- "io"
- "math"
- "net/http"
- "net/url"
- "os"
- "path/filepath"
- "strings"
- "time"
-)
-
-const RetryCount = 6
-
-var ErrPulumiCloudUnauthorized = errors.New("unauthorized")
-
-// Sanitize archive file pathing from "G305: Zip Slip vulnerability"
-func sanitizeArchivePath(d, t string) (v string, err error) {
- v = filepath.Join(d, t)
- if strings.HasPrefix(v, filepath.Clean(d)) {
- return v, nil
- }
-
- return "", fmt.Errorf("%s: %s", "content filepath is tainted", t)
-}
-
-func isZIPTemplateURL(templateNamePathOrURL string) bool {
- parsedURL, err := url.Parse(templateNamePathOrURL)
- if err != nil {
- return false
- }
- return parsedURL.Path != "" && strings.HasSuffix(parsedURL.Path, ".zip")
-}
-
-func isPulumiHostResponse(resp *http.Response) bool {
- return resp.Header.Get("X-Pulumi-Request-ID") != ""
-}
-
-func RetrieveZIPTemplates(templateURL string, opts ...RequestOption) (TemplateRepository, error) {
- var err error
- // Create a temp dir.
- var temp string
- if temp, err = os.MkdirTemp("", "pulumi-template-"); err != nil {
- return TemplateRepository{}, err
- }
-
- parsedURL, err := url.Parse(templateURL)
- if err != nil {
- return TemplateRepository{}, err
- }
-
- var fullPath string
- if fullPath, err = RetrieveZIPTemplateFolder(parsedURL, temp, opts...); err != nil {
- return TemplateRepository{}, fmt.Errorf("failed to retrieve zip archive: %w", err)
- }
-
- return TemplateRepository{
- Root: temp,
- SubDirectory: fullPath,
- ShouldDelete: true,
- }, nil
-}
-
-func backoff(retries int) time.Duration {
- return time.Duration(math.Pow(2, float64(retries))) * (time.Second / 4)
-}
-
-func shouldRetry(err error, resp *http.Response) bool {
- if err != nil {
- return true
- }
-
- if resp.StatusCode == http.StatusBadGateway ||
- resp.StatusCode == http.StatusServiceUnavailable ||
- resp.StatusCode == http.StatusGatewayTimeout ||
- resp.StatusCode == http.StatusNotFound {
- return true
- }
- return false
-}
-
-func drainBody(resp *http.Response) {
- if resp == nil {
- return
- }
- if resp.Body != nil {
- _, err := io.Copy(io.Discard, resp.Body)
- if err != nil {
- return
- }
- resp.Body.Close()
- }
-}
-
-type retryableTransport struct {
- transport http.RoundTripper
-}
-
-func (t *retryableTransport) RoundTrip(req *http.Request) (*http.Response, error) {
- // Clone the request body
- var bodyBytes []byte
- if req.Body != nil {
- bodyBytes, _ = io.ReadAll(req.Body)
- req.Body = io.NopCloser(bytes.NewBuffer(bodyBytes))
- }
- // Send the request
- resp, err := t.transport.RoundTrip(req)
- // Retry logic
- retries := 0
- for shouldRetry(err, resp) && retries < RetryCount {
- // Wait for the specified backoff period
- time.Sleep(backoff(retries))
- // We're going to retry, consume any response to reuse the connection.
- drainBody(resp)
- // Clone the request body again
- if req.Body != nil {
- req.Body = io.NopCloser(bytes.NewBuffer(bodyBytes))
- }
- // Retry the request
- resp, err = t.transport.RoundTrip(req)
- retries++
- }
- // Return the response
- return resp, err
-}
-
-func NewRetryableClient() *http.Client {
- transport := &retryableTransport{
- transport: &http.Transport{},
- }
-
- return &http.Client{
- Transport: transport,
- }
-}
-
-// RequestOption is a function that modifies an http.Request.
-type RequestOption func(*http.Request)
-
-func RetrieveZIPTemplateFolder(templateURL *url.URL, tempDir string, opts ...RequestOption) (string, error) {
- if templateURL.Scheme == "" {
- return "", fmt.Errorf("invalid template URL: %s", templateURL.String())
- }
- client := NewRetryableClient()
- packageRequest, err := http.NewRequest(http.MethodGet, templateURL.String(), bytes.NewReader([]byte{}))
- if err != nil {
- return "", err
- }
- packageRequest.Header.Set("Accept", "application/zip")
-
- for _, opt := range opts {
- opt(packageRequest)
- }
-
- packageResponse, err := client.Do(packageRequest)
- if err != nil {
- return "", err
- }
- defer packageResponse.Body.Close()
- if packageResponse.StatusCode == http.StatusUnauthorized && isPulumiHostResponse(packageResponse) {
- return "", fmt.Errorf("failed to download template from pulumi host: %w", ErrPulumiCloudUnauthorized)
- }
- packageResponseBody, err := io.ReadAll(packageResponse.Body)
- if err != nil {
- return "", err
- }
- if packageResponse.StatusCode != http.StatusOK {
- return "", fmt.Errorf("failed to download template: %s\n%s", packageResponse.Status, string(packageResponseBody))
- }
- archive, err := zip.NewReader(bytes.NewReader(packageResponseBody), int64(len(packageResponseBody)))
- if err != nil {
- return "", err
- }
-
- hasPulumiYAML := false
- for _, file := range archive.File {
- if !file.FileInfo().IsDir() && file.FileInfo().Name() == "Pulumi.yaml" {
- hasPulumiYAML = true
- break
- }
- }
- if !hasPulumiYAML {
- return "", errors.New("template does not contain a Pulumi.yaml file")
- }
-
- for _, file := range archive.File {
- if err := extractZipFile(file, tempDir); err != nil {
- return "", err
- }
- }
- return tempDir, nil
-}
-
-// extractZipFile extracts a single file from a zip archive into tempDir.
-// It is factored out of the loop so that defer runs per file rather than
-// accumulating open file descriptors until the calling function returns.
-func extractZipFile(file *zip.File, tempDir string) error {
- filePath, err := sanitizeArchivePath(tempDir, file.Name)
- if err != nil {
- return err
- }
- if file.FileHeader.FileInfo().IsDir() {
- return os.MkdirAll(filePath, 0o777)
- }
-
- fileReader, err := file.Open()
- if err != nil {
- return err
- }
- defer fileReader.Close()
-
- destinationFile, err := os.Create(filePath)
- if err != nil {
- return err
- }
- defer destinationFile.Close()
-
- _, err = io.Copy(destinationFile, fileReader) // #nosec G110
- return err
-}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/rpc.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/rpc.go
index 88c67cc4c..3fae4da78 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/rpc.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/rpc.go
@@ -44,7 +44,7 @@ func MapStructTypes(from, to reflect.Type) func(reflect.Value, int) (reflect.Str
nameToIndex := map[string]int{}
numFields := to.NumField()
- for i := 0; i < numFields; i++ {
+ for i := range numFields {
nameToIndex[to.Field(i).Name] = i
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/LICENSE b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/LICENSE
new file mode 100644
index 000000000..dee3257b0
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/LICENSE
@@ -0,0 +1,27 @@
+Copyright (c) 2013 Ato Araki. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+ * Neither the name of @atotto. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/clipboard.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/clipboard.go
new file mode 100644
index 000000000..6c59b03d5
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/clipboard.go
@@ -0,0 +1,31 @@
+// Copyright 2013 @atotto. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// Package clipboard read/write on clipboard
+//
+// Vendored unmodified from github.com/tgummerer/clipboard@d02d263e614e
+// (BSD-3-Clause, see LICENSE in this directory), a fork of
+// github.com/atotto/clipboard@v0.1.4 whose only change is loading user32.dll
+// lazily on Windows instead of in package init. atotto/clipboard's init-time
+// load crashes the whole process when user32.dll cannot be loaded (e.g. under
+// desktop heap exhaustion), and since it runs at init there is no error path.
+// The fork cannot be required directly because its go.mod still declares the
+// atotto module path, and a replace directive would not propagate to
+// downstream modules that build against this SDK. See
+// https://github.com/pulumi/pulumi/issues/19342.
+package clipboard
+
+// ReadAll read string from clipboard
+func ReadAll() (string, error) {
+ return readAll()
+}
+
+// WriteAll write string to clipboard
+func WriteAll(text string) error {
+ return writeAll(text)
+}
+
+// Unsupported might be set true during clipboard init, to help callers decide
+// whether or not to offer clipboard options.
+var Unsupported bool
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/clipboard_darwin.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/clipboard_darwin.go
new file mode 100644
index 000000000..6f33078db
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/clipboard_darwin.go
@@ -0,0 +1,52 @@
+// Copyright 2013 @atotto. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build darwin
+
+package clipboard
+
+import (
+ "os/exec"
+)
+
+var (
+ pasteCmdArgs = "pbpaste"
+ copyCmdArgs = "pbcopy"
+)
+
+func getPasteCommand() *exec.Cmd {
+ return exec.Command(pasteCmdArgs)
+}
+
+func getCopyCommand() *exec.Cmd {
+ return exec.Command(copyCmdArgs)
+}
+
+func readAll() (string, error) {
+ pasteCmd := getPasteCommand()
+ out, err := pasteCmd.Output()
+ if err != nil {
+ return "", err
+ }
+ return string(out), nil
+}
+
+func writeAll(text string) error {
+ copyCmd := getCopyCommand()
+ in, err := copyCmd.StdinPipe()
+ if err != nil {
+ return err
+ }
+
+ if err := copyCmd.Start(); err != nil {
+ return err
+ }
+ if _, err := in.Write([]byte(text)); err != nil {
+ return err
+ }
+ if err := in.Close(); err != nil {
+ return err
+ }
+ return copyCmd.Wait()
+}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/clipboard_plan9.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/clipboard_plan9.go
new file mode 100644
index 000000000..9d2fef4ef
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/clipboard_plan9.go
@@ -0,0 +1,42 @@
+// Copyright 2013 @atotto. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build plan9
+
+package clipboard
+
+import (
+ "os"
+ "io/ioutil"
+)
+
+func readAll() (string, error) {
+ f, err := os.Open("/dev/snarf")
+ if err != nil {
+ return "", err
+ }
+ defer f.Close()
+
+ str, err := ioutil.ReadAll(f)
+ if err != nil {
+ return "", err
+ }
+
+ return string(str), nil
+}
+
+func writeAll(text string) error {
+ f, err := os.OpenFile("/dev/snarf", os.O_WRONLY, 0666)
+ if err != nil {
+ return err
+ }
+ defer f.Close()
+
+ _, err = f.Write([]byte(text))
+ if err != nil {
+ return err
+ }
+
+ return nil
+}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/clipboard_unix.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/clipboard_unix.go
new file mode 100644
index 000000000..d9f6a5610
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/clipboard_unix.go
@@ -0,0 +1,149 @@
+// Copyright 2013 @atotto. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build freebsd linux netbsd openbsd solaris dragonfly
+
+package clipboard
+
+import (
+ "errors"
+ "os"
+ "os/exec"
+)
+
+const (
+ xsel = "xsel"
+ xclip = "xclip"
+ powershellExe = "powershell.exe"
+ clipExe = "clip.exe"
+ wlcopy = "wl-copy"
+ wlpaste = "wl-paste"
+ termuxClipboardGet = "termux-clipboard-get"
+ termuxClipboardSet = "termux-clipboard-set"
+)
+
+var (
+ Primary bool
+ trimDos bool
+
+ pasteCmdArgs []string
+ copyCmdArgs []string
+
+ xselPasteArgs = []string{xsel, "--output", "--clipboard"}
+ xselCopyArgs = []string{xsel, "--input", "--clipboard"}
+
+ xclipPasteArgs = []string{xclip, "-out", "-selection", "clipboard"}
+ xclipCopyArgs = []string{xclip, "-in", "-selection", "clipboard"}
+
+ powershellExePasteArgs = []string{powershellExe, "Get-Clipboard"}
+ clipExeCopyArgs = []string{clipExe}
+
+ wlpasteArgs = []string{wlpaste, "--no-newline"}
+ wlcopyArgs = []string{wlcopy}
+
+ termuxPasteArgs = []string{termuxClipboardGet}
+ termuxCopyArgs = []string{termuxClipboardSet}
+
+ missingCommands = errors.New("No clipboard utilities available. Please install xsel, xclip, wl-clipboard or Termux:API add-on for termux-clipboard-get/set.")
+)
+
+func init() {
+ if os.Getenv("WAYLAND_DISPLAY") != "" {
+ pasteCmdArgs = wlpasteArgs
+ copyCmdArgs = wlcopyArgs
+
+ if _, err := exec.LookPath(wlcopy); err == nil {
+ if _, err := exec.LookPath(wlpaste); err == nil {
+ return
+ }
+ }
+ }
+
+ pasteCmdArgs = xclipPasteArgs
+ copyCmdArgs = xclipCopyArgs
+
+ if _, err := exec.LookPath(xclip); err == nil {
+ return
+ }
+
+ pasteCmdArgs = xselPasteArgs
+ copyCmdArgs = xselCopyArgs
+
+ if _, err := exec.LookPath(xsel); err == nil {
+ return
+ }
+
+ pasteCmdArgs = termuxPasteArgs
+ copyCmdArgs = termuxCopyArgs
+
+ if _, err := exec.LookPath(termuxClipboardSet); err == nil {
+ if _, err := exec.LookPath(termuxClipboardGet); err == nil {
+ return
+ }
+ }
+
+ pasteCmdArgs = powershellExePasteArgs
+ copyCmdArgs = clipExeCopyArgs
+ trimDos = true
+
+ if _, err := exec.LookPath(clipExe); err == nil {
+ if _, err := exec.LookPath(powershellExe); err == nil {
+ return
+ }
+ }
+
+ Unsupported = true
+}
+
+func getPasteCommand() *exec.Cmd {
+ if Primary {
+ pasteCmdArgs = pasteCmdArgs[:1]
+ }
+ return exec.Command(pasteCmdArgs[0], pasteCmdArgs[1:]...)
+}
+
+func getCopyCommand() *exec.Cmd {
+ if Primary {
+ copyCmdArgs = copyCmdArgs[:1]
+ }
+ return exec.Command(copyCmdArgs[0], copyCmdArgs[1:]...)
+}
+
+func readAll() (string, error) {
+ if Unsupported {
+ return "", missingCommands
+ }
+ pasteCmd := getPasteCommand()
+ out, err := pasteCmd.Output()
+ if err != nil {
+ return "", err
+ }
+ result := string(out)
+ if trimDos && len(result) > 1 {
+ result = result[:len(result)-2]
+ }
+ return result, nil
+}
+
+func writeAll(text string) error {
+ if Unsupported {
+ return missingCommands
+ }
+ copyCmd := getCopyCommand()
+ in, err := copyCmd.StdinPipe()
+ if err != nil {
+ return err
+ }
+
+ if err := copyCmd.Start(); err != nil {
+ return err
+ }
+ if _, err := in.Write([]byte(text)); err != nil {
+ return err
+ }
+ if err := in.Close(); err != nil {
+ return err
+ }
+ return copyCmd.Wait()
+}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/clipboard_windows.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/clipboard_windows.go
new file mode 100644
index 000000000..77a11595d
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard/clipboard_windows.go
@@ -0,0 +1,159 @@
+// Copyright 2013 @atotto. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build windows
+
+package clipboard
+
+import (
+ "runtime"
+ "syscall"
+ "time"
+ "unsafe"
+
+ "golang.org/x/sys/windows"
+)
+
+const (
+ cfUnicodetext = 13
+ gmemMoveable = 0x0002
+)
+
+var (
+ user32 = windows.NewLazySystemDLL("user32.dll")
+ isClipboardFormatAvailable = user32.NewProc("IsClipboardFormatAvailable")
+ openClipboard = user32.NewProc("OpenClipboard")
+ closeClipboard = user32.NewProc("CloseClipboard")
+ emptyClipboard = user32.NewProc("EmptyClipboard")
+ getClipboardData = user32.NewProc("GetClipboardData")
+ setClipboardData = user32.NewProc("SetClipboardData")
+
+ kernel32 = windows.NewLazySystemDLL("kernel32")
+ globalAlloc = kernel32.NewProc("GlobalAlloc")
+ globalFree = kernel32.NewProc("GlobalFree")
+ globalLock = kernel32.NewProc("GlobalLock")
+ globalUnlock = kernel32.NewProc("GlobalUnlock")
+ lstrcpy = kernel32.NewProc("lstrcpyW")
+)
+
+// waitOpenClipboard opens the clipboard, waiting for up to a second to do so.
+func waitOpenClipboard() error {
+ started := time.Now()
+ limit := started.Add(time.Second)
+ var r uintptr
+ var err error
+ for time.Now().Before(limit) {
+ r, _, err = openClipboard.Call(0)
+ if r != 0 {
+ return nil
+ }
+ time.Sleep(time.Millisecond)
+ }
+ return err
+}
+
+func readAll() (string, error) {
+ // LockOSThread ensure that the whole method will keep executing on the same thread from begin to end (it actually locks the goroutine thread attribution).
+ // Otherwise if the goroutine switch thread during execution (which is a common practice), the OpenClipboard and CloseClipboard will happen on two different threads, and it will result in a clipboard deadlock.
+ runtime.LockOSThread()
+ defer runtime.UnlockOSThread()
+ if formatAvailable, _, err := isClipboardFormatAvailable.Call(cfUnicodetext); formatAvailable == 0 {
+ return "", err
+ }
+ err := waitOpenClipboard()
+ if err != nil {
+ return "", err
+ }
+
+ h, _, err := getClipboardData.Call(cfUnicodetext)
+ if h == 0 {
+ _, _, _ = closeClipboard.Call()
+ return "", err
+ }
+
+ l, _, err := globalLock.Call(h)
+ if l == 0 {
+ _, _, _ = closeClipboard.Call()
+ return "", err
+ }
+
+ text := syscall.UTF16ToString((*[1 << 20]uint16)(unsafe.Pointer(l))[:])
+
+ r, _, err := globalUnlock.Call(h)
+ if r == 0 {
+ _, _, _ = closeClipboard.Call()
+ return "", err
+ }
+
+ closed, _, err := closeClipboard.Call()
+ if closed == 0 {
+ return "", err
+ }
+ return text, nil
+}
+
+func writeAll(text string) error {
+ // LockOSThread ensure that the whole method will keep executing on the same thread from begin to end (it actually locks the goroutine thread attribution).
+ // Otherwise if the goroutine switch thread during execution (which is a common practice), the OpenClipboard and CloseClipboard will happen on two different threads, and it will result in a clipboard deadlock.
+ runtime.LockOSThread()
+ defer runtime.UnlockOSThread()
+
+ err := waitOpenClipboard()
+ if err != nil {
+ return err
+ }
+
+ r, _, err := emptyClipboard.Call(0)
+ if r == 0 {
+ _, _, _ = closeClipboard.Call()
+ return err
+ }
+
+ data := syscall.StringToUTF16(text)
+
+ // "If the hMem parameter identifies a memory object, the object must have
+ // been allocated using the function with the GMEM_MOVEABLE flag."
+ h, _, err := globalAlloc.Call(gmemMoveable, uintptr(len(data)*int(unsafe.Sizeof(data[0]))))
+ if h == 0 {
+ _, _, _ = closeClipboard.Call()
+ return err
+ }
+ defer func() {
+ if h != 0 {
+ globalFree.Call(h)
+ }
+ }()
+
+ l, _, err := globalLock.Call(h)
+ if l == 0 {
+ _, _, _ = closeClipboard.Call()
+ return err
+ }
+
+ r, _, err = lstrcpy.Call(l, uintptr(unsafe.Pointer(&data[0])))
+ if r == 0 {
+ _, _, _ = closeClipboard.Call()
+ return err
+ }
+
+ r, _, err = globalUnlock.Call(h)
+ if r == 0 {
+ if err.(syscall.Errno) != 0 {
+ _, _, _ = closeClipboard.Call()
+ return err
+ }
+ }
+
+ r, _, err = setClipboardData.Call(cfUnicodetext, h)
+ if r == 0 {
+ _, _, _ = closeClipboard.Call()
+ return err
+ }
+ h = 0 // suppress deferred cleanup
+ closed, _, err := closeClipboard.Call()
+ if closed == 0 {
+ return err
+ }
+ return nil
+}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/textinput/LICENSE b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/textinput/LICENSE
new file mode 100644
index 000000000..be3f0c19e
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/textinput/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2020-2025 Charmbracelet, Inc
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/textinput/textinput.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/textinput/textinput.go
new file mode 100644
index 000000000..cea2e095d
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/textinput/textinput.go
@@ -0,0 +1,900 @@
+// Package textinput provides a text input component for Bubble Tea
+// applications.
+//
+// Vendored from github.com/charmbracelet/bubbles@v1.0.0/textinput (MIT, see
+// LICENSE in this directory) with a single modification: the
+// github.com/atotto/clipboard import is replaced with the vendored
+// [github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard], which
+// does not load user32.dll at process init. atotto/clipboard's init-time DLL
+// load crashes any binary that links it (including all provider plugins built
+// against this SDK) on Windows systems where user32.dll cannot be loaded,
+// e.g. under desktop heap exhaustion. See
+// https://github.com/pulumi/pulumi/issues/19342.
+package textinput
+
+import (
+ "reflect"
+ "strings"
+ "time"
+ "unicode"
+
+ "github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard"
+ "github.com/charmbracelet/bubbles/cursor"
+ "github.com/charmbracelet/bubbles/key"
+ "github.com/charmbracelet/bubbles/runeutil"
+ tea "github.com/charmbracelet/bubbletea"
+ "github.com/charmbracelet/lipgloss"
+ "github.com/charmbracelet/x/ansi"
+ rw "github.com/mattn/go-runewidth"
+ "github.com/rivo/uniseg"
+)
+
+// Internal messages for clipboard operations.
+type (
+ pasteMsg string
+ pasteErrMsg struct{ error }
+)
+
+// EchoMode sets the input behavior of the text input field.
+type EchoMode int
+
+const (
+ // EchoNormal displays text as is. This is the default behavior.
+ EchoNormal EchoMode = iota
+
+ // EchoPassword displays the EchoCharacter mask instead of actual
+ // characters. This is commonly used for password fields.
+ EchoPassword
+
+ // EchoNone displays nothing as characters are entered. This is commonly
+ // seen for password fields on the command line.
+ EchoNone
+)
+
+// ValidateFunc is a function that returns an error if the input is invalid.
+type ValidateFunc func(string) error
+
+// KeyMap is the key bindings for different actions within the textinput.
+type KeyMap struct {
+ CharacterForward key.Binding
+ CharacterBackward key.Binding
+ WordForward key.Binding
+ WordBackward key.Binding
+ DeleteWordBackward key.Binding
+ DeleteWordForward key.Binding
+ DeleteAfterCursor key.Binding
+ DeleteBeforeCursor key.Binding
+ DeleteCharacterBackward key.Binding
+ DeleteCharacterForward key.Binding
+ LineStart key.Binding
+ LineEnd key.Binding
+ Paste key.Binding
+ AcceptSuggestion key.Binding
+ NextSuggestion key.Binding
+ PrevSuggestion key.Binding
+}
+
+// DefaultKeyMap is the default set of key bindings for navigating and acting
+// upon the textinput.
+var DefaultKeyMap = KeyMap{
+ CharacterForward: key.NewBinding(key.WithKeys("right", "ctrl+f")),
+ CharacterBackward: key.NewBinding(key.WithKeys("left", "ctrl+b")),
+ WordForward: key.NewBinding(key.WithKeys("alt+right", "ctrl+right", "alt+f")),
+ WordBackward: key.NewBinding(key.WithKeys("alt+left", "ctrl+left", "alt+b")),
+ DeleteWordBackward: key.NewBinding(key.WithKeys("alt+backspace", "ctrl+w")),
+ DeleteWordForward: key.NewBinding(key.WithKeys("alt+delete", "alt+d")),
+ DeleteAfterCursor: key.NewBinding(key.WithKeys("ctrl+k")),
+ DeleteBeforeCursor: key.NewBinding(key.WithKeys("ctrl+u")),
+ DeleteCharacterBackward: key.NewBinding(key.WithKeys("backspace", "ctrl+h")),
+ DeleteCharacterForward: key.NewBinding(key.WithKeys("delete", "ctrl+d")),
+ LineStart: key.NewBinding(key.WithKeys("home", "ctrl+a")),
+ LineEnd: key.NewBinding(key.WithKeys("end", "ctrl+e")),
+ Paste: key.NewBinding(key.WithKeys("ctrl+v")),
+ AcceptSuggestion: key.NewBinding(key.WithKeys("tab")),
+ NextSuggestion: key.NewBinding(key.WithKeys("down", "ctrl+n")),
+ PrevSuggestion: key.NewBinding(key.WithKeys("up", "ctrl+p")),
+}
+
+// Model is the Bubble Tea model for this text input element.
+type Model struct {
+ Err error
+
+ // General settings.
+ Prompt string
+ Placeholder string
+ EchoMode EchoMode
+ EchoCharacter rune
+ Cursor cursor.Model
+
+ // Deprecated: use [cursor.BlinkSpeed] instead.
+ BlinkSpeed time.Duration
+
+ // Styles. These will be applied as inline styles.
+ //
+ // For an introduction to styling with Lip Gloss see:
+ // https://github.com/charmbracelet/lipgloss
+ PromptStyle lipgloss.Style
+ TextStyle lipgloss.Style
+ PlaceholderStyle lipgloss.Style
+ CompletionStyle lipgloss.Style
+
+ // Deprecated: use Cursor.Style instead.
+ CursorStyle lipgloss.Style
+
+ // CharLimit is the maximum amount of characters this input element will
+ // accept. If 0 or less, there's no limit.
+ CharLimit int
+
+ // Width is the maximum number of characters that can be displayed at once.
+ // It essentially treats the text field like a horizontally scrolling
+ // viewport. If 0 or less this setting is ignored.
+ Width int
+
+ // KeyMap encodes the keybindings recognized by the widget.
+ KeyMap KeyMap
+
+ // Underlying text value.
+ value []rune
+
+ // focus indicates whether user input focus should be on this input
+ // component. When false, ignore keyboard input and hide the cursor.
+ focus bool
+
+ // Cursor position.
+ pos int
+
+ // Used to emulate a viewport when width is set and the content is
+ // overflowing.
+ offset int
+ offsetRight int
+
+ // Validate is a function that checks whether or not the text within the
+ // input is valid. If it is not valid, the `Err` field will be set to the
+ // error returned by the function. If the function is not defined, all
+ // input is considered valid.
+ Validate ValidateFunc
+
+ // rune sanitizer for input.
+ rsan runeutil.Sanitizer
+
+ // Should the input suggest to complete
+ ShowSuggestions bool
+
+ // suggestions is a list of suggestions that may be used to complete the
+ // input.
+ suggestions [][]rune
+ matchedSuggestions [][]rune
+ currentSuggestionIndex int
+}
+
+// New creates a new model with default settings.
+func New() Model {
+ return Model{
+ Prompt: "> ",
+ EchoCharacter: '*',
+ CharLimit: 0,
+ PlaceholderStyle: lipgloss.NewStyle().Foreground(lipgloss.Color("240")),
+ ShowSuggestions: false,
+ CompletionStyle: lipgloss.NewStyle().Foreground(lipgloss.Color("240")),
+ Cursor: cursor.New(),
+ KeyMap: DefaultKeyMap,
+
+ suggestions: [][]rune{},
+ value: nil,
+ focus: false,
+ pos: 0,
+ }
+}
+
+// NewModel creates a new model with default settings.
+//
+// Deprecated: Use [New] instead.
+var NewModel = New
+
+// SetValue sets the value of the text input.
+func (m *Model) SetValue(s string) {
+ // Clean up any special characters in the input provided by the
+ // caller. This avoids bugs due to e.g. tab characters and whatnot.
+ runes := m.san().Sanitize([]rune(s))
+ err := m.validate(runes)
+ m.setValueInternal(runes, err)
+}
+
+func (m *Model) setValueInternal(runes []rune, err error) {
+ m.Err = err
+
+ empty := len(m.value) == 0
+
+ if m.CharLimit > 0 && len(runes) > m.CharLimit {
+ m.value = runes[:m.CharLimit]
+ } else {
+ m.value = runes
+ }
+ if (m.pos == 0 && empty) || m.pos > len(m.value) {
+ m.SetCursor(len(m.value))
+ }
+ m.handleOverflow()
+}
+
+// Value returns the value of the text input.
+func (m Model) Value() string {
+ return string(m.value)
+}
+
+// Position returns the cursor position.
+func (m Model) Position() int {
+ return m.pos
+}
+
+// SetCursor moves the cursor to the given position. If the position is
+// out of bounds the cursor will be moved to the start or end accordingly.
+func (m *Model) SetCursor(pos int) {
+ m.pos = clamp(pos, 0, len(m.value))
+ m.handleOverflow()
+}
+
+// CursorStart moves the cursor to the start of the input field.
+func (m *Model) CursorStart() {
+ m.SetCursor(0)
+}
+
+// CursorEnd moves the cursor to the end of the input field.
+func (m *Model) CursorEnd() {
+ m.SetCursor(len(m.value))
+}
+
+// Focused returns the focus state on the model.
+func (m Model) Focused() bool {
+ return m.focus
+}
+
+// Focus sets the focus state on the model. When the model is in focus it can
+// receive keyboard input and the cursor will be shown.
+func (m *Model) Focus() tea.Cmd {
+ m.focus = true
+ return m.Cursor.Focus()
+}
+
+// Blur removes the focus state on the model. When the model is blurred it can
+// not receive keyboard input and the cursor will be hidden.
+func (m *Model) Blur() {
+ m.focus = false
+ m.Cursor.Blur()
+}
+
+// Reset sets the input to its default state with no input.
+func (m *Model) Reset() {
+ m.value = nil
+ m.SetCursor(0)
+}
+
+// SetSuggestions sets the suggestions for the input.
+func (m *Model) SetSuggestions(suggestions []string) {
+ m.suggestions = make([][]rune, len(suggestions))
+ for i, s := range suggestions {
+ m.suggestions[i] = []rune(s)
+ }
+
+ m.updateSuggestions()
+}
+
+// rsan initializes or retrieves the rune sanitizer.
+func (m *Model) san() runeutil.Sanitizer {
+ if m.rsan == nil {
+ // Textinput has all its input on a single line so collapse
+ // newlines/tabs to single spaces.
+ m.rsan = runeutil.NewSanitizer(
+ runeutil.ReplaceTabs(" "), runeutil.ReplaceNewlines(" "))
+ }
+ return m.rsan
+}
+
+func (m *Model) insertRunesFromUserInput(v []rune) {
+ // Clean up any special characters in the input provided by the
+ // clipboard. This avoids bugs due to e.g. tab characters and
+ // whatnot.
+ paste := m.san().Sanitize(v)
+
+ var availSpace int
+ if m.CharLimit > 0 {
+ availSpace = m.CharLimit - len(m.value)
+
+ // If the char limit's been reached, cancel.
+ if availSpace <= 0 {
+ return
+ }
+
+ // If there's not enough space to paste the whole thing cut the pasted
+ // runes down so they'll fit.
+ if availSpace < len(paste) {
+ paste = paste[:availSpace]
+ }
+ }
+
+ // Stuff before and after the cursor
+ head := m.value[:m.pos]
+ tailSrc := m.value[m.pos:]
+ tail := make([]rune, len(tailSrc))
+ copy(tail, tailSrc)
+
+ // Insert pasted runes
+ for _, r := range paste {
+ head = append(head, r)
+ m.pos++
+ if m.CharLimit > 0 {
+ availSpace--
+ if availSpace <= 0 {
+ break
+ }
+ }
+ }
+
+ // Put it all back together
+ value := append(head, tail...)
+ inputErr := m.validate(value)
+ m.setValueInternal(value, inputErr)
+}
+
+// If a max width is defined, perform some logic to treat the visible area
+// as a horizontally scrolling viewport.
+func (m *Model) handleOverflow() {
+ if m.Width <= 0 || uniseg.StringWidth(string(m.value)) <= m.Width {
+ m.offset = 0
+ m.offsetRight = len(m.value)
+ return
+ }
+
+ // Correct right offset if we've deleted characters
+ m.offsetRight = min(m.offsetRight, len(m.value))
+
+ if m.pos < m.offset {
+ m.offset = m.pos
+
+ w := 0
+ i := 0
+ runes := m.value[m.offset:]
+
+ for i < len(runes) && w <= m.Width {
+ w += rw.RuneWidth(runes[i])
+ if w <= m.Width+1 {
+ i++
+ }
+ }
+
+ m.offsetRight = m.offset + i
+ } else if m.pos >= m.offsetRight {
+ m.offsetRight = m.pos
+
+ w := 0
+ runes := m.value[:m.offsetRight]
+ i := len(runes) - 1
+
+ for i > 0 && w < m.Width {
+ w += rw.RuneWidth(runes[i])
+ if w <= m.Width {
+ i--
+ }
+ }
+
+ m.offset = m.offsetRight - (len(runes) - 1 - i)
+ }
+}
+
+// deleteBeforeCursor deletes all text before the cursor.
+func (m *Model) deleteBeforeCursor() {
+ m.value = m.value[m.pos:]
+ m.Err = m.validate(m.value)
+ m.offset = 0
+ m.SetCursor(0)
+}
+
+// deleteAfterCursor deletes all text after the cursor. If input is masked
+// delete everything after the cursor so as not to reveal word breaks in the
+// masked input.
+func (m *Model) deleteAfterCursor() {
+ m.value = m.value[:m.pos]
+ m.Err = m.validate(m.value)
+ m.SetCursor(len(m.value))
+}
+
+// deleteWordBackward deletes the word left to the cursor.
+func (m *Model) deleteWordBackward() {
+ if m.pos == 0 || len(m.value) == 0 {
+ return
+ }
+
+ if m.EchoMode != EchoNormal {
+ m.deleteBeforeCursor()
+ return
+ }
+
+ // Linter note: it's critical that we acquire the initial cursor position
+ // here prior to altering it via SetCursor() below. As such, moving this
+ // call into the corresponding if clause does not apply here.
+ oldPos := m.pos
+
+ m.SetCursor(m.pos - 1)
+ for unicode.IsSpace(m.value[m.pos]) {
+ if m.pos <= 0 {
+ break
+ }
+ // ignore series of whitespace before cursor
+ m.SetCursor(m.pos - 1)
+ }
+
+ for m.pos > 0 {
+ if !unicode.IsSpace(m.value[m.pos]) {
+ m.SetCursor(m.pos - 1)
+ } else {
+ if m.pos > 0 {
+ // keep the previous space
+ m.SetCursor(m.pos + 1)
+ }
+ break
+ }
+ }
+
+ if oldPos > len(m.value) {
+ m.value = m.value[:m.pos]
+ } else {
+ m.value = append(m.value[:m.pos], m.value[oldPos:]...)
+ }
+ m.Err = m.validate(m.value)
+}
+
+// deleteWordForward deletes the word right to the cursor. If input is masked
+// delete everything after the cursor so as not to reveal word breaks in the
+// masked input.
+func (m *Model) deleteWordForward() {
+ if m.pos >= len(m.value) || len(m.value) == 0 {
+ return
+ }
+
+ if m.EchoMode != EchoNormal {
+ m.deleteAfterCursor()
+ return
+ }
+
+ oldPos := m.pos
+ m.SetCursor(m.pos + 1)
+ for unicode.IsSpace(m.value[m.pos]) {
+ // ignore series of whitespace after cursor
+ m.SetCursor(m.pos + 1)
+
+ if m.pos >= len(m.value) {
+ break
+ }
+ }
+
+ for m.pos < len(m.value) {
+ if !unicode.IsSpace(m.value[m.pos]) {
+ m.SetCursor(m.pos + 1)
+ } else {
+ break
+ }
+ }
+
+ if m.pos > len(m.value) {
+ m.value = m.value[:oldPos]
+ } else {
+ m.value = append(m.value[:oldPos], m.value[m.pos:]...)
+ }
+ m.Err = m.validate(m.value)
+
+ m.SetCursor(oldPos)
+}
+
+// wordBackward moves the cursor one word to the left. If input is masked, move
+// input to the start so as not to reveal word breaks in the masked input.
+func (m *Model) wordBackward() {
+ if m.pos == 0 || len(m.value) == 0 {
+ return
+ }
+
+ if m.EchoMode != EchoNormal {
+ m.CursorStart()
+ return
+ }
+
+ i := m.pos - 1
+ for i >= 0 {
+ if unicode.IsSpace(m.value[i]) {
+ m.SetCursor(m.pos - 1)
+ i--
+ } else {
+ break
+ }
+ }
+
+ for i >= 0 {
+ if !unicode.IsSpace(m.value[i]) {
+ m.SetCursor(m.pos - 1)
+ i--
+ } else {
+ break
+ }
+ }
+}
+
+// wordForward moves the cursor one word to the right. If the input is masked,
+// move input to the end so as not to reveal word breaks in the masked input.
+func (m *Model) wordForward() {
+ if m.pos >= len(m.value) || len(m.value) == 0 {
+ return
+ }
+
+ if m.EchoMode != EchoNormal {
+ m.CursorEnd()
+ return
+ }
+
+ i := m.pos
+ for i < len(m.value) {
+ if unicode.IsSpace(m.value[i]) {
+ m.SetCursor(m.pos + 1)
+ i++
+ } else {
+ break
+ }
+ }
+
+ for i < len(m.value) {
+ if !unicode.IsSpace(m.value[i]) {
+ m.SetCursor(m.pos + 1)
+ i++
+ } else {
+ break
+ }
+ }
+}
+
+func (m Model) echoTransform(v string) string {
+ switch m.EchoMode {
+ case EchoPassword:
+ return strings.Repeat(string(m.EchoCharacter), uniseg.StringWidth(v))
+ case EchoNone:
+ return ""
+ case EchoNormal:
+ return v
+ default:
+ return v
+ }
+}
+
+// Update is the Bubble Tea update loop.
+func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) {
+ if !m.focus {
+ return m, nil
+ }
+
+ // Need to check for completion before, because key is configurable and might be double assigned
+ keyMsg, ok := msg.(tea.KeyMsg)
+ if ok && key.Matches(keyMsg, m.KeyMap.AcceptSuggestion) {
+ if m.canAcceptSuggestion() {
+ m.value = append(m.value, m.matchedSuggestions[m.currentSuggestionIndex][len(m.value):]...)
+ m.CursorEnd()
+ }
+ }
+
+ // Let's remember where the position of the cursor currently is so that if
+ // the cursor position changes, we can reset the blink.
+ oldPos := m.pos
+
+ switch msg := msg.(type) {
+ case tea.KeyMsg:
+ switch {
+ case key.Matches(msg, m.KeyMap.DeleteWordBackward):
+ m.deleteWordBackward()
+ case key.Matches(msg, m.KeyMap.DeleteCharacterBackward):
+ m.Err = nil
+ if len(m.value) > 0 {
+ m.value = append(m.value[:max(0, m.pos-1)], m.value[m.pos:]...)
+ m.Err = m.validate(m.value)
+ if m.pos > 0 {
+ m.SetCursor(m.pos - 1)
+ }
+ }
+ case key.Matches(msg, m.KeyMap.WordBackward):
+ m.wordBackward()
+ case key.Matches(msg, m.KeyMap.CharacterBackward):
+ if m.pos > 0 {
+ m.SetCursor(m.pos - 1)
+ }
+ case key.Matches(msg, m.KeyMap.WordForward):
+ m.wordForward()
+ case key.Matches(msg, m.KeyMap.CharacterForward):
+ if m.pos < len(m.value) {
+ m.SetCursor(m.pos + 1)
+ }
+ case key.Matches(msg, m.KeyMap.LineStart):
+ m.CursorStart()
+ case key.Matches(msg, m.KeyMap.DeleteCharacterForward):
+ if len(m.value) > 0 && m.pos < len(m.value) {
+ m.value = append(m.value[:m.pos], m.value[m.pos+1:]...)
+ m.Err = m.validate(m.value)
+ }
+ case key.Matches(msg, m.KeyMap.LineEnd):
+ m.CursorEnd()
+ case key.Matches(msg, m.KeyMap.DeleteAfterCursor):
+ m.deleteAfterCursor()
+ case key.Matches(msg, m.KeyMap.DeleteBeforeCursor):
+ m.deleteBeforeCursor()
+ case key.Matches(msg, m.KeyMap.Paste):
+ return m, Paste
+ case key.Matches(msg, m.KeyMap.DeleteWordForward):
+ m.deleteWordForward()
+ case key.Matches(msg, m.KeyMap.NextSuggestion):
+ m.nextSuggestion()
+ case key.Matches(msg, m.KeyMap.PrevSuggestion):
+ m.previousSuggestion()
+ default:
+ // Input one or more regular characters.
+ m.insertRunesFromUserInput(msg.Runes)
+ }
+
+ // Check again if can be completed
+ // because value might be something that does not match the completion prefix
+ m.updateSuggestions()
+
+ case pasteMsg:
+ m.insertRunesFromUserInput([]rune(msg))
+
+ case pasteErrMsg:
+ m.Err = msg
+ }
+
+ var cmds []tea.Cmd
+ var cmd tea.Cmd
+
+ m.Cursor, cmd = m.Cursor.Update(msg)
+ cmds = append(cmds, cmd)
+
+ if oldPos != m.pos && m.Cursor.Mode() == cursor.CursorBlink {
+ m.Cursor.Blink = false
+ cmds = append(cmds, m.Cursor.BlinkCmd())
+ }
+
+ m.handleOverflow()
+ return m, tea.Batch(cmds...)
+}
+
+// View renders the textinput in its current state.
+func (m Model) View() string {
+ // Placeholder text
+ if len(m.value) == 0 && m.Placeholder != "" {
+ return m.placeholderView()
+ }
+
+ styleText := m.TextStyle.Inline(true).Render
+
+ value := m.value[m.offset:m.offsetRight]
+ pos := max(0, m.pos-m.offset)
+ v := styleText(m.echoTransform(string(value[:pos])))
+
+ if pos < len(value) { //nolint:nestif
+ char := m.echoTransform(string(value[pos]))
+ m.Cursor.SetChar(char)
+ v += m.Cursor.View() // cursor and text under it
+ v += styleText(m.echoTransform(string(value[pos+1:]))) // text after cursor
+ v += m.completionView(0) // suggested completion
+ } else {
+ if m.focus && m.canAcceptSuggestion() {
+ suggestion := m.matchedSuggestions[m.currentSuggestionIndex]
+ if len(value) < len(suggestion) {
+ m.Cursor.TextStyle = m.CompletionStyle
+ m.Cursor.SetChar(m.echoTransform(string(suggestion[pos])))
+ v += m.Cursor.View()
+ v += m.completionView(1)
+ } else {
+ m.Cursor.SetChar(" ")
+ v += m.Cursor.View()
+ }
+ } else {
+ m.Cursor.SetChar(" ")
+ v += m.Cursor.View()
+ }
+ }
+
+ // If a max width and background color were set fill the empty spaces with
+ // the background color.
+ valWidth := uniseg.StringWidth(string(value))
+ if m.Width > 0 && valWidth <= m.Width {
+ padding := max(0, m.Width-valWidth)
+ if valWidth+padding <= m.Width && pos < len(value) {
+ padding++
+ }
+ v += styleText(strings.Repeat(" ", padding))
+ }
+
+ return m.PromptStyle.Render(m.Prompt) + v
+}
+
+// placeholderView returns the prompt and placeholder view, if any.
+func (m Model) placeholderView() string {
+ var (
+ v string
+ style = m.PlaceholderStyle.Inline(true).Render
+ p = m.PromptStyle.Render(m.Prompt)
+ )
+
+ m.Cursor.TextStyle = m.PlaceholderStyle
+ first, rest, _, _ := uniseg.FirstGraphemeClusterInString(m.Placeholder, 0)
+ m.Cursor.SetChar(first)
+ v += m.Cursor.View()
+
+ // If the entire placeholder is already set and no padding is needed, finish
+ if m.Width < 1 && uniseg.StringWidth(rest) <= 1 {
+ return m.PromptStyle.Render(m.Prompt) + v
+ }
+
+ // If Width is set then size placeholder accordingly
+ if m.Width > 0 {
+ width := m.Width - lipgloss.Width(p) - lipgloss.Width(v)
+ placeholderRest := ansi.Truncate(rest, width, "…")
+ availWidth := max(0, width-lipgloss.Width(placeholderRest))
+ v += style(placeholderRest) + strings.Repeat(" ", availWidth)
+ } else {
+ // if there is no width, the placeholder can be any length
+ v += style(rest)
+ }
+
+ return p + v
+}
+
+// Blink is a command used to initialize cursor blinking.
+func Blink() tea.Msg {
+ return cursor.Blink()
+}
+
+// Paste is a command for pasting from the clipboard into the text input.
+func Paste() tea.Msg {
+ str, err := clipboard.ReadAll()
+ if err != nil {
+ return pasteErrMsg{err}
+ }
+ return pasteMsg(str)
+}
+
+func clamp(v, low, high int) int {
+ if high < low {
+ low, high = high, low
+ }
+ return min(high, max(low, v))
+}
+
+// Deprecated.
+
+// Deprecated: use [cursor.Mode].
+//
+//nolint:revive
+type CursorMode int
+
+//nolint:revive
+const (
+ // Deprecated: use [cursor.CursorBlink].
+ CursorBlink = CursorMode(cursor.CursorBlink)
+ // Deprecated: use [cursor.CursorStatic].
+ CursorStatic = CursorMode(cursor.CursorStatic)
+ // Deprecated: use [cursor.CursorHide].
+ CursorHide = CursorMode(cursor.CursorHide)
+)
+
+func (c CursorMode) String() string {
+ return cursor.Mode(c).String()
+}
+
+// Deprecated: use [cursor.Mode].
+//
+//nolint:revive
+func (m Model) CursorMode() CursorMode {
+ return CursorMode(m.Cursor.Mode())
+}
+
+// Deprecated: use cursor.SetMode().
+//
+//nolint:revive
+func (m *Model) SetCursorMode(mode CursorMode) tea.Cmd {
+ return m.Cursor.SetMode(cursor.Mode(mode))
+}
+
+func (m Model) completionView(offset int) string {
+ var (
+ value = m.value
+ style = m.PlaceholderStyle.Inline(true).Render
+ )
+
+ if m.canAcceptSuggestion() {
+ suggestion := m.matchedSuggestions[m.currentSuggestionIndex]
+ if len(value) < len(suggestion) {
+ return style(string(suggestion[len(value)+offset:]))
+ }
+ }
+ return ""
+}
+
+func (m *Model) getSuggestions(sugs [][]rune) []string {
+ suggestions := make([]string, len(sugs))
+ for i, s := range sugs {
+ suggestions[i] = string(s)
+ }
+ return suggestions
+}
+
+// AvailableSuggestions returns the list of available suggestions.
+func (m *Model) AvailableSuggestions() []string {
+ return m.getSuggestions(m.suggestions)
+}
+
+// MatchedSuggestions returns the list of matched suggestions.
+func (m *Model) MatchedSuggestions() []string {
+ return m.getSuggestions(m.matchedSuggestions)
+}
+
+// CurrentSuggestionIndex returns the currently selected suggestion index.
+func (m *Model) CurrentSuggestionIndex() int {
+ return m.currentSuggestionIndex
+}
+
+// CurrentSuggestion returns the currently selected suggestion.
+func (m *Model) CurrentSuggestion() string {
+ if m.currentSuggestionIndex >= len(m.matchedSuggestions) {
+ return ""
+ }
+
+ return string(m.matchedSuggestions[m.currentSuggestionIndex])
+}
+
+// canAcceptSuggestion returns whether there is an acceptable suggestion to
+// autocomplete the current value.
+func (m *Model) canAcceptSuggestion() bool {
+ return len(m.matchedSuggestions) > 0
+}
+
+// updateSuggestions refreshes the list of matching suggestions.
+func (m *Model) updateSuggestions() {
+ if !m.ShowSuggestions {
+ return
+ }
+
+ if len(m.value) <= 0 || len(m.suggestions) <= 0 {
+ m.matchedSuggestions = [][]rune{}
+ return
+ }
+
+ matches := [][]rune{}
+ for _, s := range m.suggestions {
+ suggestion := string(s)
+
+ if strings.HasPrefix(strings.ToLower(suggestion), strings.ToLower(string(m.value))) {
+ matches = append(matches, []rune(suggestion))
+ }
+ }
+ if !reflect.DeepEqual(matches, m.matchedSuggestions) {
+ m.currentSuggestionIndex = 0
+ }
+
+ m.matchedSuggestions = matches
+}
+
+// nextSuggestion selects the next suggestion.
+func (m *Model) nextSuggestion() {
+ m.currentSuggestionIndex = (m.currentSuggestionIndex + 1)
+ if m.currentSuggestionIndex >= len(m.matchedSuggestions) {
+ m.currentSuggestionIndex = 0
+ }
+}
+
+// previousSuggestion selects the previous suggestion.
+func (m *Model) previousSuggestion() {
+ m.currentSuggestionIndex = (m.currentSuggestionIndex - 1)
+ if m.currentSuggestionIndex < 0 {
+ m.currentSuggestionIndex = len(m.matchedSuggestions) - 1
+ }
+}
+
+func (m Model) validate(v []rune) error {
+ if m.Validate != nil {
+ return m.Validate(string(v))
+ }
+ return nil
+}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/types.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/types.go
index 948906d80..cc7ce5cf7 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/types.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/internal/types.go
@@ -49,8 +49,8 @@ type Output interface {
}
var (
- outputType = reflect.TypeOf((*Output)(nil)).Elem()
- inputType = reflect.TypeOf((*Input)(nil)).Elem()
+ outputType = reflect.TypeFor[Output]()
+ inputType = reflect.TypeFor[Input]()
)
var concreteTypeToOutputType sync.Map // map[reflect.Type]reflect.Type
@@ -342,7 +342,7 @@ func NewOutputState(join *WorkGroup, elementType reflect.Type, deps ...Resource)
}
var (
- outputStateType = reflect.TypeOf((*OutputState)(nil))
+ outputStateType = reflect.TypeFor[*OutputState]()
// outputTypeToOutputState is a map from a type
// to the index of the field that embeds *OutputState.
@@ -387,8 +387,8 @@ func NewOutput(wg *WorkGroup, typ reflect.Type, deps ...Resource) Output {
}
var (
- contextType = reflect.TypeOf((*context.Context)(nil)).Elem()
- errorType = reflect.TypeOf((*error)(nil)).Elem()
+ contextType = reflect.TypeFor[context.Context]()
+ errorType = reflect.TypeFor[error]()
)
// applier is a normalized version of a function
@@ -710,7 +710,7 @@ func gatherJoins(v any) workGroups {
return joins
}
-var resourceType = reflect.TypeOf((*Resource)(nil)).Elem()
+var resourceType = reflect.TypeFor[Resource]()
func gatherJoinSet(v reflect.Value, joins map[*WorkGroup]struct{}) {
for {
@@ -737,12 +737,12 @@ func gatherJoinSet(v reflect.Value, joins map[*WorkGroup]struct{}) {
continue
case reflect.Struct:
numFields := v.Type().NumField()
- for i := 0; i < numFields; i++ {
+ for i := range numFields {
gatherJoinSet(v.Field(i), joins)
}
case reflect.Array, reflect.Slice:
l := v.Len()
- for i := 0; i < l; i++ {
+ for i := range l {
gatherJoinSet(v.Index(i), joins)
}
case reflect.Map:
@@ -933,7 +933,7 @@ func awaitInputs(ctx context.Context, v, resolved reflect.Value) (bool, bool, []
typ := v.Type()
getMappedField := MapStructTypes(typ, resolved.Type())
numFields := typ.NumField()
- for i := 0; i < numFields; i++ {
+ for i := range numFields {
_, field := getMappedField(resolved, i)
fknown, fsecret, fdeps, ferr := awaitInputs(ctx, v.Field(i), field)
known = known && fknown
@@ -945,7 +945,7 @@ func awaitInputs(ctx context.Context, v, resolved reflect.Value) (bool, bool, []
}
case reflect.Array:
l := v.Len()
- for i := 0; i < l; i++ {
+ for i := range l {
eknown, esecret, edeps, eerr := awaitInputs(ctx, v.Index(i), resolved.Index(i))
known = known && eknown
secret = secret || esecret
@@ -957,7 +957,7 @@ func awaitInputs(ctx context.Context, v, resolved reflect.Value) (bool, bool, []
case reflect.Slice:
l := v.Len()
resolved.Set(reflect.MakeSlice(resolved.Type(), l, l))
- for i := 0; i < l; i++ {
+ for i := range l {
eknown, esecret, edeps, eerr := awaitInputs(ctx, v.Index(i), resolved.Index(i))
known = known && eknown
secret = secret || esecret
@@ -1133,4 +1133,4 @@ type Input interface {
ElementType() reflect.Type
}
-var anyType = reflect.TypeOf((*any)(nil)).Elem()
+var anyType = reflect.TypeFor[any]()
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/property/diff.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/property/diff.go
index 5aaef7285..72946b0f2 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/property/diff.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/property/diff.go
@@ -16,7 +16,6 @@ package property
import (
"slices"
- "sort"
"github.com/pulumi/pulumi/sdk/v3/go/common/slice"
)
@@ -79,7 +78,7 @@ func (diff *ObjectDiff) Keys() []string {
for k := range diff.Updates {
ks = append(ks, k)
}
- sort.Slice(ks, func(i, j int) bool { return ks[i] < ks[j] })
+ slices.Sort(ks)
return ks
}
@@ -265,6 +264,8 @@ func (v Value) diff(other Value, opts diffOptions, path Path) *ValueDiff {
return &ValueDiff{Old: v, New: other}
}
+ opaque := v.Secret() || len(v.Dependencies()) > 0
+
if v.IsArray() && other.IsArray() {
old := v.AsArray()
new := other.AsArray()
@@ -293,6 +294,9 @@ func (v Value) diff(other Value, opts diffOptions, path Path) *ValueDiff {
if len(adds) == 0 && len(deletes) == 0 && len(updates) == 0 {
return nil
}
+ if opaque {
+ return &ValueDiff{Old: v, New: other}
+ }
return &ValueDiff{
Old: v,
New: other,
@@ -308,6 +312,9 @@ func (v Value) diff(other Value, opts diffOptions, path Path) *ValueDiff {
old := v.AsMap()
new := other.AsMap()
if diff := old.diff(new, opts, path); diff != nil {
+ if opaque {
+ return &ValueDiff{Old: v, New: other}
+ }
return &ValueDiff{
Old: v,
New: other,
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/property/equal.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/property/equal.go
index 41da48277..1795606db 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/property/equal.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/property/equal.go
@@ -77,28 +77,9 @@ func (v Value) equals(other Value, opts eqOpts) bool {
case v.IsString() && other.IsString():
return v.AsString() == other.AsString()
case v.IsArray() && other.IsArray():
- a1, a2 := v.AsArray(), other.AsArray()
- if a1.Len() != a2.Len() {
- return false
- }
- for i := range a1.arr {
- if !a1.arr[i].equals(a2.arr[i], opts) {
- return false
- }
- }
- return true
+ return v.AsArray().equals(other.AsArray(), opts)
case v.IsMap() && other.IsMap():
- m1, m2 := v.AsMap(), other.AsMap()
- if m1.Len() != m2.Len() {
- return false
- }
- for k, v1 := range m1.m {
- v2, ok := m2.m[k]
- if !ok || !v1.equals(v2, opts) {
- return false
- }
- }
- return true
+ return v.AsMap().equals(other.AsMap(), opts)
case v.IsAsset() && other.IsAsset():
a1, a2 := v.asAssetMut(), other.asAssetMut()
return a1.Equals(a2)
@@ -116,3 +97,54 @@ func (v Value) equals(other Value, opts eqOpts) bool {
return false
}
}
+
+// Check if two Maps are equal.
+//
+// See Value.Equals for the detailed semantics of equality and the effect of EqualOption.
+func (m Map) Equals(other Map, opts ...EqualOption) bool {
+ var eqOpts eqOpts
+ for _, o := range opts {
+ o(&eqOpts)
+ }
+ return m.equals(other, eqOpts)
+}
+
+func (m Map) equals(other Map, opts eqOpts) bool {
+ if m.Len() != other.Len() {
+ return false
+ }
+
+ for k, v := range m.m {
+ otherV, ok := other.m[k]
+ if !ok || !v.equals(otherV, opts) {
+ return false
+ }
+ }
+
+ return true
+}
+
+// Check if two Arrays are equal.
+//
+// See Value.Equals for the detailed semantics of equality and the effect of EqualOption.
+func (a Array) Equals(other Array, opts ...EqualOption) bool {
+ var eqOpts eqOpts
+ for _, o := range opts {
+ o(&eqOpts)
+ }
+ return a.equals(other, eqOpts)
+}
+
+func (a Array) equals(other Array, opts eqOpts) bool {
+ if a.Len() != other.Len() {
+ return false
+ }
+
+ for i := range a.arr {
+ if !a.arr[i].equals(other.arr[i], opts) {
+ return false
+ }
+ }
+
+ return true
+}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/property/logging_redact.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/property/logging_redact.go
new file mode 100644
index 000000000..d8192eca5
--- /dev/null
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/property/logging_redact.go
@@ -0,0 +1,58 @@
+// Copyright 2026, Pulumi Corporation.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package property
+
+import (
+ "log/slog"
+)
+
+// RedactedLogValue replaces secret values with "[secret]" for plaintext log output. The encrypted
+// log sink and OTLP export receive the original values.
+func (v Value) RedactedLogValue() slog.Value {
+ return slog.AnyValue(redactSecretValues(v))
+}
+
+// RedactedLogValue replaces secret values with "[secret]" for plaintext log output. The encrypted
+// log sink and OTLP export receive the original values.
+func (m Map) RedactedLogValue() slog.Value {
+ return slog.AnyValue(redactMapSecrets(m))
+}
+
+func redactSecretValues(v Value) Value {
+ switch {
+ case v.Secret():
+ return New("[secret]")
+ case v.IsMap():
+ return New(redactMapSecrets(v.AsMap()))
+ case v.IsArray():
+ arr := v.AsArray().AsSlice()
+ redacted := make([]Value, len(arr))
+ for i, e := range arr {
+ redacted[i] = redactSecretValues(e)
+ }
+ return New(NewArray(redacted))
+ default:
+ return v
+ }
+}
+
+func redactMapSecrets(m Map) Map {
+ orig := m.AsMap()
+ redacted := make(map[string]Value, len(orig))
+ for k, e := range orig {
+ redacted[k] = redactSecretValues(e)
+ }
+ return NewMap(redacted)
+}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/property/map.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/property/map.go
index e92b223bb..a63f92399 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/property/map.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/property/map.go
@@ -15,6 +15,7 @@
package property
import (
+ "maps"
"slices"
)
@@ -129,8 +130,6 @@ func copyMapMaybeNil(m map[string]Value) map[string]Value {
func copyMapNonNil(m map[string]Value) map[string]Value {
cp := make(map[string]Value, len(m))
- for k, v := range m {
- cp[k] = v
- }
+ maps.Copy(cp, m)
return cp
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/callback.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/callback.go
index e147380eb..49888167e 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/callback.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/callback.go
@@ -71,8 +71,9 @@ func (s *callbackServer) RegisterCallback(function callbackFunction) (*pulumirpc
defer s.functionsLock.Unlock()
s.functions[uuidString] = function
return &pulumirpc.Callback{
- Token: uuidString,
- Target: "127.0.0.1:" + strconv.Itoa(s.handle.Port),
+ Token: uuidString,
+ Target: "127.0.0.1:" + strconv.Itoa(s.handle.Port),
+ AcceptsByteString: true,
}, nil
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/context.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/context.go
index b0559ad96..9fb573f1d 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/context.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/context.go
@@ -49,7 +49,9 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/credentials/insecure"
+ "google.golang.org/grpc/status"
"google.golang.org/protobuf/proto"
+ "google.golang.org/protobuf/types/known/emptypb"
"google.golang.org/protobuf/types/known/structpb"
)
@@ -70,6 +72,7 @@ type contextState struct {
keepResources bool // true if resources should be marshaled as strongly-typed references.
keepOutputValues bool // true if outputs should be marshaled as strongly-type output values.
+ keepByteString bool // true if strings containing non-UTF8 bytes may be sent to the monitor.
supportsDeletedWith bool // true if deletedWith supported by pulumi
supportsReplaceWith bool // true if replaceWith supported by pulumi
supportsAliasSpecs bool // true if full alias specification is supported by pulumi
@@ -144,66 +147,27 @@ func NewContext(ctx context.Context, info RunInfo) (*Context, error) {
monitor = wrap(monitor)
}
- supportsFeature := func(id string) (bool, error) {
- if monitor != nil {
- resp, err := monitor.SupportsFeature(ctx, &pulumirpc.SupportsFeatureRequest{Id: id})
- if err != nil {
- return false, fmt.Errorf("checking monitor features: %w", err)
+ var monitorFeatures []pulumirpc.ResourceMonitorFeature
+ if monitor != nil {
+ deploymentInfo, err := monitor.GetDeploymentInfo(ctx, &emptypb.Empty{})
+ if err == nil {
+ monitorFeatures = deploymentInfo.GetSupportedFeatures()
+ } else if status.Code(err) == codes.Unimplemented {
+ for _, k := range slices.Sorted(maps.Keys(legacyFeatureMapping)) {
+ r, err := monitor.SupportsFeature(ctx, &pulumirpc.SupportsFeatureRequest{Id: k})
+ if err != nil {
+ return nil, fmt.Errorf("checking monitor feature %q: %w", k, err)
+ }
+ if r.GetHasSupport() {
+ monitorFeatures = append(monitorFeatures, legacyFeatureMapping[k])
+ }
}
- return resp.GetHasSupport(), nil
+ } else {
+ return nil, fmt.Errorf("checking monitor features: %w", err)
}
- return false, nil
}
- keepResources, err := supportsFeature("resourceReferences")
- if err != nil {
- return nil, err
- }
-
- keepOutputValues, err := supportsFeature("outputValues")
- if err != nil {
- return nil, err
- }
-
- supportsDeletedWith, err := supportsFeature("deletedWith")
- if err != nil {
- return nil, err
- }
-
- supportsReplaceWith, err := supportsFeature("replaceWith")
- if err != nil {
- return nil, err
- }
-
- supportsAliasSpecs, err := supportsFeature("aliasSpecs")
- if err != nil {
- return nil, err
- }
-
- supportsTransforms, err := supportsFeature("transforms")
- if err != nil {
- return nil, err
- }
-
- supportsInvokeTransforms, err := supportsFeature("invokeTransforms")
- if err != nil {
- return nil, err
- }
-
- supportsParameterization, err := supportsFeature("parameterization")
- if err != nil {
- return nil, err
- }
-
- supportsResourceHooks, err := supportsFeature("resourceHooks")
- if err != nil {
- return nil, err
- }
-
- supportsErrorHooks, err := supportsFeature("errorHooks")
- if err != nil {
- return nil, err
- }
+ has := func(feature pulumirpc.ResourceMonitorFeature) bool { return slices.Contains(monitorFeatures, feature) }
contextState := &contextState{
info: info,
@@ -212,16 +176,17 @@ func NewContext(ctx context.Context, info RunInfo) (*Context, error) {
monitor: monitor,
engineConn: engineConn,
engine: engine,
- keepResources: keepResources,
- keepOutputValues: keepOutputValues,
- supportsDeletedWith: supportsDeletedWith,
- supportsReplaceWith: supportsReplaceWith,
- supportsAliasSpecs: supportsAliasSpecs,
- supportsTransforms: supportsTransforms,
- supportsInvokeTransforms: supportsInvokeTransforms,
- supportsParameterization: supportsParameterization,
- supportsResourceHooks: supportsResourceHooks,
- supportsErrorHooks: supportsErrorHooks,
+ keepResources: has(pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_RESOURCE_REFERENCES),
+ keepOutputValues: has(pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_OUTPUT_VALUES),
+ keepByteString: has(pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_BYTE_STRING),
+ supportsDeletedWith: has(pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_DELETED_WITH),
+ supportsReplaceWith: has(pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_REPLACE_WITH),
+ supportsAliasSpecs: has(pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_ALIAS_SPECS),
+ supportsTransforms: has(pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_TRANSFORMS),
+ supportsInvokeTransforms: has(pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_INVOKE_TRANSFORMS),
+ supportsParameterization: has(pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_PARAMETERIZATION),
+ supportsResourceHooks: has(pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_RESOURCE_HOOKS),
+ supportsErrorHooks: has(pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_ERROR_HOOKS),
registeredOutputs: make(map[URN]bool),
}
contextState.rpcsDone = sync.NewCond(&contextState.rpcsLock)
@@ -238,6 +203,22 @@ func NewContext(ctx context.Context, info RunInfo) (*Context, error) {
return context, nil
}
+// A frozen map of old feature IDs to the new resource monitor features.
+//
+// This map should never be updated.
+var legacyFeatureMapping = map[string]pulumirpc.ResourceMonitorFeature{
+ "resourceReferences": pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_RESOURCE_REFERENCES,
+ "outputValues": pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_OUTPUT_VALUES,
+ "deletedWith": pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_DELETED_WITH,
+ "replaceWith": pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_REPLACE_WITH,
+ "aliasSpecs": pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_ALIAS_SPECS,
+ "transforms": pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_TRANSFORMS,
+ "invokeTransforms": pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_INVOKE_TRANSFORMS,
+ "parameterization": pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_PARAMETERIZATION,
+ "resourceHooks": pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_RESOURCE_HOOKS,
+ "errorHooks": pulumirpc.ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_ERROR_HOOKS,
+}
+
// Context returns the base context used to instantiate the current context.
func (ctx *Context) Context() context.Context {
return ctx.ctx
@@ -337,12 +318,7 @@ func (ctx *Context) GetConfig(key string) (string, bool) {
// IsConfigSecret returns true if the config value is a secret.
func (ctx *Context) IsConfigSecret(key string) bool {
- for _, secretKey := range ctx.state.info.ConfigSecretKeys {
- if key == secretKey {
- return true
- }
- }
- return false
+ return slices.Contains(ctx.state.info.ConfigSecretKeys, key)
}
// registerTransform starts up a callback server if not already running and registers the given transform.
@@ -496,9 +472,10 @@ func (ctx *Context) registerTransform(t ResourceTransform) (*pulumirpc.Callback,
rpcRes.Properties, err = plugin.MarshalProperties(
properties,
plugin.MarshalOptions{
- KeepUnknowns: true,
- KeepSecrets: true,
- KeepResources: ctx.state.keepResources,
+ KeepUnknowns: true,
+ KeepSecrets: true,
+ KeepResources: ctx.state.keepResources,
+ KeepByteString: ctx.state.keepByteString,
},
)
if err != nil {
@@ -689,9 +666,10 @@ func (ctx *Context) registerInvokeTransform(t InvokeTransform) (*pulumirpc.Callb
rpcRes.Args, err = plugin.MarshalProperties(
args,
plugin.MarshalOptions{
- KeepUnknowns: true,
- KeepSecrets: true,
- KeepResources: ctx.state.keepResources,
+ KeepUnknowns: true,
+ KeepSecrets: true,
+ KeepResources: ctx.state.keepResources,
+ KeepByteString: ctx.state.keepByteString,
},
)
if err != nil {
@@ -792,9 +770,10 @@ func (ctx *Context) invokePackageRaw(
rpcArgs, err := plugin.MarshalProperties(
resolvedArgsMap,
plugin.MarshalOptions{
- KeepUnknowns: true,
- KeepSecrets: true,
- KeepResources: ctx.state.keepResources,
+ KeepUnknowns: true,
+ KeepSecrets: true,
+ KeepResources: ctx.state.keepResources,
+ KeepByteString: ctx.state.keepByteString,
},
)
if err != nil {
@@ -810,6 +789,7 @@ func (ctx *Context) invokePackageRaw(
Version: options.Version,
PluginDownloadURL: options.PluginDownloadURL,
AcceptResources: !disableResourceReferences,
+ AcceptsByteString: true,
PackageRef: packageRef,
})
if err != nil {
@@ -1094,6 +1074,7 @@ func (ctx *Context) CallPackage(
KeepUnknowns: true,
KeepSecrets: true,
KeepResources: ctx.state.keepResources,
+ KeepByteString: ctx.state.keepByteString,
KeepOutputValues: ctx.state.keepOutputValues,
})
if err != nil {
@@ -1103,7 +1084,7 @@ func (ctx *Context) CallPackage(
// Convert the arg dependencies map for RPC and remove duplicates.
rpcArgDeps := make(map[string]*pulumirpc.ResourceCallRequest_ArgumentDependencies)
for k, deps := range argDeps {
- sort.Slice(deps, func(i, j int) bool { return deps[i] < deps[j] })
+ slices.Sort(deps)
urns := slice.Prealloc[string](len(deps))
for i, d := range deps {
@@ -1126,6 +1107,7 @@ func (ctx *Context) CallPackage(
Version: version,
PluginDownloadURL: pluginURL,
PackageRef: packageRef,
+ AcceptsByteString: true,
}, nil
}
@@ -1437,6 +1419,7 @@ func (ctx *Context) readPackageResource(
Id: string(idToRead),
AcceptSecrets: true,
AcceptResources: !disableResourceReferences,
+ AcceptsByteString: true,
AdditionalSecretOutputs: inputs.additionalSecretOutputs,
SourcePosition: sourcePosition,
StackTrace: stackTrace,
@@ -1465,9 +1448,10 @@ func (ctx *Context) getResource(urn string) (*pulumirpc.RegisterResourceResponse
rpcArgs, err := plugin.MarshalProperties(
resolvedArgsMap,
plugin.MarshalOptions{
- KeepUnknowns: true,
- KeepSecrets: true,
- KeepResources: ctx.state.keepResources,
+ KeepUnknowns: true,
+ KeepSecrets: true,
+ KeepResources: ctx.state.keepResources,
+ KeepByteString: ctx.state.keepByteString,
},
)
if err != nil {
@@ -1477,9 +1461,10 @@ func (ctx *Context) getResource(urn string) (*pulumirpc.RegisterResourceResponse
tok := "pulumi:pulumi:getResource"
logging.V(9).Infof("Invoke(%s, #args=%d): RPC call being made synchronously", tok, len(resolvedArgsMap))
resp, err := ctx.state.monitor.Invoke(ctx.ctx, &pulumirpc.ResourceInvokeRequest{
- Tok: "pulumi:pulumi:getResource",
- Args: rpcArgs,
- AcceptResources: !disableResourceReferences,
+ Tok: "pulumi:pulumi:getResource",
+ Args: rpcArgs,
+ AcceptResources: !disableResourceReferences,
+ AcceptsByteString: true,
})
if err != nil {
return nil, fmt.Errorf("invoke(%s, ...): error: %w", tok, err)
@@ -1874,6 +1859,7 @@ func (ctx *Context) registerResource(
Aliases: aliases,
AcceptSecrets: true,
AcceptResources: !disableResourceReferences,
+ AcceptsByteString: true,
AdditionalSecretOutputs: inputs.additionalSecretOutputs,
Version: inputs.version,
PluginDownloadURL: inputs.pluginDownloadURL,
@@ -2084,15 +2070,11 @@ func (ctx *Context) mergeProviders(t string, parent Resource, provider ProviderR
// copy parent providers
result := make(map[string]ProviderResource)
if parent != nil {
- for k, v := range parent.getProviders() {
- result[k] = v
- }
+ maps.Copy(result, parent.getProviders())
}
// copy provider map
- for k, v := range providerMap {
- result[k] = v
- }
+ maps.Copy(result, providerMap)
// copy specific provider, if any
if provider != nil {
@@ -2181,7 +2163,7 @@ func (ctx *Context) collapseAliases(aliases []Alias, t, name string, parent Reso
return aliasURNs, nil
}
-var mapOutputType = reflect.TypeOf((*MapOutput)(nil)).Elem()
+var mapOutputType = reflect.TypeFor[MapOutput]()
// makeResourceState creates a set of resolvers that we'll use to finalize state, for URNs, IDs, and output
// properties.
@@ -2609,9 +2591,10 @@ func (ctx *Context) prepareResourceInputs(res Resource, props Input, t string, o
rpcProps, err := plugin.MarshalProperties(
resolvedProps,
plugin.MarshalOptions{
- KeepUnknowns: true,
- KeepSecrets: true,
- KeepResources: ctx.state.keepResources,
+ KeepUnknowns: true,
+ KeepSecrets: true,
+ KeepResources: ctx.state.keepResources,
+ KeepByteString: ctx.state.keepByteString,
// To initially scope the use of this new feature, we only keep output values when
// remote is true (for multi-lang components).
KeepOutputValues: remote && ctx.state.keepOutputValues,
@@ -2658,6 +2641,7 @@ func (ctx *Context) prepareResourceInputs(res Resource, props Input, t string, o
KeepUnknowns: true,
KeepSecrets: true,
KeepResources: ctx.state.keepResources,
+ KeepByteString: ctx.state.keepByteString,
KeepOutputValues: remote && ctx.state.keepOutputValues,
},
)
@@ -2922,9 +2906,10 @@ func (ctx *Context) RegisterResourceOutputs(resource Resource, outs Map) error {
outsMarshalled, err := plugin.MarshalProperties(
outsResolved.ObjectValue(),
plugin.MarshalOptions{
- KeepUnknowns: true,
- KeepSecrets: true,
- KeepResources: ctx.state.keepResources,
+ KeepUnknowns: true,
+ KeepSecrets: true,
+ KeepResources: ctx.state.keepResources,
+ KeepByteString: ctx.state.keepByteString,
})
if err != nil {
return
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/mocks.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/mocks.go
index bb3de29e7..8b9d45875 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/mocks.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/mocks.go
@@ -367,7 +367,7 @@ func (m *mockMonitor) RegisterResourceOutputs(ctx context.Context, in *pulumirpc
) (*emptypb.Empty, error) {
// Get the concrete type of the mock resource monitor.
// This is needed to call the RegisterResourceOutputs method on the mock resource monitor if it exists.
- if reflect.TypeOf(m.mocks).Implements(reflect.TypeOf((*mockResourceMonitorWithRegisterResourceOutput)(nil)).Elem()) {
+ if reflect.TypeOf(m.mocks).Implements(reflect.TypeFor[mockResourceMonitorWithRegisterResourceOutput]()) {
// Call the RegisterResourceOutputs method on the mock resource monitor.
if m, ok := m.mocks.(mockResourceMonitorWithRegisterResourceOutput); ok {
return m.RegisterResourceOutputs()
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/provider.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/provider.go
index a368341f5..e8c9ae80d 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/provider.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/provider.go
@@ -21,7 +21,6 @@ import (
"maps"
"reflect"
"slices"
- "sort"
"strings"
"github.com/pulumi/pulumi/sdk/v3/go/common/resource"
@@ -242,7 +241,7 @@ func construct(ctx context.Context, req *pulumirpc.ConstructRequest, engineConn
// Convert the property dependencies map for RPC and remove duplicates.
rpcPropertyDeps := make(map[string]*pulumirpc.ConstructResponse_PropertyDependencies)
for k, deps := range propertyDeps {
- sort.Slice(deps, func(i, j int) bool { return deps[i] < deps[j] })
+ slices.Sort(deps)
urns := slice.Prealloc[string](len(deps))
for i, d := range deps {
@@ -735,7 +734,7 @@ func constructInputsCopyTo(ctx *Context, inputs map[string]any, args any) error
elemType := field.Type.Elem()
length := len(ci.value.ArrayValue())
dest := reflect.MakeSlice(field.Type, length, length)
- for i := 0; i < length; i++ {
+ for i := range length {
val, err := handleField(elemType, ci.value.ArrayValue()[i], ci.Dependencies(ctx))
if err != nil {
return err
@@ -907,7 +906,7 @@ func call(ctx context.Context, req *pulumirpc.CallRequest, engineConn *grpc.Clie
// Convert the property dependencies map for RPC and remove duplicates.
rpcPropertyDeps := make(map[string]*pulumirpc.CallResponse_ReturnDependencies)
for k, deps := range propertyDeps {
- sort.Slice(deps, func(i, j int) bool { return deps[i] < deps[j] })
+ slices.Sort(deps)
urns := slice.Prealloc[string](len(deps))
for i, d := range deps {
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/resource.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/resource.go
index 1b321a33a..15952a200 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/resource.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/resource.go
@@ -17,6 +17,7 @@ package pulumi
import (
"context"
"fmt"
+ "maps"
"reflect"
"sort"
"strings"
@@ -38,9 +39,9 @@ type (
)
var (
- resourceStateType = reflect.TypeOf(ResourceState{})
- customResourceStateType = reflect.TypeOf(CustomResourceState{})
- providerResourceStateType = reflect.TypeOf(ProviderResourceState{})
+ resourceStateType = reflect.TypeFor[ResourceState]()
+ customResourceStateType = reflect.TypeFor[CustomResourceState]()
+ providerResourceStateType = reflect.TypeFor[ProviderResourceState]()
)
// This type alias is a hack to embed the internal.ResourceState type
@@ -1058,9 +1059,7 @@ func ProviderMap(o map[string]ProviderResource) ResourceOption {
if ro.Providers == nil {
ro.Providers = make(map[string]ProviderResource)
}
- for k, v := range o {
- ro.Providers[k] = v
- }
+ maps.Copy(ro.Providers, o)
}
})
}
@@ -1195,9 +1194,7 @@ func EnvVarMappings(mappings map[string]string) ResourceOption {
if ro.EnvVarMappings == nil {
ro.EnvVarMappings = make(map[string]string)
}
- for k, v := range mappings {
- ro.EnvVarMappings[k] = v
- }
+ maps.Copy(ro.EnvVarMappings, mappings)
}
})
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/rpc.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/rpc.go
index f6d46d579..cacde1c3a 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/rpc.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/rpc.go
@@ -182,7 +182,7 @@ func marshalInputsOptions(props Input, opts *marshalOptions) (resource.PropertyM
getMappedField := internal.MapStructTypes(pt, rt)
// Now, marshal each field in the input.
numFields := pt.NumField()
- for i := 0; i < numFields; i++ {
+ for i := range numFields {
destField, _ := getMappedField(reflect.Value{}, i)
tag := destField.Tag.Get("pulumi")
tag = strings.Split(tag, ",")[0] // tagName,flag => tagName
@@ -712,12 +712,12 @@ func unmarshalPropertyMap(ctx *Context, v resource.PropertyMap) (Map, error) {
resRef := v.ResourceReferenceValue()
res := ctx.newDependencyResource(URN(resRef.URN))
- output := ctx.newOutput(reflect.TypeOf((*ResourceOutput)(nil)).Elem())
+ output := ctx.newOutput(reflect.TypeFor[ResourceOutput]())
internal.ResolveOutput(output, res, true, false, nil /* deps */)
return output, nil
case v.IsComputed():
- typ := reflect.TypeOf((*any)(nil)).Elem()
+ typ := reflect.TypeFor[any]()
typ = getOutputType(typ)
output := ctx.newOutput(typ)
internal.ResolveOutput(output, nil, false, false, nil /* deps */)
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/stack_reference.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/stack_reference.go
index f7f5197ab..e93665c1a 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/stack_reference.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/stack_reference.go
@@ -188,7 +188,7 @@ type StackReferenceArgs struct {
}
func (StackReferenceArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*stackReferenceArgs)(nil)).Elem()
+ return reflect.TypeFor[stackReferenceArgs]()
}
// NewStackReference creates a stack reference that makes available outputs from the specified stack
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/stash.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/stash.go
index ccc42ee60..2a02b505f 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/stash.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/stash.go
@@ -43,7 +43,7 @@ type StashArgs struct {
}
func (StashArgs) ElementType() reflect.Type {
- return reflect.TypeOf((*stashArgs)(nil)).Elem()
+ return reflect.TypeFor[stashArgs]()
}
// NewStash creates a stash resource that stores a value
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/types.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/types.go
index 9115d1da3..93d5428b0 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/types.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/types.go
@@ -33,8 +33,8 @@ import (
type Output = internal.Output
var (
- outputType = reflect.TypeOf((*Output)(nil)).Elem()
- inputType = reflect.TypeOf((*Input)(nil)).Elem()
+ outputType = reflect.TypeFor[Output]()
+ inputType = reflect.TypeFor[Input]()
)
// RegisterOutputType registers an Output type with the Pulumi runtime. If a value of this type's concrete type is
@@ -74,7 +74,7 @@ func NewOutput() (Output, func(any), func(error)) {
return newAnyOutput(nil)
}
-var anyOutputType = reflect.TypeOf((*AnyOutput)(nil)).Elem()
+var anyOutputType = reflect.TypeFor[AnyOutput]()
// IsSecret returns a bool representing the secretness of the Output
//
@@ -295,7 +295,7 @@ func init() {
// }
type Input = internal.Input
-var anyType = reflect.TypeOf((*any)(nil)).Elem()
+var anyType = reflect.TypeFor[any]()
func Any(v any) AnyOutput {
return AnyWithContext(context.Background(), v)
@@ -410,7 +410,7 @@ func (ResourceOutput) MarshalJSON() ([]byte, error) {
// ElementType returns the element type of this Output (Resource).
func (ResourceOutput) ElementType() reflect.Type {
- return reflect.TypeOf((*Resource)(nil)).Elem()
+ return reflect.TypeFor[Resource]()
}
func (o ResourceOutput) ToOutput(context.Context) pulumix.Output[Resource] {
@@ -448,7 +448,7 @@ func NewResourceOutput(resource Resource) ResourceOutput {
var _ ResourceInput = &ResourceOutput{}
-var resourceArrayType = reflect.TypeOf((*[]Resource)(nil)).Elem()
+var resourceArrayType = reflect.TypeFor[[]Resource]()
// ResourceArrayInput is an input type that accepts ResourceArray and ResourceArrayOutput values.
type ResourceArrayInput interface {
@@ -549,7 +549,7 @@ func NewResourceArrayOutput(in ...ResourceOutput) ResourceArrayOutput {
}
func init() {
- RegisterInputType(reflect.TypeOf((*ResourceArrayInput)(nil)).Elem(), ResourceArray{})
+ RegisterInputType(reflect.TypeFor[ResourceArrayInput](), ResourceArray{})
RegisterOutputType(ResourceOutput{})
RegisterOutputType(ResourceArrayOutput{})
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumix/types.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumix/types.go
index f3b8239c1..d0dc288fe 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumix/types.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumix/types.go
@@ -71,7 +71,7 @@ var (
// that will match the isOutput method defined above.
isOutputType = typeOf[interface{ isOutput() }]()
- contextType = reflect.TypeOf((*context.Context)(nil)).Elem()
+ contextType = reflect.TypeFor[context.Context]()
)
// InputElementType returns the element type of an Input[T]
@@ -206,5 +206,5 @@ func Cast[O OutputOf[T], T any](i Input[T]) O {
//
// This may be deleted if https://github.com/golang/go/issues/60088 lands.
func typeOf[T any]() reflect.Type {
- return reflect.TypeOf((*T)(nil)).Elem()
+ return reflect.TypeFor[T]()
}
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/callback.pb.go b/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/callback.pb.go
index 1e6204929..54796d6be 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/callback.pb.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/callback.pb.go
@@ -40,9 +40,13 @@ type Callback struct {
// the gRPC target of the callback service.
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
// the service specific unique token for this callback.
- Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
+ Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
+ // True if and only if the callback host supports strings containing bytes that are not valid UTF-8, marshaled
+ // as objects carrying the byte string signature and a base64 encoding of the string's bytes. If true, the
+ // caller may pass such values to the callback.
+ AcceptsByteString bool `protobuf:"varint,3,opt,name=accepts_byte_string,json=acceptsByteString,proto3" json:"accepts_byte_string,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
}
func (x *Callback) Reset() {
@@ -89,6 +93,13 @@ func (x *Callback) GetToken() string {
return ""
}
+func (x *Callback) GetAcceptsByteString() bool {
+ if x != nil {
+ return x.AcceptsByteString
+ }
+ return false
+}
+
type CallbackInvokeRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// the token for the callback.
@@ -192,10 +203,11 @@ var File_pulumi_callback_proto protoreflect.FileDescriptor
const file_pulumi_callback_proto_rawDesc = "" +
"\n" +
- "\x15pulumi/callback.proto\x12\tpulumirpc\"8\n" +
+ "\x15pulumi/callback.proto\x12\tpulumirpc\"h\n" +
"\bCallback\x12\x16\n" +
"\x06target\x18\x01 \x01(\tR\x06target\x12\x14\n" +
- "\x05token\x18\x02 \x01(\tR\x05token\"G\n" +
+ "\x05token\x18\x02 \x01(\tR\x05token\x12.\n" +
+ "\x13accepts_byte_string\x18\x03 \x01(\bR\x11acceptsByteString\"G\n" +
"\x15CallbackInvokeRequest\x12\x14\n" +
"\x05token\x18\x01 \x01(\tR\x05token\x12\x18\n" +
"\arequest\x18\x02 \x01(\fR\arequest\"4\n" +
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/converter.pb.go b/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/converter.pb.go
index 9cb3099d7..709d11d23 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/converter.pb.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/converter.pb.go
@@ -24,6 +24,7 @@ import (
codegen "github.com/pulumi/pulumi/sdk/v3/proto/go/codegen"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ structpb "google.golang.org/protobuf/types/known/structpb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
@@ -42,7 +43,9 @@ type ConvertStateRequest struct {
MapperTarget string `protobuf:"bytes,1,opt,name=mapper_target,json=mapperTarget,proto3" json:"mapper_target,omitempty"`
// the args passed to `pulumi import` for this conversion. Normally used to specifiy a state file to
// import from.
- Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
+ Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
+ // The target of a codegen.LoaderServer to use for loading schemas.
+ LoaderTarget string `protobuf:"bytes,3,opt,name=loader_target,json=loaderTarget,proto3" json:"loader_target,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@@ -91,6 +94,13 @@ func (x *ConvertStateRequest) GetArgs() []string {
return nil
}
+func (x *ConvertStateRequest) GetLoaderTarget() string {
+ if x != nil {
+ return x.LoaderTarget
+ }
+ return ""
+}
+
// A ResourceImport specifies a resource to import.
type ResourceImport struct {
state protoimpl.MessageState `protogen:"open.v1"`
@@ -116,7 +126,26 @@ type ResourceImport struct {
// the extension parameterization to apply to the resource's provider, if any. Unlike a replacement
// parameterization, the resource's own type is in the base provider's package; the extension is a blob
// applied on top of that provider. Mutually exclusive with parameterization.
- Extension *ResourceExtension `protobuf:"bytes,10,opt,name=extension,proto3" json:"extension,omitempty"`
+ Extension *ResourceExtension `protobuf:"bytes,10,opt,name=extension,proto3" json:"extension,omitempty"`
+ // the name of the resource's parent, if any. Must reference the name of another resource in the same
+ // response; resources without a parent are parented to the stack root.
+ Parent string `protobuf:"bytes,11,opt,name=parent,proto3" json:"parent,omitempty"`
+ // the input properties to include when generating code for the resource. Defaults to the resource's
+ // required properties.
+ Properties []string `protobuf:"bytes,12,rep,name=properties,proto3" json:"properties,omitempty"`
+ // the name of the resource's explicit provider, if any. Must reference the name of a provider
+ // declared as another resource (of type "pulumi:providers:") in the same response;
+ // resources without a provider are served by an appropriate default provider.
+ Provider string `protobuf:"bytes,13,opt,name=provider,proto3" json:"provider,omitempty"`
+ // input properties supplied for the resource, if any. Values the provider's Read cannot return
+ // (e.g. write-only attributes) are taken from here instead. For a provider declared in the
+ // response, inputs is its configuration. Secret values are marked with Pulumi's standard secret
+ // signature.
+ Inputs *structpb.Struct `protobuf:"bytes,14,opt,name=inputs,proto3" json:"inputs,omitempty"`
+ // the resource's full output state, if any. When set, the resource is imported from these values
+ // directly and the provider's Read is skipped entirely. Secret values are marked with Pulumi's
+ // standard secret signature.
+ Outputs *structpb.Struct `protobuf:"bytes,15,opt,name=outputs,proto3" json:"outputs,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@@ -221,6 +250,41 @@ func (x *ResourceImport) GetExtension() *ResourceExtension {
return nil
}
+func (x *ResourceImport) GetParent() string {
+ if x != nil {
+ return x.Parent
+ }
+ return ""
+}
+
+func (x *ResourceImport) GetProperties() []string {
+ if x != nil {
+ return x.Properties
+ }
+ return nil
+}
+
+func (x *ResourceImport) GetProvider() string {
+ if x != nil {
+ return x.Provider
+ }
+ return ""
+}
+
+func (x *ResourceImport) GetInputs() *structpb.Struct {
+ if x != nil {
+ return x.Inputs
+ }
+ return nil
+}
+
+func (x *ResourceImport) GetOutputs() *structpb.Struct {
+ if x != nil {
+ return x.Outputs
+ }
+ return nil
+}
+
// A ResourceParameterization describes the base plugin that a resource's parameterized provider is built
// from. The parameterized package name and version are taken from the resource's own type and version.
type ResourceParameterization struct {
@@ -556,7 +620,9 @@ type ConvertSnippetRequest struct {
// a function token, or a resource token.
Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`
// any extra attributes to convert.
- Attributes map[string]string `protobuf:"bytes,6,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ Attributes map[string]string `protobuf:"bytes,6,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ // any external resource references to convert.
+ Resources map[string]*ConvertSnippetRequest_ResourceReference `protobuf:"bytes,7,rep,name=resources,proto3" json:"resources,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@@ -633,6 +699,13 @@ func (x *ConvertSnippetRequest) GetAttributes() map[string]string {
return nil
}
+func (x *ConvertSnippetRequest) GetResources() map[string]*ConvertSnippetRequest_ResourceReference {
+ if x != nil {
+ return x.Resources
+ }
+ return nil
+}
+
type ConvertSnippetResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Any diagnostics raised by code generation.
@@ -642,7 +715,10 @@ type ConvertSnippetResponse struct {
// The generated PCL source code.
Source []byte `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
// any extra attributes to merge into the final pcl result.
- Attributes map[string]string `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ Attributes map[string]string `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+ // any external resource names that were rewritten during conversion. The keys are identifiers
+ // in the source language and the values are identifiers in the generated PCL.
+ ResourceNames map[string]string `protobuf:"bytes,5,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@@ -705,14 +781,76 @@ func (x *ConvertSnippetResponse) GetAttributes() map[string]string {
return nil
}
+func (x *ConvertSnippetResponse) GetResourceNames() map[string]string {
+ if x != nil {
+ return x.ResourceNames
+ }
+ return nil
+}
+
+type ConvertSnippetRequest_ResourceReference struct {
+ state protoimpl.MessageState `protogen:"open.v1"`
+ // The resource token for the referenced resource.
+ Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
+ // The package description to load for the referenced resource.
+ Package *codegen.GetSchemaRequest `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
+}
+
+func (x *ConvertSnippetRequest_ResourceReference) Reset() {
+ *x = ConvertSnippetRequest_ResourceReference{}
+ mi := &file_pulumi_converter_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+}
+
+func (x *ConvertSnippetRequest_ResourceReference) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ConvertSnippetRequest_ResourceReference) ProtoMessage() {}
+
+func (x *ConvertSnippetRequest_ResourceReference) ProtoReflect() protoreflect.Message {
+ mi := &file_pulumi_converter_proto_msgTypes[10]
+ if x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ConvertSnippetRequest_ResourceReference.ProtoReflect.Descriptor instead.
+func (*ConvertSnippetRequest_ResourceReference) Descriptor() ([]byte, []int) {
+ return file_pulumi_converter_proto_rawDescGZIP(), []int{7, 1}
+}
+
+func (x *ConvertSnippetRequest_ResourceReference) GetToken() string {
+ if x != nil {
+ return x.Token
+ }
+ return ""
+}
+
+func (x *ConvertSnippetRequest_ResourceReference) GetPackage() *codegen.GetSchemaRequest {
+ if x != nil {
+ return x.Package
+ }
+ return nil
+}
+
var File_pulumi_converter_proto protoreflect.FileDescriptor
const file_pulumi_converter_proto_rawDesc = "" +
"\n" +
- "\x16pulumi/converter.proto\x12\tpulumirpc\x1a\x18pulumi/codegen/hcl.proto\x1a\x1bpulumi/codegen/loader.proto\"N\n" +
+ "\x16pulumi/converter.proto\x12\tpulumirpc\x1a\x1cgoogle/protobuf/struct.proto\x1a\x18pulumi/codegen/hcl.proto\x1a\x1bpulumi/codegen/loader.proto\"s\n" +
"\x13ConvertStateRequest\x12#\n" +
"\rmapper_target\x18\x01 \x01(\tR\fmapperTarget\x12\x12\n" +
- "\x04args\x18\x02 \x03(\tR\x04args\"\x80\x03\n" +
+ "\x04args\x18\x02 \x03(\tR\x04args\x12#\n" +
+ "\rloader_target\x18\x03 \x01(\tR\floaderTarget\"\xb8\x04\n" +
"\x0eResourceImport\x12\x12\n" +
"\x04type\x18\x01 \x01(\tR\x04type\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12\x0e\n" +
@@ -724,7 +862,14 @@ const file_pulumi_converter_proto_rawDesc = "" +
"\tis_remote\x18\b \x01(\bR\bisRemote\x12O\n" +
"\x10parameterization\x18\t \x01(\v2#.pulumirpc.ResourceParameterizationR\x10parameterization\x12:\n" +
"\textension\x18\n" +
- " \x01(\v2\x1c.pulumirpc.ResourceExtensionR\textension\"x\n" +
+ " \x01(\v2\x1c.pulumirpc.ResourceExtensionR\textension\x12\x16\n" +
+ "\x06parent\x18\v \x01(\tR\x06parent\x12\x1e\n" +
+ "\n" +
+ "properties\x18\f \x03(\tR\n" +
+ "properties\x12\x1a\n" +
+ "\bprovider\x18\r \x01(\tR\bprovider\x12/\n" +
+ "\x06inputs\x18\x0e \x01(\v2\x17.google.protobuf.StructR\x06inputs\x121\n" +
+ "\aoutputs\x18\x0f \x01(\v2\x17.google.protobuf.StructR\aoutputs\"x\n" +
"\x18ResourceParameterization\x12\x1f\n" +
"\vplugin_name\x18\x01 \x01(\tR\n" +
"pluginName\x12%\n" +
@@ -745,7 +890,7 @@ const file_pulumi_converter_proto_rawDesc = "" +
"\x04args\x18\x05 \x03(\tR\x04args\x12>\n" +
"\x1bgenerated_project_directory\x18\x06 \x01(\tR\x19generatedProjectDirectory\"Y\n" +
"\x16ConvertProgramResponse\x12?\n" +
- "\vdiagnostics\x18\x01 \x03(\v2\x1d.pulumirpc.codegen.DiagnosticR\vdiagnostics\"\xcc\x02\n" +
+ "\vdiagnostics\x18\x01 \x03(\v2\x1d.pulumirpc.codegen.DiagnosticR\vdiagnostics\"\xed\x04\n" +
"\x15ConvertSnippetRequest\x12\x1a\n" +
"\bfilename\x18\x01 \x01(\tR\bfilename\x12\x16\n" +
"\x06source\x18\x02 \x01(\fR\x06source\x12#\n" +
@@ -754,19 +899,30 @@ const file_pulumi_converter_proto_rawDesc = "" +
"\x05token\x18\x05 \x01(\tR\x05token\x12P\n" +
"\n" +
"attributes\x18\x06 \x03(\v20.pulumirpc.ConvertSnippetRequest.AttributesEntryR\n" +
- "attributes\x1a=\n" +
+ "attributes\x12M\n" +
+ "\tresources\x18\a \x03(\v2/.pulumirpc.ConvertSnippetRequest.ResourcesEntryR\tresources\x1a=\n" +
"\x0fAttributesEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
- "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x9f\x02\n" +
+ "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a^\n" +
+ "\x11ResourceReference\x12\x14\n" +
+ "\x05token\x18\x01 \x01(\tR\x05token\x123\n" +
+ "\apackage\x18\x02 \x01(\v2\x19.codegen.GetSchemaRequestR\apackage\x1ap\n" +
+ "\x0eResourcesEntry\x12\x10\n" +
+ "\x03key\x18\x01 \x01(\tR\x03key\x12H\n" +
+ "\x05value\x18\x02 \x01(\v22.pulumirpc.ConvertSnippetRequest.ResourceReferenceR\x05value:\x028\x01\"\xbe\x03\n" +
"\x16ConvertSnippetResponse\x12?\n" +
"\vdiagnostics\x18\x01 \x03(\v2\x1d.pulumirpc.codegen.DiagnosticR\vdiagnostics\x12\x1a\n" +
"\bfilename\x18\x02 \x01(\tR\bfilename\x12\x16\n" +
"\x06source\x18\x03 \x01(\fR\x06source\x12Q\n" +
"\n" +
"attributes\x18\x04 \x03(\v21.pulumirpc.ConvertSnippetResponse.AttributesEntryR\n" +
- "attributes\x1a=\n" +
+ "attributes\x12[\n" +
+ "\x0eresource_names\x18\x05 \x03(\v24.pulumirpc.ConvertSnippetResponse.ResourceNamesEntryR\rresourceNames\x1a=\n" +
"\x0fAttributesEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
+ "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a@\n" +
+ "\x12ResourceNamesEntry\x12\x10\n" +
+ "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x012\x90\x02\n" +
"\tConverter\x12Q\n" +
"\fConvertState\x12\x1e.pulumirpc.ConvertStateRequest\x1a\x1f.pulumirpc.ConvertStateResponse\"\x00\x12W\n" +
@@ -785,43 +941,53 @@ func file_pulumi_converter_proto_rawDescGZIP() []byte {
return file_pulumi_converter_proto_rawDescData
}
-var file_pulumi_converter_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
+var file_pulumi_converter_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_pulumi_converter_proto_goTypes = []any{
- (*ConvertStateRequest)(nil), // 0: pulumirpc.ConvertStateRequest
- (*ResourceImport)(nil), // 1: pulumirpc.ResourceImport
- (*ResourceParameterization)(nil), // 2: pulumirpc.ResourceParameterization
- (*ResourceExtension)(nil), // 3: pulumirpc.ResourceExtension
- (*ConvertStateResponse)(nil), // 4: pulumirpc.ConvertStateResponse
- (*ConvertProgramRequest)(nil), // 5: pulumirpc.ConvertProgramRequest
- (*ConvertProgramResponse)(nil), // 6: pulumirpc.ConvertProgramResponse
- (*ConvertSnippetRequest)(nil), // 7: pulumirpc.ConvertSnippetRequest
- (*ConvertSnippetResponse)(nil), // 8: pulumirpc.ConvertSnippetResponse
- nil, // 9: pulumirpc.ConvertSnippetRequest.AttributesEntry
- nil, // 10: pulumirpc.ConvertSnippetResponse.AttributesEntry
- (*codegen.Diagnostic)(nil), // 11: pulumirpc.codegen.Diagnostic
- (*codegen.GetSchemaRequest)(nil), // 12: codegen.GetSchemaRequest
+ (*ConvertStateRequest)(nil), // 0: pulumirpc.ConvertStateRequest
+ (*ResourceImport)(nil), // 1: pulumirpc.ResourceImport
+ (*ResourceParameterization)(nil), // 2: pulumirpc.ResourceParameterization
+ (*ResourceExtension)(nil), // 3: pulumirpc.ResourceExtension
+ (*ConvertStateResponse)(nil), // 4: pulumirpc.ConvertStateResponse
+ (*ConvertProgramRequest)(nil), // 5: pulumirpc.ConvertProgramRequest
+ (*ConvertProgramResponse)(nil), // 6: pulumirpc.ConvertProgramResponse
+ (*ConvertSnippetRequest)(nil), // 7: pulumirpc.ConvertSnippetRequest
+ (*ConvertSnippetResponse)(nil), // 8: pulumirpc.ConvertSnippetResponse
+ nil, // 9: pulumirpc.ConvertSnippetRequest.AttributesEntry
+ (*ConvertSnippetRequest_ResourceReference)(nil), // 10: pulumirpc.ConvertSnippetRequest.ResourceReference
+ nil, // 11: pulumirpc.ConvertSnippetRequest.ResourcesEntry
+ nil, // 12: pulumirpc.ConvertSnippetResponse.AttributesEntry
+ nil, // 13: pulumirpc.ConvertSnippetResponse.ResourceNamesEntry
+ (*structpb.Struct)(nil), // 14: google.protobuf.Struct
+ (*codegen.Diagnostic)(nil), // 15: pulumirpc.codegen.Diagnostic
+ (*codegen.GetSchemaRequest)(nil), // 16: codegen.GetSchemaRequest
}
var file_pulumi_converter_proto_depIdxs = []int32{
2, // 0: pulumirpc.ResourceImport.parameterization:type_name -> pulumirpc.ResourceParameterization
3, // 1: pulumirpc.ResourceImport.extension:type_name -> pulumirpc.ResourceExtension
- 1, // 2: pulumirpc.ConvertStateResponse.resources:type_name -> pulumirpc.ResourceImport
- 11, // 3: pulumirpc.ConvertStateResponse.diagnostics:type_name -> pulumirpc.codegen.Diagnostic
- 11, // 4: pulumirpc.ConvertProgramResponse.diagnostics:type_name -> pulumirpc.codegen.Diagnostic
- 12, // 5: pulumirpc.ConvertSnippetRequest.package:type_name -> codegen.GetSchemaRequest
- 9, // 6: pulumirpc.ConvertSnippetRequest.attributes:type_name -> pulumirpc.ConvertSnippetRequest.AttributesEntry
- 11, // 7: pulumirpc.ConvertSnippetResponse.diagnostics:type_name -> pulumirpc.codegen.Diagnostic
- 10, // 8: pulumirpc.ConvertSnippetResponse.attributes:type_name -> pulumirpc.ConvertSnippetResponse.AttributesEntry
- 0, // 9: pulumirpc.Converter.ConvertState:input_type -> pulumirpc.ConvertStateRequest
- 5, // 10: pulumirpc.Converter.ConvertProgram:input_type -> pulumirpc.ConvertProgramRequest
- 7, // 11: pulumirpc.Converter.ConvertSnippet:input_type -> pulumirpc.ConvertSnippetRequest
- 4, // 12: pulumirpc.Converter.ConvertState:output_type -> pulumirpc.ConvertStateResponse
- 6, // 13: pulumirpc.Converter.ConvertProgram:output_type -> pulumirpc.ConvertProgramResponse
- 8, // 14: pulumirpc.Converter.ConvertSnippet:output_type -> pulumirpc.ConvertSnippetResponse
- 12, // [12:15] is the sub-list for method output_type
- 9, // [9:12] is the sub-list for method input_type
- 9, // [9:9] is the sub-list for extension type_name
- 9, // [9:9] is the sub-list for extension extendee
- 0, // [0:9] is the sub-list for field type_name
+ 14, // 2: pulumirpc.ResourceImport.inputs:type_name -> google.protobuf.Struct
+ 14, // 3: pulumirpc.ResourceImport.outputs:type_name -> google.protobuf.Struct
+ 1, // 4: pulumirpc.ConvertStateResponse.resources:type_name -> pulumirpc.ResourceImport
+ 15, // 5: pulumirpc.ConvertStateResponse.diagnostics:type_name -> pulumirpc.codegen.Diagnostic
+ 15, // 6: pulumirpc.ConvertProgramResponse.diagnostics:type_name -> pulumirpc.codegen.Diagnostic
+ 16, // 7: pulumirpc.ConvertSnippetRequest.package:type_name -> codegen.GetSchemaRequest
+ 9, // 8: pulumirpc.ConvertSnippetRequest.attributes:type_name -> pulumirpc.ConvertSnippetRequest.AttributesEntry
+ 11, // 9: pulumirpc.ConvertSnippetRequest.resources:type_name -> pulumirpc.ConvertSnippetRequest.ResourcesEntry
+ 15, // 10: pulumirpc.ConvertSnippetResponse.diagnostics:type_name -> pulumirpc.codegen.Diagnostic
+ 12, // 11: pulumirpc.ConvertSnippetResponse.attributes:type_name -> pulumirpc.ConvertSnippetResponse.AttributesEntry
+ 13, // 12: pulumirpc.ConvertSnippetResponse.resource_names:type_name -> pulumirpc.ConvertSnippetResponse.ResourceNamesEntry
+ 16, // 13: pulumirpc.ConvertSnippetRequest.ResourceReference.package:type_name -> codegen.GetSchemaRequest
+ 10, // 14: pulumirpc.ConvertSnippetRequest.ResourcesEntry.value:type_name -> pulumirpc.ConvertSnippetRequest.ResourceReference
+ 0, // 15: pulumirpc.Converter.ConvertState:input_type -> pulumirpc.ConvertStateRequest
+ 5, // 16: pulumirpc.Converter.ConvertProgram:input_type -> pulumirpc.ConvertProgramRequest
+ 7, // 17: pulumirpc.Converter.ConvertSnippet:input_type -> pulumirpc.ConvertSnippetRequest
+ 4, // 18: pulumirpc.Converter.ConvertState:output_type -> pulumirpc.ConvertStateResponse
+ 6, // 19: pulumirpc.Converter.ConvertProgram:output_type -> pulumirpc.ConvertProgramResponse
+ 8, // 20: pulumirpc.Converter.ConvertSnippet:output_type -> pulumirpc.ConvertSnippetResponse
+ 18, // [18:21] is the sub-list for method output_type
+ 15, // [15:18] is the sub-list for method input_type
+ 15, // [15:15] is the sub-list for extension type_name
+ 15, // [15:15] is the sub-list for extension extendee
+ 0, // [0:15] is the sub-list for field type_name
}
func init() { file_pulumi_converter_proto_init() }
@@ -835,7 +1001,7 @@ func file_pulumi_converter_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_pulumi_converter_proto_rawDesc), len(file_pulumi_converter_proto_rawDesc)),
NumEnums: 0,
- NumMessages: 11,
+ NumMessages: 14,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/provider.pb.go b/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/provider.pb.go
index e17edcec9..5ed267550 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/provider.pb.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/provider.pb.go
@@ -243,8 +243,12 @@ type ProviderHandshakeRequest struct {
// The target of a [](pulumirpc.PackageResolver) service the provider can use to resolve package specifications to
// concrete package dependencies. May be empty on older engines.
ResolverTarget *string `protobuf:"bytes,10,opt,name=resolver_target,json=resolverTarget,proto3,oneof" json:"resolver_target,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
+ // True if and only if the engine supports strings containing bytes that are not valid UTF-8, marshaled as objects
+ // carrying the byte string signature and a base64 encoding of the string's bytes. If true, the provider may
+ // return such values to the engine.
+ AcceptsByteString bool `protobuf:"varint,11,opt,name=accepts_byte_string,json=acceptsByteString,proto3" json:"accepts_byte_string,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
}
func (x *ProviderHandshakeRequest) Reset() {
@@ -347,6 +351,13 @@ func (x *ProviderHandshakeRequest) GetResolverTarget() string {
return ""
}
+func (x *ProviderHandshakeRequest) GetAcceptsByteString() bool {
+ if x != nil {
+ return x.AcceptsByteString
+ }
+ return false
+}
+
// `ProviderHandshakeResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.Handshake) call.
type ProviderHandshakeResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
@@ -364,8 +375,12 @@ type ProviderHandshakeResponse struct {
// True if the provider accepts and respects autonaming configuration that the engine provides on behalf of the
// user. *Must* match the value returned in response to [](pulumirpc.ResourceProvider.Configure).
SupportsAutonamingConfiguration bool `protobuf:"varint,4,opt,name=supports_autonaming_configuration,json=supportsAutonamingConfiguration,proto3" json:"supports_autonaming_configuration,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
+ // True if and only if the provider supports strings containing bytes that are not valid UTF-8, marshaled as
+ // objects carrying the byte string signature and a base64 encoding of the string's bytes. If true, the
+ // caller may pass such values to the provider.
+ AcceptsByteString bool `protobuf:"varint,6,opt,name=accepts_byte_string,json=acceptsByteString,proto3" json:"accepts_byte_string,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
}
func (x *ProviderHandshakeResponse) Reset() {
@@ -426,6 +441,13 @@ func (x *ProviderHandshakeResponse) GetSupportsAutonamingConfiguration() bool {
return false
}
+func (x *ProviderHandshakeResponse) GetAcceptsByteString() bool {
+ if x != nil {
+ return x.AcceptsByteString
+ }
+ return false
+}
+
// `ParameterizeRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.Parameterize) call. A
// `ParameterizeRequest` may contain either:
//
@@ -4281,7 +4303,7 @@ var File_pulumi_provider_proto protoreflect.FileDescriptor
const file_pulumi_provider_proto_rawDesc = "" +
"\n" +
- "\x15pulumi/provider.proto\x12\tpulumirpc\x1a\x12pulumi/alias.proto\x1a\x13pulumi/plugin.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xcc\x04\n" +
+ "\x15pulumi/provider.proto\x12\tpulumirpc\x1a\x12pulumi/alias.proto\x1a\x13pulumi/plugin.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xfc\x04\n" +
"\x18ProviderHandshakeRequest\x12%\n" +
"\x0eengine_address\x18\x01 \x01(\tR\rengineAddress\x12*\n" +
"\x0eroot_directory\x18\x02 \x01(\tH\x00R\rrootDirectory\x88\x01\x01\x120\n" +
@@ -4293,17 +4315,19 @@ const file_pulumi_provider_proto_rawDesc = "" +
"\rmapper_target\x18\b \x01(\tH\x02R\fmapperTarget\x88\x01\x01\x12(\n" +
"\rloader_target\x18\t \x01(\tH\x03R\floaderTarget\x88\x01\x01\x12,\n" +
"\x0fresolver_target\x18\n" +
- " \x01(\tH\x04R\x0eresolverTarget\x88\x01\x01B\x11\n" +
+ " \x01(\tH\x04R\x0eresolverTarget\x88\x01\x01\x12.\n" +
+ "\x13accepts_byte_string\x18\v \x01(\bR\x11acceptsByteStringB\x11\n" +
"\x0f_root_directoryB\x14\n" +
"\x12_program_directoryB\x10\n" +
"\x0e_mapper_targetB\x10\n" +
"\x0e_loader_targetB\x12\n" +
- "\x10_resolver_target\"\xfc\x01\n" +
+ "\x10_resolver_target\"\xac\x02\n" +
"\x19ProviderHandshakeResponse\x12%\n" +
"\x0eaccept_secrets\x18\x01 \x01(\bR\racceptSecrets\x12)\n" +
"\x10accept_resources\x18\x02 \x01(\bR\x0facceptResources\x12%\n" +
"\x0eaccept_outputs\x18\x03 \x01(\bR\racceptOutputs\x12J\n" +
- "!supports_autonaming_configuration\x18\x04 \x01(\bR\x1fsupportsAutonamingConfigurationJ\x04\b\x05\x10\x06R\x14pulumi_version_range\"\xad\x02\n" +
+ "!supports_autonaming_configuration\x18\x04 \x01(\bR\x1fsupportsAutonamingConfiguration\x12.\n" +
+ "\x13accepts_byte_string\x18\x06 \x01(\bR\x11acceptsByteStringJ\x04\b\x05\x10\x06R\x14pulumi_version_range\"\xad\x02\n" +
"\x13ParameterizeRequest\x12C\n" +
"\x04args\x18\x01 \x01(\v2-.pulumirpc.ParameterizeRequest.ParametersArgsH\x00R\x04args\x12F\n" +
"\x05value\x18\x02 \x01(\v2..pulumirpc.ParameterizeRequest.ParametersValueH\x00R\x05value\x1a$\n" +
diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/resource.pb.go b/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/resource.pb.go
index a33737333..176a7f375 100644
--- a/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/resource.pb.go
+++ b/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/resource.pb.go
@@ -57,6 +57,11 @@ const (
ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_RESOURCE_HOOKS ResourceMonitorFeature = 10
ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_ERROR_HOOKS ResourceMonitorFeature = 11
ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_SENDS_OPTIONS_TO_HOOKS ResourceMonitorFeature = 12
+ // The monitor accepts strings containing bytes that are not valid UTF-8, marshaled as objects carrying the raw
+ // string bytes signature and a base64 encoding of the string's bytes.
+ ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_BYTE_STRING ResourceMonitorFeature = 13
+ // The monitor resolves an invoke's provider from the `parent` field on `ResourceInvokeRequest`.
+ ResourceMonitorFeature_RESOURCE_MONITOR_FEATURE_INVOKE_PARENT ResourceMonitorFeature = 15
)
// Enum value maps for ResourceMonitorFeature.
@@ -75,6 +80,8 @@ var (
10: "RESOURCE_MONITOR_FEATURE_RESOURCE_HOOKS",
11: "RESOURCE_MONITOR_FEATURE_ERROR_HOOKS",
12: "RESOURCE_MONITOR_FEATURE_SENDS_OPTIONS_TO_HOOKS",
+ 13: "RESOURCE_MONITOR_FEATURE_BYTE_STRING",
+ 15: "RESOURCE_MONITOR_FEATURE_INVOKE_PARENT",
}
ResourceMonitorFeature_value = map[string]int32{
"RESOURCE_MONITOR_FEATURE_SECRETS": 0,
@@ -90,6 +97,8 @@ var (
"RESOURCE_MONITOR_FEATURE_RESOURCE_HOOKS": 10,
"RESOURCE_MONITOR_FEATURE_ERROR_HOOKS": 11,
"RESOURCE_MONITOR_FEATURE_SENDS_OPTIONS_TO_HOOKS": 12,
+ "RESOURCE_MONITOR_FEATURE_BYTE_STRING": 13,
+ "RESOURCE_MONITOR_FEATURE_INVOKE_PARENT": 15,
}
)
@@ -389,8 +398,11 @@ type ReadResourceRequest struct {
StackTrace *StackTrace `protobuf:"bytes,17,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"` // the optional stack trace at the time of the request.
ParentStackTraceHandle string `protobuf:"bytes,18,opt,name=parentStackTraceHandle,proto3" json:"parentStackTraceHandle,omitempty"` // the optional parent stack trace handle for the request. Supports stitching stack traces across plugins.
PackageRef string `protobuf:"bytes,16,opt,name=packageRef,proto3" json:"packageRef,omitempty"` // a reference from RegisterPackageRequest.
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
+ // When true operations may return strings containing bytes that are not valid UTF-8, marshaled as objects
+ // carrying the byte string signature and a base64 encoding of the string's bytes.
+ AcceptsByteString bool `protobuf:"varint,19,opt,name=accepts_byte_string,json=acceptsByteString,proto3" json:"accepts_byte_string,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
}
func (x *ReadResourceRequest) Reset() {
@@ -542,6 +554,13 @@ func (x *ReadResourceRequest) GetPackageRef() string {
return ""
}
+func (x *ReadResourceRequest) GetAcceptsByteString() bool {
+ if x != nil {
+ return x.AcceptsByteString
+ }
+ return false
+}
+
// ReadResourceResponse contains the result of reading a resource's state.
type ReadResourceResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
@@ -647,8 +666,11 @@ type RegisterResourceRequest struct {
HideDiffs []string `protobuf:"bytes,37,rep,name=hideDiffs,proto3" json:"hideDiffs,omitempty"`
EnvVarMappings map[string]string `protobuf:"bytes,41,rep,name=envVarMappings,proto3" json:"envVarMappings,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // environment variable remappings for provider resources (NEW_KEY -> OLD_KEY)
SnippetId string `protobuf:"bytes,40,opt,name=snippetId,proto3" json:"snippetId,omitempty"` // if set, the UUID of the snippet that issued this registration.
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
+ // When true operations may return strings containing bytes that are not valid UTF-8, marshaled as objects
+ // carrying the byte string signature and a base64 encoding of the string's bytes.
+ AcceptsByteString bool `protobuf:"varint,42,opt,name=accepts_byte_string,json=acceptsByteString,proto3" json:"accepts_byte_string,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
}
func (x *RegisterResourceRequest) Reset() {
@@ -968,6 +990,13 @@ func (x *RegisterResourceRequest) GetSnippetId() string {
return ""
}
+func (x *RegisterResourceRequest) GetAcceptsByteString() bool {
+ if x != nil {
+ return x.AcceptsByteString
+ }
+ return false
+}
+
// RegisterResourceResponse is returned by the engine after a resource has finished being initialized. It includes the
// auto-assigned URN, the provider-assigned ID, and any other properties initialized by the engine.
type RegisterResourceResponse struct {
@@ -1128,8 +1157,15 @@ type ResourceInvokeRequest struct {
StackTrace *StackTrace `protobuf:"bytes,10,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"` // the optional stack trace at the time of the request.
ParentStackTraceHandle string `protobuf:"bytes,11,opt,name=parentStackTraceHandle,proto3" json:"parentStackTraceHandle,omitempty"` // the optional parent stack trace handle for the request. Supports stitching stack traces across plugins.
PackageRef string `protobuf:"bytes,9,opt,name=packageRef,proto3" json:"packageRef,omitempty"` // a reference from RegisterPackageRequest.
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
+ // When true operations may return strings containing bytes that are not valid UTF-8, marshaled as objects
+ // carrying the byte string signature and a base64 encoding of the string's bytes.
+ AcceptsByteString bool `protobuf:"varint,12,opt,name=accepts_byte_string,json=acceptsByteString,proto3" json:"accepts_byte_string,omitempty"`
+ // An optional URN of the resource this invoke is parented to. When `provider` is empty, the invoke is served by
+ // the provider its parent's `providers` option names for the invoke's package, the same resolution applied to
+ // resource registrations. Only respected when the monitor advertises `INVOKE_PARENT`.
+ Parent string `protobuf:"bytes,15,opt,name=parent,proto3" json:"parent,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
}
func (x *ResourceInvokeRequest) Reset() {
@@ -1239,6 +1275,20 @@ func (x *ResourceInvokeRequest) GetPackageRef() string {
return ""
}
+func (x *ResourceInvokeRequest) GetAcceptsByteString() bool {
+ if x != nil {
+ return x.AcceptsByteString
+ }
+ return false
+}
+
+func (x *ResourceInvokeRequest) GetParent() string {
+ if x != nil {
+ return x.Parent
+ }
+ return ""
+}
+
type ResourceCallRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Tok string `protobuf:"bytes,1,opt,name=tok,proto3" json:"tok,omitempty"` // the function token to invoke.
@@ -1252,8 +1302,11 @@ type ResourceCallRequest struct {
StackTrace *StackTrace `protobuf:"bytes,18,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"` // the optional stack trace at the time of the request.
ParentStackTraceHandle string `protobuf:"bytes,19,opt,name=parentStackTraceHandle,proto3" json:"parentStackTraceHandle,omitempty"` // the optional parent stack trace handle for the request. Supports stitching stack traces across plugins.
PackageRef string `protobuf:"bytes,17,opt,name=packageRef,proto3" json:"packageRef,omitempty"` // a reference from RegisterPackageRequest.
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
+ // When true operations may return strings containing bytes that are not valid UTF-8, marshaled as objects
+ // carrying the byte string signature and a base64 encoding of the string's bytes.
+ AcceptsByteString bool `protobuf:"varint,20,opt,name=accepts_byte_string,json=acceptsByteString,proto3" json:"accepts_byte_string,omitempty"`
+ unknownFields protoimpl.UnknownFields
+ sizeCache protoimpl.SizeCache
}
func (x *ResourceCallRequest) Reset() {
@@ -1363,6 +1416,13 @@ func (x *ResourceCallRequest) GetPackageRef() string {
return ""
}
+func (x *ResourceCallRequest) GetAcceptsByteString() bool {
+ if x != nil {
+ return x.AcceptsByteString
+ }
+ return false
+}
+
// TransformResourceOptions is a subset of all resource options that are relevant to transforms.
type TransformResourceOptions struct {
state protoimpl.MessageState `protogen:"open.v1"`
@@ -3059,7 +3119,7 @@ const file_pulumi_resource_proto_rawDesc = "" +
"\x17SupportsFeatureResponse\x12\x1e\n" +
"\n" +
"hasSupport\x18\x01 \x01(\bR\n" +
- "hasSupport\"\xb4\x06\n" +
+ "hasSupport\"\xe4\x06\n" +
"\x13ReadResourceRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
"\x04type\x18\x02 \x01(\tR\x04type\x12\x12\n" +
@@ -3084,7 +3144,8 @@ const file_pulumi_resource_proto_rawDesc = "" +
"\x16parentStackTraceHandle\x18\x12 \x01(\tR\x16parentStackTraceHandle\x12\x1e\n" +
"\n" +
"packageRef\x18\x10 \x01(\tR\n" +
- "packageRef\x1aB\n" +
+ "packageRef\x12.\n" +
+ "\x13accepts_byte_string\x18\x13 \x01(\bR\x11acceptsByteString\x1aB\n" +
"\x14PluginChecksumsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\fR\x05value:\x028\x01J\x04\b\v\x10\fR\aaliases\"a\n" +
@@ -3092,7 +3153,7 @@ const file_pulumi_resource_proto_rawDesc = "" +
"\x03urn\x18\x01 \x01(\tR\x03urn\x127\n" +
"\n" +
"properties\x18\x02 \x01(\v2\x17.google.protobuf.StructR\n" +
- "properties\"\xef\x15\n" +
+ "properties\"\x9f\x16\n" +
"\x17RegisterResourceRequest\x12\x12\n" +
"\x04type\x18\x01 \x01(\tR\x04type\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n" +
@@ -3143,7 +3204,8 @@ const file_pulumi_resource_proto_rawDesc = "" +
"\x05hooks\x18\" \x01(\v27.pulumirpc.RegisterResourceRequest.ResourceHooksBindingH\x02R\x05hooks\x88\x01\x01\x12\x1c\n" +
"\thideDiffs\x18% \x03(\tR\thideDiffs\x12^\n" +
"\x0eenvVarMappings\x18) \x03(\v26.pulumirpc.RegisterResourceRequest.EnvVarMappingsEntryR\x0eenvVarMappings\x12\x1c\n" +
- "\tsnippetId\x18( \x01(\tR\tsnippetId\x1a*\n" +
+ "\tsnippetId\x18( \x01(\tR\tsnippetId\x12.\n" +
+ "\x13accepts_byte_string\x18* \x01(\bR\x11acceptsByteString\x1a*\n" +
"\x14PropertyDependencies\x12\x12\n" +
"\x04urns\x18\x01 \x03(\tR\x04urns\x1al\n" +
"\x0eCustomTimeouts\x12\x16\n" +
@@ -3190,7 +3252,7 @@ const file_pulumi_resource_proto_rawDesc = "" +
"\x05value\x18\x02 \x01(\v28.pulumirpc.RegisterResourceResponse.PropertyDependenciesR\x05value:\x028\x01\"e\n" +
"\x1eRegisterResourceOutputsRequest\x12\x10\n" +
"\x03urn\x18\x01 \x01(\tR\x03urn\x121\n" +
- "\aoutputs\x18\x02 \x01(\v2\x17.google.protobuf.StructR\aoutputs\"\xdb\x04\n" +
+ "\aoutputs\x18\x02 \x01(\v2\x17.google.protobuf.StructR\aoutputs\"\xa3\x05\n" +
"\x15ResourceInvokeRequest\x12\x10\n" +
"\x03tok\x18\x01 \x01(\tR\x03tok\x12+\n" +
"\x04args\x18\x02 \x01(\v2\x17.google.protobuf.StructR\x04args\x12\x1a\n" +
@@ -3207,10 +3269,12 @@ const file_pulumi_resource_proto_rawDesc = "" +
"\x16parentStackTraceHandle\x18\v \x01(\tR\x16parentStackTraceHandle\x12\x1e\n" +
"\n" +
"packageRef\x18\t \x01(\tR\n" +
- "packageRef\x1aB\n" +
+ "packageRef\x12.\n" +
+ "\x13accepts_byte_string\x18\f \x01(\bR\x11acceptsByteString\x12\x16\n" +
+ "\x06parent\x18\x0f \x01(\tR\x06parent\x1aB\n" +
"\x14PluginChecksumsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
- "\x05value\x18\x02 \x01(\fR\x05value:\x028\x01\"\xbc\a\n" +
+ "\x05value\x18\x02 \x01(\fR\x05value:\x028\x01\"\xec\a\n" +
"\x13ResourceCallRequest\x12\x10\n" +
"\x03tok\x18\x01 \x01(\tR\x03tok\x12+\n" +
"\x04args\x18\x02 \x01(\v2\x17.google.protobuf.StructR\x04args\x12]\n" +
@@ -3226,7 +3290,8 @@ const file_pulumi_resource_proto_rawDesc = "" +
"\x16parentStackTraceHandle\x18\x13 \x01(\tR\x16parentStackTraceHandle\x12\x1e\n" +
"\n" +
"packageRef\x18\x11 \x01(\tR\n" +
- "packageRef\x1a*\n" +
+ "packageRef\x12.\n" +
+ "\x13accepts_byte_string\x18\x14 \x01(\bR\x11acceptsByteString\x1a*\n" +
"\x14ArgumentDependencies\x12\x12\n" +
"\x04urns\x18\x01 \x03(\tR\x04urns\x1aw\n" +
"\x14ArgDependenciesEntry\x12\x10\n" +
@@ -3400,7 +3465,7 @@ const file_pulumi_resource_proto_rawDesc = "" +
"\rignore_errors\x18\x04 \x01(\bR\fignoreErrors\"_\n" +
"\x18RegisterErrorHookRequest\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12/\n" +
- "\bcallback\x18\x02 \x01(\v2\x13.pulumirpc.CallbackR\bcallback*\xe2\x04\n" +
+ "\bcallback\x18\x02 \x01(\v2\x13.pulumirpc.CallbackR\bcallback*\xb8\x05\n" +
"\x16ResourceMonitorFeature\x12$\n" +
" RESOURCE_MONITOR_FEATURE_SECRETS\x10\x00\x120\n" +
",RESOURCE_MONITOR_FEATURE_RESOURCE_REFERENCES\x10\x01\x12*\n" +
@@ -3415,7 +3480,9 @@ const file_pulumi_resource_proto_rawDesc = "" +
"'RESOURCE_MONITOR_FEATURE_RESOURCE_HOOKS\x10\n" +
"\x12(\n" +
"$RESOURCE_MONITOR_FEATURE_ERROR_HOOKS\x10\v\x123\n" +
- "/RESOURCE_MONITOR_FEATURE_SENDS_OPTIONS_TO_HOOKS\x10\f*)\n" +
+ "/RESOURCE_MONITOR_FEATURE_SENDS_OPTIONS_TO_HOOKS\x10\f\x12(\n" +
+ "$RESOURCE_MONITOR_FEATURE_BYTE_STRING\x10\r\x12*\n" +
+ "&RESOURCE_MONITOR_FEATURE_INVOKE_PARENT\x10\x0f*)\n" +
"\x06Result\x12\v\n" +
"\aSUCCESS\x10\x00\x12\b\n" +
"\x04FAIL\x10\x01\x12\b\n" +
diff --git a/vendor/go.opentelemetry.io/collector/featuregate/flag.go b/vendor/go.opentelemetry.io/collector/featuregate/flag.go
index 1c6f3a5e8..6f5a27070 100644
--- a/vendor/go.opentelemetry.io/collector/featuregate/flag.go
+++ b/vendor/go.opentelemetry.io/collector/featuregate/flag.go
@@ -5,6 +5,7 @@ package featuregate // import "go.opentelemetry.io/collector/featuregate"
import (
"flag"
+ "fmt"
"strings"
"go.uber.org/multierr"
@@ -57,6 +58,10 @@ func (f *flagValue) Set(s string) error {
ids := strings.Split(s, ",")
for i := range ids {
id := ids[i]
+ if id == "" {
+ errs = multierr.Append(errs, fmt.Errorf("empty feature gate identifier at index %d", i))
+ continue
+ }
val := true
switch id[0] {
case '-':
diff --git a/vendor/go.opentelemetry.io/proto/otlp/common/v1/common.pb.go b/vendor/go.opentelemetry.io/proto/otlp/common/v1/common.pb.go
index 304f64763..cef358000 100644
--- a/vendor/go.opentelemetry.io/proto/otlp/common/v1/common.pb.go
+++ b/vendor/go.opentelemetry.io/proto/otlp/common/v1/common.pb.go
@@ -194,7 +194,7 @@ type AnyValue_StringValueStrindex struct {
// Profiling signal and process the data as if this value were absent or
// empty, ignoring its semantic content for the non-Profiling signal.
//
- // Status: [Development]
+ // Status: [Alpha]
StringValueStrindex int32 `protobuf:"varint,8,opt,name=string_value_strindex,json=stringValueStrindex,proto3,oneof"`
}
@@ -330,7 +330,7 @@ type KeyValue struct {
unknownFields protoimpl.UnknownFields
// The key name of the pair.
- // key_ref MUST NOT be set if key is used.
+ // key_strindex MUST NOT be set if key is used.
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// The value of the pair.
Value *AnyValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
@@ -344,7 +344,7 @@ type KeyValue struct {
// Profiling signal and process the data as if this value were absent or
// empty, ignoring its semantic content for the non-Profiling signal.
//
- // Status: [Development]
+ // Status: [Alpha]
KeyStrindex int32 `protobuf:"varint,3,opt,name=key_strindex,json=keyStrindex,proto3" json:"key_strindex,omitempty"`
}
diff --git a/vendor/golang.org/x/sync/singleflight/singleflight.go b/vendor/golang.org/x/sync/singleflight/singleflight.go
new file mode 100644
index 000000000..32e40bdc8
--- /dev/null
+++ b/vendor/golang.org/x/sync/singleflight/singleflight.go
@@ -0,0 +1,214 @@
+// Copyright 2013 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// Package singleflight provides a duplicate function call suppression
+// mechanism.
+package singleflight // import "golang.org/x/sync/singleflight"
+
+import (
+ "bytes"
+ "errors"
+ "fmt"
+ "runtime"
+ "runtime/debug"
+ "sync"
+)
+
+// errGoexit indicates runtime.Goexit was called in
+// the user-given function.
+var errGoexit = errors.New("runtime.Goexit was called")
+
+// A panicError is an arbitrary value recovered from a panic
+// with the stack trace during the execution of the given function.
+type panicError struct {
+ value any
+ stack []byte
+}
+
+// Error implements error interface.
+func (p *panicError) Error() string {
+ return fmt.Sprintf("%v\n\n%s", p.value, p.stack)
+}
+
+func (p *panicError) Unwrap() error {
+ err, ok := p.value.(error)
+ if !ok {
+ return nil
+ }
+
+ return err
+}
+
+func newPanicError(v any) error {
+ stack := debug.Stack()
+
+ // The first line of the stack trace is of the form "goroutine N [status]:"
+ // but by the time the panic reaches Do the goroutine may no longer exist
+ // and its status will have changed. Trim out the misleading line.
+ if line := bytes.IndexByte(stack[:], '\n'); line >= 0 {
+ stack = stack[line+1:]
+ }
+ return &panicError{value: v, stack: stack}
+}
+
+// call is an in-flight or completed singleflight.Do call
+type call struct {
+ wg sync.WaitGroup
+
+ // These fields are written once before the WaitGroup is done
+ // and are only read after the WaitGroup is done.
+ val any
+ err error
+
+ // These fields are read and written with the singleflight
+ // mutex held before the WaitGroup is done, and are read but
+ // not written after the WaitGroup is done.
+ dups int
+ chans []chan<- Result
+}
+
+// Group represents a class of work and forms a namespace in
+// which units of work can be executed with duplicate suppression.
+type Group struct {
+ mu sync.Mutex // protects m
+ m map[string]*call // lazily initialized
+}
+
+// Result holds the results of Do, so they can be passed
+// on a channel.
+type Result struct {
+ Val any
+ Err error
+ Shared bool
+}
+
+// Do executes and returns the results of the given function, making
+// sure that only one execution is in-flight for a given key at a
+// time. If a duplicate comes in, the duplicate caller waits for the
+// original to complete and receives the same results.
+// The return value shared indicates whether v was given to multiple callers.
+func (g *Group) Do(key string, fn func() (any, error)) (v any, err error, shared bool) {
+ g.mu.Lock()
+ if g.m == nil {
+ g.m = make(map[string]*call)
+ }
+ if c, ok := g.m[key]; ok {
+ c.dups++
+ g.mu.Unlock()
+ c.wg.Wait()
+
+ if e, ok := c.err.(*panicError); ok {
+ panic(e)
+ } else if c.err == errGoexit {
+ runtime.Goexit()
+ }
+ return c.val, c.err, true
+ }
+ c := new(call)
+ c.wg.Add(1)
+ g.m[key] = c
+ g.mu.Unlock()
+
+ g.doCall(c, key, fn)
+ return c.val, c.err, c.dups > 0
+}
+
+// DoChan is like Do but returns a channel that will receive the
+// results when they are ready.
+//
+// The returned channel will not be closed.
+func (g *Group) DoChan(key string, fn func() (any, error)) <-chan Result {
+ ch := make(chan Result, 1)
+ g.mu.Lock()
+ if g.m == nil {
+ g.m = make(map[string]*call)
+ }
+ if c, ok := g.m[key]; ok {
+ c.dups++
+ c.chans = append(c.chans, ch)
+ g.mu.Unlock()
+ return ch
+ }
+ c := &call{chans: []chan<- Result{ch}}
+ c.wg.Add(1)
+ g.m[key] = c
+ g.mu.Unlock()
+
+ go g.doCall(c, key, fn)
+
+ return ch
+}
+
+// doCall handles the single call for a key.
+func (g *Group) doCall(c *call, key string, fn func() (any, error)) {
+ normalReturn := false
+ recovered := false
+
+ // use double-defer to distinguish panic from runtime.Goexit,
+ // more details see https://golang.org/cl/134395
+ defer func() {
+ // the given function invoked runtime.Goexit
+ if !normalReturn && !recovered {
+ c.err = errGoexit
+ }
+
+ g.mu.Lock()
+ defer g.mu.Unlock()
+ c.wg.Done()
+ if g.m[key] == c {
+ delete(g.m, key)
+ }
+
+ if e, ok := c.err.(*panicError); ok {
+ // In order to prevent the waiting channels from being blocked forever,
+ // needs to ensure that this panic cannot be recovered.
+ if len(c.chans) > 0 {
+ go panic(e)
+ select {} // Keep this goroutine around so that it will appear in the crash dump.
+ } else {
+ panic(e)
+ }
+ } else if c.err == errGoexit {
+ // Already in the process of goexit, no need to call again
+ } else {
+ // Normal return
+ for _, ch := range c.chans {
+ ch <- Result{c.val, c.err, c.dups > 0}
+ }
+ }
+ }()
+
+ func() {
+ defer func() {
+ if !normalReturn {
+ // Ideally, we would wait to take a stack trace until we've determined
+ // whether this is a panic or a runtime.Goexit.
+ //
+ // Unfortunately, the only way we can distinguish the two is to see
+ // whether the recover stopped the goroutine from terminating, and by
+ // the time we know that, the part of the stack trace relevant to the
+ // panic has been discarded.
+ if r := recover(); r != nil {
+ c.err = newPanicError(r)
+ }
+ }
+ }()
+
+ c.val, c.err = fn()
+ normalReturn = true
+ }()
+
+ if !normalReturn {
+ recovered = true
+ }
+}
+
+// Forget tells the singleflight to forget about a key. Future calls
+// to Do for this key will call the function rather than waiting for
+// an earlier call to complete.
+func (g *Group) Forget(key string) {
+ g.mu.Lock()
+ delete(g.m, key)
+ g.mu.Unlock()
+}
diff --git a/vendor/google.golang.org/grpc/clientconn.go b/vendor/google.golang.org/grpc/clientconn.go
index c4bca5203..b27c7e84a 100644
--- a/vendor/google.golang.org/grpc/clientconn.go
+++ b/vendor/google.golang.org/grpc/clientconn.go
@@ -24,12 +24,10 @@ import (
"fmt"
"math"
"net/url"
- "os"
"slices"
"strings"
"sync"
"sync/atomic"
- "syscall"
"time"
"google.golang.org/grpc/balancer"
@@ -1573,26 +1571,13 @@ func (ac *addrConn) createTransport(ctx context.Context, addr resolver.Address,
// to the provided transport.GoAwayInfo, as specified by gRFC A94:
// https://github.com/grpc/proposal/blob/master/A94-grpc-subchannel-disconnections-metrics.md
func disconnectErrorString(info transport.GoAwayInfo) string {
- err := info.Err
- var sysErr syscall.Errno
- switch {
- case info.Reason != transport.GoAwayInvalid:
+ if info.Reason != transport.GoAwayInvalid {
return fmt.Sprintf("GOAWAY %s", info.GoAwayCode.String())
- case err == nil:
- return "unknown"
- case errors.Is(err, context.Canceled):
- return "subchannel shutdown"
- case errors.Is(err, syscall.ECONNRESET):
- return "connection reset"
- case errors.Is(err, syscall.ETIMEDOUT), errors.Is(err, context.DeadlineExceeded), errors.Is(err, os.ErrDeadlineExceeded):
- return "connection timed out"
- case errors.Is(err, syscall.ECONNABORTED):
- return "connection aborted"
- case errors.As(err, &sysErr):
- return "socket error"
- default:
+ }
+ if info.Err == nil {
return "unknown"
}
+ return disconnectErrorLabel(info.Err)
}
// startHealthCheck starts the health checking stream (RPC) to watch the health
diff --git a/vendor/google.golang.org/grpc/clientconn_disconnect_reason_noplan9.go b/vendor/google.golang.org/grpc/clientconn_disconnect_reason_noplan9.go
new file mode 100644
index 000000000..f0fcd8842
--- /dev/null
+++ b/vendor/google.golang.org/grpc/clientconn_disconnect_reason_noplan9.go
@@ -0,0 +1,48 @@
+//go:build !plan9
+
+/*
+ *
+ * Copyright 2026 gRPC authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package grpc
+
+import (
+ "context"
+ "errors"
+ "os"
+ "syscall"
+)
+
+// disconnectErrorLabel returns the grpc.disconnect_error metric label for a
+// transport error, as specified by gRFC A94.
+func disconnectErrorLabel(err error) string {
+ var sysErr syscall.Errno
+ switch {
+ case errors.Is(err, context.Canceled):
+ return "subchannel shutdown"
+ case errors.Is(err, syscall.ECONNRESET):
+ return "connection reset"
+ case errors.Is(err, syscall.ETIMEDOUT), errors.Is(err, context.DeadlineExceeded), errors.Is(err, os.ErrDeadlineExceeded):
+ return "connection timed out"
+ case errors.Is(err, syscall.ECONNABORTED):
+ return "connection aborted"
+ case errors.As(err, &sysErr):
+ return "socket error"
+ default:
+ return "unknown"
+ }
+}
diff --git a/vendor/google.golang.org/grpc/clientconn_disconnect_reason_plan9.go b/vendor/google.golang.org/grpc/clientconn_disconnect_reason_plan9.go
new file mode 100644
index 000000000..930b12664
--- /dev/null
+++ b/vendor/google.golang.org/grpc/clientconn_disconnect_reason_plan9.go
@@ -0,0 +1,39 @@
+/*
+ *
+ * Copyright 2026 gRPC authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package grpc
+
+import (
+ "context"
+ "errors"
+ "os"
+)
+
+// disconnectErrorLabel returns the grpc.disconnect_error metric label for a
+// transport error, as specified by gRFC A94. syscall.Errno does not exist on
+// plan9, so only the portable classifications are available.
+func disconnectErrorLabel(err error) string {
+ switch {
+ case errors.Is(err, context.Canceled):
+ return "subchannel shutdown"
+ case errors.Is(err, context.DeadlineExceeded), errors.Is(err, os.ErrDeadlineExceeded):
+ return "connection timed out"
+ default:
+ return "unknown"
+ }
+}
diff --git a/vendor/google.golang.org/grpc/internal/envconfig/xds.go b/vendor/google.golang.org/grpc/internal/envconfig/xds.go
index a2312f8ea..e4b691913 100644
--- a/vendor/google.golang.org/grpc/internal/envconfig/xds.go
+++ b/vendor/google.golang.org/grpc/internal/envconfig/xds.go
@@ -69,9 +69,8 @@ var (
// https://github.com/grpc/proposal/blob/master/A87-mtls-spiffe-support.md
XDSSPIFFEEnabled = boolFromEnv("GRPC_EXPERIMENTAL_XDS_MTLS_SPIFFE", false)
- // XDSHTTPConnectEnabled is true if gRPC should parse custom Metadata
- // configuring use of an HTTP CONNECT proxy via xDS from cluster resources.
- // For more details, see:
+ // XDSHTTPConnectEnabled controls support for dynamic HTTP CONNECT proxying
+ // configured via the xDS control plane. For more details, see:
// https://github.com/grpc/proposal/blob/master/A86-xds-http-connect.md
XDSHTTPConnectEnabled = boolFromEnv("GRPC_EXPERIMENTAL_XDS_HTTP_CONNECT", false)
@@ -88,7 +87,7 @@ var (
// XDSORCAToLRSPropEnabled controls whether ORCA metrics are explicitly
// filtered and prefix-propagated to the LRS server. For more details, see:
// https://github.com/grpc/proposal/blob/master/A85-lrs-custom-metrics-changes.md
- XDSORCAToLRSPropEnabled = boolFromEnv("GRPC_EXPERIMENTAL_XDS_ORCA_LRS_PROPAGATION", false)
+ XDSORCAToLRSPropEnabled = boolFromEnv("GRPC_EXPERIMENTAL_XDS_ORCA_LRS_PROPAGATION", true)
// XDSClientExtProcEnabled indicates whether ExtProc filter is enabled on
// the client side. For more details, see:
diff --git a/vendor/google.golang.org/grpc/internal/grpcsync/callback_serializer.go b/vendor/google.golang.org/grpc/internal/grpcsync/callback_serializer.go
index 9b6d8a1fa..d4999fcca 100644
--- a/vendor/google.golang.org/grpc/internal/grpcsync/callback_serializer.go
+++ b/vendor/google.golang.org/grpc/internal/grpcsync/callback_serializer.go
@@ -20,10 +20,15 @@ package grpcsync
import (
"context"
+ "errors"
"google.golang.org/grpc/internal/buffer"
)
+// ErrSerializerClosed is returned by ScheduleAndWait if the CallbackSerializer
+// was closed before the callback could be scheduled.
+var ErrSerializerClosed = errors.New("callback serializer is closed")
+
// CallbackSerializer provides a mechanism to schedule callbacks in a
// synchronized manner. It provides a FIFO guarantee on the order of execution
// of scheduled callbacks. New callbacks can be scheduled by invoking the
@@ -77,6 +82,27 @@ func (cs *CallbackSerializer) ScheduleOr(f func(ctx context.Context), onFailure
}
}
+// ScheduleAndWait schedules the provided callback function f to be executed in
+// the order it was added and blocks until f has run. If the context passed to
+// NewCallbackSerializer was canceled before this method is called, f is not run
+// and ScheduleAndWait returns ErrSerializerClosed.
+//
+// Callbacks are expected to honor the context when performing any blocking
+// operations, and should return early when the context is canceled.
+func (cs *CallbackSerializer) ScheduleAndWait(f func(ctx context.Context)) error {
+ done := make(chan struct{})
+ var err error
+ cs.ScheduleOr(func(ctx context.Context) {
+ f(ctx)
+ close(done)
+ }, func() {
+ err = ErrSerializerClosed
+ close(done)
+ })
+ <-done
+ return err
+}
+
func (cs *CallbackSerializer) run(ctx context.Context) {
defer close(cs.done)
diff --git a/vendor/google.golang.org/grpc/internal/resolver/config_selector.go b/vendor/google.golang.org/grpc/internal/resolver/config_selector.go
index 6320e9b57..238950bbb 100644
--- a/vendor/google.golang.org/grpc/internal/resolver/config_selector.go
+++ b/vendor/google.golang.org/grpc/internal/resolver/config_selector.go
@@ -24,7 +24,6 @@ import (
"sync"
"google.golang.org/grpc/internal/serviceconfig"
- "google.golang.org/grpc/metadata"
"google.golang.org/grpc/resolver"
)
@@ -52,82 +51,7 @@ type RPCConfig struct {
Context context.Context
MethodConfig serviceconfig.MethodConfig // configuration to use for this RPC
OnCommitted func() // Called when the RPC has been committed (retries no longer possible)
- Interceptor ClientInterceptor
-}
-
-// ClientStream is the same as grpc.ClientStream, but defined here for circular
-// dependency reasons.
-type ClientStream interface {
- // Header returns the header metadata received from the server if there
- // is any. It blocks if the metadata is not ready to read.
- Header() (metadata.MD, error)
- // Trailer returns the trailer metadata from the server, if there is any.
- // It must only be called after stream.CloseAndRecv has returned, or
- // stream.Recv has returned a non-nil error (including io.EOF).
- Trailer() metadata.MD
- // CloseSend closes the send direction of the stream. It closes the stream
- // when non-nil error is met. It is also not safe to call CloseSend
- // concurrently with SendMsg.
- CloseSend() error
- // Context returns the context for this stream.
- //
- // It should not be called until after Header or RecvMsg has returned. Once
- // called, subsequent client-side retries are disabled.
- Context() context.Context
- // SendMsg is generally called by generated code. On error, SendMsg aborts
- // the stream. If the error was generated by the client, the status is
- // returned directly; otherwise, io.EOF is returned and the status of
- // the stream may be discovered using RecvMsg.
- //
- // SendMsg blocks until:
- // - There is sufficient flow control to schedule m with the transport, or
- // - The stream is done, or
- // - The stream breaks.
- //
- // SendMsg does not wait until the message is received by the server. An
- // untimely stream closure may result in lost messages. To ensure delivery,
- // users should ensure the RPC completed successfully using RecvMsg.
- //
- // It is safe to have a goroutine calling SendMsg and another goroutine
- // calling RecvMsg on the same stream at the same time, but it is not safe
- // to call SendMsg on the same stream in different goroutines. It is also
- // not safe to call CloseSend concurrently with SendMsg.
- SendMsg(m any) error
- // RecvMsg blocks until it receives a message into m or the stream is
- // done. It returns io.EOF when the stream completes successfully. On
- // any other error, the stream is aborted and the error contains the RPC
- // status.
- //
- // It is safe to have a goroutine calling SendMsg and another goroutine
- // calling RecvMsg on the same stream at the same time, but it is not
- // safe to call RecvMsg on the same stream in different goroutines.
- RecvMsg(m any) error
-}
-
-// ClientInterceptor is an interceptor for gRPC client streams.
-type ClientInterceptor interface {
- // NewStream creates a ClientStream for an RPC.
- //
- // Implementations must delegate stream creation to the provided newStream
- // function. To intercept or override stream behavior, implementations
- // may wrap the ClientStream returned by the delegate.
- //
- // Note: RPCInfo.Context is currently unused and will be nil.
- //
- // The done function is invoked when the RPC has finished using its
- // underlying connection or if a connection could not be assigned. Because
- // interceptors operate at the application layer, RPC operations may
- // continue on the ClientStream even after done has been called. The
- // caller must ensure done is non-nil.
- //
- // To ensure RPC completion notifications propagate through the entire
- // interceptor chain, implementations must ensure that the done function
- // passed to the delegate newStream invokes the done function passed to
- // NewStream.
- NewStream(ctx context.Context, ri RPCInfo, done func(), newStream func(ctx context.Context, done func()) (ClientStream, error)) (ClientStream, error)
- // Close closes the interceptor. Once called, no new calls to NewStream are
- // accepted. Ongoing calls to NewStream are allowed to complete.
- Close()
+ Interceptor any
}
// ServerInterceptor is an interceptor for incoming RPC's on gRPC server side.
diff --git a/vendor/google.golang.org/grpc/internal/transport/client_stream.go b/vendor/google.golang.org/grpc/internal/transport/client_stream.go
index ad382b0fd..046f0a555 100644
--- a/vendor/google.golang.org/grpc/internal/transport/client_stream.go
+++ b/vendor/google.golang.org/grpc/internal/transport/client_stream.go
@@ -39,9 +39,8 @@ const nonGRPCDataMaxLen = 1024
type ClientStream struct {
Stream // Embed for common stream functionality.
- ct *http2Client
- done chan struct{} // closed at the end of stream to unblock writers.
- doneFunc func() // invoked at the end of stream.
+ ct *http2Client
+ done chan struct{} // closed at the end of stream to unblock writers.
headerChan chan struct{} // closed to indicate the end of header metadata.
header metadata.MD // the received header metadata
diff --git a/vendor/google.golang.org/grpc/internal/transport/http2_client.go b/vendor/google.golang.org/grpc/internal/transport/http2_client.go
index 822c09ba6..c19b45080 100644
--- a/vendor/google.golang.org/grpc/internal/transport/http2_client.go
+++ b/vendor/google.golang.org/grpc/internal/transport/http2_client.go
@@ -498,7 +498,6 @@ func (t *http2Client) newStream(ctx context.Context, callHdr *CallHdr, handler s
ct: t,
done: make(chan struct{}),
headerChan: make(chan struct{}),
- doneFunc: callHdr.DoneFunc,
statsHandler: handler,
}
s.Stream.buf.init()
@@ -998,9 +997,6 @@ func (t *http2Client) closeStream(s *ClientStream, err error, rst bool, rstCode
t.controlBuf.executeAndPut(addBackStreamQuota, cleanup)
// This will unblock write.
close(s.done)
- if s.doneFunc != nil {
- s.doneFunc()
- }
}
// Close kicks off the shutdown process of the transport. This should be called
diff --git a/vendor/google.golang.org/grpc/internal/transport/transport.go b/vendor/google.golang.org/grpc/internal/transport/transport.go
index 6dfae3984..d2e49538f 100644
--- a/vendor/google.golang.org/grpc/internal/transport/transport.go
+++ b/vendor/google.golang.org/grpc/internal/transport/transport.go
@@ -594,8 +594,6 @@ type CallHdr struct {
PreviousAttempts int // value of grpc-previous-rpc-attempts header to set
- DoneFunc func() // called when the stream is finished
-
// Authority is used to explicitly override the `:authority` header.
//
// This value comes from one of two sources:
diff --git a/vendor/google.golang.org/grpc/stream.go b/vendor/google.golang.org/grpc/stream.go
index 4aac644a8..51aff85df 100644
--- a/vendor/google.golang.org/grpc/stream.go
+++ b/vendor/google.golang.org/grpc/stream.go
@@ -201,6 +201,15 @@ func endOfClientStream(cc *ClientConn, err error, opts ...CallOption) {
}
}
+// clientInterceptor is structurally identical to the ClientInterceptor defined
+// in internal/xds/httpfilter/httpfilter.go. It is defined locally here so that
+// we can type-assert the generic Interceptor field in iresolver.RPCConfig
+// without introducing a dependency on xDS packages.
+type clientInterceptor interface {
+ NewStream(ctx context.Context, ri iresolver.RPCInfo, newStream func(ctx context.Context, opts ...CallOption) (ClientStream, error), opts ...CallOption) (ClientStream, error)
+ Close()
+}
+
func newClientStream(ctx context.Context, desc *StreamDesc, cc *ClientConn, method string, opts ...CallOption) (_ ClientStream, err error) {
if channelz.IsOn() {
cc.incrCallsStarted()
@@ -244,8 +253,11 @@ func newClientStream(ctx context.Context, desc *StreamDesc, cc *ClientConn, meth
mc := &emptyMethodConfig
var onCommit func()
- newStream := func(ctx context.Context, done func()) (iresolver.ClientStream, error) {
- return newClientStreamWithParams(ctx, desc, cc, method, mc, onCommit, done, nameResolutionDelayed, opts...)
+ newStream := func(ctx context.Context, filterOpts ...CallOption) (ClientStream, error) {
+ if filterOpts != nil {
+ opts = combine(opts, filterOpts)
+ }
+ return newClientStreamWithParams(ctx, desc, cc, method, mc, onCommit, nameResolutionDelayed, opts...)
}
rpcInfo := iresolver.RPCInfo{Context: ctx, Method: method}
@@ -270,20 +282,24 @@ func newClientStream(ctx context.Context, desc *StreamDesc, cc *ClientConn, meth
if rpcConfig.Interceptor != nil {
rpcInfo.Context = nil
ns := newStream
- newStream = func(ctx context.Context, done func()) (iresolver.ClientStream, error) {
- cs, err := rpcConfig.Interceptor.NewStream(ctx, rpcInfo, done, ns)
- if err != nil {
- return nil, toRPCErr(err)
+ if interceptor, ok := rpcConfig.Interceptor.(clientInterceptor); ok {
+ newStream = func(ctx context.Context, filterOpts ...CallOption) (ClientStream, error) {
+ cs, err := interceptor.NewStream(ctx, rpcInfo, ns, filterOpts...)
+ if err != nil {
+ return nil, toRPCErr(err)
+ }
+ return cs, nil
}
- return cs, nil
+ } else {
+ return nil, status.Errorf(codes.Internal, "invalid client interceptor type %T", rpcConfig.Interceptor)
}
}
}
- return newStream(ctx, func() {})
+ return newStream(ctx)
}
-func newClientStreamWithParams(ctx context.Context, desc *StreamDesc, cc *ClientConn, method string, mc *serviceconfig.MethodConfig, onCommit, doneFunc func(), nameResolutionDelayed bool, opts ...CallOption) (_ iresolver.ClientStream, err error) {
+func newClientStreamWithParams(ctx context.Context, desc *StreamDesc, cc *ClientConn, method string, mc *serviceconfig.MethodConfig, onCommit func(), nameResolutionDelayed bool, opts ...CallOption) (_ ClientStream, err error) {
callInfo := defaultCallInfo()
if mc.WaitForReady != nil {
callInfo.failFast = !*mc.WaitForReady
@@ -321,7 +337,6 @@ func newClientStreamWithParams(ctx context.Context, desc *StreamDesc, cc *Client
Host: cc.authority,
Method: method,
ContentSubtype: callInfo.contentSubtype,
- DoneFunc: doneFunc,
Authority: callInfo.authority,
}
if allowed := callInfo.acceptedResponseCompressors; len(allowed) > 0 {
diff --git a/vendor/google.golang.org/grpc/version.go b/vendor/google.golang.org/grpc/version.go
index 53c737fee..4083c0390 100644
--- a/vendor/google.golang.org/grpc/version.go
+++ b/vendor/google.golang.org/grpc/version.go
@@ -19,4 +19,4 @@
package grpc
// Version is the current grpc version.
-const Version = "1.82.1"
+const Version = "1.83.0"
diff --git a/vendor/modules.txt b/vendor/modules.txt
index 743d65be4..b9c177448 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -68,7 +68,7 @@ github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service
-# github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2
+# github.com/AzureAD/microsoft-authentication-library-for-go v1.8.0
## explicit; go 1.18
github.com/AzureAD/microsoft-authentication-library-for-go/apps/cache
github.com/AzureAD/microsoft-authentication-library-for-go/apps/confidential
@@ -172,7 +172,7 @@ github.com/IBM-Cloud/power-go-client/power/client/storage_types
github.com/IBM-Cloud/power-go-client/power/client/swagger_spec
github.com/IBM-Cloud/power-go-client/power/client/workspaces
github.com/IBM-Cloud/power-go-client/power/models
-# github.com/IBM/go-sdk-core/v5 v5.22.1
+# github.com/IBM/go-sdk-core/v5 v5.23.2
## explicit; go 1.25.0
github.com/IBM/go-sdk-core/v5/core
# github.com/IBM/platform-services-go-sdk v0.101.0
@@ -237,7 +237,7 @@ github.com/aws/amazon-ec2-instance-selector/v3/pkg/instancetypes
github.com/aws/amazon-ec2-instance-selector/v3/pkg/selector
github.com/aws/amazon-ec2-instance-selector/v3/pkg/selector/outputs
github.com/aws/amazon-ec2-instance-selector/v3/pkg/sorter
-# github.com/aws/aws-sdk-go-v2 v1.43.0
+# github.com/aws/aws-sdk-go-v2 v1.43.2
## explicit; go 1.24
github.com/aws/aws-sdk-go-v2/aws
github.com/aws/aws-sdk-go-v2/aws/arn
@@ -264,7 +264,7 @@ github.com/aws/aws-sdk-go-v2/internal/shareddefaults
github.com/aws/aws-sdk-go-v2/internal/strings
github.com/aws/aws-sdk-go-v2/internal/sync/singleflight
github.com/aws/aws-sdk-go-v2/internal/timeconv
-# github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.14
+# github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.15
## explicit; go 1.24
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/eventstreamapi
@@ -286,54 +286,54 @@ github.com/aws/aws-sdk-go-v2/credentials/stscreds
## explicit; go 1.24
github.com/aws/aws-sdk-go-v2/feature/ec2/imds
github.com/aws/aws-sdk-go-v2/feature/ec2/imds/internal/config
-# github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.31
+# github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.33
## explicit; go 1.24
github.com/aws/aws-sdk-go-v2/internal/configsources
-# github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.31
+# github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.33
## explicit; go 1.24
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2
-# github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.32
+# github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.34
## explicit; go 1.24
github.com/aws/aws-sdk-go-v2/internal/v4a
github.com/aws/aws-sdk-go-v2/internal/v4a/internal/crypto
github.com/aws/aws-sdk-go-v2/internal/v4a/internal/v4
-# github.com/aws/aws-sdk-go-v2/service/ec2 v1.316.1
+# github.com/aws/aws-sdk-go-v2/service/ec2 v1.318.0
## explicit; go 1.24
github.com/aws/aws-sdk-go-v2/service/ec2
github.com/aws/aws-sdk-go-v2/service/ec2/internal/endpoints
github.com/aws/aws-sdk-go-v2/service/ec2/types
-# github.com/aws/aws-sdk-go-v2/service/ecs v1.88.1
+# github.com/aws/aws-sdk-go-v2/service/ecs v1.89.2
## explicit; go 1.24
github.com/aws/aws-sdk-go-v2/service/ecs
github.com/aws/aws-sdk-go-v2/service/ecs/document
github.com/aws/aws-sdk-go-v2/service/ecs/internal/document
github.com/aws/aws-sdk-go-v2/service/ecs/internal/endpoints
github.com/aws/aws-sdk-go-v2/service/ecs/types
-# github.com/aws/aws-sdk-go-v2/service/iam v1.55.1
+# github.com/aws/aws-sdk-go-v2/service/iam v1.57.0
## explicit; go 1.24
github.com/aws/aws-sdk-go-v2/service/iam
github.com/aws/aws-sdk-go-v2/service/iam/internal/endpoints
github.com/aws/aws-sdk-go-v2/service/iam/types
-# github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.13
+# github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.14
## explicit; go 1.24
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding
-# github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.24
+# github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.26
## explicit; go 1.24
github.com/aws/aws-sdk-go-v2/service/internal/checksum
-# github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.31
+# github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.33
## explicit; go 1.24
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url
-# github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.32
+# github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.34
## explicit; go 1.24
github.com/aws/aws-sdk-go-v2/service/internal/s3shared
github.com/aws/aws-sdk-go-v2/service/internal/s3shared/arn
github.com/aws/aws-sdk-go-v2/service/internal/s3shared/config
-# github.com/aws/aws-sdk-go-v2/service/pricing v1.43.1
+# github.com/aws/aws-sdk-go-v2/service/pricing v1.44.2
## explicit; go 1.24
github.com/aws/aws-sdk-go-v2/service/pricing
github.com/aws/aws-sdk-go-v2/service/pricing/internal/endpoints
github.com/aws/aws-sdk-go-v2/service/pricing/types
-# github.com/aws/aws-sdk-go-v2/service/s3 v1.105.2
+# github.com/aws/aws-sdk-go-v2/service/s3 v1.106.2
## explicit; go 1.24
github.com/aws/aws-sdk-go-v2/service/s3
github.com/aws/aws-sdk-go-v2/service/s3/internal/arn
@@ -360,7 +360,7 @@ github.com/aws/aws-sdk-go-v2/service/ssooidc/types
github.com/aws/aws-sdk-go-v2/service/sts
github.com/aws/aws-sdk-go-v2/service/sts/internal/endpoints
github.com/aws/aws-sdk-go-v2/service/sts/types
-# github.com/aws/smithy-go v1.27.4
+# github.com/aws/smithy-go v1.27.5
## explicit; go 1.24
github.com/aws/smithy-go
github.com/aws/smithy-go/auth
@@ -436,7 +436,7 @@ github.com/charmbracelet/x/ansi/parser
# github.com/charmbracelet/x/cellbuf v0.0.15
## explicit; go 1.24.2
github.com/charmbracelet/x/cellbuf
-# github.com/charmbracelet/x/exp/golden v0.0.0-20260622092256-25656177ba8e
+# github.com/charmbracelet/x/exp/golden v0.0.0-20260730164118-7e2d3e6c5238
## explicit; go 1.24.0
# github.com/charmbracelet/x/term v0.2.2
## explicit; go 1.24.0
@@ -484,7 +484,7 @@ github.com/emirpasic/gods/utils
# github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f
## explicit; go 1.16
github.com/erikgeiser/coninput
-# github.com/evertras/bubble-table v0.19.2
+# github.com/evertras/bubble-table v0.17.1
## explicit; go 1.18
github.com/evertras/bubble-table/table
# github.com/fsnotify/fsnotify v1.10.1
@@ -609,7 +609,7 @@ github.com/go-openapi/jsonreference/internal
# github.com/go-openapi/loads v0.25.0
## explicit; go 1.25.0
github.com/go-openapi/loads
-# github.com/go-openapi/runtime v0.32.6
+# github.com/go-openapi/runtime v0.33.0
## explicit; go 1.25.0
github.com/go-openapi/runtime
github.com/go-openapi/runtime/client
@@ -620,7 +620,7 @@ github.com/go-openapi/runtime/middleware/denco
github.com/go-openapi/runtime/middleware/untyped
github.com/go-openapi/runtime/security
github.com/go-openapi/runtime/yamlpc
-# github.com/go-openapi/runtime/server-middleware v0.32.6
+# github.com/go-openapi/runtime/server-middleware v0.33.0
## explicit; go 1.25.0
github.com/go-openapi/runtime/server-middleware/docui
github.com/go-openapi/runtime/server-middleware/mediatype
@@ -634,43 +634,43 @@ github.com/go-openapi/spec
github.com/go-openapi/strfmt
github.com/go-openapi/strfmt/internal/bsonlite
github.com/go-openapi/strfmt/internal/countries
-# github.com/go-openapi/swag v0.27.3
+# github.com/go-openapi/swag v0.28.0
## explicit; go 1.25.0
github.com/go-openapi/swag
-# github.com/go-openapi/swag/cmdutils v0.27.3
+# github.com/go-openapi/swag/cmdutils v0.28.0
## explicit; go 1.25.0
github.com/go-openapi/swag/cmdutils
-# github.com/go-openapi/swag/conv v0.27.3
+# github.com/go-openapi/swag/conv v0.28.0
## explicit; go 1.25.0
github.com/go-openapi/swag/conv
-# github.com/go-openapi/swag/fileutils v0.27.3
+# github.com/go-openapi/swag/fileutils v0.28.0
## explicit; go 1.25.0
github.com/go-openapi/swag/fileutils
-# github.com/go-openapi/swag/jsonutils v0.27.3
+# github.com/go-openapi/swag/jsonutils v0.28.0
## explicit; go 1.25.0
github.com/go-openapi/swag/jsonutils
github.com/go-openapi/swag/jsonutils/adapters
github.com/go-openapi/swag/jsonutils/adapters/ifaces
github.com/go-openapi/swag/jsonutils/adapters/stdlib/json
-# github.com/go-openapi/swag/loading v0.27.3
+# github.com/go-openapi/swag/loading v0.28.0
## explicit; go 1.25.0
github.com/go-openapi/swag/loading
-# github.com/go-openapi/swag/mangling v0.27.3
+# github.com/go-openapi/swag/mangling v0.28.0
## explicit; go 1.25.0
github.com/go-openapi/swag/mangling
-# github.com/go-openapi/swag/netutils v0.27.3
+# github.com/go-openapi/swag/netutils v0.28.0
## explicit; go 1.25.0
github.com/go-openapi/swag/netutils
-# github.com/go-openapi/swag/pools v0.27.3
+# github.com/go-openapi/swag/pools v0.28.0
## explicit; go 1.25.0
github.com/go-openapi/swag/pools
-# github.com/go-openapi/swag/stringutils v0.27.3
+# github.com/go-openapi/swag/stringutils v0.28.0
## explicit; go 1.25.0
github.com/go-openapi/swag/stringutils
-# github.com/go-openapi/swag/typeutils v0.27.3
+# github.com/go-openapi/swag/typeutils v0.28.0
## explicit; go 1.25.0
github.com/go-openapi/swag/typeutils
-# github.com/go-openapi/swag/yamlutils v0.27.3
+# github.com/go-openapi/swag/yamlutils v0.28.0
## explicit; go 1.25.0
github.com/go-openapi/swag/yamlutils
# github.com/go-openapi/validate v0.26.1
@@ -762,8 +762,8 @@ github.com/klauspost/cpuid/v2
## explicit; go 1.11
github.com/kylelemons/godebug/diff
github.com/kylelemons/godebug/pretty
-# github.com/leodido/go-urn v1.4.0
-## explicit; go 1.18
+# github.com/leodido/go-urn v1.5.0
+## explicit; go 1.24.0
github.com/leodido/go-urn
github.com/leodido/go-urn/scim/schema
# github.com/lucasb-eyer/go-colorful v1.4.0
@@ -871,14 +871,14 @@ github.com/pkg/term/termios
github.com/pulumi/appdash
github.com/pulumi/appdash/internal/wire
github.com/pulumi/appdash/opentracing
-# github.com/pulumi/pulumi-aws-native/sdk v1.71.0
-## explicit; go 1.25.6
+# github.com/pulumi/pulumi-aws-native/sdk v1.73.1
+## explicit; go 1.25.11
github.com/pulumi/pulumi-aws-native/sdk/go/aws
github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal
github.com/pulumi/pulumi-aws-native/sdk/go/aws/scheduler
github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm
-# github.com/pulumi/pulumi-aws/sdk/v7 v7.36.0
-## explicit; go 1.25.8
+# github.com/pulumi/pulumi-aws/sdk/v7 v7.39.0
+## explicit; go 1.25.11
github.com/pulumi/pulumi-aws/sdk/v7/go/aws
github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling
github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch
@@ -889,33 +889,33 @@ github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam
github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal
github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lb
github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3
-# github.com/pulumi/pulumi-awsx/sdk/v3 v3.7.0
+# github.com/pulumi/pulumi-awsx/sdk/v3 v3.8.0
## explicit; go 1.25.8
github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/awsx
github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/ecs
github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/internal
-# github.com/pulumi/pulumi-azure-native-sdk/authorization/v3 v3.20.0
+# github.com/pulumi/pulumi-azure-native-sdk/authorization/v3 v3.24.0
## explicit; go 1.25.11
github.com/pulumi/pulumi-azure-native-sdk/authorization/v3
-# github.com/pulumi/pulumi-azure-native-sdk/compute/v3 v3.20.0
+# github.com/pulumi/pulumi-azure-native-sdk/compute/v3 v3.24.0
## explicit; go 1.25.11
github.com/pulumi/pulumi-azure-native-sdk/compute/v3
-# github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3 v3.20.0
+# github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3 v3.24.0
## explicit; go 1.25.11
github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3
-# github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v3 v3.20.0
+# github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v3 v3.24.0
## explicit; go 1.25.11
github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v3
-# github.com/pulumi/pulumi-azure-native-sdk/network/v3 v3.20.0
+# github.com/pulumi/pulumi-azure-native-sdk/network/v3 v3.24.0
## explicit; go 1.25.11
github.com/pulumi/pulumi-azure-native-sdk/network/v3
-# github.com/pulumi/pulumi-azure-native-sdk/resources/v3 v3.20.0
+# github.com/pulumi/pulumi-azure-native-sdk/resources/v3 v3.24.0
## explicit; go 1.25.11
github.com/pulumi/pulumi-azure-native-sdk/resources/v3
-# github.com/pulumi/pulumi-azure-native-sdk/storage/v3 v3.20.0
+# github.com/pulumi/pulumi-azure-native-sdk/storage/v3 v3.24.0
## explicit; go 1.25.11
github.com/pulumi/pulumi-azure-native-sdk/storage/v3
-# github.com/pulumi/pulumi-azure-native-sdk/v3 v3.20.0
+# github.com/pulumi/pulumi-azure-native-sdk/v3 v3.24.0
## explicit; go 1.25.11
github.com/pulumi/pulumi-azure-native-sdk/v3/utilities
# github.com/pulumi/pulumi-command/sdk v1.2.1
@@ -1017,7 +1017,7 @@ github.com/pulumi/pulumi-random/sdk/v4/go/random/internal
## explicit; go 1.25.11
github.com/pulumi/pulumi-tls/sdk/v5/go/tls
github.com/pulumi/pulumi-tls/sdk/v5/go/tls/internal
-# github.com/pulumi/pulumi/sdk/v3 v3.253.0
+# github.com/pulumi/pulumi/sdk/v3 v3.255.0
## explicit; go 1.25.11
github.com/pulumi/pulumi/sdk/v3
github.com/pulumi/pulumi/sdk/v3/go/auto
@@ -1093,6 +1093,8 @@ github.com/pulumi/pulumi/sdk/v3/go/common/util/yamlutil
github.com/pulumi/pulumi/sdk/v3/go/common/version
github.com/pulumi/pulumi/sdk/v3/go/common/workspace
github.com/pulumi/pulumi/sdk/v3/go/internal
+github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/clipboard
+github.com/pulumi/pulumi/sdk/v3/go/internal/third_party/textinput
github.com/pulumi/pulumi/sdk/v3/go/property
github.com/pulumi/pulumi/sdk/v3/go/pulumi
github.com/pulumi/pulumi/sdk/v3/go/pulumi-internal/gsync
@@ -1193,10 +1195,10 @@ github.com/zclconf/go-cty/cty/set
## explicit; go 1.24.0
go.opentelemetry.io/auto/sdk
go.opentelemetry.io/auto/sdk/internal/telemetry
-# go.opentelemetry.io/collector/featuregate v1.62.0
+# go.opentelemetry.io/collector/featuregate v1.63.0
## explicit; go 1.25.0
go.opentelemetry.io/collector/featuregate
-# go.opentelemetry.io/collector/pdata v1.62.0
+# go.opentelemetry.io/collector/pdata v1.63.0
## explicit; go 1.25.0
go.opentelemetry.io/collector/pdata/internal
go.opentelemetry.io/collector/pdata/internal/json
@@ -1280,8 +1282,8 @@ go.opentelemetry.io/otel/trace
go.opentelemetry.io/otel/trace/embedded
go.opentelemetry.io/otel/trace/internal/telemetry
go.opentelemetry.io/otel/trace/noop
-# go.opentelemetry.io/proto/otlp v1.10.0
-## explicit; go 1.24.0
+# go.opentelemetry.io/proto/otlp v1.11.0
+## explicit; go 1.25.0
go.opentelemetry.io/proto/otlp/collector/logs/v1
go.opentelemetry.io/proto/otlp/collector/trace/v1
go.opentelemetry.io/proto/otlp/common/v1
@@ -1321,7 +1323,7 @@ golang.org/x/crypto/ssh
golang.org/x/crypto/ssh/agent
golang.org/x/crypto/ssh/internal/bcrypt_pbkdf
golang.org/x/crypto/ssh/knownhosts
-# golang.org/x/exp v0.0.0-20260709172345-9ea1abe57597
+# golang.org/x/exp v0.0.0-20260727155853-b88d891fe743
## explicit; go 1.25.0
golang.org/x/exp/maps
golang.org/x/exp/slices
@@ -1348,6 +1350,7 @@ golang.org/x/oauth2/internal
# golang.org/x/sync v0.22.0
## explicit; go 1.25.0
golang.org/x/sync/errgroup
+golang.org/x/sync/singleflight
# golang.org/x/sys v0.47.0
## explicit; go 1.25.0
golang.org/x/sys/cpu
@@ -1403,14 +1406,14 @@ golang.org/x/tools/internal/stdlib
golang.org/x/tools/internal/typeparams
golang.org/x/tools/internal/typesinternal
golang.org/x/tools/internal/versions
-# google.golang.org/genproto/googleapis/api v0.0.0-20260713224248-f5fc221cf8c4
+# google.golang.org/genproto/googleapis/api v0.0.0-20260729162451-8efbd57d26e0
## explicit; go 1.25.0
google.golang.org/genproto/googleapis/api/httpbody
-# google.golang.org/genproto/googleapis/rpc v0.0.0-20260713224248-f5fc221cf8c4
+# google.golang.org/genproto/googleapis/rpc v0.0.0-20260729162451-8efbd57d26e0
## explicit; go 1.25.0
google.golang.org/genproto/googleapis/rpc/errdetails
google.golang.org/genproto/googleapis/rpc/status
-# google.golang.org/grpc v1.82.1
+# google.golang.org/grpc v1.83.0
## explicit; go 1.25.0
google.golang.org/grpc
google.golang.org/grpc/attributes
@@ -1615,8 +1618,8 @@ k8s.io/klog/v2/internal/severity
k8s.io/klog/v2/internal/sloghandler
k8s.io/klog/v2/internal/verbosity
k8s.io/klog/v2/textlogger
-# k8s.io/kube-openapi v0.0.0-20260706235625-cdb1db5517a0
-## explicit; go 1.24.0
+# k8s.io/kube-openapi v0.0.0-20260721132016-d427ff9ee9ad
+## explicit; go 1.25.0
k8s.io/kube-openapi/pkg/util
# k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3
## explicit; go 1.25